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AAG,EAAE;YACnB,gBAAgB,EAAG,IAAI,CAACx6M,cAAc;YACtC,YAAY,EAAG,IAAI,CAAC0vD;WACrB;UACD,8BAA8B,EAAG,IAAI,CAAC8rJ;SACvC;OACF,MAEG;QACF,IAAI,CAAChB,UAAU,GAAG;UAChB,cAAc,EAAG,IAAI,CAACv6M,aAAa;UACnC,gBAAgB,EAAG,IAAI,CAACD,cAAc;UACtC,YAAY,EAAG,IAAI,CAAC0vD;SACrB;;MAMH;MAEA;MACA9uF,cAAc,CAACC,OAAO,CAAC,cAAc,EAAEif,IAAI,CAACoF,SAAS,CAAC,IAAI,CAACs1N,UAAU,CAAC,CAAC;MAGvE,IAAInpE,MAAM,GAAGzwK,cAAc,CAACc,OAAO,CAAC,QAAQ,CAAC;MAC7C,IAAI2vK,MAAM,EAAE;QACV,IAAI,CAACgqE,MAAM,GAAGhqE,MAAM,CAAC11I,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC;;MAGzC,IAAI,IAAI,CAACqE,cAAc,KAAK,SAAS,IAAKp/B,cAAc,CAACc,OAAO,CAAC,QAAQ,CAAC,IAAI,OAAQ,EAAE;QACxF;QACE;QACA;QACA,IAAI,CAACw8O,aAAa,EAAE;QACpB;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QAEA;QACA;QACA;QAEA;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QAEA;QACA;QACA;QACA;QACA;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QAEA;QACA;QACA;Q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EAC7C,2BAA2B,EAAE,gCAAgC;EAC7D,WAAW,EAAC,iCAAiC;EAC7C,WAAW,EAAC,iCAAiC;EAC7C,yBAAyB,EAAC,kDAAkD;EAC5E,yBAAyB,EAAC;EAC9B;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;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;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;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;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACH;;;;;;;;;;;;;;;ACnOM,MAAM2iR,UAAU,GAAG,CACtB;EACI,MAAM,EAAE;IACJ,UAAU,EAAE,MAAM;IAClB,aAAa,EAAE,QAAQ;IACvB,gBAAgB,EAAE;GACrB;EACD,WAAW,EAAE;CAChB,CACJ;;;;;;;;;;;;;;;ACTD;AAEA;AACA;AACA;AACA;AAGA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AAEO,MAAM79I,6BAA6B,GAAG;EACzC;EACAu9I,WAAW,EAAE;IAAEz+O,QAAQ,EAAE,OAAO;IAAElL,OAAO,EAAE;EAAwK,CAAE;EACrN4pP,YAAY,EAAE;IAAE1+O,QAAQ,EAAE,OAAO;IAAElL,OAAO,EAAE;EAA2D,CAAE;EACzGkqP,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M,CAACi9B,IAAI,CAAC70C,GAAG,CAAC;EAC3B,IAAIqpB,CAAC,GAAGwrB,IAAI,CAACxgD,MAAM;EACnB,OAAOg1B,CAAC,EAAE,EAAE;IACVo9kB,MAAM,CAAC5xjB,IAAI,CAACxrB,CAAC,CAAC,CAAC,GAAGrpB,GAAG,CAAC60C,IAAI,CAACxrB,CAAC,CAAC,CAAC;EAChC;EACA,OAAOo9kB,MAAM;AACf,CAAC;AAED,SAAS12d,cAAcA,CAACrxG,GAAG,EAAE24U,IAAI,EAAE;EACjC,OAAOz/V,MAAM,CAACyH,SAAS,CAAC0wH,cAAc,CAACxwH,IAAI,CAACmf,GAAG,EAAE24U,IAAI,CAAC;AACxD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACzkBA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMqvP,gBAAgB,CAAC;AAEvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMC,gBAAgB,CAAC;;AAGvB;AACA;AACA;AACA;AACA;AACA,MAAMC,UAAU,GAAG,GAAG;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASC,OAAOA,CAAC7/lB,IAAI,EAAE8/lB,WAAW,EAAE;EAChC,OAAO;IAAE1slB,IAAI,EAAE,CAAC,CAAC;IAAqCpT,IAAI;IAAE8/lB,WAAW;IAAE3/jB,OAAO,EAAE,CAAC;EAAE,CAAC;AAC1F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS24c,OAAOA,CAACinH,OAAO,EAAEp4gB,MAAM,GAAG,IAAI,EAAE;EACrC,OAAO;IAAEv0E,IAAI,EAAE,CAAC,CAAC;IAAqCu0E,MAAM;IAAEo4gB;EAAQ,CAAC;AAC3E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS5vlB,KAAKA,CAAC6N,KAAK,EAAEmiB,OAAO,GAAG,IAAI,EAAE;EAClC,OAAO;IAAE/sB,IAAI,EAAE,CAAC,CAAC;IAAmC4K,KAAK;IAAEmiB;EAAQ,CAAC;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASy1e,QAAQA,CAAC53f,KAAK,EAAEmiB,OAAO,GAAG,IAAI,EAAE;EACrC,OAAO;IAAE/sB,IAAI,EAAE,CAAC,CAAC;IAAsC4K,KAAK;IAAEmiB;EAAQ,CAAC;AAC3E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASgI,KAAKA,CAAC63jB,MAAM,EAAE;EACnB,OAAO;IAAE5slB,IAAI,EAAE,CAAC,CAAC;IAAmCu0E,MAAM,EAAEq4gB,MAAM;IAAE35d,MAAM,EAAE;EAAK,CAAC;AACtF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASviF,KAAKA,CAAC9jD,IAAI,EAAE2nF,MAAM,EAAExnD,OAAO,EAAE;EAClC,OAAO;IAAE/sB,IAAI,EAAE,CAAC,CAAC;IAAmCpT,IAAI;IAAE2nF,MAAM;IAAExnD;EAAQ,CAAC;AAC/E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS8/jB,SAASA,CAACjilB,KAAK,EAAE;EACtB,OAAO;IAAE5K,IAAI,EAAE,CAAC,CAAC;IAAuC4K;EAAM,CAAC;AACnE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASs4R,UAAUA,CAAC4pT,eAAe,EAAElilB,KAAK,EAAEmiB,OAAO,GAAG,IAAI,EAAE;EACxD,OAAO;IAAE/sB,IAAI,EAAE,CAAC,CAAC;IAAwC+slB,IAAI,EAAED,eAAe;IAAEE,SAAS,EAAEpilB,KAAK;IAAEmiB;EAAQ,CAAC;AAC/G;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASigkB,SAASA,CAACpilB,KAAK,EAAEmiB,OAAO,GAAG,IAAI,EAAE;EACtC,OAAO;IAAE/sB,IAAI,EAAE,CAAC,CAAC;IAAuCgtlB,SAAS,EAAEpilB,KAAK;IAAEmiB;EAAQ,CAAC;AACvF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASkgkB,YAAYA,CAAClgkB,OAAO,GAAG,IAAI,EAAE;EAClC,OAAO;IAAE/sB,IAAI,EAAE,CAAC,CAAC;IAA0C+sB;EAAQ,CAAC;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASmgkB,YAAYA,CAACF,SAAS,EAAEjgkB,OAAO,GAAG,IAAI,EAAE;EAC7C,OAAO;IAAE/sB,IAAI,EAAE,EAAE,CAAC;IAAwCgtlB,SAAS;IAAEjgkB;EAAQ,CAAC;AAClF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASogkB,KAAKA,CAAC9iM,QAAQ,EAAE2iM,SAAS,EAAEjgkB,OAAO,GAAG,IAAI,EAAE;EAChD,OAAO;IAAE/sB,IAAI,EAAE,EAAE,CAAC;IAAmCqqZ,QAAQ;IAAE2iM,SAAS;IAAEjgkB;EAAQ,CAAC;AACvF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASqgkB,OAAOA,CAACT,OAAO,EAAEK,SAAS,EAAE;EACjC,OAAO;IAAEhtlB,IAAI,EAAE,EAAE,CAAC;IAAqC2slB,OAAO;IAAEK;EAAU,CAAC;AAC/E;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMK,mBAAmB,CAAC;EACtBh1mB,WAAWA,CAACyqT,QAAQ,GAAG,CAAC,EAAEgrE,KAAK,GAAG,CAAC,EAAE;IACjC,IAAI,CAACw/O,UAAU,GAAG,EAAE;IACpB,IAAI,CAACC,WAAW,GAAG,EAAE;IACrB,IAAI,CAACC,aAAa,GAAG,EAAE;IACvB,IAAI,CAACC,kBAAkB,GAAG,EAAE;IAC5B,IAAI,CAACC,mBAAmB,GAAG,EAAE;IAC7B,IAAI,CAACC,QAAQ,GAAG,KAAK;IACrB,IAAI,CAAClpS,UAAU,GAAG,KAAK;IACvB,IAAI,CAACmpS,SAAS,GAAG,KAAK;IACtB,IAAI,CAACC,SAAS,GA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;AAAA;AAmBA;AACA,SAAS09V,iBAAiBA,CAACjoX,QAAQ,EAAE;EACjC,MAAM0oX,cAAc,GAAG1oX,QAAQ,CAAClxS,GAAG,CAACijpB,sDAAW,CAAC;EAChD,OAAO2W,cAAc,CAAC1oX,QAAQ;AAClC;;AAEA;AACA;AACA;AACA,MAAM2oX,cAAc,CAAC;EACjBvnqB,WAAWA,CAACotD,SAAS,EAAEo6mB,OAAO,EAAExrnB,KAAK,EAAE3uC,KAAK,EAAE;IAC1C,IAAI,CAAC+/C,SAAS,GAAGA,SAAS;IAC1B,IAAI,CAACo6mB,OAAO,GAAGA,OAAO;IACtB,IAAI,CAACxrnB,KAAK,GAAGA,KAAK;IAClB,IAAI,CAAC3uC,KAAK,GAAGA,KAAK;EACtB;EACA,IAAI4jT,KAAKA,CAAA,EAAG;IACR,OAAO,IAAI,CAACj1Q,KAAK,KAAK,CAAC;EAC3B;EACA,IAAIqG,IAAIA,CAAA,EAAG;IACP,OAAO,IAAI,CAACrG,KAAK,KAAK,IAAI,CAAC3uC,KAAK,GAAG,CAAC;EACxC;EACA,IAAIo6pB,IAAIA,CAAA,EAAG;IACP,OAAO,IAAI,CAACzrnB,KAAK,GAAG,CAAC,KAAK,CAAC;EAC/B;EACA,IAAI0rnB,GAAGA,CAAA,EAAG;IACN,OAAO,CAAC,IAAI,CAACD,IAAI;EACrB;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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ACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AA1IA,IA2IMihpB,IAAI;EAAV,MAAMA,IAAI,CAAC;IACP5oqB,WAAWA,CAACgoqB,cAAc,EAAE/iZ,WAAW,EAAE;MACrC,IAAI,CAAC+iZ,cAAc,GAAGA,cAAc;MACpC,IAAI,CAAC/nE,QAAQ,GAAG,IAAI4oE,WAAW,CAAC,CAAC;MACjC,IAAI,CAACC,gBAAgB,GAAG,IAAI;MAC5B,IAAI,CAACC,gBAAgB,GAAG,IAAI;MAC5B,IAAI,CAACC,YAAY,GAAG,IAAI;MACxB,IAAI,CAACC,YAAY,GAAG,IAAI;MACxB,IAAI,CAACH,gBAAgB,GAAG7jZ,WAAW;IACvC;IACA;AACJ;AACA;IACI,IAAIikZ,IAAIA,CAAC39U,SAAS,EAAE;MAChB,IAAI,CAAC00Q,QAAQ,CAAC7yiB,SAAS,GAAG,IAAI,CAAC6yiB,QAAQ,CAACipE,IAAI,GAAG39U,SAAS;MACxD,IAAI,CAAC49U,WAAW,CAAC,CAAC;IACtB;IACA;AACJ;AACA;IACI,IAAIC,QAAQA,CAACnkZ,WAAW,EAAE;MACtBokZ,cA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IACL,IAAI,CAACkslB,QAAQ,GAAG,IAAI;IACpB,IAAI,CAACva,iBAAiB,CAAC5pY,kBAAkB,CAAC,IAAI,CAACkkZ,YAAY,CAAC;EAChE;EACAlzY,OAAOA,CAAA,EAAG;IACN,IAAI,CAACmzY,QAAQ,GAAG,KAAK;IACrB,IAAI,CAACva,iBAAiB,CAACphpB,KAAK,CAAC,CAAC;EAClC;EACA47pB,YAAYA,CAACxzE,OAAO,EAAE;IAClB,IAAIA,OAAO,IAAI,CAAC,IAAI,CAACuzE,QAAQ,EAAE;MAC3B,IAAI,CAAClslB,MAAM,CAAC,CAAC;IACjB,CAAC,MACI,IAAI,CAAC24gB,OAAO,IAAI,IAAI,CAACuzE,QAAQ,EAAE;MAChC,IAAI,CAACnzY,OAAO,CAAC,CAAC;IAClB;EACJ;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAjEA,IAkEMqzY,QAAQ;EAAd,MAAMA,QAAQ,CAAC;IACX7pqB,WAAWA,CAAA,EAAG;MACV,IAAI,CAAC8pqB,aAAa,GAAG,EAAE;MACvB,IAAI,CAACC,YAAY,GAAG,KAAK;MACzB,IAAI,CAACC,UAAU,GAAG,CAAC;MACnB,IAAI,CAACC,mBAAmB,GAAG,CAAC;MAC5B,IAAI,CAACC,iBAAiB,GAAG,KAAK;IAClC;IACA,IAAIC,QAAQA,CAACxsU,QAAQ,EAAE;MACnB,IAAI,CAACysU,SAAS,GAAGzsU,QAAQ;MACzB,IAAI,IAAI,CAACqsU,UAAU,KAAK,CAAC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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;AAAA,IACMv/nB,QAAQ;EAAd,MAAMA,QAAQ,CAAC;IACXtE,WAAWA,CAACq2pB,MAAM,EAAE6Y,eAAe,EAAEl7P,cAAc,EAAE;MACjD,IAAI,CAACqiP,MAAM,GAAGA,MAAM;MACpB,IAAI,CAAC6Y,eAAe,GAAGA,eAAe;MACtC,IAAI,CAACl7P,cAAc,GAAGA,cAAc;IACxC;IACApxP,SAASA,CAACpuK,KAAK,EAAE2zM,MAAM,EAAEsyc,QAAQ,EAAEpE,MAAM,EAAE;MACvC,IAAI7hpB,KAAK,IAAI,IAAI,IAAIA,KAAK,KAAK,EAAE,IAAIA,KAAK,KAAKA,KAAK,EAChD,OAAO,IAAI;MACf,IAAI;QACA,MAAM26pB,OAAO,GAAGhnd,MAAM,IAAI,IAAI,CAAC6r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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;AAjGA,IAkGME,gBAAgB;EAAtB,MAAMA,gBAAgB,CAAC;IACnB35qB,WAAWA,CAAA,EAAG;MACV,IAAI,CAAC45qB,WAAW,GAAGn2C,qDAAM,CAACqwC,YAAY,CAAC;MACvC,IAAI,CAACxue,MAAM,GAAGu0e,aAAa,CAACp2C,qDAAM,CAACi2C,YAAY,CAAC,CAAC;MACjD,IAAI,CAAC9xkB,QAAQ,GAAG67hB,qDAAM,CAACvhiB,oDAAS,CAAC;MACjC,IAAI,CAAC43kB,UAAU,GAAGr2C,qDAAM,CAACj4mB,qDAAU,CAAC,CAACkB,aAAa;MAClD,IAAI,CAACkyR,QAAQ,GAAG6kV,qDAAM,CAAC2oB,mDAAQ,CAAC;MAChC,IAAI,CAAC2tB,QAAQ,GAAG9H,gBAAgB,CAACxuC,qDAAM,CAAComB,sDAAW,CAAC,CAAC;MACrD,IAAI,CAACmwB,kBAAkB,GAAGv2C,qDAAM,CAAC80C,kBAAkB,CAAC;MACpD;MACA,IAAI,CAAC0B,WAAW,GAAG9wW,SAAS,GAAG,IAAI,CAACvqB,QAAQ,CAAClxS,GAAG,CAACsoqB,gBAAgB,CAAC,GAAG,IAAI;MACzE;AACR;AACA;AACA;AACA;AACA;MACQ,IAAI,CAACkE,YAAY,GAAG,IAAI;MACxB;AACR;AACA;MACQ,IAAI,CAACluoB,QAAQ,GAAG,KAAK;MACrB;AACR;AACA;MACQ,IA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AI,eAAgB,EAAC;IACnF,CAAC,MACI;MACD,IAAI,CAAC62B,OAAO,GAAI,6BAA4B84P,IAAI,CAAC3vR,GAAG,IAAI,eAAgB,KAAI2vR,IAAI,CAACzvR,MAAO,IAAGyvR,IAAI,CAACxpQ,UAAW,EAAC;IAChH;IACA,IAAI,CAAC1jB,KAAK,GAAGktR,IAAI,CAACltR,KAAK,IAAI,IAAI;EACnC;AACJ;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASkhrB,OAAOA,CAACvvoB,OAAO,EAAEvsB,IAAI,EAAE;EAC5B,OAAO;IACHA,IAAI;IACJE,OAAO,EAAEqsB,OAAO,CAACrsB,OAAO;IACxBkwE,OAAO,EAAE7jD,OAAO,CAAC6jD,OAAO;IACxBy4L,OAAO,EAAEt8O,OAAO,CAACs8O,OAAO;IACxB7kO,MAAM,EAAEzX,OAAO,CAACyX,MAAM;IACtBi3nB,cAAc,EAAE1uoB,OAAO,CAAC0uoB,cAAc;IACtCnjiB,YAAY,EAAEvrG,OAAO,CAACurG,YAAY;IAClCojiB,eAAe,EAAE3uoB,OAAO,CAAC2uoB;EAC7B,CAAC;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAtDA,IAuDMzqpB,UAAU;EAAhB,MAAMA,UAAU,CAAC;IACb54B,WAAWA,CAACsnpB,OAAO,EAAE;MACjB,IAAI,CAACA,OAAO,GAAGA,OAAO;IAC1B;IACA;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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,CAAChqrB,GAAG,CAACquF,KAAK,EAAEuwkB,KAAK,GAAGinB,WAAW,CAAC1iW,QAAQ,GAAG,IAAI,GAAG/9U,SAAS,EAAEw5pB,KAAK,CAAC;IACjGnjW,SAAS,IAAI4tX,eAAe,CAACh7lB,KAAK,EAAEvnF,KAAK,EAAE83pB,KAAK,CAAC;IACjD,OAAO93pB,KAAK;EAChB;AACJ;AACA,SAAS0U,QAAQA,CAAC6yE,KAAK,EAAEuwkB,KAAK,GAAGinB,WAAW,CAACwE,OAAO,EAAE;EAClD,OAAO,CAACtE,uBAAuB,CAAC,CAAC,IAAIqE,kBAAkB,EAAE/H,iBAAiB,CAACh0lB,KAAK,CAAC,EAAEuwkB,KAAK,CAAC;AAC7F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS0rB,mBAAmBA,CAACh8oB,KAAK,EAAE;EAChC,MAAM,IAAIo0oB,YAAY,CAAC,GAAG,CAAC,mDAAmDjnX,SAAS,IAClF,wGAAuGntR,KAAM;AACtH;AACA;AACA,2DAA2DA,KAAM,iGAAgG,CAAC;AAClK;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASynlB,MAAMA,CAAC1niB,KAAK,EAAEuwkB,KAAK,GAAGinB,WAAW,CAACwE,OAAO,EAAE;EAChD,OAAO7uqB,QAAQ,CAAC6yE,KAAK,EAAEk8lB,iBAAiB,CAAC3rB,KAAK,CAAC,CAAC;AACpD;AACA;AACA,SAAS2rB,iBAAiBA,CAAC3rB,KAAK,EAAE;EA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AAK,CAAC/1rB,OAAO,IAAI28pB,WAAW;IAClDq5B,WAAW,CAACnza,OAAO,GAAGkza,KAAK,CAAClza,OAAO,IAAI85Y,WAAW;EACtD,CAAC,CAAC;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASu5B,YAAYA,CAACxypB,GAAG,EAAEwpQ,SAAS,EAAE;EAClC,IAAIxpQ,GAAG,IAAI,IAAI,EACX,OAAO0spB,SAAS;EACpB,MAAM+F,SAAS,GAAG,CAAC,CAAC;EACpB,KAAK,MAAMC,WAAW,IAAI1ypB,GAAG,EAAE;IAC3B,IAAIA,GAAG,CAACqxG,cAAc,CAACqhjB,WAAW,CAAC,EAAE;MACjC,IAAIC,UAAU,GAAG3ypB,GAAG,CAAC0ypB,WAAW,CAAC;MACjC,IAAIE,YAAY,GAAGD,UAAU;MAC7B,IAAI76qB,KAAK,CAACkjU,OAAO,CAAC23W,UAAU,CAAC,EAAE;QAC3BC,YAAY,GAAGD,UAAU,CAAC,CAAC,CAAC;QAC5BA,UAAU,GAAGA,UAAU,CAAC,CAAC,CAAC;MAC9B;MACAF,SAAS,CAACE,UAAU,CAAC,GAAGD,WAAW;MACnC,IAAIlpZ,SAAS,EAAE;QACVA,SAAS,CAACmpZ,UAAU,CAAC,GAAGC,YAAY;MACzC;IACJ;EACJ;EACA,OAAOH,SAAS;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASruD,iBAAiBA,CAACyuD,mBAAmB,EAAE;EAC5C,OAAOtG,aAAa,CAAC,MAAM;IAC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AI,CAACsrM,WAAW,CAACrhb,GAAG,CAAC,MAAMiM,QAAQ,CAAC21a,UAAU,CAACH,UAAU,EAAE1rM,IAAI,EAAE2rM,SAAS,EAAEC,SAAS,CAAC,CAAC;IACjG,CAAC,MACI;MACD14Y,GAAG,GAAGh9B,QAAQ,CAAC21a,UAAU,CAACH,UAAU,EAAE1rM,IAAI,EAAE2rM,SAAS,EAAEC,SAAS,CAAC;IACrE;IACA,OAAO14Y,GAAG;EACd;AACJ;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM3pC,MAAM,CAAC;EACT1+S,WAAWA,CAAC;IAAEihuB,oBAAoB,GAAG,KAAK;IAAEC,kCAAkC,GAAG,KAAK;IAAEC,gCAAgC,GAAG;EAAM,CAAC,EAAE;IAChI,IAAI,CAACC,oBAAoB,GAAG,KAAK;IACjC,IAAI,CAACC,oBAAoB,GAAG,KAAK;IACjC;AACR;AACA;IACQ,IAAI,CAACjyF,QAAQ,GAAG,IAAI;IACpB;AACR;AACA;IACQ,IAAI,CAACkyF,UAAU,GAAG,IAAI/1sB,YAAY,CAAC,KAAK,CAAC;IACzC;AACR;AACA;AACA;AACA;IACQ,IAAI,CAACg2sB,gBAAgB,GAAG,IAAIh2sB,YAAY,CAAC,KAAK,CAAC;IAC/C;AACR;AACA;AACA;AACA;IACQ,IAAI,CAAC8jnB,QAAQ,GAAG,IAAI9jnB,YAAY,CAAC,KAAK,CAAC;IACvC;AACR;AACA;IACQ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I,CAAC+/qB,MAAM,CAAC,GAAGpW,uBAAuB,EAAE,6GAA6G,CAAC;UAC5LzzC,UAAU,CAAC3/lB,MAAM,EAAE9S,KAAK,CAAC;UACzBklT,eAAe,CAACgxY,QAAQ,EAAEl2rB,KAAK,CAAC;QACpC;MACJ;MACA,IAAI,CAACi2rB,wBAAwB,GAAG,KAAK;IACzC;IACA5oB,YAAY,CAAC,IAAI,CAAC/Q,MAAM,CAACpY,KAAK,CAAC,EAAE,IAAI,CAACoY,MAAM,CAAC;EACjD;EACAziG,SAASA,CAACvqX,QAAQ,EAAE;IAChBwgd,mBAAmB,CAAC,IAAI,CAACwM,MAAM,EAAEhtd,QAAQ,CAAC;EAC9C;EACA;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACI8uZ,YAAYA,CAAA,EAAG;IACX2qF,aAAa,CAAC,IAAI,CAACiN,mBAAmB,IAAI,IAAI,CAAC15B,MAAM,CAAC;EAC1D;EACA;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACIv/M,MAAMA,CAAA,EAAG;IACL,IAAI,CAACu/M,MAAM,CAACnY,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC;EAC/B;EACA;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A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ACzprB,IAAI,EAAE,CAAC,EAAE,KAAK,CAAC,gCAAgC,CAAC;EACjF,OAASs7uB,aAAa,GAAG,CAAC,MAAM,CAAC;EAAgC;EAC7Dt7uB,IAAI,IAAI,CAAC,CAAC;AAClB;;AACA,SAAS47uB,6BAA6BA,CAACN,aAAa,EAAE;EAClDh6a,SAAS,IAAIioX,YAAY,CAAC+xD,aAAa,EAAE,iBAAiB,CAAC;EAC3D,OAAO,CAAEA,aAAa,GAAI,CAAC,CAAC,uCAAuC,CAAC,CAAC;AACzE;;AACA,SAASO,6BAA6BA,CAACP,aAAa,EAAE;EAClDh6a,SAAS,IAAIioX,YAAY,CAAC+xD,aAAa,EAAE,iBAAiB,CAAC;EAC3D,OAAQA,aAAa,GAAG,CAAC,CAAC;AAC9B;;AACA,SAASQ,oBAAoBA,CAACR,aAAa,EAAE;EACzCh6a,SAAS,IAAIioX,YAAY,CAAC+xD,aAAa,EAAE,iBAAiB,CAAC;EAC3D,MAAMt7uB,IAAI,GAAG07uB,oBAAoB,CAACJ,aAAa,CAAC;EAChD,OAAOt7uB,IAAI,KAAK,CAAC,GAAGq7uB,oBAAoB,CAACC,aAAa,CAAC,GAAGt7uB,IAAI;AAClE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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AAEuwuB,EAAE,EAAEj4tB,EAAE,EAAEm4tB,EAAE,EAAE/ytB,EAAE,EAAEiztB,EAAE,EAAE50L,MAAM,CAAC;EAC3H6hM,UAAU,CAAChN,iBAAiB,CAAC;AACjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASqR,sBAAsBA,CAAC52oB,MAAM,EAAE;EACpC,MAAMyulB,KAAK,GAAGsK,QAAQ,CAAC,CAAC;EACxB,MAAMwsC,iBAAiB,GAAGlB,cAAc,CAAC51C,KAAK,EAAEzulB,MAAM,CAAC;EACvDuyoB,UAAU,CAAChN,iBAAiB,CAAC;AACjC;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASsR,uBAAuBA,CAACtmY,IAAI,EAAEzsF,MAAM,EAAE0gd,EAAE,EAAE9zL,MAAM,EAAEomM,WAAW,EAAE;EACpE,MAAMroD,KAAK,GAAGsK,QAAQ,CAAC,CAAC;EACxB,MAAMwsC,iBAAiB,GAAGhB,cAAc,CAAC91C,KAAK,EAAE3qa,MAAM,EAAE0gd,EAAE,EAAE9zL,MAAM,CAAC;EACnE4hM,oBAAoB,CAAC/hY,IAAI,EAAEg1X,iBAAiB,EAAEuR,WAAW,EAAE,KAAK,CAAC;EACjE,OAAOD,uBAAuB;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASE,uBAAuBA,CAACxmY,IAAI,EAAEzsF,MAAM,EAAE0gd,EAAE,EAAEj6uB,EAAE,EAAEm6uB,EAAE,EAAEh0L,MAAM,EAAEomM,WA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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,MAAMC,YAAY,gBAAGl1D,iBAAiB,CAAC,cAAc,EAAE,CAAC33hB,SAAS,EAAEG,IAAI,MAAM;EAAEH,SAAS;EAAEG;AAAK,CAAC,CAAC,CAAC;;AAElG;AACA;AACA;AACA,MAAMs9I,QAAQ,gBAAGk5Y,aAAa,CAAC,UAAU,EAAGzrB,QAAQ,IAAKA,QAAQ,EAAE96qB,SAAS,EAAEA,SAAS;AACvF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC6U,IAAI,EAAEqvC,IAAI,KAAKyysB,eAAe,CAAC9hvB,IAAI,EAAEqvC,IAAI,CAAC,CAAC;;AAE5C;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMw4sB,gBAAgB,GAAG,IAAI;;AAE7B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA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CAAC,EAAE,CAAC;;AAEzB;AACA;AACA;AACA;AACA;AACA;AACA,SAASoiwB,eAAeA,CAAA,EAAG;EACvB,IAAI,OAAOvkB,iBAAiB,KAAK,WAAW,IAAIA,iBAAiB,IAC7D,OAAOC,IAAI,KAAK,WAAW,IAAIA,IAAI,CAACukB,MAAM,KAAK,IAAI,EAAE;IACrD;IACA;IACA;IACA,OAAOvkB,IAAI,CAACukB,MAAM;EACtB,CAAC,MACI;IACD;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA,OAAQ,OAAOC,SAAS,KAAK,WAAW,IAAIA,SAAS,CAACl6G,MAAM,IAAK42F,iBAAiB;EACtF;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM18F,SAAS,gBAAG,IAAI1sB,cAAc,CAAC,UAAU,EAAE;EAC7C51nB,UAAU,EAAE,MAAM;EAClB9F,OAAO,EAAEA,CAAA,KAAMs7nB,MAAM,CAAC8sB,SAAS,EAAEgjC,WAAW,CAAC1iW,QAAQ,GAAG0iW,WAAW,CAACn6C,QAAQ,CAAC,IAAIi3H,eAAe,CAAC;AACrG,CAAC,CAAC;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMl/G,qBAAqB,gBAAG,IAAIttB,cAAc,CAAC,qBAAqB,EAAE;EACpE51nB,UAAU,EAAE,MAAM;EAClB9F,OAAO,EAAEA,CAAA,KAAM+kvB;AACnB,CAAC,CAAC;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAC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,qCAAqC,CAACF,cAAc,EAAEC,iBAAiB,CAAC;EACxFv+C,gBAAgB,CAACq+C,wBAAwB,EAAEpzJ,OAAO,EAAE,EAAE,EAAE,IAAInsgB,GAAG,CAAC,CAAC,CAAC;EAClE,OAAOw/pB,cAAc;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASE,qCAAqCA,CAACF,cAAc,EAAEC,iBAAiB,EAAE;EAC9E,OAAO,CAACn+vB,QAAQ,EAAEiqG,SAAS,KAAK;IAC5B;IACA;IACA;IACA,IAAI,CAACi0pB,cAAc,CAAClxoB,GAAG,CAAChtH,QAAQ,CAAC,EAAE;MAC/Bk+vB,cAAc,CAAC/xtB,GAAG,CAACnsC,QAAQ,EAAE,CAACiqG,SAAS,CAAC,CAAC;IAC7C;IACA;IACA;IACA;IACA;IACA,IAAI,CAACk0pB,iBAAiB,CAACnxoB,GAAG,CAAC/iB,SAAS,CAAC,EAAE;MACnC;MACA,KAAK,MAAMo0pB,IAAI,IAAIH,cAAc,CAACvxtB,IAAI,CAAC,CAAC,EAAE;QACtC,MAAM2xtB,kBAAkB,GAAGJ,cAAc,CAACjmwB,GAAG,CAAComwB,IAAI,CAAC;QACnD,IAAIE,YAAY,GAAG9gF,cAAc,CAACxzkB,SAAS,CAAC;QAC5C,IAAI,CAACs0pB,Y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AAE,GAAGyhF;EAAK,CAAC;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AA3FA,IA4FMl9d,cAAc;EAApB,MAAMA,cAAc,CAAC;IACjBx+S,WAAWA,CAAA,EAAG;MACV;MACA,IAAI,CAAC27wB,mBAAmB,GAAG,EAAE;MAC7B,IAAI,CAACC,YAAY,GAAG,KAAK;MACzB,IAAI,CAACxvc,UAAU,GAAG,KAAK;MACvB,IAAI,CAACquc,iBAAiB,GAAG,EAAE;MAC3B;MACA,IAAI,CAAC5X,MAAM,GAAG,EAAE;MAChB,IAAI,CAACgZ,oBAAoB,GAAGp4I,MAAM,CAACq4I,kCAAkC,CAAC;MACtE,IAAI,CAACC,YAAY,GAAGt4I,MAAM,CAAC8/F,yBAAyB,CAAC;MACrD;AACR;AACA;AACA;MACQ,IAAI,CAACy4C,cAAc,GAAG,EAAE;MACxB;AACR;AACA;MACQ,IAAI,CAAC7sc,UAAU,GAAG,EAAE;MACpB;AACR;AACA;MACQ,IAAI,CAACigU,QAAQ,GAAG3L,MAAM,CAACktI,yBAAyB,CAAC,CAC5CC,eAAe,CAAClvwB,IAAI,CAAC2pmB,yDAAS,CAACulK,eAAe,IAAIA,eAAe,GAAGjxnB,wCAAE,CAAC,KAAK,CAAC,GAAG,IAAI,CAACo8nB,YAAY,CAAC,EAA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A;AACA;AACA;AACA;AACA;AACA,MAAMwuJ,mBAAmB,gBAAG,IAAIxuJ,yDAAc,CAAC,mBAAmB,CAAC;AACnE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMj9U,YAAY,GAAG,oMAAoM;AACzN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMnkS,UAAU,CAAC;EACb;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACI,OAAO0oS,GAAGA,CAACA,GAAG,EAAE;IACZ,OAAOmne,YAAY,CAACnne,GAAG,CAAC;EAC5B;EACA;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACI,OAAOD,GAAGA,CAACA,GAAG,EAAE;IACZ,OAAOqne,YAAY,CAACrne,GAAG,CAAC;EAC5B;EACA;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACI,OAAOvmS,QAAQA,CAAC4hD,OAAO,EAAE;IACrB,OAAOistB,iBAAiB,CAACjstB,OAAO,CAAC;EACrC;EACA;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACI,OAAO2+O,YAAYA,CAAC3+O,OAAO,EAAE;IACzB,OAAOkstB,qBAAqB,CAAClstB,OAAO,CAAC;EACzC;EACA;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACI,OAAOj3D,KAAKA,CAACi3D,OAAO,EAAE;IAClB,OAAOmstB,cAAc,CAACnstB,OAAO,CAAC;EAClC;EACA;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACI,OAAOo/O,SAASA,CAACA,SAAS,EAAE;IACxB,OAAOgte,kBAAkB,CAAChte,SAAS,CAAC;EACxC;EACA;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACI,OAAOtyP,SAASA,CAACA,SAAS,EAAE;IACxB,OAAOu/tB,kBAAkB,CAACv/tB,SAAS,CAAC;EACxC;EACA;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACI,OAAOzuC,OAAOA,CAACA,OAAO,EAAE;IACpB,OAAOiuwB,gBAAgB,CAACjuwB,OAAO,CAAC;EACpC;EACA;AACJ;AACA;AACA;AACA;AACA;AACA;EACI,OAAOuqC,aAAaA,CAACoX,OAAO,EAAE;IAC1B,OAAOpX,aAAa,CAACoX,OAAO,CAAC;EACjC;EACA,OAAOqlR,OAAOA,CAACllI,UAAU,EAAE;IACvB,OAAOklI,OAAO,CAACllI,UAAU,CAAC;EAC9B;EACA;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACI,OAAOoskB,YAAYA,CAACpskB,UAAU,EAAE;IAC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,IAAI;EACjD;EACA;AACJ;AACA;AACA;AACA;EACIE,kBAAkBA,CAAC93e,EAAE,EAAE;IACnB,IAAI,CAACq3e,mBAAmB,CAACpwwB,IAAI,CAAC+4R,EAAE,CAAC;EACrC;EACA;AACJ;AACA;AACA;AACA;EACI+3e,yBAAyBA,CAAA,EAAG;IACxB,IAAI,CAACV,mBAAmB,CAAC/wvB,OAAO,CAAC05Q,EAAE,IAAIA,EAAE,CAAC,CAAC,CAAC;IAC5C,IAAI,CAACq3e,mBAAmB,GAAG,EAAE;EACjC;EACA;AACJ;AACA;AACA;EACItxpB,KAAKA,CAACzuH,KAAK,GAAG1B,SAAS,EAAE;IACrB,IAAI,IAAI,CAACyzD,OAAO,EACZ,IAAI,CAACA,OAAO,CAAC08D,KAAK,CAACzuH,KAAK,CAAC;EACjC;EACA;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACIskM,QAAQA,CAACjsM,SAAS,EAAE3D,IAAI,EAAE;IACtB,OAAO,IAAI,CAACq9D,OAAO,GAAG,IAAI,CAACA,OAAO,CAACuyI,QAAQ,CAACjsM,SAAS,EAAE3D,IAAI,CAAC,GAAG,KAAK;EACxE;EACA;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACIgsxB,QAAQA,CAACroxB,SAAS,EAAE3D,IAAI,EAAE;IACtB,OAAO,IAAI,CAACq9D,OAAO,GAAG,IAAI,CAACA,OAAO,CAAC2utB,QAAQ,CAACroxB,SAAS,EAAE3D,IAAI,CAAC,GAAG,IAAI;EACvE;AACJ;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMisxB,gBAAgB,SAASb,wBAAwB,CAAC;EACpD;AAC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,KAAKi3xB,OAAO;EAClC;EACA;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;EACI,IAAIlhQ,OAAOA,CAAA,EAAG;IACV,OAAO,IAAI,CAAC/1hB,MAAM,IAAIk3xB,OAAO;EACjC;EACA;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACI,IAAI/unB,QAAQA,CAAA,EAAG;IACX,OAAO,IAAI,CAACnoK,MAAM,KAAKm3xB,QAAQ;EACnC;EACA;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACI,IAAIrse,OAAOA,CAAA,EAAG;IACV,OAAO,IAAI,CAAC9qT,MAAM,KAAKm3xB,QAAQ;EACnC;EACA;AACJ;AACA;AACA;AACA;AACA;AACA;EACI,IAAInkqB,KAAKA,CAAA,EAAG;IACR,OAAO,CAAC,IAAI,CAACghqB,QAAQ;EACzB;EACA;AACJ;AACA;AACA;AACA;AACA;EACI,IAAIC,SAASA,CAAA,EAAG;IACZ,OAAO,CAAC,IAAI,CAACrgnB,OAAO;EACxB;EACA;AACJ;AACA;AACA;AACA;AACA;EACI,IAAI2knB,QAAQA,CAAA,EAAG;IACX,OAAO,IAAI,CAACC,SAAS,GAAG,IAAI,CAACA,SAAS,GAAI,IAAI,CAAClquB,MAAM,GAAG,IAAI,CAACA,MAAM,CAACiquB,QAAQ,GAAG,QAAS;EAC5F;EACA;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACI5lqB,aAAaA,CAACuzF,UAAU,EAAE;IACtB,IAAI,CAACiykB,iBAAiB,CAACjykB,UAAU,CAAC;EACtC;EACA;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACIuykB,kBAAkBA,CAACvykB,UAAU,EAAE;IAC3B,IAAI,CAACkykB,sBAAsB,CAAClykB,UAAU,CAAC;EAC3C;EACA;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACIwtkB,aAAaA,CAACxtkB,UAAU,EAAE;IACtB,IAAI,CAACvzF,aAAa,CAAC+gqB,aAAa,CAACxtkB,UAAU,EAAE,IAAI,CAACmtkB,cAAc,CAAC,CAAC;EACtE;EACA;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACIqF,kBAAkBA,CAACxykB,UAAU,EAAE;IAC3B,IAAI,CAACuykB,kBAAkB,CAAC/E,aAAa,CAACxtkB,UAAU,EAAE,IAAI,CAACqtkB,mBAAmB,CAAC,CAAC;EAChF;EACA;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACIM,gBAAgBA,CAAC3tkB,UAAU,EAAE;IACzB,IAAI,CAACvzF,aAAa,CAACkhqB,gBAAgB,CAAC3tkB,UAAU,EAAE,IAAI,CAACmtkB,cAAc,CAAC,CAAC;EACzE;EACA;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACIsF,qBAAqBA,CAACzykB,UAAU,EAAE;IAC9B,IAAI,CAACuykB,kBAAkB,CAAC5E,gBAAgB,CAAC3tkB,UAAU,EAAE,IAAI,CAACqtkB,mBAAmB,CAAC,CAAC;EACnF;EACA;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACIE,YAAYA,CAAC/kuB,SAAS,EAAE;IACpB,OAAO+kuB,YAAY,CAAC,IAAI,CAACJ,cAAc,EAAE3kuB,SAAS,CAAC;EACvD;EACA;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;EACIkquB,iBAAiBA,CAAClquB,SAAS,EAAE;IACzB,OAAO+kuB,YAAY,CAAC,IAAI,CAACF,mBAAmB,EAAE7kuB,SAAS,CAAC;EAC5D;EACA;AACJ;AACA;AACA;AACA;AACA;AACA;EACImquB,eAAeA,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KA,CAAC1mxB,IAAI,EAAE;IACR,OAAO,IAAI;EACf;EACA;AACJ;AACA;AACA;AACA;EACIokxB,iBAAiBA,CAACjykB,UAAU,EAAE;IAC1B,IAAI,CAACmtkB,cAAc,GAAG9vwB,KAAK,CAACkjU,OAAO,CAACvgI,UAAU,CAAC,GAAGA,UAAU,CAAC75L,KAAK,CAAC,CAAC,GAAG65L,UAAU;IACjF,IAAI,CAACkukB,oBAAoB,GAAGmD,iBAAiB,CAAC,IAAI,CAAClE,cAAc,CAAC;EACtE;EACA;AACJ;AACA;AACA;AACA;EACI+E,sBAAsBA,CAAClykB,UAAU,EAAE;IAC/B,IAAI,CAACqtkB,mBAAmB,GAAGhwwB,KAAK,CAACkjU,OAAO,CAACvgI,UAAU,CAAC,GAAGA,UAAU,CAAC75L,KAAK,CAAC,CAAC,GAAG65L,UAAU;IACtF,IAAI,CAACoukB,yBAAyB,GAAGoD,sBAAsB,CAAC,IAAI,CAACnE,mBAAmB,CAAC;EACrF;AACJ;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMxnuB,SAAS,SAAS6qJ,eAAe,CAAC;EACpC;AACJ;AACA;AACA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A;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AApFA,IAqFMy3xB,OAAO;EAAb,MAAMA,OAAO,SAASx8gB,SAAS,CAAC;IAC5BzlR,WAAWA,CAAC8uD,MAAM,EAAE43J,UAAU,EAAEuxkB,eAAe,EAAEgH,cAAc,EAAE9kJ,kBAAkB,EAAEyiJ,oBAAoB,EAAE;MACvG,KAAK,CAAC,CAAC;MACP,IAAI,CAACziJ,kBAAkB,GAAGA,kBAAkB;MAC5C,IAAI,CAACyiJ,oBAAoB,GAAGA,oBAAoB;MAChD,IAAI,CAACr2tB,OAAO,GAAG,IAAIja,WAAW,CAAC,CAAC;MAChC;MACA,IAAI,CAAC41uB,WAAW,GAAG,KAAK;MACxB;AACR;AACA;AACA;AACA;MACQ,IAAI,CAAC3txB,IAAI,GAAG,EAAE;MACd;AACR;AACA;AACA;AACA;MACQ,IAAI,CAAC6nb,MAAM,GAAG,IAAI7wa,uDAAY,CAAC,CAAC;MAChC,IAAI,CAACwwuB,OAAO,GAAGjtsB,MAAM;MACrB,IAAI,CAAC6luB,cAAc,CAACjukB,UAAU,CAAC;MAC/B,IAAI,CAACmukB,mBAAmB,CAACoD,eAAe,CAAC;MACzC,IAAI,CAACxxgB,aAAa,GAAGu4gB,mBAAmB,CAAC,IAAI,EAAEC,cAAc,CAAC;IAClE;IACA;IACA53gB,WAAWA,CAACC,OAAO,EAAE;MACjB,IAAI,CAAC66gB,eAAe,CAAC,CAAC;MACtB,IAAI,CAAC,IA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AI,kBA/rM+E7lV,8DAAE;QAAA+oB,IAAA,EA+rMS+kxB;MAA0B,EAsC9G;IAAE;IAC1B;MAAS,IAAI,CAAC/nd,IAAI,kBAtuM+E/lV,8DAAE;QAAA2J,OAAA,GAsuM+Ck7xB,0BAA0B;MAAA,EAAI;IAAE;EACtL;EAAC,OA1CKiJ,0BAA0B;AAAA;AA2ChC;EAAA,QAAAvje,SAAA,oBAAAA,SAAA;AAAA;;AASA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMyje,SAAS,SAASx1lB,eAAe,CAAC;EACpC;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACIp3M,WAAWA,CAACgvD,QAAQ,EAAE6ouB,eAAe,EAAE9C,cAAc,EAAE;IACnD,KAAK,CAAC6C,cAAc,CAACC,eAAe,CAAC,EAAEG,mBAAmB,CAACjD,cAAc,EAAE8C,eAAe,CAAC,CAAC;IAC5F,IAAI,CAAC7ouB,QAAQ,GAAGA,QAAQ;IACxB,IAAI,CAACksuB,gBAAgB,CAAC,CAAC;IACvB,IAAI,CAACM,kBAAkB,CAAC3D,eAAe,CAAC;IACxC,IAAI,CAAC6D,cAAc,CAAC,CAAC;IACrB,IAAI,CAACtoqB,sBAAsB,CAAC;MACxBomqB,QAAQ,EAAE,IAAI;MACd;MACA;MACA;MACA;MACAQ,SAAS,EAAE,CAAC,CAAC,IAAI,CAACjF;IACtB,CAAC,CAAC;EACN;EACA;AACJ;AACA;AACA;AACA;AACA;AACA;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vB,OAAO,CAACslvB;QAAU,CAAC,CAAC;MACzF;IACJ,CAAC,CAAC;IACF,IAAI,CAAC5mqB,sBAAsB,CAAC1+E,OAAO,CAAC;EACxC;EACA;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACIuuF,KAAKA,CAACzuH,KAAK,GAAG,EAAE,EAAEkgC,OAAO,GAAG,CAAC,CAAC,EAAE;IAC5B,IAAI,CAAC2jvB,aAAa,CAAC,CAAC9xtB,OAAO,EAAEvqB,KAAK,KAAK;MACnCuqB,OAAO,CAAC08D,KAAK,CAACzuH,KAAK,CAACwnC,KAAK,CAAC,EAAE;QAAEw9uB,QAAQ,EAAE,IAAI;QAAEQ,SAAS,EAAEtlvB,OAAO,CAACslvB;MAAU,CAAC,CAAC;IACjF,CAAC,CAAC;IACF,IAAI,CAACF,eAAe,CAACplvB,OAAO,CAAC;IAC7B,IAAI,CAACilvB,cAAc,CAACjlvB,OAAO,CAAC;IAC5B,IAAI,CAAC0+E,sBAAsB,CAAC1+E,OAAO,CAAC;EACxC;EACA;AACJ;AACA;AACA;AACA;EACI4lvB,WAAWA,CAAA,EAAG;IACV,OAAO,IAAI,CAACtruB,QAAQ,CAACpnC,GAAG,CAAE2+C,OAAO,IAAKA,OAAO,CAAC+ztB,WAAW,CAAC,CAAC,CAAC;EAChE;EACA;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACItsxB,KAAKA,CAAC0mC,OAAO,GAAG,CAAC,CAAC,EAAE;IAChB,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4hC,OAAO,CAACqkvB,QAAQ,KAAKjmxB,SAAS,CAAC;AAC3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAXA,IAYM0P,WAAW;EAAjB,MAAMA,WAAW,CAAC;IACdxiB,WAAWA,CAAA,EAAG;MACV,IAAI,CAACktyB,cAAc,GAAG,KAAK;IAC/B;IACA;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACI,IAAIlM,WAAWA,CAAA,EAAG;MACd,MAAMmM,IAAI,GAAG,IAAI3qxB,WAAW,CAAC,CAAC;MAC9B2qxB,IAAI,CAACD,cAAc,GAAG,IAAI;MAC1B,OAAOC,IAAI;IACf;IACAzoxB,KAAKA,CAACsqC,QAAQ,EAAEta,OAAO,GAAG,IAAI,EAAE;MAC5B,MAAM04vB,eAAe,GAAG,IAAI,CAACC,eAAe,CAACr+uB,QAAQ,CAAC;MACtD,IAAI28jB,UAAU,GAAG,CAAC,CAAC;MACnB,IAAIshL,wBAAwB,CAACv4vB,OAAO,CAAC,EAAE;QACnC;QACAi3kB,UAAU,GAAGj3kB,OAAO;MACxB,CAAC,MACI,IAAIA,OAAO,KAAK,IAAI,EAAE;QACvB;QACAi3kB,UAAU,CAACjla,UAAU,GAAGhyK,OAAO,CAACwa,SAAS;QACzCy8jB,UAAU,CAACssK,eAAe,GAAGvjvB,OAAO,CAACqgvB,cAAc;MACvD;MACA,OAAO,IAAIxouB,SAAS,CAAC6gvB,eAAe,EAAEzhL,UAAU,CAAC;IACrD;IACA;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACI0xB,MAAMA,CAACrulB,QAAQ,EAAEta,OAAO,GAA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hB;EAAmB,CAAC,CACnE;EACD,OAAO2B,aAAa,CAAC,CAAC,CAAC,2CAA2C5zL,SAAS,CAAC;AAChF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS00L,gBAAgBA,CAAC5pyB,OAAO,EAAE;EAC/B,MAAMk1mB,SAAS,GAAG,CACd;IAAE3tW,OAAO,EAAE45hB,oBAAoB;IAAEl7L,QAAQ,EAAEjmmB;EAAQ,CAAC,CACvD;EACD,OAAO8oyB,aAAa,CAAC,CAAC,CAAC,oDAAoD5zL,SAAS,CAAC;AACzF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS20L,gBAAgBA,CAAA,EAAG;EACxB,MAAM30L,SAAS,GAAG,CACd;IAAE3tW,OAAO,EAAEs3W,8DAAgB;IAAEi5B,QAAQ,EAAEr4B,kEAAoBA;EAAC,CAAC,CAChE;EACD,OAAOqpL,aAAa,CAAC,CAAC,CAAC,oDAAoD5zL,SAAS,CAAC;AACzF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS40L,0BAA0BA,CAACthiB,EAAE,EAAE;EACpC,MAAM0sW,SAAS,GAAG,CAAC;IACX3tW,OAAO,EAAEu4a,kEAAuB;IAChCr4a,KAAK,EAAE,IAAI;IACXw+V,QAAQ,EAAEA,CAAA,KAAM;MACZ,MAAM/7V,QAAQ,GAAG6kV,qDAAM,CAACykD,8DAAmB,CAAC;MAC5CzkD,qDAAM,CAACxloB,MAAM,CAAC,CAACwD,MAAM,CAACpB,SAAS,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,SAASC,0BAA0BA,CAAA,EAAG;EAClC,KAAK,MAAMvl1B,GAAG,IAAI0X,MAAM,CAACi9B,IAAI,CAAC2wyB,uBAAuB,CAAC,EAAE;IACpD,OAAOA,uBAAuB,CAACtl1B,GAAG,CAAC;EACvC;AACJ;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS2y0B,YAAYA,CAACz4zB,IAAI,EAAE29K,MAAM,EAAE;EAChCytpB,uBAAuB,CAACpr0B,IAAI,CAAC,GAAG,CAACor0B,uBAAuB,CAACpr0B,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC;EACxE,IAAI,OAAO29K,MAAM,KAAK,UAAU,EAAE;IAC9B,OAAO2tpB,UAAU,CAACtr0B,IAAI,EAAE,CAAC,GAAGk7J,IAAI,MAAM;MAClC,GAAGyiB,MAAM,CAAC,GAAGziB,IAAI,CAAC;MAClBl7J;IACJ,CAAC,CAAC,CAAC;EACP;EACA,MAAMovyB,EAAE,GAAGzxnB,MAAM,GAAGA,MAAM,CAAC4tpB,GAAG,GAAG,OAAO;EACxC,QAAQn8B,EAAE;IACN,KAAK,OAAO;MACR,OAAOk8B,UAAU,CAACtr0B,IAAI,EAAE,OAAO;QAAEA;MAAK,CAAC,CAAC,CAAC;IAC7C,KAAK,OAAO;MACR,OAAOsr0B,UAAU,CAACtr0B,IAAI,EAAGsoU,KAAK,KAAM;QAChC,GAAGA,KAAK;QACRtoU;MACJ,CAAC,CAAC,CAAC;IACP;MACI,M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likB,KAAK,EAAE;EAC9B,OAAOmikB,qBAAqB,CAACP,cAAc,CAAC,CAAC,GAAG5hkB,KAAK,CAAC;AAC1D;AACA,SAASoikB,cAAcA,CAACzhyB,KAAK,EAAEj1D,SAAS,EAAE6sV,KAAK,EAAE8pgB,iBAAiB,EAAE;EAChE,IAAI9pgB,KAAK,KAAKn9U,SAAS,EAAE;IACrB,MAAM+vK,IAAI,GAAGz/K,SAAS,CAACwkB,GAAG,CAAEs1R,EAAE,IAAKA,EAAE,CAAC7kP,KAAK,CAAC,CAAC;IAC7C,OAAO0hyB,iBAAiB,CAACL,QAAQ,CAACtuhB,KAAK,CAAC,IAAI,EAAEvoJ,IAAI,CAAC;EACvD;EACA,MAAMA,IAAI,GAAGz/K,SAAS,CAACwkB,GAAG,CAAEs1R,EAAE,IAAKA,EAAE,CAAC7kP,KAAK,EAAE43R,KAAK,CAAC,CAAC;EACpD,OAAO8pgB,iBAAiB,CAACL,QAAQ,CAACtuhB,KAAK,CAAC,IAAI,EAAE,CAAC,GAAGvoJ,IAAI,EAAEotK,KAAK,CAAC,CAAC;AACnE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS4pgB,qBAAqBA,CAACG,OAAO,EAAEtlzB,OAAO,GAAG;EAC9CulzB,OAAO,EAAEH;AACb,CAAC,EAAE;EACC,OAAO,UAAU,GAAGpikB,KAAK,EAAE;IACvB,IAAI70G,IAAI,GAAG60G,KAAK;IAChB,I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ACkvF,MAAM,CAACumvB,mBAAmB,CAAC;EACpD,MAAMC,UAAU,GAAG110B,MAAM,CAACi9B,IAAI,CAACw4yB,mBAAmB,CAAC;EACnD,MAAMP,SAAS,GAAGA,CAAC,GAAGS,eAAe,KAAKD,UAAU,CAACv4yB,MAAM,CAAC,CAAC91C,MAAM,EAAEiB,GAAG,EAAEuuC,KAAK,MAAM;IACjF,GAAGxvC,MAAM;IACT,CAACiB,GAAG,GAAGqt1B,eAAe,CAAC9+yB,KAAK;EAChC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;EACP,OAAO,CAAC,GAAG54C,SAAS,EAAEi31B,SAAS,CAAC;AACpC;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASU,aAAaA,CAACC,aAAa,EAAE;EAClC,MAAM;IAAEzm1B,IAAI;IAAE260B,OAAO;IAAE+L,cAAc,EAAEC;EAAuB,CAAC,GAAGF,aAAa;EAC/E,MAAMG,eAAe,GAAGV,qBAAqB,CAAClm1B,IAAI,CAAC;EACnD,MAAM6m1B,eAAe,GAAGC,qBAAqB,CAACF,eAAe,EAAEjM,OAAO,CAAC;EACvE,MAAMoM,aAAa,GAAG;IAClB,CAAE,SAAQhI,UAAU,CAAC/+0B,IAAI,CAAE,OAAM,GAAG4m1B,eAAe;IACnD,GAAGC;EACP,CAAC;EACD,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8C;AACnE;AACA;AACA,qBAAqB,aAAa;AAClC;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uFAAuF,SAAS,gBAAgB;AAChH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEO;AACP;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA,iEAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,EAAC","sources":["./src/app/app.component.ts","./src/app/app.component.html","./src/app/app.module.ts","./src/app/app.routing.ts","./src/app/indexed-db.service.ts","./src/app/models/cart/btm-payment.model.ts","./src/app/models/cart/cart.model.ts","./src/app/models/cart/index.ts","./src/app/models/cart/line-item.model.ts","./src/app/models/cart/monthly-recurring-fee.model.ts","./src/app/models/cart/one-time-fee.model.ts","./src/app/models/cart/payment-details.model.ts","./src/app/models/cart/requestcart/index.ts","./src/app/models/cart/requestcart/request-eligibility-details.model.ts","./src/app/models/cart/requestcart/request-line-item.model.ts","./src/app/models/cart/requestcart/requestcart.model.ts","./src/app/models/cart/responsecart/index.ts","./src/app/models/cart/responsecart/responsecart-cart-summary.model.ts","./src/app/models/cart/responsecart/responsecart-line-item.model.ts","./src/app/models/cart/responsecart/responsecart-monthly-recurring-fee.model.ts","./src/app/models/cart/responsecart/responsecart-one-time-fee.model.ts","./src/app/models/cart/responsecart/responsecart-priceinfo.model.ts","./src/app/models/cart/responsecart/responsecart-total-amount.model.ts","./src/app/models/cart/responsecart/responsecart-total-cart-summary.model.ts","./src/app/models/cart/responsecart/responsecart.model.ts","./src/app/models/fan/ctn.model.ts","./src/app/models/fan/fan.model.ts","./src/app/models/fan/index.ts","./src/app/models/grid/grid-fetch.model.ts","./src/app/models/index.ts","./src/app/models/product/bundleSkus.model.ts","./src/app/models/product/contract.model.ts","./src/app/models/product/features.model.ts","./src/app/models/product/index.ts","./src/app/models/product/mdmdetails.model.ts","./src/app/models/product/media.model.ts","./src/app/models/product/price.model.ts","./src/app/models/product/priceInfo.model.ts","./src/app/models/product/product-configuration.model.ts","./src/app/models/product/product.model.ts","./src/app/models/product/provider.model.ts","./src/app/models/product/skus.model.ts","./src/app/models/product/template.model.ts","./src/app/models/product/total-price-info.model.ts","./src/app/models/user-summary/index.ts","./src/app/models/user-summary/user-manage.model.ts","./src/app/models/user-summary/user-summary-prod-info.model.ts","./src/app/models/user-summary/user-summary-product.model.ts","./src/app/models/user-summary/user-summary.model.ts","./src/app/pages.ts","./src/app/pages/abm-faciliate-enrollment/abm-faciliate-enrollment.component.ts","./src/app/pages/abm-faciliate-enrollment/abm-faciliate-enrollment.component.html","./src/app/pages/abm-faciliate-enrollment/index.ts","./src/app/pages/add-user/add-user.component.ts","./src/app/pages/add-user/add-user.component.html","./src/app/pages/add-user/add-user.model.ts","./src/app/pages/add-user/add-user.service.ts","./src/app/pages/alert-banner/alert-banner.component.ts","./src/app/pages/alert-banner/alert-banner.component.html","./src/app/pages/alert-modal/alert-modal.component.ts","./src/app/pages/alert-modal/alert-modal.component.html","./src/app/pages/alert-modal/index.ts","./src/app/pages/apple-certificate/apple-certificate.component.ts","./src/app/pages/apple-certificate/apple-certificate.component.html","./src/app/pages/apple-certificate/index.ts","./src/app/pages/apple-certificate/info/apple-certificate-info.component.ts","./src/app/pages/apple-certificate/info/apple-certificate-info.component.html","./src/app/pages/apple-certificate/info/index.ts","./src/app/pages/apple-certificate/shared/apple-cerificate.service.ts","./src/app/pages/apple-certificate/upload/apple-certificate-upload.component.ts","./src/app/pages/apple-certificate/upload/apple-certificate-upload.component.html","./src/app/pages/apple-certificate/upload/index.ts","./src/app/pages/authentication/authentication.component.ts","./src/app/pages/authentication/authentication.config.ts","./src/app/pages/authentication/index.ts","./src/app/pages/browse/browse.component.ts","./src/app/pages/browse/browse.component.html","./src/app/pages/browse/index.ts","./src/app/pages/browse/shared/index.ts","./src/app/pages/browse/shared/providers/browse.service.ts","./src/app/pages/bulk-users/bulk-action/bulk-action.component.ts","./src/app/pages/bulk-users/bulk-action/bulk-action.component.html","./src/app/pages/bulk-users/bulk-action/index.ts","./src/app/pages/bulk-users/bulk-confirm/bulk-confirm.component.ts","./src/app/pages/bulk-users/bulk-confirm/bulk-confirm.component.html","./src/app/pages/bulk-users/bulk-confirm/index.ts","./src/app/pages/bulk-users/bulk-review/bulk-review.component.ts","./src/app/pages/bulk-users/bulk-review/bulk-review.component.html","./src/app/pages/bulk-users/bulk-review/bulk-review.service.ts","./src/app/pages/bulk-users/bulk-review/index.ts","./src/app/pages/bulk-users/bulk-upload/bulk-upload.component.ts","./src/app/pages/bulk-users/bulk-upload/bulk-upload.component.html","./src/app/pages/bulk-users/bulk-upload/bulk-upload.service.ts","./src/app/pages/bulk-users/bulk-upload/index.ts","./src/app/pages/bulk-users/bulk-users.component.ts","./src/app/pages/bulk-users/bulk-users.component.html","./src/app/pages/bulk-users/bulk-wizard-data-service.ts","./src/app/pages/bulk-users/index.ts","./src/app/pages/cancel-participation/cancel-participation.component.ts","./src/app/pages/cancel-participation/cancel-participation.component.html","./src/app/pages/cancel-participation/confirm-cancel/confirm-cancel.component.ts","./src/app/pages/cancel-participation/confirm-cancel/confirm-cancel.component.html","./src/app/pages/cancel-participation/remove-account/remove-account.component.ts","./src/app/pages/cancel-participation/remove-account/remove-account.component.html","./src/app/pages/cancel-participation/review-cancel/review-cancel.component.ts","./src/app/pages/cancel-participation/review-cancel/review-cancel.component.html","./src/app/pages/cancel-participation/select-fan/select-fan.component.ts","./src/app/pages/cancel-participation/select-fan/select-fan.component.html","./src/app/pages/cancel-participation/shared/models/cancel-participation.model.ts","./src/app/pages/cancel-participation/shared/providers/cancel-participation.service.ts","./src/app/pages/cancel-participation/unclaim-devices/unclaim-devices.component.ts","./src/app/pages/cancel-participation/unclaim-devices/unclaim-devices.component.html","./src/app/pages/care/care.component.ts","./src/app/pages/care/care.component.html","./src/app/pages/care/custom-header/custom-header.component.ts","./src/app/pages/care/custom-header/custom-header.component.html","./src/app/pages/care/dashboard-title/dashboard-title.component.ts","./src/app/pages/care/dashboard-title/dashboard-title.component.html","./src/app/pages/care/dashboard-title/index.ts","./src/app/pages/care/index.ts","./src/app/pages/care/search-fan/index.ts","./src/app/pages/care/search-fan/search-fan.component.ts","./src/app/pages/care/search-fan/search-fan.component.html","./src/app/pages/care/select-fan-table/index.ts","./src/app/pages/care/select-fan-table/select-fan-table.component.ts","./src/app/pages/care/select-fan-table/select-fan-table.component.html","./src/app/pages/care/shared/index.ts","./src/app/pages/care/shared/models/care.models.ts","./src/app/pages/care/shared/providers/care.service.ts","./src/app/pages/care/whiteListsAdmin/index.ts","./src/app/pages/care/whiteListsAdmin/whiteListsAdmin.component.ts","./src/app/pages/care/whiteListsAdmin/whiteListsAdmin.component.html","./src/app/pages/cart/cart.component.ts","./src/app/pages/cart/cart.component.html","./src/app/pages/cart/cart.service.ts","./src/app/pages/cart/index.ts","./src/app/pages/change-product/change-product.component.ts","./src/app/pages/change-product/change-product.component.html","./src/app/pages/change-product/index.ts","./src/app/pages/change-product/shared/index.ts","./src/app/pages/change-product/shared/providers/change-product.service.ts","./src/app/pages/checkout/billing-payment/billing-payment.component.ts","./src/app/pages/checkout/billing-payment/billing-payment.component.html","./src/app/pages/checkout/billing-payment/index.ts","./src/app/pages/checkout/billing-payment/shared/index.ts","./src/app/pages/checkout/billing-payment/shared/providers/billing-payment.service.ts","./src/app/pages/checkout/checkout.component.ts","./src/app/pages/checkout/checkout.component.html","./src/app/pages/checkout/index.ts","./src/app/pages/checkout/order-confirmation/index.ts","./src/app/pages/checkout/order-confirmation/order-confirmation.component.ts","./src/app/pages/checkout/order-confirmation/order-confirmation.component.html","./src/app/pages/checkout/review-order/index.ts","./src/app/pages/checkout/review-order/review-order.component.ts","./src/app/pages/checkout/review-order/review-order.component.html","./src/app/pages/checkout/review-order/shared/index.ts","./src/app/pages/checkout/review-order/shared/model/btm-payment-method.model.ts","./src/app/pages/checkout/review-order/shared/model/confirm-order.model.ts","./src/app/pages/checkout/review-order/shared/model/index.ts","./src/app/pages/checkout/review-order/shared/model/line-items.model.ts","./src/app/pages/checkout/review-order/shared/model/order-source.model.ts","./src/app/pages/checkout/review-order/shared/model/payment-details.model.ts","./src/app/pages/checkout/review-order/shared/model/requestcheckout-line-item.model.ts","./src/app/pages/checkout/review-order/shared/model/requestcheckout.model.ts","./src/app/pages/checkout/review-order/shared/providers/review-order.service.ts","./src/app/pages/checkout/service-configuration/index.ts","./src/app/pages/checkout/service-configuration/service-configuration.component.ts","./src/app/pages/checkout/service-configuration/service-configuration.component.html","./src/app/pages/checkout/service-configuration/shared/index.ts","./src/app/pages/checkout/service-configuration/shared/request-dcmcodes.ts","./src/app/pages/checkout/service-configuration/shared/request-service-configuration.ts","./src/app/pages/confirm-order/confirm-order.component.ts","./src/app/pages/confirm-order/confirm-order.component.html","./src/app/pages/confirm-order/index.ts","./src/app/pages/contact/contact.component.ts","./src/app/pages/contact/contact.component.html","./src/app/pages/contact/index.ts","./src/app/pages/contact/shared/index.ts","./src/app/pages/contact/shared/providers/contact.service.ts","./src/app/pages/dashboard/dashboard.component.ts","./src/app/pages/dashboard/dashboard.component.html","./src/app/pages/dashboard/shared/providers/dashboard.service.ts","./src/app/pages/details/details.component.ts","./src/app/pages/details/details.component.html","./src/app/pages/details/index.ts","./src/app/pages/details/shared/index.ts","./src/app/pages/details/shared/model/index.ts","./src/app/pages/details/shared/model/subscription-request.model.ts","./src/app/pages/details/shared/providers/detail.service.ts","./src/app/pages/efota-customer/efota-customer.component.ts","./src/app/pages/error-pages/error-pages.component.ts","./src/app/pages/error-pages/error-pages.component.html","./src/app/pages/error-pages/index.ts","./src/app/pages/fan-deployment-profile/fan-deployment-profile.component.ts","./src/app/pages/fan-deployment-profile/fan-deployment-profile.component.html","./src/app/pages/fan-deployment-profile/shared/index.ts","./src/app/pages/fan-deployment-profile/shared/models/fan-deployment-profile.model.ts","./src/app/pages/fan-deployment-profile/shared/providers/fan-deployment-profile.service.ts","./src/app/pages/faq/faq.component.ts","./src/app/pages/faq/faq.component.html","./src/app/pages/faq/faq.service.ts","./src/app/pages/faq/index.ts","./src/app/pages/footer/footer.component.ts","./src/app/pages/footer/footer.component.html","./src/app/pages/footer/index.ts","./src/app/pages/grid-demo/grid.component.ts","./src/app/pages/grid-demo/grid.component.html","./src/app/pages/grid-demo/index.ts","./src/app/pages/grid-demo/shared/index.ts","./src/app/pages/grid-demo/shared/providers/grid.service.ts","./src/app/pages/grouping-devices/grouping-devices.component.ts","./src/app/pages/grouping-devices/grouping-devices.component.html","./src/app/pages/grouping-devices/grouping-devices.service.ts","./src/app/pages/grouping-devices/index.ts","./src/app/pages/grouping-devices/review-group/review-group.component.ts","./src/app/pages/grouping-devices/review-group/review-group.component.html","./src/app/pages/grouping-devices/select-devices/select-devices.component.ts","./src/app/pages/grouping-devices/select-devices/select-devices.component.html","./src/app/pages/grouping-devices/select-groups/select-groups.component.ts","./src/app/pages/grouping-devices/select-groups/select-groups.component.html","./src/app/pages/header/header.component.ts","./src/app/pages/header/header.component.html","./src/app/pages/header/header.service.ts","./src/app/pages/header/index.ts","./src/app/pages/home/home.component.ts","./src/app/pages/home/home.component.html","./src/app/pages/home/index.ts","./src/app/pages/home/shared/index.ts","./src/app/pages/home/shared/model/benefit-section.model.ts","./src/app/pages/home/shared/model/home.model.ts","./src/app/pages/home/shared/model/index.ts","./src/app/pages/home/shared/model/links.model.ts","./src/app/pages/home/shared/model/login-section.model.ts","./src/app/pages/home/shared/model/slider.model.ts","./src/app/pages/home/shared/providers/home.service.ts","./src/app/pages/home/shared/providers/index.ts","./src/app/pages/initial-signup/initial-signup.component.ts","./src/app/pages/initial-signup/initial-signup.component.html","./src/app/pages/initial-signup/initial-signup.modal.ts","./src/app/pages/initial-signup/initial-signup.service.ts","./src/app/pages/initial-signup/navigationBlock.guard.ts","./src/app/pages/learn-details/learndetails.component.ts","./src/app/pages/learn-details/learndetails.component.html","./src/app/pages/learn/index.ts","./src/app/pages/learn/learn.component.ts","./src/app/pages/learn/learn.component.html","./src/app/pages/learn/shared/index.ts","./src/app/pages/learn/shared/providers/learn.service.ts","./src/app/pages/licenses-buy-product/index.ts","./src/app/pages/licenses-buy-product/licenses-buy-product.component.ts","./src/app/pages/licenses-buy-product/licenses-buy-product.component.html","./src/app/pages/licenses-buy-product/shared/index.ts","./src/app/pages/licenses-buy-product/shared/model/index.ts","./src/app/pages/licenses-buy-product/shared/model/licenses-back-init.model.ts","./src/app/pages/licenses-buy-product/shared/model/licenses-buy-product.model.ts","./src/app/pages/licenses-buy-product/shared/providers/licenses-buy-product.service.ts","./src/app/pages/login-modal/index.ts","./src/app/pages/login-modal/login-modal.component.ts","./src/app/pages/login-modal/login-modal.component.html","./src/app/pages/login-modal/login-modal.service.ts","./src/app/pages/manage-dashboard/index.ts","./src/app/pages/manage-dashboard/manage-dashboard.component.ts","./src/app/pages/manage-dashboard/manage-dashboard.component.html","./src/app/pages/manage-dashboard/shared/index.ts","./src/app/pages/manage-dashboard/shared/models/index.ts","./src/app/pages/manage-dashboard/shared/models/report-request.model.ts","./src/app/pages/manage-dashboard/shared/providers/index.ts","./src/app/pages/manage-dashboard/shared/providers/manage-dashboard.service.ts","./src/app/pages/manage-groups/manage-groups.component.ts","./src/app/pages/manage-groups/manage-groups.component.html","./src/app/pages/manage-groups/manageGrpEdit-modal/managegroupedit-modal/manageGrpEdit.model.ts","./src/app/pages/manage-inventory/ctn-info/ctn-info.component.ts","./src/app/pages/manage-inventory/ctn-info/ctn-info.component.html","./src/app/pages/manage-inventory/ctnlookup-modal/ctnlookup-modal.component.ts","./src/app/pages/manage-inventory/ctnlookup-modal/ctnlookup-modal.component.html","./src/app/pages/manage-inventory/ctnlookup-modal/ctnlookup.model.ts","./src/app/pages/manage-inventory/ctnlookup-modal/index.ts","./src/app/pages/manage-inventory/ctnlookup-modal/shared/ctnlookup-modal.service.ts","./src/app/pages/manage-inventory/device-inventory/device-inventory.component.ts","./src/app/pages/manage-inventory/device-inventory/device-inventory.component.html","./src/app/pages/manage-inventory/device-lock/device-lock.component.ts","./src/app/pages/manage-inventory/device-lock/device-lock.component.html","./src/app/pages/manage-inventory/device-lock/index.ts","./src/app/pages/manage-inventory/device-summary/device-summary.component.ts","./src/app/pages/manage-inventory/device-summary/device-summary.component.html","./src/app/pages/manage-inventory/device-wipe/device-wipe.component.ts","./src/app/pages/manage-inventory/device-wipe/device-wipe.component.html","./src/app/pages/manage-inventory/device-wipe/index.ts","./src/app/pages/manage-inventory/imeilookup-modal/imeilookup-modal.component.ts","./src/app/pages/manage-inventory/imeilookup-modal/imeilookup-modal.component.html","./src/app/pages/manage-inventory/imeilookup-modal/imeilookup.model.ts","./src/app/pages/manage-inventory/imeilookup-modal/index.ts","./src/app/pages/manage-inventory/imeilookup-modal/shared/imeilookup-modal.service.ts","./src/app/pages/manage-inventory/index.ts","./src/app/pages/manage-inventory/manage-accounts/confirmed.validator.ts","./src/app/pages/manage-inventory/manage-accounts/manage-accounts.component.ts","./src/app/pages/manage-inventory/manage-accounts/manage-accounts.component.html","./src/app/pages/manage-inventory/manage-inventory.component.ts","./src/app/pages/manage-inventory/manage-inventory.component.html","./src/app/pages/manage-inventory/managenotifications/managenotifications.component.ts","./src/app/pages/manage-inventory/managenotifications/managenotifications.component.html","./src/app/pages/manage-inventory/shared/index.ts","./src/app/pages/manage-inventory/shared/models/manage-inventory.model.ts","./src/app/pages/manage-inventory/shared/providers/manage-inventory.service.ts","./src/app/pages/manage-licenses/fan-pipe.component.ts","./src/app/pages/manage-licenses/index.ts","./src/app/pages/manage-licenses/manage-licenses.component.ts","./src/app/pages/manage-licenses/manage-licenses.component.html","./src/app/pages/manage-licenses/manage-licenses.config.ts","./src/app/pages/manage-licenses/pipe.component.ts","./src/app/pages/manage-licenses/shared/index.ts","./src/app/pages/manage-licenses/shared/model/index.ts","./src/app/pages/manage-licenses/shared/model/licenses-card.model.ts","./src/app/pages/manage-licenses/shared/model/manage-licenses-list.model.ts","./src/app/pages/manage-licenses/shared/model/manage-product-request.model.ts","./src/app/pages/manage-licenses/shared/model/product-management-fan.model.ts","./src/app/pages/manage-licenses/shared/model/product-management-license.model.ts","./src/app/pages/manage-licenses/shared/model/product-management.model.ts","./src/app/pages/manage-licenses/shared/providers/index.ts","./src/app/pages/manage-licenses/shared/providers/manage-licenses.service.ts","./src/app/pages/manage-product/cancel-product/cancel-product.component.ts","./src/app/pages/manage-product/cancel-product/cancel-product.component.html","./src/app/pages/manage-product/cancel-product/index.ts","./src/app/pages/manage-product/index.ts","./src/app/pages/manage-product/manage-product.component.ts","./src/app/pages/manage-product/manage-product.component.html","./src/app/pages/manage-product/manage-user.model.ts","./src/app/pages/manage-product/modify-license/index.ts","./src/app/pages/manage-product/modify-license/modify-license.component.ts","./src/app/pages/manage-product/modify-license/modify-license.component.html","./src/app/pages/manage-product/review-order-product/index.ts","./src/app/pages/manage-product/review-order-product/product-details.model.ts","./src/app/pages/manage-product/review-order-product/review-order-product.component.ts","./src/app/pages/manage-product/review-order-product/review-order-product.component.html","./src/app/pages/manage-product/review-order-product/review-order-product.model.ts","./src/app/pages/manage-product/review-order-product/review-order-product.service.ts","./src/app/pages/manage-product/shared/providers/userList.service.ts","./src/app/pages/manage-users/action/action.component.ts","./src/app/pages/manage-users/action/action.component.html","./src/app/pages/manage-users/action/index.ts","./src/app/pages/manage-users/action/request-model.ts","./src/app/pages/manage-users/index.ts","./src/app/pages/manage-users/manage-users.component.ts","./src/app/pages/manage-users/manage-users.component.html","./src/app/pages/manage-users/products/index.ts","./src/app/pages/manage-users/products/products.component.ts","./src/app/pages/manage-users/products/products.component.html","./src/app/pages/manage-users/products/request-model.ts","./src/app/pages/manage-users/review/index.ts","./src/app/pages/manage-users/review/review.component.ts","./src/app/pages/manage-users/review/review.component.html","./src/app/pages/manage-users/review/shared/providers/review.service.ts","./src/app/pages/manage-users/shared/bucket-summary.model.ts","./src/app/pages/manage-users/shared/ext-properties.items.model.ts","./src/app/pages/manage-users/shared/ext-properties.model.ts","./src/app/pages/manage-users/shared/index.ts","./src/app/pages/manage-users/shared/items.model.ts","./src/app/pages/manage-users/shared/product.model.ts","./src/app/pages/manage-users/shared/review-dynamic.model.ts","./src/app/pages/manage-users/shared/review.service.model.ts","./src/app/pages/manage-users/shared/unassign-action.model.ts","./src/app/pages/manage-users/shared/unassign-items.model.ts","./src/app/pages/manage-users/shared/user-wizard-product.model.ts","./src/app/pages/manage-users/shared/user.model.ts","./src/app/pages/manage-users/users-wizard-data-service.ts","./src/app/pages/manage-users/users/index.ts","./src/app/pages/manage-users/users/users.component.ts","./src/app/pages/manage-users/users/users.component.html","./src/app/pages/menus/menus.component.ts","./src/app/pages/menus/menus.component.html","./src/app/pages/multi-stubid-page/multi-stubid-page.component.ts","./src/app/pages/multi-stubid-page/multi-stubid-page.component.html","./src/app/pages/notifications/notification.component.ts","./src/app/pages/notifications/notification.component.html","./src/app/pages/notifications/shared/notification.service.ts","./src/app/pages/product-configurator/index.ts","./src/app/pages/product-configurator/product-configurator.component.ts","./src/app/pages/product-configurator/product-configurator.component.html","./src/app/pages/product-configurator/shared/index.ts","./src/app/pages/product-configurator/shared/providers/product-configurator.service.ts","./src/app/pages/product-selection/blockNavigation.guard.ts","./src/app/pages/product-selection/product-selection.component.ts","./src/app/pages/product-selection/product-selection.component.html","./src/app/pages/product-selection/product-selection.modal.ts","./src/app/pages/product-selection/product-selection.service.ts","./src/app/pages/report/index.ts","./src/app/pages/report/report-request.component.ts","./src/app/pages/report/report-request.component.html","./src/app/pages/report/shared/index.ts","./src/app/pages/report/shared/providers/report.service.ts","./src/app/pages/report/success/report-success.component.ts","./src/app/pages/report/success/report-success.component.html","./src/app/pages/report/transaction/confirmation/confirmation.component.ts","./src/app/pages/report/transaction/confirmation/confirmation.component.html","./src/app/pages/report/transaction/date-range/date-range.component.ts","./src/app/pages/report/transaction/date-range/date-range.component.html","./src/app/pages/report/transaction/index.ts","./src/app/pages/report/transaction/report-type/report-type.component.ts","./src/app/pages/report/transaction/report-type/report-type.component.html","./src/app/pages/report/transaction/shared/index.ts","./src/app/pages/report/transaction/shared/models/transaction-report.model.ts","./src/app/pages/report/transaction/shared/providers/transaction.service.ts","./src/app/pages/report/transaction/transaction-review/transaction-review.component.ts","./src/app/pages/report/transaction/transaction-review/transaction-review.component.html","./src/app/pages/report/transaction/transaction.component.ts","./src/app/pages/report/transaction/transaction.component.html","./src/app/pages/sendSMS/accounts/index.ts","./src/app/pages/sendSMS/accounts/select-accounts.component.ts","./src/app/pages/sendSMS/accounts/select-accounts.component.html","./src/app/pages/sendSMS/index.ts","./src/app/pages/sendSMS/message/index.ts","./src/app/pages/sendSMS/message/message.component.ts","./src/app/pages/sendSMS/message/message.component.html","./src/app/pages/sendSMS/modal/index.ts","./src/app/pages/sendSMS/modal/message-modal.component.ts","./src/app/pages/sendSMS/modal/message-modal.component.html","./src/app/pages/sendSMS/models/smsMessage.model.ts","./src/app/pages/sendSMS/review/index.ts","./src/app/pages/sendSMS/review/review-message.component.ts","./src/app/pages/sendSMS/review/review-message.component.html","./src/app/pages/sendSMS/send-sms.component.ts","./src/app/pages/sendSMS/send-sms.component.html","./src/app/pages/sendSMS/send-sms.service.ts","./src/app/pages/signup-fiveg/confirm/confirm.component.ts","./src/app/pages/signup-fiveg/confirm/confirm.component.html","./src/app/pages/signup-fiveg/enrollment-options/enrollment-options.component.ts","./src/app/pages/signup-fiveg/enrollment-options/enrollment-options.component.html","./src/app/pages/signup-fiveg/review/review.component.ts","./src/app/pages/signup-fiveg/review/review.component.html","./src/app/pages/signup-fiveg/shared/signup-fiveg.service.ts","./src/app/pages/signup-fiveg/signup-fiveg.component.ts","./src/app/pages/signup-fiveg/signup-fiveg.component.html","./src/app/pages/signup-setup/confirm-signup-setup/confirm-signup-setup.component.ts","./src/app/pages/signup-setup/confirm-signup-setup/confirm-signup-setup.component.html","./src/app/pages/signup-setup/enrollment-signup-setup/enrollment-signup-setup.component.ts","./src/app/pages/signup-setup/enrollment-signup-setup/enrollment-signup-setup.component.html","./src/app/pages/signup-setup/enrollmentpoc/enrollmentpoc.component.ts","./src/app/pages/signup-setup/enrollmentpoc/enrollmentpoc.component.html","./src/app/pages/signup-setup/index.ts","./src/app/pages/signup-setup/review-signup-setup/review-signup-setup.component.ts","./src/app/pages/signup-setup/review-signup-setup/review-signup-setup.component.html","./src/app/pages/signup-setup/reviewpoc/reviewpoc.component.ts","./src/app/pages/signup-setup/reviewpoc/reviewpoc.component.html","./src/app/pages/signup-setup/shared/models/signup-setup.models.ts","./src/app/pages/signup-setup/shared/providers/signup-setup.service.ts","./src/app/pages/signup-setup/signup-setup.component.ts","./src/app/pages/signup-setup/signup-setup.component.html","./src/app/pages/signup/accounts/accounts.component.ts","./src/app/pages/signup/accounts/accounts.component.html","./src/app/pages/signup/applications/applications.component.ts","./src/app/pages/signup/applications/applications.component.html","./src/app/pages/signup/confirm/confirm.component.ts","./src/app/pages/signup/confirm/confirm.component.html","./src/app/pages/signup/index.ts","./src/app/pages/signup/review/review.component.ts","./src/app/pages/signup/review/review.component.html","./src/app/pages/signup/settings/settings.component.ts","./src/app/pages/signup/settings/settings.component.html","./src/app/pages/signup/shared/models/signup.models.ts","./src/app/pages/signup/shared/providers/signup.service.ts","./src/app/pages/signup/signup.component.ts","./src/app/pages/signup/signup.component.html","./src/app/pages/signup/startdate/startdate.component.ts","./src/app/pages/signup/startdate/startdate.component.html","./src/app/pages/system-error/system-error.component.ts","./src/app/pages/system-error/system-error.component.html","./src/app/pages/system-maintenance/system-maintenance.component.ts","./src/app/pages/system-maintenance/system-maintenance.component.html","./src/app/pages/terms-conditions/terms-conditions.component.ts","./src/app/pages/terms-conditions/terms-conditions.component.html","./src/app/pages/user-edit/index.ts","./src/app/pages/user-edit/shared/index.ts","./src/app/pages/user-edit/shared/providers/user-edit.service.ts","./src/app/pages/user-edit/user-edit.component.ts","./src/app/pages/user-edit/user-edit.component.html","./src/app/pages/user-edit/user-edit.config.ts","./src/app/pages/user-summary/index.ts","./src/app/pages/user-summary/shared/index.ts","./src/app/pages/user-summary/shared/providers/request-user-summary.model.ts","./src/app/pages/user-summary/shared/providers/user-summary-data.service.ts","./src/app/pages/user-summary/shared/providers/user-summary.service.ts","./src/app/pages/user-summary/user-summary.component.ts","./src/app/pages/user-summary/user-summary.component.html","./src/app/pages/user-summary/user-summary.config.ts","./src/app/pages/welcome/welcome.component.ts","./src/app/pages/welcome/welcome.component.html","./src/app/pages/welcome/welcome.service.ts","./src/app/ui-components.ts","./src/config/abm-fe.config.ts","./src/config/adobe-analytics.config.ts","./src/config/apple-certificate-status.config.ts","./src/config/breadcrumb.config.ts","./src/config/cancel-participation.config.ts","./src/config/chart.config.ts","./src/config/config.ts","./src/config/device-deployment-summary.config.ts","./src/config/deviceInventory.config.ts","./src/config/dropdown.config.ts","./src/config/error-code.config.ts","./src/config/errors.config.ts","./src/config/fan-deployment-profile.config.ts","./src/config/imeilookup-modal.config.ts","./src/config/index.ts","./src/config/learn.config.ts","./src/config/login-error.config.ts","./src/config/mobile-pivot.config.ts","./src/config/mobile-pivots.config.ts","./src/config/navigation.config.ts","./src/config/page-title.config.ts","./src/config/permission.config.ts","./src/config/premier-logon-fnabc.config.ts","./src/config/premier-logon.config.ts","./src/config/product-details.config.ts","./src/config/review-order.config.ts","./src/config/signup-setup.config.ts","./src/config/signup.config.ts","./src/config/stepindicator.config.ts","./src/config/tab.config.ts","./src/config/terms-and-conditions.ts","./src/config/terms-condictions.config.ts","./src/config/user.config.ts","./src/environments/environment.prod.ts","./src/lib/ng2-sapmp/src/config/cms-permissions.ts","./src/lib/ng2-sapmp/src/config/index.ts","./src/lib/ng2-sapmp/src/config/key-config.ts","./src/lib/ng2-sapmp/src/directives/cms.directive.ts","./src/lib/ng2-sapmp/src/directives/component-permission.directive.ts","./src/lib/ng2-sapmp/src/directives/ctn-mask.directive.ts","./src/lib/ng2-sapmp/src/directives/field-permission.directive.ts","./src/lib/ng2-sapmp/src/directives/impersonator-permission.directive.ts","./src/lib/ng2-sapmp/src/directives/index.ts","./src/lib/ng2-sapmp/src/directives/only-numbers.directive.ts","./src/lib/ng2-sapmp/src/guards/admin.guard.ts","./src/lib/ng2-sapmp/src/guards/learn5G.guard.ts","./src/lib/ng2-sapmp/src/guards/multistubid-profile.guard.ts","./src/lib/ng2-sapmp/src/guards/user-profile.guard.ts","./src/lib/ng2-sapmp/src/models/index.ts","./src/lib/ng2-sapmp/src/models/product-management/index.ts","./src/lib/ng2-sapmp/src/models/product-management/product-management.model.ts","./src/lib/ng2-sapmp/src/models/user-wizard/index.ts","./src/lib/ng2-sapmp/src/models/user-wizard/user-wizard.model.ts","./src/lib/ng2-sapmp/src/models/userprofile/account.model.ts","./src/lib/ng2-sapmp/src/models/userprofile/baseprofile.model.ts","./src/lib/ng2-sapmp/src/models/userprofile/contact-address.model.ts","./src/lib/ng2-sapmp/src/models/userprofile/contact-phonenumber.model.ts","./src/lib/ng2-sapmp/src/models/userprofile/fans.model.ts","./src/lib/ng2-sapmp/src/models/userprofile/impersonator.model.ts","./src/lib/ng2-sapmp/src/models/userprofile/index.ts","./src/lib/ng2-sapmp/src/models/userprofile/loginsources/care.model.ts","./src/lib/ng2-sapmp/src/models/userprofile/loginsources/index.ts","./src/lib/ng2-sapmp/src/models/userprofile/loginsources/premier.model.ts","./src/lib/ng2-sapmp/src/models/userprofile/loginsources/sapmp.model.ts","./src/lib/ng2-sapmp/src/models/userprofile/user-profile.model.ts","./src/lib/ng2-sapmp/src/modules/card-lib.module.ts","./src/lib/ng2-sapmp/src/modules/chart-lib.module.ts","./src/lib/ng2-sapmp/src/modules/cms/cms.module.prod.ts","./src/lib/ng2-sapmp/src/modules/core-lib.module.ts","./src/lib/ng2-sapmp/src/modules/formbuilder-lib.module.ts","./src/lib/ng2-sapmp/src/modules/grid-lib.module.ts","./src/lib/ng2-sapmp/src/modules/index.ts","./src/lib/ng2-sapmp/src/modules/login/login.module.prod.ts","./src/lib/ng2-sapmp/src/modules/modal-lib.module.ts","./src/lib/ng2-sapmp/src/modules/ng2-lib.module.ts","./src/lib/ng2-sapmp/src/modules/pagination-lib.module.ts","./src/lib/ng2-sapmp/src/modules/slider-lib.module.ts","./src/lib/ng2-sapmp/src/pages/contact/contact.component.ts","./src/lib/ng2-sapmp/src/pages/contact/contact.component.html","./src/lib/ng2-sapmp/src/pages/contact/contact.service.ts","./src/lib/ng2-sapmp/src/pages/contact/index.ts","./src/lib/ng2-sapmp/src/pages/error/error.component.ts","./src/lib/ng2-sapmp/src/pages/error/error.component.html","./src/lib/ng2-sapmp/src/pages/error/index.ts","./src/lib/ng2-sapmp/src/pages/error/restricted-user.component.ts","./src/lib/ng2-sapmp/src/pages/error/restricted-user.component.html","./src/lib/ng2-sapmp/src/pages/faq/faq.component.ts","./src/lib/ng2-sapmp/src/pages/faq/faq.component.html","./src/lib/ng2-sapmp/src/pages/faq/faq.service.ts","./src/lib/ng2-sapmp/src/pages/faq/index.ts","./src/lib/ng2-sapmp/src/pages/home/shared/providers/home.service.ts","./src/lib/ng2-sapmp/src/pages/index.ts","./src/lib/ng2-sapmp/src/pages/login/login.component.ts","./src/lib/ng2-sapmp/src/pages/page-not-found/index.ts","./src/lib/ng2-sapmp/src/pages/page-not-found/page-not-found.component.ts","./src/lib/ng2-sapmp/src/pages/page-not-found/page-not-found.component.html","./src/lib/ng2-sapmp/src/pages/support/index.ts","./src/lib/ng2-sapmp/src/pages/support/support.component.ts","./src/lib/ng2-sapmp/src/pages/support/support.component.html","./src/lib/ng2-sapmp/src/providers/adobe-analytics.service.ts","./src/lib/ng2-sapmp/src/providers/app-router-patch.component.ts","./src/lib/ng2-sapmp/src/providers/authentication.service.ts","./src/lib/ng2-sapmp/src/providers/cms.resolver.ts","./src/lib/ng2-sapmp/src/providers/error-log.service.ts","./src/lib/ng2-sapmp/src/providers/http-client.service.ts","./src/lib/ng2-sapmp/src/providers/index.ts","./src/lib/ng2-sapmp/src/providers/license-pricing.service.ts","./src/lib/ng2-sapmp/src/providers/recaptcha.service.ts","./src/lib/ng2-sapmp/src/providers/user-wizard-service.ts","./src/lib/ng2-sapmp/src/providers/utility.service.ts","./src/lib/ng2-sapmp/src/providers/validation.service.ts","./src/lib/ng2-sapmp/src/ui-components/accordion/accordion-list.component.ts","./src/lib/ng2-sapmp/src/ui-components/accordion/accordion-list.component.html","./src/lib/ng2-sapmp/src/ui-components/accordion/accordion.component.ts","./src/lib/ng2-sapmp/src/ui-components/accordion/accordion.component.html","./src/lib/ng2-sapmp/src/ui-components/accordion/accordion.model.ts","./src/lib/ng2-sapmp/src/ui-components/accordion/emitter.service.ts","./src/lib/ng2-sapmp/src/ui-components/accordion/index.ts","./src/lib/ng2-sapmp/src/ui-components/bluebox/bluebox.component.ts","./src/lib/ng2-sapmp/src/ui-components/bluebox/bluebox.component.html","./src/lib/ng2-sapmp/src/ui-components/breadcrumb/breadCrumb-property.model.ts","./src/lib/ng2-sapmp/src/ui-components/breadcrumb/breadcrumb.component.ts","./src/lib/ng2-sapmp/src/ui-components/breadcrumb/breadcrumb.component.html","./src/lib/ng2-sapmp/src/ui-components/breadcrumb/breadcrumb.model.ts","./src/lib/ng2-sapmp/src/ui-components/breadcrumb/breadcrumb.service.ts","./src/lib/ng2-sapmp/src/ui-components/breadcrumb/index.ts","./src/lib/ng2-sapmp/src/ui-components/card/card.component.ts","./src/lib/ng2-sapmp/src/ui-components/card/card.component.html","./src/lib/ng2-sapmp/src/ui-components/card/index.ts","./src/lib/ng2-sapmp/src/ui-components/charts/donut-chart/donut-chart.component.ts","./src/lib/ng2-sapmp/src/ui-components/charts/donut-chart/donut-chart.component.html","./src/lib/ng2-sapmp/src/ui-components/charts/donut-chart/donut-chart.model.ts","./src/lib/ng2-sapmp/src/ui-components/charts/donut-chart/index.ts","./src/lib/ng2-sapmp/src/ui-components/charts/donut/donut-range.model.ts","./src/lib/ng2-sapmp/src/ui-components/charts/donut/donut.component.ts","./src/lib/ng2-sapmp/src/ui-components/charts/donut/donut.component.html","./src/lib/ng2-sapmp/src/ui-components/charts/donut/index.ts","./src/lib/ng2-sapmp/src/ui-components/charts/index.ts","./src/lib/ng2-sapmp/src/ui-components/chips/chips.component.ts","./src/lib/ng2-sapmp/src/ui-components/chips/chips.component.html","./src/lib/ng2-sapmp/src/ui-components/chips/chips.service.ts","./src/lib/ng2-sapmp/src/ui-components/cms/cms.component.prod.ts","./src/lib/ng2-sapmp/src/ui-components/confirm-modal/confirm-modal-popup.component.ts","./src/lib/ng2-sapmp/src/ui-components/confirm-modal/confirm-modal-popup.component.html","./src/lib/ng2-sapmp/src/ui-components/confirm-modal/confirm-modal-popup.model.ts","./src/lib/ng2-sapmp/src/ui-components/confirm-modal/index.ts","./src/lib/ng2-sapmp/src/ui-components/custom-grid-extended/custom-grid-extended.component.ts","./src/lib/ng2-sapmp/src/ui-components/custom-grid-extended/custom-grid-extended.component.html","./src/lib/ng2-sapmp/src/ui-components/custom-grid-extended/index.ts","./src/lib/ng2-sapmp/src/ui-components/custom-grid-extended/shared/index.ts","./src/lib/ng2-sapmp/src/ui-components/custom-grid-extended/shared/model/column-definitions.model.ts","./src/lib/ng2-sapmp/src/ui-components/custom-grid-extended/shared/model/fetch-criteria.model.ts","./src/lib/ng2-sapmp/src/ui-components/custom-grid-extended/shared/model/grid-options.model.ts","./src/lib/ng2-sapmp/src/ui-components/custom-grid-extended/shared/model/paginations.model.ts","./src/lib/ng2-sapmp/src/ui-components/custom-grid-extended/shared/providers/filter.service.ts","./src/lib/ng2-sapmp/src/ui-components/custom-grid-extended/shared/providers/grid-data.service.ts","./src/lib/ng2-sapmp/src/ui-components/custom-grid-extended/shared/providers/grid-sort.service.ts","./src/lib/ng2-sapmp/src/ui-components/custom-grid-table/custom-grid-table.component.ts","./src/lib/ng2-sapmp/src/ui-components/custom-grid-table/custom-grid-table.component.html","./src/lib/ng2-sapmp/src/ui-components/custom-grid-table/index.ts","./src/lib/ng2-sapmp/src/ui-components/custom-grid-table/shared/index.ts","./src/lib/ng2-sapmp/src/ui-components/custom-grid-table/shared/model/column-definitions.model.ts","./src/lib/ng2-sapmp/src/ui-components/custom-grid-table/shared/model/fetch-criteria.model.ts","./src/lib/ng2-sapmp/src/ui-components/custom-grid-table/shared/model/grid-options.model.ts","./src/lib/ng2-sapmp/src/ui-components/custom-grid-table/shared/model/paginations.model.ts","./src/lib/ng2-sapmp/src/ui-components/custom-grid-table/shared/providers/filter.service.ts","./src/lib/ng2-sapmp/src/ui-components/custom-grid-table/shared/providers/grid-data.service.ts","./src/lib/ng2-sapmp/src/ui-components/custom-grid-table/shared/providers/grid-sort.service.ts","./src/lib/ng2-sapmp/src/ui-components/custom-grid/customgrid.component.ts","./src/lib/ng2-sapmp/src/ui-components/custom-grid/customgrid.component.html","./src/lib/ng2-sapmp/src/ui-components/custom-grid/index.ts","./src/lib/ng2-sapmp/src/ui-components/custom-grid/shared/index.ts","./src/lib/ng2-sapmp/src/ui-components/custom-grid/shared/model/column-definitions.model.ts","./src/lib/ng2-sapmp/src/ui-components/custom-grid/shared/model/fetch-criteria.model.ts","./src/lib/ng2-sapmp/src/ui-components/custom-grid/shared/model/grid-options.model.ts","./src/lib/ng2-sapmp/src/ui-components/custom-grid/shared/model/paginations.model.ts","./src/lib/ng2-sapmp/src/ui-components/custom-grid/shared/providers/filter.service.ts","./src/lib/ng2-sapmp/src/ui-components/custom-grid/shared/providers/grid-data.service.ts","./src/lib/ng2-sapmp/src/ui-components/custom-grid/shared/providers/grid-sort.service.ts","./src/lib/ng2-sapmp/src/ui-components/date-picker/date-picker.component.ts","./src/lib/ng2-sapmp/src/ui-components/date-picker/date-picker.component.html","./src/lib/ng2-sapmp/src/ui-components/date-picker/index.ts","./src/lib/ng2-sapmp/src/ui-components/date-picker/shared/index.ts","./src/lib/ng2-sapmp/src/ui-components/date-picker/shared/models/date-picker.model.ts","./src/lib/ng2-sapmp/src/ui-components/date-picker/shared/providers/date-picker.service.ts","./src/lib/ng2-sapmp/src/ui-components/dropdown/dropdown.component.ts","./src/lib/ng2-sapmp/src/ui-components/dropdown/dropdown.component.html","./src/lib/ng2-sapmp/src/ui-components/dropdown/dropdown.model.ts","./src/lib/ng2-sapmp/src/ui-components/dropdown/index.ts","./src/lib/ng2-sapmp/src/ui-components/dynamic-loader/dynamic-loader.component.ts","./src/lib/ng2-sapmp/src/ui-components/form-builder/form-builder.Component.ts","./src/lib/ng2-sapmp/src/ui-components/form-builder/form-builder.component.html","./src/lib/ng2-sapmp/src/ui-components/form-builder/form-builder.service.ts","./src/lib/ng2-sapmp/src/ui-components/form-builder/form-configuration.model.ts","./src/lib/ng2-sapmp/src/ui-components/form-builder/form-custom.validator.ts","./src/lib/ng2-sapmp/src/ui-components/form-builder/form-property.model.ts","./src/lib/ng2-sapmp/src/ui-components/form-builder/index.ts","./src/lib/ng2-sapmp/src/ui-components/gvp-video/gvp-video.component.ts","./src/lib/ng2-sapmp/src/ui-components/gvp-video/gvp-video.component.html","./src/lib/ng2-sapmp/src/ui-components/gvp-video/index.ts","./src/lib/ng2-sapmp/src/ui-components/index.ts","./src/lib/ng2-sapmp/src/ui-components/legend/index.ts","./src/lib/ng2-sapmp/src/ui-components/legend/legend.component.ts","./src/lib/ng2-sapmp/src/ui-components/legend/legend.component.html","./src/lib/ng2-sapmp/src/ui-components/licenses-card/index.ts","./src/lib/ng2-sapmp/src/ui-components/licenses-card/license-details.model.ts","./src/lib/ng2-sapmp/src/ui-components/licenses-card/licenses-card.component.ts","./src/lib/ng2-sapmp/src/ui-components/licenses-card/licenses-card.component.html","./src/lib/ng2-sapmp/src/ui-components/licenses-card/licenses-card.service.ts","./src/lib/ng2-sapmp/src/ui-components/mobile-pivot/index.ts","./src/lib/ng2-sapmp/src/ui-components/mobile-pivot/mobile-pivot.component.ts","./src/lib/ng2-sapmp/src/ui-components/mobile-pivot/mobile-pivot.component.html","./src/lib/ng2-sapmp/src/ui-components/mobile-pivot/mobile-pivot.model.ts","./src/lib/ng2-sapmp/src/ui-components/modal-popup/index.ts","./src/lib/ng2-sapmp/src/ui-components/modal-popup/modal-popup.component.ts","./src/lib/ng2-sapmp/src/ui-components/modal-popup/modal-popup.component.html","./src/lib/ng2-sapmp/src/ui-components/page-loader/index.ts","./src/lib/ng2-sapmp/src/ui-components/page-loader/page-loader.component.ts","./src/lib/ng2-sapmp/src/ui-components/page-loader/page-loader.component.html","./src/lib/ng2-sapmp/src/ui-components/page-loader/page-loader.service.ts","./src/lib/ng2-sapmp/src/ui-components/page-slider/dotindicator.component.ts","./src/lib/ng2-sapmp/src/ui-components/page-slider/events/animation.ts","./src/lib/ng2-sapmp/src/ui-components/page-slider/events/arrowkeys.ts","./src/lib/ng2-sapmp/src/ui-components/page-slider/events/index.ts","./src/lib/ng2-sapmp/src/ui-components/page-slider/events/sideclick.ts","./src/lib/ng2-sapmp/src/ui-components/page-slider/events/touchevents.ts","./src/lib/ng2-sapmp/src/ui-components/page-slider/index.ts","./src/lib/ng2-sapmp/src/ui-components/page-slider/navbutton.component.ts","./src/lib/ng2-sapmp/src/ui-components/page-slider/pageslider.component.ts","./src/lib/ng2-sapmp/src/ui-components/page-slider/render.component.ts","./src/lib/ng2-sapmp/src/ui-components/page-slider/types.ts","./src/lib/ng2-sapmp/src/ui-components/pagination/index.ts","./src/lib/ng2-sapmp/src/ui-components/pagination/pagination.component.ts","./src/lib/ng2-sapmp/src/ui-components/pagination/pagination.component.html","./src/lib/ng2-sapmp/src/ui-components/pagination/shared/index.ts","./src/lib/ng2-sapmp/src/ui-components/pagination/shared/models/pagination.model.ts","./src/lib/ng2-sapmp/src/ui-components/pagination/shared/providers/pagination.service.ts","./src/lib/ng2-sapmp/src/ui-components/product-card/index.ts","./src/lib/ng2-sapmp/src/ui-components/product-card/product-card.component.ts","./src/lib/ng2-sapmp/src/ui-components/product-card/product-card.component.html","./src/lib/ng2-sapmp/src/ui-components/product-card/product-card.model.ts","./src/lib/ng2-sapmp/src/ui-components/status-bar/index.ts","./src/lib/ng2-sapmp/src/ui-components/status-bar/status-bar.component.ts","./src/lib/ng2-sapmp/src/ui-components/status-bar/status-bar.component.html","./src/lib/ng2-sapmp/src/ui-components/status-bar/status-bar.model.ts","./src/lib/ng2-sapmp/src/ui-components/step-indicator/index.ts","./src/lib/ng2-sapmp/src/ui-components/step-indicator/stepindicator.component.ts","./src/lib/ng2-sapmp/src/ui-components/step-indicator/stepindicator.component.html","./src/lib/ng2-sapmp/src/ui-components/step-indicator/stepindicator.model.ts","./src/lib/ng2-sapmp/src/ui-components/step-indicator/stepindicator.service.ts","./src/lib/ng2-sapmp/src/ui-components/subscription-card/index.ts","./src/lib/ng2-sapmp/src/ui-components/subscription-card/subscription-card.component.ts","./src/lib/ng2-sapmp/src/ui-components/subscription-card/subscription-card.component.html","./src/lib/ng2-sapmp/src/ui-components/subscription-card/subscription-card.model.ts","./src/lib/ng2-sapmp/src/ui-components/tab/emitter.service.ts","./src/lib/ng2-sapmp/src/ui-components/tab/index.ts","./src/lib/ng2-sapmp/src/ui-components/tab/tab.component.ts","./src/lib/ng2-sapmp/src/ui-components/tab/tab.component.html","./src/lib/ng2-sapmp/src/ui-components/tab/tab.model.ts","./src/lib/ng2-sapmp/src/ui-components/tab/tabs.component.ts","./src/lib/ng2-sapmp/src/ui-components/tab/tabs.component.html","./src/lib/ng2-sapmp/src/ui-components/terms-content/index.ts","./src/lib/ng2-sapmp/src/ui-components/terms-content/terms-content.component.ts","./src/lib/ng2-sapmp/src/ui-components/terms-content/terms-content.component.html","./src/lib/ng2-sapmp/src/ui-components/terms-content/terms-content.service.ts","./src/lib/ng2-sapmp/src/ui-components/timeout-popup/index.ts","./src/lib/ng2-sapmp/src/ui-components/timeout-popup/timeout-popup.component.ts","./src/lib/ng2-sapmp/src/ui-components/timeout-popup/timeout-popup.component.html","./src/lib/ng2-sapmp/src/ui-components/timeout-popup/timeout-popup.service.ts","./src/lib/ng2-sapmp/src/ui-components/usage-bar/index.ts","./src/lib/ng2-sapmp/src/ui-components/usage-bar/usage-bar.component.ts","./src/lib/ng2-sapmp/src/ui-components/usage-bar/usage-bar.component.html","./src/main.ts","./node_modules/ag-grid-angular/fesm2015/ag-grid-angular.js","./node_modules/ag-grid-community/dist/ag-grid-community.auto.esm.js","./node_modules/file-saver/FileSaver.js","./node_modules/rxjs/_esm2015/internal/BehaviorSubject.js","./node_modules/rxjs/_esm2015/internal/InnerSubscriber.js","./node_modules/rxjs/_esm2015/internal/Notification.js","./node_modules/rxjs/_esm2015/internal/Observable.js","./node_modules/rxjs/_esm2015/internal/Observer.js","./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js","./node_modules/rxjs/_esm2015/internal/ReplaySubject.js","./node_modules/rxjs/_esm2015/internal/Scheduler.js","./node_modules/rxjs/_esm2015/internal/Subject.js","./node_modules/rxjs/_esm2015/internal/SubjectSubscription.js","./node_modules/rxjs/_esm2015/internal/Subscriber.js","./node_modules/rxjs/_esm2015/internal/Subscription.js","./node_modules/rxjs/_esm2015/internal/config.js","./node_modules/rxjs/_esm2015/internal/innerSubscribe.js","./node_modules/rxjs/_esm2015/internal/observable/ConnectableObservable.js","./node_modules/rxjs/_esm2015/internal/observable/combineLatest.js","./node_modules/rxjs/_esm2015/internal/observable/concat.js","./node_modules/rxjs/_esm2015/internal/observable/defer.js","./node_modules/rxjs/_esm2015/internal/observable/empty.js","./node_modules/rxjs/_esm2015/internal/observable/forkJoin.js","./node_modules/rxjs/_esm2015/internal/observable/from.js","./node_modules/rxjs/_esm2015/internal/observable/fromArray.js","./node_modules/rxjs/_esm2015/internal/observable/interval.js","./node_modules/rxjs/_esm2015/internal/observable/merge.js","./node_modules/rxjs/_esm2015/internal/observable/of.js","./node_modules/rxjs/_esm2015/internal/observable/throwError.js","./node_modules/rxjs/_esm2015/internal/operators/catchError.js","./node_modules/rxjs/_esm2015/internal/operators/concatAll.js","./node_modules/rxjs/_esm2015/internal/operators/concatMap.js","./node_modules/rxjs/_esm2015/internal/operators/debounceTime.js","./node_modules/rxjs/_esm2015/internal/operators/defaultIfEmpty.js","./node_modules/rxjs/_esm2015/internal/operators/dematerialize.js","./node_modules/rxjs/_esm2015/internal/operators/distinctUntilChanged.js","./node_modules/rxjs/_esm2015/internal/operators/exhaustMap.js","./node_modules/rxjs/_esm2015/internal/operators/filter.js","./node_modules/rxjs/_esm2015/internal/operators/finalize.js","./node_modules/rxjs/_esm2015/internal/operators/first.js","./node_modules/rxjs/_esm2015/internal/operators/groupBy.js","./node_modules/rxjs/_esm2015/internal/operators/ignoreElements.js","./node_modules/rxjs/_esm2015/internal/operators/last.js","./node_modules/rxjs/_esm2015/internal/operators/map.js","./node_modules/rxjs/_esm2015/internal/operators/mapTo.js","./node_modules/rxjs/_esm2015/internal/operators/materialize.js","./node_modules/rxjs/_esm2015/internal/operators/mergeAll.js","./node_modules/rxjs/_esm2015/internal/operators/mergeMap.js","./node_modules/rxjs/_esm2015/internal/operators/multicast.js","./node_modules/rxjs/_esm2015/internal/operators/observeOn.js","./node_modules/rxjs/_esm2015/internal/operators/pairwise.js","./node_modules/rxjs/_esm2015/internal/operators/pluck.js","./node_modules/rxjs/_esm2015/internal/operators/refCount.js","./node_modules/rxjs/_esm2015/internal/operators/retry.js","./node_modules/rxjs/_esm2015/internal/operators/scan.js","./node_modules/rxjs/_esm2015/internal/operators/share.js","./node_modules/rxjs/_esm2015/internal/operators/skip.js","./node_modules/rxjs/_esm2015/internal/operators/startWith.js","./node_modules/rxjs/_esm2015/internal/operators/switchMap.js","./node_modules/rxjs/_esm2015/internal/operators/take.js","./node_modules/rxjs/_esm2015/internal/operators/takeLast.js","./node_modules/rxjs/_esm2015/internal/operators/takeUntil.js","./node_modules/rxjs/_esm2015/internal/operators/tap.js","./node_modules/rxjs/_esm2015/internal/operators/throwIfEmpty.js","./node_modules/rxjs/_esm2015/internal/operators/timeout.js","./node_modules/rxjs/_esm2015/internal/operators/timeoutWith.js","./node_modules/rxjs/_esm2015/internal/operators/withLatestFrom.js","./node_modules/rxjs/_esm2015/internal/scheduled/scheduleArray.js","./node_modules/rxjs/_esm2015/internal/scheduled/scheduleIterable.js","./node_modules/rxjs/_esm2015/internal/scheduled/scheduleObservable.js","./node_modules/rxjs/_esm2015/internal/scheduled/schedulePromise.js","./node_modules/rxjs/_esm2015/internal/scheduled/scheduled.js","./node_modules/rxjs/_esm2015/internal/scheduler/Action.js","./node_modules/rxjs/_esm2015/internal/scheduler/AsyncAction.js","./node_modules/rxjs/_esm2015/internal/scheduler/AsyncScheduler.js","./node_modules/rxjs/_esm2015/internal/scheduler/QueueAction.js","./node_modules/rxjs/_esm2015/internal/scheduler/QueueScheduler.js","./node_modules/rxjs/_esm2015/internal/scheduler/async.js","./node_modules/rxjs/_esm2015/internal/scheduler/queue.js","./node_modules/rxjs/_esm2015/internal/symbol/iterator.js","./node_modules/rxjs/_esm2015/internal/symbol/observable.js","./node_modules/rxjs/_esm2015/internal/symbol/rxSubscriber.js","./node_modules/rxjs/_esm2015/internal/util/ArgumentOutOfRangeError.js","./node_modules/rxjs/_esm2015/internal/util/EmptyError.js","./node_modules/rxjs/_esm2015/internal/util/ObjectUnsubscribedError.js","./node_modules/rxjs/_esm2015/internal/util/TimeoutError.js","./node_modules/rxjs/_esm2015/internal/util/UnsubscriptionError.js","./node_modules/rxjs/_esm2015/internal/util/canReportError.js","./node_modules/rxjs/_esm2015/internal/util/hostReportError.js","./node_modules/rxjs/_esm2015/internal/util/identity.js","./node_modules/rxjs/_esm2015/internal/util/isArray.js","./node_modules/rxjs/_esm2015/internal/util/isArrayLike.js","./node_modules/rxjs/_esm2015/internal/util/isDate.js","./node_modules/rxjs/_esm2015/internal/util/isFunction.js","./node_modules/rxjs/_esm2015/internal/util/isInteropObservable.js","./node_modules/rxjs/_esm2015/internal/util/isIterable.js","./node_modules/rxjs/_esm2015/internal/util/isNumeric.js","./node_modules/rxjs/_esm2015/internal/util/isObject.js","./node_modules/rxjs/_esm2015/internal/util/isObservable.js","./node_modules/rxjs/_esm2015/internal/util/isPromise.js","./node_modules/rxjs/_esm2015/internal/util/isScheduler.js","./node_modules/rxjs/_esm2015/internal/util/noop.js","./node_modules/rxjs/_esm2015/internal/util/pipe.js","./node_modules/rxjs/_esm2015/internal/util/subscribeTo.js","./node_modules/rxjs/_esm2015/internal/util/subscribeToArray.js","./node_modules/rxjs/_esm2015/internal/util/subscribeToIterable.js","./node_modules/rxjs/_esm2015/internal/util/subscribeToObservable.js","./node_modules/rxjs/_esm2015/internal/util/subscribeToPromise.js","./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js","./node_modules/rxjs/_esm2015/internal/util/toSubscriber.js","./node_modules/util/node_modules/inherits/inherits_browser.js","./node_modules/util/support/isBufferBrowser.js","./node_modules/util/util.js","./node_modules/@angular/animations/fesm2022/animations.mjs","./node_modules/@angular/animations/fesm2022/browser.mjs","./node_modules/@angular/cdk/fesm2022/a11y.mjs","./node_modules/@angular/cdk/fesm2022/accordion.mjs","./node_modules/@angular/cdk/fesm2022/bidi.mjs","./node_modules/@angular/cdk/fesm2022/cdk.mjs","./node_modules/@angular/cdk/fesm2022/coercion.mjs","./node_modules/@angular/cdk/fesm2022/collections.mjs","./node_modules/@angular/cdk/fesm2022/keycodes.mjs","./node_modules/@angular/cdk/fesm2022/layout.mjs","./node_modules/@angular/cdk/fesm2022/observers.mjs","./node_modules/@angular/cdk/fesm2022/platform.mjs","./node_modules/@angular/cdk/fesm2022/portal.mjs","./node_modules/@angular/common/fesm2022/common.mjs","./node_modules/@angular/common/fesm2022/http.mjs","./node_modules/@angular/core/fesm2022/core.mjs","./node_modules/@angular/core/fesm2022/rxjs-interop.mjs","./node_modules/@angular/forms/fesm2022/forms.mjs","./node_modules/@angular/material/fesm2022/core.mjs","./node_modules/@angular/material/fesm2022/expansion.mjs","./node_modules/@angular/platform-browser/fesm2022/animations.mjs","./node_modules/@angular/platform-browser/fesm2022/platform-browser.mjs","./node_modules/@angular/router/fesm2022/router.mjs","./node_modules/@ngrx/effects/fesm2022/ngrx-effects.mjs","./node_modules/@ngrx/store-devtools/fesm2022/ngrx-store-devtools.mjs","./node_modules/@ngrx/store/fesm2022/ngrx-store.mjs","./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js","./node_modules/tslib/tslib.es6.mjs"],"sourcesContent":["import { Component, OnInit, AfterViewInit } from '@angular/core';\nimport { Observable, throwError } from 'rxjs';\nimport { filter, pairwise } from 'rxjs/operators';\nimport { Router, NavigationEnd, ActivatedRoute } from '@angular/router';\n\n// import { TranslateService } from '@ngx-translate/core';\n\n// [anand] [ml5174: use attid in comments] need to check where we can move router patch Component\nimport { HttpClientService, UtilityService, RouterPatchComponent, AuthenticationService } from 'lib/ng2-sapmp/src/providers';\nimport { ENV, PageTitle } from 'config';\nimport { ConfirmModalPopupModel } from 'lib/ng2-sapmp/src/ui-components/confirm-modal/confirm-modal-popup.model';\nimport { HeaderService } from './pages/header/header.service';\n// import { version } from '../../package.json';\nimport packageJson from '../../package.json';\n\n// TODO [ml5174] ENV_Var should be typed\ndeclare var ENV_VAR: any; // global variable set in env.js file, imported in index.html\ndeclare var ENV_PORTAL: any;\ndeclare var isTCinitialized: any;\ndeclare var Inq: any;\nconst abcUrl = '/businessconsole/home';\n\n@Component({\n selector: 'app-root',\n templateUrl: './app.component.html',\n styleUrls: ['./app.component.scss']\n})\nexport class AppComponent implements OnInit, AfterViewInit {\n // public version: string = version;\n public version: string = packageJson.version;\n appPortal: string = ENV_PORTAL;\n portalVariable: any = {\n envVariable: '',\n baseUrl: '',\n redirectUrl: ''\n };\n showModal: boolean = false;\n\n\n constructor(private utilityService: UtilityService,\n private httpClientService: HttpClientService,\n private router: Router,\n private route: ActivatedRoute,\n // private translate: TranslateService,\n private headerService: HeaderService,\n private authenticationService: AuthenticationService) {\n utilityService.setEnvConfig(ENV[ENV_VAR]); // setting app config in service\n utilityService.setPageTitleConfig(PageTitle); // setting app config in service\n\n // translate.addLangs(['en', 'es']);\n // translate.setDefaultLang('en');\n // let browserLang = translate.getBrowserLang();\n // translate.use(browserLang.match(/en|es/) ? browserLang : 'en');\n\n RouterPatchComponent.navigateByUrl.subscribe((url: string) => {\n this.router.navigateByUrl(url);\n });\n\n this.authenticationService.getLoginModalStatus().subscribe(status => {\n this.showModal = status;\n })\n }\n public getUrlForLiElement(liElement) {\n if (liElement && liElement.children[0]) {\n let url = liElement.children[0].href;\n return url;\n }\n }\n\n\n initializeChat() {\n try {\n console.log('initializedChat' + isTCinitialized);\n if (isTCinitialized) {\n isTCinitialized = false;\n Inq.reinitChat();\n }\n } catch (e) {\n console.warn('inqFrame', 'failed!');\n }\n }\n\n ngOnInit(): void {\n document.title = this.utilityService.getPageTitleConfig()['/home'];\n\n // below code sets the page scroll at top position\n this.router.events.pipe(\n filter(e => e instanceof NavigationEnd)\n , pairwise())\n .subscribe((e: [NavigationEnd, NavigationEnd]) => {\n const navArray = e;\n if (navArray && navArray.length > 0) {\n sessionStorage.setItem('previousRoute', navArray[0].url);\n sessionStorage.setItem('currentRoute', navArray[1].url);\n }\n if (!(e instanceof NavigationEnd)) {\n return;\n }\n });\n this.portalVariable.envVariable = this.appPortal;\n this.portalVariable.baseUrl = abcUrl;\n }\n\n ngAfterViewInit(): void {\n this.router.events.pipe(\n filter(e => e instanceof NavigationEnd))\n .subscribe((evt) => {\n this.initializeChat();\n window.scrollTo(0, 0);\n const element: HTMLElement = document.getElementById('focusLogo');\n const logoutElementTitle: HTMLElement = document.getElementById('logoutContainerTitle');\n if (logoutElementTitle) {\n document.getElementById('logoutContainerTitle').focus();\n }\n else {\n document.getElementById('focusLogo').innerHTML = document.title;\n document.getElementById('focusLogo').focus();\n }\n setTimeout(() => {\n this.headerService.initUser()\n }, 1000);\n\n });\n }\n\n callTokenRefresh() {\n if (sessionStorage.getItem('sapmp_jwtToken') != null) {\n // refreshes token for logged in scenario upon page load\n this.httpClientService.tokenRefresh(this.utilityService.getEnvConfig().tokenRefresh);\n }\n }\n\n handleError = (error) => { // Arrow function is necessary as the context should be Parent class\n return throwError('Server Error');\n }\n\n}\n","\n\n\n\n\n
\n
Main section
\n\n \n\n \n\n
\n \n
\n \n
\n\n\n\n\n
{{version}}
","import { BrowserModule } from '@angular/platform-browser';\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\nimport { NgModule, CUSTOM_ELEMENTS_SCHEMA, Injectable } from '@angular/core';\nimport { DatePipe } from '@angular/common';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { HttpClientModule, HttpHandler, HttpInterceptor, HttpRequest, HTTP_INTERCEPTORS } from '@angular/common/http';\n\nimport { AppComponent } from './app.component';\nimport { routing } from './app.routing';\n\nimport {\n FooterComponent, HeaderComponent,\n HeaderService, ContactComponent, ConfirmOrderComponent, GridComponent,\n AuthenticationComponent, TermsConditionsComponent, NotificationAlertComponent,\n AlertBannerComponent, AlertModalComponent,\n ErrorPageComponent, LoginModalComponent,AbmFaciliateEnrollmentComponent\n} from './pages';\n\nimport { PageLoaderService, BreadCrumbService, TimeOutPopupService } from './ui-components';\n\n\nimport {\n ErrorComponent, RestrictedUserComponent, PageNotFoundComponent, SupportComponent\n} from 'lib/ng2-sapmp/src/pages';\n\nimport {\n AuthenticationService, UtilityService, HttpClientService,\n UserWizardService, AdobeAnalyticsService\n} from 'lib/ng2-sapmp/src/providers';\n\nimport { NavigationToBlockGuard } from './pages/initial-signup/navigationBlock.guard';\nimport {\n CoreLibModule, GridLibModule, ModalLibModule, PaginationLibModule\n} from 'lib/ng2-sapmp/src/modules';\n\nimport { SystemErrorComponent } from './pages/system-error/system-error.component';\n\nimport { SystemMaintenanceComponent } from './pages/system-maintenance/system-maintenance.component';\n\nimport { CMSResolver } from 'lib/ng2-sapmp/src/providers/cms.resolver';\nimport { StoreModule } from '@ngrx/store';\nimport { StoreDevtoolsModule } from '@ngrx/store-devtools';\nimport { EffectsModule } from '@ngrx/effects';\nimport { CMSModule, LoginModule } from 'environments/environment';\nimport { UserProfileGuard } from 'lib/ng2-sapmp/src/guards/user-profile.guard';\nimport { MultiStubIdProfileGuard } from 'lib/ng2-sapmp/src/guards/multistubid-profile.guard';\nimport { AdminGuard } from 'lib/ng2-sapmp/src/guards/admin.guard';\nimport { EfotaCustomerComponent } from './pages/efota-customer/efota-customer.component';\nimport { ChipsComponent } from 'lib/ng2-sapmp/src/ui-components/chips/chips.component';\nimport { ChipsService } from 'lib/ng2-sapmp/src/ui-components/chips/chips.service';\nimport { BlockNavigationGuard } from './pages/product-selection/blockNavigation.guard';\nimport { ReviewpocComponent } from './pages/signup-setup/reviewpoc/reviewpoc.component';\nimport { EnrollmentpocComponent } from './pages/signup-setup/enrollmentpoc/enrollmentpoc.component';\nimport { MenusComponent } from './pages/menus/menus.component';\nimport { MultiStubidPageComponent } from './pages/multi-stubid-page/multi-stubid-page.component';\nimport { FivegPrivateRoutingGuard } from 'lib/ng2-sapmp/src/guards/learn5G.guard';\nimport { CustomHeaderComponent } from './pages/care/custom-header/custom-header.component';\n\n// import { StoreRouterConnectingModule } from '@ngrx/router-store';\n\n@Injectable()\nexport class NoCacheHeadersInterceptor implements HttpInterceptor {\n intercept(req: HttpRequest, next: HttpHandler) {\n const authReq = req.clone({\n setHeaders: {\n 'Cache-Control': 'no-cache',\n Pragma: 'no-cache'\n }\n });\n return next.handle(authReq); \n }\n}\n\n@NgModule({\n declarations: [\n AppComponent,\n AuthenticationComponent,\n TermsConditionsComponent,\n NotificationAlertComponent,\n AlertBannerComponent,\n SystemErrorComponent,\n SystemMaintenanceComponent,\n // scrum team 2 components\n SupportComponent,\n ContactComponent,\n PageNotFoundComponent,\n ErrorPageComponent,\n ErrorComponent,\n AbmFaciliateEnrollmentComponent,\n\n /* SupportComponent,\n FaqComponent, */\n GridComponent,\n RestrictedUserComponent,\n ConfirmOrderComponent,\n AlertModalComponent,\n HeaderComponent,\n FooterComponent,\n ChipsComponent,\n LoginModalComponent,\n EfotaCustomerComponent,\n MenusComponent,\n MultiStubidPageComponent,\n CustomHeaderComponent,\n ],\n\n imports: [\n BrowserModule,\n ReactiveFormsModule,\n HttpClientModule,\n routing,\n // for components present in app module\n CMSModule,\n LoginModule,\n CoreLibModule,\n ModalLibModule,\n GridLibModule,\n PaginationLibModule,\n BrowserAnimationsModule,\n StoreModule.forRoot({}),\n EffectsModule.forRoot([]),\n StoreDevtoolsModule.instrument({ maxAge: 25, logOnly: false })\n // StoreRouterConnectingModule.forRoot({stateKey: 'router'})\n ],\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n providers: [DatePipe, CMSResolver, UserProfileGuard, AdminGuard,\n AuthenticationService, HttpClientService, UtilityService, ChipsService,\n PageLoaderService, TimeOutPopupService, UserWizardService, BreadCrumbService, \n AdobeAnalyticsService, HeaderService, NavigationToBlockGuard, BlockNavigationGuard, MultiStubIdProfileGuard, FivegPrivateRoutingGuard\n // {\n // provide: HTTP_INTERCEPTORS,\n // useClass: NoCacheHeadersInterceptor,\n // multi: true\n // }\n ],\n bootstrap: [AppComponent],\n // entryComponents: [NotificationAlertComponent]\n})\nexport class AppModule { }\n","import { ModuleWithProviders } from '@angular/core';\nimport { Routes, RouterModule } from '@angular/router';\nimport { ErrorComponent, RestrictedUserComponent, PageNotFoundComponent, SupportComponent } from 'lib/ng2-sapmp/src/pages';\nimport { NavigationToBlockGuard } from './pages/initial-signup/navigationBlock.guard';\nimport { ErrorPageComponent } from './pages/error-pages';\nimport { ContactComponent } from './pages/contact';\nimport { ConfirmOrderComponent } from './pages/confirm-order';\nimport { AuthenticationComponent } from './pages/authentication';\nimport { AbmFaciliateEnrollmentComponent, FaqComponent } from './pages'\n\nimport {\n TermsConditionsComponent, SystemErrorComponent, SystemMaintenanceComponent, GridComponent\n} from './pages';\nimport { CMSResolver } from 'lib/ng2-sapmp/src/providers/cms.resolver';\n\nimport { UserProfileGuard } from 'lib/ng2-sapmp/src/guards/user-profile.guard';\nimport { MultiStubIdProfileGuard } from 'lib/ng2-sapmp/src/guards/multistubid-profile.guard';\nimport { AdminGuard } from 'lib/ng2-sapmp/src/guards/admin.guard';\nimport { BlockNavigationGuard } from './pages/product-selection/blockNavigation.guard';\nimport { MultiStubidPageComponent} from './pages/multi-stubid-page/multi-stubid-page.component';\n\nexport const appRoutes: Routes = [\n {\n path: 'srhome',\n loadChildren: () => import('./modules/home/home.module').then(m => m.HomeModule),\n canActivate: [UserProfileGuard]\n },\n {\n path: 'home',\n loadChildren: () => import('./modules/home/home.module').then(m => m.HomeModule),\n canActivate: [MultiStubIdProfileGuard]\n },\n { path: 'browse', loadChildren: () => import('./modules/browse/browse.module').then(m => m.BrowseModule) },\n {\n path: 'productConfigurator/:id',\n loadChildren: () => import('./modules/product-configurator/product-configurator.module').then(m => m.ProductConfiguratorModule),\n canActivate: [UserProfileGuard]\n },\n {\n path: 'cart', loadChildren: () => import('./modules/cart/cart.module').then(m => m.CartModule),\n canActivate: [UserProfileGuard]\n },\n {\n path: 'checkout', loadChildren: () => import('./modules/checkout/checkout.module').then(m => m.CheckoutModule)\n },\n {\n path: 'dashboard',\n loadChildren: () => import('./modules/dashboard/dashboard.module').then(m => m.DashboardModule),\n canActivate: [UserProfileGuard]\n },\n {\n path: 'efotaenrollment',\n loadChildren: () => import('./modules/signup-efota/signup-efota.module').then(m => m.SignUpEfotaModule),\n },\n {\n path: 'efotareports',\n loadChildren: () => import('./modules/report-detail/report-detail.module').then(m => m.ReportDetailModule),\n },\n {\n path: 'fiveg',\n loadChildren: () => import('./modules/5g/5g-customer.module').then(m => m.FiveGCustomerModule),\n canActivate: [UserProfileGuard]\n },\n {\n path: 'manage',\n loadChildren: () => import('./modules/manage-licenses/manage-licenses.module').then(m => m.ManageLicensesModule),\n canActivate: [UserProfileGuard]\n },\n {\n path: 'manageProduct',\n loadChildren: () => import('./modules/manage-product/manage-product.module').then(m => m.ManageProductModule),\n },\n {\n path: 'manageUsers',\n loadChildren: () => import('./modules/manage-users/manage-users.module').then(m => m.ManageUsersModule),\n },\n {\n path: 'licensesBuyProduct',\n loadChildren: () => import('./modules/licenses-buy-product/licenses-buy-product.module').then(m => m.LicensesBuyProductModule),\n canActivate: [UserProfileGuard]\n },\n {\n path: 'changeProduct',\n loadChildren: () => import('./modules/change-product/change-product.module').then(m => m.ChangeProductModule),\n canActivate: [UserProfileGuard]\n },\n {\n path: 'user',\n loadChildren: () => import('./modules/user/user.module').then(m => m.UserModule),\n },\n {\n path: 'bulkUsers',\n loadChildren: () => import('./modules/bulk-users/bulk-users.module').then(m => m.BulkUsersModule),\n canActivate: [UserProfileGuard],\n },\n {\n path: 'learn', loadChildren: () => import('./modules/learn/learn.module').then(m => m.LearnModule),\n canActivate: [MultiStubIdProfileGuard],\n resolve: { pageData: CMSResolver }\n },\n {\n path: 'manageInventory',\n loadChildren: () => import('./modules/manage-inventory/manage-inventory.module').then(m => m.ManageInventoryModule),\n canActivate: [UserProfileGuard]\n },\n {\n path: 'appleCertificate',\n loadChildren: () => import('./modules/apple-certificate/apple-certificate.module').then(m => m.AppleCertificateModule),\n canActivate: [UserProfileGuard]\n },\n {\n path: 'cancelParticipation',\n loadChildren: () => import('./modules/cancel-participation/cancel-participation.module').then(m => m.CancelParticipationModule),\n canActivate: [UserProfileGuard]\n },\n {\n path: 'signup',\n loadChildren: () => import('./modules/signup/signup.module').then(m => m.SignupModule),\n canActivate: [UserProfileGuard]\n },\n {\n path: 'welcome', loadChildren: () => import('./modules/welcome/welcome.module').then(m => m.WelcomeModule),\n canActivate: [UserProfileGuard]\n },\n {\n path: 'productselection',\n loadChildren: () => import('./modules/product-selection/product-selection.module').then(m => m.ProductSelectionModule),\n canActivate: [UserProfileGuard, BlockNavigationGuard]\n },\n {\n path: 'signupsetup',\n loadChildren: () => import('./modules/signup-setup/signup-setup.module').then(m => m.SignupSetupModule),\n canActivate: []\n },\n {\n path: 'enrollmentTool',\n loadChildren: () => import('./modules/enrollment-tool/enrollment-tool.module').then(m => m.EnrollmemtToolModule),\n canActivate: [UserProfileGuard, NavigationToBlockGuard]\n },\n {\n path: 'sendMessage',\n loadChildren: () => import('./modules/sms/sms.module').then(m => m.SmsModule),\n canActivate: [UserProfileGuard]\n },\n {\n path: 'reports/transaction',\n loadChildren: () => import('./modules/report/report.module').then(m => m.ReportModule)\n },\n {\n path: 'care',\n loadChildren: () => import('./modules/care/care.module').then(m => m.CareModule),\n canActivate: [AdminGuard]\n },\n // {\n // path: 'faq',\n // loadChildren: () => import('./modules/faq/faq.module').then(m => m.FaqModule),\n // canActivate: []\n // },\n {\n path: 'groupingDevices',\n loadChildren: () => import('./modules/grouping-devices/grouping-devices.module').then(m => m.GroupingDevicesModule),\n canActivate: []\n },\n {\n path: 'manageGroups',\n loadChildren: () => import('./modules/manage-groups/manage-groups.module').then(m => m.ManageGroupsModule),\n canActivate: []\n },\n { path: 'systemError', component: SystemErrorComponent },\n { path: 'systemMaintenance', component: SystemMaintenanceComponent },\n { path: 'support', component: SupportComponent, canActivate: [UserProfileGuard] },\n { path: 'faq', loadChildren: () => import('./modules/faq/faq.module').then(m => m.FaqModule), canActivate: [UserProfileGuard] },\n // { path: 'faq', component: FaqComponent },\n { path: 'terms', component: TermsConditionsComponent },\n { path: 'error/:errorCode', component: ErrorPageComponent },\n {\n path: 'contact', component: ContactComponent,\n\n resolve: { pageData: CMSResolver }\n },\n\n { path: 'abmfacilitatedenrollment', component: AbmFaciliateEnrollmentComponent, resolve: { pageData: CMSResolver } },\n { path: 'authentication', component: AuthenticationComponent },\n { path: 'confirmorder', component: ConfirmOrderComponent },\n { path: 'errorPage/:errorCode', component: ErrorPageComponent },\n { path: 'restrictedUser', component: RestrictedUserComponent },\n { path: 'serverError/:errCode', component: ErrorComponent },\n { path: 'grid', component: GridComponent },\n {\n path: 'efotaoffer',\n redirectTo: 'browse/details/efota',\n pathMatch: 'full'\n },\n { path: 'businesconsole', redirectTo: 'home', pathMatch: 'full' },\n { path: '', redirectTo: 'home', pathMatch: 'full' },\n { path: 'selectstubid', component: MultiStubidPageComponent },\n { path: '**', component: PageNotFoundComponent },\n];\n\nexport const appRoutingProviders: any[] = [\n\n];\n\nexport const routing: ModuleWithProviders = RouterModule.forRoot(appRoutes);\n","import { Injectable } from '@angular/core';\n\n@Injectable({\n providedIn: 'root',\n})\n\nexport class IndexedDbService {\n private dbReady: Promise;\n private db: IDBDatabase;\n\n constructor() {\n this.connectToDb();\n }\n\n private connectToDb(): void {\n this.dbReady = new Promise((resolve, reject) => {\n const request = indexedDB.open('sapmpDB', 1);\n\n request.onupgradeneeded = (event: any) => {\n this.db = event.target.result;\n this.db.createObjectStore('devices', { autoIncrement: true });\n };\n\n request.onsuccess = (event: any) => {\n this.db = event.target.result;\n resolve();\n };\n\n request.onerror = (event: any) => {\n console.log('Database error: ' + event.target.errorCode);\n reject('Error opening database');\n };\n });\n }\n\n getDb(): Promise {\n return this.dbReady.then(() => this.db);\n }\n\n addData(storeName: string, data: any): void {\n const transaction = this.db.transaction([storeName], 'readwrite');\n const objectStore = transaction.objectStore(storeName);\n \n const countRequest = objectStore.count();\n countRequest.onsuccess = () => {\n if (countRequest.result < 1) {\n const addRequest = objectStore.add(data);\n addRequest.onsuccess = () => {\n console.log('Data added successfully');\n };\n addRequest.onerror = () => {\n console.log('Error adding data');\n };\n } else {\n console.log('Data is already present in the db!');\n }\n };\n }\n // ...\n\n getData(storeName: string, key: IDBValidKey): Promise {\n return new Promise((resolve, reject) => {\n const transaction = this.db.transaction([storeName]);\n const objectStore = transaction.objectStore(storeName);\n const request = objectStore.get(key);\n\n request.onsuccess = (event: any) => {\n resolve(request.result);\n };\n\n request.onerror = (event: any) => {\n console.log('Error getting data');\n reject(event);\n };\n });\n }\n\n getAllData(storeName: string): Promise {\n return new Promise((resolve, reject) => {\n\n if (!this.db) {\n reject('DB is not initialized');\n return;\n }\n\n const transaction = this.db.transaction([storeName]);\n const objectStore = transaction.objectStore(storeName);\n const request = objectStore.getAll();\n \n request.onsuccess = (event: any) => {\n resolve(request.result);\n };\n \n request.onerror = (event: any) => {\n console.log('Error getting all data');\n reject(event);\n };\n });\n }\n\n closeConnection(): void {\n if (this.db) {\n this.db.close();\n this.db = null;\n }\n }\n\n clearData(storeName: string): Promise {\n return new Promise((resolve, reject) => {\n const transaction = this.db.transaction([storeName], 'readwrite');\n const objectStore = transaction.objectStore(storeName);\n const request = objectStore.clear();\n \n request.onsuccess = () => {\n resolve();\n };\n \n request.onerror = (event: any) => {\n console.log('Error clearing data');\n reject(event);\n };\n });\n }\n}\n"," export class BtmPaymentMethodModel {\n billingCTN: string;\n }\n","import { PaymentDetailsModel, LineItemModel } from './index';\nimport { TotalPriceInfoModel } from './../product/index';\n\nexport class CartModel {\n priceInfo: TotalPriceInfoModel;\n lineItems: LineItemModel[];\n\n paymentDetails: PaymentDetailsModel;\n fan: string;\n ban: string;\n ctn: string;\n isApplySame: boolean;\n orderId: string;\n productTnc: string;\n}\n","export * from './cart.model';\nexport * from './monthly-recurring-fee.model';\nexport * from './one-time-fee.model';\nexport * from './payment-details.model';\nexport * from './line-item.model';\nexport * from './requestcart';\nexport * from './responsecart';\nexport * from './btm-payment.model';\n","import { PriceInfoModel, SkusModel } from './../product/index';\n\nexport class LineItemModel {\n\n quantity: number;\n productId: string;\n tncUrl: string;\n skuId: string;\n displayName: string;\n sku: SkusModel;\n priceInfo: PriceInfoModel;\n childDcmCodes: Array;\n email: string;\n id: string;\n productConfigurations: any[];\n orderConfigurations: any[];\n annual: boolean;\n maxQty: number;\n // bundleSku: string;\n}\n"," export class MonthlyRecurringFeeModel {\n amount: number;\n currencyCode: string;\n }\n"," export class OneTimeFeeModel {\n amount: number;\n currencyCode: string;\n }\n"," import {BtmPaymentMethodModel} from './btm-payment.model';\n\n export class PaymentDetailsModel {\n btmPaymentMethod: BtmPaymentMethodModel;\n }\n","export * from './requestcart.model';\nexport * from './request-line-item.model';\nexport * from './request-eligibility-details.model';\n","export class RequestEligibilityDetailsModel {\n productId: any;\n itemCode: any;\n quantity: number;\n};\n","export class RequestLineItemModel {\n productId: any;\n itemCode: any;\n socCode: any;\n quantity: number;\n}\n"," import {RequestLineItemModel} from './index';\n export class RequestCartModel {\n lineItems: RequestLineItemModel[];\n}\n","export * from './responsecart.model';\nexport * from './responsecart-line-item.model';\nexport * from './responsecart-priceinfo.model';\nexport * from './responsecart-one-time-fee.model';\nexport * from './responsecart-monthly-recurring-fee.model';\nexport * from './responsecart-total-amount.model';\nexport * from './responsecart-cart-summary.model';\nexport * from './responsecart-total-cart-summary.model';\n","import { ResponseTotalCartAmountInfoModel } from './index';\n\nexport class ResponseCartSummaryModel {\n\n totalAmount: ResponseTotalCartAmountInfoModel;\n totalQuantity: number;\n}\n","import { ResponsePriceInfoModel } from './index';\nexport class ResponseLineItemModel {\n\n priceInfo: ResponsePriceInfoModel;\n quantity: number;\n productId: string;\n itemCode: string;\n}\n","export class ResponseCartMonthlyRecurringFeeModel {\n unitPrice: number;\n currencyCode: string;\n}\n","export class ResponseCartOneTimeFeeModel {\n oneTimeFeeName: string;\n unitPrice: number;\n currencyCode: string;\n}\n","import { ResponseCartOneTimeFeeModel, ResponseCartMonthlyRecurringFeeModel, ResponseCartTotalAmountInfoModel } from './index';\n\n export class ResponsePriceInfoModel {\n oneTimeFee: ResponseCartOneTimeFeeModel[];\n monthlyRecurringFee: ResponseCartMonthlyRecurringFeeModel;\n totalAmount: ResponseCartTotalAmountInfoModel;\n}\n","export class ResponseCartTotalAmountInfoModel {\n oneTimeFee: number;\n monthlyRecurringFee: number;\n currencyCode: string;\n}\n","export class ResponseTotalCartAmountInfoModel {\n\n totalOneTimeFee: number;\n totalMonthlyRecurringFee: number;\n totalPrice: number;\n currencyCode: string;\n}\n"," import {ResponseLineItemModel, ResponseCartSummaryModel} from './index';\n export class ResponseCartModel {\n lineItems: ResponseLineItemModel[];\n cartSummary: ResponseCartSummaryModel;\n}\n","export class CtnModel {\n ctnNumber: number;\n status: string;\n model: string;\n userName: string;\n selected?: boolean;\n}\n","export class FanModel {\n fanId: string;\n status: string;\n participationDate?: string;\n profile: string; // ProfileModel profileId\n selected?: boolean;\n}\n","export * from './ctn.model';\nexport * from './fan.model';\n","import { FetchCriteriaModel } from 'lib/ng2-sapmp/src/ui-components/custom-grid';\n\nexport class GridFetchModel {\n class: string;\n fetchCriteria: FetchCriteriaModel;\n withSubscriptions: Array;\n searchValue: string;\n serviceOfferCodes: Array;\n serviceStatus: string;\n licenseStatus: string;\n serviceClientId: string;\n}\n","export * from './cart';\nexport * from './product';\nexport * from './user-summary';\n\nexport * from './fan';\n","export class BundleSkusModel {\n dcmCode: string;\n socCode: string;\n displayName: string;\n desc: string;\n constructor() {\n this.dcmCode = undefined;\n this.socCode = undefined;\n this.displayName = undefined;\n this.desc = undefined;\n }\n};\n","export class ContractModel {\n term: number;\n termType: string;\n\n\n // Default constructor will be called by mapper\n constructor() {\n this.term = undefined;\n this.termType = undefined;\n\n }\n\n}\n","export class FeaturesModel {\n featureGroup: string;\n featureDescription: string[];\n\n // Default constructor will be called by mapper\n constructor() {\n this.featureGroup = undefined;\n this.featureDescription = undefined;\n }\n}\n","export * from './contract.model';\nexport * from './features.model';\nexport * from './media.model';\nexport * from './price.model';\nexport * from './priceInfo.model';\nexport * from './product.model';\nexport * from './provider.model';\nexport * from './skus.model';\nexport * from './template.model';\nexport * from './total-price-info.model';\nexport * from './product-configuration.model';\nexport * from './bundleSkus.model';\nexport * from './mdmdetails.model';\n","export class MDMDetails {\n productCode: string;\n ibmEmmAccountId: string;\n googleEmmAccountId: string;\n samsungEmmAccountId: string;\n appleEmmAccountId: string;\n latestAccountType: string;\n\n constructor() {\n this.productCode = undefined;\n this.ibmEmmAccountId = undefined;\n this.googleEmmAccountId = undefined;\n this.samsungEmmAccountId = undefined;\n this.appleEmmAccountId = undefined;\n this.latestAccountType = undefined;\n }\n}\n","export class MediaModel {\n auxilaryMedia: string;\n largeImageUrl: string;\n smallImageUrl: string;\n thumbnailurl: string;\n smallThumbnailUrl: string;\n benefitsImageUrl: string;\n benefitsSmallImageUrl: string;\n\n constructor() {\n this.auxilaryMedia = undefined;\n this.largeImageUrl = undefined;\n this.smallImageUrl = undefined;\n this.thumbnailurl = undefined;\n this.smallThumbnailUrl = undefined;\n this.benefitsImageUrl = undefined;\n this.benefitsSmallImageUrl = undefined;\n }\n}\n","export class PriceModel {\n amount: number;\n currencyCode: string;\n\n constructor() {\n this.amount = undefined;\n this.currencyCode = undefined;\n }\n}\n","import { PriceModel } from './price.model';\n\nexport class PriceInfoModel {\n\n monthlyRecurringFee: PriceModel;\n oneTimeFee: PriceModel;\n totalPrice: PriceModel;\n id: string;\n\n constructor() {\n this.monthlyRecurringFee = undefined;\n this.oneTimeFee = undefined;\n this.totalPrice = undefined;\n this.id = undefined;\n }\n}\n","export class ProductConfigurationModel {\n name: string;\n value: string;\n show = true;\n label: string;\n isDropDown = false;\n}\n","import { FeaturesModel, SkusModel, MediaModel, ProviderModel, TemplateModel } from './index';\n\nexport interface SEO {\n title?: string;\n description?: string;\n}\nexport class ProductModel {\n seo?: SEO;\n active: boolean;\n longDescription: string;\n tncUrl: string;\n endDate: string;\n startDate: string;\n configurations: any[];\n features: FeaturesModel[];\n plainDescription: string;\n subDescription: string;\n skus: SkusModel[];\n productContent: any;\n media: MediaModel;\n provider: ProviderModel;\n displayName: string;\n id: string;\n site: string;\n dmcCode: string;\n productInfoUrl: string;\n shortDescription: string;\n shortDescription1: string;\n shortDisplayInfo: string;\n basicPrice: string;\n template: TemplateModel[];\n quantity: number;\n learnMessage: string;\n packageLabelName: string;\n bannerName: string;\n details: Array;\n EasyDeploydetails: Array;\n firstNote: String;\n secondNote: String;\n thirdNote: String;\n moreInfoHeader: String;\n requirements: Array;\n tabsList: Array;\n authTabsList:Array;\n forMoreInformation: String;\n forMoreInformation1: String;\n forMoreInformation2: String;\n noFansMessage: String;\n noPermissionMessage: String;\n bannerButtonLabelInitial: String;\n bannerButtonAuthLabel : String;\n bannerButtonLabelEnroll: String;\n bannerButtonLabelDashboard: String;\n lightBackground: any;\n benefitsHeading: any;\n benefitsText: any;\n noCIPermissionMessage: String;\n programsHeading: string\n firstNetErrorMessagefirstPart: String;\n firstNetErrorMessageSecondPart:String;\n myAttErrorMessageFirstPart:String;\n myAttErrorMessageSecondPart:String;\n // Default constructor will be called by mapper\n constructor() {\n this.active = undefined;\n this.longDescription = undefined;\n this.tncUrl = undefined;\n this.endDate = undefined;\n this.startDate = undefined;\n this.configurations = undefined;\n this.features = undefined;\n this.skus = undefined;\n this.productContent = undefined;\n this.media = undefined;\n this.provider = undefined;\n this.displayName = undefined;\n this.id = undefined;\n this.shortDescription = undefined;\n this.shortDescription1 = undefined;\n this.shortDisplayInfo = undefined;\n this.basicPrice = undefined;\n this.template = undefined;\n this.productInfoUrl = undefined;\n this.dmcCode = undefined;\n this.plainDescription = undefined;\n this.subDescription = undefined;\n this.quantity = undefined;\n this.learnMessage = undefined;\n this.packageLabelName = undefined;\n this.lightBackground = undefined;\n this.benefitsHeading = undefined;\n this.benefitsText = undefined;\n }\n\n}\n\n","import { MediaModel } from './media.model';\n\nexport class ProviderModel {\n media: MediaModel;\n description: string;\n id: string;\n name: string;\n\n // Default constructor will be called by mapper\n constructor() {\n this.media = undefined;\n this.description = undefined;\n this.id = undefined;\n this.name = undefined;\n }\n}\n","import { ContractModel, PriceInfoModel, BundleSkusModel } from './index';\n\nexport class SkusModel {\n contract: ContractModel;\n priceInfo: PriceInfoModel;\n otherPriceInfo: PriceInfoModel;\n description: string;\n displayName: string;\n id: string;\n socCode: string;\n tncUrl: string;\n basicPrice: string;\n skuType: string;\n moduleCount: string;\n productId: string;\n quantity: number;\n selected: number;\n isSelectedProduct: boolean;\n isSingleQuantity: string;\n bundleSkus: Array;\n // Default constructor will be called by mapper\n constructor() {\n this.contract = undefined;\n this.priceInfo = undefined;\n this.description = undefined;\n this.displayName = undefined;\n this.id = undefined;\n this.socCode = undefined;\n this.tncUrl = undefined;\n this.basicPrice = undefined;\n this.skuType = undefined;\n this.moduleCount = undefined;\n this.productId = undefined;\n this.quantity = undefined;\n this.selected = undefined;\n this.isSelectedProduct = false;\n this.isSingleQuantity = undefined;\n this.bundleSkus = undefined;\n }\n}\n","export class TemplateModel {\n key: string;\n label: string;\n content: string;\n additionalContent: string;\n}\n","import { PriceModel } from './price.model';\n\nexport class TotalPriceInfoModel {\n\n monthlyRecurringFee: PriceModel;\n oneTimeFee: PriceModel;\n constructor() {\n this.monthlyRecurringFee = undefined;\n this.oneTimeFee = undefined;\n }\n}\n","export { UserSummaryModel } from './user-summary.model';\nexport { UserSummaryProductModel } from './user-summary-product.model';\nexport { UserManageModel } from './user-manage.model';\nexport { UserSummaryProdInfoModel } from './user-summary-prod-info.model';\n\n","export class UserManageModel {\n productName: string;\n}\n","import { UserSummaryProductModel } from './user-summary-product.model';\nimport { UserSummaryModel } from './user-summary.model';\n\nexport class UserSummaryProdInfoModel {\n userInfo: UserSummaryModel;\n userSummaryProductModelArr: Array;\n}\n","export class UserSummaryProductModel {\n id: number;\n billingCtn: string;\n fan: string;\n productDescription: string;\n productName: string;\n serviceOfferCode: string;\n extProperties: Array;\n licenseClientId: string;\n clientId: string;\n fanType: string;\n fanTypeFlag: boolean;\n}\n","import { UserSummaryProductModel } from './user-summary-product.model';\n\nexport class UserSummaryModel {\n firstName: string;\n lastName: string;\n email: string;\n contactNumber: string;\n id: string;\n displayName: string;\n}\n","export { AddUserComponent } from './pages/add-user/add-user.component';\nexport { ErrorPageComponent } from './pages/error-pages';\nexport { BrowseComponent } from './pages/browse';\nexport { CartComponent } from './pages/cart';\nexport { DetailsComponent } from './pages/details';\nexport { ContactComponent } from './pages/contact';\nexport { AbmFaciliateEnrollmentComponent } from './pages/abm-faciliate-enrollment';\nexport { ProductConfiguratorComponent } from './pages/product-configurator';\nexport { ChangeProductComponent } from './pages/change-product';\nexport { ManageLicensesComponent, MapToIterable, FanMapToIterable } from './pages/manage-licenses';\nexport { ManageUsersComponent } from './pages/manage-users';\nexport { BulkUsersComponent } from './pages/bulk-users';\nexport { ConfirmOrderComponent } from './pages/confirm-order';\nexport { HomeComponent } from './pages/home';\nexport { GridComponent } from './pages/grid-demo';\nexport { ManageProductComponent, ModifyLicenseComponent,\n CancelProductComponent, ReviewOrderProductComponent } from './pages/manage-product';\nexport {\n CheckoutComponent, ServiceConfigurationComponent, BillingPaymentComponent,\n ReviewOrderComponent, OrderConfirmationComponent\n} from './pages/checkout';\nexport { ActionComponent, ProductsComponent, ReviewComponent, UsersComponent } from './pages/manage-users';\nexport { BulkActionComponent, BulkUploadComponent, BulkReviewComponent, BulkConfirmComponent } from './pages/bulk-users';\nexport { UserSummaryComponent } from './pages/user-summary';\nexport { UserEditComponent } from './pages/user-edit';\nexport { LicensesBuyProductComponent } from './pages/licenses-buy-product';\nexport { AuthenticationComponent } from './pages/authentication';\nexport { AlertModalComponent } from './pages/alert-modal';\nexport { ManageDashboardComponent } from './pages/manage-dashboard';\nexport { FooterComponent } from './pages/footer';\nexport { HeaderComponent, HeaderService } from './pages/header';\n\nexport { NotificationAlertComponent } from './pages/notifications/notification.component';\nexport { AlertBannerComponent } from'./pages/alert-banner/alert-banner.component';\nexport { LearnComponent } from './pages/learn';\nexport { LearnDetailsComponent } from './pages/learn-details/learndetails.component';\nexport { WelcomeComponent } from './pages/welcome/welcome.component';\nexport { InitialSignupComponent } from './pages/initial-signup/initial-signup.component';\nexport { ProductSelectionComponent } from './pages/product-selection/product-selection.component';\nexport { SignupSetupComponent, EnrollmentSignupSetupComponent, \n ReviewSignupSetupComponent, ConfirmSignupSetupComponent } from './pages/signup-setup';\nexport { SignUpComponent, AccountsComponent, ApplicationsComponent, SettingsComponent, \n StartdateComponent, ConfirmComponent, SetupReviewComponent } from './pages/signup';\nexport { TermsConditionsComponent } from './pages/terms-conditions/terms-conditions.component';\nexport { ManageInventoryComponent, CtnInfoComponent } from './pages/manage-inventory';\nexport { DeviceSummaryComponent } from './pages/manage-inventory/device-summary/device-summary.component';\nexport { CancelParticipationComponent } from './pages/cancel-participation/cancel-participation.component';\nexport { ReviewCancelComponent } from './pages/cancel-participation/review-cancel/review-cancel.component';\nexport { SelectFanComponent } from './pages/cancel-participation/select-fan/select-fan.component';\nexport { ConfirmCancelComponent } from './pages/cancel-participation/confirm-cancel/confirm-cancel.component';\nexport { UnclaimDevicesComponent } from './pages/cancel-participation/unclaim-devices/unclaim-devices.component';\nexport { RemoveAccountComponent } from './pages/cancel-participation/remove-account/remove-account.component';\nexport { SendSMSComponent, MessageComponent, SelectAccountComponent, ReviewMessageComponent, MessageModalComponent} from './pages/sendSMS';\nexport { DeviceInventoryComponent } from './pages/manage-inventory/device-inventory/device-inventory.component';\nexport { ManageAccountsComponent } from './pages/manage-inventory/manage-accounts/manage-accounts.component';\nexport { ManagenotificationsComponent } from './pages/manage-inventory/managenotifications/managenotifications.component';\nexport { DeviceLockComponent } from './pages/manage-inventory/device-lock/device-lock.component';\nexport { DeviceWipeComponent } from './pages/manage-inventory/device-wipe/device-wipe.component';\nexport { CtnlookupModalComponent } from './pages//manage-inventory/ctnlookup-modal/ctnlookup-modal.component';\nexport { FanDeploymentProfileComponent } from './pages/fan-deployment-profile/fan-deployment-profile.component';\nexport { AppleCertificateComponent, AppleCertificateInfoComponent, AppleCertificateUploadComponent } from './pages/apple-certificate';\nexport { DMPManageDashboardComponent } from './pages/dashboard/dashboard.component';\nexport { SystemErrorComponent } from './pages/system-error/system-error.component';\nexport { SystemMaintenanceComponent } from './pages/system-maintenance/system-maintenance.component';\nexport { ReportRequestComponent, ReportSuccessComponent } from './pages/report';\nexport {\n TransactionComponent, ReportTypeComponent, DateRangeComponent,\n ConfirmationComponent, TransactionReviewComponent } from './pages/report';\n export {\n CareComponent, DashboardTitleComponent, SearchFanComponent, SelectFanTableComponent, \n whiteListsAdminComponent } from './pages/care/';\nexport {FaqComponent} from './pages/faq';\nexport { LoginModalComponent } from './pages/login-modal';\nexport {SignupFivegComponent} from './pages/signup-fiveg/signup-fiveg.component';\nexport {EnrollmentOptionsComponent} from './pages/signup-fiveg/enrollment-options/enrollment-options.component';\nexport {ReviewFivegComponent} from './pages/signup-fiveg/review/review.component';\nexport {ConfirmFivegComponent} from './pages/signup-fiveg/confirm/confirm.component';\nexport { GroupingDevicesComponent, SelectDevicesComponent, SelectGroupsComponent, ReviewGroupComponent } from './pages/grouping-devices';\nexport { ManageGroupsComponent } from './pages/manage-groups/manage-groups.component';\n\nexport {ReviewpocComponent } from './pages/signup-setup/reviewpoc/reviewpoc.component';\nexport { EnrollmentpocComponent } from './pages/signup-setup/enrollmentpoc/enrollmentpoc.component';\n\n\n\n","import { Component, OnInit } from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { UtilityService } from 'lib/ng2-sapmp/src/providers/utility.service';\nimport { BreadCrumbService } from 'lib/ng2-sapmp/src/ui-components/breadcrumb/breadcrumb.service';\nimport { ChipsService } from 'lib/ng2-sapmp/src/ui-components/chips/chips.service';\nimport { PageLoaderService } from 'lib/ng2-sapmp/src/ui-components/page-loader';\n\n@Component({\n selector: 'app-abm-faciliate-enrollment',\n templateUrl: './abm-faciliate-enrollment.component.html',\n styleUrls: ['./abm-faciliate-enrollment.component.scss']\n})\n\nexport class AbmFaciliateEnrollmentComponent implements OnInit {\n selectedbox: boolean;\n selectAccounts: any;\n userData: any;\n firstName: any;\n lastName: any;\n userEmail: any;\n faciliateData: any;\n\n\n constructor(private utilityService: UtilityService,\n private breadCrumbService: BreadCrumbService,\n private router: Router,\n private route: ActivatedRoute, \n private chips: ChipsService,\n private pageloaderService: PageLoaderService\n ) { }\n\n ngOnInit() {\n this.pageloaderService.setPageLoaderStatus(true);\n document.title = this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url];\n this.breadCrumbService.removeLastBreadCrumb();\n this.faciliateData = this.route.snapshot.data.pageData.abmfacilitatedenrollment;\n this.chips.setChips(this.faciliateData.chips);\n this.userData = JSON.parse(sessionStorage.getItem('user'));\n this.firstName = this.userData.user.firstName;\n this.lastName = this.userData.user.lastName;\n this.userEmail = this.userData.user.emailAddress;\n }\n\n checkConfirmation($event : any) {\n if ($event.target.checked) {\n this.selectedbox= true;\n }\n else {\n this.selectedbox= false;\n }\n }\n}\n","
\n
\n
\n

{{faciliateData.heading}}

\n
\n\n
\n
\n
\n
{{faciliateData.firstName}} {{firstName}}
\n
\n
\n
{{faciliateData.lastName}} {{lastName}}
\n
\n
\n
{{faciliateData.email}} {{userEmail}}
\n
\n
\n
\n\n\n
\n
\n

{{faciliateData.description1}}

\n
\n\n
\n

For more information, refer to Apple Business Manager User Guide

\n
\n\n\n
\n

{{faciliateData.ackHeading}}

\n
\n

{{faciliateData.ackDescription}}

\n\n

\n \n

\n
\n
\n
\n {{faciliateData.cancel}}\n
\n
\n\n","export * from './abm-faciliate-enrollment.component';","import { UserProfileModel } from 'lib/ng2-sapmp/src/models/userprofile/user-profile.model';\n\nimport { AddUserModel } from './add-user.model';\nimport { Component, OnInit, OnDestroy } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { Router } from '@angular/router';\nimport { AuthenticationService, ValidationService, UtilityService, AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';\nimport { AddUserService } from './add-user.service';\nimport { BreadCrumbModel, BreadCrumbService } from 'lib/ng2-sapmp/src/ui-components/breadcrumb';\nimport { BREADCRUMBS, PIVOTS } from 'config';\nimport { PageLoaderService } from 'lib/ng2-sapmp/src/ui-components/page-loader';\nimport { FormConfigurationModel, FormPropertyModel } from 'lib/ng2-sapmp/src/ui-components/form-builder';\nimport { FormBuilderService } from 'lib/ng2-sapmp/src/ui-components/form-builder/form-builder.service';\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\nimport { MobilePivotModel } from 'lib/ng2-sapmp/src/ui-components/mobile-pivot/mobile-pivot.model';\n\ndeclare var logoutCurrentUser\n@Component({\n providers: [ValidationService, AddUserService, FormBuilderService],\n templateUrl: './add-user.component.html',\n styleUrls: ['./add-user.component.scss']\n})\nexport class AddUserComponent implements OnInit {\n addUserModel: AddUserModel;\n addUser: FormGroup;\n errorMsg = '';\n breadCrumbs: BreadCrumbModel[];\n previousRoute: any;\n user: UserProfileModel;\n pivots: Array;\n csrPermissionAddUserButton: boolean;\n formErrors = {\n 'firstName': '',\n 'lastName': '',\n 'phoneNumber': '',\n 'email': ''\n };\n\n validationMessages = {\n 'firstName': {\n 'required': 'First name is required.',\n 'pattern': 'Please enter a valid first name.'\n },\n 'lastName': {\n 'required': 'Last name is required.',\n 'pattern': 'Please enter a valid last name.'\n },\n 'phoneNumber': {\n 'required': 'Contact number is required.',\n 'checkPattern': 'Please enter a valid 10 digit contact number (XXXXXXXXXX).',\n },\n 'email': {\n 'required': 'Email is required.',\n 'pattern': 'Please enter a valid email.',\n }\n };\n\n constructor(private formBuilder: FormBuilder,\n private validationService: ValidationService,\n private router: Router,\n private utilityService: UtilityService,\n private addUserService: AddUserService,\n private pageloaderService: PageLoaderService,\n private authenticationService: AuthenticationService,\n private breadCrumbService: BreadCrumbService,\n private adobeAnalyticsService: AdobeAnalyticsService) {\n\n this.csrPermissionAddUserButton = this.utilityService.checkFieldPermission('adduser.addUser',\n JSON.parse(sessionStorage.getItem('permissions')).perm);\n this.addUserModel = new AddUserModel();\n this.pivots = new Array();\n }\n\n ngOnInit() {\n document.title = this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url];\n this.authenticationService.setLoginSuccessUrl(this.router.routerState.snapshot.url);\n this.user = this.authenticationService.getUser();\n this.previousRoute = this.breadCrumbService.getLastUrlFromBreadCrumb();\n if (this.previousRoute && this.previousRoute.label !== 'Console dashboard') {\n this.pivots.push({ label: 'Single Product Page', routerLink: '/manageProduct' });\n }\n this.pivots.push({ label: 'Console dashboard', routerLink: '/dashboard' });\n if (this.breadCrumbService.getBreadCrumbs() === undefined) {\n this.breadCrumbService.setStaticBreadCrumbs(this.router.routerState.snapshot.url);\n }\n this.breadCrumbService.setCurrentBreadCrumb({ label: 'Add a user', routerLink: this.router.url });\n this.buildForm();\n this.addUserService.createPageLoadProperties(this.router.url, 'Add User page', 'BC Add User Pg');\n }\n\n buildForm(): void {\n this.addUser = this.formBuilder.group({\n 'firstName': ['', [Validators.required, Validators.pattern(/(?!^\\s+$)^.+$/)]],\n 'lastName': ['', [Validators.required, Validators.pattern(/(?!^\\s+$)^.+$/)]],\n 'phoneNumber': ['', [Validators.required, this.utilityService.validatePhoneNumber]],\n 'email': ['', [Validators.required,\n Validators.pattern('^[_A-Za-z0-9-\\\\+]+(\\\\.[_A-Za-z0-9-]+)*@[A-Za-z0-9-]+(\\\\.[A-Za-z0-9]+)*(\\\\.[A-Za-z]{2,})$')]]\n });\n this.validationService.validate(\n this.addUser,\n this.formErrors,\n this.validationMessages\n );\n }\n\n cancel() {\n // this.router.navigate([this.previousRoute.routerLink]);\n const parentUrl = this.utilityService.getParentUrl();\n this.router.navigate([parentUrl]);\n }\n\n contactChange(event) {\n event = Object(event);\n if (event) {\n if (event.keyCode === 46) {\n // not to except .\n event.preventDefault();\n }\n }\n }\n\n contactBlur(event) {\n if (event.target.value.match('^[0-9]{1,100}$')) {\n const val = this.utilityService.onBlurFormat(event.target.value, 'dot');\n this.addUser.get('phoneNumber').setValue(val);\n }\n // this.utilityService.validatePhoneNumber\n }\n\n contactFocus(event) {\n const val = this.utilityService.onFocusFormat(event.target.value, 'dot');\n this.addUser.get('phoneNumber').setValue(val);\n }\n\n submit(): void {\n this.pageloaderService.setPageLoaderStatus(false);\n this.addUserModel.firstName = this.addUser.value.firstName;\n this.addUserModel.lastName = this.addUser.value.lastName;\n this.addUserModel.email = this.addUser.value.email;\n this.addUserModel.phoneNumber = this.addUser.value.phoneNumber;\n this.addUserService.saveUserDetails(this.utilityService.getEnvConfig().addUserUrl, this.addUserModel, this.user.companyId)\n .subscribe(response => {\n const userDetail = { firstName: '', lastName: '', email: '', contactNumber: '' };\n userDetail.firstName = this.addUser.value.firstName;\n userDetail.lastName = this.addUser.value.lastName;\n userDetail.email = this.addUser.value.email;\n userDetail.contactNumber = this.addUser.value.phoneNumber;\n sessionStorage.setItem('user-manage' + response.clientId, JSON.stringify(userDetail));\n this.pageloaderService.setPageLoaderStatus(true);\n this.router.navigate(['/user/summary/' + response.clientId]);\n }, error => {\n this.pageloaderService.setPageLoaderStatus(true);\n this.handleError(error);\n });\n }\n\n handleError = (err) => {\n let isBusinessRuleError = false;\n if (err) {\n if (err.status === 500) {\n // this.errorMsg = this.addUserModel.firstName + ' ' + this.addUserModel.lastName + ' is already in the system';\n this.errorMsg = 'We couldn\\'t complete your request. Please try again later. ';\n isBusinessRuleError = true;\n } else if (err.status === 401) {\n this.errorMsg = 'Session expired, Please login again.';\n logoutCurrentUser(true);\n } else if (err.status === 400) {\n this.errorMsg = 'Email is already in the system.';\n isBusinessRuleError = true;\n } else {\n this.errorMsg = 'We couldn\\'t complete your request. Please try again later. ';\n }\n this.utilityService.loadFocusOnTop();\n }\n if (isBusinessRuleError) {\n this.adobeAnalyticsService.CreateSeriveAlertProperties(err.status, err.statusText, 'formResponse', 'Failure_BusinessRule');\n } else {\n this.adobeAnalyticsService.CreateSeriveAlertProperties(err.status, err.statusText, 'formResponse');\n }\n }\n}\n\n","
\n \n
\n
\n

Add a user

\n
0\">\n
\n \n
\n
\n

Error !

\n

{{ errorMsg }}

\n
\n
\n\n
\n
\n \n
\n \n
{{ formErrors.firstName }}
\n
\n
\n\n
\n \n
\n \n
{{ formErrors.lastName }}
\n
\n
\n\n
\n \n
\n \n
{{ formErrors.email }}
\n
\n
\n\n
\n \n
\n \n
{{ formErrors.phoneNumber }}
\n
\n
\n\n
\n
\n
\n \n Cancel\n
\n
\n
\n
\n
\n
\n
\n","\nexport class AddUserModel {\n optimistic: any = 0;\n firstName: string;\n lastName: string;\n email: string;\n phoneNumber: string;\n type = 'ENDUSER';\n class = 'API::CompanyEmployee';\n}\n\n","import { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { UtilityService, HttpClientService, AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';\nimport { throwError } from 'rxjs';\n\nimport { HttpResponse, HttpHeaders } from '@angular/common/http';\nimport { ANALYTICS_CONSTANTS } from 'config';\ndeclare var ENV_PORTAL;\n@Injectable()\nexport class AddUserService {\n\n constructor(private utilityService: UtilityService,\n private httpClientService: HttpClientService, private adobeAnalyticsService: AdobeAnalyticsService) { }\n\n\n handleError = (error) => {\n return throwError(error);\n }\n\n\n\n getCreateUserDetails() {\n return this.httpClientService.get(this.utilityService.getEnvConfig().createUserUrl).pipe(\n map((res: HttpResponse) => {\n return res.body;\n }),catchError(this.handleError));\n }\n\n\n saveUserDetails(url, userObj, companyId) {\n const headers = new HttpHeaders();\n url = this.httpClientService.replaceTextInUrl('{companyid}', companyId, url);\n return this.httpClientService.authorizedPut(url, userObj, headers).pipe(\n map((res: HttpResponse) => {\n this.httpClientService.updateAuthorizationHeaders(res);\n return res.body;\n }),catchError(this.handleError));\n }\n\n createPageLoadProperties(url: string, title: string, friendlyPageName: string) {\n const dataLayer = {};\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FRIENDLY_PAGE_NAME] = friendlyPageName;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FLOW_CODE] = ANALYTICS_CONSTANTS.FLOW_CODE_MANAGE;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_LANGUAGE] = 'EN';\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_LOGIN_SOURCE] = 'shoplogin';\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_PAGE_FUNCTION] = 'Service'; \n this.adobeAnalyticsService.tag('page', dataLayer, 'Page_Load', 'pageLoad');\n }\n}\n\n","import { Component, AfterContentChecked } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { UtilityService, HttpClientService } from './../../../lib/ng2-sapmp/src/providers';\nimport { KEY_CONFIG } from './../../../lib/ng2-sapmp/src/config/key-config';\nimport { NotificationAlertComponent } from './../notifications/notification.component';\nimport { NotificationService } from './../notifications/shared/notification.service';\n\n@Component({\n selector: 'app-alert-banner',\n templateUrl: './alert-banner.component.html',\n styleUrls: ['./alert-banner.component.scss'],\n providers: [NotificationService]\n})\nexport class AlertBannerComponent implements AfterContentChecked {\n public notification: NotificationAlertComponent;\n public newAlerts: any;\n public alerts: any;\n\n // public newAlerts: number;\n\n constructor(private util: UtilityService, private httpService: HttpClientService, private notificationService: NotificationService) { }\n\n ngAfterContentChecked() {\n if (sessionStorage.getItem('user') && !this.newAlerts &&\n !sessionStorage.getItem('once') && (JSON.parse(sessionStorage.getItem('user')).user.addpAuthority !== 'NONE')) {\n sessionStorage.setItem('once', 'true');\n this.notificationService.getAlerts().subscribe(resObj => {\n this.newAlerts = resObj.alerts.length;\n }, error => {\n this.newAlerts = 0;\n console.log('error loading alerts ' + error);\n });\n }\n }\n\n dismissInfo(event) {\n if (event.keyCode !== KEY_CONFIG.tabKey) {\n this.removeNotifications();\n }\n }\n\n showAlerts(event) {\n if (event.keyCode !== KEY_CONFIG.tabKey || !event.keyCode) {\n let custElement = document.getElementById('alert-nav');\n var evt = new CustomEvent(\"toggleAlertMenu\", custElement);\n document.dispatchEvent(evt);\n\n this.removeNotifications();\n }\n }\n\n removeNotifications() {\n this.newAlerts = 0;\n sessionStorage.removeItem('newNotifications');\n }\n}\n","
\n
\n
\n \n
\n
\n {{newAlerts + (newAlerts > 1 ? ' alerts are' : ' alert is' )}} ready for your review.\n {{newAlerts > 1 ? ' View alerts' : ' View alert'}}\n \n {{newAlerts + (newAlerts > 1 ? ' alerts are' : ' alert is' )}} ready for your review.\n
\n {{newAlerts > 1 ? ' View alerts' : ' View alert'}}\n
\n
\n
\n \n
\n
\n
\n","import {\n Component, Input, Output, EventEmitter, OnInit,\n AfterViewInit, AfterViewChecked, ElementRef\n} from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\n\nimport { KEY_CONFIG } from 'lib/ng2-sapmp/src/config/key-config';\n\n\n@Component({\n selector: 'app-alert-modal',\n templateUrl: './alert-modal.component.html',\n styleUrls: ['./alert-modal.component.scss']\n\n})\nexport class AlertModalComponent implements OnInit {\n\n @Input() showModal: boolean;\n @Input() content: string;\n @Input() triggerElement: any;\n\n @Output()\n modalOutput: EventEmitter;\n\n focusabbleElements: any;\n\n constructor( private el: ElementRef) {\n this.modalOutput = new EventEmitter();\n this.showModal = false;\n }\n\n ngOnInit() {\n document.body.classList.add('modal-open');\n }\n\n btnAction() {\n document.body.classList.remove('modal-open');\n this.focusabbleElements = undefined;\n if (this.triggerElement) {\n this.triggerElement.focus();\n }\n this.modalOutput.emit(false);\n }\n\n\n handleKeydown(event) {\n const focussedEl = event.target;\n if (event.keyCode === KEY_CONFIG.escapeKey) {\n this.btnAction();\n return;\n }\n if (event.keyCode === KEY_CONFIG.tabKey) {\n if (focussedEl === this.focusabbleElements[this.focusabbleElements.length - 1]) {\n event.preventDefault();\n this.focusabbleElements[0].focus();\n }\n }\n }\n\n loadFocustelements() {\n if (!this.focusabbleElements) {\n const focusableEls = this.el.nativeElement.\n querySelectorAll('a[href], area[href],' +\n ' input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), [tabindex=\"0\"]');\n this.focusabbleElements = Array.prototype.slice.call(focusableEls);\n this.focusabbleElements[0].focus();\n }\n }\n\n}\n","
{{loadFocustelements()}}\n
\n
\n

OOPS!!!

\n
\n \n
\n
\n\n
\n
\n
\n
\n Ok\n
\n
\n
\n
\n
\n","export { AlertModalComponent } from './alert-modal.component';\n","import { Component, OnInit } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { BreadCrumbModel, BreadCrumbService } from 'lib/ng2-sapmp/src/ui-components';\nimport { MobilePivotModel } from 'lib/ng2-sapmp/src/ui-components/mobile-pivot';\nimport { BREADCRUMBS, MOBILEPIVOTS } from 'config';\nimport { Router } from '@angular/router';\nimport { UtilityService } from 'lib/ng2-sapmp/src/providers';\n\n@Component({\n selector: 'app-apple-certificate',\n templateUrl: './apple-certificate.component.html',\n styleUrls: ['./apple-certificate.component.scss']\n})\nexport class AppleCertificateComponent implements OnInit {\n pivots: Array;\n\n constructor(private breadCrumbService: BreadCrumbService, private router: Router, private utilityService: UtilityService) { }\n\n ngOnInit() {\n this.breadCrumbService.setCurrentBreadCrumb({ label: 'Apple certificate', routerLink: '/appleCertificate' });\n this.pivots = MOBILEPIVOTS.APPLECERTIFICATE;\n }\n\n}\n","\n","export * from './apple-certificate.component';\nexport * from './info/';\nexport * from './upload/';\n","import { Component, OnInit, AfterViewChecked } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { AccordionComponent } from 'lib/ng2-sapmp/src/ui-components/accordion/accordion.component';\nimport { AppleCertificateService } from './../shared/apple-cerificate.service';\nimport { PageLoaderService } from 'lib/ng2-sapmp/src/ui-components/page-loader';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { UtilityService, UserWizardService, AuthenticationService, AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';\nimport { ConfirmModalPopupModel } from 'lib/ng2-sapmp/src/ui-components/confirm-modal';\nimport { isString } from 'util';\n\n\n@Component({\n selector: 'app-apple-certificate-info',\n templateUrl: './apple-certificate-info.component.html',\n styleUrls: ['./apple-certificate-info.component.scss'],\n providers: [AppleCertificateService, AdobeAnalyticsService]\n})\n\nexport class AppleCertificateInfoComponent implements OnInit, AfterViewChecked {\n\n accordionList: any;\n accordionTitle: any;\n pageContent: any;\n appleCertificateSummary: any;\n confirmModalPopup: ConfirmModalPopupModel;\n modalClass: string;\n initModal: boolean;\n appleId: string;\n notiContent: any;\n appleCertificateAvailable: any;\n csrAvailable = false;\n previousPage: any;\n landingPageRoute: any;\n eventEmit: any;\n user: any;\n useMock = this.utilityService.getEnvConfig().useMock;\n isDisabled: any = false;\n renewAppleCertificate = false;\n\n constructor(private router: Router,\n private pageloaderService: PageLoaderService,\n private appleCertificateService: AppleCertificateService,\n private authenticationService: AuthenticationService,\n private utilityService: UtilityService,\n private route: ActivatedRoute,\n private adobeAnalyticsService: AdobeAnalyticsService\n ) {\n this.accordionList = [];\n this.accordionTitle = 'What to expect';\n this.pageloaderService.setPageLoaderStatus(false);\n this.appleCertificateAvailable = this.appleCertificateService.getAppleInfo();\n if (this.appleCertificateAvailable) {\n this.csrAvailable = true;\n }\n this.user = authenticationService.getUser();\n }\n\n ngOnInit() {\n document.title = this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url];\n this.appleId = '';\n let scenarios;\n if (sessionStorage.getItem('AppleCertificateUploaded')) {\n this.notiContent = { type: 'success', content: 'installed' };\n scenarios = 2;\n } else {\n this.notiContent = { type: '', content: '' };\n scenarios = 1;\n }\n this.accordionList = [{ id: 1, isActive: false, category: this.accordionTitle, content: '' ,\n ariaLabel: {\n 'expand': 'Expand',\n 'collapse': 'Collapse',\n }}];\n // this.appleCertificateService.pageContent(this.utilityService.getEnvConfig().contentUrl.applecertificate.info).\n // subscribe(respobj => {\n this.pageContent = this.route.snapshot.data.pageData.appleCertificateinfo;\n // this.pageContent = respobj;\n for (const i in this.pageContent.descriptionWithModal) {\n if(i && isString(this.pageContent.descriptionWithModal[i])) {\n this.pageContent.descriptionWithModal[i] = this.pageContent.descriptionWithModal[i].split(/[[\\]]/);\n }\n }\n if(isString(this.pageContent.step1.steps))\n this.pageContent.step1.steps = this.pageContent.step1.steps.split('|');\n if(isString(this.pageContent.step2.steps))\n this.pageContent.step2.steps = this.pageContent.step2.steps.split('|');\n this.appleCertificateService.getAppleSummary(scenarios).\n subscribe(respobj2 => {\n this.appleCertificateSummary = respobj2;\n if(this.appleCertificateSummary.status === 'Nearing expiration'){\n sessionStorage.setItem(\"appleRenewal\",\"true\");\n } \n\t\t\telse{\n sessionStorage.setItem(\"appleRenewal\",\"false\");\n } \t\t\t\n this.pageloaderService.setPageLoaderStatus(true);\n }, error => this.handleError(error, 'summary'));\n // });\n this.appleCertificateService.createPageLoadProperties('INFO', 'info');\n\n }\n\n ngAfterViewChecked() {\n if (sessionStorage.getItem('AppleCertificateUploaded')) {\n sessionStorage.removeItem('AppleCertificateUploaded');\n\n if (this.useMock && document.getElementById('scenariosSelect')) {\n document.getElementById('scenariosSelect')['value'] = '2';\n }\n }\n if(this.appleCertificateSummary.status === 'Nearing expiration' && this.renewAppleCertificate){\n document.getElementById('inputAppleid')['value'] = this.appleCertificateSummary.info.appleId;\n this.resetErrorMessage(this.appleCertificateSummary.info.appleId);\n }\n }\n\n handleError(error, type) {\n this.notiContent = { type: 'error', content: type };\n this.pageloaderService.setPageLoaderStatus(true);\n }\n\n scenarioChange(scenarios) {\n this.pageloaderService.setPageLoaderStatus(false);\n this.appleCertificateService.getAppleSummary(scenarios).\n subscribe(respobj2 => {\n this.appleCertificateSummary = respobj2;\n this.pageloaderService.setPageLoaderStatus(true);\n });\n }\n\n confirmModal(content, showCancel) {\n this.confirmModalPopup = new ConfirmModalPopupModel();\n this.confirmModalPopup.modalMessage = content.message;\n this.confirmModalPopup.modalSubHeader = '';\n this.confirmModalPopup.modalHeader = content.header;\n const impersonator = JSON.parse(sessionStorage.getItem('impersonator'));\n const isDisabled = impersonator && impersonator.id ? true : false;\n if (isDisabled) {\n this.confirmModalPopup.showConfirmButton = false;\n } else {\n this.confirmModalPopup.confirmButtonMessage = showCancel ? 'Remove' : 'Close';\n this.confirmModalPopup.confirmButtonAccessibilityText = content.AccessibilityText;\n this.confirmModalPopup.showCancelButton = showCancel;\n }\n this.modalClass = 'modal-lg';\n this.eventEmit = document.activeElement;\n this.initModal = true;\n this.appleCertificateService.createPageLoadProperties('REMOVEMODAL', 'RemoveModal');\n\n }\n\n closeModal(confirm) {\n this.initModal = false;\n this.appleCertificateService.createPageLoadProperties('INFO', 'info');\n if (confirm && this.confirmModalPopup.showCancelButton) {\n this.pageloaderService.setPageLoaderStatus(false);\n if (!this.utilityService.getEnvConfig().useMock) {\n this.appleCertificateService.deleteAppleCertificate(this.appleCertificateSummary.info.appleId).\n subscribe(respobj2 => {\n this.appleCertificateService.getAppleSummary(1).\n subscribe(respobj3 => {\n this.appleCertificateSummary = respobj3;\n this.pageloaderService.setPageLoaderStatus(true);\n this.notiContent = { type: 'success', content: 'removed' };\n if (this.useMock && document.getElementById('scenariosSelect')) {\n document.getElementById('scenariosSelect')['value'] = '1';\n }\n }, error => this.handleError(error, 'summary'));\n }, error => this.handleError(error, 'delete'));\n } else {\n this.appleCertificateService.getAppleSummary(1).\n subscribe(respobj3 => {\n this.appleCertificateSummary = respobj3;\n this.pageloaderService.setPageLoaderStatus(true);\n this.notiContent = { type: 'success', content: 'removed' };\n if (this.useMock && document.getElementById('scenariosSelect')) {\n document.getElementById('scenariosSelect')['value'] = '1';\n }\n }, error => this.handleError(error, 'summary'));\n }\n }\n }\n\n resetErrorMessage(value) {\n this.appleId = value;\n this.notiContent = { type: '', content: '' };\n this.isDisabled = false;\n }\n\n generateCSR(appleid) {\n this.adobeAnalyticsService.createAdobeEventProperties('APPLECERTIFICATE', 'SUCCESS', 'formSubmit',\n 'BC_Device_Apple_Certificate_EnterID_Submit', 'success', 'Success_Admit', 'Submit', 'Body', '/businessconsole/appleCertificate/upload');\n this.pageloaderService.setPageLoaderStatus(false);\n const emailReg = /^(([^<>()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\n if (emailReg.test(appleid)) {\n this.appleId = appleid;\n const impersonator = JSON.parse(sessionStorage.getItem('impersonator'));\n const csrSecurityCheck = ( impersonator && impersonator.id ) ? true : false;\n if (!this.utilityService.getEnvConfig().useMock && !csrSecurityCheck ) {\n this.appleCertificateService.generateCSR(this.appleId,sessionStorage.getItem(\"appleRenewal\")).\n subscribe(respobj2 => {\n document.getElementById('inputAppleid')['value'] = '';\n this.appleCertificateService.setAppleInfo(this.appleId, '');\n this.router.navigate(['appleCertificate/upload']);\n // Adobe Analytics Success Type Starts appleCertificate/info\n this.adobeAnalyticsService.createAdobeEventProperties('APPLECERTIFICATE', 'SUCCESS', 'formResponse',\n 'BC_Device_Apple_Certificate_EnterID_Submit',\n 'success', 'Success_Admit', 'Submit', 'Body', '/businessconsole/appleCertificate/upload');\n // End\n }, error => {\n this.adobeAnalyticsService.createAdobeEventProperties('APPLECERTIFICATE', 'FAILURE', 'formResponse',\n 'BC_Device_Apple_Certificate_EnterID_Submit',\n 'CSR File Not Generated', 'Failure_User', 'Submit', 'Body', '/businessconsole/appleCertificate/info');\n this.notiContent = { type: 'error', content: 'apiError' };\n this.pageloaderService.setPageLoaderStatus(true);\n document.getElementsByClassName('apple-certificate-info')[0].scrollIntoView();\n });\n } else if (this.appleId.indexOf('invalid') !== -1) {\n this.notiContent = { type: 'error', content: 'apiError' };\n this.pageloaderService.setPageLoaderStatus(true);\n this.adobeAnalyticsService.createAdobeEventProperties('APPLECERTIFICATE', 'FAILURE', 'formResponse',\n 'BC_Device_Apple_Certificate_EnterID_Submit',\n 'Invalid AppleId', 'Failure_user', 'Submit', 'Body', '/businessconsole/appleCertificate/info');\n document.getElementsByClassName('apple-certificate-info')[0].scrollIntoView();\n } else {\n this.appleCertificateService.setAppleInfo(this.appleId, '');\n this.adobeAnalyticsService.createAdobeEventProperties('APPLECERTIFICATE', 'SUCCESS', 'formResponse',\n 'BC_Device_Apple_Certificate_EnterID_Submit',\n 'success', 'Success_Admit', 'Submit', 'Body', '/businessconsole/appleCertificate/upload');\n if(!csrSecurityCheck){\n this.router.navigate(['appleCertificate/upload']);\n } else {\n this.pageloaderService.setPageLoaderStatus(true);\n this.isDisabled = true;\n }\n }\n } else {\n this.appleId = '';\n this.notiContent = { type: 'error', content: 'invalidAppId' };\n this.pageloaderService.setPageLoaderStatus(true);\n }\n }\n\n navigateToStepTwo() {\n this.router.navigate(['appleCertificate/upload']);\n }\n\n onclickOfCancel() {\n this.previousPage = this.appleCertificateService.getpreviousRoute();\n if (this.previousPage === '/appleCertificate/upload') {\n this.landingPageRoute = this.appleCertificateService.getlandingPageRoute();\n this.router.navigate([this.landingPageRoute]);\n } else {\n this.router.navigate([this.previousPage]);\n }\n }\n\n renewAppleCert() {\n this.renewAppleCertificate = true;\n }\n}\n","
\n
\n

{{pageContent.heading}}

\n
\n \n \n \n \n
\n \n
\n
\n
\n \n
\n
\n

{{pageContent[notiContent.type+'Msg'][notiContent.content].header}}

\n {{pageContent[notiContent.type+'Msg'][notiContent.content].msg}}\n
\n
\n
\n
\n
\n
\n \n
\n
\n

{{pageContent.processing.header}}

\n {{pageContent.processing.msg}}\n
\n
\n
\n
\n
\n

\n Scenarios for Demo: \n

\n

\n \n \n {{pageContent.descriptionWithModal.pageDescriptionNearingExpiration[0]}}. \n {{pageContent.descriptionWithModal.pageDescriptionNearingExpiration[0]}}{{pageContent.descriptionWithModal.pageDescriptionNearingExpiration[1]}}. \n \n

\n
\n \n \n
\n \n
\n \n

\n \n {{appleCertificateSummary.status}}\n {{appleCertificateSummary.status}} Renew\n

\n

\n \n {{appleCertificateSummary.info.appleId}}\n

\n

\n \n {{appleCertificateSummary.info.serialNumber}}\n

\n

\n \n {{appleCertificateSummary.info.validFrom}}\n

\n

\n \n {{appleCertificateSummary.info.expiredOn}}\n

\n

\n \n {{appleCertificateSummary.info.installedOn}}\n

\n

\n \n {{appleCertificateSummary.info.appliesTo}}\n

\n

{{pageContent.descriptionWithModal.removeAppleCertificateExpired[0]}} {{pageContent.descriptionWithModal.removeAppleCertificateExpired[1]}}{{pageContent.descriptionWithModal.removeAppleCertificateExpired[2]}}

\n
\n

{{pageContent.descriptionWithModal.verifyAccess[0]}} {{pageContent.descriptionWithModal.verifyAccess[1]}}

\n

{{pageContent.descriptionWithModal.removeAppleCertificateNearingExpiration[0]}} {{pageContent.descriptionWithModal.removeAppleCertificateNearingExpiration[1]}}

\n
\n

{{pageContent.descriptionWithModal.removeAppleCertificate[0]}} {{pageContent.descriptionWithModal.removeAppleCertificate[1]}}{{pageContent.descriptionWithModal.removeAppleCertificate[2]}}

\n
\n \n
\n
\n

{{pageContent.installHeading}}

\n
\n \n \n \n
\n

\n {{pageContent.whatToExpectDescription}}\n

\n

{{pageContent.step1.heading}}

\n
    \n
  • {{st}}
  • \n
\n

{{pageContent.step2.heading}}

\n
    \n
  • {{st}}
  • \n
\n
\n
\n
\n
\n

{{pageContent.step1.active}}

\n

{{pageContent.descriptionWithModal.step1description[1]}} {{pageContent.descriptionWithModal.step1description[2]}}\n

\n

{{pageContent.descriptionWithModal.step1descriptionNearingExpiration[1]}} \n

\n
\n

Company Id: {{user.companyId }}

\n
\n
\n \n
\n
\n
\n \n
\n

{{pageContent.errorMsg.invalidAppId.inputErr}}

\n \n
\n
\n
\n
\n
\n
\n \n {{pageContent.buttons.cancel}} \n
\n
\n
\n
\n
\n
\n","export * from './apple-certificate-info.component';\n","import { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { DatePipe } from '@angular/common';\nimport { throwError } from 'rxjs';\nimport { HttpClient, HttpResponse, HttpHeaders } from '@angular/common/http';\nimport { HttpClientService, AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';\nimport { UtilityService } from 'lib/ng2-sapmp/src/providers';\nimport { ANALYTICS_CONSTANTS } from 'config';\ndeclare var ENV_PORTAL;\n\n@Injectable()\nexport class AppleCertificateService {\n\n constructor(private http: HttpClient,\n private httpClientService: HttpClientService,\n private datePipe: DatePipe,\n private utilityService: UtilityService,\n private adobeAnalyticsService: AdobeAnalyticsService) { }\n\n get_headers() {\n let headers = new HttpHeaders();\n headers = headers.append('Authorization', sessionStorage.getItem('sapmp_jwtToken'));\n return headers;\n }\n\n fetchJSON(dataurl) {\n return this.httpClientService.get(dataurl, this.get_headers()).pipe(\n map((res: HttpResponse) => {\n if (sessionStorage.getItem('sapmp_jwtToken') != null) {\n // refreshes token for logged in scenario upon page load\n this.httpClientService.tokenRefresh(this.utilityService.getEnvConfig().tokenRefresh);\n }\n return res.body;\n }), catchError(this.handleError));\n\n }\n\n pageContent(dataurl) {\n return this.fetchJSON(dataurl);\n }\n createPageLoadProperties(url, section2) {\n const dataLayer = {};\n if (url === 'REMOVEMODAL') {\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_LOCATION_URL] = '/virtual/appleCertificate/removemodal.html';\n }\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FRIENDLY_PAGE_NAME] = ANALYTICS_CONSTANTS['FRIENDLY_NAME_APPLECERTIFICATE_' + url];\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FLOW_CODE] = ANALYTICS_CONSTANTS.FLOW_CODE_APPLECERTIFICATE;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_REPRESENTATIVE_IPADDR] = ANALYTICS_CONSTANTS.GLOBAL_USER_REPRESENTATIVE_IPADDR;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_PAGE_FUNCTION] = 'Service';\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_SITE_SECTION] = 'Apple Certificate';\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_SITE_SECTION1] = section2;\n if (sessionStorage.getItem('sapmp_jwtToken') != null) {\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_LOGIN_SOURCE] = 'shoplogin';\n }\n this.adobeAnalyticsService.tag('page', dataLayer, 'Page_Load', 'pageLoad');\n }\n pageHtml(dataurl) {\n return this.httpClientService.get(dataurl, this.get_headers())\n .pipe(\n map((test: HttpResponse) => test)\n ,catchError( this.handleError ));\n }\n\n getAppleSummary(scenarios) {\n let appleUrl;\n appleUrl = this.utilityService.getEnvConfig().getAppleSummary + '?detail=true';\n return this.fetchJSON(appleUrl);\n }\n\n deleteAppleCertificate(appleId) {\n return this.httpClientService.authorizedDelete(this.utilityService.getEnvConfig().deleteAppleCertificate +\n '?appleId=' + appleId)\n .pipe(\n map((res: HttpResponse) => {\n if (sessionStorage.getItem('sapmp_jwtToken') != null) {\n // refreshes token for logged in scenario upon page load\n this.httpClientService.tokenRefresh(this.utilityService.getEnvConfig().tokenRefresh);\n }\n return res.body;\n })\n ,catchError( this.handleError ));\n }\n\n generateCSR(appleId,appleRenewal) {\n let url= this.utilityService.getEnvConfig().generateCSR;\n if(appleRenewal=='true'){\n url= url +'?flowType=renew';\n console.log(\"renewal\"+url);\n }\n else{\n url= url +'?flowType=new';\n console.log(\"new\"+url);\n }\n return this.fetchJSON(url + '&appleId=' + appleId);\n }\n\n downloadCSR(appleRenewal) {\n let url= this.utilityService.getEnvConfig().generateCSR;\n if(appleRenewal=='true'){\n url= url +'?flowType=renew';\n console.log(\"renewal\"+url);\n }\n else{\n url= url +'?flowType=new';\n console.log(\"new\"+url);\n }\n return this.fetchJSON(url + '&download=true');\n }\n\n makeCSRFile = function (text) {\n const data = new Blob([text], {type: 'text/plain'});\n const textFile = window.URL.createObjectURL(data);\n return textFile;\n };\n\n uploadAppleCertficate(data,appleRenewal) {\n let url= this.utilityService.getEnvConfig().uploadAppleCertificate;\n if(appleRenewal=='true'){\n url= url +'?flowType=renew';\n console.log(\"renewal\"+url);\n }\n else{\n url= url +'?flowType=new';\n console.log(\"new\"+url);\n }\n return this.httpClientService.post(url, {pem: data}, this.get_headers())\n .pipe(\n map((res: HttpResponse) => {\n if (sessionStorage.getItem('sapmp_jwtToken') != null) {\n // refreshes token for logged in scenario upon page load\n this.httpClientService.tokenRefresh(this.utilityService.getEnvConfig().tokenRefresh);\n }\n return res.body;\n })\n ,catchError( this.handleError ));\n }\n\n setAppleInfo(appleId, csr) {\n sessionStorage.setItem('AppleCertificate', JSON.stringify({\n appleId: appleId,\n csr: csr\n }));\n }\n\n getAppleInfo() {\n return sessionStorage.getItem('AppleCertificate') ? JSON.parse(sessionStorage.getItem('AppleCertificate')) : false;\n }\n\n removeAppleInfo() {\n sessionStorage.removeItem('AppleCertificate');\n }\n\n handleError = (error) => {\n return throwError(error);\n }\n getpreviousRoute() {\n return sessionStorage.getItem('previousRoute');\n }\n getlandingPageRoute() {\n return sessionStorage.getItem('landingPageRoute');\n }\n}\n","import { AuthenticationService } from './../../../../lib/ng2-sapmp/src/providers/authentication.service';\nimport { Component, OnInit } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { DomSanitizer } from '@angular/platform-browser';\nimport { AccordionComponent } from 'lib/ng2-sapmp/src/ui-components/accordion/accordion.component';\nimport { AppleCertificateService } from './../shared/apple-cerificate.service';\nimport { PageLoaderService } from 'lib/ng2-sapmp/src/ui-components/page-loader';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { UtilityService, AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';\nimport { isString } from 'util';\n\n\n@Component({\n selector: 'app-apple-certificate-upload',\n templateUrl: './apple-certificate-upload.component.html',\n styleUrls: ['./apple-certificate-upload.component.scss'],\n providers: [AppleCertificateService, AdobeAnalyticsService]\n})\nexport class AppleCertificateUploadComponent implements OnInit {\n appleRenewal: boolean = false;\n fileName: string;\n fileString: string;\n pageContent: any;\n appleInfo: any;\n inValidfiletype = false;\n notiContent: any;\n isDisabled: any = false;\n constructor(private router: Router,\n private pageloaderService: PageLoaderService,\n private appleCertificateService: AppleCertificateService,\n private utilityService: UtilityService,\n private domSanitizer: DomSanitizer,\n private route: ActivatedRoute,\n private adobeAnalyticsService: AdobeAnalyticsService,\n private authenticationService: AuthenticationService) {\n this.pageloaderService.setPageLoaderStatus(false);\n this.appleInfo = this.appleCertificateService.getAppleInfo();\n if (!this.appleInfo) {\n this.router.navigate(['appleCertificate/info']);\n }\n }\n\n ngOnInit() {\n document.title = this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url];\n this.fileName = '';\n this.fileString = '';\n this.notiContent = { type: '', content: '' };\n this.appleRenewal = JSON.parse(sessionStorage.getItem('appleRenewal'));\n // // this.appleCertificateService.pageContent(this.utilityService.getEnvConfig().contentUrl.applecertificate.upload).\n // subscribe(respobj => {\n this.pageContent = this.route.snapshot.data.pageData.appleCertificateupload;\n // this.pageContent = respobj;\n if (isString(this.pageContent.subdescription.download))\n this.pageContent.subdescription.download =\n this.pageContent.subdescription.download.replace('', this.authenticationService.getUser().emailAddress);\n for (const i in this.pageContent.subdescription) {\n if (i && isString(this.pageContent.subdescription[i])) {\n this.pageContent.subdescription[i] = this.pageContent.subdescription[i].split(/[[\\]]/);\n }\n }\n this.pageloaderService.setPageLoaderStatus(true);\n // });\n this.appleCertificateService.createPageLoadProperties('UPLOAD', 'upload');\n\n }\n\n handleFileUpload(evt) {\n const files = evt.target.files;\n const file = files[0];\n if (file.name.indexOf('.pem') === -1) {\n this.fileName = '';\n this.inValidfiletype = true;\n return;\n }\n this.inValidfiletype = false;\n this.fileName = file.name;\n const instanc = this;\n if (files && file) {\n const reader = new FileReader();\n reader.onload = () => {\n var text = reader.result;\n instanc.fileString = btoa(text.toString());\n }\n reader.readAsText(file);\n // ie browser doesn't support readAsBinaryString() alternative - readAsArrayBuffer method\n // reader.readAsArrayBuffer(file);\n }\n }\n\n downloadCSR() {\n if (!this.utilityService.getEnvConfig().useMock) {\n this.appleCertificateService.downloadCSR(sessionStorage.getItem(\"appleRenewal\")).\n subscribe(respobj2 => {\n\n // IE doesn't support download attribute used msSaveOrOpenBlob\n const newBlob = new Blob([atob(respobj2.signedcsr)], { type: 'text/plain' });\n let newVariable: any = window.navigator;\n if (newVariable.msSaveOrOpenBlob) {\n newVariable.msSaveOrOpenBlob(newBlob, 'apple.csr');\n return;\n }\n\n const link = document.createElement('a');\n link.download = 'apple.csr';\n link.href = this.appleCertificateService.makeCSRFile(atob(respobj2.signedcsr));\n document.body.appendChild(link);\n link.click();\n }, error => {\n this.notiContent = { type: 'error', content: 'downloadFailed' };\n this.pageloaderService.setPageLoaderStatus(true);\n });\n }\n }\n\n uploadAppleCertificate() {\n this.pageloaderService.setPageLoaderStatus(false);\n this.adobeAnalyticsService.createAdobeEventProperties('APPLECERTIFICATE', 'SUCCESS', 'formSubmit',\n 'BC_Device_Apple_Certificate_UploadFile_Submit', 'success', 'Success_Admit', 'Submit', 'Body',\n '/businessconsole/appleCertificate/info');\n const impersonator = JSON.parse(sessionStorage.getItem('impersonator'));\n const csrSecurityCheck = (impersonator && impersonator.id) ? true : false;\n if (this.utilityService.getEnvConfig().useMock) {\n sessionStorage.setItem('AppleCertificateUploaded', '1');\n if (!csrSecurityCheck) {\n this.router.navigate(['appleCertificate/info']);\n } else {\n this.pageloaderService.setPageLoaderStatus(true);\n this.isDisabled = true;\n }\n this.appleCertificateService.removeAppleInfo();\n this.adobeAnalyticsService.createAdobeEventProperties('APPLECERTIFICATE', 'SUCCESS', 'formResponse',\n 'BC_Device_Apple_Certificate_UploadFile_Submit', 'success', 'Success_Admit', 'Submit', 'Body',\n '/businessconsole/appleCertificate/info');\n } else if (!this.utilityService.getEnvConfig().useMock && !csrSecurityCheck) {\n this.appleCertificateService.uploadAppleCertficate(this.fileString, sessionStorage.getItem(\"appleRenewal\")).subscribe(respobj => {\n // Adobe Analytics Starts\n this.adobeAnalyticsService.createAdobeEventProperties('APPLECERTIFICATE', 'SUCCESS', 'formResponse',\n 'BC_Device_Apple_Certificate_UploadFile_Submit', 'success', 'Success_Admit',\n 'Submit', 'Body', '/businessconsole/appleCertificate/info');\n // Ends\n sessionStorage.setItem('AppleCertificateUploaded', '1');\n this.router.navigate(['appleCertificate/info']);\n this.appleCertificateService.removeAppleInfo();\n }, error => {\n // Adobe Analytics Error Type Starts\n this.adobeAnalyticsService.createAdobeEventProperties('APPLECERTIFICATE', 'FAILURE', 'formResponse',\n 'BC_Device_Apple_Certificate_UploadFile_Submit', 'Unable to upload Apple Certificate file at this time. Please try again later',\n 'Failure_User', 'Submit', 'Body', '/businessconsole/appleCertificate/upload');\n // Ends\n this.notiContent = { type: 'error', content: 'apiError' };\n this.pageloaderService.setPageLoaderStatus(true);\n });\n }\n }\n\n navigateToStepOne() {\n this.router.navigate(['appleCertificate/info']);\n }\n}\n","
\n
\n

{{pageContent.heading}}

\n
\n
\n \n
\n
\n

{{pageContent[notiContent.type+'Msg'][notiContent.content].header}}

\n {{pageContent[notiContent.type+'Msg'][notiContent.content].msg}}\n
\n
\n

{{pageContent.subdescription.renew}}

\n

{{pageContent.subdescription.download[0]}} {{pageContent.subdescription.download[1]}} {{pageContent.subdescription.download[2]}}

\n \n

{{pageContent.subdescription.linkToAppleCertificate[0]}} {{pageContent.subdescription.linkToAppleCertificate[1]}} {{pageContent.subdescription.linkToAppleCertificate[2]}}

\n

{{pageContent.subdescription.linkToAppleCertificateRenewal[0]}} {{pageContent.subdescription.linkToAppleCertificateRenewal[1]}} {{pageContent.subdescription.linkToAppleCertificateRenewal[2]}}

\n\n

\n \n
\n
\n
\n \n \n \n

{{pageContent.invalidFile}}

\n \n
\n
\n \n
\n \n

\n \n \n
\n
\n
\n \n {{pageContent.buttons.cancel}} \n
\n
\n
\n
\n","export * from './apple-certificate-upload.component';\n","import { Component, OnInit, OnDestroy } from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { AuthenticationService, UtilityService, HttpClientService } from 'lib/ng2-sapmp/src/providers';\nimport { PageLoaderService } from 'lib/ng2-sapmp/src/ui-components';\nimport { PREMIER_AUTHFAILURE_REDIRECT, PREMIER_AUTHFAILURE_LINKURL } from 'config';\nimport { BaseProfileModel } from 'lib/ng2-sapmp/src/models';\nimport { BreadCrumbService } from 'lib/ng2-sapmp/src/ui-components/breadcrumb';\nimport { ProductModel, MDMDetails } from './../../models/product';\nimport { HeaderService } from './../header/header.service';\n\nimport { ADDP_PERMISSION_MAPPING } from 'config';\ndeclare var ENV_PORTAL: any;\ndeclare var logoutCurrentUser: Function;\n@Component({\n selector: 'app-authorizing',\n template: '

',\n styleUrls: ['./authentication.component.scss'],\n providers: [AuthenticationService]\n})\n\nexport class AuthenticationComponent implements OnInit, OnDestroy {\n jwtToken: string;\n user: BaseProfileModel;\n permissions: any;\n userPermission: any;\n rkey: any;\n loginFailure: any;\n dummyPerm: any;\n clientIPAddress: any;\n adminAttId: string;\n source: string;\n optout: string;\n mdmDetails: MDMDetails;\n \n constructor(route: ActivatedRoute,\n private router: Router,\n private authenticationService: AuthenticationService,\n private util: UtilityService,\n private pageloaderService: PageLoaderService,\n private breadCrumbService: BreadCrumbService, private headerService: HeaderService) {\n\n if (history.length > 1 && this.authenticationService.checkIfAuthNeeded()) {\n history.back();\n } else {\n this.pageloaderService.setPageLoaderStatus(false);\n this.mdmDetails = new MDMDetails();\n ({ 'token': this.jwtToken } = route.snapshot.queryParams);\n ({ 'rKey': this.rkey } = route.snapshot.queryParams);\n ({ 'result': this.loginFailure } = route.snapshot.queryParams);\n ({ 'clientIPAddress': this.clientIPAddress } = route.snapshot.queryParams);\n ({ 'source': this.source } = route.snapshot.queryParams);\n ({ 'optout': this.optout } = route.snapshot.queryParams);\n ({ 'adminAttId': this.adminAttId } = route.snapshot.queryParams);\n sessionStorage.setItem('emailStatus', this.optout);\n if (this.loginFailure) {\n console.log('authentication.component:57');\n this.handleLoginError();\n } else {\n this.jwtToken ? sessionStorage.setItem('sapmp_jwtToken', this.jwtToken) : null;\n let profileMock = \"\";\n profileMock = localStorage.getItem('profileFail') ? JSON.parse(localStorage.getItem('profileFail')) : false;\n \n this.authenticationService.getProfile(this.adminAttId)\n .subscribe(respobj => {\n sessionStorage.setItem('sapmp_jwtToken', respobj.jwtToken);\n sessionStorage.setItem('impersonator', JSON.stringify(respobj.profile.impersonator));\n //mock for profileAndPermsInfo call - to redorect to login page if any field is missing in the response\n if(profileMock){\n delete respobj.permissions;\n }\n //end of mock\n this.permissions = respobj.permissions;\n const profile = respobj.profile;\n if (this.permissions) {\n\n if (!this.source) {\n this.source = 'premier';\n }\n\n if (profile && profile.user) {\n this.user = this.authenticationService.getProfileModel(profile);\n this.user.clientIPAddress = this.clientIPAddress;\n if (!sessionStorage.getItem('sessionId')) {\n sessionStorage.setItem('sessionId', profile.user.sessionId);\n }\n\n if (this.user.addpAuthority !== 'NONE') {\n this.authenticationService.getFanSignedUpStatus()\n .subscribe(resp => {\n sessionStorage.setItem('initialSignupStatus', resp.initialSignupStatus);\n sessionStorage.setItem('noOfDevice', resp.noOfDevices);\n //sessionStorage.setItem('noOfFans', resp.noOfFans);\n console.log(\"accountSummary called 1st time....\");\n if (!resp.efotaFansSummary) {\n sessionStorage.setItem('efotaEnrolledFanList', '[]');\n sessionStorage.setItem('efotaEnrollmentInfo', '[]');\n }\n else {\n let efotaFansSum = resp.efotaFansSummary;\n let efotaEnrolledFanList = [];\n for (let i = 0; i < efotaFansSum.length; i++) {\n if (efotaFansSum[i].status == \"ACTIVE\") {\n for (let j = 0; j < efotaFansSum[i].count; j++) {\n efotaEnrolledFanList.push(efotaFansSum[i].fans[j]);\n }\n }\n }\n sessionStorage.setItem('efotaEnrolledFanList', JSON.stringify(efotaEnrolledFanList));\n }\n if (!resp.efotaNotEnrolledFanList) {\n sessionStorage.setItem('efotaNotEnrolledFanList', '[]');\n }\n else {\n sessionStorage.setItem('efotaNotEnrolledFanList', JSON.stringify(resp.efotaNotEnrolledFanList));\n sessionStorage.setItem('efotaEnrollmentInfo', JSON.stringify(resp.efotaEnrollmentInfo));\n }\n\n if (resp.allFansInEligible === true) {\n this.user.fanSignedUpStatus = 'NotEligible';\n // if(resp.noOfFans == 0 && resp.noOfDevices == 0){\n // this.user.fanSignedUpStatus = 'Unknown';\n // }\n } else {\n if (resp.fansSummary.length > 0) {\n let signupFanSum = resp.fansSummary;\n let signupFanList = [];\n let inProgressFan = [];\n let processingFanList = [];\n for (let i = 0; i < signupFanSum.length; i++) {\n if (signupFanSum[i].status == \"AWAITING_SIGNUP\") {\n for (let j = 0; j < signupFanSum[i].count; j++) {\n signupFanList.push(signupFanSum[i].fans[j]);\n }\n }\n }\n sessionStorage.setItem('signupFanList', JSON.stringify(signupFanList));\n\n //set active fans list\n let signupActiveFanList = [];\n for (let i = 0; i < signupFanSum.length; i++) {\n if (signupFanSum[i].status == \"ACTIVE\") {\n for (let j = 0; j < signupFanSum[i].count; j++) {\n signupActiveFanList.push(signupFanSum[i].fans[j]);\n }\n }\n }\n sessionStorage.setItem('signupActiveFanList', JSON.stringify(signupActiveFanList));\n\n //for 'processing' fans\n for (let i = 0; i < signupFanSum.length; i++) {\n if (signupFanSum[i].status == \"PROCESSING\") {\n for (let j = 0; j < signupFanSum[i].count; j++) {\n //processingFanList.push(signupFanSum[i].fans[j]);\n inProgressFan.push(signupFanSum[i].fans[j]);\n //getting fan info of 'processing' fan to store in session storage\n for (let k = 0; k < resp.fanInfoList.length; k++) {\n if (signupFanSum[i].fans[j] === resp.fanInfoList[k].fan) {\n processingFanList.push(resp.fanInfoList[k]);\n }\n }\n }\n }\n }\n sessionStorage.setItem('processingFanList', JSON.stringify(processingFanList));\n sessionStorage.setItem('inProgressFan', JSON.stringify(inProgressFan));\n }\n if (this.user) {\n this.user.fanSignedUpStatus = this.getFanSignedUpStatus(resp.fansSummary);\n }\n if (resp.productCode !== null && resp.productCode !== undefined) {\n this.mdmDetails.productCode = resp.productCode;\n this.mdmDetails.latestAccountType = resp.recentlyEnrolledProduct;\n if (this.mdmDetails.productCode === 'ADDPMDM') {\n this.mdmDetails.ibmEmmAccountId = resp.ibmEmmAccountId;\n let productDetails = { emmProductCode: '', selectedAccID: '', signupEmmStatus: '' };\n productDetails.emmProductCode = 'ADDPMDM';\n productDetails.selectedAccID = resp.ibmEmmAccountId;\n productDetails.signupEmmStatus = 'revised';\n sessionStorage.setItem('manage-product', JSON.stringify(productDetails));\n } else {\n if (resp.googleEmmAccountId !== null && resp.googleEmmAccountId !== undefined) {\n this.mdmDetails.googleEmmAccountId = resp.googleEmmAccountId;\n }\n if (resp.samsungEmmAccountId !== null && resp.samsungEmmAccountId !== undefined) {\n this.mdmDetails.samsungEmmAccountId = resp.samsungEmmAccountId;\n }\n // if (resp.fanInfoList !== null && resp.fanInfoList !== undefined) {\n // sessionStorage.setItem('fanInfoList', JSON.stringify(resp.fanInfoList));\n // }\n }\n\n sessionStorage.setItem('mdmDetails', JSON.stringify(this.mdmDetails));\n }\n }\n if (resp.fanInfoList !== null && resp.fanInfoList !== undefined) {\n sessionStorage.setItem('fanInfoList', JSON.stringify(resp.fanInfoList));\n }\n this.authenticationService.setUser(this.user);\n sessionStorage.setItem('permissions', JSON.stringify(this.permissions));\n //Logic for Register/Enroll menu hide if users has no FANs left for enroll.\n let enrollData = {noOfFans: resp.noOfFans, fanInfoList: resp.fanInfoList};\n this.authenticationService.updateEnrollStatus(enrollData);\n this.loginSuccessRedirect();\n }, () => {\n this.user.fanSignedUpStatus = 'Error';\n this.authenticationService.setUser(this.user);\n sessionStorage.setItem('initialSignupStatus', 'unknown');\n sessionStorage.setItem('noOfDevice', 'unknown');\n sessionStorage.setItem('permissions', JSON.stringify(this.permissions));\n this.loginSuccessRedirect();\n });\n } else {\n this.authenticationService.setUser(this.user);\n sessionStorage.setItem('initialSignupStatus', 'unknown');\n sessionStorage.setItem('noOfDevice', 'unknown');\n sessionStorage.setItem('permissions', JSON.stringify(this.permissions));\n this.loginSuccessRedirect();\n }\n\n } else {\n console.log('authentication.component:169');\n this.authenticationService.handleLoginError('403');\n }\n } else {\n console.log('authentication.component:173');\n this.authenticationService.handleLoginError('403');\n }\n }, (e) => {\n console.dir(e);\n console.log('authentication.component:178');\n this.authenticationService.handleLoginError('403');\n });\n }\n }\n\n }\n\n\n ngOnInit() {\n }\n\n handleLoginError() {\n /** need to handle error scenarios */\n this.pageloaderService.setPageLoaderStatus(true);\n this.authenticationService.setDefaultUser();\n this.router.navigate(['errorPage', 'loginFailure']);\n };\n\n loginSuccessRedirect() {\n let sourceRoute = this.rkey ? this.rkey\n : this.authenticationService.getLoginSuccessUrl();\n this.authenticationService.setLoginSuccessUrl(undefined);\n\n if (sourceRoute === 'srHome' || sourceRoute.includes('login') || sourceRoute.includes('home')) {\n sourceRoute = 'home';\n }\n const [sourcePage, id] = sourceRoute.split('/').filter(v => v !== '');\n\n const hasPremission = this.util.checkPagePermission(sourcePage, this.permissions.perm);\n this.pageloaderService.setPageLoaderStatus(true);\n\n // to do addp permission check\n const roleFanStaus = this.user.addpAuthority + '_' + this.user.fanSignedUpStatus;\n const redirectInfo = ADDP_PERMISSION_MAPPING[roleFanStaus];\n if (redirectInfo) {\n this.authenticationService.setLandingPageRoute('/' + redirectInfo.logonurl);\n }\n\n if (sessionStorage.getItem('eligibilityCheck')) {\n if (redirectInfo.message !== null) {\n this.router.navigate([redirectInfo.logonurl], { queryParams: { modalRedirect: true } });\n } else {\n this.router.navigate([redirectInfo.logonurl]);\n }\n sessionStorage.removeItem('eligibilityCheck');\n } else {\n if (hasPremission) {\n /**\n * Code for to check product already purchased or not\n */\n const filterUrl = this.breadCrumbService.filterCurrentUrl('/' + sourceRoute);\n if ((sessionStorage.getItem('sapmp_jwtToken') !== null) && (filterUrl === 'productConfigurator')) {\n this.getSubscriptionData(sourceRoute);\n } else {\n //redirect from login to faq or support based on what user has selected\n let isSupportClicked = this.authenticationService.getCookie('support');\n let isFaqClicked = this.authenticationService.getCookie('faq');\n let isManageInventoryClicked = this.authenticationService.getCookie('manageInventory');\n let isProductSelectionClicked = this.authenticationService.getCookie('productselection');\n if (isSupportClicked) {\n this.deleteFaqSupportCookies('support');\n this.router.navigate(['/support']);\n } else if (isFaqClicked) {\n this.deleteFaqSupportCookies('faq');\n this.router.navigate(['/faq']);\n } else if (isManageInventoryClicked) {\n this.deleteFaqSupportCookies('manageInventory');\n this.router.navigate(['/manageInventory']);\n }else if (isProductSelectionClicked) {\n this.router.navigate(['/home']);\n } else {\n this.router.navigate([sourceRoute]);\n }\n\n }\n\n } else {\n const redirectPage = PREMIER_AUTHFAILURE_REDIRECT[sourcePage];\n if (!redirectPage) {\n this.router.navigate(['errorPage/403']);\n } else {\n const redirectRoute = redirectPage + (id ? '/' + id : '');\n const linkUrl = PREMIER_AUTHFAILURE_LINKURL[this.user.permission];\n this.router.navigate([redirectRoute], { queryParams: { modalRedirect: linkUrl } });\n }\n }\n }\n }\n\n ;\n\n private getSubscriptionData(sourceRoute) {\n this.pageloaderService.setPageLoaderStatus(false);\n const productId = this.authenticationService.getLoginSuccessUrl().split('/').find(data => (data !== 'productConfigurator'));\n let productDetail = new ProductModel();\n productDetail = JSON.parse(sessionStorage.getItem('productConfig-' + productId));\n if (productDetail) {\n const subscriptionRequestModel = { 'serviceStatus': 'ACTIVE', 'serviceOfferCodes': [] };\n const requestobj = {};\n productDetail.skus.forEach(element => {\n requestobj[element.socCode] = element.id;\n });\n subscriptionRequestModel.serviceOfferCodes.push(requestobj);\n const url = (this.util.getEnvConfig().subscriptionUrl).replace('{companyid}', this.user.companyId);\n this.authenticationService.getSubscriptionData(url, subscriptionRequestModel)\n .subscribe(subResponse => {\n let isSubscribed = false;\n productDetail.skus.forEach(element => {\n if (subResponse[element.socCode] === 'false') {\n isSubscribed = true;\n }\n });\n if (isSubscribed) {\n this.router.navigate(['browse/details/' + productId]);\n } else {\n this.router.navigate([sourceRoute]);\n }\n }, error => {\n if (error.status === 400) {\n if (JSON.stringify(error.error[0]).indexOf('COMPANY_NOT_FOUND') !== -1) {\n console.log('compnay id invalid.');\n }\n }\n this.router.navigate([sourceRoute]);\n });\n } else {\n this.router.navigate([sourceRoute]);\n }\n }\n\n ngOnDestroy() {\n this.pageloaderService.setPageLoaderStatus(true);\n // Alert initialization on login\n const event = document.createEvent('Event');\n event.initEvent('userLogged', true, true);\n document.dispatchEvent(event);\n }\n\n private getFanSignedUpStatus(fansSummary) {\n let fanSignedUpStatus = 'NONE';\n if (fansSummary) {\n const signedUpFansCount = fansSummary.\n filter((f) => { return f.status === 'ACTIVE' || f.status === 'READY_TO_SETUP'; }).length;\n const notSignedUpFansCount = fansSummary.\n filter((f) => { return f.status === 'PROCESSING' || f.status === 'AWAITING_SIGNUP'; }).length;\n if (signedUpFansCount > 0 && notSignedUpFansCount > 0) {\n fanSignedUpStatus = 'SOME';\n } else if (signedUpFansCount > 0 && notSignedUpFansCount === 0) {\n fanSignedUpStatus = 'ALL';\n } else if (signedUpFansCount === 0) {\n fanSignedUpStatus = 'NONE';\n }\n }\n return fanSignedUpStatus;\n }\n\n deleteFaqSupportCookies(cookieName) {\n let d = new Date();\n d.setTime(d.getTime());\n let expires = \"expires=\" + d.toUTCString();\n document.cookie = cookieName + \"=true; expires=\" + expires + \"; domain=.att.com; path=/\";\n }\n\n}\n\n","export const APP_PERMISSION = {\n 'buy': 'buy_only',\n 'manange': 'manage_only',\n 'buyAndManange': 'buy_and_manage',\n 'addp_fullControl': 'FULL',\n 'addp_partialControl': 'PARTIAL',\n 'addp_viewOnly': 'READ_ONLY',\n 'addp_none': 'NONE'\n};\n","export { AuthenticationComponent } from './authentication.component';\n","import { Component, OnInit, OnDestroy } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { Router } from '@angular/router';\nimport { HttpClient } from '@angular/common/http';\n\nimport { AuthenticationService, UtilityService, AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';\nimport { ProductModel } from 'app/models';\nimport { ProductCardModel, ProductCardComponent } from 'lib/ng2-sapmp/src/ui-components/product-card';\nimport { BreadCrumbModel, BreadCrumbService } from 'lib/ng2-sapmp/src/ui-components/breadcrumb';\nimport { BrowseService } from './shared';\nimport { BREADCRUMBS } from 'config';\nimport { HeaderService } from './../header/header.service';\nimport { MobilePivotModel } from 'lib/ng2-sapmp/src/ui-components/mobile-pivot/mobile-pivot.model';\n\ndeclare var ENV_PORTAL: any;\n\n@Component({\n selector: 'app-browse',\n providers: [BrowseService],\n templateUrl: './browse.component.html',\n styleUrls: ['./browse.component.scss']\n})\nexport class BrowseComponent implements OnInit, OnDestroy {\n\n productList: Array;\n columnCount: string;\n breadCrumbs: BreadCrumbModel[];\n cardDetails: ProductCardModel[];\n pivots: Array;\n isFn: boolean = (ENV_PORTAL === 'fnabc') ? true : false;\n pageTitle: string;\n errorMessage: string;\n\n constructor(private router: Router,\n private authenticationService: AuthenticationService,\n private browseService: BrowseService,\n private utilityService: UtilityService,\n private http: HttpClient, private breadCrumbService: BreadCrumbService,\n private adobeAnalyticsService: AdobeAnalyticsService, private headerService: HeaderService) {\n this.cardDetails = [];\n this.pivots = new Array();\n }\n\n ngOnInit() {\n this.headerService.setCondensedFooterStatus(false);\n this.headerService.condensedHeader('browse');\n this.breadCrumbService.setStaticBreadCrumbs(this.router.routerState.snapshot.url);\n this.pageTitle = (ENV_PORTAL === 'fnabc') ? 'FirstNet Apps & Solutions ' : 'Marketplace';\n this.pivots.push({ label: this.pageTitle, routerLink: '/browse' });\n this.pivots.push({ label: 'Home', routerLink: '/home' });\n if (ENV_PORTAL === 'fnabc') {\n this.breadCrumbService.setCurrentBreadCrumb({ label: 'FirstNet Apps & Solutions', routerLink: '/browse' });\n } else {\n this.breadCrumbService.setCurrentBreadCrumb({ label: 'Marketplace', routerLink: '/browse' });\n }\n this.authenticationService.setLoginSuccessUrl(this.router.routerState.snapshot.url);\n document.body.classList.add('browse-page');\n document.title = this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url];\n this.browseService.browseProducts(this.utilityService.getEnvConfig().catalogServiceUrl)\n .subscribe(respobj => {\n this.productList = respobj;\n this.createCardConfig(this.productList);\n }, error => {\n this.adobeAnalyticsService.CreateSeriveAlertProperties(error.status, error.statusText, 'formResponse');\n this.handleError(error);\n });\n\n this.browseService.createPageLoadProperties();\n\n // Dynamic column values settings.\n if (this.utilityService.getEnvConfig().catalogColumnCount) {\n this.columnCount = 'catalog' + this.utilityService.getEnvConfig().catalogColumnCount + 'column';\n } else {\n this.columnCount = '';\n }\n };\n\n ngOnDestroy() {\n document.body.classList.remove('browse-page');\n }\n\n handleError(error) {\n if (error) {\n this.errorMessage = 'We couldn\\'t complete your request. Please try again later.';\n this.utilityService.loadFocusOnTop();\n this.adobeAnalyticsService.CreateSeriveAlertProperties(error.status, error.statusText, 'formResponse',\n error.status === 400 ? 'Failure_BusinessRule' : undefined);\n } else {\n throw error;\n }\n }\n\n createCardConfig(products) {\n const sortedProducts: Array = products.sort((obj1, obj2) => {\n if (obj1.displayName.toLowerCase() > obj2.displayName.toLowerCase()) {\n return 1;\n }\n if (obj1.displayName.toLowerCase() < obj2.displayName.toLowerCase()) {\n return -1;\n }\n return 0;\n });\n for (const product of sortedProducts) {\n const card = new ProductCardModel();\n card.activetab = product.active;\n card.cardTitle = product.displayName;\n card.description = product.shortDisplayInfo;\n console.log(product);\n if (product.skus && product.skus && product.skus[0].basicPrice) {\n card.price = product.skus[0].basicPrice;\n } else {\n card.price = '0';\n }\n card.imageSrc = product.media.thumbnailurl;\n card.smallImageSrc = product.media.smallThumbnailUrl;\n card.link = '/browse/details/' + product.id;\n this.cardDetails.push(card);\n }\n\n }\n\n}\n\n","
\n
\n
\n
\n \n
\n
\n

Error

\n

{{errorMessage}}

\n
\n
\n

Marketplace

\n

FirstNet Apps & Solutions

\n

Discounts and credits will be applied on the Checkout page after you select a billing account.

\n
\n \n
\n \n \n \n
\n \n
\n
\n\n
","export { BrowseService } from './shared';\nexport { BrowseComponent } from './browse.component';\n","export { BrowseService } from './providers/browse.service';\n","import { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { throwError } from 'rxjs';\nimport { HttpClient, HttpResponse, HttpHeaders } from '@angular/common/http';\nimport { HttpClientService, AdobeAnalyticsService, UtilityService } from 'lib/ng2-sapmp/src/providers';\nimport { ANALYTICS_CONSTANTS } from 'config';\ndeclare var ENV_PORTAL;\n@Injectable()\nexport class BrowseService {\n\n constructor(private http: HttpClient, private httpClientService: HttpClientService,\n private utilityService: UtilityService, private adobeAnalyticsService: AdobeAnalyticsService) { }\n\n browseProducts(catalogServiceUrl) {\n let headers = new HttpHeaders();\n headers = headers.append('Site', 'AppMarketPlace');\n headers = headers.append('channel', 'premier');\n headers = headers.append('portal', 'appmarket');\n return this.httpClientService.get(catalogServiceUrl, headers)\n .pipe(\n map((res: HttpResponse) => {\n if (sessionStorage.getItem('sapmp_jwtToken') != null) {\n // refreshes token for logged in scenario upon page load\n this.httpClientService.tokenRefresh(this.utilityService.getEnvConfig().tokenRefresh);\n }\n return res.body;\n })\n ,catchError( this.handleError ));\n }\n createPageLoadProperties() {\n const dataLayer = {};\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FRIENDLY_PAGE_NAME] = ANALYTICS_CONSTANTS.FRIENDLY_NAME_BROWSE;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FLOW_CODE] = ANALYTICS_CONSTANTS.FLOW_CODE_SHOP;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_LANGUAGE] = 'EN';\n if (sessionStorage.getItem('sapmp_jwtToken') != null) {\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_LOGIN_SOURCE] = 'shoplogin'; \n }\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_PAGE_FUNCTION] = 'Sales';\n this.adobeAnalyticsService.tag('page', dataLayer, 'Page_Load', 'pageLoad');\n }\n\n handleError = (error) => {\n return throwError(error);\n }\n}\n","import { Component, OnInit } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { StepIndicatorService } from 'lib/ng2-sapmp/src/ui-components/step-indicator';\nimport { BreadCrumbService } from 'lib/ng2-sapmp/src/ui-components/breadcrumb';\nimport { AuthenticationService, UtilityService } from 'lib/ng2-sapmp/src/providers';\nimport { BulkWizardDataService } from './../bulk-wizard-data-service';\nimport { ANALYTICS_CONSTANTS } from 'config';\n\n@Component({\n selector: 'app-bulk-users-action',\n templateUrl: './bulk-action.component.html',\n styleUrls: ['./../bulk-users.component.scss'],\n providers: [BulkWizardDataService]\n})\nexport class BulkActionComponent implements OnInit {\n\n userAction: string;\n addRadio = false;\n continueFlag = true;\n reviewComponentSuccessMessage: string;\n\n constructor(private router: Router,\n private activatedRoute: ActivatedRoute,\n private authenticationService: AuthenticationService,\n private stepindicatorService: StepIndicatorService,\n private bulkWizardDataService: BulkWizardDataService,\n private utilityService: UtilityService\n ) {\n }\n\n ngOnInit() {\n if (sessionStorage.getItem('bulk-sourcePreviousRoute') === null) {\n this.router.navigate(['/home']);\n return;\n }\n this.reviewComponentSuccessMessage = undefined;\n document.title = this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url];\n this.authenticationService.setLoginSuccessUrl(this.router.routerState.snapshot.url);\n this.stepindicatorService.setCurrentStep(this.activatedRoute.snapshot.url[0].path);\n this.userAction = '';\n this.bulkWizardDataService.createPageLoadProperties(this.router.routerState.snapshot.url,\n 'Bulk User upload - Action',\n ANALYTICS_CONSTANTS.FRIENDLY_NAME_BULKUPLOAD_STEP1);\n this.reviewSuccess();\n this.bulkWizardDataService.tokenRefresh();\n }\n continueButton(selection: string) {\n this.setSuccessMessageUndefined();\n if (selection === 'add') {\n this.addRadio = true;\n } else {\n this.addRadio = false;\n }\n this.continueFlag = false;\n }\n\n cancel() {\n this.setSuccessMessageUndefined();\n // this.router.navigate([sessionStorage.getItem('bulk-sourcePreviousRoute')]);\n const parentUrl = this.utilityService.getParentUrl();\n this.router.navigate([parentUrl]);\n }\n\n continue() {\n this.setSuccessMessageUndefined();\n this.router.navigate(['/bulkUsers/bulk-upload'], { relativeTo: this.activatedRoute });\n sessionStorage.setItem('navigationUrl', '/bulkUsers/bulk-upload');\n // to check , for restrict direct url hit\n sessionStorage.setItem('bulk-previousRoute', '/bulkUsers/bulk-action');\n // ag4104 - Already we are using breadcrumb service. Do we need this ?\n }\n\n reviewSuccess() {\n if (this.utilityService.getSuccessMessage()) {\n this.reviewComponentSuccessMessage = this.utilityService.getSuccessMessage();\n this.utilityService.loadFocusOnTop();\n } else {\n this.setSuccessMessageUndefined();\n }\n }\n\n private setSuccessMessageUndefined() {\n this.reviewComponentSuccessMessage = undefined;\n this.utilityService.setSuccessMessage(undefined);\n }\n}\n","
\n
\n
0\">\n
\n
\n \n
\n
\n

Success

\n

{{reviewComponentSuccessMessage}}

\n
\n
\n
\n

Add multiple users

\n
\n
\n \n
\n
\n
\n

\n

Download a template to create a list of users to add.

\n \n \n \n \n \n \n \n \n \n \n \n
Add users (Excel template)Download
Add users (CSV template)Download
\n
\n
\n \n
\n
","export * from './bulk-action.component';\n","import { Component, OnInit } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { AuthenticationService, UtilityService } from 'lib/ng2-sapmp/src/providers';\nimport { BreadCrumbService } from 'lib/ng2-sapmp/src/ui-components/breadcrumb';\nimport { StepIndicatorService } from 'lib/ng2-sapmp/src/ui-components/step-indicator';\nimport { BreadCrumbModel } from 'lib/ng2-sapmp/src/ui-components/breadcrumb';\nimport {\n GridOptionsModel, ColumnDefinitionsModel, PaginationsModel,\n FetchCriteriaModel\n} from 'lib/ng2-sapmp/src/ui-components/custom-grid';\nimport { UserWizardModel } from 'lib/ng2-sapmp/src/models';\nimport { BulkWizardDataService } from './../bulk-wizard-data-service';\nimport { ANALYTICS_CONSTANTS } from 'config';\nimport { UserWizardService } from 'lib/ng2-sapmp/src/providers';\ndeclare var ENV_VAR: any; // global variable set in env.js file, imported in index.html\n\n@Component({\n selector: 'app-bulk-users-confirm',\n templateUrl: './bulk-confirm.component.html',\n styleUrls: ['./../bulk-users.component.scss'],\n providers: [BulkWizardDataService],\n})\n\nexport class BulkConfirmComponent implements OnInit {\n reviewData: any;\n breadCrumbs: BreadCrumbModel[];\n totalRecords: number;\n status: string;\n gridOptions: GridOptionsModel;\n\n errorColumns: Array = [\n { field: 'displayName', caption: 'User', type: 'TEXT' },\n { field: 'email', caption: 'Email', type: 'TEXT' },\n { field: 'phoneNumber', caption: 'Contact number', type: 'TEXT' },\n { field: 'errorMessage', caption: 'Message', type: 'TEXT' }\n ];\n\n paginations: PaginationsModel = {\n recordsPerPage: 20,\n currentPage: 1,\n totalRecords: 0,\n isServerSide: false\n };\n\n constructor(private stepindicatorService: StepIndicatorService,\n private breadCrumbService: BreadCrumbService,\n private activatedRoute: ActivatedRoute,\n private authenticationService: AuthenticationService,\n private router: Router, private bulkWizardDataService: BulkWizardDataService,\n private utilityService: UtilityService,\n private userWizardService: UserWizardService\n ) {\n }\n\n ngOnInit() {\n this.authenticationService.setLoginSuccessUrl(this.router.routerState.snapshot.url);\n if (sessionStorage.getItem('review-status') === null) {\n this.router.navigate(['/home']);\n } else {\n document.title = this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url];\n this.stepindicatorService.setCurrentStep(this.activatedRoute.snapshot.url[0].path);\n this.reviewData = JSON.parse(sessionStorage.getItem('review-status'));\n this.processData(this.reviewData);\n }\n this.bulkWizardDataService.createPageLoadProperties(this.router.routerState.snapshot.url,\n 'Bulk User upload - Confirm',\n ANALYTICS_CONSTANTS.FRIENDLY_NAME_BULKUPLOAD_STEP4);\n }\n processData(data) {\n\n this.status = data.status;\n if (data.status === 'completed') {\n this.totalRecords = data.processedRecords;\n } else if (data.status === 'error') {\n data.items.forEach(function (dt) { dt.displayName = dt.firstName + ' ' + dt.lastName; });\n this.totalRecords = data.processedRecords - data.totalUsers;\n this.gridOptions = new GridOptionsModel();\n this.gridOptions.columnDefinitions = this.errorColumns;\n this.gridOptions.enableFiltering = false;\n this.paginations.totalRecords = data.totalUsers;\n this.gridOptions.Paginations = this.paginations;\n this.gridOptions.enableSorting = true;\n this.gridOptions.gridData = data.items;\n this.utilityService.loadFocusOnTop();\n }\n }\n\n gotoPage(pageUrl) {\n sessionStorage.removeItem('steps-bulkUsers');\n this.router.navigate([pageUrl]);\n }\n\n assignUnassignWizard() {\n this.breadCrumbService.removeLastBreadCrumb();\n sessionStorage.removeItem('steps-bulkUsers');\n const userWizardModel = new UserWizardModel();\n userWizardModel.previousUrl = '/bulkUsers';\n this.userWizardService.addAssignOrUnassignWizard(userWizardModel);\n this.router.navigate(['/manageUsers']);\n }\n}\n","
\n
\n
\n
\n

Success

You've successfully added {{totalRecords}} users.

\n

Success

You've successfully added {{totalRecords}} users.

\n
\n
\n
\n
\n
\n \n
\n
\n

Users already exist

\n

The users you're trying to add are already in the system.

\n
\n
\n

To add new users, create a file containing new users only, and then upload that file.

\n
\n
\n

\n You successfully added {{totalRecords}} users. The users who were not added are duplicates and are already in the system.\n

\n \n
\n
\n \n
\n
","export * from './bulk-confirm.component';\n","import { AuthenticationService } from 'lib/ng2-sapmp/src/providers/authentication.service';\nimport { UserProfileModel } from 'lib/ng2-sapmp/src/models/userprofile';\nimport { Component, OnInit } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { StepIndicatorService } from 'lib/ng2-sapmp/src/ui-components/step-indicator';\nimport { BreadCrumbModel } from 'lib/ng2-sapmp/src/ui-components/breadcrumb';\nimport { BreadCrumbService } from 'lib/ng2-sapmp/src/ui-components/breadcrumb';\nimport {\n GridOptionsModel, ColumnDefinitionsModel, PaginationsModel,\n FetchCriteriaModel\n} from 'lib/ng2-sapmp/src/ui-components/custom-grid';\nimport { BulkReviewService } from './bulk-review.service';\nimport { UtilityService, AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';\nimport { BulkWizardDataService } from './../bulk-wizard-data-service';\nimport { ANALYTICS_CONSTANTS } from 'config';\nimport { PageLoaderService } from 'lib/ng2-sapmp/src/ui-components/page-loader';\ndeclare var logoutCurrentUser: any;\n\n@Component({\n selector: 'app-bulk-users-review',\n providers: [BulkReviewService, BulkWizardDataService],\n templateUrl: './bulk-review.component.html',\n styleUrls: ['./../bulk-users.component.scss']\n})\nexport class BulkReviewComponent implements OnInit {\n breadCrumbs: BreadCrumbModel[];\n gridOptions: GridOptionsModel = null;\n user: UserProfileModel;\n csrPermissionSubmitButton: boolean;\n userColumns: Array = [\n { field: 'firstName', caption: 'User', enableSorting: true, sortDirection: 'Default', type: 'TEXT', cssClass: 'username', priority: 1 },\n { field: 'email', caption: 'Email', type: 'TEXT', priority: 3 },\n { field: 'phoneNumber', caption: 'Contact number', type: 'TEXT', priority: 4 }\n ];\n\n errorColumns: Array = [\n { field: 'errorType', caption: 'Error', enableSorting: true, type: 'TEXT', priority: 1 },\n { field: 'what', caption: 'Details', type: 'TEXT', priority: 2 },\n { field: 'where', caption: 'Location', type: 'TEXT', priority: 3 }\n ];\n\n paginations: PaginationsModel = {\n recordsPerPage: 20,\n currentPage: 1,\n totalRecords: 0,\n isServerSide: false\n };\n\n isError = false;\n errorMsg = '';\n\n constructor(\n private stepindicatorService: StepIndicatorService, private authenticationService: AuthenticationService,\n private breadCrumbService: BreadCrumbService, private activatedRoute: ActivatedRoute,\n private router: Router, private reviewService: BulkReviewService, private utilityService: UtilityService\n , private bulkWizardDataService: BulkWizardDataService, private adobeAnalyticsService: AdobeAnalyticsService,\n private pageLoaderService: PageLoaderService\n ) {\n\n this.csrPermissionSubmitButton = this.utilityService.checkFieldPermission('bulk-review.submit',\n JSON.parse(sessionStorage.getItem('permissions')).perm);\n }\n\n ngOnInit() {\n this.authenticationService.setLoginSuccessUrl(this.router.routerState.snapshot.url);\n if (sessionStorage.getItem('bulk-user') === null) {\n this.router.navigate(['/home']);\n } else {\n\n document.title = this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url];\n this.stepindicatorService.setCurrentStep(this.activatedRoute.snapshot.url[0].path);\n this.user = this.authenticationService.getUser();\n const userData = JSON.parse(sessionStorage.getItem('bulk-user'));\n if (!!userData.items) {\n const data = new Array();\n userData.items.forEach(function (obj) {\n obj.employee.firstName += ' ' + obj.employee.lastName;\n data.push(obj.employee);\n });\n this.setSuccessReview(data);\n } else if (!!userData.errors) {\n this.setErrorReview(userData.errors);\n }\n }\n this.bulkWizardDataService.createPageLoadProperties(this.router.routerState.snapshot.url,\n 'Bulk User upload - Review',\n ANALYTICS_CONSTANTS.FRIENDLY_NAME_BULKUPLOAD_STEP3);\n\n }\n\n setSuccessReview(userData) {\n this.gridOptions = new GridOptionsModel();\n this.gridOptions.columnDefinitions = this.userColumns;\n this.gridOptions.enableFiltering = false;\n this.paginations.totalRecords = userData.length;\n this.gridOptions.Paginations = this.paginations;\n this.gridOptions.enableSorting = true;\n this.gridOptions.gridData = userData;\n }\n\n setErrorReview(errorData) {\n this.gridOptions = new GridOptionsModel();\n this.gridOptions.columnDefinitions = this.errorColumns;\n this.gridOptions.enableFiltering = false;\n this.paginations.totalRecords = errorData.length;\n this.gridOptions.Paginations = this.paginations;\n this.gridOptions.enableSorting = true;\n this.gridOptions.gridData = errorData;\n this.isError = true;\n }\n\n cancel() {\n this.router.navigate(['/bulkUsers/bulk-upload']);\n sessionStorage.setItem('navigationUrl', '/bulkUsers/bulk-upload'); // to check , for restrict direct url hit\n sessionStorage.removeItem('review-status');\n }\n\n submit() {\n\n const userData: any = JSON.parse(sessionStorage.getItem('bulk-user'));\n const reviewUrl: string = this.utilityService.getEnvConfig().bulkReviewUrl;\n this.pageLoaderService.setPageLoaderStatus(false);\n this.reviewService.uploadReview(reviewUrl, userData, this.user.companyId).subscribe(responseData => {\n console.log(responseData);\n this.ProcessUpload(responseData);\n this.pageLoaderService.setPageLoaderStatus(true);\n }, error => {\n this.adobeAnalyticsService.CreateSeriveAlertProperties(error.status, error.statusText, 'formResponse');\n if (error.status === 401) {\n this.errorMsg = 'Session Expired.Please login again';\n logoutCurrentUser(true);\n } else if (error.status === 400 && \n !!error.error[0].errorDescription) { // msg like \"Bulk employees limit of 25 exceeded\"\n this.errorMsg = JSON.parse(error.error[0].errorDescription).errorMessage;\n } else {\n this.errorMsg = 'We couldn\\'t complete your request. Please try again later.';\n }\n this.utilityService.loadFocusOnTop();\n this.pageLoaderService.setPageLoaderStatus(true);\n });\n }\n\n ProcessUpload(responseData) {\n\n if (!!responseData.items) {\n\n if (!!responseData.status && responseData.status === 'COMPLETED') {\n const statusResponse = {\n status: 'completed',\n processedRecords: this.paginations.totalRecords\n };\n sessionStorage.setItem('review-status', JSON.stringify(statusResponse));\n this.router.navigate(['bulkUsers/bulk-confirm']);\n } else {\n\n let status = 'error';\n if (responseData.items.length === this.paginations.totalRecords) {\n status = 'errorAll';\n }\n const statusResponse = {\n status: status,\n processedRecords: this.paginations.totalRecords\n };\n responseData = Object.assign({}, responseData, statusResponse);\n sessionStorage.setItem('review-status', JSON.stringify(responseData));\n this.router.navigate(['bulkUsers/bulk-confirm']);\n }\n }\n\n }\n}\n","
\n
\n
\n
\n \n
\n
\n

Error

\n

{{errorMsg}}

\n
\n
\n
\n

We found {{paginations.totalRecords}} records. The following users will be added

\n \n
\n

\n We found some errors in the file. Correct the errors and upload your file again\n
\n
{{paginations.totalRecords}} errors were found\n

\n \n
\n \n
\n
","import { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { UtilityService, HttpClientService } from 'lib/ng2-sapmp/src/providers';\nimport { throwError } from 'rxjs';\n\nimport { HttpResponse } from '@angular/common/http';\n\n\n@Injectable()\nexport class BulkReviewService {\n\n constructor(private utilityService: UtilityService,\n private httpClientService: HttpClientService) {\n }\n\n handleError = (error) => {\n return throwError(error);\n }\n\n uploadReview(reviewUrl, Obj, companyId) {\n reviewUrl = this.httpClientService.replaceTextInUrl('{companyId}', companyId, reviewUrl);\n return this.httpClientService.authorizedPut(reviewUrl, Obj)\n .pipe(\n map((res: HttpResponse) => {\n this.httpClientService.updateAuthorizationHeaders(res);\n return res.body;\n })\n ,catchError( this.handleError ));\n }\n}\n","export * from './bulk-review.component';\n","import { Component, OnInit, Input, ElementRef, ViewChild } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { AuthenticationService } from 'lib/ng2-sapmp/src/providers';\nimport { BREADCRUMBS } from 'config';\nimport { ANALYTICS_CONSTANTS } from 'config';\nimport { StepIndicatorService } from 'lib/ng2-sapmp/src/ui-components/step-indicator';\nimport { BreadCrumbService } from 'lib/ng2-sapmp/src/ui-components/breadcrumb';\nimport { DropdownModel } from 'lib/ng2-sapmp/src/ui-components/dropdown';\nimport { BulkUploadService } from './bulk-upload.service';\nimport { PageLoaderService } from 'lib/ng2-sapmp/src/ui-components/page-loader';\nimport { AdobeAnalyticsService, UtilityService } from 'lib/ng2-sapmp/src/providers';\nimport { BulkWizardDataService } from './../bulk-wizard-data-service';\ndeclare var logoutCurrentUser: any;\n\n@Component({\n selector: 'app-bulk-user-upload',\n providers: [BulkUploadService, BulkWizardDataService],\n templateUrl: './bulk-upload.component.html',\n styleUrls: ['./../bulk-users.component.scss']\n})\nexport class BulkUploadComponent implements OnInit {\n\n @ViewChild('fileInput') inputEl: ElementRef;\n uploadErrorMessage: string;\n uploadFileName: string;\n uploadStatus: boolean;\n bulkUploadError = '';\n bulkUploadFlag: boolean;\n\n constructor(\n private stepindicatorService: StepIndicatorService,\n private breadCrumbService: BreadCrumbService,\n private activatedRoute: ActivatedRoute,\n private bulkUploadService: BulkUploadService,\n private router: Router,\n private pageloaderService: PageLoaderService,\n private authenticationService: AuthenticationService,\n private bulkWizardDataService: BulkWizardDataService,\n private adobeAnalyticsService: AdobeAnalyticsService,\n private utilityService: UtilityService\n ) {\n }\n\n ngOnInit() {\n this.authenticationService.setLoginSuccessUrl(this.router.routerState.snapshot.url);\n if (sessionStorage.getItem('navigationUrl') !== '/bulkUsers/bulk-upload') {\n this.router.navigate(['/home']);\n }else {\n document.title = this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url];\n this.stepindicatorService.setCurrentStep(this.activatedRoute.snapshot.url[0].path);\n this.uploadStatus = false;\n this.bulkUploadFlag = true;\n }\n this.bulkWizardDataService.createPageLoadProperties(this.router.routerState.snapshot.url,\n 'Bulk User upload - Upload',\n ANALYTICS_CONSTANTS.FRIENDLY_NAME_BULKUPLOAD_STEP2);\n }\n\n upload() {\n const inputEl: HTMLInputElement = this.inputEl.nativeElement;\n const fileCount: number = inputEl.files.length;\n const formData = new FormData();\n if (fileCount > 0) { // a file was selected\n for (let i = 0; i < fileCount; i++) {\n formData.append('file', inputEl.files.item(i), inputEl.files.item(i).name);\n }\n }\n const fileExt = inputEl.files.item(0).name.split('.').pop();\n this.uploadFileName = inputEl.files.item(0).name;\n formData.append('file', fileExt);\n if (fileExt !== 'csv' && fileExt !== 'xlsx') {\n this.bulkUploadError = \"We can't process this type of file. Please check the file type and upload your file again.\";\n this.utilityService.loadFocusOnTop();\n this.bulkUploadFlag = true;\n this.uploadStatus = false;\n // window.scrollTo(0, 0);\n } else {\n this.pageloaderService.setPageLoaderStatus(false);\n this.bulkUploadService.uploadFileService(formData).subscribe(orderResponse => {\n sessionStorage.setItem('bulk-user', JSON.stringify(orderResponse));\n this.uploadStatus = true;\n this.bulkUploadFlag = false;\n this.bulkUploadError = '';\n this.pageloaderService.setPageLoaderStatus(true);\n this.utilityService.loadFocusOnTop();\n }, error => {\n this.bulkUploadFlag = true;\n this.uploadStatus = false;\n this.handleError(error);\n this.pageloaderService.setPageLoaderStatus(true);\n // window.scrollTo(0, 0);\n });\n }\n }\n\n handleError = (error) => { // Arrow function is necessary as the context should be Parent class\n if (error) {\n let isFailureUser = false;\n if (error.status === 401) {\n this.bulkUploadError = 'Session Expired.Please login again';\n logoutCurrentUser(true);\n } else if (error.status === 404 && !!error.error[0].errorDescription) {\n this.bulkUploadError = error.error[0].errorDescription;\n isFailureUser = true;\n } else {\n this.bulkUploadError = 'We couldn\\'t complete your request. Please try again later. ';\n }\n if (isFailureUser) {\n this.adobeAnalyticsService.CreateSeriveAlertProperties(error.status, error.statusText, 'formResponse', 'Failure_User');\n } else {\n this.adobeAnalyticsService.CreateSeriveAlertProperties(error.status, error.statusText, 'formResponse');\n }\n this.utilityService.loadFocusOnTop();\n } else {\n throw error;\n }\n }\n\n cancel() {\n this.router.navigate(['bulkUsers/bulk-action']);\n sessionStorage.removeItem('navigationUrl');\n }\n\n gotoReview() {\n sessionStorage.removeItem('navigationUrl');\n sessionStorage.setItem('bulk-previousRoute', '/bulkUsers/bulk-upload'); // ag4104 - can we use breadcrumbservice ?\n this.router.navigate(['bulkUsers/bulk-review']);\n }\n}\n","
\n
\n

Upload list of users

\n
\n
\n
\n \n
\n
\n

Error

\n

{{bulkUploadError}}

\n
\n
\n
\n

\n
\n
\n
\n \n \n \n \n
\n
\n {{uploadFileName}}\n
\n \n
\n
\n
\n

Success

Your file has been uploaded.

\n

Success

Your file has been uploaded.

\n
\n
\n

Filename: {{uploadFileName}}

\n \n \n Replace uploaded file\n
\n
\n \n
\n
","import { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { UtilityService, HttpClientService } from 'lib/ng2-sapmp/src/providers';\nimport { throwError } from 'rxjs';\n\nimport { HttpResponse } from '@angular/common/http';\n\n@Injectable()\nexport class BulkUploadService {\n\n constructor(private utilityService: UtilityService,\n private httpClientService: HttpClientService) { }\n\n handleError = (error) => {\n return throwError(error);\n }\n\n uploadFileService(uploadFileData) {\n return this.httpClientService.authorizedMultipartPost(this.utilityService.getEnvConfig().bulkUploadServiceUrl, uploadFileData)\n .pipe(\n map((res: HttpResponse) => {\n this.httpClientService.updateAuthorizationHeaders(res);\n return res.body;\n }\n )\n ,catchError( this.handleError ));\n }\n}\n","export * from './bulk-upload.component';\n","import { ActivatedRoute, Router } from '@angular/router';\nimport { Component, OnInit } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { BREADCRUMBS } from 'config';\nimport { BreadCrumbModel, BreadCrumbService } from 'lib/ng2-sapmp/src/ui-components/breadcrumb';\nimport { StepIndicatorModel, StepIndicatorService } from 'lib/ng2-sapmp/src/ui-components/step-indicator';\nimport { STEPINDICATORS } from 'config';\nimport { MobilePivotModel} from 'lib/ng2-sapmp/src/ui-components/mobile-pivot/mobile-pivot.model';\n\n@Component({\n selector: 'app-bulk-users',\n providers: [StepIndicatorService],\n templateUrl: './bulk-users.component.html',\n styleUrls: ['./bulk-users.component.scss']\n})\nexport class BulkUsersComponent implements OnInit {\n\n breadCrumbs: BreadCrumbModel[];\n steps: StepIndicatorModel[];\n stepSessionName: string;\n singleBreadCrumb: BreadCrumbModel;\n pivots: Array;\n\n\n constructor(private router: Router,\n private activatedRoute: ActivatedRoute, private stepIndicatorService: StepIndicatorService,\n private breadCrumbService: BreadCrumbService) {\n this.singleBreadCrumb = new BreadCrumbModel();\n this.stepSessionName = 'bulkUsers';\n this.pivots = new Array();\n }\n\n ngOnInit() {\n this.breadCrumbService.setCurrentBreadCrumb({ label: 'Add multiple users', routerLink: '/bulkUsers/bulk-action' });\n this.pivots.push({ label: 'Console dashboard', routerLink: '/dashboard' });\n document.title = 'AT&T Business Console - Add multiple users';\n this.steps = STEPINDICATORS.bulkUsers.slice();\n\n if (this.stepIndicatorService.getSteps(this.stepSessionName) === null) {\n this.stepIndicatorService.setSteps(this.steps, this.stepSessionName);\n }\n this.steps = this.stepIndicatorService.getSteps(this.stepSessionName);\n\n }\n}\n","
\n \n

Add multiple users

\n \n \n
\n\n","import { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { UtilityService, HttpClientService, AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';\nimport { ANALYTICS_CONSTANTS } from 'config';\ndeclare var ENV_PORTAL;\n@Injectable()\nexport class BulkWizardDataService {\n\n constructor(private utilityService: UtilityService,\n private httpClientService: HttpClientService, private adobeAnalyticsService: AdobeAnalyticsService) {\n }\n\n // Page Load\n createPageLoadProperties(url: string, title: string, pageName: string) {\n const dataLayer = {};\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FRIENDLY_PAGE_NAME] = pageName;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FLOW_CODE] = ANALYTICS_CONSTANTS.FLOW_CODE_MANAGE;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_LANGUAGE] = 'EN';\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_LOGIN_SOURCE] = 'shoplogin';\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_PAGE_FUNCTION] = 'Service';\n this.adobeAnalyticsService.tag('page', dataLayer, 'Page_Load', 'pageLoad');\n }\n\n tokenRefresh() {\n this.httpClientService.tokenRefresh(this.utilityService.getEnvConfig().tokenRefresh);\n }\n}\n","export * from './bulk-action';\nexport * from './bulk-confirm';\nexport * from './bulk-review';\nexport * from './bulk-upload';\nexport * from './bulk-users.component';\n","import { Component, OnChanges, OnInit, AfterViewInit, AfterViewChecked, ElementRef } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { BreadCrumbService } from 'lib/ng2-sapmp/src/ui-components/breadcrumb/breadcrumb.service';\nimport { UtilityService } from 'lib/ng2-sapmp/src/providers';\nimport { GridOptionsModel, ColumnDefinitionsModel, PaginationsModel } from 'lib/ng2-sapmp/src/ui-components/custom-grid';\nimport { CancelParticipationService } from './shared/providers/cancel-participation.service';\nimport { Router } from '@angular/router';\nimport { MobilePivotModel } from 'lib/ng2-sapmp/src/ui-components/mobile-pivot';\nimport { BREADCRUMBS, MOBILEPIVOTS } from 'config';\n\n@Component({\n selector: 'app-cancel-participation',\n templateUrl: './cancel-participation.component.html',\n styleUrls: ['./cancel-participation.component.scss'],\n providers: [CancelParticipationService]\n})\n\nexport class CancelParticipationComponent implements OnInit {\n sessionName: string;\n pivots: Array;\n constructor(\n private cancelParticipationService: CancelParticipationService,\n private breadCrumbService: BreadCrumbService) {\n }\n\n ngOnInit() {\n this.breadCrumbService.setCurrentBreadCrumb({ label: 'Remove accounts', routerLink: '/cancelParticipation' });\n this.sessionName = 'Remove Accounts';\n this.pivots = MOBILEPIVOTS.CANCELPARTICIPATION;\n }\n}\n","\n","import { Component, OnChanges, OnInit, ElementRef, ViewEncapsulation } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { UtilityService } from 'lib/ng2-sapmp/src/providers';\nimport { GridOptionsModel, ColumnDefinitionsModel, PaginationsModel, FilterService } from 'lib/ng2-sapmp/src/ui-components/custom-grid';\nimport { CancelParticipationService } from './../shared/providers/cancel-participation.service';\nimport { FanModel } from './../shared/models/cancel-participation.model';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { PageLoaderService } from './../../../../lib/ng2-sapmp/src/ui-components/page-loader/page-loader.service';\nimport { CANCELFANDATA } from 'config';\nimport { BreadCrumbModel, BreadCrumbService } from 'lib/ng2-sapmp/src/ui-components/breadcrumb';\n@Component({\n selector: 'app-confirm-cancel',\n templateUrl: './confirm-cancel.component.html',\n styleUrls: ['./confirm-cancel.component.scss'],\n providers: [FilterService, CancelParticipationService],\n encapsulation: ViewEncapsulation.None\n})\nexport class ConfirmCancelComponent implements OnInit {\n\n formName: string;\n FANList: Array;\n UnclaimFANList: Array;\n gridOptions: GridOptionsModel;\n columnSelection: string;\n accordionList: any;\n accordionTitle: any;\n enableRouterLink: boolean;\n callingBackUrl: string;\n companyId: number;\n pageContent: any;\n unclaim: boolean;\n ibmflag: boolean;\n\n constructor(private cancelParticipationService: CancelParticipationService, private router: Router,\n private breadCrumbService: BreadCrumbService, private pageLoaderService: PageLoaderService, \n private utilityService: UtilityService, private route: ActivatedRoute) {\n this.FANList = [];\n this.enableRouterLink = false;\n this.companyId = 2;\n this.pageLoaderService.setPageLoaderStatus(false);\n }\n\n ngOnInit() {\n document.title = this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url];\n this.pageLoaderService.setPageLoaderStatus(false);\n this.formName = 'Cancel Participation - Confirm';\n this.unclaim = sessionStorage.getItem('unclaimFlag') ? JSON.parse(sessionStorage.getItem('unclaimFlag')) : false;\n this.ibmflag = sessionStorage.getItem('ibmflag') ? JSON.parse(sessionStorage.getItem('ibmflag')) : false;\n this.getFanData();\n this.isAllFansCancelled();\n this.cancelParticipationService.createPageLoadProperties('CONFIRM', 'confirm');\n if(this.ibmflag) {\n //this.callingBackUrl = sessionStorage.getItem('cancelCallingBackUrl');\n // (JSON.parse(sessionStorage.getItem('cancelCallingBackUrl')).callingPageUrl === 'manageInventory/deviceInventory' ?\n // \"/dashboard\" : JSON.parse(sessionStorage.getItem('cancelCallingBackUrl')).callingPageUrl) : '/home';\n // if (this.callingBackUrl === 'manageInventory/deviceInventory') {\n // this.callingBackUrl = '/dashboard';\n // } else {\n // this.callingBackUrl = '/home';\n // }\n // sessionStorage.setItem('cancelCallingBackUrl', this.callingBackUrl);\n // Page Rendering\n this.cancelParticipationService.pageContent(this.utilityService.getEnvConfig().contentUrl.cancelParticipation.confirm).\n subscribe(respobj => {\n this.pageContent = respobj;\n });\n } else {\n this.pageContent = this.route.snapshot.data.pageData.cancelParticipationconfirm;\n }\n this.pageLoaderService.setPageLoaderStatus(true);\n //sessionStorage.setItem('cancelCallingBackUrl', '/cancelParticipation/confirm');\n \n }\n\n isAllFansCancelled() {\n const enrolledFan = this.cancelParticipationService.getReviewedFanData();\n const totalFan = this.cancelParticipationService.getCancelledFanData();\n const processingFanLength = totalFan.allFanList.filter(item => item.accountStatus !== 'PROCESSING').length;\n }\n\n getFanData() {\n const FanData = this.cancelParticipationService.getReviewedFanData();\n this.FANList = FanData.reviewedData;\n this.columnSelection = 'singlecol';\n this.initGrid();\n }\n\n \n backToFirstPage() {\n sessionStorage.removeItem('CancelParticipationData');\n sessionStorage.removeItem('UnclaimDevicesData');\n sessionStorage.removeItem('ReviewedData');\n sessionStorage.removeItem('RemovedData');\n sessionStorage.removeItem('unclaimFlag');\n this.router.navigate(['/dashboard']); \n }\n\n backToCallingPage() {\n sessionStorage.removeItem('CancelParticipationData');\n sessionStorage.removeItem('ReviewedData');\n sessionStorage.removeItem('RemovedData');\n //this.router.navigate([this.callingBackUrl]);\n const previousUrl = sessionStorage.getItem('cancelCallingBackUrl');\n this.router.navigate([previousUrl]);\n }\n\n navToLearnPage() {\n sessionStorage.removeItem('CancelParticipationData');\n sessionStorage.removeItem('ReviewedData');\n sessionStorage.removeItem('RemovedData');\n sessionStorage.removeItem('unclaimFlag');\n this.router.navigate(['/learn']);\n }\n\n navToHomePage() {\n sessionStorage.removeItem('CancelParticipationData');\n sessionStorage.removeItem('ReviewedData');\n sessionStorage.removeItem('RemovedData');\n sessionStorage.removeItem('unclaimFlag');\n this.router.navigate(['/home']);\n }\n\n initGrid() {\n const options = new GridOptionsModel();\n options.enableFiltering = false;\n options.enableSorting = false;\n options.multiSelect = false;\n const pagination = {\n recordsPerPage: 20,\n currentPage: 1,\n isServerSide: false,\n totalRecords: this.FANList.length\n };\n options.Paginations = pagination;\n options.gridData = this.FANList;\n options.columnDefinitions = CANCELFANDATA.fanList[this.columnSelection].columnDefinitions;\n this.gridOptions = options;\n }\n}\n","
\n\t
\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t
\n\t\t
\n\t\t\t

{{pageContent.heading}}

\n\t\t\t

1||FANList.length==0\"> You removed {{FANList.length}} accounts from the device\n\t\t\t\tmanagement program

\n\t\t\t

You removed {{FANList.length}} account from the device management program

\n\t\t\t

\n\t\t
\n\n\t\t\n\t\t\n\t\t
\n\t\t\t\n\t\t
\n\t
\n\t
\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t
\n\t\t

{{pageContent.heading}}

\n\t\t

{{pageContent.subhead}}

\n\t\t

{{FANList.length}} foundation account removed.

\n\t\t

1||FANList.length==0\"> {{FANList.length}} foundation accounts removed.

\n\t\t\n\t\t\n\t\t
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t

{{pageContent.somefans.content_head}}

\n\t\t\t\t\t

1||FANList.length==0\"> You removed {{FANList.length}} accounts from the\n\t\t\t\t\t\tdevice management program

\n\t\t\t\t\t

You removed {{FANList.length}} account from the device management\n\t\t\t\t\t\tprogram

\n\t\t\t\t\t

\n\t\t\t\t
\n\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t

{{pageContent.allfans.content_head}}

\n\t\t\t\t\t\t

{{pageContent.allfans.content_link}}

\n\t\t\t\t\t
\n\t\t\t\t\t

\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{pageContent.links.learn.label}} |\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{pageContent.links.home.label}} \n\t\t\t\t\t

\n\t\t\t\t
\n\t\t\t
\n\t\t
\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t
\n\t\t
\n\t
\n
","import { Component, OnInit, ElementRef, HostListener, ViewEncapsulation } from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { AuthenticationService, ValidationService, UtilityService, AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';\nimport { BreadCrumbService } from 'lib/ng2-sapmp/src/ui-components/breadcrumb';\n//import { EnrollmentToolModal, MdmDetails } from '../../enrollment-tool/enrollment-tool.modal';\nimport { InitialService } from '../../initial-signup/initial-signup.service';\nimport { CancelParticipationService } from './../shared/providers/cancel-participation.service';\nimport { MdmDetails } from '../shared/models/cancel-participation.model';\nimport { UserProfileModel } from 'lib/ng2-sapmp/src/models';\nimport { PageLoaderService } from 'lib/ng2-sapmp/src/ui-components/page-loader';\nimport { FormBuilderService } from 'lib/ng2-sapmp/src/ui-components/form-builder/form-builder.service';\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\nimport { MobilePivotModel } from 'lib/ng2-sapmp/src/ui-components/mobile-pivot/mobile-pivot.model';\nimport { DonutChartModel } from 'lib/ng2-sapmp/src/ui-components/charts/donut-chart';\nimport { CHART_CONFIG, ERRCODES } from 'config';\nimport { map } from 'rxjs/operators';\nimport { Observable } from 'rxjs';\n\ndeclare var logoutCurrentUser: any;\n\n@Component({\n selector: 'app-remove-account',\n templateUrl: './remove-account.component.html',\n styleUrls: ['./remove-account.component.scss'],\n providers: [ValidationService, CancelParticipationService, FormBuilderService, InitialService],\n encapsulation: ViewEncapsulation.None\n})\n\nexport class RemoveAccountComponent implements OnInit {\n removeModel: any;\n appleModel: any;\n toolSelection: string;\n totalNoFans: any;\n selectionTool: FormGroup;\n userDetail: any;\n selectedDetails: any;\n otherProductsSelection: any;\n childemmAccountId: any;\n parentemmAccountId: any;\n selectedDetailsKme: any;\n selectedDetailsAbm: any;\n signupEmmStatus: any;\n selectedValuesSession: any;\n selectedAccID: any;\n enrollemntType: any;\n enableSetupType = false;\n sessionData: any;\n chartLabel: string;\n donutChartData: Array;\n chartRadius = 90;\n strokeWidth = 20;\n startIndex = 0;\n errorMessage: any;\n pageError: boolean;\n showError: boolean;\n chartError: boolean;\n pivots: Array;\n totalFansNum: any;\n\n setupError = false;\n selected = true;\n googleValue: any;\n samsungValue: any;\n isSamsungDisable = false;\n isGoogleDisable = false;\n showGoogleCreationError = false;\n mdmDetails: MdmDetails;\n selectedMdmDetails: any;\n selectMdm: FormGroup;\n preSelectedMdmDetail: any;\n tcUrl: any;\n manageProduct: any;\n preSelectedEmm: any;\n preSelectedMdmselect: any;\n fanProductData: any;\n productSelectionStatus: any;\n productSignupStatus: any;\n callSamsung: boolean = true;\n private fanList: any;\n private readyToSetupFansCount;\n awaitingSignupFansCount: any;\n private activeFansCount;\n private processingFansCount;\n private activeFans: any;\n private processingFans: any;\n ineligibleFansCount: any = 0;\n pageLoadChangesDone: boolean = false;\n samsungFanCount: number = 0;\n googleFanCount: number = 0;\n initialized: boolean = false;\n unclaim: boolean = false;\n kmelistcount: number = 0;\n ztplistcount: number = 0;\n abmlistcount: number = 0;\n optselected: boolean = false;\n public showView = false;\n private activeDeployedFans: any;\n private totalFans: any;\n oemStatus = false;\n accountDetails: any;\n userModel: UserProfileModel;\n private totalRecords = 0;\n private paginationArray: Array;\n selectedProgram:any;\n flag = false;\n\n \n formErrors = {\n 'googleIdName': '',\n 'samsungIdName': '',\n 'appleIdName': ''\n };\n\n validationMessages = {\n 'googleIdName': {\n 'required': 'Google ID is required.',\n 'pattern': 'Enter a valid email address. This should be the email you use to log in to Google®.'\n },\n 'samsungIdName': {\n 'required': 'Samsung ID is required.',\n 'pattern': 'Please enter a valid Samsung ID.'\n },\n 'appleIdName': {\n 'required': 'Apple ID is required.',\n 'pattern': 'Please enter a valid Apple ID.'\n }\n };\n\n\n constructor(private utilityService: UtilityService, private router: Router,\n private CancelParticipationService: CancelParticipationService, private breadCrumbService: BreadCrumbService, private el: ElementRef,\n private formBuilder: FormBuilder, private validationService: ValidationService, private authenticationService: AuthenticationService,\n private pageloaderService: PageLoaderService, private adobeAnalyticsService: AdobeAnalyticsService,\n private route: ActivatedRoute, private InitialService: InitialService) {\n this.mdmDetails = new MdmDetails();\n this.userModel = new UserProfileModel();\n this.childemmAccountId = [];\n }\n\n\n\n ngOnInit() {\n sessionStorage.removeItem('CancelParticipationData');\n sessionStorage.removeItem('UnclaimDevicesData');\n sessionStorage.removeItem('ReviewedData');\n sessionStorage.removeItem('selectedFanList');\n this.selectedProgram = sessionStorage.getItem(\"emmProductCode\");\n let removeManage = sessionStorage.getItem(\"removeManage\");\n if( removeManage === 'true' ){\n // this.toolSelection = this.selectedProgram; \n // this.optselected = true;\n } else if( this.selectedProgram){\n this.flag =true;\n this.toolSelection = this.selectedProgram; \n this.optselected = true;\n if(this.selectedProgram == \"DMPAABM\"){\n this.CancelParticipationService.setProdCode('ABM');\n }else if(this.selectedProgram == \"DMPSKME\"){\n this.CancelParticipationService.setProdCode('KME');\n }else{\n this.CancelParticipationService.setProdCode('ZTP');\n }\n \n }\n\n document.title = this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url];\n this.breadCrumbService.setStaticBreadCrumbs(this.router.routerState.snapshot.url);\n //this.breadCrumbService.setCurrentBreadCrumb({ label: 'Remove Account', routerLink: '/cancelParticipation/removeaccount' });\n this.removeModel = this.route.snapshot.data.pageData.cancelParticipationremoveaccount;\n sessionStorage.setItem('unclaimFlag', 'true');\n this.donutChartData = [];\n this.initChart();\n this.buildForm();\n this.toolSelectionDetails();\n }\n\n initChart() { \n this.pageloaderService.setPageLoaderStatus(false);\n this.CancelParticipationService.getFANList1()\n .subscribe((resp) => {\n this.pageloaderService.setPageLoaderStatus(true);\n this.fanList = resp;\n this.chartError = false;\n this.plotFanStatusChart(this.fanList);\n //this.toolSelectionDetails();\n }, (err) => {\n this.handleError('FETCH_FANSUMMARY');\n this.chartError = true;\n this.buildErrorChartData();\n //this.toolSelectionDetails();\n });\n \n }\n\n buildForm(): void {\n this.selectionTool = this.formBuilder.group({\n 'googleIdName': ['', [Validators.required,\n Validators.pattern('^[_A-Za-z0-9-\\\\+]+(\\\\.[_A-Za-z0-9-]+)*@[A-Za-z0-9-]+(\\\\.[A-Za-z0-9]+)*(\\\\.[A-Za-z]{2,})$')]],\n 'samsungIdName': ['', [Validators.required, Validators.pattern(/(^[0-9]{1,100}$)+$/)]],\n 'appleIdName':['', [Validators.required, Validators.pattern(/(^[0-9]{1,32}$)+$/)]],\n 'toolSelection': []\n });\n this.validationService.validate(\n this.selectionTool,\n this.formErrors,\n this.validationMessages\n );\n }\n\n toolSelectionDetails() { \n this.sessionData = JSON.parse(sessionStorage.getItem('mdmDetails'));\n if (this.sessionData && this.sessionData.productCode === 'ADDPZTE') {\n if (this.sessionData.samsungEmmAccountId && this.sessionData.googleEmmAccountId && this.sessionData.appleEmmAccountId) {\n this.callSamsung = false;\n if (this.sessionData.latestAccountType === 'DMPGZTP') {\n this.mdmDetails.emmProductCode = 'DMPGZTP';\n this.mdmDetails.signupStatus = 'revised';\n this.mdmDetails.emmAccountId = this.sessionData.googleEmmAccountId;\n this.mdmDetails.otherProducts[0] = {'emmProductCode' : 'DMPSKME', 'signupStatus' : 'revised' , 'emmAccountId' : this.sessionData.samsungEmmAccountId};\n this.mdmDetails.otherProducts[1] = {'emmProductCode' : 'DMPAABM', 'signupStatus' : 'revised' , 'emmAccountId' : this.sessionData.appleEmmAccountId};\n } else if (this.sessionData.latestAccountType === 'DMPSKME'){\n // Samsung - User 5\n this.mdmDetails.emmProductCode = 'DMPSKME';\n this.mdmDetails.signupStatus = 'revised';\n this.mdmDetails.emmAccountId = this.sessionData.samsungEmmAccountId;\n this.mdmDetails.otherProducts[0] = {'emmProductCode' : 'DMPGZTP', 'signupStatus' : 'revised' , 'emmAccountId' : this.sessionData.googleEmmAccountId};\n this.mdmDetails.otherProducts[1] = {'emmProductCode' : 'DMPAABM', 'signupStatus' : 'revised' , 'emmAccountId' : this.sessionData.appleEmmAccountId};\n } else {\n this.mdmDetails.emmProductCode = 'DMPAABM';\n this.mdmDetails.signupStatus = 'revised';\n this.mdmDetails.emmAccountId = this.sessionData.appleEmmAccountId;\n this.mdmDetails.otherProducts[0] = {'emmProductCode' : 'DMPGZTP', 'signupStatus' : 'revised' , 'emmAccountId' : this.sessionData.googleEmmAccountId};\n this.mdmDetails.otherProducts[1] = {'emmProductCode' : 'DMPSKME', 'signupStatus' : 'revised' , 'emmAccountId' : this.sessionData.samsungEmmAccountId};\n }\n\n }else if (this.sessionData.samsungEmmAccountId) {\n // Samsung - User 6\n this.callSamsung = false;\n this.mdmDetails.emmProductCode = 'DMPSKME';\n this.mdmDetails.signupStatus = 'revised';\n this.mdmDetails.emmAccountId = this.sessionData.samsungEmmAccountId;\n this.mdmDetails.otherProducts[0] = {'emmProductCode' : 'DMPGZTP' , 'signupStatus' : 'initial' , 'emmAccountId' : ''};\n this.mdmDetails.otherProducts[1] = {'emmProductCode' : 'DMPAABM', 'signupStatus' : 'initial' , 'emmAccountId' : ''};\n }else if (this.sessionData.googleEmmAccountId) {\n // Google - User 4\n this.mdmDetails.emmProductCode = 'DMPGZTP';\n this.mdmDetails.signupStatus = 'revised';\n this.mdmDetails.emmAccountId = this.sessionData.googleEmmAccountId;\n this.mdmDetails.otherProducts[0] = {'emmProductCode' : 'DMPSKME' , 'signupStatus' : 'initial' , 'emmAccountId' : ''};\n this.mdmDetails.otherProducts[1] = {'emmProductCode' : 'DMPAABM', 'signupStatus' : 'initial' , 'emmAccountId' : ''};\n } else {\n this.mdmDetails.emmProductCode = 'DMPAABM';\n this.mdmDetails.signupStatus = 'revised';\n this.mdmDetails.emmAccountId = this.sessionData.appleEmmAccountId;\n this.mdmDetails.otherProducts[0] = {'emmProductCode' : 'DMPSKME' , 'signupStatus' : 'initial' , 'emmAccountId' : ''};\n this.mdmDetails.otherProducts[1] = {'emmProductCode' : 'DMPGZTP', 'signupStatus' : 'initial' , 'emmAccountId' : ''};\n }\n }\n // To show available to add section on page load\n // Add logic here to select 'available to add' or 'ready to setup' section\n\n\n this.userDetail = this.mdmDetails;\n if (this.userDetail) {\n this.preSelectedMdmselect = this.userDetail.emmProductCode;\n this.productSelectionStatus = this.userDetail.signupStatus;\n this.preSelectedMdmDetail = this.preSelectedMdmselect;\n this.productSignupStatus = this.productSelectionStatus;\n this.parentemmAccountId = this.userDetail.emmAccountId;\n this.checkPermission('google');\n this.checkPermission('samsung');\n this.checkPermission('apple');\n\n if (this.userDetail.otherProducts.length === 0) {\n this.otherProductsSelection = '';\n this.childemmAccountId[0] = [];\n this.childemmAccountId[1] = [];\n } else {\n this.otherProductsSelection = this.userDetail.otherProducts[0].signupStatus;\n this.childemmAccountId[0] = this.userDetail.otherProducts[0].emmAccountId;\n this.childemmAccountId[1] = this.userDetail.otherProducts[1].emmAccountId;\n }\n if (this.userDetail.emmProductCode === 'DMPGZTP' && this.userDetail.signupStatus === 'revised') {\n //this.toolSelection = 'DMPGZTP';\n this.parentemmAccountId = this.userDetail.emmAccountId;\n this.selectedDetails = this.parentemmAccountId;\n this.signupEmmStatus = 'revised';\n if (this.parentemmAccountId !== null) {\n this.setupError = false;\n }\n if (this.otherProductsSelection === 'revised') {\n this.selectedDetailsKme = this.childemmAccountId[0];\n this.selectedDetailsAbm = this.childemmAccountId[1];\n }\n\n } else if (this.userDetail.emmProductCode === 'DMPSKME' && this.userDetail.signupStatus === 'revised') {\n //this.toolSelection = 'DMPSKME';\n this.parentemmAccountId = this.userDetail.emmAccountId;\n this.selectedDetailsKme = this.parentemmAccountId;\n this.signupEmmStatus = 'revised';\n if (this.parentemmAccountId !== null) {\n this.setupError = false;\n }\n if (this.otherProductsSelection === 'revised') {\n this.selectedDetails = this.childemmAccountId[0];\n this.selectedDetailsAbm = this.childemmAccountId[1];\n }\n } else if (this.userDetail.emmProductCode === 'DMPAABM' && this.userDetail.signupStatus === 'revised') {\n \n this.parentemmAccountId = this.userDetail.emmAccountId;\n this.selectedDetailsAbm = this.parentemmAccountId;\n this.signupEmmStatus = 'revised';\n if (this.parentemmAccountId !== null) {\n this.setupError = false;\n }\n if (this.otherProductsSelection === 'revised') {\n this.selectedDetailsKme = this.childemmAccountId[0];\n this.selectedDetails = this.childemmAccountId[1];\n }\n }\n // Show the details for the product selected.\n this.initialized = true;\n // this.availableToAdd();\n\n }\n\n }\n\n checkPermission(field) { \n const permission = JSON.parse(sessionStorage.getItem('permissions'));\n if (permission !== 'null') {\n if (!this.utilityService.checkComponentPermission(field, permission.perm)) {\n if (field === 'samsung') {\n this.el.nativeElement.getElementsByClassName('sIdPerm')[0].setAttribute('disabled', 'true');\n this.isSamsungDisable = true;\n } else {\n this.el.nativeElement.getElementsByClassName('gIdPerm')[0].setAttribute('disabled', 'true');\n this.isGoogleDisable = true;\n }\n }\n }\n }\n\n handleError(type) {\n this.pageloaderService.setPageLoaderStatus(true);\n this.errorMessage = ERRCODES[type];\n if (type === 'FETCH_PAGE') {\n this.pageError = true;\n } else {\n this.showError = true;\n }\n }\n\n plotFanStatusChart(data) { \n //const dataArray: Array = [];\n\n this.activeFans = data.revisedFanList.filter((f) => { return f.accountStatus === 'ACTIVE'; });\n let processingFans_ = data.revisedFanList.filter((f) => {return f.accountStatus === 'PROCESSING' && f.productCode != 'DMPAABM'});\n this.activeFans = this.activeFans.concat(processingFans_);\n console.log(\"this.activeFans==>\", this.activeFans);\n const activeFansList = this.activeFans.map(item => ({ fanId: item.fanId, productCode: item.productCode }));\n const mergedList = activeFansList.concat(data.newSetupFanList);\n let uniqueList = mergedList.filter((element, index) => {\n return mergedList.indexOf(element) === index;\n });\n let uniqueListCount = uniqueList ? uniqueList.length : 0;\n for(var i=0;i = [];\n const ztplist: Array = [];\n const abmlist: Array = [];\n if(uniqueList[i].productCode === 'DMPSKME') {\n this.kmelistcount++;\n }\n else if(uniqueList[i].productCode === 'DMPGZTP') {\n this.ztplistcount++;\n }\n else if (uniqueList[i].productCode === 'DMPAABM'){\n this.abmlistcount++;\n }\n }\n\n //mock Data\n // this.kmelistcount = 3;\n // this.ztplistcount = 6;\n // this.abmlistcount = 9;\n\n this.totalFansNum = this.kmelistcount + this.ztplistcount + this.abmlistcount;\n this.buildChartArray(CHART_CONFIG.KME, this.donutChartData, this.kmelistcount);\n this.buildChartArray(CHART_CONFIG.ZTP, this.donutChartData, this.ztplistcount);\n this.buildChartArray(CHART_CONFIG.ABM, this.donutChartData, this.abmlistcount);\n\n //this.donutChartData = dataArray;\n this.totalNoFans = `You have ${this.kmelistcount + this.ztplistcount + this.abmlistcount} foundation accounts that are signed up and are ready to be managed with the device management program.`\n this.chartLabel = 'accounts';\n if(this.totalFansNum < 2){\n this.totalNoFans = this.totalNoFans.replace('accounts', 'account');\n this.totalNoFans = this.totalNoFans.replace('are signed up and are', 'is signed up and is');\n this.chartLabel = 'account';\n }\n const addpDashboardContainer = this.el.nativeElement.getElementsByClassName('chart-legend-container');\n switch (this.donutChartData.length) {\n case 1 : {\n addpDashboardContainer[0].style.paddingTop=\"95px\";\n break;\n }\n case 2 : {\n addpDashboardContainer[0].style.paddingTop=\"80px\";\n break;\n }\n case 3 : {\n addpDashboardContainer[0].style.paddingTop=\"65px\";\n break;\n }\n case 4 : {\n addpDashboardContainer[0].style.paddingTop=\"55px\";\n break;\n }\n } \n }\n\n buildChartArray(chartConfig, dataArray, noOfFans) {\n if (noOfFans > 0) {\n const temp: DonutChartModel = {\n 'value': noOfFans,\n 'color': chartConfig.color,\n 'legend': noOfFans + ' ' + chartConfig.label\n };\n dataArray.push(temp);\n }\n }\n\n buildErrorChartData() {\n this.donutChartData = [];\n this.chartLabel = 'accounts';\n const temp = {\n 'value': 0,\n 'color': '#ccc',\n 'legend': 'Error'\n };\n this.donutChartData.push(temp);\n }\n\n toolSelectedztp($event) {\n if ($event.target.value = 'on') {\n this.CancelParticipationService.setProdCode('ZTP');\n this.toolSelection = 'DMPGZTP';\n this.optselected = true;\n }\n \n }\n\n toolSelectedabm($event) {\n if ($event.target.value = 'on') {\n this.CancelParticipationService.setProdCode('ABM');\n this.toolSelection = 'DMPAABM';\n this.optselected = true;\n }\n \n }\n\n toolSelectedkme($event) {\n if ($event.target.value = 'on') {\n this.CancelParticipationService.setProdCode('KME');\n this.toolSelection = 'DMPSKME';\n this.optselected = true;\n }\n }\n\n cancel() {\n this.router.navigate(['/dashboard']);\n }\n\n continue() {\n this.pageloaderService.setPageLoaderStatus(false);\n this.removeModel.appleIdName = this.selectedDetailsAbm;\n this.removeModel.googleIdName = this.selectedDetails;\n this.removeModel.samsungIdName = this.selectedDetailsKme;\n if (this.toolSelection === 'DMPGZTP'|| this.toolSelection === 'DMPSKME' || this.toolSelection ==='DMPAABM' ) { \n if (this.toolSelection === 'DMPGZTP') {\n this.selectedAccID = this.removeModel.googleIdName;\n } \n else if (this.toolSelection === 'DMPSKME') {\n this.selectedAccID = this.removeModel.samsungIdName;\n }else{\n this.selectedAccID = this.removeModel.appleIdName;\n }\n let productDetails = { emmProductCode: '', emmAccountId: ''};\n this.selectedMdmDetails = this.toolSelection;\n productDetails.emmProductCode = this.toolSelection;\n productDetails.emmAccountId = this.selectedAccID;\n sessionStorage.setItem('manage-product', JSON.stringify(productDetails));\n sessionStorage.getItem('manage-product'); \n this.router.navigate(['cancelParticipation/selectfan']);\n }\n }\n\n}","
\n
\n
\n
\n
\n

\n {{this.removeModel.removeTool.header}}

\n
\n
\n
\n
\n
\n
\n \n
\n
{{errorMessage}}
\n
\n

{{this.removeModel.removeTool.details}}

\n\n
\n
\n \n \n\n
\n
\n \n
\n
\n
\n \n \n \n
\n {{this.removeModel.removeTool.remove}}\n\n
\n\n \n \n\n \n\n \n \n \n\n
\n
\n
\n
\n
\n \n {{this.removeModel.removeTool.back}}\n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n","import { Component, OnChanges, OnInit, ElementRef, ViewEncapsulation } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { UtilityService, AdobeAnalyticsService, AuthenticationService } from 'lib/ng2-sapmp/src/providers';\nimport { GridOptionsModel, ColumnDefinitionsModel, PaginationsModel, FilterService } from 'lib/ng2-sapmp/src/ui-components/custom-grid';\nimport { CancelParticipationService } from './../shared/providers/cancel-participation.service';\nimport { FanModel, RemoveList } from './../shared/models/cancel-participation.model';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { AccordionComponent } from 'lib/ng2-sapmp/src/ui-components/accordion/accordion.component';\nimport { PageLoaderService } from 'lib/ng2-sapmp/src/ui-components/page-loader';\nimport { CANCELFANDATA } from 'config';\nimport { BreadCrumbModel, BreadCrumbService } from 'lib/ng2-sapmp/src/ui-components/breadcrumb';\nimport { BaseProfileModel } from 'lib/ng2-sapmp/src/models';\n\n@Component({\n selector: 'app-review-cancel',\n templateUrl: './review-cancel.component.html',\n styleUrls: ['./review-cancel.component.scss'],\n providers: [FilterService, CancelParticipationService, AdobeAnalyticsService],\n encapsulation: ViewEncapsulation.None\n})\n\nexport class ReviewCancelComponent implements OnInit {\n formName: string;\n FANList: Array;\n EditedFANList: Array;\n UnclaimdevicesFANList: Array;\n gridOptions: GridOptionsModel;\n columnSelection: string;\n accordionList: any;\n accordionTitle: any;\n error: boolean;\n pageContent: any;\n text: string;\n unclaim: boolean;\n prodcode: string;\n prodDetails: any;\n fanArray: RemoveList;\n selectedbox: boolean = false;\n ibmflag: boolean;\n fanInfoList: any;\n mdmDetails: any;\n accid: any;\n user: BaseProfileModel;\n\n constructor(private cancelParticipationService: CancelParticipationService, private authenticationService: AuthenticationService,\n private pageloaderService: PageLoaderService, private router: Router,\n private breadCrumbService: BreadCrumbService, private utilityService: UtilityService,\n private adobeAnalyticsService: AdobeAnalyticsService, private route: ActivatedRoute) {\n this.accordionList = [];\n this.FANList = [];\n this.pageloaderService.setPageLoaderStatus(false);\n }\n\n ngOnInit() {\n document.title = this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url];\n this.formName = 'Cancel Participation - Review';\n this.pageloaderService.setPageLoaderStatus(false);\n this.unclaim = sessionStorage.getItem('unclaimFlag') ? JSON.parse(sessionStorage.getItem('unclaimFlag')) : false;\n this.prodcode = sessionStorage.getItem('prodcode');\n this.ibmflag = sessionStorage.getItem('ibmflag') ? JSON.parse(sessionStorage.getItem('ibmflag')) : false;\n this.text = 'Expand the list to review the accounts you selected.';\n this.cancelParticipationService.createPageLoadProperties('REVIEW', 'review');\n if(this.ibmflag) {\n this.getFanDatamdm();\n // Content Rendering\n this.cancelParticipationService.pageContent(this.utilityService.getEnvConfig().contentUrl.cancelParticipation.review).\n subscribe(respobj => {\n this.pageContent = respobj;\n console.log(this.pageContent);\n this.pageloaderService.setPageLoaderStatus(true);\n });\n\n } else {\n if(this.unclaim) {\n this.getUnclaimFanData();\n }\n else {\n this.getFanData();\n }\n \n // Content Rendering\n this.pageContent = this.route.snapshot.data.pageData.cancelParticipationreview;\n }\n this.pageloaderService.setPageLoaderStatus(true);\n sessionStorage.setItem('currentUrl', '/cancelParticipation/review');\n //sessionStorage.setItem('cancelCallingBackUrl', '/cancelParticipation/review');\n }\n\n getFanDatamdm() {\n const FanData = this.cancelParticipationService.getCancelledFanData();\n this.FANList = FanData.cancelledFanList;\n console.log(\n 'Review page'\n );\n console.log(this.FANList);\n this.columnSelection = FanData.selectedColumn;\n this.initGrid();\n }\n\n\n getFanData() {\n const FanData = this.cancelParticipationService.getCancelledFanData();\n if (FanData.cancelledFanList.length == 0) {\n this.FANList = FanData.allFanList;\n } else {\n this.FANList = FanData.cancelledFanList;\n }\n console.log(\n 'Review page'\n );\n //console.log(this.FANList);\n let removefanlist = [];\n removefanlist = this.FANList;\n for(var i=0;i item.selected === true);\n }\n\n createjson(aliases, fanId, status) {\n aliases.set(fanId, status);\n }\n\n continueToNext() {\n this.pageloaderService.setPageLoaderStatus(false);\n sessionStorage.removeItem('fanLength');\n this.prodDetails = JSON.parse(sessionStorage.getItem('manage-product'));\n //const accid = this.prodDetails.emmAccountId;\n const code = this.prodDetails.emmProductCode;\n this.mdmDetails = JSON.parse(sessionStorage.getItem('mdmDetails'));\n if(code === 'DMPGZTP'){\n this.accid = this.mdmDetails.googleEmmAccountId;\n }else if(code === 'DMPSKME'){\n this.accid = this.mdmDetails.samsungEmmAccountId;\n }\n \n \n if (this.utilityService.getEnvConfig().useMock) {\n //mock and remove\n //local testing for backend call\n \n // this.fanArray = new RemoveList();\n\n // this.fanArray.emmAccountId = accid;\n // this.fanArray.emmProductCode = code;\n // let fanList = new Map();\n // let object = JSON;\n // if (this.unclaim) {\n // this.UnclaimdevicesFANList.forEach((item) => {\n // let str = JSON.stringify(item.fanId);\n // let id = str.split(\"-\");\n // str = id[0].replace(\"\\\"\", \"\").trim();\n // this.createjson(fanList, str+\"\", 'RemoveDevice');\n // }); \n // //console.log(this.UnclaimdevicesFANList);\n // this.EditedFANList.forEach((item) => {\n // let str = JSON.stringify(item.fanId);\n // let id = str.split(\"-\");\n // str = id[0].replace(\"\\\"\", \"\").trim();\n // this.createjson(fanList, str+\"\", 'NotRemoveDevice');\n // });\n // //console.log(this.EditedFANList);\n // } else {\n // this.EditedFANList.forEach((item) => {\n // let str = JSON.stringify(item.fanId);\n // let id = str.split(\"-\");\n // str = id[0].replace(\"\\\"\", \"\").trim();\n // this.createjson(fanList, str+\"\", 'NotRemoveDevice');\n // });\n // }\n \n \n // fanList.forEach((value, key) => {\n // var keys = key.split('.'),\n // last = keys.pop();\n // keys.reduce((r,a) => r[a] = r[a] || {}, object)[last] = value;\n // });\n\n // //console.log(JSON.stringify(object));\n // this.fanArray.fanList = object;\n // //console.log('fanArray', JSON.stringify(this.fanArray));\n\n // this.cancelParticipationService.saveReviewedFan(this.FANList);\n // this.cancelParticipationService.saveRemoveDevices(this.fanArray)\n // .subscribe(response => {\n // this.pageloaderService.setPageLoaderStatus(true);\n // // Adobe Analytics Success Type Starts\n // this.adobeAnalyticsService.createAdobeEventProperties('CANCELPARTICIPATION', 'SUCCESS',\n // 'formResponse', 'BC_Device_Cancel_Review_FAN_Submit', 'success', 'Success_Admit',\n // 'Remove Accounts', 'Body', '/businessconsole/cancelParticipation/confirm');\n // // Ends\n // this.router.navigate(['cancelParticipation/confirm']);\n // }, error => {\n // this.pageloaderService.setPageLoaderStatus(true);\n // // Adobe Analytics Failure Type Starts\n // this.adobeAnalyticsService.createAdobeEventProperties('CANCELPARTICIPATION', 'FAILURE',\n // 'formResponse', 'BC_Device_Cancel_Review_FAN_Submit', 'API error', 'Failure_user',\n // 'Remove Accounts', 'Body', '/businessconsole/cancelParticipation/review');\n // // Ends\n // this.error = true;\n // });\n //normal local with mock\n this.cancelParticipationService.saveReviewedFan(this.FANList);\n this.cancelParticipationService.saveRemoveDevices(this.fanArray);\n this.router.navigate(['cancelParticipation/confirm']);\n \n } else {\n //not mock and remove\n this.fanArray = new RemoveList();\n this.fanArray.emmProductCode = code;\n this.fanInfoList = JSON.parse(sessionStorage.getItem('fanInfoList'));\n if(code === 'DMPSKME' || code === 'DMPGZTP'){\n this.fanArray.emmAccountId = this.accid;\n }else if( code === 'DMPAABM'){\n let FANList = this.fanInfoList.filter(item => item.emmProductCode === 'DMPAABM'); \n if (FANList.length > 0) {\n this.fanArray.emmAccountId = FANList[0].emmAccountId;\n }\n }\n let fanList = new Map();\n let object = JSON;\n if (this.unclaim) {\n this.UnclaimdevicesFANList.forEach((item) => {\n let str = JSON.stringify(item.fanId);\n let id = str.split(\"-\");\n str = id[0].replace(\"\\\"\", \"\").trim();\n this.createjson(fanList, str+\"\", 'RemoveDevice');\n }); \n //console.log(this.UnclaimdevicesFANList);\n this.EditedFANList.forEach((item) => {\n let str = JSON.stringify(item.fanId);\n let id = str.split(\"-\");\n str = id[0].replace(\"\\\"\", \"\").trim();\n this.createjson(fanList, str+\"\", 'NotRemoveDevice');\n });\n //console.log(this.EditedFANList);\n } else {\n this.EditedFANList.forEach((item) => {\n let str = JSON.stringify(item.fanId);\n let id = str.split(\"-\");\n str = id[0].replace(\"\\\"\", \"\").trim();\n this.createjson(fanList, str+\"\", 'NotRemoveDevice');\n });\n }\n \n fanList.forEach((value, key) => {\n var keys = key.split('.'),\n last = keys.pop();\n keys.reduce((r,a) => r[a] = r[a] || {}, object)[last] = value;\n });\n\n let objectKeys = Object.keys(object);\n let selectedFanList = JSON.parse(sessionStorage.getItem(\"selectedFanList\"));\n let selectedFanArray = [];\n for(let i=0 ; i {\n this.pageloaderService.setPageLoaderStatus(true);\n // Adobe Analytics Success Type Starts\n this.adobeAnalyticsService.createAdobeEventProperties('CANCELPARTICIPATION', 'SUCCESS',\n 'formResponse', 'BC_Device_Cancel_Review_FAN_Submit', 'success', 'Success_Admit',\n 'Remove Accounts', 'Body', '/businessconsole/cancelParticipation/confirm');\n // Ends\n\n //updating user object with signupstatus\n this.user = JSON.parse(sessionStorage.getItem('user')).user;\n\n if (this.user.addpAuthority !== 'NONE') {\n this.authenticationService.getFanSignedUpStatus()\n .subscribe(resp => {\n if (this.user) {\n for (var key of Object.keys(this.user)) {\n if (key === \"fanSignedUpStatus\") {\n delete this.user[key];\n }\n }\n //console.log(retrieveArray);\n this.user.fanSignedUpStatus = this.getFanSignedUpStatus(resp.fansSummary);\n }\n this.authenticationService.setUser(this.user);\n this.authenticationService.updateEnrollStatus({showEnroll: true});\n }, () => {\n this.user.fanSignedUpStatus = 'Error';\n this.authenticationService.setUser(this.user);\n });\n } else {\n this.authenticationService.setUser(this.user);\n }\n\n //setting user ends\n\n\n this.router.navigate(['cancelParticipation/confirm']);\n }, error => {\n this.pageloaderService.setPageLoaderStatus(true);\n // Adobe Analytics Failure Type Starts\n this.adobeAnalyticsService.createAdobeEventProperties('CANCELPARTICIPATION', 'FAILURE',\n 'formResponse', 'BC_Device_Cancel_Review_FAN_Submit', 'API error', 'Failure_user',\n 'Remove Accounts', 'Body', '/businessconsole/cancelParticipation/review');\n // Ends\n this.error = true;\n });\n }\n }\n\n private getFanSignedUpStatus(fansSummary) {\n let fanSignedUpStatus = 'NONE';\n if (fansSummary) {\n const signedUpFansCount = fansSummary.\n filter((f) => { return f.status === 'ACTIVE' || f.status === 'READY_TO_SETUP'; }).length;\n const notSignedUpFansCount = fansSummary.\n filter((f) => { return f.status === 'PROCESSING' || f.status === 'AWAITING_SIGNUP'; }).length;\n if (signedUpFansCount > 0 && notSignedUpFansCount > 0) {\n fanSignedUpStatus = 'SOME';\n } else if (signedUpFansCount > 0 && notSignedUpFansCount === 0) {\n fanSignedUpStatus = 'ALL';\n } else {\n fanSignedUpStatus = 'NONE';\n }\n }\n return fanSignedUpStatus;\n }\n\n continueToNextmdm() {\n sessionStorage.removeItem('fanLength');\n this.adobeAnalyticsService.createAdobeEventProperties('CANCELPARTICIPATION', 'SUCCESS',\n 'formSubmit', 'BC_Device_Cancel_Review_FAN_Submit', 'success', 'Success_Admit',\n 'Remove Accounts', 'Body', '/businessconsole/cancelParticipation/confirm');\n if (this.utilityService.getEnvConfig().useMock) {\n this.pageloaderService.setPageLoaderStatus(false);\n this.cancelParticipationService.saveReviewedFan(this.FANList);\n // Adobe Analytics Success Type Starts\n this.adobeAnalyticsService.createAdobeEventProperties('CANCELPARTICIPATION', 'SUCCESS', 'formResponse',\n 'BC_Device_Cancel_Review_FAN_Submit', 'success', 'Success_Admit', 'Remove Accounts', 'Body',\n '/businessconsole/cancelParticipation/confirm');\n // Ends\n this.pageloaderService.setPageLoaderStatus(true);\n this.router.navigate(['cancelParticipation/confirm']);\n } else {\n this.pageloaderService.setPageLoaderStatus(false);\n this.cancelParticipationService.saveReviewedFan(this.FANList).subscribe(response => {\n this.pageloaderService.setPageLoaderStatus(true);\n // Adobe Analytics Success Type Starts\n this.adobeAnalyticsService.createAdobeEventProperties('CANCELPARTICIPATION', 'SUCCESS',\n 'formResponse', 'BC_Device_Cancel_Review_FAN_Submit', 'success', 'Success_Admit',\n 'Remove Accounts', 'Body', '/businessconsole/cancelParticipation/confirm');\n // const data = { code: 'cancel_review_fan', errorType: 'SUCCESS_TYPE', successFlag: 1, msg: '' };\n // this.adobeAnalyticsService.trackEventProperties(data);\n // Ends\n this.router.navigate(['cancelParticipation/confirm']);\n }, error => {\n this.pageloaderService.setPageLoaderStatus(true);\n // Adobe Analytics Failure Type Starts\n this.adobeAnalyticsService.createAdobeEventProperties('CANCELPARTICIPATION', 'FAILURE',\n 'formResponse', 'BC_Device_Cancel_Review_FAN_Submit', 'API error', 'Failure_user',\n 'Remove Accounts', 'Body', '/businessconsole/cancelParticipation/review');\n // const data = { code: 'cancel_review_fan', errorType: 'FAILURE_TYPE', successFlag: 0, msg: error.statusText };\n // this.adobeAnalyticsService.trackEventProperties(data);\n // Ends\n this.error = true;\n });\n }\n }\n\n changeEvent($event) {\n if ($event.target.checked) {\n this.selectedbox= true;\n }\n else {\n this.selectedbox= false;\n }\n }\n\n backToPreviousPage(event) {\n event.preventDefault();\n sessionStorage.removeItem('CancelParticipationData');\n if (this.unclaim) {\n const previousUrl = sessionStorage.getItem('previousRoute');\n if(previousUrl === '/cancelParticipation/review') {\n this.router.navigate(['cancelParticipation/review']);\n }\n else {\n this.router.navigate(['cancelParticipation/unclaimdevices']);\n }\n } else {\n this.router.navigate(['cancelParticipation/selectfan']); \n }\n }\n\n backToPreviousPagemdm(event) {\n event.preventDefault();\n this.router.navigate(['cancelParticipation/selectfan']);\n }\n}\n","
\n\t
\n\t\t\n\t\t

{{pageContent.heading1}}

\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t
\n\t\t\t
\n\t\t\t\t \n\t\t\t
\n\t\t
\n\t\t

{{prodcode}}

\n\t\t\n\t\t\n\t\t
\n\t\t\t\n\t\t\t

\n\t\t\t\tThe following account will be removed. \n\t\t\t

\n\t\t\t\n\t\t
\n\t\t\n\t\t
= 2 && FANList.length <= 5\">\n\t\t\t\n\t\t\t

\n\t\t\t\t The following {{FANList.length}} accounts will be removed. \n\t\t\t

\n\t\t\t\n\t\t
\n\t\t\n\t\t
5\">\n\t\t\n\t\t

\n\t\t\tYou are removing {{FANList.length}} accounts. {{text}} \n\t\t

\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t
\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t

{{pageContent.content_head1}}

\n\t\t\t\t\n\t\t\t\t

{{pageContent.content_subhead}}

\n\t\t\t\t\n\t\t\t\t

\n\t\t\t\t

\n\t\t\t\t\t\n\t\t\t\t

\n\t\t\t
\n\t\t\t
1\" class=\"panel-message\">\n\t\t\t\t

{{pageContent.content_head}}

\n\t\t\t\t\n\t\t\t\t

{{pageContent.content_subhead}}

\n\t\t\t\t\n\t\t\t\t

\n\t\t\t\t

\n\t\t\t\t\t\n\t\t\t\t

\n\t\t\t
\n\t\t
\n\t\t
\n\t\t\t\n\t\t\t\n\t\t\t {{pageContent.buttons.cancel}} \n\t\t
\n\t
\n\t
\n\t\t

{{pageContent.heading}}

\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t
\n\t\t\t
\n\t\t\t\t \n\t\t\t
\n\t\t
\n\t\t

{{pageContent.subhead}}

\n\t\t\n\t\t
\n\t\t\t

The following account will be removed.

\n\t\t\t\n\t\t
\n\t\t\n\t\t
= 2 && FANList.length <= 5\">\n\t\t\t

The following {{FANList.length}} accounts will be removed.

\n\t\t\t\n\t\t
\n\t\t\n\t\t
5\">\n\t\t

You are removing {{FANList.length}} accounts. {{text}}

\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t
\n\t\t
\n\t\t\t
\n\t\t\t\t

Review foundation account for cancellation

\n\t\t\t\t

\n\t\t\t
\n\t\t\t
1\" class=\"panel-message\">\n\t\t\t\t

{{pageContent.content_head}}

\n\t\t\t\t

{{pageContent.content_subhead}}

\n\t\t\t\t

\n\t\t\t
\n\t\t
\n\t\t
\n\t\t\t\n\t\t\t {{pageContent.buttons.cancel}} \n\t\t
\n\t
\n
","import { ConfirmCancelComponent } from './../confirm-cancel/confirm-cancel.component';\nimport { BreadCrumbService } from './../../../../lib/ng2-sapmp/src/ui-components/breadcrumb/breadcrumb.service';\nimport { BreadCrumbModel } from 'lib/ng2-sapmp/src/ui-components/breadcrumb';\nimport { Component, OnChanges, OnInit, ElementRef, ViewEncapsulation } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { UtilityService, AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';\nimport { GridOptionsModel, ColumnDefinitionsModel, PaginationsModel, FilterService } from 'lib/ng2-sapmp/src/ui-components/custom-grid';\nimport { CancelParticipationService } from './../shared/providers/cancel-participation.service';\nimport { FanModel } from './../shared/models/cancel-participation.model';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { PageLoaderService } from './../../../../lib/ng2-sapmp/src/ui-components/page-loader/page-loader.service';\nimport { AccordionComponent } from 'lib/ng2-sapmp/src/ui-components/accordion/accordion.component';\nimport { CANCELFANDATA } from 'config';\nimport { KEY_CONFIG } from 'lib/ng2-sapmp/src/config';\n\n@Component({\n selector: 'app-select-fan',\n templateUrl: './select-fan.component.html',\n styleUrls: ['./select-fan.component.scss'],\n providers: [FilterService, CancelParticipationService, AdobeAnalyticsService],\n encapsulation: ViewEncapsulation.None\n})\n\nexport class SelectFanComponent implements OnInit {\n formName: string;\n companyId: number;\n FANList: Array;\n //displayList: Array;\n SelectedFANList: Array;\n list: Array;\n gridOptions: GridOptionsModel;\n columnSelection: string;\n callingBackUrl: string;\n selectedFan: any;\n showError: boolean;\n pageContent: any;\n fanid: any;\n unclaim: boolean;\n unclaimCheck: boolean;\n prodcode: string;\n mdmDets: any;\n ibmflag: boolean = false;\n mdmDetails: any;\n fanInfoList: any;\n accountemmid: any;\n accountId: any;\n prodDets: any;\n abmflag: boolean=false;\n\n\n constructor(protected cancelParticipationService: CancelParticipationService, private router: Router,\n private breadCrumbService: BreadCrumbService, private utilityService: UtilityService, private pageLoaderService: PageLoaderService,\n private adobeAnalyticsService: AdobeAnalyticsService, private route: ActivatedRoute) {\n this.companyId = 2; // Company ID four for Revised Setup (All fans)\n this.FANList = [];\n //this.displayList = [];\n this.SelectedFANList = [];\n this.list = [];\n this.columnSelection = 'multicol';\n //this.pageLoaderService.setPageLoaderStatus(false);\n }\n\n ngOnInit() {\n document.title = this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url];\n this.formName = 'Cancel Participation';\n this.pageLoaderService.setPageLoaderStatus(false);\n this.mdmDets = JSON.parse(sessionStorage.getItem('mdmDetails'));\n const totalFan = this.cancelParticipationService.getCancelledFanData();\n this.FANList = [];\n this.cancelParticipationService.getFanStatusSummary(this.companyId).subscribe(respobj =>{\n if(respobj !== null){\n let faninfolist = respobj.fanInfoList;\n sessionStorage.setItem('fanInfoList', JSON.stringify(faninfolist));\n\n }\n },\n error => {\n this.showError = true;\n });\n\n if (this.mdmDets.productCode === 'ADDPMDM') {\n sessionStorage.setItem('ibmflag', 'true');\n this.ibmflag = true;\n this.fanid = sessionStorage.getItem('fanID');\n if (totalFan) {\n this.FANList = totalFan.allFanList;\n this.SelectedFANList = this.FANList.filter(item => item.selected === true);\n this.initGrid();\n this.getContentmdm();\n this.pageLoaderService.setPageLoaderStatus(true);\n } else {\n this.getFANList();\n this.pageLoaderService.setPageLoaderStatus(true);\n }\n }\n else if (this.mdmDets.productCode === 'ADDPZTE' || this.mdmDets.productCode === 'DMPAABM') {\n this.pageLoaderService.setPageLoaderStatus(false);\n this.unclaimCheck = false;\n if (JSON.parse(sessionStorage.getItem('unclaimFlag')) === false) {\n this.unclaim = true;\n } else {\n this.unclaim = sessionStorage.getItem('unclaimFlag') ? JSON.parse(sessionStorage.getItem('unclaimFlag')) : false;\n }\n this.prodcode = sessionStorage.getItem('prodcode');\n this.fanid = sessionStorage.getItem('fanID');\n if (totalFan) {\n this.FANList = totalFan.allFanList;\n this.SelectedFANList = this.FANList.filter(item => item.selected === true);\n this.initGrid();\n this.getContent();\n this.pageLoaderService.setPageLoaderStatus(true);\n } else {\n this.getFANList();\n this.pageLoaderService.setPageLoaderStatus(true);\n }\n }\n //this.breadCrumbService.removeLastBreadCrumb();\n const callingPageUrl = this.breadCrumbService.getLastUrlFromBreadCrumb().routerLink;\n this.callingBackUrl = callingPageUrl.currentUrl;\n //sessionStorage.setItem('cancelCallingBackUrl', JSON.stringify({ callingPageUrl }));\n this.cancelParticipationService.createPageLoadProperties('SELECTFAN', 'selectfan');\n //this.pageLoaderService.setPageLoaderStatus(true);\n\n // Content Rendering\n \n }\n\n getContent() {\n // this.cancelParticipationService.pageContent(this.utilityService.getEnvConfig().contentUrl.cancelParticipation.cancel).\n // subscribe(respobj => {\n this.pageContent = this.route.snapshot.data.pageData.cancelParticipationselectfan;\n this.pageContent.selectedFans = this.pageContent.selectedFanTmp.replace('', this.SelectedFANList.length);\n this.pageContent.selectedFans = this.pageContent.selectedFans.replace('',\n this.SelectedFANList.length === 0 ? 'accounts.' : this.SelectedFANList.length > 1 ? 'accounts.' : 'account.');\n let fanCount = 0;\n fanCount = JSON.parse(sessionStorage.getItem('fanLength'));\n this.pageContent.fanCount = this.pageContent.fanCount.replace('', fanCount);\n this.pageContent.fanCount = this.pageContent.fanCount.replace('',\n fanCount === 0 ? 'accounts.' : fanCount > 1 ? 'accounts.' : 'account.');\n // }, error => {\n // console.log(error);\n // });\n }\n\n getContentmdm() {\n this.cancelParticipationService.pageContent(this.utilityService.getEnvConfig().contentUrl.cancelParticipation.cancel).\n subscribe(respobj => {\n this.pageContent = respobj;\n this.pageContent.selectedFans = this.pageContent.selectedFanTmp.replace('', this.SelectedFANList.length);\n this.pageContent.selectedFans = this.pageContent.selectedFans.replace('',\n this.SelectedFANList.length === 0 ? 'accounts.' : this.SelectedFANList.length > 1 ? 'accounts.' : 'account.');\n let fanCount = 0;\n fanCount = JSON.parse(sessionStorage.getItem('fanLength'));\n this.pageContent.fanCount = this.pageContent.fanCount.replace('', fanCount);\n this.pageContent.fanCount = this.pageContent.fanCount.replace('',\n fanCount === 0 ? 'accounts.' : fanCount > 1 ? 'accounts.' : 'account.');\n }, error => {\n console.log(error);\n });\n }\n\n backToCallingPage() {\n sessionStorage.removeItem('fanLength');\n sessionStorage.removeItem('CancelParticipationData');\n sessionStorage.removeItem('unclaimFlag');\n const previousUrl = sessionStorage.getItem('previousRoute');\n if(previousUrl === '/cancelParticipation/selectfan') {\n this.router.navigate(['cancelParticipation/selectfan']);\n }\n else {\n this.router.navigate(['cancelParticipation/removeaccount']);\n }\n }\n toggleTooltip(event) {\n if (event.type !== 'click') {\n if (event.keyCode !== KEY_CONFIG.enter) {\n return;\n }\n }\n let targetElement = event.target;\n const elems = document.querySelectorAll('.tooltipActive');\n let iselementActive = false;\n if (targetElement.classList.contains('tooltipActive')) {\n iselementActive = true;\n }\n [].forEach.call(elems, function (ele) {\n ele.classList.remove('tooltipActive');\n });\n if (iselementActive) {\n targetElement.classList.remove('tooltipActive');\n } else {\n targetElement.classList.add('tooltipActive');\n }\n }\n\n toggleTooltipEnter(event) {\n if (event.type !== 'mouseenter') {\n if (event.keyCode !== KEY_CONFIG.enter) {\n return;\n }\n }\n let targetElement = event.target;\n const elems = document.querySelectorAll('.tooltipActive');\n let iselementActive = false;\n if (targetElement.classList.contains('tooltipActive')) {\n iselementActive = true;\n }\n [].forEach.call(elems, function (ele) {\n ele.classList.remove('tooltipActive');\n });\n if (iselementActive) {\n targetElement.classList.remove('tooltipActive');\n } else {\n targetElement.classList.add('tooltipActive');\n }\n }\n\n toggleTooltipLeave(event) {\n if (event.type !== 'mouseleave') {\n if (event.keyCode !== KEY_CONFIG.enter) {\n return;\n }\n }\n let targetElement = event.target;\n const elems = document.querySelectorAll('.tooltipActive');\n let iselementActive = false;\n if (targetElement.classList.contains('tooltipActive')) {\n iselementActive = true;\n }\n [].forEach.call(elems, function (ele) {\n ele.classList.remove('tooltipActive');\n });\n if (iselementActive) {\n targetElement.classList.remove('tooltipActive');\n } else {\n targetElement.classList.add('tooltipActive');\n }\n }\n\n backToCallingPagemdm() {\n sessionStorage.removeItem('fanLength');\n sessionStorage.removeItem('CancelParticipationData');\n //this.router.navigate([this.breadCrumbService.getLastUrlFromBreadCrumb().routerLink]);\n const previousUrl = sessionStorage.getItem('cancelCallingBackUrl');\n this.router.navigate([previousUrl]);\n }\n\n /* Getting all fan list*/\n getFANList() {\n this.cancelParticipationService.getFANList(this.companyId).\n subscribe(respobj => {\n this.FANList = respobj.revisedFanList.concat(respobj.newSetupFanList.map(item => {\n item['accountStatus'] = 'Signed - Up';\n return item;\n }));\n if(this.unclaim) {\n let list = respobj.revisedFanList.filter(item => item.accountStatus === 'ACTIVE');\n list = list.concat(respobj.revisedFanList.filter(item => item.accountStatus === 'PROCESSING' && item.productCode != 'DMPAABM'))\n if (this.prodcode === 'Apple Business Manager') {\n this.FANList = list.filter(item => item.productCode === 'DMPAABM');\n this.abmflag = true;\n } else if (this.prodcode === 'Samsung Knox Mobile') {\n this.FANList = list.filter(item => item.productCode === 'DMPSKME');\n } else {\n this.FANList = list.filter(item => item.productCode === 'DMPGZTP');\n }\n }\n const getPreviousRoute = sessionStorage.getItem('previousRoute');\n const split = getPreviousRoute.split('/');\n if (split[2] === 'deviceInventory') {\n this.selectedFan = sessionStorage.getItem('selectedFAN');\n this.FANList.forEach(item => {\n if (item.fanId === this.selectedFan) {\n item.selected = true;\n }\n this.SelectedFANList = this.FANList.filter(item => item.fanId === this.selectedFan);\n });\n // this.FANList = this.FANList.filter(item => item.fanId === this.selectedFan);\n }\n\n this.initGrid();\n this.getContent();\n this.pageLoaderService.setPageLoaderStatus(true);\n },\n error => {\n this.showError = true;\n this.pageLoaderService.setPageLoaderStatus(true);\n\n });\n }\n\n initGrid() {\n const options = new GridOptionsModel();\n // options.enableFiltering = false;\n // if (this.FANList.length > 20) {\n // options.enableFiltering = false;\n // }\n options.enableSorting = false;\n options.multiSelect = true;\n options.enableBackLink = true;\n options.backLinkText = 'View all accounts';\n // options.emptyMessage = 'We didn’t find any accounts that match your search.' +\n // 'Did you enter the full account number? Check the number and try your search again.';\n // options.searchType = 'number';\n\n const pagination = {\n recordsPerPage: 20,\n currentPage: 1,\n isServerSide: false,\n totalRecords: this.list.length\n };\n\n options.Paginations = pagination;\n if (this.unclaim) {\n options.gridData = this.FANList;\n this.list = this.FANList;\n options.enableFiltering = false;\n if (this.FANList.length > 20) {\n options.enableFiltering = false;\n }\n options.callbacks = {statusCellTemplate: this.statusCellTemplateRemove};\n }\n else {\n options.gridData = this.FANList;\n this.list = this.FANList;\n options.enableFiltering = false;\n if (this.FANList.length > 20) {\n options.enableFiltering = true;\n }\n options.callbacks = {statusCellTemplate: this.statusCellTemplate};\n }\n\n //options.searchPlaceHolder = 'Enter full foundation account number';\n //options.ariaLabel = 'Enter full foundation account number';\n //options.callbacks = {statusCellTemplate: this.statusCellTemplate};\n\n options.columnDefinitions = CANCELFANDATA.fanList[this.columnSelection].columnDefinitions;\n options.disableRow = CANCELFANDATA.fanList[this.columnSelection].rowDisable;\n options.disableRowCondition = CANCELFANDATA.fanList[this.columnSelection].rowDisableCondition;\n this.gridOptions = options;\n }\n\n\n statusCellTemplate(element, row, field, currentElem, type) {\n if (type === 'template') {\n return `
${CANCELFANDATA.statusLabel[row.accountStatus] === undefined ? 'Ready for setup' : CANCELFANDATA.statusLabel[row.accountStatus]}
`;\n }\n }\n\n statusCellTemplateRemove(element, row, field, currentElem, type) {\n if (type === 'template') {\n if (row.profileName !== undefined || row.profileName !== null) {\n row.profileName = '';\n }\n //return `
${CANCELFANDATA.statusLabel[row.accountStatus] === 'ACTIVE' ? 'Active' : 'Active'}
`;\n this.mdmDetails = JSON.parse(sessionStorage.getItem('mdmDetails'));\n this.prodDets = JSON.parse(sessionStorage.getItem('manage-product'));\n this.fanInfoList = JSON.parse(sessionStorage.getItem('fanInfoList'));\n //console.log(this.fanInfoList);\n if(this.prodDets.emmProductCode === 'DMPGZTP'){\n this.accountemmid = this.mdmDetails.googleEmmAccountId;\n this.accountId ='ZTP ID: ' + this.accountemmid;\n }\n else if(this.prodDets.emmProductCode === 'DMPSKME'){\n this.accountemmid = this.mdmDetails.samsungEmmAccountId;\n this.accountId ='KME ID: ' + this.accountemmid;\n }\n else if(this.prodDets.emmProductCode === 'DMPAABM'){\n this.fanInfoList.forEach(element => {\n if(row.fanId === element.fan && row.productCode === element.emmProductCode){\n this.accountemmid = element.emmAccountId;\n this.accountId ='Apple Org ID: ' + this.accountemmid;\n }\n });\n }\n\n return `
${CANCELFANDATA.statusLabel[row.accountStatus] === 'ACTIVE' ? this.accountId : this.accountId }
`;\n //return `
${CANCELFANDATA.statusLabel[row.accountStatus] === 'ACTIVE' ? 'KMEID:' : this.SelectedFANList.length }
`;\n }\n }\n\n /* Fan selection watched here from Grid*/\n onRowClick(action) {\n this.SelectedFANList = this.FANList.filter(item => item.selected === true);\n this.pageContent.selectedFans = this.pageContent.selectedFanTmp.replace('', this.SelectedFANList.length);\n this.pageContent.selectedFans = this.pageContent.selectedFans.replace('',\n this.SelectedFANList.length === 0 ? 'accounts.' : this.SelectedFANList.length > 1 ? 'accounts.' : 'account.');\n }\n\n continueToNext() { \n if (this.unclaimCheck === false) {\n sessionStorage.setItem('unclaimFlag', 'false');\n // use multi col config\n this.adobeAnalyticsService.createAdobeEventProperties('CANCELPARTICIPATION', 'SUCCESS', 'formSubmit',\n 'BC_Device_Cancel_Select_FAN_Submit', 'success', 'Success_Admit', 'Remove accounts', 'Body',\n '/businessconsole/cancelParticipation/review');\n this.cancelParticipationService.saveCancelledFAN(this.FANList, this.SelectedFANList, this.columnSelection = 'singlecol');\n // Adobe Analytics Success Type Starts\n this.adobeAnalyticsService.createAdobeEventProperties('CANCELPARTICIPATION', 'SUCCESS',\n 'formResponse', 'BC_Device_Cancel_Select_FAN_Submit', 'success', 'Success_Admit', 'Remove accounts',\n 'Body', '/businessconsole/cancelParticipation/review');\n // const data = { code: 'cancel_select_fan', errorType: 'SUCCESS_TYPE', successFlag: 1, msg: '' };\n // this.adobeAnalyticsService.trackEventProperties(data);\n // Ends\n sessionStorage.setItem('selectedFanList', JSON.stringify(this.SelectedFANList));\n this.router.navigate(['cancelParticipation/review']);\n }\n else {\n // use multi col config\n this.adobeAnalyticsService.createAdobeEventProperties('UNCLAIMDEVICES', 'SUCCESS', 'formSubmit',\n 'BC_Device_Cancel_Select_FAN_Submit', 'success', 'Success_Admit', 'Unclaim devices', 'Body',\n '/businessconsole/cancelParticipation/unclaimdevices');\n this.cancelParticipationService.saveUnclaimDevicesFan(this.FANList, this.SelectedFANList, this.columnSelection = 'multicol');\n // Adobe Analytics Success Type Starts\n this.adobeAnalyticsService.createAdobeEventProperties('UNCLAIMDEVICES', 'SUCCESS',\n 'formResponse', 'BC_Device_Cancel_Select_FAN_Submit', 'success', 'Success_Admit', 'Unclaim devices',\n 'Body', '/businessconsole/cancelParticipation/unclaimdevices');\n // Ends\n sessionStorage.setItem('selectedFanList', JSON.stringify(this.SelectedFANList));\n this.router.navigate(['cancelParticipation/unclaimdevices'])\n }\n }\n\n continueToNextmdm() { // use multi col config\n this.adobeAnalyticsService.createAdobeEventProperties('CANCELPARTICIPATION', 'SUCCESS', 'formSubmit',\n 'BC_Device_Cancel_Select_FAN_Submit', 'success', 'Success_Admit', 'Remove accounts', 'Body',\n '/businessconsole/cancelParticipation/review');\n this.cancelParticipationService.saveCancelledFAN(this.FANList, this.SelectedFANList, this.columnSelection = 'singlecol');\n // Adobe Analytics Success Type Starts\n this.adobeAnalyticsService.createAdobeEventProperties('CANCELPARTICIPATION', 'SUCCESS',\n 'formResponse', 'BC_Device_Cancel_Select_FAN_Submit', 'success', 'Success_Admit', 'Remove accounts',\n 'Body', '/businessconsole/cancelParticipation/review');\n // const data = { code: 'cancel_select_fan', errorType: 'SUCCESS_TYPE', successFlag: 1, msg: '' };\n // this.adobeAnalyticsService.trackEventProperties(data);\n // Ends\n sessionStorage.setItem('selectedFanList', JSON.stringify(this.SelectedFANList));\n this.router.navigate(['cancelParticipation/review']);\n }\n \n}\n\n","
\n\t\t

{{pageContent.heading}}

\n\t\t

{{pageContent.heading}}

\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t
\n\t\t\t
\n\t\t\t\t{{pageContent.errorMessage}}\n\t\t\t
\n\t\t
\n\t
\n\t\t
\n\t\t\t

{{pageContent.noFans}}

\n\t\t\t

\n\t\t\t\t {{pageContent.buttons.back}} \n\t\t\t

\n\t\t\t
\n\t\t
0\">\n\t\t\t
\n\t\t\t\t

{{pageContent.subhead}}

\n\t\t\t\t

{{pageContent.fanCount}}

\n\t\t\t\t

{{pageContent.selectedFans}}

\n\t\t\t
\n\t\t\t

{{prodcode}}

\n\t\t\t\n\t\t\t

{{pageContent.selectedFans}}

\n\t\t\t

\n\t\t\t\t\n\t\t\t

\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\t{{pageContent.toolTipText}}
\n\t\t\t
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t {{pageContent.buttons.back}} \n\t\t\t\t
\n\t\t\t
\n\t\t
\n\t
\n\t
\n\t\t
\n\t\t\t

{{pageContent.noFans}}

\n\t\t
\n\t\t
0\">\n\t\t\t

{{pageContent.subhead}}

\n\t\t\t

{{pageContent.fanCount}}

\n\t\t\t

{{pageContent.selectedFans}}

\n\t\t\t\n\t\t\t

{{pageContent.selectedFans}}

\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t {{pageContent.buttons.cancel}} \n\t\t\t\t
\n\t\t\t
\n\t\t
\n\t
\n
\n","\nexport class FanModel {\n fanId: number;\n status: string; // Active, Enrolled not active, In Progress\n profile: number; // ProfileModel profileId\n selected?: boolean;\n}\n\nexport class MdmDetails {\n emmProductCode: string;\n signupStatus: string;\n emmAccountId: string;\n otherProducts: Array;\n constructor() {\n this.emmProductCode = undefined;\n this.signupStatus = undefined;\n this.emmAccountId = undefined;\n this.otherProducts = [];\n }\n}\n\nexport class OtherProducts {\n emmProductCode: string;\n signupStatus: string;\n emmAccountId: string;\n constructor() {\n this.emmProductCode = undefined;\n this.signupStatus = undefined;\n this.emmAccountId = undefined;\n }\n}\n\nexport class RemoveList {\n emmProductCode: string;\n emmAccountId: string;\n fanList: {};\n}\n\n\n\n","import { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { throwError } from 'rxjs';\n\n\n\nimport { HttpClient, HttpResponse, HttpHeaders } from '@angular/common/http';\nimport { HttpClientService, AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';\nimport { UtilityService } from 'lib/ng2-sapmp/src/providers';\nimport { ANALYTICS_CONSTANTS } from 'config';\ndeclare var ENV_PORTAL;\n\n\n@Injectable()\nexport class CancelParticipationService {\n\n constructor(private http: HttpClient,\n private httpClientService: HttpClientService,\n private utilityService: UtilityService,\n private adobeAnalyticsService: AdobeAnalyticsService) {\n\n }\n\n fetchJSON(dataurl) {\n return this.httpClientService.get(dataurl, this.get_headers())\n .pipe(\n map((test: HttpResponse) => {\n if (sessionStorage.getItem('sapmp_jwtToken') != null) {\n // refreshes token for logged in scenario upon page load\n this.httpClientService.tokenRefresh(this.utilityService.getEnvConfig().tokenRefresh);\n }\n return test.body })\n ,catchError( this.handleError ));\n\n }\n\n get_headers() {\n let headers = new HttpHeaders();\n headers = headers.append('Authorization', sessionStorage.getItem('sapmp_jwtToken'));\n return headers;\n }\n getFanStatusSummary(companyId) {\n // will be calling actual api with company id;\n let apiUrl;\n apiUrl = this.utilityService.getEnvConfig().dashboardSummary;\n //apiUrl = \"assets/mock/dashboard/getFANListMock6.json\";\n \n return this.httpClientService.get(apiUrl, this.get_headers())\n .pipe(\n map((res: HttpResponse) => {\n if (sessionStorage.getItem('sapmp_jwtToken') != null) {\n // refreshes token for logged in scenario upon page load\n this.httpClientService.tokenRefresh(this.utilityService.getEnvConfig().tokenRefresh);\n }\n return res.body;\n })\n ,catchError( this.handleError ));\n }\n\n getFANList(companyid) {\n // here we concat companyid with /device/deployement/fan/{companyid}\n let fanUrl;\n if (this.utilityService.getEnvConfig().useMock) {\n \n fanUrl = \"assets/mock/dashboard/getFANListMock3.json\";\n \n } else {\n fanUrl = this.utilityService.getEnvConfig().getFANList;\n }\n return this.fetchJSON(fanUrl);\n }\n\n // From Select Fan Tab\n saveCancelledFAN(allFanList, cancelledFanList, selectedColumn) {\n // console.log(allFanList, cancelledFanList, selectedColumn);\n sessionStorage.setItem('CancelParticipationData', JSON.stringify({ allFanList, cancelledFanList, selectedColumn }));\n }\n\n saveReviewedFan(reviewedData) {\n const cancelData = {\n fanList: reviewedData.map(item => item.fanId)\n };\n //sessionStorage.setItem('ReviewedData', JSON.stringify({ reviewedData }));\n if (this.utilityService.getEnvConfig().useMock) {\n sessionStorage.setItem('ReviewedData', JSON.stringify({ reviewedData }));\n } else {\n sessionStorage.setItem('ReviewedData', JSON.stringify({ reviewedData }));\n return this.httpClientService.post(this.utilityService.getEnvConfig().submitCancelParticipation, cancelData, this.get_headers())\n .pipe(\n map((test: HttpResponse) => test)\n ,catchError( this.handleError ));\n }\n }\n\n saveUnclaimDevicesFan(allFanList, cancelledFanList, selectedColumn) {\n sessionStorage.setItem('UnclaimDevicesData', JSON.stringify({ allFanList, cancelledFanList, selectedColumn }));\n }\n\n saveRemoveDevices(removedData) {\n if (this.utilityService.getEnvConfig().useMock) {\n sessionStorage.setItem('RemovedData', JSON.stringify({ removedData }));\n //local backend call\n // return this.httpClientService.post(this.utilityService.getEnvConfig().cancelOEMUrl, removedData, this.get_headers())\n // .pipe(\n // map((test: HttpResponse) => test)\n // ,catchError( this.handleError ));\n\n } else {\n sessionStorage.setItem('RemovedData', JSON.stringify({ removedData }));\n return this.httpClientService.post(this.utilityService.getEnvConfig().cancelOEMUrl, removedData, this.get_headers())\n .pipe(\n map((test: HttpResponse) => test)\n ,catchError( this.handleError ));\n }\n }\n\n\n createPageLoadProperties(url, section2) {\n const dataLayer = {};\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FRIENDLY_PAGE_NAME] = ANALYTICS_CONSTANTS['FRIENDLY_NAME_CANCELPARTICIPATION_' + url];\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FLOW_CODE] = ANALYTICS_CONSTANTS.FLOW_CODE_CANCELPARTICIPATION;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_REPRESENTATIVE_IPADDR] = ANALYTICS_CONSTANTS.GLOBAL_USER_REPRESENTATIVE_IPADDR;\n\n // dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_LANGUAGE] = 'EN';\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_PAGE_FUNCTION] = 'Service';\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_SITE_SECTION] = 'Cancel Participation';\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_SITE_SECTION1] = section2;\n if (sessionStorage.getItem('sapmp_jwtToken') != null) {\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_LOGIN_SOURCE] = 'shoplogin';\n }\n this.adobeAnalyticsService.tag('page', dataLayer, 'Page_Load', 'pageLoad');\n }\n\n getRemovedFanData() {\n return sessionStorage.getItem('RemovedData') ? JSON.parse(sessionStorage.getItem('RemovedData')) : false;\n }\n\n getReviewedFanData() {\n return sessionStorage.getItem('ReviewedData') ? JSON.parse(sessionStorage.getItem('ReviewedData')) : false;\n }\n\n getCancelledFanData() {\n return sessionStorage.getItem('CancelParticipationData') ? JSON.parse(sessionStorage.getItem('CancelParticipationData')) : false;\n }\n\n removeCancelledFanData() {\n sessionStorage.removeItem('CancelParticipationData');\n }\n\n getUnclaimDevicesData() {\n return sessionStorage.getItem('UnclaimDevicesData') ? JSON.parse(sessionStorage.getItem('UnclaimDevicesData')) : false;\n }\n\n\n indexOfObjectbyValue(data, field, search) {\n let i = 0;\n let ind = -1;\n for (let cols of data) {\n if (cols[field] === search) {\n ind = i;\n }\n i++;\n }\n return ind;\n }\n\n handleError = (error) => {\n return throwError(error);\n }\n\n pageContent(dataurl) {\n return this.fetchJSON(dataurl);\n }\n\n pageHtml(dataurl) {\n return this.httpClientService.get(dataurl, this.get_headers())\n .pipe(\n map((test: HttpResponse) => test)\n ,catchError( this.handleError ));\n }\n\n getFANList1() {\n let fanUrl;\n if (this.utilityService.getEnvConfig().useMock) {\n \n fanUrl = \"assets/mock/dashboard/getFANListMock3.json\";\n \n } else {\n fanUrl = this.utilityService.getEnvConfig().getFANList;\n }\n return this.fetchJSON(fanUrl);\n }\n\n setProdCode(code) {\n if (code === 'KME') {\n sessionStorage.setItem('prodcode', 'Samsung Knox Mobile');\n }\n else if (code === 'ZTP') {\n sessionStorage.setItem('prodcode', 'Android™ Zero-touch');\n }\n else if (code === 'ABM') {\n sessionStorage.setItem('prodcode', 'Apple Business Manager');\n } \n }\n}\n","import { ConfirmCancelComponent } from './../confirm-cancel/confirm-cancel.component';\nimport { BreadCrumbService } from './../../../../lib/ng2-sapmp/src/ui-components/breadcrumb/breadcrumb.service';\nimport { BreadCrumbModel } from 'lib/ng2-sapmp/src/ui-components/breadcrumb';\nimport { Component, OnChanges, OnInit, ElementRef, ViewEncapsulation } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { UtilityService, AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';\nimport { GridOptionsModel, ColumnDefinitionsModel, PaginationsModel, FilterService } from 'lib/ng2-sapmp/src/ui-components/custom-grid';\nimport { CancelParticipationService } from './../shared/providers/cancel-participation.service';\nimport { FanModel } from './../shared/models/cancel-participation.model';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { PageLoaderService } from './../../../../lib/ng2-sapmp/src/ui-components/page-loader/page-loader.service';\nimport { AccordionComponent } from 'lib/ng2-sapmp/src/ui-components/accordion/accordion.component';\nimport { CANCELFANDATA } from 'config';\n\n@Component({\n selector: 'app-unclaim-devices',\n templateUrl: './unclaim-devices.component.html',\n styleUrls: ['./unclaim-devices.component.scss'],\n providers: [FilterService, CancelParticipationService, AdobeAnalyticsService],\n encapsulation: ViewEncapsulation.None\n})\n\nexport class UnclaimDevicesComponent implements OnInit {\n formName: string;\n companyId: number;\n FANList: Array;\n SelectedFANList: Array;\n gridOptions: GridOptionsModel;\n columnSelection: string;\n callingBackUrl: string;\n selectedFan: any;\n showError: boolean;\n pageContent: any;\n fanid: any;\n unclaim: boolean;\n prodcode: string;\n mdmDetails: any;\n accountemmid: any;\n accountId: any;\n prodDets: any;\n fanInfoList: any;\n\n constructor(protected cancelParticipationService: CancelParticipationService, private router: Router,\n private breadCrumbService: BreadCrumbService, private utilityService: UtilityService, private pageLoaderService: PageLoaderService,\n private adobeAnalyticsService: AdobeAnalyticsService, private route: ActivatedRoute) {\n this.companyId = 2; // Company ID four for Revised Setup (All fans)\n this.FANList = [];\n this.SelectedFANList = [];\n this.columnSelection = 'multicol';\n this.pageLoaderService.setPageLoaderStatus(false);\n }\n\n ngOnInit() {\n\n document.title = this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url];\n this.formName = 'Remove Devices';\n const totalFan = this.cancelParticipationService.getUnclaimDevicesData();\n this.unclaim = false;\n this.fanid = sessionStorage.getItem('fanID');\n if (totalFan) {\n this.FANList = totalFan.cancelledFanList;\n this.SelectedFANList = this.FANList.filter(item => item.selected === true);\n for (var i=0;i item.selected === true);\n this.pageContent = this.route.snapshot.data.pageData.cancelParticipationunclaimdevices;\n this.pageContent.selectedFans = `You've selected to remove devices from ${this.SelectedFANList.length} of the ${this.FANList.length} foundation `\n this.pageContent.selectedFans = this.pageContent.selectedFans.replace('',\n this.SelectedFANList.length === 0 ? 'accounts.' : this.SelectedFANList.length > 1 ? 'accounts.' : 'account.');\n console.log(this.pageContent.selectedFans);\n }\n\n backToCallingPage() {\n sessionStorage.removeItem('fanLength');\n sessionStorage.removeItem('CancelParticipationData');\n sessionStorage.removeItem('UnclaimDevicesData');\n const previousUrl = sessionStorage.getItem('previousRoute');\n if(previousUrl === '/cancelParticipation/unclaimdevices') {\n this.router.navigate(['cancelParticipation/unclaimdevices']);\n }\n else {\n this.router.navigate(['cancelParticipation/selectfan']);\n }\n }\n\n\n initGrid() {\n const options = new GridOptionsModel();\n options.enableSorting = false;\n options.multiSelect = true;\n options.enableBackLink = true;\n options.backLinkText = 'View all accounts';\n\n const pagination = {\n recordsPerPage: 20,\n currentPage: 1,\n isServerSide: false,\n totalRecords: this.FANList.length\n };\n\n options.Paginations = pagination;\n options.gridData = this.FANList;\n options.callbacks = {statusCellTemplate: this.statusCellTemplate};\n\n options.columnDefinitions = CANCELFANDATA.fanList[this.columnSelection].columnDefinitions;\n options.disableRow = CANCELFANDATA.fanList[this.columnSelection].rowDisable;\n options.disableRowCondition = CANCELFANDATA.fanList[this.columnSelection].rowDisableCondition;\n this.gridOptions = options;\n }\n\n\n statusCellTemplate(element, row, field, currentElem, type) {\n if (type === 'template') {\n if (row.profileName !== undefined || row.profileName !== null) {\n row.profileName = '';\n }\n this.mdmDetails = JSON.parse(sessionStorage.getItem('mdmDetails'));\n this.prodDets = JSON.parse(sessionStorage.getItem('manage-product'));\n this.fanInfoList = JSON.parse(sessionStorage.getItem('fanInfoList'));\n if(this.prodDets.emmProductCode === 'DMPGZTP'){\n this.accountemmid = this.mdmDetails.googleEmmAccountId;\n this.accountId ='ZTP ID: ' + this.accountemmid;\n }\n else if(this.prodDets.emmProductCode === 'DMPSKME'){\n this.accountemmid = this.mdmDetails.samsungEmmAccountId;\n this.accountId ='KME ID: ' + this.accountemmid;\n }\n else if(this.prodDets.emmProductCode === 'DMPAABM'){\n this.fanInfoList.forEach(element => {\n if(row.fanId === element.fan && row.productCode === element.emmProductCode){\n this.accountemmid = element.emmAccountId;\n this.accountId ='Apple Org ID: ' + this.accountemmid;\n }\n });\n }\n\n return `
${CANCELFANDATA.statusLabel[row.accountStatus] === 'ACTIVE' ? this.accountId : this.accountId }
`;\n //return `
${CANCELFANDATA.statusLabel[row.accountStatus] === 'ACTIVE' ? 'Active' : 'Active'}
`;\n //return `
${CANCELFANDATA.statusLabel[row.accountStatus] === undefined ? 'Ready for setup' : CANCELFANDATA.statusLabel[row.accountStatus]}
`;\n }\n }\n\n /* Fan selection watched here from Grid*/\n onRowClick(action) {\n this.SelectedFANList = this.FANList.filter(item => item.selected === true);\n // this.pageContent.selectedFans = this.pageContent.selectedFanTmp.replace('', this.SelectedFANList.length);\n // this.pageContent.selectedFans = this.pageContent.selectedFanTmp.replace('', this.FANList.length);\n this.pageContent.selectedFans = `You've selected to remove devices from ${this.SelectedFANList.length} of the ${this.FANList.length} foundation `\n this.pageContent.selectedFans = this.pageContent.selectedFans.replace('',\n this.SelectedFANList.length === 0 ? 'accounts.' : this.SelectedFANList.length > 1 ? 'accounts.' : 'account.');\n }\n\n unclaimReviewPage() { \n this.adobeAnalyticsService.createAdobeEventProperties('CANCELPARTICIPATION', 'SUCCESS', 'formSubmit',\n 'BC_Device_Cancel_Select_FAN_Submit', 'success', 'Success_Admit', 'Remove accounts', 'Body',\n '/businessconsole/cancelParticipation/review');\n if (this.SelectedFANList.length == 0) {\n sessionStorage.setItem('unclaimFlag', 'false');\n }\n this.cancelParticipationService.saveCancelledFAN(this.FANList, this.SelectedFANList, this.columnSelection = 'singlecol');\n //sessionStorage.setItem('unclaimFlag', 'true');\n // Adobe Analytics Success Type Starts\n this.adobeAnalyticsService.createAdobeEventProperties('CANCELPARTICIPATION', 'SUCCESS',\n 'formResponse', 'BC_Device_Cancel_Select_FAN_Submit', 'success', 'Success_Admit', 'Remove accounts',\n 'Body', '/businessconsole/cancelParticipation/review');\n // Ends\n this.router.navigate(['cancelParticipation/review']);\n }\n\n}","
\n

{{pageContent.heading}}

\n
\n
\n \n
\n
\n {{pageContent.errorMessage}}\n
\n
\n
\n
\n

{{pageContent.noFans}}

\n
\n
0\">\n

{{prodcode}}

\n
\n

{{pageContent.subhead}}

\n

{{pageContent.note}}

\n
    \n
  • {{pageContent.note1}}
  • \n
  • {{pageContent.note2}}
  • \n
\n

{{pageContent.subhead1}}

\n
\n \n

{{pageContent.selectedFans}}

\n
\n
\n \n {{pageContent.buttons.back}} \n
\n
\n
\n
\n
\n","import { Component, OnInit, OnDestroy, ElementRef } from '@angular/core';\nimport { CareComponentService } from './shared';\nimport { AuthenticationService, UtilityService } from 'lib/ng2-sapmp/src/providers';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { BreadCrumbService } from 'lib/ng2-sapmp/src/ui-components';\nimport { HeaderService } from './../header/header.service';\nimport { PageLoaderService } from '../../../lib/ng2-sapmp/src/ui-components/page-loader/';\ndeclare var GLOBAL_LOGON_URL;\n@Component({\n selector: 'app-care',\n providers: [CareComponentService],\n templateUrl: './care.component.html',\n styleUrls: ['./care.component.scss']\n})\nexport class CareComponent implements OnInit, OnDestroy {\n private ADDP_PROTAL_PATHNAME: any;\n private GOLBAL_LOGON_CALLING_URI: any;\n private ADDP_RETURN_URL_ENCODED: any;\n id: any;\n is_carelogin: String;\n elements: Array;\n private agentProfileData: any;\n private rkey: string;\n\n constructor(private authenticationService: AuthenticationService,\n private careService: CareComponentService,\n private router: Router, private route: ActivatedRoute,\n private utilityService: UtilityService,\n private pageloaderService: PageLoaderService,\n private headerService: HeaderService,\n private breadCrumbService: BreadCrumbService) {\n\n this.is_carelogin = this.authenticationService.getAuthToken('CARE_LOGON');\n this.agentProfileData = this.careService.getCareModel();\n\n this.utilityService.getPageLoadChecklist().subscribe(status => {\n if (!status &&\n document.querySelector('#userProfileInfo') &&\n document.querySelector('#hamNav')\n ) {\n var elements = document.querySelector('#userProfileInfo');\n elements.style.display = 'none';\n elements.setAttribute('tabindex', '-1');\n var elements = document.querySelector('#hamNav');\n elements.style.display = 'none';\n elements.setAttribute('tabindex', '-1');\n // this.headerService.checkCart();\n this.utilityService.setPageLoadChecklist(true);\n }\n });\n }\n\n ngOnInit() {\n this.breadCrumbService.setCurrentBreadCrumb({ label: 'Home', routerLink: '/home' });\n this.pageloaderService.setPageLoaderStatus(false);\n document.title = this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url];\n const fanId = this.router.parseUrl(this.router.url).queryParams['fanInContext'];\n const client = this.router.parseUrl(this.router.url).queryParams['client'];\n const rkey = this.router.parseUrl(this.router.url).queryParams['rkey'];\n const attId = this.router.parseUrl(this.router.url).queryParams['attId'];\n const myattUserId = this.router.parseUrl(this.router.url).queryParams['myattUserId'];\n const attESSec = this.authenticationService.getCookie('attESSec');\n const attESHr = this.authenticationService.getCookie('attESHr');\n\n this.rkey = (rkey) ? rkey : (client) ? client : '';\n \n\n // if (client && attId) {\n // //PREMIER LIC FLOW\n // sessionStorage.setItem('client', client);\n // sessionStorage.setItem('attId', attId);\n // if (fanId) {\n // this.careLogin(fanId);\n // this.authenticationService.setLoginSuccessUrl('/dashboard');\n // } else {\n // this.careLoginNoID();\n // }\n // } else {\n // this.router.navigate(['care/home'])\n // }\n if(fanId) {\n this.router.navigate(['care/searchFan']);\n sessionStorage.setItem('fanInContext', fanId);\n }\n }\n\n gloablLogin() {\n this.ADDP_PROTAL_PATHNAME = window.location.href;\n this.ADDP_RETURN_URL_ENCODED = encodeURIComponent(this.ADDP_PROTAL_PATHNAME);\n this.GOLBAL_LOGON_CALLING_URI = GLOBAL_LOGON_URL + this.ADDP_RETURN_URL_ENCODED + '&encReturnURL&sysName=CSP';\n window.location.href = this.GOLBAL_LOGON_CALLING_URI;\n this.pageloaderService.setPageLoaderStatus(true);\n }\n\n // LIC (care) login\n careLogin(fanId) {\n const loginSuccessUrl = this.authenticationService.getLoginSuccessUrl();\n const rkey = loginSuccessUrl ? loginSuccessUrl.replace('home', '/care') : '/dashboard-title';\n this.authenticationService.careServiceLogin(this.router.parseUrl(this.router.url).queryParams['fanInContext'], loginSuccessUrl)\n .subscribe(resp => {\n if (resp.jwtToken !== null && resp.jwtToken !== '' && resp.jwtToken !== undefined) {\n this.authenticationService.setAuthToken('authToken', resp.jwtToken);\n sessionStorage.setItem('sapmp_jwtToken', resp.jwtToken);\n if(!sessionStorage.getItem('sessionId')){\n sessionStorage.setItem('sessionId', resp.sessionId);\n }\n this.agentProfileData.agentName = resp.agentName;\n this.agentProfileData.customerName = resp.customerName;\n this.agentProfileData.agentUserId = resp.agentUserId;\n this.agentProfileData.customerEmail = resp.customerEmail;\n this.agentProfileData.tcmAopEmailAddress = resp.tcmAopEmailAddress;\n this.agentProfileData.searchFan = '';\n this.careService.setCareModel(this.agentProfileData);\n this.router.navigate(['care/dashboardTitle'], { queryParams: { 'fanInContext': fanId } });\n }else if (resp.errorCode) {\n this.handleFanError(resp.errorCode);\n }\n }, error => {\n this.handleLoginError();\n });\n}\n\ncareLoginNoID() {\n const loginSuccessUrl = this.authenticationService.getLoginSuccessUrl();\n const rkey = loginSuccessUrl ? loginSuccessUrl.replace('home', '/care') : '/search-fan';\n this.authenticationService.careServiceLoginNoID(loginSuccessUrl)\n .subscribe(resp => {\n if (resp.jwtToken !== null && resp.jwtToken !== '' && resp.jwtToken !== undefined) {\n this.authenticationService.setAuthToken('authToken', resp.jwtToken);\n sessionStorage.setItem('sapmp_jwtToken', resp.jwtToken);\n if(!sessionStorage.getItem('sessionId')){\n sessionStorage.setItem('sessionId', resp.sessionId);\n }\n this.agentProfileData.agentName = resp.agentName;\n this.agentProfileData.customerName = resp.customerName;\n this.careService.setCareModel(this.agentProfileData);\n this.router.navigate(['/care/searchFan']);\n } else if (resp.errorCode) {\n this.handleFanError(resp.errorCode);\n }\n }, error => {\n this.handleLoginError();\n });\n}\n handleLoginError() {\n /** need to handle error scenarios */\n this.pageloaderService.setPageLoaderStatus(true);\n setTimeout(() => { this.headerService.logoutDeleteSession(); }, 5000);\n this.router.navigate(['errorPage', '500']);\n };\n handleFanError(errorCode) {\n this.pageloaderService.setPageLoaderStatus(true);\n this.router.navigate(['errorPage', errorCode]);\n }\n ngOnDestroy() {\n }\n}\n","

","import { Component } from '@angular/core';\n// import { IHeaderAngularComp } from 'ag-grid-angular';\n// import { IHeaderParams } from 'ag-grid-community';\n// import { HeaderService } from 'app/pages/header/header.service';\nimport { ITooltipAngularComp } from 'ag-grid-angular';\nimport { ITooltipParams } from 'ag-grid-community';\n\n@Component({\n selector: 'app-custom-header',\n templateUrl: './custom-header.component.html',\n styleUrls: ['./custom-header.component.scss']\n})\nexport class CustomHeaderComponent implements ITooltipAngularComp {\n public params: ITooltipParams;\n agInit(params: ITooltipParams): void {\n console.log('params', params);\n this.params = params;\n }\n\n}\n","
","import { CareComponent } from './../care.component';\nimport { FormConfigurationModel } from './../../../../lib/ng2-sapmp/src/ui-components/form-builder/form-configuration.model';\nimport { Component, ApplicationRef, Directive, Input, OnChanges, OnInit, OnDestroy, AfterViewInit, AfterViewChecked } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { UtilityService, AuthenticationService } from 'lib/ng2-sapmp/src/providers';\nimport { CareComponentService } from '../shared';\nimport { FormBuilder, Validators, FormControl, FormGroup } from '@angular/forms';\nimport { BreadCrumbModel, BreadCrumbService } from 'lib/ng2-sapmp/src/ui-components';\nimport { MDMDetails } from './../../../models/product';\nimport { Router, ActivatedRoute, Params } from '@angular/router';\nimport { BREADCRUMBS, PREMIER_AUTHFAILURE_REDIRECT } from 'config';\nimport { PageLoaderService } from '../../../../lib/ng2-sapmp/src/ui-components/page-loader';\nimport { throwError } from 'rxjs';\nimport { CareModel } from '../shared';\n\nimport { ENV, ADDP_PERMISSION_MAPPING } from 'config';\n\n@Component({\n selector: 'app-dashboard-title',\n templateUrl: './dashboard-title.component.html',\n styleUrls: ['./dashboard-title.component.scss'],\n providers: [CareComponentService],\n})\nexport class DashboardTitleComponent implements OnInit, OnDestroy {\n private showSingleFan: boolean;\n public showErrors: boolean;\n public pageJson: any;\n public showData: boolean;\n public dashBoardForm: any;\n public source: string;\n public user: any;\n errorMessage: string;\n public clientIPAddress: string;\n private customerFan: any;\n private customerName: any;\n private customerEmail: any;\n private customerLaunchmode: String;\n private agentSingleFan: any;\n private agentProfileData: any;\n private showResetOption: boolean;\n mdmDetails: MDMDetails;\n\n constructor(private parentRouter: Router,\n private breadCrumbService: BreadCrumbService,\n private formBuilder: FormBuilder,\n private pageloaderService: PageLoaderService,\n private authenticationService: AuthenticationService,\n private router: Router,\n private route: ActivatedRoute, private utilityService: UtilityService, private careService: CareComponentService) {\n this.showErrors = false;\n this.careService = careService;\n this.customerLaunchmode = 'singleFan';\n this.mdmDetails = new MDMDetails();\n }\n\n ngOnInit() {\n document.title = this.utilityService.getPageTitleConfig()['/care/dashboard-title'];\n\n if (this.router.routerState.snapshot.url !== '/care/dashboardTitle') {\n this.breadCrumbService.setSource('/Customer data');\n this.breadCrumbService.setCurrentBreadCrumb({ label: 'Customer data', routerLink: 'care/dashboardTitle'});\n } else {\n this.breadCrumbService.setCurrentBreadCrumb({ label: 'Customer data', routerLink: 'care/dashboardTitle'});\n }\n\n this.dashBoardForm = new FormGroup({\n email: new FormControl('', [Validators.required,\n Validators.pattern('[a-zA-Z0-9.-_]{1,}@[a-zA-Z.-]{2,}[.]{1}[a-zA-Z]{2,}')]),\n fan: new FormControl('singleFan', [Validators.required])\n });\n\n this.pageloaderService.setPageLoaderStatus(false);\n // this.careService.doRequestCareService(this.utilityService.getEnvConfig().getCarePageConfigUrl)\n // .subscribe(respobj => {\n this.pageJson = this.route.snapshot.data.pageData.caredashboardTitle.caredashboardTitle;\n this.pageloaderService.setPageLoaderStatus(true);\n this.showData = true;\n this.agentProfileData = this.careService.getCareModel();\n if (!this.agentProfileData.searchFan) {\n const param = this.router.parseUrl(this.router.url).queryParams['fanInContext'];\n if (!param) {\n this.showResetOption = true;\n this.pageloaderService.setPageLoaderStatus(false);\n this.router.navigate(['searchFan'], { relativeTo: this.route.parent });\n } else {\n this.agentSingleFan = param;\n this.showResetOption = true;\n this.showSingleFan = true;\n this.createPageValidation();\n }\n } else {\n if (this.agentProfileData.showResetOption === true) {\n this.dashBoardForm.controls['email'].setValue('');\n this.agentProfileData.selectedLaunchMode = '';\n } else if (this.agentProfileData.selectedLaunchMode !== '') {\n this.dashBoardForm.controls['email'].setValue(this.agentProfileData.customerEmail);\n this.customerLaunchmode = this.agentProfileData.selectedLaunchMode;\n this.dashBoardForm.controls['fan'].validator = Validators.nullValidator;\n }\n this.agentSingleFan = this.agentProfileData.searchFan;\n this.showResetOption = true;\n this.showSingleFan = true;\n this.createPageValidation();\n }\n // }, error => {\n // this.handleError(error);\n // });\n }\n\n handleError(error) {\n this.showErrors = true;\n return throwError(error);\n }\n\n next() {\n const email = this.dashBoardForm.value.email;\n let flag = '';\n let url = '';\n\n this.agentProfileData.searchFan = this.agentSingleFan;\n this.agentProfileData.customerEmail = email;\n this.agentProfileData.selectedLaunchMode = this.customerLaunchmode;\n this.agentProfileData.showResetOption = this.showResetOption;\n\n console.log(this.agentProfileData);\n\n if (!this.utilityService.getEnvConfig().useMock) {\n url = this.utilityService.getEnvConfig().careUpdateEmail;\n }else {\n url = this.utilityService.getEnvConfig().careUpdateEmailMock;\n }\n\n if (this.customerLaunchmode === 'singleFan') {\n this.careService.UpdateEmail(url, this.agentProfileData)\n .subscribe(respobj => {\n if (respobj.errorDescription) {\n this.errorMessage = respobj.errorDescription;\n this.showErrors = true;\n this.pageloaderService.setPageLoaderStatus(true);\n }else {\n sessionStorage.setItem('sapmp_jwtToken', respobj.jwtToken);\n this.careService.setCareModel(this.agentProfileData);\n this.authenticationService.careUserProfile()\n .subscribe(respobj1 => {\n this.source = 'care';\n this.user = this.authenticationService.getProfileModel(respobj1.profile);\n this.user.clientIPAddress = this.clientIPAddress;\n if (this.user.addpAuthority !== 'NONE') {\n this.authenticationService.getFanSignedUpStatus()\n .subscribe(resp => {\n sessionStorage.setItem('initialSignupStatus', resp.initialSignupStatus);\n sessionStorage.setItem('noOfDevice', resp.noOfDevices);\n if(!resp.efotaFansSummary) {\n sessionStorage.setItem('efotaEnrolledFanList', '[]');\n }\n else {\n let efotaFansSum = resp.efotaFansSummary;\n let efotaEnrolledFanList = [];\n for(let i = 0 ; i < efotaFansSum.length ; i++) {\n if(efotaFansSum[i].status == \"ACTIVE\") {\n for(let j = 0 ; j < efotaFansSum[i].count ; j++) {\n efotaEnrolledFanList.push(efotaFansSum[i].fans[j]);\n }\n }\n }\n sessionStorage.setItem('efotaEnrolledFanList', JSON.stringify(efotaEnrolledFanList));\n }\n if(!resp.efotaNotEnrolledFanList) {\n sessionStorage.setItem('efotaNotEnrolledFanList', '[]');\n sessionStorage.setItem('efotaEnrollmentInfo','[]');\n }\n else {\n sessionStorage.setItem('efotaEnrollmentInfo',JSON.stringify(resp.efotaEnrollmentInfo));\n sessionStorage.setItem('efotaNotEnrolledFanList', JSON.stringify(resp.efotaNotEnrolledFanList));\n }\n\n if (resp.allFansInEligible === true) {\n this.user.fanSignedUpStatus = 'NotEligible';\n // if(resp.noOfFans == 0 && resp.noOfDevices == 0 ){\n // this.user.fanSignedUpStatus = 'Unknown';\n // }\n } else {\n if(resp.fansSummary.length > 0) {\n let signupFanSum = resp.fansSummary;\n let signupFanList = [];\n let processingFanList = [];\n for(let i=0; i< signupFanSum.length; i++) {\n if(signupFanSum[i].status == \"AWAITING_SIGNUP\") {\n for(let j = 0 ; j < signupFanSum[i].count ; j++) {\n signupFanList.push(signupFanSum[i].fans[j]);\n }\n }\n }\n sessionStorage.setItem('signupFanList', JSON.stringify(signupFanList));\n //for 'processing' fans\n for(let i=0; i< signupFanSum.length; i++) {\n if(signupFanSum[i].status == \"PROCESSING\") {\n for(let j = 0 ; j < signupFanSum[i].count ; j++) {\n //processingFanList.push(signupFanSum[i].fans[j]);\n //getting fan info of 'processing' fan to store in session storage\n for(let k=0; k < resp.fanInfoList.length; k++) {\n if (signupFanSum[i].fans[j] === resp.fanInfoList[k].fan) {\n processingFanList.push(resp.fanInfoList[k]);\n }\n }\n }\n }\n }\n sessionStorage.setItem('processingFanList', JSON.stringify(processingFanList));\n }\n if (this.user) {\n this.user.fanSignedUpStatus = this.getFanSignedUpStatus(resp.fansSummary);\n }\n if (resp.productCode !== null && resp.productCode !== undefined) {\n this.mdmDetails.productCode = resp.productCode;\n this.mdmDetails.latestAccountType = resp.recentlyEnrolledProduct;\n if (this.mdmDetails.productCode === 'ADDPMDM') {\n this.mdmDetails.ibmEmmAccountId = resp.ibmEmmAccountId;\n let productDetails = { emmProductCode: '', selectedAccID: '', signupEmmStatus: '' };\n productDetails.emmProductCode = 'ADDPMDM';\n productDetails.selectedAccID = resp.ibmEmmAccountId;\n productDetails.signupEmmStatus = 'revised';\n sessionStorage.setItem('manage-product', JSON.stringify(productDetails));\n }else {\n if (resp.googleEmmAccountId !== null && resp.googleEmmAccountId !== undefined) {\n this.mdmDetails.googleEmmAccountId = resp.googleEmmAccountId;\n }\n if (resp.samsungEmmAccountId !== null && resp.samsungEmmAccountId !== undefined) {\n this.mdmDetails.samsungEmmAccountId = resp.samsungEmmAccountId;\n }\n if (resp.fanInfoList !== null && resp.fanInfoList !== undefined) {\n sessionStorage.setItem('fanInfoList', JSON.stringify(resp.fanInfoList));\n }\n }\n sessionStorage.setItem('mdmDetails', JSON.stringify(this.mdmDetails));\n }\n }\n this.authenticationService.setUser(this.user);\n sessionStorage.setItem('permissions', JSON.stringify(respobj1.permissions));\n const roleFanStaus = this.user.addpAuthority + '_' + this.user.fanSignedUpStatus;\n const redirectInfo = ADDP_PERMISSION_MAPPING[roleFanStaus];\n if (redirectInfo) {\n this.authenticationService.setLandingPageRoute('/' + redirectInfo.logonurl);\n }\n // this.loginSuccessRedirect();\n this.router.navigate(['dashboard']);\n }, error => {\n this.user.fanSignedUpStatus = 'Error';\n this.authenticationService.setUser(this.user);\n sessionStorage.setItem('permissions', JSON.stringify(respobj1.permissions));\n const roleFanStaus = this.user.addpAuthority + '_' + this.user.fanSignedUpStatus;\n const redirectInfo = ADDP_PERMISSION_MAPPING[roleFanStaus];\n if (redirectInfo) {\n this.authenticationService.setLandingPageRoute('/' + redirectInfo.logonurl);\n }\n this.router.navigate(['dashboard']);\n });\n } else {\n this.authenticationService.setUser(this.user);\n const roleFanStaus = this.user.addpAuthority + '_' + this.user.fanSignedUpStatus;\n const redirectInfo = ADDP_PERMISSION_MAPPING[roleFanStaus];\n if (redirectInfo) {\n this.authenticationService.setLandingPageRoute('/' + redirectInfo.logonurl);\n }\n sessionStorage.setItem('permissions', JSON.stringify(respobj1.permissions));\n // this.loginSuccessRedirect();\n this.router.navigate(['dashboard']);\n }\n // this.router.navigate(['dashboard']);\n }, error => {\n this.errorMessage = 'Something went wrong. Please try again later.';\n this.handleError(error);\n });\n }\n }, error => {\n this.handleError(error);\n });\n }else {\n if (this.agentProfileData.tcmAopEmailAddress == null || this.agentProfileData.tcmAopEmailAddress === '') {\n this.errorMessage = 'This account does not have an authorized user for the device management program.';\n this.showErrors = true;\n } else if (email !== (this.agentProfileData.tcmAopEmailAddress.filter(emailAddress => {\n if (emailAddress === this.dashBoardForm.value.email) {\n flag = emailAddress;\n return flag;\n }\n }) ? flag : '')) {\n this.errorMessage = 'You have entered the wrong email address or the provided email ' +\n 'is not authorized for the entered foundation account. Please enter a different email.';\n this.showErrors = true;\n } else {\n this.careService.UpdateEmail(url, this.agentProfileData)\n .subscribe(respobj => {\n if (respobj.errorDescription) {\n this.errorMessage = respobj.errorDescription;\n this.showErrors = true;\n this.pageloaderService.setPageLoaderStatus(true);\n }else {\n sessionStorage.setItem('sapmp_jwtToken', respobj.jwtToken);\n this.agentProfileData.customerEmail = email;\n this.careService.setCareModel(this.agentProfileData);\n this.router.navigate(['selectFanTable'], { relativeTo: this.route.parent });\n }\n }, error => {\n this.handleError(error);\n });\n }\n }\n // }\n }\n\n AfterViewInit() {\n this.showSingleFan = false;\n }\n\n setOptionValue(option) {\n this.customerLaunchmode = option;\n // if(option==\"singleFan\"){\n // this.dashBoardForm.controls['email'].validator = Validators.nullValidator;\n\n // }\n // else{\n // this.dashBoardForm.controls['email'].validator = Validators.compose([\n // Validators.required,Validators.pattern('[a-zA-Z0-9.-_]{1,}@[a-zA-Z.-]{2,}[.]{1}[a-zA-Z]{2,}')]);\n // }\n // this.dashBoardForm.controls['email'].updateValueAndValidity();\n\n }\n\n editMessage() {\n if (this.showResetOption) {\n this.router.navigate(['searchFan'], { relativeTo: this.route.parent });\n }\n }\n createPageValidation() {\n this.dashBoardForm = this.formBuilder.group({\n // 'name': this.name,\n 'email': this.dashBoardForm.controls['email'],\n 'fan': this.dashBoardForm.controls['fan']\n });\n }\n\n ngOnDestroy() {\n this.pageloaderService.setPageLoaderStatus(true);\n // Alert initialization on login\n const event = document.createEvent('Event');\n event.initEvent('userLogged', true, true);\n document.dispatchEvent(event);\n }\n\n getFanSignedUpStatus(fansSummary) {\n let fanSignedUpStatus = 'NONE';\n if (fansSummary) {\n const signedUpFansCount = fansSummary.\n filter((f) => { return f.status === 'ACTIVE' || f.status === 'READY_TO_SETUP'; }).length;\n const notSignedUpFansCount = fansSummary.\n filter((f) => { return f.status === 'PROCESSING' || f.status === 'AWAITING_SIGNUP'; }).length;\n if (signedUpFansCount > 0 && notSignedUpFansCount > 0) {\n fanSignedUpStatus = 'SOME';\n } else if (signedUpFansCount > 0 && notSignedUpFansCount === 0) {\n fanSignedUpStatus = 'ALL';\n } else {\n fanSignedUpStatus = 'NONE';\n }\n }\n return fanSignedUpStatus;\n }\n\n}\n","
\n
\n
\n \n
\n
\n {{errorMessage}}\n
\n
\n\n
\n
\n
\n

Customer data

\n

Welcome, {{agentProfileData.agentName}}

\n

Current customer data

\n
\n
\n \n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n \n
\n
\n
\n

Launch mode

\n
\n \n
\n
\n
\n
\n
\n \n
\n
\n
\n
","export * from './dashboard-title.component';\n","export * from './care.component';\nexport * from './dashboard-title';\nexport * from './search-fan';\nexport * from './shared';\nexport * from './select-fan-table';\nexport * from './whiteListsAdmin' ;","export * from './search-fan.component';\n","import { FormConfigurationModel } from './../../../../lib/ng2-sapmp/src/ui-components/form-builder/form-configuration.model';\nimport { Component, OnChanges, OnInit, OnDestroy, AfterViewInit, AfterViewChecked } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { UtilityService, AuthenticationService } from 'lib/ng2-sapmp/src/providers';\nimport { CareComponentService } from '../shared';\nimport { FormBuilder, Validators, FormControl, FormGroup } from '@angular/forms';\nimport { BreadCrumbModel, BreadCrumbService } from 'lib/ng2-sapmp/src/ui-components';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { BREADCRUMBS, ADDP_PERMISSION_MAPPING } from 'config';\nimport { PageLoaderService } from '../../../../lib/ng2-sapmp/src/ui-components/page-loader';\nimport { throwError } from 'rxjs';\nimport { CareModel } from '../shared';\nimport { MDMDetails } from 'app/models';\n\n@Component({\n selector: 'app-search-fan',\n templateUrl: './search-fan.component.html',\n styleUrls: ['./search-fan.component.scss'],\n providers: [CareComponentService]\n})\n\nexport class SearchFanComponent implements OnInit {\n public showErrors: boolean;\n public pageJson: any;\n public showData: boolean;\n public searchFanForm: FormGroup;\n private agentSingleFan: any;\n private fanId: number;\n public msg: any;\n public fanPattern = new RegExp(\"^[0-9]{8}$\");\n public emailPattern = new RegExp(\"^[a-zA-Z0-9._%-]+@[a-zA-Z0-9._%-]+\\.[a-zA-Z]{2,6}$\");\n public disableSubmit = true;\n private agentProfileData: any;\n public isFanEmpty: boolean;\n public isEmailEmpty: boolean;\n public isFanInvalid: boolean;\n public isEmailInvalid: boolean;\n public fanErrorMessage: any;\n public emailErrorMessage: any;\n public fanInContext: any;\n public showEdit: boolean;\n public user: any;\n mdmDetails: MDMDetails;\n errorMessage: string;\n adminName;\n\n constructor(private parentRouter: Router,\n private breadcrumb: BreadCrumbService,\n private formBuilder: FormBuilder,\n private authenticationService: AuthenticationService,\n private router: Router,\n private pageloaderService: PageLoaderService,\n private route: ActivatedRoute, private utilityService: UtilityService, private careService: CareComponentService) {\n let profileInfo = JSON.parse(sessionStorage.getItem('profileAndPermsInfo'));\n let showPage = this.utilityService.checkPagePermission('admindashboard.lic', profileInfo.permissions.perm);\n if(showPage == false) {\n this.router.navigate(['restrictedUser']);\n }\n this.showErrors = false;\n this.careService = careService;\n this.mdmDetails = new MDMDetails();\n this.fanInContext = sessionStorage.getItem('fanInContext');\n if (this.fanPattern.test(this.fanInContext)) {\n this.showEdit = true;\n }\n else {\n this.showEdit = false;\n this.fanInContext = \"\";\n }\n let userJson = JSON.parse(sessionStorage.getItem('user'));\n if((userJson.user.firstName.length > 0 && userJson.user.firstName != 'NOT_FOUND') && (userJson.user.lastName.length > 0 && userJson.user.lastName != 'NOT_FOUND')) {\n this.adminName = userJson.user.firstName + \" \" + userJson.user.lastName;\n }\n else if((userJson.user.firstName.length > 0 && userJson.user.firstName != 'NOT_FOUND') && (userJson.user.lastName.length == 0 || userJson.user.lastName == 'NOT_FOUND')) {\n this.adminName = userJson.user.firstName;\n } \n else if((userJson.user.firstName.length == 0 || userJson.user.firstName == 'NOT_FOUND') && (userJson.user.lastName.length > 0 && userJson.user.lastName != 'NOT_FOUND')) {\n this.adminName = userJson.user.lastName;\n }\n else {\n this.adminName = \"Unknown\";\n }\n }\n\n ngOnInit() {\n document.title = this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url];\n this.searchFanForm = new FormGroup({\n anyFan: new FormControl('', [Validators.required, Validators.pattern('[0-9]{1,10}')]),\n anyEmail: new FormControl('', [Validators.required])\n });\n this.isFanEmpty = false;\n this.isEmailEmpty = false;\n this.isFanInvalid = false;\n this.isEmailInvalid = false;\n this.fanErrorMessage = \"\";\n this.emailErrorMessage = \"\";\n const breadcrumb = new BreadCrumbModel();\n breadcrumb.label = 'Select foundation account';\n breadcrumb.routerLink = 'care/searchFan';\n this.breadcrumb.setCurrentBreadCrumb(breadcrumb);\n\n this.pageloaderService.setPageLoaderStatus(false);\n // this.careService.doRequestCareService(this.utilityService.getEnvConfig().getSearchFanPageConfigUrl)\n // .subscribe(respobj => {\n this.pageJson = this.route.snapshot.data.pageData.caresearchFan;\n this.pageloaderService.setPageLoaderStatus(true);\n this.showData = true;\n\n // this.searchFanForm = this.formBuilder.group({\n // anyFan : this.searchFanForm.controls['anyFan']\n // });\n\n this.agentProfileData = this.careService.getCareModel();\n // }, error => {\n // this.handleError(error);\n // });\n }\n\n displayEdit() {\n sessionStorage.removeItem(\"fanInContext\");\n this.fanInContext = \"\";\n this.showEdit = false;\n }\n\n checkFan(event) {\n if (this.searchFanForm.value.anyFan == '') {\n this.isFanEmpty = true;\n this.isFanInvalid = false;\n }\n else if (!this.fanPattern.test(this.searchFanForm.value.anyFan)) {\n this.isFanEmpty = false;\n this.isFanInvalid = true;\n }\n else {\n this.isFanEmpty = false;\n this.isFanInvalid = false;\n }\n }\n\n checkEmail(event) {\n if (this.searchFanForm.value.anyEmail == '') {\n this.isEmailEmpty = true;\n this.isEmailInvalid = false;\n }\n else if (!this.emailPattern.test(this.searchFanForm.value.anyEmail)) {\n this.isEmailEmpty = false;\n this.isEmailInvalid = true;\n }\n else {\n this.isEmailEmpty = false;\n this.isEmailInvalid = false;\n }\n }\n\n ngDoCheck() {\n if (this.fanInContext && this.fanInContext.length === 8) {\n if (this.fanPattern.test(this.fanInContext) && this.emailPattern.test(this.searchFanForm.value.anyEmail)) {\n this.disableSubmit = false;\n }\n else {\n this.disableSubmit = true;\n }\n }\n else {\n if (this.fanPattern.test(this.searchFanForm.value.anyFan) && this.emailPattern.test(this.searchFanForm.value.anyEmail)) {\n this.disableSubmit = false;\n }\n else {\n this.disableSubmit = true;\n }\n }\n }\n\n\n handleError(error) {\n if (error) {\n if (error.status === 404) {\n this.errorMessage = \"User profile is missing.\";\n }\n else {\n this.errorMessage = \"Something went wrong. Please try again later.\";\n }\n }\n this.showErrors = true;\n return throwError(error);\n }\n\n next() {\n this.pageloaderService.setPageLoaderStatus(false);\n if (this.disableSubmit === false) {\n // this.agentProfileData.agentUserId = this.fanInContext;\n // this.agentProfileData.customerEmail = this.searchFanForm.value.anyEmail;\n let fan;\n if (!this.showEdit) {\n fan = this.searchFanForm.value.anyFan;\n }\n else {\n fan = this.fanInContext;\n }\n let customerEmail = this.searchFanForm.value.anyEmail;\n // let url = '';\n // if (!this.utilityService.getEnvConfig().useMock) {\n // url = this.utilityService.getEnvConfig().careSearchFanUrl + this.agentProfileData.searchFan;\n // }else {\n // url = this.utilityService.getEnvConfig().careSearchFanUrlMock;\n // } \n let url = this.utilityService.getEnvConfig().updateProfile;\n this.careService.updateProfile(url, fan, customerEmail)\n .subscribe(respobj => {\n // this.agentProfileData.customerName = respobj.customerName;\n // this.agentProfileData.customerEmail = respobj.customerEmail;\n // this.agentProfileData.agentUserId = respobj.agentUserId;\n // this.agentProfileData.tcmAopEmailAddress = respobj.tcmAopEmailAddress;\n // this.agentProfileData.showEdit = true;\n // this.agentProfileData.selectedLaunchMode = '';\n // this.agentProfileData.showResetOption = '';\n // this.careService.setCareModel(this.agentProfileData);\n // this.authenticationService.setAuthToken('authToken', respobj.jwtToken);\n // sessionStorage.setItem('sapmp_jwtToken', respobj.jwtToken);\n\n this.authenticationService.getUserDetails()\n .subscribe(resp => {\n let profileAndPermsInfo = JSON.parse(sessionStorage.getItem('profileAndPermsInfo'));\n this.user = this.authenticationService.getProfileModel(profileAndPermsInfo.profile);\n if (this.user.addpAuthority != 'NONE') {\n this.authenticationService.getFanSignedUpStatus()\n .subscribe(resp => {\n sessionStorage.setItem('initialSignupStatus', resp.initialSignupStatus);\n sessionStorage.setItem('noOfDevice', resp.noOfDevices);\n if (!resp.efotaFansSummary) {\n sessionStorage.setItem('efotaEnrolledFanList', '[]');\n }\n else {\n let efotaFansSum = resp.efotaFansSummary;\n let efotaEnrolledFanList = [];\n for (let i = 0; i < efotaFansSum.length; i++) {\n if (efotaFansSum[i].status == \"ACTIVE\") {\n for (let j = 0; j < efotaFansSum[i].count; j++) {\n efotaEnrolledFanList.push(efotaFansSum[i].fans[j]);\n }\n }\n }\n sessionStorage.setItem('efotaEnrolledFanList', JSON.stringify(efotaEnrolledFanList));\n }\n if (!resp.efotaNotEnrolledFanList) {\n sessionStorage.setItem('efotaNotEnrolledFanList', '[]');\n sessionStorage.setItem('efotaEnrollmentInfo', '[]');\n }\n else {\n sessionStorage.setItem('efotaEnrollmentInfo', JSON.stringify(resp.efotaEnrollmentInfo));\n sessionStorage.setItem('efotaNotEnrolledFanList', JSON.stringify(resp.efotaNotEnrolledFanList));\n }\n\n if (resp.allFansInEligible === true) {\n this.user.fanSignedUpStatus = 'NotEligible';\n // if(resp.noOfFans == 0 && resp.noOfDevices == 0 ){\n // this.user.fanSignedUpStatus = 'Unknown';\n // }\n } else {\n if (resp.fansSummary.length > 0) {\n let signupFanSum = resp.fansSummary;\n let signupFanList = [];\n let processingFanList = [];\n for (let i = 0; i < signupFanSum.length; i++) {\n if (signupFanSum[i].status == \"AWAITING_SIGNUP\") {\n for (let j = 0; j < signupFanSum[i].count; j++) {\n signupFanList.push(signupFanSum[i].fans[j]);\n }\n }\n }\n sessionStorage.setItem('signupFanList', JSON.stringify(signupFanList));\n //for 'processing' fans\n for (let i = 0; i < signupFanSum.length; i++) {\n if (signupFanSum[i].status == \"PROCESSING\") {\n for (let j = 0; j < signupFanSum[i].count; j++) {\n //processingFanList.push(signupFanSum[i].fans[j]);\n //getting fan info of 'processing' fan to store in session storage\n for (let k = 0; k < resp.fanInfoList.length; k++) {\n if (signupFanSum[i].fans[j] === resp.fanInfoList[k].fan) {\n processingFanList.push(resp.fanInfoList[k]);\n }\n }\n }\n }\n }\n sessionStorage.setItem('processingFanList', JSON.stringify(processingFanList));\n }\n if (this.user) {\n this.user.fanSignedUpStatus = this.getFanSignedUpStatus(resp.fansSummary);\n }\n if (resp.productCode !== null && resp.productCode !== undefined) {\n this.mdmDetails.productCode = resp.productCode;\n this.mdmDetails.latestAccountType = resp.recentlyEnrolledProduct;\n if (this.mdmDetails.productCode === 'ADDPMDM') {\n this.mdmDetails.ibmEmmAccountId = resp.ibmEmmAccountId;\n let productDetails = { emmProductCode: '', selectedAccID: '', signupEmmStatus: '' };\n productDetails.emmProductCode = 'ADDPMDM';\n productDetails.selectedAccID = resp.ibmEmmAccountId;\n productDetails.signupEmmStatus = 'revised';\n sessionStorage.setItem('manage-product', JSON.stringify(productDetails));\n } else {\n if (resp.googleEmmAccountId !== null && resp.googleEmmAccountId !== undefined) {\n this.mdmDetails.googleEmmAccountId = resp.googleEmmAccountId;\n }\n if (resp.samsungEmmAccountId !== null && resp.samsungEmmAccountId !== undefined) {\n this.mdmDetails.samsungEmmAccountId = resp.samsungEmmAccountId;\n }\n if (resp.fanInfoList !== null && resp.fanInfoList !== undefined) {\n sessionStorage.setItem('fanInfoList', JSON.stringify(resp.fanInfoList));\n }\n }\n sessionStorage.setItem('mdmDetails', JSON.stringify(this.mdmDetails));\n }\n }\n this.authenticationService.setUser(this.user);\n sessionStorage.setItem('permissions', JSON.stringify(profileAndPermsInfo.permissions));\n const roleFanStaus = this.user.addpAuthority + '_' + this.user.fanSignedUpStatus;\n const redirectInfo = ADDP_PERMISSION_MAPPING[roleFanStaus];\n if (redirectInfo) {\n this.authenticationService.setLandingPageRoute('/' + redirectInfo.logonurl);\n }\n this.pageloaderService.setPageLoaderStatus(true);\n this.router.navigate(['dashboard']);\n }, error => {\n this.user.fanSignedUpStatus = 'Error';\n this.authenticationService.setUser(this.user);\n sessionStorage.setItem('permissions', JSON.stringify(profileAndPermsInfo.permissions));\n const roleFanStaus = this.user.addpAuthority + '_' + this.user.fanSignedUpStatus;\n const redirectInfo = ADDP_PERMISSION_MAPPING[roleFanStaus];\n if (redirectInfo) {\n this.authenticationService.setLandingPageRoute('/' + redirectInfo.logonurl);\n }\n this.pageloaderService.setPageLoaderStatus(true);\n this.router.navigate(['dashboard']);\n });\n }\n else {\n this.authenticationService.setUser(this.user);\n const roleFanStaus = this.user.addpAuthority + '_' + this.user.fanSignedUpStatus;\n const redirectInfo = ADDP_PERMISSION_MAPPING[roleFanStaus];\n if (redirectInfo) {\n this.authenticationService.setLandingPageRoute('/' + redirectInfo.logonurl);\n }\n sessionStorage.setItem('permissions', JSON.stringify(profileAndPermsInfo.permissions));\n // this.loginSuccessRedirect();\n this.pageloaderService.setPageLoaderStatus(true);\n this.router.navigate(['dashboard']);\n }\n // sessionStorage.setItem('sapmp_jwtToken', resp.jwtToken);\n // this.router.navigate(['dashboard']);\n }, error => {\n this.pageloaderService.setPageLoaderStatus(true);\n this.handleError(error);\n });\n // this.router.navigate(['dashboardTitle'], { relativeTo: this.route.parent });\n }, error => {\n // this.errorMessage = \"Something went wrong. We couldn't process your request. Please try again later.\";\n this.pageloaderService.setPageLoaderStatus(true);\n this.handleError(error);\n });\n\n }\n }\n\n getFanSignedUpStatus(fansSummary) {\n let fanSignedUpStatus = 'NONE';\n if (fansSummary) {\n const signedUpFansCount = fansSummary.\n filter((f) => { return f.status === 'ACTIVE' || f.status === 'READY_TO_SETUP'; }).length;\n const notSignedUpFansCount = fansSummary.\n filter((f) => { return f.status === 'PROCESSING' || f.status === 'AWAITING_SIGNUP'; }).length;\n if (signedUpFansCount > 0 && notSignedUpFansCount > 0) {\n fanSignedUpStatus = 'SOME';\n } else if (signedUpFansCount > 0 && notSignedUpFansCount === 0) {\n fanSignedUpStatus = 'ALL';\n } else {\n fanSignedUpStatus = 'NONE';\n }\n }\n return fanSignedUpStatus;\n }\n}\n","
\n
\n
\n \n
\n
\n

Error

\n

{{errorMessage}}

\n
\n
\n\n
\n
\n
\n

{{this.pageJson.fan.heading}}

\n

{{this.pageJson.fan.description}} ,\n \n {{this.adminName}}\n \n

\n\n

{{this.pageJson.fan.label}}

\n
\n
\n \n
\n
\n
\n
\n \n
\n
\n
\n
\n \n
\n
\n
\n
","export * from './select-fan-table.component';\n","import { BreadCrumbService } from './../../../../lib/ng2-sapmp/src/ui-components/breadcrumb/breadcrumb.service';\nimport { BreadCrumbModel } from 'lib/ng2-sapmp/src/ui-components/breadcrumb';\nimport { Component, OnChanges, OnInit, ElementRef, ViewEncapsulation, OnDestroy } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { UtilityService, AuthenticationService } from 'lib/ng2-sapmp/src/providers';\nimport { GridOptionsModel, ColumnDefinitionsModel, PaginationsModel, FilterService } from 'lib/ng2-sapmp/src/ui-components/custom-grid';\nimport { MDMDetails } from './../../../models/product';\nimport { CareComponentService } from '../shared';\nimport { FanModel } from '../shared';\nimport { SelectedFan } from '../shared';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { AccordionComponent } from 'lib/ng2-sapmp/src/ui-components/accordion/accordion.component';\nimport { CANCELFANDATA } from 'config';\nimport { PageLoaderService } from '../../../../lib/ng2-sapmp/src/ui-components/page-loader';\nimport { deviceInventory } from 'config';\nimport { HttpResponse } from '@angular/common/http';\nimport { ENV, ADDP_PERMISSION_MAPPING } from 'config';\n\n@Component({\n selector: 'app-select-fan-table',\n templateUrl: './select-fan-table.component.html',\n styleUrls: ['./select-fan-table.component.scss'],\n providers: [FilterService, CareComponentService],\n encapsulation: ViewEncapsulation.None\n})\n\nexport class SelectFanTableComponent implements OnInit, OnDestroy {\n formName: string;\n companyId: number;\n FANList: Array;\n SelectedFANList: Array;\n gridOptions: GridOptionsModel;\n singleFanDetails: any = deviceInventory.singleFanDetail;\n errorMessage: string;\n columnSelection: string;\n callingBackUrl: string;\n selectedFan: string;\n previousRoute: string;\n agentProfileData: any;\n fansRetrieved = false;\n showErrors = false;\n showErrorsPermission = false;\n mdmDetails: MDMDetails;\n goBack: boolean = false;\n\n constructor(protected careService: CareComponentService, private router: Router, private route: ActivatedRoute,\n private breadCrumbService: BreadCrumbService,\n private authenticationService: AuthenticationService,\n private utilityService: UtilityService, private pageloaderService: PageLoaderService, ) {\n this.companyId = 2; // Company ID four for Revised Setup (All fans)\n this.FANList = [];\n this.SelectedFANList = [];\n this.careService = careService;\n this.columnSelection = 'multicol';\n this.agentProfileData = this.careService.getCareModel();\n this.mdmDetails = new MDMDetails();\n }\n\n ngOnInit() {\n document.title = this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url];\n\n const breadCrumbService = new BreadCrumbModel();\n breadCrumbService.label = 'Retrieving foundation accounts';\n breadCrumbService.routerLink = 'care/selectFanTable';\n this.breadCrumbService.setCurrentBreadCrumb(breadCrumbService);\n\n this.pageloaderService.setPageLoaderStatus(false);\n // this.breadCrumbService.removeLastBreadCrumb();\n // const callingPageUrl = this.breadCrumbService.getLastUrlFromBreadCrumb().routerLink;\n // this.callingBackUrl = callingPageUrl.currentUrl;\n // sessionStorage.setItem('careServiceBackUrl', JSON.stringify({ callingPageUrl }));\n\n this.SelectedFANList = this.careService.getReviewedFanData();\n // console.log(this.agentProfileData);\n // this.initGrid();\n this.retrieveFans();\n this.pageloaderService.setPageLoaderStatus(true);\n\n }\n\n backToCallingPage() {\n this.goBack = true;\n this.agentProfileData.showResetOption = false;\n this.careService.setCareModel(this.agentProfileData);\n this.router.navigate(['care/dashboardTitle']);\n }\n\n retrieveFans() {\n let url = '';\n if (!this.utilityService.getEnvConfig().useMock) {\n url = this.utilityService.getEnvConfig().careMultiFan;\n }else {\n url = this.utilityService.getEnvConfig().careMultiFanMock;\n }\n this.careService.getMultiFans(url).subscribe(respobj => {\n if (this.goBack !== true && this.router.routerState.snapshot.url === '/care/selectFanTable') {\n if (respobj.errorDescription) {\n this.errorMessage = respobj.errorDescription;\n this.showErrors = true;\n this.pageloaderService.setPageLoaderStatus(true);\n }else {\n this.fansRetrieved = true;\n this.authenticationService.setAuthToken('authToken', respobj.jwtToken);\n sessionStorage.setItem('sapmp_jwtToken', respobj.jwtToken);\n this.continueToNext();\n }\n }\n }, error => {\n this.showErrors = true;\n this.handleError(error);\n });\n }\n initGrid() {\n\n this.pageloaderService.setPageLoaderStatus(false);\n this.careService.getMultiFans(this.utilityService.getEnvConfig().careMultiFan).subscribe(respobj => {\n if (respobj.errorDescription) {\n this.errorMessage = respobj.errorDescription;\n this.showErrors = true;\n this.pageloaderService.setPageLoaderStatus(true);\n } else {\n this.pageloaderService.setPageLoaderStatus(true);\n const options = new GridOptionsModel();\n options.enableFiltering = true;\n options.enableSorting = true;\n options.multiSelect = false;\n const pagination = {\n recordsPerPage: 20,\n currentPage: 1,\n isServerSide: false,\n totalRecords: respobj.length\n };\n options.enableBackLink = true;\n options.backLinkText = 'View all wireless users for this FAN';\n options.emptyMessage = 'No results';\n options.searchPlaceHolder = 'Search for Wireless Number';\n\n options.callbacks = {\n callBackAppNameCellTemplate: this.callBackAppNameCellTemplate,\n callBackProfileStatus: this.callBackProfileStatus,\n callBackProfileStatusoem: this.callBackProfileStatusoem\n };\n options.Paginations = pagination;\n options.gridData = respobj;\n options.maxLength = 12;\n options.columnDefinitions = this.singleFanDetails.columnDefinitions;\n options.searchDescriptions = '';\n options.ctnMask = true;\n options.disableGrid = false;\n options.disableRow = false;\n options.disableRowCondition = { field: '', value: '' };\n this.gridOptions = options;\n return this.gridOptions;\n }\n }, error => {\n this.handleError(error);\n });\n }\n\n /* Fan selection watched here from Grid*/\n onRowClick(action) {\n this.SelectedFANList = action.data;\n this.careService.saveReviewedFan(this.SelectedFANList);\n }\n\n continueToNext(param?) {\n if (param !== undefined && param === 'continueWithSingle') {\n this.goBack = true;\n }\n this.authenticationService.careUserProfile()\n .subscribe( respobj => {\n const source = 'care';\n const user = this.authenticationService.getProfileModel(respobj.profile);\n // user.clientIPAddress = this.clientIPAddress;\n // this.authenticationService.setUser(user);\n // sessionStorage.setItem('permissions', JSON.stringify(respobj.permissions));\n if (user.addpAuthority !== 'NONE') {\n this.authenticationService.getFanSignedUpStatus()\n .subscribe(resp => {\n sessionStorage.setItem(\"initialSignupStatus\", resp.initialSignupStatus);\n sessionStorage.setItem(\"noOfDevice\", resp.noOfDevices);\n if (resp.allFansInEligible === true) {\n user.fanSignedUpStatus = 'NotEligible';\n } else {\n if (user) {\n user.fanSignedUpStatus = this.getFanSignedUpStatus(resp.fansSummary);\n }\n if (resp.productCode !== null && resp.productCode !== undefined) {\n this.mdmDetails.productCode = resp.productCode;\n this.mdmDetails.latestAccountType = resp.recentlyEnrolledProduct;\n if (this.mdmDetails.productCode === 'ADDPMDM') {\n this.mdmDetails.ibmEmmAccountId = resp.ibmEmmAccountId;\n let productDetails = { emmProductCode: '', selectedAccID: '', signupEmmStatus: '' };\n productDetails.emmProductCode = \"ADDPMDM\";\n productDetails.selectedAccID = resp.ibmEmmAccountId;\n productDetails.signupEmmStatus = \"revised\";\n sessionStorage.setItem('manage-product', JSON.stringify(productDetails));\n }else {\n if (resp.googleEmmAccountId !== null && resp.googleEmmAccountId !== undefined) {\n this.mdmDetails.googleEmmAccountId = resp.googleEmmAccountId;\n }\n if (resp.samsungEmmAccountId !== null && resp.samsungEmmAccountId !== undefined) {\n this.mdmDetails.samsungEmmAccountId = resp.samsungEmmAccountId;\n }\n }\n sessionStorage.setItem('mdmDetails', JSON.stringify(this.mdmDetails));\n }\n }\n this.authenticationService.setUser(user);\n sessionStorage.setItem('permissions', JSON.stringify(respobj.permissions));\n const roleFanStaus = user.addpAuthority + '_' + user.fanSignedUpStatus;\n const redirectInfo = ADDP_PERMISSION_MAPPING[roleFanStaus];\n if (redirectInfo) {\n this.authenticationService.setLandingPageRoute('/' + redirectInfo.logonurl);\n }\n this.router.navigate(['dashboard']);\n }, error => {\n user.fanSignedUpStatus = 'Error';\n this.authenticationService.setUser(user);\n sessionStorage.setItem('permissions', JSON.stringify(respobj.permissions));\n const roleFanStaus = user.addpAuthority + '_' + user.fanSignedUpStatus;\n const redirectInfo = ADDP_PERMISSION_MAPPING[roleFanStaus];\n if (redirectInfo) {\n this.authenticationService.setLandingPageRoute('/' + redirectInfo.logonurl);\n }\n this.router.navigate(['dashboard']);\n });\n } else {\n this.authenticationService.setUser(user);\n const roleFanStaus = user.addpAuthority + '_' + user.fanSignedUpStatus;\n const redirectInfo = ADDP_PERMISSION_MAPPING[roleFanStaus];\n if (redirectInfo) {\n this.authenticationService.setLandingPageRoute('/' + redirectInfo.logonurl);\n }\n sessionStorage.setItem('permissions', JSON.stringify(respobj.permissions));\n this.router.navigate(['dashboard']);\n }\n\n }, error => {\n this.errorMessage = 'Something went wrong. Please try again later.';\n this.handleError(error);\n });\n }\n\n backToCustomerEntryPage() {\n this.goBack = true;\n this.router.navigate(['care/dashboardTitle']);\n }\n\n handleError(error) {\n throw error;\n }\n\n callBackProfileStatus(element, row, field, currentElem) {\n const colorStatus = row.status.replace(/_/g, '-').toLowerCase();\n const status = row.status.replace(/_/g, ' ');\n return `${status}`;\n }\n \n callBackProfileStatusoem(element, row, field, currentElem) {\n const colorStatus = row.status.replace(/_/g, '-').toLowerCase();\n const status = row.status.replace(/_/g, ' ');\n return `${status}`;\n }\n \n\n /*add two cell for link of CTN and username */\n callBackAppNameCellTemplate(element, row, field, currentElem) {\n if (element.getElementsByTagName('a').length && !element.classList.contains('eventbinded')) {\n const eleA = element.getElementsByTagName('a')[0];\n eleA.onclick = function () {\n currentElem.onDataChange.emit({ data: row, type: 'ctnInfo' });\n };\n element.classList.add('eventbinded');\n }\n const formatctnNumber = row.ctnNumber.replace(/^(\\d{0,3})(\\d{0,3})(.*)/, '$1-$2-$3');\n return `${formatctnNumber}

${row.userName}

`;\n\n }\n\n ngOnDestroy() {\n this.pageloaderService.setPageLoaderStatus(true);\n const event = document.createEvent('Event');\n event.initEvent('userLogged', true, true);\n document.dispatchEvent(event);\n }\n\n getFanSignedUpStatus(fansSummary) {\n let fanSignedUpStatus = 'NONE';\n if (fansSummary) {\n const signedUpFansCount = fansSummary.\n filter((f) => { return f.status === 'ACTIVE' || f.status === 'READY_TO_SETUP'; }).length;\n const notSignedUpFansCount = fansSummary.\n filter((f) => { return f.status === 'PROCESSING' || f.status === 'AWAITING_SIGNUP'; }).length;\n if (signedUpFansCount > 0 && notSignedUpFansCount > 0) {\n fanSignedUpStatus = 'SOME';\n } else if (signedUpFansCount > 0 && notSignedUpFansCount === 0) {\n fanSignedUpStatus = 'ALL';\n } else {\n fanSignedUpStatus = 'NONE';\n }\n }\n return fanSignedUpStatus;\n }\n\n\n}\n","
\n\t
\n\t\t

Retrieving foundation accounts

\n\t\t

Welcome, {{agentProfileData?agentProfileData.agentName:''}}

\n\t\t

Retrieving foundation accounts associated with this customer

\n\t\t\n\t\t
\n\t\t\t\n\t\t\t

loading..

\n\t\t
\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t
\n\t\t\t
\n\t\t\t\t\tFoundation accounts were successfully retrieved. You are being redirected to AT&T Business Console.\n\t\t\t
\n\t\t
\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t
\n\t\t\t
\n\t\t\t\tFoundation accounts could not be loaded.Continue with single foundation account or Return to customer data using the buttons below.\n\t\t\t
\n\t\t
\n\t\t
\n
\n \n
\n
\n {{errorMessage}}\n
\n
\n\t\t\n\t\t\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t\n\t\t\t
\n\t\t
\n\t\t
\n\t\t
\n\t\t\t

Customer:

\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
Customer account number
\n\t\t\t\t\t
{{agentProfileData.searchFan}}
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t
Customer name
\n\t\t\t\t\t\t
{{agentProfileData.customerName}}
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t
Customer email
\n\t\t\t\t\t\t
{{agentProfileData.customerEmail.toUpperCase()}}
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t
\n\t\t
\n\t
\n
","export * from './providers/care.service';\nexport * from './models/care.models';\n","\nexport class CareModel {\n customerName: string;\n customerEmail: string;\n agentUserId: string;\n fanList: Array;\n selectedFan: FanModel;\n selectedDevice: string;\n selectedLaunchMode: string;\n searchFan: number;\n showResetOption: boolean;\n tcmAopEmailAddress: any;\n showEdit: boolean;\n\n constructor() {\n this.customerName = '';\n this.customerEmail = '';\n this.agentUserId = '';\n this.selectedLaunchMode = '';\n this.searchFan = null;\n this.fanList = [];\n this.tcmAopEmailAddress = [];\n this.showEdit = false;\n }\n}\n\n\nexport class FanModel {\n fanId: number;\n status: string; // Active, Enrolled not active, In Progress\n profile: number; // ProfileModel profileId\n selected?: boolean;\n}\n\nexport class SelectedFan {\n ctnNumber: string;\n model: string;\n status: string;\n userName: string;\n constructor() {\n this.ctnNumber = '';\n this.model = '';\n this.status = '';\n this.userName = '';\n }\n}\n","import { LoginComponent } from './../../../../../lib/ng2-sapmp/src/pages/login/login.component';\nimport { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { DatePipe } from '@angular/common';\nimport { throwError, Observable } from 'rxjs';\n\n\n\nimport { HttpClient, HttpResponse, HttpHeaders } from '@angular/common/http';\nimport { HttpClientService, AuthenticationService, UtilityService } from 'lib/ng2-sapmp/src/providers';\nimport { CareModel, SelectedFan } from '../models/care.models';\nimport { GridOptionsModel } from 'lib/ng2-sapmp/src/ui-components/custom-grid';\nimport { FanListModel } from 'lib/ng2-sapmp/src/models/user';\nimport { ActivatedRoute, Router } from '@angular/router';\n\n@Injectable()\n\nexport class CareComponentService {\n careefotadetails: any;\n private headers;\n minutesLeft: any;\n timeStamp: any;\n\n constructor(private http: HttpClient,\n private httpClientService: HttpClientService,\n private utilityService: UtilityService,\n private authenticationService: AuthenticationService,\n private route: ActivatedRoute,\n private router: Router\n ) { }\n \n\n doRequestCareService(url) {\n return this.httpClientService.get(url)\n .pipe(\n map((res: HttpResponse) => res.body)\n , catchError(this.handleError));\n }\n\n getFanNoDetails(url) {\n return this.httpClientService.authorizedGet(url)\n .pipe(\n map((res: HttpResponse) => res.body)\n , catchError(this.handleError));\n }\n\n setSelectedFan(fanId) {\n sessionStorage.setItem('selectedFAN', fanId);\n }\n getSelectedFan() {\n return sessionStorage.getItem('selectedFAN');\n }\n\n setSelectedRequest(reqId) {\n sessionStorage.setItem('selectedREQ', reqId);\n }\n getSelectedRequest() {\n return sessionStorage.getItem('selectedREQ');\n }\n\n setSelectedCompanyName(fanId) {\n sessionStorage.setItem('selectedCompanyName', fanId);\n }\n getSelectedCompanyName() {\n return sessionStorage.getItem('selectedCompanyName');\n }\n\n getReportList(fanNo) {\n let headers = new HttpHeaders();\n headers = headers.append('Content-Type', 'text/json');\n headers = headers.append('fanNo', fanNo);\n return this.httpClientService.authorizedGet(this.utilityService.getEnvConfig().efotaRetrieveReport, headers)\n .pipe(\n map((res: HttpResponse) => res.body)\n , catchError(this.handleError));\n }\n\n efotaUpdateReport(reportId, publish, remove) {\n let headers = new HttpHeaders();\n let requestBody = \"\";\n headers = headers.append('Content-Type', 'text/json');\n headers = headers.append('reportId', reportId);\n headers = headers.append('publish', publish);\n headers = headers.append('delete', remove);\n return this.httpClientService.authorizedPost(this.utilityService.getEnvConfig().efotaUpdateReport, requestBody, headers)\n .pipe(\n map((res: HttpResponse) => res.body)\n , catchError(this.handleError));\n }\n\n getAllFanDetails() {\n let headers = new HttpHeaders();\n headers = headers.append('filter', 'filter: {_id:1,body.enrollmentstatus:1,body.tcmemailaddress:1}');\n headers.append('Content-Type', 'text/json');\n return this.httpClientService.authorizedGet(this.utilityService.getEnvConfig().getAllFanDetails, headers)\n .pipe(\n map((res: HttpResponse) => res.body)\n , catchError(this.handleError));\n }\n\n getAllRequestDetails(qryString) {\n let url = this.utilityService.getEnvConfig().efotaAdminChangeRequests;\n let queryString = { \"queryString\": qryString };\n // let queryString = '';\n return this.httpClientService.authorizedPost(url, queryString).pipe(\n map((res: HttpResponse) => {\n //return res;\n return res.body;\n }), catchError(this.handleError));\n }\n\n handleError = (error) => {\n return throwError(error);\n }\n setCareModel(careContext: CareModel) {\n sessionStorage.setItem('savedCareRequest', JSON.stringify(careContext));\n }\n\n getCareModel() {\n return JSON.parse(sessionStorage.getItem('savedCareRequest')) || new CareModel();\n }\n\n get_headers() {\n let headers = new HttpHeaders();\n headers = headers.append('Authorization', sessionStorage.getItem('jwtToken'));\n return headers;\n }\n\n getCareContextDetails() {\n const headers = this.get_headers();\n return this.httpClientService.get(this.utilityService.getEnvConfig().getCarePageConfigUrl, headers)\n .pipe(\n map((res: HttpResponse) => {\n if (res.headers.get('SERVICE-AUTH-TOKEN') != null) {\n sessionStorage.setItem('jwtToken', res.headers.get('SERVICE-AUTH-TOKEN'));\n }\n return res.body;\n }\n )\n , catchError(this.handleError));\n }\n\n\n logoutCurrentUser() {\n sessionStorage.removeItem('authToken');\n sessionStorage.removeItem('cart');\n sessionStorage.removeItem('jwtToken');\n sessionStorage.removeItem('sapmp_jwtToken');\n sessionStorage.removeItem('permissions');\n sessionStorage.removeItem('steps');\n sessionStorage.removeItem('user');\n sessionStorage.removeItem('currentRoute');\n sessionStorage.removeItem('previousRoute');\n sessionStorage.removeItem('landingPageRoute');\n sessionStorage.removeItem('loginSuccessUrl');\n sessionStorage.removeItem('CARE_LOGON');\n return;\n }\n\n getFANList(companyid) {\n // here we concat companyid with /device/deployement/fan/{companyid}\n const fanUrl = this.utilityService.getEnvConfig().getFANListMock[1];\n return this.httpClientService.get(fanUrl)\n .pipe(\n map((test: HttpResponse) => test.body)\n , catchError(this.handleError));\n }\n\n updateRequestStatus(currentRequest, customerfanstatus, adminComments) {\n let data = {\n \"_id\": currentRequest._id,\n \"change\": currentRequest.change,\n \"name\": currentRequest.name,\n \"type\": currentRequest.type,\n \"meta\": {\n \"fanNo\": currentRequest.meta.fanNo,\n \"groupName\": currentRequest.meta.groupName,\n \"changeType\": currentRequest.meta.changeType,\n \"request\": currentRequest.meta.request,\n \"requesterName\": currentRequest.meta.requesterName,\n \"requesterPhone\": currentRequest.meta.requesterPhone,\n \"requesterEmail\": currentRequest.meta.requesterEmail,\n \"requesterCompanyName\": currentRequest.meta.requesterCompanyName,\n \"adminComments\": adminComments,\n \"envPortal\": currentRequest.meta.envPortal\n },\n \"status\": customerfanstatus,\n \"date\": currentRequest.date\n }\n return this.httpClientService.authorizedPost(this.utilityService.getEnvConfig().efotaUpdateChangeRequest + currentRequest._id, data).pipe(\n map((res: HttpResponse) => {\n return res.body;\n }), catchError(this.handleError));\n }\n\n \n updateReportRequestStatus(currentRequest, customerfanstatus, adminComments) {\n let data = {\n \"_id\": currentRequest._id,\n \"change\": currentRequest.change,\n \"name\": currentRequest.name,\n \"type\": currentRequest.type,\n \"meta\": {\n \"fanNo\": currentRequest.meta.fanNo,\n \"groupName\": currentRequest.meta.groupName,\n \"reportType\": currentRequest.meta.reportType,\n \"request\": \"\",\n \"requesterName\": currentRequest.meta.requesterName,\n \"requesterPhone\": currentRequest.meta.requesterPhone,\n \"requesterEmail\": currentRequest.meta.requesterEmail,\n \"requesterCompanyName\": currentRequest.meta.requesterCompanyName,\n \"adminComments\": adminComments,\n \"envPortal\": currentRequest.meta.envPortal\n },\n \"status\": customerfanstatus,\n \"date\": currentRequest.date\n }\n return this.httpClientService.authorizedPost(this.utilityService.getEnvConfig().efotaUpdateChangeRequest + currentRequest._id, data).pipe(\n map((res: HttpResponse) => {\n return res.body;\n }), catchError(this.handleError));\n }\n\n postStatusEfota(pageJson, customerfanstatus, devicesCount, adminReasons, pseudoCTN) {\n let data = {\n \"_id\": pageJson.body.foundationAccountNumber,\n \"body\": {\n \"companyName\": pageJson.body.companyName,\n \"contactName\": pageJson.body.contactName,\n \"phoneNumber\": pageJson.body.phoneNumber,\n \"emailAddress\": pageJson.body.emailAddress,\n \"bestTimeToContact\": pageJson.body.bestTimeToContact,\n \"city\": pageJson.body.city,\n \"state\": pageJson.body.state,\n \"zipCode\": pageJson.body.zipCode,\n \"foundationAccountNumber\": pageJson.body.foundationAccountNumber,\n \"environmentPortal\": pageJson.body.environmentPortal,\n // \"productCode\": pageJson.productCode,\n \"enrollmentStatus\": customerfanstatus,\n \"generatedTime\": pageJson.body.generatedTime,\n \"serviceRequested\": pageJson.body.serviceRequested,\n \"billingAccountNumber\": pageJson.body.billingAccountNumber,\n \"notificationPreference\": pageJson.body.notificationPreference,\n \"noOfDevices\": devicesCount,\n \"ctnDetails\": pageJson.body.ctnDetails,\n \"adminComments\": adminReasons,\n \"pseudoCtn\": pseudoCTN\n }\n }\n return this.httpClientService.authorizedPost(this.utilityService.getEnvConfig().updateEnrollStatus + pageJson.body.foundationAccountNumber, data).pipe(\n map((res: HttpResponse) => {\n return res.body;\n }), catchError(this.handleError));\n }\n\n saveReviewedFan(reviewedData: Array) {\n sessionStorage.setItem('ReviewedData', JSON.stringify({ reviewedData }));\n console.log(reviewedData);\n return this.httpClientService.post(this.utilityService.getEnvConfig().submitLaunchContextSelectedParticipation,\n reviewedData, this.get_headers())\n .pipe(\n map((test: HttpResponse) => test.body)\n , catchError(this.handleError));\n\n }\n\n getReviewedFanData() {\n return sessionStorage.getItem('ReviewedData') ? JSON.parse(sessionStorage.getItem('ReviewedData')) : new Array();\n }\n\n\n\n indexOfObjectbyValue(data, field, search) {\n let i = 0;\n let ind = -1;\n for (let cols of data) {\n if (cols[field] === search) {\n ind = i;\n }\n i++;\n }\n return ind;\n }\n\n setCurrentRouteInfo(url) {\n const urlArr = url.split('/');\n this.authenticationService.setAuthToken('CARE_LOGON', urlArr[2]);\n }\n\n getCurrentRouteInfo() {\n return this.authenticationService.getAuthToken('CARE_LOGON');\n }\n\n UpdateEmail(url, data) {\n let headers = new HttpHeaders();\n headers = headers.append('Authorization', sessionStorage.getItem('sapmp_jwtToken'));\n headers = headers.append('customerEmail', data.customerEmail);\n headers = headers.append('customerAgent', data.agentUserId);\n return this.httpClientService.get(url, headers)\n .pipe(\n map((test: HttpResponse) => test.body)\n , catchError(this.handleError));\n }\n\n verifyFan(url) {\n let headers = new HttpHeaders();\n headers = headers.append('Authorization', sessionStorage.getItem('sapmp_jwtToken'));\n headers = headers.append('customerEmail', 'appmarket');\n headers = headers.append('customerAgent', 'care');\n // let getUrl = url + fan;\n return this.httpClientService.get(url, headers)\n .pipe(\n map((test: HttpResponse) => test.body)\n , catchError(this.handleError));\n }\n\n getMultiFans(url) {\n let headers = new HttpHeaders();\n headers = headers.append('Authorization', sessionStorage.getItem('sapmp_jwtToken'));\n headers = headers.append('portal', 'appmarket');\n headers = headers.append('channel', 'care');\n return this.httpClientService.get(url, headers)\n .pipe(\n map((test: HttpResponse) => test.body)\n , catchError(this.handleError));\n }\n\n\n\n\n postFile(csvrecord) {\n let headers = new HttpHeaders();\n headers = headers.append('Content-Type', 'text/json');\n // let data = []; \n // data.push(csvrecord); \n // console.log(data);\n let url = this.utilityService.getEnvConfig().getuploadfiles;\n return this.httpClientService.authorizedPost(url, csvrecord, headers).pipe(\n map((res: HttpResponse) => {\n //return res;\n return res.body;\n }), catchError(this.handleError));\n }\n\n convertDate(epochDate) {\n var date = new Date(epochDate);\n var year = date.getFullYear();\n var mm = date.getMonth() + 1;\n var dd = date.getDate();\n var month = mm.toString().length === 2 ? \"\" + mm : \"0\" + mm;\n var day = dd.toString().length === 2 ? \"\" + dd : \"0\" + dd;\n return year + \"-\" + month + \"-\" + day;\n //return \"\" + year + \"-\" + month + \"-\" + day;\n }\n\n convertOnlyTime(fullDate) {\n let sampleDate = new Date(fullDate);\n let newTime = sampleDate.toString().substring(15, 24) + \" ET\";\n return newTime;\n }\n\n getabmdata(querystring) {\n console.log(querystring);\n let url = this.utilityService.getEnvConfig().getcareabmdetails;\n return this.httpClientService\n .authorizedPost(url, querystring)\n .pipe(\n map((res: HttpResponse) => {\n // console.log(\"response\");\n console.log(res);\n return res.body;\n }), catchError(this.handleError));\n }\n \n getDMPWhitelistFans(data) {\n return this.httpClientService.authorizedPost(this.utilityService.getEnvConfig().getcareDmpWhiteistFans, data).pipe(\n map((res: HttpResponse) => {\n return res.body;\n }), catchError(this.handleError));\n }\n\n getSavedDmpwhitelist(dmpId: string ,payloadData ) {\n let headers = new HttpHeaders();\n let requestBody = payloadData;\n headers = headers.append('documentId', dmpId);\n return this.httpClientService.authorizedPost(this.utilityService.getEnvConfig().saveDmpwhitelist, requestBody, headers)\n .pipe(\n map((res: HttpResponse) => res.body)\n , catchError(this.handleError));\n }\n\n getDeviceEnrollmentData(querystring) {\n //console.log(querystring);\n let url = this.utilityService.getEnvConfig().getcareDeviceEnrollmentDetails;\n return this.httpClientService\n .authorizedPost(url, querystring)\n .pipe(\n map((res: HttpResponse) => {\n //console.log(res);\n return res.body;\n }), catchError(this.handleError));\n }\n\n\n convertEpochToDate(epochDate) {\n var date = new Date(epochDate);\n var year = date.getFullYear();\n var mm = date.getMonth() + 1;\n var dd = date.getDate();\n var month = mm.toString().length === 2 ? \"\" + mm : \"0\" + mm;\n var day = dd.toString().length === 2 ? \"\" + dd : \"0\" + dd;\n return month + \"/\" + day + \"/\" + year;\n }\n convertDateTimeToDate(fullDate) {\n let newDate = JSON.stringify(fullDate);\n let mm = newDate.slice(6, 8);\n let dd = newDate.slice(9, 11);\n let yyyy = newDate.slice(1, 5);\n return mm + \"/\" + dd + \"/\" + yyyy;\n }\n\n convertEpochtoET(epochDate) {\n let newDate = new Date(epochDate);\n let modifiedDate = newDate.toISOString().slice(0,10);\n let modifiedTime = newDate.toLocaleTimeString();\n let updatedTime = modifiedDate + \" \" + modifiedTime + \" \" + \"ET\";\n return updatedTime;\n }\n\n sendEmail(data) {\n return this.httpClientService.authorizedPost(this.utilityService.getEnvConfig().notificationClient, data).pipe(\n map((res: HttpResponse) => {\n return res.body;\n }), catchError(this.handleError));\n }\n\n getAllEnrollments(data) {\n return this.httpClientService.authorizedPost(this.utilityService.getEnvConfig().efotaEnrollments, data).pipe(\n map((res: HttpResponse) => {\n return res.body;\n }), catchError(this.handleError));\n }\n\n convertOnlyTimeToEt(fullDate : any){\n let sampleDate = new Date(fullDate);\n sampleDate = new Date(sampleDate.toLocaleString(\"en-US\", {timeZone: \"America/Havana\"}));\n let newTime = sampleDate.toString().substring(15, 24) + \" ET\";\n return newTime;\n }\n\n updateProfile(url, fan, email) {\n let headers = new HttpHeaders();\n headers = headers.append('Authorization', sessionStorage.getItem('sapmp_jwtToken'));\n headers = headers.append('customerEmail', email);\n headers = headers.append('fan', fan);\n // headers = headers.append('iv-user', 'vb1450');\n // headers = headers.append('iv-groups', '\"HRUserGroup\",\"UserAdmin\",\"ABCASA\"'); //\"G_ABS\",\"G_ABS_PRMR\"\n // let getUrl = url + fan;\n return this.httpClientService.get(url, headers)\n .pipe(\n map((test: HttpResponse) => test.body)\n , catchError(this.handleError));\n }\n \n getBulkSchedulersRunTime(){\n const headers = this.get_headers();\n console.log(this.utilityService.getEnvConfig().getBulkSchedulerRunTimeUrl);\n return this.httpClientService.authorizedGet(this.utilityService.getEnvConfig().getBulkSchedulerRunTimeUrl)\n .pipe(\n map((res: HttpResponse) => {\n this.timeStamp = JSON.stringify(res.body);\n var schedulerTime = this.timeStamp.substring(14,38);\n if(schedulerTime !== \"\"){\n var schedulerDate= new Date(schedulerTime);\n var schedulerMilliSec = schedulerDate.getTime();\n var schedulerNextRun = new Date (schedulerMilliSec+10 * 60 * 1000);\n var schedulerNextRunMS = schedulerNextRun.getTime();\n \n var systemCurrentDT = new Date();\n var systemCurrentDTMS = systemCurrentDT.getTime();\n const minutes = ( schedulerNextRunMS - systemCurrentDTMS ) / (1000 * 60) % 60;\n console.log(minutes);\n this.minutesLeft = Math.trunc(minutes);\n return this.minutesLeft;\n }else{\n return this.minutesLeft = 0;\n }\n \n }), catchError(this.handleError));\n\n }\n\n /*function to convert 24hour time to 12hour format*/\n convertTimeTo12HrFormat(time){\n var hour = time.substring(11,13);\n var formatValue = hour >=12 ? ' PM' : ' AM';\n hour = hour % 12;\n hour = hour === 0 ? 12: hour;\n return time.substring(0,11) + (hour < 10 ? '0' : '') + hour + time.substring(13,19) + formatValue + ' ET';\n }\n\n efotaDisconnectAccount(fanNo: string | string[]) {\n let url = this.utilityService.getEnvConfig().efotaDisconnectAccount + fanNo;\n return this.httpClientService.authorizedPost(url,'')\n .pipe(\n map((res: HttpResponse) => res.body)\n , catchError(this.handleError));\n }\n\n getkmedata(querystring) {\n let url = this.utilityService.getEnvConfig().getcarekmedetails;\n return this.httpClientService\n .authorizedPost(url, querystring)\n .pipe(\n map((res: HttpResponse) => {\n return res.body;\n }), catchError(this.handleError));\n }\n \n getZteData(querystring) {\n let url = this.utilityService.getEnvConfig().getcareztedetails;\n return this.httpClientService\n .authorizedPost(url, querystring)\n .pipe(\n map((res: HttpResponse) => {\n return res.body;\n }), catchError(this.handleError));\n }\n\n getFedata(querystring) {\n console.log(querystring)\n // let url = this.utilityService.getEnvConfig().getcarekmedetails;\n let url = this.utilityService.getEnvConfig().getcareFeDetails;\n console.log(url)\n return this.httpClientService\n .authorizedPost(url, querystring)\n .pipe(\n map((res: HttpResponse) => {\n return res.body;\n }), catchError(this.handleError));\n }\n\n sendToAppleData(data) {\n let headers = new HttpHeaders();\n headers = headers.append('Content-Type', 'application/json');\n let url = this.utilityService.getEnvConfig().sendToAppleFeRequest;\n console.log(url, data);\n return this.httpClientService\n .authorizedPost(url, data, headers)\n .pipe(\n map((res: HttpResponse) => {\n return res.body;\n }), catchError(this.handleError));\n }\n}\n","export * from './whiteListsAdmin.component';\n","import { Component, OnInit } from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { UtilityService } from '../../../../lib/ng2-sapmp/src/providers';\nimport { BreadCrumbModel, BreadCrumbService } from '../../../../lib/ng2-sapmp/src/ui-components/breadcrumb';\nimport { CareComponentService } from '..';\nimport { PageLoaderService } from '../../../../lib/ng2-sapmp/src/ui-components/page-loader';\nimport { GridOptionsModel, } from 'lib/ng2-sapmp/src/ui-components/custom-grid/shared/model/grid-options.model';\n\n@Component({\n selector: 'app-whiteListsAdmin',\n templateUrl: './whiteListsAdmin.component.html',\n styleUrls: ['./whiteListsAdmin.component.scss'],\n providers: [CareComponentService]\n})\nexport class whiteListsAdminComponent implements OnInit {\n setupError = false;\n rowData : any;\n columnDefs : any;\n data: any;\n dmpWhitelistFansData: any;\n inputSlot: any = '';\n inputData : any;\n isDisabled : boolean;\n gridOptions: any;\n dmp_id : string;\n formSuccess = false;\n submitting = false;\n showError: boolean;\n successMessage: string;\n errorMessage: string;\n private gridApi;\n private gridColumnApi;\n\n constructor(\n private breadcrumb: BreadCrumbService,\n private router: Router,\n private utilityService: UtilityService,\n private route: ActivatedRoute,\n private careService: CareComponentService,\n private pageloaderService: PageLoaderService\n ) { }\n\n ngOnInit(): void {\n this.inputSlot = \"\";\n this.isDisabled = true;\n document.title = this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url];\n this.pageloaderService.setPageLoaderStatus(false);\n this.dmpWhitelistFansData = this.route.snapshot.data.pageData.caredmpWhitelistFans;\n this.pageLoad();\n this.initGrid();\n this.columnDefs = this.dmpWhitelistFansData.columnDefinitions;\n }\n\n initGrid(){\n let data = {\n \"queryString\": \"[{\\\"$match\\\":{\\\"_id\\\":{$exists:true}}}]\"\n }\n this.careService.getDMPWhitelistFans(data).subscribe(response => {\n if (response !== null){\n var tableData = []; \n let dmpFansList = response.map((data)=> {return data.dmpFans})\n let id = response.map((data)=> {return data._id})\n this.dmp_id= id[0].$oid\n let fansList = dmpFansList[0]\n let len = dmpFansList[0].length\n for(var i=0; i {\n console.log(error);\n });\n }\n\n pageLoad() {\n const breadcrumb = new BreadCrumbModel();\n breadcrumb.label = this.dmpWhitelistFansData.fanBreadcumb;\n breadcrumb.routerLink = this.dmpWhitelistFansData.fanBreadcumb;\n this.breadcrumb.setCurrentBreadCrumb(breadcrumb);\n }\n\n keyValidation(event) {\n let value = event.target.value.replace(/\\s/g, \"\")\n var specialChars = /[`!@#$%^&*()_+\\-=\\[\\]{};'.:\"\\\\|,<>\\/?~]/;\n if(value.length === 8){\n this.isDisabled= false\n // this.formSuccess= false\n // this.successMessage = ''\n }\n if(value.length <8 ){\n this.isDisabled = true;\n }\n if ((value.length > 0) &&( value.length<=8) &&\n (parseInt(value)) && (!specialChars.test(value))) { \n this.inputSlot = value;\n this.inputData= value;\n this.setupError= false;\n }\n else {\n this.inputSlot = \"\";\n this.setupError = true;\n this.isDisabled= true;\n }\n }\n\n handleError(error) {\n if (error) {\n this.showError = true;\n this.errorMessage = this.dmpWhitelistFansData.generalError;\n }\n }\n submitRequest(){\n this.formSuccess = false;\n let stringDmp = \"dmpFans\"\n let payloadData = `{ \"${stringDmp}\": \"${this.inputData.toString()}\"}`;\n let dmpId = this.dmp_id.toString()\n let duplicateFanValue = this.rowData.filter((data)=>{ \n return data.FanID.toString() === this.inputData.toString()\n });\n if(duplicateFanValue.length >0){\n this.inputSlot = \"\";\n this.setupError = true;\n this.isDisabled= true;\n this.formSuccess = false;\n }\n if( duplicateFanValue.length === 0 ){\n this.careService.getSavedDmpwhitelist(dmpId, payloadData).subscribe(() => {\n this.ngOnInit();\n this.utilityService.loadFocusOnTop();\n this.formSuccess = true;\n this.successMessage = this.dmpWhitelistFansData.successMerge;\n // this.router.navigate(['care/home']);\n }, error => {\n this.formSuccess = false;\n this.handleError(error);\n this.utilityService.loadFocusOnTop();\n });\n }\n // this.resetRowData();\n }\n\n // resetRowData = () => {\n // this.gridOptions.api.refreshView();\n // };\n\n onGridReady(params) {\n this.gridApi = params.api;\n this.gridColumnApi = params.columnApi;\n }\n\n\n }\n","
\n
\n\n
\n
\n \n
\n
\n

Error

\n

{{errorMessage}}

\n
\n
\n
\n
\n \"submitting\"\n
\n
\n \n
\n
\n
\n
\n \n
\n
\n

Success

\n

{{successMessage}}

\n
\n
\n
\n
\n \n
\n
\n

{{dmpWhitelistFansData.dmpfanHeading}}

\n
\n
\n
\n
\n

{{dmpWhitelistFansData.dmpfanSubHeading}}{{\":\"}}

\n

{{dmpWhitelistFansData.dmpfancontent}}

\n
\n
\n\n
\n \n\n
\n \n
\n

{{dmpWhitelistFansData.tooltip}}

\n
\n
\n\n
\n \n
\n
\n\n
{{dmpWhitelistFansData.inputErrorMsg}}
\n\n \n\n
\n\n
","import { Component, OnInit, AfterViewInit, OnDestroy } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { Router } from '@angular/router';\nimport { FormGroup, FormBuilder, Validators, FormArray } from '@angular/forms';\nimport { UserProfileModel } from 'lib/ng2-sapmp/src/models';\nimport { CartModel, ResponseCartModel, RequestCartModel, RequestLineItemModel, ProductModel } from './../../models/';\nimport { PageLoaderService } from 'lib/ng2-sapmp/src/ui-components/page-loader';\nimport { ConfirmModalPopupModel } from 'lib/ng2-sapmp/src/ui-components/confirm-modal';\nimport { UtilityService, ValidationService, AuthenticationService, AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';\nimport { CartService } from './cart.service';\nimport { BreadCrumbService } from 'lib/ng2-sapmp/src/ui-components/breadcrumb';\nimport { HeaderService } from './../header/header.service';\nimport { HttpResponse } from '@angular/common/http';\n\n\ndeclare var logoutCurrentUser: any;\ndeclare var checkCart: any;\n\n@Component({\n selector: 'app-cart',\n providers: [ValidationService, CartService],\n templateUrl: './cart.component.html',\n styleUrls: ['./cart.component.scss']\n})\nexport class CartComponent implements OnInit, AfterViewInit, OnDestroy {\n\n user: UserProfileModel;\n cart: CartModel;\n cartForm: FormGroup;\n confirmModalPopup: ConfirmModalPopupModel;\n productDetail: ProductModel;\n cartHeader: string;\n deleteItem: boolean;\n deleteItemMessage: string;\n deleteIndex: number;\n flushCart: boolean;\n checkOutErrorMessage: string;\n modalClass: string;\n formErrors = [];\n requestCart: RequestCartModel;\n requestLineItem: RequestLineItemModel;\n responseCart: ResponseCartModel;\n field_role1: string;\n permissionJson: any;\n productIds = [];\n eventEmit: any;\n isFormValid: boolean;\n validationMessages = [];\n /*validationMessage = {\n 'quantity': {\n 'required': 'No.of licenses is required.',\n 'pattern': 'Please enter a valid numeric value from 1 to 99999.'\n }\n };*/\n\n constructor(private router: Router, private formBuilder: FormBuilder,\n private validationService: ValidationService, private cartService: CartService,\n private authenticationService: AuthenticationService,\n private utilityService: UtilityService,\n private pageloaderService: PageLoaderService, private breadCrumbService: BreadCrumbService,\n private adobeAnalyticsService: AdobeAnalyticsService,\n private headerService: HeaderService\n ) {\n this.user = new UserProfileModel();\n this.cart = new CartModel();\n this.requestCart = new RequestCartModel();\n this.responseCart = new ResponseCartModel();\n this.cart.lineItems = [];\n this.requestCart.lineItems = [];\n this.deleteItem = false;\n this.flushCart = false;\n this.cartHeader = 'Shopping cart';\n this.checkOutErrorMessage = undefined;\n this.pageloaderService.setPageLoaderStatus(false);\n this.isFormValid = true;\n }\n\n ngOnInit() {\n this.headerService.setCondensedFooterStatus(false);\n this.headerService.condensedHeader('cart');\n // document.title = 'AT&T Business Console - Shopping Cart';\n document.title = this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url];\n this.breadCrumbService.setCurrentBreadCrumb(undefined);\n this.user = this.authenticationService.getUser();\n this.authenticationService.setLoginSuccessUrl(this.router.routerState.snapshot.url);\n this.field_role1 = 'cart.license';\n this.cart = JSON.parse(sessionStorage.getItem('cart'));\n this.checkCart(this.cart);\n this.cartService.updateCartQty(this.cart);\n this.buildForm();\n if (this.cart && this.cart != null && this.cart.lineItems) {\n let index = 0;\n this.cart.lineItems.forEach((lineItem) => {\n this.cartForm.value.cartItems[index].quantity = lineItem.quantity;\n this.requestLineItem = this.cartService.createRequestCart(lineItem);\n this.requestCart.lineItems.push(this.requestLineItem);\n this.productIds.push(lineItem.productId);\n index++;\n });\n this.cartService.updateQuantityPrice(this.requestCart).subscribe( (orderResponse: HttpResponse) => {\n this.responseCart = orderResponse.body;\n this.cart = this.cartService.updateCartPrice(this.cart, this.responseCart);\n sessionStorage.setItem('cart', JSON.stringify(this.cart));\n this.pageloaderService.setPageLoaderStatus(true);\n for (const lineItem of this.cart.lineItems) {\n if (lineItem.priceInfo.monthlyRecurringFee.amount === 0) {\n this.pageloaderService.setPageLoaderStatus(true);\n const errorObject = { 'status': '500', 'statusText': 'No price details' };\n this.handleError(errorObject);\n break;\n }\n };\n }, error => {\n this.pageloaderService.setPageLoaderStatus(true);\n this.handleError(error);\n });\n } else {\n this.pageloaderService.setPageLoaderStatus(true);\n this.cartService.tokenRefresh();\n }\n }\n\n handleError = (error) => {\n if (error) {\n if (error.status === 401) {\n this.checkOutErrorMessage = 'Session expired. Please login again.';\n this.isFormValid = false;\n logoutCurrentUser(true);\n } else if (error.status === 400) {\n if (error.error[0]) {\n this.checkOutErrorMessage = error.error[0].errors[0].errorDescription;\n } else {\n this.checkOutErrorMessage = 'Can not add more than max-qty';\n }\n this.isFormValid = false;\n } else {\n this.checkOutErrorMessage = 'We couldn\\'t complete your request. Please try again later.';\n this.isFormValid = false;\n }\n this.utilityService.loadFocusOnTop();\n this.adobeAnalyticsService.CreateSeriveAlertProperties(error.status, error.statusText, 'formResponse',\n error.status === 400 ? 'Failure_BusinessRule' : undefined);\n } else {\n throw error;\n }\n }\n\n checkout() {\n this.router.navigate(['checkout/billing']);\n }\n\n showEmptyCartModal(event) {\n this.flushCart = true;\n this.confirmModalPopup = new ConfirmModalPopupModel();\n this.confirmModalPopup.modalMessage = 'Emptying your cart will remove all your items. Do you want to empty your cart now?';\n this.confirmModalPopup.modalHeader = 'Empty cart';\n this.confirmModalPopup.cancelButtonMessage = 'No, don\\'t empty cart';\n this.confirmModalPopup.confirmButtonMessage = 'Yes, empty cart';\n this.confirmModalPopup.cancelButtonAccessibilityText = 'No, don\\'t empty cart.';\n this.confirmModalPopup.confirmButtonAccessibilityText = 'Yes, empty cart.';\n this.modalClass = 'modal-lg';\n this.eventEmit = event.target;\n document.body.classList.add('modal-open');\n }\n\n emptyCart(continueFlush) {\n if (continueFlush) {\n this.checkFormValid();\n for (const productId of this.productIds) {\n sessionStorage.removeItem('productConfig-' + productId);\n }\n sessionStorage.removeItem('cart');\n // this.headerService.checkCart();\n this.cart = null;\n this.cartService.updateCartQty(this.cart);\n }\n this.flushCart = false;\n document.body.classList.remove('modal-open');\n }\n\n showDeleteItemModal(i, e, productName) {\n this.deleteIndex = i;\n this.deleteItem = true;\n this.confirmModalPopup = new ConfirmModalPopupModel();\n this.confirmModalPopup.modalMessage = 'Do you really want to remove ' + productName + ' from your cart?';\n this.confirmModalPopup.modalHeader = 'Remove item from cart?';\n this.confirmModalPopup.cancelButtonMessage = 'Cancel';\n this.confirmModalPopup.confirmButtonMessage = 'Yes';\n this.confirmModalPopup.cancelButtonAccessibilityText = 'Cancel.';\n this.confirmModalPopup.confirmButtonAccessibilityText = 'Yes.';\n this.modalClass = 'modal-lg';\n this.eventEmit = event.target;\n document.body.classList.add('modal-open');\n }\n\n deleteProduct(continueDelete) {\n const delIndex = this.deleteIndex;\n if (continueDelete) {\n this.pageloaderService.setPageLoaderStatus(false);\n this.checkFormValid();\n const lineItems = this.cart.lineItems.filter((data, index) => (index !== delIndex));\n\n this.requestCart.lineItems = [];\n for (const lineItem of lineItems) {\n this.requestLineItem = this.cartService.createRequestCart(lineItem);\n this.requestCart.lineItems.push(this.requestLineItem);\n }\n\n if (this.requestCart.lineItems.length > 0) {\n this.cartService.updateQuantityPrice(this.requestCart).subscribe( orderResponse => {\n this.responseCart = orderResponse.body;\n\n this.cart.lineItems.splice(delIndex, 1);\n this.formErrors.splice(delIndex, 1); // while deleting item, delete error validation as well.\n const control = this.cartForm.controls['cartItems']; // remove error control.\n control.removeAt(delIndex);\n\n this.cart = this.cartService.updateCartPrice(this.cart, this.responseCart);\n this.cartService.updateCartQty(this.cart);\n sessionStorage.setItem('cart', JSON.stringify(this.cart));\n this.checkCart(this.cart);\n this.pageloaderService.setPageLoaderStatus(true);\n }, error => {\n this.pageloaderService.setPageLoaderStatus(true);\n this.handleError(error);\n });\n } else {\n this.cart.lineItems.splice(delIndex, 1);\n this.formErrors.splice(delIndex, 1);\n const control = this.cartForm.controls['cartItems'];\n control.removeAt(delIndex);\n sessionStorage.setItem('cart', JSON.stringify(this.cart));\n this.checkCart(this.cart);\n // this.headerService.checkCart();\n this.pageloaderService.setPageLoaderStatus(true);\n }\n }\n this.deleteItem = false;\n document.body.classList.remove('modal-open');\n }\n\n checkCart(cart: CartModel) {\n if (cart === null || cart.lineItems.length < 1) {\n this.cart = null;\n sessionStorage.removeItem('cart');\n }\n }\n\n updatePrice(rowIndex, isFormError) {\n if (!isFormError) {\n this.checkFormValid();\n this.pageloaderService.setPageLoaderStatus(false);\n this.requestCart.lineItems[rowIndex].quantity = Number(this.cartForm.value.cartItems[rowIndex].quantity);\n this.cartService.updateQuantityPrice(this.requestCart).subscribe(orderResponse => {\n this.responseCart = orderResponse.body;\n this.cart.lineItems[rowIndex].quantity = this.cartForm.value.cartItems[rowIndex].quantity;\n this.cart = this.cartService.updateCartPricewithIndex(this.cart, this.responseCart, rowIndex);\n sessionStorage.setItem('cart', JSON.stringify(this.cart));\n this.pageloaderService.setPageLoaderStatus(true);\n }, error => {\n this.pageloaderService.setPageLoaderStatus(true);\n this.handleError(error);\n });\n }\n }\n\n buildForm(): void {\n this.cartForm = this.formBuilder.group({\n cartItems: this.formBuilder.array([])\n });\n this.addFormItems();\n this.validationService.validateArray(\n this.cartForm,\n this.formErrors,\n this.validationMessages,\n 'cartItems');\n }\n\n /**\n * this method is form Validation.\n */\n addFormItems() {\n const formArray = this.cartForm.controls['cartItems'];\n if (this.cart && this.cart != null && this.cart.lineItems.length > 0) {\n this.cart.lineItems.forEach((item) => {\n formArray.push(this.buildControlArray(item));\n this.formErrors.push({\n 'quantity': ''\n });\n this.validationMessages.push({\n 'quantity': {\n 'required': 'No.of licenses is required.',\n 'pattern': 'Please enter a valid numeric value from 1 to ' + item.maxQty + '.',\n 'limitErr': 'No more licenses are available for this purchase.'\n }\n });\n });\n }\n }\n\n buildControlArray(item) {\n return this.formBuilder.group({\n quantity: [item.quantity, [Validators.required, Validators.pattern('^[1-9][0-9]{0,}$')]]\n }, { validator: this.cartService.checkQty('quantity', item.maxQty) });\n }\n\n toggleTooltip(event) {\n const targetElement = event.target;\n const elems = document.querySelectorAll('.tooltipActive');\n let iselementActive = false;\n if (targetElement.classList.contains('tooltipActive')) {\n iselementActive = true;\n }\n [].forEach.call(elems, function (ele) {\n ele.classList.remove('tooltipActive');\n });\n if (iselementActive) {\n targetElement.classList.remove('tooltipActive');\n } else {\n targetElement.classList.add('tooltipActive');\n }\n }\n\n gotoBrowse() {\n this.router.navigate(['/browse']);\n }\n\n gotoChangeConfigurator(rowIndex) {\n this.productDetail = new ProductModel();\n this.productDetail = JSON.parse(sessionStorage.getItem('productConfig-' + this.cart.lineItems[rowIndex].productId));\n this.productDetail.quantity = this.cart.lineItems[rowIndex].quantity;\n this.productDetail.skus.forEach((productObj) => {\n productObj.selected = (productObj.id === this.cart.lineItems[rowIndex].skuId) ? 1 : 0;\n productObj.isSelectedProduct = (productObj.id === this.cart.lineItems[rowIndex].skuId) ? true : false;\n });\n sessionStorage.setItem('productConfig-' + this.cart.lineItems[rowIndex].productId, JSON.stringify(this.productDetail));\n this.router.navigate(['/productConfigurator/' + this.cart.lineItems[rowIndex].productId]);\n }\n\n private checkFormValid() {\n this.checkOutErrorMessage = undefined;\n this.isFormValid = true;\n }\n\n ngAfterViewInit() {\n this.cartService.createPageLoadProperties(this.cart, this.router.routerState.snapshot.url, this.cartHeader, 'BC Cart Pg', 'Buy');\n }\n ngOnDestroy() {\n this.pageloaderService.setPageLoaderStatus(true);\n }\n}\n","
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n

Error!

\r\n

{{ this.checkOutErrorMessage }}

\r\n
\r\n
\r\n
\r\n
0\" [attr.aria-label]=\"cartHeader\">\r\n

{{cartHeader}} Empty cart

\r\n

Review order

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

1\">You might qualify for contractual pricing, a volume discount, or both. These will be applied to your total charges\r\n after you select your wireless number during checkout.

\r\n\t\t

If you qualify for discounts, your total will be updated during checkout.

\r\n
\r\n\t\t \r\n \r\n\t \t

1\">You might qualify for contractual pricing, a volume discount, or both. These will be applied to your total charges\r\n after you select your wireless number during checkout.

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

Product Amount

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

{{cartitem.displayName}} {{+' - '+cartitem.sku.skuType}}

\r\n

Monthly charges

\r\n
\r\n
1\">\r\n

License price of {{cartitem.sku.priceInfo.monthlyRecurringFee.amount|currency:'USD':true:'1.2-3'}}/user\r\n

\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\t\t\t\t\t\t 1\" >\r\n
\r\n
\r\n \r\n
\r\n
{{ formErrors[i].quantity }}
\r\n
\r\n \r\n
\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

License Price (Unlimited Users)\r\n\t\t\t\t\t\t\t\t

\r\n\t\t\t\t\t\t\t
\r\n
\r\n

{{cartitem && cartitem.priceInfo.monthlyRecurringFee.amount| currency:'USD':true:'1.2-3'}}\r\n

\r\n

{{cartitem && cartitem.priceInfo.monthlyRecurringFee.amount| currency:'USD':true:'1.2-3'}}\r\n

\r\n per month \r\n
\r\n\t\t\t\t\t\t\t
1\">\r\n

{{cartitem && cartitem.priceInfo.monthlyRecurringFee.amount| currency:'USD':true:'1.2-3'}}\r\n

\r\n

{{cartitem && cartitem.priceInfo.monthlyRecurringFee.amount| currency:'USD':true:'1.2-3'}}\r\n

\r\n per month \r\n
\r\n
{{ formErrors[i].quantity }}
\r\n
\r\n
\r\n
\r\n \r\n
0\">\r\n
\r\n
\r\n

One-time charges

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

{{onetimefee.oneTimeFeeName}}

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

{{onetimefee.unitPrice | currency:'USD':true:'1.2-3' }}

\r\n

{{onetimefee.unitPrice | currency:'USD':true:'1.2-3' }}

\r\n one-time charge \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n

Total charges*

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

Total one-time charge

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

{{this.cart.priceInfo && this.cart.priceInfo.oneTimeFee.amount | currency:'USD':true:'1.2-3'}}

\r\n

{{this.cart.priceInfo && this.cart.priceInfo.oneTimeFee.amount | currency:'USD':true:'1.2-3'}}

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

Total monthly charges

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

{{this.cart.priceInfo && this.cart.priceInfo.monthlyRecurringFee.amount | currency:'USD':true:'1.2-3'}}

\r\n

{{this.cart.priceInfo && this.cart.priceInfo.monthlyRecurringFee.amount | currency:'USD':true:'1.2-3'}}

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

* Totals are based on estimated charges. Taxes and fees will be calculated for applicable charges. Charges will appear on your billing statement. You may not see any discounts or bill credits subtracted from your charges until you select your billing account on the Checkout page.

\r\n
\r\n
\r\n \r\n Continue shopping \r\n
\r\n
\r\n \r\n
\r\n
\r\n

{{cartHeader}}

\r\n

There are no items in your cart. Browse the app store to add items.

\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n\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';\nimport { map, catchError } from 'rxjs/operators';\nimport { CartModel, LineItemModel, SkusModel, RequestLineItemModel, ResponseCartModel, ResponseLineItemModel } from './../../models';\nimport { UtilityService, HttpClientService, AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';\nimport { throwError } from 'rxjs';\n\nimport { HttpResponse, HttpHeaders } from '@angular/common/http';\nimport { ANALYTICS_CONSTANTS } from 'config';\nimport { FormGroup } from '@angular/forms';\n\ndeclare var ENV_PORTAL;\n@Injectable()\nexport class CartService {\n form: any;\n errors: any;\n messages: any;\n formArrayName: string;\n dataLayer: {};\n\n constructor(private utilityService: UtilityService,\n private httpClientService: HttpClientService, private adobeAnalyticsService: AdobeAnalyticsService\n ) { }\n\n updateCartQty(cart: CartModel) {\n let fQty = 0;\n if (cart && cart != null && cart.lineItems && cart.lineItems.length > 0) {\n fQty = cart.lineItems.length;\n }\n }\n\n tokenRefresh() {\n this.httpClientService.tokenRefresh(this.utilityService.getEnvConfig().tokenRefresh);\n }\n\n handleError = (error) => {\n return throwError(error);\n }\n\n checkProductAlreadyPresent(lineItems: Array, lineItem: LineItemModel): boolean {\n for (const item of lineItems) {\n if (item.productId === lineItem.productId) {\n return true;\n }\n }\n return false;\n }\n\n checkSkuAlreadyPresent(cartLineItems: Array, lineItem: LineItemModel): any {\n for (const item of cartLineItems) {\n if (item.productId === lineItem.productId && item.sku.id !== lineItem.sku.id) {\n return item.sku.displayName + '(' + item.sku.skuType + ')'; // sending display name for model content\n }\n }\n return false;\n }\n updateCartItemwithNewSku(lineItems: Array, lineItem: LineItemModel): Array {\n lineItems.forEach(function (item, i) {\n if (item.productId === lineItem.productId) {\n lineItems[i] = lineItem;\n }\n });\n return lineItems;\n }\n\n // For Service Call reference\n updateQuantityPrice(cart) {\n return this.httpClientService.authorizedPost(this.utilityService.getEnvConfig().cartServiceUrl, cart)\n .pipe(\n map((res: HttpResponse) => {\n this.httpClientService.updateAuthorizationHeaders(res);\n return res;\n }\n )\n ,catchError( this.handleError ));\n }\n\n updateCartPrice(cart, responseCart): CartModel {\n if (cart && cart.lineItems) {\n let index = 0;\n for (const iterateCart of cart.lineItems) {\n const filteredResponseObject = responseCart.lineItems.filter((data, subindex) =>\n ((data.itemCode === iterateCart.skuId) && (data.productId === iterateCart.productId)));\n\n filteredResponseObject.forEach((responseQtylineItem) => {\n cart.lineItems[index].priceInfo.monthlyRecurringFee.amount = responseQtylineItem.priceInfo.totalAmount.monthlyRecurringFee;\n cart.lineItems[index].priceInfo.oneTimeFee = [];\n cart.lineItems[index].priceInfo.oneTimeFee = responseQtylineItem.priceInfo.oneTimeFee;\n // Each lineItem of Sku contains priceinfo object\n cart.lineItems[index].sku.priceInfo.monthlyRecurringFee.amount =\n responseQtylineItem.priceInfo.monthlyRecurringFee.unitPrice;\n cart.lineItems[index].sku.priceInfo.oneTimeFee = [];\n cart.lineItems[index].sku.priceInfo.oneTimeFee = responseQtylineItem.priceInfo.oneTimeFee;\n // this.cart.lineItems[sindex].priceInfo.oneTimeFee.amount = lineItem.priceInfo.totalAmount.oneTimeFee;\n cart.lineItems[index].productConfigurations = [];\n });\n if (filteredResponseObject && filteredResponseObject.length === 0) {\n cart.lineItems[index].priceInfo.monthlyRecurringFee.amount = 0;\n }\n index++;\n }\n delete cart.ban;\n delete cart.fan;\n delete cart.ctn;\n sessionStorage.removeItem('steps-checkout');\n sessionStorage.removeItem('cart-order');\n cart.isApplySame = false;\n cart.priceInfo.monthlyRecurringFee.amount = responseCart.cartSummary.totalAmount.totalMonthlyRecurringFee;\n cart.priceInfo.oneTimeFee.amount = responseCart.cartSummary.totalAmount.totalOneTimeFee;\n }\n return cart;\n }\n\n updateCartPricewithIndex(cart, responsecart, rowIndex): CartModel {\n responsecart.lineItems.forEach((responseCartLineItem) => {\n if ((responseCartLineItem.itemCode === cart.lineItems[rowIndex].skuId)\n && (responseCartLineItem.productId === cart.lineItems[rowIndex].productId)) {\n // Each Linetimes contains priceinfo object\n cart.lineItems[rowIndex].priceInfo.monthlyRecurringFee.amount =\n responseCartLineItem.priceInfo.totalAmount.monthlyRecurringFee;\n cart.lineItems[rowIndex].priceInfo.oneTimeFee = [];\n cart.lineItems[rowIndex].priceInfo.oneTimeFee = responseCartLineItem.priceInfo.oneTimeFee;\n // Each lineItem of Sku contains priceinfo object\n cart.lineItems[rowIndex].sku.priceInfo.monthlyRecurringFee.amount =\n responseCartLineItem.priceInfo.monthlyRecurringFee.unitPrice;\n cart.lineItems[rowIndex].sku.priceInfo.oneTimeFee = [];\n cart.lineItems[rowIndex].sku.priceInfo.oneTimeFee = responseCartLineItem.priceInfo.oneTimeFee;\n cart.lineItems[rowIndex].productConfigurations = [];\n }\n });\n cart.priceInfo.monthlyRecurringFee.amount = responsecart.cartSummary.totalAmount.totalMonthlyRecurringFee;\n cart.priceInfo.oneTimeFee.amount = responsecart.cartSummary.totalAmount.totalOneTimeFee;\n delete cart.ban;\n delete cart.fan;\n delete cart.ctn;\n sessionStorage.removeItem('steps-checkout');\n sessionStorage.removeItem('cart-order');\n cart.isApplySame = false;\n return cart;\n }\n\n createRequestCart(lineItem: LineItemModel): RequestLineItemModel {\n let requestLineItem = null;\n requestLineItem = new RequestLineItemModel();\n requestLineItem.itemCode = lineItem.skuId;\n requestLineItem.productId = lineItem.productId;\n requestLineItem.quantity = Number(lineItem.quantity);\n return requestLineItem;\n }\n\n getServiceProdDetails(requestDcmCode) {\n const requestObject = {\n 'dcmCodes': requestDcmCode.dcmCodes,\n 'configurationType': 'configurations',\n };\n return this.httpClientService.authorizedPost(this.utilityService.getEnvConfig().productSpecificationUrl, requestObject)\n .pipe(\n map((res: HttpResponse) => {\n this.tokenRefresh();\n this.httpClientService.updateAuthorizationHeaders(res); \n return res.body;\n }\n )\n ,catchError( this.handleError ));\n }\n\n getServiceProdTnc(dcmCodes) {\n return this.httpClientService.authorizedPost(this.utilityService.getEnvConfig().productTncUrl, dcmCodes)\n .pipe(\n map((res: HttpResponse) => {\n this.httpClientService.updateAuthorizationHeaders(res);\n return res;\n }\n )\n ,catchError( this.handleError ));\n }\n\n // Page Load\n createPageLoadProperties(cart: CartModel, url: string, title: string, friendlyPageName: string, pageSection) {\n this.dataLayer = {};\n this.dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FRIENDLY_PAGE_NAME] = friendlyPageName;\n this.dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FLOW_CODE] = ANALYTICS_CONSTANTS.FLOW_CODE_CHECKOUT;\n this.dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_LANGUAGE] = 'EN';\n let sku;\n if (cart) {\n for (const lineItem of cart.lineItems) {\n sku = (sku === undefined) ? lineItem.sku.socCode : sku + '|' + lineItem.sku.socCode;\n }\n if (cart.ban) {\n this.dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_BAN] = cart.ban; // BAN\n }\n if (cart.ctn) {\n this.dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_CTN] = cart.ctn; // CTN\n }\n }\n this.dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_SKU] = sku;\n this.dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_LOGIN_SOURCE] = 'shoplogin';\n this.dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_PAGE_FUNCTION] = 'Sales';\n if (pageSection === 'Checkout') {\n this.dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_ABS_CHECKOUT_STEP] = title;\n }\n this.adobeAnalyticsService.tag('page', this.dataLayer, 'Page_Load', 'pageLoad');\n }\n\n // ProductSpecificInfo_Checkout\n createProductSpecificInfoCheckout(cart: CartModel, status: string, event: string, errorCode?: string, errorText?: string) {\n this.dataLayer = {};\n if (status === 'SUCCESS') {\n this.dataLayer[ANALYTICS_CONSTANTS.EVENT_ITEMS] = [];\n for (const lineItem of cart.lineItems) {\n const items = { 'itemSku': '' };\n items.itemSku = lineItem.sku.socCode;\n this.dataLayer[ANALYTICS_CONSTANTS.EVENT_ITEMS].push(items);\n }\n this.dataLayer[ANALYTICS_CONSTANTS.EVENT_SUCCESS_FLAG] = ANALYTICS_CONSTANTS.EVENTS_SUCCESSFLAG_1;\n this.dataLayer[ANALYTICS_CONSTANTS.EVENT_ERROR_TYPE] = ANALYTICS_CONSTANTS.EVENT_ERROR_SUCCESS_TYPE;\n this.dataLayer[ANALYTICS_CONSTANTS.EVENT_STATUS_CODE] = ANALYTICS_CONSTANTS.EVENTS_SUCCESSFLAG_0;\n } else {\n this.dataLayer[ANALYTICS_CONSTANTS.EVENT_SUCCESS_FLAG] = ANALYTICS_CONSTANTS.EVENTS_SUCCESSFLAG_0;\n this.dataLayer[ANALYTICS_CONSTANTS.EVENT_ERROR_TYPE] = ANALYTICS_CONSTANTS.EVENT_ERROR_FAILURE_TYPE_FAILURE_SYSTEM;\n this.dataLayer[ANALYTICS_CONSTANTS.EVENT_STATUS_CODE] = errorCode;\n // this.dataLayer[ANALYTICS_CONSTANTS.EVENT_STATUS_MESSAGE] = errorText;\n }\n this.dataLayer[ANALYTICS_CONSTANTS.EVENT_EVENT_CODE] = ANALYTICS_CONSTANTS.EVENT_CODE_PRODUCTSPECIFICINFO_Checkout;\n this.adobeAnalyticsService.tag('event', this.dataLayer, ANALYTICS_CONSTANTS.EVENT_CODE_PRODUCTSPECIFICINFO_Checkout, event);\n }\n\n checkQty(val, limit) {\n return (group: FormGroup) => {\n const qty = group.controls[val];\n if (qty.value.length === 0) {\n return qty.setErrors({ 'required': true });\n } else {\n const qtyVal = Number(group.controls[val].value);\n if ((qtyVal !== null) && (qtyVal !== undefined) && (Number(qtyVal) === 0)) {\n return qty.setErrors({ 'pattern': true });\n } else if (qtyVal > limit) {\n return qty.setErrors({ 'limitErr': true });\n }\n }\n };\n }\n}\n","export * from './cart.component';\nexport * from './cart.service';\n","import { FormGroup, Validators, FormBuilder } from '@angular/forms';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { Component, OnInit, OnDestroy, AfterViewInit } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { HttpClient } from '@angular/common/http';\nimport { FetchCriteriaModel } from 'lib/ng2-sapmp/src/ui-components/custom-grid';\nimport { GridFetchModel } from './../../models/grid/grid-fetch.model';\nimport {\n AuthenticationService, UtilityService, ValidationService,\n LicensePricingService, AdobeAnalyticsService\n} from 'lib/ng2-sapmp/src/providers';\nimport { PageLoaderService } from 'lib/ng2-sapmp/src/ui-components';\nimport { ChangeProductService } from './shared';\nimport { BreadCrumbModel, BreadCrumbService } from 'lib/ng2-sapmp/src/ui-components/breadcrumb';\nimport { DROPDOWN, BREADCRUMBS } from 'config';\nimport { ReviewOrderProductModel, ProductDetailsModel } from '../manage-product/review-order-product';\nimport {\n ProductModel, PriceModel, RequestLineItemModel, LineItemModel, SkusModel, PriceInfoModel,\n TotalPriceInfoModel\n} from './../../models';\nimport { MobilePivotModel } from 'lib/ng2-sapmp/src/ui-components/mobile-pivot/mobile-pivot.model';\n\ndeclare var ENV_VAR: any; // global variable set in env.js file, imported in index.html\ndeclare var logoutCurrentUser: any;\ndeclare var ENV_PORTAL: any;\n\n@Component({\n selector: 'app-change-product',\n templateUrl: './change-product.component.html',\n providers: [ValidationService, ChangeProductService, LicensePricingService],\n styleUrls: ['./change-product.component.scss']\n\n})\nexport class ChangeProductComponent implements OnInit, OnDestroy, AfterViewInit {\n\n changeProductForm: FormGroup;\n\n // productDetail: ProductModel;\n productDetail: any = {};\n tmpPricingObj: any = [];\n totPricingObj: any = [];\n breadCrumbs: BreadCrumbModel[];\n selectedindex = 0;\n previousQtyAmt: number;\n reviewOrder: ReviewOrderProductModel;\n initialQty: any = 1;\n proceedToReview = false;\n disableContinueToReview = false;\n tmpQty: any = 1;\n requestPriceInfoObj = {\n id: '',\n quantity: 0\n };\n dataObj = {\n dcmCodes: [],\n quantity: 0\n };\n OwnedProductData = {\n credentialType: 'MOBILEIDENTIFIER',\n credentialId: '',\n dcmCode: ''\n };\n setError: boolean;\n ErrorMessage: string;\n getOwnProdDetails: any;\n currentProd: any;\n volumeContent: any = {};\n usersProductData: any = null;\n selectedBundleSkuId: string;\n noAdditionalOptions = false;\n pivots: Array;\n selectedSkuType = '';\n constructor(\n private router: Router,\n private activatedRoute: ActivatedRoute,\n private authenticationService: AuthenticationService,\n private formBuilder: FormBuilder,\n private utilityService: UtilityService,\n private licensePricingService: LicensePricingService,\n private http: HttpClient, private pageloaderService: PageLoaderService,\n private changeProductService: ChangeProductService,\n private adobeAnalyticsService: AdobeAnalyticsService,\n private breadCrumbService: BreadCrumbService) {\n this.pivots = new Array();\n }\n\n ngOnInit() {\n if (sessionStorage.getItem('singleUserDetail') === null) {\n this.router.navigate(['/home']);\n } else {\n // document.title = 'AT&T Business Console - Change package';\n document.title = this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url];\n document.body.classList.add('changeproduct-page');\n this.pageloaderService.setPageLoaderStatus(false);\n this.usersProductData = JSON.parse(sessionStorage.getItem('singleUserDetail'));\n this.authenticationService.setLoginSuccessUrl(this.router.routerState.snapshot.url);\n this.breadCrumbService.setCurrentBreadCrumb({ 'label': 'Change package', 'routerLink': this.router.routerState.snapshot.url });\n this.pivots.push({ label: 'Manage Products', routerLink: '/manage' });\n this.pivots.push({ label: 'Console dashboard', routerLink: '/dashboard' });\n this.reviewOrder = JSON.parse(sessionStorage.getItem('reviewModel'));\n if (this.reviewOrder !== null && !!this.reviewOrder.newProduct && this.reviewOrder.newProduct !== null) {\n this.selectedSkuType = this.reviewOrder.newProduct;\n }\n this.getOwnedProductInfo();\n this.buildForm();\n }\n }\n /**\n * Below response is in array format,so we are getting the first index element of data.\n */\n private priceUpdate() {\n this.pageloaderService.setPageLoaderStatus(false);\n this.requestPriceInfoObj.id = this.usersProductData.serviceOfferCode;\n this.requestPriceInfoObj.quantity = this.usersProductData.quantity;\n this.changeProductService.getApplicableProductDetails(this.utilityService.getEnvConfig().changeProductUrl, this.requestPriceInfoObj\n ).subscribe(respobj => {\n this.pageloaderService.setPageLoaderStatus(true);\n const pricingrespobj = respobj[0];\n this.setError = false;\n this.ErrorMessage = '';\n if (pricingrespobj.skus && pricingrespobj.skus.length > 1) {\n this.processProductInfo(pricingrespobj);\n if (this.selectedSkuType) {\n const selectProduct = pricingrespobj.skus.find(data => (data.skuType === this.selectedSkuType));\n this.totalCalculation(selectProduct.id);\n }\n this.checkProudctIsPurchasedDiffCtn();\n } else {\n this.noAdditionalOptions = true;\n }\n }, error => {\n this.adobeAnalyticsService.CreateSeriveAlertProperties(error.status, error.statusText, 'formResponse');\n this.setErrorMessage(error, true);\n });\n }\n\n private getOwnedProductInfo() {\n this.OwnedProductData.credentialId = this.usersProductData.billingClientId;\n this.OwnedProductData.dcmCode = this.usersProductData.serviceOfferCode;\n this.licensePricingService.getPricingForOwenedQty(this.OwnedProductData)\n .subscribe(respobj => {\n this.getOwnProdDetails = respobj;\n this.pageloaderService.setPageLoaderStatus(true);\n this.setError = false;\n this.ErrorMessage = '';\n this.priceUpdate();\n }, error => {\n this.adobeAnalyticsService.CreateSeriveAlertProperties(error.status, error.statusText, 'formResponse');\n this.setErrorMessage(error, true);\n });\n }\n\n processProductInfo(pricingrespobj) {\n this.tmpPricingObj = pricingrespobj;\n this.productDetail = pricingrespobj;\n this.tmpPricingObj.skus.forEach((skuobj, sIndex) => {\n const tempPriceInfoObject = {\n 'totalOneTimeFee': 0, 'monthlyRecurringFee': {}, 'dcmCode': '', 'oneTimeFee': [],\n 'totalOneTimeFeeWithDiscount': 0, 'totalOneTimeFeeEstimatedDiscount': 0\n };\n skuobj.bundleSkus.forEach((bskus, oIndex) => {\n if (bskus.priceDetails) {\n if (bskus.priceDetails.priceType === 'oneTimeFee') {\n tempPriceInfoObject.totalOneTimeFee += bskus.priceDetails.totalPrice;\n tempPriceInfoObject.totalOneTimeFeeWithDiscount += bskus.priceDetails.totalPriceWithDiscount;\n tempPriceInfoObject.totalOneTimeFeeEstimatedDiscount += (bskus.priceDetails.applicableDiscount)\n ? bskus.priceDetails.applicableDiscount : 0;\n if (bskus.priceDetails.totalPrice) {\n bskus.priceDetails['oneTimeFeeName'] = bskus.displayName;\n tempPriceInfoObject.oneTimeFee.push(bskus.priceDetails);\n }\n } else if (bskus.priceDetails.priceType === 'monthlyRecurringFee') {\n tempPriceInfoObject.monthlyRecurringFee = bskus.priceDetails;\n tempPriceInfoObject.dcmCode = bskus.dcmCode;\n }\n }\n });\n this.productDetail.skus.forEach((prodobj, pIndex) => {\n if (skuobj.id === prodobj.id) {\n this.productDetail.skus[pIndex].isHidden = false;\n this.productDetail.skus[pIndex].priceInfo = tempPriceInfoObject;\n }\n });\n if (skuobj.skuType === this.selectedSkuType) {\n skuobj.selected = true;\n this.proceedToReview = true;\n }\n });\n this.productDetail.skus.sort((sku1, sku2): number => {\n return (parseInt(sku1.basicPrice, 10) - parseInt(sku2.basicPrice, 10));\n });\n this.productDetail.skus.sort((sku1, sku2): number => {\n return (sku2.selected - sku1.selected);\n });\n }\n\n private totalCalculation(skudId) {\n this.totPricingObj = {};\n this.totPricingObj.selectedItem = this.productDetail.skus.find(data => (data.id === skudId));\n this.totPricingObj.oneTime = this.totPricingObj.selectedItem.priceInfo['oneTimeFee'];\n this.totPricingObj.totalOneTime = this.totPricingObj.selectedItem.priceInfo['totalOneTimeFee'];\n this.totPricingObj.totalOneTimeFeeWithDiscount = this.totPricingObj.selectedItem.priceInfo['totalOneTimeFeeWithDiscount'];\n this.totPricingObj.totalOneTimeFeeEstimatedDiscount = this.totPricingObj.selectedItem.priceInfo['totalOneTimeFeeEstimatedDiscount'];\n this.totPricingObj.perMonth = this.totPricingObj.selectedItem.priceInfo['monthlyRecurringFee'];\n this.totPricingObj.dcmCode = this.totPricingObj.selectedItem.priceInfo['dcmCode'];\n this.totPricingObj.selectedItem.bundleSkus.forEach((bskus) => {\n if (bskus.priceDetails && bskus.priceDetails.priceType === 'monthlyRecurringFee') {\n this.selectedBundleSkuId = bskus.dcmCode;\n }\n });\n }\n\n radioSelection(rowIndex, skuId, event) {\n event.preventDefault();\n this.productDetail.skus.forEach((productObj) => {\n productObj.selected = (productObj.id === skuId) ? 1 : 0;\n });\n this.selectedindex = rowIndex;\n this.totalCalculation(skuId);\n if (!this.disableContinueToReview) {\n this.proceedToReview = true;\n this.setError = false;\n this.ErrorMessage = '';\n }\n }\n\n /**\n * Call to check whether the current variant of product is purchased under different CTN. In this case we have to\n * stop user from changing product variant as there cannot be multiple variant of same product purchased under one\n * company ID.\n */\n private checkProudctIsPurchasedDiffCtn() {\n this.pageloaderService.setPageLoaderStatus(false);\n let isValid = false;\n const gridfetchModel: GridFetchModel = new GridFetchModel();\n const fetchCriteria: FetchCriteriaModel = new FetchCriteriaModel();\n gridfetchModel.serviceStatus = 'ACTIVE';\n gridfetchModel.serviceOfferCodes = [this.getOwnProdDetails.vendorProductId];\n const companyId = JSON.parse(sessionStorage.getItem('user')).user.companyId;\n const ValidateChangeProduct = (this.utilityService.getEnvConfig().ValidateChangeProduct).replace('{companyid}', companyId)\n + this.usersProductData.billingClientId;\n this.changeProductService.getEligibleProductForCtnDetails(ValidateChangeProduct, gridfetchModel)\n .subscribe(response => {\n this.setError = false;\n this.ErrorMessage = '';\n isValid = response;\n if (isValid) {\n this.proceedToReview = true;\n } else {\n this.proceedToReview = false;\n this.setError = true;\n if (ENV_PORTAL === 'sapmp') {\n this.ErrorMessage = 'To change products for more than 1 wireless number, call 866.241.6588 (TTY/TDD 866.241.6567), M - F,'\n + ' 7am-9pm ET. Or chat with an expert by selecting Chat available M - F, 8 a.m.-8 p.m., and Sa - Su 8 a.m.-5 p.m. ET.';\n } else {\n this.ErrorMessage = 'To change products for more than 1 wireless number, call 800.574.7000, M - F,'\n + '8 am-10pm ET. Or chat with an expert by selecting Chat available M - F, 8am-8pm, and Sa - Su, 8am-5pm ET.';\n }\n this.productDetail.skus.forEach((prodobj, pIndex) => {\n this.productDetail.skus[pIndex].isHidden = true;\n });\n this.utilityService.loadFocusOnTop();\n }\n this.pageloaderService.setPageLoaderStatus(true);\n }, error => {\n this.adobeAnalyticsService.CreateSeriveAlertProperties(error.status, error.statusText, 'formResponse');\n this.setErrorMessage(error, false);\n });\n }\n\n confirmSelectedProduct(event) {\n this.pageloaderService.setPageLoaderStatus(false);\n let isValid = false;\n const gridfetchModel: GridFetchModel = new GridFetchModel();\n const fetchCriteria: FetchCriteriaModel = new FetchCriteriaModel();\n gridfetchModel.serviceStatus = 'ACTIVE';\n gridfetchModel.serviceOfferCodes = [this.getOwnProdDetails.vendorProductId];\n const companyId = JSON.parse(sessionStorage.getItem('user')).user.companyId;\n const ValidateChangeProduct = (this.utilityService.getEnvConfig().ValidateChangeProduct).replace('{companyid}', companyId)\n + this.usersProductData.billingClientId;\n /**\n * Call to check whether the current variant of product is purchased under different CTN. In this case we have to\n * stop user from changing product variant as there cannot be multiple variant of same product purchased under one\n * company ID.\n */\n this.changeProductService.getEligibleProductForCtnDetails(ValidateChangeProduct, gridfetchModel)\n .subscribe(response => {\n this.setError = false;\n this.ErrorMessage = '';\n isValid = response;\n if (isValid) {\n this.proceedToReview = true;\n this.goToReviewOrder(event);\n } else {\n this.proceedToReview = false;\n this.setError = true;\n if (ENV_PORTAL === 'sapmp') {\n this.ErrorMessage = 'To change products for more than 1 wireless number, call 866.241.6588 (TTY/TDD 866.241.6567), M - F,'\n + ' 7am-9pm ET. Or chat with an expert by selecting Chat available M - F, 8 a.m.-8 p.m., and Sa - Su 8 a.m.-5 p.m. ET.';\n } else {\n this.ErrorMessage = 'To change products for more than 1 wireless number, call 800.574.7000, M - F,'\n + '8 am-10pm ET. Or chat with an expert by selecting Chat available M - F, 8am-8pm, and Sa - Su, 8am-5pm ET.';\n }\n this.productDetail.skus.forEach((prodobj, pIndex) => {\n if (this.totPricingObj.dcmCode === prodobj.id) {\n this.productDetail.skus[pIndex].isHidden = true;\n }\n });\n\n this.utilityService.loadFocusOnTop();\n this.pageloaderService.setPageLoaderStatus(true);\n }\n }, error => {\n this.adobeAnalyticsService.CreateSeriveAlertProperties(error.status, error.statusText, 'formResponse');\n this.setErrorMessage(error, false);\n });\n }\n\n goToReviewOrder(event) {\n // setting data for review order page\n try {\n this.pageloaderService.setPageLoaderStatus(false);\n this.reviewOrder = new ReviewOrderProductModel();\n this.reviewOrder.fan = this.usersProductData.brokerAccountClientId;\n this.reviewOrder.ctn = this.utilityService.formatTelephoneNumber(this.usersProductData.billingClientId);\n this.reviewOrder.description = this.usersProductData.productDesc ? this.usersProductData.productDesc : '';\n this.reviewOrder.unitPrice = (this.totPricingObj.perMonth.customPrice)\n ? this.totPricingObj.perMonth.customPrice : this.totPricingObj.perMonth.unitPrice;\n this.reviewOrder.totalLicense = this.usersProductData.quantity;\n this.reviewOrder.type = 'changeProduct';\n this.reviewOrder.currentProduct = this.usersProductData.specName;\n this.reviewOrder.newProduct = this.totPricingObj.selectedItem.skuType;\n this.reviewOrder.product = this.tmpPricingObj.displayName + ' - ' + this.totPricingObj.selectedItem.skuType;\n this.reviewOrder.backUrl = 'changeProduct';\n this.reviewOrder.lineItems = this.generateLineItems();\n this.reviewOrder.subscriptionId = this.getOwnProdDetails.purchaseIdentifier;\n this.reviewOrder.unitTotalAmount = this.totPricingObj.perMonth.totalPrice;\n this.reviewOrder.estimatedDiscount = (this.totPricingObj.perMonth.applicableDiscount)\n ? this.totPricingObj.perMonth.applicableDiscount : 0;\n this.reviewOrder.totalAmount = (this.totPricingObj.perMonth.totalPriceWithDiscount) ?\n this.totPricingObj.perMonth.totalPriceWithDiscount : this.totPricingObj.perMonth.totalPrice;\n this.reviewOrder.oneTimeFeeInfo = this.totPricingObj.oneTime;\n this.reviewOrder.oneTimeFee = (this.totPricingObj.totalOneTimeFeeWithDiscount) ?\n this.totPricingObj.totalOneTimeFeeWithDiscount : this.totPricingObj.totalOneTime;\n this.reviewOrder.oneTimeFeeEstimatedDiscount = this.totPricingObj.totalOneTimeFeeEstimatedDiscount;\n sessionStorage.setItem('reviewModel', JSON.stringify(this.reviewOrder));\n this.pageloaderService.setPageLoaderStatus(true);\n this.router.navigate(['manageProduct/revieworderproduct']);\n } catch (e) {\n this.setErrorMessage('error', true);\n }\n }\n\n generateLineItems() {\n const lineItems = Array();\n\n const existingItem: ProductDetailsModel = new ProductDetailsModel();\n existingItem.productId = this.productDetail.id;\n existingItem.dcmCode = this.getOwnProdDetails.vendorProductId;\n existingItem.socCode = this.getOwnProdDetails.billingCode;\n existingItem.quantity = this.usersProductData.quantity;\n existingItem.bundleSkuId = this.getOwnProdDetails.vendorProductId;\n existingItem.action = 'REMOVE';\n\n\n const newItem: ProductDetailsModel = new ProductDetailsModel();\n newItem.productId = this.productDetail.id;\n newItem.dcmCode = this.totPricingObj.dcmCode;\n newItem.socCode = this.totPricingObj.selectedItem.socCode;\n newItem.quantity = this.usersProductData.quantity;\n newItem.bundleSkuId = this.selectedBundleSkuId;\n newItem.action = 'ADD';\n newItem.childDcmCodes = [];\n for (const childSku of this.productDetail.skus) {\n if (childSku.id !== newItem.bundleSkuId) {\n newItem.childDcmCodes.push(childSku.id);\n }\n }\n lineItems.push(existingItem);\n lineItems.push(newItem);\n\n return lineItems;\n }\n\n setErrorMessage(err, isPageInitErr) {\n this.pageloaderService.setPageLoaderStatus(true);\n if (err.status === 500) {\n this.setError = true;\n this.ErrorMessage = 'We couldn\\'t complete your request. Please try again later.';\n } else if (err.status === 400) {\n this.setError = true;\n \n if (err.error[0]) {\n this.ErrorMessage = JSON.stringify(err.error[0]);\n } else if (err.error) {\n this.ErrorMessage = err.error;\n }\n else {\n this.ErrorMessage = 'Can not add more than max-qty';\n }\n } else if (err.status === 401) {\n this.setError = true;\n this.ErrorMessage = 'Session expired, Please login again.';\n logoutCurrentUser(true);\n } else {\n this.setError = true;\n this.ErrorMessage = 'We couldn\\'t complete your request. Please try again later.';\n }\n this.utilityService.loadFocusOnTop();\n // disabling continue button, on load error scenarios\n if (isPageInitErr) {\n this.disableContinueToReview = true;\n }\n this.proceedToReview = false;\n this.adobeAnalyticsService.CreateSeriveAlertProperties(err.status, this.ErrorMessage, 'formResponse');\n }\n\n buildForm(): void { // creating formcontrol as a group that is used as formControlName in html\n this.changeProductForm = this.formBuilder.group({\n qty: [[]]\n });\n }\n\n ngAfterViewInit() {\n this.changeProductService.createPageLoadProperties(this.usersProductData.serviceOfferCode,\n this.router.routerState.snapshot.url, 'Change Product');\n }\n\n ngOnDestroy() {\n this.pageloaderService.setPageLoaderStatus(true);\n }\n}\n","
\n \n
\n
\n
\n \n
\n
{{ErrorMessage}}
\n
\n
\n
\n \n
\n
This product doesn't have any additional options.
\n
\n
\n \n

Change license type

\n
\n
Selected product:
{{usersProductData.specName}}
\n
Foundation account: {{usersProductData.brokerAccountClientId}}
\n
Wireless number: {{usersProductData.billingClientId}}
\n
{{usersProductData.productDesc}}
\n
\n
\n
\n
\n
\n You currently own\n
{{usersProductData.quantity}} 1)? 'licenses':'license'\">({{this.getOwnProdDetails?.unitPrice\n | currency:'USD':true:'1.2-3' }} / user)
\n
\n
\n
\n
{{ this.getOwnProdDetails?.totalPrice | currency:'USD':true:'1.2-3' }}
\n
per month
\n
\n
\n
\n
\n
\n\n
\n

Select a different product

\n
When you change your product, the new product licenses will be applied to all currently-assigned users.
\n
\n
\n
\n
\n
\n
\n
 \n \n
\n
\n

\n
\n \n
\n
\n

License price

\n
\n {{((sku?.priceInfo?.monthlyRecurringFee?.customPrice) ? sku?.priceInfo?.monthlyRecurringFee?.customPrice : sku?.priceInfo?.monthlyRecurringFee?.unitPrice)\n | currency:'USD':true:'1.2-3'}} each user per month\n
\n
\n
\n
\n
\n
\n
\n
\n
\n

{{ sku.priceInfo.totalOneTimeFee | currency:'USD':true:'1.2-3'}}

\n

due now

\n
\n
\n

{{ 0 | currency:'USD':true:'1.2-3'}}

\n

due now

\n
\n
\n\n
\n
\n
\n

\n {{sku && sku.priceInfo && sku.priceInfo.monthlyRecurringFee.totalPrice | currency:'USD':true:'1.2-3'}}\n

\n

\n {{sku && sku.priceInfo && sku.priceInfo.monthlyRecurringFee.totalPrice | currency:'USD':true:'1.2-3'}}\n

\n

due monthly

\n

for {{usersProductData.quantity}} licenses

\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n
\n

{{oneTimeFee && oneTimeFee.oneTimeFeeName}}

\n
\n

\n {{oneTimeFee && oneTimeFee.price[0].amount | currency:'USD':true:'1.2-3'}}\n {{oneTimeFee && oneTimeFee.price[0].amount | currency:'USD':true:'1.2-3'}}\n

\n

One-time charge

\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n Cancel\n
\n
\n
\n","export * from './change-product.component';\n","export * from './providers/change-product.service';\n","import { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { HttpClient, HttpResponse, HttpHeaders } from '@angular/common/http';\n\nimport { throwError } from 'rxjs';\n\n\n\nimport { HttpClientService, AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';\nimport { ANALYTICS_CONSTANTS } from 'config';\ndeclare var ENV_PORTAL;\n@Injectable()\nexport class ChangeProductService {\n\n constructor(private http: HttpClient, private httpClientService: HttpClientService, private adobeAnalyticsService: AdobeAnalyticsService) { }\n\n getApplicableProductMock(getPricingDetailsservice) {\n return this.httpClientService.get(getPricingDetailsservice)\n .pipe(\n map((test: HttpResponse) => test)\n ,catchError( this.handleError ));\n }\n\n getEligibleProductForCtnMock(getProductDetailsservice) {\n return this.httpClientService.get(getProductDetailsservice)\n .pipe(\n map((test: HttpResponse) => test)\n ,catchError( this.handleError ));\n }\n\n getApplicableProductDetails(getPricingDetailsservice, requestPriceInfoObj) {\n return this.genericPostApiInvoke(getPricingDetailsservice, requestPriceInfoObj);\n }\n\n getEligibleProductForCtnDetails(getPricingDetailsservice, requestPriceInfoObj) {\n return this.httpClientService.authorizedPut(getPricingDetailsservice, requestPriceInfoObj)\n .pipe(\n map((res: HttpResponse) => {\n this.httpClientService.updateAuthorizationHeaders(res);\n return res.body;\n })\n ,catchError( this.handleError ));\n }\n\n getPricingInfo(getPricingDetailsservice, requestPriceInfoObj) {\n return this.genericPostApiInvoke(getPricingDetailsservice, requestPriceInfoObj);\n }\n\n genericPostApiInvoke(getPricingDetailsservice, requestPriceInfoObj) {\n return this.httpClientService.authorizedPost(getPricingDetailsservice, requestPriceInfoObj)\n .pipe(\n map((res: HttpResponse) => {\n this.httpClientService.updateAuthorizationHeaders(res);\n return res.body;\n })\n ,catchError( this.handleError ));\n }\n\n // Page Load\n createPageLoadProperties(dcmCode: string, url: string, pageTitle: string) {\n const dataLayer = {};\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FRIENDLY_PAGE_NAME] = ANALYTICS_CONSTANTS.FRIENDLY_NAME_CHANGE_PRODUCT;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FLOW_CODE] = ANALYTICS_CONSTANTS.FLOW_CODE_CHANGE_PRODUCT;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_LANGUAGE] = 'EN';\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_SKU] = dcmCode;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_LOGIN_SOURCE] = 'manage';\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_PAGE_FUNCTION] = 'Service';\n this.adobeAnalyticsService.tag('page', dataLayer, 'Page_Load', 'pageLoad');\n }\n\n handleError = (error) => {\n return throwError(error);\n }\n}\n","import { Component, OnInit, OnDestroy } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { FormGroup, Validators, FormBuilder } from '@angular/forms';\nimport { ConfirmModalPopupModel } from 'lib/ng2-sapmp/src/ui-components/confirm-modal';\nimport { ValidationService, AuthenticationService, UtilityService, AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';\nimport { CartModel, PaymentDetailsModel, BtmPaymentMethodModel, RequestEligibilityDetailsModel } from './../../../models';\nimport { UserProfileModel, AccountModel } from 'lib/ng2-sapmp/src/models';\nimport { StepIndicatorService } from 'lib/ng2-sapmp/src/ui-components/step-indicator';\nimport { PageLoaderService } from 'lib/ng2-sapmp/src/ui-components/page-loader';\nimport { DropdownModel } from 'lib/ng2-sapmp/src/ui-components/dropdown';\nimport { KEY_CONFIG } from 'lib/ng2-sapmp/src/config/key-config';\nimport { BillingPaymentService } from './shared';\nimport { CartService } from '../../cart/cart.service';\nimport { DROPDOWN } from 'config';\n\ndeclare var ENV_VAR: any; // global variable set in env.js file, imported in index.html\ndeclare var logoutCurrentUser: any;\ndeclare var ENV_PORTAL: any;\n\n@Component({\n selector: 'app-billing-payment',\n providers: [ValidationService, BillingPaymentService, AdobeAnalyticsService, CartService],\n templateUrl: './billing-payment.component.html',\n styleUrls: ['./../checkout.component.scss']\n})\nexport class BillingPaymentComponent implements OnInit, OnDestroy {\n billingpaymentform: FormGroup;\n fanNumbers: Array;\n banNumbers: Array;\n ctnNumbers: Array;\n selectedFan: DropdownModel;\n selectedBan: DropdownModel;\n selectedCtn: string;\n removeProductModalPopup: ConfirmModalPopupModel;\n editFbtn: boolean;\n editBbtn: boolean;\n editCbtn: boolean;\n shownFan: string;\n shownBan: string;\n banMatch: boolean;\n ctnMatch: boolean;\n showFanDropDown: boolean;\n showBanDropDown: boolean;\n showCtnDropDown: boolean;\n banSectionEnable: boolean;\n ctnSectionEnable: boolean;\n setError: boolean;\n ErrorMessage: string;\n continueToProdConfig: boolean;\n user: UserProfileModel;\n cart: CartModel = null;\n paymentdetails: PaymentDetailsModel;\n selectedValueFlag: boolean;\n cancelCheckout: boolean;\n cancelMessage = 'Do you want to cancel the checkout?';\n dropDownPlaceholder: string;\n banField: boolean;\n dropbanDownPlaceholder: string;\n invalidFan = false;\n fanMessage: string;\n errorFlag= false;\n errorBanFlag = false;\n modalClass: string;\n removeProd = false;\n product: RequestEligibilityDetailsModel;\n cartList: Array = [];\n eligibleList: Array = [];\n formErrors = {\n 'ban': '',\n 'ctn': ''\n };\n validationMessages = {\n 'ban': {\n 'pattern': 'Enter a valid billing account.'\n },\n 'ctn': {\n 'pattern': 'Enter a valid wireless number.'\n }\n };\n\n constructor(\n private router: Router,\n private activatedRoute: ActivatedRoute,\n private stepindicatorService: StepIndicatorService,\n private formBuilder: FormBuilder,\n private validationService: ValidationService,\n private billingPaymentService: BillingPaymentService,\n private adobeAnalyticsService: AdobeAnalyticsService,\n private utilityService: UtilityService,\n private authenticationService: AuthenticationService,\n private pageloaderService: PageLoaderService,\n private cartService: CartService) {\n this.user = new UserProfileModel();\n this.dropDownPlaceholder = 'Select';\n }\n\n createFanDropDownList(fanNumbers, dropDownList) {\n for (const fan of fanNumbers) {\n // Allowing only unique id\n if (fan !== dropDownList[0].name) {\n const dropdown: DropdownModel = new DropdownModel();\n dropdown.name = fan;\n dropdown.value = fan;\n dropDownList.push(dropdown);\n }\n }\n return dropDownList;\n }\n\n getFan(state) {\n const fanList = this.user.fanList;\n\n const dropDownList = [{ 'name': 'Select', 'value': '' }];\n if (state === 'backinit') {\n this.fanNumbers = this.createFanDropDownList(fanList, dropDownList);\n if (fanList.length === 1) {\n this.editFbtn = false;\n }\n } else {\n if (fanList.length === 1) {\n this.shownFan = fanList[0];\n this.editFbtn = false;\n this.pageloaderService.setPageLoaderStatus(false);\n this.invalidFan = false;\n this.fanMessage = '';\n this.validateProduct();\n } else {\n this.pageloaderService.setPageLoaderStatus(true);\n this.fanNumbers = this.createFanDropDownList(fanList, dropDownList);\n this.selectedFan = this.fanNumbers[0];\n this.showFanDropDown = true;\n }\n }\n }\n\n selectGoFan() {\n if (this.selectedFan.name !== 'Select' && this.selectedFan.name !== '' && this.selectedFan.name !== undefined) {\n this.shownFan = this.selectedFan.name;\n this.dropbanDownPlaceholder = 'Select';\n this.pageloaderService.setPageLoaderStatus(false);\n this.invalidFan = false;\n this.fanMessage = '';\n this.validateProduct();\n }\n }\n\n validateProduct() {\n this.cartList = new Array();\n let count = 0;\n this.cart.lineItems.forEach(lineItem => {\n const product = new RequestEligibilityDetailsModel();\n product.productId = lineItem.productId;\n product.itemCode = lineItem.skuId;\n product.quantity = lineItem.quantity;\n this.cartList.push(product);\n });\n\n this.billingPaymentService.validateSelectedFan(this.utilityService.getEnvConfig().validateFanUrl, this.cartList, this.shownFan)\n .subscribe(obj => {\n this.pageloaderService.setPageLoaderStatus(true);\n obj.lineItems.forEach(lineItem => {\n this.cart.lineItems.forEach(eligibleLineItem => {\n if (lineItem.productId === eligibleLineItem.productId) {\n if (!lineItem.isEligible) {\n count++;\n } else {\n this.eligibleList.push(eligibleLineItem);\n }\n }\n });\n });\n if (count === 0) {\n this.showFanDropDown = false;\n this.banSectionEnable = true;\n this.showBanDropDown = true;\n this.getBanDetails('init');\n } else if (count === obj.lineItems.length) {\n this.pageloaderService.setPageLoaderStatus(true);\n this.setError = false;\n this.invalidFan = true;\n // tslint:disable-next-line:max-line-length\n this.fanMessage = (count > 1) ? 'Thank you for your interest. Your shopping cart contains products you\\'re not eligible for. We\\'ll need to remove products from your cart. Select a different foundation account or call your administrator' : 'Thank you for your interest. Your shopping cart contains a product you\\'re not eligible for. We\\'ll need to remove a product from your cart. Select a different foundation account or call your administrator';\n } else {\n this.showRemoveProductModal(count);\n }\n }, err => {\n this.setErrorMessage(err);\n });\n }\n\n editFan() {\n this.showFanDropDown = true;\n this.banSectionEnable = false;\n this.showBanDropDown = false;\n this.showCtnDropDown = false;\n this.ctnSectionEnable = false;\n this.billingpaymentform.get('ban').setValue('');\n this.billingpaymentform.get('ctn').setValue('');\n this.selectedBan = undefined;\n this.selectedCtn = '';\n this.continueToProdConfig = true;\n }\n getBanDetails(state) {\n this.editBbtn = true;\n const dropDownList = [{ 'name': 'Select', 'value': '' }];\n this.pageloaderService.setPageLoaderStatus(false);\n this.billingPaymentService.getBanDetailsGnFan(this.utilityService.getEnvConfig().getBanUrl, this.shownFan)\n .subscribe(banrespobj => {\n this.setError = false;\n this.pageloaderService.setPageLoaderStatus(true);\n this.ErrorMessage = '';\n if (state === 'backinit') {\n this.showBanDropDown = false;\n if (banrespobj.bansList.length === 1) {\n this.editBbtn = false;\n const optedBan = banrespobj.bansList[0].name ? banrespobj.bansList[0].name : banrespobj.bansList[0];\n this.selectedBan = { 'name': optedBan, 'value': optedBan };\n this.shownBan = optedBan;\n this.showCtnDropDown = true;\n this.showBanDropDown = false;\n this.billingpaymentform.get('ban').setValue(banrespobj.bansList[0]);\n this.banNumbers = banrespobj.bansList;\n this.getCtnDetails();\n } else if (banrespobj.bansList.length <= 15) {\n let dropDownList = [{ 'name': 'Select', 'value': '' }];\n this.banNumbers = this.createFanDropDownList(banrespobj.bansList, dropDownList);\n this.banMatch = false;\n this.banField = false;\n } else {\n this.banNumbers = banrespobj.bansList;\n this.banMatch = false;\n this.banField = true;\n }\n } else {\n if (banrespobj.bansList.length === 1) {\n this.ctnSectionEnable = true;\n this.showCtnDropDown = true;\n this.showBanDropDown = false;\n const optedBan = banrespobj.bansList[0].name ? banrespobj.bansList[0].name : banrespobj.bansList[0];\n this.selectedBan = { 'name': optedBan, 'value': optedBan };\n this.shownBan = optedBan;\n this.billingpaymentform.get('ban').setValue(banrespobj.bansList[0]);\n this.editBbtn = false;\n this.getCtnDetails();\n } else if (banrespobj.bansList.length <= 15) {\n this.banNumbers = this.createFanDropDownList(banrespobj.bansList, dropDownList);\n this.selectedBan = this.banNumbers[0];\n this.banMatch = false;\n this.banField = false;\n // document.getElementById('bandropdown').focus();\n } else {\n this.banNumbers = banrespobj.bansList;\n this.banMatch = false;\n this.banField = true;\n }\n }\n }, err => {\n this.setErrorMessage(err);\n });\n }\n\n checkBanEntered(event) {\n if (!event || (event && event.keyCode !== KEY_CONFIG.tabKey)) {\n let tmp_ban;\n if (this.banField) {\n tmp_ban = this.billingpaymentform.value.ban;\n tmp_ban = { 'name': tmp_ban, 'value': tmp_ban };\n } else {\n tmp_ban = this.selectedBan;\n }\n if ((this.selectedBan && this.selectedBan.name !== 'Select' && this.selectedBan.name !== '' && this.selectedBan.name !== undefined)\n || (tmp_ban && this.banField)) {\n this.banMatch = false;\n if (this.banNumbers !== undefined) {\n for (const item of this.banNumbers) {\n if ((item.name ? item.name : item) === tmp_ban.name) {\n this.banMatch = true;\n setTimeout(function () {\n document.getElementById('ctninput').focus();\n }, 500);\n }\n }\n }\n if (this.banMatch === false) {\n this.setError = true;\n this.ErrorMessage = 'Enter a valid billing account for the foundation account.';\n this.showCtnDropDown = false;\n this.errorBanFlag = true;\n this.utilityService.loadFocusOnTop();\n } else if (this.banMatch === true) {\n this.setError = false;\n this.ErrorMessage = '';\n this.showCtnDropDown = true;\n this.ctnSectionEnable = true;\n this.showBanDropDown = false;\n const optedBan = tmp_ban.name ? tmp_ban.name : tmp_ban;\n this.selectedBan = { 'name': optedBan, 'value': optedBan };\n this.shownBan = optedBan;\n this.dropbanDownPlaceholder = optedBan;\n this.getCtnDetails();\n }\n }\n }\n }\n\n editBan() {\n this.showBanDropDown = true;\n this.showCtnDropDown = false;\n this.ctnSectionEnable = false;\n this.billingpaymentform.get('ctn').setValue('');\n this.selectedCtn = '';\n this.continueToProdConfig = true;\n }\n\n\n editCtn() {\n this.showCtnDropDown = true;\n this.continueToProdConfig = true;\n }\n\n\n matchCtn(event) {\n if (!event || (event && event.keyCode !== KEY_CONFIG.tabKey)) {\n const tmp_ctn = this.billingpaymentform.value.ctn.split('.').join('');\n this.ctnMatch = false;\n if (this.ctnNumbers !== undefined) {\n for (const ctn of this.ctnNumbers) {\n if (ctn === tmp_ctn) {\n this.ctnMatch = true;\n }\n }\n }\n if (this.ctnMatch === false) {\n this.setError = true;\n this.ErrorMessage = 'Enter a valid wireless number for the billing account.';\n this.continueToProdConfig = true;\n this.utilityService.loadFocusOnTop();\n } else if (this.ctnMatch === true) {\n this.continueToProdConfig = false;\n this.showCtnDropDown = false;\n this.setError = false;\n this.ErrorMessage = '';\n this.selectedCtn = this.utilityService.formatTelephoneNumber(tmp_ctn);\n }\n }\n }\n\n getCtnDetails() {\n this.pageloaderService.setPageLoaderStatus(false);\n this.pageloaderService.setPageLoaderStatus(false);\n this.billingPaymentService.getCtnDetailsGnBan(this.utilityService.getEnvConfig().getCtnUrl, this.selectedBan)\n .subscribe(ctnrespobj => {\n this.pageloaderService.setPageLoaderStatus(true);\n this.setError = false;\n this.ErrorMessage = '';\n if (ctnrespobj.ctnList.length === 1) {\n this.showCtnDropDown = false;\n this.editCbtn = false;\n this.ctnNumbers = ctnrespobj.ctnList;\n this.ctnMatch = false;\n this.billingpaymentform.get('ctn').setValue(ctnrespobj.ctnList[0]);\n this.selectedCtn = this.utilityService.onBlurFormat(ctnrespobj.ctnList[0], 'dot');\n this.continueToProdConfig = false;\n } else {\n this.ctnNumbers = ctnrespobj.ctnList;\n this.editCbtn = true;\n this.ctnMatch = false;\n }\n }, err => {\n this.setErrorMessage(err);\n });\n }\n\n ctnChange(event) {\n event = Object(event);\n if (event) {\n if (event.keyCode === 46) {\n // not to except .\n event.preventDefault();\n }\n if ((event.charCode >= KEY_CONFIG.numericKey0 && event.charCode <= KEY_CONFIG.numericKey9) ||\n event.keyCode === KEY_CONFIG.backSpaceKey || event.type === 'input') { // ag4104 need to update keycode in\n this.continueToProdConfig = true;\n }\n } else {\n this.continueToProdConfig = true;\n }\n }\n\n ctnBlur(event) {\n if (event.target.value.match('^[0-9]{1,100}$')) {\n const val = this.utilityService.onBlurFormat(event.target.value, 'dot');\n this.billingpaymentform.get('ctn').setValue(val);\n }\n }\n\n ctnFocus(event) {\n const val = this.utilityService.onFocusFormat(event.target.value, 'dot');\n this.billingpaymentform.get('ctn').setValue(val);\n }\n\n ngOnInit() {\n\n\n if (sessionStorage.getItem('cart') === null) {\n console.log(this.cart);\n this.router.navigate(['/home']);\n return;\n }\n\n // document.title = 'AT&T Business Console - Checkout - Billing and Payment';\n document.title = this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url];\n this.authenticationService.setLoginSuccessUrl(this.router.routerState.snapshot.url);\n this.pageloaderService.setPageLoaderStatus(false);\n this.user = this.authenticationService.getUser();\n this.stepindicatorService.setCurrentStep(this.activatedRoute.snapshot.url[0].path);\n this.stepindicatorService.setVisibility(true);\n this.continueToProdConfig = true;\n this.banSectionEnable = false;\n this.showBanDropDown = false;\n this.editFbtn = true;\n this.editBbtn = true;\n this.editCbtn = true;\n this.buildForm();\n if (this.user) {\n this.cart = JSON.parse(sessionStorage.getItem('cart'));\n if (this.cart.fan !== undefined && this.cart.ban !== undefined && this.cart.ctn !== undefined) {\n this.getFan('backinit');\n this.showFanDropDown = false;\n this.shownFan = this.cart.fan;\n this.dropDownPlaceholder = this.cart.fan;\n this.dropbanDownPlaceholder = this.cart.ban;\n this.billingpaymentform.get('ban').setValue(this.cart.ban);\n this.selectedFan = { 'name': this.cart.fan, 'value': this.cart.fan };\n this.selectedBan = { 'name': this.cart.ban, 'value': this.cart.ban };\n this.shownBan = this.cart.ban;\n this.selectedCtn = this.utilityService.formatTelephoneNumber(this.cart.ctn);\n this.billingpaymentform.get('ctn').setValue(this.utilityService.formatTelephoneNumber(this.cart.ctn));\n this.billingPaymentService.getBanDetailsGnFan(this.utilityService.getEnvConfig().getBanUrl, this.shownFan)\n .subscribe(banrespobj => {\n this.banSectionEnable = true;\n this.ctnSectionEnable = true;\n this.showCtnDropDown = false;\n this.showBanDropDown = false;\n const dropDownList = [{ 'name': 'Select', 'value': '' }];\n this.setError = false;\n this.ErrorMessage = '';\n this.banNumbers = this.createFanDropDownList(banrespobj.bansList, dropDownList);\n if (banrespobj.bansList.length === 1) {\n this.editBbtn = false;\n }\n this.pageloaderService.setPageLoaderStatus(true);\n this.getCtnDetails();\n }, err => {\n this.pageloaderService.setPageLoaderStatus(true);\n this.adobeAnalyticsService.CreateSeriveAlertProperties(err.status, err.statusText, 'formResponse');\n this.handleError(err);\n });\n this.continueToProdConfig = false;\n } else {\n this.getFan('init');\n }\n }\n this.billingPaymentService.createPageLoadProperties(this.cart,\n this.router.routerState.snapshot.url,\n 'Checkout Step1 Billing payment');\n }\n\n buildForm(): void { // creating formcontrol as a group that is used as formControlName in html\n\n this.billingpaymentform = this.formBuilder.group({\n ban: ['', [\n Validators.pattern('^[0-9]{1,100}$')]],\n ctn: ['', [\n Validators.pattern('^[0-9\\.]{1,100}$')]]\n });\n\n this.validationService.validate(\n this.billingpaymentform,\n this.formErrors,\n this.validationMessages);\n\n }\n\n setCartObj() {\n this.cart.fan = this.shownFan;\n this.cart.ban = this.shownBan;\n this.cart.ctn = this.selectedCtn.split('.').join('');\n sessionStorage.setItem('cart', JSON.stringify(this.cart));\n // this.billingPaymentService.createBillingFormSubmitLoadProperties(this.cart, 'SUCCESS', 'formSubmit');\n if (this.authenticationService.getUser() === null) {\n // this.router.navigate(['login']);\n window.location.href = '/businessconsole/login';\n } else {\n this.router.navigate(['/checkout/serviceConfiguration']);\n }\n }\n\n\n selected(selectedValue: DropdownModel) {\n this.selectedFan = selectedValue;\n if (this.selectedFan.value.length !== 0) {\n this.selectedValueFlag = true;\n } else {\n this.selectedValueFlag = false;\n }\n }\n\n selectedBanNumber(selectedValue: DropdownModel) {\n this.selectedBan = selectedValue;\n this.dropbanDownPlaceholder = selectedValue.name;\n if (this.selectedBan.value.length !== 0) {\n this.selectedValueFlag = true;\n } else {\n this.selectedValueFlag = false;\n }\n }\n\n showRemoveProductModal(qty) {\n this.removeProductModalPopup = new ConfirmModalPopupModel();\n // tslint:disable-next-line:max-line-length\n this.removeProductModalPopup.modalMessage = (qty > 1) ? '

Thank you for your interest.

We\\'ll need to remove products from your cart which your account isn\\'t eligible for. Please call your administrator if you have questions.

' : '

Thank you for your interest.

We\\'ll need to remove a product from your cart which your account isn\\'t eligible for. Please call your administrator if you have questions.

';\n this.removeProductModalPopup.modalHeader = 'Ineligible products';\n this.removeProductModalPopup.cancelButtonMessage = 'Cancel';\n this.removeProductModalPopup.confirmButtonMessage = 'OK';\n this.removeProductModalPopup.cancelButtonAccessibilityText = 'Cancel';\n this.removeProductModalPopup.confirmButtonAccessibilityText = 'OK';\n this.modalClass = 'modal-lg';\n this.removeProd = true;\n document.body.classList.add('modal-open');\n this.pageloaderService.setPageLoaderStatus(true);\n }\n\n removeProduct(event) {\n if (event) {\n const qty = this.cart.lineItems.length - this.eligibleList.length;\n this.cart.lineItems = this.eligibleList;\n sessionStorage.setItem('cart', JSON.stringify(this.cart));\n this.setError = false;\n this.invalidFan = true;\n // tslint:disable-next-line:max-line-length\n this.fanMessage = (qty > 1) ? 'We\\'ll need to remove products from your cart because your account isn\\'t eligible for them. If you have any questions, call your administrator.' : 'We\\'ll need to remove a product from your cart because your account isn\\'t eligible for it. If you have any questions, call your administrator.';\n this.showFanDropDown = false;\n this.banSectionEnable = true;\n this.showBanDropDown = true;\n this.getBanDetails('init');\n }\n this.removeProd = false;\n document.body.classList.remove('modal-open');\n\n }\n\n cancel() {\n this.cancelCheckout = true;\n }\n\n goBackToCart() {\n if (this.cart.fan !== undefined && this.cart.fan !== null) {\n delete this.cart.fan;\n sessionStorage.setItem('cart', JSON.stringify(this.cart));\n }\n\n if (this.cart.ban !== undefined && this.cart.ban !== null) {\n delete this.cart.ban;\n sessionStorage.setItem('cart', JSON.stringify(this.cart));\n }\n\n if (this.cart.ctn !== undefined && this.cart.ctn !== null) {\n delete this.cart.ctn;\n sessionStorage.setItem('cart', JSON.stringify(this.cart));\n }\n this.stepindicatorService.removeStep('checkout');\n this.router.navigate(['/cart']);\n }\n\n setErrorMessage(err) {\n this.invalidFan = false;\n this.adobeAnalyticsService.CreateSeriveAlertProperties(err.status, err.statusText, 'formResponse');\n this.pageloaderService.setPageLoaderStatus(true);\n if (err.status === 500) {\n this.setError = true;\n this.ErrorMessage = 'We couldn\\'t complete your request. Please try again later.';\n this.errorFlag = true;\n } else if (err.status === 401) {\n this.setError = true;\n this.ErrorMessage = 'Session expired, Please login again.';\n logoutCurrentUser(true);\n } else {\n this.setError = true;\n this.ErrorMessage = 'We couldn\\'t complete your request. Please try again later.';\n this.errorFlag = true;\n }\n this.utilityService.loadFocusOnTop();\n }\n\n handleError(error) {\n throw error;\n }\n\n ngOnDestroy() {\n this.pageloaderService.setPageLoaderStatus(true);\n }\n}\n","\n
\n
\n
\n \n
\n
\n

Something isn't working

\n

Need valid billing account number

\n

{{ErrorMessage}}

\n
\n
\n
\n
\n \n
\n
\n

{{fanMessage}}

\n
\n
\n
\n\n
\n
\n
\n \n

Select the account you want to use for billing.

\n
\n \n \n
\n \n
\n
\n \n
\n \n
\n \n\n
\n \n \n
\n

{{shownFan}}|Edit

\n
\n
\n \n \n\n
\n \n\n
\n \n \n
\n
\n \n
\n
\n
\n \n
\n
\n {{ formErrors.ban }}\n
\n
\n \n
\n \n
\n
\n \n \n
\n
\n {{ formErrors.ban }}\n
\n
\n
\n \n
\n
\n \n\n \n
\n \n \n
\n

{{shownBan}}|Edit

\n
\n
\n \n \n
\n\n \n
\n \n
\n \n
\n
\n \n \n \n
\n
\n {{ formErrors.ctn }}\n
\n
\n
\n \n
\n
\n\n
\n \n \n
\n

{{selectedCtn}}|Edit

\n
\n
\n
\n \n\n \n
\n \n
\n
\n
\n\n\n
\n \n \n \n
","export * from './shared';\nexport * from './billing-payment.component';\n","export * from './providers/billing-payment.service';\n","import { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { Router } from '@angular/router';\nimport { throwError } from 'rxjs';\n\nimport { HttpClient, HttpResponse, HttpHeaders } from '@angular/common/http';\nimport { ANALYTICS_CONSTANTS } from 'config';\nimport { CartModel } from './../../../../../models';\nimport { UtilityService, HttpClientService, AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';\n\ndeclare var ENV_PORTAL;\n@Injectable()\nexport class BillingPaymentService {\n\n constructor(private http: HttpClient,\n private httpClientService: HttpClientService, private adobeAnalyticsService: AdobeAnalyticsService) { }\n\n validateSelectedFan(getFanDetailService, lineItems, fan) {\n const fanObj = {};\n fanObj['fan'] = fan;\n fanObj['lineItems'] = lineItems;\n return this.httpClientService.authorizedPost(getFanDetailService, fanObj)\n .pipe(\n map((resp: HttpResponse) => {\n this.httpClientService.updateAuthorizationHeaders(resp);\n return resp.body;\n })\n ,catchError( this.handleError ));\n }\n\n getBanDetailsGnFan(getBanDetailService, fan) {\n const fanObj = {};\n fanObj['fan'] = fan;\n return this.httpClientService.authorizedPost(getBanDetailService, fanObj)\n .pipe(\n map((resp: HttpResponse) => {\n this.httpClientService.updateAuthorizationHeaders(resp);\n return resp.body;\n })\n ,catchError( this.handleError ));\n }\n\n getCtnDetailsGnBan(getCtnDetailService, ban) {\n const banObj = {};\n banObj['ban'] = ban.value;\n return this.httpClientService.authorizedPost(getCtnDetailService, banObj)\n .pipe(\n map((resp: HttpResponse) => {\n this.httpClientService.updateAuthorizationHeaders(resp);\n return resp.body;\n })\n ,catchError( this.handleError ));\n }\n\n // Page Load abode analytics property creator\n createPageLoadProperties(cart: CartModel, url: string, title: string) {\n const dataLayer = {};\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FRIENDLY_PAGE_NAME] = ANALYTICS_CONSTANTS.FRIENDLY_NAME_BILLING_PAYMENT;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FLOW_CODE] = ANALYTICS_CONSTANTS.FLOW_CODE_CHECKOUT;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_LANGUAGE] = 'EN';\n let sku;\n for (const lineItem of cart.lineItems) {\n sku = (sku === undefined) ? lineItem.sku.socCode : sku + '|' + lineItem.sku.socCode;\n }\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_SKU] = sku;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_LOGIN_SOURCE] = 'shoplogin';\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_PAGE_FUNCTION] = 'Sales';\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_ABS_CHECKOUT_STEP] = title; \n this.adobeAnalyticsService.tag('page', dataLayer, 'Page_Load', 'pageLoad');\n }\n\n // billing form submit abode analytics property creator\n createBillingFormSubmitLoadProperties(cart, status: string, event: string, errorCode?: string, errorText?: string) {\n const dataLayer = {};\n dataLayer[ANALYTICS_CONSTANTS.EVENT_EVENT_CODE] = ANALYTICS_CONSTANTS.EVENT_CODE_BILLING_CHECKOUT;\n\n if (status === 'SUCCESS') {\n dataLayer[ANALYTICS_CONSTANTS.EVENT_ITEMS] = [];\n for (const item of cart.lineItems) {\n const sku = { 'itemSku': item.sku.socCode };\n dataLayer[ANALYTICS_CONSTANTS.EVENT_ITEMS].push(sku);\n }\n dataLayer[ANALYTICS_CONSTANTS.EVENT_SUCCESS_FLAG] = ANALYTICS_CONSTANTS.EVENTS_SUCCESSFLAG_1;\n dataLayer[ANALYTICS_CONSTANTS.EVENT_ERROR_TYPE] = ANALYTICS_CONSTANTS.EVENT_ERROR_SUCCESS_TYPE;\n dataLayer[ANALYTICS_CONSTANTS.EVENT_STATUS_CODE] = ANALYTICS_CONSTANTS.EVENTS_SUCCESSFLAG_0;\n } else {\n dataLayer[ANALYTICS_CONSTANTS.EVENT_SUCCESS_FLAG] = ANALYTICS_CONSTANTS.EVENTS_SUCCESSFLAG_0;\n dataLayer[ANALYTICS_CONSTANTS.EVENT_ERROR_TYPE] = ANALYTICS_CONSTANTS.EVENT_ERROR_FAILURE_TYPE_FAILURE_SYSTEM;\n dataLayer[ANALYTICS_CONSTANTS.EVENT_STATUS_CODE] = errorCode;\n // dataLayer[ANALYTICS_CONSTANTS.EVENT_STATUS_MESSAGE] = errorText;\n }\n this.adobeAnalyticsService.tag('event', dataLayer, ANALYTICS_CONSTANTS.EVENT_CODE_BILLING_CHECKOUT, event);\n }\n\n handleError = (error) => {\n return throwError(error);\n }\n}\n\n","import { Component, OnInit } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { StepIndicatorModel, StepIndicatorService } from 'lib/ng2-sapmp/src/ui-components/step-indicator';\nimport { STEPINDICATORS } from 'config';\nimport { BreadCrumbService } from 'lib/ng2-sapmp/src/ui-components/breadcrumb';\nimport { HeaderService } from './../header/header.service';\n@Component({\n selector: 'app-checkout',\n providers: [StepIndicatorService], // this service though part of StepIndicator component is provided from here to the component\n templateUrl: './checkout.component.html',\n styleUrls: ['./checkout.component.scss']\n})\nexport class CheckoutComponent implements OnInit {\n\n steps: StepIndicatorModel[];\n displayFlag: boolean;\n stepSessionName: string;\n\n constructor(private stepindicatorService: StepIndicatorService,\n private breadCrumbService: BreadCrumbService, private headerService: HeaderService) {\n this.displayFlag = true;\n this.stepSessionName = 'checkout';\n }\n ngOnInit() {\n this.headerService.setCondensedFooterStatus(true);\n this.headerService.condensedHeader(this.stepSessionName);\n document.title = 'AT&T Business Console - Checkout - Terms and Conditions';\n this.breadCrumbService.setCurrentBreadCrumb(undefined);\n this.steps = STEPINDICATORS.stepobjArr.slice();\n if (this.stepindicatorService.getSteps(this.stepSessionName) === null) {\n this.stepindicatorService.setSteps(this.steps, this.stepSessionName);\n }\n this.steps = this.stepindicatorService.getSteps(this.stepSessionName);\n this.stepindicatorService.getVisibility().subscribe(\n (status: boolean) => {\n this.displayFlag = status;\n }\n );\n }\n}\n","
\n\t

Checkout

\n\t\n\t\n
\n\n","export * from './billing-payment';\nexport * from './review-order';\nexport * from './order-confirmation';\nexport * from './service-configuration';\nexport * from './checkout.component';\n","export * from './order-confirmation.component';\n","import { ActivatedRoute, Router } from '@angular/router';\nimport { Component, OnInit } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\n\nimport { AuthenticationService, UtilityService, AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';\nimport { CartModel } from './../../../models';\nimport { StepIndicatorService, PageLoaderService } from 'lib/ng2-sapmp/src/ui-components';\nimport { ANALYTICS_CONSTANTS } from 'config';\nimport { HeaderService } from './../../header/header.service';\n\n\ndeclare var ENV_PORTAL;\n\n@Component({\n selector: 'app-checkout-order-confirm',\n templateUrl: './order-confirmation.component.html',\n styleUrls: ['./../checkout.component.scss']\n\n})\nexport class OrderConfirmationComponent implements OnInit {\n confirmedOrder: CartModel = null;\n billNumber: string;\n tnctitle: string;\n\n constructor(private router: Router, private activatedRoute: ActivatedRoute,\n private stepindicatorService: StepIndicatorService, private authenticationService: AuthenticationService,\n private utilityService: UtilityService, private pageLoaderService: PageLoaderService,\n private adobeAnalyticsService: AdobeAnalyticsService, private headerService: HeaderService) {\n }\n\n ngOnInit() {\n this.headerService.setCondensedFooterStatus(false);\n this.headerService.condensedHeader('confirmOrder');\n\n if (sessionStorage.getItem('cart-order') === null) {\n this.router.navigate(['/home']);\n return;\n }\n this.pageLoaderService.setPageLoaderStatus(false);\n if (ENV_PORTAL === 'fnabc') {\n this.tnctitle = 'FirstNet Terms of Service';\n } else {\n this.tnctitle = 'ABC Terms of Service';\n }\n // document.title = 'AT&T Business Console - Checkout - Order Confirmation';\n document.title = this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url];\n this.authenticationService.setLoginSuccessUrl(this.router.routerState.snapshot.url);\n this.stepindicatorService.setCurrentStep(this.activatedRoute.snapshot.url[0].path);\n this.stepindicatorService.setVisibility(true);\n this.confirmedOrder = Object.create(JSON.parse(sessionStorage.getItem('cart-order')));\n this.billNumber = this.utilityService.formatTelephoneNumber(this.confirmedOrder.ctn);\n this.createPageLoadProperties(this.confirmedOrder, this.router.routerState.snapshot.url,\n 'Checkout confirm order', 'BC Checkout Confirm Order Pg');\n this.pageLoaderService.setPageLoaderStatus(true);\n }\n\n private createPageLoadProperties(order, url, pageTitle, friendlyPageName) {\n const dataLayer = {};\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FRIENDLY_PAGE_NAME] = ANALYTICS_CONSTANTS.FRIENDLY_NAME_CHECKOUT_STEP4;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FLOW_CODE] = ANALYTICS_CONSTANTS.FLOW_CODE_CHECKOUT;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_LANGUAGE] = 'EN';\n if (order) {\n let sku;\n for (const lineItem of order.lineItems) {\n sku = (sku === undefined) ? lineItem.sku.socCode : sku + '|' + lineItem.sku.socCode;\n }\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_SKU] = sku;\n }\n if (order.ban) {\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_BAN] = order.ban; // BAN\n }\n if (order.ctn) {\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_CTN] = order.ctn; // CTN\n }\n if (ENV_PORTAL === 'fnabc') {\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_FIRSTNET_FLAG] = ANALYTICS_CONSTANTS.EVENTS_SUCCESSFLAG_1;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_FIRST_NET_USER_ROLE] = ANALYTICS_CONSTANTS.GLOBAL_USER_FIRST_NET_USER_ROLE_VALUE;\n }\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_LOGIN_SOURCE] = 'shoplogin';\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_PAGE_FUNCTION] = 'Sales';\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_ABS_CHECKOUT_STEP] = pageTitle;\n this.adobeAnalyticsService.tag('page', dataLayer, 'Page_Load', 'pageLoad');\n }\n continueshopping() {\n sessionStorage.removeItem('cart-order');\n this.stepindicatorService.removeStep('checkout');\n this.router.navigate(['home']);\n }\n}\n\n","
\r\n
\r\n
\r\n

Thank you

\r\n

We're completing your request.

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

Thank you

\r\n

We're completing your request.

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

Order number: {{this.confirmedOrder.orderId}}

\r\n

Bill to: {{billNumber}}

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

Product Amount

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

{{iterateConfirmedOrderLineItems?.sku?.displayName}} - {{iterateConfirmedOrderLineItems?.sku?.skuType}}

\n

Monthly charges

\r\n
\r\n
\r\n\t
1\">\r\n \r\n
\r\n

1)? 'Number of licenses':'Number of license'\"> {{iterateConfirmedOrderLineItems.quantity}} @ {{iterateConfirmedOrderLineItems.sku && iterateConfirmedOrderLineItems.sku.priceInfo.monthlyRecurringFee.amount\r\n |currency:'USD':true:'1.2-3'}}/user\r\n

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

{{iterateConfirmedOrderLineItems?.priceInfo?.monthlyRecurringFee.amount|currency:'USD':true:'1.2-3'}}\r\n

\r\n per month \r\n
\r\n
\r\n\t
\r\n \r\n
\r\n \r\n

License Price (Unlimited Users)\r\n

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

{{iterateConfirmedOrderLineItems?.priceInfo?.monthlyRecurringFee.amount|currency:'USD':true:'1.2-3'}}\r\n

\r\n per month \r\n
\r\n
\r\n
0\" class=\"row line-items top-margin\">\r\n \r\n
\r\n

Estimated discount

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

- {{iterateConfirmedOrderLineItems.priceInfo && iterateConfirmedOrderLineItems?.priceInfo?.monthlyRecurringFee?.discountAmount\r\n |currency:'USD':true:'1.2-3'}}\r\n

\r\n per month \r\n
\r\n
\r\n \r\n
\r\n \r\n\r\n
\r\n

{{prod.label}}: {{prod.value}}

\r\n

{{prod.label}}: {{prod.value.value}}

\r\n
\r\n
\r\n \r\n \r\n
0\">\r\n
\r\n
\r\n

One-time charges

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

{{oneTimecharge.oneTimeFeeName}}

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

{{oneTimecharge.unitPrice|currency:'USD':true:'1.2-3'}}

\r\n

0)\">{{oneTimecharge.customPrice|currency:'USD':true:'1.2-3'}}

\r\n one-time payment \r\n
\r\n
\r\n
0)\">\r\n
\r\n

Estimated discount

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

- {{oneTimecharge.discount|currency:'USD':true:'1.2-3'}}

\r\n one-time payment \r\n
\r\n
\r\n
\r\n
1) && (iterateConfirmedOrderLineItems.priceInfo?.totalOneTimeDiscount > 0)\"\r\n class=\"row otc-line-items est-discount\">\r\n
\r\n

Estimated discount

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

- {{iterateConfirmedOrderLineItems.priceInfo?.totalOneTimeDiscount|currency:'USD':true:'1.2-3'}}

\r\n one-time payment \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Total charges*

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

Total monthly charges

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

{{this.confirmedOrder.priceInfo && this.confirmedOrder.priceInfo.monthlyRecurringFee.amount |currency:'USD':true:'1.2-3'}}

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

Total one-time charges

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

{{this.confirmedOrder.priceInfo && this.confirmedOrder.priceInfo.oneTimeFee.amount |currency:'USD':true:'1.2-3'}}

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

Legal agreement

\r\n

{{tnctitle}} is subject to its Terms & Conditions.

\n

*Totals are based on estimated charges. Taxes and fees will be calculated for applicable charges. Charges will appear on your billing statement. You may not see any discounts or bill credits subtracted from your charges until you select your billing account on the Checkout page.

\r\n
\r\n
\r\n\r\n
","export * from './shared';\nexport * from './review-order.component';\n","import { ActivatedRoute, Router } from '@angular/router';\nimport { Component, OnInit } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { HttpResponse } from '@angular/common/http';\nimport { AuthenticationService, UtilityService, AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';\nimport { UserProfileModel } from 'lib/ng2-sapmp/src/models';\nimport { CartModel } from './../../../models';\nimport { StepIndicatorService, PageLoaderComponent, PageLoaderService } from 'lib/ng2-sapmp/src/ui-components';\nimport { ReviewOrderService } from './shared/providers/review-order.service';\nimport { ANALYTICS_CONSTANTS } from 'config';\nimport { HeaderService } from './../../header/header.service';\nimport {\n ConfirmOrderModel, BtmPaymentMethodModel, PaymentDetailsModel, LineItemsModel, OrderSourceModel,\n RequestLineItemModel, RequestCheckoutModel\n} from './shared';\n\ndeclare var logoutCurrentUser: any;\ndeclare var checkCart: any;\n\ndeclare var ENV_PORTAL;\nconst ENV_PORTAL_DOMAIN = (ENV_PORTAL === 'fnabc') ? 'FN' : 'ABC';\n\n@Component({\n selector: 'app-review-order',\n providers: [ReviewOrderService],\n templateUrl: './review-order.component.html',\n styleUrls: ['./../checkout.component.scss']\n\n})\nexport class ReviewOrderComponent implements OnInit {\n cart: CartModel = null;\n user: UserProfileModel;\n subscriberNumber: string;\n order: any;\n errorMsg = '';\n cancelCheckout: boolean;\n cancelMessage = 'Do you want to cancel the checkout?';\n routeStatus: boolean;\n prodConfig: any[];\n orderConfirmationNumber: string;\n billNumber: string;\n confirmRequest: Array;\n confirmOrderModal: ConfirmOrderModel;\n btmPaymentMethodModel: BtmPaymentMethodModel;\n paymentDetailsModel: PaymentDetailsModel;\n orderSourceModel: OrderSourceModel;\n lineItemsModel: LineItemsModel;\n csrPermissionSubmitButton: boolean;\n tnctitle: string;\n tncUrl: string;\n requestLineItem: RequestLineItemModel;\n requestCheckout: RequestCheckoutModel;\n isCheckoutValid: boolean;\n\n constructor(\n private router: Router,\n private activatedRoute: ActivatedRoute,\n private stepindicatorService: StepIndicatorService,\n private revieworderservice: ReviewOrderService,\n private authenticationService: AuthenticationService,\n private utilityService: UtilityService,\n private pageLoaderService: PageLoaderService,\n private adobeAnalyticsService: AdobeAnalyticsService,\n private headerService: HeaderService\n ) {\n this.subscriberNumber = '';\n // this.cart = new CartModel();\n this.confirmRequest = new Array();\n this.confirmOrderModal = new ConfirmOrderModel();\n this.btmPaymentMethodModel = new BtmPaymentMethodModel();\n this.paymentDetailsModel = new PaymentDetailsModel();\n this.orderSourceModel = new OrderSourceModel();\n this.lineItemsModel = new LineItemsModel();\n this.confirmOrderModal.lineItems = new Array();\n this.csrPermissionSubmitButton =\n this.utilityService.checkFieldPermission('reviewOrder.submit', JSON.parse(sessionStorage.getItem('permissions')).perm);\n this.tnctitle = undefined;\n this.tncUrl = undefined;\n this.requestCheckout = new RequestCheckoutModel();\n this.requestCheckout.lineItems = [];\n this.isCheckoutValid = true;\n }\n\n ngOnInit() {\n\n if (sessionStorage.getItem('cart') === null) {\n this.router.navigate(['/home']);\n return;\n }\n this.pageLoaderService.setPageLoaderStatus(false);\n if (ENV_PORTAL_DOMAIN === 'FN') {\n this.tnctitle = 'FirstNet Apps & Solutions ';\n } else {\n this.tnctitle = 'AT&T Business Console';\n }\n document.title = this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url];\n this.authenticationService.setLoginSuccessUrl(this.router.routerState.snapshot.url);\n this.routeStatus = false;\n this.stepindicatorService.setCurrentStep(this.activatedRoute.snapshot.url[0].path);\n this.stepindicatorService.setVisibility(true);\n this.cart = JSON.parse(sessionStorage.getItem('cart'));\n this.billNumber = this.utilityService.formatTelephoneNumber(this.cart.ctn);\n this.revieworderservice.createPageLoadProperties(this.cart, this.router.routerState.snapshot.url,\n 'Checkout Step3 review order', 'BC Checkout Step 3 Review Order Pg');\n this.user = this.authenticationService.getUser();\n this.getProdTnc();\n\n if (this.cart && this.cart != null && this.cart.lineItems) {\n let index = 0;\n this.cart.lineItems.forEach((lineItem) => {\n this.requestLineItem = this.revieworderservice.createRequestCheckout(lineItem);\n this.requestCheckout.lineItems.push(this.requestLineItem);\n index++;\n });\n this.requestCheckout.fan = this.cart.fan;\n this.pageLoaderService.setPageLoaderStatus(false);\n this.revieworderservice.updateQuantityPrice(this.requestCheckout).subscribe(orderResponse => {\n this.cart = this.revieworderservice.updateCartPrice(this.cart, orderResponse);\n this.pageLoaderService.setPageLoaderStatus(true);\n }, error => {\n this.pageLoaderService.setPageLoaderStatus(true);\n this.handleError(error);\n });\n } else {\n this.pageLoaderService.setPageLoaderStatus(true);\n }\n\n }\n\n prevStep() {\n this.router.navigate(['/checkout/serviceConfiguration']);\n }\n\n homepage() {\n this.router.navigate(['home']);\n }\n\n continueshopping() {\n this.router.navigate(['browse']);\n }\n\n cancel() {\n this.cancelCheckout = true;\n }\n\n handleCancel(isCancel) {\n if (isCancel) {\n this.cart = JSON.parse(sessionStorage.getItem('cart'));\n this.user = this.authenticationService.getUser();\n if (this.cart && this.cart.lineItems && this.cart.lineItems.length > 0) {\n this.cart.lineItems[0].productConfigurations[0].value = '';\n this.cart.lineItems[0].productConfigurations[1].value = '';\n this.cart.lineItems[0].productConfigurations[2].value = '';\n if (this.cart.paymentDetails && this.cart.paymentDetails.btmPaymentMethod) {\n this.cart.paymentDetails.btmPaymentMethod.billingCTN = undefined;\n }\n }\n sessionStorage.setItem('cart', JSON.stringify(this.cart));\n this.stepindicatorService.removeStep('checkout');\n this.router.navigate(['cart']);\n }\n this.cancelCheckout = false;\n }\n\n placeorder() {\n this.createConfirmRequestBody(this.cart);\n this.revieworderservice.createAdobeEventProperties(this.cart, 'SUCCESS', 'formSubmit',\n ANALYTICS_CONSTANTS.EVENT_NAME_REVIEW_ORDER_SUBMIT, undefined);\n this.pageLoaderService.setPageLoaderStatus(false);\n this.revieworderservice.confirmOrder(this.confirmOrderModal)\n .subscribe( (respobj: HttpResponse) => {\n this.orderConfirmationNumber = respobj.body.customerOrderNumber;\n this.billNumber = this.cart.ctn;\n this.routeStatus = true;\n this.stepindicatorService.setVisibility(false);\n this.revieworderservice.createAdobeEventProperties(this.cart, 'SUCCESS', 'formResponse',\n ANALYTICS_CONSTANTS.EVENT_NAME_REVIEW_ORDER_SUBMIT, undefined);\n this.revieworderservice.createAdobeEventProperties(this.cart, 'SUCCESS', 'formResponse',\n ANALYTICS_CONSTANTS.EVENT_CODE_ORDER_CONFIRMED, this.orderConfirmationNumber);\n this.cart.orderId = this.orderConfirmationNumber;\n this.cart.productTnc = this.tncUrl;\n sessionStorage.setItem('cart-order', JSON.stringify(this.cart));\n sessionStorage.removeItem('cart');\n // this.headerService.checkCart();\n this.router.navigate(['/checkout/confirmOrder']);\n this.pageLoaderService.setPageLoaderStatus(true);\n }, error => {\n this.pageLoaderService.setPageLoaderStatus(true);\n this.handleError(error);\n });\n }\n\n createConfirmRequestBody(cart) {\n\n this.btmPaymentMethodModel.ban = cart.ban;\n this.btmPaymentMethodModel.fan = cart.fan;\n this.btmPaymentMethodModel.billingCTN = cart.ctn;\n this.paymentDetailsModel.btmPaymentMethod = this.btmPaymentMethodModel;\n this.confirmOrderModal.paymentDetails = this.paymentDetailsModel;\n for (let obj of cart.lineItems) {\n let requestArray = new Array();\n let reqObj = {};\n let flag = 0;\n this.lineItemsModel = new LineItemsModel();\n this.lineItemsModel.productId = obj.productId;\n this.lineItemsModel.quantity = obj.quantity;\n this.lineItemsModel.dcmCode = obj.sku.id;\n this.lineItemsModel.email = this.user.emailAddress;\n this.lineItemsModel.bundleSkuId = obj.sku.id;\n this.lineItemsModel.socCode = obj.sku.socCode;\n for (let item of obj.productConfigurations) {\n if (item.label === 'Terms & Conditions') {\n flag = 1;\n }\n if (item.isDropDown) {\n reqObj[item.name] = item.value.value;\n } else {\n reqObj[item.name] = item.value;\n }\n }\n if (flag === 1) {\n this.lineItemsModel.isTncAccepted = true;\n } else {\n this.lineItemsModel.isTncAccepted = false;\n }\n this.lineItemsModel.childDcmCodes = obj.childDcmCodes;\n this.lineItemsModel.configurations = [];\n this.lineItemsModel.configurations = obj.orderConfigurations;\n this.confirmOrderModal.lineItems.push(this.lineItemsModel);\n }\n this.orderSourceModel.clientIP = '343.22.22.11';\n this.orderSourceModel.clientType = 'DESKTOP';\n this.confirmOrderModal.ordersource = this.orderSourceModel;\n }\n\n handleError(error) {\n let isSystemError = false;\n if (error) {\n if (error.status === 401) {\n this.errorMsg = 'Session expired.Please login again.';\n isSystemError = true;\n logoutCurrentUser(true);\n } else if (error.status === 500) {\n try {\n let responseError = error.error[0];\n let errorMsg = '';\n if (responseError && responseError.errors && responseError.errors.length > 0) {\n responseError.errors.forEach(element => {\n this.cart.lineItems.forEach(lineitem => {\n let errorDesc: string = element.errorDescription;\n if (errorDesc.match(lineitem.skuId)) {\n errorMsg += errorMsg === '' ? lineitem.displayName + '(' + lineitem.sku.skuType + ')' :\n ', ' + lineitem.displayName + '(' + lineitem.sku.skuType + ')';\n }\n });\n });\n }\n if (errorMsg) {\n this.errorMsg = 'Your company already owns ' + errorMsg + '. Remove ' + errorMsg +\n ' from your cart and then continue checking out.';\n this.revieworderservice.createAdobeEventProperties(this.cart, 'FAILURE', 'formResponse',\n ANALYTICS_CONSTANTS.EVENT_NAME_REVIEW_ORDER_SUBMIT, undefined, error.status, error.statusText, 'Failure_BusinessRule');\n this.adobeAnalyticsService.CreateSeriveAlertProperties(error.status, error.statusText, 'formResponse', 'Failure_BusinessRule');\n isSystemError = false;\n } else {\n this.errorMsg = 'We couldn\\'t complete your request. Please try again later.';\n isSystemError = true;\n }\n } catch (exception) {\n console.log(exception);\n this.errorMsg = 'We couldn\\'t complete your request. Please try again later.';\n isSystemError = true;\n }\n } else {\n this.errorMsg = 'We couldn\\'t complete your request. Please try again later.';\n isSystemError = true;\n }\n } else {\n throw error;\n }\n if (isSystemError) {\n this.revieworderservice.createAdobeEventProperties(this.cart, 'FAILURE', 'formResponse',\n ANALYTICS_CONSTANTS.EVENT_NAME_REVIEW_ORDER_SUBMIT, undefined, error.status, error.statusText, 'Failure_System');\n this.adobeAnalyticsService.CreateSeriveAlertProperties(error.status, error.statusText, 'formResponse');\n }\n this.utilityService.loadFocusOnTop();\n this.isCheckoutValid = false;\n }\n\n\n\n // To set Tnc url\n getProdTnc() {\n this.pageLoaderService.setPageLoaderStatus(false);\n this.revieworderservice.getServiceProdTnc().subscribe(\n (data) => {\n this.tncUrl = data[0].url;\n },\n (responseError) => {\n this.pageLoaderService.setPageLoaderStatus(true);\n this.handleError(responseError);\n }\n );\n }\n\n}\n\n","
\r\n\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n

Error!

\r\n

{{ this.errorMsg }}

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

Order: {{orderConfirmationNumber}}

\r\n

Bill to: {{billNumber}}

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

Product Amount

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

{{obj.sku && obj.sku.displayName}} - {{obj.sku && obj.sku.skuType}}

\r\n

Monthly charges

\r\n
\r\n
\r\n
1\">\r\n \r\n
\r\n \r\n

1)? 'Number of licenses':'Number of license'\"> {{obj.quantity}} @ {{obj.sku\r\n && obj.sku.priceInfo.monthlyRecurringFee.amount |currency:'USD':true:'1.2-3'}}/user\r\n

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

{{obj.priceInfo && obj.priceInfo.monthlyRecurringFee.amount|currency:'USD':true:'1.2-3'}}\r\n

\r\n per month \r\n
\r\n
\r\n\t
\r\n \r\n
\r\n \r\n

License Price (Unlimited Users)\r\n

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

{{obj.priceInfo && obj.priceInfo.monthlyRecurringFee.amount|currency:'USD':true:'1.2-3'}}\r\n

\r\n per month \r\n
\r\n
\r\n
0\" role=\"row\" class=\"row line-items top-margin\">\r\n \r\n
\r\n

Estimated discount

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

- {{obj.priceInfo && obj?.priceInfo?.monthlyRecurringFee?.discountAmount |currency:'USD':true:'1.2-3'}}\r\n

\r\n per month \r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n

{{prod.label}}: {{prod.value}}

\r\n

{{prod.label}}: {{prod.value.value}}

\r\n
\r\n
\r\n \r\n \r\n
0\">\r\n
\r\n
\r\n

One-time charges

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

{{charge.oneTimeFeeName}}

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

{{charge.unitPrice|currency:'USD':true:'1.2-3'}}

\r\n

0)\">{{charge.customPrice|currency:'USD':true:'1.2-3'}}

\r\n one-time payment \r\n
\r\n
\r\n
0)\">\r\n
\r\n

Estimated discount

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

- {{charge.discount|currency:'USD':true:'1.2-3'}}

\r\n one-time payment \r\n
\r\n
\r\n
\r\n
1) && (obj.priceInfo?.totalOneTimeDiscount > 0)\"\r\n class=\"row otc-line-items est-discount\" role=\"row\">\r\n
\r\n

Estimated discount

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

- {{obj.priceInfo?.totalOneTimeDiscount|currency:'USD':true:'1.2-3'}}

\r\n one-time payment \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n \r\n\r\n
\r\n
\r\n \r\n

Total charges*

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

Total monthly charges

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

{{cart.priceInfo && cart.priceInfo.monthlyRecurringFee.amount |currency:'USD':true:'1.2-3'}}

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

Total one-time charges

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

{{cart.priceInfo && cart.priceInfo.oneTimeFee.amount |currency:'USD':true:'1.2-3'}}

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

Legal agreement

\r\n

{{tnctitle}} is subject to its Terms & Conditions.

\r\n

* Totals are based on estimated charges. Taxes and fees will be calculated for applicable charges. Charges will appear on your billing statement. You may not see any discounts or bill credits subtracted from your charges until you select your billing account on the Checkout page.

\r\n
\r\n \r\n
\r\n \r\n \r\n
","export * from './providers/review-order.service';\nexport * from './model';\n","export class BtmPaymentMethodModel {\n fan: string;\n ban: string;\n billingCTN: string;\n\n constructor() {\n this.fan = undefined;\n this.ban = undefined;\n this.billingCTN = undefined;\n }\n}\n","import { PaymentDetailsModel } from './payment-details.model';\nimport { LineItemsModel } from './line-items.model';\nimport { OrderSourceModel } from './order-source.model';\n\nexport class ConfirmOrderModel {\n lineItems: LineItemsModel[];\n paymentDetails: PaymentDetailsModel;\n ordersource: OrderSourceModel;\n}\n","export * from './confirm-order.model';\nexport * from './line-items.model';\nexport * from './payment-details.model';\nexport * from './btm-payment-method.model';\nexport * from './order-source.model';\nexport * from './requestcheckout-line-item.model';\nexport * from './requestcheckout.model';\n","export class LineItemsModel {\n productId: string;\n dcmCode: string;\n socCode: string;\n quantity: number;\n email: string;\n bundleSkuId: string;\n isTncAccepted: boolean;\n childDcmCodes: string[];\n configurations: any[];\n\n constructor() {\n this.configurations = undefined;\n this.dcmCode = undefined;\n this.email = '';\n this.isTncAccepted = undefined;\n this.productId = undefined;\n this.quantity = undefined;\n this.socCode = undefined;\n this.bundleSkuId = undefined;\n this.childDcmCodes = undefined;\n }\n}\n","export class OrderSourceModel {\n\n clientIP: string;\n clientType: string;\n\n constructor() {\n this.clientIP = undefined;\n this.clientType = undefined;\n }\n}\n","import { BtmPaymentMethodModel } from './btm-payment-method.model';\n\nexport class PaymentDetailsModel {\n btmPaymentMethod: BtmPaymentMethodModel;\n\n constructor() {\n this.btmPaymentMethod = undefined;\n }\n}\n","export class RequestLineItemModel {\n productId: any;\n itemCode: any;\n socCode: any;\n quantity: number;\n}\n","\nimport { RequestLineItemModel } from './index';\nexport class RequestCheckoutModel {\n lineItems: RequestLineItemModel[];\n fan: string;\n}\n","import { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { Router } from '@angular/router';\nimport { throwError } from 'rxjs';\n\nimport { HttpResponse, HttpHeaders } from '@angular/common/http';\nimport { ANALYTICS_CONSTANTS } from 'config';\nimport { CartModel, LineItemModel } from './../../../../../models';\nimport { RequestLineItemModel } from './../model';\nimport { UtilityService, HttpClientService, AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';\ndeclare var ENV_PORTAL;\n@Injectable()\nexport class ReviewOrderService {\n\n constructor(private utilityService: UtilityService,\n private httpClientService: HttpClientService,\n private router: Router,\n private adobeAnalyticsService: AdobeAnalyticsService) { }\n\n getCartObject(cartServiceUrl) {\n return this.httpClientService.authorizedGet(cartServiceUrl)\n .pipe(\n map((res: HttpResponse) => {\n this.httpClientService.updateAuthorizationHeaders(res);\n return res;\n })\n ,catchError( this.handleError ));\n }\n\n confirmOrder(cartObj) {\n return this.httpClientService.authorizedPost(this.utilityService.getEnvConfig().submitConfirmOrder, cartObj)\n .pipe(\n map((res: HttpResponse) => {\n this.httpClientService.updateAuthorizationHeaders(res);\n return res;\n }\n )\n ,catchError( this.handleError ));\n }\n\n handleError = (error) => {\n return throwError(error);\n }\n\n\n // Page Load\n createPageLoadProperties(cart, url, pageTitle, friendlyPageName) {\n const dataLayer = {};\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FRIENDLY_PAGE_NAME] = friendlyPageName;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FLOW_CODE] = ANALYTICS_CONSTANTS.FLOW_CODE_CHECKOUT;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_LANGUAGE] = 'EN';\n if (cart) {\n let sku;\n for (const lineItem of cart.lineItems) {\n sku = (sku === undefined) ? lineItem.sku.socCode : sku + '|' + lineItem.sku.socCode;\n }\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_SKU] = sku;\n }\n if (cart.ban) {\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_BAN] = cart.ban; // BAN\n }\n if (cart.ctn) {\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_CTN] = cart.ctn; // CTN\n }\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_LOGIN_SOURCE] = 'shoplogin';\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_PAGE_FUNCTION] = 'Sales';\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_ABS_CHECKOUT_STEP] = pageTitle; \n this.adobeAnalyticsService.tag('page', dataLayer, 'Page_Load', 'pageLoad');\n }\n\n // Event Scenario\n createAdobeEventProperties(cart, status: string, event: string, eventcode: string, orderNo: string, errorCode?: string,\n errorText?: string, errorType?: string) {\n const dataLayer = {};\n dataLayer[ANALYTICS_CONSTANTS.EVENT_EVENT_CODE] = eventcode;\n dataLayer[ANALYTICS_CONSTANTS.EVENT_FLOW_CODE] = ANALYTICS_CONSTANTS.FLOW_CODE_CHECKOUT;\n if (status === 'SUCCESS') {\n dataLayer[ANALYTICS_CONSTANTS.EVENT_ITEMS] = [];\n for (const lineItem of cart.lineItems) {\n const items = {};\n if (eventcode === ANALYTICS_CONSTANTS.EVENT_CODE_ORDER_CONFIRMED) {\n items['priceMonthly'] = lineItem.priceInfo.monthlyRecurringFee.amount.toFixed(2);\n items['itemOneTimePrice'] = lineItem.sku.priceInfo.totalOneTimeFee.toFixed(2);\n if (lineItem.priceInfo.monthlyRecurringFee.discountAmount > 0) {\n items['discountAmount'] = lineItem.priceInfo.monthlyRecurringFee.discountAmount.toFixed(2);\n }\n dataLayer[ANALYTICS_CONSTANTS.EVENT_ORDER_ID] = orderNo;\n }\n items['itemQty'] = Number(lineItem.quantity);\n items['itemSku'] = lineItem.sku.socCode;\n dataLayer[ANALYTICS_CONSTANTS.EVENT_ITEMS].push(items);\n }\n dataLayer[ANALYTICS_CONSTANTS.EVENT_STATUS_CODE] = ANALYTICS_CONSTANTS.EVENTS_SUCCESSFLAG_0;\n dataLayer[ANALYTICS_CONSTANTS.EVENT_SUCCESS_FLAG] = ANALYTICS_CONSTANTS.EVENTS_SUCCESSFLAG_1;\n dataLayer[ANALYTICS_CONSTANTS.EVENT_ERROR_TYPE] = ANALYTICS_CONSTANTS.EVENT_ERROR_SUCCESS_TYPE;\n } else {\n dataLayer[ANALYTICS_CONSTANTS.EVENT_SUCCESS_FLAG] = ANALYTICS_CONSTANTS.EVENTS_SUCCESSFLAG_0;\n dataLayer[ANALYTICS_CONSTANTS.EVENT_ERROR_TYPE] = errorType;\n dataLayer[ANALYTICS_CONSTANTS.EVENT_STATUS_CODE] = errorCode;\n // dataLayer[ANALYTICS_CONSTANTS.EVENT_STATUS_MESSAGE] = errorText;\n }\n this.adobeAnalyticsService.tag('event', dataLayer, eventcode, event);\n }\n\n getServiceProdTnc() {\n return this.httpClientService.authorizedGet(this.utilityService.getEnvConfig().productTncUrl)\n .pipe(\n map((res: HttpResponse) => {\n this.httpClientService.updateAuthorizationHeaders(res);\n return res.body;\n }\n )\n ,catchError( this.handleError ));\n }\n\n createRequestCheckout(lineItem: LineItemModel): RequestLineItemModel {\n let requestLineItem = null;\n requestLineItem = new RequestLineItemModel();\n requestLineItem.itemCode = lineItem.skuId;\n requestLineItem.productId = lineItem.productId;\n requestLineItem.quantity = Number(lineItem.quantity);\n return requestLineItem;\n }\n\n updateQuantityPrice(cart) {\n return this.httpClientService.authorizedPost(this.utilityService.getEnvConfig().cartServiceUrl, cart)\n .pipe(\n map((res: HttpResponse) => {\n this.httpClientService.updateAuthorizationHeaders(res);\n return res.body;\n }\n )\n ,catchError( this.handleError ));\n }\n\n updateCartPrice(orderedCart, responseCart): CartModel {\n if (orderedCart && orderedCart.lineItems) {\n let index = 0;\n for (const iterateCart of orderedCart.lineItems) {\n const filteredResponseObject = responseCart.lineItems.filter((data, subindex) =>\n ((data.itemCode === iterateCart.skuId) && (data.productId === iterateCart.productId)));\n filteredResponseObject.forEach((responseQtylineItem) => {\n orderedCart.lineItems[index].priceInfo.monthlyRecurringFee.amount = responseQtylineItem.priceInfo.totalAmount.monthlyRecurringFee;\n\n if (responseQtylineItem.priceInfo.totalAmount.totalMonthlyRecurringDiscount) {\n orderedCart.lineItems[index].priceInfo.monthlyRecurringFee.discountAmount =\n responseQtylineItem.priceInfo.totalAmount.totalMonthlyRecurringDiscount;\n }\n if (responseQtylineItem.priceInfo.totalAmount.totalOneTimeDiscount) {\n orderedCart.lineItems[index].priceInfo.totalOneTimeDiscount =\n responseQtylineItem.priceInfo.totalAmount.totalOneTimeDiscount;\n }\n orderedCart.lineItems[index].priceInfo.oneTimeFee = [];\n orderedCart.lineItems[index].priceInfo.oneTimeFee = responseQtylineItem.priceInfo.oneTimeFee;\n // Each lineItem of Sku contains priceinfo object\n if (responseQtylineItem.priceInfo.monthlyRecurringFee.customPrice > 0) {\n orderedCart.lineItems[index].sku.priceInfo.monthlyRecurringFee.amount =\n responseQtylineItem.priceInfo.monthlyRecurringFee.customPrice;\n } else {\n orderedCart.lineItems[index].sku.priceInfo.monthlyRecurringFee.amount =\n responseQtylineItem.priceInfo.monthlyRecurringFee.unitPrice;\n }\n orderedCart.lineItems[index].sku.priceInfo.oneTimeFee = [];\n orderedCart.lineItems[index].sku.priceInfo.oneTimeFee = responseQtylineItem.priceInfo.oneTimeFee;\n\n // this.cart.lineItems[sindex].priceInfo.oneTimeFee.amount = lineItem.priceInfo.totalAmount.oneTimeFee;\n });\n index++;\n }\n orderedCart.priceInfo.monthlyRecurringFee.amount = responseCart.cartSummary.totalAmount.totalMonthlyRecurringFee;\n orderedCart.priceInfo.oneTimeFee.amount = responseCart.cartSummary.totalAmount.totalOneTimeFee;\n }\n return orderedCart;\n }\n}\n","export * from './shared';\nexport * from './service-configuration.component';\n","import { FormBuilderService } from 'lib/ng2-sapmp/src/ui-components/form-builder/form-builder.service';\nimport { Component, OnInit, ViewChild, OnDestroy } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { Router, ActivatedRoute } from '@angular/router';\n\nimport { ValidationService, AuthenticationService, AdobeAnalyticsService, UtilityService } from 'lib/ng2-sapmp/src/providers';\nimport { CartService } from './../../cart/cart.service'; // Need to move this logic in checkout service\nimport { UserProfileModel } from 'lib/ng2-sapmp/src/models';\nimport { CartModel, ProductConfigurationModel } from './../../../models';\nimport { StepIndicatorService } from 'lib/ng2-sapmp/src/ui-components/step-indicator';\nimport { PageLoaderService } from 'lib/ng2-sapmp/src/ui-components/page-loader';\nimport { FormConfigurationModel, FormPropertyModel } from 'lib/ng2-sapmp/src/ui-components/form-builder';\nimport { RequestServiceConfiguration, RequestDcmCodes } from './shared';\nimport { TERMSANDCONDITIONS } from 'config';\ndeclare var logoutCurrentUser: any;\n\n@Component({\n selector: 'app-service-configuration',\n providers: [ValidationService, CartService, FormBuilderService],\n templateUrl: './service-configuration.component.html',\n styleUrls: ['./../checkout.component.scss']\n})\nexport class ServiceConfigurationComponent implements OnInit, OnDestroy {\n\n user: UserProfileModel;\n errorMsg = '';\n cancelCheckout: boolean;\n\n cart: CartModel = null;\n productConfiguration: ProductConfigurationModel;\n requestServiceConfiguration: RequestServiceConfiguration;\n formConfiguration: FormConfigurationModel;\n formValid = true;\n formBuilderCheck = false;\n responseProductSpecifications: any;\n isCheckCartProductExist = false;\n prepopulateOtherForm: any;\n prepoulateFormGroup = new FormPropertyModel();\n accordionList: boolean[];\n dcmCodesTnc = {};\n errorMessage: string;\n termsConditionPopup: boolean;\n popupTitle: string;\n popupUrl: string;\n eventEmit: any;\n tncMap: Map;\n\n constructor(\n private router: Router,\n private activatedRoute: ActivatedRoute,\n private utilityService: UtilityService,\n private stepindicatorService: StepIndicatorService,\n private authenticationService: AuthenticationService, private cartService: CartService,\n private pageloaderService: PageLoaderService,\n private formBuilderService: FormBuilderService,\n private adobeAnalyticsService: AdobeAnalyticsService) {\n this.user = new UserProfileModel();\n this.formBuilderCheck = false;\n this.formConfiguration = new FormConfigurationModel();\n this.formConfiguration.formProperty = [];\n this.formValid = false;\n this.productConfiguration = new ProductConfigurationModel();\n this.requestServiceConfiguration = new RequestServiceConfiguration();\n this.requestServiceConfiguration.dcmCodes = new RequestDcmCodes();\n this.requestServiceConfiguration.dcmCodes.dcmCodes = [];\n this.prepopulateOtherForm = undefined;\n this.accordionList = [];\n this.pageloaderService.setPageLoaderStatus(false);\n this.termsConditionPopup = false;\n this.popupTitle = undefined;\n this.popupUrl = undefined;\n this.eventEmit = undefined;\n this.tncMap = new Map();\n }\n\n ngOnInit() {\n document.title = this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url];\n this.authenticationService.setLoginSuccessUrl(this.router.routerState.snapshot.url);\n this.cart = JSON.parse(sessionStorage.getItem('cart'));\n\n if (this.cart === null) {\n this.router.navigate(['/home']);\n return;\n }\n\n this.user = this.authenticationService.getUser();\n this.stepindicatorService.setCurrentStep(this.activatedRoute.snapshot.url[0].path);\n this.stepindicatorService.setVisibility(true);\n this.isCheckCartProductExist = this.checkProductSpecificationExist();\n this.getProductDetails();\n this.cartService.createPageLoadProperties(this.cart, this.router.routerState.snapshot.url,\n 'Checkout Step2 Service configuration', 'BC Checkout Step 2 Service Configuration Pg', 'Checkout');\n }\n\n getProductDetails() {\n this.cartService.getServiceProdDetails(this.requestServiceConfiguration.dcmCodes).subscribe(response => {\n this.responseProductSpecifications = response;\n this.responseProductSpecifications.forEach((value, index) => {\n value = this.mapTermsConditionsLink(value);\n this.formConfiguration.formProperty.push(new FormPropertyModel());\n if (index === 0) {\n this.accordionList.push(true);\n } else {\n this.accordionList.push(false);\n }\n const cartObject = this.cart.lineItems.find((data) => data.skuId === value.dcmCode);\n if (cartObject) {\n this.responseProductSpecifications[index].displayName = cartObject.displayName;\n }\n });\n if (this.isCheckCartProductExist) {\n this.responseProductSpecifications = this.updateFormInitialValue(this.responseProductSpecifications);\n this.formBuilderCheck = true;\n this.checkTermsConditionExist();\n this.checkProductSpecificationFormValid();\n } else {\n this.formBuilderCheck = true;\n }\n // this.checkFormsAvailable();\n this.pageloaderService.setPageLoaderStatus(true);\n }, error => {\n this.pageloaderService.setPageLoaderStatus(true);\n this.handleError(error);\n });\n this.formBuilderCheck = false;\n\n }\n\n mapTermsConditionsLink(product: any) {\n const removableIndex: Array = [];\n const cartObject = this.cart.lineItems.find((data) => data.skuId === product.dcmCode);\n if (cartObject && cartObject.tncUrl) {\n this.tncMap.set(product.dcmCode, cartObject.tncUrl);\n }\n return product;\n }\n\n private getFormConfigDetails(formOutputvalue, rowIndex, dcmCode) {\n if (formOutputvalue.valid) {\n if (rowIndex === 0) {\n this.prepoulateFormGroup.formAttribute = formOutputvalue.value;\n }\n this.formConfiguration.formProperty[rowIndex].formAttribute = formOutputvalue.value;\n this.formConfiguration.formProperty[rowIndex].formStatus = true;\n this.updateCart(this.formConfiguration.formProperty[rowIndex].formAttribute, rowIndex);\n this.checkProductSpecificationFormValid();\n } else {\n this.formConfiguration.formProperty[rowIndex].formStatus = false;\n const cartIndex = this.getCartIndex(rowIndex);\n this.cart.lineItems[cartIndex].productConfigurations = [];\n this.checkProductSpecificationFormValid();\n }\n }\n\n private goToReviewOrder() {\n // this.cartService.createProductSpecificInfoCheckout(this.cart, 'SUCCESS', 'formSubmit');\n sessionStorage.setItem('cart', JSON.stringify(this.cart));\n this.router.navigate(['/checkout/reviewOrder'], { relativeTo: this.activatedRoute });\n }\n\n private updateCart(formPropertyDetail, rowIndex) {\n const getCartIndex = this.getCartIndex(rowIndex);\n this.cart.lineItems[getCartIndex].productConfigurations = [];\n this.cart.lineItems[getCartIndex].orderConfigurations = [];\n const tempObject = this.responseProductSpecifications.find(data => (data.dcmCode === this.cart.lineItems[getCartIndex].skuId));\n Object.keys(formPropertyDetail).forEach((key) => {\n for (const prodConf of tempObject.configurations) {\n if (prodConf.formControlName === key) {\n this.productConfiguration = new ProductConfigurationModel();\n this.productConfiguration.name = key;\n this.productConfiguration.value = formPropertyDetail[key];\n this.productConfiguration.label = prodConf.label;\n if (prodConf.elementType === 'dropdown') {\n this.productConfiguration.isDropDown = true;\n }\n if (prodConf.label === 'Terms & Conditions') {\n this.productConfiguration.show = false;\n }\n this.cart.lineItems[getCartIndex].productConfigurations.push(this.productConfiguration);\n }\n }\n for (const iterateOrderConfig of tempObject.configurations) {\n if (iterateOrderConfig.formControlName === key) {\n let orderConfig = Object.assign({}, iterateOrderConfig);\n if (iterateOrderConfig.elementType === 'dropdown') {\n orderConfig['initialValue'] = formPropertyDetail[key].value;\n } else {\n orderConfig['initialValue'] = formPropertyDetail[key];\n }\n delete orderConfig.fields;\n this.cart.lineItems[getCartIndex].orderConfigurations.push(orderConfig);\n }\n }\n });\n }\n\n private checkProductSpecificationFormValid() {\n for (const lineItem of this.cart.lineItems) {\n if (lineItem.productConfigurations.length > 0) {\n this.formValid = true;\n } else {\n this.formValid = false;\n break;\n }\n };\n }\n\n private checkProductSpecificationExist(): boolean {\n let isExist = false;\n this.cart.lineItems.forEach((lineItem, index) => {\n this.requestServiceConfiguration.dcmCodes.dcmCodes.push(lineItem.skuId);\n if (lineItem.productConfigurations.length > 0) {\n isExist = true;\n }\n });\n return isExist;\n }\n\n private updateFormInitialValue(resProductSpecifications): any {\n const responseProductSpecifications = resProductSpecifications;\n let responseIndex;\n let index = 0;\n for (const tempLineItem of this.cart.lineItems) {\n const getResponseProductSpecificationObject = resProductSpecifications.find(data =>\n (data.dcmCode === tempLineItem.skuId));\n responseIndex = resProductSpecifications.findIndex(data => (data === getResponseProductSpecificationObject));\n for (let lineItemProductConfig of tempLineItem.productConfigurations) {\n resProductSpecifications[responseIndex].configurations.forEach((value, subIndex) => {\n if (lineItemProductConfig.name === value.formControlName) {\n responseProductSpecifications[responseIndex].configurations[subIndex].initialValue\n = lineItemProductConfig.value;\n if (lineItemProductConfig.label === 'Terms & Conditions') {\n responseProductSpecifications[responseIndex].configurations[subIndex].initialValue = false;\n }\n }\n });\n }\n index++;\n }\n return responseProductSpecifications;\n }\n\n private goToBilling() {\n this.router.navigate(['/checkout/billing']);\n }\n\n private updateInputValues(value) {\n if (value) {\n this.formBuilderService.setForm(this.prepoulateFormGroup);\n this.cart.isApplySame = true;\n } else {\n this.cart.isApplySame = false;\n }\n }\n private openAccordion(rowIndex, arrayLength) {\n if (arrayLength === 1) {\n return;\n }\n\n for (let i = 0; i < this.accordionList.length; i++) {\n if (i === rowIndex) {\n this.accordionList[i] = !this.accordionList[i];\n }\n }\n }\n\n handleError = (error) => { // Arrow function is necessary as the context should be Parent class\n if (error) {\n if (error.status === 401) {\n this.errorMessage = 'Session expired.Please login again.';\n logoutCurrentUser(true);\n } else {\n this.errorMessage = 'We couldn\\'t complete your request. Please try again later.';\n }\n this.adobeAnalyticsService.CreateSeriveAlertProperties(error.status, error.statusText, 'formResponse');\n this.utilityService.loadFocusOnTop();\n } else {\n throw error;\n }\n }\n\n private getCartIndex(rowIndex: number) {\n const cartIndex = this.cart.lineItems.findIndex(data => (data === this.cart.lineItems.find(cartData =>\n (cartData.skuId === this.responseProductSpecifications[rowIndex].dcmCode))));\n return cartIndex;\n }\n\n private checkTermsConditionExist() {\n let index = 0;\n for (const checkForTerms of this.responseProductSpecifications) {\n const cartIndex = this.getCartIndex(index);\n const tempCheck = checkForTerms.configurations.find((data) => data.label === 'Terms & Conditions');\n if (tempCheck) {\n this.cart.lineItems[cartIndex].productConfigurations = [];\n this.formConfiguration.formProperty[index].formStatus = false;\n } else {\n this.formConfiguration.formProperty[index].formStatus = true;\n }\n index++;\n };\n }\n\n private showTermsCondition(popupObject: any) {\n if (popupObject.isShow) {\n this.termsConditionPopup = true;\n this.popupTitle = popupObject.text;\n this.popupUrl = popupObject.url;\n this.eventEmit = popupObject.formEventEmitter;\n }\n }\n\n private redirectTermsCondition(dcmCode: any) {\n this.popupUrl = this.tncMap.get(dcmCode);\n if (this.popupUrl.length > 0) {\n window.open(this.popupUrl, '_blank');\n }\n }\n\n private checkFormsAvailable() {\n let productName = '';\n let isFormPropertyAvailableOrNot = [];\n isFormPropertyAvailableOrNot = this.responseProductSpecifications.filter((data) => (data.configurations.length === 0));\n if (isFormPropertyAvailableOrNot.length > 0) {\n isFormPropertyAvailableOrNot.forEach(value => {\n productName += (productName === '') ? value.displayName : ',' + value.displayName;\n });\n this.errorMessage = 'Product specification detail\\'s are not available for ' + productName;\n }\n }\n\n ngOnDestroy() {\n this.pageloaderService.setPageLoaderStatus(true);\n }\n}\n\n\n","
\n
\n
\n
\n \n
\n
\n

Error!

\n

{{ this.errorMessage }

\n
\n
\n
\n
\n
\n
\n
Provide details about the administrator.
\n
1\">Provide details about the administrator of each product.
\n
\n
\n
\n \n {{productSpecification.displayName}}\n
\n \n
\n
\n

Legal agreement

\n

\n {{productSpecification.displayName}} is subject to its \n Terms of Use\n

\n
\n
\n \n
\n
\n
\n \n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n","export * from './request-service-configuration';\nexport * from './request-dcmcodes';\n","export class RequestDcmCodes {\n dcmCodes: string[];\n}\n","import { RequestDcmCodes } from './request-dcmcodes';\nexport class RequestServiceConfiguration {\n dcmCodes: RequestDcmCodes;\n}\n","import { Component, OnInit } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { Router } from '@angular/router';\n\n// [anand] if this is shared service consider moving to common folder in proj or lib\nimport { ReviewOrderService } from './../checkout/review-order/shared/providers/review-order.service'; // need to reverify the logic\n\nimport { CartModel } from './../../models';\nimport { AuthenticationService } from 'lib/ng2-sapmp/src/providers';\n\n\n@Component({\n selector: 'app-cart',\n templateUrl: './confirm-order.component.html',\n styleUrls: ['./confirm-order.component.scss']\n})\nexport class ConfirmOrderComponent implements OnInit {\n\n id: string;\n email: string;\n cart: CartModel;\n\n constructor(private router: Router, private authenticationService: AuthenticationService) {\n }\n\n ngOnInit() {\n if (JSON.parse(sessionStorage.getItem('order'))) {\n this.id = JSON.parse(sessionStorage.getItem('order')).customerOrderNumber;\n }\n this.cart = JSON.parse(sessionStorage.getItem('cart'));\n if (this.authenticationService.getUser()) {\n this.email = this.authenticationService.getUser().emailAddress;\n }\n }\n\n onOrderComplete() { // TODO i think this has to happen when placing order.\n this.router.navigate(['browse']);\n }\n\n}\n\n\n\n\n\n\n\n\n\n","
\n

Thank You for Shopping with AT&T

\n
\n
\n \n

Order Successful

\n
\n
\n

Thank you for your purchase. You will receive an email shortly to confirm your order at {{email}}.

\n

Order ID: {{id}}

\n
\n
\n
\n
\n
\n","export * from './confirm-order.component';\n","import { Component, OnInit, OnDestroy, ViewEncapsulation } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { ContactService } from './shared';\nimport { UtilityService, AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';\nimport { BreadCrumbService, BreadCrumbModel } from 'lib/ng2-sapmp/src/ui-components/breadcrumb';\nimport { ChipsService } from 'lib/ng2-sapmp/src/ui-components/chips/chips.service';\ndeclare var ENV_PORTAL;\n\n@Component({\n selector: 'app-contact',\n providers: [ContactService],\n templateUrl: './contact.component.html',\n styleUrls: ['./contact.component.scss'],\n encapsulation: ViewEncapsulation.None\n})\nexport class ContactComponent implements OnInit {\n\n contactObj: any;\n callingPage: String;\n constructor(\n private router: Router,\n private ContactService: ContactService,\n private utilityService: UtilityService,\n private breadcrumb: BreadCrumbService,\n private adobeAnalyticsService: AdobeAnalyticsService,\n private chips: ChipsService\n ) { }\n\n ngOnInit() {\n this.callingPage = sessionStorage.getItem('callingPageName');\n sessionStorage.setItem('callingPageName', '');\n if (this.callingPage === 'support') {\n this.chips.setChips([\n {\n \"label\" : \"Home\",\n \"routerLink\" : \"/home\"\n }, \n {\n \"label\" : \"Support\",\n \"routerLink\" : \"/support\"\n }, \n {\n \"label\" : \"Contact Us\",\n \"routerLink\" : \"/contact\"\n }]);\n } else {\n this.chips.setChips([\n {\n \"label\" : \"Home\",\n \"routerLink\" : \"/home\"\n }, \n {\n \"label\" : \"Contact Us\",\n \"routerLink\" : \"/contact\"\n }]);\n }\n // tslint:disable-next-line:max-line-length\n const url = (ENV_PORTAL === 'fnabc') ? this.utilityService.getEnvConfig().fncontactdetails : this.utilityService.getEnvConfig().contactdetails;\n this.ContactService.getContactDetails(url)\n .subscribe(contactrespobj => {\n this.contactObj = contactrespobj;\n }, error => {\n this.adobeAnalyticsService.CreateSeriveAlertProperties(error.status, error.statusText, 'formResponse');\n this.handleError(error);\n });\n this.ContactService.createPageLoadProperties('', '');\n }\n\n handleError(error) {\n throw error;\n }\n\n}\n","
\n
\n
\n

Contact us

\n
\n
\n
\n \"Phone\"\n
\n
\n

Phone

\n

\n

\n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n

Chat

\n

\n \n
\n
\n\n
\n
\n
\n
","export * from './contact.component';\n","export * from './providers/contact.service';\n","import { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { HttpClient, HttpResponse } from '@angular/common/http';\n\nimport { throwError } from 'rxjs';\nimport { ANALYTICS_CONSTANTS } from 'config';\nimport { HttpClientService, AdobeAnalyticsService, UtilityService } from 'lib/ng2-sapmp/src/providers';\ndeclare var ENV_PORTAL;\n@Injectable()\nexport class ContactService {\n\n constructor(private http: HttpClient, private httpClientService: HttpClientService,\n private utilityService: UtilityService, private adobeAnalyticsService: AdobeAnalyticsService) { }\n\n getContactDetails(getContactDetailsservice) {\n return this.httpClientService.get(getContactDetailsservice)\n .pipe(\n map((res: HttpResponse) => {\n if (sessionStorage.getItem('sapmp_jwtToken') != null) {\n // refreshes token for logged in scenario upon page load\n this.httpClientService.tokenRefresh(this.utilityService.getEnvConfig().tokenRefresh);\n }\n return res.body;\n })\n ,catchError( this.handleError ));\n }\n\n // Page Load\n createPageLoadProperties(url: string, title: string) {\n const dataLayer = {};\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FRIENDLY_PAGE_NAME] = ANALYTICS_CONSTANTS.FRIENDLY_NAME_CONTACT;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FLOW_CODE] = ANALYTICS_CONSTANTS.FLOW_CODE_SUPPORT;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_PAGE_FUNCTION] = 'Support'; \n if (sessionStorage.getItem('sapmp_jwtToken') != null) {\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_LOGIN_SOURCE] = 'home';\n }\n this.adobeAnalyticsService.tag('page', dataLayer, 'Page_Load', 'pageLoad');\n }\n\n handleError = (error) => {\n return throwError(error);\n }\n}\n\n","import { Component, OnInit, AfterViewChecked, ViewEncapsulation, ElementRef, HostListener } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { Observable } from 'rxjs';\nimport { FormControl } from '@angular/forms';\nimport { ActivatedRoute, Router } from '@angular/router';\n\nimport { UtilityService } from 'lib/ng2-sapmp/src/providers';\nimport { CHART_CONFIG } from 'config';\n\nimport { DashboardService } from './shared/providers/dashboard.service';\n\nimport { BreadCrumbService } from 'lib/ng2-sapmp/src/ui-components/breadcrumb';\nimport { PageLoaderService } from 'lib/ng2-sapmp/src/ui-components/page-loader';\nimport { DonutChartModel } from 'lib/ng2-sapmp/src/ui-components/charts/donut-chart';\n\n@Component({\n selector: 'app-dashboard',\n templateUrl: './dashboard.component.html',\n styleUrls: ['./dashboard.component.scss'],\n providers: [DashboardService],\n encapsulation: ViewEncapsulation.None\n})\nexport class DMPManageDashboardComponent implements OnInit, AfterViewChecked {\n\n manageInventoryPage: any;\n chartLabel: any;\n chartData: any;\n legendData: any;\n chartRadius = 90;\n strokeWidth = 20;\n startIndex = 0;\n recordsPerPage = 9;\n fanDevicesReq: any;\n isSearch: boolean;\n fanSearch: FormControl;\n fieldPermissions: any;\n smsSent: boolean;\n companyId = 0;\n fanStatus: any;\n dashboardData: any;\n showData: boolean;\n appleInstalled: any;\n apiError: boolean;\n @HostListener('window:resize', ['$event'])\n onResize(event) {\n const addpDashboardContainer = this.el.nativeElement.getElementsByClassName('addp-dashboard-container');\n if (addpDashboardContainer.length) {\n if (window.innerWidth <= 1024) {\n addpDashboardContainer[0].style.height = 'auto';\n addpDashboardContainer[0].classList.remove('height-set');\n } else {\n addpDashboardContainer[0].style.height = addpDashboardContainer[0].clientHeight + 'px';\n addpDashboardContainer[0].classList.add('height-set');\n }\n }\n }\n\n constructor(private pageloaderService: PageLoaderService,\n private dashboardService: DashboardService,\n private breadCrumbService: BreadCrumbService,\n private utilityService: UtilityService,\n private route: ActivatedRoute, private router: Router,\n private el: ElementRef) {\n }\n\n ngOnInit() {\n document.title = this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url];\n this.breadCrumbService.setStaticBreadCrumbs(this.router.routerState.snapshot.url);\n this.breadCrumbService.setCurrentBreadCrumb({ label: 'Console Dashboard', routerLink: '/dashboard' });\n this.dashboardService.getDashboardContent(this.utilityService.getEnvConfig().contentUrl.dashboard.dashboardData).\n subscribe(respobj => {\n this.dashboardData = respobj;\n this.dashboardData.useMock = this.utilityService.getEnvConfig().useMock;\n const profileData = JSON.parse(sessionStorage.getItem('user'));\n this.dashboardData.customerName = this.dashboardData.customerName.replace('',\n profileData.user.firstName + ' ' + profileData.user.lastName);\n this.initPage();\n });\n }\n\n ngAfterViewChecked() {\n const addpDashboardContainer = this.el.nativeElement.getElementsByClassName('addp-dashboard-container');\n if (addpDashboardContainer.length && window.innerWidth >= 1025) {\n addpDashboardContainer[0].style.height = addpDashboardContainer[0].clientHeight + 'px';\n addpDashboardContainer[0].classList.add('height-set');\n }\n }\n\n initPage(scenarios?) {\n if (typeof scenarios !== 'undefined') {\n this.companyId = scenarios;\n }\n\n this.showData = false;\n this.pageloaderService.setPageLoaderStatus(false);\n this.chartData = {};\n this.legendData = {};\n this.chartLabel = {};\n\n this.dashboardService.getFanStatusSummary(this.companyId).subscribe(respobj => {\n this.fanStatus = respobj;\n\n this.dashboardData.manageDeployment.firstTimeUser =\n this.dashboardData.manageDeployment.firstTimeUser.replace('', respobj.noOfFans);\n this.dashboardData.manageDeployment.deviceEnrolledContent =\n this.dashboardData.manageDeployment.deviceEnrolledContent.replace('', respobj.noOfFans);\n this.dashboardData.manageDeployment.setupIncompleteContent =\n this.dashboardData.manageDeployment.setupIncompleteContent.replace('', respobj.noOfFans);\n this.dashboardData.deviceInventory.setupCompleted =\n this.dashboardData.deviceInventory.setupCompleted.replace('', respobj.noOfDevices);\n this.appleInstalled = this.dashboardData.appleCertificate[this.fanStatus.appleCertificate];\n\n if (respobj.initialSignupStatus === 'Completed') {\n this.buildChartData(respobj.fansSummary, 'accounts', 'accounts');\n }\n if (respobj.deviceEnrolledStatus === 'Completed') {\n this.buildChartData(respobj.deviceInventoryEnrollSummary, 'devices', 'devices');\n }\n if (respobj.deviceEnrolledStatus === 'Error') {\n this.buildErrorChartData();\n }\n this.pageloaderService.setPageLoaderStatus(true);\n this.showData = true;\n }, error => this.handleError(error));\n }\n\n handleError(error) {\n this.apiError = true;\n this.pageloaderService.setPageLoaderStatus(true);\n }\n\n navigate(route) {\n this.router.navigate([route]);\n }\n\n buildErrorChartData() {\n this.chartData['error'] = [];\n this.chartLabel['error'] = 'devices';\n const temp = {\n 'value': 0,\n 'color': '#ccc',\n 'legend': 'Error'\n };\n this.chartData['error'].push(temp);\n }\n\n buildChartData(fanDetails, type, label) {\n this.chartData[type] = [];\n this.legendData[type] = { left: [], right: [] };\n this.chartLabel[type] = label;\n fanDetails.forEach((d, i) => {\n const chartConfig = CHART_CONFIG[d.status];\n const temp: DonutChartModel = {\n 'value': d.count,\n 'color': chartConfig.color,\n 'legend': d.count + ' ' + chartConfig.label\n };\n if (d.count) {\n this.chartData[type].push(temp);\n }\n this.legendData[type][fanDetails.length / 2 > i ? 'left' : 'right'].push(temp);\n });\n }\n}\n","
\n

{{dashboardData.title}}

\n\n
\n
\n
\n
\n \n
\n
\n

{{dashboardData.note}}

\n {{dashboardData.apiError}}\n
\n
\n
\n
\n\n
\n

{{dashboardData.customerName}}

\n

Scenarios for Demo:\n \n

\n

{{dashboardData.subTitle}}

\n\n
\n
1)\">\n
\n
\n

{{dashboardData.manageDeployment.title}}

\n\n
\n

{{dashboardData.manageDeployment.firstTimeUser}}

\n
\n \n
\n
\n\n
\n

{{dashboardData.manageDeployment.signUpProcess}}

\n
\n\n
\n
\n
\n
\n \n
\n
\n

{{dashboardData.note}}

\n {{dashboardData.manageDeployment.error}}\n {{dashboardData.deviceInventory.error}}\n
\n
\n
\n
\n \n
\n
\n\n
\n

{{dashboardData.manageDeployment.foundationAccounts}}

\n

{{dashboardData.manageDeployment.deviceEnrolledContent}}

\n

{{dashboardData.manageDeployment.setupIncompleteContent}}

\n
\n
\n \n \n
\n
\n \n \n
\n
\n\n \n\n \n\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n

{{dashboardData.deviceInventory.title}}

\n\n
\n

{{dashboardData.deviceInventory.enrolledDevice}}

\n

{{dashboardData.deviceInventory.initialNotEnrolledDevice}}

\n
\n \n \n
\n
\n\n
\n

{{dashboardData.deviceInventory.enrolledDevice}}

\n

{{dashboardData.deviceInventory.enrollmentProcess}}

\n
\n
\n
\n
\n
\n \n
\n
\n

{{dashboardData.note}}

\n {{dashboardData.manageDeployment.error}}\n {{dashboardData.deviceInventory.error}}\n
\n
\n
\n\n \n
\n \n
\n
\n
\n

{{dashboardData.deviceInventory.enrolledDevice}}

\n

{{dashboardData.deviceInventory.setupCompleted}}

\n
\n
\n \n \n
\n
\n \n \n
\n
\n \n
1\">\n \n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n

{{dashboardData.report.title}}

\n

{{dashboardData.report.downloadUserReport}}

\n

{{dashboardData.report.content}}

\n
\n \n
\n
\n
\n
\n
\n
\n
","import { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { HttpClient, HttpResponse, HttpHeaders } from '@angular/common/http';\nimport { throwError } from 'rxjs';\nimport { HttpClientService, UtilityService } from 'lib/ng2-sapmp/src/providers';\n\n@Injectable()\nexport class DashboardService {\n\n constructor(private http: HttpClient, private httpClientService: HttpClientService,\n private utilityService: UtilityService) { }\n\n get_headers() {\n let headers = new HttpHeaders();\n headers = headers.append('Authorization', sessionStorage.getItem('sapmp_jwtToken'));\n return headers;\n }\n\n getFanStatusSummary(companyId) {\n // will be calling actual api with company id;\n let apiUrl;\n if (this.utilityService.getEnvConfig().useMock) {\n apiUrl = this.utilityService.getEnvConfig().getFanStatusSummarymock[companyId];\n } else {\n apiUrl = this.utilityService.getEnvConfig().dashboardSummary;\n }\n return this.httpClientService.get(apiUrl, this.get_headers())\n .pipe(\n map((res: HttpResponse) => res.body)\n ,catchError( this.handleError ));\n }\n\n getDeviceStatusSummary(url, req) {\n // will be calling actual api with request;\n return this.httpClientService.get(url, this.get_headers())\n .pipe(\n map((res: HttpResponse) => res.body)\n ,catchError( this.handleError ));\n }\n\n getDashboardContent(url) {\n // will be calling actual api with request;\n return this.httpClientService.get(url)\n .pipe(\n map((res: HttpResponse) => res.body)\n ,catchError( this.handleError ));\n }\n\n getAppleCertificateSummary(url, companyId) {\n // will be calling actual api with companyId;\n return this.httpClientService.get(url)\n .pipe(\n map((res: HttpResponse) => res.body)\n ,catchError( this.handleError ));\n }\n\n handleError(error) {\n return throwError(error);\n }\n\n}\n","import { Component, OnInit, ViewEncapsulation, ViewChild, ChangeDetectorRef, OnDestroy } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { UtilityService, AuthenticationService, AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';\nimport { CartService } from './../cart/cart.service';\nimport {\n ProductModel, CartModel, PriceModel, ResponseCartModel, RequestCartModel, RequestLineItemModel,\n LineItemModel, SkusModel, PriceInfoModel, PaymentDetailsModel, SEO\n} from './../../models/';\nimport { UserProfileModel } from 'lib/ng2-sapmp/src/models';\nimport { TabModel, TabComponent } from 'lib/ng2-sapmp/src/ui-components/tab';\nimport { BreadCrumbModel, BreadCrumbService } from 'lib/ng2-sapmp/src/ui-components/breadcrumb';\nimport { SubscriptionCardModel } from 'lib/ng2-sapmp/src/ui-components/subscription-card';\nimport { ConfirmModalPopupModel } from 'lib/ng2-sapmp/src/ui-components/confirm-modal';\nimport { PageLoaderService } from 'lib/ng2-sapmp/src/ui-components/page-loader';\nimport { DetailService, SubscriptionRequestModel } from './shared';\nimport { TAB, BREADCRUMBS, PRODUCT_CONFIG, PREMIER_AUTHFAILURE_MESSAGE } from 'config';\nimport { FetchCriteriaModel } from 'lib/ng2-sapmp/src/ui-components/custom-grid';\nimport { HeaderService } from './../header/header.service';\nimport { MobilePivotModel } from 'lib/ng2-sapmp/src/ui-components/mobile-pivot/mobile-pivot.model';\nimport { DomSanitizer } from '@angular/platform-browser';\nimport { FormBuilderService } from 'lib/ng2-sapmp/src/ui-components/form-builder/form-builder.service';\nimport { MOBILEPIVOTS } from 'config';\nimport { CMSResolver } from 'lib/ng2-sapmp/src/providers/cms.resolver';\n\ndeclare var logoutCurrentUser: any;\ndeclare var ENV_PORTAL: any;\n@Component({\n selector: 'app-details',\n providers: [DetailService, CartService, FormBuilderService],\n templateUrl: './details.component.html',\n styleUrls: ['./details.component.scss'],\n encapsulation: ViewEncapsulation.None\n})\nexport class DetailsComponent implements OnInit, OnDestroy {\n\n id: string;\n productDetail: ProductModel;\n overview = 'active';\n pricing = 'deactive';\n alreadyOwnedProduct = false;\n overviewDisplay = 'display';\n pricingDisplay = 'nodisplay';\n productTabs: any;\n breadCrumbs: BreadCrumbModel[];\n tabDetails: Array;\n @ViewChild(TabComponent)\n tabComponent: TabComponent;\n pageLoader: boolean;\n skuTiles: Array;\n termsConditionPopup: boolean;\n learnPopup = false;\n learnMessage: string;\n learnSubHeader: string;\n learnHeader: string;\n learnUrl: string;\n confirmModalPopup: ConfirmModalPopupModel;\n modalClass: string;\n subscriptionCardArray: Array;\n showTab: boolean;\n subscriptionData: any;\n subscribeFlag: boolean;\n user: UserProfileModel;\n permissionFlag: boolean;\n eventEmit: any;\n showButton: boolean;\n detailErrorMessage: string;\n formSuccess = false;\n submitting = false;\n initModal: string;\n modalContent: string;\n fetchCriteriaModel: FetchCriteriaModel;\n subscriptionRequestModel: SubscriptionRequestModel;\n subscribedSoc: string;\n banner_small: string;\n packageLabelName: string;\n pivots: Array;\n isFn: boolean = (ENV_PORTAL === 'fnabc') ? true : false;\n pageTitle: string;\n hasAmPermission: boolean;\n formSubmitSuccessMsg: string;\n authenticationRequired: boolean;\n //authenticated: boolean;\n permissions: any;\n NotFullPermit: boolean;\n fullPermit: boolean;\n emailAddress: any;\n phoneNumber: any;\n initialPhoneNumber: any;\n environmentPortal: any;\n contactName: any;\n fanNumber: any;\n efotaNotEnrollFans: any;\n userFanName: any;\n efotaNotEnrolledFans: any;\n currentEnrolledFan: any;\n unAuthSubscription: boolean;\n authSubscription: boolean;\n checkEFotaPage: any;\n subscriptionContent: any;\n errorMessage: any;\n\n constructor(private route: ActivatedRoute,\n private router: Router,\n private _sanitizer: DomSanitizer,\n private changeDetectionRef: ChangeDetectorRef,\n private utilityService: UtilityService,\n private detailService: DetailService,\n private authenticationService: AuthenticationService,\n private cartService: CartService,\n private pageloaderService: PageLoaderService, private breadCrumbService: BreadCrumbService,\n private adobeAnalyticsService: AdobeAnalyticsService, private headerService: HeaderService\n ) {\n this.permissionFlag = false;\n this.pageloaderService.setPageLoaderStatus(false);\n this.skuTiles = [];\n this.learnPopup = false;\n this.subscriptionCardArray = [];\n this.showTab = false;\n this.showButton = true;\n this.termsConditionPopup = false;\n this.fetchCriteriaModel = new FetchCriteriaModel();\n this.subscriptionRequestModel = new SubscriptionRequestModel();\n this.subscriptionRequestModel.serviceOfferCodes = new Array();\n this.packageLabelName = undefined;\n this.pivots = new Array();\n }\n\n\n ngOnInit() {\n const pageData = this.route.snapshot.data.pageData;\n this.headerService.setCondensedFooterStatus(false);\n this.headerService.condensedHeader('details');\n this.authenticationService.setLoginSuccessUrl(this.router.routerState.snapshot.url);\n const url = this.router.routerState.snapshot.url;\n const updatedUrl = url.substring(0, url.lastIndexOf('/'));\n document.title = this.utilityService.getPageTitleConfig()[updatedUrl];\n this.productDetail = new ProductModel();\n this.tabDetails = [];\n this.pageloaderService.setPageLoaderStatus(false);\n this.learnPopup = false;\n this.subscribeFlag = false;\n this.showButton = true;\n let perm = ['buy_and_manage', 'buy_only', 'manage_only'];\n if (sessionStorage.getItem('sapmp_jwtToken') !== null) {\n const userPermAm = this.authenticationService.getUser().permission;\n this.hasAmPermission = perm.indexOf(userPermAm) !== -1;\n }\n\n this.id = this.route.snapshot.params['id'];\n // this.detailService.getProductDetails(this.utilityService.getEnvConfig().catalogServiceUrl + this.id)\n // this.detailService.getProductDetails(this.utilityService.getEnvConfig().cms + this.id)\n // .subscribe(respObj => {\n\n const context = window.location.pathname.split('businessconsole')[1].replace(/\\//g, '');\n let respObj = pageData[context];\n this.pageloaderService.setPageLoaderStatus(true);\n this.productDetail = respObj;\n this.fullPermit = ((this.isFullLoggedIn() && (this.productDetail.id === 'efota')) || this.productDetail.id !== 'efota');\n this.NotFullPermit = this.isNotFullLoggedIn() && this.productDetail.id === 'efota';\n this.efotaNotEnrollFans = !this.hasFans() && this.productDetail.id === 'efota';\n this.unAuthSubscription = !this.isLoggedIn() && this.productDetail.id === 'efota';\n this.authSubscription = this.isLoggedIn() && this.productDetail.id === 'efota';\n this.checkEFotaPage = this.checkEfotaPage();\n this.setSEO(this.productDetail.seo);\n this.productDetail.bannerName = (this.productDetail.bannerName)\n ? this.productDetail.bannerName : this.productDetail.displayName;\n this.packageLabelName = (this.productDetail.packageLabelName === undefined || this.productDetail.packageLabelName === '')\n ? this.productDetail.displayName + ' packages' : this.productDetail.packageLabelName;\n let childUrl = '/' + this.productDetail.site;\n this.breadCrumbService.setStaticBreadCrumbs(childUrl);\n this.breadCrumbService.setCurrentBreadCrumb({\n label: this.productDetail.displayName,\n routerLink: this.router.routerState.snapshot.url\n });\n this.pageTitle = (ENV_PORTAL === 'fnabc') ? 'FirstNet Apps & Solutions ' : 'Marketplace';\n const pivots = JSON.parse(JSON.stringify(MOBILEPIVOTS.PRODDUCTDETAILSPAGE));\n this.pivots = pivots;\n // this.banner_small = this.productDetail.media.largeImageUrl.replace('.png', '_small.png'); // TODO: need to change in services\n this.banner_small = this.productDetail.media.largeImageUrl.replace(/(\\.[\\w\\d_-]+)$/i, '_small$1');\n\n this.skuTiles = (this.productDetail.skus) ? this.productDetail.skus.slice(0) : [];\n\n this.subscripitionSkutiles();\n\n /**\n * Code to make tab dynamic\n */\n let rowIndex = 0;\n for (const tabElement of this.productDetail.template) {\n const tab = new TabModel();\n tab['key'] = tabElement.key;\n tab.id = tabElement.label;\n\n if (tabElement.key === 'subscription') {\n tab['subscription'] = JSON.parse(tabElement.additionalContent);\n tab['heading'] = this._sanitizer.bypassSecurityTrustHtml(tab['subscription'].heading);\n tab['subHeading'] = this._sanitizer.bypassSecurityTrustHtml(tab['subscription'].subHeading);\n tab['eligibleDevices'] = this._sanitizer.bypassSecurityTrustHtml(tab['subscription'].eligibleDevices);\n }\n else {\n tab['heading'] = this._sanitizer.bypassSecurityTrustHtml(tabElement.content);\n tab['subHeading'] = this._sanitizer.bypassSecurityTrustHtml(tabElement.content);\n tab['eligibleDevices'] = this._sanitizer.bypassSecurityTrustHtml(tabElement.content);\n }\n\n if (tabElement.key === 'form') {\n tab['formConfig'] = JSON.parse(tabElement.content);\n tab['description'] = this._sanitizer.bypassSecurityTrustHtml(tab['formConfig'].description);\n tab['permissionMessage'] = this._sanitizer.bypassSecurityTrustHtml(tab['formConfig'].permissionMessage);\n tab['noFansMessage'] = this._sanitizer.bypassSecurityTrustHtml(tab['formConfig'].noFansMessage);\n tab['blankMessage'] = this._sanitizer.bypassSecurityTrustHtml(tab['formConfig'].blankMessage);\n tab['requiredFields'] = this._sanitizer.bypassSecurityTrustHtml(tab['formConfig'].requiredFields);\n tab['totalDescription'] = this._sanitizer.bypassSecurityTrustHtml(tab['formConfig'].totalDescription);\n this.formSubmitSuccessMsg = tab['formConfig'].formSubmitSuccessMsg;\n this.errorMessage = tab['formConfig'].errorMessage;\n tab['formConfig'] = tab['formConfig'].form;\n if (this.isFullLoggedIn() && this.productDetail.id === 'efota' && !this.efotaNotEnrollFans) {\n // this.emailAddress = tab['formConfig'][7];\n // this.emailAddress.initialValue = JSON.parse(sessionStorage.getItem('user')).user.emailAddress;\n // this.phoneNumber = tab['formConfig'][6];\n // this.initialPhoneNumber = JSON.parse(sessionStorage.getItem('user')).user.contactPhoneNumber;\n // this.initialPhoneNumber = this.changeNumberFormatUS(this.initialPhoneNumber);\n // this.phoneNumber.initialValue = this.initialPhoneNumber;\n // this.contactName = tab['formConfig'][5];\n // this.contactName.initialValue = JSON.parse(sessionStorage.getItem('user')).user.firstName + \" \" + JSON.parse(sessionStorage.getItem('user')).user.lastName;\n // this.environmentPortal = tab['formConfig'][12];\n // if (sessionStorage.getItem('SAPMP_ENV_PORTAL') === \"myatt\") {\n // this.environmentPortal.initialValue = \"MyATT-ABC\";\n // }\n // else if (sessionStorage.getItem('SAPMP_ENV_PORTAL') === \"fnabc\") {\n // this.environmentPortal.initialValue = \"FirstNet-ABC\";\n // }\n // else {\n // this.environmentPortal.initialValue = \"Premier-ABC\";\n // }\n // this.fanNumber = tab['formConfig'][0];\n // this.efotaNotEnrolledFans = JSON.parse(sessionStorage.getItem('efotaNotEnrolledFanList')).sort();\n // for (let i = 1; i <= this.efotaNotEnrolledFans.length; i++) {\n // JSON.parse(sessionStorage.getItem('user')).user.fans.forEach(userFan => {\n // if (userFan.fanId == this.efotaNotEnrolledFans[i - 1]) {\n // this.userFanName = userFan.fanName;\n // }\n // })\n // this.fanNumber.list.listValues[i] = { 'name': this.efotaNotEnrolledFans[i - 1], 'value': this.userFanName };\n // }\n }\n this.formSubmitSuccessMsg = (this.formSubmitSuccessMsg) ? this.formSubmitSuccessMsg : \"You've successfully submitted your request. An AT&T representative will contact you.\";\n this.errorMessage = (this.errorMessage) ? this.errorMessage : \"There is an issue with your submission. Please try submitting your request later.\";\n } else {\n tab['description'] = this._sanitizer.bypassSecurityTrustHtml(tabElement.content);\n tab['permissionMessage'] = this._sanitizer.bypassSecurityTrustHtml(tabElement.content);\n tab['noFansMessage'] = this._sanitizer.bypassSecurityTrustHtml(tabElement.content);\n tab['blankMessage'] = this._sanitizer.bypassSecurityTrustHtml(tabElement.content);\n tab['requiredFields'] = this._sanitizer.bypassSecurityTrustHtml(tabElement.content);\n tab['totalDescription'] = this._sanitizer.bypassSecurityTrustHtml(tabElement.content);\n }\n\n tab.isActive = (rowIndex === 0) ? true : false;\n this.tabDetails.push(tab);\n rowIndex++;\n }\n this.showTab = true;\n\n\n /** Permissions */\n ({ 'modalRedirect': this.initModal } = this.route.snapshot.queryParams);\n if (this.initModal && this.initModal !== '') {\n this.permissionFlag = true;\n } else {\n this.permissionFlag = false;\n }\n this.changeDetectionRef.detectChanges();\n this.learnUrl = this.productDetail.productInfoUrl;\n this.detailService.createPageLoadProperties(this.skuTiles, this.router.routerState.snapshot.url, 'Details');\n this.pageloaderService.setPageLoaderStatus(true);\n // }, error => {\n // this.pageloaderService.setPageLoaderStatus(true);\n // this.handleError(error);\n // });\n\n }\n\n isFullLoggedIn() {\n return (sessionStorage.getItem('user') && (JSON.parse(sessionStorage.getItem('user')).user.addpAuthority == 'FULL')) ? true : false;\n }\n\n isNotFullLoggedIn() {\n return (sessionStorage.getItem('user') && (JSON.parse(sessionStorage.getItem('user')).user.addpAuthority != 'FULL')) ? true : false;\n }\n\n isLoggedIn() {\n return sessionStorage.getItem('user') ? true : false;\n }\n\n checkEfotaPage() {\n return this.productDetail.id === 'efota' ? true : false;\n }\n\n // changeNumberFormatUS(phone) {\n // if (phone.length === 10) {\n // return phone.replace(/(\\d{3})(\\d{3})(\\d{4})/, \"$1.$2.$3\");\n // }\n // return null;\n // }\n\n hasFans() {\n return (sessionStorage.getItem('efotaNotEnrolledFanList') && (JSON.parse(sessionStorage.getItem('efotaNotEnrolledFanList')).length > 0)) ? true : false;\n }\n\n setSEO(seo: SEO) {\n if (!seo) return;\n if (seo.title) document.title = seo.title;\n if (seo.description)\n document.getElementsByTagName('meta')['description'].content = seo.description;\n }\n\n pageNavigate() {\n if (this.authenticationService.getUser() !== null) {\n this.authenticationService.setLoginSuccessUrl('/productConfigurator/' + this.productDetail.id);\n // this.router.navigate(['login']);\n window.location.href = '/businessconsole/login';\n } else {\n this.router.navigate(['productConfigurator/' + this.productDetail.id]);\n }\n }\n\n handleSubscriptionEvent(skuId: string) {\n if (skuId === '/manage') {\n this.breadCrumbService.changeSessionSource('manageshop');\n this.router.navigate([skuId]);\n } else {\n for (const sku of this.skuTiles) {\n if (sku.id === skuId) {\n sku.selected = 1;\n } else {\n sku.selected = 0;\n }\n }\n this.skuTiles.sort((sku1, sku2): number => {\n return (sku2.selected - sku1.selected);\n });\n this.productDetail.skus = this.skuTiles;\n this.productDetail.quantity = 1;\n sessionStorage.setItem('productConfig-' + this.productDetail.id, JSON.stringify(this.productDetail));\n this.pageNavigate();\n }\n }\n\n updateTermsCondition(termsEvent) {\n this.termsConditionPopup = false;\n }\n\n showLearnDetails(event) {\n this.learnPopup = true;\n this.confirmModalPopup = new ConfirmModalPopupModel();\n this.confirmModalPopup.modalMessage = this.productDetail.learnMessage;\n this.confirmModalPopup.modalSubHeader = 'AT&T Business Console';\n this.confirmModalPopup.modalHeader = PRODUCT_CONFIG.learnHeader;\n this.confirmModalPopup.confirmButtonMessage = 'Yes';\n this.confirmModalPopup.cancelButtonMessage = 'No';\n this.confirmModalPopup.confirmButtonAccessibilityText = 'Yes.';\n this.eventEmit = event.target;\n this.modalClass = 'modal-lg';\n }\n\n updateLearnDetails(status) {\n this.learnPopup = false;\n if (status) {\n window.location.href = this.learnUrl;\n }\n }\n\n closeModal(event) {\n this.initModal = '';\n }\n\n private subscripitionSkutiles() {\n for (const sku of this.skuTiles) {\n sku.productId = this.productDetail.id;\n sku.priceInfo = new PriceInfoModel();\n const subscripitioncard = new SubscriptionCardModel();\n subscripitioncard.basicPrice = sku.basicPrice;\n subscripitioncard.description = sku.description;\n subscripitioncard.moduleCount = sku.moduleCount;\n subscripitioncard.skuType = sku.skuType;\n subscripitioncard.id = sku.id;\n subscripitioncard.detailFlag = 'SHOPNOW';\n subscripitioncard.productName = sku.displayName;\n subscripitioncard.isSingleQuantity = sku.isSingleQuantity;\n if (this.subscribeFlag === true) {\n if (sku.socCode === this.subscribedSoc) {\n this.alreadyOwnedProduct = true;\n subscripitioncard.detailFlag = 'ADDLICENSE';\n } else {\n subscripitioncard.detailFlag = '';\n }\n }\n this.subscriptionCardArray.push(subscripitioncard);\n }\n this.skuTiles.sort((sku1, sku2): number => {\n return (parseInt(sku1.basicPrice, 10) - parseInt(sku2.basicPrice, 10));\n });\n }\n\n pageLoadEvent(boolValue: boolean) {\n this.pageloaderService.setPageLoaderStatus(boolValue);\n }\n ngOnDestroy() {\n this.pageloaderService.setPageLoaderStatus(true);\n }\n\n handleError = (error) => {\n this.submitting = false;\n if (error) {\n this.detailErrorMessage = this.errorMessage;\n this.adobeAnalyticsService.CreateSeriveAlertProperties(error.status, error.statusText, 'formResponse');\n this.utilityService.loadFocusOnTop();\n } else {\n throw error;\n }\n }\n\n getFormConfigDetails(formOutputValue, tab) {\n tab['formValid'] = formOutputValue.valid;\n tab['form'] = formOutputValue.value;\n if (tab['formValid']) {\n console.log(tab['formValid']);\n }\n }\n\n translateData(tab) {\n for (const itrFormConfig of tab['formConfig']) {\n for (const itrFieldConfig of itrFormConfig.fields) {\n if (itrFieldConfig.elementType === 'checkbox' && itrFieldConfig.translate !== undefined && itrFieldConfig.translate === 'true') {\n tab['form'][itrFieldConfig.formControlName] = (tab['form'][itrFieldConfig.formControlName] === true || tab['form'][itrFieldConfig.formControlName] === \"yes\") ? \"yes\" : \"no\";\n }\n }\n }\n }\n\n submit(tab) {\n this.translateData(tab);\n console.dir(tab['form']);\n console.log(tab['formValid']);\n this.detailErrorMessage = null;\n this.formSuccess = false;\n this.submitting = true;\n window.scroll(0, 0);\n if (this.productDetail.id === 'efota') {\n this.currentEnrolledFan = tab['form'].foundationAccountNumber.name;\n }\n\n\n this.detailService.postForm(tab['form']).then(captchaResponse => {\n\n captchaResponse.subscribe(response => {\n console.dir(response);\n\n if (response.statusCode === '200') {\n // if (this.productDetail.id === 'efota') {\n // let notEnrolledFanList = JSON.parse(sessionStorage.getItem('efotaNotEnrolledFanList'));\n // for (let i = 0; i <= notEnrolledFanList.length; i++) {\n // if (notEnrolledFanList[i] == this.currentEnrolledFan) {\n // delete notEnrolledFanList[i];\n // let newNotEnrolledFanList = notEnrolledFanList.filter(item => {\n // return item != null;\n // });\n // sessionStorage.setItem(\"efotaNotEnrolledFanList\", JSON.stringify(newNotEnrolledFanList));\n // }\n // }\n // }\n\n this.ngOnInit();\n this.formSuccess = true;\n this.submitting = false;\n } else {\n this.handleError(response);\n }\n }, error => {\n this.handleError(error);\n });\n });\n }\n\n\n\n}","\n\n\n
\n
\n
\n
\n
\n \n
\n
\n

Error

\n

{{detailErrorMessage}}

\n
\n
\n
\n\n
\n
\n \"submitting\"\n
\n
\n\n
\n
\n
\n
\n \n
\n
\n

Success

\n

{{formSubmitSuccessMsg}}

\n
\n
\n
\n
\n\n
\n
\n
\n \"Banner\n \"Banner\n
\n\n
\n
\n
\n
\n

\n

\n
\n
\n
\n
\n
\n
\n\n
\n
\n
\n \"E-FOTA\n \"E-FOTA\n
\n\n
\n
\n
\n
\n

\n

\n
\n
\n
\n
\n
\n
\n \n \n \n
0\">\n
\n

{{packageLabelName}}

\n

Your account discount price and bill credits\n might not be reflected until you select billing account during checkout.

\n
\n
\n \n
\n
\n

You don't have buy permissions, continue to learn. Contact your Admin

\n
\n
\n

Your organization has already purchased this product. Either manage this product or buy a new product\n using your\n wireless number.

\n
\n
\n \n
\n
\n \n
\n
\n
\n
\n
\n \n \n \n
\n
\n \n \n \n
\n
\n \n
\n
\n \n
\n
\n

\n
\n
\n
\n\n \n \n \n \n
\n
\n
\n \n \n
\n
\n \n
\n\n
\n\n \n \n
\n
\n \n
\n
\n

\n
\n
\n
\n
\n\n \n

{{productDetail.unAuthenticatedDescription}}

\n \n
\n \n
\n

\n

0\"> Go to the {{productDetail.displayName}}\n website to learn more

\n
\n\n
\n
\n

\n

\n
\n \"E-FOTA\"\n \"E-FOTA\"\n

\n
\n

\n
\n
\n
\n\n \n
\n

\n
\n

{{productDetail.unAuthenticatedPricingDescription}}

\n \n
\n
\n\n
\n
\n
\n
\n
0\" class=\"package-section\">\n
\n
\n \n

{{productDetail.displayName}} is subject to its \n Terms of Use.\n \n

\n
\n
\n
\n
\n \n \n
\n \n \n
\n
\n \n \n \n \n
\n \n
","export * from './shared';\nexport * from './details.component';\n","export * from './providers/detail.service';\nexport * from './model';\n","export * from './subscription-request.model';\n","import { FetchCriteriaModel } from 'lib/ng2-sapmp/src/ui-components/custom-grid';\n\nexport class SubscriptionRequestModel {\n serviceOfferCodes: Array;\n serviceStatus: string;\n\n constructor() {\n this.serviceOfferCodes = undefined;\n this.serviceStatus = undefined;\n }\n}\n","import { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { throwError } from 'rxjs';\nimport { HttpClientService, AdobeAnalyticsService, UtilityService } from 'lib/ng2-sapmp/src/providers';\n\nimport { HttpClient, HttpHeaders, HttpResponse } from '@angular/common/http';\nimport { ANALYTICS_CONSTANTS } from 'config';\nimport { ReCaptcha3Service } from 'lib/ng2-sapmp/src/providers/recaptcha.service';\n\ndeclare var ENV_PORTAL;\n@Injectable()\nexport class DetailService {\n\n public site = 'AppMarketPlace';\n private headers;\n\n constructor(private httpClientService: HttpClientService,\n private utilityService: UtilityService, private adobeAnalyticsService: AdobeAnalyticsService, private recaptcha3Service: ReCaptcha3Service) { }\n\n getProductDetails(catalogDetailUrl) {\n let headers = this.httpClientService.setCommonHeaders();\n headers = headers.append('Site', this.site);\n headers = headers.delete('Content-Type');\n return this.httpClientService.authorizedGet(catalogDetailUrl, headers)\n .pipe(\n map((res: HttpResponse) => {\n this.httpClientService.updateAuthorizationHeaders(res);\n return res.body;\n })\n ,catchError( this.handleError ));\n }\n\n\n getSubscriptionData(subUrl, requestData) {\n return this.httpClientService.authorizedPut(subUrl, requestData)\n .pipe(\n map((res: HttpResponse) => {\n if (sessionStorage.getItem('sapmp_jwtToken') != null) {\n // refreshes token for logged in scenario upon page load\n this.httpClientService.tokenRefresh(this.utilityService.getEnvConfig().tokenRefresh);\n }\n return res.body;\n })\n ,catchError( this.handleError ));\n }\n\n handleError(error) {\n return throwError(error);\n }\n\n // Page Load\n createPageLoadProperties(skuTiles: any, url: string, title: string) {\n const dataLayer = {};\n const removeProductId = url.substring(0, url.lastIndexOf('/'));\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_LOCATION_URL] = ANALYTICS_CONSTANTS.ENVIRONMENT_URL + removeProductId;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FRIENDLY_PAGE_NAME] = ANALYTICS_CONSTANTS.FRIENDLY_NAME_DETAILS;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FLOW_CODE] = ANALYTICS_CONSTANTS.FLOW_CODE_SHOP;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_LANGUAGE] = 'EN';\n let sku;\n if (skuTiles) {\n for (const skuObject of skuTiles) {\n sku = (sku === undefined) ? skuObject.socCode : sku + '|' + skuObject.socCode;\n }\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_SKU] = sku;\n }\n if (sessionStorage.getItem('sapmp_jwtToken') != null) {\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_LOGIN_SOURCE] = 'shoplogin';\n if (ENV_PORTAL === 'fnabc') {\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_FIRSTNET_FLAG] = ANALYTICS_CONSTANTS.EVENTS_SUCCESSFLAG_1;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_FIRST_NET_USER_ROLE] = ANALYTICS_CONSTANTS.GLOBAL_USER_FIRST_NET_USER_ROLE_VALUE;\n }\n }\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_PAGE_FUNCTION] = 'Sales';\n this.adobeAnalyticsService.tag('page', dataLayer, 'Page_Load', 'pageLoad');\n }\n\n // postForm(form: any): any {\n // return this.httpClientService.post(this.utilityService.getEnvConfig().notificationServiceForm, form).pipe(\n // map((res: HttpResponse) => {\n // return res.body;\n // }),catchError(this.handleError));\n // }\n\n postForm(form: any): any {\n return this.recaptcha3Service.getToken().then(\n (token: any) => {\n this.headers = new HttpHeaders({\n 'captcha-authenticate': token\n });\n return this.httpClientService.post(this.utilityService.getEnvConfig().notificationServiceForm, form, this.headers).pipe(\n map((res: HttpResponse) => {\n return res.body;\n }),catchError(this.handleError));\n }\n )\n\n }\n\n}\n","import { Component, OnInit } from '@angular/core';\n\n@Component({\n selector: 'app-efota-customer',\n templateUrl: './efota-customer.component.html',\n styleUrls: ['./efota-customer.component.scss']\n})\nexport class EfotaCustomerComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit() {\n }\n\n}\n","import { Component, OnInit } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { AuthenticationService, UtilityService } from 'lib/ng2-sapmp/src/providers';\nimport { ERRORCODE } from 'config';\nimport { UserModel } from '../manage-users';\n\ndeclare var logoutHeaderChanges: any;\ndeclare var ENV_PORTAL: any;\ndeclare var ENV_VAR: any;\n\n@Component({\n selector: 'app-error-pages',\n templateUrl: './error-pages.component.html',\n styleUrls: ['./error-pages.component.scss']\n})\n\nexport class ErrorPageComponent implements OnInit {\n\n errorCode: any;\n errMsg: string;\n msgContent: string;\n errContent: string;\n redirectLink: string;\n user: any;\n\n constructor(private route: ActivatedRoute, private router: Router,\n private authenticationService: AuthenticationService,\n private utilityService: UtilityService) {\n }\n\n ngOnInit() {\n if (this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url] === undefined) {\n document.title = 'AT&T Business Console - Error';\n } else {\n document.title = this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url];\n }\n this.authenticationService.setLoginSuccessUrl('/businessconsole/home');\n this.redirectLink = (ENV_PORTAL === 'fnabc') ? 'Go to the FirstNet home page' : 'Go to AT&T Business Console homepage';\n this.errorCode = this.route.snapshot.params['errorCode'];\n if (ERRORCODE[this.errorCode]) {\n this.errMsg = ERRORCODE[this.errorCode].label;\n this.msgContent = ERRORCODE[this.errorCode].value;\n this.errContent = ERRORCODE[this.errorCode].errmsg;\n console.log(this.errMsg);\n\n this.user = this.authenticationService.getUser();\n if( ENV_PORTAL === 'fnabc' ){\n if( this.user && this.user.fanSignedUpStatus === 'NotEligible' ){ // no permission\n this.errMsg = ERRORCODE[ ENV_PORTAL ]['NO_ELIGIBILITY'].label;\n this.msgContent = ERRORCODE[ ENV_PORTAL ]['NO_ELIGIBILITY'].value;\n this.errContent = ERRORCODE[ ENV_PORTAL ]['NO_ELIGIBILITY'].errmsg;\n }else if( this.errorCode === '403' && this.user.addpAuthority === 'NONE' ){ // no eligible fans // need more work\n this.errMsg = ERRORCODE[ ENV_PORTAL ][this.errorCode].label;\n this.msgContent = ERRORCODE[ ENV_PORTAL ][this.errorCode].value;\n this.errContent = ERRORCODE[ ENV_PORTAL ][this.errorCode].errmsg;\n }\n }\n // else{\n // this.errMsg = ERRORCODE[this.errorCode].label;\n // this.msgContent = ERRORCODE[this.errorCode].value;\n // this.errContent = ERRORCODE[this.errorCode].errmsg;\n // }\n }\n\n\n }\n\n redirectToHome() {\n // if (ENV_PORTAL === 'fnabc') {\n // // tslint:disable-next-line:max-line-length\n // const url = ENV_VAR === 'prod' ? 'https://fcontent.att.com/dynamic/iamLRR/LrrController?IAM_OP=logout&returnURL=https%3A%2F%2Fsolutions.firstnet.att.com%2Fbusinessconsole%2Fhome' :\n // 'https://fcontent.stage.att.com/dynamic/iamLRR/LrrController?IAM_OP=logout&returnURL=https%3A%2F%2Fstage-solutions.firstnet.att.com%2Fbusinessconsole%2Fhome';\n // window.location.href = url;\n // } else {\n this.router.navigate(['/home']);\n // }\n }\n}\n\n\n\n","
\n\n
\n
\n \n
\n
\n

{{errContent}}

\n

{{ msgContent }}\n

\n {{ redirectLink }}\n

\n \n
\n
","export { ErrorPageComponent } from './error-pages.component';\n","import { Component, OnInit, ViewEncapsulation, HostListener } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { Router } from '@angular/router';\n\nimport { FanDeploymentProfileService, FanProfileModel } from './shared';\nimport { BreadCrumbService, GridOptionsModel, AccordionModel, PageLoaderService } from './../../../lib/ng2-sapmp/src/ui-components';\nimport { UtilityService } from './../../../lib/ng2-sapmp/src/providers';\nimport { FANDATA, MOBILEPIVOTS, ERRCODES, SIGNUPDATA } from 'config';\nimport { MobilePivotModel } from 'lib/ng2-sapmp/src/ui-components/mobile-pivot';\nimport { SignupService } from './../signup/shared/providers/signup.service';\nimport { DomSanitizer } from '@angular/platform-browser';\n\n@Component({\n selector: 'app-fan-deployment-profile',\n templateUrl: './fan-deployment-profile.component.html',\n styleUrls: ['./fan-deployment-profile.component.scss'],\n providers: [FanDeploymentProfileService, SignupService],\n encapsulation: ViewEncapsulation.None\n})\nexport class FanDeploymentProfileComponent implements OnInit {\n\n gridOptions: GridOptionsModel;\n fans: FanProfileModel;\n accordionList: Array;\n fanList: Array;\n pageDetails: any;\n selectedProfile: String;\n error: boolean;\n errorMessage: string;\n pivots: Array;\n settingsConfig: any;\n isMobile: any;\n preSelectedMdmDetail: string;\n selectedMdm: string;\n emmAccountId: string;\n mdmDetails: any;\n oemStatus = false;\n supportArticles: any;\n article: any;\n showOverviewModal: boolean;\n videoId: string;\n prodFlag: boolean;\n supportArticle = false;\n emmProductCode: string;\n fanID: string;\n static SANITIZE;\n\n\n constructor(private breadCrumbService: BreadCrumbService, private fanDeploymentService: FanDeploymentProfileService,\n private utilityService: UtilityService, private router: Router, private _sanitizer: DomSanitizer, private pageLoaderService: PageLoaderService,\n private signupService: SignupService) {\n this.pageLoaderService.setPageLoaderStatus(false);\n this.fans = new FanProfileModel();\n this.accordionList = [];\n this.fanList = [];\n this.checkProfile();\n FanDeploymentProfileComponent.SANITIZE = _sanitizer;\n }\n\n ngOnInit() {\n document.title = this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url];\n this.pivots = this.pivots = MOBILEPIVOTS.SINGLEFANPROFILE;\n this.settingsConfig = SIGNUPDATA.SettingsPage;\n this.fanID = sessionStorage.getItem(\"fanID\");\n this.fanDeploymentService.getFanDeploymentPageContent(this.selectedProfile)\n .subscribe(response => {\n this.fans = response;\n this.fans.notifications = this.fans.notifications.toLowerCase();\n if (this.fans.notifications === 'both') {\n this.fans.notifications = 'email and text';\n }\n this.emmProductCode = this.fans.emmProductCode;\n this.breadCrumbService.setCurrentBreadCrumb({ label: '' + this.fans.profileName + ': ' + this.fanID,\n routerLink: 'manageInventory/fanDeploymentProfile' });\n this.pageDetails = FANDATA.pageDetails;\n this.getFanDetails();\n this.getMDMname();\n this.pageLoaderService.setPageLoaderStatus(true);\n }, (err) => {\n this.handleError(err,'genericErrorMessage');\n this.breadCrumbService.setCurrentBreadCrumb({ label: 'Single Fan Profile', routerLink: 'manageInventory/fanDeploymentProfile' });\n });\n this.fanDeploymentService.createPageLoadProperties();\n this.mdmDetails = JSON.parse(sessionStorage.getItem('mdmDetails'));\n if (this.mdmDetails.productCode === 'ADDPZTE') {\n this.oemStatus = true;\n }\n this.supportArticles = [{ id: 1, isActive: true, category: 'Help', content: '' }];\n const pageName = 'deviceInventoryPage';\n if (!this.oemStatus) {\n this.signupService.requestSupportContent(this.utilityService.getEnvConfig().getSupportDocument + pageName).\n subscribe(resp => {\n this.article = resp.supportArticles;\n this.article.name = this.article.availableArticle[0].name;\n this.supportArticle = true;\n }, (err) => {\n // this.handleError(err);\n });\n }\n\n }\n getMDMname() {\n this.mdmDetails = JSON.parse(sessionStorage.getItem('mdmDetails'));\n if (this.emmProductCode === 'ADDPMDM') {\n this.fans.mdmServiceName = this.pageDetails.mdmServiceIbm;\n this.emmAccountId = this.mdmDetails.ibmEmmAccountId;\n this.oemStatus = false;\n } else if (this.emmProductCode === 'DMPGZTP') {\n this.fans.mdmServiceName = this.pageDetails.mdmServiceZtp;\n this.emmAccountId = this.mdmDetails.googleEmmAccountId;\n this.oemStatus = true;\n } else if (this.emmProductCode === 'DMPSKME') {\n this.fans.mdmServiceName = this.pageDetails.mdmServiceKme;\n this.emmAccountId = this.mdmDetails.samsungEmmAccountId;\n this.oemStatus = true;\n } else {\n this.fans.mdmServiceName = '';\n }\n }\n\n getSupportContent(articleNumber) {\n if (this.article.availableArticle[articleNumber].type === 'url') {\n this.initPopupModal(articleNumber);\n }\n }\n\n initPopupModal(articleNumber) {\n this.videoId = this.article.availableArticle[articleNumber].url;\n this.showOverviewModal = true;\n }\n\n closeOverviewModal() {\n this.showOverviewModal = false;\n }\n\n handleError(error,type) {\n this.error = true;\n this.errorMessage = ERRCODES[type];\n this.pageLoaderService.setPageLoaderStatus(true);\n }\n\n getFanDetails() {\n this.fanList = this.fans.fanList;\n this.initGrid();\n if (this.fanList && this.fanList.length > 5 && this.accordionList.length === 0) {\n this.accordionList.push({ id: 1, isActive: false, category: 'Foundation Accounts assigned to this profile', description: '' });\n }\n }\n\n initGrid() {\n const options = new GridOptionsModel();\n options.enableFiltering = false;\n options.enableSorting = false;\n options.multiSelect = false;\n const pagination = {\n recordsPerPage: 20,\n currentPage: 1,\n isServerSide: false,\n totalRecords: this.fanList.length\n };\n options.Paginations = pagination;\n options.callbacks = { callBackAppNameCellTemplate: this.callBackAppNameCellTemplate };\n options.gridData = this.fanList;\n options.columnDefinitions = FANDATA.columnDefinitions;\n this.gridOptions = options;\n }\n\n callBackAppNameCellTemplate(element, row, field, currentElem, type) {\n if (type === 'template') {\n if (row.fanstatus === 'ACTIVE' &&\n JSON.parse(sessionStorage.getItem('noOfDevice')) >= 1 ) {\n return FanDeploymentProfileComponent.SANITIZE.bypassSecurityTrustHtml(`${row.fanId}`);\n } else {\n return `${row.fanId}`;\n }\n\n } else if (type.target.classList.contains('fan')) {\n currentElem.onDataChange.emit({ data: row, type: 'fanId' });\n }\n }\n\n onRowClick(action) {\n if (action.type === 'fanId') {\n this.fanDeploymentService.setSelectedFan(action.data.fanId);\n this.router.navigate(['manageInventory/deviceInventory']);\n }\n }\n\n checkProfile() {\n this.selectedProfile = this.fanDeploymentService.getSelectedProfileID();\n if (this.selectedProfile === undefined) {\n this.back();\n }\n }\n\n back() {\n this.breadCrumbService.removeLastBreadCrumb();\n const currentUrl = this.breadCrumbService.getLastUrlFromBreadCrumb().routerLink;\n this.router.navigate([currentUrl]);\n }\n}\n","
\n
\n
\n \n
\n
\n {{errorMessage}}\n
\n
\n
\n
\n

{{pageDetails.heading1}}{{fans.profileName}}

\n
\n

{{pageDetails.mdmServiceHeading}}

\n
\n

\n
\n\n

{{pageDetails.heading2}}

\n
\n

{{pageDetails.newDevices}}{{fans.newDevices}}

\n

{{pageDetails.existingDevices}}{{fans.existingDevices}}

\n

{{pageDetails.security}} {{settingsConfig.securityPolicy[fans.security]}}

\n

{{pageDetails.passcode}} {{settingsConfig.passcodePolicy[fans.passcode]}}

\n

{{pageDetails.notification}} {{fans.notifications}}

\n

{{pageDetails.enrollment}} {{fans.enrollment}}

\n

{{pageDetails.newDeviceDate}} {{(!fans?.fanList[0]?.newDeviceEffectiveDate)?pageDetails.noDateSetLabel:fans.fanList[0].newDeviceEffectiveDate}}

\n

{{pageDetails.existDeviceDate}} {{(!fans?.fanList[0]?.existDeviceEffectiveDate)?pageDetails.noDateSetLabel:fans.fanList[0].existDeviceEffectiveDate}}

\n
\n

{{pageDetails.subHeading}}

\n
    \n
  • \n {{app}}\n
  • \n
\n
\n\n
\n

{{pageDetails.mdmServiceHeading}}

\n
\n

{{pageDetails.mdmService}} {{fans.mdmServiceName}}

\n

{{pageDetails.oemDetailsKme}} {{emmAccountId}}

\n

{{pageDetails.oemDetailsZtp}} {{emmAccountId}}

\n
\n\n

{{pageDetails.heading2}}

\n
\n

{{pageDetails.notification}} {{fans.notifications}}

\n

{{pageDetails.newDeviceDate}} {{(!fans?.fanList[0]?.newDeviceEffectiveDate)?pageDetails.noDateSetLabel:fans.fanList[0].newDeviceEffectiveDate}}

\n

{{pageDetails.existDeviceDate}} {{(!fans?.fanList[0]?.existDeviceEffectiveDate)?pageDetails.noDateSetLabel:fans.fanList[0].existDeviceEffectiveDate}}

\n
\n
\n\n
\n
\n \n
\n
5\">\n \n \n \n \n \n
\n
\n
\n \n \n
\n \n \n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n \n
\n \n
\n
\n
\n
\n
\n
\n\n\n
","export * from './providers/fan-deployment-profile.service';\nexport * from './models/fan-deployment-profile.model';\n","import { FanModel } from './../../../cancel-participation/shared/models/cancel-participation.model';\n\nexport class FanProfileModel {\n newDevices: string;\n existingDevices: string; // Active, Enrolled not active, In Progress\n security: number; // ProfileModel profileId\n passcode: boolean;\n notifications: String;\n enrollment: String;\n applications: Array;\n fanList: Array;\n profileName: string;\n emmProductCode: string;\n mdmServiceName: string;\n}\n","import { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { HttpClient, HttpResponse, HttpHeaders } from '@angular/common/http';\nimport { throwError } from 'rxjs';\nimport {ANALYTICS_CONSTANTS} from 'config';\nimport { HttpClientService, UtilityService, AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';\n\n@Injectable()\nexport class FanDeploymentProfileService {\n\n constructor(private http: HttpClient, private httpClientService: HttpClientService,\n private utilityService: UtilityService,\n private adobeAnalyticsService: AdobeAnalyticsService) { }\n\n get_headers() {\n let headers = new HttpHeaders();\n headers = headers.append('Authorization', sessionStorage.getItem('sapmp_jwtToken'));\n return headers;\n }\n\n fetchJSON(dataurl) {\n return this.httpClientService.get(dataurl, this.get_headers())\n .pipe(\n map((test: HttpResponse) => {\n if (sessionStorage.getItem('sapmp_jwtToken') != null) {\n // refreshes token for logged in scenario upon page load\n this.httpClientService.tokenRefresh(this.utilityService.getEnvConfig().tokenRefresh);\n }\n return test.body; })\n ,catchError( this.handleError ));\n }\n\n getFanDeploymentPageContent(profileId) {\n let url;\n if (this.utilityService.getEnvConfig().useMock) {\n url = this.utilityService.getEnvConfig().singleFanProfileUrl;\n } else {\n url = this.utilityService.getEnvConfig().fanProfileUrl + '?profileid=' + profileId;\n }\n return this.fetchJSON(url);\n }\n\n setSelectedFan(fanId) {\n sessionStorage.setItem('selectedFAN', fanId);\n }\n\n getSelectedProfileID() {\n return sessionStorage.getItem('profileId');\n }\n\n handleError(error) {\n return throwError(error);\n }\ncreatePageLoadProperties() {\n const dataLayer = {};\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FRIENDLY_PAGE_NAME] = ANALYTICS_CONSTANTS.FRIENDLY_NAME_FAN_DEPLOYMENT;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FLOW_CODE] = ANALYTICS_CONSTANTS.FLOW_CODE_MANAGE_DEVICE;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_PAGE_FUNCTION] = 'Service';\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_SITE_SECTION1] = 'FanDeploymentProfile';\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_LOGIN_SOURCE] = 'home';\n this.adobeAnalyticsService.tag('page', dataLayer, 'Page_Load', 'pageLoad');\n }\n}\n\n","import { Component, OnInit, ElementRef, Renderer2, ViewChild } from '@angular/core';\nimport { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser';\nimport { BreadCrumbModel, BreadCrumbService } from 'lib/ng2-sapmp/src/ui-components';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { ViewEncapsulation } from '@angular/core';\nimport { BREADCRUMBS } from 'config';\nimport { FaqService } from './faq.service';\nimport { AccordionComponent } from 'lib/ng2-sapmp/src/ui-components/accordion/accordion.component';\nimport { ConfirmModalPopupModel } from 'lib/ng2-sapmp/src/ui-components/confirm-modal';\nimport { UtilityService } from 'lib/ng2-sapmp/src/providers';\nimport { ChipsService } from 'lib/ng2-sapmp/src/ui-components/chips/chips.service';\nimport {Subscription} from \"rxjs\";\nimport { AuthenticationService } from 'lib/ng2-sapmp/src/providers/authentication.service';\nimport { ProductSelectionService } from '../product-selection/product-selection.service';\n\n@Component({\n selector: 'app-faq',\n providers: [FaqService, ProductSelectionService],\n templateUrl: './faq.component.html',\n styleUrls: ['./faq.component.scss'],\n encapsulation: ViewEncapsulation.None\n})\nexport class FaqComponent implements OnInit {\n faqDetails: any;\n overviewModalPopup: ConfirmModalPopupModel;\n url: any;\n isTask: boolean;\n modalClass: string;\n showOverviewModal: boolean;\n question: Number;\n isOpen: boolean;\n showEnrollLink: boolean = true;\n showABMAnswer: boolean = false;\n isABMFE: boolean = false;\n showABMFEOption: boolean = false;\n fanInfoList: any;\n fanInfoListString: any;\n fanInfoListArr: any;\n accountStatus: string;\n public enrollStatusSubscription: Subscription;\n @ViewChild('target') elRef;\n faqHeadings = [\"General Information\", \"About Samsung Knox Mobile Enrollment (KME)\", \"About Android™ zero-touch\", \"About Apple Business Manager\", \"About Enterprise Firmware Over the Air (E-FOTA)\"];\n generalFaq = [];\n samsungFaq = [];\n androidFaq = [];\n abmFaq = [];\n efotaFaq = [];\n callingPage: String;\n constructor(private breadCrumbService: BreadCrumbService,\n private faqservice: FaqService,\n private chips: ChipsService,\n private route: ActivatedRoute,\n public sanitizer: DomSanitizer,\n private renderer: Renderer2,\n private authenticationService: AuthenticationService,\n private productSelectionService: ProductSelectionService,\n // route: ActivatedRoute,\n private router: Router,\n private utilityService: UtilityService) {\n this.faqDetails = [];\n this.question = route.snapshot.queryParams.id;\n this.isOpen = false; \n }\n\n ngOnInit() {\n document.title = this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url];\n this.callingPage = sessionStorage.getItem('callingPageName');\n sessionStorage.setItem('callingPageName', '');\n if (this.callingPage === 'support') {\n this.chips.setChips([\n {\n \"label\" : \"Home\",\n \"routerLink\" : \"/home\"\n }, \n {\n \"label\" : \"Support\",\n \"routerLink\" : \"/support\"\n }, \n {\n \"label\" : 'Frequently asked questions',\n \"routerLink\" : \"/faq\"\n }] );\n } else {\n this.chips.setChips([\n {\n \"label\" : \"Home\",\n \"routerLink\" : \"/home\"\n }, \n {\n \"label\" : 'Frequently asked questions',\n \"routerLink\" : \"/faq\"\n }]) \n }\n this.faqservice.getFaqDetails().subscribe(response => {\n console.log(response);\n this.faqDetails = response;\n this.generalFaq = this.faqDetails.faqs.filter(el => el.category == \"General\");\n this.samsungFaq = this.faqDetails.faqs.filter(el => el.category == \"Samsung\");\n this.androidFaq = this.faqDetails.faqs.filter(el => el.category == \"Android\");\n this.abmFaq = this.faqDetails.faqs.filter(el => el.category == \"ABM\");\n this.efotaFaq = this.faqDetails.faqs.filter(el => el.category == \"E-FOTA\");\n this.faqDetails.faqs.map(function (faqs) {\n faqs.category = faqs.question;\n faqs.ariaLabel = {\n 'expand': 'Show FAQ',\n 'collapse': 'Hide FAQ',\n };\n setTimeout(() => {\n // this.openAccordion();\n }, 1000);\n });\n });\n this.faqservice.createPageLoadProperties();\n this.enrollStatusSubscription = this.authenticationService.getEnrollStatus().subscribe(status => {\n this.showEnrollLink = status;\n });\n \n this.fanInfoList = sessionStorage.getItem('fanInfoList');\n this.fanInfoListString = sessionStorage.getItem('fanInfoList');\n if(this.fanInfoListString === 'undefined' || this.fanInfoListString === null) {\n this.showABMAnswer = true;\n }\n else if (this.fanInfoListString !== 'undefined' || this.fanInfoListString !== null) {\n this.fanInfoListArr = JSON.parse(this.fanInfoListString);\n let hasDMPAABM = false; \n for (let item of this.fanInfoListArr) {\n if (item.emmProductCode === 'DMPAABM') {\n hasDMPAABM = true;\n this.accountStatus = item.accountStatus;\n if(this.accountStatus === 'SIGNUP_INPROGRESS' || this.accountStatus === 'REMOVE_INPROGRESS' || this.accountStatus === 'PROCESSING' || this.accountStatus === 'ACTIVE' || this.accountStatus === 'INACTIVE') {\n this.showABMFEOption = false;\n } else {\n this.showABMFEOption = true\n }\n }\n if (!hasDMPAABM) {\n this.showABMFEOption = true;\n }\n }\n } else {\n this.showABMFEOption = true;\n }\n\n if(this.showEnrollLink && !this.showABMFEOption) {\n this.showABMAnswer = true;\n } else if(!this.showEnrollLink && !this.showABMFEOption) {\n this.showABMAnswer = true;\n }\n\n if(this.showABMFEOption && this.showEnrollLink) {\n sessionStorage.setItem('ABMApply', 'true');\n }\n }\n // ngAfterContentChecked() {\n // this.openAccordion();\n // }\n // openAccordion() {\n // if (this.elRef && this.elRef.el && this.elRef.el.nativeElement && this.question && !this.isOpen) {\n // let el = document.querySelector(\" [id='9'] .toggle-header\");\n // el.click();\n // el.scrollIntoView();\n // this.isOpen = true;\n // }\n // }\n\n initOverviewModal() {\n this.overviewModalPopup = new ConfirmModalPopupModel();\n this.overviewModalPopup.modalMessage = '';\n this.overviewModalPopup.modalSubHeader = 'Overview Tutorial';\n this.overviewModalPopup.modalHeader = 'Modal Header';\n this.overviewModalPopup.confirmButtonMessage = 'OK';\n this.overviewModalPopup.showCancelButton = false;\n this.modalClass = 'modal-lg';\n }\n\n openOverviewModal(url, isTask) {\n this.showOverviewModal = true;\n this.url = this.sanitizer.bypassSecurityTrustResourceUrl(url);\n this.isTask = isTask;\n }\n\n closeOverviewModal() {\n this.showOverviewModal = false;\n }\n}\n\n\n","
\n
\n

Frequently asked questions

\n

Device management program

\n

View frequently asked questions (FAQs) about how to use the device management program to benefit your company.

\n \n \n \n
\n
\n \n
\n {{ faqs.article.articleName}} \n
\n \n
\n

\n
\n
\n \n
\n \n
\n
\n
\n \n Cancel\n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n
\n \n \n \n
\n
\n\n \n \n \n
\n
\n \n
\n {{ faqs.article.articleName}} \n
\n \n
\n

\n
\n
\n \n
\n \n
\n
\n
\n \n Cancel\n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n
\n \n \n \n
\n
\n\n \n \n \n
\n
\n \n
\n {{ faqs.article.articleName}} \n
\n \n
\n

\n
\n
\n \n
\n \n
\n
\n
\n \n Cancel\n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n
\n \n \n \n
\n
\n\n \n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n {{ faqs.article.articleName}} \n
\n \n
\n

\n
\n
\n \n
\n \n
\n
\n
\n \n Cancel\n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n
\n \n \n \n
\n
\n\n
\n
","import { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { UtilityService, HttpClientService , AdobeAnalyticsService} from 'lib/ng2-sapmp/src/providers';\nimport { throwError } from 'rxjs';\n\nimport { HttpResponse, HttpHeaders } from '@angular/common/http';\n\nimport { ANALYTICS_CONSTANTS } from 'config';\n\n\n\n@Injectable()\nexport class FaqService {\n constructor(private utilityService: UtilityService,\n private httpClientService: HttpClientService,\n private adobeAnalyticsService: AdobeAnalyticsService) { }\n\n handleError = (error) => {\n return throwError(error);\n }\n\n\n getFaqDetails() {\n let headers = new HttpHeaders();\n // headers = headers.append('Authorization', sessionStorage.getItem('sapmp_jwtToken'));\n if (this.utilityService.getEnvConfig().useMock) {\n return this.httpClientService.get(this.utilityService.getEnvConfig().faqServiceUrlMock)\n // headers)\n .pipe(\n map((res: HttpResponse) => {\n this.httpClientService.updateAuthorizationHeaders(res);\n return res.body;\n }\n )\n ,catchError( this.handleError ));\n }else {\n return this.httpClientService.get(this.utilityService.getEnvConfig().faqServiceUrl)\n //headers)\n .pipe(\n map((res: HttpResponse) => {\n this.httpClientService.updateAuthorizationHeaders(res);\n return res.body;\n }\n )\n ,catchError( this.handleError ));\n\n }\n }\n createPageLoadProperties() {\n const dataLayer = {};\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FRIENDLY_PAGE_NAME] = ANALYTICS_CONSTANTS.FRIENDLY_NAME_FAQ;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FLOW_CODE] = ANALYTICS_CONSTANTS.FLOW_CODE_SUPPORT;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_PAGE_FUNCTION] = 'Support';\n\n if (sessionStorage.getItem('sapmp_jwtToken') != null) {\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_LOGIN_SOURCE] = 'home';\n\n }\n this.adobeAnalyticsService.tag('page', dataLayer, 'Page_Load', 'pageLoad');\n }\n}\n","export {FaqComponent} from './faq.component';\n","import { Component, OnInit } from '@angular/core';\nimport { Router } from '@angular/router';\nimport { HeaderService } from './../header/header.service';\nimport { AuthenticationService, HttpClientService } from 'lib/ng2-sapmp/src/providers';\nimport { HttpResponse } from '@angular/common/http';\n\n\ndeclare var PREMIER_LOGIN_URL: any;\ndeclare var MYATT_LOGIN_URL: any;\ndeclare var ENV_PORTAL;\n\n@Component({\n selector: 'app-footer',\n templateUrl: './footer.component.html',\n styleUrls: ['./footer.component.scss']\n})\nexport class FooterComponent implements OnInit {\n condensedFlag = false;\n currentYear: any;\n triggerUrl: any;\n triggerUrlForMyAtt: any;\n sapmp: any;\n pageContent: any;\n fnabc: any;\n firstNetAppUrl: any;\n firstNetLocalControl: any;\n pageContentkey: any;\n\n constructor(private headerService: HeaderService,\n private httpClientService: HttpClientService,\n private authenticationService: AuthenticationService,\n ) {\n\n // this.pageContentkey = (ENV_PORTAL === 'sapmp') ? \"footerabc\" : \"footerfnabc\";\n this.headerService.pageContent(ENV_PORTAL).subscribe((res: HttpResponse) => {\n this.pageContent = res[ENV_PORTAL].footer;\n this.setRKey();\n if (ENV_PORTAL === 'sapmp') {\n this.pageContent.footerNav.firstCol[3].href = this.triggerUrl;\n this.pageContent.footerNav.firstCol[4].href = this.triggerUrlForMyAtt;\n }else if (ENV_PORTAL === 'myatt') {\n this.pageContent.footerNav.firstCol[3].href = this.triggerUrl;\n this.pageContent.footerNav.firstCol[4].href = this.triggerUrlForMyAtt;\n }\n });\n }\n\n ngOnInit() {\n this.currentYear = this.httpClientService.getCurrentYear();\n this.headerService.getCondensedFooterStatus().subscribe(\n (status: boolean) => {\n this.condensedFlag = status;\n }\n );\n }\n\n setCallingPage(callingPageUrl) {\n sessionStorage.setItem('callingPageName', callingPageUrl);\n }\n\n commonFunction(funcName, paramter) {\n if (funcName == \"setCallingPage\") {\n this.setCallingPage(paramter);\n }\n }\n\n setRKey() {\n this.triggerUrl = PREMIER_LOGIN_URL;\n this.triggerUrlForMyAtt = MYATT_LOGIN_URL ;\n }\n\n}\n","","export * from './footer.component';\n","import { Component, OnChanges, AfterViewInit, AfterViewChecked } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { UtilityService } from 'lib/ng2-sapmp/src/providers';\nimport { GridOptionsModel, ColumnDefinitionsModel, PaginationsModel } from 'lib/ng2-sapmp/src/ui-components/custom-grid';\nimport { GridFetchModel } from './../../models/grid/grid-fetch.model';\nimport { GridService } from './shared';\nimport { Router } from '@angular/router';\nimport { HttpClient } from '@angular/common/http';\n\n\n@Component({\n selector: 'app-browse',\n providers: [GridService],\n templateUrl: './grid.component.html',\n styleUrls: ['./grid.component.scss'],\n\n})\n\n\nexport class GridComponent {\n\n gridOptions: GridOptionsModel;\n\n\n columnDefinitions: Array = [\n { caption: 'User', field: 'user', type: 'LINK', sortDirection: 'Desc', enableSorting: true, enableFilter: true, cssClass: '', priority: 7 },\n { caption: 'Email', field: 'email', type: 'TEXT', sortDirection: 'Asc', enableSorting: false, enableFilter: false, cssClass: '', priority: 6 },\n { caption: 'Action', field: 'action', type: 'HYPERLINK', sortDirection: 'Asc', enableSorting: false, enableFilter: false, cssClass: '', priority: 3 },\n { caption: 'Checkbox', field: 'col1', type: 'CHECKBOX', sortDirection: 'Asc', enableSorting: false, enableFilter: false, cssClass: '', priority: 2 },\n { caption: 'Radio', field: 'col2', type: 'RADIO', sortDirection: 'Asc', enableSorting: false, enableFilter: false, cssClass: '', priority: 1 }\n ];\n\n// { \"ctnNumber\": \"4392382781\", \"userName\": \"John Smiths\", \"model\": \"iphone5\", \"imei\": \"4234568690\", \"status\": \"ENROLLED_ACTIVE\" } \n \n Paginations: PaginationsModel = {\n recordsPerPage: 20,\n currentPage: 1,\n isServerSide: true,\n totalRecords: 10000\n };\n\n\n\n\n constructor(private router: Router,\n private gridService: GridService,\n private utilityService: UtilityService,\n private http: HttpClient) {\n console.log('app constructor');\n this.getData();\n console.log(this.gridOptions);\n\n }\n\n getData() {\n\n console.log('Service getData');\n\n this.gridService.fetchGridData('http://localhost:4200/businessconsole/assets/mock/griddata-full.json').\n // this.gridService.fetchGridData('http://localhost:4200/businessconsole/assets/mock/mock-griddata-page.json').\n subscribe(respobj => {\n console.log(respobj);\n\n const options = new GridOptionsModel();\n\n const gridFetch: GridFetchModel = new GridFetchModel();\n gridFetch.class = 'API::CompanyEmployeeTextCriteria';\n gridFetch.withSubscriptions = [\n '173B46D3-D2F3-412B-8405-89D491378BEF',\n '121212122-D2F3-412B-8405-89D491378BEF'\n ];\n\n options.enableFiltering = true;\n options.enableSorting = true;\n options.gridData = respobj;\n options.columnDefinitions = this.columnDefinitions;\n options.Paginations = this.Paginations;\n // options.gridFetch = gridFetch;\n // options.dataUrl = this.utilityService.getEnvConfig().mockGridDataUrl;\n{}\n // this.gridOptions = options;\n this.gridOptions = respobj;\n\n }, error => {\n this.handleError(error);\n });\n }\n\n linkActivated(data) {\n console.log('grid page link');\n console.log(data);\n\n /*if (!!data.selectedColumn && data.selectedColumn == 'user') {\n this.router.navigate(['userSummary/' + data.id]);\n } */\n\n return false;\n }\n\n\n checkboxSelections(data) {\n console.log('checkboxSelections');\n console.log(data);\n }\n\n radioSelections(data) {\n console.log('radioSelections');\n console.log(data);\n }\n handleError(error) {\n console.log(error);\n }\n}\n","\n\n","export * from './shared';\nexport * from './grid.component';\n","export * from './providers/grid.service';\n","import { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { throwError } from 'rxjs';\nimport { HttpClient, HttpResponse, HttpHeaders } from '@angular/common/http';\nimport { HttpClientService } from 'lib/ng2-sapmp/src/providers';\n\n\n@Injectable()\nexport class GridService {\n\n constructor(private http: HttpClient, private httpClientService: HttpClientService) { }\n\n fetchGridData(dataurl) {\n\n return this.httpClientService.get(dataurl)\n .pipe(\n map((test: HttpResponse) => {\n this.httpClientService.updateAuthorizationHeaders(test);\n return test.body;\n })\n ,catchError( this.handleError ));\n }\n\n\n handleError = (error) => {\n return throwError(error);\n }\n\n}\n\n","import { Component, OnInit } from '@angular/core';\nimport { BreadCrumbService, BreadCrumbModel, PageLoaderService, StepIndicatorService, StepIndicatorModel, \n MobilePivotModel} from 'lib/ng2-sapmp/src/ui-components';\nimport { UtilityService } from './../../../lib/ng2-sapmp/src/providers';\nimport { STEPINDICATORS } from './../../../config';\nimport { ENV, MOBILEPIVOTS } from 'config';\nimport { GroupingDevicesService } from './grouping-devices.service';\ndeclare var ENV_VAR: any;\n\n@Component({\n templateUrl: './grouping-devices.component.html',\n styleUrls: ['./grouping-devices.component.scss'],\n providers: [StepIndicatorService,GroupingDevicesService]\n})\nexport class GroupingDevicesComponent implements OnInit {\n\n public steps: Array;\n public pivots: Array;\n public errorMessage: any;\n public currentStep: any;\n\n constructor(private breadCrumbService: BreadCrumbService,\n private spinner: PageLoaderService,\n private stepIndicator: StepIndicatorService,\n private utilities: UtilityService,) {\n this.steps = JSON.parse(JSON.stringify(STEPINDICATORS.groupingDevices));\n this.errorMessage = {\n 'heading': 'Something went wrong.',\n 'subHeading': 'Please try again',\n 'show': false\n };\n }\n\n ngOnInit(): void {\n const breadcrumb = new BreadCrumbModel();\n breadcrumb.label = 'Group Devices';\n breadcrumb.routerLink = '/groupingDevices';\n const callingPage = this.breadCrumbService.getLastUrlFromBreadCrumb().routerLink;\n const pivots = JSON.parse(JSON.stringify(MOBILEPIVOTS.SMSPAGE)); // create new const in mobilepivots\n this.breadCrumbService.setCurrentBreadCrumb(breadcrumb);\n this.stepIndicator.setCurrentStep('selectDevices');\n this.stepIndicator.setVisibility(true);\n pivots.unshift({ label: 'Device Inventory', routerLink: callingPage });\n this.pivots = pivots;\n this.stepIndicator.getCurrentStep().subscribe(\n (path: string) => {\n this.currentStep = path + ' step';\n });\n\n }\n\n}\n","
\n
\n

Group Devices

\n
\n
\n \n
\n
\n
\n \n
\n
{{errorMessage.heading}} {{errorMessage.subHeading}}
\n
\n \n
\n
\n
\n
\n
\n\n\n","\nimport { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { DatePipe } from '@angular/common';\nimport { throwError } from 'rxjs';\nimport { HttpClient, HttpResponse, HttpHeaders } from '@angular/common/http';\nimport { HttpClientService } from 'lib/ng2-sapmp/src/providers';\nimport { UtilityService, AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';\nimport { HeaderService } from 'app/pages';\n\n\n@Injectable()\nexport class GroupingDevicesService {\n\n public emmProductCode: any;\n public mdmProductName: any;\n public productDetails: any;\n public ztpAccID: any;\n urlSignUp: any;\n\n constructor(private http: HttpClient,\n private httpClientService: HttpClientService,\n private datePipe: DatePipe,\n private utilityService: UtilityService,\n private adobeAnalyticsService: AdobeAnalyticsService) { }\n\n get_headers() {\n let headers = new HttpHeaders();\n headers = headers.append('Authorization', sessionStorage.getItem('sapmp_jwtToken'));\n console.log(\"---header--\", headers)\n return headers;\n }\n\n submitGroupData(data: any){\n var url = this.utilityService.getEnvConfig().submitGroup\n return this.httpClientService.post(url, data, this.get_headers())\n .pipe(\n map((test: HttpResponse) => {\n if (sessionStorage.getItem('sapmp_jwtToken') != null) {\n // refreshes token for logged in scenario upon page load\n this.httpClientService.tokenRefresh(this.utilityService.getEnvConfig().tokenRefresh);\n }\n return test.body;\n }),\n catchError( this.handleError ));\n }\n \n handleError = (error) => {\n console.log(\"--handle error---\",error)\n return throwError(error);\n }\n\n getGroupDevicesData(fan: any, sessionId: any){\n let url = this.utilityService.getEnvConfig().getGroupDevices+'?fan='+ fan + '&sessionId='+sessionId;\n return this.httpClientService.authorizedGet(url)\n .pipe(\n map((res: HttpResponse) => {\n if (sessionStorage.getItem('sapmp_jwtToken') != null) {\n // refreshes token for logged in scenario upon page load\n this.httpClientService.tokenRefresh(this.utilityService.getEnvConfig().tokenRefresh);\n }\n \n return res.body;\n }), \n catchError(this.handleError));\n }\n\n updateGroupName(data: any){\n var url = this.utilityService.getEnvConfig().updateGroupName\n return this.httpClientService.post(url, data, this.get_headers())\n .pipe(\n map((test: HttpResponse) => {\n if (sessionStorage.getItem('sapmp_jwtToken') != null) {\n // refreshes token for logged in scenario upon page load\n this.httpClientService.tokenRefresh(this.utilityService.getEnvConfig().tokenRefresh);\n }\n return test.body;\n }),\n catchError( this.handleError ));\n }\n\n deleteGroup(data: any){\n var url = this.utilityService.getEnvConfig().deleteGroup;\n return this.httpClientService.post(url, data, this.get_headers())\n .pipe(\n map((test: HttpResponse) => {\n if (sessionStorage.getItem('sapmp_jwtToken') != null) {\n // refreshes token for logged in scenario upon page load\n this.httpClientService.tokenRefresh(this.utilityService.getEnvConfig().tokenRefresh);\n }\n return test.body;\n }),\n catchError( this.handleError ));\n }\n\n}\n","export * from './grouping-devices.component';\nexport * from './review-group/review-group.component';\nexport * from './select-devices/select-devices.component';\nexport * from './select-groups/select-groups.component';\n\n// export * from './modal';\n\n","import { Component, OnInit } from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { StepIndicatorService } from 'lib/ng2-sapmp/src/ui-components/step-indicator';\nimport { ChipsService } from 'lib/ng2-sapmp/src/ui-components/chips/chips.service';\nimport { PageLoaderService } from 'lib/ng2-sapmp/src/ui-components/page-loader';\nimport { UtilityService } from 'lib/ng2-sapmp/src/providers/utility.service';\nimport { BreadCrumbService } from 'lib/ng2-sapmp/src/ui-components/breadcrumb/breadcrumb.service';\nimport { GridOptionsModel } from 'lib/ng2-sapmp/src/ui-components/custom-grid-extended/shared/model/grid-options.model';\nimport { deviceInventory } from 'config';\nimport { GroupingDevicesService } from '../grouping-devices.service';\n\n@Component({\n selector: 'app-review-group',\n templateUrl: './review-group.component.html',\n styleUrls: ['./review-group.component.scss']\n})\nexport class ReviewGroupComponent implements OnInit {\n showErrors: boolean;\n reviewData: any;\n rowData: any = [];\n gridOptions: GridOptionsModel;\n customGridOptions = new GridOptionsModel();\n reviewDataCol: any = deviceInventory.reviewGroupDevices;\n showTable: boolean = false;\n getSelectedGroupFan: any;\n groupName: any;\n\n totalDevices: number;\n data: { fan: string; newGroupName: any; groupDetails: any[]; };\n selectedFan: string;\n existingGroupArr: any = [];\n formSuccess: boolean;\n failuremessage: boolean;\n\n\n constructor(private stepIndicatorService: StepIndicatorService,\n private route: ActivatedRoute,\n private chips: ChipsService,\n private pageloaderService: PageLoaderService,\n private utilityService: UtilityService,\n private router: Router,\n private breadCrumbService: BreadCrumbService,\n private groupDevicesService: GroupingDevicesService\n ) { }\n\n ngOnInit(): void {\n this.pageloaderService.setPageLoaderStatus(true);\n this.selectedFan = sessionStorage.getItem(\"selectedFAN\");\n this.breadCrumbService.removeLastBreadCrumb();\n this.chips.setChips([{\n\t\t\t\"label\": \"Home\",\n\t\t\t\"routerLink\": \"/home\"\n\t\t}, {\n\t\t\t\"label\": \"Manage Accounts\",\n\t\t\t\"routerLink\": \"/manageInventory\"\n\t\t}, {\n\t\t\t\"label\": 'Devices for foundation account ' + this.selectedFan,\n\t\t\t\"routerLink\": \"manageInventory/deviceInventory\"\n\t\t},\n\t\t\t\t {\n\t\t\t\"label\": \"Group Devices\",\n\t\t\t\"routerLink\": \"/groupingDevices/review\"\n\t\t}]);\n this.stepIndicatorService.setCurrentStep(this.route.snapshot.url[0].path);\n this.stepIndicatorService.setVisibility(true);\n this.rowData = JSON.parse(sessionStorage.getItem(\"selectedDevicesForGrouping\"));\n this.groupName = sessionStorage.getItem(\"groupSelection\");\n this.totalDevices= Object.keys(this.rowData).length\n this.initGrid();\n }\n\n initGrid(){\n \n this.customGridOptions.enableFiltering = false;\n this.customGridOptions.enableSorting = false;\n this.customGridOptions.multiSelect = false;\n const pagination = {\n recordsPerPage: 15,\n currentPage: 1,\n isServerSide: false,\n totalRecords: this.totalDevices,\n hideGoToPage: true\n };\n this.customGridOptions.enableBackLink = true;\n this.customGridOptions.backLinkText = \"Back\";\n this.customGridOptions.emptyMessage = \"Table is empty\";\n this.customGridOptions.searchPlaceHolder = \"\";\n this.customGridOptions.ariaLabel = \"\";\n this.customGridOptions.Paginations = pagination;\n this.customGridOptions.gridData = this.rowData;\n this.customGridOptions.columnDefinitions = this.reviewDataCol.columnDefinitions;\n this.customGridOptions.searchDescriptions = '';\n this.customGridOptions.ctnMask = false;\n this.customGridOptions.imeiMask = false;\n this.customGridOptions.maxLength = 15;\n this.customGridOptions.disableGrid = false;\n this.customGridOptions.disableRow = false;\n this.customGridOptions.disableRowCondition = { field: '', value: '' };\n // refine grid data for \"Claimed_Android\"\n this.customGridOptions.gridData.map(function(x){\n if(x.status == \"Claimed_Android\"){\n x.status = \"Claimed_Android™\"\n }\n })\n this.customGridOptions.callbacks = {\n callBackAppNameCellTemplate: this.callBackAppNameCellTemplate,\n callBackProfileStatus: this.callBackProfileStatus,\n callBackImei: this.callBackImei\n }\n \n this.gridOptions = this.customGridOptions;\n this.pageloaderService.setPageLoaderStatus(true);\n return this.gridOptions;\n \n }\n dismissInfo() {\n this.showErrors = false;\n }\n clickShowTable(){\n this.showTable = true;\n }\n clickHideTable(){\n this.showTable = false;\n }\n\n clickBack(){\n this.stepIndicatorService.setCurrentStep(\"selectGroup\");\n this.stepIndicatorService.setVisibility(true);\n this.pageloaderService.setPageLoaderStatus(false);\n this.router.navigate(['/groupingDevices/selectGroup']);\n }\n\n clickCancel(){\n this.pageloaderService.setPageLoaderStatus(false);\n this.router.navigate(['manageInventory/deviceInventory']);\n }\n\n clickChange(){\n this.pageloaderService.setPageLoaderStatus(false);\n this.router.navigate(['groupingDevices/selectDevices']);\n sessionStorage.setItem('callingURL', '/groupingDevices/review');\n }\n\n submitGroup(){\n this.pageloaderService.setPageLoaderStatus(false);\n this.rowData.forEach(data => {\n var obj : any = {}\n obj.imei = data.imei;\n obj.groupname = data.group;\n this.existingGroupArr.push(obj);\n });\n\n this.data = {\n \"fan\": this.selectedFan,\n \"newGroupName\" : this.groupName,\n \"groupDetails\" : this.existingGroupArr\n }\n this.groupDevicesService.submitGroupData(this.data).subscribe(responseObject => {\n if(responseObject.status === 'success'){\n sessionStorage.setItem(\"reviewGrpSuccess\", \"true\");\n sessionStorage.removeItem('groupSelection');\n sessionStorage.removeItem('createGroupFlag');\n this.router.navigate(['manageInventory/deviceInventory']);\n }else {\n sessionStorage.setItem(\"reviewGrpSuccess\", \"false\");\n }\n }, (error: any) => {\n console.log(\"Error for grouping devices: \"+ error);\n this.showErrors = true;\n this.pageloaderService.setPageLoaderStatus(true);\n });\n }\n\n /*add two cell for status updated in grid column */\n callBackProfileStatus(element, row, field, currentElem) {\n const colorStatus = row.status.replace(/_/g, '-').toLowerCase();\n let status = row.status.replace(/_/g, ' ');\n if (status === 'ENROLLED ACTIVE') {\n status = 'Enrolled, active';\n }else if (status === 'OUT OF COMPLIANCE') {\n status = 'Not compliant';\n }else if (status === 'ENROLLED NOT ACTIVE') {\n status = 'Enrolled, not active';\n }else if (status === 'NOT ENROLLED') {\n status = 'Not enrolled';\n }else if (status === 'Claimed Android™') {\n status = 'claimed (Android™)';\n }else if (status === 'Claimed Android') {\n status = 'claimed (Android™)';\n }else if (status === 'Claimed Samsung') {\n status = 'claimed (Samsung)';\n }else if (status === 'Claimed Apple') {\n status = 'claimed (Apple)';\n }else if (status === 'UNCLAIM PENDING Android™') {\n status = 'unclaim pending (Android™)';\n }else if (status === 'UNCLAIM PENDING Android') {\n status = 'unclaim pending (Android™)';\n }else if (status === 'UNCLAIM PENDING Samsung') {\n status = 'unclaim pending (Samsung)';\n }else if (status === 'UNCLAIM PENDING Apple') {\n status = 'unclaim pending (Apple)';\n }else if (status === 'CLAIM PENDING Android™') {\n status = 'claim pending (Android™)';\n }else if (status === 'CLAIM PENDING Android') {\n status = 'claim pending (Android™)';\n }else if (status === 'CLAIM PENDING Samsung') {\n status = 'claim pending (Samsung)';\n }else if (status === 'CLAIM PENDING Apple') {\n status = 'claim pending (Apple)';\n }else if (status === 'Not Claimed') {\n status = 'not claimed';\n }else if (status === 'UNCLAIM PENDING') {\n status = 'unclaim pending';\n }else if (status === 'CLAIM PENDING') {\n status = 'claim pending';\n }\n // return `${status}`;\n return `
${status}
`;\n\n }\n\n callBackImei(element, row, field, currentElem, type, col) {\n let imei = row.imei;\n let imei2 = row.complianceStatus\n if(imei2 == \"Unknown\" || imei2 === undefined || imei2 === \"\" || imei2 === null) {\n return `${imei}`;\n }else{\n return `${imei}

${imei2}

`;\n }\n }\n\n /*add two cell for link of CTN and username */\n callBackAppNameCellTemplate(element, row, field, currentElem, type, col) {\n if (type === 'template') { \n if(row.ctnNumber == null || row.ctnNumber == \"\" || row.ctnNumber == \"Unknown\") {\n const formatctnNumber = \"Unknown\";\n return ` ${formatctnNumber}`;\n } else {\n const formatctnNumber = row.ctnNumber.replace(/^(\\d{0,3})(\\d{0,3})(.*)/, '$1.$2.$3');\n return ` ${formatctnNumber}`;\n }\n } else if (type.target.classList.contains('ctn-number')) {\n currentElem.onDataChange.emit({ data: row, type: 'ctnInfo' });\n }\n }\n\n}\n","\n
\n
\n \n
\n
\n

Error

\n

Something went wrong. Please try again.

\n
\n
\n
\n\n
\n
\n

Review devices grouping details

\n
\n
\n
\n

Confirm your device(s) and grouping selections.

\n
\n
\n
\n
\n
\n
\n
\n
\n

Devices

\n
\n

You've selected {{totalDevices}} device(s) to move into a group.

\n \n Change\n \n
\n \n \n
\n \n
\n \n Hide devices\n
\n \n
\n
\n
\n
\n

Group

\n
\n
\n

Device(s) will be moved to : {{groupName}}

\n \n Change\n \n
\n
\n
\n
\n \n\n
\n
\n \n Back\n Cancel\n
\n
\n\n\n\n","import { Component, OnInit, ViewEncapsulation } from '@angular/core';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { HttpClient } from \"@angular/common/http\";\nimport { PageLoaderService } from 'lib/ng2-sapmp/src/ui-components/page-loader';\n\nimport { GridOptionsModel, ColumnDefinitionsModel, PaginationsModel, FetchCriteriaModel, FilterService, CustomGridExtendedComponent }\n from 'lib/ng2-sapmp/src/ui-components/custom-grid-extended';\n\n import { deviceInventory } from 'config';\nimport { BreadCrumbService, StepIndicatorService, DropdownModel } from 'lib/ng2-sapmp/src/ui-components';\nimport { ChipsService } from 'lib/ng2-sapmp/src/ui-components/chips/chips.service';\nimport { UtilityService } from 'lib/ng2-sapmp/src/providers';\n\nimport { DevicesModel } from '../model/grouping-devices.model';\nimport { GroupingDevicesService } from '../grouping-devices.service';\nimport { IndexedDbService} from '../../../indexed-db.service';\n\n@Component({\n selector: 'app-select-devices',\n templateUrl: './select-devices.component.html',\n styleUrls: ['./select-devices.component.scss'],\n encapsulation: ViewEncapsulation.None,\n // providers: [IndexedDbService]\n})\nexport class SelectDevicesComponent implements OnInit {\n \n public pageJson;\n showErrors: boolean;\n reviewData: any;\n rowData: any =[];\n filterRowData: Array;\n selectedRowData: any =[];\n gridOptions: GridOptionsModel;\n customGridOptions = new GridOptionsModel();\n selectDevicesCol: any = deviceInventory.selectDevices;\n\n public numberPattern = new RegExp(\"^[0-9]*$\");\n public modelPattern = new RegExp(\"^[0-9a-zA-Z-\\\\s]*$\");\n isctnNumberInvalid: boolean;\n isimeiNumberInvalid: boolean;\n isModelInvalid: boolean;\n selectedFan: any;\n public ctn: any;\n public imei: any;\n public deviceModel: any;\n public status: any;\n public group: any;\n public defaultGroup={ name: \"Select\", value: \"\" };\n public defaultStatus={ name: \"Select\", value: \"\" };\n statusOptions: any = [];\n groupsOptions: any = [{ name: \"Select\", value: \"\" }];\n public groupingDevicesDetails: any;\n public numberOfRowsSelected: number;\n public showNumberOfRowsSelected: boolean = false;\n totalNumberOfRecords:number;\n\n constructor(private stepIndicatorService: StepIndicatorService,\n private httpClient: HttpClient,\n private route: ActivatedRoute,\n private chips: ChipsService,\n private pageloaderService: PageLoaderService,\n private utilityService: UtilityService,\n private router: Router,\n private breadCrumbService: BreadCrumbService,\n private groupingDevicesService: GroupingDevicesService,\n private dbService: IndexedDbService\n ) { \n \n }\n\n ngOnInit(): void {\n\n this.pageloaderService.setPageLoaderStatus(false);\n document.title = this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url];\n this.pageJson = this.route.snapshot.data.pageData.groupingDevicesselectDevices;\n this.statusOptions = this.pageJson.status;\n this.selectedFan = sessionStorage.getItem(\"selectedFAN\");\n this.chips.setChips([{\n \"label\": \"Home\",\n \"routerLink\": \"/home\"\n }, {\n \"label\": \"Manage Accounts\",\n \"routerLink\": \"/manageInventory\"\n }, {\n \"label\": 'Devices for foundation account ' + this.selectedFan,\n \"routerLink\": \"manageInventory/deviceInventory\"\n }, {\n \"label\": \"Group Devices\",\n \"routerLink\": \"/groupingDevices/selectDevices\"\n }]);\n\n \n //this.getGroupingDevicesData();\n var sessionId = sessionStorage.getItem(\"sessionId\");\n this.groupingDevicesService\n // .getDeviceInventory(this.selectedFanId, this.pageSize, pageNumber)\n .getGroupDevicesData(this.selectedFan, sessionId)\n .subscribe(\n (respobj) => {\n this.dbService.clearData('devices');\n this.dbService.addData(\"devices\", respobj);\n this.groupingDevicesDetails = respobj; //JSON.parse(localStorage.getItem(\"groupDeviceTableData\"));\n \n this.rowData = this.groupingDevicesDetails.list;\n this.totalNumberOfRecords = this.groupingDevicesDetails.totalNumberOfRecords;\n \n let backurl = sessionStorage.getItem('callingURL');\n if(backurl === '/groupingDevices/selectGroup' || backurl === '/groupingDevices/review'){\n this.selectedRowData = JSON.parse(sessionStorage.getItem('selectedDevicesForGrouping'));\n if(this.selectedRowData.length>0){\n this.showNumberOfRowsSelected = true;\n this.numberOfRowsSelected = this.selectedRowData.length;\n }\n \n for(let i=0; i {\n this.handleError(error);\n })\n \n // this.pageloaderService.setPageLoaderStatus(true);\n // this.getData();\n }\n\n getData(){\n // this.dbService.connectToDb();\n this.dbService.getDb().then(db => {\n // Use the database\n \n this.dbService.getAllData('devices').then(data => {\n \n });\n });\n }\n\n getGroupingDevicesData() {\n var sessionId = sessionStorage.getItem(\"sessionId\");\n this.groupingDevicesService.getGroupDevicesData(this.selectedFan, sessionId)\n .subscribe(resposneObject => {\n console.log(\"resposneObject >>>>>> \"+ JSON.stringify(resposneObject));\n var response = JSON.parse(JSON.stringify(resposneObject));\n localStorage.setItem('groupDeviceTableData', JSON.stringify(response));\n }, error => {\n this.handleError(error);\n });\n\n this.pageloaderService.setPageLoaderStatus(true);\n\n\n }\n\n getFanStatusAndGroupsData(){\n let groupSet = new Set();\n let statusSet = new Set();\n for(let i = 0 ; i < this.totalNumberOfRecords ; i++) {\n groupSet.add(this.rowData[i].group);\n //statusSet.add(this.rowData[i].status);\n }\n for (const x of groupSet.values()) {\n this.groupsOptions.push({name: x, value: x});\n }\n // for (const x of statusSet.values()) {\n // this.statusOptions.push({name: x, value: x});\n // }\n sessionStorage.setItem('fanGroups', JSON.stringify(this.groupsOptions));\n }\n\n initGrid() {\n\n this.gridOptions = this.customGridOptions;\n this.customGridOptions.enableFiltering = false;\n this.customGridOptions.enableSorting = true;\n\n const pagination = {\n recordsPerPage: 15,\n currentPage: 1,\n isServerSide: false,\n totalRecords: this.totalNumberOfRecords,\n hideGoToPage: true\n };\n\n this.customGridOptions.enableBackLink = true;\n this.customGridOptions.backLinkText = \"Back\";\n this.customGridOptions.emptyMessage = \"We didn't find any devices that match your search criteria.\";\n this.customGridOptions.searchPlaceHolder = \"\";\n this.customGridOptions.ariaLabel = \"\";\n this.customGridOptions.callbacks = {\n callBackAppNameCellTemplate: this.callBackAppNameCellTemplate,\n callBackProfileStatus: this.callBackProfileStatus,\n callBackImei: this.callBackImei\n }\n this.customGridOptions.Paginations = pagination;\n //this.customGridOptions.gridData = this.groupingDevicesDetails.list;\n this.customGridOptions.columnDefinitions = this.selectDevicesCol.columnDefinitions;\n this.customGridOptions.multiSelect = true;\n this.customGridOptions.searchDescriptions = '';\n this.customGridOptions.ctnMask = false;\n this.customGridOptions.imeiMask = false;\n this.customGridOptions.maxLength = 15;\n this.customGridOptions.disableGrid = false;\n this.customGridOptions.disableRow = false;\n this.customGridOptions.disableRowCondition = { field: '', value: '' };\n\n // refine grid data for \"Claimed_Android\"\n this.customGridOptions.gridData.map(function (x) {\n if (x.status == \"Claimed_Android\") {\n x.status = \"Claimed_Android™\"\n }\n })\n this.gridOptions = this.customGridOptions;\n this.pageloaderService.setPageLoaderStatus(true);\n return this.gridOptions;\n\n }\n\n onRowClick(action) {\n var selectedDevicesForGrouping = this.rowData.filter(item => item.selected === true);\n this.numberOfRowsSelected = selectedDevicesForGrouping.length;\n if(this.numberOfRowsSelected>0){\n this.showNumberOfRowsSelected = true;\n }else{\n this.showNumberOfRowsSelected = false;\n }\n sessionStorage.setItem('selectedDevicesForGrouping', JSON.stringify(selectedDevicesForGrouping));\n console.log(selectedDevicesForGrouping);\n this.selectedRowData = selectedDevicesForGrouping;\n }\n\n cancel() {\n this.router.navigate(['/manageInventory/deviceInventory']);\n }\n\n continue() {\n this.stepIndicatorService.setCurrentStep(\"selectGroup\");\n this.stepIndicatorService.setVisibility(true);\n this.router.navigate(['/groupingDevices/selectGroup']);\n }\n\n clearAll() {\n document.getElementById('ctnNumber')['value'] = '';\n document.getElementById('imei')['value'] = '';\n document.getElementById('deviceModel')['value'] = '';\n this.isctnNumberInvalid = false;\n this.isimeiNumberInvalid = false;\n this.isModelInvalid = false;\n\n this.showNumberOfRowsSelected = false;\n \n for(let i=0; i item.ctnNumber.includes(this.ctn));\n }\n if (this.imei) {\n this.filterRowData = this.filterRowData.filter(item => item.imei.includes(this.imei));\n }\n if (this.deviceModel) {\n this.filterRowData = this.filterRowData.filter(item => item.model.toUpperCase().includes(this.deviceModel.toUpperCase()));\n }\n if (this.status) {\n if(this.status == \"Claimed_Android™\"){\n this.filterRowData = this.filterRowData.filter(item => item.status == \"Claimed_Android\" || item.status == \"Claimed_Android™\");\n }else if(this.status == \"CLAIM_PENDING_Android™\"){\n this.filterRowData = this.filterRowData.filter(item => item.status == \"CLAIM_PENDING_Android\" || item.status == \"CLAIM_PENDING_Android™\");\n }else if(this.status == \"UNCLAIM_PENDING_Android™\"){\n this.filterRowData = this.filterRowData.filter(item => item.status == \"UNCLAIM_PENDING_Android\" || item.status == \"UNCLAIM_PENDING_Android™\");\n }else{\n this.filterRowData = this.filterRowData.filter(item => item.status === this.status);\n }\n // this.filterRowData = this.filterRowData.filter(item => item.status === this.status);\n }\n if (this.group) {\n this.filterRowData = this.filterRowData.filter(item => item.group === this.group);\n }\n }\n if(this.filterRowData && this.filterRowData.length ===0){\n this.showNumberOfRowsSelected = false;\n }\n console.log(\"After search filterRowData:::::::::::::::::::::::: \" + this.filterRowData);\n console.log(\"After search filterRowData size:::::::::::::::::::::::: \" + this.filterRowData.length);\n\n this.totalNumberOfRecords = this.filterRowData.length\n this.gridOptions = new GridOptionsModel;\n this.customGridOptions.gridData = this.filterRowData;\n this.customGridOptions.Paginations.currentPage = 1;\n this.customGridOptions.Paginations.totalRecords = this.customGridOptions.gridData.length;\n if(this.customGridOptions.gridData.length == 0){\n this.customGridOptions.multiSelect = false;\n this.customGridOptions.isEmptyMessageInRow = false;\n }else{\n this.customGridOptions.multiSelect = true;\n }\n\n this.gridOptions = Object.assign({}, this.customGridOptions);\n setTimeout(() => {\n this.pageloaderService.setPageLoaderStatus(true);\n }, 2000);\n // this.pageloaderService.setPageLoaderStatus(true);\n //this.gridOptions = JSON.parse(JSON.stringify(this.customGridOptions));\n }\n\n checkPattern(event) {\n\n if (!this.numberPattern.test(document.getElementById('ctnNumber')['value'])) {\n this.isctnNumberInvalid = true;\n }\n else {\n this.isctnNumberInvalid = false;\n }\n\n if (!this.numberPattern.test(document.getElementById('imei')['value'])) {\n this.isimeiNumberInvalid = true;\n }\n else {\n this.isimeiNumberInvalid = false; \n }\n\n if (!this.modelPattern.test(document.getElementById('deviceModel')['value'])) {\n this.isModelInvalid = true;\n }\n else {\n this.isModelInvalid = false;\n }\n\n }\n\n /*add two cell for status updated in grid column */\n callBackProfileStatus(element, row, field, currentElem) {\n const colorStatus = row.status.replace(/_/g, '-').toLowerCase();\n let status = row.status.replace(/_/g, ' ');\n if (status === 'ENROLLED ACTIVE') {\n status = 'Enrolled, active';\n }else if (status === 'OUT OF COMPLIANCE') {\n status = 'Not compliant';\n }else if (status === 'ENROLLED NOT ACTIVE') {\n status = 'Enrolled, not active';\n }else if (status === 'NOT ENROLLED') {\n status = 'Not enrolled';\n }else if (status === 'Claimed Android™') {\n status = 'claimed (Android™)';\n }else if (status === 'Claimed Android') {\n status = 'claimed (Android™)';\n }else if (status === 'Claimed Samsung') {\n status = 'claimed (Samsung)';\n }else if (status === 'Claimed Apple') {\n status = 'claimed (Apple)';\n }else if (status === 'UNCLAIM PENDING Android™') {\n status = 'unclaim pending (Android™)';\n }else if (status === 'UNCLAIM PENDING Android') {\n status = 'unclaim pending (Android™)';\n }else if (status === 'UNCLAIM PENDING Samsung') {\n status = 'unclaim pending (Samsung)';\n }else if (status === 'UNCLAIM PENDING Apple') {\n status = 'unclaim pending (Apple)';\n }else if (status === 'CLAIM PENDING Android™') {\n status = 'claim pending (Android™)';\n }else if (status === 'CLAIM PENDING Android') {\n status = 'claim pending (Android™)';\n }else if (status === 'CLAIM PENDING Samsung') {\n status = 'claim pending (Samsung)';\n }else if (status === 'CLAIM PENDING Apple') {\n status = 'claim pending (Apple)';\n }else if (status === 'Not Claimed') {\n status = 'not claimed';\n }else if (status === 'UNCLAIM PENDING') {\n status = 'unclaim pending';\n }else if (status === 'CLAIM PENDING') {\n status = 'claim pending';\n }\n // return `${status}`;\n return `
${status}
`;\n\n }\n\n callBackImei(element, row, field, currentElem, type, col) {\n let imei = row.imei;\n let imei2 = row.complianceStatus\n if(imei2 == \"Unknown\" || imei2 === undefined || imei2 === \"\" || imei2 === null) {\n return `${imei}`;\n }else{\n return `${imei}

${imei2}

`;\n }\n }\n\n /*add two cell for link of CTN and username */\n callBackAppNameCellTemplate(element, row, field, currentElem, type, col) {\n if (type === 'template') { \n if(row.ctnNumber == null || row.ctnNumber == \"\" || row.ctnNumber == \"Unknown\") {\n const formatctnNumber = \"Unknown\";\n return ` ${formatctnNumber}`;\n } else {\n const formatctnNumber = row.ctnNumber.replace(/^(\\d{0,3})(\\d{0,3})(.*)/, '$1.$2.$3');\n return ` ${formatctnNumber}`;\n }\n } else if (type.target.classList.contains('ctn-number')) {\n currentElem.onDataChange.emit({ data: row, type: 'ctnInfo' });\n }\n }\n\n\n}\n","
\n
\n

{{pageJson.heading}}

\n
\n

{{pageJson.description}}

\n\n
\n
\n
\n
\n

Find Devices

\n Clear all\n
\n
\n
\n \n
\n \n
\n
\n
Invalid Data
\n
\n
\n \n
\n \n
\n \n
\n
\n
Invalid Data
\n
\n
\n \n
\n \n
\n \n
\n
\n
Invalid Data
\n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n \n
\n
\n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n
\n

{{numberOfRowsSelected}} Selected of {{totalNumberOfRecords}}

\n \n\n
\n
\n \n Cancel\n
\n
\n\n
\n\n
\n
","import { Component, OnInit, NgModule} from '@angular/core';\nimport { ReactiveFormsModule, FormsModule,FormControl } from '@angular/forms';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { ChipsService } from 'lib/ng2-sapmp/src/ui-components/chips/chips.service';\nimport { StepIndicatorService } from 'lib/ng2-sapmp/src/ui-components/step-indicator';\n\n\n// @NgModule({\n// imports: [\n// ReactiveFormsModule,\n// FormsModule,\n// FormControl\n\n// ]})\n\n@Component({\n selector: 'app-select-groups',\n templateUrl: './select-groups.component.html',\n styleUrls: ['./select-groups.component.scss']\n})\nexport class SelectGroupsComponent implements OnInit {\n\n existingGroupArray =[];\n existingGroupArrayRefine =[];\n optselected: boolean = false;\n groupSelection:string;\n newGroupName:string;\n createGroup: FormControl;\n createGroupFlag:boolean = false;\n existingFlag:boolean = false;\n selectedFan: any;\n // public groupPattern = /^[^\\s]+[a-zA-Z0-9\\s]{0,5}$/;\n // public groupPattern = /^[^\\s]+[a-zA-Z0-9\\s]+$/;\n public groupPattern = /^(?! )[a-zA-Z0-9\\s]+$/;\n\n\n public isGroupEmpty: boolean;\n public isGroupInvalid: boolean;\n\n\n\n \n\n constructor(private router: Router,private stepIndicatorService: StepIndicatorService,private route: ActivatedRoute,\n private chips: ChipsService,\n ) { }\n\n ngOnInit(): void {\n\n // this.stepIndicatorService.setCurrentStep(this.route.snapshot.url[0].path);\n // this.stepIndicatorService.setVisibility(true);\n\n this.selectedFan = sessionStorage.getItem(\"selectedFAN\");\n this.chips.setChips([{\n \"label\": \"Home\",\n \"routerLink\": \"/home\"\n }, {\n \"label\": \"Manage Accounts\",\n \"routerLink\": \"/manageInventory\"\n }, {\n \"label\": 'Devices for foundation account ' + this.selectedFan,\n \"routerLink\": \"manageInventory/deviceInventory\"\n }, {\n \"label\": \"Group Devices\",\n \"routerLink\": \"/groupingDevices/selectGroup\"\n }]);\n\n let fanGroups = JSON.parse(sessionStorage.getItem('fanGroups'));\n this.existingGroupArray = [];\n \n if(fanGroups){\n this.existingGroupArray = fanGroups.filter(x=>x.name !== 'Select' && x.name.toLowerCase() !== ('default group').toLowerCase()).map(x=>x.name)\n }\n\n this.existingGroupArrayRefine = this.existingGroupArray.sort().map(x=>x.toLowerCase())\n \n this.createGroupFlag = JSON.parse(sessionStorage.getItem('createGroupFlag'));\n this.groupSelection = 'Default Group';\n if(sessionStorage.getItem('groupSelection')){\n this.groupSelection = sessionStorage.getItem('groupSelection');\n }\n\n if(this.groupSelection === 'Default Group'){\n // this.groupSelection ='';\n this.createGroupFlag = false;\n }\n\n if(!this.groupSelection){\n this.groupSelection = 'Default Group'\n }\n\n\n this.createGroup = new FormControl();\n\n }\n\n groupSelected(event) { \n // this.groupSelection = \"\";\n this.optselected = false;\n this.createGroupFlag = false;\n\n if (event.target.value) {\n if(event.target.value ===\"Create a new group\"){\n this.optselected = false;\n this.groupSelection = \"\";\n sessionStorage.setItem(\"groupSelection\", this.groupSelection);\n this.createGroupFlag =true;\n sessionStorage.setItem(\"createGroupFlag\", (this.createGroupFlag).toString());\n\n\n }else {\n this.optselected = true;\n this.groupSelection = event.target.value;\n this.existingFlag = false;\n sessionStorage.setItem(\"groupSelection\", this.groupSelection);\n this.createGroupFlag =false;\n sessionStorage.setItem(\"createGroupFlag\", (this.createGroupFlag).toString());\n }\n }\n }\n\n newGroupCreation(value){\n\n if((this.existingGroupArrayRefine.indexOf(this.groupSelection.toLowerCase())>-1 || this.groupSelection.toLowerCase() === 'default group')&& this.createGroupFlag){\n // this.existingFlag = true;\n }else{\n this.existingFlag = false;\n }\n\n if (value == '') {\n this.isGroupEmpty = true;\n this.isGroupInvalid = false;\n\n this.optselected = false;\n this.groupSelection = \"\";\n sessionStorage.setItem(\"groupSelection\", this.groupSelection);\n }\n else if (this.groupPattern.test(value) && value && value.length<=30) {\n\n this.isGroupEmpty = false;\n this.isGroupInvalid = false;\n\n this.optselected = true;\n this.groupSelection = value;\n sessionStorage.setItem(\"groupSelection\", this.groupSelection);\n }\n else {\n this.isGroupEmpty = false;\n this.isGroupInvalid = true;\n\n this.optselected = true;\n this.groupSelection = value;\n sessionStorage.setItem(\"groupSelection\", this.groupSelection);\n }\n\n }\n\n continue(){\n\n if(this.groupSelection.endsWith(' ')){\n this.groupSelection = this.groupSelection.trim();\n }\n\n \n\n if((this.existingGroupArrayRefine.indexOf(this.groupSelection.toLowerCase())>-1 || this.groupSelection.toLowerCase() === 'default group')&& this.createGroupFlag){\n this.existingFlag = true;\n }else if(!this.isGroupInvalid){\n sessionStorage.setItem(\"groupSelection\", this.groupSelection);\n this.router.navigate(['/groupingDevices/review']);\n }\n \n }\n\n clickBack(){\n this.stepIndicatorService.setCurrentStep(\"selectDevices\");\n this.stepIndicatorService.setVisibility(true);\n setTimeout(() => {\n this.router.navigate(['/groupingDevices/selectDevices']);\n sessionStorage.setItem('callingURL', '/groupingDevices/selectGroup');\n }, 500)\n \n }\n\n clickCancel(){\n sessionStorage.removeItem('groupSelection');\n sessionStorage.removeItem('createGroupFlag');\n this.router.navigate(['/manageInventory/deviceInventory']);\n }\n\n}","
\n
\n

Select a group

\n
\n\n
\n

Select the group you want to move your device(s) into:

\n\n \n\n \n
\n \n
\n\n\n
\n\n \n
\n\n
\n \n
\n \n\n
\n \n
\n {{'Please input a valid group name'}}\n
\n
\n\n
\n
\n {{'This group name already exists. Please select this group from the list above.'}}\n
\n
\n\n
\n

*Group names can only include letters a-z, numbers 0-9 and\n space. The maximum character length is 30 characters.

\n
\n
\n\n
\n
\n \n Back\n Cancel\n
\n
\n\n
\n\n
\n
","import { Component, ElementRef, OnInit } from '@angular/core';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { HeaderService } from './../header/header.service';\nimport { HttpResponse } from '@angular/common/http';\nimport { UtilityService, HttpClientService } from 'lib/ng2-sapmp/src/providers';\nimport { CMSResolver } from 'lib/ng2-sapmp/src/providers/cms.resolver';\nimport { AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers/adobe-analytics.service';\nimport { AuthenticationService } from 'lib/ng2-sapmp/src/providers/authentication.service';\nimport { SAPMPProfileModel } from 'lib/ng2-sapmp/src/models/userprofile/loginsources/sapmp.model';\nimport { PageLoaderService } from 'lib/ng2-sapmp/src/ui-components/page-loader';\nimport { HomeComponent, HOME_DATA } from '../home';\nimport { MDMDetails } from './../../models/product';\nimport { ADDP_PERMISSION_MAPPING, LOGIN_ERROR } from 'config';\nimport { Subscription } from 'rxjs';\n\ndeclare var PREMIER_LOGIN_URL: any;\ndeclare var MYATT_LOGIN_URL: any;\ndeclare var FIRSTNET_LOCAL_CONTROL_URL: any;\ndeclare var ENV_PORTAL;\ndeclare var logoutHeaderChange;\ndeclare var logoutCurrentUser: Function;\n\n@Component({\n selector: 'app-header',\n templateUrl: './header.component.html',\n styleUrls: ['./header.component.scss']\n})\nexport class HeaderComponent implements OnInit {\n triggerUrl: any;\n dashboard: any;\n trial: any;\n pageContent: any;\n abc: any;\n fnabc: any;\n funtion: any;\n firstNetLocalControl: any;\n pageContentkey: any;\n pageLoadChangesDone: boolean = false;\n commonLoginContainer: boolean = false;\n public user;\n hideNotification;\n public redirectFlag: boolean = false;\n toggleAlertMenu;\n public mdmDetails: MDMDetails;\n public isLoggingIn = true;\n public tileName: boolean = true;\n public pageTitle: any;\n public landingPageRoute: string;\n public homePage: any;\n\n public display: boolean = false;\n public openDropMenu: boolean = true;\n public closeDropMenu: boolean = false;\n public show5gOption: boolean = true;\n public headerHideEvent: Subscription;\n isNotSelectStubId: boolean = true;\n public enrollStatusSubscription: Subscription;\n showRegisterIcon: boolean = false;\n constructor(private router: Router,\n private utilityService: UtilityService,\n private headerService: HeaderService, private pageloaderService: PageLoaderService,\n private authenticationService: AuthenticationService, private el: ElementRef, private adobeAnalyticsService: AdobeAnalyticsService,\n ) {\n\n\n // this.pageContentkey = (ENV_PORTAL === 'sapmp')? \"headerabc\" : \"headerfnabc\";\n this.headerService.pageContent(ENV_PORTAL).subscribe((res: HttpResponse) => {\n this.pageContent = res[ENV_PORTAL].header;\n sessionStorage.setItem('loginDropdownPopupSwitch', this.pageContent.loginDropdownPopup);\n console.log(\"PageContent----\", this.pageContent);\n console.log(\"PageContent.sideMenu---\", this.pageContent.sideMenu.list);\n\n\n });\n\n this.firstNetLocalControl = ENV_PORTAL === 'fnabc' ? FIRSTNET_LOCAL_CONTROL_URL : '';\n this.hideNotification = HeaderService.hideNotification;\n this.toggleAlertMenu = headerService.toggleAlertMenu;\n this.homePage = HOME_DATA;\n this.mdmDetails = new MDMDetails();\n\n if (ENV_PORTAL === \"dmpadmin\") {\n this.tileName = false;\n }\n AuthenticationService.User$.subscribe(u => {\n if (u === 'loading') {\n // this.isLoggingIn = true; \n this.user = undefined;\n } else {\n this.isLoggingIn = false;\n this.user = u;\n // console.log(\"u===============>\",this.user);\n\n // Fixes added for home page spinner issue\n if (this.user != undefined) {\n if (this.user.firstName && window.location.pathname.includes('home')) {\n // console.log(\"u==============================>\",this.user);\n // let firstName = document.getElementsByClassName('first-name')[0].innerHTML;\n // console.log(\"firstName===============>\",firstName);\n // console.log(\"firstName===============>\", this.user.firstName);\n document.getElementsByClassName(\"first-name\")[0].innerHTML = this.user.firstName + ' ' + this.user.lastName;\n // document.addEventListener(\"DOMContentLoaded\", function (event) {\n // document.getElementsByClassName(\"first-name\")[0].innerHTML = this.user.firstName ;\n // });\n }\n }\n\n }\n });\n\n\n // this.headerService.userLogin();\n // this.headerService.setlogoutHeaderChanges(false);\n\n // this.headerService.getlogoutHeaderChanges().subscribe(data => {\n // if (data) {\n // HeaderService.logoutHeaderChange();\n // this.headerService.setlogoutHeaderChanges(false);\n // }\n // });\n\n // this.headerService.getHideMenu().subscribe(data => {\n // if (data) {\n // this.hideMenu();\n // // this.headerService.checkCart();\n // this.headerService.setHideMenu(false);\n // }\n // });\n // if (this.authenticationService.getUser() || this.authenticationService.getPermissions()) {\n // this.headerService.userLogin();\n // this.headerService.setlogoutHeaderChanges(false);\n // } else {\n // this.headerService.setlogoutHeaderChanges(true);\n // this.headerService.logoutUser();\n // }\n\n // if(location.href.indexOf(\"selectstubid\") == -1) {\n // // this.isSelectStubId = true;\n // this.isNotSelectStubId = true;\n // } else if (location.href.indexOf(\"selectstubid\") != -1) {\n // // this.isSelectStubId = false;\n // this.isNotSelectStubId = false; \n // }\n \n }\n\n enrollRouteActive() {\n if (this.router.url == '/productselection' || this.router.url == '/welcome' || this.router.url == '/signupsetup/enrollmentoptions' || this.router.url == '/signupsetup/review' || this.router.url == '/signupsetup/confirm') {\n return true;\n } else {\n let navlist = document.querySelectorAll('.has-subnav');\n navlist[1].classList.remove('active');\n if (this.learnRouteActive()) {\n navlist[3].classList.add('active')\n }\n return false;\n }\n }\n\n learnRouteActive() {\n if (this.router.url == '/learn/products' || this.router.url == '/learn/applebusinessmanager' || this.router.url == '/learn/androidzerotouch' || this.router.url == '/learn/samsungknoxmobile' || this.router.url == '/learn/5g') {\n return true;\n } else {\n return false;\n }\n }\n\n\n homeRouteActive(parm) {\n let navlist = document.querySelectorAll('.has-subnav');\n if (this.router.url == parm) {\n navlist[7].classList.remove('active');\n return this.router.url;\n }\n }\n\n ngOnInit() {\n if (ENV_PORTAL === \"dmpadmin\") {\n this.tileName = false;\n }\n if(ENV_PORTAL === \"fnabc\" || ENV_PORTAL === \"myatt\") {\n this.show5gOption = false;\n }\n \n this.landingPageRoute = this.authenticationService.getLandingPageRoute();\n document.body.addEventListener('keyup', function (event) {\n var container = document.getElementById('hamNav');\n if (event.keyCode == 9) {\n if (!container.contains(document.activeElement)) {\n document.getElementById('hamNav').classList.remove('active');\n document.body.classList.remove('m-open');\n HeaderComponent.closeHamburgerMenu();\n }\n }\n var container2 = document.getElementById('userProfileInfo');\n if (event.keyCode == 9) {\n if (!container2.contains(document.activeElement)) {\n document.getElementById('userProfileInfo').classList.remove('active');\n document.body.classList.remove('d-open');\n }\n }\n });\n document.body.addEventListener('click', (event: MouseEvent) => {\n //For hiding menu on outside click.\n var container = document.getElementById('hamNav');\n var node = event.target;\n var element = event.target;\n if (!container.contains(node)) {\n var commonLogin = document.getElementById('common-login-container');\n document.getElementById('hamNav').classList.remove('active');\n if (ENV_PORTAL === \"dmpadmin\") (\n document.getElementById('main-menu').classList.remove('sub-active'));\n document.body.classList.remove('m-open');\n HeaderComponent.closeHamburgerMenu();\n }\n //For hiding notification on outside click\n var container2 = document.getElementById('userProfileInfo');\n var userprofile = document.getElementsByClassName('user-profile')[0];\n var profile = document.getElementsByClassName('profile')[0];\n if (container2 && !container2.contains(node) && document.contains(node)) {\n userprofile.classList.remove('show');\n HeaderService.hideNotification();\n }\n\n var container3 = document.getElementById('notification-box');\n if (element.className != 'log-out-text sm-hide' && element.className != 'loginBtn' && element.className != 'icon-people-oneperson') {\n document.getElementById('loginModal-box').classList.remove('active');\n }\n });\n\n this.enrollStatusSubscription = this.authenticationService.getEnrollStatus().subscribe(status => {\n console.log(\"Enroll Status: \" + status);\n this.showRegisterIcon = status;\n // Perform any additional actions needed when enrollStatus changes\n });\n }\n\n hideMenu() {\n document.getElementById('hamNav').classList.remove('active');\n document.body.classList.remove('m-open');\n HeaderComponent.closeHamburgerMenu();\n }\n\n openCloseSubMenu(id) {\n if (id === \"show\") {\n this.display = true;\n this.openDropMenu = false;\n this.closeDropMenu = true;\n } else if (id === \"hide\") {\n this.display = false;\n this.openDropMenu = true;\n this.closeDropMenu = false;\n }\n }\n static closeHamburgerMenu() {\n var expand = document.querySelector('.menu-btn');\n expand.setAttribute(\"aria-label\", \"Open the menu.\");\n }\n toggleMenu(elem) {\n console.log(\"toggle menu called...\");\n elem.parentElement.classList.toggle('active');\n document.body.classList.toggle('m-open');\n var expand = document.querySelector('.menu-btn');\n expand.setAttribute(\"aria-label\", \"Close the menu.\");\n }\n\n setRKey(parameter) {\n this.triggerUrl = parameter === 'myatt' ? MYATT_LOGIN_URL : PREMIER_LOGIN_URL;\n window.location.href = this.triggerUrl;\n }\n\n setCallingPage(callingPageUrl) {\n sessionStorage.setItem('callingPageName', callingPageUrl);\n }\n\n checkSlider(buttonLink, title) {\n let navlist = document.querySelectorAll('.has-subnav');\n navlist[0].classList.remove('active');\n navlist[1].classList.remove('active');\n navlist[7].classList.remove('active');\n document.getElementById(\"menu-toggle\").click();\n this.display = false;\n this.openDropMenu = true;\n this.closeDropMenu = false;\n if ((buttonLink === \"/learn/androidzerotouch\") || (buttonLink === \"/learn/applebusinessmanager\") || (buttonLink === \"/learn/samsungknoxmobile\")) {\n navlist[3].classList.add('active');\n }\n if (buttonLink.startsWith('http')) {\n this.adobeAnalyticsService.createClickProperties('Learn more about ' + title, 'Body', buttonLink);\n window.open(buttonLink);\n }\n else {\n this.adobeAnalyticsService.createClickProperties('Learn more about ' + title, 'Body', '/businessconsole' + buttonLink);\n return this.router.navigate([buttonLink]);\n }\n }\n\n\n commonFunction(funcName, parameter) {\n if (location.href.indexOf('selectstubid') != -1 && (parameter == \"/support\" || parameter == \"/faq\" || parameter ==\"/learn\")) {\n alert('Please select a StubID to proceed.');\n } else {\n this.hideMenu();\n this.display = false;\n this.openDropMenu = true;\n this.closeDropMenu = false;\n document.getElementById(\"menu-toggle\").click();\n\n if (ENV_PORTAL != \"dmpadmin\") {\n let navlist = document.querySelectorAll('.has-subnav');\n navlist[7].classList.remove('active');\n if (parameter === \"/learn\") {\n navlist[1].classList.add('active');\n navlist[3].classList.remove('active');\n this.navigateDeviceAndShop();\n }\n else if (parameter === \"/learn/products\") {\n navlist[1].classList.remove('active');\n navlist[3].classList.add('active');\n }\n else {\n navlist[1].classList.remove('active');\n navlist[3].classList.remove('active');\n navlist[7].classList.remove('active');\n }\n }\n\n if (funcName == \"setRKey\") {\n this.setRKey(parameter);\n }\n else if (funcName == \"setCallingPage\") {\n this.setCallingPage(parameter);\n }\n else if (funcName == \"localControl\") {\n window.open(FIRSTNET_LOCAL_CONTROL_URL);\n }\n else if (funcName == 'action') {\n window['store'].dispatch({ type: parameter });\n this.headerService.setHideMenu(true);\n }\n }\n}\n\n //TODO this is where you set the domain\n loginDirect(portal) {\n this.commonLoginContainer = !this.commonLoginContainer;\n this.authenticationService.loginDirect(portal);\n }\n\n commonLoginDropdown() {\n if (location.href.indexOf(\"selectstubid\") != -1) {\n alert(\"Please select a StubID to proceed.\");\n }\n else { \n document.getElementById('loginModal-box').classList.toggle('active');\n }\n }\n\n toggleSubMenu() {\n document.getElementById('main-menu').classList.toggle('sub-active');\n var expand = document.querySelector('#sub-menu');\n var attribute = expand.getAttribute('aria-expanded');\n if (attribute.includes('true'))\n expand.setAttribute(\"aria-expanded\", \"false\");\n else\n expand.setAttribute(\"aria-expanded\", \"true\");\n }\n\n navigateDeviceAndShop() {\n let navlist = document.querySelectorAll('.has-subnav');\n navlist[0].classList.remove('active');\n navlist[1].classList.add('active');\n this.pageloaderService.setPageLoaderStatus(false);\n let processingFans = JSON.parse(sessionStorage.getItem('processingFanList'));\n let processingFansCount = JSON.parse(sessionStorage.getItem('processingFanList')) ? processingFans.length : 0;\n if (sessionStorage.getItem('sapmp_jwtToken') === null) {\n sessionStorage.setItem('eligibilityCheck', 'true');\n // this.landingPageRoute = this.homePage?.links[0]?.rlink;\n this.landingPageRoute = this.pageContent.sideMenu?.list[1]?.routerLink;\n console.log(this.homePage?.links[0]?.rlink);\n this.adobeAnalyticsService.createClickProperties(this.homePage?.links[0]?.linkName, 'Body', '/businessconsole' + this.landingPageRoute);\n navlist[1].classList.add('active');\n return this.router.navigate([this.landingPageRoute]);\n }\n this.user = this.authenticationService.getUser();\n if (this.user.addpAuthority !== 'NONE') {\n this.authenticationService.getFanSignedUpStatus()\n .subscribe(resp => {\n sessionStorage.setItem('initialSignupStatus', resp.initialSignupStatus);\n sessionStorage.setItem('noOfDevice', resp.noOfDevices);\n if (resp.fansSummary?.length > 0) {\n let signupFanSum = resp.fansSummary;\n let signupFanList = [];\n let signupActiveFanList = [];\n let processingFanList = [];\n let inProgressFan = [];\n for (let i = 0; i < signupFanSum.length; i++) {\n if (signupFanSum[i].status == \"AWAITING_SIGNUP\") {\n for (let j = 0; j < signupFanSum[i].count; j++) {\n signupFanList.push(signupFanSum[i].fans[j]);\n }\n }\n }\n sessionStorage.setItem('signupFanList', JSON.stringify(signupFanList));\n\n //get active fans list\n for (let i = 0; i < signupFanSum.length; i++) {\n if (signupFanSum[i].status == \"ACTIVE\") {\n for (let j = 0; j < signupFanSum[i].count; j++) {\n signupActiveFanList.push(signupFanSum[i].fans[j]);\n }\n }\n }\n sessionStorage.setItem('signupActiveFanList', JSON.stringify(signupActiveFanList));\n //for 'processing' fans\n for (let i = 0; i < signupFanSum.length; i++) {\n if (signupFanSum[i].status == \"PROCESSING\") {\n for (let j = 0; j < signupFanSum[i].count; j++) {\n //processingFanList.push(signupFanSum[i].fans[j]);\n inProgressFan.push(signupFanSum[i].fans[j]);\n //getting fan info of 'processing' fan to store in session storage\n for (let k = 0; k < resp.fanInfoList.length; k++) {\n if (signupFanSum[i].fans[j] === resp.fanInfoList[k].fan) {\n processingFanList.push(resp.fanInfoList[k]);\n }\n }\n }\n }\n }\n sessionStorage.setItem('inProgressFan', JSON.stringify(inProgressFan));\n sessionStorage.setItem('processingFanList', JSON.stringify(processingFanList));\n }\n if (!resp.efotaFansSummary) {\n sessionStorage.setItem('efotaEnrolledFanList', '[]');\n }\n else {\n let efotaFansSum = resp.efotaFansSummary;\n let efotaEnrolledFanList = [];\n for (let i = 0; i < efotaFansSum.length; i++) {\n if (efotaFansSum[i].status == \"ACTIVE\") {\n for (let j = 0; j < efotaFansSum[i].count; j++) {\n efotaEnrolledFanList.push(efotaFansSum[i].fans[j]);\n }\n }\n }\n sessionStorage.setItem('efotaEnrolledFanList', JSON.stringify(efotaEnrolledFanList));\n }\n if (!resp.efotaNotEnrolledFanList) {\n sessionStorage.setItem('efotaNotEnrolledFanList', '[]');\n sessionStorage.setItem('efotaEnrollmentInfo', '[]');\n }\n else {\n sessionStorage.setItem('efotaEnrollmentInfo', JSON.stringify(resp.efotaEnrollmentInfo));\n sessionStorage.setItem('efotaNotEnrolledFanList', JSON.stringify(resp.efotaNotEnrolledFanList));\n }\n\n if (resp.allFansInEligible === true) {\n this.user.fanSignedUpStatus = 'NotEligible';\n } else {\n if (this.user) {\n this.user.fanSignedUpStatus = this.getFanSignedUpStatus(resp.fansSummary);\n }\n if (resp.productCode !== null && resp.productCode !== undefined) {\n this.mdmDetails.productCode = resp.productCode;\n this.mdmDetails.latestAccountType = resp.recentlyEnrolledProduct;\n if (this.mdmDetails.productCode === 'ADDPMDM') {\n this.mdmDetails.ibmEmmAccountId = resp.ibmEmmAccountId;\n let productDetails = { emmProductCode: '', selectedAccID: '', signupEmmStatus: '' };\n productDetails.emmProductCode = 'ADDPMDM';\n productDetails.selectedAccID = resp.ibmEmmAccountId;\n productDetails.signupEmmStatus = 'revised';\n sessionStorage.setItem('manage-product', JSON.stringify(productDetails));\n } else {\n if (resp.googleEmmAccountId !== null && resp.googleEmmAccountId !== undefined) {\n this.mdmDetails.googleEmmAccountId = resp.googleEmmAccountId;\n }\n if (resp.samsungEmmAccountId !== null && resp.samsungEmmAccountId !== undefined) {\n this.mdmDetails.samsungEmmAccountId = resp.samsungEmmAccountId;\n }\n if (resp.fanInfoList !== null && resp.fanInfoList !== undefined) {\n sessionStorage.setItem('fanInfoList', JSON.stringify(resp.fanInfoList));\n }\n }\n sessionStorage.setItem('mdmDetails', JSON.stringify(this.mdmDetails));\n }\n }\n this.authenticationService.setUser(this.user);\n\n let checkMore = true;\n let directWelcome = false;\n if (resp.fansSummary) {\n for (let k = 0; k < resp.fansSummary.length; k++) {\n if (resp.fansSummary[k].status === \"AWAITING_SIGNUP\" && resp.fansSummary[k].count > 0) {\n this.redirectFlag = true;\n checkMore = false;\n if (resp.fansSummary[k].count === resp.noOfFans) {\n directWelcome = true;\n }\n }\n }\n }\n\n if (resp.fanInfoList) {\n let fanArr = resp.fanInfoList.map((x) => x.fan);\n let fanArrRefine = [];\n if (fanArr && fanArr.length > 0) {\n fanArrRefine = fanArr.filter(\n (x, index) => fanArr.indexOf(x) === index\n );\n }\n\n let activeFanArr = resp.fanInfoList.filter((x) => x.accountStatus === \"ACTIVE\" || x.accountStatus === \"SIGNUP_INPROGRESS\");\n if (activeFanArr.length === 0) {\n directWelcome = true;\n }\n\n if (activeFanArr.length < fanArrRefine.length * 2) {\n this.redirectFlag = true;\n }\n }\n\n if (directWelcome === true) {\n this.router.navigate(['/welcome']);\n navlist[1].classList.add('active');\n this.pageloaderService.setPageLoaderStatus(true);\n\n } else if (((this.homePage.links[0].rlink === '/learn') && (processingFansCount >= 1)) || this.redirectFlag) {\n this.router.navigate(['/productselection']);\n navlist[1].classList.add('active');\n this.pageloaderService.setPageLoaderStatus(true);\n } else {\n this.pageloaderService.setPageLoaderStatus(true);\n return this.navigationRedirect(this.homePage.links[0].linkName);\n }\n }, () => {\n this.user.fanSignedUpStatus = 'Error';\n this.authenticationService.setUser(this.user);\n return this.navigationRedirect(this.homePage.links[0].linkName);\n });\n } else {\n return this.navigationRedirect(this.homePage.links[0].linkName);\n }\n }\n\n navigationRedirect(inputLinkName) {\n const roleFanStaus = this.user.addpAuthority + '_' + this.user.fanSignedUpStatus;\n const redirectInfo = ADDP_PERMISSION_MAPPING[roleFanStaus];\n\n if (redirectInfo && this.mdmDetails.productCode === 'ADDPMDM' && redirectInfo.logonurl === 'productselection') {\n redirectInfo.logonurl = 'signup';\n this.authenticationService.setLandingPageRoute('/' + redirectInfo.logonurl);\n } else if (redirectInfo) {\n this.authenticationService.setLandingPageRoute('/' + redirectInfo.logonurl);\n }\n this.adobeAnalyticsService.createClickProperties(inputLinkName, 'Body', '/businessconsole' + this.landingPageRoute);\n this.landingPageRoute = this.authenticationService.getLandingPageRoute();\n this.router.navigate([this.landingPageRoute]);\n }\n\n\n getFanSignedUpStatus(fansSummary) {\n let fanSignedUpStatus = 'NONE';\n if (fansSummary) {\n const signedUpFansCount = fansSummary.\n filter((f) => { return f.status === 'ACTIVE' || f.status === 'READY_TO_SETUP'; }).length;\n const notSignedUpFansCount = fansSummary.\n filter((f) => { return f.status === 'AWAITING_SIGNUP'; }).length;\n const abmfePendingSignedUpFansCount = fansSummary.\n filter((f) => { return f.status === 'PROCESSING' || f.status === 'SIGNUP_INPROGRESS' }).length;\n if (abmfePendingSignedUpFansCount > 0) {\n fanSignedUpStatus = 'PROCESSING';\n }\n if (signedUpFansCount > 0 && notSignedUpFansCount > 0) {\n fanSignedUpStatus = 'SOME';\n } else if (signedUpFansCount > 0 && notSignedUpFansCount === 0) {\n fanSignedUpStatus = 'ALL';\n } else {\n fanSignedUpStatus = 'NONE';\n }\n }\n return fanSignedUpStatus;\n }\n\n navigateToHome(){\n if(location.href.indexOf(\"selectstubid\") != -1){\n // logoutCurrentUser(false);\n alert(\"Please select a StubID to proceed.\");\n }else{\n this.router.navigate(['home']);\n }\n }\n\n loginFnDirect(){\n this.authenticationService.loginDirect('fnabc');\n }\n}\n\n","Header section\nSkip navigation\n
\n
\n
\n \n \n
\n \n \"FirstNet\"\n \n \n
\n \n \n \n \n \n
\n \n \n \n \n
\n
\n
\n \n \n
\n
\n
","import { EventEmitter, Injectable, Output } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { BehaviorSubject, Observable, Subject, throwError } from 'rxjs/';\nimport { HttpResponse, HttpHeaders } from '@angular/common/http';\nimport { HttpClientService } from 'lib/ng2-sapmp/src/providers/http-client.service';\nimport { UtilityService } from 'lib/ng2-sapmp/src/providers/utility.service';\nimport { AuthenticationService } from 'lib/ng2-sapmp/src/providers/authentication.service';\nimport { CMSResolver } from 'lib/ng2-sapmp/src/providers/cms.resolver';\nimport { Router } from '@angular/router';\n// import { BehaviorSubject } from 'rxjs/BehaviorSubject';\n\n\ndeclare var ENV_PORTAL;\ndeclare var logoutHeaderChange;\n\n@Injectable()\nexport class HeaderService {\n private pageStatus = new BehaviorSubject(false);\n public obvStep: Observable = this.pageStatus.asObservable(); // convert to Observable for subscribing\n\n private logoutHeaderChanges = new BehaviorSubject(false);\n public logoutHeaderChangesSteps: Observable = this.logoutHeaderChanges.asObservable();\n\n private hideMenu = new BehaviorSubject(false);\n public hideMenuSteps: Observable = this.hideMenu.asObservable();\n\n @Output() aClickedEvent = new EventEmitter();\n\n private subject = new Subject();\n\n private subjectEnroll = new BehaviorSubject(false);\n public subjectEnrollSteps: Observable = this.subjectEnroll.asObservable();\n\n private multiStubIdSubject = new BehaviorSubject(false);\n public multiStubIdSubjectSteps: Observable = this.multiStubIdSubject.asObservable();\n\n cartItem: any;\n triggerUrl: any;\n user;\n\n constructor(\n private utilityService: UtilityService,\n private router: Router,\n private httpClientService: HttpClientService,\n private cms: CMSResolver,\n private authenticationService: AuthenticationService,\n ) {\n document.addEventListener('logoutCurrentUser', this.logoutCurrentUser);\n document.addEventListener('toggleAlertMenu', this.toggleAlertMenu);\n\n AuthenticationService.User$.subscribe(u => {\n this.user = u;\n this.initUser();\n // if (!this.authenticationService.isLoggedIn()) u = undefined;\n\n });\n }\n sendClickEvent() {\n this.subject.next();\n }\n getClickEvent(): Observable {\n return this.subject.asObservable();\n }\n\n AClicked(msg: string) {\n this.aClickedEvent.emit(msg);\n }\n\n initUser() {\n let u = this.user;\n console.dir(u);\n // if(u != undefined){\n // if(u.userId == \"Unauthenticated\" || u.roles == \"Unknown\"){\n // u = undefined;\n // }\n // }\n if (u) {\n this.userLogin();\n this.setlogoutHeaderChanges(false);\n } else {\n this.setlogoutHeaderChanges(true);\n this.logoutUser();\n }\n }\n\n logoutCurrentUser(event) {\n let isConfirmPopup = event.isConfirmPopup;\n sessionStorage.clear();\n localStorage.clear();\n location.reload();\n HeaderService.logoutHeaderChange();\n if (isConfirmPopup) {\n localStorage.setItem('sapmp_isAutoLogout', 'TRUE');\n }\n AuthenticationService.logoutStatic();\n }\n\n pageContent(datakey) {\n return this.cms.updateCMS(datakey);\n }\n\n get_headers() {\n let headers = new HttpHeaders();\n headers = headers.append('Authorization', sessionStorage.getItem('sapmp_jwtToken'));\n return headers;\n }\n\n setCondensedFooterStatus(value: boolean) {\n this.pageStatus.next(value);\n }\n\n getCondensedFooterStatus(): Observable {\n return this.obvStep;\n }\n\n setlogoutHeaderChanges(value: boolean) {\n this.logoutHeaderChanges.next(value);\n }\n\n getlogoutHeaderChanges(): Observable {\n return this.logoutHeaderChangesSteps;\n }\n\n setHideMenu(value: boolean) {\n this.hideMenu.next(value);\n }\n\n getHideMenu(): Observable {\n return this.hideMenuSteps;\n }\n\n condensedHeader(pageName) {\n if (pageName === 'checkout') {\n document.getElementById('hamNav').style.display = 'none';\n document.getElementById('userProfileInfo').style.display = 'none';\n } else {\n // document.getElementById('hamNav').style.display = 'inline-block';\n document.getElementById('userProfileInfo').style.display = 'inline-block';\n }\n }\n userLogin() {\n var elements = >document.getElementsByClassName('loginBtn');\n for (var i = 0; i < elements.length; i++) {\n elements[i].style.display = \"none\";\n elements[i].setAttribute(\"tabindex\", \"-1\");\n }\n\n var elements = >document.getElementsByClassName('logoutBtn');\n for (var i = 0; i < elements.length; i++) {\n elements[i].style.display = \"inline-block\";\n elements[i].removeAttribute(\"tabindex\");\n }\n }\n\n\n logoutUser() {\n HeaderService.logoutHeaderChange();\n }\n static logoutHeaderChange() {\n var elements = >document.getElementsByClassName('logoutBtn');\n HeaderService.hideNotification();\n for (var i = 0; i < elements.length; i++) {\n elements[i].style.display = \"none\";\n elements[i].setAttribute(\"tabindex\", \"-1\");\n }\n\n var elements = >document.getElementsByClassName('loginBtn');\n for (var i = 0; i < elements.length; i++) {\n elements[i].style.display = \"inline-block\";\n elements[i].removeAttribute(\"tabindex\");\n }\n }\n static hideNotification() {\n var upi = document.getElementById('userProfileInfo');\n if (!upi) return;\n upi.classList.remove('show');\n document.body.classList.remove('d-open');\n var hideNotification = sessionStorage.getItem('hideNotifications');\n if (hideNotification && hideNotification != 'true') {\n if (document.getElementById('alert-widget').innerHTML && document.getElementById('alert-widget').innerHTML != '') {\n document.getElementById('alert-widget').setAttribute('style', 'display: inline');\n document.getElementById('icon-log-out').setAttribute('style', 'margin-right: -10px');\n }\n document.getElementById('icon-log-out').setAttribute('style', 'display: inline');\n document.getElementById('icon-close-log-out').setAttribute('style', 'display: none');\n }\n }\n\n toggleAlertMenu(elem) {\n var alertBanner = document.getElementsByClassName('alert-banner')[0];\n var userprofile = document.getElementsByClassName('user-profile')[0];\n var profile = document.getElementsByClassName('profile')[0];\n if (alertBanner) {\n alertBanner.setAttribute('style', 'display:none');\n }\n document.getElementById('alert-widget').setAttribute('style', 'display: none');\n document.getElementById('icon-log-out').setAttribute('style', 'display: none');\n document.getElementById('icon-close-log-out').setAttribute('style', 'display: inline');\n sessionStorage.setItem('hideNotifications', 'false');\n //elem.parentElement.classList.toggle('active');\n userprofile.classList.toggle('show');\n profile.classList.toggle('active');\n document.body.classList.toggle('d-open');\n //if (!elem.parentElement.classList.contains('active')) {\n if (!userprofile.classList.contains('show')) {\n HeaderService.hideNotification();\n } else {\n let element = document.querySelectorAll(\".logoutBtn\")[0];\n element.focus();\n }\n //checkUserLog();\n }\n logoutDeleteSession() {\n sessionStorage.removeItem('authToken');\n sessionStorage.removeItem('cart');\n sessionStorage.removeItem('sapmp_jwtToken');\n sessionStorage.removeItem('permissions');\n sessionStorage.removeItem('steps-checkout');\n sessionStorage.removeItem('steps-manageUsers');\n sessionStorage.removeItem('assign-wizard');\n sessionStorage.removeItem('user');\n sessionStorage.removeItem('hideNotifications');\n sessionStorage.removeItem('once');\n }\n\n sendEnrollClickEvent(value: boolean) {\n this.subjectEnroll.next(value);\n }\n getEnrollClickEvent(): Observable {\n return this.subjectEnrollSteps;\n }\n\n sendMenuHideEvent(value: boolean) {\n this.multiStubIdSubject.next(value);\n }\n getMenuHideEvent(): Observable {\n return this.multiStubIdSubjectSteps;\n }\n}\n","export * from './header.component';\nexport * from './header.service';","import { Component, Input, OnInit } from '@angular/core';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { HomeService } from './shared';\nimport { UserProfileModel } from 'lib/ng2-sapmp/src/models';\nimport { SliderModel, HOME_DATA } from './shared';\nimport { AuthenticationService, UtilityService, AdobeAnalyticsService, HttpClientService } from 'lib/ng2-sapmp/src/providers';\nimport { BreadCrumbModel, BreadCrumbService } from 'lib/ng2-sapmp/src/ui-components/breadcrumb';\nimport { HeaderService } from './../header/header.service';\nimport { WelcomeService } from './../welcome/welcome.service';\nimport { MDMDetails } from './../../models/product';\nimport { PageLoaderService } from 'lib/ng2-sapmp/src/ui-components/page-loader';\nimport { ADDP_PERMISSION_MAPPING, LOGIN_ERROR } from 'config';\nimport { HttpResponse } from '@angular/common/http';\nimport { Subscription } from 'rxjs';\nimport { ChipsService } from 'lib/ng2-sapmp/src/ui-components/chips/chips.service';\nimport {IndexedDbService} from '../../indexed-db.service';\n\ndeclare var ENV_VAR;\ndeclare var PREMIER_LOGIN_URL: any;\ndeclare var MYATT_LOGIN_URL: any;\ndeclare var FIRSTNET_LOCAL_CONTROL_URL: any;\ndeclare var ENV_PORTAL: any;\n@Component({\n selector: 'app-home',\n providers: [HomeService, WelcomeService, AdobeAnalyticsService, IndexedDbService],\n templateUrl: './home.component.html',\n styleUrls: ['./home.component.scss']\n})\nexport class HomeComponent implements OnInit {\n user: UserProfileModel;\n tagUrl: any;\n public pageNumber = 0;\n public pageCount = 0;\n public enableArrowKeys = true;\n public transitionDuration = 2000;\n public transitionInterval = 8000;\n public signUp: boolean;\n mdmDetails: MDMDetails;\n homePage: any;\n slider: SliderModel[];\n loginFlag: boolean;\n signUpStatus: any;\n landingPageRoute: string;\n breadCrumbs: BreadCrumbModel[];\n firstNetFlag: boolean = (ENV_PORTAL === 'fnabc') ? true : false;\n pageSlider: any;\n environment: boolean = (ENV_VAR !== 'prod') ? true : false;\n pageLoadChangesDone: boolean = false;\n showArrows = 'hidden';\n loginErrorMessage: string;\n redirectFlag: boolean = false;\n sendActiveCount = 0;\n public openTiles1: boolean = true;\n public closeTiles1: boolean = false;\n public openTiles2: boolean = true;\n public closeTiles2: boolean = false;\n public openTiles3: boolean = true;\n public closeTiles3: boolean = false;\n public openTiles4: boolean = true;\n public closeTiles4: boolean = false;\n public showP: boolean = false;\n public hideShortDesc1: boolean = true;\n public hideShortDesc2: boolean = true;\n public hideShortDesc3: boolean = true;\n public hideShortDesc4: boolean = true;\n public hideLearnMore1: boolean = false;\n public hideLearnMore2: boolean = false;\n public hideLearnMore3: boolean = false;\n public hideLearnMore4: boolean = false;\n public openLearnPage: boolean = false;\n public show5gTile: boolean = true;\n showProfileErrorModal: boolean = false;\n // @Input() aClickedEvent: string;\n public enrollStatusSubscription: Subscription;\n\n clickEventsubscription: Subscription;\n constructor(private route: ActivatedRoute, private router: Router, private authenticationService: AuthenticationService,\n private homeService: HomeService, private utilityService: UtilityService, private adobeAnalyticsService: AdobeAnalyticsService,\n private breadCrumbService: BreadCrumbService, private chips: ChipsService, private headerService: HeaderService, private pageloaderService: PageLoaderService, private dbService: IndexedDbService) {\n this.user = new UserProfileModel();\n this.homePage = HOME_DATA;\n this.loginFlag = false;\n this.mdmDetails = new MDMDetails();\n\n //get cookie if unauthenticated user clicked on enroll\n let isEnrollClicked = this.authenticationService.getCookie('enroll');\n let isLearnClicked = this.authenticationService.getCookie('productselection');\n if(isEnrollClicked || isLearnClicked){\n let d = new Date();\n d.setTime(d.getTime());\n let expires = \"expires=\" + d.toUTCString();\n document.cookie = \"enroll=true; \" + expires + \"; domain=.att.com; path=/\";\n document.cookie = \"productselection=true; \" + expires + \"; domain=.att.com; path=/\";\n this.headerService.sendEnrollClickEvent(true);\n }\n \n\n // if(localStorage.getItem(\"navigateFrom\") && localStorage.getItem(\"navigateFrom\") == \"enroll\"){\n // localStorage.removeItem(\"navigateFrom\");\n // this.headerService.sendEnrollClickEvent(true);\n // }\n// //2024 vulnerabilities- missing secure keyword in cookie\n// let missingCookies = [\n// {cookieName:\"aacState\", domain:\".att.com\"},\n// {cookieName:\"_4c_\", domain:\".att.com\"},\n// {cookieName:\"_uetsid\", domain:\".att.com\"}, \n// {cookieName: \"_gcl_au\", domain:\".att.com\"}, \n// {cookieName: \"mbox\", domain:\".att.com\"}, \n// {cookieName:\"_uetvid\", domain:\".att.com\"}, \n// {cookieName:\"_cs_mk\", domain:\".att.com\"}, \n// {cookieName:\"s_cc\", domain:\".att.com\"}, \n// {cookieName:\"at_check\", domain:\".att.com\"}, \n// {cookieName: \"PIM-SESSION-ID\", domain:\".att.com\"}, \n// {cookieName:\"fabrickId\", domain:\"test-dmp.wireless.att.com\"}, \n// {cookieName:\"e1Segment\", domain:\"test-dmp.wireless.att.com\"}, \n// {cookieName:\"bSegment\", domain:\"test-dmp.wireless.att.com\"},\n// {cookieName:\"tr264\", domain:\".att.com\"},\n// {cookieName: \"ORA_FPC\", domain:\".att.com\"},\n// {cookieName: \"mboxEdgeCluster\", domain: \".att.com\"},\n// {cookieName: \"dlomInfo\", domain: \".att.com\"},\n// {cookieName: \"bAuthNState\", domain: \".att.com\"},\n// {cookieName: \"dlomInfoB\", domain: \".att.com\"}\n// // {cookieName: \"targetURL\", domain: \".att.com\"}\n// ];\n\n// missingCookies.forEach((el)=> {\n// document.cookie = el.cookieName+\"=;expires=\"+new Date(0).toUTCString()+\";domain=\"+el.domain+\";path=/\";\n// })\n\n \n// const promise = new Promise((resolve, reject) => {\n// let missingData = missingCookies.map((elm) => {\n// if(splittedCookies.findIndex(el => el.indexOf(elm.cookieName)!= -1) != -1){\n// elm.cookieName = splittedCookies[splittedCookies.findIndex(el => el.indexOf(elm.cookieName)!= -1)];\n// }\n// return elm;\n// });\n// resolve(missingCookies);\n// }).then(result => {\n// // Handle successful result\n// missingCookies.forEach((val) => {\n// document.cookie = val.cookieName+\";expires=\"+val.expires+\";domain=\"+val.domain+\";path=/;secure\";\n// })\n// }).catch(error => {\n// // Handle error\n// console.log(\"error===>\", error);\n// });\n\n// console.log(\"missingCookies==>\", missingCookies);\n }\n\n ngOnInit() {\n // console.log(this.aClickedEvent);\n this.headerService.setCondensedFooterStatus(false);\n this.authenticationService.setLoginSuccessUrl(this.router.routerState.snapshot.url);\n this.pageSlider = this.utilityService.getEnvConfig().homePageCms;\n this.breadCrumbService.removeBreadCrumbs();\n document.title = this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url];\n this.landingPageRoute = this.authenticationService.getLandingPageRoute();\n if (this.router.url == '/home') {\n this.chips.setChips(undefined);\n this.breadCrumbService.setCurrentBreadCrumb(undefined);\n }\n //code for login error banner\n const status = localStorage.getItem('loginFail');\n if (status) {\n localStorage.removeItem('loginFail');\n this.loginErrorMessage = (LOGIN_ERROR[status]) ?\n LOGIN_ERROR[status] :\n LOGIN_ERROR['403'];\n // (document.getElementById('newLogoutBtn') as HTMLButtonElement).click();\n }\n \n this.homeService.getSlider(this.pageSlider)\n .subscribe((respobj) => {\n this.homePage = respobj;\n this.pageCount = respobj.slider.length;\n }, error => {\n this.handleError(error);\n });\n this.homeService.createPageLoadProperties();\n\n if(ENV_PORTAL === \"fnabc\" || ENV_PORTAL === \"myatt\") { \n this.show5gTile = false;\n }\n //logic for show/hide register menu on 1st time after login\n let noOfFans = sessionStorage.getItem('user') ? JSON.parse(sessionStorage.getItem('user')).user.fanList : 0;\n console.log(\"noOfFANs===>\", JSON.parse(sessionStorage.getItem('user')).user.fanList);\n let fanInfoList = sessionStorage.getItem('fanInfoList') ? JSON.parse(sessionStorage.getItem('fanInfoList')) : [];\n if(noOfFans != 0 && fanInfoList.length > 0) {\n this.authenticationService.updateEnrollStatus({noOfFans: noOfFans.length, fanInfoList: fanInfoList});\n }\n }\n\n ngAfterViewInit(){\n this.dbService.getDb().then(db => {\n this.dbService.clearData('devices').then(() => {\n console.log('Data cleared');\n }).catch(error => {\n console.log('Error clearing data', error);\n });\n });\n }\n\n ngAfterViewChecked() {\n if (sessionStorage.getItem('iv-user') && this.sendActiveCount === 0) {\n const ivuser = sessionStorage.getItem('iv-user');\n this.sendActiveCount++\n let fanSessionData = {\n sessionID: sessionStorage.getItem('sessionId'),\n fan: \"\",\n };\n let signupActiveFanList = JSON.parse(sessionStorage.getItem('signupActiveFanList'));\n signupActiveFanList = signupActiveFanList?.filter((item, index) => {\n return signupActiveFanList.indexOf(item) === index;\n });\n for (let i = 0; i < signupActiveFanList?.length; i++) {\n fanSessionData.fan = signupActiveFanList[i];\n this.homeService.triggerActiveFans(fanSessionData)\n .subscribe((resp) => {\n }, error => {\n this.handleError(error);\n });;\n }\n }\n if (!this.pageLoadChangesDone && document.getElementById('userProfileInfo')) {\n this.headerService.condensedHeader('home');\n this.pageLoadChangesDone = true;\n }\n }\n\n getrKey(url) {\n let rkey;\n if (this.firstNetFlag) {\n const loginSuccessUrl = this.authenticationService.getLoginSuccessUrl();\n rkey = loginSuccessUrl ? loginSuccessUrl : 'home';\n window.location.href = url + rkey;\n } else {\n window.location.href = url;\n }\n }\n handleError(error) {\n throw error;\n }\n\n expandCollapseTiles1(id) {\n if (id === \"show\") {\n this.openTiles1 = false;\n this.closeTiles1 = true;\n this.hideShortDesc1 = false;\n this.hideLearnMore1 = true;\n\n } else if (id === \"hide\") {\n this.openTiles1 = true;\n this.closeTiles1 = false;\n this.hideShortDesc1 = true;\n this.hideLearnMore1 = false;\n }\n }\n\n expandCollapseTiles2(id) {\n if (id === \"show\") {\n this.openTiles2 = false;\n this.closeTiles2 = true;\n this.hideShortDesc2 = false;\n this.hideLearnMore2 = true;\n\n } else if (id === \"hide\") {\n this.openTiles2 = true;\n this.closeTiles2 = false;\n this.hideShortDesc2 = true;\n this.hideLearnMore2 = false;\n }\n }\n\n expandCollapseTiles3(id) {\n if (id === \"show\") {\n this.openTiles3 = false;\n this.closeTiles3 = true;\n this.hideShortDesc3 = false;\n this.hideLearnMore3 = true;\n\n } else if (id === \"hide\") {\n this.openTiles3 = true;\n this.closeTiles3 = false;\n this.hideShortDesc3 = true;\n this.hideLearnMore3 = false;\n\n }\n }\n\n expandCollapseTiles4(id) {\n if (id === \"show\") {\n this.openTiles4 = false;\n this.closeTiles4 = true;\n this.hideShortDesc4 = false;\n this.hideLearnMore4 = true;\n\n } else if (id === \"hide\") {\n this.openTiles4 = true;\n this.closeTiles4 = false;\n this.hideShortDesc4 = true;\n this.hideLearnMore4 = false;\n\n }\n }\n\n checkSlider(buttonLink, title) {\n if (buttonLink.startsWith('http')) {\n this.adobeAnalyticsService.createClickProperties('Learn more about ' + title, 'Body', buttonLink);\n window.open(buttonLink);\n }\n else {\n this.adobeAnalyticsService.createClickProperties('Learn more about ' + title, 'Body', '/businessconsole' + buttonLink);\n return this.router.navigate([buttonLink]);\n }\n }\n\n navigateDeviceAndShop() {\n let processingFans = JSON.parse(sessionStorage.getItem('processingFanList'));\n let processingFansCount = JSON.parse(sessionStorage.getItem('processingFanList')) ? processingFans.length : 0;\n if (sessionStorage.getItem('sapmp_jwtToken') === null) {\n sessionStorage.setItem('eligibilityCheck', 'true');\n this.landingPageRoute = this.homePage.slider[2].buttonLink;\n console.log(\"landing page details: \" + this.landingPageRoute);\n this.adobeAnalyticsService.createClickProperties(this.homePage.links[0].linkName, 'Body', '/businessconsole' + this.landingPageRoute);\n return this.router.navigate([this.landingPageRoute]);\n }\n this.user = this.authenticationService.getUser();\n if (this.user.addpAuthority !== 'NONE') {\n this.authenticationService.getFanSignedUpStatus()\n .subscribe(resp => {\n sessionStorage.setItem('initialSignupStatus', resp.initialSignupStatus);\n sessionStorage.setItem('noOfDevice', resp.noOfDevices);\n if (resp.fansSummary.length > 0) {\n let signupFanSum = resp.fansSummary;\n let signupFanList = [];\n let signupActiveFanList = [];\n let processingFanList = [];\n let inProgressFan = [];\n for (let i = 0; i < signupFanSum.length; i++) {\n if (signupFanSum[i].status == \"AWAITING_SIGNUP\") {\n for (let j = 0; j < signupFanSum[i].count; j++) {\n signupFanList.push(signupFanSum[i].fans[j]);\n }\n }\n }\n sessionStorage.setItem('signupFanList', JSON.stringify(signupFanList));\n\n //get active fans list\n for (let i = 0; i < signupFanSum.length; i++) {\n if (signupFanSum[i].status == \"ACTIVE\") {\n for (let j = 0; j < signupFanSum[i].count; j++) {\n signupActiveFanList.push(signupFanSum[i].fans[j]);\n }\n }\n }\n sessionStorage.setItem('signupActiveFanList', JSON.stringify(signupActiveFanList));\n //for 'processing' fans\n for (let i = 0; i < signupFanSum.length; i++) {\n if (signupFanSum[i].status == \"PROCESSING\") {\n for (let j = 0; j < signupFanSum[i].count; j++) {\n //processingFanList.push(signupFanSum[i].fans[j]);\n inProgressFan.push(signupFanSum[i].fans[j]);\n //getting fan info of 'processing' fan to store in session storage\n for (let k = 0; k < resp.fanInfoList.length; k++) {\n if (signupFanSum[i].fans[j] === resp.fanInfoList[k].fan) {\n processingFanList.push(resp.fanInfoList[k]);\n }\n }\n }\n }\n }\n sessionStorage.setItem('inProgressFan', JSON.stringify(inProgressFan));\n sessionStorage.setItem('processingFanList', JSON.stringify(processingFanList));\n }\n if (!resp.efotaFansSummary) {\n sessionStorage.setItem('efotaEnrolledFanList', '[]');\n }\n else {\n let efotaFansSum = resp.efotaFansSummary;\n let efotaEnrolledFanList = [];\n for (let i = 0; i < efotaFansSum.length; i++) {\n if (efotaFansSum[i].status == \"ACTIVE\") {\n for (let j = 0; j < efotaFansSum[i].count; j++) {\n efotaEnrolledFanList.push(efotaFansSum[i].fans[j]);\n }\n }\n }\n sessionStorage.setItem('efotaEnrolledFanList', JSON.stringify(efotaEnrolledFanList));\n }\n if (!resp.efotaNotEnrolledFanList) {\n sessionStorage.setItem('efotaNotEnrolledFanList', '[]');\n sessionStorage.setItem('efotaEnrollmentInfo', '[]');\n }\n else {\n sessionStorage.setItem('efotaEnrollmentInfo', JSON.stringify(resp.efotaEnrollmentInfo));\n sessionStorage.setItem('efotaNotEnrolledFanList', JSON.stringify(resp.efotaNotEnrolledFanList));\n }\n\n if (resp.allFansInEligible === true) {\n this.user.fanSignedUpStatus = 'NotEligible';\n } else {\n if (this.user) {\n this.user.fanSignedUpStatus = this.getFanSignedUpStatus(resp.fansSummary);\n }\n if (resp.productCode !== null && resp.productCode !== undefined) {\n this.mdmDetails.productCode = resp.productCode;\n this.mdmDetails.latestAccountType = resp.recentlyEnrolledProduct;\n if (this.mdmDetails.productCode === 'ADDPMDM') {\n this.mdmDetails.ibmEmmAccountId = resp.ibmEmmAccountId;\n let productDetails = { emmProductCode: '', selectedAccID: '', signupEmmStatus: '' };\n productDetails.emmProductCode = 'ADDPMDM';\n productDetails.selectedAccID = resp.ibmEmmAccountId;\n productDetails.signupEmmStatus = 'revised';\n sessionStorage.setItem('manage-product', JSON.stringify(productDetails));\n } else {\n if (resp.googleEmmAccountId !== null && resp.googleEmmAccountId !== undefined) {\n this.mdmDetails.googleEmmAccountId = resp.googleEmmAccountId;\n }\n if (resp.samsungEmmAccountId !== null && resp.samsungEmmAccountId !== undefined) {\n this.mdmDetails.samsungEmmAccountId = resp.samsungEmmAccountId;\n }\n if (resp.fanInfoList !== null && resp.fanInfoList !== undefined) {\n sessionStorage.setItem('fanInfoList', JSON.stringify(resp.fanInfoList));\n }\n }\n sessionStorage.setItem('mdmDetails', JSON.stringify(this.mdmDetails));\n }\n }\n this.authenticationService.setUser(this.user);\n\n let checkMore = true;\n let directWelcome = false;\n if (resp.fansSummary) {\n for (let k = 0; k < resp.fansSummary.length; k++) {\n if (resp.fansSummary[k].status === \"AWAITING_SIGNUP\" && resp.fansSummary[k].count > 0) {\n this.redirectFlag = true;\n checkMore = false;\n if (resp.fansSummary[k].count === resp.noOfFans) {\n directWelcome = true;\n }\n }\n }\n }\n\n if (resp.fanInfoList) {\n let fanArr = resp.fanInfoList.map((x) => x.fan);\n let fanArrRefine = [];\n if (fanArr && fanArr.length > 0) {\n fanArrRefine = fanArr.filter(\n (x, index) => fanArr.indexOf(x) === index\n );\n }\n\n let activeFanArr = resp.fanInfoList.filter((x) => x.accountStatus === \"ACTIVE\" || x.accountStatus === \"SIGNUP_INPROGRESS\");\n if (activeFanArr.length === 0) {\n directWelcome = true;\n }\n\n if (activeFanArr.length < fanArrRefine.length * 2) {\n this.redirectFlag = true;\n }\n }\n\n if (directWelcome === true) {\n this.router.navigate(['/welcome']);\n } else if (((this.homePage.links[0].rlink === '/learn') && (processingFansCount >= 1)) || this.redirectFlag) {\n this.router.navigate(['/productselection']);\n } else {\n return this.navigationRedirect(this.homePage.links[0].linkName);\n }\n }, () => {\n this.user.fanSignedUpStatus = 'Error';\n this.authenticationService.setUser(this.user);\n return this.navigationRedirect(this.homePage.links[0].linkName);\n });\n } else {\n return this.navigationRedirect(this.homePage.links[0].linkName);\n }\n }\n\n navigateManage() {\n this.adobeAnalyticsService.createClickProperties(this.homePage.links[1].linkName, 'Body', '/businessconsole/' + this.homePage.links[1].rlink);\n }\n\n navigateManageInventory() {\n this.adobeAnalyticsService.createClickProperties(this.homePage.links[2].linkName, 'Body', '/businessconsole/' + this.homePage.links[2].rlink);\n }\n\n navigationRedirect(inputLinkName) {\n const roleFanStaus = this.user.addpAuthority + '_' + this.user.fanSignedUpStatus;\n const redirectInfo = ADDP_PERMISSION_MAPPING[roleFanStaus];\n\n if (redirectInfo && this.mdmDetails.productCode === 'ADDPMDM' && redirectInfo.logonurl === 'productselection') {\n redirectInfo.logonurl = 'signup';\n this.authenticationService.setLandingPageRoute('/' + redirectInfo.logonurl);\n } else if (redirectInfo) {\n this.authenticationService.setLandingPageRoute('/' + redirectInfo.logonurl);\n }\n this.adobeAnalyticsService.createClickProperties(inputLinkName, 'Body', '/businessconsole' + this.landingPageRoute);\n this.landingPageRoute = this.authenticationService.getLandingPageRoute();\n this.router.navigate([this.landingPageRoute]);\n }\n\n getFanSignedUpStatus(fansSummary) {\n let fanSignedUpStatus = 'NONE';\n if (fansSummary) {\n const signedUpFansCount = fansSummary.\n filter((f) => { return f.status === 'ACTIVE' || f.status === 'READY_TO_SETUP'; }).length;\n const notSignedUpFansCount = fansSummary.\n filter((f) => { return f.status === 'AWAITING_SIGNUP'; }).length;\n const abmfePendingSignedUpFansCount = fansSummary.\n filter((f) => { return f.status === 'PROCESSING' || f.status === 'SIGNUP_INPROGRESS' }).length;\n if (abmfePendingSignedUpFansCount > 0) {\n fanSignedUpStatus = 'PROCESSING';\n }\n if (signedUpFansCount > 0 && notSignedUpFansCount > 0) {\n fanSignedUpStatus = 'SOME';\n } else if (signedUpFansCount > 0 && notSignedUpFansCount === 0) {\n fanSignedUpStatus = 'ALL';\n } else {\n fanSignedUpStatus = 'NONE';\n }\n }\n return fanSignedUpStatus;\n }\n\n handleLoginError() {\n /** need to handle error scenarios */\n this.pageloaderService.setPageLoaderStatus(true);\n this.router.navigate(['errorPage', 'loginFailure']);\n };\n\n closeOverviewModal(){\n this.showProfileErrorModal = false;\n }\n\n}\n","\n
\n \n
\n
\n
\n \n
\n
\n

Login Error

\n

{{loginErrorMessage}}

\n
\n
\n
\n
\n\n
\n \n \"abmHomeBanner\"\n \n
\n\n
\n \n
\n \"{{page.title}}\"\n \"{{homePage?.colorImage}}\"\n\n \"{{page.title}}\"\n \"{{homePage?.colorImage}}\"\n\n
\n
\n
\n
\n
{{page.eyeBrowText}}
\n

\n

\n {{homePage?.slider[0]?.shortDescription1}}

\n

\n {{homePage?.slider[0]?.shortDescription2}}

\n

\n {{homePage?.slider[0]?.shortDescription2}}

\n \n {{homePage?.slider[0]?.actionLabelNew}}\n \n
\n
\n
\n
\n
\n
\n \n\n \n \n \n \n\n \n\n \n\n \n \n \n \n \n\n \n \n \n \n \n\n \n \n \n \n \n\n \n\n
\n \n \n \n \n
\n \n
\n\n \n \n \n \n
\n \n
\n\n \n \n \n
\n \n \n
\n
\n \n\n \n \n \n
\n \n \n

{{homePage.benefitsection && homePage.benefitsection.header}}

\n
\n
\n
\n
\n
\n
\n \n

{{homePage.benefitsection && homePage.benefitsection.header}}

\n
\n
\n
\n
\n
\n \"{{homePage.benefitsection.imagealt}}\"\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n\n \n\n \n
\n
\n
\n
\n

\n
\n
\n
\n
\n\n
\n
\n
\n
\n

\n
\n
\n

\n
\n
\n

\n
\n
\n
\n
\n
\n\n\n\n","export * from './home.component';\nexport * from './shared';\n","export * from './providers';\nexport * from './model';\n","export class BenefitSectionModel {\n header: number;\n shortDesc: string;\n longDesc: string;\n linkDesc: string;\n image: string;\n shopLinkName: string;\n manageLinkName: string;\n\n constructor() {\n this.header = undefined;\n this.shortDesc = undefined;\n this.longDesc = undefined;\n this.linkDesc = undefined;\n this.image = undefined;\n this.shopLinkName = undefined;\n this.manageLinkName = undefined;\n }\n}\n","import {LoginSectionModel} from './login-section.model';\nimport {BenefitSectionModel} from './benefit-section.model';\nimport {SliderModel} from './slider.model';\nimport { LinksModel } from './links.model';\n\nexport class HomeModel {\n tncLink: string;\n loginsection: LoginSectionModel;\n benefitsection: BenefitSectionModel;\n slider: SliderModel[];\n links: LinksModel [];\n\nconstructor() {\n this.loginsection = undefined;\n this.benefitsection = undefined;\n this.slider = undefined;\n this.links = undefined;\n }\n}\n// Defining a homeData constant to initialize the HomePage Model to avoid console errors while loading the page\nexport const HOME_DATA = {\n \"tncLink\": \"\",\n \"loginsection\": {\n \"desc1\": \"\",\n \"desc2\": \"\",\n \"contact\": \"\",\n \"contact_tty\": \"\",\n \"contact_fn\": \"\",\n \"desc2_fn\": \"\",\n \"login_desc1\": \"\",\n \"login_desc2\": \"\",\n \"button_name\": \"\",\n \"button_link\": \"\"\n },\n \"benefitsection\": {\n \"header\": \"\",\n \"desc\": \"\",\n \"linkDesc\": \"\",\n \"image\": \"\",\n \"shopLinkName\" : \"\",\n \"manageLinkName\" : \"\",\n },\n \"slider\": [\n {\n \"title\": \"\",\n \"color\": \"\",\n \"image\": \"\",\n \"smallImage\": \"\",\n \"shortDescription\": \"\",\n \"descFlag\": true,\n \"legalTxt\": \"\",\n \"subLink\": \"\",\n \"buttonFlag\": true,\n \"buttonLink\": \"\",\n \"eyeBrowText\":\"\",\n \"captionBg\": false,\n \"actionLabel\": \"\",\n }\n ],\n \"links\": [\n {\n \"image\" : \"\",\n \"rlink\" : \"\",\n \"title\" : \"\",\n \"linkName\" : \"\",\n },\n ]\n }\n","export * from './slider.model';\nexport * from './home.model';\nexport * from './benefit-section.model';\nexport * from './login-section.model';\nexport * from './links.model';\n","export interface LinksModel {\n image: string;\n rlink: string;\n title: string;\n linkName: string;\n}","export class LoginSectionModel {\n desc1: number;\n desc2: string;\n contact: string;\n contact_tty: string;\n button_name: string;\n button_link: string;\n button_link_test: string;\n\n constructor() {\n this.desc1 = undefined;\n this.desc2 = undefined;\n this.contact = undefined;\n this.contact_tty = undefined;\n this.button_name = undefined;\n this.button_link = undefined;\n this.button_link_test = undefined;\n }\n}\n","export class SliderModel {\n title: number;\n color: string;\n image: string;\n smallImage: string;\n shortDescription: string;\n subLink: string;\n descFlag: boolean;\n buttonFlag: boolean;\n buttonAccessibilityText: string;\n eyeBrowText: string;\n captionBg: boolean;\n captionWhite: boolean;\n actionLabel: string;\n\n constructor() {\n this.title = undefined;\n this.color = undefined;\n this.image = undefined;\n this.smallImage = undefined;\n this.shortDescription = undefined;\n this.subLink = undefined;\n this.descFlag = undefined;\n this.buttonFlag = undefined;\n this.buttonAccessibilityText = undefined;\n this.captionWhite = undefined;\n this.actionLabel = undefined;\n }\n}\n","import { Injectable } from '@angular/core';\nimport { map, catchError, timeout,retry } from 'rxjs/operators';\nimport { HttpResponse, HttpHeaders, HttpErrorResponse, HttpParams, HttpClient } from '@angular/common/http';\n\n\n\n\nimport { throwError } from 'rxjs';\n\n\n\nimport { HttpClientService, AdobeAnalyticsService, UtilityService } from 'lib/ng2-sapmp/src/providers';\nimport { ANALYTICS_CONSTANTS } from 'config';\ndeclare var ENV_PORTAL;\n@Injectable()\nexport class HomeService {\n\n constructor(private http: HttpClient, private httpClientService: HttpClientService,\n private utilityService: UtilityService, private adobeAnalyticsService: AdobeAnalyticsService) { }\n\n getSlider(sliderUrl) {\n return this.httpClientService.get(sliderUrl)\n .pipe(\n map((res: HttpResponse) => {\n if (sessionStorage.getItem('sapmp_jwtToken') != null) {\n // refreshes token for logged in scenario upon page load\n this.httpClientService.tokenRefresh(this.utilityService.getEnvConfig().tokenRefresh);\n }\n return res.body;\n })\n ,catchError( this.handleError ));\n }\n\n handleError = (error) => {\n return throwError(error);\n }\n\n triggerActiveFans(data) {\n\n let headers = new HttpHeaders();\n headers = headers.append('Authorization', sessionStorage.getItem('sapmp_jwtToken'));\n // headers = headers.append('iv-user', sessionStorage.getItem('iv-user'));\n\n let url;\n url = this.utilityService.getEnvConfig().triggerActiveFans;\n\n return this.httpClientService.post(url, data, headers).pipe( \n timeout(300000),\n retry(3),\n map((test: HttpResponse) => {\n if (sessionStorage.getItem('sapmp_jwtToken') != null) {\n // refreshes token for logged in scenario upon page load\n this.httpClientService.tokenRefresh(this.utilityService.getEnvConfig().tokenRefresh);\n }\n return test.body;\n }),\n catchError(this.handleError));\n\n }\n\n createPageLoadProperties() {\n const dataLayer = {};\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FRIENDLY_PAGE_NAME] = ANALYTICS_CONSTANTS.FRIENDLY_NAME_HOME;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FLOW_CODE] = ANALYTICS_CONSTANTS.FLOW_CODE_HOME;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_LANGUAGE] = ANALYTICS_CONSTANTS.BC_LANGUAGE_EN;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_PAGE_FUNCTION] = ANALYTICS_CONSTANTS.FRIENDLY_NAME_HOME.replace('BC ', '').replace(' Pg', '');\n if (sessionStorage.getItem('sapmp_jwtToken') != null) {\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_LOGIN_SOURCE] = 'home';\n }\n this.adobeAnalyticsService.tag('page', dataLayer, 'Page_Load', 'pageLoad');\n }\n}\n\n","export * from './home.service';\n","import { Component, OnInit, ViewChild, ElementRef, HostListener, EventEmitter, AfterViewInit, ChangeDetectorRef, ViewEncapsulation} from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { BREADCRUMBS } from 'config';\nimport { Router } from '@angular/router';\nimport { AuthenticationService, ValidationService, UtilityService, AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';\nimport { BreadCrumbModel, BreadCrumbService } from 'lib/ng2-sapmp/src/ui-components/breadcrumb';\nimport { CustomgridComponent } from 'lib/ng2-sapmp/src/ui-components/custom-grid';\nimport { AccordionComponent, AccordionListComponent } from 'lib/ng2-sapmp/src/ui-components/accordion';\nimport { InitialService } from './initial-signup.service';\nimport { InitialSignupModel, MdmDetails } from './initial-signup.modal';\n\nimport { PageLoaderService } from 'lib/ng2-sapmp/src/ui-components/page-loader';\nimport { FormConfigurationModel, FormPropertyModel } from 'lib/ng2-sapmp/src/ui-components/form-builder';\nimport { FormBuilderService } from 'lib/ng2-sapmp/src/ui-components/form-builder/form-builder.service';\nimport { FormBuilder, FormControl, FormGroup, Validators, ReactiveFormsModule } from '@angular/forms';\nimport { MobilePivotModel } from 'lib/ng2-sapmp/src/ui-components/mobile-pivot/mobile-pivot.model';\nimport { TERMSCONDITIONS } from 'config';\nimport { ConfirmModalPopupModel } from 'lib/ng2-sapmp/src/ui-components/confirm-modal';\n\ndeclare var logoutCurrentUser: any;\nexport const ESCAPE_KEY = 27;\n\n@Component({\n selector: 'app-initial-signup',\n providers: [ValidationService, InitialService, FormBuilderService],\n templateUrl: './initial-signup.component.html',\n styleUrls: ['./initial-signup.component.scss'],\n encapsulation: ViewEncapsulation.None \n})\nexport class InitialSignupComponent implements OnInit {\n header: string;\n isDataAvailable: boolean;\n initModal: boolean;\n showOverviewModal: boolean;\n permissionLevelMessage: string;\n eventEmit: any;\n modalClass: string;\n focusabbleElements: any;\n faqDetails: any;\n helpArticles: any;\n isMobile: boolean;\n errorMessage: any;\n signUpStatus: any;\n initialModel: InitialSignupModel;\n mdmDetails: MdmDetails;\n\n tcUrl: any;\n //tcUrlIbm: any;\n staticTcUrl: any;\n legalIbm: boolean;\n legalZtp: boolean;\n legalKme: boolean;\n userSelection: any; // UserSelectionModel\n selectMdm: FormGroup;\n errorMsg = '';\n breadCrumbs: BreadCrumbModel[];\n previousRoute: any;\n pivots: Array;\n csrPermissionSignUpButton: boolean;\n showGoogleCreationError: any;\n setupError = false;\n numericSearch: boolean;\n selectedMdmDetails: any;\n selectedAccID: any;\n emmProductCode: any;\n preSelectedMdmselect: any;\n preSelectedMdmDetail: any;\n preSelectedMdm = false;\n preSelectedMdmIbm = false;\n pereSelGoogleValue: any;\n googleValue: any;\n samsungValue: any;\n isSamsungDisable = false;\n isGoogleDisable = false;\n selectedRadio: boolean;\n //selectedRadioIBM: boolean;\n selectedRadioGoogle: boolean;\n selectedRadioSamsung: boolean;\n userDetail: any; // for demo purpose till the backend service is ready.\n productSignupStatus: any;\n otherProductsSelection: any;\n parentemmAccountId: any;\n childemmAccountId: any;\n selectedDetails: any;\n selectedDetailsKme: any;\n signupEmmStatus: any;\n selectedValuesSession: any;\n tncUrl: string;\n manageProduct: any;\n sessionMdmDetails: any;\n preSelectedEmm: any;\n fanProductData: any;\n callSamsung: boolean = true;\n productSelectionStatus: any; // can be any of these 3 newSetupFanList ,revisedFanList ,awaitingSignupFanList\n showZTPProductInfoModal: boolean = false;\n showKMEProductInfoModal: boolean = false;\n confirmModalPopup: ConfirmModalPopupModel;\n public : ConfirmModalPopupModel;\n public showZTPProductInfoPopup: ConfirmModalPopupModel;\n public showKMEProductInfoPopup: ConfirmModalPopupModel;\n\n // till the back and service is ready we wil be mocking the data\n\n // setValue() { this.MdmSelection = 'true'; }\n @ViewChild('accessModal') accessModal: ElementRef;\n\n modelSelection = { MdmSelectionOptions: 'Google' };\n formErrors = {\n 'googleIdName': '',\n 'samsungIdName': '',\n 'googleId': '',\n 'samsungId': '',\n 'MdmSelection': ''\n };\n\n validationMessages = {\n 'googleIdName': {\n 'required': 'Enter a valid email address',\n 'pattern': 'Enter a valid email address or Google ID'\n },\n 'samsungIdName': {\n 'required': 'Samsung ID is required.',\n 'pattern': 'Please enter a valid Samsung ID.'\n }\n };\n @HostListener('window:resize', ['$event'])\n onResize(event) {\n this.mobileView();\n }\n\n constructor(private cd: ChangeDetectorRef, private utilityService: UtilityService, private router: Router,\n private InitialService: InitialService, private authenticationService:\n AuthenticationService, private breadCrumbService: BreadCrumbService, private el: ElementRef,\n private formBuilder: FormBuilder, private validationService: ValidationService,\n private pageloaderService: PageLoaderService, private adobeAnalyticsService: AdobeAnalyticsService) {\n this.mdmDetails = new MdmDetails();\n this.isDataAvailable = false;\n this.faqDetails = [];\n this.numericSearch = true;\n this.selectedValuesSession = sessionStorage.getItem('savedSelectedDetails');\n this.manageProduct = sessionStorage.getItem('manage-product');\n this.selectedValuesSession = JSON.parse(this.selectedValuesSession);\n this.manageProduct = JSON.parse(this.manageProduct);\n this.sessionMdmDetails = JSON.parse(sessionStorage.getItem('mdmDetails'));\n }\n\n ngOnInit() {\n // document.title = 'Product selection';\n \n document.title = this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url];\n this.breadCrumbService.setStaticBreadCrumbs(this.router.routerState.snapshot.url);\n this.breadCrumbService.setCurrentBreadCrumb({ label: 'Product selection', routerLink: '/productselection' });\n this.helpArticles = [{ id: 1, isActive: !this.isMobile, category: 'Help', content: '' }];\n this.InitialService.getInitialDetails().subscribe(response => {\n this.initialModel = response;\n this.initialModel.KmeId = response.productSelection.KmeId;\n this.initialModel.ZtpId = response.productSelection.ZtpId;\n this.isDataAvailable = true;\n this.showZTPProductInfoPopup = new ConfirmModalPopupModel();\n \n this.showZTPProductInfoPopup.modalHeader = response.productSelection.ztpSupportArticleHeader; //'Samsung Knox Mobile Enrollment';\n this.showZTPProductInfoPopup.modalMessage = response.productSelection.ztpSupportArticleMessage; //'Samsung Message';\n this.showZTPProductInfoPopup.showCancelButton = false;\n this.showKMEProductInfoPopup = new ConfirmModalPopupModel();\n this.showKMEProductInfoPopup.modalHeader = response.productSelection.kmeSupportArticleHeader; //'Android zero-touch ';\n this.showKMEProductInfoPopup.modalMessage = response.productSelection.kmeSupportArticleMessage; //'Android Message';\n this.showKMEProductInfoPopup.showCancelButton = false;\n });\n this.staticTcUrl = TERMSCONDITIONS.URL.commonUrl;\n this.tcUrl = TERMSCONDITIONS.URL.addpmdmUrl;\n //this.tcUrlIbm = TERMSCONDITIONS.URL.commonUrl3;\n this.legalZtp = true;\n this.legalKme = true;\n this.legalIbm = false;\n // this.errorMessage = false;\n this.buildForm();\n this.signUpStatus = '';\n }\n\n ngAfterViewChecked(){ \n if( this.isDataAvailable && document.getElementById('sId') ){\n this.isDataAvailable = false;\n if (this.selectedValuesSession === null && this.sessionMdmDetails === null) {\n this.initialProductSelectionDetails();\n //document.getElementById('ibmId').click();\n } else if (this.selectedValuesSession === null && this.sessionMdmDetails) { \n this.preSelectProductDetails();\n } else { \n this.checkPermission('google');\n this.checkPermission('samsung');\n this.googleValue = this.selectedValuesSession.enteredGoogleValue;\n this.signupEmmStatus = 'initial';\n if (this.selectedValuesSession.selectedSamsungValue !== null && this.selectedValuesSession.selectedSamsungValue !== '') { \n this.selectedDetailsKme = this.selectedValuesSession.selectedSamsungValue;\n }\n document.getElementById('gId').click();\n }\n if( this.sessionMdmDetails.samsungEmmAccountId ){\n this.callSamsung = false; \n }\n }\n }\n\n initialProductSelectionDetails() {\n this.mdmDetails.emmProductCode = '';\n this.mdmDetails.signupStatus = 'initial';\n this.mdmDetails.emmAccountId = '';\n this.mdmDetails.otherProducts[0] = { 'emmProductCode': '', 'signupStatus': '', 'emmAccountId': '' };\n this.userDetail = this.mdmDetails;\n this.setupError = false;\n this.signupEmmStatus = 'initial';\n this.preSelectedMdmselect = '';\n this.productSelectionStatus = '';\n this.preSelectedMdmDetail = this.preSelectedMdmselect;\n this.productSignupStatus = this.productSelectionStatus;\n this.parentemmAccountId = '';\n this.otherProductsSelection = '';\n this.childemmAccountId = '';\n this.checkPermission('google');\n this.checkPermission('samsung');\n }\n preSelectProductDetails() {\n const sessionData = JSON.parse(sessionStorage.getItem('mdmDetails'));\n if (sessionData) {\n if (sessionData.productCode !== 'ADDPMDM') {\n if (sessionData.samsungEmmAccountId && sessionData.googleEmmAccountId) {\n // Mix ZTE\n // Google - User 3\n this.callSamsung = false;\n if (sessionData.latestAccountType === 'DMPGZTP') {\n this.mdmDetails.emmProductCode = 'DMPGZTP';\n this.mdmDetails.signupStatus = 'revised';\n this.mdmDetails.emmAccountId = sessionData.googleEmmAccountId;\n this.mdmDetails.otherProducts[0] = { 'emmProductCode': 'DMPSKME', 'signupStatus': 'revised', \n 'emmAccountId': sessionData.samsungEmmAccountId };\n } else {\n // Samsung - User 5\n this.mdmDetails.emmProductCode = 'DMPSKME';\n this.mdmDetails.signupStatus = 'revised';\n this.mdmDetails.emmAccountId = sessionData.samsungEmmAccountId;\n this.mdmDetails.otherProducts[0] = { 'emmProductCode': 'DMPGZTP', 'signupStatus': 'revised', \n 'emmAccountId': sessionData.googleEmmAccountId };\n }\n } else if (sessionData.samsungEmmAccountId) {\n // Samsung - User 6\n this.callSamsung = false;\n this.mdmDetails.emmProductCode = 'DMPSKME';\n this.mdmDetails.signupStatus = 'revised';\n this.mdmDetails.emmAccountId = sessionData.samsungEmmAccountId;\n this.mdmDetails.otherProducts[0] = { 'emmProductCode': 'DMPGZTP', 'signupStatus': 'initial', 'emmAccountId': '' };\n } else {\n // Google - User 4\n\n this.mdmDetails.emmProductCode = 'DMPGZTP';\n this.mdmDetails.signupStatus = 'revised';\n this.mdmDetails.emmAccountId = sessionData.googleEmmAccountId;\n this.mdmDetails.otherProducts[0] = { 'emmProductCode': 'DMPSKME', 'signupStatus': 'initial', 'emmAccountId': '' };\n }\n }\n } else {\n // Very Initial Case - User 1\n\n this.mdmDetails.emmProductCode = '';\n this.mdmDetails.signupStatus = 'initial';\n this.mdmDetails.emmAccountId = '';\n this.mdmDetails.otherProducts[0] = { 'emmProductCode': '', 'signupStatus': '', 'emmAccountId': '' };\n }\n this.userDetail = this.mdmDetails;\n if (this.userDetail) {\n this.preSelectedMdmselect = this.userDetail.emmProductCode;\n this.productSelectionStatus = this.userDetail.signupStatus;\n // this.otherProductsSelection = this.userDetail.otherProducts[0].signupStatus;\n this.preSelectedMdmDetail = this.preSelectedMdmselect;\n this.productSignupStatus = this.productSelectionStatus;\n this.parentemmAccountId = this.userDetail.emmAccountId;\n this.checkPermission('google');\n this.checkPermission('samsung');\n // this.childemmAccountId = this.userDetail.otherProducts[0].emmAccountId;\n if (this.userDetail.otherProducts.length === 0) {\n this.otherProductsSelection = '';\n this.childemmAccountId = '';\n } else {\n this.otherProductsSelection = this.userDetail.otherProducts[0].signupStatus;\n this.childemmAccountId = this.userDetail.otherProducts[0].emmAccountId;\n }\n if (this.userDetail.emmProductCode === 'DMPGZTP' &&\n this.userDetail.signupStatus === 'revised' && this.isGoogleDisable === false) {\n this.selectedRadioGoogle = true;\n this.parentemmAccountId = this.userDetail.emmAccountId;\n this.selectedDetails = this.parentemmAccountId;\n this.signupEmmStatus = 'revised';\n if (this.parentemmAccountId !== null) {\n this.setupError = false;\n }\n\n if (this.otherProductsSelection === 'revised') {\n this.selectedDetailsKme = this.childemmAccountId;\n }\n //(document.getElementById('ibmId')).disabled = true;\n //document.getElementById('ibmIdLabel').classList.add('disableLabel');\n document.getElementById('nonMdm').style.color = '#000000';\n document.getElementById('oem').style.color = '#000000';\n //document.getElementById('changeNonIBM').style.display = 'inline-block';\n document.getElementById('selectedDetailsKme').style.display = 'none';\n document.getElementById('selectedDetails').style.display = 'inline-block';\n document.getElementById('selectedDetails').innerHTML = this.initialModel.ZtpId + this.selectedDetails;\n document.getElementById('gId').click();\n } else if (this.userDetail.emmProductCode === 'DMPSKME' &&\n this.userDetail.signupStatus === 'revised' && this.isSamsungDisable === false) {\n this.selectedRadioSamsung = true;\n this.parentemmAccountId = this.userDetail.emmAccountId;\n this.selectedDetailsKme = this.parentemmAccountId;\n this.signupEmmStatus = 'revised';\n if (this.parentemmAccountId !== null) {\n this.setupError = false;\n }\n if (this.otherProductsSelection === 'revised') {\n this.selectedDetails = this.childemmAccountId;\n }\n //(document.getElementById('ibmId')).disabled = true;\n //document.getElementById('ibmIdLabel').classList.add('disableLabel');\n document.getElementById('nonMdm').style.color = '#000000';\n document.getElementById('oem').style.color = '#000000';\n //document.getElementById('changeNonIBM').style.display = 'inline-block';\n document.getElementById('selectedDetails').style.display = 'none';\n document.getElementById('selectedDetailsKme').style.display = 'inline-block';\n document.getElementById('selectedDetailsKme').innerHTML = this.initialModel.KmeId + this.selectedDetailsKme;\n document.getElementById('sId').click();\n } \n }\n }\n buildForm(): void {\n this.selectMdm = this.formBuilder.group({\n 'googleIdName': ['', [Validators.required, Validators.\n pattern('^[_A-Za-z0-9-\\\\+]+(\\\\.[_A-Za-z0-9-]+)*@[A-Za-z0-9-]+(\\\\.[A-Za-z0-9]+)*(\\\\.[A-Za-z]{2,})$')]],\n 'samsungIdName': ['', [Validators.required, Validators.pattern(/(^[0-9]{1,100}$)+$/)]],\n 'MdmSelection': ['', [Validators.required, Validators.pattern(/(?!^\\s+$)^.+$/)]]\n });\n this.validationService.validate(\n this.selectMdm,\n this.formErrors,\n this.validationMessages\n );\n }\n\n /*check mobile view for support article accordion*/\n mobileView() {\n this.helpArticles = [{ id: 1, isActive: !this.isMobile, category: 'Help', content: '' }];\n }\n\n onChange($event) {\n\n this.selectMdm.get('googleIdName').setValidators(null);\n this.selectMdm.get('googleIdName').updateValueAndValidity();\n this.selectMdm.get('samsungIdName').setValidators([Validators.required, Validators.pattern(/(^[0-9]{1,100}$)+$/)]);\n this.selectMdm.get('samsungIdName').updateValueAndValidity();\n this.selectMdm.get('MdmSelection').setValidators([Validators.required, Validators.pattern(/(?!^\\s+$)^.+$/)]);\n this.selectMdm.get('MdmSelection').updateValueAndValidity();\n\n if ($event.target.value = 'on') { \n this.errorMessage = false; \n //this.legalIbm = true;\n this.legalZtp = true;\n this.legalKme = false;\n this.el.nativeElement.getElementsByClassName('product-brief-link-ztp')[0].style.display = 'none';\n this.el.nativeElement.getElementsByClassName('product-brief-link-kme')[0].style.display = 'inline-block';\n if (this.selectedValuesSession !== null) {\n this.setupError = false;\n sessionStorage.removeItem('showGoogleCreationError');\n document.getElementById('googleId').style.display = 'none';\n this.signupEmmStatus = 'initial';\n this.el.nativeElement.getElementsByClassName('gtooltip')[0].style.display = 'none';\n if (this.selectedDetailsKme != null) {\n this.signupEmmStatus = 'revised';\n document.getElementById('selectedDetailsKme').style.display = 'inline-block';\n document.getElementById('selectedDetailsKme').innerHTML = this.initialModel.KmeId + this.selectedDetailsKme;\n } else {\n document.getElementById('samsungId').style.display = 'inline-block';\n this.el.nativeElement.getElementsByClassName('stooltip')[0].style.display = 'inline-block';\n }\n } else {\n document.getElementById('selectedDetailsKme').style.display = 'inline-block';\n document.getElementById('selectedDetailsKme').innerHTML = this.initialModel.KmeId + this.selectedDetailsKme;\n document.getElementById('selectedDetails').style.display = 'none';\n document.getElementById('googleId').style.display = 'none';\n this.el.nativeElement.getElementsByClassName('gtooltip')[0].style.display = 'none';\n this.initialModel.samsungIdName = this.selectMdm.value.samsungIdName;\n\n if (this.sessionMdmDetails === null || this.productSelectionStatus === 'initial' && this.userDetail.emmProductCode === 'DMPSKME'\n || this.otherProductsSelection === 'initial' && this.userDetail.otherProducts[0].emmProductCode === 'DMPSKME') {\n // If its the initial case for samsung then the input box will appear.So by default button will be disabled as user has to\n // enter some value in the input box to continue.hence, this.setupError = true; \n this.setupError = true;\n document.getElementById('selectedDetailsKme').style.display = 'none';\n document.getElementById('googleId').style.display = 'none';\n this.el.nativeElement.getElementsByClassName('gtooltip')[0].style.display = 'none';\n document.getElementById('samsungId').style.display = 'inline-block';\n this.el.nativeElement.getElementsByClassName('stooltip')[0].style.display = 'inline-block';\n this.signupEmmStatus = 'initial';\n } else { // Revised Samsung case.\n this.setupError = false;\n this.signupEmmStatus = 'revised';\n document.getElementById('selectedDetails').style.display = 'none';\n document.getElementById('googleId').style.display = 'none';\n this.el.nativeElement.getElementsByClassName('gtooltip')[0].style.display = 'none';\n document.getElementById('selectedDetailsKme').style.display = 'inline-block';\n document.getElementById('selectedDetailsKme').innerHTML = this.initialModel.KmeId + this.selectedDetailsKme;\n document.getElementById('samsungId').style.display = 'none';\n this.el.nativeElement.getElementsByClassName('stooltip')[0].style.display = 'none';\n }\n this.initialModel.samsungIdName = this.selectMdm.value.samsungIdName;\n this.tcUrl = TERMSCONDITIONS.URL.dmpskmeUrl;\n this.staticTcUrl = TERMSCONDITIONS.URL.commonUrl;\n if (!this.initialModel.samsungIdName && this.setupError) {\n this.setupError = true;\n } else {\n this.setupError = false;\n }\n }\n }\n\n }\n\n onChangeGid($event) {\n\n this.selectMdm.get('googleIdName').setValidators([Validators.required,\n Validators.pattern('^[_A-Za-z0-9-\\\\+]+(\\\\.[_A-Za-z0-9-]+)*@[A-Za-z0-9-]+(\\\\.[A-Za-z0-9]+)*(\\\\.[A-Za-z]{2,})$')]);\n this.selectMdm.get('googleIdName').updateValueAndValidity();\n this.selectMdm.get('samsungIdName').setValidators(null);\n this.selectMdm.get('samsungIdName').updateValueAndValidity();\n this.selectMdm.get('MdmSelection').setValidators(null);\n this.selectMdm.get('MdmSelection').updateValueAndValidity();\n\n if ($event.target.value = 'on') {\n this.errorMessage = false; \n //this.legalIbm = true;\n this.legalZtp = false;\n this.legalKme = true;\n this.el.nativeElement.getElementsByClassName('product-brief-link-kme')[0].style.display = 'none';\n this.el.nativeElement.getElementsByClassName('product-brief-link-ztp')[0].style.display = 'block';\n if (this.selectedValuesSession !== null) {\n const showGoogleCreationError = JSON.parse(sessionStorage.getItem('showGoogleCreationError'));\n if (showGoogleCreationError !== null && showGoogleCreationError !== undefined && showGoogleCreationError === true) { \n this.errorMessage = 'We were unable to complete your request.' +\n 'Please check that you have entered a valid email address or Google ID.';\n this.cd.detectChanges();\n this.utilityService.loadFocusOnTop();\n }\n document.getElementById('selectedDetailsKme').style.display = 'none';\n document.getElementById('selectedDetails').style.display = 'none';\n document.getElementById('googleId').style.display = 'inline-block';\n this.signupEmmStatus = 'initial';\n this.el.nativeElement.getElementsByClassName('gtooltip')[0].style.display = 'inline-block';\n if (this.selectedDetailsKme !== null && this.selectedDetailsKme !== undefined) {\n //(document.getElementById('ibmId')).disabled = true;\n //document.getElementById('ibmIdLabel').classList.add('disableLabel');\n document.getElementById('nonMdm').style.color = '#000000';\n document.getElementById('oem').style.color = '#000000';\n //document.getElementById('changeNonIBM').style.display = 'inline-block';\n\n }\n } else {\n document.getElementById('selectedDetails').style.display = 'inline-block';\n document.getElementById('selectedDetails').innerHTML = this.initialModel.ZtpId + this.selectedDetails;\n document.getElementById('selectedDetailsKme').style.display = 'none';\n document.getElementById('samsungId').style.display = 'none';\n this.el.nativeElement.getElementsByClassName('stooltip')[0].style.display = 'none';\n this.initialModel.googleIdName = this.selectMdm.value.googleIdName;\n\n if (this.sessionMdmDetails === null || this.productSelectionStatus === 'initial' && this.userDetail.emmProductCode === 'DMPGZTP'\n || this.otherProductsSelection === 'initial' && this.userDetail.otherProducts[0].emmProductCode === 'DMPGZTP') {\n // Google initial case\n this.setupError = true;\n document.getElementById('selectedDetails').style.display = 'none';\n document.getElementById('googleId').style.display = 'inline-block';\n this.el.nativeElement.getElementsByClassName('gtooltip')[0].style.display = 'inline-block';\n document.getElementById('samsungId').style.display = 'none';\n this.el.nativeElement.getElementsByClassName('stooltip')[0].style.display = 'none';\n this.signupEmmStatus = 'initial';\n } else { // Google Revised\n this.setupError = false;\n this.signupEmmStatus = 'revised';\n document.getElementById('selectedDetails').style.display = 'none';\n document.getElementById('samsungId').style.display = 'none';\n this.el.nativeElement.getElementsByClassName('stooltip')[0].style.display = 'none';\n document.getElementById('selectedDetails').style.display = 'inline-block';\n document.getElementById('selectedDetails').innerHTML = this.initialModel.ZtpId + this.selectedDetails;\n document.getElementById('googleId').style.display = 'none';\n this.el.nativeElement.getElementsByClassName('gtooltip')[0].style.display = 'none';\n }\n this.tcUrl = TERMSCONDITIONS.URL.dmpgztpUrl;\n this.staticTcUrl = TERMSCONDITIONS.URL.commonUrl;\n }\n if (!this.initialModel.googleIdName && this.setupError) {\n this.setupError = true;\n } else {\n this.setupError = false;\n }\n }\n\n }\n\n checkPermission(field) { \n const permission = JSON.parse(sessionStorage.getItem('permissions'));\n if (permission !== 'null') {\n if (!this.utilityService.checkComponentPermission(field, permission.perm)) {\n if (field === 'samsung') {\n this.isSamsungDisable = true;\n } else {\n this.isGoogleDisable = true;\n }\n }\n }\n }\n\n // onChangeIBM($event) {\n\n // this.selectMdm.get('googleIdName').setValidators(null);\n // this.selectMdm.get('googleIdName').updateValueAndValidity();\n // this.selectMdm.get('samsungIdName').setValidators(null);\n // this.selectMdm.get('samsungIdName').updateValueAndValidity();\n // this.selectMdm.get('MdmSelection').setValidators([Validators.required, Validators.pattern(/(?!^\\s+$)^.+$/)]);\n // this.selectMdm.get('MdmSelection').updateValueAndValidity();\n\n \n // if ($event.target.value = 'on') {\n // this.errorMessage = false; \n // //this.legalIbm = false;\n // this.legalZtp = true;\n // this.legalKme = true;\n // this.el.nativeElement.getElementsByClassName('googleId')[0].style.display = 'none';\n // this.el.nativeElement.getElementsByClassName('samsungId')[0].style.display = 'none';\n // this.el.nativeElement.getElementsByClassName('product-brief-link-ztp')[0].style.display = 'none';\n // this.el.nativeElement.getElementsByClassName('product-brief-link-kme')[0].style.display = 'none';\n // this.tcUrl = TERMSCONDITIONS.URL.addpmdmUrl;\n // this.tcUrlIbm = TERMSCONDITIONS.URL.commonUrl3;\n // this.staticTcUrl = TERMSCONDITIONS.URL.commonUrl;\n // this.setupError = false;\n // }\n\n // }\n\n onChangeText($event) { \n this.setupError = false;\n //this.legalIbm = true;\n //this.legalZtp = false;\n //this.legalKme = true;\n $event = Object($event);\n if (this.googleValue === '' || this.googleValue === null) { \n this.setupError = true;\n } else if (this.showGoogleCreationError === true || this.selectedValuesSession.enteredGoogleValue === this.googleValue) {\n this.errorMessage = 'We were unable to complete your request. Please check that you' +\n ' have entered a valid email address or Google ID.';\n this.utilityService.loadFocusOnTop();\n } else if (this.selectedValuesSession.enteredGoogleValue !== this.googleValue) { \n this.signupEmmStatus = 'initial';\n this.setupError = false;\n this.errorMessage = false;\n } \n }\n\n\n onChangeTextNum($event) {\n this.setupError = false;\n // this.legalIbm = true;\n // this.legalZtp = true;\n // this.legalKme = false;\n $event = Object($event);\n if (this.samsungValue === '' || this.samsungValue === null) {\n this.setupError = true;\n } else {\n this.signupEmmStatus = 'initial';\n this.setupError = false;\n this.errorMessage = false; \n }\n }\n\n keyValidation(event) {\n event = Object(event);\n if (event) {\n this.setupError = false;\n } else {\n this.setupError = true;\n }\n }\n\n onlyNumberKey(event) {\n event = Object(event);\n if (event) {\n if (event.code === 'Digit' + event.key) {\n this.setupError = false;\n }\n } else {\n this.setupError = true;\n }\n // return (event.charCode == 8 || event.charCode == 0) ? null : event.charCode >= 48 && event.charCode <= 57;\n }\n\n cancel() {\n this.router.navigate(['/dashboard']);\n }\n\n getStyle() {\n this.checkPermission('google');\n this.checkPermission('samsung');\n // if (this.preSelectedMdmDetail === 'ADDPMDM') {\n // this.preSelectedMdm = true;\n // this.setupError = false;\n // //this.legalIbm = false;\n // this.tcUrl = TERMSCONDITIONS.URL.addpmdmUrl;\n // this.el.nativeElement.getElementsByClassName('changeIBM')[0].style.display = 'inline-block';\n // this.el.nativeElement.getElementsByClassName('sId')[0].setAttribute('disabled', 'true');\n // this.el.nativeElement.getElementsByClassName('gId')[0].setAttribute('disabled', 'true');\n // document.getElementById('sIdLabel').classList.add('disableLabel');\n // document.getElementById('gIdLabel').classList.add('disableLabel');\n // this.el.nativeElement.getElementsByClassName('mdm')[0].style.color = '#000000';\n // return '#757575';\n // } else \n if (this.preSelectedMdmDetail === 'DMPGZTP' && this.isGoogleDisable === false) {\n //this.preSelectedMdmIbm = true;\n this.setupError = false;\n //this.legalIbm = true;\n this.legalZtp = false;\n this.legalKme = true;\n this.selectedRadioGoogle = true;\n this.selectedRadioSamsung = false;\n this.selectedDetails = this.parentemmAccountId;\n this.tcUrl = TERMSCONDITIONS.URL.dmpgztpUrl;\n //this.el.nativeElement.getElementsByClassName('ibmId')[0].setAttribute('disabled', 'true');\n //document.getElementById('ibmIdLabel').classList.add('disableLabel');\n this.el.nativeElement.getElementsByClassName('nonMdm')[0].style.color = '#000000';\n this.el.nativeElement.getElementsByClassName('oem')[0].style.color = '#000000';\n // this.el.nativeElement.getElementsByClassName('selectedDetails')[0].style.display = 'inline-block';\n //this.el.nativeElement.getElementsByClassName('changeNonIBM')[0].style.display = 'inline-block';\n this.el.nativeElement.getElementsByClassName('googleId')[0].style.display = 'none'; // revised the input on click if it is revised\n if (this.otherProductsSelection !== 'initial') {\n this.selectedDetailsKme = this.childemmAccountId;\n this.initialModel.MdmSelection = this.preSelectedMdmDetail;\n this.selectedAccID = this.parentemmAccountId;\n // this.el.nativeElement.getElementsByClassName('selectedDetailsKme')[0].style.display = 'inline-block';\n this.el.nativeElement.getElementsByClassName('samsungId')[0].style.display = 'none'; // revised the input on click if it is revised\n } else {\n this.selectedDetailsKme = this.childemmAccountId;\n // this.el.nativeElement.getElementsByClassName('samsungId')[0].style.display = 'inline-block';\n }\n return '#757575';\n\n } else if (this.preSelectedMdmDetail === 'DMPSKME' && this.isSamsungDisable === false) {\n //this.preSelectedMdmIbm = true;\n this.setupError = false;\n //this.legalIbm = true;\n this.legalZtp = true;\n this.legalKme = false;\n this.selectedRadioGoogle = false;\n this.selectedRadioSamsung = true;\n this.selectedDetailsKme = this.parentemmAccountId;\n this.tcUrl = TERMSCONDITIONS.URL.dmpskmeUrl;\n //this.el.nativeElement.getElementsByClassName('ibmId')[0].setAttribute('disabled', 'true');\n //document.getElementById('ibmIdLabel').classList.add('disableLabel');\n this.el.nativeElement.getElementsByClassName('oem')[0].style.color = '#000000';\n this.el.nativeElement.getElementsByClassName('nonMdm')[0].style.color = '#000000';\n //this.el.nativeElement.getElementsByClassName('changeNonIBM')[0].style.display = 'inline-block';\n // this.el.nativeElement.getElementsByClassName('selectedDetailsKme')[0].style.display = 'inline-block';\n this.el.nativeElement.getElementsByClassName('samsungId')[0].style.display = 'none'; // revised the input on click if it is revised\n if (this.otherProductsSelection !== 'initial') {\n this.selectedDetails = this.childemmAccountId;\n // this.el.nativeElement.getElementsByClassName('selectedDetails')[0].style.display = 'inline-block';\n this.el.nativeElement.getElementsByClassName('googleId')[0].style.display = 'none'; // revised the input on click if it is revised\n } else {\n this.selectedDetails = this.childemmAccountId;\n // this.el.nativeElement.getElementsByClassName('googleId')[0].style.display = 'inline-block';\n }\n return '#757575';\n } else {\n this.preSelectedMdm = false;\n return '';\n }\n }\n\n signupSubmit() {\n this.pageloaderService.setPageLoaderStatus(false);\n if (this.selectMdm.dirty) {\n this.initialModel.googleIdName = this.selectMdm.value.googleIdName || this.selectedDetails;\n this.initialModel.samsungIdName = this.selectMdm.value.samsungIdName || this.selectedDetailsKme;\n this.initialModel.MdmSelection = this.selectMdm.value.MdmSelection;\n // if (this.initialModel.MdmSelection === 'ADDPMDM') {\n // this.selectedAccID = '';\n // } else \n if (this.initialModel.MdmSelection === 'DMPGZTP') {\n this.selectedAccID = this.initialModel.googleIdName;\n } else {\n this.selectedAccID = this.initialModel.samsungIdName;\n }\n } else {\n if (this.preSelectedMdmDetail === 'DMPGZTP') {\n this.initialModel.MdmSelection = this.preSelectedMdmDetail;\n this.selectedAccID = this.selectedDetails;\n } else if (this.preSelectedMdmDetail === 'DMPSKME') {\n this.initialModel.MdmSelection = this.preSelectedMdmDetail;\n this.selectedAccID = this.selectedDetailsKme;\n } \n // else {\n // this.initialModel.MdmSelection = 'ADDPMDM';\n // if (this.otherProductsSelection !== 'initial') {\n // this.selectedAccID = '';\n // }\n // }\n }\n this.selectedMdmDetails = this.initialModel.MdmSelection;\n\n let productDetails = { emmProductCode: '', selectedAccID: '', signupEmmStatus: '' };\n productDetails.emmProductCode = this.selectedMdmDetails;\n productDetails.selectedAccID = this.selectedAccID;\n productDetails.signupEmmStatus = this.signupEmmStatus;\n if (this.selectedValuesSession != null) {\n // if (this.selectedValuesSession.preSelectedEmm === '' && this.selectedMdmDetails === 'ADDPMDM') {\n // productDetails.signupEmmStatus = 'initial';\n // }\n // if (this.selectedValuesSession.preSelectedEmm === 'ADDPMDM' && this.selectedMdmDetails === 'ADDPMDM') {\n // productDetails.signupEmmStatus = 'revised';\n // }\n if (this.selectedValuesSession.preSelectedEmm === 'DMPGZTP' && this.selectedMdmDetails === 'DMPSKME'\n && this.selectedValuesSession.childStatus === 'initial') {\n productDetails.signupEmmStatus = 'initial';\n }\n if (this.selectedValuesSession.preSelectedEmm === 'DMPSKME' && this.selectedMdmDetails === 'DMPGZTP' &&\n this.selectedValuesSession.childStatus === 'initial') {\n productDetails.signupEmmStatus = 'initial';\n }\n } else {\n productDetails.signupEmmStatus = this.signupEmmStatus;\n }\n sessionStorage.setItem('manage-product', JSON.stringify(productDetails));\n if (this.signupEmmStatus === 'initial' && this.selectedMdmDetails === 'DMPGZTP') {\n let selectedValue = { enteredGoogleValue: '', selectedSamsungValue: '' };\n selectedValue.enteredGoogleValue = this.initialModel.googleIdName;\n if (this.selectedDetailsKme !== null && this.selectedDetailsKme !== undefined) {\n selectedValue.selectedSamsungValue = this.selectedDetailsKme;\n }\n sessionStorage.setItem('savedSelectedDetails', JSON.stringify(selectedValue));\n }\n sessionStorage.removeItem('showGoogleCreationError');\n let selectedEmmProductCode = sessionStorage.getItem('manage-product');\n this.emmProductCode = JSON.parse(selectedEmmProductCode).emmProductCode;\n if (this.selectedMdmDetails === 'DMPSKME' && !this.isSamsungDisable ) {\n if (this.callSamsung) {\n this.InitialService.signupDetails(this.emmProductCode, this.selectedAccID)\n .subscribe(response => {\n this.pageloaderService.setPageLoaderStatus(true);\n if (this.initialModel.MdmSelection === 'DMPSKME') {\n if ( response.users && response.users.length !== 0) {\n if (this.selectedAccID !== response.users[0].companyId) {\n this.errorMessage = 'We were unable to complete your request.' +\n 'Please check that you have entered a valid Samsung Knox Mobile Enrollment ID.';\n this.setupError = true;\n this.utilityService.loadFocusOnTop();\n } else {\n this.setupError = false;\n this.router.navigate(['/signup/']);\n }\n } else {\n this.errorMessage = 'We were unable to complete your request. ' +\n 'Please check that you have entered a valid Samsung Knox Mobile Enrollment ID.';\n this.setupError = true;\n this.utilityService.loadFocusOnTop();\n }\n } \n // else if (this.emmProductCode === 'ADDPMDM' || this.emmProductCode === '') {\n // this.setupError = false;\n // this.router.navigate(['/signup/']);\n // } \n else if (this.emmProductCode === 'DMPGZTP' && this.selectedAccID === null || this.selectedAccID === '') {\n this.errorMessage = 'Google Validation error has occured. Please enter valid Email id';\n this.setupError = true;\n } else {\n this.setupError = false;\n this.router.navigate(['/signup/']);\n }\n }, error => {\n this.pageloaderService.setPageLoaderStatus(true);\n this.handleError(error);\n });\n } else {\n this.setupError = false;\n this.router.navigate(['/signup/']);\n }\n } \n else if (this.selectedMdmDetails === 'DMPGZTP' && !this.isGoogleDisable ) { \n this.pageloaderService.setPageLoaderStatus(true);\n if (this.emmProductCode === 'DMPGZTP' && this.selectedAccID === null || this.selectedAccID === '') {\n this.errorMessage = 'Google Validation error has occured. Please enter valid Email id';\n this.setupError = true;\n } else {\n this.setupError = false;\n this.router.navigate(['/signup/']);\n }\n }\n // else if (this.selectedMdmDetails === 'ADDPMDM') { \n // this.pageloaderService.setPageLoaderStatus(true);\n // if (this.emmProductCode === 'ADDPMDM' || this.emmProductCode === '') {\n // this.setupError = false;\n // this.router.navigate(['/signup/']);\n // }\n // }\n else {\n this.pageloaderService.setPageLoaderStatus(true);\n this.setupError = true;\n }\n }\n\n handleError = (err) => {\n let isBusinessRuleError = false;\n if (err) {\n if (err.status === 500) {\n this.errorMessage = \"Something went wrong. We couldn't process your request. Please try again later.\";\n isBusinessRuleError = true;\n } else if (err.status === 401) {\n this.errorMessage = 'Session expired, Please login again.';\n logoutCurrentUser(true);\n } else if (err.status === 400) {\n this.errorMessage = 'Id is already in the system.';\n isBusinessRuleError = true;\n } else if (err.status === 404) {\n this.errorMessage = \"Something went wrong. We couldn't process your request. Please try again later.\";\n isBusinessRuleError = true;\n } else if (this.signUpStatus === 'failure') { // remove this block after it is integrated wit the servce this is only for demo\n this.errorMessage = \"Something went wrong. We couldn't process your request. Please try again later.\";\n } else {\n this.errorMessage = \"Something went wrong. We couldn't process your request. Please try again later.\";\n }\n this.utilityService.loadFocusOnTop();\n }\n if (isBusinessRuleError) {\n this.adobeAnalyticsService.CreateSeriveAlertProperties(err.status, err.statusText, 'formResponse', 'Failure_BusinessRule');\n } else {\n this.adobeAnalyticsService.CreateSeriveAlertProperties(err.status, err.statusText, 'formResponse');\n }\n }\n showZTPProductInfo ()\n {\n this.showZTPProductInfoModal = true;\n }\n\n closeZTPProductInfoModal ()\n {\n this.showZTPProductInfoModal = false; \n }\n showKMEProductInfo ()\n {\n this.showKMEProductInfoModal = true;\n }\n\n closeKMEProductInfoModal ()\n {\n this.showKMEProductInfoModal = false; \n }\n}","
\n \n
","export class InitialSignupModel {\n googleIdName: string;\n samsungIdName: string;\n googleID: string;\n MdmSelection: string;\n header: string;\n header1: string;\n description1: string;\n header2: string;\n subheader1: string;\n subheaderDesc1: string;\n subheader2: string;\n subheaderDesc2: string[];\n radioLabel1: string;\n radioLabel2: string;\n radioLabel3: string;\n inputLabel1: string;\n inputLabel2: string;\n header3: string;\n description3: string;\n link1: string;\n googleId: number;\n samsungId: number;\n link: string;\n KmeId: string;\n ZtpId: string;\n ztpSupportArticleHeader: string;\n ztpSupportArticleMessage: string;\n kmeSupportArticleHeader: string;\n kmeSupportArticleMessage: string;\n constructor() {\n this.header = undefined;\n this.header1 = undefined;\n this.description1 = undefined;\n this.header2 = undefined;\n this.subheader1 = undefined;\n this.subheaderDesc1 = undefined;\n this.subheader2 = undefined;\n this.subheaderDesc2 = undefined;\n this.radioLabel1 = undefined;\n this.radioLabel2 = undefined;\n this.radioLabel3 = undefined;\n this.inputLabel1 = undefined;\n this.inputLabel2 = undefined;\n this.header3 = undefined;\n this.description3 = undefined;\n this.link1 = undefined;\n this.link = undefined;\n this.ztpSupportArticleHeader = undefined;\n this.ztpSupportArticleMessage = undefined;\n this.kmeSupportArticleHeader = undefined;\n this.kmeSupportArticleMessage = undefined;\n }\n}\n\nexport class MdmDetails {\n emmProductCode: string;\n signupStatus: string;\n emmAccountId: string;\n otherProducts: Array;\n constructor() {\n this.emmProductCode = undefined;\n this.signupStatus = undefined;\n this.emmAccountId = undefined;\n this.otherProducts = [];\n }\n}\n\nexport class OtherProducts {\n emmProductCode: string;\n signupStatus: string;\n emmAccountId: string;\n constructor() {\n this.emmProductCode = undefined;\n this.signupStatus = undefined;\n this.emmAccountId = undefined;\n }\n }","import { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { UtilityService, HttpClientService, AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';\nimport { throwError } from 'rxjs';\n\nimport { HttpResponse, HttpHeaders } from '@angular/common/http';\nimport { ANALYTICS_CONSTANTS } from 'config';\ndeclare var ENV_PORTAL;\n\n@Injectable()\nexport class InitialService {\n constructor(private utilityService: UtilityService,\n private httpClientService: HttpClientService, private adobeAnalyticsService: AdobeAnalyticsService) { }\n\n handleError = (error) => {\n return throwError(error);\n }\n\n getInitialDetails() {\n let headers = new HttpHeaders();\n headers = headers.append('Content-Type', 'text/json');\n headers = headers.append('SERVICE-AUTH-TOKEN', sessionStorage.getItem('sapmp_jwtToken'));\n return this.httpClientService.get(this.utilityService.getEnvConfig().initialUrl, headers)\n .pipe(\n map((res: HttpResponse) => {\n if (res.headers.get('SERVICE-AUTH-TOKEN') != null) {\n this.httpClientService.tokenRefresh(this.utilityService.getEnvConfig().tokenRefresh);\n }\n return res.body;\n }\n )\n ,catchError( this.handleError ));\n }\n\n createPageLoadProperties(url: string, title: string, friendlyPageName: string) {\n const dataLayer = {};\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FRIENDLY_PAGE_NAME] = friendlyPageName;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FLOW_CODE] = ANALYTICS_CONSTANTS.FLOW_CODE_MANAGE;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_LANGUAGE] = 'EN';\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_LOGIN_SOURCE] = 'shoplogin';\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_PAGE_FUNCTION] = 'Service';\n this.adobeAnalyticsService.tag('page', dataLayer, 'Page_Load', 'pageLoad');\n }\n\n getHeaders() {\n let headers = new HttpHeaders();\n headers = headers.append('Authorization', sessionStorage.getItem('sapmp_jwtToken'));\n return headers;\n }\n\n fetchJSON(dataurl) {\n return this.httpClientService.post(dataurl, this.getHeaders())\n .pipe(\n map((resp: HttpResponse) => resp.body)\n ,catchError( this.handleError ));\n }\n\n signupDetails1(emmProductCode, selectedProductId) {\n let finalResp;\n let data = {\n 'resellerId': '6004067397',\n 'ids': [\n selectedProductId\n ]\n };\n if (emmProductCode === 'DMPSKME') {\n finalResp = this.utilityService.getEnvConfig().getSamsungId, data;\n }\n return this.httpClientService.post(finalResp, this.getHeaders())\n .pipe(\n map((res: HttpResponse) => { // console.log(res+ ' --------- validation');\n if (res.headers.get('SERVICE-AUTH-TOKEN') != null) {\n this.httpClientService.tokenRefresh(this.utilityService.getEnvConfig().tokenRefresh);\n }\n return res.body;\n }\n )\n ,catchError( this.handleError ));\n }\n\n signupDetails(emmProductCode, selectedProductId) {\n let finalResp, MdmUrl;\n const data = {\n 'resellerId': '6004067397',\n 'ids': [\n selectedProductId\n ]\n };\n return this.httpClientService.post(this.utilityService.getEnvConfig().getSamsungId, data, this.getHeaders())\n .pipe(\n map((res: HttpResponse) => { // console.log(res+ ' --------- validation');\n if (res.headers.get('SERVICE-AUTH-TOKEN') != null) {\n this.httpClientService.tokenRefresh(this.utilityService.getEnvConfig().tokenRefresh);\n }\n return res.body;\n }\n )\n ,catchError( this.handleError ));\n }\n\n mdmDetails() {\n return this.httpClientService.get(this.utilityService.getEnvConfig().mdmDetails, this.getHeaders())\n .pipe(\n map((res: HttpResponse) => {\n if (res.headers.get('SERVICE-AUTH-TOKEN') != null) {\n this.httpClientService.tokenRefresh(this.utilityService.getEnvConfig().tokenRefresh);\n }\n return res.body;\n }\n )\n ,catchError( this.handleError ));\n }\n\n samsungValidate() {\n let samsungKmeId;\n samsungKmeId = sessionStorage.getItem('selectedAccID');\n const data = {\n 'resellerId': '6004067397',\n 'ids': [\n samsungKmeId\n ]\n };\n return this.httpClientService.post(this.utilityService.getEnvConfig().samsungValidate, data, this.getHeaders())\n .pipe(\n map((resp: HttpResponse) => { // console.log(resp);\n return resp.body;\n }\n )\n ,catchError( this.handleError ));\n }\n}","import { Injectable, OnInit } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { Router, CanActivate , ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router';\n\n@Injectable()\nexport class NavigationToBlockGuard implements CanActivate {\n\n constructor(private router: Router) { }\n\n canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot) { \n const mdmDetails = JSON.parse(sessionStorage.getItem('mdmDetails'));\n const user = JSON.parse(sessionStorage.getItem('user'));\n let navigationToblock;\n if(mdmDetails) { \n if (mdmDetails.productCode === 'ADDPMDM') {\n this.router.navigate(['/home']);\n } else if(user.user.fanSignedUpStatus === 'NONE'){ \n navigationToblock = ['/enrollmentTool'];\n } else{ \n if( mdmDetails.productCode === 'ADDPZTE' ){ \n navigationToblock = ['/productselection'];\n }else {\n navigationToblock = ['/enrollmentTool','/productselection'];\n }\n }\n } else {\n navigationToblock = ['/enrollmentTool'];\n }\n navigationToblock.forEach( pages => { \n if(state.url === pages){ \n this.router.navigate(['/home']);\n return false;\n }\n });\n return true;\n }\n}\n","import { Component, OnInit, ViewEncapsulation, ViewChild, ChangeDetectorRef, OnDestroy, NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { Router, ActivatedRoute, NavigationEnd } from '@angular/router';\nimport { UtilityService, AuthenticationService, AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';\nimport {\n ProductModel, SEO\n} from '../../models';\nimport { UserProfileModel } from 'lib/ng2-sapmp/src/models';\nimport { BreadCrumbModel, BreadCrumbService } from 'lib/ng2-sapmp/src/ui-components/breadcrumb';\nimport { PageLoaderService } from 'lib/ng2-sapmp/src/ui-components/page-loader';\nimport { TAB, BREADCRUMBS, PRODUCT_CONFIG, PREMIER_AUTHFAILURE_MESSAGE, ENV } from 'config';\nimport { MobilePivotModel } from 'lib/ng2-sapmp/src/ui-components/mobile-pivot/mobile-pivot.model';\nimport { DomSanitizer } from '@angular/platform-browser';\nimport { MOBILEPIVOTS } from 'config';\nimport { CMSResolver } from 'lib/ng2-sapmp/src/providers/cms.resolver';\nimport {Subscription} from \"rxjs\";\nimport { stat } from 'fs';\n\ndeclare var logoutCurrentUser: any;\ndeclare var ENV_PORTAL: any;\n@Component({\n selector: 'app-learn',\n templateUrl: './learndetails.component.html',\n styleUrls: ['./learndetails.component.scss'],\n encapsulation: ViewEncapsulation.None\n})\n\nexport class LearnDetailsComponent implements OnInit, OnDestroy {\n\n id: string;\n productDetail: ProductModel;\n breadCrumbs: BreadCrumbModel[];\n pageLoader: boolean;\n user: UserProfileModel;\n permissionFlag: boolean;\n eventEmit: any;\n detailErrorMessage: String;\n pivots: Array;\n isFn: boolean = (ENV_PORTAL === 'fnabc') ? true : false;\n pageTitle: string;\n hasAmPermission: boolean;\n authenticationRequired: boolean;\n permissions: any;\n emailAddress: any;\n phoneNumber: any;\n initialPhoneNumber: any;\n environmentPortal: any;\n contactName: any;\n fanNumber: any;\n userFanName: any;\n currentEnrolledFan: any;\n isEnrollDisabled: boolean;\n subscriptionContent: any;\n errorMessage: any;\n detailsArray: Array;\n EasyDeployArray: Array;\n requirementsArray: Array;\n tabsListArray: Array;\n authTabsListArray: Array;\n bannerButtonLabel: String;\n nextPage: String;\n fanSignUpStatus: String;\n abmflag: boolean = false;\n abmpageflag: boolean;\n ztepageflag: boolean;\n kmepageflag: boolean;\n selectedbox: boolean = false;\n fansAvailable: boolean = true;\n fivegpageflag: boolean = false;\n fivegauthpageflag: boolean = false;\n isFirstnetCustomer: boolean = false;\n isMyAttCustomer: boolean = false;\n firstnetCustomerErrormessage: any;\n firstnetCustomerErrormessage1: any;\n myAttCustomerErrormessage: any;\n myAttCustomerErrormessage1: any;\n urlLocation: any;\n show5gImage: boolean = false;\n panelOpenRemote: boolean = false;\n panelOpenTransport: boolean = false;\n panelOpenGovrmnt: boolean = false;\n panelOpenMedical: boolean = false;\n panelOpenRetail: boolean = false;\n panelOpenSales: boolean = false;\n authSubscription: boolean;\n fanInfoList: any = [];\n signupActiveFanList: any = [];\n ABMFlag: boolean = false;\n KMEFlag: boolean = false;\n ZTPFlag: boolean = false;\n DMPFlag: boolean = false;\n combinedPair: any;\n singleABMEnrolled: any = [];\n singleKMEEnrolled: any = [];\n singleZTPEnrolled: any = [];\n noOfFans: any = [];\n dmpLearnFlag: boolean = false;\n ABMActiveFans: any = [];\n eligibleFansForKME: any = [];\n eligibleFansForZTE: any = [];\n showABMEnrollLink: boolean = true;\n showKMEEnrollLink: boolean = true;\n showZTEEnrollLink: boolean = true;\n public enrollStatusSubscription: Subscription;\n detailsArrayABM: Array;\n detailsArrayKME: Array;\n detailsArrayZTE: Array;\n filteredDetailsArrayABM: Array;\n filteredDetailsArrayKME: Array;\n filteredDetailsArrayZTE: Array;\n\n\n UnknownMessage: String = \"We are unable to access your account at this time. Please try again later.\";\n\n constructor(private route: ActivatedRoute,\n private router: Router,\n private _sanitizer: DomSanitizer,\n private changeDetectionRef: ChangeDetectorRef,\n private utilityService: UtilityService,\n private authenticationService: AuthenticationService,\n private pageloaderService: PageLoaderService, private breadCrumbService: BreadCrumbService,\n private adobeAnalyticsService: AdobeAnalyticsService\n ) {\n this.permissionFlag = false;\n this.isEnrollDisabled = false;\n this.pageloaderService.setPageLoaderStatus(false);\n const userObj = authenticationService.getUser();\n if (userObj) {\n let userName;\n if ((userObj.firstName.length == 0 || userObj.firstName == 'NOT_FOUND') && (userObj.lastName.length == 0 || userObj.lastName == 'NOT_FOUND')) {\n userName = \"Unknown\";\n }\n else if ((userObj.firstName.length > 0 && userObj.firstName != 'NOT_FOUND') && (userObj.lastName.length == 0 || userObj.lastName == 'NOT_FOUND')) {\n userName = userObj.firstName;\n }\n else if ((userObj.firstName.length == 0 || userObj.firstName == 'NOT_FOUND') && (userObj.lastName.length > 0 && userObj.lastName != 'NOT_FOUND')) {\n userName = userObj.lastName;\n }\n else {\n userName = userObj.firstName + ' ' + userObj.lastName;\n }\n document.getElementsByClassName('first-name')[0].innerHTML = userName;\n }\n router.events.subscribe(e => {\n if (e instanceof NavigationEnd) {\n this.ngOnInit();\n }\n });\n this.combinedPair = new Set();\n }\n\n ngOnInit() {\n let flagABMFE1;\n let flagABMFE2;\n this.id = this.route.snapshot.params['id'];\n if (this.id == 'efota') {\n this.router.navigate(['error']);\n }\n const pageData = this.route.snapshot.data.pageData;\n this.authenticationService.setLoginSuccessUrl(this.router.routerState.snapshot.url);\n const url = this.router.routerState.snapshot.url;\n const updatedUrl = url.substring(0, url.lastIndexOf('/'));\n document.title = this.utilityService.getPageTitleConfig()[updatedUrl];\n this.productDetail = new ProductModel();\n const context = window.location.pathname.split('businessconsole')[1].replace(/\\//g, '');\n let respObj = pageData[context];\n this.pageloaderService.setPageLoaderStatus(true);\n this.productDetail = respObj;\n this.abmpageflag = this.productDetail.id === 'applebusinessmanager' ? true : false;\n this.ztepageflag = this.productDetail.id === 'androidzerotouch' ? true : false;\n this.kmepageflag = this.productDetail.id === 'samsungknoxmobile' ? true : false;\n this.fivegpageflag = this.productDetail.id === '5g' ? true : false;\n this.setSEO(this.productDetail.seo);\n this.productDetail.bannerName = (this.productDetail.bannerName)\n ? this.productDetail.bannerName : this.productDetail.displayName;\n this.detailsArray = this.productDetail.details;\n this.detailsArrayABM = this.productDetail.details;\n this.detailsArrayKME = this.productDetail.details;\n this.detailsArrayZTE = this.productDetail.details;\n this.EasyDeployArray = this.productDetail.EasyDeploydetails;\n this.requirementsArray = this.productDetail.requirements;\n this.tabsListArray = this.productDetail.tabsList;\n this.authTabsListArray = this.productDetail.authTabsList;\n let childUrl = '/' + this.productDetail.site;\n this.breadCrumbService.setStaticBreadCrumbs(childUrl);\n this.breadCrumbService.setCurrentBreadCrumb({\n label: this.productDetail.displayName,\n routerLink: this.router.routerState.snapshot.url\n });\n this.pageTitle = (ENV_PORTAL === 'fnabc') ? 'FirstNet Apps & Solutions ' : 'Marketplace';\n const pivots = JSON.parse(JSON.stringify(MOBILEPIVOTS.PRODDUCTDETAILSPAGE));\n this.pivots = pivots;\n this.bannerButtonLabel = this.productDetail.bannerButtonLabelInitial;\n this.fansAvailable = false;\n this.selectedbox = true;\n\n if (this.isLoggedIn()) {\n this.fanSignUpStatus = JSON.parse(sessionStorage.getItem('user')).user.fanSignedUpStatus;\n this.noOfFans = JSON.parse(sessionStorage.getItem('user')).user.fanList;\n this.fanInfoList = sessionStorage.getItem('fanInfoList') && sessionStorage.getItem('fanInfoList') != \"undefined\" ? JSON.parse(sessionStorage.getItem('fanInfoList')) : [];\n //us 4460 start\n let activeFanArr = this.fanInfoList.length > 0 ? this.fanInfoList.filter((x) => x.accountStatus === \"ACTIVE\" || x.accountStatus === \"SIGNUP_INPROGRESS\") : [];\n if (activeFanArr.length > 0) { this.fanSignUpStatus = \"SOME\"; }\n //end start\n const permission = JSON.parse(sessionStorage.getItem('permissions')).perm;\n this.abmflag = this.utilityService.checkComponentShowPermission(\"apple.productselection\", permission);\n if (!this.isFullLoggedIn()) {\n this.detailErrorMessage = this.productDetail.noPermissionMessage;\n this.fansAvailable = false;\n this.selectedbox = true;\n this.utilityService.loadFocusOnTop();\n this.bannerButtonLabel = this.productDetail.bannerButtonLabelDashboard;\n this.nextPage = this.productDetail.id === 'efota' ? \"dashboard/efota\" : \"dashboard/dep\";\n } else if (this.fanSignUpStatus === 'NotEligible') {\n this.detailErrorMessage = this.productDetail.noFansMessage;\n this.utilityService.loadFocusOnTop();\n this.fansAvailable = false;\n this.selectedbox = true;\n this.bannerButtonLabel = this.productDetail.bannerButtonLabelDashboard;\n this.nextPage = \"/dashboard\";\n }\n // else if (this.fanSignUpStatus === 'Unknown') {\n // this.detailErrorMessage = this.UnknownMessage;\n // this.utilityService.loadFocusOnTop();\n // this.fansAvailable = false;\n // this.selectedbox = true;\n // this.bannerButtonLabel = this.productDetail.bannerButtonLabelDashboard;\n // this.nextPage = \"/dashboard\";\n // }\n else if (this.productDetail.id !== 'efota') {\n let signupActiveFanList = JSON.parse(sessionStorage.getItem('signupActiveFanList'));\n this.signupActiveFanList = signupActiveFanList && signupActiveFanList.length > 0 ? signupActiveFanList.filter((item, index) => signupActiveFanList.indexOf(item) === index) : [];\n let signupABMFanList = JSON.parse(sessionStorage.getItem('inProgressFan'));\n let fanListABMFE = signupABMFanList && signupABMFanList.length > 0 ? signupABMFanList.filter((item, index) => signupABMFanList.indexOf(item) === index) : [];\n\n this.signupActiveFanList = this.signupActiveFanList.concat(fanListABMFE)\n\n if ((this.signupActiveFanList && this.signupActiveFanList.length > 0) || (signupABMFanList && signupABMFanList.length > 0) && this.fanInfoList && this.fanInfoList.length > 0) {\n\n let ABMArrActiveFans = this.fanInfoList.filter(x => (x.emmProductCode === \"DMPAABM\" && (x.accountStatus === \"ACTIVE\" || x.accountStatus === \"SIGNUP_INPROGRESS\"))).map(x => x.fan);;\n this.ABMActiveFans = ABMArrActiveFans;\n let ABMArrEligible = this.signupActiveFanList.filter(x => ABMArrActiveFans.indexOf(x) < 0);\n\n let ZTPArrActiveFans = this.fanInfoList.filter(x => (x.emmProductCode === \"DMPGZTP\" && x.accountStatus === \"ACTIVE\")).map(x => x.fan);\n let KMEArrActiveFans = this.fanInfoList.filter(x => (x.emmProductCode === \"DMPSKME\" && x.accountStatus === \"ACTIVE\")).map(x => x.fan);\n let combineArr = ZTPArrActiveFans.concat(KMEArrActiveFans)\n // let combineArr1 = ABMArrActiveFans.concat(combineArr)\n let KMEArrEligible = this.signupActiveFanList.filter(x => combineArr.indexOf(x) < 0)\n let ZTPArrEligible = this.signupActiveFanList.filter(x => combineArr.indexOf(x) < 0)\n\n this.ABMFlag = ABMArrActiveFans.length > 0 ? true : false;\n this.KMEFlag = KMEArrActiveFans.length > 0 ? true : false;\n this.ZTPFlag = ZTPArrActiveFans.length > 0 ? true : false;\n this.DMPFlag = this.ABMFlag || this.KMEFlag || this.ZTPFlag;\n \n \n let commonABMKME = ABMArrActiveFans.filter(value => KMEArrActiveFans.includes(value));\n let commonABMZTP = ABMArrActiveFans.filter(value => ZTPArrActiveFans.includes(value));\n commonABMKME.forEach((elm) => this.combinedPair.add(elm));\n commonABMZTP.forEach((elm) => this.combinedPair.add(elm));\n\n //if(this.combinedPair.size > 0){\n this.singleABMEnrolled = ABMArrActiveFans.length > 0 ? ABMArrActiveFans.filter((el) => !this.combinedPair.has(el)) : [];\n this.singleKMEEnrolled = KMEArrActiveFans.length > 0 ? KMEArrActiveFans.filter((el) => !this.combinedPair.has(el)) : [];\n this.singleZTPEnrolled = ZTPArrActiveFans.length > 0 ? ZTPArrActiveFans.filter((el) => !this.combinedPair.has(el)) : [];\n this.dmpLearnFlag = this.singleABMEnrolled.length > 0 || this.singleKMEEnrolled.length > 0 || this.singleZTPEnrolled.length > 0;\n //}\n \n this.eligibleFansForKME = this.noOfFans.filter(el => !KMEArrActiveFans.includes(el) && !ZTPArrActiveFans.includes(el) && !this.combinedPair.has(el));\n this.eligibleFansForZTE = this.noOfFans.filter(el => !ZTPArrActiveFans.includes(el) && !KMEArrActiveFans.includes(el) && !this.combinedPair.has(el));\n\n }\n\n if (this.productDetail.id === 'applebusinessmanager') {\n this.abmpageflag = true;\n if (this.ABMActiveFans.length == this.noOfFans.length && this.fanSignUpStatus !== 'NONE') {\n this.bannerButtonLabel = this.productDetail.bannerButtonLabelDashboard;\n this.nextPage = \"/dashboard/dep\";\n }else if(this.ABMActiveFans.length < this.noOfFans.length && this.fanSignUpStatus !== 'NONE'){\n this.bannerButtonLabel = this.productDetail.bannerButtonLabelEnroll;\n this.nextPage = \"/productselection\";\n }\n else if (this.fanSignUpStatus === 'NONE') {\n this.bannerButtonLabel = this.productDetail.bannerButtonLabelEnroll;\n this.nextPage = \"/welcome\";\n } else {\n this.bannerButtonLabel = this.productDetail.bannerButtonLabelEnroll;\n this.nextPage = \"/productselection\";\n };\n } else if (this.productDetail.id === 'samsungknoxmobile') {\n this.abmpageflag = false;\n this.ztepageflag = false;\n if (this.eligibleFansForKME.length > 0 && this.fanSignUpStatus !== 'NONE') {\n this.bannerButtonLabel = this.productDetail.bannerButtonLabelEnroll;\n this.nextPage = \"/productselection\";\n } \n // else if (activeFanArr.length == 1 && this.ZTPFlag && this.fanSignUpStatus !== 'NONE') {\n // this.bannerButtonLabel = this.productDetail.bannerButtonLabelDashboard;\n // this.nextPage = \"/dashboard/dep\";\n // }\n else if (this.fanSignUpStatus === 'NONE') {\n this.bannerButtonLabel = this.productDetail.bannerButtonLabelEnroll;\n this.nextPage = \"/welcome\";\n } else {\n this.bannerButtonLabel = this.productDetail.bannerButtonLabelDashboard;\n this.nextPage = \"/dashboard/dep\";\n };\n } else if (this.productDetail.id === 'androidzerotouch') {\n this.abmpageflag = false;\n this.kmepageflag = false;\n if (this.eligibleFansForZTE.length > 0 && this.fanSignUpStatus !== 'NONE') {\n this.bannerButtonLabel = this.productDetail.bannerButtonLabelEnroll;\n this.nextPage = \"/productselection\";\n } \n // else if (activeFanArr.length == 1 && this.KMEFlag && this.fanSignUpStatus !== 'NONE') {\n // this.bannerButtonLabel = this.productDetail.bannerButtonLabelDashboard;\n // this.nextPage = \"/dashboard/dep\";\n // }\n else if (this.fanSignUpStatus === 'NONE') {\n this.bannerButtonLabel = this.productDetail.bannerButtonLabelEnroll;\n this.nextPage = \"/welcome\";\n } else {\n this.bannerButtonLabel = this.productDetail.bannerButtonLabelDashboard;\n this.nextPage = \"/dashboard/dep\";\n };\n } else if (this.productDetail.id === 'products') {\n //this.bannerButtonLabel = this.productDetail.bannerButtonLabelEnroll;\n //this.nextPage = \"/productselection\";\n console.log(\"this.combinedPair===>\", this.combinedPair);\n if (this.combinedPair.size < this.noOfFans.length && this.fanSignUpStatus !== 'NONE') {\n this.bannerButtonLabel = this.productDetail.bannerButtonLabelEnroll;\n this.nextPage = \"/productselection\";\n } \n // else if (this.KMEFlag && this.fanSignUpStatus !== 'NONE') {\n // this.bannerButtonLabel = this.productDetail.bannerButtonLabelDashboard;\n // this.nextPage = \"/dashboard/dep\";\n // }\n else if (this.fanSignUpStatus === 'NONE') {\n this.bannerButtonLabel = this.productDetail.bannerButtonLabelEnroll;\n this.nextPage = \"/welcome\";\n } else {\n this.bannerButtonLabel = this.productDetail.bannerButtonLabelDashboard;\n this.nextPage = \"/dashboard/dep\";\n };\n } else if (this.productDetail.id === '5g') { \n this.fivegauthpageflag = true;\n this.show5gImage = true;\n this.urlLocation = location.href;\n\n if (ENV_PORTAL === 'fnabc') {\n this.isFirstnetCustomer = true;\n this.firstnetCustomerErrormessage = this.productDetail.firstNetErrorMessagefirstPart;\n this.firstnetCustomerErrormessage1 = this.productDetail.firstNetErrorMessageSecondPart;\n this.bannerButtonLabel = this.productDetail.bannerButtonLabelDashboard;\n this.nextPage = \"/dashboard/dep\"; \n } \n else if(ENV_PORTAL === 'myatt') {\n this.isMyAttCustomer = true;\n this.myAttCustomerErrormessage = this.productDetail.myAttErrorMessageFirstPart;\n this.myAttCustomerErrormessage1 = this.productDetail.myAttErrorMessageSecondPart;\n }\n else {\n this.bannerButtonLabel = this.productDetail.bannerButtonAuthLabel;\n this.nextPage = \"/fiveg/enrollment\";\n }\n }\n }\n else if (!this.isLoggedIn()) {\n this.bannerButtonLabel = this.productDetail.bannerButtonLabelInitial;\n this.fansAvailable = false;\n this.selectedbox = true;\n }\n }else{\n if (this.productDetail.id === '5g') {\n if(location.href.includes('firstnet')) {\n this.isFirstnetCustomer = true;\n this.firstnetCustomerErrormessage = this.productDetail.firstNetErrorMessagefirstPart;\n this.firstnetCustomerErrormessage1 = this.productDetail.firstNetErrorMessageSecondPart;\n }else if(location.href.includes('stage')){\n this.isMyAttCustomer = true;\n this.myAttCustomerErrormessage = this.productDetail.myAttErrorMessageFirstPart;\n this.myAttCustomerErrormessage1 = this.productDetail.myAttErrorMessageSecondPart;\n }else{\n this.isFirstnetCustomer = false;\n this.isMyAttCustomer = false;\n }\n }\n } \n sessionStorage.setItem('selectedProd', this.productDetail.id);\n this.enrollStatusSubscription = this.authenticationService.getEnrollStatus().subscribe(status => {\n console.log(\"Enroll Status: \" + status);\n this.showABMEnrollLink = status; \n this.showZTEEnrollLink = status;\n this.showKMEEnrollLink = status;\n });\n\n this.filterDetailsArrayABM();\n this.filterDetailsArrayZTE();\n this.filterDetailsArrayKME();\n \n }\n\n filterDetailsArrayABM() {\n if (this.productDetail.id === 'applebusinessmanager' && !this.showABMEnrollLink) {\n this.filteredDetailsArrayABM = this.detailsArrayABM.filter((_, index) => index !== 0 );\n } else {\n this.filteredDetailsArrayABM = this.detailsArrayABM.filter((_, index) => index !== 1 );\n }\n }\n\n filterDetailsArrayKME() {\n if (this.productDetail.id === 'samsungknoxmobile' && !this.showKMEEnrollLink) {\n this.filteredDetailsArrayKME = this.detailsArrayKME.filter((_, index) => index !== 3 );\n } else if (this.productDetail.id === 'applebusinessmanager') {\n this.filterDetailsArrayABM();\n } else if (this.productDetail.id === 'andoidzerotouch') {\n this.filterDetailsArrayZTE();\n } else {\n this.filteredDetailsArrayKME = this.detailsArrayKME.filter((_, index) => index !== 4 );\n }\n }\n\n // filterDetailsArrayKME() {\n // if (this.productDetail.id === 'samsungknoxmobile' && !this.showKMEEnrollLink) {\n // this.filteredDetailsArrayKME = this.detailsArrayKME.filter((_, index) => index !== 3 );\n // } else {\n // this.filteredDetailsArrayKME = this.detailsArrayKME.filter((_, index) => index !== 4 );\n // }\n // }\n\n filterDetailsArrayZTE() {\n if (this.productDetail.id === 'androidzerotouch' && !this.showZTEEnrollLink) {\n this.filteredDetailsArrayZTE = this.detailsArrayZTE.filter((_, index) => index !== 0 );\n } else {\n this.filteredDetailsArrayZTE = this.detailsArrayZTE.filter((_, index) => index !== 1 );\n }\n }\n \n ngAfterViewChecked() {\n let backToLearnFlag = sessionStorage.getItem('backToLearn');\n if (backToLearnFlag == \"true\") {\n let element = document.getElementById(\"subscriptionContent\");\n element.scrollIntoView();\n sessionStorage.setItem('backToLearn', 'false');\n }\n }\n\n isFullLoggedIn() {\n return (sessionStorage.getItem('user') && (JSON.parse(sessionStorage.getItem('user')).user.addpAuthority == 'FULL')) ? true : false;\n }\n\n isNotFullLoggedIn() {\n return (sessionStorage.getItem('user') && (JSON.parse(sessionStorage.getItem('user')).user.addpAuthority != 'FULL')) ? true : false;\n }\n\n isLoggedIn() {\n return sessionStorage.getItem('user') ? true : false;\n }\n\n setSEO(seo: SEO) {\n if (!seo) return;\n if (seo.title) document.title = seo.title;\n if (seo.description)\n document.getElementsByTagName('meta')['description'].content = seo.description;\n }\n\n next() {\n if (this.authenticationService.getUser() === null) {\n this.authenticationService.setLoginSuccessUrl('/learn/' + this.productDetail.id);\n // this.router.navigate(['login']);\n this.authenticationService.setLoginModalStatus(true);\n } else {\n if (this.productDetail.id === 'applebusinessmanager') {\n if (this.abmflag) {\n this.router.navigate([this.nextPage]);\n } else {\n this.detailErrorMessage = this.productDetail.noCIPermissionMessage;\n }\n } else {\n this.router.navigate([this.productDetail.id === '5g' ? \"/fiveg/enrollment\" : this.nextPage]);\n }\n }\n }\n\n tabClick(tab) {\n if (tab === 'Details') {\n if (this.fivegauthpageflag) {\n let el = document.querySelector(\" [id='subscriptionsection']\");\n el.scrollIntoView();\n } else {\n let el = document.querySelector(\" [id='details']\");\n el.scrollIntoView();\n }\n }\n else if (tab === \"Getting Started\") {\n let el = document.querySelector(\" [id='GettingStarted']\");\n el.scrollIntoView();\n }\n else if (tab === 'Easy to Deploy & Manage') {\n let el = document.querySelector(\" [id='easyDeployDetails']\");\n el.scrollIntoView();\n }\n else if (tab === '5G Private Routing FAQ') {\n\n }\n else if (tab === 'Use Cases') {\n let el = document.querySelector(\" [id='usecases-section']\");\n el.scrollIntoView();\n }\n else if (tab === 'Eligibility') {\n let el = document.querySelector(\" [id='details']\");\n el.scrollIntoView();\n } else if (tab === 'System requirements') {\n let el = document.querySelector(\" [id='SystemRequirements']\");\n el.scrollIntoView();\n }\n }\n\n pageNavigate() {\n if (this.authenticationService.getUser() !== null) {\n this.authenticationService.setLoginSuccessUrl('/productConfigurator/' + this.productDetail.id);\n window.location.href = '/businessconsole/login';\n } else {\n this.router.navigate(['productConfigurator/' + this.productDetail.id]);\n }\n }\n\n pageLoadEvent(boolValue: boolean) {\n this.pageloaderService.setPageLoaderStatus(boolValue);\n }\n ngOnDestroy() {\n this.pageloaderService.setPageLoaderStatus(true);\n }\n reset() {\n sessionStorage.clear();\n }\n\n changeEvent($event) {\n if (this.fanSignUpStatus === 'ALL') {\n this.fansAvailable = false;\n }\n\n if ($event.target.checked) {\n this.selectedbox = true;\n }\n else {\n this.selectedbox = false;\n }\n }\n\n scrollUp() {\n this.utilityService.loadFocusOnTop();\n }\n\n toggleTooltip(event) {\n const targetElement = event.target;\n const elems = document.querySelectorAll('.tooltipActive');\n let iselementActive = false;\n if (targetElement.classList.contains('tooltipActive')) {\n iselementActive = true;\n }\n [].forEach.call(elems, function (ele) {\n ele.classList.remove('tooltipActive');\n });\n if (iselementActive) {\n targetElement.classList.remove('tooltipActive');\n } else {\n targetElement.classList.add('tooltipActive');\n }\n }\n\n}\n","\n\n\n\n
\n\n
\n
\n \n
\n

Error

\n

{{detailErrorMessage}}

\n

{{firstnetCustomerErrormessage}} here\n {{firstnetCustomerErrormessage1}}

\n
\n
\n
\n
\n\n
\n
\n \n
\n

Error

\n

{{detailErrorMessage}}

\n

{{myAttCustomerErrormessage}} here\n {{myAttCustomerErrormessage1}}

\n
\n
\n
\n
\n\n
\n
\n
\n
\n \"Banner\n \"Banner\n
\n
\n
\n
\n
\n

\n
\n

\n \n

\n \n

\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \"Banner\n \"Banner\n
\n
\n \"Banner\n \"Banner\n
\n
\n
\n
\n
\n

\n

\n

\n

\n\n

\n \n

\n

\n \n

\n
\n
\n
\n
\n
\n
\n \n\n \n
\n
\n
\n
\n
\n {{tab}}\n
\n
\n
\n
\n
\n
\n \n\n \n
\n
\n
\n
\n
\n {{tab}}\n
\n
\n
\n
\n
\n
\n \n\n \n
\n
{{productDetail.shortDescription}}
\n
\n
\n
{{productDetail.shortDescription1}}\n
\n
\n\n \n
\n

{{productDetail.programsHeading}}

\n
\n\n
\n \n \n

{{program.heading}}

\n
\n

{{program.details}}

\n
\n
\n

{{productDetail.programsNote}}

\n\n\n \n
\n
{{product.gettingStarted}}
\n
{{product.gettingStartedNote}}
\n
\n
\n
\n
\n
\n
\n
\n
\n\n
\n \n\n \n
\n
\n

{{productDetail.benefitsHeading}}

\n
\n
\n
\n
\n \"\"\n \"\"\n
\n
\n
\n
\n
\n \n\n \n
\n
\n

{{productDetail.subscriptionHeading}}

\n

{{productDetail.subscriptionSubHeading}}

\n \n
\n
\n
\n

{{productDetail.subscriptionGroupHeading}}

\n

{{productDetail.subscriptionGroupDesc}}

\n

{{productDetail.starting1}}

\n

{{productDetail.starting}}

\n

{{productDetail.groupPrice}}

\n

{{productDetail.devicesNo}}

\n

{{productDetail.subscriptionPlansGroupBased}}

\n
\n
\n \n
\n
\n
\n
\n

{{productDetail.subscriptionAccountHeading}}

\n

{{productDetail.subscriptionAccountDesc}}

\n

{{productDetail.starting}}

\n

{{productDetail.accountPricing}}

\n
\n

{{plan}}

\n
\n
\n
\n \n
\n
\n
\n
\n

{{productDetail.subscriptionEligibleText}}

\n
\n
\n
\n \n\n \n
\n
\n

{{productDetail.subscriptionHeading}}

\n

{{productDetail.subscriptionSubHeading}}

\n
\n
\n
\n

{{subscription.subscriptionPackageHeading}}

\n

{{subscription.subscriptionPackageSubHead}}

\n
{{productDetail.subscriptionDescHeading}}
\n
{{subscription.subscriptionPackageDesc}}
\n
{{productDetail.subscriptionGoodForHeading}}
\n
\n
{{productDetail.subscriptionFeaturesHeading}}
\n
\n \n \n \n \n \n
\n \n
\n
\n
\n \n
\n
\n
\n
\n

{{productDetail.subscriptionEligibleText}}

\n
\n
\n
\n \n\n \n
\n
{{productDetail.UseCasesHeader}}
\n
{{productDetail.UseCasesDesc}}
\n
\n
\n\n
\n
\n \"\"\n
\n
{{productDetail.RemoteMonitoring.Heading}}
\n \n \n \n
\n
\n
\n
\n\n
\n
\n \n
\n
\n\n
\n
\n \"\"\n
\n
{{productDetail.Transportation.Heading}}
\n \n \n \n
\n
\n
\n
\n
\n
\n \n
\n
\n\n
\n
\n \"\"\n
\n
{{productDetail.Government.Heading}}
\n \n \n \n
\n
\n
\n
\n
\n
\n \n
\n
\n\n
\n
\n \"\"\n
\n
{{productDetail.Medical.Heading}}
\n \n \n \n
\n
\n
\n
\n
\n
\n \n
\n
\n\n
\n
\n \"\"\n
\n
{{productDetail.Retail.Heading}}
\n \n \n \n
\n
\n
\n
\n
\n
\n \n
\n
\n\n
\n
\n \"\"\n
\n
{{productDetail.Sales.Heading}}
\n \n \n \n
\n
\n
\n
\n
\n
\n \n
\n
\n\n
\n \n\n \n
\n
{{productDetail.EasyDeployHeader}}
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
{{productDetail.EasyDeployNote}}
\n
\n
\n
\n
\n \n \n \n\n \n
\n
{{productDetail.detailsHeader}}
\n
{{productDetail.firstNote}}
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n\n\n \n
\n
{{productDetail.systemRequirementHeader}}
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n\n
\n
{{productDetail.moreInfoHeader}}
\n
\n
\n
\n
\n
\n {{productDetail.forMoreInformation1}}\n {{productDetail.forMoreInformation2}}\n \n
\n
\n\n
\n
","export * from './learn.component';\n","import { Component, OnInit, ViewEncapsulation, ChangeDetectorRef, AfterViewInit, ElementRef, ViewChild } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { UtilityService, AuthenticationService, AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';\nimport { BreadCrumbService } from 'lib/ng2-sapmp/src/ui-components/breadcrumb';\nimport { ConfirmModalPopupModel } from 'lib/ng2-sapmp/src/ui-components/confirm-modal';\nimport { GvpVideoComponent } from 'lib/ng2-sapmp/src/ui-components/gvp-video';\nimport { LearnService } from './shared/';\n\nimport { PageLoaderService } from 'lib/ng2-sapmp/src/ui-components/page-loader';\nimport { TabModel, TabComponent } from 'lib/ng2-sapmp/src/ui-components/tab';\nimport { BREADCRUMBS, ADDP_PERMISSION_MAPPING, ADDP_PERMISSION_MAPPING_FNABC } from 'config';\n\nexport const ESCAPE_KEY = 27;\ndeclare var ENV_PORTAL: any;\n\n@Component({\n selector: 'app-learn',\n templateUrl: './learn.component.html',\n styleUrls: ['./learn.component.scss'],\n providers: [LearnService, AdobeAnalyticsService],\n encapsulation: ViewEncapsulation.None\n})\nexport class LearnComponent implements OnInit, AfterViewInit {\n learn: any;\n tabDetails: Array;\n showTab: Boolean;\n user: any;\n permissions: any;\n initModal: any;\n showOverviewModal: boolean;\n permissionLevelMessage: string;\n overviewModalPopup: ConfirmModalPopupModel;\n eventEmit: any;\n modalClass: string;\n videoId: string;\n focusabbleElements: any;\n loginSwitch: boolean = false;\n\n @ViewChild('accessModal') accessModal: ElementRef;\n constructor(private route: ActivatedRoute, private router: Router, private pageloaderService: PageLoaderService,\n private authenticationService: AuthenticationService,\n private learnService: LearnService, private adobeAnalyticsService: AdobeAnalyticsService,\n private utilityService: UtilityService, private changeDetectionRef: ChangeDetectorRef, private breadCrumbService: BreadCrumbService,\n private el: ElementRef) {\n this.pageloaderService.setPageLoaderStatus(false);\n this.permissionLevelMessage = null;\n this.initModal = false;\n this.showOverviewModal = false;\n this.showTab = false;\n this.tabDetails = [];\n this.initOverviewModal();\n }\n\n ngOnInit() {\n // this.breadCrumbService.removeLastBreadCrumb();\n this.breadCrumbService.setStaticBreadCrumbs(this.router.routerState.snapshot.url);\n this.authenticationService.setLoginSuccessUrl(this.router.routerState.snapshot.url);\n this.pageloaderService.setPageLoaderStatus(false);\n this.learnService.getLearnPage(this.utilityService.getEnvConfig().learnPageUrl)\n .subscribe(response => {\n this.learn = response;\n this.breadCrumbService.setCurrentBreadCrumb({ label: 'Device management program', routerLink: '/learn' });\n this.pageloaderService.setPageLoaderStatus(true);\n ({ 'modalRedirect': this.initModal } = this.route.snapshot.queryParams);\n setTimeout(() => { this.loadFocustelements(this.accessModal.nativeElement); });\n if (this.initModal === 'true') {\n this.learnService.createPageLoadProperties('ELIGIBILITYMODAL');\n }\n this.tabDetails = this.learn.template;\n this.showTab = true;\n this.changeDetectionRef.detectChanges();\n }, error => {\n this.pageloaderService.setPageLoaderStatus(true);\n this.handleError(error);\n });\n const pageName = 'learnPage';\n // this.learnService.requestSupportContent(this.utilityService.getEnvConfig().getSupportDocument, pageName).\n // subscribe(res => {\n // this.videoId = res.supportArticles.availableArticle[0].url;\n // });\n this.learnService.createPageLoadProperties('LEARN');\n }\n\n handleError(error) {\n throw error;\n }\n\n ngAfterViewInit() {\n this.user = this.authenticationService.getUser();\n this.permissions = this.authenticationService.getPermissions();\n if(this.user && this.permissions) {\n const perMapping = this.user.addpAuthority + '_' + this.user.fanSignedUpStatus;\n if( ENV_PORTAL === 'fnabc' ){\n this.permissionLevelMessage = ADDP_PERMISSION_MAPPING_FNABC[perMapping].message;\n }else{\n this.permissionLevelMessage = ADDP_PERMISSION_MAPPING[perMapping].message;\n }\n }\n }\n\n closeModal() {\n this.initModal = false;\n setTimeout( () => {\n this.loadFocustelements(document)\n },0);\n this.learnService.createPageLoadProperties('LEARN');\n }\n\n initOverviewModal() {\n this.overviewModalPopup = new ConfirmModalPopupModel();\n this.overviewModalPopup.modalMessage = '';\n this.overviewModalPopup.modalSubHeader = 'Overview Tutorial';\n this.overviewModalPopup.modalHeader = 'Modal Header';\n this.overviewModalPopup.confirmButtonMessage = 'OK';\n this.overviewModalPopup.showCancelButton = false;\n this.modalClass = 'modal-lg';\n }\n\n openOverviewModal() {\n this.showOverviewModal = true;\n this.eventEmit = document.activeElement;\n this.learnService.createPageLoadProperties('ELIGIBILITYMODAL');\n }\n\n closeOverviewModal() {\n this.showOverviewModal = false;\n this.learnService.createPageLoadProperties('LEARN');\n\n }\n\n loadFocustelements(el) {\n if (!this.focusabbleElements) {\n const focusableEls = el.\n querySelectorAll('a[href], area[href],' +\n ' input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), [tabindex=\"0\"]');\n this.focusabbleElements = Array.prototype.slice.call(focusableEls);\n this.focusabbleElements[0].focus();\n }\n }\n\n btnAction(event) {\n this.focusabbleElements = undefined;\n this.closeModal();\n if (event.target) {\n event.target.focus();\n }\n }\n\n handleKeydown(event) {\n if (event.keyCode === ESCAPE_KEY) {\n this.btnAction(false);\n return;\n }\n this.utilityService.handleKeyPress(event, this.focusabbleElements);\n }\n\n checkEligibility() {\n sessionStorage.setItem('eligibilityCheck', 'true');\n this.adobeAnalyticsService.createClickProperties('Check eligibility', 'Body', '/businessconsole/login');\n this.loginSwitch = JSON.parse(sessionStorage.getItem('loginDropdownPopupSwitch'));\n if( this.loginSwitch ){\n this.authenticationService.setLoginModalStatus(true);\n } else{\n this.router.navigate(['login']);\n }\n }\n adobeLinkClick() {\n this.adobeAnalyticsService.createClickProperties('Overview tutorial', 'Body', '/businessconsole/learn');\n }\n getStarted(link){\n this.router.navigate(['manageInventory']);\n }\n}\n","
\n \n
\n
\n
\n

{{learn.authModalHeader.value}}

\n
\n \n
\n
\n\n
\n

{{learn.authModalHeader.value2}}

\n

{{learn.toContinue.value}}

\n

\n
\n\n
\n
\n \n
\n
\n
\n\n
\n
\n
\n
\n
\n \"banner\"\n \"banner\"\n
\n
\n
\n
\n
\n

{{learn.displayName.value}}

\n

{{learn.message.value}}

\n

{{learn.bodyText.value}}

\n
\n
\n\n
\n
\n
\n \n
\n \n \n
\n
\n
\n
\n \n
\n \n
\n {{permissionLevelMessage}}\n
\n \n \n\n
\n \n
\n \n \n \n
\n
\n
\n \n
\n
","export * from './providers/learn.service';\n","import { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { HttpClient, HttpResponse, HttpHeaders } from '@angular/common/http';\nimport { throwError } from 'rxjs';\nimport { HttpClientService, AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';\nimport { ANALYTICS_CONSTANTS } from 'config';\ndeclare var ENV_PORTAL;\n\n@Injectable()\nexport class LearnService {\nheader: string;\n constructor(private http: HttpClient, private httpClientService: HttpClientService,\n private adobeAnalyticsService: AdobeAnalyticsService) { }\n\n getLearnPage(learnPageUrl) {\n return this.httpClientService.get(learnPageUrl)\n .pipe(\n map((res: HttpResponse) => res.body)\n ,catchError( this.handleError ));\n }\n\n createPageLoadProperties(url?) {\n const dataLayer = {};\n if (url === 'ELIGIBILITYMODAL') {\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_LOCATION_URL] = '/virtual/eligibilityerrormodal.html';\n }\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FRIENDLY_PAGE_NAME] = ANALYTICS_CONSTANTS['FRIENDLY_NAME_' + url];\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FLOW_CODE] = ANALYTICS_CONSTANTS.FLOW_CODE_LEARN;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_PAGE_FUNCTION] = 'Other';\n\n if (sessionStorage.getItem('sapmp_jwtToken') != null) {\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_LOGIN_SOURCE] = 'home';\n }\n this.adobeAnalyticsService.tag('page', dataLayer, 'Page_Load', 'pageLoad');\n }\n\n handleError(error) {\n return throwError(error);\n }\n requestSupportContent(id, pageName) {\n return this.httpClientService.get(id + pageName)\n .pipe(\n map((res: HttpResponse) => res.body)\n ,catchError( this.handleError ));\n}\n get_headers() {\n let headers = new HttpHeaders();\n headers = headers.append('Authorization', sessionStorage.getItem('sapmp_jwtToken'));\n return headers;\n}\n}\n\n","export * from './licenses-buy-product.component';\n","import { Component, OnInit, OnDestroy, AfterViewInit } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { FormGroup, Validators, FormBuilder } from '@angular/forms';\nimport {\n ValidationService, AuthenticationService, UtilityService,\n LicensePricingService, AdobeAnalyticsService\n} from 'lib/ng2-sapmp/src/providers';\nimport { FetchCriteriaModel } from 'lib/ng2-sapmp/src/ui-components/custom-grid';\nimport { BreadCrumbModel, BreadCrumbService } from 'lib/ng2-sapmp/src/ui-components/breadcrumb';\nimport { PageLoaderService } from 'lib/ng2-sapmp/src/ui-components/page-loader';\nimport { UserProfileModel } from 'lib/ng2-sapmp/src/models';\nimport { DropdownModel } from 'lib/ng2-sapmp/src/ui-components/dropdown';\nimport { LicensesBuyProductService } from './shared';\nimport { LicensesBuyProductModel, LicensesBackInitModel } from './shared/model';\nimport { DROPDOWN, BREADCRUMBS } from 'config';\nimport { ReviewOrderProductModel } from '../manage-product/review-order-product';\nimport { KEY_CONFIG } from 'lib/ng2-sapmp/src/config/key-config';\nimport { MobilePivotModel } from 'lib/ng2-sapmp/src/ui-components/mobile-pivot/mobile-pivot.model';\n\ndeclare var ENV_VAR: any; // global variable set in env.js file, imported in index.html\ndeclare var logoutCurrentUser: any;\ndeclare var ENV_PORTAL: any;\n\n@Component({\n selector: 'app-licenses-buy-product',\n providers: [ValidationService, LicensesBuyProductService, LicensePricingService],\n templateUrl: './licenses-buy-product.component.html',\n styleUrls: ['./licenses-buy-product.component.scss']\n})\n\nexport class LicensesBuyProductComponent implements OnInit, OnDestroy, AfterViewInit {\n buyProductForm: FormGroup;\n fanNumbers: Array;\n banNumbers: Array;\n breadCrumbs: BreadCrumbModel[];\n ctnNumbers: Array;\n selectedFan: DropdownModel;\n selectedBan: DropdownModel;\n licensesBuyProductModel: LicensesBuyProductModel = new LicensesBuyProductModel();\n reviewOrder: ReviewOrderProductModel;\n dataForBackInit: LicensesBackInitModel;\n selectedCtn: string;\n editFbtn: boolean;\n editBbtn: boolean;\n editCtntn: boolean;\n singleCtn = false;\n shownFan: string;\n banMatch: boolean;\n ctnMatch = false;\n showFanDropDown: boolean;\n showBanDropDown: boolean;\n showCtnDropDown: boolean;\n banSectionEnable: boolean;\n ctnSectionEnable: boolean;\n continueToProdConfig: boolean;\n setError: boolean;\n fanDetails: any = null;\n user: UserProfileModel;\n ErrorMessage: string;\n selectedValueFlag: boolean;\n dropDownPlaceholder: string;\n dropbanDownPlaceholder: string;\n banField: boolean;\n showBan: string;\n invalidFan = false;\n fanMessage: string;\n formErrors = {\n 'ban': '',\n 'ctn': '',\n 'qty': ''\n };\n validationMessages = {\n 'ban': {\n 'pattern': 'Please enter a valid numeric value.'\n },\n 'ctn': {\n 'pattern': 'Enter a wireless number.'\n },\n 'qty': {\n 'required': 'Number of licenses is a required field.',\n 'pattern': 'Please enter a valid numeric value.'\n }\n };\n dataObj = {\n dcmCodes: [],\n quantity: 0\n };\n UpdatedQtyAmt = 0;\n UpdatedQtyCount = 0;\n volumeDiscount = [];\n showVolumeDiscount = false;\n unitPrice = 0;\n pivots: Array;\n fanScetion: boolean;\n priceCountValidated: boolean;\n feeType: string;\n estimatedAmount: number;\n unitTotalEstimatedAmount: number;\n licenseErrorFlag = false;\n licenseError: string ;\n banFlag = false;\n constructor(\n private pageloaderService: PageLoaderService,\n private formBuilder: FormBuilder,\n private validationService: ValidationService,\n private utilityService: UtilityService,\n private licensesBuyProductService: LicensesBuyProductService,\n private authenticationService: AuthenticationService,\n private licensePricingService: LicensePricingService,\n private breadCrumbService: BreadCrumbService,\n private adobeAnalyticsService: AdobeAnalyticsService,\n private router: Router\n ) {\n this.dropDownPlaceholder = 'Select';\n this.pivots = new Array();\n this.estimatedAmount = 0;\n this.unitTotalEstimatedAmount = 0;\n }\n\n ngOnInit() {\n this.pivots.push({ label: 'Console dashboard', routerLink: '/dashboard' });\n this.authenticationService.setLoginSuccessUrl(this.router.routerState.snapshot.url);\n if (sessionStorage.getItem('mappingFanData') === null) {\n this.router.navigate(['/home']);\n }else {\n this.pageloaderService.setPageLoaderStatus(false);\n this.showFanDropDown = true;\n this.buildForm();\n this.user = this.authenticationService.getUser();\n this.banSectionEnable = false;\n this.ctnSectionEnable = false;\n this.showBanDropDown = false;\n this.editFbtn = true;\n this.editBbtn = true;\n this.editCtntn = true;\n this.fanDetails = JSON.parse(sessionStorage.getItem('mappingFanData'));\n const specName = this.fanDetails.key;\n const addRemove = {\n 'label': 'Bill product licenses to a different wireless number',\n 'routerLink': this.router.routerState.snapshot.url\n };\n this.breadCrumbService.setCurrentBreadCrumb(addRemove);\n const tmp_review_data = JSON.parse(sessionStorage.getItem('reviewModel'));\n const tmp_init_data = JSON.parse(sessionStorage.getItem('dataForBackInit'));\n this.buildForm();\n if (this.user && tmp_review_data !== null && tmp_init_data !== null) {\n this.fanNumbers = tmp_init_data.fanNumbers;\n this.banNumbers = tmp_init_data.banNumbers;\n this.ctnNumbers = tmp_init_data.ctnNumbers;\n this.shownFan = tmp_init_data.showFan;\n this.selectedFan = tmp_init_data.selectedFan;\n this.selectedBan = tmp_init_data.selectedBan;\n this.selectedCtn = tmp_init_data.selectedCtn;\n let tempBan: any = this.selectedBan.name ? this.selectedBan.name : this.selectedBan;\n this.showBan = tempBan;\n this.dropDownPlaceholder = tmp_init_data.showFan;\n this.dropbanDownPlaceholder = tempBan;\n this.buyProductForm.get('ban').setValue(tempBan);\n this.buyProductForm.get('qty').setValue(tmp_init_data.increaseQty);\n this.buyProductForm.get('ctn').setValue(this.utilityService.formatTelephoneNumber(tmp_init_data.selectedCtn));\n this.ctnMatch = true;\n this.getFan('backinit');\n this.getBanDetails('backinit');\n this.fanScetion = false;\n this.continueToProdConfig = false;\n } else {\n this.fanScetion = true;\n sessionStorage.removeItem('reviewModel');\n sessionStorage.removeItem('dataForBackInit');\n this.buyProductForm.get('qty').setValue('1');\n this.getUpdatedPricing();\n }\n }\n }\n\n createFanDropDownList(fanNumbers, dropDownList) {\n for (let fan of fanNumbers) {\n // Allowing only unique id\n if (fan !== dropDownList[0].name) {\n let dropdown: DropdownModel = new DropdownModel();\n dropdown.name = fan;\n dropdown.value = fan;\n dropDownList.push(dropdown);\n }\n }\n return dropDownList;\n }\n\n getFan(state) {\n this.pageloaderService.setPageLoaderStatus(false);\n const fanList = this.user.fanList;\n let dropDownList = [{ 'name': 'Select', 'value': '' }];\n this.fanNumbers = this.createFanDropDownList(fanList, dropDownList);\n if (state === 'backinit') {\n if (fanList.length === 1) {\n this.editFbtn = false;\n this.shownFan = fanList[0];\n }\n } else {\n this.pageloaderService.setPageLoaderStatus(true);\n if (fanList.length === 1) {\n this.showFanDropDown = false;\n this.shownFan = fanList[0];\n this.dropbanDownPlaceholder = 'Select';\n this.pageloaderService.setPageLoaderStatus(false);\n this.invalidFan = false;\n this.fanMessage = '';\n this.editFbtn = false;\n this.licensesBuyProductService.validateSelectedFan(this.utilityService.getEnvConfig().getPricingUpdateForDCMcode,\n this.fanDetails.serviceOfferCode, this.buyProductForm.get('qty').value, this.shownFan)\n .subscribe(obj => {\n if (this.selectedBan === undefined) {\n this.getBanDetails('init');\n } else {\n this.pageloaderService.setPageLoaderStatus(true);\n }\n this.updatePriceDetails(obj, Number(this.buyProductForm.get('qty').value));\n }, err => {\n if (err.status === 404) {\n this.pageloaderService.setPageLoaderStatus(true);\n this.setError = false;\n this.invalidFan = true;\n this.fanMessage = 'Bill products using a different wireless number. Contact your administrator for proper permission.';\n }else {\n this.setErrorMessage(err);\n }\n });\n } else {\n this.selectedFan = this.fanNumbers[0];\n }\n }\n }\n\n selected(selectedValue: DropdownModel, selectedItem: string) {\n if (selectedItem === 'fan') {\n this.selectedFan = selectedValue;\n this.dropDownPlaceholder = selectedValue.name;\n } else {\n this.selectedBan = selectedValue;\n this.dropbanDownPlaceholder = selectedValue.name;\n }\n\n if ((this.selectedFan !== undefined && this.selectedFan.value.length !== 0 && selectedItem === 'fan') ||\n (this.selectedBan !== undefined && this.selectedBan.value.length !== 0 && selectedItem === 'ban')) {\n this.selectedValueFlag = true;\n } else {\n this.selectedValueFlag = false;\n }\n }\n\n selectGoFan() {\n if (this.selectedFan.name !== 'Select' && this.selectedFan.name !== '' && this.selectedFan.name !== undefined) {\n this.shownFan = this.selectedFan.name;\n this.dropDownPlaceholder = this.selectedFan.name;\n this.dropbanDownPlaceholder = 'Select';\n this.pageloaderService.setPageLoaderStatus(false);\n this.invalidFan = false;\n this.fanMessage = '';\n this.licensesBuyProductService.validateSelectedFan(this.utilityService.getEnvConfig().getPricingUpdateForDCMcode,\n this.fanDetails.serviceOfferCode, this.buyProductForm.get('qty').value, this.shownFan)\n .subscribe(obj => {\n this.updatePriceDetails(obj, Number(this.buyProductForm.get('qty').value));\n this.showFanDropDown = false;\n this.dropDownPlaceholder = this.selectedFan.name;\n this.initiateBan();\n }, err => {\n this.pageloaderService.setPageLoaderStatus(true);\n if (err.status === 404) {\n this.setError = false;\n this.invalidFan = true;\n this.fanMessage = 'Bill products using a different wireless number. Contact your administrator for proper permission.';\n }else {\n this.setErrorMessage(err);\n }\n });\n }\n }\n\n initiateBan() {\n this.getBanDetails('init');\n setTimeout(function () {\n if ( document.getElementById('ban_input') !== null) {\n document.getElementById('ban_input').focus();\n }\n }, 500);\n }\n\n editFan() {\n this.showFanDropDown = true;\n this.banSectionEnable = false;\n this.ctnSectionEnable = false;\n this.showBanDropDown = false;\n this.showCtnDropDown = false;\n this.ctnMatch = false;\n this.buyProductForm.get('ban').setValue('');\n this.buyProductForm.get('ctn').setValue('');\n this.selectedBan = this.banNumbers[0];\n this.selectedCtn = '';\n this.setError = false;\n this.ErrorMessage = '';\n this.continueToProdConfig = true;\n }\n\n getBanDetails(state) {\n const dropDownList = [];\n this.pageloaderService.setPageLoaderStatus(false);\n this.editBbtn = true;\n this.licensesBuyProductService.getBanDetailsGnFan(this.utilityService.getEnvConfig().getBanUrl, this.shownFan)\n .subscribe(banrespobj => {\n this.setError = false;\n this.ErrorMessage = '';\n this.banSectionEnable = true;\n this.showBanDropDown = true;\n this.pageloaderService.setPageLoaderStatus(true);\n if (state === 'backinit') {\n this.fanScetion = true;\n this.showFanDropDown = false;\n this.showBanDropDown = false;\n this.banNumbers = banrespobj.bansList;\n if (banrespobj.bansList.length === 1) {\n this.editBbtn = false;\n let optedBan = banrespobj.bansList[0].name ? banrespobj.bansList[0].name : banrespobj.bansList[0];\n this.selectedBan = { 'name': optedBan, 'value': optedBan };\n this.showBan = optedBan;\n this.showBanDropDown = false;\n this.buyProductForm.get('ban').setValue(banrespobj.bansList[0]);\n this.banNumbers = banrespobj.bansList;\n } else if (banrespobj.bansList.length <= 15) {\n let dropDownList = [{ 'name': 'Select', 'value': '' }];\n this.banNumbers = this.createFanDropDownList(banrespobj.bansList, dropDownList);\n this.banMatch = false;\n } else {\n this.banNumbers = banrespobj.bansList;\n this.banMatch = false;\n this.banField = true;\n }\n this.getCtnDetails('backinit');\n } else {\n if (banrespobj.bansList.length === 1) {\n this.editBbtn = false;\n this.showBanDropDown = false;\n let optedBan = banrespobj.bansList[0].name ? banrespobj.bansList[0].name : banrespobj.bansList[0];\n this.selectedBan = { 'name': optedBan, 'value': optedBan };\n this.showBan = optedBan;\n this.buyProductForm.get('ban').setValue(banrespobj.bansList[0]);\n this.banNumbers = banrespobj.bansList;\n this.getCtnDetails('init');\n } else if (banrespobj.bansList.length <= 15) {\n let dropDownList = [{ 'name': 'Select', 'value': '' }];\n this.banNumbers = this.createFanDropDownList(banrespobj.bansList, dropDownList);\n this.banMatch = false;\n this.banField = false;\n } else {\n this.banNumbers = banrespobj.bansList;\n this.banMatch = false;\n this.banField = true;\n }\n }\n }, err => {\n this.setErrorMessage(err);\n });\n }\n\n checkBanEntered(event) {\n if (!event || (event && event.keyCode !== KEY_CONFIG.tabKey)) {\n let tmp_ban;\n if (this.banField) {\n tmp_ban = this.buyProductForm.value.ban;\n tmp_ban = { 'name': tmp_ban, 'value': tmp_ban };\n } else {\n tmp_ban = this.selectedBan;\n }\n this.banMatch = false;\n if (this.banNumbers !== undefined && ((this.selectedBan && this.selectedBan.name !== 'Select' && this.selectedBan.name !== '') ||\n (tmp_ban && this.banField))) {\n for (let item of this.banNumbers) {\n if ((item.name ? item.name : item) === tmp_ban.name) {\n this.banMatch = true;\n }\n }\n }\n if (this.banMatch === false) {\n this.setError = true;\n this.ErrorMessage = 'Enter a valid billing account number.';\n this.banFlag = true;\n this.utilityService.loadFocusOnTop();\n } else if (this.banMatch === true) {\n this.setError = false;\n this.ErrorMessage = '';\n this.showBanDropDown = false;\n let optedBan = tmp_ban.name ? tmp_ban.name : tmp_ban;\n this.selectedBan = { 'name': optedBan, 'value': optedBan };\n this.showBan = optedBan;\n this.dropbanDownPlaceholder = optedBan;\n this.getCtnDetails('init');\n }\n }\n }\n\n editBan() {\n this.showBanDropDown = true;\n this.ctnSectionEnable = false;\n this.ctnMatch = false;\n this.setError = false;\n this.ErrorMessage = '';\n this.buyProductForm.get('ctn').setValue('');\n this.continueToProdConfig = true;\n }\n\n getCtnDetails(state) {\n this.pageloaderService.setPageLoaderStatus(false);\n this.ctnSectionEnable = true;\n this.editCtntn = true;\n if (state === 'backinit') {\n this.getUpdatedPricing();\n this.buyProductForm.get('ctn').setValue(this.selectedCtn);\n if (this.ctnNumbers.length === 1) {\n this.editCtntn = false;\n this.singleCtn = true;\n this.matchCtn(event);\n }\n this.pageloaderService.setPageLoaderStatus(true);\n } else {\n this.licensesBuyProductService.getCtnDetailsGnBan(this.utilityService.getEnvConfig().getCtnUrl, this.selectedBan)\n .subscribe(ctnrespobj => {\n this.setError = false;\n this.ErrorMessage = '';\n if (ctnrespobj.ctnList.length === 1) {\n this.ctnNumbers = ctnrespobj.ctnList;\n // making ctnMatch as true is like harding in this scenario\n this.ctnMatch = true;\n this.showCtnDropDown = false;\n this.buyProductForm.get('ctn').setValue(ctnrespobj.ctnList[0]);\n this.selectedCtn = this.utilityService.onBlurFormat(ctnrespobj.ctnList[0], 'dot');\n // this.selectedCtn = ctnrespobj.ctnList[0];\n this.continueToProdConfig = false;\n this.editCtntn = false;\n this.singleCtn = true;\n this.pageloaderService.setPageLoaderStatus(false);\n this.matchCtn(event);\n } else {\n this.ctnNumbers = ctnrespobj.ctnList;\n this.ctnMatch = false;\n this.showCtnDropDown = true;\n }\n this.pageloaderService.setPageLoaderStatus(true);\n if (state === 'backinit') {\n this.getUpdatedPricing();\n }\n }, err => {\n this.setErrorMessage(err);\n });\n }\n }\n\n ctnChange(event) {\n event = Object(event);\n this.setError = false;\n this.ErrorMessage = '';\n if (event) {\n if (event.keyCode === 46) {\n // not to except .\n event.preventDefault();\n }\n if ((event.charCode >= KEY_CONFIG.numericKey0 &&\n event.charCode <= KEY_CONFIG.numericKey9) ||\n event.keyCode === KEY_CONFIG.backSpaceKey ||\n event.type === 'input') {\n this.continueToProdConfig = true;\n }\n } else {\n this.continueToProdConfig = true;\n }\n }\n\n ctnBlur(event) {\n if (event.target.value.match('^[0-9]{1,100}$')) {\n const val = this.utilityService.onBlurFormat(event.target.value, 'dot');\n this.buyProductForm.get('ctn').setValue(val);\n }\n }\n\n ctnFocus(event) {\n const val = this.utilityService.onFocusFormat(event.target.value, 'dot');\n this.buyProductForm.get('ctn').setValue(val);\n }\n\n matchCtn(event) {\n this.pageloaderService.setPageLoaderStatus(false);\n let ctnStatus = '';\n const isDelayed = false;\n if ((!event || (event && event.keyCode === KEY_CONFIG.enter)) || this.singleCtn) {\n const tmp_ctn: string = this.buyProductForm.value.ctn.split('.').join('');\n if (this.ctnNumbers !== undefined) {\n if (this.ctnNumbers.find(data => (data.toString() === tmp_ctn))) {\n ctnStatus = 'matched';\n this.licensesBuyProductModel.class = 'API::ServiceSearchCriteria';\n this.licensesBuyProductModel.serviceOfferCodes = [this.fanDetails.serviceOfferCode];\n this.licensesBuyProductModel.serviceStatus = 'ACTIVE';\n this.licensesBuyProductService.getCtnUniqueValidate(this.user.companyId,\n this.utilityService.getEnvConfig().ctnValidationUrl + '?billingClientId=' + tmp_ctn + '&serviceType=buyWithDifferentCTN',\n this.licensesBuyProductModel)\n .subscribe(ctnObj => {\n if (ctnObj) {\n this.ctnMatch = true;\n } else {\n this.ctnMatch = false;\n ctnStatus = 'ChangeCtn';\n }\n this.selectedCtn = this.utilityService.formatTelephoneNumber(tmp_ctn);\n this.ctnSection(ctnStatus);\n }, err => {\n this.setErrorMessage(err);\n });\n } else {\n this.ctnMatch = false;\n ctnStatus = 'notValid';\n this.ctnSection(ctnStatus);\n }\n }\n } else {\n this.pageloaderService.setPageLoaderStatus(true);\n }\n }\n\n ctnSection(ctnStatus) {\n this.pageloaderService.setPageLoaderStatus(false);\n if (ctnStatus) {\n if (this.ctnMatch === false) {\n this.ErrorMessage = (ctnStatus === 'notValid' || ctnStatus === 'matched') ?\n 'Enter a valid wireless number for the billing account.' :\n (ctnStatus === 'ChangeCtn' && !this.singleCtn) ?\n 'The wireless number you entered already has a license for this product. Please enter a different number.' :\n (ctnStatus === 'ChangeCtn' && this.singleCtn) ?\n 'This wireless number already has a license for this product.' : '';\n this.continueToProdConfig = true;\n this.setError = true;\n if (ctnStatus === 'ChangeCtn' && !this.singleCtn) {\n this.licenseError = 'License already assigned';\n this.licenseErrorFlag = true;\n }\n this.utilityService.loadFocusOnTop();\n } else if (this.ctnMatch === true) {\n this.continueToProdConfig = false;\n this.setError = false;\n this.ErrorMessage = '';\n this.showCtnDropDown = false;\n }\n }\n this.pageloaderService.setPageLoaderStatus(true);\n }\n\n editCtn() {\n this.showCtnDropDown = true;\n this.ctnMatch = false;\n this.continueToProdConfig = true;\n }\n\n getUpdatedPricing() {\n this.setError = false;\n this.ErrorMessage = '';\n this.pageloaderService.setPageLoaderStatus(false);\n let dcmArray = [];\n dcmArray.push(this.fanDetails.serviceOfferCode); // ag4104 remove hard coded code.\n this.dataObj.dcmCodes = dcmArray;\n this.dataObj.quantity = Number(this.buyProductForm.value.qty);\n if (this.shownFan) {\n this.dataObj['fan'] = this.shownFan;\n }\n this.licensePricingService.getPricingDetailsByQty(this.dataObj)\n .subscribe(priceData => {\n this.updatePriceDetails(priceData, this.dataObj.quantity);\n /* this.UpdatedQtyAmt = priceData[0].totalPrice;\n this.UpdatedQtyCount = this.dataObj.quantity;\n this.priceCountValidated = true;\n // this.unitPrice = this.UpdatedQtyAmt / this.dataObj.quantity;\n this.unitPrice = (priceData[0].customPrice) ? priceData[0].customPrice : priceData[0].unitPrice;\n this.estimatedAmount = (priceData[0].applicableDiscount) ? priceData[0].applicableDiscount : 0;\n this.unitTotalEstimatedAmount = (priceData[0].totalPriceWithDiscount) ? priceData[0].totalPriceWithDiscount : 0;\n if (priceData[0].price.length > 0) {\n this.volumeDiscount = priceData[0].price;\n this.volumeDiscount.forEach((value, index) => {\n if (value.customAmount) {\n this.volumeDiscount[index].amount = value.customAmount;\n }\n });\n this.feeType = priceData[0].feeType;\n this.showVolumeDiscount = true;\n } else {\n this.showVolumeDiscount = false;\n } */\n this.pageloaderService.setPageLoaderStatus(true);\n this.getFan('init');\n }, err => {\n this.priceCountValidated = false;\n this.setErrorMessage(err);\n });\n }\n\n checkOutOrder() {\n // Setting Data for back init functionalities\n this.dataForBackInit = new LicensesBackInitModel();\n this.dataForBackInit.fanNumbers = this.fanNumbers;\n this.dataForBackInit.banNumbers = this.banNumbers;\n this.dataForBackInit.ctnNumbers = this.ctnNumbers;\n this.dataForBackInit.showFan = this.shownFan;\n this.dataForBackInit.selectedFan = this.selectedFan;\n this.dataForBackInit.selectedBan = this.selectedBan;\n this.dataForBackInit.selectedCtn = this.selectedCtn;\n this.dataForBackInit.increaseQty = JSON.stringify(this.dataObj.quantity);\n sessionStorage.setItem('dataForBackInit', JSON.stringify(this.dataForBackInit));\n\n // setting data for review order page\n this.reviewOrder = new ReviewOrderProductModel();\n this.reviewOrder.product = this.fanDetails.key;\n this.reviewOrder.fan = this.shownFan;\n this.reviewOrder.ctn = this.selectedCtn;\n this.reviewOrder.ban = this.selectedBan.name;\n this.reviewOrder.initialLicense = this.dataObj.quantity;\n this.reviewOrder.modifiedLicense = this.dataObj.quantity;\n this.reviewOrder.serviceOfferCode = this.fanDetails.serviceOfferCode;\n this.reviewOrder.unitPrice = this.unitPrice;\n this.reviewOrder.initialAmount = this.UpdatedQtyAmt;\n // this.reviewOrder.totalAmount = this.UpdatedQtyAmt;\n this.reviewOrder.totalLicense = this.UpdatedQtyCount;\n this.reviewOrder.unitTotalAmount = this.UpdatedQtyAmt;\n this.reviewOrder.totalAmount = this.unitTotalEstimatedAmount > 0 ? this.unitTotalEstimatedAmount : this.UpdatedQtyAmt;\n this.reviewOrder.estimatedDiscount = this.estimatedAmount;\n this.reviewOrder.type = 'DiffCTN';\n this.reviewOrder.backUrl = 'licensesBuyProduct';\n sessionStorage.setItem('reviewModel', JSON.stringify(this.reviewOrder));\n this.router.navigate(['manageProduct/revieworderproduct']);\n }\n\n setErrorMessage(err) {\n this.pageloaderService.setPageLoaderStatus(true);\n this.setError = true;\n if (err.status === 500) {\n this.ErrorMessage = 'We couldn\\'t complete your request. Please try again later.';\n } else if (err.status === 401) {\n this.ErrorMessage = 'Session expired, Please login again.';\n logoutCurrentUser(true);\n } else if (err.status === 400) {\n if (err.error) {\n this.ErrorMessage = err.error;\n } else if (err.error[0]) {\n this.ErrorMessage = JSON.stringify(err.error[0]);\n } else {\n this.ErrorMessage = 'Can not add more than max-qty';\n }\n } else {\n this.ErrorMessage = 'We couldn\\'t complete your request. Please try again later.';\n }\n this.utilityService.loadFocusOnTop();\n this.adobeAnalyticsService.CreateSeriveAlertProperties(err.status, this.ErrorMessage, 'formResponse');\n }\n\n buildForm(): void { // creating formcontrol as a group that is used as formControlName in html\n\n this.buyProductForm = this.formBuilder.group({\n ban: ['', [\n Validators.pattern('^[0-9]{1,100}$')]],\n ctn: ['', [\n Validators.pattern('^[0-9\\.\\]{1,100}$')]],\n qty: ['', [\n Validators.required,\n Validators.pattern('^[1-9][0-9]{0,4}$')]]\n });\n\n this.validationService.validate(\n this.buyProductForm,\n this.formErrors,\n this.validationMessages);\n }\n\n handleError(error) {\n throw error;\n }\n\n ngAfterViewInit() {\n let dcmCode;\n try {\n dcmCode = this.fanDetails.serviceOfferCode;\n } catch (e) {\n console.log(e);\n }\n this.licensesBuyProductService.createPageLoadProperties(dcmCode,\n this.router.routerState.snapshot.url, 'BC Licenses Buy Product Pg');\n }\n\n private updatePriceDetails(priceData, qty) {\n try {\n this.UpdatedQtyAmt = priceData[0].totalPrice;\n this.UpdatedQtyCount = qty;\n this.priceCountValidated = true;\n this.unitPrice = (priceData[0].customPrice) ? priceData[0].customPrice : priceData[0].unitPrice;\n this.estimatedAmount = (priceData[0].applicableDiscount) ? priceData[0].applicableDiscount : 0;\n this.unitTotalEstimatedAmount = (priceData[0].totalPriceWithDiscount) ? priceData[0].totalPriceWithDiscount : 0;\n if (priceData[0].price.length > 0) {\n this.volumeDiscount = priceData[0].price;\n this.volumeDiscount.forEach((value, index) => {\n if (value.customAmount) {\n this.volumeDiscount[index].amount = value.customAmount;\n }\n });\n this.feeType = priceData[0].feeType;\n this.showVolumeDiscount = true;\n } else {\n this.showVolumeDiscount = false;\n }\n }catch (e) {\n this.priceCountValidated = false;\n console.log('Error in array length');\n let err: any;\n err['status'] = 500;\n this.setErrorMessage(err);\n }\n }\n\n ngOnDestroy() {\n this.pageloaderService.setPageLoaderStatus(true);\n }\n}\n","
\n \n
\n

Buy a product using a different wireless number

\n
\n \n
\n
\n
\n \n
\n
\n

{{licenseError}}

\n

Valid account number needed

\n

{{ErrorMessage}}

\n
\n
\n
\n
\n \n
\n
{{fanMessage}}
\n
\n
\n \n

{{ fanDetails.key }}

\n
\n \n
\n
\n \n \n
\n \n
\n
\n \n
\n
\n \n\n
\n \n \n
\n

{{shownFan}} | Edit

\n
\n
\n
\n \n \n\n
\n \n\n
\n \n \n
\n \n
\n
\n \n
\n
\n {{ formErrors.ban }}\n
\n
\n \n
\n \n
\n
\n \n \n
\n
\n {{ formErrors.ban }}\n
\n
\n
\n \n
\n
\n \n\n
\n \n \n
\n

{{showBan}} | Edit

\n
\n
\n \n \n
\n \n
\n
\n \n \n
\n
\n \n \n
\n
\n {{ formErrors.ctn }}\n
\n
\n
\n \n
\n
\n\n
\n \n \n
\n

{{selectedCtn}} | Edit

\n
\n
\n
\n \n\n \n
\n How many licenses would you like?\n
\n
\n
\n
\n
\n \n
\n
\n {{item.amount | currency:'USD':true:'1.2-3'}} /license\n
\n
0\">\n {{item.amount | currency:'USD':true:'1.2-3'}} /user if > {{item.minQty - 1}}\n
\n
\n
\n
\n \n
\n
\n
\n
\n \n
\n
\n \n
\n
\n {{ formErrors.qty }}\n
\n
\n
\n \n
\n
\n
\n
\n
\n \n
\n\n
\n
\n
\n

Total charges*

\n
{{UpdatedQtyCount}} 1)? 'licenses':'license'\"> @ {{ unitPrice | currency:'USD':true:'1.2-3'\n }}/user
\n
\n
\n
\n

{{ UpdatedQtyAmt | currency:'USD':true:'1.2-3' }} /month

\n \n
\n
\n
\n
\n *Totals are based on estimated charges. Taxes and fees will be calculated for applicable charges. Charges will appear on your billing statement. You may not see any discounts or bill credits subtracted from your charges until you select your billing account on the Checkout page.\n\n
\n
\n \n Cancel\n
\n \n
\n","\nexport * from './providers/licenses-buy-product.service';\n","export * from './licenses-buy-product.model';\nexport * from './licenses-back-init.model';\n\n","\nimport { DropdownModel } from 'lib/ng2-sapmp/src/ui-components/dropdown';\n\nexport class LicensesBackInitModel {\n fanNumbers: Array;\n banNumbers: Array;\n ctnNumbers: Array;\n showFan: string;\n selectedFan: DropdownModel;\n selectedBan: DropdownModel;\n selectedCtn: string;\n increaseQty: string;\n\n constructor() {\n this.fanNumbers = undefined;\n this.banNumbers = undefined;\n this.ctnNumbers = undefined;\n this.selectedCtn = undefined;\n this.increaseQty = undefined;\n }\n}\n","import {FetchCriteriaModel} from 'lib/ng2-sapmp/src/ui-components/custom-grid';\n\nexport class LicensesBuyProductModel {\n class: string;\n fetchCriteria: FetchCriteriaModel;\n serviceOfferCodes: Array;\n serviceStatus: string;\n\n constructor() {\n this.class = undefined;\n this.serviceOfferCodes = undefined;\n this.serviceStatus = undefined;\n }\n}\n","import { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { Router } from '@angular/router';\nimport { throwError } from 'rxjs';\n\nimport { HttpClient, HttpResponse, HttpHeaders } from '@angular/common/http';\nimport { UtilityService, HttpClientService, AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';\nimport { ANALYTICS_CONSTANTS } from 'config';\ndeclare var ENV_PORTAL;\n@Injectable()\nexport class LicensesBuyProductService {\n\n constructor(private http: HttpClient,\n private httpClientService: HttpClientService, private adobeAnalyticsService: AdobeAnalyticsService) { }\n\n validateSelectedFan(getFanDetailService, dcmCode, qty, fan) {\n const fanObj = {};\n var dcmArray = new Array();\n dcmArray.push(dcmCode);\n fanObj['dcmCodes'] = dcmArray;\n fanObj['quantity'] = qty;\n fanObj['fan'] = fan;\n return this.httpClientService.authorizedPost(getFanDetailService, fanObj)\n .pipe(\n map((resp: HttpResponse) => {\n this.httpClientService.updateAuthorizationHeaders(resp);\n return resp.body;\n })\n ,catchError( this.handleError ));\n }\n\n getBanDetailsGnFan(getBanDetailService, fan) {\n const fanObj = {};\n fanObj['fan'] = fan;\n return this.httpClientService.authorizedPost(getBanDetailService, fanObj)\n .pipe(\n map((resp: HttpResponse) => {\n this.httpClientService.updateAuthorizationHeaders(resp);\n return resp.body;\n })\n ,catchError( this.handleError ));\n }\n\n getCtnDetailsGnBan(getCtnDetailService, ban) {\n const banObj = {};\n banObj['ban'] = ban.name;\n return this.httpClientService.authorizedPost(getCtnDetailService, banObj)\n .pipe(\n map((resp: HttpResponse) => {\n this.httpClientService.updateAuthorizationHeaders(resp);\n return resp.body;\n })\n ,catchError( this.handleError ));\n }\n\n getCtnUniqueValidate(companyId, ctnValidateUrl, licensesBuyProductModel) {\n ctnValidateUrl = this.httpClientService.replaceTextInUrl('{companyid}', companyId, ctnValidateUrl);\n return this.httpClientService.authorizedPut(ctnValidateUrl, licensesBuyProductModel)\n .pipe(\n map((resp: HttpResponse) => {\n this.httpClientService.updateAuthorizationHeaders(resp);\n return resp.body;\n })\n ,catchError( this.handleError ));\n }\n\n handleError = (error) => {\n return throwError(error);\n }\n\n // Page Load\n createPageLoadProperties(dcmCode: string, url: string, pageTitle: string) {\n let dataLayer = {};\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FRIENDLY_PAGE_NAME] = pageTitle;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FLOW_CODE] = ANALYTICS_CONSTANTS.FLOW_CODE_LICENSE_MANAGEMNET_INCREASE;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_LANGUAGE] = 'EN';\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_SKU] = dcmCode;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_LOGIN_SOURCE] = 'shoplogin';\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_PAGE_FUNCTION] = 'Service';\n this.adobeAnalyticsService.tag('page', dataLayer, 'Page_Load', 'pageLoad');\n }\n}\n","export { LoginModalComponent } from './login-modal.component';\nexport { LoginModalService } from './login-modal.service';\n","import {\n Component, Input, Output, EventEmitter, OnInit,\n AfterViewInit, AfterViewChecked, ElementRef\n} from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { KEY_CONFIG } from 'lib/ng2-sapmp/src/config/key-config';\nimport { AuthenticationService } from 'lib/ng2-sapmp/src/providers/authentication.service';\nimport { Router } from '@angular/router';\n\n@Component({\n selector: 'login-modal',\n templateUrl: './login-modal.component.html',\n styleUrls: ['./login-modal.component.scss']\n\n})\nexport class LoginModalComponent implements OnInit {\n showLoginModal: boolean = false;\n focusabbleElements: any;\n\n constructor(private el: ElementRef,\n private router: Router,\n private authenticationService: AuthenticationService) {\n }\n\n ngOnInit() {\n console.log(\"login-modal\");\n }\n\n closeOverviewModal() {\n this.authenticationService.setLoginModalStatus(false);\n const loginSuccessUrl = this.authenticationService.getLoginSuccessUrl();\n const navigateTo = loginSuccessUrl ? loginSuccessUrl : 'home';\n if (this.router.url === '/') {\n this.router.navigate([]);\n }\n }\n\n //TODO this is where you set the domain\n loginDirect(portal) {\n this.authenticationService.setLoginModalStatus(false);\n this.authenticationService.loginDirect(portal);\n }\n\n handleKeydown(event) {\n const focussedEl = event.target;\n // if (event.keyCode === KEY_CONFIG.escapeKey) {\n // // this.btnAction();\n // return;\n // }\n if (event.keyCode === KEY_CONFIG.tabKey) {\n if (focussedEl === this.focusabbleElements[this.focusabbleElements.length - 1]) {\n event.preventDefault();\n this.focusabbleElements[0].focus();\n }\n }\n }\n\n loadFocustelements() {\n if (!this.focusabbleElements) {\n const focusableEls = this.el.nativeElement.\n querySelectorAll('a[href], area[href],' +\n ' input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), [tabindex=\"0\"]');\n this.focusabbleElements = Array.prototype.slice.call(focusableEls);\n this.focusabbleElements[0].focus();\n }\n }\n\n}\n"," \n
\n
\n
\n
\n \n
\n

Select your AT&T Business Console service below to log in.

\n \n
\n
\n
\n ","import { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { BehaviorSubject, Observable } from 'rxjs/';\n\n@Injectable()\nexport class LoginModalService {\n private modalStatus = new BehaviorSubject(true);\n public obvStep: Observable = this.modalStatus.asObservable(); // convert to Observable for subscribing\n\n constructor() {\n }\n\n setPageLoaderStatus(value: boolean) {\n this.modalStatus.next(value);\n }\n\n getPageLoaderStatus(): Observable {\n return this.obvStep;\n }\n}\n","export * from './manage-dashboard.component';\n","import { UserSummaryProductModel } from \"./../../models/user-summary/user-summary-product.model\";\nimport { UserSummaryModel } from \"./../../models/user-summary/user-summary.model\";\nimport { KEY_CONFIG } from \"lib/ng2-sapmp/src/config/key-config\";\nimport { Location } from \"@angular/common\";\nimport {\n FormGroup,\n Validators,\n FormControl,\n FormBuilder,\n} from \"@angular/forms\";\nimport {\n Component,\n OnInit,\n ViewChild,\n OnDestroy,\n HostListener,\n ElementRef,\n AfterViewChecked,\n AfterViewInit,\n} from \"@angular/core\";\nimport { map, catchError } from \"rxjs/operators\";\nimport { PageLoaderService } from \"lib/ng2-sapmp/src/ui-components\";\nimport { UtilityService, ValidationService } from \"lib/ng2-sapmp/src/providers\";\nimport { BreadCrumbService } from \"lib/ng2-sapmp/src/ui-components/breadcrumb\";\nimport {\n ManageDashboardService,\n ReportRequestModel,\n MDMDetails,\n} from \"./shared\";\nimport { DonutRangeModel } from \"lib/ng2-sapmp/src/ui-components/charts\";\nimport {\n UserWizardService,\n AuthenticationService,\n AdobeAnalyticsService,\n} from \"lib/ng2-sapmp/src/providers\";\nimport { UserWizardModel, UserProfileModel } from \"lib/ng2-sapmp/src/models\";\nimport { FetchCriteriaModel } from \"lib/ng2-sapmp/src/ui-components/custom-grid\";\nimport { Router, ActivatedRoute } from \"@angular/router\";\nimport { StepIndicatorService } from \"lib/ng2-sapmp/src/ui-components/step-indicator\";\nimport { FormBuilderService } from \"lib/ng2-sapmp/src/ui-components/form-builder/form-builder.service\";\nimport {\n UserSummaryDataService,\n RequestUserSummaryModel,\n} from \"./../user-summary/shared\";\nimport { UserSummaryProdInfoModel, UserManageModel } from \"./../../models/\";\nimport { DonutChartModel } from \"lib/ng2-sapmp/src/ui-components/charts/donut-chart\";\nimport {\n CHART_CONFIG,\n ADDP_PERMISSION_MAPPING,\n ERRCODES,\n ADDP_PERMISSION_MAPPING_FNABC,\n EFOTA_CHART_CONFIG,\n} from \"config\";\nimport { InitialService } from \"./../initial-signup/initial-signup.service\";\nimport { ConfirmModalPopupModel } from \"lib/ng2-sapmp/src/ui-components\";\nimport { HomeService } from \"lib/ng2-sapmp/src/pages/home/shared/providers/home.service\";\n\nexport const COLOR = \"#0568ae\";\nexport const OFFER_COUNT = \"3\";\n\ndeclare var initAriaHidden: any;\ndeclare var removeAriaHidden: any;\ndeclare var ENV_PORTAL: any;\n\n@Component({\n selector: \"app-manage-dashboard\",\n providers: [\n ManageDashboardService,\n FormBuilderService,\n ValidationService,\n StepIndicatorService,\n UserSummaryDataService,\n InitialService,\n HomeService,\n ],\n templateUrl: \"./manage-dashboard.component.html\",\n styleUrls: [\"./manage-dashboard.component.scss\"],\n})\nexport class ManageDashboardComponent\n implements OnInit, OnDestroy, AfterViewChecked, AfterViewInit {\n user_manage_info: UserManageModel;\n formInputData: UserSummaryProdInfoModel;\n requestUserSummaryModel: RequestUserSummaryModel;\n id: string;\n confirmModalPopup: ConfirmModalPopupModel;\n user: UserProfileModel;\n multipleUserFlag: boolean;\n reqObj: any;\n searchFlag: boolean;\n errorMsg = \"\";\n errorMsgCheck: boolean;\n searchResponse: any;\n searchUser: FormGroup;\n focusabbleElements: any;\n usersPopup: boolean;\n productResponse: any;\n userResponse: any;\n rightLabel: string;\n leftLabel: string;\n radius = \"90\";\n fanList: any;\n stroke_width = \"15\";\n values: Array;\n userWizardModel: UserWizardModel;\n reportRequestModel: ReportRequestModel;\n mdmDetails: MDMDetails;\n fetchCriteriaModel: FetchCriteriaModel;\n reviewComponentSuccessMessage = null;\n reviewComponentSuccessMessageFlag = false;\n readyToSetup = false;\n manage_manageusers: string;\n @ViewChild(\"search\") searchElement;\n @ViewChild(\"fullName\") fullNameElement;\n @ViewChild(\"searchName\") searchNameElement;\n donutLabel: string;\n donutLabelText: string;\n donutUserValue: string;\n productResponseValid: boolean;\n userResponseValid: boolean;\n showUsersChartReport: boolean;\n invalidCompanyId: boolean;\n loadComplete: boolean;\n companyNotFound = false;\n modalClass: string;\n showReportPopup = false;\n cancelParticipationRoute: string;\n overviewModalPopup: ConfirmModalPopupModel;\n\n manageInventoryPage: any;\n chartLabel: any;\n chartData: any;\n legendData: any;\n chartRadius = 90;\n strokeWidth = 20;\n startIndex = 0;\n recordsPerPage = 9;\n fanDevicesReq: any;\n isSearch: boolean;\n fanSearch: FormControl;\n fieldPermissions: any;\n smsSent: boolean;\n companyId = 0;\n fanStatus: any;\n dashboardData: any;\n showData: boolean;\n showEfota: boolean = false;\n appleInstalled: any;\n apiError = false;\n hasAddpPermission: boolean;\n hasAmPermission: boolean;\n permissionLevelMessage: string;\n hasAddpFullPermission = false;\n deviceStatus: string;\n emmProductCode: any;\n oemStatus = false;\n userDetail: any;\n manageDeploymentMixedFans: boolean;\n eligibleFanCount: any = 0;\n stringAccount = \"accounts\";\n manageProduct: any;\n accountDetails: any;\n FanLegendCount = 0;\n loaderOtherScenario: boolean = true;\n envPortal: string;\n eventEmit: any;\n activeSigedupFans : any;\n\n enrollMultiplePrograms = 0;\n enrollSingleProgram = 0;\n notEnrolledProgram = 0;\n enrollPendingProgram = 0;\n enrollMultiPendingPrograms = 0;\n sendActiveCount = 0;\n\n public showNotEligible = false;\n public showUnknown = false;\n public errMsgDisplay: any;\n public hrscompleted: boolean;\n\n formErrors = {\n fullName: \"\",\n };\n\n validationMessages = {\n fullName: {\n isNumber: \"Enter a name to search for.\",\n length: \"Enter atleast 3 characters to search\",\n isSpace: \"Enter valid characters to search\",\n },\n };\n efotaFansSummary: any;\n isEfotaEnrolledFanList: boolean;\n noOfReports: any = 0;\n // efotaEnrolledFans = new Array();\n fansActiveCount: number = 0;\n fansNotSignedUpCount: number = 0;\n isAddAccounts: boolean = false;\n isFullPermissionUser: boolean = false;\n isEfotaNotEnrolledFanList: boolean = false;\n hasNotSignedUpFans: boolean = false;\n isEfotaAccountsTileLarge: boolean = false;\n readyToSetupCount: number;\n processingFansCount: any;\n processingFansFlag: boolean = false;\n changeRequests: any;\n formattedDate: string;\n ModifiedDate: any;\n fanDetails: any;\n checkhr: boolean = false;\n activeFanId: any;\n InprogressFanid: any;\n disableRemoveLink: boolean = false;\n emmProductCodeForFan: any;\n initialSingup: any;\n isSingleABMFE: boolean = false;\n signupStatus: any;\n processingFanList_: any = [];\n showDeviceInventoryIfNotSignedUp: boolean = false;\n\n @HostListener(\"window:resize\", [\"$event\"])\n onResize(event) {\n this.tilesHeight();\n }\n\n constructor(\n private route: ActivatedRoute,\n private userSummaryDataService: UserSummaryDataService,\n private formBuilder: FormBuilder,\n private validationService: ValidationService,\n private breadCrumbService: BreadCrumbService,\n private manageDashboardService: ManageDashboardService,\n private utilityService: UtilityService,\n private pageLoaderService: PageLoaderService,\n private userWizardService: UserWizardService,\n private authenticationService: AuthenticationService,\n private router: Router,\n private stepIndicatorService: StepIndicatorService,\n private adobeAnalyticsService: AdobeAnalyticsService,\n private InitialService: InitialService,\n private location: Location,\n private homeService: HomeService,\n private el: ElementRef\n ) {\n this.leftLabel = \"licenses assigned\";\n this.rightLabel = \"\";\n this.values = new Array();\n this.usersPopup = false;\n this.reportRequestModel = new ReportRequestModel();\n this.mdmDetails = new MDMDetails();\n this.reportRequestModel.licenseProvisionStatus = new Array();\n this.fetchCriteriaModel = new FetchCriteriaModel();\n this.errorMsgCheck = false;\n this.manage_manageusers = \"dashboard.manageUser\";\n this.searchFlag = false;\n this.user = new UserProfileModel();\n this.productResponseValid = true;\n this.userResponseValid = false;\n this.invalidCompanyId = true;\n this.loadComplete = false;\n this.userWizardService.removeAssignOrUnassignWizard();\n this.modalClass = \"modal-lg\";\n var elements = document.querySelector(\"#userProfileInfo\");\n elements.style.display = \"inline-block\";\n elements.setAttribute(\"tabindex\", \"1\");\n\n var elements = document.querySelector(\"#hamNav\");\n elements.style.display = \"inline-block\";\n elements.setAttribute(\"tabindex\", \"-1\");\n const userObj = authenticationService.getUser();\n if (userObj) {\n let userName;\n if (\n (userObj.firstName.length == 0 || userObj.firstName == \"NOT_FOUND\") &&\n (userObj.lastName.length == 0 || userObj.lastName == \"NOT_FOUND\")\n ) {\n userName = \"Unknown\";\n } else if (\n userObj.firstName.length > 0 &&\n userObj.firstName != \"NOT_FOUND\" &&\n (userObj.lastName.length == 0 || userObj.lastName == \"NOT_FOUND\")\n ) {\n userName = userObj.firstName;\n } else if (\n (userObj.firstName.length == 0 || userObj.firstName == \"NOT_FOUND\") &&\n userObj.lastName.length > 0 &&\n userObj.lastName != \"NOT_FOUND\"\n ) {\n userName = userObj.lastName;\n } else {\n userName = userObj.firstName + \" \" + userObj.lastName;\n }\n document.getElementsByClassName(\"first-name\")[0].innerHTML = userName;\n }\n let perm = [\"PARTIAL\", \"FULL\", \"READ_ONLY\"];\n const fullPerm = \"FULL\";\n const userPerm = this.authenticationService.getUser().addpAuthority;\n this.hasAddpPermission = perm.indexOf(userPerm) !== -1;\n this.hasAddpFullPermission = fullPerm.includes(userPerm);\n perm = [\"buy_and_manage\", \"buy_only\", \"manage_only\"];\n const userPermAm = this.authenticationService.getUser().permission;\n this.hasAmPermission = perm.indexOf(userPermAm) !== -1;\n this.envPortal = ENV_PORTAL;\n sessionStorage.removeItem(\"dashboarddep\");\n sessionStorage.removeItem(\"dashboardefota\");\n this.location.replaceState(\"dashboard/dep\");\n }\n\n ngOnInit() {\n this.manageDashboardService.getFanDetails().subscribe((respobj) => {\n sessionStorage.setItem(\n \"fanInfoList\",\n JSON.stringify(respobj.fanInfoList)\n );\n if(respobj?.fanInfoList && respobj?.fanInfoList.length > 0){\n if(respobj.initialSignupStatus === \"Not Signed Up\"){\n let enrollStatus_ = respobj?.fanInfoList.map((elm) => elm.accountStatus);\n let fanListData = new Set(enrollStatus_);\n if(fanListData.has(\"SIGNUP_INPROGRESS\") && fanListData.has(\"ACTIVE\")){\n this.showDeviceInventoryIfNotSignedUp = true;\n }else{\n this.showDeviceInventoryIfNotSignedUp = false;\n }\n }\n }\n \n this.checkErrorMsg();\n });\n\n document.title =\n this.utilityService.getPageTitleConfig()[\n this.router.routerState.snapshot.url\n ];\n this.authenticationService.setLoginSuccessUrl(\n this.router.routerState.snapshot.url\n );\n sessionStorage.setItem(\"callingPageName\", \"dashboard\");\n if (this.authenticationService.getUser() === null) {\n // this.router.navigate(['login']);\n window.location.href = \"/businessconsole/login\";\n }\n sessionStorage.setItem(\"cancelCallingBackUrl\", \"/dashboard\");\n this.pageLoaderService.setPageLoaderStatus(false);\n this.user = this.authenticationService.getUser();\n this.noOfReports = 0;\n this.noOfReports = sessionStorage.getItem(\"efotaAlertsCount\");\n this.breadCrumbService.setStaticBreadCrumbs(\"/home\");\n this.breadCrumbService.setCurrentBreadCrumb({\n label: \"AT&T Business Console Dashboard\",\n routerLink: \"/dashboard\",\n });\n //let productUrl = (this.utilityService.getEnvConfig().getStatsTops).replace('{companyid}', this.user.companyId); // move this to service\n //let productstatsurl = productUrl.replace('{offercount}', OFFER_COUNT);\n // this.manageDashboardService.dashboardProducts(productstatsurl)\n // .subscribe(respObj => {\n // this.reviewSuccess();\n // this.productResponse = respObj;\n // if (this.productResponse.length < 1) {\n // this.productResponseValid = false;\n // }\n // const donutUrl = (this.utilityService.getEnvConfig().getStatsUsers).replace('{companyid}', this.user.companyId);\n // this.manageDashboardService.dashboardDonut(donutUrl)\n // .subscribe(respObject => {\n // this.userResponse = respObject;\n // if (this.userResponse) {\n //const donutUrl = (this.utilityService.getEnvConfig().getStatsUsers).replace('{companyid}', this.user.companyId);\n //const contentUrl = this.utilityService.getEnvConfig().contentUrl.dashboard.dashboardData;\n //let contentResponse: any;\n // ------------------------------------ ForkJoin Start--------------------------------------------------//\n\n /*this.manageDashboardService.dashboardData(productstatsurl, donutUrl)\n .subscribe(respObj => {\n this.reviewSuccess();\n this.productResponse = respObj[0];\n if (this.productResponse.length < 1) {\n this.productResponseValid = false;\n }\n // donut code starts\n this.userResponse = respObj[1];\n // this.dashboardData = respObj[2];\n if (this.userResponse.length !== 0) {\n const value = (this.userResponse.totalEmployeesWithLicense / this.userResponse.totalEmployees) * 100;\n const donutRange = new DonutRangeModel();\n donutRange.range = value;\n donutRange.color = COLOR;\n this.donutLabel = 'of ' + this.userResponse.totalEmployees + ' users have';\n this.donutLabelText = 'licenses';\n this.donutUserValue = this.userResponse.totalEmployeesWithLicense;\n this.values.push(donutRange);\n this.userResponseValid = true;\n this.showUsersChartReport = true;\n if (this.userResponse.totalEmployees === 0) {\n this.showUsersChartReport = false;\n }\n }\n if (this.hasAddpPermission === false) {\n this.pageLoaderService.setPageLoaderStatus(true);\n }\n // }, error => {\n // this.pageLoaderService.setPageLoaderStatus(true);\n // this.adobeAnalyticsService.CreateSeriveAlertProperties(error.status, error.statusText, 'formResponse');\n // this.handleError(error);\n // });\n this.invalidCompanyId = false;\n // this.pageLoaderService.setPageLoaderStatus(true);\n }, error => {\n // this.pageLoaderService.setPageLoaderStatus(true);\n this.productResponseValid = false;\n if (error.status === 400) {\n if (error.error[0].errorDescription.indexOf('COMPANY_NOT_FOUND') !== -1) {\n // this.errorMsg = 'No company found. Please place an order to manage products.';\n this.companyNotFound = true;\n this.invalidCompanyId = true;\n } else {\n this.invalidCompanyId = false;\n this.errorMsg = 'We couldn\\'t complete your request. Please try again later.';\n }\n }\n this.pageLoaderService.setPageLoaderStatus(true);\n this.utilityService.loadFocusOnTop();\n this.adobeAnalyticsService.CreateSeriveAlertProperties(error.status, error.statusText, 'formResponse');\n this.handleError(error, 'FETCH_PAGE');\n });*/\n this.buildForm();\n this.manageDashboardService.createPageLoadProperties(\n this.router.routerState.snapshot.url,\n \"Dashboard\"\n );\n\n //this.manageDashboardService.getDashboardContent(this.utilityService.getEnvConfig().contentUrl.dashboard.dashboardData).\n //subscribe(respobj => {\n //this.dashboardData = respobj;\n let child = this.route.snapshot.url[0].path;\n this.showEfota = child === \"efota\";\n this.dashboardData = this.route.snapshot.data.pageData[\"dashboard\" + child];\n this.dashboardData.useMock = this.utilityService.getEnvConfig().useMock;\n // this.dashboardData.useMock = true;\n this.initPage();\n this.accountDetails = JSON.parse(sessionStorage.getItem(\"mdmDetails\"));\n this.manageProduct = sessionStorage.getItem(\"manage-product\");\n this.isFullPermissionUser = this.hasFullPermission();\n this.tilesHeight();\n }\n\n checkErrorMsg() {\n let currentDate = new Date();\n let str: string = sessionStorage?.fanInfoList;\n let arr = str && str != \"undefined\" ? JSON.parse(str) : [];\n let fanlistInProgress = arr.filter(\n (data) => data.accountStatus === \"ACTIVE\"\n );\n this.fanDetails = fanlistInProgress.map((data) => {\n var parts = data.modifiedDate\n ? data.modifiedDate.split(/[- .:]+/)\n : !data.modifiedDate && data.createdDate\n ? data.createdDate.split(/[- .:]+/)\n : null;\n var day = parseInt(parts[0]);\n var month = parts[1];\n var year = parseInt(parts[2]);\n var hour = parseInt(parts[3]);\n var minute = parseInt(parts[4]);\n var second = parseInt(parts[5]);\n // Create the date object in GMT\n var date = new Date(\n Date.UTC(year, this.getMonthIndex(month), day, hour, minute, second)\n );\n // Convert to India Standard Time\n date.setMinutes(date.getMinutes() + date.getTimezoneOffset() + 330);\n let modifiedfanDate = date;\n const msBetweenDates = Math.abs(\n modifiedfanDate.getTime() - currentDate.getTime()\n );\n const hoursBetweenDates = msBetweenDates / (60 * 60 * 1000);\n this.checkhr = hoursBetweenDates <= 24 ? true : false;\n return this.checkhr ? data.fan : null;\n });\n let onedayActiveFans = this.fanDetails.filter((data) => data != null);\n let activeFan = [...new Set(onedayActiveFans)];\n this.activeFanId = activeFan.join(\", \");\n this.errMsgDisplay =\n fanlistInProgress.length >= 1 && this.activeFanId.length >= 1\n ? true\n : false;\n }\n\n // Helper function to convert month abbreviation to index\n getMonthIndex(month: string): number {\n const months = [\n \"Jan\",\n \"Feb\",\n \"Mar\",\n \"Apr\",\n \"May\",\n \"Jun\",\n \"Jul\",\n \"Aug\",\n \"Sep\",\n \"Oct\",\n \"Nov\",\n \"Dec\",\n ];\n return months.findIndex((m) => m === month);\n }\n\n ngAfterViewChecked() {\n this.tilesHeight();\n }\n\n hasFullPermission() {\n return sessionStorage.getItem(\"user\") &&\n JSON.parse(sessionStorage.getItem(\"user\")).user.addpAuthority == \"FULL\"\n ? true\n : false;\n }\n\n tilesHeight() {\n const addpDashboardContainer = this.el.nativeElement.getElementsByClassName(\n \"addp-dashboard-container\"\n );\n if (addpDashboardContainer.length) {\n if (window.innerWidth <= 1024) {\n addpDashboardContainer[0].style.height = \"auto\";\n addpDashboardContainer[0].classList.remove(\"height-set\");\n } else {\n addpDashboardContainer[0].style.height =\n addpDashboardContainer[0].clientHeight + \"px\";\n addpDashboardContainer[0].classList.add(\"height-set\");\n }\n }\n\n const deviceContainer = document.getElementsByClassName(\n \"device-status-container\"\n )[0];\n const fanContainer = document.getElementsByClassName(\n \"fan-status-container\"\n )[0];\n const reportContainer =\n document.getElementsByClassName(\"report-container\")[0];\n\n if (!fanContainer && !reportContainer && deviceContainer) {\n addpDashboardContainer[0].style.height = \"auto\";\n addpDashboardContainer[0].classList.remove(\"height-set\");\n }\n\n if (\n addpDashboardContainer[0] &&\n addpDashboardContainer[0].firstElementChild &&\n addpDashboardContainer[0].firstElementChild.firstElementChild\n .classList[1] !== \"device-status-container\"\n ) {\n if (addpDashboardContainer.length && window.innerWidth >= 1025) {\n addpDashboardContainer[0].style.height =\n addpDashboardContainer[0].clientHeight + \"px\";\n addpDashboardContainer[0].classList.add(\"height-set\");\n }\n }\n }\n\n ngAfterViewInit() {\n if (!this.hasAddpPermission) {\n const perMapping =\n this.user.addpAuthority + \"_\" + this.user.fanSignedUpStatus;\n if (ENV_PORTAL === \"fnabc\") {\n this.permissionLevelMessage =\n ADDP_PERMISSION_MAPPING_FNABC[perMapping].message;\n } else {\n this.permissionLevelMessage =\n ADDP_PERMISSION_MAPPING[perMapping].message;\n }\n }\n }\n\n // ngDoCheck() {\n // this.breadCrumbService.removeBreadCrumbs();\n // this.breadCrumbService.setStaticBreadCrumbs(this.router.routerState.snapshot.url);\n // //this.breadCrumbService.setCurrentBreadCrumb({ label: 'Home', routerLink: '/home' });\n // this.breadCrumbService.setCurrentBreadCrumb({ label: 'AT&T Business Console Dashboard', routerLink: '/dashboard' });\n // }\n\n redirectToHome() {\n this.router.navigate([\"/home\"]);\n }\n buildForm(): void {\n this.searchUser = this.formBuilder.group({\n fullName: [\"\", [this.manageDashboardService.checkLength]],\n });\n this.validationService.validate(\n this.searchUser,\n this.formErrors,\n this.validationMessages\n );\n }\n\n assignUnassignWizard() {\n this.userWizardModel = new UserWizardModel();\n this.userWizardModel.previousUrl = \"/dashboard\";\n this.userWizardService.addAssignOrUnassignWizard(this.userWizardModel);\n this.utilityService.setSuccessMessage(null);\n this.router.navigate([\"/manageUsers\"]);\n }\n goToManage() {\n this.utilityService.setSuccessMessage(null);\n this.breadCrumbService.changeSessionSource(\"managedashboard\");\n this.router.navigate([\"/manage\"]);\n }\n\n goToBulkUpload() {\n this.utilityService.setSuccessMessage(null);\n sessionStorage.setItem(\"bulk-previousRoute\", \"/dashboard\");\n sessionStorage.setItem(\"bulk-sourcePreviousRoute\", \"/dashboard\");\n this.stepIndicatorService.removeStep(\"bulkUsers\");\n this.router.navigate([\"/bulkUsers\"]);\n }\n\n searchUsers(event, focusable) {\n this.reviewComponentSuccessMessageFlag = false;\n this.utilityService.setSuccessMessage(null);\n if (this.searchUser.value.fullName !== \"\") {\n this.pageLoaderService.setPageLoaderStatus(false);\n this.errorMsg = \"\";\n this.multipleUserFlag = false;\n const searchValue = this.searchUser.value.fullName;\n const serviceUrl =\n this.utilityService.getEnvConfig().searchUsersUrl +\n this.user.companyId +\n \"/employees/textSearch\";\n let requestBody = {};\n requestBody[\"searchValue\"] = searchValue;\n requestBody[\"fetchCriteria\"] = { limit: 20, offset: 0 };\n this.manageDashboardService\n .searchUserService(serviceUrl, requestBody)\n .subscribe(\n (response) => {\n this.searchResponse = response.dataJson;\n if (this.searchResponse !== undefined) {\n if (this.searchResponse.length > 1) {\n this.multipleUserFlag = true;\n }\n this.errorMsgCheck = true;\n this.usersPopup = true;\n setTimeout(() => {\n document.getElementById(\"usersPopup\");\n });\n this.pageLoaderService.setPageLoaderStatus(true);\n setTimeout(() => {\n document.getElementById(\"modalHeading\").focus();\n });\n } else {\n this.errorMsgCheck = false;\n this.usersPopup = true;\n setTimeout(() => {\n document.getElementById(\"usersPopup\");\n });\n this.pageLoaderService.setPageLoaderStatus(true);\n setTimeout(() => {\n document.getElementById(\"modalHeading\").focus();\n });\n }\n },\n (error) => {\n this.pageLoaderService.setPageLoaderStatus(true);\n this.adobeAnalyticsService.CreateSeriveAlertProperties(\n error.status,\n error.statusText,\n \"formResponse\"\n );\n this.handleError(error, \"FETCH_USERS\");\n }\n );\n }\n }\n\n displayUserDetails(data, index) {\n this.utilityService.setSuccessMessage(null);\n this.pageLoaderService.setPageLoaderStatus(false);\n this.id = data.clientId;\n this.requestUserSummaryModel = new RequestUserSummaryModel();\n this.userSummaryDataService.setUserManageToSession(this.id, {\n productName: \"Workspace\",\n });\n const userNewObj = this.userSummaryDataService.getUserManageFromSession(\n this.id\n );\n userNewObj.user_info = new UserSummaryModel();\n userNewObj.user_info.contactNumber = this.searchResponse[index].phoneNumber;\n userNewObj.user_info.displayName = this.searchResponse[index].displayName;\n userNewObj.user_info.email = this.searchResponse[index].email;\n userNewObj.user_info.firstName = this.searchResponse[index].firstName;\n userNewObj.user_info.id = this.searchResponse[index].clientId;\n userNewObj.user_info.lastName = this.searchResponse[index].lastName;\n userNewObj.userSummaryProductModelArr = [];\n const url =\n this.utilityService.getEnvConfig().getManageUserCtnUrl +\n this.user.companyId +\n \"/licenses/\";\n this.requestUserSummaryModel.employeeClientIdList.push(this.id);\n this.requestUserSummaryModel.fetchCriteria = {\n class: \"API::SepPagingLoadConfig\",\n limit: 20,\n offset: 0,\n sortField: \"id\",\n };\n this.userSummaryDataService\n .getInfo(url, this.requestUserSummaryModel)\n .subscribe(\n (respobj) => {\n if (respobj !== undefined && respobj.dataJson !== undefined) {\n this.errorMsg = \"\";\n this.formInputData = this.userSummaryDataService.formatData(\n respobj,\n userNewObj.user_info\n );\n this.user_manage_info = new UserManageModel();\n this.user_manage_info =\n this.userSummaryDataService.getUserManageFromSession(this.id);\n const new_obj =\n this.userSummaryDataService.getUserManageFromSession(this.id);\n new_obj.user_info = new UserSummaryModel();\n new_obj.user_info = this.formInputData.userInfo;\n new_obj.userSummaryProductModelArr = [];\n new_obj.userSummaryProductModelArr =\n this.formInputData.userSummaryProductModelArr;\n this.userSummaryDataService.setUserManageToSession(\n this.id,\n new_obj\n );\n document.body.classList.remove(\"modal-open\");\n removeAriaHidden();\n this.pageLoaderService.setPageLoaderStatus(true);\n this.router.navigate([\"user/summary/\" + this.id]);\n } else {\n this.focusabbleElements = undefined;\n this.usersPopup = false;\n this.userSummaryDataService.setUserManageToSession(\n this.id,\n userNewObj\n );\n document.body.classList.remove(\"modal-open\");\n removeAriaHidden();\n this.pageLoaderService.setPageLoaderStatus(true);\n this.router.navigate([\"user/summary/\" + this.id]);\n }\n },\n (error) => {\n this.adobeAnalyticsService.CreateSeriveAlertProperties(\n error.status,\n error.statusText,\n \"formResponse\"\n );\n this.handleError(error, \"FETCH_USER_DETAILS\");\n }\n );\n }\n\n searchAgain() {\n this.usersPopup = false;\n document.body.classList.remove(\"modal-open\");\n removeAriaHidden();\n this.buildForm();\n setTimeout(() => {\n this.fullNameElement.nativeElement.focus();\n });\n }\n\n cancel(event) {\n this.focusabbleElements = undefined;\n this.usersPopup = false;\n document.body.classList.remove(\"modal-open\");\n removeAriaHidden();\n setTimeout(() => {\n this.searchNameElement.nativeElement.focus();\n });\n }\n\n btnAction(event) {\n this.focusabbleElements = undefined;\n if (event.target) {\n event.target.focus();\n }\n }\n\n loadFocustelements() {\n if (this.usersPopup) {\n document.body.classList.add(\"modal-open\");\n initAriaHidden();\n if (!this.focusabbleElements) {\n const focusableEls = this.searchElement.nativeElement.querySelectorAll(\n \"a[href], area[href],\" +\n ' input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), [tabindex= \"0\"]'\n );\n this.focusabbleElements = Array.prototype.slice.call(focusableEls);\n this.focusabbleElements[0].focus();\n }\n }\n }\n\n handleKeydown(event) {\n if (event.keyCode === KEY_CONFIG.escapeKey) {\n this.btnAction(event);\n return;\n }\n this.utilityService.handleKeyPress(event, this.focusabbleElements);\n }\n\n getReport(type) {\n this.manageDashboardService.dashboardReport(\n this.utilityService.getEnvConfig().getStatsReport,\n type\n );\n this.pageLoaderService.setPageLoaderStatus(true);\n }\n reviewSuccess() {\n if (\n sessionStorage.getItem(\"previousRoute\") === \"/manageUsers/review\" &&\n this.utilityService.getSuccessMessage() != null\n ) {\n this.reviewComponentSuccessMessageFlag = true;\n this.reviewComponentSuccessMessage =\n this.utilityService.getSuccessMessage();\n this.utilityService.loadFocusOnTop();\n } else {\n this.reviewComponentSuccessMessageFlag = false;\n }\n }\n\n updateFanSignedUpStatus(fansSummary) {\n let fanSignedUpStatus = \"NONE\";\n if (fansSummary) {\n const signedUpFansCount = fansSummary.filter((f) => {\n return f.status === \"ACTIVE\" || f.status === \"READY_TO_SETUP\";\n }).length;\n const notSignedUpFansCount = fansSummary.filter((f) => {\n return f.status === \"PROCESSING\" || f.status === \"AWAITING_SIGNUP\";\n }).length;\n if (signedUpFansCount > 0 && notSignedUpFansCount > 0) {\n fanSignedUpStatus = \"SOME\";\n } else if (signedUpFansCount > 0 && notSignedUpFansCount === 0) {\n fanSignedUpStatus = \"ALL\";\n } else {\n fanSignedUpStatus = \"NONE\";\n }\n }\n this.user.fanSignedUpStatus = fanSignedUpStatus;\n this.authenticationService.setUser(this.user);\n }\n\n initPage(scenarios?) {\n if (typeof scenarios !== \"undefined\") {\n this.companyId = scenarios;\n }\n\n this.showData = false;\n this.readyToSetup = false;\n // this.pageLoaderService.setPageLoaderStatus(false);\n let processingFans = JSON.parse(\n sessionStorage.getItem(\"processingFanList\")\n );\n this.processingFansCount = JSON.parse(\n sessionStorage.getItem(\"processingFanList\")\n )\n ? processingFans.length: 0;\n \n \n\n this.chartData = {};\n this.legendData = {};\n this.chartLabel = {};\n this.manageDeploymentMixedFans = false;\n this.manageDashboardService.getFanStatusSummary(this.companyId).subscribe(\n (respobj) => {\n // if(respobj.noOfFans == 0 && respobj.noOfDevices == 0 && respobj.allFansInEligible === true){\n // this.user.fanSignedUpStatus = 'Unknown';\n // this.showUnknown = true;\n // this.showNotEligible = false;\n // }\n\n if(respobj?.fanInfoList && respobj?.fanInfoList.length > 0){\n this.processingFanList_ = respobj?.fanInfoList.filter((f) => {\n return (f.accountStatus === \"PROCESSING\" || f.accountStatus === \"SIGNUP_INPROGRESS\");\n });\n\n if(this.processingFansCount == 0){\n this.processingFansCount = this.processingFanList_.length;\n }\n \n if (this.processingFansCount >= 1) {\n this.processingFansFlag = true;\n }\n }\n\n sessionStorage.setItem(\n \"fanInfoList\",\n JSON.stringify(respobj.fanInfoList)\n );\n\n // let signupActiveFanList = [];\n // if (respobj.fansSummary.length > 0) {\n // let signupFanSum = respobj.fansSummary;\n // for (let i = 0; i < signupFanSum.length; i++) {\n // if (signupFanSum[i].status == \"ACTIVE\") {\n // for (let j = 0; j < signupFanSum[i].count; j++) {\n // signupActiveFanList.push(signupFanSum[i].fans[j]);\n // }\n // }\n // }\n // }\n // sessionStorage.setItem('signupActiveFanList', JSON.stringify(signupActiveFanList));\n // this.activeSigedupFans = signupActiveFanList;\n\n // if(ENV_PORTAL.toUpperCase() === \"DMPADMIN\") {\n // if (sessionStorage.getItem('iv-user') && this.sendActiveCount === 0) {\n // const ivuser = sessionStorage.getItem('iv-user');\n // this.sendActiveCount++\n // let fanSessionData = {\n // sessionID: sessionStorage.getItem('sessionId'),\n // fan: \"\",\n // };\n // let signupActiveFanList = this.activeSigedupFans;\n // signupActiveFanList = signupActiveFanList?.filter((item, index) => {\n // return signupActiveFanList.indexOf(item) === index;\n // });\n // for (let i = 0; i < signupActiveFanList?.length; i++) {\n // fanSessionData.fan = signupActiveFanList[i];\n // this.homeService.triggerActiveFans(fanSessionData)\n // .subscribe((resp) => {\n // }, error => {\n // this.handleError(error);\n // });;\n // }\n // }\n // }\n\n if (respobj.fanInfoList && respobj.fanInfoList.length > 0 && respobj.noOfFans == 1) {\n // respobj.fanInfoList.forEach((elm) => {\n // this.emmProductCodeForFan = elm.emmProductCode;\n // this.signupStatus = elm.accountStatus;\n\n // if(this.emmProductCodeForFan == \"DMPAABM\" && this.signupStatus == \"SIGNUP_INPROGRESS\") {\n // this.isSingleABMFE = true;\n // }\n // else {\n // this.isSingleABMFE = false;\n // }\n // });\n let data = new Set(respobj.fanInfoList.map((elm) => elm.accountStatus));\n if ((data.has(\"SIGNUP_INPROGRESS\") && data.has(\"INACTIVE\") && data.has(\"ACTIVE\")) || (data.has(\"SIGNUP_INPROGRESS\") && data.has(\"ACTIVE\")) || (data.has(\"INACTIVE\") && data.has(\"ACTIVE\"))) {\n this.isSingleABMFE = false;\n } else if ((data.has(\"SIGNUP_INPROGRESS\") && data.has(\"INACTIVE\")) || (data.size == 1 && data.has(\"SIGNUP_INPROGRESS\"))) {\n this.isSingleABMFE = true;\n }\n }\n\n if (respobj.fansSummary && respobj.fansSummary.length > 0) {\n let signupFanSum = respobj.fansSummary;\n let signupFanList = [];\n let processingFanList = [];\n for (let i = 0; i < signupFanSum.length; i++) {\n if (signupFanSum[i].status == \"AWAITING_SIGNUP\") {\n for (let j = 0; j < signupFanSum[i].count; j++) {\n signupFanList.push(signupFanSum[i].fans[j]);\n }\n }\n }\n sessionStorage.setItem(\n \"signupFanList\",\n JSON.stringify(signupFanList)\n );\n //for 'processing' fans\n for (let i = 0; i < signupFanSum.length; i++) {\n if (signupFanSum[i].status == \"PROCESSING\") {\n for (let j = 0; j < signupFanSum[i].count; j++) {\n //processingFanList.push(signupFanSum[i].fans[j]);\n //getting fan info of 'processing' fan to store in session storage\n for (let k = 0; k < respobj.fanInfoList.length; k++) {\n if (signupFanSum[i].fans[j] === respobj.fanInfoList[k].fan) {\n processingFanList.push(respobj.fanInfoList[k]);\n }\n }\n }\n }\n }\n sessionStorage.setItem(\n \"processingFanList\",\n JSON.stringify(processingFanList)\n );\n }\n this.efotaFansSummary = respobj.efotaFansSummary;\n if (this.efotaFansSummary) {\n for (let i = 0; i < this.efotaFansSummary.length; i++) {\n if (this.efotaFansSummary[i].status == \"ACTIVE\") {\n this.fansActiveCount = this.efotaFansSummary[i].count;\n }\n if (this.efotaFansSummary[i].status == \"AWAITING_SIGNUP\") {\n this.fansNotSignedUpCount = this.efotaFansSummary[i].count;\n }\n }\n if (this.efotaFansSummary.length > 2) {\n this.isEfotaAccountsTileLarge = true;\n }\n }\n this.isEfotaEnrolledFanList =\n this.efotaFansSummary && this.efotaFansSummary.length > 0\n ? true\n : false;\n this.isEfotaNotEnrolledFanList =\n respobj.efotaNotEnrolledFanList &&\n respobj.efotaNotEnrolledFanList.length > 0\n ? true\n : false;\n if (\n !this.isFullPermissionUser ||\n (this.isFullPermissionUser && this.fansNotSignedUpCount === 0)\n ) {\n this.isAddAccounts = true;\n }\n if (this.fansNotSignedUpCount > 0) {\n this.hasNotSignedUpFans = true;\n }\n if (\n respobj.initialSignupStatus === \"Not Signed Up\" &&\n this.processingFansCount >= 1\n ) {\n this.buildChartData(\n respobj.initialSignupStatus,\n respobj.fanInfoList,\n \"accounts\",\n this.stringAccount,\n respobj.fansSummary\n );\n }\n if (this.efotaFansSummary) {\n this.buildChartData(\n respobj.initialSignupStatus,\n respobj.efotaFansSummary,\n \"efotaAccounts\",\n this.stringAccount,\n \"\"\n );\n }\n\n this.changeRequests = respobj.efotaChangeRequestSummary;\n this.buildChartData(\n \"all\",\n this.changeRequests,\n \"changeRequest\",\n \"Change Requests\",\n \"\"\n );\n this.buildChartData(\"\", \"\", \"reportRequest\", \"New Reports\", \"\");\n\n if (this.user.fanSignedUpStatus === \"Error\") {\n sessionStorage.setItem(\n \"initialSignupStatus\",\n respobj.initialSignupStatus\n );\n sessionStorage.setItem(\"noOfDevice\", respobj.noOfDevices);\n if (respobj.fansSummary.length > 0) {\n let signupFanSum = respobj.fansSummary;\n let signupFanList = [];\n let processingFanList = [];\n for (let i = 0; i < signupFanSum.length; i++) {\n if (signupFanSum[i].status == \"AWAITING_SIGNUP\") {\n for (let j = 0; j < signupFanSum[i].count; j++) {\n signupFanList.push(signupFanSum[i].fans[j]);\n }\n }\n }\n sessionStorage.setItem(\n \"signupFanList\",\n JSON.stringify(signupFanList)\n );\n //for 'processing' fans\n for (let i = 0; i < signupFanSum.length; i++) {\n if (signupFanSum[i].status == \"PROCESSING\") {\n for (let j = 0; j < signupFanSum[i].count; j++) {\n //processingFanList.push(signupFanSum[i].fans[j]);\n //getting fan info of 'processing' fan to store in session storage\n for (let k = 0; k < respobj.fanInfoList.length; k++) {\n if (\n signupFanSum[i].fans[j] === respobj.fanInfoList[k].fan\n ) {\n processingFanList.push(respobj.fanInfoList[k]);\n }\n }\n }\n }\n }\n sessionStorage.setItem(\n \"processingFanList\",\n JSON.stringify(processingFanList)\n );\n }\n if (!respobj.efotaFansSummary) {\n sessionStorage.setItem(\"efotaEnrolledFanList\", \"[]\");\n } else {\n let efotaFansSum = respobj.efotaFansSummary;\n let efotaEnrolledFanList = [];\n for (let i = 0; i < efotaFansSum.length; i++) {\n if (efotaFansSum[i].status == \"ACTIVE\") {\n for (let j = 0; j < efotaFansSum[i].count; j++) {\n efotaEnrolledFanList.push(efotaFansSum[i].fans[j]);\n }\n }\n }\n sessionStorage.setItem(\n \"efotaEnrolledFanList\",\n JSON.stringify(efotaEnrolledFanList)\n );\n }\n if (!respobj.efotaNotEnrolledFanList) {\n sessionStorage.setItem(\"efotaNotEnrolledFanList\", \"[]\");\n sessionStorage.setItem(\"efotaEnrollmentInfo\", \"[]\");\n } else {\n sessionStorage.setItem(\n \"efotaEnrollmentInfo\",\n JSON.stringify(respobj.efotaEnrollmentInfo)\n );\n sessionStorage.setItem(\n \"efotaNotEnrolledFanList\",\n JSON.stringify(respobj.efotaNotEnrolledFanList)\n );\n }\n if (respobj.allFansInEligible === true) {\n this.user.fanSignedUpStatus = \"NotEligible\";\n this.showNotEligible = true;\n } else {\n if (this.user) {\n this.updateFanSignedUpStatus(respobj.fansSummary);\n }\n if (\n respobj.productCode !== null &&\n respobj.productCode !== undefined\n ) {\n this.mdmDetails.productCode = respobj.productCode;\n this.mdmDetails.latestAccountType =\n respobj.recentlyEnrolledProduct;\n if (this.mdmDetails.productCode === \"ADDPMDM\") {\n this.mdmDetails.ibmEmmAccountId = respobj.ibmEmmAccountId;\n let productDetails = {\n emmProductCode: \"\",\n selectedAccID: \"\",\n signupEmmStatus: \"\",\n };\n productDetails.emmProductCode = \"ADDPMDM\";\n productDetails.selectedAccID = respobj.ibmEmmAccountId;\n productDetails.signupEmmStatus = \"revised\";\n sessionStorage.setItem(\n \"manage-product\",\n JSON.stringify(productDetails)\n );\n } else {\n if (\n respobj.googleEmmAccountId !== null &&\n respobj.googleEmmAccountId !== undefined\n ) {\n this.mdmDetails.googleEmmAccountId =\n respobj.googleEmmAccountId;\n }\n if (\n respobj.samsungEmmAccountId !== null &&\n respobj.samsungEmmAccountId !== undefined\n ) {\n this.mdmDetails.samsungEmmAccountId =\n respobj.samsungEmmAccountId;\n }\n if (\n respobj.fanInfoList !== null &&\n respobj.fanInfoList !== undefined\n ) {\n sessionStorage.setItem(\n \"fanInfoList\",\n JSON.stringify(respobj.fanInfoList)\n );\n }\n }\n sessionStorage.setItem(\n \"mdmDetails\",\n JSON.stringify(this.mdmDetails)\n );\n }\n }\n }\n if (respobj.allFansInEligible === true) {\n this.fanStatus = respobj;\n this.showData = true;\n this.pageLoaderService.setPageLoaderStatus(true);\n } else if (this.user.fanSignedUpStatus !== \"Error\") {\n sessionStorage.setItem(\"noOfDevice\", respobj.noOfDevices);\n this.fanStatus = respobj;\n this.updateFanSignedUpStatus(this.fanStatus.fansSummary);\n if (\n respobj.productCode !== null &&\n respobj.productCode !== undefined\n ) {\n this.mdmDetails.productCode = respobj.productCode;\n this.mdmDetails.latestAccountType = respobj.recentlyEnrolledProduct;\n if (respobj.productCode === \"ADDPMDM\") {\n this.mdmDetails.ibmEmmAccountId = respobj.ibmEmmAccountId;\n let productDetails = {\n emmProductCode: \"\",\n selectedAccID: \"\",\n signupEmmStatus: \"\",\n };\n productDetails.emmProductCode = \"ADDPMDM\";\n productDetails.selectedAccID = respobj.ibmEmmAccountId;\n productDetails.signupEmmStatus = \"revised\";\n sessionStorage.setItem(\n \"manage-product\",\n JSON.stringify(productDetails)\n );\n } else {\n this.oemStatus = true;\n if (\n respobj.googleEmmAccountId !== null &&\n respobj.googleEmmAccountId !== undefined\n ) {\n this.mdmDetails.googleEmmAccountId = respobj.googleEmmAccountId;\n }\n if (\n respobj.samsungEmmAccountId !== null &&\n respobj.samsungEmmAccountId !== undefined\n ) {\n this.mdmDetails.samsungEmmAccountId =\n respobj.samsungEmmAccountId;\n }\n if (\n (respobj.samsungEmmAccountId !== null &&\n respobj.samsungEmmAccountId !== undefined) ||\n (respobj.googleEmmAccountId !== undefined &&\n respobj.googleEmmAccountId !== null)\n ) {\n this.mdmDetails.samsungEmmAccountId =\n respobj.samsungEmmAccountId;\n this.mdmDetails.googleEmmAccountId = respobj.googleEmmAccountId;\n }\n if (\n respobj.fanInfoList !== null &&\n respobj.fanInfoList !== undefined\n ) {\n sessionStorage.setItem(\n \"fanInfoList\",\n JSON.stringify(respobj.fanInfoList)\n );\n }\n }\n sessionStorage.setItem(\n \"mdmDetails\",\n JSON.stringify(this.mdmDetails)\n );\n }\n this.eligibleFanCount = 0;\n this.FanLegendCount = 0;\n if (this.fanStatus.fansSummary) {\n this.fanStatus.fansSummary.filter((f) => {\n if (\n f.count &&\n (f.status === \"AWAITING_SIGNUP\" || f.status === \"ACTIVE\")\n ) {\n // this.eligibleFanCount += f.count;\n this.FanLegendCount++;\n }\n });\n\n this.eligibleFanCount = this.fanStatus.noOfFans;\n }\n if (this.eligibleFanCount === 1) {\n this.stringAccount = \"account\";\n }\n let awaitingSignup = 0;\n if (\n respobj.fansSummary !== null &&\n respobj.fansSummary !== undefined\n ) {\n let fanCounts = 0, uniqFans = new Set();\n this.fanStatus.fansSummary.filter((f) => {\n if (f.status === \"AWAITING_SIGNUP\") {\n awaitingSignup += f.count;\n }\n\n if(f.status === \"PROCESSING\"){\n uniqFans.add(f.fans);\n awaitingSignup += uniqFans.size;\n }\n });\n }\n this.dashboardData.manageDeployment.firstTimeUser =\n this.dashboardData.manageDeployment.firstTimeUser.replace(\n \"\",\n awaitingSignup\n );\n this.dashboardData.manageDeployment.firstTimeUser =\n this.dashboardData.manageDeployment.firstTimeUser.replace(\n \"\",\n this.stringAccount\n );\n this.dashboardData.manageDeployment.deviceEnrolledContent =\n this.dashboardData.manageDeployment.deviceEnrolledContent.replace(\n \"\",\n this.eligibleFanCount\n );\n\n this.dashboardData.manageDeployment.setupIncompleteContent =\n this.dashboardData.manageDeployment.setupIncompleteContent.replace(\n \"\",\n this.stringAccount\n );\n this.dashboardData.manageDeployment.setupCompleteContent =\n this.dashboardData.manageDeployment.setupCompleteContent.replace(\n \"\",\n this.eligibleFanCount\n );\n this.dashboardData.manageDeployment.setupCompleteContent =\n this.dashboardData.manageDeployment.setupCompleteContent.replace(\n \"\",\n this.stringAccount\n );\n this.dashboardData.deviceInventory.setupCompleted =\n this.dashboardData.deviceInventory.setupCompleted.replace(\n \"\",\n respobj.noOfDevices\n );\n if (this.efotaFansSummary) {\n this.dashboardData.efotaAccounts.description =\n this.dashboardData.efotaAccounts.description.replace(\n \"\",\n this.fansNotSignedUpCount\n );\n this.dashboardData.efotaAccounts.description =\n this.dashboardData.efotaAccounts.description.replace(\n \"\",\n this.stringAccount\n );\n }\n if (this.fansNotSignedUpCount == 1) {\n this.dashboardData.efotaAccounts.description =\n this.dashboardData.efotaAccounts.description.replace(\n \"accounts\",\n \"account\"\n );\n }\n if (respobj.noOfFans <= 1) {\n // Changing text for singular fans and devices\n this.dashboardData.manageDeployment.firstTimeUser =\n this.dashboardData.manageDeployment.firstTimeUser.replace(\n \"accounts\",\n \"account\"\n );\n this.dashboardData.manageDeployment.deviceEnrolledContent =\n this.dashboardData.manageDeployment.deviceEnrolledContent.replace(\n \"devices\",\n \"device\"\n );\n this.dashboardData.manageDeployment.setupIncompleteContent =\n this.dashboardData.manageDeployment.setupIncompleteContent.replace(\n \"accounts\",\n \"account\"\n );\n\n this.appleInstalled =\n this.dashboardData.appleCertificate[\n this.fanStatus.appleCertificate\n ];\n this.dashboardData.deviceInventory.setupCompleted =\n this.dashboardData.deviceInventory.setupCompleted.replace(\n \"devices\",\n \"device\"\n );\n }\n if (this.eligibleFanCount <= 1) {\n // Changing text for singular fans and devices\n this.dashboardData.manageDeployment.setupCompleteContent =\n this.dashboardData.manageDeployment.setupCompleteContent.replace(\n \"accounts\",\n \"account\"\n );\n }\n\n if (\n respobj.fansSummary !== null &&\n respobj.fansSummary !== undefined\n ) {\n this.checkAwaitingSetUp(respobj.fansSummary);\n }\n if (respobj.initialSignupStatus === \"Signed Up\") {\n this.accountDetails = JSON.parse(\n sessionStorage.getItem(\"mdmDetails\")\n );\n this.readyToSetupCount = 0;\n //this.fanStatus.fansSummary.filter((f) => { if (f.status === 'READY_TO_SETUP') { this.readyToSetupCount = f.count; } });\n this.dashboardData.manageDeployment.firstTimeUser =\n this.dashboardData.manageDeployment.firstTimeUser.replace(\n \"\",\n this.eligibleFanCount + this.processingFansCount\n );\n this.buildChartData(\n respobj.initialSignupStatus,\n respobj.fanInfoList,\n \"accounts\",\n this.stringAccount,\n respobj.fansSummary\n );\n }\n if (respobj.initialSignupStatus === \"Completed\") {\n this.accountDetails = JSON.parse(\n sessionStorage.getItem(\"mdmDetails\")\n );\n this.buildChartData(\n respobj.initialSignupStatus,\n respobj.fanInfoList,\n \"accounts\",\n this.stringAccount,\n respobj.fansSummary\n );\n }\n\n if (respobj.initialSignupStatus === \"PROCESSING\") {\n if (respobj.noOfFans === 1) {\n this.loaderOtherScenario = true;\n this.manageDashboardService\n .getFANList()\n .subscribe((resp) => {\n this.fanList = resp.revisedFanList[0];\n sessionStorage.setItem(\n \"selectedFAN\",\n this.fanList.fanId\n );\n });\n }\n }\n\n if (\n (respobj.initialSignupStatus === \"Completed\" &&\n (respobj.deviceEnrolledStatus === \"Completed\" ||\n respobj.deviceEnrolledStatus === \"Future Enrollment\")) || this.showDeviceInventoryIfNotSignedUp\n ) {\n this.accountDetails = JSON.parse(\n sessionStorage.getItem(\"mdmDetails\")\n );\n if (this.accountDetails.productCode === \"ADDPZTE\") {\n this.loaderOtherScenario = false;\n this.manageDeploymentMixedFans = true;\n this.manageDashboardService\n .getDevicesCount(this.companyId)\n .subscribe((respobjec) => {\n this.dashboardData.deviceInventory.setupOemCompleted =\n this.dashboardData.deviceInventory.setupOemCompleted.replace(\n /^\\S+/,\n respobjec.noOfDevices\n );\n if (respobjec.noOfDevices <= 1) {\n this.dashboardData.deviceInventory.setupOemCompleted =\n this.dashboardData.deviceInventory.setupOemCompleted.replace(\n \"devices\",\n \"device\"\n );\n }\n this.buildDeviceChartData(\n respobjec.deviceInventoryEnrollSummary,\n \"devices\",\n \"devices\",\n respobj.deviceEnrolledStatus\n );\n if (respobj.noOfFans === 1) {\n this.loaderOtherScenario = false;\n this.manageDashboardService\n .getFANList()\n .subscribe((resp) => {\n this.fanList = resp.revisedFanList[0];\n sessionStorage.setItem(\n \"selectedFAN\",\n this.fanList.fanId\n );\n });\n }\n });\n } else {\n this.dashboardData.deviceInventory.setupOemCompleted =\n this.dashboardData.deviceInventory.setupOemCompleted.replace(\n \"\",\n respobj.noOfDevices\n );\n if (respobj.noOfDevices <= 1) {\n this.dashboardData.deviceInventory.setupOemCompleted =\n this.dashboardData.deviceInventory.setupOemCompleted.replace(\n \"devices\",\n \"device\"\n );\n }\n this.buildDeviceChartData(\n respobj.deviceInventoryEnrollSummary,\n \"devices\",\n \"devices\",\n respobj.deviceEnrolledStatus\n );\n if (respobj.noOfFans === 1) {\n this.loaderOtherScenario = false;\n this.manageDashboardService.getFANList().subscribe((resp) => {\n this.fanList = resp.revisedFanList[0];\n sessionStorage.setItem(\"selectedFAN\", this.fanList.fanId);\n });\n }\n }\n // this.pageLoaderService.setPageLoaderStatus(true);\n }\n if (respobj.deviceEnrolledStatus === \"Error\") {\n this.buildErrorChartData();\n }\n if (this.loaderOtherScenario) {\n this.pageLoaderService.setPageLoaderStatus(true);\n }\n this.showData = true;\n }\n },\n (error) => this.handleError(error, \"FETCH_FANSUMMARY\")\n );\n\n }\n handleError(error, type?) {\n if (type !== undefined && type === \"FETCH_APPLECERT_STATUS\") {\n this.errorMsg = ERRCODES[\"FETCH_APPLECERT_STATUS\"];\n } else {\n this.errorMsg = ERRCODES[\"genericErrorMessage\"];\n }\n this.apiError = true;\n this.pageLoaderService.setPageLoaderStatus(true);\n }\n\n navigate(route) {\n if (route === \"/reports\") {\n this.initReportPopupModal();\n } else {\n this.router.navigate([route]);\n }\n }\n\n buildErrorChartData() {\n this.chartData[\"error\"] = [];\n this.chartLabel[\"error\"] = \"devices\";\n const temp = {\n value: 0,\n color: \"#ccc\",\n legend: \"Error\",\n };\n this.chartData[\"error\"].push(temp);\n }\n\n buildChartData(initialSignupStatus, fanDetails, type, label, fanSummary) {\n if (\n type === \"accounts\" &&\n ((initialSignupStatus === \"Completed\" &&\n this.mdmDetails !== null &&\n this.mdmDetails.productCode === \"ADDPMDM\") ||\n (initialSignupStatus === \"Signed Up\" &&\n this.mdmDetails !== null &&\n this.mdmDetails.productCode === \"ADDPMDM\"))\n ) {\n this.getAppleCertificateStatus();\n }\n\n if (type == \"accounts\") {\n this.chartData[type] = [];\n // this.legendData[type] = { left: [], right: [] };\n this.legendData[type] = [];\n this.chartLabel[type] = label;\n\n let notEnrollCount = 0;\n\n if (fanSummary) {\n let notEnrollArr = fanSummary.filter(\n (x) => x.status === \"AWAITING_SIGNUP\"\n );\n if (notEnrollArr && notEnrollArr.length > 0) {\n notEnrollCount = notEnrollArr[0].count;\n }\n }\n\n let activeFans = fanDetails.filter((f) => {\n return f.accountStatus === \"ACTIVE\";\n });\n let signupInprogressFans = fanDetails.filter((f) => {\n return (f.accountStatus === \"PROCESSING\" || f.accountStatus === \"SIGNUP_INPROGRESS\");\n });\n let duplicateFan = activeFans.filter(c => signupInprogressFans.map(s => s.fan).includes(c.fan))\n const countObj = {};\n const countPendingObj = {};\n this.disableRemoveLink = this.checkABMFEPEnding(fanDetails);\n\n fanDetails.map(function (item) {\n if (countObj.hasOwnProperty(item.fan)) {\n if (item.accountStatus === \"ACTIVE\") {\n countObj[item.fan]++;\n }\n } else {\n if (item.accountStatus === \"ACTIVE\") {\n countObj[item.fan] = 1;\n }\n if ((item.accountStatus === \"SIGNUP_INPROGRESS\" && item.emmProductCode === \"DMPAABM\") && (duplicateFan.length < 1)) {\n countPendingObj[item.fan] = 1;\n }\n }\n });\n\n const countArr = Object.values(countObj);\n const countPendingArr = Object.values(countPendingObj);\n let notEnrolledProgramCount = 0;\n let enrollSingleProgramCount = 0;\n let enrollMultipleProgramsCount = 0;\n let enrollSinglePendingProgramsCount = 0;\n let enrollMultiplePendingProgramsCount = 0;\n\n countArr.map(function (item) {\n if (item == 1) {\n enrollSingleProgramCount++;\n } else if (item == 2) {\n enrollMultipleProgramsCount++;\n }\n });\n countPendingArr.map(function (item: any) {\n if (item == 1) {\n enrollSinglePendingProgramsCount++;\n }\n else if (item > 1) {\n enrollMultiplePendingProgramsCount++;\n }\n });\n\n this.notEnrolledProgram = notEnrollCount;\n this.enrollSingleProgram = enrollSingleProgramCount;\n this.enrollMultiplePrograms = enrollMultipleProgramsCount;\n this.enrollPendingProgram = enrollSinglePendingProgramsCount;\n this.enrollMultiPendingPrograms = enrollMultiplePendingProgramsCount\n\n if (this.notEnrolledProgram > 0) {\n const chartConfig1 = CHART_CONFIG[\"NOT_ENROLLED\"];\n const temp1: DonutChartModel = {\n value: this.notEnrolledProgram,\n color: chartConfig1.color,\n legend: this.notEnrolledProgram + \" \" + chartConfig1.label,\n };\n this.chartData[type].push(temp1);\n }\n if (this.enrollPendingProgram > 0) {\n const chartConfig1 = CHART_CONFIG[\"PROCESSING\"];\n const temp3: DonutChartModel = {\n value: this.enrollPendingProgram,\n color: chartConfig1.color,\n legend: this.enrollPendingProgram + \" \" + chartConfig1.label,\n };\n this.chartData[type].push(temp3);\n }\n if (this.enrollMultiPendingPrograms > 0) {\n const chartConfig1 = CHART_CONFIG[\"PROCESSING\"];\n const temp3: DonutChartModel = {\n value: this.enrollMultiPendingPrograms,\n color: chartConfig1.color,\n legend: this.enrollMultiPendingPrograms + \" \" + chartConfig1.label,\n };\n this.chartData[type].push(temp3);\n }\n\n if (this.enrollSingleProgram > 0) {\n const chartConfig2 = CHART_CONFIG[\"ENROLLED_SINGLE_PROGRAM\"];\n const temp2: DonutChartModel = {\n value: this.enrollSingleProgram,\n color: chartConfig2.color,\n legend: this.enrollSingleProgram + \" \" + chartConfig2.label,\n };\n this.chartData[type].push(temp2);\n }\n\n if (this.enrollMultiplePrograms > 0) {\n const chartConfig3 = CHART_CONFIG[\"ENROLLED_MULTIPLE_PROGRAMS\"];\n const temp3: DonutChartModel = {\n value: this.enrollMultiplePrograms,\n color: chartConfig3.color,\n legend: this.enrollMultiplePrograms + \" \" + chartConfig3.label,\n };\n this.chartData[type].push(temp3);\n }\n console.log(\"this.chartData==>\", this.chartData);\n this.legendData[type] = this.chartData[type];\n }\n\n if (type == \"changeRequest\") {\n this.chartData[type] = [];\n this.legendData[type] = { left: [], right: [] };\n this.chartLabel[type] = label;\n if (this.eligibleFanCount >= 1) {\n fanDetails = fanDetails.filter((o) => Object.keys(o).length);\n fanDetails.forEach((d, i) => {\n const chartConfig = EFOTA_CHART_CONFIG[d.status];\n const temp: DonutChartModel = {\n value: d.count,\n color: chartConfig.color,\n legend: d.count + chartConfig.label,\n };\n if (d.count) {\n this.chartData[type].push(temp);\n this.legendData[type][\n fanDetails.length / 2 > i ? \"left\" : \"right\"\n ].push(temp);\n }\n });\n }\n }\n\n if (type == \"reportRequest\") {\n this.chartData[type] = [];\n const chartConfig = EFOTA_CHART_CONFIG[\"noOfReports\"];\n this.chartLabel[type] = label;\n const temp: DonutChartModel = {\n value: parseInt(this.noOfReports),\n color: chartConfig.color,\n legend: \"\",\n };\n if (this.noOfReports !== \"0\") {\n this.chartData[type].push(temp);\n }\n }\n }\n\n checkABMFEPEnding(fansSummary: any) {\n if (fansSummary && fansSummary.length > 0) {\n // //check Processing, Active and awaiting_setup fanlist for disable change for ABM FE pending\n // if((fansSummary.length == 1 && fansSummary[0].status == \"PROCESSING\") || (fansSummary.length == 1 && fansSummary[0].status == \"READY_TO_SETUP\") || (fansSummary.length == 1 && fansSummary[0].status == \"AWAITING_SIGNUP\")){\n // return true;\n // }else {\n // let data = fansSummary.map((elm) => elm.status);\n // console.log(\"all status===>\", data);\n // if ((data.indexOf(\"PROCESSING\") != -1 && data.indexOf(\"AWAITING_SIGNUP\") != -1 && data.indexOf(\"ACTIVE\") != -1 && data.indexOf(\"READY_TO_SETUP\") != -1) || (data.indexOf(\"PROCESSING\") != -1 && data.indexOf(\"ACTIVE\") != -1 && data.indexOf(\"AWAITING_SIGNUP\") != -1) || (data.indexOf(\"PROCESSING\") != -1 && data.indexOf(\"ACTIVE\") != -1 && data.indexOf(\"READY_TO_SETUP\") != -1) || (data.indexOf(\"ACTIVE\") != -1)){\n // return false;\n // }else if((data.indexOf(\"PROCESSING\") != -1 && data.indexOf(\"AWAITING_SIGNUP\") != -1 && data.indexOf(\"READY_TO_SETUP\") != -1) || (data.indexOf(\"PROCESSING\") != -1 && data.indexOf(\"READY_TO_SETUP\") != -1) || (data.indexOf(\"PROCESSING\") != -1 && data.indexOf(\"AWAITING_SIGNUP\") != -1) || (data.indexOf(\"READY_TO_SETUP\") != -1 && data.indexOf(\"AWAITING_SIGNUP\") != -1)) {\n // return true;\n // }else {\n // return false;\n // }\n // }\n //check status ACTIVE, INACTIVE, SIGNUP_INPROGRESS\n let data = new Set(fansSummary.map((elm) => elm.accountStatus));\n\n if ((data.has(\"ACTIVE\") && data.has(\"SIGNUP_INPROGRESS\") && data.has(\"INACTIVE\")) || (data.has(\"ACTIVE\") && data.has(\"SIGNUP_INPROGRESS\")) || (data.has(\"ACTIVE\") && data.has(\"INACTIVE\"))) {\n return false;\n } else if ((data.has(\"SIGNUP_INPROGRESS\") && data.has(\"INACTIVE\")) || (data.size == 1 && data.has(\"SIGNUP_INPROGRESS\")) || (data.size == 1 && data.has(\"INACTIVE\"))) {\n return true;\n } else {\n return false;\n }\n\n }\n }\n\n buildDeviceChartData(fanDetails, type, label, deviceEnrolledStatus?) {\n this.chartData[type] = [];\n this.legendData[type] = [];\n this.chartLabel[type] = label;\n let legendCounter = 0;\n this.handleFutureEnrollment(fanDetails);\n fanDetails = fanDetails.filter((o) => Object.keys(o).length);\n\n fanDetails.forEach((d, i) => {\n const chartConfig = CHART_CONFIG[d.status];\n const temp: DonutChartModel = {\n value: d.noOfDevices,\n color: chartConfig.color,\n legend: d.noOfDevices + \" \" + chartConfig.label,\n };\n if (d.noOfDevices) {\n this.chartData[type].push(temp);\n }\n // this.legendData[type][fanDetails.length / 2 > i ? 'left' : 'right'].push(temp);\n });\n\n let count = 0;\n let tempChartData = [];\n tempChartData = this.chartData[type].filter(function (x, i) {\n if (\n x.value > 0 &&\n (x.legend.indexOf(\"claimed (Apple)\") > -1 ||\n x.legend.indexOf(\"claimed (Samsung)\") > -1 ||\n x.legend.indexOf(\"claimed (Android™)\") > -1 ||\n x.legend.indexOf(\"claimed (Android)\") > -1)\n ) {\n count += x.value;\n }\n\n return (\n x.value > 0 &&\n x.legend.indexOf(\"claimed (Apple)\") <= -1 &&\n x.legend.indexOf(\"claimed (Samsung)\") <= -1 &&\n x.legend.indexOf(\"claimed (Android™)\") <= -1 &&\n x.legend.indexOf(\"claimed (Android)\") <= -1\n );\n });\n\n if (count > 0) {\n this.chartData[type] = tempChartData; //data except claimed\n const chartConfigClaim = CHART_CONFIG[\"CLAIM_SUCCESS\"];\n const claimMerge = {\n value: count,\n color: chartConfigClaim.color,\n legend: count + \" \" + chartConfigClaim.label,\n };\n\n this.chartData[type].push(claimMerge);\n }\n\n let arr = [];\n let arr1 = this.chartData[type].filter(\n (x) => x.legend.indexOf(\"not claimed\") > -1\n );\n if (arr1.length > 0) {\n arr.push(arr1.pop());\n }\n let arr2 = this.chartData[type].filter(\n (x) => x.legend.indexOf(\"unclaim pending\") > -1\n );\n if (arr2.length > 0) {\n arr.push(arr2.pop());\n }\n let arr3 = this.chartData[type].filter(\n (x) =>\n x.legend.indexOf(\"claim pending\") > -1 &&\n x.legend.indexOf(\"unclaim pending\") < 0\n );\n if (arr3.length > 0) {\n arr.push(arr3.pop());\n }\n let arr4 = this.chartData[type].filter(\n (x) =>\n x.legend.indexOf(\"claimed\") > -1 && x.legend.indexOf(\"not claimed\") < 0\n );\n if (arr4.length > 0) {\n arr.push(arr4.pop());\n }\n\n this.chartData[type] = arr;\n this.legendData[type] = this.chartData[type];\n this.pageLoaderService.setPageLoaderStatus(true);\n\n // this.chartData[type].forEach((x, i) =>{\n // // if legendcounter is even, show legend on the left else on the right\n // this.legendData[type][legendCounter % 2 === 0 ? 'left' : 'right'].push(x);\n // legendCounter++;\n\n // })\n }\n handleFutureEnrollment(fanDetails) {\n let futureEnrollmentCount = 0;\n let futureEnrollmentCountIndex;\n fanDetails = fanDetails.filter((o) => Object.keys(o).length);\n fanDetails.forEach((d, i) => {\n if (d.status === \"FUTURE_ENROLLMENT\") {\n futureEnrollmentCount = d.noOfDevices;\n futureEnrollmentCountIndex = i;\n }\n });\n fanDetails.forEach((d, i) => {\n if (\n (d.status === \"NOT_ENROLLED\" || d.status === \"NOT_CLAIMED\") &&\n futureEnrollmentCountIndex !== undefined\n ) {\n fanDetails.splice(futureEnrollmentCountIndex, 1);\n d.noOfDevices = d.noOfDevices + futureEnrollmentCount;\n }\n });\n }\n\n getAppleCertificateStatus() {\n this.manageDashboardService.getAppleSummary().subscribe(\n (respobj2) => {\n this.fanStatus.appleCertificate = respobj2.status;\n this.appleInstalled =\n this.dashboardData.appleCertificate[respobj2.status];\n const addpDashboardContainer =\n this.el.nativeElement.getElementsByClassName(\n \"addp-dashboard-container\"\n );\n if (\n this.fanStatus.noOfFans > 1 ||\n (this.fanStatus.noOfFans === 1 &&\n addpDashboardContainer[0].firstElementChild.firstElementChild\n .classList[1] !== \"device-status-container\")\n ) {\n if (this.FanLegendCount > 2) {\n addpDashboardContainer[0].classList.add(\"size-set\");\n } else {\n addpDashboardContainer[0].classList.add(\"size-set-1\");\n }\n } else if (this.fanStatus.noOfFans === 1) {\n if (\n this.fanStatus.initialSignupStatus === \"Completed\" &&\n (this.fanStatus.deviceEnrolledStatus === \"Completed\" ||\n this.fanStatus.deviceEnrolledStatus === \"Future Enrollment\")\n ) {\n addpDashboardContainer[0].classList.add(\"size-set-2\");\n } else {\n addpDashboardContainer[0].classList.add(\"size-set-3\");\n }\n }\n },\n (error) => this.handleError(error, \"FETCH_APPLECERT_STATUS\")\n );\n }\n\n checkAwaitingSetUp(fanDetails) {\n fanDetails = fanDetails.filter((o) => Object.keys(o).length);\n fanDetails.forEach((d, i) => {\n if (d.status === \"READY_TO_SETUP\") {\n this.readyToSetupCount = 0;\n //this.readyToSetup = true;\n }\n });\n }\n\n // Report pop up functionality\n initReportPopupModal() {\n this.confirmModalPopup = new ConfirmModalPopupModel();\n this.showReportPopup = true;\n }\n\n closeReportPopup() {\n this.showReportPopup = false;\n }\n\n ngOnDestroy() {\n this.pageLoaderService.setPageLoaderStatus(true);\n }\n}\n","
\n
\n

AT&T Business Console Dashboard

\n
0\">\n
\n \n
\n
\n {{ errorMsg }}\n
\n
\n
\n
\n
\n \n
\n
\n We are still finalizing your account set up for\n {{ activeFanId }}. Newly enrolled devices will be displayed after enrollment is\n completed. This could take up to 1 business day.\n \n
\n \n
\n
\n

Welcome, {{ user.firstName }} {{ user.lastName }}

\n\n \n
\n
\n

\n Scenarios for Demo:\n \n

\n \n\n
\n
1 &&\n eligibleFanCount > 1))\n \">\n
\n
\n

{{ dashboardData.manageDeployment.title }}

\n \n
\n
\n

{{ dashboardData.manageDeployment.firstTimeUser }}

\n
\n
\n \n
\n
\n\n
\n
\n

{{ dashboardData.manageDeployment.firstTimeUser }}

\n
\n
\n
\n \n \n
\n
\n \n \n
\n
\n
\n
\n
\n \n \n \n \n {{ appleInstalled }}\n
\n
\n
\n\n \n \n
\n
\n \n
\n
\n \n
\n
\n
\n
\n
\n

{{ dashboardData.manageDeployment.firstTimeUser }}

\n
\n
\n
\n \n \n
\n
\n \n \n
\n
\n\n \n \n
\n
\n \n
\n
\n
\n\n
\n

\n {{ dashboardData.manageDeployment.signUpProcess }}\n

\n
\n\n
\n
\n
\n
\n \n
\n
\n {{ dashboardData.manageDeployment.error\n }}\n {{ dashboardData.deviceInventory.error\n }}\n
\n
\n
\n
\n \n
\n
\n\n
\n

\n {{ dashboardData.manageDeployment.setupCompleteContent }}\n

\n

\n {{ dashboardData.manageDeployment.setupCompleteContent }}\n

\n
\n
\n \n \n
\n
\n \n \n
\n
\n
\n
\n
\n \n \n \n \n {{ appleInstalled }}\n
\n
\n
\n\n \n \n
\n \n
\n
\n
\n
\n
\n\n
\n
\n
\n

{{dashboardData.deviceInventory.title}}

\n
\n

\n {{ dashboardData.deviceInventory.singleFanMsg}}\n

\n
\n \n
\n
\n
\n
\n
\n\n
\n
\n
\n

{{ dashboardData.deviceInventory.title }}

\n\n
\n \n

\n {{ dashboardData.deviceInventory.initialNotEnrolledDevice }}\n

\n
\n \n
\n
\n\n
\n \n

{{ dashboardData.deviceInventory.enrollmentProcess }}

\n
\n
\n
\n
\n
\n \n
\n
\n \n {{ dashboardData.manageDeployment.error\n }}\n {{ dashboardData.deviceInventory.error\n }}\n
\n
\n
\n\n \n
\n \n
\n
\n
\n \n
\n

{{ dashboardData.deviceInventory.setupOemCompleted }}

\n
\n
\n
\n \n \n
\n
\n \n \n
\n
\n
\n
\n
\n \n \n \n \n {{ appleInstalled }}\n
\n
\n
\n \n \n
1\">\n \n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n

{{ dashboardData.report.title }}

\n \n

{{ dashboardData.report.content }}

\n
\n \n
\n
\n
\n
\n
\n
\n
\n \n \n

{{ dashboardData.manageDeployment.ineligibleTitle }}

\n

{{ dashboardData.manageDeployment.ineligibleContent }}

\n
\n \n \n

\n {{\n dashboardData.manageDeployment[envPortal].ineligibleTitle\n }}\n

\n

\n {{\n dashboardData.manageDeployment[envPortal]\n .ineligibleContent\n }}\n

\n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n {{ permissionLevelMessage }}\n
\n
\n
\n
\n
\n \n \n \n \n
","export * from './providers';\nexport * from './models';\n","export * from './report-request.model';\n","import { FetchCriteriaModel } from 'lib/ng2-sapmp/src/ui-components/custom-grid';\n\nexport class ReportRequestModel {\n class: string;\n fetchCriteria: FetchCriteriaModel;\n licenseProvisionStatus: Array;\n\n constructor() {\n this.fetchCriteria = undefined;\n this.class = undefined;\n this.licenseProvisionStatus = undefined;\n }\n}\n\nexport class MDMDetails {\n productCode: string;\n ibmEmmAccountId: string;\n googleEmmAccountId: string;\n samsungEmmAccountId: string;\n appleEmmAccountId: string;\n latestAccountType: string;\n\n constructor() {\n this.productCode = undefined;\n this.ibmEmmAccountId = undefined;\n this.googleEmmAccountId = undefined;\n this.samsungEmmAccountId = undefined;\n this.appleEmmAccountId = undefined;\n this.latestAccountType = undefined;\n }\n}\n","export * from './manage-dashboard.service';\n","import { Injectable } from \"@angular/core\";\nimport { map, catchError } from \"rxjs/operators\";\n\nimport { forkJoin, throwError, of } from \"rxjs\";\n\nimport { HttpClient, HttpResponse, HttpHeaders } from \"@angular/common/http\";\nimport {\n HttpClientService,\n AdobeAnalyticsService,\n UtilityService,\n} from \"lib/ng2-sapmp/src/providers\";\nimport { ANALYTICS_CONSTANTS } from \"config\";\nimport * as FileSaver from \"file-saver\";\ndeclare var ENV_PORTAL;\n// declare module \"file-saver\";\n// import { saveAs } from 'file-saver';\n@Injectable()\nexport class ManageDashboardService {\n constructor(\n private http: HttpClient,\n private httpClientService: HttpClientService,\n private adobeAnalyticsService: AdobeAnalyticsService,\n private utilityService: UtilityService\n ) { }\n\n get_headers() {\n let headers = new HttpHeaders();\n headers = headers.append(\n \"Authorization\",\n sessionStorage.getItem(\"sapmp_jwtToken\")\n );\n return headers;\n }\n\n fetchJSON(dataurl) {\n return this.httpClientService.get(dataurl, this.get_headers()).pipe(\n map((res: HttpResponse) => {\n if (sessionStorage.getItem(\"sapmp_jwtToken\") != null) {\n // refreshes token for logged in scenario upon page load\n this.httpClientService.tokenRefresh(\n this.utilityService.getEnvConfig().tokenRefresh\n );\n }\n return res.body;\n }),\n catchError(this.handleError)\n );\n }\n\n // dashboardProducts(manageDashboardUrl) {\n // return this.httpClientService.authorizedGet(manageDashboardUrl)\n // .map((res: Response) => {\n // if (sessionStorage.getItem('sapmp_jwtToken') != null) {\n // // refreshes token for logged in scenario upon page load\n // this.httpClientService.tokenRefresh(this.utilityService.getEnvConfig().tokenRefresh);\n // }\n // return res.json();})\n // .catch(this.handleError);\n // }\n // ------------------------------------ ForkJoin Start--------------------------------------------------//\n\n dashboardData(productUrl, donutUrl) {\n let resp = [{}, {}, {}];\n return forkJoin(\n this.httpClientService.authorizedGet(productUrl).pipe(\n map((res: HttpResponse) => (resp[0] = res.body)),\n catchError(() => of([]))\n ),\n this.httpClientService.authorizedGet(donutUrl).pipe(\n map((res: HttpResponse) => (resp[1] = res.body)),\n catchError(() => of([]))\n )\n ).pipe(\n map((resp: [HttpResponse, HttpResponse]) => {\n if (sessionStorage.getItem(\"sapmp_jwtToken\") != null) {\n this.httpClientService.tokenRefresh(\n this.utilityService.getEnvConfig().tokenRefresh\n );\n }\n return resp;\n }),\n catchError(this.handleError)\n );\n }\n\n // ------------------------------------ ForkJoin End--------------------------------------------------//\n\n searchUserService(searchUrl, value) {\n return this.httpClientService.authorizedPut(searchUrl, value).pipe(\n map((res: HttpResponse) => {\n if (sessionStorage.getItem(\"sapmp_jwtToken\") != null) {\n // refreshes token for logged in scenario upon page load\n this.httpClientService.tokenRefresh(\n this.utilityService.getEnvConfig().tokenRefresh\n );\n }\n return res.body;\n }),\n catchError(this.handleError)\n );\n }\n\n // dashboardDonut(manageDashboardUrl) {\n // return this.httpClientService.authorizedGet(manageDashboardUrl)\n // .map((res: Response) => {\n // if (sessionStorage.getItem('sapmp_jwtToken') != null) {\n // // refreshes token for logged in scenario upon page load\n // this.httpClientService.tokenRefresh(this.utilityService.getEnvConfig().tokenRefresh);\n // }\n // return res.json();})\n // .catch(this.handleError);\n // }\n\n handleError = (error) => {\n return throwError(error);\n };\n\n dashboardReport(reportUrl, type) {\n let headers = new HttpHeaders();\n let responseType: any;\n headers = headers.append(\"PermType\", \"userSummaryReport.download\");\n if (type === \"csv\") {\n headers = headers.append(\"FileType\", \"csv\");\n responseType = \"text\";\n } else {\n headers = headers.append(\"FileType\", \"xlsx\");\n responseType = \"blob\";\n }\n return (\n this.httpClientService\n .authorizedOctetget(reportUrl, headers, responseType)\n .subscribe((response: HttpResponse) => {\n console.dir(response);\n if (sessionStorage.getItem(\"sapmp_jwtToken\") != null) {\n // refreshes token for logged in scenario upon page load\n this.httpClientService.tokenRefresh(\n this.utilityService.getEnvConfig().tokenRefresh\n );\n }\n this.downloadFile(response.body, type);\n }),\n (error) => {\n this.handleError(error);\n }\n );\n }\n\n downloadFile(data: HttpResponse, types) {\n const a: any = document.createElement(\"a\");\n let mimeType: any = \"\";\n let blob;\n document.body.appendChild(a);\n a.style.cssText = \"display: none\";\n const res: any = data;\n if (types === \"csv\") {\n a.download = \"report.csv\";\n mimeType = \"text/csv\";\n blob = new Blob([res], { type: mimeType });\n } else {\n a.download = \"report.xlsx\";\n mimeType =\n \"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\";\n blob = new Blob([res], { type: mimeType });\n }\n FileSaver.saveAs(blob, a.download);\n }\n\n checkLength(data) {\n const str = data.value.toString();\n if (str.trim()) {\n if (str.replace(\" \", \"\").length < 3) {\n return {\n length: true,\n };\n }\n }\n }\n\n createPageLoadProperties(url: string, header: string) {\n const dataLayer = {};\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FRIENDLY_PAGE_NAME] =\n ANALYTICS_CONSTANTS.FRIENDLY_NAME_DASHBOARD;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FLOW_CODE] =\n ANALYTICS_CONSTANTS.FLOW_CODE_DASHBOARD;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_SKU] = \"\";\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_LOGIN_SOURCE] = \"home\";\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_PAGE_FUNCTION] = \"Service\";\n this.adobeAnalyticsService.tag(\"page\", dataLayer, \"Page_Load\", \"pageLoad\");\n }\n\n // ADDP section goes here\n getFanStatusSummary(companyId) {\n // will be calling actual api with company id;\n let apiUrl;\n\n apiUrl = this.utilityService.getEnvConfig().dashboardSummary;\n //apiUrl = \"assets/mock/dashboard/setupOemCompleted.json\";\n // apiUrl = \"assets/mock/dashboard/getFANLIstMock5.json\";\n\n return this.httpClientService.get(apiUrl, this.get_headers()).pipe(\n map((res: HttpResponse) => {\n if (sessionStorage.getItem(\"sapmp_jwtToken\") != null) {\n // refreshes token for logged in scenario upon page load\n this.httpClientService.tokenRefresh(\n this.utilityService.getEnvConfig().tokenRefresh\n );\n }\n return res.body;\n }),\n catchError(this.handleError)\n );\n }\n getFanDetails() {\n let apiUrl;\n apiUrl = this.utilityService.getEnvConfig().dashboardSummary;\n return this.httpClientService.get(apiUrl, this.get_headers()).pipe(\n map((res: HttpResponse) => res.body),\n catchError(this.handleError)\n );\n }\n\n getDevicesCount(companyId) {\n let apiUrl;\n\n apiUrl = this.utilityService.getEnvConfig().deviceCountSummary;\n //apiUrl = \"assets/mock/dashboard/setupOemCompleted.json\";\n // apiUrl = \"assets/mock/dashboard/getFANLIstMock5.json\";\n\n return this.httpClientService.get(apiUrl, this.get_headers()).pipe(\n map((res: HttpResponse) => res.body),\n catchError(this.handleError)\n );\n }\n\n getDeviceStatusSummary(url, req) {\n // will be calling actual api with request;\n return this.httpClientService.get(url, this.get_headers()).pipe(\n map((res: HttpResponse) => {\n if (sessionStorage.getItem(\"sapmp_jwtToken\") != null) {\n // refreshes token for logged in scenario upon page load\n this.httpClientService.tokenRefresh(\n this.utilityService.getEnvConfig().tokenRefresh\n );\n }\n return res.body;\n }),\n catchError(this.handleError)\n );\n }\n\n getDashboardContent(url) {\n // will be calling actual api with request;\n return this.httpClientService.get(url).pipe(\n map((res: HttpResponse) => {\n if (sessionStorage.getItem(\"sapmp_jwtToken\") != null) {\n // refreshes token for logged in scenario upon page load\n this.httpClientService.tokenRefresh(\n this.utilityService.getEnvConfig().tokenRefresh\n );\n }\n return res.body;\n }),\n catchError(this.handleError)\n );\n }\n\n getAppleSummary() {\n let appleUrl;\n appleUrl =\n this.utilityService.getEnvConfig().getAppleSummary + \"?detail=false\";\n return this.fetchJSON(appleUrl);\n }\n\n getFANList() {\n let fanUrl;\n fanUrl = this.utilityService.getEnvConfig().getFANList;\n return this.fetchJSON(fanUrl);\n }\n}\n","import { Component, OnInit, ViewEncapsulation, ViewChild, ChangeDetectorRef, OnDestroy, NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { Router, ActivatedRoute, NavigationEnd } from '@angular/router';\nimport { UtilityService, AuthenticationService, AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';\nimport {\n ProductModel, SEO\n} from '../../models';\nimport { UserProfileModel } from 'lib/ng2-sapmp/src/models';\nimport { BreadCrumbModel, BreadCrumbService } from 'lib/ng2-sapmp/src/ui-components/breadcrumb';\nimport { PageLoaderService } from 'lib/ng2-sapmp/src/ui-components/page-loader';\nimport { TAB, BREADCRUMBS, PRODUCT_CONFIG, PREMIER_AUTHFAILURE_MESSAGE, ENV } from 'config';\nimport { MobilePivotModel } from 'lib/ng2-sapmp/src/ui-components/mobile-pivot/mobile-pivot.model';\nimport { DomSanitizer } from '@angular/platform-browser';\nimport { MOBILEPIVOTS } from 'config';\nimport { CMSResolver } from 'lib/ng2-sapmp/src/providers/cms.resolver';\nimport { ManageGrpEditModel } from './manageGrpEdit-modal/managegroupedit-modal/manageGrpEdit.model';\nimport { ManageInventoryService, FanSummary, FansDeviceSummary, DevicesSummary, MDMDetails } from '../manage-inventory/shared';\nimport { ManageGrpRemoveConfirmModalComponent} from './manage-grp-remove-confirm-modal/manage-grp-remove-confirm-modal.component';\nimport { GroupingDevicesService } from '../grouping-devices/grouping-devices.service';\ndeclare var logoutCurrentUser: any;\ndeclare var ENV_PORTAL: any;\n\n\n@Component({\n selector: 'app-manage-groups',\n templateUrl: './manage-groups.component.html',\n styleUrls: ['./manage-groups.component.scss'],\n providers: [ManageInventoryService, GroupingDevicesService]\n})\nexport class ManageGroupsComponent implements OnInit {\n\n\n groupArray=[];\n groupDefaultArray=[];\n groupSortArray=[];\n totalGroupCount:number;\n showPopup: boolean;\n showMangeGrpEditPopup: boolean;\n modalClass: string;\n manageGrpEditModal: ManageGrpEditModel;\n formSuccessGrp: boolean;\n showErrors: boolean;\n showDuplicateErrors: boolean;\n manageGrpRemoveConfirmModal: ManageGrpRemoveConfirmModalComponent;\n showGroupRemoveConfirmPopup: boolean = false;\n deleteData: any;\n deleteGroupSuccess: boolean = false;\n deleteGroupError: boolean = false;\n\n constructor(private route: ActivatedRoute,\n private router: Router,\n private _sanitizer: DomSanitizer,\n private changeDetectionRef: ChangeDetectorRef,\n private utilityService: UtilityService,\n private authenticationService: AuthenticationService,\n private pageloaderService: PageLoaderService, private breadCrumbService: BreadCrumbService,\n private adobeAnalyticsService: AdobeAnalyticsService,private manageInventoryService: ManageInventoryService,\n private groupingDevicesService: GroupingDevicesService) { }\n\n ngOnInit(): void {\n document.title = this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url];\n let childUrl = '/' + 'manageGroups';\n this.breadCrumbService.setStaticBreadCrumbs(childUrl);\n this.breadCrumbService.setCurrentBreadCrumb({\n label: 'Manage groups',\n routerLink: this.router.routerState.snapshot.url\n });\n\n this.fetchGroupArray()\n\n //mock\n\n // this.groupArray=[{groupName:'Default Group',totalNumberOfDevices:'19'},{groupName:'LA',totalNumberOfDevices:'9'}]; \n\n // this.groupDefaultArray = this.groupArray.filter(x=>x.groupName==='Default Group')\n \n // this.groupSortArray = this.groupArray.filter(x=>x.groupName!=='Default Group')\n\n // this.groupSortArray = this.groupSortArray.sort((a, b) => (a.groupName > b.groupName) ? 1 : -1)\n\n // this.groupArray = this.groupDefaultArray.concat(this.groupSortArray)\n\n // sessionStorage.setItem('groupList', JSON.stringify(this.groupArray));\n\n // const fanID = sessionStorage.getItem('fanID');\n \n // if (fanID) {\n // this.pageloaderService.setPageLoaderStatus(false);\n\n // let url = this.utilityService.getEnvConfig().getManageGroupsUrl+'?fan='+fanID;\n // this.manageInventoryService.getManageGroupsPageDetails(url)\n\n // .subscribe((resp) => {\n // if (resp && resp !== undefined && resp.list !== undefined && resp.list.length > 0) {\n\n // this.groupArray=resp.list; \n\n // this.groupDefaultArray = this.groupArray.filter(x=>x.groupName==='Default')\n\n // this.groupSortArray = this.groupArray.filter(x=>x.groupName!=='Default')\n \n // this.groupSortArray = this.groupSortArray.sort((a, b) => (a.groupName > b.groupName) ? 1 : -1)\n \n // this.groupArray = this.groupDefaultArray.concat(this.groupSortArray)\n\n // sessionStorage.setItem('groupList', JSON.stringify(this.groupArray));\n\n // }\n // this.pageloaderService.setPageLoaderStatus(true);\n // }, (err) => {\n // this.pageloaderService.setPageLoaderStatus(true);\n // });\n // } else {\n // this.pageloaderService.setPageLoaderStatus(true);\n // }\n\n }\n\n initMangeGrpEditPPopupModal(preGrpName) {\n this.manageGrpEditModal = new ManageGrpEditModel();\n this.manageGrpEditModal.editFieldLabel1= \"Current Name: \";\n this.manageGrpEditModal.editFieldLabel2=\"New name:\";\n this.manageGrpEditModal.editButtonMessage=\"Save\";\n this.manageGrpEditModal.editcancelButtonMessage=\"Cancel\";\n this.manageGrpEditModal.editmodalHeader = \"Edit Group Name\";\n this.manageGrpEditModal.editPreviousGrpName = preGrpName;\n this.modalClass = 'modal-lg';\n this.showPopup = true;\n this.showMangeGrpEditPopup = true;\n }\n \n onEditClick(preGrpName: any){\n this.initMangeGrpEditPPopupModal(preGrpName)\n }\n\n closeMangeGrpEditPopup(value) {\n this.showMangeGrpEditPopup = false;\n this.showPopup = false;\n this.showErrors = false;\n this.deleteGroupSuccess = false;\n document.body.classList.remove('modal-open');\n if(value == 'success'){\n this.formSuccessGrp = true;\n this.showErrors = false;\n this.showDuplicateErrors = false;\n this.fetchGroupArray() \n }else if(value == 'Old and New GroupName are same' || value == \"Can't update the GroupName to default\"){\n this.formSuccessGrp = false;\n this.showDuplicateErrors = true;\n this.showErrors = false;\n }\n else if(value == false){\n this.showMangeGrpEditPopup = false;\n }\n else {\n this.formSuccessGrp = false;\n this.showDuplicateErrors = false;\n this.showErrors = true;\n }\n }\n dismissInfo() {\n this.formSuccessGrp = false;\n this.showErrors = false;\n this.showDuplicateErrors = false;\n this.deleteGroupError = false;\n this.deleteGroupSuccess = false;\n }\n\n fetchGroupArray(){\n let fanID = sessionStorage.getItem('fanID');\n let sessionId = sessionStorage.getItem('sessionId')\n\n if (fanID) {\n this.pageloaderService.setPageLoaderStatus(false);\n \n let url = this.utilityService.getEnvConfig().getManageGroupsUrl+'?fan='+fanID+'&sessionId='+sessionId;\n this.manageInventoryService.getManageGroupsPageDetails(url)\n \n .subscribe((resp) => {\n if (resp && resp !== undefined && resp.list && resp.list.length > 0) {\n \n this.groupArray=resp.list; \n \n this.groupDefaultArray = this.groupArray.filter(x=>x.groupName==='Default Group')\n \n this.groupSortArray = this.groupArray.filter(x=>x.groupName!=='Default Group')\n \n this.groupSortArray = this.groupSortArray.sort((a, b) => (a.groupName > b.groupName) ? 1 : -1)\n \n this.groupArray = this.groupDefaultArray.concat(this.groupSortArray)\n \n sessionStorage.setItem('groupList', JSON.stringify(this.groupArray));\n \n }\n this.pageloaderService.setPageLoaderStatus(true);\n }, (err) => {\n this.pageloaderService.setPageLoaderStatus(true);\n });\n } else {\n this.pageloaderService.setPageLoaderStatus(true);\n }\n }\n\n initRemoveConfirmationPopupModal(groupName) {\n let sessionID = sessionStorage.getItem('sessionId');\n const fanID = sessionStorage.getItem('fanID');\n this.deleteData = {groupName: groupName, fanId: fanID, sessionID: sessionID};\n this.modalClass = 'modal-xs modal-style';\n this.showPopup = true;\n this.showGroupRemoveConfirmPopup = true;\n }\n\n onDeleteClick(groupName: any){\n this.initRemoveConfirmationPopupModal(groupName);\n }\n\n closeMangeGrpRemovePopup(event?) {\n this.showGroupRemoveConfirmPopup = false;\n this.showPopup = false;\n }\n\n loadManageGroups(value: any){\n this.fetchGroupArray();\n this.getGroupingDevicesData();\n this.closeMangeGrpRemovePopup();\n this.formSuccessGrp = false;\n\n if(value){\n this.deleteGroupError = false;\n this.deleteGroupSuccess = true;\n }else{\n this.deleteGroupError = true;\n this.deleteGroupSuccess = false;\n }\n }\n\n getGroupingDevicesData() {\n var selectedFan = sessionStorage.getItem(\"selectedFAN\");\n var sessionId = sessionStorage.getItem(\"sessionId\");\n this.groupingDevicesService.getGroupDevicesData(selectedFan, sessionId)\n .subscribe(resposneObject => {\n console.log(\"resposneObject >>>>>> \"+ JSON.stringify(resposneObject));\n var response = JSON.parse(JSON.stringify(resposneObject));\n localStorage.setItem('groupDeviceTableData', JSON.stringify(response));\n }, error => {\n // this.handleError(error);\n console.error(error);\n });\n\n // this.pageloaderService.setPageLoaderStatus(true);\n }\n\n navigateGroupingDevices(){\n this.router.navigate(['/groupingDevices']);\n }\n\n}\n","
\n\n

Manage Groups

\n
\n
\n \n
\n
\n

Error

\n

Something went wrong. Please try to edit group name again.

\n
\n
\n
\n\n\n\n
\n
\n \n
\n
\n

Error

\n

Something went wrong. Please try to delete the group again.

\n
\n
\n
\n\n\n
\n
\n \n
\n
\n

Error

\n

This group name already exists.

\n
\n
\n
\n\n
\n
\n
\n
\n \n
\n
\n

Group was successfully renamed.

\n
\n
\n
\n
\n
\n\n
\n
\n
\n
\n \n
\n
\n

Group was successfully deleted. Any devices in the group have been moved to Default Group.

\n
\n
\n
\n
\n
\n\n

Edit the group name or remove your groups from the program. The Default Group cannot be edited or removed.

\n\n
\n\n

Note: In order to create a new group, devices must be moved. Move devices to a group

\n\n\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n
Group NameDevicesActions
{{group.groupName}}{{group.totalNumberOfDevices}}\"edit\"     \"remove\"
\n
\n
\n\n\n\n\n
\n \n \n \n \n
\n
\n\n\n
\n \n \n \n \n
","export class ManageGrpEditModel {\n editmodalHeader: string;\n editFieldLabel1: string;\n editPreviousGrpName: string;\n editFieldLabel2: string;\n editButtonMessage: string;\n editcancelButtonMessage: string;\n \n constructor() {}\n }","import { Component, OnInit, ViewEncapsulation } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { BreadCrumbService, PageLoaderService } from 'lib/ng2-sapmp/src/ui-components';\nimport { UtilityService, AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';\nimport { ManageInventoryService, CTNDetails, DeviceInformation, CTNStatus } from './../shared';\nimport { AccordionComponent, AccordionModel, ConfirmModalPopupModel, StatusBarModel } from 'lib/ng2-sapmp/src/ui-components';\nimport { MobilePivotModel } from 'lib/ng2-sapmp/src/ui-components/mobile-pivot';\nimport { CHART_CONFIG, MOBILEPIVOTS } from 'config';\nimport { isString } from 'util';\n\n@Component({\n selector: 'app-ctn-info',\n templateUrl: './ctn-info.component.html',\n styleUrls: ['./ctn-info.component.scss'],\n providers: [ManageInventoryService],\n encapsulation: ViewEncapsulation.None\n})\nexport class CtnInfoComponent implements OnInit {\n\n deviceId: number;\n ctnDetails: CTNDetails;\n pageData: any;\n deviceInfo: DeviceInformation;\n options: Array;\n confirmModalPopup: ConfirmModalPopupModel;\n ctnStatus: CTNStatus;\n colorStatus: String;\n initModal: Boolean = false;\n showSMS: Boolean = false;\n showSupport: Boolean = false;\n smsSent: boolean;\n status: any;\n ctn: any;\n progressChartData: Array;\n isMobile: Boolean = true;\n selectedCtn: any;\n selectedImei: any;\n error: boolean;\n eventEmit: any;\n pivots: Array;\n permissions: any;\n showReportPopup: boolean;\n showSuccessLock: boolean;\n // showErrorLock: boolean;\n showSuccessWipe: boolean;\n // showErrorWipe: boolean;\n supportArticle = false;\n deviceDeenrolled = false;\n wiped = false;\n locked = false;\n initDeviceLockModal = false;\n initDeviceWipeModal = false;\n showLIC: boolean;\n modalClass: string;\n article: any;\n showPopup = false;\n title: string;\n errorMessage: string;\n emmProductCode: any;\n oemStatus: boolean;\n responseData: any;\n serviceType: string;\n enrollmentStatusReason: any;\n oemEnrollmentStatus: any;\n displayEnrollIcon = false;//show or hide icon pic\n displayUnenrollIcon = false; \n claimFuncEnable = true; //enable or disable claim function\n unclaimFuncEnable = true;\n disableTextButton: boolean = false;\n imeiList:string;\n\n initClaimUnclaim: boolean = false;\n showErrorClaimUnclaim: boolean = false;\n showSuccessClaimUnclaim: boolean = false;\n enrollStatus = \"CLAIM_FAILED\";\n claimDisabledBtn: boolean = false;\n claimUnclaimInfo = {\n name: \"\",\n title: \"\"\n }\n productIdName: string;\n productName: string;\n productId: string;\n // NOT_CLAIMED NO NO \n // CLAIM_INITIATED YES \n // CLAIM_INPROGRESS YES \n // CLAIM_FAILED YES\n // CLAIM_SUCCESS NO\n // UNCLAIM_INITIATED NO\n // UNCLAIM_INPROGRESS NO\n // UNCLAIM_FAILED NO\n\n constructor(private breadCrumbService: BreadCrumbService,\n private manageInventoryService: ManageInventoryService,\n private activatedRoute: ActivatedRoute,\n private utilityService: UtilityService, private adobeAnalyticsService: AdobeAnalyticsService,\n private router: Router, private pageLoaderService: PageLoaderService) {\n this.pageLoaderService.setPageLoaderStatus(false);\n this.ctnDetails = new CTNDetails();\n this.deviceInfo = new DeviceInformation();\n this.options = [];\n this.ctnStatus = new CTNStatus();\n this.progressChartData = [];\n this.showSuccessLock = false;\n // this.showErrorLock = false;\n this.showSuccessWipe = false;\n // this.showErrorWipe = false;\n const permission = sessionStorage.getItem('permissions');\n if (permission !== 'null') {\n this.permissions = JSON.parse(permission);\n }\n }\n\n ngOnInit() {\n const pageName = 'ctnInfoPage';\n this.disableTextButton = false;\n this.manageInventoryService.requestSupportContent(this.utilityService.getEnvConfig().getSupportDocument + pageName).\n subscribe(resp => {\n this.supportArticle = true;\n this.article = resp.supportArticles;\n this.article.category = this.article.availableArticle;\n // }, (err) => {\n // this.handleError(err);\n });\n this.emmProductCode = JSON.parse(sessionStorage.getItem('mdmDetails')).productCode;\n if (this.emmProductCode === 'ADDPZTE') {\n this.oemStatus = true;\n } else {\n this.oemStatus = false;\n }\n document.title = this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url];\n this.showLIC = JSON.parse(sessionStorage.getItem('user')).user.roles === 'LIC' &&\n sessionStorage.getItem('client') !== null && sessionStorage.getItem('client').toUpperCase() === 'UD';\n this.pivots = MOBILEPIVOTS.CTNINFO;\n // this.breadCrumbService.setCurrentBreadCrumb({ label: 'CTN', routerLink: 'manageInventory/ctnInfo' });\n const ctnObjFromSession = JSON.parse(sessionStorage.getItem('ctnDetails'));\n //this.manageInventoryService.getCtnPageDetails(this.utilityService.getEnvConfig().contentUrl.manageInventory.ctnViewData)\n // .subscribe(response => {\n this.pageData = this.activatedRoute.snapshot.data.pageData.manageInventoryctnInfo.CTN;\n this.checkCtn();\n const path = this.breadCrumbService.getBreadCrumbs();\n const len = path.length;\n const previousRoute = path[len - 1].routerLink;\n if (ctnObjFromSession && previousRoute !== 'manageInventory/deviceInventory' && previousRoute !== 'manageInventory/ctnInfo') {\n this.ctnDetails = ctnObjFromSession;\n this.responseData = this.ctnDetails;\n if (this.ctnDetails.ctnStatus && this.ctnDetails.ctnStatus.enrollmentStatus !== 'ENROLLED_ACTIVE') {\n this.deviceDeenrolled = true;\n }\n if (this.ctnDetails.deviceInfo) {\n if (this.ctnDetails.deviceInfo.platform == 'Android' || this.ctnDetails.deviceInfo.platform == 'ANDROID') {\n this.ctnDetails.deviceInfo.platform = 'Android™';\n }\n\n sessionStorage.setItem('currentCtnDetails', JSON.stringify({\n emmTenantId: this.ctnDetails.deviceInfo.emmTenantId,\n emmDeviceId: this.ctnDetails.deviceInfo.emmDeviceId,\n deviceId:this.ctnDetails.deviceInfo.deviceId,\n locked: this.locked,\n wiped: this.wiped,\n deviceDeenrolled: this.deviceDeenrolled\n }));\n }\n\n this.manageInventoryService.createPageLoadProperties('CTN_INFO', 'CtnInfo', this.ctnDetails.ctn, this.ctnDetails.ban);\n this.getCtnDetails();\n this.pageLoaderService.setPageLoaderStatus(true);\n } else {\n if (previousRoute !== 'manageInventory/ctnInfo' && (this.selectedCtn === \"Unknown\" || this.selectedCtn === \"\" || this.selectedCtn === null)) {\n //implement similar flow as below but for imei dets.\n this.selectedImei = JSON.parse(sessionStorage.getItem('imeiNumber'));\n this.manageInventoryService.getImeiDetails(this.selectedImei)\n .subscribe(resObj => {\n this.ctnDetails = resObj.ctnDetailsResponseList[0];\n this.responseData = resObj.ctnDetailsResponseList[0];\n\n if (this.ctnDetails.ctnStatus && this.ctnDetails.ctnStatus.enrollmentStatus !== 'ENROLLED_ACTIVE') {\n this.deviceDeenrolled = true;\n }\n if (this.ctnDetails.deviceInfo.platform === 'Android' || this.ctnDetails.deviceInfo.platform === 'ANDROID') {\n this.ctnDetails.deviceInfo.platform = 'Android™';\n }\n if (this.ctnDetails.deviceInfo.platform === null) {\n this.ctnDetails.deviceInfo.platform = 'Unknown';\n }\n if (this.ctnDetails.emailId === null) {\n this.ctnDetails.emailId = 'Unknown';\n }\n if (this.ctnDetails.deviceInfo) {\n sessionStorage.setItem('currentCtnDetails', JSON.stringify({\n emmTenantId: this.ctnDetails.deviceInfo.emmTenantId,\n emmDeviceId: this.ctnDetails.deviceInfo.emmDeviceId,\n deviceId:this.ctnDetails.deviceInfo.deviceId,\n locked: this.locked,\n wiped: this.wiped,\n deviceDeenrolled: this.deviceDeenrolled,\n }));\n }\n\n this.manageInventoryService.createPageLoadProperties('CTN_INFO', 'CtnInfo', this.ctnDetails.ctn, this.ctnDetails.ban);\n this.getCtnDetails();\n this.pageLoaderService.setPageLoaderStatus(true);\n this.disableTextButton = false;\n }, (err) => {\n this.handleError(err);\n this.disableTextButton = true;\n this.pageData.navLinks.forEach(element => {\n if (element.fieldPermission !== 'ctnInfo.reports') {\n this.disableNavLinks(element);\n }\n });\n });\n \n } else {\n this.manageInventoryService.getCtnDetails(this.selectedCtn)\n .subscribe(resObj => {\n this.ctnDetails = resObj.ctnDetailsResponseList[0];\n this.responseData = resObj.ctnDetailsResponseList[0];\n\n if (this.ctnDetails.ctnStatus && this.ctnDetails.ctnStatus.enrollmentStatus !== 'ENROLLED_ACTIVE') {\n this.deviceDeenrolled = true;\n }\n if (this.ctnDetails.deviceInfo.platform === 'Android' || this.ctnDetails.deviceInfo.platform === 'ANDROID') {\n this.ctnDetails.deviceInfo.platform = 'Android™';\n }\n if (this.ctnDetails.deviceInfo.platform === null) {\n this.ctnDetails.deviceInfo.platform = 'Unknown';\n }\n if (this.ctnDetails.emailId === null) {\n this.ctnDetails.emailId = 'Unknown';\n }\n if (this.ctnDetails.deviceInfo) {\n sessionStorage.setItem('currentCtnDetails', JSON.stringify({\n emmTenantId: this.ctnDetails.deviceInfo.emmTenantId,\n emmDeviceId: this.ctnDetails.deviceInfo.emmDeviceId,\n deviceId:this.ctnDetails.deviceInfo.deviceId,\n locked: this.locked,\n wiped: this.wiped,\n deviceDeenrolled: this.deviceDeenrolled\n }));\n }\n\n this.manageInventoryService.createPageLoadProperties('CTN_INFO', 'CtnInfo', this.ctnDetails.ctn, this.ctnDetails.ban);\n this.getCtnDetails();\n this.enrollStatus = this.ctnStatus.enrollmentStatus.toUpperCase()\n console.log(this.enrollStatus)\n this.pageLoaderService.setPageLoaderStatus(true);\n this.disableTextButton = false;\n }, (err) => {\n this.handleError(err);\n this.disableTextButton = true;\n this.pageData.navLinks.forEach(element => {\n if (element.fieldPermission !== 'ctnInfo.reports') {\n this.disableNavLinks(element);\n }\n });\n });\n }\n }\n \n this.manageInventoryService.createPageLoadProperties('CTN_INFO', 'CtnInfo');\n sessionStorage.getItem('previousRoute') === '/manageInventory' ? this.getProfileID() : null;\n }\n\n getProfileID() {\n this.manageInventoryService.getSingleDevicesInventory([this.ctnDetails.fan])\n .subscribe(respobj => {\n sessionStorage.getItem('ProfileID') ? sessionStorage.removeItem('ProfileID') : null;\n if (respobj.devicesSummary) {\n sessionStorage.setItem('ProfileID', respobj.devicesSummary[0].profile.profileId);\n }\n else {\n sessionStorage.setItem('ProfileID', respobj.profile.profileId);\n }\n })\n }\n\n handleError(error) {\n this.error = true;\n if (error === 'showErrorWipe' || error === 'showErrorLock') {\n this.errorMessage = \"Something went wrong. We couldn't process your request. Please try again later.\";\n } else {\n this.errorMessage = \"Something went wrong. We couldn't process your request. Please try again later.\";\n }\n\n this.pageLoaderService.setPageLoaderStatus(true);\n }\n\n navigate(route) {\n this.showSuccessWipe = false;\n this.showSuccessClaimUnclaim = false;\n this.smsSent = false;\n this.showSuccessLock = false;\n this.showSuccessWipe = false;\n let url;\n if (route === '/sendMessage') {\n this.manageInventoryService.createPageLoadProperties('SEND_MESSAGE_MODAL', 'CtnInfo', this.ctnDetails.ctn, this.ctnDetails.ban);\n this.showSupport = false;\n this.initModal = true;\n this.showSMS = true;\n this.modalClass = 'add-scroll';\n this.eventEmit = document.activeElement;\n } else if (route === '/lockDevice') {\n this.manageInventoryService.createPageLoadProperties('LOCKDEVICE', 'CtnInfo', this.ctnDetails.ctn, this.ctnDetails.ban);\n this.initDeviceLockModal = true;\n url = '/virtual/manageDevice/lockmodal.html';\n this.eventEmit = document.activeElement;\n } else if (route === '/reports') {\n this.initReportPopupModal();\n } else if (route === '/wipeDevice') {\n this.manageInventoryService.createPageLoadProperties('WIPEDEVICE', 'CtnInfo', this.ctnDetails.ctn, this.ctnDetails.ban);\n url = '/virtual/manageDevice/wipemodal.html';\n this.initDeviceWipeModal = true;\n this.eventEmit = document.activeElement;\n } else {\n this.router.navigate([route]);\n this.modalClass = '';\n }\n this.adobeAnalyticsService.trackPageProperties(); // Temp URL Fix\n }\n\n getCtnDetails() {\n\n const currentCtnDetails = JSON.parse(sessionStorage.getItem('currentCtnDetails'));\n if (currentCtnDetails) {\n this.deviceDeenrolled = currentCtnDetails.deviceDeenrolled;\n this.wiped = currentCtnDetails.wiped;\n this.locked = currentCtnDetails.locked;\n }\n\n this.deviceInfo = this.ctnDetails.deviceInfo;\n if(this.deviceInfo.complianceStatus === \"Unknown\" || this.deviceInfo.complianceStatus === undefined || this.deviceInfo.complianceStatus === \"\" || this.deviceInfo.complianceStatus === null){\n this.imeiList = String(this.deviceInfo.imei);\n }else{\n this.imeiList = this.deviceInfo.imei+', '+this.deviceInfo.complianceStatus;\n }\n this.ctnStatus = this.ctnDetails.ctnStatus;\n if (this.ctnDetails.ctnStatus.complianceStatus === 'true' || this.ctnDetails.ctnStatus.complianceStatus === 'IN_COMPLIANCE') {\n this.ctnStatus.complianceStatus = 'Compliant';\n } else if (this.ctnDetails.ctnStatus.complianceStatus === 'false' ||\n this.ctnDetails.ctnStatus.complianceStatus === 'OUT_OF_COMPLIANCE') {\n this.ctnStatus.complianceStatus = 'Not Compliant';\n } else {\n this.ctnStatus.complianceStatus = '';\n }\n if (this.ctnDetails.ctnStatus.applicationStatus && this.ctnDetails.ctnStatus.applicationStatus.length > 0) {\n this.ctnStatus.applicationStatus = this.ctnDetails.ctnStatus.applicationStatus;\n } else {\n this.ctnStatus.applicationStatus = undefined;\n }\n if (this.ctnDetails.ctn) {\n this.ctn = this.ctnDetails.ctn.replace(/^(\\d{0,3})(\\d{0,3})(.*)/, '$1.$2.$3');\n }\n if (this.ctnDetails.ctn == null || this.ctnDetails.ctn == \"\" || this.ctnDetails.ctn == \"Unknown\") {\n this.ctn = \"Unknown\";\n }\n if (this.ctnDetails.emailId == null || this.ctnDetails.emailId == \"\") {\n this.ctnDetails.emailId = \"Unknown\";\n }\n if (this.ctnDetails.userName == null || this.ctnDetails.userName == \"\") {\n this.ctnDetails.userName = \"Unknown\";\n }\n if (this.ctnDetails.groupName == null || this.ctnDetails.groupName == \"\") {\n this.ctnDetails.groupName = \"Unknown\";\n }\n if (this.ctnDetails.ratePlan == null || this.ctnDetails.ratePlan == \"\") {\n this.ctnDetails.ratePlan = \"Unknown\";\n }\n if (this.ctnDetails.userId == null || this.ctnDetails.userId == \"\") {\n this.ctnDetails.userId = \"Unknown\";\n }\n if (this.ctnDetails.deviceInfo.platform == null || this.ctnDetails.deviceInfo.platform == \"\") {\n this.ctnDetails.deviceInfo.platform = \"Unknown\";\n }\n\n\n this.breadCrumbService.setCurrentBreadCrumb({ label: 'Wireless number ' + this.ctn, routerLink: 'manageInventory/ctnInfo' });\n const chartConfig = CHART_CONFIG[this.ctnDetails.ctnStatus.enrollmentStatus];\n if (!this.deviceInfo) {\n this.nullCapture('deviceInfo');\n }\n if (!this.ctnStatus) {\n this.nullCapture('ctnStatus');\n } else {\n if (typeof chartConfig !== 'undefined') {\n let status = chartConfig.label;\n if (status === 'enrolled, active') {\n status = 'Enrolled, active';\n } else if (status === 'not compliant') {\n status = 'Not compliant';\n } else if (status === 'enrolled, not active') {\n status = 'Enrolled, not active';\n } else if (status === 'not enrolled') {\n status = 'Not enrolled';\n }\n const temp: any = {\n 'color': chartConfig.color,\n 'legend': status\n };\n this.progressChartData.push(temp);\n\n let ctnData = this.responseData.ctnStatus;\n\n // For OEM case\n if (ctnData.enrollmentStatus) {\n let enrollmentStatus = ctnData.enrollmentStatus.replace(/_/g, ' ');\n\n if (enrollmentStatus === 'ENROLLED ACTIVE') {\n enrollmentStatus = 'Enrolled, active';\n } else if (enrollmentStatus === 'OUT OF COMPLIANCE') {\n enrollmentStatus = 'Not compliant';\n } else if (enrollmentStatus === 'ENROLLED NOT ACTIVE') {\n enrollmentStatus = 'Enrolled, not active';\n } else if (enrollmentStatus === 'NOT ENROLLED') {\n enrollmentStatus = 'Not enrolled';\n } else if (enrollmentStatus === 'Claimed Android') {\n enrollmentStatus = 'Claimed (Android™)';\n this.displayUnenrollIcon = true;\n } else if (enrollmentStatus === 'Claimed Android™') {\n enrollmentStatus = 'Claimed (Android™)';\n this.displayUnenrollIcon = true;\n } else if (enrollmentStatus === 'Claimed Samsung') {\n enrollmentStatus = 'Claimed (Samsung)';\n this.displayUnenrollIcon = true;\n } else if (enrollmentStatus === 'Claimed Apple') {\n enrollmentStatus = 'Claimed (Apple)';\n this.displayUnenrollIcon = true;\n }else if (enrollmentStatus === 'Not Claimed' ) {\n enrollmentStatus = 'Not claimed';\n this.displayEnrollIcon = true;\n }else if (enrollmentStatus === 'CLAIM PENDING' ) {\n enrollmentStatus = 'Claim pending';\n this.displayEnrollIcon = true;\n }else if (enrollmentStatus === 'UNCLAIM PENDING' ) {\n enrollmentStatus = 'Unclaim pending';\n this.displayUnenrollIcon = true;\n }else if (enrollmentStatus === 'UNCLAIM PENDING Android') {\n enrollmentStatus = 'Unclaim pending (Android™)';\n this.displayUnenrollIcon = true;\n }else if (enrollmentStatus === 'UNCLAIM PENDING Android™') {\n enrollmentStatus = 'Unclaim pending (Android™)';\n this.displayUnenrollIcon = true;\n }else if (enrollmentStatus === 'UNCLAIM PENDING Samsung') {\n enrollmentStatus = 'Unclaim pending (Samsung)';\n this.displayUnenrollIcon = true;\n }else if (enrollmentStatus === 'UNCLAIM PENDING Apple') {\n enrollmentStatus = 'Unclaim pending (Apple)';\n this.displayUnenrollIcon = true;\n }else if (enrollmentStatus === 'CLAIM PENDING Android') {\n enrollmentStatus = 'Claim pending (Android™)';\n this.displayEnrollIcon = true;\n }else if (enrollmentStatus === 'CLAIM PENDING Android™') {\n enrollmentStatus = 'Claim pending (Android™)';\n this.displayEnrollIcon = true;\n }else if (enrollmentStatus === 'CLAIM PENDING Samsung') {\n enrollmentStatus = 'Claim pending (Samsung)';\n this.displayEnrollIcon = true;\n }else if (enrollmentStatus === 'CLAIM PENDING Apple') {\n enrollmentStatus = 'Claim pending (Apple)';\n this.displayEnrollIcon = true;\n }\n\n this.oemEnrollmentStatus = enrollmentStatus;\n }\n\n\n // Display Enroll/Unenroll based on CDFStatus\n if (ctnData.enrollmentStatusCDF) {\n\n let enrollmentStatusCDF = ctnData.enrollmentStatusCDF;\n\n if(enrollmentStatusCDF === 'NOT_CLAIMED' || enrollmentStatusCDF === 'CLAIM_FAILED' || enrollmentStatusCDF === 'UNCLAIM_SUCCESS'){\n this.claimFuncEnable = false;\n }else if(enrollmentStatusCDF === 'CLAIM_SUCCESS' || enrollmentStatusCDF === 'UNCLAIM_FAILED' ){\n this.unclaimFuncEnable = false;\n }\n }\n\n\n\n if (ctnData.serviceType) {\n this.serviceType = ctnData.serviceType;\n if (this.serviceType === 'SAMSUNG_KME') {\n this.serviceType = 'Samsung Knox Mobile Enrollment';\n } else if (this.serviceType === 'Android_ZTE') {\n this.serviceType = 'Android™ zero-touch enrollment';\n }else if (this.serviceType === 'APPLE_ABM') {\n this.serviceType = 'Apple Business Manager';\n }\n }\n\n if (ctnData.enrollmentStatusReason) {\n this.enrollmentStatusReason = ctnData.enrollmentStatusReason.split(\" \");\n if (this.enrollmentStatusReason[7] === 'GMT') {\n this.enrollmentStatusReason = `${this.enrollmentStatusReason[4]} ${this.enrollmentStatusReason[5]} \n ${this.enrollmentStatusReason[8]} ${this.enrollmentStatusReason[6]} \n ${this.enrollmentStatusReason[7]}`;\n }\n else {\n this.enrollmentStatusReason = ctnData.enrollmentStatusReason;\n }\n }\n\n\n }\n }\n\n this.buildAccordion();\n this.disableWipeDevice();\n this.pageData.navLinks.forEach(element => {\n this.disableNavLinks(element);\n });\n sessionStorage.removeItem('imeiNumber');\n //sessionStorage.removeItem('ctnNumber');\n }\n\n nullCapture(capture) {\n if (capture === 'deviceInfo') {\n this.deviceInfo = {\n 'deviceName': '',\n 'platform': '',\n 'os': '',\n 'imei': '',\n 'complianceStatus': '',\n 'checkInDate': '',\n 'emmDeviceId': '',\n 'emmTenantId': '',\n 'emmProvider': '',\n 'deviceId':''\n };\n } else if (capture === 'ctnStatus') {\n this.ctnStatus = {\n 'enrollmentStatus': '',\n 'complianceStatus': '',\n 'mobilityStatus': '',\n 'applicationStatus': [],\n 'programStatus': ''\n };\n }\n }\n\n buildAccordion() {\n if (window.innerWidth > 1024) {\n this.isMobile = false;\n }\n this.options.push({\n id: 1, isActive: true, category: 'Help', description: '', ariaLabel: {\n 'expand': 'Show help',\n 'collapse': 'Hide help'\n }\n });\n }\n\n /* modal popover if support link is clicked from accordion */\n launchSupportModal(modalName) {\n this.confirmModalPopup = new ConfirmModalPopupModel();\n /*this.confirmModalPopup.modalMessage = `\n

Message related to support

\n ` ;*/\n this.confirmModalPopup.modalSubHeader = '';\n if (modalName === 'lock') {\n this.manageInventoryService.createPageLoadProperties('LOCKDEVICE', 'CtnInfo', this.ctnDetails.ctn, this.ctnDetails.ban);\n this.manageInventoryService.requestPopupContent(this.utilityService.getEnvConfig().getSupportDocument[0]).\n subscribe(\n res => {\n this.confirmModalPopup.modalMessage = res.content;\n });\n this.confirmModalPopup.modalHeader = this.pageData.linkText[0];\n } else if (modalName === 'wipe') {\n this.manageInventoryService.createPageLoadProperties('WIPEDEVICE', 'CtnInfo', this.ctnDetails.ctn, this.ctnDetails.ban);\n this.manageInventoryService.requestPopupContent(this.utilityService.getEnvConfig().getSupportDocument[1]).\n subscribe(\n res => {\n this.confirmModalPopup.modalMessage = res.content;\n });\n this.confirmModalPopup.modalHeader = this.pageData.linkText[1];\n } else {\n this.router.navigateByUrl('/faq?id=9');\n }\n this.confirmModalPopup.confirmButtonMessage = 'OK';\n this.confirmModalPopup.showCancelButton = false;\n this.showSMS = false;\n this.initModal = true;\n this.showSupport = true;\n // this.eventEmit = document.activeElement;\n }\n\n closeModal(confirm) {\n this.manageInventoryService.createPageLoadProperties('CTN_INFO', 'CtnInfo', this.ctnDetails.ctn, this.ctnDetails.ban);\n this.initModal = false;\n this.showSMS = false;\n this.showSupport = false;\n this.smsSent = sessionStorage.getItem('smsSent') ? true : false;\n sessionStorage.removeItem('smsSent');\n }\n\n onFanClick() {\n this.manageInventoryService.setSelectedFan(this.ctnDetails.fan);\n this.router.navigate(['manageInventory/deviceInventory']);\n }\n\n checkCtn() {\n this.selectedCtn = this.manageInventoryService.getSelectedCtn();\n if (this.selectedCtn === undefined) {\n this.router.navigate(['manageInventory/deviceInventory']);\n }\n else if (isNaN(parseInt(this.selectedCtn))) {\n if (this.selectedCtn != null) {\n if (this.selectedCtn != \"Unknown\") {\n this.router.navigate(['manageInventory/deviceInventory']);\n }\n }\n }\n }\n\n viewProfile() {\n this.manageInventoryService.setSelectedProfileID(sessionStorage.getItem('ProfileID'));\n this.router.navigate(['manageInventory/fanDeploymentProfile']);\n }\n\n dismissInfo() {\n this.smsSent = false;\n this.showSuccessLock = false;\n this.showSuccessWipe = false;\n this.showSuccessClaimUnclaim = false;\n this.error = false;\n this.showErrorClaimUnclaim = false;\n }\n\n disableNavLinks(field) {\n field.disable = false;\n if ((this.deviceDeenrolled || this.wiped || this.locked) && field.fieldPermission === 'ctnInfo.lockDevice') {\n field.disable = true;\n field.imgUrl = field.disabledImgUrl;\n } else if (this.wiped && field.fieldPermission === 'ctnInfo.wipeDevice') {\n field.disable = true;\n field.imgUrl = field.disabledImgUrl;\n }\n if (((field.fieldPermission === 'ctnInfo.lockDevice' || field.fieldPermission === 'ctnInfo.wipeDevice') &&\n this.ctnStatus.enrollmentStatus !== 'ENROLLED_ACTIVE') ||\n this.utilityService.checkFieldPermission(field.fieldPermission, this.permissions.perm) || this.error) {\n field.disable = true;\n field.imgUrl = field.disabledImgUrl;\n }\n }\n // Report pop up functionality\n initReportPopupModal() {\n this.confirmModalPopup = new ConfirmModalPopupModel();\n this.showReportPopup = true;\n this.eventEmit = document.activeElement;\n this.manageInventoryService.createPageLoadProperties('REQUEST_REPORTS_MODAL', 'CtnInfo', this.ctnDetails.ctn, this.ctnDetails.ban);\n\n }\n\n closeReportPopup() {\n this.showReportPopup = false;\n\n this.manageInventoryService.createPageLoadProperties('CTN_INFO', 'CtnInfo', this.ctnDetails.ctn, this.ctnDetails.ban);\n\n }\n\n showSuccessMessageLock(value) {\n this.showSuccessWipe = false;\n this.locked = true;\n this.initDeviceLockModal = false;\n this.pageData.navLinks.forEach(element => {\n this.disableNavLinks(element);\n });\n if (value) {\n this.showSuccessLock = true;\n } else {\n this.handleError('showErrorLock');\n // this.showErrorLock = true;\n }\n }\n\n showSuccessMessageWipe(device) {\n this.showSuccessLock = false;\n this.deviceDeenrolled = device.deenrolled;\n this.wiped = device.wiped;\n this.initDeviceWipeModal = false;\n if (device.wiped && !device.deenrolled) {\n this.ctnStatus.complianceStatus = 'Not compliant';\n const chartConfig = CHART_CONFIG['NOT_ENROLLED'];\n const temp: any = {\n 'color': chartConfig.color,\n 'legend': 'Pending'\n };\n this.progressChartData[0] = temp;\n this.showSuccessWipe = true;\n this.pageData.navLinks.forEach(element => {\n this.disableNavLinks(element);\n });\n } else if (device.wiped && device.deenrolled) {\n this.showSuccessWipe = true;\n this.ctnStatus.complianceStatus = 'Unenrolled';\n const chartConfig = CHART_CONFIG['NOT_ENROLLED'];\n const temp: any = {\n 'color': chartConfig.color,\n 'legend': 'Pending'\n };\n this.progressChartData[0] = temp;\n this.pageData.navLinks.forEach(element => {\n this.disableNavLinks(element);\n });\n } else {\n this.handleError('showErrorWipe');\n // this.showErrorWipe = true;\n }\n }\n\n\n closeDeviceLockModal(value) {\n this.initDeviceLockModal = false;\n }\n\n closeDeviceWipeModal(value) {\n this.initDeviceWipeModal = false;\n }\n\n disableWipeDevice() {\n if (this.deviceDeenrolled && this.wiped) {\n // changing compliance status\n this.ctnStatus.complianceStatus = this.ctnDetails.ctnStatus.complianceStatus;\n // changing enrollment status\n const chartConfig = CHART_CONFIG['NOT_ENROLLED'];\n const temp: any = {\n 'color': '',\n 'legend': 'Pending Wipe'\n };\n this.progressChartData[0] = temp;\n\n // for device wiped only\n } else if (!this.deviceDeenrolled && this.wiped) {\n // changing compliance status\n this.ctnStatus.complianceStatus = this.ctnDetails.ctnStatus.complianceStatus;\n // changing enrollment status\n const chartConfig = CHART_CONFIG['NOT_ENROLLED'];\n const temp: any = {\n 'color': '',\n 'legend': 'Pending Wipe'\n };\n this.progressChartData[0] = temp;\n }\n }\n\n getSupportContent(articleNumber) {\n if (this.article.availableArticle[articleNumber].type === 'popup') {\n this.initPopupModal(this.article.availableArticle[articleNumber].title, articleNumber);\n } else if (this.article.availableArticle[articleNumber].type === 'url') {\n this.router.navigateByUrl(this.article.availableArticle[articleNumber].url);\n }\n }\n\n initPopupModal(modalName, articleNumber) {\n this.confirmModalPopup = new ConfirmModalPopupModel();\n this.confirmModalPopup.modalSubHeader = '';\n this.manageInventoryService.requestPopupContent(this.utilityService.getEnvConfig().getSupportDocument + 'details/' + modalName).\n subscribe(\n res => {\n this.title = res.articleDetails.name;\n this.confirmModalPopup.modalHeader = this.article.availableArticle[articleNumber].name;\n this.confirmModalPopup.modalMessage = res.articleDetails.content;\n });\n this.confirmModalPopup.confirmButtonMessage = 'OK';\n this.confirmModalPopup.showCancelButton = false;\n this.showSMS = false;\n this.initModal = true;\n this.showSupport = true;\n this.eventEmit = document.activeElement;\n this.showPopup = true;\n }\n\n // added for device lock and wipe userstory\n check(route) {\n if ((this.deviceDeenrolled || this.wiped) && route === '/lockDevice') {\n return true;\n } else if (this.wiped && route === '/wipeDevice') {\n return true;\n } else if (this.wiped && this.deviceDeenrolled && route === '/sendMessage') {\n return true;\n } else if (this.ctnDetails.ctn == \"Unknown\" || this.ctnDetails.ctn == \"\" || this.ctnDetails.ctn == null) {\n return true;\n } else if (this.disableTextButton == true) {\n return true;\n }\n return false;\n }\n // initClaimUnclaim: boolean = false;\n // showErrorClaimUnclaim: boolean = true;\n // showSuccessClaimUnclaim: boolean = true;\n claimDevice() {\n this.claimUnclaimInfo.name = \"claim\";\n this.claimUnclaimInfo.title = \"Claim Device\";\n this.initClaimUnclaim = true;\n this.showErrorClaimUnclaim = false;\n this.showSuccessClaimUnclaim = false;\n const productCode = this.deviceInfo.emmDeviceId.split(\"_\")\n this.eventEmit = document.activeElement;\n console.log(productCode);//DMPAABM_10001 \n // DMPGZTP DMPSKME DMPAABM\n if(productCode[0] === \"DMPAABM\"){\n this.productIdName = \"Apple Organization Id\";\n this.productId = productCode[1];\n }else if(productCode[0] === \"DMPSKME\") {\n this.productIdName = \"Knox Mobile Enrollment ID\";\n this.productId = productCode[1];\n }else if(productCode[0] === \"DMPGZTP\") {\n this.productIdName = \"GOOGLE ID\";\n this.productId = productCode[1];\n }\n }\n\n unClaimDevice() {\n this.claimUnclaimInfo.name = \"unclaim\";\n this.claimUnclaimInfo.title = \"Unclaim Device\";\n this.initClaimUnclaim = true;\n this.showErrorClaimUnclaim = false;\n this.showSuccessClaimUnclaim = false;\n const productCode = this.deviceInfo.emmDeviceId.split(\"_\")\n this.eventEmit = document.activeElement;\n console.log(productCode);//DMPAABM_10001\n // DMPGZTP DMPSKME DMPAABM\n if(productCode[0] === \"DMPAABM\"){\n this.productIdName = \"Apple Organization Id\";\n this.productName = \"ABM\";\n this.productId = productCode[1];\n }else if(productCode[0] === \"DMPSKME\") {\n this.productIdName = \"Knox Mobile Enrollment ID\";\n this.productName = \"KME\";\n this.productId = productCode[1];\n }else if(productCode[0] === \"DMPGZTP\") {\n this.productIdName = \"GOOGLE ID\";\n this.productName = \"ZTE\";\n this.productId = productCode[1];\n }\n }\n\n async ok(status) {\n let companyId = JSON.parse(sessionStorage.getItem('user')).user.companyId;\n console.log(companyId)\n let claimPayload;\n if(status === \"claim\") {\n claimPayload = {\n \"eventName\": \"ENROLL\",\n \"eventPayload\": {\n \"fan\": this.ctnDetails.fan,\n \"companyId\": companyId,\n \"imei\": this.ctnDetails.deviceInfo.imei,\n \"ctn\": this.ctnDetails.ctn,\n \"ban\": this.ctnDetails.ban,\n \"emmProductCode\":this.deviceInfo.emmDeviceId.split(\"_\")[0]\n }\n }\n this.claimUnclaimInfo.name = \"claim\";\n this.claimUnclaimInfo.title = \"Claim Device\";\n this.enrollStatus = \"CLAIM_INITIATED\";\n // claim-initated\n } else {\n claimPayload = {\n \"eventName\": \"DEENROLL\",\n \"eventPayload\": {\n \"fan\": this.ctnDetails.fan,\n \"imei\": this.ctnDetails.deviceInfo.imei,\n \"ctn\": this.ctnDetails.ctn,\n \"ban\": this.ctnDetails.ban,\n \"emmDeviceId\": this.ctnDetails.deviceInfo.emmDeviceId,\n \"deviceId\":this.ctnDetails.deviceInfo.deviceId\n }\n }\n this.claimUnclaimInfo.name = \"unclaim\";\n this.claimUnclaimInfo.title = \"Unclaim Device\";\n this.enrollStatus = \"UNCLAIM_INITIATED\";\n // unclaim-initiated\n }\n console.log(\"claimPayload::::::\"+claimPayload)\n // api call happen\n this.pageLoaderService.setPageLoaderStatus(false);\n try {\n const response = await this.manageInventoryService.updateCtnDetails(claimPayload);\n console.log(\"response:::::\"+ response);\n \n this.initClaimUnclaim = false;\n this.showSuccessClaimUnclaim = true;\n this.showErrorClaimUnclaim = false;\n this.smsSent = false;\n this.claimFuncEnable = true;\n this.unclaimFuncEnable = true;\n this.showErrorClaimUnclaim = false\n } catch (error) {\n console.log(\"error in catch block:::::\"+ error);\n this.initClaimUnclaim = false;\n this.showSuccessClaimUnclaim = false;\n this.showErrorClaimUnclaim = true;\n this.smsSent = false;\n }\n this.pageLoaderService.setPageLoaderStatus(true);\n }\n \n closeModalClaimUnclaim(value) {\n // document.body.classList.remove('modal-open');\n this.initClaimUnclaim = false;\n }\n}\n","
\n
\n
\n \n \n \n \n \n \n \n
\n
\n \n \n \n \n
\n
\n \n \n \n \n
\n \n
\n \n
\n
\n

{{claimUnclaimInfo.title}}

\n
\n
\n \n
\n
\n

Please confirm {{claimUnclaimInfo.name}}ing of the selected device from {{productIdName}} {{productId}}.

\n

Please confirm {{claimUnclaimInfo.name}}ing of the selected device from {{productIdName}} {{productId}}.\n This will remove the device from {{productName}}.

\n

Selected\n IMEI: {{ctnDetails.deviceInfo.imei}}

\n

{{claimUnclaimInfo.name | titlecase}}ing of the device might take up to 24 hours. While we process your request {{claimUnclaimInfo.name}} functionality will be disabled.\n If your device is not {{claimUnclaimInfo.name}}ed after 24 hours, please contact customer support.

\n
\n
\n \n Cancel\n \n
\n
\n
\n
\n \n
\n

Wireless number: {{ctn}}

\n
\n
\n \n
\n
\n
Something went wrong. We were unable to {{claimUnclaimInfo.name}} the device. Please Try again
\n\t \n
\n
\n
\n \n
\n \n
\n\t\t
Your message has been sent.
\n
We've received your request to lock this device.
\n
We're processing your request to wipe this device. This might take a while.
\n
We've received the request to {{claimUnclaimInfo.name}} the device and are processing it now.
\n \n
\n
\n

{{pageData.fanLabel}} {{ctnDetails.fan}}

\n

{{pageData.banLabel}} {{ctnDetails.ban}}

\n
\n
\n

{{pageData.groupNameLabel}} {{ctnDetails.groupName}}

\n

{{pageData.userNameLabel}} {{ctnDetails.userName}}

\n

{{pageData.rateLabel}} {{ctnDetails.ratePlan}}

\n

{{pageData.idLabel}} {{ctnDetails.userId}}

\n

{{pageData.mailLabel}} {{ctnDetails.emailId}}

\n
\n
\n
    \n
  • \n \n\t\t\t \n \n \n
  • \n
\n
\n
\n \n
\n
\n
\n
\n

{{pageData.headerLabel}}

\n
\n

{{deviceInfo.deviceName}}

\n
\n

{{pageData.platformLabel}} {{deviceInfo.platform}}

\n

{{pageData.osLabel}} {{deviceInfo.os}}

\n

{{pageData.imeiLabel}} {{imeiList}}

\n

{{pageData.updateLabel}} {{deviceInfo.checkInDate}}

\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
{{pageData.typeLabel}}{{pageData.statusLabel}}
{{pageData.enrollLabel}}\n \n
{{pageData.complianceLabel}}{{ctnStatus.complianceStatus}}
{{pageData.mobilityLabel}}{{ctnStatus.mobilityStatus | titlecase}}
{{pageData.deviceLabel}}{{oemEnrollmentStatus}}
{{pageData.serviceTypeLabel}}{{serviceType}}
{{pageData.serviceDetailLabel}}{{enrollmentStatusReason}}
{{pageData.appLabel}}{{pageData.appText}}{{ctnStatus.applicationStatus}}
{{pageData.othersLabel}}{{ctnStatus.programStatus}}
\n
\n \n
\n
\n \n \n \n \n \n
\n \n\t\n
\n \n \n \n \n
\n \n
\n
\n
\n
\n

{{pageData.LIC.console}}

\n
\n
\n
\n \n {{ctnDetails.fan}}\n
\n
\n \n {{deviceInfo.emmProvider}}\n
\n
\n \n {{deviceInfo.emmTenantId}}\n
\n
\n
\n
\n \n {{ctn}}\n
\n
\n \n {{deviceInfo.imei}}\n
\n
\n \n {{deviceInfo.emmDeviceId}}\n
\n
\n
\n
\n
\n\n","import { KEY_CONFIG } from 'lib/ng2-sapmp/src/config/key-config';\nimport {\n Component, Input, Output, EventEmitter, OnInit, ViewEncapsulation, ElementRef\n} from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { FormControl } from '@angular/forms';\nimport { CtnLookupModel } from './ctnlookup.model';\nimport { UtilityService } from 'lib/ng2-sapmp/src/providers';\nimport { HttpClientModule, HttpClient } from '@angular/common/http';\nimport { CtnNumberService } from './shared/ctnlookup-modal.service';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { ManageInventoryService } from './../shared/providers/manage-inventory.service';\nimport { PageLoaderService } from 'lib/ng2-sapmp/src/ui-components';\n\n@Component({\n selector: 'app-ctnlookup-modal',\n styleUrls: ['./ctnlookup-modal.component.scss'],\n templateUrl: './ctnlookup-modal.component.html',\n providers: [CtnNumberService],\n encapsulation: ViewEncapsulation.None\n})\n\nexport class CtnlookupModalComponent implements OnInit {\n\n @Input()\n modalPopupObject: CtnLookupModel;\n @Input() triggerElement: any;\n\n @Output()\n modalOutput: EventEmitter;\n\n focusabbleElements: any;\n ctnNumber: any;\n noRecordsFound = false;\n recordsFound = false;\n systemError = false;\n validNumberError = false;\n ctnNumbertoFormate: FormControl;\n ngOnInit() {\n document.body.classList.add('modal-open');\n this.initCtnNumberformControlObj();\n }\n\n constructor(private el: ElementRef, private utilityService: UtilityService,\n private ctnNumberService: CtnNumberService,\n private router: Router,\n private manageInventoryService: ManageInventoryService,\n private pageLoaderService: PageLoaderService) {\n this.modalOutput = new EventEmitter();\n }\n\n\n btnAction(value,event?) {\n\n if (!event || event.keyCode === KEY_CONFIG.enter || event.keyCode === KEY_CONFIG.space) {\n if (event) {\n event.preventDefault();\n event.stopPropagation();\n }\n\n if (value === false) {\n document.body.classList.remove('modal-open');\n this.modalOutput.emit(value);\n this.focusabbleElements = undefined;\n if (this.triggerElement) {\n this.triggerElement.focus();\n }\n } else {\n this.focusabbleElements = undefined;\n if (this.triggerElement) {\n this.triggerElement.focus();\n }\n }\n\n }\n }\n\n loadFocustelements() {\n if (!this.focusabbleElements) {\n const focusableEls = this.utilityService.getFocusableElements(this.el);\n this.focusabbleElements = Array.prototype.slice.call(focusableEls);\n this.focusabbleElements[0].focus();\n }\n }\n\n handleKeydown(event) {\n if (event.keyCode === KEY_CONFIG.escapeKey) {\n this.btnAction(false);\n return;\n }\n this.utilityService.handleKeyPress(event, this.focusabbleElements);\n }\n\n initCtnNumberformControlObj() {\n this.ctnNumbertoFormate = new FormControl();\n }\n handleCtnFieldChange() {\n this.noRecordsFound = false;\n this.systemError = false;\n this.validNumberError = false;\n }\n ctnNumberLookUp(ctnNumber,event?) {\n\n if (!event || event.keyCode === KEY_CONFIG.enter || event.keyCode === KEY_CONFIG.space) {\n if (event) {\n event.preventDefault();\n event.stopPropagation();\n }\n\n if (ctnNumber && ctnNumber.length === 10) {\n if (this.utilityService.getEnvConfig().useMock) {\n this.ctnNumberService.getCtnNumbers(this.utilityService.getEnvConfig().ctnNumberUrl).subscribe(response => {\n const ctnDetails = response;\n this.manageInventoryService.setSelectedCtn(ctnDetails.ctn);\n if (ctnDetails.ctn === ctnNumber) {\n this.btnAction(false);\n this.recordsFound = true;\n this.noRecordsFound = false;\n sessionStorage.setItem('ctnDetails', JSON.stringify(ctnDetails));\n this.router.navigate(['manageInventory/ctnInfo']);\n } else {\n this.recordsFound = false;\n this.noRecordsFound = true;\n }\n this.pageLoaderService.setPageLoaderStatus(true);\n }, error => { \n if( error.status === 400 || error.status === 404){ \n this.recordsFound = false;\n this.noRecordsFound = true;\n } else { \n this.systemError = true;\n }\n });\n } else {\n this.pageLoaderService.setPageLoaderStatus(false);\n this.validNumberError = false;\n this.ctnNumberService.getCtnNumbers(this.utilityService.getEnvConfig().ctnNumberUrl);\n this.manageInventoryService.getCtnDetails(ctnNumber)\n .subscribe(response => {\n const ctnDetails = response.ctnDetailsResponseList[0];\n this.manageInventoryService.setSelectedCtn(ctnDetails.ctn);\n if (ctnDetails.ctn === ctnNumber) {\n this.btnAction(false);\n this.recordsFound = true;\n this.noRecordsFound = false;\n sessionStorage.setItem('ctnDetails', JSON.stringify(ctnDetails));\n this.router.navigate(['manageInventory/ctnInfo']);\n } else {\n this.recordsFound = false;\n this.noRecordsFound = true;\n }\n this.pageLoaderService.setPageLoaderStatus(true);\n }, error => {\n if( error.status === 400 || error.status === 404){\n this.recordsFound = false;\n this.noRecordsFound = true;\n } else {\n this.systemError = true;\n }\n this.pageLoaderService.setPageLoaderStatus(true);\n });\n }\n } else {\n this.validNumberError = true;\n }\n\n }\n }\n}\n"," {{loadFocustelements()}}\n
\n
\n

{{modalPopupObject.modalHeader}}

\n
\n
\n
\n
\n \n
\n
We couldn’t find a match for \"{{ctnNumbertoFormate.value}}\". Check the number and try again.
\n
\n
\n
\n
\n
\n \n
\n
Something isn’t working. We couldn’t perform your search. Please try again.
\n
\n
\n
\n \n
\n \n
\n\n
\n

\n

{{modalPopupObject.ctnFieldLabel}}

\n \n
\n\n
Error! Enter a valid wireless number.
\n\n
\n
\n
\n \n {{modalPopupObject.cancelButtonMessage}}\n
\n
\n
\n
","export class CtnLookupModel {\n modalHeader: string;\n modalMessage: string;\n ctnFieldLabel: string;\n ctnlookupButtonMessage: string;\n cancelButtonMessage: string;\n\n constructor() {\n this.modalHeader = 'Search for a wireless number';\n this.modalMessage = 'To see the status of a particular device, enter a wireless number.';\n this.ctnFieldLabel = 'Enter a 10-digit number';\n this.ctnlookupButtonMessage = 'Search';\n this.cancelButtonMessage = 'Cancel';\n }\n}\n","export * from './ctnlookup-modal.component';\nexport * from './ctnlookup.model';\n","import { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { HttpClient, HttpResponse } from '@angular/common/http';\nimport { throwError } from 'rxjs';\nimport { HttpClientService } from 'lib/ng2-sapmp/src/providers';\n\n\n@Injectable()\nexport class CtnNumberService {\n\n constructor(private http: HttpClient, private httpClientService: HttpClientService) { }\n\n getCtnNumbers(ctnNumberUrl) {\n return this.httpClientService.get(ctnNumberUrl)\n .pipe(\n map((res: HttpResponse) => res.body)\n ,catchError( this.handleError ));\n }\n\n handleError(error) {\n return throwError(error);\n }\n}\n","\nimport {\n SessionProfileStatus,\n ProfileStatus,\n} from \"./../shared/models/manage-inventory.model\";\nimport {\n Component,\n OnInit,\n Input,\n ViewEncapsulation,\n HostListener,\n Injectable,\n SimpleChanges,\n OnChanges,\n Output,\n} from \"@angular/core\";\nimport { map, catchError } from \"rxjs/operators\";\nimport { StatusBarModel } from \"lib/ng2-sapmp/src/ui-components/status-bar\";\nimport { DEVICE_DEPLOYMENT_SUMMARY, CHART_CONFIG } from \"config\";\nimport {\n ManageInventoryService,\n FanSummary,\n FansDeviceSummary,\n DevicesSummary,\n} from \"./../shared\";\nimport {\n UtilityService,\n AuthenticationService,\n} from \"lib/ng2-sapmp/src/providers\";\nimport { BreadCrumbService } from \"lib/ng2-sapmp/src/ui-components/breadcrumb\";\nimport { PageLoaderService } from \"lib/ng2-sapmp/src/ui-components/page-loader\";\n//import { GridOptionsModel, ColumnDefinitionsModel, PaginationsModel, FetchCriteriaModel, FilterService } from 'lib/ng2-sapmp/src/ui-components/custom-grid';\nimport {\n GridOptionsModel,\n ColumnDefinitionsModel,\n PaginationsModel,\n FetchCriteriaModel,\n FilterService,\n CustomGridExtendedComponent,\n} from \"lib/ng2-sapmp/src/ui-components/custom-grid-extended\";\nimport { Router, ActivatedRoute } from \"@angular/router\";\nimport { deviceInventory } from \"config\";\nimport {\n AccordionComponent,\n AccordionModel,\n AccordionListComponent,\n} from \"lib/ng2-sapmp/src/ui-components/accordion\";\nimport { ConfirmModalPopupModel } from \"lib/ng2-sapmp/src/ui-components/confirm-modal\";\nimport { MobilePivotModel } from \"lib/ng2-sapmp/src/ui-components/mobile-pivot\";\nimport { MOBILEPIVOTS } from \"config\";\nimport { SignupService } from \"./../../signup/shared/providers/signup.service\";\nimport { DomSanitizer } from \"@angular/platform-browser\";\nimport { DatePickerService } from \"lib/ng2-sapmp/src/ui-components\";\nimport { DevicesModel } from \"app/pages/grouping-devices/model/grouping-devices.model\";\nimport { AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';//Added for accesories\n\n\ndeclare var ENV_PORTAL:any;//Added for accesories\nimport { GroupingDevicesService } from '../../grouping-devices/grouping-devices.service';\nimport {IndexedDbService} from '../../../indexed-db.service';\n// import { log } from \"console\";\n// declare var ENV_PORTAL:any;//Added for accesories\n\n@Component({\n selector: \"app-device-inventory\",\n templateUrl: \"./device-inventory.component.html\",\n styleUrls: [\"./device-inventory.component.scss\"],\n providers: [\n ManageInventoryService,\n SignupService,\n CustomGridExtendedComponent,\n FilterService,\n DatePickerService,\n AdobeAnalyticsService,//Added for accesories\n GroupingDevicesService,\n IndexedDbService\n ],\n encapsulation: ViewEncapsulation.None,\n})\nexport class DeviceInventoryComponent implements OnInit {\n static SANITIZE;\n modalClass: string;\n leftLabel: string;\n rightLabel: string;\n progressChartData: Array;\n singleFanInventory: any;\n gridOptions: GridOptionsModel;\n public enrollDatePopup: ConfirmModalPopupModel;\n options: Array;\n singleFanDetails: any = deviceInventory.singleFanDetail;\n supportArticles: any;\n initModal: Boolean = false;\n showSupport: Boolean = false;\n showError: boolean;\n smsSent: boolean;\n data: any;\n isMobile: boolean;\n content: string;\n deviceInventoryData: any;\n confirmModalPopup: ConfirmModalPopupModel;\n showPopup: boolean;\n popupHeading: any;\n popupContent: any;\n selectedFanId: any;\n overviewModalPopup: ConfirmModalPopupModel;\n showReportPopup: boolean;\n ctnTable: any;\n eventEmit: any;\n pivots: Array;\n permissions: any;\n enrolledCount: number;\n showLIC: boolean;\n article: any;\n title: any;\n mdmDetails: any;\n fanInfoList: any;\n accountIdlGoogle: string;\n accountIdSamsung: string;\n accountIdApple: string;\n deviceSummaryData: any;\n kme: boolean;\n ztp: boolean;\n abm: boolean;\n enrollStatusArr: any;\n arialabel: string;\n oemStatus: boolean;\n oemNewScreen: boolean;\n addpAuthority: any;\n addpAllow: boolean;\n existingDate: string;\n formSuccess = false;\n failuremessage: boolean = false;\n showEnrollDetailsModal = false;\n showOverviewModal: boolean;\n videoId: string;\n helpArticles: any;\n supportArticle = false;\n pageSize: number;\n sessionProfileStatus: SessionProfileStatus;\n sizePerPage: number;\n presentDataSet: any;\n searchData: Array = [];\n filterValue: string;\n showNotifyMsg: String;\n showNotifyError: boolean = false;\n showNewnotifyFailureError: boolean = false;\n showorgidsuccessMsg: String;\n showorgidFailError: boolean = false;\n showorgidsuccessmsg: boolean = false;\n ctnSelect: boolean = true;\n imeiSelect: boolean = false;\n customGridOptions = new GridOptionsModel();\n legendData: {};\n totalGroupCount: string;\n formSuccessGrp: boolean = false;\n countFlag: boolean = false;\n manageGroupFlag: boolean = false;\n public groupDeviceFlag: boolean = false;\n changebuttonABM: boolean;\n disableLinks: boolean = false;\n statusOptions: any = [];\n public defaultStatus = { name: \"Select\", value: \"\" };\n public defaultGroup = { name: \"Select\", value: \"\" };\n groupsOptions: any = [{ name: \"Select\", value: \"\" }];\n public pageJson;\n public ctn: any;\n public imei: any;\n public deviceModel: any;\n rowData: any = [];\n filterRowData: Array;\n public status: any;\n public group: any;\n selectedRowData: any = [];\n totalNumberOfRecords: number;\n public groupingDevicesDetails: any;\n isctnNumberInvalid: boolean;\n isimeiNumberInvalid: boolean;\n isModelInvalid: boolean;\n public numberOfRowsSelected: number;\n public showNumberOfRowsSelected: boolean = false;\n public numberPattern = new RegExp(\"^[0-9]*$\");\n public modelPattern = new RegExp(\"^[0-9a-zA-Z-\\\\s]*$\");\n db: any;\n indexedDBReq: any;\n public isPremier: boolean = false;//Added for accesories\n // profileAndPermsInfo: any;\n // ddo: any;\n\n @HostListener(\"window:resize\", [\"$event\"])\n onResize(event) {\n this.mobileView();\n }\n\n constructor(\n private route: ActivatedRoute,\n private router: Router,\n private _sanitizer: DomSanitizer,\n private pageloaderService: PageLoaderService,\n private breadCrumbService: BreadCrumbService,\n private signupService: SignupService,\n private authenticationService: AuthenticationService,\n private FilterService: FilterService,\n private manageInventoryService: ManageInventoryService,\n private utilityService: UtilityService,\n private dateformatter: DatePickerService,\n private adobeAnalyticsService: AdobeAnalyticsService, //Added for accessories\n private groupingDevicesService: GroupingDevicesService,\n private dbService: IndexedDbService\n ) {\n DeviceInventoryComponent.SANITIZE = _sanitizer;\n this.leftLabel = \"Devices\";\n this.progressChartData = [];\n this.singleFanInventory = {};\n this.options = [];\n this.showError = false;\n this.smsSent = sessionStorage.getItem(\"smsSent\") ? true : false;\n sessionStorage.removeItem(\"smsSent\");\n this.checkFanId();\n const permission = sessionStorage.getItem(\"permissions\");\n if (permission !== \"null\") {\n this.permissions = JSON.parse(permission);\n }\n \n // this.groupingDevicesService.openIndexedDB();\n }\n\n ngOnInit() {\n //document.title = this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url];\n this.pivots = MOBILEPIVOTS.SINGLEFANDEVICEINVENTORY;\n sessionStorage.removeItem(\"CancelParticipationData\");\n this.pageJson = this.route.snapshot.data.pageData.manageInventorydeviceInventory;\n this.statusOptions = this.pageJson.Status;\n this.showLIC =\n JSON.parse(sessionStorage.getItem(\"user\")).user.roles === \"LIC\" &&\n sessionStorage.getItem(\"client\") !== null &&\n sessionStorage.getItem(\"client\").toUpperCase() === \"UD\";\n this.mdmDetails = JSON.parse(sessionStorage.getItem(\"mdmDetails\"));\n this.addpAuthority = JSON.parse(\n sessionStorage.getItem(\"user\")\n ).user.addpAuthority;\n if (this.addpAuthority === \"PARTIAL\") {\n this.addpAllow = false;\n }\n if (\n this.mdmDetails.productCode === \"ADDPZTE\" ||\n this.mdmDetails.productCode === \"DMPAABM\"\n ) {\n this.oemStatus = true;\n this.leftLabel = \"Enrollment Status\";\n this.singleFanDetails = deviceInventory.singleFanDetailOEM;\n } else {\n this.oemStatus = false;\n }\n //Added for accessories \n if (ENV_PORTAL==='sapmp'||ENV_PORTAL==='dmpadmin')\n {\n this.isPremier=true;\n }\n\n const userObj = this.authenticationService.getUser();\n if (userObj) {\n let userName;\n if (\n (userObj.firstName.length == 0 || userObj.firstName == \"NOT_FOUND\") &&\n (userObj.lastName.length == 0 || userObj.lastName == \"NOT_FOUND\")\n ) {\n userName = \"Unknown\";\n } else if (\n userObj.firstName.length > 0 &&\n userObj.firstName != \"NOT_FOUND\" &&\n (userObj.lastName.length == 0 || userObj.lastName == \"NOT_FOUND\")\n ) {\n userName = userObj.firstName;\n } else if (\n (userObj.firstName.length == 0 || userObj.firstName == \"NOT_FOUND\") &&\n userObj.lastName.length > 0 &&\n userObj.lastName != \"NOT_FOUND\"\n ) {\n userName = userObj.lastName;\n } else {\n userName = userObj.firstName + \" \" + userObj.lastName;\n }\n document.getElementsByClassName(\"first-name\")[0].innerHTML = userName;\n }\n\n this.pageloaderService.setPageLoaderStatus(false);\n //this.manageInventoryService.getDeviceInventoryContent(this.utilityService.getEnvConfig().contentUrl.manageInventory.deviceInventory).\n // subscribe(response => {\n this.deviceInventoryData =\n this.route.snapshot.data.pageData.manageInventorydeviceInventory;\n this.enrollDatePopup = new ConfirmModalPopupModel();\n this.enrollDatePopup.modalHeader =\n this.deviceInventoryData.enrollDatePopup.heading;\n if (!this.oemStatus) {\n this.enrollDatePopup.modalMessage =\n this.deviceInventoryData.enrollDatePopup.description;\n } else {\n this.enrollDatePopup.modalMessage =\n this.deviceInventoryData.enrollDatePopup.descriptionOem;\n }\n // tslint:disable-next-line:max-line-length\n this.enrollDatePopup.showCancelButton = false;\n // will be passing selected fan id as request;\n this.manageInventoryService\n .getSingleDevicesInventory([this.selectedFanId])\n .subscribe(\n (respobj) => {\n //4290\n console.log(\"respobj===>\", respobj);\n let tempData = respobj.devicesSummary.filter(\n (x) => x.fan.status === \"ACTIVE\" || x.fan.status === \"PROCESSING\" || x.fan.status === \"SIGNUP_INPROGRESS\"\n );\n if (tempData.length == 2) {\n this.deviceSummaryData = tempData.reverse();\n }\n this.deviceSummaryData = tempData;\n //4290\n let checkProcessFan = respobj.devicesSummary.filter(\n (x) => x.fan.emmProductCode === \"DMPAABM\" && (x.fan.status === \"PROCESSING\" || x.fan.status === \"SIGNUP_INPROGRESS\")\n );\n\n this.changebuttonABM = checkProcessFan.length > 0 ? true : false\n\n\n if (!this.utilityService.getEnvConfig().useMock) {\n this.data = this.deviceSummaryData[0];\n } else {\n this.data = respobj;\n }\n\n if (this.data.fan && this.data.fan.status) {\n this.singleFanInventory.fan = this.data.fan.fanId;\n this.singleFanInventory.profile = this.data.profile?.profileName;\n this.singleFanInventory.profileId = this.data.profile?.profileId;\n this.singleFanInventory.newDeviceEffectiveDate =\n this.data.fan.newDeviceEffectiveDate;\n this.singleFanInventory.existDeviceEffectiveDate =\n this.data.fan.existDeviceEffectiveDate;\n this.singleFanInventory.emmAccId = this.data.fan.emmAccountId;\n this.singleFanInventory.prodcode = this.data.fan.emmProductCode;\n //this.singleFanInventory.comPref = this.data.profile.communicationPref;\n //adding null condition.since existDeviceEffectiveDate coming as null\n\n if (!this.data.profile || this.data.profile.communicationPref === \"Both\" || this.data.profile.communicationPref === null) {\n this.singleFanInventory.comPref = \"Email/Text\";\n } else if (this.data.profile.communicationPref === \"Sms\") {\n this.singleFanInventory.comPref = \"Text\";\n } else if (this.data.profile.communicationPref === \"Email\") {\n this.singleFanInventory.comPref = \"Email\";\n }\n this.enrollStatusArr = [false, false];\n\n for (let k = 0; k < this.deviceSummaryData.length; k++) {\n if (\n this.deviceSummaryData[k].fan.existDeviceEffectiveDate === \"\" ||\n this.deviceSummaryData[k].fan.existDeviceEffectiveDate === null\n ) {\n this.enrollStatusArr[k] = true;\n }\n\n if (this.deviceSummaryData[k].fan.emmProductCode === \"DMPSKME\") {\n this.accountIdSamsung =\n this.deviceSummaryData[k].fan.emmAccountId;\n this.kme = true;\n } else if (\n this.deviceSummaryData[k].fan.emmProductCode === \"DMPGZTP\"\n ) {\n this.accountIdlGoogle =\n this.deviceSummaryData[k].fan.emmAccountId;\n this.ztp = true;\n } else if (\n this.deviceSummaryData[k].fan.emmProductCode === \"DMPAABM\"\n ) {\n this.accountIdApple =\n this.deviceSummaryData[k].fan.emmAccountId;\n this.abm = true;\n }\n }\n if (\n this.data.fan.status === \"ACTIVE\" &&\n new Date(this.data.fan.newDeviceEffectiveDate) > new Date()\n ) {\n const summaryConfig = DEVICE_DEPLOYMENT_SUMMARY.FUTURE_DEPLOYMENT;\n this.singleFanInventory = Object.assign(\n {},\n this.singleFanInventory,\n summaryConfig\n );\n } else {\n const summaryConfig =\n DEVICE_DEPLOYMENT_SUMMARY[this.data.fan.status];\n this.singleFanInventory = Object.assign(\n {},\n this.singleFanInventory,\n summaryConfig\n );\n }\n this.getChartData(this.data.deviceStatusSummary);\n } else {\n const summaryConfig = !this.data.btnText\n ? DEVICE_DEPLOYMENT_SUMMARY[\"NO_RESULT\"]\n : this.data;\n this.singleFanInventory = Object.assign(\n {},\n this.singleFanInventory,\n summaryConfig\n );\n this.getChartData(this.data.deviceStatusSummary);\n }\n console.log(\"deviceSummaryData===>\", this.data);\n let enrollStatus = new Set(this.deviceSummaryData.map(elm => elm.fan.status));\n this.deviceInventoryData.navLinks.forEach((element) => {\n if ((this.deviceSummaryData.length == 1 && this.deviceSummaryData[0].fan.emmProductCode === 'DMPAABM' && (this.deviceSummaryData[0].fan.status == 'PROCESSING' || this.deviceSummaryData[0].fan.status == 'SIGNUP_INPROGRESS')) || (enrollStatus.has(\"INACTIVE\") && enrollStatus.has(\"PROCESSING\"))) {\n this.disableReportIconIfABMFEPending(element);\n } else {\n this.disableNavLinks(element);\n }\n });\n this.deviceInventoryData.navOEMLinks.forEach((element) => {\n if ((this.deviceSummaryData.length == 1 && this.deviceSummaryData[0].fan.emmProductCode === 'DMPAABM' && (this.deviceSummaryData[0].fan.status == 'PROCESSING' || this.deviceSummaryData[0].fan.status == 'SIGNUP_INPROGRESS')) || (enrollStatus.has(\"INACTIVE\") && enrollStatus.has(\"PROCESSING\"))) {\n this.disableReportIconIfABMFEPending(element);\n } else {\n this.disableNavLinks(element);\n }\n\n });\n this.breadCrumbService.setStaticBreadCrumbs(\n this.router.routerState.snapshot.url\n );\n if (this.singleFanInventory.fan) {\n this.breadCrumbService.setCurrentBreadCrumb({\n label:\n \"Devices for foundation account \" +\n this.singleFanInventory.fan,\n routerLink: \"manageInventory/deviceInventory\",\n });\n } else {\n this.breadCrumbService.setCurrentBreadCrumb({\n label: \"Devices for foundation account \",\n routerLink: \"manageInventory/deviceInventory\",\n });\n }\n },\n (error) => {\n this.handleError(error);\n }\n );\n\n this.initgrid();\n // });\n const pageName = \"deviceInventoryPage\";\n this.helpArticles = [\n { id: 1, isActive: true, category: \"Help\", content: \"\" },\n ];\n //if (!this.oemStatus) {\n this.signupService\n .requestSupportContent(\n this.utilityService.getEnvConfig().getSupportDocument + pageName\n )\n .subscribe(\n (resp) => {\n this.article = resp.supportArticles;\n this.article.name = this.article.availableArticle[0].name;\n this.supportArticle = true;\n },\n (err) => {\n // this.handleError(err);\n }\n );\n // }\n this.options.push({\n id: 1,\n isActive: true,\n category: \"Help\",\n description: \"\",\n ariaLabel: {\n expand: \"Show help\",\n collapse: \"Hide help\",\n },\n });\n this.manageInventoryService.createPageLoadProperties(\n \"DEVICE_INVENTORY\",\n \"DeviceInventory\"\n );\n\n // this.getGroupingDevicesData();\n sessionStorage.setItem(\"callingURL\", \"/manageInventory/deviceInventory\");\n\n // let deviceSessionTable = JSON.parse(sessionStorage.getItem(\"deviceInventoryTable\"));\n let deviceSessionTable;\n this.dbService.getAllData('devices').then(data => {\n deviceSessionTable = data[0];\n });\n // JSON.parse(localStorage.getItem(\"groupDeviceTableData\"));\n\n\n // let deviceSessionTabless = JSON.parse(sessionStorage.getItem(\"groupDeviceTableData\"));\n\n\n // this.rowData = deviceSessionTabless.list;\n this.rowData = deviceSessionTable.list;\n sessionStorage.setItem(\"callingURL\", \"/manageInventory/deviceInventory\");\n\n this.groupingDevicesDetails = JSON.parse(sessionStorage.getItem(\"deviceInventoryTable\"));\n this.totalNumberOfRecords = deviceSessionTable.totalNumberOfRecords;\n }\n\n getDataFromIndexedDB(){\n this.dbService.getAllData('devices').then(data => {\n console.log(data);\n return data.length > 0 ? data[0] : [];\n });\n }\n\n // Helper function to convert month abbreviation to index\n getMonthIndex(month: string): number {\n const months = [\n \"Jan\",\n \"Feb\",\n \"Mar\",\n \"Apr\",\n \"May\",\n \"Jun\",\n \"Jul\",\n \"Aug\",\n \"Sep\",\n \"Oct\",\n \"Nov\",\n \"Dec\",\n ];\n return months.findIndex((m) => m === month);\n }\n navigate(route) {\n const queryparams = {};\n if (route === \"signup\") {\n queryparams[\"tab\"] = \"revisedFanList\";\n this.router.navigate([route], { queryParams: queryparams });\n } else if (route === \"reports\") {\n this.initReportPopupModal();\n } else if (route === \"groupingDevices\" && this.countFlag === true) {\n this.groupDeviceFlag = true;\n window.scrollTo(0, 0);\n } else {\n this.router.navigate([route], { queryParams: queryparams });\n }\n }\n\n getSupportContent(articleNumber) {\n if (this.article.availableArticle[articleNumber].type === \"url\") {\n this.initPopupModal(\n this.article.availableArticle[articleNumber].title,\n articleNumber\n );\n }\n }\n\n initPopupModal(modalName, articleNumber) {\n this.videoId = this.article.availableArticle[articleNumber].url;\n this.showOverviewModal = true;\n }\n\n closeOverviewModal() {\n this.showOverviewModal = false;\n }\n\n selectStatusOption(option) {\n this.status = option.value;\n }\n\n selectGroupOption(option) {\n this.group = option.value;\n }\n\n getFanStatusAndGroupsData(data) {\n // let listData: any = this.getDataFromIndexedDB(); //JSON.parse(localStorage.getItem('groupDeviceTableData'));\n // backupData = JSON.parse(sessionStorage.getItem(\"backupCtns\"));\n //this.dbService.getAllData('devices').then(data => {\n this.groupsOptions = [{ name: \"Select\", value: \"\" }];\n if(data && data.list){\n let groupSet = new Set();\n for (let i = 0; i < this.totalNumberOfRecords; i++) {\n groupSet.add(data.list[i].group);\n }\n console.log(\"group values:\" + groupSet.values());\n for (const x of groupSet.values()) {\n this.groupsOptions.push({ name: x, value: x });\n }\n }\n //});\n \n }\n\n\n\n clearAll() {\n document.getElementById('ctnNumber')['value'] = '';\n document.getElementById('imei')['value'] = '';\n document.getElementById('deviceModel')['value'] = '';\n this.isctnNumberInvalid = false;\n this.isimeiNumberInvalid = false;\n this.isModelInvalid = false;\n\n this.showNumberOfRowsSelected = false;\n\n // for(let i=0; i {\n this.selectStatusOption({ name: \"Select\", value: \"\" })\n this.selectGroupOption({ name: \"Select\", value: \"\" })\n this.searchDevices(0);\n }, 0);\n\n }\n\n checkPattern(event) {\n\n if (!this.numberPattern.test(document.getElementById('ctnNumber')['value'])) {\n this.isctnNumberInvalid = true;\n }\n else {\n this.isctnNumberInvalid = false;\n }\n\n if (!this.numberPattern.test(document.getElementById('imei')['value'])) {\n this.isimeiNumberInvalid = true;\n }\n else {\n this.isimeiNumberInvalid = false;\n }\n\n if (!this.modelPattern.test(document.getElementById('deviceModel')['value'])) {\n this.isModelInvalid = true;\n }\n else {\n this.isModelInvalid = false;\n }\n\n }\n\n showenroll() {\n this.showEnrollDetailsModal = true;\n this.eventEmit = document.activeElement;\n }\n closePopupModal(confirm) {\n this.showEnrollDetailsModal = false;\n }\n\n initgrid() {\n this.pageSize = this.utilityService.getEnvConfig().ctnPageSize;\n const pageNumber = 1;\n var sessionId = sessionStorage.getItem(\"sessionId\");\n this.manageInventoryService\n // .getDeviceInventory(this.selectedFanId, this.pageSize, pageNumber)\n .getGroupDevicesData(this.selectedFanId, sessionId)\n .subscribe(\n (respobj) => {\n // localStorage.setItem(\n // \"groupDeviceTableData\",\n // JSON.stringify(respobj)\n // );\n // this.groupingDevicesService.saveRecordsToDB(respobj);\n this.dbService.clearData('devices');\n this.dbService.addData(\"devices\", respobj);\n this.totalNumberOfRecords = respobj.totalNumberOfRecords;\n this.getFanStatusAndGroupsData(respobj);\n\n this.totalGroupCount = respobj.totalGroupCount;\n if (parseInt(this.totalGroupCount) === 0) {\n this.totalGroupCount = \"0\";\n this.countFlag = true;\n }\n if(parseInt(this.totalGroupCount) === 0 || respobj.list === null || respobj.list === undefined){\n this.pageloaderService.setPageLoaderStatus(true);\n respobj.list = [];\n }\n sessionStorage.setItem(\n \"totalGroupCount\",\n JSON.stringify(this.totalGroupCount)\n );\n\n this.ctnTable = respobj;\n\n // sessionStorage.setItem(\"deviceInventoryTable\", JSON.stringify(respobj));\n // respobj = JSON.parse(sessionStorage.getItem(\"groupDeviceTableData\"));\n\n //const options = new GridOptionsModel();\n this.customGridOptions.enableFiltering = true;\n this.customGridOptions.enableSorting = true;\n this.customGridOptions.multiSelect = false;\n const pagination = {\n recordsPerPage: 100,\n currentPage: 1,\n isServerSide: false,\n totalRecords: respobj.totalNumberOfRecords,\n hideGoToPage: true,\n };\n // const paginationnew = {\n // recordsPerPage: 15,\n // currentPage: 1,\n // isServerSide: true,\n // totalRecords: respobj.totalNumberOfRecords,\n // hideGoToPage: true\n // }\n let backupData: Array = [];\n this.sessionProfileStatus = new SessionProfileStatus(1, respobj.list);\n this.searchData = respobj.list.map((el) => {\n el.groupName = el.group;\n });\n this.searchData = respobj.list;\n backupData.push(this.sessionProfileStatus);\n this.setToSessionCtns(backupData);\n sessionStorage.setItem(\"totalCtns\", pagination.totalRecords);\n // if(this.oemStatus) {\n // sessionStorage.setItem('totalCtns', pagination.totalRecords);\n // }else{\n // sessionStorage.setItem('totalCtns', paginationnew.totalRecords);\n // }\n this.customGridOptions.enableBackLink = true;\n this.customGridOptions.backLinkText =\n this.deviceInventoryData.backLinkText;\n this.customGridOptions.emptyMessage =\n this.deviceInventoryData.emptyMessage;\n this.customGridOptions.searchPlaceHolder = this.ctnSelect\n ? this.deviceInventoryData.searchPlaceHolder\n : this.deviceInventoryData.searchPlaceHolder1;\n this.customGridOptions.ariaLabel = this.ctnSelect\n ? this.deviceInventoryData.searchPlaceHolder\n : this.deviceInventoryData.searchPlaceHolder1;\n if (this.oemStatus) {\n this.customGridOptions.callbacks = {\n callBackAppNameCellTemplate: this.callBackAppNameCellTemplate,\n callBackProfileStatusoem: this.callBackProfileStatusoem,\n callBackImei: this.callBackImei,\n };\n } else {\n this.customGridOptions.callbacks = {\n callBackAppNameCellTemplate: this.callBackAppNameCellTemplate,\n callBackProfileStatus: this.callBackProfileStatus,\n callBackImei: this.callBackImei,\n };\n }\n this.customGridOptions.Paginations = pagination;\n this.customGridOptions.gridData = respobj.list;\n // this.sessionProfileStatus.sessionCtns.slice(\n // 0,\n // pagination.recordsPerPage\n // );\n // if(this.oemStatus) {\n // options.Paginations = paginationnew;\n // options.gridData = this.sessionProfileStatus.sessionCtns.slice(0, paginationnew.recordsPerPage);\n // }else{\n // options.Paginations = pagination;\n // options.gridData = this.sessionProfileStatus.sessionCtns.slice(0, pagination.recordsPerPage);\n // }\n //options.gridData = respobj.list;\n\n //this.customGridOptions.maxLength = 12;\n this.customGridOptions.columnDefinitions =\n this.singleFanDetails.columnDefinitions;\n this.customGridOptions.searchDescriptions = \"\";\n // this.customGridOptions.ctnMask = true;\n this.customGridOptions.ctnMask = this.ctnSelect ? true : false;\n this.customGridOptions.imeiMask = this.imeiSelect ? true : false;\n this.customGridOptions.maxLength = this.ctnSelect ? 12 : 15;\n this.customGridOptions.disableGrid = false;\n this.customGridOptions.disableRow = false;\n this.customGridOptions.disableRowCondition = { field: \"\", value: \"\" };\n\n // refine grid data for \"Claimed_Android\"\n this.customGridOptions.gridData.map(function (x) {\n if (x.status == \"Claimed_Android\") {\n x.status = \"Claimed_Android™\";\n }\n if (x.status == \"CLAIM_PENDING_Android\") {\n x.status = \"CLAIM_PENDING_Android™\";\n }\n });\n\n this.gridOptions = this.customGridOptions;\n\n this.pageloaderService.setPageLoaderStatus(true);\n return this.gridOptions;\n },\n (error) => {\n this.handleError(error);\n }\n );\n }\n\n async searchDevices(data) {\n \n // let deviceSessionTable1 = JSON.parse(sessionStorage.getItem(\"deviceInventoryTable\"));\n //let deviceSessionTable1: any = await this.getDataFromIndexedDB(); //JSON.parse(localStorage.getItem(\"groupDeviceTableData\"));\n // let deviceSessionTabless = JSON.parse(sessionStorage.getItem(\"groupDeviceTableData\"));\n\n // this.rowData = deviceSessionTabless.list;\n this.pageloaderService.setPageLoaderStatus(false);\n this.dbService.getAllData('devices').then(data => {\n // console.log(data);\n this.rowData = data[0].list.map((el) => {\n el.groupName = el.group;\n });\n \n this.rowData = data[0].list;\n this.filterRowData = this.rowData;\n \n let filteredData_ = this.filterRowData.map((x) => {\n if (x.status == \"Claimed_Android\") {\n x.status = \"Claimed_Android™\";\n }\n if (x.status == \"CLAIM_PENDING_Android\") {\n x.status = \"CLAIM_PENDING_Android™\";\n }\n return x;\n });\n \n for (let i = 0; i < this.selectedRowData.length; i++) {\n for (let j = 0; j < this.rowData.length; j++) {\n if (this.selectedRowData[i].ctnNumber == this.rowData[j].ctnNumber) {\n this.rowData[j].selected = false;\n }\n }\n }\n this.showNumberOfRowsSelected = false;\n \n console.log(\"Before search filterRowData:::::::::::::::::::::::: \" + this.filterRowData);\n \n this.ctn = document.getElementById('ctnNumber')['value'];\n this.imei = document.getElementById('imei')['value'];\n \n \n this.deviceModel = document.getElementById('deviceModel')['value'];\n \n if (data) {\n if (this.ctn) {\n this.filterRowData = this.filterRowData.filter(item => item.ctnNumber.includes(this.ctn));\n }\n if (this.imei) {\n this.filterRowData = this.filterRowData.filter(item => item.imei.includes(this.imei));\n \n }\n if (this.deviceModel) {\n this.filterRowData = this.filterRowData.filter(item => item.model.toUpperCase().includes(this.deviceModel.toUpperCase()));\n }\n if (this.status) {\n if(this.status == \"Claimed_Android™\"){\n this.filterRowData = this.filterRowData.filter(item => item.status == \"Claimed_Android\" || item.status == \"Claimed_Android™\");\n }else if(this.status == \"CLAIM_PENDING_Android™\"){\n this.filterRowData = this.filterRowData.filter(item => item.status == \"CLAIM_PENDING_Android\" || item.status == \"CLAIM_PENDING_Android™\");\n }else if(this.status == \"UNCLAIM_PENDING_Android™\"){\n this.filterRowData = this.filterRowData.filter(item => item.status == \"UNCLAIM_PENDING_Android\" || item.status == \"UNCLAIM_PENDING_Android™\");\n }else{\n this.filterRowData = this.filterRowData.filter(item => item.status === this.status);\n }\n }\n if (this.group) {\n this.filterRowData = this.filterRowData.filter(item => item.group === this.group);\n }\n }\n if (this.filterRowData && this.filterRowData.length === 0) {\n this.showNumberOfRowsSelected = false;\n }\n console.log(\"After search filterRowData:::::::::::::::::::::::: \" + this.filterRowData);\n console.log(\"After search filterRowData size:::::::::::::::::::::::: \" + this.filterRowData.length);\n \n this.totalNumberOfRecords = this.filterRowData.length\n this.gridOptions = new GridOptionsModel;\n this.customGridOptions.gridData = this.filterRowData;\n this.customGridOptions.Paginations.currentPage = 1;\n this.customGridOptions.Paginations.totalRecords = this.customGridOptions.gridData.length;\n if (this.customGridOptions.gridData.length == 0) {\n this.customGridOptions.multiSelect = false;\n this.customGridOptions.isEmptyMessageInRow = false;\n } else {\n this.customGridOptions.multiSelect = false;\n }\n \n this.gridOptions = Object.assign({}, this.customGridOptions);\n setTimeout(() => {this.pageloaderService.setPageLoaderStatus(true);}, 2000);\n //this.gridOptions = JSON.parse(JSON.stringify(this.customGridOptions)); \n });\n\n \n }\n\n onRowClickFunc(action) {\n var selectedDevicesForGrouping = this.rowData.filter(item => item.selected === true);\n this.numberOfRowsSelected = selectedDevicesForGrouping.length;\n if (this.numberOfRowsSelected > 0) {\n this.showNumberOfRowsSelected = true;\n } else {\n this.showNumberOfRowsSelected = false;\n }\n sessionStorage.setItem('selectedDevicesForGrouping', JSON.stringify(selectedDevicesForGrouping));\n console.log(selectedDevicesForGrouping);\n this.selectedRowData = selectedDevicesForGrouping;\n }\n\n gridEventChanges(fetchCriteria: FetchCriteriaModel) {\n if (fetchCriteria.searchValue) {\n this.calculateSearch(fetchCriteria);\n } else {\n let startRange: number;\n let flag = false;\n let backupData: Array = [];\n this.sizePerPage = this.gridOptions.Paginations.recordsPerPage;\n let pageNumber = fetchCriteria.offset / this.sizePerPage + 1;\n const dataPerSet = Math.ceil(this.pageSize / fetchCriteria.limit);\n let requiredSet = Math.ceil(\n (fetchCriteria.offset + fetchCriteria.limit) / this.pageSize\n );\n // If offset reaches beyond the pageSize\n if (fetchCriteria.offset >= this.pageSize) {\n startRange = fetchCriteria.offset % this.pageSize;\n } else {\n startRange = fetchCriteria.offset;\n }\n if (requiredSet === this.sessionProfileStatus.setNo) {\n this.presentDataSet = this.sessionProfileStatus.sessionCtns.slice(\n startRange,\n startRange + this.sizePerPage\n );\n this.computeGrid(pageNumber);\n }\n // If required data is not available in sessionProfileStatus but available in sessionStorage or Backend\n else {\n // If required data is available in sessionStorage\n backupData = JSON.parse(sessionStorage.getItem(\"backupCtns\"));\n backupData.forEach((element) => {\n if (element.setNo === requiredSet) {\n this.sessionProfileStatus = new SessionProfileStatus(\n requiredSet,\n element.sessionCtns\n );\n this.presentDataSet = this.sessionProfileStatus.sessionCtns.slice(\n startRange,\n startRange + this.sizePerPage\n );\n flag = true;\n this.gridOptions.Paginations.totalRecords = JSON.parse(\n sessionStorage.getItem(\"totalCtns\")\n );\n this.computeGrid(pageNumber);\n }\n });\n // If required data is not available in model and session then Backend Hit\n if (!flag) {\n this.pageloaderService.setPageLoaderStatus(false);\n this.manageInventoryService\n .getDeviceInventory(this.selectedFanId, this.pageSize, requiredSet)\n .toPromise()\n .then((respObj) => {\n this.pageloaderService.setPageLoaderStatus(true);\n this.sessionProfileStatus = new SessionProfileStatus(\n requiredSet,\n respObj.list\n );\n //\n respObj.list.forEach((element) => {\n this.searchData.push(element);\n });\n //\n //this.searchData.concat(respObj.list);\n backupData = JSON.parse(sessionStorage.getItem(\"backupCtns\"));\n backupData.push(this.sessionProfileStatus);\n this.setToSessionCtns(backupData);\n this.presentDataSet = this.sessionProfileStatus.sessionCtns.slice(\n startRange,\n startRange + this.sizePerPage\n );\n this.computeGrid(pageNumber);\n })\n .catch((error) => this.handleError(error));\n }\n }\n }\n }\n\n calculateSearch(fetchCriteria: FetchCriteriaModel) {\n if (fetchCriteria.offset) {\n // For pagination for search data\n let pageNumber = fetchCriteria.offset / this.sizePerPage + 1;\n this.presentDataSet = this.sessionProfileStatus.sessionCtns.slice(\n fetchCriteria.offset,\n fetchCriteria.offset + this.sizePerPage\n );\n this.computeGrid(pageNumber);\n } else {\n // For the first search\n let filterColumns = [fetchCriteria.filteredCols];\n if (fetchCriteria.filteredCols === \"imei\") {\n this.sessionProfileStatus = new SessionProfileStatus(\n 0,\n this.FilterService.getFilteredData(\n this.searchData,\n fetchCriteria.searchValue,\n [\"imei\"]\n )\n );\n // if(this.sessionProfileStatus.sessionCtns.length === 0){\n // this.sessionProfileStatus = new SessionProfileStatus(0,this.FilterService.getFilteredData(this.searchData, fetchCriteria.searchValue, [\"complianceStatus\"]));\n // }\n\n let appendStatus = new SessionProfileStatus(\n 0,\n this.FilterService.getFilteredData(\n this.searchData,\n fetchCriteria.searchValue,\n [\"complianceStatus\"]\n )\n );\n\n for (\n let i: number = 0;\n appendStatus.hasOwnProperty(\"sessionCtns\") &&\n i < appendStatus.sessionCtns.length;\n i++\n ) {\n this.sessionProfileStatus.sessionCtns.push(\n appendStatus.sessionCtns.pop()\n );\n }\n\n let tempArr = this.sessionProfileStatus.sessionCtns.filter(\n (c, index) => {\n return this.sessionProfileStatus.sessionCtns.indexOf(c) === index;\n }\n );\n\n this.sessionProfileStatus.sessionCtns = tempArr;\n } else {\n this.sessionProfileStatus = new SessionProfileStatus(\n 0,\n this.FilterService.getFilteredData(\n this.searchData,\n fetchCriteria.searchValue,\n filterColumns\n )\n );\n }\n this.presentDataSet = this.sessionProfileStatus.sessionCtns.slice(\n 0,\n this.sizePerPage\n );\n this.gridOptions.Paginations.totalRecords =\n this.sessionProfileStatus.sessionCtns.length;\n this.computeGrid(1);\n }\n }\n\n computeGrid(pageNumber) {\n const tempOptions = this.gridOptions;\n this.gridOptions = new GridOptionsModel();\n tempOptions.Paginations.currentPage = pageNumber;\n tempOptions.gridData = this.presentDataSet;\n this.gridOptions = Object.assign({}, tempOptions);\n }\n\n ngOnDestroy() {\n sessionStorage.removeItem(\"backupCtns\");\n sessionStorage.removeItem(\"totalCtns\");\n this.dbService.closeConnection();\n }\n\n setToSessionCtns(sessionProfileStatus: Array) {\n sessionStorage.setItem(\"backupCtns\", JSON.stringify(sessionProfileStatus));\n }\n\n callBackImei(element, row, field, currentElem, type, col) {\n let imei = row.imei;\n let imei2 = row.complianceStatus;\n if (\n imei2 == \"Unknown\" ||\n imei2 === undefined ||\n imei2 === \"\" ||\n imei2 === null\n ) {\n return `${imei}`;\n } else {\n return `${imei}

${imei2}

`;\n }\n }\n\n /*add two cell for link of CTN and username */\n callBackAppNameCellTemplate(element, row, field, currentElem, type, col) {\n if (type === \"template\") {\n if (\n row.ctnNumber == null ||\n row.ctnNumber == \"\" ||\n row.ctnNumber == \"Unknown\"\n ) {\n const formatctnNumber = \"Unknown\";\n return ` ${formatctnNumber}

${row.userName}

`;\n } else {\n const formatctnNumber = row.ctnNumber.replace(\n /^(\\d{0,3})(\\d{0,3})(.*)/,\n \"$1.$2.$3\"\n );\n return ` ${formatctnNumber}

${row.userName}

`;\n }\n } else if (type.target.classList.contains(\"ctn-number\")) {\n currentElem.onDataChange.emit({ data: row, type: \"ctnInfo\" });\n }\n }\n /*add two cell for status updated in grid column */\n\n /*add two cell for status updated in grid column */\n callBackProfileStatus(element, row, field, currentElem) {\n const colorStatus = row.status.replace(/_/g, \"-\").toLowerCase();\n let status = row.status.replace(/_/g, \" \");\n if (status === \"ENROLLED ACTIVE\") {\n status = \"Enrolled, active\";\n } else if (status === \"OUT OF COMPLIANCE\") {\n status = \"Not compliant\";\n } else if (status === \"ENROLLED NOT ACTIVE\") {\n status = \"Enrolled, not active\";\n } else if (status === \"NOT ENROLLED\") {\n status = \"Not enrolled\";\n } else if (status === \"Claimed Android™\") {\n status = \"claimed (Android™)\";\n } else if (status === \"Claimed Android\") {\n status = \"claimed (Android™)\";\n } else if (status === \"Claimed Samsung\") {\n status = \"claimed (Samsung)\";\n } else if (status === \"Claimed Apple\") {\n status = \"claimed (Apple)\";\n } else if (status === \"UNCLAIM PENDING Android™\") {\n status = \"unclaim pending (Android™)\";\n } else if (status === \"UNCLAIM PENDING Android\") {\n status = \"unclaim pending (Android™)\";\n } else if (status === \"UNCLAIM PENDING Samsung\") {\n status = \"unclaim pending (Samsung)\";\n } else if (status === \"UNCLAIM PENDING Apple\") {\n status = \"unclaim pending (Apple)\";\n } else if (status === \"CLAIM PENDING Android™\") {\n status = \"claim pending (Android™)\";\n } else if (status === \"CLAIM PENDING Android\") {\n status = \"claim pending (Android™)\";\n } else if (status === \"CLAIM PENDING Samsung\") {\n status = \"claim pending (Samsung)\";\n } else if (status === \"CLAIM PENDING Apple\") {\n status = \"claim pending (Apple)\";\n } else if (status === \"Not Claimed\") {\n status = \"not claimed\";\n } else if (status === \"UNCLAIM PENDING\") {\n status = \"unclaim pending\";\n } else if (status === \"CLAIM PENDING\") {\n status = \"claim pending\";\n }\n return `
${status}
`;\n }\n callBackProfileStatusoem(element, row, field, currentElem) {\n const colorStatus = row.status.replace(/_/g, \"-\").toLowerCase();\n let status = row.status.replace(/_/g, \" \");\n if (status === \"ENROLLED ACTIVE\") {\n status = \"Enrolled\";\n } else if (status === \"OUT OF COMPLIANCE\") {\n status = \"Not compliant\";\n } else if (status === \"ENROLLED NOT ACTIVE\") {\n status = \"Enrolled\";\n } else if (status === \"NOT ENROLLED\") {\n status = \"Not enrolled\";\n } else if (status === \"Claimed Android™\") {\n status = \"claimed (Android™)\";\n } else if (status === \"Claimed Android\") {\n status = \"claimed (Android™)\";\n } else if (status === \"Claimed Samsung\") {\n status = \"claimed (Samsung)\";\n } else if (status === \"Claimed Apple\") {\n status = \"claimed (Apple)\";\n } else if (status === \"UNCLAIM PENDING Android™\") {\n status = \"unclaim pending (Android™)\";\n } else if (status === \"UNCLAIM PENDING Android\") {\n status = \"unclaim pending (Android™)\";\n } else if (status === \"UNCLAIM PENDING Samsung\") {\n status = \"unclaim pending (Samsung)\";\n } else if (status === \"UNCLAIM PENDING Apple\") {\n status = \"unclaim pending (Apple)\";\n } else if (status === \"CLAIM PENDING Android™\") {\n status = \"claim pending (Android™)\";\n } else if (status === \"CLAIM PENDING Android\") {\n status = \"claim pending (Android™)\";\n } else if (status === \"CLAIM PENDING Samsung\") {\n status = \"claim pending (Samsung)\";\n } else if (status === \"CLAIM PENDING Apple\") {\n status = \"claim pending (Apple)\";\n } else if (status === \"Not Claimed\") {\n status = \"not claimed\";\n } else if (status === \"UNCLAIM PENDING\") {\n status = \"unclaim pending\";\n } else if (status === \"CLAIM PENDING\") {\n status = \"claim pending\";\n }\n return `
${status}
`;\n }\n\n onRowClick(action) {\n if (action.type === \"ctnInfo\") {\n if (\n action.data.ctnNumber === \"Unknown\" ||\n action.data.ctnNumber === \"\" ||\n action.data.ctnNumber === null\n ) {\n this.manageInventoryService.setSelectedImei(action.data.imei);\n } else {\n this.manageInventoryService.setSelectedCtn(action.data.ctnNumber);\n }\n //this.manageInventoryService.setSelectedCtn(action.data.ctnNumber);\n sessionStorage.setItem(\"ctnDetails\", JSON.stringify(action.data));\n sessionStorage.getItem(\"ProfileID\")\n ? sessionStorage.removeItem(\"ProfileID\")\n : null;\n sessionStorage.setItem(\"ProfileID\", this.singleFanInventory.profileId);\n this.router.navigate([\"manageInventory/ctnInfo\"]);\n }\n }\n\n /*check mobile view for support article accordion*/\n mobileView() {\n this.isMobile = window.innerWidth < 1024;\n this.supportArticles = [\n {\n id: 1,\n isActive: !this.isMobile,\n category: \"Support articles\",\n content: \"\",\n },\n ];\n }\n\n /*get chart data & integrate with status bar */\n getChartData(deviceDetails) {\n let totalValue = 0;\n this.mdmDetails = JSON.parse(sessionStorage.getItem(\"mdmDetails\"));\n this.legendData = { left: [], right: [] };\n if (this.mdmDetails.productCode === \"ADDPZTE\") {\n this.arialabel =\n \"Status bar showing the number of devices claimed compared to the total number of devices.\";\n }\n if (deviceDetails && deviceDetails.length > 0) {\n deviceDetails.forEach((d) => {\n if (d.noOfDevices > 0 && d.noOfDevices !== null) {\n totalValue += d.noOfDevices;\n const chartConfig = CHART_CONFIG[d.status];\n // if (chartConfig.label === 'not claimed') {\n // chartConfig.label = 'Not claimed';\n // }\n const temp: StatusBarModel = {\n value: d.noOfDevices,\n color: chartConfig.color,\n legend: d.noOfDevices + \" \" + chartConfig.label,\n ariaLabel: this.arialabel,\n };\n this.progressChartData.push(temp);\n if (d.status === \"ENROLLED_ACTIVE\") {\n this.enrolledCount = d.noOfDevices;\n }\n }\n });\n\n let count = 0;\n let tempChartData = [];\n tempChartData = this.progressChartData.filter(function (x, i) {\n if (\n x.value > 0 &&\n (x.legend.indexOf(\"claimed (Apple)\") > -1 ||\n x.legend.indexOf(\"claimed (Samsung)\") > -1 ||\n x.legend.indexOf(\"claimed (Android™)\") > -1 ||\n x.legend.indexOf(\"claimed (Android)\") > -1)\n ) {\n count += x.value;\n }\n\n return (\n x.value > 0 &&\n x.legend.indexOf(\"claimed (Apple)\") <= -1 &&\n x.legend.indexOf(\"claimed (Samsung)\") <= -1 &&\n x.legend.indexOf(\"claimed (Android™)\") <= -1 &&\n x.legend.indexOf(\"claimed (Android)\") <= -1\n );\n });\n\n this.progressChartData = tempChartData;\n if (count > 0) {\n const chartConfigClaim = CHART_CONFIG[\"CLAIM_SUCCESS\"];\n const claimMerge: StatusBarModel = {\n value: count,\n color: chartConfigClaim.color,\n legend: count + \" \" + chartConfigClaim.label,\n ariaLabel: this.arialabel,\n };\n\n this.progressChartData.push(claimMerge);\n }\n let arr = [];\n let arr4 = this.progressChartData.filter(\n (x) =>\n x.legend.indexOf(\"claimed\") > -1 &&\n x.legend.indexOf(\"not claimed\") < 0\n );\n if (arr4.length > 0) {\n arr.push(arr4.pop());\n }\n let arr3 = this.progressChartData.filter(\n (x) =>\n x.legend.indexOf(\"claim pending\") > -1 &&\n x.legend.indexOf(\"unclaim pending\") < 0\n );\n if (arr3.length > 0) {\n arr.push(arr3.pop());\n }\n let arr2 = this.progressChartData.filter(\n (x) => x.legend.indexOf(\"unclaim pending\") > -1\n );\n if (arr2.length > 0) {\n arr.push(arr2.pop());\n }\n let arr1 = this.progressChartData.filter(\n (x) => x.legend.indexOf(\"not claimed\") > -1\n );\n if (arr1.length > 0) {\n arr.push(arr1.pop());\n }\n\n this.progressChartData = arr;\n\n let legendCounter = 0;\n this.progressChartData.forEach((x, i) => {\n // if legendcounter is even, show legend on the left else on the right\n this.legendData[legendCounter % 2 === 0 ? \"left\" : \"right\"].push(x);\n legendCounter++;\n });\n this.rightLabel = String(totalValue);\n }\n }\n\n /* modal popover if support link is clicked from accordion */\n launchSupportModal(modalName) {\n this.confirmModalPopup = new ConfirmModalPopupModel();\n this.confirmModalPopup.modalSubHeader = \"\";\n if (modalName === \"Locking a device\") {\n this.manageInventoryService\n .requestPopupContent(\n this.utilityService.getEnvConfig().getSupportDocument[0]\n )\n .subscribe((res) => {\n this.confirmModalPopup.modalMessage = res.content;\n });\n this.confirmModalPopup.modalHeader =\n this.deviceInventoryData.lockingDevice;\n } else if (modalName === \"Wiping a device\") {\n this.manageInventoryService\n .requestPopupContent(\n this.utilityService.getEnvConfig().getSupportDocument[1]\n )\n .subscribe((res) => {\n this.confirmModalPopup.modalMessage = res.content;\n });\n this.confirmModalPopup.modalHeader =\n this.deviceInventoryData.wipingDevice;\n } else {\n this.router.navigateByUrl(\"/faq?id=9\");\n }\n this.confirmModalPopup.confirmButtonMessage = \"OK\";\n this.confirmModalPopup.showCancelButton = false;\n this.initModal = true;\n this.showSupport = true;\n this.eventEmit = document.activeElement;\n }\n\n closeModal(confirm) {\n this.initModal = false;\n this.showSupport = false;\n this.showPopup = false;\n }\n\n handleError(error) {\n this.pageloaderService.setPageLoaderStatus(true);\n this.showError = true;\n }\n\n checkFanId() {\n this.selectedFanId = this.manageInventoryService.getSelectedFan();\n if (this.selectedFanId == null || isNaN(parseInt(this.selectedFanId))) {\n this.router.navigate([\"manageInventory\"]);\n } else {\n this.utilityService.setSelectedFan(this.selectedFanId);\n sessionStorage.setItem(\"fanID\", this.selectedFanId);\n }\n }\n\n viewProfile() {\n this.manageInventoryService.setSelectedProfileID(\n this.data.profile.profileId\n );\n this.router.navigate([\"manageInventory/fanDeploymentProfile\"]);\n }\n cancelPaticipation(index) {\n let emmProductCode =\n this.deviceSummaryData[parseInt(index)].fan.emmProductCode;\n sessionStorage.setItem(\"emmProductCode\", emmProductCode);\n if (!this.oemStatus) {\n this.router.navigate([\"cancelParticipation\"]);\n } else {\n sessionStorage.removeItem(\"removeManage\");\n this.router.navigate([\"cancelParticipation/removeaccount\"]);\n }\n }\n dismissInfo() {\n this.smsSent = false;\n this.showNotifyError = false;\n this.showorgidsuccessmsg = false;\n this.formSuccess = false;\n this.formSuccessGrp = false;\n this.manageGroupFlag = false;\n this.groupDeviceFlag = false;\n }\n\n disableNavLinks(field) {\n field.disable = false;\n field.imgUrl = field.imgUrl;\n if (\n (field.fieldPermission === \"deviceInventory.sendMessage\" &&\n 1 > JSON.parse(sessionStorage.getItem(\"noOfDevice\"))) ||\n this.utilityService.checkFieldPermission(\n field.fieldPermission,\n this.permissions.perm\n )\n ) {\n field.disable = true;\n field.imgUrl = field.disabledImgUrl;\n }\n }\n\n disableReportIconIfABMFEPending(field) {\n this.disableLinks = true;\n field.disable = false;\n //if (field.fieldPermission === \"deviceInventory.reports\" || field.fieldPermission === \"deviceInventory.sendMessage\") {\n field.disable = true;\n field.imgUrl = field.disabledImgUrl;\n // }\n }\n\n // Report pop up functionality\n initReportPopupModal() {\n this.modalClass = \"modal-lg\";\n this.overviewModalPopup = new ConfirmModalPopupModel();\n this.showReportPopup = true;\n this.eventEmit = document.activeElement;\n\n this.manageInventoryService.createPageLoadProperties(\n \"REQUEST_REPORTS_MODAL\"\n );\n }\n\n closeReportPopup() {\n this.showReportPopup = false;\n\n this.manageInventoryService.createPageLoadProperties(\n \"DEVICE_INVENTORY\",\n \"DeviceInventory\"\n );\n }\n\n updateExistingDate(index) {\n let fanId = this.singleFanInventory.fan;\n let minDate = new Date();\n this.existingDate = this.dateformatter.formatDate(\n \"yyyy-mm-dd\",\n new Date(minDate.getFullYear(), minDate.getMonth(), minDate.getDate() + 1)\n );\n let checkdata = {\n fan: fanId,\n existingDate: this.existingDate,\n productCode: this.deviceSummaryData[index].fan.emmProductCode,\n };\n this.manageInventoryService.postExistingDate(checkdata).subscribe((res) => {\n if (res.status === \"success\") {\n this.formSuccess = true;\n this.enrollStatusArr[parseInt(index)] = false;\n } else {\n this.failuremessage = true;\n this.showError = true;\n }\n }),\n (error) => {\n this.failuremessage = true;\n };\n }\n\n selectedProfile() {\n let profileId = this.singleFanInventory.profileId;\n this.manageInventoryService.setSelectedProfileID(profileId);\n let notificationcomstatus = this.data.profile.communicationPref\n ? this.singleFanInventory.comPref\n : \"\";\n this.manageInventoryService.Deviceinventorynotifystatus(\n notificationcomstatus\n );\n }\n selectedFan(value) {\n let fan = this.singleFanInventory.fan;\n this.manageInventoryService.deviceinventoryselectedfan(fan);\n //let deviceinventoryorgId = this.singleFanInventory.emmAccId;\n this.manageInventoryService.deviceinventoryselectedorgid(value);\n this.router.navigate([\"manageInventory/manageAccounts\"]);\n }\n ngAfterViewInit() {\n this.showNotifyMsg = sessionStorage.getItem(\"resSuccess\");\n if (this.showNotifyMsg === \"true\") {\n this.showNotifyError = true;\n } else if (this.showNotifyMsg === \"false\") {\n this.showNewnotifyFailureError = true;\n }\n sessionStorage.removeItem(\"resSuccess\");\n\n this.showorgidsuccessMsg = sessionStorage.getItem(\"resorgidSuccess\");\n if (this.showorgidsuccessMsg === \"true\") {\n this.showorgidsuccessmsg = true;\n } else if (this.showorgidsuccessMsg === \"false\") {\n this.showorgidFailError = true;\n }\n sessionStorage.removeItem(\"resorgidSuccess\");\n\n //handle success messgae for move group devices\n if (sessionStorage.getItem(\"reviewGrpSuccess\") == \"true\") {\n this.formSuccessGrp = true;\n } else {\n this.formSuccessGrp = false;\n }\n sessionStorage.removeItem(\"reviewGrpSuccess\");\n }\n\n continueManageGroup() {\n if (this.countFlag) {\n this.manageGroupFlag = true;\n } else {\n this.router.navigate([\"/manageGroups\"]);\n }\n }\n\n // getGroupingDevicesData() {\n // var sessionId = sessionStorage.getItem(\"sessionId\");\n // this.manageInventoryService\n // .getGroupDevicesData(this.selectedFanId, sessionId)\n // .subscribe(\n // (resposneObject) => {\n // var response = JSON.parse(JSON.stringify(resposneObject));\n // sessionStorage.setItem(\n // \"groupDeviceTableData\",\n // JSON.stringify(response)\n // );\n // this.getFanStatusAndGroupsData();\n // },\n // (error) => {\n // this.handleError(error);\n // }\n // );\n // }\n // Code for accessories icon\n gotoAccesories() {\n let url= this.utilityService.getEnvConfig().accessoriesLink;\n //to get FAN Name\n // console.log(\"Fan Number : \",this.singleFanInventory.fan);\n // const fansList = JSON.parse(sessionStorage.getItem(\"user\")).user.fans;\n // const selectedFanDetail = fansList.filter((fan:any) => {\n // return fan.fanId === this.singleFanInventory.fan;\n // });\n // const selectedFanName = selectedFanDetail[0].fanName;\n // console.log(\"Fan Name : \", selectedFanName);\n\n //to get imei and ctn\n // console.log(\"-------this.ctnTable\", this.ctnTable);\n // var sessionId = sessionStorage.getItem(\"sessionId\");\n // // this.ctn = this.ctnTable.list[0].ctnNumber;\n // // this.imei = this.ctnTable.list[0].imei;\n // var randomIndex = Math.floor(Math.random() * this.ctnTable.list.length);\n // this.ctn = this.ctnTable.list[randomIndex].ctnNumber;\n // this.imei = this.ctnTable.list[randomIndex].imei;\n // console.log('Random CTN:', this.ctn);\n // console.log('Random IMEI:', this.imei);\n\n //to get utm parameters\n const utmSource = 'DMP device inventory'; \n const utmMedium = 'icon'; \n const utmCampaign = 'device accessory showcase'; \n this.adobeAnalyticsService.createClickProperties('Device Inventory Purchase accessories', 'body', '/business/shop/shop_cru_home.jsp');\n\n // Append all parameters to the URL\n const trackedUrl = `${url}?utm_source=${utmSource}&utm_medium=${utmMedium}&utm_campaign=${utmCampaign}`;\n // Navigate to the tracked URL\n window.open(trackedUrl, '_blank');\n }\n }\n","\n\n
\n
\n
\n \n
\n
\n \n

Error

\n

\n Organization ID update failed. Check entry and retry. If issue\n continues, contact support at 866.563.4703 .\n

\n
\n
\n
\n\n
\n
\n
\n \n
\n
\n \n

Error

\n

\n Notification settings update failed. Check entry and retry. If issue\n continues, contact support at 866.563.4703 .\n

\n
\n
\n
\n\n
\n
\n
\n \n
\n
\n {{ deviceInventoryData.errorMessage }}\n \n
\n \n
\n\n
\n

\n {{ deviceInventoryData.heading }} {{ singleFanInventory.fan }}\n

\n
\n \n \n \n \n
\n \n
\n
\n {{\n deviceInventoryData.profileLabel\n }}\n {{\n singleFanInventory.profile\n }}\n
\n
\n {{\n deviceInventoryData.participationLabel\n }}\n {{\n !singleFanInventory.newDeviceEffectiveDate\n ? deviceInventoryData.noDateSetLabel\n : singleFanInventory.newDeviceEffectiveDate\n }}\n
\n
\n {{\n deviceInventoryData.existParticipationLabel\n }}\n {{\n !singleFanInventory.existDeviceEffectiveDate\n ? deviceInventoryData.noDateSetLabel\n : singleFanInventory.existDeviceEffectiveDate\n }}\n
\n \n
\n \n
\n
\n
\n
\n
\n \n
\n
0\">\n \n \n
\n
\n\n
\n
\n
    \n
  • \n \n
  • \n
\n
\n
\n
    \n
  • \n \n
  • \n
\n
\n
\n
\n
\n \n
\n \n \n \n \n
\n

{{ deviceInventoryData.subHeading }}

\n \n
\n \n \n \n \n
\n \n
\n \n \n \n \n
\n
\n \n
\n
\n
\n
\n \n
\n \n
\n
\n
\n
\n
\n
\n \n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n {{ deviceInventoryData.errorMessage }}\n
\n \n
\n {{ deviceInventoryData.failureMessage }}\n
\n \n
\n\n
\n
\n

\n {{ deviceInventoryData.heading }}\n

\n
\n\n
\n
\n
\n \n
\n
\n

Your message has been sent.

\n
\n
\n
\n
\n \n
\n
\n
\n \n
\n
\n

Success

\n

Notification settings updated successfully.

\n
\n
\n
\n
\n\n
\n
\n
\n
\n \n
\n
\n

\n The device(s) have been successfully moved to a group.\n

\n
\n
\n
\n
\n
\n\n \n
\n
\n
\n
\n \n
\n
\n

Success

\n

Organization ID updated successfully.

\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n \n
\n
\n

\n {{ deviceInventoryData.successMessage }}\n

\n
\n
\n
\n
\n
\n\n
\n
\n
\n \n
\n
\n

We are loading your device data, please wait.

\n
\n
\n
\n\n
\n

\n {{ deviceInventoryData.headingoem }}\n {{ singleFanInventory.fan }}\n

\n
\n
\n\n
\n\n
\n \n \n \n \n
\n \n\n
\n
\n
\n \n \n \n \n \n\n \n \n \n \n
\n {{ deviceInventoryData.notifications }}\n {{ singleFanInventory.comPref }}\n \n \n {{ deviceInventoryData.changeText }}\n \n
\n Total Device Groups: {{ totalGroupCount }}\n \n \n Manage Groups\n \n
\n
\n
\n \n
\n
\n\n
\n
\n
\n Android™ Zero-touch\n
\n
\n Knox Mobile Enrollment\n
\n
\n Apple Business Manager\n
\n\n
\n
\n GOOGLE ID: {{ deviceSummaryData[0].fan.emmAccountId }}\n
\n
\n Knox Enrollment ID:\n {{ deviceSummaryData[0].fan.emmAccountId }}\n
\n
\n Apple Organization ID:\n \n {{ deviceSummaryData[0].fan.emmAccountId ? deviceSummaryData[0].fan.emmAccountId : \"Pending\"}}\n \n \n {{ deviceInventoryData.change }}\n \n
\n\n
0 && enrollStatusArr[0]\">\n {{ deviceInventoryData.existingDevices }}\n {{ deviceInventoryData.existingDevicesValue }}\n \n {{ deviceInventoryData.enroll }}\n \n \n
\n
\n {{ deviceInventoryData.existingDevices }}\n {{ deviceInventoryData.enrolled }}\n
\n
\n\n \n
\n\n \n
\n
\n Android™ Zero-touch\n
\n
\n Knox Mobile Enrollment\n
\n
\n Apple Business Manager\n
\n
\n GOOGLE ID: {{ deviceSummaryData[1].fan.emmAccountId }}\n
\n
\n Knox Enrollment ID:\n {{ deviceSummaryData[1].fan.emmAccountId }}\n
\n
\n Apple Organization ID:\n {{ deviceSummaryData[1].fan.emmAccountId ? deviceSummaryData[1].fan.emmAccountId : \"Pending\"}}\n \n \n \n \n \n {{ deviceInventoryData.change }}\n \n
\n
0 && enrollStatusArr[1]\">\n {{ deviceInventoryData.existingDevices }}\n {{ deviceInventoryData.existingDevicesValue }}\n 0 && enrollStatusArr[1] && !addpAllow\">\n {{ deviceInventoryData.enroll }}\n \n \n
\n
\n {{ deviceInventoryData.existingDevices }}\n {{ deviceInventoryData.enrolled }}\n
\n\n \n
\n\n
\n
This account has one program
\n

Once you add a new program it will show up here.

\n \n
\n
\n \n
\n
\n

Manage Devices

\n\n \n
\n
\n
\n
\n
\n
\n \n \n \n
\n
0\">\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n \n
\n \n
\n
\n
\n\n
\n
\n
\n
\n\n
\n
\n
\n

Find Devices

\n Clear all\n
\n
\n
\n \n
\n \n
\n
\n
Invalid Data
\n
\n
\n\n
\n \n
\n \n
\n
\n
Invalid Data
\n
\n
\n\n
\n \n
\n \n
\n
\n
Invalid Data
\n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n \n
\n
\n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n
\n \n \n\n
\n \n \n \n \n
\n
\n \n
\n \n \n \n \n
\n \n
\n \n \n \n \n
\n
\n \n
\n
\n
\n
\n \n
\n \n
\n
\n
\n
\n
\n \n \n
\n
\n\n
\n
\n

\n {{ deviceInventoryData.LIC.console }}\n

\n
\n
\n
\n \n {{ singleFanInventory.fan }}\n
\n
\n \n {{ data.emmProvider }}\n
\n
\n \n {{ data.emmTenantId }}\n
\n
\n
\n
\n
\n","import { PageLoaderService } from 'lib/ng2-sapmp/src/ui-components/page-loader';\nimport { Component, Input, Output, OnInit, EventEmitter, ElementRef, ViewEncapsulation } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { UtilityService } from 'lib/ng2-sapmp/src/providers';\nimport { ENV } from 'config';\nimport { ManageInventoryService } from './../shared/providers/manage-inventory.service';\nimport { KEY_CONFIG } from './../../../../lib/ng2-sapmp/src/config/key-config';\n\ndeclare var ENV_VAR: any;\n\n@Component({\n selector : 'app-device-lock',\n templateUrl : './device-lock.component.html',\n styleUrls : ['./device-lock.component.scss'],\n providers: [ManageInventoryService],\n encapsulation: ViewEncapsulation.None\n})\n\nexport class DeviceLockComponent implements OnInit {\n public jsonRes: any;\n public focusAbleElements: any;\n @Input() fan: any;\n @Input() ban: any;\n @Input() ctn: any;\n @Input() triggerElement: any;\n @Output() modalOutput: EventEmitter;\n @Output() responseVal: EventEmitter;\n\n constructor(private util: UtilityService, private el: ElementRef,\n private manageInventoryService: ManageInventoryService,\n private router: Router, private pageloaderService: PageLoaderService) {\n this.modalOutput = new EventEmitter();\n this.responseVal = new EventEmitter();\n manageInventoryService.fetchJSON(this.util.getEnvConfig().contentUrl.manageInventory.deviceLockWipeDetailsUrl).subscribe(resObj => {\n this.jsonRes = resObj;\n });\n }\n\n ngOnInit() {\n document.body.classList.add('modal-open');\n }\n\n ok() {\n const impersonator = JSON.parse(sessionStorage.getItem('impersonator'));\n const isDisabled = impersonator && impersonator.id ? true : false;\n if (isDisabled) {\n (document.getElementById('device-lock-btn')).disabled = true;\n } else {\n this.pageloaderService.setPageLoaderStatus(false);\n const currentCtnDetails = JSON.parse(sessionStorage.getItem('currentCtnDetails'));\n this.manageInventoryService.getDeviceLockStatus(currentCtnDetails.emmTenantId, currentCtnDetails.emmDeviceId).\n subscribe(respobj => {\n if (respobj.success) {\n this.pageloaderService.setPageLoaderStatus(true);\n this.responseVal.emit(true);\n }else {\n this.pageloaderService.setPageLoaderStatus(true);\n this.responseVal.emit(false);\n }this.dimissModal(false);\n }, error => {\n this.handleError(error);\n });\n document.body.classList.remove('modal-open');\n }\n }\n\n loadFocusTelements() {\n if (!this.focusAbleElements) {\n const focusAbleEls = this.util.getFocusableElements(this.el);\n this.focusAbleElements = Array.prototype.slice.call(focusAbleEls);\n document.getElementById('modalHeading').focus();\n }\n }\n\n handleKeydown(event) {\n if (event.keyCode === KEY_CONFIG.escapeKey) {\n this.dimissModal(false);\n return;\n }\n this.util.handleKeyPress(event, this.focusAbleElements);\n }\n dimissModal(value, event?) {\n if (!event || event.keyCode === KEY_CONFIG.enter || event.keyCode === KEY_CONFIG.space) {\n if (event) {\n event.preventDefault();\n event.stopPropagation();\n }\n document.body.classList.remove('modal-open');\n this.modalOutput.emit(value);\n this.focusAbleElements = undefined;\n if (this.triggerElement) {\n this.triggerElement.focus();\n }\n }\n }\n cancelModal(value) {\n document.body.classList.remove('modal-open');\n this.modalOutput.emit(value);\n if (this.triggerElement) {\n this.triggerElement.focus();\n }\n }\n\n handleError(error) {\n this.pageloaderService.setPageLoaderStatus(true);\n throw error;\n }\n}\n","
\n {{loadFocusTelements()}}\n
\n

{{jsonRes.heading_lock}}

\n
\n
\n \n
\n
\n
{{jsonRes.ctn}}: {{ctn}}
\n
{{jsonRes.fan}}: {{fan}}
\n
{{jsonRes.ban}}: {{ban}}
\n
\n
{{jsonRes.lock_description_1}}
\n
{{jsonRes.lock_description_2}}
\n
\n
\n \n {{jsonRes.buttons.cancel}}\n \n
\n
","export * from './device-lock.component';\n","import { Component, OnInit, Input, ViewEncapsulation } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { Router } from '@angular/router';\nimport { DatePickerService } from 'lib/ng2-sapmp/src/ui-components';\nimport { ManageInventoryService } from '../shared';\nimport { StatusBarModel } from 'lib/ng2-sapmp/src/ui-components/status-bar';\nimport { DEVICE_DEPLOYMENT_SUMMARY, CHART_CONFIG } from 'config';\nimport { LegendModel } from 'lib/ng2-sapmp/src/ui-components/legend/legend.model';\n@Component({\n selector: 'app-device-summary',\n templateUrl: './device-summary.component.html',\n styleUrls: ['./device-summary.component.scss'],\n providers: [DatePickerService],\n encapsulation: ViewEncapsulation.None\n})\nexport class DeviceSummaryComponent implements OnInit {\n systemFailure: boolean;\n leftLabel: string;\n rightLabel: string;\n progressChartData: Array;\n progressChartDataForNull: Array;\n deviceDeploymentSummary: any;\n deviceSummarymngInventory: any;\n addTileHeader: boolean;\n mdmDetails: any;\n arialabel: string;\n deviceSummary: any;\n manageProduct: any;\n fanLength: any;\n readyToSetupFansCount: any;\n @Input('data') data: any;\n kme: boolean;\n ztp: boolean;\n abm: boolean;\n omekme: boolean;\n omeztp: boolean;\n omeabm: boolean;\n oemStatus = false;\n enrollStatus: boolean;\n addpAuthority: any;\n addpAllow: boolean;\n existingDate: string;\n formSuccess = false;\n showError: boolean;\n processingFans: any;\n processingFansCount: any;\n processingFansFlag: boolean = false;\n fanInfoList: any;\n legendData: {};\n pData: Array = [];\n changedisable: boolean;\n isDeviceCount: boolean;\n\n constructor(private router: Router, private manageInventoryService: ManageInventoryService, private dateformatter: DatePickerService) {\n this.leftLabel = 'Total devices';\n this.progressChartData = [];\n this.progressChartDataForNull = [];\n this.deviceDeploymentSummary = {};\n this.processingFansFlag = false;\n }\n\n ngOnInit() {\n this.mdmDetails = JSON.parse(sessionStorage.getItem('mdmDetails'));\n if (this.mdmDetails && this.mdmDetails.productCode === 'ADDPZTE') {\n this.oemStatus = true;\n }\n this.addpAuthority = JSON.parse(sessionStorage.getItem('user')).user.addpAuthority;\n if (this.addpAuthority === 'PARTIAL') {\n this.addpAllow = false;\n }\n this.manageProduct = sessionStorage.getItem('manage-product');\n this.fanLength = sessionStorage.getItem('fanLength');\n this.fanInfoList = JSON.parse(sessionStorage.getItem('fanInfoList'));\n this.deviceSummary = DEVICE_DEPLOYMENT_SUMMARY;\n this.readyToSetupFansCount = sessionStorage.getItem('readyToSetupFansCount');\n this.processingFans = JSON.parse(sessionStorage.getItem('processingFanList'));\n this.processingFansCount = this.processingFans ? this.processingFans.length : 0;\n if (this.data.fan && this.data.fan.status) {\n this.isDeviceCount = this.data.deviceStatusSummary.length ? true : false;\n this.systemFailure = this.data.fan.status === 'ACTIVE' ? (this.data.deviceStatusSummary.length ? false : true) : false;\n this.deviceDeploymentSummary.fan = this.data.fan.fanId;\n this.deviceDeploymentSummary.fan = this.data.fan ? this.data.fan.fanId : '';\n this.deviceDeploymentSummary.accountId = this.data.fan.emmAccountId;\n if (this.data.fan.status === \"PROCESSING\" && this.data.fan.emmProductCode === 'DMPAABM') {\n this.deviceDeploymentSummary.accountId = \"Pending\";\n this.deviceDeploymentSummary.prodName = 'Apple Organization ID:';\n this.abm = true;\n this.changedisable = true;\n }\n if (this.data.fan.status === \"Active\" && this.data.fan.emmProductCode !== \"DMPAABM\") {\n this.changedisable = false;\n }\n this.deviceDeploymentSummary.prodCode = this.data.fan.emmProductCode;\n this.deviceDeploymentSummary.status = this.data.fan.status;\n\n if (this.data.profile && this.data.profile.communicationPref) {\n this.deviceDeploymentSummary.profile = this.data.profile;\n } else {\n let deviceSummary = JSON.parse(sessionStorage.getItem('devicesSummary'));\n let fanProfile = deviceSummary.filter(x => x.fan.fanId === this.deviceDeploymentSummary.fan && ((x.fan.status === \"ACTIVE\") || (x.fan.emmProductCode === \"DMPAABM\" && x.fan.status === 'PROCESSING')));\n this.deviceDeploymentSummary.profile = fanProfile[0].profile\n this.data.profile = fanProfile[0].profile\n\n }\n this.deviceDeploymentSummary.comPref = this.deviceDeploymentSummary.profile && this.deviceDeploymentSummary?.profile?.communicationPref;\n //check for showing OEM id\n if (this.fanInfoList != null) {\n for (let k = 0; k < this.fanInfoList.length; k++) {\n if (this.data.fan.fanId === this.fanInfoList[k].fan) {\n if (this.fanInfoList[k].emmProductCode === 'DMPAABM' && this.deviceDeploymentSummary.prodCode !== this.fanInfoList[k].emmProductCode && this.fanInfoList[k].accountStatus === 'ACTIVE') {\n this.deviceDeploymentSummary.ome = 'Apple Organization ID:';\n this.deviceDeploymentSummary.omeId = this.fanInfoList[k].emmAccountId;\n this.omeabm = true;\n }\n else if (this.fanInfoList[k].emmProductCode === 'DMPAABM' && this.deviceDeploymentSummary.prodCode !== this.fanInfoList[k].emmProductCode && (this.fanInfoList[k].accountStatus === \"PROCESSING\" || this.fanInfoList[k].accountStatus === \"SIGNUP_INPROGRESS\")) {\n this.deviceDeploymentSummary.ome = 'Apple Organization ID:';\n this.deviceDeploymentSummary.omeId = \"Pending\";\n this.data?.deviceStatusSummary[1]?.noOfDevices;\n this.omeabm = true;\n this.changedisable = true;\n }\n else if (this.fanInfoList[k].emmProductCode === 'DMPSKME' && this.deviceDeploymentSummary.prodCode !== this.fanInfoList[k].emmProductCode && this.fanInfoList[k].accountStatus === 'ACTIVE') {\n this.deviceDeploymentSummary.ome = 'Knox Mobile Enrollment ID:';\n this.deviceDeploymentSummary.omeId = this.fanInfoList[k].emmAccountId;\n this.omekme = true;\n this.changedisable = false;\n } else if (this.fanInfoList[k].emmProductCode === 'DMPGZTP' && this.deviceDeploymentSummary.prodCode !== this.fanInfoList[k].emmProductCode && this.fanInfoList[k].accountStatus === 'ACTIVE') {\n this.deviceDeploymentSummary.ome = 'GOOGLE ID:';\n this.deviceDeploymentSummary.omeId = this.fanInfoList[k].emmAccountId;\n this.omeztp = true;\n this.changedisable = false;\n }\n }\n }\n }\n\n if (this.deviceDeploymentSummary.prodCode === 'DMPAABM' && (this.deviceDeploymentSummary.status === 'ACTIVE' || this.deviceDeploymentSummary.status === 'PROCESSING' || this.deviceDeploymentSummary.status === 'SIGNUP_INPROGRESS')) {\n this.abm = true;\n this.deviceDeploymentSummary.prodName = 'Apple Organization ID:';\n } else if (this.deviceDeploymentSummary.prodCode === 'DMPSKME' && this.deviceDeploymentSummary.status === 'ACTIVE') {\n this.kme = true;\n this.deviceDeploymentSummary.prodName = 'Knox Mobile Enrollment ID:';\n this.changedisable = false;\n } else if (this.deviceDeploymentSummary.prodCode === 'DMPGZTP' && this.deviceDeploymentSummary.status === 'ACTIVE') {\n this.ztp = true;\n this.deviceDeploymentSummary.prodName = 'GOOGLE ID:';\n this.changedisable = false;\n }\n //adding null condition.since existDeviceEffectiveDate coming as null\n if (this.data.fan.existDeviceEffectiveDate === '' || this.data.fan.existDeviceEffectiveDate === null) {\n this.enrollStatus = true;\n this.deviceDeploymentSummary.existingDevice = 'Existing Devices';\n this.deviceDeploymentSummary.existingDevicestatus = ': Do not enroll';\n } else {\n this.deviceDeploymentSummary.existingDevice = 'Existing Devices';\n this.deviceDeploymentSummary.existingDevicestatus = ': Enroll';\n }\n\n if (this.data.profile === null || this.data.profile.communicationPref === 'Both' || this.data.profile.communicationPref === null) {\n this.deviceDeploymentSummary.notifications = 'Notifications';\n this.deviceDeploymentSummary.notificationstatus = ': Email/Text';\n } else if (this.data.profile.communicationPref === 'Sms') {\n this.deviceDeploymentSummary.notifications = 'Notifications';\n this.deviceDeploymentSummary.notificationstatus = ': Text';\n } else if (this.data.profile.communicationPref === 'Email') {\n this.deviceDeploymentSummary.notifications = 'Notifications';\n this.deviceDeploymentSummary.notificationstatus = ': Email';\n }\n\n // if(this.data.fan.status === 'PROCESSING'){\n // this.disableChangeLink = true;\n // }\n\n if ((this.data.fan.status === 'ACTIVE' || this.data.fan.status === 'SIGNUP_INPROGRESS' || this.data.fan.status === 'PROCESSING') && new Date(this.data.fan.newDeviceEffectiveDate) > new Date()) {\n const summaryConfig = this.deviceSummary.FUTURE_DEPLOYMENT;\n this.deviceDeploymentSummary = Object.assign({}, this.deviceDeploymentSummary, summaryConfig);\n } else {\n const summaryConfig = this.deviceSummary[this.data.fan.status];\n this.deviceDeploymentSummary = Object.assign({}, this.deviceDeploymentSummary, summaryConfig);\n }\n this.getChartData(this.data.deviceStatusSummary);\n } else {\n const summaryConfig = !this.data.btnText ? this.deviceSummary['NO_RESULT'] : this.data;\n this.deviceDeploymentSummary = Object.assign({}, this.deviceDeploymentSummary, summaryConfig);\n if (this.deviceDeploymentSummary.status === 'No Results' && (this.processingFansCount >= 1)) {\n const summaryConfig = this.deviceSummary.PROCESSING;\n this.processingFansFlag = true;\n this.deviceDeploymentSummary = Object.assign({}, this.deviceDeploymentSummary, summaryConfig);\n this.deviceDeploymentSummary.status = false;\n if (this.deviceDeploymentSummary.fan[0].emmProductCode === \"DMPAABM\" && (this.deviceDeploymentSummary.status === 'ACTIVE' || this.deviceDeploymentSummary.status === 'PROCESSING' || this.deviceDeploymentSummary.status === 'SIGNUP_INPROGRESS')) {\n this.abm = true;\n } else if (this.deviceDeploymentSummary.fan[0].emmProductCode === \"DMPSKME\" && this.deviceDeploymentSummary.status === 'ACTIVE') {\n this.kme = true;\n } else if (this.deviceDeploymentSummary.fan[0].emmProductCode === \"DMPGZTP\" && this.deviceDeploymentSummary.status === 'ACTIVE') {\n this.ztp = true;\n }\n } else if (this.deviceDeploymentSummary && (this.deviceDeploymentSummary.status === 'Add accounts' ||\n this.deviceDeploymentSummary.status === 'Set up accounts')) {\n this.addTileHeader = true;\n }\n this.getChartData(this.data.deviceStatusSummary);\n }\n this.addAccounts();\n }\n\n getChartData(deviceDetails) {\n let totalValue = 0;\n this.legendData = { left: [], right: [] };\n\n if (this.mdmDetails && this.mdmDetails.productCode === 'ADDPZTE') {\n this.arialabel = 'Status bar showing the number of devices claimed compared to the total number of devices.';\n }\n if (this.deviceDeploymentSummary.status === 'Processing' && this.deviceDeploymentSummary.prodCode === \"DMPAABM\") {\n this.deviceDeploymentSummary.hideDeviceChart = false;\n }\n if (deviceDetails && deviceDetails.length > 0) {\n deviceDetails.forEach((d) => {\n if (d.noOfDevices > 0 && d.noOfDevices !== null) {\n totalValue += d.noOfDevices;\n const chartConfig = CHART_CONFIG[d.status];\n // if (chartConfig.label === 'not claimed') {\n // chartConfig.label = 'Not claimed';\n // }\n if (chartConfig.label === 'enrolled, active') {\n chartConfig.label = 'Enrolled, active';\n } else if (chartConfig.label === 'not compliant') {\n chartConfig.label = 'Not compliant';\n } else if (chartConfig.label === 'enrolled, not active') {\n chartConfig.label = 'Enrolled, not active';\n } else if (chartConfig.label === 'not enrolled') {\n chartConfig.label = 'Not enrolled';\n }\n const temp: StatusBarModel = {\n 'value': d.noOfDevices,\n 'color': chartConfig.color,\n 'legend': d.noOfDevices + ' ' + chartConfig.label,\n 'ariaLabel': this.arialabel\n };\n this.progressChartData.push(temp);\n }\n });\n let count = 0;\n let tempChartData = []\n tempChartData = this.progressChartData.filter(function (x, i) {\n if (x.value > 0 && (x.legend.indexOf(\"claimed (Apple)\") > -1 || x.legend.indexOf(\"claimed (Samsung)\") > -1 || x.legend.indexOf(\"claimed (Android™)\") > -1 || x.legend.indexOf(\"claimed (Android)\") > -1)) {\n count += x.value;\n } return (x.value > 0 && x.legend.indexOf(\"claimed (Apple)\") <= -1 && x.legend.indexOf(\"claimed (Samsung)\") <= -1 && x.legend.indexOf(\"claimed (Android™)\") <= -1 && x.legend.indexOf(\"claimed (Android)\") <= -1)\n })\n this.progressChartData = tempChartData;\n if (count > 0) {\n const chartConfigClaim = CHART_CONFIG[\"CLAIM_SUCCESS\"];\n const claimMerge: StatusBarModel = {\n 'value': count,\n 'color': chartConfigClaim.color,\n 'legend': count + ' ' + chartConfigClaim.label,\n 'ariaLabel': this.arialabel\n };\n this.progressChartData.push(claimMerge);\n }\n let arr = [];\n let arr4 = this.progressChartData.filter(x => x.legend.indexOf(\"claimed\") > -1 && x.legend.indexOf(\"not claimed\") < 0)\n if (arr4.length > 0) {\n arr.push(arr4.pop())\n }\n let arr3 = this.progressChartData.filter(x => x.legend.indexOf(\"claim pending\") > -1 && x.legend.indexOf(\"unclaim pending\") < 0)\n if (arr3.length > 0) {\n arr.push(arr3.pop())\n }\n let arr2 = this.progressChartData.filter(x => x.legend.indexOf(\"unclaim pending\") > -1)\n if (arr2.length > 0) {\n arr.push(arr2.pop())\n }\n let arr1 = this.progressChartData.filter(x => x.legend.indexOf(\"not claimed\") > -1)\n if (arr1.length > 0) {\n arr.push(arr1.pop());\n }\n\n this.progressChartData = arr;\n let legendCounter = 0;\n this.progressChartData.forEach((x, i) => {\n // if legendcounter is even, show legend on the left else on the right\n this.legendData[legendCounter % 2 === 0 ? 'left' : 'right'].push(x);\n legendCounter++;\n\n })\n\n this.rightLabel = String(totalValue);\n }\n }\n\n selectedFan(fan, accountid) {\n // let fanId;\n // let accountId;\n // if (fan === this.deviceDeploymentSummary.fan, accountid === this.deviceDeploymentSummary.accountId) {\n // fanId = this.data.fan ? this.data.fan.fanId : '';\n // this.deviceDeploymentSummary.fan = this.data.fan ? this.data.fan.fanId : '';\n // accountId = this.data.fan ? this.data.fan.emmAccountId : '';\n // this.deviceDeploymentSummary.accountId = this.data.fan ? this.data.fan.accountId : '';\n // }\n // this.manageInventoryService.setSelectedfan(fanId,accountId);\n //this.deviceDeploymentSummary.accountId = this.data.fan.emmAccountId;\n if (fan === this.deviceDeploymentSummary.fan) {\n this.deviceDeploymentSummary.fan = fan;\n this.deviceDeploymentSummary.accountId = accountid\n this.manageInventoryService.setSelectedfan(fan, accountid);\n }\n\n }\n selectedProfile(fan, profile, notifystatus) {\n let profileId;\n let fanId;\n let notifystatusid;\n if (fan === this.deviceDeploymentSummary.fan, profile === this.deviceDeploymentSummary.profile, notifystatus === this.deviceDeploymentSummary.notificationstatus) {\n profileId = this.data.profile ? this.data.profile.profileId : '';\n fanId = this.data.fan ? this.data.fan.fanId : '';\n this.deviceDeploymentSummary.fan = this.data.fan ? this.data.fan.fanId : '';\n notifystatusid = this.data.profile.communicationPref ? this.deviceDeploymentSummary.notificationstatus : '';\n\n }\n this.manageInventoryService.setSelectedProfilefan(fanId, profileId, notifystatusid);\n }\n // selectedProfile(profile) {\n // let profileId;\n // if (profile === this.deviceDeploymentSummary.profile) {\n // profileId = this.data.profile ? this.data.profile.profileId : '';\n // }\n // this.manageInventoryService.setSelectedProfileID(profileId);\n // }\n viewProfile(profile) {\n let profileId;\n if (profile === this.deviceDeploymentSummary.profile) {\n profileId = this.data.profile.profileId;\n }\n sessionStorage.setItem('fanID', this.deviceDeploymentSummary.fan);\n this.manageInventoryService.setSelectedProfileID(profileId);\n this.router.navigate(['manageInventory/fanDeploymentProfile']);\n }\n updateExistingDate() {\n let fanId = this.deviceDeploymentSummary.fan;\n let minDate = new Date();\n this.existingDate = this.dateformatter.formatDate('yyyy-mm-dd', new Date(minDate.getFullYear(), minDate.getMonth(), (minDate.getDate() + 1)));\n let checkdata = {\n \"fan\": fanId,\n \"existingDate\": this.existingDate\n }\n this.manageInventoryService.postExistingDate(checkdata)\n .subscribe(\n res => {\n if (res.status === 'success') {\n this.formSuccess = true;\n this.enrollStatus = false;\n //this.deviceDeploymentSummary.success = 'Success';\n this.deviceDeploymentSummary.successMsg = 'Enroll existing device request received successfully';\n } else {\n this.showError = true;\n this.deviceDeploymentSummary.errorMsg = 'Enroll existing device request failed. Check entry and retry. If issue continues, contact support at 866.563.4703 .';\n }\n\n }), error => {\n // alert(\"error\");\n this.showError = true;\n\n };\n }\n\n navigate(deviceDeploymentSummary) {\n let url = deviceDeploymentSummary.btnAction;\n if (url === 'manageInventory/deviceInventory') {\n this.manageInventoryService.setSelectedFan(deviceDeploymentSummary.fan);\n } else if (url === 'signupsetup' && (this.mdmDetails && this.mdmDetails.productCode === 'ADDPZTE')) {\n url = 'productselection';\n }\n if (url === 'welcome' && (this.processingFansCount >= 1)) {\n url = 'productselection';\n deviceDeploymentSummary.btnParam = {};\n } else if (url === 'welcome' && this.fanLength > 0) {\n if (this.mdmDetails && this.mdmDetails.productCode === 'ADDPZTE') {\n url = 'productselection';\n deviceDeploymentSummary.btnParam = {};\n }\n else {\n url = 'productselection';\n deviceDeploymentSummary.btnParam = {};\n }\n }\n this.router.navigate([url], { queryParams: deviceDeploymentSummary.btnParam });\n }\n\n addAccounts() {\n var awaitingSignupFan = JSON.parse(sessionStorage.getItem('signupFanList')).length;\n const temp: LegendModel = {\n 'value': awaitingSignupFan,\n 'color': \"#6fa8d0\",\n 'legend': awaitingSignupFan + \" available to add\",\n };\n this.pData.push(temp);\n }\n}\n","
\n
\n
\n
\n
\n
\n \n
\n
\n \n

{{deviceDeploymentSummary.successMsg}}

\n
\n
\n
\n
\n \n
Foundation account:\n {{deviceDeploymentSummary.fan}}
\n {{deviceDeploymentSummary.profile}}\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n\n
{{deviceDeploymentSummary.prodName}}\n \n {{deviceDeploymentSummary.accountId}}\n Change
{{deviceDeploymentSummary.ome}}\n {{deviceDeploymentSummary.omeId}}\n Change
{{deviceDeploymentSummary.prodName}} \n {{deviceDeploymentSummary.accountId}}
{{deviceDeploymentSummary.ome}}\n {{deviceDeploymentSummary.omeId}}
{{deviceDeploymentSummary.prodName}} \n {{deviceDeploymentSummary.accountId}}
{{deviceDeploymentSummary.ome}}\n {{deviceDeploymentSummary.omeId}}
\n\n \n\n\n
\n
\n
\n
Foundation account:\n {{deviceDeploymentSummary.fan[0].fan}}
\n \n \n \n \n \n \n \n \n \n
Apple Organization ID: \n {{deviceDeploymentSummary.fan[0].emmAccountId}}Knox Mobile Enrollment ID: \n {{deviceDeploymentSummary.fan[0].emmAccountId}}GOOGLE ID: \n {{deviceDeploymentSummary.fan[0].emmAccountId}}
{{deviceDeploymentSummary.ome}}\n {{deviceDeploymentSummary.omeId}}
\n\n
\n \n
\n \n
\n\n
\n
\n \n
\n
0\">\n \n \n
\n
\n
\n \n \n \n\n \n\n \n
\n {{deviceDeploymentSummary.notifications}}{{deviceDeploymentSummary.notificationstatus}}\n \n Change\n
\n
\n
\n
\n
\n \n
\n
\n

{{deviceDeploymentSummary.systemFailure}}

\n
\n
\n \n
\n
\n \n
\n
\n

{{deviceDeploymentSummary.statusMessage}}

\n
\n
\n

\n {{deviceDeploymentSummary.statusMessageHeader}}

\n

\n {{readyToSetupFansCount}} {{deviceDeploymentSummary.statusMessageZTE}}

\n
\n
\n \n
\n
","import { PageLoaderService } from 'lib/ng2-sapmp/src/ui-components/page-loader';\nimport { Component, Input, Output, EventEmitter, ViewEncapsulation, ElementRef, OnInit } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { UtilityService } from 'lib/ng2-sapmp/src/providers';\nimport { ENV } from 'config';\nimport { ManageInventoryService } from './../shared/providers/manage-inventory.service';\nimport { KEY_CONFIG } from './../../../../lib/ng2-sapmp/src/config/key-config';\n\ndeclare var ENV_VAR: any;\n\n@Component({\n selector : 'app-device-wipe',\n templateUrl : './device-wipe.component.html',\n styleUrls : ['./device-wipe.component.scss'],\n providers: [ManageInventoryService],\n encapsulation: ViewEncapsulation.None\n})\n\nexport class DeviceWipeComponent implements OnInit {\n public jsonRes: any;\n public device: any;\n public focusAbleElements: any;\n\n @Input() fan: any;\n @Input() ban: any;\n @Input() ctn: any;\n @Input() triggerElement: any;\n @Output() modalOutput: EventEmitter;\n @Output() responseVal: EventEmitter;\n\n deenrolled: any = 'withoutUnEnroll';\n\n constructor(private util: UtilityService, private el: ElementRef,\n private manageInventoryService: ManageInventoryService,\n private router: Router, private pageloaderService: PageLoaderService) {\n this.modalOutput = new EventEmitter();\n this.responseVal = new EventEmitter();\n manageInventoryService.fetchJSON(this.util.getEnvConfig().contentUrl.manageInventory.deviceLockWipeDetailsUrl).subscribe(resObj => {\n this.jsonRes = resObj;\n this.device = {\n deenrolled : '',\n wiped : ''\n };\n });\n }\n\n ngOnInit() {\n document.body.classList.add('modal-open');\n }\n\n ok() {\n const impersonator = JSON.parse(sessionStorage.getItem('impersonator'));\n const isDisabled = impersonator && impersonator.id ? true : false;\n if (isDisabled) {\n (document.getElementById('device-wipe-btn')).disabled = true;\n } else {\n this.pageloaderService.setPageLoaderStatus(false);\n const currentCtnDetails = JSON.parse(sessionStorage.getItem('currentCtnDetails'));\n if (this.device.deenrolled === '') {\n this.device.deenrolled = false;\n }\n this.device.wiped = true;\n if (this.device.deenrolled === true) {\n this.deenrolled = 'withUnEnroll';\n } else {\n this.deenrolled = 'withoutUnEnroll';\n }\n this.manageInventoryService.getDeviceWipeStatus(this.deenrolled, this.device.wiped,\n currentCtnDetails.emmTenantId, currentCtnDetails.emmDeviceId ).\n subscribe(respobj => {\n if (respobj.success) {\n this.pageloaderService.setPageLoaderStatus(true);\n this.responseVal.emit(this.device);\n }else {\n this.pageloaderService.setPageLoaderStatus(true);\n this.responseVal.emit(false);\n }\n }, error => {\n this.handleError(error);\n });\n document.body.classList.remove('modal-open');\n }\n }\n\n cancelModal(value) {\n document.body.classList.remove('modal-open');\n this.modalOutput.emit(value);\n if (this.triggerElement) {\n this.triggerElement.focus();\n }\n }\n\n handleError(error) {\n this.pageloaderService.setPageLoaderStatus(true);\n throw error;\n }\n\n loadFocusTelements() {\n if (!this.focusAbleElements) {\n const focusAbleEls = this.util.getFocusableElements(this.el);\n this.focusAbleElements = Array.prototype.slice.call(focusAbleEls);\n document.getElementById('modalHeading').focus();\n }\n }\n\n handleKeydown(event) {\n if (event.keyCode === KEY_CONFIG.escapeKey) {\n this.dimissModal(false);\n return;\n }\n this.util.handleKeyPress(event, this.focusAbleElements);\n }\n dimissModal(value, event?) {\n if (!event || event.keyCode === KEY_CONFIG.enter || event.keyCode === KEY_CONFIG.space) {\n if (event) {\n event.preventDefault();\n event.stopPropagation();\n }\n document.body.classList.remove('modal-open');\n this.modalOutput.emit(value);\n this.focusAbleElements = undefined;\n if (this.triggerElement) {\n this.triggerElement.focus();\n }\n }\n\n}\n}\n","
\n {{loadFocusTelements()}}\n
\n

{{jsonRes.heading_wipe}}

\n
\n
\n \n
\n
\n
\n
{{jsonRes.ctn}}: {{ctn}}
\n
{{jsonRes.fan}}: {{fan}}
\n
{{jsonRes.ban}}: {{ban}}
\n
\n
{{jsonRes.wipe_description_1}}
\n
{{jsonRes.wipe_description_2}}
\n
{{jsonRes.wipe_description_3}}
\n
\n \n
\n
\n \n
\n
\n
\n
\n \n {{jsonRes.buttons.cancel}}\n \n
\n
","export * from './device-wipe.component';\n","import { Component, ElementRef, EventEmitter, Input, OnInit, Output, ViewEncapsulation } from '@angular/core';\nimport { FormControl } from '@angular/forms';\nimport { DomSanitizer } from '@angular/platform-browser';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { imeiLookupModal } from 'config';\nimport { KEY_CONFIG } from 'lib/ng2-sapmp/src/config/key-config';\nimport { UtilityService } from 'lib/ng2-sapmp/src/providers';\nimport { PageLoaderService } from 'lib/ng2-sapmp/src/ui-components';\nimport { GridOptionsModel } from 'lib/ng2-sapmp/src/ui-components/custom-grid-extended';\nimport { ManageInventoryService } from '../shared/providers/manage-inventory.service';\nimport { ImeiLookupModel } from './imeilookup.model';\nimport { ImeiNumberService } from './shared/imeilookup-modal.service';\n\n@Component({\n selector: 'app-imeilookup-modal',\n templateUrl: './imeilookup-modal.component.html',\n styleUrls: ['./imeilookup-modal.component.scss'],\n providers: [ImeiNumberService],\n encapsulation: ViewEncapsulation.None\n})\nexport class ImeilookupModalComponent implements OnInit {\n\n @Input()\n modalPopupObject: ImeiLookupModel;\n @Input() triggerElement: any;\n\n @Output()\n modalOutput: EventEmitter;\n\n focusabbleElements: any;\n imeiNumbertoFormate: FormControl;\n noRecordsFound: boolean = false;\n systemError: boolean = false;\n validNumberError: boolean = false;\n recordsFound: boolean = false;\n imeiNumber: any;\n imeiModalData: any;\n imeiDetails: any;\n customGridOptions = new GridOptionsModel();\n gridOptions: GridOptionsModel;\n customDefs: any = imeiLookupModal;\n displayRecords: boolean = false;\n static SANITIZE;\n singleFanInventory: any;\n\n constructor(private el: ElementRef, private utilityService: UtilityService, private imeiNumberService: ImeiNumberService,\n private router: Router, private manageInventoryService: ManageInventoryService, private _sanitizer: DomSanitizer,\n private pageLoaderService: PageLoaderService, private route: ActivatedRoute) {\n this.modalOutput = new EventEmitter();\n ImeilookupModalComponent.SANITIZE = _sanitizer;\n }\n\n ngOnInit() {\n this.imeiModalData = this.route.snapshot.data.pageData.manageInventory;\n document.body.classList.add('modal-open');\n this.initImeiNumberformControlObj();\n }\n\n btnAction(value) {\n if (value === false) {\n document.body.classList.remove('modal-open');\n this.modalOutput.emit(value);\n this.focusabbleElements = undefined;\n if (this.triggerElement) {\n this.triggerElement.focus();\n }\n } else {\n this.focusabbleElements = undefined;\n if (this.triggerElement) {\n this.triggerElement.focus();\n }\n }\n }\n\n loadFocustelements() {\n if (!this.focusabbleElements) {\n const focusableEls = this.utilityService.getFocusableElements(this.el);\n this.focusabbleElements = Array.prototype.slice.call(focusableEls);\n this.focusabbleElements[0].focus();\n }\n }\n\n handleKeydown(event) {\n if(event.keyCode === KEY_CONFIG.enter ){\n event.stopPropagation();\n return;\n }\n if(event.keyCode === KEY_CONFIG.enter ||event.keyCode === KEY_CONFIG.escapeKey) {\n this.modalOutput.emit(false);\n this.focusabbleElements = undefined;\n if (this.triggerElement) {\n this.triggerElement.focus();\n }\n event.preventDefault();\n event.stopPropagation();\n return;\n }\n this.utilityService.handleKeyPress(event, this.focusabbleElements);\n }\n\n initImeiNumberformControlObj() {\n this.imeiNumbertoFormate = new FormControl();\n }\n\n handleImeiFieldChange() {\n this.noRecordsFound = false;\n this.systemError = false;\n this.validNumberError = false;\n }\n\n imeiNumberLookUp(imeiNumber) {\n if (imeiNumber && (imeiNumber.length === 14 || imeiNumber.length === 15)) {\n if (this.utilityService.getEnvConfig().useMock) {\n this.imeiNumberService.getImeiNumbers(this.utilityService.getEnvConfig().imeiNumberUrl).subscribe(response => {\n this.imeiDetails = response;\n //sessionStorage.setItem('ctnDetails', JSON.stringify(this.imeiDetails.ctnDetailsResponseList));\n if (this.imeiDetails.ctnDetailsResponseList.length === 1) {\n if (this.imeiDetails.ctnDetailsResponseList[0].deviceInfo.imei === imeiNumber) {\n this.btnAction(false);\n this.recordsFound = true;\n this.displayRecords = false;\n this.noRecordsFound = false;\n sessionStorage.setItem('ctnDetails', JSON.stringify(this.imeiDetails.ctnDetailsResponseList[0]));\n this.manageInventoryService.setSelectedCtn(this.imeiDetails.ctnDetailsResponseList[0].ctn);\n this.router.navigate(['manageInventory/ctnInfo']);\n } else {\n this.recordsFound = false;\n this.displayRecords = false;\n this.noRecordsFound = true;\n }\n } else if (this.imeiDetails.ctnDetailsResponseList.length > 1) {\n this.btnAction(true);\n this.recordsFound = true;\n this.displayRecords = true;\n this.noRecordsFound = false;\n sessionStorage.setItem('fullctnDetails', JSON.stringify(this.imeiDetails.ctnDetailsResponseList));\n this.initgrid();\n\n } else {\n this.recordsFound = false;\n this.displayRecords = false;\n this.noRecordsFound = true;\n }\n this.pageLoaderService.setPageLoaderStatus(true);\n\n //old code start\n // this.manageInventoryService.setSelectedCtn(this.imeiDetails.ctnDetailsResponseList[0].ctn);\n // if (this.imeiDetails.ctnDetailsResponseList[0].deviceInfo.imei === imeiNumber) {\n // this.btnAction(false);\n // this.recordsFound = true;\n // this.noRecordsFound = false;\n // sessionStorage.setItem('ctnDetails', JSON.stringify(this.imeiDetails.ctnDetailsResponseList[0]));\n // this.router.navigate(['manageInventory/ctnInfo']);\n // } else {\n // this.recordsFound = false;\n // this.noRecordsFound = true;\n // }\n // this.pageLoaderService.setPageLoaderStatus(true);\n //old code end\n }, error => {\n if (error.status === 400) {\n this.recordsFound = false;\n this.noRecordsFound = true;\n } else {\n this.systemError = true;\n }\n });\n } else {\n this.pageLoaderService.setPageLoaderStatus(false);\n this.validNumberError = false;\n this.imeiNumberService.getImeiNumbers(this.utilityService.getEnvConfig().imeiNumberUrl);\n this.manageInventoryService.getImeiDetails(imeiNumber)\n .subscribe(response => {\n //let imeiArrayLength = response.ctnDetailsResponseList.length;\n //this.imeiDetails = response.ctnDetailsResponseList[imeiArrayLength-1];\n //this.manageInventoryService.setSelectedCtn(this.imeiDetails.ctn);\n this.imeiDetails = response;\n if (this.imeiDetails.ctnDetailsResponseList.length === 1) {\n if (this.imeiDetails.ctnDetailsResponseList[0].deviceInfo.imei === imeiNumber) {\n this.btnAction(false);\n this.recordsFound = true;\n this.displayRecords = false;\n this.noRecordsFound = false;\n sessionStorage.setItem('ctnDetails', JSON.stringify(this.imeiDetails.ctnDetailsResponseList[0]));\n this.manageInventoryService.setSelectedCtn(this.imeiDetails.ctnDetailsResponseList[0].ctn);\n this.router.navigate(['manageInventory/ctnInfo']);\n } else {\n this.recordsFound = false;\n this.displayRecords = false;\n this.noRecordsFound = true;\n }\n } else if (this.imeiDetails.ctnDetailsResponseList.length > 1) {\n this.btnAction(true);\n this.recordsFound = true;\n this.displayRecords = true;\n this.noRecordsFound = false;\n sessionStorage.setItem('fullctnDetails', JSON.stringify(this.imeiDetails.ctnDetailsResponseList));\n this.initgrid();\n\n } else {\n this.recordsFound = false;\n this.displayRecords = false;\n this.noRecordsFound = true;\n }\n\n this.pageLoaderService.setPageLoaderStatus(true);\n }, error => {\n if (error.status === 400 || error.status === 404) {\n this.recordsFound = false;\n this.noRecordsFound = true;\n } else {\n this.systemError = true;\n }\n this.pageLoaderService.setPageLoaderStatus(true);\n });\n }\n } else {\n this.validNumberError = true;\n }\n }\n\n initgrid() {\n\n this.customGridOptions.enableFiltering = false;\n this.customGridOptions.enableSorting = true;\n this.customGridOptions.multiSelect = false;\n const pagination = {\n recordsPerPage: 3,\n currentPage: 1,\n isServerSide: true,\n totalRecords: 3,\n hideGoToPage: true\n };\n sessionStorage.setItem('totalImeis', this.imeiDetails.ctnDetailsResponseList.length);\n this.customGridOptions.Paginations = pagination;\n this.customGridOptions.gridData = this.imeiDetails.ctnDetailsResponseList.slice(0, 3);\n this.customGridOptions.columnDefinitions = this.customDefs.columnDefinitions;\n this.customGridOptions.callbacks = {\n callBackAppNameCellTemplate: this.callBackAppNameCellTemplate,\n callBackProfileStatus: this.callBackProfileStatus,\n callBackImei: this.callBackImei\n };\n this.customGridOptions.disableGrid = false;\n this.customGridOptions.disableRow = false;\n this.customGridOptions.disableRowCondition = { field: '', value: '' };\n this.gridOptions = this.customGridOptions;\n\n }\n\n callBackAppNameCellTemplate(element, row, field, currentElem, type, col) {\n if (type === 'template') {\n if (row.ctn == null || row.ctn == \"\" || row.ctn == \"Unknown\") {\n //row.ctn = \"Unknown\";\n const formatctnNumber = \"Unknown\";\n return ImeilookupModalComponent.SANITIZE.bypassSecurityTrustHtml(` ${formatctnNumber}

${row.userName}

`);\n } else {\n const formatctnNumber = row.ctn.replace(/^(\\d{0,3})(\\d{0,3})(.*)/, '$1.$2.$3');\n return ImeilookupModalComponent.SANITIZE.bypassSecurityTrustHtml(` ${formatctnNumber}

${row.userName}

`);\n }\n } else if (type.target.classList.contains('ctn-number')) {\n currentElem.onDataChange.emit({ data: row, type: 'ctnInfo' });\n }\n }\n\n callBackImei(element, row, field, currentElem, type, col) {\n let imei = row.deviceInfo.imei;\n //row.imei = imei;\n return `${imei}`;\n }\n\n callBackProfileStatus(element, row, field, currentElem) {\n const colorStatus = row.ctnStatus.enrollmentStatus.replace(/_/g, '-').toLowerCase();\n //let imei = row.deviceInfo.imei;\n //row.imei = imei;\n let status = row.ctnStatus.enrollmentStatus.replace(/_/g, ' ');\n if (status === 'ENROLLED ACTIVE') {\n status = 'Enrolled, active';\n } else if (status === 'OUT OF COMPLIANCE') {\n status = 'Not compliant';\n } else if (status === 'ENROLLED NOT ACTIVE') {\n status = 'Enrolled, not active';\n } else if (status === 'NOT ENROLLED') {\n status = 'Not enrolled';\n } else if (status === 'Claimed Android™') {\n status = 'claimed (Android™)';\n } else if (status === 'Claimed Samsung') {\n status = 'claimed (Samsung)';\n } else if (status === 'Claimed Apple') {\n status = 'claimed (Apple)';\n } else if (status === 'Not Claimed' || status === 'CLAIM INITIATED') {\n status = 'not claimed';\n }\n return `${status}`;\n }\n\n onRowClick(action) {\n if (action.type === 'ctnInfo') {\n this.btnAction(false);\n this.manageInventoryService.setSelectedCtn(action.data.ctn);\n sessionStorage.setItem('ctnDetails', JSON.stringify(action.data));\n sessionStorage.getItem('ProfileID') ? sessionStorage.removeItem('ProfileID') : null;\n sessionStorage.setItem('ProfileID', action.data.profileId);\n this.router.navigate(['manageInventory/ctnInfo']);\n }\n }\n\n}\n","{{loadFocustelements()}}\n
\n
\n

{{imeiModalData.imeimodalHeader}}

\n
\n
\n

{{imeiModalData.imeimodalHeader2}}

\n
\n
\n
\n
\n \n
\n
IMEI entered not found. Check input and retry.
\n
\n
\n
\n
\n
\n \n
\n
Something isn’t working. We couldn’t perform your search. Please try again.
\n
\n
\n
\n \n
\n \n
\n\n
\n

\n

{{imeiModalData.imeiFieldLabel}}

\n = 14) ? imeiNumberLookUp(imeiNumbertoFormate.value) : ''\" />\n
\n\n
Error! Enter a valid IMEI number.
\n\n
\n
\n
\n \n {{imeiModalData.imeicancelButtonMessage}}\n
\n
\n
\n\n \n
\n\n \n\n
\n\n\n\n
","export class ImeiLookupModel {\n imeimodalHeader: string;\n imeimodalHeader2: string;\n imeimodalMessage: string;\n imeiFieldLabel: string;\n imeilookupButtonMessage: string;\n imeicancelButtonMessage: string;\n\n constructor() {}\n}\n","export * from './imeilookup-modal.component';\nexport * from './imeilookup.model';\n","import { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { HttpClient, HttpResponse } from '@angular/common/http';\nimport { throwError } from 'rxjs';\nimport { HttpClientService } from 'lib/ng2-sapmp/src/providers';\n\n\n@Injectable()\nexport class ImeiNumberService {\n\n constructor(private http: HttpClient, private httpClientService: HttpClientService) { }\n\n getImeiNumbers(imeiNumberUrl) {\n return this.httpClientService.get(imeiNumberUrl)\n .pipe(\n map((res: HttpResponse) => res.body)\n ,catchError( this.handleError ));\n }\n\n handleError(error) {\n return throwError(error);\n }\n}\n","export * from './manage-inventory.component';\nexport * from './ctn-info/ctn-info.component';\nexport * from './ctnlookup-modal';\nexport {DeviceInventoryComponent} from './device-inventory/device-inventory.component';\nexport * from './device-lock';\nexport {DeviceSummaryComponent} from './device-summary/device-summary.component';\nexport * from './device-wipe';\nexport { ManageAccountsComponent } from './manage-accounts/manage-accounts.component';\n//export * from './managenotifications/managenotifications.component';\nexport {ManagenotificationsComponent} from './managenotifications/managenotifications.component';\n\n","import { FormGroup } from '@angular/forms';\n \nexport function ConfirmedValidator(controlName: string, matchingControlName: string){\n return (formGroup: FormGroup) => {\n const control = formGroup.controls[controlName];\n const matchingControl = formGroup.controls[matchingControlName];\n if (matchingControl.errors && !matchingControl.errors.confirmedValidator) {\n return;\n }\n if (control.value !== matchingControl.value) {\n matchingControl.setErrors({ confirmedValidator: true });\n } else {\n matchingControl.setErrors(null);\n }\n }\n}","import { Component, OnInit } from '@angular/core';\nimport { ActivatedRoute, Router, RouterModule } from '@angular/router';\n\nimport { ManageInventoryService } from '../shared';\nimport { DEVICE_DEPLOYMENT_SUMMARY, CHART_CONFIG } from 'config';\nimport { UtilityService } from 'lib/ng2-sapmp/src/providers';\nimport { BreadCrumbService } from 'lib/ng2-sapmp/src/ui-components/breadcrumb';\nimport { FormBuilder } from '@angular/forms';\nimport { PageLoaderService } from 'lib/ng2-sapmp/src/ui-components/page-loader';\nimport { KEY_CONFIG } from 'lib/ng2-sapmp/src/config/key-config';\nimport { FormGroup, FormControl, Validators} from '@angular/forms';\nimport { ConfirmedValidator } from './confirmed.validator';\nimport { interval, of } from 'rxjs';\nimport { filter, mergeMap, takeUntil, tap } from 'rxjs/operators';\ndeclare var logoutCurrentUser: any;\n\nimport { ViewChild, ElementRef } from '@angular/core';\n\n\n@Component({\n selector: 'app-manage-accounts',\n templateUrl: './manage-accounts.component.html',\n styleUrls: ['./manage-accounts.component.scss'],\n providers: [ManageInventoryService]\n})\n\nexport class ManageAccountsComponent implements OnInit {\n manageAccounts: any;\n //isDisabled: boolean = false;\n moveDevices: boolean = false;\n moveDevicesFlag: boolean = false;\n showErrors: boolean = false;\n formSuccess = false;\n failuremessage:boolean = false;\n form: FormGroup = new FormGroup({});\n fan:any;\n currentorgid:any;\n existingroute:any;\n tranid: any;\n setupError:boolean = false;\n errorMessage:any;\n timerStart: any;\n signUpStatus:any;\n \n constructor(private utilityService: UtilityService, private router: Router, private breadCrumbService: BreadCrumbService, \n private formBuilder: FormBuilder, private route: ActivatedRoute, private manageInventoryService: ManageInventoryService,\n private pageloaderService: PageLoaderService) {\n this.form = formBuilder.group({\n appleorgid: ['', [Validators.required]],\n confirmappleorgid: ['', [Validators.required]]\n }, { \n validator: ConfirmedValidator('appleorgid', 'confirmappleorgid')\n })\n }\n get f(){\n return this.form.controls;\n }\n \n \n @ViewChild('submitButton') submitButton:ElementRef;\n\n ngOnInit() {\n document.title = this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url];\n this.breadCrumbService.setStaticBreadCrumbs('/manageInventory');\n this.breadCrumbService.setCurrentBreadCrumb({ label: 'Manage accounts', routerLink: '/manageInventory' });\n this.breadCrumbService.setCurrentBreadCrumb({ label: 'Edit Apple Organization ID', routerLink: '/manageAccounts' });\n \n this.manageAccounts = this.route.snapshot.data.pageData.manageInventorymanageAccounts;\n //this.isDisabled = true;\n this.showErrors = false;\n this.pageloaderService.setPageLoaderStatus(true);\n \n this.fan = sessionStorage.getItem(\"FAN\");\n console.log(this.fan);\n // this.currentorgid = sessionStorage.getItem(\"OrgID\");\n // console.log(this.currentorgid);\n \n // this.existingroute = sessionStorage.getItem(\"currentRoute\");\n this.existingroute = sessionStorage.getItem(\"previousRoute\");\n \n }\n \n toggleTooltip(event) {\n if (event.type !== 'click') {\n if (event.keyCode !== KEY_CONFIG.enter) {\n return;\n }\n }\n let targetElement = event.target;\n const elems = document.querySelectorAll('.tooltipActive');\n let iselementActive = false;\n if (targetElement.classList.contains('tooltipActive')) {\n iselementActive = true;\n }\n [].forEach.call(elems, function (ele) {\n ele.classList.remove('tooltipActive');\n });\n if (iselementActive) {\n targetElement.classList.remove('tooltipActive');\n } else {\n targetElement.classList.add('tooltipActive');\n }\n }\n\n toggleTooltipEnter(event) {\n if (event.type !== 'mouseenter') {\n if (event.keyCode !== KEY_CONFIG.enter) {\n return;\n }\n }\n let targetElement = event.target;\n const elems = document.querySelectorAll('.tooltipActive');\n let iselementActive = false;\n if (targetElement.classList.contains('tooltipActive')) {\n iselementActive = true;\n }\n [].forEach.call(elems, function (ele) {\n ele.classList.remove('tooltipActive');\n });\n if (iselementActive) {\n targetElement.classList.remove('tooltipActive');\n } else {\n targetElement.classList.add('tooltipActive');\n }\n }\n\n toggleTooltipLeave(event) {\n if (event.type !== 'mouseleave') {\n if (event.keyCode !== KEY_CONFIG.enter) {\n return;\n }\n }\n let targetElement = event.target;\n const elems = document.querySelectorAll('.tooltipActive');\n let iselementActive = false;\n if (targetElement.classList.contains('tooltipActive')) {\n iselementActive = true;\n }\n [].forEach.call(elems, function (ele) {\n ele.classList.remove('tooltipActive');\n });\n if (iselementActive) {\n targetElement.classList.remove('tooltipActive');\n } else {\n targetElement.classList.add('tooltipActive');\n }\n }\n \n continueToNext() {\n\n //orgid \n\n if(this.existingroute === '/manageInventory/deviceInventory'){\n this.currentorgid = sessionStorage.getItem('DeviceinventoryOrgId');\n console.log(this.currentorgid);\n }\n else if(this.existingroute === '/manageInventory'){\n this.currentorgid = sessionStorage.getItem('OrgID');\n console.log(this.currentorgid);\n }\n \n if(this.currentorgid === this.form.value.confirmappleorgid ){\n this.pageloaderService.setPageLoaderStatus(true);\n this.showErrors = true;\n this.submitButton.nativeElement.disabled = true; \n }\n else{\n \n //org id validation\n this.manageInventoryService.orgIdValidation(this.form.value.confirmappleorgid)\n .subscribe(response => {\n this.pageloaderService.setPageLoaderStatus(false);\n if(response.status === 'success') {\n let data = response;\n this.tranid = data.deviceEnrollmentTransactionId;\n console.log(this.tranid);\n \n //transaction id validation\n let poll$ = interval(5000).pipe(\n mergeMap(obs => \n this.manageInventoryService.tranIdValidation(this.tranid)),\n tap(data => console.log(data))\n );\n\n const until$ = poll$.pipe(\n filter(data => {\n let status: boolean;\n if(data.status === 'success') {\n status = true;\n this.pageloaderService.setPageLoaderStatus(false);\n this.setupError = false;\n \n console.log(this.form.value.appleorgid);\n console.log(this.form.value.confirmappleorgid);\n if (this.moveDevices) {\n this.moveDevicesFlag = true;\n } else {\n this.moveDevicesFlag = false;\n } \n let data = {\n \"fanNo\":this.fan.toString(),\n \"emmProductCode\":\"DMPAABM\",\n \"oldOrgId\" : this.currentorgid,\n \"newOrgId\" : this.form.value.confirmappleorgid,\n \"moveDevices\" : this.moveDevicesFlag.toString()\n }\n console.log(data);\n this.manageInventoryService.postappleorgdata(data)\n .subscribe(\n res => {\n if(this.existingroute === '/manageInventory/deviceInventory'){\n this.router.navigate(['/manageInventory/deviceInventory']);\n sessionStorage.setItem('resorgidSuccess','true'); \n // this.formSuccess = true;\n }\n else if(this.existingroute === '/manageInventory'){\n this.router.navigate(['/manageInventory']);\n sessionStorage.setItem('resorgidSuccess','true'); \n // this.formSuccess = true;\n console.log(res);\n }\n else{\n sessionStorage.setItem('resorgidSuccess','false'); \n this.failuremessage = true;\n }\n \n }), error => {\n this.failuremessage = true;\n };\n \n \n } else if (data.status === 'failure') {\n status = true;\n this.pageloaderService.setPageLoaderStatus(true);\n this.setupError = true;\n this.errorMessage = 'Apple Organization ID validation failed. Go to Apple. Check your Apple Business Manager Preferences under Enrollment Information for your Apple Organization ID. Please try again.'\n this.utilityService.loadFocusOnTop();\n\n } else {\n let time = Date.now() - this.timerStart;\n status = (time > 60000);\n if (status) {\n this.pageloaderService.setPageLoaderStatus(true);\n this.setupError = true;\n this.errorMessage = data.ErrorDescription;\n this.utilityService.loadFocusOnTop();\n }\n }\n return status;\n })\n );\n \n const data$ = poll$.pipe(\n takeUntil(until$))\n .subscribe();\n\n this.timerStart = Date.now();\n\n } else {\n this.pageloaderService.setPageLoaderStatus(true);\n this.errorMessage = 'Apple Org ID validation failed. Please try again.';\n this.setupError = true;\n this.utilityService.loadFocusOnTop();\n }\n }, error => {\n this.pageloaderService.setPageLoaderStatus(true);\n this.setupError = true;\n this.handleError(error);\n this.utilityService.loadFocusOnTop();\n });\n \n}\n\n }\n\n handleError = (err) => {\n if (err) {\n if (err.status === 500) {\n this.errorMessage = \"Something went wrong. We couldn't process your request. Please try again later.\";\n } else if (err.status === 401) {\n this.errorMessage = 'Session expired, Please login again.';\n logoutCurrentUser(true);\n } else if (err.status === 400) {\n this.errorMessage = 'Id is already in the system.';\n } else if (err.status === 404) {\n this.errorMessage = \"Something went wrong. We couldn't process your request. Please try again later.\";\n } else if (this.signUpStatus === 'failure') { // remove this block after it is integrated wit the servce this is only for demo\n this.errorMessage = \"Something went wrong. We couldn't process your request. Please try again later.\";\n } else {\n this.errorMessage = \"Something went wrong. We couldn't process your request. Please try again later.\";\n }\n this.utilityService.loadFocusOnTop();\n }\n}\n\ndismissInfo() {\n this.setupError = false;\n this.showErrors = false;\n this.failuremessage = false;\n}\n \n // continueToNext() {\n // if(this.currentorgid === this.form.value.confirmappleorgid ){\n // this.showErrors = true;\n // }else{\n // console.log(this.form.value.appleorgid);\n // console.log(this.form.value.confirmappleorgid);\n // if (this.moveDevices) {\n // this.moveDevicesFlag = true;\n // } else {\n // this.moveDevicesFlag = false;\n // }\n \n // let data = {\n // \"fanNo\":this.fan,\n // \"emmProductCode\":\"DMPAABM\",\n // \"oldOrgId\" : this.currentorgid,\n // \"newOrgId\" : this.form.value.confirmappleorgid,\n // \"moveDevices\" : this.moveDevicesFlag.toString()\n // }\n // console.log(data);\n // this.manageInventoryService.postappleorgdata(data)\n // .subscribe(\n // res => {\n // if(res.status === 'success'){\n // if(this.existingroute === '/manageInventory/deviceInventory'){\n // this.router.navigate(['/manageInventory/deviceInventory']);\n // this.formSuccess = true;\n // console.log(res); \n // }else{\n // this.router.navigate(['/manageInventory']);\n // this.formSuccess = true;\n // console.log(res);\n // }\n // }else{\n // this.failuremessage = true;\n // }\n \n // })\n // }\n\n // }\n\n}","\n
\n
\n
\n \n
\n
\n

Error

\n

This Apple Organization ID is already associated with this Foundation Account. Please provide another\n Organization ID.

\n
\n
\n
\n
\n\n\n
\n
\n
\n \n
\n
\n \n

Error

\n

Organization ID update failed. Check entry and retry. If issue continues, contact support at 866.563.4703\n .

\n
\n
\n
\n
\n\n\n
\n
\n
\n
\n \n
\n
\n

Success

\n

Organization ID updated successfully.

\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n \n

Error

\n

{{errorMessage}}

\n
\n
\n
\n
\n
\n \n

{{manageAccounts.subHeading}}


\n

{{manageAccounts.fan}}{{this.fan}}

\n

{{manageAccounts.content1}}{{manageAccounts.content2}}{{manageAccounts.content3}}

\n
{{manageAccounts.verify}} \n {{manageAccounts.abm}}\n \n
\n \n
\n {{manageAccounts.tooltip}}
\n
\n
\n
\n
\n \n
\n\n
\n

New Apple Organization ID

\n \n
\n
Apple Org ID is required.
\n
\n Apple Org ID is not valid.\n
\n
\n
\n\n
\n

Confirm New Apple Organization ID

\n \n
\n
Confirm Apple Org ID is required.
\n
\n Confirm Apple Org ID is not valid.\n
\n
\n Apple Organization IDs do not match.
\n
\n
\n
\n

{{manageAccounts.explain1}}

\n

{{manageAccounts.explain2}}

\n
\n

\n \n

\n
\n {{manageAccounts.alert}}\n
\n
\n
\n
\n \n {{manageAccounts.cancel}}\n
\n
\n \n
\n \n
","import {\n Component,\n OnInit,\n ViewEncapsulation,\n ElementRef,\n} from \"@angular/core\";\nimport { map, catchError } from \"rxjs/operators\";\nimport { Observable, Subscription } from \"rxjs\";\nimport { FormControl } from \"@angular/forms\";\nimport { ActivatedRoute, Router } from \"@angular/router\";\nimport {\n UtilityService,\n AuthenticationService,\n} from \"lib/ng2-sapmp/src/providers\";\nimport {\n ManageInventoryService,\n FanSummary,\n FansDeviceSummary,\n DevicesSummary,\n MDMDetails,\n} from \"./shared/\";\nimport {\n CHART_CONFIG,\n DEVICE_DEPLOYMENT_SUMMARY,\n ERRCODES,\n APPLE_CERTIFICATE_STATUS,\n} from \"config\";\nimport { BreadCrumbService } from \"lib/ng2-sapmp/src/ui-components/breadcrumb\";\nimport { PageLoaderService } from \"lib/ng2-sapmp/src/ui-components/page-loader\";\nimport { DonutChartModel } from \"lib/ng2-sapmp/src/ui-components/charts/donut-chart\";\nimport { CtnLookupModel } from \"./ctnlookup-modal\";\nimport { MobilePivotModel } from \"lib/ng2-sapmp/src/ui-components/mobile-pivot\";\nimport { MOBILEPIVOTS } from \"config\";\nimport { ConfirmModalPopupModel } from \"lib/ng2-sapmp/src/ui-components/confirm-modal\";\nimport { InitialService } from \"./../initial-signup/initial-signup.service\";\nimport { SignupService } from \"../signup/shared/providers/signup.service\";\nimport { UserProfileModel } from \"lib/ng2-sapmp/src/models\";\nimport {\n AccordionComponent,\n AccordionModel,\n AccordionListComponent,\n} from \"lib/ng2-sapmp/src/ui-components/accordion\";\nimport { ImeiLookupModel } from \"./imeilookup-modal/imeilookup.model\";\n// import { NullVisitor } from \"@angular/compiler/src/render3/r3_ast\";\n\ndeclare var ENV_PORTAL: any;\n\n@Component({\n selector: \"app-manage-inventory\",\n templateUrl: \"./manage-inventory.component.html\",\n styleUrls: [\"./manage-inventory.component.scss\"],\n providers: [ManageInventoryService, InitialService, SignupService],\n encapsulation: ViewEncapsulation.None,\n})\nexport class ManageInventoryComponent implements OnInit {\n manageInventoryPage: any;\n fanDevicesSummary: FansDeviceSummary;\n mdmDetails: MDMDetails;\n chartLabel: string;\n donutChartData: Array;\n chartRadius = 90;\n strokeWidth = 20;\n startIndex = 0;\n recordsPerPage = 9;\n isSearch: boolean;\n fanSearch: FormControl;\n fieldPermissions: any;\n smsSent: boolean;\n modalClass: string;\n popupModal: CtnLookupModel;\n imeipopupModal: ImeiLookupModel;\n showPopup: boolean;\n showImeiPopup: boolean;\n errorMessage: string;\n pageError: boolean;\n showError: boolean;\n chartError: boolean;\n eventEmit: any;\n pivots: Array;\n user: any;\n callingPage: String;\n cancelParticipationRoute: string;\n helpArticles: any;\n article: any;\n showOverviewModal: boolean;\n videoId: string;\n emmProductCode: string;\n supportArticle = false;\n options: Array;\n envPortal: string;\n\n public errMsgDisplay: boolean;\n public showSubHeader = true;\n private totalRecords = 0;\n private currentPage = 1;\n private fanList: any;\n private paginationArray: Array;\n private devicesSummary: any;\n private readyToSetupFansCount;\n private awaitingSignupFansCount;\n private activeFansCount;\n private processingFansCount;\n private activeFans: any;\n private processingFans: any;\n private permissions: any;\n private totalFans: any;\n showReportPopup: boolean;\n overviewModalPopup: ConfirmModalPopupModel;\n private activeDeployedFans: any;\n private initialSignupStatus: any;\n public showView = false;\n public showNotEligible = false;\n public showUnknown = false;\n private ineligibleFansCount = 0;\n accountDeails: any;\n oemStatus = false;\n userModel: UserProfileModel;\n showNotificationMsg: String;\n showNewError: boolean = false;\n showNewFailureError: boolean = false;\n showchangeorgidMsg: String;\n showNeworgidFailureError: boolean = false;\n showNeworgidError: boolean = false;\n totalDevices: number = 0;\n\n enrollMultiplePrograms = 0;\n enrollSingleProgram = 0;\n\n isDisabled: boolean = true;\n welcomeFlag: boolean = false;\n checkhr: boolean = false;\n fanDetails: any;\n activeFanId: any;\n disableRemoveLink: boolean = false;\n signupInprogressFans: any;\n pendingFan: any;\n fansData: any;\n public enrollStatusSubscription: Subscription\n\n constructor(\n private pageloaderService: PageLoaderService,\n private breadCrumbService: BreadCrumbService,\n\n private manageInventoryService: ManageInventoryService,\n private utilityService: UtilityService,\n private route: ActivatedRoute,\n private router: Router,\n private signupService: SignupService,\n private authenticationService: AuthenticationService,\n private InitialService: InitialService,\n private el: ElementRef\n ) {\n this.fanDevicesSummary = new FansDeviceSummary();\n this.mdmDetails = new MDMDetails();\n this.options = [];\n this.pageloaderService.setPageLoaderStatus(false);\n this.smsSent = sessionStorage.getItem(\"smsSent\") ? true : false;\n this.userModel = new UserProfileModel();\n sessionStorage.removeItem(\"smsSent\");\n const permission = sessionStorage.getItem(\"permissions\");\n if (permission !== \"null\") {\n this.permissions = JSON.parse(permission);\n }\n this.envPortal = ENV_PORTAL;\n }\n\n ngOnInit() {\n this.manageInventoryService.getFanDetails().subscribe((respobj) => {\n sessionStorage.setItem(\n \"fanInfoList\",\n JSON.stringify(respobj.fanInfoList)\n );\n this.fansData = respobj;\n this.disableRemoveLink = respobj ? this.checkABMFEPEnding(respobj) : true;\n this.checkErrorMsg();\n });\n document.title =\n this.utilityService.getPageTitleConfig()[\n this.router.routerState.snapshot.url\n ];\n this.pivots = MOBILEPIVOTS.MANAGEINVENTORY;\n this.callingPage = sessionStorage.getItem(\"callingPageName\");\n this.initialSignupStatus = sessionStorage.getItem(\"initialSignupStatus\");\n sessionStorage.setItem(\"callingPageName\", \"\");\n sessionStorage.removeItem(\"removeManage\");\n if (this.callingPage === \"dashboard\") {\n this.breadCrumbService.setStaticBreadCrumbs(\"/managedashboard\");\n this.breadCrumbService.setCurrentBreadCrumb({\n label: \"Manage accounts\",\n routerLink: \"/manageInventory\",\n });\n } else {\n this.breadCrumbService.setStaticBreadCrumbs(\"/manageInventory\");\n this.breadCrumbService.setCurrentBreadCrumb({\n label: \"Manage accounts\",\n routerLink: \"/manageInventory\",\n });\n }\n sessionStorage.setItem(\"cancelCallingBackUrl\", \"/manageInventory\");\n this.initPage();\n this.initFanSearch();\n\n const pageName = \"manageInventoryPage\";\n // this.helpArticles = [{ id: 1, isActive: true, category: 'Help', content: '' }];\n this.options.push({\n id: 1,\n isActive: true,\n category: \"Help\",\n description: \"\",\n ariaLabel: {\n expand: \"Show help\",\n collapse: \"Hide help\",\n },\n });\n if (!this.oemStatus) {\n this.signupService\n .requestSupportContent(\n this.utilityService.getEnvConfig().getSupportDocument + pageName\n )\n .subscribe(\n (resp) => {\n this.article = resp.supportArticles;\n this.article.name = this.article.availableArticle[0].name;\n this.supportArticle = true;\n },\n (err) => {\n // this.handleError(err);\n }\n );\n }\n this.manageInventoryService.createPageLoadProperties(\"MANAGE_INVENTORY\");\n //show hide \"Add Accounts\" button based on FANs availability\n this.enrollStatusSubscription = this.authenticationService.getEnrollStatus().subscribe(status => {\n console.log(\"Enroll Status: \" + status);\n this.isDisabled = !status;\n // Perform any additional actions needed when enrollStatus changes\n });\n }\n\n checkErrorMsg() {\n let currentDate = new Date();\n let str: string = sessionStorage?.fanInfoList;\n let arr = str && str != \"undefined\" ? JSON.parse(str) : [];\n let fanlistInProgress = arr.filter(\n (data) => data.accountStatus === \"ACTIVE\"\n );\n this.fanDetails = fanlistInProgress.map((data) => {\n var parts = data.modifiedDate\n ? data.modifiedDate.split(/[- .:]+/)\n : !data.modifiedDate && data.createdDate\n ? data.createdDate.split(/[- .:]+/)\n : null;\n var day = parseInt(parts[0]);\n var month = parts[1];\n var year = parseInt(parts[2]);\n var hour = parseInt(parts[3]);\n var minute = parseInt(parts[4]);\n var second = parseInt(parts[5]);\n // Create the date object in GMT\n var date = new Date(\n Date.UTC(year, this.getMonthIndex(month), day, hour, minute, second)\n );\n // Convert to India Standard Time\n date.setMinutes(date.getMinutes() + date.getTimezoneOffset() + 330);\n let modifiedfanDate = date;\n const msBetweenDates = Math.abs(\n modifiedfanDate.getTime() - currentDate.getTime()\n );\n const hoursBetweenDates = msBetweenDates / (60 * 60 * 1000);\n this.checkhr = hoursBetweenDates <= 24 ? true : false;\n return this.checkhr ? data.fan : null;\n });\n let onedayActiveFans = this.fanDetails.filter((data) => data != null);\n let activeFan = [...new Set(onedayActiveFans)];\n this.activeFanId = activeFan.join(\", \");\n this.errMsgDisplay =\n fanlistInProgress.length >= 1 && this.activeFanId.length >= 1\n ? true\n : false;\n }\n\n\n // Helper function to convert month abbreviation to index\n getMonthIndex(month: string): number {\n const months = [\n \"Jan\",\n \"Feb\",\n \"Mar\",\n \"Apr\",\n \"May\",\n \"Jun\",\n \"Jul\",\n \"Aug\",\n \"Sep\",\n \"Oct\",\n \"Nov\",\n \"Dec\",\n ];\n return months.findIndex((m) => m === month);\n }\n\n getSupportContent(articleNumber) {\n if (this.article.availableArticle[articleNumber].type === \"url\") {\n this.initPopupModal(articleNumber);\n }\n }\n\n initPopupModal(articleNumber) {\n this.videoId = this.article.availableArticle[articleNumber].url;\n this.showOverviewModal = true;\n }\n\n closeOverviewModal() {\n this.showOverviewModal = false;\n }\n\n handleError(error, type) {\n this.pageloaderService.setPageLoaderStatus(true);\n this.errorMessage = ERRCODES[type];\n if (type === \"FETCH_PAGE\") {\n this.pageError = true;\n } else {\n this.showError = true;\n }\n }\n\n disableNavLinks(field, fieldType) {\n field.disable = false;\n const user = JSON.parse(sessionStorage.getItem(\"user\"));\n if (fieldType === \"button\") {\n if (\n (this.readyToSetupFansCount === 0 && this.activeFansCount === 0) ||\n this.mdmDetails.productCode === null ||\n this.mdmDetails.productCode === undefined ||\n (field.fieldPermission !== \"manageInventory.signup\" &&\n field.fieldPermission !== \"manageInventory.productselection\" &&\n !this.activeDeployedFans) ||\n (field.fieldPermission === \"manageInventory.signup\" &&\n this.processingFansCount === this.totalFans) ||\n ((field.fieldPermission === \"manageInventory.ctnLookup\" ||\n field.fieldPermission === \"manageInventory.imeiLookup\" ||\n field.fieldPermission === \"manageInventory.sendMessage\") &&\n 1 > JSON.parse(sessionStorage.getItem(\"noOfDevice\"))) ||\n (field.fieldPermission === \"manageInventory.productselection\" &&\n this.awaitingSignupFansCount === 0 &&\n this.readyToSetupFansCount === 0) ||\n (field.fieldPermission === \"manageInventory.productselection\" &&\n this.fanList.awaitingSignupFanList.length - this.ineligibleFansCount <\n 1 &&\n !this.fanList.newSetupFanList.length) ||\n this.utilityService.checkFieldPermission(\n field.fieldPermission,\n this.permissions.perm\n ) ||\n (1 > JSON.parse(sessionStorage.getItem(\"noOfDevice\")) &&\n field.fieldPermission !== \"manageInventory.report\")\n ) {\n let showPermission = this.permissions.perm.filter((f) => {\n return ((f.action === 'show' && (f.instance === 'manageInventory.sendMessage' || f.instance === 'manageInventory.imeiLookup' || f.instance === 'manageInventory.ctnLookup')));\n });\n if ((this.activeFansCount > 0) && (showPermission.length > 0) && (JSON.parse(sessionStorage.getItem(\"noOfDevice\")) > 0)) {\n field.disable = false;\n field.imgUrl = field.activeImgUrl;\n } else {\n field.disable = true;\n field.imgUrl = field.disabledImgUrl;\n }\n }\n } else {\n if (\n (field.fieldPermission === \"manageInventory.report\" && this.disableRemoveLink) ||\n this.utilityService.checkFieldPermission(\n field.fieldPermission,\n this.permissions.perm\n )\n ) {\n field.disable = true;\n }\n }\n }\n\n navigate(route) {\n if (route === \"/ctnLookup\") {\n this.eventEmit = document.activeElement;\n this.initctnLookUpPopupModal();\n } else if (route === \"/imeiLookup\") {\n this.eventEmit = document.activeElement;\n this.initimeiLookUpPopupModal();\n } else if (route === \"/reports\") {\n this.eventEmit = document.activeElement;\n this.initReportPopupModal();\n } else if (route === \"/productselection\" && this.welcomeFlag === true) {\n this.router.navigate([\"/welcome\"]);\n } else if (route === \"/cancelParticipation/removeaccount\") {\n // this.router.navigate([route]);\n sessionStorage.setItem(\"removeManage\", \"true\");\n } else {\n this.router.navigate([route]);\n }\n }\n\n ngAfterViewInit() {\n this.showNotificationMsg = sessionStorage.getItem(\"resSuccess\");\n if (this.showNotificationMsg === \"true\") {\n this.showNewError = true;\n } else if (this.showNotificationMsg === \"false\") {\n this.showNewFailureError = true;\n }\n sessionStorage.removeItem(\"resSuccess\");\n\n this.showchangeorgidMsg = sessionStorage.getItem(\"resorgidSuccess\");\n if (this.showchangeorgidMsg === \"true\") {\n this.showNeworgidError = true;\n } else if (this.showchangeorgidMsg === \"false\") {\n this.showNeworgidFailureError = true;\n }\n sessionStorage.removeItem(\"resorgidSuccess\");\n }\n\n plotFanStatusChart(data) {\n let duplicateFan;\n let str: string = sessionStorage.fanInfoList;\n let arr = str && str != \"undefined\" ? JSON.parse(str) : [];\n const dataArray: Array = [];\n if (this.fanList.awaitingSignupFanList.length) {\n this.fanList.awaitingSignupFanList.filter((t) => {\n if (\n t.addpEligibleStatus === undefined ||\n t.addpEligibleStatus === false\n ) {\n this.ineligibleFansCount++;\n }\n });\n }\n this.readyToSetupFansCount = data.newSetupFanList\n ? data.newSetupFanList.length\n : 0;\n this.awaitingSignupFansCount = data.awaitingSignupFanList\n ? data.awaitingSignupFanList.length - this.ineligibleFansCount\n : 0;\n this.activeFans = arr.filter((f) => {\n return f.accountStatus === \"ACTIVE\";\n });\n this.signupInprogressFans = arr.filter((f) => {\n return (f.accountStatus === \"PROCESSING\" || f.accountStatus === \"SIGNUP_INPROGRESS\");\n });\n if (this.signupInprogressFans && this.signupInprogressFans.length > 0) {\n this.pendingFan = this.signupInprogressFans;\n this.processingFans = this.signupInprogressFans;\n }\n\n this.activeFansCount =\n (this.activeFans ? this.activeFans.length : 0) +\n this.readyToSetupFansCount;\n this.activeDeployedFans = this.activeFans.filter((f) => {\n return f.participationDate && new Date(f.participationDate) < new Date();\n }).length;\n\n const tempTotalFans = data.newSetupFanList.concat(this.activeFans);\n if (tempTotalFans.length === 0) {\n this.welcomeFlag = true;\n }\n\n //us 4460 start\n if (this.signupInprogressFans.length > 0) { this.welcomeFlag = false; }\n\n // end\n\n // for (let i = 0; i < this.activeFans.length; i++) {\n // if (this.activeFans[i].fan !== this.pendingFan[0].fan)\n // return flag = true;\n // else return flag = false;\n // }\n\n duplicateFan = this.activeFans.filter(c => this.signupInprogressFans.map(s => s.fan).includes(c.fan))\n let activeIds = [];\n let pendingIds = [];\n const countObj = {};\n const countPendingObj = {};\n let flag: any;\n arr.map(function (item) {\n if (countObj.hasOwnProperty(item.fan)) {\n if (item.accountStatus === \"ACTIVE\") {\n countObj[item.fan]++;\n }\n } else {\n if (item.accountStatus === \"ACTIVE\") {\n countObj[item.fan] = 1;\n }\n if ((item.accountStatus === \"SIGNUP_INPROGRESS\" && item.emmProductCode === \"DMPAABM\") && duplicateFan.length < 1) {\n countPendingObj[item.fan] = 1;\n }\n }\n });\n\n const countArr = Object.values(countObj);\n const countPendingArr = Object.values(countPendingObj);\n let notEnrolledProgramCount = 0;\n let enrollSingleProgramCount = 0;\n let enrollMultipleProgramsCount = 0;\n let enrollSinglePendingProgramsCount = 0;\n let enrollMultiplePendingProgramsCount = 0;\n\n countArr.map(function (item: any) {\n if (item == 1) {\n enrollSingleProgramCount++;\n } else if (item > 1) {\n enrollMultipleProgramsCount++;\n }\n });\n countPendingArr.map(function (item: any) {\n if (item == 1) {\n enrollSinglePendingProgramsCount++;\n }\n else if (item > 1) {\n enrollMultiplePendingProgramsCount++;\n }\n });\n\n //notEnrolledProgram = notEnrollCount;\n this.enrollSingleProgram = enrollSingleProgramCount;\n this.enrollMultiplePrograms = enrollMultipleProgramsCount;\n let enrollPendingProgram = enrollSinglePendingProgramsCount;\n let enrollMultiPendingPrograms = enrollMultiplePendingProgramsCount\n //this.processingFans = data.revisedFanList.filter((f) => { return f.accountStatus === 'PROCESSING'; });\n // this.processingFans = JSON.parse(\n // sessionStorage.getItem(\"processingFanList\")\n // );\n this.processingFans = this.signupInprogressFans;\n this.processingFansCount = this.processingFans\n ? this.processingFans.length\n : 0;\n this.totalFans =\n this.awaitingSignupFansCount +\n this.activeFansCount +\n this.processingFansCount;\n\n if (data.newSetupFanList || data.revisedFanList) {\n sessionStorage.setItem(\n \"fanLength\",\n data.newSetupFanList.length + data.revisedFanList.length\n );\n if (this.readyToSetupFansCount > 0) {\n sessionStorage.setItem(\n \"readyToSetupFansCount\",\n this.readyToSetupFansCount\n );\n }\n }\n\n this.buildChartArray(\n CHART_CONFIG.NOT_ENROLLED,\n dataArray,\n this.awaitingSignupFansCount\n );\n\n\n this.buildChartArray(\n CHART_CONFIG.ENROLLED_SINGLE_PROGRAM,\n dataArray,\n this.enrollSingleProgram\n );\n\n this.buildChartArray(\n CHART_CONFIG.ENROLLED_MULTIPLE_PROGRAMS,\n dataArray,\n this.enrollMultiplePrograms\n );\n\n this.buildChartArray(\n CHART_CONFIG.PROCESSING,\n dataArray,\n enrollPendingProgram\n );\n this.buildChartArray(\n CHART_CONFIG.PROCESSING,\n dataArray,\n enrollMultiPendingPrograms\n );\n // this.buildChartArray(CHART_CONFIG.PROCESSING, dataArray, this.processingFansCount);\n\n this.donutChartData = dataArray;\n if (this.totalFans === 1) {\n this.chartLabel = \"account\";\n } else {\n this.chartLabel = \"accounts\";\n }\n const addpDashboardContainer =\n this.el.nativeElement.getElementsByClassName(\"legend-container\");\n switch (this.donutChartData.length) {\n case 1: {\n addpDashboardContainer[0].style.paddingTop = \"78px\";\n addpDashboardContainer[0].style.paddingBottom = \"25px\";\n break;\n }\n case 2: {\n addpDashboardContainer[0].style.paddingTop = \"58px\";\n addpDashboardContainer[0].style.paddingBottom = \"12px\";\n break;\n }\n case 3: {\n addpDashboardContainer[0].style.paddingTop = \"26px\";\n addpDashboardContainer[0].style.paddingBottom = \"12px\";\n\n break;\n }\n }\n\n if (this.manageInventoryPage.navIcons[0].route == \"/sendMessage\" && this.manageInventoryPage.navIcons[2].route == \"/reports\") {\n let thirdPar;\n thirdPar = this.manageInventoryPage.navIcons[0];\n this.manageInventoryPage.navIcons[0] = this.manageInventoryPage.navIcons[2];\n this.manageInventoryPage.navIcons[2] = thirdPar;\n }\n\n this.manageInventoryPage.navIcons.forEach((element) => {\n if (element.fieldPermission != \"manageInventory.report\") {\n this.disableNavLinks(element, \"button\");\n } else {\n element.disable = false;\n if (\n (element.fieldPermission == \"manageInventory.report\" && this.disableRemoveLink) ||\n this.utilityService.checkFieldPermission(\n element.fieldPermission,\n this.permissions.perm\n )\n ) {\n element.disable = true;\n element.imgUrl = element.disabledImgUrl;\n }\n }\n });\n this.manageInventoryPage.navIconsOem.forEach((element) => {\n if (element.fieldPermission != \"manageInventory.report\") {\n this.disableNavLinks(element, \"button\");\n } else {\n element.disable = false;\n if (\n (element.fieldPermission == \"manageInventory.report\" && this.disableRemoveLink) ||\n this.utilityService.checkFieldPermission(\n element.fieldPermission,\n this.permissions.perm\n )\n ) {\n element.disable = true;\n element.imgUrl = element.disabledImgUrl;\n }\n }\n });\n this.disableNavLinks(\n this.manageInventoryPage.cancelParticipation,\n \"anchor\"\n );\n this.disableNavLinks(this.manageInventoryPage.report, \"anchor\");\n this.updateSignedUpStatus();\n }\n\n updateSignedUpStatus() {\n this.userModel = this.authenticationService.getUser();\n if (this.userModel && this.userModel.fanSignedUpStatus !== undefined) {\n if (\n this.awaitingSignupFansCount &&\n (this.readyToSetupFansCount || this.activeFansCount)\n ) {\n this.userModel.fanSignedUpStatus = \"SOME\";\n }\n if (\n this.awaitingSignupFansCount === 0 &&\n (this.readyToSetupFansCount || this.activeFansCount)\n ) {\n this.userModel.fanSignedUpStatus = \"ALL\";\n }\n if (\n this.awaitingSignupFansCount !== 0 &&\n this.readyToSetupFansCount < 1 &&\n this.activeFansCount < 1\n ) {\n this.userModel.fanSignedUpStatus = \"NONE\";\n }\n this.authenticationService.setUser(this.userModel);\n }\n }\n\n buildChartArray(chartConfig, dataArray, noOfFans) {\n if (noOfFans > 0) {\n const temp: DonutChartModel = {\n value: noOfFans,\n color: chartConfig.color,\n legend: noOfFans + \" \" + chartConfig.label,\n };\n dataArray.push(temp);\n }\n }\n\n buildPaginationArray(data) {\n let paginationArray = [];\n\n // if (this.readyToSetupFansCount > 0 && this.activeFansCount === 0 && this.processingFansCount === 0) {\n // const temp = {\n // fanId: null,\n // accountStatus: 'READY_TO_SETUP'\n // };\n // paginationArray.push(temp);\n // }\n\n if (\n this.awaitingSignupFansCount > 0 &&\n this.activeFansCount === 0 &&\n this.processingFansCount === 0\n ) {\n const temp = {\n fanId: null,\n accountStatus: \"AWAITING_SIGNUP\",\n };\n paginationArray.push(temp);\n }\n\n if (this.activeFansCount > 0 || this.processingFansCount > 0) {\n paginationArray = paginationArray.concat(this.activeFans);\n paginationArray = paginationArray.concat(this.processingFans);\n }\n let arrFan = paginationArray.map((x) => (x.fanId || x.fan))\n .filter((x) => x != null);\n this.paginationArray = paginationArray.filter(function (x, index) {\n return arrFan.indexOf((x.fanId || x.fan)) === index;\n });\n\n // let paginationArrayAdd = [];\n // if((this.awaitingSignupFansCount > 0 && this.readyToSetupFansCount == 0 && data.revisedFanList )||\n // (this.awaitingSignupFansCount == 0 && this.readyToSetupFansCount > 0 && data.revisedFanList )){\n // const temp = {\n // fanId: 0,\n // accountStatus: 'SIGNUP_SETUP_ADD'\n // };\n // paginationArrayAdd.push(temp);\n // this.paginationArray = paginationArrayAdd.concat(this.paginationArray);\n // }\n // if(this.awaitingSignupFansCount > 0 && this.readyToSetupFansCount > 0 && data.revisedFanList ){\n // const temp1 = {\n // fanId: 0,\n // accountStatus: 'AWAITING_SIGNUP_ADD'\n // };\n // paginationArrayAdd.push(temp1);\n // const temp2 = {\n // fanId: 0,\n // accountStatus: 'READY_TO_SETUP_ADD'\n // };\n // paginationArrayAdd.push(temp2);\n // this.paginationArray = paginationArrayAdd.concat(this.paginationArray);\n // }\n this.totalRecords = this.paginationArray.length;\n this.searchFanDevices(null);\n }\n\n getPagedData() {\n this.pageloaderService.setPageLoaderStatus(false);\n this.fanDevicesSummary = new FansDeviceSummary();\n const currentPageFans = this.paginationArray.slice(\n this.startIndex,\n this.currentPage * this.recordsPerPage\n );\n const reqFans = currentPageFans\n .filter((t) => {\n if ((t.fanId || t.fan)) {\n return t;\n }\n })\n .map((m) => {\n return (m.fanId || m.fan);\n });\n if (reqFans && reqFans.length > 0) {\n this.manageInventoryService.getDevicesSummary(reqFans).subscribe(\n (resp) => {\n if (\n resp !== undefined &&\n resp.devicesSummary !== undefined &&\n resp.devicesSummary.length > 0\n ) {\n sessionStorage.setItem(\n \"devicesSummary\",\n JSON.stringify(resp.devicesSummary)\n );\n let removedInActiveFanList = resp.devicesSummary.filter(x => x.fan.status !== 'INACTIVE')\n let duplicateFanId = removedInActiveFanList\n .map(v => v.fan.fanId)\n .filter((v, i, data) => data.indexOf(v) !== i)\n // let duplicateFanValues = resp.devicesSummary.filter(obj => duplicateFanId.includes(obj.fan.fanId));\n let nonDuplicateFanId = removedInActiveFanList.filter(obj => !duplicateFanId.includes(obj.fan.fanId));\n let noDuplicatefan = nonDuplicateFanId.filter(x => x.fan.emmProductCode === 'DMPAABM' && (x.fan.status === 'PROCESSING' || x.fan.status === \"SIGNUP_INPROGRESS\"));\n\n let filteredArray = resp.devicesSummary.filter(\n (x) => x.fan.status == \"ACTIVE\"\n );\n filteredArray = filteredArray.concat(noDuplicatefan);\n let filteredArray1 = filteredArray.map((x) => x.fan.fanId);\n let filteredArray2 = filteredArray.filter(\n (x, index) => filteredArray1.indexOf(x.fan.fanId) === index\n );\n resp.devicesSummary = filteredArray2;\n }\n if (\n sessionStorage.getItem(\"noOfDevice\") === null ||\n JSON.parse(sessionStorage.getItem(\"noOfDevice\")) === 0\n ) {\n let devicesCount = 0;\n if (\n resp !== undefined &&\n resp.devicesSummary !== undefined &&\n resp.devicesSummary.length > 0\n ) {\n resp.devicesSummary.filter((f) => {\n if (\n f.deviceStatusSummary !== undefined &&\n f.deviceStatusSummary.length > 0\n ) {\n f.deviceStatusSummary.filter((t) => {\n devicesCount += t.noOfDevices;\n });\n }\n });\n }\n sessionStorage.setItem(\"noOfDevice\", JSON.stringify(devicesCount));\n if (JSON.parse(sessionStorage.getItem(\"noOfDevice\")) > 0) {\n this.enableSMSFunc();\n } else if (\n (sessionStorage.getItem(\"noOfDevice\") === null ||\n JSON.parse(sessionStorage.getItem(\"noOfDevice\")) === 0) &&\n this.totalRecords > 9\n ) {\n this.manageInventoryService\n .getFanStatusSummary()\n .subscribe((response) => {\n this.showHideRegisterIconLogic(response.noOfFans, response.fanInfoList);\n sessionStorage.setItem(\"noOfDevice\", response.noOfDevices);\n if (JSON.parse(sessionStorage.getItem(\"noOfDevice\")) > 0) {\n this.enableSMSFunc();\n }\n });\n }\n }\n this.fanDevicesSummary.devicesSummary =\n this.fanDevicesSummary.devicesSummary.concat(resp.devicesSummary);\n this.pageloaderService.setPageLoaderStatus(true);\n },\n (err) => {\n this.pageloaderService.setPageLoaderStatus(true);\n this.handleError(err, \"FETCH_DEVICESUMMARY\");\n }\n );\n } else {\n this.pageloaderService.setPageLoaderStatus(true);\n }\n }\n\n enableSMSFunc() {\n this.manageInventoryPage.navIcons.forEach((element) => {\n if (\n (element.route === \"/sendMessage\" || element.route === \"/ctnLookup\") &&\n !this.utilityService.checkFieldPermission(\n element.fieldPermission,\n this.permissions.perm\n )\n ) {\n element.disable = false;\n element.imgUrl = element.activeImgUrl;\n }\n });\n this.manageInventoryPage.navIconsOem.forEach((element) => {\n if (\n (element.route === \"/sendMessage\" || element.route === \"/ctnLookup\") &&\n !this.utilityService.checkFieldPermission(\n element.fieldPermission,\n this.permissions.perm\n )\n ) {\n element.disable = false;\n element.imgUrl = element.activeImgUrl;\n }\n });\n }\n\n checkForNonActiveFans() {\n // if (this.fanList.newSetupFanList && this.fanList.newSetupFanList.length > 0) {\n // let temp = {};\n // temp = DEVICE_DEPLOYMENT_SUMMARY.NO_SETUP;\n // temp['deviceStatusSummary'][0].noOfDevices = this.fanList.newSetupFanList.length;\n // this.devicesSummary.push(temp);\n // }\n if (\n this.fanList.awaitingSignupFanList &&\n this.fanList.awaitingSignupFanList.length - this.ineligibleFansCount > 0\n ) {\n let temp = {};\n temp = DEVICE_DEPLOYMENT_SUMMARY.AWAITING_SIGNUP;\n temp[\"deviceStatusSummary\"][0].noOfDevices =\n this.fanList.awaitingSignupFanList.length - this.ineligibleFansCount;\n this.devicesSummary.push(temp);\n }\n if (this.processingFansCount >= 1) {\n for (let i = 0; i < this.processingFansCount; i++) {\n let temp = {};\n temp = DEVICE_DEPLOYMENT_SUMMARY.PROCESSING;\n temp[\"fan\"] = [];\n temp[\"fan\"][0] = this.processingFans[i];\n this.devicesSummary.push(temp);\n }\n }\n }\n\n searchFanDevices(fanId) {\n if (fanId) {\n this.pageloaderService.setPageLoaderStatus(false);\n this.manageInventoryService.getDevicesSummary([fanId]).subscribe(\n (resp) => {\n this.fanDevicesSummary.devicesSummary = resp.devicesSummary.filter(\n (item) => item.fan && item.fan.fanId === fanId\n ); // Filter in client side because of Mock data\n this.pageloaderService.setPageLoaderStatus(true);\n },\n (err) => {\n this.pageloaderService.setPageLoaderStatus(true);\n this.totalRecords = 0;\n this.fanDevicesSummary.devicesSummary = [];\n this.handleError(err, \"FETCH_DEVICESUMMARY\");\n document.body.scrollTop = 0;\n }\n );\n } else {\n this.getPagedData();\n }\n }\n\n handleSearchClick() {\n if (this.fanSearch.value) {\n this.isSearch = true;\n this.startIndex = 0;\n this.totalRecords = 1;\n this.searchFanDevices(this.fanSearch.value);\n }\n }\n\n viewAllAccounts() {\n this.isSearch = false;\n this.startIndex = 0;\n this.totalRecords = this.paginationArray.length;\n this.fanSearch.setValue(\"\");\n this.searchFanDevices(null);\n }\n\n onPageChange(startIndex) {\n this.pageloaderService.setPageLoaderStatus(false);\n this.startIndex = startIndex;\n this.currentPage = startIndex / this.recordsPerPage + 1;\n this.fanDevicesSummary.currentPage =\n this.startIndex / this.fanDevicesSummary.recordsPerPage + 1;\n this.getPagedData();\n }\n\n initFanSearch() {\n this.fanSearch = new FormControl();\n }\n\n initPage() {\n this.isSearch = false;\n this.manageInventoryService\n .getFanStatusSummary()\n .subscribe((responseObject) => {\n //checking if only 1 FAN and which is signed for ABM in pending\n // this.fansData = responseObject;\n // this.disableRemoveLink = responseObject ? this.checkABMFEPEnding(responseObject) : true;\n this.showHideRegisterIconLogic(responseObject.noOfFans, responseObject.fanInfoList);\n sessionStorage.setItem(\n \"fanInfoList\",\n JSON.stringify(responseObject.fanInfoList)\n );\n });\n this.manageInventoryPage =\n this.route.snapshot.data.pageData.manageInventory;\n if (\n this.authenticationService.getUser().fanSignedUpStatus !== \"NotEligible\"\n ) {\n this.showView = true;\n this.initChart();\n } else {\n if (\n this.authenticationService.getUser().fanSignedUpStatus === \"NotEligible\"\n ) {\n this.showNotEligible = true;\n }\n // else if(this.authenticationService.getUser().fanSignedUpStatus === 'Unknown'){\n // this.showUnknown = true;\n // }\n this.pageloaderService.setPageLoaderStatus(true);\n }\n // }, (err) => {\n // this.handleError(err, 'FETCH_PAGE');\n // });\n }\n\n showHideRegisterIconLogic(noOfFans, fanInfoList){\n this.authenticationService.updateEnrollStatus({noOfFans: noOfFans, fanInfoList: fanInfoList});\n }\n\n checkABMFEPEnding(obj: any) {\n // if(obj?.fansSummary && obj?.fansSummary.length > 0){\n // //check Processing, Active and awaiting_setup fanlist for disable change for ABM FE pending\n // if((obj?.fansSummary.length == 1 && obj?.fansSummary[0].status == \"PROCESSING\") || (obj?.fansSummary.length == 1 && obj?.fansSummary[0].status == \"READY_TO_SETUP\") || (obj?.fansSummary.length == 1 && obj?.fansSummary[0].status == \"AWAITING_SIGNUP\")){\n // return true;\n // }else {\n // let data = obj?.fansSummary.map((elm) => elm.status);\n // if ((data.indexOf(\"PROCESSING\") != -1 && data.indexOf(\"AWAITING_SIGNUP\") != -1 && data.indexOf(\"ACTIVE\") != -1 && data.indexOf(\"READY_TO_SETUP\") != -1) || (data.indexOf(\"PROCESSING\") != -1 && data.indexOf(\"ACTIVE\") != -1 && data.indexOf(\"AWAITING_SIGNUP\") != -1) || (data.indexOf(\"PROCESSING\") != -1 && data.indexOf(\"ACTIVE\") != -1 && data.indexOf(\"READY_TO_SETUP\") != -1) || (data.indexOf(\"ACTIVE\") != -1)){\n // return false;\n // }else if((data.indexOf(\"PROCESSING\") != -1 && data.indexOf(\"AWAITING_SIGNUP\") != -1 && data.indexOf(\"READY_TO_SETUP\") != -1) || (data.indexOf(\"PROCESSING\") != -1 && data.indexOf(\"READY_TO_SETUP\") != -1) || (data.indexOf(\"PROCESSING\") != -1 && data.indexOf(\"AWAITING_SIGNUP\") != -1) || (data.indexOf(\"READY_TO_SETUP\") != -1 && data.indexOf(\"AWAITING_SIGNUP\") != -1)) {\n // return true;\n // }else {\n // return false;\n // }\n // }\n\n // }\n if (obj !== null || obj !== undefined || obj) {\n if (obj?.fanInfoList && obj?.fanInfoList.length > 0) {\n //check status ACTIVE, INACTIVE, SIGNUP_INPROGRESS\n let data = new Set(obj?.fanInfoList.map((elm) => elm.accountStatus));\n\n if ((data.has(\"ACTIVE\") && data.has(\"SIGNUP_INPROGRESS\") && data.has(\"INACTIVE\")) || (data.has(\"ACTIVE\") && data.has(\"SIGNUP_INPROGRESS\")) || (data.has(\"ACTIVE\") && data.has(\"INACTIVE\"))) {\n return false;\n } else if ((data.has(\"SIGNUP_INPROGRESS\") && data.has(\"INACTIVE\")) || (data.size == 1 && data.has(\"SIGNUP_INPROGRESS\")) || (data.size == 1 && data.has(\"INACTIVE\"))) {\n return true;\n } else {\n return false;\n }\n } else {\n return true;\n }\n } else {\n return true;\n }\n }\n\n initChart() {\n this.manageInventoryService.getFANList().subscribe(\n (resp) => {\n this.fanList = resp;\n\n let awaitFansArr = this.fanList.awaitingSignupFanList.filter(\n (x) => x.addpEligibleStatus === true\n );\n let moreCheckFlag = true;\n if (awaitFansArr && awaitFansArr.length > 0) {\n this.isDisabled = false;\n moreCheckFlag = false;\n } else {\n moreCheckFlag = true;\n }\n\n let fanInfoList;\n if (sessionStorage.getItem(\"fanInfoList\") !== \"undefined\") {\n fanInfoList = JSON.parse(sessionStorage.getItem(\"fanInfoList\"));\n if (fanInfoList && moreCheckFlag) {\n let fanArr = fanInfoList.map((x) => x.fan);\n let fanArrRefine = fanArr.filter(\n (x, index) => fanArr.indexOf(x) === index\n );\n\n let activeFanArr = fanInfoList.filter(\n (x) => x.accountStatus === \"ACTIVE\" || x.accountStatus === \"SIGNUP_INPROGRESS\"\n );\n\n if (activeFanArr.length === fanArrRefine.length * 2) {\n this.isDisabled = true;\n } else {\n this.isDisabled = false;\n }\n }\n }\n this.chartError = false;\n if (resp.productCode !== null && resp.productCode !== undefined) {\n this.mdmDetails.productCode = resp.productCode;\n this.mdmDetails.latestAccountType = resp.recentlyEnrolledProduct;\n if (this.mdmDetails.productCode === \"ADDPMDM\") {\n this.mdmDetails.ibmEmmAccountId = resp.ibmEmmAccountId;\n let productDetails = {\n emmProductCode: \"\",\n selectedAccID: \"\",\n signupEmmStatus: \"\",\n };\n productDetails.emmProductCode = \"ADDPMDM\";\n productDetails.selectedAccID = resp.ibmEmmAccountId;\n productDetails.signupEmmStatus = \"revised\";\n sessionStorage.setItem(\n \"manage-product\",\n JSON.stringify(productDetails)\n );\n } else {\n this.oemStatus = true;\n if (\n resp.googleEmmAccountId !== null &&\n resp.googleEmmAccountId !== undefined\n ) {\n this.mdmDetails.googleEmmAccountId = resp.googleEmmAccountId;\n }\n if (\n resp.samsungEmmAccountId !== null &&\n resp.samsungEmmAccountId !== undefined\n ) {\n this.mdmDetails.samsungEmmAccountId = resp.samsungEmmAccountId;\n }\n if (resp.fanInfoList !== null && resp.fanInfoList !== undefined) {\n sessionStorage.setItem(\n \"fanInfoList\",\n JSON.stringify(resp.fanInfoList)\n );\n }\n\n if (this.fanList.awaitingSignupFanList.length > 0) {\n let signupFanList = [];\n for (\n let i = 0;\n i < this.fanList.awaitingSignupFanList.length;\n i++\n ) {\n signupFanList.push(this.fanList.awaitingSignupFanList[i].fanId);\n }\n sessionStorage.setItem(\n \"signupFanList\",\n JSON.stringify(signupFanList)\n );\n }\n }\n sessionStorage.setItem(\"mdmDetails\", JSON.stringify(this.mdmDetails));\n }\n this.plotFanStatusChart(this.fanList);\n this.buildPaginationArray(this.fanList);\n if (\n (this.initialSignupStatus === \"Completed\" &&\n this.mdmDetails !== null &&\n this.mdmDetails.productCode === \"ADDPMDM\") ||\n (this.readyToSetupFansCount > 0 &&\n this.mdmDetails !== null &&\n this.mdmDetails.productCode === \"ADDPMDM\") ||\n (this.activeFansCount > 0 &&\n this.mdmDetails.productCode === \"ADDPMDM\" &&\n this.fanList !== 0)\n ) {\n this.getAppleCertificateStatus();\n }\n },\n (err) => {\n this.handleError(err, \"FETCH_FANSUMMARY\");\n this.chartError = true;\n this.buildErrorChartData();\n }\n );\n }\n\n buildErrorChartData() {\n this.donutChartData = [];\n this.chartLabel = \"accounts\";\n const temp = {\n value: 0,\n color: \"#ccc\",\n legend: \"Error\",\n };\n this.donutChartData.push(temp);\n }\n\n getAppleCertificateStatus() {\n this.manageInventoryService.getAppleSummary().subscribe(\n (respobj2) => {\n this.manageInventoryPage.appleCertificate.label =\n APPLE_CERTIFICATE_STATUS[respobj2.status];\n },\n (error) => this.handleError(error, \"FETCH_APPLECERT_STATUS\")\n );\n }\n\n dismissInfo() {\n this.smsSent = false;\n this.showNewError = false;\n this.showNeworgidError = false;\n }\n\n dismissError() {\n this.showError = false;\n }\n\n initctnLookUpPopupModal() {\n this.popupModal = new CtnLookupModel();\n this.modalClass = \"modal-lg\";\n this.showPopup = true;\n }\n\n initimeiLookUpPopupModal() {\n this.imeipopupModal = new ImeiLookupModel();\n this.modalClass = \"modal-lg\";\n this.showImeiPopup = true;\n }\n\n closePopup() {\n this.showPopup = false;\n }\n\n closeImeiPopup() {\n this.showImeiPopup = false;\n }\n\n initReportPopupModal() {\n this.modalClass = \"modal-lg\";\n this.overviewModalPopup = new ConfirmModalPopupModel();\n this.showReportPopup = true;\n\n this.manageInventoryService.createPageLoadProperties(\n \"REQUEST_REPORTS_MODAL\"\n );\n }\n closeReportPopup() {\n this.showReportPopup = false;\n\n this.manageInventoryService.createPageLoadProperties(\"MANAGE_INVENTORY\");\n }\n}\n","
\n
\n
\n \n
\n
\n {{ errorMessage }}\n
\n
\n
\n
\n
\n

{{ manageInventoryPage.pageHeader }}

\n\n
\n
\n \n
\n
\n We are still finalizing your account set up for\n {{ activeFanId }}. Newly enrolled devices will be displayed after enrollment is\n completed. This could take up to 1 business day.\n
\n \n
\n
\n
\n \n
\n
\n {{ errorMessage }}\n
\n
\n
\n \n
\n
\n
\n \n
\n
\n \n

Error

\n

\n Organization ID update failed. Check entry and retry. If issue\n continues, contact support at 866.563.4703 .\n

\n
\n
\n
\n
\n \n
\n
\n
\n
\n \n
\n
\n \n

Success

\n

Your Apple Organization ID has been updated.

\n
\n
\n
\n
\n
\n \n
\n
\n
\n \n
\n
\n \n

Error

\n

\n Notification settings update failed. Check entry and retry. If issue\n continues, contact support at 866.563.4703 .\n

\n
\n
\n
\n
\n \n
\n
\n
\n
\n \n
\n
\n \n

Success

\n

Notification settings updated successfully.

\n
\n
\n
\n
\n
\n
\n
\n \n
\n
Your message has been sent.
\n
\n
\n
\n
\n
\n \n \n
\n\n \n
\n
\n
    \n
  • \n \n \n
  • \n
\n
\n
\n
    \n
  • \n \n \n
  • \n
\n
\n
\n \n
\n
\n

{{ manageInventoryPage.subHeader }}

\n
\n
\n

{{ manageInventoryPage.subHeaderOEM }}

\n
\n
\n \n Showing {{ totalRecords > 0 ? 0 + 1 : 0 }} -\n {{\n startIndex + recordsPerPage > totalRecords\n ? totalRecords\n : startIndex + recordsPerPage\n }}\n of {{ totalRecords }}\n \n \n
recordsPerPage || isSearch\">\n
\n \n \n \n \n
\n \n
\n
\n
\n
\n
\n

No Results

\n

\n We didn't find any foundation account that matches your search.\n Please provide full account name.\n

\n
\n
\n
\n
\n
\n
\n \n
\n
\n
recordsPerPage\">\n \n
\n
\n
\n
\n
\n \n
\n

No Eligible Foundation Accounts

\n
\n You have no eligible foundation accounts available to be added.\n
\n
\n \n
\n \n
\n

\n {{ manageInventoryPage.handlePermission.ineligibleContent.title }}\n

\n
\n {{\n manageInventoryPage.handlePermission.ineligibleContent.message\n }}\n
\n
\n \n
\n
\n
\n \n
\n
\n
\n
\n \n \n \n \n
\n \n
\n \n \n \n \n
\n \n
\n \n \n \n \n
\n
\n \n
\n
\n
\n
\n \n
\n \n
\n
\n
\n
\n
\n \n \n \n
\n","import { Component, OnInit } from '@angular/core';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { UtilityService, AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';\nimport { PageLoaderService } from '../../../../lib/ng2-sapmp/src/ui-components/page-loader';\nimport { BreadCrumbModel, BreadCrumbService } from 'lib/ng2-sapmp/src/ui-components';\nimport { BREADCRUMBS } from 'config';\nimport { FormBuilder, FormGroup, FormControl, Validators, FormArray} from '@angular/forms';\nimport { ManageInventoryService} from './../shared';\nimport { KEY_CONFIG } from 'lib/ng2-sapmp/src/config/key-config';\n\n\n@Component({\n selector: 'app-managenotifications',\n templateUrl: './managenotifications.component.html',\n styleUrls: ['./managenotifications.component.scss'],\n providers: [ManageInventoryService]\n})\n\n\nexport class ManagenotificationsComponent implements OnInit {\n\n constructor(private route: ActivatedRoute, private router: Router,private utilityService: UtilityService,\n private pageloaderService: PageLoaderService, private breadcrumb: BreadCrumbService,\n private formBuilder: FormBuilder,private manageInventoryService: ManageInventoryService) {\n \n \n }\n\n notificationdata:any;\n formSuccess = false;\n notifychecklistdata:any;\n failuremessage:boolean = false;\n dataloadError: boolean= false;\n dataloadsuccess:boolean=false;\n selectedbox;\n fan:any;\n existingroute:any;\n profileid:any;\n notifyenablestatus:any;\n notifyenablestatusdeviceinventory:any;\n isTextMessage: boolean = false;\n\n ngOnInit() {\n \n document.title = this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url];\n this.notificationdata = this.route.snapshot.data.pageData.manageInventorymanagenotification;\n console.log(this.notificationdata);\n console.log(this.notificationdata.cartoonsData);\n this.notifychecklistdata = this.notificationdata.cartoonsData;\n console.log(this.notifychecklistdata.cartoon);\n this.pageLoad();\n \n this.existingroute = sessionStorage.getItem(\"currentRoute\");\n\n if(this.existingroute === '/manageInventory/deviceInventory'){\n this.fan = sessionStorage.getItem(\"fanID\");\n console.log(this.fan);\n }\n else if(this.existingroute === '/manageInventory'){\n this.fan = sessionStorage.getItem(\"profileFAN\");\n console.log(this.fan);\n } \n\n if(this.existingroute === '/manageInventory'){\n this.notifyenablestatus = sessionStorage.getItem(\"NotificationStatus\");\n console.log(this.notifyenablestatus);\n if(this.notifyenablestatus === \": Text\"){\n this.checkedItems[1].checked = true; \n }else if(this.notifyenablestatus === \": Email\"){\n this.checkedItems[0].checked = true;\n }else if(this.notifyenablestatus === \": Email/Text\"){\n this.checkedItems[0].checked = true;\n this.checkedItems[1].checked = true; \n }\n else{\n this.checkedItems[0].checked = false;\n this.checkedItems[1].checked = false; \n }\n }\n else if(this.existingroute === '/manageInventory/deviceInventory'){ \n this.notifyenablestatusdeviceinventory = sessionStorage.getItem(\"Notifystatusdeviceinventory\");\n if(this.notifyenablestatusdeviceinventory === \"Text\"){\n this.checkedItems[1].checked = true; \n }else if(this.notifyenablestatusdeviceinventory === \"Email\"){\n this.checkedItems[0].checked = true;\n }else if(this.notifyenablestatusdeviceinventory === \"Email/Text\"){\n this.checkedItems[0].checked = true;\n this.checkedItems[1].checked = true; \n }\n else{\n this.checkedItems[0].checked = false;\n this.checkedItems[1].checked = false; \n }\n }\n\n }\n\n changeEvent($event) {\n if (this.checkedItems[0].checked || this.checkedItems[1].checked) {\n this.selectedbox= true;\n }else {\n this.selectedbox= false;\n }\n \n }\n \n\n nestedjson = [\n { name: \"Email\", checked: false },\n { name: \"Text Messages\", checked: false },\n ];\n\n checkedItems = this.nestedjson.map(x => ({ name: x.name, checked: false }));\n\n // textObj = JSON.parse('nestedjson');\n // if(textObj.name ==)\n \n \n \nsubmit(){\n this.pageloaderService.setPageLoaderStatus(false);\n let checkboxdata = this.checkedItems;\n console.log(checkboxdata);\n let emaildata = checkboxdata[0].checked;\n let smsdata = checkboxdata[1].checked;\n console.log(emaildata);\n console.log(smsdata);\n // let profileid = sessionStorage.getItem('profileId');\n // console.log(profileid);\n \n if(this.existingroute === '/manageInventory/deviceInventory'){\n this.profileid = sessionStorage.getItem('profileId');\n console.log(this.profileid);\n }\n else if(this.existingroute === '/manageInventory'){\n this.profileid = sessionStorage.getItem('NotificationprofileID');\n console.log(this.profileid);\n } \n \n let checkdata ={\n \"emailEnabled\": emaildata.toString(),\n \"smsEnabled\": smsdata.toString(),\n \"fan\": this.fan\n }\n\n if (this.utilityService.getEnvConfig().useMock) {\n\n if(this.existingroute === '/manageInventory/deviceInventory'){\n \n this.router.navigate(['/manageInventory/deviceInventory']);\n sessionStorage.setItem('resSuccess','true'); \n }\n else if (this.existingroute === '/manageInventory'){\n \n this.router.navigate(['/manageInventory']);\n sessionStorage.setItem('resSuccess','true');\n } \n else {\n sessionStorage.setItem('resSuccess','false');\n this.failuremessage = true;\n }\n this.pageloaderService.setPageLoaderStatus(true);\n } else {\n this.manageInventoryService.postchecklistdata(checkdata)\n .subscribe(\n res => {\n if(this.existingroute === '/manageInventory/deviceInventory'){\n \n this.router.navigate(['/manageInventory/deviceInventory']);\n sessionStorage.setItem('resSuccess','true'); \n }\n else if(this.existingroute === '/manageInventory'){\n \n this.router.navigate(['/manageInventory']);\n sessionStorage.setItem('resSuccess','true');\n // this.formSuccess = true;\n console.log(res);\n } \n else{\n sessionStorage.setItem('resSuccess','false');\n this.failuremessage = true;\n }\n this.pageloaderService.setPageLoaderStatus(true);\n }), error => {\n // alert(\"error\");\n this.pageloaderService.setPageLoaderStatus(true);\n this.failuremessage = true;\n };\n }\n \n}\n\n pageLoad() {\n const breadcrumb = new BreadCrumbModel();\n breadcrumb.label = this.notificationdata.fanBreadcumb;\n breadcrumb.routerLink = this.notificationdata.fanBreadcrumbRoute;\n this.breadcrumb.setCurrentBreadCrumb(breadcrumb);\n }\n\n toggleTooltipEnter(event) {\n if (event.type !== 'mouseenter') {\n if (event.keyCode !== KEY_CONFIG.enter) {\n return;\n }\n }\n let targetElement = event.target;\n const elems = document.querySelectorAll('.tooltipActive');\n let iselementActive = false;\n if (targetElement.classList.contains('tooltipActive')) {\n iselementActive = true;\n }\n [].forEach.call(elems, function (ele) {\n ele.classList.remove('tooltipActive');\n });\n if (iselementActive) {\n targetElement.classList.remove('tooltipActive');\n } else {\n targetElement.classList.add('tooltipActive');\n }\n }\n\n toggleTooltipLeave(event) {\n if (event.type !== 'mouseleave') {\n if (event.keyCode !== KEY_CONFIG.enter) {\n return;\n }\n }\n let targetElement = event.target;\n const elems = document.querySelectorAll('.tooltipActive');\n let iselementActive = false;\n if (targetElement.classList.contains('tooltipActive')) {\n iselementActive = true;\n }\n [].forEach.call(elems, function (ele) {\n ele.classList.remove('tooltipActive');\n });\n if (iselementActive) {\n targetElement.classList.remove('tooltipActive');\n } else {\n targetElement.classList.add('tooltipActive');\n }\n }\n\n\n\n\n\n\n\n\n\n\n}\n\n","\n
\n \n
\n
\n
\n \n
\n
\n

{{notificationdata.failuremessage}}

\n
\n
\n
\n \n
\n
\n
\n
\n \n
\n
\n

{{notificationdata.successMessage}}

\n
\n
\n
\n
\n
\n \n
\n

{{this.notificationdata.subhead}}


\n

Foundation Account : {{this.fan}}

\n \n

\n {{this.notificationdata.selectednotificationTmp}} \n

\n \n
\n \n
\n \n
{{this.notificationdata.tooltipTextMessage}}\n
\n
\n
\n \n
\n
\n \n \n {{this.notificationdata.buttons.cancel}} \n
\n
\n \n
\n
","export * from './providers/manage-inventory.service';\nexport * from './models/manage-inventory.model';\n","import { StartdateComponent } from './../../../signup/startdate/startdate.component';\nexport class FanStatusSummary {\n noOfFans: number;\n Status: String;\n}\n\nexport class ProfileStatus {\n ctnNumber: any;\n userName: String;\n model: String;\n status: String;\n}\n\nexport class SessionProfileStatus {\n setNo: number;\n sessionCtns: Array;\n\n constructor(setNo, sessionCtns){\n this.setNo = setNo;\n this.sessionCtns = sessionCtns;\n }\n}\n\nexport class FanSummary {\n fanSummary: Array;\n}\n\nexport class AppleCertificate {\n hasValidAppleCertificate: boolean;\n}\n\nexport class Fan {\n fanId: number;\n status: String;\n participationDate: Date;\n}\n\nexport class Profile {\n profileId: number;\n profileName: string;\n}\n\nexport class DeviceStatusSummary {\n noOfDevices: number;\n Status: String;\n}\n\nexport class DevicesSummary {\n fan: Fan;\n profile: Profile;\n deviceStatusSummary: Array;\n\n constructor() {\n this.deviceStatusSummary = [];\n }\n}\n\nexport class FansDeviceSummary {\n totalRecords: number;\n currentPage: number;\n recordsPerPage: number;\n devicesSummary: Array;\n constructor() {\n this.devicesSummary = [];\n }\n}\n\nexport class CTNDetails {\n ctn: String;\n fan: number;\n profileId: String;\n ban: number;\n userName: String;\n groupName:String;\n ratePlan: String;\n userId: String;\n emailId: String;\n deviceInfo: DeviceInformation;\n ctnStatus: CTNStatus;\n}\n\nexport class DeviceInformation {\n deviceName: String;\n platform: String;\n os: String;\n imei: String;\n complianceStatus: String;\n checkInDate: String;\n emmDeviceId: any;\n emmTenantId: any;\n emmProvider: any;\n deviceId:String;\n}\n\nexport class CTNStatus {\n enrollmentStatus: any;\n complianceStatus: String;\n mobilityStatus: String;\n applicationStatus: Array;\n programStatus: String;\n}\n\nexport class MDMDetails {\n productCode: string;\n ibmEmmAccountId: string;\n googleEmmAccountId: string;\n samsungEmmAccountId: string;\n latestAccountType: string;\n appleEmmAccountId: string;\n\n constructor() {\n this.productCode = undefined;\n this.ibmEmmAccountId = undefined;\n this.googleEmmAccountId = undefined;\n this.samsungEmmAccountId = undefined;\n this.latestAccountType = undefined;\n this.appleEmmAccountId = undefined;\n }\n}\n","import { Injectable } from \"@angular/core\";\nimport { map, catchError } from \"rxjs/operators\";\nimport { HttpClient, HttpResponse, HttpHeaders } from \"@angular/common/http\";\nimport { throwError } from \"rxjs\";\nimport { ANALYTICS_CONSTANTS } from \"config\";\nimport {\n HttpClientService,\n UtilityService,\n AdobeAnalyticsService,\n} from \"lib/ng2-sapmp/src/providers\";\n\n@Injectable()\nexport class ManageInventoryService {\n constructor(\n private http: HttpClient,\n private httpClientService: HttpClientService,\n private utilityService: UtilityService,\n private adobeAnalyticsService: AdobeAnalyticsService\n ) {}\n\n get_headers() {\n let headers = new HttpHeaders();\n headers = headers.append(\n \"Authorization\",\n sessionStorage.getItem(\"sapmp_jwtToken\")\n );\n return headers;\n }\n\n getGroupDevicesData(fan: any, sessionId: any) {\n let url =\n this.utilityService.getEnvConfig().getGroupDevices +\n \"?fan=\" +\n fan +\n \"&sessionId=\" +\n sessionId;\n return this.httpClientService.authorizedGet(url).pipe(\n map((res: HttpResponse) => {\n if (sessionStorage.getItem(\"sapmp_jwtToken\") != null) {\n // refreshes token for logged in scenario upon page load\n this.httpClientService.tokenRefresh(\n this.utilityService.getEnvConfig().tokenRefresh\n );\n }\n\n return res.body;\n }),\n catchError(this.handleError)\n );\n }\n\n fetchJSON(dataurl) {\n return this.httpClientService.get(dataurl, this.get_headers()).pipe(\n map((res: HttpResponse) => {\n if (sessionStorage.getItem(\"sapmp_jwtToken\") != null) {\n // refreshes token for logged in scenario upon page load\n this.httpClientService.tokenRefresh(\n this.utilityService.getEnvConfig().tokenRefresh\n );\n }\n return res.body;\n }),\n catchError(this.handleError)\n );\n }\n\n getManageInventoryPageContent() {\n return this.fetchJSON(\n this.utilityService.getEnvConfig().contentUrl.manageInventory\n .manageInventoryPageUrl\n );\n }\n\n getFANList() {\n let fanUrl;\n fanUrl = this.utilityService.getEnvConfig().getFANList;\n // fanUrl = this.utilityService.getEnvConfig().getFANListMock[1];\n //fanUrl = \"assets/mock/dashboard/getFANListMock7.json\";\n\n return this.fetchJSON(fanUrl);\n }\n\n getDevicesSummary(fanIds) {\n let fanUrl;\n const data = {\n fanList: fanIds,\n };\n\n fanUrl = this.utilityService.getEnvConfig().devicesSummaryUrl;\n return this.httpClientService\n .post(\n this.utilityService.getEnvConfig().devicesSummaryUrl,\n data,\n this.get_headers()\n )\n .pipe(\n map((test: HttpResponse) => {\n if (sessionStorage.getItem(\"sapmp_jwtToken\") != null) {\n // refreshes token for logged in scenario upon page load\n this.httpClientService.tokenRefresh(\n this.utilityService.getEnvConfig().tokenRefresh\n );\n }\n return test.body;\n }),\n catchError(this.handleError)\n );\n }\n\n getSingleDevicesInventory(fanIds) {\n let fanUrl;\n const data = {\n fanList: fanIds,\n };\n\n if (this.utilityService.getEnvConfig().useMock) {\n fanUrl = this.utilityService.getEnvConfig().deviceInventoryDetailsUrl;\n return this.fetchJSON(fanUrl);\n } else {\n fanUrl = this.utilityService.getEnvConfig().devicesSummaryUrl;\n return this.httpClientService\n .post(\n this.utilityService.getEnvConfig().devicesSummaryUrl,\n data,\n this.get_headers()\n )\n .pipe(\n map((test: HttpResponse) => {\n if (sessionStorage.getItem(\"sapmp_jwtToken\") != null) {\n // refreshes token for logged in scenario upon page load\n this.httpClientService.tokenRefresh(\n this.utilityService.getEnvConfig().tokenRefresh\n );\n }\n return test.body;\n }),\n catchError(this.handleError)\n );\n }\n }\n getFanDetails() {\n let apiUrl;\n apiUrl = this.utilityService.getEnvConfig().dashboardSummary;\n return this.httpClientService.get(apiUrl, this.get_headers()).pipe(\n map((res: HttpResponse) => res.body),\n catchError(this.handleError)\n );\n }\n\n getFanStatusSummary() {\n // will be calling actual api with company id;\n let url;\n if (this.utilityService.getEnvConfig().useMock) {\n url = this.utilityService.getEnvConfig().getFanStatusSummarymock[0];\n } else {\n url = this.utilityService.getEnvConfig().dashboardSummary;\n }\n\n return this.httpClientService.get(url, this.get_headers()).pipe(\n map((test: HttpResponse) => {\n if (sessionStorage.getItem(\"sapmp_jwtToken\") != null) {\n // refreshes token for logged in scenario upon page load\n this.httpClientService.tokenRefresh(\n this.utilityService.getEnvConfig().tokenRefresh\n );\n }\n return test.body;\n }),\n catchError(this.handleError)\n );\n }\n\n getDeviceStatusSummary(url, req) {\n // will be calling actual api with request;\n return this.httpClientService.get(url).pipe(\n map((test: HttpResponse) => {\n if (sessionStorage.getItem(\"sapmp_jwtToken\") != null) {\n // refreshes token for logged in scenario upon page load\n this.httpClientService.tokenRefresh(\n this.utilityService.getEnvConfig().tokenRefresh\n );\n }\n return test.body;\n }),\n catchError(this.handleError)\n );\n }\n\n getAppleSummary() {\n let appleUrl;\n appleUrl =\n this.utilityService.getEnvConfig().getAppleSummary + \"?detail=false\";\n return this.fetchJSON(appleUrl);\n }\n\n getAppleCertificateSummary(url) {\n // will be calling actual api with companyId;\n return this.httpClientService.get(url).pipe(\n map((test: HttpResponse) => {\n if (sessionStorage.getItem(\"sapmp_jwtToken\") != null) {\n // refreshes token for logged in scenario upon page load\n this.httpClientService.tokenRefresh(\n this.utilityService.getEnvConfig().tokenRefresh\n );\n }\n return test.body;\n }),\n catchError(this.handleError)\n );\n }\n\n getCtnDetails(ctn) {\n let url;\n if (this.utilityService.getEnvConfig().useMock) {\n url = this.utilityService.getEnvConfig().ctnDetailsMockUrl;\n } else {\n url = this.utilityService.getEnvConfig().ctnDetailsUrl + \"?ctn=\" + ctn;\n }\n return this.fetchJSON(url);\n }\n\n getCtnPageDetails(url) {\n return this.httpClientService.get(url, this.get_headers()).pipe(\n map((test: HttpResponse) => {\n if (sessionStorage.getItem(\"sapmp_jwtToken\") != null) {\n // refreshes token for logged in scenario upon page load\n this.httpClientService.tokenRefresh(\n this.utilityService.getEnvConfig().tokenRefresh\n );\n }\n return test.body;\n }),\n catchError(this.handleError)\n );\n }\n\n getManageGroupsPageDetails(url) {\n return this.httpClientService.get(url, this.get_headers()).pipe(\n map((test: HttpResponse) => {\n if (sessionStorage.getItem(\"sapmp_jwtToken\") != null) {\n // refreshes token for logged in scenario upon page load\n this.httpClientService.tokenRefresh(\n this.utilityService.getEnvConfig().tokenRefresh\n );\n }\n return test.body;\n }),\n catchError(this.handleError)\n );\n }\n\n getImeiDetails(imei) {\n let url;\n if (this.utilityService.getEnvConfig().useMock) {\n url = this.utilityService.getEnvConfig().ctnDetailsMockUrl;\n } else {\n url = this.utilityService.getEnvConfig().ctnDetailsUrl + \"?imei=\" + imei;\n }\n return this.fetchJSON(url);\n }\n\n getImeiPageDetails(url) {\n return this.httpClientService.get(url, this.get_headers()).pipe(\n map((test: HttpResponse) => {\n if (sessionStorage.getItem(\"sapmp_jwtToken\") != null) {\n // refreshes token for logged in scenario upon page load\n this.httpClientService.tokenRefresh(\n this.utilityService.getEnvConfig().tokenRefresh\n );\n }\n return test.body;\n }),\n catchError(this.handleError)\n );\n }\n\n getDeviceInventoryContent(url) {\n // will be calling actual api with request;\n return this.httpClientService.get(url, this.get_headers()).pipe(\n map((test: HttpResponse) => {\n if (sessionStorage.getItem(\"sapmp_jwtToken\") != null) {\n // refreshes token for logged in scenario upon page load\n this.httpClientService.tokenRefresh(\n this.utilityService.getEnvConfig().tokenRefresh\n );\n }\n return test.body;\n }),\n catchError(this.handleError)\n );\n }\n\n getDeviceInventory(fan, pageSize, pageNumber) {\n // will be calling actual api with request;\n var sessionId = sessionStorage.getItem(\"sessionId\");\n let url;\n //2024 vulnerability changes\n // let payload = {\n // \"fan\": fan,\n // \"pageNumber\": pageNumber,\n // \"pageSize\": pageSize,\n // \"sessionId\": sessionId\n // };\n url = this.utilityService.getEnvConfig().getProfileStatusUrl +\n \"?fan=\" +\n fan +\n \"&pageNumber=\" +\n pageNumber +\n \"&pageSize=\" +\n pageSize +\n \"&sessionId=\" +\n sessionId;\n return this.httpClientService.get(url, this.get_headers()).pipe(\n map((test: HttpResponse) => {\n if (sessionStorage.getItem(\"sapmp_jwtToken\") != null) {\n // refreshes token for logged in scenario upon page load\n this.httpClientService.tokenRefresh(\n this.utilityService.getEnvConfig().tokenRefresh\n );\n }\n return test.body;\n }),\n catchError(this.handleError)\n );\n }\n\n setSelectedFan(fanId) {\n sessionStorage.setItem(\"selectedFAN\", fanId);\n }\n\n getSelectedFan() {\n return sessionStorage.getItem(\"selectedFAN\");\n }\n\n setSelectedCtn(ctn) {\n sessionStorage.setItem(\"ctnNumber\", ctn);\n }\n\n setSelectedImei(imei) {\n sessionStorage.setItem(\"imeiNumber\", imei);\n }\n\n getSelectedCtn() {\n return sessionStorage.getItem(\"ctnNumber\");\n }\n\n setSelectedProfileID(profileID) {\n sessionStorage.setItem(\"profileId\", profileID);\n }\n\n Deviceinventorynotifystatus(notificationcomstatus) {\n sessionStorage.setItem(\n \"Notifystatusdeviceinventory\",\n notificationcomstatus\n );\n }\n\n setSelectedProfilefan(profilefan, profileID, notifystatusid) {\n sessionStorage.setItem(\"profileFAN\", profilefan);\n sessionStorage.setItem(\"NotificationprofileID\", profileID);\n sessionStorage.setItem(\"NotificationStatus\", notifystatusid);\n }\n // setSelectedfan(displayedfan) {\n // sessionStorage.setItem('FAN', displayedfan);\n // }\n deviceinventoryselectedorgid(deviceinventoryorgId) {\n sessionStorage.setItem(\"DeviceinventoryOrgId\", deviceinventoryorgId);\n }\n deviceinventoryselectedfan(fan) {\n sessionStorage.setItem(\"FAN\", fan);\n }\n setSelectedfan(displayedfan, accountId) {\n sessionStorage.setItem(\"FAN\", displayedfan);\n sessionStorage.setItem(\"OrgID\", accountId);\n }\n\n handleError(error) {\n return throwError(error);\n }\n\n getDeviceLockStatus(emmTenantId, emmDeviceId) {\n const data = {\n emmAccountId: emmTenantId,\n };\n let currentCtnDetails = JSON.parse(\n sessionStorage.getItem(\"currentCtnDetails\")\n );\n currentCtnDetails.locked = true;\n sessionStorage.setItem(\n \"currentCtnDetails\",\n JSON.stringify(currentCtnDetails)\n );\n let url;\n if (this.utilityService.getEnvConfig().useMock) {\n url =\n this.utilityService.getEnvConfig().contentUrl.manageInventory\n .deviceStatusUrlMock;\n return this.fetchJSON(url);\n } else {\n url =\n this.utilityService.getEnvConfig().contentUrl.manageInventory\n .deviceStatusUrl +\n \"/\" +\n emmDeviceId +\n \"/lock\";\n return this.httpClientService.post(url, data, this.get_headers()).pipe(\n map((test: HttpResponse) => {\n if (sessionStorage.getItem(\"sapmp_jwtToken\") != null) {\n // refreshes token for logged in scenario upon page load\n this.httpClientService.tokenRefresh(\n this.utilityService.getEnvConfig().tokenRefresh\n );\n }\n return test.body;\n }),\n catchError(this.handleError)\n );\n }\n }\n\n getDeviceWipeStatus(deviceDeenrolled, wiped, emmTenantId, emmDeviceId) {\n let currentCtnDetails = JSON.parse(\n sessionStorage.getItem(\"currentCtnDetails\")\n );\n currentCtnDetails.deviceDeenrolled = deviceDeenrolled;\n currentCtnDetails.wiped = wiped;\n sessionStorage.setItem(\n \"currentCtnDetails\",\n JSON.stringify(currentCtnDetails)\n );\n const data = {\n emmAccountId: emmTenantId,\n wipeType: deviceDeenrolled,\n };\n let url;\n if (this.utilityService.getEnvConfig().useMock) {\n url =\n this.utilityService.getEnvConfig().contentUrl.manageInventory\n .deviceStatusUrlMock;\n return this.fetchJSON(url);\n } else {\n url =\n this.utilityService.getEnvConfig().contentUrl.manageInventory\n .deviceStatusUrl +\n \"/\" +\n emmDeviceId +\n \"/wipe\";\n return this.httpClientService.post(url, data, this.get_headers()).pipe(\n map((test: HttpResponse) => {\n if (sessionStorage.getItem(\"sapmp_jwtToken\") != null) {\n // refreshes token for logged in scenario upon page load\n this.httpClientService.tokenRefresh(\n this.utilityService.getEnvConfig().tokenRefresh\n );\n }\n return test.body;\n }),\n catchError(this.handleError)\n );\n }\n }\n\n requestPopupContent(id) {\n return this.httpClientService.get(id, this.get_headers()).pipe(\n map((res: HttpResponse) => res.body),\n catchError(this.handleError)\n );\n }\n requestSupportContent(id) {\n return this.httpClientService.get(id, this.get_headers()).pipe(\n map((res: HttpResponse) => res.body),\n catchError(this.handleError)\n );\n }\n createPageLoadProperties(url, section1?, ctn?, ban?) {\n const dataLayer = {};\n if (url == \"WIPEDEVICE\") {\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_LOCATION_URL] =\n \"/virtual/manageDevice/wipemodal.html\";\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FLOW_CODE] =\n ANALYTICS_CONSTANTS.FLOW_CODE_MANAGE_DEVICE_MODAL;\n } else if (url === \"SEND_MESSAGE_MODAL\") {\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_LOCATION_URL] =\n \"/virtual/sendMessage/review.html\";\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FLOW_CODE] =\n ANALYTICS_CONSTANTS.FLOW_CODE_SEND_MESSAGE_MODAL;\n } else if (url === \"LOCKDEVICE\") {\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_LOCATION_URL] =\n \"/virtual/manageDevice/lockmodal.html\";\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FLOW_CODE] =\n ANALYTICS_CONSTANTS.FLOW_CODE_MANAGE_DEVICE_MODAL;\n } else if (url === \"REQUEST_REPORTS_MODAL\") {\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_LOCATION_URL] =\n \"/virtual/reports/requestmodal.html\";\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FLOW_CODE] =\n ANALYTICS_CONSTANTS.FLOW_CODE_REPORTS;\n } else {\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FLOW_CODE] =\n ANALYTICS_CONSTANTS.FLOW_CODE_MANAGE_DEVICE;\n }\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FRIENDLY_PAGE_NAME] =\n ANALYTICS_CONSTANTS[\"FRIENDLY_NAME_\" + url];\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_PAGE_FUNCTION] = \"Service\";\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_SITE_SECTION1] = section1;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_LOGIN_SOURCE] = \"home\";\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_BAN] = ban;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_CTN] = ctn;\n this.adobeAnalyticsService.tag(\"page\", dataLayer, \"Page_Load\", \"pageLoad\");\n }\n\n postchecklistdata(data) {\n console.log(data);\n return this.httpClientService\n .post(\n this.utilityService.getEnvConfig().revisenotificationsettings,\n data,\n this.get_headers()\n )\n .pipe(\n map((res: HttpResponse) => {\n return res.body;\n }),\n catchError(this.handleError)\n );\n }\n postExistingDate(data) {\n console.log(data);\n return this.httpClientService\n .post(\n this.utilityService.getEnvConfig().enrollExistingDevice,\n data,\n this.get_headers()\n )\n .pipe(\n map((res: HttpResponse) => {\n return res.body;\n }),\n catchError(this.handleError)\n );\n }\n\n postappleorgdata(data) {\n console.log(data);\n\n return this.httpClientService\n .post(\n this.utilityService.getEnvConfig().changeorgid,\n data,\n this.get_headers()\n )\n .pipe(\n map((res: HttpResponse) => {\n return res.body;\n }),\n catchError(this.handleError)\n );\n }\n\n orgIdValidation(orgid) {\n const data = {\n orgId: orgid,\n };\n return this.httpClientService\n .post(\n this.utilityService.getEnvConfig().appleOrgValidate,\n data,\n this.get_headers()\n )\n .pipe(\n map((resp: HttpResponse) => {\n // console.log(resp);\n return resp.body;\n }),\n catchError(this.handleError)\n );\n }\n\n tranIdValidation(tranid) {\n const data = {\n deviceEnrollmentTransactionId: tranid,\n };\n return this.httpClientService\n .post(\n this.utilityService.getEnvConfig().tranIdValidate,\n data,\n this.get_headers()\n )\n .pipe(\n map((resp: HttpResponse) => {\n // console.log(resp);\n return resp.body;\n }),\n catchError(this.handleError)\n );\n }\n\n updateCtnDetails(data) {\n let url = this.utilityService.getEnvConfig().ctnUpdateUrl;\n let headers = new HttpHeaders();\n if (data.eventName === \"ENROLL\") {\n headers = headers.append(\n \"Authorization\",\n sessionStorage.getItem(\"sapmp_jwtToken\")\n );\n headers = headers.append(\"requestType\", \"EnrollCTN\");\n console.log(data.eventPayload);\n } else {\n headers = headers.append(\n \"Authorization\",\n sessionStorage.getItem(\"sapmp_jwtToken\")\n );\n headers = headers.append(\"requestType\", \"DeEnrollCTN\");\n }\n // return this.httpClientService.post(this.utilityService.getEnvConfig().url, data.eventPayload, headers).toPromise();\n return this.httpClientService\n .post(\n this.utilityService.getEnvConfig().ctnUpdateUrl,\n data.eventPayload,\n headers\n )\n .toPromise();\n // .pipe(\n // map((res: HttpResponse) => {\n // console.log(\"res.body:::::::::\"+res.body.responseCode);\n // return res.body;\n // }));\n }\n}\n","import { Component, OnInit, OnDestroy, Pipe, PipeTransform } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { ProductManagementModel } from './shared';\n\n\n@Pipe({\n name: 'fanMapToIterable'\n})\nexport class FanMapToIterable implements PipeTransform {\n transform(value: any, args?: any[]): Object[] {\n const returnArray = [];\n value.forEach((entryVal: Array, entryKey: string) => {\n returnArray.push({\n key: entryKey,\n val: entryVal\n });\n });\n return returnArray;\n }\n}\n","export * from './manage-licenses.component';\nexport * from './shared';\nexport * from './pipe.component';\nexport * from './fan-pipe.component';\nexport * from './manage-licenses.config';\n\n\n\n\n\n\n\n","import { LicenseProductDetailsModel } from 'lib/ng2-sapmp/src/ui-components/licenses-card/license-product-detail.model';\nimport { LicenseDetailsModel } from 'lib/ng2-sapmp/src/ui-components/licenses-card/license-details.model';\nimport { Component, OnInit, OnDestroy, Pipe, PipeTransform, ViewChild } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { FormGroup, Validators, FormBuilder, FormControl } from '@angular/forms';\nimport { Router } from '@angular/router';\nimport { HttpClient } from '@angular/common/http';\nimport { AuthenticationService, UtilityService } from 'lib/ng2-sapmp/src/providers';\nimport {\n LicensesListModel, LicensesCardModel, ProductManagementModel,\n ProductManagementFanModel, ProductManagementLicenseModel,\n ManageProductRequest\n} from './shared';\nimport { BreadCrumbModel, BreadCrumbService } from 'lib/ng2-sapmp/src/ui-components/breadcrumb';\nimport { BREADCRUMBS } from 'config';\nimport { ManageLicensesService } from './shared';\nimport { UserWizardService, ValidationService, AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';\nimport { UserProfileModel, UserWizardModel } from 'lib/ng2-sapmp/src/models';\nimport { FetchCriteriaModel } from 'lib/ng2-sapmp/src/ui-components/custom-grid';\nimport { PageLoaderService } from 'lib/ng2-sapmp/src/ui-components/page-loader';\nimport { MobilePivotModel } from 'lib/ng2-sapmp/src/ui-components/mobile-pivot/mobile-pivot.model';\nimport { HeaderService } from './../header/header.service';\n\nexport const ESCAPE_KEY = 27;\ndeclare var logoutCurrentUser: any;\ndeclare var initAriaHidden: any;\ndeclare var removeAriaHidden: any;\ndeclare var ENV_PORTAL: any;\nconst ENV_PORTAL_DOMAIN: any = (ENV_PORTAL === 'fnabc') ? 'FN' : 'ABC';\n\n@Component({\n selector: 'app-manage-products',\n providers: [ManageLicensesService, ValidationService], // utilityService is provided in app component already\n templateUrl: './manage-licenses.component.html',\n styleUrls: ['./manage-licenses.component.scss']\n})\nexport class ManageLicensesComponent implements OnInit, OnDestroy {\n\n portal: string = ENV_PORTAL;\n licenseArray: any = {};\n licensesList: LicensesListModel;\n columnCount: string;\n breadCrumbs: BreadCrumbModel[];\n singlelicense: LicenseDetailsModel;\n licenseProducts: Array;\n licenseProduct: LicensesCardModel;\n nextlicenseProducts: Array;\n nextlicenseProduct: LicensesCardModel;\n multipleUserLink: string;\n buyUnderCtn: string;\n userWizardModel: UserWizardModel;\n user: UserProfileModel;\n fanlist: Set;\n rowCount: number;\n cardCount: number;\n productManagementModel: Array;\n productManagementFanModel: ProductManagementFanModel;\n managementFanModel: ProductManagementFanModel;\n productManagementLicenseModel: ProductManagementLicenseModel;\n fanArray: Array;\n licenseMap: Map>>;\n fanMap: Map>;\n manageLicenseError = '';\n companyNotFound = false;\n reviewComponentSuccessMessageFlag = false;\n reviewComponentSuccessMessage: string;\n manageProductRequest: ManageProductRequest;\n startIndex = 0;\n totalRecords = 0;\n recordsPerPage = 6;\n manageLicenseInfo = '';\n fetchCriteriaModel: FetchCriteriaModel;\n pivots: Array;\n licenseFlag: boolean;\n focusabbleElements: any;\n csrPermissionLicenseCardAssignButton: boolean;\n assignProductFlag: boolean;\n editNameFlag: boolean;\n licenseForm: FormGroup;\n modalClass: String;\n modalCoverClass = 'scrollcontent';\n @ViewChild('assign') assignElement;\n formErrors = {\n 'productName': ''\n };\n\n validationMessages = {\n 'productName': {\n 'required': 'Enter a license group name, or click Cancel.',\n 'pattern': 'Enter a valid license group name, or click Cancel.'\n }\n };\n eventEmitter: any;\n\n constructor(private router: Router,\n private authenticationService: AuthenticationService,\n private manageLicensesService: ManageLicensesService,\n private utilityService: UtilityService,\n private http: HttpClient, private userWizardService: UserWizardService,\n private validationService: ValidationService,\n private formBuilder: FormBuilder,\n private breadCrumbService: BreadCrumbService,\n private pageloaderService: PageLoaderService,\n private adobeAnalyticsService: AdobeAnalyticsService, private headerService: HeaderService) {\n this.reviewComponentSuccessMessageFlag = false;\n this.licenseProducts = [];\n this.multipleUserLink = 'manage.multipleuserlink';\n this.buyUnderCtn = 'manage.buyunderctn';\n this.userWizardModel = new UserWizardModel();\n this.user = new UserProfileModel();\n this.manageProductRequest = new ManageProductRequest();\n // this.manageProductRequest.brokerAccountClientIds = [];\n this.fetchCriteriaModel = new FetchCriteriaModel();\n this.pivots = new Array();\n this.rowCount = 0;\n this.cardCount = 0;\n this.userWizardService.removeAssignOrUnassignWizard();\n this.csrPermissionLicenseCardAssignButton = this.utilityService.checkFieldPermission('licenseCard.assign',\n JSON.parse(sessionStorage.getItem('permissions')).perm);\n this.licenseFlag = false;\n }\n\n ngOnInit() {\n this.headerService.setCondensedFooterStatus(false);\n this.headerService.condensedHeader('manage');\n if (this.authenticationService.getUser() === null) {\n // this.router.navigate(['login']);\n window.location.href = '/businessconsole/login';\n }\n // document.title = 'AT&T Business Console - Manage products';\n document.title = this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url];\n this.authenticationService.setLoginSuccessUrl(this.router.routerState.snapshot.url);\n this.pivots.push({ label: 'Console dashboard', routerLink: '/dashboard' });\n\n this.user = this.authenticationService.getUser();\n this.clearGlobalData();\n this.getManageLicenseData();\n this.manageLicensesService.createPageLoadProperties(this.router.routerState.snapshot.url, 'Manage');\n sessionStorage.removeItem('dataForBackInit');\n sessionStorage.removeItem('mappingFanData');\n this.buildForm();\n };\n\n getManageLicenseData() {\n this.fetchCriteriaModel.limit = this.recordsPerPage;\n this.fetchCriteriaModel.offset = this.startIndex;\n this.fetchCriteriaModel.sortDir = 'ASC';\n this.fetchCriteriaModel.sortField = 'serviceOfferingNameClientIdNum';\n this.manageProductRequest.fetchCriteria = this.fetchCriteriaModel;\n // commenting brokerAccountClientIds for license all page as we need to list all products under company\n // even if the fan is not in profile\n\n // if (!!this.user.fanList && this.user.fanList.length > 0) {\n // this.manageProductRequest.brokerAccountClientIds = this.user.fanList;\n // } else {\n // this.manageProductRequest.brokerAccountClientIds = [];\n // }\n this.manageProductRequest.serviceStatus = 'ACTIVE';\n let fanFlag = 0;\n this.pageloaderService.setPageLoaderStatus(false);\n this.manageLicensesService.managelicenses(this.utilityService.getEnvConfig().manageLicensesUrl, this.manageProductRequest,\n this.user.companyId)\n .subscribe(respobj => {\n if ((this.breadCrumbService.getSource() === 'managedashboard')) {\n this.breadCrumbService.setStaticBreadCrumbs('/managedashboard');\n } else if ((this.breadCrumbService.getSource() === 'manageshop')) {\n this.breadCrumbService.setStaticBreadCrumbsFromSession();\n } else {\n this.breadCrumbService.setStaticBreadCrumbs(this.router.routerState.snapshot.url);\n }\n this.breadCrumbService.setCurrentBreadCrumb({ label: 'Manage products', routerLink: '/manage' });\n\n this.reviewSuccess();\n this.clearGlobalData();\n this.licensesList = respobj;\n if (!!this.licensesList.dataJson) {\n this.totalRecords = this.licensesList.totalLength;\n for (const object of this.licensesList.dataJson) {\n fanFlag = 0;\n if (this.productManagementLicenseModel.licenseMap.has(object.serviceOfferingName)) {\n this.productManagementFanModel.fanMap = this.productManagementLicenseModel.licenseMap.get(object.serviceOfferingName);\n this.productManagementFanModel.fanMap.forEach((value, key) => {\n if (object.brokerAccountClientId === key) {\n fanFlag = 1;\n this.productManagementModel = value;\n const card = this.buildCard(object);\n this.productManagementModel.push(card);\n this.productManagementFanModel.fanMap.set(key, this.productManagementModel);\n }\n });\n if (fanFlag === 0) {\n const fanMap = new Map>();\n const cardArray = new Array();\n const card = this.buildCard(object);\n cardArray.push(card);\n this.productManagementFanModel.fanMap.set(object.brokerAccountClientId, cardArray);\n }\n } else {\n const key = object.serviceOfferingName;\n const fanMap = new Map>();\n const cardArray = new Array();\n const card = this.buildCard(object);\n cardArray.push(card);\n fanMap.set(object.brokerAccountClientId, cardArray);\n this.productManagementLicenseModel.licenseMap.set(object.serviceOfferingName, fanMap);\n }\n }\n for (const object of this.licensesList.dataJson) {\n if (ENV_PORTAL_DOMAIN !== object.fanType) {\n this.licenseArray[object.brokerAccountClientId] = true;\n }\n }\n this.licenseMap = this.productManagementLicenseModel.licenseMap;\n this.reviewSuccess();\n } else {\n this.manageLicenseInfo = 'You don\\'t have any products. Shop for products you can add';\n this.utilityService.loadFocusOnTop();\n }\n this.pageloaderService.setPageLoaderStatus(true);\n\n }, error => {\n this.adobeAnalyticsService.CreateSeriveAlertProperties(error.status, error.statusText, 'formResponse');\n this.pageloaderService.setPageLoaderStatus(true);\n if (error.status === 401) {\n this.manageLicenseError = 'Session Expired. Please login again';\n logoutCurrentUser(true);\n } else if (error.status === 400 && JSON.stringify(error.error[0]).indexOf('COMPANY_NOT_FOUND') !== -1) {\n this.breadCrumbService.setCurrentBreadCrumb({ label: 'Manage products', routerLink: '/manage' });\n this.companyNotFound = true;\n } else {\n this.manageLicenseError = 'Some error occurred. Please try after some time.';\n }\n this.utilityService.loadFocusOnTop();\n this.handleError(error);\n });\n // Dynamic column values settings.\n };\n\n\n handleError(error) {\n throw error;\n }\n\n ngOnDestroy() {\n this.pageloaderService.setPageLoaderStatus(true);\n }\n\n clearGlobalData() {\n this.productManagementLicenseModel = new ProductManagementLicenseModel();\n this.productManagementFanModel = new ProductManagementFanModel();\n this.productManagementLicenseModel.licenseMap = new Map>>();\n this.productManagementFanModel.fanMap = new Map>();\n this.licenseMap = new Map>>();\n this.fanMap = new Map>();\n this.managementFanModel = new ProductManagementFanModel();\n this.productManagementModel = [];\n this.fanlist = new Set();\n this.fanArray = new Array();\n this.nextlicenseProducts = [];\n }\n\n assignUnassignWizard() {\n this.userWizardModel.previousUrl = '/manage';\n this.userWizardService.addAssignOrUnassignWizard(this.userWizardModel);\n this.router.navigate(['/manageUsers']);\n }\n\n buildCard(cardObject) {\n const card = new ProductManagementModel();\n card.billingClientId = cardObject.billingClientId;\n card.brokerAccountClientId = cardObject.brokerAccountClientId;\n card.clientId = cardObject.clientId;\n card.quantity = cardObject.quantity;\n card.isSingleQuantity = cardObject.isSingleQuantity;\n card.specName = cardObject.serviceOfferingName;\n card.serviceOfferCode = cardObject.serviceOfferingCode;\n card.totalLicensesInUse = cardObject.totalLicensesInUse;\n card.class = cardObject.class;\n card.fanType = cardObject.fanType;\n card.productDesc = (!!cardObject.name && cardObject.name !== null\n && cardObject.name.length > 0) ? cardObject.name : null;\n\n return card;\n }\n\n onPageChange(startIndex) {\n this.startIndex = startIndex;\n this.getManageLicenseData();\n }\n\n reviewSuccess() {\n if ((sessionStorage.getItem('previousRoute') === '/manageUsers/review') && (this.utilityService.getSuccessMessage() != null)) {\n this.reviewComponentSuccessMessageFlag = true;\n this.reviewComponentSuccessMessage = this.utilityService.getSuccessMessage();\n this.utilityService.loadFocusOnTop();\n } else {\n this.reviewComponentSuccessMessageFlag = false;\n }\n }\n\n // setting data for fan details retrive at license buy product page\n buyUnderDiffCTn(licenseMap) {\n let serviceCode: string;\n let license: any;\n const licenseVal = licenseMap.val;\n if (sessionStorage.getItem('mappingFanData') !== undefined) {\n sessionStorage.removeItem('mappingFanData');\n }\n licenseVal.forEach((entryVal: Array, entryKey: string) => {\n serviceCode = entryVal[0].serviceOfferCode;\n });\n\n license = { 'key': licenseMap.key, 'serviceOfferCode': serviceCode };\n sessionStorage.setItem('mappingFanData', JSON.stringify(license));\n this.utilityService.setSuccessMessage(null);\n this.router.navigate(['/licensesBuyProduct']);\n }\n\n reviewComponentSuccessMessageFlagValue(flag: boolean) {\n this.reviewComponentSuccessMessageFlag = flag;\n }\n\n showEditAssignModelPopUp(popupObject: any) {\n this.licenseFlag = popupObject.licenseFlag;\n this.assignProductFlag = popupObject.assignProductFlag;\n this.editNameFlag = popupObject.editNameFlag;\n this.singlelicense = popupObject.singlelicense;\n this.modalClass = 'modal-lg';\n this.eventEmitter = popupObject.formEventEmitter;\n this.loadFocustelements();\n }\n\n assignButton(event) {\n this.singlelicense.productDesc = this.licenseForm.get('productName').value;\n this.reviewComponentSuccessMessageFlagValue(false);\n this.cancel(event);\n this.manageLicensesService.setUpdateProduct(this.utilityService.getEnvConfig().setUpdateUrl, this.singlelicense)\n .subscribe(response => {\n }, error => {\n this.handleError(error);\n });\n }\n\n cancel(event) {\n this.licenseFlag = false;\n this.assignProductFlag = false;\n this.editNameFlag = false;\n document.body.classList.remove('modal-open');\n removeAriaHidden();\n this.licenseForm.reset();\n this.btnAction();\n this.reviewComponentSuccessMessageFlagValue(false);\n }\n\n btnAction() {\n this.focusabbleElements = undefined;\n if (this.eventEmitter.target) {\n this.eventEmitter.target.focus();\n }\n }\n\n loadFocustelements() {\n if (this.licenseFlag) {\n document.body.classList.add('modal-open');\n initAriaHidden();\n if (!this.focusabbleElements) {\n setTimeout(() => {\n const focusableEls = this.utilityService.getFocusableElements(this.assignElement);\n this.focusabbleElements = Array.prototype.slice.call(focusableEls);\n this.focusabbleElements[0].focus();\n });\n }\n }\n }\n\n buildForm() {\n this.licenseForm = this.formBuilder.group({\n productName: ['', [Validators.required, Validators.pattern(/(?!^\\s+$)^.+$/)]]\n });\n\n this.validationService.validate(\n this.licenseForm,\n this.formErrors,\n this.validationMessages);\n }\n\n handleKeydown(event) {\n if (event.keyCode === ESCAPE_KEY) {\n this.btnAction();\n return;\n }\n this.utilityService.handleKeyPress(event, this.focusabbleElements);\n }\n\n}\n\n","
\r\n
\r\n

Manage products

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

Something isn't working

\r\n

{{manageLicenseError}}

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

{{manageLicenseInfo}}

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

No company found. Please place an order to manage products.

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

Success

\r\n

{{reviewComponentSuccessMessage}}

\r\n
\r\n
\r\n
\r\n
0\">\r\n
\r\n Assign multiple products to a user\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

{{license.key}}

\r\n\t \r\n\t
\r\n\t\t
\r\n\t\t \r\n\t\t Bill to a different wireless number \r\n\t\t \r\n\t\t
\r\n\t
\r\n\t\r\n
\r\n

Foundation account: {{fanMap.key}}

\r\n\t\t\r\n\t\t\r\n\r\n
\r\n
Another administrator in your organization has already purchased this product. However, the licenses are managed\r\n under an account you don't have access to. To use this product, you must purchase licenses and bill them to an\r\n account you manage.
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
0\" class=\"row pagination\">\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n

\r\n Assign a name\r\n Change license group name\r\n

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

{{singlelicense?.specName}}

\r\n
\r\n
Foundation account: {{singlelicense?.brokerAccountClientId}}
\r\n

Wireless number: {{singlelicense?.billingClientId}}

\r\n
\r\n \r\n \r\n
\r\n
\r\n
Current license group name: {{singlelicense?.productDesc}}
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n {{formErrors.productName}}\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","export const CONTENT_TYPE = 'application/json';\nexport const SORT_DIRECTION = 'ASC';\nexport const SORT_FIELD = 'serviceOfferCode';\n","import { Component, OnInit, OnDestroy, Pipe, PipeTransform } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { ProductManagementModel } from './shared';\n\n\n@Pipe({\n name: 'mapToIterable'\n})\nexport class MapToIterable implements PipeTransform {\n transform(value: any, args?: any[]): Object[] {\n const returnArray = [];\n value.forEach((entryVal: Map>, entryKey: string) => {\n returnArray.push({\n key: entryKey,\n val: entryVal\n });\n });\n return returnArray;\n }\n}\n","export * from './providers';\nexport * from './model';\n","export * from './manage-licenses-list.model';\nexport * from './licenses-card.model';\nexport * from './product-management.model';\nexport * from './product-management-fan.model';\nexport * from './product-management-license.model';\nexport * from './manage-product-request.model'\n\n","\nexport class LicensesCardModel {\n class: string;\n id: number;\n optimistic: string;\n modifiedon: number;\n lazyProperties: string;\n effectiveStatus: string;\n spCode: string;\n extID: string;\n createdOn: number;\n clientId: string;\n type: string;\n customerAccountID: number;\n customerAccountName: string;\n specExtID: string;\n brokerAccountClientId: string;\n billingClientId: string;\n serviceOfferCode: string;\n serviceOfferingName: string;\n specName: string;\n attributes: Array;\n status: string;\n features: Array;\n subscriptionId: string;\n quantity: number;\n totalLicensesInUse: number;\n name: string;\n useLicenseManagement: boolean;\n provisionStatus: string;\n fanType: string;\n\n constructor() {\n this.class = undefined;\n this.id = undefined;\n this.optimistic = undefined;\n this.modifiedon = undefined;\n this.lazyProperties = undefined;\n this.effectiveStatus = undefined;\n this.spCode = undefined;\n this.extID = undefined;\n this.createdOn = undefined;\n this.clientId = undefined;\n this.type = undefined;\n this.customerAccountID = undefined;\n this.customerAccountName = undefined;\n this.specExtID = undefined;\n this.brokerAccountClientId = undefined;\n this.billingClientId = undefined;\n this.serviceOfferCode = undefined;\n this.specName = undefined;\n this.attributes = undefined;\n this.status = undefined;\n this.features = undefined;\n this.subscriptionId = undefined;\n this.quantity = undefined;\n this.totalLicensesInUse = undefined;\n this.name = undefined;\n this.useLicenseManagement = undefined;\n this.provisionStatus = undefined;\n this.serviceOfferingName = undefined;\n this.fanType = undefined;\n }\n}\n","import { LicensesCardModel } from './licenses-card.model';\n\nexport class LicensesListModel {\n class: string;\n dataJson: LicensesCardModel[];\n offset: number;\n totalLength: number;\n\n constructor() {\n this.class = undefined;\n this.dataJson = undefined;\n this.offset = undefined;\n this.totalLength = undefined;\n }\n}\n","import { FetchCriteriaModel } from 'lib/ng2-sapmp/src/ui-components/custom-grid';\nexport class ManageProductRequest {\n fetchCriteria: FetchCriteriaModel;\n // brokerAccountClientIds: Array;\n serviceStatus: string;\n\n constructor() {\n this.fetchCriteria = undefined;\n // this.brokerAccountClientIds = undefined;\n this.serviceStatus = undefined;\n }\n}\n","import { ProductManagementModel } from './product-management.model';\n\nexport class ProductManagementFanModel {\n\n fanMap: Map>;\n\n constructor() {\n this.fanMap = undefined;\n }\n}\n","import { ProductManagementModel } from './product-management.model';\n\nexport class ProductManagementLicenseModel {\n licenseMap: Map>>;\n\n constructor() {\n this.licenseMap = undefined;\n }\n}\n","export class ProductManagementModel {\n clientId: string;\n brokerAccountClientId: string;\n billingClientId: string;\n serviceOfferCode: string;\n specName: string;\n quantity: number;\n totalLicensesInUse: number;\n productDesc: string;\n class: string;\n fanType: string;\n isSingleQuantity: string;\n\n constructor() {\n this.clientId = undefined;\n this.brokerAccountClientId = undefined;\n this.billingClientId = undefined;\n this.serviceOfferCode = undefined;\n this.quantity = undefined;\n this.specName = undefined;\n this.totalLicensesInUse = undefined;\n this.productDesc = undefined;\n this.class = undefined;\n this.fanType = undefined;\n this.isSingleQuantity = undefined;\n }\n}\n","export * from './manage-licenses.service';\n","import { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { throwError } from 'rxjs';\nimport { HttpClient, HttpResponse, HttpHeaders } from '@angular/common/http';\nimport { HttpClientService, AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';\nimport { ANALYTICS_CONSTANTS } from 'config';\ndeclare var ENV_PORTAL;\n@Injectable()\nexport class ManageLicensesService {\n\n constructor(private http: HttpClient, private httpClientService: HttpClientService,\n private adobeAnalyticsService: AdobeAnalyticsService) { }\n\n managelicenses(manageLicensesUrl, data, companyId) {\n manageLicensesUrl = this.httpClientService.replaceTextInUrl('{companyid}', companyId, manageLicensesUrl);\n return this.httpClientService.authorizedPut(manageLicensesUrl, data)\n .pipe(\n map((res: HttpResponse) => {\n this.httpClientService.updateAuthorizationHeaders(res);\n return res.body;\n })\n ,catchError( this.handleError ));\n }\n\n handleError = (error) => {\n return throwError(error);\n }\n\n createPageLoadProperties(url: string, manageTitle: string) {\n const dataLayer = {};\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FRIENDLY_PAGE_NAME] = ANALYTICS_CONSTANTS.FRIENDLY_NAME_MANAGE;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FLOW_CODE] = ANALYTICS_CONSTANTS.FLOW_CODE_MANAGE_USERS;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_LANGUAGE] = 'EN';\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_LOGIN_SOURCE] = 'home';\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_PAGE_FUNCTION] = 'Service';\n if (ENV_PORTAL === 'fnabc') {\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_FIRSTNET_FLAG] = ANALYTICS_CONSTANTS.EVENTS_SUCCESSFLAG_1;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_FIRST_NET_USER_ROLE] = ANALYTICS_CONSTANTS.GLOBAL_USER_FIRST_NET_USER_ROLE_VALUE;\n }\n this.adobeAnalyticsService.tag('page', dataLayer, 'Page_Load', 'pageLoad');\n }\n\n setUpdateProduct(url, data) {\n let headers = new HttpHeaders();\n headers = headers.append('PermType', 'inventory.productDescription');\n const descObj = {};\n descObj['name'] = data.productDesc;\n const newUrl = url + data.clientId;\n return this.httpClientService.authorizedPatch(newUrl, descObj, headers)\n .pipe(\n map((res: HttpResponse) => {\n this.httpClientService.updateAuthorizationHeaders(res);\n }\n ),catchError( this.handleError ));\n }\n\n}\n","import { Component, OnInit, OnDestroy } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { PageLoaderService } from 'lib/ng2-sapmp/src/ui-components';\nimport { BreadCrumbService } from 'lib/ng2-sapmp/src/ui-components/breadcrumb';\nimport { UserProfileModel } from 'lib/ng2-sapmp/src/models';\nimport { UserListService } from '../shared/providers/userList.service';\nimport { ReviewOrderProductModel } from '../review-order-product';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { LicensePricingService, AdobeAnalyticsService, AuthenticationService, UtilityService } from 'lib/ng2-sapmp/src/providers';\nimport { ANALYTICS_CONSTANTS } from 'config';\nimport { MobilePivotModel } from 'lib/ng2-sapmp/src/ui-components/mobile-pivot/mobile-pivot.model';\ndeclare var logoutCurrentUser: any;\ndeclare var ENV_PORTAL;\n@Component({\n selector: 'app-cancel-product',\n templateUrl: './cancel-product.component.html',\n providers: [UserListService, LicensePricingService, AdobeAnalyticsService],\n styleUrls: ['./cancel-product.component.scss'],\n})\nexport class CancelProductComponent implements OnInit, OnDestroy {\n\n cancelProductDetail: any = null;\n quantity: number;\n unitPrice: number;\n totalPrice: number;\n user: UserProfileModel;\n errorMessage: string;\n reviewModel: ReviewOrderProductModel;\n subscriptionId: string;\n pivots: Array;\n impoErr = false;\n billingClientId: string;\n constructor(private pageloaderService: PageLoaderService, private breadCrumbService: BreadCrumbService,\n private userListService: UserListService, private router: Router, private licensePricingService: LicensePricingService,\n private adobeAnalyticsService: AdobeAnalyticsService, private authenticationService: AuthenticationService,\n private utilityService: UtilityService, private activatedRoute: ActivatedRoute) {\n this.pivots = new Array();\n\n }\n\n ngOnInit() {\n this.pivots.push({ label: 'Manage Products', routerLink: '/manage' });\n this.pivots.push({ label: 'Console dashboard', routerLink: '/dashboard' });\n this.authenticationService.setLoginSuccessUrl(this.router.routerState.snapshot.url);\n if (sessionStorage.getItem('singleUserDetail') === null) {\n this.router.navigate(['/home']);\n } else {\n this.pageloaderService.setPageLoaderStatus(false);\n document.body.classList.add('manageproduct-page');\n document.title = this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url];\n this.user = JSON.parse(sessionStorage.getItem('user')).user;\n this.breadCrumbService.setCurrentBreadCrumb({ label: 'Remove all licenses', routerLink: this.router.routerState.snapshot.url });\n this.cancelProductDetail = JSON.parse(sessionStorage.getItem('singleUserDetail'));\n this.billingClientId = this.utilityService.formatTelephoneNumber(this.cancelProductDetail.billingClientId);\n const requestObject = {};\n requestObject['credentialType'] = 'MOBILEIDENTIFIER';\n requestObject['credentialId'] = this.cancelProductDetail.billingClientId;\n requestObject['dcmCode'] = this.cancelProductDetail.serviceOfferCode;\n this.licensePricingService.getPricingForOwenedQty(requestObject).subscribe(response => {\n this.impoErr = false;\n if (response) {\n console.log(this.cancelProductDetail.quantity);\n this.unitPrice = Number(response.unitPrice);\n this.quantity = Number(response.quantity);\n this.totalPrice = Number(response.totalPrice);\n this.subscriptionId = response.purchaseIdentifier;\n if (response.quantity === this.cancelProductDetail.quantity) {\n this.errorMessage = '';\n } else {\n this.impoErr = true;\n // tslint:disable-next-line:max-line-length\n this.errorMessage = `

We were unable to process your request to product licenses. If you need help, call 866.241.6568 (TTY: 866.241.6567) Monday - Friday, 7 a.m. - 9 p.m. ET. Or you can chat with an expert during weekday calling hours, and from 8 a.m. - 5 p.m. ET on Saturday and Sunday

`;\n }\n }\n this.pageloaderService.setPageLoaderStatus(true);\n }, error => {\n this.impoErr = true;\n this.pageloaderService.setPageLoaderStatus(true);\n this.adobeAnalyticsService.CreateSeriveAlertProperties(error.status, error.statusText, 'formResponse');\n this.handleError(error);\n });\n this.createPageLoadProperties(this.cancelProductDetail.serviceOfferCode,\n this.router.routerState.snapshot.url,\n 'Manage Product Cancel');\n }\n }\n\n // Page Load\n createPageLoadProperties(dcmcode, url: string, title: string) {\n const dataLayer = {};\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FRIENDLY_PAGE_NAME] = ANALYTICS_CONSTANTS.FRIENDLY_NAME_MANAGE_CANCEL;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FLOW_CODE] = ANALYTICS_CONSTANTS.FLOW_CODE_LICENSE_MANAGEMNET_REMOVE;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_LANGUAGE] = 'EN';\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_SKU] = dcmcode;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_LOGIN_SOURCE] = 'shoplogin';\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_PAGE_FUNCTION] = 'Service';\n if (ENV_PORTAL === 'fnabc') {\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_FIRSTNET_FLAG] = ANALYTICS_CONSTANTS.EVENTS_SUCCESSFLAG_1;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_FIRST_NET_USER_ROLE] = ANALYTICS_CONSTANTS.GLOBAL_USER_FIRST_NET_USER_ROLE_VALUE;\n }\n this.adobeAnalyticsService.tag('page', dataLayer, 'Page_Load', 'pageLoad');\n }\n\n private handleError(error) {\n if (error) {\n if (error.status === 401) {\n this.errorMessage = 'Session expired. Please login again.';\n logoutCurrentUser(true);\n } else if (error.status === 400) {\n if (error.error[0]) {\n this.errorMessage = JSON.stringify(error.error[0]);\n } else if (error.error) {\n this.errorMessage = error.error;\n } else {\n this.errorMessage = 'Can not add more than max-qty';\n }\n } else {\n this.errorMessage = 'We couldn\\'t complete your request. Please try again later.';\n }\n this.utilityService.loadFocusOnTop();\n } else {\n throw error;\n }\n }\n\n private goToReviewOrderPage() {\n this.reviewModel = new ReviewOrderProductModel();\n this.reviewModel.product = this.cancelProductDetail.specName;\n this.reviewModel.fan = this.cancelProductDetail.brokerAccountClientId;\n this.reviewModel.ctn = this.billingClientId;\n this.reviewModel.description = this.cancelProductDetail.productDesc;\n this.reviewModel.initialLicense = this.quantity;\n this.reviewModel.modifiedLicense = this.quantity;\n this.reviewModel.initialAmount = this.totalPrice;\n this.reviewModel.modifiedAmount = - this.totalPrice;\n this.reviewModel.unitPrice = this.unitPrice;\n this.reviewModel.initialUnitPrice = this.unitPrice;\n this.reviewModel.totalAmount = 0.00;\n this.reviewModel.serviceOfferCode = this.cancelProductDetail.serviceOfferCode;\n this.reviewModel.subscriptionId = this.subscriptionId;\n this.reviewModel.type = 'RemoveAll';\n this.reviewModel.backUrl = '/manageProduct/cancel-product';\n sessionStorage.setItem('reviewModel', JSON.stringify(this.reviewModel));\n this.router.navigate(['/manageProduct/revieworderproduct']);\n }\n\n private cancel() {\n this.router.navigate(['/manageProduct'], { relativeTo: this.activatedRoute });\n }\n\n ngOnDestroy() {\n this.pageloaderService.setPageLoaderStatus(true);\n }\n}\n","
\n

Remove all licenses

\n
\n
\n
\n \n
\n
\n

Something isn't working

\n

\n
\n
\n
\n
\n
Selected product:
\n
{{cancelProductDetail.specName}}
\n
Foundation account: {{cancelProductDetail.brokerAccountClientId}}
\n
Wireless number: {{billingClientId}}
\n
{{cancelProductDetail.productDesc}}
\n
\n
\n
\n \n
\n
\n

By removing all licenses from users, you are canceling this product. Users will no longer be able to access this product.

\n
\n
\n
\n
\n
\n
\n You currently have\n
{{quantity}} 1)? 'licenses':'license'\"> @ {{ unitPrice |currency:'USD':true:'1.0-0'}}\n per month
\n
\n
\n
\n
{{ totalPrice |currency:'USD':true:'1.2-3'}}
\n
Per month
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n Remove all licenses\n
\n
\n
\n
-{{ totalPrice |currency:'USD':true:'1.2-3'}}
\n
Per month
\n
\n
\n
\n
\n
\n
\n
\n
\n

Total charges*

\n
\n
\n
\n

$0.00

\n

Per month

\n
\n
\n
\n
\n * All prices exclude applicable taxes, fees and surcharges.\n
\n
\n \n Cancel\n
\n
\n","export * from './cancel-product.component';\n","export * from './manage-product.component';\nexport * from './modify-license';\nexport * from './cancel-product';\nexport * from './review-order-product';\n","import { KEY_CONFIG } from 'lib/ng2-sapmp/src/config/key-config';\nimport { Component, OnInit, OnDestroy, ElementRef, ViewChild } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { UtilityService, UserWizardService, ValidationService } from 'lib/ng2-sapmp/src/providers';\nimport {\n GridOptionsModel, ColumnDefinitionsModel,\n PaginationsModel, FetchCriteriaModel\n} from 'lib/ng2-sapmp/src/ui-components/custom-grid';\nimport { GridFetchModel } from './../../models/grid/grid-fetch.model';\nimport { UserListService } from './shared/providers/userList.service';\nimport { Router } from '@angular/router';\nimport { HttpClient } from '@angular/common/http';\nimport { UserWizardModel, UserProfileModel } from 'lib/ng2-sapmp/src/models';\nimport { AuthenticationService, AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';\nimport { BREADCRUMBS } from 'config';\nimport { FormGroup, Validators, FormBuilder, FormControl } from '@angular/forms';\nimport { BreadCrumbModel, BreadCrumbService } from 'lib/ng2-sapmp/src/ui-components/breadcrumb';\nimport {\n USER_PRODUCT_CLASS, USER_PRODUCT_FETCH, USER_PRODUCT_LICENSEDATA,\n USER_PRODUCT_PROVISIONSTATUS, USER_PRODUCT_SEARCH_CLASS\n} from './manage-product.config';\nimport { ConfirmModalPopupModel } from 'lib/ng2-sapmp/src/ui-components/confirm-modal';\nimport { ManageUserModel } from './manage-user.model';\n\nimport { PageLoaderService } from 'lib/ng2-sapmp/src/ui-components/page-loader';\nimport { MobilePivotModel } from 'lib/ng2-sapmp/src/ui-components/mobile-pivot/mobile-pivot.model';\n\ndeclare var ENV_VAR: any; // global variable set in env.js file, imported in index.html\ndeclare var logoutCurrentUser: any;\n\ndeclare var initAriaHidden: any;\ndeclare var removeAriaHidden: any;\n\n@Component({\n selector: 'app-manage-product',\n providers: [UserListService, ValidationService, AdobeAnalyticsService],\n templateUrl: './manage-product.component.html',\n styleUrls: ['./manage-product.component.scss']\n})\nexport class ManageProductComponent implements OnInit, OnDestroy {\n rowUser: ManageUserModel;\n modalClass: string;\n eventEmit: any;\n unAssignPopup: boolean;\n totalLicenses: any;\n licensesAssigned: any;\n leftLabel: any;\n rightLabel: any;\n singleUserDetail: any = null;\n licenseForm: FormGroup;\n breadCrumbs: BreadCrumbModel[];\n productId: string;\n fan: string;\n ctn: string;\n productDescription: string;\n singleBreadCrumb: BreadCrumbModel;\n gridOptions: GridOptionsModel;\n alterLicense: string;\n createUser: string;\n focusabbleElements: any;\n ufocusabbleElements: any;\n assignUnassign: string;\n changeProduct: string;\n editNameFlag: boolean;\n popUpFlag: boolean;\n assignProductFlag: boolean;\n userWizardModel: UserWizardModel;\n gridfetchModel: GridFetchModel = new GridFetchModel();\n reviewComponentSuccessMessageFlag = false;\n reviewComponentSuccessMessage: string = undefined;\n serviceUrl: string;\n serviceClientId: string;\n singleQuantityInfo: boolean;\n user: UserProfileModel;\n errorMessage: string;\n dataFlag: boolean;\n dataerrorMessage: string;\n unAssignModalPopUpFlag; boolean;\n csrPermissionUnassignPopButton: boolean;\n pivots: Array;\n modalCoverClass = 'scrollcontent';\n\n @ViewChild('unAssign', { static: true }) unassignElement;\n @ViewChild('assignGroup', { static: true }) assignGroupElement;\n columnDefinitions: Array = [\n { caption: 'User', field: 'firstName', type: 'LINK', sortDirection: 'Default',\n enableSorting: true, enableFilter: true, cssClass: 'contentStyle', priority: 1 },\n { caption: 'Email', field: 'email', type: 'TEXT', enableSorting: false, enableFilter: false, priority: 3 },\n { caption: 'Action', field: 'licenseStatus', type: 'LINK', enableSorting: false, enableFilter: false, priority: 2 }\n\n ];\n startIndex = 0;\n paginations: PaginationsModel = { // ag4104 need to change after demo\n recordsPerPage: 20,\n currentPage: 1,\n totalRecords: 0,\n isServerSide: true\n };\n\n formErrors = {\n 'productName': ''\n };\n validationMessages = {\n 'productName': {\n 'required': 'Enter a license group name, or click Cancel.',\n 'pattern': 'Enter a valid license group name, or click Cancel.'\n }\n };\n\n @ViewChild('assign') assignElement;\n\n constructor(private router: Router,\n private userListService: UserListService,\n private utilityService: UtilityService,\n private formBuilder: FormBuilder,\n private el: ElementRef,\n private validationService: ValidationService,\n private http: HttpClient, private userWizardService: UserWizardService,\n private breadCrumbService: BreadCrumbService,\n private pageloaderService: PageLoaderService,\n private authenticationService: AuthenticationService,\n private adobeAnalyticsService: AdobeAnalyticsService) {\n this.userWizardService.removeAssignOrUnassignWizard();\n this.csrPermissionUnassignPopButton = this.utilityService.checkFieldPermission('singleProduct.unAssign',\n JSON.parse(sessionStorage.getItem('permissions')).perm);\n\n if (sessionStorage.getItem('singleUserDetail') === null) {\n this.router.navigate(['/home']);\n } else {\n this.user = this.authenticationService.getUser();\n this.customColumnDefinitions();\n this.getProductDetails();\n this.unAssignModalPopUpFlag = false;\n this.popUpFlag = false;\n this.singleQuantityInfo = false;\n this.assignProductFlag = false;\n this.editNameFlag = false;\n const fetchCriteria: FetchCriteriaModel = new FetchCriteriaModel();\n fetchCriteria.limit = this.paginations.recordsPerPage;\n fetchCriteria.offset = this.startIndex;\n fetchCriteria.sortDir = 'ASC';\n fetchCriteria.sortField = 'id';\n const gridfetchModel: GridFetchModel = new GridFetchModel();\n this.gridfetchModel.licenseStatus = 'ASSIGNED';\n this.gridfetchModel.serviceClientId = this.serviceClientId;\n this.gridfetchModel.fetchCriteria = fetchCriteria;\n this.serviceUrl = this.utilityService.getEnvConfig().productLicenseUrl + this.user.companyId + '/licenses';\n this.getData(this.gridfetchModel, this.serviceUrl);\n this.alterLicense = 'manageProduct.increase';\n this.createUser = 'manageProduct.createuser';\n this.assignUnassign = 'manageProduct.assignunassign';\n this.changeProduct = 'manageProduct.changeproduct';\n this.userWizardModel = new UserWizardModel();\n this.singleBreadCrumb = new BreadCrumbModel();\n this.unAssignPopup = false;\n this.dataFlag = false;\n this.pivots = new Array();\n }\n\n }\n\n customColumnDefinitions() {\n const permissions = JSON.parse(sessionStorage.getItem('permissions'));\n for (let i = 0; i < permissions.perm.length; i++) {\n if (permissions.perm[i].instance === 'manageProduct.action' && permissions.perm[i].action === 'hide') {\n this.columnDefinitions.splice(this.columnDefinitions.findIndex(x => x.field === 'licenseStatus'));\n }\n }\n }\n\n ngOnInit() {\n this.reviewComponentSuccessMessageFlag = false;\n this.reviewComponentSuccessMessage = null;\n this.unAssignModalPopUpFlag = false;\n this.pivots.push({ label: 'Console dashboard', routerLink: '/dashboard' });\n this.pivots.push({ label: 'Manage Products', routerLink: '/manage' });\n this.authenticationService.setLoginSuccessUrl(this.router.routerState.snapshot.url);\n if (sessionStorage.getItem('singleUserDetail') !== null) {\n this.leftLabel = 'Licenses assigned:';\n this.rightLabel = '';\n const isSingleQuantity = JSON.parse(sessionStorage.getItem('singleUserDetail'));\n this.singleQuantityInfo = isSingleQuantity.isSingleQuantity;\n console.log(this.singleQuantityInfo);\n document.body.classList.add('manageproduct-page');\n // document.title = 'AT&T Business Console - Manage Product';\n document.title = this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url];\n this.breadCrumbService.setCurrentBreadCrumb({ label: this.singleUserDetail.specName, routerLink: '/manageProduct' });\n this.buildForm();\n sessionStorage.removeItem('reviewModel');\n this.userListService.createPageLoadProperties([this.singleUserDetail.serviceOfferCode],\n this.router.routerState.snapshot.url,\n 'Manage Product');\n }\n }\n\n modifyLicense(state) {\n const singleProductInfo = JSON.parse(sessionStorage.getItem('singleUserDetail'));\n singleProductInfo.modifyType = state;\n delete singleProductInfo['enteredQty'];\n sessionStorage.setItem('singleUserDetail', JSON.stringify(singleProductInfo));\n this.router.navigate(['manageProduct/modifyLicense']);\n }\n\n getProductDetails() {\n this.singleUserDetail = JSON.parse(sessionStorage.getItem('singleUserDetail'));\n this.productId = this.singleUserDetail;\n this.fan = this.singleUserDetail.brokerAccountClientId;\n this.ctn = this.singleUserDetail.billingClientId;\n this.totalLicenses = this.singleUserDetail.quantity;\n this.licensesAssigned = this.singleUserDetail.totalLicensesInUse;\n this.serviceClientId = this.singleUserDetail.clientId;\n }\n\n getData(gridfetchModel: GridFetchModel, url: string) {\n this.pageloaderService.setPageLoaderStatus(false);\n this.userListService.userProductDetails\n (url, gridfetchModel).\n subscribe(respobj => {\n const options = new GridOptionsModel();\n const data = this.generateLicenseData(respobj);\n options.enableFiltering = true;\n options.enableSorting = true;\n options.gridData = data;\n options.columnDefinitions = this.columnDefinitions;\n options.enableSearchLimit = true;\n options.searchLimit = 3;\n options.enableBackLink = true;\n options.backLinkText = 'View all users';\n this.paginations.totalRecords = respobj.totalLength;\n if (!!!gridfetchModel.searchValue) {\n // Without filter,total records count assigned to licensesAssigned\n this.licensesAssigned = this.paginations.totalRecords;\n }\n options.Paginations = this.paginations;\n if (data.length <= 0) {\n options.showPaginationIndex = false;\n options.enableSorting = false;\n options.isEmptyMessageInRow = true;\n options.emptyMessage = 'No match found. Make sure to enter the exact name you\\'re looking for and try again.';\n }\n this.gridOptions = options;\n this.reviewSuccess();\n this.pageloaderService.setPageLoaderStatus(true);\n }, error => {\n this.pageloaderService.setPageLoaderStatus(true);\n this.adobeAnalyticsService.CreateSeriveAlertProperties(error.status, error.statusText, 'formResponse');\n this.handleError(error);\n });\n }\n\n generateLicenseData(data) {\n const licenseData = new Array();\n let obj: ManageUserModel;\n if (data && !!data.dataJson) {\n for (let i = 0; i < data.dataJson.length; i++) {\n obj = new ManageUserModel();\n // service\n if (!!data.dataJson[i].assignedToEmployeeClientId) {\n obj.firstName = data.dataJson[i].assignedToEmployeeFirstName + ' ' + data.dataJson[i].assignedToEmployeeLastName;\n obj.email = data.dataJson[i].assignedToEmployeeEmail;\n obj.id = data.dataJson[i].assignedToEmployeeClientId;\n obj.licenseClientId = data.dataJson[i].clientLicenseId;\n obj.licenseStatus = 'Un-assign';\n } else {\n obj.firstName = data.dataJson[i].firstName + ' ' + data.dataJson[i].lastName;\n obj.email = data.dataJson[i].email;\n obj.id = data.dataJson[i].clientId;\n obj.licenseStatus = 'Un-assign';\n }\n licenseData.push(obj);\n }\n }\n return licenseData;\n }\n\n linkActivated(data, focusable) {\n this.rowUser = data;\n if (!!data.selectedColumn && data.selectedColumn === 'firstName') {\n this.router.navigate(['user/summary/' + data.id]);\n }\n if (data.selectedColumn === 'licenseStatus') {\n this.unAssignPopup = true;\n this.modalClass = 'modal-lg';\n setTimeout(() => { document.getElementById('modalHeader').focus(); });\n }\n this.reviewComponentSuccessMessageFlag = false;\n return false;\n }\n\n\n handleError = (error, assignUnassignError?) => { // Arrow function is necessary as the context should be Parent class\n if (error) {\n this.reviewComponentSuccessMessageFlag = true;\n if (error.status === 401) {\n this.errorMessage = 'Session expired.Please login again.';\n logoutCurrentUser(true);\n } else if (assignUnassignError) {\n // tslint:disable-next-line:max-line-length\n this.errorMessage = 'We were unable to process your request to un-assign product licenses. If you need help, call 866.241.6568 (TTY: 866.241.6567) Monday - Friday, 7 a.m. - 9 p.m. ET. Or you can chat with an expert during weekday calling hours, and from 8 a.m. - 5 p.m. ET on Saturday and Sunday.';\n } else {\n this.errorMessage = 'We couldn\\'t complete your request. Please try again later.';\n }\n this.utilityService.loadFocusOnTop();\n } else {\n throw error;\n }\n }\n\n ngOnDestroy() {\n }\n\n private assignUnassignWizard() {\n this.userWizardModel.product = {};\n this.userWizardModel.source = 'product';\n this.userWizardModel.product.productName = this.singleUserDetail.specName;\n this.userWizardModel.product.fan = this.singleUserDetail.brokerAccountClientId;\n this.userWizardModel.product.ctn = this.singleUserDetail.billingClientId;\n this.userWizardModel.product.dcmCode = this.singleUserDetail.serviceOfferCode;\n this.userWizardModel.product.clientId = this.singleUserDetail.clientId;\n this.userWizardModel.product.licensegroupName = this.singleUserDetail.productDesc;\n this.userWizardModel.product.totalLicensesAvailable = this.totalLicenses - this.licensesAssigned;\n this.userWizardModel.product.totalLicensesInUse = this.licensesAssigned;\n this.userWizardModel.previousUrl = this.router.url;\n this.userWizardService.addAssignOrUnassignWizard(this.userWizardModel);\n this.router.navigate(['/manageUsers']);\n }\n\n\n\n\n\n updateUnAssignDetails(event) {\n this.reviewComponentSuccessMessageFlag = false;\n const reqObj = {};\n const items = {};\n items['action'] = 'UNASSIGN';\n items['employeeClientId'] = this.rowUser.id;\n items['serviceClientId'] = this.serviceClientId;\n items['licenseClientId'] = this.rowUser.licenseClientId;\n reqObj['items'] = [items];\n this.pageloaderService.setPageLoaderStatus(false);\n this.userListService.unAssignUser(this.utilityService.getEnvConfig().unAssignUrl, this.user.companyId, reqObj)\n .subscribe(response => {\n let respArray = [];\n respArray = response.items.filter(data => (!!data.statusInfo && data.statusInfo.status === 'COMPLETED'));\n if ((respArray.length === 0) && response.status !== 'COMPLETED') {\n this.pageloaderService.setPageLoaderStatus(true);\n this.unAssignModalPopUpFlag = false;\n this.reviewComponentSuccessMessage = null;\n this.handleError('error', true);\n } else {\n this.pageloaderService.setPageLoaderStatus(true);\n this.unAssignModalPopUpFlag = true;\n this.reviewComponentSuccessMessage = 'We\\'ve successfully un-assigned 1 of 1 licenses.';\n this.utilityService.loadFocusOnTop();\n this.gridfetchModel.fetchCriteria.offset = 0;\n this.getData(this.gridfetchModel, this.serviceUrl);\n }\n }, error => {\n this.unAssignModalPopUpFlag = false;\n this.reviewComponentSuccessMessage = null;\n this.pageloaderService.setPageLoaderStatus(true);\n this.handleError(error);\n });\n this.unAssignPopup = false;\n document.body.classList.remove('modal-open');\n removeAriaHidden();\n }\n\n cancel(event) {\n this.unAssignModalPopUpFlag = false;\n this.focusabbleElements = undefined;\n this.unAssignPopup = false;\n document.body.classList.remove('modal-open');\n removeAriaHidden();\n this.btnAction(event);\n }\n\n gridEventChanges(fetchCriteria: FetchCriteriaModel) {\n this.reviewComponentSuccessMessageFlag = false;\n this.utilityService.setSuccessMessage(null);\n this.reviewComponentSuccessMessage = null;\n this.gridfetchModel = new GridFetchModel();\n if (!!fetchCriteria.sortField || !!fetchCriteria.searchValue) {\n if (!!fetchCriteria.searchValue) {\n this.gridfetchModel.searchValue = fetchCriteria.searchValue;\n delete fetchCriteria.searchValue;\n }\n this.gridfetchModel.withSubscriptions = [this.serviceClientId];\n this.serviceUrl = this.utilityService.getEnvConfig().productLicenseUrl\n + this.user.companyId + '/employees/textSearch';\n } else {\n this.gridfetchModel.licenseStatus = 'ASSIGNED';\n this.gridfetchModel.serviceClientId = this.serviceClientId;\n this.serviceUrl = this.utilityService.getEnvConfig().productLicenseUrl\n + this.user.companyId + '/licenses';\n }\n\n fetchCriteria.sortDir = (!!fetchCriteria.sortDir) ? fetchCriteria.sortDir : 'ASC';\n fetchCriteria.sortField = (!!fetchCriteria.sortField) ? fetchCriteria.sortField : 'id';\n this.gridfetchModel.fetchCriteria = fetchCriteria;\n this.getData(this.gridfetchModel, this.serviceUrl);\n this.utilityService.setSuccessMessage(null);\n }\n\n reviewSuccess() {\n if (((sessionStorage.getItem('previousRoute') === '/manageUsers/review') && (this.utilityService.getSuccessMessage() != null))\n || this.unAssignModalPopUpFlag) {\n this.reviewComponentSuccessMessageFlag = true;\n if (!this.reviewComponentSuccessMessage) {\n this.reviewComponentSuccessMessage = this.utilityService.getSuccessMessage();\n this.utilityService.loadFocusOnTop();\n }\n } else {\n this.reviewComponentSuccessMessageFlag = false;\n }\n }\n\n assignName() {\n this.reviewComponentSuccessMessageFlag = false;\n this.utilityService.setSuccessMessage(null);\n this.reviewComponentSuccessMessage = null;\n this.popUpFlag = true;\n this.assignProductFlag = true;\n this.modalClass = 'modal-lg';\n setTimeout(() => { document.getElementById('modalHeader').focus(); });\n this.btnAction(event);\n }\n\n editName() {\n this.reviewComponentSuccessMessageFlag = false;\n this.utilityService.setSuccessMessage(null);\n this.popUpFlag = true;\n this.editNameFlag = true;\n this.modalClass = 'modal-lg';\n setTimeout(() => { document.getElementById('modalHeader').focus(); });\n this.btnAction(event);\n }\n\n cancelButton(event) {\n this.popUpFlag = false;\n this.unAssignModalPopUpFlag = false;\n this.assignProductFlag = false;\n this.editNameFlag = false;\n this.licenseForm.reset();\n document.body.classList.remove('modal-open');\n removeAriaHidden();\n this.btnAction(event);\n }\n\n assignButton(event) {\n this.reviewComponentSuccessMessageFlag = false;\n this.utilityService.setSuccessMessage(null);\n this.reviewComponentSuccessMessage = null;\n this.unAssignModalPopUpFlag = false;\n this.reviewSuccess();\n this.singleUserDetail.productDesc = this.licenseForm.get('productName').value;\n this.cancelButton(event);\n this.btnAction(event);\n this.pageloaderService.setPageLoaderStatus(false);\n this.userListService.setUpdateProduct(this.utilityService.getEnvConfig().setUpdateUrl, this.singleUserDetail)\n .subscribe(response => {\n this.pageloaderService.setPageLoaderStatus(true);\n sessionStorage.setItem('singleUserDetail', JSON.stringify(this.singleUserDetail));\n }, error => {\n this.pageloaderService.setPageLoaderStatus(true);\n this.handleError(error);\n });\n }\n\n buildForm() {\n this.licenseForm = this.formBuilder.group({\n productName: ['', [Validators.required, Validators.pattern(/(?!^\\s+$)^.+$/)]]\n });\n\n this.validationService.validate(\n this.licenseForm,\n this.formErrors,\n this.validationMessages);\n }\n\n btnAction(event) {\n this.focusabbleElements = undefined;\n this.ufocusabbleElements = undefined;\n if (event.target) {\n event.target.focus();\n }\n }\n\n loadFocustelements() {\n if (this.popUpFlag || this.unAssignPopup) {\n document.body.classList.add('modal-open');\n initAriaHidden();\n if (!this.focusabbleElements) {\n const focusableEls = this.unassignElement.nativeElement.\n querySelectorAll('a[href], area[href],' +\n ' input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), [tabindex=\"0\"]');\n this.focusabbleElements = Array.prototype.slice.call(focusableEls);\n document.getElementById('modalHeader');\n }\n }\n }\n\n handleKeydown(event) {\n if (event.keyCode === KEY_CONFIG.escapeKey) {\n this.btnAction(event);\n return;\n }\n this.utilityService.handleKeyPress(event, this.focusabbleElements);\n }\n\n UloadFocustelements() {\n if (this.popUpFlag) {\n document.body.classList.add('modal-open');\n initAriaHidden();\n if (!this.ufocusabbleElements) {\n const focusableEls = this.assignGroupElement.nativeElement.\n querySelectorAll('a[href], area[href],' +\n ' input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), [tabindex=\"0\"]');\n this.ufocusabbleElements = Array.prototype.slice.call(focusableEls);\n document.getElementById('modalHeader');\n }\n }\n }\n\n UhandleKeydown(event) {\n if (event.keyCode === KEY_CONFIG.escapeKey) {\n this.btnAction(event);\n return;\n }\n this.utilityService.handleKeyPress(event, this.ufocusabbleElements);\n }\n\n}\n\n","
\n
\n \n
\n
\n\n

{{this.singleUserDetail && this.singleUserDetail.specName}}

\n
\n
\n
\n \n
\n
\n

Something isn't working

\n

{{ this.errorMessage }}

\n
\n
\n
\n
\n
\n \n
\n
\n

Success

\n

{{reviewComponentSuccessMessage}}

\n
\n
\n
\n
\n
\n
Foundation account: {{fan}}
\n
Wireless number: {{ctn}}
\n
License group: Assign a name
\n
{{singleUserDetail.productDesc}} Edit
\n
\n\n \n \n
Number of Licenses: \n \n
\n
\n \n\t\t\t\t\n
\n
\n

Licensed users

\n\n \n\n
\n
\n
\n\n \n
\n\n\n\n {{UloadFocustelements()}}\n
\n
\n
\n

Assign a name

\n

Change license group name

\n
\n
\n \n
\n
\n

{{this.singleUserDetail.specName}}

\n
\n
Foundation account: {{singleUserDetail.brokerAccountClientId}}
\n

Wireless number: {{singleUserDetail.billingClientId}}

\n
\n \n \n
\n
\n
Current license group name: {{singleUserDetail.productDesc}}
\n
\n \n
\n
\n \n
\n
\n {{formErrors.productName}}\n
\n\n
\n
\n
\n
\n \n Cancel\n
\n
\n
\n
\n\n\n\n {{loadFocustelements()}}\n
\n
\n

Un-assign a user

\n
\n
\n \n
\n
\n
Selected user\n
{{rowUser && rowUser.firstName}}
\n
{{rowUser && rowUser.email}}
\n
\n
Un-assign this user's license for:\n
{{singleUserDetail.specName}}
\n
Foundation account: {{fan}}
\n
Wireless number: {{ctn}}
\n
{{singleUserDetail.productDesc}}
\n
\n
\n
\n
\n \n Cancel\n
\n
\n
\n","export class ManageUserModel {\n email: string;\n id: string;\n selectedColumn: string;\n firstName: string;\n serviceClientId: string;\n licenseClientId: string;\n licenseStatus: string;\n}\n","export * from './modify-license.component';\n","\nimport { Component, OnInit, OnDestroy, ViewEncapsulation } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { HttpClient } from '@angular/common/http';\nimport { FormGroup, Validators, FormBuilder } from '@angular/forms';\nimport { PageLoaderService } from 'lib/ng2-sapmp/src/ui-components';\nimport { BreadCrumbService } from 'lib/ng2-sapmp/src/ui-components/breadcrumb';\nimport { ProductConfiguratorService } from '../../product-configurator/shared';\nimport { AuthenticationService, UtilityService, ValidationService, LicensePricingService } from 'lib/ng2-sapmp/src/providers';\nimport { ReviewOrderProductModel } from '../review-order-product';\nimport { UserWizardModel } from 'lib/ng2-sapmp/src/models/user-wizard';\nimport { UserProfileModel } from 'lib/ng2-sapmp/src/models/userprofile';\nimport { ANALYTICS_CONSTANTS } from 'config';\nimport { AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';\nimport { MobilePivotModel } from 'lib/ng2-sapmp/src/ui-components/mobile-pivot/mobile-pivot.model';\ndeclare var ENV_VAR: any; // global variable set in env.js file, imported in index.html\ndeclare var logoutCurrentUser: any;\ndeclare var ENV_PORTAL;\nconst ENV_PORTAL_DOMAIN = (ENV_PORTAL === 'fnabc') ? 'FN' : 'ABC';\n@Component({\n selector: 'app-increase',\n providers: [ValidationService, ProductConfiguratorService, LicensePricingService, AdobeAnalyticsService],\n templateUrl: './modify-license.component.html',\n styleUrls: ['./modify-license.component.scss'],\n})\nexport class ModifyLicenseComponent implements OnInit, OnDestroy {\n dataLayer: {};\n modifyLicenseForm: FormGroup;\n formErrors = {\n 'qty': ''\n };\n validationMessages = {\n 'qty': {\n 'required': 'Enter the number of licenses to .',\n 'pattern': 'Enter the number of licenses to .'\n }\n };\n setError = false;\n ErrorMessage = '';\n producDetails: any = null;\n initialQty = 1;\n updatedQty = 1;\n totalQty = 1;\n tmpTotalQty = 1;\n dataObj = {\n dcmCodes: [],\n quantity: 0,\n fan: ''\n };\n productInfo = {\n productName: '',\n fan: '',\n ctn: '',\n dcmCode: '',\n clientId: ''\n };\n OwnedProductData = {\n credentialType: 'MOBILEIDENTIFIER',\n credentialId: '',\n dcmCode: ''\n };\n showErrLink = false;\n ownedProductPrice = 0;\n UpdatedQtyAmt = 0;\n TotalAmt = 0;\n reviewModel: ReviewOrderProductModel;\n userWizard: UserWizardModel;\n licenseModifyType = '';\n validationLicenseModifyType = '';\n title = '';\n impoErr = false;\n priceErr = false;\n unitPrice = 0;\n totUnitPrice = 0;\n showVolumeDiscunt = false;\n volumeDiscount = [];\n subscriptionId: string;\n isFormValid: boolean;\n user: UserProfileModel;\n showRemoveallLink = false;\n pivots: Array;\n licenseType = '';\n feeType: string;\n estimatedAmount: number;\n unitTotalEstimatedAmount: number;\n errorFlag = false;\n billingClientId: string;\n constructor(private route: ActivatedRoute,\n private router: Router,\n private formBuilder: FormBuilder,\n private validationService: ValidationService,\n private productConfiguratorService: ProductConfiguratorService,\n private utilityService: UtilityService,\n private licensePricingService: LicensePricingService,\n private http: HttpClient, private pageloaderService: PageLoaderService, private breadCrumbService: BreadCrumbService,\n private adobeAnalyticsService: AdobeAnalyticsService) {\n this.isFormValid = false;\n this.pivots = new Array();\n this.estimatedAmount = 0;\n this.unitTotalEstimatedAmount = 0;\n }\n\n ngOnInit() {\n this.pivots.push({ label: 'Manage Products', routerLink: '/manage' });\n this.pivots.push({ label: 'Console dashboard', routerLink: '/dashboard' });\n if (sessionStorage.getItem('singleUserDetail') === null) {\n this.router.navigate(['/home']);\n } else {\n document.body.classList.add('manageproduct-page');\n document.title = (ENV_PORTAL_DOMAIN === 'FN') ? 'Apps & Solutions - Manage Product ' : 'AT&T Business Console - Manage Product';\n\n\n if (!!sessionStorage.getItem('singleUserDetail')) {\n this.producDetails = JSON.parse(sessionStorage.getItem('singleUserDetail'));\n this.billingClientId = this.utilityService.formatTelephoneNumber(this.producDetails.billingClientId);\n this.ownedProductPrice = 0;\n }\n if (this.producDetails.modifyType === 'Increase') {\n this.licenseModifyType = 'Add';\n this.validationLicenseModifyType = 'add';\n this.licenseType = 'Increase number of';\n this.title = ' Manage Product - Increase license';\n this.breadCrumbService.setCurrentBreadCrumb({ label: 'Add licenses', routerLink: '/manageProduct/modifyLicense' });\n } else {\n this.licenseModifyType = 'Remove';\n this.validationLicenseModifyType = 'remove';\n this.licenseType = 'Decrease number of';\n this.title = ' Manage Product - Decrease license';\n this.breadCrumbService.setCurrentBreadCrumb({ label: 'Decrease number of licenses', routerLink: '/manageProduct/modifyLicense' });\n }\n this.validationMessages = {\n 'qty': {\n 'required': 'Enter the number of licenses to ' + this.validationLicenseModifyType + '.',\n 'pattern': 'Enter the number of licenses to ' + this.validationLicenseModifyType + '.'\n }\n };\n\n if (!!sessionStorage.getItem('reviewModel')) {\n const reviewModel = JSON.parse(sessionStorage.getItem('reviewModel'));\n this.initialQty = reviewModel.modifiedLicense;\n } else {\n if (this.producDetails.enteredQty !== undefined) {\n this.initialQty = this.producDetails.enteredQty;\n console.log('init qty : ' + this.initialQty);\n }\n }\n this.user = JSON.parse(sessionStorage.getItem('user')).user;\n this.buildForm();\n this.getOwnedProductInfo();\n this.createPageLoadProperties(this.producDetails.serviceOfferCode,\n this.router.routerState.snapshot.url,\n this.title);\n }\n }\n\n // Page Load adobe analytics\n createPageLoadProperties(dcmcodes, url: string, title: string) {\n const dataLayer = {};\n if (this.licenseModifyType === 'Add') {\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FRIENDLY_PAGE_NAME] = ANALYTICS_CONSTANTS.FRIENDLY_NAME_INCREASE_LICENSE;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FLOW_CODE] = ANALYTICS_CONSTANTS.FLOW_CODE_LICENSE_MANAGEMNET_INCREASE;\n } else {\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FRIENDLY_PAGE_NAME] = ANALYTICS_CONSTANTS.FRIENDLY_NAME_DECREASE_LICENSE;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FLOW_CODE] = ANALYTICS_CONSTANTS.FLOW_CODE_LICENSE_MANAGEMNET_DECREASE;\n }\n\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_LANGUAGE] = 'EN';\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_SKU] = dcmcodes;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_LOGIN_SOURCE] = 'shoplogin';\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_PAGE_FUNCTION] = 'Service';\n if (ENV_PORTAL === 'fnabc') {\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_FIRSTNET_FLAG] = ANALYTICS_CONSTANTS.EVENTS_SUCCESSFLAG_1;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_FIRST_NET_USER_ROLE] = ANALYTICS_CONSTANTS.GLOBAL_USER_FIRST_NET_USER_ROLE_VALUE;\n }\n this.adobeAnalyticsService.tag('page', dataLayer, 'Page_Load', 'pageLoad');\n }\n\n buildForm(): void {\n this.modifyLicenseForm = this.formBuilder.group({\n qty: [this.initialQty,\n [Validators.required,\n Validators.pattern('^[1-9][0-9]{0,4}$')]]\n });\n\n this.validationService.validate(\n this.modifyLicenseForm,\n this.formErrors,\n this.validationMessages);\n }\n getOwnedProductInfo() {\n this.pageloaderService.setPageLoaderStatus(false);\n this.impoErr = false;\n this.OwnedProductData.credentialId = this.producDetails.billingClientId;\n this.OwnedProductData.dcmCode = this.producDetails.serviceOfferCode;\n this.licensePricingService.getPricingForOwenedQty(this.OwnedProductData)\n .subscribe(respobj => {\n const productInfo = JSON.parse(sessionStorage.getItem('singleUserDetail'));\n if (respobj.quantity === productInfo.quantity) {\n this.unitPrice = respobj.unitPrice;\n this.ownedProductPrice = respobj.totalPrice;\n this.subscriptionId = respobj.purchaseIdentifier;\n this.pageloaderService.setPageLoaderStatus(true);\n this.setError = false;\n this.showErrLink = false;\n this.showRemoveallLink = false;\n this.ErrorMessage = '';\n this.getUpdatedPricing();\n } else {\n this.setError = true;\n this.showErrLink = false;\n this.showRemoveallLink = false;\n this.ErrorMessage = `

We can't process this order because you have other orders pending.

\n

If you need help, call 1.866.241.6588 (TTY 1.866.6567) Monday - Friday, from 7 a.m. - 9 p.m. \n ET. You can also chat with an expert during weekday calling hours as well as Saturday and Sunday from 8 a.m. - 5.pm.

`;\n this.impoErr = true;\n this.pageloaderService.setPageLoaderStatus(true);\n }\n }, error => {\n this.impoErr = true;\n this.setErrorMessage(error);\n });\n }\n\n getUpdatedPricing() {\n this.updatedQty = Number(this.modifyLicenseForm.value.qty);\n if (this.producDetails.modifyType === 'Decrease') {\n this.totalQty = Number(this.producDetails.quantity) - this.updatedQty;\n if (this.producDetails.quantity === this.modifyLicenseForm.value.qty) {\n if (!!sessionStorage.getItem('reviewModel') && sessionStorage.getItem('reviewModel') !== undefined) {\n const reviewModel = JSON.parse(sessionStorage.getItem('reviewModel'));\n reviewModel.modifiedLicense = this.updatedQty;\n sessionStorage.setItem('reviewModel', JSON.stringify(reviewModel));\n } else {\n this.producDetails.enteredQty = this.updatedQty;\n sessionStorage.setItem('singleUserDetail', JSON.stringify(this.producDetails));\n }\n this.setError = true;\n this.showErrLink = false;\n this.showRemoveallLink = true;\n this.ErrorMessage = ' To cancel the product and remove all licenses, go see';\n this.isFormValid = false;\n this.utilityService.loadFocusOnTop();\n this.updatePricingInfo();\n } else if (this.producDetails.quantity < this.modifyLicenseForm.value.qty) {\n if (!!sessionStorage.getItem('reviewModel') && sessionStorage.getItem('reviewModel') !== undefined) {\n const reviewModel = JSON.parse(sessionStorage.getItem('reviewModel'));\n reviewModel.modifiedLicense = this.updatedQty;\n sessionStorage.setItem('reviewModel', JSON.stringify(reviewModel));\n } else {\n this.producDetails.enteredQty = this.updatedQty;\n sessionStorage.setItem('singleUserDetail', JSON.stringify(this.producDetails));\n }\n this.setError = true;\n this.showErrLink = false;\n this.showRemoveallLink = false;\n this.ErrorMessage = ' Remove quantity should be lesser than available quantity.';\n this.priceErr = true;\n this.utilityService.loadFocusOnTop();\n if (this.TotalAmt === 0) {\n this.TotalAmt = this.ownedProductPrice;\n }\n } else {\n this.updatePricingInfo();\n }\n } else {\n this.totalQty = Number(this.producDetails.quantity) + this.updatedQty;\n this.updatePricingInfo();\n }\n }\n\n updatePricingInfo() {\n this.setError = false;\n this.ErrorMessage = '';\n this.pageloaderService.setPageLoaderStatus(false);\n const dcmArray = [];\n dcmArray.push(this.producDetails.serviceOfferCode);\n this.dataObj.dcmCodes = dcmArray;\n if (this.producDetails.modifyType === 'Increase') {\n this.dataObj.quantity = Number(this.producDetails.quantity) + this.updatedQty;\n } else {\n this.dataObj.quantity = Number(this.producDetails.quantity) - this.updatedQty;\n }\n this.dataObj.fan = this.producDetails.brokerAccountClientId;\n this.licensePricingService.getPricingDetailsByQty(this.dataObj)\n .subscribe(pricingrespobj => {\n this.priceErr = false;\n this.feeType = pricingrespobj[0].feeType;\n this.tmpTotalQty = this.totalQty;\n if (pricingrespobj[0].totalPrice && pricingrespobj[0].totalPrice !== undefined) {\n this.TotalAmt = pricingrespobj[0].totalPrice;\n this.totUnitPrice = (pricingrespobj[0].customPrice) ? pricingrespobj[0].customPrice : pricingrespobj[0].unitPrice;\n this.UpdatedQtyAmt = this.TotalAmt - this.ownedProductPrice;\n this.estimatedAmount = (pricingrespobj[0].applicableDiscount) ? pricingrespobj[0].applicableDiscount : 0;\n this.unitTotalEstimatedAmount = (pricingrespobj[0].totalPriceWithDiscount) ? pricingrespobj[0].totalPriceWithDiscount : 0;\n } else {\n this.TotalAmt = 0;\n this.totUnitPrice = 0;\n this.UpdatedQtyAmt = 0;\n }\n if (pricingrespobj[0].price.length > 0) {\n this.volumeDiscount = pricingrespobj[0].price;\n this.showVolumeDiscunt = true;\n } else {\n this.showVolumeDiscunt = false;\n }\n this.setError = false;\n this.ErrorMessage = '';\n this.pageloaderService.setPageLoaderStatus(true);\n this.initialQty = this.modifyLicenseForm.value.qty;\n this.isFormValid = true;\n }, error => {\n this.priceErr = true;\n this.setErrorMessage(error);\n this.isFormValid = false;\n });\n }\n\n checkForModifyType() {\n const singleProductdetail = this.producDetails;\n singleProductdetail.enteredQty = this.updatedQty;\n sessionStorage.setItem('singleUserDetail', JSON.stringify(singleProductdetail));\n if (this.producDetails.modifyType === 'Decrease') {\n this.pageloaderService.setPageLoaderStatus(false);\n const serviceUrl = this.utilityService.getEnvConfig().singleProductUrl + this.user.companyId\n + '/inventory/service?quantity=' + Number(this.initialQty) +\n '&billingClientId=' + this.producDetails.billingClientId;\n const data = {\n 'class': 'API::ServiceSearchCriteria',\n 'fetchCriteria': { 'limit': 20, 'offset': 0, 'sortDir': 'ASC', 'sortField': 'serviceOfferCode' },\n 'serviceOfferCodes': [this.producDetails.serviceOfferCode], 'serviceStatus': 'ACTIVE'\n };\n this.licensePricingService.decreaseQtyValidation(serviceUrl, data)\n .subscribe(respobj => {\n if (respobj === false) {\n if (!!sessionStorage.getItem('reviewModel') && sessionStorage.getItem('reviewModel') !== undefined) {\n const reviewModel = JSON.parse(sessionStorage.getItem('reviewModel'));\n reviewModel.modifiedLicense = this.updatedQty;\n sessionStorage.setItem('reviewModel', JSON.stringify(reviewModel));\n }\n this.setError = true;\n this.ErrorMessage = 'You attempted to decrease your license by ' + this.initialQty +\n '. You need to unassign users first to decrease this amount';\n this.showRemoveallLink = false;\n this.showErrLink = true;\n this.pageloaderService.setPageLoaderStatus(true);\n this.isFormValid = false;\n this.errorFlag = true;\n } else {\n this.pageloaderService.setPageLoaderStatus(true);\n this.isFormValid = true;\n this.showErrLink = false;\n this.setError = false;\n this.ErrorMessage = '';\n this.reviewOrder();\n }\n }, error => {\n this.setErrorMessage(error);\n this.isFormValid = false;\n });\n // }\n } else {\n this.reviewOrder();\n }\n }\n\n unassingUserFlow() {\n this.userWizard = new UserWizardModel();\n this.userWizard.source = 'product';\n this.userWizard.previousUrl = this.router.url;\n this.userWizard.actionType = 'UNASSIGN';\n this.userWizard.existingProducts = this.producDetails.specName;\n\n this.productInfo.productName = this.producDetails.specName;\n this.productInfo.fan = this.producDetails.brokerAccountClientId;\n this.productInfo.ctn = this.producDetails.billingClientId;\n this.productInfo.dcmCode = this.producDetails.serviceOfferCode;\n this.productInfo.clientId = this.producDetails.clientId;\n\n this.userWizard.product = this.productInfo;\n this.breadCrumbService.removeLastBreadCrumb();\n sessionStorage.setItem('assign-wizard', JSON.stringify(this.userWizard));\n this.router.navigate(['/manageUsers/action']);\n }\n removeAllFlow() {\n this.breadCrumbService.removeLastBreadCrumb();\n this.router.navigate(['/manageProduct/cancel-product']);\n }\n reviewOrder() {\n this.reviewModel = new ReviewOrderProductModel();\n this.reviewModel.product = this.producDetails.specName;\n this.reviewModel.fan = this.producDetails.brokerAccountClientId;\n this.reviewModel.ctn = this.billingClientId;\n this.reviewModel.serviceOfferCode = this.producDetails.serviceOfferCode;\n this.reviewModel.description = this.producDetails.productDesc;\n this.reviewModel.initialLicense = Number(this.producDetails.quantity);\n this.reviewModel.modifiedLicense = this.updatedQty;\n this.reviewModel.unitPrice = this.totUnitPrice;\n this.reviewModel.initialUnitPrice = this.unitPrice;\n this.reviewModel.subscriptionId = this.subscriptionId;\n if (this.producDetails.modifyType === 'Increase') {\n this.reviewModel.totalLicense = Number(this.producDetails.quantity) + this.updatedQty;\n } else {\n this.reviewModel.totalLicense = this.producDetails.quantity - this.updatedQty;\n }\n this.reviewModel.initialAmount = this.ownedProductPrice;\n this.reviewModel.modifiedAmount = this.UpdatedQtyAmt;\n this.reviewModel.type = this.producDetails.modifyType;\n this.reviewModel.estimatedDiscount = this.estimatedAmount;\n this.reviewModel.unitTotalAmount = this.TotalAmt;\n this.reviewModel.totalAmount = this.unitTotalEstimatedAmount > 0 ? this.unitTotalEstimatedAmount : this.TotalAmt;\n sessionStorage.setItem('reviewModel', JSON.stringify(this.reviewModel));\n this.router.navigate(['/manageProduct/revieworderproduct']);\n }\n\n setErrorMessage(error) {\n this.pageloaderService.setPageLoaderStatus(true);\n if (error.status === 401) {\n this.setError = true;\n this.showRemoveallLink = false;\n this.showErrLink = false;\n this.ErrorMessage = 'Session expired, Please login again.';\n logoutCurrentUser(true);\n this.adobeAnalyticsService.CreateSeriveAlertProperties(error.status, error.statusText, 'formResponse');\n } else if (error.status === 400) { \n this.setError = true;\n this.showRemoveallLink = false;\n this.showErrLink = false;\n if (this.producDetails.modifyType === 'Increase') {\n if (error.error[0]) {\n this.ErrorMessage = JSON.stringify(error.error[0]);\n } else if (error.error) {\n this.ErrorMessage = error.error;\n } else {\n this.ErrorMessage = 'Can not add more than max-qty';\n }\n } else {\n this.setError = true;\n this.showRemoveallLink = true;\n this.showErrLink = false;\n this.ErrorMessage = ' To cancel the product and remove all licenses, go see';\n }\n this.adobeAnalyticsService.CreateSeriveAlertProperties(error.status, error.statusText, 'formResponse', 'Failure_BusinessRule');\n } else if (error.status === 404) {\n this.setError = true;\n if (error.error[0] && error.error[0].errorDescription) {\n this.ErrorMessage = error.error[0].errorDescription;\n } else {\n this.ErrorMessage = 'Products are not available.';\n }\n } else {\n this.setError = true;\n this.showRemoveallLink = false;\n this.showErrLink = false;\n this.ErrorMessage = 'We couldn\\'t complete your request. Please try again later.';\n this.adobeAnalyticsService.CreateSeriveAlertProperties(error.status, error.statusText, 'formResponse');\n }\n this.utilityService.loadFocusOnTop();\n }\n\n handleError(error) {\n throw error;\n }\n\n ngOnDestroy() {\n this.pageloaderService.setPageLoaderStatus(true);\n }\n}\n","
\r\n

{{licenseType}} licenses

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

Please note

\r\n

We can't remove licenses

\r\n

\r\n Remove all licenses\r\n Please unassign users and try again.\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
{{producDetails.specName}}
\r\n
{{producDetails.brokerAccountClientId}}
\r\n
{{billingClientId}}
\r\n
{{producDetails && producDetails.productDesc}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n You currently own\r\n
{{producDetails.quantity}} 1)? 'licenses':'license'\"> @ {{unitPrice | currency:'USD':true:'1.2-3' }} /user
\r\n
\r\n
\r\n
\r\n
{{ ownedProductPrice | currency:'USD':true:'1.2-3' }}
\r\n
per month
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n

{{licenseModifyType}} licenses

\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {{((iterateVolumeContent?.customAmount) ? iterateVolumeContent?.customAmount : iterateVolumeContent.amount) | currency:'USD':true:'1.2-3'}}/license\r\n
\r\n
0\">\r\n {{((iterateVolumeContent?.customAmount) ? iterateVolumeContent?.customAmount : iterateVolumeContent.amount) | currency:'USD':true:'1.2-3'}}/user\r\n if > {{iterateVolumeContent.minQty - 1}}\r\n\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n {{ formErrors.qty }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Total charges*

\r\n
{{tmpTotalQty}} 1)? 'licenses':'license'\"> @ {{ totUnitPrice | currency:'USD':true:'1.2-3'\r\n }}/user
\r\n
\r\n
\r\n
\r\n

{{ TotalAmt | currency:'USD':true:'1.2-3' }}

\r\n

per month

\r\n
\r\n
\r\n
\r\n
\r\n *Totals are based on estimated charges. Taxes and fees will be calculated for applicable charges. Charges will appear on your billing statement. You may not see any discounts or bill credits subtracted from your charges until you select your billing account on the Checkout page.\r\n\r\n
\r\n
\r\n \r\n Cancel\r\n
\r\n
\r\n
\r\n","export * from './review-order-product.component';\nexport * from './review-order-product.model';\nexport * from './product-details.model';\n","export class ProductDetailsModel {\n productId: string;\n dcmCode: string;\n socCode: string;\n quantity: number;\n bundleSkuId: string;\n action: string;\n email: string;\n childDcmCodes: Array;\n}\n","import { Component, OnInit, OnDestroy, ViewEncapsulation } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { HttpClient } from '@angular/common/http';\nimport { PageLoaderService } from 'lib/ng2-sapmp/src/ui-components';\nimport { BreadCrumbService } from 'lib/ng2-sapmp/src/ui-components/breadcrumb';\nimport { ReviewOrderProductModel } from './review-order-product.model';\nimport { REVIEWORDERS } from 'config';\nimport { ReviewOrderProductService } from './review-order-product.service';\nimport { AdobeAnalyticsService, AuthenticationService, UtilityService } from 'lib/ng2-sapmp/src/providers';\nimport { MobilePivotModel } from 'lib/ng2-sapmp/src/ui-components/mobile-pivot/mobile-pivot.model';\ndeclare var ENV_VAR: any; // global variable set in env.js file, imported in index.html\ndeclare var logoutCurrentUser: any;\n\ndeclare var ENV_PORTAL;\nconst ENV_PORTAL_DOMAIN = (ENV_PORTAL === 'fnabc') ? 'FN' : 'ABC';\n\n@Component({\n selector: 'app-review-order',\n providers: [ReviewOrderProductService, AdobeAnalyticsService],\n templateUrl: './review-order-product.component.html',\n styleUrls: ['./review-order-product.component.scss'],\n // encapsulation: ViewEncapsulation.None\n})\nexport class ReviewOrderProductComponent implements OnInit {\n\n reviewModel: ReviewOrderProductModel = null;\n items: any;\n isOrder = false;\n reviewTitle = 'Review order';\n confirmTitle = 'Confirm your order';\n submitCaption = 'Submit order';\n errorMessage: string;\n csrPermissionReviewOrderSubmit: boolean;\n pivots: Array;\n tncUrl: string;\n tnctitle: string;\n\n constructor(private route: ActivatedRoute,\n private router: Router,\n private http: HttpClient,\n private pageloaderService: PageLoaderService,\n private breadCrumbService: BreadCrumbService,\n private orderService: ReviewOrderProductService,\n private adobeAnalyticsService: AdobeAnalyticsService,\n private authenticationService: AuthenticationService,\n private utilityService: UtilityService) {\n this.pivots = new Array();\n this.csrPermissionReviewOrderSubmit = this.utilityService.checkFieldPermission('reviewOrderProduct.submitOrder',\n JSON.parse(sessionStorage.getItem('permissions')).perm);\n\n if (sessionStorage.getItem('reviewModel') === null) {\n this.router.navigate(['/home']);\n } else {\n this.reviewModel = JSON.parse(sessionStorage.getItem('reviewModel'));\n this.items = Object.assign({}, REVIEWORDERS[this.reviewModel.type]);\n this.items.quantity1 = this.items.quantity1.replace('{x}', this.reviewModel.initialLicense);\n this.items.quantity1 = this.items.quantity1.replace('{licenses}', this.reviewModel.initialLicense > 1 ? 'licenses' : 'license');\n this.items.quantity1 = this.items.quantity1.replace('{y}', this.reviewModel.initialUnitPrice ?\n this.reviewModel.initialUnitPrice : this.reviewModel.unitPrice);\n this.items.quantity2 = this.items.quantity2.replace('{x}', this.reviewModel.modifiedLicense);\n this.items.quantity2 = this.items.quantity2.replace('{y}', this.reviewModel.modifiedLicense);\n this.items.quantity2 = this.items.quantity2.replace('{licenses}', this.reviewModel.modifiedLicense > 1 ? 'licenses' : 'license');\n this.items.quantity3 = this.items.quantity3.replace('{x}', this.reviewModel.totalLicense);\n this.reviewTitle = ((!!this.items.reviewTitle)) ? this.items.reviewTitle : this.reviewTitle;\n this.confirmTitle = ((!!this.items.confirmTitle)) ? this.items.confirmTitle : this.confirmTitle;\n this.submitCaption = ((!!this.items.submitCaption)) ? this.items.submitCaption : this.submitCaption;\n if (this.reviewModel.type === 'changeProduct') {\n this.items.quantity1 = this.items.quantity1.replace('{cp}', this.reviewModel.currentProduct);\n this.items.quantity2 = this.items.quantity2.replace('{np}', this.reviewModel.product);\n }\n\n }\n }\n\n ngOnInit() {\n this.tnctitle = (ENV_PORTAL_DOMAIN === 'FN') ? 'FirstNet Apps & Solutions ' : 'AT&T Business Console';\n this.pivots.push({ label: 'Manage Products', routerLink: '/manage' });\n this.pivots.push({ label: 'Console dashboard', routerLink: '/dashboard' });\n this.authenticationService.setLoginSuccessUrl(this.router.routerState.snapshot.url);\n\n if (sessionStorage.getItem('reviewModel') !== null) {\n document.title = 'increase-quantity';\n // this.previousRoute = this.breadCrumbService.getLastUrlFromBreadCrumb();\n document.body.classList.add('manageproduct-page');\n document.title = (ENV_PORTAL_DOMAIN === 'FN') ? 'Apps & Solutions - Manage Product ' : 'AT&T Business Console - Manage Product';\n this.breadCrumbService.setCurrentBreadCrumb(undefined);\n }\n if (this.reviewModel && this.reviewModel.fan && this.reviewModel.ctn) {\n this.orderService.createPageLoadProperties(this.router.routerState.snapshot.url,\n this.reviewModel.fan, this.reviewModel.ctn, 'Express checkout Review Order page',\n 'BC Manage Product Review Order Pg', this.reviewModel.serviceOfferCode, this.reviewModel.type);\n } else if (this.reviewModel && this.reviewModel.fan && this.reviewModel.ctn === undefined) {\n this.orderService.createPageLoadProperties(this.router.routerState.snapshot.url,\n this.reviewModel.fan, '', 'Express checkout Review Order page',\n 'BC Manage Product Review Order Pg', this.reviewModel.serviceOfferCode, this.reviewModel.type);\n } else if (this.reviewModel && this.reviewModel.ctn && this.reviewModel.fan === undefined) {\n this.orderService.createPageLoadProperties(this.router.routerState.snapshot.url, '',\n this.reviewModel.ctn, 'Express checkout Review Order page',\n 'BC Manage Product Review Order Pg', this.reviewModel.serviceOfferCode, this.reviewModel.type);\n } else {\n this.orderService.createPageLoadProperties(this.router.routerState.snapshot.url, '', '',\n 'Express checkout Review Order page',\n 'BC Manage Product Review Order Pg', this.reviewModel.serviceOfferCode, this.reviewModel.type);\n }\n if (this.reviewModel.type === 'DiffCTN') {\n this.getProdTnc();\n }\n this.tncUrl = undefined;\n }\n\n private handleError(error) {\n if (error) {\n if (error.status === 401) {\n this.errorMessage = 'Session expired. Please login again.';\n logoutCurrentUser(true);\n } else {\n this.errorMessage = 'We couldn\\'t complete your request. Please try again later.';\n }\n this.utilityService.loadFocusOnTop();\n } else {\n throw error;\n }\n }\n\n submitOrder() {\n if (this.reviewModel.type === 'Increase' || this.reviewModel.type === 'Decrease') {\n this.orderService.createModifyLicenseProperties(this.reviewModel.type,\n // tslint:disable-next-line:max-line-length\n this.reviewModel.totalLicense, this.reviewModel.serviceOfferCode, this.reviewModel.unitTotalAmount, this.reviewModel.estimatedDiscount, 'SUCCESS', 'formSubmit');\n } else if (this.reviewModel.type === 'RemoveAll') {\n this.orderService.createModifyLicenseProperties(this.reviewModel.type,\n this.reviewModel.initialLicense, this.reviewModel.serviceOfferCode, this.reviewModel.initialAmount,\n this.reviewModel.estimatedDiscount, 'SUCCESS', 'formSubmit');\n }\n this.pageloaderService.setPageLoaderStatus(false);\n this.orderService.processOrder(this.reviewModel).subscribe(\n resp => {\n this.reviewModel.id = resp.customerOrderNumber;\n this.pageloaderService.setPageLoaderStatus(true);\n this.utilityService.loadFocusOnTop();\n if (this.reviewModel.type === 'Increase' || this.reviewModel.type === 'Decrease') {\n this.orderService.createModifyLicenseProperties(this.reviewModel.type,\n this.reviewModel.totalLicense, this.reviewModel.serviceOfferCode, this.reviewModel.unitTotalAmount,\n this.reviewModel.estimatedDiscount, 'SUCCESS', 'formResponse', resp.customerOrderNumber);\n } else if (this.reviewModel.type === 'RemoveAll') {\n this.orderService.createModifyLicenseProperties(this.reviewModel.type,\n this.reviewModel.initialLicense, this.reviewModel.serviceOfferCode, this.reviewModel.initialAmount,\n this.reviewModel.estimatedDiscount, 'SUCCESS', 'formResponse', resp.customerOrderNumber);\n }\n sessionStorage.removeItem('reviewModel');\n this.isOrder = true;\n if ((this.breadCrumbService.getSource() === 'manageshop')) {\n const rowIndex = this.breadCrumbService.getBreadCrumbs().length - 2;\n this.breadCrumbService.removeSessionBreadCrumbProperty(rowIndex);\n }\n\n if (this.reviewModel && this.reviewModel.fan && this.reviewModel.ctn) {\n this.orderService.createPageLoadProperties('/virtual/manageProduct/reviewconfirmproduct',\n this.reviewModel.fan, this.reviewModel.ctn, 'Express checkout confirm page',\n 'BC Manage Product Confirm Order Pg', this.reviewModel.serviceOfferCode, this.reviewModel.type, 'virtual');\n } else if (this.reviewModel && this.reviewModel.fan && this.reviewModel.ctn === undefined) {\n this.orderService.createPageLoadProperties('/virtual/manageProduct/reviewconfirmproduct',\n this.reviewModel.fan, '', 'Express checkout confirm page',\n 'BC Manage Product Confirm Order Pg', this.reviewModel.serviceOfferCode, this.reviewModel.type, 'virtual');\n } else if (this.reviewModel && this.reviewModel.ctn && this.reviewModel.fan === undefined) {\n this.orderService.createPageLoadProperties('/virtual/manageProduct/reviewconfirmproduct', '',\n this.reviewModel.ctn, 'Express checkout confirm page',\n 'BC Manage Product Confirm Order Pg', this.reviewModel.serviceOfferCode, this.reviewModel.type, 'virtual');\n } else {\n this.orderService.createPageLoadProperties('/virtual/manageProduct/reviewconfirmproduct', '', '', 'Express checkout confirm page',\n 'BC Manage Product Confirm Order Pg', this.reviewModel.serviceOfferCode, this.reviewModel.type, 'virtual');\n }\n\n }, error => {\n this.pageloaderService.setPageLoaderStatus(true);\n this.orderService.createModifyLicenseProperties(this.reviewModel.type, 0, undefined, 0, 0, 'ERROR', 'formResponse', undefined,\n error.status, error.statusText);\n this.adobeAnalyticsService.CreateSeriveAlertProperties(error.status, error.statusText, 'formResponse');\n this.handleError(error);\n\n }\n );\n // this.reviewModel.id = \"23u03rsfdl\";\n\n }\n\n manageProduct() {\n // if (this.reviewModel.type === 'DiffCTN') {\n // this.router.navigate(['/manage']);\n // }\n // else {\n // this.router.navigate(['/manageProduct']);\n // }\n this.router.navigate(['/manage']);\n }\n\n gotoPreviousPage() {\n const prevUrl = sessionStorage.getItem('previousRoute');\n this.router.navigate([prevUrl]);\n }\n // To set Tnc url\n getProdTnc() {\n this.pageloaderService.setPageLoaderStatus(false);\n this.orderService.getServiceProdTnc().subscribe(\n (data) => {\n this.pageloaderService.setPageLoaderStatus(true);\n this.tncUrl = data[0].url;\n\n },\n (responseError) => {\n this.pageloaderService.setPageLoaderStatus(true);\n this.handleError(responseError);\n }\n );\n }\n // Redirect to tnc url\n showTermsCondition() {\n window.open(this.tncUrl, '_blank');\n }\n}\n","
\n
\n

{{reviewTitle}}

\n

{{confirmTitle}}

\n\n
\n
\n \n
\n
\n

Error!

\n

{{ this.errorMessage }}

\n
\n
\n
\n
\n \n
\n
\n

Thank you. We're completing your request.

\n
\n
\n
\n \n
\n
{{reviewModel.product}}
\n
\n
{{reviewModel.fan}}
\n \n
{{ reviewModel.ctn}}
\n
{{reviewModel.description}}
\n
Order ID: {{reviewModel.id}}
\n
\n

\n
\n Product\n Amount \n
\n

\n
\n
\n
\n
\n
\n

\n
\n
\n

{{reviewModel.initialAmount | currency:'USD':true:'1.2-3'}}

\n

per month

\n
\n
\n
\n \n
\n
\n

{{reviewModel.modifiedAmount | currency:'USD':true:'1.2-3'}}

\n

per month

\n
\n
\n
\n
\n
\n
\n \n

{{reviewModel.totalLicense}} 1)? 'licenses':'license'\"> @ ${{reviewModel.unitPrice}}/user

\n
\n
\n

{{reviewModel.unitTotalAmount | currency:'USD':true:'1.2-3'}}

\n

per month

\n
\n
\n\n \n
0\" class=\"row est-discount no-top-margin\">\n
\n Estimated discount\n
\n
\n

- {{reviewModel.estimatedDiscount|currency:'USD':true:'1.2-3'}}

\n per month \n
\n
\n
\n
\n\n
0\" class=\"product-details\">\n
\n

One-time charges

\n \n
\n
\n

{{charge.oneTimeFeeName}}

\n
\n
\n

{{charge.unitPrice|currency:'USD':true:'1.2-3'}}

\n

0)\">{{charge.customPrice|currency:'USD':true:'1.2-3'}}

\n one-time payment \n
\n
\n
0)\">\n
\n

Total Estimated discount

\n
\n
\n

- {{charge.applicableDiscount|currency:'USD':true:'1.2-3'}}

\n one-time payment \n
\n
\n
\n
1) && (reviewModel?.oneTimeFeeEstimatedDiscount > 0)\" class=\"row otc-line-items est-discount\">\n
\n Total estimated discount\n
\n
\n

- {{reviewModel.oneTimeFeeEstimatedDiscount|currency:'USD':true:'1.2-3'}}

\n one-time payment \n
\n
\n
\n\n
\n\n\n
\n
\n

Total charges*

\n
\n
\n Total monthly charges\n
\n
\n

{{reviewModel.totalAmount | currency:'USD':true:'1.2-3'}}

\n \n
\n
\n
\n
\n Total one-time charges \n
\n
\n {{reviewModel.oneTimeFee | currency:'USD':true:'1.2-3'}}\n
\n
\n
\n
\n \n
\n
\n

{{tnctitle}} is subject to its Terms & Conditions.

\n
\n \n

\n
\n
\n
\n \n
\n \n Back\n
\n
\n
\n
\n","import { ProductDetailsModel } from './product-details.model';\nexport class ReviewOrderProductModel {\n id: string;\n product: string;\n fan: string;\n ban: string;\n ctn: string;\n description: string;\n unitPrice: number;\n initialUnitPrice: number;\n initialLicense: number;\n totalLicense: number;\n modifiedLicense: number;\n initialAmount: number;\n modifiedAmount: number;\n totalAmount: number;\n integerType: string;\n type: string;\n backUrl: string;\n currentProduct: string;\n newProduct: string;\n oneTimeFee: number;\n serviceOfferCode: string;\n subscriptionId: string;\n lineItems: Array;\n estimatedDiscount: number;\n unitTotalAmount: number;\n oneTimeFeeInfo: number;\n oneTimeFeeEstimatedDiscount: number;\n}\n","import { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { throwError } from 'rxjs';\n\n\n\nimport { HttpClient, HttpResponse, HttpHeaders } from '@angular/common/http';\nimport { HttpClientService, UtilityService, AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';\nimport { ReviewOrderProductModel } from './review-order-product.model';\nimport { ANALYTICS_CONSTANTS } from 'config';\ndeclare var ENV_PORTAL;\n@Injectable()\nexport class ReviewOrderProductService {\n dataLayer = {};\n constructor(\n private http: HttpClient,\n private httpClientService: HttpClientService,\n private utilityService: UtilityService,\n private adobeAnalyticsService: AdobeAnalyticsService\n ) { }\n\n\n processOrder(model: ReviewOrderProductModel) {\n\n const requestBody = this.buildRequest(model);\n\n if (model.type === 'RemoveAll') {\n return this.httpClientService.authorizedRequest(\n this.utilityService.getEnvConfig().cartOrderUrl, 'delete',\n requestBody)\n .pipe(\n map((resp: HttpResponse) => {\n this.httpClientService.updateAuthorizationHeaders(resp);\n return resp.body;\n })\n ,catchError( this.handleError ));\n } else if (model.type === 'Increase' || model.type === 'Decrease') {\n return this.httpClientService.authorizedPut(\n this.utilityService.getEnvConfig().cartOrderUrl,\n requestBody)\n .pipe(\n map((resp: HttpResponse) => {\n this.httpClientService.updateAuthorizationHeaders(resp);\n return resp.body;\n })\n ,catchError( this.handleError ));\n } else if (model.type === 'DiffCTN') {\n return this.httpClientService.authorizedPost(\n this.utilityService.getEnvConfig().cartOrderUrl,\n requestBody)\n .pipe(\n map((resp: HttpResponse) => {\n this.httpClientService.updateAuthorizationHeaders(resp);\n return resp.body;\n })\n ,catchError( this.handleError ));\n } else if (model.type === 'changeProduct') {\n return this.httpClientService.authorizedPost(\n this.utilityService.getEnvConfig().changeCartOrderUrl,\n requestBody)\n .pipe(\n map((resp: HttpResponse) => {\n this.httpClientService.updateAuthorizationHeaders(resp);\n return resp.body;\n })\n ,catchError( this.handleError ));\n }\n\n }\n\n buildRequest(requestModel: ReviewOrderProductModel) {\n let requestBody: any;\n const model = Object.assign(new ReviewOrderProductModel(), requestModel);\n model.ctn = model.ctn.replace(/\\./g, '');\n requestBody = {\n paymentDetails: {\n btmPaymentMethod: {\n fan: model.fan,\n billingCTN: model.ctn\n }\n },\n subscriptionId: model.subscriptionId\n };\n\n if (model.type === 'Increase' || model.type === 'Decrease') {\n requestBody.modificationType = model.type;\n requestBody.currentQuantity = model.initialLicense;\n }\n\n if (model.type === 'changeProduct') {\n requestBody.lineItems = model.lineItems;\n requestBody.orderServiceType = 'changeProduct';\n requestBody.paymentDetails.btmPaymentMethod.billingCTN = model.ctn;\n\n } else if (model.type === 'DiffCTN') {\n requestBody.paymentDetails.btmPaymentMethod.billingCTN = model.ctn;\n requestBody.quantity = model.modifiedLicense;\n requestBody.dcmCode = model.serviceOfferCode;\n } else {\n requestBody.quantity = model.modifiedLicense;\n requestBody.dcmCode = model.serviceOfferCode;\n }\n\n return requestBody;\n\n }\n\n // modify lisence adobe analytics call\n // tslint:disable-next-line:max-line-length\n createModifyLicenseProperties(type: string, totalQty: number, dcmCode: string, priceMonthly: number, estimatedDiscount: number, status: string, event: string,\n orderNo?: string, errorCode?: string, errorText?: string) {\n this.dataLayer = {};\n if (type === 'Increase') {\n this.dataLayer[ANALYTICS_CONSTANTS.EVENT_EVENT_CODE] = ANALYTICS_CONSTANTS.EVENT_CODE_INCREASE_LICENSE;\n this.dataLayer[ANALYTICS_CONSTANTS.EVENT_FLOW_CODE] = ANALYTICS_CONSTANTS.FLOW_CODE_LICENSE_MANAGEMNET_INCREASE;\n } else if (type === 'Decrease') {\n this.dataLayer[ANALYTICS_CONSTANTS.EVENT_EVENT_CODE] = ANALYTICS_CONSTANTS.EVENT_CODE_DECREASE_LICENSE;\n this.dataLayer[ANALYTICS_CONSTANTS.EVENT_FLOW_CODE] = ANALYTICS_CONSTANTS.FLOW_CODE_LICENSE_MANAGEMNET_DECREASE;\n } else {\n this.dataLayer[ANALYTICS_CONSTANTS.EVENT_EVENT_CODE] = ANALYTICS_CONSTANTS.EVENT_CODE_REMOVEALL_LICENSE;\n this.dataLayer[ANALYTICS_CONSTANTS.EVENT_FLOW_CODE] = 'BC~LicenseManagement~Remove';\n }\n if (orderNo) {\n this.dataLayer[ANALYTICS_CONSTANTS.EVENT_ORDER_ID] = orderNo;\n }\n if (status === 'SUCCESS') {\n this.dataLayer[ANALYTICS_CONSTANTS.EVENT_ITEMS] = [];\n if (type === 'Increase' || type === 'Decrease') {\n const item = { itemQty: 0, itemSku: undefined, priceMonthly: undefined };\n item.itemQty = totalQty;\n item.itemSku = dcmCode;\n item.priceMonthly = priceMonthly.toFixed(2);\n if (estimatedDiscount > 0) {\n item['discountAmount'] = estimatedDiscount.toFixed(2);\n }\n this.dataLayer[ANALYTICS_CONSTANTS.EVENT_ITEMS].push(item);\n } else {\n const item = { itemQty: 0, itemSku: undefined, priceMonthly: undefined };\n item.itemQty = totalQty;\n item.itemSku = dcmCode;\n item.priceMonthly = priceMonthly.toFixed(2);\n this.dataLayer[ANALYTICS_CONSTANTS.EVENT_ITEMS].push(item);\n }\n this.dataLayer[ANALYTICS_CONSTANTS.EVENT_SUCCESS_FLAG] = ANALYTICS_CONSTANTS.EVENTS_SUCCESSFLAG_1;\n this.dataLayer[ANALYTICS_CONSTANTS.EVENT_ERROR_TYPE] = ANALYTICS_CONSTANTS.EVENT_ERROR_SUCCESS_TYPE;\n this.dataLayer[ANALYTICS_CONSTANTS.EVENT_STATUS_CODE] = ANALYTICS_CONSTANTS.EVENTS_SUCCESSFLAG_0;\n } else {\n this.dataLayer[ANALYTICS_CONSTANTS.EVENT_SUCCESS_FLAG] = ANALYTICS_CONSTANTS.EVENTS_SUCCESSFLAG_0;\n this.dataLayer[ANALYTICS_CONSTANTS.EVENT_ERROR_TYPE] = ANALYTICS_CONSTANTS.EVENT_ERROR_FAILURE_TYPE_FAILURE_SYSTEM;\n this.dataLayer[ANALYTICS_CONSTANTS.EVENT_STATUS_CODE] = errorCode;\n // this.dataLayer[ANALYTICS_CONSTANTS.EVENT_STATUS_MESSAGE] = errorText;\n }\n\n if (type === 'Increase') {\n this.adobeAnalyticsService.tag('event', this.dataLayer, ANALYTICS_CONSTANTS.EVENT_CODE_INCREASE_LICENSE, event);\n } else if (type === 'Decrease') {\n this.adobeAnalyticsService.tag('event', this.dataLayer, ANALYTICS_CONSTANTS.EVENT_CODE_DECREASE_LICENSE, event);\n } else {\n this.adobeAnalyticsService.tag('event', this.dataLayer, ANALYTICS_CONSTANTS.EVENT_CODE_REMOVEALL_LICENSE, event);\n }\n }\n\n handleError = (error) => {\n return throwError(error);\n }\n // tslint:disable-next-line:max-line-length\n createPageLoadProperties(url: string, fan, ctn, title: string, friendlyPageName: string, skuCode: string, pageType: string, key?: string) {\n this.dataLayer = {};\n if (key !== undefined && key === 'virtual') {\n this.dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_LOCATION_URL] = ANALYTICS_CONSTANTS.ENVIRONMENT_URL + url;\n }\n this.dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FRIENDLY_PAGE_NAME] = friendlyPageName;\n if (pageType === 'Increase' || pageType === 'DiffCTN') {\n this.dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FLOW_CODE] = ANALYTICS_CONSTANTS.FLOW_CODE_LICENSE_MANAGEMNET_INCREASE;\n } else if (pageType === 'Decrease') {\n this.dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FLOW_CODE] = ANALYTICS_CONSTANTS.FLOW_CODE_LICENSE_MANAGEMNET_DECREASE;\n } else if (pageType === 'RemoveAll') {\n this.dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FLOW_CODE] = ANALYTICS_CONSTANTS.FLOW_CODE_LICENSE_MANAGEMNET_REMOVE;\n } else if (pageType === 'changeProduct') {\n this.dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FLOW_CODE] = ANALYTICS_CONSTANTS.FLOW_CODE_CHANGE_PRODUCT;\n } else {\n this.dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FLOW_CODE] = ANALYTICS_CONSTANTS.FLOW_CODE_CHECKOUT;\n }\n\n this.dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_LANGUAGE] = 'EN';\n this.dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_LOGIN_SOURCE] = 'shoplogin';\n this.dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_PAGE_FUNCTION] = 'Service';\n this.dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_ABS_CHECKOUT_STEP] = title;\n if (fan !== '') {\n this.dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_FAN] = fan;\n }\n if (ctn !== '') {\n this.dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_CTN] = ctn.replace(/\\./g, '');\n }\n this.dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_SKU] = skuCode; \n this.adobeAnalyticsService.tag('page', this.dataLayer, 'Page_Load', 'pageLoad');\n }\n\n // to get tnc\n getServiceProdTnc() {\n return this.httpClientService.authorizedGet(this.utilityService.getEnvConfig().productTncUrl)\n .pipe(\n map((res: HttpResponse) => {\n this.httpClientService.updateAuthorizationHeaders(res);\n return res.body;\n }\n )\n ,catchError( this.handleError ));\n }\n\n}\n","import { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { throwError } from 'rxjs';\n\n\n\nimport { HttpClient, HttpResponse, HttpHeaders } from '@angular/common/http';\nimport { HttpClientService, UtilityService, AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';\nimport {\n USER_PRODUCT_ACCEPT, USER_PRODUCT_RETURN_TYPE, USER_PRODUCT_CTO_REQUESTID, USER_PRODUCT_CTO_TRACKID,\n USER_PRODUCT_CTO_SESS\n} from '../../manage-product.config';\nimport { ANALYTICS_CONSTANTS } from 'config';\ndeclare var ENV_PORTAL;\n@Injectable()\nexport class UserListService {\n\n constructor(private http: HttpClient, private httpClientService: HttpClientService,\n private utilityService: UtilityService,\n private adobeAnalyticsService: AdobeAnalyticsService) { }\n\n userProductDetails(requestUrl, requestInfoObj) {\n return this.httpClientService.authorizedPut(requestUrl, requestInfoObj)\n .pipe(\n map((resp: HttpResponse) => {\n this.httpClientService.updateAuthorizationHeaders(resp);\n return resp.body;\n })\n ,catchError( this.handleError ));\n }\n\n fetchGridData(dataurl) {\n return this.httpClientService.get(dataurl)\n .pipe(\n map((res: HttpResponse) => {\n this.httpClientService.updateAuthorizationHeaders(res);\n return res.body;\n })\n ,catchError( this.handleError ));\n }\n\n unAssignUser(url, companyId, reqObj) {\n const headers = new HttpHeaders();\n const unAssignUrl = url + companyId + '/licenses/bulk';\n return this.httpClientService.authorizedPut(unAssignUrl, reqObj, headers)\n .pipe(\n map((res: HttpResponse) => {\n this.httpClientService.updateAuthorizationHeaders(res);\n return res.body;\n }\n )\n ,catchError( this.handleError ));\n }\n\n setUpdateProduct(url, data) {\n const descObj = {};\n descObj['name'] = data.productDesc;\n const newUrl = url + data.clientId;\n return this.httpClientService.authorizedPatch(newUrl, descObj)\n .pipe(\n map((res: HttpResponse) => {\n this.httpClientService.updateAuthorizationHeaders(res);\n return res.body;\n }\n ),catchError( this.handleError ));\n }\n\n\n handleError = (error) => {\n return throwError(error);\n }\n\n getProdutPriceDetails(dcmCode: string, ctnNumber: string) {\n const requestObject = {};\n requestObject['credentialType'] = 'MOBILEIDENTIFIER';\n requestObject['credentialId'] = ctnNumber;\n requestObject['dcmCode'] = dcmCode;\n return this.httpClientService.authorizedPost(this.utilityService.getEnvConfig().getProductAndPriceDetailsFromCSI,\n requestObject).pipe(\n map((res: HttpResponse) => {\n this.httpClientService.updateAuthorizationHeaders(res.body);\n return res.body;\n }),catchError( this.handleError ));\n };\n\n // Page Load\n createPageLoadProperties(dcmcodes, url: string, title: string) {\n const dataLayer = {};\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FRIENDLY_PAGE_NAME] = ANALYTICS_CONSTANTS.FRIENDLY_NAME_SINGLE_PRODUCT;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FLOW_CODE] = ANALYTICS_CONSTANTS.FLOW_CODE_MANAGE_USERS;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_LANGUAGE] = 'EN';\n let sku;\n for (const lineItem of dcmcodes) {\n sku = (sku === undefined) ? lineItem : sku + '|' + lineItem;\n }\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_SKU] = sku;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_LOGIN_SOURCE] = 'shoplogin';\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_PAGE_FUNCTION] = 'Service';\n this.adobeAnalyticsService.tag('page', dataLayer, 'Page_Load', 'pageLoad');\n }\n}\n","import { Component, OnInit } from '@angular/core';\r\nimport { map, catchError } from 'rxjs/operators';\r\nimport { Router, ActivatedRoute } from '@angular/router';\r\nimport { FormGroup, FormControl } from '@angular/forms';\r\nimport { StepIndicatorService } from 'lib/ng2-sapmp/src/ui-components/step-indicator';\r\nimport { BreadCrumbService } from 'lib/ng2-sapmp/src/ui-components/breadcrumb';\r\nimport { UserWizardService, AuthenticationService, UtilityService } from 'lib/ng2-sapmp/src/providers';\r\nimport { UserWizardModel, UserProfileModel } from 'lib/ng2-sapmp/src/models';\r\nimport { UserWizardDataService } from './../users-wizard-data-service';\r\nimport { ANALYTICS_CONSTANTS, PIVOTS } from 'config';\r\nimport { PageLoaderService } from 'lib/ng2-sapmp/src/ui-components/page-loader';\r\nimport { RequestModel } from './request-model';\r\nimport { MobilePivotModel } from 'lib/ng2-sapmp/src/ui-components/mobile-pivot/mobile-pivot.model';\r\n\r\n@Component({\r\n selector: 'app-manage-users-action',\r\n providers: [UserWizardDataService],\r\n templateUrl: './action.component.html',\r\n styleUrls: ['./../manage-users.component.scss']\r\n})\r\nexport class ActionComponent implements OnInit {\r\n actionForm: FormGroup;\r\n actionValid: boolean;\r\n userWizardModel: UserWizardModel = null;\r\n pivots: Array;\r\n user: UserProfileModel;\r\n requestModel: RequestModel;\r\n errorMessage: string;\r\n errorFlag = false;\r\n actionAssignUnassign = false;\r\n parentUrl: string;\r\n\r\n constructor(\r\n private router: Router,\r\n private activatedRoute: ActivatedRoute,\r\n private stepindicatorService: StepIndicatorService,\r\n private userWizardService: UserWizardService, private pageloaderService: PageLoaderService,\r\n private userWizardDataService: UserWizardDataService, private breadCrumbService: BreadCrumbService,\r\n private authenticationService: AuthenticationService, private utilityService: UtilityService\r\n ) {\r\n this.actionValid = false;\r\n this.pivots = new Array();\r\n }\r\n\r\n ngOnInit() {\r\n this.pageloaderService.setPageLoaderStatus(false);\r\n // this.parentUrl = this.utilityService.getParentUrl(this.router.url);\r\n this.authenticationService.setLoginSuccessUrl(this.router.routerState.snapshot.url);\r\n if (sessionStorage.getItem('assign-wizard') === null) {\r\n this.router.navigate(['/home']);\r\n } else {\r\n document.title = this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url];\r\n this.stepindicatorService.setCurrentStep(this.activatedRoute.snapshot.url[0].path);\r\n this.userWizardModel = this.userWizardService.fetchSessionData();\r\n const url = this.breadCrumbService.filterCurrentUrl(this.userWizardModel.previousUrl);\r\n const pivotUrl = '/' + url;\r\n if (PIVOTS[pivotUrl]) {\r\n this.pivots.push({ label: PIVOTS[pivotUrl], routerLink: this.userWizardModel.previousUrl });\r\n }\r\n this.pivots.push({ label: 'Console dashboard', routerLink: '/dashboard' });\r\n this.userWizardService.setPivot(this.pivots);\r\n\r\n const actionType = this.userWizardModel.actionType === undefined ? 'ASSIGN' : this.userWizardModel.actionType;\r\n this.actionForm = new FormGroup({\r\n userAction: new FormControl(actionType),\r\n });\r\n this.breadCrumbService.getLastUrlFromBreadCrumb();\r\n this.userWizardDataService.createPageLoadProperties([], this.router.routerState.snapshot.url,\r\n 'Manageusers Page - Step1', ANALYTICS_CONSTANTS.FRIENDLY_NAME_MANAGE_USER_ACTION);\r\n if (this.userWizardModel.actionType) {\r\n this.userWizardService.setMessage(this.userWizardModel.actionType === 'ASSIGN' ? 'Assign licenses' : 'Un-assign licenses');\r\n } else {\r\n this.userWizardService.setMessage('Assign or un-assign licenses');\r\n }\r\n this.userWizardDataService.tokenRefresh();\r\n }\r\n this.requestModel = new RequestModel();\r\n this.requestModel.fetchCriteria = {\r\n 'class': 'API::SepPagingLoadConfig', 'limit': 10, 'offset': 0,\r\n 'sortDir': 'DESC', 'sortField': 'name'\r\n };\r\n this.requestModel.class = 'API::ServiceOfferingCriteria';\r\n this.requestModel.excludeAddons = true;\r\n this.user = JSON.parse(sessionStorage.getItem('user')).user;\r\n this.userWizardDataService.getProductDetails(this.user.companyId, this.requestModel).subscribe(response => {\r\n if (response && response.totalLength === 0) {\r\n this.pageloaderService.setPageLoaderStatus(true);\r\n this.errorFlag = true;\r\n this.userWizardModel = null;\r\n this.actionAssignUnassign = false;\r\n // this.errorMessage = 'No product licenses are available to ';\r\n } else {\r\n this.pageloaderService.setPageLoaderStatus(true);\r\n this.actionAssignUnassign = true;\r\n }\r\n\r\n\r\n }, error => {\r\n this.pageloaderService.setPageLoaderStatus(true);\r\n this.errorMessage = 'We couldn\\'t complete your request. Please try again later.';\r\n\r\n });\r\n }\r\n\r\n goToNextStep(value) {\r\n if ((this.userWizardModel.actionType) && (this.userWizardModel.actionType !== value)) {\r\n delete this.userWizardModel.productList;\r\n delete this.userWizardModel.selectedProductList;\r\n }\r\n this.userWizardModel.actionType = value;\r\n delete this.userWizardModel.userList;\r\n delete this.userWizardModel.selectedUserList;\r\n delete this.userWizardModel.selectedUsersIds;\r\n this.userWizardService.addProductList(this.userWizardModel);\r\n this.router.navigate(['/manageUsers/products'], { relativeTo: this.activatedRoute });\r\n }\r\n\r\n cancel() {\r\n /*if (this.userWizardModel.createUser) {\r\n this.breadCrumbService.removeLastBreadCrumb();\r\n }*/\r\n this.breadCrumbService.removeLastBreadCrumb();\r\n this.stepindicatorService.removeStep('manageUsers');\r\n this.userWizardDataService.cancel(this.userWizardModel.previousUrl);\r\n }\r\n\r\n private getPreviousUrlPath() {\r\n return sessionStorage.getItem('previousRoute');\r\n }\r\n goToBulkUpload() {\r\n this.utilityService.setSuccessMessage(undefined);\r\n sessionStorage.setItem('bulk-sourcePreviousRoute', this.userWizardModel.previousUrl);\r\n this.stepindicatorService.removeStep('bulkUsers');\r\n this.breadCrumbService.removeLastBreadCrumb();\r\n this.router.navigate(['/bulkUsers']);\r\n }\r\n\r\n goToAddUserPage() {\r\n this.userWizardModel.createUser = true;\r\n this.userWizardService.addProductList(this.userWizardModel);\r\n this.breadCrumbService.removeLastBreadCrumb();\r\n this.router.navigate(['/user/add']);\r\n }\r\n}\r\n","
\r\n
\r\n
\r\n \r\n
\r\n
\r\n

You don't have any active licensed products.

\r\n\t

Shop now to add new products.

\r\n

Error!

\r\n

{{ this.errorMessage }}

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

Select an action

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

Need to add users?

\r\n

Create a single user |\r\n Add multiple users\r\n

\r\n
\r\n
\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 * from './action.component';\n","export class RequestModel {\n class: string;\n fetchCriteria: any;\n brokerAccountClientIds: any;\n serviceOfferCodes: any;\n excludeProductsWithZeroAvailableLicenses: boolean;\n billingClientId: string;\n serviceStatus: string;\n catalogStatus: string;\n excludeAddons: boolean;\n withAvailableLicenses: boolean;\n withAssignedLicenses: boolean;\n constructor() {\n this.fetchCriteria = {};\n this.brokerAccountClientIds = undefined;\n this.serviceOfferCodes = undefined;\n this.class = undefined;\n this.excludeProductsWithZeroAvailableLicenses = undefined;\n this.billingClientId = undefined;\n this.serviceStatus = undefined;\n this.catalogStatus = undefined;\n this.excludeAddons = undefined;\n this.withAvailableLicenses = undefined;\n this.withAssignedLicenses = undefined;\n }\n}\n","export * from './action';\nexport * from './products';\nexport * from './review';\nexport * from './users';\nexport * from './shared';\nexport * from './manage-users.component';\nexport * from './users-wizard-data-service';\n","import { ActivatedRoute, Router } from '@angular/router';\nimport { Component, OnInit } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { BREADCRUMBS } from 'config';\nimport { BreadCrumbModel, BreadCrumbService } from 'lib/ng2-sapmp/src/ui-components/breadcrumb';\nimport { UserWizardService } from 'lib/ng2-sapmp/src/providers';\nimport { StepIndicatorModel, StepIndicatorService } from 'lib/ng2-sapmp/src/ui-components/step-indicator';\nimport { STEPINDICATORS } from 'config';\nimport { MobilePivotModel } from 'lib/ng2-sapmp/src/ui-components/mobile-pivot';\n\n@Component({\n selector: 'app-manage-users',\n providers: [StepIndicatorService],\n templateUrl: './manage-users.component.html',\n styleUrls: ['./manage-users.component.scss']\n})\nexport class ManageUsersComponent implements OnInit {\n\n breadCrumbs: BreadCrumbModel[];\n steps: StepIndicatorModel[];\n stepSessionName: string;\n singleBreadCrumb: BreadCrumbModel;\n title: string;\n pivots: Array;\n\n constructor(private router: Router,\n private activatedRoute: ActivatedRoute, private stepIndicatorService: StepIndicatorService,\n private breadCrumbService: BreadCrumbService, private userWizardService: UserWizardService) {\n this.stepSessionName = 'manageUsers';\n this.singleBreadCrumb = new BreadCrumbModel();\n this.pivots = new Array();\n }\n\n ngOnInit() {\n this.userWizardService.getMessage().subscribe(\n (res: string) => {\n this.title = res;\n }\n );\n\n this.userWizardService.getPivot().subscribe(\n (res: Array) => {\n this.pivots = res;\n }\n );\n this.breadCrumbService.setCurrentBreadCrumb({ label: 'Assign or un-assign licenses', routerLink: '/manageUsers/action' });\n document.title = 'AT&T Business Console - Checkout - Terms and Conditions';\n this.steps = STEPINDICATORS.manageUsers.slice();\n if (this.stepIndicatorService.getSteps(this.stepSessionName) === null) {\n this.stepIndicatorService.setSteps(this.steps, this.stepSessionName);\n }\n this.steps = this.stepIndicatorService.getSteps(this.stepSessionName);\n }\n}\n","
\n \n \n

{{title}}

\n \n \n
\n","export * from './products.component';\n","import { Component, OnInit, OnDestroy } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { Router, ActivatedRoute } from '@angular/router';\n\nimport { StepIndicatorService } from 'lib/ng2-sapmp/src/ui-components/step-indicator';\nimport { BreadCrumbService } from 'lib/ng2-sapmp/src/ui-components/breadcrumb';\nimport { AdobeAnalyticsService, AuthenticationService, UtilityService } from 'lib/ng2-sapmp/src/providers';\nimport { UserWizardService } from 'lib/ng2-sapmp/src/providers';\nimport { UserWizardModel, UserProfileModel } from 'lib/ng2-sapmp/src/models';\nimport { UserWizardDataService } from './../users-wizard-data-service';\nimport { UserWizardProductModel, ProductModel } from './../shared';\nimport { DropdownModel } from 'lib/ng2-sapmp/src/ui-components/dropdown';\nimport { RequestModel } from './request-model';\nimport { PageLoaderService } from 'lib/ng2-sapmp/src/ui-components/page-loader';\nimport { ANALYTICS_CONSTANTS, PIVOTS } from 'config';\nimport { MobilePivotModel } from 'lib/ng2-sapmp/src/ui-components/mobile-pivot/mobile-pivot.model';\n\ndeclare var logoutCurrentUser: any;\n\n@Component({\n selector: 'app-manage-products-action',\n providers: [UserWizardDataService],\n templateUrl: './products.component.html',\n styleUrls: ['./../manage-users.component.scss']\n})\nexport class ProductsComponent implements OnInit, OnDestroy {\n userWizardModel: UserWizardModel;\n userWizardProductModel: UserWizardProductModel;\n selectedDropDown: DropdownModel[];\n productModel: ProductModel;\n productModelList: ProductModel[];\n isContinueValid: boolean;\n errorMessage: string;\n requestModel: RequestModel;\n user: UserProfileModel;\n pivots: Array;\n isProductAvailable: boolean;\n errorFlag = false;\n constructor(\n private router: Router,\n private activatedRoute: ActivatedRoute,\n private stepindicatorService: StepIndicatorService,\n private userWizardService: UserWizardService,\n private utilityService: UtilityService,\n private userWizardDataService: UserWizardDataService,\n private breadCrumbService: BreadCrumbService, private pageloaderService: PageLoaderService,\n private adobeAnalyticsService: AdobeAnalyticsService,\n private authenticationService: AuthenticationService) {\n this.userWizardProductModel = new UserWizardProductModel();\n this.userWizardModel = new UserWizardModel();\n this.productModelList = [];\n this.isContinueValid = false;\n this.pivots = new Array();\n }\n\n\n // Data From Session --> this.userWizardModel\n // List of available products ---> this.userWizardProductModel\n\n ngOnInit() {\n this.authenticationService.setLoginSuccessUrl(this.router.routerState.snapshot.url);\n if (sessionStorage.getItem('assign-wizard') === null || !!!this.userWizardService.fetchSessionData().actionType) {\n this.router.navigate(['/home']);\n } else {\n // document.title = 'AT&T Business Console - Manage users - Products';\n document.title = this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url];\n this.pageloaderService.setPageLoaderStatus(false);\n this.stepindicatorService.setCurrentStep(this.activatedRoute.snapshot.url[0].path);\n this.userWizardModel = this.userWizardService.fetchSessionData();\n if (PIVOTS[this.userWizardModel.previousUrl]) {\n this.pivots.push({ label: PIVOTS[this.userWizardModel.previousUrl], routerLink: this.userWizardModel.previousUrl });\n }\n this.pivots.push({ label: 'Console dashboard', routerLink: '/dashboard' });\n this.userWizardService.setPivot(this.pivots);\n const message = this.userWizardModel.actionType === 'ASSIGN' ? 'Assign product licenses' : 'Un-assign product licenses';\n this.userWizardService.setMessage(message);\n this.user = JSON.parse(sessionStorage.getItem('user')).user;\n\n this.requestModel = new RequestModel();\n this.requestModel.fetchCriteria = {\n 'class': 'API::SepPagingLoadConfig', 'limit': 10, 'offset': 0,\n 'sortDir': 'DESC', 'sortField': 'name'\n };\n this.requestModel.class = 'API::ServiceOfferingCriteria';\n this.requestModel.excludeAddons = true;\n if (this.userWizardModel.actionType === 'ASSIGN') {\n this.requestModel.withAvailableLicenses = true;\n } else {\n this.requestModel.withAssignedLicenses = true;\n }\n // this.requestModel.excludeProductsWithZeroAvailableLicenses = true;\n // this.requestModel.catalogStatus = 'ACTIVE'; // ToDo finalized\n\n this.userWizardDataService.getProductDetails(this.user.companyId, this.requestModel).subscribe(response => {\n if (response && response.totalLength > 0) {\n this.isProductAvailable = true;\n this.userWizardModel.productList = response;\n this.userWizardProductModel = this.userWizardDataService.populateProductData(this.userWizardModel);\n if (this.userWizardModel.source === 'product') {\n if (this.userWizardModel.selectedProductList && this.userWizardModel.selectedProductList.length > 0) {\n this.populateSingleSelectedProductList();\n } else {\n this.populateSingleSelectedProduct();\n }\n } else if (this.userWizardModel.source === 'user') {\n this.populateHideSingleSelectedProductFromUser();\n if (this.userWizardModel.selectedProductList && this.userWizardModel.selectedProductList.length > 0) {\n this.populatePreSelectedProduct();\n }\n this.pageloaderService.setPageLoaderStatus(true);\n } else if (this.userWizardModel.selectedProductList && this.userWizardModel.selectedProductList.length > 0) {\n this.populatePreSelectedProduct();\n this.pageloaderService.setPageLoaderStatus(true);\n }\n this.isContinueButtonValid();\n if (this.userWizardModel.source === undefined) {\n this.pageloaderService.setPageLoaderStatus(true);\n }\n if (this.userWizardProductModel.product && this.userWizardProductModel.product.length > 0) {\n const isSelectedProductIndex = this.userWizardProductModel.product.filter(data => (data.isHidden));\n if (isSelectedProductIndex.length === this.userWizardProductModel.product.length) {\n this.errorMessage = 'No product licenses are available to '\n + (this.userWizardModel.actionType === 'ASSIGN' ? 'assign' : 'un-assign')\n + 'ed.';\n this.isProductAvailable = false;\n this.pageloaderService.setPageLoaderStatus(true);\n this.errorFlag = true;\n }\n }\n } else {\n if (response && response.totalLength === 0) {\n this.errorMessage = 'No product licenses are available to '\n + (this.userWizardModel.actionType === 'ASSIGN' ? 'assign' : 'un-assign')\n + 'ed.';\n this.isProductAvailable = false;\n this.errorFlag = true;\n }\n this.pageloaderService.setPageLoaderStatus(true);\n }\n }, error => {\n this.isProductAvailable = false;\n this.pageloaderService.setPageLoaderStatus(true);\n this.adobeAnalyticsService.CreateSeriveAlertProperties(error.status, error.statusText, 'formResponse');\n this.handleError(error);\n });\n this.userWizardDataService.createPageLoadProperties([],\n this.router.routerState.snapshot.url, 'Manageusers Page - Step2',\n ANALYTICS_CONSTANTS.FRIENDLY_NAME_MANAGE_USER_PRODUCTS);\n }\n }\n\n nextStep() {\n\n if (this.userWizardModel.selectedUserList) {\n let isAlreadySelectedProduct: boolean;\n\n isAlreadySelectedProduct = this.productModelList.length === this.userWizardModel.selectedProductList.length ? true : false;\n\n if (isAlreadySelectedProduct) {\n for (const currentlySelectedProduct of this.productModelList) {\n const sameData = this.userWizardModel.selectedProductList.filter(preSelectedProduct => (\n (preSelectedProduct.dcmCode === currentlySelectedProduct.dcmCode) &&\n (preSelectedProduct.selectedFan === currentlySelectedProduct.selectedFan) &&\n (preSelectedProduct.selectedCtn === currentlySelectedProduct.selectedCtn)));\n if (sameData.length === 0) {\n isAlreadySelectedProduct = false;\n break;\n }\n }\n }\n if (!isAlreadySelectedProduct) {\n console.log('Deleted');\n delete this.userWizardModel.userList;\n delete this.userWizardModel.selectedUserList;\n delete this.userWizardModel.selectedUsersIds;\n }\n }\n /* let tempObject = Object.create(this.productModelList[0]);\n tempObject['dcmCode'] ='AMSFL010';\n tempObject['productName'] ='Pipedrive - Silver';\n tempObject['clientId'] ='ldc6iuFQcvupORlZ1A9ZlMErgiF07kMPaR87';\n this.productModelList.push(tempObject); */\n this.userWizardModel.selectedProductList = [];\n this.userWizardModel.selectedProductList = (this.productModelList);\n this.userWizardService.addProductList(this.userWizardModel);\n this.router.navigate(['/manageUsers/users'], { relativeTo: this.activatedRoute });\n }\n\n cancel() {\n // this.stepindicatorService.removeStep('manageUsers');\n // this.userWizardDataService.cancel(this.userWizardModel.previousUrl);\n this.router.navigate(['/manageUsers/action'], { relativeTo: this.activatedRoute });\n }\n\n private getProductsDetial(checked, rowIndex) {\n if (checked) {\n this.pageloaderService.setPageLoaderStatus(false);\n this.userWizardProductModel.product[rowIndex].isChecked = checked;\n\n this.userWizardDataService.getFanAndCtnList('', this.user.companyId,\n this.userWizardProductModel.product[rowIndex].dcmCode).subscribe(response => {\n let productModelObject = new ProductModel();\n productModelObject = this.userWizardDataService.populateFan(this.userWizardProductModel.product[rowIndex], response,\n this.userWizardProductModel.product[rowIndex].dcmCode, this.userWizardModel.actionType);\n this.userWizardProductModel.product[rowIndex] = productModelObject;\n // tslint:disable-next-line:max-line-length\n if ((response && response.accountSummaries && response.accountSummaries.length === 0) || (this.userWizardProductModel.product[rowIndex].fan.length === 1)) {\n this.addDisabledProperty(rowIndex);\n }\n this.pageloaderService.setPageLoaderStatus(true);\n }, error => {\n this.pageloaderService.setPageLoaderStatus(true);\n this.adobeAnalyticsService.CreateSeriveAlertProperties(error.status, error.statusText, 'formResponse');\n this.handleError(error);\n });\n } else {\n this.removeSelectedProduct(this.userWizardProductModel.product[rowIndex].dcmCode);\n this.userWizardProductModel.product[rowIndex].isChecked = checked;\n this.userWizardProductModel.product[rowIndex].selectedFan = 'Select';\n this.userWizardProductModel.product[rowIndex].selectedCtn = 'Select';\n this.userWizardProductModel.product[rowIndex].ctnMapObject = undefined;\n this.userWizardProductModel.product[rowIndex].fan = [];\n this.userWizardProductModel.product[rowIndex].ctn = [];\n }\n this.isContinueButtonValid();\n }\n\n private selectedFanDropDown(selectedValue: DropdownModel, rowIndex) {\n this.userWizardProductModel.product[rowIndex].selectedFan = selectedValue.value;\n this.userWizardProductModel.product[rowIndex].selectedCtn = 'Select';\n if (selectedValue.value !== 'Select') {\n this.getCtnListBasedOnFan(selectedValue.value, this.userWizardProductModel.\n product[rowIndex].ctnMapObject, rowIndex);\n }\n this.removeSelectedProduct(this.userWizardProductModel.product[rowIndex].dcmCode);\n this.isContinueButtonValid();\n }\n\n private selectedCtnDropDown(ctnSelectedValue: DropdownModel, rowIndex) {\n this.userWizardProductModel.product[rowIndex].selectedCtn = ctnSelectedValue.value;\n if (ctnSelectedValue.value !== 'Select') {\n this.getClientID(this.userWizardProductModel.product[rowIndex].selectedFan, ctnSelectedValue.name,\n this.userWizardProductModel.product[rowIndex].dcmCode, rowIndex);\n } else {\n this.userWizardProductModel.product[rowIndex].clientId = '';\n this.removeSelectedProduct(this.userWizardProductModel.product[rowIndex].dcmCode);\n this.isContinueButtonValid();\n }\n }\n\n // Single product or Product management scenarios\n private populateSingleSelectedProduct() {\n let index = 0;\n for (const productModel of this.userWizardProductModel.product) {\n if (productModel.dcmCode === this.userWizardModel.product.dcmCode) {\n this.userWizardProductModel.product[index].isHidden = false;\n this.userWizardProductModel.product[index].selectedFan = this.userWizardModel.product.fan;\n this.userWizardProductModel.product[index].selectedCtn = this.userWizardModel.product.ctn;\n this.userWizardProductModel.product[index].clientId = this.userWizardModel.product.clientId;\n this.userWizardProductModel.product[index].totalLicensesAvailable = this.userWizardModel.product.totalLicensesAvailable;\n this.userWizardProductModel.product[index].licensegroupName = this.userWizardModel.product.licensegroupName;\n this.userWizardProductModel.product[index].totalLicensesInUse = this.userWizardModel.product.totalLicensesInUse;\n this.userWizardProductModel.product[index].fan = productModel.fan;\n this.userWizardProductModel.product[index].isChecked = true;\n this.userWizardProductModel.product[index].ctn = [];\n this.populateCtnListbasedonPrepopulatedFan(productModel.dcmCode, this.user.companyId, index);\n this.addSelectedProduct(productModel.dcmCode, index);\n } else {\n this.userWizardProductModel.product[index].isHidden = true;\n }\n index++;\n }\n }\n private populateSingleSelectedProductList() {\n const preSelectedProductList = this.userWizardModel.selectedProductList;\n let index = 0;\n for (const value of this.userWizardProductModel.product) {\n preSelectedProductList.forEach(selectedProduct => {\n if (value.dcmCode === selectedProduct.dcmCode) {\n this.userWizardProductModel.product[index] = Object.assign(new ProductModel(), selectedProduct);\n this.populateCtnListbasedonPrepopulatedFan(value.dcmCode, this.user.companyId, index);\n this.addSelectedProduct(selectedProduct.dcmCode, index);\n } else {\n this.userWizardProductModel.product[index].isHidden = true;\n }\n });\n index++;\n };\n }\n /**\n * This method purpose to hide already assigned Products\n */\n private populateHideSingleSelectedProductFromUser() {\n let index = 0;\n\n for (const existProductCode of this.userWizardModel.existingProducts) {\n index = 0;\n for (const productModel of this.userWizardProductModel.product) {\n if (productModel.dcmCode === existProductCode) {\n this.userWizardProductModel.product[index].isHidden = true;\n }\n index++;\n }\n }\n }\n\n private getCtnListBasedOnFan(fan: string, ctnMap, rowIndex: number) {\n try {\n if (ctnMap) {\n this.userWizardProductModel.product[rowIndex].ctn = this.userWizardDataService.populateCtnList\n (ctnMap.get(fan), this.userWizardModel.actionType);\n if (this.userWizardProductModel.product[rowIndex].selectedCtn !== 'Select') {\n const isCtnExist = this.userWizardProductModel.product[rowIndex].ctn.filter(data => (data.value ===\n this.userWizardProductModel.product[rowIndex].selectedCtn));\n if (isCtnExist.length === 0) {\n this.userWizardProductModel.product[rowIndex].selectedCtn = 'Select';\n this.userWizardProductModel.product[rowIndex].clientId = '';\n this.removeSelectedProduct(this.userWizardProductModel.product[rowIndex].dcmCode);\n this.isContinueButtonValid();\n }\n }\n }\n } catch (exception) {\n console.log(exception);\n }\n }\n\n private addSelectedProduct(dcmCode: string, rowIndex: number) {\n let isExist = new ProductModel();\n isExist = this.productModelList.find((data) => data.dcmCode === dcmCode);\n if (isExist) {\n let findIndex = 0;\n this.productModelList.forEach((data, index) => {\n if ((data.dcmCode === dcmCode)) {\n findIndex = index;\n }\n });\n this.productModelList[findIndex] = Object.assign(new ProductModel(), this.userWizardProductModel.product[rowIndex]);\n } else {\n this.productModel = Object.assign(new ProductModel(), this.userWizardProductModel.product[rowIndex]);\n this.productModelList.push(this.productModel);\n }\n }\n\n private removeSelectedProduct(dcmCode) {\n let removeIndex: number;\n this.productModelList.forEach((data, index) => {\n if ((data.dcmCode === dcmCode)) {\n removeIndex = index;\n }\n });\n if (removeIndex !== undefined) {\n this.productModelList.splice(removeIndex, 1);\n }\n }\n\n /** This method is Not applicable for Single Selected product or Product management scenarios and manage users\n * for already assigned product.\n **/\n private populatePreSelectedProduct() {\n const preSelectedProductList = this.userWizardModel.selectedProductList;\n let index = 0;\n for (const value of this.userWizardProductModel.product) {\n preSelectedProductList.forEach(selectedProduct => {\n if (value.dcmCode === selectedProduct.dcmCode) {\n this.userWizardProductModel.product[index] = Object.assign(new ProductModel(), selectedProduct);\n this.populateCtnListbasedonPrepopulatedFan(value.dcmCode, this.user.companyId, index);\n this.addSelectedProduct(selectedProduct.dcmCode, index);\n }\n });\n index++;\n };\n }\n private isContinueButtonValid() {\n const isChecked = this.userWizardProductModel.product.filter(data => ((data.isChecked))).length;\n if (isChecked) {\n this.isContinueValid = (this.productModelList.length === isChecked) ? true : false;\n } else {\n this.isContinueValid = false;\n }\n }\n\n private handleError = (error) => { // Arrow function is necessary as the context should be Parent class\n if (error) {\n if (error.status === 401) {\n this.errorMessage = 'Session expired.Please login again.';\n logoutCurrentUser(true);\n } else {\n this.errorMessage = 'We couldn\\'t complete your request. Please try again later.';\n }\n this.utilityService.loadFocusOnTop();\n } else {\n throw error;\n }\n }\n\n private populateCtnListbasedonPrepopulatedFan(dcmCode: string, companyId: string, rowIndex) {\n this.pageloaderService.setPageLoaderStatus(false);\n const value = this.userWizardDataService.getFanAndCtnList('', companyId, dcmCode);\n if (value) {\n value.subscribe(response => {\n let productModelObject = new ProductModel();\n productModelObject = this.userWizardDataService.populateFan(this.userWizardProductModel.product[rowIndex],\n response, this.userWizardProductModel.product[rowIndex].dcmCode, this.userWizardModel.actionType);\n this.userWizardProductModel.product[rowIndex] = productModelObject;\n // tslint:disable-next-line:max-line-length\n if ((response && response.accountSummaries && response.accountSummaries.length === 0) || (this.userWizardProductModel.product[rowIndex].fan.length === 1)) {\n this.addDisabledProperty(rowIndex);\n } else if (this.userWizardProductModel.product[rowIndex].selectedFan !== 'Select') {\n const isFanExist = this.userWizardProductModel.product[rowIndex].fan.filter(data => (data.value ===\n this.userWizardProductModel.product[rowIndex].selectedFan));\n if (isFanExist.length === 0) {\n this.userWizardProductModel.product[rowIndex].selectedFan = 'Select';\n this.userWizardProductModel.product[rowIndex].selectedCtn = 'Select';\n this.removeSelectedProduct(this.userWizardProductModel.product[rowIndex].dcmCode);\n this.isContinueButtonValid();\n }\n this.getCtnListBasedOnFan(this.userWizardProductModel.product[rowIndex].selectedFan, productModelObject.ctnMapObject, rowIndex);\n }\n this.pageloaderService.setPageLoaderStatus(true);\n }, error => {\n this.pageloaderService.setPageLoaderStatus(true);\n this.adobeAnalyticsService.CreateSeriveAlertProperties(error.status, error.statusText, 'formResponse');\n this.handleError(error);\n });\n }\n }\n\n private getClientID(fan: string, billingClientId: string, dcmCode: string, rowIndex) {\n this.pageloaderService.setPageLoaderStatus(false);\n this.requestModel = new RequestModel();\n this.requestModel.fetchCriteria = { 'limit': 20, 'offset': 0, 'sortDir': 'ASC', 'sortField': 'serviceOfferingName' };\n this.requestModel.serviceStatus = 'ACTIVE';\n this.requestModel.brokerAccountClientIds = [];\n this.requestModel.brokerAccountClientIds.push(fan);\n this.requestModel.serviceOfferCodes = [];\n this.requestModel.serviceOfferCodes.push(dcmCode);\n this.requestModel.billingClientId = billingClientId;\n this.userWizardDataService.getClientId(this.requestModel, this.user.companyId).subscribe(response => {\n if (response && response.dataJson) {\n const clientObj = this.userWizardDataService.populateClientId(response);\n console.log('clientId--------------' + clientObj.clientId + '------------totalLicensesAvailable------'\n + clientObj.availabilityCount);\n if (clientObj) {\n this.userWizardProductModel.product[rowIndex].clientId = clientObj.clientId;\n this.userWizardProductModel.product[rowIndex].totalLicensesAvailable = clientObj.availabilityCount;\n this.userWizardProductModel.product[rowIndex].licensegroupName = clientObj.licensegroupName;\n this.userWizardProductModel.product[rowIndex].totalLicensesInUse = clientObj.licenseInUse;\n this.addSelectedProduct(this.userWizardProductModel.product[rowIndex].dcmCode, rowIndex);\n } else {\n this.removeSelectedProduct(this.userWizardProductModel.product[rowIndex].dcmCode);\n }\n } else {\n this.removeSelectedProduct(this.userWizardProductModel.product[rowIndex].dcmCode);\n }\n this.isContinueButtonValid();\n this.pageloaderService.setPageLoaderStatus(true);\n }, error => {\n this.removeSelectedProduct(this.userWizardProductModel.product[rowIndex].dcmCode);\n this.isContinueButtonValid();\n this.pageloaderService.setPageLoaderStatus(true);\n this.adobeAnalyticsService.CreateSeriveAlertProperties(error.status, error.statusText, 'formResponse');\n this.handleError(error);\n });\n }\n\n private redirectToBuyNow(product: any) {\n sessionStorage.removeItem('mappingFanData');\n const license = { 'key': product.productName, 'serviceOfferCode': product.dcmCode };\n sessionStorage.setItem('mappingFanData', JSON.stringify(license));\n sessionStorage.removeItem('assign-wizard');\n const rowIndex = this.breadCrumbService.getBreadCrumbs().findIndex((data) => (data.routerLink === '/manage'));\n if (rowIndex !== undefined && rowIndex !== null && rowIndex > 0) {\n this.breadCrumbService.removeSessionBreadCrumbProperty(rowIndex + 1);\n } else {\n this.breadCrumbService.removeLastBreadCrumb();\n }\n this.router.navigate(['/licensesBuyProduct']);\n }\n\n private addDisabledProperty(rowIndex) {\n this.removeSelectedProduct(this.userWizardProductModel.product[rowIndex].dcmCode);\n this.userWizardProductModel.product[rowIndex].isDisabled = true;\n this.userWizardProductModel.product[rowIndex].isChecked = false;\n this.userWizardProductModel.product[rowIndex].selectedFan = 'Select';\n this.userWizardProductModel.product[rowIndex].selectedCtn = 'Select';\n this.userWizardProductModel.product[rowIndex].ctnMapObject = undefined;\n this.userWizardProductModel.product[rowIndex].fan = [];\n this.userWizardProductModel.product[rowIndex].ctn = [];\n this.isContinueButtonValid();\n }\n\n ngOnDestroy() {\n this.pageloaderService.setPageLoaderStatus(true);\n }\n}\n","
\n
\n
\n \n
\n
\n

No licenses available

\n

Error!

\n

{{ this.errorMessage }}

\n
\n
\n
\n
\n
\n
\n
\n

\n

Selected product

\n \n
\n
\n \n

\n

Select products

\n \n
\n

The following products have licenses that are not yet assigned to users.

\n
    \n
  • If you select multiple products, you can only assign the licenses to one user.
  • \n
  • If you select a single product, you can assign licenses for that product to multiple users.
  • \n
\n
\n
\n

The following products have licenses assigned to users.

\n
    \n
  • If you select a single product, you can un-assign licenses for that product from multiple users.
  • \n
  • If you select multiple products, you can only un-assign licenses from one user.
  • \n
\n
\n
\n
\n
\n \n
0\">\n
\n
\n \n \n
\n
\n
\n
\n \n \n
\n
\n
\n
\n

Another administrator in your organization has already purchased this product. However, the licenses are managed\n under an account you don't have access to. To use this product, you must purchase licenses and bill them to\n an account you manage.

\n Buy now.\n
\n
\n
\n
\n
\n \n
\n
","export class RequestModel {\n class: string;\n fetchCriteria: any;\n brokerAccountClientIds: any;\n serviceOfferCodes: any;\n excludeProductsWithZeroAvailableLicenses: boolean;\n billingClientId: string;\n serviceStatus: string;\n catalogStatus: string;\n excludeAddons: boolean;\n withAvailableLicenses: boolean;\n withAssignedLicenses: boolean;\n constructor() {\n this.fetchCriteria = {};\n this.brokerAccountClientIds = undefined;\n this.serviceOfferCodes = undefined;\n this.class = undefined;\n this.excludeProductsWithZeroAvailableLicenses = undefined;\n this.billingClientId = undefined;\n this.serviceStatus = undefined;\n this.catalogStatus = undefined;\n this.excludeAddons = undefined;\n this.withAvailableLicenses = undefined;\n this.withAssignedLicenses = undefined;\n }\n}\n","export * from './review.component';\n","import { UtilityService } from 'lib/ng2-sapmp/src/providers/utility.service';\nimport { ReviewService } from './shared/providers/review.service';\nimport { Component, OnInit, OnDestroy } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { ANALYTICS_CONSTANTS, PIVOTS } from 'config';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { PageLoaderService } from 'lib/ng2-sapmp/src/ui-components/page-loader';\nimport { FormBuilderService } from 'lib/ng2-sapmp/src/ui-components/form-builder/form-builder.service';\nimport { StepIndicatorService } from 'lib/ng2-sapmp/src/ui-components/step-indicator';\nimport { BreadCrumbModel } from 'lib/ng2-sapmp/src/ui-components/breadcrumb';\nimport { FormConfigurationModel, FormPropertyModel } from 'lib/ng2-sapmp/src/ui-components/form-builder';\nimport { BreadCrumbService } from 'lib/ng2-sapmp/src/ui-components/breadcrumb';\nimport { UserWizardDataService } from './../users-wizard-data-service';\nimport { UserWizardModel, UserProfileModel } from 'lib/ng2-sapmp/src/models';\nimport { UserWizardService, AuthenticationService, AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';\nimport { ReviewFormConfigModel, ItemsModel, ReviewServiceModel, ExtProperties, ExtPropertiesItemsModel } from './../shared';\nimport { MobilePivotModel } from 'lib/ng2-sapmp/src/ui-components/mobile-pivot/mobile-pivot.model';\n\ndeclare var logoutCurrentUser: any;\ndeclare var ENV_PORTAL;\n\n@Component({\n selector: 'app-manage-users-review',\n templateUrl: './review.component.html',\n providers: [ReviewService, FormBuilderService, UserWizardDataService],\n styleUrls: ['./../manage-users.component.scss']\n})\nexport class ReviewComponent implements OnInit, OnDestroy {\n breadCrumbs: BreadCrumbModel[];\n userWizardObj: UserWizardModel;\n assignFlag: boolean;\n singleUser: boolean;\n configuration: any;\n formConfiguration: FormConfigurationModel;\n userArraylength: number;\n assignUnassignButtonFlag = false;\n selectedUsersCount: number;\n accordionList: boolean[];\n accordionflag: boolean;\n reviewServiceObj: ReviewServiceModel;\n userWizardModel: UserWizardModel;\n formValue: any;\n nextButtonFlag: boolean[];\n editFlag: boolean[];\n reviewFormConfigModel: ReviewFormConfigModel;\n dcmCodeArray: Array;\n user: UserProfileModel;\n unassignServiceObject: any;\n items: any[];\n totalLicenses: any;\n csrPermissionAssignUnassignButton: boolean;\n errorMessage: string;\n pivots: Array;\n\n constructor(\n private router: Router,\n private activatedRoute: ActivatedRoute,\n private stepindicatorService: StepIndicatorService,\n private reviewService: ReviewService,\n private utilityService: UtilityService,\n private breadCrumbService: BreadCrumbService,\n private userWizardDataService: UserWizardDataService,\n private userWizardService: UserWizardService,\n private authenticationService: AuthenticationService,\n private pageloaderService: PageLoaderService,\n private adobeAnalyticsService: AdobeAnalyticsService\n ) {\n this.userWizardObj = new UserWizardModel();\n this.userWizardObj.selectedUserList = [];\n this.userWizardObj.selectedProductList = [];\n this.formConfiguration = new FormConfigurationModel();\n this.formConfiguration.formProperty = [];\n this.accordionList = [];\n this.nextButtonFlag = [];\n this.editFlag = [];\n this.dcmCodeArray = [];\n this.items = [];\n this.pivots = new Array();\n this.csrPermissionAssignUnassignButton = this.utilityService.checkFieldPermission('review.assignUnassign',\n JSON.parse(sessionStorage.getItem('permissions')).perm);\n this.pageloaderService.setPageLoaderStatus(false);\n this.configuration = [];\n }\n\n ngOnInit() {\n this.authenticationService.setLoginSuccessUrl(this.router.routerState.snapshot.url);\n this.pageloaderService.setPageLoaderStatus(false);\n this.userWizardObj = JSON.parse(sessionStorage.getItem('assign-wizard'));\n if (this.userWizardObj === null\n || !!!this.userWizardObj.selectedUserList\n || this.userWizardObj.selectedUserList.length <= 0\n ) {\n this.router.navigate(['/home']);\n } else {\n // document.title = 'AT&T Business Console - Manage users - Review';\n document.title = this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url];\n this.user = JSON.parse(sessionStorage.getItem('user')).user;\n this.stepindicatorService.setCurrentStep(this.activatedRoute.snapshot.url[0].path);\n\n for (const user of this.userWizardObj.selectedProductList) {\n this.dcmCodeArray.push(user.dcmCode);\n }\n this.userWizardModel = this.userWizardService.fetchSessionData();\n if (PIVOTS[this.userWizardModel.previousUrl]) {\n this.pivots.push({ label: PIVOTS[this.userWizardModel.previousUrl], routerLink: this.userWizardModel.previousUrl });\n }\n this.pivots.push({ label: 'Console dashboard', routerLink: '/dashboard' });\n this.userWizardService.setPivot(this.pivots);\n this.selectedUsersCount = this.userWizardObj.selectedUserList.length;\n this.accordionflag = true;\n this.reviewServiceObj = new ReviewServiceModel();\n this.reviewServiceObj.items = [];\n const requestObject = {\n 'dcmCodes': this.dcmCodeArray,\n 'configurationType': 'licenseConfigurations',\n };\n const actionObject = {\n 'action': '',\n 'licenseClientId': ''\n };\n\n if (this.userWizardObj.selectedProductList.length < this.userWizardObj.selectedUserList.length) {\n this.singleUser = false;\n } else {\n this.singleUser = true;\n }\n if (this.userWizardObj.actionType === 'UNASSIGN') {\n this.assignUnassignButtonFlag = true;\n this.assignFlag = false;\n if (this.userWizardObj.selectedUserList.length > 1) {\n this.userWizardObj.selectedUserList.forEach((value, index) => {\n actionObject.action = 'UNASSIGN';\n actionObject.licenseClientId = value.licenseClientId;\n const temporaryObject = JSON.parse(JSON.stringify(actionObject));\n this.items.push(temporaryObject);\n });\n this.openAccordion(0);\n } else {\n actionObject.action = 'UNASSIGN';\n actionObject.licenseClientId = this.userWizardObj.selectedUserList[0].licenseClientId;\n this.items[0] = actionObject;\n }\n /* else if (this.userWizardObj.selectedProductList.length > 1) {\n this.userWizardObj.selectedProductList.forEach((value, index) => {\n actionObject.action = 'UNASSIGN';\n actionObject.licenseClientId = this.userWizardObj.selectedUserList[0].licenseClientId;\n let temporaryObject = JSON.parse(JSON.stringify(actionObject));\n this.items.push(temporaryObject);\n });\n this.openAccordion(0);\n } */\n\n this.totalLicenses = this.items.length;\n this.pageloaderService.setPageLoaderStatus(true);\n } else {\n this.assignUnassignButtonFlag = false;\n this.assignFlag = true;\n this.reviewService.configurations(this.utilityService.getEnvConfig().productSpecificationUrl, requestObject)\n .subscribe(respobj => {\n this.configuration = this.filterLicenseConfigurations(respobj);\n try {\n this.configuration.forEach((value, index) => {\n const selectedProduct = this.userWizardObj.selectedProductList.find((data) => data.dcmCode === value.dcmCode);\n if (selectedProduct) {\n this.configuration[index].displayName = selectedProduct.productName;\n }\n });\n } catch (exception) {\n console.log(exception);\n }\n let count = 0;\n if (this.userWizardObj.selectedUserList.length > 1) {\n this.totalLicenses = this.userWizardObj.selectedUserList.length;\n for (const user of this.userWizardObj.selectedUserList) {\n this.reviewServiceObj.items.push(new ItemsModel());\n this.reviewServiceObj.items[count].action = this.userWizardObj.actionType;\n this.reviewServiceObj.items[count].employeeClientId = this.userWizardObj.selectedUserList[count].clientId;\n this.reviewServiceObj.items[count].serviceClientId = this.userWizardObj.selectedProductList[0].clientId;\n this.reviewServiceObj.items[count].extProperties = new ExtProperties();\n this.reviewServiceObj.items[count].extProperties.items = [];\n // actionObject.action = 'UNASSIGN';\n // actionObject.licenseClientId = this.userWizardObj.selectedUserList[count].licenseClientId;\n // let temporaryObject = JSON.parse(JSON.stringify(actionObject))\n // this.items.push(temporaryObject);\n this.editFlag[count] = false;\n this.nextButtonFlag[count] = true;\n this.accordionList.push(false);\n if (this.configuration.length > 0) {\n this.formConfiguration.formProperty.push(new FormPropertyModel());\n const tempObj = JSON.parse(JSON.stringify(this.configuration[0].licenseConfigurations));\n this.userWizardObj.selectedUserList[count].formConfigurations = tempObj;\n }\n count++;\n }\n } else if (this.userWizardObj.selectedProductList.length > 1) {\n for (const respCOnfigObj of this.configuration) {\n const user = this.userWizardObj.selectedProductList.find((data) => (data.dcmCode === respCOnfigObj.dcmCode));\n this.reviewServiceObj.items.push(new ItemsModel());\n this.reviewServiceObj.items[count].action = this.userWizardObj.actionType;\n this.reviewServiceObj.items[count].employeeClientId = this.userWizardObj.selectedUserList[0].clientId;\n this.reviewServiceObj.items[count].serviceClientId = user.clientId;\n this.reviewServiceObj.items[count].extProperties = new ExtProperties();\n this.reviewServiceObj.items[count].extProperties.items = [];\n // actionObject.action = 'UNASSIGN';\n // actionObject.licenseClientId = this.userWizardObj.selectedUserList[0].licenseClientId;\n // this.items[0] = actionObject;\n const formPropertyModl = new FormPropertyModel();\n formPropertyModl.formStatus = false;\n this.formConfiguration.formProperty.push(formPropertyModl);\n count++;\n }\n if (this.userWizardObj.selectedProductList.length !== this.configuration.length) {\n const filteredProductList = this.filterNotAvailbleProducts();\n filteredProductList.forEach((value) => {\n this.reviewServiceObj.items.push(new ItemsModel());\n const index = this.reviewServiceObj.items.length - 1;\n this.reviewServiceObj.items[index].action = this.userWizardObj.actionType;\n this.reviewServiceObj.items[index].employeeClientId = this.userWizardObj.selectedUserList[0].clientId;\n this.reviewServiceObj.items[index].serviceClientId = value.clientId;\n this.reviewServiceObj.items[index].extProperties = new ExtProperties();\n this.reviewServiceObj.items[index].extProperties.items = [];\n });\n }\n this.totalLicenses = this.userWizardObj.selectedProductList.length;\n } else {\n this.totalLicenses = 1;\n this.reviewServiceObj.items.push(new ItemsModel());\n this.reviewServiceObj.items[0].action = this.userWizardObj.actionType;\n this.reviewServiceObj.items[0].employeeClientId = this.userWizardObj.selectedUserList[0].clientId;\n this.reviewServiceObj.items[0].serviceClientId = this.userWizardObj.selectedProductList[0].clientId;\n this.reviewServiceObj.items[0].extProperties = new ExtProperties();\n this.reviewServiceObj.items[0].extProperties.items = [];\n // actionObject.action = 'UNASSIGN';\n // actionObject.licenseClientId = this.userWizardObj.selectedUserList[0].licenseClientId;\n // this.items[0] = actionObject;\n }\n this.userArraylength = this.userWizardObj.selectedUserList.length;\n if (this.configuration.length === 0) {\n this.assignUnassignButtonFlag = true;\n }\n this.openAccordion(0);\n this.pageloaderService.setPageLoaderStatus(true);\n }, error => {\n this.pageloaderService.setPageLoaderStatus(true);\n this.adobeAnalyticsService.CreateSeriveAlertProperties(error.status, error.statusText, 'formResponse');\n this.handleError(error);\n });\n }\n this.userWizardDataService.createPageLoadProperties([],\n this.router.routerState.snapshot.url, 'Manageusers Page - Step4',\n ANALYTICS_CONSTANTS.FRIENDLY_NAME_MANAGE_USER_REVIEW);\n const message = this.userWizardObj.actionType === 'ASSIGN' ? 'Assign product licenses' : 'Un-assign product licenses';\n this.userWizardService.setMessage(message);\n }\n }\n\n handleError = (error, assignUnassignError?) => { // Arrow function is necessary as the context should be Parent class\n if (error) {\n try {\n let isNotError;\n if (error.status === 401) {\n this.errorMessage = 'Session expired.Please login again.';\n logoutCurrentUser(true);\n } if (error.status === 400) {\n isNotError = true;\n const responseError = error.error[0];\n if (responseError && responseError.length > 0) {\n responseError.forEach(element => {\n if (element.errorDescription) {\n const errorDes = JSON.parse(element.errorDescription);\n this.errorMessage = errorDes.errorMessage;\n isNotError = false;\n }\n });\n }\n if (isNotError) {\n this.errorMessage = 'We couldn\\'t complete your request. Please try again later.';\n }\n } else if (assignUnassignError) {\n /* this.errorMessage = 'Your request to ' + ((this.userWizardObj.actionType === 'ASSIGN') ? 'Assign' : 'un-assign')\n + ' product licenses was Unsuccessful';*/\n // tslint:disable-next-line:max-line-length\n this.errorMessage = 'We were unable to process your request to ' + ((this.userWizardObj.actionType === 'ASSIGN') ? 'Assign' : 'un-assign')\n + ' product licenses.If you need help, call ' + ((ENV_PORTAL === 'fnabc') ? '800.574.7000' : '866.241.6568') + ' (TDD/TTY 866.241.6567) Monday - Friday, 7 a.m. - 9 p.m. ET. Or you can chat with an expert during weekday calling hours, and from 8 a.m. - 5 p.m. ET on Saturday and Sunday.';\n } else {\n this.errorMessage = 'We couldn\\'t complete your request. Please try again later.';\n }\n } catch (exception) {\n console.log(exception);\n this.errorMessage = 'We couldn\\'t complete your request. Please try again later.';\n }\n this.utilityService.loadFocusOnTop();\n } else {\n throw error;\n }\n }\n\n toggleTooltip(event) {\n const targetElement = event.target;\n const elems = document.querySelectorAll('.tooltipActive');\n let iselementActive = false;\n if (targetElement.classList.contains('tooltipActive')) {\n iselementActive = true;\n }\n [].forEach.call(elems, function (ele) {\n ele.classList.remove('tooltipActive');\n });\n if (iselementActive) {\n targetElement.classList.remove('tooltipActive');\n } else {\n targetElement.classList.add('tooltipActive');\n }\n }\n\n getFormConfigDetails(formOutputvalue, user, rowIndex: number, dcmCode?: string) {\n this.formValue = formOutputvalue.value;\n console.log(this.userWizardObj.selectedUserList);\n const extpropArray = [];\n Object.keys(formOutputvalue.value).forEach((key, value) => {\n const extPropertiesItemsModel = new ExtPropertiesItemsModel();\n extPropertiesItemsModel.name = key;\n extPropertiesItemsModel.value = formOutputvalue.value[key];\n if (this.userWizardObj.selectedUserList.length > 0) {\n const config = this.configuration[0].licenseConfigurations.find((data) => (\n data.formControlName === key && data.elementType === 'dropdown'));\n if (config) {\n extPropertiesItemsModel.value = formOutputvalue.value[key].value;\n }\n } else if (this.userWizardObj.selectedProductList.length > 1) {\n const configs = this.configuration.find((value) => (dcmCode === value.dcmCode));\n if (configs && configs.length > 0) {\n const config = configs.licenseConfigurations.find((data) => (\n data.formControlName === key && data.elementType === 'dropdown'));\n if (config) {\n extPropertiesItemsModel.value = formOutputvalue.value[key].value;\n }\n }\n }\n extpropArray.push(extPropertiesItemsModel);\n });\n let count = 0;\n if (this.userWizardObj.selectedUserList.length > 1) {\n for (const config of this.configuration[0].licenseConfigurations) {\n if (extpropArray[count].name === config.formControlName) {\n this.reviewServiceObj.items[rowIndex].extProperties.items[count] = extpropArray[count];\n }\n count++;\n }\n } else {\n for (const config of this.configuration[rowIndex].licenseConfigurations) {\n if (extpropArray[count].name === config.formControlName) {\n this.reviewServiceObj.items[rowIndex].extProperties.items[count] = extpropArray[count];\n }\n count++;\n }\n }\n\n if (rowIndex !== undefined && (this.userWizardObj.selectedUserList.length > 1 || this.userWizardObj.selectedProductList.length > 1)) {\n if (formOutputvalue.valid) {\n this.formConfiguration.formProperty[rowIndex].formStatus = true;\n } else {\n this.formConfiguration.formProperty[rowIndex].formStatus = false;\n }\n let formValidFlag = false;\n if (this.userWizardObj.selectedUserList.length > 1) {\n formValidFlag = this.checkFormValid(this.formConfiguration);\n if (formOutputvalue.valid && formValidFlag) {\n this.assignUnassignButtonFlag = true;\n } else {\n this.assignUnassignButtonFlag = false;\n }\n } else {\n formValidFlag = this.checkFormValid(this.formConfiguration);\n if (formOutputvalue.valid && formValidFlag) {\n this.assignUnassignButtonFlag = true;\n } else {\n this.assignUnassignButtonFlag = false;\n }\n }\n } else {\n if (formOutputvalue.valid) {\n this.assignUnassignButtonFlag = true;\n } else {\n this.assignUnassignButtonFlag = false;\n }\n }\n }\n\n openAccordion(rowIndex?: number) {\n if (this.assignFlag === true) {\n if (this.singleUser === false) {\n if (rowIndex !== undefined) {\n this.accordionList[rowIndex] = !this.accordionList[rowIndex];\n }\n }\n } else {\n this.accordionflag = !this.accordionflag;\n }\n }\n\n cancel() {\n sessionStorage.removeItem('showSuccess');\n this.stepindicatorService.removeStep('manageUsers');\n // this.userWizardDataService.cancel(this.userWizardModel.previousUrl);\n this.router.navigate(['/manageUsers/users'], { relativeTo: this.activatedRoute });\n }\n\n next(i) {\n let count = 0;\n this.reviewServiceObj.items[i].action = this.userWizardObj.actionType;\n for (const iteratingData of this.reviewServiceObj.items[i].extProperties.items) {\n this.reviewFormConfigModel = new ReviewFormConfigModel();\n for (const iterateData of this.configuration[0].licenseConfigurations) {\n if (iteratingData.name === iterateData.formControlName) {\n this.userWizardObj.selectedUserList[i].formConfigurations[count].initialValue = iteratingData.value;\n delete this.userWizardObj.selectedUserList[i].formConfigurations[count].fields;\n this.reviewFormConfigModel.label = iterateData.label;\n this.reviewFormConfigModel.value = iteratingData.value;\n this.userWizardObj.selectedUserList[i].formProperties.push(this.reviewFormConfigModel);\n\n }\n }\n\n count++;\n }\n this.nextButtonFlag[i] = false;\n if (!(this.nextButtonFlag[i] || this.accordionList[i + 1])) {\n this.openAccordion(i + 1);\n }\n }\n\n checkFormValid(formConfiguration) {\n let count = -1;\n for (const obj of formConfiguration.formProperty) {\n count++;\n if (count !== formConfiguration.formProperty.length) {\n if (obj.formStatus === false) {\n return false;\n }\n }\n }\n return true;\n }\n\n edit(i) {\n this.nextButtonFlag[i] = true;\n this.userWizardObj.selectedUserList[i].formProperties = [];\n }\n\n assignUnassign() {\n this.pageloaderService.setPageLoaderStatus(false);\n this.unassignServiceObject = {\n 'items': this.items\n };\n if (this.userWizardObj.actionType === 'UNASSIGN') {\n this.reviewServiceObj = this.unassignServiceObject;\n }\n const url = this.utilityService.getEnvConfig().bulkAssignUnAssignUrl + this.user.companyId + '/licenses/bulk/';\n this.reviewService.assignUnassign(url, this.reviewServiceObj)\n .subscribe(respobj => {\n if (respobj.totalUsers && respobj.totalErrorUsers && (respobj.totalUsers === respobj.totalErrorUsers)) {\n this.pageloaderService.setPageLoaderStatus(true);\n this.handleError('error', true);\n } else {\n this.userWizardDataService.removeUserWizard();\n this.reviewService.createAdobeEventProperties(this.dcmCodeArray, respobj, 'SUCCESS', 'formResponse');\n this.stepindicatorService.removeStep('manageUsers');\n let successMessage = '';\n if (respobj.status && (respobj.status === 'COMPLETED')) {\n successMessage = 'We\\'ve successfully ' + ((this.userWizardObj.actionType === 'ASSIGN') ? 'assigned' : 'unassigned') + ' ' +\n + this.totalLicenses + ' of ' + this.totalLicenses + ' licenses.';\n // tslint:disable-next-line:max-line-length\n /* successMessage = 'Your request to ' + ((this.userWizardObj.actionType === 'ASSIGN') ? 'assigned' : 'unassigned') + ' product licenses was successful.';*/\n } else if (respobj.totalErrorUsers && respobj.totalUsers) {\n successMessage = 'We\\'ve successfully ' + ((this.userWizardObj.actionType === 'ASSIGN') ? 'assigned' : 'unassigned') + ' ' +\n + (this.totalLicenses - respobj.totalErrorUsers) + ' of ' + this.totalLicenses +\n ((this.totalLicenses > 1) ? ' licenses.' : ' license.') + 'We were unable to ' +\n ((this.userWizardObj.actionType === 'ASSIGN') ? 'assign' : 'unassign') + ' ' +\n + (respobj.totalErrorUsers) + ((respobj.totalErrorUsers > 1) ? ' licenses.' : ' license.') +\n // tslint:disable-next-line:max-line-length\n 'If you need help, call 866.241.6588 (TTY 866.241.6567) Monday - Friday, from 7 a.m. - 9 p.m. ET. You can also chat with an expert during weekday calling hours, and from 8 a.m. - 5.pm ET on Saturday and Sunday.';\n } else if (respobj.status && (respobj.status === 'FAILED')) {\n // tslint:disable-next-line:max-line-length\n successMessage = 'We were unable to process your request to' + ((this.userWizardObj.actionType === 'ASSIGN') ? 'assigned' : 'unassigned') + ' product licenses. If you need help, call 866.241.6568 (TTY: 866.241.6567) Monday - Friday, 7 a.m. - 9 p.m. ET. Or you can chat with an expert during weekday calling hours, and from 8 a.m. - 5 p.m. ET on Saturday and Sunday.';\n /* successMessage = 'Your request to ' + ((this.userWizardObj.actionType === 'ASSIGN') ? 'assigned' : 'unassigned') + ' product licenses was successful.';*/\n }\n this.userWizardDataService.createPageLoadProperties([], '/virtual/manageUsers/confirmation', 'Manageusers Page - Confirmation',\n ANALYTICS_CONSTANTS.FRIENDLY_NAME_MANAGE_USER_CONFIRM, 'virtual');\n this.utilityService.setSuccessMessage(successMessage);\n this.pageloaderService.setPageLoaderStatus(true);\n this.breadCrumbService.removeLastBreadCrumb();\n this.userWizardDataService.cancel(this.userWizardModel.previousUrl);\n }\n }, error => {\n this.reviewService.createAdobeEventProperties(undefined, undefined, 'FAILURE', 'formResponse', error.status, error.statusText);\n this.adobeAnalyticsService.CreateSeriveAlertProperties(error.status, error.statusText, 'formResponse');\n this.pageloaderService.setPageLoaderStatus(true);\n this.handleError(error);\n });\n }\n\n private filterLicenseConfigurations(responseLicenseConfigurations): any[] {\n if (responseLicenseConfigurations && responseLicenseConfigurations.length > 0) {\n return responseLicenseConfigurations.filter((data) => ((data.licenseConfigurations) && (data.licenseConfigurations.length > 0)));\n } else {\n return [];\n }\n }\n\n /**\n * Here filtering not available products in License configurations\n */\n private filterNotAvailbleProducts(): any[] {\n if (this.configuration.length !== 0) {\n const filterdProducts = [];\n this.userWizardObj.selectedProductList.forEach((value) => {\n const isNotAvaibleInLicenseConfiguration = this.configuration.filter((data) => (data.dcmCode === value.dcmCode));\n if (isNotAvaibleInLicenseConfiguration.length === 0) {\n filterdProducts.push(value);\n }\n });\n return filterdProducts;\n } else {\n return this.userWizardObj.selectedProductList;\n }\n\n }\n\n ngOnDestroy() {\n this.pageloaderService.setPageLoaderStatus(true);\n }\n}\n","
\n
\n
\n \n
\n
\n

Something isn't working

\n

{{ this.errorMessage }

\n
\n
\n
\n
\n
\n

Un-assign licenses

\n

Assign licenses

\n
\n
{{product.productName}}
\n
{{product.selectedFan}}
\n
{{product.selectedCtn}}
\n

{{product.licensegroupName && product.licensegroupName}}

\n
\n\n

{{selectedUsersCount}} users selected

\n

\n\n
\n
1\">\n \n
\n
    \n
  • {{user.firstName}}{{user.email}}
  • \n
\n
\n
\n
\n
\n
    \n
  • {{user.firstName}}{{user.email}}
  • \n
\n
\n
\n
\n
\n {{userWizardObj.selectedUserList[0].firstName}}\n

{{userWizardObj.selectedUserList[0].email}}

\n
\n \n \n \n
\n
\n

\n
\n
\n \n
\n

{{user.email}}

\n
\n
0\">\n
\n {{formprop.label}} edit\n

{{formprop.value}}

\n
\n
\n
\n \n
\n \n
\n
\n
\n
\n
\n \n \n \n
\n
\n
\n

Required Information:

\n

{{productConfig.displayName}}

\n \n
\n
\n
\n \n
\n \n\n \n
\n
","import { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { throwError } from 'rxjs';\nimport { HttpClient, HttpResponse, HttpHeaders } from '@angular/common/http';\nimport { HttpClientService, AdobeAnalyticsService, UtilityService } from 'lib/ng2-sapmp/src/providers';\nimport { ANALYTICS_CONSTANTS } from 'config';\n\n@Injectable()\nexport class ReviewService {\n\n constructor(private http: HttpClient, private httpClientService: HttpClientService,\n private adobeAnalyticsService: AdobeAnalyticsService, private utilityService: UtilityService) { }\n\n configurations(productSpecificationUrl, requestObject) {\n return this.httpClientService.authorizedPost(productSpecificationUrl, requestObject)\n .pipe(\n map((res: HttpResponse) => {\n this.httpClientService.tokenRefresh(this.utilityService.getEnvConfig().tokenRefresh);\n this.httpClientService.updateAuthorizationHeaders(res);\n return res.body;\n })\n ,catchError( this.handleError ));\n }\n\n assignUnassign(assignUnassignUrl, Obj) {\n return this.httpClientService.authorizedPut(assignUnassignUrl, Obj)\n .pipe(\n map((res: HttpResponse) => {\n this.httpClientService.updateAuthorizationHeaders(res);\n return res.body;\n })\n ,catchError( this.handleError ));\n }\n\n handleError = (error) => {\n return throwError(error);\n }\n\n // Review event Scenario\n createAdobeEventProperties(dcmCodes, response: any, status: string, event: string, errorCode?: string, errorText?: string) {\n const dataLayer = {};\n dataLayer[ANALYTICS_CONSTANTS.EVENT_EVENT_CODE] = ANALYTICS_CONSTANTS.EVENT_CODE_ASSIGN_LICENSES;\n if (status === 'SUCCESS') {\n dataLayer[ANALYTICS_CONSTANTS.EVENT_ITEMS] = [];\n for (const dcmCode of dcmCodes) {\n const items = {};\n items['itemSku'] = dcmCode;\n let respArray = [];\n respArray = response.items.filter(data => (data.license &&\n data.license.serviceOfferCode && (data.license.serviceOfferCode === dcmCode)));\n items['itemQty'] = respArray.length;\n /* -- 1802 Adobe changes\n respArray = [];\n respArray = response.items.filter(data => ((data.license &&\n data.license.serviceOfferCode && (data.license.serviceOfferCode === dcmCode)) &&\n (data.statusInfo.status && (data.statusInfo.status === 'COMPLETED'))));\n items['assignedLicenses'] = respArray.length;*/\n dataLayer[ANALYTICS_CONSTANTS.EVENT_ITEMS].push(items);\n }\n dataLayer[ANALYTICS_CONSTANTS.EVENT_SUCCESS_FLAG] = ANALYTICS_CONSTANTS.EVENTS_SUCCESSFLAG_1;\n dataLayer[ANALYTICS_CONSTANTS.EVENT_ERROR_TYPE] = ANALYTICS_CONSTANTS.EVENT_ERROR_SUCCESS_TYPE;\n dataLayer[ANALYTICS_CONSTANTS.EVENT_STATUS_CODE] = ANALYTICS_CONSTANTS.EVENTS_SUCCESSFLAG_0;\n\n } else {\n dataLayer[ANALYTICS_CONSTANTS.EVENT_SUCCESS_FLAG] = ANALYTICS_CONSTANTS.EVENTS_SUCCESSFLAG_0;\n dataLayer[ANALYTICS_CONSTANTS.EVENT_ERROR_TYPE] = ANALYTICS_CONSTANTS.EVENT_ERROR_FAILURE_TYPE;\n dataLayer[ANALYTICS_CONSTANTS.EVENT_STATUS_CODE] = errorCode;\n // dataLayer[ANALYTICS_CONSTANTS.EVENT_STATUS_MESSAGE] = errorText;\n }\n this.adobeAnalyticsService.tag('event', dataLayer, ANALYTICS_CONSTANTS.EVENT_CODE_ASSIGN_LICENSES, event);\n }\n}\n","export class BucketSummaryModel {\n bucketClientId: string;\n totalLicenses: number;\n totalLicensesInUse: number;\n totalLicensesAvailable: number;\n}\n","export class ExtPropertiesItemsModel {\n name: string;\n value: string;\n constructor() {\n }\n}\n","import { ExtPropertiesItemsModel } from './ext-properties.items.model';\nexport class ExtProperties {\n items: ExtPropertiesItemsModel[];\n constructor() {\n }\n}\n","export * from './user-wizard-product.model';\nexport * from './product.model';\nexport * from './user.model';\nexport * from './review-dynamic.model';\nexport * from './items.model';\nexport * from './review.service.model';\nexport * from './bucket-summary.model';\nexport * from './ext-properties.items.model';\nexport * from './ext-properties.model';\nexport * from './unassign-items.model';\nexport * from './unassign-action.model';\n\n","import { ExtProperties } from './ext-properties.model';\nexport class ItemsModel {\n action: string;\n employeeClientId: string;\n serviceClientId: string;\n extProperties: ExtProperties;\n\n constructor() {\n this.action = undefined;\n this.employeeClientId = undefined;\n this.serviceClientId = undefined;\n }\n}\n","export class ProductModel {\n productName: string;\n dcmCode: string;\n isChecked = false;\n fan: any = [];\n ctn: any = [];\n selectedFan = 'Select';\n selectedCtn = 'Select';\n clientId: string;\n isHidden = false;\n totalLicenses: string;\n totalLicensesInUse: string;\n totalLicensesAvailable: string;\n ctnMapObject: any;\n licensegroupName: string;\n isDisabled = false;\n}\n","export class ReviewFormConfigModel {\n label: string;\n value: string;\n formControlName: string;\n}\n","import { ItemsModel } from './items.model';\n\nexport class ReviewServiceModel {\n\n items: ItemsModel[];\n\n\n}\n","export class UnAssignActionModel {\n\n action: string;\n licenseClientId: string;\n\n}\n","import { UnAssignActionModel } from './unassign-action.model';\n\nexport class UnAssignItemsModel {\n\n items: UnAssignActionModel[];\n\n\n}\n","import { ProductModel } from './product.model';\nexport class UserWizardProductModel {\n product: ProductModel[];\n}\n","import { ReviewFormConfigModel } from './review-dynamic.model';\n\nexport class UserModel {\n clientId: string;\n firstName: string;\n lastName: string;\n displayName: string;\n email: string;\n phoneNumber: string;\n isSelected: boolean;\n formProperties: ReviewFormConfigModel[];\n formConfigurations: any;\n licenseClientId ?: string;\n}\n","import { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { UtilityService, HttpClientService, AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';\nimport { throwError } from 'rxjs';\n\nimport { HttpResponse, HttpHeaders } from '@angular/common/http';\nimport { UserWizardProductModel, ProductModel, BucketSummaryModel } from './shared';\nimport { DropdownModel } from 'lib/ng2-sapmp/src/ui-components/dropdown';\nimport { Router, ActivatedRoute, NavigationEnd } from '@angular/router';\nimport { ANALYTICS_CONSTANTS } from 'config';\ndeclare var ENV_PORTAL;\n@Injectable()\nexport class UserWizardDataService {\n\n dropDownModel: DropdownModel;\n selectProperty: DropdownModel;\n productModel: ProductModel;\n userWizardProductModel: UserWizardProductModel;\n\n constructor(private utilityService: UtilityService,\n private httpClientService: HttpClientService, private router: Router,\n private adobeAnalyticsService: AdobeAnalyticsService) {\n this.selectProperty = new DropdownModel();\n this.selectProperty.name = 'Select';\n this.selectProperty.value = 'Select';\n }\n\n // Page Load\n createPageLoadProperties(itemList, url: string, title: string, pageName: string, virtualid?: string) {\n const dataLayer = {};\n if (virtualid !== undefined && virtualid === 'virtual') {\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_LOCATION_URL] = ANALYTICS_CONSTANTS.ENVIRONMENT_URL + url;\n }\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FRIENDLY_PAGE_NAME] = pageName;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FLOW_CODE] = ANALYTICS_CONSTANTS.FLOW_CODE_MANAGE_USERS;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_ABS_CHECKOUT_STEP] = title;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_LANGUAGE] = 'EN';\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_LOGIN_SOURCE] = 'shoplogin';\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_PAGE_FUNCTION] = 'Service';\n this.adobeAnalyticsService.tag('page', dataLayer, 'Page_Load', 'pageLoad');\n }\n\n handleError = (error) => {\n return throwError(error);\n }\n\n setUserWizard(obj) {\n sessionStorage.setItem('assign-wizard', JSON.stringify(obj));\n }\n\n getProductDetails(companyId: string, requestProductObject) {\n const url = this.utilityService.getEnvConfig().unAssignUrl + companyId + '/catalog/serviceOffers';\n return this.httpClientService.authorizedPut(url, requestProductObject).pipe(\n map((res: HttpResponse) => {\n this.httpClientService.updateAuthorizationHeaders(res);\n return res.body;\n }),catchError( this.handleError ));\n /* let url = this.utilityService.getEnvConfig().getAssignUnassignProductDetails + companyId + '/inventory';\n return this.httpClientService.post(url, requestProductObject)\n .pipe(\n map((res: Response) => res.json()),catchError( this.handleError )); */\n }\n\n getMockUserList(servicePath) {\n return this.httpClientService.get(servicePath)\n .pipe(\n map((res: HttpResponse) => res.body)\n ,catchError( this.handleError ));\n }\n\n getUserList(servicePath, body) {\n return this.httpClientService.authorizedPut(servicePath, body)\n .pipe(\n map((res: HttpResponse) => {\n this.httpClientService.updateAuthorizationHeaders(res);\n return res.body;\n })\n ,catchError( this.handleError ));\n }\n\n public populateProductData(userWizard): UserWizardProductModel {\n this.userWizardProductModel = new UserWizardProductModel();\n this.userWizardProductModel.product = [];\n const productNameMap: Map> = new Map>();\n // if (userWizard.productList.dataJason.length > 0) {\n // Fetching Product Names and Fan List\n for (const product of userWizard.productList.dataJson) {\n this.productModel = new ProductModel();\n this.productModel.productName = product.name;\n this.productModel.dcmCode = product.code;\n /* this.productModel.totalLicenses = product.totalLicenses;\n this.productModel.totalLicensesInUse = product.totalLicensesInUse;\n this.productModel.totalLicensesAvailable = product.totalLicensesAvailable;\n this.productModel.fan = [];\n this.productModel.fan.push(this.selectProperty);\n product.accountSummaries.forEach((fanList, productName) => {\n this.dropDownModel = new DropdownModel();\n this.dropDownModel.name = fanList.accountClientId;\n this.dropDownModel.value = fanList.accountClientId;\n this.productModel.fan.push(this.dropDownModel);\n }); */\n this.userWizardProductModel.product.push(this.productModel);\n }\n // }\n return this.userWizardProductModel;\n }\n\n public removeUserWizard() {\n sessionStorage.removeItem('assign-wizard');\n }\n\n // This method applicable for Both action and Product\n public cancel(previousUrl) {\n this.removeUserWizard();\n this.router.navigate([previousUrl]);\n }\n\n\n /*public getCtnList(fan, selectedProductCode, companyId): any {\n return this.httpClientService.get(this.utilityService.getEnvConfig().getManageUserCtnUrl)\n .pipe(\n map(response => response.json()),catchError( this.handleError ));\n }\n\n public populateCtnList(responseCtnList, selectedProductName) {\n const ctnListModel = new ProductModel();\n ctnListModel.ctn = [];\n const ctnMap: Map> = new Map>();\n\n for (const ctnProduct of responseCtnList.dataJson) {\n if (ctnMap.has(ctnProduct.specName)) {\n ctnMap.get(ctnProduct.specName).add(ctnProduct.billingClientId);\n } else {\n ctnMap.set(ctnProduct.specName, new Set());\n ctnMap.get(ctnProduct.specName).add(ctnProduct.billingClientId);\n }\n }\n\n // Value, key\n ctnMap.forEach((ctnList, ctnProductname) => {\n if (selectedProductName === ctnProductname) {\n ctnListModel.ctn.push(this.selectProperty);\n ctnList.forEach(ctn => {\n this.dropDownModel = new DropdownModel();\n this.dropDownModel.name = ctn;\n this.dropDownModel.value = ctn;\n ctnListModel.ctn.push(this.dropDownModel);\n });\n }\n });\n return ctnListModel.ctn;\n } */\n /* public getCtnList(requestCtn, companyId) {\n const headers = new Headers();\n headers.append('Accept', 'application/json');\n headers.append('Content-Type', 'application/json');\n headers.append('channel', 'premier');\n headers.append('portal', 'appmarket');\n headers.append('SERVICE-AUTH-TOKEN', sessionStorage.getItem('sapmp_jwtToken'));\n const url = this.utilityService.getEnvConfig().getManageUserCtnUrl + 032820172 + '/inventory/service';\n return this.httpClientService.put(url, requestCtn, headers)\n .pipe(\n map(response => response.json()),catchError( this.handleError ));\n }\n public populateCtnList(responseCtnList, selectedProductName) {\n const ctnListModel = new ProductModel();\n ctnListModel.ctn = [];\n // Value, key\n ctnListModel.ctn.push(this.selectProperty);\n responseCtnList.dataJson.forEach((ctn, index) => {\n if (selectedProductName === ctn.specName) {\n this.dropDownModel = new DropdownModel();\n this.dropDownModel.name = ctn.billingClientId;\n this.dropDownModel.value = ctn.clientId;\n ctnListModel.ctn.push(this.dropDownModel);\n }\n });\n return ctnListModel.ctn;\n } */\n\n public getFanAndCtnList(requestCtn, companyId, dcmCode) {\n const url = this.utilityService.getEnvConfig().unAssignUrl + companyId + '/stats/' + dcmCode + '?breakdown=true';\n return this.httpClientService.authorizedGet(url)\n .pipe(\n map((response: HttpResponse) => {\n this.httpClientService.updateAuthorizationHeaders(response);\n return response.body;\n })\n ,catchError( this.handleError ));\n /*const url = this.utilityService.getEnvConfig().getProductFanCtnDetails;\n return this.httpClientService.get(url)\n .pipe(\n map(response => response.json()),catchError( this.handleError ));*/\n }\n\n public populateFan(userWizardModel: ProductModel, fanCtnresponse, dcmCode, type): ProductModel {\n const ctnMap: Map = new Map();\n if (fanCtnresponse) {\n userWizardModel.fan = [];\n userWizardModel.fan.push(this.selectProperty);\n fanCtnresponse.accountSummaries.forEach((fanList) => {\n if (fanList.accountClientId) {\n if (type === 'ASSIGN') {\n if (fanList.totalLicensesAvailable !== 0) {\n this.dropDownModel = new DropdownModel();\n this.dropDownModel.name = fanList.accountClientId;\n this.dropDownModel.value = fanList.accountClientId;\n ctnMap.set(fanList.accountClientId, fanList.bucketSummaries);\n userWizardModel.fan.push(this.dropDownModel);\n }\n } else {\n if (fanList.totalLicensesInUse !== 0) {\n this.dropDownModel = new DropdownModel();\n this.dropDownModel.name = fanList.accountClientId;\n this.dropDownModel.value = fanList.accountClientId;\n ctnMap.set(fanList.accountClientId, fanList.bucketSummaries);\n userWizardModel.fan.push(this.dropDownModel);\n }\n }\n }\n });\n }\n userWizardModel.ctnMapObject = ctnMap;\n return userWizardModel;\n }\n /* For Mock Purpose\n public populateFan(userWizardModel: ProductModel, fanCtnresponse, dcmCode): ProductModel {\n const ctnMap: Map = new Map();\n if (fanCtnresponse) {\n fanCtnresponse.forEach(element => {\n if (element.code === dcmCode) {\n userWizardModel.fan = [];\n userWizardModel.fan.push(this.selectProperty);\n element.accountSummaries.forEach((fanList) => {\n this.dropDownModel = new DropdownModel();\n this.dropDownModel.name = fanList.accountClientId;\n this.dropDownModel.value = fanList.accountClientId;\n ctnMap.set(fanList.accountClientId, fanList.bucketSummaries);\n userWizardModel.fan.push(this.dropDownModel);\n });\n }\n });\n }\n userWizardModel.ctnMapObject = ctnMap;\n return userWizardModel;\n\n }*/\n\n /*processProduct() {\n let availabilityCount: number;\n if (this.productModelList.length === 1) {\n let requestBody = {};\n requestBody['clientId'] = this.productModelList[0].clientId;\n this.pageloaderService.setPageLoaderStatus(false);\n let url = this.utilityService.getEnvConfig().singleProductUrl + this.user.companyId + '/inventory/service';\n this.userWizardDataService.getUserList(url, requestBody).subscribe(respobj => {\n if (!!respobj.dataJson.length && respobj.dataJson.length > 0 && !!respobj.dataJson[0].totalLicensesInUse) {\n availabilityCount = respobj.dataJson[0].quantity - respobj.dataJson[0].totalLicensesInUse;\n this.productModelList[0].totalLicensesAvailable = availabilityCount.toString();\n }\n this.processProduct();\n this.pageloaderService.setPageLoaderStatus(true);\n }, error => {\n this.pageloaderService.setPageLoaderStatus(true);\n this.handleError(error);\n });\n } else {\n this.processProduct();\n }\n this.processProduct();\n this.userWizardModel.selectedProductList = [];\n this.userWizardModel.selectedProductList = (this.productModelList);\n this.userWizardService.addProductList(this.userWizardModel);\n this.router.navigate(['/manageUsers/users'], { relativeTo: this.activatedRoute });\n } */\n\n public populateCtnList(ctnBucketSummaries: BucketSummaryModel[], type) {\n const selectProperty = new DropdownModel();\n if (ctnBucketSummaries) {\n const ctnListModel = new ProductModel();\n ctnListModel.ctn = [];\n // Value, key\n selectProperty.name = 'Select';\n selectProperty.value = 'Select';\n ctnListModel.ctn.push(selectProperty);\n ctnBucketSummaries.forEach((ctnObject, index) => {\n if (type === 'ASSIGN') {\n if (ctnObject.totalLicensesAvailable !== 0) {\n this.dropDownModel = new DropdownModel();\n this.dropDownModel.name = ctnObject.bucketClientId;\n this.dropDownModel.value = ctnObject.bucketClientId;\n ctnListModel.ctn.push(this.dropDownModel);\n }\n } else {\n if (ctnObject.totalLicensesInUse !== 0) {\n this.dropDownModel = new DropdownModel();\n this.dropDownModel.name = ctnObject.bucketClientId;\n this.dropDownModel.value = ctnObject.bucketClientId;\n ctnListModel.ctn.push(this.dropDownModel);\n }\n }\n });\n return ctnListModel.ctn;\n }\n }\n\n public getClientId(requestCtn, companyId) {\n const url = this.utilityService.getEnvConfig().getManageUserCtnUrl + companyId + '/inventory/service';\n return this.httpClientService.authorizedPut(url, requestCtn)\n .pipe(\n map((response: HttpResponse) => {\n this.httpClientService.updateAuthorizationHeaders(response);\n return response.body;\n })\n ,catchError( this.handleError ));\n }\n\n public populateClientId(responseClientId): any {\n const populateObject: any = { 'clientId': '', 'availabilityCount': '', 'licensegroupName': '', 'licenseInUse': '' };\n responseClientId.dataJson.forEach((clientIdObject) => {\n populateObject.clientId = clientIdObject.clientId;\n populateObject.availabilityCount = Number(clientIdObject.quantity) - Number(clientIdObject.totalLicensesInUse);\n populateObject.licenseInUse = Number(clientIdObject.totalLicensesInUse);\n populateObject.licensegroupName = clientIdObject.name;\n\n });\n return populateObject;\n }\n\n tokenRefresh() {\n this.httpClientService.tokenRefresh(this.utilityService.getEnvConfig().tokenRefresh);\n }\n}\n","export * from './users.component';\n","import { UserProfileModel } from 'lib/ng2-sapmp/src/models/userprofile/user-profile.model';\nimport { Component, OnInit, OnDestroy } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { UserWizardService } from 'lib/ng2-sapmp/src/providers';\nimport { HttpClient } from '@angular/common/http';\nimport { StepIndicatorService } from 'lib/ng2-sapmp/src/ui-components/step-indicator';\nimport { BreadCrumbModel } from 'lib/ng2-sapmp/src/ui-components/breadcrumb';\nimport { AuthenticationService, UtilityService, ValidationService, AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';\nimport { UserModel } from './../shared';\nimport { UserWizardModel } from 'lib/ng2-sapmp/src/models';\nimport { UserWizardDataService } from './../users-wizard-data-service';\nimport {\n GridOptionsModel, ColumnDefinitionsModel, PaginationsModel,\n FetchCriteriaModel\n} from 'lib/ng2-sapmp/src/ui-components/custom-grid';\nimport { PageLoaderService } from 'lib/ng2-sapmp/src/ui-components';\nimport { ANALYTICS_CONSTANTS, PIVOTS, ASSIGN_USER_LIMIT } from 'config';\nimport { MobilePivotModel } from 'lib/ng2-sapmp/src/ui-components/mobile-pivot/mobile-pivot.model';\n\ndeclare var ENV_VAR: any; // global variable set in env.js file, imported in index.html\ndeclare var logoutCurrentUser: any;\n\n@Component({\n selector: 'app-manage-users-users',\n providers: [UserWizardDataService, AdobeAnalyticsService],\n templateUrl: './users.component.html',\n styleUrls: ['./../manage-users.component.scss']\n})\nexport class UsersComponent implements OnInit, OnDestroy {\n breadCrumbs: BreadCrumbModel[];\n userWizardInfo: UserWizardModel;\n userList: Array;\n selectedUserList: Array;\n selectedUsersIds = [];\n gridOptions: GridOptionsModel;\n continueDisable = true;\n totalLisence = 0;\n totalUser = 0;\n selectedProdDetails: any;\n serviceClientIds: any;\n showProductInfo: boolean;\n noOfSelectedProduct: number;\n requestObj: any;\n setError: boolean;\n ErrorMessage: string;\n dcmCodesSelectedProd: Array;\n pivots: Array;\n user: UserProfileModel;\n actionType: any;\n checkLicense = 0;\n columnDefinitions: Array = [\n {\n caption: 'User',\n field: 'firstName',\n type: 'TEXT',\n sortDirection: 'Default',\n enableSorting: true,\n enableFilter: true,\n cssClass: '',\n priority: 2\n },\n {\n caption: 'Email',\n field: 'email',\n type: 'TEXT',\n sortDirection: 'Asc',\n enableSorting: false,\n enableFilter: true,\n cssClass: '',\n priority: 3\n\n\n }\n ];\n isInitialUserList = true;\n paginations: PaginationsModel = {\n recordsPerPage: 20,\n currentPage: 1,\n totalRecords: 0,\n isServerSide: true\n };\n errorFlag = false;\n constructor(\n private router: Router,\n private activatedRoute: ActivatedRoute,\n private stepindicatorService: StepIndicatorService,\n private utilityService: UtilityService,\n private userWizardDataService: UserWizardDataService,\n private adobeAnalyticsService: AdobeAnalyticsService,\n private pageloaderService: PageLoaderService,\n private authenticationService: AuthenticationService,\n private userWizardService: UserWizardService,\n private http: HttpClient\n ) {\n this.pivots = new Array();\n }\n\n ngOnInit() {\n this.authenticationService.setLoginSuccessUrl(this.router.routerState.snapshot.url);\n this.userWizardInfo = JSON.parse(sessionStorage.getItem('assign-wizard'));\n this.selectedUserList = [];\n this.selectedUsersIds = [];\n this.actionType = this.userWizardInfo.actionType === 'ASSIGN' ? 'Assign' : 'Un-assign';\n if (this.userWizardInfo.selectedUserList !== undefined && this.userWizardInfo.selectedUserList.length !== 0) {\n this.selectedUserList = this.userWizardInfo.selectedUserList;\n }\n if (this.userWizardInfo.selectedUsersIds !== undefined && this.userWizardInfo.selectedUsersIds.length !== 0) {\n this.selectedUsersIds = this.userWizardInfo.selectedUsersIds;\n }\n if (this.selectedUserList !== undefined && this.selectedUserList.length > 0) {\n this.continueDisable = false;\n }\n if (PIVOTS[this.userWizardInfo.previousUrl]) {\n this.pivots.push({ label: PIVOTS[this.userWizardInfo.previousUrl], routerLink: this.userWizardInfo.previousUrl });\n }\n const message = this.userWizardInfo.actionType === 'ASSIGN' ? 'Assign product licenses' : 'Un-assign product licenses';\n this.userWizardService.setMessage(message);\n this.pivots.push({ label: 'Console dashboard', routerLink: '/dashboard' });\n this.userWizardService.setPivot(this.pivots);\n if (this.userWizardInfo === null\n || !!!this.userWizardInfo.selectedProductList\n || this.userWizardInfo.selectedProductList.length <= 0\n ) {\n this.router.navigate(['/home']);\n } else {\n\n // document.title = 'AT&T Business Console - Manage users';\n document.title = this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url];\n this.stepindicatorService.setCurrentStep(this.activatedRoute.snapshot.url[0].path);\n\n this.user = this.authenticationService.getUser();\n\n this.noOfSelectedProduct = this.userWizardInfo.selectedProductList.length;\n this.serviceClientIds = [];\n this.userWizardInfo.selectedProductList.find((data) => {\n try {\n this.checkLicense += ((this.actionType === 'Assign') ? Number(data.totalLicensesAvailable) : Number(data.totalLicensesInUse));\n } catch (e) {\n console.log(e);\n this.checkLicense = 0;\n }\n this.serviceClientIds.push(data.clientId);\n });\n if (this.noOfSelectedProduct === 1) {\n this.showProductInfo = true;\n this.selectedProdDetails = this.userWizardInfo.selectedProductList[0];\n } else {\n this.showProductInfo = false;\n }\n\n if (this.userWizardInfo.userEmail !== undefined) {\n this.getSingleUser();\n } else {\n this.getAllUser();\n }\n\n this.userWizardDataService.createPageLoadProperties([],\n this.router.routerState.snapshot.url, 'Manageusers Page - Step3',\n ANALYTICS_CONSTANTS.FRIENDLY_NAME_MANAGE_USER_USERS);\n }\n }\n\n getSingleUser() {\n const fetchCriteria: FetchCriteriaModel = {\n limit: this.paginations.recordsPerPage,\n offset: 0,\n sortDir: 'ASC',\n sortField: 'firstName',\n searchValue: ''\n };\n this.dcmCodesSelectedProd = [];\n for (const prod of this.userWizardInfo.selectedProductList) {\n this.totalLisence += prod.totalLicensesAvailable;\n this.dcmCodesSelectedProd.push(prod.dcmCode);\n }\n this.userWizardInfo.paginations = this.paginations;\n this.userWizardInfo.selectedUsersIds = this.selectedUsersIds;\n this.userWizardDataService.setUserWizard(this.userWizardInfo);\n delete fetchCriteria.searchValue;\n this.buildrequestObj(fetchCriteria);\n this.requestObj.searchValue = this.userWizardInfo.userEmail;\n this.fetchUserDetail(this.requestObj);\n }\n\n getAllUser() {\n const fetchCriteria: FetchCriteriaModel = {\n limit: this.paginations.recordsPerPage,\n offset: 0,\n sortDir: 'ASC',\n sortField: 'firstName',\n searchValue: ''\n };\n this.dcmCodesSelectedProd = [];\n for (const prod of this.userWizardInfo.selectedProductList) {\n this.totalLisence += prod.totalLicensesAvailable;\n this.dcmCodesSelectedProd.push(prod.dcmCode);\n }\n this.userWizardInfo.paginations = this.paginations;\n this.userWizardInfo.selectedUsersIds = this.selectedUsersIds;\n this.userWizardDataService.setUserWizard(this.userWizardInfo);\n delete fetchCriteria.searchValue;\n this.buildrequestObj(fetchCriteria);\n this.fetchUserDetail(this.requestObj);\n }\n\n buildrequestObj(fetchCriteria) {\n if (this.userWizardInfo.actionType === 'ASSIGN' || this.userWizardInfo.actionType === 'assign') {\n this.requestObj = {\n 'fetchCriteria': fetchCriteria,\n 'withoutServiceOfferCodes': this.dcmCodesSelectedProd\n };\n } else {\n this.requestObj = {\n 'fetchCriteria': fetchCriteria,\n 'withSubscriptions': this.serviceClientIds,\n 'licenseProvisionStatuses': ['ACTIVE']\n };\n }\n }\n\n fetchUserDetail(requestObj) {\n this.pageloaderService.setPageLoaderStatus(false);\n let serviceUrl = '';\n if (this.userWizardInfo.actionType === 'ASSIGN' || this.userWizardInfo.actionType === 'assign') {\n serviceUrl = this.utilityService.getEnvConfig().getUserSearch + this.user.companyId + '/employees/textSearch';\n } else {\n serviceUrl = this.utilityService.getEnvConfig().getUserSearch + this.user.companyId + '/employees/textSearch?initProps=licenses';\n }\n\n this.userWizardDataService\n .getUserList(serviceUrl, this.requestObj)\n .subscribe(userRespObj => {\n this.setError = false;\n this.ErrorMessage = '';\n if (userRespObj.dataJson !== undefined) {\n this.userList = [];\n for (const user of userRespObj.dataJson) {\n const tmp_usr_obj = new UserModel();\n tmp_usr_obj.clientId = user.clientId;\n tmp_usr_obj.firstName = user.firstName + ' ' + user.lastName;\n tmp_usr_obj.email = user.email;\n tmp_usr_obj.phoneNumber = user.phoneNumber;\n if (this.userWizardInfo.actionType === 'UNASSIGN' || this.userWizardInfo.actionType === 'unassign') {\n if (user.licenses[0] !== undefined && user.licenses[0].clientLicenseId !== undefined) {\n tmp_usr_obj.licenseClientId = user.licenses[0].clientLicenseId;\n } else {\n tmp_usr_obj.licenseClientId = '';\n }\n }\n if (this.selectedUsersIds.indexOf(tmp_usr_obj.clientId) === -1) {\n tmp_usr_obj.isSelected = false;\n } else {\n tmp_usr_obj.isSelected = true;\n }\n tmp_usr_obj.formProperties = [];\n this.userList.push(tmp_usr_obj);\n // tslint:disable-next-line:max-line-length\n if (!tmp_usr_obj.isSelected && this.userWizardInfo.userEmail !== undefined && tmp_usr_obj.email === this.userWizardInfo.userEmail) {\n this.radioSelections(tmp_usr_obj);\n this.totalUser = 0;\n }\n }\n if (this.selectedUsersIds !== undefined) {\n let inx = 0;\n for (const tmp_usr_obj of this.userList) {\n if (this.selectedUsersIds.indexOf(tmp_usr_obj.clientId) === -1) {\n this.userList[inx].isSelected = false;\n } else {\n this.userList[inx].isSelected = true;\n this.totalUser += 1;\n }\n inx += 1;\n }\n }\n this.paginations.totalRecords = userRespObj.totalLength;\n this.userWizardInfo.userList = this.userList;\n this.userWizardDataService.setUserWizard(this.userWizardInfo);\n\n this.buildGridOption();\n this.pageloaderService.setPageLoaderStatus(true);\n } else {\n this.userList = [];\n this.paginations.totalRecords = 0;\n this.buildGridOption();\n this.pageloaderService.setPageLoaderStatus(true);\n }\n }, error => {\n this.pageloaderService.setPageLoaderStatus(true);\n this.adobeAnalyticsService.CreateSeriveAlertProperties(error.status, error.statusText, 'formResponse');\n this.setErrorMessage(error);\n });\n\n }\n\n buildActionObj(type) {\n const action_obj = {\n caption: 'Select',\n field: 'isSelected',\n type: type,\n sortDirection: 'Asc',\n enableSorting: false,\n enableFilter: false,\n cssClass: 'customCell',\n priority: 1\n };\n this.columnDefinitions.unshift(action_obj);\n }\n\n setErrorMessage(error) {\n this.pageloaderService.setPageLoaderStatus(true);\n if (error.status === 401) {\n this.setError = true;\n this.ErrorMessage = 'Session expired, Please login again.';\n logoutCurrentUser(true);\n } else {\n this.setError = true;\n this.ErrorMessage = 'We couldn\\'t complete your request. Please try again later.';\n }\n this.utilityService.loadFocusOnTop();\n }\n\n buildGridOption() {\n if (this.isInitialUserList) {\n if (this.userWizardInfo.source !== undefined && this.userWizardInfo.source !== null) {\n if (this.userWizardInfo.source === 'product') {\n if (this.userWizardInfo.selectedProductList !== undefined) {\n if (this.userWizardInfo.selectedProductList.length === 1) {\n this.buildActionObj('CHECKBOX');\n } else {\n this.buildActionObj('RADIO');\n }\n }\n } else if (this.userWizardInfo.source === 'user') {\n this.buildActionObj('RADIO');\n }\n } else {\n if (this.userWizardInfo.selectedProductList !== undefined) {\n if (this.userWizardInfo.selectedProductList.length === 1) {\n this.buildActionObj('CHECKBOX');\n } else {\n this.buildActionObj('RADIO');\n }\n }\n }\n const assignWizard = JSON.parse(sessionStorage.getItem('assign-wizard'));\n this.isInitialUserList = false;\n sessionStorage.setItem('assign-wizard', JSON.stringify(assignWizard));\n }\n const options = new GridOptionsModel();\n\n options.enableSorting = true;\n options.gridData = this.userList;\n if (this.userWizardInfo.userEmail !== undefined) {\n options.enableFiltering = false;\n } else {\n options.enableFiltering = true;\n }\n options.enableSearchLimit = true;\n options.searchLimit = 3;\n options.enableBackLink = true;\n options.backLinkText = 'View all users';\n if (this.userList.length > 0) {\n options.emptyMessage = '';\n } else if (this.userList.length === 0) {\n options.emptyMessage = 'No Records Found';\n options.showPaginationIndex = false;\n options.isEmptyMessageInRow = true;\n }\n options.columnDefinitions = this.columnDefinitions;\n options.searchDescriptions = 'If you recently uploaded bulk users they might not be available yet. Please check back soon.';\n options.searchPlaceHolder = 'Enter first or last name';\n options.Paginations = this.paginations;\n this.gridOptions = options;\n }\n\n radioSelections(event) {\n this.selectedUserList = [];\n this.selectedUsersIds = [];\n this.selectedUserList.push(event);\n this.selectedUsersIds.push(event.clientId);\n this.continueDisable = false;\n if (this.totalUser === 0) {\n this.totalUser = 1;\n }\n this.userWizardInfo.selectedUserList = this.selectedUserList;\n }\n\n checkboxSelections(event) {\n this.setError = false;\n this.continueDisable = false;\n const tmp_selected_usr_obj = event;\n if (tmp_selected_usr_obj.checkedStatus === true) {\n this.continueDisable = false;\n delete tmp_selected_usr_obj.checkedStatus;\n this.selectedUserList.push(tmp_selected_usr_obj);\n this.selectedUsersIds.push(tmp_selected_usr_obj.clientId);\n this.totalUser += 1;\n } else if (tmp_selected_usr_obj.checkedStatus === false) {\n let index = 0;\n for (const user of this.selectedUserList) {\n if (user.clientId === tmp_selected_usr_obj.clientId) {\n this.selectedUserList.splice(index, 1);\n this.selectedUsersIds.splice(index, 1);\n this.totalUser -= 1;\n }\n index += 1;\n }\n if (this.selectedUserList.length === 0) {\n this.continueDisable = true;\n }\n }\n let lengthToCheck = 0;\n if (this.selectedProdDetails.totalLicensesAvailable < ASSIGN_USER_LIMIT) {\n lengthToCheck = this.selectedProdDetails.totalLicensesAvailable;\n } else {\n lengthToCheck = ASSIGN_USER_LIMIT;\n }\n // tslint:disable-next-line:max-line-length\n if (this.userWizardInfo.actionType === 'ASSIGN' && this.selectedProdDetails !== undefined && !!this.selectedProdDetails.totalLicensesAvailable\n && this.selectedUserList.length > lengthToCheck) {\n this.continueDisable = true;\n this.setError = true;\n this.ErrorMessage = 'You have ' +\n this.totalLisence + ' licenses available and you\\'ve selected ' + this.totalUser + 'users.';\n this.utilityService.loadFocusOnTop();\n this.errorFlag = true;\n }\n if (this.userWizardInfo.actionType === 'UNASSIGN' && this.selectedUserList.length > ASSIGN_USER_LIMIT) {\n this.continueDisable = true;\n this.setError = true;\n this.ErrorMessage = 'You have ' +\n this.totalLisence + ' licenses available and you\\'ve selected ' + this.totalUser + 'users.';\n this.utilityService.loadFocusOnTop();\n this.errorFlag = true;\n }\n this.userWizardInfo.selectedUserList = this.selectedUserList;\n }\n\n handleError(error) {\n throw error;\n }\n\n back() {\n this.userWizardInfo.paginations.currentPage = 1;\n this.userWizardDataService.setUserWizard(this.userWizardInfo);\n this.router.navigate(['/manageUsers/products'], { relativeTo: this.activatedRoute });\n }\n\n next() {\n this.userWizardInfo.paginations.currentPage = 1;\n this.userWizardDataService.setUserWizard(this.userWizardInfo);\n // tslint:disable-next-line:max-line-length\n if (this.selectedProdDetails !== undefined && !!this.selectedProdDetails.totalLicensesAvailable && this.userWizardInfo.actionType === 'ASSIGN') {\n if (this.selectedUserList.length <= this.selectedProdDetails.totalLicensesAvailable) {\n this.processSelectedUsers();\n } else {\n this.setError = true;\n this.ErrorMessage = 'You have ' +\n this.totalLisence + ' licenses available and you\\'ve selected ' + this.totalUser + 'users.'; this.utilityService.loadFocusOnTop();\n }\n } else {\n this.processSelectedUsers();\n }\n }\n\n processSelectedUsers() {\n delete this.userWizardInfo.selectedUserList;\n this.userWizardDataService.setUserWizard(this.userWizardInfo);\n this.userWizardInfo.selectedUserList = this.selectedUserList;\n this.userWizardInfo.selectedUsersIds = this.selectedUsersIds;\n this.userWizardInfo.paginations = this.paginations;\n this.userWizardDataService.setUserWizard(this.userWizardInfo);\n this.router.navigate(['/manageUsers/review']);\n }\n\n gridEventChanges(fetchCriteria: FetchCriteriaModel) {\n fetchCriteria.sortDir = (!!fetchCriteria.sortDir) ? fetchCriteria.sortDir : 'ASC';\n fetchCriteria.sortField = (!!fetchCriteria.sortField) ? fetchCriteria.sortField : 'firstName';\n if (!!fetchCriteria.searchValue) {\n this.requestObj.searchValue = fetchCriteria.searchValue;\n delete fetchCriteria.searchValue;\n } else {\n delete this.requestObj.searchValue;\n }\n this.requestObj.fetchCriteria = fetchCriteria;\n this.fetchUserDetail(this.requestObj);\n }\n\n\n ngOnDestroy() {\n this.pageloaderService.setPageLoaderStatus(true);\n }\n}\n","
\n
\n \n
\n
\n
\n \n
\n
\n

Please note

\n

Too many users selected

\n

{{ErrorMessage}}

\n
\n
\n
\n \n
\n
{{ selectedProdDetails && selectedProdDetails.productName}}
\n
{{ selectedProdDetails && selectedProdDetails.selectedFan}}
\n
{{ selectedProdDetails && selectedProdDetails.selectedCtn}}
\n
{{ selectedProdDetails && selectedProdDetails.licensegroupName}}
\n
\n
\n \n
\n
\n \n

You have {{this.checkLicense}} 1)? 'licenses':'license'\"> left and you selected {{totalUser}} users.

\n\n \n\n

You have {{this.checkLicense}} 1)? 'licenses':'license'\"> left and you selected {{totalUser}} users.

\n
\n \n
\n
","import { HttpResponse } from '@angular/common/http';\nimport { Component, OnInit, ElementRef } from '@angular/core';\nimport { ActivatedRoute, Router, NavigationEnd } from '@angular/router';\nimport { AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers/adobe-analytics.service';\nimport { AuthenticationService } from 'lib/ng2-sapmp/src/providers/authentication.service';\nimport { ChipsService } from 'lib/ng2-sapmp/src/ui-components/chips/chips.service';\nimport { HeaderService } from '../header/header.service';\nimport { BreadCrumbService } from \"lib/ng2-sapmp/src/ui-components/breadcrumb\";\nimport { HomeService } from '../home/shared/providers/home.service';\nimport { UtilityService } from 'lib/ng2-sapmp/src/providers';\nimport { HostListener } from '@angular/core';\nimport { ViewChild } from '@angular/core';\nimport { HomeComponent, HOME_DATA } from '../home';\nimport { UserProfileModel } from 'lib/ng2-sapmp/src/models';\nimport { MDMDetails } from './../../models/product';\nimport { ADDP_PERMISSION_MAPPING, LOGIN_ERROR } from 'config';\nimport { PageLoaderService } from 'lib/ng2-sapmp/src/ui-components/page-loader';\nimport {Subscription} from \"rxjs\"\nimport { url } from 'inspector';\n\ndeclare var PREMIER_LOGIN_URL: any;\ndeclare var MYATT_LOGIN_URL: any;\ndeclare var FIRSTNET_LOCAL_CONTROL_URL: any;\ndeclare var ENV_PORTAL: any;\n@Component({\n selector: 'app-menus',\n providers: [HomeService],\n templateUrl: './menus.component.html',\n styleUrls: ['./menus.component.scss']\n})\nexport class MenusComponent implements OnInit {\n public triggerUrl: any;\n public pageContent: any;\n public openDropMenu: boolean = true;\n public closeDropMenu: boolean = false;\n public display: boolean = false;\n public hideMeuImg: boolean = false;\n public showMenuImg: boolean = true;\n public commonLoginContainer: boolean = false;\n public sticky: boolean = false;\n public elementPosition: any;\n @ViewChild('stickyMenu') menuElement: ElementRef;\n public landingPageRoute: string;\n public homePage: any;\n public user: UserProfileModel;\n public mdmDetails: MDMDetails;\n public redirectFlag: boolean = false;\n public loginFlag: boolean;\n public loginErrorMessage: string;\n public pageSlider: any;\n public pageCount = 0;\n public mobile: boolean = true;\n public isNotDMPAdmin: boolean = true;\n public isNotSelectStubId: boolean = true;\n public clickEventSub: Subscription;\n public show5gOption : boolean = true;\n public menuHideEvent: Subscription;\n public enrollStatusSubscription: Subscription;\n showRegisterIcon: boolean = true;\n\n constructor(private headerService: HeaderService, private route: ActivatedRoute, private router: Router, private el: ElementRef,\n private authenticationService: AuthenticationService, private chips: ChipsService, private adobeAnalyticsService: AdobeAnalyticsService,\n private homeService: HomeService, private utilityService: UtilityService, private pageloaderService: PageLoaderService, private breadCrumbService: BreadCrumbService,\n ) {\n this.headerService.pageContent(ENV_PORTAL).subscribe((res: HttpResponse) => {\n this.pageContent = res[ENV_PORTAL].header;\n sessionStorage.setItem('loginDropdownPopupSwitch', this.pageContent.loginDropdownPopup);\n });\n\n this.user = new UserProfileModel();\n this.homePage = HOME_DATA;\n this.mdmDetails = new MDMDetails();\n this.loginFlag = false;\n }\n\n learnRouteActive() {\n \n\n // if (this.router.url == '/productselection' || this.router.url == '/welcome' || this.router.url == '/signupsetup/enrollmentoptions' || this.router.url == '/signupsetup/review' || this.router.url == '/signupsetup/confirm') {\n // this.removeActive();\n // let navlist = document.querySelectorAll('.has-subnav');\n // navlist[1].classList.add('active');\n // return false;\n // }\n // else \n if(this.router.url == '/learn/products' || this.router.url == '/learn/applebusinessmanager' || this.router.url == '/learn/androidzerotouch' || this.router.url == '/learn/samsungknoxmobile' || this.router.url == '/learn/5g'){\n // this.removeActive();\n // let navlist = document.querySelectorAll('.has-subnav');\n // navlist[1].classList.remove('active');\n return true;\n }else{\n return false;\n }\n }\n\n supportsRouteActive(){\n if(this.router.url == '/support' || this.router.url == '/contact'){\n // this.removeActive();\n // let navlist = document.querySelectorAll('.has-subnav');\n // navlist[6].classList.add('active');\n return true;\n }else{\n return false;\n }\n }\n\n enrollRouteActive(){\n if (this.router.url == '/productselection' || this.router.url == '/welcome' || this.router.url == '/signupsetup/enrollmentoptions' || this.router.url == '/signupsetup/review' || this.router.url == '/signupsetup/confirm') {\n // this.removeActive();\n // let navlist = document.querySelectorAll('.has-subnav');\n // navlist[1].classList.add('active');\n return true;\n }else{\n return false;\n }\n }\n\n removeActive(){\n let navlist = document.querySelectorAll('.has-subnav');\n navlist.forEach((element) => {\n element.classList.remove('active');\n })\n }\n\n homeRouteActive() {\n if (this.router.url == '/home') {\n let navlist = document.querySelectorAll('.has-subnav');\n navlist[1].classList.remove('active');\n navlist[3].classList.remove('active');\n return this.router.url == '/home';\n }else{\n return false;\n }\n // else if (this.router.url == '/learn/products' || this.router.url == '/learn/applebusinessmanager' || this.router.url == '/learn/androidzerotouch' || this.router.url == '/learn/samsungknoxmobile') {\n // let navlist = document.querySelectorAll('.has-subnav');\n // navlist[3].classList.add('active');\n // }\n // else if (this.router.url == '/productselection' || this.router.url == '/welcome') {\n // let navlist = document.querySelectorAll('.has-subnav');\n // navlist[1].classList.add('active');\n // }\n }\n\n ngOnInit() {\n this.clickEventSub = this.headerService.getEnrollClickEvent().subscribe((resp)=>{\n if(resp){\n this.navigateDeviceAndShop();\n }\n console.log('URL: ' + this.router.url);\n \n });\n\n if (ENV_PORTAL === \"dmpadmin\" ) {\n this.isNotDMPAdmin = false;\n // if(window.location.href.indexOf(\"care\") == -1){\n // //customer portal under admin\n // this.isNotDMPAdmin = true;\n // }else{\n // //normal admin portal\n // this.isNotDMPAdmin = false;\n // }\n \n }\n if(ENV_PORTAL === \"fnabc\" || ENV_PORTAL === \"myatt\") {\n this.show5gOption = false;\n }\n this.pageSlider = this.utilityService.getEnvConfig().homePageCms;\n this.landingPageRoute = this.authenticationService.getLandingPageRoute();\n //code for login error banner\n const status = localStorage.getItem('loginFail');\n if (status) {\n localStorage.removeItem('loginFail');\n this.loginErrorMessage = (LOGIN_ERROR[status]) ?\n LOGIN_ERROR[status] :\n LOGIN_ERROR['403'];\n }\n this.homeService.getSlider(this.pageSlider)\n .subscribe((respobj) => {\n this.homePage = respobj;\n this.pageCount = respobj.slider.length;\n }, error => {\n this.handleError(error);\n });\n this.homeService.createPageLoadProperties();\n\n this.enrollStatusSubscription = this.authenticationService.getEnrollStatus().subscribe(status => {\n console.log(\"Enroll Status: \" + status);\n this.showRegisterIcon = status;\n // Perform any additional actions needed when enrollStatus changes\n });\n\n // this.showHideRegisterIcon();\n }\n\n \n\n handleError(error) {\n throw error;\n }\n\n over() {\n this.showMenuImg = false;\n this.hideMeuImg = true;\n }\n out() {\n this.showMenuImg = true;\n this.hideMeuImg = false;\n this.openDropMenu = true;\n this.closeDropMenu = false;\n this.display = false;\n }\n setRKey(parameter) {\n this.triggerUrl = parameter === 'myatt' ? MYATT_LOGIN_URL : PREMIER_LOGIN_URL;\n window.location.href = this.triggerUrl;\n }\n\n setCallingPage(callingPageUrl) {\n sessionStorage.setItem('callingPageName', callingPageUrl);\n }\n\n ngAfterViewInit() {\n this.elementPosition = 10;\n this.enrollStatusSubscription = this.authenticationService.getEnrollStatus().subscribe(status => {\n console.log(\"Enroll Status2: \" + status);\n // Perform any additional actions needed when enrollStatus changes\n });\n }\n\n @HostListener('window:scroll', ['$event'])\n handleScroll() {\n const windowScroll = window.pageYOffset;\n this.ngAfterViewInit();\n if (windowScroll > this.elementPosition) {\n this.sticky = true;\n } else {\n this.sticky = false;\n }\n }\n\n\n openCloseSubMenu(id) {\n if (id === \"show\") {\n this.display = true;\n this.openDropMenu = false;\n this.closeDropMenu = true;\n } else if (id === \"hide\") {\n this.display = false;\n this.openDropMenu = true;\n this.closeDropMenu = false;\n }\n if (id === \"showMenu\") {\n this.showMenuImg = false;\n this.hideMeuImg = true;\n }\n else if (id === \"hideMenu\") {\n this.showMenuImg = true;\n this.hideMeuImg = false;\n this.out();\n document.getElementById(\"openRight\").classList.add('disable-hover');\n setTimeout(() => {\n document.getElementById(\"openRight\").classList.remove('disable-hover')\n }, 40);\n }\n }\n\n checkSlider(buttonLink, title) {\n let navlist = document.querySelectorAll('.has-subnav');\n\n navlist[0].classList.remove('active');\n if ((buttonLink === \"/learn/androidzerotouch\") || (buttonLink === \"/learn/applebusinessmanager\") || (buttonLink === \"/learn/samsungknoxmobile\") || (buttonLink === \"/learn/5g\")) {\n navlist[3].classList.add('active');\n }\n if (buttonLink.startsWith('http')) {\n this.adobeAnalyticsService.createClickProperties('Learn more about ' + title, 'Body', buttonLink);\n window.open(buttonLink);\n }\n else {\n this.adobeAnalyticsService.createClickProperties('Learn more about ' + title, 'Body', '/businessconsole' + buttonLink);\n return this.router.navigate([buttonLink]);\n }\n }\n\n commonFunction(funcName, parameter) {\n if (location.href.indexOf('selectstubid') != -1 && (parameter == \"/support\" || parameter == \"/faq\" || parameter ==\"/learn\")) {\n alert('Please select a StubID to proceed.');\n } else {\n let navlist = document.querySelectorAll('.has-subnav');\n navlist[0].classList.remove('active');\n navlist[1].classList.remove('active');\n if (parameter == \"/home\") {\n navlist[3].classList.remove('active');\n navlist[1].classList.remove('active');\n this.chips.setChips(undefined);\n this.breadCrumbService.setCurrentBreadCrumb(undefined);\n }\n else if (parameter === \"/learn\") {\n let loginSwitch = JSON.parse(sessionStorage.getItem('loginDropdownPopupSwitch'));\n if(sessionStorage.getItem('sapmp_jwtToken') === null){\n if(loginSwitch){\n this.authenticationService.setLoginModalStatus(true);\n }else{\n this.authenticationService.loginDirect(\"fnabc\");\n }\n this.authenticationService.setLoginSuccessUrl(\"/home\");\n localStorage.setItem(\"navigateFrom\", \"enroll\");\n let d = new Date();\n d.setTime(d.getTime() + (90*1000));\n let expires = \"expires=\"+ d.toUTCString();\n document.cookie=\"enroll=true; expires=\"+expires+\"; domain=.att.com; path=/\";\n }else{\n navlist[1].classList.add('active');\n navlist[3].classList.remove('active');\n this.navigateDeviceAndShop();\n }\n }\n else {\n navlist[1].classList.remove('active');\n navlist[3].classList.remove('active');\n }\n if (funcName == \"setRKey\") {\n this.setRKey(parameter);\n }\n else if (funcName == \"setCallingPage\") {\n this.setCallingPage(parameter);\n }\n else if (funcName == \"localControl\") {\n window.open(FIRSTNET_LOCAL_CONTROL_URL);\n }\n else if (funcName == 'action') {\n window['store'].dispatch({ type: parameter });\n }\n }\n}\n\n navigateDeviceAndShop() {\n let navlist = document.querySelectorAll('.has-subnav');\n if(navlist && navlist.length > 0){\n navlist[0].classList.remove('active');\n navlist[1].classList.add('active');\n }\n \n this.pageloaderService.setPageLoaderStatus(false);\n let processingFans = JSON.parse(sessionStorage.getItem('processingFanList'));\n let processingFansCount = JSON.parse(sessionStorage.getItem('processingFanList')) ? processingFans.length : 0;\n if (sessionStorage.getItem('sapmp_jwtToken') === null) {\n sessionStorage.setItem('eligibilityCheck', 'true');\n this.landingPageRoute = this.homePage.links[0].rlink;\n this.adobeAnalyticsService.createClickProperties(this.homePage.links[0].linkName, 'Body', '/businessconsole' + this.landingPageRoute);\n if(navlist && navlist.length > 0) {\n navlist[1].classList.remove('active');\n }\n return this.router.navigate([this.landingPageRoute]);\n }\n this.user = this.authenticationService.getUser();\n if (this.user.addpAuthority !== 'NONE') {\n this.authenticationService.getFanSignedUpStatus()\n .subscribe(resp => {\n sessionStorage.setItem('initialSignupStatus', resp.initialSignupStatus);\n sessionStorage.setItem('noOfDevice', resp.noOfDevices);\n if (resp.fansSummary?.length > 0) {\n let signupFanSum = resp.fansSummary;\n let signupFanList = [];\n let signupActiveFanList = [];\n let processingFanList = [];\n let inProgressFan = [];\n for (let i = 0; i < signupFanSum.length; i++) {\n if (signupFanSum[i].status == \"AWAITING_SIGNUP\") {\n for (let j = 0; j < signupFanSum[i].count; j++) {\n signupFanList.push(signupFanSum[i].fans[j]);\n }\n }\n }\n sessionStorage.setItem('signupFanList', JSON.stringify(signupFanList));\n\n //get active fans list\n for (let i = 0; i < signupFanSum.length; i++) {\n if (signupFanSum[i].status == \"ACTIVE\") {\n for (let j = 0; j < signupFanSum[i].count; j++) {\n signupActiveFanList.push(signupFanSum[i].fans[j]);\n }\n }\n }\n sessionStorage.setItem('signupActiveFanList', JSON.stringify(signupActiveFanList));\n //for 'processing' fans\n for (let i = 0; i < signupFanSum.length; i++) {\n if (signupFanSum[i].status == \"PROCESSING\") {\n for (let j = 0; j < signupFanSum[i].count; j++) {\n //processingFanList.push(signupFanSum[i].fans[j]);\n inProgressFan.push(signupFanSum[i].fans[j]);\n //getting fan info of 'processing' fan to store in session storage\n for (let k = 0; k < resp.fanInfoList.length; k++) {\n if (signupFanSum[i].fans[j] === resp.fanInfoList[k].fan) {\n processingFanList.push(resp.fanInfoList[k]);\n }\n }\n }\n }\n }\n sessionStorage.setItem('inProgressFan', JSON.stringify(inProgressFan));\n sessionStorage.setItem('processingFanList', JSON.stringify(processingFanList));\n }\n if (!resp.efotaFansSummary) {\n sessionStorage.setItem('efotaEnrolledFanList', '[]');\n }\n else {\n let efotaFansSum = resp.efotaFansSummary;\n let efotaEnrolledFanList = [];\n for (let i = 0; i < efotaFansSum.length; i++) {\n if (efotaFansSum[i].status == \"ACTIVE\") {\n for (let j = 0; j < efotaFansSum[i].count; j++) {\n efotaEnrolledFanList.push(efotaFansSum[i].fans[j]);\n }\n }\n }\n sessionStorage.setItem('efotaEnrolledFanList', JSON.stringify(efotaEnrolledFanList));\n }\n if (!resp.efotaNotEnrolledFanList) {\n sessionStorage.setItem('efotaNotEnrolledFanList', '[]');\n sessionStorage.setItem('efotaEnrollmentInfo', '[]');\n }\n else {\n sessionStorage.setItem('efotaEnrollmentInfo', JSON.stringify(resp.efotaEnrollmentInfo));\n sessionStorage.setItem('efotaNotEnrolledFanList', JSON.stringify(resp.efotaNotEnrolledFanList));\n }\n\n if (resp.allFansInEligible === true) {\n this.user.fanSignedUpStatus = 'NotEligible';\n } else {\n if (this.user) {\n this.user.fanSignedUpStatus = this.getFanSignedUpStatus(resp.fansSummary);\n }\n if (resp.productCode !== null && resp.productCode !== undefined) {\n this.mdmDetails.productCode = resp.productCode;\n this.mdmDetails.latestAccountType = resp.recentlyEnrolledProduct;\n if (this.mdmDetails.productCode === 'ADDPMDM') {\n this.mdmDetails.ibmEmmAccountId = resp.ibmEmmAccountId;\n let productDetails = { emmProductCode: '', selectedAccID: '', signupEmmStatus: '' };\n productDetails.emmProductCode = 'ADDPMDM';\n productDetails.selectedAccID = resp.ibmEmmAccountId;\n productDetails.signupEmmStatus = 'revised';\n sessionStorage.setItem('manage-product', JSON.stringify(productDetails));\n } else {\n if (resp.googleEmmAccountId !== null && resp.googleEmmAccountId !== undefined) {\n this.mdmDetails.googleEmmAccountId = resp.googleEmmAccountId;\n }\n if (resp.samsungEmmAccountId !== null && resp.samsungEmmAccountId !== undefined) {\n this.mdmDetails.samsungEmmAccountId = resp.samsungEmmAccountId;\n }\n if (resp.fanInfoList !== null && resp.fanInfoList !== undefined) {\n sessionStorage.setItem('fanInfoList', JSON.stringify(resp.fanInfoList));\n }\n }\n sessionStorage.setItem('mdmDetails', JSON.stringify(this.mdmDetails));\n }\n }\n this.authenticationService.setUser(this.user);\n\n let checkMore = true;\n let directWelcome = false;\n if (resp.fansSummary) {\n for (let k = 0; k < resp.fansSummary.length; k++) {\n if (resp.fansSummary[k].status === \"AWAITING_SIGNUP\" && resp.fansSummary[k].count > 0) {\n this.redirectFlag = true;\n checkMore = false;\n if (resp.fansSummary[k].count === resp.noOfFans) {\n directWelcome = true;\n }\n }\n }\n }\n\n if (resp.fanInfoList) {\n let fanArr = resp.fanInfoList.map((x) => x.fan);\n let fanArrRefine = [];\n if (fanArr && fanArr.length > 0) {\n fanArrRefine = fanArr.filter(\n (x, index) => fanArr.indexOf(x) === index\n );\n }\n\n let activeFanArr = resp.fanInfoList.filter((x) => x.accountStatus === \"ACTIVE\" || x.accountStatus === \"SIGNUP_INPROGRESS\");\n if (activeFanArr.length === 0) {\n directWelcome = true;\n }\n\n if (activeFanArr.length < fanArrRefine.length * 2) {\n this.redirectFlag = true;\n }\n }\n\n if (directWelcome === true) {\n this.router.navigate(['/welcome']);\n if(navlist && navlist.length > 0) navlist[1].classList.add('active');\n this.pageloaderService.setPageLoaderStatus(true);\n\n } else if (((this.homePage.links[0].rlink === '/learn') && (processingFansCount >= 1)) || this.redirectFlag) {\n this.router.navigate(['/productselection']);\n if(navlist && navlist.length > 0) navlist[1].classList.add('active');\n this.pageloaderService.setPageLoaderStatus(true);\n } else {\n this.pageloaderService.setPageLoaderStatus(true);\n return this.navigationRedirect(this.homePage.links[0].linkName);\n }\n }, () => {\n this.user.fanSignedUpStatus = 'Error';\n this.authenticationService.setUser(this.user);\n return this.navigationRedirect(this.homePage.links[0].linkName);\n });\n } else {\n return this.navigationRedirect(this.homePage.links[0].linkName);\n }\n }\n\n navigationRedirect(inputLinkName) {\n const roleFanStaus = this.user.addpAuthority + '_' + this.user.fanSignedUpStatus;\n const redirectInfo = ADDP_PERMISSION_MAPPING[roleFanStaus];\n\n if (redirectInfo && this.mdmDetails.productCode === 'ADDPMDM' && redirectInfo.logonurl === 'productselection') {\n redirectInfo.logonurl = 'signup';\n this.authenticationService.setLandingPageRoute('/' + redirectInfo.logonurl);\n } else if (redirectInfo) {\n this.authenticationService.setLandingPageRoute('/' + redirectInfo.logonurl);\n }\n this.adobeAnalyticsService.createClickProperties(inputLinkName, 'Body', '/businessconsole' + this.landingPageRoute);\n this.landingPageRoute = this.authenticationService.getLandingPageRoute();\n this.router.navigate([this.landingPageRoute]);\n }\n\n\n getFanSignedUpStatus(fansSummary) {\n let fanSignedUpStatus = 'NONE';\n if (fansSummary) {\n const signedUpFansCount = fansSummary.\n filter((f) => { return f.status === 'ACTIVE' || f.status === 'READY_TO_SETUP'; }).length;\n const notSignedUpFansCount = fansSummary.\n filter((f) => { return f.status === 'AWAITING_SIGNUP'; }).length;\n const abmfePendingSignedUpFansCount = fansSummary.\n filter((f) => { return f.status === 'PROCESSING' || f.status === 'SIGNUP_INPROGRESS' }).length;\n if (abmfePendingSignedUpFansCount > 0) {\n fanSignedUpStatus = 'PROCESSING';\n }\n if (signedUpFansCount > 0 && notSignedUpFansCount > 0) {\n fanSignedUpStatus = 'SOME';\n } else if (signedUpFansCount > 0 && notSignedUpFansCount === 0) {\n fanSignedUpStatus = 'ALL';\n } else {\n fanSignedUpStatus = 'NONE';\n }\n }\n return fanSignedUpStatus;\n }\n}\n","
\n","import { Component, OnInit } from '@angular/core';\nimport { Router } from '@angular/router';\nimport { PlatformLocation } from '@angular/common';\nimport { fromEvent, Subject } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\nimport { PageLoaderService } from \"lib/ng2-sapmp/src/ui-components/page-loader\";\nimport { AuthenticationService } from \"lib/ng2-sapmp/src/providers/authentication.service\";\nimport { HeaderService } from '../header/header.service';\n\n\n@Component({\n selector: 'app-multi-stubid-page',\n templateUrl: './multi-stubid-page.component.html',\n styleUrls: ['./multi-stubid-page.component.scss']\n})\nexport class MultiStubidPageComponent implements OnInit {\n multiStubId_flag: boolean;\n listOfStubIds: any;\n private unsubscriber : Subject = new Subject();\n\n constructor(private router: Router, private pageloaderService: PageLoaderService,\n private authenticationService: AuthenticationService, private headerService: HeaderService) {\n this.listOfStubIds = localStorage.getItem('dmp_stubid_list') ? JSON.parse(localStorage.getItem('dmp_stubid_list')) : [];\n }\n\n ngOnInit(): void {\n if(location.href.indexOf(\"selectstubid\") != -1) {\n this.multiStubId_flag = true;\n } else {\n this.multiStubId_flag = false;\n }\n this.pageloaderService.setPageLoaderStatus(true);\n }\n \n stubId: any;\n selectedStubId: any;\n\n onSelectStubId(stubId: any): void {\n // this.selectedStubId = stubId;\n this.selectedStubId = '';\n localStorage.setItem('dmpStubId', this.selectedStubId);\n // this.router.navigate(['authentication']);\n this.authenticationService.validateUser()\n .subscribe(\n (resp: any) => {\n this.authenticationService.navigateAfterLogin(null);\n },\n error => this.authenticationService.handleLoginError(error.status),\n )\n }\n}\n","
\n

Choose your user ID

\n

You have mutiple user IDs associated with your profile. Select the ID for the account you want to manage.

\n \n
\n \n \n","import {\n Component, Input, ViewEncapsulation, AfterContentChecked, AfterContentInit,\n AfterViewChecked, ElementRef\n} from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { HttpHeaders, HttpResponse } from '@angular/common/http';\nimport { Router } from '@angular/router';\nimport { UtilityService, HttpClientService, AuthenticationService } from './../../../lib/ng2-sapmp/src/providers';\nimport { AccordionModel } from './../../../lib/ng2-sapmp/src/ui-components';\nimport { KEY_CONFIG } from './../../../lib/ng2-sapmp/src/config/key-config';\nimport { NotificationService } from './shared/notification.service';\n\n@Component({\n selector: 'app-notifications',\n templateUrl: './notification.component.html',\n styleUrls: ['./notifications.component.scss'],\n providers: [NotificationService],\n encapsulation: ViewEncapsulation.None\n})\n\nexport class NotificationAlertComponent implements AfterContentChecked, AfterContentInit, AfterViewChecked {\n\n public notificationAccordionData: Array;\n public lazyLoadAlerts: any;\n public showSeeMore: boolean;\n public loading: boolean;\n public efotaAlertsCount: number = 0;\n public alertsList = [];\n private alerts: any;\n private scrollToNew: boolean;\n private updateView: boolean;\n private startOffset: number;\n private endOffset: number;\n private currentOffset: number;\n private focusElement: any;\n private addpAuthority: any;\n private addpAllow: boolean;\n private totalAlerts: any;\n\n\n // Configure either of the properties to control the visible alerts on page load\n @Input() visibleAlerts: number;\n @Input() visibleViewport: number;\n\n constructor(private util: UtilityService, private router: Router,\n private el: ElementRef, private httpService: HttpClientService,\n private authService: AuthenticationService, private notificationService: NotificationService) {\n const endIndex = this.visibleAlerts ? this.visibleAlerts * 2 : 6; // EndIndex to include visible alerts and buffer\n this.loading = true;\n this.addpAllow = false;\n if (sessionStorage.getItem('user')) {\n this.addpAuthority = JSON.parse(sessionStorage.getItem('user')).user.addpAuthority;\n if (this.addpAuthority === 'READ_ONLY') {\n this.addpAllow = true;\n }\n }\n const userObj = authService.getUser();\n if (userObj) {\n let userName;\n if((userObj.firstName.length == 0 || userObj.firstName == 'NOT_FOUND') && (userObj.lastName.length == 0 || userObj.lastName == 'NOT_FOUND')) {\n userName = \"Unknown\";\n }\n else if((userObj.firstName.length > 0 && userObj.firstName != 'NOT_FOUND') && (userObj.lastName.length == 0 || userObj.lastName == 'NOT_FOUND')) {\n userName = userObj.firstName;\n }\n else if((userObj.firstName.length == 0 || userObj.firstName == 'NOT_FOUND') && (userObj.lastName.length > 0 && userObj.lastName != 'NOT_FOUND')) {\n userName = userObj.lastName;\n }\n else {\n userName = userObj.firstName + ' ' + userObj.lastName;\n }\n document.getElementsByClassName('first-name')[0].innerHTML = userName;\n }\n\n sessionStorage.setItem('hideNotifications', 'true');\n this.alerts = [];\n this.lazyLoadAlerts = [];\n if (!(this.visibleAlerts || this.visibleViewport)) {\n this.visibleViewport = 570;\n }\n\n this.notificationAccordionData = [];\n if ( this.addpAuthority !== 'NONE') {\n this.notificationService.getAlerts().subscribe(resObj => {\n this.loading = false;\n this.alerts = resObj.alerts;\n const totalAlerts = this.alerts.length;\n sessionStorage.setItem(\"alerts\", JSON.stringify(this.alerts));\n let efotaAlerts = [];\n this.efotaAlertsCount = 0;\n for(let i=0 ; i {\n this.notificationAccordionData.push(this.createAccordionModel(0));\n this.loading = false;\n });\n }else {\n this.loading = false;\n }\n}\n\n ngAfterContentInit() {\n const alertParent = document.getElementsByTagName('app-parent');\n // Close accordion when clicked outside\n document.addEventListener('click', (event) => {\n let sourceElement = event.srcElement;\n if (!alertParent[0].contains(sourceElement) && document.contains(sourceElement) && this.notificationAccordionData[0]) {\n this.notificationAccordionData[0].isActive = false;\n }\n });\n }\n\n ngAfterContentChecked() {\n if (this.alerts) {\n this.showSeeMore = this.alerts.seeMore;\n }\n const alertList = document.querySelectorAll('.notification-list li:not([hidden])');\n if (alertList && this.scrollToNew) {\n this.scrollToNew = false;\n // Scroll last loaded alert into view\n alertList[alertList.length - 1].scrollIntoView(false);\n }\n }\n\n ngAfterViewChecked() {\n if (this.alerts && this.updateView) {\n this.updateView = false;\n const currentOffset = this.currentOffset;\n this.updateAlertsView(currentOffset);\n }\n }\n\n removeAlert(accordion: AccordionModel, index: number, event: Event) {\n event.stopPropagation();\n event.preventDefault();\n const envConfig = this.util.getEnvConfig();\n sessionStorage.setItem('hideNotifications', 'false');\n let alertsCount = JSON.parse(document.getElementById('alert-widget').innerHTML);\n alertsCount = alertsCount-1;\n if(alertsCount){ \n document.getElementById('alert-widget').innerHTML = alertsCount;\n }\n else{\n document.getElementById('alert-widget').innerHTML = alertsCount;\n document.getElementById('alert-widget').setAttribute('style', 'display: none');\n }\n this.httpService.request(envConfig.notificationsUrl + '' + this.lazyLoadAlerts[index].id, 'delete', '', this.notificationService.getHeaders())\n .pipe(\n map((res: HttpResponse) => {\n if (sessionStorage.getItem('sapmp_jwtToken') != null) {\n // refreshes token for logged in scenario upon page load\n this.httpService.tokenRefresh(this.util.getEnvConfig().tokenRefresh);\n }\n this.alertsList = JSON.parse(sessionStorage.getItem(\"alerts\"));\n if(this.alertsList[index].title == \"New EFOTA Report Available\") {\n this.efotaAlertsCount--;\n sessionStorage.setItem(\"efotaAlertsCount\", JSON.stringify(this.efotaAlertsCount));\n delete this.alertsList[index];\n this.alertsList = this.alertsList.filter(item => {\n return item != null;\n });\n sessionStorage.setItem(\"alerts\",JSON.stringify(this.alertsList));\n }\n else {\n delete this.alertsList[index];\n this.alertsList = this.alertsList.filter(item => {\n return item != null;\n });\n sessionStorage.setItem(\"alerts\",JSON.stringify(this.alertsList));\n }\n return res.body;\n }))\n .subscribe(res => {\n console.log(res);\n }, err => {\n console.log(err);\n });\n this.lazyLoadAlerts.splice(index, 1);\n // sessionStorage.setItem('hideNotifications', 'true');\n accordion.category = accordion.id + '
' + (this.lazyLoadAlerts.length + this.alerts.length) + '
';\n const current = this.visibleViewport ? Math.ceil(this.currentOffset / this.visibleViewport) * this.visibleViewport :\n this.currentOffset;\n if (this.showSeeMore) {\n this.updateAlertsView(current);\n this.lazyLoadAlerts = this.lazyLoadAlerts.concat(this.alerts.splice(0, 1));\n this.updateView = true;\n }\n // To create gray title when count is 0\n if (this.lazyLoadAlerts.length < 1) {\n let alerttitle = document.getElementsByClassName('toggle-header')[0];\n alerttitle.classList.add('active');\n }\n }\n\n handleKeypress(accordion: AccordionModel, index: number, event) {\n if (event.keyCode === KEY_CONFIG.space || event.keyCode === KEY_CONFIG.enter) {\n this.removeAlert(accordion, index, event);\n if (this.lazyLoadAlerts[index]) {\n this.focusElement = document.getElementById('alert' + this.lazyLoadAlerts[index].id);\n this.focusElement.querySelectorAll('[tabindex=\"0\"]')[0].focus();\n } else {\n this.el.nativeElement.querySelectorAll('.icon-accordion-minus')[0].focus();\n }\n }\n }\n\n navigate(accordion: AccordionModel, index: number, event) {\n if (!event.keyCode || event.keyCode === KEY_CONFIG.space || event.keyCode === KEY_CONFIG.enter) {\n event.stopPropagation();\n event.preventDefault();\n document.getElementById('userProfileInfo').classList.toggle('show');\n document.body.classList.toggle('d-open');\n const action = this.lazyLoadAlerts[index].actionLink[0].action;\n document.getElementById('icon-close-log-out').setAttribute('style', 'display: none');\n document.getElementById('icon-log-out').setAttribute('style', 'display: inline');\n this.removeAlert(accordion, index, event);\n if (action.indexOf('.') > -1) {\n window.open(action, '_new');\n } else {\n this.router.navigate([action]);\n }\n }\n }\n\n createAccordionModel(length: number) {\n const accordionModel = new AccordionModel();\n accordionModel.id = 'Alerts';\n accordionModel.isActive = true;\n accordionModel.category = 'Alerts' + '
' + length + '
';\n accordionModel.ariaLabel = {\n 'expand': 'Show alerts.',\n 'collapse': 'Hide alerts.',\n };\n return accordionModel;\n }\n\n showAlert(loaded: true) {\n if (this.visibleViewport) {\n this.startOffset = this.startOffset + document.getElementsByClassName('toggle-header')[0].clientHeight;\n }\n this.currentOffset = this.startOffset;\n this.updateAlertsView();\n this.notificationAccordionData[0].isActive = false;\n }\n\n updateAlertsView(loadMore?) {\n this.endOffset = this.startOffset;\n this.focusElement = undefined;\n this.alerts.seeMore = false;\n this.lazyLoadAlerts.forEach((alert, index) => {\n if (this.visibleViewport && !alert.height) {\n alert.height = this.computeElHeight(alert.id);\n }\n this.getVisibleAlerts(alert, index, loadMore);\n });\n }\n\n getVisibleAlerts(alert, index, loadMore?) {\n const endOffset = alert.height || 1;\n const viewLimit = this.visibleViewport || this.visibleAlerts;\n this.endOffset = this.endOffset + endOffset;\n const containerLimit = loadMore > viewLimit ? loadMore : viewLimit;\n const container = document.getElementById('alert' + alert.id);\n if (this.endOffset > containerLimit) {\n container.parentElement.hidden = true;\n this.alerts.seeMore = true;\n } else {\n if (container.parentElement.hidden && !this.focusElement) {\n this.focusElement = container;\n }\n this.currentOffset = this.endOffset;\n container.parentElement.hidden = false;\n }\n }\n\n showMoreAlerts(event: Event) {\n this.scrollToNew = true;\n const current = this.currentOffset + (this.visibleViewport || this.visibleAlerts);\n const endIndex = this.visibleAlerts ? this.visibleAlerts : 3;\n this.updateAlertsView(current);\n this.lazyLoadAlerts = this.lazyLoadAlerts.concat(this.alerts.splice(0, endIndex));\n this.updateView = true;\n // Added for CATO\n this.focusElement.querySelectorAll('[tabindex=\"0\"]')[0].focus();\n }\n\n // Will show the first two alerts and the whole process repeats\n showFewerAlerts(event: Event) {\n this.alerts = this.lazyLoadAlerts;\n\n const endIndex = this.visibleAlerts ? this.visibleAlerts * 2 : 2;\n this.lazyLoadAlerts = [];\n const loginBoxHeight = document.getElementsByClassName('notification-box')[0].clientHeight;\n this.startOffset = this.visibleViewport ? loginBoxHeight : 0;\n this.lazyLoadAlerts = this.alerts.splice(0, endIndex); // take all the alerts here.\n\n this.showMoreAlerts(event);\n this.showAlert(true);\n\n this.alerts.seeMore = true;\n }\n // calculating the height of each alert\n computeElHeight(alertId) {\n return document.getElementById('alert' + alertId).clientHeight;\n }\n\n accordionOpen(event: Event) {\n event.stopPropagation();\n }\n\n // Updating the count-bubble in the header\n updateCountBubble(totalAlerts) {\n const alertWidget = document.getElementById('alert-widget');\n document.getElementById('icon-log-out').setAttribute('style', 'margin-right: -10px');\n alertWidget.innerHTML = totalAlerts;\n alertWidget.setAttribute('style', 'display: inline');\n sessionStorage.setItem('hideNotifications', 'false');\n }\n\n handleKeydown(event) {\n event.preventDefault();\n event.stopPropagation();\n if (event.keyCode === KEY_CONFIG.space || event.keyCode === KEY_CONFIG.enter) {\n this.showMoreAlerts(event);\n } else if (event.keyCode === KEY_CONFIG.tabKey) {\n this.el.nativeElement.querySelectorAll('.icon-accordion-minus')[0].focus();\n }\n }\n}\n","
\n \n
\n","import { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { Observable } from 'rxjs';\n\n\n\nimport { HttpClient, HttpResponse, HttpHeaders } from '@angular/common/http';\nimport { HttpClientService, UtilityService, AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';\nimport { ANALYTICS_CONSTANTS } from 'config';\n\n@Injectable()\nexport class NotificationService {\n\n constructor(private http: HttpClient, private httpClientService: HttpClientService,\n private utilityService: UtilityService,\n private adobeAnalyticsService: AdobeAnalyticsService) { }\n\n\n\n getAlerts() {\n const envConfig = this.utilityService.getEnvConfig();\n let url = 'notificationsUrl';\n if (envConfig.useMock) {\n url = 'notificationsUrlMock';\n }\n return this.httpClientService.get(envConfig[url], this.getHeaders())\n .pipe(\n map((res: HttpResponse) => {\n if (sessionStorage.getItem('sapmp_jwtToken') != null) {\n // refreshes token for logged in scenario upon page load\n this.httpClientService.tokenRefresh(this.utilityService.getEnvConfig().tokenRefresh);\n }\n return res.body; }));\n }\n getHeaders() {\n let headers = new HttpHeaders();\n headers = headers.append('Authorization', sessionStorage.getItem('sapmp_jwtToken'));\n return headers;\n }\n }\n","// export * from './shared';\nexport * from './product-configurator.component';\n","import { Component, OnInit, OnDestroy, ViewEncapsulation } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { HttpClient } from '@angular/common/http';\nimport { FormGroup, Validators, FormBuilder } from '@angular/forms';\nimport { PageLoaderService } from 'lib/ng2-sapmp/src/ui-components';\nimport { ProductConfiguratorService } from './shared';\nimport { AuthenticationService, UtilityService, ValidationService, AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';\nimport { CartService } from './../cart/cart.service';\nimport {\n ProductModel, CartModel, PriceModel, ResponseCartModel, RequestCartModel, RequestLineItemModel, LineItemModel, SkusModel, PriceInfoModel,\n TotalPriceInfoModel\n} from './../../models';\nimport { HeaderService } from './../header/header.service';\nimport { UserProfileModel } from 'lib/ng2-sapmp/src/models';\nimport { BreadCrumbService } from 'lib/ng2-sapmp/src/ui-components/breadcrumb';\n\ndeclare var ENV_VAR: any; // global variable set in env.js file, imported in index.html\ndeclare var logoutCurrentUser: any;\n// declare var checkCart: any;\n\n@Component({\n selector: 'app-product-configurator',\n providers: [ValidationService, ProductConfiguratorService, CartService,\n AdobeAnalyticsService], // utilityService is provided in app component already\n templateUrl: './product-configurator.component.html',\n styleUrls: ['./product-configurator.component.scss']\n})\nexport class ProductConfiguratorComponent implements OnInit, OnDestroy {\n\n productDetail: ProductModel;\n tmpPricingObj: any = [];\n totPricingObj: any = [];\n selectedindex;\n serviceconfigurationform: FormGroup;\n initialQty: any = 1;\n tmpQty: any = 1;\n cart: CartModel;\n pricePointLineItem: LineItemModel;\n cartItemDisplayName = '';\n requestCart: RequestCartModel;\n requestLineItem: RequestLineItemModel;\n responseCart: ResponseCartModel;\n id: string;\n updateCart = true;\n requestPriceInfoObj = {\n dcmCodes: [],\n quantity: 0\n };\n maxQty = 1;\n setError: boolean;\n ErrorMessage: string;\n setInfo: boolean;\n infoHeader: string;\n infoMessage: string;\n volumeContent: any = {};\n priceErr = false;\n formErrors = {\n 'qty': ''\n };\n validationMessages = {\n 'qty': {\n 'required': 'No.of Licenses is required.',\n 'pattern': 'Please enter a valid numeric value from 1 to ' + this.maxQty + '.',\n 'limitErr': 'No more licenses are available for this purchase.'\n }\n };\n firstRun = true;\n disableRadio = false;\n skuId: string;\n\n constructor(private route: ActivatedRoute,\n private router: Router,\n private authenticationService: AuthenticationService,\n private productConfiguratorService: ProductConfiguratorService,\n private utilityService: UtilityService,\n private formBuilder: FormBuilder,\n private validationService: ValidationService,\n private cartService: CartService,\n private adobeAnalyticsService: AdobeAnalyticsService,\n private http: HttpClient, private pageloaderService: PageLoaderService, private breadCrumbService: BreadCrumbService,\n private headerService: HeaderService) {\n }\n\n ngOnInit() {\n this.headerService.setCondensedFooterStatus(false);\n this.headerService.condensedHeader('productConfigurator');\n this.breadCrumbService.setCurrentBreadCrumb(undefined);\n if (this.authenticationService.getUser() === null) {\n // this.router.navigate(['login']);\n window.location.href = '/businessconsole/login';\n }\n this.id = this.route.snapshot.params['id'];\n this.productDetail = new ProductModel();\n this.productDetail = JSON.parse(sessionStorage.getItem('productConfig-' + this.id));\n if (this.productDetail.skus && this.productDetail.skus.length > 1) {\n this.disableRadio = false;\n } else {\n this.disableRadio = true;\n }\n\n if (this.productDetail === null) {\n this.router.navigate(['/home']);\n return;\n }\n\n this.authenticationService.setLoginSuccessUrl(this.router.routerState.snapshot.url);\n document.body.classList.add('productconfigurator-page');\n const url = this.router.routerState.snapshot.url;\n const updatedUrl = url.substring(0, url.lastIndexOf('/'));\n document.title = this.utilityService.getPageTitleConfig()[updatedUrl];\n\n this.initialQty = this.productDetail.quantity;\n this.cart = JSON.parse(sessionStorage.getItem('cart'));\n\n\n this.productDetail.skus.sort((sku1, sku2): number => {\n return (parseInt(sku1.basicPrice, 10) - parseInt(sku2.basicPrice, 10));\n });\n this.productDetail.skus.sort((sku1, sku2): number => {\n return (sku2.selected - sku1.selected);\n });\n\n if (this.cart) {\n this.productDetail.skus.sort((sku1, sku2): number => {\n return (parseInt(sku1.basicPrice, 10) - parseInt(sku2.basicPrice, 10));\n });\n this.productDetail.skus.sort((sku1, sku2): number => {\n return (sku2.selected - sku1.selected);\n });\n if (!!this.productDetail.skus && this.productDetail.skus !== null && this.productDetail.skus !== undefined) {\n this.productDetail.skus.forEach((productObj, index) => {\n if (productObj.selected === 1) {\n this.selectedindex = index;\n }\n });\n }\n } else {\n this.selectedindex = 0;\n }\n\n if (!!this.cart && !!this.cart.lineItems) {\n for (const item of this.cart.lineItems) {\n if (item.productId === this.id) {\n if (!this.productDetail.skus[0].isSelectedProduct) {\n this.setInfo = true;\n if (item.sku.id === this.productDetail.skus[0].id) {\n this.initialQty = item.quantity;\n this.infoHeader = item.sku.skuType + ' ' + this.productDetail.displayName + ' is already in your cart.';\n this.infoMessage = 'You can not have two instances of this product in your cart but you can add more licenses to it.';\n } else {\n this.infoHeader = item.sku.skuType + ' ' + this.productDetail.displayName + ' is already in your cart.';\n // tslint:disable-next-line:max-line-length\n this.infoMessage = 'You are limited to a single ' + item.sku.skuType + ' package. If you select another package and click on Add to cart, the selected package will replace the one that\\'s in your cart. ';\n }\n }\n }\n }\n } else {\n this.setInfo = false;\n }\n this.priceUpdate(this.selectedindex);\n this.productConfiguratorService.createPageLoadProperties(\n this.productDetail.skus,\n this.router.routerState.snapshot.url,\n 'Product Configurator');\n }\n\n buildForm(): void { // creating formcontrol as a group that is used as formControlName in html\n\n this.serviceconfigurationform = this.formBuilder.group({\n qty: [this.initialQty,\n [Validators.required,\n Validators.pattern('^(0|[1-9][0-9]*)$')]]\n }, { validator: this.productConfiguratorService.checkQty('qty', this.maxQty) });\n\n this.validationService.validate(\n this.serviceconfigurationform,\n this.formErrors,\n this.validationMessages);\n\n }\n\n priceUpdate(selectedIndex) {\n this.pageloaderService.setPageLoaderStatus(false);\n if (this.serviceconfigurationform && this.serviceconfigurationform.value && this.serviceconfigurationform.value.qty) {\n this.tmpQty = this.serviceconfigurationform.value.qty;\n } else {\n this.tmpQty = this.initialQty;\n }\n\n if (!!this.productDetail.skus && this.productDetail.skus !== null && this.productDetail.skus !== undefined) {\n this.requestPriceInfoObj.dcmCodes = [];\n this.productDetail.skus.forEach((prodobj, pIndex) => {\n this.requestPriceInfoObj.dcmCodes.push(prodobj.id);\n });\n }\n if (this.serviceconfigurationform && this.serviceconfigurationform.value && this.serviceconfigurationform.value.qty) {\n this.requestPriceInfoObj.quantity = this.serviceconfigurationform.value.qty;\n } else {\n this.requestPriceInfoObj.quantity = this.initialQty;\n }\n this.productConfiguratorService.getPricingInfo(\n this.utilityService.getEnvConfig().pricingupdate + this.productDetail.id, this.requestPriceInfoObj\n ).subscribe(pricingrespobj => {\n this.setError = false;\n this.priceErr = false;\n this.ErrorMessage = '';\n this.tmpPricingObj = pricingrespobj;\n if (!!this.tmpPricingObj && this.tmpPricingObj !== null && this.tmpPricingObj !== undefined) {\n this.tmpPricingObj.forEach((skuobj, sIndex) => {\n if (this.firstRun) {\n skuobj.monthlyRecurringFee.price.forEach((price, inIndex) => {\n if (price.maxQty > this.maxQty) {\n this.maxQty = price.maxQty;\n }\n });\n this.validationMessages.qty.pattern = 'Please enter a valid numeric value from 1 to ' + this.maxQty + '.';\n this.buildForm();\n this.firstRun = false;\n }\n skuobj.totalOneTimeFee = 0;\n if (!!skuobj.oneTimeFee && skuobj.oneTimeFee !== null && skuobj.oneTimeFee !== undefined) {\n skuobj.oneTimeFee.forEach((otf, oIndex) => {\n skuobj.totalOneTimeFee += otf.price[0].amount;\n });\n }\n if (!!this.productDetail.skus && this.productDetail.skus !== null && this.productDetail.skus !== undefined) {\n this.productDetail.skus.forEach((prodobj, pIndex) => {\n if (skuobj.dcmCode === prodobj.id) {\n this.productDetail.skus[pIndex].priceInfo = skuobj;\n }\n });\n }\n });\n }\n this.totalCalculation(selectedIndex);\n this.pageloaderService.setPageLoaderStatus(true);\n }, error => {\n this.setErrorMessage(error);\n });\n }\n\n totalCalculation(index) {\n this.totPricingObj = {};\n this.totPricingObj.oneTime = this.productDetail.skus[index].priceInfo['totalOneTimeFee'];\n this.totPricingObj.perMonth = this.productDetail.skus[index].priceInfo['monthlyRecurringFee']['totalPrice'];\n this.totPricingObj.unitPrice = this.productDetail.skus[index].priceInfo['monthlyRecurringFee']['unitPrice'];\n this.totPricingObj.singleQuantityCheck = this.productDetail.skus[index].priceInfo['monthlyRecurringFee']['price'][index]['maxQty'];\n this.volumeContent = this.productDetail.skus[index].priceInfo['monthlyRecurringFee'];\n\n }\n\n radioselection(rowIndex, event) {\n event.preventDefault();\n if (!!this.productDetail.skus && this.productDetail.skus !== null && this.productDetail.skus !== undefined) {\n this.productDetail.skus.forEach((productObj) => {\n productObj.selected = (productObj.id === this.productDetail.skus[rowIndex].id) ? 1 : 0;\n productObj.isSelectedProduct = (productObj.id === this.productDetail.skus[rowIndex].id) ? true : false;\n });\n }\n this.selectedindex = rowIndex;\n this.totalCalculation(rowIndex);\n }\n\n updateQty() {\n this.priceUpdate(this.selectedindex);\n }\n\n addToCart(event) {\n this.authenticationService.setLoginSuccessUrl('cart');\n this.cart = JSON.parse(sessionStorage.getItem('cart'));\n const sku = this.productDetail.skus[this.selectedindex];\n this.skuId = sku.id;\n const productDetail = this.productDetail;\n const lineItem: LineItemModel = new LineItemModel();\n const priceInfo: PriceInfoModel = new PriceInfoModel();\n lineItem.sku = sku;\n lineItem.quantity = this.tmpQty;\n lineItem.productId = productDetail.id;\n lineItem.displayName = sku.displayName;\n // lineItem.tncUrl = sku.tncUrl;\n /**\n * Getting tncUrl from cart Session\n */\n lineItem.tncUrl = this.productDetail.tncUrl;\n\n lineItem.skuId = sku.id;\n lineItem.maxQty = this.maxQty;\n lineItem.childDcmCodes = [];\n for (const childSku of this.productDetail.skus) {\n if (childSku.id !== sku.id) {\n lineItem.childDcmCodes.push(childSku.id);\n }\n }\n\n lineItem.priceInfo = priceInfo;\n lineItem.priceInfo.oneTimeFee = sku.priceInfo.oneTimeFee;\n lineItem.priceInfo.monthlyRecurringFee = sku.priceInfo.monthlyRecurringFee;\n if (this.cart && this.cart != null && this.cart.lineItems && this.cart.lineItems.length > 0) {\n if (!this.cartService.checkProductAlreadyPresent(this.cart.lineItems, lineItem)) {\n this.cart.lineItems.push(lineItem);\n if (lineItem.priceInfo.oneTimeFee === undefined || lineItem.priceInfo.oneTimeFee === null) {\n lineItem.priceInfo.oneTimeFee = new PriceModel();\n lineItem.priceInfo.oneTimeFee.amount = 0;\n }\n this.cart.priceInfo.oneTimeFee.amount = this.cart.priceInfo.oneTimeFee.amount + lineItem.priceInfo.oneTimeFee.amount;\n this.cart.priceInfo.monthlyRecurringFee.amount = this.cart.priceInfo.monthlyRecurringFee.amount +\n lineItem.priceInfo.monthlyRecurringFee.amount;\n this.setCartToSession();\n } else {\n this.pricePointLineItem = lineItem;\n this.cart.lineItems = this.cartService.updateCartItemwithNewSku(this.cart.lineItems, this.pricePointLineItem);\n this.setCartToSession();\n }\n } else {\n this.cart = new CartModel();\n this.cart.priceInfo = new TotalPriceInfoModel();\n this.cart.lineItems = new Array();\n this.cart.lineItems.push(lineItem);\n const onetimeFee: PriceModel = new PriceModel();\n const monthlyRecurringFee: PriceModel = new PriceModel();\n if (lineItem.priceInfo.oneTimeFee) {\n onetimeFee.amount = lineItem.priceInfo.oneTimeFee.amount;\n } else {\n onetimeFee.amount = 0;\n }\n monthlyRecurringFee.amount = lineItem.priceInfo.monthlyRecurringFee.amount;\n this.cart.priceInfo.oneTimeFee = onetimeFee;\n this.cart.priceInfo.monthlyRecurringFee = monthlyRecurringFee;\n this.setCartToSession();\n }\n }\n\n setCartToSession() {\n sessionStorage.setItem('cart', JSON.stringify(this.cart));\n sessionStorage.setItem('productConfig-' + this.id, JSON.stringify(this.productDetail));\n const product = this.cart.lineItems.find((data) => (data.skuId === this.skuId));\n this.productConfiguratorService.createAdobeEventProperties(product, 'SUCCESS', 'formSubmit', 'submit');\n this.productConfiguratorService.createAdobeEventProperties(product, 'SUCCESS', 'formResponse', 'submit');\n // this.headerService.checkCart();\n if (this.authenticationService.getUser() === null) {\n // this.router.navigate(['login']);\n window.location.href = '/businessconsole/login';\n } else {\n this.router.navigate(['cart']);\n }\n }\n\n handleError(error) {\n throw error;\n }\n\n gotoDetailPage(productId) {\n this.router.navigate(['/browse/details/' + productId]);\n }\n\n setErrorMessage(error) {\n this.pageloaderService.setPageLoaderStatus(true);\n if (error.status === 401) {\n this.setError = true;\n this.ErrorMessage = 'Session expired, Please login again.';\n logoutCurrentUser(true);\n } else if (error.status === 400) {\n this.setError = true;\n this.priceErr = true;\n if (error.error[0]) {\n this.ErrorMessage = JSON.stringify(error.error[0]);\n } else if (error.error) {\n this.ErrorMessage = error.error;\n } else {\n this.ErrorMessage = 'Can not add more than max-qty';\n }\n } else {\n this.setError = true;\n this.ErrorMessage = 'We couldn\\'t complete your request. Please try again later.';\n }\n this.adobeAnalyticsService.CreateSeriveAlertProperties(error.status, error.statusText, 'formResponse',\n error.status === 400 ? 'Failure_BusinessRule' : undefined);\n this.utilityService.loadFocusOnTop();\n }\n\n ngOnDestroy() {\n this.pageloaderService.setPageLoaderStatus(true);\n }\n}\n","
\r\n
\r\n

{{productDetail.displayName}}

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

Please note

\r\n

{{ErrorMessage}}

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

{{infoHeader}}

\r\n

{{infoMessage}}

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

1\">Step 1: Enter number of licenses

\r\n

Step 1: Number of licenses

\r\n
\r\n
\r\n \r\n\t \r\n
\r\n
1\">\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n {{ formErrors.qty }}\r\n
\r\n
\r\n
\r\n \t\t

This license allows an unlimited number of users.

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

1\" >You might qualify for contractual pricing, a volume discount, or both.
These will be applied to your total\r\n charges after you select your wireless number during checkout.

\r\n
\r\n\t\t
\r\n

If you qualify for discounts, your total will be updated during checkout.

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

Step 2: Select a product package

\r\n\t\r\n
\r\n
\r\n
\r\n
\r\n
 \r\n \r\n
\r\n
\r\n

\r\n
\r\n
\r\n
1\">\r\n

License price

\r\n\t\t\t \r\n
\r\n
\r\n {{iterateVolumeContent.amount | currency:'USD':true:'1.2-3'}} user per month\r\n
\r\n
0\">\r\n {{iterateVolumeContent.amount | currency:'USD':true:'1.2-3'}} more than {{iterateVolumeContent.minQty - 1}} users per month\r\n
\r\n
\r\n\t\t\t
\r\n
\r\n\t\t\t
\r\n

License price

\r\n\t\t\t \r\n
\r\n
\r\n {{iterateVolumeContent.amount | currency:'USD':true:'1.2-3'}} per month\r\n
\r\n
0\">\r\n {{iterateVolumeContent.amount | currency:'USD':true:'1.2-3'}} more than {{iterateVolumeContent.minQty - 1}} per month\r\n
\r\n
\r\n\t\t\t
\r\n
\r\n\t\t\t\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

{{ sku.priceInfo.totalOneTimeFee && sku.priceInfo.totalOneTimeFee | currency:'USD':true:'1.2-3'}}

\r\n

one-time charge

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

{{ 0 | currency:'USD':true:'1.2-3'}}

\r\n

one-time charge

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

\r\n {{sku && sku.priceInfo && sku.priceInfo.monthlyRecurringFee && sku.priceInfo.monthlyRecurringFee.totalPrice | currency:'USD':true:'1.2-3'}}\r\n

\r\n

\r\n {{sku && sku.priceInfo && sku.priceInfo.monthlyRecurringFee && sku.priceInfo.monthlyRecurringFee.totalPrice | currency:'USD':true:'1.2-3'}}\r\n

\r\n

1\" class=\"hide-md last-text\"> per month for {{this.tmpQty}} licenses

\r\n\t\t\t\t

per month

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

{{oneTimeFee && oneTimeFee.feeType}}

\r\n
\r\n

\r\n {{oneTimeFee && oneTimeFee.price[0].amount | currency:'USD':true:'1.2-3'}}\r\n {{oneTimeFee && oneTimeFee.price[0].amount | currency:'USD':true:'1.2-3'}}\r\n

\r\n

one-time charge

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

Total charges*

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

{{this.tmpQty}} 1)? 'licenses':'license'\"> @ {{this.totPricingObj.unitPrice\r\n | currency:'USD':true:'1.2-3'}}/ 1\">user month

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

{{ totPricingObj && totPricingObj.oneTime | currency:'USD':true:'1.2-3'}}

\r\n

{{ totPricingObj && totPricingObj.oneTime | currency:'USD':true:'1.2-3'}}

\r\n

one-time charge

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

{{ totPricingObj && totPricingObj.perMonth | currency:'USD':true:'1.2-3'}}

\r\n

{{ totPricingObj && totPricingObj.perMonth | currency:'USD':true:'1.2-3'}}

\r\n

per month

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n * Totals are based on estimated charges. Taxes and fees will be calculated for applicable charges. Charges will appear on your billing statement. You may not see any discounts or bill credits subtracted from your charges until you select your billing account on the Checkout page.\r\n
\r\n
\r\n \r\n Cancel\r\n
\r\n
\r\n
\r\n
","export * from './providers/product-configurator.service';\n","import { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { HttpClient, HttpResponse, HttpHeaders } from '@angular/common/http';\nimport { FormGroup, Validators, FormBuilder } from '@angular/forms';\nimport { throwError } from 'rxjs';\n// import { PRODUCT_CONFIGURATOR_QTY_LIMIT } from 'config';\nimport { ANALYTICS_CONSTANTS } from 'config';\nimport { FormControl } from '@angular/forms';\nimport { HttpClientService, AdobeAnalyticsService, UtilityService } from 'lib/ng2-sapmp/src/providers';\ndeclare var ENV_PORTAL;\n@Injectable()\nexport class ProductConfiguratorService {\n constructor(private http: HttpClient, private httpClientService: HttpClientService,\n private adobeAnalyticsService: AdobeAnalyticsService, private utilityService: UtilityService) { }\n getProductDetails(getProductDetailsservice) {\n console.log(getProductDetailsservice);\n return this.httpClientService.get(getProductDetailsservice)\n .pipe(\n map((test: HttpResponse) => test.body)\n ,catchError( this.handleError ));\n // console.log(test);\n }\n\n getPricingDetails(getPricingDetailsservice) {\n return this.httpClientService.get(getPricingDetailsservice)\n .pipe(\n map((test: HttpResponse) => test.body)\n ,catchError( this.handleError ));\n }\n\n\n getPricingInfo(getPricingDetailsservice, requestPriceInfoObj) {\n\n return this.httpClientService.authorizedPost(getPricingDetailsservice, requestPriceInfoObj)\n .pipe(\n map((res: HttpResponse) => {\n this.httpClientService.tokenRefresh(this.utilityService.getEnvConfig().tokenRefresh);\n this.httpClientService.updateAuthorizationHeaders(res);\n return res.body;\n })\n ,catchError( this.handleError ));\n }\n\n checkQty(val, limit) {\n return (group: FormGroup) => {\n const qty = group.controls[val];\n if (qty.value.length === 0) {\n return qty.setErrors({ 'required': true });\n } else {\n const qtyVal = Number(group.controls[val].value);\n if ((qtyVal !== null) && (qtyVal !== undefined) && (Number(qtyVal) === 0)) {\n return qty.setErrors({ 'pattern': true });\n } else if (qtyVal > limit) {\n return qty.setErrors({ 'limitErr': true });\n }\n }\n };\n }\n\n // Page Load\n createPageLoadProperties(skus, url: string, title: string) {\n const dataLayer = {};\n const removeProductId = url.substring(0, url.lastIndexOf('/'));\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_LOCATION_URL] = ANALYTICS_CONSTANTS.ENVIRONMENT_URL + removeProductId;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FRIENDLY_PAGE_NAME] = ANALYTICS_CONSTANTS.FRIENDLY_NAME_PRODUCT_CONFIGURATOR;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FLOW_CODE] = ANALYTICS_CONSTANTS.FLOW_CODE_SHOP;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_LANGUAGE] = 'EN';\n let sku;\n for (const lineItem of skus) {\n sku = (sku === undefined) ? lineItem.socCode : sku + '|' + lineItem.socCode;\n }\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_SKU] = sku;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_LOGIN_SOURCE] = 'shoplogin';\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_PAGE_FUNCTION] = 'Sales';\n if (ENV_PORTAL === 'fnabc') {\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_FIRSTNET_FLAG] = ANALYTICS_CONSTANTS.EVENTS_SUCCESSFLAG_1;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_FIRST_NET_USER_ROLE] = ANALYTICS_CONSTANTS.GLOBAL_USER_FIRST_NET_USER_ROLE_VALUE;\n }\n this.adobeAnalyticsService.tag('page', dataLayer, 'Page_Load', 'pageLoad');\n }\n\n createAdobeEventProperties(product: any, status: string, event: string, type: string, errorCode?: string, errorText?: string) {\n const dataLayer = {};\n dataLayer[ANALYTICS_CONSTANTS.EVENT_EVENT_CODE] = ANALYTICS_CONSTANTS.EVENT_CODE_BC_CART_ADD_SUBMIT;\n dataLayer[ANALYTICS_CONSTANTS.EVENT_FLOW_CODE] = ANALYTICS_CONSTANTS.FLOW_CODE_SHOP;\n if (status === 'SUCCESS') {\n dataLayer[ANALYTICS_CONSTANTS.EVENT_ITEMS] = [];\n const items = {};\n items['itemSku'] = product.sku.id;\n items['addToCartMethod'] = 'BUY';\n items['itemQty'] = product.quantity;\n dataLayer[ANALYTICS_CONSTANTS.EVENT_ITEMS].push(items);\n dataLayer[ANALYTICS_CONSTANTS.EVENT_SUCCESS_FLAG] = ANALYTICS_CONSTANTS.EVENTS_SUCCESSFLAG_1;\n dataLayer[ANALYTICS_CONSTANTS.EVENT_ERROR_TYPE] = ANALYTICS_CONSTANTS.EVENT_ERROR_SUCCESS_TYPE;\n dataLayer[ANALYTICS_CONSTANTS.EVENT_STATUS_CODE] = ANALYTICS_CONSTANTS.EVENTS_SUCCESSFLAG_0;\n } else {\n dataLayer[ANALYTICS_CONSTANTS.EVENT_SUCCESS_FLAG] = ANALYTICS_CONSTANTS.EVENTS_SUCCESSFLAG_0;\n dataLayer[ANALYTICS_CONSTANTS.EVENT_ERROR_TYPE] = ANALYTICS_CONSTANTS.EVENT_ERROR_FAILURE_TYPE_FAILURE_SYSTEM;\n dataLayer[ANALYTICS_CONSTANTS.EVENT_STATUS_CODE] = errorCode;\n // this.dataLayer[ANALYTICS_CONSTANTS.EVENT_STATUS_MESSAGE] = errorText;\n }\n this.adobeAnalyticsService.tag('event', dataLayer, ANALYTICS_CONSTANTS.EVENT_CODE_BC_CART_ADD_SUBMIT, event);\n }\n\n handleError = (error) => {\n return throwError(error);\n }\n}\n\n","import { Injectable, OnInit } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { Router, CanActivate , ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router';\n\n@Injectable()\nexport class BlockNavigationGuard implements CanActivate {\n\n constructor(private router: Router) { }\n\n canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot) { \n const mdmDetails = JSON.parse(sessionStorage.getItem('mdmDetails'));\n const user = JSON.parse(sessionStorage.getItem('user'));\n let blocknavigation;\n if(mdmDetails) { \n if (mdmDetails.productCode === 'ADDPMDM') {\n this.router.navigate(['/home']);\n } else if(user.user.fanSignedUpStatus === 'NONE'){ \n if (mdmDetails.productCode === 'ADDPMDM') {\n this.router.navigate(['/home']);\n } else {\n blocknavigation = [''];\n }\n } else{ \n if( mdmDetails.productCode === 'ADDPZTE' ){ \n blocknavigation = ['/signupsetup'];\n } else {\n blocknavigation = ['/productselection', '/signupsetup'];\n }\n }\n } \n // else {\n // blocknavigation = ['/productselection'];\n // }\n // blocknavigation.forEach( pages => { \n // if(state.url === pages){ \n // this.router.navigate(['/home']);\n // return false;\n // }\n // });\n return true;\n }\n}\n","import { Component, OnInit, AfterViewInit, ViewChild, ElementRef, HostListener, ChangeDetectorRef, ViewEncapsulation } from '@angular/core';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { AuthenticationService, ValidationService, UtilityService, AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';\r\nimport { BreadCrumbModel, BreadCrumbService } from 'lib/ng2-sapmp/src/ui-components/breadcrumb';\r\nimport { ProductSelectionService } from './product-selection.service';\r\nimport { ProductSelectionModel, MdmDetails } from './product-selection.modal';\r\n\r\nimport { PageLoaderService } from 'lib/ng2-sapmp/src/ui-components/page-loader';\r\nimport { FormBuilderService } from 'lib/ng2-sapmp/src/ui-components/form-builder/form-builder.service';\r\nimport { AbstractControl, FormBuilder, FormControl, FormGroup, Validators } from '@angular/forms';\r\nimport { MobilePivotModel } from 'lib/ng2-sapmp/src/ui-components/mobile-pivot/mobile-pivot.model';\r\nimport { TERMSCONDITIONS } from 'config';\r\nimport { ConfirmModalPopupModel } from 'lib/ng2-sapmp/src/ui-components/confirm-modal';\r\nimport { KEY_CONFIG } from 'lib/ng2-sapmp/src/config';\r\nimport { interval, of } from 'rxjs';\r\nimport { exhaustMap, filter, mergeMap, takeUntil, tap } from 'rxjs/operators';\r\nimport { timeStamp } from 'console';\r\n\r\ndeclare var logoutCurrentUser: any;\r\nexport const ESCAPE_KEY = 27;\r\n\r\n@Component({\r\n selector: 'app-product-selection',\r\n providers: [ValidationService, ProductSelectionService, FormBuilderService],\r\n templateUrl: './product-selection.component.html',\r\n styleUrls: ['./product-selection.component.scss'],\r\n encapsulation: ViewEncapsulation.None\r\n})\r\nexport class ProductSelectionComponent implements OnInit {\r\n header: string;\r\n isDataAvailable: boolean;\r\n initModal: boolean;\r\n showOverviewModal: boolean;\r\n permissionLevelMessage: string;\r\n eventEmit: any;\r\n modalClass: string;\r\n focusabbleElements: any;\r\n faqDetails: any;\r\n helpArticles: any;\r\n isMobile: boolean;\r\n errorMessage: any;\r\n signUpStatus: any;\r\n productSelectionModel: ProductSelectionModel;\r\n productSelection: any;\r\n mdmDetails: MdmDetails;\r\n\r\n tcUrl: any;\r\n //tcUrlIbm: any;\r\n staticTcUrl: any;\r\n\r\n userSelection: any; // UserSelectionModel\r\n selectMdm: FormGroup;\r\n selectService: FormGroup;\r\n errorMsg = '';\r\n breadCrumbs: BreadCrumbModel[];\r\n previousRoute: any;\r\n pivots: Array;\r\n csrPermissionSignUpButton: boolean;\r\n showGoogleCreationError: any;\r\n setupError = false;\r\n numericSearch: boolean;\r\n selectedMdmDetails: any;\r\n selectedAccID: any;\r\n emmProductCode: any;\r\n preSelectedMdmselect: any;\r\n preSelectedMdmDetail: any;\r\n preSelectedMdm = false;\r\n preSelectedMdmIbm = false;\r\n pereSelGoogleValue: any;\r\n googleValue: any;\r\n googleIdValue: any;\r\n samsungValue: any;\r\n appleValue: any;\r\n appleValue1: any;\r\n isSamsungDisable = false;\r\n isGoogleDisable = false;\r\n isAppleDisable = false;\r\n selectedRadio: boolean;\r\n //selectedRadioIBM: boolean;\r\n selectedRadioGoogle: boolean;\r\n selectedRadioSamsung: boolean;\r\n selectedRadioApple: boolean;\r\n userDetail: any; // for demo purpose till the backend service is ready.\r\n productSignupStatus: any;\r\n otherProductsSelection: any;\r\n parentemmAccountId: any;\r\n childemmAccountId: any;\r\n selectedDetails: any;\r\n selectedDetailsKme: any;\r\n selectedDetailsAbm: any;\r\n signupEmmStatus: any;\r\n selectedValuesSession: any;\r\n tncUrl: string;\r\n manageProduct: any;\r\n sessionMdmDetails: any;\r\n preSelectedEmm: any;\r\n fanProductData: any;\r\n callSamsung: boolean = true;\r\n callApple: boolean = true;\r\n productSelectionStatus: any; // can be any of these 3 newSetupFanList ,revisedFanList ,awaitingSignupFanList\r\n showZTPProductInfoModal: boolean = false;\r\n showKMEProductInfoModal: boolean = false;\r\n confirmModalPopup: ConfirmModalPopupModel;\r\n public: ConfirmModalPopupModel;\r\n public showZTPProductInfoPopup: ConfirmModalPopupModel;\r\n public showKMEProductInfoPopup: ConfirmModalPopupModel;\r\n abmflag: boolean = false;\r\n ztpselected: boolean = false;\r\n kmeselected: boolean = false;\r\n abmselected: boolean = false;\r\n setupZteError: boolean = false;\r\n MdmSelection: string;\r\n selected: boolean = false;\r\n show: boolean = false;\r\n sessionData: any;\r\n notequalError: boolean = false;\r\n notequalErrorMessage: string;\r\n tranid: any;\r\n showABMFEOption: boolean = false;\r\n profileAndPermsInfo: any;\r\n isABMCI_PermissionGrant: boolean = false;\r\n appleDEPCallFailed: boolean = false;\r\n appleDEPerrorMessage: string;\r\n googleIderrorMessage: string;\r\n status: boolean = false;\r\n abmOrgIdValidationError: string;\r\n orgIdValidationLoading: boolean = false;\r\n romeCallFailed: boolean = false;\r\n showZTECustModal: boolean = false;\r\n setABMdefault: any;\r\n // till the back and service is ready we wil be mocking the data\r\n\r\n // setValue() { this.MdmSelection = 'true'; }\r\n @ViewChild('accessModal') accessModal: ElementRef;\r\n\r\n modelSelection = { MdmSelectionOptions: 'Google' };\r\n formErrors = {\r\n 'googleIdName': '',\r\n 'samsungIdName': '',\r\n 'appleIdName': '',\r\n 'appleIdName1': '',\r\n 'MdmSelection': '',\r\n 'googleIdNameConfirm': '',\r\n 'googleIdZteName': '',\r\n 'googleIdNameZteConfirm': ''\r\n };\r\n\r\n validationMessages = {\r\n 'googleIdName': {\r\n 'required': 'Enter a valid Google email address',\r\n 'pattern': 'Email address is not associated with Google, please enter a Google associated email address.'\r\n },\r\n 'samsungIdName': {\r\n 'required': 'Samsung ID is required.',\r\n 'pattern': 'Please enter a valid Samsung ID.'\r\n },\r\n 'appleIdName': {\r\n 'required': 'Apple Org ID is required.',\r\n 'pattern': 'Please enter a valid Apple Org ID.'\r\n },\r\n 'appleIdName1': {\r\n 'required': 'Apple Org ID is required.',\r\n 'pattern': 'Please enter a valid Apple Org ID.'\r\n },\r\n 'MdmSelection': {\r\n 'required': 'Value is required.',\r\n 'pattern': 'Please enter a valid value.'\r\n },\r\n 'googleIdNameConfirm': {\r\n 'required': 'Enter a valid Google email address',\r\n 'pattern': 'Email address is not associated with Google, please enter a Google associated email address.'\r\n },\r\n 'googleIdZteName': {\r\n 'required': 'Customer ID is required.',\r\n 'pattern': 'Please enter a valid Customer ID.'\r\n },\r\n 'googleIdNameZteConfirm': {\r\n 'required': 'Customer ID is required.',\r\n 'pattern': 'Please enter a valid Customer ID.'\r\n }\r\n\r\n };\r\n timerStart: any;\r\n selectedProd: any;\r\n isDisable: boolean;\r\n flagToRemoveCache: boolean = false;\r\n reenrollflag: boolean = false;\r\n failFromReviewFlag: string;\r\n abmFeFlag: boolean;\r\n orgIdValidationLoadingPopupMessage: string = '';\r\n ABMFECI: boolean = true;\r\n showErrors: boolean = false;\r\n isPasswordSame: boolean;\r\n checkTransactionMock: boolean = false;\r\n abmOrgIdValidationTimeOutError: string = '';\r\n\r\n @HostListener('window:resize', ['$event'])\r\n onResize() {\r\n this.mobileView();\r\n }\r\n\r\n constructor(private cdRef: ChangeDetectorRef, private utilityService: UtilityService, private router: Router,\r\n private productSelectionService: ProductSelectionService, private breadCrumbService: BreadCrumbService, private el: ElementRef,\r\n private formBuilder: FormBuilder, private validationService: ValidationService, private route: ActivatedRoute,\r\n private pageloaderService: PageLoaderService, private adobeAnalyticsService: AdobeAnalyticsService, private authenticationService: AuthenticationService) {\r\n this.mdmDetails = new MdmDetails();\r\n this.isDataAvailable = false;\r\n this.faqDetails = [];\r\n this.numericSearch = true;\r\n this.selectedValuesSession = JSON.parse(sessionStorage.getItem('savedSelectedDetails'));\r\n this.sessionMdmDetails = JSON.parse(sessionStorage.getItem('mdmDetails'));\r\n this.childemmAccountId = [];\r\n this.appleDEPerrorMessage = \"We are experiencing an issue, please try again later or contact your account representative for support.\";\r\n this.googleIderrorMessage = \"Zero-touch customer ID not found. Please add AT&T as a reseller in your Zero-touch portal prior to sign up.\";\r\n this.orgIdValidationLoadingPopupMessage = \"We are validating your Apple Organization ID. This may take several minutes.\"\r\n }\r\n\r\n ngOnInit() {\r\n // document.title = 'Product selection';\r\n //location.reload(true);\r\n document.title = this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url];\r\n this.breadCrumbService.setStaticBreadCrumbs(this.router.routerState.snapshot.url);\r\n this.breadCrumbService.setCurrentBreadCrumb({ label: 'Product selection', routerLink: '/productselection' });\r\n // sessionStorage.setItem('feFlag', \"false\");\r\n this.previousRoute = sessionStorage.getItem('previousRoute');\r\n this.reenrollflag = JSON.parse(sessionStorage.getItem('reenrollappleflag'));\r\n this.setABMdefault = sessionStorage.getItem('ABMApply');\r\n if(this.setABMdefault == \"true\"){\r\n this.selectedRadioApple = true;\r\n this.abmselected = true;\r\n this.abmflag = true;\r\n this.mdmDetails.emmProductCode = this.MdmSelection = \"DMPAABM\";\r\n }\r\n this.productSelectionService.getFanStatusSummary().subscribe(responseObject => {\r\n //check addp_apple_fe permission for CI\r\n\r\n this.authenticationService.getUserDetails()\r\n .subscribe((resp) => {\r\n this.profileAndPermsInfo = JSON.parse(sessionStorage.getItem('profileAndPermsInfo'));\r\n // console.log(\"profileAndPermsInfo===>\", profileAndPermsInfo);\r\n if (!this.ABMFECI) {//ABMFEGA flag set in mongodb if false then check CI customer\r\n console.log(\"ABMFECI\", this.ABMFECI);\r\n if (this.profileAndPermsInfo.profile) {\r\n let perms = this.profileAndPermsInfo.profile.permissions;\r\n if (perms.addp_apple_fe) {\r\n console.log(\"ABM FECI: grant\");\r\n if (perms.addp_apple_fe == \"GRANT\") {\r\n //show apply button\r\n // this.showABMFEApplyButton(responseObject);\r\n this.isABMCI_PermissionGrant = true;\r\n this.checkAppleDEP(responseObject);\r\n } else {\r\n //hide apply button\r\n this.isABMCI_PermissionGrant = false;\r\n this.showABMFEOption = false;\r\n sessionStorage.setItem(\"ABMFE\", \"false\");\r\n this.checkAppleDEP(responseObject);\r\n }\r\n } else {\r\n console.log(\"ABM FECI: deny\");\r\n //show apply button\r\n // this.showABMFEApplyButton(responseObject);\r\n this.isABMCI_PermissionGrant = true;\r\n this.checkAppleDEP(responseObject);\r\n }\r\n }\r\n } else {//ABMFEGA is true means, ABM FE is available for all\r\n this.isABMCI_PermissionGrant = true;\r\n this.checkAppleDEP(responseObject);\r\n }\r\n });\r\n\r\n\r\n sessionStorage.setItem('fanInfoList', JSON.stringify(responseObject.fanInfoList));\r\n })\r\n if (this.previousRoute === '/home' || this.reenrollflag) {\r\n sessionStorage.removeItem('signedupData');\r\n sessionStorage.removeItem('failFromReviewFlag');\r\n sessionStorage.removeItem('enrollArray');\r\n } else {\r\n this.failFromReviewFlag = sessionStorage.getItem('failFromReviewFlag');\r\n }\r\n this.fetchData();\r\n\r\n }\r\n\r\n checkAppleDEP(responseObject) {\r\n let promises = [];\r\n this.pageloaderService.setPageLoaderStatus(false);\r\n let allFans = this.profileAndPermsInfo.fans;\r\n let mapData = new Map();\r\n allFans.forEach((elm) => {\r\n let data = new Promise((resolve, reject) => {\r\n //let fan_ = this.romeCallFailed ? elm + \"s\" : elm;//mock check for romecall failed\r\n this.productSelectionService.getInquireProfile(elm).subscribe((resp: any) => {\r\n // console.log(\"Apple DEP response for FAN: \", resp);\r\n if (resp.mdmDetails && resp.mdmDetails.length > 0) {\r\n let appleDep = resp.mdmDetails.filter((x) => x.deviceEnrollmentProgram == \"Apple DEP\" && x.status == \"Active\");\r\n if (appleDep.length > 0) {\r\n mapData.set(elm, true);\r\n }\r\n\r\n return resolve(appleDep.length);\r\n } else {\r\n //mapData.set(elm, false);\r\n return resolve(0);\r\n }\r\n\r\n }, (error) => {\r\n return reject(error);\r\n })\r\n });\r\n\r\n promises.push(data);\r\n });\r\n\r\n Promise.all(promises)\r\n .then((response) => {\r\n this.appleDEPCallFailed = false;\r\n this.showErrors = false;\r\n console.log(\"mapData.entries()\", mapData);\r\n sessionStorage.setItem(\"mapAppleDep\", JSON.stringify(Array.from(mapData.entries())));\r\n console.log(\"All fans response: \", response);\r\n this.pageloaderService.setPageLoaderStatus(true);\r\n if (response.indexOf(1) != -1) {\r\n this.showABMFEOption = false;\r\n sessionStorage.setItem(\"ABMFE\", \"false\");\r\n } else {\r\n // this.showABMFEOption = true;\r\n // sessionStorage.setItem(\"ABMFE\", \"true\");\r\n this.showABMFEApplyButton(responseObject);\r\n }\r\n })\r\n .catch((e) => {\r\n // handle errors here\r\n this.pageloaderService.setPageLoaderStatus(true);\r\n console.log(\"promise error: \", e);\r\n // this.showABMFEOption = true;\r\n // sessionStorage.setItem(\"ABMFE\", \"true\");\r\n this.showABMFEApplyButton(responseObject);\r\n this.appleDEPCallFailed = true;\r\n this.showErrors = true;\r\n });\r\n\r\n }\r\n\r\n showABMFEApplyButton(responseObject) {\r\n let abmCount = 0;\r\n if (this.isABMCI_PermissionGrant) {\r\n if (responseObject.fanInfoList) {\r\n responseObject.fanInfoList.forEach((elm: any) => {\r\n if (elm.emmProductCode == \"DMPAABM\") {\r\n if((elm.accountStatus == \"SIGNUP_INPROGRESS\") ||\r\n (elm.accountStatus == \"REMOVE_INPROGRESS\") ||\r\n (elm.accountStatus == \"PROCESSING\" && elm.emmAccountId) || \r\n (elm.accountStatus == \"ACTIVE\" && elm.emmAccountId) || \r\n (elm.accountStatus == \"INACTIVE\" && elm.emmAccountId)){\r\n // console.log(\"elm.emmProductCode===>\", elm.emmProductCode);\r\n abmCount++;\r\n }\r\n }\r\n });\r\n console.log(\"abmCount==>\", abmCount);\r\n if (abmCount > 0) {\r\n this.showABMFEOption = false;\r\n sessionStorage.setItem(\"ABMFE\", \"false\");\r\n } else {\r\n this.showABMFEOption = true;\r\n sessionStorage.setItem(\"ABMFE\", \"true\");\r\n }\r\n } else {\r\n this.showABMFEOption = true;\r\n sessionStorage.setItem(\"ABMFE\", \"true\");\r\n }\r\n } else {\r\n this.showABMFEOption = false;\r\n sessionStorage.setItem(\"ABMFE\", \"false\");\r\n }\r\n }\r\n\r\n\r\n\r\n fetchData() {\r\n sessionStorage.removeItem('savedSelectedDetails');\r\n sessionStorage.removeItem('manage-product');\r\n sessionStorage.removeItem('selectedSignupFanList');\r\n //sessionStorage.removeItem('enrollArray');\r\n sessionStorage.removeItem('fanDetails');\r\n sessionStorage.removeItem('backFromReview');\r\n sessionStorage.removeItem('step1done');\r\n if (this.failFromReviewFlag === 'false') {\r\n sessionStorage.removeItem('signedupData');\r\n sessionStorage.removeItem('enrollArray');\r\n } else if (this.failFromReviewFlag === 'true' || this.reenrollflag) {\r\n this.selectedValuesSession = null;\r\n }\r\n\r\n this.selectedProd = sessionStorage.getItem('selectedProd');\r\n this.sessionData = JSON.parse(sessionStorage.getItem('mdmDetails'));\r\n this.productSelectionModel = this.route.snapshot.data.pageData.productselection;\r\n this.productSelection = this.route.snapshot.data.pageData.productselection;\r\n this.isDataAvailable = true;\r\n this.staticTcUrl = this.productSelection.termsAndConditionsURL;\r\n this.abmOrgIdValidationError = this.productSelection.orgIdValidationError;\r\n this.checkTransactionMock = this.productSelection.checkTransactionMock;\r\n this.abmOrgIdValidationTimeOutError = this.productSelection.orgIdValidationTimeoutError;\r\n this.ABMFECI = this.productSelection.ABMFEGA;\r\n this.romeCallFailed = false;//this.productSelection.romeCallFailed; //for test only - mock check romecall failed\r\n this.buildForm();\r\n this.signUpStatus = '';\r\n const permission = JSON.parse(sessionStorage.getItem('permissions')).perm;\r\n this.abmflag = this.utilityService.checkComponentShowPermission(\"apple.productselection\", permission);\r\n this.abmFeFlag = this.utilityService.checkComponentShowPermission(\"appleFE.productselection\", permission);\r\n if (this.isDataAvailable) {\r\n this.isDataAvailable = false;\r\n if (this.selectedValuesSession === null && this.sessionMdmDetails === null) {\r\n this.initialProductSelectionDetails();\r\n\r\n } else if (this.selectedValuesSession !== null && this.sessionMdmDetails) {\r\n if (this.selectedValuesSession.enteredGoogleValue === '' || this.selectedValuesSession.enteredSamsungValue === '' || this.selectedValuesSession.enteredAppleValue === '') {\r\n this.preSelectProductDetails();\r\n }\r\n } else if (this.selectedValuesSession === null && this.sessionMdmDetails) {\r\n this.preSelectProductDetails();\r\n } else {\r\n this.checkPermission('google');\r\n this.checkPermission('samsung');\r\n this.checkPermission('apple');\r\n this.signupEmmStatus = 'initial';\r\n if (this.selectedValuesSession.enteredGoogleValue !== null && this.selectedValuesSession.enteredGoogleValue !== '') {\r\n this.selectedDetails = this.selectedValuesSession.enteredGoogleValue;\r\n }\r\n if (this.selectedValuesSession.enteredSamsungValue !== null && this.selectedValuesSession.enteredSamsungValue !== '') {\r\n this.selectedDetailsKme = this.selectedValuesSession.enteredSamsungValue;\r\n }\r\n if (this.selectedValuesSession.enteredAppleValue !== null && this.selectedValuesSession.enteredAppleValue !== '') {\r\n this.selectedDetailsAbm = this.selectedValuesSession.enteredAppleValue;\r\n }\r\n }\r\n\r\n if (this.sessionMdmDetails.samsungEmmAccountId) {\r\n this.callSamsung = false;\r\n }\r\n }\r\n }\r\n\r\n ngAfterViewInit() {\r\n this.flagToRemoveCache = JSON.parse(sessionStorage.getItem('cacheFlag'));\r\n if (this.flagToRemoveCache) {\r\n sessionStorage.removeItem('cacheFlag');\r\n this.fetchData();\r\n }\r\n\r\n }\r\n\r\n\r\n initialProductSelectionDetails() {\r\n if (this.selectedProd === 'samsungknoxmobile') {\r\n this.selectedRadioSamsung = true;\r\n this.kmeselected = true;\r\n this.mdmDetails.emmProductCode = this.MdmSelection = \"DMPSKME\";\r\n } else if (this.selectedProd === 'androidzerotouch') {\r\n this.selectedRadioGoogle = true;\r\n this.ztpselected = true;\r\n this.mdmDetails.emmProductCode = this.MdmSelection = \"DMPGZTP\";\r\n } else if (this.selectedProd === 'applebusinessmanager' || this.failFromReviewFlag === 'true' || this.reenrollflag) {\r\n this.selectedRadioApple = true;\r\n this.abmselected = true;\r\n this.mdmDetails.emmProductCode = this.MdmSelection = \"DMPAABM\";\r\n } else {\r\n this.mdmDetails.emmProductCode = '';\r\n this.preSelectedMdmselect = '';\r\n }\r\n //this.mdmDetails.emmProductCode = '';\r\n this.mdmDetails.signupStatus = 'initial';\r\n this.mdmDetails.emmAccountId = '';\r\n this.mdmDetails.otherProducts[0] = { 'emmProductCode': '', 'signupStatus': '', 'emmAccountId': '' };\r\n this.mdmDetails.otherProducts[1] = { 'emmProductCode': '', 'signupStatus': '', 'emmAccountId': '' };\r\n this.userDetail = this.mdmDetails;\r\n this.setupError = false;\r\n this.signupEmmStatus = 'initial';\r\n //this.preSelectedMdmselect = '';\r\n this.productSelectionStatus = '';\r\n this.preSelectedMdmDetail = this.preSelectedMdmselect;\r\n this.productSignupStatus = this.productSelectionStatus;\r\n this.parentemmAccountId = '';\r\n this.otherProductsSelection = '';\r\n this.childemmAccountId[0] = '';\r\n this.childemmAccountId[1] = '';\r\n this.checkPermission('google');\r\n this.checkPermission('samsung');\r\n this.checkPermission('apple');\r\n sessionStorage.removeItem('selectedProd');\r\n }\r\n\r\n preSelectProductDetails() {\r\n this.sessionData = JSON.parse(sessionStorage.getItem('mdmDetails'));\r\n if (this.sessionData && this.sessionData.productCode === 'ADDPZTE') {\r\n this.reenrollflag = JSON.parse(sessionStorage.getItem('reenrollappleflag'));\r\n if (this.reenrollflag || this.failFromReviewFlag === 'true') {\r\n this.sessionData.latestAccountType = this.sessionData.emmProductCode = 'DMPAABM';\r\n this.sessionData.appleEmmAccountId = \"\";\r\n //sessionStorage.removeItem('signedupData');\r\n if (this.failFromReviewFlag === 'false') {\r\n sessionStorage.removeItem('signedupData');\r\n sessionStorage.removeItem('enrollArray');\r\n }\r\n }\r\n\r\n //kme, ztp & abm\r\n if (this.sessionData.samsungEmmAccountId && this.sessionData.googleEmmAccountId && this.sessionData.appleEmmAccountId && !this.failFromReviewFlag) {\r\n this.callSamsung = false;\r\n if (this.sessionData.latestAccountType === 'DMPGZTP') {\r\n this.mdmDetails.emmProductCode = this.MdmSelection = 'DMPGZTP';\r\n this.mdmDetails.signupStatus = 'revised';\r\n this.mdmDetails.emmAccountId = this.sessionData.googleEmmAccountId;\r\n this.mdmDetails.otherProducts[0] = { 'emmProductCode': 'DMPSKME', 'signupStatus': 'revised', 'emmAccountId': this.sessionData.samsungEmmAccountId };\r\n this.mdmDetails.otherProducts[1] = { 'emmProductCode': 'DMPAABM', 'signupStatus': 'revised', 'emmAccountId': this.sessionData.appleEmmAccountId };\r\n } else if (this.sessionData.latestAccountType === 'DMPSKME') {\r\n this.mdmDetails.emmProductCode = this.MdmSelection = 'DMPSKME';\r\n this.mdmDetails.signupStatus = 'revised';\r\n this.mdmDetails.emmAccountId = this.sessionData.samsungEmmAccountId;\r\n this.mdmDetails.otherProducts[0] = { 'emmProductCode': 'DMPGZTP', 'signupStatus': 'revised', 'emmAccountId': this.sessionData.googleEmmAccountId };\r\n this.mdmDetails.otherProducts[1] = { 'emmProductCode': 'DMPAABM', 'signupStatus': 'revised', 'emmAccountId': this.sessionData.appleEmmAccountId };\r\n } else {\r\n this.mdmDetails.emmProductCode = this.MdmSelection = 'DMPAABM';\r\n this.mdmDetails.signupStatus = 'revised';\r\n this.mdmDetails.emmAccountId = this.sessionData.appleEmmAccountId;\r\n this.mdmDetails.otherProducts[0] = { 'emmProductCode': 'DMPGZTP', 'signupStatus': 'revised', 'emmAccountId': this.sessionData.googleEmmAccountId };\r\n this.mdmDetails.otherProducts[1] = { 'emmProductCode': 'DMPSKME', 'signupStatus': 'revised', 'emmAccountId': this.sessionData.samsungEmmAccountId };\r\n this.setupError = false;\r\n }\r\n }\r\n //kme & ztp\r\n else if (this.sessionData.samsungEmmAccountId && this.sessionData.googleEmmAccountId && !this.failFromReviewFlag) {\r\n if (this.sessionData.latestAccountType === 'DMPGZTP') {\r\n this.mdmDetails.emmProductCode = this.MdmSelection = 'DMPGZTP';\r\n this.mdmDetails.signupStatus = 'revised';\r\n this.mdmDetails.emmAccountId = this.sessionData.googleEmmAccountId;\r\n this.mdmDetails.otherProducts[0] = { 'emmProductCode': 'DMPSKME', 'signupStatus': 'revised', 'emmAccountId': this.sessionData.samsungEmmAccountId };\r\n this.mdmDetails.otherProducts[1] = { 'emmProductCode': 'DMPAABM', 'signupStatus': 'revised', 'emmAccountId': this.sessionData.appleEmmAccountId };\r\n } else if (this.sessionData.latestAccountType === 'DMPSKME') {\r\n this.mdmDetails.emmProductCode = this.MdmSelection = 'DMPSKME';\r\n this.mdmDetails.signupStatus = 'revised';\r\n this.mdmDetails.emmAccountId = this.sessionData.samsungEmmAccountId;\r\n this.mdmDetails.otherProducts[0] = { 'emmProductCode': 'DMPGZTP', 'signupStatus': 'revised', 'emmAccountId': this.sessionData.googleEmmAccountId };\r\n this.mdmDetails.otherProducts[1] = { 'emmProductCode': 'DMPAABM', 'signupStatus': 'revised', 'emmAccountId': this.sessionData.appleEmmAccountId };\r\n } else {\r\n this.mdmDetails.emmProductCode = this.MdmSelection = 'DMPAABM';\r\n this.mdmDetails.signupStatus = 'revised';\r\n this.mdmDetails.emmAccountId = this.sessionData.appleEmmAccountId;\r\n this.mdmDetails.otherProducts[0] = { 'emmProductCode': 'DMPGZTP', 'signupStatus': 'revised', 'emmAccountId': this.sessionData.googleEmmAccountId };\r\n this.mdmDetails.otherProducts[1] = { 'emmProductCode': 'DMPSKME', 'signupStatus': 'revised', 'emmAccountId': this.sessionData.samsungEmmAccountId };\r\n this.setupError = false;\r\n }\r\n }\r\n //ztp & abm\r\n else if (this.sessionData.appleEmmAccountId && this.sessionData.googleEmmAccountId && !this.failFromReviewFlag) {\r\n if (this.sessionData.latestAccountType === 'DMPGZTP') {\r\n this.mdmDetails.emmProductCode = this.MdmSelection = 'DMPGZTP';\r\n this.mdmDetails.signupStatus = 'revised';\r\n this.mdmDetails.emmAccountId = this.sessionData.googleEmmAccountId;\r\n this.mdmDetails.otherProducts[0] = { 'emmProductCode': 'DMPSKME', 'signupStatus': 'revised', 'emmAccountId': this.sessionData.samsungEmmAccountId };\r\n this.mdmDetails.otherProducts[1] = { 'emmProductCode': 'DMPAABM', 'signupStatus': 'revised', 'emmAccountId': this.sessionData.appleEmmAccountId };\r\n } else if (this.sessionData.latestAccountType === 'DMPSKME') {\r\n this.mdmDetails.emmProductCode = this.MdmSelection = 'DMPSKME';\r\n this.mdmDetails.signupStatus = 'revised';\r\n this.mdmDetails.emmAccountId = this.sessionData.samsungEmmAccountId;\r\n this.mdmDetails.otherProducts[0] = { 'emmProductCode': 'DMPGZTP', 'signupStatus': 'revised', 'emmAccountId': this.sessionData.googleEmmAccountId };\r\n this.mdmDetails.otherProducts[1] = { 'emmProductCode': 'DMPAABM', 'signupStatus': 'revised', 'emmAccountId': this.sessionData.appleEmmAccountId };\r\n } else {\r\n this.mdmDetails.emmProductCode = this.MdmSelection = 'DMPAABM';\r\n this.mdmDetails.signupStatus = 'revised';\r\n this.mdmDetails.emmAccountId = this.sessionData.appleEmmAccountId;\r\n this.mdmDetails.otherProducts[0] = { 'emmProductCode': 'DMPGZTP', 'signupStatus': 'revised', 'emmAccountId': this.sessionData.googleEmmAccountId };\r\n this.mdmDetails.otherProducts[1] = { 'emmProductCode': 'DMPSKME', 'signupStatus': 'revised', 'emmAccountId': this.sessionData.samsungEmmAccountId };\r\n this.setupError = false;\r\n }\r\n }\r\n //kme & abm\r\n else if (this.sessionData.appleEmmAccountId && this.sessionData.samsungEmmAccountId && !this.failFromReviewFlag) {\r\n if (this.sessionData.latestAccountType === 'DMPGZTP') {\r\n this.mdmDetails.emmProductCode = this.MdmSelection = 'DMPGZTP';\r\n this.mdmDetails.signupStatus = 'revised';\r\n this.mdmDetails.emmAccountId = this.sessionData.googleEmmAccountId;\r\n this.mdmDetails.otherProducts[0] = { 'emmProductCode': 'DMPSKME', 'signupStatus': 'revised', 'emmAccountId': this.sessionData.samsungEmmAccountId };\r\n this.mdmDetails.otherProducts[1] = { 'emmProductCode': 'DMPAABM', 'signupStatus': 'revised', 'emmAccountId': this.sessionData.appleEmmAccountId };\r\n } else if (this.sessionData.latestAccountType === 'DMPSKME') {\r\n this.mdmDetails.emmProductCode = this.MdmSelection = 'DMPSKME';\r\n this.mdmDetails.signupStatus = 'revised';\r\n this.mdmDetails.emmAccountId = this.sessionData.samsungEmmAccountId;\r\n this.mdmDetails.otherProducts[0] = { 'emmProductCode': 'DMPGZTP', 'signupStatus': 'revised', 'emmAccountId': this.sessionData.googleEmmAccountId };\r\n this.mdmDetails.otherProducts[1] = { 'emmProductCode': 'DMPAABM', 'signupStatus': 'revised', 'emmAccountId': this.sessionData.appleEmmAccountId };\r\n } else {\r\n this.mdmDetails.emmProductCode = this.MdmSelection = 'DMPAABM';\r\n this.mdmDetails.signupStatus = 'revised';\r\n this.mdmDetails.emmAccountId = this.sessionData.appleEmmAccountId;\r\n this.mdmDetails.otherProducts[0] = { 'emmProductCode': 'DMPGZTP', 'signupStatus': 'revised', 'emmAccountId': this.sessionData.googleEmmAccountId };\r\n this.mdmDetails.otherProducts[1] = { 'emmProductCode': 'DMPSKME', 'signupStatus': 'revised', 'emmAccountId': this.sessionData.samsungEmmAccountId };\r\n this.setupError = false;\r\n }\r\n }\r\n //kme only\r\n else if (this.sessionData.samsungEmmAccountId && !this.failFromReviewFlag) {\r\n this.callSamsung = false;\r\n // this.mdmDetails.emmProductCode = this.MdmSelection = 'DMPSKME';\r\n // this.mdmDetails.signupStatus = 'revised';\r\n // this.mdmDetails.emmAccountId = this.sessionData.samsungEmmAccountId;\r\n // this.mdmDetails.otherProducts[0] = {'emmProductCode' : 'DMPGZTP' , 'signupStatus' : 'initial' , 'emmAccountId' : ''};\r\n // this.mdmDetails.otherProducts[1] = {'emmProductCode' : 'DMPAABM', 'signupStatus' : 'initial' , 'emmAccountId' : ''};\r\n if (this.sessionData.latestAccountType === 'DMPGZTP') {\r\n this.mdmDetails.emmProductCode = this.MdmSelection = 'DMPGZTP';\r\n this.mdmDetails.signupStatus = 'revised';\r\n this.mdmDetails.emmAccountId = this.sessionData.googleEmmAccountId;\r\n this.mdmDetails.otherProducts[0] = { 'emmProductCode': 'DMPSKME', 'signupStatus': 'revised', 'emmAccountId': this.sessionData.samsungEmmAccountId };\r\n this.mdmDetails.otherProducts[1] = { 'emmProductCode': 'DMPAABM', 'signupStatus': 'revised', 'emmAccountId': this.sessionData.appleEmmAccountId };\r\n } else if (this.sessionData.latestAccountType === 'DMPSKME') {\r\n this.mdmDetails.emmProductCode = this.MdmSelection = 'DMPSKME';\r\n this.mdmDetails.signupStatus = 'revised';\r\n this.mdmDetails.emmAccountId = this.sessionData.samsungEmmAccountId;\r\n this.mdmDetails.otherProducts[0] = { 'emmProductCode': 'DMPGZTP', 'signupStatus': 'revised', 'emmAccountId': this.sessionData.googleEmmAccountId };\r\n this.mdmDetails.otherProducts[1] = { 'emmProductCode': 'DMPAABM', 'signupStatus': 'revised', 'emmAccountId': this.sessionData.appleEmmAccountId };\r\n } else {\r\n this.mdmDetails.emmProductCode = this.MdmSelection = 'DMPAABM';\r\n this.mdmDetails.signupStatus = 'revised';\r\n this.mdmDetails.emmAccountId = this.sessionData.appleEmmAccountId;\r\n this.mdmDetails.otherProducts[0] = { 'emmProductCode': 'DMPGZTP', 'signupStatus': 'revised', 'emmAccountId': this.sessionData.googleEmmAccountId };\r\n this.mdmDetails.otherProducts[1] = { 'emmProductCode': 'DMPSKME', 'signupStatus': 'revised', 'emmAccountId': this.sessionData.samsungEmmAccountId };\r\n this.setupError = false;\r\n }\r\n }\r\n //ztp only\r\n else if (this.sessionData.googleEmmAccountId && !this.failFromReviewFlag) {\r\n // this.mdmDetails.emmProductCode = this.MdmSelection = 'DMPGZTP';\r\n // this.mdmDetails.signupStatus = 'revised';\r\n // this.mdmDetails.emmAccountId = this.sessionData.googleEmmAccountId;\r\n // this.mdmDetails.otherProducts[0] = {'emmProductCode' : 'DMPSKME' , 'signupStatus' : 'initial' , 'emmAccountId' : ''};\r\n // this.mdmDetails.otherProducts[1] = {'emmProductCode' : 'DMPAABM', 'signupStatus' : 'initial' , 'emmAccountId' : ''};\r\n if (this.sessionData.latestAccountType === 'DMPGZTP') {\r\n this.mdmDetails.emmProductCode = this.MdmSelection = 'DMPGZTP';\r\n this.mdmDetails.signupStatus = 'revised';\r\n this.mdmDetails.emmAccountId = this.sessionData.googleEmmAccountId;\r\n this.mdmDetails.otherProducts[0] = { 'emmProductCode': 'DMPSKME', 'signupStatus': 'revised', 'emmAccountId': this.sessionData.samsungEmmAccountId };\r\n this.mdmDetails.otherProducts[1] = { 'emmProductCode': 'DMPAABM', 'signupStatus': 'revised', 'emmAccountId': this.sessionData.appleEmmAccountId };\r\n } else if (this.sessionData.latestAccountType === 'DMPSKME') {\r\n this.mdmDetails.emmProductCode = this.MdmSelection = 'DMPSKME';\r\n this.mdmDetails.signupStatus = 'revised';\r\n this.mdmDetails.emmAccountId = this.sessionData.samsungEmmAccountId;\r\n this.mdmDetails.otherProducts[0] = { 'emmProductCode': 'DMPGZTP', 'signupStatus': 'revised', 'emmAccountId': this.sessionData.googleEmmAccountId };\r\n this.mdmDetails.otherProducts[1] = { 'emmProductCode': 'DMPAABM', 'signupStatus': 'revised', 'emmAccountId': this.sessionData.appleEmmAccountId };\r\n } else {\r\n this.mdmDetails.emmProductCode = this.MdmSelection = 'DMPAABM';\r\n this.mdmDetails.signupStatus = 'revised';\r\n this.mdmDetails.emmAccountId = this.sessionData.appleEmmAccountId;\r\n this.mdmDetails.otherProducts[0] = { 'emmProductCode': 'DMPGZTP', 'signupStatus': 'revised', 'emmAccountId': this.sessionData.googleEmmAccountId };\r\n this.mdmDetails.otherProducts[1] = { 'emmProductCode': 'DMPSKME', 'signupStatus': 'revised', 'emmAccountId': this.sessionData.samsungEmmAccountId };\r\n this.setupError = false;\r\n }\r\n }\r\n //abm only\r\n else {\r\n // this.mdmDetails.emmProductCode = this.MdmSelection = 'DMPAABM';\r\n // this.mdmDetails.signupStatus = 'revised';\r\n // this.mdmDetails.emmAccountId = this.sessionData.appleEmmAccountId;\r\n // this.mdmDetails.otherProducts[0] = {'emmProductCode' : 'DMPSKME' , 'signupStatus' : 'initial' , 'emmAccountId' : ''};\r\n // this.mdmDetails.otherProducts[1] = {'emmProductCode' : 'DMPGZTP', 'signupStatus' : 'initial' , 'emmAccountId' : ''};\r\n // this.setupError = false;\r\n if (this.sessionData.latestAccountType === 'DMPGZTP') {\r\n this.mdmDetails.emmProductCode = this.MdmSelection = 'DMPGZTP';\r\n this.mdmDetails.signupStatus = 'revised';\r\n this.mdmDetails.emmAccountId = this.sessionData.googleEmmAccountId;\r\n this.mdmDetails.otherProducts[0] = { 'emmProductCode': 'DMPSKME', 'signupStatus': 'revised', 'emmAccountId': this.sessionData.samsungEmmAccountId };\r\n this.mdmDetails.otherProducts[1] = { 'emmProductCode': 'DMPAABM', 'signupStatus': 'revised', 'emmAccountId': this.sessionData.appleEmmAccountId };\r\n } else if (this.sessionData.latestAccountType === 'DMPSKME') {\r\n this.mdmDetails.emmProductCode = this.MdmSelection = 'DMPSKME';\r\n this.mdmDetails.signupStatus = 'revised';\r\n this.mdmDetails.emmAccountId = this.sessionData.samsungEmmAccountId;\r\n this.mdmDetails.otherProducts[0] = { 'emmProductCode': 'DMPGZTP', 'signupStatus': 'revised', 'emmAccountId': this.sessionData.googleEmmAccountId };\r\n this.mdmDetails.otherProducts[1] = { 'emmProductCode': 'DMPAABM', 'signupStatus': 'revised', 'emmAccountId': this.sessionData.appleEmmAccountId };\r\n } else {\r\n this.mdmDetails.emmProductCode = this.MdmSelection = 'DMPAABM';\r\n this.mdmDetails.signupStatus = 'revised';\r\n this.mdmDetails.emmAccountId = this.sessionData.appleEmmAccountId;\r\n this.mdmDetails.otherProducts[0] = { 'emmProductCode': 'DMPGZTP', 'signupStatus': 'revised', 'emmAccountId': this.sessionData.googleEmmAccountId };\r\n this.mdmDetails.otherProducts[1] = { 'emmProductCode': 'DMPSKME', 'signupStatus': 'revised', 'emmAccountId': this.sessionData.samsungEmmAccountId };\r\n this.setupError = false;\r\n }\r\n }\r\n }\r\n else {\r\n this.mdmDetails.emmProductCode = '';\r\n this.mdmDetails.signupStatus = 'initial';\r\n this.mdmDetails.emmAccountId = '';\r\n this.mdmDetails.otherProducts[0] = { 'emmProductCode': '', 'signupStatus': '', 'emmAccountId': '' };\r\n this.mdmDetails.otherProducts[1] = { 'emmProductCode': '', 'signupStatus': '', 'emmAccountId': '' };\r\n }\r\n\r\n this.userDetail = this.mdmDetails;\r\n\r\n if (this.userDetail) {\r\n\r\n //for default selection when redirected from prod page\r\n if (this.selectedProd === 'samsungknoxmobile') {\r\n this.selectedRadioSamsung = true;\r\n this.kmeselected = true;\r\n this.userDetail.emmProductCode = this.MdmSelection = \"DMPSKME\";\r\n this.preSelectedMdmselect = this.userDetail.emmProductCode;\r\n this.preSelectedMdmDetail = this.preSelectedMdmselect;\r\n this.parentemmAccountId = this.userDetail.emmAccountId = this.sessionData.samsungEmmAccountId;\r\n } else if (this.selectedProd === 'androidzerotouch') {\r\n this.selectedRadioGoogle = true;\r\n this.ztpselected = true;\r\n this.userDetail.emmProductCode = this.MdmSelection = \"DMPGZTP\";\r\n this.preSelectedMdmselect = this.userDetail.emmProductCode;\r\n this.preSelectedMdmDetail = this.preSelectedMdmselect;\r\n this.parentemmAccountId = this.userDetail.emmAccountId = this.sessionData.googleEmmAccountId;\r\n } else if (this.selectedProd === 'applebusinessmanager') {\r\n this.selectedRadioApple = true;\r\n this.abmselected = true;\r\n this.userDetail.emmProductCode = this.MdmSelection = \"DMPAABM\";\r\n this.preSelectedMdmselect = this.userDetail.emmProductCode;\r\n this.preSelectedMdmDetail = this.preSelectedMdmselect;\r\n this.parentemmAccountId = this.userDetail.emmAccountId = \"\";\r\n this.setupError = false;\r\n //sessionStorage.setItem('selectNow', 'true');\r\n } else {\r\n this.preSelectedMdmselect = this.userDetail.emmProductCode;\r\n this.preSelectedMdmDetail = this.preSelectedMdmselect;\r\n this.parentemmAccountId = this.userDetail.emmAccountId;\r\n }\r\n this.productSelectionStatus = this.userDetail.signupStatus;\r\n // this.preSelectedMdmselect = this.userDetail.emmProductCode;\r\n // this.preSelectedMdmDetail = this.preSelectedMdmselect;\r\n // this.parentemmAccountId = this.userDetail.emmAccountId;\r\n this.productSignupStatus = this.productSelectionStatus;\r\n this.checkPermission('google');\r\n this.checkPermission('samsung');\r\n this.checkPermission('apple');\r\n\r\n if (this.userDetail.otherProducts.length === 0) {\r\n this.otherProductsSelection = '';\r\n this.childemmAccountId[0] = [];\r\n this.childemmAccountId[1] = [];\r\n } else {\r\n this.otherProductsSelection = this.userDetail.otherProducts[0].signupStatus;\r\n this.childemmAccountId[0] = this.userDetail.otherProducts[0].emmAccountId;\r\n this.childemmAccountId[1] = this.userDetail.otherProducts[1].emmAccountId;\r\n }\r\n if (this.userDetail.emmProductCode === 'DMPGZTP' && this.userDetail.signupStatus === 'revised') {\r\n this.selectedRadioGoogle = true;\r\n this.ztpselected = true;\r\n this.productSelectionService.setProdCode('ZTP');\r\n this.parentemmAccountId = this.userDetail.emmAccountId;\r\n this.selectedDetails = this.parentemmAccountId;\r\n this.signupEmmStatus = 'revised';\r\n if (this.parentemmAccountId !== null) {\r\n this.setupError = false;\r\n }\r\n if (this.otherProductsSelection === 'revised') {\r\n this.selectedDetailsKme = this.childemmAccountId[0];\r\n this.selectedDetailsAbm = this.childemmAccountId[1];\r\n }\r\n\r\n } else if (this.userDetail.emmProductCode === 'DMPSKME' && this.userDetail.signupStatus === 'revised') {\r\n this.selectedRadioSamsung = true;\r\n this.kmeselected = true;\r\n this.productSelectionService.setProdCode('KME');\r\n this.parentemmAccountId = this.userDetail.emmAccountId;\r\n this.selectedDetailsKme = this.parentemmAccountId;\r\n this.signupEmmStatus = 'revised';\r\n if (this.parentemmAccountId !== null) {\r\n this.setupError = false;\r\n }\r\n if (this.otherProductsSelection === 'revised') {\r\n this.selectedDetails = this.childemmAccountId[0];\r\n this.selectedDetailsAbm = this.childemmAccountId[1];\r\n }\r\n } else if (this.userDetail.emmProductCode === 'DMPAABM' && this.userDetail.signupStatus === 'revised') {\r\n this.selectedRadioApple = true;\r\n this.abmselected = true;\r\n this.productSelectionService.setProdCode('ABM');\r\n this.parentemmAccountId = this.userDetail.emmAccountId;\r\n this.selectedDetailsAbm = this.parentemmAccountId;\r\n this.signupEmmStatus = 'revised';\r\n if (this.parentemmAccountId !== null) {\r\n this.setupError = false;\r\n }\r\n if (this.otherProductsSelection === 'revised') {\r\n this.selectedDetails = this.childemmAccountId[0];\r\n this.selectedDetailsKme = this.childemmAccountId[1];\r\n\r\n }\r\n }\r\n }\r\n sessionStorage.removeItem('selectedProd');\r\n }\r\n\r\n buildForm(): void {\r\n\r\n this.selectService = this.formBuilder.group({\r\n 'googleIdName': ['', [Validators.required, Validators.\r\n pattern('^[_A-Za-z0-9-\\\\+]+(\\\\.[_A-Za-z0-9-]+)*@[A-Za-z0-9-]+(\\\\.[A-Za-z0-9]+)*(\\\\.[A-Za-z]{2,})$')]],\r\n 'googleIdNameConfirm': ['', [Validators.required, Validators.\r\n pattern('^[_A-Za-z0-9-\\\\+]+(\\\\.[_A-Za-z0-9-]+)*@[A-Za-z0-9-]+(\\\\.[A-Za-z0-9]+)*(\\\\.[A-Za-z]{2,})$')]],\r\n 'googleIdZteName': ['', [Validators.required, Validators.pattern(/(^[0-9]{5,50}$)+$/)]],\r\n 'googleIdNameZteConfirm': ['', [Validators.required, Validators.pattern(/(^[0-9]{5,50}$)+$/)]],\r\n 'samsungIdName': ['', [Validators.required, Validators.pattern(/(^[0-9]{1,100}$)+$/)]],\r\n 'appleIdName': ['', [Validators.required, Validators.pattern(/(^[0-9A-Za-z]{1,32}$)+$/)]],\r\n 'appleIdName1': ['', [Validators.required, Validators.pattern(/(^[0-9A-Za-z]{1,32}$)+$/)]],\r\n 'MdmSelection': ['', [Validators.required, Validators.pattern(/(?!^\\s+$)^.+$/)]]\r\n },\r\n { validators: this.validateAreEqual },\r\n );\r\n this.validationService.validate(\r\n this.selectService,\r\n this.formErrors,\r\n this.validationMessages\r\n );\r\n }\r\n\r\n public validateAreEqual(c: AbstractControl): { notSame: boolean } | null {\r\n if (c.value.googleIdZteName && c.value.googleIdNameZteConfirm) {\r\n return c.value.googleIdZteName === c.value.googleIdNameZteConfirm ? null : { notSame: true };\r\n } else {\r\n return c.value.googleIdName === c.value.googleIdNameConfirm ? null : { notSame: true };\r\n }\r\n }\r\n\r\n\r\n /*check mobile view for support article accordion*/\r\n mobileView() {\r\n this.helpArticles = [{ id: 1, isActive: !this.isMobile, category: 'Help', content: '' }];\r\n }\r\n\r\n\r\n checkPermission(field) {\r\n const permission = JSON.parse(sessionStorage.getItem('permissions'));\r\n if (permission !== 'null') {\r\n if (!this.utilityService.checkComponentPermission(field, permission.perm)) {\r\n if (field === 'samsung') {\r\n this.isSamsungDisable = true;\r\n } else if (field === 'google') {\r\n this.isGoogleDisable = true;\r\n } else {\r\n this.isAppleDisable = true;\r\n }\r\n }\r\n }\r\n }\r\n\r\n\r\n onChangeText() {\r\n this.setupError = false;\r\n event = Object(event);\r\n if ((this.googleValue === '' || this.googleValue === null || this.googleValue === undefined) && (this.googleIdValue === '' || this.googleIdValue === null || this.googleIdValue === undefined)) {\r\n //this.setupError = true;\r\n this.isDisable = true;\r\n } else if (this.googleValue || this.googleIdValue) {\r\n this.setupError = false;\r\n this.errorMessage = false;\r\n this.isDisable = false;\r\n } else if (this.selectedValuesSession !== null) {\r\n if (this.selectedValuesSession.enteredGoogleValue) {\r\n if (this.showGoogleCreationError === true || this.selectedValuesSession.enteredGoogleValue === this.googleValue) {\r\n this.errorMessage = 'We were unable to complete your request. Please check that you' +\r\n ' have entered a valid email address or Google ID.';\r\n this.pageloaderService.setPageLoaderStatus(true);\r\n this.utilityService.loadFocusOnTop();\r\n }\r\n } else if (this.selectedValuesSession.enteredGoogleValue !== this.googleValue) {\r\n //this.signupEmmStatus = 'initial';\r\n this.selectedValuesSession.enteredGoogleValue = this.googleValue;\r\n this.setupError = false;\r\n this.errorMessage = false;\r\n this.isDisable = false;\r\n }\r\n }\r\n }\r\n\r\n onChangeTextNum() {\r\n this.setupError = false;\r\n event = Object(event);\r\n if (this.samsungValue === '' || this.samsungValue === null || this.samsungValue === undefined) {\r\n //this.setupError = true;\r\n this.isDisable = true;\r\n } else if (this.samsungValue) {\r\n this.setupError = false;\r\n this.errorMessage = false;\r\n this.isDisable = false;\r\n } else if (this.selectedValuesSession !== null) {\r\n //this.signupEmmStatus = 'initial';\r\n this.selectedValuesSession.enteredSamsungValue = this.samsungValue;\r\n this.setupError = false;\r\n this.errorMessage = false;\r\n this.isDisable = false;\r\n }\r\n }\r\n\r\n onChangeOrg(event) {\r\n this.setupError = false;\r\n event = Object(event);\r\n if (this.appleValue === '' || this.appleValue === null || this.appleValue === undefined || this.appleValue1 === '' || this.appleValue1 === null || this.appleValue1 === undefined) {\r\n this.isDisable = true;\r\n } else if (this.appleValue !== this.appleValue1) {\r\n this.isDisable = true;\r\n } else if (this.selectedValuesSession !== null) {\r\n //this.signupEmmStatus = 'initial';\r\n this.selectedValuesSession.enteredAppleValue = this.appleValue;\r\n this.setupError = false;\r\n this.errorMessage = false;\r\n this.isDisable = false;\r\n } else if (this.appleValue && this.appleValue1) {\r\n this.setupError = false;\r\n this.errorMessage = false;\r\n this.isDisable = false;\r\n }\r\n }\r\n\r\n keyValidation(event) {\r\n event = Object(event);\r\n if (event) {\r\n this.setupError = false;\r\n this.isDisable = false;\r\n } else {\r\n this.setupError = true;\r\n }\r\n }\r\n\r\n onlyNumberKey(event) {\r\n event = Object(event);\r\n if (event) {\r\n if (event.code === 'Digit' + event.key) {\r\n this.setupError = false;\r\n this.isDisable = false;\r\n sessionStorage.removeItem('selectNow');\r\n }\r\n } else {\r\n this.setupError = true;\r\n }\r\n }\r\n\r\n prodSelectedztp($event) {\r\n if ($event.target.value = 'on') {\r\n this.setupError = false;\r\n //this.notequalError = false;\r\n this.productSelectionService.setProdCode('ZTP');\r\n this.MdmSelection = 'DMPGZTP';\r\n this.selectedRadioGoogle = true;\r\n this.isDisable = true;\r\n this.selected = true;\r\n this.ztpselected = true;\r\n this.abmselected = false;\r\n this.kmeselected = false;\r\n if (this.sessionData.googleEmmAccountId) {\r\n this.selectedDetails = this.sessionData.googleEmmAccountId;\r\n this.isDisable = false;\r\n } else if (this.sessionData === null) {\r\n this.isDisable = true;\r\n } else if (this.sessionData.googleEmmAccountId === undefined) {\r\n this.isDisable = true;\r\n }\r\n }\r\n }\r\n\r\n prodSelectedabm($event) {\r\n if ($event.target.value = 'on') {\r\n this.setupError = false;\r\n //this.notequalError = false;\r\n this.productSelectionService.setProdCode('ABM');\r\n this.MdmSelection = 'DMPAABM';\r\n this.selectedRadioApple = true;\r\n this.isDisable = true;\r\n this.selected = true;\r\n //sessionStorage.setItem('selectNow', 'true');\r\n this.ztpselected = false;\r\n this.abmselected = true;\r\n this.kmeselected = false;\r\n }\r\n }\r\n\r\n prodSelectedkme($event) {\r\n if ($event.target.value = 'on') {\r\n this.setupError = false;\r\n //this.notequalError = false;\r\n this.productSelectionService.setProdCode('KME');\r\n this.MdmSelection = 'DMPSKME';\r\n this.selectedRadioSamsung = true;\r\n this.isDisable = true;\r\n this.selected = true;\r\n this.ztpselected = false;\r\n this.abmselected = false;\r\n this.kmeselected = true;\r\n if (this.sessionData.samsungEmmAccountId) {\r\n this.selectedDetailsKme = this.sessionData.samsungEmmAccountId;\r\n this.isDisable = false;\r\n } else if (this.sessionData === null) {\r\n this.isDisable = true;\r\n } else if (this.sessionData.samsungEmmAccountId === undefined) {\r\n this.isDisable = true;\r\n }\r\n }\r\n }\r\n\r\n cancel() {\r\n this.router.navigate(['/dashboard']);\r\n }\r\n\r\n toggleTooltip(event) {\r\n if (event.type !== 'click') {\r\n if (event.keyCode !== KEY_CONFIG.enter) {\r\n return;\r\n }\r\n }\r\n let targetElement = event.target;\r\n const elems = document.querySelectorAll('.tooltipActive');\r\n let iselementActive = false;\r\n if (targetElement.classList.contains('tooltipActive')) {\r\n iselementActive = true;\r\n }\r\n [].forEach.call(elems, function (ele) {\r\n ele.classList.remove('tooltipActive');\r\n });\r\n if (iselementActive) {\r\n targetElement.classList.remove('tooltipActive');\r\n } else {\r\n targetElement.classList.add('tooltipActive');\r\n }\r\n }\r\n\r\n toggleTooltipEnter(event) {\r\n if (event.type !== 'mouseenter') {\r\n if (event.keyCode !== KEY_CONFIG.enter) {\r\n return;\r\n }\r\n }\r\n let targetElement = event.target;\r\n const elems = document.querySelectorAll('.tooltipActive');\r\n let iselementActive = false;\r\n if (targetElement.classList.contains('tooltipActive')) {\r\n iselementActive = true;\r\n }\r\n [].forEach.call(elems, function (ele) {\r\n ele.classList.remove('tooltipActive');\r\n });\r\n if (iselementActive) {\r\n targetElement.classList.remove('tooltipActive');\r\n } else {\r\n targetElement.classList.add('tooltipActive');\r\n }\r\n }\r\n\r\n toggleTooltipLeave(event) {\r\n if (event.type !== 'mouseleave') {\r\n if (event.keyCode !== KEY_CONFIG.enter) {\r\n return;\r\n }\r\n }\r\n let targetElement = event.target;\r\n const elems = document.querySelectorAll('.tooltipActive');\r\n let iselementActive = false;\r\n if (targetElement.classList.contains('tooltipActive')) {\r\n iselementActive = true;\r\n }\r\n [].forEach.call(elems, function (ele) {\r\n ele.classList.remove('tooltipActive');\r\n });\r\n if (iselementActive) {\r\n targetElement.classList.remove('tooltipActive');\r\n } else {\r\n targetElement.classList.add('tooltipActive');\r\n }\r\n }\r\n\r\n\r\n signupSetupSubmit(event: any) {\r\n this.setupError = false;\r\n //this.notequalError = false;\r\n this.pageloaderService.setPageLoaderStatus(false);\r\n sessionStorage.removeItem('reenrollappleflag');\r\n //if new value entered\r\n if (this.selectService.dirty) {\r\n this.productSelectionModel.googleIdName = this.selectService.value.googleIdName;\r\n this.productSelectionModel.googleIdNameConfirm = this.selectService.value.googleIdNameConfirm;\r\n this.productSelectionModel.googleIdZteName = this.selectService.value.googleIdZteName;\r\n this.productSelectionModel.googleIdNameZteConfirm = this.selectService.value.googleIdNameZteConfirm;\r\n this.productSelectionModel.samsungIdName = this.selectService.value.samsungIdName;\r\n this.productSelectionModel.appleIdName = this.selectService.value.appleIdName;\r\n this.productSelectionModel.MdmSelection = this.selectService.value.MdmSelection;\r\n if (this.productSelectionModel.MdmSelection === 'DMPAABM') {\r\n this.selectedAccID = this.productSelectionModel.appleIdName;\r\n } else if (this.productSelectionModel.MdmSelection === 'DMPGZTP') {\r\n this.selectedAccID = this.productSelectionModel.googleIdName;\r\n } else {\r\n this.selectedAccID = this.productSelectionModel.samsungIdName;\r\n }\r\n } else {\r\n //if existing value and re-selected\r\n if (this.selectService.value.MdmSelection) {\r\n if (this.selectService.value.MdmSelection === 'DMPGZTP') {\r\n this.productSelectionModel.MdmSelection = 'DMPGZTP';\r\n this.selectedAccID = this.selectedDetails;\r\n } else if (this.selectService.value.MdmSelection === 'DMPSKME') {\r\n this.callSamsung = true;\r\n this.productSelectionModel.MdmSelection = 'DMPSKME';\r\n this.selectedAccID = this.selectedDetailsKme;\r\n } else {\r\n this.callApple = true;\r\n this.productSelectionModel.MdmSelection = 'DMPAABM';\r\n this.selectedAccID = this.selectedDetailsAbm;\r\n }\r\n } else {\r\n //if existing value and preselected\r\n if (this.preSelectedMdmDetail === 'DMPGZTP') {\r\n this.productSelectionModel.MdmSelection = this.preSelectedMdmDetail;\r\n this.selectedAccID = this.selectedDetails;\r\n } else if (this.preSelectedMdmDetail === 'DMPSKME') {\r\n this.callSamsung = true;\r\n this.productSelectionModel.MdmSelection = this.preSelectedMdmDetail;\r\n this.selectedAccID = this.selectedDetailsKme;\r\n } else {\r\n this.callApple = true;\r\n this.productSelectionModel.MdmSelection = 'DMPAABM';\r\n this.selectedAccID = this.selectedDetailsAbm;\r\n }\r\n }\r\n\r\n }\r\n this.selectedMdmDetails = this.productSelectionModel.MdmSelection;\r\n\r\n let productDetails = { emmProductCode: '', selectedAccID: '', signupEmmStatus: '' };\r\n productDetails.emmProductCode = this.selectedMdmDetails;\r\n productDetails.selectedAccID = this.selectedAccID;\r\n productDetails.signupEmmStatus = this.signupEmmStatus;\r\n if (this.selectedValuesSession != null) {\r\n //need more clarity n input for the conditioning\r\n\r\n //normal combinations\r\n if (this.selectedValuesSession.preSelectedEmm === '' && this.selectedMdmDetails === 'DMPGZTP') {\r\n productDetails.signupEmmStatus = 'initial';\r\n }\r\n if (this.selectedValuesSession.preSelectedEmm === 'DMPGZTP' && this.selectedMdmDetails === 'DMPGZTP') {\r\n productDetails.signupEmmStatus = 'revised';\r\n }\r\n if (this.selectedValuesSession.preSelectedEmm === '' && this.selectedMdmDetails === 'DMPSKME') {\r\n productDetails.signupEmmStatus = 'initial';\r\n }\r\n if (this.selectedValuesSession.preSelectedEmm === 'DMPSKME' && this.selectedMdmDetails === 'DMPSKME') {\r\n productDetails.signupEmmStatus = 'revised';\r\n }\r\n if (this.selectedValuesSession.preSelectedEmm === '' && this.selectedMdmDetails === 'DMPAABM') {\r\n productDetails.signupEmmStatus = 'initial';\r\n }\r\n if (this.selectedValuesSession.preSelectedEmm === 'DMPAABM' && this.selectedMdmDetails === 'DMPAABM') {\r\n productDetails.signupEmmStatus = 'revised';\r\n }\r\n //double comparison combinations\r\n //g&s-s&g\r\n if (this.selectedValuesSession.preSelectedEmm === 'DMPGZTP' && this.selectedMdmDetails === 'DMPSKME' &&\r\n this.selectedValuesSession.childStatus === 'initial') {\r\n productDetails.signupEmmStatus = 'initial';\r\n }\r\n if (this.selectedValuesSession.preSelectedEmm === 'DMPSKME' && this.selectedMdmDetails === 'DMPGZTP' &&\r\n this.selectedValuesSession.childStatus === 'initial') {\r\n productDetails.signupEmmStatus = 'initial';\r\n }\r\n //g&a-a&g\r\n if (this.selectedValuesSession.preSelectedEmm === 'DMPGZTP' && this.selectedMdmDetails === 'DMPAABM' &&\r\n this.selectedValuesSession.childStatus === 'initial') {\r\n productDetails.signupEmmStatus = 'initial';\r\n }\r\n if (this.selectedValuesSession.preSelectedEmm === 'DMPAABM' && this.selectedMdmDetails === 'DMPGZTP' &&\r\n this.selectedValuesSession.childStatus === 'initial') {\r\n productDetails.signupEmmStatus = 'initial';\r\n }\r\n //s&a-a&s\r\n if (this.selectedValuesSession.preSelectedEmm === 'DMPSKME' && this.selectedMdmDetails === 'DMPAABM' &&\r\n this.selectedValuesSession.childStatus === 'initial') {\r\n productDetails.signupEmmStatus = 'initial';\r\n }\r\n if (this.selectedValuesSession.preSelectedEmm === 'DMPAABM' && this.selectedMdmDetails === 'DMPSKME' &&\r\n this.selectedValuesSession.childStatus === 'initial') {\r\n productDetails.signupEmmStatus = 'initial';\r\n }\r\n\r\n } else {\r\n productDetails.signupEmmStatus = this.signupEmmStatus;\r\n }\r\n sessionStorage.setItem('manage-product', JSON.stringify(productDetails));\r\n let selectedValue = { enteredGoogleValue: '', enteredSamsungValue: '', enteredAppleValue: '' };\r\n if (this.signupEmmStatus === 'initial' && this.selectedMdmDetails === 'DMPGZTP') {\r\n selectedValue.enteredGoogleValue = this.productSelectionModel.googleIdName;\r\n }\r\n if (this.signupEmmStatus === 'initial' && this.selectedMdmDetails === 'DMPSKME') {\r\n selectedValue.enteredSamsungValue = this.productSelectionModel.samsungIdName;\r\n }\r\n if (this.signupEmmStatus === 'initial' && this.selectedMdmDetails === 'DMPAABM') {\r\n selectedValue.enteredAppleValue = this.productSelectionModel.appleIdName;\r\n }\r\n sessionStorage.setItem('savedSelectedDetails', JSON.stringify(selectedValue));\r\n\r\n sessionStorage.removeItem('showGoogleCreationError');\r\n let selectedEmmProductCode = sessionStorage.getItem('manage-product');\r\n this.emmProductCode = JSON.parse(selectedEmmProductCode).emmProductCode;\r\n //samsung\r\n if (this.selectedMdmDetails === 'DMPSKME' && !this.isSamsungDisable) {\r\n sessionStorage.setItem('feFlag', \"false\");\r\n if (this.callSamsung) {\r\n this.productSelectionService.setProdCode('KME');\r\n sessionStorage.removeItem('signedupData');\r\n sessionStorage.removeItem('failFromReviewFlag');\r\n sessionStorage.removeItem('enrollArray');\r\n this.productSelectionService.signupDetails(this.emmProductCode, this.selectedAccID)\r\n .subscribe(response => {\r\n this.pageloaderService.setPageLoaderStatus(false);\r\n if (this.productSelectionModel.MdmSelection === 'DMPSKME') {\r\n if (response.users && response.users.length !== 0) {\r\n if (this.selectedAccID !== response.users[0].companyId) {\r\n this.errorMessage = 'We were unable to complete your request.' +\r\n 'Please check that you have entered a valid Samsung Knox Mobile Enrollment ID.';\r\n this.setupError = true;\r\n this.pageloaderService.setPageLoaderStatus(true);\r\n this.utilityService.loadFocusOnTop();\r\n } else {\r\n this.setupError = false;\r\n this.router.navigate(['/signupsetup/enrollmentoptions']);\r\n }\r\n } else {\r\n this.errorMessage = 'We were unable to complete your request. ' +\r\n 'Please check that you have entered a valid Samsung Knox Mobile Enrollment ID.';\r\n this.setupError = true;\r\n this.pageloaderService.setPageLoaderStatus(true);\r\n this.utilityService.loadFocusOnTop();\r\n }\r\n } else {\r\n this.setupError = false;\r\n this.router.navigate(['/signupsetup/enrollmentoptions']);\r\n }\r\n }, error => {\r\n this.pageloaderService.setPageLoaderStatus(true);\r\n this.setupError = true;\r\n this.handleError(error);\r\n this.utilityService.loadFocusOnTop();\r\n });\r\n } else {\r\n this.errorMessage = 'There was an error while processing your request. Please try again later.';\r\n this.setupError = true;\r\n this.pageloaderService.setPageLoaderStatus(true);\r\n this.utilityService.loadFocusOnTop();\r\n }\r\n }\r\n //google\r\n else if (this.selectedMdmDetails === 'DMPGZTP' && !this.isGoogleDisable) {\r\n sessionStorage.setItem('feFlag', \"false\");\r\n this.productSelectionService.setProdCode('ZTP');\r\n sessionStorage.removeItem('signedupData');\r\n sessionStorage.removeItem('failFromReviewFlag');\r\n sessionStorage.removeItem('enrollArray');\r\n const user = JSON.parse(sessionStorage.getItem('user'));\r\n const agreementID = user.user.agreement.id;\r\n if (this.showDiv.zteSign) {\r\n if (agreementID && this.selectService.value.googleIdZteName || agreementID && this.selectedAccID) {\r\n\r\n this.productSelectionService.zteIdValidation(this.selectedAccID ? this.selectedAccID : this.selectService.value.googleIdZteName, agreementID)\r\n .subscribe(response => {\r\n this.pageloaderService.setPageLoaderStatus(true);\r\n if (response.status == 'failure' || response.errorCode == 'E0404') {\r\n this.setupZteError = true;\r\n } else {\r\n // this.setupZteError = false;\r\n this.router.navigate(['/signupsetup/enrollmentoptions'], { state: { ztpIdres: response.ztpId } });\r\n }\r\n })\r\n } else {\r\n this.setupZteError = true;\r\n }\r\n } else {\r\n if (this.emmProductCode === 'DMPGZTP' && this.selectedAccID === null || this.selectedAccID === '') {\r\n this.pageloaderService.setPageLoaderStatus(true);\r\n this.errorMessage = 'Google Validation error has occured. Please enter valid Email id';\r\n this.setupError = true;\r\n } else {\r\n this.setupError = false;\r\n this.router.navigate(['/signupsetup/enrollmentoptions']);\r\n }\r\n }\r\n }\r\n //apple\r\n else if (this.selectedMdmDetails === 'DMPAABM' && !this.isAppleDisable) {\r\n if (this.callApple) {\r\n if (event.target.id == \"abmapplyacct\") {\r\n sessionStorage.setItem('feFlag', \"true\");\r\n this.setupError = false;\r\n this.router.navigate(['/abmfacilitatedenrollment']);\r\n } else if (this.appleValue && this.appleValue1) {\r\n sessionStorage.setItem('feFlag', \"false\");\r\n this.productSelectionService.setProdCode('ABM');\r\n\r\n //org id validation\r\n this.productSelectionService.orgIdValidation(this.appleValue)\r\n .subscribe(response => {\r\n this.pageloaderService.setPageLoaderStatus(false);\r\n if (response) {\r\n if (response.status === 'success') {\r\n let data = response;\r\n this.tranid = data.deviceEnrollmentTransactionId;\r\n //continue to next page as tran id validation call shifted to review page\r\n this.setupError = false;\r\n //new code start\r\n sessionStorage.setItem('tranid', this.tranid);\r\n this.pageloaderService.setPageLoaderStatus(true);\r\n this.orgIdValidationLoading = true;\r\n // setTimeout(() => {\r\n this.productSelectionService.tranIdValidation(this.tranid, this.checkTransactionMock)\r\n // this.productSelectionService.getCheckTransactionMockDetails()\r\n .subscribe(response => {\r\n this.orgIdValidationLoading = false;\r\n if (response.status === 'success') {\r\n // this.status = true;\r\n this.setupError = false;\r\n this.router.navigate(['/signupsetup/enrollmentoptions']);\r\n } else if (response.status === 'retry') {\r\n //poll every 20 sec\r\n this.orgIdValidationLoading = true;\r\n let poll$ = interval(20000).pipe(\r\n exhaustMap(obs =>\r\n this.productSelectionService.tranIdValidation(this.tranid, this.checkTransactionMock)\r\n // this.productSelectionService.getCheckTransactionMockDetails()\r\n ),\r\n tap(data => console.log(data))\r\n );\r\n\r\n const until$ = poll$.pipe(\r\n filter(data => {\r\n //let status: boolean;\r\n \r\n if (data.status === 'success') {\r\n this.orgIdValidationLoading = false;\r\n this.status = data.status;\r\n this.setupError = false;\r\n this.router.navigate(['/signupsetup/enrollmentoptions']);\r\n\r\n } else if (data.status === 'failure') {\r\n this.orgIdValidationLoading = false;\r\n // this.pageloaderService.setPageLoaderStatus(true);\r\n this.setupError = true;\r\n this.errorMessage = this.abmOrgIdValidationError;\r\n sessionStorage.setItem('failFromReviewFlag', 'true');\r\n this.utilityService.loadFocusOnTop();\r\n\r\n } else {\r\n let time = Date.now() - this.timerStart;\r\n // this.status = (time > 120000);\r\n this.status = (time > 300000);\r\n if (this.status) {\r\n this.orgIdValidationLoading = false;\r\n // this.pageloaderService.setPageLoaderStatus(true);\r\n this.setupError = true;\r\n this.errorMessage = this.abmOrgIdValidationTimeOutError;\r\n // this.isDisabled = true;\r\n sessionStorage.setItem('failFromReviewFlag', 'true');\r\n this.utilityService.loadFocusOnTop();\r\n }\r\n }\r\n return this.status;\r\n })\r\n );\r\n\r\n const data$ = poll$.pipe(\r\n takeUntil(until$))\r\n .subscribe();\r\n\r\n this.timerStart = Date.now();\r\n\r\n } else if (response.status === 'failure') {\r\n this.orgIdValidationLoading = false;\r\n this.status = true;\r\n // this.pageloaderService.setPageLoaderStatus(true);\r\n this.setupError = true;\r\n this.errorMessage = this.abmOrgIdValidationError;\r\n // this.isDisabled = true;\r\n sessionStorage.setItem('failFromReviewFlag', 'true');\r\n this.utilityService.loadFocusOnTop();\r\n }\r\n }, error => {\r\n this.orgIdValidationLoading = false;\r\n // this.pageloaderService.setPageLoaderStatus(true);\r\n // this.isDisabled = true;\r\n this.handleError('signup');\r\n this.adobeAnalyticsService.createAdobeEventProperties('MANAGE_DEVICE', 'FAILURE', 'formResponse',\r\n 'BC_Device_SignupSetup_Continue_Submit', 'SystemFailure',\r\n 'Failure_user', 'Continue', 'Body', '/businessconsole/signupsetup/enrollmentoptions');\r\n });\r\n // }, 45000);\r\n\r\n //new code end\r\n\r\n //shift from here\r\n // //transaction id validation\r\n // let poll$ = interval(20000).pipe(\r\n // mergeMap(obs => \r\n // this.productSelectionService.tranIdValidation(this.tranid)),\r\n // tap(data => console.log(data))\r\n // );\r\n\r\n // const until$ = poll$.pipe(\r\n // filter(data => {\r\n // let status: boolean;\r\n // if(data.status === 'success') {\r\n // status = true;\r\n // //this.pageloaderService.setPageLoaderStatus(true);\r\n // this.setupError = false;\r\n // this.router.navigate(['/signupsetup/enrollmentoptions']);\r\n\r\n // } else if (data.status === 'failure') {\r\n // status = true;\r\n // this.pageloaderService.setPageLoaderStatus(true);\r\n // this.setupError = true;\r\n // this.errorMessage = 'Apple Organization ID validation failed. Please try again.'\r\n // this.utilityService.loadFocusOnTop();\r\n\r\n // } else {\r\n // let time = Date.now() - this.timerStart;\r\n // status = (time > 60000);\r\n // if (status) {\r\n // this.pageloaderService.setPageLoaderStatus(true);\r\n // this.setupError = true;\r\n // this.errorMessage = data.ErrorDescription;\r\n // this.utilityService.loadFocusOnTop();\r\n // }\r\n // }\r\n // return status;\r\n // })\r\n // );\r\n\r\n // const data$ = poll$.pipe(\r\n // takeUntil(until$))\r\n // .subscribe();\r\n\r\n // this.timerStart = Date.now();\r\n\r\n //till here to be shifted\r\n\r\n } else {\r\n this.pageloaderService.setPageLoaderStatus(true);\r\n this.errorMessage = 'Apple Org ID validation failed. Please try again.';\r\n this.setupError = true;\r\n this.utilityService.loadFocusOnTop();\r\n }\r\n } else {\r\n this.pageloaderService.setPageLoaderStatus(true);\r\n this.errorMessage = 'Something went wrong. Please try again.';\r\n this.setupError = true;\r\n this.utilityService.loadFocusOnTop();\r\n }\r\n\r\n }, error => {\r\n this.pageloaderService.setPageLoaderStatus(true);\r\n this.setupError = true;\r\n //this.handleError(error);\r\n this.errorMessage = 'Apple Org ID validation failed. Please try again.';\r\n this.utilityService.loadFocusOnTop();\r\n });\r\n\r\n } else {\r\n this.setupError = true;\r\n this.errorMessage = 'Enter Apple Org ID and confirm.';\r\n this.pageloaderService.setPageLoaderStatus(true);\r\n this.utilityService.loadFocusOnTop();\r\n }\r\n\r\n } else {\r\n this.setupError = false;\r\n this.router.navigate(['/signupsetup/enrollmentoptions']);\r\n }\r\n }\r\n else {\r\n this.pageloaderService.setPageLoaderStatus(true);\r\n this.setupError = true;\r\n this.errorMessage = 'Something went wrong. Please try again later.';\r\n this.utilityService.loadFocusOnTop();\r\n }\r\n }\r\n\r\n handleError = (err) => {\r\n if (err) {\r\n if (err.status === 500) {\r\n this.errorMessage = \"Something went wrong. We couldn't process your request. Please try again later.\";\r\n } else if (err.status === 401) {\r\n this.errorMessage = 'Session expired, Please login again.';\r\n logoutCurrentUser(true);\r\n } else if (err.status === 400) {\r\n this.errorMessage = 'Id is already in the system.';\r\n } else if (err.status === 404) {\r\n this.errorMessage = \"Something went wrong. We couldn't process your request. Please try again later.\";\r\n } else if (this.signUpStatus === 'failure') { // remove this block after it is integrated wit the servce this is only for demo\r\n this.errorMessage = \"Something went wrong. We couldn't process your request. Please try again later.\";\r\n } else {\r\n this.errorMessage = \"Something went wrong. We couldn't process your request. Please try again later.\";\r\n }\r\n this.utilityService.loadFocusOnTop();\r\n }\r\n }\r\n\r\n dismissInfo() {\r\n this.setupError = false;\r\n this.showErrors = false;\r\n this.setupZteError = false;\r\n }\r\n\r\n createZTECustID() {\r\n this.showZTECustModal = true;\r\n }\r\n\r\n formZteReset() {\r\n this.setupZteError = false;\r\n this.selectService.controls['googleIdName'].reset();\r\n this.selectService.controls['googleIdNameConfirm'].reset();\r\n this.selectService.controls['googleIdZteName'].reset();\r\n this.selectService.controls['googleIdNameZteConfirm'].reset()\r\n }\r\n\r\n showDiv = {\r\n zteSign: true,\r\n zteSignup: false\r\n }\r\n\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n

{{this.productSelectionModel.header}}

\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n Please wait..\r\n {{orgIdValidationLoadingPopupMessage}}\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n

{{googleIderrorMessage}}

\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
{{errorMessage}}
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n

{{appleDEPerrorMessage}}

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

\r\n\r\n
\r\n
\r\n {{this.productSelectionModel.select}}\r\n
\r\n
\r\n

{{this.productSelectionModel.header4}}

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

{{this.productSelectionModel.radioLabel51}}\r\n {{this.productSelectionModel.radioLabel52}}

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

{{this.productSelectionModel.radioLabel51}}

\r\n

{{this.productSelectionModel.radioLabel52}}

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

You must have a zero-touch Customer ID to continue. If\r\n you already\r\n have a zero-touch Customer ID, Click\r\n here to continue.\r\n \r\n

\r\n

To create a zero-touch Customer ID and enroll, please\r\n enter your\r\n Google corporate email address below. To create a Google corporate\r\n email\r\n account, please visit accounts.google.com.

\r\n

Google Email

\r\n \r\n {{this.selectedDetails}}\r\n \r\n
\r\n \r\n
\r\n
{{\r\n formErrors.googleIdName }}\r\n
\r\n

Confirm Google Email

\r\n \r\n {{this.selectedDetails}}\r\n \r\n
\r\n \r\n
\r\n
\r\n {{ formErrors.googleIdNameConfirm }}\r\n
\r\n
\r\n Email address does not match, please try again.
\r\n
\r\n

Your zero-touch Customer ID will be generated when\r\n you click\r\n \"Continue\". Please check your email inbox for your generated\r\n zero-touch\r\n Customer\r\n ID. This may take a few moments to process.

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

Please enter your zero-touch Customer ID below to\r\n continue. If you\r\n do not have a zero-touch Customer ID, Click\r\n here to create one using your Google corporate email\r\n address.\r\n \r\n

\r\n

Android™ zero-touch Customer ID

\r\n \r\n {{this.selectedDetails}}\r\n \r\n
\r\n \r\n
\r\n
{{\r\n formErrors.googleIdZteName }}\r\n
\r\n

Confirm Android™ zero-touch Customer ID

\r\n \r\n {{this.selectedDetails}}\r\n \r\n
\r\n\r\n \r\n
\r\n
\r\n {{ formErrors.googleIdNameZteConfirm }}\r\n
\r\n
\r\n Android™ zero-touch Customer IDs do not match.
\r\n
\r\n

Your zero-touch Customer ID will be validated when\r\n you click\r\n \"Continue\". This may take a few moments to process.

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

{{this.productSelectionModel.header4}}

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

{{this.productSelectionModel.radioLabel41}}\r\n {{this.productSelectionModel.radioLabel42}}

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

{{this.productSelectionModel.radioLabel41}}

\r\n

{{this.productSelectionModel.radioLabel42}}

\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\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.productSelectionModel.abmHeading}}

\r\n
\r\n

{{this.productSelectionModel.abmContent1}}

\r\n

{{this.productSelectionModel.abmContent2}}

\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n {{this.productSelectionModel.numberIcon1}}
\r\n
\r\n
\r\n
\r\n {{this.productSelectionModel.numberIcon2}}
\r\n
\r\n
\r\n
\r\n {{this.productSelectionModel.numberIcon3}}
\r\n
\r\n
\r\n
\r\n {{this.productSelectionModel.numberIcon4}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{this.productSelectionModel.abmtextContent1}}\r\n

{{this.productSelectionModel.radioLabel4}}\r\n

\r\n
\r\n
\r\n {{this.productSelectionModel.abmtextContent2}}\r\n
\r\n \r\n
\r\n {{this.productSelectionModel.atooltip1}}
\r\n
\r\n
\r\n
\r\n {{this.productSelectionModel.abmtextContent3}}\r\n {{this.productSelectionModel.radioLabel4}}\r\n portal\r\n
\r\n \r\n
\r\n {{this.productSelectionModel.atooltip2}}
\r\n
\r\n
\r\n
\r\n {{this.productSelectionModel.abmtextContent4}}
\r\n
\r\n
\r\n
\r\n
\r\n \r\n If you don't have an Apple Business Manager Account, you can apply for one here:\r\n Apply\r\n \r\n
\r\n
\r\n

Apple Organization ID

\r\n

\r\n \r\n

\r\n
{{\r\n formErrors.appleIdName }}
\r\n
\r\n
\r\n

Confirm Apple Organization ID

\r\n

\r\n \r\n

\r\n
{{\r\n formErrors.appleIdName1 }}
\r\n
\r\n Apple Organization IDs do not match.\r\n
\r\n
\r\n
\r\n

{{this.productSelectionModel.abm1}}

\r\n
\r\n

{{this.productSelectionModel.desc2}}\r\n {{this.productSelectionModel.abm2}}\r\n

\r\n
\r\n

{{this.productSelectionModel.desc3}}

\r\n
\r\n

{{this.productSelectionModel.abm3}}\r\n {{this.productSelectionModel.radioLabel4}} User\r\n Guide.\r\n

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

{{this.productSelectionModel.header4}}

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

{{this.productSelectionModel.radioLabel61}}\r\n {{this.productSelectionModel.radioLabel62}}

\r\n \r\n

{{this.productSelectionModel.radioLabel63}}

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

{{this.productSelectionModel.radioLabel61}}

\r\n

{{this.productSelectionModel.radioLabel62}}

\r\n

{{this.productSelectionModel.radioLabel63}}

\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\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.productSelectionModel.kme}}\r\n {{this.productSelectionModel.link9}}\r\n

\r\n
\r\n

Knox Mobile Enrollment ID

\r\n \r\n {{this.selectedDetailsKme}}\r\n \r\n
\r\n \r\n
\r\n\r\n
\r\n
{{\r\n formErrors.samsungIdName }}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n

{{this.productSelectionModel.abmHeading}}

\r\n
\r\n

{{this.productSelectionModel.abmContent1}}

\r\n

{{this.productSelectionModel.abmContent2}}

\r\n
\r\n\r\n
\r\n
\r\n
\r\n
{{this.productSelectionModel.numberIcon1}}\r\n
\r\n
\r\n
\r\n
{{this.productSelectionModel.numberIcon2}}\r\n
\r\n
\r\n
\r\n
{{this.productSelectionModel.numberIcon3}}\r\n
\r\n
\r\n
\r\n
{{this.productSelectionModel.numberIcon4}}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
{{this.productSelectionModel.abmtextContent1}}\r\n

{{this.productSelectionModel.radioLabel4}}\r\n

\r\n
\r\n
{{this.productSelectionModel.abmtextContent2}}\r\n
\r\n \r\n
\r\n {{this.productSelectionModel.atooltip1}}
\r\n
\r\n
\r\n
{{this.productSelectionModel.abmtextContent3}}\r\n {{this.productSelectionModel.radioLabel4}}\r\n portal\r\n
\r\n \r\n
\r\n {{this.productSelectionModel.atooltip2}}
\r\n
\r\n
\r\n
{{this.productSelectionModel.abmtextContent4}}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n If you don't have an Apple Business Manager Account, you can apply for one here:\r\n Apply\r\n \r\n
\r\n
\r\n
\r\n

Apple Organization ID

\r\n

\r\n \r\n

\r\n
{{ formErrors.appleIdName }}
\r\n
\r\n
\r\n

Confirm Apple Organization ID

\r\n

\r\n \r\n

\r\n
{{ formErrors.appleIdName1 }}
\r\n
\r\n Apple Organization IDs do not match.\r\n
\r\n
\r\n
\r\n

{{this.productSelectionModel.abm1}}

\r\n
\r\n

{{this.productSelectionModel.desc2}}\r\n {{this.productSelectionModel.abm2}}\r\n

\r\n
\r\n

{{this.productSelectionModel.desc3}}

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

{{this.productSelectionModel.abm3}}\r\n {{this.productSelectionModel.radioLabel4}} User Guide.\r\n

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

You must have a zero-touch Customer ID to continue. If you already\r\n have a zero-touch Customer ID, Click\r\n here to continue.\r\n \r\n

\r\n

To create a zero-touch Customer ID and enroll, please enter your\r\n Google corporate email address below. To create a Google corporate email\r\n account, please visit accounts.google.com.

\r\n

Google Email

\r\n \r\n {{this.selectedDetails}}\r\n \r\n
\r\n \r\n
\r\n
{{ formErrors.googleIdName }}\r\n
\r\n

Confirm Google Email

\r\n \r\n {{this.selectedDetails}}\r\n \r\n
\r\n \r\n
\r\n
\r\n {{ formErrors.googleIdNameConfirm }}\r\n
\r\n
\r\n Google Email IDs do not match.
\r\n
\r\n

Your\r\n zero-touch Customer ID will be generated when you click\r\n \"Continue\". Please check your email inbox for your generated zero-touch\r\n Customer\r\n ID. This may take a few moments to process.

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

Please enter your zero-touch Customer ID below to continue. If you\r\n do not have a zero-touch Customer ID, Click\r\n here to create one using your Google corporate email address.\r\n \r\n

\r\n

Android™ zero-touch Customer ID

\r\n \r\n {{this.selectedDetails}}\r\n \r\n
\r\n \r\n
\r\n
{{ formErrors.googleIdZteName }}\r\n
\r\n

Confirm Android™ zero-touch Customer ID

\r\n \r\n {{this.selectedDetails}}\r\n \r\n
\r\n \r\n
\r\n
\r\n {{ formErrors.googleIdNameZteConfirm }}\r\n
\r\n
\r\n Android™ zero-touch Customer IDs do not match.
\r\n
\r\n

Your\r\n zero-touch Customer ID will be validated when you click\r\n \"Continue\". This may take a few moments to process.

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

{{this.productSelectionModel.kme}}\r\n {{this.productSelectionModel.link9}}\r\n

\r\n
\r\n

Knox Mobile Enrollment ID

\r\n \r\n {{this.selectedDetailsKme}}\r\n \r\n
\r\n \r\n
\r\n\r\n
\r\n
{{ formErrors.samsungIdName }}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

{{this.productSelectionModel.header3}}

\r\n

{{this.productSelectionModel.description7}}\r\n {{this.productSelectionModel.link6}}.\r\n

\r\n
\r\n\r\n
\r\n
\r\n
\r\n \r\n \r\n {{this.productSelectionModel.Cancel}}\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
","export class ProductSelectionModel {\n googleIdName: string;\n googleIdNameConfirm: string;\n googleIdZteName: string;\n googleIdNameZteConfirm: string;\n samsungIdName: string;\n appleIdName: string;\n googleID: string;\n MdmSelection: string;\n header: string;\n header1: string;\n description1: string;\n header2: string;\n subheader1: string;\n subheaderDesc1: string;\n subheader2: string;\n subheaderDesc2: string[];\n radioLabel1: string;\n radioLabel2: string;\n radioLabel3: string;\n inputLabel1: string;\n inputLabel2: string;\n header3: string;\n description3: string;\n link1: string;\n googleId: number;\n samsungId: number;\n appleId: number;\n link: string;\n KmeId: string;\n ZtpId: string;\n AbmId: string;\n ztpSupportArticleHeader: string;\n ztpSupportArticleMessage: string;\n kmeSupportArticleHeader: string;\n kmeSupportArticleMessage: string;\n constructor() {\n this.header = undefined;\n this.header1 = undefined;\n this.description1 = undefined;\n this.header2 = undefined;\n this.subheader1 = undefined;\n this.subheaderDesc1 = undefined;\n this.subheader2 = undefined;\n this.subheaderDesc2 = undefined;\n this.radioLabel1 = undefined;\n this.radioLabel2 = undefined;\n this.radioLabel3 = undefined;\n this.inputLabel1 = undefined;\n this.inputLabel2 = undefined;\n this.header3 = undefined;\n this.description3 = undefined;\n this.link1 = undefined;\n this.link = undefined;\n this.ztpSupportArticleHeader = undefined;\n this.ztpSupportArticleMessage = undefined;\n this.kmeSupportArticleHeader = undefined;\n this.kmeSupportArticleMessage = undefined;\n }\n}\n\nexport class MdmDetails {\n emmProductCode: string;\n signupStatus: string;\n emmAccountId: string;\n otherProducts: Array;\n constructor() {\n this.emmProductCode = undefined;\n this.signupStatus = undefined;\n this.emmAccountId = undefined;\n this.otherProducts = [];\n }\n}\n\nexport class OtherProducts {\n emmProductCode: string;\n signupStatus: string;\n emmAccountId: string;\n constructor() {\n this.emmProductCode = undefined;\n this.signupStatus = undefined;\n this.emmAccountId = undefined;\n }\n}\n","import { Injectable } from '@angular/core';\r\nimport { map, catchError } from 'rxjs/operators';\r\nimport { UtilityService, HttpClientService, AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';\r\nimport { throwError } from 'rxjs';\r\n\r\nimport { HttpResponse, HttpHeaders } from '@angular/common/http';\r\nimport { ANALYTICS_CONSTANTS } from 'config';\r\ndeclare var ENV_PORTAL;\r\n\r\n@Injectable()\r\nexport class ProductSelectionService {\r\n constructor(private utilityService: UtilityService,\r\n private httpClientService: HttpClientService, private adobeAnalyticsService: AdobeAnalyticsService) { }\r\n\r\n handleError = (error) => {\r\n return throwError(error);\r\n }\r\n\r\n getInitialDetails() {\r\n let headers = new HttpHeaders();\r\n headers = headers.append('Content-Type', 'text/json');\r\n headers = headers.append('SERVICE-AUTH-TOKEN', sessionStorage.getItem('sapmp_jwtToken'));\r\n return this.httpClientService.get(this.utilityService.getEnvConfig().initialUrl, headers)\r\n .pipe(\r\n map((res: HttpResponse) => {\r\n if (res.headers.get('SERVICE-AUTH-TOKEN') != null) {\r\n this.httpClientService.tokenRefresh(this.utilityService.getEnvConfig().tokenRefresh);\r\n }\r\n return res.body;\r\n }\r\n )\r\n ,catchError( this.handleError ));\r\n }\r\n\r\n createPageLoadProperties(url: string, title: string, friendlyPageName: string) {\r\n const dataLayer = {};\r\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FRIENDLY_PAGE_NAME] = friendlyPageName;\r\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FLOW_CODE] = ANALYTICS_CONSTANTS.FLOW_CODE_MANAGE;\r\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_LANGUAGE] = 'EN';\r\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_LOGIN_SOURCE] = 'shoplogin';\r\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_PAGE_FUNCTION] = 'Service';\r\n this.adobeAnalyticsService.tag('page', dataLayer, 'Page_Load', 'pageLoad');\r\n }\r\n\r\n getHeaders() {\r\n let headers = new HttpHeaders();\r\n headers = headers.append('Authorization', sessionStorage.getItem('sapmp_jwtToken'));\r\n return headers;\r\n }\r\n\r\n fetchJSON(dataurl) {\r\n return this.httpClientService.post(dataurl, this.getHeaders())\r\n .pipe(\r\n map((resp: HttpResponse) => resp.body)\r\n ,catchError( this.handleError ));\r\n }\r\n\r\n signupDetails1(emmProductCode, selectedProductId) {\r\n let finalResp;\r\n let data = {\r\n 'resellerId': '6004067397',\r\n 'ids': [\r\n selectedProductId\r\n ]\r\n };\r\n if (emmProductCode === 'DMPSKME') {\r\n finalResp = this.utilityService.getEnvConfig().getSamsungId, data;\r\n }\r\n return this.httpClientService.post(finalResp, this.getHeaders())\r\n .pipe(\r\n map((res: HttpResponse) => { // console.log(res+ ' --------- validation');\r\n if (res.headers.get('SERVICE-AUTH-TOKEN') != null) {\r\n this.httpClientService.tokenRefresh(this.utilityService.getEnvConfig().tokenRefresh);\r\n }\r\n return res.body;\r\n }\r\n )\r\n ,catchError( this.handleError ));\r\n }\r\n\r\n signupDetails(emmProductCode, selectedProductId) {\r\n let finalResp, MdmUrl;\r\n const data = {\r\n 'resellerId': '6004067397',\r\n 'ids': [\r\n selectedProductId\r\n ]\r\n };\r\n return this.httpClientService.post(this.utilityService.getEnvConfig().getSamsungId, data, this.getHeaders())\r\n .pipe(\r\n map((res: HttpResponse) => { // console.log(res+ ' --------- validation');\r\n if (res.headers.get('SERVICE-AUTH-TOKEN') != null) {\r\n this.httpClientService.tokenRefresh(this.utilityService.getEnvConfig().tokenRefresh);\r\n }\r\n return res.body;\r\n }\r\n )\r\n ,catchError( this.handleError ));\r\n }\r\n\r\n mdmDetails() {\r\n return this.httpClientService.get(this.utilityService.getEnvConfig().mdmDetails, this.getHeaders())\r\n .pipe(\r\n map((res: HttpResponse) => {\r\n if (res.headers.get('SERVICE-AUTH-TOKEN') != null) {\r\n this.httpClientService.tokenRefresh(this.utilityService.getEnvConfig().tokenRefresh);\r\n }\r\n return res.body;\r\n }\r\n )\r\n ,catchError( this.handleError ));\r\n }\r\n\r\n samsungValidate() {\r\n let samsungKmeId;\r\n samsungKmeId = sessionStorage.getItem('selectedAccID');\r\n const data = {\r\n 'resellerId': '6004067397',\r\n 'ids': [\r\n samsungKmeId\r\n ]\r\n };\r\n return this.httpClientService.post(this.utilityService.getEnvConfig().samsungValidate, data, this.getHeaders())\r\n .pipe(\r\n map((resp: HttpResponse) => { // console.log(resp);\r\n return resp.body;\r\n }\r\n )\r\n ,catchError( this.handleError ));\r\n }\r\n\r\n orgIdValidation(orgid) {\r\n const data = {\r\n 'orgId': orgid\r\n };\r\n return this.httpClientService.post(this.utilityService.getEnvConfig().appleOrgValidate, data, this.getHeaders())\r\n .pipe(\r\n map((resp: HttpResponse) => { // console.log(resp);\r\n return resp.body;\r\n }),\r\n catchError( this.handleError ));\r\n }\r\n\r\n zteIdValidation(zteid, agreementID) {\r\n const data = {\r\n \"zteId\": zteid,\r\n \"agreementId\": agreementID\r\n };\r\n return this.httpClientService.post(this.utilityService.getEnvConfig().zteIdValidate, data, this.getHeaders())\r\n .pipe(\r\n map((resp: HttpResponse) => { // console.log(resp);\r\n return resp.body;\r\n }),\r\n catchError( this.handleError ));\r\n }\r\n\r\n setProdCode(code) {\r\n if (code === 'KME') {\r\n sessionStorage.setItem('prodcode', 'Samsung Knox Mobile Enrollment (KME)');\r\n }\r\n else if (code === 'ZTP') {\r\n sessionStorage.setItem('prodcode', 'Android Zero-touch');\r\n }\r\n else if (code === 'ABM') {\r\n sessionStorage.setItem('prodcode', 'Apple Business Manager');\r\n }\r\n }\r\n\r\n get_headers() {\r\n let headers = new HttpHeaders();\r\n headers = headers.append('Authorization', sessionStorage.getItem('sapmp_jwtToken'));\r\n return headers;\r\n }\r\n \r\n getFanStatusSummary() {\r\n // will be calling actual api with company id;\r\n let url;\r\n if (this.utilityService.getEnvConfig().useMock) {\r\n url = this.utilityService.getEnvConfig().getFanStatusSummarymock[0];\r\n } else {\r\n url = this.utilityService.getEnvConfig().dashboardSummary;\r\n }\r\n\r\n return this.httpClientService.get(url, this.get_headers())\r\n .pipe(\r\n map((test: HttpResponse) => {\r\n if (sessionStorage.getItem('sapmp_jwtToken') != null) {\r\n // refreshes token for logged in scenario upon page load\r\n this.httpClientService.tokenRefresh(this.utilityService.getEnvConfig().tokenRefresh);\r\n }\r\n return test.body;\r\n })\r\n ,catchError( this.handleError ));\r\n }\r\n\r\n getInquireProfile(fan: any) {\r\n let url = this.utilityService.getEnvConfig().getInquireProfile + \"?fan=\"+ fan;\r\n return this.httpClientService.get(url, this.getHeaders())\r\n .pipe(\r\n map((resp: HttpResponse) => { // console.log(resp);\r\n return resp.body;\r\n })\r\n ,catchError( this.handleError ));\r\n }\r\n\r\n tranIdValidation(tranid, isMock) {\r\n if(isMock){\r\n return this.httpClientService.get('restservices/cms/v1/UseCase/check_transaction_mock', this.get_headers())\r\n .pipe(\r\n map((test: HttpResponse) => test.body)\r\n ,catchError( this.handleError ));\r\n }else{\r\n const data = {\r\n 'deviceEnrollmentTransactionId': tranid\r\n };\r\n return this.httpClientService.post(this.utilityService.getEnvConfig().tranIdValidate, data, this.getHeaders())\r\n .pipe(\r\n map((resp: HttpResponse) => { // console.log(resp);\r\n return resp.body;\r\n }),\r\n catchError( this.handleError ));\r\n }\r\n }\r\n\r\n // getCheckTransactionMockDetails(){\r\n // return this.httpClientService.get('restservices/cms/v1/UseCase/check_transaction_mock', this.get_headers())\r\n // .pipe(\r\n // map((test: HttpResponse) => test.body)\r\n // ,catchError( this.handleError ));\r\n // }\r\n\r\n}\r\n","export * from './report-request.component';\nexport * from './success/report-success.component';\nexport * from './transaction';\n","import { Component, OnInit, Input, Output, EventEmitter, ViewEncapsulation, ElementRef,AfterViewInit} from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { ConfirmModalPopupModel } from 'lib/ng2-sapmp/src/ui-components/confirm-modal';\n// import { ReportSuccessPopup } from './report-success-popup.html';\nimport { DomSanitizer } from '@angular/platform-browser';\nimport { UtilityService, AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';\nimport { FormsModule } from '@angular/forms';\nimport { ReportService } from './shared/';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { UserProfileModel } from 'lib/ng2-sapmp/src/models';\nimport { PageLoaderService } from 'lib/ng2-sapmp/src/ui-components/page-loader';\nimport { KEY_CONFIG } from 'lib/ng2-sapmp/src/config/key-config';\n\nexport class Fan {\n constructor(public id: number, public name: string) { }\n}\n\n@Component({\n selector: 'app-report',\n providers: [ReportService],\n templateUrl: './report-request.component.html',\n styleUrls: ['./report-request.component.scss'],\n encapsulation: ViewEncapsulation.None\n})\nexport class ReportRequestComponent implements OnInit, AfterViewInit {\n overviewModalPopup: ConfirmModalPopupModel;\n modalClass: string;\n ReportPopup: any;\n trustedReportPopup: any;\n showOverviewModal: boolean;\n showSuccess: boolean;\n showError: boolean;\n public FanLists: Array;\n showNew = false;\n showNewMI = false;\n\n\n @Input()\n modalPopupObject: ConfirmModalPopupModel;\n @Input() triggerElement: any;\n\n @Output()\n modalOutput: EventEmitter;\n\n focusableElements: any;\n report: any;\n userInfo: any;\n userEmail: String;\n companyId: number;\n fanList: any;\n url: String;\n public allFans: Array;\n constructor(private el: ElementRef, private parentRouter: Router,\n private route: ActivatedRoute, private utilityService: UtilityService, private adobeAnalyticsService: AdobeAnalyticsService,\n private reportService: ReportService,\n private pageloaderService: PageLoaderService) {\n this.showError = false;\n this.modalOutput = new EventEmitter();\n this.overviewModalPopup = new ConfirmModalPopupModel();\n this.showSuccess = false;\n const democompany = sessionStorage.getItem('democompany');\n this.companyId = democompany ? parseInt(democompany) : 1;\n sessionStorage.setItem('dontShowAllFanRabioButton', 'false');\n this.FanLists = [];\n this.getFANList();\n if(this.showNew || this.showNewMI){\n this.report = {\n format: '',\n type: 'Device status'\n }\n }else{\n this.report = {\n format: '',\n type: ''\n }\n }\n }\n\n ngOnInit() {\n console.log('inside report page');\n this.showOverviewModal = true;\n document.body.classList.add('modal-open');\n let mdmData =JSON.parse(sessionStorage.getItem(\"mdmDetails\")) ;\n if(window.location.pathname == \"/businessconsole/manageInventory/deviceInventory\" && (mdmData.productCode ==\"ADDPZTE\" ) || (mdmData.productCode ==\"DMPAABM\" )) {\n this.showNew=true;\n }else if(window.location.pathname == \"/businessconsole/manageInventory\" && (mdmData.productCode ==\"ADDPZTE\" )) {\n this.showNewMI=true;\n }\n }\n\n ngAfterViewInit(){\n this.el.nativeElement.focus();\n if(document.getElementById('modalHeading') != null){\n document.getElementById('modalHeading').focus();\n }\n }\n\n setFocus(element,event?){\n if(element === 'report-request-btn' && document.getElementById(element) != null){\n if(event.keyCode !== 37 && event.keyCode !== 38 && event.keyCode !== KEY_CONFIG.enter && event.keyCode !== KEY_CONFIG.space){\n document.getElementById(element).focus();\n event.preventDefault();\n event.stopPropagation();\n }\n\n if(event.keyCode === 9 && !this.report.format){\n document.getElementById('closeBtn').focus();\n }\n\n }else if(document.getElementById(element) != null){\n document.getElementById(element).focus();\n }\n\n }\n\n btnAction(value,event?) {\n\n if (!event || event.keyCode === KEY_CONFIG.enter || event.keyCode === KEY_CONFIG.space) {\n if (event) {\n event.preventDefault();\n event.stopPropagation();\n }\n\n if(this.showNew || this.showNewMI){\n this.reportService.setRequestObject({ type: 'Device status', format: this.report.format });\n }else{\n this.reportService.setRequestObject({ type: this.report.type, format: this.report.format }); \n }\n const impersonator = JSON.parse(sessionStorage.getItem('impersonator'));\n const isDisabled = impersonator && impersonator.id ? true : false;\n if (isDisabled) {\n (document.getElementById('report-request-btn')).disabled = true;\n } else {\n if (this.report.type === 'Transaction history') {\n this.showOverviewModal = false;\n this.parentRouter.navigateByUrl('/reports/transaction');\n this.closeModalPopup(false);\n } else {\n const userInfo = sessionStorage.getItem('user');\n const user = JSON.parse(userInfo);\n const userEmail = user.user.emailAddress;\n const userName = user.user.firstName + ' ' + user.user.lastName;\n const format = this.report.format === 'PDF' ? 'PDF' : 'XLS';\n\t let fan = sessionStorage.getItem('selectedFAN');\n console.log('selected fan');\n let devicesSummary = JSON.parse(sessionStorage.getItem(\"devicesSummary\"));\n let activeDevices = devicesSummary.filter(x=>x.fan.status === \"ACTIVE\" );\n let activeDevicesFan =[];\n for(let i = 0 ; i < activeDevices.length ; i++) {\n if(activeDevices[i].fan.fanId === fan){\n activeDevicesFan.push(activeDevices[i])\n }\n }\n\n activeDevices = activeDevicesFan;\n\n let emmProduct = '';\n let emmProductArr = [];\n if (activeDevices && activeDevices.length > 0) {\n activeDevices.map(function (item) {\n emmProduct = item.fan.emmProductCode + \"_\" + item.fan.emmAccountId;\n emmProductArr.push(emmProduct);\n });\n }\n\n if (emmProductArr && emmProductArr.length > 0) {\n emmProductArr = emmProductArr.filter(\n (item, index) => emmProductArr.indexOf(item) === index\n );\n }\n\n let emmProductString = emmProductArr.map((item,index)=>'emm'+(index+1)+'='+item).join('&');\n\n if(this.showNew){\n this.url = this.utilityService.getEnvConfig().getReportRequestOEMUrl\n + '?' + 'type=' + format + '&email=' + userEmail + '&username=' + userName +'&fan=' +fan +'&'+emmProductString;\n }else if(this.showNewMI){\n this.url = this.utilityService.getEnvConfig().getReportRequestUrl\n + '?' + 'type=' + format + '&email=' + userEmail + '&username=' + userName; \n }else{\n this.url = this.utilityService.getEnvConfig().getReportRequestUrl\n + '?' + 'type=' + format + '&email=' + userEmail + '&username=' + userName;\n }\n this.pageloaderService.setPageLoaderStatus(false);\n this.reportService.doRequestReport(this.url)\n .subscribe(respobj => {\n this.pageloaderService.setPageLoaderStatus(true);\n if (respobj.message === 'True' ) {\n this.showOverviewModal = false;\n this.showSuccess = true;\n this.adobeAnalyticsService.trackPageProperties(); // TEMP URL Fix\n }else {\n this.showOverviewModal = true;\n this.showError = true;\n }\n }, error => {\n this.pageloaderService.setPageLoaderStatus(true);\n this.handleError(error);\n });\n }\n }\n }\n}\n\n loadFocuselements() {\n if (!this.focusableElements) {\n const focusableEls = this.utilityService.getFocusableElements(this.el);\n this.focusableElements = Array.prototype.slice.call(focusableEls);\n // this.focusableElements[0].focus();\n if(document.getElementById('modalHeading') != null){\n document.getElementById('modalHeading').focus();\n } \n }\n }\n handleKeydown(event) {\n if (event.keyCode === KEY_CONFIG.escapeKey) {\n this.closeModalPopup(false);\n return;\n }\n this.utilityService.handleKeyPress(event, this.focusableElements);\n }\n\n closeModalPopup(value,event?) {\n // this.showOverviewModal = false;\n // document.body.classList.remove('modal-open');\n // this.modalOutput.emit(value);\n // this.focusableElements = undefined;\n // if (this.triggerElement) {\n // this.triggerElement.focus();\n // } else {\n // this.focusableElements = undefined;\n // if (this.triggerElement) {\n // this.triggerElement.focus();\n // }\n // }\n\n if (!event || event.keyCode === KEY_CONFIG.enter || event.keyCode === KEY_CONFIG.space) {\n if (event) {\n event.preventDefault();\n event.stopPropagation();\n }\n document.body.classList.remove('modal-open');\n // this.modalOutput.emit(value);\n this.focusableElements = undefined;\n if (this.triggerElement) {\n this.triggerElement.focus();\n }\n this.modalOutput.emit(value);\n }\n }\n\n getFANList() {\n this.pageloaderService.setPageLoaderStatus(false);\n this.reportService.getFANList()\n .subscribe(respobj => {\n this.pageloaderService.setPageLoaderStatus(true);\n this.allFans = respobj.revisedFanList;\n if (this.allFans.length === 1) {\n sessionStorage.setItem('dontShowAllFanRadioButton', 'true');\n }\n this.allFans.forEach((item, index) => {\n this.FanLists.push(new Fan(index + 1, item.fanId));\n });\n sessionStorage.setItem('FanLists', JSON.stringify(this.FanLists));\n\n }, error => {\n this.handleError(error);\n });\n }\n\n handleError(error) {\n this.showOverviewModal = true;\n this.showError = true;\n }\n\n \n}\n","\n\n\n
\n {{loadFocuselements()}}\n
\n

Request report

\n
\n
\n

Generate Inventory Report

\n
\n \n \n \n \n
\n
\n \n
\n
Something went wrong. We couldn't process your request. Please try again later.
\n
\n\n
\n \n
\n
\n
\n Select the type of report and the report format. We’ll email you the report.\n
\n
\n Select the report format you prefer. We’ll email you the report.\n
\n \n
\n \n
Select report type
\n
\n \n \n \n \n
\n
\n\n \n \n \n
\n \n\n \n
Select report format
\n
Report Format
\n
\n\n \n \n \n
\n
\n \n \n \n \n
\n \n
\n
\n
\n \n \n Cancel\n
\n
\n \n \n \n
\n
\n
\n
\n\n\n\n
\n\n \n \n\n
\n\n\n","export * from './providers/report.service';\n\n","import { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { throwError } from 'rxjs';\nimport { HttpClientService } from 'lib/ng2-sapmp/src/providers';\nimport { HttpClient, HttpResponse, HttpHeaders } from '@angular/common/http';\nimport { UtilityService } from 'lib/ng2-sapmp/src/providers';\n\n@Injectable()\nexport class ReportService {\n // tslint:disable-next-line:one-line\n constructor(private http: HttpClient, private httpClientService: HttpClientService,\n private utilityService: UtilityService) { }\n\n\n get_headers() {\n let headers = new HttpHeaders();\n headers = headers.append('Authorization', sessionStorage.getItem('sapmp_jwtToken'));\n return headers;\n }\n\n fetchJSON(dataurl) {\n return this.httpClientService.get(dataurl, this.get_headers())\n .pipe(\n map((res: HttpResponse) => {\n if (sessionStorage.getItem('sapmp_jwtToken') != null) {\n // refreshes token for logged in scenario upon page load\n this.httpClientService.tokenRefresh(this.utilityService.getEnvConfig().tokenRefresh);\n }\n return res.body;\n })\n ,catchError( this.handleError ));\n }\n\n setRequestObject(obj: any) {\n sessionStorage.setItem('selectedReportType', obj.type);\n sessionStorage.setItem('selectedReportFormat', obj.format);\n }\n\n getReportObject() {\n return ({ type: sessionStorage.getItem('selectedReportType'), format: sessionStorage.getItem('selectedReportFormat')});\n }\n doRequestReport(url) {\n return this.httpClientService.get(url, this.get_headers())\n .pipe(\n map((test: HttpResponse) => {\n if (sessionStorage.getItem('sapmp_jwtToken') != null) {\n // refreshes token for logged in scenario upon page load\n this.httpClientService.tokenRefresh(this.utilityService.getEnvConfig().tokenRefresh);\n }\n return test.body; })\n ,catchError( this.handleError ));\n }\n\n getFANList() {\n let fanUrl;\n fanUrl = this.utilityService.getEnvConfig().getFANList;\n return this.fetchJSON(fanUrl);\n }\n\n handleError = (error) => {\n return throwError(error);\n }\n}\n","import { Component, OnInit, Input, Output, EventEmitter, ViewEncapsulation, ElementRef } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { ConfirmModalPopupModel } from 'lib/ng2-sapmp/src/ui-components/confirm-modal';\n// import { ReportSuccessPopup } from './report-success-popup.html';\n// import { DomSanitizer } from '@angular/platform-browser';\nimport { UtilityService } from 'lib/ng2-sapmp/src/providers';\nimport { FormsModule } from '@angular/forms';\nimport { ReportService } from '../shared/';\nimport { KEY_CONFIG } from 'lib/ng2-sapmp/src/config/key-config';\n\n\n@Component({\n selector: 'app-report-success',\n providers: [ReportService],\n templateUrl: './report-success.component.html',\n styleUrls: ['./report-success.component.scss']\n})\nexport class ReportSuccessComponent implements OnInit {\n overviewModalPopup: ConfirmModalPopupModel;\n modalClass: string;\n ReportPopup: any;\n trustedReportPopup: any;\n showOverviewModal: boolean;\n requestReceived= true;\n\n @Input()\n modalPopupObject: ConfirmModalPopupModel;\n @Input() triggerElement: any;\n\n @Output()\n modalOutput: EventEmitter;\n\n focusabbleElements: any;\n report: any;\n\n constructor(private el: ElementRef,\n private utilityService: UtilityService,\n private reportService: ReportService) {\n this.modalOutput = new EventEmitter();\n }\n\n ngOnInit() {\n this.report = this.reportService.getReportObject();\n this.showOverviewModal = true;\n\n }\n\n closeOverviewModal() {\n this.showOverviewModal = false;\n }\n btnAction(value,event?) {\n\n if (!event || event.keyCode === KEY_CONFIG.enter || event.keyCode === KEY_CONFIG.space) {\n if (event) {\n event.preventDefault();\n event.stopPropagation();\n }\n\n this.showOverviewModal = false;\n this.modalOutput.emit(value);\n this.focusabbleElements = undefined;\n if (this.triggerElement) {\n this.triggerElement.focus();\n }\n }\n }\n\n loadFocustelements() {\n if (!this.focusabbleElements) {\n const focusableEls = this.utilityService.getFocusableElements(this.el);\n this.focusabbleElements = Array.prototype.slice.call(focusableEls);\n document.getElementById('modalHeading').focus();\n }\n }\n handleError(error) {\n console.log('error');\n }\n dismissInfo() {\n this.requestReceived = false;\n }\n}\n","\n\n\n
\n

Request report

\n
\n
\n \n
\n
\n
\n \n
\n

We received your request.

\n

We're processing your request. We will send you an email when processing is complete.

\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n OK\n \n
\n
\n
\n\n
","import { Router, ActivatedRoute} from '@angular/router';\nimport { Component, OnInit } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { BreadCrumbService, StepIndicatorService } from 'lib/ng2-sapmp/src/ui-components';\nimport { TransactionService } from '../shared/';\nimport { DatePipe } from '@angular/common';\nimport { ReportService } from './../../shared/';\nimport { UtilityService } from 'lib/ng2-sapmp/src/providers';\n\n\n@Component({\n selector: 'app-confirmation',\n templateUrl: './confirmation.component.html',\n providers: [TransactionService],\n styleUrls: ['./confirmation.component.scss']\n})\nexport class ConfirmationComponent implements OnInit {\n public selectedCtn: string;\n public startDate: string;\n public endDate: string;\n public format: string;\n public dateRange: any;\n public fan: string;\n public singleDevice: boolean;\n constructor(private stepIndicator: StepIndicatorService,\n private transactionService: TransactionService,\n private datePipe: DatePipe,\n private breadCrumbService: BreadCrumbService,\n private router: Router,\n private route: ActivatedRoute,\n private utilityService: UtilityService) { }\n\n ngOnInit() {\n document.title = this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url];\n this.stepIndicator.setCurrentStep(this.route.snapshot.url[0].path);\n this.stepIndicator.setVisibility(true);\n const reportRequest = this.transactionService.getReportModel();\n this.loadData(reportRequest);\n this.transactionService.createPageLoadProperties('CONFIRMATION', 'confirmation');\n }\n loadData(reportRequest) {\n this.singleDevice = reportRequest.accountType === 'singleDevice';\n this.fan = reportRequest.selectedFan ? reportRequest.selectedFan.name : '';\n this.selectedCtn = reportRequest.selectedCtn.ctn ? reportRequest.selectedCtn.ctn.replace(/^(\\d{0,3})(\\d{0,3})(.*)/, '$1.$2.$3') : '';\n this.startDate = this.datePipe.transform(reportRequest.startDate, 'MM/dd/yyyy');\n this.endDate = this.datePipe.transform(reportRequest.endDate, 'MM/dd/yyyy');\n this.format = reportRequest.format;\n this.dateRange = reportRequest.dateRange.name;\n }\n backToCallingPage() {\n const breadCrumb = this.breadCrumbService.getBreadCrumbs();\n const route = breadCrumb[breadCrumb.length - 2].routerLink;\n this.router.navigate([route]);\n\n }\n}\n","
\n
\n
\n \n \n
\n
\n

We received your request.

\n
\n

We are processing your request. We will send you an email when processing is complete.

\n
\n
\n
Foundation account
\n \n\n
\n\n
\n
Device
\n \n\n
\n\n
\n
{{dateRange}}
\n \n\n
\n\n
\n
Report format
\n \n\n
\n\n
\n OK\n\n
\n
\n\n
","import { Component, OnInit } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { FormBuilder, Validators, FormControl, FormGroup, ReactiveFormsModule } from '@angular/forms';\nimport { DropdownModel, BreadCrumbModel } from 'lib/ng2-sapmp/src/ui-components';\n// import { StepIndicatorService } from 'lib/ng2-sapmp/src/ui-components';\nimport { UtilityService } from 'lib/ng2-sapmp/src/providers';\nimport { TransactionService } from '../shared/providers/transaction.service';\nimport { ENV } from 'config';\nimport { DatePickerComponent, StepIndicatorService } from 'lib/ng2-sapmp/src/ui-components';\n\nexport class DateRange {\n constructor(public id: number, public name: string) { }\n}\n\n@Component({\n selector: 'app-date-range',\n templateUrl: './date-range.component.html',\n styleUrls: ['./date-range.component.scss']\n})\nexport class DateRangeComponent implements OnInit {\n singleDevice: boolean;\n public errorMessage: string;\n public pageJson: any;\n public formInputs: Array;\n public fromDate: any;\n public toDate: any;\n dateRanges = [\n new DateRange(1, 'Last 90 days'),\n new DateRange(2, 'Last 60 days'),\n new DateRange(3, 'Last 30 days'),\n new DateRange(4, 'Custom date range')\n ];\n\n public fan: string;\n public showDate: boolean;\n public dateRangeForm: any;\n public accountType: string;\n public selectedCtn: string;\n public dateRange: any;\n public preselectValue: any;\n public datePickerComponent: any;\n constructor(private transactionService: TransactionService,\n private stepIndicator: StepIndicatorService,\n private utilities: UtilityService,\n private router: Router,\n private route: ActivatedRoute,\n private utilityService: UtilityService) {\n }\n\n ngOnInit() {\n document.title = this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url];\n\n this.dateRangeForm = new FormGroup({\n dateRange: new FormControl('', [Validators.required]),\n From: new FormControl('', [Validators.required]),\n To: new FormControl('', [Validators.required])\n });\n this.initpage();\n this.formInputs = [{\n id: 'from',\n title: 'From',\n dateInput: this.createDatePickerInput('from'),\n toolTipText: 'Start date of report'\n }, {\n id: 'to',\n title: 'To',\n dateInput: this.createDatePickerInput('to'),\n toolTipText: 'End date of report'\n }];\n this.stepIndicator.setCurrentStep(this.route.snapshot.url[0].path);\n this.stepIndicator.setVisibility(true);\n\n this.transactionService.createPageLoadProperties('DATE_RANGE', 'dateRange');\n\n }\n\n initpage() {\n const reportRequest = this.transactionService.getReportModel();\n\n this.accountType = reportRequest.accountType;\n\n this.singleDevice = reportRequest.accountType === 'singleDevice';\n\n if (this.singleDevice) {\n this.fan = reportRequest.selectedCtn ? reportRequest.selectedCtn.fan : '';\n this.selectedCtn = reportRequest.selectedCtn ? reportRequest.selectedCtn.ctn.replace(/^(\\d{0,3})(\\d{0,3})(.*)/, '$1.$2.$3') : '';\n } else {\n this.fan = reportRequest.selectedFan ? reportRequest.selectedFan.name : '';\n }\n\n this.updateDateRangeOption(reportRequest.dateRange || this.dateRanges[0]);\n this.dateRangeForm.controls['dateRange'].setValue(reportRequest.dateRange || this.dateRanges[0]);\n\n }\n processNext() {\n const reportRequest = this.transactionService.getReportModel();\n reportRequest.startDate = this.fromDate;\n reportRequest.endDate = this.toDate;\n reportRequest.dateRange = this.dateRange;\n this.transactionService.setReportModel(reportRequest);\n this.router.navigate(['review'], { relativeTo: this.route.parent });\n }\n\n onInput($event) {\n $event.preventDefault();\n }\n\n backToPrevious(event) {\n event.preventDefault();\n this.router.navigate(['reports/transaction/reportType']);\n\n }\n updateDateRangeOption(dropDownSelect) {\n if (dropDownSelect && dropDownSelect.id === 4) {\n this.showDate = true;\n }else {\n this.showDate = false;\n }\n /*set back the previously selected dates in picker */\n const reportRequest = this.transactionService.getReportModel();\n this.selectDateRangeOption(dropDownSelect);\n if (dropDownSelect.id === 4) {\n this.toDate = reportRequest.endDate;\n this.fromDate = reportRequest.startDate;\n this.dateRange = dropDownSelect;\n }else {\n this.selectDateRangeOption(dropDownSelect);\n }\n }\n\n /*update the toDate,fromDate and showDate*/\n selectDateRangeOption(dropDownSelect) {\n this.showDate = false;\n if (dropDownSelect.id === 1) {\n this.fromDate = new Date(new Date().setDate(new Date().getDate() - 90));\n } else if (dropDownSelect.id === 2) {\n this.fromDate = new Date(new Date().setDate(new Date().getDate() - 60));\n } else if (dropDownSelect.id === 3) {\n this.fromDate = new Date(new Date().setDate(new Date().getDate() - 30));\n }else {\n this.showDate = true;\n }\n this.toDate = new Date();\n this.dateRange = dropDownSelect;\n }\n\n createDropDownOptions(name, value): DropdownModel {\n const dropDown = {\n 'name': name,\n 'value': value\n };\n return dropDown;\n }\n\n\n createDatePickerInput(id: string) {\n\n const minDate = new Date(new Date().setDate(new Date().getDate() - 360));\n const maxDate = new Date();\n const selectedDate = id === 'to' ? this.toDate || maxDate : this.fromDate || minDate;\n const dateInput = {\n id: id,\n minDate: minDate,\n maxDate: maxDate,\n datePickerLabel: '',\n selectedDate: selectedDate,\n ariaLabel: {\n open: 'Show date picker',\n close: 'Hide date picker'\n },\n showError: false\n };\n if (selectedDate) {\n dateInput.selectedDate = new Date(selectedDate);\n }\n return dateInput;\n }\n\n onDateChange(dateObj: any) {\n if (dateObj.id === 'from') {\n this.fromDate = dateObj.date;\n this.formInputs[1].dateInput.maxDate = new Date(dateObj.date).setDate(new Date(dateObj.date).getDate() + 90) >\n new Date().getTime() ? new Date() : new Date(new Date(dateObj.date).setDate(new Date(dateObj.date).getDate() + 90));\n this.formInputs[1].dateInput.minDate = dateObj.date;\n } else {\n this.toDate = dateObj.date;\n this.formInputs[0].dateInput.maxDate = dateObj.date;\n this.formInputs[0].dateInput.minDate = new Date(new Date(dateObj.date).setDate(new Date(dateObj.date).getDate() - 90));\n }\n }\n\n}\n","
\n \n
\n
\n
Foundation account
\n \n \n Change\n \n
\n\n
\n \n
\n \n
\n
\n

Choose a date range for your report. The default setting includes the last 90 days of activity.\t

\n
\n \n
\n
\n \n
\n
\n
\n
\n \n
\n \n \n
\n
\n\n
\n \n Back\n \n
\n
\n
","export * from './transaction.component';\nexport * from './confirmation/confirmation.component';\nexport * from './date-range/date-range.component';\nexport * from './report-type/report-type.component';\n// export {CustomDatePickerComponent} from './date-range/custom-date';\nexport * from './transaction-review/transaction-review.component';\n","import { Component, OnInit, ViewEncapsulation, OnChanges } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { FormBuilder, Validators, FormControl, FormGroup, ReactiveFormsModule } from '@angular/forms';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport {Location} from '@angular/common';\n// import { BreadCrumbService, } from './../../../ui-components'; //BreadCrumbModel\nimport { DropdownModel, StepIndicatorService, BreadCrumbService } from 'lib/ng2-sapmp/src/ui-components';\nimport { UtilityService } from 'lib/ng2-sapmp/src/providers';\nimport { PageLoaderService } from 'lib/ng2-sapmp/src/ui-components/page-loader';\nimport { TransactionService } from '../shared/';\nimport { ENV } from 'config';\nimport { throwError } from 'rxjs';\n\nexport class FanStore {\n constructor(public id: number, public name: string) { }\n}\n\n@Component({\n selector: 'app-report-type',\n templateUrl: './report-type.component.html',\n styleUrls: ['./report-type.component.scss']\n})\nexport class ReportTypeComponent implements OnInit {\n\n public pageJson: any;\n public fanLists: FanStore;\n public fanList: Array;\n public allFans: Array;\n public FanLists: Array;\n public reportForm: any;\n public showDropdown: boolean;\n public showError: boolean;\n public singleFanValue;\n public singleDeviceValue;\n private showTextBox: boolean;\n private FanDropDown;\n private wireless;\n private savedReportRequest: any;\n private selectedFan: string;\n private notShowAllFanRadioButton: string;\n public dontShowAllFanRadioButton: boolean;\n public showErrors: boolean;\n public errorMessage: any;\n constructor(private utilities: UtilityService,\n private breadcrumb: BreadCrumbService,\n private router: Router,\n private route: ActivatedRoute,\n private transactionService: TransactionService,\n private pageloaderService: PageLoaderService,\n public stepIndicator: StepIndicatorService, /*changed from private to public for testing purpose */\n private location: Location) {\n this.FanLists = [];\n this.dontShowAllFanRadioButton = false;\n this.showErrors = false;\n this.pageloaderService.setPageLoaderStatus(false);\n }\n\n ngOnInit() {\n document.title = this.utilities.getPageTitleConfig()[this.router.routerState.snapshot.url];\n this.stepIndicator.setCurrentStep(this.route.snapshot.url[0].path);\n this.stepIndicator.setVisibility(true);\n this.notShowAllFanRadioButton = sessionStorage.getItem('dontShowAllFanRadioButton');\n if (this.notShowAllFanRadioButton === 'true') {\n this.dontShowAllFanRadioButton = true;\n } \n this.reportForm = new FormGroup({\n fan: new FormControl('', [Validators.required]),\n fanDropDown: new FormControl(''),\n wireless: new FormControl('')\n });\n this.getAllFan();\n // this.transactionService.getReportPageConfig(this.utilities.getEnvConfig().getReportPageConfigUrl)\n // .subscribe(respobj => {\n this.pageJson = this.route.snapshot.data.pageData.reportstransactionreportType;\n this.pageJson = this.pageJson['reportsreportType'];\n this.pageloaderService.setPageLoaderStatus(true);\n // }, error => {\n // this.pageloaderService.setPageLoaderStatus(true);\n // this.handleError(error);\n // });\n this.transactionService.createPageLoadProperties('REPORT_TYPE', 'reportType');\n\n }\n\n handleError = (error) => {\n return throwError(error);\n }\n\n next(ctnNumber?) {\n let selectedFan;\n let fan;\n this.savedReportRequest.accountType = this.reportForm.value.fan;\n if (this.savedReportRequest.accountType === 'allFan' || this.savedReportRequest.accountType === 'singleFan') {\n\n selectedFan = (this.savedReportRequest.accountType === 'allFan') ?\n { name: 'All accounts', value: 'allFan' } : this.reportForm.value.fanDropDown;\n\n this.savedReportRequest.selectedFan = selectedFan;\n this.savedReportRequest.selectedCtn = '';\n this.transactionService.setReportModel(this.savedReportRequest);\n this.router.navigate(['dateRange'], { relativeTo: this.route.parent });\n\n } else if (this.savedReportRequest.accountType === 'singleDevice') {\n this.pageloaderService.setPageLoaderStatus(false);\n this.transactionService.validateCTN(ctnNumber)\n .subscribe((respobj) => {\n if (respobj.errorMessage) {\n this.showErrors = true;\n this.errorMessage = respobj.errorMessage;\n this.pageloaderService.setPageLoaderStatus(true);\n } else {\n fan = respobj.fan;\n this.savedReportRequest.selectedFan = '';\n this.savedReportRequest.selectedCtn = { fan: fan, ctn: ctnNumber };\n this.transactionService.setReportModel(this.savedReportRequest);\n this.pageloaderService.setPageLoaderStatus(true);\n this.router.navigate(['dateRange'], { relativeTo: this.route.parent });\n }\n }, (error) => {\n this.pageloaderService.setPageLoaderStatus(true);\n this.handleError(error);\n });\n }\n }\n\n cancel() {\n this.breadcrumb.removeLastBreadCrumb();\n const currentUrl = this.breadcrumb.getLastUrlFromBreadCrumb().routerLink;\n this.router.navigate([currentUrl]);\n }\n\n\n getAllFan() {\n this.savedReportRequest = this.transactionService.getReportModel(); \n if (!this.savedReportRequest.fanList.length && sessionStorage.getItem('FanLists')) {\n const FanLists = sessionStorage.getItem('FanLists');\n this.FanLists = JSON.parse(FanLists); \n this.savedReportRequest.fanList = this.FanLists;\n this.transactionService.setReportModel(this.savedReportRequest);\n this.createFanSelectOption();\n } else {\n this.createFanSelectOption();\n }\n\n }\n\n createFanSelectOption() {\n this.fanList = new Array();\n const selectedFan = this.savedReportRequest.selectedFan;\n const accountType = this.savedReportRequest.accountType;\n if (selectedFan && accountType === 'singleFan') {\n this.selectedFan = this.showDropdown ? this.createDropDownOptions(selectedFan.name, selectedFan.value) : selectedFan;\n }\n this.savedReportRequest.fanList.filter(fan => {\n this.fanList.push(this.createDropDownOptions(fan.name, fan.id));\n });\n this.setOptionValue(accountType);\n\n // Change the form controls too\n if (this.reportForm.controls['fanDropDown']) {\n this.reportForm.controls['fanDropDown'].setValue(this.selectedFan);\n }\n this.reportForm.controls['fan'].setValue(accountType);\n }\n updateDeviceTextbox() {\n const selectedCtn = this.savedReportRequest.selectedCtn.ctn;\n this.reportForm.controls['wireless'].setValue(this.formatCtn(selectedCtn));\n }\n onInput($event) {\n $event.preventDefault();\n }\n\n createDropDownOptions(name, value): DropdownModel {\n const dropDown = {\n 'name': name,\n 'value': value\n };\n return dropDown;\n }\n\n setOptionValue(option) {\n if (option === 'singleFan') {\n this.showDropdown = true;\n this.showTextBox = false;\n /*update the validator based on selection*/\n this.reportForm.controls['fanDropDown'].validator = Validators.required;\n this.reportForm.controls['wireless'].validator = Validators.nullValidator;\n } else if (option === 'singleDevice') {\n this.showDropdown = false;\n this.showTextBox = true;\n this.reportForm.controls['wireless'].validator = Validators.required;\n this.reportForm.controls['fanDropDown'].validator = Validators.nullValidator;\n this.updateDeviceTextbox();\n \n } else {\n this.showDropdown = false;\n this.showTextBox = false;\n this.reportForm.controls['wireless'].validator = Validators.nullValidator;\n this.reportForm.controls['fanDropDown'].validator = Validators.nullValidator;\n }\n this.reportForm.controls['fanDropDown'].updateValueAndValidity();\n this.reportForm.controls['wireless'].updateValueAndValidity(); \n }\n onChange(event) {\n\n let ctnstr = event.replace(/[\\.]/g, '');\n ctnstr = ctnstr.replace(/[' ']/g, '');\n\n if(ctnstr.length !== 10 && Number.isInteger(Number(ctnstr))) {\n this.showError = true;\n }\n if (this.showError === true && ctnstr.length === 10 && Number.isInteger(Number(ctnstr))) {\n this.showError = false;\n }\n }\n\n /*to format the numbers to phone number*/\n formatCtn(tel) {\n const value = tel.toString().trim().replace(/^\\+/, '');\n\n if (value.match(/[^0-9]/)) {\n return tel;\n }\n let city, number;\n switch (value.length) {\n case 1:\n case 2:\n case 3:\n city = value;\n break;\n\n default:\n city = value.slice(0, 3);\n number = value.slice(3);\n }\n if (number) {\n if (number.length > 3) {\n number = number.slice(0, 3) + '.' + number.slice(3, 7);\n } else {\n number = number;\n }\n return (+ city + '.' + number).trim();\n } else {\n return city;\n }\n }\n}\n","
\n
\n
\n \n
\n
\n {{errorMessage}}\n
\n
\n\n
\n
\n

{{element.heading}}

\n

{{element.description}}

\n
\n
\n \n \n
\n \n \n \n
\n \n
\n \n \n \n \n
\n
\n
\n
\n
\n \n \n Cancel\n
\n \n
\n
","export * from './providers/transaction.service';\n\n","import { FanModel } from './../../../../../models/fan/fan.model';\nimport { DateRange } from './../../date-range/date-range.component';\n\nexport class TransactionReportModel {\n reportType: string;\n dateRange: string;\n fanList: Array;\n selectedFan?: FanModel;\n ctnList?: Array;\n selectedDevice: string;\n\n constructor() {\n this.reportType = '';\n this.dateRange = '';\n this.fanList = [];\n }\n}\n\n","\nimport { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { HttpClientService, UtilityService, AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';\nimport { throwError } from 'rxjs';\nimport { HttpClient, HttpResponse, HttpHeaders } from '@angular/common/http';\nimport { TransactionReportModel } from '../models/transaction-report.model';\nimport { ANALYTICS_CONSTANTS } from 'config';\n\n@Injectable()\nexport class TransactionService {\n\n constructor(private http: HttpClient,\n private httpClientService: HttpClientService,\n private utilityService: UtilityService,\n private adobeAnalyticsService: AdobeAnalyticsService) { }\n\n get_headers() {\n let headers = new HttpHeaders();\n headers = headers.append('Authorization', sessionStorage.getItem('sapmp_jwtToken'));\n return headers;\n }\n\n fetchJSON(dataurl) {\n return this.httpClientService.get(dataurl, this.get_headers())\n .pipe(\n map((res: HttpResponse) => {\n if (sessionStorage.getItem('sapmp_jwtToken') != null) {\n // refreshes token for logged in scenario upon page load\n this.httpClientService.tokenRefresh(this.utilityService.getEnvConfig().tokenRefresh);\n }\n return res.body;\n })\n ,catchError( this.handleError ));\n }\n\n doRequestReport(url) {\n return this.httpClientService.get(url, this.get_headers())\n .pipe(\n map((res: HttpResponse) => res.body)\n ,catchError( this.handleError ));\n }\n handleError = (error) => {\n return throwError(error);\n }\n\n setReportModel(reportRequest: TransactionReportModel) {\n sessionStorage.setItem('savedReportRequest', JSON.stringify(reportRequest));\n }\n\n getReportModel() {\n return JSON.parse(sessionStorage.getItem('savedReportRequest')) || new TransactionReportModel();\n }\n\n removeReportModel() {\n sessionStorage.removeItem('savedReportRequest');\n }\n getReportPageConfig(url) {\n return this.httpClientService.get(url)\n .pipe(\n map((res: HttpResponse) => res.body)\n ,catchError( this.handleError ));\n }\n getFANList() {\n let fanUrl; \n fanUrl = this.utilityService.getEnvConfig().getFANList; \n return this.fetchJSON(fanUrl);\n }\n\n validateCTN(ctn) {\n let url;\n if (this.utilityService.getEnvConfig().useMock) {\n url = this.utilityService.getEnvConfig().getCTNMock[0];\n } else {\n url = this.utilityService.getEnvConfig().getCTN + '?ctn=' + ctn;\n }\n return this.fetchJSON(url);\n }\n\n\n createPageLoadProperties(url, sitesection2) {\n const dataLayer = {};\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FRIENDLY_PAGE_NAME] = ANALYTICS_CONSTANTS['FRIENDLY_NAME_REQUEST_REPORTS_' + url];\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FLOW_CODE] = ANALYTICS_CONSTANTS.FLOW_CODE_REPORTS;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_SITE_SECTION1] = 'transaction';\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_SITE_SECTION2] = sitesection2;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_PAGE_FUNCTION] = 'Service';\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_LOGIN_SOURCE] = 'home';\n this.adobeAnalyticsService.tag('page', dataLayer, 'Page_Load', 'pageLoad');\n }\n}\n","import { Component, OnInit } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { TransactionService } from '../shared/';\nimport { UtilityService } from 'lib/ng2-sapmp/src/providers';\nimport { BreadCrumbModel, StepIndicatorService } from 'lib/ng2-sapmp/src/ui-components';\nimport { DatePipe } from '@angular/common';\nimport { ReportService } from './../../shared/';\nimport { PageLoaderService } from 'lib/ng2-sapmp/src/ui-components/page-loader';\n\n@Component({\n selector: 'app-transaction-review',\n providers: [TransactionService, ReportService],\n templateUrl: './transaction-review.component.html',\n styleUrls: ['./transaction-review.component.scss']\n})\nexport class TransactionReviewComponent implements OnInit {\n singleDevice: boolean;\n showError: boolean;\n showReportSelection: boolean;\n public startDate: string;\n public endDate: string;\n fan: string;\n public selectedCtn: string;\n public format: string;\n public dateRange: any;\n public accountType: string;\n\n constructor(private parentRouter: Router,\n private transactionService: TransactionService,\n private utilityService: UtilityService,\n private stepIndicator: StepIndicatorService,\n private router: Router,\n private route: ActivatedRoute,\n private datePipe: DatePipe,\n private reportService: ReportService,\n private pageloaderService: PageLoaderService\n ) { }\n\n ngOnInit() {\n document.title = this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url];\n const reportRequest = this.transactionService.getReportModel();\n this.singleDevice = reportRequest.accountType === 'singleDevice';\n this.showError = false;\n this.showReportSelection = false;\n this.stepIndicator.setCurrentStep(this.route.snapshot.url[0].path);\n this.stepIndicator.setVisibility(true);\n\n\n this.fan = reportRequest.selectedFan ? reportRequest.selectedFan.name : '';\n this.selectedCtn = reportRequest.selectedCtn.ctn ? reportRequest.selectedCtn.ctn.replace(/^(\\d{0,3})(\\d{0,3})(.*)/, '$1.$2.$3') : '';\n this.startDate = this.datePipe.transform(reportRequest.startDate, 'MM/dd/yyyy');\n this.endDate = this.datePipe.transform(reportRequest.endDate, 'MM/dd/yyyy');\n this.format = this.reportService.getReportObject().format;\n this.dateRange = reportRequest.dateRange.name;\n this.accountType = reportRequest.accountType;\n this.transactionService.createPageLoadProperties('REVIEW', 'review');\n\n }\n\n doRequestReport() {\n const reportRequest = this.transactionService.getReportModel();\n reportRequest.format = this.format;\n this.transactionService.setReportModel(reportRequest);\n let url = this.utilityService.getEnvConfig().getTransactionReportRequestUrl;\n const startDate = this.datePipe.transform(reportRequest.startDate, 'MM/dd/yyyy');\n const endDate = this.datePipe.transform(reportRequest.endDate, 'MM/dd/yyyy');\n const userInfo = sessionStorage.getItem('user');\n const user = JSON.parse(userInfo);\n const userEmail = user.user.emailAddress;\n const userName = user.user.firstName + ' ' + user.user.lastName;\n const format = this.format === 'PDF' ? 'PDF' : 'XLS';\n\n if (this.accountType === 'allFan') {\n url = url + 'all';\n } else if (this.accountType === 'singleDevice') {\n url = url + 'device/' + reportRequest.selectedCtn.ctn;\n } else {\n url = url + 'fan/' + reportRequest.selectedFan.name;\n }\n url = url + '?startdate=' + startDate +\n '&enddate=' + endDate + '&type=' + format + '&email=' + userEmail + '&username=' + userName;\n const impersonator = JSON.parse(sessionStorage.getItem('impersonator'));\n const isDisabled = impersonator && impersonator.id ? true : false;\n if (isDisabled) {\n (document.getElementById('transaction-review-btn')).disabled = true;\n } else {\n this.pageloaderService.setPageLoaderStatus(false);\n if (this.utilityService.getEnvConfig().useMock){\n url = this.utilityService.getEnvConfig().getTransactionReportRequestUrl;\n } \n this.transactionService.doRequestReport(url)\n .subscribe(respobj => {\n this.pageloaderService.setPageLoaderStatus(true);\n if (respobj.message === 'True') {\n this.parentRouter.navigateByUrl('/reports/transaction/confirmation');\n }else {\n this.showError = true;\n }\n }, error => {\n this.pageloaderService.setPageLoaderStatus(true);\n this.handleError(error);\n });\n }\n }\n handleError(error) {\n // console.log('error');\n // throw error;\n this.showError = true;\n }\n\n backToPrevious(event) {\n event.preventDefault();\n this.router.navigate(['/reports/transaction/dateRange']);\n }\n\n selectReportFormat() {\n this.showReportSelection = true;\n }\n}\n","
\n \n \n \n\n
\n
\n \n
\n
We are unable to process your report at this time. Please try again later.
\n
\n\n

\n Review your selections to make sure they're correct. To modify an item, click Change.\n

\n
\n
Foundation account
\n \n \n Change\n
\n\n
\n
Device
\n \n \n Change\n
\n\n
\n
{{dateRange}}
\n \n \n Change\n
\n\n
\n
Report format
\n \n \n Change\n
\n\n
\n
Select report file format
\n
Please select the type of file you would like to receive via email. Excel or PDF document
\n
\n

\n
\n
\n
\n\n
\n\n \n\n \n\n Back\n
\n
\n\n
","import { Component, OnInit, OnDestroy } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { BreadCrumbModel, StepIndicatorService, StepIndicatorModel, BreadCrumbService } from 'lib/ng2-sapmp/src/ui-components';\nimport { UtilityService } from 'lib/ng2-sapmp/src/providers';\nimport { STEPINDICATORS } from 'config';\nimport { TransactionService } from './shared/providers/transaction.service';\nimport { ENV } from 'config';\ndeclare var ENV_VAR: any;\n\n\n@Component({\n selector: 'app-transaction',\n templateUrl: './transaction.component.html',\n styleUrls: ['./transaction.component.scss'],\n providers: [StepIndicatorService, TransactionService]\n})\n\n\n\nexport class TransactionComponent implements OnInit, OnDestroy {\n public steps: Array;\n private companyId: number;\n displayFlag: boolean;\n sessionName: string;\n constructor(private breadCrumbService: BreadCrumbService,\n private stepIndicator: StepIndicatorService,\n private utilities: UtilityService,\n private transactionReportService: TransactionService,\n private route: ActivatedRoute) {\n this.steps = STEPINDICATORS.transaction;\n }\n\n ngOnInit() {\n const breadcrumb = new BreadCrumbModel();\n breadcrumb.label = 'Account activity request';\n breadcrumb.routerLink = '/reports/transaction';\n this.breadCrumbService.setCurrentBreadCrumb(breadcrumb);\n this.sessionName = 'transaction';\n if (this.stepIndicator.getSteps(this.sessionName) === null) {\n this.stepIndicator.setSteps(this.steps, this.sessionName);\n }\n this.steps = this.stepIndicator.getSteps(this.sessionName);\n this.stepIndicator.getVisibility().subscribe(\n (status: boolean) => {\n this.displayFlag = status;\n }\n );\n }\n\n ngOnDestroy() {\n this.transactionReportService.removeReportModel();\n this.stepIndicator.removeStep('transaction');\n }\n\n}\n","
\n

Account activity request

\n \n
\n \n
\n
\n","export * from './select-accounts.component';\n","import { Component, ViewEncapsulation, OnInit } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { StepIndicatorService, PageLoaderService } from './../../../../lib/ng2-sapmp/src/ui-components';\nimport { UtilityService, AdobeAnalyticsService } from './../../../../lib/ng2-sapmp/src/providers';\nimport { SendSMSService } from './../send-sms.service';\nimport { FanModel, CtnModel } from './../../../models';\nimport { MessageModel } from './../models/smsMessage.model';\nimport { ENV } from 'config';\n\ndeclare var ENV_VAR: any;\n\n@Component({\n templateUrl: './select-accounts.component.html',\n styleUrls: ['./select-accounts.component.scss'],\n providers: [AdobeAnalyticsService],\n encapsulation: ViewEncapsulation.None\n})\n\nexport class SelectAccountComponent implements OnInit {\n public pageJson: any;\n public selectedList: any;\n public inputList: any;\n private savedMessage: MessageModel;\n\n constructor(private messageService: SendSMSService,\n private stepIndicator: StepIndicatorService,\n private utilities: UtilityService,\n private router: Router,\n private route: ActivatedRoute,\n private spinner: PageLoaderService,\n private adobeAnalyticsService: AdobeAnalyticsService,\n private utilityService: UtilityService\n ) {\n this.savedMessage = this.messageService.getMessageModel();\n this.spinner.setPageLoaderStatus(false);\n if (!this.savedMessage.message.length) {\n this.router.navigate(['message'], { relativeTo: this.route.parent });\n return;\n }\n const accountType = this.savedMessage.accountType;\n this.stepIndicator.setCurrentStep('account');\n this.stepIndicator.setVisibility(true);\n // messageService.getPageJson().subscribe(json => {\n this.pageJson = this.route.snapshot.data.pageData.sendMessagemessage;\n this.pageJson = this.pageJson['selectAccountsJson'][accountType];\n // if (json) {\n //this.pageJson = json['selectAccountsJson'][accountType];\n this.pageJson.accountType = accountType;\n this.pageJson.onSearch = false;\n this.selectedList = [];\n\n if (accountType === 'allFans') {\n this.getAllFan();\n this.spinner.setPageLoaderStatus(true);\n } else {\n this.getCtnList();\n }\n //}\n //});\n }\n\n ngOnInit() {\n document.title = this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url];\n this.messageService.createPageLoadProperties('ACCOUNTS', 'Accounts');\n }\n\n\n getAllFan() {\n this.inputList = this.savedMessage.fanList;\n if(this.inputList && this.inputList.length>0){\n this.inputList = this.inputList.filter((value, index, self) =>\n index === self.findIndex((item) => (\n item.fanId === value.fanId\n ))\n )\n }\n\n this.pageJson.gridOptions = this.messageService.createGridOptions(this.inputList, this.pageJson.columnDefinitions, 'allFans', 2);\n this.selectedList = this.messageService.filterSelected(this.inputList);\n }\n\n getCtnList() {\n const fan = this.savedMessage.selectedFan.fanId;\n this.inputList = this.savedMessage.ctnList || [];\n let sessionId = sessionStorage.getItem(\"sessionId\");\n\n this.pageJson.selectedFan = this.pageJson.fanSelectionStatus.replace('', fan);\n if (!this.inputList.length) {\n //this.messageService.getCtnList(fan).subscribe(resObj => {\n this.messageService.getGroupDevicesData(fan, sessionId).subscribe(resObj => {\n this.inputList = resObj.list;\n this.savedMessage.ctnList = this.inputList;\n this.createCtnOptions(true);\n }, (err) => {\n this.spinner.setPageLoaderStatus(true);\n this.messageService.setPageError(this.pageJson.error);\n });\n } else {\n this.createCtnOptions(false);\n }\n }\n\n createCtnOptions(defaultLoad: boolean) {\n if (this.pageJson.accountType === 'allCTN') {\n if (defaultLoad) {\n this.inputList.filter(item => {\n item.selected = false;\n });\n } else {\n this.inputList = this.messageService.toggleSelect(this.inputList);\n }\n this.selectedList = this.messageService.filterSelected(this.messageService.toggleSelect(JSON.parse(JSON.stringify(this.inputList))));\n this.pageJson.gridHeader = this.pageJson.viewAllGridHeading;\n } else {\n this.selectedList = this.messageService.filterSelected(this.inputList);\n this.pageJson.heading = this.pageJson.viewAllHeading;\n }\n this.pageJson.gridFooter = this.pageJson.gridFooterDescription.replace('', this.inputList.length);\n this.pageJson.gridOptions = this.messageService.createGridOptions(this.inputList, this.pageJson.columnDefinitions,\n this.pageJson.accountType, 2);\n this.spinner.setPageLoaderStatus(true);\n }\n\n onSelectChange(e: any, accountType: string) {\n this.selectedList = this.messageService.filterSelected(this.inputList);\n if (accountType === 'allCTN') {\n this.selectedList = this.messageService.filterSelected(this.messageService.toggleSelect(JSON.parse(JSON.stringify(this.inputList))));\n }\n }\n\n searchList = (searchObj: any) => {\n const clearSearch = searchObj.search;\n const results = searchObj.results.length;\n if (this.pageJson.accountType !== 'allFans') {\n if (this.pageJson.accountType === 'allCTN') {\n this.pageJson.gridHeader = (clearSearch || !results) ? this.pageJson.viewAllGridHeading : this.pageJson.searchGridHeading;\n } else {\n this.pageJson.heading = clearSearch ? this.pageJson.viewAllHeading : this.pageJson.searchHeading;\n }\n this.pageJson.onSearch = !clearSearch;\n this.pageJson.results = results ? true : false;\n }\n }\n\n next = () => {\n this.adobeAnalyticsService.createAdobeEventProperties('SMS', 'SUCCESS', 'formSubmit',\n 'BC_Device_SMS_Select_FAN_Account_Submit', 'success', 'Success_Admit', 'continue', 'Body', '/businessconsole/sendMessage/review');\n if (this.pageJson.accountType === 'allFans') {\n this.savedMessage.fanList = this.inputList;\n } else {\n if (this.pageJson.accountType === 'allCTN') {\n this.inputList = this.messageService.toggleSelect(JSON.parse(JSON.stringify(this.inputList)));\n }\n this.savedMessage.ctnList = this.inputList;\n }\n\n // Adobe Analytics Success Type Starts\n this.adobeAnalyticsService.createAdobeEventProperties('SMS', 'SUCCESS', 'formResponse',\n 'BC_Device_SMS_Select_FAN_Account_Submit', 'success', 'Success_Admit', 'continue', 'Body', '/businessconsole/sendMessage/review');\n // End\n // Update the output Model\n this.messageService.setMessageModel(this.savedMessage);\n this.router.navigate(['review'], { relativeTo: this.route.parent });\n }\n\n back(route) {\n this.messageService.setPageError('');\n this.router.navigate([route], { relativeTo: this.route.parent });\n }\n\n}\n","
\n

{{pageJson.heading}}

\n
1||selectedList.length==0\">

{{pageJson.viewAllDescription.replace(\"<selected>\" , selectedList.length)}}

\n

{{pageJson.viewAllDescription.replace(\"<selected>\" , selectedList.length).replace(\"numbers\",\"number\")}}

\n

{{pageJson.searchDescription}}

\n

{{pageJson.selectedFan}}

\n
1||selectedList.length==0\" class=\"onSearch\">

{{pageJson.subheading.replace(\"<selected>\", selectedList.length).replace(\"<input>\", inputList.length)}}

\n

{{pageJson.subheadingSingle}}

\n
\n

{{pageJson.gridHeader}}

\n \n

{{pageJson.gridFooter.replace(\"<selected>\", inputList.length-selectedList.length)}}

\n
\n
\n \n {{pageJson.cta.back}}\n
\n
\n","export * from './send-sms.component';\nexport * from './message';\nexport * from './accounts';\nexport * from './review';\nexport * from './modal';\n","export * from './message.component';\n","import { Component, ViewEncapsulation, OnInit } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { FormBuilder, Validators, FormControl } from '@angular/forms';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport {\n DropdownModel, BreadCrumbModel, PageLoaderService,\n StepIndicatorService, BreadCrumbService\n} from 'lib/ng2-sapmp/src/ui-components';\nimport { UtilityService, AdobeAnalyticsService } from './../../../../lib/ng2-sapmp/src/providers';\nimport { FanModel } from './../../../models/fan/fan.model';\nimport { SendSMSService } from './../send-sms.service';\nimport { MessageModel } from './../models/smsMessage.model';\nimport { ENV } from 'config';\n\ndeclare var ENV_VAR: any;\n\n@Component({\n templateUrl: './message.component.html',\n styleUrls: ['./message.component.scss'],\n providers: [AdobeAnalyticsService],\n encapsulation: ViewEncapsulation.None\n})\n\nexport class MessageComponent implements OnInit {\n public pageJson: any;\n public messageForm: any;\n public showDropdown: boolean;\n public showError: boolean;\n public disableNext: boolean;\n public fanList: Array;\n public fanNumber: FormControl;\n private allCtnSelectedFan;\n private ctnSelectedFan;\n private preselectValue;\n private savedMessage: MessageModel;\n\n constructor(private utilities: UtilityService,\n private breadcrumb: BreadCrumbService,\n private stepIndicator: StepIndicatorService,\n private router: Router,\n private route: ActivatedRoute,\n private fb: FormBuilder,\n private messageService: SendSMSService,\n private spinner: PageLoaderService,\n private adobeAnalyticsService: AdobeAnalyticsService,\n private utilityService: UtilityService) {\n\n this.savedMessage = messageService.getMessageModel();\n this.spinner.setPageLoaderStatus(false);\n this.stepIndicator.setCurrentStep('message');\n this.stepIndicator.setVisibility(true);\n this.fanNumber = new FormControl();\n //messageService.getPageJson().subscribe(json => {\n //if (json) {\n this.pageJson = this.route.snapshot.data.pageData.sendMessagemessage;\n this.pageJson = this.pageJson['messageJson'];\n // messageService.fetchJSON(this.utilities.getEnvConfig().messageFormJson).subscribe(resObj => {\n this.pageJson['formGroups'].map((item, ind) => {\n return Object.assign(item, this.pageJson.formGroup1[ind]);\n });\n const formObj = {};\n this.pageJson.formGroup1.forEach(field => {\n const fieldValidator = [];\n if (field.validation) {\n const inputValidator = field.validation;\n if (inputValidator.required) {\n fieldValidator.push(Validators.required);\n }\n if (inputValidator.maxLength) {\n fieldValidator.push(Validators.maxLength(inputValidator.maxLength));\n }\n };\n formObj[field.formControlName] = [(this.savedMessage ? this.savedMessage[field.formControlName] : ''), fieldValidator];\n\n // dropdown under the radio selection\n if (field.dropDownFormControlName) {\n formObj['allCtnSelectedFan'] = [this.allCtnSelectedFan, this.validateAllCtnDropDown];\n formObj['ctnSelectedFan'] = [this.ctnSelectedFan, this.validateCtnDropDown];\n }\n });\n\n this.messageForm = this.fb.group(formObj);\n this.getAllFan();\n\n if(this.fanList && this.fanList.length>0){\n this.fanList = this.fanList.filter((value, index, self) =>\n index === self.findIndex((item) => (\n item.name === value.name\n ))\n )\n }\n \n // Validate form on change of radio input\n this.messageForm.controls['accountType'].valueChanges.subscribe((value) => {\n this.messageForm.controls['allCtnSelectedFan'].updateValueAndValidity();\n this.messageForm.controls['ctnSelectedFan'].updateValueAndValidity();\n });\n // }\n \n err => {\n this.showErrorPage();\n };\n //}\n //});\n }\n ngOnInit() {\n this.messageService.createPageLoadProperties('MESSAGE', 'Message');\n }\n\n next() {\n this.adobeAnalyticsService.createAdobeEventProperties('SMS', 'SUCCESS', 'formSubmit',\n 'BC_Device_SMS_Select_Account_Submit', 'success', 'Success_Admit', 'continue', 'Body', '/businessconsole/sendMessage/accounts');\n document.title = this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url];\n const previousSelectedFan = this.savedMessage.selectedFan ? this.savedMessage.selectedFan.fanId : '';\n const previousAccountType = this.savedMessage.accountType;\n this.savedMessage.message = this.messageForm.value.message;\n this.savedMessage.accountType = this.messageForm.value.accountType;\n if (this.savedMessage.accountType !== 'allFans') {\n if (this.showDropdown) {\n this.savedMessage.selectedFan = this.savedMessage.accountType === 'allCTN' ?\n this.allCtnSelectedFan.value : this.ctnSelectedFan.value;\n } else {\n this.savedMessage.selectedFan = this.savedMessage.accountType === 'allCTN' ? this.allCtnSelectedFan : this.ctnSelectedFan;\n }\n }\n if ((this.savedMessage.selectedFan && previousSelectedFan !== this.savedMessage.selectedFan.fanId) ||\n (this.savedMessage.accountType !== previousAccountType)) {\n // reset the ctn list on change\n this.savedMessage.ctnList = undefined;\n }\n this.messageService.setMessageModel(this.savedMessage);\n // Adobe Analytics Success Type Starts\n this.adobeAnalyticsService.createAdobeEventProperties('SMS', 'SUCCESS', 'formResponse',\n 'BC_Device_SMS_Select_Account_Submit', 'success', 'Success_Admit', 'continue', 'Body', '/businessconsole/sendMessage/accounts');\n // Ends\n this.router.navigate(['accounts'], { relativeTo: this.route.parent });\n }\n\n back() {\n this.breadcrumb.removeLastBreadCrumb();\n const currentUrl = this.breadcrumb.getLastUrlFromBreadCrumb().routerLink;\n this.router.navigate([currentUrl]);\n }\n\n getAllFan() {\n this.savedMessage = this.messageService.getMessageModel();\n\n if (!this.savedMessage.fanList.length) {\n const demoCompany = sessionStorage.getItem('democompany');\n const companyId = demoCompany ? parseInt(demoCompany) : 1;\n\n this.messageService.getFANList(companyId).subscribe(resObj2 => {\n this.savedMessage.fanList = resObj2.revisedFanList.filter(fan => {\n if (fan.accountStatus === 'ACTIVE' && fan.participationDate && new Date(fan.participationDate) < new Date()) {\n return fan;\n }\n });\n if (this.savedMessage.fanList.length) {\n this.messageService.setMessageModel(this.savedMessage);\n this.createFanSelectOption();\n } else {\n this.showErrorPage();\n }\n }, err => {\n this.showErrorPage();\n });\n } else {\n this.createFanSelectOption();\n }\n }\n\n selectFan(dropDownSelect: DropdownModel, accountType) {\n if (accountType === 'allCTN') {\n this.allCtnSelectedFan = dropDownSelect;\n } else if (accountType === 'CTN') {\n this.ctnSelectedFan = dropDownSelect;\n }\n \n }\n\n createDropDownOptions(name, value): DropdownModel {\n const dropDown = {\n 'name': name,\n 'value': value\n };\n return dropDown;\n }\n\n validateAllCtnDropDown = (fc) => {\n this.showError = false;\n this.fanNumber = new FormControl();\n const accountType = this.messageForm ? this.messageForm.controls.accountType.value : '';\n if (accountType === 'allCTN' && !fc.value) {\n return {\n valid: false\n };\n }\n return null;\n }\n\n validateCtnDropDown = (fc) => {\n this.showError = false;\n this.fanNumber = new FormControl();\n const accountType = this.messageForm ? this.messageForm.controls.accountType.value : '';\n if (accountType === 'CTN' && !fc.value) {\n return {\n valid: false\n };\n }\n return null;\n }\n\n createFanSelectOption() {\n this.spinner.setPageLoaderStatus(true);\n this.fanList = new Array();\n const preSelectValue = this.utilities.getSelectedFan();\n this.utilities.setSelectedFan('');\n const selectedFan = this.savedMessage.selectedFan;\n const accountType = this.savedMessage.accountType;\n let dropdown;\n this.showDropdown = this.savedMessage.fanList.length > 15 ? false : true;\n if (selectedFan) {\n if (this.showDropdown) {\n dropdown = this.createDropDownOptions(selectedFan.fanId, selectedFan);\n }\n if (accountType === 'allCTN') {\n this.allCtnSelectedFan = this.showDropdown ? dropdown : selectedFan;\n } else if (accountType === 'CTN') {\n this.ctnSelectedFan = this.showDropdown ? dropdown : selectedFan;\n }\n }\n this.savedMessage.fanList.filter(fan => {\n let dropdownOption;\n if (this.showDropdown) {\n dropdownOption = this.createDropDownOptions(fan.fanId, fan);\n this.fanList.push(dropdownOption);\n }\n if(this.fanList && this.fanList.length>0){\n this.fanList = this.fanList.filter((value, index, self) =>\n index === self.findIndex((item) => (\n item.name === value.name\n ))\n )\n }\n \n if (preSelectValue && preSelectValue === fan.fanId) {\n this.preselectValue = this.showDropdown ? dropdownOption : fan;\n this.allCtnSelectedFan = this.preselectValue;\n this.ctnSelectedFan = this.preselectValue;\n }\n });\n\n // Change the form controls too\n this.messageForm.controls['allCtnSelectedFan'].setValue(this.allCtnSelectedFan);\n this.messageForm.controls['ctnSelectedFan'].setValue(this.ctnSelectedFan);\n\n }\n\n filter(formControl: string, searchString: string) {\n let searchResult;\n this.showError = false;\n this.savedMessage.fanList.forEach(fan => {\n if (fan.fanId === searchString) {\n searchResult = fan;\n }\n });\n if (formControl === 'allCtnSelectedFan') {\n this.allCtnSelectedFan = searchResult;\n } else {\n this.ctnSelectedFan = searchResult;\n }\n if (searchResult) {\n this.messageForm.controls[formControl].setValue(searchResult);\n this.fanNumber = new FormControl();\n } else {\n this.showError = true;\n }\n \n }\n\n edit(formControl: string) {\n this.messageForm.controls[formControl].setValue('');\n }\n\n showErrorPage() {\n this.spinner.setPageLoaderStatus(true);\n this.disableNext = true;\n this.messageService.setPageError(this.pageJson.error);\n }\n}\n","
\n
\n
\n

{{formGroup.heading}}

\n

{{formGroup.description}}

\n
\n \n
\n
\n
\n Select Recipients\n
\n \n
\n \n \n
\n
\n \n \n This is not a valid foundation account\n
\n
\n {{messageForm.controls[formGroup.dropDownFormControlName[inputText.value]].value.fanId}}\n | edit\n
\n
\n
\n
\n
\n
\n
\n
\n \n {{pageJson.cta.back}}\n
\n
\n
","export * from './message-modal.component';\n","import { Component, Input, Output, EventEmitter, ElementRef, OnInit } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { Validators, FormControl, FormGroup } from '@angular/forms';\nimport { Router ,ActivatedRoute} from '@angular/router';\nimport { KEY_CONFIG } from './../../../../lib/ng2-sapmp/src/config/key-config';\nimport { UtilityService } from './../../../../lib/ng2-sapmp/src/providers';\nimport { GridSortService } from './../../../../lib/ng2-sapmp/src/ui-components';\nimport { PageLoaderService } from 'lib/ng2-sapmp/src/ui-components/page-loader';\nimport { SendSMSService } from './../send-sms.service';\nimport { ENV } from 'config';\n\ndeclare var ENV_VAR: any;\n\n@Component({\n selector: 'app-message-modal',\n templateUrl: './message-modal.component.html',\n styleUrls: ['./message-modal.component.scss'],\n providers: [SendSMSService, GridSortService]\n})\n\nexport class MessageModalComponent implements OnInit {\n\n public showError: boolean;\n public focusAbleElements: any;\n public pageJson: any;\n public messageForm: FormGroup;\n\n @Input() triggerElement: any;\n @Input() ctnDetails: any;\n @Output() modalOutput: EventEmitter;\n\n constructor(private pageloaderService: PageLoaderService,\n private util: UtilityService,\n private el: ElementRef,\n private activatedRoute: ActivatedRoute,\n private router:Router,\n private messageService: SendSMSService) {\n this.messageForm = new FormGroup({\n text: new FormControl('', Validators.maxLength(140))\n });\n this.modalOutput = new EventEmitter();\n//messageService.fetchJSON(this.util.getEnvConfig().contentUrl.sendSMS.modal).subscribe(resObj1 => {\n this.pageJson = this.activatedRoute.snapshot.data.pageData.manageInventoryctnInfo.Modal;\n \n }\n ngOnInit() {\n document.body.classList.add('modal-open');\n }\n\n next(messageText, event?) {\n if (!event || event.keyCode === KEY_CONFIG.enter || event.keyCode === KEY_CONFIG.space) {\n if (event) {\n event.preventDefault();\n event.stopPropagation();\n }\n const postBody = {\n message: messageText,\n ctnList: [this.ctnDetails.ctn],\n fanList: [this.ctnDetails.fan],\n accountType: 'ctnInfo'\n };\n const impersonator = JSON.parse(sessionStorage.getItem('impersonator'));\n const isDisabled = impersonator && impersonator.id ? true : false;\n if (isDisabled) {\n (document.getElementById('message-modal-btn')).disabled = true;\n } else {\n this.pageloaderService.setPageLoaderStatus(false);\n this.messageService.postSMS(postBody, this.ctnDetails).subscribe(success => {\n sessionStorage.setItem('smsSent', 'true');\n this.dimissModal(false);\n }, (err) => {\n this.pageloaderService.setPageLoaderStatus(true);\n this.showError = true;\n this.pageJson.cta.next = 'Retry';\n });\n }\n }\n }\n\n dimissModal(value, event?) {\n this.pageloaderService.setPageLoaderStatus(true);\n if (!event || event.keyCode === KEY_CONFIG.enter || event.keyCode === KEY_CONFIG.space) {\n if (event) {\n event.preventDefault();\n event.stopPropagation();\n }\n document.body.classList.remove('modal-open');\n // this.modalOutput.emit(value);\n this.focusAbleElements = undefined;\n if (this.triggerElement) {\n this.triggerElement.focus();\n }\n this.modalOutput.emit(value);\n }\n }\n\n loadFocusTelements() {\n if (!this.focusAbleElements) {\n const focusAbleEls = this.util.getFocusableElements(this.el);\n this.focusAbleElements = Array.prototype.slice.call(focusAbleEls);\n // this.focusabbleElements[0].focus();\n if(document.getElementById('modalHeading') != null){\n document.getElementById('modalHeading').focus();\n } \n }\n }\n\n handleKeydown(event) {\n if (event.keyCode === KEY_CONFIG.escapeKey) {\n this.dimissModal(false);\n return;\n }\n this.util.handleKeyPress(event, this.focusAbleElements);\n }\n\n}\n","
\n {{loadFocusTelements()}}\n
\n

{{pageJson.heading}}

\n
\n
\n \n
\n
\n
\n
\n \n
\n
{{pageJson.error.heading}}{{pageJson.error.subHeading}}
\n
\n

{{pageJson.description}}

\n

{{pageJson.selectedCTN}} {{ctnDetails.ctn}}

\n
\n \n
\n
\n
\n \n {{pageJson.cta.back}}\n
\n
","import { FanModel } from './../../../models/fan/fan.model';\n\nexport class MessageModel {\n message: string;\n accountType: string;\n fanList: Array;\n selectedFan?: FanModel;\n ctnList?: Array;\n\n constructor() {\n this.message = '';\n this.accountType = '';\n this.fanList = new Array();\n }\n}\n\n","export * from './review-message.component';\n","import { Component, ViewEncapsulation, OnInit } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { SendSMSService } from './../send-sms.service';\nimport { StepIndicatorService, AccordionModel, PageLoaderService, BreadCrumbService } from 'lib/ng2-sapmp/src/ui-components';\nimport { UtilityService, AdobeAnalyticsService } from './../../../../lib/ng2-sapmp/src/providers';\nimport { MessageModel } from './../models/smsMessage.model';\nimport { FanModel } from './../../../models/fan/fan.model';\nimport { ENV } from 'config';\n\ndeclare var ENV_VAR: any;\n\n@Component({\n templateUrl: './review-message.component.html',\n styleUrls: ['./review-message.component.scss'],\n providers: [AdobeAnalyticsService],\n encapsulation: ViewEncapsulation.None\n})\n\nexport class ReviewMessageComponent implements OnInit {\n\n public pageJson: any;\n public inputList: Array;\n public selectedList: Array;\n public showError: boolean;\n private savedMessage: MessageModel;\n\n constructor(private messageService: SendSMSService,\n private stepIndicator: StepIndicatorService,\n private utilities: UtilityService,\n private router: Router,\n private route: ActivatedRoute,\n private breadcrumb: BreadCrumbService,\n private spinner: PageLoaderService,\n private adobeAnalyticsService: AdobeAnalyticsService,\n private utilityService: UtilityService) {\n this.savedMessage = this.messageService.getMessageModel();\n let redirect = false;\n if (!this.savedMessage.message.length) {\n this.router.navigate(['accounts'], { relativeTo: this.route.parent });\n return;\n }\n // messageService.getPageJson().subscribe(json => {\n // if (json) {\n this.pageJson = this.route.snapshot.data.pageData.sendMessagemessage;\n this.pageJson = this.pageJson['reviewJson'];\n //this.pageJson = Object.assign({}, json['reviewJson']);\n this.pageJson.messageText = this.savedMessage.message;\n this.pageJson.accountType = this.savedMessage.accountType;\n this.selectedList = [];\n let col;\n if (this.pageJson.accountType === 'allFans') {\n this.inputList = this.savedMessage.fanList;\n this.selectedList = this.messageService.filterSelected(this.inputList);\n col = this.pageJson.fanColumnDefinitions;\n if (this.selectedList.length === 1) {\n this.pageJson.gridHeader = 'Foundation account: ';\n } else {\n this.pageJson.gridHeader = 'Foundation accounts: ';\n }\n } else {\n this.inputList = this.savedMessage.ctnList;\n this.pageJson.fanSelectionStatus = 'Foundation account number: ' + this.savedMessage.selectedFan.fanId;\n if (!this.inputList) {\n redirect = true;\n } else {\n\n if (this.pageJson.accountType === 'allCTN') {\n this.inputList = this.messageService.toggleSelect(this.inputList);\n }\n this.selectedList = this.messageService.filterSelected(this.inputList);\n\n col = this.pageJson.ctnColumnDefinitions;\n this.pageJson.gridHeader = this.pageJson.accountType === 'allCTN' ? (this.selectedList.length === 1) ?\n ('Exclude ' + this.selectedList.length + ' wireless number') : ('Exclude ' + this.selectedList.length + ' wireless numbers') :\n ' wireless numbers selected';\n }\n }\n\n if (this.selectedList.length > 5) {\n this.pageJson.accordion = [this.createAccordionModel()];\n }\n\n if (this.selectedList.length) {\n this.pageJson.gridOptions = this.messageService.createGridOptions(this.selectedList, col, this.pageJson.accountType, 3);\n } else if (this.pageJson.accountType !== 'allCTN') {\n redirect = true;\n }\n if (redirect) {\n this.router.navigate(['accounts'], { relativeTo: this.route.parent });\n } else {\n this.stepIndicator.setCurrentStep('account');\n this.stepIndicator.setCurrentStep('review');\n this.stepIndicator.setVisibility(true);\n }\n //}\n //});\n }\n\n\n ngOnInit() {\n document.title = this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url];\n this.messageService.createPageLoadProperties('REVIEW', 'Review');\n }\n\n next = () => {\n this.adobeAnalyticsService.createAdobeEventProperties('SMS', 'SUCCESS', 'formSubmit',\n 'BC_Device_SMS_Review_Submit', 'success', 'Success_Admit', 'Send message', 'Body', '/businessconsole/manageInventory');\n this.toggleList();\n if (this.pageJson.accountType === 'allFans') {\n this.savedMessage.fanList = this.inputList;\n } else {\n this.savedMessage.ctnList = this.inputList;\n }\n // Update the output Model\n this.messageService.setMessageModel(this.savedMessage);\n const selected = this.savedMessage.selectedFan;\n const postBody = {\n message: this.savedMessage.message,\n fanList: this.savedMessage.accountType !== 'allFans' ? [selected.fanId] :\n this.messageService.extractIds(this.savedMessage.fanList, 'fanId'),\n ctnList: undefined,\n accountType: this.savedMessage.accountType\n };\n if (this.savedMessage.ctnList) {\n postBody.ctnList = this.messageService.extractIds(this.savedMessage.ctnList, 'ctnNumber');\n }\n const impersonator = JSON.parse(sessionStorage.getItem('impersonator'));\n const isDisabled = impersonator && impersonator.id ? true : false;\n if (isDisabled) {\n (document.getElementById('review-message-btn')).disabled = true;\n } else {\n this.spinner.setPageLoaderStatus(false);\n this.messageService.postSMS(postBody).subscribe(success => {\n this.breadcrumb.removeLastBreadCrumb();\n const currentUrl = this.breadcrumb.getLastUrlFromBreadCrumb().routerLink;\n sessionStorage.setItem('smsSent', 'true');\n this.spinner.setPageLoaderStatus(true);\n this.router.navigate([currentUrl]);\n // Start Adobe Analytics Starts\n this.adobeAnalyticsService.createAdobeEventProperties('SMS', 'SUCCESS', 'formResponse',\n 'BC_Device_SMS_Review_Submit', 'success', 'Success_Admit', 'Send message', 'Body', '/businessconsole/manageInventory');\n // Ends\n }, (err) => {\n this.showError = true;\n this.pageJson.cta.next = 'Retry';\n this.toggleList();\n this.spinner.setPageLoaderStatus(true);\n this.messageService.setPageError(this.pageJson.error);\n // Start Adobe Analytics Starts\n this.adobeAnalyticsService.createAdobeEventProperties('SMS', 'FAILURE', 'FormResponse', 'BC_Device_SMS_Review_Submit',\n 'Unable to send sms, please try after some time', 'Failure_user', 'Send message', 'Body', '/businessconsole/sendMessage/review');\n // Ends\n });\n\n }\n }\n\n back(route) {\n this.pageJson.cta.next = 'Send message';\n this.messageService.setPageError('');\n if (this.showError) {\n this.toggleList();\n }\n this.router.navigate([route], { relativeTo: this.route.parent });\n }\n\n createAccordionModel() {\n const accordionModel = new AccordionModel();\n accordionModel.id = 'sendSMS';\n accordionModel.isActive = false;\n if (this.pageJson.accountType === 'allFans') {\n accordionModel.category = this.selectedList.length + ' Foundation account numbers';\n accordionModel.ariaLabel = {\n 'expand': 'Show list of foundation accounts.',\n 'collapse': 'Hide list of foundation accounts.'\n };\n } else {\n accordionModel.category = this.pageJson.accountType === 'allCTN' ? 'Exclude ' + this.selectedList.length + ' wireless numbers' :\n this.selectedList.length + ' wireless numbers selected';\n accordionModel.ariaLabel = {\n 'expand': 'Show list of wireless numbers.',\n 'collapse': 'Hide list of wireless numbers.'\n };\n }\n return accordionModel;\n }\n\n onSelectChange(e: any, accountType: string) {\n const filterBy = accountType === 'allFans' ? 'fanId' : 'ctnNumber';\n this.selectedList = this.messageService.filterSelected(e.griddata);\n let title = this.selectedList.length + (this.pageJson.accountType === 'allFans' ?\n ((this.selectedList.length === 1) ? ' Foundation account numbers' : ' Foundation account numbers' )\n : ((this.selectedList.length === 1) ? 'Wireless number selected' : 'Wireless numbers selected')) ;\n if (this.pageJson.accountType === 'allCTN') {\n title = (this.selectedList.length === 1) ?\n ('Exclude ' + this.selectedList.length + ' wireless number') : ('Exclude ' + this.selectedList.length + ' wireless numbers');\n }\n if (this.pageJson.accordion) {\n this.pageJson.accordion[0].category = title;\n }\n\n this.inputList = this.inputList.filter(item => {\n if (item[filterBy] === e.data[filterBy]) {\n item = e.data;\n }\n return item;\n });\n }\n\n toggleList() {\n if (this.pageJson.accountType === 'allCTN') {\n this.inputList = this.messageService.toggleSelect(this.inputList);\n }\n }\n}\n","
\n

Text message Edit

\n

{{pageJson.messageText}}

\n

{{pageJson.fanSelectionStatus}}

\n
\n

{{pageJson.subHeading}}

\n \n \n \n \n \n \n
\n
\n

1||selectedList.length==0\">{{pageJson.gridHeader.replace(\"<selected>\", selectedList.length)}}

\n

{{pageJson.gridHeader.replace(\"<selected>\", selectedList.length).replace(\"accounts\",\"account\").replace(\"numbers\",\"number\")}}

\n \n \n
\n
\n \n {{pageJson.cta.back}}\n
\n
\n","import { Component, OnInit, OnDestroy } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport {\n BreadCrumbModel, StepIndicatorService, StepIndicatorModel, GridSortService, PageLoaderService,\n MobilePivotModel, BreadCrumbService\n} from 'lib/ng2-sapmp/src/ui-components';\nimport { UtilityService } from './../../../lib/ng2-sapmp/src/providers';\nimport { STEPINDICATORS } from './../../../config';\nimport { SendSMSService } from './send-sms.service';\nimport { ENV, MOBILEPIVOTS } from 'config';\n\ndeclare var ENV_VAR: any;\n\n@Component({\n templateUrl: './send-sms.component.html',\n styleUrls: ['./send-sms.component.scss'],\n providers: [StepIndicatorService, SendSMSService, GridSortService]\n})\n\nexport class SendSMSComponent implements OnInit, OnDestroy {\n public steps: Array;\n public pivots: Array;\n public errorMessage: any;\n private companyId: number;\n currentStep: any;\n constructor(private breadCrumbService: BreadCrumbService,\n private stepIndicator: StepIndicatorService,\n private utilities: UtilityService,\n private messageService: SendSMSService,\n private spinner: PageLoaderService) {\n this.steps = JSON.parse(JSON.stringify(STEPINDICATORS.sendSMS));\n this.errorMessage = {\n 'heading': 'Something went wrong.',\n 'subHeading': 'Please try again',\n 'show': false\n };\n /* messageService.fetchJSON(this.utilities.getEnvConfig().contentUrl.sendSMS.page).subscribe(resObj1 => {\n messageService.setPageJson(resObj1);\n }, err => {\n this.errorMessage.show = true;\n this.spinner.setPageLoaderStatus(true);\n });*/\n this.messageService.getPageError().subscribe(err => {\n if (err.heading) {\n this.errorMessage = Object.assign({ 'show': true }, err);\n } else {\n this.errorMessage.show = false;\n }\n });\n }\n\n ngOnInit() {\n const breadcrumb = new BreadCrumbModel();\n breadcrumb.label = 'Send a text message';\n breadcrumb.routerLink = '/sendMessage';\n const callingPage = this.breadCrumbService.getLastUrlFromBreadCrumb().routerLink;\n const pivots = JSON.parse(JSON.stringify(MOBILEPIVOTS.SMSPAGE));\n this.breadCrumbService.setCurrentBreadCrumb(breadcrumb);\n this.stepIndicator.setCurrentStep('message');\n this.stepIndicator.setVisibility(true);\n if (callingPage === '/deviceInventory') {\n pivots.unshift({ label: 'Device Inventory', routerLink: callingPage });\n } else {\n pivots.unshift({ label: 'Manage Inventory', routerLink: '/manageInventory' });\n }\n this.pivots = pivots;\n this.stepIndicator.getCurrentStep().subscribe(\n (path: string) => {\n this.currentStep = path + ' step';\n });\n }\n\n ngOnDestroy() {\n this.messageService.removeMessageModel();\n }\n\n dismissInfo(){\n this.errorMessage.show = false;\n }\n}\n","
\n

Send a text message

\n
\n
\n \n
\n
\n
\n \n
\n
{{errorMessage.heading}} {{errorMessage.subHeading}}
\n
\n
\n \n
\n
\n
\n
\n","import { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { BehaviorSubject, Observable, Subject } from 'rxjs';\nimport { MessageModel } from './models/smsMessage.model';\nimport { HttpHeaders, HttpResponse } from '@angular/common/http';\nimport { throwError } from 'rxjs';\nimport { UtilityService, HttpClientService, AdobeAnalyticsService } from './../../../lib/ng2-sapmp/src/providers';\nimport { GridOptionsModel, ColumnDefinitionsModel, PaginationsModel, GridSortService } from './../../../lib/ng2-sapmp/src/ui-components';\nimport { ENV, ANALYTICS_CONSTANTS } from 'config';\n\n\ndeclare var ENV_VAR: any;\n\n@Injectable()\nexport class SendSMSService {\n private pageJson: BehaviorSubject = new BehaviorSubject('');\n private pageError: BehaviorSubject = new BehaviorSubject('');\n public obvPageJson: Observable = this.pageJson.asObservable(); // convert to Observable for subscribing\n public obvPageError: Observable = this.pageError.asObservable();\n\n constructor(private utilityService: UtilityService,\n private httpClientService: HttpClientService,\n private gridService: GridSortService,\n private adobeAnalyticsService: AdobeAnalyticsService) {\n }\n\n setPageJson(json) {\n this.pageJson.next(json);\n }\n\n getPageJson(): Observable {\n return this.obvPageJson;\n }\n\n setPageError(err) {\n this.pageError.next(err);\n }\n\n getPageError(): Observable {\n return this.obvPageError;\n }\n\n setMessageModel(message: MessageModel) {\n sessionStorage.setItem('savedMessage', JSON.stringify(message));\n }\n\n getMessageModel() {\n return JSON.parse(sessionStorage.getItem('savedMessage')) || new MessageModel();\n }\n\n removeMessageModel() {\n sessionStorage.removeItem('savedMessage');\n }\n\n createGridOptions(list, columns, accountType, step) {\n const sortBy = accountType === 'allFans' ? 'fanId' : 'ctnNumber';\n const filterSortEnabled = step === 2 ? true : false;\n this.gridService.getSortedData(list, sortBy, 'Asc');\n const gridOption = new GridOptionsModel();\n\n const pages: PaginationsModel = {\n recordsPerPage: 20,\n currentPage: 1,\n totalRecords: list.length,\n isServerSide: false\n };\n\n gridOption.showGrid = accountType === 'allCTN' && step === 2 ? false : true;\n gridOption.enableFiltering = ((list.length > 20 || accountType === 'allCTN') && filterSortEnabled) ? true : false;\n gridOption.columnDefinitions = JSON.parse(JSON.stringify(columns));\n gridOption.enableSorting = filterSortEnabled;\n gridOption.gridData = list;\n gridOption.Paginations = pages;\n gridOption.showPaginationIndex = filterSortEnabled;\n gridOption.searchPlaceHolder = accountType === 'allFans' ? 'Enter full foundation account number' : 'Enter 10-digit number';\n gridOption.searchDescriptions = '';\n gridOption.enableBackLink = filterSortEnabled ? true : false;\n gridOption.backLinkText = accountType === 'allFans' ? 'View all accounts' : 'View all numbers';\n gridOption.emptyMessage = 'No results';\n gridOption.multiSelect = true;\n gridOption.disableGrid = false;\n gridOption.disableRow = false;\n gridOption.disableRowCondition = { field: '', value: '' };\n if (accountType === 'allFans' ? false : true) {\n gridOption.callbacks = {ctnFormatterTemplate: this.ctnFormatterTemplate};\n } else {\n gridOption.callbacks = null;\n }\n gridOption.ctnMask = accountType === 'allFans' ? false : true;\n gridOption.maxLength = accountType !== 'allFans' ? 12 : undefined;\n gridOption.searchType = accountType === 'allFans' ? 'number' : undefined;\n gridOption.ariaLabel = 'Select all foundation account numbers';\n return gridOption;\n }\n\n ctnFormatterTemplate(element, row, field, currentElem, type) {\n const formatctnNumber = row.ctnNumber.replace(/^(\\d{0,3})(\\d{0,3})(.*)/, '$1.$2.$3');\n return `

${formatctnNumber}

`;\n }\n\n filterSelected(list) {\n return list.filter(item => {\n if (item.selected) {\n return item;\n }\n });\n }\n\n toggleSelect(list) {\n return list.filter(item => {\n item.selected = !item.selected;\n return item;\n });\n }\n\n get_headers() {\n let headers = new HttpHeaders();\n headers = headers.append('Authorization', sessionStorage.getItem('sapmp_jwtToken'));\n return headers;\n }\n\n fetchJSON(dataurl) {\n return this.httpClientService.get(dataurl, this.get_headers())\n .pipe(\n map((res: HttpResponse) => {\n if (sessionStorage.getItem('sapmp_jwtToken') != null) {\n // refreshes token for logged in scenario upon page load\n this.httpClientService.tokenRefresh(this.utilityService.getEnvConfig().tokenRefresh);\n }\n return res.body;\n })\n ,catchError( this.handleError ));\n }\n\n getFANList(companyid) {\n let fanUrl;\n if (this.utilityService.getEnvConfig().useMock) {\n // Added for demo purpose\n const mockUrl = parseInt(sessionStorage.getItem('fanLength')) > 15 ? 'sendSMSFanList' : 'abridgedList';\n fanUrl = this.utilityService.getEnvConfig()[mockUrl];\n } else {\n fanUrl = this.utilityService.getEnvConfig().getFANList;\n }\n return this.httpClientService.get(fanUrl, this.getHeaders())\n .pipe(\n map((res: HttpResponse) => {\n if (sessionStorage.getItem('sapmp_jwtToken') != null) {\n // refreshes token for logged in scenario upon page load\n this.httpClientService.tokenRefresh(this.utilityService.getEnvConfig().tokenRefresh);\n }\n return res.body;\n }));\n }\n\n getCtnList(fanId) {\n let url;\n // let payload = {\n // \"fan\": fanId,\n // };\n if (this.utilityService.getEnvConfig().useMock) {\n url = this.utilityService.getEnvConfig().sendSmsMockJson;\n } else {\n \n url = this.utilityService.getEnvConfig().getProfileStatusUrl + '?fan=' + fanId;\n // url = this.utilityService.getEnvConfig().getProfileStatusUrl;\n }\n return this.httpClientService.get(url, this.getHeaders())\n .pipe(\n map((res: HttpResponse) => {\n if (sessionStorage.getItem('sapmp_jwtToken') != null) {\n // refreshes token for logged in scenario upon page load\n this.httpClientService.tokenRefresh(this.utilityService.getEnvConfig().tokenRefresh);\n }\n return res.body;\n }));\n }\n\n getHeaders() {\n let headers = new HttpHeaders();\n headers = headers.append('Authorization', sessionStorage.getItem('sapmp_jwtToken'));\n return headers;\n }\n\n postSMS(message, ctnDetails?) {\n if (this.utilityService.getEnvConfig().useMock) {\n return Observable.create(function (observer) {\n observer.next(1);\n observer.complete();\n });\n } else {\n const url = this.utilityService.getEnvConfig().sendSMSUrl;\n let headers = new HttpHeaders();\n headers = headers.append('Authorization', sessionStorage.getItem('sapmp_jwtToken'));\n if (ctnDetails !== undefined) {\n headers = headers.append('ban', ctnDetails.ban);\n headers = headers.append('imei', ctnDetails.deviceInfo.imei);\n }\n return this.httpClientService.post(url, message, headers)\n .pipe(\n map((res: HttpResponse) => {\n if (sessionStorage.getItem('sapmp_jwtToken') != null) {\n // refreshes token for logged in scenario upon page load\n this.httpClientService.tokenRefresh(this.utilityService.getEnvConfig().tokenRefresh);\n }\n return res.body;\n }));\n }\n }\n\n handleError(error) {\n return throwError(error);\n }\n\n extractIds(list, field) {\n const idArray = [];\n list.filter(item => {\n if (item.selected) {\n idArray.push(item[field]);\n }\n });\n return idArray;\n }\n\n computeLength(text: string) {\n return text.replace(/(\\r\\n|\\r|\\n)/g, '').length;\n }\n createPageLoadProperties(url, section2) {\n const dataLayer = {};\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FRIENDLY_PAGE_NAME] = ANALYTICS_CONSTANTS['FRIENDLY_NAME_SMS_' + url];\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FLOW_CODE] = ANALYTICS_CONSTANTS.FLOW_CODE_SMS;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_REPRESENTATIVE_IPADDR] = ANALYTICS_CONSTANTS.GLOBAL_USER_REPRESENTATIVE_IPADDR;\n // dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_LANGUAGE] = 'EN';\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_PAGE_FUNCTION] = 'Service';\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_SITE_SECTION1] = section2;\n if (sessionStorage.getItem('sapmp_jwtToken') != null) {\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_LOGIN_SOURCE] = 'shoplogin';\n\n }\n this.adobeAnalyticsService.tag('page', dataLayer, 'Page_Load', 'pageLoad');\n }\n\n getGroupDevicesData(fan: any, sessionId: any){\n let url = this.utilityService.getEnvConfig().getGroupDevices+'?fan='+ fan + '&sessionId='+sessionId;\n return this.httpClientService.authorizedGet(url)\n .pipe(\n map((res: HttpResponse) => {\n if (sessionStorage.getItem('sapmp_jwtToken') != null) {\n // refreshes token for logged in scenario upon page load\n this.httpClientService.tokenRefresh(this.utilityService.getEnvConfig().tokenRefresh);\n }\n \n return res.body;\n }), \n catchError(this.handleError));\n }\n}\n","import { Component, OnInit } from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { UtilityService } from 'lib/ng2-sapmp/src/providers';\nimport { StepIndicatorService, GridOptionsModel } from 'lib/ng2-sapmp/src/ui-components';\nimport { SignUpFiveGService } from '../shared/signup-fiveg.service';\n\n@Component({\n selector: 'app-confirm',\n templateUrl: './confirm.component.html',\n styleUrls: ['./confirm.component.scss'],\n providers: [SignUpFiveGService]\n})\nexport class ConfirmFivegComponent implements OnInit {\n enrolledData: any;\n isGroupBased: any;\n uploadedFileName: any = '';\n confirmAccounts: any;\n gridOptions: GridOptionsModel;\n\n constructor(private route: ActivatedRoute, public utilityService: UtilityService, private stepIndicatorService: StepIndicatorService, private router: Router, private signupFivegService: SignUpFiveGService) { \n const signUpData = this.signupFivegService.getSignupData();\n if(!signUpData) {\n this.router.navigate(['/fiveg/enrollment/selectaccounts']);\n }\n }\n\n ngOnInit() {\n document.title = this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url];\n this.stepIndicatorService.setCurrentStep(this.route.snapshot.url[0].path);\n this.stepIndicatorService.setVisibility(true);\n this.confirmAccounts = this.route.snapshot.data.pageData.fivegenrollmentconfirm;\n this.enrolledData = JSON.parse(sessionStorage.getItem('newFivegEnrollment'));\n // if(this.enrolledData.serviceRequested == \"Account-Based\") {\n // this.isGroupBased = false;\n // }\n // else {\n // this.isGroupBased = true;\n // }\n // this.uploadedFileName = sessionStorage.getItem('uploadedFile');\n sessionStorage.removeItem('newFivegEnrollment');\n // sessionStorage.removeItem('uploadedFile');\n let fansList = Object.keys(this.enrolledData.fanList);\n fansList.sort();\n this.confirmAccounts.grid.gridData = fansList;\n this.gridOptions = this.confirmAccounts.grid;\n this.gridOptions.gridData = this.confirmAccounts.grid.gridData;\n this.gridOptions.Paginations.totalRecords = this.gridOptions.gridData.length;\n }\n\n gotoDashboard() {\n this.router.navigate(['/dashboard/dep']);\n }\n}\n","
\n
\n
\n \"success\"\n
\n
\n

{{confirmAccounts.successMessage}}

\n

{{confirmAccounts.successDescription}}

\n
\n \n
\n
\n

{{confirmAccounts.enrollmentDetailsHeading}}


\n
\n
\n
\n \n \n
  • {{row}}
  • \n
    \n
    \n
    \n
    \n

    Private Routing Offer Type

    \n
      \n
    • {{offer}}
    • \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    {{confirmAccounts.contactHeading}}

    \n

    {{confirmAccounts.phoneNumberLabel}} {{enrolledData.customerPhoneNumber}}

    \n

    {{confirmAccounts.preferredEmail}} {{enrolledData.emailAddress}}

    \n

    {{confirmAccounts.preferredContactName}} {{enrolledData.customerName}}

    \n

    {{confirmAccounts.preferredContactNumber}} {{enrolledData.alternateCustomerPhoneNumber}}

    \n

    {{confirmAccounts.preferredTimeToContact}} {{enrolledData.bestTimeToContact}}

    \n
    \n
    \n
    \n
    \n \n

    \n
    ","import { Component, OnInit, ViewChild, ElementRef } from '@angular/core';\nimport { UtilityService } from 'lib/ng2-sapmp/src/providers/utility.service';\nimport { BreadCrumbService, StepIndicatorModel, StepIndicatorService, GridOptionsModel } from 'lib/ng2-sapmp/src/ui-components';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { sample } from 'rxjs/operators';\nimport { KEY_CONFIG } from 'lib/ng2-sapmp/src/config/key-config';\nimport { FormControl, FormGroup } from '@angular/forms';\nimport * as XLSX from 'xlsx';\nimport { CareComponentService } from 'app/pages/care/shared/providers/care.service';\n\n@Component({\n selector: 'app-enrollment-options',\n templateUrl: './enrollment-options.component.html',\n styleUrls: ['./enrollment-options.component.scss'],\n providers: [CareComponentService]\n})\nexport class EnrollmentOptionsComponent implements OnInit {\n\n @ViewChild('fileInput') fileInput: ElementRef;\n uploadFileName: any;\n uploadedFile: any;\n fileNameStatus: boolean = false;\n stepIndicator: StepIndicatorModel[];\n gridOptions: GridOptionsModel;\n selectAccounts: any;\n efotaNotEnrolledFans = [];\n isFanSelected = false;\n selectedFanList = [];\n userEnrollmentType: string;\n userEnrollmentTypes = [];\n userData: any;\n userPhoneNumber: any;\n userEmail: any;\n stateValues = [];\n timeZoneValues = [];\n timeOfDay = [{\"name\":\"Morning\",\"value\":\"Morning\"},{\"name\":\"Afternoon\",\"value\":\"Afternoon\"}];\n notificationType: any = '';\n @ViewChild('emailNotification') emailNotification: ElementRef;\n @ViewChild('textMessageNotification') textMessageNotification: ElementRef;\n showUpload = false;\n showAvailableTime = false;\n contactName: any = '';\n stateName: any = '';\n timeZoneName: any = {\n \"name\" : \"\",\n \"value\" : \"\"\n };\n contactNumber: any = '';\n isContactNameInvalid = false;\n isCsvFileEmpty = false;\n isCtnNumberInvalid = false;\n isImeiNumberInvalid = false;\n isCtnOnlyPresent = false;\n isImeiOnlyPresent = false;\n isCtnAndImeiInvalid = false;\n isFileSizeInvalid = false;\n isFileExtInvalid = false;\n isCtnNotInFirstTwoColumns = false;\n banNumber: any;\n isBanNumberInvalid = false;\n selectedFan: any;\n isDisabled = false;\n isBanNumberEmpty = true;\n dayTimeSlot: any;\n dayTimeSlotName: any = {\n \"name\" : \"\",\n \"value\" : \"\"\n };\n ctnNumbersStatus = false;\n userEnrollmentTypeStatus = false;\n isContactNumberInvalid = false;\n isContactNumberEmpty = true;\n isContactNameEmpty = true;\n companyName: any = '';\n environmentPortal: any = '';\n ctnList = [];\n isFansZero = false;\n enrolledData: any;\n ctnRegex = new RegExp(\"^[2-9][0-9]{9}$\");\n imeiRegex = new RegExp(\"^[0-9]{15}$|^[0-9]{16}$\");\n spaceRegex = new RegExp(\"^[ ]+$\");\n uploadFinalStatus = false;\n staticTCUrl : any;\n\n form = new FormGroup({\n billingAccount: new FormControl(),\n contactName1: new FormControl(),\n contactNumber1: new FormControl(),\n timePeriod: new FormControl(),\n zipCode: new FormControl()\n })\n banNumberRegex = new RegExp(\"^[0-9]{8}$|^[0-9]{9}$|^[0-9]{12}$|^[0-9]{13}$\");\n contactNameRegex = new RegExp(\"^[a-zA-Z\\- ]+$\");\n contactNumberRegex = new RegExp(\"^[0-9]+$\");\n uploadedFileName: any;\n isFirstnetCustomer: boolean = false;\n\n constructor(private utilityService: UtilityService, private careService: CareComponentService, private breadCrumbService: BreadCrumbService, private router: Router, private stepIndicatorService: StepIndicatorService,\n private route: ActivatedRoute) {\n if (sessionStorage.getItem('SAPMP_ENV_PORTAL') == \"fnabc\") {\n this.isFirstnetCustomer = true;\n }\n else {\n this.isFirstnetCustomer = false;\n }\n }\n\n ngOnInit() {\n document.title = this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url];\n this.breadCrumbService.removeLastBreadCrumb();\n this.breadCrumbService.setCurrentBreadCrumb({ label: 'Product Info Request', routerLink: '/fiveg/enrollment' });\n this.selectAccounts = this.route.snapshot.data.pageData.fivegenrollmentselectaccounts;\n this.efotaNotEnrolledFans = [];\n this.efotaNotEnrolledFans = JSON.parse(sessionStorage.getItem('efotaNotEnrolledFanList'));\n this.userData = JSON.parse(sessionStorage.getItem('user'));\n this.userData = this.userData.user;\n this.isFansZero = (this.userData.fanList.length == 0) ? true : false;\n this.userPhoneNumber = this.userData.contactPhoneNumber;\n this.userEmail = this.userData.emailAddress;\n this.selectedFanList.length = 0;\n this.userEnrollmentTypes.length = 0;\n this.isContactNumberInvalid = false;\n this.isContactNameInvalid = false;\n this.isContactNumberEmpty = true;\n this.isContactNameEmpty = true;\n for (let i = 0; i < this.selectAccounts.states.length; i++) {\n this.stateValues.push(this.selectAccounts.states[i]);\n }\n for (let i = 0; i < this.selectAccounts.timeZones.length; i++) {\n this.timeZoneValues.push(this.selectAccounts.timeZones[i]);\n }\n this.userData.fanList.sort();\n this.selectAccounts.grid.gridData = this.userData.fanList;\n this.gridOptions = this.selectAccounts.grid;\n this.gridOptions.gridData = this.selectAccounts.grid.gridData;\n this.gridOptions.Paginations.totalRecords = this.gridOptions.gridData.length;\n this.stepIndicatorService.setCurrentStep(this.route.snapshot.url[0].path);\n this.stepIndicatorService.setVisibility(true);\n if (sessionStorage.getItem('SAPMP_ENV_PORTAL') === \"myatt\") {\n this.environmentPortal = \"MyATT-ABC\";\n }\n else if (sessionStorage.getItem('SAPMP_ENV_PORTAL') === \"fnabc\") {\n this.environmentPortal = \"FirstNet-ABC\";\n }\n else {\n this.environmentPortal = \"Premier-ABC\";\n }\n this.enrolledData = [];\n this.enrolledData = JSON.parse(sessionStorage.getItem('newFivegEnrollment'));\n if (this.enrolledData) {\n this.contactName = this.enrolledData.customerName;\n if(this.contactName.length > 0) {\n this.isContactNameEmpty = false;\n this.isContactNameInvalid = false;\n }\n this.contactNumber = this.enrolledData.alternateCustomerPhoneNumber;\n if(this.contactNumber.length > 0) {\n this.isContactNumberEmpty = false;\n this.isContactNumberInvalid = false;\n }\n if (this.enrolledData.bestTimeToContact != \"Not Specified\") {\n this.showAvailableTime = true;\n let timeArr = this.enrolledData.bestTimeToContact.split(\",\");\n this.timeZoneName = {\n \"name\": timeArr[0],\n \"value\": timeArr[0]\n };\n this.dayTimeSlotName = {\n \"name\": timeArr[1],\n \"value\": timeArr[1]\n };\n }\n else {\n this.showAvailableTime = false;\n }\n this.selectedFanList = Object.keys(this.enrolledData.fanList);\n this.userEnrollmentTypes = this.enrolledData.serviceRequested;\n }\n this.staticTCUrl = this.selectAccounts.termsAndConditionsURL;\n }\n\n checkBanFormat() {\n if (this.banNumberRegex.test(this.banNumber)) {\n this.isBanNumberInvalid = false;\n this.isBanNumberEmpty = false;\n }\n else if (this.banNumber == \"\") {\n this.isBanNumberInvalid = false;\n this.isBanNumberEmpty = true;\n }\n else {\n this.isBanNumberInvalid = true;\n this.isBanNumberEmpty = false;\n }\n }\n\n checkContactNameFormat() {\n if (this.contactNameRegex.test(this.contactName)) {\n this.isContactNameInvalid = false;\n this.isContactNameEmpty = false;\n }\n else if (this.contactName == \"\") {\n this.isContactNameInvalid = false;\n this.isContactNameEmpty = true;\n }\n else {\n this.isContactNameInvalid = true;\n this.isContactNameEmpty = false;\n }\n }\n\n checkContactNumberFormat() {\n if (this.contactNumber.length == 12) {\n this.isContactNumberInvalid = false;\n this.isContactNumberEmpty = false;\n }\n else if (this.contactNumber == \"\") {\n this.isContactNumberInvalid = false;\n this.isContactNumberEmpty = true;\n }\n else {\n this.isContactNumberInvalid = true;\n this.isContactNumberEmpty = false;\n }\n }\n\n\n\n toggleTooltipEnter(event) {\n if (event.type !== 'mouseenter') {\n if (event.keyCode !== KEY_CONFIG.enter) {\n return;\n }\n }\n let targetElement = event.target;\n const elems = document.querySelectorAll('.tooltipActive');\n let iselementActive = false;\n if (targetElement.classList.contains('tooltipActive')) {\n iselementActive = true;\n }\n [].forEach.call(elems, function (ele) {\n ele.classList.remove('tooltipActive');\n });\n if (iselementActive) {\n targetElement.classList.remove('tooltipActive');\n } else {\n targetElement.classList.add('tooltipActive');\n }\n }\n\n toggleTooltipLeave(event) {\n if (event.type !== 'mouseleave') {\n if (event.keyCode !== KEY_CONFIG.enter) {\n return;\n }\n }\n let targetElement = event.target;\n const elems = document.querySelectorAll('.tooltipActive');\n let iselementActive = false;\n if (targetElement.classList.contains('tooltipActive')) {\n iselementActive = true;\n }\n [].forEach.call(elems, function (ele) {\n ele.classList.remove('tooltipActive');\n });\n if (iselementActive) {\n targetElement.classList.remove('tooltipActive');\n } else {\n targetElement.classList.add('tooltipActive');\n }\n }\n\n setOption(option) {\n if(this.userEnrollmentTypes.includes(option)) {\n this.userEnrollmentTypes = this.userEnrollmentTypes.filter(str => str !== option);\n }\n else {\n this.userEnrollmentTypes.push(option);\n }\n console.log(this.userEnrollmentTypes);\n }\n\n resetValue() {\n this.fileInput.nativeElement.value = \"\";\n return true;\n }\n\n ngDoCheck() {\n if (this.selectedFanList.length > 0 && this.userEnrollmentTypes.length > 0 && !this.isContactNameInvalid && !this.isContactNameEmpty && !this.isContactNumberInvalid && !this.isContactNumberEmpty\n && (this.timeZoneName.value.length > 0 && this.dayTimeSlot && typeof this.dayTimeSlot !== \"undefined\")) {\n this.isDisabled = false;\n }\n else {\n this.isDisabled = true;\n }\n }\n\n onRowClick(event) {\n this.selectedFan = event;\n if(this.selectedFanList.includes(event)) {\n this.selectedFanList = this.selectedFanList.filter(str => str !== event);\n }\n else {\n this.selectedFanList.push(event);\n }\n console.log(this.selectedFanList);\n }\n\n selectState(event) {\n this.stateName = event;\n }\n\n selectTimeZone(event) {\n this.timeZoneName = event;\n this.showAvailableTime = true;\n }\n\n\n selectTimeDay(event) {\n this.dayTimeSlotName = event;\n this.dayTimeSlot = event.value;\n\n }\n\n\n setNotification(event) {\n if (this.emailNotification.nativeElement.checked == true && this.textMessageNotification.nativeElement.checked == true) {\n this.notificationType = \"Both\";\n }\n else if (this.emailNotification.nativeElement.checked == true && this.textMessageNotification.nativeElement.checked == false) {\n this.notificationType = \"Email\";\n }\n else if (this.emailNotification.nativeElement.checked == false && this.textMessageNotification.nativeElement.checked == true) {\n this.notificationType = \"TextMessage\";\n }\n else {\n this.notificationType = \"\";\n }\n }\n\n continueToNext() {\n this.contactNumber = this.contactNumber.replaceAll(\".\",\"\");\n let selectedFanNameList = {};\n for(let i=0 ; i 0 && !this.dayTimeSlot) {\n timePeriodValue = this.timeZoneName.value;\n }\n else if (this.timeZoneName.value.length == 0 && this.dayTimeSlot) {\n timePeriodValue = this.dayTimeSlot;\n }\n else {\n timePeriodValue = this.timeZoneName.value + ',' + this.dayTimeSlot;\n }\n let data =\n {\n \"customerName\": this.contactName,\n \"customerPhoneNumber\": this.userPhoneNumber,\n \"alternateCustomerPhoneNumber\": this.contactNumber,\n \"emailAddress\": this.userEmail,\n \"bestTimeToContact\": timePeriodValue,\n \"fanList\": selectedFanNameList,\n \"serviceRequested\": this.userEnrollmentTypes,\n \"requestorName\": this.userData.firstName + \" \" + this.userData.lastName,\n \"requestorPhoneNumber\": this.userPhoneNumber\n }\n sessionStorage.setItem('newFivegEnrollment', JSON.stringify(data));\n this.router.navigate(['fiveg/enrollment/review']);\n }\n\n gotoLearn() {\n sessionStorage.setItem('backToLearn', 'true');\n this.router.navigate(['learn/efota']); \n }\n\n}\n","
    \n
    \n \n
    \n
    \n

    Error

    \n

    {{selectAccounts.firstNetErrorMessagefirstPart}} here {{selectAccounts.firstNetErrorMessageSecondPart}}

    \n

    {{selectAccounts.errorMessage}}

    \n
    \n
    \n
    \n
    \n \n

    {{selectAccounts.heading}}


    \n

    {{selectAccounts.subHeading}}

    \n
    \n \n \n \n \n \n
    \n \n
    \n

    {{selectAccounts.enrollmentTypeHeading}}

    \n

    {{selectAccounts.enrollmentTypeDescription}}

    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n \n
    \n
    \n \n 
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n

    \n \n
    \n

    {{selectAccounts.contactHeading}}

    \n

    {{selectAccounts.phoneNumber}} {{userPhoneNumber}}

    \n

    {{selectAccounts.email}} {{userEmail}}

    \n \n
    \n \n
    \n
    \n
    {{selectAccounts.preferredContactNameErrorMessage}}
    \n
    \n

    \n
    \n \n
    \n \n
    \n
    \n
    {{selectAccounts.preferredContactNumberErrorMessage}}
    \n
    \n

    \n
    \n \n
    \n \n \n
    \n \n \n
    \n

    \n
    \n

    {{selectAccounts.legalAgreements}}

    \n

    Use of AT&T’s Device Management ProgramTM is subject to the\n Terms of Use for AT&T’s Device Management Program.

    \n
    \n
    \n {{selectAccounts.cancel}}\n
    \n
    \n
    ","import { Component, OnInit, ViewChild, ElementRef } from '@angular/core';\nimport { SignUpFiveGService } from '../shared/signup-fiveg.service';\nimport { StepIndicatorService, BreadCrumbService, PageLoaderService, GridOptionsModel } from 'lib/ng2-sapmp/src/ui-components';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { UtilityService } from 'lib/ng2-sapmp/src/providers';\n\n@Component({\n selector: 'app-review',\n templateUrl: './review.component.html',\n styleUrls: ['./review.component.scss'],\n providers: [SignUpFiveGService]\n})\nexport class ReviewFivegComponent implements OnInit {\n\n enrolledData: any;\n @ViewChild('confirm') confirm : ElementRef;\n isDisabled: boolean = true;\n reviewAccounts: any;\n showErrors = false;\n gridOptions: GridOptionsModel;\n\n constructor(private pageLoaderService: PageLoaderService ,private router: Router,private breadCrumbService: BreadCrumbService, private utilityService: UtilityService,private signupFivegService: SignUpFiveGService, private stepIndicatorService: StepIndicatorService, private route: ActivatedRoute) {\n const signUpData = this.signupFivegService.getSignupData();\n if(!signUpData) {\n this.router.navigate(['/fiveg/enrollment']);\n }\n }\n\n ngOnInit() {\n document.title = this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url];\n // this.breadCrumbService.setCurrentBreadCrumb({ label: 'Device enrollment', routerLink: '/fiveg/enrollment/selectaccounts' });\n this.stepIndicatorService.setCurrentStep(this.route.snapshot.url[0].path);\n this.stepIndicatorService.setVisibility(true);\n this.showErrors = false;\n this.reviewAccounts = this.route.snapshot.data.pageData.fivegenrollmentreview;\n this.enrolledData = JSON.parse(sessionStorage.getItem('newFivegEnrollment'));\n let fansList = Object.keys(this.enrolledData.fanList);\n fansList.sort();\n this.reviewAccounts.grid.gridData = fansList;\n this.gridOptions = this.reviewAccounts.grid;\n this.gridOptions.gridData = this.reviewAccounts.grid.gridData;\n this.gridOptions.Paginations.totalRecords = this.gridOptions.gridData.length;\n this.isDisabled = true;\n }\n\n enableSubmit() {\n if(this.confirm.nativeElement.checked == true) {\n this.isDisabled = false;\n }\n else {\n this.isDisabled = true;\n }\n}\n\n continueToNext() {\n let data = sessionStorage.getItem('newFivegEnrollment');\n this.pageLoaderService.setPageLoaderStatus(false);\n this.signupFivegService.sendEmail(data)\n .subscribe(respobj => {\n this.pageLoaderService.setPageLoaderStatus(true);\n this.showErrors = false;\n this.router.navigate(['/fiveg/enrollment/confirm']);\n },\n error => {\n this.pageLoaderService.setPageLoaderStatus(true);\n this.handleError(error);\n })\n }\n\n handleError(error) {\n if (error) {\n this.utilityService.loadFocusOnTop();\n this.showErrors = true;\n }\n }\n\n\n}\n","
    \n
    \n \n
    \n
    \n

    Error

    \n

    Something went wrong. Please try again.

    \n
    \n
    \n
    \n
    \n
    \n

    {{reviewAccounts.reviewHeading}}

    \n
    \n
    \n \n
    \n \n \n
  • {{row}}
  • \n
    \n
    \n
    \n
    \n

    Private Routing Offer Type

    \n
      \n
    • {{offer}}
    • \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    {{reviewAccounts.contactHeading}}

    \n

    {{reviewAccounts.phoneNumberLabel}}\n {{enrolledData.customerPhoneNumber}}

    \n

    {{reviewAccounts.preferredEmail}}\n {{enrolledData.emailAddress}}

    \n

    {{reviewAccounts.preferredContactName}}\n {{enrolledData.customerName}}

    \n

    {{reviewAccounts.preferredContactNumber}}\n {{enrolledData.alternateCustomerPhoneNumber}}

    \n

    {{reviewAccounts.preferredTimeToContact}} {{enrolledData.bestTimeToContact}}\n

    \n \n \n
    \n
    \n \n
    \n
    \n

    {{reviewAccounts.acknowledgement}}

    \n

    {{reviewAccounts.acknowledgementDescription}}

    \n
    \n \n
    \n
    \n

    \n
    \n \n {{reviewAccounts.cancel}}\n

    \n
    ","import { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { DatePipe } from '@angular/common';\nimport { throwError, Observable } from 'rxjs';\n\n\n\nimport { HttpClient, HttpResponse, HttpHeaders } from '@angular/common/http';\nimport { HttpClientService, AuthenticationService, UtilityService } from 'lib/ng2-sapmp/src/providers';\nimport { GridOptionsModel } from 'lib/ng2-sapmp/src/ui-components/custom-grid';\nimport { FanListModel } from 'lib/ng2-sapmp/src/models/user';\nimport { ActivatedRoute, Router } from '@angular/router';\n\n@Injectable()\n\nexport class SignUpFiveGService {\n \n\n constructor(private http: HttpClient,\n private httpClientService: HttpClientService,\n private utilityService: UtilityService,\n private authenticationService: AuthenticationService,\n private route: ActivatedRoute,\n private router: Router\n ) { }\n\n getSignupData() {\n if(sessionStorage.getItem('newFivegEnrollment')) {\n return true;\n }\n else {\n return false;\n }\n }\n\n sendEmail(data) {\n return this.httpClientService.authorizedPost(this.utilityService.getEnvConfig().fivegEnrollmentUrl, data).pipe(\n map((res: HttpResponse) => {\n return res.body;\n }), catchError(this.handleError));\n }\n\n handleError = (error) => {\n return throwError(error);\n }\n \n}\n","import { Component, OnInit } from '@angular/core';\nimport { StepIndicatorModel, BreadCrumbService, StepIndicatorService } from 'lib/ng2-sapmp/src/ui-components';\nimport { STEPINDICATORS } from 'config';\n\n@Component({\n selector: 'app-signup-fiveg',\n templateUrl: './signup-fiveg.component.html',\n styleUrls: ['./signup-fiveg.component.scss'],\n providers: [StepIndicatorService]\n})\nexport class SignupFivegComponent implements OnInit {\n\n stepIndicators: StepIndicatorModel[];\n displayFlag: boolean;\n currentStep: any;\n sessionName: string;\n\n\n constructor(private breadCrumbService: BreadCrumbService, private stepIndicatorService: StepIndicatorService) {\n sessionStorage.removeItem('steps-fiveGEnrollment');\n sessionStorage.removeItem('newFivegEnrollment');\n // sessionStorage.removeItem('uploadedFile');\n }\n\n ngOnInit() {\n this.breadCrumbService.setCurrentBreadCrumb({ label: 'Device Enrollment', routerLink: '/5g/enrollment' });\n this.sessionName = 'fiveGEnrollment';\n this.stepIndicators = STEPINDICATORS.fiveGEnrollment;\n if (this.stepIndicatorService.getSteps(this.sessionName) === null) {\n this.stepIndicatorService.setSteps(this.stepIndicators, this.sessionName);\n }\n this.stepIndicators = this.stepIndicatorService.getSteps(this.sessionName);\n this.stepIndicatorService.getVisibility().subscribe(\n (status: boolean) => {\n this.displayFlag = status;\n }\n );\n\n this.stepIndicatorService.getCurrentStep().subscribe(\n (path: string) => {\n this.currentStep = path +' step';\n });\n }\n\n}\n","
    \n
    \n

    Private Routing

    \n
    \n \n
    \n
    \n \n
    \n
    \n \n
    ","import { Component, OnInit } from '@angular/core';\nimport { StepIndicatorService } from 'lib/ng2-sapmp/src/ui-components';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { SignupSetupService } from '../shared/providers/signup-setup.service';\nimport { AdobeAnalyticsService, UtilityService } from 'lib/ng2-sapmp/src/providers'; //Added for accessories button\n\ndeclare var ENV_PORTAL:any;//Added for accessories button\n\n@Component({\n selector: 'app-confirm-signup-setup',\n templateUrl: './confirm-signup-setup.component.html',\n styleUrls: ['./confirm-signup-setup.component.scss'],\n providers: [SignupSetupService,\n AdobeAnalyticsService//Added for accessories button\n ]\n})\nexport class ConfirmSignupSetupComponent implements OnInit {\n \n confirmAccounts: any;\n enrolledData: any;\n prodcode: string;\n abm: boolean = false;\n ztp: boolean = false;\n kme: boolean = false;\n toggleTooltip;\n signedupData: any;\n fanListData: any;\n availableFansFlag: boolean = false;\n isABMFE: boolean = false;\n public isPremier: boolean = false;//Added for accessories button\n // public selectedFAN:any;\n // ddo: any;\n\n constructor(private route: ActivatedRoute, private stepIndicatorService: StepIndicatorService, \n private router: Router, private signupSetupService: SignupSetupService,\n private adobeAnalyticsService: AdobeAnalyticsService, private utilityService:UtilityService) { //Added for accessories button\n \n }\n\n ngOnInit() {\n this.stepIndicatorService.setCurrentStep(this.route.snapshot.url[0].path);\n this.stepIndicatorService.setVisibility(true);\n this.prodcode = sessionStorage.getItem('prodcode');\n if (this.prodcode === 'Apple Business Manager') {\n this.abm = true;\n } else if (this.prodcode === 'Samsung Knox Mobile Enrollment (KME)') {\n this.kme = true;\n } else {\n this.ztp = true;\n }\n this.confirmAccounts = this.route.snapshot.data.pageData.signupsetupconfirm;\n this.signedupData = JSON.parse(sessionStorage.getItem('signedupData'));\n this.enrolledData = JSON.parse(sessionStorage.getItem('enrolledFans'));\n this.fanListData = JSON.parse(sessionStorage.getItem('signupFanList'));\n this.availableFansFlag = JSON.parse(sessionStorage.getItem('availableFansFlag'));\n if(sessionStorage.getItem('feFlag') == \"true\"){\n this.enrolledData.emmAccountId = \"Pending\"; \n this.isABMFE = true; \n }else{\n this.isABMFE = false;\n }\n \n sessionStorage.setItem('feFlag', 'false');\n // Added for accessories button\n if (ENV_PORTAL==='sapmp'||ENV_PORTAL==='dmpadmin')\n {\n this.isPremier=true;\n } \n }\n\n gotoDashboard() {\n sessionStorage.setItem('cacheFlag', 'true');\n sessionStorage.setItem('feFlag', 'false');\n this.router.navigate(['/dashboard']);\n }\n\n gotoProdSel() {\n //sessionStorage.setItem('cacheFlag', 'true');\n sessionStorage.setItem('selectedProd', 'applebusinessmanager');\n sessionStorage.setItem('reenrollappleflag', 'true');\n sessionStorage.setItem('feFlag', 'false');\n this.router.navigate(['/productselection']);\n }\n //Added for accessories button\n gotoAccesories() {\n let url= this.utilityService.getEnvConfig().accessoriesLink;\n //to get UTM parameters\n const utmSource = 'DMP device inventory'; \n const utmMedium = 'button'; \n const utmCampaign ='device accessory showcase'; \n \n //to get FAN number\n // console.log('selectedFAN: ', this.signedupData[0].fanId);\n // const FANsignedUp=this.signedupData[0].fanId;\n this.adobeAnalyticsService.createClickProperties('Enrollment Confirmation Purchase accessories', 'body', '/business/shop/shop_cru_home.jsp');\n \n // Append all parameters to the URL\n const trackedUrl = `${url}?utm_source=${utmSource}&utm_medium=${utmMedium}&utm_campaign=${utmCampaign}`;\n \n // Navigate to the tracked URL\n window.open(trackedUrl, '_blank');\n }\n \n}\n\n","
    \n
    \n
    \n \"success\"\n
    \n
    \n

    {{confirmAccounts.successMessage}}

    \n

    {{confirmAccounts.successDescription}}

    \n
    \n \n
    \n
    \n
    \n

    {{confirmAccounts.next}}

    \n

    {{confirmAccounts.note}}

    \n

    {{confirmAccounts.noteabm}}

    \n
    \n
    \n
    \n
    {{confirmAccounts.numberIcon1}}
    \n
    {{confirmAccounts.content1}}
    \n
    \n
    \n
    {{confirmAccounts.numberIcon2}}
    \n
    {{confirmAccounts.abmFecontent2}}
    \n
    {{confirmAccounts.abmcontent2}}
    \n
    {{confirmAccounts.ztpcontent2}}
    \n
    {{confirmAccounts.kmecontent2}}
    \n
    \n
    \n
    {{confirmAccounts.numberIcon3}}
    \n
    {{confirmAccounts.abmFecontent3}}
    \n
    {{confirmAccounts.abmcontent3}}
    \n
    {{confirmAccounts.ztpcontent3}}
    \n
    {{confirmAccounts.kmecontent3}}
    \n
    \n
    \n
    {{confirmAccounts.numberIcon4}}
    \n
    {{confirmAccounts.content4}}
    \n
    \n
    \n \n
    \n
    \n

    {{confirmAccounts.enrollmentDetailsHeading}}


    \n

    {{confirmAccounts.enrollmentDetailsSubheading}}

    \n
    \n
    \n
    \n

    {{confirmAccounts.fanLabel}}

    \n

    {{fan.fanId}}

    \n
    \n
    \n

    {{confirmAccounts.productId1}}

    \n

    {{enrolledData.emmAccountId}}

    \n
    \n
    \n

    {{confirmAccounts.productId2}}

    \n

    {{enrolledData.emmAccountId}}

    \n
    \n
    \n

    {{confirmAccounts.productId3}}

    \n

    {{enrolledData.emmAccountId}}

    \n
    \n
    \n

    {{confirmAccounts.existingDevicesLabel}}

    \n

    {{fan.status}}

    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    {{confirmAccounts.prodTypeHeading}}

    \n

    {{confirmAccounts.prodType}} {{prodcode}}

    \n
    \n
    \n
    \n \n \n \n \n
    \n \n \n

    \n
    \n \n
    \n \n

    \n
    \n\n \n
    \n

    Need something else?

    \n
    Shop our expansive selection of accessories
    \n
    \n \n \n \n \n \n \n \n \n
    \n \n
    \n
    \n","import { Component, OnInit, AfterViewInit, ViewEncapsulation, HostListener, ViewChild, ElementRef } from '@angular/core';\r\nimport { Router, ActivatedRoute, NavigationEnd } from '@angular/router';\r\nimport { Location } from '@angular/common';\r\nimport { UtilityService, AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';\r\nimport { GridOptionsModel, ColumnDefinitionsModel } from 'lib/ng2-sapmp/src/ui-components/custom-grid';\r\nimport { ManageInventoryService } from '../../manage-inventory/shared/providers/manage-inventory.service';\r\nimport { StepIndicatorModel, StepIndicatorService } from 'lib/ng2-sapmp/src/ui-components';\r\nimport { SignupSetupInputModel, SignupSetupOutputModel, FanModel, EnrollmentDateModel } from '../../signup-setup/shared/models/signup-setup.models';\r\n// import { AccordionComponent } from 'lib/ng2-sapmp/src/ui-components/accordion/accordion.component';\r\nimport { PageLoaderService } from 'lib/ng2-sapmp/src/ui-components/page-loader';\r\nimport { SIGNUPSETUPDATA } from 'config';\r\nimport { BreadCrumbService } from 'lib/ng2-sapmp/src/ui-components/breadcrumb/breadcrumb.service';\r\nimport { MobilePivotModel } from 'lib/ng2-sapmp/src/ui-components/mobile-pivot';\r\nimport { MOBILEPIVOTS, TERMSCONDITIONS, ERRCODES } from 'config';\r\nimport { ConfirmModalPopupModel } from 'lib/ng2-sapmp/src/ui-components/confirm-modal';\r\nimport { SignupSetupService } from '../shared/providers/signup-setup.service';\r\nimport { KEY_CONFIG } from 'lib/ng2-sapmp/src/config/key-config';\r\nimport { ProductSelectionService } from '../../product-selection/product-selection.service';\r\n\r\n\r\n\r\n@Component({\r\n selector: 'app-enrollment-signup-setup',\r\n templateUrl: './enrollment-signup-setup.component.html',\r\n styleUrls: ['./enrollment-signup-setup.component.scss'],\r\n providers: [SignupSetupService, ManageInventoryService, AdobeAnalyticsService, ProductSelectionService],\r\n encapsulation: ViewEncapsulation.None\r\n})\r\n\r\nexport class EnrollmentSignupSetupComponent implements OnInit, AfterViewInit {\r\n\r\n @ViewChild('fileInput') fileInput: ElementRef;\r\n gridOptions: Array;\r\n stepIndicators: StepIndicatorModel[];\r\n confirmModalPopup: ConfirmModalPopupModel;\r\n stepSessionName: string;\r\n initModal: boolean;\r\n modalMsg: string;\r\n mailId: string;\r\n videoId: string;\r\n modalClass: string;\r\n signupSetup: boolean = false;\r\n backFromReview: boolean = false;\r\n signupSetupInputData: SignupSetupInputModel;\r\n signupSetupOutputData: SignupSetupOutputModel;\r\n companyId: number;\r\n haveTab: boolean;\r\n activeTab: number;\r\n selectedFanList: number;\r\n tabArray: Array;\r\n accordionList: boolean;\r\n pageTitle: string;\r\n pageDescription: string;\r\n pageLink: string;\r\n pageDescription2: string;\r\n accountsData: any;\r\n showError: boolean;\r\n errorMessage: string;\r\n showGoogleCreationError: boolean;\r\n dcmCodes = 'ABC_TNC_001';\r\n haveAccordion: boolean;\r\n eligibleFanCount: number;\r\n pivots: Array;\r\n termscondUrl: any;\r\n termsCondproductURl: any;\r\n selected: any;\r\n eventEmit: any;\r\n title: any;\r\n supportArticle: any;\r\n showOverviewModal: boolean;\r\n private enrollDates: EnrollmentDateModel;\r\n private FANListSel: Array = [];\r\n private FANListAdd: Array = [];\r\n private FANListAct: Array = [];\r\n private FANListPro: Array = [];\r\n private FANListALL: Array = [];\r\n private successfullySignupFAN: Array = [];\r\n selectedFansCount: Array = [];\r\n helpArticles: any;\r\n article: any;\r\n isMobile: any;\r\n termsCondi: any;\r\n staticTcUrl: any;\r\n guideUrl: any;\r\n MdmSelection: any;\r\n prodFlag: boolean;\r\n emmProductCode: any;\r\n tmc: any;\r\n kme: boolean;\r\n ztp: boolean;\r\n abm: boolean;\r\n mdm: boolean;\r\n querytab: string;\r\n supportArticles: any;\r\n ztpIdres:any;\r\n prodcode: string;\r\n emailEnabled: boolean = true;\r\n smsEnabled: boolean = true;\r\n notificationType: any = '';\r\n @ViewChild('emailNotification') emailNotification: ElementRef;\r\n @ViewChild('textMessageNotification') textMessageNotification: ElementRef;\r\n @ViewChild('enrollBox') enrollBox: ElementRef;\r\n initialSignup: boolean = false;\r\n readySignupSetupFans: any[];\r\n isFansZero: boolean = false;\r\n enableCont: boolean = false;\r\n signupData: any;\r\n notfFlag: boolean = false;\r\n canEnroll: boolean = false;\r\n enrollArray: any[] = [];\r\n showErrors: boolean = false;\r\n enrollEnable: boolean = false;\r\n allFansData: any;\r\n signupDataBack: any;\r\n checkedFanList: any;\r\n failFromReviewFlag: string;\r\n isROMEFailed: boolean = false;\r\n isABMFE: boolean = false;\r\n existingDevicesTooltipForABMFE: string = '';\r\n existingDevicesTooltipCommon: string = '';//please change this tooltip when the mongodb changes happend for existingDevicesTooltip\r\n abmfeRequiredFields: any;\r\n IFDErrorMessage: string = '';\r\n IFDErrorCode: string = '';\r\n IFDCommonErrorMessage: string = ERRCODES['ABM_FE_COMMON_ERROR_MESSAGE'];\r\n IFDGenericErrorMessage: string = ERRCODES['ABM_FE_GENERIC_ERROR_MESSAGE'];\r\n IFDMock: boolean = false;\r\n @HostListener('window:resize', ['$event'])\r\n onResize() {\r\n this.mobileView();\r\n }\r\n\r\n constructor(private router: Router,\r\n private pageloaderService: PageLoaderService,\r\n private activatedRoute: ActivatedRoute,\r\n private signupSetupService: SignupSetupService,\r\n private manageInventoryService: ManageInventoryService,\r\n private utilityService: UtilityService,\r\n private stepindicatorService: StepIndicatorService,\r\n private adobeAnalyticsService: AdobeAnalyticsService,\r\n private breadCrumbService: BreadCrumbService,\r\n private pageLoaderService: PageLoaderService,\r\n private productSelectionService: ProductSelectionService,\r\n private location: Location) {\r\n\r\n this.selected = { newSetupFanList: false, revisedFanList: false, awaitingSignupFanList: false };\r\n this.gridOptions = [];\r\n this.tabArray = [];\r\n this.activeTab = 0;\r\n this.haveTab = false;\r\n this.showGoogleCreationError = false;\r\n this.accountsData = {};\r\n this.accountsData.config = SIGNUPSETUPDATA.EnrollmentOptions;\r\n this.pageloaderService.setPageLoaderStatus(false);\r\n const profileData = JSON.parse(sessionStorage.getItem('user'));\r\n this.mailId = profileData.user.emailAddress;\r\n this.existingDevicesTooltipForABMFE = \"Existing devices includes all the devices under your foundation account. If selected, all existing devices will be added to the AT&T Device Management Program within 1 business day after a successful enrollment.\";\r\n this.existingDevicesTooltipCommon = \"Existing devices includes all the devices purchased under your foundation account before your was added to the account. If selected, all existing devices will be added to the AT&T Device Management Program within 1 business day after a successful enrollment.\";\r\n this.abmfeRequiredFields = {\r\n \"accountDetails\": [\r\n { attrName: 'orgName', required: true, size: 128 },\r\n { attrName: 'orgCountry', required: true, size: 3 },\r\n { attrName: 'orgPhone', required: true, size: 128 },\r\n { attrName: 'orgAddress1', required: true, size: 128 },\r\n // {attrName: 'orgAddress2', required: false, size: 128},\r\n // {attrName: 'orgAddress3', required: false, size: 128},\r\n // {attrName: 'orgPostalCode', required: false, size: 32},\r\n // {attrName: 'orgRegion', required: false, size: 96},\r\n // {attrName: 'orgCity', required: false, size: 128}\r\n ],\r\n \"customerContactDetails\": [\r\n { attrName: 'firstName', required: true, size: 128 },\r\n { attrName: 'lastName', required: true, size: 128 },\r\n { attrName: 'email', required: true, size: 256 },\r\n { attrName: 'type', required: true, size: 128 }\r\n ]\r\n }\r\n\r\n const state = this.location.getState();\r\n console.log(\"data------\", state);\r\n\r\n if(state.hasOwnProperty('ztpIdres')){\r\n this.ztpIdres = state['ztpIdres'];\r\n }else{\r\n this.ztpIdres = null;\r\n }\r\n }\r\n\r\n ngOnInit() {\r\n this.notificationType = \"Both\";\r\n this.notfFlag = true;\r\n this.showError = false;\r\n this.breadCrumbService.removeLastBreadCrumb();\r\n this.breadCrumbService.setCurrentBreadCrumb({ label: 'Device Enrollment Program', routerLink: '/signupsetup/enrollmentoptions' });\r\n document.title = this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url];\r\n const previousRoute = sessionStorage.getItem('previousRoute');\r\n if (!sessionStorage.getItem('SignupBacktoCallingPage')) {\r\n sessionStorage.setItem('SignupBacktoCallingPage', previousRoute === '/productselection'\r\n || previousRoute === '/signupsetup' ? '/manageInventory' : previousRoute);\r\n }\r\n this.pivots = MOBILEPIVOTS.SIGNUPPAGE;\r\n const breadcrumbList = this.breadCrumbService.getBreadCrumbs();\r\n if (breadcrumbList.length > 1) {\r\n this.pivots[0].routerLink = breadcrumbList[breadcrumbList.length - 2].routerLink;\r\n }\r\n this.prodcode = sessionStorage.getItem('prodcode');\r\n this.failFromReviewFlag = sessionStorage.getItem('failFromReviewFlag');\r\n this.stepindicatorService.setCurrentStep(this.activatedRoute.snapshot.url[0].path);\r\n this.stepindicatorService.setVisibility(true);\r\n this.pageDescription = '';\r\n\r\n this.termsCondproductURl = JSON.parse(sessionStorage.getItem('manage-product'));\r\n this.emmProductCode = this.termsCondproductURl.emmProductCode;\r\n if (this.emmProductCode === 'DMPSKME' || this.emmProductCode === 'DMPGZTP' || this.emmProductCode === 'DMPAABM') {\r\n this.prodFlag = true;\r\n } else {\r\n this.prodFlag = false;\r\n }\r\n\r\n this.accountsData.content = this.activatedRoute.snapshot.data.pageData.signupsetupenrollmentoptions;\r\n this.staticTcUrl = this.accountsData.content.termsAndConditionsURL;\r\n\r\n //revert the in tooltip in case of go back to service selection page\r\n if (this.accountsData.content.existingDevicesTooltip.indexOf(\"Apple Organization ID\") == -1 ||\r\n this.accountsData.content.existingDevicesTooltip.indexOf(\"Google ID\") == -1 ||\r\n this.accountsData.content.existingDevicesTooltip.indexOf(\"Knox Mobile Enrollment ID\") == -1) {\r\n this.accountsData.content.existingDevicesTooltip = this.existingDevicesTooltipCommon;\r\n }\r\n\r\n this.accountsData.content.existingDevicesTooltip =\r\n this.accountsData.content.existingDevicesTooltip.replace('Apple Organization ID', '');\r\n\r\n this.accountsData.content.existingDevicesTooltip =\r\n this.accountsData.content.existingDevicesTooltip.replace('Google ID', '');\r\n\r\n this.accountsData.content.existingDevicesTooltip =\r\n this.accountsData.content.existingDevicesTooltip.replace('Knox Mobile Enrollment ID', '');\r\n if (this.emmProductCode === 'DMPAABM' || this.failFromReviewFlag === 'true') {\r\n this.kme = false;\r\n this.ztp = false;\r\n this.abm = true;\r\n this.accountsData.content.existingDevicesTooltip =\r\n this.accountsData.content.existingDevicesTooltip.replace('', 'Apple Organization ID');\r\n this.termscondUrl = TERMSCONDITIONS.URL.commonUrl;\r\n } else if (this.emmProductCode === 'DMPGZTP') {\r\n this.kme = false;\r\n this.ztp = true;\r\n this.abm = false;\r\n this.accountsData.content.existingDevicesTooltip =\r\n this.accountsData.content.existingDevicesTooltip.replace('', 'Google ID');\r\n this.termscondUrl = TERMSCONDITIONS.URL.commonUrl;\r\n } else {\r\n this.kme = true;\r\n this.ztp = false;\r\n this.abm = false;\r\n this.accountsData.content.existingDevicesTooltip =\r\n this.accountsData.content.existingDevicesTooltip.replace('', 'Knox Mobile Enrollment ID');\r\n this.termscondUrl = TERMSCONDITIONS.URL.commonUrl;\r\n }\r\n\r\n this.accountsData.content.note = this.accountsData.content.noteTmp.replace('', this.prodcode);\r\n this.readySignupSetupFans = [];\r\n this.readySignupSetupFans = JSON.parse(sessionStorage.getItem('signupFanList'));\r\n // this.isFansZero = (!this.readySignupSetupFans || (this.readySignupSetupFans && this.readySignupSetupFans.length === 0)) ? true : false;\r\n\r\n this.signupDataBack = JSON.parse(sessionStorage.getItem('signupFanList'));\r\n this.allFansData = JSON.parse(sessionStorage.getItem('fansForSignup'));\r\n this.signupData = this.signupSetupService.getSignupModel();\r\n this.backFromReview = JSON.parse(sessionStorage.getItem('backFromReview'));\r\n if (this.backFromReview) {\r\n this.signupData = true;\r\n }\r\n\r\n if (this.signupData || this.failFromReviewFlag === 'true') {\r\n /* Back from Review */\r\n this.signupSetupInputData = this.signupData.inputModel;\r\n this.signupSetupOutputData = this.signupData.outputModel;\r\n this.signupSetup = this.signupData.signupSetup;\r\n //this.selectedFanList = this.selectedFanLength();\r\n this.notificationType = this.signupDataBack.notificationType;\r\n this.checkedFanList = this.signupDataBack.selectedEnrollFans;\r\n this.enrollDates = this.signupDataBack.enrollArray;\r\n\r\n this.getFANList();\r\n //this.pageloaderService.setPageLoaderStatus(true);\r\n } else {\r\n\r\n //this.backFromReview = false;\r\n this.getFANList();\r\n\r\n }\r\n\r\n this.helpArticles = [{\r\n id: 1, isActive: true, category: 'Help', description: '', ariaLabel: {\r\n 'expand': 'Show help',\r\n 'collapse': 'Hide help'\r\n }\r\n }];\r\n const pageName = 'signupAccountsPage';\r\n if (!this.prodFlag) {\r\n this.signupSetupService.requestSupportContent(this.utilityService.getEnvConfig().getSupportDocument + pageName).\r\n subscribe(resp => {\r\n this.article = resp.supportArticles;\r\n this.supportArticle = true;\r\n }, () => {\r\n // this.handleError(err);\r\n });\r\n }\r\n this.signupSetupService.createPageLoadProperties('ACCOUNTS', 'Accounts');\r\n this.isABMFE = sessionStorage.getItem(\"ABMFE\") ? JSON.parse(sessionStorage.getItem(\"ABMFE\")) : false;\r\n let isABMFEClicked = sessionStorage.getItem(\"feFlag\");\r\n if (isABMFEClicked == 'true' && this.isABMFE && this.prodcode == 'Apple Business Manager') {\r\n this.accountsData.content.existingDevicesTooltip = this.existingDevicesTooltipForABMFE;\r\n }\r\n // else{\r\n // this.accountsData.content.existingDevicesTooltip = this.activatedRoute.snapshot.data.pageData.signupsetupenrollmentoptions.existingDevicesTooltip;\r\n // }\r\n this.IFDMock = this.accountsData.content.IFDMock; //false;\r\n }\r\n\r\n /*check mobile view for support article accordion*/\r\n mobileView() {\r\n this.helpArticles = [{ id: 1, isActive: !this.isMobile, category: 'Help', content: '' }];\r\n }\r\n\r\n\r\n ngAfterViewInit() {\r\n if (this.notificationType) {\r\n if (this.notificationType == \"Both\") {\r\n this.emailNotification.nativeElement.checked = true;\r\n this.textMessageNotification.nativeElement.checked = true;\r\n this.notfFlag = true;\r\n }\r\n else if (this.notificationType == \"Email\") {\r\n this.emailNotification.nativeElement.checked = true;\r\n this.textMessageNotification.nativeElement.checked = false;\r\n this.notfFlag = true;\r\n }\r\n else if (this.notificationType == \"TextMessage\") {\r\n this.emailNotification.nativeElement.checked = false;\r\n this.textMessageNotification.nativeElement.checked = true;\r\n this.notfFlag = true;\r\n }\r\n else {\r\n this.emailNotification.nativeElement.checked = false;\r\n this.textMessageNotification.nativeElement.checked = false;\r\n this.notfFlag = false;\r\n }\r\n }\r\n\r\n }\r\n\r\n\r\n /* Getting all fan list*/\r\n getFANList() {\r\n //console.log('Accounts Summary API request time => ' + new Date().getTime());\r\n this.signupSetupService.getFANList(this.companyId).\r\n subscribe(respobj => {\r\n //console.log('Accounts Summary API response time => ' + new Date().getTime());\r\n this.signupSetupInputData = new SignupSetupInputModel(respobj.companyId);\r\n this.signupSetupOutputData = new SignupSetupOutputModel(respobj.companyId);\r\n this.selectedFanList = this.selectedFanLength();\r\n this.signupSetupInputData.FANList = respobj;\r\n sessionStorage.setItem('fansForSignup', JSON.stringify(respobj.awaitingSignupFanList));\r\n this.signupSetupOutputData.emmProductCode = respobj.emmProductCode;\r\n sessionStorage.setItem('fansSignedUp', JSON.stringify(respobj.revisedFanList));\r\n\r\n this.buildTabView();\r\n\r\n this.pageloaderService.setPageLoaderStatus(true);\r\n }, () => this.handleError('fans'));\r\n }\r\n\r\n /* Review Based on the data ui have Tab or not*/\r\n buildTabView() {\r\n let tab = this.router['currentUrlTree'].queryParams.tab === undefined ? '' :\r\n this.router['currentUrlTree'].queryParams.tab;\r\n this.querytab = tab;\r\n this.signupSetupInputData.FANList.awaitingSignupFanList = this.signupSetupInputData.FANList.\r\n awaitingSignupFanList.filter((f) => { return f.addpEligibleStatus === true || f.addpEligibleStatus === undefined; });\r\n this.eligibleFanCount = this.signupSetupInputData.FANList.awaitingSignupFanList.filter(item => item.addpEligibleStatus).length;\r\n\r\n let count = 0;\r\n let accountsDataConfig = this.accountsData.config;\r\n if (tab === 'awaitingSignupFanList' && sessionStorage.getItem('previousRoute') === '/manageInventory' ||\r\n (sessionStorage.getItem('previousRoute') === '/productselection' &&\r\n ((this.termsCondproductURl.emmProductCode === 'DMPGZTP' || this.termsCondproductURl.emmProductCode === 'DMPSKME' ||\r\n this.termsCondproductURl.emmProductCode === 'DMPAABM')))) {\r\n //(Object).values(accountsDataConfig).filter((f) => {\r\n //if (f.name === 'Add accounts') {\r\n //awaitingSignupConfig = f;\r\n //}\r\n //});\r\n accountsDataConfig = {\r\n awaitingSignupFanList: accountsDataConfig.awaitingSignupFanList\r\n };\r\n tab = undefined;\r\n }\r\n let fanType = 'awaitingSignupFanList';\r\n if (this.signupSetupInputData.FANList[fanType].length && (fanType !== 'awaitingSignupFanList' ||\r\n (fanType === 'awaitingSignupFanList' && this.eligibleFanCount !== 0))) {\r\n let activeFansList = this.addActiveFans();\r\n this.signupSetupInputData.FANList[fanType] = activeFansList.concat(this.signupSetupInputData.FANList[fanType])\r\n this.initGrid(this.signupSetupInputData.FANList[fanType], this.accountsData.config[fanType].columnDefinitions,\r\n fanType !== 'awaitingSignupFanList' ? this.accountsData.config[fanType].rowDisable :\r\n this.eligibleFanCount !== this.signupSetupInputData.FANList.awaitingSignupFanList.length,\r\n this.accountsData.config[fanType].rowDisableCondition,\r\n this.accountsData.config[fanType].rowDisableConditionInverse);\r\n this.tabArray.push({\r\n id: this.accountsData.config[fanType].name, name: fanType,\r\n isActive: (tab === fanType || tab === '' && count === 0), htmlFlag: '', description: ''\r\n });\r\n count++;\r\n }\r\n if (this.tabArray.length > 1) {\r\n if (this.tabArray.filter(item => item.isActive).length === 0) {\r\n this.tabArray[0].isActive = true;\r\n }\r\n }\r\n if (this.signupSetupInputData.FANList[fanType].length == 0) {\r\n let activeFansList = this.addActiveFans();\r\n this.signupSetupInputData.FANList[fanType] = activeFansList.concat(this.signupSetupInputData.FANList[fanType])\r\n const fanIdArr = this.signupSetupInputData.FANList[fanType].map(o => o.fanId)\r\n this.signupSetupInputData.FANList[fanType] = this.signupSetupInputData.FANList[fanType].filter(({ fanId }, index) => !fanIdArr.includes(fanId, index + 1))\r\n\r\n this.initGrid(this.signupSetupInputData.FANList[fanType], this.accountsData.config[fanType].columnDefinitions,\r\n fanType !== 'awaitingSignupFanList' ? this.accountsData.config[fanType].rowDisable :\r\n this.eligibleFanCount !== this.signupSetupInputData.FANList.awaitingSignupFanList.length,\r\n this.accountsData.config[fanType].rowDisableCondition,\r\n this.accountsData.config[fanType].rowDisableConditionInverse);\r\n this.tabArray.push({\r\n id: this.accountsData.config[fanType].name, name: fanType,\r\n isActive: (tab === fanType || tab === '' && count === 0), htmlFlag: '', description: ''\r\n });\r\n count++;\r\n }\r\n\r\n this.signupSetup = this.tabArray.length === 1 && this.tabArray[0].name === 'awaitingSignupFanList';\r\n //this.setAccountsHelpMessage();\r\n\r\n if (this.signupSetup) {\r\n this.signupSetupInputData.FANList.awaitingSignupFanList.map(fan => {\r\n if (fan.addpEligibleStatus) {\r\n //fan.selected = true;\r\n }\r\n return fan;\r\n });\r\n this.onRowClick('');\r\n }\r\n }\r\n\r\n addActiveFans() {\r\n\r\n let emmProductCode = null;\r\n if (this.prodcode === \"Apple Business Manager\") {\r\n emmProductCode = \"DMPAABM\";\r\n } else if (this.prodcode === \"Android Zero-touch\") {\r\n emmProductCode = \"DMPGZTP\";\r\n } else if (this.prodcode === \"Samsung Knox Mobile Enrollment (KME)\") {\r\n emmProductCode = \"DMPSKME\";\r\n }\r\n\r\n let fanInfoList;\r\n if (sessionStorage.getItem(\"fanInfoList\") !== \"undefined\") {\r\n fanInfoList = JSON.parse(sessionStorage.getItem(\"fanInfoList\"));\r\n if (fanInfoList) {\r\n let inEligibleArr1 = fanInfoList.filter(\r\n (item) =>\r\n item.emmProductCode === emmProductCode && (item.accountStatus === \"ACTIVE\" || item.accountStatus === \"SIGNUP_INPROGRESS\")\r\n );\r\n\r\n let inEligibleArr2 = fanInfoList.filter(function (item) {\r\n if (\r\n item.emmProductCode === \"DMPGZTP\" &&\r\n (item.accountStatus === \"ACTIVE\" || item.accountStatus === \"SIGNUP_INPROGRESS\")\r\n ) {\r\n if (emmProductCode === \"DMPSKME\") {\r\n return item;\r\n }\r\n }\r\n });\r\n\r\n let inEligibleArr3 = fanInfoList.filter(function (item) {\r\n if (\r\n item.emmProductCode === \"DMPSKME\" &&\r\n (item.accountStatus === \"ACTIVE\" || item.accountStatus === \"SIGNUP_INPROGRESS\")\r\n ) {\r\n if (emmProductCode === \"DMPGZTP\") {\r\n return item;\r\n }\r\n }\r\n });\r\n\r\n let inEligibleList = inEligibleArr1.concat(inEligibleArr2).concat(inEligibleArr3);\r\n\r\n if (inEligibleList && inEligibleList.length > 0) {\r\n let tempData = [];\r\n inEligibleList.map(function (item) {\r\n tempData = fanInfoList.filter((x) => x.fan !== item.fan);\r\n fanInfoList = tempData;\r\n });\r\n }\r\n }\r\n }\r\n let listFans = [];\r\n let obj = {}\r\n if (fanInfoList) {\r\n fanInfoList.map(function (item, index) {\r\n obj = {}\r\n obj[\"fanId\"] = item.fan;\r\n obj[\"addpEligibleStatus\"] = true;\r\n listFans.push(obj);\r\n\r\n })\r\n }\r\n\r\n const fanIdArr = listFans.map(o => o.fanId)\r\n listFans = listFans.filter(({ fanId }, index) => !fanIdArr.includes(fanId, index + 1))\r\n\r\n return listFans;\r\n }\r\n\r\n initGrid(respobj, colDef: Array, disableRow: boolean, disableRowCondition,\r\n disableRowConditionInverse) {\r\n const options = new GridOptionsModel();\r\n options.enableFiltering = false;\r\n options.enableSorting = false;\r\n options.multiSelect = true;\r\n options.disableSelectAll = true;\r\n //options.emptyMessage = 'No records';\r\n //options.enableBackLink = true;\r\n //options.ariaLabel = 'Select all foundation accounts.';\r\n //options.backLinkText = 'View all accounts';\r\n //options.emptyMessage = 'We didn\\'t find any foundation accounts that match your search. Did you enter a full account number? ' +\r\n //'Check the number and try again.';\r\n if (disableRow) {\r\n options.disableRow = true;\r\n options.disableRowCondition = disableRowCondition;\r\n options.disableRowConditionInverse = disableRowConditionInverse;\r\n }\r\n\r\n // const preSelectedFan = sessionStorage.getItem('selectedFAN');\r\n // if (preselectTab && preSelectedFan) {\r\n // const selectedFan: FanModel = respobj.filter(fan => fan.fanId === preSelectedFan)[0];\r\n // if (selectedFan && selectedFan.accountStatus && selectedFan.accountStatus.toUpperCase() === 'ACTIVE') {\r\n // //selectedFan.selected = true;\r\n // this.accountsData.content.selectedFans = this.accountsData.content.selectedFanTmp.replace('', 1);\r\n // this.accountsData.content.selectedFans = this.accountsData.content.selectedFans.replace('',\r\n // 'account');\r\n // //this.selected['revisedFanList'] = true;\r\n // // this.signupSetupInputData.FANList.revisedFanList.forEach(item1 => {\r\n // // if (item1.fanId === selectedFan.fanId) {\r\n // // item1.selected = true;\r\n // // }\r\n // // });\r\n // this.signupSetupOutputData.FANList['revisedFanList'] =\r\n // this.signupSetupInputData.FANList['revisedFanList'].filter(item => item.selected === true);\r\n // this.selectedFanList = 1;\r\n // this.gridOptions.forEach((data) => {\r\n // data.disableGrid = true;\r\n // });\r\n\r\n // }\r\n // }\r\n\r\n const mdmDetails = JSON.parse(sessionStorage.getItem('mdmDetails'));\r\n\r\n // if (callback === 'awaitingSignupFanList' || callback === 'revisedFanList') {\r\n // options.callbacks = { fanEligiblityStatus: this.fanEligiblityStatus };\r\n // }\r\n options.callbacks = { fanEligiblityStatus: this.fanEligiblityStatus };\r\n\r\n const pagination = {\r\n recordsPerPage: 20,\r\n currentPage: 1,\r\n isServerSide: false,\r\n totalRecords: respobj.length\r\n };\r\n\r\n options.Paginations = pagination;\r\n\r\n //make change to filter selectedfanlist from respobj but also compare with signedupdata array for enroll\r\n const totalFanList = JSON.parse(sessionStorage.getItem('signedupData'));\r\n if (totalFanList) {\r\n let matchFound: boolean;\r\n respobj.forEach(element => {\r\n matchFound = false;\r\n totalFanList.forEach(element1 => {\r\n if (element.fanId === element1.fanId) {\r\n // element.selected = true;\r\n if (element1.enroll) {\r\n element.enroll = true;\r\n } else {\r\n element.enroll = false;\r\n }\r\n matchFound = true;\r\n } else {\r\n if (!matchFound) {\r\n element.selected = false;\r\n }\r\n }\r\n //console.log(element);\r\n //console.log(element1);\r\n\r\n });\r\n });\r\n }\r\n\r\n\r\n options.gridData = respobj;\r\n options.columnDefinitions = colDef;\r\n //check apple dep for fan\r\n console.log(\"options.gridData==>\", options.gridData);\r\n let mapApleDep = sessionStorage.getItem(\"mapAppleDep\") ? JSON.parse(sessionStorage.getItem(\"mapAppleDep\")) : [];\r\n let appleDepRecord = [];\r\n if (mapApleDep.length > 0) {\r\n let map1 = new Map(mapApleDep);\r\n console.log(\"map1.entries===>\", map1.entries())\r\n options.gridData.forEach((elm) => {\r\n if (map1.has(elm.fanId)) {\r\n appleDepRecord.push(elm);\r\n }\r\n })\r\n console.log(appleDepRecord);\r\n }\r\n\r\n options.gridData = options.gridData.map(data => {\r\n if (data.enroll === undefined) {\r\n data.enroll = false;\r\n }\r\n\r\n if (this.emmProductCode === 'DMPAABM') {\r\n appleDepRecord.forEach((el) => {\r\n if (el.fanId == data.fanId) {\r\n data.isAppleDEP = true;\r\n }\r\n });\r\n }\r\n\r\n return data;\r\n });\r\n //options.searchPlaceHolder = 'Enter full foundation account number';\r\n //options.searchType = 'number';\r\n this.gridOptions.push(options);\r\n console.log(this.gridOptions);\r\n }\r\n\r\n fanEligiblityStatus(element, row, field, currentElem, type) {\r\n if (type === 'template') {\r\n return `
    ${row.fanId}
    `;\r\n }\r\n }\r\n\r\n /* Fan selection watched here from Grid*/\r\n onRowClick(action) {\r\n\r\n if (action !== \"\") {\r\n if (action.data.selected === false && action.data.enroll === true) {\r\n action.data.enroll = false;\r\n let array: any[] = JSON.parse(sessionStorage.getItem('enrollArray'));\r\n if (array !== null) {\r\n this.enrollArray = array.filter(item => item !== action.data.fanId);\r\n //console.log(this.enrollArray);\r\n sessionStorage.setItem('enrollArray', JSON.stringify(this.enrollArray));\r\n }\r\n } else if (action.data.selected === false && action.data.enroll === false) {\r\n\r\n action.data.enroll = false;\r\n let array: any[] = JSON.parse(sessionStorage.getItem('enrollArray'));\r\n if (array !== null) {\r\n this.enrollArray = array.filter(item => item !== action.data.fanId);\r\n //console.log(this.enrollArray);\r\n sessionStorage.setItem('enrollArray', JSON.stringify(this.enrollArray));\r\n }\r\n }\r\n }\r\n const fanType = 'awaitingSignupFanList';\r\n //this.enrollEnable = true;\r\n\r\n this.signupSetupOutputData.FANList[fanType] = this.signupSetupInputData.FANList[fanType].filter(item => item.selected === true);\r\n\r\n sessionStorage.setItem('selectedSignupFanList', JSON.stringify(this.signupSetupOutputData.FANList.awaitingSignupFanList));\r\n\r\n this.selectedFanList = this.selectedFanLength();\r\n this.checkNDisableFANList();\r\n\r\n }\r\n\r\n existingDevices(row) {\r\n\r\n const fromBackFlag = JSON.parse(sessionStorage.getItem('step1done'));\r\n let updateSelectedSignupFanList = JSON.parse(sessionStorage.getItem('selectedSignupFanList'));\r\n if (fromBackFlag || this.failFromReviewFlag) {\r\n this.enrollArray = JSON.parse(sessionStorage.getItem('enrollArray'));\r\n if (this.enrollArray !== null) {\r\n if (this.enrollArray.includes(row.fanId) !== true) {\r\n if (row.enroll !== row.selected) {\r\n this.enrollArray.push(row.fanId);\r\n }\r\n } else {\r\n //this.enrollArray.remove(row.fanId);\r\n const index = this.enrollArray.indexOf(row.fanId);\r\n if (index > -1) {\r\n this.enrollArray.splice(index, 1);\r\n }\r\n console.log(this.enrollArray);\r\n }\r\n } else {\r\n this.enrollArray = [];\r\n row.enroll = true;\r\n this.enrollArray.push(row.fanId);\r\n }\r\n sessionStorage.setItem('enrollArray', JSON.stringify(this.enrollArray));\r\n updateSelectedSignupFanList.forEach(element => {\r\n if (element.fanId === row.fanId) {\r\n element.enroll = row.selected;\r\n }\r\n });\r\n sessionStorage.setItem('selectedSignupFanList', JSON.stringify(updateSelectedSignupFanList));\r\n sessionStorage.removeItem('step1done');\r\n } else {\r\n //this.enrollArray.push(row.fanId);\r\n if (this.enrollArray.includes(row.fanId) === false) {\r\n this.enrollArray.push(row.fanId);\r\n }\r\n sessionStorage.setItem('enrollArray', JSON.stringify(this.enrollArray));\r\n sessionStorage.removeItem('step1done');\r\n }\r\n //console.log(this.enrollArray);\r\n\r\n }\r\n\r\n enableContinue() {\r\n if (this.selectedFanList === 0) {\r\n if (this.notfFlag) {\r\n this.enableCont = false;\r\n } else {\r\n this.enableCont = false;\r\n }\r\n } else if (this.selectedFanList > 0) {\r\n if (this.notfFlag) {\r\n this.enableCont = true;\r\n } else {\r\n this.enableCont = false;\r\n }\r\n }\r\n }\r\n\r\n /* One Fan List is selected other list disabled*/\r\n checkNDisableFANList() {\r\n this.gridOptions.forEach((data, index) => {\r\n data.disableGrid = !!this.selectedFanList && !this.signupSetupOutputData.FANList[this.tabArray[index].name].length;\r\n });\r\n\r\n // let emmProductCode =null;\r\n // if (this.prodcode === \"Apple Business Manager\") {\r\n // emmProductCode = \"DMPAABM\";\r\n // } else if (this.prodcode === \"Android Zero-touch\") {\r\n // emmProductCode = \"DMPGZTP\";\r\n // } else if (this.prodcode === \"Samsung Knox Mobile Enrollment (KME)\") {\r\n // emmProductCode = \"DMPSKME\";\r\n // }\r\n\r\n // let fanInfoList = JSON.parse(sessionStorage.getItem(\"fanInfoList\"));\r\n // if (fanInfoList) {\r\n // let inEligibleArr1 = fanInfoList.filter(\r\n // (x) =>\r\n // x.emmProductCode === emmProductCode && x.accountStatus === \"ACTIVE\"\r\n // );\r\n\r\n // let inEligibleArr2 = fanInfoList.filter(function(item){\r\n // if(item.emmProductCode === \"DMPGZTP\"&& item.accountStatus === \"ACTIVE\" ){\r\n // if(emmProductCode === \"DMPSKME\" ){\r\n // return item;\r\n // }\r\n // }\r\n // })\r\n\r\n // let inEligibleArr3 = fanInfoList.filter(function(item){\r\n // if(item.emmProductCode === \"DMPSKME\"&& item.accountStatus === \"ACTIVE\" ){\r\n // if(emmProductCode === \"DMPGZTP\" ){\r\n // return item;\r\n // }\r\n // }\r\n // })\r\n\r\n\r\n // let inEligibleList = inEligibleArr1.concat(inEligibleArr2).concat(inEligibleArr3);\r\n\r\n\r\n\r\n // let gridData = this.gridOptions[0].gridData;\r\n // if (inEligibleList && inEligibleList.length > 0) {\r\n // let tempData = [];\r\n // inEligibleList.map(function (item) {\r\n // tempData = gridData.filter((x) => x.fanId !== item.fan);\r\n // gridData = tempData;\r\n\r\n // });\r\n // this.gridOptions[0].gridData = tempData;\r\n // }\r\n // }\r\n\r\n const fanIdArr = this.gridOptions[0].gridData.map(o => o.fanId)\r\n this.gridOptions[0].gridData = this.gridOptions[0].gridData.filter(({ fanId }, index) => !fanIdArr.includes(fanId, index + 1))\r\n\r\n this.isFansZero = (this.gridOptions[0].gridData.length === 0) ? true : false;\r\n\r\n this.enableContinue();\r\n }\r\n\r\n /* Show Selected FAN's in html*/\r\n selectedFanLength() {\r\n const selFans = [];\r\n for (const fanType in this.accountsData.config) {\r\n if (this.signupSetupOutputData.FANList[fanType].length !== 0) {\r\n this.selected[fanType] = true;\r\n } else {\r\n this.selected[fanType] = false;\r\n }\r\n if (this.signupSetupOutputData.FANList[fanType].length) {\r\n this.signupSetupOutputData.FANList[fanType].forEach(cols => selFans.push(cols.fanId));\r\n }\r\n }\r\n this.accountsData.content.selectedFans = this.accountsData.content.selectedFanTmp.replace('', selFans.length);\r\n this.accountsData.content.selectedFans = this.accountsData.content.selectedFans.replace('',\r\n selFans.length === 0 ? 'accounts' : selFans.length > 1 ? 'accounts' : 'account');\r\n this.selectedFansCount[this.activeTab] = this.accountsData.content.selectedFans;\r\n return selFans.length;\r\n }\r\n\r\n setNotification(event) {\r\n if (this.emailNotification.nativeElement.checked == true && this.textMessageNotification.nativeElement.checked == true) {\r\n this.notificationType = \"Both\";\r\n this.notfFlag = true;\r\n }\r\n else if (this.emailNotification.nativeElement.checked == true && this.textMessageNotification.nativeElement.checked == false) {\r\n this.notificationType = \"Email\";\r\n this.notfFlag = true;\r\n }\r\n else if (this.emailNotification.nativeElement.checked == false && this.textMessageNotification.nativeElement.checked == true) {\r\n this.notificationType = \"TextMessage\";\r\n this.notfFlag = true;\r\n }\r\n else {\r\n this.notificationType = \"\";\r\n this.notfFlag = false;\r\n }\r\n\r\n this.enableContinue();\r\n }\r\n\r\n handleError(type) {\r\n if (type === 'summary') {\r\n this.initModal = true;\r\n this.modalClass = 'pop-up';\r\n this.modalMsg = 'SystemFailure';\r\n this.pageloaderService.setPageLoaderStatus(true);\r\n } else {\r\n this.showError = true;\r\n this.pageloaderService.setPageLoaderStatus(true);\r\n this.errorMessage = this.accountsData.content.errorMessages[type];\r\n if (document.getElementById('alertMessage')) {\r\n document.getElementById('alertMessage').classList.remove('msgShown');\r\n }\r\n }\r\n }\r\n\r\n // toggleTooltip(event) {\r\n // if (event.type !== 'click') {\r\n // if (event.keyCode !== KEY_CONFIG.enter) {\r\n // return;\r\n // }\r\n // }\r\n // let targetElement = event.target;\r\n // const elems = document.querySelectorAll('.tooltipActive');\r\n // let iselementActive = false;\r\n // if (targetElement.classList.contains('tooltipActive')) {\r\n // iselementActive = true;\r\n // }\r\n // [].forEach.call(elems, function (ele) {\r\n // ele.classList.remove('tooltipActive');\r\n // });\r\n // if (iselementActive) {\r\n // targetElement.classList.remove('tooltipActive');\r\n // } else {\r\n // targetElement.classList.add('tooltipActive');\r\n // }\r\n // }\r\n\r\n toggleTooltipEnter(event) {\r\n if (event.type !== 'mouseenter') {\r\n if (event.keyCode !== KEY_CONFIG.enter) {\r\n return;\r\n }\r\n }\r\n let targetElement = event.target;\r\n const elems = document.querySelectorAll('.tooltipActive');\r\n let iselementActive = false;\r\n if (targetElement.classList.contains('tooltipActive')) {\r\n iselementActive = true;\r\n }\r\n [].forEach.call(elems, function (ele) {\r\n ele.classList.remove('tooltipActive');\r\n });\r\n if (iselementActive) {\r\n targetElement.classList.remove('tooltipActive');\r\n } else {\r\n targetElement.classList.add('tooltipActive');\r\n }\r\n }\r\n\r\n toggleTooltipLeave(event) {\r\n if (event.type !== 'mouseleave') {\r\n if (event.keyCode !== KEY_CONFIG.enter) {\r\n return;\r\n }\r\n }\r\n let targetElement = event.target;\r\n const elems = document.querySelectorAll('.tooltipActive');\r\n let iselementActive = false;\r\n if (targetElement.classList.contains('tooltipActive')) {\r\n iselementActive = true;\r\n }\r\n [].forEach.call(elems, function (ele) {\r\n ele.classList.remove('tooltipActive');\r\n });\r\n if (iselementActive) {\r\n targetElement.classList.remove('tooltipActive');\r\n } else {\r\n targetElement.classList.add('tooltipActive');\r\n }\r\n }\r\n\r\n backToProductSelection(event) {\r\n event.preventDefault();\r\n //const previousRoute = sessionStorage.getItem('previousRoute');\r\n this.router.navigate(['/productselection']);\r\n }\r\n\r\n backToInitialSetup(event) {\r\n event.preventDefault();\r\n this.signupSetupService.removeSignupModel();\r\n this.breadCrumbService.removeLastBreadCrumb();\r\n sessionStorage.removeItem('enrollmentSelectedDetails');\r\n sessionStorage.removeItem('savedSelectedDetails');\r\n //const currentUrl = this.breadCrumbService.getLastUrlFromBreadCrumb().routerLink;\r\n if (this.prodcode === 'Apple Business Manager') {\r\n sessionStorage.setItem('selectedProd', 'applebusinessmanager');\r\n } else if (this.prodcode === 'Android Zero-touch') {\r\n sessionStorage.setItem('selectedProd', 'androidzerotouch');\r\n } else if (this.prodcode === 'Samsung Knox Mobile Enrollment (KME)') {\r\n sessionStorage.setItem('selectedProd', 'samsungknoxmobile');\r\n }\r\n const unclaim = sessionStorage.getItem('unclaimFlag') ? JSON.parse(sessionStorage.getItem('unclaimFlag')) : false;\r\n if (unclaim) {\r\n const previousUrl = sessionStorage.getItem('currentRoute');\r\n this.router.navigate([previousUrl]);\r\n } else {\r\n this.router.navigate(['/productselection']);\r\n }\r\n }\r\n\r\n continueToNext() {\r\n // this.adobeAnalyticsService.createAdobeEventProperties('MANAGE_DEVICE', 'SUCCESS', 'formSubmit',\r\n // 'BC_Device_SignupSetup_Continue_Submit', 'success', 'Success_Admit', 'Continue', 'Body', '/businessconsole/signupsetup/review');\r\n\r\n const checkFANSelected = this.signupSetupOutputData.FANList.awaitingSignupFanList.length;\r\n const selectedSignupFanList = JSON.parse(sessionStorage.getItem('selectedSignupFanList'));\r\n sessionStorage.removeItem('failFromReviewFlag');\r\n\r\n if (!checkFANSelected) {\r\n this.showError = true;\r\n this.errorMessage = this.accountsData.content[(this.haveTab ? 'tab' : 'noTab') +\r\n this.tabArray[this.activeTab].name].errorMessage;\r\n } else {\r\n this.showError = false;\r\n this.initialSignup = true;\r\n let data = {\r\n \"prodcode\": this.prodcode,\r\n \"notificationType\": this.notificationType,\r\n \"enrollArray\": this.enrollArray,\r\n \"selectedEnrollFans\": selectedSignupFanList\r\n }\r\n\r\n sessionStorage.setItem('step1done', 'true');\r\n sessionStorage.setItem('signupFanList', JSON.stringify(data));\r\n //this.router.navigate(['/signupsetup/review']);\r\n\r\n //google id validation\r\n if (this.prodcode === 'Android Zero-touch') {\r\n\r\n const manageProduct = JSON.parse(sessionStorage.getItem('manage-product'));\r\n const selectedAccID = manageProduct.selectedAccID;\r\n const selectedId = Number.parseInt(selectedAccID);\r\n const user = JSON.parse(sessionStorage.getItem('user'));\r\n const agreementID = user.user.agreement.id;\r\n\r\n if (Number.isInteger(selectedId)) {\r\n this.router.navigate(['/signupsetup/review']);\r\n } else {\r\n if(this.ztpIdres != null){\r\n // this.productSelectionService.zteIdValidation(this.ztpIdres, agreementID)\r\n // .subscribe(response => {\r\n // this.pageloaderService.setPageLoaderStatus(true);\r\n // if (response.status == 'failure' || response.errorCode == 'E0404') {\r\n // this.pageLoaderService.setPageLoaderStatus(true);\r\n // const previousRoute = sessionStorage.getItem('previousRoute');\r\n // this.showGoogleCreationError = true;\r\n // this.showErrors = true;\r\n // this.errorMessage = response.error;\r\n // this.router.navigate([previousRoute]);\r\n // } else {\r\n sessionStorage.removeItem('manage-product');\r\n let productDetails = { emmProductCode: '', selectedAccID: '', signupEmmStatus: '' };\r\n productDetails.emmProductCode = 'DMPGZTP';\r\n productDetails.selectedAccID = this.ztpIdres;\r\n productDetails.signupEmmStatus = 'initial';\r\n sessionStorage.setItem('manage-product', JSON.stringify(productDetails));\r\n sessionStorage.removeItem('savedSelectedDetails');\r\n sessionStorage.removeItem('enrollmentSelectedDetails');\r\n\r\n this.router.navigate(['/signupsetup/review']);\r\n // }\r\n // });\r\n }else{\r\n this.signupSetupService.createZtpAccount(selectedAccID, agreementID)\r\n .subscribe(response => {\r\n if (response.status === 'success') {\r\n sessionStorage.removeItem('manage-product');\r\n let productDetails = { emmProductCode: '', selectedAccID: '', signupEmmStatus: '' };\r\n productDetails.emmProductCode = 'DMPGZTP';\r\n productDetails.selectedAccID = response.ztpId;\r\n productDetails.signupEmmStatus = 'initial';\r\n sessionStorage.setItem('manage-product', JSON.stringify(productDetails));\r\n sessionStorage.removeItem('savedSelectedDetails');\r\n sessionStorage.removeItem('enrollmentSelectedDetails');\r\n\r\n this.router.navigate(['/signupsetup/review']);\r\n } else {\r\n this.pageLoaderService.setPageLoaderStatus(true);\r\n // event.preventDefault();\r\n const previousRoute = sessionStorage.getItem('previousRoute');\r\n this.showGoogleCreationError = true;\r\n this.showErrors = true;\r\n this.errorMessage = response.error;\r\n //sessionStorage.setItem('showGoogleCreationError', 'true');\r\n this.router.navigate([previousRoute]);\r\n }\r\n });\r\n }\r\n }\r\n } else {\r\n // let ABMFE = sessionStorage.getItem(\"ABMFE\") ? JSON.parse(sessionStorage.getItem(\"ABMFE\")) : false;\r\n let isABMFEClicked_ = sessionStorage.getItem(\"feFlag\");\r\n if (this.isABMFE === true && isABMFEClicked_ == 'true') {//get response from ROME IFD call for Apple FE request\r\n let d = new Date();\r\n let dd = (\"0\" + d.getDate()).slice(-2);\r\n let mm = (\"0\" + (d.getMonth() + 1)).slice(-2);\r\n let yy = String(d.getFullYear()).slice(-2);\r\n // let yy = d.getFullYear();\r\n let hh = (\"0\" + d.getHours()).slice(-2);\r\n let mms = (\"0\" + d.getMinutes()).slice(-2);\r\n let ss = (\"0\" + d.getSeconds()).slice(-2);\r\n let selectedFanList = sessionStorage.getItem(\"selectedSignupFanList\") ? JSON.parse(sessionStorage.getItem(\"selectedSignupFanList\")) : [];\r\n if (selectedFanList.length > 0) {\r\n let fanId = selectedFanList[0].fanId;\r\n\r\n let payload = {\r\n \"requestId\": \"SAPMP-\" + mm + dd + yy + hh + mms + ss,\r\n \"sourceSystem\": \"SAPMP\",\r\n \"fanId\": fanId\r\n }\r\n\r\n this.pageLoaderService.setPageLoaderStatus(false);\r\n if (this.IFDMock) {\r\n this.signupSetupService.getIFDMockDetails().subscribe((resp) => {\r\n console.log(\"mock response==>\", resp);\r\n this.pageLoaderService.setPageLoaderStatus(true);\r\n if (resp.InquireFanDetailsResponse.operationStatus == 'SUCCESS') {\r\n this.isROMEFailed = false;\r\n console.log(\"ROME IFD Response: \" + resp);\r\n if (this.validateIFDCustomerDetails(resp?.InquireFanDetailsResponse?.FanDetails?.CustomerContactDetails)) {\r\n if (this.validateIFDAccountDetails(resp?.InquireFanDetailsResponse?.FanDetails?.AccountDetails)) {\r\n let accountDetails = resp?.InquireFanDetailsResponse?.FanDetails?.AccountDetails;\r\n let isOrgTypeIsEducation = false;\r\n if (accountDetails?.orgType && accountDetails?.orgType != '') {\r\n let naicsCode = accountDetails?.orgType;\r\n if (naicsCode.slice(0, 2) == 61) {\r\n isOrgTypeIsEducation = true;\r\n } else {\r\n isOrgTypeIsEducation = false;\r\n }\r\n }\r\n if (isOrgTypeIsEducation) {\r\n this.showIFDError(this.IFDGenericErrorMessage);\r\n } else {\r\n sessionStorage.setItem(\"romeResponse\", JSON.stringify(resp));\r\n this.isROMEFailed = false;\r\n this.router.navigate(['/signupsetup/review']);\r\n }\r\n } else {\r\n this.showIFDError(this.IFDGenericErrorMessage);\r\n }\r\n } else {\r\n this.showIFDError(this.IFDGenericErrorMessage);\r\n }\r\n } else {\r\n // this.showIFDError(resp.InquireFanDetailsResponse.errorCode + \" : \" + resp.InquireFanDetailsResponse.errorMessage);\r\n this.showIFDError(this.IFDGenericErrorMessage);\r\n }\r\n }, (error) => {\r\n this.pageLoaderService.setPageLoaderStatus(true);\r\n this.showIFDError(this.IFDCommonErrorMessage);\r\n // console.error(error);\r\n })\r\n } else {\r\n this.signupSetupService.getInquireFanDetails(payload).\r\n subscribe(resp => {\r\n this.pageLoaderService.setPageLoaderStatus(true);\r\n if (resp.InquireFanDetailsResponse.operationStatus == 'SUCCESS') {\r\n this.isROMEFailed = false;\r\n console.log(\"ROME IFD Response: \" + resp);\r\n if (this.validateIFDCustomerDetails(resp?.InquireFanDetailsResponse?.FanDetails?.CustomerContactDetails)) {\r\n if (this.validateIFDAccountDetails(resp?.InquireFanDetailsResponse?.FanDetails?.AccountDetails)) {\r\n let accountDetails = resp?.InquireFanDetailsResponse?.FanDetails?.AccountDetails;\r\n let isOrgTypeIsEducation = false;\r\n if (accountDetails?.orgType && accountDetails?.orgType != '') {\r\n let naicsCode = accountDetails?.orgType;\r\n if (naicsCode.slice(0, 2) == 61) {\r\n isOrgTypeIsEducation = true;\r\n } else {\r\n isOrgTypeIsEducation = false;\r\n }\r\n }\r\n if (isOrgTypeIsEducation) {\r\n this.showIFDError(this.IFDGenericErrorMessage);\r\n } else {\r\n sessionStorage.setItem(\"romeResponse\", JSON.stringify(resp));\r\n this.isROMEFailed = false;\r\n this.router.navigate(['/signupsetup/review']);\r\n }\r\n } else {\r\n this.showIFDError(this.IFDGenericErrorMessage);\r\n }\r\n } else {\r\n this.showIFDError(this.IFDGenericErrorMessage);\r\n }\r\n } else {\r\n this.showIFDError(this.IFDCommonErrorMessage);\r\n }\r\n }, (error) => {\r\n this.pageLoaderService.setPageLoaderStatus(true);\r\n this.showIFDError(this.IFDCommonErrorMessage);\r\n // console.error(error);\r\n });\r\n }\r\n\r\n }\r\n } else {\r\n this.router.navigate(['/signupsetup/review']);\r\n }\r\n\r\n }\r\n\r\n }\r\n }\r\n\r\n showIFDError(errorMsg: string) {\r\n window.scrollTo(0, 0);\r\n this.isROMEFailed = true;\r\n this.IFDErrorMessage = errorMsg;\r\n }\r\n\r\n dismissInfo() {\r\n this.isROMEFailed = false;\r\n }\r\n\r\n arrayCompare(arr1, arr2) {\r\n return arr1.every(elm => elm.required && arr2.includes(elm.attrName));\r\n }\r\n\r\n checkFieldsSize(arr1, obj) {\r\n return arr1.every(elm => obj[elm.attrName] != '' && obj[elm.attrName].length <= elm.size);\r\n }\r\n\r\n validateIFDCustomerDetails(customerDetails: any) {\r\n if (customerDetails && customerDetails.length > 0) {\r\n // return customerDetails.every((customer: any) => {\r\n // let custKeys = Object.keys(customer);\r\n // if(!this.arrayCompare(this.abmfeRequiredFields[\"customerContactDetails\"], custKeys)){\r\n // return false\r\n // }else{\r\n // if(!this.checkFieldsSize(this.abmfeRequiredFields[\"customerContactDetails\"], customer)){\r\n // return false; \r\n // }\r\n // }\r\n // })\r\n return customerDetails.every(customer => this.arrayCompare(this.abmfeRequiredFields[\"customerContactDetails\"], Object.keys(customer)) && this.checkFieldsSize(this.abmfeRequiredFields[\"customerContactDetails\"], customer));\r\n // return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n validateIFDAccountDetails(accountDetails: any) {\r\n let accKeys = Object.keys(accountDetails);\r\n if (!this.arrayCompare(this.abmfeRequiredFields[\"accountDetails\"], accKeys)) {\r\n return false;\r\n } else {\r\n if (!this.checkFieldsSize(this.abmfeRequiredFields[\"accountDetails\"], accountDetails)) {\r\n return false;\r\n } else {\r\n return true;\r\n }\r\n\r\n }\r\n }\r\n}\r\n","
    \n
    \n \n
    \n
    \n

    Error

    \n

    {{accountsData.content.errorMessage}}

    \n
    \n
    \n
    \n\n\n\n
    \n
    \n \n
    \n
    \n {{accountsData.content.errorMessageGoogle.apiError}} \n {{accountsData.content.errorMessageGoogle.productSelectionPageLink}} \n {{accountsData.content.errorMessageGoogle.apiErrorDesc}}\n {{accountsData.content.error}}\n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n

    Error

    \n

    {{IFDErrorMessage}}

    \n
    \n
    \n
    \n
    \n
    \n

    {{accountsData.content.heading}}

    \n

    \n {{accountsData.content.note}}\n {{prodcode}} Service Guide\n {{prodcode}} Service\n Guide\n {{prodcode}} User Guide.\n

    \n
    \n

    {{accountsData.content.selectedFans}}

    \n
    \n
    \n
    \n \n
    \n {{accountsData.content.existingDevicesTooltip}}
    \n
    \n \n \n \n\n \n\n \n\n\n
    \n\n
    \n

    {{accountsData.content.termsAndCondition.legalAgreement1}}

    \n
    \n

    {{accountsData.content.termsAndCondition.description7}}\n {{accountsData.content.termsAndCondition.link6}}.\n

    \n

    Use of {{prodcode}} is subject to the Terms & Conditions in the\n {{prodcode}} Service Guide\n {{prodcode}} Service\n Guide\n

    \n

    Use of {{prodcode}} is subject to the Terms & Conditions on the\n {{prodcode}} portal.\n

    \n
    \n\n
    \n \n {{accountsData.content.buttons.cancel}}\n
    \n\n
    \n\n\n
    \n \n \n
    \n

    \n {{accountsData.content.note}}\n {{prodcode}} Service Guide\n {{prodcode}} Service\n Guide\n {{prodcode}} Service Guide.\n

    \n

    {{accountsData.content.selectedFans}}

    \n

    {{selectedFansCount[i]}}

    \n
    \n
    \n \n
    \n {{accountsData.content.existingDevicesTooltip}}
    \n
    \n \n\n \n \n \n \n\n
    \n\n
    \n

    {{this.initialModel.productSelection.header3}}

    \n
    \n

    {{this.initialModel.productSelection.description7}}\n {{this.initialModel.productSelection.link6}}.\n

    \n

    Use of {{prodcode}} is subject to the Terms & Conditions in the\n {{prodcode}} Service Guide\n {{prodcode}} Service\n Guide\n {{prodcode}} Service Guide.\n

    \n
    \n\n
    \n \n {{accountsData.content.buttons.cancel}}\n
    \n
    \n
    \n
    \n\n
    \n
    ","import { Component, OnInit, AfterViewInit, ViewEncapsulation, HostListener, ViewChild, ElementRef } from '@angular/core';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { UtilityService, AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';\nimport { GridOptionsModel, ColumnDefinitionsModel } from 'lib/ng2-sapmp/src/ui-components/custom-grid';\nimport { ManageInventoryService } from '../../manage-inventory/shared/providers/manage-inventory.service';\nimport { StepIndicatorModel, StepIndicatorService } from 'lib/ng2-sapmp/src/ui-components';\nimport { SignupSetupInputModel, SignupSetupOutputModel, FanModel, EnrollmentDateModel } from '../../signup-setup/shared/models/signup-setup.models';\n// import { AccordionComponent } from 'lib/ng2-sapmp/src/ui-components/accordion/accordion.component';\nimport { PageLoaderService } from 'lib/ng2-sapmp/src/ui-components/page-loader';\nimport { SIGNUPSETUPDATA } from 'config';\nimport { BreadCrumbService } from 'lib/ng2-sapmp/src/ui-components/breadcrumb/breadcrumb.service';\nimport { MobilePivotModel } from 'lib/ng2-sapmp/src/ui-components/mobile-pivot';\nimport { MOBILEPIVOTS, TERMSCONDITIONS } from 'config';\nimport { ConfirmModalPopupModel } from 'lib/ng2-sapmp/src/ui-components/confirm-modal';\nimport { SignupSetupService } from '../shared/providers/signup-setup.service';\nimport { KEY_CONFIG } from 'lib/ng2-sapmp/src/config/key-config';\n\n\n\n@Component({\n selector: 'app-enrollmentpoc',\n templateUrl: './enrollmentpoc.component.html',\n styleUrls: ['./enrollmentpoc.component.scss'],\n providers: [SignupSetupService, ManageInventoryService, AdobeAnalyticsService],\n encapsulation: ViewEncapsulation.None\n})\n\nexport class EnrollmentpocComponent implements OnInit {\n\n @ViewChild('fileInput') fileInput: ElementRef;\n gridOptions: Array;\n stepIndicators: StepIndicatorModel[];\n confirmModalPopup: ConfirmModalPopupModel;\n stepSessionName: string;\n initModal: boolean;\n modalMsg: string;\n mailId: string;\n videoId: string;\n modalClass: string;\n signupSetup: boolean = false;\n backFromReview: boolean = false;\n signupSetupInputData: SignupSetupInputModel;\n signupSetupOutputData: SignupSetupOutputModel;\n companyId: number;\n haveTab: boolean;\n activeTab: number;\n selectedFanList: number;\n tabArray: Array;\n accordionList: boolean;\n pageTitle: string;\n pageDescription: string;\n pageLink: string;\n pageDescription2: string;\n accountsData: any;\n showError: boolean;\n errorMessage: string;\n showGoogleCreationError: boolean;\n dcmCodes = 'ABC_TNC_001';\n haveAccordion: boolean;\n eligibleFanCount: number;\n pivots: Array;\n termscondUrl: any;\n termsCondproductURl: any;\n selected: any;\n eventEmit: any;\n title: any;\n supportArticle: any;\n showOverviewModal: boolean;\n private enrollDates: EnrollmentDateModel;\n private FANListSel: Array = [];\n private FANListAdd: Array = [];\n private FANListAct: Array = [];\n private FANListPro: Array = [];\n private FANListALL: Array = [];\n private successfullySignupFAN: Array = [];\n selectedFansCount: Array = [];\n helpArticles: any;\n article: any;\n isMobile: any;\n termsCondi: any;\n staticTcUrl: any;\n guideUrl: any;\n MdmSelection: any;\n prodFlag: boolean;\n emmProductCode: any;\n tmc: any;\n kme: boolean;\n ztp: boolean;\n abm: boolean;\n mdm: boolean;\n querytab: string;\n supportArticles: any;\n prodcode: string;\n emailEnabled: boolean = true;\n smsEnabled: boolean = true;\n notificationType: any = '';\n @ViewChild('emailNotification') emailNotification: ElementRef;\n @ViewChild('textMessageNotification') textMessageNotification: ElementRef;\n @ViewChild('enrollBox') enrollBox: ElementRef;\n initialSignup: boolean = false;\n readySignupSetupFans: any[];\n isFansZero: boolean = false;\n enableCont: boolean = false;\n signupData: any;\n notfFlag : boolean = false;\n canEnroll: boolean = false;\n enrollArray: any[] = [];\n showErrors: boolean = false;\n enrollEnable: boolean = false;\n allFansData: any;\n signupDataBack: any;\n checkedFanList: any;\n failFromReviewFlag: string;\n constructor(private router: Router,\n private pageloaderService: PageLoaderService,\n private activatedRoute: ActivatedRoute,\n private signupSetupService: SignupSetupService,\n private manageInventoryService: ManageInventoryService,\n private utilityService: UtilityService,\n private stepindicatorService: StepIndicatorService,\n private adobeAnalyticsService: AdobeAnalyticsService,\n private breadCrumbService: BreadCrumbService,\n private pageLoaderService: PageLoaderService,private stepIndicatorService: StepIndicatorService,private route: ActivatedRoute) {\n\n this.gridOptions = [];\n this.eligibleFanCount =0;\n this.enrollArray =[];\n }\n\n ngOnInit() {\n\n this.breadCrumbService.removeLastBreadCrumb();\n this.breadCrumbService.setCurrentBreadCrumb({ label: 'Device Enrollment Program', routerLink: '/signupsetup/enrollmentoptions' });\n\n this.stepIndicatorService.setCurrentStep(\"enrollmentoptions\");\n this.stepIndicatorService.setVisibility(true);\n\n const arrTemp = [\n {\n \"fanId\": \"57503613\",\n \"addpEligibleStatus\": true\n },\n {\n \"fanId\": \"57503609\",\n \"addpEligibleStatus\": true\n },\n {\n \"fanId\": \"57503614\",\n \"addpEligibleStatus\": true\n }\n ]\n\n const configArr = [\n {\n \"caption\": \"Foundation account\",\n \"field\": \"fanId\",\n \"type\": \"TEXT\",\n \"sortDirection\": \"Asc\",\n \"enableSorting\": false,\n \"enableFilter\": false,\n \"cssClass\": \"\",\n \"priority\": 1,\n \"customTemplate\": \"fanEligiblityStatus\"\n },\n {\n \"caption\": \"Existing devices\",\n \"field\": \"enroll\",\n \"type\": \"CUSTOMCONTENT\",\n \"sortDirection\": \"Asc\",\n \"enableSorting\": false,\n \"enableFilter\": false,\n \"cssClass\": \"\",\n \"priority\": 2,\n \"templateIndex\": 0\n }\n]\n\nconst rowArr = {\n \"field\": \"addpEligibleStatus\"\n}\n\n this.initGrid(arrTemp,configArr,false,'','');\n }\n\n\n initGrid(respobj, colDef: Array, disableRow: boolean, disableRowCondition,\n disableRowConditionInverse) {\n const options = new GridOptionsModel();\n options.enableFiltering = false;\n options.enableSorting = false;\n options.multiSelect = true;\n options.disableSelectAll = true;\n \n \n\n const mdmDetails = JSON.parse(sessionStorage.getItem('mdmDetails'));\n \n const pagination = {\n recordsPerPage: 20,\n currentPage: 1,\n isServerSide: false,\n totalRecords: respobj.length\n };\n\n options.Paginations = pagination;\n \n \n\n \n options.gridData = respobj;\n options.columnDefinitions = colDef;\n options.gridData = options.gridData.map(data => {\n if(data.enroll === undefined) {\n data.enroll = false;\n }\n return data;\n });\n //options.searchPlaceHolder = 'Enter full foundation account number';\n //options.searchType = 'number';\n this.gridOptions.push(options);\n \n }\n\n continueToNext(){\n\n this.router.navigate(['/signupsetup/reviewpoc']);\n\n\n }\n\n existingDevices(row) {\n\n const fromBackFlag = JSON.parse(sessionStorage.getItem('step1done'));\n let updateSelectedSignupFanList = JSON.parse(sessionStorage.getItem('selectedSignupFanList'));\n if (fromBackFlag || this.failFromReviewFlag) {\n this.enrollArray = JSON.parse(sessionStorage.getItem('enrollArray'));\n if (this.enrollArray !== null) {\n if (this.enrollArray.includes(row.fanId) !== true) {\n if (row.enroll !== row.selected) {\n this.enrollArray.push(row.fanId);\n }\n } else {\n //this.enrollArray.remove(row.fanId);\n const index = this.enrollArray.indexOf(row.fanId);\n if (index > -1) {\n this.enrollArray.splice(index, 1);\n }\n console.log(this.enrollArray);\n }\n } else {\n this.enrollArray = [];\n row.enroll = true;\n this.enrollArray.push(row.fanId);\n }\n sessionStorage.setItem('enrollArray', JSON.stringify(this.enrollArray));\n updateSelectedSignupFanList.forEach(element => {\n if (element.fanId === row.fanId) {\n element.enroll = row.selected;\n }\n });\n sessionStorage.setItem('selectedSignupFanList', JSON.stringify(updateSelectedSignupFanList));\n sessionStorage.removeItem('step1done');\n } else {\n //this.enrollArray.push(row.fanId);\n if (this.enrollArray.includes(row.fanId) === false) {\n this.enrollArray.push(row.fanId);\n }\n sessionStorage.setItem('enrollArray', JSON.stringify(this.enrollArray));\n sessionStorage.removeItem('step1done');\n }\n //console.log(this.enrollArray);\n \n }\n\n onRowClick(action) {\n\n if (action !== \"\") {\n if(action.data.selected === true){\n this.eligibleFanCount++;\n this.enrollArray.push(action.data.fanId)\n sessionStorage.setItem(\"enrollArraypoc\", JSON.stringify(this.enrollArray));\n\n\n }\n }\n\n\n\n\n\n\n\n }\n\n\n\n}\n","
    \r\n
    \r\n \r\n
    \r\n
    \r\n

    Error

    \r\n

    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \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 foundation accounts

    \r\n

    \r\n Select the foundation accounts you want to include in your device enrollment. You can set up each of your foundation accounts in different device enrollment programs, if you choose. You can repeat these steps for another selection after completing this enrollment. Note: You won't be able to change the account selection after you click Continue. For more information about Android Zero-touch, see the Android Zero-touch Service Guide.\r\n \r\n

    \r\n
    \r\n

    You've selected {{eligibleFanCount}} accounts.

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

    Legal Agreements

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

    Use of AT&T's Device Management Program is subjected to the Terms of Use for AT&T's Device Management Program.Use of Android Zero-touch is subject to the Terms & Conditions in the Android Zero-touch Service Guide.

    \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
    \r\n \r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n \r\n
    \r\n

    \r\n
    \r\n

    \r\n .\r\n

    \r\n

    Use of Android Zero-touch is subject to the Terms & Conditions in the \r\n Android Zero-touch Service Guide\r\n Android Zero-touch Service Guide\r\n Android Zero-touch Service Guide.\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
    \r\n
    \r\n ","export * from './signup-setup.component';\nexport * from './enrollment-signup-setup/enrollment-signup-setup.component';\nexport * from './review-signup-setup/review-signup-setup.component';\nexport * from './confirm-signup-setup/confirm-signup-setup.component';","import { Component, OnInit, ElementRef, ViewChild } from '@angular/core';\nimport { StepIndicatorService, BreadCrumbService, PageLoaderService, DatePickerService } from 'lib/ng2-sapmp/src/ui-components';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { SignupSetupService } from '../shared/providers/signup-setup.service';\nimport { AdobeAnalyticsService, AuthenticationService, UtilityService } from 'lib/ng2-sapmp/src/providers';\nimport { FanModel, SignupSetupInputModel, SignupSetupOutputModel } from '../shared/models/signup-setup.models';\nimport { KEY_CONFIG } from 'lib/ng2-sapmp/src/config/key-config';\nimport { BaseProfileModel } from 'lib/ng2-sapmp/src/models';\nimport { interval } from 'rxjs';\nimport { exhaustMap, filter, mergeMap, takeUntil, tap } from 'rxjs/operators';\nimport {ERRCODES, ABMFE_CONTENTS} from 'config';\n\n@Component({\n selector: 'app-review-signup-setup',\n templateUrl: './review-signup-setup.component.html',\n styleUrls: ['./review-signup-setup.component.scss'],\n providers: [SignupSetupService, DatePickerService, AdobeAnalyticsService]\n})\nexport class ReviewSignupSetupComponent implements OnInit {\n\n selectedFanList: any;\n isGroupBased: any;\n uploadedFileName: any = '';\n @ViewChild('confirm') confirm : ElementRef;\n isDisabled: boolean = true;\n reviewSignupSetup: any;\n showErrors = false;\n submitting = false;\n notEnrolledFanList: any;\n enrollmentDate: string;\n signupSetupInputData: SignupSetupInputModel;\n signupSetupOutputData: SignupSetupOutputModel;\n private successfullySignupFAN: Array = [];\n prodcode: string;\n mailId: any;\n mdmdets: any;\n proddets: any;\n kme: boolean = false;\n ztp: boolean = false;\n abm: boolean = false;\n notificationType: any;\n signupdata: { };\n fansArray: { };\n initialSignup: boolean = false;\n new: string;\n existing: string;\n prof: {};\n appli: {};\n settng: {};\n email: boolean = false;\n sms: boolean = false;\n eachFan: {};\n existingDate: string;\n selectedFANs: any;\n enrollArray: any[] = [];\n signupArray: any[] = [];\n fanDetails: any[] = [];\n user: BaseProfileModel;\n ctnUser : any;\n contactNumber : any;\n secondNewFan: any;\n secondFanStatus: any;\n manageProduct: any;\n emmProductCode: any;\n selectedAccID: any;\n tranId: string;\n errorMessage: string;\n timerStart: number;\n setupError: boolean = false;\n status: boolean;\n depError: boolean = false;\n depFansList: any[] = [];\n failArray: any[] = [];\n fanInfoList : any[] = [];\n revisedFanList: any[] = [];\n fansAvailable: any;\n showFansFlag: boolean = false;\n fe: { firstName: string; lastName: string; email: string;};\n userData: any;\n firstName: any;\n lastName: any;\n userEmail: any;\n feFlag: boolean;\n checkSignup: { emmAccountId: string; emmProductCode: any; fanDetails: any[]; };\n ABMFE_payload: any;\n isFEFailed: boolean = false;\n isFEFailedWithError: boolean = false;\n ABMFESuccessMessage: string = '';\n ABMFEErrorMessage: any = '';\n ABMFEErrorMessageDescription: any = '';\n ABMFEErrorMessageFooter: any = '';\n errorDescShow: boolean = false;\n customerRoles: any[];\n //showGoogleCreationError: boolean = false;\n\n constructor(private stepIndicatorService: StepIndicatorService, \n private pageLoaderService: PageLoaderService, private utilityService: UtilityService, private authenticationService: AuthenticationService,\n private route: ActivatedRoute, private breadCrumbService: BreadCrumbService, private dateformatter: DatePickerService,\n private router: Router, private signupSetupService: SignupSetupService, private adobeAnalyticsService: AdobeAnalyticsService) {\n \n const profileData = JSON.parse(sessionStorage.getItem('user'));\n this.mailId = profileData.user.emailAddress;\n \n }\n\n ngOnInit() {\n this.breadCrumbService.removeLastBreadCrumb();\n this.breadCrumbService.setCurrentBreadCrumb({ label: 'Device Enrollment Program', routerLink: '/signupsetup/review' });\n this.stepIndicatorService.setCurrentStep(this.route.snapshot.url[0].path);\n this.stepIndicatorService.setVisibility(true);\n this.showErrors = false;\n this.reviewSignupSetup = this.route.snapshot.data.pageData.signupsetupreview;\n this.prodcode = sessionStorage.getItem('prodcode');\n this.mdmdets = JSON.parse(sessionStorage.getItem('mdmDetails'));\n this.proddets = JSON.parse(sessionStorage.getItem('manage-product'));\n if (this.proddets.emmProductCode === \"DMPGZTP\") {\n this.kme = false;\n this.ztp = true;\n this.abm = false;\n } else if (this.proddets.emmProductCode === \"DMPAABM\") {\n this.kme = false;\n this.ztp = false;\n this.abm = true;\n } else if (this.proddets.emmProductCode === \"DMPSKME\") {\n this.kme = true;\n this.ztp = false;\n this.abm = false;\n }\n this.reviewSignupSetup.PopMsgSystemFailure.description =\n this.reviewSignupSetup.PopMsgSystemFailure.description.replace('', this.mailId);\n this.notEnrolledFanList = JSON.parse(sessionStorage.getItem('signupFanList'));\n this.selectedFanList = JSON.parse(sessionStorage.getItem('selectedSignupFanList'));\n this.enrollArray = JSON.parse(sessionStorage.getItem('enrollArray'));\n if (!this.enrollArray) {\n this.enrollArray = [];\n }\n\n //setting existing and enroll date\n this.enrollmentDate = this.dateformatter.formatDate('yyyy-mm-dd', new Date());\n let minDate = new Date();\n this.existingDate = this.dateformatter.formatDate('yyyy-mm-dd', new Date( minDate.getFullYear(), minDate.getMonth(), (minDate.getDate() + 1)));\n\n let restArray = [];\n this.selectedFanList.forEach(element => {\n if (!this.enrollArray.includes(element.fanId)) {\n restArray.push(element.fanId);\n }\n });\n console.log(restArray);\n\n this.enrollArray.forEach(element => {\n let data = {\n \"fanId\" : element,\n \"enroll\": true,\n \"status\": \"Enroll\",\n \"new\" : this.enrollmentDate,\n \"existing\" : this.existingDate\n }\n this.signupArray.push(data);\n });\n\n restArray.forEach(element => {\n let data = {\n \"fanId\" : element,\n \"enroll\": false,\n \"status\": \"Do Not Enroll\",\n \"new\" : this.enrollmentDate,\n \"existing\" : \"\"\n }\n this.signupArray.push(data);\n });\n\n this.signupArray = this.signupArray.sort((a, b) => a.fanId - b.fanId);\n this.signupArray = this.uniqueData(this.signupArray)\n sessionStorage.setItem('signedupData', JSON.stringify(this.signupArray));\n this.isDisabled = true;\n\n if(sessionStorage.getItem('feFlag') == \"true\"){\n this.proddets.selectedAccID = \"Pending\"; \n }\n //Customer roles for ABM FE\n // this.customerRoles = this.reviewSignupSetup.roles;\n }\n\n uniqueData(arr){ \n const uniqueIds = [];\n const unique = arr.filter(element => {\n const isDuplicate = uniqueIds.includes(element.fanId);\n\n if (!isDuplicate) {\n uniqueIds.push(element.fanId);\n return true;\n }\n return false;\n });\n return unique ;\n }\n\n enableSubmit() {\n if(this.confirm.nativeElement.checked == true) {\n this.isDisabled = false;\n }\n else {\n this.isDisabled = true;\n }\n }\n\n clickBack() {\n this.pageLoaderService.setPageLoaderStatus(false);\n this.router.navigate(['/signupsetup/enrollmentoptions']);\n sessionStorage.setItem('backFromReview', 'true');\n }\n\n dismissInfo() {\n this.showErrors = false;\n this.isFEFailed = false;\n this.isFEFailedWithError = false;\n }\n // toggleTooltip(event) {\n // if (event.type !== 'click') {\n // if (event.keyCode !== KEY_CONFIG.enter) {\n // return;\n // }\n // }\n // let targetElement = event.target;\n // const elems = document.querySelectorAll('.tooltipActive');\n // let iselementActive = false;\n // if (targetElement.classList.contains('tooltipActive')) {\n // iselementActive = true;\n // }\n // [].forEach.call(elems, function (ele) {\n // ele.classList.remove('tooltipActive');\n // });\n // if (iselementActive) {\n // targetElement.classList.remove('tooltipActive');\n // } else {\n // targetElement.classList.add('tooltipActive');\n // }\n // }\n\n toggleTooltipEnter(event) {\n if (event.type !== 'mouseenter') {\n if (event.keyCode !== KEY_CONFIG.enter) {\n return;\n }\n }\n let targetElement = event.target;\n const elems = document.querySelectorAll('.tooltipActive');\n let iselementActive = false;\n if (targetElement.classList.contains('tooltipActive')) {\n iselementActive = true;\n }\n [].forEach.call(elems, function (ele) {\n ele.classList.remove('tooltipActive');\n });\n if (iselementActive) {\n targetElement.classList.remove('tooltipActive');\n } else {\n targetElement.classList.add('tooltipActive');\n }\n }\n\n toggleTooltipLeave(event) {\n if (event.type !== 'mouseleave') {\n if (event.keyCode !== KEY_CONFIG.enter) {\n return;\n }\n }\n let targetElement = event.target;\n const elems = document.querySelectorAll('.tooltipActive');\n let iselementActive = false;\n if (targetElement.classList.contains('tooltipActive')) {\n iselementActive = true;\n }\n [].forEach.call(elems, function (ele) {\n ele.classList.remove('tooltipActive');\n });\n if (iselementActive) {\n targetElement.classList.remove('tooltipActive');\n } else {\n targetElement.classList.add('tooltipActive');\n }\n }\n\n\n handleSuccessResponse(resobj) {\n //console.log('Signup API response time => ' + new Date().getTime());\n if(resobj.status === 'Failed') {\n this.signupSetupService.saveSignupSetupModel(this.signupSetupInputData, this.signupSetupOutputData, this.selectedFanList);\n this.handleError('signup');\n } else if (resobj.status === 'Partial Failed' || resobj.status === 'success') {\n if (resobj.status === 'success') {\n let successFanList = resobj.successFanList;\n this.signupSetupOutputData.FANList.awaitingSignupFanList.filter(item => {\n successFanList.filter(f => {\n if(item.fanId === f.fanId) {\n this.successfullySignupFAN.push(item);\n }\n });\n });\n this.signupSetupOutputData.FANList.awaitingSignupFanList = this.successfullySignupFAN;\n }\n this.signupSetupService.saveSignupSetupModel(this.signupSetupInputData, this.signupSetupOutputData, this.selectedFanList);\n // Adobe Analytics Starts\n this.adobeAnalyticsService.createAdobeEventProperties('MANAGE_DEVICE', 'SUCCESS', 'formResponse',\n 'BC_Device_SignupSetup_Continue_Submit', 'success', 'Success_Admit', 'Continue', 'Body', '/businessconsole/signupsetup/confirm');\n this.router.navigate(['/signupsetup/confirm']);\n }\n }\n\n continueToNext() {\n\n this.submitting = true;\n this.pageLoaderService.setPageLoaderStatus(false);\n \n this.manageProduct = JSON.parse(sessionStorage.getItem('manage-product'));\n this.emmProductCode = this.manageProduct.emmProductCode;\n this.selectedAccID = this.manageProduct.selectedAccID;\n\n this.ctnUser = JSON.parse(sessionStorage.getItem('user'));\n this.contactNumber = this.ctnUser.user.contactPhoneNumber;\n \n this.selectedFANs = JSON.parse(sessionStorage.getItem('signupFanList'));\n this.fanInfoList = sessionStorage.getItem('fanInfoList') != 'undefined' ? JSON.parse(sessionStorage.getItem('fanInfoList')) : [];\n let inactiveList = this.fanInfoList.filter(item => item.accountStatus === 'INACTIVE');\n let activeList = this.fanInfoList.filter(item => item.accountStatus === 'ACTIVE');\n this.revisedFanList = sessionStorage.getItem('fansSignedUp') != 'undefined' ? JSON.parse(sessionStorage.getItem('fansSignedUp')) : [];\n let selectedFansEnrolled = this.selectedFANs.selectedEnrollFans;\n let tempData = [];\n let secondNewFanStatus = [];\n if (selectedFansEnrolled && selectedFansEnrolled.length > 0) { \n \n selectedFansEnrolled.map( (item) => {\n tempData = this.revisedFanList.filter((x) => x.fanId === item.fanId);\n }); \n }\n\n selectedFansEnrolled.forEach(element => {\n if (!this.fanInfoList.includes(element.fanId)) {\n this.secondNewFan = element.fanId;\n }\n }); \n \n selectedFansEnrolled.map((ele) => {\n secondNewFanStatus = inactiveList.filter((y) => y.fanId === ele.fanId);\n this.secondFanStatus = \"INACTIVE\"\n });\n\n\n if(!this.contactNumber) {\n \n if(this.fanInfoList.length == 0 || (inactiveList.length > 0 && activeList.length == 0)) {\n this.signupArray.map((elm) => {\n elm.emailEnabled = true;\n elm.smsEnabled = false;\n });\n }\n\n else if((tempData.length === 0) && (!this.fanInfoList.includes(this.secondNewFan) || (this.fanInfoList.includes(this.secondNewFan)) && (this.secondFanStatus === \"INACTIVE\"))) {\n this.signupArray.map((elm) => {\n elm.emailEnabled = true;\n elm.smsEnabled = false;\n });\n }\n else if(tempData.length > 0){\n this.signupArray.map((elm, index) => {\n elm.emailEnabled = (tempData[index].communicationPref == \"Email\" || tempData[index].communicationPref == \"Both\") ? true : false;\n elm.smsEnabled = (tempData[index].communicationPref == \"Sms\" || tempData[index].communicationPref == \"Both\") ? true : false;\n });\n }\n }\n\n\n else {\n if (this.selectedFANs.notificationType === \"Both\") {\n this.signupArray.map((elm, index) => {\n elm.emailEnabled = true;\n elm.smsEnabled = true;\n });\n } else if (this.selectedFANs.notificationType === \"Email\") {\n this.signupArray.map((elm) => {\n elm.emailEnabled = true;\n elm.smsEnabled = false;\n });\n } else if (this.selectedFANs.notificationType === \"TextMessage\") {\n this.signupArray.map((elm) => {\n elm.emailEnabled = false;\n elm.smsEnabled = true;\n });\n }\n }\n\n this.signupArray.forEach(element => {\n this.eachFan = \n {\n \"memberdetails\" : {\n \"fanid\" : [ element.fanId ]\n },\n \"deviceEnrollDate\" : {\n \"newDate\" : element.new,\n \"existingDate\" : element.existing\n },\n \"profileName\" : \" \",\n \"settings\" : [\n {\n \"newDevNwt\": true,\n \"extDevNwt\": true,\n \"securityPolicy\": \" \",\n \"passCodePolicy\": \" \",\n \"emailEnabled\": element.emailEnabled,\n \"smsEnabled\": element.smsEnabled\n }\n ],\n \"applications\" : []\n }\n\n // if(sessionStorage.getItem('feFlag') == \"true\"){\n // this.eachFan[\"deviceEnrollDate\"] = {\n // \"newDate\" : element.new,\n // \"existingDate\" : element.existing\n // }\n // }\n\n this.fanDetails.push(this.eachFan);\n \n }); \n\n if(sessionStorage.getItem('feFlag') == \"true\"){\n this.userData = JSON.parse(sessionStorage.getItem('user'));\n this.firstName = this.userData.user.firstName;\n this.lastName = this.userData.user.lastName;\n this.userEmail = this.userData.user.emailAddress;\n let ifdResponse = sessionStorage.getItem(\"romeResponse\") ? JSON.parse(sessionStorage.getItem(\"romeResponse\")) : {};\n //validating secondary contacts with premier \n let secondaryContactFirstName = \"\", secondaryContactLastName = \"\", secondaryContactEmail = \"\", secondaryContactJobTitle = \"\";\n let responseDetails = ifdResponse?.InquireFanDetailsResponse?.FanDetails;\n if(responseDetails?.CustomerContactDetails && responseDetails?.CustomerContactDetails.length > 0){\n // let secData = responseDetails?.CustomerContactDetails.find(data => data.email != this.userEmail && data.firstName != this.firstName && data.lastName != this.lastName);\n // //let secData = responseDetails?.CustomerContactDetails.filter(data => this.customerRoles.indexOf(data.type.toLowerCase()) != -1);\n // if(!secData){\n // secondaryContactFirstName = secData ? secData[0].firstName : \"\";\n // secondaryContactLastName = secData ? secData[0].lastName : \"\";\n // secondaryContactEmail = secData ? secData[0].email : \"\";\n // secondaryContactJobTitle = secData ? secData[0].type : \"\";\n // }else{\n // this.pageLoaderService.setPageLoaderStatus(true);\n // this.isFEFailed = true;\n // this.ABMFEErrorMessage = ERRCODES['ABM_FE_GENERIC_ERROR_MESSAGE'];\n // return;\n // }\n \n // }else{\n secondaryContactFirstName = responseDetails?.CustomerContactDetails[0].firstName;\n secondaryContactLastName = responseDetails?.CustomerContactDetails[0].lastName;\n secondaryContactEmail = responseDetails?.CustomerContactDetails[0].email;\n secondaryContactJobTitle = responseDetails?.CustomerContactDetails[0].type;\n }else{\n this.pageLoaderService.setPageLoaderStatus(true);\n this.isFEFailed = true;\n this.ABMFEErrorMessage = ERRCODES['ABM_FE_GENERIC_ERROR_MESSAGE'];\n return;\n }\n\n let orgDetails = responseDetails?.AccountDetails;\n // let orgNameInc = Math.round(Math.random()*1000000);\n this.ABMFE_payload = {\n \"requestContext\": {\n \"shipTo\": ABMFE_CONTENTS['SHIP_TO'],\n \"timeZone\": ABMFE_CONTENTS['TIMEZONE'],\n \"langCode\": ABMFE_CONTENTS['LANGCODE']\n },\n // \"depResellerId\": \"0000601526\",\n \"depResellerId\": this.utilityService.getEnvConfig().abmfeDepResellerId, //ABMFE_CONTENTS['DEP_RESELLER_ID'],\n \"partnerTxnId\": ABMFE_CONTENTS['PARTNER_TXN_ID'],\n \"enrollmentInfo\": {\n \"orgType\": ABMFE_CONTENTS['ORG_TYPE'],\n \"orgName\": orgDetails.orgName,\n \"orgAddress1\": orgDetails.orgAddress1,\n \"orgAddress2\": orgDetails?.orgAddress2 ? orgDetails?.orgAddress2 : \"\",\n \"orgAddress3\": orgDetails?.orgAddress3 ? orgDetails?.orgAddress3 : \"\",\n \"orgPostalCode\": orgDetails.orgPostalCode,\n \"orgDUNS\": orgDetails?.orgDUNS ? orgDetails?.orgDUNS : \"\",\n \"orgEduMarket\": ABMFE_CONTENTS['ORG_EDU_MARKET'],\n \"orgPhone\": orgDetails.orgPhone,\n \"orgRegion\": orgDetails.orgRegion,\n \"orgCity\": orgDetails.orgCity,\n \"orgCountry\": orgDetails.orgCountry,\n \"orgWebsite\": ABMFE_CONTENTS['ORG_WEBSITE'],\n \"secondaryContactFirstName\": secondaryContactFirstName,\n \"secondaryContactLastName\": secondaryContactLastName,\n \"secondaryContactLocale\": ABMFE_CONTENTS['SECONDARY_CONTACT_LOCALE'],\n \"secondaryContactEmail\": secondaryContactEmail,\n \"secondaryContactJobTitle\": secondaryContactJobTitle,\n \"enrolleeFirstName\": this.firstName,\n \"enrolleeLastName\": this.lastName,\n \"enrolleeJobTitle\": ABMFE_CONTENTS['ENROLEE_JOB_TITLE'],\n \"enrolleeEmail\": this.userEmail,\n // \"enrolleeEmail\": this.reviewSignupSetup.enrolleeEmail,//this line is only for testing purpose, not for production\n \"enrolleeLocale\": ABMFE_CONTENTS['ENROLEE_LOCALE']\n }\n };\n\n this.fe = {\n \"firstName\" : this.firstName,\n \"lastName\" : this.lastName,\n \"email\" : this.userEmail\n }\n \n this.signupdata = {\n \"signupsetupPayload\" : {\n \"emmAccountId\" : \"\",\n \"emmProductCode\" : this.emmProductCode,\n \"fanDetails\" : this.fanDetails\n },\n \"facilitatedEnrollmentRequest\" : this.fe,\n }\n }\n \n else{\n this.signupdata = {\n \"emmAccountId\" : this.selectedAccID,\n \"emmProductCode\" : this.emmProductCode,\n \"fanDetails\" : this.fanDetails\n }\n }\n \n\n \n\n //this.signupdata.push(this.fe);\n\n //console.log(this.signupdata);\n sessionStorage.setItem('enrolledFans', JSON.stringify(this.signupdata));\n \n\n let tranid = sessionStorage.getItem('tranid');\n if (tranid) {\n this.tranId = tranid.replace(/\\\"/g, \"\");\n }\n\n if (this.emmProductCode === \"DMPAABM\" && (sessionStorage.getItem('feFlag') == \"false\")) {\n //code from prod sel page for apple org id validation call\n //transaction id validation\n //tranIdvalidation code is shifted to product-selection page for release 2309\n this.signupProcess();\n // this.signupSetupService.tranIdValidation(this.tranId)\n // .subscribe(response => {\n // if (response.status === 'success') {\n // this.status = true;\n // this.setupError = false;\n // this.signupProcess();\n // } else if (response.status === 'retry') {\n // //poll every 20 sec\n // let poll$ = interval(20000).pipe(\n // exhaustMap(obs => \n // this.signupSetupService.tranIdValidation(this.tranId)),\n // tap(data => console.log(data))\n // );\n \n // const until$ = poll$.pipe(\n // filter(data => {\n // //let status: boolean;\n // if(data.status === 'success') {\n // this.status = true;\n // this.setupError = false;\n // this.signupProcess();\n \n // } else if (data.status === 'failure') {\n // this.status = true;\n // this.pageLoaderService.setPageLoaderStatus(true);\n // this.setupError = true;\n // this.isDisabled = true;\n // sessionStorage.setItem('failFromReviewFlag', 'true');\n // this.utilityService.loadFocusOnTop();\n \n // } else {\n // let time = Date.now() - this.timerStart;\n // this.status = (time > 45000);\n // if (this.status) {\n // this.pageLoaderService.setPageLoaderStatus(true);\n // this.setupError = true;\n // this.isDisabled = true;\n // sessionStorage.setItem('failFromReviewFlag', 'true');\n // this.utilityService.loadFocusOnTop();\n // }\n // }\n // return this.status;\n // })\n // );\n \n // const data$ = poll$.pipe(\n // takeUntil(until$))\n // .subscribe();\n \n // this.timerStart = Date.now();\n\n // } else if (response.status === 'failure') {\n // this.status = true;\n // this.pageLoaderService.setPageLoaderStatus(true);\n // this.setupError = true;\n // this.isDisabled = true;\n // sessionStorage.setItem('failFromReviewFlag', 'true');\n // this.utilityService.loadFocusOnTop();\n // }\n // }, error => {\n // this.pageLoaderService.setPageLoaderStatus(true);\n // this.isDisabled = true;\n // this.handleError('signup');\n // this.adobeAnalyticsService.createAdobeEventProperties('MANAGE_DEVICE', 'FAILURE', 'formResponse',\n // 'BC_Device_SignupSetup_Continue_Submit', 'SystemFailure',\n // 'Failure_user', 'Continue', 'Body', '/businessconsole/signupsetup/enrollmentoptions');\n // });\n\n // let poll$ = interval(20000).pipe(\n // exhaustMap(obs => \n // this.signupSetupService.tranIdValidation(this.tranId)),\n // tap(data => console.log(data))\n // );\n\n // const until$ = poll$.pipe(\n // filter(data => {\n // //let status: boolean;\n // if(data.status === 'success') {\n // this.status = true;\n // this.setupError = false;\n // this.signupProcess();\n \n // } else if (data.status === 'failure') {\n // this.status = true;\n // this.pageLoaderService.setPageLoaderStatus(true);\n // this.setupError = true;\n // this.isDisabled = true;\n // sessionStorage.setItem('failFromReviewFlag', 'true');\n // this.utilityService.loadFocusOnTop();\n\n // } else {\n // let time = Date.now() - this.timerStart;\n // this.status = (time > 60000);\n // if (this.status) {\n // this.pageLoaderService.setPageLoaderStatus(true);\n // this.setupError = true;\n // this.isDisabled = true;\n // sessionStorage.setItem('failFromReviewFlag', 'true');\n // this.utilityService.loadFocusOnTop();\n // }\n // }\n // return this.status;\n // })\n // );\n \n // const data$ = poll$.pipe(\n // takeUntil(until$))\n // .subscribe();\n\n // this.timerStart = Date.now();\n\n } else if (this.emmProductCode === \"DMPGZTP\" || this.emmProductCode === \"DMPSKME\") {\n this.signupProcess();\n }\n else if(sessionStorage.getItem('feFlag') == \"true\"){\n this.signupProcess();\n }\n\n }\n\n\n signupProcess() {\n // this.submitting = true;\n // this.pageLoaderService.setPageLoaderStatus(false);\n \n // const manageProduct = JSON.parse(sessionStorage.getItem('manage-product'));\n // const emmProductCode = manageProduct.emmProductCode;\n // const selectedAccID = manageProduct.selectedAccID;\n \n // this.selectedFANs = JSON.parse(sessionStorage.getItem('signupFanList'));\n // if (this.selectedFANs.notificationType === \"Both\") {\n // this.email = true;\n // this.sms = true;\n // } else if (this.selectedFANs.notificationType === \"Email\") {\n // this.email = true;\n // this.sms = false;\n // } else if (this.selectedFANs.notificationType === \"TextMessage\") {\n // this.email = false;\n // this.sms = true;\n // }\n\n \n // this.signupArray.forEach(element => {\n // this.eachFan = \n // {\n // \"memberdetails\" : {\n // \"fanid\" : [ element.fanId ]\n // },\n // \"deviceEnrollDate\" : {\n // \"new\" : element.new,\n // \"existing\" : element.existing\n // },\n // \"profileName\" : \" \",\n // \"settings\" : [\n // {\n // \"newDevNwt\": true,\n // \"extDevNwt\": true,\n // \"securityPolicy\": \" \",\n // \"passCodePolicy\": \" \",\n // \"emailEnabled\": this.email,\n // \"smsEnabled\": this.sms\n // }\n // ],\n // \"applications\" : []\n // }\n\n // this.fanDetails.push(this.eachFan);\n \n // });\n // console.log(this.fanDetails);\n\n // this.signupdata = {\n // \"emmAccountId\" : this.selectedAccID,\n // \"emmProductCode\" : this.emmProductCode,\n // \"fanDetails\" : this.fanDetails\n // }\n // console.log(this.signupdata);\n\n if (this.utilityService.getEnvConfig().useMock) {\n //sessionStorage.setItem('enrolledFans', JSON.stringify(this.signupdata));\n //updating user object with signupstatus\n this.user = JSON.parse(sessionStorage.getItem('user')).user;\n\n if (this.user.addpAuthority !== 'NONE') {\n this.authenticationService.getFanSignedUpStatus()\n .subscribe(resp => {\n if (this.user) {\n for (var key of Object.keys(this.user)) {\n if (key === \"fanSignedUpStatus\") {\n delete this.user[key];\n }\n }\n //console.log(retrieveArray);\n this.user.fanSignedUpStatus = this.getFanSignedUpStatus(resp.fansSummary);\n //to get all available for signup ABM fans\n \n let awaitingarray = [];\n resp.fansSummary.filter(item => {\n if(item.status === \"AWAITING_SIGNUP\") {\n item.fans.forEach(element => {\n awaitingarray.push(element);\n });\n }\n });\n if (awaitingarray !== null) {\n if (awaitingarray.length > 0 ) {\n sessionStorage.setItem('availableFansFlag', 'true');\n } else {\n sessionStorage.setItem('availableFansFlag', 'false');\n }\n }\n }\n this.authenticationService.setUser(this.user);\n\n this.router.navigate(['/signupsetup/confirm']);\n\n //appledep scenario start\n // this.signupSetupService.signupDep()\n // .subscribe(resobj => {\n // if (resobj.errors[0].errorCode === '460') {\n // let depFans = resobj.errors[0].errorDescription;\n // let keyValuePairs = depFans.slice(1, -1) //remove first and last character\n // .split(/\\s*,\\s*/) //split with optional spaces around the comma\n // .map(chunk => chunk.split(\"=\")); //split key=value\n \n // const fanMap = new Map(keyValuePairs);\n // for (let [key, value] of fanMap.entries()) {\n // if (value === 'Failure') {\n // this.failArray.push(key);\n // }\n // }\n // if (this.failArray.length <= 5) {\n // this.showFansFlag = true;\n // } else {\n // this.showFansFlag = false;\n // }\n\n // //console.log(this.failArray);\n // sessionStorage.setItem('cacheFlag', 'true');\n // this.isDisabled = true;\n // this.utilityService.loadFocusOnTop();\n // this.submitting = false;\n // this.depError = true;\n // this.pageLoaderService.setPageLoaderStatus(true);\n \n // }\n // },\n // error => {\n // this.user.fanSignedUpStatus = 'Error';\n // this.authenticationService.setUser(this.user);\n // this.pageLoaderService.setPageLoaderStatus(true);\n // }\n // );\n //apple dep scenario end\n \n\n }, () => {\n this.user.fanSignedUpStatus = 'Error';\n this.authenticationService.setUser(this.user);\n this.router.navigate(['/signupsetup/confirm']);\n });\n } else {\n this.authenticationService.setUser(this.user);\n this.router.navigate(['/signupsetup/confirm']);\n }\n //this.router.navigate(['/signupsetup/confirm']);\n\n } else {\n this.signupSetupService.submitSignupSetup(this.signupdata)\n .subscribe(resobj => {\n if (resobj.status === 'success') {\n //this.pageLoaderService.setPageLoaderStatus(true);\n let successFanList = resobj.successFanList;\n this.selectedFANs.enrolledFans = successFanList;\n //updating user object with signupstatus\n this.user = JSON.parse(sessionStorage.getItem('user')).user;\n\n if (this.user.addpAuthority !== 'NONE') {\n this.authenticationService.getFanSignedUpStatus()\n .subscribe(resp => {\n if (this.user) {\n for (var key of Object.keys(this.user)) {\n if (key === \"fanSignedUpStatus\") {\n delete this.user[key];\n }\n }\n //console.log(retrieveArray);\n this.user.fanSignedUpStatus = this.getFanSignedUpStatus(resp.fansSummary);\n \n let awaitingarray = [];\n resp.fansSummary.filter(item => {\n if(item.status === \"AWAITING_SIGNUP\") {\n item.fans.forEach(element => {\n awaitingarray.push(element);\n });\n }\n });\n \n if (awaitingarray !== null) {\n if (awaitingarray.length > 0 ) {\n sessionStorage.setItem('availableFansFlag', 'true');\n } else {\n sessionStorage.setItem('availableFansFlag', 'false');\n }\n }\n \n\n }\n\n //show/hide register/enroll menu based on new FAn enrollment\n this.authenticationService.updateEnrollStatus({noOfFans: resp.noOfFans, fanInfoList: resp.fanInfoList});\n\n this.authenticationService.setUser(this.user);\n this.pageLoaderService.setPageLoaderStatus(true);\n let ABMFE = sessionStorage.getItem(\"ABMFE\") ? JSON.parse(sessionStorage.getItem(\"ABMFE\")) : false;\n if(sessionStorage.getItem('feFlag') == \"true\" && ABMFE === true ){\n this.ABMfacilitatedEnrollment(resobj.statusDescription);\n }else{\n this.router.navigate(['/signupsetup/confirm']);\n }\n \n }, () => {\n this.user.fanSignedUpStatus = 'Error';\n this.authenticationService.setUser(this.user);\n this.pageLoaderService.setPageLoaderStatus(true);\n this.router.navigate(['/signupsetup/confirm']);\n });\n } else {\n this.authenticationService.setUser(this.user);\n this.pageLoaderService.setPageLoaderStatus(true);\n this.router.navigate(['/signupsetup/confirm']);\n }\n //setting user ends\n this.adobeAnalyticsService.createAdobeEventProperties('MANAGE_DEVICE', 'SUCCESS', 'formResponse',\n 'BC_Device_SignupSetup_Continue_Submit', 'success', 'Success_Admit', 'Continue', 'Body', '/businessconsole/signupsetup/confirm');\n //this.router.navigate(['/signupsetup/confirm']);\n }else{\n this.pageLoaderService.setPageLoaderStatus(true);\n this.isDisabled = true;\n this.handleError('signup');\n }\n \n }, error => {\n if (error !== undefined && error !== null) {\n if (error.status === 504 || error.status === 500) {\n this.pageLoaderService.setPageLoaderStatus(true);\n this.isDisabled = true;\n this.handleError('signup');\n this.adobeAnalyticsService.createAdobeEventProperties('MANAGE_DEVICE', 'FAILURE', 'formResponse',\n 'BC_Device_SignupSetup_Continue_Submit', 'SystemFailure',\n 'Failure_user', 'Continue', 'Body', '/businessconsole/signupsetup/enrollmentoptions');\n }\n //apple DEP signup failure scenario start\n else if (error.error.errors[0].errorCode !== undefined) {\n if (error.error.errors[0].errorCode === '460') {\n let depFans = error.error.errors[0].errorDescription;\n let keyValuePairs = depFans.slice(1, -1) //remove first and last character\n .split(/\\s*,\\s*/) //split with optional spaces around the comma\n .map(chunk => chunk.split(\"=\")); //split key=value\n\n const fanMap = new Map(keyValuePairs);\n for (let [key, value] of fanMap.entries()) {\n if (value === 'Failure') {\n this.failArray.push(key);\n }\n }\n if (this.failArray.length <= 5) {\n this.showFansFlag = true;\n } else {\n this.showFansFlag = false;\n }\n //console.log(this.failArray);\n sessionStorage.setItem('cacheFlag', 'true');\n this.isDisabled = true;\n this.utilityService.loadFocusOnTop();\n this.submitting = false;\n this.depError = true;\n this.pageLoaderService.setPageLoaderStatus(true);\n //apple dep scenario end\n }\n\n } else {\n this.pageLoaderService.setPageLoaderStatus(true);\n this.isDisabled = true;\n this.handleError('signup');\n this.adobeAnalyticsService.createAdobeEventProperties('MANAGE_DEVICE', 'FAILURE', 'formResponse',\n 'BC_Device_SignupSetup_Continue_Submit', 'SystemFailure',\n 'Failure_user', 'Continue', 'Body', '/businessconsole/signupsetup/enrollmentoptions');\n }\n }\n });\n }\n }\n\n handleError(error) {\n if (error) {\n this.isDisabled = true;\n this.utilityService.loadFocusOnTop();\n this.submitting = false;\n this.showErrors = true;\n }\n }\n\n private getFanSignedUpStatus(fansSummary) {\n let fanSignedUpStatus = 'NONE';\n if (fansSummary) {\n const signedUpFansCount = fansSummary.\n filter((f) => { return f.status === 'ACTIVE' || f.status === 'READY_TO_SETUP'; }).length;\n const notSignedUpFansCount = fansSummary.\n filter((f) => { return f.status === 'PROCESSING' || f.status === 'AWAITING_SIGNUP'; }).length;\n if (signedUpFansCount > 0 && notSignedUpFansCount > 0) {\n fanSignedUpStatus = 'SOME';\n } else if (signedUpFansCount > 0 && notSignedUpFansCount === 0) {\n fanSignedUpStatus = 'ALL';\n } else {\n fanSignedUpStatus = 'NONE';\n }\n }\n return fanSignedUpStatus;\n }\n \n ABMfacilitatedEnrollment(abmOrgIdTransactionID){\n this.pageLoaderService.setPageLoaderStatus(false);\n this.ABMFE_payload[\"abmOrgIdTransactionID\"] = abmOrgIdTransactionID;\n //call to ABM FE partner\n // console.log(\"abmOrgIdTransactionID==>\", abmOrgIdTransactionID);\n // console.log(\"this.ABMFE_payload===>\", this.ABMFE_payload);\n this.signupSetupService.sendABMFERequest(this.ABMFE_payload).subscribe((resp: any) => {\n this.pageLoaderService.setPageLoaderStatus(true);\n // console.log(\"ABM FE Response: \", resp);\n // if(resp.hasProperty(\"facilitatedEnrollmentResponse\")){//success response\n if(resp.status == 'SUCCESS'){\n this.isFEFailed = false;\n this.isFEFailedWithError = false;\n // this.ABMFESuccessMessage = resp?.facilitatedEnrollmentResponse?.statusMessage;\n this.router.navigate(['/signupsetup/confirm']);\n }else{//failure response\n this.isFEFailed = true;\n this.isFEFailedWithError = false;\n this.ABMFEErrorMessage = ERRCODES['ABM_FE_GENERIC_ERROR_MESSAGE'];\n window.scrollTo(0, 0);\n }\n }, (error: any) => {\n if(error && error.status == 400 && error['error'].status != ''){\n this.isFEFailed = false;\n this.isFEFailedWithError = true;\n this.ABMFEErrorMessage = this.reviewSignupSetup.abmfeErrorMessageHeading;\n let errStatus = error['error'].status;\n this.ABMFEErrorMessageDescription = errStatus.split(\",\").filter(item => item !== \"\");\n this.ABMFEErrorMessageFooter = this.reviewSignupSetup.abmfeErrorMessageFooter;\n window.scrollTo(0, 0);\n }else if(error && error.status == 400){\n this.isFEFailed = true;\n this.ABMFEErrorMessage = ERRCODES['ABM_FE_GENERIC_ERROR_MESSAGE'];\n }else {\n this.isFEFailed = true;\n this.ABMFEErrorMessage = ERRCODES['ABM_FE_COMMON_ERROR_MESSAGE'];\n }\n this.pageLoaderService.setPageLoaderStatus(true);\n window.scrollTo(0, 0);\n console.error(error);\n })\n\n }\n\n}\n","
    \n
    \n \n
    \n
    \n

    Error

    \n

    Something went wrong. Please try again.

    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n {{reviewSignupSetup.errorMessage1}}\n {{reviewSignupSetup.errorMessage2}}.\n \n
    \n
    \n\n\n
    \n
    \n \n
    \n
    \n {{reviewSignupSetup.depErrorMsg1}}\n {{fan}}, \n {{reviewSignupSetup.depErrorMsg2}}\n {{reviewSignupSetup.depErrorMsg3}}\n {{reviewSignupSetup.depErrorMsg4}}\n
    \n
    \n {{reviewSignupSetup.depErrorMsg1}}\n {{reviewSignupSetup.depErrorMsg5}}\n {{reviewSignupSetup.depErrorMsg2}}\n {{reviewSignupSetup.depErrorMsg3}}\n {{reviewSignupSetup.depErrorMsg4}}\n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n

    Error

    \n

    {{ABMFEErrorMessage}}

    \n
    \n
    \n
    \n\n
    \n
    \n \n
    \n
    \n \n

    {{ABMFEErrorMessage}}

    \n
    \n
      \n
    • {{err}}
    • \n
    \n

    {{ABMFEErrorMessageFooter}}

    \n
    \n {{!errorDescShow ? 'See more': 'See less'}}\n
    \n
    \n
    \n \n

    {{reviewSignupSetup.reviewHeading}}

    \n
    \n
    \n
    \n

    {{reviewSignupSetup.fanLabel}}

    \n

    {{fan.fanId}}

    \n
    \n
    \n

    {{reviewSignupSetup.productId1}}

    \n

    {{proddets.selectedAccID}}

    \n
    \n
    \n

    {{reviewSignupSetup.productId2}}

    \n

    {{proddets.selectedAccID}}

    \n
    \n
    \n

    {{reviewSignupSetup.productId3}}

    \n

    {{proddets.selectedAccID}}

    \n
    \n
    \n \n

    {{reviewSignupSetup.existingDevices}}

    \n

    {{fan.status}}

    \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n

    {{reviewSignupSetup.prodTypeHeading}}

    \n

    {{reviewSignupSetup.prodType}} {{prodcode}}

    \n
    \n
    \n\n
    \n
    \n

    {{reviewSignupSetup.acknowledgement}}

    \n

    {{reviewSignupSetup.acknowledgementDescription}}

    \n
    \n \n
    \n
    \n

    \n
    \n \n {{reviewSignupSetup.cancel}}\n

    \n
    ","import { Component, OnInit, AfterViewInit, ViewEncapsulation, HostListener, ViewChild, ElementRef } from '@angular/core';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { UtilityService, AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';\nimport { GridOptionsModel, ColumnDefinitionsModel } from 'lib/ng2-sapmp/src/ui-components/custom-grid';\nimport { ManageInventoryService } from '../../manage-inventory/shared/providers/manage-inventory.service';\nimport { StepIndicatorModel, StepIndicatorService } from 'lib/ng2-sapmp/src/ui-components';\nimport { SignupSetupInputModel, SignupSetupOutputModel, FanModel, EnrollmentDateModel } from '../../signup-setup/shared/models/signup-setup.models';\n// import { AccordionComponent } from 'lib/ng2-sapmp/src/ui-components/accordion/accordion.component';\nimport { PageLoaderService } from 'lib/ng2-sapmp/src/ui-components/page-loader';\nimport { SIGNUPSETUPDATA } from 'config';\nimport { BreadCrumbService } from 'lib/ng2-sapmp/src/ui-components/breadcrumb/breadcrumb.service';\nimport { MobilePivotModel } from 'lib/ng2-sapmp/src/ui-components/mobile-pivot';\nimport { MOBILEPIVOTS, TERMSCONDITIONS } from 'config';\nimport { ConfirmModalPopupModel } from 'lib/ng2-sapmp/src/ui-components/confirm-modal';\nimport { SignupSetupService } from '../shared/providers/signup-setup.service';\nimport { KEY_CONFIG } from 'lib/ng2-sapmp/src/config/key-config';\n\n@Component({\n selector: 'app-reviewpoc',\n templateUrl: './reviewpoc.component.html',\n styleUrls: ['./reviewpoc.component.scss'], \n providers: [SignupSetupService, ManageInventoryService, AdobeAnalyticsService],\n encapsulation: ViewEncapsulation.None\n})\nexport class ReviewpocComponent implements OnInit {\n\n signupArray:[];\n isDisabled: boolean = true;\n\n\n constructor(private router: Router,\n private pageloaderService: PageLoaderService,\n private activatedRoute: ActivatedRoute,\n private signupSetupService: SignupSetupService,\n private manageInventoryService: ManageInventoryService,\n private utilityService: UtilityService,\n private stepindicatorService: StepIndicatorService,\n private adobeAnalyticsService: AdobeAnalyticsService,\n private breadCrumbService: BreadCrumbService,\n private pageLoaderService: PageLoaderService) { \n\n this.signupArray = [];\n }\n\n ngOnInit() {\n\n this.breadCrumbService.removeLastBreadCrumb();\n this.breadCrumbService.setCurrentBreadCrumb({ label: 'Device Enrollment Program', routerLink: '/signupsetup/enrollmentoptions' });\n\n this.stepindicatorService.setCurrentStep('review');\n this.stepindicatorService.setVisibility(true);\n\n this.signupArray = JSON.parse(sessionStorage.getItem('enrollArraypoc'));\n\n }\n\n enableSubmit() {\n this.isDisabled = !this.isDisabled;\n\n}\n\n}\n","\n
    \n
    \n

    Review enrollment settings

    \n
    \n
    \n
    \n

    Foundation account

    \n

    {{fan}}

    \n
    \n
    \n

    Google ID

    \n

    1923415519

    \n
    \n \n
    \n \n

    Existing devices

    \n

    Do Not Enroll

    \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n

    Device management solution

    \n

    You're using: Android Zero-touch

    \n
    \n
    \n\n
    \n
    \n

    Acknowledgement\n

    \n

    The selected settings will be deployed for all devices associated with the foundation accounts selected.\n\n\n

    \n
    \n \n
    \n
    \n

    \n
    \n \n Cancel\n

    \n
    ","export class ProfileModel {\n profileId: number;\n profileName: string;\n settings: SettingsModel;\n applications: Array;\n appPackage: string;\n defaultProfile: boolean;\n selected?: boolean;\n\n constructor() {\n this.applications = [];\n }\n}\n\nexport class SessionProfileModel {\n setNo: number;\n sessionProfiles: Array;\n\n constructor(setNo, sessionProfiles) {\n this.setNo = setNo;\n this.sessionProfiles = sessionProfiles;\n }\n}\n\nexport class FanModel {\n fanId: number;\n accountStatus: string; // Active, Enrolled not active, In Progress\n accountSubStatus?: string;\n profileName: string; // ProfileModel profileId\n selected?: boolean;\n groupId?: string;\n pdpindicator?: boolean;\n addpEligibleStatus?: boolean;\n}\n\nexport class AppModel {\n appId: string;\n appName: string;\n longDesc: string;\n shortDesc: string;\n default: boolean;\n selected?: boolean;\n}\n\nexport class AccountsModel {\n newSetupFanList: Array;\n revisedFanList: Array;\n awaitingSignupFanList: Array;\n\n constructor() {\n this.newSetupFanList = [];\n this.revisedFanList = [];\n this.awaitingSignupFanList = [];\n }\n}\n\nexport class SettingsModel {\n newDevNwt: boolean;\n extDevNwt: boolean;\n securityPolicy: string;\n passCodePolicy: string;\n emailEnabled: boolean;\n smsEnabled: boolean;\n}\n\n\nexport class EnrollmentDateModel {\n new: Date;\n existing: Date;\n\n constructor() {\n this.new = new Date();\n }\n}\n\nexport class EnrollmentCheckboxModel{\n checked: boolean;\n disabled: boolean;\n constructor(){\n this.checked = true;\n this.disabled = false;\n }\n}\n\nexport class SignupSetupModel {\n companyId: number;\n FANList: AccountsModel;\n\n constructor(companyId) {\n this.FANList = new AccountsModel();\n this.companyId = companyId;\n }\n}\n\nexport class SignupSetupInputModel extends SignupSetupModel {\n profileList: Array;\n appList: Array;\n\n constructor(companyId) {\n super(companyId);\n this.profileList = [];\n this.appList = [];\n }\n}\n\n\nexport class SignupSetupOutputModel extends SignupSetupModel {\n profile: ProfileModel;\n deviceEnrollDate: EnrollmentDateModel;\n readTnC: boolean;\n emailTnC: boolean;\n emmProductCode: string;\n version: string;\n\n constructor(companyId) {\n super(companyId);\n this.profile = new ProfileModel();\n this.deviceEnrollDate = new EnrollmentDateModel();\n this.readTnC = false;\n this.emailTnC = false;\n this.version = '';\n }\n}\n\n\nexport class SettingsContent {\n settingFields: Array;\n\n constructor() {\n this.settingFields = [];\n }\n}\n","import { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { DatePipe } from '@angular/common';\nimport { throwError } from 'rxjs';\n\n\n\nimport { HttpClient, HttpResponse, HttpHeaders } from '@angular/common/http';\nimport { HttpClientService } from 'lib/ng2-sapmp/src/providers';\nimport { UtilityService, AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';\nimport { SignupSetupInputModel, SignupSetupOutputModel } from './../../shared/models/signup-setup.models';\nimport { GridOptionsModel } from 'lib/ng2-sapmp/src/ui-components/custom-grid';\nimport { ANALYTICS_CONSTANTS } from 'config';\ndeclare var ENV_PORTAL;\n\n@Injectable()\nexport class SignupSetupService {\n public emmProductCode: any;\n public mdmProductName: any;\n public productDetails: any;\n public ztpAccID: any;\n urlSignUp: any;\n\n constructor(private http: HttpClient,\n private httpClientService: HttpClientService,\n private datePipe: DatePipe,\n private utilityService: UtilityService,\n private adobeAnalyticsService: AdobeAnalyticsService) { }\n\n get_headers() {\n let headers = new HttpHeaders();\n headers = headers.append('Authorization', sessionStorage.getItem('sapmp_jwtToken'));\n return headers;\n }\n\n fetchJSON(dataurl) {\n return this.httpClientService.get(dataurl, this.get_headers())\n .pipe(\n map((test: HttpResponse) => {\n if (sessionStorage.getItem('sapmp_jwtToken') != null) {\n // refreshes token for logged in scenario upon page load\n this.httpClientService.tokenRefresh(this.utilityService.getEnvConfig().tokenRefresh);\n }\n return test.body;\n })\n\t ,catchError( this.handleError ));\n }\n\n pageContent(dataurl) {\n return this.fetchJSON(dataurl);\n }\n\n pageHtml(dataurl) {\n return this.httpClientService.get(dataurl, this.get_headers())\n .pipe(\n map((test: HttpResponse) => test.body)\n ,catchError( this.handleError ));\n\n }\n\n getFANList(companyid) {\n let fanUrl;\n if (this.utilityService.getEnvConfig().useMock) {\n \n fanUrl = \"assets/mock/dashboard/getFANListMock3.json\";\n //fanUrl = \"assets/mock/dashboard/getFANListMock6.json\";\n \n } else {\n fanUrl = this.utilityService.getEnvConfig().getFANList;\n }\n return this.fetchJSON(fanUrl);\n }\n\n getAppList(emmProductCode) {\n let appUrl; \n appUrl = this.utilityService.getEnvConfig().getAppList + '?emmProductCode=' + emmProductCode;\n \n return this.fetchJSON(appUrl);\n }\n\n\n requestPopupContent(id) {\n return this.httpClientService.get(id, this.get_headers())\n .pipe(\n map((res: HttpResponse) => res.body)\n ,catchError( this.handleError ));\n }\n\n requestSupportContent(id) {\n return this.httpClientService.get(id, this.get_headers())\n .pipe(\n map((res: HttpResponse) => res.body)\n ,catchError( this.handleError ));\n }\n\n getProfileSettings(companyid, pageSize, pageNumber,emmProductCode) {\n let profileListUrl;\n \n profileListUrl = this.utilityService.getEnvConfig().getprofileList + '?companyId='\n + companyid + '&emmProductCode=' + emmProductCode + '&pageNumber=' + pageNumber + '&pageSize=' + pageSize;\n \n return this.httpClientService.authorizedGet(profileListUrl)\n .pipe(\n map((test: HttpResponse) => {\n return test.body;\n })\n ,catchError( this.handleError ));\n }\n\n getAppleSummary() {\n let appleUrl;\n appleUrl = this.utilityService.getEnvConfig().getAppleSummary + '?detail=false'; \n return this.fetchJSON(appleUrl);\n }\n\n saveSignupSetupModel(inputModel: SignupSetupInputModel, outputModel: SignupSetupOutputModel, initialSignup: boolean, isNewProfile: boolean = false) {\n sessionStorage.setItem('SignupSetupData', JSON.stringify({\n inputModel: inputModel,\n outputModel: outputModel,\n initialSignup: initialSignup,\n isNewProfile: isNewProfile\n }));\n }\n\n submitSignupSetup(data) {\n sessionStorage.setItem('enrolledFans', JSON.stringify(data));\n if(sessionStorage.getItem('feFlag') == \"true\"){\n this.urlSignUp = this.utilityService.getEnvConfig().submitSignupInProgress;\n }\n else{\n this.urlSignUp = this.utilityService.getEnvConfig().submitSignup;\n }\n return this.httpClientService.post(this.urlSignUp, data, this.get_headers())\n .pipe(\n map((test: HttpResponse) => {\n if (sessionStorage.getItem('sapmp_jwtToken') != null) {\n // refreshes token for logged in scenario upon page load\n this.httpClientService.tokenRefresh(this.utilityService.getEnvConfig().tokenRefresh);\n }\n return test.body;\n })\n ,catchError( this.handleError ));\n \n }\n\n createProfile(data) {\n return this.httpClientService.post(this.utilityService.getEnvConfig().createProfile, data, this.get_headers())\n .pipe(\n map((test: HttpResponse) => {\n if (sessionStorage.getItem('sapmp_jwtToken') != null) {\n // refreshes token for logged in scenario upon page load\n this.httpClientService.tokenRefresh(this.utilityService.getEnvConfig().tokenRefresh);\n }\n return test.body;\n })\n ,catchError( this.handleError ));\n }\n emailConfirmation(data) {\n return this.httpClientService.post(this.utilityService.getEnvConfig().emailConfirmation, data, this.get_headers())\n .pipe(\n map((test: HttpResponse) => test.body)\n ,catchError( this.handleError ));\n }\n\n getSignupDataFromModel(inputModel: SignupSetupOutputModel) {\n let productDetails = {\n 'emmProductCode': '',\n 'selectedAccID': ''\n };\n if (sessionStorage.getItem('manage-product')) {\n productDetails = JSON.parse(sessionStorage.getItem('manage-product'));\n this.ztpAccID = productDetails.selectedAccID;\n // if(productDetails.emmProductCode == 'DMPSKME') {\n // productDetails.emmProductCode = 'ADDPSKME';\n // }else if (productDetails.emmProductCode =='DMPGZTE') {\n // productDetails.emmProductCode = 'ADDPGZTP';\n // }\n }\n return {\n fanList: inputModel.FANList.awaitingSignupFanList.map(item => item.fanId),\n emmProductCode: productDetails.emmProductCode,\n emmAccountId: this.ztpAccID\n };\n }\n\n updateProfileName(id, newprofileName) {\n // profileID:Q77000000000001066 (valid profile ID which exists in ROME)\n return this.httpClientService.post(this.utilityService.getEnvConfig().\n updateProfileName, { profileID: id, profileName: newprofileName }, this.get_headers())\n .pipe(\n map((test: HttpResponse) => {\n if (sessionStorage.getItem('sapmp_jwtToken') != null) {\n // refreshes token for logged in scenario upon page load\n this.httpClientService.tokenRefresh(this.utilityService.getEnvConfig().tokenRefresh);\n }\n return test.body;\n })\n ,catchError( this.handleError ));\n }\n\n createZtpAccount(selectedAccID, agreementID) {\n const data = { 'email': selectedAccID, 'agreementId': agreementID };\n if (this.utilityService.getEnvConfig().useMock) {\n return this.httpClientService.post(this.utilityService.getEnvConfig().createZtpAccountMock, data, this.get_headers())\n .pipe(\n map((test: HttpResponse) => test.body)\n ,catchError( this.handleError ));\n } else {\n return this.httpClientService.post(this.utilityService.getEnvConfig().createZtpAccount, data, this.get_headers())\n .pipe(\n map((test: HttpResponse) => test.body)\n ,catchError( this.handleError ));\n }\n }\n\n getAutogeneratedProfileName() {\n const date1 = this.datePipe.transform(new Date(), 'MMddyyyy');\n const time2 = new Date();\n const hh = time2.getHours();\n const mm = time2.getMinutes();\n const ss = time2.getSeconds();\n const hh1 = hh < 10 ? '0' + hh : hh;\n const mm1 = mm < 10 ? '0' + mm : mm;\n const ss1 = ss < 10 ? '0' + ss : ss;\n const strTime = '' + hh1 + mm1 + ss1;\n const time1 = strTime;\n const datetime = date1 + time1;\n return datetime;\n }\n\n getSetupDataFromModel(inputModel: SignupSetupOutputModel, isNew: boolean, isrevisedFanList) {\n const setupData = {\n deviceEnrollDate: {\n new: this.datePipe.transform(inputModel.deviceEnrollDate.new, 'yyyy-MM-dd'),\n existing: this.datePipe.transform(inputModel.deviceEnrollDate.existing, 'yyyy-MM-dd')\n },\n };\n this.productDetails = JSON.parse(sessionStorage.getItem('manage-product'));\n if (!isNew) {\n setupData['profileId'] = inputModel.profile.profileId;\n setupData['memberdetails'] = inputModel.FANList[this.getSelectedFAN(inputModel.FANList)].map(item => {\n return isrevisedFanList ? { fanid: [item.fanId], groupId: item.groupId } : { fanid: [item.fanId] };\n });\n } else {\n setupData['memberdetails'] = inputModel.FANList[this.getSelectedFAN(inputModel.FANList)].map(item => {\n return { fanid: [item.fanId] };\n });\n }\n setupData['profileName'] = inputModel.profile.profileName;\n setupData['settings'] = [inputModel.profile.settings];\n if (this.productDetails.emmProductCode === 'DMPGZTP' || this.productDetails.emmProductCode === 'DMPSKME') {\n setupData['applications'] = [];\n } else {\n setupData['applications'] = inputModel.profile.applications;\n }\n setupData['emmProductCode'] = this.productDetails.emmProductCode;\n return setupData;\n }\n\n compareTwoObject = function (obj1, obj2) {\n let result = 0;\n for (const key in obj1) {\n if (key !== 'selected') {\n if(key === 'applications')\n {\n if(obj1[key].length === 0 && obj2[key].length > 0)\n {\n result++;\n break;\n }\n } if (typeof obj2[key] === 'object' && typeof obj1[key] === 'object') {\n result += this.compareTwoObject(obj1[key], obj2[key]);\n } else if (obj1.length !== undefined && obj1.length < obj2.length) {\n result++;\n break;\n } else if (obj2[key] !== obj1[key]) {\n result++;\n break;\n }\n }\n }\n return result;\n };\n\n getSignupModel() {\n return sessionStorage.getItem('SignupSetupData') ? JSON.parse(sessionStorage.getItem('SignupSetupData')) : false;\n }\n\n removeSignupModel() {\n sessionStorage.removeItem('SignupSetupData');\n }\n\n handleError = (error) => {\n return throwError(error);\n }\n\n /* Review and Confirm Common functionality*/\n selectedAppList(appList, selectedAppList) {\n const tmpApp = [];\n appList.forEach(app => {\n if (selectedAppList.indexOf(app.appId) !== -1) {\n tmpApp.push(app.appName);\n }\n });\n return tmpApp;\n }\n\n initSelectedFanGrid(data, columnDefinitions, showPaginationIndex) {\n const options = new GridOptionsModel();\n options.enableFiltering = false;\n options.enableSorting = false;\n options.multiSelect = false;\n\n const pagination = {\n recordsPerPage: 20,\n currentPage: 1,\n isServerSide: false,\n totalRecords: data.length\n };\n\n options.Paginations = pagination;\n options.gridData = data;\n options.columnDefinitions = columnDefinitions;\n options.showPaginationIndex = showPaginationIndex;\n return options;\n }\n\n getSelectedFAN(FANList) {\n if (FANList.awaitingSignupFanList.length) {\n return 'awaitingSignupFanList';\n } else if (FANList.newSetupFanList.length) {\n return 'newSetupFanList';\n } else if (FANList.revisedFanList.length) {\n return 'revisedFanList';\n }\n }\n\n getSelectedProdCode() {\n return sessionStorage.getItem('manage-product');\n }\n\n createPageLoadProperties(url, section1) {\n const dataLayer = {};\n if (url === 'ENROLLMENTFAILURE') {\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_LOCATION_URL] = '/virtual/signup/failuremodal.html';\n } else if (url === 'COFIRMREQUESTMODAL') {\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_LOCATION_URL] = '/virtual/signup/confirmrequestmodal.html';\n } else if (url === 'STARTDATEMODEL') {\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_LOCATION_URL] = '/virtual/signup/startdatelearnmoremodal.html';\n }\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FRIENDLY_PAGE_NAME] = ANALYTICS_CONSTANTS['FRIENDLY_NAME_SIGNUP_' + url];\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FLOW_CODE] = ANALYTICS_CONSTANTS.FLOW_CODE_SIGNUP;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_PAGE_FUNCTION] = 'Service';\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_SITE_SECTION1] = section1;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_LOGIN_SOURCE] = 'home';\n this.adobeAnalyticsService.tag('page', dataLayer, 'Page_Load', 'pageLoad');\n }\n\n getHeaders() {\n let headers = new HttpHeaders();\n headers = headers.append('Authorization', sessionStorage.getItem('sapmp_jwtToken'));\n return headers;\n }\n\n tranIdValidation(tranid) {\n const data = {\n 'deviceEnrollmentTransactionId': tranid\n };\n return this.httpClientService.post(this.utilityService.getEnvConfig().tranIdValidate, data, this.getHeaders())\n .pipe(\n map((resp: HttpResponse) => { // console.log(resp);\n return resp.body;\n }),\n catchError( this.handleError ));\n }\n\n getInquireFanDetails(data) {\n return this.httpClientService.post(this.utilityService.getEnvConfig().getInquireFanDetails, data, this.get_headers())\n .pipe(\n map((resp: HttpResponse) => {\n // if (sessionStorage.getItem('sapmp_jwtToken') != null) {\n // // refreshes token for logged in scenario upon page load\n // this.httpClientService.tokenRefresh(this.utilityService.getEnvConfig().tokenRefresh);\n // }\n return resp.body;\n })\n ,catchError( this.handleError ));\n }\n\n sendABMFERequest(data){\n return this.httpClientService.post(this.utilityService.getEnvConfig().sendToAppleFeRequest, data, this.get_headers())\n .pipe(\n map((resp: HttpResponse) => {\n return resp.body;\n })\n ,catchError( this.handleError ));\n }\n\n getIFDMockDetails(){\n return this.httpClientService.get('restservices/cms/v1/UseCase/IFD_MOCK', this.get_headers())\n .pipe(\n map((test: HttpResponse) => test.body)\n ,catchError( this.handleError ));\n }\n\n};\n","import { Component, OnChanges, OnInit, OnDestroy, AfterViewInit, AfterViewChecked } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { UtilityService } from 'lib/ng2-sapmp/src/providers';\nimport { GridOptionsModel, ColumnDefinitionsModel, PaginationsModel } from 'lib/ng2-sapmp/src/ui-components/custom-grid';\nimport { SignupSetupService } from './shared/providers/signup-setup.service';\nimport { Router } from '@angular/router';\nimport { BreadCrumbModel, StepIndicatorModel, StepIndicatorService, BreadCrumbService } from 'lib/ng2-sapmp/src/ui-components';\nimport { BREADCRUMBS, STEPINDICATORS } from 'config';\n\n\n@Component({\n selector: 'app-signup-setup',\n templateUrl: './signup-setup.component.html',\n styleUrls: ['./signup-setup.component.scss'],\n providers: [StepIndicatorService, SignupSetupService]\n})\n\nexport class SignupSetupComponent implements OnInit, OnDestroy {\n stepIndicators: StepIndicatorModel[];\n displayFlag: boolean;\n sessionName: string;\n emmProductCode: any;\n currentStep: any;\n prodcode: string;\n\n constructor(private stepindicatorService: StepIndicatorService,\n private breadCrumbService: BreadCrumbService,\n private signupSetupService: SignupSetupService) {\n\n }\n\n ngOnInit() {\n this.breadCrumbService.setCurrentBreadCrumb({ label: 'Device Enrollment Program', routerLink: '/signupsetup/enrollmentoptions' });\n // this.emmProductCode = this.signupService.getSelectedProdCode();\n //this.emmProductCode = JSON.parse(this.signupSetupService.getSelectedProdCode()).emmProductCode;\n // this.emmProductCode = sessionStorage.getItem('emmProductCode');\n this.prodcode = sessionStorage.getItem('prodcode');\n\n if (this.emmProductCode === 'DMPSKME' || this.emmProductCode === 'DMPGZTP' || this.emmProductCode === 'DMPAABM') {\n this.sessionName = 'signUpAll';\n this.stepIndicators = STEPINDICATORS.signUpAll;\n\n } else {\n this.sessionName = 'signupAll';\n this.stepIndicators = STEPINDICATORS.signUpAll;\n }\n if (this.stepindicatorService.getSteps(this.sessionName) === null) {\n this.stepindicatorService.setSteps(this.stepIndicators, this.sessionName);\n }\n this.stepIndicators = this.stepindicatorService.getSteps(this.sessionName);\n this.stepindicatorService.getVisibility().subscribe(\n (status: boolean) => {\n this.displayFlag = status;\n }\n );\n\n this.stepindicatorService.getCurrentStep().subscribe(\n (path: string) => {\n this.currentStep = path +' step';\n });\n }\n\n ngOnDestroy() {\n this.signupSetupService.removeSignupModel();\n sessionStorage.removeItem('SignupBacktoCallingPage');\n sessionStorage.removeItem('backupProfiles');\n sessionStorage.removeItem('ProfileSize');\n }\n}\n","
    \r\n
    \r\n

    Device Enrollment Programs: {{prodcode}}

    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n ","import {\r\n Component, OnChanges, OnInit, AfterViewInit, AfterViewChecked, ElementRef, ViewEncapsulation,\r\n HostListener\r\n} from '@angular/core';\r\nimport { Router, ActivatedRoute } from '@angular/router';\r\nimport { UtilityService, AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';\r\nimport { GridOptionsModel, ColumnDefinitionsModel, PaginationsModel } from 'lib/ng2-sapmp/src/ui-components/custom-grid';\r\nimport { SignupService } from './../shared/providers/signup.service';\r\nimport { ManageInventoryService } from './../../manage-inventory/shared/providers/manage-inventory.service';\r\nimport { StepIndicatorModel, StepIndicatorService } from 'lib/ng2-sapmp/src/ui-components';\r\nimport { SignUpModel, SignUpInputModel, SignUpOutputModel, AccountsModel, FanModel } from './../shared/models/signup.models';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { TabModel, TabComponent } from 'lib/ng2-sapmp/src/ui-components/tab';\r\n// import { AccordionComponent } from 'lib/ng2-sapmp/src/ui-components/accordion/accordion.component';\r\nimport { PageLoaderService } from 'lib/ng2-sapmp/src/ui-components/page-loader';\r\nimport { SIGNUPDATA } from 'config';\r\nimport { BreadCrumbService } from 'lib/ng2-sapmp/src/ui-components/breadcrumb/breadcrumb.service';\r\nimport { MobilePivotModel } from 'lib/ng2-sapmp/src/ui-components/mobile-pivot';\r\nimport { MOBILEPIVOTS, TERMSCONDITIONS } from 'config';\r\nimport { ConfirmModalPopupModel } from 'lib/ng2-sapmp/src/ui-components/confirm-modal';\r\nimport { AccordionComponent, AccordionListComponent } from 'lib/ng2-sapmp/src/ui-components/accordion';\r\n\r\n@Component({\r\n selector: 'app-accounts',\r\n templateUrl: './accounts.component.html',\r\n styleUrls: ['./accounts.component.scss'],\r\n providers: [SignupService, ManageInventoryService, AdobeAnalyticsService],\r\n encapsulation: ViewEncapsulation.None\r\n})\r\n\r\nexport class AccountsComponent implements OnInit, AfterViewInit, AfterViewChecked {\r\n\r\n gridOptions: Array;\r\n stepIndicators: StepIndicatorModel[];\r\n confirmModalPopup: ConfirmModalPopupModel;\r\n stepSessionName: string;\r\n initModal: boolean;\r\n modalMsg: string;\r\n mailId: string;\r\n videoId: string;\r\n modalClass: string;\r\n initialSignup = false;\r\n backFromSettings = false;\r\n signupInputData: SignUpInputModel;\r\n signupOutputData: SignUpOutputModel;\r\n companyId: number;\r\n /* 1- Initial Signup, 2 - all 3 three tabs, 3 - 2 tab FANs, 4 - no tab only reveised FANs*/\r\n haveTab: boolean;\r\n activeTab: number;\r\n selectedFanList: number;\r\n tabArray: Array;\r\n accordionList: boolean;\r\n pageTitle: string;\r\n pageDescription: string;\r\n pageLink: string;\r\n pageDescription2: string;\r\n accountsData: any;\r\n showError: boolean;\r\n errorMessage: string;\r\n showGoogleCreationError: boolean;\r\n dcmCodes = 'ABC_TNC_001';\r\n haveAccordion: boolean;\r\n eligibleFanCount: number;\r\n pivots: Array;\r\n termscondURl: any;\r\n termsCondproductURl: any;\r\n selected: any;\r\n eventEmit: any;\r\n title: any;\r\n supportArticle: any;\r\n showOverviewModal: boolean;\r\n selectedReviseSetup: boolean;\r\n private FANListSel: Array = [];\r\n private FANListAdd: Array = [];\r\n private FANListAct: Array = [];\r\n private FANListPro: Array = [];\r\n private FANListALL: Array = [];\r\n private successfullySignupFAN: Array = [];\r\n selectedFansCount: Array = [];\r\n helpArticles: any;\r\n article: any;\r\n isMobile: any;\r\n termsCondi: any;\r\n staticTcUrl: any;\r\n guideUrl: any;\r\n MdmSelection: any;\r\n prodFlag: boolean;\r\n emmProductCode: any;\r\n tmc: any;\r\n kme: boolean;\r\n ztp: boolean;\r\n mdm: boolean;\r\n querytab: string;\r\n supportArticles: any;\r\n\r\n @HostListener('window:resize', ['$event'])\r\n onResize(event) {\r\n this.mobileView();\r\n }\r\n\r\n\r\n\r\n constructor(private router: Router,\r\n private pageloaderService: PageLoaderService,\r\n private activatedRoute: ActivatedRoute,\r\n private signupService: SignupService,\r\n private manageInventoryService: ManageInventoryService,\r\n private utilityService: UtilityService,\r\n private http: HttpClient,\r\n private stepindicatorService: StepIndicatorService,\r\n private adobeAnalyticsService: AdobeAnalyticsService,\r\n private breadcrumb: BreadCrumbService,\r\n private el: ElementRef) {\r\n\r\n this.selected = { newSetupFanList: false, revisedFanList: false, awaitingSignupFanList: false };\r\n this.gridOptions = [];\r\n this.tabArray = [];\r\n this.activeTab = 0;\r\n this.haveTab = false;\r\n this.showGoogleCreationError = false;\r\n this.selectedReviseSetup = false;\r\n this.accountsData = {};\r\n this.accountsData.config = SIGNUPDATA.AccountsPage;\r\n this.pageloaderService.setPageLoaderStatus(false);\r\n\r\n const profileData = JSON.parse(sessionStorage.getItem('user'));\r\n this.mailId = profileData.user.emailAddress;\r\n }\r\n\r\n ngOnInit() {\r\n const mdmDetails = JSON.parse(sessionStorage.getItem('mdmDetails'));\r\n if (mdmDetails.productCode === 'ADDPMDM'){\r\n this.router.navigate(['/home']);\r\n }\r\n document.title = this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url];\r\n console.log('Account page start time => ' + new Date().getTime());\r\n const previousRoute = sessionStorage.getItem('previousRoute');\r\n if (!sessionStorage.getItem('SignupBacktoCallingPage')) {\r\n sessionStorage.setItem('SignupBacktoCallingPage', previousRoute === '/productselection'\r\n || previousRoute === '/enrollmentTool' ? '/manageInventory' : previousRoute);\r\n }\r\n this.pivots = MOBILEPIVOTS.SIGNUPPAGE;\r\n const breadcrumbList = this.breadcrumb.getBreadCrumbs();\r\n if (breadcrumbList.length > 1) {\r\n this.pivots[0].routerLink = breadcrumbList[breadcrumbList.length - 2].routerLink;\r\n }\r\n\r\n this.stepindicatorService.setCurrentStep(this.activatedRoute.snapshot.url[0].path);\r\n this.stepindicatorService.setVisibility(true);\r\n this.pageDescription = '';\r\n /* T&C URL check here */\r\n this.termsCondproductURl = JSON.parse(sessionStorage.getItem('manage-product'));\r\n this.emmProductCode = this.termsCondproductURl.emmProductCode;\r\n if (this.emmProductCode === 'DMPSKME' || this.emmProductCode === 'DMPGZTP') {\r\n this.prodFlag = true;\r\n } else {\r\n this.prodFlag = false;\r\n }\r\n if (this.termsCondproductURl) {\r\n this.tmc = this.termsCondproductURl.emmProductCode;\r\n } else if (previousRoute === '/manageInventory/deviceInventory') {\r\n this.tmc = 'ADDPMDM';\r\n }\r\n if (this.tmc === 'ADDPMDM') {\r\n this.kme = false;\r\n this.ztp = false;\r\n this.mdm = true;\r\n this.termscondURl = TERMSCONDITIONS.URL.commonUrl;\r\n this.staticTcUrl = TERMSCONDITIONS.URL.addpmdmUrl;\r\n this.guideUrl = TERMSCONDITIONS.URL.commonUrl3;\r\n\r\n } else if (this.tmc === 'DMPGZTP') {\r\n this.kme = false;\r\n this.ztp = true;\r\n this.mdm = false;\r\n this.termscondURl = TERMSCONDITIONS.URL.commonUrl;\r\n this.staticTcUrl = TERMSCONDITIONS.URL.dmpgztpUrl;\r\n } else {\r\n this.kme = true;\r\n this.ztp = false;\r\n this.mdm = false;\r\n this.termscondURl = TERMSCONDITIONS.URL.commonUrl;\r\n this.staticTcUrl = TERMSCONDITIONS.URL.dmpskmeUrl;\r\n }\r\n // this.signupService.pageContent(this.utilityService.getEnvConfig().contentUrl.signup.accounts).\r\n // subscribe(respobj => {\r\n // this.accountsData.content = respobj;\r\n this.accountsData.content = this.activatedRoute.snapshot.data.pageData.signupaccounts;\r\n this.accountsData.content.PopMsgSystemFailure.description =\r\n this.accountsData.content.PopMsgSystemFailure.description.replace('', this.mailId);\r\n const signupData = this.signupService.getSignupModel();\r\n if (signupData) {\r\n /* Back from Settings */\r\n this.backFromSettings = true;\r\n this.signupInputData = signupData.inputModel;\r\n this.signupOutputData = signupData.outputModel;\r\n this.initialSignup = signupData.initialSignup;\r\n this.selectedFanList = this.selectedFanLength();\r\n if (this.signupOutputData.FANList.awaitingSignupFanList.length) {\r\n this.buildAccordion();\r\n } else {\r\n this.buildTabView();\r\n this.checkNDisableFANList();\r\n }\r\n this.pageloaderService.setPageLoaderStatus(true);\r\n } else {\r\n this.getFANList();\r\n this.backFromSettings = false;\r\n }\r\n // }, error => this.handleError(error, 'summary'));\r\n this.helpArticles = [{ id: 1, isActive: true, category: 'Help', description: '', ariaLabel:{\r\n 'expand': 'Show help',\r\n 'collapse': 'Hide help'\r\n }\r\n }];\r\n const pageName = 'signupAccountsPage';\r\n if (!this.prodFlag) {\r\n this.signupService.requestSupportContent(this.utilityService.getEnvConfig().getSupportDocument + pageName).\r\n subscribe(resp => {\r\n this.article = resp.supportArticles;\r\n this.supportArticle = true;\r\n }, (err) => {\r\n // this.handleError(err);\r\n });\r\n }\r\n this.signupService.createPageLoadProperties('ACCOUNTS', 'Accounts');\r\n }\r\n\r\n /*check mobile view for support article accordion*/\r\n mobileView() {\r\n this.helpArticles = [{ id: 1, isActive: !this.isMobile, category: 'Help', content: '' }];\r\n }\r\n\r\n\r\n ngAfterViewInit() {\r\n console.log('Account page end time => ' + new Date().getTime());\r\n }\r\n\r\n ngAfterViewChecked() {\r\n if (this.showError && !document.getElementById('alertMessage').classList.contains('msgShown')) {\r\n document.getElementById('alertMessage').scrollIntoView();\r\n document.getElementById('alertMessage').classList.add('msgShown');\r\n }\r\n }\r\n\r\n getTermsNConditiondata() {\r\n this.signupService.fetchJSON(this.utilityService.getEnvConfig().getTNC + '?dcmCodes=' + this.dcmCodes).\r\n subscribe(respobj => {\r\n this.signupOutputData.version = respobj.version ? respobj.version : '';\r\n sessionStorage.setItem('termsAndConditionContent', respobj.text);\r\n }, error => this.handleError(error, 'termsncondition'));\r\n }\r\n\r\n getSupportContent(articleNumber) {\r\n if (this.article.availableArticle[articleNumber].type === 'url') {\r\n this.initPopupModal(articleNumber);\r\n }\r\n }\r\n\r\n initPopupModal(articleNumber) {\r\n this.videoId = this.article.availableArticle[articleNumber].url;\r\n this.showOverviewModal = true;\r\n }\r\n closeOverviewModal() {\r\n this.showOverviewModal = false;\r\n }\r\n\r\n /* Getting all fan list*/\r\n getFANList() {\r\n console.log('Accounts Summary API request time => ' + new Date().getTime());\r\n this.signupService.getFANList(this.companyId).\r\n subscribe(respobj => {\r\n console.log('Accounts Summary API response time => ' + new Date().getTime());\r\n this.signupInputData = new SignUpInputModel(respobj.companyId);\r\n this.signupOutputData = new SignUpOutputModel(respobj.companyId);\r\n this.selectedFanList = this.selectedFanLength();\r\n this.signupInputData.FANList = respobj;\r\n this.signupOutputData.emmProductCode = respobj.emmProductCode;\r\n if (respobj.productCode === 'ADDPMDM') {\r\n this.initialSignup = false;\r\n this.signupInputData.FANList.awaitingSignupFanList = [];\r\n }\r\n\r\n // if (!respobj.awaitingSignupFanList.length) {\r\n // this.handleError('error', 'fans');\r\n // }\r\n /* Check Fan Eligiblity here */\r\n const profileData = JSON.parse(sessionStorage.getItem('user'));\r\n console.log('Eligiblity check start time => ' + new Date().getTime());\r\n this.signupInputData.FANList.awaitingSignupFanList.forEach(item1 => {\r\n /*const selFan = profileData['user'].agreement.\r\n fans.filter(item2 => item2.fanId === item1.fanId);\r\n if (selFan.length) {\r\n item1.addpEligibleStatus = selFan[0].addpEligibility && selFan[0].addpEligibility === 'TRUE';\r\n } elseif(item1.addpEligibleStatus === undefined) {\r\n item1.addpEligibleStatus = false;\r\n }*/\r\n });\r\n console.log('Eligiblity check end time => ' + new Date().getTime());\r\n /* End Fan Eligiblity here */\r\n\r\n this.buildTabView();\r\n /* Show No Fan Eligiblity here */\r\n if (this.tabArray.length === 0 && this.eligibleFanCount === 0 &&\r\n this.querytab !== 'newSetupFanList' && this.querytab !== 'revisedFanList') {\r\n this.initModal = true;\r\n this.modalClass = 'pop-up';\r\n this.modalMsg = 'NoEligibleFAns';\r\n this.signupService.createPageLoadProperties('ACCOUNTSFAILURE', 'Accounts');\r\n }\r\n /* End Fan Eligiblity here */\r\n\r\n this.pageloaderService.setPageLoaderStatus(true);\r\n /*if (!this.utilityService.getEnvConfig().useMock) {\r\n this.getTermsNConditiondata();\r\n }*/\r\n }, error => this.handleError(error, 'fans'));\r\n }\r\n\r\n /* Review Based on the data ui have Tab or not*/\r\n buildTabView() {\r\n let tab = this.router['currentUrlTree'].queryParams.tab === undefined ? '' :\r\n this.router['currentUrlTree'].queryParams.tab;\r\n this.querytab = tab;\r\n this.signupInputData.FANList.awaitingSignupFanList = this.signupInputData.FANList.\r\n awaitingSignupFanList.filter((f) => { return f.addpEligibleStatus === true || f.addpEligibleStatus === undefined; });\r\n this.eligibleFanCount = this.signupInputData.FANList.awaitingSignupFanList.filter(item => item.addpEligibleStatus).length;\r\n\r\n let count = 0;\r\n let accountsDataConfig = this.accountsData.config;\r\n let awaitingSignupConfig;\r\n if (tab === 'awaitingSignupFanList' && sessionStorage.getItem('previousRoute') === '/enrollmentTool' ||\r\n (sessionStorage.getItem('previousRoute') === '/productselection' &&\r\n ((this.termsCondproductURl.emmProductCode === 'DMPGZTP' || this.termsCondproductURl.emmProductCode === 'DMPSKME')))) {\r\n //(Object).values(accountsDataConfig).filter((f) => {\r\n //if (f.name === 'Add accounts') {\r\n //awaitingSignupConfig = f;\r\n //}\r\n //});\r\n accountsDataConfig = {\r\n awaitingSignupFanList: accountsDataConfig.awaitingSignupFanList\r\n };\r\n tab = undefined;\r\n }\r\n for (const fanType in accountsDataConfig) {\r\n if (this.signupInputData.FANList[fanType].length && (fanType !== 'awaitingSignupFanList' ||\r\n (fanType === 'awaitingSignupFanList' && this.eligibleFanCount !== 0))) {\r\n this.initGrid(this.signupInputData.FANList[fanType], this.accountsData.config[fanType].columnDefinitions,\r\n fanType !== 'awaitingSignupFanList' ? this.accountsData.config[fanType].rowDisable :\r\n this.eligibleFanCount !== this.signupInputData.FANList.awaitingSignupFanList.length,\r\n this.accountsData.config[fanType].rowDisableCondition,\r\n this.accountsData.config[fanType].rowDisableConditionInverse,\r\n fanType, tab === fanType);\r\n this.tabArray.push({\r\n id: this.accountsData.config[fanType].name, name: fanType,\r\n isActive: (tab === fanType || tab === '' && count === 0), htmlFlag: '', description: ''\r\n });\r\n count++;\r\n }\r\n }\r\n if (this.tabArray.length > 1) {\r\n if (this.tmc === 'ADDPMDM') {\r\n this.haveTab = true;\r\n } else {\r\n this.haveTab = false;\r\n }\r\n\r\n if (this.tabArray.filter(item => item.isActive).length === 0) {\r\n this.tabArray[0].isActive = true;\r\n }\r\n }\r\n\r\n this.initialSignup = this.tabArray.length === 1 && this.tabArray[0].name === 'awaitingSignupFanList';\r\n this.setAccountsHelpMessage();\r\n\r\n if (this.initialSignup) {\r\n this.signupInputData.FANList.awaitingSignupFanList.map(fan => {\r\n if (fan.addpEligibleStatus) {\r\n fan.selected = true;\r\n }\r\n return fan;\r\n });\r\n this.onRowClick('');\r\n }\r\n }\r\n\r\n buildAccordion() {\r\n let categoryNumber: string;\r\n if (this.signupOutputData.FANList.awaitingSignupFanList.length) {\r\n this.signupInputData.FANList.awaitingSignupFanList = this.signupOutputData.FANList.awaitingSignupFanList.slice();\r\n this.initGrid(this.signupInputData.FANList.awaitingSignupFanList.slice(),\r\n this.accountsData.config.awaitingSignupFanList.columnDefinitions,\r\n this.accountsData.config.awaitingSignupFanList.rowDisable,\r\n this.accountsData.config.awaitingSignupFanList.rowDisableCondition,\r\n this.accountsData.config.awaitingSignupFanList.rowDisableConditionInverse,\r\n 'awaitingSignupFanList');\r\n categoryNumber = this.selectedFanList > 1 ? ' foundation accounts added' : ' foundation account added';\r\n this.tabArray.push({\r\n id: 1, name: 'awaitingSignupFanList', isActive: false,\r\n category: this.selectedFanList + categoryNumber, content: '',\r\n ariaLabel: this.accountsData.content.accordionAriaLabel\r\n });\r\n }\r\n this.haveAccordion = true;\r\n this.setAccountsHelpMessage();\r\n }\r\n\r\n initGrid(respobj, colDef: Array, disableRow: boolean, disableRowCondition,\r\n disableRowConditionInverse, callback, preselectTab?) {\r\n const options = new GridOptionsModel();\r\n options.enableFiltering = false;\r\n options.enableSorting = false;\r\n options.multiSelect = true;\r\n options.emptyMessage = 'No records';\r\n options.enableBackLink = true;\r\n options.ariaLabel = 'Select all foundation accounts.';\r\n options.backLinkText = 'View all accounts';\r\n options.emptyMessage = 'We didn\\'t find any foundation accounts that match your search. Did you enter a full account number? ' +\r\n 'Check the number and try again.';\r\n if (disableRow) {\r\n options.disableRow = true;\r\n options.disableRowCondition = disableRowCondition;\r\n options.disableRowConditionInverse = disableRowConditionInverse;\r\n }\r\n\r\n const preSelectedFan = sessionStorage.getItem('selectedFAN');\r\n if (preselectTab && preSelectedFan) {\r\n const selectedFan: FanModel = respobj.filter(fan => fan.fanId === preSelectedFan)[0];\r\n if (selectedFan && selectedFan.accountStatus && selectedFan.accountStatus.toUpperCase() === 'ACTIVE') {\r\n selectedFan.selected = true;\r\n this.accountsData.content.selectedFans = this.accountsData.content.selectedFanTmp.replace('', 1);\r\n this.accountsData.content.selectedFans = this.accountsData.content.selectedFans.replace('',\r\n 'account');\r\n this.selected['revisedFanList'] = true;\r\n this.signupInputData.FANList.revisedFanList.forEach(item1 => {\r\n if (item1.fanId === selectedFan.fanId) {\r\n item1.selected = true;\r\n }\r\n });\r\n this.signupOutputData.FANList['revisedFanList'] =\r\n this.signupInputData.FANList['revisedFanList'].filter(item => item.selected === true);\r\n this.selectedFanList = 1;\r\n this.gridOptions.forEach((data, index) => {\r\n data.disableGrid = true;\r\n });\r\n this.selectedReviseSetup = true;\r\n }\r\n }\r\n\r\n const mdmDetails = JSON.parse(sessionStorage.getItem('mdmDetails'));\r\n if (callback === 'revisedFanList') {\r\n options.callbacks = { showFansProfile: this.showFansProfile };\r\n respobj.filter((fan) => {\r\n fan.accountSubStatus = SIGNUPDATA.statusLabel[fan.accountStatus];\r\n if (fan.accountStatus === 'ACTIVE' && fan.newDeviceEffectiveDate && new Date(fan.newDeviceEffectiveDate) > new Date()) {\r\n fan.accountSubStatus = 'Added';\r\n }\r\n });\r\n respobj.filter((fan) => {\r\n if (fan.selected) {\r\n this.FANListSel.push(fan);\r\n } else if (fan.accountSubStatus === 'Added') {\r\n this.FANListAct.push(fan);\r\n } else if (fan.accountSubStatus === 'Active') {\r\n this.FANListAct.push(fan);\r\n } else if (fan.accountSubStatus === 'Processing') {\r\n this.FANListPro.push(fan);\r\n }\r\n });\r\n respobj = this.FANListALL.concat(this.FANListSel, this.FANListAdd, this.FANListAct, this.FANListPro);\r\n } else if (callback === 'awaitingSignupFanList') {\r\n options.callbacks = { fanEligiblityStatus: this.fanEligiblityStatus };\r\n } else if (callback === 'newSetupFanList' && mdmDetails !== null && mdmDetails.productCode === 'ADDPZTE') {\r\n // making use of exiting variable to store google enrolled fans\r\n this.FANListSel = [];\r\n // using for samsung enrolled fans\r\n this.FANListPro = [];\r\n this.FANListALL = [];\r\n respobj.filter((fan) => {\r\n if (fan.productCode === 'DMPGZTP' && fan.productCode === this.termsCondproductURl.emmProductCode) {\r\n this.FANListSel.push(fan);\r\n } else if (fan.productCode === 'DMPSKME' && fan.productCode === this.termsCondproductURl.emmProductCode) {\r\n this.FANListPro.push(fan);\r\n }\r\n });\r\n respobj = this.FANListALL.concat(this.FANListSel, this.FANListPro);\r\n }\r\n\r\n const pagination = {\r\n recordsPerPage: 20,\r\n currentPage: 1,\r\n isServerSide: false,\r\n totalRecords: respobj.length\r\n };\r\n\r\n if (respobj.length > 20) {\r\n options.enableFiltering = true;\r\n options.enableSorting = true;\r\n }\r\n options.Paginations = pagination;\r\n\r\n\r\n options.gridData = respobj;\r\n options.columnDefinitions = colDef;\r\n options.searchPlaceHolder = 'Enter full foundation account number';\r\n options.searchType = 'number';\r\n this.gridOptions.push(options);\r\n }\r\n\r\n showFansProfile(element, row, field, currentElem, type) {\r\n if (type === 'template') {\r\n let pName = row.profileName;\r\n if (row.profileName === undefined || row.profileName == null) {\r\n pName = 'Profile unavailable';\r\n }\r\n return `
    ${row.fanId}
    `\r\n // return `
    ${row.fanId}
    ${pName}`;;\r\n } else if (row.accountStatus === 'ACTIVE' && type.target.classList.contains('fan-profile')) {\r\n currentElem.onDataChange.emit({ data: row, type: 'profileInfo' });\r\n }\r\n }\r\n\r\n fanEligiblityStatus(element, row, field, currentElem) {\r\n return `
    ${row.fanId}
    `;\r\n }\r\n\r\n /* Set Active Tab*/\r\n selectedTab(data) {\r\n this.activeTab = data;\r\n this.setAccountsHelpMessage();\r\n }\r\n\r\n /* Fan selection watched here from Grid*/\r\n onRowClick(action) {\r\n\r\n const fanType = this.tabArray[this.activeTab].name;\r\n\r\n this.signupOutputData.FANList[fanType] = this.signupInputData.FANList[fanType].filter(item => item.selected === true);\r\n\r\n this.selectedFanList = this.selectedFanLength();\r\n\r\n this.checkNDisableFANList();\r\n\r\n if (action.type === 'profileInfo') {\r\n this.manageInventoryService.setSelectedProfileID(action.data.profileId);\r\n this.router.navigate(['manageInventory/fanDeploymentProfile']);\r\n }\r\n }\r\n\r\n /* One Fan List is selected other list disabled*/\r\n checkNDisableFANList() {\r\n this.gridOptions.forEach((data, index) => {\r\n data.disableGrid = !!this.selectedFanList && !this.signupOutputData.FANList[this.tabArray[index].name].length;\r\n });\r\n }\r\n\r\n /* Show Selected FAN's in html*/\r\n selectedFanLength() {\r\n const selFans = [];\r\n for (const fanType in this.accountsData.config) {\r\n if (this.signupOutputData.FANList[fanType].length !== 0) {\r\n this.selected[fanType] = true;\r\n } else {\r\n this.selected[fanType] = false;\r\n }\r\n if (this.signupOutputData.FANList[fanType].length) {\r\n this.signupOutputData.FANList[fanType].forEach(cols => selFans.push(cols.fanId));\r\n }\r\n }\r\n this.accountsData.content.selectedFans = this.accountsData.content.selectedFanTmp.replace('', selFans.length);\r\n this.accountsData.content.selectedFans = this.accountsData.content.selectedFans.replace('',\r\n selFans.length === 0 ? 'accounts' : selFans.length > 1 ? 'accounts' : 'account');\r\n this.selectedFansCount[ this.activeTab ] = this.accountsData.content.selectedFans;\r\n return selFans.length;\r\n }\r\n\r\n setAccountsHelpMessage() {\r\n if (this.initialSignup && this.backFromSettings) {\r\n this.pageTitle = this.accountsData.content['backFromSettings'].heading;\r\n this.pageDescription = this.accountsData.content['backFromSettings'].description;\r\n } else if (this.tabArray.length === 0 && this.eligibleFanCount === 0) {\r\n if (this.mdm) {\r\n this.pageTitle = this.accountsData.content['noTabawaitingSignupFanList'].heading;\r\n this.pageDescription = this.accountsData.content['noTabawaitingSignupFanList'].description;\r\n this.pageLink = this.accountsData.content['noTabawaitingSignupFanList'].link;\r\n this.pageDescription2 = this.accountsData.content['noTabawaitingSignupFanList'].description2;\r\n if (window.innerWidth <= 1024) {\r\n this.pageDescription = this.accountsData.content['noTabawaitingSignupFanList'].mobileDescription;\r\n this.accountsData.content['noTabawaitingSignupFanList'].ibmTerms2 =\r\n this.accountsData.content['noTabawaitingSignupFanList'].ibmTerms2Mobile;\r\n this.accountsData.content['noTabawaitingSignupFanList'].ibmServiceLink =\r\n this.accountsData.content['noTabawaitingSignupFanList'].ibmServiceMobileLink;\r\n }\r\n } else {\r\n this.pageTitle = this.accountsData.content['noTabawaitingSignupFanList'].heading;\r\n this.pageDescription = this.accountsData.content['noTabawaitingSignupFanList'].description1;\r\n }\r\n } else {\r\n if (this.mdm === true) {\r\n this.pageTitle = this.accountsData.content[(this.haveTab ? 'tab' : 'noTab') +\r\n this.tabArray[this.activeTab].name].heading;\r\n this.pageDescription = this.accountsData.content[(this.haveTab ? 'tab' : 'noTab') +\r\n this.tabArray[this.activeTab].name].description;\r\n this.pageLink = this.accountsData.content[(this.haveTab ? 'tab' : 'noTab') +\r\n this.tabArray[this.activeTab].name].link;\r\n this.pageDescription2 = this.accountsData.content[(this.haveTab ? 'tab' : 'noTab') +\r\n this.tabArray[this.activeTab].name].description2;\r\n } else {\r\n this.pageTitle = this.accountsData.content['noTabawaitingSignupFanList'].heading;\r\n this.pageDescription = this.accountsData.content['noTabawaitingSignupFanList'].description1;\r\n }\r\n const fanType = 'awaitingSignupFanList'; // this.tabArray[this.activeTab].name;\r\n if (!this.selectedReviseSetup) {\r\n const selFansLength = this.signupOutputData.FANList[fanType].length;\r\n this.accountsData.content.selectedFans = this.accountsData.content.selectedFanTmp.replace('', selFansLength);\r\n this.accountsData.content.selectedFans = this.accountsData.content.selectedFans.replace('',\r\n selFansLength === 0 ? 'accounts' : selFansLength > 1 ? 'accounts' : 'account');\r\n } else {\r\n this.checkNDisableFANList();\r\n }\r\n }\r\n }\r\n\r\n handleError(error, type) {\r\n if (type === 'summary') {\r\n this.initModal = true;\r\n this.modalClass = 'pop-up';\r\n this.modalMsg = 'SystemFailure';\r\n this.pageloaderService.setPageLoaderStatus(true);\r\n } else {\r\n this.showError = true;\r\n this.pageloaderService.setPageLoaderStatus(true);\r\n this.errorMessage = this.accountsData.content.errorMessages[type];\r\n if (document.getElementById('alertMessage')) {\r\n document.getElementById('alertMessage').classList.remove('msgShown');\r\n }\r\n }\r\n }\r\n\r\n backToInitialSetup(event) {\r\n event.preventDefault();\r\n this.signupService.removeSignupModel();\r\n this.breadcrumb.removeLastBreadCrumb();\r\n sessionStorage.removeItem('enrollmentSelectedDetails');\r\n sessionStorage.removeItem('savedSelectedDetails');\r\n const currentUrl = this.breadcrumb.getLastUrlFromBreadCrumb().routerLink;\r\n const unclaim = sessionStorage.getItem('unclaimFlag') ? JSON.parse(sessionStorage.getItem('unclaimFlag')) : false;\r\n if (unclaim) {\r\n const previousUrl = sessionStorage.getItem('currentRoute');\r\n this.router.navigate([previousUrl]);\r\n } else {\r\n this.router.navigate([currentUrl]); \r\n }\r\n }\r\n\r\n backToProductSelection(event) {\r\n event.preventDefault();\r\n const previousRoute = sessionStorage.getItem('previousRoute');\r\n this.router.navigate([previousRoute]);\r\n }\r\n\r\n handleSuccessResponse(resobj) {\r\n console.log('Signup API response time => ' + new Date().getTime());\r\n if(resobj.status === 'Failed') {\r\n this.signupService.saveSignupModel(this.signupInputData, this.signupOutputData, this.initialSignup);\r\n this.handleError('error', 'signup');\r\n } else if (((resobj.status === 'Paritial Failed' || resobj.status === 'success') && this.tmc !== 'ADDPMDM') || this.tmc === 'ADDPMDM') {\r\n if (resobj.status === 'Paritial Failed') {\r\n let successFanList = resobj.successFanList;\r\n this.signupOutputData.FANList.awaitingSignupFanList.filter(item => {\r\n successFanList.filter(f => {\r\n if(item.fanId === f.fanId) {\r\n this.successfullySignupFAN.push(item);\r\n }\r\n });\r\n });\r\n this.signupOutputData.FANList.awaitingSignupFanList = this.successfullySignupFAN;\r\n }\r\n this.signupService.saveSignupModel(this.signupInputData, this.signupOutputData, this.initialSignup);\r\n // Adobe Analytics Starts\r\n this.adobeAnalyticsService.createAdobeEventProperties('MANAGE_DEVICE', 'SUCCESS', 'formResponse',\r\n 'BC_Device_Signup_Continue_Submit', 'success', 'Success_Admit', 'Continue', 'Body', '/businessconsole/signup/settings');\r\n // const data = { code: 'device_signup_continue_submit', errorType: 'SUCCESS_TYPE', successFlag: 1, msg: '' };\r\n // this.adobeAnalyticsService.trackEventProperties(data);\r\n // Ends\r\n this.router.navigate(['/signup/settings']);\r\n }\r\n }\r\n\r\n continueToNext() {\r\n this.adobeAnalyticsService.createAdobeEventProperties('MANAGE_DEVICE', 'SUCCESS', 'formSubmit',\r\n 'BC_Device_Signup_Continue_Submit', 'success', 'Success_Admit', 'Continue', 'Body', '/businessconsole/signup/settings');\r\n const checkFANSelected = this.signupOutputData.FANList.awaitingSignupFanList.length ||\r\n this.signupOutputData.FANList.newSetupFanList.length ||\r\n this.signupOutputData.FANList.revisedFanList.length;\r\n\r\n const manageProduct = JSON.parse(sessionStorage.getItem('manage-product'));\r\n const emmProductCode = manageProduct.emmProductCode;\r\n const selectedAccID = manageProduct.selectedAccID;\r\n const selectedId = Number.parseInt(selectedAccID);\r\n const user = JSON.parse(sessionStorage.getItem('user'));\r\n const agreementID = user.user.agreement.id;\r\n const impersonator = JSON.parse(sessionStorage.getItem('impersonator'));\r\n const isDisabled = impersonator && impersonator.id ? true : false;\r\n\r\n if (!checkFANSelected) {\r\n this.showError = true;\r\n this.errorMessage = this.accountsData.content[(this.haveTab ? 'tab' : 'noTab') +\r\n this.tabArray[this.activeTab].name].errorMessage;\r\n } else {\r\n this.showError = false;\r\n if (isDisabled && this.signupOutputData.FANList.awaitingSignupFanList.length && !this.haveAccordion) {\r\n (document.getElementById('accounts-btn')).disabled = true;\r\n } else if (this.signupOutputData.FANList.awaitingSignupFanList.length && !this.haveAccordion &&\r\n !this.utilityService.getEnvConfig().useMock) {\r\n this.pageloaderService.setPageLoaderStatus(false);\r\n if (emmProductCode === 'DMPGZTP') {\r\n if (Number.isInteger(selectedId)) {\r\n // already have the unqui code for google account\r\n console.log('Signup API request time => ' + new Date().getTime());\r\n this.signupService.submitSignupOrder(this.signupService.getSignupDataFromModel(this.signupOutputData)).subscribe(resobj => {\r\n this.handleSuccessResponse(resobj);\r\n }, error => {\r\n // this.pageloaderService.setPageLoaderStatus(true);\r\n this.signupService.saveSignupModel(this.signupInputData, this.signupOutputData, this.initialSignup);\r\n this.handleError(error, 'signup');\r\n // this.router.navigate(['/signup/settings']);\r\n // Adobe Analytics Starts\r\n this.adobeAnalyticsService.createAdobeEventProperties('MANAGE_DEVICE', 'FAILURE', 'formResponse',\r\n 'BC_Device_Signup_Continue_Submit', 'SystemFailure',\r\n 'Failure_user', 'Continue', 'Body', '/businessconsole/signup/accounts');\r\n // const data = { code: 'device_signup_continue_submit', errorType: 'FAILURE_TYPE', successFlag: 0, msg: error.statusText };\r\n // this.adobeAnalyticsService.trackEventProperties(data);\r\n // Ends\r\n });\r\n\r\n } else {\r\n this.signupService.createZtpAccount(selectedAccID, agreementID)\r\n .subscribe(response => {\r\n if (response.status === 'success') {\r\n sessionStorage.removeItem('manage-product');\r\n let productDetails = { emmProductCode: '', selectedAccID: '', signupEmmStatus: '' };\r\n productDetails.emmProductCode = 'DMPGZTP';\r\n productDetails.selectedAccID = response.ztpId;\r\n productDetails.signupEmmStatus = 'initial';\r\n sessionStorage.setItem('manage-product', JSON.stringify(productDetails));\r\n sessionStorage.removeItem('savedSelectedDetails');\r\n sessionStorage.removeItem('enrollmentSelectedDetails');\r\n sessionStorage.removeItem('showGoogleCreationError');\r\n // Success scenario\r\n console.log('Signup API request time => ' + new Date().getTime());\r\n this.signupService.submitSignupOrder(\r\n this.signupService.getSignupDataFromModel(this.signupOutputData)).subscribe(resobj => {\r\n this.handleSuccessResponse(resobj);\r\n }, error => {\r\n // this.pageloaderService.setPageLoaderStatus(true);\r\n // this.handleError(error, 'summary');\r\n this.signupService.saveSignupModel(this.signupInputData, this.signupOutputData, this.initialSignup);\r\n this.handleError(error, 'signup');\r\n // Adobe Analytics Starts\r\n this.adobeAnalyticsService.createAdobeEventProperties('MANAGE_DEVICE', 'FAILURE', 'formResponse',\r\n 'BC_Device_Signup_Continue_Submit', 'SystemFailure',\r\n 'Failure_user', 'Continue', 'Body', '/businessconsole/signup/accounts');\r\n // Ends\r\n });\r\n\r\n } else {\r\n this.pageloaderService.setPageLoaderStatus(true);\r\n // event.preventDefault();\r\n const previousRoute = sessionStorage.getItem('previousRoute');\r\n sessionStorage.setItem('showGoogleCreationError', 'true');\r\n this.router.navigate([previousRoute]);\r\n }\r\n });\r\n }\r\n } else {\r\n console.log('Signup API request time => ' + new Date().getTime());\r\n this.signupService.submitSignupOrder(this.signupService.getSignupDataFromModel(this.signupOutputData)).subscribe(resobj => {\r\n this.handleSuccessResponse(resobj);\r\n }, error => {\r\n // this.pageloaderService.setPageLoaderStatus(true);\r\n // this.handleError(error, 'summary');\r\n this.signupService.saveSignupModel(this.signupInputData, this.signupOutputData, this.initialSignup);\r\n this.handleError(error, 'signup');\r\n // Adobe Analytics Starts\r\n this.adobeAnalyticsService.createAdobeEventProperties('MANAGE_DEVICE', 'FAILURE', 'formResponse',\r\n 'BC_Device_Signup_Continue_Submit', 'SystemFailure', 'Failure_user', 'Continue', 'Body', '/businessconsole/signup/accounts');\r\n // const data = { code: 'device_signup_continue_submit', errorType: 'FAILURE_TYPE', successFlag: 0, msg: error.statusText };\r\n // this.adobeAnalyticsService.trackEventProperties(data);\r\n // Ends\r\n });\r\n }\r\n } else {\r\n // Adobe Analytics Starts\r\n this.adobeAnalyticsService.createAdobeEventProperties('MANAGE_DEVICE', 'SUCCESS', 'formResponse',\r\n 'BC_Device_Signup_Continue_Submit', 'success', 'Success_Admit', 'Continue', 'Body', '/businessconsole/signup/settings');\r\n // const data = { code: 'device_initial_signup_submit', errorType: 'SUCCESS_TYPE', successFlag: 1, msg: '' };\r\n // this.adobeAnalyticsService.trackEventProperties(data);\r\n // Ends\r\n this.signupService.saveSignupModel(this.signupInputData, this.signupOutputData, this.initialSignup);\r\n this.router.navigate(['/signup/settings']);\r\n }\r\n }\r\n }\r\n}\r\n","
    \n
    \n
    \n \n
    \n
    \n

    {{accountsData.content['PopMsg'+modalMsg].heading}}

    \n
    \n
    \n \n
    \n
    \n

    {{accountsData.content['PopMsg'+modalMsg].subheading}}

    \n

    {{accountsData.content['PopMsg'+modalMsg].description}}

    \n
    \n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n {{errorMessage}} {{accountsData.content.errorMessageGoogle.productSelectionPageLink}} {{accountsData.content.errorMessageGoogle.apiErrorDesc}}\n {{errorMessage}}\n
    \n
    \n\n
    \n

    {{pageTitle}}

    \n \n \n {{pageLink}}\n \n {{pageDescription2}} \n \n \n

    {{accountsData.content.backFromSettings.subheading}}

    \n \n
    \n
    \n
    \n

    {{accountsData.content.termsAndCondition.legalAgreement}}

    \n
    {{accountsData.content.termsAndCondition.attTerms}}\n {{accountsData.content.termsAndCondition.attTerms2}}\n \n {{accountsData.content.termsAndCondition.link2}}.\n

    \n {{accountsData.content.termsAndCondition.ibmCloudLink}}\n {{accountsData.content.termsAndCondition.termsServiceText2}}\n {{accountsData.content.termsAndCondition.termsIBMLink}}.\n
    \n

    {{accountsData.content.termsAndCondition.attTerms}}\n {{accountsData.content.termsAndCondition.attTerms2}}\n {{accountsData.content.termsAndCondition.link3}}.\n {{accountsData.content.termsAndCondition.description5}}\n {{accountsData.content.termsAndCondition.link4}}.\n

    \n

    {{accountsData.content.termsAndCondition.attTerms}}\n {{accountsData.content.termsAndCondition.attTerms2}}\n {{accountsData.content.termsAndCondition.link3}}.\n {{accountsData.content.termsAndCondition.description6}}\n {{accountsData.content.termsAndCondition.link4}}.\n

    \n
    \n
    \n \n {{accountsData.content.buttons.cancel}}\n
    \n
    \n\n
    \n
    \n

    {{pageTitle}}

    \n

    \n \n \n \n {{accountsData.content.noTabawaitingSignupFanList.link}}\n \n \n {{accountsData.content.noTabawaitingSignupFanList.description2}}\n \n \n

    \n \n \n

    {{accountsData.content.selectedFans}}

    \n
    \n \n
    {{accountsData.content.selectedFans}}
    \n \n \n \n
    \n

    {{accountsData.content.termsAndCondition.legalAgreement}}

    \n
    {{accountsData.content.termsAndCondition.attTerms}}\n {{accountsData.content.termsAndCondition.attTerms2}}\n \n {{accountsData.content.termsAndCondition.link2}}. \n

    \n {{accountsData.content.termsAndCondition.ibmCloudLink}}\n {{accountsData.content.termsAndCondition.termsServiceText2}}\n {{accountsData.content.termsAndCondition.termsIBMLink}}.\n
    \n

    {{accountsData.content.termsAndCondition.attTerms}}\n {{accountsData.content.termsAndCondition.attTerms2}}\n {{accountsData.content.termsAndCondition.link3}}.\n {{accountsData.content.termsAndCondition.description5}}\n {{accountsData.content.termsAndCondition.link4}}.\n

    \n

    {{accountsData.content.termsAndCondition.attTerms}}\n {{accountsData.content.termsAndCondition.attTerms2}}\n {{accountsData.content.termsAndCondition.link3}}.\n {{accountsData.content.termsAndCondition.description6}}\n {{accountsData.content.termsAndCondition.link4}}.\n

    \n
    \n
    \n \n \n {{accountsData.content.buttons.cancel}}\n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n \n \n
    \n

    {{pageTitle}}

    \n

    {{pageDescription}}

    \n

    {{accountsData.content.selectedFans}}

    \n

    {{selectedFansCount[i]}}

    \n
    \n \n
    {{accountsData.content.selectedFans}}
    \n
    {{selectedFansCount[i]}}
    \n
    \n
    \n

    {{accountsData.content.termsAndCondition.termsService}}

    \n
    \n
    {{accountsData.content.termsAndCondition.attTerms}}\n {{accountsData.content.termsAndCondition.attTerms2}}\n \n {{accountsData.content.termsAndCondition.link2}}.\n

    \n {{accountsData.content.termsAndCondition.ibmCloudLink}}\n {{accountsData.content.termsAndCondition.termsServiceText2}}\n {{accountsData.content.termsAndCondition.termsIBMLink}}.\n
    \n \n \n \n
    \n\n \n
    \n \n\n
    \n
    \n \n \n \n \n {{accountsData.content.buttons.cancel}}\n
    \n\n
    \n
    \n
    \n
    \n \n \n
    \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n","import { Component, OnInit, AfterViewInit, ChangeDetectorRef, ViewEncapsulation, ElementRef } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { StepIndicatorModel, StepIndicatorService } from 'lib/ng2-sapmp/src/ui-components';\nimport { ConfirmModalPopupModel } from 'lib/ng2-sapmp/src/ui-components/confirm-modal';\nimport { GridOptionsModel, ColumnDefinitionsModel, PaginationsModel } from 'lib/ng2-sapmp/src/ui-components/custom-grid';\nimport { AccordionComponent, AccordionListComponent } from 'lib/ng2-sapmp/src/ui-components/accordion';\nimport { SignupService } from './../shared/providers/signup.service';\nimport { HttpClient } from '@angular/common/http';\nimport { UtilityService } from 'lib/ng2-sapmp/src/providers';\nimport { AppModel, SignUpInputModel, SignUpOutputModel, SignUpModel, ProfileModel } from './../shared/models/signup.models';\nimport { PageLoaderService } from 'lib/ng2-sapmp/src/ui-components/page-loader';\nimport { SIGNUPDATA } from 'config';\n\ndeclare var ENV_VAR: any; // global variable set in env.js file, imported in index.html\n\n@Component({\n selector: 'app-applications',\n styleUrls: ['./applications.component.scss'],\n templateUrl: './applications.component.html',\n providers: [SignupService],\n encapsulation: ViewEncapsulation.None\n})\nexport class ApplicationsComponent implements OnInit, AfterViewInit {\n\n eventEmit: any;\n modalClass: string;\n gridOptions: GridOptionsModel;\n stepIndicators: StepIndicatorModel[];\n stepSessionName: string;\n defaultAppsName: any;\n appPackegeTitle: string;\n appAccordianTitle = '';\n showPopup: boolean;\n showEachApp: boolean;\n appPopup: ConfirmModalPopupModel;\n eachAppPopup: ConfirmModalPopupModel;\n learnMoreModelPopupText: string;\n profileName: string;\n appModel: AppModel;\n isAppPackageSelected: boolean;\n signupInputData: SignUpInputModel;\n signupOutputData: SignUpOutputModel;\n selectedAppId: Array;\n ProfileModel: ProfileModel;\n applicationData: any;\n appList: any;\n initialSignup: false;\n showError: boolean;\n notSelected: boolean;\n errorMessage: string;\n authenticatepage: boolean;\n isDefaultProfile: boolean;\n emmProductCode: any;\n toggleLine: boolean;\n selectedAppListFiltered: boolean = false;\n\n constructor(private router: Router, private activatedRoute: ActivatedRoute,\n private pageloaderService: PageLoaderService, private el: ElementRef,\n private stepindicatorService: StepIndicatorService, private signupService: SignupService,\n private utilityService: UtilityService, private changeDetectionRef: ChangeDetectorRef,\n private http: HttpClient) {\n\n this.pageloaderService.setPageLoaderStatus(false);\n\n const signupData = this.signupService.getSignupModel();\n if (signupData) {\n this.signupInputData = signupData.inputModel;\n this.signupOutputData = signupData.outputModel;\n this.initialSignup = signupData.initialSignup;\n this.authenticatepage = true;\n } else {\n this.authenticatepage = false;\n this.router.navigate(['/signup/accounts']);\n }\n }\n\n ngOnInit() {\n document.title = this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url];\n console.log('Applications page start time => ' + new Date().getTime());\n if (!this.authenticatepage) {\n return;\n }\n this.toggleLine = false;\n this.stepindicatorService.setCurrentStep(this.activatedRoute.snapshot.url[0].path);\n this.stepindicatorService.setVisibility(true);\n this.showPopup = false;\n this.showEachApp = false;\n this.learnMoreModelPopupText = '';\n this.defaultAppsName = '';\n this.appModel = new AppModel();\n this.selectedAppId = [];\n this.ProfileModel = new ProfileModel();\n this.applicationData = {};\n this.applicationData.config = SIGNUPDATA.ApplicationPage;\n this.errorMessage = this.applicationData.errorMessage;\n this.appList = [];\n this.isAppPackageSelected = true;\n\n // this.signupService.fetchJSON(this.utilityService.getEnvConfig().contentUrl.signup.applications).\n // subscribe(respobj => {\n this.applicationData.content = this.activatedRoute.snapshot.data.pageData.signupapplications;\n this.isDefaultProfile = this.signupOutputData.profile.defaultProfile;\n if (this.signupInputData.appList.length) {\n this.initGrid();\n } else {\n this.getAppList();\n }\n // });\n this.signupService.createPageLoadProperties('APPLICATIONS', 'Applications');\n }\n\n ngAfterViewInit() {\n console.log('Applications page end time => ' + new Date().getTime());\n }\n\n handleError(type, error?) {\n if (type === 'select') {\n this.notSelected = true;\n } else {\n this.showError = true;\n this.errorMessage = this.applicationData.content.errorMessages[type];\n this.pageloaderService.setPageLoaderStatus(true);\n }\n }\n\n /* add two columns in single row */\n callBackAppNameCellTemplate(element, row, field, currentElem, type) {\n if (type === 'template') {\n // return `${row.appName}

    ${row.shortDesc}

    `;\n return `

    ${row.shortDesc}

    `;\n } else if (type.target.classList.contains('app-name')) {\n currentElem.onDataChange.emit({ data: row, type: 'initModal' });\n }\n }\n\n getAppList() {\n this.emmProductCode = JSON.parse(sessionStorage.getItem('manage-product')).emmProductCode;\n this.signupService.getAppList(this.emmProductCode).\n subscribe(respobj => {\n console.log('Application API response time => ' + new Date().getTime());\n this.signupInputData.appList = respobj.Apps;\n this.initGrid();\n }, error => {\n this.handleError('application', error);\n });\n }\n\n initGrid() {\n const options = new GridOptionsModel();\n options.enableFiltering = true;\n options.enableSorting = true;\n options.multiSelect = true;\n options.ariaLabel= \"Select all applications\";\n const pagination = {\n recordsPerPage: 8,\n currentPage: 1,\n isServerSide: false,\n totalRecords: this.signupInputData.appList.length\n };\n\n options.callbacks = { callBackAppNameCellTemplate: this.callBackAppNameCellTemplate };\n\n const defaultAppsNameList = [];\n for (let i = 0; i < this.signupInputData.appList.length; i++) {\n if (this.signupInputData.profileList[0].applications.indexOf(this.signupInputData.appList[i].appId) !== -1) {\n defaultAppsNameList.push(this.signupInputData.appList[i].appName);\n this.signupInputData.appList[i].default = true;\n } else {\n this.signupInputData.appList[i].default = false;\n }\n }\n\n this.checkSetupStatus(this.signupInputData.appList); /* check initial setup or revised setup */\n\n this.defaultAppsName = defaultAppsNameList;\n\n options.Paginations = pagination;\n options.gridData = this.signupInputData.appList; \n options.columnDefinitions = this.applicationData.config.columnDefinitions;\n this.gridOptions = options;\n this.appList = [{\n id: 1, isActive: false, category: this.appAccordianTitle, content: '',\n ariaLabel: this.applicationData.content.accordionAriaLabel\n }];\n \n this.pageloaderService.setPageLoaderStatus(true);\n }\n\n removeBottomLine(){\n this.toggleLine = !this.toggleLine;\n if(this.signupInputData.appList.length <= 8){\n if(this.toggleLine){\n this.el.nativeElement.getElementsByClassName('accordion')[0].style.border=\"0px\";\n }\n else{\n this.el.nativeElement.getElementsByClassName('accordion')[0].style.borderBottom='1px solid #d2d2d2'; \n }\n }\n }\n\n /* check initial setup or revised setup */\n checkSetupStatus(respobj) {\n if (this.isDefaultProfile) {\n for (let i = 0; i < respobj.length; i++) {\n if (respobj[i].default === true) {\n respobj[i].selected = true;\n }\n this.appPackegeTitle = this.applicationData.content.initialFlowPackageLabel;\n this.appAccordianTitle = this.applicationData.content.initialFlowAccordionTitle;\n }\n } else {\n for (let j = 0; j < this.signupInputData.appList.length; j++) {\n this.signupInputData.appList[j].selected =\n this.signupOutputData.profile.applications.indexOf(this.signupInputData.appList[j].appId) !== -1;\n }\n this.profileName = this.signupOutputData.profile.profileName;\n this.appPackegeTitle = this.applicationData.content.revisedFlowPackageLabel.replace('', this.profileName);\n this.applicationData.content.revisedFlow = this.applicationData.content.revisedFlow.replace('', this.profileName);\n this.appAccordianTitle = this.applicationData.content.revisedFlowAccordionTitle;\n this.isAppPackageSelected = this.isDefaultAppsSelected(this.signupInputData.appList);\n }\n }\n\n\n initAppModal(app) {\n\n const popupHeading = app === undefined ? 'Standard business apps' : app.appName;\n const popupContent = app === undefined ? this.applicationData.appPackageDescription : `

    ${app.longDesc}

    `;\n\n this.appPopup = new ConfirmModalPopupModel();\n this.appPopup.modalMessage = popupContent;\n this.appPopup.modalSubHeader = '';\n this.appPopup.modalHeader = popupHeading;\n this.appPopup.confirmButtonMessage = 'OK';\n this.appPopup.confirmButtonAccessibilityText = 'OK.';\n this.appPopup.showCancelButton = false;\n this.modalClass = 'modal-lg applications-modal';\n this.eventEmit = document.activeElement;\n this.showPopup = true;\n this.signupService.createPageLoadProperties('APPLICATIONSMODAL', 'Applications');\n\n }\n\n onRowClick(action) {\n if (action.type === 'initModal') {\n this.initAppModal(action.data);\n } else {\n this.signupOutputData.profile.applications = this.selectedAppList();\n this.isAppPackageSelected = this.isDefaultAppsSelected(action.griddata);\n }\n }\n\n onAppPackSelect() {\n this.isAppPackageSelected = !this.isAppPackageSelected;\n for (let i = 0; i < this.signupInputData.appList.length; i++) {\n this.signupInputData.appList[i].selected = this.signupInputData.appList[i].default && this.isAppPackageSelected;\n }\n if (this.isAppPackageSelected === true)\n this.el.nativeElement.getElementsByClassName('application-list-selector')[0].checked = false;\n this.signupOutputData.profile.applications = this.selectedAppList();\n }\n\n closePopup() {\n this.showPopup = false;\n this.signupService.createPageLoadProperties('APPLICATIONS', 'Applications');\n\n }\n\n /* check if default app selected all together if mean will select app package checkbox automatically */\n isDefaultAppsSelected(gridData) {\n if (gridData && gridData.length > 0) {\n const defaultAppList = gridData.filter(d => d.default);\n const selectedDefaultAppList = defaultAppList.filter(d => d.selected);\n return defaultAppList.length === selectedDefaultAppList.length &&\n selectedDefaultAppList.length === this.signupOutputData.profile.applications.length;\n } else {\n return false;\n }\n }\n\n selectedAppList() {\n const tmpAppList = [];\n this.signupInputData.appList.filter(item => item.selected === true).forEach(item => tmpAppList.push(item.appId));\n return tmpAppList;\n }\n\n continueToNext(event) {\n // if(this.signupOutputData.profile.applications.length > 0){\n this.selectedAppListFiltered === false ? \n this.signupOutputData.profile.applications = this.selectedAppList() : null;\n event.preventDefault();\n this.signupService.saveSignupModel(this.signupInputData, this.signupOutputData, this.initialSignup);\n this.router.navigate(['/signup/startdate']);\n }\n\n navigate() {\n this.router.navigate(['/faq']);\n }\n\n backToPrevious(event) {\n event.preventDefault();\n this.router.navigate(['/signup/settings']);\n }\n}\n","
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t{{errorMessage}}\n\t\t\t
    \n\t\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t

    {{applicationData.content.selectOptApp}}

    \n\t\t\t\t

    \n\t\t\t\t

    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
      \n\t\t\t\t\t
    • \n\t\t\t\t\t\t{{app}}\n\t\t\t\t\t
    • \n\t\t\t\t
    \n\t\t\t\t{{applicationData.content.learnMore}}\n\t\t\t
    \n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t\t{{applicationData.content.buttons.back}}\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\t
    \n\t
    \n\t","import { Component, OnInit, OnDestroy, ViewEncapsulation } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { FormGroup, FormControl, Validators, FormBuilder } from '@angular/forms';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport {\n StepIndicatorModel, StepIndicatorService, AccordionComponent, AccordionModel, CustomgridComponent, GridOptionsModel,\n ColumnDefinitionsModel, PaginationsModel, DatePickerService\n} from 'lib/ng2-sapmp/src/ui-components';\nimport {\n EnrollmentDateModel, SignUpOutputModel, SignUpInputModel, FanModel, SettingsModel,\n AppModel\n} from './../shared/models/signup.models';\nimport { UtilityService, AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';\nimport { SignupService } from './../shared/providers/signup.service';\nimport { ConfirmModalPopupModel } from 'lib/ng2-sapmp/src/ui-components/confirm-modal';\nimport { PageLoaderService } from 'lib/ng2-sapmp/src/ui-components/page-loader';\nimport { MobilePivotModel } from 'lib/ng2-sapmp/src/ui-components/mobile-pivot';\nimport { MOBILEPIVOTS, SIGNUPDATA } from 'config';\n\ndeclare var ENV_VAR: any; // global variable set in env.js file, imported in index.html\n\n@Component({\n selector: 'app-confirm',\n templateUrl: './confirm.component.html',\n styleUrls: ['./confirm.component.scss'],\n providers: [SignupService, DatePickerService, AdobeAnalyticsService],\n encapsulation: ViewEncapsulation.None\n})\nexport class ConfirmComponent implements OnInit, OnDestroy {\n\n public profileId: string;\n public form: FormGroup;\n public customProfile = new FormControl('', Validators.required);\n public msg: any;\n public fanList: Array;\n public page: any;\n public createProfile: boolean;\n public showAppleCertificate: string;\n private signupOutputModel: SignUpOutputModel;\n private signupInputModel: SignUpInputModel;\n private initialSignup = false;\n public authenticatepage: boolean;\n public initModal: boolean;\n public confirmModalPopup: ConfirmModalPopupModel;\n public pageContent: any;\n public selectedFan: any;\n public backToCallingPage: string;\n pivots: Array;\n displayFANText: string;\n existingDateNull: boolean;\n changeEnrollmentSettings: boolean;\n public pageDescription: Array;\n private activeFANList: Array = [];\n private futureEnrollList: Array = [];\n emmProductCode: any;\n prodFlag: boolean;\n OemHeading: any;\n selectedAccID: any;\n selectedSamsungID: any;\n selectedGoogleID: any;\n productSelection: String;\n mobileView: any;\n manageProduct: any;\n successHeading: string;\n successMessage: string;\n showOverviewModal: any;\n videoId: string;\n helpArticles: any;\n article: any;\n supportArticle = false;\n\n constructor(private router: Router,\n private activatedRoute: ActivatedRoute,\n private stepindicatorService: StepIndicatorService,\n private pageloaderService: PageLoaderService,\n private signupService: SignupService,\n private utilityService: UtilityService,\n private formBuilder: FormBuilder,\n private dateforamtter: DatePickerService,\n private adobeAnalyticsService: AdobeAnalyticsService) {\n this.existingDateNull = false;\n this.pageloaderService.setPageLoaderStatus(false);\n const signupModel = this.signupService.getSignupModel();\n let revisedFanList;\n\n if (signupModel) {\n this.signupOutputModel = signupModel.outputModel;\n this.signupInputModel = signupModel.inputModel;\n revisedFanList = this.signupOutputModel.FANList.revisedFanList;\n this.initialSignup = signupModel.initialSignup;\n this.createProfile = signupModel.isNewProfile;\n\n this.selectedFan = this.signupService.getSelectedFAN(this.signupOutputModel.FANList);\n this.fanList = this.signupOutputModel.FANList[this.selectedFan];\n this.displayFANText = this.fanList.length === 1 ? ' Foundation account selected' : ' Foundation accounts selected';\n this.authenticatepage = true;\n } else {\n this.authenticatepage = false;\n this.router.navigate(['signup']);\n }\n if (revisedFanList) {\n console.log(revisedFanList);\n revisedFanList.forEach(fan => {\n if (fan.accountSubStatus === 'Active') {\n this.activeFANList.push(fan);\n } else {\n this.futureEnrollList.push(fan);\n }\n });\n }\n\n }\n\n ngOnInit() {\n document.title = this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url];\n\n if (!this.authenticatepage) {\n return;\n }\n this.mobileView = document.body.clientWidth < 1024;\n // this.emmProductCode = sessionStorage.getItem('emmProductCode');\n // this.selectedAccID = sessionStorage.getItem('selectedAccID');\n this.manageProduct = JSON.parse(sessionStorage.getItem('manage-product'));\n this.emmProductCode = this.manageProduct.emmProductCode;\n this.selectedAccID = this.manageProduct.selectedAccID;\n if (this.emmProductCode === 'DMPSKME' || this.emmProductCode === 'DMPGZTP') {\n this.prodFlag = true;\n } else {\n this.prodFlag = false;\n }\n\n this.productSelection = '/productselection';\n this.pageDescription = [{\n 'header': 'Accounts with enrolled devices',\n 'accordion': [this.createAccordionModelChange('ActiveFAN', 'hi')],\n 'hide': !this.activeFANList.length,\n 'gridHeader': (this.activeFANList.length === 1) ? this.activeFANList.length +\n '  ' + 'Account with deployed devices' : this.activeFANList.length + '  ' + 'Accounts with deployed devices',\n 'gridOptions': this.createGridOptions('active'),\n 'moreThanFiveFan': this.activeFANList.length > 5,\n 'gridCallback': this.updateActiveList\n }, {\n 'header': 'Accounts with pending devices',\n 'accordion': [this.createAccordionModelChange('FutureFAN', 'hi')],\n 'hide': !this.futureEnrollList.length,\n 'gridHeader': (this.futureEnrollList.length === 1) ? this.futureEnrollList.length +\n '  ' + 'Account with devices not yet enrolled' : this.futureEnrollList.length +\n '  ' + 'Accounts with devices not yet enrolled',\n 'gridOptions': this.createGridOptions('future'),\n 'moreThanFiveFan': this.futureEnrollList.length > 5,\n 'gridCallback': this.updateFutureList\n }];\n\n if (this.futureEnrollList.length > 0 || this.activeFANList.length > 0) {\n this.changeEnrollmentSettings = true;\n }else {\n this.changeEnrollmentSettings = false;\n }\n\n this.backToCallingPage = sessionStorage.getItem('SignupBacktoCallingPage');\n if (!this.backToCallingPage || this.backToCallingPage === '/home') {\n this.backToCallingPage = '/manageInventory';\n }\n this.pivots = MOBILEPIVOTS.SIGNUPPAGE;\n this.pivots[0].routerLink = this.backToCallingPage;\n this.stepindicatorService.setCurrentStep(this.activatedRoute.snapshot.url[0].path);\n this.stepindicatorService.setVisibility(true);\n const settings: SettingsModel = this.signupOutputModel.profile.settings;\n const enrollmentDate: EnrollmentDateModel = this.signupOutputModel.deviceEnrollDate;\n if (enrollmentDate.existing == null || enrollmentDate.existing === undefined) {\n this.existingDateNull = true;\n }\n const applications = this.signupOutputModel.profile.applications;\n this.showAppleCertificate = '';\n\n this.signupService.getAppleSummary().subscribe(res => {\n this.showAppleCertificate = res.status;\n });\n\n this.signupService.pageContent(this.utilityService.getEnvConfig().contentUrl.signup.confirm).\n subscribe(respobj => {\n this.pageContent = respobj;\n\n this.pageContent.appleCertificate['Not Installed'].description = this.pageContent.appleCertificate['Not Installed']\n .description.split(/[[\\]]/);\n this.pageContent.appleCertificate['Expired'].description = this.pageContent.appleCertificate['Expired'].description.split(/[[\\]]/);\n\n this.msg = {\n id: 'success',\n class: 'icon-approval',\n header1: this.pageContent.successMsg.heading1,\n header2: this.pageContent.successMsg.heading2,\n description: this.pageContent.successMsg.description,\n oemHeader: this.pageContent.successMsg.oemHeader\n };\n\n this.form = this.formBuilder.group({\n 'customProfile': this.customProfile\n });\n\n let notificationEnabled = -1;\n if (settings.emailEnabled && !settings.smsEnabled) {\n notificationEnabled = 0;\n } else if (!settings.emailEnabled && settings.smsEnabled) {\n notificationEnabled = 1;\n } else if (settings.emailEnabled && settings.smsEnabled) {\n notificationEnabled = 2;\n }\n\n this.page = {\n company: this.signupOutputModel.companyId,\n participationDate: this.dateforamtter.formatDate('mm/dd/yyyy', new Date()),\n fanList: {\n accordion: this.fanList.length > 5 ? [this.createAccordionModel('selectedFan')] : undefined,\n gridOptions: this.createGridOptions('selectedFan')\n },\n\n settings: [\n { key: this.pageContent.settings.newDevNwLabel + ' : ', value: settings.newDevNwt ? 'ON' : 'OFF' },\n { key: this.pageContent.settings.extDevNwlabel + ' : ', value: settings.extDevNwt ? 'ON' : 'OFF' },\n {\n key: this.pageContent.settings.securityPolicy + ' : ',\n value: SIGNUPDATA.SettingsPage.securityPolicy[settings.securityPolicy]\n },\n {\n key: this.pageContent.settings.passcodePolicy + ' : ',\n value: SIGNUPDATA.SettingsPage.passcodePolicy[settings.passCodePolicy]\n },\n {\n key: 'Send notifications by:', value: notificationEnabled === -1 ? '' : this.pageContent.settings.notification[notificationEnabled]\n }\n ],\n settingsOem: [\n {\n key: 'Send notifications by:', value: notificationEnabled === -1 ? '' : this.pageContent.settings.notification[notificationEnabled]\n }\n ],\n applications: this.signupService.selectedAppList(this.signupInputModel.appList,\n this.signupOutputModel.profile.applications),\n enrollmentDate: [\n {\n key: this.pageContent.enrollDate.new + ' : ', value: this.dateforamtter.\n formatDate('mm/dd/yyyy', new Date(enrollmentDate.new))\n },\n {\n key: this.pageContent.enrollDate.existing + ' : ', value: this.dateforamtter.\n formatDate('mm/dd/yyyy', new Date(enrollmentDate.existing))\n }\n ],\n formInput: {\n heading: this.signupOutputModel.profile.defaultProfile ? this.pageContent.newProfile.heading :\n this.pageContent.revisedProfile.heading,\n description: this.signupOutputModel.profile.defaultProfile ?\n this.pageContent.newProfile.description.replace('', this.signupOutputModel.profile.profileName) :\n this.pageContent.revisedProfile.description.replace('', this.signupOutputModel.profile.profileName)\n }\n };\n\n this.pageloaderService.setPageLoaderStatus(true);\n this.signupService.removeSignupModel();\n\n if (this.emmProductCode === 'DMPGZTP') {\n this.OemHeading = this.pageContent.MDMService.googleLabel;\n this.selectedGoogleID = this.selectedAccID;\n this.successHeading = this.pageContent.successMsg.zteHeading;\n this.successMessage = this.pageContent.successMsg.zteMsg;\n }else if (this.emmProductCode === 'DMPSKME') {\n this.OemHeading = this.pageContent.MDMService.samsungLabel;\n this.selectedSamsungID = this.selectedAccID;\n this.successHeading = this.pageContent.successMsg.zteHeading;\n this.successMessage = this.pageContent.successMsg.zteMsg;\n }else {\n this.OemHeading = this.pageContent.MDMService.ibmLabel;\n this.successHeading = this.pageContent.successMsg.ibmHeading;\n this.successMessage = this.pageContent.successMsg.ibmMsg;\n }\n\n });\n this.helpArticles = [{ id: 1, isActive: true, category: 'Help', content: '' }];\n const pageName = 'signupConfirmPage';\n if (!this.prodFlag) {\n this.signupService.requestSupportContent(this.utilityService.getEnvConfig().getSupportDocument + pageName).\n subscribe(resp => {\n this.article = resp.supportArticles;\n this.article.name = this.article.availableArticle[0].name;\n this.article.url = this.article.availableArticle[0].url;\n this.supportArticle = true;\n }, (err) => {\n // this.handleError(err);\n });\n } this.signupService.createPageLoadProperties('CONFIRM', 'Confirm');\n }\n\n backToProductSelection() {\n event.preventDefault();\n this.router.navigate(['/productselection/']);\n }\n\n createAccordionModel(id: string) {\n const accordionModel = new AccordionModel();\n accordionModel.id = id;\n accordionModel.isActive = false;\n accordionModel.category = ' Selected foundation accounts';\n accordionModel.ariaLabel = this.pageContent.accordionAriaLabel;\n return accordionModel;\n }\n createAccordionModelChange(id: string, ariaLabel) {\n const accordionModel = new AccordionModel();\n const fanList = (id === 'ActiveFAN') ? this.activeFANList : this.futureEnrollList;\n accordionModel.id = id;\n accordionModel.isActive = false;\n accordionModel.category = (id === 'ActiveFAN') ? (this.activeFANList.length + '  ' + ' Accounts with deployed devices')\n : (this.futureEnrollList.length + '  ' + ' Accounts with devices not yet enrolled');\n accordionModel.ariaLabel = ariaLabel;\n return accordionModel;\n }\n updateFutureList = ($event: any) => {\n this.futureEnrollList = $event.griddata;\n const title = (this.filterSelected(this.futureEnrollList).length === 1) ?\n this.filterSelected(this.futureEnrollList).length + ' Foundation Account Selected' :\n this.filterSelected(this.futureEnrollList).length + ' Foundation Accounts Selected';\n this.updateView(this.pageDescription[1], title);\n }\n\n updateActiveList = ($event: any) => {\n this.activeFANList = $event.griddata;\n const title = (this.filterSelected(this.activeFANList).length === 1) ?\n this.filterSelected(this.activeFANList).length + ' Foundation Account Selected' :\n this.filterSelected(this.activeFANList).length + ' Foundation Accounts Selected';\n this.updateView(this.pageDescription[0], title);\n }\n\n updateView(description: any, title: string) {\n if (description.accordion) {\n description.accordion[0].category = title;\n } else {\n description.gridHeader = title;\n }\n }\n\n filterSelected(fanList: Array) {\n const filteredFans = new Array();\n fanList.forEach(fan => {\n if (fan.selected) {\n filteredFans.push(fan);\n }\n });\n return filteredFans;\n }\n\n getSupportContent(articleNumber) {\n if (this.article.availableArticle[articleNumber].type === 'url') {\n this.initPopupModal(articleNumber);\n }\n }\n\n initPopupModal(articleNumber) {\n this.videoId = this.article.availableArticle[articleNumber].url;\n this.showOverviewModal = true;\n }\n\n closeOverviewModal() {\n this.showOverviewModal = false;\n\n } \n createGridOptions(id: string) {\n const gridOption = new GridOptionsModel();\n const columns: ColumnDefinitionsModel = {\n field: 'fanId',\n caption: 'Foundation Accounts',\n type: 'TEXT'\n };\n\n const pages: PaginationsModel = {\n recordsPerPage: 20,\n currentPage: 1,\n totalRecords: this.fanList.length,\n isServerSide: false,\n };\n\n gridOption.enableFiltering = false;\n gridOption.columnDefinitions = [columns];\n gridOption.enableSorting = false;\n gridOption.Paginations = pages;\n gridOption.searchPlaceHolder = '';\n gridOption.searchDescriptions = '';\n gridOption.callbacks = null;\n gridOption.multiSelect = false;\n gridOption.disableGrid = false;\n gridOption.disableRow = false;\n gridOption.showPaginationIndex = this.fanList.length > 5;\n\n if (this.selectedFan === 'revisedFanList') {\n gridOption.columnDefinitions.push({\n caption: 'Set up Status', field: 'accountStatus', type: 'TEXT'\n });\n gridOption.gridData = id === 'active' ? this.activeFANList : this.futureEnrollList;\n gridOption.gridData = gridOption.gridData.map(item => {\n item.accountStatus = 'Processing';\n return item;\n });\n } else {\n gridOption.gridData = this.fanList;\n }\n\n return gridOption;\n\n }\n\n closeModal(confirm) {\n this.initModal = false;\n }\n\n onSubmit() {\n this.msg.show = false;\n this.adobeAnalyticsService.createAdobeEventProperties('MANAGE_DEVICE', 'SUCCESS', 'formSubmit',\n 'BC_Device_Signup_Profilename_Submit', 'success', 'Success_Admit', 'Save', 'Body', '/businessconsole/signup/confirm');\n this.pageloaderService.setPageLoaderStatus(false);\n if (this.customProfile) {\n if (this.signupInputModel.profileList.filter(item => item.profileName === this.customProfile.value).length === 0) {\n this.msg = { id: '' };\n\n if (!this.utilityService.getEnvConfig().useMock) {\n console.log('Profile name Update API request time => ' + new Date().getTime());\n this.signupService.updateProfileName(this.signupOutputModel.profile.profileId, this.customProfile.value)\n .subscribe(resobj => {\n console.log('Profile name Update API response time => ' + new Date().getTime());\n this.msg = {\n id: 'updated',\n class: 'icon-success',\n header: 'Success',\n description: resobj.status\n };\n this.page.formInput.description = this.customProfile.value ?\n this.pageContent.newProfile.description.replace('', this.customProfile.value) :\n this.pageContent.revisedProfile.description.replace('', this.customProfile.value);\n\n // Adobe Analytics Starts\n this.adobeAnalyticsService.createAdobeEventProperties('MANAGE_DEVICE', 'SUCCESS', 'formResponse',\n 'BC_Device_Signup_Profilename_Submit', 'success', 'Success_Admit', 'Save', 'Body', '/businessconsole/signup/confirm');\n // Ends\n this.pageloaderService.setPageLoaderStatus(true);\n }, (error) => {\n this.msg = {\n id: 'error',\n class: 'icon-badgealert',\n header: 'We have entered the following system error.',\n description: 'Please choose a different name, the one you have already exists'\n };\n this.pageloaderService.setPageLoaderStatus(true);\n // Adobe Analytics Starts\n this.adobeAnalyticsService.createAdobeEventProperties('MANAGE_DEVICE', 'FAILURE', 'formResponse',\n 'BC_Device_Signup_Profilename_Submit', 'Please choose a different name, the one you have already exists',\n 'Failure_user', 'Save', 'Body', '/businessconsole/signup/confirm');\n // Ends\n });\n } else {\n this.msg = {\n id: 'updated',\n class: 'icon-success',\n header: 'Success',\n description: 'Profile name updated.'\n };\n this.page.formInput.description = this.customProfile.value ?\n this.pageContent.newProfile.description.replace('', this.customProfile.value) :\n this.pageContent.revisedProfile.description.replace('', this.customProfile.value);\n\n this.adobeAnalyticsService.createAdobeEventProperties('MANAGE_DEVICE', 'SUCCESS', 'formResponse',\n 'BC_Device_Signup_Profilename_Submit', 'success', 'Success_Admit', 'Save', 'Body', '/businessconsole/signup/confirm');\n this.pageloaderService.setPageLoaderStatus(true);\n }\n } else {\n this.msg = {\n id: 'error',\n class: 'icon-badgealert',\n header: 'We have entered the following system error.',\n description: 'Please choose a different name, the one you have already exists'\n };\n this.adobeAnalyticsService.createAdobeEventProperties('MANAGE_DEVICE', 'FAILURE', 'formResponse',\n 'device_signup_profilename_submit', 'Please choose a different name, the one you have already exists',\n 'Failure_user', 'save', 'Body', '/businessconsole/signup/confirm');\n this.pageloaderService.setPageLoaderStatus(true);\n }\n }\n }\n\n ngOnDestroy() {\n }\n}\n","
    \n
    \n
    \n
    \n \n \n \n \n
    \n
    \n
    \n
    \n
    \n
    {{successHeading}} {{successMessage}} Remember to accept Google® terms and conditions.
    \n
    \n
    \n
    \n
    \n \n \n
    \n
    \n

    {{successHeading}}

    \n
    \n

    {{successMessage}} Remember to accept Google® terms and conditions.

    \n \n
    \n
    \n
    \n
    \n \n
    \n
    {{pageContent.systemErrorLabel}} {{msg.description}}
    \n
    \n\n

    {{pageContent.heading}}

    \n

    \n {{pageContent.participantDate}} : {{page.participationDate}}\n

    \n
    \n
    \n
    \n

    {{page.header}}

    \n
    \n
    \n
    \n \n \n \n \n \n \n
    \n
    \n \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n \n \n \n \n \n \n
    \n

    {{fanList.length}} {{displayFANText}}

    \n \n
    \n
    \n
    \n

    {{pageContent.MDMService.heading}}

    \n

    \n

    {{pageContent.MDMService.oemLabel}} {{OemHeading}}

    \n

    {{pageContent.MDMService.googleIdLabel}} {{selectedAccID}}

    \n

    {{pageContent.MDMService.samsungIdLabel}} {{selectedAccID}}

    \n
    \n
    \n

    {{pageContent.settings.heading}}

    \n
    \n
    \n
    {{setting.key}} {{setting.value}}
    \n
    \n
    \n
    \n
    \n
    {{setting.key}} {{setting.value}}
    \n
    \n
    \n
    \n
    \n

    {{pageContent.applications}}

    \n
      \n
    • \n {{app}}\n
    • \n
    \n
    \n
    \n

    {{pageContent.enrollDate.heading}}

    \n
    \n
    {{setting.key}} {{setting.value}}
    \n
    {{setting.key}} {{setting.value}}
    \n
    {{setting.key}} Not set
    \n
    \n
    \n
    \n

    {{page.formInput.heading}}

    \n
    \n
    \n
    \n
    \n
    \n \n
    {{pageContent.form.fieldErrMsg}}
    \n
    {{pageContent.form.fieldSuccMsg}}
    \n
    \n
    \n
    \n \n
    \n
    {{pageContent.form.toolTipText.heading}}
    \n

    {{pageContent.form.toolTipText.description}}

    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n

    {{pageContent.appleCertificate[showAppleCertificate].heading}}

    \n
    \"\"
    \n
    {{pageContent.appleCertificate[showAppleCertificate].description[0]}} {{pageContent.appleCertificate[showAppleCertificate].description[1]}}\n {{pageContent.appleCertificate[showAppleCertificate].description[2]}}
    \n
    \n \n \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n\n
    \n","export * from './signup.component';\nexport * from './accounts/accounts.component';\nexport * from './settings/settings.component';\nexport * from './applications/applications.component';\nexport * from './startdate/startdate.component';\nexport * from './review/review.component';\nexport * from './confirm/confirm.component';","import { Component, OnInit, ViewEncapsulation, AfterViewChecked } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { UtilityService, AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { StepIndicatorModel, StepIndicatorService, AccordionModel, ConfirmModalPopupModel } from 'lib/ng2-sapmp/src/ui-components';\nimport { GridOptionsModel, ColumnDefinitionsModel, PaginationsModel, FilterService } from 'lib/ng2-sapmp/src/ui-components/custom-grid';\nimport { SignupService } from './../shared/providers/signup.service';\nimport { SignUpModel, SignUpInputModel, SignUpOutputModel, ProfileModel, SettingsModel , FanModel} from './../shared/models/signup.models';\nimport { AccordionComponent } from 'lib/ng2-sapmp/src/ui-components/accordion/accordion.component';\nimport { SIGNUPDATA } from 'config';\nimport { PageLoaderService } from 'lib/ng2-sapmp/src/ui-components/page-loader';\ndeclare var ENV_VAR: any; // global variable set in env.js file, imported in index.html\n\n@Component({\n selector: 'app-review',\n templateUrl: './review.component.html',\n providers: [SignupService, AdobeAnalyticsService],\n styleUrls: ['./review.component.scss'],\n encapsulation: ViewEncapsulation.None\n})\n\nexport class SetupReviewComponent implements OnInit, AfterViewChecked {\n signupInputData: SignUpInputModel;\n signupOutputData: SignUpOutputModel;\n public enrollDatePopup: ConfirmModalPopupModel;\n acknowledged: boolean;\n initialSignup: boolean;\n is_acknowledged: boolean;\n selectedApps: Array;\n selectedFan: string;\n showError: boolean;\n errorMessage: string;\n errorMessageDesc: string;\n reviewData: any;\n accordion: boolean;\n gridOptions: GridOptionsModel;\n tabArray: Array;\n authenticatepage: boolean;\n pageContent: any;\n settingsConfig: any;\n displayFANText: string;\n existingDateNull: boolean;\n changeEnrollmentSettings: boolean;\n public pageDescription: Array;\n private activeFANList: Array = [];\n private futureEnrollList: Array = [];\n emmProductCode: any;\n oemStatus: boolean;\n showSupportModal: boolean;\n eventEmit: any;\n checkboxDisable = true;\n OemHeading: any;\n selectedAccID: any;\n selectedSamsungID: any;\n selectedGoogleID: any;\n user: any;\n agreementID: any;\n fanArrayList: any = [];\n reviewDataList: any;\n notificationTypeList: any = [];\n createProfileJson: any = {};\n manageProduct: any;\n initialSignupStaus: boolean;\n signupStatus: any;\n createZTPStaus: boolean;\n productDetails: any;\n showEnrollDetailsModal = false;\n\n\n constructor(private route: ActivatedRoute, private router: Router,\n private activatedRoute: ActivatedRoute,\n private stepindicatorService: StepIndicatorService,\n private utilityService: UtilityService,\n private pageloaderService: PageLoaderService,\n private signupService: SignupService,\n private adobeAnalyticsService: AdobeAnalyticsService) {\n this.existingDateNull = false;\n let revisedFanList;\n //this.pageloaderService.setPageLoaderStatus(false);\n const signupData = this.signupService.getSignupModel();\n if (signupData) {\n this.signupInputData = signupData.inputModel;\n this.signupOutputData = signupData.outputModel;\n this.initialSignup = signupData.initialSignup;\n revisedFanList = this.signupOutputData.FANList.revisedFanList;\n this.authenticatepage = true;\n } else {\n this.authenticatepage = false;\n this.router.navigate(['/signup/accounts']);\n }\n if (revisedFanList) {\n console.log(revisedFanList);\n revisedFanList.forEach(fan => {\n if (fan.accountSubStatus === 'Active') {\n this.activeFANList.push(fan);\n } else {\n this.futureEnrollList.push(fan);\n }\n });\n }\n }\n\n ngOnInit() {\n document.title = this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url];\n\n if (!this.authenticatepage) {\n return;\n }\n\n //this.signupService.pageContent(this.utilityService.getEnvConfig().contentUrl.signup.review).\n //subscribe(respobj => {\n // this.pageContent = respobj;\n // this.pageloaderService.setPageLoaderStatus(true);\n //});\n\n this.pageContent = this.route.snapshot.data.pageData.signupreview;\n\n // this.emmProductCode = sessionStorage.getItem('emmProductCode');\n // this.selectedAccID = sessionStorage.getItem('selectedAccID');\n this.manageProduct = JSON.parse(sessionStorage.getItem('manage-product'));\n this.emmProductCode = this.manageProduct.emmProductCode;\n this.selectedAccID = this.manageProduct.selectedAccID;\n this.signupStatus = this.manageProduct.signupEmmStatus;\n this.user = JSON.parse(sessionStorage.getItem('user'));\n this.agreementID = this.user.user.agreement.id;\n this.createZTPStaus = false;\n if (this.emmProductCode === 'DMPSKME' || this.emmProductCode === 'DMPGZTP') {\n this.oemStatus = true;\n } else {\n this.oemStatus = false;\n }\n if (this.emmProductCode === 'DMPGZTP') {\n this.OemHeading = this.pageContent.MDMService.productZTP;\n this.selectedGoogleID = this.selectedAccID;\n this.initialSignupStaus = true;\n } else if (this.emmProductCode === 'DMPSKME') {\n this.OemHeading = this.pageContent.MDMService.productKME;\n this.selectedSamsungID = this.selectedAccID;\n this.initialSignupStaus = true;\n } else {\n this.OemHeading = this.pageContent.MDMService.productIBM;\n if (this.emmProductCode === 'ADDPMDM' && this.signupStatus === 'revised') {\n this.initialSignupStaus = false;\n } else {\n this.initialSignupStaus = true;\n }\n }\n\n this.eventEmit = document.activeElement;\n this.enrollDatePopup = new ConfirmModalPopupModel();\n this.enrollDatePopup.modalHeader = this.pageContent.enrollDatePopup.heading;\n // tslint:disable-next-line:max-line-length\n if(!this.oemStatus) {\n this.enrollDatePopup.modalMessage = this.pageContent.enrollDatePopup.description;\n }\n else {\n this.enrollDatePopup.modalMessage = this.pageContent.enrollDatePopup.descriptionOem;\n }\n this.enrollDatePopup.showCancelButton = false;\n this.stepindicatorService.setCurrentStep(this.activatedRoute.snapshot.url[0].path);\n this.stepindicatorService.setVisibility(true);\n this.reviewData = SIGNUPDATA.ReviewPage;\n this.settingsConfig = SIGNUPDATA.SettingsPage;\n this.is_acknowledged = false;\n this.selectedApps = this.signupService.selectedAppList(this.signupInputData.appList,\n this.signupOutputData.profile.applications);\n\n this.selectedFan = this.signupService.getSelectedFAN(this.signupOutputData.FANList);\n this.displayFANText = this.signupOutputData.FANList[this.selectedFan].length === 1 ? 'foundation account selected'\n : 'foundation accounts selected';\n this.pageDescription = [{\n 'header': 'Accounts with enrolled devices',\n 'accordion': [this.createAccordionModel('ActiveFAN',\n 'hi')],\n 'hide': !this.activeFANList.length,\n 'gridHeader': (this.activeFANList.length === 1) ? this.activeFANList.length + '  ' +\n 'Account with deployed devices' : this.activeFANList.length + '  ' + 'Accounts with deployed devices',\n 'gridOptions': this.createGridOptions('active'),\n 'moreThanFiveFan': this.activeFANList.length > 5,\n 'gridCallback': this.updateActiveList\n }, {\n 'header': 'Accounts with pending devices',\n 'accordion': [this.createAccordionModel('FutureFAN',\n 'hi')],\n 'hide': !this.futureEnrollList.length,\n 'gridHeader': (this.futureEnrollList.length === 1) ? this.futureEnrollList.length + '  '\n + 'Account with devices not yet enrolled' : this.futureEnrollList.length + '  ' + 'Accounts with devices not yet enrolled',\n 'gridOptions': this.createGridOptions('future'),\n 'moreThanFiveFan': this.futureEnrollList.length > 5,\n 'gridCallback': this.updateFutureList\n }];\n\n if (this.futureEnrollList.length > 0 || this.activeFANList.length > 0) {\n this.changeEnrollmentSettings = true;\n }else {\n this.changeEnrollmentSettings = false;\n }\n\n this.accordion = this.signupOutputData.FANList[this.selectedFan].length > 5;\n if (this.accordion) {\n this.tabArray = [{\n id: 1, isActive: false,\n category: (this.signupOutputData.FANList[this.selectedFan].length === 1)\n ? this.signupOutputData.FANList[this.selectedFan].length + ' foundation account selected' :\n this.signupOutputData.FANList[this.selectedFan].length + ' foundation accounts selected', content: '',\n ariaLabel: {\n 'expand': 'Show foundation accounts.',\n 'collapse': 'Hide foundation accounts.'\n }\n }];\n }\n\n this.gridOptions = this.signupService.initSelectedFanGrid(this.signupOutputData.FANList[this.selectedFan].slice(),\n this.reviewData.columnDefinitions, this.accordion);\n\n\n if (this.signupOutputData.deviceEnrollDate.existing == null) {\n this.existingDateNull = true;\n }\n this.signupService.createPageLoadProperties('REVIEW', 'Review');\n }\n\n createAccordionModel(id: string, ariaLabel) {\n const accordionModel = new AccordionModel();\n const fanList = (id === 'ActiveFAN') ? this.activeFANList : this.futureEnrollList;\n accordionModel.id = id;\n accordionModel.isActive = false;\n accordionModel.category = (id === 'ActiveFAN') ? (this.activeFANList.length + '  ' + 'Account with deployed devices')\n : (this.futureEnrollList.length + '  ' + ' Accounts with devices not yet enrolled');\n accordionModel.ariaLabel = ariaLabel;\n return accordionModel;\n }\n\n createGridOptions(id: string) {\n const gridOption = new GridOptionsModel();\n const columns: ColumnDefinitionsModel = {\n field: 'fanId',\n caption: 'Foundation accounts',\n type: 'TEXT'\n };\n\n const pages: PaginationsModel = {\n recordsPerPage: 20,\n currentPage: 1,\n totalRecords: id === 'active' ? this.activeFANList.length : this.futureEnrollList.length,\n isServerSide: false,\n };\n gridOption.ariaLabel= \"Select all foundation account numbers\";\n gridOption.enableFiltering = false;\n gridOption.columnDefinitions = [columns];\n gridOption.enableSorting = false;\n gridOption.gridData = id === 'active' ? this.activeFANList : this.futureEnrollList;\n gridOption.Paginations = pages;\n gridOption.searchPlaceHolder = '';\n gridOption.searchDescriptions = '';\n gridOption.callbacks = null;\n gridOption.multiSelect = false;\n gridOption.disableGrid = false;\n gridOption.disableRow = false;\n gridOption.disableRowCondition = { field: '', value: '' };\n return gridOption;\n\n }\n updateFutureList = ($event: any) => {\n this.futureEnrollList = $event.griddata;\n const title = (this.filterSelected(this.futureEnrollList).length === 1) ?\n this.filterSelected(this.futureEnrollList).length + ' Foundation Account Selected' :\n this.filterSelected(this.futureEnrollList).length + ' Foundation Accounts Selected';\n this.updateView(this.pageDescription[1], title);\n }\n\n updateActiveList = ($event: any) => {\n this.activeFANList = $event.griddata;\n const title = (this.filterSelected(this.activeFANList).length === 1) ?\n this.filterSelected(this.activeFANList).length + ' Foundation Account Selected' :\n this.filterSelected(this.activeFANList).length + ' Foundation Accounts Selected';\n this.updateView(this.pageDescription[0], title);\n }\n\n updateView(description: any, title: string) {\n if (description.accordion) {\n description.accordion[0].category = title;\n } else {\n description.gridHeader = title;\n }\n if(this.is_acknowledged){\n this.showError = false;\n }\n }\n\n filterSelected(fanList: Array) {\n const filteredFans = new Array();\n fanList.forEach(fan => {\n if (fan.selected) {\n filteredFans.push(fan);\n }\n });\n return filteredFans;\n }\n\n onRowClick(action) {\n this.signupOutputData.FANList[this.selectedFan] = action.griddata.filter(item => item.selected === true);\n }\n\n backToPrevious(event, tab) {\n event.preventDefault();\n this.router.navigate(['/signup/' + tab]);\n }\n backToProductSelection(event, tab) {\n event.preventDefault();\n this.router.navigate(['/productselection/']);\n }\n\n showenroll() {\n this.showEnrollDetailsModal = true;\n }\n closeModal(confirm) {\n this.showEnrollDetailsModal = false;\n\n }\n ngAfterViewChecked() {\n if (this.showError && !document.getElementById('alertMessage').classList.contains('msgShown')) {\n document.getElementById('alertMessage').scrollIntoView();\n document.getElementById('alertMessage').classList.add('msgShown');\n }\n }\n\n confirmAndSubmit() {\n for (let i = 0; i < this.signupOutputData.FANList[this.selectedFan].length; i++) {\n this.fanArrayList.push(this.signupOutputData.FANList[this.selectedFan][i].fanId);\n }\n if (this.activeFANList.length || this.futureEnrollList.length) {\n this.signupOutputData.FANList.revisedFanList = this.filterSelected(this.activeFANList.concat(this.futureEnrollList));\n if (!this.signupOutputData.FANList.revisedFanList.length) {\n this.showError = true;\n this.errorMessage = this.pageContent.errorMessage.noFanSelected;\n return;\n }\n }\n this.reviewDataList = JSON.parse(sessionStorage.getItem('user'));\n this.notificationTypeList = [];\n if (this.signupOutputData.profile.settings.emailEnabled === true && this.signupOutputData.profile.settings.smsEnabled === false) {\n this.notificationTypeList.push('email');\n }else if (this.signupOutputData.profile.settings.emailEnabled === false && this.signupOutputData.profile.settings.smsEnabled === true) {\n this.notificationTypeList.push('sms');\n }else if (this.signupOutputData.profile.settings.emailEnabled === false &&\n this.signupOutputData.profile.settings.smsEnabled === false) {\n this.notificationTypeList.push('email', 'sms');\n }else {\n this.notificationTypeList.push();\n }\n this.createProfileJson = {\n 'notificationType': this.notificationTypeList,\n 'agreementID': this.reviewDataList.user.agreement.id,\n 'tcmFirstName': this.reviewDataList.user.firstName,\n 'tcmLastName': this.reviewDataList.user.lastName,\n 'tcmUser': this.reviewDataList.user.userId,\n 'tcmEmailAddress': this.reviewDataList.user.emailAddress,\n 'contactNo': this.reviewDataList.user.contactPhoneNumber,\n 'emmProductCode': this.emmProductCode,\n 'productName': this.OemHeading,\n 'oceOrderId': 'CRX_1256',\n 'status': 'Active',\n 'transactionType': 'credit',\n 'fan_list': this.fanArrayList,\n 'signUpSource': 'email'\n\n };\n this.adobeAnalyticsService.createAdobeEventProperties('MANAGE_DEVICE', 'SUCCESS', 'formSubmit',\n 'BC_Device_Signup_Review_Submit', 'success msg', 'Success_Admit', 'Submit', 'Body', '/businessconsole/signup/confirm');\n const impersonator = JSON.parse(sessionStorage.getItem('impersonator'));\n const isDisabled = impersonator && impersonator.id ? true : false;\n if (!this.signupOutputData.FANList[this.selectedFan].length) {\n this.showError = true;\n this.errorMessage = this.pageContent.errorMessage.noFanSelected;\n } else if (!this.is_acknowledged) {\n this.showError = true;\n this.errorMessage = this.pageContent.errorMessage.acknowledge;\n } else if (isDisabled) {\n (document.getElementById('review-btn')).disabled = true;\n } else {\n this.showError = false;\n this.pageloaderService.setPageLoaderStatus(false);\n /* Api to create/update profile*/\n const isNewProfile = this.signupOutputData.profile.defaultProfile || this.signupService.compareTwoObject(\n this.signupInputData.profileList.filter(item => item.profileName === this.signupOutputData.profile.profileName)[0],\n this.signupOutputData.profile) > 0;\n if (!this.utilityService.getEnvConfig().useMock) {\n\n if (isNewProfile) {\n this.signupOutputData.profile.profileName = 'Profile-' + this.signupService.getAutogeneratedProfileName();\n }\n this.signupService.createProfile(this.signupService.getSetupDataFromModel(this.signupOutputData, isNewProfile,\n this.selectedFan === 'revisedFanList'))\n .subscribe(resobj => {\n this.signupOutputData.profile.profileId = resobj.profileId;\n this.signupService.saveSignupModel(this.signupInputData, this.signupOutputData, this.initialSignup, isNewProfile);\n // Adobe Analytics Starts\n this.adobeAnalyticsService.createAdobeEventProperties('MANAGE_DEVICE', 'SUCCESS', 'formResponse',\n 'BC_Device_Signup_Review_Submit', 'success', 'Success_Admit', 'Submit', 'Body', '/businessconsole/signup/confirm');\n // Ends\n this.router.navigate(['/signup/confirm']);\n }, (error) => {\n this.showError = true;\n this.errorMessage = this.pageContent.errorMessage.apiError;\n // Adobe Analytics Starts\n this.adobeAnalyticsService.createAdobeEventProperties('MANAGE_DEVICE', 'FAILURE', 'formResponse',\n 'BC_Device_Signup_Review_Submit', 'API error', 'Failure_user', 'Submit', 'Body', '/businessconsole/signup/review');\n this.pageloaderService.setPageLoaderStatus(true); \n this.utilityService.loadFocusOnTop();\n });\n } else {\n this.signupService.saveSignupModel(this.signupInputData, this.signupOutputData, this.initialSignup, isNewProfile);\n // Adobe Analytics Starts\n this.adobeAnalyticsService.createAdobeEventProperties('MANAGE_DEVICE', 'SUCCESS', 'formResponse',\n 'BC_Device_Signup_Review_Submit', 'success', 'Success_Admit', 'Submit', 'Body', '/businessconsole/signup/confirm');\n // End\n this.pageloaderService.setPageLoaderStatus(true);\n this.router.navigate(['/signup/confirm']);\n }\n }\n }\n}","
    \n
    \n
    \n
    \n \n
    \n
    \n {{errorMessage}}\n
    \n
    \n

    {{pageContent.heading}}

    \n
    \n
    \n
    \n

    {{page.header}}

    \n
    \n
    \n
    \n \n \n \n \n \n \n
    \n
    \n \n \n
    \n
    \n
    \n

    {{page.gridHeader}}

    \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n \n

    {{pageContent.selectFANLabel}}

    \n \n
    \n
    \n
    \n
    \n

    {{signupOutputData.FANList[selectedFan].length}} {{displayFANText}}

    \n \n
    \n
    \n
    \n

    {{pageContent.MDMService.heading}}

    \n

    {{pageContent.MDMService.label}}:

    \n

    {{pageContent.MDMService.googleIdLabel1}}{{pageContent.MDMService.googleIdLabel2}}: {{selectedGoogleID}}

    \n

    {{pageContent.MDMService.samsungLabel}}: {{selectedSamsungID}}

    \n
    \n \n
    \n

    {{pageContent.settings.heading}} {{pageContent.buttons.edit}}

    \n
    \n

    {{pageContent.settings.newDevNwLabel}}: {{signupOutputData.profile.settings.newDevNwt ? pageContent.settings.onLabel:pageContent.settings.offLabel}}

    \n

    {{pageContent.settings.extDevNwlabel}}: {{signupOutputData.profile.settings.extDevNwt ? pageContent.settings.onLabel:pageContent.settings.offLabel}}

    \n
    \n
    \n

    {{pageContent.settings.securityPolicy}}: {{signupOutputData.profile.settings.securityPolicy == 'SB' ? pageContent.settings.securitySB :pageContent.settings.securitySE}}

    \n

    {{pageContent.settings.passcodePolicy}}: {{signupOutputData.profile.settings.passCodePolicy == 'PB' ? pageContent.settings.passcodePB : signupOutputData.profile.settings.passCodePolicy == 'PS' ? pageContent.settings.passcodePS: pageContent.settings.passcodePN}}

    \n
    \n
    \n

    {{pageContent.settings.notification}}: {{pageContent.settings.emailLabel}}

    \n

    {{pageContent.settings.notification}}: {{pageContent.settings.smsLabel}}

    \n

    {{pageContent.settings.notification}}: {{pageContent.settings.bothLabel}}

    \n
    \n
    \n
    \n

    {{pageContent.applications}} {{pageContent.buttons.edit}}

    \n
      \n
    • \n {{app}}\n
    • \n
    \n
    \n
    \n

    {{pageContent.enrollDate.heading}} {{pageContent.buttons.edit}}

    \n

    {{pageContent.enrollDate.new}}: {{signupOutputData.deviceEnrollDate.new | date: 'MM/dd/yyyy'}}

    \n

    {{pageContent.enrollDate.existing}}: {{signupOutputData.deviceEnrollDate.existing | date: 'MM/dd/yyyy'}}

    \n

    {{pageContent.enrollDate.existing}}: {{pageContent.enrollDate.existingNullLabel}}

    \n
    \n
    \n

    {{pageContent.enrollDatePopup.topHeading}}

    \n \n
    \n \n \n \n \n
    \n
    \n
    \n

    {{pageContent.acknowledge.heading}}

    \n

    {{pageContent.acknowledge.description}}

    \n
    \n

    Google®{{pageContent.acknowledge.googleTermsHeading}}

    \n

    {{pageContent.acknowledge.googleTermsDescription}}Google®.

    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n \n {{pageContent.buttons.back}}\n
    \n
    \n \n \n \n \n
    \n
    \n
    ","import { element } from 'protractor';\nimport { FetchCriteriaModel } from './../../../../lib/ng2-sapmp/src/ui-components/custom-grid/shared/model/fetch-criteria.model';\nimport { Component, OnInit, AfterViewInit, ViewEncapsulation, ViewChild, ElementRef, AfterViewChecked } from '@angular/core';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { SignupService } from './../shared/providers/signup.service';\nimport { UtilityService } from 'lib/ng2-sapmp/src/providers';\nimport { GridOptionsModel, ColumnDefinitionsModel, PaginationsModel } from 'lib/ng2-sapmp/src/ui-components/custom-grid';\nimport { StepIndicatorModel, DropdownModel, StepIndicatorService, FormBuilderService } from 'lib/ng2-sapmp/src/ui-components';\nimport { ConfirmModalPopupModel } from 'lib/ng2-sapmp/src/ui-components/confirm-modal';\nimport { SignUpModel, SignUpInputModel, SignUpOutputModel, ProfileModel, SettingsModel, SessionProfileModel } from './../shared/models/signup.models';\nimport { AccordionComponent } from 'lib/ng2-sapmp/src/ui-components/accordion/accordion.component';\nimport { PageLoaderService } from 'lib/ng2-sapmp/src/ui-components/page-loader';\nimport { DROPDOWN, SIGNUPDATA } from 'config';\n\n@Component({\n selector: 'app-settings',\n templateUrl: './settings.component.html',\n styleUrls: ['./settings.component.scss'],\n providers: [FormBuilderService, SignupService],\n encapsulation: ViewEncapsulation.None\n})\n\nexport class SettingsComponent implements OnInit, AfterViewInit, AfterViewChecked {\n\n formName: string;\n formConfig: Array;\n formValid = false;\n confirmModalPopup: ConfirmModalPopupModel;\n initModal = false;\n eventEmit: any;\n modalClass: string;\n signupInputData: SignUpInputModel;\n signupOutputData: SignUpOutputModel;\n profile: any;\n selectedProfileName: string;\n gridOptions: Array;\n initialSignup = false;\n profiles: Array;\n accordionList: boolean;\n settingsData: any;\n authenticatepage: boolean;\n tmpSettings: SettingsModel;\n showError: boolean;\n prodFlag: boolean;\n errorMessage: string;\n pdpIndicator = false;\n emmProductCode: any;\n fanListTitle: any;\n article: any;\n title: any;\n supportArticles: any;\n tmpformConfig: any;\n manageProduct: any;\n test: any;\n counter = 0;\n showOverviewModal: boolean;\n videoId: string;\n supportArticle = false;\n formOutputValue: any;\n getInitialProfileData: any;\n getDefaultProfileData: any;\n profileSize: number;\n pageSize: number;\n sessionProfileModel: SessionProfileModel;\n sizePerPage: number;\n presentDataSet: any;\n nextSetProfiles: any;\n currentSetProfiles: any;\n\n @ViewChild('accessModal') accessModal: ElementRef;\n\n constructor(private router: Router,\n private activatedRoute: ActivatedRoute,\n private pageloaderService: PageLoaderService,\n private stepindicatorService: StepIndicatorService,\n private signupService: SignupService,\n private utilityService: UtilityService,\n private el: ElementRef) {\n this.pageloaderService.setPageLoaderStatus(false);\n const signupData = this.signupService.getSignupModel();\n if (signupData) {\n this.signupInputData = signupData.inputModel;\n this.signupOutputData = signupData.outputModel;\n this.initialSignup = signupData.initialSignup;\n this.authenticatepage = true;\n } else {\n this.authenticatepage = false;\n this.router.navigate(['/signup/accounts']);\n }\n }\n\n ngOnInit() {\n document.title = this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url];\n sessionStorage.setItem('APNRestriction', 'false');\n console.log('Settings page start time => ' + new Date().getTime());\n if (!this.authenticatepage) {\n return;\n }\n\n this.profiles = [];\n this.gridOptions = [];\n this.settingsData = {};\n this.settingsData.config = SIGNUPDATA.SettingsPage;\n\n this.stepindicatorService.setCurrentStep(this.activatedRoute.snapshot.url[0].path);\n this.stepindicatorService.setVisibility(true);\n\n this.formName = 'SettingsForm';\n this.formConfig = [];\n this.profile = [];\n\n // this.emmProductCode = sessionStorage.getItem('emmProductCode');\n this.manageProduct = JSON.parse(sessionStorage.getItem('manage-product'));\n this.emmProductCode = this.manageProduct.emmProductCode;\n if (this.emmProductCode === 'DMPSKME' || this.emmProductCode === 'DMPGZTP') {\n this.prodFlag = true;\n } else {\n this.prodFlag = false;\n }\n\n // this.signupService.fetchJSON(this.utilityService.getEnvConfig().contentUrl.signup.settings).\n // subscribe(respobj1 => {\n let respobj1 = this.activatedRoute.snapshot.data.pageData.signupsettings;\n this.settingsData.content = respobj1;\n for (const i in this.settingsData.content.descriptionWithModal) {\n if (i) {\n this.settingsData.content.descriptionWithModal[i] = typeof this.settingsData.content.descriptionWithModal[i] === 'string'\n ? this.settingsData.content.descriptionWithModal[i].split(/[[\\]]/)\n : this.settingsData.content.descriptionWithModal[i];\n }\n }\n this.signupService.fetchJSON(this.utilityService.getEnvConfig().settingsFormConfig).\n subscribe(respobj2 => {\n respobj1.settingFields.map((item, ind) => {\n return Object.assign(item, respobj2[ind]);\n });\n this.formConfig = respobj1.settingFields; // Data for form builder\n const pageNumber = 1;\n this.getProfileSettings(pageNumber);\n }, error => this.handleError(error, 'formconfig'));\n // });\n this.supportArticles = [{ id: 1, isActive: true, category: 'Help', description: '', ariaLabel:{\n 'expand': 'Show help',\n 'collapse': 'Hide help'\n }\n }];\n const pageName = 'signupSettingsPage';\n if (!this.prodFlag) {\n this.signupService.requestSupportContent(this.utilityService.getEnvConfig().getSupportDocument + pageName).\n subscribe(resp => {\n this.article = resp.supportArticles;\n this.article.category = this.article.availableArticle;\n this.supportArticle = true;\n }, (err) => {\n // this.handleError(err);\n });\n }\n this.fanListTitle = this.signupService.getSelectedFAN(this.signupOutputData.FANList);\n\n /* Check Walled garden status from profile data */\n const profileData = JSON.parse(sessionStorage.getItem('user'));\n this.signupOutputData.FANList[this.fanListTitle].forEach(item1 => {\n const selFan = profileData['user'].agreement.\n fans.filter(item2 => item2.fanId === item1.fanId);\n if (selFan.length) {\n item1.pdpindicator = selFan[0].pdpIndicator && selFan[0].pdpIndicator === 'TRUE';\n } else if (item1.pdpindicator === undefined) {\n item1.pdpindicator = false;\n }\n });\n const customAPNFans = this.signupOutputData.FANList[this.fanListTitle].filter(item => item.pdpindicator);\n if (customAPNFans.length) {\n this.pdpIndicator = true;\n }\n if (this.pdpIndicator) {\n sessionStorage.setItem('APNRestriction', 'true');\n this.signupService.createPageLoadProperties('SETTINGS', 'Settings');\n }\n }\n\n OemForm() {\n this.test = document.getElementsByClassName('settings-form-group')[this.counter];\n if (this.test && this.counter < 3) {\n this.test.style.display = 'none';\n this.counter++;\n }\n }\n ngAfterViewInit() {\n console.log('Settings page end time => ' + new Date().getTime());\n\n }\n\n ngAfterViewChecked() {\n if (this.prodFlag) {\n this.OemForm();\n }\n\n }\n\n\n handleError(error, type?) {\n if (error.status === 404) {\n let errorDescription: any;\n errorDescription = error.error;\n if (errorDescription === 'No data found') {\n if (this.emmProductCode === 'DMPSKME' || this.emmProductCode === 'DMPGZTP') {\n this.getInitialProfileData = {\n 'profile': [{\n 'profileName': 'Profile-somename',\n 'profileId': '',\n 'settings': {\n 'emailEnabled': true,\n 'smsEnabled': false\n },\n 'defaultProfile': false\n }]\n };\n } else {\n this.getInitialProfileData = {\n 'profile': [{\n 'profileName': 'Profile-somename',\n 'profileId': '',\n 'settings': {\n 'newDevNwt': true,\n 'extDevNwt': false,\n 'securityPolicy': '',\n 'passCodePolicy': '',\n 'emailEnabled': true,\n 'smsEnabled': false\n },\n 'applications': ['1'],\n 'defaultProfile': false\n }]\n };\n }\n\n errorDescription = this.getInitialProfileData;\n const profileLists = errorDescription.profile;\n const allProfile = profileLists.filter(item => item.defaultProfile === false && item.profileName);\n this.getProfile(allProfile);\n } else {\n this.showError = true;\n this.errorMessage = this.settingsData.content.errorMessages[type];\n this.pageloaderService.setPageLoaderStatus(true);\n }\n } else {\n this.showError = true;\n this.errorMessage = this.settingsData.content.errorMessages[type];\n this.pageloaderService.setPageLoaderStatus(true);\n }\n }\n\n getSupportContent(articleNumber) {\n if (this.article.availableArticle[articleNumber].type === 'popup') {\n this.initPopupModal(this.article.availableArticle[articleNumber].title, articleNumber);\n }else if (this.article.availableArticle[articleNumber].type === 'url') {\n this.initVideoModal(articleNumber);\n }\n }\n\n initPopupModal(modalName, articleNumber) {\n this.confirmModalPopup = new ConfirmModalPopupModel();\n this.confirmModalPopup.modalSubHeader = '';\n // this.signupService.requestPopupContent(this.utilityService.getEnvConfig().getSupportDocument+'details/'+modalName).\n this.signupService.requestPopupContent(this.utilityService.getEnvConfig().getSupportDocument + 'details/' + modalName).\n subscribe(\n res => {\n this.title = res.articleDetails.name;\n this.confirmModalPopup.modalHeader = this.article.availableArticle[articleNumber].name;\n this.confirmModalPopup.modalMessage = res.articleDetails.content;\n });\n // }\n this.confirmModalPopup.confirmButtonMessage = 'OK';\n this.confirmModalPopup.showCancelButton = false;\n\n this.initModal = true;\n this.eventEmit = document.activeElement;\n }\n\n initVideoModal(articleNumber) {\n this.videoId = this.article.availableArticle[articleNumber].url;\n this.showOverviewModal = true;\n }\n closeOverviewModal() {\n this.showOverviewModal = false;\n }\n\n getProfileSettings(pageNumber) {\n if (this.signupInputData.profileList.length) {\n if (this.pdpIndicator) {\n this.signupOutputData.profile.settings.extDevNwt = false;\n this.signupOutputData.profile.settings.newDevNwt = false;\n }\n let totalRecords = JSON.parse(sessionStorage.getItem('ProfileSize'));\n this.profileSize = totalRecords;\n this.setFormSettings(this.signupOutputData.profile.settings);\n this.checkDropDownOrAccordion();\n } else {\n console.log('Settings API request time => ' + new Date().getTime());\n this.pageSize = this.utilityService.getEnvConfig().profilesPageSize;\n this.signupService.getProfileSettings(this.signupInputData.companyId, this.pageSize, pageNumber, this.emmProductCode).\n subscribe(respobj => {\n const profileLists = respobj.profile;\n this.profileSize = respobj.totalNumberProfiles;\n sessionStorage.setItem('ProfileSize', JSON.stringify(this.profileSize));\n const defaultProfile = profileLists.filter(item => item.defaultProfile === true && item.profileName)[0];\n const allProfile = profileLists.filter(item => item.defaultProfile === false && item.profileName);\n /* Add defaultProfile as Recommend and create new in that list */\n if (defaultProfile === undefined) {\n if (this.emmProductCode === 'DMPSKME' || this.emmProductCode === 'DMPGZTP') {\n this.profileSize = this.profileSize + 2;\n this.getDefaultProfileData = {\n 'profileName': 'Standard profile',\n 'profileId': '',\n 'settings': {\n 'emailEnabled': true,\n 'smsEnabled': false\n },\n 'defaultProfile': false\n };\n } else {\n this.getDefaultProfileData = {\n 'profileName': 'Standard profile',\n 'profileId': '',\n 'settings': {\n 'newDevNwt': true,\n 'extDevNwt': false,\n 'securityPolicy': '',\n 'passCodePolicy': '',\n 'emailEnabled': true,\n 'smsEnabled': false\n },\n 'applications': ['com.att.tv'],\n 'defaultProfile': false\n };\n }\n const recommendedProfile = Object.assign({}, this.getDefaultProfileData);\n recommendedProfile.profileName = 'Standard profile';\n recommendedProfile.disableSort = true;\n const createNewProfile = Object.assign({}, this.getDefaultProfileData);\n createNewProfile.profileName = 'Create new';\n createNewProfile.disableSort = true;\n allProfile.unshift(recommendedProfile, createNewProfile);\n this.getProfile(allProfile);\n } else {\n this.profileSize = this.profileSize + 2;\n const recommendedProfile = Object.assign({}, defaultProfile);\n recommendedProfile.profileName = 'Standard profile';\n recommendedProfile.disableSort = true;\n const createNewProfile = Object.assign({}, defaultProfile);\n createNewProfile.profileName = 'Create new';\n createNewProfile.disableSort = true;\n allProfile.unshift(recommendedProfile, createNewProfile);\n this.getProfile(allProfile);\n console.log('Settings API response time => ' + new Date().getTime());\n }\n },\n error => this.handleError(error, 'profile'));\n }\n }\n\n getProfile(respobj: Array) { // triggered on Page load\n this.signupInputData.profileList = respobj; // Profile data\n\n const selectedProfile = this.signupOutputData.FANList.revisedFanList.map(item => item.profileName)\n .filter((value, index, self) => self.indexOf(value) === index);\n\n if (this.fanListTitle === 'revisedFanList' && selectedProfile.length === 1) {\n this.signupInputData.profileList.forEach(item => {\n if (item.profileName === selectedProfile[0]) {\n this.signupOutputData.profile = Object.assign({}, item);\n item.selected = true;\n }\n });\n\n } else {\n this.signupOutputData.profile = JSON.parse(JSON.stringify(respobj.slice()[0]));\n if (this.signupOutputData && this.signupOutputData.profile && this.signupOutputData.profile.settings && this.pdpIndicator) {\n this.signupOutputData.profile.settings.extDevNwt = false;\n this.signupOutputData.profile.settings.newDevNwt = false;\n }\n this.signupInputData.profileList[0].selected = true; \n }\n this.setFormSettings(Object.assign({}, this.signupOutputData.profile.settings));\n this.checkDropDownOrAccordion();\n }\n\n checkDropDownOrAccordion() {\n if (this.profileSize > 20) {\n this.initProfileAccordion();\n } else {\n this.initProfileDropDown();\n }\n this.selectedProfileName = this.signupOutputData.profile.profileName;\n this.pageloaderService.setPageLoaderStatus(true);\n }\n\n initProfileDropDown() {\n this.signupInputData.profileList.forEach(profile => {\n const dropDownList = new DropdownModel();\n dropDownList.name = profile.profileName;\n this.profile.push(dropDownList);\n });\n }\n\n initProfileAccordion() {\n const options = new GridOptionsModel();\n options.enableFiltering = false;\n options.enableSorting = false;\n options.multiSelect = false;\n\n const pagination = {\n recordsPerPage: 20,\n currentPage: 1,\n isServerSide: true,\n totalRecords: this.profileSize\n };\n\n options.Paginations = pagination;\n //options.gridData = this.signupInputData.profileList;\n // Pushing extra data to next page START\n let backupData: Array = [];\n if (this.signupInputData.profileList.length > this.pageSize) {\n this.nextSetProfiles = this.signupInputData.profileList.slice(this.pageSize, this.signupInputData.profileList.length);\n this.currentSetProfiles = this.signupInputData.profileList.slice(0, this.pageSize);\n this.sessionProfileModel = new SessionProfileModel(1, this.currentSetProfiles);\n } else {\n //this.nextSetProfiles = [];\n //this.currentSetProfiles = [];\n this.sessionProfileModel = new SessionProfileModel(1, this.signupInputData.profileList);\n }\n backupData.push(this.sessionProfileModel);\n this.setToSessionProfiles(backupData);\n // Pushing extra data to next page END\n options.gridData = this.sessionProfileModel.sessionProfiles.slice(0, pagination.recordsPerPage);\n options.columnDefinitions = this.settingsData.config.columnDefinitions;\n this.gridOptions.push(options);\n this.profiles.push({ id: 1, isActive: false, category: 'Deployment profiles', content: '' });\n }\n\n gridEventChanges(fetchCriteria: FetchCriteriaModel) {\n let startRange: number;\n let flag = false;\n let backupData: Array = [];\n this.sizePerPage = this.gridOptions[0].Paginations.recordsPerPage;\n let pageNumber = (fetchCriteria.offset / this.sizePerPage) + 1;\n const dataPerSet = Math.ceil(this.pageSize / fetchCriteria.limit);\n let requiredSet = Math.ceil((fetchCriteria.offset + fetchCriteria.limit) / this.pageSize);\n // If offset reaches beyond the pageSize\n if (fetchCriteria.offset >= this.pageSize) {\n startRange = fetchCriteria.offset % this.pageSize;\n } else {\n startRange = fetchCriteria.offset;\n }\n // If required data is available in the sessionProfileModel only\n if (requiredSet === this.sessionProfileModel.setNo) {\n this.presentDataSet = this.sessionProfileModel.sessionProfiles.slice(startRange, (startRange + this.sizePerPage));\n this.computeGrid(pageNumber);\n } \n // If required data is not available in sessionProfileModel but available in sessionStorage or Backend\n else {\n // If required data is available in sessionStorage\n backupData = JSON.parse(sessionStorage.getItem('backupProfiles'));\n backupData.forEach(element => {\n if (element.setNo === requiredSet) {\n this.sessionProfileModel = new SessionProfileModel(requiredSet, element.sessionProfiles);\n this.presentDataSet = this.sessionProfileModel.sessionProfiles.slice(startRange, (startRange + this.sizePerPage));\n flag = true;\n this.computeGrid(pageNumber);\n }\n });\n // If required data is not available in model and session then Backend Hit\n if (!flag) {\n this.pageloaderService.setPageLoaderStatus(false);\n this.signupService.getProfileSettings(this.signupInputData.companyId, this.pageSize, requiredSet, this.emmProductCode)\n .toPromise()\n .then(respObj => {\n this.pageloaderService.setPageLoaderStatus(true);\n respObj.profile = respObj.profile.filter(item => item.defaultProfile === false);\n if(this.nextSetProfiles !== null && this.nextSetProfiles !== undefined){\n this.nextSetProfiles.forEach(element => respObj.profile.unshift(element));\n } \n if (respObj.profile.length > this.pageSize) { \n this.nextSetProfiles = respObj.profile.slice(this.pageSize, respObj.profile.length);\n this.currentSetProfiles = respObj.profile.slice(0, this.pageSize);\n this.sessionProfileModel = new SessionProfileModel(requiredSet, this.currentSetProfiles);\n } else { \n this.nextSetProfiles = [];\n this.currentSetProfiles = [];\n this.sessionProfileModel = new SessionProfileModel(requiredSet, respObj.profile);\n } \n backupData = JSON.parse(sessionStorage.getItem('backupProfiles'));\n backupData.push(this.sessionProfileModel);\n this.setToSessionProfiles(backupData);\n this.presentDataSet = this.sessionProfileModel.sessionProfiles.slice(startRange, (startRange + this.sizePerPage));\n this.computeGrid(pageNumber);\n })\n .catch(error => this.handleError(error, 'profile'));\n }\n }\n }\n\n setToSessionProfiles(sessionProfileModel: Array){\n sessionStorage.setItem('backupProfiles', JSON.stringify(sessionProfileModel));\n };\n\n computeGrid(pageNumber){\n const options = new GridOptionsModel();\n options.enableFiltering = false;\n options.enableSorting = false;\n options.multiSelect = false;\n\n const pagination = {\n recordsPerPage: 20,\n currentPage: pageNumber,\n isServerSide: true,\n totalRecords: this.profileSize\n };\n options.Paginations = pagination;\n options.gridData = this.presentDataSet;\n options.columnDefinitions = this.settingsData.config.columnDefinitions;\n this.gridOptions = [];\n this.gridOptions.push(options);\n }\n\n setFormSettings(settings) {\n this.tmpformConfig = this.formConfig.slice();\n // set the settings as per each profile\n this.formConfig = [];\n for (const obj of this.tmpformConfig) {\n if (this.pdpIndicator && obj.title === 'Network restriction') {\n obj.description = this.settingsData.content.descriptionWithModal.walledGarden[0];\n obj.link = this.settingsData.content.descriptionWithModal.walledGarden[1];\n } else if (!this.pdpIndicator && obj.title === 'Network restriction') {\n obj.description = this.settingsData.content.descriptionWithModal.networkDescription[0];\n obj.description2 = this.settingsData.content.descriptionWithModal.networkDescription[1];\n obj.link = this.settingsData.content.descriptionWithModal.networkDescriptionLink;\n // obj.description = this.settingsData.content.descriptionWithModal.walledGarden[0];\n }\n obj.fields.forEach(field => {\n if (this.pdpIndicator && field.formControlName.indexOf('DevNwt') > -1) {\n field.initialValue = false;\n } else {\n field.initialValue = settings[field.formControlName];\n }\n field.disabled = this.pdpIndicator;\n });\n }\n this.formConfig = this.tmpformConfig;\n }\n\n onProfileSelect(selectedProfile) {\n this.selectedProfileName = selectedProfile.name === undefined ? selectedProfile.profileName : selectedProfile.name;\n for (const i in this.signupInputData.profileList) {\n if (this.selectedProfileName === this.signupInputData.profileList[i].profileName) {\n this.signupInputData.profileList[i].selected = true;\n this.signupOutputData.profile = Object.assign({}, this.signupInputData.profileList[i]);\n if (this.pdpIndicator) {\n this.signupOutputData.profile.settings.extDevNwt = false;\n this.signupOutputData.profile.settings.newDevNwt = false;\n }\n this.setFormSettings(this.signupInputData.profileList[i].settings);\n } else {\n this.signupInputData.profileList[i].selected = false;\n }\n }\n }\n\n getFormConfigDetails(formOutputValue) {\n this.formValid = formOutputValue.valid;\n if (this.formValid) {\n if (formOutputValue.value.extDevNwt !== this.signupOutputData.profile.settings.extDevNwt\n || formOutputValue.value.newDevNwt !== this.signupOutputData.profile.settings.newDevNwt) {\n if (!this.prodFlag) {\n this.confirmRequest(formOutputValue.value);\n }\n this.tmpSettings = formOutputValue.value;\n\n } else {\n this.signupOutputData.profile.settings = formOutputValue.value;\n }\n }\n }\n\n confirmRequest(settings) {\n if (this.formValid) {\n this.confirmModalPopup = new ConfirmModalPopupModel();\n const onText = `\n ON

    If ON, users will only be able to use the AT&T cellular data network to download the IBM MaaS360® MDM app,\n required for managing devices. They will still be able to make voice calls, send/receive texts and multimedia messages,\n and to access the Internet via Wi-Fi.

    \n `;\n const offTextNew = `\n OFF

    ${this.pdpIndicator ? \"New devices will be able to access the Internet via the AT&T cellular data network.\" : \"If OFF, the network restrictions will not apply. Learn more\"}

    \n `;\n const offTextExisting = `\n OFF

    ${this.pdpIndicator ? \"Existing devices will be able to access the Internet via the AT&T cellular data network.\" :\n \"If OFF, the network restrictions will not apply. Learn more\"}

    \n `;\n this.confirmModalPopup.modalMessage = `\n

    ${this.pdpIndicator ? \"The settings you've chosen will determine whether or not enrolled devices can access the internet via the\" +\n \" AT&T cellular data network. To verify your choices, click Confirm.\" : \"The settings you've selected will affect\" +\n \" all devices on your network. Review your selections and confirm they are correct.\"}

    \n

    Selected settings

    \n

    Network restriction for new devices: ${settings.newDevNwt ? onText : offTextNew}\n

    Network restriction for existing devices: ${settings.extDevNwt ? onText : offTextExisting}\n ` ;\n this.confirmModalPopup.modalSubHeader = '';\n this.confirmModalPopup.modalHeader = 'Confirm your settings';\n this.confirmModalPopup.confirmButtonMessage = 'Confirm';\n this.confirmModalPopup.confirmButtonAccessibilityText = 'Confirm.';\n this.confirmModalPopup.showCancelButton = true;\n this.modalClass = 'modal-lg';\n this.initModal = true;\n\t this.eventEmit = document.activeElement;\n this.signupService.createPageLoadProperties('COFIRMREQUESTMODAL', 'Settings');\n }\n }\n\n launchSupportModal() { // modal popover if setup support link is clicked\n this.confirmModalPopup = new ConfirmModalPopupModel();\n this.confirmModalPopup.modalMessage = '

    You can customize the following settings:

    •     •\t  \tNetwork restriction
    •     •\t  \tSecurity policy
    •     •\t  \tPasscode policy
    •     •\t  \tNotifications
    ';\n this.confirmModalPopup.modalSubHeader = '';\n this.confirmModalPopup.modalHeader = '';\n this.confirmModalPopup.confirmButtonMessage = 'OK';\n this.confirmModalPopup.confirmButtonAccessibilityText = 'OK.';\n this.confirmModalPopup.showCancelButton = false;\n this.eventEmit = document.activeElement;\n this.initModal = true;\n this.signupService.createPageLoadProperties('SETTINGSMODAL', 'Settings');\n\n }\n\n closeModal(confirm, buttonMsg) {\n this.initModal = false;\n this.signupService.createPageLoadProperties('SETTINGS', 'Settings');\n if (buttonMsg === 'Confirm') {\n if (confirm && this.pdpIndicator) {\n this.signupService.saveSignupModel(this.signupInputData, this.signupOutputData, this.initialSignup);\n this.router.navigate(['/signup/applications']);\n } else if (confirm) {\n this.signupOutputData.profile.settings = this.tmpSettings;\n this.signupService.createPageLoadProperties('SETTINGS', 'Settings');\n } else if (!this.pdpIndicator) {\n this.setFormSettings(this.signupOutputData.profile.settings);\n this.signupService.createPageLoadProperties('SETTINGS', 'Settings');\n }\n }\n }\n\n continueToNext() {\n if (!this.prodFlag) {\n /*if (this.pdpIndicator) {\n this.formValid = true;\n this.confirmRequest(this.signupOutputData.profile.settings);\n } else {*/\n this.signupService.saveSignupModel(this.signupInputData, this.signupOutputData, this.initialSignup);\n this.router.navigate(['/signup/applications']);\n // }\n } else {\n this.signupService.saveSignupModel(this.signupInputData, this.signupOutputData, this.initialSignup);\n this.router.navigate(['/signup/startdate']);\n }\n }\n\n backToPrevious(event) {\n event.preventDefault();\n this.router.navigate(['/signup/accounts']);\n }\n}\n","\n
    \n
    \n
    \n
    \n \n
    \n
    \n {{errorMessage}}\n
    \n
    \n
    \n
    \n \n \n \n \n
    \n
    20}\">\n

    {{this.settingsData.content.initialSignupDescription}}

    \n

    {{this.settingsData.content.heading}}

    \n

    {{this.settingsData.content.headingOem}}

    \n

    {{this.settingsData.content.revisedHeading}}

    \n

    Select your notification preference

    \n

    {{this.settingsData.content.descriptionWithModal.dropDownDescriptionOem}}

    \n

    {{this.settingsData.content.descriptionWithModal.initialSignup[0]}} \n {{this.settingsData.content.descriptionWithModal.initialSignup[1]}} \n {{this.settingsData.content.descriptionWithModal.initialSignup[2]}}\n

    \n
    1 && signupInputData.profileList.length<=20\">\n

    {{this.settingsData.content.descriptionWithModal.dropDownDecsription[0]}}\n {{this.settingsData.content.descriptionWithModal.dropDownDecsription[1]}} \n {{this.settingsData.content.descriptionWithModal.dropDownDecsription[2]}}\n

    \n
    \n

    {{this.settingsData.content.dropDownLabel}}

    \n \n
    \n
    \n

    {{this.settingsData.content.dropDownLabel}}

    \n \n
    \n
    \n
    20\">\n

    {{this.settingsData.content.descriptionWithModal.accordionDescription[0]}} \n {{this.settingsData.content.descriptionWithModal.accordionDescription[1]}}\n {{this.settingsData.content.descriptionWithModal.accordionDescription[2]}}

    \n

    {{this.settingsData.content.selectedProfile}}: {{selectedProfileName}}\n

    \n \n \n \n \n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n \n {{this.settingsData.content.buttons.back}}\n
    \n
    \n \n \n \n \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n","export class ProfileModel {\n profileId: number;\n profileName: string;\n settings: SettingsModel;\n applications: Array;\n appPackage: string;\n defaultProfile: boolean;\n selected?: boolean;\n\n constructor() {\n this.applications = [];\n }\n}\n\nexport class SessionProfileModel {\n setNo: number;\n sessionProfiles: Array;\n\n constructor(setNo, sessionProfiles) {\n this.setNo = setNo;\n this.sessionProfiles = sessionProfiles;\n }\n}\n\nexport class FanModel {\n fanId: number;\n accountStatus: string; // Active, Enrolled not active, In Progress\n accountSubStatus?: string;\n profileName: string; // ProfileModel profileId\n selected?: boolean;\n groupId?: string;\n pdpindicator?: boolean;\n addpEligibleStatus?: boolean;\n}\n\nexport class AppModel {\n appId: string;\n appName: string;\n longDesc: string;\n shortDesc: string;\n default: boolean;\n selected?: boolean;\n}\n\nexport class AccountsModel {\n newSetupFanList: Array;\n revisedFanList: Array;\n awaitingSignupFanList: Array;\n\n constructor() {\n this.newSetupFanList = [];\n this.revisedFanList = [];\n this.awaitingSignupFanList = [];\n }\n}\n\nexport class SettingsModel {\n newDevNwt: boolean;\n extDevNwt: boolean;\n securityPolicy: string;\n passCodePolicy: string;\n emailEnabled: boolean;\n smsEnabled: boolean;\n}\n\n\nexport class EnrollmentDateModel {\n new: Date;\n existing: Date;\n\n constructor() {\n this.new = new Date();\n }\n}\n\nexport class EnrollmentCheckboxModel{\n checked: boolean;\n disabled: boolean;\n constructor(){\n this.checked = true;\n this.disabled = false;\n }\n}\n\nexport class SignUpModel {\n companyId: number;\n FANList: AccountsModel;\n\n constructor(companyId) {\n this.FANList = new AccountsModel();\n this.companyId = companyId;\n }\n}\n\nexport class SignUpInputModel extends SignUpModel {\n profileList: Array;\n appList: Array;\n\n constructor(companyId) {\n super(companyId);\n this.profileList = [];\n this.appList = [];\n }\n}\n\n\nexport class SignUpOutputModel extends SignUpModel {\n profile: ProfileModel;\n deviceEnrollDate: EnrollmentDateModel;\n readTnC: boolean;\n emailTnC: boolean;\n emmProductCode: string;\n version: string;\n\n constructor(companyId) {\n super(companyId);\n this.profile = new ProfileModel();\n this.deviceEnrollDate = new EnrollmentDateModel();\n this.readTnC = false;\n this.emailTnC = false;\n this.version = '';\n }\n}\n\n\nexport class SettingsContent {\n settingFields: Array;\n\n constructor() {\n this.settingFields = [];\n }\n}\n","import { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { DatePipe } from '@angular/common';\nimport { throwError } from 'rxjs';\n\n\n\nimport { HttpClient, HttpResponse, HttpHeaders } from '@angular/common/http';\nimport { HttpClientService } from 'lib/ng2-sapmp/src/providers';\nimport { UtilityService, AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';\nimport { SignUpInputModel, SignUpOutputModel } from './../../shared/models/signup.models';\nimport { GridOptionsModel } from 'lib/ng2-sapmp/src/ui-components/custom-grid';\nimport { ANALYTICS_CONSTANTS } from 'config';\ndeclare var ENV_PORTAL;\n\n@Injectable()\nexport class SignupService {\n public emmProductCode: any;\n public mdmProductName: any;\n public productDetails: any;\n public ztpAccID: any;\n\n constructor(private http: HttpClient,\n private httpClientService: HttpClientService,\n private datePipe: DatePipe,\n private utilityService: UtilityService,\n private adobeAnalyticsService: AdobeAnalyticsService) { }\n\n get_headers() {\n let headers = new HttpHeaders();\n headers = headers.append('Authorization', sessionStorage.getItem('sapmp_jwtToken'));\n return headers;\n }\n\n fetchJSON(dataurl) {\n return this.httpClientService.get(dataurl, this.get_headers())\n .pipe(\n map((test: HttpResponse) => {\n if (sessionStorage.getItem('sapmp_jwtToken') != null) {\n // refreshes token for logged in scenario upon page load\n this.httpClientService.tokenRefresh(this.utilityService.getEnvConfig().tokenRefresh);\n }\n return test.body;\n })\n\t ,catchError( this.handleError ));\n }\n\n pageContent(dataurl) {\n return this.fetchJSON(dataurl);\n }\n\n pageHtml(dataurl) {\n return this.httpClientService.get(dataurl, this.get_headers())\n .pipe(\n map((test: HttpResponse) => test.body)\n ,catchError( this.handleError ));\n\n }\n\n getFANList(companyid) {\n let fanUrl;\n if (this.utilityService.getEnvConfig().useMock) {\n \n //fanUrl = \"assets/mock/dashboard/getFANListMock3.json\";\n fanUrl = \"assets/mock/dashboard/getFANListMock6.json\";\n \n } else {\n fanUrl = this.utilityService.getEnvConfig().getFANList;\n }\n return this.fetchJSON(fanUrl);\n }\n\n getAppList(emmProductCode) {\n let appUrl; \n appUrl = this.utilityService.getEnvConfig().getAppList + '?emmProductCode=' + emmProductCode;\n \n return this.fetchJSON(appUrl);\n }\n\n\n requestPopupContent(id) {\n return this.httpClientService.get(id, this.get_headers())\n .pipe(\n map((res: HttpResponse) => res.body)\n ,catchError( this.handleError ));\n }\n\n requestSupportContent(id) {\n return this.httpClientService.get(id, this.get_headers())\n .pipe(\n map((res: HttpResponse) => res.body)\n ,catchError( this.handleError ));\n }\n\n getProfileSettings(companyid, pageSize, pageNumber,emmProductCode) {\n let profileListUrl;\n \n profileListUrl = this.utilityService.getEnvConfig().getprofileList + '?companyId='\n + companyid + '&emmProductCode=' + emmProductCode + '&pageNumber=' + pageNumber + '&pageSize=' + pageSize;\n \n return this.httpClientService.authorizedGet(profileListUrl)\n .pipe(\n map((test: HttpResponse) => {\n return test.body;\n })\n ,catchError( this.handleError ));\n }\n\n getAppleSummary() {\n let appleUrl;\n appleUrl = this.utilityService.getEnvConfig().getAppleSummary + '?detail=false'; \n return this.fetchJSON(appleUrl);\n }\n\n saveSignupModel(inputModel: SignUpInputModel, outputModel: SignUpOutputModel, initialSignup: boolean, isNewProfile: boolean = false) {\n sessionStorage.setItem('SignUpData', JSON.stringify({\n inputModel: inputModel,\n outputModel: outputModel,\n initialSignup: initialSignup,\n isNewProfile: isNewProfile\n }));\n }\n\n submitSignupOrder(data) {\n return this.httpClientService.post(this.utilityService.getEnvConfig().submitSignup, data, this.get_headers())\n .pipe(\n map((test: HttpResponse) => {\n if (sessionStorage.getItem('sapmp_jwtToken') != null) {\n // refreshes token for logged in scenario upon page load\n this.httpClientService.tokenRefresh(this.utilityService.getEnvConfig().tokenRefresh);\n }\n return test.body;\n })\n ,catchError( this.handleError ));\n }\n\n createProfile(data) {\n return this.httpClientService.post(this.utilityService.getEnvConfig().createProfile, data, this.get_headers())\n .pipe(\n map((test: HttpResponse) => {\n if (sessionStorage.getItem('sapmp_jwtToken') != null) {\n // refreshes token for logged in scenario upon page load\n this.httpClientService.tokenRefresh(this.utilityService.getEnvConfig().tokenRefresh);\n }\n return test.body;\n })\n ,catchError( this.handleError ));\n }\n emailConfirmation(data) {\n return this.httpClientService.post(this.utilityService.getEnvConfig().emailConfirmation, data, this.get_headers())\n .pipe(\n map((test: HttpResponse) => test.body)\n ,catchError( this.handleError ));\n }\n\n getSignupDataFromModel(inputModel: SignUpOutputModel) {\n let productDetails = {\n 'emmProductCode': '',\n 'selectedAccID': ''\n };\n if (sessionStorage.getItem('manage-product')) {\n productDetails = JSON.parse(sessionStorage.getItem('manage-product'));\n this.ztpAccID = productDetails.selectedAccID;\n // if(productDetails.emmProductCode == 'DMPSKME') {\n // productDetails.emmProductCode = 'ADDPSKME';\n // }else if (productDetails.emmProductCode =='DMPGZTE') {\n // productDetails.emmProductCode = 'ADDPGZTP';\n // }\n }\n return {\n fanList: inputModel.FANList.awaitingSignupFanList.map(item => item.fanId),\n emmProductCode: productDetails.emmProductCode,\n emmAccountId: this.ztpAccID\n /*,\n readTnC: inputModel.readTnC,\n emailTnC: inputModel.emailTnC,\n version: inputModel.version,*/\n };\n }\n\n updateProfileName(id, newprofileName) {\n // profileID:Q77000000000001066 (valid profile ID which exists in ROME)\n return this.httpClientService.post(this.utilityService.getEnvConfig().\n updateProfileName, { profileID: id, profileName: newprofileName }, this.get_headers())\n .pipe(\n map((test: HttpResponse) => {\n if (sessionStorage.getItem('sapmp_jwtToken') != null) {\n // refreshes token for logged in scenario upon page load\n this.httpClientService.tokenRefresh(this.utilityService.getEnvConfig().tokenRefresh);\n }\n return test.body;\n })\n ,catchError( this.handleError ));\n }\n\n createZtpAccount(selectedAccID, agreementID) {\n const data = { 'email': selectedAccID, 'agreementId': agreementID };\n // if (!this.utilityService.getEnvConfig().useMock) {\n // return this.httpClientService.post(this.utilityService.getEnvConfig().createZtpAccountMock, data, this.get_headers())\n // .pipe(\n map((test: Response) => test.json())\n // ,catchError( this.handleError ));\n // } else {\n return this.httpClientService.post(this.utilityService.getEnvConfig().createZtpAccount, data, this.get_headers())\n .pipe(\n map((test: HttpResponse) => test.body)\n ,catchError( this.handleError ));\n // }\n }\n\n getAutogeneratedProfileName() {\n const date1 = this.datePipe.transform(new Date(), 'MMddyyyy');\n const time2 = new Date();\n const hh = time2.getHours();\n const mm = time2.getMinutes();\n const ss = time2.getSeconds();\n const hh1 = hh < 10 ? '0' + hh : hh;\n const mm1 = mm < 10 ? '0' + mm : mm;\n const ss1 = ss < 10 ? '0' + ss : ss;\n const strTime = '' + hh1 + mm1 + ss1;\n const time1 = strTime;\n const datetime = date1 + time1;\n return datetime;\n }\n\n getSetupDataFromModel(inputModel: SignUpOutputModel, isNew: boolean, isrevisedFanList) {\n const setupData = {\n deviceEnrollDate: {\n new: this.datePipe.transform(inputModel.deviceEnrollDate.new, 'yyyy-MM-dd'),\n existing: this.datePipe.transform(inputModel.deviceEnrollDate.existing, 'yyyy-MM-dd')\n },\n };\n this.productDetails = JSON.parse(sessionStorage.getItem('manage-product'));\n if (!isNew) {\n setupData['profileId'] = inputModel.profile.profileId;\n setupData['memberdetails'] = inputModel.FANList[this.getSelectedFAN(inputModel.FANList)].map(item => {\n return isrevisedFanList ? { fanid: [item.fanId], groupId: item.groupId } : { fanid: [item.fanId] };\n });\n } else {\n setupData['memberdetails'] = inputModel.FANList[this.getSelectedFAN(inputModel.FANList)].map(item => {\n return { fanid: [item.fanId] };\n });\n }\n setupData['profileName'] = inputModel.profile.profileName;\n setupData['settings'] = [inputModel.profile.settings];\n if (this.productDetails.emmProductCode === 'DMPGZTP' || this.productDetails.emmProductCode === 'DMPSKME') {\n setupData['applications'] = [];\n } else {\n setupData['applications'] = inputModel.profile.applications;\n }\n setupData['emmProductCode'] = this.productDetails.emmProductCode;\n return setupData;\n }\n\n compareTwoObject = function (obj1, obj2) {\n let result = 0;\n for (const key in obj1) {\n if (key !== 'selected') {\n if(key === 'applications')\n {\n if(obj1[key].length === 0 && obj2[key].length > 0)\n {\n result++;\n break;\n }\n } if (typeof obj2[key] === 'object' && typeof obj1[key] === 'object') {\n result += this.compareTwoObject(obj1[key], obj2[key]);\n } else if (obj1.length !== undefined && obj1.length < obj2.length) {\n result++;\n break;\n } else if (obj2[key] !== obj1[key]) {\n result++;\n break;\n }\n }\n }\n return result;\n };\n\n getSignupModel() {\n return sessionStorage.getItem('SignUpData') ? JSON.parse(sessionStorage.getItem('SignUpData')) : false;\n }\n\n removeSignupModel() {\n sessionStorage.removeItem('SignUpData');\n }\n\n handleError = (error) => {\n return throwError(error);\n }\n\n /* Review and Confirm Common functionality*/\n selectedAppList(appList, selectedAppList) {\n const tmpApp = [];\n appList.forEach(app => {\n if (selectedAppList.indexOf(app.appId) !== -1) {\n tmpApp.push(app.appName);\n }\n });\n return tmpApp;\n }\n\n initSelectedFanGrid(data, columnDefinitions, showPaginationIndex) {\n const options = new GridOptionsModel();\n options.enableFiltering = false;\n options.enableSorting = false;\n options.multiSelect = false;\n\n const pagination = {\n recordsPerPage: 20,\n currentPage: 1,\n isServerSide: false,\n totalRecords: data.length\n };\n\n options.Paginations = pagination;\n options.gridData = data;\n options.columnDefinitions = columnDefinitions;\n options.showPaginationIndex = showPaginationIndex;\n return options;\n }\n\n getSelectedFAN(FANList) {\n if (FANList.awaitingSignupFanList.length) {\n return 'awaitingSignupFanList';\n } else if (FANList.newSetupFanList.length) {\n return 'newSetupFanList';\n } else if (FANList.revisedFanList.length) {\n return 'revisedFanList';\n }\n }\n getSelectedProdCode() {\n return sessionStorage.getItem('manage-product');\n }\n\n createPageLoadProperties(url, section1) {\n const dataLayer = {};\n if (url === 'ACCOUNTSFAILURE') {\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_LOCATION_URL] = '/virtual/signup/failuremodal.html';\n } else if (url === 'SETTINGSMODAL') {\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_LOCATION_URL] = '/virtual/signup/supportmodal.html';\n } else if (url === 'COFIRMREQUESTMODAL') {\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_LOCATION_URL] = '/virtual/signup/confirmrequestmodal.html';\n } else if (url === 'APPLICATIONSMODAL') {\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_LOCATION_URL] = '/virtual/signup/applicationsmodal.html';\n } else if (url === 'STARTDATEMODEL') {\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_LOCATION_URL] = '/virtual/signup/startdatelearnmoremodal.html';\n }\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FRIENDLY_PAGE_NAME] = ANALYTICS_CONSTANTS['FRIENDLY_NAME_SIGNUP_' + url];\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FLOW_CODE] = ANALYTICS_CONSTANTS.FLOW_CODE_SIGNUP;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_PAGE_FUNCTION] = 'Service';\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_SITE_SECTION1] = section1;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_LOGIN_SOURCE] = 'home';\n this.adobeAnalyticsService.tag('page', dataLayer, 'Page_Load', 'pageLoad');\n }\n};","import { Component, OnChanges, OnInit, OnDestroy, AfterViewInit, AfterViewChecked } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { UtilityService } from 'lib/ng2-sapmp/src/providers';\nimport { GridOptionsModel, ColumnDefinitionsModel, PaginationsModel } from 'lib/ng2-sapmp/src/ui-components/custom-grid';\nimport { SignupService } from './shared/providers/signup.service';\nimport { Router } from '@angular/router';\nimport { BreadCrumbModel, StepIndicatorModel, StepIndicatorService, BreadCrumbService } from 'lib/ng2-sapmp/src/ui-components';\nimport { BREADCRUMBS, STEPINDICATORS } from 'config';\n\n\n@Component({\n selector: 'app-signup',\n templateUrl: './signup.component.html',\n styleUrls: ['./signup.component.scss'],\n providers: [StepIndicatorService, SignupService]\n})\n\nexport class SignUpComponent implements OnInit, OnDestroy {\n stepIndicators: StepIndicatorModel[];\n displayFlag: boolean;\n sessionName: string;\n emmProductCode: any;\n currentStep: any;\n\n constructor(private stepindicatorService: StepIndicatorService,\n private breadCrumbService: BreadCrumbService,\n private signupService: SignupService,\n private router: Router) {\n\n }\n\n ngOnInit() {\n if (this.emmProductCode === 'ADDPMDM'){\n this.router.navigate(['/home']);\n }\n this.breadCrumbService.setCurrentBreadCrumb({ label: 'Device enrollment', routerLink: '/signup' });\n // this.emmProductCode = this.signupService.getSelectedProdCode();\n this.emmProductCode = JSON.parse(this.signupService.getSelectedProdCode()).emmProductCode;\n // this.emmProductCode = sessionStorage.getItem('emmProductCode');\n\n if (this.emmProductCode === 'DMPSKME' || this.emmProductCode === 'DMPGZTP') {\n this.sessionName = 'signUpOem';\n this.stepIndicators = STEPINDICATORS.signUpOem;\n\n } else {\n this.sessionName = 'signup';\n this.stepIndicators = STEPINDICATORS.signUp;\n }\n if (this.stepindicatorService.getSteps(this.sessionName) === null) {\n this.stepindicatorService.setSteps(this.stepIndicators, this.sessionName);\n }\n this.stepIndicators = this.stepindicatorService.getSteps(this.sessionName);\n this.stepindicatorService.getVisibility().subscribe(\n (status: boolean) => {\n this.displayFlag = status;\n }\n );\n\n this.stepindicatorService.getCurrentStep().subscribe(\n (path: string) => {\n this.currentStep = path +' step';\n });\n }\n\n ngOnDestroy() {\n this.signupService.removeSignupModel();\n sessionStorage.removeItem('SignupBacktoCallingPage');\n sessionStorage.removeItem('backupProfiles');\n sessionStorage.removeItem('ProfileSize');\n }\n}","
    \n
    \n

    Device enrollment

    \n
    \n \n
    \n
    \n \n
    \n
    \n \n
    ","import { Component, OnInit, ViewEncapsulation } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport {\n StepIndicatorModel, StepIndicatorService, ConfirmModalPopupModel,\n GridOptionsModel, AccordionModel,\n ColumnDefinitionsModel, PaginationsModel\n} from 'lib/ng2-sapmp/src/ui-components';\nimport { UtilityService, AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';\nimport { EnrollmentDateModel, SignUpOutputModel, SignUpInputModel, FanModel, EnrollmentCheckboxModel } from './../shared/models/signup.models';\nimport { SignupService } from './../shared/providers/signup.service';\nimport { AccordionComponent } from 'lib/ng2-sapmp/src/ui-components/accordion/accordion.component';\nimport { element } from 'protractor';\n\ndeclare var ENV_VAR: any; // global variable set in env.js file, imported in index.html\n\n@Component({\n selector: 'app-startdate',\n templateUrl: './startdate.component.html',\n styleUrls: ['./startdate.component.scss'],\n encapsulation: ViewEncapsulation.None,\n providers: [SignupService, AdobeAnalyticsService]\n})\n\nexport class StartdateComponent implements OnInit {\n\n public dateError: boolean;\n public errorMessage: string;\n public showSupportModal: boolean;\n public learnMoreModal: ConfirmModalPopupModel;\n public enrollDatePopup: ConfirmModalPopupModel;\n public pageDescription: Array;\n public formInputs: Array;\n public gridOption: GridOptionsModel;\n private enrollDates: EnrollmentDateModel;\n private signupOutputModel: SignUpOutputModel;\n private signupInputModel: SignUpInputModel;\n private activeFANList: Array = [];\n private futureEnrollList: Array = [];\n private initialSignup = false;\n public authenticatepage: boolean;\n public pageContent: any;\n public eventEmit: any;\n article: any;\n title: any;\n supportArticles: any;\n confirmModalPopup: ConfirmModalPopupModel;\n initModal: boolean;\n public mixedCombination: boolean;\n public emmProductCode: any;\n public oemStatus: boolean;\n manageProduct: any;\n showEnrollDetailsModal = false;\n supportArticle = false;\n enrollmentCheckbox: EnrollmentCheckboxModel;\n existingDateExistCount: number;\n existingDateAbsentCount: number;\n\n constructor(private route: ActivatedRoute, private router: Router,\n private activatedRoute: ActivatedRoute,\n private stepindicatorService: StepIndicatorService,\n private utilityService: UtilityService,\n private signupService: SignupService,\n private adobeAnalyticsService: AdobeAnalyticsService) {\n const signupModel = this.signupService.getSignupModel();\n this.initModal = false;\n let revisedFanList;\n this.mixedCombination = false;\n let minDate = new Date()\n if (signupModel) {\n this.signupOutputModel = signupModel.outputModel;\n this.signupInputModel = signupModel.inputModel;\n this.initialSignup = signupModel.initialSignup;\n revisedFanList = this.signupOutputModel.FANList.revisedFanList;\n this.authenticatepage = true;\n } else {\n this.authenticatepage = false;\n this.router.navigate(['signup']);\n }\n this.enrollmentCheckbox = new EnrollmentCheckboxModel();\n this.existingDateExistCount = 0; \n this.existingDateAbsentCount = 0;\n // on return\n if (this.signupOutputModel && this.signupOutputModel.deviceEnrollDate) {\n this.enrollDates = this.signupOutputModel.deviceEnrollDate;\n if( this.signupOutputModel.deviceEnrollDate.existing ){\n this.enrollmentCheckbox.checked = true;\n }else if( this.signupOutputModel.deviceEnrollDate.existing !== undefined || this.signupOutputModel.deviceEnrollDate.existing === null ){\n this.enrollmentCheckbox.checked = false;\n }\n }\n\n\n // check this also for revised case\n if (revisedFanList) {\n revisedFanList.forEach(fan => {\n if (fan.existDeviceEffectiveDate && new Date(fan.existDeviceEffectiveDate) > minDate ) {\n this.enrollDates.existing = new Date(minDate.getFullYear(), minDate.getMonth(), (minDate.getDate() + 1));\n }\n if (fan.accountSubStatus === 'Active') {\n this.activeFANList.push(fan);\n fan.existDeviceEffectiveDate ? this.existingDateExistCount++ : this.existingDateAbsentCount++;\n } else {\n this.futureEnrollList.push(fan);\n }\n });\n }\n }\n\n ngOnInit() {\n //document.title = this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url];\n\n //if (!this.authenticatepage) {\n // return;\n //}\n this.stepindicatorService.setCurrentStep(this.activatedRoute.snapshot.url[0].path);\n this.stepindicatorService.setVisibility(true);\n // this.emmProductCode = sessionStorage.getItem('emmProductCode');\n this.manageProduct = JSON.parse(sessionStorage.getItem('manage-product'));\n this.emmProductCode = this.manageProduct.emmProductCode;\n if (this.emmProductCode === 'DMPSKME' || this.emmProductCode === 'DMPGZTP') {\n this.oemStatus = true;\n } else {\n this.oemStatus = false;\n }\n //this.signupService.pageContent(this.utilityService.getEnvConfig().contentUrl.signup.startdate).\n // subscribe(respobj => {\n this.pageContent = this.route.snapshot.data.pageData.signupstartdate;\n this.learnMoreModal = new ConfirmModalPopupModel();\n this.learnMoreModal.modalHeader = '';\n this.learnMoreModal.modalSubHeader = '';\n // tslint:disable-next-line:max-line-length\n this.learnMoreModal.modalMessage = this.pageContent.learnMoreModal.description;\n this.learnMoreModal.showCancelButton = false;\n this.enrollDatePopup = new ConfirmModalPopupModel();\n this.enrollDatePopup.modalHeader = this.pageContent.enrollDatePopup.heading;\n if(!this.oemStatus) {\n this.enrollDatePopup.modalMessage =this.pageContent.enrollDatePopup.description;\n }\n else {\n this.enrollDatePopup.modalMessage = this.pageContent.enrollDatePopup.descriptionOem;\n }\n // tslint:disable-next-line:max-line-length\n this.enrollDatePopup.showCancelButton = false;\n if (this.activeFANList.length > 0 && this.futureEnrollList.length > 0) {\n this.mixedCombination = true;\n }\n this.pageDescription = [{\n 'header': this.pageContent.currentDeployAccount.heading,\n // tslint:disable-next-line:max-line-length\n 'description': this.pageContent.currentDeployAccount.description,\n 'accordion': [this.createAccordionModel('ActiveFAN',\n this.pageContent.currentDeployAccount.ariaLabel)],\n 'hide': !this.activeFANList.length,\n 'moreThanFiveFan': this.activeFANList.length > 5,\n // tslint:disable-next-line:max-line-length\n 'gridHeader': (this.activeFANList.length === 1) ? this.activeFANList.length + '  ' + this.pageContent.currentDeployAccount.gridHeaderSingular: this.activeFANList.length + '  ' + this.pageContent.currentDeployAccount.gridHeaderPlural,\n 'gridOptions': this.createGridOptions('active'),\n 'gridCallback': this.updateActiveList,\n 'class': 'already-enrolled-devices',\n 'subHead': 'Devices are already enrolled for these accounts.'\n }\n , {\n 'header': this.pageContent.futureDeployAccount.heading,\n 'description': this.pageContent.futureDeployAccount.description,\n 'accordion': [this.createAccordionModel('FutureFAN',\n this.pageContent.futureDeployAccount.ariaLabel)],\n 'hide': !this.futureEnrollList.length,\n 'moreThanFiveFan': this.futureEnrollList.length > 5,\n // tslint:disable-next-line:max-line-length\n 'gridHeader': (this.futureEnrollList.length === 1) ? this.futureEnrollList.length + '  ' + this.pageContent.futureDeployAccount.gridHeaderSingular: this.futureEnrollList.length + '  ' + this.pageContent.futureDeployAccount.gridHeaderPlural,\n 'gridOptions': this.createGridOptions('future'),\n 'gridCallback': this.updateFutureList,\n 'class': 'change-device-enrollment-dates',\n 'subHead': 'To change device enrollment dates, select a new date.'\n }, {\n 'header': this.pageContent.heading,\n 'header1': this.pageContent.header1,\n 'description': this.pageContent.description,\n 'descriptionOem': this.pageContent.descriptionOem,\n 'hide': this.activeFANList.length || this.futureEnrollList.length\n }\n ];\n if (this.activeFANList.length === 0 && this.futureEnrollList.length > 0) { // all future.\n this.formInputs = [{\n id: 'new',\n title: this.pageContent.newDevice.heading,\n dateInput: this.createDatePickerInput('new'),\n toolTipText: this.pageContent.newDevice.toolTipText,\n label: 'Enrollment date (devices pending enrollment)'\n }, {\n id: 'existing',\n title: this.pageContent.existingDevice.heading,\n dateInput: this.createDatePickerInput('existing'),\n toolTipText: this.pageContent.existingDevice.toolTipText,\n // label: 'Enrollment date (enrolled devices)'\n label: 'Enrollment date (all existing devices)'\n }];\n } else if (this.futureEnrollList.length === 0 && this.activeFANList.length > 0) { // it will have two cases, check if the existing date is present or not.\n // document.getElementsByClassName('enter-date').style.cssText = disabled;\n this.formInputs = [{\n id: 'newActive',\n title: this.pageContent.newDevice.heading,\n dateInput: this.createDatePickerInput('new', 'newActive'),\n toolTipText: this.pageContent.newDevice.toolTipText,\n label: 'Enrollment date (enrolled devices)'\n }];\n if( ( this.existingDateExistCount > 0 && this.existingDateAbsentCount > 0) || this.existingDateAbsentCount > 0 ){ // mix past scenario\n this.formInputs.push({\n id: 'existing',\n title: this.pageContent.existingDevice.heading,\n dateInput: this.createDatePickerInput('existing'),\n toolTipText: this.pageContent.existingDevice.toolTipText,\n label: 'Enrollment date (all existing devices)'\n })\n }else if( this.existingDateExistCount > 0 ){\n this.formInputs.push({\n id: 'existing',\n title: this.pageContent.existingDevice.heading,\n dateInput: this.createDatePickerInput('existing', 'newActive'),\n toolTipText: this.pageContent.existingDevice.toolTipText,\n label: 'Enrollment date (all existing devices)'\n })\n this.enrollmentCheckbox.disabled = true;\n }\n } else if (this.futureEnrollList.length > 0 && this.activeFANList.length > 0) { // no longer required same as 2nd\n this.formInputs = [{\n id: 'newActive',\n title: this.pageContent.newDevice.heading,\n dateInput: this.createDatePickerInput('new', 'newActive'),\n toolTipText: this.pageContent.newDevice.toolTipText,\n label: 'Enrollment date (enrolled devices)'\n },\n {\n id: 'existing',\n title: this.pageContent.existingDevice.heading,\n dateInput: this.createDatePickerInput('existing', 'newActive'),\n toolTipText: this.pageContent.existingDevice.toolTipText,\n label: 'Enrollment date (all existing devices)'\n }];\n this.enrollmentCheckbox.disabled = true;\n } else { //same as if\n this.formInputs = [{\n id: 'new',\n title: this.pageContent.newDevice.heading,\n dateInput: this.createDatePickerInput('new'),\n toolTipText: this.pageContent.newDevice.toolTipText,\n label: 'Enrollment date (devices pending enrollment)'\n }, {\n id: 'existing',\n title: this.pageContent.existingDevice.heading,\n dateInput: this.createDatePickerInput('existing'),\n toolTipText: this.pageContent.existingDevice.toolTipText,\n label: 'Enrollment date (all existing devices)'\n }\n ];\n }\n // this.pageloaderService.setPageLoaderStatus(true);\n // });\n this.signupService.createPageLoadProperties('STARTDATE', 'startdate');\n this.supportArticles = [{ id: 1, isActive: true, category: 'Help', description: '', ariaLabel:{\n 'expand': 'Show help',\n 'collapse': 'Hide help'\n }\n }]; const pageName = 'signupStartDatePage';\n this.signupService.requestSupportContent(this.utilityService.getEnvConfig().getSupportDocument + pageName).\n subscribe(resp => {\n this.supportArticle = true;\n this.article = resp.supportArticles;\n this.article.category = this.article.availableArticle;\n this.article.name = this.article.availableArticle[0].name;\n // }, (err) => {\n // this.handleError(err);\n });\n }\n\n onDateChange(dateObj: any) {\n if (dateObj.id === 'new') {\n this.enrollDates.new = dateObj.date;\n } else {\n this.enrollDates.existing = this.enrollDates.new\n this.dateError = false;\n this.errorMessage = '';\n }\n }\n\n handleError(error, type?) {\n this.errorMessage = '';\n // this.pageloaderService.setPageLoaderStatus(true);\n }\n\n getSupportContent(articleNumber) {\n if (this.article.availableArticle[articleNumber].type === 'popup') {\n this.initPopupModal(this.article.availableArticle[articleNumber].title, articleNumber);\n } else if (this.article.availableArticle[articleNumber].type === 'url') {\n console.log(this.article.availableArticle[articleNumber].url);\n\n this.router.navigateByUrl(this.article.availableArticle[articleNumber].url);\n }\n }\n\n initPopupModal(modalName, articleNumber) {\n this.confirmModalPopup = new ConfirmModalPopupModel();\n this.confirmModalPopup.modalSubHeader = '';\n // if (this.utilityService.getEnvConfig().useMock)\n // {\n // this.manageInventoryService.requestPopupContent(this.utilityService.getEnvConfig().getSupportDocumentMock).\n // subscribe(\n // res => {\n // this.confirmModalPopup.modalMessage = res.lock;\n // });\n // }\n // else{\n this.signupService.requestPopupContent(this.utilityService.getEnvConfig().getSupportDocument + 'details/' + modalName).\n // this.signupService.requestPopupContent(this.utilityService.getEnvConfig().getSupportDocument+'details/'+modalName).\n subscribe(\n res => {\n this.title = res.articleDetails.name;\n this.confirmModalPopup.modalHeader = this.article.availableArticle[articleNumber].name;\n this.confirmModalPopup.modalMessage = res.articleDetails.content;\n });\n // }\n this.confirmModalPopup.confirmButtonMessage = 'OK';\n this.confirmModalPopup.showCancelButton = false;\n\n this.initModal = true;\n this.eventEmit = document.activeElement;\n }\n\n\n learn() {\n this.showSupportModal = true;\n this.eventEmit = document.activeElement;\n this.signupService.createPageLoadProperties('STARTDATEMODEL', 'Settings');\n\n }\n\n closeModal() {\n this.showSupportModal = false;\n this.initModal = false;\n this.signupService.createPageLoadProperties('STARTDATEMODEL', 'Settings');\n\n }\n\n showenroll() {\n this.showEnrollDetailsModal = true;\n }\n closePopupModal(confirm) {\n this.showEnrollDetailsModal = false;\n\n }\n\n back(event) {\n event.preventDefault();\n if (!this.oemStatus) {\n this.router.navigate(['signup/applications']);\n } else {\n this.router.navigate(['signup/settings']);\n }\n }\n\n next() {\n // tslint:disable-next-line:max-line-length\n this.adobeAnalyticsService.createAdobeEventProperties('MANAGE_DEVICE', 'SUCCESS', 'formSubmit', 'BC_Device_Signup_Select_Date_Submit', 'success', 'Success_Admit', 'Continue', 'Body', '/businessconsole/signup/review');\n // if (this.enrollDates.existing === undefined || this.enrollDates.existing == null || !this.enrollmentCheckbox.checked ) {\n // this.enrollDates.existing = null;\n // }\n if( this.enrollmentCheckbox.checked ){\n let minDate = new Date();\n if(new Date( this.enrollDates.new ) > minDate ){\n this.enrollDates.existing = this.enrollDates.new;\n }else{ \n this.enrollDates.existing = new Date( minDate.getFullYear(), minDate.getMonth(), (minDate.getDate() + 1));\n }\n }else{\n this.enrollDates.existing = null;\n }\n this.signupOutputModel.deviceEnrollDate = this.enrollDates;\n if (this.activeFANList.length || this.futureEnrollList.length) {\n this.signupOutputModel.FANList.revisedFanList = this.filterSelected(this.activeFANList.concat(this.futureEnrollList));\n if (!this.signupOutputModel.FANList.revisedFanList.length) {\n this.errorMessage = this.pageContent.errorMsg.noFANSelected;\n return;\n }\n }\n this.signupService.saveSignupModel(this.signupInputModel, this.signupOutputModel, this.initialSignup);\n // Adobe Analytics Starts\n // tslint:disable-next-line:max-line-length\n this.adobeAnalyticsService.createAdobeEventProperties('MANAGE_DEVICE', 'SUCCESS', 'formResponse', 'BC_Device_Signup_Select_Date_Submit', 'success', 'Success_Admit', 'Continue', 'Body', '/businessconsole/signup/review');\n // const data = { code: 'device_select_date_submit', errorType: 'SUCCESS_TYPE', successFlag: 1, msg: '' };\n // this.adobeAnalyticsService.trackEventProperties(data);\n // Ends\n this.router.navigate(['signup/review']);\n // this.dateError = true;\n // this.errorMessage = this.pageContent.errorMsg.selectDate;\n }\n\n createAccordionModel(id: string, ariaLabel) {\n const accordionModel = new AccordionModel();\n const fanList = (id === 'ActiveFAN') ? this.activeFANList : this.futureEnrollList;\n accordionModel.id = id;\n accordionModel.isActive = false;\n accordionModel.category = (id === 'ActiveFAN') ? (this.activeFANList.length + '  ' + this.pageContent.currentDeployAccount.gridHeaderPlural)\n : (this.futureEnrollList.length + '  ' + this.pageContent.futureDeployAccount.gridHeaderPlural);\n accordionModel.ariaLabel = ariaLabel;\n return accordionModel;\n }\n\n createDatePickerInput(id: string, label?) {\n let minDate = new Date();\n const maxDate = new Date(minDate.getFullYear(), minDate.getMonth(), (minDate.getDate() + 60));\n if(id == 'existing'){\n minDate = new Date(minDate.getFullYear(), minDate.getMonth(), (minDate.getDate() + 1));\n }\n let selectedDate = id === 'new' ? this.enrollDates.new : this.enrollDates.existing;\n // if (id === 'existing'){\n // this.enrollDates.existing = selectedDate;\n // }\n const dateInput = {\n id: id,\n minDate: minDate,\n maxDate: maxDate,\n datePickerLabel: this.pageContent[id + 'Device'].fieldLabel,\n selectedDate: undefined,\n disable: false,\n ariaLabel: this.pageContent[id + 'Device'].ariaLabel,\n labelColor: \"enable-label\"\n };\n if (selectedDate) {\n dateInput.selectedDate = new Date(selectedDate);\n }\n if (label === 'newActive') {\n dateInput.disable = true;\n dateInput.labelColor= \"disable-label\";\n }\n return dateInput;\n }\n\n createGridOptions(id: string) {\n const gridOption = new GridOptionsModel();\n const columns: ColumnDefinitionsModel = {\n field: 'fanId',\n caption: 'Foundation accounts',\n type: 'TEXT'\n };\n\n const pages: PaginationsModel = {\n recordsPerPage: 20,\n currentPage: 1,\n totalRecords: id === 'active' ? this.activeFANList.length : this.futureEnrollList.length,\n isServerSide: false,\n };\n\n gridOption.ariaLabel= \"Select all foundation accounts.\";\n gridOption.enableFiltering = false;\n gridOption.columnDefinitions = [columns];\n gridOption.enableSorting = false;\n gridOption.gridData = id === 'active' ? this.activeFANList : this.futureEnrollList;\n gridOption.Paginations = pages;\n gridOption.searchPlaceHolder = '';\n gridOption.searchDescriptions = '';\n gridOption.callbacks = null;\n gridOption.multiSelect = true;\n gridOption.disableGrid = false;\n gridOption.disableRow = false;\n gridOption.disableRowCondition = { field: '', value: '' };\n return gridOption;\n\n }\n\n filterSelected(fanList: Array) {\n const filteredFans = new Array();\n fanList.forEach(fan => {\n if (fan.selected) {\n filteredFans.push(fan);\n }\n });\n return filteredFans;\n }\n\n\n updateFutureList = ($event: any) => {\n this.futureEnrollList = $event.griddata;\n // tslint:disable-next-line:max-line-length\n const title = (this.filterSelected(this.futureEnrollList).length === 1) ? this.filterSelected(this.futureEnrollList).length + ' Foundation Account Selected' : this.filterSelected(this.futureEnrollList).length + ' Foundation Accounts Selected';\n this.updateView(this.pageDescription[1], title);\n }\n\n updateActiveList = ($event: any) => {\n this.activeFANList = $event.griddata;\n // tslint:disable-next-line:max-line-length\n const title = (this.filterSelected(this.activeFANList).length === 1) ? this.filterSelected(this.activeFANList).length + ' Foundation Account Selected' : this.filterSelected(this.activeFANList).length + ' Foundation Accounts Selected';\n this.updateView(this.pageDescription[0], title);\n }\n\n updateView(description: any, title: string) {\n if (description.accordion) {\n description.accordion[0].category = title;\n } else {\n description.gridHeader = title;\n }\n if (!this.dateError) {\n this.errorMessage = '';\n }\n }\n\n}\n","
    \n
    \n
    \n
    \n
    \n \n
    \n
    {{errorMessage}}
    \n
    \n
    \n \n \n \n \n
    \n

    {{pageContent.heading}}

    \n\n\n
    \n
    \n
    \n \n \n \n \n \n \n \n
    \n
    \n \n
    \n \n \n
    \n
    \n\n\n \n
    \n \n \n \n \n
    \n \n \n \n
    \n
    \n \n\n\n \n
    \n {{pageContent.IOSDeviceInfo}}\n
    \n\n\n
    \n \n {{pageContent.buttons.back}} \n
    \n
    \n \n \n \n \n \n
    \n
    \n \n \n \n \n
    \n
    \n
    \n
    \n\n\n\n\n\n
    \n

    {{field.title}}\n \n

    \n
    \n
    \n \n \n
    \n
    \n\n\n
    \n \n \n
    \n
    \n\n\n \n\n\n\n \n
    \n \n \n \n \n
    \n
    \n\n\n
    \n
    \n
    \n \n \n \n \n \n \n
    \n
    \n \n \n
    \n
    \n
    \n

    {{page.gridHeader}}

    \n \n \n
    \n
    \n
    ","import { Component, OnInit } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { BreadCrumbModel, BreadCrumbService } from 'lib/ng2-sapmp/src/ui-components/breadcrumb';\nimport { Router, ActivatedRoute } from '@angular/router';\n\n\n@Component({\n selector: 'app-system-error',\n templateUrl: './system-error.component.html',\n styleUrls: ['./system-error.component.scss']\n})\nexport class SystemErrorComponent implements OnInit {\n previousRoute: any;\n link: string;\n\n constructor( private breadCrumbService: BreadCrumbService,\n private router: Router) {\n\n }\n\n ngOnInit() {\n this.link = this.breadCrumbService.getLastUrlFromBreadCrumb().label;\n }\n\n backToPreviousPage() {\n const previousPage = this.breadCrumbService.getLastUrlFromBreadCrumb().routerLink;\n this.router.navigate([previousPage]);\n }\n}\n","
    \n

    Something went wrong

    \n

    We're unable to complete your request. Please call 877.996.7017, Monday through Friday, 7 a.m. - 8 p.m. ET.

    \n

    When prompted for a PIN, use this error code: XXXX

    \n

    \n\nBack to {{ link }} page
    \nAT&T Business Console\n

    \n
    ","import { Component, OnInit } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\n\n@Component({\n selector: 'app-system-maintenance',\n templateUrl: './system-maintenance.component.html',\n styleUrls: ['./system-maintenance.component.scss']\n})\nexport class SystemMaintenanceComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit() {\n }\n\n}\n","
    \n

    Updates in progress

    \n

    Thanks for your patience as we update AT&T Busines ConsoleTM. Please check back later.

    \n

    If you want immediate assistance, call 866.241.6568, Monday through friday, 7 a.m. to 9 p.m ET.

    \n
    ","import { Component, OnInit } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { BreadCrumbModel, BreadCrumbService } from 'lib/ng2-sapmp/src/ui-components/breadcrumb';\nimport { BREADCRUMBS } from 'config';\nimport { UtilityService } from 'lib/ng2-sapmp/src/providers';\nimport { Router } from '@angular/router';\n\n@Component({\n selector: 'app-terms-conditions',\n templateUrl: './terms-conditions.component.html',\n styleUrls: ['./terms-conditions.component.scss'],\n})\n\nexport class TermsConditionsComponent implements OnInit {\n\n tnc: string;\n constructor(private breadCrumbService: BreadCrumbService, private utilityService: UtilityService, private router: Router) { }\n\n ngOnInit() {\n document.title = this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url];\n\n this.breadCrumbService.setCurrentBreadCrumb({ label: 'Sign-up', routerLink: '' });\n this.tnc = sessionStorage.getItem('termsAndConditionContent');\n }\n}\n","
    \n
    \n

    Terms & Conditions

    \n
    \n {{tnc}}\n
    \n
    \n
    \n Back\n
    \n\n
    \n \n
    ","export * from './user-edit.component';\n\n","export { UserEditService } from './providers/user-edit.service';\n","import { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { HttpClient, HttpResponse, HttpHeaders } from '@angular/common/http';\n\nimport { throwError } from 'rxjs';\n\n\n\nimport { USER_EDIT_RETURN_TYPE, USER_EDIT_CTO_REQUESTID, USER_EDIT_CTO_TRACKID } from '../../user-edit.config';\nimport { ANALYTICS_CONSTANTS } from 'config';\n\nimport { HttpClientService, AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';\ndeclare var ENV_PORTAL;\n@Injectable()\nexport class UserEditService {\n\n constructor(private http: HttpClient, private httpClientService: HttpClientService, private adobeAnalyticsService: AdobeAnalyticsService) { }\n\n saveUserInfo(servicename, body) {\n return this.httpClientService.authorizedPatch(servicename, body)\n .pipe(\n map((res: HttpResponse) => {\n this.httpClientService.updateAuthorizationHeaders(res);\n return res.body;\n })\n ,catchError( this.handleError ));\n }\n\n // Page Load\n createPageLoadProperties(url: string, title: string) {\n const dataLayer = {};\n const removeProductId = url.substring(0, url.lastIndexOf('/'));\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_LOCATION_URL] = ANALYTICS_CONSTANTS.ENVIRONMENT_URL + removeProductId;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FRIENDLY_PAGE_NAME] = ANALYTICS_CONSTANTS.FRIENDLY_NAME_USER_EDIT;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FLOW_CODE] = ANALYTICS_CONSTANTS.FLOW_CODE_MANAGE;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_LANGUAGE] = 'EN';\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_LOGIN_SOURCE] = 'shoplogin';\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_PAGE_FUNCTION] = 'Service';\n this.adobeAnalyticsService.tag('page', dataLayer, 'Page_Load', 'pageLoad');\n }\n\n handleError = (error) => {\n return throwError(error);\n }\n}\n","import { Component, OnInit, OnDestroy, ViewEncapsulation } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { HttpClient } from '@angular/common/http';\nimport { FormGroup, Validators, FormBuilder } from '@angular/forms';\nimport { PageLoaderService } from 'lib/ng2-sapmp/src/ui-components';\nimport { AuthenticationService, UtilityService, ValidationService, AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';\nimport { UserProfileModel } from 'lib/ng2-sapmp/src/models/userprofile';\nimport { BreadCrumbModel, BreadCrumbService } from 'lib/ng2-sapmp/src/ui-components/breadcrumb';\nimport { UserEditService } from './shared';\nimport { USER_EDIT_HEADER_CLASS, USER_EDIT_HEADER_TYPE } from './user-edit.config';\nimport { MobilePivotModel } from 'lib/ng2-sapmp/src/ui-components/mobile-pivot';\n\ndeclare var ENV_VAR: any; // global variable set in env.js file, imported in index.html\nimport { BREADCRUMBS } from 'config';\ndeclare var logoutCurrentUser: any;\n\n@Component({\n selector: 'app-user-edit',\n templateUrl: './user-edit.component.html',\n styleUrls: ['./user-edit.component.scss'],\n providers: [ValidationService, UserEditService, AdobeAnalyticsService], // utilityService is provided in app component already\n encapsulation: ViewEncapsulation.None\n})\n\nexport class UserEditComponent implements OnInit {\n breadCrumbs: BreadCrumbModel[];\n setError = false;\n ErrorMessage: string;\n userEditform: FormGroup;\n showProduct: boolean;\n userInfo: UserProfileModel;\n productLisenceInfo: Array;\n initFirstName = '';\n initLastName = '';\n initEmail = '';\n initContact = '';\n id: string;\n user: UserProfileModel;\n userSummaryProductModelArr: Array;\n previousRoute: any;\n csrPermissionSaveButton: boolean;\n pivots: Array;\n emailFlag = false;\n formErrors = {\n 'firstName': '',\n 'lastName': '',\n 'email': '',\n 'phoneNumber': ''\n };\n validationMessages = {\n 'firstName': {\n 'required': 'First name is required.',\n 'pattern': 'Please enter a valid first name.'\n },\n 'lastName': {\n 'required': 'Last name is required.',\n 'pattern': 'Please enter a valid last name.'\n },\n 'email': {\n 'required': 'Email is required.',\n 'pattern': 'Please enter a valid Email id.'\n },\n 'phoneNumber': {\n 'required': 'Phone number is required.',\n 'checkPattern': 'Please enter a valid 10 digit contact number (XXXXXXXXXX).'\n }\n };\n\n constructor(private route: ActivatedRoute,\n private router: Router,\n private authenticationService: AuthenticationService,\n private utilityService: UtilityService,\n private userEditService: UserEditService,\n private formBuilder: FormBuilder,\n private validationService: ValidationService,\n private adobeAnalyticsService: AdobeAnalyticsService,\n private http: HttpClient, private pageloaderService: PageLoaderService, private breadCrumbService: BreadCrumbService) {\n this.csrPermissionSaveButton = this.utilityService.checkFieldPermission('userEdit.save',\n JSON.parse(sessionStorage.getItem('permissions')).perm);\n this.pivots = new Array();\n\n }\n\n ngOnInit() {\n let url = this.router.routerState.snapshot.url;\n const updatedUrl = url.substring(0, url.lastIndexOf('/'));\n document.title = this.utilityService.getPageTitleConfig()[updatedUrl];\n this.pivots.push({ label: 'Console dashboard', routerLink: '/dashboard' });\n this.authenticationService.setLoginSuccessUrl(this.router.routerState.snapshot.url);\n if (this.authenticationService.getUser() === null) {\n // this.router.navigate(['login']);\n window.location.href = '/businessconsole/login';\n }\n this.showProduct = true;\n this.id = this.route.snapshot.params['id'];\n this.user = this.authenticationService.getUser();\n this.previousRoute = this.breadCrumbService.getLastUrlFromBreadCrumb();\n this.getUserInfo();\n this.buildForm();\n this.userEditService.createPageLoadProperties(this.router.routerState.snapshot.url,\n 'User Edit');\n }\n\n getUserInfo() {\n const tmpUser = JSON.parse(sessionStorage.getItem('user-manage-' + this.id));\n if (tmpUser !== null && tmpUser.user_info !== undefined) {\n this.initFirstName = tmpUser.user_info.firstName;\n this.initLastName = tmpUser.user_info.lastName;\n this.initEmail = tmpUser.user_info.email;\n this.initContact = tmpUser.user_info.contactNumber.split('.').join('');\n this.initContact = this.utilityService.formatTelephoneNumber(this.initContact);\n this.breadCrumbService.setCurrentBreadCrumb({ 'label': 'Edit user', 'routerLink': this.router.routerState.snapshot.url });\n this.userSummaryProductModelArr = tmpUser.userSummaryProductModelArr;\n if (this.userSummaryProductModelArr.length !== 0) {\n this.showProduct = true;\n } else {\n this.showProduct = false;\n }\n console.log(this.userSummaryProductModelArr);\n } else {\n this.router.navigate(['user/summary' + '/' + this.id]);\n }\n }\n\n contactChange(event) {\n event = Object(event);\n if (event) {\n if (event.keyCode === 46) {\n // not to except .\n event.preventDefault();\n }\n }\n }\n\n contactBlur(event) {\n if (event.target.value.match('^[0-9]{1,100}$')) {\n var val = this.utilityService.onBlurFormat(event.target.value, 'dot');\n this.userEditform.get('phoneNumber').setValue(val);\n }\n }\n\n contactFocus(event) {\n var val = this.utilityService.onFocusFormat(event.target.value, 'dot');\n this.userEditform.get('phoneNumber').setValue(val);\n }\n\n buildForm() {\n this.userEditform = this.formBuilder.group({\n firstName: [this.initFirstName,\n [Validators.required, Validators.pattern(/(?!^\\s+$)^.+$/)]],\n lastName: [this.initLastName,\n [Validators.required, Validators.pattern(/(?!^\\s+$)^.+$/)]],\n email: [this.initEmail,\n [Validators.required,\n Validators.pattern(`^[_A-Za-z0-9-\\\\+]+(\\\\.[_A-Za-z0-9-]+)*@[A-Za-z0-9-]+(\\\\.[A-Za-z0-9]+)*(\\\\.[A-Za-z]{2,})$`)]],\n phoneNumber: [this.initContact,\n [Validators.required,\n this.utilityService.validatePhoneNumber]]\n });\n\n this.validationService.validate(\n this.userEditform,\n this.formErrors,\n this.validationMessages);\n }\n\n updateUserInfo() {\n var body_msg = this.userEditform.value;\n body_msg.phoneNumber = body_msg.phoneNumber.split('.').join('');\n\n body_msg.class = USER_EDIT_HEADER_CLASS;\n body_msg.optimistic = 0;\n body_msg.type = USER_EDIT_HEADER_TYPE;\n this.userEditService.saveUserInfo(\n this.utilityService.getEnvConfig().userEdit + this.user.companyId + '/employees/' + this.id, body_msg)\n .subscribe(respobj => {\n if (respobj) {\n this.setError = false;\n this.ErrorMessage = '';\n this.breadCrumbService.removeLastBreadCrumb();\n this.breadCrumbService.removeLastBreadCrumb();\n this.router.navigate([this.previousRoute.routerLink]);\n }\n },\n err => {\n this.adobeAnalyticsService.CreateSeriveAlertProperties(err.status, err.statusText, 'formResponse');\n if (err.status === 401) {\n this.setError = true;\n this.ErrorMessage = 'Session Expired.Please login again.';\n logoutCurrentUser(true);\n } else if (err.status === 400) {\n this.setError = true;\n this.emailFlag = true;\n this.ErrorMessage = 'This email address is already in use. Enter a different email address.';\n } else {\n this.setError = true;\n this.ErrorMessage = 'We couldn\\'t complete your request. Please try again later.';\n }\n this.utilityService.loadFocusOnTop();\n }\n );\n }\n\n back() {\n this.router.navigate([sessionStorage.getItem('previousRoute')]);\n // this.router.navigate([this.utilityService.getParentUrl(this.router.url)]);\n }\n\n toggleTooltip(event) {\n const targetElement = event.target;\n const elems = document.querySelectorAll('.tooltipActive');\n let iselementActive = false;\n if (targetElement.classList.contains('tooltipActive')) {\n iselementActive = true;\n }\n [].forEach.call(elems, function (ele) {\n ele.classList.remove('tooltipActive');\n });\n if (iselementActive) {\n targetElement.classList.remove('tooltipActive');\n } else {\n targetElement.classList.add('tooltipActive');\n }\n }\n\n}\n","
    \n \n
    \n
    \n

    Edit user details

    \n \n
    \n
    \n \n
    \n\n
    \n

    Email already in use

    \n {{ErrorMessage}}\n
    \n
    \n \n
    \n
    \n
    \n
    \n \n
    \n {{ formErrors.firstName }}\n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {{ formErrors.lastName }}\n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {{ formErrors.email }}\n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n {{ formErrors.phoneNumber }}\n
    \n
    \n
    \n
    \n

    Product information

    \n
    \n
    \n

    No products assigned

    \n
    \n
    \n
    \n
    \n

    {{prod.productName}}

    \n
    \n {{prod.fan}}
    \n {{prod.billingCtn}}\n

    {{prod.productDescription}}

    \n
    \n \n \n
    \n {{item.value}}\n
    \n
    \n\n
    \n
    \n
    \n
    \n \n\n
    \n
    \n
    \n
    \n","export const USER_EDIT_HEADER_CLASS = 'API::CompanyEmployee';\nexport const USER_EDIT_HEADER_TYPE = 'ENDUSER';\nexport const USER_EDIT_RETURN_TYPE = 'application/json';\nexport const USER_EDIT_CTO_REQUESTID = 'c064a288-7dGFwaTtST09UOyA=';\nexport const USER_EDIT_CTO_TRACKID = '1994aab4-f115-4608-9986-48cbbb070854';\n","export * from './user-summary.component';\n","export { UserSummaryService } from './providers/user-summary.service';\nexport { UserSummaryDataService } from './providers/user-summary-data.service';\nexport { RequestUserSummaryModel } from './providers/request-user-summary.model';\n","export class RequestUserSummaryModel {\n class: string;\n fetchCriteria: {};\n licenseStatus: string;\n employeeClientIdList: any[];\n\n constructor() {\n this.class = 'API::BrokerLicenseCriteria';\n this.licenseStatus = 'ASSIGNED';\n this.fetchCriteria = {};\n this.employeeClientIdList = [];\n }\n}\n","import { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { HttpClient, HttpResponse, HttpHeaders } from '@angular/common/http';\n\nimport { throwError } from 'rxjs';\nimport { HttpClientService, AdobeAnalyticsService, UtilityService } from 'lib/ng2-sapmp/src/providers';\nimport { UserSummaryProductModel, UserSummaryModel, UserSummaryProdInfoModel, UserManageModel } from './../../../../models/';\nimport {\n APPLICATION_JSON, USER_REMOVE_CTO_REQUEST_ID, USER_REMOVE_CTO_TRACKID,\n USER_SUMMARY_CTO_REQUEST_ID, USER_SUMMARY_CTO_TRACKID\n} from '../../user-summary.config';\nimport { ANALYTICS_CONSTANTS } from 'config';\n\ndeclare var ENV_PORTAL;\nconst ENV_PORTAL_DOMAIN = (ENV_PORTAL === 'fnabc') ? 'FN' : 'ABC';\n\n@Injectable()\nexport class UserSummaryDataService {\n\n inputData: UserSummaryProdInfoModel;\n\n constructor(private http: HttpClient, private utilityService: UtilityService,\n private httpClientService: HttpClientService, private adobeAnalyticsService: AdobeAnalyticsService) { }\n\n getInfoMock(getDetailsservice) {\n return this.httpClientService.get(getDetailsservice).pipe(\n map((res: HttpResponse) => res.body));\n }\n getInfo(getDetailsservice, requestObject) {\n return this.httpClientService.authorizedPut(getDetailsservice, requestObject)\n .pipe(\n map((res: HttpResponse) => {\n this.httpClientService.updateAuthorizationHeaders(res);\n return res.body;\n })\n ,catchError( this.handleError ));\n }\n\n formatData(inputArr, userInfo) {\n let index = 0;\n this.inputData = new UserSummaryProdInfoModel();\n this.inputData.userInfo = userInfo;\n this.inputData.userSummaryProductModelArr = [];\n for (let item of inputArr.dataJson) {\n // this.inputData.userInfo.firstName = item.assignedToEmployeeFirstName;\n // this.inputData.userInfo.lastName = item.assignedToEmployeeLastName;\n // this.inputData.userInfo.email = item.assignedToEmployeeEmail;\n // // this.inputData.userInfo.contactNumber = item.assignedToEmployeePhoneNumber;\n // this.inputData.userInfo.contactNumber = '';\n // this.inputData.userInfo.displayName = item.assignedToDisplayName;\n // this.inputData.userInfo.id = item.assignedToEmployeeClientId;\n\n this.inputData.userSummaryProductModelArr[index] = new UserSummaryProductModel();\n this.inputData.userSummaryProductModelArr[index].billingCtn = this.utilityService.onBlurFormat(item.bucketClientId, 'dot');\n this.inputData.userSummaryProductModelArr[index].fan = item.accountClientId;\n // this.inputData.userSummaryProductModelArr[index].productDescription = item.serviceDescription;\n this.inputData.userSummaryProductModelArr[index].productName = item.serviceOfferName;\n this.inputData.userSummaryProductModelArr[index].productDescription = item.serviceName;\n this.inputData.userSummaryProductModelArr[index].serviceOfferCode = item.serviceOfferCode;\n this.inputData.userSummaryProductModelArr[index].id = item.id;\n this.inputData.userSummaryProductModelArr[index].clientId = item.clientId;\n this.inputData.userSummaryProductModelArr[index].licenseClientId = item.clientLicenseId;\n this.inputData.userSummaryProductModelArr[index].extProperties = item.extProperties;\n this.inputData.userSummaryProductModelArr[index].fanType = item.fanType;\n if (item.fanType === ENV_PORTAL_DOMAIN) {\n this.inputData.userSummaryProductModelArr[index].fanTypeFlag = false;\n } else if (item.fanType === undefined) {\n this.inputData.userSummaryProductModelArr[index].fanTypeFlag = false;\n } else {\n this.inputData.userSummaryProductModelArr[index].fanTypeFlag = true;\n }\n index = index + 1;\n }\n return this.inputData;\n }\n\n formateUserData(item) {\n this.inputData = new UserSummaryProdInfoModel();\n this.inputData.userInfo = new UserSummaryModel();\n this.inputData.userSummaryProductModelArr = [];\n this.inputData.userInfo.firstName = item.firstName;\n this.inputData.userInfo.lastName = item.lastName;\n this.inputData.userInfo.email = item.email;\n this.inputData.userInfo.contactNumber = this.utilityService.formatTelephoneNumber(item.phoneNumber);\n this.inputData.userInfo.displayName = item.displayName;\n this.inputData.userInfo.id = item.clientId;\n return this.inputData;\n }\n\n removeUser(getDetailsservice) {\n return this.httpClientService.authorizedDelete(getDetailsservice)\n .pipe(\n map((res: HttpResponse) => {\n this.httpClientService.updateAuthorizationHeaders(res);\n return res.body;\n })\n ,catchError( this.handleError ));\n }\n\n setUserManageToSession(id, obj) {\n let set_obj = new UserManageModel();\n set_obj = obj;\n sessionStorage.setItem('user-manage-' + id, JSON.stringify(set_obj));\n }\n\n getUserManageFromSession(id) {\n const usr_info = sessionStorage.getItem('user-manage-' + id);\n return JSON.parse(usr_info);\n }\n\n unAssignUser(url, companyId, reqObj) {\n const headers = new HttpHeaders();\n const unAssignUrl = url + companyId + '/licenses/bulk';\n return this.httpClientService.authorizedPut(unAssignUrl, reqObj, headers)\n .pipe(\n map((res: HttpResponse) => {\n this.httpClientService.updateAuthorizationHeaders(res);\n return res.body;\n }\n )\n ,catchError( this.handleError ));\n }\n\n getUserDetails(url) {\n const headers = new HttpHeaders();\n return this.httpClientService.authorizedGet(url, headers)\n .pipe(\n map((res: HttpResponse) => {\n this.httpClientService.updateAuthorizationHeaders(res);\n return res.body;\n }\n )\n ,catchError( this.handleError ));\n }\n\n // Page Load\n createPageLoadProperties(url: string, title: string) {\n const dataLayer = {};\n const removeProductId = url.substring(0, url.lastIndexOf('/'));\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_LOCATION_URL] = ANALYTICS_CONSTANTS.ENVIRONMENT_URL + removeProductId;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FRIENDLY_PAGE_NAME] = ANALYTICS_CONSTANTS.FRIENDLY_NAME_USER_SUMMARY;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FLOW_CODE] = ANALYTICS_CONSTANTS.FLOW_CODE_MANAGE;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_LANGUAGE] = 'EN';\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_LOGIN_SOURCE] = 'shoplogin';\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_PAGE_FUNCTION] = 'Service';\n if (ENV_PORTAL === 'fnabc') {\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_FIRSTNET_FLAG] = ANALYTICS_CONSTANTS.EVENTS_SUCCESSFLAG_1;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_FIRST_NET_USER_ROLE] = ANALYTICS_CONSTANTS.GLOBAL_USER_FIRST_NET_USER_ROLE_VALUE;\n }\n this.adobeAnalyticsService.tag('page', dataLayer, 'Page_Load', 'pageLoad');\n }\n\n handleError = (error) => {\n return throwError(error);\n }\n}\n","import { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { HttpClient, HttpResponse } from '@angular/common/http';\n\nimport { throwError } from 'rxjs';\n\n\n\n\nimport { HttpClientService } from 'lib/ng2-sapmp/src/providers';\n\n@Injectable()\nexport class UserSummaryService {\n\n constructor(private http: HttpClient, private httpClientService: HttpClientService) { }\n\n getUserInfo(getUserDetailsservice) {\n return this.httpClientService.get(getUserDetailsservice)\n .pipe(\n map((user: HttpResponse) => user)\n ,catchError( this.handleError ));\n }\n\n getProductInfo(getProductDetailsservice) {\n return this.httpClientService.get(getProductDetailsservice)\n .pipe(\n map((user: HttpResponse) => user)\n ,catchError( this.handleError ));\n }\n\n handleError = (error) => {\n return throwError(error);\n }\n\n}\n\n","import { KEY_CONFIG } from 'lib/ng2-sapmp/src/config/key-config';\nimport { Component, OnInit, OnDestroy, ViewEncapsulation, ViewChild } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { HttpClient } from '@angular/common/http';\nimport { FormGroup, Validators, FormBuilder } from '@angular/forms';\nimport { PageLoaderService } from 'lib/ng2-sapmp/src/ui-components';\nimport { AuthenticationService, UtilityService, ValidationService, AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';\nimport { ConfirmModalPopupModel } from 'lib/ng2-sapmp/src/ui-components/confirm-modal';\n\nimport { UserSummaryProductModel, UserSummaryModel, UserSummaryProdInfoModel, UserManageModel } from './../../models/';\nimport { BreadCrumbModel, BreadCrumbService } from 'lib/ng2-sapmp/src/ui-components/breadcrumb';\nimport { UserSummaryDataService, RequestUserSummaryModel } from './shared';\nimport { EDIT_PERMISSION_STRING, REMOVE_PERMISSION_STRING, AUA_PERMISSION_STRING } from './user-summary.config';\ndeclare var ENV_VAR: any; // global variable set in env.js file, imported in index.html\nimport { BREADCRUMBS } from 'config';\nimport { UserWizardModel, UserProfileModel } from 'lib/ng2-sapmp/src/models';\nimport { UserWizardDataService } from './../manage-users';\nimport { MobilePivotModel } from 'lib/ng2-sapmp/src/ui-components/mobile-pivot';\n\ndeclare var logoutCurrentUser: any;\n\ndeclare var initAriaHidden: any;\ndeclare var removeAriaHidden: any;\n\n@Component({\n selector: 'app-user-summary',\n templateUrl: './user-summary.component.html',\n providers: [ValidationService, UserSummaryDataService, UserWizardDataService,\n AdobeAnalyticsService], // utilityService is provided in app component already\n styleUrls: ['./user-summary.component.scss'],\n encapsulation: ViewEncapsulation.None\n})\n\nexport class UserSummaryComponent implements OnInit, OnDestroy {\n fan: string;\n ctn: string;\n singleUserDetail: any = null;\n unAssignPopup: boolean;\n id: string;\n company_id: string;\n breadCrumbs: BreadCrumbModel[];\n removeUserPopup = false;\n ruPopup = false;\n eventEmit: any;\n removeUserContentUrl: string;\n modalClass: string;\n user_manage_info: UserManageModel;\n formInputData: UserSummaryProdInfoModel;\n confirmModalPopup: ConfirmModalPopupModel;\n showProduct: boolean;\n editUserPermission: string;\n removeUserPermission: string;\n assignunassignPermission: string;\n setError: boolean;\n ErrorMessage: string;\n requestUserSummaryModel: RequestUserSummaryModel;\n focusabbleElements: any;\n ufocusabbleElements: any;\n @ViewChild('remove', { static: true }) removeElement;\n @ViewChild('removeUser') removeUserElement;\n @ViewChild('unAssign', { static: true }) unassignElement;\n reviewComponentSuccessMessageFlag = false;\n reviewComponentSuccessMessage: string = null;\n user: UserProfileModel;\n csrPermissionRemoveButton: boolean;\n pivots: Array;\n removeIndex = -1;\n errorFlag = false;\n unAssignModalPopUpFlag; boolean;\n\n constructor(private route: ActivatedRoute,\n private router: Router,\n private authenticationService: AuthenticationService,\n private userWizardDataService: UserWizardDataService,\n private userSummaryDataService: UserSummaryDataService,\n private utilityService: UtilityService,\n private formBuilder: FormBuilder,\n private validationService: ValidationService,\n private adobeAnalyticsService: AdobeAnalyticsService,\n private http: HttpClient, private pageloaderService: PageLoaderService, private breadCrumbService: BreadCrumbService) {\n this.pivots = new Array();\n this.csrPermissionRemoveButton = this.utilityService.checkFieldPermission('userSummary.removeUser',\n JSON.parse(sessionStorage.getItem('permissions')).perm);\n\n }\n\n ngOnInit() {\n this.pivots.push({ label: 'Console dashboard', routerLink: '/dashboard' });\n this.authenticationService.setLoginSuccessUrl(this.router.routerState.snapshot.url);\n this.singleUserDetail = JSON.parse(sessionStorage.getItem('singleUserDetail'));\n if (this.singleUserDetail !== null) {\n this.fan = this.singleUserDetail.brokerAccountClientId;\n this.ctn = this.singleUserDetail.billingClientId;\n }\n let url = this.router.routerState.snapshot.url;\n const updatedUrl = url.substring(0, url.lastIndexOf('/'));\n document.title = this.utilityService.getPageTitleConfig()[updatedUrl];\n if (this.authenticationService.getUser() === null) {\n // this.router.navigate(['login']);\n window.location.href = '/businessconsole/login';\n }\n this.unAssignModalPopUpFlag = false;\n this.showProduct = true;\n this.pageloaderService.setPageLoaderStatus(false);\n this.id = this.route.snapshot.params['id'];\n this.user = this.authenticationService.getUser();\n this.requestUserSummaryModel = new RequestUserSummaryModel();\n this.getUserInfo();\n this.userSummaryDataService.setUserManageToSession(this.id, { 'productName': 'Workspace' });\n this.editUserPermission = EDIT_PERMISSION_STRING;\n this.removeUserPermission = REMOVE_PERMISSION_STRING;\n this.assignunassignPermission = AUA_PERMISSION_STRING;\n this.unAssignPopup = false;\n this.company_id = JSON.parse(sessionStorage.getItem('user')).user.companyId;\n this.userSummaryDataService.createPageLoadProperties(this.router.routerState.snapshot.url,\n 'User Summary');\n }\n\n getFormDetails() {\n this.pageloaderService.setPageLoaderStatus(false);\n const url = this.utilityService.getEnvConfig().getManageUserCtnUrl + this.user.companyId + '/licenses/';\n this.requestUserSummaryModel.employeeClientIdList.push(this.id);\n this.requestUserSummaryModel.fetchCriteria = { 'class': 'API::SepPagingLoadConfig', 'limit': 20, 'offset': 0, 'sortField': 'id' };\n this.userSummaryDataService.getInfo(url, this.requestUserSummaryModel)\n .subscribe(respobj => {\n this.errorFlag = false;\n this.reviewSuccess();\n if (respobj.totalLength === 0) {\n this.showProduct = false;\n this.formInputData.userSummaryProductModelArr = [];\n } else {\n this.showProduct = true;\n this.formInputData = this.userSummaryDataService.formatData(respobj, this.formInputData.userInfo);\n this.user_manage_info = new UserManageModel();\n this.user_manage_info = this.userSummaryDataService.getUserManageFromSession(this.id);\n }\n this.pageloaderService.setPageLoaderStatus(true);\n }, error => {\n this.pageloaderService.setPageLoaderStatus(true);\n this.adobeAnalyticsService.CreateSeriveAlertProperties(error.status, error.statusText, 'formResponse');\n this.handleError(error);\n });\n }\n\n getUserInfo() {\n const url = this.utilityService.getEnvConfig().bulkAssignUnAssignUrl + this.user.companyId + '/employees/' + this.id;\n this.userSummaryDataService.getUserDetails(url)\n .subscribe(respobj => {\n this.errorFlag = false;\n this.formInputData = this.userSummaryDataService.formateUserData(respobj);\n this.getFormDetails();\n this.breadCrumbService.setCurrentBreadCrumb({\n 'label': this.formInputData.userInfo.firstName + ' ' +\n this.formInputData.userInfo.lastName, 'routerLink': this.router.routerState.snapshot.url\n });\n if (this.formInputData && this.formInputData.userInfo) {\n document.title += ' - ' + (this.formInputData.userInfo.firstName) + ' ' + (this.formInputData.userInfo.lastName);\n }\n }, error => {\n this.pageloaderService.setPageLoaderStatus(true);\n this.adobeAnalyticsService.CreateSeriveAlertProperties(error.status, error.statusText, 'formResponse');\n this.handleError(error);\n });\n }\n\n triggerRmUserPopup(event, focusable) {\n this.reviewComponentSuccessMessageFlag = false;\n this.utilityService.setSuccessMessage(null);\n this.ruPopup = true;\n this.eventEmit = event.target;\n this.modalClass = 'modal-lg';\n document.body.classList.add('modal-open');\n initAriaHidden();\n setTimeout(() => { document.getElementById('modalHeader').focus(); });\n }\n\n editUser() {\n const new_obj = this.userSummaryDataService.getUserManageFromSession(this.id);\n new_obj.user_info = new UserSummaryModel();\n new_obj.user_info = this.formInputData.userInfo;\n new_obj.userSummaryProductModelArr = [];\n new_obj.userSummaryProductModelArr = this.formInputData.userSummaryProductModelArr;\n this.userSummaryDataService.setUserManageToSession(this.id, new_obj);\n this.utilityService.setSuccessMessage(null);\n this.router.navigate(['user/edit/' + this.id]);\n }\n\n removeUser(status) {\n if (status === true) {\n // redirect to remove pg\n this.userSummaryDataService.removeUser(\n this.utilityService.getEnvConfig().userRemove + this.company_id + '/employees/' + this.id)\n .subscribe(respobj => {\n this.errorFlag = false;\n if (respobj) {\n this.ruPopup = false;\n document.body.classList.remove('modal-open');\n removeAriaHidden();\n const parentUrl = this.utilityService.getParentUrl();\n this.router.navigate([parentUrl]);\n this.setError = false;\n this.ErrorMessage = '';\n }\n },\n err => {\n if (err.status === 500) {\n this.ruPopup = false;\n this.setError = true;\n this.ErrorMessage = 'We couldn\\'t complete your request. Please try again later.';\n } else if (err.status === 401) {\n this.ruPopup = false;\n this.setError = true;\n this.ErrorMessage = 'Session Expired, Please login again.';\n logoutCurrentUser(true);\n } else {\n this.ruPopup = false;\n this.setError = true;\n this.ErrorMessage = 'We couldn\\'t complete your request. Please try again later.';\n }\n this.utilityService.loadFocusOnTop();\n });\n } else {\n this.focusabbleElements = undefined;\n this.ruPopup = false;\n\n document.body.classList.remove('modal-open');\n removeAriaHidden();\n setTimeout(() => { this.removeUserElement.nativeElement.focus(); });\n }\n }\n\n assign_product() {\n const send_user_prod_arr = [];\n for (let prod of this.formInputData.userSummaryProductModelArr) {\n send_user_prod_arr.push(prod.serviceOfferCode);\n }\n sessionStorage.removeItem('steps-manageUsers');\n if (sessionStorage.getItem('assign-wizard') !== undefined && sessionStorage.getItem('assign-wizard') !== null) {\n const assing_wizard_obj = JSON.parse(sessionStorage.getItem('assign-wizard'));\n let temp_assing_wizard_obj = new UserWizardModel();\n if (assing_wizard_obj.createUser) {\n temp_assing_wizard_obj.createUser = true;\n }\n temp_assing_wizard_obj.source = 'user';\n temp_assing_wizard_obj.userEmail = this.formInputData.userInfo.email;\n temp_assing_wizard_obj.existingProducts = send_user_prod_arr;\n temp_assing_wizard_obj.previousUrl = this.router.routerState.snapshot.url;\n this.userWizardDataService.setUserWizard(temp_assing_wizard_obj);\n } else {\n const assing_wizard_obj = new UserWizardModel();\n assing_wizard_obj.source = 'user';\n assing_wizard_obj.userEmail = this.formInputData.userInfo.email;\n assing_wizard_obj.existingProducts = send_user_prod_arr;\n assing_wizard_obj.previousUrl = this.router.routerState.snapshot.url;\n this.userWizardDataService.setUserWizard(assing_wizard_obj);\n }\n let breadCrumbs = this.breadCrumbService.getBreadCrumbs();\n let breadCrumbAlreadyExist = breadCrumbs.find(value => (value.label === 'Add a user'));\n let rowIndex;\n if (breadCrumbAlreadyExist === undefined) {\n breadCrumbAlreadyExist = breadCrumbs.find(subData => (subData.routerLink ===\n '/user/summary/' + this.id));\n }\n if (breadCrumbAlreadyExist) {\n rowIndex = breadCrumbs.findIndex((data) =>\n (data === breadCrumbAlreadyExist));\n }\n\n if (rowIndex !== undefined && rowIndex !== null) {\n this.breadCrumbService.removeSessionBreadCrumbProperty(rowIndex);\n }\n this.utilityService.setSuccessMessage(null);\n this.router.navigate(['/manageUsers/action']);\n }\n handleError = (error) => { // Arrow function is necessary as the context should be Parent class\n if (error) {\n this.errorFlag = true;\n if (error.status === 401) {\n this.ruPopup = false;\n this.setError = true;\n this.ErrorMessage = 'Session Expired, Please login again.';\n\n logoutCurrentUser(true);\n } else {\n this.ruPopup = false;\n this.setError = true;\n this.ErrorMessage = 'We couldn\\'t complete your request. Please try again later.';\n }\n this.utilityService.loadFocusOnTop();\n } else {\n throw error;\n }\n }\n\n btnAction(event) {\n this.focusabbleElements = undefined;\n this.ufocusabbleElements = undefined;\n if (event.target) {\n event.target.focus();\n }\n }\n\n loadFocustelements() {\n if (!this.focusabbleElements) {\n const focusableEls = this.removeElement.nativeElement.\n querySelectorAll('a[href], area[href],' +\n ' input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), [tabindex=\"0\"]');\n this.focusabbleElements = Array.prototype.slice.call(focusableEls);\n this.focusabbleElements[0].focus();\n }\n }\n\n handleKeydown(event) {\n if (event.keyCode === KEY_CONFIG.escapeKey) {\n this.btnAction(event);\n return;\n }\n this.utilityService.handleKeyPress(event, this.focusabbleElements);\n }\n\n reviewSuccess() {\n if ((sessionStorage.getItem('previousRoute') === '/manageUsers/review') && (this.utilityService.getSuccessMessage() != null)\n || this.unAssignModalPopUpFlag) {\n this.reviewComponentSuccessMessageFlag = true;\n this.reviewComponentSuccessMessage = this.utilityService.getSuccessMessage();\n this.utilityService.loadFocusOnTop();\n } else {\n this.reviewComponentSuccessMessageFlag = false;\n }\n }\n\n openPopUp(focusable, index) {\n this.removeIndex = index;\n this.fan = this.formInputData.userSummaryProductModelArr[index].fan;\n this.ctn = this.formInputData.userSummaryProductModelArr[index].billingCtn;\n this.singleUserDetail = {};\n this.singleUserDetail.specName = this.formInputData.userSummaryProductModelArr[index].productName;\n this.reviewComponentSuccessMessageFlag = false;\n this.utilityService.setSuccessMessage(null);\n this.unAssignPopup = true;\n this.modalClass = 'modal-lg';\n setTimeout(() => { document.getElementById('modalHeaderUnassign').focus(); });\n }\n\n UloadFocustelements() {\n if (this.unAssignPopup) {\n document.body.classList.add('modal-open');\n initAriaHidden();\n if (!this.ufocusabbleElements) {\n const focusableEls = this.unassignElement.nativeElement.\n querySelectorAll('a[href], area[href],' +\n ' input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), [tabindex=\"0\"]');\n this.ufocusabbleElements = Array.prototype.slice.call(focusableEls);\n this.ufocusabbleElements[0].focus();\n }\n }\n }\n\n UhandleKeydown(event) {\n if (event.keyCode === KEY_CONFIG.escapeKey) {\n this.btnAction(event);\n return;\n }\n this.utilityService.handleKeyPress(event, this.ufocusabbleElements);\n }\n\n updateUnAssignDetails(event) {\n if (this.removeIndex !== -1) {\n const reqObj = {};\n const items = {};\n items['action'] = 'UNASSIGN';\n items['employeeClientId'] = this.id;\n items['serviceClientId'] = this.formInputData.userSummaryProductModelArr[this.removeIndex].clientId;\n items['licenseClientId'] = this.formInputData.userSummaryProductModelArr[this.removeIndex].licenseClientId;\n reqObj['items'] = [items];\n this.pageloaderService.setPageLoaderStatus(false);\n this.userSummaryDataService.unAssignUser(this.utilityService.getEnvConfig().unAssignUrl, this.user.companyId, reqObj)\n .subscribe(response => {\n\n let respArray = [];\n respArray = response.items.filter(data => (!!data.statusInfo && data.statusInfo.status === 'COMPLETED'));\n if ((respArray.length === 0) && response.status !== 'COMPLETED') {\n this.pageloaderService.setPageLoaderStatus(true);\n this.setError = true;\n this.ErrorMessage = 'We couldn\\'t complete your request. Please try again later.';\n } else {\n this.pageloaderService.setPageLoaderStatus(true);\n this.unAssignModalPopUpFlag = true;\n this.utilityService.setSuccessMessage('We\\'ve successfully un-assigned 1 of 1 licenses.');\n this.utilityService.loadFocusOnTop();\n }\n\n this.getFormDetails();\n this.removeIndex = -1;\n }, error => {\n this.unAssignModalPopUpFlag = false;\n this.pageloaderService.setPageLoaderStatus(true);\n this.adobeAnalyticsService.CreateSeriveAlertProperties(error.status, error.statusText, 'formResponse');\n this.handleError(error);\n });\n this.unAssignPopup = false;\n document.body.classList.remove('modal-open');\n removeAriaHidden();\n }\n }\n\n cancel(event) {\n this.unAssignModalPopUpFlag = false;\n this.ufocusabbleElements = undefined;\n this.unAssignPopup = false;\n document.body.classList.remove('modal-open');\n removeAriaHidden();\n this.btnAction(event);\n }\n\n ngOnDestroy() {\n this.pageloaderService.setPageLoaderStatus(true);\n }\n}\n","
    \n
    \n \n
    \n
    \n \n

    {{ formInputData && formInputData.userInfo && formInputData.userInfo.firstName}} {{ formInputData && formInputData.userInfo\n && formInputData.userInfo.lastName}}

    \n \n
    \n
    \n
    \n \n
    \n
    \n

    Something isn't working

    \n {{ErrorMessage}}\n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n

    Success

    \n

    {{reviewComponentSuccessMessage}}

    \n
    \n
    \n
    \n \n
    \n

    Edit user details | \n Remove user\n

    \n

    \n
    \n {{formInputData && formInputData.userInfo && formInputData.userInfo.email}}\n

    \n \n

    \n
    {{formInputData && formInputData.userInfo && formInputData.userInfo.contactNumber}}\n

    \n
    \n\n
    \n

    Product licenses assigned to this user

    \n
    \n
    \n

    No product licenses are assigned to this user.

    \n
    \n
    \n
    \n
    \n
    \n
    \n

    {{prod.productName}}

    \n
    \n {{prod.fan}}
    \n {{prod.billingCtn}}\n

    {{prod.productDescription}}

    \n\n
    \n \n
    \n
    \n {{item.value}}\n
    \n
    \n \n
    \n
    \n
    \n \n
    \n

    This account is managed by different administrators.

    \n
    \n
    \n
    \n\n
    \n
    \n \n
    \n
    \n
    \n
    \n\n\n {{UloadFocustelements()}}\n
    \n
    \n

    Un-assign a user

    \n
    \n
    \n \n
    \n
    \n
    Selected user\n
    {{ formInputData && formInputData.userInfo && formInputData.userInfo.firstName }} {{ formInputData && formInputData.userInfo\n && formInputData.userInfo.lastName }}
    \n

    {{ formInputData && formInputData.userInfo && formInputData.userInfo.email }}

    \n
    \n
    Un-assign this user's license for:\n
    {{ singleUserDetail && singleUserDetail.specName }}
    \n
    Foundation account: {{fan}}
    \n
    Wireless number: {{ctn}}
    \n
    \n
    \n
    \n
    \n \n Cancel\n
    \n
    \n
    \n\n\n {{loadFocustelements()}}\n
    \n
    \n

    Confirm removal of user

    \n
    \n
    \n \n
    \n
    \n {{formInputData && formInputData.userInfo && formInputData.userInfo.firstName}} {{formInputData && formInputData.userInfo && formInputData.userInfo.lastName}} will be: \n
    \n
      \n
    • Un-assigned from licenses for the following products
    • \n
    • Removed from the system
    • \n
    \n
    \n
    \n
    \n\n

    {{prod.productName}}

    \n
    \n
    Foundation account: {{ prod.fan }}
    \n
    Wireless number: {{ prod.billingCtn }}
    \n
    {{ prod.productDescription }}
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n
    \n \n Cancel\n
    \n
    \n
    \n
    \n
    \n","export const USER_SUMMARY_CTO_REQUEST_ID = 'c064a288-7080-4a8c-86d8-7063f6429cba';\nexport const USER_SUMMARY_CTO_TRACKID = '1994aab4-f115-4608-9986-48cbbb070854';\nexport const USER_REMOVE_CTO_REQUEST_ID = 'db44711f-d1f8-4055-9a02-32313374fa15';\nexport const USER_REMOVE_CTO_TRACKID = '41fbe0be-0a07-4484-bf02-42ba5c3ec196';\nexport const APPLICATION_JSON = 'application/json';\nexport const EDIT_PERMISSION_STRING = 'userSummary.edituser';\nexport const REMOVE_PERMISSION_STRING = 'userSummary.removeuser';\nexport const AUA_PERMISSION_STRING = 'userSummary.assignunassign';\n","import { Component, OnInit, ViewChild, ElementRef, AfterViewChecked } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { BREADCRUMBS } from 'config';\nimport { Router } from '@angular/router';\nimport { WelcomeService } from './welcome.service';\nimport { WelcomeModel } from './welcome.model';\nimport { AuthenticationService, UtilityService, AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';\nimport { BreadCrumbModel, BreadCrumbService } from 'lib/ng2-sapmp/src/ui-components/breadcrumb';\nimport { ConfirmModalPopupModel } from 'lib/ng2-sapmp/src/ui-components/confirm-modal';\nimport { UserWizardModel, UserProfileModel } from 'lib/ng2-sapmp/src/models';\nimport { PageLoaderService } from 'lib/ng2-sapmp/src/ui-components/page-loader';\nimport { ChipsService } from 'lib/ng2-sapmp/src/ui-components/chips/chips.service';\n\ndeclare var logoutCurrentUser: any;\nexport const ESCAPE_KEY = 27;\n@Component({\n selector: 'app-signup',\n providers: [WelcomeService, AdobeAnalyticsService],\n templateUrl: './welcome.component.html',\n styleUrls: ['./welcome.component.scss']\n})\nexport class WelcomeComponent implements OnInit, AfterViewChecked {\n header: string;\n welcome: WelcomeModel;\n isDataAvailable: boolean;\n initModal: boolean;\n showOverviewModal: boolean;\n permissionLevelMessage: string;\n errorMessage: any;\n signUpStatus: any;\n hasAccess: boolean;\n // overviewModalPopup: ConfirmModalPopupModel;\n confirmModalPopup: ConfirmModalPopupModel;\n eventEmit: any;\n modalClass: string;\n signUp: boolean;\n focusabbleElements: any;\n videoId: any;\n user: UserProfileModel;\n manageproduct: any;\n twoTwenty = false;\n videoPlaying = false;\n @ViewChild('accessModal') accessModal: ElementRef;\n constructor(private utilityService: UtilityService, private router: Router,\n private pageloaderService: PageLoaderService,\n private welcomeservice: WelcomeService, private authenticationService:\n AuthenticationService, private adobeAnalyticsService: AdobeAnalyticsService,\n private chips: ChipsService) {\n this.isDataAvailable = false;\n this.hasAccess = false;\n this.user = new UserProfileModel();\n }\n\n ngOnInit() {\n // document.title = 'AT&T Business Console';\n document.title = this.utilityService.getPageTitleConfig()[this.router.routerState.snapshot.url];\n this.chips.setChips([ {\n \"label\": \"Home\",\n \"routerLink\": \"/home\"\n },\n {\n \"label\": \"Welcome\",\n \"routerLink\": \"/welcome\"\n }]);\n this.user = this.authenticationService.getUser();\n this.welcomeservice.getWelcomeDetails().subscribe(response => {\n this.welcome = response;\n this.isDataAvailable = true;\n this.checkAccess();\n });\n const pageName = 'welcomePage';\n // this.welcomeservice.requestSupportContent(this.utilityService.getEnvConfig().getSupportDocument, pageName).\n // subscribe(resp => {\n // this.videoId = resp.supportArticles.availableArticle[0].url;\n // });\n this.welcomeservice.createPageLoadProperties('WELCOME');\n\n }\n\n\n btnAction(event) {\n this.showOverviewModal = false;\n if (event) {\n this.router.navigate(['/productselection/']);\n }\n }\n\n closeModal() {\n this.showOverviewModal = false;\n this.initModal = false;\n setTimeout( () => {\n this.loadFocustelements(document)\n },0);\n this.welcomeservice.createPageLoadProperties('WELCOME');\n\n }\n\n openOverviewModal() {\n this.confirmModalPopup = new ConfirmModalPopupModel();\n this.showOverviewModal = true;\n this.welcomeservice.createPageLoadProperties('WELCOMEMODAL');\n\n setTimeout(() => { this.loadFocustelements(this.accessModal.nativeElement); });\n this.welcomeservice.requestPopupContent(this.utilityService.getEnvConfig().getSupportDocument[2]).\n subscribe(\n res => {\n // this.confirmModalPopup.modalMessage = res.content;\n });\n //this.confirmModalPopup.modalMessage = '
    Additional capabilities:

    •     •\t   Mobile device management features, the ability to:
      •         •\t  Deploy a standard set of apps to devices
      •         •\t  Wipe or lock lost or stolen devices
    •     •\t  Network restrictions
    •     •\t  Reports
    •     •\t  Alerts.
    ';\n this.confirmModalPopup.confirmButtonMessage = 'OK';\n this.confirmModalPopup.showCancelButton = false;\n this.initModal = true;\n this.eventEmit = document.activeElement;\n }\n\n\n /* openOverviewModal() {\n this.showOverviewModal = true;\n setTimeout(() => { this.loadFocustelements(this.accessModal.nativeElement); });\n }*/\n adobeLinkClick() {\n this.adobeAnalyticsService.createClickProperties('Overview tutorial', 'Body', '/businessconsole/welcome');\n }\n\n ngAfterViewChecked() {\n if (this.videoPlaying) {\n const playerHeight = document.getElementById('player').clientHeight;\n if (playerHeight === 220 && this.twoTwenty) {\n // second time 220 hence video has stopped\n const player = document.getElementById('player');\n player.classList.remove('mediaPlay');\n player.classList.add('mediaStop');\n this.twoTwenty = false;\n this.videoPlaying = false;\n } else if (playerHeight === 220) {\n // first time 220\n this.twoTwenty = true;\n }\n }\n }\n\n playVideo() {\n const player = document.getElementById('player');\n player.classList.remove('mediaStop');\n player.classList.add('mediaPlay');\n this.videoPlaying = true;\n }\n\n\n loadFocustelements(el) {\n if (!this.focusabbleElements) {\n const focusableEls = el.\n querySelectorAll('a[href], area[href],' +\n ' input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), [tabindex=\"0\"]');\n this.focusabbleElements = Array.prototype.slice.call(focusableEls);\n this.focusabbleElements[0].focus();\n }\n }\n\n handleError = (err) => {\n let isBusinessRuleError = false;\n if (err) {\n if (err.status === 400 || err.status === 500) {\n this.errorMessage = \"Something went wrong. We couldn't process your request. Please try again later.\";\n isBusinessRuleError = true;\n } else if (err.status === 401) {\n this.errorMessage = 'Session expired, Please login again.';\n logoutCurrentUser(true);\n } else {\n this.errorMessage = \"Something went wrong. We couldn't process your request. Please try again later.\";\n }\n this.utilityService.loadFocusOnTop();\n }\n }\n\n moveToEnrollment() {\n this.router.navigate(['/productselection']);\n }\n\n handleKeydown(event) {\n if (event.keyCode === ESCAPE_KEY) {\n this.btnAction(false);\n return;\n }\n this.utilityService.handleKeyPress(event, this.focusabbleElements);\n }\n\n checkAccess() {\n if (this.user.fanSignedUpStatus === 'SOME' || this.user.fanSignedUpStatus === 'ALL' || this.user.addpAuthority !== 'FULL') {\n this.hasAccess = true;\n }\n }\n\n back() {\n history.back();\n }\n}\n","
    \n
    \n
    \n
    \n \n
    \n
    {{errorMessage}}
    \n
    \n

    Welcome, {{user.firstName}} {{user.lastName}}

    \n
    \n \n \n \n \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    {{welcome.header1.value}}

    \n

    {{welcome.desc1.value}}

    \n \n \n \n
    \n
    \n
    \n\n

    {{welcome.desc5.value}}

    \n

    {{welcome.desc6.value}}

    \n

    {{welcome.desc7.value}}

    \n
    • {{x}}
    \n \n
    \n \n \n \n \n
    \n \n
    \n
    \n
    \n
    \n \n \n {{welcome.cancel.value}} \n
    \n
    \n
    \n
    \n","import { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { UtilityService, HttpClientService, AdobeAnalyticsService } from 'lib/ng2-sapmp/src/providers';\nimport { throwError } from 'rxjs';\n\nimport { HttpResponse, HttpHeaders } from '@angular/common/http';\nimport { ANALYTICS_CONSTANTS } from 'config';\ndeclare var ENV_PORTAL;\n\n\n@Injectable()\nexport class WelcomeService {\n constructor(private utilityService: UtilityService,\n private httpClientService: HttpClientService,\n private adobeAnalyticsService: AdobeAnalyticsService) { }\n\n handleError = (error) => {\n return throwError(error);\n }\n\n getWelcomeDetails() {\n let headers = new HttpHeaders();\n headers = headers.append('Content-Type', 'text/json');\n headers = headers.append('Authorization', sessionStorage.getItem('sapmp_jwtToken'));\n return this.httpClientService.get(this.utilityService.getEnvConfig().WelcomeUrl, headers)\n .pipe(\n map((res: HttpResponse) => {\n if (res.headers.get('Authorization') != null) {\n sessionStorage.setItem('sapmp_jwtToken', res.headers.get('Authorization'));\n }\n return res.body;\n }\n )\n ,catchError( this.handleError ));\n }\n\n\n tokenRefresh() {\n this.httpClientService.tokenRefresh(this.utilityService.getEnvConfig().tokenRefresh);\n }\n\n getInitialSignupDetails(signup) {\n let headers = this.get_headers();\n if (signup === true) {\n headers = headers.append('signUp', signup);\n if (sessionStorage.getItem('eligibleFanList')) {\n headers = headers.append('eligibleFanList', sessionStorage.getItem('eligibleFanList'));\n }\n }\n return this.httpClientService.get(this.utilityService.getEnvConfig().WelcomeSignupUrl, headers)\n .pipe(\n map((res: HttpResponse) => {\n if (res.headers.get('SERVICE-AUTH-TOKEN') != null) {\n // sessionStorage.setItem('jwtToken', res.headers.get('SERVICE-AUTH-TOKEN'));\n this.httpClientService.tokenRefresh(this.utilityService.getEnvConfig().tokenRefresh);\n }\n return res.body;\n }\n )\n ,catchError( this.handleError ));\n }\n\n requestPopupContent(id) {\n let headers = new HttpHeaders();\n headers = headers.append('Content-Type', 'text/json');\n headers = headers.append('Authorization', sessionStorage.getItem('sapmp_jwtToken'));\n return this.httpClientService.get(id, headers)\n .pipe(\n map((res: HttpResponse) => res.body)\n ,catchError( this.handleError ));\n }\n\n createPageLoadProperties(url) {\n const dataLayer = {};\n if (url === 'WELCOMEMODAL') {\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_LOCATION_URL] = '/virtual/welcomemodal.html';\n }\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FRIENDLY_PAGE_NAME] = ANALYTICS_CONSTANTS['FRIENDLY_NAME_' + url];\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FLOW_CODE] = ANALYTICS_CONSTANTS.FLOW_CODE_WELCOME;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_LANGUAGE] = ANALYTICS_CONSTANTS.BC_LANGUAGE_EN;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_PAGE_FUNCTION] = 'Service';\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_SITE_SECTION] = 'Welcome';\n\n if (sessionStorage.getItem('sapmp_jwtToken') != null) {\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_LOGIN_SOURCE] = 'home';\n if (ENV_PORTAL === 'fnabc') {\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_FIRSTNET_FLAG] = ANALYTICS_CONSTANTS.EVENTS_SUCCESSFLAG_1;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_FIRST_NET_USER_ROLE] = ANALYTICS_CONSTANTS.GLOBAL_USER_FIRST_NET_USER_ROLE_VALUE;\n }\n }\n this.adobeAnalyticsService.tag('page', dataLayer, 'Page_Load', 'pageLoad');\n }\n requestSupportContent(id, pageName) {\n return this.httpClientService.get(id + pageName, this.get_headers())\n .pipe(\n map((res: HttpResponse) => res.body)\n ,catchError( this.handleError ));\n }\n\n get_headers() {\n let headers = new HttpHeaders();\n headers = headers.append('Authorization', sessionStorage.getItem('sapmp_jwtToken'));\n return headers;\n }\n\n}\n","export {\n PageLoaderComponent, PageLoaderService, TimeOutPopupService, TermsContentComponent, TabComponent, TabsComponent, BreadcrumbComponent,\n StepIndicatorComponent, DropdownComponent, ModalPopupComponent, ConfirmModalPopupComponent, ProductCardComponent,\n SubscriptionCardComponent, LicensesCardComponent, UsageBarComponent, FormBuilderComponent,\n DonutComponent, CustomgridComponent, PaginationComponent, BreadCrumbService, MobilePivotComponent,\n TimeOutPopUpComponent\n} from 'lib/ng2-sapmp/src/ui-components';\n","export const ABMFE_CONTENTS = {\n 'SHIP_TO': '0000601526',\n 'TIMEZONE': '420',\n 'LANGCODE': 'en',\n // 'DEP_RESELLER_ID': '6FFA140',\n 'DEP_RESELLER_ID': '722D390',\n 'PARTNER_TXN_ID': 'TXN_001122',\n 'ENROLEE_EMAIL': 'chin_yit_phang@apple.com',\n 'ORG_TYPE': 'BUSINESS',\n 'ORG_WEBSITE': 'https://test.com',\n 'ENROLEE_JOB_TITLE': 'Telecom Manager',\n 'ORG_EDU_MARKET': '',\n 'ENROLEE_LOCALE': 'en-us',\n 'SECONDARY_CONTACT_LOCALE': 'en-us'\n};\n","export let ANALYTICS_CONSTANTS = {\n // Global page - KEYS\n GLOBAL_PAGE_LOCATION_URL: 'page.location.url',\n GLOBAL_PAGE_FRIENDLY_PAGE_NAME: 'page.pageInfo.friendlyPageName',\n GLOBAL_PAGE_FLOW_CODE: 'page.pageInfo.flowCode',\n GLOBAL_PAGE_LANGUAGE: 'page.pageInfo.language',\n GLOBAL_PAGE_LINE_OF_BUSINESS: 'page.pageInfo.lineOfBusiness',\n GLOBAL_PAGE_RESPONSIVE_FLAG: 'page.pageInfo.responsiveWebDesignFlag',\n GLOBAL_PAGE_ZIP_CODE: 'page.pageInfo.zipCode',\n GLOBAL_PAGE_PAGE_FUNCTION: 'page.category.pageFunction',\n GLOBAL_PAGE_PAGE_OWNER_SHIP: 'page.category.pageOwnership',\n GLOBAL_PAGE_APP_NAME: 'page.category.applicationName',\n GLOBAL_PAGE_APP_CODE: 'page.pageInfo.appCode',\n GLOBAL_PAGE_SITE_SECTION: 'page.category.siteSection',\n GLOBAL_PAGE_SITE_SUB_SECTION: 'page.category.siteSubSection',\n GLOBAL_PAGE_SITE_SECTION1: 'page.category.siteSubSection1',\n GLOBAL_PAGE_SITE_SECTION2: 'page.category.siteSubSection2',\n GLOBAL_PAGE_ABS_CHECKOUT_STEP: 'page.attributes.ABScheckoutStepName',\n GLOBAL_PAGE_SKU: 'page.attributes.sku',\n GLOBAL_PAGE_PARENT_SKU: 'page.attributes.parentSku',\n GLOBAL_PAGE_VIEWED_UI_EXPERIENCE: 'page.pageInfo.viewedUIExperience',\n\n RESPONSIVEDESIGNFLAG_1: '1',\n RESPONSIVEDESIGNFLAG_0: '0',\n\n // Global page - VALUES\n BC_LANGUAGE_EN: 'EN',\n BC_LINE_OF_BUSINESS_VAL: 'General',\n BC_BUSINESS_VAL: 'Business',\n BC_APP_NAME_VAL: 'Business Console',\n BC_APP_CODE_VAL: 'BC',\n BC_SITE_SECTION: 'Marketplace',\n BC_DESKTOP: 'Desktop',\n BC_MOBILE: 'Mobile',\n\n // Global user - KEYS\n GLOBAL_USER_PRELOGIN_USER_ID: 'user.login.inputPreloginUserId',\n GLOBAL_USER_USER_ID: 'user.login.id',\n GLOBAL_USER_LOGIN_TYPE: 'user.login.type',\n GLOBAL_USER_LOGIN_SOURCE: 'user.login.loginSource',\n GLOBAL_USER_SERVICE_TYPE: 'user.account.serviceType',\n GLOBAL_USER_ACCOUNT_FOCUS_TYPE: 'user.account.accountInFocusType',\n GLOBAL_USER_CTN: 'user.account.ctn',\n GLOBAL_USER_BILLING_SYSTEM: 'user.account.billingSystem',\n GLOBAL_USER_BAN: 'user.account.ban',\n GLOBAL_USER_LIABILITY_TYPE: 'user.account.liabilityType',\n GLOBAL_USER_LIBERTY_FLAG: 'user.account.libertyFlag',\n GLOBAL_USER_APP_VISITOR_KEY: 'user.appVisitorCookie',\n GLOBAL_USER_TECH_LANGUAGE: 'user.tech.language',\n GLOBAL_USER_FAN: 'user.account.fan',\n GLOBAL_USER_WIRELESS_ACCOUNT_STATUS: 'user.account.wirelessAccountStatus',\n GLOBAL_USER_TECH_USER_AGENT: 'user.tech.userAgent',\n GLOBAL_USER_ABS_COMPANY_ROLE: 'user.attributes.ABScompanyRole',\n GLOBAL_USER_ABS_COMPANY_NAME: 'user.attributes.ABScompanyName',\n GLOBAL_USER_ABS_ACTOR_TYPE: 'user.attributes.ABSactorType',\n GLOBAL_USER_PREMIER_ENTERPRISE_TYPE: 'user.attributes.PremierEnterpriseType',\n GLOBAL_USER_REPRESENTATIVE_IPADDR: 'user.representativeIpAddress',\n GLOBAL_USER_MIMIC_ATTUID: 'user.attuid',\n GLOBAL_USER_MIMIC_PREMIER_AGREEMENT_NUMBER: 'user.attributes.PremierAgreementNumber',\n GLOBAL_USER_MIMIC_ALT_SEGMENT_TYPE: 'user.attributes.PremierAltSegmentType',\n GLOBAL_USER_MIMIC_PREMIER_ENTERPRISE_TYPE: 'user.attributes.PremierEnterpriseType',\n GLOBAL_USER_FIRSTNET_FLAG: 'user.attributes.firstNetFlag',\n GLOBAL_USER_FIRST_NET_USER_ROLE: 'user.attributes.firstNetUserRole',\n\n\n // Global user - VALUES\n BC_USER_BILLING_SYSTEM_VAL: 'T',\n BC_USER_LIABILITY_TYPE_VAL: 'Corporate',\n BC_USER_ABS_COMPANY_ROLE_VAL: 'CRU',\n BC_USER_LOGIN_TYPE: 'Individual User',\n BC_USER_SERVICE_TYPE: 'Wireless',\n BC_USER_ACCOUNT_FOCUS_TYPE: 'Wireless',\n\n // EVENTS\n\n EVENTS_SUCCESSFLAG: 'events.successFlag',\n EVENTS_ERRTYPE: 'events.errorType',\n EVENTS_STATUSMSG: 'events.statusMessage',\n EVENT_LINK_POSITION: 'linkPosition',\n EVENT_LINK_NAME: 'linkName',\n EVENT_LINK_DESTINATIONURL: 'linkDestinationUrl',\n EVENT_SUCCESS_FLAG: 'successFlag',\n EVENT_STATUS_CODE: 'statusCode',\n EVENT_EVENT_CODE: 'eventCode',\n EVENT_ITEMS: 'items',\n EVENT_STATUS_MESSAGE: 'statusMessage',\n EVENT_ERROR_TYPE: 'errorType',\n EVENT_FLOW_CODE: 'flowCode',\n /*EVENT_SUCCESS_FLAG: 'events[0].successFlag',\n EVENT_STATUS_CODE: 'events[0].statusCode',\n EVENT_EVENT_CODE: 'events[0].eventCode',\n EVENT_ITEMS: 'events[0].items',\n EVENT_STATUS_MESSAGE: 'events[0].statusMessage',\n EVENT_ERROR_TYPE: 'events[0].errorType',\n EVENT_FLOW_CODE: 'events[0].flowCode',*/\n EVENT_TOTAL_LICENSES: 'totalLicenses',\n EVENT_ASSIGNED_LICENSES: 'assignedLicenses',\n EVENT_INCRESED_LICENSES: 'increasedLicenses',\n EVENT_DECREASED_LICENSES: 'decreasedLicenses',\n EVENT_ITEM_SKU: 'itemSku',\n EVENT_ATC_METHOD: 'addToCartMethod',\n EVENT_ITEM_QTY: 'itemQty',\n EVENT_PRICE_MONTHLY: 'priceMonthly',\n EVENT_PRICE_FIRST_BILL: 'priceFirstBill',\n EVENT_ORDER_ID: 'orderId',\n\n EVENTS_SUCCESSFLAG_1: '1',\n EVENTS_SUCCESSFLAG_0: '0',\n\n EVENT_ACTION: 'eventAction',\n EVENT_CODE: 'eventCode',\n\n DATA_SET: 'dataset',\n\n EVENT_CODE_VIEW_CART: 'BC_View_Cart',\n EVENT_NAME_REVIEW_ORDER_SUBMIT: 'BC_Review_Order_Submit',\n EVENT_CODE_ORDER_CONFIRMED: 'BC_System_Order_Confirmed',\n EVENT_CODE_INCREASE_LICENSE: 'BC_Increase_Licenses_Confirmed',\n EVENT_CODE_DECREASE_LICENSE: 'BC_Decrease_Licenses_Confirmed',\n EVENT_CODE_REMOVEALL_LICENSE: 'BC_Remove_Licenses_Confirmed',\n EVENT_CODE_BILLING_CHECKOUT: 'BC_Billing_Account_Checkout',\n EVENT_CODE_ASSIGN_LICENSES: 'BC_Assigned_Licenses',\n EVENT_CODE_ALERT_DISPLAY: 'Page_Alert_Display',\n EVENT_ERROR_SUCCESS_TYPE: 'Success_Admit',\n EVENT_ERROR_FAILURE_TYPE: 'Failure_User',\n EVENT_ERROR_FAILURE_TYPE_FAILURE_SYSTEM: 'Failure_System',\n EVENT_CODE_PRODUCTSPECIFICINFO_Checkout: 'BC_ProductSpecificInfo_Checkout',\n EVENT_CODE_BC_CART_ADD_SUBMIT: 'BC_Cart_Add_Submit',\n EVENT_ACTION_FORM_SUBMIT: 'FormSubmit',\n EVENT_ACTION_FORM_RESPONSE: 'FormResponse',\n\n FRIENDLY_NAME_SIGNUP_STARTDATEMODEL: 'BC Device Signup StartDate Learn More Modal Pg',\n FRIENDLY_NAME_SIGNUP_ACCOUNTSFAILURE: 'BC Device Signup Processing Failure Modal Pg',\n FRIENDLY_NAME_SIGNUP_SETTINGSMODAL : 'BC Device Signup Support Modal Pg',\n FRIENDLY_NAME_SIGNUP_COFIRMREQUESTMODAL: 'BC Device Signup Confirm Request Modal Pg',\n FRIENDLY_NAME_SIGNUP_APPLICATIONSMODAL: 'BC Device Signup Applications Modal Pg',\n FRIENDLY_NAME_APPLECERTIFICATE_REMOVEMODAL: 'BC Device Apple Certificate Remove Modal Pg',\n FRIENDLY_NAME_APPLECERTIFICATE_INFO: 'BC Device Apple Certification Info Pg',\n FRIENDLY_NAME_APPLECERTIFICATE_UPLOAD: 'BC Device Apple Certificate Upload File Pg',\n FRIENDLY_NAME_CANCELPARTICIPATION_SELECTFAN: 'BC Device Cancel Participation Selection Fan Pg',\n FRIENDLY_NAME_CANCELPARTICIPATION_REVIEW: 'BC Device Cancel Participation Review Pg',\n FRIENDLY_NAME_CANCELPARTICIPATION_CONFIRM: 'BC Device Cancel Participation Confirmation Pg',\n FRIENDLY_NAME_INCREASE_LICENSE: 'BC Manage Product Add License Pg',\n FRIENDLY_NAME_DECREASE_LICENSE: 'BC Manage Product Decrease License Pg',\n FRIENDLY_NAME_USER_SUMMARY: 'BC User Summary Pg',\n FRIENDLY_NAME_USER_EDIT: 'BC User Edit Pg',\n FRIENDLY_NAME_CONTACT: 'BC Device Contact Pg',\n FRIENDLY_NAME_SINGLE_PRODUCT: 'BC Manage Product Pg',\n FRIENDLY_NAME_MANAGE: 'BC Manage Pg',\n FRIENDLY_NAME_MANAGE_USER_ACTION: 'BC Manage Users Action Pg',\n FRIENDLY_NAME_MANAGE_USER_USERS: 'BC Manage Users Users Pg',\n FRIENDLY_NAME_MANAGE_USER_PRODUCTS: 'BC Manage Users Products Pg',\n FRIENDLY_NAME_MANAGE_USER_REVIEW: 'BC Manage Users Review Pg',\n FRIENDLY_NAME_MANAGE_USER_CONFIRM: 'BC Manage Users Confirmation Pg',\n FRIENDLY_NAME_MANAGE_CANCEL: 'BC Manage Product Cancel Pg',\n FRIENDLY_NAME_CHANGE_PRODUCT: 'BC Change Product Pg',\n FRIENDLY_NAME_DASHBOARD: 'BC Device Dashboard Pg',\n FRIENDLY_NAME_HOME: 'BC Home Pg',\n FRIENDLY_NAME_BROWSE: 'BC Browse Pg',\n FRIENDLY_NAME_DETAILS: 'BC Product Details Pg',\n FRIENDLY_NAME_PRODUCT_CONFIGURATOR: 'BC Product Configurator Pg',\n FRIENDLY_NAME_CART: 'BC Cart Pg',\n FRIENDLY_NAME_BILLING_PAYMENT: 'BC Checkout Step 1 Billing Pmt Pg',\n FRIENDLY_NAME_CHECKOUT_STEP2: 'BC Checkout Step 2 Service Configuration Pg',\n FRIENDLY_NAME_CHECKOUT_STEP3: 'BC Checkout Step 3 Review Order Pg',\n FRIENDLY_NAME_CHECKOUT_STEP4: 'BC Checkout Confirm Order Pg',\n FRIENDLY_NAME_BULKUPLOAD_STEP1: 'BC Bulk User Upload Action Pg',\n FRIENDLY_NAME_BULKUPLOAD_STEP2: 'BC Bulk User Upload Pg',\n FRIENDLY_NAME_BULKUPLOAD_STEP3: 'BC Bulk User Upload Review Pg',\n FRIENDLY_NAME_BULKUPLOAD_STEP4: 'BC Bulk User Upload Confirm Pg',\n FRIENDLY_NAME_SIGNUP_SETTINGS: 'BC Device Signup Settings Pg',\n FRIENDLY_NAME_SIGNUP_ACCOUNTS: 'BC Device Signup Accounts Pg',\n FRIENDLY_NAME_SIGNUP_APPLICATIONS: 'BC Device Signup Applications Pg',\n FRIENDLY_NAME_SIGNUP_STARTDATE: 'BC Device Signup Startdate Pg',\n FRIENDLY_NAME_SIGNUP_REVIEW: 'BC Device Signup Review Pg',\n FRIENDLY_NAME_SIGNUP_CONFIRM: 'BC Device Signup Confirm Pg',\n FRIENDLY_NAME_MANAGE_INVENTORY: 'BC Device Manage Inventory Pg',\n FRIENDLY_NAME_CTN_INFO: 'BC Device Manage Ctn Info Pg',\n FRIENDLY_NAME_WIPEDEVICE: 'BC Device Wipe Device Modal Pg',\n FRIENDLY_NAME_LOCKDEVICE: 'BC Device Lock Device Modal Pg',\n FRIENDLY_NAME_FAN_DEPLOYMENT: 'BC Device Manage Profile FAN Pg',\n FRIENDLY_NAME_DEVICE_INVENTORY: 'BC Device Manage Device Inventory Fan Pg',\n FRIENDLY_NAME_SUPPORT: 'BC Device Support Home Pg',\n FRIENDLY_NAME_FAQ: 'BC Device Support FAQs Pg',\n FRIENDLY_NAME_LEARN: 'BC Learn Pg',\n FRIENDLY_NAME_ELIGIBILITYMODAL: 'BC Device Eligibility Error Modal Pg',\n FRIENDLY_NAME_SMS_ACCOUNTS: 'BC Device Send Message Accounts Pg',\n FRIENDLY_NAME_SMS_MESSAGE: 'BC Device Send Message Pg ',\n FRIENDLY_NAME_SMS_REVIEW: 'BC Device Send Message Review Pg',\n FRIENDLY_NAME_SEND_MESSAGE_MODAL: 'BC Device Send Message Modal Pg',\n FRIENDLY_NAME_WELCOME: 'BC Device Welcome Pg',\n FRIENDLY_NAME_WELCOMEMODAL: 'BC Device Welcome Modal Pg',\n FRIENDLY_NAME_REQUEST_REPORTS_MODAL: 'BC Device Reports Request Modal Pg',\n FRIENDLY_NAME_REQUEST_REPORTS_REPORT_TYPE: 'BC Device Reports Transaction History Report Type Pg',\n FRIENDLY_NAME_REQUEST_REPORTS_DATE_RANGE: 'BC Device Reports Transaction History Date Range Pg',\n FRIENDLY_NAME_REQUEST_REPORTS_REVIEW: 'BC Device Reports Transaction History Review Pg',\n FRIENDLY_NAME_REQUEST_REPORTS_CONFIRMATION: 'BC Device Reports Transaction History Confirmation Pg',\n\n FLOW_CODE_MANAGE_DEVICE_MODAL: 'BC~DeviceTrack',\n FLOW_CODE_SEND_MESSAGE_MODAL: 'BC~DeviceTrack~SendMessage',\n FLOW_CODE_WELCOME: 'BC',\n FLOW_CODE_APPLECERTIFICATE: 'BC~DeviceTrack~AppleCertificate',\n FLOW_CODE_CANCELPARTICIPATION: 'BC~DeviceTrack~Cancel',\n FLOW_CODE_SHOP: 'BC~Shop',\n FLOW_CODE_CHECKOUT: 'BC~Checkout~SOC',\n FLOW_CODE_MANAGE_USERS: 'BC~ManageUsers',\n FLOW_CODE_MANAGE: 'BC~Manage',\n FLOW_CODE_UNK: 'BC~UNK',\n FLOW_CODE_LICENSE_MANAGEMNET_INCREASE: 'BC~LicenseManagement~Increase',\n FLOW_CODE_LICENSE_MANAGEMNET_DECREASE: 'BC~LicenseManagement~Decrease',\n FLOW_CODE_LICENSE_MANAGEMNET_REMOVE: 'BC~LicenseManagement~Remove',\n FLOW_CODE_CHANGE_PRODUCT : 'BC~ChangeProduct',\n FLOW_CODE_SIGNUP: ' BC~DeviceTrack~Signup ',\n FLOW_CODE_SMS: 'BC~DeviceTrack~SendMessage',\n FLOW_CODE_MANAGE_DEVICE: 'BC~DeviceTrack~Manage',\n FLOW_CODE_SUPPORT: 'BC~DeviceTrack~Support',\n FLOW_CODE_REPORTS: 'BC~DeviceTrack~Reports',\n FLOW_CODE_APPLE: 'BC~DeviceTrack~AppleCertificate',\n FLOW_CODE_DASHBOARD: 'BC~DeviceTrack~Dashboard',\n FLOW_CODE_LEARN: 'BC',\n FLOW_CODE_HOME: 'BC',\n\n GLOBAL_USER_FIRST_NET_USER_ROLE_VALUE: 'Primary',\n ENVIRONMENT_URL: '/businessconsole',\n // Added device track constants to avoid compilation issue - This code needs to be removed after discussion with device track team.\n\n FRIENDLY_PAGE_URL_NAME: {\n '/home': 'BC Home Pg ',\n '/learn': 'BC Learn Pg',\n '/welcome': 'BC Welcome Pg',\n '/support': 'BC Support Pg',\n '/faq': 'BC Faq Pg',\n '/manageInventory': 'BC Manage Inventory Pg',\n '/dashboard': 'BC Dashboard Pg',\n '/ctnInfo': 'BC CtnInfo Pg',\n '/fanDeploymentProfile': 'BC Fan Deployment Profile Pg',\n '/signup/accounts': 'BC Signup Account Pg',\n '/signup/settings': 'BC Signup Settings Pg',\n '/signup/applications': 'BC Signup Applications Pg',\n '/signup/startdate': 'BC Signup Startdate Pg',\n '/signup/review': 'BC Signup Review Pg',\n '/signup/confirm': 'BC Signup Confirm Pg',\n '/signup-setup/enrollmentoptions': 'BC Signup-Setup Enrollment Options Pg',\n '/signup-setup/review': 'BC Signup-Setup Review Options Pg',\n '/signup-setup/confirm': 'BC Signup-Setup Confirm Options Pg',\n '/deviceInventory': 'BC Device Inventory Pg',\n '/cancelParticipation/selectfan': 'BC Cancel Participation Selectfan Pg',\n '/cancelParticipation/review': 'BC Cancel Participation Review Pg',\n '/cancelParticipation/confirm': 'BC Cancel Participation Confirm Pg',\n '/sendMessage/message': 'BC SendMessage Message Pg ',\n '/sendMessage/accounts': 'BC SendMessage Accounts Pg',\n '/sendMessage/review': 'BC SendMessage Review Pg',\n '/terms': 'BC Terms Pg',\n '/contact': 'BC Contact Pg',\n '/appleCertificate/info': 'BC AppleCertificate Info Pg',\n '/appleCertificate/upload': 'BC AppleCertificate Upload Pg',\n '/authentication': 'BC Authentication Pg',\n '/reports/transaction/reportType': 'BC Device Reports Transaction History Report Type Pg',\n '/reports/transaction/dateRange': 'BC Device Reports Transaction History Date Range Pg',\n '/reports/transaction/review': 'BC Device Reports Transaction History Review Pg',\n '/reports/transaction/confirmation': 'BC Device Reports Transaction History Confirmation Pg',\n '/virtual/reports/requestmodal.html': 'BC Device Reports Request Modal Pg',\n '/virtual/reports/request/confirmationmodal.html': 'BC Device Reports Request Confirmation Modal Pg',\n '/virtual/manageDevice/wipemodal.html': 'BC Device Wipe Device Modal Pg',\n '/virtual/manageDevice/lockmodal.html': 'BC Device Lock Device Modal Pg',\n\n },\n\n\n EVENT_ACTION_MATRIX:\n {\n 'apple_id': 'BC_Device_Apple_Certificate_EnterID_Submit',\n 'apple_upload_file': 'BC_Device_Apple_Certificate_UploadFile_Submit',\n 'cancel_select_fan': 'BC_Device_Cancel_Select_FAN_Submit',\n 'cancel_review_fan': 'BC_Device_Cancel_Review_FAN_Submit',\n 'sms_select_account': 'BC_Device_SMS_Select_Account_Submit',\n 'sms_select_fan_account': 'BC_Device_SMS_Select_FAN_Account_Submit',\n 'device_sms_fan_account': 'BC_Device_SMS_Review_Submit',\n 'device_initial_signup_submit': 'BC_Device_Initial_Signup_Submit',\n 'device_enroll_submit': 'BC_Device_Enroll_Setup_Submit',\n 'device_eligibility_submit': 'BC_Device_Check_Your_Eligiblity_Submit',\n 'device_signup_continue_submit': 'BC_Device_Signup_Continue_Submit',\n 'device_select_date_submit': 'BC_Device_Signup_Select_Date_Submit',\n 'device_signup_review_submit': 'BC_Device_Signup_Review_Submit',\n 'device_signup_profilename_submit': 'BC_Device_Signup_Profilename_Submit',\n 'device_signupsetup_continue_submit': 'BC_Device_SignupSetup_Continue_Submit',\n 'device_signupsetup_review_submit': 'BC_Device_SignupSetup_Review_Submit',\n }\n\n\n};\n","export const APPLE_CERTIFICATE_STATUS = {\n 'Installed': 'Apple certificate installed',\n 'Not Installed': 'Apple certificate not installed',\n 'Expired': 'Apple certificate has expired',\n 'Processing': 'Apple certificate in process',\n 'Nearing expiration': 'Apple certificate nearing expiration'\n};\n","/* This file will have the bread crumb details pertaining to each page of the application */\ndeclare var ENV_PORTAL: any;\nconst browseCrumb = ( ENV_PORTAL === 'fnabc' ) ? 'FirstNet Apps & Solutions' : 'Marketplace';\n\nexport const BREADCRUMBS = {\n 'staticbrowse': [{ label: 'Home', routerLink: '/home' }],\n 'staticAppMarketPlace': [{ label: 'Home', routerLink: '/home' }, { label: browseCrumb, routerLink: '/browse' }],\n 'staticDeviceManagementProgram': [{ label: 'Home', routerLink: '/home' }],\n 'staticmanage': [{ label: 'Home', routerLink: '/home' }],\n 'staticdashboard': [{ label: 'Home', routerLink: '/home' }],\n 'staticmanagedashboard': [{ label: 'Home', routerLink: '/home' }, { label: 'AT&T Business Console Dashboard', routerLink: '/dashboard' }],\n 'staticmanageshop': [{ label: 'Home', routerLink: '/home' }, { label: browseCrumb, routerLink: '/browse' }],\n 'staticadduser': [{ label: 'Home', routerLink: '/home' }, { label: 'Console dashboard', routerLink: '/dashboard' }],\n 'staticBreadCrumbAvailable': ['browse', 'AppMarketPlace', 'DeviceManagementProgram', 'manage', 'dashboard', 'managedashboard', 'manageshop', 'adduser', 'learn', 'support', 'contact', 'manageInventory', 'efota'],\n 'staticlearn': [{ label: 'Home', routerLink: '/home' }],\n 'staticwelcome': [{ label: 'Home', routerLink: '/home' }],\n 'staticmanageInventory': [{ label: 'Home', routerLink: '/home' }, { label: 'Manage accounts', routerLink: '/manageInventory' }],\n 'staticsupport': [{ label: 'Home', routerLink: '/home' }],\n 'staticcontact': [{ label: 'Home', routerLink: '/home' }],\n 'staticefota': [{ label: 'Home', routerLink: '/home' }, { label: 'AT&T Business Console Dashboard', routerLink: '/dashboard' }]\n};\n","\nexport const CANCELFANDATA = { // grid config\n statusLabel: {\n ACTIVE: 'Active',\n PROCESSING: 'In Process',\n ADDED: 'Added'\n },\n fanList: { // fan list\n singlecol: {\n name: 'single-column',\n rowDisable: false,\n rowDisableCondition: { field: 'accountStatus', value: 'INACTIVE' },\n columnDefinitions: [\n {\n caption: 'Foundation account', field: 'fanId', type: 'TEXT', sortDirection: 'Asc',\n enableSorting: true, enableFilter: true, cssClass: '', priority: 1, customTemplate: ''\n }\n ]\n },\n multicol: {\n name: 'multi-column',\n rowDisable: true,\n rowDisableCondition: { field: 'accountStatus', value: 'INACTIVE' },\n columnDefinitions: [\n {\n caption: 'Foundation account', field: 'fanId', type: 'TEXT', sortDirection: 'Asc',\n enableSorting: true, enableFilter: true, cssClass: '', priority: 1, customTemplate: ''\n },\n {\n caption: 'Enrollment Program ID', field: 'accountStatus', type: 'CUSTOMTEMPLATE', sortDirection: 'Asc',\n enableSorting: false, enableFilter: false, cssClass: '', priority: 2, customTemplate: 'statusCellTemplate'\n }\n ]\n },\n },\n\n ReviewContents: {\n 'allFans': `

    Review Fan's to be cancelled

    You will be able to re-enroll your FAN's by going to the managemnt

    `,\n 'singleFan': ``,\n 'signedupnotsetup': `

    Review FAN's to be cancelled

    \n

    No devices are deployed. Only removing the signup.

    \n

    Lorem Ipsum, Lorem Ipsum, Lorem Ipsum, Lorem Ipsum, Lorem Ipsum, Lorem Ipsum, Lorem Ipsum, Lorem Ipsum, Lorem\n Ipsum, Lorem Ipsum, Lorem Ipsum, Lorem Ipsum

    Thank you your administrator

    `\n },\n\n confirmPageContents: {\n 'allFans': `

    FAN's participation cancelled

    you will be able to re-enroll your FAN's by going to the management \n section and selecting the set-up

    \n

    Lorem Ipsum, Lorem Ipsum, Lorem Ipsum, Lorem Ipsum, Lorem Ipsum, Lorem Ipsum, Lorem Ipsum, Lorem Ipsum, Lorem\n Ipsum, Lorem Ipsum, Lorem Ipsum, Lorem Ipsum

    `,\n 'singleFan': `

    FAN's participation cancelled

    you will be able to re-enroll your FAN's by going to the management \n section and selecting the set-up

    \n

    Lorem Ipsum, Lorem Ipsum, Lorem Ipsum, Lorem Ipsum, Lorem Ipsum, Lorem Ipsum, Lorem Ipsum, Lorem Ipsum, Lorem\n Ipsum, Lorem Ipsum, Lorem Ipsum, Lorem Ipsum

    `,\n 'signedupnotsetup': `

    Review FAN's to be cancelled

    \n

    Messaging saying that you have no devices deployed so you are only removing the sign up. \n You will need to start all over again

    \n

    Lorem Ipsum, Lorem Ipsum, Lorem Ipsum, Lorem Ipsum, Lorem Ipsum, Lorem Ipsum, Lorem Ipsum, Lorem Ipsum, Lorem\n Ipsum, Lorem Ipsum, Lorem Ipsum, Lorem Ipsum

    `\n }\n};\n","\nexport const CHART_CONFIG = {\n READY_TO_SETUP: { color: '#0568ae', label: 'ready for setup' },\n READY_TO_SETUPSAMSUNG: { color: '#0568ae', label: 'ready for setup' },\n AWAITING_SIGNUP: { color: '#6fa8d0', label: 'available to add' },\n ACTIVE: { color: '#b9d5e8', label: 'active' },\n PROCESSING: { color: '#FF585D', label: 'Processing' },\n ENROLLED_ACTIVE: { color: '#1483D9', label: 'Enrolled' },\n ENROLLED_NOT_ACTIVE: { color: '#B9D5E8', label: 'Enrolled, Not Active' },\n NOT_ENROLLED: { color: '#7F7F7F', label: 'not enrolled' },\n ENROLLED_SINGLE_PROGRAM: { color: '#649AC8', label: 'enrolled in 1 program' },\n ENROLLED_MULTIPLE_PROGRAMS: { color: '#1F56A9', label: 'enrolled in multiple programs' },\n OUT_OF_COMPLIANCE: { color: '#cccccc', label: 'not compliant' },\n SAMSUNG_CLAIM_SUCCESS: { color: '#007a3e', label: 'claimed (Samsung)' },\n ABM_CLAIM_SUCCESS: { color: '#007a3e', label: 'claimed (Apple)' },\n ZTP_CLAIM_SUCCESS: { color: '#006400', label: 'claimed (Android™)' },\n CLAIM_SUCCESS: { color: '#035527', label: 'claimed' },\n NOT_CLAIMED: { color: '#e57200', label: 'not claimed' },\n CLAIM_PENDING:{color: '#6BA179', label: 'claim pending'},\n UNCLAIM_PENDING:{color: '#9B8E82', label: 'unclaim pending'},\n CLAIM_PENDING_Samsung:{color: '#6BA179', label: 'claim pending (Samsung)'},\n UNCLAIM_PENDING_Samsung:{color: '#9B8E82', label: 'unclaim pending (Samsung)'},\n CLAIM_PENDING_Android:{color: '#6BA179', label: 'claim pending (Android™)'},\n UNCLAIM_PENDING_Android:{color: '#9B8E82', label: 'unclaim pending (Android™)'},\n CLAIM_PENDING_Apple:{color: '#6BA179', label: 'claim pending (Apple)'},\n UNCLAIM_PENDING_Apple:{color: '#9B8E82', label: 'unclaim pending (Apple)'},\n READY_TO_SETUP_OEM: { color: '#0568ae', label: 'ready to set up' },\n PROCESSING_OEM: { color: '#FF585D', label: 'not claimed' },\n Claimed_Samsung: { color: '#035527', label: 'claimed (Samsung)' },\n Claimed_Android: { color: '#035527', label: 'claimed (Android™)' },\n Claimed_Apple: {color: '#035527', label: 'claimed (Apple)'},\n Not_Claimed: { color: '#e57200', label: 'not claimed' },\n FUTURE_ENROLLMENT: { color: '#ea7400', label: 'not enrolled' },\n ZTP: { color: '#707070', label: 'Android™ Zero-touch enrollments' },\n ABM: { color:'#000000', label:'Apple Business Manager enrollments'},\n KME: { color: '#0077DC', label: 'Samsung Knox Mobile enrollments' }\n};\n\nexport const EFOTA_CHART_CONFIG = {\n ACTIVE: { color: '#1D83D9', label: 'active' },\n PROCESSING: { color: '#FF585D', label: 'Processing' },\n AWAITING_SIGNUP: { color: '#707070', label: 'available to add' },\n Complete: {color: '#7ED321', label: ' Complete'},\n Open: {color: '#1D83D9', label: ' Open'},\n Cancel: {color: '#707070', label: ' Cancelled'},\n Processing: {color: '#FF585D', label: ' In Progress'},\n noOfReports : {color: \"#1D83D9\", label:'New Reports'}\n};","/* This is file is used for config that are environment specific, the right object\r\n is chosen based on global variable (ENV_VAR) at run time. The Var is referenced in\r\n app.component and set in a service. The global variable is set in env.js, imported in index.html\r\n*/\r\ndeclare var ENV_PORTAL;\r\nconst ENV_PORTAL_DOMAIN = (ENV_PORTAL === 'fnabc') ? 'FN' : 'ABC';\r\nexport const ENV = {\r\n 'mock': {\r\n useMock: true,\r\n // Not Used URl\r\n viewHeaders: 'restservices/sapmp/v1/profile/viewHeaders',\r\n updateProfile: 'restservices/sapmp/v1/profile/updateProfile',\r\n validateUser: 'restservices/sapmp/v1/profile/validateUser',\r\n samsungValidate: 'restservices/v1/sapmp/accountmanagement/samsung/validate',\r\n appleOrgValidate: 'restservices/v1/sapmp/accountmanagement/apple/validate',\r\n zteIdValidate: 'restservices/v1/sapmp/accountmanagement/google/validate',\r\n tranIdValidate: 'restservices/v1/sapmp/accountmanagement/apple/checkTransactionStatus',\r\n productConfiguratorDetails: 'assets/mock/productConfigurator.json',\r\n fandetails: 'assets/mock/fan.json',\r\n cartUrl: 'assets/mock/cartService.json',\r\n bandetails: 'restservices/sapmp/v1/checkout/billing/getBansByFan/',\r\n ctndetails: 'restservices/sapmp/v1/checkout/billing/getCtnsByBan/',\r\n configurationUrl: 'assets/mock/configurations.json',\r\n validateCartUrl: 'restservices/sapmp/v0.5/cart/validate/',\r\n gridDataUrl: 'assets/mock/mockgriddata.json',\r\n prodLicense: 'assets/mock/productlisence.json',\r\n createUserUrl: 'assets/mock/createUser.json',\r\n fivegEnrollmentUrl: 'restservices/addp/v1/account/5genrollment/request',\r\n homePageUrl: 'assets/cms/homePage.json',\r\n homePageFirstNetUrl: 'assets/cms/homePageFirstNet.json',\r\n homePageCms: 'restservices/cms/v1/document/home',\r\n contactdetails: 'assets/cms/contact.json',\r\n fncontactdetails: 'assets/cms/contact_fn.json',\r\n xmlUrl: 'assets/xml/premierxml.xml',\r\n\r\n // Catalog\r\n catalogServiceUrl: 'restservices/sapmp/v1/catalog/productDetails/products/' + ENV_PORTAL_DOMAIN + '/',\r\n // catalogServiceUrl: 'restservices/sapmp/v1/catalog/productDetails/products/',\r\n catalogColumnCount: '3', // TODO: Need to confirm with developer\r\n pricingupdate: 'restservices/sapmp/v1/catalog/products/priceDetails/',\r\n cartServiceUrl: 'restservices/sapmp/v1/cart/addCart',\r\n productSpecificationUrl: 'restservices/sapmp/v1/catalog/products/configurations',\r\n productTncUrl: 'restservices/sapmp/v1/catalog/products/tnc/' + ENV_PORTAL_DOMAIN + '/',\r\n changeProductUrl: 'restservices/sapmp/v1/catalog/products/priceDetails/expressCheckout',\r\n getPricingUpdateForDCMcode: 'restservices/sapmp/v1/catalog/products/priceDetails/manageProduct',\r\n catalogEfotaForm: 'restservices/edit/v1/efotaenrollment/',\r\n // Subcription Service\r\n getBanUrl: 'restservices/sapmp/v1/company/accountList/',\r\n getCtnUrl: 'restservices/sapmp/v1/company/subscriptionList/',\r\n\r\n subscriptionUrl: 'restservices/sapmp/v1/companies/{companyid}/inventory/service?serviceType=browseProduct',\r\n manageLicensesUrl: 'restservices/sapmp/v1/companies/{companyid}/inventory/service',\r\n setUpdateUrl: 'restservices/sapmp/v1/companies/inventory/service/',\r\n ValidateChangeProduct: 'restservices/sapmp/v1/companies/{companyid}/inventory/service?serviceType=changeProduct&billingClientId=',\r\n premierUrl: 'restservices/sapmp/v1/premier/premierRedirection/',\r\n addUserUrl: 'restservices/sapmp/v1/companies/{companyid}/employees/addUser',\r\n bulkAssignUnAssignUrl: 'restservices/sapmp/v1/companies/',\r\n ctnValidationUrl: 'restservices/sapmp/v1/companies/{companyid}/inventory/service',\r\n permissionUrl: 'restservices/sapmp/v1/permissions/',\r\n tokenGenerationUrl: 'restservices/sapmp/v1/profile/tokengeneration/',\r\n userServiceUrl: 'restservices/sapmp/v1/user/',\r\n authTokenServiceUrl: 'restservices/sapmp/v1/user/login/',\r\n submitConfirmOrder: 'restservices/sapmp/v1/cart/order/',\r\n cspGroupValidationUrl: 'restservices/sapmp/v0.5/user/validateCSPGroup/',\r\n loggerServiceUrl: 'restservices/sapmp/v0.5/catalog/products/logging/',\r\n timeOut: '8000',\r\n getUserInfo: 'assets/mock/users.json',\r\n userSummary: 'assets/mock/usersummary-',\r\n singleProductUrl: 'restservices/sapmp/v1/companies/',\r\n userEdit: 'restservices/sapmp/v1/companies/',\r\n getAssignUnassignProductDetails: 'api/v1/companies/',\r\n userRemove: 'restservices/sapmp/v1/companies/',\r\n getManageUserCtnUrl: 'restservices/sapmp/v1/companies/',\r\n mockGridDataUrl: 'assets/mock/mock-griddata-page.json',\r\n getUserSearch: 'restservices/sapmp/v1/companies/',\r\n productLicenseUrl: 'restservices/sapmp/v1/companies/',\r\n unAssignUrl: 'restservices/sapmp/v1/companies/',\r\n profilePerm: 'assets/mock/profilePerm/newProfileData.json',\r\n // profilePerm: 'restservices/sapmp/v1/profile/profileAndPermsInfo',\r\n bulkUploadServiceUrl: 'restservices/sapmp/v1/company/file/upload',\r\n getProductAndPriceDetailsFromCSI: 'restservices/sapmp/v1/company/inquireMobileProductsOrder',\r\n getStatsTops: 'restservices/sapmp/v1/companies/{companyid}/top/{offercount}?breakdown=false',\r\n getStatsUsers: 'restservices/sapmp/v1/companies/{companyid}/stats',\r\n profilesPageSize: 100,\r\n ctnPageSize: 45,\r\n getStatsReport: 'restservices/sapmp/v1/company/file/download/userSummaryReport',\r\n getPricingForOwnedProduct: 'restservices/sapmp/v1/company/inquireMobileProductsOrder',\r\n bulkReviewUrl: 'restservices/sapmp/v1/companies/{companyId}/employees/bulk',\r\n getProductFanCtnDetails: 'assets/mock/manage_users.json',\r\n searchUsersUrl: 'restservices/sapmp/v1/companies/',\r\n cartOrderUrl: 'restservices/sapmp/v1/cart/order/modify/modifyOrder',\r\n changeCartOrderUrl: 'restservices/sapmp/v1/cart/order/',\r\n tokenRefresh: 'restservices/sapmp/v1/profile/refresh',\r\n haloAuthenticateUrl: 'restservices/sapmp/v1/profile/verifylogin',\r\n validateFanUrl: 'restservices/sapmp/v1/cart/addCart',\r\n priceDetailUrl: 'restservices/sapmp/v1/catalog/products/modifyProduct/priceDetails',\r\n WelcomeUrl: 'assets/contents/Welcome/welcome.json',\r\n WelcomeSignupUrl: 'restservices/v1/sapmp/accountmanagement/signup',\r\n initialUrl: 'assets/contents/initailsignup/initialsignup.json',\r\n getGoogleId: 'assets/mock/productselection/googleVal.json',\r\n // getSamsungId: 'assets/mock/productselection/samsungVal.json',\r\n getSamsungId: 'restservices/v1/sapmp/accountmanagement/samsung/validate',\r\n mdmDetails: 'assets/mock/productselection/initialRevisedDetails.json',\r\n enrollDetails: 'assets/contents/enrollmentTool/enrollmentTool.json',\r\n faqServiceUrl: 'restservices/addp/v1/faqservice/getAll',\r\n faqServiceUrlMock: './../../../assets/mock/Faq/faqService.json',\r\n settingsFormConfig: 'assets/mock/formConfig.json',\r\n getFANList: 'restservices/addp/v1/account/summary',\r\n getprofileList: 'restservices/addp/v1/account/settings',\r\n getAppList: 'restservices/addp/v1/account/applications',\r\n getTNC: 'restservices/addp/v1/account/configuration/tnc',\r\n submitSignup: 'restservices/addp/v1/cart/signup-setup',\r\n submitGroup : 'restservices/addp/v1/dashboard/groupingImeis',\r\n updateGroupName: 'restservices/addp/v1/dashboard/updateGroup',\r\n getGroupDevices: 'restservices/addp/v1/dashboard/getDevicesGroups',\r\n getManageGroupsUrl:'restservices/addp/v1/dashboard/manageGroups',\r\n submitSignupInProgress: 'restservices/addp/v1/cart/signupinprogress',\r\n submitCancelParticipation: 'restservices/addp/v1/cart/cancel',\r\n cancelOEMUrl: 'restservices/addp/v1/cart/canceloem',\r\n createProfile: 'restservices/addp/v1/account/setup',\r\n updateProfileName: 'restservices/addp/v1/account/profiles',\r\n profilePermissionUrl: 'assets/mock/getProfile_Read_NoFAN.json',\r\n\r\n getFANListMock: ['assets/mock/signup/accounts/initialSignupFANList.json',\r\n 'assets/mock/signup/accounts/allFANList.json',\r\n 'assets/mock/signup/accounts/newNRevisedFANList.json',\r\n 'assets/mock/signup/accounts/onlyRevisedFANList.json',\r\n 'assets/mock/signup/accounts/demoFANList.json'],\r\n\r\n\r\n profileListUrl: ['assets/mock/signup/settings/profileListLT20.json',\r\n 'assets/mock/signup/settings/profileListGT20.json'],\r\n gridAppDataUrl: 'assets/mock/signup/applications/getappdetail.json',\r\n learnPageUrl: 'assets/mock/learnPage.json',\r\n getProfileUrl: 'assets/mock/getprofiledetail.json',\r\n profilePermMock: ['assets/mock/profilePerm/readOnly.json',\r\n 'assets/mock/profilePerm/partial.json',\r\n 'assets/mock/profilePerm/full.json',\r\n 'assets/mock/profilePerm/none.json'],\r\n fanSignupStatusUrl: ['assets/mock/fanSignedUpStatus/all.json', 'assets/mock/fanSignedUpStatus/new.json',\r\n 'assets/mock/fanSignedUpStatus/some.json',\r\n 'assets/mock/fanSignedUpStatus/none.json'\r\n ],\r\n getProfileStatusUrl: 'restservices/addp/v1/dashboard/deviceinventory',\r\n getProfileStatusMockUrl: 'assets/mock/deviceInventory/getProfileStatus.json',\r\n deviceInventoryDetailsUrl: 'assets/mock/deviceInventory/deviceInventoryDetails.json',\r\n manageInventoryPageUrl: 'assets/mock/manageInventory/manageInventory.json',\r\n deviceDeploymentSummaryUrl: 'assets/mock/deployment_status_list.json',\r\n companyFanStatusUrl: 'assets/mock/company_fan_status.json',\r\n appleCertificateUrl: 'assets/mock/appleCertificateStatus.json',\r\n devicesSummaryUrl: 'restservices/addp/v1/dashboard/devices',\r\n devicesSummaryMockUrl: 'assets/mock/devicesSummary.json',\r\n\r\n ctnDetailsMockUrl: 'assets/mock/manageInventory/mockCtnDetails.json',\r\n ctnDetailsUrl: 'restservices/addp/v1/dashboard/ctninfo',\r\n ctnUpdateUrl: 'restservices/addp/v1/account/ctnUpdate/request',\r\n ctnNumberUrl: 'assets/mock/ctnNumber/ctnNumbers.json',\r\n imeiNumberUrl: 'assets/mock/imeiNumber/imeiNumbers.json',\r\n messageFormJson: 'assets/mock/messageForm.json',\r\n singleFanProfileUrl: 'assets/mock/singleFanProfile/fanDetails.json',\r\n manyFanProfileUrl: 'assets/mock/singleFanProfile/manyFanDetails.json',\r\n fanProfileUrl: 'restservices/addp/v1/dashboard/profileinfo',\r\n sendSMSFanList: 'assets/mock/sendSMSFanMock.json',\r\n sendSmsMockJson: 'assets/mock/sendSmsCtnMock.json',\r\n mockSMSPostUrl: 'restservices/addp/v1/notifications',\r\n notificationClient:'restservices/addp/v1/notificationservice/efotaReportRequestEmail',\r\n notificationServiceForm: 'restservices/addp/v1/notificationservice/form',\r\n sendSMSUrl: 'restservices/addp/v1/notificationservice/manageSms',\r\n abridgedList: 'assets/mock/abridgedFANList.json',\r\n notificationsUrlMock: 'assets/mock/notifications-alerts.json',\r\n notificationsUrl: 'restservices/addp/v1/notification/alert/',\r\n createZtpAccountMock: './../../../assets/contents/signup/googleMock.json',\r\n createZtpAccount: 'restservices/v1/sapmp/accountmanagement/google/create',\r\n // samsungValidate: 'http://localhost:8080/samsung/custDetails',\r\n contentUrl: {\r\n signup: {\r\n accounts: 'assets/contents/signup/accounts.json',\r\n settings: 'assets/contents/signup/settings.json',\r\n applications: 'assets/contents/signup/applications.json',\r\n startdate: 'assets/contents/signup/startdate.json',\r\n review: 'assets/contents/signup/review.json',\r\n confirm: 'assets/contents/signup/confirm.json'\r\n },\r\n sendSMS: {\r\n page: 'assets/contents/sendSMS/message.json',\r\n modal: 'assets/contents/sendSMS/message-modal.json'\r\n },\r\n manageInventory: {\r\n manageInventoryPageUrl: 'assets/contents/manageInventory/manageInventory.json',\r\n deviceInventory: 'assets/contents/manageInventory/deviceInventory.json',\r\n ctnViewData: 'assets/contents/manageInventory/viewCtnPageData.json',\r\n deviceLockWipeDetailsUrl: 'assets/contents/manageInventory/deviceLockWipe.json',\r\n deviceStatusUrlMock: 'assets/contents/manageInventory/deviceLockStatus.json',\r\n deviceStatusUrl: 'restservices/addp/v1/device',\r\n getUpdatedCtnDetailsUrlMock: 'assets/contents/manageInventory/updatedCtnDetails.json'\r\n },\r\n dashboard: {\r\n dashboardData: 'assets/contents/dashboard/dashboardData.json'\r\n },\r\n applecertificate: {\r\n info: 'assets/contents/appleCertificate/info.json',\r\n upload: 'assets/contents/appleCertificate/upload.json'\r\n },\r\n cancelParticipation: {\r\n cancel: 'assets/contents/cancelParticipation/cancel/cancel.json',\r\n review: 'assets/contents/cancelParticipation/review/review.json',\r\n confirm: 'assets/contents/cancelParticipation/confirm/confirm.json',\r\n },\r\n\r\n },\r\n getFanStatusSummarymock: ['assets/mock/dashboard/initialSignup.json',\r\n 'assets/mock/dashboard/signupInProgress.json',\r\n 'assets/mock/dashboard/errorInSignup.json',\r\n 'assets/mock/dashboard/awaitingSetup.json',\r\n 'assets/mock/dashboard/setupInProgress.json',\r\n 'assets/mock/dashboard/setupCompleted.json',\r\n 'assets/mock/dashboard/deviceEnrollInProgress.json',\r\n 'assets/mock/dashboard/deviceEnrollError.json',\r\n 'assets/mock/dashboard/multiFanEnrolled.json',\r\n 'assets/mock/dashboard/singleFanEnrolled.json',\r\n 'assets/mock/dashboard/ineligibleFan.json',\r\n 'assets/mock/dashboard/setupOemCompleted.json'\r\n ],\r\n getAppleSummaryMock: ['assets/mock/apple-certificate/notInstalled.json',\r\n 'assets/mock/apple-certificate/installed.json',\r\n 'assets/mock/apple-certificate/expired.json',\r\n 'assets/mock/apple-certificate/processing.json'],\r\n getAppleSummary: 'restservices/addp/v1/apple/inquire',\r\n generateCSR: 'restservices/addp/v1/apple/csr',\r\n deleteAppleCertificate: 'restservices/addp/v1/apple/delete',\r\n uploadAppleCertificate: 'restservices/addp/v1/apple/upload',\r\n dashboardSummary: 'restservices/addp/v1/dashboard/accountsummary',\r\n triggerActiveFans: 'restservices/addp/v1/dashboard/dataload',\r\n deviceCountSummary: 'restservices/addp/v1/dashboard/deviceCount',\r\n getReportRequestUrl: 'restservices/addp/v1/report/snapshot/all',\r\n getReportRequestOEMUrl: 'restservices/addp/v1/report/snapshot/reportByFan',\r\n efotaEmailReport: 'restservices/addp/v1/report/efota/emailReportAttachment',\r\n efotaRetrieveReport: 'restservices/addp/v1/report/efota/retrieveReport',\r\n efotaUpdateReport: 'restservices/addp/v1/report/efota/updateReport',\r\n efotaEnrollments: 'restservices/admins/v1/query/default/efotaenrollment',\r\n efotaEnrollAccount: '/restservices/addp/v1/account/efota/signup',\r\n efotaGetReportFile: 'restservices/addp/v1/report/efota/getReportAttachment/',\r\n efotaChangeRequests: 'restservices/addp/v1/account/efota/getChangeRequests',\r\n efotaChangeRequest: 'restservices/addp/v1/account/efota/changeRequest',\r\n efotaAdminChangeRequests: 'restservices/admins/v1/query/default/Ticket',\r\n efotaDisconnectAccount : 'restservices/admins/v1/efota/disconnect/',\r\n efotaUpdateChangeRequest: 'restservices/admins/v1/cms/default/Ticket/',\r\n // tslint:disable-next-line:max-line-length\r\n // 'http://zld04700.vci.att.com:32309restservices/addp/v1/report/snapshot/833756412,8356412537?type=xls&email=someone@att.com&username=Tony1', //'assets/mock/mockReportSuccess.json',\r\n getTransactionReportRequestUrl: 'restservices/addp/v1/report/transaction/',\r\n // 'http://zld04700.vci.att.com:32309restservices/addp/v1/report/transaction/',\r\n getReportPageConfigUrl: 'assets/mock/reportPageConfig.json',\r\n\r\n // restservices/addp/v1/report/validate/fan?ctn=2149588808\r\n getCTNMock: ['assets/mock/validateCTNSuccess.json', 'assets/mock/validateCTNFailure.json'],\r\n getCTN: 'restservices/addp/v1/report/validate/fan',\r\n\r\n\r\n getCarePageConfigUrl: 'assets/mock/care/carePageConfig.json',\r\n submitCareSelectedParticipation: 'lic/addp/v1/Care/submit',\r\n getSearchFanPageConfigUrl: 'assets/mock/care/searchFanConfig.json',\r\n getFanSearchFanDetails:'restservices/edit/v1/efotaenrollment/',\r\n getFanDetails: 'restservices/admins/v1/cms/default/efotaenrollment/',\r\n updateEnrollStatus: 'restservices/admins/v1/efota/default/efotaenrollment/',\r\n getAllFanDetails:'restservices/edit/v1/efotaenrollment',\r\n // tokenRefresh: 'restservices/addp/v1/inquire/refresh',\r\n // careAuthTokenServiceUrl: 'assets/mock/care/auth.json',\r\n // careUserProfileUrl: 'assets/mock/care/userProfile.json',\r\ngetSupportDocument: 'restservices/addp/v1/faqservice/supportArticle/',\r\n // getSupportDocumentMock:['assets/mock/manageInventory/supportLock.json',\r\n // 'assets/mock/manageInventory/supportWipe.json',\r\n // 'assets/mock/manageInventory/supportLock.json'\r\n // ],\r\n\r\n\r\n careAuthTokenServiceUrlMock: 'assets/mock/care/auth.json',\r\n careUserProfileUrlMock: 'assets/mock/care/userProfile.json',\r\n careAuthTokenWithoutFanIdServiceUrlMock: 'assets/mock/care/auth.json',\r\n careMultiFanMock: 'assets/mock/care/multifan.json',\r\n careSearchFanUrlMock: 'assets/mock/care/newVerify.json',\r\n careUpdateEmailMock: 'assets/mock/care/updateEmail.json',\r\n\r\n // careAuthTokenServiceUrl: 'restservices/addp/v1/licservice/csp/authenticate/',\r\n careUserProfileUrl: 'restservices/addp/v1/licservice/aaf/inquire/permissions',\r\n careAuthTokenWithoutFanIdServiceUrl: 'restservices/addp/v1/licservice/csp/authenticate',\r\n careMultiFan: 'restservices/addp/v1/licservice/agreement/inquire/fans',\r\n careSearchFanUrl: 'restservices/addp/v1/licservice/fan/verify/',\r\n careUpdateEmail: 'restservices/addp/v1/licservice/customer/updateEmail',\r\n upgradeDeviceServiceUrl: 'service/addp/v1/fileuploadservice/upgradedevice/upload',\r\n // haloAuthenticateUrl: 'assets/mock/authHaloState.json'\r\n getuploadfiles: 'restservices/admins/v1/abm/uidetails',\r\n getcareabmdetails: 'restservices/admins/v1/abm/adminsOrdersUi',\r\n getcarekmedetails: 'restservices/admins/v1/kme/adminOrdersKME',\r\n getcareztedetails: 'restservices/admins/v1/zte/adminOrdersZTE',\r\n getcareDmpWhiteistFans:'/restservices/admins/v1/query/default/DMPWhitelistFans', // dmpwhitelistfans\r\n saveDmpwhitelist: '/restservices/admins/v1/cms/default', \r\n getcareFeDetails: 'restservices/admins/v1/query/default/ABMOrgIDValidation', //feList\r\n //sendToAppleFeRequest: 'restservices/admins/v1/abm/facilitatedEnrollment',\r\n sendToAppleFeRequest: 'restservices/apple/abm/facilitatedEnrollment',\r\n getcareDeviceEnrollmentDetails: 'restservices/admins/v1/abm/adminsPendingABMTransaction',\r\n revisenotificationsettings: 'restservices/addp/v1/account/revisenotificationsettings',\r\n changeorgid:'/restservices/addp/v1/account/setup/changeorgid',\r\n enrollExistingDevice:'restservices/addp/v1/account/enrollexistingdevices',\r\n getBulkSchedulerRunTimeUrl:'restservices/admins/v1/abm/getSchedulerTriggeredDetails',\r\n deleteGroup: 'restservices/addp/v1/dashboard/deleteGroup',\r\n getInquireFanDetails: 'restservices/addp/v1/account/inquireFanDetails',\r\n getInquireProfile: 'restservices/addp/v1/dashboard/profilesummary',\r\n abmfeDepResellerId: '6FFA140',\r\n accessoriesLink: 'https://test12-www.wireless.att.com/business/shop/shop_cru_home.jsp?fromNewAccessoryPage=false&_requestid=3927'\r\n },\r\n\r\n 'test': {\r\n useMock: false,\r\n ticketProductionUpdateURL: 'restservices/admins/v1/cms/default/Ticket',\r\n updateProfile: 'restservices/sapmp/v1/profile/updateProfile',\r\n ticketProductionURL: 'restservices/admins/v1/query/default/Ticket',\r\n ticketUpdateURL: 'restservices/admins/v1/cms/test/Ticket',\r\n ticketURL: 'restservices/admins/v1/query/test/Ticket',\r\n viewHeaders: 'restservices/sapmp/v1/profile/viewHeaders',\r\n validateUser: 'restservices/sapmp/v1/profile/validateUser',\r\n deviceCountSummary: 'restservices/addp/v1/dashboard/deviceCount',\r\n getSamsungId: 'restservices/v1/sapmp/accountmanagement/samsung/validate',\r\n samsungValidate: 'restservices/v1/sapmp/accountmanagement/samsung/validate',\r\n zteIdValidate: 'restservices/v1/sapmp/accountmanagement/google/validate',\r\n appleOrgValidate: 'restservices/v1/sapmp/accountmanagement/apple/validate',\r\n tranIdValidate: 'restservices/v1/sapmp/accountmanagement/apple/checkTransactionStatus',\r\n createZtpAccount: 'restservices/v1/sapmp/accountmanagement/google/create',\r\n mdmDetails: 'restservices/v1/sapmp/accountmanagement/product',\r\n fivegEnrollmentUrl: 'restservices/addp/v1/account/5genrollment/request',\r\n enrollDetails: 'assets/contents/enrollmentTool/enrollmentTool.json',\r\n productConfiguratorDetails: 'assets/mock/productConfigurator.json',\r\n catalogEfotaForm: 'restservices/edit/v1/efotaenrollment/',\r\n fandetails: 'assets/mock/fan.json',\r\n profilesPageSize: 100,\r\n ctnPageSize: 45,\r\n cartUrl: 'assets/mock/cartService.json',\r\n bandetails: 'restservices/sapmp/v1/checkout/billing/getBansByFan/',\r\n ctndetails: 'restservices/sapmp/v1/checkout/billing/getCtnsByBan/',\r\n configurationUrl: 'assets/mock/configurations.json',\r\n validateCartUrl: 'restservices/sapmp/v0.5/cart/validate/',\r\n gridDataUrl: 'assets/mock/mockgriddata.json',\r\n prodLicense: 'assets/mock/productlisence.json',\r\n createUserUrl: 'assets/mock/createUser.json',\r\n\r\n homePageUrl: 'assets/cms/homePage.json',\r\n homePageFirstNetUrl: 'assets/cms/homePageFirstNet.json',\r\n homePageCms: 'restservices/cms/v1/document/home',\r\n contactdetails: 'assets/cms/contact.json',\r\n fncontactdetails: 'assets/cms/contact_fn.json',\r\n xmlUrl: 'assets/xml/premierxml.xml',\r\n\r\n // Catalog\r\n catalogServiceUrl: 'restservices/sapmp/v1/catalog/productDetails/products/' + ENV_PORTAL_DOMAIN + '/',\r\n // catalogServiceUrl: 'restservices/sapmp/v1/catalog/productDetails/products/',\r\n catalogColumnCount: '3', // TODO: Need to confirm with developer\r\n pricingupdate: 'restservices/sapmp/v1/catalog/products/priceDetails/',\r\n cartServiceUrl: 'restservices/sapmp/v1/cart/addCart',\r\n productSpecificationUrl: 'restservices/sapmp/v1/catalog/products/configurations',\r\n productTncUrl: 'restservices/sapmp/v1/catalog/products/tnc/' + ENV_PORTAL_DOMAIN + '/',\r\n changeProductUrl: 'restservices/sapmp/v1/catalog/products/priceDetails/expressCheckout',\r\n getPricingUpdateForDCMcode: 'restservices/sapmp/v1/catalog/products/priceDetails/manageProduct',\r\n\r\n // Subcription Service\r\n getBanUrl: 'restservices/sapmp/v1/company/accountList/',\r\n getCtnUrl: 'restservices/sapmp/v1/company/subscriptionList/',\r\n\r\n subscriptionUrl: 'restservices/sapmp/v1/companies/{companyid}/inventory/service?serviceType=browseProduct',\r\n manageLicensesUrl: 'restservices/sapmp/v1/companies/{companyid}/inventory/service',\r\n setUpdateUrl: 'restservices/sapmp/v1/companies/inventory/service/',\r\n ValidateChangeProduct: 'restservices/sapmp/v1/companies/{companyid}/inventory/service?serviceType=changeProduct&billingClientId=',\r\n premierUrl: 'restservices/sapmp/v1/premier/premierRedirection/',\r\n addUserUrl: 'restservices/sapmp/v1/companies/{companyid}/employees/addUser',\r\n bulkAssignUnAssignUrl: 'restservices/sapmp/v1/companies/',\r\n ctnValidationUrl: 'restservices/sapmp/v1/companies/{companyid}/inventory/service',\r\n permissionUrl: 'restservices/sapmp/v1/permissions/',\r\n tokenGenerationUrl: 'restservices/sapmp/v1/profile/tokengeneration/',\r\n userServiceUrl: 'restservices/sapmp/v1/user/',\r\n authTokenServiceUrl: 'restservices/sapmp/v1/user/login/',\r\n submitConfirmOrder: 'restservices/sapmp/v1/cart/order/',\r\n cspGroupValidationUrl: 'restservices/sapmp/v0.5/user/validateCSPGroup/',\r\n loggerServiceUrl: 'restservices/sapmp/v0.5/catalog/products/logging/',\r\n timeOut: '8000',\r\n getUserInfo: 'assets/mock/users.json',\r\n userSummary: 'assets/mock/usersummary-',\r\n singleProductUrl: 'restservices/sapmp/v1/companies/',\r\n userEdit: 'restservices/sapmp/v1/companies/',\r\n getAssignUnassignProductDetails: 'api/v1/companies/',\r\n userRemove: 'restservices/sapmp/v1/companies/',\r\n getManageUserCtnUrl: 'restservices/sapmp/v1/companies/',\r\n mockGridDataUrl: 'assets/mock/mock-griddata-page.json',\r\n getUserSearch: 'restservices/sapmp/v1/companies/',\r\n productLicenseUrl: 'restservices/sapmp/v1/companies/',\r\n unAssignUrl: 'restservices/sapmp/v1/companies/',\r\n profilePerm: 'restservices/sapmp/v1/profile/profileAndPermsInfo',\r\n bulkUploadServiceUrl: 'restservices/sapmp/v1/company/file/upload',\r\n getProductAndPriceDetailsFromCSI: 'restservices/sapmp/v1/company/inquireMobileProductsOrder',\r\n getStatsTops: 'restservices/sapmp/v1/companies/{companyid}/top/{offercount}?breakdown=false',\r\n getStatsUsers: 'restservices/sapmp/v1/companies/{companyid}/stats',\r\n getStatsReport: 'restservices/sapmp/v1/company/file/download/userSummaryReport',\r\n getPricingForOwnedProduct: 'restservices/sapmp/v1/company/inquireMobileProductsOrder',\r\n bulkReviewUrl: 'restservices/sapmp/v1/companies/{companyId}/employees/bulk',\r\n getProductFanCtnDetails: 'assets/mock/manage_users.json',\r\n searchUsersUrl: 'restservices/sapmp/v1/companies/',\r\n cartOrderUrl: 'restservices/sapmp/v1/cart/order/modify/modifyOrder',\r\n changeCartOrderUrl: 'restservices/sapmp/v1/cart/order/',\r\n tokenRefresh: 'restservices/sapmp/v1/profile/refresh',\r\n haloAuthenticateUrl: 'restservices/sapmp/v1/profile/verifylogin',\r\n validateFanUrl: 'restservices/sapmp/v1/cart/addCart',\r\n priceDetailUrl: 'restservices/sapmp/v1/catalog/products/modifyProduct/priceDetails',\r\n WelcomeUrl: 'assets/contents/Welcome/welcome.json',\r\n faqServiceUrl: 'restservices/addp/v1/faqservice/getAll',\r\n efotaEmailReport: 'restservices/addp/v1/report/efota/emailReportAttachment',\r\n efotaRetrieveReport: 'restservices/addp/v1/report/efota/retrieveReport',\r\n efotaUpdateReport: 'restservices/addp/v1/report/efota/updateReport',\r\n efotaEnrollments: 'restservices/admins/v1/query/default/efotaenrollment',\r\n efotaEnrollAccount: '/restservices/addp/v1/account/efota/signup',\r\n efotaGetReportFile: 'restservices/addp/v1/report/efota/getReportAttachment/',\r\n efotaChangeRequests: 'restservices/addp/v1/account/efota/getChangeRequests',\r\n efotaChangeRequest: 'restservices/addp/v1/account/efota/changeRequest',\r\n efotaAdminChangeRequests: 'restservices/admins/v1/query/default/Ticket',\r\n efotaDisconnectAccount : 'restservices/admins/v1/efota/disconnect/',\r\n efotaUpdateChangeRequest: 'restservices/admins/v1/cms/default/Ticket/',\r\n faqServiceUrlMock: 'assets/mock/Faq/faqService.json', \r\n settingsFormConfig: 'assets/mock/formConfig.json',\r\n getFANList: 'restservices/addp/v1/account/summary',\r\n getprofileList: 'restservices/addp/v1/account/settings',\r\n getAppList: 'restservices/addp/v1/account/applications',\r\n getTNC: 'restservices/addp/v1/account/configuration/tnc',\r\n submitSignup: 'restservices/addp/v1/cart/signup-setup',\r\n submitGroup : 'restservices/addp/v1/dashboard/groupingImeis',\r\n updateGroupName: 'restservices/addp/v1/dashboard/updateGroup',\r\n getGroupDevices: 'restservices/addp/v1/dashboard/getDevicesGroups',\r\n getManageGroupsUrl:'restservices/addp/v1/dashboard/manageGroups',\r\n submitSignupInProgress: 'restservices/addp/v1/cart/signupinprogress',\r\n submitCancelParticipation: 'restservices/addp/v1/cart/cancel',\r\n cancelOEMUrl: 'restservices/addp/v1/cart/canceloem',\r\n createProfile: 'restservices/addp/v1/account/setup',\r\n updateProfileName: 'restservices/addp/v1/account/profiles',\r\n getFANListMock: ['assets/mock/signup/accounts/initialSignupFANList.json',\r\n 'assets/mock/signup/accounts/allFANList.json',\r\n 'assets/mock/signup/accounts/newNRevisedFANList.json',\r\n 'assets/mock/signup/accounts/onlyRevisedFANList.json'],\r\n profilePermissionUrl: 'assets/mock/getProfile_Read_NoFAN.json',\r\n learnPageUrl: 'assets/mock/learnPage.json',\r\n profileListUrl: ['assets/mock/signup/settings/profileListLT20.json',\r\n 'assets/mock/signup/settings/profileListGT20.json'],\r\n gridAppDataUrl: 'assets/mock/signup/applications/getappdetail.json',\r\n getProfileUrl: 'assets/mock/getprofiledetail.json',\r\n profilePermMock: ['assets/mock/profilePerm/readOnly.json',\r\n 'assets/mock/profilePerm/partial.json',\r\n 'assets/mock/profilePerm/full.json',\r\n 'assets/mock/profilePerm/none.json'],\r\n fanSignupStatusUrl: ['assets/mock/fanSignedUpStatus/all.json',\r\n 'assets/mock/fanSignedUpStatus/some.json',\r\n 'assets/mock/fanSignedUpStatus/none.json'],\r\n WelcomeSignupUrl: 'restservices/v1/sapmp/accountmanagement/signup',\r\n initialUrl: 'assets/contents/initailsignup/initialsignup.json',\r\n manageInventoryPageUrl: 'assets/mock/manageInventory/manageInventory.json',\r\n deviceDeploymentSummaryUrl: 'assets/mock/deployment_status_list.json',\r\n companyFanStatusUrl: 'assets/mock/company_fan_status.json',\r\n appleCertificateUrl: 'assets/mock/appleCertificateStatus.json',\r\n devicesSummaryMockUrl: 'assets/mock/devicesSummary.json',\r\n devicesSummaryUrl: 'restservices/addp/v1/dashboard/devices',\r\n ctnDetailsMockUrl: 'assets/mock/manageInventory/mockCtnDetails.json',\r\n ctnDetailsUrl: 'restservices/addp/v1/dashboard/ctninfo',\r\n ctnUpdateUrl: 'restservices/addp/v1/account/ctnUpdate/request',\r\n ctnNumberUrl: 'assets/mock/ctnNumber/ctnNumbers.json',\r\n imeiNumberUrl: 'assets/mock/imeiNumber/imeiNumbers.json',\r\n messageFormJson: 'assets/mock/messageForm.json',\r\n fanProfileUrl: 'restservices/addp/v1/dashboard/profileinfo',\r\n singleFanProfileUrl: 'assets/mock/singleFanProfile/fanDetails.json',\r\n dashboardSummary: 'restservices/addp/v1/dashboard/accountsummary',\r\n triggerActiveFans: 'restservices/addp/v1/dashboard/dataload',\r\n manyFanProfileUrl: 'assets/mock/singleFanProfile/manyFanDetails.json',\r\n sendSMSFanList: 'assets/mock/sendSMSFanMock.json',\r\n sendSmsMockJson: 'assets/mock/sendSmsCtnMock.json',\r\n notificationClient:'restservices/addp/v1/notificationservice/efotaReportRequestEmail',\r\n notificationServiceForm: 'restservices/addp/v1/notificationservice/form',\r\n sendSMSUrl: 'restservices/addp/v1/notificationservice/manageSms',\r\n abridgedList: 'assets/mock/abridgedFANList.json',\r\n notificationsUrlMock: 'assets/mock/notifications-alerts.json',\r\n notificationsUrl: 'restservices/addp/v1/notification/alert/',\r\n contentUrl: {\r\n signup: {\r\n accounts: 'assets/contents/signup/accounts.json',\r\n settings: 'assets/contents/signup/settings.json',\r\n applications: 'assets/contents/signup/applications.json',\r\n startdate: 'assets/contents/signup/startdate.json',\r\n review: 'assets/contents/signup/review.json',\r\n confirm: 'assets/contents/signup/confirm.json'\r\n },\r\n sendSMS: {\r\n page: 'assets/contents/sendSMS/message.json',\r\n modal: 'assets/contents/sendSMS/message-modal.json'\r\n },\r\n manageInventory: {\r\n manageInventoryPageUrl: 'assets/contents/manageInventory/manageInventory.json',\r\n deviceInventory: 'assets/contents/manageInventory/deviceInventory.json',\r\n ctnViewData: 'assets/contents/manageInventory/viewCtnPageData.json',\r\n deviceLockWipeDetailsUrl: 'assets/contents/manageInventory/deviceLockWipe.json',\r\n deviceStatusUrlMock: 'assets/contents/manageInventory/deviceLockStatus.json',\r\n deviceStatusUrl: 'restservices/addp/v1/device',\r\n getUpdatedCtnDetailsUrlMock: 'assets/contents/manageInventory/updatedCtnDetails.json'\r\n },\r\n dashboard: {\r\n dashboardData: 'assets/contents/dashboard/dashboardData.json'\r\n },\r\n applecertificate: {\r\n info: 'assets/contents/appleCertificate/info.json',\r\n upload: 'assets/contents/appleCertificate/upload.json'\r\n },\r\n cancelParticipation: {\r\n cancel: 'assets/contents/cancelParticipation/cancel/cancel.json',\r\n review: 'assets/contents/cancelParticipation/review/review.json',\r\n confirm: 'assets/contents/cancelParticipation/confirm/confirm.json',\r\n }\r\n },\r\n deviceInventoryDetailsUrl: 'assets/mock/deviceInventory/deviceInventoryDetails.json',\r\n getProfileStatusUrl: 'restservices/addp/v1/dashboard/deviceinventory',\r\n getProfileStatusMockUrl: 'assets/mock/deviceInventory/getProfileStatus.json',\r\n getFanStatusSummarymock: ['assets/mock/dashboard/initialSignup.json',\r\n 'assets/mock/dashboard/signupInProgress.json',\r\n 'assets/mock/dashboard/errorInSignup.json',\r\n 'assets/mock/dashboard/awaitingSetup.json',\r\n 'assets/mock/dashboard/setupInProgress.json',\r\n 'assets/mock/dashboard/setupCompleted.json',\r\n 'assets/mock/dashboard/deviceEnrollInProgress.json',\r\n 'assets/mock/dashboard/deviceEnrollError.json',\r\n 'assets/mock/dashboard/multiFanEnrolled.json',\r\n 'assets/mock/dashboard/singleFanEnrolled.json'\r\n ],\r\n getAppleSummaryMock: ['assets/mock/apple-certificate/notInstalled.json',\r\n 'assets/mock/apple-certificate/installed.json',\r\n 'assets/mock/apple-certificate/expired.json',\r\n 'assets/mock/apple-certificate/processing.json'],\r\n getAppleSummary: 'restservices/addp/v1/apple/inquire',\r\n generateCSR: 'restservices/addp/v1/apple/csr',\r\n deleteAppleCertificate: 'restservices/addp/v1/apple/delete',\r\n uploadAppleCertificate: 'restservices/addp/v1/apple/upload',\r\n getReportRequestUrl: 'restservices/addp/v1/report/snapshot/all',\r\n getReportRequestOEMUrl: 'restservices/addp/v1/report/snapshot/reportByFan',\r\n getTransactionReportRequestUrlMock: 'assets/mock/mockReportSuccess.json',\r\n getTransactionReportRequestUrl: 'restservices/addp/v1/report/transaction/',\r\n getReportPageConfigUrl: 'assets/mock/reportPageConfig.json',\r\n getCTN: 'restservices/addp/v1/report/validate/fan',\r\n getCarePageConfigUrl: 'assets/mock/care/carePageConfig.json',\r\n submitCareSelectedParticipation: 'lic/addp/v1/Care/submit',\r\n getSearchFanPageConfigUrl: 'assets/mock/care/searchFanConfig.json',\r\n careUserServiceUrl: 'restservices/addp/v1/licservice/inquire/profile',\r\n getFanSearchFanDetails:'restservices/edit/v1/efotaenrollment/',\r\n getFanDetails: 'restservices/admins/v1/cms/default/efotaenrollment/',\r\n updateEnrollStatus: 'restservices/admins/v1/efota/default/efotaenrollment/',\r\n getAllFanDetails:'restservices/edit/v1/efotaenrollment',\r\n getSupportDocument: 'restservices/addp/v1/faqservice/supportArticle/',\r\n getSupportDocumentMock: ['assets/mock/manageInventory/supportLock.json',\r\n 'assets/mock/manageInventory/supportWipe.json',\r\n 'assets/mock/manageInventory/supportLock.json'\r\n ],\r\n careAuthTokenServiceUrlMock: 'assets/mock/care/auth.json',\r\n careUserProfileUrlMock: 'assets/mock/care/userProfile.json',\r\n careAuthTokenWithoutFanIdServiceUrlMock: 'assets/mock/care/auth.json',\r\n careMultiFanMock: 'assets/mock/care/multifan.json',\r\n careSearchFanUrlMock: 'assets/mock/care/verify.json',\r\n careUserProfileUrl: 'restservices/addp/v1/licservice/aaf/inquire/permissions',\r\n careAuthTokenWithoutFanIdServiceUrl: 'restservices/addp/v1/licservice/csp/authenticate',\r\n careMultiFan: 'restservices/addp/v1/licservice/agreement/inquire/fans',\r\n careSearchFanUrl: 'restservices/addp/v1/licservice/fan/verify/',\r\n careUpdateEmail: 'restservices/addp/v1/licservice/customer/updateEmail',\r\n getuploadfiles: 'restservices/admins/v1/abm/uidetails',\r\n getcareabmdetails: 'restservices/admins/v1/abm/adminsOrdersUi',\r\n getcarekmedetails: 'restservices/admins/v1/kme/adminOrdersKME',\r\n getcareztedetails: 'restservices/admins/v1/zte/adminOrdersZTE',\r\n getcareFeDetails: 'restservices/admins/v1/query/default/ABMOrgIDValidation', //feList\r\n //sendToAppleFeRequest: 'restservices/admins/v1/abm/facilitatedEnrollment',\r\n sendToAppleFeRequest: 'restservices/apple/abm/facilitatedEnrollment',\r\n getcareDeviceEnrollmentDetails: 'restservices/admins/v1/abm/adminsPendingABMTransaction',\r\n revisenotificationsettings: 'restservices/addp/v1/account/revisenotificationsettings',\r\n changeorgid:'/restservices/addp/v1/account/setup/changeorgid',\r\n enrollExistingDevice:'restservices/addp/v1/account/enrollexistingdevices',\r\n getBulkSchedulerRunTimeUrl:'restservices/admins/v1/abm/getSchedulerTriggeredDetails',\r\n getcareDmpWhiteistFans:'/restservices/admins/v1/query/default/DMPWhitelistFans', // dmpwhitelistfans\r\n saveDmpwhitelist: '/restservices/admins/v1/cms/default',\r\n deleteGroup: 'restservices/addp/v1/dashboard/deleteGroup',\r\n getInquireFanDetails: 'restservices/addp/v1/account/inquireFanDetails',\r\n getInquireProfile: 'restservices/addp/v1/dashboard/profilesummary',\r\n abmfeDepResellerId: '6FFA140',\r\n accessoriesLink: 'https://test12-www.wireless.att.com/business/shop/shop_cru_home.jsp?fromNewAccessoryPage=false&_requestid=3927'\r\n },\r\n 'prod': {\r\n useMock: false,\r\n ticketProductionUpdateURL: 'restservices/admins/v1/cms/default/Ticket',\r\n updateProfile: 'restservices/sapmp/v1/profile/updateProfile',\r\n ticketProductionURL: 'restservices/admins/v1/query/default/Ticket',\r\n ticketUpdateURL: 'restservices/admins/v1/cms/test/Ticket',\r\n ticketURL: 'restservices/admins/v1/query/test/Ticket',\r\n viewHeaders: 'restservices/sapmp/v1/profile/viewHeaders',\r\n validateUser: 'restservices/sapmp/v1/profile/validateUser',\r\n deviceCountSummary: 'restservices/addp/v1/dashboard/deviceCount',\r\n getSamsungId: 'restservices/v1/sapmp/accountmanagement/samsung/validate',\r\n samsungValidate: 'restservices/v1/sapmp/accountmanagement/samsung/validate',\r\n zteIdValidate: 'restservices/v1/sapmp/accountmanagement/google/validate',\r\n appleOrgValidate: 'restservices/v1/sapmp/accountmanagement/apple/validate',\r\n tranIdValidate: 'restservices/v1/sapmp/accountmanagement/apple/checkTransactionStatus',\r\n createZtpAccount: 'restservices/v1/sapmp/accountmanagement/google/create',\r\n initialUrl: 'assets/contents/initailsignup/initialsignup.json',\r\n mdmDetails: 'restservices/v1/sapmp/accountmanagement/product',\r\n catalogEfotaForm: 'restservices/edit/v1/efotaenrollment/',\r\n fivegEnrollmentUrl: 'restservices/addp/v1/account/5genrollment/request',\r\n enrollDetails: 'assets/contents/enrollmentTool/enrollmentTool.json',\r\n productConfiguratorDetails: 'assets/mock/productConfigurator.json',\r\n fandetails: 'assets/mock/fan.json',\r\n cartUrl: 'assets/mock/cartService.json',\r\n bandetails: 'restservices/sapmp/v1/checkout/billing/getBansByFan/',\r\n ctndetails: 'restservices/sapmp/v1/checkout/billing/getCtnsByBan/',\r\n configurationUrl: 'assets/mock/configurations.json',\r\n validateCartUrl: 'restservices/sapmp/v0.5/cart/validate/',\r\n gridDataUrl: 'assets/mock/mockgriddata.json',\r\n prodLicense: 'assets/mock/productlisence.json',\r\n createUserUrl: 'assets/mock/createUser.json',\r\n profilesPageSize: 100,\r\n ctnPageSize: 45,\r\n homePageUrl: 'assets/cms/homePage.json',\r\n homePageFirstNetUrl: 'assets/cms/homePageFirstNet.json',\r\n homePageCms: 'restservices/cms/v1/document/home',\r\n contactdetails: 'assets/cms/contact.json',\r\n fncontactdetails: 'assets/cms/contact_fn.json',\r\n xmlUrl: 'assets/xml/premierxml.xml',\r\n\r\n // Catalog\r\n catalogServiceUrl: 'restservices/sapmp/v1/catalog/productDetails/products/' + ENV_PORTAL_DOMAIN + '/',\r\n // catalogServiceUrl: 'restservices/sapmp/v1/catalog/productDetails/products/',\r\n catalogColumnCount: '3', // TODO: Need to confirm with developer\r\n pricingupdate: 'restservices/sapmp/v1/catalog/products/priceDetails/',\r\n cartServiceUrl: 'restservices/sapmp/v1/cart/addCart',\r\n productSpecificationUrl: 'restservices/sapmp/v1/catalog/products/configurations',\r\n productTncUrl: 'restservices/sapmp/v1/catalog/products/tnc/' + ENV_PORTAL_DOMAIN + '/',\r\n changeProductUrl: 'restservices/sapmp/v1/catalog/products/priceDetails/expressCheckout',\r\n getPricingUpdateForDCMcode: 'restservices/sapmp/v1/catalog/products/priceDetails/manageProduct',\r\n\r\n // Subcription Service\r\n getBanUrl: 'restservices/sapmp/v1/company/accountList/',\r\n getCtnUrl: 'restservices/sapmp/v1/company/subscriptionList/',\r\n\r\n subscriptionUrl: 'restservices/sapmp/v1/companies/{companyid}/inventory/service?serviceType=browseProduct',\r\n manageLicensesUrl: 'restservices/sapmp/v1/companies/{companyid}/inventory/service',\r\n setUpdateUrl: 'restservices/sapmp/v1/companies/inventory/service/',\r\n ValidateChangeProduct: 'restservices/sapmp/v1/companies/{companyid}/inventory/service?serviceType=changeProduct&billingClientId=',\r\n premierUrl: 'restservices/sapmp/v1/premier/premierRedirection/',\r\n addUserUrl: 'restservices/sapmp/v1/companies/{companyid}/employees/addUser',\r\n bulkAssignUnAssignUrl: 'restservices/sapmp/v1/companies/',\r\n ctnValidationUrl: 'restservices/sapmp/v1/companies/{companyid}/inventory/service',\r\n permissionUrl: 'restservices/sapmp/v1/permissions/',\r\n tokenGenerationUrl: 'restservices/sapmp/v1/profile/tokengeneration/',\r\n userServiceUrl: 'restservices/sapmp/v1/user/',\r\n authTokenServiceUrl: 'restservices/sapmp/v1/user/login/',\r\n submitConfirmOrder: 'restservices/sapmp/v1/cart/order/',\r\n cspGroupValidationUrl: 'restservices/sapmp/v0.5/user/validateCSPGroup/',\r\n loggerServiceUrl: 'restservices/sapmp/v0.5/catalog/products/logging/',\r\n timeOut: '8000',\r\n getUserInfo: 'assets/mock/users.json',\r\n userSummary: 'assets/mock/usersummary-',\r\n singleProductUrl: 'restservices/sapmp/v1/companies/',\r\n userEdit: 'restservices/sapmp/v1/companies/',\r\n getAssignUnassignProductDetails: 'api/v1/companies/',\r\n userRemove: 'restservices/sapmp/v1/companies/',\r\n getManageUserCtnUrl: 'restservices/sapmp/v1/companies/',\r\n mockGridDataUrl: 'assets/mock/mock-griddata-page.json',\r\n getUserSearch: 'restservices/sapmp/v1/companies/',\r\n productLicenseUrl: 'restservices/sapmp/v1/companies/',\r\n unAssignUrl: 'restservices/sapmp/v1/companies/',\r\n profilePerm: 'restservices/sapmp/v1/profile/profileAndPermsInfo',\r\n bulkUploadServiceUrl: 'restservices/sapmp/v1/company/file/upload',\r\n getProductAndPriceDetailsFromCSI: 'restservices/sapmp/v1/company/inquireMobileProductsOrder',\r\n getStatsTops: 'restservices/sapmp/v1/companies/{companyid}/top/{offercount}?breakdown=false',\r\n getStatsUsers: 'restservices/sapmp/v1/companies/{companyid}/stats',\r\n getStatsReport: 'restservices/sapmp/v1/company/file/download/userSummaryReport',\r\n getPricingForOwnedProduct: 'restservices/sapmp/v1/company/inquireMobileProductsOrder',\r\n bulkReviewUrl: 'restservices/sapmp/v1/companies/{companyId}/employees/bulk',\r\n getProductFanCtnDetails: 'assets/mock/manage_users.json',\r\n searchUsersUrl: 'restservices/sapmp/v1/companies/',\r\n cartOrderUrl: 'restservices/sapmp/v1/cart/order/modify/modifyOrder',\r\n changeCartOrderUrl: 'restservices/sapmp/v1/cart/order/',\r\n tokenRefresh: 'restservices/sapmp/v1/profile/refresh',\r\n haloAuthenticateUrl: 'restservices/sapmp/v1/profile/verifylogin',\r\n validateFanUrl: 'restservices/sapmp/v1/cart/addCart',\r\n priceDetailUrl: 'restservices/sapmp/v1/catalog/products/modifyProduct/priceDetails',\r\n WelcomeUrl: 'assets/contents/Welcome/welcome.json',\r\n faqServiceUrl: 'restservices/addp/v1/faqservice/getAll',\r\n settingsFormData: 'assets/mock/settingsFormData.json',\r\n faqServiceUrlMock: 'assets/mock/Faq/faqService.json',\r\n settingsFormConfig: 'assets/mock/formConfig.json',\r\n getFANList: 'restservices/addp/v1/account/summary',\r\n getprofileList: 'restservices/addp/v1/account/settings',\r\n getAppList: 'restservices/addp/v1/account/applications',\r\n getTNC: 'restservices/addp/v1/account/configuration/tnc',\r\n submitSignup: 'restservices/addp/v1/cart/signup-setup',\r\n submitGroup : 'restservices/addp/v1/dashboard/groupingImeis',\r\n updateGroupName: 'restservices/addp/v1/dashboard/updateGroup',\r\n getGroupDevices: 'restservices/addp/v1/dashboard/getDevicesGroups',\r\n getManageGroupsUrl:'restservices/addp/v1/dashboard/manageGroups',\r\n submitSignupInProgress: 'restservices/addp/v1/cart/signupinprogress',\r\n submitCancelParticipation: 'restservices/addp/v1/cart/cancel',\r\n cancelOEMUrl: 'restservices/addp/v1/cart/canceloem',\r\n createProfile: 'restservices/addp/v1/account/setup',\r\n updateProfileName: 'restservices/addp/v1/account/profiles',\r\n getFANListMock: ['assets/mock/signup/accounts/initialSignupFANList.json',\r\n 'assets/mock/signup/accounts/allFANList.json',\r\n 'assets/mock/signup/accounts/newNRevisedFANList.json',\r\n 'assets/mock/signup/accounts/onlyRevisedFANList.json'],\r\n profilePermissionUrl: 'assets/mock/getProfile_Read_NoFAN.json',\r\n learnPageUrl: 'assets/mock/learnPage.json',\r\n profileListUrl: ['assets/mock/signup/settings/profileListLT20.json',\r\n 'assets/mock/signup/settings/profileListGT20.json'],\r\n gridAppDataUrl: 'assets/mock/signup/applications/getappdetail.json',\r\n getProfileUrl: 'assets/mock/getprofiledetail.json',\r\n profilePermMock: ['assets/mock/profilePerm/readOnly.json',\r\n 'assets/mock/profilePerm/partial.json',\r\n 'assets/mock/profilePerm/full.json',\r\n 'assets/mock/profilePerm/none.json'],\r\n fanSignupStatusUrl: ['assets/mock/fanSignedUpStatus/all.json',\r\n 'assets/mock/fanSignedUpStatus/some.json',\r\n 'assets/mock/fanSignedUpStatus/none.json'\r\n ],\r\n manageInventoryPageUrl: 'assets/mock/manageInventory/manageInventory.json',\r\n deviceDeploymentSummaryUrl: 'assets/mock/deployment_status_list.json',\r\n companyFanStatusUrl: 'assets/mock/company_fan_status.json',\r\n appleCertificateUrl: 'assets/mock/appleCertificateStatus.json',\r\n devicesSummaryMockUrl: 'assets/mock/devicesSummary.json',\r\n devicesSummaryUrl: 'restservices/addp/v1/dashboard/devices',\r\n ctnDetailsMockUrl: 'assets/mock/manageInventory/mockCtnDetails.json',\r\n ctnDetailsUrl: 'restservices/addp/v1/dashboard/ctninfo',\r\n ctnUpdateUrl: 'restservices/addp/v1/account/ctnUpdate/request',\r\n ctnNumberUrl: 'assets/mock/ctnNumber/ctnNumbers.json',\r\n imeiNumberUrl: 'assets/mock/imeiNumber/imeiNumbers.json',\r\n messageFormJson: 'assets/mock/messageForm.json',\r\n fanProfileUrl: 'restservices/addp/v1/dashboard/profileinfo',\r\n singleFanProfileUrl: 'assets/mock/singleFanProfile/fanDetails.json',\r\n dashboardSummary: 'restservices/addp/v1/dashboard/accountsummary',\r\n triggerActiveFans: 'restservices/addp/v1/dashboard/dataload',\r\n manyFanProfileUrl: 'assets/mock/singleFanProfile/manyFanDetails.json',\r\n sendSMSFanList: 'assets/mock/sendSMSFanMock.json',\r\n sendSmsMockJson: 'assets/mock/sendSmsCtnMock.json',\r\n notificationClient:'restservices/addp/v1/notificationservice/efotaReportRequestEmail',\r\n notificationServiceForm: 'restservices/addp/v1/notificationservice/form',\r\n sendSMSUrl: 'restservices/addp/v1/notificationservice/manageSms',\r\n abridgedList: 'assets/mock/abridgedFANList.json',\r\n notificationsUrlMock: 'assets/mock/notifications-alerts.json',\r\n notificationsUrl: 'restservices/addp/v1/notification/alert/',\r\n contentUrl: {\r\n signup: {\r\n accounts: 'assets/contents/signup/accounts.json',\r\n settings: 'assets/contents/signup/settings.json',\r\n applications: 'assets/contents/signup/applications.json',\r\n startdate: 'assets/contents/signup/startdate.json',\r\n review: 'assets/contents/signup/review.json',\r\n confirm: 'assets/contents/signup/confirm.json'\r\n },\r\n sendSMS: {\r\n page: 'assets/contents/sendSMS/message.json',\r\n modal: 'assets/contents/sendSMS/message-modal.json'\r\n },\r\n manageInventory: {\r\n manageInventoryPageUrl: 'assets/contents/manageInventory/manageInventory.json',\r\n deviceInventory: 'assets/contents/manageInventory/deviceInventory.json',\r\n ctnViewData: 'assets/contents/manageInventory/viewCtnPageData.json',\r\n deviceLockWipeDetailsUrl: 'assets/contents/manageInventory/deviceLockWipe.json',\r\n deviceStatusUrlMock: 'assets/contents/manageInventory/deviceLockStatus.json',\r\n deviceStatusUrl: 'restservices/addp/v1/device',\r\n getUpdatedCtnDetailsUrlMock: 'assets/contents/manageInventory/updatedCtnDetails.json'\r\n },\r\n dashboard: {\r\n dashboardData: 'assets/contents/dashboard/dashboardData.json'\r\n },\r\n applecertificate: {\r\n info: 'assets/contents/appleCertificate/info.json',\r\n upload: 'assets/contents/appleCertificate/upload.json'\r\n },\r\n cancelParticipation: {\r\n cancel: 'assets/contents/cancelParticipation/cancel/cancel.json',\r\n review: 'assets/contents/cancelParticipation/review/review.json',\r\n confirm: 'assets/contents/cancelParticipation/confirm/confirm.json',\r\n }\r\n },\r\n deviceInventoryDetailsUrl: 'assets/mock/deviceInventory/deviceInventoryDetails.json',\r\n getProfileStatusUrl: 'restservices/addp/v1/dashboard/deviceinventory',\r\n getProfileStatusMockUrl: 'assets/mock/deviceInventory/getProfileStatus.json',\r\n getFanStatusSummarymock: ['assets/mock/dashboard/initialSignup.json',\r\n 'assets/mock/dashboard/signupInProgress.json',\r\n 'assets/mock/dashboard/errorInSignup.json',\r\n 'assets/mock/dashboard/awaitingSetup.json',\r\n 'assets/mock/dashboard/setupInProgress.json',\r\n 'assets/mock/dashboard/setupCompleted.json',\r\n 'assets/mock/dashboard/deviceEnrollInProgress.json',\r\n 'assets/mock/dashboard/deviceEnrollError.json',\r\n 'assets/mock/dashboard/multiFanEnrolled.json',\r\n 'assets/mock/dashboard/singleFanEnrolled.json'\r\n ],\r\n getAppleSummaryMock: ['assets/mock/apple-certificate/notInstalled.json',\r\n 'assets/mock/apple-certificate/installed.json',\r\n 'assets/mock/apple-certificate/expired.json',\r\n 'assets/mock/apple-certificate/processing.json'],\r\n getAppleSummary: 'restservices/addp/v1/apple/inquire',\r\n generateCSR: 'restservices/addp/v1/apple/csr',\r\n deleteAppleCertificate: 'restservices/addp/v1/apple/delete',\r\n uploadAppleCertificate: 'restservices/addp/v1/apple/upload',\r\n getReportRequestUrl: 'restservices/addp/v1/report/snapshot/all',\r\n getReportRequestOEMUrl: 'restservices/addp/v1/report/snapshot/reportByFan',\r\n efotaRetrieveReport: 'restservices/addp/v1/report/efota/retrieveReport',\r\n efotaUpdateReport: 'restservices/addp/v1/report/efota/updateReport',\r\n efotaEnrollAccount: '/restservices/addp/v1/account/efota/signup',\r\n efotaGetReportFile: 'restservices/addp/v1/report/efota/getReportAttachment/',\r\n efotaChangeRequests: 'restservices/addp/v1/account/efota/getChangeRequests',\r\n efotaChangeRequest: 'restservices/addp/v1/account/efota/changeRequest',\r\n efotaAdminChangeRequests: 'restservices/admins/v1/query/default/Ticket',\r\n efotaUpdateChangeRequest: 'restservices/admins/v1/cms/default/Ticket/',\r\n efotaDisconnectAccount : 'restservices/admins/v1/efota/disconnect/',\r\n efotaEmailReport: 'restservices/addp/v1/report/efota/emailReportAttachment',\r\n efotaEnrollments: 'restservices/admins/v1/query/default/efotaenrollment',\r\n getTransactionReportRequestUrlMock: 'assets/mock/mockReportSuccess.json',\r\n getTransactionReportRequestUrl: 'restservices/addp/v1/report/transaction/',\r\n getReportPageConfigUrl: 'assets/mock/reportPageConfig.json',\r\n getCTN: 'restservices/addp/v1/report/validate/fan',\r\n getCarePageConfigUrl: 'assets/mock/care/carePageConfig.json',\r\n submitCareSelectedParticipation: 'lic/addp/v1/Care/submit',\r\n getSearchFanPageConfigUrl: 'assets/mock/care/searchFanConfig.json',\r\n getFanSearchFanDetails:'restservices/edit/v1/efotaenrollment/',\r\n getFanDetails: 'restservices/admins/v1/cms/default/efotaenrollment/',\r\n updateEnrollStatus: 'restservices/admins/v1/efota/default/efotaenrollment/',\r\n getAllFanDetails:'restservices/edit/v1/efotaenrollment',\r\n careUserServiceUrl: 'restservices/addp/v1/licservice/inquire/profile',\r\n getSupportDocument: 'restservices/addp/v1/faqservice/supportArticle/',\r\n getSupportDocumentMock: ['assets/mock/manageInventory/supportLock.json',\r\n 'assets/mock/manageInventory/supportWipe.json',\r\n 'assets/mock/manageInventory/supportLock.json'\r\n ],\r\n careAuthTokenServiceUrlMock: 'assets/mock/care/auth.json',\r\n careUserProfileUrlMock: 'assets/mock/care/userProfile.json',\r\n careAuthTokenWithoutFanIdServiceUrlMock: 'assets/mock/care/auth.json',\r\n careMultiFanMock: 'assets/mock/care/multifan.json',\r\n careSearchFanUrlMock: 'assets/mock/care/verify.json',\r\n careUserProfileUrl: 'restservices/addp/v1/licservice/aaf/inquire/permissions',\r\n careAuthTokenWithoutFanIdServiceUrl: 'restservices/addp/v1/licservice/csp/authenticate',\r\n careMultiFan: 'restservices/addp/v1/licservice/agreement/inquire/fans',\r\n careSearchFanUrl: 'restservices/addp/v1/licservice/fan/verify/',\r\n careUpdateEmail: 'restservices/addp/v1/licservice/customer/updateEmail',\r\n upgradeDeviceServiceUrl: 'service/addp/v1/fileuploadservice/upgradedevice/upload',\r\n getuploadfiles: 'restservices/admins/v1/abm/uidetails',\r\n getcareabmdetails: 'restservices/admins/v1/abm/adminsOrdersUi',\r\n getcarekmedetails: 'restservices/admins/v1/kme/adminOrdersKME',\r\n getcareztedetails: 'restservices/admins/v1/zte/adminOrdersZTE',\r\n getcareFeDetails: 'restservices/admins/v1/query/default/ABMOrgIDValidation', //feList\r\n //sendToAppleFeRequest: 'restservices/admins/v1/abm/facilitatedEnrollment',\r\n sendToAppleFeRequest: 'restservices/apple/abm/facilitatedEnrollment',\r\n getcareDeviceEnrollmentDetails: 'restservices/admins/v1/abm/adminsPendingABMTransaction',\r\n revisenotificationsettings: 'restservices/addp/v1/account/revisenotificationsettings',\r\n changeorgid:'/restservices/addp/v1/account/setup/changeorgid',\r\n enrollExistingDevice:'restservices/addp/v1/account/enrollexistingdevices',\r\n getBulkSchedulerRunTimeUrl:'restservices/admins/v1/abm/getSchedulerTriggeredDetails',\r\n getcareDmpWhiteistFans:'/restservices/admins/v1/query/default/DMPWhitelistFans', // dmpwhitelistfans\r\n saveDmpwhitelist: '/restservices/admins/v1/cms/default',\r\n deleteGroup: 'restservices/addp/v1/dashboard/deleteGroup',\r\n getInquireFanDetails: 'restservices/addp/v1/account/inquireFanDetails',\r\n getInquireProfile: 'restservices/addp/v1/dashboard/profilesummary',\r\n abmfeDepResellerId: '722D390',\r\n accessoriesLink: 'https://www.wireless.att.com/business/shop/shop_cru_home.jsp?fromNewAccessoryPage=false&_requestid=3666'\r\n }\r\n};","export const DEVICE_DEPLOYMENT_SUMMARY = {\n ACTIVE: {\n status: null, statusMessage: null,\n systemFailure: 'The device inventory is not available at the moment. Please try again later.',\n btnText: 'View devices',\n btnAction: 'manageInventory/deviceInventory',\n btnParam: {},\n fieldpermission: {\n profile: 'manageInventory.fanDeploymentProfile',\n deviceInventory: 'manageInventory.deviceInventory'\n },\n hideDeviceChart: false\n },\n INACTIVE: {\n status: null, statusMessage: null,\n systemFailure: 'The device inventory is not available at the moment. Please try again later.',\n btnText: 'View devices',\n btnAction: 'manageInventory/deviceInventory',\n btnParam: {},\n fieldpermission: {\n profile: 'manageInventory.fanDeploymentProfile',\n deviceInventory: 'manageInventory.deviceInventory'\n },\n hideDeviceChart: false\n },\n PROCESSING: {\n status: 'Processing',\n // statusMessage: 'We\\'re processing your request. We\\'ll email you when it\\'s ready.',\n statusMessage: 'The device inventory report is not available at the moment. Please try again later.',\n btnText: 'View devices',\n btnAction: 'manageInventory/deviceInventory',\n btnParam: {},\n fieldpermission: {\n profile: 'manageInventory.fanDeploymentProfile',\n btnPermission: 'manageInventory.deviceInventory'\n },\n hideDeviceChart: false,\n hideLegend: false\n },\n FUTURE_DEPLOYMENT: {\n status: null,\n systemFailure: 'The device inventory is not available at the moment. Please try again later.',\n statusMessageHeader: 'Future Enrollment',\n statusMessage: 'Enrollment is scheduled in the future.',\n btnText: 'View devices',\n btnAction: 'manageInventory/deviceInventory',\n btnParam: {},\n fieldpermission: {\n profile: 'manageInventory.fanDeploymentProfile',\n deviceInventory: 'manageInventory.deviceInventory'\n },\n hideDeviceChart: false\n },\n NO_SETUP: {\n status: 'Set up accounts',\n statusMessage: 'Your accounts have been added. Complete the setup process to enroll your devices.',\n statusMessageZTE: 'foundation accounts have been added. Complete the setup process to enroll your devices.',\n btnText: 'Continue',\n btnAction: 'signup',\n btnParam: {},\n fieldpermission: {\n profile: 'manageInventory.fanDeploymentProfile',\n btnPermission: 'manageInventory.signup'\n },\n deviceStatusSummary: [\n {\n 'status': 'READY_TO_SETUP',\n 'noOfDevices': 0\n }\n ],\n hideDeviceChart: true\n },\n AWAITING_SIGNUP: {\n status: 'Add accounts',\n statusMessage: 'To enroll the devices on these accounts, add the accounts.',\n btnText: 'Add accounts',\n btnAction: 'welcome',\n //btnParam: {tab: 'awaitingSignupFanList'},\n fieldpermission: {\n profile: 'manageInventory.fanDeploymentProfile',\n btnPermission: 'manageInventory.signup'\n },\n deviceStatusSummary: [\n {\n 'status': 'AWAITING_SIGNUP',\n 'noOfDevices': 0\n }\n ],\n hideDeviceChart: true\n },\n NO_RESULT: {\n status: 'No Results',\n // tslint:disable-next-line:max-line-length\n statusMessage: 'To find a foundation account, you must enter the full account number. If no results are found, the account you\\'re searching for may need to be added or set up.',\n btnText: null,\n btnAction: null,\n hideDeviceChart: true,\n hideLegend: true\n },\n};\n","export const deviceInventory = {\n\n singleFanDetail:\n {\n columnDefinitions: [\n {\n caption: 'Wireless user', field: 'ctnNumber', type: 'CUSTOMTEMPLATE', sortDirection: 'Asc',\n enableSorting: true, enableFilter: false, cssClass: '', priority: 1, customTemplate: 'callBackAppNameCellTemplate'\n },\n {\n caption: 'IMEI', field: 'imei', type: 'CUSTOMTEMPLATE', sortDirection: 'Asc',\n enableSorting: true, enableFilter: false, cssClass: '', priority: 4, customTemplate: 'callBackImei'\n },\n {\n caption: 'Device model', field: 'model', type: 'TEXT', sortDirection: 'Asc',\n enableSorting: true, enableFilter: false, cssClass: '', priority: 3, customTemplate: ''\n },\n {\n caption: 'Status', field: 'status', type: 'CUSTOMTEMPLATE', sortDirection: 'Asc',\n enableSorting: true, enableFilter: false, cssClass: '', priority: 2, customTemplate: 'callBackProfileStatus'\n }\n ,\n {\n caption: 'Group', field: 'groupName', type: 'TEXT', sortDirection: 'Asc',\n enableSorting: true, enableFilter: false, cssClass: '', priority: 5, customTemplate: ''\n }\n ],\n },\n\n singleFanDetailOEM:\n {\n columnDefinitions: [\n {\n caption: 'Wireless user', field: 'ctnNumber', type: 'CUSTOMTEMPLATE', sortDirection: 'Asc',\n enableSorting: true, enableFilter: false, cssClass: '', priority: 1, customTemplate: 'callBackAppNameCellTemplate'\n },\n {\n caption: 'IMEI', field: 'imei', type: 'CUSTOMTEMPLATE', sortDirection: 'Asc',\n enableSorting: true, enableFilter: false, cssClass: '', priority: 4, customTemplate: 'callBackImei'\n },\n {\n caption: 'Device model', field: 'model', type: 'TEXT', sortDirection: 'Asc',\n enableSorting: true, enableFilter: false, cssClass: '', priority: 3, customTemplate: ''\n },\n {\n caption: 'Status', field: 'status', type: 'CUSTOMTEMPLATE', sortDirection: 'Asc',\n enableSorting: true, enableFilter: false, cssClass: '', priority: 2, customTemplate: 'callBackProfileStatusoem'\n }\n ,\n {\n caption: 'Group', field: 'groupName', type: 'TEXT', sortDirection: 'Asc',\n enableSorting: true, enableFilter: false, cssClass: '', priority: 5, customTemplate: ''\n }\n ],\n },\n reviewGroupDevices:\n {\n columnDefinitions: [\n {\n caption: 'Wireless User', field: 'ctnNumber', type: 'CUSTOMTEMPLATE', sortDirection: 'Asc',\n enableSorting: false, enableFilter: false, cssClass: 'wireless-col', priority: 1, customTemplate: 'callBackAppNameCellTemplate'\n },\n {\n caption: 'IMEI', field: 'imei', type: 'CUSTOMTEMPLATE', sortDirection: 'Asc',\n enableSorting: false, enableFilter: false, cssClass: 'wireless-col', priority: 4, customTemplate: 'callBackImei'\n },\n {\n caption: 'Device Model', field: 'model', type: 'TEXT', sortDirection: 'Asc',\n enableSorting: false, enableFilter: false, cssClass: 'wireless-col', priority: 3, customTemplate: ''\n },\n {\n caption: 'Status', field: 'status', type: 'CUSTOMTEMPLATE', sortDirection: 'Asc',\n enableSorting: false, enableFilter: false, cssClass: '', priority: 2, customTemplate: 'callBackProfileStatus'\n },\n {\n caption: 'Group', field: 'group', type: 'TEXT', sortDirection: 'Asc',\n enableSorting: false, enableFilter: false, cssClass: 'wireless-col', priority: 5, customTemplate: ''\n }\n ],\n },\n selectDevices:\n {\n columnDefinitions: [\n {\n caption: 'Wireless User', field: 'ctnNumber', type: 'CUSTOMTEMPLATE', sortDirection: 'Asc',\n enableSorting: true, enableFilter: false, cssClass: 'wireless-col wireless-align', priority: 1, customTemplate: 'callBackAppNameCellTemplate'\n },\n {\n caption: 'IMEI', field: 'imei', type: 'CUSTOMTEMPLATE', sortDirection: 'Asc',\n enableSorting: true, enableFilter: false, cssClass: 'wireless-col', priority: 4, customTemplate: 'callBackImei'\n },\n {\n caption: 'Device Model', field: 'model', type: 'TEXT', sortDirection: 'Asc',\n enableSorting: true, enableFilter: false, cssClass: 'wireless-col', priority: 3, customTemplate: ''\n },\n {\n caption: 'Status', field: 'status', type: 'CUSTOMTEMPLATE', sortDirection: 'Asc',\n enableSorting: true, enableFilter: false, cssClass: 'status-cols', priority: 5, customTemplate: 'callBackProfileStatus'\n },\n {\n caption: 'Group', field: 'group', type: 'TEXT', sortDirection: 'Asc',\n enableSorting: true, enableFilter: false, cssClass: 'wireless-col-grp', priority: 5, customTemplate: ''\n }\n ],\n }\n}; \n","export const DROPDOWN = {\n 'os' : [{label: 'Select', value: ''}, {label: 'Android', value: 'android'},\n {label: 'IOS', value: 'ios'}, {label: 'Mac OS X', value: 'macosx'}, {label: 'Ubuntu', value: 'ubuntu'},\n {label: 'Windows', value: 'windows'}],\n 'ctn': [{label: 'Select', value: ''}]\n\n};\n","export const ERRCODES = {\n '404': 'No data found.',\n '503': 'We are upgrading the site. Please come back later.',\n '407': 'We are upgrading the site. Please come back later.',\n '409 ': 'Price Info not matched.',\n '408': 'We couldn\\'t complete your request. Please try again later.',\n '400 ': 'Requested Cart data not valid.',\n '401 ': 'Unauthorized.',\n '412': 'Request Header Not Found.',\n '0': 'We are upgrading the site. Please come back later.',\n '500': 'Sorry! There was an error while processing your request. Please try again!',\n 'undefined': ' undefined',\n 'FETCH_PAGE': 'Error while loading Page contents.',\n 'FETCH_FANSUMMARY': 'Error while loading account Summary.',\n 'FETCH_DEVICESUMMARY': 'Error while loading Device Summary.',\n 'FETCH_APPLECERT_STATUS': 'Error while loading Apple Certificate Status.',\n 'genericErrorMessage' : \"Something went wrong. We're unable to process your request. Please try again later.\",\n 'ABM_FE_GENERIC_ERROR_MESSAGE' : 'Something went wrong. Please enroll in Apple Business Manager with Apple and return to AT&T Device Management Program to complete signup.',\n 'ABM_FE_COMMON_ERROR_MESSAGE': 'Something went wrong. Please try again later.',\n 'ABM_FE_INVALID_DUNS_ERROR_MESSAGE': \"We're sorry. We were not able to validate your DUNS information. Please contact your account manager.\",\n};\n","export const ERRORCODE = {\n // tslint:disable-next-line:max-line-length\n '404': { label: 'Return to landing page.', errmsg: 'Page Not Found', value: \"We can't seem to find the page you're looking for.\" },\n '403': { label: 'Access not allowed', errmsg: 'Access not allowed', value: 'To access this page, ask your representative to verify your permissions for this account.' },\n '401': { label: 'Error', errmsg: 'Access not allowed', value: 'Required roles are not present in the attESSec cookie.' },\n '440': { label: 'Error', errmsg: '', value: 'attESSec cookie is expired.' },\n '500': { label: 'Error', errmsg: 'Something isn\\'t working', value: 'Something occurred. Please try after some time.' },\n // tslint:disable-next-line:max-line-length\n 'loginFailure': { label: 'Error', errmsg: 'Something isn\\'t working', value: 'We were unable to log you in. Check the spelling of your username and password.' },\n 'E100': { label: 'Error', errmsg: '', value: 'Insufficient Permission.' },\n 'E200': { label: 'Error', errmsg: '', value: 'Service Not Available.' },\n '400': { label: 'Error', errmsg: '', value: 'Bad Request.' },\n 'E400': { label: 'Error', errmsg: '', value: 'FAN is not eligible for device management program.' },\n 'E401': { label: 'Error', errmsg: '', value: 'No attESSec cookies found.' },\n 'E402': { label: 'Error', errmsg: '', value: 'attESSec cookie is found but value is blank.' },\n 'E403': { label: 'Error', errmsg: '', value: 'attESSec cookie is expired.' },\n 'E404': { label: 'Error', errmsg: '', value: 'Fan Number(s) is/are Missing.' },\n // 'E405': { label: 'Error',errmsg:'', value: 'Required roles are not present in the attESSec cookie.' },\n // tslint:disable-next-line:max-line-length\n 'E405': { label: 'Access not allowed', errmsg: 'Access not allowed', value: 'To access this page, ask your representative to verify your permissions for this account.' },\n 'E406': { label: 'Error', errmsg: '', value: 'InquireFANByAgreement API is not returning FANS.' },\n 'E407': { label: 'Error', errmsg: '', value: 'This account does not have an authorized user for the device management program.' },\n 'E408': { label: 'Error', errmsg: '', value: 'This account does not have an authorized user for the device management program.' },\n 'E409': { label: 'Error', errmsg: '', value: 'Permisssion(s) is/are not available.' },\n 'E410': { label: 'Error', errmsg: '', value: 'User profile is not available.' },\n 'E411': { label: 'Error', errmsg: '', value: 'No FAN(s) is/are associated with email that user has entered.' },\n // tslint:disable-next-line:max-line-length\n 'E412': { label: 'Error', errmsg: '', value: 'We could not find the account number you entered. Enter a valid account number to continue' },\n 'E900': { label: 'Error', errmsg: '', value: 'Unknown Error.' },\n // tslint:disable-next-line:max-line-length\n // 'careError': { label: 'Error',errmsg:'Something isn\\'t working', value: 'This FAN is not valid. Please try with different FAN.' }\n\n 'fnabc': {\n\n '403': {\n label: 'Access not allowed',\n errmsg: 'Access not allowed',\n value: ' For help with program access, ask your representative to verify your permissions for this account. Or, call us at 800.574.7000, Monday through Friday, 8 a.m. to 10 p.m. ET.'\n },\n 'NO_ELIGIBILITY': {\n label: 'Access not allowed',\n errmsg: 'Access not allowed',\n value: 'For help with account access, ask your representative to verify your permissions for this account. Or, call us at 800.574.7000, Monday through Friday, 8 a.m. to 10 p.m. ET.'\n }\n\n }\n};\n","export const FANDATA = {\n columnDefinitions: [\n {\n caption: 'Foundation accounts using this profile:', field: 'fanId', type: 'CUSTOMTEMPLATE', sortDirection: 'Asc',\n enableSorting: true, enableFilter: true, cssClass: '', priority: 1, customTemplate: 'callBackAppNameCellTemplate'\n }\n ],\n pageDetails: {\n 'heading1': 'Deployment profile: ',\n 'heading2': 'Settings',\n 'newDevices': 'Network access control for new devices: ',\n 'existingDevices': 'Network access control for existing devices: ',\n 'noDateSetLabel': 'Not set',\n 'security': 'Security policy:',\n 'passcode': 'Passcode policy:',\n 'notification': 'Send notification by:',\n 'enrollment': 'Auto-enrollment: ',\n 'newDeviceDate': 'New device enrollment date:',\n 'existDeviceDate': 'Existing device enrollment date:',\n 'subHeading': 'Applications',\n 'profile' : 'Deployment profile:',\n 'mdmServiceHeading': 'Device management service',\n 'mdmService': 'Type: ',\n 'profileName': 'Profile Name:',\n 'supportArticle1': 'Support article 1',\n 'supportArticle2': 'Support article 2',\n 'supportArticle3': 'Support article 3',\n 'oemDetailsKme': 'Knox Mobile Enrollment ID:',\n 'oemDetailsZtp': 'Android™ zero-touch account ID:',\n 'mdmServiceIbm': 'IBM MaaS 360® lite',\n 'mdmServiceZtp': 'Android™',\n 'mdmServiceKme': 'Samsung Knox Mobile Enrollment'\n }\n};\n","export const imeiLookupModal = {\n columnDefinitions: [\n {\n caption: 'Wireless user', field: 'ctn', type: 'CUSTOMTEMPLATE', sortDirection: 'Asc',\n enableSorting: false, enableFilter: false, cssClass: '', priority: 1, customTemplate: 'callBackAppNameCellTemplate'\n },\n {\n caption: 'IMEI', field: 'imei', type: 'CUSTOMTEMPLATE', sortDirection: 'Asc',\n enableSorting: false, enableFilter: false, cssClass: '', priority: 3, customTemplate: 'callBackImei'\n },\n {\n caption: 'Status', field: 'status', type: 'CUSTOMTEMPLATE', sortDirection: 'Asc',\n enableSorting: false, enableFilter: false, cssClass: '', priority: 2, customTemplate: 'callBackProfileStatus'\n }\n ]\n}","export * from './breadcrumb.config';\nexport * from './dropdown.config';\nexport * from './config';\nexport * from './error-code.config'\nexport * from './tab.config';\nexport * from './permission.config';\nexport * from './user.config';\nexport * from './stepindicator.config';\nexport * from './product-details.config';\nexport * from './premier-logon.config';\nexport * from './premier-logon-fnabc.config';\nexport * from './review-order.config';\nexport * from './errors.config';\nexport * from './adobe-analytics.config';\nexport * from './mobile-pivot.config';\nexport * from './terms-and-conditions';\nexport * from './page-title.config';\nexport * from './learn.config';\nexport * from './mobile-pivots.config';\nexport * from './signup.config';\nexport * from './signup-setup.config';\nexport * from './chart.config';\nexport * from './deviceInventory.config';\nexport * from './imeilookup-modal.config';\nexport * from './device-deployment-summary.config';\nexport * from './apple-certificate-status.config';\nexport * from './fan-deployment-profile.config';\nexport * from './cancel-participation.config';\nexport * from './navigation.config';\nexport * from './terms-condictions.config';\nexport * from './login-error.config';\nexport * from './abm-fe.config';\n","export const ADDPPermissions = {\n NOT_ELIGIBLE: 'NOT_ELIGIBLE',\n NONE: 'NONE',\n READ_ONLY: 'READ_ONLY',\n PARTIAL: 'PARTIAL',\n FULL: 'FULL'\n};\n\nexport const ADDPPermissionMessages = {\n NotEligible: 'Sorry, Co. is not eligible. Contact your Sales Rep',\n NoPermission: 'Company is eligible, you lack permssions = can learn only',\n ReadOnlyPermission: 'Company is eligible, you have Read Only permssions = use hamburger menu to navigate',\n PartialUpdatePermission: 'Company is eligible, has partial permissions, contact your lead TCM for Sign-Up'\n};\n","export const LOGIN_ERROR = {\n\n '403': ' There was an error in retrieving profile information for you. Please clear cache and log in again.',\n '460': ' There was an error in retrieving profile information for you. Please clear cache and log in again.',\n '461': ' There was an error in retrieving profile information for you. Please clear cache and log in again.',\n '462': ' There was an error in retrieving profile information for you. Please clear cache and log in again.',\n '463': ' There was an error in retrieving profile information for you. Please clear cache and log in again.',\n '464': ' There was an error in retrieving profile information for you. Please clear cache and log in again.',\n '465': ' There was an error in retrieving profile information for you. Please clear cache and log in again.',\n '466': ' There was an error in retrieving profile information for you. Please clear cache and log in again.',\n '467': 'Your profile in Premier is missing first name or last name. Please contact Premier Support team @ 866.563.4703 to correct this. Your current session is defaulted with no permissions provisioned.',\n '468': 'We cannot log you in right now. Your profile in Premier is missing a phone number. Please contact Premier Support team @ 866.563.4703 to correct this.',\n '469': 'Your profile in Premier is missing email address. Please contact Premier Support team @ 866.563.4703 to correct this. Your current session is defaulted with no permissions provisioned.',\n '470': ' There was an error in retrieving profile information for you. Please clear cache and log in again.',\n '471': ' There was an error in retrieving profile information for you. Please clear cache and log in again.',\n '472': ' There was an error in retrieving profile information for you. Please clear cache and log in again.',\n '473': 'Your profile in MyATT is missing first name or last name. Please contact MyATT Support team @ 866.563.4703 to correct this. Your current session is defaulted with no permissions provisioned.',\n '474': 'We cannot log you in right now. Your profile in MyATT is missing an email address. Please contact MyATT Support team @ 866.563.4703 to correct this.',\n '475': ' There was an error in retrieving profile information for you. Please clear cache and log in again.',\n '476': ' There was an error in retrieving profile information for you. Please clear cache and log in again.',\n '477': ' There was an error in retrieving profile information for you. Please clear cache and log in again.',\n '478': 'Your profile in MyATT is missing phone number. Please contact MyATT Support team @ 866.563.4703 to correct this. Your current session is defaulted with no permissions provisioned.'\n\n}","/* This file will have the bread crumb details pertaining to each page of the application */\n\nexport const PIVOTS = {\n '/manage': 'Manage Product',\n '/manageProduct': 'Single Product Page',\n '/summary': 'UserSummary'\n};\n","export const MOBILEPIVOTS = {\n MANAGEINVENTORY: [\n { label: 'Manage Dashboard', routerLink: '/dashboard' }\n ],\n SINGLEFANDEVICEINVENTORY: [\n { label: 'Manage accounts', routerLink: '/manageInventory' },\n { label: 'Home', routerLink: '/home' }\n ],\n CTNINFO: [\n { label: 'Manage Deployment for all accounts', routerLink: '/manageInventory' },\n { label: 'Manage Dashboard', routerLink: '/dashboard' }\n ],\n SINGLEFANPROFILE: [\n { label: 'Manage Deployment for all accounts', routerLink: '/manageInventory' },\n { label: 'Manage Dashboard', routerLink: '/dashboard' }\n ],\n APPLECERTIFICATE: [\n { label: 'Manage Inventory', routerLink: '/manageInventory' },\n { label: 'Manage Dashboard', routerLink: '/dashboard' }\n ],\n CANCELPARTICIPATION: [\n { label: 'Manage Inventory', routerLink: '/manageInventory' },\n { label: 'Home', routerLink: '/home' }\n ],\n SMSPAGE: [\n { label: 'Home', routerLink: '/home' }\n ],\n SIGNUPPAGE: [\n { label: 'Back', routerLink: '/manageInventory' },\n { label: 'Manage Dashboard', routerLink: '/dashboard' }\n ],\n ENROLLMENTTOOL: [\n { label: 'Back', routerLink: '/manageInventory' },\n { label: 'Manage Dashboard', routerLink: '/dashboard' }\n ],\n PRODDUCTDETAILSPAGE: [\n { label: 'Home', routerLink: '/home' }\n ],\n};\n","export const NAVIGATION = {\n 'details': ['browse', 'productConfigurator', 'details'],\n 'productConfigurator': ['details', 'productConfigurator'],\n 'manageProduct': ['manageProduct', 'manage', 'user/add', 'manageUsers/action',\n 'manageProduct/modifyLicense', 'manageProduct/cancel-product', 'changeProduct', 'userSummary'],\n 'cart': ['cart', 'productConfigurator', 'checkout'],\n 'checkout': ['cart', 'checkout'],\n 'bulkUsers': ['bulkUsers', 'dashboard', 'manageUsers'],\n 'manageUsers': ['manageUsers', 'manage', 'manageProduct', 'dashboard'],\n 'changeProduct': ['manageProduct', 'changeProduct'],\n 'modifyLicense': ['manageProduct', 'manageProduct/modifyLicense', '/manageProduct/revieworderproduct'],\n 'revieworderproduct': ['manageProduct/revieworderproduct', 'manageProduct/modifyLicense'],\n 'cancel-product': ['manageProduct/cancel-product', 'manageProduct/revieworderproduct']\n};\n","export const PageTitle = {\n // 'sapmp' : {\n '/home' : 'Enroll, Manage and View Mobile Devices | AT&T Business Console',\n '/browse': 'AT&T Business Console - Browse',\n '/browse/details' : 'AT&T Business Console - Product Detail',\n '/productConfigurator' : 'AT&T Business Console - Product Configurator' ,\n '/cart' : 'AT&T Business Console - Shopping Cart' ,\n '/checkout/billing' : 'AT&T Business Console - Checkout - Billing and Payment',\n '/checkout/serviceConfiguration' : 'AT&T Business Console - Checkout - Service Configuration',\n '/checkout/reviewOrder' : 'AT&T Business Console - Checkout - Order Review',\n '/checkout/confirmOrder' : 'AT&T Business Console - Checkout - Order Confirmation',\n '/manage' : 'AT&T Business Console - Manage products',\n '/manageProduct' : 'AT&T Business Console - Manage product',\n '/user/add' : 'AT&T Business Console - Add a user',\n '/bulkUsers' : 'AT&T Business Console - Add multiple users',\n '/bulkUsers/bulk-action' : 'AT&T Business Console - Bulk users - Action',\n '/bulkUsers/bulk-confirm' : 'AT&T Business Console - Bulk users',\n '/bulkUsers/bulk-review' : 'AT&T Business Console - Bulk users - Review',\n '/bulkUsers/bulk-upload' : 'AT&T Business Console - Bulk users - Upload',\n '/manageUsers/action' : 'AT&T Business Console - Manage users - Action',\n '/manageUsers/products' : 'AT&T Business Console - Manage users - Products',\n '/manageUsers/review' : 'AT&T Business Console - Manage users - Review',\n '/manageUsers/users' : 'AT&T Business Console - Manage users',\n '/dashboard' : 'AT&T Business Console - Console dashboard',\n '/dashboard/dep' : 'AT&T Business Console - Console dashboard',\n '/dashboard/efota' : 'AT&T Business Console - Console dashboard',\n '/efota/enrollment/selectaccounts' : 'AT&T Business Console – E-FOTA Enrollment – Select Accounts',\n '/efota/enrollment/review' : 'AT&T Business Console – E-FOTA Enrollment - Review',\n '/efota/enrollment/confirm' : 'AT&T Business Console – E-FOTA Enrollment - Confirm',\n '/efota/reports' : 'AT&T Business Console – E-FOTA Reports',\n '/efota/reportrequest' : 'AT&T Business Console – E-FOTA Request Reports',\n '/efota/changerequests' : 'AT&T Business Console – E-FOTA Change Requests',\n '/efota/requestdetails' : 'AT&T Business Console – Change Request',\n '/fiveg/enrollment/selectaccounts' : 'AT&T Business Console – 5G Enrollment – Select Accounts',\n '/fiveg/enrollment/review' : 'AT&T Business Console – 5G Enrollment – Review',\n '/fiveg/enrollment/confirm' : 'AT&T Business Console – 5G Enrollment – Confirm',\n '/care/home' : 'DMP Admin – Home', \n '/care/efota' : 'DMP Admin – E-FOTA Enrollment',\n '/care/efotadetails' : 'DMP Admin – Enrollment Detail',\n '/care/efotareports' : 'DMP Admin – E-FOTA Enrolled Accounts',\n '/changeProduct' : 'AT&T Business Console - Change package',\n '/user/summary' : 'AT&T Business Console',\n '/user/edit' : 'AT&T Business Console - Edit user details',\n '/manageProduct/modifyLicense' : 'AT&T Business Console - Manage Product',\n '/manageProduct/cancel-product' : 'AT&T Business Console - Manage Product',\n '/welcome': 'AT&T Business Console - Welcome',\n '/manageInventory' : 'AT&T Business Console - Manage Devices',\n '/manageInventory/managenotification' : 'AT&T Business Console - Manage Notification',\n '/manageInventory/deviceInventory' : 'AT&T Business Console - Manage Deployment',\n '/groupingDevices/selectDevices' : 'AT&T Business Console - Group Devices',\n '/manageGroups' : 'AT&T Business Console - Manage Groups',\n '/manageInventory/ctnInfo' : 'AT&T Business Console - View CTN information',\n '/manageInventory/fanDeploymentProfile' : 'AT&T Business Console - View Single FAN Profile Information',\n '/manageInventory/manageAccounts' : 'AT&T Business Console - Edit Apple Organization ID',\n '/reports/transaction/reportType' : 'AT&T Business Console - Transaction History Report - Report type',\n '/reports/transaction/dateRange' : 'AT&T Business Console - Transaction History Report - Date range',\n '/reports/transaction/review' : 'AT&T Business Console - Transaction History Report - Review',\n '/reports/transaction/confirmation' : 'AT&T Business Console - Transaction History Report - Confirmation',\n '/appleCertificate/info': 'AT&T Business Console - Apple Certificate - Info',\n '/appleCertificate/upload': 'AT&T Business Console - Apple Certificate - Upload',\n '/cancelParticipation/selectfan': 'AT&T Business Console - Cancel Participation - Select FAN',\n '/cancelParticipation/removeaccount': 'AT&T Business Console - Cancel Participation - Remove account',\n '/cancelParticipation/unclaimdevices': 'AT&T Business Console - Cancel Participation - Unclaim devices',\n '/cancelParticipation/review': 'AT&T Business Console - Cancel Participation - Review',\n '/cancelParticipation/confirm': 'AT&T Business Console - Cancel Participation - Confirm',\n '/cancelParticipation' : 'AT&T Business Console - Cancel Participation',\n '/sendMessage/message' : 'AT&T Business Console - Send Message',\n '/sendMessage/accounts' : 'AT&T Business Console - Select Account',\n '/sendMessage/review' : 'AT&T Business Console - Review Message',\n '/signup/accounts' : 'AT&T Business Console - Accounts',\n '/signup/accounts?tab=revisedFanList' : 'AT&T Business Console - Accounts',\n '/signup/accounts?tab=awaitingSignupFanList': 'AT&T Business Console - Accounts',\n '/signup/settings' : 'AT&T Business Console - Settings',\n '/signup/applications' : 'AT&T Business Console - Applications',\n '/signup/startdate' : 'AT&T Business Console - Start Date',\n '/signup/review' : 'AT&T Business Console - Review',\n '/signup/confirm' : 'AT&T Business Console - Confirm',\n '/signupsetup/enrollmentoptions' : 'AT&T Business Console - Enrollment Options',\n '/signupsetup/review' : 'AT&T Business Console - Review',\n '/signupsetup/confirm' : 'AT&T Business Console - Confirm',\n '/abmfacilitatedenrollment' : 'AT&T Business Console - ABM Facilitated Enrollment ' ,\n '/care/searchFan' : 'DMP Admin - Search FAN',\n '/care/dashboard-title' : 'AT&T Business Console - Care - Customer data',\n '/care/select-fan-table' : 'AT&T Business Console - Care - Retrieving foundation accounts',\n '/care/dmpWhitelistFans':'DMP Admin -WhiteLists Admin',\n '/support' : 'AT&T Business Console - Support',\n '/faq' : 'AT&T Business Console - FAQ',\n '/terms' : 'AT&T Business Console - Terms and Conditions',\n '/errorPage/E405' : 'AT&T Business Console - Error',\n '/enrollmentTool' : 'AT&T Business Console - Enrollment Tool',\n '/productselection' : 'AT&T Business Console - Product Selection',\n '/signupsetup' : 'AT&T Business Console - Product Selection',\n '/care/abm':'AT&T Business Console-Admin Abm',\n '/care/faciliateEnrollment': 'AT&T Business Console-Admin Fe',\n '/care/kme':'AT&T Business Console-Admin Kme',\n '/care/zte':'AT&T Business Console-Admin Zte',\n '/care/deviceEnrollments':'AT&T Business Console - Pending ABM transactions',\n '/learn/androidzerotouch':'Android™ Zero-touch | AT&T Business Console'\n // },\n // 'myatt' : {\n // '/home' : 'Enroll, Manage and View Mobile Devices | AT&T Business Console',\n // '/browse': 'AT&T Business Console - Browse',\n // '/browse/details' : 'AT&T Business Console - Product Detail',\n // '/productConfigurator' : 'AT&T Business Console - Product Configurator' ,\n // '/cart' : 'AT&T Business Console - Shopping Cart' ,\n // '/checkout/billing' : 'AT&T Business Console - Checkout - Billing and Payment',\n // '/checkout/serviceConfiguration' : 'AT&T Business Console - Checkout - Service Configuration',\n // '/checkout/reviewOrder' : 'AT&T Business Console - Checkout - Order Review',\n // '/checkout/confirmOrder' : 'AT&T Business Console - Checkout - Order Confirmation',\n // '/manage' : 'AT&T Business Console - Manage products',\n // '/manageProduct' : 'AT&T Business Console - Manage product',\n // '/user/add' : 'AT&T Business Console - Add a user',\n // '/bulkUsers' : 'AT&T Business Console - Add multiple users',\n // '/bulkUsers/bulk-action' : 'AT&T Business Console - Bulk users - Action',\n // '/bulkUsers/bulk-confirm' : 'AT&T Business Console - Bulk users',\n // '/bulkUsers/bulk-review' : 'AT&T Business Console - Bulk users - Review',\n // '/bulkUsers/bulk-upload' : 'AT&T Business Console - Bulk users - Upload',\n // '/manageUsers/action' : 'AT&T Business Console - Manage users - Action',\n // '/manageUsers/products' : 'AT&T Business Console - Manage users - Products',\n // '/manageUsers/review' : 'AT&T Business Console - Manage users - Review',\n // '/manageUsers/users' : 'AT&T Business Console - Manage users',\n // '/dashboard' : 'AT&T Business Console - Console dashboard',\n // '/changeProduct' : 'AT&T Business Console - Change package',\n // '/user/summary' : 'AT&T Business Console',\n // '/user/edit' : 'AT&T Business Console - Edit user details',\n // '/manageProduct/modifyLicense' : 'AT&T Business Console - Manage Product',\n // '/manageProduct/cancel-product' : 'AT&T Business Console - Manage Product',\n // '/welcome': 'AT&T Business Console - Welcome',\n // '/manageInventory' : 'AT&T Business Console - Manage Devices',\n // '/manageInventory/deviceInventory' : 'AT&T Business Console - Manage Deployment',\n // '/manageInventory/ctnInfo' : 'AT&T Business Console - View CTN information',\n // '/manageInventory/fanDeploymentProfile' : 'AT&T Business Console - View Single FAN Profile Information',\n // '/reports/transaction/reportType' : 'AT&T Business Console - Transaction History Report - Report type',\n // '/reports/transaction/dateRange' : 'AT&T Business Console - Transaction History Report - Date range',\n // '/reports/transaction/review' : 'AT&T Business Console - Transaction History Report - Review',\n // '/reports/transaction/confirmation' : 'AT&T Business Console - Transaction History Report - Confirmation',\n // '/appleCertificate/info': 'AT&T Business Console - Apple Certificate - Info',\n // '/appleCertificate/upload': 'AT&T Business Console - Apple Certificate - Upload',\n // '/cancelParticipation/selectfan': 'AT&T Business Console - Cancel Participation - Select FAN',\n // '/cancelParticipation/review': 'AT&T Business Console - Cancel Participation - Review',\n // '/cancelParticipation/confirm': 'AT&T Business Console - Cancel Participation - Confirm',\n // '/cancelParticipation' : 'AT&T Business Console - Cancel Participation',\n // '/sendMessage/message' : 'AT&T Business Console - Send Message',\n // '/sendMessage/accounts' : 'AT&T Business Console - Select Account',\n // '/sendMessage/review' : 'AT&T Business Console - Review Message',\n // '/signup/accounts' : 'AT&T Business Console - Accounts',\n // '/signup/accounts?tab=revisedFanList' : 'AT&T Business Console - Accounts',\n // '/signup/accounts?tab=awaitingSignupFanList': 'AT&T Business Console - Accounts',\n // '/signup/settings' : 'AT&T Business Console - Settings',\n // '/signup/applications' : 'AT&T Business Console - Applications',\n // '/signup/startdate' : 'AT&T Business Console - Start Date',\n // '/signup/review' : 'AT&T Business Console - Review',\n // '/signup/confirm' : 'AT&T Business Console - Confirm',\n // '/care/search-fan' : 'AT&T Business Console - Care - Select foundation account',\n // '/care/dashboard-title' : 'AT&T Business Console - Care - Customer data',\n // '/care/select-fan-table' : 'AT&T Business Console - Care - Retrieving foundation accounts',\n // '/support' : 'AT&T Business Console - Support',\n // '/faq' : 'AT&T Business Console - FAQ',\n // '/terms' : 'AT&T Business Console - Terms and Conditions',\n // '/errorPage/E405' : 'AT&T Business Console - Error',\n // '/enrollmentTool' : 'AT&T Business Console - Enrollment Tool',\n // '/productselection' : 'AT&T Business Console - Product Selection'\n // },\n // 'fnabc' : {\n // '/home' : 'Apps & Solutions',\n // '/browse': 'Apps & Solutions - Browse',\n // '/browse/details' : 'Apps & Solutions - Product Detail',\n // '/productConfigurator' : 'AT&T Business Console - Product Configurator',\n // '/cart' : 'Apps & Solutions - Shopping Cart' ,\n // '/checkout/billing' : 'Apps & Solutions - Checkout - Billing and Payment',\n // '/checkout/serviceConfiguration' : 'Apps & Solutions - Checkout - Service Configuration',\n // '/checkout/reviewOrder' : 'Apps & Solutions - Checkout - Order Review',\n // '/checkout/confirmOrder' : 'Apps & Solutions - Checkout - Order Confirmation',\n // '/manage' : 'Apps & Solutions - Manage products',\n // '/manageProduct' : 'Apps & Solutions - Manage product',\n // '/user/add' : 'Apps & Solutions - Add a user',\n // '/bulkUsers' : 'Apps & Solutions - Add multiple users',\n // '/bulkUsers/bulk-action' : 'Apps & Solutions - Bulk users - Action',\n // '/bulkUsers/bulk-confirm' : 'Apps & Solutions - Bulk users',\n // '/bulkUsers/bulk-review' : 'Apps & Solutions - Bulk users - Review',\n // '/bulkUsers/bulk-upload' : 'Apps & Solutions - Bulk users - Upload',\n // '/manageUsers/action' : 'Apps & Solutions - Manage users - Action',\n // '/manageUsers/products' : 'Apps & Solutions - Manage users - Products',\n // '/manageUsers/review' : 'Apps & Solutions - Manage users - Review',\n // '/manageUsers/users' : 'Apps & Solutions - Manage users',\n // '/dashboard' : 'Apps & Solutions - Console dashboard',\n // '/changeProduct' : 'Apps & Solutions - Change package',\n // '/user/summary' : 'Apps & Solutions',\n // '/user/edit' : 'Apps & Solutions - Edit user details',\n // '/manageProduct/modifyLicense' : 'Apps & Solutions - Manage Product',\n // '/manageProduct/cancel-product' : 'Apps & Solutions - Manage Product',\n // '/welcome': 'Apps & Solutions - Welcome',\n // '/manageInventory' : 'Apps & Solutions - Manage Devices',\n // '/manageInventory/deviceInventory' : 'Apps & Solutions - Manage Deployment',\n // '/manageInventory/ctnInfo' : 'Apps & Solutions - View CTN information',\n // '/manageInventory/fanDeploymentProfile' : 'Apps & Solutions - View Single FAN Profile Information',\n // '/reports/transaction/reportType' : 'Apps & Solutions - Transaction History Report - Report type',\n // '/reports/transaction/dateRange' : 'Apps & Solutions - Transaction History Report - Date range',\n // '/reports/transaction/review' : 'Apps & Solutions - Transaction History Report - Review',\n // '/reports/transaction/confirmation' : 'Apps & Solutions - Transaction History Report - Confirmation',\n // '/appleCertificate/info': 'Apps & Solutions - Apple Certificate - Info',\n // '/appleCertificate/upload': 'Apps & Solutions - Apple Certificate - Upload',\n // '/cancelParticipation/selectfan': 'Apps & Solutions - Cancel Participation - Select FAN',\n // '/cancelParticipation/review': 'Apps & Solutions - Cancel Participation - Review',\n // '/cancelParticipation/confirm': 'Apps & Solutions - Cancel Participation - Confirm',\n // '/cancelParticipation' : 'Apps & Solutions - Cancel Participation',\n // '/sendMessage/message' : 'Apps & Solutions - Send Message',\n // '/sendMessage/accounts' : 'Apps & Solutions - Select Account',\n // '/sendMessage/review' : 'Apps & Solutions - Review Message',\n // '/signup/accounts' : 'Apps & Solutions - Accounts',\n // '/signup/accounts?tab=revisedFanList' : 'Apps & Solutions - Accounts',\n // '/signup/accounts?tab=awaitingSignupFanList': 'Apps & Solutions - Accounts',\n // '/signup/settings' : 'Apps & Solutions - Settings',\n // '/signup/applications' : 'Apps & Solutions - Applications',\n // '/signup/startdate' : 'Apps & Solutions - Start Date',\n // '/signup/review' : 'Apps & Solutions - Review',\n // '/signup/confirm' : 'Apps & Solutions - Confirm',\n // '/care/search-fan' : 'Apps & Solutions - Care - Select foundation account',\n // '/care/dashboard-title' : 'Apps & Solutions - Care - Customer data',\n // '/care/select-fan-table' : 'Apps & Solutions - Care - Retrieving foundation accounts',\n // '/support' : 'Apps & Solutions - Support',\n // '/faq' : 'Apps & Solutions - FAQ',\n // '/terms' : 'Apps & Solutions - Terms and Conditions',\n // '/errorPage/E405' : 'Apps & Solutions - Error',\n // '/enrollmentTool' : 'Apps & Solutions - Enrollment Tool',\n // '/productselection' : 'Apps & Solutions - Product Selection'\n // }\n};","export const PERMISSION = [\n {\n 'home': {\n 'buy_only': 'home',\n 'manage_only': 'manage',\n 'buy_and_manage': 'home'\n },\n 'basicAuth': 'bTE3MjM3QHNhcG1wLmF0dC5jb206bW9yaWExMjM='\n }\n];\n","/** This file will have the authentication failure redirect page and link to be shown to the user, when logging happens using Premier*/\n\n// export const PREMIER_AUTHFAILURE_REDIRECT = {\n// productConfigurator: 'browse/details',\n// cart: 'errorPage'\n// };\n\n\n// export const PREMIER_AUTHFAILURE_LINKURL = {\n// buy_and_manage: '',\n// buy_only: '',\n// manage_only: 'no_permissions',\n// none: 'no_permissions'\n// };\n\n// // tslint:disable-next-line:max-line-length\n// export const PREMIER_AUTHFAILURE_MESSAGE = 'You don\\'t have permissions to access the page, continue to remain in this or go to {pageName}. Please contact your TCM for more Details';\n\nexport const ADDP_PERMISSION_MAPPING_FNABC = {\n // tslint:disable-next-line:max-line-length\n NotEligible: { logonurl: 'learn', message: 'Your company isn\\'t eligible to use the program. For help, contact your AT&T representative. Or, call us at 800.574.7000, Monday through Friday, 8 a.m. to 10 p.m. ET.' },\n NoPermission: { logonurl: 'learn', message: 'Company is eligible, you lack permssions = can learn only' },\n Read_NoFAN: { logonurl: 'learn', message: 'Company is eligible, you have Read Only permssions = use hamburger menu to navigate' },\n Read_SomeFAN: { logonurl: 'learn', message: 'Company is eligible, contact your lead TCM for Sign-Up' },\n Read_AllFAN: { logonurl: 'manage', message: null },\n Partial_NoFAN: { logonurl: 'learn', message: 'Company is eligible, you have Read Only permssions = use hamburger menu to navigate' },\n Partial_SomeFAN: { logonurl: 'learn', message: 'Company is eligible, contact your lead TCM for Sign-Up' },\n Partial_AllFAN: { logonurl: 'manage', message: null },\n Full_NoFAN: { logonurl: 'signup', message: null },\n Full_SomeFAN: { logonurl: 'signup', message: null },\n Full_AllFAN: { logonurl: 'manage', message: null },\n\n // Newly added -> ADDPAUTHORITY_FANSIGNEDUPSTUS mapping for landing page on check eligibility\n // tslint:disable-next-line:max-line-length\n READ_ONLY_ALL: { logonurl: 'learn', message: 'Your access to the program is read only. For help, contact your administrator. Or, call us at 800.574.7000, Monday through Friday, 8 a.m. to 10 p.m. ET.' },\n READ_ONLY_SOME: { logonurl: 'learn', message: 'Your access to the program is read only. For help, contact your administrator. Or, call us at 800.574.7000, Monday through Friday, 8 a.m. to 10 p.m. ET.' },\n // tslint:disable-next-line:max-line-length\n READ_ONLY_NONE: { logonurl: 'learn', message: 'Your access to the program is read only. For help, contact your administrator. Or, call us at 800.574.7000, Monday through Friday, 8 a.m. to 10 p.m. ET.' },\n READ_ONLY_NotEligible: { logonurl: 'learn', message: \"You don't have any eligible accounts. For help, contact your representative. \" },\n READ_ONLY_Error: { logonurl: 'learn', message: 'Your access to the program is read only. For help, contact your administrator. Or, call us at 800.574.7000, Monday through Friday, 8 a.m. to 10 p.m. ET.' },\n\n PARTIAL_ALL: { logonurl: 'manageInventory', message: null },\n PARTIAL_SOME: { logonurl: 'manageInventory', message: null },\n // tslint:disable-next-line:max-line-length\n PARTIAL_NONE: { logonurl: 'learn', message: 'You have only partial access to the program. For help, contact your administrator. Or, call us at 800.574.7000, Monday through Friday, 8 a.m. to 10 p.m. ET.' },\n // tslint:disable-next-line:max-line-length\n PARTIAL_NotEligible: { logonurl: 'learn', message: \"You don't have any eligible accounts. For help, contact your representative. \" },\n PARTIAL_Error: { logonurl: 'learn', message: 'You have only partial access to the program. For help, contact your administrator. Or, call us at 800.574.7000, Monday through Friday, 8 a.m. to 10 p.m. ET.' },\n\n FULL_ALL: { logonurl: 'manageInventory', message: null },\n FULL_NONE: { logonurl: 'welcome', message: null },\n FULL_SOME: { logonurl: 'productselection', message: null },\n // tslint:disable-next-line:max-line-length\n FULL_NotEligible: { logonurl: 'learn', message: \"You don't have any eligible accounts. For help, contact your representative. \" },\n FULL_Error: { logonurl: 'dashboard', message: null },\n // tslint:disable-next-line:max-line-length\n NONE_ALL: {\n logonurl: 'learn',\n message: ' For help with program access, ask your representative to verify your permissions for this account. Or, call us at 800.574.7000, Monday through Friday, 8 a.m. to 10 p.m. ET.'\n },\n NONE_SOME: {\n logonurl: 'learn',\n message: ' For help with program access, ask your representative to verify your permissions for this account. Or, call us at 800.574.7000, Monday through Friday, 8 a.m. to 10 p.m. ET.'\n },\n // tslint:disable-next-line:max-line-length\n NONE_NONE: {\n logonurl: 'learn',\n message: 'For help with account access, ask your representative to verify your permissions for this account. Or, call us at 800.574.7000, Monday through Friday, 8 a.m. to 10 p.m. ET.'\n },\n};\n","/** This file will have the authentication failure redirect page and link to be shown to the user, when logging happens using Premier*/\n\nexport const PREMIER_AUTHFAILURE_REDIRECT = {\n productConfigurator: 'browse/details',\n cart: 'errorPage'\n};\n\n\nexport const PREMIER_AUTHFAILURE_LINKURL = {\n buy_and_manage: '',\n buy_only: '',\n manage_only: 'no_permissions',\n none: 'no_permissions'\n};\n\n// tslint:disable-next-line:max-line-length\nexport const PREMIER_AUTHFAILURE_MESSAGE = 'You don\\'t have permissions to access the page, continue to remain in this or go to {pageName}. Please contact your TCM for more Details';\n\nexport const ADDP_PERMISSION_MAPPING = {\n // tslint:disable-next-line:max-line-length\n NotEligible: {logonurl: 'learn', message: 'Your company isn\\'t eligible to use the program. For help, contact your AT&T representative. Or, call us at 866.563.4703, Monday through Friday, 9 a.m. to 9 p.m. ET, or Saturday and Sunday, 10 a.m. to 7 p.m. ET.'},\n NoPermission: {logonurl: 'learn', message: 'Company is eligible, you lack permssions = can learn only'},\n Read_NoFAN: {logonurl: 'learn', message: 'Company is eligible, you have Read Only permssions = use hamburger menu to navigate'},\n Read_SomeFAN: {logonurl: 'learn', message: 'Company is eligible, contact your lead TCM for Sign-Up'},\n Read_AllFAN: {logonurl: 'manage', message: null},\n Partial_NoFAN: {logonurl: 'learn', message: 'Company is eligible, you have Read Only permssions = use hamburger menu to navigate'},\n Partial_SomeFAN: {logonurl: 'learn', message: 'Company is eligible, contact your lead TCM for Sign-Up'},\n Partial_AllFAN: {logonurl: 'manage', message: null},\n Full_NoFAN: {logonurl: 'signup', message: null},\n Full_SomeFAN: {logonurl: 'signup', message: null},\n Full_AllFAN: {logonurl: 'manage', message: null},\n\n // Newly added -> ADDPAUTHORITY_FANSIGNEDUPSTUS mapping for landing page on check eligibility\n// tslint:disable-next-line:max-line-length\n READ_ONLY_ALL: {logonurl: 'learn', message: 'Your access to the program is read only. For help, contact your administrator. Or, call us at 866.563.4703, Monday through Friday, 9 a.m. to 9 p.m. ET, or Saturday and Sunday, 10 a.m. to 7 p.m. ET.'},\n READ_ONLY_SOME: {logonurl: 'learn', message: 'Your access to the program is read only. For help, contact your administrator. Or, call us at 866.563.4703, Monday through Friday, 9 a.m. to 9 p.m. ET, or Saturday and Sunday, 10 a.m. to 7 p.m. ET.'},\n // tslint:disable-next-line:max-line-length\n READ_ONLY_NONE: {logonurl: 'learn', message: 'Your access to the program is read only. For help, contact your administrator. Or, call us at 866.563.4703, Monday through Friday, 9 a.m. to 9 p.m. ET, or Saturday and Sunday, 10 a.m. to 7 p.m. ET.'},\n READ_ONLY_NotEligible: {logonurl: 'learn', message: \"You don't have any eligible accounts. For help, contact your representative.\"},\n READ_ONLY_Unknown: {logonurl: 'learn', message: \"We are unable to access your account at this time. Please try again later.\"},\n READ_ONLY_Error: {logonurl: 'learn', message: 'Your access to the program is read only. For help, contact your administrator. Or, call us at 866.563.4703, Monday through Friday, 9 a.m. to 9 p.m. ET, or Saturday and Sunday, 10 a.m. to 7 p.m. ET.'},\n\n PARTIAL_ALL: {logonurl: 'manageInventory', message: null},\n PARTIAL_SOME: {logonurl: 'manageInventory', message: null},\n // tslint:disable-next-line:max-line-length\n PARTIAL_NONE: {logonurl: 'learn', message: 'You have only partial access to the program. For help, contact your administrator. Or, call us at 866.563.4703, Monday through Friday, 9 a.m. to 9 p.m. ET, or Saturday and Sunday, 10 a.m. to 7 p.m. ET.'},\n // tslint:disable-next-line:max-line-length\n PARTIAL_NotEligible: {logonurl: 'learn', message: \"You don't have any eligible accounts. For help, contact your representative.\"},\n PARTIAL_Unknown: {logonurl: 'learn', message: \"We are unable to access your account at this time. Please try again later.\"},\n PARTIAL_Error: {logonurl: 'learn', message: 'You have only partial access to the program. For help, contact your administrator. Or, call us at 866.563.4703, Monday through Friday, 9 a.m. to 9 p.m. ET, or Saturday and Sunday, 10 a.m. to 7 p.m. ET.'},\n\n FULL_ALL: {logonurl: 'manageInventory', message: null},\n FULL_NONE: {logonurl: 'welcome', message: null},\n FULL_SOME: {logonurl: 'productselection', message: null},\n // tslint:disable-next-line:max-line-length\n FULL_NotEligible: {logonurl: 'learn', message: \"You don't have any eligible accounts. For help, contact your representative.\"},\n FULL_Unknown: {logonurl: 'learn', message: \"We are unable to access your account at this time. Please try again later.\"},\n FULL_Error: {logonurl: 'dashboard', message: null},\n// tslint:disable-next-line:max-line-length\n NONE_ALL: {logonurl: 'learn', message: 'You have no access to the program. For help, contact your administrator. Or, call us at 866.563.4703, Monday through Friday, 9 a.m. to 9 p.m. ET, or Saturday and Sunday, 10 a.m. to 7 p.m. ET.'},\n NONE_SOME: {logonurl: 'learn', message: 'You have no access to the program. For help, contact your administrator. Or, call us at 866.563.4703, Monday through Friday, 9 a.m. to 9 p.m. ET, or Saturday and Sunday, 10 a.m. to 7 p.m. ET.'},\n // tslint:disable-next-line:max-line-length\n NONE_NONE: {logonurl: 'learn', message: 'You have no access to the program. For help, contact your administrator. Or, call us at 866.563.4703, Monday through Friday, 9 a.m. to 9 p.m. ET, or Saturday and Sunday, 10 a.m. to 7 p.m. ET.'},\n\n // addpAuthority_fanSignedupStatus\n fnabc: {\n NONE_ALL: {\n logonurl: 'learn',\n message: ' For help with program access, ask your representative to verify your permissions for this account. Or, call us at 800.574.7000, Monday through Friday, 8 a.m. to 10 p.m. ET.'\n },\n NONE_SOME: {\n logonurl: 'learn', \n message: ' For help with program access, ask your representative to verify your permissions for this account. Or, call us at 800.574.7000, Monday through Friday, 8 a.m. to 10 p.m. ET.'\n },\n // tslint:disable-next-line:max-line-length\n NONE_NONE: {\n logonurl: 'learn', \n message: 'For help with account access, ask your representative to verify your permissions for this account. Or, call us at 800.574.7000, Monday through Friday, 8 a.m. to 10 p.m. ET.'\n },\n\n }\n};\n","\nexport const PRODUCT_CONFIG = {'learnHeader': 'Are you sure?' };\nexport const PRODUCT_CONFIGURATOR_QTY_LIMIT = 99999;\nexport const ASSIGN_USER_LIMIT = 20;\n","export const REVIEWORDERS: any = {\n 'Increase': {\n // quantity1: 'You currently have {x} licenses at ${y} per month.',\n quantity1: 'Number of Licenses {x} @ ${y}/user',\n quantity2: 'Additional {x} licenses ',\n quantity3: 'Total monthly charges for {x} licenses.',\n // tslint:disable-next-line:max-line-length\n content: '*Totals are based on estimated charges. Taxes and fees will be calculated for applicable charges. Charges will appear on your billing statement. You may not see any discounts or bill credits subtracted from your charges until you select your billing account on the Checkout page.'\n },\n 'Decrease': {\n quantity1: 'You currently have {x} licenses @ ${y} per month.',\n quantity2: 'Remove {x} licenses ',\n quantity3: 'Total monthly charges for {x} licenses',\n // tslint:disable-next-line:max-line-length\n content: '*Totals are based on estimated charges. Taxes and fees will be calculated for applicable charges. Charges will appear on your billing statement. You may not see any discounts or bill credits subtracted from your charges until you select your billing account on the Checkout page.'\n },\n 'RemoveAll': {\n quantity1: 'You currently have {x} {licenses}.',\n quantity2: 'You\\'re removing {x} {licenses} and un-assigning {y} users',\n quantity3: 'Total monthly charges',\n // tslint:disable-next-line:max-line-length\n content: '*Totals are based on estimated charges. Taxes and fees will be calculated for applicable charges. Charges will appear on your billing statement. You may not see any discounts or bill credits subtracted from your charges until you select your billing account on the Checkout page.',\n reviewTitle: 'Cancel a product',\n confirmTitle: 'Confirm canceling a product',\n submitCaption: 'Submit order'\n },\n 'DiffCTN': {\n quantity1: ' {x} licenses @ ${y} per month ',\n quantity2: '',\n quantity3: 'Total monthly charges',\n // tslint:disable-next-line:max-line-length\n content: '*Totals are based on estimated charges. Taxes and fees will be calculated for applicable charges. Charges will appear on your billing statement. You may not see any discounts or bill credits subtracted from your charges until you select your billing account on the Checkout page.'\n },\n 'changeProduct': {\n quantity1: 'Current product:
    {cp}
    {x} licenses @ ${y} per month.',\n quantity2: 'New product:
    {np}
    {x} licenses @ ${y} per month.',\n quantity3: 'Total monthly charges',\n // tslint:disable-next-line:max-line-length\n content: '*Totals are based on estimated charges. Taxes and fees will be calculated for applicable charges. Charges will appear on your billing statement. You may not see any discounts or bill credits subtracted from your charges until you select your billing account on the Checkout page.'\n }\n\n};\n\n\n","export const SIGNUPSETUPDATA = {\n \n EnrollmentOptions: {\n newSetupFanList: {\n name: 'Set up your accounts',\n rowDisable: false,\n rowDisableCondition: {},\n rowDisableConditionInverse: false,\n columnDefinitions: [\n {\n caption: 'Foundation account', field: 'fanId', type: 'TEXT', sortDirection: 'Asc',\n enableSorting: true, enableFilter: true, cssClass: '', priority: 1, customTemplate: ''\n }\n ]\n },\n revisedFanList: {\n name: 'Add accounts',\n rowDisable: true,\n rowDisableCondition: { field: 'addpEligibleStatus', value: undefined },\n rowDisableConditionInverse: false,\n columnDefinitions: [\n {\n caption: 'Foundation account', field: 'fanId', type: 'TEXT', sortDirection: 'Asc',\n enableSorting: false, enableFilter: false, cssClass: '', priority: 1, customTemplate: 'fanEligiblityStatus'\n },\n {\n caption: 'Existing devices', field: 'enroll', type: 'CUSTOMCONTENT', sortDirection: 'Asc',\n enableSorting: false, enableFilter: false, cssClass: '', priority: 2, templateIndex: 0\n }\n ]\n },\n awaitingSignupFanList: {\n name: 'Add accounts',\n rowDisable: true,\n rowDisableCondition: { field: 'addpEligibleStatus', value: undefined },\n rowDisableConditionInverse: false,\n columnDefinitions: [\n {\n caption: 'Foundation account', field: 'fanId', type: 'TEXT', sortDirection: 'Asc',\n enableSorting: false, enableFilter: false, cssClass: '', priority: 1, customTemplate: 'fanEligiblityStatus'\n },\n {\n caption: 'Existing devices', field: 'enroll', type: 'CUSTOMCONTENT', sortDirection: 'Asc',\n enableSorting: false, enableFilter: false, cssClass: '', priority: 2, templateIndex: 0\n }\n ]\n }\n },\n ReviewPage: {\n columnDefinitions: [\n {\n caption: 'Foundation account', field: 'fanId', type: 'TEXT', sortDirection: 'Asc',\n enableSorting: true, enableFilter: true, cssClass: '', priority: 1, customTemplate: ''\n }\n ]\n }\n };\n ","export const SIGNUPDATA = {\n statusLabel: {\n ACTIVE: 'Active',\n PROCESSING: 'Processing',\n ADDED: 'Added'\n },\nAccountsPage: {\n newSetupFanList: {\n name: 'Set up your accounts',\n rowDisable: false,\n rowDisableCondition: {},\n rowDisableConditionInverse: false,\n columnDefinitions: [\n {\n caption: 'Foundation account', field: 'fanId', type: 'TEXT', sortDirection: 'Asc',\n enableSorting: true, enableFilter: true, cssClass: '', priority: 1, customTemplate: ''\n }\n ]\n },\n revisedFanList: {\n name: 'Change enrollment settings',\n rowDisable: true,\n rowDisableCondition: {field: 'accountStatus', value: 'ACTIVE'},\n rowDisableConditionInverse: true,\n columnDefinitions: [\n {\n caption: 'Foundation account', field: 'fanId', type: 'CUSTOMTEMPLATE', sortDirection: 'Asc',\n enableSorting: true, enableFilter: true, cssClass: '', priority: 1, customTemplate: 'showFansProfile'\n },\n {\n caption: 'Status', field: 'accountSubStatus', type: 'TEXT', sortDirection: 'Asc',\n enableSorting: false, enableFilter: true, cssClass: '', priority: 2, customTemplate: ''\n }\n ]\n },\n awaitingSignupFanList: {\n name: 'Add accounts',\n rowDisable: true,\n rowDisableCondition: { field: 'addpEligibleStatus', value: undefined },\n rowDisableConditionInverse: false,\n columnDefinitions: [\n {\n caption: 'Foundation account', field: 'fanId', type: 'CUSTOMTEMPLATE', sortDirection: 'Asc',\n enableSorting: true, enableFilter: true, cssClass: '', priority: 1, customTemplate: 'fanEligiblityStatus'\n }\n ]\n }\n},\nApplicationPage:\n{\n columnDefinitions: [\n {\n caption: 'Application name', field: 'appName', type: 'CUSTOMTEMPLATE', sortDirection: 'Asc',\n enableSorting: true, enableFilter: true, cssClass: '', priority: 1, customTemplate: 'callBackAppNameCellTemplate'\n }\n ]\n},\nSettingsPage: {\n columnDefinitions: [\n {\n caption: '', field: 'selected', type: 'RADIO', sortDirection: 'Asc',\n enableSorting: false, enableFilter: false, cssClass: '', priority: 1, customTemplate: ''\n },\n {\n caption: 'Profile name', field: 'profileName', type: 'TEXT', sortDirection: 'Asc',\n enableSorting: true, enableFilter: false, cssClass: '', priority: 1, customTemplate: ''\n }\n ],\n securityPolicy: {\n SB: 'Standard',\n SE: 'Advanced'\n },\n passcodePolicy: {\n PN: 'None',\n PB: 'Standard',\n PS: 'Advanced'\n }\n},\nReviewPage: {\n columnDefinitions: [\n {\n caption: 'Foundation account', field: 'fanId', type: 'TEXT', sortDirection: 'Asc',\n enableSorting: true, enableFilter: true, cssClass: '', priority: 1, customTemplate: ''\n }\n ]\n}\n};\n","/* This file will have the bread crumb details pertaining to each page of the application */\nexport const STEPINDICATORS = {\n 'stepobjArr': [\n { label: 'Select an account', stepNumber: 1, path: 'billing', isVisited: false },\n { label: 'Provide details', stepNumber: 2, path: 'serviceConfiguration', isVisited: false },\n { label: 'Review order', stepNumber: 3, path: 'reviewOrder', isVisited: false },\n { label: 'Confirm', stepNumber: 4, path: 'confirmOrder', isVisited: false }],\n\n 'manageUsers': [\n { label: 'Select an action', stepNumber: 1, path: 'action', isVisited: false },\n { label: 'Select products', stepNumber: 2, path: 'products', isVisited: false },\n { label: 'Select users', stepNumber: 3, path: 'users', isVisited: false },\n { label: 'Review changes', stepNumber: 4, path: 'review', isVisited: false }],\n 'bulkUsers': [\n { label: 'Select an action', stepNumber: 1, path: 'bulk-action', isVisited: false },\n { label: 'Upload', stepNumber: 2, path: 'bulk-upload', isVisited: false },\n { label: 'Review', stepNumber: 3, path: 'bulk-review', isVisited: false },\n { label: 'Confirm', stepNumber: 4, path: 'bulk-confirm', isVisited: false }],\n 'signUp': [\n { label: 'Accounts', stepNumber: 1, path: 'accounts', isVisited: true },\n { label: 'Settings', stepNumber: 2, path: 'settings', isVisited: false },\n { label: 'Applications', stepNumber: 3, path: 'applications', isVisited: false },\n { label: 'Enrollment date', stepNumber: 4, path: 'startdate', isVisited: false },\n { label: 'Review', stepNumber: 5, path: 'review', isVisited: false },\n { label: 'Confirm', stepNumber: 6, path: 'confirm', isVisited: false }],\n 'sendSMS': [\n { label: 'Message', stepNumber: 1, path: 'message', isVisited: false },\n { label: 'Accounts', stepNumber: 2, path: 'account', isVisited: false },\n { label: 'Review', stepNumber: 3, path: 'review', isVisited: false }],\n 'groupingDevices': [\n { label: 'Select Devices', stepNumber: 1, path: 'selectDevices', isVisited: false },\n { label: 'Select Group', stepNumber: 2, path: 'selectGroup', isVisited: false },\n { label: 'Review', stepNumber: 3, path: 'review', isVisited: false }],\n 'transaction': [\n { label: 'Report type', stepNumber: 1, path: 'reportType', isVisited: true },\n { label: 'Date range', stepNumber: 2, path: 'dateRange', isVisited: false },\n { label: 'Review', stepNumber: 3, path: 'review', isVisited: false },\n { label: 'Confirmation', stepNumber: 4, path: 'confirmation', isVisited: false }],\n 'signUpOem': [\n { label: 'Accounts', stepNumber: 1, path: 'accounts', isVisited: true },\n { label: 'Settings', stepNumber: 2, path: 'settings', isVisited: false },\n { label: 'Enrollment date', stepNumber: 3, path: 'startdate', isVisited: false },\n { label: 'Review', stepNumber: 4, path: 'review', isVisited: false },\n { label: 'Confirmation', stepNumber: 5, path: 'confirm', isVisited: false }],\n 'signUpAll': [\n { label: 'Enrollment Options', stepNumber: 1, path: 'enrollmentoptions', isVisited: true },\n { label: 'Review', stepNumber: 2, path: 'review', isVisited: false },\n { label: 'Confirm', stepNumber: 3, path: 'confirm', isVisited: false }],\n 'efotaEnrollment': [\n { label: 'Enrollment Options', stepNumber: 1, path: 'selectaccounts', isVisited: true },\n { label: 'Review', stepNumber: 2, path: 'review', isVisited: false },\n { label: 'Confirm', stepNumber: 3, path: 'confirm', isVisited: false }],\n 'fiveGEnrollment': [\n { label: 'Request Info', stepNumber: 1, path: 'selectaccounts', isVisited: true },\n { label: 'Review', stepNumber: 2, path: 'review', isVisited: false },\n { label: 'Confirm', stepNumber: 3, path: 'confirm', isVisited: false }]\n\n};\n","export const TAB = {\n 'tabs' : [{id: 'overview', isActive: 'true', description: ''},\n {id: 'details', isActive: 'false', description: ''},\n {id: 'pricing', isActive: 'false', description: ''}]\n};\n","export let TERMSANDCONDITIONS = {\n\n 'termsConditions': {\n 'label': 'Terms & Conditions',\n 'elementType': 'checkbox',\n 'placeHolder': '',\n 'formControlName': 'termsConditions',\n 'initialValue': false,\n 'altText': '',\n 'toolTipText': '',\n 'validation': {\n 'required': 'true',\n 'pattern': '',\n 'minLength': '',\n 'maxLength': '',\n 'errorMessages': {\n 'required': 'Terms & Conditions is mandatory',\n 'pattern': '',\n 'minLength': '',\n 'maxLength': ''\n }\n },\n 'link': {\n 'text': '',\n 'url': ''\n },\n 'showOrder': ''\n }\n};\n","export const TERMSCONDITIONS = {\n URL: {\n commonUrl: 'https://www.wireless.att.com/businesscenter/en_US/pdf/legal/att-terms-of-use-for-att-business-console-020918.pdf',\n commonUrl2: 'https://www-01.ibm.com/software/passportadvantage/pa_agreements.html',\n commonUrl3: 'http://serviceguidenew.att.com/sg_flashPlayerPage/IBM_MaaS360 ',\n addpmdmUrl: 'https://www.ibm.com/support/customer/csol/contractexplorer/cloud/csa/us-en',\n dmpgztpUrl: 'https://www.wireless.att.com/businesscenter/en_US/pdf/device-enrollment-enablement-program-attachment-zero-touch.pdf',\n dmpskmeUrl: 'https://www.wireless.att.com/businesscenter/en_US/pdf/device-enrollment-enablement-program-attachment-KME.pdf',\n termsUrl: 'https://www.business.att.com/content/dam/businesscenter/pdf/legal/att-terms-of-use-for-att-business-console-020918.pdf'\n }\n};\n","\nexport const USER = {\n '2142022122': {\n roles: 'buy_and_manage'\n },\n '2142022159': {\n roles: 'buy_only',\n },\n '2142022161': {\n roles: 'manage_only'\n }\n};\n\nexport const LOGIN_REQUIRED = [\n 'efotaoffer'\n]\n","\nexport const environment = {\n production: true\n};\n\n\nexport { CMSProdModule as CMSModule } from '../lib/ng2-sapmp/src/modules/cms/cms.module.prod';\nexport { LoginProdModule as LoginModule } from '../lib/ng2-sapmp/src/modules/login/login.module.prod';\n\n\n","export let CMS_PERM = {\n 'edit' : {perm:'edit'},\n 'document' : {perm:'admindashboard.cms'},\n 'environment' : {perm:'admindashboard.cms'},\n 'useCase' : {perm:'admindashboard.cms'},\n 'version' : {perm:'admindashboard.cms'},\n 'new' : {perm:'admindashboard.cms'},\n 'versions' : {perm:'admindashboard.cms'},\n 'upgrade' : {perm:'admindashboard.upgradedevice'},\n 'care' : {perm:'admindashboard.upgradedevice'},\n 'efota' : {perm:'admindashboard.upgradedevice'},\n 'home' : {perm:'admindashboard.upgradedevice'},\n 'efotareports' : {perm:'admindashboard.upgradedevice'},\n 'reportupload' : {perm:'admindashboard.upgradedevice'},\n 'reportdetails' : {perm:'admindashboard.upgradedevice'},\n 'efotadetails' : {perm:'admindashboard.upgradedevice'},\n 'dmpWhitelistFans' : {perm:'admindashboard.cms'}\n}\n","export * from './key-config';\nexport * from './cms-permissions';\n","export const KEY_CONFIG = {\n 'enter': 13,\n 'space': 32,\n 'arrowUp': 38,\n 'arrowDown': 40,\n 'arrowLeft': 37,\n 'arrowRight': 39,\n 'tabKey': 9,\n 'escapeKey': 27,\n 'backSpaceKey': 8,\n 'numericKey9': 57,\n 'numericKey0': 48,\n 'home': 36,\n 'end': 35,\n 'firstSmallAlphabet': 65,\n 'lastSmallAlphabet': 90\n};\n","import { CMSResolver } from '../providers/cms.resolver';\nimport { Directive, Input, AfterViewInit, ViewContainerRef } from '@angular/core';\n\n@Directive({\n selector: '[cms]'\n})\nexport class CMSDirective implements AfterViewInit {\n @Input('cms') path: string;\n\n constructor(\n private page: CMSResolver,\n private viewContainer: ViewContainerRef\n ) {\n }\n\n ngAfterViewInit() {\n let content = CMSResolver.cms;\n this.path.split('.').forEach(node => {\n content = content[node];\n });\n this.viewContainer.element.nativeElement.innerHTML = content;\n }\n}\n","import { Directive, Input } from '@angular/core';\nimport { TemplateRef, ViewContainerRef } from '@angular/core';\nimport { UtilityService } from './../providers/utility.service';\n\n@Directive({ selector: '[hasPermission]' })\nexport class ComponentPermissionDirective {\n permissionJson: any;\n constructor(\n private templateRef: TemplateRef,\n private viewContainer: ViewContainerRef,\n private service: UtilityService\n ) { }\n\n @Input() set hasPermission(role: string) {\n let negatePermission = false; // negate logic added to handle a scenario in addp.\n let hasPerm;\n if (role && role.indexOf('!') > - 1) {\n negatePermission = true;\n const splitted = role.split('!');\n if (splitted && splitted.length > 0) {\n role = splitted[1];\n }\n }\n if (sessionStorage.getItem('permissions') != null) {\n this.permissionJson = JSON.parse(sessionStorage.getItem('permissions'));\n hasPerm = this.service.checkComponentPermission(role, this.permissionJson.perm);\n hasPerm = negatePermission ? !hasPerm : hasPerm;\n if (hasPerm) {\n this.viewContainer.createEmbeddedView(this.templateRef);\n } else {\n this.viewContainer.clear();\n }\n } else {\n this.viewContainer.createEmbeddedView(this.templateRef);\n }\n }\n}\n","import { NgModule, Component, Directive, Output, EventEmitter, Input, HostListener } from '@angular/core';\nimport { BrowserModule } from '@angular/platform-browser';\nimport { FormBuilder, ReactiveFormsModule, FormsModule, NgControl } from '@angular/forms';\n\n@Directive({\n selector: '[ctnmask]',\n host: {\n '(ngModelChange)': 'onInputChange($event)',\n '(keydown.backspace)': 'onInputChange($event.target.value, true)'\n }\n})\nexport class CtnMaskDirective {\n\n @Input() ctnmask: boolean;\n @Input() numberOnly: boolean;\n @Input() noNumbers: boolean;\n @Output() rawChange: EventEmitter = new EventEmitter();\n @Input() imeimask: EventEmitter = new EventEmitter();\n\n constructor(public model: NgControl) { }\n\n @HostListener('keydown', ['$event']) onKeyDown(e: KeyboardEvent): boolean {\n const ctnrKeys = (e.keyCode === 65 && e.ctrlKey === true) ||\n (e.keyCode === 67 && e.ctrlKey === true) ||\n (e.keyCode === 86 && e.ctrlKey === true) ||\n (e.keyCode === 88 && e.ctrlKey === true);\n const otherKeys = (e.keyCode === 8 || e.keyCode === 9 ||\n e.keyCode === 37 || e.keyCode === 39 || e.keyCode === 46);\n const isNumber = new RegExp('^\\\\d+$').test(e.key);\n const isAlphabets = new RegExp('^[A-Za-z]+$').test(e.key);\n\n if (ctnrKeys || otherKeys) {\n return true;\n } else if (this.ctnmask || this.numberOnly || this.imeimask) {\n return isNumber;\n } else if (this.noNumbers) {\n return isAlphabets;\n } else {\n return true;\n }\n }\n onInputChange(event, backspace) {\n\n if (this.ctnmask || this.numberOnly || this.imeimask) {\n // remove all mask characters (keep only numeric)\n let newVal = event.replace(/\\D/g, '');\n const rawValue = newVal;\n if (backspace) {\n newVal = newVal.substring(0, newVal.length);\n }\n\n if (this.ctnmask) {\n // don't show dash for empty value\n if (newVal.length === 0) {\n newVal = '';\n } else if (newVal.length <= 3) {\n // don't show dash for empty groups at the end\n newVal = newVal.replace(/^(\\d{0,3})/, '$1');\n } else if (newVal.length <= 6) {\n newVal = newVal.replace(/^(\\d{0,3})(\\d{0,3})/, '$1.$2');\n } else {\n newVal = newVal.replace(/^(\\d{0,3})(\\d{0,3})(.*)/, '$1.$2.$3');\n }\n\n this.rawChange.emit(rawValue);\n }\n\n if(this.imeimask) {\n if(newVal.length === 0) {\n newVal = '';\n }\n }\n\n // set the new value\n this.model.valueAccessor.writeValue(newVal);\n }\n }\n}\n","import { Directive, ElementRef, Input, AfterViewInit } from '@angular/core';\nimport { UtilityService } from './../providers/utility.service';\n\n@Directive({\n selector: '[checkRole]'\n})\nexport class FieldPermissionDirective implements AfterViewInit {\n permissionJson: any;\n\n @Input('checkRole') checkRole: string;\n\n constructor(private el: ElementRef, private service: UtilityService) {\n }\n\n ngAfterViewInit() {\n this.checkPermission(this.checkRole);\n }\n\n\n private checkPermission(role: string) {\n if (sessionStorage.getItem('permissions') != null) {\n this.permissionJson = JSON.parse(sessionStorage.getItem('permissions'));\n }\n if (this.service.checkFieldPermission(role, this.permissionJson.perm)) {\n if (this.el.nativeElement.tagName === 'A') {\n this.el.nativeElement.removeAttribute('href');\n this.el.nativeElement.className += ' disable-anchor';\n this.el.nativeElement.parentElement.className += ' disable-cursor';\n }\n this.el.nativeElement.disabled = true;\n }\n }\n}\n","import { Directive, ElementRef, AfterViewInit, Input, OnChanges, SimpleChanges } from '@angular/core';\r\n\r\n@Directive({\r\n selector: '[checkImpersonator]'\r\n})\r\nexport class ImpersonatorPermissionDirective implements AfterViewInit, OnChanges {\r\n\r\n @Input() checkImpersonator: boolean;\r\n @Input() property: boolean;\r\n\r\n constructor(private el: ElementRef) {\r\n }\r\n\r\n ngAfterViewInit() {\r\n this.checkPermission();\r\n }\r\n ngOnChanges(changes: SimpleChanges) {\r\n if (changes.checkImpersonator) {\r\n this.checkPermission();\r\n }\r\n }\r\n\r\n private checkPermission() {\r\n const impersonator = JSON.parse(sessionStorage.getItem('impersonator'));\r\n const isDisabled = impersonator && impersonator.id ? true : false;\r\n this.el.nativeElement.disabled = isDisabled || this.checkImpersonator;\r\n }\r\n}\r\n","export * from './component-permission.directive';\nexport * from './field-permission.directive';\nexport * from './only-numbers.directive';\nexport * from './ctn-mask.directive';\nexport * from './impersonator-permission.directive';\n","import { Directive, ElementRef, HostListener, Input } from '@angular/core';\n\n@Directive({\n selector: '[OnlyNumber]'\n})\nexport class OnlyNumberDirective {\n\n constructor(private el: ElementRef) { }\n\n @HostListener('keydown', ['$event']) onKeyDown(event) {\n const e = event;\n // Allow: delete, backspace, tab, escape, enter,dotKeyInNumpad, dotKeyInKeypad\n if ([46, 8, 9, 27, 13, 110, 190].indexOf(e.keyCode) !== -1 ||\n // Allow: Ctrl+A\n (e.keyCode === 65 && e.ctrlKey === true) ||\n // Allow: Ctrl+C\n (e.keyCode === 67 && e.ctrlKey === true) ||\n // Allow: Ctrl+V\n (e.keyCode === 86 && e.ctrlKey === true) ||\n // Allow: Ctrl+X\n (e.keyCode === 88 && e.ctrlKey === true) ||\n // Allow: home, end, left, right\n (e.keyCode >= 35 && e.keyCode <= 39)) {\n // let it happen, don't do anything\n return;\n }\n // Ensure that it is a number and stop the keypress\n if ((e.shiftKey || (e.keyCode < 48 || e.keyCode > 57)) && (e.keyCode < 96 || e.keyCode > 105)) {\n e.preventDefault();\n }\n }\n}\n// This directive used to allow only numbers in text filed.\n// Need to Add \"OnlyNumber\" in input element\n// Usage Example : \n","import { Injectable } from \"@angular/core\";\nimport { Router, ActivatedRouteSnapshot, RouterStateSnapshot, CanActivate } from \"@angular/router\"; import { AuthenticationService, UtilityService } from \"../providers\";\nimport { Observable, of, throwError } from \"rxjs\";\nimport { map, catchError, tap, mergeMap, switchMap } from \"rxjs/operators\";\nimport { HttpResponse, HttpErrorResponse } from \"@angular/common/http\";\n\n\n@Injectable()\nexport class AdminGuard implements CanActivate {\n constructor(\n private router: Router,\n private authenticationService: AuthenticationService) {\n\n }\n path: ActivatedRouteSnapshot[];\n route: ActivatedRouteSnapshot;\n\n canActivate(state: ActivatedRouteSnapshot): Observable {\n\n const ivuser = state.queryParams['iv-user'];\n const stubid = state.queryParams['stubId'];\n const client = state.queryParams['client'];\n const rkey = state.queryParams['rkey'];\n\n if (ivuser) sessionStorage.setItem('iv-user', ivuser);\n if (stubid) sessionStorage.setItem('stubId', stubid);\n if (client) sessionStorage.setItem('client', client);\n if (rkey) sessionStorage.setItem('rkey', rkey);\n const attESSec = this.authenticationService.getCookie('attESSec');\n const attESHr = this.authenticationService.getCookie('attESHr');\n if (attESSec) sessionStorage.setItem('attESSec', attESSec);\n if (attESHr) sessionStorage.setItem('attESHr', attESHr);\n\n if (!attESSec) {\n this.authenticationService.gloablLogin();\n return of(true);\n }\n else return this.authenticationService.validateUser()\n .pipe(mergeMap(result => {\n return this.authenticationService.getUserDetails()\n }),catchError(this.handleError));\n // else {\n // let profileData = sessionStorage.getItem(\"profileAndPermsInfo\") ? JSON.parse(sessionStorage.getItem(\"profileAndPermsInfo\")) : null;\n // if(!profileData || profileData == null){\n // return this.authenticationService.validateUser()\n // .pipe(mergeMap(result => {\n // return this.authenticationService.getUserDetails()\n // }),catchError(this.handleError));\n // }else{\n // return of(true);\n // }\n \n // }\n }\n handleError(error: HttpErrorResponse): Observable {\n let client = sessionStorage.getItem('client');\n if (!client || client.length < 1) {\n localStorage.setItem('loginFail', error.status.toString());\n window.location.href = '/businessconsole/home';\n }\n return of(true);\n }\n}","import { Injectable, OnInit } from '@angular/core';\nimport { Router, CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router';\nimport { UtilityService } from './../providers/utility.service';\nimport { AuthenticationService } from './../providers/authentication.service';\n\n@Injectable()\nexport class FivegPrivateRoutingGuard implements CanActivate {\n\n id: any;\n\n constructor(private router: Router) {\n }\n\n\n canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot) {\n if(location.href.indexOf('/learn/5g') != -1 || location.href.indexOf('/fiveg/enrollment/selectaccounts') != -1 ) {\n this.router.navigate(['errorPage', 404]);\n return false;\n }\n return true;\n }\n}","import { Injectable, OnInit } from '@angular/core';\nimport { Router, CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router';\nimport { AuthenticationService } from './../providers/authentication.service';\nimport { UserProfileModel } from './../models/userprofile/user-profile.model';\nimport { UtilityService } from './../providers/utility.service';\nimport { CMS_PERM } from './../config';\n\n\n@Injectable()\nexport class MultiStubIdProfileGuard implements CanActivate {\n loginSwitch: boolean = false;\n cmsUser: boolean = false;\n upgradeUser: boolean = false;\n noPermission: boolean = false;\n\n permission: any;\n\n id: any;\n rkey='';\n constructor(private router: Router, private authenticationService: AuthenticationService,\n private service: UtilityService) {\n }\n\n canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot) {\nif (location.href.indexOf('selectstubid') != -1 && (state.url == '/home' || state.url == '/learn/products' || state.url == '/learn/androidzerotouch' || state.url == '/learn/5g'|| state.url == '/learn/applebusinessmanager'|| state.url == '/learn/samsungknoxmobile' || state.url == '/manageInventory')) {\n alert('Please select a StubID to proceed.');\n return false;\n} else {\n return true;\n}\n}\n}\n","import { Injectable, OnInit } from '@angular/core';\nimport { Router, CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router';\nimport { AuthenticationService } from './../providers/authentication.service';\nimport { UserProfileModel } from './../models/userprofile/user-profile.model';\nimport { UtilityService } from './../providers/utility.service';\nimport { CMS_PERM } from './../config';\n\n\n@Injectable()\nexport class UserProfileGuard implements CanActivate {\n loginSwitch: boolean = false;\n cmsUser: boolean = false;\n upgradeUser: boolean = false;\n noPermission: boolean = false;\n\n permission: any;\n\n id: any;\n rkey='';\n constructor(private router: Router, private authenticationService: AuthenticationService,\n private service: UtilityService) {\n this.loginSwitch = JSON.parse(sessionStorage.getItem('loginDropdownPopupSwitch'));\n }\n\n canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot) {\n this.rkey = route.paramMap.get('rkey');\n \n let userProfile: UserProfileModel;\n let permissionJson: any;\n this.authenticationService.setLoginSuccessUrl(state.url);\n if (this.isEscapePermission(state.url)) {\n return true;\n } else {\n let splitedUrlArray = state.url.split('/');\n if (this.authenticationService.checkIfAuthNeeded()) {\n if (sessionStorage.getItem('permissions') != null) {\n permissionJson = JSON.parse(sessionStorage.getItem('permissions'));\n \n\n for (let i = splitedUrlArray.length - 1; i > 0; i--) {\n let isInstanceExist = this.service.checkInstance(splitedUrlArray[i], permissionJson.perm);\n if (isInstanceExist === !null) {\n let returnedValue = this.service.checkPagePermission(splitedUrlArray[i], permissionJson.perm);\n if (returnedValue) {\n return true;\n } \n console.log('user-profile.guard: 47');\n return this.handleUnAuthenticatedRequest(state.url);\n }\n }\n console.log('user-profile.guard: 51');\n return this.handleUnAuthenticatedRequest(state.url); \n }\n } else {\n if (splitedUrlArray[1] === 'edit') {\n window.location.href = '/businessconsole/care?client=admin';\n }\n else if (this.loginSwitch) {\n if(state.url == \"/support\" || state.url == \"/faq\" || state.url == \"/manageInventory\" || state.url == \"/productselection\"){\n this.setCookies(state.url);\n }\n if (location.href.indexOf('selectstubid') == -1) {\n this.authenticationService.setLoginModalStatus(true);\n } else {\n alert('Please select a StubID to proceed.');\n }\n }\n else {\n if(state.url == \"/support\" || state.url == \"/faq\" || state.url == \"/manageInventory\" || state.url == \"/productselection\"){\n if (location.href.indexOf('selectstubid') == -1) {\n this.setCookies(state.url);\n let urls = state.url;\n let rKey_ = urls != '' && state.url.split(\"/\")[1];\n window.location.href = `/businessconsole/login?rkey=${rKey_}`;\n } else {\n alert('Please select a StubID to proceed.');\n }\n \n }else{\n window.location.href = `/businessconsole/login?rkey=${this.rkey}`;\n }\n \n }\n return false;\n }\n }\n\n }\n handleError = (error) => { // Arrow function is necessary as the context should be Parent class\n return error;\n }\n\n isEscapePermission(url) {\n // Method to bypass permission based on business rules\n if (url && url.indexOf('cart') > 0) {\n const cartItem = sessionStorage.getItem('cart');\n if (!(cartItem !== null && JSON.parse(cartItem).lineItems !== null && JSON.parse(cartItem).lineItems.length > 0)) {\n return true;\n } else {\n return false;\n }\n } else {\n return false;\n }\n }\n\n setCookies(url){\n let d = new Date();\n d.setTime(d.getTime() + (90*1000));\n let expires = \"expires=\"+ d.toUTCString();\n let urlData = url != \"\" && url.split(\"/\")[1];\n document.cookie= urlData+\"=true; expires=\"+expires+\"; domain=.att.com; path=/\";\n }\n\n handleUnAuthenticatedRequest(stateurl) {\n this.router.navigate(['errorPage', 403]);\n return false;\n }\n}\n","export * from './userprofile';\nexport * from './user-wizard';\nexport * from './product-management/';","export {ProductManagementModel} from './product-management.model';\n","export class ProductManagementModel {\n clientId: string;\n brokerAccountClientId: string;\n billingClientId: string;\n serviceOfferCode: string;\n specName: string;\n quantity: number\n totalLicensesInUse: number\n productDesc: string;\n class: string;\n isSingleQuantity:string;\n \n constructor() {\n this.clientId = undefined;\n this.brokerAccountClientId = undefined;\n this.billingClientId = undefined;\n this.serviceOfferCode = undefined;\n this.quantity = undefined;\n this.specName = undefined;\n this.totalLicensesInUse = undefined;\n this.productDesc = undefined;\n this.class = undefined;\n this.isSingleQuantity =undefined;\n }\n}","export { UserWizardModel } from './user-wizard.model';\n","export class UserWizardModel {\n\n productList: any;\n selectedProductList: any = [];\n userList: any = [];\n selectedUserList: any = [];\n selectedUsersIds: any = [];\n paginations: any;\n userOffset: number;\n totalUserRecord: number;\n userLimit: number;\n actionType: string;\n source: string;\n user: any;\n product: any;\n previousUrl: string;\n existingProducts: any;\n title: string;\n userEmail: string;\n createUser: boolean;\n\n constructor() {\n this.productList = undefined;\n this.selectedProductList = undefined;\n this.userList = undefined;\n this.selectedUserList = undefined;\n this.selectedUsersIds = undefined;\n this.paginations = undefined;\n this.actionType = undefined;\n this.source = undefined;\n this.user = undefined;\n this.product = undefined;\n this.previousUrl = undefined;\n this.existingProducts = undefined;\n this.title = undefined;\n this.userEmail = undefined;\n this.createUser = undefined;\n }\n};\n","import {AddressModel} from './address.model';\n\nexport class AccountModel {\n id: string;\n address: AddressModel;\n billingAccountNumber: string;\n foundationAccountNumber: string;\n businessName?: any;\n market?: any;\n subMarket?: any;\n}\n","import { ContactPhoneNumberModel, ContactAddressModel, AccountModel, ImpersonatorModel, FansModel } from './index';\n\nexport abstract class BaseProfileModel {\n companyId: string;\n contactPhoneNumber?: ContactPhoneNumberModel;\n userId?: string;\n firstName?: string;\n lastName?: string;\n emailAddress?: string;\n fanList?: Array;\n roles?: string;\n permission?: string;\n impersonator?: ImpersonatorModel;\n clientIPAddress?: string;\n fans?: Array;\n addpAuthority?: string;\n fanSignedUpStatus?: string;\n agreement?: any;\n\n constructor(profile) {\n }\n}","export class ContactAddressModel {\n addressLine1: string;\n addressLine2: string;\n addressLine3: string;\n city: string;\n state: string;\n zipCode: string;\n}\n","export class ContactPhoneNumberModel {\n phoneNumber: string;\n phoneType: string;\n}\n","export class FansModel {\n fanName: string;\n fanId: string;\n email?: string;\n addpEligibility?: string;\n pdpIndicator?: string;\n marketPlaceBuy?: string;\n libertyIndicator?: string;\n}","import { NameModel } from './name.model';\n\nexport class ImpersonatorModel {\n id: string;\n type: string;\n name: NameModel;\n}","export * from './contact-phonenumber.model';\nexport * from './contact-address.model';\nexport * from './account.model';\nexport * from './user-profile.model';\nexport * from './impersonator.model';\nexport * from './fans.model';\nexport * from './baseprofile.model';\n","import { BaseProfileModel } from '../../index';\nimport { APP_PERMISSION } from '../../../../../../app/pages/authentication/authentication.config';\n\nexport class CAREProfileModel extends BaseProfileModel {\n constructor(profile) {\n super(profile);\n const userResponseInfo = profile.user;\n const PERM_GRANT = 'GRANT';\n const PERM_NONE = 'NONE';\n const userPermission = profile.permissions;\n\n this.firstName = userResponseInfo.firstName;\n this.lastName = userResponseInfo.lastName;\n this.emailAddress = userResponseInfo.email;\n this.contactPhoneNumber = userResponseInfo.phoneNumber;\n this.roles = userResponseInfo.role;\n this.userId = userResponseInfo.id;\n this.companyId = profile.agreement.id;\n this.fans = [];\n\n /* App Market Permission*/\n const APPM_PERMISSIONS = ['buyAndManange', 'buy', 'manange'];\n const appmPermissionStatus = [userPermission.am_buy === PERM_GRANT &&\n userPermission.am_manage === PERM_GRANT, userPermission.am_buy === PERM_GRANT, userPermission.am_manage === PERM_GRANT];\n const amPermInd = appmPermissionStatus.indexOf(true);\n\n this.permission = amPermInd === -1 ? PERM_NONE : APP_PERMISSION[APPM_PERMISSIONS[amPermInd]];\n\n /* Device Track Permission*/\n const ADDP_PERMISSIONS = ['addp_viewOnly', 'addp_partialControl', 'addp_fullControl', 'addp_none'];\n const getADDPPermissions = ADDP_PERMISSIONS.map(i => profile.permissions[i]);\n const permInd = getADDPPermissions.indexOf('GRANT');\n\n this.addpAuthority = APP_PERMISSION[ADDP_PERMISSIONS[permInd === -1 ? 3 : permInd]];\n this.fanSignedUpStatus = 'SOME';\n\n this.impersonator = profile.impersonator;\n this.fanList = profile.fans || [];\n this.agreement = profile.agreement;\n if (profile.agreement && profile.agreement.fans) {\n for (let fan of profile.agreement.fans) {\n this.fans.push(fan);\n }\n }\n }\n}\n","export * from './premier.model';\nexport * from './sapmp.model';\nexport * from './care.model';\n","import { BaseProfileModel } from '../index';\nimport { APP_PERMISSION } from '../../../../../../app/pages/authentication/authentication.config';\n\nexport class PremierProfileModel extends BaseProfileModel {\n constructor(profile) {\n super(profile);\n const userResponseInfo = profile.user;\n const PERM_GRANT = 'GRANT';\n const PERM_NONE = 'NONE';\n const userPermission = profile.permissions;\n\n this.firstName = userResponseInfo.firstName;\n this.lastName = userResponseInfo.lastName;\n this.emailAddress = userResponseInfo.email;\n this.contactPhoneNumber = userResponseInfo.phoneNumber;\n this.roles = userResponseInfo.role;\n this.userId = userResponseInfo.id;\n this.fans = [];\n\n /* App Market Permission*/\n const APPM_PERMISSIONS = ['buyAndManange', 'buy', 'manange'];\n const appmPermissionStatus = [userPermission.am_buy === PERM_GRANT &&\n userPermission.am_manage === PERM_GRANT, userPermission.am_buy === PERM_GRANT, userPermission.am_manage === PERM_GRANT];\n const amPermInd = appmPermissionStatus.indexOf(true);\n\n this.permission = amPermInd === -1 ? PERM_NONE : APP_PERMISSION[APPM_PERMISSIONS[amPermInd]];\n\n /* Device Track Permission*/\n const ADDP_PERMISSIONS = ['addp_viewOnly', 'addp_partialControl', 'addp_fullControl', 'addp_none'];\n const getADDPPermissions = ADDP_PERMISSIONS.map(i => profile.permissions[i]);\n const permInd = getADDPPermissions.indexOf('GRANT');\n\n this.addpAuthority = APP_PERMISSION[ADDP_PERMISSIONS[permInd === -1 ? 3 : permInd]];\n this.fanSignedUpStatus = 'SOME';\n\n this.impersonator = profile.impersonator;\n this.fanList = profile.fans || [];\n this.agreement = profile.agreement;\n if (profile.agreement && profile.agreement.fans) {\n for (let fan of profile.agreement.fans) {\n this.fans.push(fan);\n }\n }\n }\n}","import { BaseProfileModel } from '../../index';\nimport { APP_PERMISSION } from '../../../../../../app/pages/authentication/authentication.config';\nexport class SAPMPProfileModel extends BaseProfileModel {\n constructor(profile) {\n super(profile);\n const userResponseInfo = profile.user;\n const PERM_GRANT = 'GRANT';\n const PERM_NONE = 'NONE';\n const userPermission = profile.permissions;\n\n this.firstName = userResponseInfo.firstName;\n this.lastName = userResponseInfo.lastName;\n this.emailAddress = userResponseInfo.email;\n this.contactPhoneNumber = userResponseInfo.phoneNumber;\n this.roles = userResponseInfo.role;\n this.userId = userResponseInfo.id;\n this.companyId = profile.agreement.id;\n this.fans = [];\n\n /* App Market Permission*/\n const APPM_PERMISSIONS = ['buyAndManange', 'buy', 'manange'];\n const appmPermissionStatus = [userPermission.am_buy === PERM_GRANT &&\n userPermission.am_manage === PERM_GRANT, userPermission.am_buy === PERM_GRANT, userPermission.am_manage === PERM_GRANT];\n const amPermInd = appmPermissionStatus.indexOf(true);\n\n this.permission = amPermInd === -1 ? PERM_NONE : APP_PERMISSION[APPM_PERMISSIONS[amPermInd]];\n\n /* Device Track Permission*/\n const ADDP_PERMISSIONS = ['addp_viewOnly', 'addp_partialControl', 'addp_fullControl', 'addp_none'];\n const getADDPPermissions = ADDP_PERMISSIONS.map(i => profile.permissions[i]);\n const permInd = getADDPPermissions.indexOf('GRANT');\n\n this.addpAuthority = APP_PERMISSION[ADDP_PERMISSIONS[permInd === -1 ? 3 : permInd]];\n //this.fanSignedUpStatus = 'SOME';\n\n let user = JSON.parse(sessionStorage.getItem('user'));\n if (user !== null) {\n if (user.user.fanSignedUpStatus) {\n this.fanSignedUpStatus = user.user.fanSignedUpStatus;\n } \n } else {\n this.fanSignedUpStatus = 'SOME';\n }\n\n this.impersonator = profile.impersonator;\n this.fanList = profile.fans || [];\n this.agreement = profile.agreement;\n if (profile.agreement && profile.agreement.fans) {\n for (let fan of profile.agreement.fans) {\n this.fans.push(fan);\n this.fanList.push(fan.fanId);\n }\n }\n }\n static getUnknownUser() {\n const u:any = {\n \"jwtToken\" : \"Jwt 1MjZe3B0Wj6oO_0iHupr7nbDeW1OozJ9xSb4iJbaFrHUwth5clgQ1tLY51Fd0uR7NzuPW5Zm9eG9JqutBFzabp9kLLJSwu-065GPk2XcUXtq_DsaodnNfF-WQ4ORbb01eRV5JAZ8705-whyL7avCgr3L7bWT5s-4IekF_SvvFvQD1HVuO7dcGWXL8HdM2nBGUiqiCaG7fxSt9gwH9ficVk96aZQ5Uc2b92UPxoW4fI--Pepbx7ERlWuIrJbFf3PujzkJ5WQl5BaVn8R_Qus38-NHbOZ3TcF5TfEMypeIPQ1b3TNnxpwdVZAzVRBwEVvhs68Rc_07i3TBUSCnG7WTEFF2oyNTCYxmTms_f2NexIJ55Tch3OyT7WWLCmY2DPlgY_BbOcRCf0OldBrW1K-C-jzhBP3QqiUTCv1Xh8BPlmaucUzeXSiZGKr8sFksOe6LgwbeL4QkJ4aIGgTkc0lupTbjNkYphrfS0p72qPQL-QzOsNB88pzmypi1hR6vr7EHml1WqYWWWT9cEcCwL8MsKwMyFUBwZMoCnLpOsw5PxFZvZ5r7IWfkKBbzTpWW2UkpeDTOSJp81awtzkE5yM1ynff6j07oZgue3H6KD9D24zcelzt8hCBkvitMKoyvdTq3wCRmiTpRcP8MI5xAHaKY8g==\",\n \"permissions\" : {\n \"perm\" : [ {\n \"action\" : \"show\",\n \"instance\" : \"support\",\n \"type\" : \"com.att.sapmp.add.page\"\n }, {\n \"action\" : \"disable\",\n \"instance\" : \"alerts.action\",\n \"type\" : \"com.att.sapmp.addp.page\"\n }, {\n \"action\" : \"hide\", \"instance\" : \"dashboard\", \"type\" : \"com.att.sapmp.appmarket.page\" \n },\n {\n \"action\" : \"hide\",\n \"instance\" : \"appleCertificate\",\n \"type\" : \"com.att.sapmp.addp.page\"\n }, {\n \"action\" : \"hide\",\n \"instance\" : \"cancelParticipation\",\n \"type\" : \"com.att.sapmp.addp.page\"\n }, {\n \"action\" : \"disable\",\n \"instance\" : \"ctnInfo\",\n \"type\" : \"com.att.sapmp.addp.page\"\n }, {\n \"action\" : \"disable\",\n \"instance\" : \"ctnInfo.fanDeploymentProfile\",\n \"type\" : \"com.att.sapmp.addp.page\"\n }, {\n \"action\" : \"disable\",\n \"instance\" : \"ctnInfo.lockDevice\",\n \"type\" : \"com.att.sapmp.addp.page\"\n }, {\n \"action\" : \"disable\",\n \"instance\" : \"ctnInfo.reports\",\n \"type\" : \"com.att.sapmp.addp.page\"\n }, {\n \"action\" : \"disable\",\n \"instance\" : \"ctnInfo.sendMessage\",\n \"type\" : \"com.att.sapmp.addp.page\"\n }, {\n \"action\" : \"disable\",\n \"instance\" : \"ctnInfo.wipeDevice\",\n \"type\" : \"com.att.sapmp.addp.page\"\n }, {\n \"action\" : \"hide\",\n \"instance\" : \"ctnlookup\",\n \"type\" : \"com.att.sapmp.addp.page\"\n }, {\n \"action\" : \"disable\",\n \"instance\" : \"dashboard.appleCertificate\",\n \"type\" : \"com.att.sapmp.addp.page\"\n }, {\n \"action\" : \"disable\",\n \"instance\" : \"dashboard.cancelParticipation\",\n \"type\" : \"com.att.sapmp.addp.page\"\n }, {\n \"action\" : \"disable\",\n \"instance\" : \"dashboard.fanDeploymentProfile\",\n \"type\" : \"com.att.sapmp.addp.page\"\n }, {\n \"action\" : \"disable\",\n \"instance\" : \"dashboard.report\",\n \"type\" : \"com.att.sapmp.addp.page\"\n }, {\n \"action\" : \"disable\",\n \"instance\" : \"dashboard.signup\",\n \"type\" : \"com.att.sapmp.addp.page\"\n }, {\n \"action\" : \"disable\",\n \"instance\" : \"dashboard.welcome\",\n \"type\" : \"com.att.sapmp.addp.page\"\n }, {\n \"action\" : \"hide\",\n \"instance\" : \"deviceInventory\",\n \"type\" : \"com.att.sapmp.addp.page\"\n }, {\n \"action\" : \"disable\",\n \"instance\" : \"deviceInventory.cancelParticipation\",\n \"type\" : \"com.att.sapmp.addp.page\"\n }, {\n \"action\" : \"disable\",\n \"instance\" : \"deviceInventory.ctnLookup\",\n \"type\" : \"com.att.sapmp.addp.page\"\n }, {\n \"action\" : \"disable\",\n \"instance\" : \"deviceInventory.DownloadTermsconditions\",\n \"type\" : \"com.att.sapmp.addp.page\"\n }, {\n \"action\" : \"disable\",\n \"instance\" : \"deviceInventory.fanDeploymentProfile\",\n \"type\" : \"com.att.sapmp.addp.page\"\n }, {\n \"action\" : \"disable\",\n \"instance\" : \"deviceInventory.signup\",\n \"type\" : \"com.att.sapmp.addp.page\"\n }, {\n \"action\" : \"disable\",\n \"instance\" : \"fanDeploymentProfile\",\n \"type\" : \"com.att.sapmp.addp.page\"\n }, {\n \"action\" : \"disable\",\n \"instance\" : \"fanDeploymentProfile.deviceInventory\",\n \"type\" : \"com.att.sapmp.addp.page\"\n }, {\n \"action\" : \"show\",\n \"instance\" : \"faq\",\n \"type\" : \"com.att.sapmp.addp.page\"\n }, {\n \"action\" : \"show\",\n \"instance\" : \"faq.GET\",\n \"type\" : \"com.att.sapmp.addp.page\"\n }, {\n \"action\" : \"show\",\n \"instance\" : \"home\",\n \"type\" : \"com.att.sapmp.addp.page\"\n }, {\n \"action\" : \"show\",\n \"instance\" : \"learn\",\n \"type\" : \"com.att.sapmp.addp.page\"\n }, {\n \"action\" : \"hide\",\n \"instance\" : \"manageInventory\",\n \"type\" : \"com.att.sapmp.addp.page\"\n }, {\n \"action\" : \"disable\",\n \"instance\" : \"manageInventory.appleCertificate\",\n \"type\" : \"com.att.sapmp.addp.page\"\n }, {\n \"action\" : \"disable\",\n \"instance\" : \"manageInventory.cancelParticipation\",\n \"type\" : \"com.att.sapmp.addp.page\"\n }, {\n \"action\" : \"disable\",\n \"instance\" : \"manageInventory.ctnLookup\",\n \"type\" : \"com.att.sapmp.addp.page\"\n }, {\n \"action\" : \"disable\",\n \"instance\" : \"manageInventory.deviceInventory\",\n \"type\" : \"com.att.sapmp.addp.page\"\n }, {\n \"action\" : \"disable\",\n \"instance\" : \"manageInventory.fanDeploymentProfile\",\n \"type\" : \"com.att.sapmp.addp.page\"\n }, {\n \"action\" : \"disable\",\n \"instance\" : \"manageInventory.signup\",\n \"type\" : \"com.att.sapmp.addp.page\"\n }, {\n \"action\" : \"hide\",\n \"instance\" : \"signup\",\n \"type\" : \"com.att.sapmp.addp.page\"\n }, {\n \"action\" : \"hide\",\n \"instance\" : \"welcome\",\n \"type\" : \"com.att.sapmp.addp.page\"\n }, {\n \"action\" : \"disable\",\n \"instance\" : \"welcome.signup\",\n \"type\" : \"com.att.sapmp.addp.page\"\n } ]\n },\n \"profile\" : {\n \"user\" : {\n \"id\" : \"Unauthenticated\",\n \"firstName\" : \"Unknown\",\n \"lastName\" : \"User\",\n \"role\" : \"Unknown\",\n \"generatedTime\" : \"4070951823000\",\n \"sessionId\" : \"sapmp_Unauthenticated~04142020~022e8b86-a41a-49e9-b92b-326fc87426fa\"\n },\n \"agreement\" : { },\n \"permissions\" : {\n \"am_manage\" : \"DENY\",\n \"am_buy\" : \"DENY\"\n },\n \"requestInfo\" : { },\n \"impersonator\" : { }\n },\n \"fans\" : [ \"NO_FANS\" ]\n }\n return u;\n } \n}\n","import { ContactPhoneNumberModel, ContactAddressModel, AccountModel, ImpersonatorModel, FansModel } from './index';\n\nexport class UserProfileModel {\n\n contactPhoneNumber: ContactPhoneNumberModel;\n userId: string;\n firstName: string;\n lastName: string;\n emailAddress: string;\n companyId: string;\n fanList: Array;\n roles: string;\n permission: string;\n impersonator: ImpersonatorModel;\n clientIPAddress: string;\n fans: Array;\n addpAuthority: string;\n fanSignedUpStatus: string;\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { RouterModule } from '@angular/router';\n\nimport {\n ProductCardComponent, SubscriptionCardComponent, LicensesCardComponent,\n CardComponent\n} from '../ui-components/';\n\nimport { CoreLibModule } from './core-lib.module';\nimport { ModalLibModule } from './modal-lib.module';\nimport { ChartLibModule } from './chart-lib.module';\n\n@NgModule({\n imports: [CommonModule, RouterModule, ReactiveFormsModule, ModalLibModule, CoreLibModule, ChartLibModule],\n declarations: [\n ProductCardComponent,\n SubscriptionCardComponent,\n LicensesCardComponent,\n CardComponent\n ],\n exports: [\n ProductCardComponent,\n SubscriptionCardComponent,\n LicensesCardComponent,\n CardComponent\n ]\n})\nexport class CardLibModule { }\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { DonutComponent, DonutChartComponent, LegendComponent, StatusBarComponent, \n UsageBarComponent } from '../ui-components/';\n\n@NgModule({\n imports: [CommonModule],\n declarations: [\n DonutComponent,\n DonutChartComponent,\n LegendComponent,\n StatusBarComponent,\n UsageBarComponent\n ],\n exports: [\n DonutComponent,\n DonutChartComponent,\n LegendComponent,\n StatusBarComponent,\n UsageBarComponent\n ]\n})\nexport class ChartLibModule { }\n","import { NgModule, ModuleWithProviders } from '@angular/core';\nimport { CMSComponent } from '../../ui-components/cms/cms.component.prod';\nimport { Routes, RouterModule } from '@angular/router';\n\nexport const CMSRoutes: Routes = [\n {\n path: 'cms', redirectTo: 'home', pathMatch: 'full'\n }\n];\n\n@NgModule({\n imports: [\n RouterModule.forRoot(CMSRoutes, {useHash: true})\n ],\n declarations: [\n CMSComponent\n ],\n exports: [\n CMSComponent\n ]\n})\nexport class CMSProdModule { }\n","import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { RouterModule } from '@angular/router';\n\nimport {\n PageLoaderComponent, TermsContentComponent, TabComponent, TabsComponent,\n StepIndicatorComponent, DropdownComponent,\n AccordionListComponent, DatePickerComponent, AccordionComponent,\n MobilePivotComponent, TimeOutPopUpComponent, GvpVideoComponent, BreadcrumbComponent\n} from '../ui-components/';\n\nimport {\n ComponentPermissionDirective, FieldPermissionDirective, OnlyNumberDirective,\n CtnMaskDirective, ImpersonatorPermissionDirective\n} from '../directives/';\nimport { CMSDirective } from '../directives/cms.directive';\nimport { ChipsComponent } from '../ui-components/chips/chips.component';\n\n// To Do: dynamic loader, alert-banner\n\n@NgModule({\n imports: [CommonModule, RouterModule],\n declarations: [\n PageLoaderComponent,\n BreadcrumbComponent,\n TermsContentComponent,\n TabComponent,\n TabsComponent,\n TimeOutPopUpComponent,\n StepIndicatorComponent,\n DropdownComponent,\n AccordionListComponent,\n DatePickerComponent,\n AccordionComponent,\n MobilePivotComponent,\n GvpVideoComponent,\n ComponentPermissionDirective,\n FieldPermissionDirective,\n OnlyNumberDirective,\n CtnMaskDirective,\n ImpersonatorPermissionDirective,\n CMSDirective\n ],\n exports: [\n PageLoaderComponent,\n BreadcrumbComponent,\n TermsContentComponent,\n TabComponent,\n TabsComponent,\n TimeOutPopUpComponent,\n StepIndicatorComponent,\n DropdownComponent,\n AccordionListComponent,\n DatePickerComponent,\n AccordionComponent,\n MobilePivotComponent,\n GvpVideoComponent,\n ComponentPermissionDirective,\n FieldPermissionDirective,\n OnlyNumberDirective,\n CtnMaskDirective,\n ImpersonatorPermissionDirective,\n CMSDirective\n ],\n schemas: [CUSTOM_ELEMENTS_SCHEMA]\n})\n\nexport class CoreLibModule { }\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { FormBuilderComponent } from '../ui-components/';\nimport { ModalLibModule } from './modal-lib.module';\nimport { CoreLibModule } from './core-lib.module';\n\n@NgModule({\n imports: [CommonModule, ReactiveFormsModule, CoreLibModule, ModalLibModule],\n declarations: [\n FormBuilderComponent\n ],\n exports: [\n FormBuilderComponent\n ]\n})\nexport class FormbuilderLibModule { }\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { CustomgridComponent, Cell } from '../ui-components/';\nimport { CoreLibModule } from './core-lib.module';\nimport { ModalLibModule } from './modal-lib.module';\nimport { PaginationLibModule } from './pagination-lib.module';\nimport { BlueboxComponent } from '../ui-components/bluebox/bluebox.component';\nimport { CustomGridExtendedComponent, CellExtended } from '../ui-components/custom-grid-extended/custom-grid-extended.component';\nimport { AgGridModule } from 'ag-grid-angular';\nimport { CustomGridTableComponent } from '../ui-components/custom-grid-table';\n\n@NgModule({\n imports: [CommonModule, CoreLibModule, ModalLibModule, PaginationLibModule, ReactiveFormsModule, AgGridModule ],\n declarations: [\n CustomgridComponent,\n Cell,\n BlueboxComponent, \n CustomGridExtendedComponent,\n CellExtended,\n CustomGridTableComponent\n ],\n exports: [\n CustomgridComponent,\n Cell,\n BlueboxComponent,\n CustomGridExtendedComponent,\n CellExtended,\n CustomGridTableComponent\n \n ]\n})\nexport class GridLibModule { }\n","export * from './ng2-lib.module';\nexport * from './core-lib.module';\nexport * from './chart-lib.module';\nexport * from './card-lib.module';\nexport * from './formbuilder-lib.module';\nexport * from './grid-lib.module';\nexport * from './modal-lib.module';\nexport * from './pagination-lib.module';\nexport * from './slider-lib.module';","import { NgModule } from '@angular/core';\nimport { Routes, RouterModule } from '@angular/router';\nimport { LoginComponent } from '../../pages/login/login.component';\n\nexport const LoginRoutes: Routes = [\n {\n path: 'login',\n component: LoginComponent\n }\n];\n\n@NgModule({\n imports: [\n RouterModule.forRoot(LoginRoutes, {useHash: true})\n ],\n declarations: [\n LoginComponent\n ],\n exports: [\n LoginComponent\n ]\n})\nexport class LoginProdModule { }\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { ModalPopupComponent, ConfirmModalPopupComponent } from '../ui-components/';\n\n@NgModule({\n imports: [CommonModule, ReactiveFormsModule],\n declarations: [\n ModalPopupComponent,\n ConfirmModalPopupComponent\n ],\n exports: [\n ModalPopupComponent,\n ConfirmModalPopupComponent\n ]\n})\nexport class ModalLibModule { }\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { RouterModule } from '@angular/router';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { CoreLibModule } from './core-lib.module';\nimport { ModalLibModule } from './modal-lib.module';\n\nimport { FaqComponent, ContactComponent } from '../pages/';\n\n\n\n@NgModule({\n imports: [CommonModule, RouterModule, ReactiveFormsModule, CoreLibModule, ModalLibModule],\n declarations: [\n ContactComponent,\n // SupportComponent,\n FaqComponent\n ],\n exports: [\n ]\n})\nexport class Ng2LibModule { }\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { PaginationComponent } from '../ui-components/';\n\n@NgModule({\n imports: [CommonModule],\n declarations: [\n PaginationComponent\n ],\n exports: [\n PaginationComponent\n ]\n})\nexport class PaginationLibModule { }\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { PageSliderComponent } from '../ui-components/page-slider/pageslider.component';\nimport { PagesRendererDirective } from '../ui-components/page-slider/render.component';\nimport { DotIndicatorComponent } from '../ui-components/page-slider/dotindicator.component';\nimport { NavButtonComponent } from '../ui-components/page-slider/navbutton.component';\n\n@NgModule({\n imports: [\n CommonModule\n ],\n declarations: [\n PageSliderComponent,\n PagesRendererDirective,\n DotIndicatorComponent,\n NavButtonComponent\n ],\n exports: [\n PageSliderComponent,\n PagesRendererDirective,\n DotIndicatorComponent,\n NavButtonComponent\n ]\n})\nexport class SliderLibModule { }\n","import { Component, OnInit, OnDestroy, ViewEncapsulation } from '@angular/core';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { ContactService } from './contact.service';\nimport { UtilityService } from 'lib/ng2-sapmp/src/providers';\n@Component({\n selector: 'app-contact',\n providers: [ContactService],\n templateUrl: './contact.component.html',\n styleUrls: ['./contact.component.scss'],\n encapsulation: ViewEncapsulation.None\n})\nexport class ContactComponent implements OnInit {\n\n phone: string;\n timeZone: string;\n\n constructor(\n private router: Router,\n private ContactService: ContactService,\n private utilityService: UtilityService\n ) {}\n\n ngOnInit() {\n this.ContactService.getContactDetails(this.utilityService.getEnvConfig().contactdetails)\n .subscribe(contactrespobj => {\n console.log(contactrespobj);\n this.phone = contactrespobj.phone_no;\n this.timeZone = contactrespobj.time;\n }, error => {\n this.handleError(error);\n });\n }\n\n handleError(error) {\n throw error;\n }\n}\n","
    \n

    Contact us

    \n
    \n
    \n
    \n
    \n \n
    \n
    \n

    By phone

    \n

    Representatives are available
    {{timeZone}}
    Monday through Friday

    \n

    {{phone}}

    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n
    \n

    By chat

    \n

    Representatives are available
    {{timeZone}}
    Monday through Friday

    \n\n
    \n
    \n
    \n
     
    \n
    \n \n
    \n
    \n
    \n\n
    \n
    \n","import { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { HttpClient, HttpResponse } from '@angular/common/http';\n\nimport { throwError, Observable } from 'rxjs';\n\nimport { HttpClientService } from 'lib/ng2-sapmp/src/providers';\n\n@Injectable()\nexport class ContactService {\n\n constructor(private http: HttpClient, private httpClientService: HttpClientService) { }\n\n getContactDetails(getContactDetailsservice) {\n return this.httpClientService.get(getContactDetailsservice)\n .pipe(\n map((test: HttpResponse) => {\n this.httpClientService.updateAuthorizationHeaders(test.body);\n return test.body;\n })\n ,catchError( this.handleError ));\n }\n\n handleError = (error) => {\n return throwError(error);\n }\n}\n\n","export {ContactComponent} from './contact.component';","import { Component, OnInit } from '@angular/core';\nimport { ActivatedRoute } from '@angular/router';\nimport { HttpClientService } from './../../providers';\nimport { ERRCODES } from 'config';\n\n\n@Component({\n selector: 'app-server-error',\n templateUrl: './error.component.html',\n styleUrls: ['./error.component.scss']\n})\nexport class ErrorComponent implements OnInit {\n errCode: string;\n errMessage: string;\n constructor(private route: ActivatedRoute,\n private httpClientService: HttpClientService) { }\n\n ngOnInit() {\n console.log('Entering error handling');\n this.errCode = this.route.snapshot.params['errCode'];\n this.errMessage = ERRCODES[this.errCode];\n }\n }\n\n","
    \n
    \n

    Error !

    \n

    {{ errMessage }}

    \n
    \n
    \n","export * from './error.component';\nexport * from './restricted-user.component';\n\n\n\n\n\n\n\n\n","import { Component, OnInit } from '@angular/core';\nimport { PageLoaderService } from '../../ui-components/page-loader/page-loader.service';\n\n@Component({\n selector: 'app-restricted-user',\n templateUrl: './restricted-user.component.html',\n styleUrls: ['./error.component.scss']\n})\nexport class RestrictedUserComponent implements OnInit {\n\n constructor(\n private pageloaderService: PageLoaderService) { }\n\n ngOnInit() {\n this.pageloaderService.setPageLoaderStatus(true);\n }\n\n}\n","
    \n
    \n

    Unauthorized !

    \n

    Your are not an authorized user to access this site.

    \n
    \n
    \n","import { Component, OnInit } from '@angular/core';\nimport { BreadCrumbModel , BreadCrumbService } from 'lib/ng2-sapmp/src/ui-components';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { BREADCRUMBS } from 'config';\nimport { FaqService } from './faq.service';\nimport { AccordionComponent } from './../../ui-components/accordion/accordion.component';\n@Component({\n selector: 'app-faq',\n providers: [FaqService],\n templateUrl: './faq.component.html',\n styleUrls: ['./faq.component.scss']\n})\nexport class FaqComponent implements OnInit {\n faqDetails: any;\n constructor(private breadCrumbService: BreadCrumbService, private faqservice: FaqService) {\n this.faqDetails = [];\n }\n\n ngOnInit() {\n document.title = 'FAQ';\n this.breadCrumbService.setCurrentBreadCrumb({ label: 'Frequently Asked Questions', routerLink: '/faq' });\n this.faqservice.getFaqDetails().subscribe(response => {\n console.log(response);\n this.faqDetails = response; // make it FAQ Details\n console.log(this.faqDetails.faq.length);\n });\n }\n }\n\n","
    \n
    \n

    Frequently Asked Questions

    \n

    AT&T Device Deployment Program

    \n

    Lorem Impsum Lorem Ipsum ..

    \n \n \n \n
    {{faq.description.answer}}
    \n
    \n
    \n \n
    \n \n
    \n
    \n
    \n \n \n \n
    {{sf.description.answer}}
    \n
    \n
    \n \n
    \n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    ","import { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { UtilityService, HttpClientService } from 'lib/ng2-sapmp/src/providers';\nimport { throwError } from 'rxjs';\nimport { HttpResponse, HttpHeaders } from '@angular/common/http';\n\n@Injectable()\nexport class FaqService {\n constructor(private utilityService: UtilityService,\n private httpClientService: HttpClientService) { }\n\n handleError = (error) => {\n return throwError(error);\n }\n\n getFaqDetails() {\n let headers = new HttpHeaders();\n headers = headers.append('Content-Type', 'text/json');\n headers = headers.append('Authorization', sessionStorage.getItem('sapmp_jwtToken'));\n return this.httpClientService.get(this.utilityService.getEnvConfig().faqServiceUrl, headers)\n .pipe(\n map((res: HttpResponse) => {\n this.httpClientService.updateAuthorizationHeaders(res.body);\n return res.body;\n }\n )\n ,catchError( this.handleError ));\n }\n}\n","export {FaqComponent} from './faq.component';","import { Injectable } from '@angular/core';\nimport { map, catchError, timeout } from 'rxjs/operators';\nimport { HttpClient, HttpHeaders, HttpResponse } from '@angular/common/http';\n\nimport { throwError } from 'rxjs';\nimport { UtilityService } from '../../../../providers/utility.service';\nimport { HttpClientService } from '../../../../providers/http-client.service';\nimport { AdobeAnalyticsService } from '../../../../providers/adobe-analytics.service';\nimport { ANALYTICS_CONSTANTS } from '../../../../../../../config/adobe-analytics.config';\n\ndeclare var ENV_PORTAL;\n@Injectable()\nexport class HomeService {\n\n constructor(private http: HttpClient, private httpClientService: HttpClientService,\n private utilityService: UtilityService, private adobeAnalyticsService: AdobeAnalyticsService) { }\n\n getSlider(sliderUrl) {\n return this.httpClientService.get(sliderUrl)\n .pipe(\n map((res: HttpResponse) => {\n if (sessionStorage.getItem('sapmp_jwtToken') != null) {\n // refreshes token for logged in scenario upon page load\n this.httpClientService.tokenRefresh(this.utilityService.getEnvConfig().tokenRefresh);\n }\n return res.body;\n })\n ,catchError( this.handleError ));\n }\n\n handleError = (error) => {\n return throwError(error);\n }\n\n createPageLoadProperties() {\n const dataLayer = {};\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FRIENDLY_PAGE_NAME] = ANALYTICS_CONSTANTS.FRIENDLY_NAME_HOME;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FLOW_CODE] = ANALYTICS_CONSTANTS.FLOW_CODE_HOME;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_LANGUAGE] = ANALYTICS_CONSTANTS.BC_LANGUAGE_EN;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_PAGE_FUNCTION] = ANALYTICS_CONSTANTS.FRIENDLY_NAME_HOME.replace('BC ', '').replace(' Pg', '');\n if (sessionStorage.getItem('sapmp_jwtToken') != null) {\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_LOGIN_SOURCE] = 'home';\n }\n this.adobeAnalyticsService.tag('page', dataLayer, 'Page_Load', 'pageLoad');\n }\n\n triggerActiveFans(data) {\n\n let headers = new HttpHeaders();\n headers = headers.append('Authorization', sessionStorage.getItem('sapmp_jwtToken'));\n // headers = headers.append('iv-user', sessionStorage.getItem('iv-user'));\n\n let url;\n url = this.utilityService.getEnvConfig().triggerActiveFans;\n\n return this.httpClientService.post(url, data, headers).pipe(\n map((test: HttpResponse) => {\n if (sessionStorage.getItem('sapmp_jwtToken') != null) {\n // refreshes token for logged in scenario upon page load\n this.httpClientService.tokenRefresh(this.utilityService.getEnvConfig().tokenRefresh);\n }\n return test.body;\n }),\n catchError(this.handleError));\n\n }\n}\n\n","export * from './error';\nexport * from './page-not-found';\nexport * from './contact/';\nexport * from './faq/';\nexport * from './support/';\n\n","import { Component } from \"@angular/core\";\nimport {\n AuthenticationService,\n UtilityService\n} from \"./../../providers\";\nimport { PageLoaderService } from \"../../ui-components/page-loader/page-loader.service\";\nimport { HttpResponse } from \"@angular/common/http\";\nimport { Router, ActivatedRoute } from \"@angular/router\";\n\n@Component({\n selector: \"app-login\",\n template: \"\",\n})\nexport class LoginComponent {\n private rkey = '';\n constructor(\n private authenticationService: AuthenticationService,\n private router: Router,\n private pageloaderService: PageLoaderService, private route: ActivatedRoute) {\n\n //handle multi-stubid using param through login\n if(this.router.routerState.snapshot.url.indexOf(\"dmp_unique_stubid\") != -1){\n this.route.queryParamMap.subscribe((data: any) => {\n let parm = data[\"params\"];\n console.log(\"params==>\", parm);\n localStorage.setItem(\"dmp_unique_stubid\", parm.dmp_unique_stubid);\n })\n }\n\n //handle HALO.X authentication route\n const afterLoginIndex = window.location.href.indexOf('login');\n let afterLogin = window.location.href.substr(afterLoginIndex+5);\n if ( afterLogin.length > 1 ) {\n console.warn('Depricate login url parameters: ' + afterLogin);\n localStorage.setItem('LOGIN_HALO', afterLogin);\n window.location.href = '/businessconsole/login';\n return;\n } else {\n afterLogin = localStorage.getItem('LOGIN_HALO');\n localStorage.removeItem('LOGIN_HALO');\n }\n\n const urlParams = new URLSearchParams(afterLogin);\n this.rkey = urlParams.get('rkey');\n\n if (this.authenticationService.checkIfAuthNeeded()) {\n history.back();\n } else {\n sessionStorage.clear();\n\n this.pageloaderService.setPageLoaderStatus(false);\n this.authenticationService.validateUser()\n .subscribe(\n (resp: any) => {\n if( resp.body && resp.body != null){\n localStorage.setItem('hideMenu', \"true\");\n localStorage.setItem('hideHeader', \"true\");\n this.router.navigate(['selectstubid']);\n }else{\n this.authenticationService.navigateAfterLogin(this.rkey)\n } \n }, \n error => this.authenticationService.handleLoginError(error.status),\n )\n }\n }\n\n \n\n}","export * from './page-not-found.component'\n\n\n\n\n\n\n\n\n","import { ActivatedRoute } from '@angular/router';\nimport { Component, OnInit } from '@angular/core';\ndeclare var ENV_PORTAL: any;\n\n@Component({\n selector: 'app-page-not-found',\n templateUrl: './page-not-found.component.html',\n styleUrls: ['./page-not-found.component.scss']\n})\nexport class PageNotFoundComponent implements OnInit {\n\n constructor(private route: ActivatedRoute) { }\n\n ngOnInit() {\n document.title = (ENV_PORTAL === 'fnabc') ? 'Apps & Solutions - Page Not Found' : 'AT&T Business Console - Page Not Found'; \n }\n\n}\n","
    \n

    Page Not Found

    \n
    \n
    \n \n
    \n
    \n

    We can't seem to find the page you're looking for.

    \n Return to landing page.\n
    \n
    \n
    ","export {SupportComponent} from './support.component';","import { Component, OnInit, AfterViewInit } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { BreadCrumbModel , BreadCrumbService} from 'lib/ng2-sapmp/src/ui-components/breadcrumb';\nimport { AdobeAnalyticsService, UtilityService, HttpClientService } from 'lib/ng2-sapmp/src/providers';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { throwError, Observable } from 'rxjs';\nimport { ConfirmModalPopupModel } from 'lib/ng2-sapmp/src/ui-components/confirm-modal';\nimport { GvpVideoComponent } from 'lib/ng2-sapmp/src/ui-components/gvp-video';\nimport { BREADCRUMBS,ANALYTICS_CONSTANTS } from 'config';\nimport { HttpResponse, HttpHeaders } from '@angular/common/http';\nimport { ChipsService } from '../../ui-components/chips/chips.service';\n\n\n@Component({\n selector: 'app-support',\n templateUrl: './support.component.html',\n styleUrls: ['./support.component.scss']\n})\nexport class SupportComponent implements OnInit, AfterViewInit {\n header: string;\n initModal: boolean;\n showOverviewModal: boolean;\n modalClass: string;\n confirmModalPopup: ConfirmModalPopupModel;\n overviewModalPopup: ConfirmModalPopupModel;\n videoId: any;\n eventEmit: any;\n constructor(private breadCrumbService: BreadCrumbService, private utilities: UtilityService, private chips: ChipsService,\n private router: Router, private adobeAnalyticsService: AdobeAnalyticsService, private httpClientService: HttpClientService) {\n\n this.initModal = false;\n this.showOverviewModal = false;\n this.initOverviewModal();\n\n }\n\n ngOnInit() {\n document.title = this.utilities.getPageTitleConfig()[this.router.routerState.snapshot.url];\n sessionStorage.setItem('callingPageName', 'support');\n this.breadCrumbService.setStaticBreadCrumbs(this.router.routerState.snapshot.url);\n //this.breadCrumbService.setCurrentBreadCrumb({ label: 'Support', routerLink: '/support' });\n this.chips.setChips([ {\n \"label\": \"Home\",\n \"routerLink\": \"/home\"\n },\n {\n \"label\": \"Support\",\n \"routerLink\": \"/support\"\n }]);\n this.createPageLoadProperties();\n const pageName = 'supportPage';\n this.requestSupportContent(this.utilities.getEnvConfig().getSupportDocument, pageName).\n subscribe(resp => {\n this.videoId = resp.supportArticles.availableArticle[0].url;\n });\n }\n\n createPageLoadProperties() {\n const dataLayer = {};\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FRIENDLY_PAGE_NAME] = ANALYTICS_CONSTANTS.FRIENDLY_NAME_SUPPORT;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FLOW_CODE] = ANALYTICS_CONSTANTS.FLOW_CODE_SUPPORT;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_LANGUAGE] = ANALYTICS_CONSTANTS.BC_LANGUAGE_EN;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_LOGIN_SOURCE] = 'home';\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_PAGE_FUNCTION] = 'Support';\n this.adobeAnalyticsService.tag('page', dataLayer, 'Page_Load', 'pageLoad');\n }\n\n ngAfterViewInit() {\n\n }\nget_headers() {\n let headers = new HttpHeaders();\n headers = headers.append('Authorization', sessionStorage.getItem('sapmp_jwtToken'));\n return headers;\n}\n closeModal(event) {\n this.initModal = false;\n }\n\n handleError = (error) => {\n return throwError(error);\n }\n\n initOverviewModal() {\n this.overviewModalPopup = new ConfirmModalPopupModel();\n this.overviewModalPopup.modalMessage = '';\n this.overviewModalPopup.modalSubHeader = 'Overview Tutorial';\n this.overviewModalPopup.modalHeader = 'Modal Header';\n this.overviewModalPopup.confirmButtonMessage = 'OK';\n this.overviewModalPopup.showCancelButton = false;\n this.modalClass = 'modal-lg';\n }\n requestSupportContent(id, pageName) {\n return this.httpClientService.get(id + pageName, this.get_headers())\n .pipe(\n map((res: HttpResponse) => res.body)\n ,catchError( this.handleError ));\n}\n openOverviewModal() {\n this.showOverviewModal = true;\n this.eventEmit = document.activeElement;\n }\n\n closeOverviewModal() {\n this.showOverviewModal = false;\n }\n}\n","
    \n
    \n
    \n \"banner\"\n \"banner\"\n
    \n
    \n
    \n
    \n
    \n

    Support

    \n

    To get support for the device management program, you can:

    \n
    \n
      \n
    • View frequently asked questions (FAQ).
    • \n
    • Call or chat with AT&T support representatives.
    • \n
    \n
    \n
    \n
    \n
    \n \n \n \n
    \n
    \n
    \n
    \n

    Support

    \n

    To get support for the device management program, you can:

    \n
    \n
      \n
    • View frequently asked questions (FAQ).
    • \n
    • Call or chat with AT&T support representatives.
    • \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \"Frequently\n
    \n
    \n

    Frequently asked questions

    \n

    View frequently asked questions about the device management program.

    \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n \"Contact\n
    \n
    \n

    Contact us

    \n

    Contact us by calling or chatting with a support representative.

    \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n \n \n \n \n
    \n
    ","import { Injectable } from '@angular/core';\nimport { Router } from '@angular/router';\nimport { UserProfileModel } from 'lib/ng2-sapmp/src/models';\nimport { UtilityService } from './utility.service';\nimport { AuthenticationService } from './authentication.service';\nimport { ENV } from 'config';\nimport { ANALYTICS_CONSTANTS } from 'config';\n\ndeclare var ENV_VAR: any;\ndeclare var ENV_PORTAL;\ndeclare var ddo: any;\ndeclare var _satellite: any;\ndeclare var DataMappingInterface: any;\n\n\n@Injectable()\nexport class AdobeAnalyticsService {\n\n user: UserProfileModel;\n dataLayer: any;\n dataMappingObj: any;\n\n constructor(private utilityService: UtilityService,\n private router: Router, private authenticationService: AuthenticationService) {\n this.dataLayer = Object.assign({});\n this.dataMappingObj = this.initDataMappingObj();\n this.user = new UserProfileModel();\n }\n\n initDataMappingObj() {\n return {\n 'eventAction': null,\n 'eventCode': null,\n 'dataset': null,\n 'eddsupported': false\n };\n }\n\n setDataLayer(dataLayer) {\n this.dataLayer = Object.assign({}, dataLayer);\n }\n\n getDataLayer() {\n return this.dataLayer;\n }\n\n setDataMappingObj(dataMappingObj) {\n this.dataMappingObj = dataMappingObj;\n }\n\n getDAtaMappingObj() {\n return this.dataMappingObj;\n }\n\n setGlobalUserAttributes() {\n this.user = this.authenticationService.getUser();\n if (this.dataLayer && this.user) {\n this.dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_PRELOGIN_USER_ID] = this.user.userId;\n this.dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_USER_ID] = this.user.userId;\n this.dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_LOGIN_TYPE] = ANALYTICS_CONSTANTS.BC_USER_LOGIN_TYPE;\n //this.dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_SERVICE_TYPE] = ANALYTICS_CONSTANTS.BC_USER_SERVICE_TYPE;\n this.dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_ACCOUNT_FOCUS_TYPE] = ANALYTICS_CONSTANTS.BC_USER_ACCOUNT_FOCUS_TYPE;\n this.dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_BILLING_SYSTEM] = ANALYTICS_CONSTANTS.BC_USER_BILLING_SYSTEM_VAL;\n this.dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_LIABILITY_TYPE] = ANALYTICS_CONSTANTS.BC_USER_LIABILITY_TYPE_VAL;\n //this.dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_TECH_LANGUAGE] = navigator.language;\n //this.dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_TECH_USER_AGENT] = navigator.userAgent;\n this.dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_ABS_COMPANY_ROLE] = ANALYTICS_CONSTANTS.BC_USER_ABS_COMPANY_ROLE_VAL;\n if (this.user.impersonator && this.user.impersonator.type) {\n this.dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_ABS_ACTOR_TYPE] = this.user.impersonator.type;\n } else {\n this.dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_ABS_ACTOR_TYPE] = 'Customer';\n }\n //this.dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_APP_VISITOR_KEY] = document.cookie;\n if (this.user.clientIPAddress) {\n this.dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_REPRESENTATIVE_IPADDR] = this.user.clientIPAddress;\n }\n if (this.user.fanList) {\n this.dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_FAN] = this.user.fanList.length > 0 ? this.user.fanList[0] : '';\n this.dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_ABS_COMPANY_NAME] = this.user.fans.length > 0 ? this.user.fans[0].fanName : '';\n this.dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_LIBERTY_FLAG] = (this.user.fans[0].libertyIndicator == \"TRUE\") ? '1' : '0';\n console.log(\"libertyflag:\",this.user.fans[0].libertyIndicator); \n }\n // this.dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_ABS_COMPANY_NAME] = ''; // FAN NAME\n // this.dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_REPRESENTATIVE_IPADDR] = ''; // IP ADDRS\n /**\n * Optional Parameters.\n */\n // this.dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_WIRELESS_ACCOUNT_STATUS] = '';\n // this.dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_PREMIER_ENTERPRISE_TYPE] = '';\n // this.dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_MIMIC_ATTUID] = '';\n // this.dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_MIMIC_PREMIER_AGREEMENT_NUMBER] = '';\n // this.dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_MIMIC_ALT_SEGMENT_TYPE] = '';\n // this.dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_MIMIC_PREMIER_ENTERPRISE_TYPE] = '';\n\n }\n }\n\n setGlobalPageAttributes() {\n if (this.dataLayer) {\n if(this.dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_LOCATION_URL] === undefined || this.dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_LOCATION_URL] === null){\n this.dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_LOCATION_URL] = window.location.pathname;\n }\n this.dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_LANGUAGE] = ANALYTICS_CONSTANTS.BC_LANGUAGE_EN;\n this.dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_LINE_OF_BUSINESS] = ANALYTICS_CONSTANTS.BC_LINE_OF_BUSINESS_VAL;\n this.dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_RESPONSIVE_FLAG] = ANALYTICS_CONSTANTS.RESPONSIVEDESIGNFLAG_1;\n // this.dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_ZIP_CODE] = ANALYTICS_CONSTANTS.BC_LINE_OF_BUSINESS_VAL;\n this.dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_PAGE_OWNER_SHIP] = ANALYTICS_CONSTANTS.BC_BUSINESS_VAL;\n this.dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_APP_NAME] = ANALYTICS_CONSTANTS.BC_APP_NAME_VAL;\n this.dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_APP_CODE] = ANALYTICS_CONSTANTS.BC_APP_CODE_VAL;\n let pathNames = window.location.pathname.split('/').filter(data => (data && data !== 'businessconsole'));\n if (navigator.userAgent.toLowerCase().match('mobile')) {\n this.dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_VIEWED_UI_EXPERIENCE] = ANALYTICS_CONSTANTS.BC_MOBILE;\n } else {\n this.dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_VIEWED_UI_EXPERIENCE] = ANALYTICS_CONSTANTS.BC_DESKTOP;\n }\n\n let index = 0;\n for (const path of pathNames) {\n let siteSection = (index > 0) ? ANALYTICS_CONSTANTS.GLOBAL_PAGE_SITE_SUB_SECTION + index :\n ANALYTICS_CONSTANTS.GLOBAL_PAGE_SITE_SECTION;\n this.dataLayer[siteSection] = path.substring(0, 1).toUpperCase() + path.substring(1).toLowerCase();\n index++;\n }\n }\n }\n\n tag(tagType, dataLayer, eventCode, eventAction) {\n if (sessionStorage.getItem('sapmp_jwtToken') != null && ENV_PORTAL === 'fnabc') {\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_FIRSTNET_FLAG] = ANALYTICS_CONSTANTS.EVENTS_SUCCESSFLAG_1;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_FIRST_NET_USER_ROLE] = ANALYTICS_CONSTANTS.GLOBAL_USER_FIRST_NET_USER_ROLE_VALUE;\n }\n this.dataMappingObj = this.initDataMappingObj();\n if (typeof ddo === 'undefined' || typeof _satellite === 'undefined') {\n setTimeout(() => {\n this.prepareBeaconObject(tagType, dataLayer, eventCode, eventAction);\n console.log('dataMappingObj--- If');\n console.log(this.dataMappingObj);\n this.generateBeaconCall();\n }, 5000);\n } else {\n this.prepareBeaconObject(tagType, dataLayer, eventCode, eventAction);\n console.log('dataMappingObj--- Else');\n console.log(this.dataMappingObj);\n this.generateBeaconCall();\n }\n }\n\n prepareBeaconObject(tagType: string, dataLayer, eventCode: string, eventAction: string) {\n if (tagType === 'page') {\n ddo.disableAutoPageLoad();\n this.dataLayer = Object.assign({}, dataLayer);\n this.setGlobalPageAttributes();\n this.setGlobalUserAttributes();\n } else {\n this.dataLayer = Object.assign({}, dataLayer);\n }\n this.createDataMapObject(eventCode, eventAction);\n }\n\n createDataMapObject(eventCode, eventAction) {\n this.dataMappingObj[ANALYTICS_CONSTANTS.DATA_SET] = this.dataLayer;\n this.dataMappingObj[ANALYTICS_CONSTANTS.EVENT_ACTION] = eventAction;\n this.dataMappingObj[ANALYTICS_CONSTANTS.EVENT_CODE] = eventCode;\n console.log(\"inside createDataMapObject\"+this.dataMappingObj);\n }\n\n generateBeaconCall() {\n DataMappingInterface.init(this.dataMappingObj);\n console.log('********************Beacon call executed from Market App************************' +Math.random());\n };\n\n // page alert adobe analytics set properties\n CreateSeriveAlertProperties(code: number, message: string, event: string, errorType?: string) {\n const dataLayer = {};\n dataLayer[ANALYTICS_CONSTANTS.EVENT_EVENT_CODE] = ANALYTICS_CONSTANTS.EVENT_CODE_ALERT_DISPLAY;\n dataLayer[ANALYTICS_CONSTANTS.EVENT_SUCCESS_FLAG] = ANALYTICS_CONSTANTS.EVENTS_SUCCESSFLAG_0;\n if (errorType) {\n dataLayer[ANALYTICS_CONSTANTS.EVENT_ERROR_TYPE] = errorType;\n } else {\n dataLayer[ANALYTICS_CONSTANTS.EVENT_ERROR_TYPE] = ANALYTICS_CONSTANTS.EVENT_ERROR_FAILURE_TYPE_FAILURE_SYSTEM;\n }\n\n dataLayer[ANALYTICS_CONSTANTS.EVENT_STATUS_CODE] = code;\n // dataLayer[ANALYTICS_CONSTANTS.EVENT_STATUS_MESSAGE] = message;\n this.tag('event', dataLayer, ANALYTICS_CONSTANTS.EVENT_CODE_ALERT_DISPLAY, event);\n }\n\n\n /* DMP Adobe Analytics */\n public trackPageProperties() {\n const dataLayer = {};\n const url = this.router.routerState.snapshot.url;\n if (typeof ANALYTICS_CONSTANTS.FRIENDLY_PAGE_URL_NAME[url] !== 'undefined') {\n const friendlyName = ANALYTICS_CONSTANTS.FRIENDLY_PAGE_URL_NAME[url];\n const pageName = ANALYTICS_CONSTANTS.FRIENDLY_PAGE_URL_NAME[url].replace('BC ', '').replace(' Pg', '');\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_LOCATION_URL] = url;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FRIENDLY_PAGE_NAME] = friendlyName;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_FLOW_CODE] = 'BC~Buy~' + pageName;\n dataLayer[ANALYTICS_CONSTANTS.GLOBAL_PAGE_LANGUAGE] = 'EN';\n // dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_LOGIN_SOURCE] = 'shoplogin';\n console.log(dataLayer);\n this.tag('page', dataLayer, 'Page_Load', 'pageLoad');\n }\n }\n\n // EVENT ACTION MATRIX\n public trackEventProperties(data) {\n const dataLayer = {};\n dataLayer[ANALYTICS_CONSTANTS.EVENT_CODE] = ANALYTICS_CONSTANTS.EVENT_ACTION_MATRIX[data.code];\n dataLayer[ANALYTICS_CONSTANTS.EVENTS_ERRTYPE] = ANALYTICS_CONSTANTS['EVENT_ERROR_' + data.errorType];\n dataLayer[ANALYTICS_CONSTANTS.EVENTS_SUCCESSFLAG] = data.successFlag;\n dataLayer[ANALYTICS_CONSTANTS.EVENTS_STATUSMSG] = data.msg;\n // dataLayer[ANALYTICS_CONSTANTS.GLOBAL_USER_LOGIN_SOURCE] = 'shoplogin';\n console.log(\"Event Action Matrix\");\n console.log(dataLayer);\n this.tag('event', dataLayer, 'Page_Load', 'formsubmit');\n }\n\n createAdobeEventProperties( url:string,status: string, event: string, eventcode: string, \n errorText?: string, errorType?: string,linkName?: string,linkPosition?: string,linkDestinationUrl?: string) {\n\n let dataLayer = {};\n\n dataLayer[ANALYTICS_CONSTANTS.EVENT_EVENT_CODE] = eventcode;\n dataLayer[ANALYTICS_CONSTANTS.EVENT_FLOW_CODE] = ANALYTICS_CONSTANTS['FLOW_CODE_'+url];\n dataLayer[ANALYTICS_CONSTANTS.EVENT_LINK_POSITION]=linkPosition;\n dataLayer[ANALYTICS_CONSTANTS.EVENT_LINK_NAME]=linkName;\n dataLayer[ANALYTICS_CONSTANTS.EVENT_LINK_DESTINATIONURL]=linkDestinationUrl;\n \n if(event == 'formResponse' && status == 'SUCCESS'){\n dataLayer[ANALYTICS_CONSTANTS.EVENT_SUCCESS_FLAG] = ANALYTICS_CONSTANTS.EVENTS_SUCCESSFLAG_1;\n dataLayer[ANALYTICS_CONSTANTS.EVENT_STATUS_MESSAGE] = errorText;\n dataLayer[ANALYTICS_CONSTANTS.EVENT_ERROR_TYPE] = errorType;\n }\n else if(event == 'formResponse' && status == 'FAILURE') {\n dataLayer[ANALYTICS_CONSTANTS.EVENT_SUCCESS_FLAG] = ANALYTICS_CONSTANTS.EVENTS_SUCCESSFLAG_0;\n dataLayer[ANALYTICS_CONSTANTS.EVENT_STATUS_MESSAGE] = errorText;\n dataLayer[ANALYTICS_CONSTANTS.EVENT_ERROR_TYPE] = errorType;\n \n }\n \n this.tag('event', dataLayer, eventcode, event);\n }\n createClickProperties(linkName: string,linkPosition?: string,linkDestinationUrl?: string){\n let dataLayer = {};\n dataLayer[ANALYTICS_CONSTANTS.EVENT_LINK_NAME]=linkName;\n dataLayer[ANALYTICS_CONSTANTS.EVENT_LINK_POSITION]=linkPosition;\n dataLayer[ANALYTICS_CONSTANTS.EVENT_LINK_DESTINATIONURL]=linkDestinationUrl;\n //console.log(dataLayer);\n this.tag('event', dataLayer, 'Link_Click', 'linkClick');\n }\n // added for accesories functionality\n // createButtonProperties(linkSource, linkMedium, linkCampaign )\n // {\n // let dataLayer = {};\n // dataLayer[\"utmSource\"]=linkSource;\n // dataLayer[\"utmMedium\"]=linkMedium;\n // dataLayer[\"utmCampaign\"]=linkCampaign;\n // this.tag('event',dataLayer, 'Button_Click', 'ButtonClick' )\n\n // }\n}\n\n","import { Subject } from 'rxjs';\n\nexport class RouterPatchComponent {\n static navigateByUrl = new Subject();\n}\n","import { Injectable, EventEmitter } from '@angular/core';\nimport { map, catchError, tap, finalize } from 'rxjs/operators';\nimport { Router } from '@angular/router';\nimport { throwError, Observable, BehaviorSubject, Subject } from 'rxjs';\nimport { HttpResponse, HttpHeaders, HttpErrorResponse, HttpParams, HttpClient } from '@angular/common/http';\nimport { UtilityService } from './utility.service';\nimport { HttpClientService } from './http-client.service';\nimport { PageLoaderService } from '../ui-components/page-loader/';\nimport { SAPMPProfileModel } from '../models/userprofile/loginsources';\nimport { ENV } from '../../../../config/config';\nimport { LOGIN_REQUIRED } from '../../../../config/user.config';\nimport { PERMISSION } from '../../../../config/permission.config';\n// import { LOGIN_REQUIRED } from '../../../../config/permission.config';\n\n\ndeclare var ENV_VAR: any; // global variable set in env.js file, imported in index.html\ndeclare var ENV_PORTAL: any; //global variable added for addp;\ndeclare var MYATT_AGENT: any;\ndeclare var PREMIER_LOGIN_URL: any;\ndeclare var MYATT_LOGIN_URL: any;\ndeclare var DMP_PREMIER_LOGIN_URL: any;\ndeclare var DMP_FIRSTNET_LOGIN_URL: any;\ndeclare var DMP_MYATT_LOGIN_URL: any;\ndeclare var LOGOUT: any;\ndeclare var GLOBAL_LOGON_URL;\ndeclare var PREMIER_PROFILE_LOGOUT;\ndeclare var FIRSTNET_PROFILE_LOGOUT;\ndeclare var MYATT_PROFILE_LOGOUT;\n\n@Injectable()\nexport class AuthenticationService {\n private modalStatus = new BehaviorSubject(false);\n public obvStep: Observable = this.modalStatus.asObservable();\n public static User$ = new BehaviorSubject({});\n // public enrollStatus = new Subject();\n private enrollStatusSubject: BehaviorSubject = new BehaviorSubject(true);\n public enrollStatus$: Observable = this.enrollStatusSubject.asObservable();\n\n private showProfileError = new BehaviorSubject(false);\n public obvStep2: Observable = this.showProfileError.asObservable();\n\n public notify: EventEmitter = new EventEmitter();\n\n loginSuccessUrl: String;\n is_carelogin: String;\n loginModalStatus: boolean = false;\n\n constructor(private utilityService: UtilityService,\n private httpClientService: HttpClientService, private http: HttpClient,\n private router: Router,\n private pageloaderService: PageLoaderService) {\n AuthenticationService.User$.next(this.initUser());\n }\n initUser() {\n const u = (localStorage.getItem('user')) ? localStorage.getItem('user') :\n (sessionStorage.getItem('user')) ? sessionStorage.getItem('user') :\n undefined;\n\n if (window.location.pathname.includes('home')) this.checkSession();\n\n return u;\n }\n\n checkSession() {\n let url = this.utilityService.getEnvConfig();\n url = url.viewHeaders\n let headers = new HttpHeaders();\n headers = headers.set('Accept', 'text/html');\n // this.http.get('/businessconsole/login', {\n this.http.get('restservices/sapmp/v1/profile/viewHeaders', {\n headers: headers,\n observe: \"response\",\n responseType: 'text'\n }).subscribe(result => {\n let u = result.headers.get('iv-user');\n if (u && u !== 'Unauthenticated') {\n AuthenticationService.User$.next('loading')\n this.getUserDetails().subscribe(\n res => this.validateAndUpdateUser(), // success path\n error => this.validateAndUpdateUser() // error path);\n );\n }\n else { AuthenticationService.User$.next(undefined) }\n })\n }\n\n handleErrors(error: HttpErrorResponse): Observable {\n let errorMessage = 'Unknown error!';\n if (error.error instanceof ErrorEvent) {\n // Client-side errors\n errorMessage = `Error: ${error.error.message}`;\n } else {\n // Server-side errors\n errorMessage = `Error Code: ${error.status}\\nMessage: ${error.message}`;\n }\n return throwError(errorMessage);\n }\n validateAndUpdateUser() {\n this.validateUser().pipe(catchError(this.handleErrors))\n .subscribe((res: HttpResponse) =>\n this.getUserDetails().subscribe()\n , error => {\n console.log(\"Error getting user data from checkSession\");\n AuthenticationService.User$.next(undefined)\n // this.getUserDetails().subscribe();\n // this.handleLoginError(error.status);\n }\n )\n }\n getUserDetails() {\n let url = ENV[ENV_VAR].profilePerm;\n let headers = new HttpHeaders();\n // console.log(\"data===>\", PERMISSION[0]['basicAuth']);\n // headers = headers.append('Authorization', 'Basic '+PERMISSION[0]['basicAuth']);\n // headers = headers.append('Authorization', sessionStorage.getItem('sapmp_jwtToken'));\n try {\n return this.httpClientService.get(url, headers)\n .pipe(\n map( // Log the result or error\n (res: any) => {\n // console.log(\"profile res============>\",res);\n return this.setUserDetails(res.body);\n },\n error => {\n // console.log(\"profile error==============>\",error);\n // console.log(\"caught up==============>\");\n // alert(\"caught up\");\n // this.handleLoginError('403');\n // AuthenticationService.User$.next(undefined)\n console.dir(error);\n // this.headerService.setlogoutHeaderChanges(true);\n\n // this.logout('login');\n\n // AuthenticationService.User$.next(undefined)\n // this.handleLoginError(error.status);\n }\n ),\n catchError(error => {\n // console.log('error occured:', error);\n // this.handleLoginError('403');\n sessionStorage.clear();\n localStorage.clear();\n throw error;\n }),\n finalize(() => {\n console.log('finalize')\n })\n );\n } catch (error) {\n console.log(\"profile userinfo call error===============>\", error);\n }\n }\n setUserDetails(ProfileAndPerms) {\n sessionStorage.setItem('profileAndPermsInfo', JSON.stringify(ProfileAndPerms));\n //CHECK if profile is valid if not AuthenticationService.User$.next(undefined)\n if (!ProfileAndPerms || !ProfileAndPerms.jwtToken) {\n AuthenticationService.User$.next(undefined)\n }\n\n sessionStorage.setItem('sapmp_jwtToken', ProfileAndPerms.jwtToken);\n sessionStorage.setItem('impersonator', JSON.stringify(ProfileAndPerms.profile.impersonator));\n if (!sessionStorage.getItem('sessionId')) {\n sessionStorage.setItem('sessionId', ProfileAndPerms.profile.user.sessionId);\n }\n sessionStorage.setItem('permissions', JSON.stringify(ProfileAndPerms.permissions));\n this.setUser(new SAPMPProfileModel(ProfileAndPerms.profile));\n return true;\n }\n setDefaultUser() {\n // this.setUserDetails(SAPMPProfileModel.getUnknownUser());//code commented for DMP-25: Unknown profile issue\n // sessionStorage.setItem('initialSignupStatus', 'unknown');\n // sessionStorage.setItem('noOfDevice', 'unknown');\n sessionStorage.clear();\n localStorage.clear();\n localStorage.setItem('profileLogin', 'true');\n }\n\n logout(isNavigate) {\n sessionStorage.clear();\n localStorage.removeItem('dmp_unique_stubid');\n localStorage.removeItem('dmp_stubid');\n // AuthenticationService.deleteAllCookies();\n if (isNavigate) {\n this.router.navigate(['login']);\n } else {\n sessionStorage.clear();\n window.location.href = LOGOUT;\n }\n return false;\n }\n\n //TODO remove static member\n static logoutStatic() {\n sessionStorage.clear();\n // AuthenticationService.deleteAllCookies();\n sessionStorage.clear();\n window.location.href = LOGOUT;\n return false;\n }\n\n checkIfAuthNeeded() {\n if (\n sessionStorage.getItem('sapmp_jwtToken') != null &&\n sessionStorage.getItem('permissions') != null &&\n sessionStorage.getItem('initialSignupStatus') != null\n ) {\n return true;\n }\n return false;\n }\n\n validateUser() {\n let payload = {};\n let ivuser = sessionStorage.getItem('iv-user');\n let stubid = sessionStorage.getItem('stubId');\n let client = sessionStorage.getItem('client');\n let rkey = sessionStorage.getItem('rkey');\n let multiStubId = localStorage.getItem('dmp_unique_stubid');\n let dmpstubId = localStorage.getItem('dmpStubId');\n\n let url = this.utilityService.getEnvConfig().validateUser +\"?source=\" + ENV_PORTAL.toUpperCase();\n if (ENV_PORTAL.toUpperCase() !== \"DMPADMIN\") {\n url += (ivuser && ivuser != 'undefined') ?\n \"&iv-user=\" + ivuser : '';\n url += (stubid && stubid != 'undefined') ?\n \"&stubId=\" + stubid : '';\n url += (client && client != 'undefined') ?\n \"&client=\" + client : '';\n url += (rkey && rkey != 'undefined') ?\n \"&rkey=\" + rkey : '';\n if(multiStubId && multiStubId != 'undefined') payload[\"dmp_unique_stubid\"] = multiStubId;\n if(dmpstubId && dmpstubId != 'undefined') payload[\"dmp_stubid\"] = dmpstubId;\n }\n\n return this.httpClientService.post(url, payload).pipe(\n // return this.httpClientService.get(url).pipe(\n tap( // Log the result or error\n (data: HttpResponse) => {\n console.dir(data);\n if ((dmpstubId == null || dmpstubId == undefined) && ENV_PORTAL.toUpperCase() !== \"DMPADMIN\") {\n //Need to add condition for multistubID\n if (data.body && data.body.body != null) {\n localStorage.setItem('dmp_stubid_list', JSON.stringify(data.body.body));\n }\n console.log(\"Redirected to mutistubid page\");\n }\n // sessionStorage.removeItem(\"dmp_unique_stubid\");\n },\n error => {\n //TODO Proactivly Handle if Profile Errors\n console.dir(error);\n //sessionStorage.removeItem(\"dmp_unique_stubid\");\n return error;\n }\n )\n );\n }\n\n handleLoginError(status: any) {\n //throw new Error(\"Method not implemented.\");\n // navigate to home page with error code\n this.pageloaderService.setPageLoaderStatus(true);\n this.setDefaultUser();\n localStorage.setItem('loginFail', status);\n let d = new Date();\n d.setTime(d.getTime());\n let expires = \"expires=\" + d.toUTCString();\n document.cookie = \"profileError=\"+status+\"; domain=.att.com; path=/\";\n this.router.navigate(['home']);\n }\n\n navigateAfterLogin(rkey) {\n this.pageloaderService.setPageLoaderStatus(true);\n\n this.router.navigate([\"authentication\"], {\n queryParams: {\n rKey: rkey\n }\n });\n }\n //check local config if route requires only login\n isRkeyGarded(rkey) {\n return (LOGIN_REQUIRED.find(routeName => rkey == routeName) !== undefined);\n }\n\n handleFanError(errorCode) {\n this.pageloaderService.setPageLoaderStatus(true);\n this.router.navigate(['errorPage', errorCode]);\n }\n\n checkCredentials() {\n let retrievedObject = sessionStorage.getItem('user');\n if (sessionStorage.getItem('sapmp_jwtToken') === null) {\n this.router.navigate(['login']);\n }\n return JSON.parse(retrievedObject).user;\n }\n\n handleError = (error) => {\n return throwError(error);\n };\n\n setLoginSuccessUrl(url) {\n if (!url) {\n localStorage.removeItem('loginSuccessUrl');\n return;\n }\n let clearUrl = url.replace('/', '');\n localStorage.setItem('loginSuccessUrl', clearUrl);\n }\n\n getLoginSuccessUrl() {\n return localStorage.getItem('loginSuccessUrl');\n }\n\n setLoginModalStatus(value: boolean) {\n this.modalStatus.next(value);\n }\n\n getLoginModalStatus(): Observable {\n return this.obvStep;\n }\n\n\n setAuthToken(tokenName, token) {\n sessionStorage.setItem(tokenName, JSON.stringify({ timestamp: new Date(), token: token }));\n }\n\n getAuthToken(tokenName) {\n if (sessionStorage.getItem(tokenName) === null) {\n return null;\n } else {\n return JSON.parse(sessionStorage.getItem(tokenName)).token;\n }\n }\n\n //only location that sets user session storage.\n setUser(applicationuser) {\n sessionStorage.setItem('user', JSON.stringify({ timestamp: new Date(), user: applicationuser }));\n //observable to sessionStorage user object changes\n AuthenticationService.User$.next(applicationuser);\n }\n\n getUser() {\n if (sessionStorage.getItem('user') === null) {\n return null;\n } else {\n return JSON.parse(sessionStorage.getItem('user')).user;\n }\n }\n isLoggedIn() {\n return this.getCookie('tAuthNState');\n }\n checkNDAGroup(cookieValue) {\n let headers = new HttpHeaders();\n headers = headers.append('Content-Type', 'text/json');\n headers = headers.append('attESG2', cookieValue);\n headers = headers.append('channel', 'premier');\n headers = headers.append('portal', 'appmarket');\n return this.httpClientService.post(ENV[ENV_VAR].cspGroupValidationUrl, null, headers).pipe(\n catchError(this.handleNDAError));\n }\n\n getTimeStamp() {\n if (sessionStorage.getItem('user') === null) {\n return null;\n } else {\n return JSON.parse(sessionStorage.getItem('user')).timestamp;\n }\n }\n\n handleNDAError = (error) => {\n throw error;\n };\n\n\n getPermissions() {\n if (sessionStorage.getItem('permissions') === null) {\n return null;\n } else {\n return JSON.parse(sessionStorage.getItem('permissions'));\n }\n }\n\n getProfile(adminAttId?: string) {\n let headers = new HttpHeaders();\n headers = headers.append('Content-Type', 'text/json');\n // headers = headers.append('Authorization', sessionStorage.getItem('sapmp_jwtToken'));\n // headers = headers.append('Authorization', 'Basic '+PERMISSION[0]['basicAuth']);\n let url = ENV[ENV_VAR].profilePerm;\n return this.httpClientService.getProfile(url, headers)\n .pipe(\n map((res: HttpResponse) => {\n return res.body;\n },\n error => {\n return error;\n }\n )\n );\n }\n\n // added to maintain the landing page url in session on success full login, based on ADDP authority and FAN signedup status\n setLandingPageRoute(route) {\n sessionStorage.setItem('landingPageRoute', route);\n }\n\n getLandingPageRoute() {\n let route = sessionStorage.getItem('landingPageRoute');\n if (!route) {\n route = '/login';\n }\n return String(route);\n }\n\n getFanSignedUpStatus() {\n let headers = new HttpHeaders();\n headers = headers.append('Authorization', sessionStorage.getItem('sapmp_jwtToken'));\n const id = sessionStorage.getItem('signupStatus');\n let url;\n url = ENV[ENV_VAR].dashboardSummary;\n\n return this.httpClientService.get(url, headers)\n .pipe(\n map((res: HttpResponse) => {\n return res.body \n }),\n catchError(this.handleNDAError));\n }\n\n getSubscriptionData(subUrl, requestData) {\n return this.httpClientService.authorizedPut(subUrl, requestData)\n .pipe(\n map((res: HttpResponse) => {\n if (sessionStorage.getItem('sapmp_jwtToken') != null) {\n this.httpClientService.tokenRefresh(this.utilityService.getEnvConfig().tokenRefresh);\n }\n return res.body;\n })\n , catchError(this.handleError));\n }\n\n getProfileModel(profile) {\n return new SAPMPProfileModel(profile);\n }\n\n getHaloAuthenticateState(url) {\n return this.httpClientService\n .authorizedGet(url, null, 'text')\n // .get(url)\n .pipe(\n map((res: HttpResponse) => {\n this.httpClientService.updateAuthorizationHeaders(res);\n let data = res.body;\n // let data = 'UNAUTHENTICATE';\n let isHaloStatus: boolean;\n if (data === 'CONTINUE') {\n isHaloStatus = true;\n } else if (data === 'AUTHENTICATE') {\n isHaloStatus = false;\n }\n else if (data === 'UNAUTHENTICATE') {\n isHaloStatus = null;\n }\n return isHaloStatus;\n })\n , catchError(this.handleError));\n }\n\n\n careServiceLogin(user, redirectUrl) {\n sessionStorage.removeItem('authToken');\n let fanId = user;\n let headers = new HttpHeaders();\n headers = headers.append('Content-Type', 'text/json');\n headers = headers.append('portal', 'appmarket');\n headers = headers.append('channel', 'care');\n headers = headers.append('fanNumber', fanId);\n headers = headers.append('client', sessionStorage.getItem('client'));\n let url = '';\n url = this.utilityService.getEnvConfig().careAuthTokenWithoutFanIdServiceUrl; //+'&rdirect=true&source=care&rKey=dashboard';\n return this.httpClientService.get(url, headers) //need to change param (url, headers ) in case of actual api call\n .pipe(\n map((res: HttpResponse) => { return res.body }),\n catchError(this.handleNDAError));\n }\n\n careUserProfile() {\n let headers = new HttpHeaders();\n headers = headers.append('Content-Type', 'text/json');\n headers = headers.append('portal', 'appmarket');\n headers = headers.append('channel', 'care');\n let url = '';\n if (!this.utilityService.getEnvConfig().useMock) {\n url = this.utilityService.getEnvConfig().careUserProfileUrl;\n }\n else {\n url = this.utilityService.getEnvConfig().careUserProfileUrlMock;\n }\n // let userProfileURL = this.utilityService.getEnvConfig().careUserProfileUrl;\n return this.httpClientService.authorizedGet(url, headers)\n .pipe(\n map((res: HttpResponse) => { return res.body }),\n catchError(this.handleNDAError));\n }\n careServiceLoginNoID(redirectUrl) {\n sessionStorage.removeItem('authToken');\n // let fanId = user;\n let headers = new HttpHeaders();\n headers = headers.append('Content-Type', 'text/json');\n headers = headers.append('portal', 'appmarket');\n headers = headers.append('channel', 'care');\n headers = headers.append('client', sessionStorage.getItem('client'));\n let url = '';\n url = this.utilityService.getEnvConfig().careAuthTokenWithoutFanIdServiceUrl;//+'&rdirect=true&source=care&rKey=dashboard';\n return this.httpClientService.get(url, headers) //need to change param (url, headers ) in case of actual api call\n .pipe(\n map((res: HttpResponse) => { return res.body }),\n catchError(this.handleNDAError));\n }\n\n gloablLogin() {\n const ADDP_PROTAL_PATHNAME = window.location.href;\n const ADDP_RETURN_URL_ENCODED = encodeURIComponent(ADDP_PROTAL_PATHNAME);\n const GOLBAL_LOGON_CALLING_URI = GLOBAL_LOGON_URL + ADDP_RETURN_URL_ENCODED + '&encReturnURL&sysName=CSP';\n window.location.href = GOLBAL_LOGON_CALLING_URI;\n this.pageloaderService.setPageLoaderStatus(true);\n }\n\n static deleteAllCookies() {\n document.cookie.split(';').forEach(cookie =>\n document.cookie = cookie + \"=;expires=\"\n + new Date(0).toUTCString()\n );\n }\n getCookie(cname) {\n const name = cname + '=';\n const decodedCookie = decodeURIComponent(document.cookie);\n const ca = decodedCookie.split(';');\n for (let i = 0; i < ca.length; i++) {\n let c = ca[i];\n while (c.charAt(0) === ' ') {\n c = c.substring(1);\n }\n if (c.indexOf(name) === 0) {\n return c.substring(name.length, c.length);\n }\n }\n return null;\n }\n\n loginDirect(portal) {\n let profileErrorStatus = localStorage.getItem('profileLogin')? JSON.parse(localStorage.getItem('profileLogin')) : false;\n if(profileErrorStatus){\n localStorage.clear();\n if(portal === 'sapmp'){\n window.location.href = PREMIER_PROFILE_LOGOUT;\n }else if(portal == 'fnabc'){\n window.location.href = FIRSTNET_PROFILE_LOGOUT;\n }else{\n window.location.href = MYATT_PROFILE_LOGOUT;\n }\n }else{\n const domain = (portal === 'sapmp') ? DMP_PREMIER_LOGIN_URL\n : (portal === 'fnabc') ? DMP_FIRSTNET_LOGIN_URL : DMP_MYATT_LOGIN_URL;\n const loginSuccessUrl = this.getLoginSuccessUrl();\n window.location.href = domain;\n }\n }\n\n // setProfileErrorModalStatus(value: boolean) {\n // this.showProfileError.next(value);\n // this.router.navigate(['/home']);\n // }\n\n // getProfileErrorModalStatus(): Observable {\n // return this.obvStep2;\n // }\n\n updateEnrollStatus(data: any) {\n let activeSignup = data.fanInfoList && data.fanInfoList.length > 0 ? data.fanInfoList.filter(fan => fan.accountStatus === 'ACTIVE' || fan.accountStatus === 'SIGNUP_INPROGRESS').length : 0;\n if(data.showEnroll){\n this.enrollStatusSubject.next(true);\n }else{\n if(data.noOfFans !=0 && activeSignup !=0){\n if(data.noOfFans == (activeSignup/2)){\n //hide Register/Enroll menu\n this.enrollStatusSubject.next(false);\n }else{\n //show Register/Enroll menu\n this.enrollStatusSubject.next(true);\n }\n }\n }\n \n // this.enrollStatusSubject.next(status);\n }\n \n getEnrollStatus() {\n return this.enrollStatusSubject.asObservable();\n }\n}","import { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { Resolve, ActivatedRouteSnapshot, RouterStateSnapshot, Router } from '@angular/router';\nimport { Observable, of } from 'rxjs';\nimport { HttpClientService } from './http-client.service';\nimport { UtilityService } from './utility.service';\nimport { BreadCrumbService } from '../ui-components/breadcrumb/breadcrumb.service';\nimport { AuthenticationService } from './authentication.service';\nimport { PageLoaderService } from '../ui-components/page-loader/page-loader.service';\nimport { ChipsService } from '../ui-components/chips/chips.service';\n\n@Injectable()\nexport class CMSResolver implements Resolve {\n public static cms = {\n global: { errors: {}\n }\n };\n\n constructor(\n private http: HttpClientService,\n private router: Router,\n private utilityService: UtilityService,\n private chipsService: ChipsService,\n private pageloaderService: PageLoaderService\n ) {\n this.updateCMS('global').subscribe(data => data, error => {\n console.log('global data not found');\n });\n }\n\n resolve(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable {\n this.pageloaderService.setPageLoaderStatus(false);\n\n let context = route.data.context;\n if (!context) {\n const s = state.url.replace(/\\//g, '')\n context = (s.indexOf('?') > 1) \n ? s.substring(0, s.indexOf('?'))\n : s;\n }\n \n return this.updateCMS(context)\n .pipe(\n map(cms => {\n this.pageloaderService.setPageLoaderStatus(true);\n if (cms[context].title) {\n document.title = cms[context].title;\n }\n if (cms[context].description) {\n let meta = document.getElementsByTagName('meta');\n meta['description'].content = cms[context].description;\n }\n this.chipsService.setChips(cms[context].chips);\n return cms;\n })\n ,catchError(error => {\n console.error(`Retrieval error: ${error.message}`);\n console.dir(error);\n this.pageloaderService.setPageLoaderStatus(true);\n this.router.navigate(['/error']);\n return of(null);\n }));\n }\n\n updateCMS(context): Observable {\n let jsonData = CMSResolver.cms[context];\n jsonData = (jsonData) ? jsonData : JSON.parse(sessionStorage.getItem(context));\n const observableData = (jsonData) ? of(jsonData) :\n this.getFromMongo(context);\n return observableData.pipe(\n map(cmsData => {\n sessionStorage.setItem(context, JSON.stringify(cmsData));\n CMSResolver.cms[context] = cmsData;\n return CMSResolver.cms;\n }));\n }\n getFromMongo(context): Observable {\n return this.http.authorizedGet('restservices/cms/v1/document/' + context)\n .pipe(\n map(mongoData => mongoData.body));\n }\n}\n","import { Injectable, ErrorHandler } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { HttpClient, HttpResponse, HttpErrorResponse } from '@angular/common/http';\n\nimport { Observable } from 'rxjs';\nimport { RouterPatchComponent as router } from './app-router-patch.component';\nimport { UtilityService } from './utility.service';\nimport { HttpClientService } from './http-client.service';\n\n\n@Injectable()\nexport class ErrorLogService implements ErrorHandler {\n\n constructor(private utilityService: UtilityService,\n private httpClientService: HttpClientService, ) {\n }\n\n public handleError(error: any): void {\n try {\n this.logError(this.findOriginalError(error));\n } catch (loggingError) {\n console.group('ErrorHandler');\n console.warn('Error when trying to log error to', this.logError);\n console.error(loggingError);\n console.groupEnd();\n }\n }\n\n private logError(error: any): void {\n if (error && error.message === 'Timeout has occurred') {\n error.status = 408;\n }\n this.sendToConsole(error);\n // this.sendToServer(error);\n if (error && error.status) {\n router.navigateByUrl.next('serverError/' + error.status);\n } else {\n router.navigateByUrl.next('serverError/' + 500);\n }\n\n }\n\n private sendToConsole(error: any): void {\n console.log('-------3-------');\n if (console && console.group && console.error) {\n console.group('Error Log Service');\n console.error(error);\n if (error.statusText) {\n console.error(error.statusText);\n }\n if (error.message) {\n console.error(error.message);\n }\n if (error.stack) {\n console.error(error.stack);\n }\n console.groupEnd();\n }\n }\n\n private sendToServer(error: any): void {\n console.log('-------4-------');\n this.httpClientService\n .post(this.utilityService.getEnvConfig().loggerServiceUrl,\n {\n errorCode: error.status,\n errorDescription: error.message,\n errorStack: error.stack,\n currentLocation: window.location.href\n }\n )\n .subscribe(\n (httpResponse: HttpResponse): void => { },\n (httpError: HttpErrorResponse): void => {\n console.log('Http error:', httpError);\n }\n )\n ;\n }\n\n\n\n private findOriginalError(error: any): any {\n console.log('-------5-------');\n while (error && error.originalError) {\n error = error.originalError;\n }\n return (error);\n }\n}\n","import { Injectable } from '@angular/core';\nimport { HttpClient, HttpHeaders, HttpResponse, HttpParams } from '@angular/common/http';\nimport { Observable, throwError } from 'rxjs';\nimport { map, catchError } from 'rxjs/operators';\nimport { UtilityService } from './utility.service';\nimport { TimeOutPopupService } from '../ui-components/timeout-popup';\n\ndeclare var timerObj: any;\ndeclare var logoutCurrentUser: any;\ndeclare var ENV_PORTAL: any;\ndeclare var ENV_VAR: any;\ndeclare var API_DOMAIN: any;\n\n@Injectable()\nexport class HttpClientService {\n\n\n constructor(public http: HttpClient, private utilityService: UtilityService,\n private timeoutPopupService: TimeOutPopupService) {\n }\n\n tokenRefresh(url) {\n // url = url + '?random=' + this.utilityService.getRandom();\n this.authorizedGet(url, null, 'text')\n .pipe(\n map((res: HttpResponse) => {\n let u = res.headers.get('iv-user');\n sessionStorage.setItem('iv-user', u);\n this.updateAuthorizationHeaders(res);\n return res.body;\n }))\n .subscribe((respobj: HttpResponse) => {\n if (respobj.body !== null) {\n console.dir(respobj.body);\n }\n }, error => {\n if (error && error.status && error.status === 401) {\n\n logoutCurrentUser(true);\n }\n console.error(error);\n });\n }\n\n authorizedGet(url, headers?: HttpHeaders, responsetype?: any) {\n headers = this.setCommonHeaders(headers);\n headers = this.createAuthorizationHeader(headers);\n return this.http.get(url, {\n headers: headers,\n observe: \"response\",\n responseType: responsetype\n });\n }\n\n\n authorizedPost(url, data, headers?: HttpHeaders) {\n headers = this.setCommonHeaders(headers);\n headers = this.createAuthorizationHeader(headers);\n return this.http.post(url, data, {\n headers: headers,\n observe: \"response\"\n });\n }\n\n authorizedMultipartPost(url, data, headers?: HttpHeaders) {\n headers = this.setCommonHeaders(headers, true);\n headers = this.createAuthorizationHeader(headers);\n return this.http.post(url, data, {\n headers: headers,\n observe: \"response\"\n });\n }\n\n get(url, headers?: HttpHeaders) {\n let urlCheck = url.toString();\n headers = this.setCommonHeaders(headers);\n let source = sessionStorage.getItem('SAPMP_ENV_PORTAL');\n if ((window.location.hostname.includes('localhost') || window.location.hostname.includes('zld04698')) && source == 'dmpadmin') {\n let groupsArray = [ { \"attuid\" : \"pk4680\", \"groups\" : \"ABCCPW\" }, { \"attuid\" : \"aa2429\", \"groups\" : \"ABCASA\" }, { \"attuid\" : \"sd272t\", \"groups\" : \"ABCABM\" }, { \"attuid\" : \"sd884h\", \"groups\" : \"ABCCRO\" }, { \"attuid\" : \"sc5718\", \"groups\" : \"ABCMIA\" }, { \"attuid\" : \"sp3030\", \"groups\" : \"ABCLMA\" }, { \"attuid\" : \"ml5174\", \"groups\" : \"ABCCNW\" }, { \"attuid\" : \"sj137x\", \"groups\" : \"ABCASA\" }, { \"attuid\" : \"er2840\", \"groups\" : \"ABCROA\" } ]\n if (urlCheck.includes('validate') || urlCheck.includes('profileAnd')) {\n // if (user.length == 0 || user == null) {\n let attuid = document.cookie;\n let groupPerm;\n for(let i=0 ; i) {\n if (res.headers.get('authorization') != null) {\n // keep premier session alive\n sessionStorage.setItem('sapmp_jwtToken', res.headers.get('authorization'));\n }\n }\n\n setCommonHeaders(headers?: HttpHeaders, isMultipart?: boolean) {\n if (!headers || headers === null) {\n headers = new HttpHeaders();\n }\n if (isMultipart) {\n // headers.append('Content-Type', 'multipart/form-data');\n } else {\n headers = headers.append('Content-Type', 'application/json');\n }\n headers = headers.append('Accept', 'text/html,application/json');\n // if (sessionStorage.getItem('sessionId') !== null && sessionStorage.getItem('sessionId') !== undefined && sessionStorage.getItem('sessionId') !== 'undefined') {\n // headers = headers.append('X-ATT-UserSessionId', sessionStorage.getItem('sessionId'));\n // }\n // if (sessionStorage.getItem('attESSec') !== null) {\n // headers = headers.append('X-ATT-attESSec', sessionStorage.getItem('attESSec'));\n // headers = headers.append('X-ATT-attESHr', sessionStorage.getItem('attESHr'));\n // }\n headers = headers.append('source', ENV_PORTAL)\n return headers;\n }\n\n createAuthorizationHeader(headers: HttpHeaders = new HttpHeaders()) {\n if (sessionStorage.getItem('sapmp_jwtToken') != null) {\n this.timeoutPopupService.setTimeoutStatus(true);\n headers = headers.append('Authorization', sessionStorage.getItem('sapmp_jwtToken'));\n\n headers = headers.append('channel', 'premier');\n headers = headers.append('portal', 'appmarket');\n var cookieItems: any = document.cookie;\n\n }\n return headers;\n }\n\n getCookie(cname) {\n var name = cname + \"=\";\n var decodedCookie = decodeURIComponent(document.cookie);\n var ca = decodedCookie.split(';');\n for (var i = 0; i < ca.length; i++) {\n var c = ca[i];\n while (c.charAt(0) == ' ') {\n c = c.substring(1);\n }\n if (c.indexOf(name) == 0) {\n return c.substring(name.length, c.length);\n }\n }\n return null;\n }\n\n replaceTextInUrl(textToReplace, replaceWith, url) {\n if (url) {\n return url.replace(textToReplace, replaceWith);\n } else {\n return null;\n }\n }\n\n getProfile(url, headers?: HttpHeaders, params?: HttpParams) {\n headers = this.setCommonHeaders(headers);\n headers = this.createAuthorizationHeader(headers);\n return this.http.get(url, {\n headers: headers,\n observe: 'response',\n params: params\n });\n }\n\n getCurrentYear() {\n var d = new Date();\n return d.getFullYear();\n }\n\n handleError(error) {\n return throwError(error);\n }\n}\n","export * from './utility.service';\nexport * from './http-client.service';\nexport * from './authentication.service';\nexport * from './validation.service';\nexport * from './error-log.service';\nexport * from './app-router-patch.component';\nexport * from './user-wizard-service';\nexport * from './license-pricing.service';\nexport * from './adobe-analytics.service';\n","import { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { HttpClient, HttpResponse, HttpHeaders } from '@angular/common/http';\n\nimport { Observable, throwError } from 'rxjs';\nimport { HttpClientService, UtilityService } from './';\n\n@Injectable()\nexport class LicensePricingService {\n\n constructor(private http: HttpClient, private httpClientService: HttpClientService, private utilityService: UtilityService) { }\n\n // pricing update for given qty\n getPricingDetailsByQty(data) {\n const serviceUrl = this.utilityService.getEnvConfig().getPricingUpdateForDCMcode;\n return this.httpClientService.authorizedPost(serviceUrl, data)\n .pipe(\n map((res: HttpResponse) => {\n this.httpClientService.tokenRefresh(this.utilityService.getEnvConfig().tokenRefresh);\n this.httpClientService.updateAuthorizationHeaders(res);\n return res.body;\n })\n ,catchError( this.handleError ));\n }\n\n // decrease qty validation\n decreaseQtyValidation(serviceUrl, data) {\n return this.httpClientService.authorizedPut(serviceUrl, data)\n .pipe(\n map((res: HttpResponse) => {\n this.httpClientService.updateAuthorizationHeaders(res);\n return res.body;\n })\n ,catchError( this.handleError ));\n }\n\n // get pricing for owned product\n getPricingForOwenedQty(data) {\n const serviceUrl = this.utilityService.getEnvConfig().getPricingForOwnedProduct;\n return this.httpClientService.authorizedPost(serviceUrl, data)\n .pipe(\n map((res: HttpResponse) => {\n this.httpClientService.updateAuthorizationHeaders(res);\n return res.body;\n }),catchError( this.handleError ));\n }\n\n handleError = (error) => {\n return throwError(error);\n }\n\n}\n","import {Injectable} from '@angular/core';\n\n@Injectable()\n\nexport class ReCaptcha3Service {\n\n private baseUrl = 'https://www.google.com/recaptcha/api.js';\n private siteKey = '';\n private isLoaded: Boolean = false;\n private scriptId: number;\n\n\n public constructor() {\n window['ngRecaptcha3Loaded'] = () => {\n this.isLoaded = true;\n };\n \n this.scriptId = +(new Date());\n this.init('6LdLTNEUAAAAAEy4MbmQJlY6SBue1NvTSqVDiwYB');\n }\n\n\n public getToken(): Promise {\n return window['grecaptcha'].execute(this.siteKey, {action: 'productDetails'});\n }\n\n public init(siteKey: string) {\n if (this.isLoaded) {\n return;\n }\n this.siteKey = siteKey;\n const script = document.createElement('script');\n script.innerHTML = '';\n script.src = this.baseUrl + `?render=${this.siteKey}&onload=ngRecaptcha3Loaded`;\n script.id = `recapthcha-${this.scriptId}`;\n script.async = true;\n script.defer = true;\n document.head.appendChild(script);\n }\n\n public destroy() {\n\tthis.isLoaded = false;\n const script = document.getElementById(`recapthcha-${this.scriptId}`);\n if (script) {\n script.remove();\n }\n window['grecaptcha'] = null;\n const badge = document.getElementsByClassName('grecaptcha-badge')[0];\n if (badge) {\n badge.remove();\n }\n\n }\n\n\n}","import { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { Subject, Observable } from 'rxjs';\nimport { MobilePivotModel } from 'lib/ng2-sapmp/src/ui-components/mobile-pivot';\n\n@Injectable()\nexport class UserWizardService {\n private sessionStorageName = 'assign-wizard';\n private subject = new Subject();\n private pivotSubject = new Subject>();\n\n // Method to add Source\n public addAssignOrUnassignWizard(userWizard) {\n sessionStorage.setItem(this.sessionStorageName, JSON.stringify(userWizard));\n }\n\n public fetchSessionData() {\n return JSON.parse(sessionStorage.getItem(this.sessionStorageName));\n }\n\n // Add ProductList\n public addProductList(userWizard) {\n this.addAssignOrUnassignWizard(userWizard);\n }\n\n public setMessage(message: string) {\n this.subject.next(message);\n }\n\n public getMessage() {\n return this.subject.asObservable();\n }\n\n public setPivot(pivot: Array) {\n this.pivotSubject.next(pivot);\n }\n\n public getPivot() {\n return this.pivotSubject.asObservable();\n }\n\n public removeAssignOrUnassignWizard() {\n sessionStorage.removeItem(this.sessionStorageName);\n sessionStorage.removeItem('steps-manageUsers');\n }\n}","import { KEY_CONFIG } from './../config/key-config';\nimport { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { HttpClient, HttpResponse } from '@angular/common/http';\nimport { Observable, BehaviorSubject, throwError } from 'rxjs';\nimport { BreadCrumbService } from '../ui-components/breadcrumb/breadcrumb.service';\n\n\n\n@Injectable()\nexport class UtilityService {\n envConfig: any;\n successMessage: string = null;\n fanId: string;\n ranNum: number = 1;\n private dashboard = '/dashboard';\n private manageProduct = '/manageProduct';\n private manage = '/manageLicenses';\n private pageTitleConfig = {};\n private pageLoadChangeChecklist: BehaviorSubject;\n \n\n constructor(private http: HttpClient, private breadCrumbService: BreadCrumbService, ) {\n this.envConfig = {};\n this.pageTitleConfig = {};\n this.pageLoadChangeChecklist = new BehaviorSubject(false);\n }\n\n\n csvJSON(csv) {\n const lines = csv.split('\\n')\n const result = []\n const headers = lines[0].split(',')\n\n for (let i = 1; i < lines.length; i++) {\n if (!lines[i])\n continue\n const obj = {}\n const currentline = lines[i].split(',')\n\n for (let j = 0; j < headers.length; j++) {\n obj[headers[j]] = currentline[j]\n }\n result.push(obj)\n }\n return JSON.stringify(result);\n }\n\n getJson(url) {\n // console.log(url);\n return this.http.get(url)\n .pipe(\n map((res: HttpResponse) => {\n return res.body;\n })\n , catchError(this.handleError));\n }\n\n\n setEnvConfig(envConfig) {\n this.envConfig = envConfig;\n }\n\n getEnvConfig() {\n return this.envConfig;\n }\n\n handleError(error) {\n return throwError('Server Error');\n }\n\n getQueryParameterByName(name: string, url: string): string {\n if (!url) {\n url = window.location.href;\n }\n name = name.replace(/[\\[\\]]/g, '\\\\$&');\n let regex = new RegExp('[?&]' + name + '(=([^&#]*)|&|#|$)');\n let results = regex.exec(url);\n if (!results) {\n return null;\n }\n if (!results[2]) {\n return '';\n }\n return decodeURIComponent(results[2].replace(/\\+/g, ' '));\n }\n\n formatTelephoneNumber(val: string) {\n let value: string = val;\n // console.log(value);\n value = value.split('.').join('');\n if (value.length > 3 && value.length < 6) {\n value = value.replace(/(\\w{3})/, '$1.');\n } else if (value.length === 6) {\n value = value.replace(/(\\w{3})(\\w{3})/, '$1.$2');\n } else if (value.length > 6 && value.length < 10) {\n value = value.replace(/(\\w{3})(\\w{3})/, '$1.$2.');\n } else if (value.length === 10) {\n value = value.replace(/(\\w{3})(\\w{3})(\\w{4})/, '$1.$2.$3');\n } else if (value.length === 11) {\n value = value.replace(/(\\w{3})(\\w{3})(\\w{4})(\\w{1})/, '$1.$2.$3');\n } else if (value.length === 12) {\n value = value.replace(/(\\w{3})(\\w{3})(\\w{4})(\\w{2})/, '$1.$2.$3');\n } else if (value.length === 14) {\n value = value.substr(0, 12);\n value = value.replace(/(\\w{3})(\\w{3})(\\w{4})(\\w{2})/, '$1.$2.$3');\n }\n return value;\n }\n\n formatTelephoneNumberWithDash(val: string) {\n let value: string = val;\n value = value.split('-').join('');\n if (value.length > 1 && value.length <= 3) {\n value = value.replace(/(\\w{1})/, '$1-');\n } else if (value.length > 3 && value.length < 5) {\n value = value.replace(/(\\w{1})(\\w{3})/, '$1-$2');\n } else if (value.length === 5) {\n value = value.replace(/(\\w{1})(\\w{3})/, '$1-$2-');\n } else if (value.length > 5 && value.length < 8) {\n value = value.replace(/(\\w{1})(\\w{3})(\\w{2})/, '$1-$2-$3');\n } else if (value.length === 8) {\n value = value.replace(/(\\w{1})(\\w{3})(\\w{3})/, '$1-$2-$3-');\n } else if (value.length > 8 && value.length < 12) {\n value = value.replace(/(\\w{1})(\\w{3})(\\w{3})(\\w{2})/, '$1-$2-$3-$4');\n } else if (value.length > 11) {\n value = value.substr(0, 11);\n value = value.replace(/(\\w{1})(\\w{3})(\\w{3})(\\w{2})/, '$1-$2-$3-$4');\n }\n return value;\n }\n\n validatePhoneNumber(data) {\n if (data.value.length > 0) {\n var input = data.value.split('.').join('');\n if (input.match('^[0-9\\.\\]{10}$')) {\n // validation passed\n } else {\n return {\n 'checkPattern': true\n };\n }\n }\n }\n\n onFocusFormat(val, seperator) {\n if (seperator === 'dot') {\n val = val.split('.').join('');\n } else if (seperator === 'dash') {\n val = val.split('-').join('');\n }\n return val;\n }\n\n onBlurFormat(val, seperator) {\n if (seperator === 'dot') {\n val = this.formatTelephoneNumber(val);\n } else if (seperator === 'dash') {\n val = this.formatTelephoneNumberWithDash(val);\n }\n return val;\n }\n\n changeCursorPos(el, cursorPos, length) {\n if (length !== 5 && length !== 9) {\n // do nothing\n } else {\n cursorPos += 1;\n }\n if (el.createTextRange) {\n var range = el.createTextRange();\n range.move('character', cursorPos);\n range.select();\n } else {\n if (el.setSelectionRange) {\n el.focus();\n el.setSelectionRange(cursorPos, cursorPos);\n } else {\n el.focus();\n }\n }\n }\n\n getCookie(name) {\n let dc = document.cookie;\n let prefix = name + '=';\n let begin = dc.indexOf('; ' + prefix);\n let end = null;\n if (begin === -1) {\n begin = dc.indexOf(prefix);\n if (begin !== 0) {\n return null;\n }\n } else {\n begin += 2;\n end = document.cookie.indexOf(';', begin);\n if (end === -1) {\n end = dc.length;\n }\n }\n return decodeURI(dc.substring(begin + prefix.length, end));\n }\n checkInstance(instance, permissionArray) {\n for (let perm of permissionArray) {\n // console.log('instance ' + instance);\n if (perm.instance === instance) {\n return !null;\n }\n }\n return null;\n }\n checkPagePermission(instance, permissionArray) {\n for (let perm of permissionArray) {\n // console.log('instance ' + instance);\n if (perm.instance === instance && perm.action === 'show') {\n return true;\n }\n }\n return false;\n }\n\n checkComponentPermission(instance, permissionArray) {\n for (let perm of permissionArray) {\n // console.log('instance ' + instance);\n if (perm.instance === instance && (perm.action === 'hide' || perm.action === 'disable')) {\n return false;\n }\n }\n return true;\n }\n\n checkComponentShowPermission(instance, permissionArray) {\n for (let perm of permissionArray) {\n // console.log('instance ' + instance);\n if (perm.instance === instance && perm.action === 'show') {\n return true;\n }\n }\n return false;\n\n }\n\n checkFieldPermission(instance, permissionArray) {\n for (let perm of permissionArray) {\n if (perm.instance === instance && (perm.action === 'read' || perm.action === 'hide' || perm.action === 'disable')) {\n // console.log(perm.instance + 'and' + perm.action);\n return true;\n }\n }\n return false;\n }\n\n getFocusableElements(element) {\n const focusableEls = element.nativeElement.\n querySelectorAll('a[href], area[href],' +\n ' input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), [tabindex=\"0\"]');\n return focusableEls;\n }\n\n handleKeyPress(event, focusabbleElements) {\n const focussedEl = event.target;\n if (event.shiftKey && event.keyCode === KEY_CONFIG.tabKey) {\n if (focussedEl === focusabbleElements[0]) {\n event.preventDefault();\n focusabbleElements[focusabbleElements.length - 1].focus();\n }\n } else if (event.keyCode === KEY_CONFIG.tabKey) {\n console.log(focusabbleElements);\n\n if (focussedEl === focusabbleElements[focusabbleElements.length - 1]) {\n event.preventDefault();\n focusabbleElements[0].focus();\n }\n }\n\n }\n /** added for premier mock */\n getUserPermissions(permissions: any[]): string {\n var userPermission: string;\n console.log(permissions)\n for (let permissionType of permissions) {\n if (permissionType.level === 'GRANT') {\n userPermission = userPermission ? '_' : '' + permissionType.name.toUpperCase();\n }\n }\n console.log(userPermission)\n return userPermission ? userPermission : 'NONE';\n }\n\n setSuccessMessage(message) {\n this.successMessage = message;\n }\n\n getSuccessMessage() {\n return this.successMessage;\n }\n\n setSelectedFan(id) {\n this.fanId = id;\n }\n\n getSelectedFan() {\n return this.fanId;\n }\n\n getRandom() {\n this.ranNum++;\n return this.ranNum;\n }\n // page scroll to top position\n loadFocusOnTop() {\n const scrollingElement = document.scrollingElement || document.documentElement;\n scrollingElement.scrollTop = 0;\n }\n\n trimSpace(value) {\n return value = value.replace(/\\s\\s+/g, ' ');\n }\n\n /* getParentUrl(url) {\n let slashAvailable = 0, secondSlashIndex = 0;\n for (let i = 0; i < url.length; i++) {\n const char = url.charAt(i);\n if (char === '/') {\n if (slashAvailable === 1) {\n secondSlashIndex = i;\n }\n slashAvailable++;\n }\n }\n if (slashAvailable > 1) {\n url = url.substring(0, secondSlashIndex);\n } else {\n url = url.substring(0, url.length);\n }\n return url;\n }*/\n\n getParentUrl() {\n let parentUrl;\n let rowIndex;\n let breadCrumbs = this.breadCrumbService.getBreadCrumbs();\n let breadCrumbAlreadyExist = breadCrumbs.find(value => (value.routerLink === this.manageProduct));\n if (breadCrumbAlreadyExist === undefined) {\n breadCrumbAlreadyExist = breadCrumbs.find(subData => (subData.routerLink === this.manage));\n if (breadCrumbAlreadyExist === undefined) {\n breadCrumbAlreadyExist = breadCrumbs.find(subData => (subData.routerLink === this.dashboard));\n }\n }\n if (breadCrumbAlreadyExist) {\n rowIndex = breadCrumbs.findIndex((data) => (data === breadCrumbAlreadyExist));\n if (rowIndex !== undefined) {\n parentUrl = breadCrumbs[rowIndex].routerLink;\n }\n }\n return parentUrl;\n }\n\n setPageTitleConfig(envPortal) {\n this.pageTitleConfig = (envPortal) ? envPortal : {};\n }\n\n getPageTitleConfig() {\n return this.pageTitleConfig;\n }\n\n getPageLoadChecklist() {\n return this.pageLoadChangeChecklist;\n }\n\n setPageLoadChecklist(state: boolean) {\n this.pageLoadChangeChecklist.next(state);\n }\n\n csvToJson(data) {\n let parsedData = data.toString().split(\"\\n\");\n let result = [];\n let headers = parsedData[0].split(\",\");\n for (let i = 1; i < parsedData.length; i++) {\n let obj = {};\n let currentLine = parsedData[i].split(\",\");\n for (var j = 0; j < headers.length; j++) {\n obj[headers[j]] = currentLine[j].replace(/\"/g, \"\");\n }\n result.push(obj);\n }\n console.log(result);\n console.log(JSON.stringify(result));\n return JSON.stringify(result);\n }\n\n\n\n}\n\n","\nimport { FormGroup, FormControl } from '@angular/forms';\nimport { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\n\n@Injectable()\nexport class ValidationService {\n form: any;\n errors: any;\n messages: any;\n formArrayName: string;\n\n constructor() { }\n\n validate(form: FormGroup, errors: any, messages: any) {\n this.form = form;\n this.errors = errors;\n this.messages = messages;\n\n form\n .valueChanges\n .subscribe(data => this.onValueChanged(data));\n\n this.onValueChanged(); // (re)set validation messages now\n }\n\n onValueChanged(data?: any) { // helper method\n if (!this.form) { return; }\n const form = this.form;\n for (const field in this.errors) {\n if (field) {\n this.errors[field] = ''; // clear previous error message (if any)\n const control: FormControl = form.get(field);\n if (control && control.dirty && !control.valid) { // TODO: && control.value.length > 3\n const messages = this.messages[field];\n for (const key in control.errors) {\n if (key) {\n if (messages[key] !== '') {\n this.errors[field] += messages[key] + ' ';\n }\n }\n }\n }\n }\n }\n }\n\n validateArray(form: FormGroup, errors: any, messages: any, formArrayName: string) {\n this.form = form;\n this.errors = errors;\n this.messages = messages;\n this.formArrayName = formArrayName;\n\n form\n .valueChanges\n .subscribe(data => this.onValueChangedArray(data));\n\n this.onValueChangedArray(); // (re)set validation messages now\n }\n\n onValueChangedArray(data?: any) { // helper method\n if (!this.form) { return; }\n const form = this.form;\n\n for (let index = 0; index < form.get(this.formArrayName).length; index++) {\n let messages = this.messages[index];\n for (const field in this.errors[index]) {\n if (field) {\n this.errors[index][field] = ''; // clear previous error message (if any)\n const control: FormControl = form.get(this.formArrayName + '.' + index + '.' + field);\n if (control && control.dirty && !control.valid) { // TODO: && control.value.length > 3\n const messageObject = messages[field];\n for (const key in control.errors) {\n if (key) {\n if (messages[key] === '') {\n break;\n } else {\n this.errors[index][field] += messages[key] + ' ';\n }\n }\n }\n }\n }\n }\n }\n }\n}\n","import {\n Component, Input, Output, EventEmitter, OnInit, ElementRef, HostListener,\n ViewEncapsulation, AfterContentInit\n} from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { Router } from '@angular/router';\nimport { AccordionModel } from './accordion.model';\nimport { EmitterService } from './emitter.service';\nimport { KEY_CONFIG } from './../../config/key-config';\nimport { UtilityService } from './../../providers/utility.service';\n\n\n@Component({\n selector: 'app-accordion-list',\n templateUrl: './accordion-list.component.html',\n styleUrls: ['./accordion-list.component.scss'],\n encapsulation: ViewEncapsulation.None\n})\nexport class AccordionListComponent implements OnInit, AfterContentInit {\n\n tabIndex: number;\n disabled: boolean;\n\n @Input() option: AccordionModel;\n @Input() isSubAccordion: boolean;\n @Input() listLength: number;\n @Input() tabInside: boolean;\n\n @Output() selectedTab: EventEmitter;\n @Output() onLoadComplete: EventEmitter;\n\n constructor(protected router: Router, private el: ElementRef, private emitter: EmitterService,\n private utilityService: UtilityService) {\n this.selectedTab = new EventEmitter();\n this.onLoadComplete = new EventEmitter();\n }\n\n ngOnInit() {\n this.tabIndex = this.tabInside ? -1 : 0;\n this.disabled = this.listLength === 0 ? true : false;\n if (!this.option.ariaLabel) {\n this.option.ariaLabel = {\n 'expand': 'Expand',\n 'collapse': 'Collapse'\n };\n }\n\n }\n\n\n ngAfterContentInit() {\n this.onLoadComplete.next(true);\n }\n\n selectTab(tab, event) {\n this.emitter.next(tab);\n this.selectedTab.next(event);\n }\n\n handleSpanKeydown(event, tab): void {\n if (event.keyCode !== KEY_CONFIG.tabKey) {\n event.preventDefault();\n event.stopPropagation();\n if (event.keyCode === KEY_CONFIG.space || event.keyCode === KEY_CONFIG.enter) {\n this.selectTab(tab, event);\n }\n } else if (this.option.isActive && this.tabInside) {\n // change tab order\n }\n }\n}\n\n","
    \r\n \r\n
    \r\n \r\n \r\n \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 { BreadCrumbService } from './../breadcrumb/breadcrumb.service';\nimport { Component, Input, Output, EventEmitter, OnInit, ElementRef, HostListener,\n ViewEncapsulation, AfterViewInit, OnDestroy, AfterContentChecked } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { Router } from '@angular/router';\nimport { Subscription } from 'rxjs';\nimport { AccordionModel } from './accordion.model';\nimport { EmitterService } from './emitter.service';\n\n@Component({\n selector: 'app-accordion',\n templateUrl: './accordion.component.html',\n styleUrls: ['./accordion.component.scss'],\n providers: [EmitterService],\n encapsulation: ViewEncapsulation.None\n})\nexport class AccordionComponent implements OnInit, OnDestroy, AfterContentChecked {\n\n @Input() count: number;\n expand: boolean;\n accordionCollapse: boolean;\n accordionList: boolean[];\n accordionExpandCount = 0;\n accordionCollapseCount = 0;\n alreadyOpen = false;\n pathName = \"\";\n isFaq: boolean = false;\n @Input() accordionController: boolean;\n\n @Input() accordion: AccordionModel[];\n @Input() accordionHeading: String;\n private subscription: Subscription;\n\n constructor(private breadCrumbService: BreadCrumbService,\n protected router: Router, private el: ElementRef, private emitter: EmitterService) {\n this.subscription = this.emitter.subscribe(accData => {\n this.accordionToggle(accData);\n });\n this.pathName = window.location.pathname;\n if(this.pathName == \"/businessconsole/faq\") {\n this.isFaq = true;\n }\n }\n\n accordionToggle(accData) {\n accData.isActive = !accData.isActive;\n if (accData.isActive === true) {\n this.accordionExpandCount++;\n if (this.accordionCollapseCount > 0) {\n this.accordionCollapseCount = this.accordionCollapseCount - 1;\n }\n if (this.accordion.length === this.accordionExpandCount) {\n this.expand = true;\n this.accordionExpandCount = 0;\n }\n }else if (accData.isActive === false) {\n this.accordionCollapseCount++;\n if (this.accordionExpandCount > 0) {\n this.accordionExpandCount = this.accordionExpandCount - 1;\n }\n if (this.accordion.length === this.accordionCollapseCount) {\n this.expand = false;\n this.accordionCollapseCount = 0;\n }\n }\n /* for (let i = 1; i < this.accordion.length; i++) {\n if (accData.id === i) {\n accData.isActive = true;\n } else {\n }\n } */\n }\n\n ngOnInit() {\n }\n\n//TODO REMOVE USECASE SPECIFIC CODE\n ngAfterContentChecked() {\n const url = this.router.routerState.snapshot.url;\n const path = this.breadCrumbService.getBreadCrumbs();\n if (!path) return;\n const len = path.length;\n const previousRoute = len > 2 ? (path[len - 2].routerLink) : '/';\n if (url === '/faq' && previousRoute === '/signup' && this.accordion[3].category === 'What is network restriction?'\n && this.alreadyOpen !== true) {\n this.accordion[3].isActive = true;\n this.alreadyOpen = true;\n }\n }\n\n private expandAll(open) {\n console.log(open);\n if (open === 'open') {\n for (let l = 0; l < this.accordion.length; l++) {\n this.accordion[l].isActive = true;\n console.log(this.accordion[l].isActive);\n }\n this.expand = true;\n }\n }\n\n private collapseAll(close) {\n if (close === 'close') {\n for (let l = 0; l < this.accordion.length; l++) {\n this.accordion[l].isActive = false;\n console.log(this.accordion[l].isActive);\n }\n this.expand = false;\n }\n }\n\n ngOnDestroy() {\n this.subscription.unsubscribe();\n }\n\n}\n","
    \n
    \n
    \n
    \n
    \n

    {{accordionHeading}}

    \n
    \n \n
    \n
    \n
    \n \n
    ","export class AccordionModel {\n id: any;\n isActive: boolean;\n category: any;\n description: any;\n ariaLabel?: any;\n}\n","\nimport {Subject,Subscription} from 'rxjs';\nimport { Injectable } from \"@angular/core\";\n\n@Injectable()\nexport class EmitterService {\n private eventBus$= new Subject();\n subscribe(next):Subscription{\n return this.eventBus$.subscribe(next);\n }\n next(event){\n this.eventBus$.next(event);\n }\n}\n\n","export * from './accordion.component';\nexport * from './accordion-list.component';\nexport * from './accordion.model';","import { Component, OnInit } from '@angular/core';\n\n@Component({\n selector: 'app-bluebox',\n templateUrl: './bluebox.component.html',\n styleUrls: ['./bluebox.component.scss']\n})\nexport class BlueboxComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit() {\n }\n\n}\n","
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    ","import { BreadCrumbModel } from './breadcrumb.model';\n\nexport class BreadCrumbPropertyModel {\n\n breadCrumbs: BreadCrumbModel[];\n source: string;\n}","import { Component, Input, OnChanges, OnInit, SimpleChanges } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { Router } from '@angular/router';\nimport { BreadCrumbService } from './breadcrumb.service';\nimport { BreadCrumbModel } from './breadcrumb.model';\nimport { ChipsService } from '../chips/chips.service';\n\n@Component({\n selector: 'app-breadcrumb',\n styleUrls: ['./breadcrumb.component.scss'],\n templateUrl: './breadcrumb.component.html'\n})\n\nexport class BreadcrumbComponent implements OnInit {\n private breadCrumbs: BreadCrumbModel[];\n public isBreadCrumbAvailable: boolean=false;\n private emailStatus: any = null;\n private emailAlert: boolean = false;\n\n constructor(\n private chipsService: ChipsService,\n protected router: Router,\n private breadCrumbService: BreadCrumbService) {\n }\n ngOnInit() {\n this.breadCrumbService.getCurrentBreadCrumb().subscribe((response) => {\n if (response) {\n this.emailStatus = sessionStorage.getItem('emailStatus');\n if (this.emailStatus == 'true' || this.emailStatus == 'false') {\n this.emailAlert = true;\n }\n if (this.emailStatus != null && response.routerLink == '/home') {\n sessionStorage.removeItem('emailStatus');\n }\n this.breadCrumbService.setBreadCrumbs(response);\n this.breadCrumbs = this.breadCrumbService.getBreadCrumbs();\n if (this.breadCrumbs.length > 0) {\n if (this.breadCrumbs[0].label != 'Home') {\n let home: BreadCrumbModel = new BreadCrumbModel();\n home.label = 'Home';\n home.routerLink = '/home';\n this.breadCrumbs.unshift(home);\n }\n }\n this.isBreadCrumbAvailable = true;\n } else {\n this.isBreadCrumbAvailable = false;\n }\n });\n }\n itemClick(event, breadCrumbs: BreadCrumbModel, rowIndex) {\n\n this.chipsService.setChips(undefined);\n\n if (breadCrumbs.label=='Home') \n this.breadCrumbService.setCurrentBreadCrumb(undefined);\n\n event.preventDefault();\n this.breadCrumbService.removeSessionBreadCrumbProperty(rowIndex);\n if (breadCrumbs.routerLink === '/enrollmentTool') {\n sessionStorage.removeItem('enrollmentSelectedDetails');\n } else if (breadCrumbs.routerLink === '/productselection') {\n sessionStorage.removeItem('savedSelectedDetails');\n }\n this.router.navigate([breadCrumbs.routerLink]);\n }\n}\n","
    \n
    \n
    \n
    \n \n
    \n\n
    \n
    \n \n
    \n
    \n
    \n \n
    \n
    \n

    Something went wrong

    \n

    We were unable to process your request to opt out. Please try again.

    \n
    \n
    \n
    \n
    \n \n
    \n
    \n

    Success

    \n

    You have successfully opted out of this reminder.

    \n
    \n
    \n
    \n\n\n
    \n
    \n
    \n","export class BreadCrumbModel {\n label: string;\n routerLink: any;\n}\n","import { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { BehaviorSubject, Observable, Subject } from 'rxjs';\nimport { BreadCrumbModel } from './breadcrumb.model';\nimport { BreadCrumbPropertyModel } from './breadCrumb-property.model';\nimport { Router } from '@angular/router';\nimport { BREADCRUMBS } from '../../../../../config/breadcrumb.config';\n\n@Injectable()\nexport class BreadCrumbService {\n private sessionBreadCrumbs: BreadCrumbModel[];\n private sessionSource: string;\n private staticBreadCrumbs: BreadCrumbModel[];\n\n private breadCrumbProperty: BreadCrumbPropertyModel;\n private breadCrumbs: Subject = new Subject();\n public obvBreadCrumb: Observable = this.breadCrumbs.asObservable(); // convert to Observable for subscribing\n\n constructor(private router: Router, ) {\n }\n\n setCurrentBreadCrumb(path: BreadCrumbModel) {\n this.breadCrumbs.next(path);\n }\n\n getCurrentBreadCrumb(): Observable {\n return this.obvBreadCrumb;\n }\n\n /**\n * Storing Breadcrumb in session\n * @param breadCrumb \n */\n setBreadCrumbs(breadCrumb: BreadCrumbModel) {\n let breadCrumbModel: BreadCrumbModel;\n const breadCrumbsMapObject: Map = new Map();\n this.sessionBreadCrumbs = this.getBreadCrumbs();\n if (this.staticBreadCrumbs && this.staticBreadCrumbs.length > 0) {\n // Creating static breadcrumbs\n this.sessionBreadCrumbs = [];\n this.setStaticBreadCrumbValues(breadCrumb);\n } else if (this.sessionBreadCrumbs) {\n this.checkBreadCrumbDataAlreadyExist(breadCrumb);\n // Iterate the exist breadcrumb from session part and\n // adding in map with key as label and value as routerlink\n this.sessionBreadCrumbs.forEach((value) => {\n // breadCrumbsMapObject.set(value.label, value.routerLink);\n breadCrumbsMapObject.set(value.routerLink, value.label);\n });\n // Adding the latest breadCrumb property in Map object \n // breadCrumbsMapObject.set(breadCrumb.label, breadCrumb.routerLink);\n breadCrumbsMapObject.set(breadCrumb.routerLink, breadCrumb.label);\n\n this.sessionBreadCrumbs = [];\n breadCrumbsMapObject.forEach((value, key) => {\n breadCrumbModel = new BreadCrumbModel();\n /*breadCrumbModel.label = key;\n breadCrumbModel.routerLink = value;*/\n breadCrumbModel.label = value;\n breadCrumbModel.routerLink = key;\n this.sessionBreadCrumbs.push(breadCrumbModel);\n });\n } else {\n this.sessionBreadCrumbs = [];\n this.sessionBreadCrumbs.push(breadCrumb);\n }\n this.createSessionBreadCrumbs(this.sessionSource === undefined ? this.getSource() : this.sessionSource, this.sessionBreadCrumbs);\n }\n\n /**\n * Storing Static Breadcrumb in session\n * @param breadCrumb\n */\n setStaticBreadCrumbs(url: string) {\n const currentUrl = this.filterCurrentUrl(url);\n const isStaticBreadCrumb = BREADCRUMBS.staticBreadCrumbAvailable.find((data) => (data === currentUrl));\n if (isStaticBreadCrumb) {\n this.createStaticBreadCrumbs(currentUrl);\n }\n }\n\n /**\n * Get the breadcrumb data from session\n */\n getBreadCrumbs(): BreadCrumbModel[] {\n let breadCrumbProperty = new BreadCrumbPropertyModel();\n breadCrumbProperty = this.getBreadCrumbProperty();\n if (breadCrumbProperty) {\n return breadCrumbProperty.breadCrumbs;\n } else {\n return undefined;\n }\n }\n\n getSource(): string {\n let breadCrumbProperty = new BreadCrumbPropertyModel();\n breadCrumbProperty = this.getBreadCrumbProperty();\n if (breadCrumbProperty) {\n return breadCrumbProperty.source;\n } else {\n return undefined;\n }\n }\n\n setSource(url) {\n this.sessionSource = this.filterCurrentUrl(url);\n }\n\n /**\n * Get breadcrumb property\n */\n getBreadCrumbProperty(): BreadCrumbPropertyModel {\n return JSON.parse(sessionStorage.getItem('breadCrumb'));\n }\n\n /**\n * Remove breadCrumb session\n */\n removeBreadCrumbs() {\n sessionStorage.removeItem('breadCrumb');\n }\n\n /***\n * Remove breadCrumb property from breadcrumb session\n * @param breadCrumbModel\n */\n removeSessionBreadCrumbProperty(rowIndex) {\n let breadCrumbModelArray: BreadCrumbModel[] = [];\n this.sessionBreadCrumbs = this.getBreadCrumbs();\n if (this.sessionBreadCrumbs) {\n breadCrumbModelArray = this.sessionBreadCrumbs.filter((data, index) => (index < rowIndex));\n this.createSessionBreadCrumbs(this.getSource(), breadCrumbModelArray);\n }\n }\n\n /***\n * Removing last breadcrumb property from breadcrumb session\n */\n removeLastBreadCrumb() {\n this.sessionBreadCrumbs = this.getBreadCrumbs();\n this.sessionBreadCrumbs.pop();\n this.createSessionBreadCrumbs(this.getSource(), this.sessionBreadCrumbs);\n }\n\n /**\n * Change Source in session breadCrumb property\n */\n\n changeSessionSource(source: string) {\n this.sessionBreadCrumbs = this.getBreadCrumbs();\n this.createSessionBreadCrumbs(source, this.sessionBreadCrumbs);\n }\n\n /**\n * Find index if exist in the session\n */\n checkBreadCrumbDataAlreadyExist(breadCrumbModel: BreadCrumbModel) {\n let index;\n let breadCrumbModelArray: BreadCrumbModel[] = [];\n const findBreadCrumbObject = this.sessionBreadCrumbs.find((value) => (value.label === breadCrumbModel.label));\n if (findBreadCrumbObject) {\n index = this.sessionBreadCrumbs.findIndex((data) => (data === findBreadCrumbObject));\n if (index !== undefined) {\n breadCrumbModelArray = this.sessionBreadCrumbs.filter((data, rowIndex) => (rowIndex < index));\n this.sessionBreadCrumbs = breadCrumbModelArray;\n }\n }\n }\n\n getLastUrlFromBreadCrumb(): BreadCrumbModel {\n let breadCrumbModel: BreadCrumbModel;\n this.sessionBreadCrumbs = this.getBreadCrumbs();\n if(this.sessionBreadCrumbs){\n breadCrumbModel = this.sessionBreadCrumbs[this.sessionBreadCrumbs.length - 1];\n }\n return breadCrumbModel;\n }\n\n createStaticBreadCrumbs(currentUrl: string) {\n let breadCrumbModel: BreadCrumbModel;\n this.staticBreadCrumbs = [];\n this.sessionSource = currentUrl;\n const result = BREADCRUMBS['static' + currentUrl];\n result.forEach((value) => {\n breadCrumbModel = new BreadCrumbModel();\n breadCrumbModel.label = value.label;\n breadCrumbModel.routerLink = value.routerLink;\n this.staticBreadCrumbs.push(breadCrumbModel);\n });\n }\n\n setStaticBreadCrumbsFromSession() {\n this.staticBreadCrumbs = this.getBreadCrumbs();\n }\n\n setStaticBreadCrumbValues(breadcrumb) {\n const breadCrumbsMapObject: Map = new Map();\n this.staticBreadCrumbs.forEach((value) => {\n // breadCrumbsMapObject.set(value.label, value.routerLink);\n breadCrumbsMapObject.set(value.routerLink, value.label);\n });\n // breadCrumbsMapObject.set(breadcrumb.label, breadcrumb.routerLink);\n breadCrumbsMapObject.set(breadcrumb.routerLink, breadcrumb.label);\n let breadCrumbModel: BreadCrumbModel;\n breadCrumbsMapObject.forEach((value, key) => {\n breadCrumbModel = new BreadCrumbModel();\n /*breadCrumbModel.label = key;\n breadCrumbModel.routerLink = value;*/\n breadCrumbModel.label = value;\n breadCrumbModel.routerLink = key;\n this.sessionBreadCrumbs.push(breadCrumbModel);\n });\n }\n\n filterCurrentUrl(url: string): string {\n let filteredUrl;\n let slashAvailable = 0, secondSlashIndex = 0;\n for (let i = 0; i < url.length; i++) {\n const char = url.charAt(i);\n if (char === '/') {\n if (slashAvailable === 1) {\n secondSlashIndex = i;\n }\n slashAvailable++;\n }\n }\n if (slashAvailable > 1) {\n filteredUrl = url.substring(1, secondSlashIndex);\n } else {\n filteredUrl = url.substring(1, url.length);\n }\n return filteredUrl;\n }\n\n createSessionBreadCrumbs(source: string, breadCrumbs: BreadCrumbModel[]) {\n this.breadCrumbProperty = new BreadCrumbPropertyModel();\n this.breadCrumbProperty.source = source;\n this.breadCrumbProperty.breadCrumbs = breadCrumbs;\n sessionStorage.setItem('breadCrumb', JSON.stringify(this.breadCrumbProperty));\n this.staticBreadCrumbs = [];\n this.sessionSource = undefined;\n }\n}\n","export * from './breadcrumb.component';\nexport * from './breadcrumb.model';\nexport * from './breadcrumb.service';\n","import { Component, OnInit, Input } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\n\n@Component({\n selector: 'app-card',\n templateUrl: './card.component.html',\n styleUrls: ['./card.component.scss']\n})\nexport class CardComponent implements OnInit {\n @Input('title') title: string;\n @Input('src') src: string;\n @Input('href') href: string;\n\n constructor() { }\n\n ngOnInit() {\n }\n\n}\n","
    \n
    \n

    {{title}}

    \n
    \n \n \n \n\n \n
    \n","export * from './card.component';\n","import { Component, OnChanges, Input, HostListener } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { DonutChartModel } from './donut-chart.model';\n\n@Component({\n selector: 'app-donut-chart',\n templateUrl: './donut-chart.component.html',\n styleUrls: ['./donut-chart.component.scss']\n})\nexport class DonutChartComponent implements OnChanges {\n public radius;\n public strokeWidth;\n public width;\n public height;\n public cx;\n public cy;\n public totalValue: number;\n // foreignObject position coordinates\n public x;\n public y;\n public fWidth;\n public fHeight;\n private seperatorWidth = 1;\n\n @Input('stroke_width') stroke_width = 20; // '30';\n @Input('r') r = 90; // 135;\n @Input('data') data: Array;\n @Input('label') label: string;\n @Input('error') error = false;\n\n constructor() { }\n ngOnChanges(changes) {\n const square = (Number(this.r) * 2) + Number(this.stroke_width);\n this.width = square + 'px';\n this.height = square + 'px';\n this.cx = square / 2;\n this.cy = square / 2;\n this.fWidth = square - ((Number(this.stroke_width) + 10) * 2);\n this.fHeight = this.y = square / 3;\n this.x = (Number(this.stroke_width)) + 10;\n this.totalValue = 0;\n this.data.forEach((val) => {\n this.totalValue += val.value;\n });\n }\n\n calculateStrokes(value, index) {\n let dashArrayElm1, dashArrayElm2, dashOffset, buffer = 0;\n const circumference = 2 * 3.14 * this.r;\n const initialOffset = circumference / 4;\n\n // Sum all precede arc values(%)\n for (let i = 0; i < index; i++) {\n buffer = buffer + (this.data[i].value / this.totalValue);\n }\n buffer = circumference * buffer;\n\n dashArrayElm1 = circumference * value / this.totalValue;\n dashArrayElm2 = circumference - dashArrayElm1;\n dashOffset = circumference - buffer + initialOffset;\n return {\n 'stroke_dash_array': (dashArrayElm1 - this.seperatorWidth) + ' ' + (dashArrayElm2 + this.seperatorWidth),\n 'stroke_dash_offset': index === 0 ? initialOffset : dashOffset\n };\n\n }\n\n\n}\n","
    \n \n \n \n \n \n \n {{totalValue}}\n {{label}}\n \n \n 00\n {{label}}\n \n \n \n
    \n","export class DonutChartModel {\n value: number;\n color: string;\n legend: string;\n}\n","export * from './donut-chart.component';\nexport * from './donut-chart.model';\n","export class DonutRangeModel {\n range: number;\n color: string;\n}\n","import { Component, OnInit, Input, OnChanges } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { DonutRangeModel } from './donut-range.model';\n\n@Component({\n selector: 'app-donut',\n templateUrl: './donut.component.html',\n styleUrls: ['./donut.component.scss']\n})\n\nexport class DonutComponent implements OnChanges {\n public width;\n public height;\n public circle_transform = '';\n public cx;\n public cy;\n public text_transform: 'translate ()';\n\n @Input('stroke_width') stroke_width = '12';\n @Input('r') r = 90;\n @Input('values') values: Array;\n @Input() label;\n @Input() labelText;\n @Input() userValue;\n\n constructor() {}\n ngOnChanges() {\n const square = ((Number(this.r) + Number(this.stroke_width)) * 2);\n this.width = square + 'px';\n this.height = square + 'px';\n this.cx = square / 2;\n this.cy = square / 2;\n this.circle_transform = 'translate(' + 0 + ' ' + this.cy * 2 + ') rotate(-90)';\n }\n setDonuts(amount, index) {\n let buffer = 0;\n for (let i = this.values.length - 1; i > index; i--) {\n buffer = buffer + Number(this.values[i].range);\n }\n amount = Number(amount) + buffer;\n const perimeter = 2 * 3.14 * this.r;\n const fillAmount = perimeter - perimeter * amount / 100;\n return {\n 'stroke_dash_array': perimeter,\n 'stroke_dash_offset': fillAmount\n };\n }\n}\n","\n \n \n \n \n\n \n \n \n \n\n \n\n \n {{userValue}}\n {{label}}\n {{labelText}}\n \n\n\n\n","export * from './donut.component';\nexport * from './donut-range.model';","export * from './donut';\nexport * from './donut-chart/';","import { Component, OnInit } from '@angular/core';\nimport { NavigationStart, Router } from '@angular/router';\nimport { Observable } from 'rxjs';\nimport { connectableObservableDescriptor } from 'rxjs/internal/observable/ConnectableObservable';\nimport { filter } from 'rxjs/operators';\nimport { CMSResolver } from '../../providers/cms.resolver';\nimport { ChipsService } from './chips.service';\n\n@Component({\n selector: 'app-chips',\n styleUrls: ['./chips.component.scss'],\n templateUrl: './chips.component.html'\n})\n\nexport class ChipsComponent implements OnInit {\n chips$: Observable;\n constructor(\n protected router: Router,\n protected chipsService: ChipsService\n ) {\n this.chips$ = this.chipsService.chips$\n }\n ngOnInit() {\n }\n chipClick(chip) {\n this.router.navigate([chip.routerLink]);\n this.chipsService.setChips(undefined);\n }\n}\n","
    \n
    \n \n
    \n
    \n\n\n \n","import { Injectable } from \"@angular/core\";\nimport { BehaviorSubject } from \"rxjs\";\n\n@Injectable()\nexport class ChipsService {\n private chips: Array;\n public chips$ = new BehaviorSubject(undefined);\n setChips(chips) {\n this.chips = Object.assign([],chips);\n this.chips$.next(chips);\n }\n getChips() {\n return this.chips$;\n }\n addChip(label, link) {\n let chip = {\n \"label\": label,\n \"routerLink\": link\n }\n this.chips.push(chip);\n this.setChips(this.chips);\n }\n}","import { Component } from '@angular/core';\n\n@Component({\n selector: 'app-cms',\n template: '

    '\n})\nexport class CMSComponent {\n constructor() { }\n}\n","import { KEY_CONFIG } from './../../config/key-config';\nimport {\n Component, Input, Output, EventEmitter, OnInit, ViewEncapsulation, ElementRef\n} from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { ConfirmModalPopupModel } from './confirm-modal-popup.model';\nimport {UtilityService} from './../../providers';\ndeclare var initAriaHidden: any;\ndeclare var removeAriaHidden: any;\n\n\n\n@Component({\n selector: 'app-confirm-modal',\n styleUrls: ['./confirm-modal-popup.component.scss'],\n templateUrl: './confirm-modal-popup.component.html',\n encapsulation: ViewEncapsulation.None\n})\n\nexport class ConfirmModalPopupComponent implements OnInit {\n\n @Input()\n modalPopupObject: ConfirmModalPopupModel;\n @Input() triggerElement: any;\n\n @Output()\n modalOutput: EventEmitter;\n\n focusabbleElements: any;\n\n ngOnInit() {\n document.body.classList.add('modal-open');\n initAriaHidden();\n }\n\n constructor(private el: ElementRef, private utilityService: UtilityService) {\n this.modalOutput = new EventEmitter();\n }\n\n btnAction(value) {\n document.body.classList.remove('modal-open');\n removeAriaHidden();\n this.modalOutput.emit(value);\n this.focusabbleElements = undefined;\n if (this.triggerElement) {\n this.triggerElement.focus();\n }\n }\n\n loadFocustelements() {\n if (!this.focusabbleElements) {\n const focusableEls = this.utilityService.getFocusableElements(this.el);\n this.focusabbleElements = Array.prototype.slice.call(focusableEls);\n // this.focusabbleElements[0].focus();\n document.getElementById('modalHeading').focus();\n }\n }\n\n handleKeydown(event) {\n if (event.keyCode === KEY_CONFIG.escapeKey) {\n this.btnAction(false);\n return;\n }\n this.utilityService.handleKeyPress(event, this.focusabbleElements);\n }\n}\n","\n{{loadFocustelements()}}\n
    \n
    \n

    {{modalPopupObject.modalHeader}}

    \n
    \n
    \n \n
    \n
    \n
    0\">\n

    Exit {{modalPopupObject.modalSubHeader}}

    \n
    \n

    \n
    \n \n
    \n","export class ConfirmModalPopupModel {\n modalHeader: string;\n modalSubHeader: string;\n modalMessage: string;\n confirmButtonMessage: string;\n cancelButtonMessage: string;\n confirmButtonAccessibilityText: string;\n cancelButtonAccessibilityText: string;\n showConfirmButton: boolean;\n showCancelButton: boolean;\n\n constructor() {\n this.modalHeader = undefined;\n this.modalSubHeader = undefined;\n this.modalMessage = undefined;\n this.confirmButtonMessage = 'OK';\n this.cancelButtonMessage = 'Cancel';\n this.confirmButtonAccessibilityText = 'OK';\n this.cancelButtonAccessibilityText = 'Cancel';\n this.showConfirmButton = true;\n this.showCancelButton = true;\n }\n}\n","export * from './confirm-modal-popup.component';\nexport * from './confirm-modal-popup.model';\n","import { Component, OnInit, Directive, Input, ViewChild, ContentChildren, TemplateRef, ContentChild, Output, EventEmitter, HostListener, ElementRef, QueryList, SimpleChanges, OnChanges } from '@angular/core';\nimport { GridOptionsModel, PaginationsModel, FetchCriteriaModel, FilterService, GridSortService, ColumnDefinitionsModel, GridDataService } from '../custom-grid-extended/shared';\nimport { FormControl } from '@angular/forms';\n\n\n@Directive({selector: '[cellExtended]'})\nexport class CellExtended {\n @Input() id!: string;\n}\n\n@Component({\n selector: 'app-custom-grid-extended',\n providers: [FilterService, GridSortService, GridDataService],\n templateUrl: './custom-grid-extended.component.html',\n styleUrls: ['./custom-grid-extended.component.scss']\n})\nexport class CustomGridExtendedComponent implements OnInit\n {\n\n startIndex: number = 0;\n searchPlaceHolder: string = 'Enter first or last name';\n ctnMask: boolean = false;\n imeiMask: boolean = false;\n searchDescriptions: string = '';\n gridProperties: GridOptionsModel;\n showBackLink: boolean;\n isGridValid: boolean;\n filteredColumns = [];\n gridData: any;\n filteredData: any;\n //multipleSelectedItems = [];\n //singleSelectedItems = [];\n paginations: PaginationsModel;\n sortColumn: string = \"\";\n sortDirection: string = \"\";\n searchValue: string = \"\";\n showhigherpriorities: number = 0;\n allRowsSelected: boolean = false;\n maxPriority: number = 0;\n showTable: boolean;\n enableSearchLimit: boolean = false;\n searchLimit: number = 3;\n searchMessage: string = \"\";\n ctnNumbertoFormate: FormControl;\n maxLength: number;\n numericSearch: boolean;\n ariaLabel: string;\n sortAriaLabel: string;\n changeSortOrderAriaLabel: string;\n searchLabel: string;\n sortHeadAria: string;\n hideSortHeadRead: boolean;\n ctnSelect: boolean = true;\n imeiSelect: boolean = false;\n\n\n @ViewChild('searchValue') searchFan;\n\n @Input() mainAriaLAbel : any;\n searchByCtn: boolean = true;\n\n @Input() set filterValue(searchValue) {\n if(searchValue != undefined) {\n this.filter(searchValue);\n }\n } \n\n @Input() set gridOptions(options: GridOptionsModel) {\n if (options == undefined) {\n this.isGridValid = false;\n return;\n }\n this.isGridValid = true;\n this.gridProperties = options;\n this.paginations = options.Paginations;\n this.searchPlaceHolder = options.searchPlaceHolder === undefined ? this.searchPlaceHolder : options.searchPlaceHolder;\n this.ctnMask = options.ctnMask === undefined ? this.ctnMask : options.ctnMask;\n this.imeiMask = options.imeiMask === undefined ? this.imeiMask : options.imeiMask;\n this.searchDescriptions = options.searchDescriptions;\n this.showTable = options.showGrid;\n this.enableSearchLimit = options.enableSearchLimit;\n this.searchLimit = options.searchLimit;\n this.maxLength = options.maxLength;\n this.ariaLabel = options.ariaLabel?options.ariaLabel:this.mainAriaLAbel;\n if (options.searchType === 'number') {\n this.numericSearch = true;\n };\n this.gridProperties.columnDefinitions.forEach(r => {\n r['priority'] = r['priority'] === undefined ? 1 : r['priority'];\n if (this.maxPriority < r['priority']) {\n this.maxPriority = r['priority'];\n }\n });\n\n if (this.paginations.currentPage == 1) {\n this.startIndex = 0;\n }\n this.getApplicableFilterCols();\n if (this.gridProperties.multiSelect) {\n this.gridData = this.setDefault(options.gridData);\n }\n if (this.paginations.isServerSide) {\n this.gridData = options.gridData\n } else {\n this.setGridData(options.gridData);\n }\n this.checkAllRowsSelected();\n }\n\n @ContentChildren(TemplateRef) contentChildrenList: QueryList>;\n contentChildren: TemplateRef[];\n @ContentChild('header',{read: false}) templateRef: TemplateRef;\n \n @ViewChild('gridcontainer') gridcontainer;\n @Output() hrefLink: EventEmitter = new EventEmitter();\n @Output() checkboxSelections: EventEmitter = new EventEmitter();\n @Output() radioSelections: EventEmitter = new EventEmitter();\n @Output() onSearch: EventEmitter = new EventEmitter();\n\n @Output() onDataChange: EventEmitter = new EventEmitter();\n @HostListener('window:resize', ['$event'])\n onResize() {\n this.setPriorityData();\n }\n\n\n @Output() gridEvent: EventEmitter = new EventEmitter();\n\n\n\n constructor(private el: ElementRef,\n private filterService: FilterService,\n private gridSortService: GridSortService) {\n this.ctnNumbertoFormate = new FormControl();\n }\n // getData() {\n\n // console.log('Service getData');\n // this.gridService.fetchGridData(this.utilityService.getEnvConfig().mockGridDataUrl).\n // subscribe(respobj => {\n // console.log(respobj);\n // if (respobj != null && respobj != undefined) {\n // this.filteredData = this.filteredData.concat(respobj);\n // this.totalRecords = this.filteredData.length;\n // }\n // }, error => {\n // console.log(error);\n // });\n // }\n\n linkAction(currentData, column) {\n currentData = Object.assign({}, currentData, { 'selectedColumn': column });\n this.hrefLink.emit(currentData);\n }\n ngOnInit() {\n this.setPriorityData();\n // if (!this.ariaLabel) {\n // this.ariaLabel = 'Enter first or last name';\n // }\n this.searchByCtn = JSON.parse(sessionStorage.getItem('searchByCtn'));\n }\n\n ngAfterContentChecked(){\n document.querySelectorAll(\".ctn-number\").forEach((elment) => {\n elment['href'] = \"javascript:void(0);\";\n })\n }\n\n ngAfterContentInit() {\n this.contentChildren = this.contentChildrenList.toArray();\n }\n\n searchBy(value: any) {\n this.searchFan.nativeElement.value = \"\";\n if(value == \"imei\") {\n this.searchPlaceHolder = \"Enter IMEI number\";\n this.ctnMask = false;\n this.imeiMask = true;\n this.ctnSelect = false;\n this.imeiSelect = true;\n this.maxLength = 15;\n this.ariaLabel = \"Enter IMEI number\";\n }\n else {\n this.searchPlaceHolder = \"Enter wireless number\";\n this.ctnMask = true;\n this.imeiMask = false;\n this.ctnSelect = true;\n this.imeiSelect = false;\n this.maxLength = 12;\n this.ariaLabel = \"Enter wireless number\";\n }\n }\n\n onPageChange(startIndex) {\n this.startIndex = startIndex;\n this.paginations.currentPage = (startIndex / this.paginations.recordsPerPage) + 1;\n if (this.paginations.isServerSide) {\n this.getServerData();\n }\n else {\n this.getPageData(this.paginations.currentPage);\n }\n this.checkAllRowsSelected();\n // const focusableEls = this.el.nativeElement.getElementsByTagName('table')[0].querySelectorAll('a[href], area[href],' +\n // ' input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), [tabindex=\"0\"]');\n // if (focusableEls.length) {\n // focusableEls[0].focus();\n // }\n const focusableEls = this.el.nativeElement.querySelectorAll('#totalCount');\n if (focusableEls.length) {\n setTimeout(() => { focusableEls[0].focus(); });\n }\n }\n\n\n\n setGridData(data: any) {\n this.filteredData = data;\n this.getPageData(this.paginations.currentPage);\n }\n\n\n getApplicableFilterCols() {\n this.filteredColumns = [];\n if(this.imeiSelect && !this.ctnSelect) {\n this.filteredColumns = [];\n this.filteredColumns.push(\"imei\");\n }\n else if(this.ctnSelect && !this.imeiSelect) {\n this.filteredColumns = [];\n this.filteredColumns.push(\"ctnNumber\");\n }\n console.log(this.filteredColumns);\n // if (this.gridProperties.enableFiltering) {\n // for (let cols of this.gridProperties.columnDefinitions) {\n // if (cols.enableFilter) {\n // this.filteredColumns.push(cols.field);\n // this.filteredColumns = [];\n // if(this.imeiSelect && !this.ctnSelect) {\n // this.filteredColumns.push(\"imei\");\n // }\n // else if(this.ctnSelect && !this.imeiSelect) {\n // this.filteredColumns.push(\"ctnNumber\");\n // }\n // console.log(this.filteredColumns);\n // if(cols.secondaryField) {\n // this.filteredColumns.push(cols.secondaryField);\n // }\n // }\n // }\n // }\n }\n\n getPageData(pageNo: number) {\n\n let endIndex: number = 0;\n this.paginations.currentPage = pageNo - 1;\n endIndex = (this.startIndex + this.paginations.recordsPerPage);\n let data = this.filteredData;\n this.gridData = data.slice(this.startIndex, endIndex);\n // if (endIndex + (this.paginations.recordsPerPage * 2) > this.totalRecords) {\n // this.getData();\n // }\n\n //for server side pagination : need to pass start-index & limit\n // bind the data directly to gridData\n\n\n }\n\n singleSelectionChanges(ctrl) {\n this.radioSelections.emit(ctrl);\n // this.singleSelectedItems = [];\n // this.singleSelectedItems.push(ctrl);\n }\n\n selectionChanges(ctrl, event) {\n\n ctrl = Object.assign({}, ctrl, { 'checkedStatus': event.target.checked });\n\n this.checkboxSelections.emit(ctrl);\n\n // if (event.target.checked) {\n // this.multipleSelectedItems.push(ctrl);\n // }\n\n // else {\n // if (this.multipleSelectedItems.find(x => x == ctrl)) {\n // this.multipleSelectedItems.splice(this.multipleSelectedItems.indexOf(ctrl), 1)\n // }\n // }\n }\n \n filter(searchValue: string, clearSearch?: boolean, linkType?: string) {\n let filteredData: any;\n searchValue = searchValue.trim();\n if (this.enableSearchLimit &&\n (searchValue.length > 0 && searchValue.length < this.searchLimit)) {\n this.searchMessage = \"Enter atleast \" + this.searchLimit + \" characters to search\"\n this.searchFan.nativeElement.focus();\n return;\n }\n\n if (this.enableSearchLimit && searchValue.toString().substring(0, 3).indexOf(' ') >= 0) {\n this.searchMessage = 'Enter valid characters to search';\n this.searchFan.nativeElement.focus();\n return;\n }\n\n this.searchMessage = \"\";\n if (this.ctnMask) {\n searchValue = searchValue.split('.').join('');\n }\n else {\n searchValue = searchValue;\n }\n this.startIndex = 0;\n this.searchValue = searchValue;\n this.paginations.currentPage = 1;\n this.filteredColumns = [];\n if(this.ctnSelect && !this.imeiSelect) {\n this.filteredColumns.push(\"ctnNumber\");\n }\n else if(!this.ctnSelect && this.imeiSelect) {\n this.filteredColumns.push(\"imei\");\n }\n if (this.paginations.isServerSide) {\n this.getServerData();\n this.showBackLink = true;\n } else {\n console.log(this.filteredColumns);\n filteredData = this.filterService.getFilteredData(\n this.gridProperties.gridData, searchValue, this.filteredColumns);\n this.paginations.totalRecords = filteredData.length;\n this.setGridData(filteredData);\n this.showBackLink = true;\n }\n if (clearSearch || !searchValue) {\n this.searchFan.nativeElement.value = '';\n this.showBackLink = false;\n } else {\n this.showBackLink = true;\n }\n this.checkAllRowsSelected();\n const searchCleared = clearSearch || !searchValue;\n if (!this.gridProperties.showGrid) {\n this.showTable = searchCleared ? false : true;\n }\n if (linkType === 'viewAllLink' && this.gridProperties.showGrid === false) {\n this.showTable = true;\n this.gridProperties.showGrid = true;\n }\n this.onSearch.emit({ 'search': searchCleared, 'results': filteredData });\n //window.dispatchEvent(new Event('resize'));\n }\n\n getServerData() {\n\n let fetchCriteria: FetchCriteriaModel = new FetchCriteriaModel();\n\n fetchCriteria.limit = this.paginations.recordsPerPage;\n fetchCriteria.offset = this.startIndex;\n\n if (this.sortColumn.length > 0) {\n fetchCriteria.sortField = this.sortColumn;\n }\n\n if (this.sortDirection.length > 0) {\n fetchCriteria.sortDir = this.sortDirection.toUpperCase();\n }\n\n if (this.searchValue.length > 0) {\n fetchCriteria.searchValue = this.searchValue;\n }\n\n if(this.filteredColumns.length > 0) {\n fetchCriteria.filteredCols = this.filteredColumns[0];\n }\n\n this.gridEvent.emit(fetchCriteria);\n\n\n // let fetchCriteria: FetchCriteriaModel = new FetchCriteriaModel();\n\n // fetchCriteria.class = \"API::SepPagingLoadConfig\";\n // fetchCriteria.limit = this.paginations.recordsPerPage;\n // fetchCriteria.offset = this.startIndex;\n // fetchCriteria.sortDir = this.sortDirection.toUpperCase();\n // fetchCriteria.sortField = this.sortColumn;\n\n // this.gridProperties.gridFetch.fetchCriteria = fetchCriteria;\n\n // if (this.searchValue.length > 0) {\n // this.gridProperties.gridFetch.searchValue = this.searchValue;\n // }\n\n // console.log('Service getData');\n // this.gridService.fetchGridServiceData(this.gridProperties.dataUrl, this.gridProperties.gridFetch).\n // subscribe(respobj => {\n // console.log(respobj);\n // if (respobj != null && respobj != undefined) {\n // if (isPageChanges) {\n // this.gridData = respobj;\n // }\n // else {\n // this.setGridData(respobj);\n // this.paginations.totalRecords = respobj.length;\n // }\n // }\n // }, error => {\n // console.log(error);\n // });\n }\n\n // handleSort( col: ColumnDefinitionsModel){\n // this.sortHeadAria = col.sortDirection === 'Asc'? 'Sort descending - '+col.caption : 'Sort ascending - '+col.caption;\n // console.log( this.sortHeadAria );\n // return this.sortHeadAria;\n // }\n\n handleHeadingFocus( ){\n this.ariaLabel = this.gridProperties.ariaLabel? this.gridProperties.ariaLabel: this.mainAriaLAbel;\n }\n\n handleHeadingBlur( ){\n this.ariaLabel = null;\n }\n\n handleSortBlur( ){ \n this.hideSortHeadRead = true;\n }\n\n handleSortFocus( ){\n this.hideSortHeadRead = false;\n }\n\n\n sort(col: ColumnDefinitionsModel) {\n this.gridProperties.columnDefinitions.forEach((column: ColumnDefinitionsModel) => {\n if (column.field !== col.field) {\n column.sortDirection = 'Asc';\n if (column.sortDirection === 'Desc') {\n let sortedData = this.gridSortService.getSortedData(\n this.filteredData, column.field, 'Asc');\n this.setGridData(sortedData);\n }\n }\n }),\n this.sortColumn = col.field;\n this.sortDirection = (!!col.sortDirection && col.sortDirection !== 'Default') ? col.sortDirection : 'Desc';\n this.paginations.currentPage = 1;\n this.startIndex = 0;\n this.sortDirection = (this.sortDirection.toLowerCase() == 'asc') ? 'Desc' : 'Asc';\n if (this.paginations.isServerSide) {\n this.getServerData();\n }\n else {\n let sortedData = this.gridSortService.getSortedData(\n this.filteredData, this.sortColumn, this.sortDirection);\n //this.paginations.currentPage = this.paginations.currentPage + 1;\n this.setGridData(sortedData);\n }\n\n col.sortDirection = this.sortDirection;\n this.checkAllRowsSelected();\n }\n\n multiSelectAction(event) {\n const checkStatus = event.target.checked;\n this.filteredData.forEach(r => {\n if (!this.gridProperties.disableRow ||\n (this.gridProperties.disableRow && this.gridProperties.disableRowConditionInverse &&\n r[this.gridProperties.disableRowCondition.field] === this.gridProperties.disableRowCondition.value) ||\n (this.gridProperties.disableRow && !this.gridProperties.disableRowConditionInverse &&\n r[this.gridProperties.disableRowCondition.field] !== this.gridProperties.disableRowCondition.value)\n ) {\n r['selected'] = checkStatus;\n }\n });\n this.onDataChange.emit({ data: this.gridProperties.gridData, griddata: this.filteredData, type: 'multiselect' });\n this.checkAllRowsSelected();\n }\n\n setDefault(filteredData) {\n return filteredData.forEach(r => r['selected'] = r['selected'] === undefined ? false : r['selected']);\n }\n\n checkAllRowsSelected() {\n const selectedRow = this.gridData.filter(item => item.selected === true);\n const activeRow = this.gridData.filter(item => !this.gridProperties.disableRow ||\n (this.gridProperties.disableRow && this.gridProperties.disableRowConditionInverse &&\n item[this.gridProperties.disableRowCondition.field] === this.gridProperties.disableRowCondition.value) ||\n (this.gridProperties.disableRow && !this.gridProperties.disableRowConditionInverse &&\n item[this.gridProperties.disableRowCondition.field] !== this.gridProperties.disableRowCondition.value));\n this.allRowsSelected = activeRow.length === selectedRow.length;\n }\n\n singleSelectAction(col: ColumnDefinitionsModel, event) {\n const checkStatus = event.target.checked;\n col['selected'] = checkStatus;\n this.onDataChange.emit({ data: col, griddata: this.filteredData, type: 'singleselect' });\n this.checkAllRowsSelected();\n }\n\n setPriorityData() {\n if (window.innerWidth < 767) {\n this.showhigherpriorities = 2;\n }\n else if (window.innerWidth < 1000) {\n this.showhigherpriorities = 4;\n }\n else {\n this.showhigherpriorities = 6;\n }\n }\n\n ngDoCheck() {\n if(this.imeiSelect === true && this.ctnSelect === false) {\n this.ctnMask = false;\n this.imeiMask = true;\n this.maxLength = 15;\n this.searchPlaceHolder = \"Enter IMEI number\";\n }\n else if(!this.imeiSelect && this.ctnSelect) {\n this.ctnMask = true;\n this.imeiMask = false;\n this.maxLength = 12;\n this.searchPlaceHolder = \"Enter Wireless number\";\n }\n }\n\n\n}\n","
    \n
    \n
    \n
    \n \n \n \n \n \n \n\n \n \n

    Showing {{startIndex+1}} - {{startIndex + paginations.recordsPerPage > paginations.totalRecords ? paginations.totalRecords\n : startIndex + paginations.recordsPerPage }} of {{paginations.totalRecords}}

    \n
    \n
    \n \n

    {{searchDescriptions}}

    \n\n \n\n
    \n {{ gridProperties.multiSelect ? \n gridProperties.columnDefinitions[0].caption : \n gridProperties.columnDefinitions[1].caption }}\n \n \n
    \n\n
    \n\n
    paginations.recordsPerPage && showTable\">\n \n
    \n
    \n
    \n\n\n\n\n\n \n \n
    \n \n \n \n\n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    showhigherpriorities && maxPriority > showhigherpriorities && gridData.length\"> \n
    \n \n
    \n
    showhigherpriorities) : (col.priority > 1)\">\n \n \n {{col.caption}} \n \n \n \n \n \n\n \n {{col.caption}}\n Select\n \n\n
    showhigherpriorities && maxPriority > showhigherpriorities \">\n \n \n
    \n
    \n \n \n \n
    Check box
    \n
    \n
    \n
    showhigherpriorities\">\n
    \n
    \n
    \n
    \n \n
    \n \n
    \n
    \n \n \n \n
    radio button
    \n
    \n
    \n \n \n
    \n \n
    \n \n
    \n
    \n
    showhigherpriorities\">\n  \n \n  \n \n
    \n
    \n {{col.caption}} \n
    \n
    \n
    \n \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    {{row[col.field]}}
    \n
    \n
    \n
    \n
    {{gridProperties.emptyMessage}}
    \n
    \n
    {{gridProperties.emptyMessage}}
    \n
    \n
    \n
    \n","export * from './custom-grid-extended.component';\nexport * from './shared';\n","export * from './model/column-definitions.model';\nexport * from './model/grid-options.model';\nexport * from './model/paginations.model';\nexport * from './model/fetch-criteria.model';\nexport * from './providers/filter.service';\nexport * from './providers/grid-sort.service';\nexport * from './providers/grid-data.service';","\nexport class ColumnDefinitionsModel {\n field: string;\n secondaryField?: string;\n caption: string;\n type: string;\n enableFilter?: boolean;\n enableSorting?: boolean;\n sortDirection?: string;\n cssClass?: string;\n customTemplate?: string;\n customContent?: string;\n priority?: number;\n}\n","export class FetchCriteriaModel {\n limit:number;\n offset:number;\n sortDir:string;\n sortField:string;\n searchValue:string;\n filteredCols:string;\n}\n","import { ColumnDefinitionsModel } from './column-definitions.model'\nimport { PaginationsModel } from './paginations.model';\n\nexport class DisableRowConditionModel {\n field: string;\n value: any;\n}\n\nexport class GridOptionsModel {\n enableFiltering: boolean;\n columnDefinitions: Array;\n enableSorting: boolean;\n gridData: any;\n Paginations: PaginationsModel;\n searchPlaceHolder: string;\n searchDescriptions: string;\n numberSearchOnly?: true;\n ctnMask?: boolean;\n imeiMask?: boolean;\n callbacks: any;\n multiSelect: boolean;\n showPaginationIndex: boolean;\n disableGrid: boolean;\n disableRow: boolean;\n emptyMessage: string;\n disableRowCondition: DisableRowConditionModel; // Its mandatory when disabledByCondition is true\n disableRowConditionInverse: boolean;\n enableBackLink?: boolean;\n backLinkText?: string;\n isEmptyMessageInRow: boolean; //Used to display emptyMessage in entire Row\n showGrid?: boolean;\n enableSearchLimit?: boolean; //Used to restrict search characters\n searchLimit?: number;// Used to limit no.of.characters for search\n maxLength?: number;\n searchType?: string;\n ariaLabel?: string;\n disableSelectAll: boolean;\n\n constructor() {\n this.showPaginationIndex = true;\n this.showGrid = true;\n this.disableRowConditionInverse = false;\n }\n}\n","export class PaginationsModel\n{\n recordsPerPage:number;\n currentPage:number;\n totalRecords:number;\n isServerSide:boolean;\n hideGoToPage?:boolean;\n}\n","import { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { HttpClientService } from './../../../../providers';\n\n@Injectable()\nexport class FilterService {\n\n constructor( \n private httpClientService: HttpClientService) {}\n\n\ngetFilteredData(gridData,searchValue,filteredColumns) {\n \n let data = gridData;\n let filteredData: any;\n let isInitial: boolean = true;\n let filterIndexZero = false;\n if (searchValue.length == 0) {\n filteredData = data;\n return filteredData;\n }\n\nif(data.length>0 && !!!data[0].rowIndex)\n{\n let uid: any;\n //create property rowIndex for row numbers to the json object \n for (var key in data) {\n uid = { 'rowIndex': key };\n data[key] = Object.assign({}, data[key], uid);\n }\n}\n\n for (let i: number = 0; i < filteredColumns.length; i++) {\n if (isInitial) {\n filteredData = data.filter(item =>\n item[filteredColumns[i].toString()].toString().toLowerCase().indexOf(searchValue.toLowerCase()) !== -1\n );\n isInitial = false;\n if(filteredData.length === 0) {\n filterIndexZero = true;\n }\n continue;\n }\n\n filteredData = filteredData.concat(data.filter(item =>\n item[filteredColumns[i].toString()].toString().toLowerCase().indexOf(searchValue.toLowerCase()) !== -1));\n\n }\n\n var uniqueData = {};\n //create unique data based on the property rowIndex \n for (var key in filteredData) {\n uniqueData[filteredData[key].rowIndex] = filteredData[key];\n }\n\n filteredData = [];\n\n for (var key in uniqueData) {\n filteredData.push(uniqueData[key]);\n }\n\n if(filterIndexZero === true && filteredColumns.length > 1 && filteredData.length > 1) {\n filteredData.forEach( obj => this.renameKey(obj, filteredColumns[1], 'filteredCol'));\n filteredData.sort(function(a,b) {\n if(a.filteredCol > b.filteredCol) return 1;\n if(a.filteredCol < b.filteredCol) return -1;\n })\n filteredData.forEach( obj => this.renameKey(obj, 'filteredCol', filteredColumns[1]));\n }\n // //To remove rowIndex property json object \n // filteredData = filteredData.filter(function (props) {\n // delete props.rowIndex;\n // return true;\n // });\n\n return filteredData;\n\n\n }\n\n renameKey(obj, oldKey, newKey) {\n obj[newKey] = obj[oldKey];\n delete obj[oldKey];\n }\n\n}\n","import { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { Observable, throwError } from 'rxjs';\n\n\nimport { HttpClient, HttpResponse, HttpHeaders } from '@angular/common/http';\nimport { HttpClientService } from './../../../../providers';\n\n@Injectable()\nexport class GridDataService {\n\n constructor(private http: HttpClient, private httpClientService: HttpClientService) { }\n\n fetchGridData(dataurl) {\n\n return this.httpClientService.get(dataurl)\n .pipe(\n map((test: HttpResponse) => test.body)\n ,catchError( this.handleError ));\n\n }\n\n\n fetchGridFilterData(dataurl, gridFetch: any) {\n\n // console.log(gridFetch);\n\n return this.httpClientService.get(dataurl)\n .pipe(\n map((test: HttpResponse) => test.body)\n ,catchError( this.handleError ));\n }\n\n fetchGridServiceData(requestUrl, requestBody) {\n let headers = new HttpHeaders();\n headers = headers.append('Accept', 'application/json');\n headers = headers.append('Content-Type', 'application/json');\n headers = headers.append('Authorization', sessionStorage.getItem('sapmp_jwtToken'));\n return this.httpClientService.put(requestUrl, requestBody, headers)\n .pipe(\n map((user: HttpResponse) => user.body)\n ,catchError( this.handleError ));\n }\n\n\n handleError = (error) => {\n return throwError(error);\n };\n\n}\n","import { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { HttpClientService } from './../../../../providers';\n\n@Injectable()\nexport class GridSortService {\n\n constructor(\n private httpClientService: HttpClientService) { }\n\n getSortedData(filteredData, sortColumn, sortType) {\n\n filteredData = filteredData.sort((col1, col2) => {\n\n if (col1.disableSort === true || (col1.disableSort === true && col2.disableSort === true)) {\n return -1;\n } else if (col2.disableSort === true) {\n return 1;\n }\n col1 = (typeof (col1[sortColumn]) === 'number') ?\n col1[sortColumn] : col1[sortColumn].toLowerCase();\n col2 = (typeof (col2[sortColumn]) === 'number') ?\n col2[sortColumn] : col2[sortColumn].toLowerCase();\n\n if (sortType.toLowerCase() === 'desc') {\n if (col1 > col2) {\n return -1;\n }\n\n if (col1 < col2) {\n return 1;\n }\n\n return 0;\n } else {\n if (col1 > col2) {\n return 1;\n }\n\n if (col1 < col2) {\n return -1;\n }\n\n return 0;\n }\n });\n\n return filteredData;\n\n }\n\n}\n","import { Component, Input, OnInit, Output, EventEmitter, ViewChild, HostListener, ElementRef, TemplateRef, ContentChild, Directive, ContentChildren, QueryList, AfterContentInit } from '@angular/core';\nimport { FormControl } from '@angular/forms';\n\nimport {\n GridDataService, FilterService, GridSortService, ColumnDefinitionsModel, GridTableOptionsModel,\n PaginationsModel, FetchCriteriaModel\n} from './shared';\n\n@Directive({selector: '[cell]'})\nexport class Cell {\n @Input() id!: string;\n}\n\n@Component({\n selector: 'app-custom-grid-table',\n providers: [FilterService, GridSortService, GridDataService],\n templateUrl: './custom-grid-table.component.html',\n styleUrls: ['./custom-grid-table.component.scss']\n})\nexport class CustomGridTableComponent implements OnInit, AfterContentInit {\n\n startIndex: number = 0;\n searchPlaceHolder: string = 'Enter first or last name';\n ctnMask: boolean = false;\n searchDescriptions: string = '';\n gridProperties: GridTableOptionsModel;\n showBackLink: boolean;\n isGridValid: boolean;\n filteredColumns = [];\n gridData: any;\n filteredData: any;\n //multipleSelectedItems = [];\n //singleSelectedItems = [];\n paginations: PaginationsModel;\n sortColumn: string = \"\";\n sortDirection: string = \"\";\n searchValue: string = \"\";\n showhigherpriorities: number = 0;\n allRowsSelected: boolean = false;\n maxPriority: number = 0;\n showTable: boolean;\n enableSearchLimit: boolean = false;\n searchLimit: number = 3;\n searchMessage: string = \"\";\n ctnNumbertoFormate: FormControl;\n maxLength: number;\n numericSearch: boolean;\n ariaLabel: string;\n sortAriaLabel: string;\n changeSortOrderAriaLabel: string;\n searchLabel: string;\n sortHeadAria: string;\n hideSortHeadRead: boolean;\n\n\n @ViewChild('searchValue') searchFan;\n\n @Input() mainAriaLAbel : any;\n\n @Input() set filterValue(searchValue) {\n this.filter(searchValue);\n } \n @Input() set gridOptions(options: GridTableOptionsModel) {\n if (options == undefined) {\n this.isGridValid = false;\n return;\n }\n this.isGridValid = true;\n this.gridProperties = options;\n this.paginations = options.Paginations;\n this.searchPlaceHolder = options.searchPlaceHolder === undefined ? this.searchPlaceHolder : options.searchPlaceHolder;\n this.ctnMask = options.ctnMask === undefined ? this.ctnMask : options.ctnMask;\n this.searchDescriptions = options.searchDescriptions;\n this.showTable = options.showGrid;\n this.enableSearchLimit = options.enableSearchLimit;\n this.searchLimit = options.searchLimit;\n this.maxLength = options.maxLength;\n this.ariaLabel = options.ariaLabel?options.ariaLabel:this.mainAriaLAbel;\n if (options.searchType === 'number') {\n this.numericSearch = true;\n };\n this.gridProperties.columnDefinitions.forEach(r => {\n r['priority'] = r['priority'] === undefined ? 1 : r['priority'];\n if (this.maxPriority < r['priority']) {\n this.maxPriority = r['priority'];\n }\n });\n\n if (this.paginations.currentPage == 1) {\n this.startIndex = 0;\n }\n //this.getApplicableFilterCols();\n if (this.gridProperties.multiSelect) {\n this.gridData = this.setDefault(options.gridData);\n }\n if (this.paginations.isServerSide) {\n this.gridData = options.gridData\n } else {\n this.setGridData(options.gridData);\n }\n this.checkAllRowsSelected();\n }\n\n @ContentChildren(TemplateRef) contentChildrenList: QueryList>;\n contentChildren: TemplateRef[];\n @ContentChild('header',{read: false}) templateRef: TemplateRef;\n \n @ViewChild('gridcontainer') gridcontainer;\n @Output() hrefLink: EventEmitter = new EventEmitter();\n @Output() checkboxSelections: EventEmitter = new EventEmitter();\n @Output() radioSelections: EventEmitter = new EventEmitter();\n @Output() onSearch: EventEmitter = new EventEmitter();\n\n @Output() onDataChange: EventEmitter = new EventEmitter();\n @HostListener('window:resize', ['$event'])\n onResize() {\n this.setPriorityData();\n }\n\n\n @Output() gridEvent: EventEmitter = new EventEmitter();\n\n\n\n constructor(private el: ElementRef,\n private filterService: FilterService,\n private gridSortService: GridSortService) {\n this.ctnNumbertoFormate = new FormControl();\n }\n // getData() {\n\n // console.log('Service getData');\n // this.gridService.fetchGridData(this.utilityService.getEnvConfig().mockGridDataUrl).\n // subscribe(respobj => {\n // console.log(respobj);\n // if (respobj != null && respobj != undefined) {\n // this.filteredData = this.filteredData.concat(respobj);\n // this.totalRecords = this.filteredData.length;\n // }\n // }, error => {\n // console.log(error);\n // });\n // }\n\n linkAction(currentData, column) {\n currentData = Object.assign({}, currentData, { 'selectedColumn': column });\n this.hrefLink.emit(currentData);\n }\n ngOnInit() {\n this.setPriorityData();\n // if (!this.ariaLabel) {\n // this.ariaLabel = 'Enter first or last name';\n // }\n }\n ngAfterContentInit() {\n this.contentChildren = this.contentChildrenList.toArray();\n }\n\n onPageChange(startIndex) {\n this.startIndex = startIndex;\n this.paginations.currentPage = (startIndex / this.paginations.recordsPerPage) + 1;\n if (this.paginations.isServerSide) {\n this.getServerData();\n }\n else {\n this.getPageData(this.paginations.currentPage);\n }\n this.checkAllRowsSelected();\n // const focusableEls = this.el.nativeElement.getElementsByTagName('table')[0].querySelectorAll('a[href], area[href],' +\n // ' input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), [tabindex=\"0\"]');\n // if (focusableEls.length) {\n // focusableEls[0].focus();\n // }\n const focusableEls = this.el.nativeElement.querySelectorAll('#totalCount');\n if (focusableEls.length) {\n setTimeout(() => { focusableEls[0].focus(); });\n }\n }\n\n\n\n setGridData(data: any) {\n this.filteredData = data;\n this.getPageData(this.paginations.currentPage);\n }\n\n\n // getApplicableFilterCols() {\n // this.filteredColumns = [];\n // if (this.gridProperties.enableFiltering) {\n // for (let cols of this.gridProperties.columnDefinitions) {\n // if (cols.enableFilter) {\n // this.filteredColumns.push(cols.field);\n // if(cols.secondaryField) {\n // this.filteredColumns.push(cols.secondaryField);\n // }\n // }\n // }\n // }\n // }\n\n getPageData(pageNo: number) {\n\n let endIndex: number = 0;\n this.paginations.currentPage = pageNo - 1;\n endIndex = (this.startIndex + this.paginations.recordsPerPage);\n let data = this.filteredData;\n this.gridData = data.slice(this.startIndex, endIndex);\n // if (endIndex + (this.paginations.recordsPerPage * 2) > this.totalRecords) {\n // this.getData();\n // }\n\n //for server side pagination : need to pass start-index & limit\n // bind the data directly to gridData\n\n\n }\n\n singleSelectionChanges(ctrl) {\n this.radioSelections.emit(ctrl);\n // this.singleSelectedItems = [];\n // this.singleSelectedItems.push(ctrl);\n }\n\n selectionChanges(ctrl, event) {\n\n ctrl = Object.assign({}, ctrl, { 'checkedStatus': event.target.checked });\n\n this.checkboxSelections.emit(ctrl);\n\n // if (event.target.checked) {\n // this.multipleSelectedItems.push(ctrl);\n // }\n\n // else {\n // if (this.multipleSelectedItems.find(x => x == ctrl)) {\n // this.multipleSelectedItems.splice(this.multipleSelectedItems.indexOf(ctrl), 1)\n // }\n // }\n }\n \n filter(searchValue: string, clearSearch?: boolean, linkType?: string) {\n let filteredData: any;\n searchValue = searchValue.trim();\n if (this.enableSearchLimit &&\n (searchValue.length > 0 && searchValue.length < this.searchLimit)) {\n this.searchMessage = \"Enter atleast \" + this.searchLimit + \" characters to search\"\n this.searchFan.nativeElement.focus();\n return;\n }\n\n if (this.enableSearchLimit && searchValue.toString().substring(0, 3).indexOf(' ') >= 0) {\n this.searchMessage = 'Enter valid characters to search';\n this.searchFan.nativeElement.focus();\n return;\n }\n\n this.searchMessage = \"\";\n if (this.ctnMask) {\n searchValue = searchValue.split('.').join('');\n }\n else {\n searchValue = searchValue;\n }\n this.startIndex = 0;\n this.searchValue = searchValue;\n this.paginations.currentPage = 1;\n if (this.paginations.isServerSide) {\n this.getServerData();\n this.showBackLink = true;\n } else {\n filteredData = this.filterService.getFilteredData(\n this.gridProperties.gridData, searchValue, this.filteredColumns);\n this.paginations.totalRecords = filteredData.length;\n this.setGridData(filteredData);\n this.showBackLink = true;\n }\n if (clearSearch || !searchValue) {\n this.searchFan.nativeElement.value = '';\n this.showBackLink = false;\n } else {\n this.showBackLink = true;\n }\n this.checkAllRowsSelected();\n const searchCleared = clearSearch || !searchValue;\n if (!this.gridProperties.showGrid) {\n this.showTable = searchCleared ? false : true;\n }\n if (linkType === 'viewAllLink' && this.gridProperties.showGrid === false) {\n this.showTable = true;\n this.gridProperties.showGrid = true;\n }\n this.onSearch.emit({ 'search': searchCleared, 'results': filteredData });\n //window.dispatchEvent(new Event('resize'));\n }\n\n getServerData() {\n\n let fetchCriteria: FetchCriteriaModel = new FetchCriteriaModel();\n\n fetchCriteria.limit = this.paginations.recordsPerPage;\n fetchCriteria.offset = this.startIndex;\n\n if (this.sortColumn.length > 0) {\n fetchCriteria.sortField = this.sortColumn;\n }\n\n if (this.sortDirection.length > 0) {\n fetchCriteria.sortDir = this.sortDirection.toUpperCase();\n }\n\n if (this.searchValue.length > 0) {\n fetchCriteria.searchValue = this.searchValue;\n }\n\n this.gridEvent.emit(fetchCriteria);\n\n\n // let fetchCriteria: FetchCriteriaModel = new FetchCriteriaModel();\n\n // fetchCriteria.class = \"API::SepPagingLoadConfig\";\n // fetchCriteria.limit = this.paginations.recordsPerPage;\n // fetchCriteria.offset = this.startIndex;\n // fetchCriteria.sortDir = this.sortDirection.toUpperCase();\n // fetchCriteria.sortField = this.sortColumn;\n\n // this.gridProperties.gridFetch.fetchCriteria = fetchCriteria;\n\n // if (this.searchValue.length > 0) {\n // this.gridProperties.gridFetch.searchValue = this.searchValue;\n // }\n\n // console.log('Service getData');\n // this.gridService.fetchGridServiceData(this.gridProperties.dataUrl, this.gridProperties.gridFetch).\n // subscribe(respobj => {\n // console.log(respobj);\n // if (respobj != null && respobj != undefined) {\n // if (isPageChanges) {\n // this.gridData = respobj;\n // }\n // else {\n // this.setGridData(respobj);\n // this.paginations.totalRecords = respobj.length;\n // }\n // }\n // }, error => {\n // console.log(error);\n // });\n }\n\n // handleSort( col: ColumnDefinitionsModel){\n // this.sortHeadAria = col.sortDirection === 'Asc'? 'Sort descending - '+col.caption : 'Sort ascending - '+col.caption;\n // console.log( this.sortHeadAria );\n // return this.sortHeadAria;\n // }\n\n handleHeadingFocus( ){\n this.ariaLabel = this.gridProperties.ariaLabel? this.gridProperties.ariaLabel: this.mainAriaLAbel;\n }\n\n handleHeadingBlur( ){\n this.ariaLabel = null;\n }\n\n handleSortBlur( ){ \n this.hideSortHeadRead = true;\n }\n\n handleSortFocus( ){\n this.hideSortHeadRead = false;\n }\n\n\n // sort(col: ColumnDefinitionsModel) {\n // this.sortColumn = col.field;\n // this.sortDirection = (!!col.sortDirection && col.sortDirection !== 'Default') ? col.sortDirection : 'Desc';\n // this.paginations.currentPage = 1;\n // this.startIndex = 0;\n // this.sortDirection = (this.sortDirection.toLowerCase() == 'asc') ? 'Desc' : 'Asc';\n // if (this.paginations.isServerSide) {\n // this.getServerData();\n // }\n // else {\n // let sortedData = this.gridSortService.getSortedData(\n // this.filteredData, this.sortColumn, this.sortDirection);\n // //this.paginations.currentPage = this.paginations.currentPage + 1;\n // this.setGridData(sortedData);\n // }\n\n // col.sortDirection = this.sortDirection;\n // this.checkAllRowsSelected();\n // }\n\n multiSelectAction(event) {\n const checkStatus = event.target.checked;\n this.gridData.forEach(r => {\n if (!this.gridProperties.disableRow ||\n (this.gridProperties.disableRow && this.gridProperties.disableRowConditionInverse &&\n r[this.gridProperties.disableRowCondition.field] === this.gridProperties.disableRowCondition.value) ||\n (this.gridProperties.disableRow && !this.gridProperties.disableRowConditionInverse &&\n r[this.gridProperties.disableRowCondition.field] !== this.gridProperties.disableRowCondition.value)\n ) {\n r['selected'] = checkStatus;\n }\n });\n this.onDataChange.emit({ data: this.gridProperties.gridData, griddata: this.filteredData, type: 'multiselect' });\n this.checkAllRowsSelected();\n }\n\n setDefault(gridData) {\n return gridData.forEach(r => r['selected'] = r['selected'] === undefined ? false : r['selected']);\n }\n\n checkAllRowsSelected() {\n const selectedRow = this.gridData.filter(item => item.selected === true);\n const activeRow = this.gridData.filter(item => !this.gridProperties.disableRow ||\n (this.gridProperties.disableRow && this.gridProperties.disableRowConditionInverse &&\n item[this.gridProperties.disableRowCondition.field] === this.gridProperties.disableRowCondition.value) ||\n (this.gridProperties.disableRow && !this.gridProperties.disableRowConditionInverse &&\n item[this.gridProperties.disableRowCondition.field] !== this.gridProperties.disableRowCondition.value));\n this.allRowsSelected = activeRow.length === selectedRow.length;\n }\n\n singleSelectAction(col: ColumnDefinitionsModel, event) {\n const checkStatus = event.target.checked;\n col['selected'] = checkStatus;\n this.onDataChange.emit({ data: col, griddata: this.filteredData, type: 'singleselect' });\n this.checkAllRowsSelected();\n }\n\n setPriorityData() {\n if (window.innerWidth < 767) {\n this.showhigherpriorities = 2;\n }\n else if (window.innerWidth < 1000) {\n this.showhigherpriorities = 4;\n }\n else {\n this.showhigherpriorities = 6;\n }\n }\n\n}\n\n","\n","export * from './custom-grid-table.component';\nexport * from './shared';\n","export * from './model/column-definitions.model';\nexport * from './model/grid-options.model';\nexport * from './model/paginations.model';\nexport * from './model/fetch-criteria.model';\nexport * from './providers/filter.service';\nexport * from './providers/grid-sort.service';\nexport * from './providers/grid-data.service';","\nexport class ColumnDefinitionsModel {\n field: string;\n secondaryField?: string;\n caption: string;\n type: string;\n // enableFilter?: boolean;\n // enableSorting?: boolean;\n // sortDirection?: string;\n cssClass?: string;\n customTemplate?: string;\n customContent?: string;\n priority?: number;\n resizable?: boolean;\n sortable?: boolean;\n filter?: boolean;\n checkboxSelection?: boolean;\n width?: number\n}\n","export class FetchCriteriaModel {\n limit:number;\n offset:number;\n sortDir:string;\n sortField:string;\n searchValue:string;\n}\n","import { ColumnDefinitionsModel } from './column-definitions.model'\nimport { PaginationsModel } from './paginations.model';\n\nexport class DisableRowConditionModel {\n field: string;\n value: any;\n}\n\nexport class GridTableOptionsModel {\n enableFiltering: boolean;\n columnDefinitions: Array;\n enableSorting: boolean;\n gridData: any;\n Paginations: PaginationsModel;\n searchPlaceHolder: string;\n searchDescriptions: string;\n numberSearchOnly?: true;\n ctnMask?: boolean;\n callbacks: any;\n multiSelect: boolean;\n showPaginationIndex: boolean;\n disableGrid: boolean;\n disableRow: boolean;\n emptyMessage: string;\n disableRowCondition: DisableRowConditionModel; // Its mandatory when disabledByCondition is true\n disableRowConditionInverse: boolean;\n enableBackLink?: boolean;\n backLinkText?: string;\n isEmptyMessageInRow: boolean; //Used to display emptyMessage in entire Row\n showGrid?: boolean;\n enableSearchLimit?: boolean; //Used to restrict search characters\n searchLimit?: number;// Used to limit no.of.characters for search\n maxLength?: number;\n searchType?: string;\n ariaLabel?: string;\n disableSelectAll: boolean;\n \n constructor() {\n this.showPaginationIndex = true;\n this.showGrid = true;\n this.disableRowConditionInverse = false;\n }\n}\n","export class PaginationsModel\n{\n recordsPerPage:number;\n currentPage:number;\n totalRecords:number;\n isServerSide:boolean;\n hideGoToPage?:boolean;\n}\n","import { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { HttpClientService } from './../../../../providers';\n\n@Injectable()\nexport class FilterService {\n\n constructor( \n private httpClientService: HttpClientService) {}\n\n\ngetFilteredData(gridData,searchValue,filteredColumns) {\n \n let data = gridData;\n let filteredData: any;\n let isInitial: boolean = true;\n let filterIndexZero = false;\n if (searchValue.length == 0) {\n filteredData = data;\n return filteredData;\n }\n\nif(data.length>0 && !!!data[0].rowIndex)\n{\n let uid: any;\n //create property rowIndex for row numbers to the json object \n for (var key in data) {\n uid = { 'rowIndex': key };\n data[key] = Object.assign({}, data[key], uid);\n }\n}\n\n for (let i: number = 0; i < filteredColumns.length; i++) {\n if (isInitial) {\n filteredData = data.filter(item =>\n item[filteredColumns[i].toString()].toString().toLowerCase().indexOf(searchValue.toLowerCase()) !== -1\n );\n isInitial = false;\n if(filteredData.length === 0) {\n filterIndexZero = true;\n }\n continue;\n }\n\n filteredData = filteredData.concat(data.filter(item =>\n item[filteredColumns[i].toString()].toString().toLowerCase().indexOf(searchValue.toLowerCase()) !== -1));\n\n }\n\n var uniqueData = {};\n //create unique data based on the property rowIndex \n for (var key in filteredData) {\n uniqueData[filteredData[key].rowIndex] = filteredData[key];\n }\n\n filteredData = [];\n\n for (var key in uniqueData) {\n filteredData.push(uniqueData[key]);\n }\n\n if(filterIndexZero === true && filteredColumns.length > 1 && filteredData.length > 1) {\n filteredData.forEach( obj => this.renameKey(obj, filteredColumns[1], 'filteredCol'));\n filteredData.sort(function(a,b) {\n if(a.filteredCol > b.filteredCol) return 1;\n if(a.filteredCol < b.filteredCol) return -1;\n })\n filteredData.forEach( obj => this.renameKey(obj, 'filteredCol', filteredColumns[1]));\n }\n // //To remove rowIndex property json object \n // filteredData = filteredData.filter(function (props) {\n // delete props.rowIndex;\n // return true;\n // });\n\n return filteredData;\n\n\n }\n\n renameKey(obj, oldKey, newKey) {\n obj[newKey] = obj[oldKey];\n delete obj[oldKey];\n }\n\n}\n","import { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { Observable, throwError } from 'rxjs';\n\n\nimport { HttpClient, HttpResponse, HttpHeaders } from '@angular/common/http';\nimport { HttpClientService } from './../../../../providers';\n\n@Injectable()\nexport class GridDataService {\n\n constructor(private http: HttpClient, private httpClientService: HttpClientService) { }\n\n fetchGridData(dataurl) {\n\n return this.httpClientService.get(dataurl)\n .pipe(\n map((test: HttpResponse) => test.body)\n ,catchError( this.handleError ));\n\n }\n\n\n fetchGridFilterData(dataurl, gridFetch: any) {\n\n // console.log(gridFetch);\n\n return this.httpClientService.get(dataurl)\n .pipe(\n map((test: HttpResponse) => test.body)\n ,catchError( this.handleError ));\n }\n\n fetchGridServiceData(requestUrl, requestBody) {\n let headers = new HttpHeaders();\n headers = headers.append('Accept', 'application/json');\n headers = headers.append('Content-Type', 'application/json');\n headers = headers.append('Authorization', sessionStorage.getItem('sapmp_jwtToken'));\n return this.httpClientService.put(requestUrl, requestBody, headers)\n .pipe(\n map((user: HttpResponse) => user.body)\n ,catchError( this.handleError ));\n }\n\n\n handleError = (error) => {\n return throwError(error);\n };\n\n}\n","import { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { HttpClientService } from './../../../../providers';\n\n@Injectable()\nexport class GridSortService {\n\n constructor(\n private httpClientService: HttpClientService) { }\n\n getSortedData(filteredData, sortColumn, sortType) {\n\n filteredData = filteredData.sort((col1, col2) => {\n\n if (col1.disableSort === true || (col1.disableSort === true && col2.disableSort === true)) {\n return -1;\n } else if (col2.disableSort === true) {\n return 1;\n }\n col1 = (typeof (col1[sortColumn]) === 'number') ?\n col1[sortColumn] : col1[sortColumn].toLowerCase();\n col2 = (typeof (col2[sortColumn]) === 'number') ?\n col2[sortColumn] : col2[sortColumn].toLowerCase();\n\n if (sortType.toLowerCase() === 'desc') {\n if (col1 > col2) {\n return -1;\n }\n\n if (col1 < col2) {\n return 1;\n }\n\n return 0;\n } else {\n if (col1 > col2) {\n return 1;\n }\n\n if (col1 < col2) {\n return -1;\n }\n\n return 0;\n }\n });\n\n return filteredData;\n\n }\n\n}\n","import { Component, Input, OnInit, Output, EventEmitter, ViewChild, HostListener, ElementRef, TemplateRef, ContentChild, Directive, ContentChildren, QueryList, AfterContentInit } from '@angular/core';\n\nimport {\n GridDataService, FilterService, GridSortService, ColumnDefinitionsModel, GridOptionsModel,\n PaginationsModel, FetchCriteriaModel\n} from './shared';\nimport { UtilityService } from './../../providers';\nimport { FormControl } from '@angular/forms';\nimport { Router } from '@angular/router';\nimport { KEY_CONFIG } from '../../config/key-config';\n\n@Directive({selector: '[cell]'})\nexport class Cell {\n @Input() id!: string;\n}\n\n@Component({\n selector: 'app-customgrid',\n providers: [FilterService, GridSortService, GridDataService],\n templateUrl: './customgrid.component.html',\n styleUrls: ['./customgrid.component.scss']\n\n})\nexport class CustomgridComponent implements OnInit, AfterContentInit {\n\n startIndex: number = 0;\n searchPlaceHolder: string = 'Enter first or last name';\n ctnMask: boolean = false;\n searchDescriptions: string = '';\n gridProperties: GridOptionsModel;\n showBackLink: boolean;\n isGridValid: boolean;\n filteredColumns = [];\n gridData: any;\n filteredData: any;\n //multipleSelectedItems = [];\n //singleSelectedItems = [];\n paginations: PaginationsModel;\n sortColumn: string = \"\";\n sortDirection: string = \"\";\n searchValue: string = \"\";\n showhigherpriorities: number = 0;\n allRowsSelected: boolean = false;\n maxPriority: number = 0;\n showTable: boolean;\n enableSearchLimit: boolean = false;\n searchLimit: number = 3;\n searchMessage: string = \"\";\n ctnNumbertoFormate: FormControl;\n maxLength: number;\n numericSearch: boolean = false;\n ariaLabel: string;\n sortAriaLabel: string;\n changeSortOrderAriaLabel: string;\n searchLabel: string;\n sortHeadAria: string;\n hideSortHeadRead: boolean;\n\n\n @ViewChild('searchValue') searchFan;\n\n @Input() mainAriaLAbel : any;\n\n @Input() set filterValue(searchValue) {\n this.filter(searchValue);\n } \n @Input() set gridOptions(options: GridOptionsModel) {\n if (options == undefined) {\n this.isGridValid = false;\n return;\n }\n this.isGridValid = true;\n this.gridProperties = options;\n this.paginations = options.Paginations;\n this.searchPlaceHolder = options.searchPlaceHolder === undefined ? this.searchPlaceHolder : options.searchPlaceHolder;\n this.ctnMask = options.ctnMask === undefined ? this.ctnMask : options.ctnMask;\n this.searchDescriptions = options.searchDescriptions;\n this.showTable = options.showGrid;\n this.enableSearchLimit = options.enableSearchLimit;\n this.searchLimit = options.searchLimit;\n this.maxLength = options.maxLength;\n this.ariaLabel = options.ariaLabel?options.ariaLabel:this.mainAriaLAbel;\n if (options.searchType === 'number') {\n this.numericSearch = true;\n };\n this.gridProperties.columnDefinitions.forEach(r => {\n r['priority'] = r['priority'] === undefined ? 1 : r['priority'];\n if (this.maxPriority < r['priority']) {\n this.maxPriority = r['priority'];\n }\n });\n\n if (this.paginations.currentPage == 1) {\n this.startIndex = 0;\n }\n this.getApplicableFilterCols();\n if (this.gridProperties.multiSelect) {\n this.gridData = this.setDefault(options.gridData);\n }\n if (this.paginations.isServerSide) {\n this.gridData = options.gridData\n } else {\n this.setGridData(options.gridData);\n }\n this.checkAllRowsSelected();\n }\n\n @ContentChildren(TemplateRef) contentChildrenList: QueryList>;\n contentChildren: TemplateRef[];\n @ContentChild('header',{read: false}) templateRef: TemplateRef;\n \n @ViewChild('gridcontainer') gridcontainer;\n @Output() hrefLink: EventEmitter = new EventEmitter();\n @Output() checkboxSelections: EventEmitter = new EventEmitter();\n @Output() radioSelections: EventEmitter = new EventEmitter();\n @Output() onSearch: EventEmitter = new EventEmitter();\n\n @Output() onDataChange: EventEmitter = new EventEmitter();\n @HostListener('window:resize', ['$event'])\n onResize() {\n this.setPriorityData();\n }\n\n\n @Output() gridEvent: EventEmitter = new EventEmitter();\n\n\n\n constructor(private el: ElementRef,\n private filterService: FilterService,\n private gridSortService: GridSortService) {\n this.ctnNumbertoFormate = new FormControl();\n }\n // getData() {\n\n // console.log('Service getData');\n // this.gridService.fetchGridData(this.utilityService.getEnvConfig().mockGridDataUrl).\n // subscribe(respobj => {\n // console.log(respobj);\n // if (respobj != null && respobj != undefined) {\n // this.filteredData = this.filteredData.concat(respobj);\n // this.totalRecords = this.filteredData.length;\n // }\n // }, error => {\n // console.log(error);\n // });\n // }\n\n linkAction(currentData, column) {\n currentData = Object.assign({}, currentData, { 'selectedColumn': column });\n this.hrefLink.emit(currentData);\n }\n ngOnInit() {\n this.setPriorityData();\n // if (!this.ariaLabel) {\n // this.ariaLabel = 'Enter first or last name';\n // }\n }\n ngAfterContentInit() {\n this.contentChildren = this.contentChildrenList.toArray();\n }\n\n onPageChange(startIndex) {\n this.startIndex = startIndex;\n this.paginations.currentPage = (startIndex / this.paginations.recordsPerPage) + 1;\n if (this.paginations.isServerSide) {\n this.getServerData();\n }\n else {\n this.getPageData(this.paginations.currentPage);\n }\n this.checkAllRowsSelected();\n // const focusableEls = this.el.nativeElement.getElementsByTagName('table')[0].querySelectorAll('a[href], area[href],' +\n // ' input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), [tabindex=\"0\"]');\n // if (focusableEls.length) {\n // focusableEls[0].focus();\n // }\n const focusableEls = this.el.nativeElement.querySelectorAll('#totalCount');\n if (focusableEls.length) {\n setTimeout(() => { focusableEls[0].focus(); });\n }\n }\n\n\n\n setGridData(data: any) {\n this.filteredData = data;\n this.getPageData(this.paginations.currentPage);\n }\n\n\n getApplicableFilterCols() {\n this.filteredColumns = [];\n if (this.gridProperties.enableFiltering) {\n for (let cols of this.gridProperties.columnDefinitions) {\n if (cols.enableFilter) {\n this.filteredColumns.push(cols.field);\n if(cols.secondaryField) {\n this.filteredColumns.push(cols.secondaryField);\n }\n }\n }\n }\n }\n\n getPageData(pageNo: number) {\n\n let endIndex: number = 0;\n this.paginations.currentPage = pageNo - 1;\n endIndex = (this.startIndex + this.paginations.recordsPerPage);\n let data = this.filteredData;\n this.gridData = data.slice(this.startIndex, endIndex);\n // if (endIndex + (this.paginations.recordsPerPage * 2) > this.totalRecords) {\n // this.getData();\n // }\n\n //for server side pagination : need to pass start-index & limit\n // bind the data directly to gridData\n\n\n }\n\n singleSelectionChanges(ctrl) {\n this.radioSelections.emit(ctrl);\n // this.singleSelectedItems = [];\n // this.singleSelectedItems.push(ctrl);\n }\n\n selectionChanges(ctrl, event) {\n\n ctrl = Object.assign({}, ctrl, { 'checkedStatus': event.target.checked });\n\n this.checkboxSelections.emit(ctrl);\n\n // if (event.target.checked) {\n // this.multipleSelectedItems.push(ctrl);\n // }\n\n // else {\n // if (this.multipleSelectedItems.find(x => x == ctrl)) {\n // this.multipleSelectedItems.splice(this.multipleSelectedItems.indexOf(ctrl), 1)\n // }\n // }\n }\n \n filter(searchValue: string, clearSearch?: boolean, linkType?: string) {\n let filteredData: any;\n searchValue = searchValue.trim();\n if (this.enableSearchLimit &&\n (searchValue.length > 0 && searchValue.length < this.searchLimit)) {\n this.searchMessage = \"Enter atleast \" + this.searchLimit + \" characters to search\"\n this.searchFan.nativeElement.focus();\n return;\n }\n\n if (this.enableSearchLimit && searchValue.toString().substring(0, 3).indexOf(' ') >= 0) {\n this.searchMessage = 'Enter valid characters to search';\n this.searchFan.nativeElement.focus();\n return;\n }\n\n this.searchMessage = \"\";\n if (this.ctnMask) {\n searchValue = searchValue.split('.').join('');\n }\n else {\n searchValue = searchValue;\n }\n this.startIndex = 0;\n this.searchValue = searchValue;\n this.paginations.currentPage = 1;\n if (this.paginations.isServerSide) {\n this.getServerData();\n this.showBackLink = true;\n } else {\n filteredData = this.filterService.getFilteredData(\n this.gridProperties.gridData, searchValue, this.filteredColumns);\n this.paginations.totalRecords = filteredData.length;\n this.setGridData(filteredData);\n this.showBackLink = true;\n }\n if (clearSearch || !searchValue) {\n this.searchFan.nativeElement.value = '';\n this.showBackLink = false;\n } else {\n this.showBackLink = true;\n }\n this.checkAllRowsSelected();\n const searchCleared = clearSearch || !searchValue;\n if (!this.gridProperties.showGrid) {\n this.showTable = searchCleared ? false : true;\n }\n if (linkType === 'viewAllLink' && this.gridProperties.showGrid === false) {\n this.showTable = true;\n this.gridProperties.showGrid = true;\n }\n this.onSearch.emit({ 'search': searchCleared, 'results': filteredData });\n //window.dispatchEvent(new Event('resize'));\n }\n\n getServerData() {\n\n let fetchCriteria: FetchCriteriaModel = new FetchCriteriaModel();\n\n fetchCriteria.limit = this.paginations.recordsPerPage;\n fetchCriteria.offset = this.startIndex;\n\n if (this.sortColumn.length > 0) {\n fetchCriteria.sortField = this.sortColumn;\n }\n\n if (this.sortDirection.length > 0) {\n fetchCriteria.sortDir = this.sortDirection.toUpperCase();\n }\n\n if (this.searchValue.length > 0) {\n fetchCriteria.searchValue = this.searchValue;\n }\n\n this.gridEvent.emit(fetchCriteria);\n\n\n // let fetchCriteria: FetchCriteriaModel = new FetchCriteriaModel();\n\n // fetchCriteria.class = \"API::SepPagingLoadConfig\";\n // fetchCriteria.limit = this.paginations.recordsPerPage;\n // fetchCriteria.offset = this.startIndex;\n // fetchCriteria.sortDir = this.sortDirection.toUpperCase();\n // fetchCriteria.sortField = this.sortColumn;\n\n // this.gridProperties.gridFetch.fetchCriteria = fetchCriteria;\n\n // if (this.searchValue.length > 0) {\n // this.gridProperties.gridFetch.searchValue = this.searchValue;\n // }\n\n // console.log('Service getData');\n // this.gridService.fetchGridServiceData(this.gridProperties.dataUrl, this.gridProperties.gridFetch).\n // subscribe(respobj => {\n // console.log(respobj);\n // if (respobj != null && respobj != undefined) {\n // if (isPageChanges) {\n // this.gridData = respobj;\n // }\n // else {\n // this.setGridData(respobj);\n // this.paginations.totalRecords = respobj.length;\n // }\n // }\n // }, error => {\n // console.log(error);\n // });\n }\n\n // handleSort( col: ColumnDefinitionsModel){\n // this.sortHeadAria = col.sortDirection === 'Asc'? 'Sort descending - '+col.caption : 'Sort ascending - '+col.caption;\n // console.log( this.sortHeadAria );\n // return this.sortHeadAria;\n // }\n\n handleHeadingFocus( ){\n this.ariaLabel = this.gridProperties.ariaLabel? this.gridProperties.ariaLabel: this.mainAriaLAbel;\n }\n\n handleHeadingBlur( ){\n this.ariaLabel = null;\n }\n\n handleSortBlur( ){ \n this.hideSortHeadRead = true;\n }\n\n handleSortFocus( ){\n this.hideSortHeadRead = false;\n }\n\n\n sort(col: ColumnDefinitionsModel) {\n this.sortColumn = col.field;\n this.sortDirection = (!!col.sortDirection && col.sortDirection !== 'Default') ? col.sortDirection : 'Desc';\n this.paginations.currentPage = 1;\n this.startIndex = 0;\n this.sortDirection = (this.sortDirection.toLowerCase() == 'asc') ? 'Desc' : 'Asc';\n if (this.paginations.isServerSide) {\n this.getServerData();\n }\n else {\n let sortedData = this.gridSortService.getSortedData(\n this.filteredData, this.sortColumn, this.sortDirection);\n //this.paginations.currentPage = this.paginations.currentPage + 1;\n this.setGridData(sortedData);\n }\n\n col.sortDirection = this.sortDirection;\n this.checkAllRowsSelected();\n }\n\n multiSelectAction(event) {\n const checkStatus = event.target.checked;\n this.gridData.forEach(r => {\n if (!this.gridProperties.disableRow ||\n (this.gridProperties.disableRow && this.gridProperties.disableRowConditionInverse &&\n r[this.gridProperties.disableRowCondition.field] === this.gridProperties.disableRowCondition.value) ||\n (this.gridProperties.disableRow && !this.gridProperties.disableRowConditionInverse &&\n r[this.gridProperties.disableRowCondition.field] !== this.gridProperties.disableRowCondition.value)\n ) {\n r['selected'] = checkStatus;\n }\n });\n this.onDataChange.emit({ data: this.gridProperties.gridData, griddata: this.filteredData, type: 'multiselect' });\n this.checkAllRowsSelected();\n }\n\n setDefault(gridData) {\n return gridData.forEach(r => r['selected'] = r['selected'] === undefined ? false : r['selected']);\n }\n\n checkAllRowsSelected() {\n const selectedRow = this.gridData.filter(item => item.selected === true);\n const activeRow = this.gridData.filter(item => !this.gridProperties.disableRow ||\n (this.gridProperties.disableRow && this.gridProperties.disableRowConditionInverse &&\n item[this.gridProperties.disableRowCondition.field] === this.gridProperties.disableRowCondition.value) ||\n (this.gridProperties.disableRow && !this.gridProperties.disableRowConditionInverse &&\n item[this.gridProperties.disableRowCondition.field] !== this.gridProperties.disableRowCondition.value));\n this.allRowsSelected = activeRow.length === selectedRow.length;\n }\n\n singleSelectAction(col: ColumnDefinitionsModel, event) {\n const checkStatus = event.target.checked;\n col['selected'] = checkStatus;\n this.onDataChange.emit({ data: col, griddata: this.filteredData, type: 'singleselect' });\n this.checkAllRowsSelected();\n }\n\n setPriorityData() {\n if (window.innerWidth < 767) {\n this.showhigherpriorities = 2;\n }\n else if (window.innerWidth < 1000) {\n this.showhigherpriorities = 4;\n }\n else {\n this.showhigherpriorities = 6;\n }\n }\n\n\n toggleTooltipEnter(event) {\n if (event.type !== 'mouseenter') {\n if (event.keyCode !== KEY_CONFIG.enter) {\n return;\n }\n }\n let targetElement = event.target;\n const elems = document.querySelectorAll('.tooltipActive');\n let iselementActive = false;\n if (targetElement.classList.contains('tooltipActive')) {\n iselementActive = true;\n }\n [].forEach.call(elems, function (ele) {\n ele.classList.remove('tooltipActive');\n });\n if (iselementActive) {\n targetElement.classList.remove('tooltipActive');\n } else {\n targetElement.classList.add('tooltipActive');\n }\n }\n\n toggleTooltipLeave(event) {\n if (event.type !== 'mouseleave') {\n if (event.keyCode !== KEY_CONFIG.enter) {\n return;\n }\n }\n let targetElement = event.target;\n const elems = document.querySelectorAll('.tooltipActive');\n let iselementActive = false;\n if (targetElement.classList.contains('tooltipActive')) {\n iselementActive = true;\n }\n [].forEach.call(elems, function (ele) {\n ele.classList.remove('tooltipActive');\n });\n if (iselementActive) {\n targetElement.classList.remove('tooltipActive');\n } else {\n targetElement.classList.add('tooltipActive');\n }\n }\n\n\n\n\n}\n\n","
    \n
    \n
    \n
    \n \n
    \n \n
    \n \n
    Search
    \n \n \n \n \n \n \n \n
    \n
    \n {{searchMessage}}\n
    \n
    \n \n

    Showing {{startIndex+1}} - {{startIndex + paginations.recordsPerPage > paginations.totalRecords ? paginations.totalRecords\n : startIndex + paginations.recordsPerPage }} of {{paginations.totalRecords}}

    \n
    \n
    \n \n

    {{searchDescriptions}}

    \n\n \n\n
    \n {{ gridProperties.multiSelect ? \n gridProperties.columnDefinitions[0].caption : \n gridProperties.columnDefinitions[1].caption }}\n \n \n
    \n\n
    \n\n
    paginations.recordsPerPage && showTable\">\n \n
    \n
    \n
    \n\n\n\n\n\n \n \n
    \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    showhigherpriorities && maxPriority > showhigherpriorities && gridData.length\"> \n
    \n \n
    \n
    showhigherpriorities\">\n \n \n {{col.caption}} \n \n \n \n \n \n\n \n {{col.caption}}\n Select\n \n\n
    showhigherpriorities && maxPriority > showhigherpriorities \">\n \n \n
    \n
    \n \n \n \n
    Check box
    \n
    \n
    \n
    showhigherpriorities\">\n
    \n
    \n
    \n
    \n \n
    \n \n
    \n
    \n \n \n \n
    radio button
    \n
    \n
    \n \n \n
    \n \n
    \n \n
    Enrolled in Apple DEP \n
    \n \n
    \n Accounts that are enrolled in Apple DEP can be migrated to the Device Management Program. Work with your representative to unenroll from Apple DEP and then enroll in the Device Management Program.
    \n
    \n
    \n
    \n
    showhigherpriorities\">\n  \n \n  \n \n
    \n
    \n {{col.caption}} \n
    \n
    \n
    \n \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    {{row[col.field]}}
    \n
    \n
    \n
    showhigherpriorities\">\n
    {{gridProperties.emptyMessage}}
    \n
    \n
    {{gridProperties.emptyMessage}}
    \n
    \n
    \n
    \n","export * from './customgrid.component';\nexport * from './shared';\n","export * from './model/column-definitions.model';\nexport * from './model/grid-options.model';\nexport * from './model/paginations.model';\nexport * from './model/fetch-criteria.model';\nexport * from './providers/filter.service';\nexport * from './providers/grid-sort.service';\nexport * from './providers/grid-data.service';","\nexport class ColumnDefinitionsModel {\n field: string;\n secondaryField?: string;\n caption: string;\n type: string;\n enableFilter?: boolean;\n enableSorting?: boolean;\n sortDirection?: string;\n cssClass?: string;\n customTemplate?: string;\n customContent?: string;\n priority?: number;\n}\n","export class FetchCriteriaModel {\n limit:number;\n offset:number;\n sortDir:string;\n sortField:string;\n searchValue:string;\n}\n","import { ColumnDefinitionsModel } from './column-definitions.model'\nimport { PaginationsModel } from './paginations.model';\n\nexport class DisableRowConditionModel {\n field: string;\n value: any;\n}\n\nexport class GridOptionsModel {\n enableFiltering: boolean;\n columnDefinitions: Array;\n enableSorting: boolean;\n gridData: any;\n Paginations: PaginationsModel;\n searchPlaceHolder: string;\n searchDescriptions: string;\n numberSearchOnly?: true;\n ctnMask?: boolean;\n callbacks: any;\n multiSelect: boolean;\n showPaginationIndex: boolean;\n disableGrid: boolean;\n disableRow: boolean;\n emptyMessage: string;\n disableRowCondition: DisableRowConditionModel; // Its mandatory when disabledByCondition is true\n disableRowConditionInverse: boolean;\n enableBackLink?: boolean;\n backLinkText?: string;\n isEmptyMessageInRow: boolean; //Used to display emptyMessage in entire Row\n showGrid?: boolean;\n enableSearchLimit?: boolean; //Used to restrict search characters\n searchLimit?: number;// Used to limit no.of.characters for search\n maxLength?: number;\n searchType?: string;\n ariaLabel?: string;\n disableSelectAll: boolean;\n frameworkComponents: any;\n\n constructor() {\n this.showPaginationIndex = true;\n this.showGrid = true;\n this.disableRowConditionInverse = false;\n }\n}\n","export class PaginationsModel\n{\n recordsPerPage:number;\n currentPage:number;\n totalRecords:number;\n isServerSide:boolean;\n hideGoToPage?:boolean;\n}\n","import { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { HttpClientService } from './../../../../providers';\n\n@Injectable()\nexport class FilterService {\n\n constructor( \n private httpClientService: HttpClientService) {}\n\n\ngetFilteredData(gridData,searchValue,filteredColumns) {\n \n let data = gridData;\n let filteredData: any;\n let isInitial: boolean = true;\n let filterIndexZero = false;\n if (searchValue.length == 0) {\n filteredData = data;\n return filteredData;\n }\n\nif(data.length>0 && !!!data[0].rowIndex)\n{\n let uid: any;\n //create property rowIndex for row numbers to the json object \n for (var key in data) {\n uid = { 'rowIndex': key };\n data[key] = Object.assign({}, data[key], uid);\n }\n}\n\n for (let i: number = 0; i < filteredColumns.length; i++) {\n if (isInitial) {\n filteredData = data.filter(item =>\n item[filteredColumns[i].toString()].toString().toLowerCase().indexOf(searchValue.toLowerCase()) !== -1\n );\n isInitial = false;\n if(filteredData.length === 0) {\n filterIndexZero = true;\n }\n continue;\n }\n\n filteredData = filteredData.concat(data.filter(item =>\n item[filteredColumns[i].toString()].toString().toLowerCase().indexOf(searchValue.toLowerCase()) !== -1));\n\n }\n\n var uniqueData = {};\n //create unique data based on the property rowIndex \n for (var key in filteredData) {\n uniqueData[filteredData[key].rowIndex] = filteredData[key];\n }\n\n filteredData = [];\n\n for (var key in uniqueData) {\n filteredData.push(uniqueData[key]);\n }\n\n if(filterIndexZero === true && filteredColumns.length > 1 && filteredData.length > 1) {\n filteredData.forEach( obj => this.renameKey(obj, filteredColumns[1], 'filteredCol'));\n filteredData.sort(function(a,b) {\n if(a.filteredCol > b.filteredCol) return 1;\n if(a.filteredCol < b.filteredCol) return -1;\n })\n filteredData.forEach( obj => this.renameKey(obj, 'filteredCol', filteredColumns[1]));\n }\n // //To remove rowIndex property json object \n // filteredData = filteredData.filter(function (props) {\n // delete props.rowIndex;\n // return true;\n // });\n\n return filteredData;\n\n\n }\n\n renameKey(obj, oldKey, newKey) {\n obj[newKey] = obj[oldKey];\n delete obj[oldKey];\n }\n\n}\n","import { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { Observable, throwError } from 'rxjs';\n\n\nimport { HttpClient, HttpResponse, HttpHeaders } from '@angular/common/http';\nimport { HttpClientService } from './../../../../providers';\n\n@Injectable()\nexport class GridDataService {\n\n constructor(private http: HttpClient, private httpClientService: HttpClientService) { }\n\n fetchGridData(dataurl) {\n\n return this.httpClientService.get(dataurl)\n .pipe(\n map((test: HttpResponse) => test.body)\n ,catchError( this.handleError ));\n\n }\n\n\n fetchGridFilterData(dataurl, gridFetch: any) {\n\n // console.log(gridFetch);\n\n return this.httpClientService.get(dataurl)\n .pipe(\n map((test: HttpResponse) => test.body)\n ,catchError( this.handleError ));\n }\n\n fetchGridServiceData(requestUrl, requestBody) {\n let headers = new HttpHeaders();\n headers = headers.append('Accept', 'application/json');\n headers = headers.append('Content-Type', 'application/json');\n headers = headers.append('Authorization', sessionStorage.getItem('sapmp_jwtToken'));\n return this.httpClientService.put(requestUrl, requestBody, headers)\n .pipe(\n map((user: HttpResponse) => user.body)\n ,catchError( this.handleError ));\n }\n\n\n handleError = (error) => {\n return throwError(error);\n };\n\n}\n","import { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { HttpClientService } from './../../../../providers';\n\n@Injectable()\nexport class GridSortService {\n\n constructor(\n private httpClientService: HttpClientService) { }\n\n getSortedData(filteredData, sortColumn, sortType) {\n\n filteredData = filteredData.sort((col1, col2) => {\n\n if (col1.disableSort === true || (col1.disableSort === true && col2.disableSort === true)) {\n return -1;\n } else if (col2.disableSort === true) {\n return 1;\n }\n col1 = (typeof (col1[sortColumn]) === 'number') ?\n col1[sortColumn] : col1[sortColumn].toLowerCase();\n col2 = (typeof (col2[sortColumn]) === 'number') ?\n col2[sortColumn] : col2[sortColumn].toLowerCase();\n\n if (sortType.toLowerCase() === 'desc') {\n if (col1 > col2) {\n return -1;\n }\n\n if (col1 < col2) {\n return 1;\n }\n\n return 0;\n } else {\n if (col1 > col2) {\n return 1;\n }\n\n if (col1 < col2) {\n return -1;\n }\n\n return 0;\n }\n });\n\n return filteredData;\n\n }\n\n}\n","import { Component, OnInit, AfterViewChecked, Input, Output, EventEmitter, ElementRef, ViewEncapsulation, OnChanges, SimpleChanges } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { DatePickerModel, DatePickerService } from './shared';\nimport { KEY_CONFIG } from './../../config/key-config';\nimport { UtilityService } from './../../providers';\n\nconst monthLabels: Array = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August',\n 'September', 'October', 'November', 'December'];\n\n\n@Component({\n selector: 'app-date-picker',\n templateUrl: './date-picker.component.html',\n styleUrls: ['./date-picker.component.scss'],\n encapsulation: ViewEncapsulation.None,\n providers: [DatePickerService],\n})\nexport class DatePickerComponent implements AfterViewChecked, OnChanges{\n\n @Input() datePickerInput: DatePickerModel;\n @Input() datePickerHeading: string;\n @Input() showError: boolean;\n @Output() updateDate = new EventEmitter();\n\n private _selectedMonth: number;\n private _selectedYear: number;\n private _currentDate: Date;\n private _showPlaceHolder: boolean;\n private _selectedRowIndex: number;\n private _selectedDateIndex: number;\n public weekLabels;\n public rows: Array;\n public monthLabel: string;\n public dateLabel: string;\n public disableDown: boolean;\n public disableUp: boolean;\n public showCalendar: boolean;\n public navigateToNext: string;\n public navigateKeyIndex = -1;\n public openCalendar: any;\n\n private bindEvent: EventListener = this.closeHandler.bind(this);\n private bindkeyEvent: EventListener = this.handleKeydown.bind(this);\n\n constructor(private el: ElementRef,\n private utilService: DatePickerService,\n private utilityService: UtilityService) {\n this.weekLabels = ['S', 'M', 'T', 'W', 'T', 'F', 'S'];\n this.showCalendar = false;\n this.navigateToNext = '';\n }\n\n ngOnChanges(changes: SimpleChanges) {\n this._currentDate = new Date();\n if (!this.datePickerInput.selectedDate) {\n this.datePickerInput.selectedDate = new Date();\n this._showPlaceHolder = true;\n }\n this._selectedMonth = this.datePickerInput.selectedDate.getMonth();\n this._selectedYear = this.datePickerInput.selectedDate.getFullYear();\n this.dateLabel = this._showPlaceHolder ? '00/00/0000' : this.utilService.formatDate('mm/dd/yyyy', this.datePickerInput.selectedDate);\n this.refreshView(0);\n this.monthLabel = monthLabels[this._selectedMonth] + ' ' + this._selectedYear;\n window.document.addEventListener('click', this.bindEvent);\n window.document.addEventListener('keydown', this.bindkeyEvent);\n this.openCalendar = this.el.nativeElement.getElementsByClassName('date-input-text');\n }\n\n selectDate(dateObj: any, rowIndex, col) {\n this.rows[this._selectedRowIndex][this._selectedDateIndex].selected = false;\n this._selectedRowIndex = rowIndex;\n this._selectedDateIndex = col;\n this.datePickerInput.selectedDate = dateObj.date;\n this.rows[rowIndex][col].selected = true;\n this.showCalendar = false;\n this._showPlaceHolder = false;\n this.dateLabel = this.utilService.formatDate('mm/dd/yyyy', new Date(this.datePickerInput.selectedDate.getTime()))\n this.updateDate.emit({ 'date': this.datePickerInput.selectedDate, 'id': this.datePickerInput.id });\n }\n\n toggle($event) {\n if (!this.datePickerInput.disable) {\n this.showCalendar = !this.showCalendar;\n if(this.showCalendar){\n this.openCalendar[0].style.border = \"1px solid #0568ae\";\n }\n else {\n this.openCalendar[0].style.border = \"1px solid #d2d2d2\";\n }\n // this.el.nativeElement.getElementsByClassName('icon_calendar')[0].style.display = \"none\";\n }\n const date = this._showPlaceHolder ? this._currentDate : this.datePickerInput.selectedDate;\n this._selectedMonth = date.getMonth();\n this._selectedYear = date.getFullYear();\n this.refreshView(0);\n this.navigateToNext = '';\n };\n\n keyUp($event) {\n if ($event.key === 'Enter') {\n this.showCalendar = true;\n }\n }\n\n closeHandler(event) {\n if (this.el.nativeElement.contains(event.target)) {\n return;\n } else {\n this.showCalendar = false;\n this.openCalendar[0].style.border = \"1px solid #d2d2d2\";\n }\n }\n\n private refreshView(direction: number) {\n [this._selectedMonth, this._selectedYear] = this.utilService.getSelectedMonth(direction, this._selectedMonth, this._selectedYear);\n\n this.monthLabel = monthLabels[this._selectedMonth] + ' ' + this._selectedYear;\n const calendarStart = this.utilService.getStartDate(this._selectedMonth, this._selectedYear);\n let calendarDates: Date[],\n selectedRowIndex,\n selectedDateIndex;\n ({ 'datesArray': calendarDates, 'selectedRowIndex': selectedRowIndex, 'selectedDateIndex': selectedDateIndex }\n = this.utilService.getCalendarDates(calendarStart, 42, this.datePickerInput.selectedDate));\n [this.disableDown, this.disableUp] = this.utilService.checkNavigation(calendarDates,\n this.datePickerInput.minDate, this.datePickerInput.maxDate);\n const calendarDatesObject: Array = this.utilService.createDateObject(calendarDates,\n this._selectedMonth, this.datePickerInput.minDate, this.datePickerInput.maxDate);\n this.rows = this.utilService.formCalendarView(calendarDatesObject, this._selectedMonth);\n if (this.rows[selectedRowIndex]) {\n this._selectedRowIndex = selectedRowIndex;\n this._selectedDateIndex = selectedDateIndex;\n if (!this._showPlaceHolder) {\n this.rows[selectedRowIndex][selectedDateIndex].selected = true;\n }\n }\n }\n\n ngAfterViewChecked() {\n if (this.showCalendar) {\n const focusabbleElements = this.utilService.getFocusableElements(this.el.nativeElement, 'div.calendar');\n\n const navigateDayElements = this.utilService.getFocusableElements(this.el.nativeElement, 'div.calendar tbody');\n\n if (focusabbleElements.indexOf(document.activeElement) === -1) {\n if (this.navigateToNext === 'left') {\n if (this.navigateKeyIndex === -1) {\n navigateDayElements[navigateDayElements.length - 1].focus();\n } else {\n let keyIndDiff = navigateDayElements[navigateDayElements.length - 1].parentElement.cellIndex - this.navigateKeyIndex;\n keyIndDiff = keyIndDiff < 0 ? keyIndDiff + 7 : keyIndDiff;\n if (typeof navigateDayElements[navigateDayElements.length - 1 - keyIndDiff] !== 'undefined') {\n navigateDayElements[navigateDayElements.length - 1 - keyIndDiff].focus();\n } else {\n navigateDayElements[navigateDayElements.length - 1].focus();\n }\n }\n } else if (this.navigateToNext === 'right') {\n if (this.navigateKeyIndex === -1) {\n navigateDayElements[0].focus();\n } else {\n let keyIndDiff = this.navigateKeyIndex - navigateDayElements[0].parentElement.cellIndex;\n keyIndDiff = keyIndDiff < 0 ? keyIndDiff + 7 : keyIndDiff;\n if (typeof navigateDayElements[keyIndDiff] !== 'undefined') {\n navigateDayElements[keyIndDiff].focus();\n } else {\n navigateDayElements[0].focus();\n }\n }\n } else {\n focusabbleElements[0].focus();\n }\n }\n }\n }\n\n setViewData(moveTo, ind) {\n this.refreshView(moveTo === 'left' ? -1 : 1);\n this.navigateToNext = moveTo;\n this.navigateKeyIndex = ind;\n }\n\n handleKeydown(event) {\n if (!this.showCalendar) {\n return;\n } else if (event.keyCode === KEY_CONFIG.escapeKey) {\n this.showCalendar = false;\n return;\n }\n const focusabbleElements = this.utilService.getFocusableElements(this.el.nativeElement, 'div.calendar');\n\n const navigateDayElements = this.utilService.getFocusableElements(this.el.nativeElement, 'div.calendar tbody');\n\n if (event.keyCode === KEY_CONFIG.tabKey) {\n if (focusabbleElements.indexOf(event.target) === 0 && event.shiftKey) {\n event.preventDefault();\n focusabbleElements[focusabbleElements.length - 1].focus();\n } else if ((focusabbleElements.indexOf(event.target) === focusabbleElements.length - 1 && !event.shiftKey) ||\n focusabbleElements.indexOf(event.target) === -1) {\n event.preventDefault();\n focusabbleElements[0].focus();\n }\n } else if ([KEY_CONFIG.arrowLeft, KEY_CONFIG.arrowUp, KEY_CONFIG.arrowRight, KEY_CONFIG.arrowDown,\n KEY_CONFIG.home, KEY_CONFIG.end].indexOf(event.keyCode) !== -1) {\n event.preventDefault();\n if (navigateDayElements.indexOf(event.target) === -1) {\n navigateDayElements[0].focus();\n } else if (event.keyCode === KEY_CONFIG.arrowLeft) {\n const indexOfCE = navigateDayElements.indexOf(event.target);\n\n if (indexOfCE === 0) {\n if (!this.disableDown) {\n this.setViewData('left', -1);\n }\n } else {\n navigateDayElements[indexOfCE - 1].focus();\n }\n } else if (event.keyCode === KEY_CONFIG.arrowRight) {\n const indexOfCE = navigateDayElements.indexOf(event.target);\n\n if (indexOfCE === navigateDayElements.length - 1) {\n if (!this.disableUp) {\n this.setViewData('right', -1);\n }\n } else {\n navigateDayElements[indexOfCE + 1].focus();\n }\n } else if (event.keyCode === KEY_CONFIG.arrowUp) {\n const indexOfCE = navigateDayElements.indexOf(event.target);\n\n if (indexOfCE < 7) {\n if (!this.disableDown) {\n this.setViewData('left', event.target.parentElement.cellIndex);\n }\n } else {\n navigateDayElements[indexOfCE - 7].focus();\n }\n } else if (event.keyCode === KEY_CONFIG.arrowDown) {\n const indexOfCE = navigateDayElements.indexOf(event.target);\n\n if (indexOfCE + 7 > navigateDayElements.length - 1) {\n if (!this.disableUp) {\n this.setViewData('right', event.target.parentElement.cellIndex);\n }\n } else {\n navigateDayElements[indexOfCE + 7].focus();\n }\n } else if (event.keyCode === KEY_CONFIG.home) {\n navigateDayElements[0].focus();\n } else if (event.keyCode === KEY_CONFIG.end) {\n navigateDayElements[navigateDayElements.length - 1].focus();\n }\n }\n }\n}\n","
    {{datePickerInput.datePickerLabel}}
    \n\n
    \n
    \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    \n \n {{monthLabel}}\n \n
    {{day}}
    \n \n \n
    \n
    \n
    \n
    Selected Date
    \n
    \n
    \n
    \n\n","export * from './date-picker.component';\nexport * from './shared';","export * from './models/date-picker.model';\nexport * from './providers/date-picker.service';","export class DatePickerModel {\n id: string;\n minDate: Date;\n maxDate: Date;\n selectedDate: Date;\n disable: boolean;\n datePickerLabel?: string;\n ariaLabel?: any;\n}\n","import { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\n\n@Injectable()\nexport class DatePickerService {\n\n formatDate(format: string, date: Date) {\n let formattedDate: string;\n let calendarStart: Date;\n if (format === 'mm/dd/yyyy') {\n formattedDate = ('0' + (date.getMonth() + 1)).slice(-2) + '/' + ('0' + date.getDate()).slice(-2) + '/' + date.getFullYear();\n }else if(format === 'yyyy-mm-dd'){\n formattedDate = date.getFullYear() + '-' + ('0' + (date.getMonth() + 1)).slice(-2) + '-' + ('0' + date.getDate()).slice(-2); \n };\n return formattedDate;\n }\n\n getSelectedMonth(direction: number, previousMonth: number, previousYear: number) {\n let selectedMonth = previousMonth + direction;\n let selectedYear = previousYear;\n\n selectedMonth = selectedMonth > 11 ? 0 : (selectedMonth < 0 ? 11 : selectedMonth);\n if (direction > 0 && selectedMonth === 0) {\n selectedYear = previousYear + direction;\n } else if (direction < 0 && selectedMonth === 11) {\n selectedYear = previousYear + direction;\n };\n\n return [selectedMonth, selectedYear];\n }\n\n getStartDate(forMonth: number, forYear: number) {\n let calendarStart = new Date(forYear, forMonth, 1);\n const firstDay = calendarStart.getDay();\n if (firstDay > 0) {\n calendarStart = new Date(forYear, forMonth, -firstDay + 1)\n }\n return calendarStart;\n }\n\n getCalendarDates(startDate: Date, n: number, selectedDate: Date) {\n let dates: Array = new Array();\n const current = new Date(startDate.getTime());\n let i = 0;\n while (i < n) {\n if (this.dateComparator(current, selectedDate) === 0) {\n var selectedRowIndex = Math.floor(i / 7);\n var selectedDateIndex = i % 7;\n }\n dates.push(new Date(current.getTime()));\n current.setDate(current.getDate() + 1);\n i++;\n }\n return { 'datesArray': dates, 'selectedRowIndex': selectedRowIndex, 'selectedDateIndex': selectedDateIndex };\n }\n\n createDateObject(calendarDates: Array, forMonth: number, minDate: Date, maxDate: Date) {\n let calendarDatesObj: Array = [];\n calendarDates.forEach(date => {\n let dateObject: any = {};\n dateObject.date = date;\n dateObject.label = date.getDate();\n dateObject.selected = false;\n ({ 'disabled': dateObject.disabled, 'secondary': dateObject.secondary } = this.isDisabled(date, forMonth, minDate, maxDate));\n dateObject.current = this.dateComparator(date, new Date()) === 0;\n calendarDatesObj.push(dateObject);\n });\n return calendarDatesObj;\n }\n\n isDisabled(date: Date, forMonth: number, minDate: Date, maxDate: Date) {\n let disabled;\n if (date.getMonth() === forMonth) {\n const minDateComparator = minDate ? this.dateComparator(date, minDate) : 1;\n const maxDateComparator = maxDate ? this.dateComparator(maxDate, date) : 1;\n disabled = minDateComparator >= 0 && maxDateComparator >= 0 ? false : true;\n return { disabled: disabled, secondary: false };\n }\n return { disabled: true, secondary: true };\n }\n\n private dateComparator(date1: Date, date2: Date) {\n const d1 = new Date(date1.getFullYear(), date1.getMonth(), date1.getDate());\n const d2 = new Date(date2.getFullYear(), date2.getMonth(), date2.getDate());\n return d1.getTime() - d2.getTime();\n };\n\n formCalendarView(calendarDatesObject: Array, forMonth: number) {\n let rows = new Array();\n for (let i = 0; i < 6; i++) {\n if (calendarDatesObject[0].date.getMonth() === forMonth || \n calendarDatesObject[6].date.getMonth() === forMonth) {\n rows[i] = calendarDatesObject.splice(0, 7);\n }\n }\n return rows;\n }\n\n checkNavigation(calendarDates: Array, minDate: Date, maxDate: Date) {\n var length = calendarDates.length - 1;\n var disableDown = this.dateComparator(calendarDates[0], minDate) < 0 ? true : false;\n var disableUp = this.dateComparator(maxDate, calendarDates[length - 1]) < 0 ? true : false;\n return [disableDown, disableUp];\n }\n\n getFocusableElements(el1, el2) {\n return Array.prototype.slice.call(el1\n .querySelectorAll(el2)[0]\n .querySelectorAll('a[href], area[href],' +\n ' input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), [tabindex=\"0\"]'));\n }\n}\n","import { KEY_CONFIG } from './../../config/key-config';\nimport {\n Component, Input, Output, EventEmitter, OnInit, ElementRef, HostListener, forwardRef, ViewEncapsulation,\n OnChanges, SimpleChanges\n} from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { Router } from '@angular/router';\nimport { NG_VALUE_ACCESSOR, ControlValueAccessor } from '@angular/forms';\n\nimport { DropdownModel } from './dropdown.model';\n\nexport const NO_OPTION = -1;\nexport const FIRST_OPTION = 0;\n\n/* Custom control value accessor added to integrated dropdown component with form framework */\nexport const APP_DROPDOWN_CONTROL_VALUE_ACCESSOR: any = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => DropdownComponent),\n multi: true\n};\n\n@Component({\n selector: 'app-dropdown',\n styleUrls: ['./dropdown.component.scss'],\n templateUrl: './dropdown.component.html',\n providers: [APP_DROPDOWN_CONTROL_VALUE_ACCESSOR],\n encapsulation: ViewEncapsulation.None\n})\n\nexport class DropdownComponent implements OnInit, ControlValueAccessor, OnChanges {\n @Input() placeholderAriaLabel: any;\n\n @Input() labelId: any;\n\n @Input() options: DropdownModel[];\n\n @Input() prePopulateValue: DropdownModel;\n\n @Input() disabled: boolean = false;\n\n @Input() placeholder: string;\n\n @Input() inputId: string;\n\n @Output() selectEmit: EventEmitter;\n\n propagateChange: any = () => { }; /** call back method for registerOnChange function */\n dropDownValue: DropdownModel;\n configuration: any[];\n showDropDown: boolean;\n operatingSystem: Array;\n dropDown: DropdownModel;\n flag: Boolean = false;\n onChange: any;\n onTouched: any;\n option: number;\n inputNotNeeded: boolean = false;\n screenReaderText: any = null;\n pressEnterId: any;\n \n private closeDropdownBind: EventListener = this.closeDropdownHandler.bind(this);\n\n constructor(protected router: Router, private el: ElementRef) { \n this.showDropDown = false;\n this.option = NO_OPTION;\n this.selectEmit = new EventEmitter();\n }\n\n /** Function to open Dropdown. Dropdown option count is initialized to -1. click event listener added to close dropdown when clicked outside */\n openDropDown() {\n this.showDropDown = true;\n this.option = NO_OPTION;\n window.document.addEventListener('click', this.closeDropdownBind);\n const labelElement = document.getElementById(this.labelId);\n if (labelElement) {\n labelElement.setAttribute('aria-hidden', 'true');\n }\n }\n\n /** Function to open Dropdown. Dropdown option count is initialized to -1. click event listener removed */\n closeDropDown() {\n if(this.showDropDown && this.inputId){\n document.getElementById(this.inputId).focus();\n }\n else if(this.showDropDown && !this.inputId) {\n document.getElementById(\"selectWrapId\").focus();\n }\n this.showDropDown = false;\n this.option = NO_OPTION;\n const labelElement = document.getElementById(this.labelId);\n if (labelElement) {\n labelElement.removeAttribute('aria-hidden');\n }\n window.document.removeEventListener('click', this.closeDropdownBind); \n }\n\n /** On click handler to select options. */\n selectItem(value: DropdownModel, closeDropDowns: boolean) {\n if (this.disabled) {\n return;\n }\n if(closeDropDowns) {\n this.closeDropDown();\n }\n this.dropDownValue = value;\n this.propagateChange(value);\n this.selectEmit.emit(value);\n }\n\n /**Toggle method to open and close dropdown */\n toggle() {\n if (this.disabled) {\n return;\n }\n if (this.showDropDown) {\n this.closeDropDown();\n } else {\n this.openDropDown();\n }\n }\n\n /** ControlValueAccessor impemented method. Used to prepopulate dropdown */\n writeValue(value: any): void {\n if (!this.options) {\n Promise.resolve(null).then(() => this.writeValue(value));\n return;\n }\n this.dropDownValue = value;\n }\n\n /**ControlValueAccessor implemented method. used to propagate changes to parent's form control */\n registerOnChange(fn: (value: any) => void): void {\n this.propagateChange = fn;\n }\n\n /**ControlValueAccessor impemented method */\n registerOnTouched(fn: () => {}): void {\n this.onTouched = fn;\n }\n\n /**Handler for Keydown events. For CATO\n * SPACE and ENTER key down will open dropdown.\n * SPACE and ENTER key down will select options\n * UP and DOWN ARROW used to navigate through options.\n */\n handleSpanKeydown(event, source): void {\n if (event.keyCode !== KEY_CONFIG.tabKey) {\n event.preventDefault();\n event.stopPropagation();\n if (event.keyCode === KEY_CONFIG.space || event.keyCode === KEY_CONFIG.enter || (event.keyCode === KEY_CONFIG.arrowDown && !this.showDropDown)) {\n this.handleSpaceAndEnterKeyEvent(source)\n }\n else if (event.keyCode >= KEY_CONFIG.firstSmallAlphabet && event.keyCode <= KEY_CONFIG.lastSmallAlphabet) {\n this.handleSearchEvent(event.key);\n }\n else if (event.keyCode === KEY_CONFIG.arrowDown) {\n this.handleArrowDownKeyEvent();\n } else if (event.keyCode === KEY_CONFIG.arrowUp) {\n this.handleArrowUpKeyEvent();\n }\n } else {\n this.closeDropDown();\n }\n }\n\n handleSearchEvent(source: string) {\n for (let i = 1; i < this.options.length; i++) {\n if (source == this.options[i].value[0] || source.toUpperCase() == this.options[i].value[0]) {\n this.option = i;\n let currentLi = this.el.nativeElement.children[0].children[1].children[this.option];\n if (currentLi) {\n currentLi.focus();\n this.el.nativeElement.children[0].children[0].innerHTML = this.options[this.option].name;\n this.selectItem(this.options[this.option], false);\n }\n break;\n }\n }\n }\n\n /**Handler for Space and Enter Key down events */\n handleSpaceAndEnterKeyEvent(source) {\n if (source === 'list') {\n if (this.option !== NO_OPTION) {\n this.selectItem(this.options[this.option], true);\n } else {\n this.toggle();\n }\n } else {\n this.toggle();\n }\n\n }\n\n /**Handler for Arrow Key down event */\n handleArrowDownKeyEvent() {\n if (!this.showDropDown) {\n this.option = this.options.findIndex(opt => opt.name === this.el.nativeElement.children[0].children[0].innerHTML);\n if (this.option === NO_OPTION) {\n this.option = FIRST_OPTION;\n } else {\n if (this.option === this.options.length - 1) {\n return;\n } else {\n this.option++;\n }\n }\n // this.processArrowEvent();\n }\n else if (this.showDropDown) {\n if (this.option === NO_OPTION) {\n this.option = FIRST_OPTION;\n } else {\n if (this.option === this.options.length - 1) {\n return;\n } else {\n this.option++;\n }\n }\n let currentLi = this.el.nativeElement.children[0].children[1].children[this.option];\n if (currentLi) {\n currentLi.focus();\n this.el.nativeElement.children[0].children[0].innerHTML = this.options[this.option].name;\n }\n }\n }\n\n /**Handler for Arrow Up key down events */\n handleArrowUpKeyEvent() {\n if (!this.showDropDown) {\n this.option = this.options.findIndex(opt => opt.name === this.el.nativeElement.children[0].children[0].innerHTML);\n if (this.option === NO_OPTION) {\n return;\n } else {\n if (this.option === FIRST_OPTION) {\n return;\n } else {\n this.option--;\n }\n }\n // this.processArrowEvent();\n }\n else if (this.showDropDown) {\n if (this.option === NO_OPTION) {\n return;\n } else {\n if (this.option === FIRST_OPTION) {\n return;\n } else {\n this.option--;\n }\n }\n let currentLi = this.el.nativeElement.children[0].children[1].children[this.option];\n if (currentLi) {\n currentLi.focus();\n this.el.nativeElement.children[0].children[0].innerHTML = this.options[this.option].name;\n }\n }\n }\n\n processArrowEvent() {\n let currentLi = this.el.nativeElement.children[0].children[0];\n this.el.nativeElement.children[0].children[0].innerHTML = this.options[this.option].name;\n // this.el.nativeElement.children[0].children[0].\n this.el.nativeElement.children[0].children[0].attributes['aria-label'].value = this.option+1+'of'+this.options.length+this.placeholderAriaLabel+this.options[this.option].name;\n this.el.nativeElement.children[0].children[0].attributes['aria-label'].nodeValue = this.option+1+'of'+this.options.length+this.placeholderAriaLabel+this.options[this.option].name;\n this.el.nativeElement.children[0].children[0].attributes['aria-label'].textContent = this.option+1+'of'+this.options.length+this.placeholderAriaLabel+this.options[this.option].name;\n // this.screenReaderText = this.placeholderAriaLabel+this.options[this.option].name+this.option+1+'of'+this.options.length;\n if (currentLi) {\n currentLi.focus();\n this.dropDownValue = this.options[this.option];\n this.propagateChange(this.options[this.option]);\n this.selectEmit.emit(this.options[this.option]);\n }\n }\n\n /**Handler to close dropdown while clicking outside */\n closeDropdownHandler(event: MouseEvent) {\n const clickedInside = this.el.nativeElement.contains(event.target);\n if (!clickedInside) {\n this.showDropDown = false;\n this.option = NO_OPTION;\n const labelElement = document.getElementById(this.labelId);\n if (labelElement) {\n labelElement.removeAttribute('aria-hidden');\n }\n }\n }\n \n\n ngOnInit() { console.log(\"this.router.url \"+this.router.url);\n if(this.router.url === '/signup/settings' || this.router.url === '/sendMessage/message'){\n this.inputNotNeeded = true;\n }\n this.pressEnterId = this.labelId;\n }\n\n ngOnChanges() {\n if (this.prePopulateValue) {\n let prepopulate = (this.prePopulateValue.value ? this.prePopulateValue.value : this.prePopulateValue);\n this.dropDownValue = undefined;\n let populatedValue = this.options.find(data => (data.value === prepopulate));\n if (populatedValue === undefined) {\n populatedValue = this.options.find(data => (data.name === prepopulate));\n }\n if (populatedValue) {\n this.prePopulateValue = new DropdownModel();\n this.prePopulateValue.name = populatedValue.name;\n this.prePopulateValue.value = populatedValue.value;\n } else {\n this.dropDownValue = new DropdownModel();\n this.dropDownValue.name = 'Select';\n this.dropDownValue.value = 'Select';\n }\n }\n }\n}\n","\n
    \n
    \n {{dropDownValue ? dropDownValue.name : prePopulateValue ? prePopulateValue.name : placeholder}}\n \n
    \n
    \n {{dropDownValue ? dropDownValue.name : prePopulateValue ? prePopulateValue.name : placeholder}}\n
    \n
      \n
    • {{option.name}}
    • \n
    \n
    \n Press enter to open the list of options\n {{dropDownValue.name}} Press enter to open the list of options\n\n\n","export class DropdownModel {\n name: string;\n value: any;\n}\n","export * from './dropdown.component';\nexport * from './dropdown.model';\n","import {Type, ApplicationRef, ComponentFactoryResolver, Component, ComponentRef, Injector, NgZone} from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\n\nexport class DynamicNg2Loader {\n private appRef: ApplicationRef;\n private componentFactoryResolver: ComponentFactoryResolver;\n private zone: NgZone;\n\n constructor(private injector: Injector) {\n this.appRef = injector.get(ApplicationRef);\n this.zone = injector.get(NgZone);\n this.componentFactoryResolver = injector.get(ComponentFactoryResolver);\n }\n\n loadComponentAtDom(component: Type, dom: Element, onInit?: (Component: T) => void): ComponentRef {\n let componentRef;\n this.zone.run(() => {\n try {\n const componentFactory = this.componentFactoryResolver.resolveComponentFactory(component);\n componentRef = componentFactory.create(this.injector, [], dom);\n console.log(componentRef)\n if (onInit) {\n onInit(componentRef.instance);\n }\n this.appRef.attachView(componentRef.hostView);\n } catch (e) {\n console.error('Unable to load component', component, 'at', dom);\n throw e;\n }\n });\n return componentRef;\n }\n}\n","import { Component, Input, Output, OnInit, OnChanges, EventEmitter, ViewEncapsulation } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { FormGroup, Validators, FormBuilder, FormArray, FormControl } from '@angular/forms';\nimport { ValidationService } from 'lib/ng2-sapmp/src/providers';\nimport { FormCustomValidator } from './form-custom.validator';\nimport { FormBuilderService } from './form-builder.service';\nimport { KEY_CONFIG } from './../../config/key-config';\nimport { DropdownModel } from './../dropdown/dropdown.model';\nimport { ConfirmModalPopupModel } from 'lib/ng2-sapmp/src/ui-components/confirm-modal';\n\n@Component({\n selector: 'app-form-builder',\n providers: [ValidationService],\n styleUrls: ['./form-builder.component.scss'],\n templateUrl: './form-builder.component.html',\n encapsulation: ViewEncapsulation.None\n})\n\nexport class FormBuilderComponent implements OnInit, OnChanges {\n @Input() formConfig: any;\n @Input() formName: string;\n @Input() updateformConfig: any;\n appForm: any = {};\n validationMessages: any = {};\n formErrors: any = [];\n @Output() formOutput: EventEmitter;\n @Output() modelOutput: EventEmitter;\n formCustomValidator = new FormCustomValidator();\n termsConditionPopup = false;\n apnrestriction: string;\n showFormLinkInfo : boolean = false;\n eventEmit: any;\n public formBuilderPopup: ConfirmModalPopupModel;\n\n constructor(private formBuilder: FormBuilder, private validationService: ValidationService,\n private formBuilderService: FormBuilderService) {\n this.formOutput = new EventEmitter();\n this.modelOutput = new EventEmitter();\n this.termsConditionPopup = false;\n }\n\n ngOnInit() {\n this.formBuilderPopup = new ConfirmModalPopupModel();\n if (this.updateformConfig === undefined) {\n this.buildForm(this.formConfig, this.formName);\n }\n this.apnrestriction = sessionStorage.getItem('APNRestriction');\n this.formBuilderService.getForm().subscribe(\n (formGrp: any) => {\n console.log(formGrp);\n if (formGrp === undefined || this.appForm[this.formName] === undefined) {\n return;\n }\n const formGroup = formGrp.formAttribute;\n if (this.appForm[this.formName] !== undefined && formGroup !== undefined) {\n Object.keys(formGroup).forEach((key) => {\n if (key !== 'termsConditions') {\n if (this.appForm[this.formName].controls[key] !== undefined) {\n this.appForm[this.formName].controls[key].setValue(formGroup[key]);\n }\n }\n });\n }\n }\n );\n \n }\n\n ngOnChanges() {\n this.buildForm(this.formConfig, this.formName);\n }\n\n private buildForm(formConfig, formName): void {\n const formObj = {};\n const formErrorsObj = {};\n let validationArray = [];\n for (const itrFormConfig of formConfig) {\n validationArray = [];\n if (itrFormConfig.elementType !== 'formGroup' && itrFormConfig.fields === undefined) {\n // itrFormConfig.fields = [itrFormConfig];\n itrFormConfig.fields = [Object.assign({}, itrFormConfig)];\n }\n\n for (const itrFieldConfig of itrFormConfig.fields) {\n if (itrFieldConfig.validation.required === 'true') {\n if (itrFieldConfig.elementType === 'checkbox') {\n validationArray.push(Validators.requiredTrue);\n } else if (itrFieldConfig.elementType === 'dropdown') {\n validationArray.push(this.formCustomValidator.dropDownValidate);\n } else {\n validationArray.push(Validators.required);\n }\n }\n if (itrFieldConfig.validation.compare && itrFieldConfig.validation.compare.length > 0)\n {\n this.formCustomValidator.setCompare (itrFieldConfig.validation.compare);\n validationArray.push(this.formCustomValidator.validateEntry);\n }\n if (itrFieldConfig.validation.compareWith && itrFieldConfig.validation.compareWith.length > 0)\n {\n this.formCustomValidator.setCompareField (itrFieldConfig.validation.compareWith);\n validationArray.push(this.formCustomValidator.validateReEntry);\n }\n if (itrFieldConfig.validation.pattern) {\n validationArray.push(Validators.pattern(itrFieldConfig.validation.pattern));\n }\n if (itrFieldConfig.validation.minlength) {\n validationArray.push(Validators.minLength(itrFieldConfig.validation.minlength));\n }\n if (itrFieldConfig.validation.maxlength) {\n validationArray.push(Validators.maxLength(itrFieldConfig.validation.maxlength));\n }\n formObj[itrFieldConfig.formControlName] = [itrFieldConfig.initialValue, validationArray];\n formErrorsObj[itrFieldConfig.formControlName] = '';\n }\n }\n this.formErrors = formErrorsObj;\n this.validationMessages = this.createValidationMessageObj();\n this.appForm[formName] = this.formBuilder.group(formObj);\n this.appForm[formName].valueChanges.subscribe(data => this.isFormValid(formName));\n\n this.validationService.validate(\n this.appForm[formName],\n this.formErrors,\n this.validationMessages);\n }\n\n private gotoNext(value) {\n this.formOutput.emit(value);\n }\n\n private createValidationMessageObj() {\n const validationMessagesObj = {};\n for (const itrFormCongig of this.formConfig) {\n for (const itrFieldCongig of itrFormCongig.fields) {\n validationMessagesObj[itrFieldCongig.formControlName] = itrFieldCongig.validation.errorMessages;\n }\n }\n return validationMessagesObj;\n }\n\n private selected(selectedValue: DropdownModel, listOptions) {\n for (const dropdownValue of listOptions.listValues) {\n if ((selectedValue !== null) && (selectedValue.name === dropdownValue.name) && (selectedValue.value === dropdownValue.value)) {\n listOptions.initialValue = selectedValue.value;\n }\n }\n }\n private isFormValid(formName) {\n this.formOutput.emit(this.appForm[formName]);\n }\n\n toggleTooltip(event) {\n if (event.type !== 'click') {\n if (event.keyCode !== KEY_CONFIG.enter) {\n return;\n }\n }\n let targetElement = event.target;\n const elems = document.querySelectorAll('.tooltipActive');\n let iselementActive = false;\n if (targetElement.classList.contains('tooltipActive')) {\n iselementActive = true;\n }\n [].forEach.call(elems, function (ele) {\n ele.classList.remove('tooltipActive');\n });\n if (iselementActive) {\n targetElement.classList.remove('tooltipActive');\n } else {\n targetElement.classList.add('tooltipActive');\n }\n }\n\n onOffSwitchFocus(ele, toggle) {\n if (toggle) {\n ele.parentElement.classList.remove('focused');\n } else {\n ele.parentElement.classList.add('focused');\n }\n }\n\n showFormLinkInfoModal(event, content) {\n this.formBuilderPopup.modalSubHeader = '';\n this.formBuilderPopup.modalHeader = content.header;\n this.formBuilderPopup.modalMessage = content.message;\n this.formBuilderPopup.showCancelButton = false;\n this.showFormLinkInfo = true;\n this.eventEmit = event.target;\n }\n\n closeFormLinkInfoModal() {\n this.showFormLinkInfo = false;\n }\n\n}\n","
    \n
    \n
    \n \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n\n
    \n
    \n\n \n\n\n
    \n
    \n Checkbox fieldset section\n
    \n
    \n \n \n
    \n
    \n \n \n
    \n
    \n {{this.formErrors[fieldConfig.formControlName] }}\n
    \n
    \n
    \n
    \n\n\n
    \n
    \n Radio fieldset\n
    \n \n
    \n
    \n {{this.formErrors[fieldConfig.formControlName] }}\n
    \n
    \n
    \n\n
    \n \n
    \n \n
    \n
    \n {{this.formErrors[fieldConfig.formControlName] }}\n
    \n
    \n\n \n\n
    \n
    \n {{fieldConfig.title}}\n

    \n {{fieldConfig.title}}\n \n

    \n
    \n

    {{fieldConfig.subHead}}

    \n
    \n
    \n
    \n

    \n

    {{fieldConfig.description2}}{{fieldConfig.link}}

    \n
    \n
    \n

    {{fieldConfig.description}}{{fieldConfig.link}}

    \n
    \n
    \n
    \n
    \n
    \n \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n
    \n
    \n
    \n \n \n
    \n
    \n\n
    \n
    \n \n
    \n
    \n\n
    \n {{this.formErrors[field.formControlName] }}\n
    \n
    \n
    \n
    \n
    \n
    \n","import { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { BehaviorSubject, Observable } from 'rxjs';\n\n@Injectable()\nexport class FormBuilderService {\n\n private formValueSubject = new BehaviorSubject({});\n public obvStep: Observable = this.formValueSubject.asObservable(); // convert to Observable for subscribing\n\n constructor() {\n }\n\n setForm(value: any) {\n this.formValueSubject.next(value);\n }\n\n getForm(): Observable {\n return this.obvStep;\n }\n\n}\n","import { LicensesBackInitModel } from '../../../../../app/pages/licenses-buy-product/shared/model';\nimport { FormPropertyModel } from './form-property.model';\n\nexport class FormConfigurationModel {\n formProperty: FormPropertyModel [];\n}\n\nexport class TextFormModel {\n label: string;\n elementType='text';\n placeHolder?: string;\n formControlName: string;\n initialValue?: string;\n altText: string;\n toolTipText: string;\n numberOnly?: false;\n validation: {\n required: boolean;\n pattern?: string;\n minLength?: number;\n maxLength?: number;\n errorMessages: {\n required: string;\n pattern?: string;\n minLength?: number;\n maxLength?: number;\n }\n };\n showOrder?: number;\n constructor(name: string) {\n this.label=name;\n this.altText=name;\n this.formControlName=name;\n this.label=name;\n this.toolTipText=name;\n this.validation={required:true,errorMessages:{required: name+' is requred!'}}\n }\n}","import { FormControl } from '@angular/forms';\nexport class FormCustomValidator {\n \n static compare: string;\n static compareField: string; \n\n public setCompare (f: string)\n {\n FormCustomValidator.compare = f;\n }\n\n public setCompareField (f: string) \n {\n FormCustomValidator.compareField = f;\n }\n\n public validateEmail(c: FormControl) {\n let EMAIL_REGEXP = /^[a-z0-9!#$%&'*+\\/=?^_`{|}~.-]+@[a-z0-9]([a-z0-9-]*[a-z0-9])?(\\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$/i;\n\n return EMAIL_REGEXP.test(c.value) ? null : {\n pattern: {\n valid: false\n }\n };\n\n }\n\n public dropDownValidate(c: FormControl) {\n if (c.value === '' || c.value.value.length === 0) {\n return {\n required: {\n valid: false\n }\n };\n\n }\n }\n\n public validateReEntry(c: FormControl) {\n if (c) {\n const cmpControl = c.root.get(FormCustomValidator.compareField);\n if (cmpControl) {\n if (cmpControl.value !== c.value) {\n return {\n valid: true\n };\n }\n }\n }\n }\n\n public validateEntry(c: FormControl) {\n if (c) {\n const cmpControl = c.root.get(FormCustomValidator.compare);\n if (cmpControl) {\n cmpControl.updateValueAndValidity();\n }\n }\n }\n}","export class FormPropertyModel {\n formStatus = false;\n formAttribute: any[];\n}\n","export * from './form-property.model';\nexport * from './form-builder.Component';\nexport * from './form-custom.validator';\nexport * from './form-configuration.model';\nexport * from './form-builder.service';\n","import { PageLoaderService } from './../../ui-components/page-loader';\nimport { Component, Input, Output, OnInit, EventEmitter, ElementRef, ViewEncapsulation } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { UtilityService, AdobeAnalyticsService } from './../../../src/providers';\nimport { KEY_CONFIG } from './../../../src/config/key-config';\n\ndeclare var ENV_VAR: any;\n\n@Component({\n selector : 'app-gvp-video',\n templateUrl : './gvp-video.component.html',\n styleUrls : ['./gvp-video.component.scss'],\n providers: [ AdobeAnalyticsService],\n encapsulation: ViewEncapsulation.None\n})\n\nexport class GvpVideoComponent implements OnInit {\n public focusAbleElements: any;\n @Input() videoId: any;\n @Input() triggerElement: any;\n @Output() modalOutput: EventEmitter;\n\n constructor(private util: UtilityService, private el: ElementRef,\n private adobeAnalyticsService: AdobeAnalyticsService,\n private router: Router, private pageloaderService: PageLoaderService) {\n this.modalOutput = new EventEmitter(); \n }\n\n ngOnInit() {\n \n }\n\n loadFocustelements() {\n if (!this.focusAbleElements) {\n const focusAbleEls = this.util.getFocusableElements(this.el);\n this.focusAbleElements = Array.prototype.slice.call(focusAbleEls); \n document.getElementById('modalVideo').focus(); \n }\n }\n\n handleKeydown(event) {\n if (event.keyCode === KEY_CONFIG.escapeKey) {\n this.dimissModal(false);\n return;\n } \n this.util.handleKeyPress(event, this.focusAbleElements);\n }\n dimissModal(value, event?) {\n if (!event || event.keyCode === KEY_CONFIG.enter || event.keyCode === KEY_CONFIG.space) {\n if (event) {\n event.preventDefault();\n event.stopPropagation();\n }\n this.modalOutput.emit(value);\n this.focusAbleElements = undefined;\n if (this.triggerElement) {\n this.triggerElement.focus();\n }\n }\n }\n cancelModal(value) {\n this.modalOutput.emit(value);\n if (this.triggerElement) {\n this.triggerElement.focus();\n }\n }\n\n adobeLinkClick() {\n this.adobeAnalyticsService.createClickProperties('Overview tutorial', 'Body', '/businessconsole/learn');\n }\n\n handleError(error) {\n this.pageloaderService.setPageLoaderStatus(true);\n throw error;\n }\n}\n","{{loadFocustelements()}}\n
    \n
    \n

    \n
    \n
    \n \n
    \n
    \n \n
    \n

    \n
    \n\n\n","export * from './gvp-video.component';\n","export * from './breadcrumb';\nexport * from './step-indicator';\nexport * from './dropdown';\nexport * from './modal-popup';\nexport * from './tab';\nexport * from './page-loader';\nexport * from './terms-content';\nexport * from './page-slider';\nexport * from './confirm-modal';\nexport * from './product-card';\nexport * from './subscription-card';\nexport * from './usage-bar';\nexport * from './licenses-card';\nexport * from './form-builder';\nexport * from './charts';\nexport * from './custom-grid';\nexport * from './pagination';\nexport * from './mobile-pivot';\nexport * from './accordion/';\nexport * from './status-bar';\nexport * from './legend/';\nexport * from './date-picker/';\nexport * from './dynamic-loader/dynamic-loader.component';\nexport * from './card/';\nexport * from './timeout-popup';\nexport * from './gvp-video';\n","export * from './legend.component';\n","import { Component, OnInit, Input } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { LegendModel } from './legend.model';\n\n@Component({\n selector: 'app-legend',\n templateUrl: './legend.component.html',\n styleUrls: ['./legend.component.scss']\n})\nexport class LegendComponent implements OnInit {\n\n @Input('data') data: Array;\n constructor() { }\n\n ngOnInit() {\n }\n\n}\n","
    \n
      \n
    • \n
      \n
      {{d.legend}}
      \n
    • \n
    \n
    ","export * from './licenses-card.component';\nexport * from './licenses-card.service';\n","export class LicenseDetailsModel {\n clientId: string;\n brokerAccountClientId: string;\n billingClientId: string;\n serviceOfferCode: string;\n specName: string;\n quantity: number;\n totalLicensesInUse: number;\n productDesc: string;\n class: string;\n fanType: string;\n\n constructor() {\n this.clientId = undefined;\n this.brokerAccountClientId = undefined;\n this.billingClientId = undefined;\n this.serviceOfferCode = undefined;\n this.quantity = undefined;\n this.specName = undefined;\n this.totalLicensesInUse = undefined;\n this.productDesc = undefined;\n this.class = undefined;\n this.fanType = undefined;\n }\n}\n","import { LicenseDetailsModel } from './license-details.model';\nimport { LicenseProductDetailsModel } from './license-product-detail.model';\nimport { FormGroup, Validators, FormBuilder, FormControl } from '@angular/forms';\nimport {\n Component, Input, Output, EventEmitter, OnInit, ElementRef, HostListener, forwardRef,\n ViewEncapsulation, ViewChild\n} from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { Router } from '@angular/router';\nimport { UserWizardService, UtilityService } from 'lib/ng2-sapmp/src/providers';\nimport { UserWizardModel } from 'lib/ng2-sapmp/src/models';\n\ndeclare var ENV_PORTAL: any;\nconst ENV_PORTAL_DOMAIN: any = (ENV_PORTAL === 'fnabc') ? 'FN' : 'ABC';\n\n@Component({\n selector: 'app-manage-licenses-card',\n styleUrls: ['./licenses-card.component.scss'],\n templateUrl: './licenses-card.component.html',\n encapsulation: ViewEncapsulation.Emulated\n})\n// [Anand] renamed class name and folder as per standards\nexport class LicensesCardComponent implements OnInit {\n\n assignProductFlag: boolean;\n editNameFlag: boolean;\n licenseFlag: boolean;\n modalClass: string;\n licenseForm: FormGroup;\n assignUnassign: string;\n userWizardModel: UserWizardModel;\n focusabbleElements: any;\n csrPermissionLicenseCardAssignButton: boolean;\n modalCoverClass = 'scrollcontent';\n productPortal = false;\n @Input() singlelicense: LicenseDetailsModel;\n @Output() reviewComponentSuccessMessageFlagValue: EventEmitter;\n @Output() showEditAssignModelPopUp: EventEmitter;\n @ViewChild('assign') assignElement;\n\n leftLabel = 'Licenses assigned';\n rightLabel = '';\n\n constructor(private el: ElementRef, private formBuilder: FormBuilder,\n private userWizardService: UserWizardService, private router: Router,\n private utilityService: UtilityService) {\n this.assignUnassign = 'manage.assignunassign';\n this.reviewComponentSuccessMessageFlagValue = new EventEmitter();\n this.showEditAssignModelPopUp = new EventEmitter();\n this.userWizardModel = new UserWizardModel();\n this.userWizardService.removeAssignOrUnassignWizard();\n this.csrPermissionLicenseCardAssignButton = this.utilityService.checkFieldPermission('licenseCard.assign',\n JSON.parse(sessionStorage.getItem('permissions')).perm);\n this.assignProductFlag = false;\n this.editNameFlag = false;\n this.licenseFlag = false;\n }\n\n\n ngOnInit() {\n if ( this.singlelicense.fanType !== ENV_PORTAL_DOMAIN ) {\n this.productPortal = true;\n\n }\n sessionStorage.removeItem('singleUserDetail');\n }\n\n editAssignName(updateName, event) {\n this.licenseFlag = true;\n if (updateName === 'assign') {\n this.assignProductFlag = true;\n } else if (updateName === 'edit') {\n this.editNameFlag = true;\n this.reviewComponentSuccessMessageFlagValue.emit(false);\n }\n const popupObject = {\n 'editNameFlag': this.editNameFlag,\n 'assignProductFlag': this.assignProductFlag,\n 'licenseFlag': this.licenseFlag,\n 'singlelicense': this.singlelicense,\n 'formEventEmitter': event\n };\n this.showEditAssignModelPopUp.emit(popupObject);\n }\n\n assignUnassignWizard(ctn) {\n this.userWizardModel.product = {};\n this.userWizardModel.source = 'product';\n this.userWizardModel.product.productName = this.singlelicense.specName;\n this.userWizardModel.product.dcmCode = this.singlelicense.serviceOfferCode;\n this.userWizardModel.product.fan = this.singlelicense.brokerAccountClientId;\n this.userWizardModel.product.ctn = this.singlelicense.billingClientId;\n this.userWizardModel.product.clientId = this.singlelicense.clientId;\n this.userWizardModel.product.licensegroupName = this.singlelicense.productDesc;\n this.userWizardModel.product.totalLicensesAvailable = this.singlelicense.quantity - this.singlelicense.totalLicensesInUse;\n this.userWizardModel.product.totalLicensesInUse = this.singlelicense.totalLicensesInUse;\n this.userWizardModel.previousUrl = this.router.url;\n this.userWizardService.addAssignOrUnassignWizard(this.userWizardModel);\n this.router.navigate(['/manageUsers']);\n }\n\n setDataToManageProduct(event) {\n if (sessionStorage.getItem('singleUserDetail') !== undefined) {\n sessionStorage.removeItem('singleUserDetail');\n }\n sessionStorage.setItem('singleUserDetail', JSON.stringify(this.singlelicense));\n this.router.navigate(['/manageProduct']);\n }\n\n}\n","
    \n Wireless number: {{singlelicense.billingClientId}}
    \n

    Product description: Assign a name

    \n

    {{singlelicense.productDesc}} Edit

    \n\n\n
    \n
    \n \n
    ","import { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { UtilityService, HttpClientService } from 'lib/ng2-sapmp/src/providers';\nimport { Observable, throwError } from 'rxjs';\n\nimport { HttpResponse, HttpHeaders } from '@angular/common/http';\n\n@Injectable()\nexport class LicensesCardService {\n constructor(private utilityService: UtilityService,\n private httpClientService: HttpClientService) { }\n\n\n handleError = (error) => {\n return throwError(error);\n }\n\n setUpdateProduct(url, data) {\n let headers = new HttpHeaders();\n headers = headers.append('PermType', 'inventory.productDescription');\n const descObj = {};\n descObj['name'] = data.productDesc;\n const newUrl = url + data.clientId;\n return this.httpClientService.authorizedPatch(newUrl, descObj, headers)\n .pipe(\n map((res: HttpResponse) => {\n this.httpClientService.updateAuthorizationHeaders(res.body);\n }\n ),catchError( this.handleError ));\n }\n}\n","export * from './mobile-pivot.component';\nexport * from './mobile-pivot.model';\n","import { Component, OnInit, Input } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport {MobilePivotModel} from './mobile-pivot.model';\n@Component({\n selector: 'app-mobile-pivot',\n templateUrl: './mobile-pivot.component.html',\n styleUrls: ['./mobile-pivot.component.scss']\n})\nexport class MobilePivotComponent implements OnInit {\n\n @Input('pivots') pivot: Array;\n\n constructor() { }\n\n ngOnInit() {\n \n }\n\n}\n","\n","export class MobilePivotModel {\n label: string;\n routerLink: any;\n}","export * from './modal-popup.component';\n","import { Component, Input, Output, EventEmitter, OnInit, ElementRef } from '@angular/core';\nimport { KEY_CONFIG } from '../../config/key-config';\nimport { UtilityService } from '../../providers/utility.service';\n\n@Component({\n selector: 'app-modal',\n styleUrls: ['./modal-popup.component.scss'],\n templateUrl: './modal-popup.component.html'\n})\n\nexport class ModalPopupComponent implements OnInit {\n \n @Input() showModal: boolean;\n\n @Input() modalClass: string;\n @Input() triggerElement: any;\n @Input() modalCoverClass: string;\n @Output()\n modalOutput: EventEmitter;\n public focusAbleElements: any;\n\n constructor(private util: UtilityService, private el: ElementRef) {\n this.modalOutput = new EventEmitter();\n this.showModal = false;\n }\n\n ngOnInit() {\n\n }\n\n loadFocusTelements() {\n if (!this.focusAbleElements) {\n const focusAbleEls = this.util.getFocusableElements(this.el);\n this.focusAbleElements = Array.prototype.slice.call(focusAbleEls);\n if(document.getElementById('modalHeading') != null){\n document.getElementById('modalHeading').focus();\n } \n }\n }\n\n handleKeydown(event) {\n if(event.keyCode === KEY_CONFIG.enter && event.target.id === 'device-lock-btn'){\n event.stopPropagation();\n return;\n }\n if(event.keyCode === KEY_CONFIG.enter ||event.keyCode === KEY_CONFIG.escapeKey) {\n this.modalOutput.emit(false);\n this.focusAbleElements = undefined;\n if (this.triggerElement) {\n this.triggerElement.focus();\n }\n event.preventDefault();\n event.stopPropagation();\n return;\n }\n this.util.handleKeyPress(event, this.focusAbleElements);\n }\n\n \n /*\n @Input() showModal: boolean;\n \n @Input() modalMessage: string;\n \n @Input() modalSubHeader: string;\n \n @Input() modalHeader: string;\n @Input() triggerElement: any;\n \n @Output()\n modalOutput: EventEmitter;\n \n focusabbleElements: any;\n \n constructor(protected router: Router, private el: ElementRef) {\n console.log('modal constructor');\n this.modalOutput = new EventEmitter();\n this.showModal = false;\n }\n \n btnAction(value) {\n if (value === 'yes') {\n this.showModal = true;\n }else {\n this.showModal = false;\n }\n this.focusabbleElements = undefined;\n if(this.triggerElement){\n this.triggerElement.focus();\n }\n this.modalOutput.emit(this.showModal);\n }\n \n ngOnInit() {\n console.log( 'modal init' );\n }\n \n ngAfterViewInit(){\n console.log('onload');\n }\n \n loadFocustelements(){\n if (!this.focusabbleElements) {\n let focusableEls = this.el.nativeElement.\n querySelectorAll('a[href], area[href],' +\n ' input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), [tabindex=\"0\"]');\n this.focusabbleElements = Array.prototype.slice.call(focusableEls);\n this.focusabbleElements[0].focus();\n }\n }\n \n handleKeydown(event) {\n let focussedEl = event.target;\n if(event.keyCode === ESCAPE_KEY) {\n this.btnAction('no');\n return;\n }\n if (event.keyCode === TAB_KEY_CODE) {\n if (focussedEl === this.focusabbleElements[this.focusabbleElements.length - 1 ]) {\n event.preventDefault();\n this.focusabbleElements[0].focus();\n }\n }\n }\n */\n\n}\n","
    \n {{loadFocusTelements()}}\n
    \n \n
    \n
    \n","export * from './page-loader.component';\nexport * from './page-loader.service';\n\n","import { Component, OnInit } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { PageLoaderService } from './page-loader.service';\n\n@Component({\n selector: 'app-pageloader',\n styleUrls: ['./page-loader.component.scss'],\n templateUrl: './page-loader.component.html'\n})\n\nexport class PageLoaderComponent implements OnInit {\n pageStatus: boolean;\n constructor(private pageLoaderService: PageLoaderService) {\n }\n\n ngOnInit() {\n this.pageLoaderService.getPageLoaderStatus().subscribe(\n (status: boolean) => {\n this.pageStatus = status;\n }\n );\n }\n}\n","
    \n \n
    \n","import { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { BehaviorSubject, Observable } from 'rxjs/';\n\n@Injectable()\nexport class PageLoaderService {\n private loaderStatus = new BehaviorSubject(true);\n public obvStep: Observable = this.loaderStatus.asObservable(); // convert to Observable for subscribing\n\n constructor() {\n }\n\n setPageLoaderStatus(value: boolean) {\n this.loaderStatus.next(value);\n }\n\n getPageLoaderStatus(): Observable {\n return this.obvStep;\n }\n}\n","import { Component, Input, Output, EventEmitter } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nexport const TAB_KEY = 9;\n\n@Component({\n selector: 'app-dot-indicator',\n template: `\n \n {{i+1}} {{item.title}}\n\t`,\n styleUrls: ['./pageslider.component.scss']\n})\nexport class DotIndicatorComponent {\n\n // PUBLIC PROPERTIES\n private _page = 0;\n private _pageCount = 0;\n @Output() pageChange = new EventEmitter();\n @Input() labels;\n @Input() set page(p: number) {\n this._page = p;\n this.updateSelected();\n }\n\n @Input() set pageCount(p: number) {\n this._pageCount = p || 0;\n this.updateItems();\n }\n\n @Input() dotColor = 'white';\n\n\n // DATA REPRESENTATION\n\n // An array of page dots, one of which (the active one) is true.\n public items: { active: boolean, title: string }[] = [];\n private updateItems() {\n this.items = new Array(this._pageCount);\n for (let i = 0; i < this._pageCount; i++) {\n this.items[i] = {\n active: i === this._page,\n title: this.labels[i].title.replace(/<\\/?[^>]+(>|$)/g, \"\")\n };\n }\n }\n\n private fetchLabel(i) {\n if (i === '0') {\n return 'AT&T Business Console.';\n } else if (i === '1') {\n return 'AT&T Business Console device management program.';\n } else if (i === '2') {\n return 'Application Marketplace for Business.';\n }\n }\n\n private updateSelected() {\n if (this.items.length !== this._pageCount) {\n return this.updateItems();\n }\n if (this.items.length === 0) {\n return;\n }\n for (let i = 0; i < this._pageCount; i++) {\n this.items[i].active = false;\n this.items[this._page].active = true;\n }\n }\n\n public OnClick(index, event) {\n console.log('inside onclick dot indicator');\n const keyValue = event.charCode || event.keyCode;\n\n if (event.keyCode !== TAB_KEY && keyValue !== 32) {\n this.pageChange.emit(index);\n }\n }\n\n}\n","/*\n\tA special class that wraps CSS3 animations and also determines their ideal duration\n\tbased on momentum and distance to travel.\n*/\n\nconst kEasingFunction = 'cubic-bezier(.35,.45,.5,1)';\nconst kEasingStartSlope = 1.33;\nconst kDefaultDuration = 250;\nconst kMinDuration = 60;\nconst kMaxDuration = 660;\n\nexport class SlideAnimation {\n\n\t// Pseudo-promise\nprivate on_complete: Array<() => void> = [];\npublic then(on_complete: () => void) {\nthis.on_complete.push(on_complete);\nreturn this;\n}\n\n\t// The real meat of the animation code\n\t// Hard-coded to the 'left' property because that's all we use here\n\t// but certainly this code could be generalized if needed.\nconstructor(\nprivate element: HTMLElement,\nprivate current_px: number,\nprivate dest_px: number,\nprivate momentum_px: number,\nprivate default_duration?: number\n) {\nif (default_duration === undefined) {\nthis.default_duration = kDefaultDuration;\n}\n\t\t// Set up the CSS transition\nconst duration = Math.round(this.CalculateDuration());\nconst tProperty = `left ${duration}ms ${kEasingFunction}`;\nelement.style.transition = tProperty;\nelement.style.webkitTransition = tProperty;\n\t\t// Wait for that to propogate\nsetTimeout(() => {\n\n\t\t\t// Move to the destination location\nelement.style.left = dest_px + 'px';\n\n\t\t\t// Wait for that to finish and clean it up\nsetTimeout(() => {\nfor (let f of this.on_complete) { f(); }\n\nelement.style.transition = '';\nelement.style.webkitTransition = '';\n}, duration + 10);\n\n}, 10);\n}\n\n\n\t// HELPERS\n\n\t// First step is figuring out the duration such that the starting\n\t// momentum of the transition matches the user's scroll momentum.\n\t// We could do this with 100% accuracy by determining the slope\n\t// of the bezier easing curve but ... meh. It's about 1.5-ish.\nprivate CalculateDuration() {\nconst travel_px = this.dest_px - this.current_px;\n\n\t\t// If the momentum is going the same direction as the movement, use it!\nif (this.momentum_px !== 0 && (this.momentum_px < 0) === (travel_px < 0)) {\nconst linear_duration = 1000 * Math.abs(travel_px) / Math.abs(this.momentum_px);\nconst estimate = linear_duration * kEasingStartSlope;\nreturn Math.max(Math.min(estimate, kMaxDuration), kMinDuration);\n\n\t\t\t// Otherwise, throw it out and use our default duration\n} else {\nreturn this.default_duration;\n}\n}\n}\n","/**\n * When the user clicks very close to the edge of a page, move in that direction.\n */\n\nimport { PageSliderControlAPI } from '../types';\n\nexport class ArrowKeysHandler {\npublic enabled = true;\nconstructor(\nprivate delegate: PageSliderControlAPI,\nprivate element: HTMLElement\n) {\ndocument.addEventListener('keydown', this.KeyHandler.bind(this));\n}\n\n\n\nprivate KeyHandler(e: KeyboardEvent) {\nif (!this.enabled) { return; }\nif (e.keyCode === 37) {\nthis.delegate.AnimateToPreviousPage(0);\n} else if (e.keyCode === 39) {\nthis.delegate.AnimateToNextPage(0);\n}\n}\n}\n","export * from './animation';\nexport * from './arrowkeys';\nexport * from './sideclick';\nexport * from './touchevents';\n","/**\n * When the user clicks very close to the edge of a page, move in that direction.\n */\n\nimport { PageSliderControlAPI } from '../types';\n\nexport class SideClickHandler {\n public enabled = true;\n public threshold = 20; // 20px from the edge of the screen\n constructor(\n private delegate: PageSliderControlAPI,\n private element: HTMLElement\n ) {\n element.addEventListener('click', this.ClickHandler.bind(this));\n }\n\n\n\n private ClickHandler(e: MouseEvent) {\n if (!this.enabled) { return; }\n\n const elementX = e.clientX - this.element.getBoundingClientRect().left;\n if (elementX < this.threshold) {\n if (e.srcElement['className'].indexOf('disabled') > 0) {\n return;\n }\n this.delegate.AnimateToPreviousPage(0);\n } else if (elementX > this.element.offsetWidth - this.threshold) {\n this.delegate.AnimateToNextPage(0);\n }\n }\n}\n","// INTERACTIVITY - TOUCH EVENTS =============================================================\n// Handles HTML touch events and formats it nicely for\n\nimport { PageSliderControlAPI } from '../types';\n\n// Snap back if user has moved less than 10% of the page\nconst kDistanceThreshold = 0.1;\n\n// If the user has moved less than 50% of the page, snap back\n// unless that are moving at more than 30% the page width every second\nconst kMomentumThreshold = 0.3;\nconst kDistanceMomentumThreshold = 0.5;\n\n// Ignore scrolls until they have moved at least 3% along X. If, during that time, they\n// move more than 20px on Y, they will be rejected and interpreted instead as a vertical\n// scroll gesture\nconst kAcceptAtX = 0.03;\nconst kRejectAtY = 20;\n\n\nexport class TouchEventHandler {\n// Touch tracking state\nprivate start_x = 0;\nprivate current_x = 0;\nprivate start_ypx = 0;\n\nprivate current_scroll = 1;\nprivate tracking = null;\npublic accepted = false;\ndiffs_x = [0, 0, 0];\ntimes_x = [20, 20, 20];\nlast_sample_time: number;\ndiffs_index = 0;\nconstructor(\nprivate delegate: PageSliderControlAPI,\nprivate element: HTMLElement\n) {\n\n\t\t// Add touch event listeners\nelement.addEventListener('touchstart', this.TouchStart.bind(this));\nelement.addEventListener('touchmove', this.TouchMove.bind(this));\nelement.addEventListener('touchend', this.TouchEnd.bind(this));\nelement.addEventListener('touchcancel', this.TouchEnd.bind(this));\n}\n\n\n\n\n\t// MOMENTUM HIGH PASS\n\nprivate CaptureXDiff(diff: number) {\nthis.diffs_x[this.diffs_index] = diff;\n\nconst ctime = new Date().getTime();\nthis.times_x[this.diffs_index] = ctime - this.last_sample_time;\nthis.last_sample_time = ctime;\n\nif (++this.diffs_index === this.diffs_x.length) { this.diffs_index = 0; }\n}\n\n// Returns the scroll momentum in fractional page widths per second.\n// (fpw/s * page width = px/s)\nprivate get momentum_x(): number {\nlet acc = 0;\nfor (let i = 0; i < this.diffs_x.length; i++) {\nacc += (this.diffs_x[i] / this.times_x[i]) * 1000 / 3;\n}\nreturn acc;\n}\n\n\n\t// DOM EVENT HANDLERS ===================================================================\n\npublic TouchStart(event: TouchEvent) {\nif (this.tracking) { return; }\nif (event.touches.length > 1) { return; }\n\nthis.tracking = event.touches.item(0).identifier;\nthis.start_x = event.touches.item(0).clientX / this.delegate.pageWidth;\nthis.current_x = this.start_x;\nthis.start_ypx = event.touches.item(0).clientY;\nthis.last_sample_time = new Date().getTime();\nthis.accepted = false;\n}\n\npublic TouchMove(event: TouchEvent) {\nconst touch = this.GetTrackingTouch(event.changedTouches);\nif (touch == null) { return; }\n\nconst new_x = touch.clientX / this.delegate.pageWidth;\nconst diff_x = new_x - this.current_x;\n\nif (!this.accepted) {\nif (Math.abs(new_x - this.start_x) >= kAcceptAtX) {\nif (Math.abs(touch.clientY - this.start_ypx) > kRejectAtY) {\nthis.tracking = null;\nreturn;\n} else {\nthis.accepted = true;\nthis.delegate.StartScroll();\n}\n} else { return; }\n}\n\nevent.preventDefault();\nthis.CaptureXDiff(diff_x);\nthis.current_scroll = this.current_scroll - diff_x;\nthis.delegate.ScrollTo(this.current_scroll);\nthis.current_x = new_x;\n}\n\npublic TouchEnd(event: TouchEvent) {\nconst touch = this.GetTrackingTouch(event.changedTouches);\nif (touch == null) { return; }\nthis.tracking = null;\nif (this.start_x === this.current_x) { return; }\nif (!this.accepted) { return; }\nevent.preventDefault();\nthis.delegate.EndScroll();\n\nthis.current_scroll = 1;\nconst ending_momentum_x = this.momentum_x;\n\nif (this.current_x + kDistanceThreshold < this.start_x) {\nif (\nthis.current_x + kDistanceMomentumThreshold < this.start_x ||\n-ending_momentum_x > kMomentumThreshold\n) {\nthis.delegate.AnimateToNextPage(ending_momentum_x);\n} else {\nthis.delegate.AnimateToX(1, ending_momentum_x);\n}\n} else if (this.current_x - kDistanceThreshold > this.start_x) {\nif (\nthis.current_x - kDistanceMomentumThreshold > this.start_x ||\nending_momentum_x > kMomentumThreshold\n) {\nthis.delegate.AnimateToPreviousPage(ending_momentum_x);\n} else {\nthis.delegate.AnimateToX(1, ending_momentum_x); }\n} else {\nthis.delegate.AnimateToX(1, ending_momentum_x);\n}\n}\n\n\n\t// HELPERS\n\nprivate GetTrackingTouch(list: TouchList) {\nif (this.tracking === null) { return null; }\nfor (let i = 0; i < list.length; i++) {\nconst touch = list.item(i);\nif (touch.identifier === this.tracking) { return touch; }\n}\nreturn null;\n}\n}\n","export * from './dotindicator.component';\nexport * from './navbutton.component';\nexport * from './pageslider.component';\nexport * from './render.component';\nexport * from './dotindicator.component';\n// export * from './pageslider.module';\nexport * from './types';\nexport * from './events';\n","import { Component, Input, Output, EventEmitter, Attribute } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\n\n@Component({\n selector: 'app-nav-button',\n template: `\n\t\t\n\t`,\n styleUrls: ['./pageslider.component.scss']\n})\n\nexport class NavButtonComponent {\n private isForward: boolean;\n \n constructor(\n @Attribute('forward') forward: any,\n @Attribute('backward') backward: any\n ){\n if (forward != undefined) {\n if (backward != undefined) {\n throw new Error(\"Nav Button cannot be both forward and backwards\");\n } else {\n this.isForward = true;\n }\n } else if (backward != undefined) {\n this.isForward = false;\n } else {\n throw new Error(\"Must specify either 'forward' or 'backward' on nav button\");\n }\n }\n\n\n // PUBLIC INTERFACE\n\n @Input() page : number;\n @Output() pageChange = new EventEmitter();\n @Input() pageCount : number;\n\n @Input() size : number = 61;\n @Input() showBackground : boolean = false;\n @Input() iconColor : string;\n @Input() backgroundColor : string = \"transparent\";\n\n\n // TEMPLATE FEATURES\n\n public get disabled() {\n if (this.isForward) {\n return this.page >= this.pageCount - 1;\n } else {\n return this.page <= 0;\n }\n }\n\n public get derivedIconColor() {\n if (this.iconColor !== undefined) return this.iconColor;\n return (this.showBackground) ? \"black\" : \"white\";\n }\n\n public get derivedBackgroundColor() {\n return (this.showBackground) ? this.backgroundColor : \"none\";\n }\n\n public get derivedSize() {return this.size + \"px\";}\n public get halfSize() {return this.size / 2 + \"px\";}\n\n public get symbol() {\n //\treturn (this.isForward) ? \"›\" : \"‹\";\n return (this.isForward) ? '' : '';\n }\n public get ariaLabel() {\n //\treturn (this.isForward) ? \"›\" : \"‹\";\n return (this.isForward) ? 'next' : 'previous';\n }\n public get tabIndexValue() {\n return (this.disabled) ? '-1' : '0';\n }\n\n public OnClick() {\n console.log(this.isForward);\n if (this.disabled) return;\n this.pageChange.emit((this.isForward) ? ++this.page : --this.page);\n }\n}\n","export { PagesRendererDirective, CarouselPage } from './render.component';\n\nimport {\n Component, Input, Output, EventEmitter, ContentChild, ContentChildren, ElementRef, OnInit\n} from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\n\nimport { PagesRendererDirective, CarouselPage } from './render.component';\nimport { DotIndicatorComponent } from './dotindicator.component';\nimport { NavButtonComponent } from './navbutton.component';\nimport { PageSliderControlAPI } from './types';\nimport { SlideAnimation } from './events/animation';\n\nimport { SideClickHandler } from './events/sideclick';\nimport { TouchEventHandler } from './events/touchevents';\nimport { ArrowKeysHandler } from './events/arrowkeys';\n\n\n// PAGE CONTAINER DIRECTIVE =================================================================\n// Handles fancy things like page animation and controls KBPagesRendererDirective\n\n@Component({\n selector: 'app-page-slider',\n template: `\n\t\t\n\t
    \n\t
    \n\t\t\t\n\t\t\t\n\t\t
    \n\t\t
    \n \n
    \n\n
    \n\t`,\n styleUrls: ['./pageslider.component.scss']\n})\n\nexport class PageSliderComponent implements PageSliderControlAPI, OnInit {\n\n private innerContainer: HTMLElement;\n private touchEventHandler: TouchEventHandler;\n private sideClickHandler: SideClickHandler;\n private arrowKeysHandler: ArrowKeysHandler;\n private blockInteraction = false;\n @Output() pageChange = new EventEmitter();\n @Output() pageSizeChange = new EventEmitter<[number, number]>();\n @Output() pageCountChange = new EventEmitter();\n\n //slide data to get aria-labels for nav button\n @Input() data: any;\n\n // Dot Indicator\n @Input() public showIndicator = true;\n @Input() public overlayIndicator = true;\n @Input() public dotColor = 'white';\n @Input() public pageIndex = 0;\n public dotTransitionInProgress = false;\n // Interactivity\n @Input() public locked = false;\n @Input() public transitionDuration: number;\n @Input() public transitionInterval: number;\n @Input() public enableOverscroll = true;\n @Input() public set enableSideClicks(enabled: boolean) {\n (this.sideClickHandler) ? this.sideClickHandler.enabled = enabled : null;\n }\n @Input() public set enableArrowKeys(enabled: boolean) {\n (this.arrowKeysHandler) ? this.arrowKeysHandler.enabled = enabled : null;\n }\n\n @Output() scrollStateChange = new EventEmitter();\n\n private transitionIntervalFunc: any;\n private _pageOffset = 1;\n\n //TODO fix for UPGRADE\n @ContentChildren(NavButtonComponent)\n //@ContentChildren('buttons', {static: false})\n buttons;\n\n @ContentChild(PagesRendererDirective,\n /* TODO: add static flag */ { static: true })\n //@ContentChildren('renderer', {static: false})\n renderer: PagesRendererDirective;\n\n constructor(\n private element: ElementRef\n ) {\n const htmlElement = this.element.nativeElement;\n\n this.touchEventHandler = new TouchEventHandler(this, htmlElement);\n this.sideClickHandler = new SideClickHandler(this, htmlElement);\n this.arrowKeysHandler = new ArrowKeysHandler(this, htmlElement);\n }\n\n\n // PUBLIC INTERFACE =====================================================================\n\n @Input() public set page(pn: number) {\n let animateVar = null;\n if (pn < 0 || pn >= this.pageCount) { return; }\n if (pn === this.renderer.page) { return; }\n if (this.renderer) {\n if (pn > this.renderer.page) {\n if (this.blockInteraction) { return; }\n animateVar = ((pn - this.renderer.page) + 1);\n this.pageIndex = pn;\n this.AnimateToNextPage(null, animateVar, pn);\n } else if (pn < this.renderer.page && (this.dotTransitionInProgress ||\n !(pn === 0 && (this.renderer.page === (this.pageCount - 1))))) {\n if (this.blockInteraction) { return; }\n animateVar = ((pn - this.renderer.page) + 1);\n this.pageIndex = pn;\n this.AnimateToPreviousPage(null, animateVar, pn);\n this.dotTransitionInProgress = false;\n } else if (pn === 0 && (this.renderer.page === (this.pageCount - 1))) { /** Condition added for transition of last slide*/\n if (this.blockInteraction) { return; }\n this.pageIndex = pn;\n this.renderer.prepareLastPageAnimation();\n this.AnimateToFirstPage();\n } else {\n if (this.blockInteraction) { return; }\n this.renderer.page = pn;\n this.pageIndex = pn;\n this.pageChange.emit(pn);\n }\n }\n }\n\n public get page() { return (this.renderer) ? this.renderer.page : 0; }\n public get pageCount() { return (this.renderer) ? this.renderer.pageCount : 0; }\n\n\n\n\n\n\n\n\n\n // INTERNAL STATE =======================================================================\n\n protected get pageOffset() { return this._pageOffset; }\n protected set pageOffset(v: number) {\n this._pageOffset = v;\n if (!this.blockInteraction) {\n this.innerContainer.style.left = this.pxOffset;\n }\n }\n private get pxOffset() { return -this.pageOffset * this.pageWidth + 'px'; }\n\n\n // NAV BUTTONS\n\n public get buttonTop() {\n return this.pageHeight / 2 - (this.buttons.first.size / 2) - 30 + 'px';\n }\n\n\n // SIZING\n\n public get pageWidth() { return this.element.nativeElement.offsetWidth; }\n\n public get pageHeight() {\n const fullHeight = this.element.nativeElement.offsetHeight;\n return fullHeight; // - chin;\n }\n\n\n public get containerWidth() { return this.pageWidth * 3 + 'px'; }\n public get containerHeight() { return this.pageHeight + 'px'; }\n ;\n public get dotBottom() { return (this.overlayIndicator) ? '11px' : '0px'; }\n\n // Get the page renderer loop and keep its size up to date\n ngOnInit() {\n if (!this.renderer) {\n throw new Error('No *kbPages directive found inside kb-page-slider');\n }\n\n this.renderer.pageCountChange.subscribe((count) => {\n this.pageCountChange.emit(count);\n });\n this.Resize();\n this.renderer.Resize(this.pageWidth, this.pageHeight);\n window.addEventListener('resize', () => {\n this.Resize();\n this.renderer.Resize(this.pageWidth, this.pageHeight);\n this.pageSizeChange.emit([this.pageWidth, this.pageHeight]);\n });\n // if (this.transitionInterval) {\n // this.autoAnimate();\n // }\n }\n\n\n protected Resize() {\n this.innerContainer = this.element.nativeElement.querySelector('.inner');\n this.innerContainer.style.left = -this.pageWidth + 'px';\n }\n\n private updatePage(index) {\n if (this.locked || this.blockInteraction) { return; }\n if (this.page === index) { return; }\n this.dotTransitionInProgress = true;\n this.page = index;\n this.stopAutoTransition();\n }\n\n /** Method to stop auto animation */\n public stopAutoTransition() {\n clearInterval(this.transitionIntervalFunc);\n }\n\n /** Method to start auto animation */\n // public startAutoTransition() {\n // this.autoAnimate();\n // }\n\n\n private autoAnimate() {\n if (this.locked || this.blockInteraction) { return; }\n if (this.page < (this.pageCount - 1)) {\n this.page++;\n } else {\n this.page = 0;\n }\n this.transitionIntervalFunc = setInterval(() => {\n if (this.page < (this.pageCount - 1)) {\n this.page++;\n } else {\n this.page = 0;\n }\n }, this.transitionInterval);\n }\n\n // INTERACTIVE NAVIGATION ===============================================================\n\n\n\n public ScrollTo(x: number) {\n // if (this.locked || this.blockInteraction) { return; }\n // this.pageOffset = this.ClampX(x);\n }\n\n public AnimateToNextPage(momentum?: number, animateNum?: number, pn?: number) {\n if (this.locked || this.blockInteraction) { return; }\n if (this.page === this.renderer.pageCount - 1) {\n return this.AnimateToX(1, 0).then(() => { this.pageOffset = 1; });\n }\n if (momentum === undefined) { momentum = 0; }\n if (animateNum === undefined) { animateNum = 2; }\n\n this.AnimateToX(animateNum, momentum).then(() => {\n if (pn !== undefined) {\n this.renderer.page = pn;\n } else {\n const pgIdx = this.renderer.page + 1;\n this.pageIndex = pgIdx;\n this.renderer.page = pgIdx;\n }\n this.pageChange.emit(this.renderer.page);\n this.pageOffset = 1;\n });\n }\n\n /**Method added for last page animation to first page */\n public AnimateToFirstPage() {\n // if (this.locked || this.blockInteraction) { return; }\n // this.AnimateToX(2, 0).then(() => {\n // this.pageOffset = 1;\n // this.renderer.page = 0;\n // this.pageChange.emit(this.renderer.page);\n // });\n }\n\n public AnimateToPreviousPage(momentum?: number, animateNum?: number, pn?: number) {\n // if (this.locked || this.blockInteraction) { return; }\n // if (this.page === 0) {\n // return this.AnimateToX(1, 0).then(() => { this.pageOffset = 1; });\n // }\n // if (momentum === undefined) { momentum = 0; }\n // if (animateNum === undefined) { animateNum = 0; }\n\n // this.AnimateToX(animateNum, momentum).then(() => {\n // if (pn !== undefined) {\n // this.renderer.page = pn;\n // } else {\n // const pgIdx = this.renderer.page - 1;\n // this.pageIndex = pgIdx;\n // this.renderer.page = pgIdx;\n // }\n // this.pageChange.emit(this.renderer.page);\n // this.pageOffset = 1;\n // });\n }\n\n public AnimateToX(x: number, momentum: number) {\n if (this.locked || this.blockInteraction) { return; }\n this.blockInteraction = true;\n\n const w = this.pageWidth;\n return new SlideAnimation(\n this.innerContainer,\t \t// Element to animate\n -this.pageOffset * w,\t\t// Current position (px)\n -x * w,\t \t\t\t\t\t// Destination position (px)\n momentum * w,\t\t\t \t// User scroll momentum (px/s)\n this.transitionDuration\t\t// Default duration, when momentum = 0\n ).then(() => {\n this.blockInteraction = false;\n });\n }\n\n public StartScroll() {\n // this.scrollStateChange.emit(true);\n }\n public EndScroll() {\n // this.scrollStateChange.emit(false); \n }\n\n // OVERSCROLL (iOS STYLE) ===============================================================\n\n // Get X to a reasonable range, taking into account page boundaries\n protected ClampX(x: number) {\n // if (x < 0) { x = 0; }\n // if (x > 2) { x = 2; }\n\n // Allow some over scrolling on the first and last page\n // if (this.page === 0 && x < 1) {\n // if (this.enableOverscroll) {\n // x = 1 - this.OverscrollRamp(1 - x);\n // } else {\n // x = 1;\n // }\n // }\n // if (this.page === this.renderer.pageCount - 1 && x > 1) {\n // if (this.enableOverscroll) {\n // x = 1 + this.OverscrollRamp(x - 1);\n // } else {\n // x = 1;\n // }\n // }\n // return x;\n }\n\n // Exponential ramp to simulate elastic pressure on over scrolling\n protected OverscrollRamp(input: number): number {\n return Math.pow(input, 0.5) / 5;\n }\n}\n","import {\n Directive, Input, Output, EventEmitter, ContentChild,\n ViewContainerRef, TemplateRef, EmbeddedViewRef, OnInit\n} from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\n\nimport { StackLocation } from './types';\n\n\n// PAGE CLASS ===============================================================================\n// Stores information about each page that is accessible from the template\n\nexport class CarouselPage {\n constructor(\n public $implicit: any,\n public index: number,\n private parent: PagesRendererDirective\n ) { };\n\n get isActive() { return this.parent.page === this.index; }\n\n get isFirst() { return this.index === 0; }\n get isLast() { return this.index === this.parent.pageCount - 1; }\n}\n\n\n// PAGE RENDERER DIRECTIVE ==================================================================\n// Similar to ngFor, but renders items as stacked full-screen pages\n\n@Directive({ selector: '[carouselPages]' })\nexport class PagesRendererDirective implements OnInit {\n // Initialization\n private isInitialized = false;\n // Get the input data (using loop syntax)\n private collection: Array;\n private _lastPageCount: number;\n private _page = 0;\n public pageCountChange = new EventEmitter();\n private pageWidth = 0;\n private pageHeight = 0;\n private views: EmbeddedViewRef[] = [];\n\n // Angular Injection\n constructor(\n private viewContainer: ViewContainerRef,\n private template: TemplateRef\n ) { }\n\n\n // LOOP TEMPLATING\n @Input() set carouselPagesOf(coll: Array) {\n this.collection = coll;\n if (this.isInitialized) {\n this.ClearDOM();\n this.CreateDOM();\n }\n }\n\n\n ngOnInit() {\n this.isInitialized = true;\n this.CreateDOM();\n }\n\n\n // PAGINATION\n\n // Calculate page count from the loop\n\n public get pageCount() {\n const count = (this.collection) ? this.collection.length : 0;\n if (this._lastPageCount !== count) {\n this.pageCountChange.emit(count);\n }\n return count;\n }\n\n\n // Page access\n\n public set page(page: number) { this.SetPage(page); }\n public SetPage(page: number): boolean {\n if (page < 0 || page >= this.pageCount) {\n return false;\n }\n const oldPage = this._page;\n this._page = page;\n this.ChangePage(this._page, oldPage);\n return true;\n }\n public get page() { return this._page; }\n\n\n // SIZING\n\n\n public Resize(width: number, height: number) {\n this.pageWidth = width;\n this.pageHeight = height;\n\n if (this.isInitialized) {\n this.ClearDOM();\n this.CreateDOM();\n }\n }\n\n\n // DOM RENDERING ========================================================================\n\n\n // Renders 3 pages\n private CreateDOM() {\n if (this.pageCount === 0 || this.collection === undefined) {\n return;\n }\n let i = 0;\n while (i < this.pageCount) {\n this.BuildPage(i, i);\n i++;\n }\n }\n\n // Clears all pages out of the DOM, useful for re-rendering\n private ClearDOM() {\n const viewLength = this.viewContainer.length;\n for (let view of this.views) {\n if (view) {\n view.destroy();\n }\n }\n this.views = [];\n }\n\n\n // HTML CONSTRUCTION AND MANAGEMENT\n\n private BuildPage(pageNumber: number, loc: number) {\n if (pageNumber < 0 || pageNumber >= this.pageCount) {\n throw new Error('Attempted to create non-existent page: ' + pageNumber);\n }\n // Create the page given the template\n this.views[loc] = this.viewContainer.createEmbeddedView(\n this.template,\n new CarouselPage(this.collection[pageNumber], pageNumber, this));\n // Style the page accordingly\n for (let rootNode of this.views[loc].rootNodes) {\n rootNode.id = 'carouselDiv' + loc.toString();\n this.StyleAsPage(rootNode);\n this.StyleAtStackLocation(rootNode, (loc - this.page) + 1);\n }\n }\n\n // Styles a DOM element to be an absolute-positioned page-sized container\n protected StyleAsPage(pageElement: HTMLElement) {\n pageElement.style.display = 'block';\n pageElement.style.position = 'absolute';\n pageElement.style.width = this.pageWidth + 'px';\n pageElement.style.height = this.pageHeight + 'px';\n }\n\n // Styles a DOM element with an X location in the container\n protected StyleAtStackLocation(pageElement: HTMLElement, loc: number) {\n const xLocationInContainer = loc * this.pageWidth;\n pageElement.style.left = xLocationInContainer + 'px';\n if (xLocationInContainer !== this.pageWidth) {\n setTimeout(() => {\n const focusableEls = Array.prototype.slice.call(pageElement.\n querySelectorAll('a[href], area[href], button:not([disabled]), [tabindex=\"0\"]'));\n for (let ele of focusableEls) {\n ele.setAttribute('tabindex', '-1');\n }\n }, 0);\n }\n }\n\n private StyleAtStackLocationNavigation(pageElement: HTMLElement, catoApplicable: boolean) {\n if (catoApplicable) {\n const focusableEls = Array.prototype.slice.call(pageElement.\n querySelectorAll('a[href], area[href], button:not([disabled]), [tabindex=\"0\"]'));\n for (let ele of focusableEls) {\n ele.setAttribute('tabindex', '-1');\n }\n } else {\n const focusableEls = Array.prototype.slice.call(pageElement.\n querySelectorAll('a[href], button:not([disabled]), [tabindex=\"-1\"]'));\n for (let ele of focusableEls) {\n ele.setAttribute('tabindex', '0');\n }\n }\n }\n\n\n // NAVIGATION\n\n // Updates rendering to display a new page\n private ChangePage(newPage: number, oldPage: number) {\n let i = 0;\n while (i < this.pageCount) {\n // methodname, timeout, param1, param2\n setTimeout(this.StyleAtStackLocationNavigation, 0, this.views[i].rootNodes[0], (i === newPage) ? false : true);\n i++;\n }\n if (newPage > oldPage) {\n this.updateNextPageStyle(newPage, oldPage);\n } else if ((newPage < oldPage) && !(newPage === 0 && (oldPage === this.pageCount - 1))) {\n this.updatePreviousPageStyle(newPage, oldPage);\n } else {\n this.updateFirstPageStyle();\n }\n }\n\n\n private updateNextPageStyle(newPage, oldPage) {\n while (oldPage < newPage) {\n let i = 0;\n while (i < this.pageCount) {\n this.views[i].rootNodes[0].style.left = (parseInt(this.views[i].rootNodes[0].style.left, 10) - this.pageWidth) + 'px';\n i++;\n }\n oldPage++;\n }\n }\n\n public prepareLastPageAnimation() {\n let i = 0;\n while (i < this.pageCount - 1) {\n this.views[i].rootNodes[0].style.left = ((i + 2) * this.pageWidth) + 'px';\n i++;\n }\n }\n\n private updatePreviousPageStyle(newPage, oldPage) {\n while (oldPage > newPage) {\n let i = 0;\n while (i < this.pageCount) {\n this.views[i].rootNodes[0].style.left = (parseInt(this.views[i].rootNodes[0].style.left, 10) + this.pageWidth) + 'px';\n i++;\n }\n oldPage--;\n }\n }\n\n private updateFirstPageStyle() {\n let i = 0;\n while (i < this.pageCount) {\n this.views[i].rootNodes[0].style.left = ((i + 1) * this.pageWidth) + 'px';\n i++;\n }\n }\n\n}\n","/*\n\tThis file contains some helpful types that are used throughout the module\n*/\n\n// The slider renders 3 pages to DOM at once, as follows\nexport enum StackLocation {\n\tPrevious,\n\tCurrent,\n\tNext\n\t};\n\t\n\t\n\t// Internal API for event handlers to control the page slider\n\texport interface PageSliderControlAPI {\n\tpageWidth: number;\n\tpageHeight: number;\n\tScrollTo(x: number);\n\tAnimateToX(x: number, momentum: number);\n\tAnimateToNextPage(momentum: number);\n\tAnimateToPreviousPage(momentum: number);\n\tStartScroll();\n\tEndScroll();\n\t\n\t}\n\t","export * from './pagination.component';","import { Component, OnInit, OnChanges, Input, Output, EventEmitter, ViewChild, HostListener, AfterViewChecked } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { PaginationService, PaginationModel } from './shared';\n@Component({\n selector: 'app-pagination',\n providers: [PaginationService],\n templateUrl: './pagination.component.html',\n styleUrls: ['./pagination.component.scss']\n})\nexport class PaginationComponent implements OnInit, OnChanges, AfterViewChecked {\n\n pagination: PaginationModel;\n disableButton = true;\n @Input() startIndex = 0;\n @Input() recordsPerPage = 25;\n @Input() totalRecords = 0;\n @Input() range = 2;\n @Input() visiblePageNums = 10;\n @Input() hideGoToPage = false;\n @Output() pageChange: EventEmitter = new EventEmitter();\n @ViewChild('paginationcontainer') paginationcontainer;\n @HostListener('window:resize', ['$event'])\n onResize(event) {\n this.getPages();\n }\n\n constructor(public paginationService: PaginationService) { }\n\n ngOnInit() {\n this.getPages();\n }\n\n ngOnChanges() {\n this.getPages();\n }\n\n getPages() {\n this.pagination = this.paginationService.generatePageSeq(this.startIndex, this.recordsPerPage,\n this.totalRecords, this.visiblePageNums, this.range);\n if (this.totalRecords > this.recordsPerPage) {\n this.pagination.paginationStatus = true;\n } else {\n this.pagination.paginationStatus = false;\n }\n }\n\n isValidPageNumber(page: number, totalPages: number): boolean {\n return page > 0 && page <= totalPages;\n }\n\n ngAfterViewChecked() {\n if (this.pagination.paginationStatus) {\n const element = this.paginationcontainer.nativeElement;\n /* Here we calculate the ul's width dynamically */\n this.paginationService.getPaginationContainerWidth(element, this.pagination.isMobile);\n /* For mobile view active page set to center position */\n if (this.pagination.isMobile) {\n this.paginationService.setPositionCenter(element);\n }\n }\n }\n\n selectPage(page: number, event) {\n this.cancelEvent(event);\n if (this.isValidPageNumber(page, this.pagination.totalPages)) {\n this.pageChange.emit((page - 1) * this.recordsPerPage);\n }\n }\n\n cancelEvent(event) {\n event.preventDefault();\n }\n\n isValidPage(pageNo: number) {\n this.disableButton = true;\n if (this.isValidPageNumber(pageNo, this.pagination.totalPages)) {\n this.disableButton = false;\n }\n }\n}\n","
    \n
    \n
    \n \n
    \n
    \n \n \n \n \n
    \n
    \n
    \n
    \n","export * from './models/pagination.model';\nexport * from './providers/pagination.service';","export class PaginationModel\n{\n currentPage: number;\n totalPages: number;\n initialPages: Array;\n finalPages: Array;\n middlePages: Array;\n pageSeqType: string;\n isMobile: boolean;\n paginationStatus: boolean;\n}\n","import { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { PaginationModel } from './../../shared';\n\n@Injectable()\nexport class PaginationService {\n pagination = new PaginationModel();\n\n generatePageSeq(startIndex: number, recordsPerPage: number, totalRecords: number, visiblePageNums: number, range: number) {\n const edgePageSeq = visiblePageNums - range;\n\n this.pagination.currentPage = this.getCurrentPage(startIndex, recordsPerPage);\n this.pagination.totalPages = this.getTotalPages(recordsPerPage, totalRecords);\n this.pagination.isMobile = window.innerWidth < 767;\n\n this.pagination.initialPages = [];\n this.pagination.finalPages = [];\n this.pagination.middlePages = [];\n\n if (this.pagination.totalPages <= visiblePageNums || this.pagination.isMobile) {\n // if totalpages less than or equal to displaypage list out all pages also same sequence for mobile\n this.pagination.pageSeqType = 'all';\n this.pagination.initialPages = this.getPageNumbers(1, this.pagination.totalPages);\n } else if (this.pagination.currentPage + range <= edgePageSeq) {\n // this sequence edge in start have no middle links\n this.pagination.pageSeqType = 'start';\n this.pagination.initialPages = this.getPageNumbers(1, edgePageSeq);\n this.pagination.finalPages = this.getPageNumbers(this.pagination.totalPages - range + 1, this.pagination.totalPages);\n } else if (this.pagination.totalPages - this.pagination.currentPage + range < edgePageSeq) {\n // this sequence edge in end have no middle links\n this.pagination.pageSeqType = 'end';\n this.pagination.initialPages = this.getPageNumbers(1, range);\n this.pagination.finalPages = this.getPageNumbers(this.pagination.totalPages - edgePageSeq + 1,\n this.pagination.totalPages);\n } else {\n // this sequence have all links start, end and middle\n this.pagination.pageSeqType = 'middle';\n this.pagination.initialPages = this.getPageNumbers(1, range);\n this.pagination.middlePages = this.getPageNumbers(this.pagination.currentPage - range, this.pagination.currentPage + range);\n this.pagination.finalPages = this.getPageNumbers(this.pagination.totalPages - range + 1, this.pagination.totalPages);\n }\n\n return this.pagination;\n }\n\n getCurrentPage(startIndex: number, recordsPerPage: number): number {\n return Math.floor(startIndex / recordsPerPage) + 1;\n }\n\n getTotalPages(recordsPerPage: number, totalRecords: number): number {\n return Math.ceil(Math.max(totalRecords, 1) / Math.max(recordsPerPage, 1));\n }\n\n getPageNumbers(start, end){\n const arr: any = [];\n for (let i = start; i <= end; i++){\n arr.push(i);\n }\n return arr;\n }\n\n getPaginationContainerWidth(element, isMobile) {\n const lis = element.getElementsByTagName('li');\n if (isMobile && lis.length) {\n const elementStyles = window.getComputedStyle(element);\n let cwidth = parseFloat(elementStyles.paddingLeft) + parseFloat(elementStyles.paddingRight);\n for (let actli of lis){\n const listyles = window.getComputedStyle(actli);\n cwidth += actli.offsetWidth + parseFloat(listyles.marginLeft) + parseFloat(listyles.marginRight);\n }\n element.getElementsByTagName('ul')[0].style.width = cwidth + 1 + 'px'; // Added 1px for rounding off width.\n } else {\n element.getElementsByTagName('ul')[0].style.width = 'auto';\n }\n }\n\n setPositionCenter(element) {\n const activeli = element.getElementsByClassName('highlightCurrentPage');\n if (activeli.length) {\n const elementstyles = window.getComputedStyle(element);\n const conWidth = element.clientWidth - parseFloat(elementstyles.paddingLeft) - parseFloat(elementstyles.paddingRight);\n const elementLeft = activeli[0].offsetLeft;\n element.scrollLeft = elementLeft + (activeli[0].offsetWidth / 2) - (conWidth / 2);\n }\n }\n}\n","export * from './product-card.component';\nexport * from './product-card.model';\n","import { Component, OnInit, Input } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { ProductCardModel } from './product-card.model';\n@Component({\n selector: 'app-product-card',\n templateUrl: './product-card.component.html',\n styleUrls: ['./product-card.component.scss']\n})\nexport class ProductCardComponent implements OnInit {\n @Input('card') card: ProductCardModel;\n\n constructor() {\n }\n\n ngOnInit() {\n }\n\n}\n","
    \n
    \n

    \n {{ card.cardTitle }}\n

    \n
    \n \n \"{{\n \"{{\n \n

    From {{card.price | currency:'USD':true:'1.2-3'}}/mo.

    \n

    {{card.description}}

    \n
    \n
    \n \n \n
    \n
    \n","export class ProductCardModel {\n cardTitle: string;\n mediaType: string;\n imageSrc: string;\n smallImageSrc: string;\n description: string;\n descriptionStyle: string;\n buttonName: string;\n activetab: boolean;\n price: string;\n link: string;\n\nconstructor() {\n this.cardTitle = undefined;\n this.mediaType = undefined;\n this.imageSrc = undefined;\n this.smallImageSrc = undefined;\n this.description = undefined;\n this.descriptionStyle = undefined;\n this.buttonName = undefined;\n this.activetab = undefined;\n this.price = undefined;\n this.link = undefined;\n }\n}\n","export * from './status-bar.component';\nexport * from './status-bar.model';\n","import { Component, OnInit, Input } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\n\nimport { StatusBarModel } from './status-bar.model';\n\n@Component({\n selector: 'app-status-bar',\n templateUrl: './status-bar.component.html',\n styleUrls: ['./status-bar.component.scss']\n})\nexport class StatusBarComponent implements OnInit {\n\n @Input() data: Array;\n @Input() leftLabel: string;\n @Input() rightLabel: string;\n totalValue = 0;\n dataSeperatorWidth = '1px';\n ariaLabel: string;\n constructor() { }\n\n ngOnInit() {\n this.data.forEach((d) => {\n this.totalValue += d.value;\n if(d.ariaLabel ) {\n this.ariaLabel = d.ariaLabel;\n }\n });\n if (!this.rightLabel) {\n this.rightLabel = String(this.totalValue);\n }\n }\n\n calcProgress(d, index) {\n let marginLeft = 0;\n let styles: any;\n\n const width = Number((d.value / this.totalValue) * 100);\n\n // Calculate all Preceeding Values ranges\n for (let i = 0; i < index; i++) {\n marginLeft = marginLeft + Number((this.data[i].value / this.totalValue) * 100);\n }\n\n const barWidth = 'calc(' + width + '% - ' + this.dataSeperatorWidth + ')';\n const barPosition = 'calc(' + marginLeft + '% + ' + this.dataSeperatorWidth + ')';\n\n styles = {\n 'background-color': d.color,\n 'width': barWidth,\n 'margin-left': barPosition\n };\n return styles;\n }\n\n}\n","
    \n
    \n {{leftLabel}} {{rightLabel}} \n
    \n
    \n
    \n
    \n
    \n
    \n","export class StatusBarModel {\n value: number;\n color: string;\n legend: string;\n ariaLabel?: string;\n}\n","export { StepIndicatorComponent} from './stepindicator.component';\nexport { StepIndicatorService } from './stepindicator.service';\nexport { StepIndicatorModel } from './stepindicator.model';\n","import { Component, Input, OnInit } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { Router } from '@angular/router';\n\nimport { StepIndicatorService } from './stepindicator.service';\nimport { StepIndicatorModel } from './stepindicator.model';\n\n@Component({\n selector: 'app-stepindicator',\n styleUrls: ['./stepindicator.component.scss'],\n templateUrl: './stepindicator.component.html'\n})\n\nexport class StepIndicatorComponent implements OnInit {\n @Input() stepIndicators: StepIndicatorModel[];\n currentStep: string = '';\n @Input() displayIndicator: boolean;\n @Input() sessionName: string;\n\n\n constructor(protected router: Router, protected stepindicatorService: StepIndicatorService) {\n this.displayIndicator = true;\n }\n\n ngOnInit() {\n let currentStepnum;\n this.stepindicatorService.getCurrentStep().subscribe(\n (path: string) => {\n this.currentStep = path;\n for (const step of this.stepIndicators) {\n if (step.path === path) {\n currentStepnum = step.stepNumber;\n step.isVisited = true;\n this.stepindicatorService.setSteps(this.stepIndicators, this.sessionName);\n }\n\n if(step.stepNumber > currentStepnum){\n step.isVisited = false;\n this.stepindicatorService.setSteps(this.stepIndicators, this.sessionName);\n }\n }\n }\n );\n this.stepindicatorService.getVisibility().subscribe(\n (status: boolean) => {\n this.displayIndicator = status;\n }\n );\n }\n}\n","
    \n\t
      \n\t\t
    • \n\t\t\t
      {{step.label}} Currently Active
      \n\t\t
    • \n\t
    \n
    \n","export class StepIndicatorModel {\n label: string;\n stepNumber: number;\n path: string;\n isVisited: boolean;\n}\n","import { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { BehaviorSubject, Observable } from 'rxjs';\n\nimport { StepIndicatorModel } from './stepindicator.model';\n\n@Injectable()\nexport class StepIndicatorService {\n private step = new BehaviorSubject('billing');\n public obvStep: Observable = this.step.asObservable(); // convert to Observable for subscribing\n private flag = new BehaviorSubject(true);\n public showFlag: Observable = this.flag.asObservable();\n\n constructor() {\n }\n setCurrentStep(path: string) {\n this.step.next(path);\n }\n getCurrentStep(): Observable {\n return this.obvStep;\n }\n setSteps(steps: StepIndicatorModel[], sessionName) {\n sessionStorage.setItem('steps-' + sessionName, JSON.stringify(steps));\n }\n getSteps(sessionName): StepIndicatorModel[] {\n return JSON.parse(sessionStorage.getItem('steps-' + sessionName));\n }\n setVisibility(value: boolean) {\n this.flag.next(value);\n }\n getVisibility(): Observable {\n return this.showFlag;\n }\n removeStep(sessionName) {\n sessionStorage.removeItem('steps-' + sessionName);\n }\n}\n","export * from './subscription-card.component';\nexport * from './subscription-card.model';\n","import { Component, OnInit, Input, EventEmitter, ViewEncapsulation, Output } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { SubscriptionCardModel } from './subscription-card.model';\n@Component({\n selector: 'app-subscription-card',\n templateUrl: './subscription-card.component.html',\n styleUrls: ['./subscription-card.component.scss'],\n encapsulation: ViewEncapsulation.None\n})\nexport class SubscriptionCardComponent implements OnInit {\n @Input() subscripitioncard: SubscriptionCardModel;\n @Output() skuId: EventEmitter;\n @Output() pageLoaderEvent: EventEmitter;\n shopPermission: string;\n\n constructor() {\n this.skuId = new EventEmitter();\n this.pageLoaderEvent = new EventEmitter();\n this.shopPermission = 'detail.shopmanage';\n }\n\n ngOnInit() {\n this.shopPermission = 'detail.shopmanage';\n this.pageLoaderEvent.emit(true);\n }\n\n shopNow(id: string) {\n this.skuId.emit(id);\n }\n\n}\n","
    \r\n

    {{subscripitioncard.skuType}}

    \r\n

    ${{subscripitioncard.basicPrice| number :'1.2-3' }}

    \r\n

    per month per license

    \r\n\t

    per month

    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n","export class SubscriptionCardModel {\r\n\r\n skuType: string;\r\n basicPrice: string;\r\n moduleCount: string;\r\n description: string;\r\n id: string;\r\n detailFlag: string;\r\n productName: string;\r\n isSingleQuantity: string;\r\n constructor() {\r\n this.skuType = undefined;\r\n this.basicPrice = undefined;\r\n this.moduleCount = undefined;\r\n this.description = undefined;\r\n this.id = undefined;\r\n this.detailFlag = undefined;\r\n this.productName = undefined;\r\n this.isSingleQuantity = undefined;\r\n }\r\n}\r\n","\nimport {Subject,Subscription} from 'rxjs';\nimport { Injectable } from \"@angular/core\";\n\n@Injectable()\nexport class EmitterService {\n private eventBus$= new Subject();\n subscribe(next):Subscription{\n return this.eventBus$.subscribe(next);\n }\n next(event){\n this.eventBus$.next(event);\n }\n}\n\n","export * from './tab.component';\nexport * from './tabs.component';\nexport * from './tab.model' ;\n","import { Component, Input, Output, EventEmitter, OnInit, ElementRef, HostListener, ViewEncapsulation } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { Router } from '@angular/router';\nimport { AdobeAnalyticsService} from './../../providers';\n\nimport { TabModel } from './tab.model';\nimport { EmitterService } from './emitter.service';\n\n@Component({\n selector: 'app-tab',\n styleUrls: ['./tabs.component.scss'],\n providers: [AdobeAnalyticsService],\n templateUrl: './tab.component.html',\n encapsulation: ViewEncapsulation.None\n})\n\nexport class TabComponent implements OnInit {\n\n @Input() option: TabModel;\n @Output() selectedTab: EventEmitter;\n\n constructor(protected router: Router, private el: ElementRef,private emitter: EmitterService, private adobeAnalyticsService: AdobeAnalyticsService) {\n this.selectedTab = new EventEmitter();\n }\n\n ngOnInit() {\n }\n\n selectTab(tab){\n this.adobeAnalyticsService.createClickProperties(tab.id,'Body','/businessconsole/learn');\n this.emitter.next(tab);\n }\n\n}\n","\n
    \n \n
    ","export class TabModel {\n id: any;\n isActive: any ;\n description: any ;\n permissionMessage: any;\n htmlFlag: any;\n title: any;\n}\n","import {\n Component, Input, EventEmitter, OnInit, ElementRef, HostListener,\n ViewEncapsulation, AfterViewInit, ContentChildren, QueryList\n} from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { Router } from '@angular/router';\n\nimport { Subscription } from 'rxjs';\n\nimport { TabModel } from './tab.model';\nimport { EmitterService } from './emitter.service';\nimport { TabComponent } from './tab.component';\n\n@Component({\n selector: 'app-tabs',\n styleUrls: ['./tabs.component.scss'],\n templateUrl: './tabs.component.html',\n providers: [EmitterService],\n encapsulation: ViewEncapsulation.None\n})\n\nexport class TabsComponent implements OnInit, AfterViewInit {\n\n @Input() tabs: TabModel[];\n @Input() ariaLabel: string;\n @ContentChildren( TabComponent ) tabsComponent: QueryList;\n\n private subscription: Subscription;\n private curTab: any;\n private currentTabIndex: number;\n\n constructor(protected router: Router, private el: ElementRef, private emitter: EmitterService) {\n this.subscription = this.emitter.subscribe(tab => {\n this.tabAction(tab.id, false);\n });\n this.currentTabIndex = 0;\n }\n\n ngOnInit() {\n\n }\n\n ngAfterViewInit() {\n for (let i = 0; i < this.tabs.length; i++) {\n if (this.tabs[i].isActive) {\n this.tabAction(this.tabs[i].id, true);\n }\n }\n }\n\n onResize(event) {\n if (this.curTab == null) {\n this.curTab = this.tabs[0].id;\n }\n this.tabAction(this.curTab, true);\n }\n\n tabAction(tab, onpageLoad) {\n\n this.curTab = tab;\n let w = window.innerWidth;\n for (let option of this.tabs) {\n if (w > 1024) {\n if (option.id === tab) {\n option.isActive = true;\n setTimeout(() => { // added timeout to wait for dom load.\n let container = document.getElementById(option.id);\n this.htmlHeight(container);\n }, 0);\n } else {\n option.isActive = false;\n }\n } else {\n if (option.id === tab) {\n if (onpageLoad === true) {\n // option.isActive = option.isActive;\n option.isActive = true;\n } else {\n option.isActive = !option.isActive;\n }\n } else {\n option.isActive = false;\n }\n }\n }\n\n this.bringFocusToSelectedTab();\n\n }\n\n // brings focus to the tab selected using arrow keys.\n bringFocusToSelectedTab(){\n ( this.tabsComponent.toArray()[ this.currentTabIndex ] ).el.nativeElement.children[0].children[0].focus();\n }\n\n /*\n code: \"ArrowRight\", key: \"ArrowRight\",keyCode: 39\n code: \"ArrowLeft\",key: \"ArrowLeft\",keyCode: 37\n Handle left and right arrow key to navigate between tabs\n */\n handleKeyDown( event ){\n \n if( event.keyCode === 39 ){ // ArrowRight\n if( this.currentTabIndex !== this.tabs.length - 1 ){\n this.currentTabIndex++;\n } else{\n this.currentTabIndex = 0;\n }\n this.bringFocusToSelectedTab();\n }else if( event.keyCode === 37 ){ // ArrowLeft\n if( this.currentTabIndex !== 0 ){\n this.currentTabIndex--;\n }else{\n this.currentTabIndex = this.tabs.length - 1;\n }\n this.bringFocusToSelectedTab();\n }\n \n }\n\n // on tab click or enter, the currentTabIndex has to be updated with the selected tab index.\n handleTabsClick( event ){\n\n if( event.target.tagName === \"A\" ){\n this.tabs.forEach( ( tab, index ) => {\n if( tab.id === event.target.textContent.trim() )\n this.currentTabIndex = index;\n })\n }\n\n }\n\n\n htmlHeight(container) {\n let divHeight = container.offsetHeight;\n let totalHeight = divHeight + 70;\n document.getElementById('tabContainer').style.height = totalHeight + 'px';\n }\n\n ngOnDestroy() {\n this.subscription.unsubscribe();\n }\n\n}\n","
    \n
    \n \n
    \n
    \n
    \n","export * from './terms-content.component';\n","import {\n Component, Input, Output, EventEmitter, OnInit,\n AfterViewInit, AfterViewChecked, ElementRef\n} from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { Router } from '@angular/router';\nimport { TermsContentService } from './terms-content.service';\nimport { HttpResponse } from '@angular/common/http';\ndeclare var initAriaHidden: any;\ndeclare var removeAriaHidden: any;\n\nconst ESCAPE_KEY = 27;\nconst TAB_KEY_CODE = 9;\nconst businessUrl = '/businessconsole';\n\n@Component({\n selector: 'app-terms-content',\n templateUrl: './terms-content.component.html',\n styleUrls: ['./terms-content.component.scss'],\n providers: [TermsContentService],\n\n})\nexport class TermsContentComponent implements OnInit {\n\n errorMsg: string;\n termsContentHtml: string;\n\n @Input() showModal: boolean;\n @Input() title: string;\n\n\n @Input() set contentUrl(url: string) {\n if (url !== undefined && url !== '') {\n let appendWithBusinessUrl = businessUrl + url.substr(url.indexOf('/assets'), url.length);\n this.termsConditionService.fetchtnc(appendWithBusinessUrl)\n .subscribe( (tncText: HttpResponse) => {\n this.termsContentHtml = tncText.body; // Todo comments\n console.log(this.termsContentHtml);\n // this.modelTitle = \"My lucy project\";\n },\n error => {\n document.body.classList.remove('modal-open');\n this.showModal = false;\n this.handleError(error);\n });\n }\n }\n\n @Input() triggerElement: any;\n\n @Output()\n modalOutput: EventEmitter;\n\n @Output()\n modalErrorMsg: EventEmitter;\n\n focusabbleElements: any;\n\n constructor(protected router: Router, private el: ElementRef,\n private termsConditionService: TermsContentService) {\n this.modalOutput = new EventEmitter();\n this.showModal = false;\n this.title = undefined;\n }\n\n ngOnInit() {\n document.body.classList.add('modal-open');\n initAriaHidden();\n }\n\n btnAction() {\n document.body.classList.remove('modal-open');\n removeAriaHidden();\n this.focusabbleElements = undefined;\n if (this.triggerElement) {\n this.triggerElement.focus();\n }\n this.modalOutput.emit(false);\n }\n\n\n handleKeydown(event) {\n const focussedEl = event.target;\n if (event.keyCode === ESCAPE_KEY) {\n this.btnAction();\n return;\n }\n if (event.shiftKey && event.keyCode === TAB_KEY_CODE) {\n if (focussedEl === this.focusabbleElements[0]) {\n event.preventDefault();\n this.focusabbleElements[this.focusabbleElements.length - 1].focus();\n }\n } else if (event.keyCode === TAB_KEY_CODE) {\n console.log(this.focusabbleElements);\n\n if (focussedEl === this.focusabbleElements[this.focusabbleElements.length - 1]) {\n event.preventDefault();\n // this.focusabbleElements[0].focus();\n document.getElementById('modalHeading').focus();\n }\n }\n }\n\n loadFocustelements() {\n if (!this.focusabbleElements) {\n const focusableEls = this.el.nativeElement.\n querySelectorAll('a[href], area[href],' +\n ' input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), [tabindex=\"0\"]');\n this.focusabbleElements = Array.prototype.slice.call(focusableEls);\n // this.focusabbleElements[0].focus();\n document.getElementById('modalHeading').focus();\n }\n }\n\n\n handleError(error) {\n if (error.status === 500) {\n this.errorMsg = 'Invalid CTN. Please try again!';\n this.modalErrorMsg.emit(this.errorMsg);\n } else {\n this.errorMsg = 'Unable to load';\n this.modalErrorMsg.emit(this.errorMsg);\n throw error;\n }\n }\n}\n","
    {{loadFocustelements()}}\n
    \n
    \n

    Terms & Conditions

    \n
    \n \n
    \n
    \n
    \n

    0\">{{title}}

    \n
    \n
    \n
    \n
    \n OK\n Cancel\n
    \n
    \n
    \n
    \n
    ","import { Injectable} from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { Observable, throwError } from 'rxjs';\nimport { HttpResponse } from '@angular/common/http';\n\n\nimport { HttpClientService } from './../../providers';\n\n@Injectable()\nexport class TermsContentService {\n\n constructor(private httpClientService: HttpClientService) { }\n\n fetchtnc(tncUrl) {\n return this.httpClientService.get( (tncUrl: HttpResponse) => { tncUrl.body }).pipe(\n catchError( this.handleError ));\n }\n\n\n handleError = (error) => {\n return throwError(error);\n };\n\n}\n","export * from './timeout-popup.component';\nexport * from './timeout-popup.service';","import { Component, OnInit, Output, EventEmitter, ViewChild, Input } from '@angular/core';\nimport { TimeOutPopupService } from './timeout-popup.service';\n\ndeclare var initAriaHidden: any;\ndeclare var removeAriaHidden: any;\ndeclare var LOGOUT: any;\n\n@Component({\n selector: 'app-timeout-popup',\n templateUrl: './timeout-popup.component.html',\n styleUrls: ['./timeout-popup.component.scss']\n})\n\nexport class TimeOutPopUpComponent implements OnInit {\n @Output() tokenRefreshLink: EventEmitter = new EventEmitter();\n @ViewChild('sessionContainer', { static: true }) sessionContainerElement;\n @Input() envPortal: any = {};\n\n tPopup: any;\n logOutTimerModal: any;\n hdrFocusabbleElements: any;\n isIdleFlag: boolean;\n logoutAlertFlag: boolean;\n\n timeout = 20 * 60 * 1000;\n resetTime = 25 * 60 * 1000;\n // TEST TIMINGS\n // timeout = 5 * 1000;\n // resetTime = 15 * 1000;\n\n constructor(\n private timeoutPopupService: TimeOutPopupService\n ) {\n this.isIdleFlag = false;\n this.logoutAlertFlag = false;\n this.hdrFocusabbleElements = undefined;\n }\n\n ngOnInit() {\n this.timeoutPopupService.getTimeoutStatus().subscribe(\n (status: boolean) => {\n if (status) {\n this.resetTimerPopup();\n }\n },\n );\n this.checkAutoLogoutOut();\n }\n\n resetTimerPopup() {\n clearTimeout(this.tPopup);\n this.tPopup = setTimeout(() => {\n this.logOutPopup();\n }, this.resetTime );\n }\n\n logOutPopup() {\n if (sessionStorage.getItem('sapmp_jwtToken') != null) {\n this.alertOpenPopup();\n this.logOutTimerModal = setTimeout(() => {\n this.autoLogoutOutPopup();\n }, this.timeout);\n } else {\n this.resetTimerPopup();\n }\n }\n\n alertOpenPopup() {\n this.isIdleFlag = true;\n document.body.classList.add('modal-open');\n this.loadFocustelementsTimer();\n setTimeout(() => { initAriaHidden(); }, 500);\n }\n\n resetSessionTimerPopup() {\n this.alertClosePopup();\n clearTimeout(this.logOutTimerModal);\n this.tokenRefreshLink.next();\n this.resetTimerPopup();\n }\n\n alertClosePopup() {\n document.body.classList.remove('modal-open');\n removeAriaHidden();\n this.isIdleFlag = false;\n this.hdrFocusabbleElements = undefined;\n }\n\n autoLogoutOutPopup() {\n sessionStorage.setItem('sapmp_isAutoLogout', 'TRUE');\n window.location.href='/businessconsole/home';\n // var evt = new CustomEvent(\"logoutCurrentUser\");\n // document.dispatchEvent(evt);\n }\n\n // using 'sapmp_isAutoLogout' token only in this file to check whether the user is logged out due to inactivity\n logoutCurrentUserPopup(isConfirmPopUp?: boolean) {\n this.alertClosePopup();\n return;\n if (isConfirmPopUp) {\n if (this.envPortal.envVariable == 'fnabc') {\n // userLogout();\n // logoutHeaderChanges();\n this.logoutAlertOpenPopup();\n }\n else {\n //sessionStorage.setItem('sapmp_isAutoLogout', 'TRUE');\n // userLogout();\n setTimeout(() => {\n window.location.href = this.envPortal.baseUrl;\n }, 1000);\n }\n }\n else {\n this.autoLogoutOutPopup();\n }\n }\n\n checkAutoLogoutOut() {\n if (sessionStorage.getItem('sapmp_isAutoLogout') === 'TRUE') {\n this.logoutAlertOpenPopup();\n }\n }\n\n logoutAlertOpenPopup() {\n this.logoutAlertFlag = true;\n document.body.classList.add('modal-open');\n this.loadFocustelementsTimer();\n setTimeout(() => { initAriaHidden(); }, 500);\n }\n\n logoutAlertClosePopup() {\n document.body.classList.remove('modal-open');\n removeAriaHidden();\n if (this.envPortal.envVariable === 'fnabc') {\n setTimeout(() => {\n window.location.href = this.envPortal.redirectUrl;\n }, 1000);\n }\n this.logoutAlertFlag = false;\n this.hdrFocusabbleElements = undefined;\n sessionStorage.removeItem('sapmp_isAutoLogout');\n }\n\n\n // model focusing functionality\n loadFocustelementsTimer() {\n if (!this.hdrFocusabbleElements) {\n setTimeout(() => {\n const hdrFocusableEls = this.sessionContainerElement.nativeElement.querySelectorAll('a[href], area[href],' +\n ' input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), [tabindex=\"0\"]');\n this.hdrFocusabbleElements = Array.prototype.slice.call(hdrFocusableEls);\n if(this.isIdleFlag) {\n document.getElementById('timeoutContainerTitle').focus();\n }\n else if(this.logoutAlertFlag) {\n document.getElementById('logoutContainerTitle').focus();\n }\n });\n }\n }\n\n\n hdrHandleKeydownTimer(event) {\n const hdrFocussedEl = event.target;\n if (event.shiftKey && event.keyCode === 9) {\n if (hdrFocussedEl === this.hdrFocusabbleElements[0]) {\n event.preventDefault();\n this.hdrFocusabbleElements[this.hdrFocusabbleElements.length - 1].focus();\n }\n } else if (event.keyCode === 9) {\n console.log(this.hdrFocusabbleElements);\n if (hdrFocussedEl === this.hdrFocusabbleElements[this.hdrFocusabbleElements.length - 1]) {\n event.preventDefault();\n // hdrFocusabbleElements[hdrFocusabbleElements.length - 1].focus();\n this.hdrFocusabbleElements[0].focus();\n }\n }\n }\n}","
    \n
    \n
    \n
    \n
    \n

    Your session will end in 5 minutes

    \n
    \n
    To keep your session active and avoid losing any work you've done, click Continue.
    \n \n
    \n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n

    Session ended

    \n
    \n
    For security reasons, your session has ended due to inactivity. Your work will be lost. Please log in again.
    \n
    \n
    \n Close\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n","import { Injectable } from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\nimport { BehaviorSubject, Observable } from 'rxjs';\n\n@Injectable()\nexport class TimeOutPopupService {\n private timeoutStatus = new BehaviorSubject(false);\n public obvPopup: Observable = this.timeoutStatus.asObservable();\n\n constructor() {\n }\n\n setTimeoutStatus(value: boolean) {\n this.timeoutStatus.next(value);\n }\n\n getTimeoutStatus(): Observable {\n return this.obvPopup;\n }\n}","export * from './usage-bar.component';\n","import {\n Component, Input, Output, EventEmitter, OnInit,\n AfterViewInit, AfterViewChecked, ElementRef, OnChanges\n} from '@angular/core';\nimport { map, catchError } from 'rxjs/operators';\n\n\n\n@Component({\n selector: 'app-usage-bar',\n templateUrl: './usage-bar.component.html',\n styleUrls: ['./usage-bar.component.scss']\n})\nexport class UsageBarComponent implements OnInit, OnChanges { // [Anand] changed class name for standards\n\n @Input() totalValue: number;\n\n @Input() dynamicValue: number;\n\n @Input() leftText: string;\n\n @Input() rightText: string;\n\n @Input() valueDirection: string;\n\n barWidth: number;\n\n constructor() {\n }\n\n ngOnInit() {\n this.barWidth = (this.dynamicValue / this.totalValue) * 100;\n }\n\n ngOnChanges() {\n this.barWidth = (this.dynamicValue / this.totalValue) * 100;\n }\n\n\n}\n","
    \n \n {{leftText}} {{dynamicValue}} of {{totalValue}} {{rightText}} \n {{dynamicValue}} of {{totalValue}} {{rightText}} {{leftText}}\n
    \n
    \n
    \n
    \n","import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\nimport { enableProdMode } from '@angular/core';\nimport { environment } from './environments/environment';\nimport { AppModule } from './app/app.module';\n\nif (environment.production) {\n enableProdMode();\n}\n\nplatformBrowserDynamic().bootstrapModule(AppModule);\n","import { __rest } from 'tslib';\nimport * as i0 from '@angular/core';\nimport { Component, ContentChildren, Input, NgZone, Injectable, EventEmitter, ViewEncapsulation, Output, NgModule } from '@angular/core';\nimport { VanillaFrameworkOverrides, AgPromise, BaseComponentWrapper, ComponentUtil, Grid } from 'ag-grid-community';\n\nclass AgGridColumn {\n hasChildColumns() {\n if (this.childColumns && this.childColumns.length > 0) {\n // necessary because of https://github.com/angular/angular/issues/10098\n return !(this.childColumns.length === 1 && this.childColumns.first === this);\n }\n return false;\n }\n toColDef() {\n let colDef = this.createColDefFromGridColumn(this);\n if (this.hasChildColumns()) {\n colDef[\"children\"] = this.getChildColDefs(this.childColumns);\n }\n return colDef;\n }\n getChildColDefs(childColumns) {\n return childColumns\n // necessary because of https://github.com/angular/angular/issues/10098\n .filter(column => !column.hasChildColumns())\n .map((column) => {\n return column.toColDef();\n });\n }\n createColDefFromGridColumn(from) {\n let { childColumns } = from, colDef = __rest(from, [\"childColumns\"]);\n return colDef;\n }\n}\nAgGridColumn.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"12.2.16\", ngImport: i0, type: AgGridColumn, deps: [], target: i0.ɵɵFactoryTarget.Component });\nAgGridColumn.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"12.0.0\", version: \"12.2.16\", type: AgGridColumn, selector: \"ag-grid-column\", inputs: { filterFramework: \"filterFramework\", filterParams: \"filterParams\", floatingFilterComponent: \"floatingFilterComponent\", floatingFilterComponentParams: \"floatingFilterComponentParams\", floatingFilterComponentFramework: \"floatingFilterComponentFramework\", filter: \"filter\", headerName: \"headerName\", headerValueGetter: \"headerValueGetter\", headerTooltip: \"headerTooltip\", headerClass: \"headerClass\", suppressHeaderKeyboardEvent: \"suppressHeaderKeyboardEvent\", columnGroupShow: \"columnGroupShow\", toolPanelClass: \"toolPanelClass\", suppressColumnsToolPanel: \"suppressColumnsToolPanel\", suppressFiltersToolPanel: \"suppressFiltersToolPanel\", tooltipComponent: \"tooltipComponent\", tooltipComponentFramework: \"tooltipComponentFramework\", tooltipComponentParams: \"tooltipComponentParams\", children: \"children\", groupId: \"groupId\", openByDefault: \"openByDefault\", marryChildren: \"marryChildren\", headerGroupComponent: \"headerGroupComponent\", headerGroupComponentFramework: \"headerGroupComponentFramework\", headerGroupComponentParams: \"headerGroupComponentParams\", colId: \"colId\", field: \"field\", type: \"type\", valueGetter: \"valueGetter\", valueFormatter: \"valueFormatter\", refData: \"refData\", keyCreator: \"keyCreator\", equals: \"equals\", tooltipField: \"tooltipField\", tooltipValueGetter: \"tooltipValueGetter\", checkboxSelection: \"checkboxSelection\", showDisabledCheckboxes: \"showDisabledCheckboxes\", icons: \"icons\", suppressNavigable: \"suppressNavigable\", suppressKeyboardEvent: \"suppressKeyboardEvent\", suppressPaste: \"suppressPaste\", suppressFillHandle: \"suppressFillHandle\", hide: \"hide\", initialHide: \"initialHide\", lockVisible: \"lockVisible\", lockPosition: \"lockPosition\", suppressMovable: \"suppressMovable\", editable: \"editable\", valueSetter: \"valueSetter\", valueParser: \"valueParser\", cellEditor: \"cellEditor\", cellEditorFramework: \"cellEditorFramework\", cellEditorParams: \"cellEditorParams\", cellEditorSelector: \"cellEditorSelector\", singleClickEdit: \"singleClickEdit\", newValueHandler: \"newValueHandler\", cellEditorPopup: \"cellEditorPopup\", cellEditorPopupPosition: \"cellEditorPopupPosition\", onCellValueChanged: \"onCellValueChanged\", onCellClicked: \"onCellClicked\", onCellDoubleClicked: \"onCellDoubleClicked\", onCellContextMenu: \"onCellContextMenu\", getQuickFilterText: \"getQuickFilterText\", filterValueGetter: \"filterValueGetter\", floatingFilter: \"floatingFilter\", wrapHeaderText: \"wrapHeaderText\", autoHeaderHeight: \"autoHeaderHeight\", headerComponent: \"headerComponent\", headerComponentFramework: \"headerComponentFramework\", headerComponentParams: \"headerComponentParams\", menuTabs: \"menuTabs\", columnsMenuParams: \"columnsMenuParams\", suppressMenu: \"suppressMenu\", headerCheckboxSelection: \"headerCheckboxSelection\", headerCheckboxSelectionFilteredOnly: \"headerCheckboxSelectionFilteredOnly\", chartDataType: \"chartDataType\", pinned: \"pinned\", initialPinned: \"initialPinned\", lockPinned: \"lockPinned\", pinnedRowCellRenderer: \"pinnedRowCellRenderer\", pinnedRowCellRendererFramework: \"pinnedRowCellRendererFramework\", pinnedRowCellRendererParams: \"pinnedRowCellRendererParams\", pinnedRowValueFormatter: \"pinnedRowValueFormatter\", pivot: \"pivot\", initialPivot: \"initialPivot\", pivotIndex: \"pivotIndex\", initialPivotIndex: \"initialPivotIndex\", pivotComparator: \"pivotComparator\", enablePivot: \"enablePivot\", cellStyle: \"cellStyle\", cellClass: \"cellClass\", cellClassRules: \"cellClassRules\", cellRenderer: \"cellRenderer\", cellRendererFramework: \"cellRendererFramework\", cellRendererParams: \"cellRendererParams\", cellRendererSelector: \"cellRendererSelector\", autoHeight: \"autoHeight\", wrapText: \"wrapText\", enableCellChangeFlash: \"enableCellChangeFlash\", suppressCellFlash: \"suppressCellFlash\", rowDrag: \"rowDrag\", rowDragText: \"rowDragText\", dndSource: \"dndSource\", dndSourceOnRowDrag: \"dndSourceOnRowDrag\", rowGroup: \"rowGroup\", initialRowGroup: \"initialRowGroup\", rowGroupIndex: \"rowGroupIndex\", initialRowGroupIndex: \"initialRowGroupIndex\", enableRowGroup: \"enableRowGroup\", enableValue: \"enableValue\", aggFunc: \"aggFunc\", initialAggFunc: \"initialAggFunc\", defaultAggFunc: \"defaultAggFunc\", allowedAggFuncs: \"allowedAggFuncs\", showRowGroup: \"showRowGroup\", sortable: \"sortable\", sort: \"sort\", initialSort: \"initialSort\", sortIndex: \"sortIndex\", initialSortIndex: \"initialSortIndex\", sortingOrder: \"sortingOrder\", comparator: \"comparator\", unSortIcon: \"unSortIcon\", sortedAt: \"sortedAt\", colSpan: \"colSpan\", rowSpan: \"rowSpan\", width: \"width\", initialWidth: \"initialWidth\", minWidth: \"minWidth\", maxWidth: \"maxWidth\", flex: \"flex\", initialFlex: \"initialFlex\", resizable: \"resizable\", suppressSizeToFit: \"suppressSizeToFit\", suppressAutoSize: \"suppressAutoSize\" }, queries: [{ propertyName: \"childColumns\", predicate: AgGridColumn }], ngImport: i0, template: '', isInline: true });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"12.2.16\", ngImport: i0, type: AgGridColumn, decorators: [{\n type: Component,\n args: [{\n selector: 'ag-grid-column',\n template: ''\n }]\n }], propDecorators: { childColumns: [{\n type: ContentChildren,\n args: [AgGridColumn]\n }], filterFramework: [{\n type: Input\n }], filterParams: [{\n type: Input\n }], floatingFilterComponent: [{\n type: Input\n }], floatingFilterComponentParams: [{\n type: Input\n }], floatingFilterComponentFramework: [{\n type: Input\n }], filter: [{\n type: Input\n }], headerName: [{\n type: Input\n }], headerValueGetter: [{\n type: Input\n }], headerTooltip: [{\n type: Input\n }], headerClass: [{\n type: Input\n }], suppressHeaderKeyboardEvent: [{\n type: Input\n }], columnGroupShow: [{\n type: Input\n }], toolPanelClass: [{\n type: Input\n }], suppressColumnsToolPanel: [{\n type: Input\n }], suppressFiltersToolPanel: [{\n type: Input\n }], tooltipComponent: [{\n type: Input\n }], tooltipComponentFramework: [{\n type: Input\n }], tooltipComponentParams: [{\n type: Input\n }], children: [{\n type: Input\n }], groupId: [{\n type: Input\n }], openByDefault: [{\n type: Input\n }], marryChildren: [{\n type: Input\n }], headerGroupComponent: [{\n type: Input\n }], headerGroupComponentFramework: [{\n type: Input\n }], headerGroupComponentParams: [{\n type: Input\n }], colId: [{\n type: Input\n }], field: [{\n type: Input\n }], type: [{\n type: Input\n }], valueGetter: [{\n type: Input\n }], valueFormatter: [{\n type: Input\n }], refData: [{\n type: Input\n }], keyCreator: [{\n type: Input\n }], equals: [{\n type: Input\n }], tooltipField: [{\n type: Input\n }], tooltipValueGetter: [{\n type: Input\n }], checkboxSelection: [{\n type: Input\n }], showDisabledCheckboxes: [{\n type: Input\n }], icons: [{\n type: Input\n }], suppressNavigable: [{\n type: Input\n }], suppressKeyboardEvent: [{\n type: Input\n }], suppressPaste: [{\n type: Input\n }], suppressFillHandle: [{\n type: Input\n }], hide: [{\n type: Input\n }], initialHide: [{\n type: Input\n }], lockVisible: [{\n type: Input\n }], lockPosition: [{\n type: Input\n }], suppressMovable: [{\n type: Input\n }], editable: [{\n type: Input\n }], valueSetter: [{\n type: Input\n }], valueParser: [{\n type: Input\n }], cellEditor: [{\n type: Input\n }], cellEditorFramework: [{\n type: Input\n }], cellEditorParams: [{\n type: Input\n }], cellEditorSelector: [{\n type: Input\n }], singleClickEdit: [{\n type: Input\n }], newValueHandler: [{\n type: Input\n }], cellEditorPopup: [{\n type: Input\n }], cellEditorPopupPosition: [{\n type: Input\n }], onCellValueChanged: [{\n type: Input\n }], onCellClicked: [{\n type: Input\n }], onCellDoubleClicked: [{\n type: Input\n }], onCellContextMenu: [{\n type: Input\n }], getQuickFilterText: [{\n type: Input\n }], filterValueGetter: [{\n type: Input\n }], floatingFilter: [{\n type: Input\n }], wrapHeaderText: [{\n type: Input\n }], autoHeaderHeight: [{\n type: Input\n }], headerComponent: [{\n type: Input\n }], headerComponentFramework: [{\n type: Input\n }], headerComponentParams: [{\n type: Input\n }], menuTabs: [{\n type: Input\n }], columnsMenuParams: [{\n type: Input\n }], suppressMenu: [{\n type: Input\n }], headerCheckboxSelection: [{\n type: Input\n }], headerCheckboxSelectionFilteredOnly: [{\n type: Input\n }], chartDataType: [{\n type: Input\n }], pinned: [{\n type: Input\n }], initialPinned: [{\n type: Input\n }], lockPinned: [{\n type: Input\n }], pinnedRowCellRenderer: [{\n type: Input\n }], pinnedRowCellRendererFramework: [{\n type: Input\n }], pinnedRowCellRendererParams: [{\n type: Input\n }], pinnedRowValueFormatter: [{\n type: Input\n }], pivot: [{\n type: Input\n }], initialPivot: [{\n type: Input\n }], pivotIndex: [{\n type: Input\n }], initialPivotIndex: [{\n type: Input\n }], pivotComparator: [{\n type: Input\n }], enablePivot: [{\n type: Input\n }], cellStyle: [{\n type: Input\n }], cellClass: [{\n type: Input\n }], cellClassRules: [{\n type: Input\n }], cellRenderer: [{\n type: Input\n }], cellRendererFramework: [{\n type: Input\n }], cellRendererParams: [{\n type: Input\n }], cellRendererSelector: [{\n type: Input\n }], autoHeight: [{\n type: Input\n }], wrapText: [{\n type: Input\n }], enableCellChangeFlash: [{\n type: Input\n }], suppressCellFlash: [{\n type: Input\n }], rowDrag: [{\n type: Input\n }], rowDragText: [{\n type: Input\n }], dndSource: [{\n type: Input\n }], dndSourceOnRowDrag: [{\n type: Input\n }], rowGroup: [{\n type: Input\n }], initialRowGroup: [{\n type: Input\n }], rowGroupIndex: [{\n type: Input\n }], initialRowGroupIndex: [{\n type: Input\n }], enableRowGroup: [{\n type: Input\n }], enableValue: [{\n type: Input\n }], aggFunc: [{\n type: Input\n }], initialAggFunc: [{\n type: Input\n }], defaultAggFunc: [{\n type: Input\n }], allowedAggFuncs: [{\n type: Input\n }], showRowGroup: [{\n type: Input\n }], sortable: [{\n type: Input\n }], sort: [{\n type: Input\n }], initialSort: [{\n type: Input\n }], sortIndex: [{\n type: Input\n }], initialSortIndex: [{\n type: Input\n }], sortingOrder: [{\n type: Input\n }], comparator: [{\n type: Input\n }], unSortIcon: [{\n type: Input\n }], sortedAt: [{\n type: Input\n }], colSpan: [{\n type: Input\n }], rowSpan: [{\n type: Input\n }], width: [{\n type: Input\n }], initialWidth: [{\n type: Input\n }], minWidth: [{\n type: Input\n }], maxWidth: [{\n type: Input\n }], flex: [{\n type: Input\n }], initialFlex: [{\n type: Input\n }], resizable: [{\n type: Input\n }], suppressSizeToFit: [{\n type: Input\n }], suppressAutoSize: [{\n type: Input\n }] } });\n\nclass AngularFrameworkOverrides extends VanillaFrameworkOverrides {\n constructor(_ngZone) {\n super();\n this._ngZone = _ngZone;\n }\n setEmitterUsedCallback(isEmitterUsed) {\n this.isEmitterUsed = isEmitterUsed;\n }\n setTimeout(action, timeout) {\n if (this._ngZone) {\n this._ngZone.runOutsideAngular(() => {\n window.setTimeout(() => {\n action();\n }, timeout);\n });\n }\n else {\n window.setTimeout(() => {\n action();\n }, timeout);\n }\n }\n setInterval(action, interval) {\n return new AgPromise(resolve => {\n if (this._ngZone) {\n this._ngZone.runOutsideAngular(() => {\n resolve(window.setInterval(() => {\n action();\n }, interval));\n });\n }\n else {\n resolve(window.setInterval(() => {\n action();\n }, interval));\n }\n });\n }\n addEventListener(element, eventType, listener, useCapture) {\n if (this.isOutsideAngular(eventType) && this._ngZone) {\n this._ngZone.runOutsideAngular(() => {\n element.addEventListener(eventType, listener, useCapture);\n });\n }\n else {\n element.addEventListener(eventType, listener, useCapture);\n }\n }\n dispatchEvent(eventType, listener, global = false) {\n if (this.isOutsideAngular(eventType)) {\n if (this._ngZone) {\n this._ngZone.runOutsideAngular(listener);\n }\n else {\n listener();\n }\n }\n else if (this.isEmitterUsed(eventType) || global) {\n // only trigger off events (and potentially change detection) if actually used\n if (!NgZone.isInAngularZone() && this._ngZone) {\n this._ngZone.run(listener);\n }\n else {\n listener();\n }\n }\n }\n isFrameworkComponent(comp) {\n if (!comp) {\n return false;\n }\n const prototype = comp.prototype;\n const isAngularComp = prototype && 'agInit' in prototype;\n return isAngularComp;\n }\n}\nAngularFrameworkOverrides.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"12.2.16\", ngImport: i0, type: AngularFrameworkOverrides, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });\nAngularFrameworkOverrides.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"12.2.16\", ngImport: i0, type: AngularFrameworkOverrides });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"12.2.16\", ngImport: i0, type: AngularFrameworkOverrides, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: i0.NgZone }]; } });\n\nclass AngularFrameworkComponentWrapper extends BaseComponentWrapper {\n setViewContainerRef(viewContainerRef) {\n this.viewContainerRef = viewContainerRef;\n }\n setComponentFactoryResolver(componentFactoryResolver) {\n this.componentFactoryResolver = componentFactoryResolver;\n }\n createWrapper(OriginalConstructor) {\n let that = this;\n class DynamicAgNg2Component extends BaseGuiComponent {\n init(params) {\n super.init(params);\n this._componentRef.changeDetectorRef.detectChanges();\n }\n createComponent() {\n return that.createComponent(OriginalConstructor);\n }\n hasMethod(name) {\n return wrapper.getFrameworkComponentInstance()[name] != null;\n }\n callMethod(name, args) {\n const componentRef = this.getFrameworkComponentInstance();\n return wrapper.getFrameworkComponentInstance()[name].apply(componentRef, args);\n }\n addMethod(name, callback) {\n wrapper[name] = callback;\n }\n }\n let wrapper = new DynamicAgNg2Component();\n return wrapper;\n }\n createComponent(componentType) {\n // used to cache the factory, but this a) caused issues when used with either webpack/angularcli with --prod\n // but more significantly, the underlying implementation of resolveComponentFactory uses a map too, so us\n // caching the factory here yields no performance benefits\n let factory = this.componentFactoryResolver.resolveComponentFactory(componentType);\n return this.viewContainerRef.createComponent(factory);\n }\n}\nAngularFrameworkComponentWrapper.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"12.2.16\", ngImport: i0, type: AngularFrameworkComponentWrapper, deps: null, target: i0.ɵɵFactoryTarget.Injectable });\nAngularFrameworkComponentWrapper.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"12.2.16\", ngImport: i0, type: AngularFrameworkComponentWrapper });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"12.2.16\", ngImport: i0, type: AngularFrameworkComponentWrapper, decorators: [{\n type: Injectable\n }] });\nclass BaseGuiComponent {\n init(params) {\n this._params = params;\n this._componentRef = this.createComponent();\n this._agAwareComponent = this._componentRef.instance;\n this._frameworkComponentInstance = this._componentRef.instance;\n this._eGui = this._componentRef.location.nativeElement;\n this._agAwareComponent.agInit(this._params);\n }\n getGui() {\n return this._eGui;\n }\n destroy() {\n if (this._frameworkComponentInstance && typeof this._frameworkComponentInstance.destroy === 'function') {\n this._frameworkComponentInstance.destroy();\n }\n if (this._componentRef) {\n this._componentRef.destroy();\n }\n }\n getFrameworkComponentInstance() {\n return this._frameworkComponentInstance;\n }\n}\n\nclass AgGridAngular {\n constructor(elementDef, viewContainerRef, angularFrameworkOverrides, frameworkComponentWrapper, componentFactoryResolver) {\n this.viewContainerRef = viewContainerRef;\n this.angularFrameworkOverrides = angularFrameworkOverrides;\n this.frameworkComponentWrapper = frameworkComponentWrapper;\n this.componentFactoryResolver = componentFactoryResolver;\n this._initialised = false;\n this._destroyed = false;\n // in order to ensure firing of gridReady is deterministic\n this._fullyReady = AgPromise.resolve(true);\n // @START@\n /** Specifies the status bar components to use in the status bar. */\n this.statusBar = undefined;\n /** Specifies the side bar components. */\n this.sideBar = undefined;\n /** Set to `true` to not show the context menu. Use if you don't want to use the default 'right click' context menu. Default: `false` */\n this.suppressContextMenu = undefined;\n /** When using `suppressContextMenu`, you can use the `onCellContextMenu` function to provide your own code to handle cell `contextmenu` events.\n * This flag is useful to prevent the browser from showing its default context menu.\n * Default: `false` */\n this.preventDefaultOnContextMenu = undefined;\n /** Allows context menu to show, even when `Ctrl` key is held down. Default: `false` */\n this.allowContextMenuWithControlKey = undefined;\n /** Set to `true` to always show the column menu button, rather than only showing when the mouse is over the column header. Default: `false` */\n this.suppressMenuHide = undefined;\n /** Set to `true` to use the browser's default tooltip instead of using the grid's Tooltip Component. Default: `false` */\n this.enableBrowserTooltips = undefined;\n /** The delay in milliseconds that it takes for tooltips to show up once an element is hovered over.\n * **Note:** This property does not work if `enableBrowserTooltips` is `true`.\n * Default: `2000` */\n this.tooltipShowDelay = undefined;\n /** The delay in milliseconds that it takes for tooltips to hide once they have been displayed.\n * **Note:** This property does not work if `enableBrowserTooltips` is `true`.\n * Default: `10000` */\n this.tooltipHideDelay = undefined;\n /** Set to `true` to have tooltips follow the cursor once they are displayed. Default: `false` */\n this.tooltipMouseTrack = undefined;\n /** DOM element to use as the popup parent for grid popups (context menu, column menu etc). */\n this.popupParent = undefined;\n /** Set to `true` to also include headers when copying to clipboard using `Ctrl + C` clipboard. Default: `false` */\n this.copyHeadersToClipboard = undefined;\n /** Set to `true` to also include group headers when copying to clipboard using `Ctrl + C` clipboard. Default: `false` */\n this.copyGroupHeadersToClipboard = undefined;\n /** Specify the delimiter to use when copying to clipboard.\n * Default: `\\t` */\n this.clipboardDelimiter = undefined;\n /** Set to `true` to copy the cell range or focused cell to the clipboard and never the selected rows. Default: `false` */\n this.suppressCopyRowsToClipboard = undefined;\n /** Set to `true` to copy rows instead of ranges when a range with only a single cell is selected. Default: `false` */\n this.suppressCopySingleCellRanges = undefined;\n /** Set to `true` to work around a bug with Excel (Windows) that adds an extra empty line at the end of ranges copied to the clipboard. Default: `false` */\n this.suppressLastEmptyLineOnPaste = undefined;\n /** Set to `true` to turn off paste operations within the grid. */\n this.suppressClipboardPaste = undefined;\n /** Set to `true` to stop the grid trying to use the Clipboard API, if it is blocked, and immediately fallback to the workaround. */\n this.suppressClipboardApi = undefined;\n /** Array of Column / Column Group definitions. */\n this.columnDefs = undefined;\n /** A default column definition. Items defined in the actual column definitions get precedence. */\n this.defaultColDef = undefined;\n /** A default column group definition. All column group definitions will use these properties. Items defined in the actual column group definition get precedence. */\n this.defaultColGroupDef = undefined;\n /** An object map of custom column types which contain groups of properties that column definitions can inherit by referencing in their `type` property. */\n this.columnTypes = undefined;\n /** Keeps the order of Columns maintained after new Column Definitions are updated. Default: `false` */\n this.maintainColumnOrder = undefined;\n /** If `true`, then dots in field names (e.g. `'address.firstLine'`) are not treated as deep references. Allows you to use dots in your field name if you prefer. Default: `false` */\n this.suppressFieldDotNotation = undefined;\n /** @deprecated */\n this.deltaColumnMode = undefined;\n /** @deprecated */\n this.applyColumnDefOrder = undefined;\n /** @deprecated */\n this.immutableColumns = undefined;\n /** @deprecated */\n this.suppressSetColumnStateEvents = undefined;\n /** @deprecated */\n this.suppressColumnStateEvents = undefined;\n /** @deprecated Set via `defaultColDef.width` */\n this.colWidth = undefined;\n /** @deprecated Set via `defaultColDef.minWidth` */\n this.minColWidth = undefined;\n /** @deprecated Set via `defaultColDef.maxWidth` */\n this.maxColWidth = undefined;\n /** The height in pixels for the row containing the column label header. If not specified, it uses the theme value of `header-height`. */\n this.headerHeight = undefined;\n /** The height in pixels for the rows containing header column groups. If not specified, it uses `headerHeight`. */\n this.groupHeaderHeight = undefined;\n /** The height in pixels for the row containing the floating filters. If not specified, it uses the theme value of `header-height`. */\n this.floatingFiltersHeight = undefined;\n /** The height in pixels for the row containing the columns when in pivot mode. If not specified, it uses `headerHeight`. */\n this.pivotHeaderHeight = undefined;\n /** The height in pixels for the row containing header column groups when in pivot mode. If not specified, it uses `groupHeaderHeight`. */\n this.pivotGroupHeaderHeight = undefined;\n /** Allow reordering and pinning columns by dragging columns from the Columns Tool Panel to the grid. Default: `false` */\n this.allowDragFromColumnsToolPanel = undefined;\n /** Set to `true` to suppress column moving, i.e. to make the columns fixed position. Default: `false` */\n this.suppressMovableColumns = undefined;\n /** If `true`, the `ag-column-moving` class is not added to the grid while columns are moving. In the default themes, this results in no animation when moving columns. Default: `false` */\n this.suppressColumnMoveAnimation = undefined;\n /** If `true`, when you drag a column out of the grid (e.g. to the group zone) the column is not hidden. Default: `false` */\n this.suppressDragLeaveHidesColumns = undefined;\n /** If `true`, when you drag a column into a row group panel the column is not hidden. Default: `false` */\n this.suppressRowGroupHidesColumns = undefined;\n /** Set to `'shift'` to have shift-resize as the default resize operation (same as user holding down `Shift` while resizing). */\n this.colResizeDefault = undefined;\n /** Suppresses auto-sizing columns for columns. In other words, double clicking a column's header's edge will not auto-size. Default: `false` */\n this.suppressAutoSize = undefined;\n /** Number of pixels to add to a column width after the [auto-sizing](/column-sizing/#auto-size-columns) calculation.\n * Set this if you want to add extra room to accommodate (for example) sort icons, or some other dynamic nature of the header.\n * Default: `4` */\n this.autoSizePadding = undefined;\n /** Set this to `true` to skip the `headerName` when `autoSize` is called by default. Default: `false` */\n this.skipHeaderOnAutoSize = undefined;\n /** A map of component names to components. */\n this.components = undefined;\n /** @deprecated As of v27, use `components` for framework components too. */\n this.frameworkComponents = undefined;\n /** Set to `'fullRow'` to enable Full Row Editing. Otherwise leave blank to edit one cell at a time. */\n this.editType = undefined;\n /** Set to `true` to enable Single Click Editing for cells, to start editing with a single click. Default: `false` */\n this.singleClickEdit = undefined;\n /** Set to `true` so that neither single nor double click starts editing. Default: `false` */\n this.suppressClickEdit = undefined;\n /** Set to `true` so stop the grid updating data after and edit. When this is set, it is intended the application will update the data, eg in an external immutable store, and then pass the new dataset to the grid. */\n this.readOnlyEdit = undefined;\n /** Set this to `true` to stop cell editing when grid loses focus.\n * The default is that the grid stays editing until focus goes onto another cell.\n * Default: `false` */\n this.stopEditingWhenCellsLoseFocus = undefined;\n /** Set to `true` along with `enterMovesDownAfterEdit` to have Excel-style behaviour for the `Enter` key.\n * i.e. pressing the `Enter` key will move down to the cell beneath.\n * Default: `false` */\n this.enterMovesDown = undefined;\n /** Set to `true` along with `enterMovesDown` to have Excel-style behaviour for the 'Enter' key.\n * i.e. pressing the Enter key will move down to the cell beneath.\n * Default: `false` */\n this.enterMovesDownAfterEdit = undefined;\n /** Forces Cell Editing to start when backspace is pressed. This is only relevant for MacOS users. */\n this.enableCellEditingOnBackspace = undefined;\n /** Set to `true` to enable Undo / Redo while editing. */\n this.undoRedoCellEditing = undefined;\n /** Set the size of the undo / redo stack. Default: `10` */\n this.undoRedoCellEditingLimit = undefined;\n /** @deprecated Use stopEditingWhenCellsLoseFocus instead */\n this.stopEditingWhenGridLosesFocus = undefined;\n /** A default configuration object used to export to CSV. */\n this.defaultCsvExportParams = undefined;\n /** Prevents the user from exporting the grid to CSV. Default: `false` */\n this.suppressCsvExport = undefined;\n /** A default configuration object used to export to Excel. */\n this.defaultExcelExportParams = undefined;\n /** Prevents the user from exporting the grid to Excel. Default: `false` */\n this.suppressExcelExport = undefined;\n /** A list (array) of Excel styles to be used when exporting to Excel with styles. */\n this.excelStyles = undefined;\n /** @deprecated Use defaultCsvExportParams or defaultExcelExportParams */\n this.defaultExportParams = undefined;\n /** Rows are filtered using this text as a quick filter. */\n this.quickFilterText = undefined;\n /** Set to `true` to turn on the quick filter cache, used to improve performance when using the quick filter. Default: `false` */\n this.cacheQuickFilter = undefined;\n /** Set to `true` to override the default tree data filtering behaviour to instead exclude child nodes from filter results. Default: `false` */\n this.excludeChildrenWhenTreeDataFiltering = undefined;\n /** Set to `true` to Enable Charts. Default: `false` */\n this.enableCharts = undefined;\n /** The list of chart themes to be used. */\n this.chartThemes = undefined;\n /** A map containing custom chart themes. */\n this.customChartThemes = undefined;\n /** Chart theme overrides applied to all themes. */\n this.chartThemeOverrides = undefined;\n /** Set to `true` to show the Chart Tool Panels button. Note this will also remove the 'hamburger' menu option from the Chart Toolbar and always display the remaining toolbar buttons. Default: `false` */\n this.enableChartToolPanelsButton = undefined;\n /** Allows customisation of the Chart Tool Panels, such as changing the tool panels visibility and order, as well as choosing which charts should be displayed in the settings panel. */\n this.chartToolPanelsDef = undefined;\n /** Provide your own loading cell renderer to use when data is loading via a DataSource.\n * See [Loading Cell Renderer](https://www.ag-grid.com/javascript-data-grid/component-loading-cell-renderer/) for framework specific implementation details. */\n this.loadingCellRenderer = undefined;\n /** @deprecated As of v27, use `loadingCellRenderer` for framework components too. */\n this.loadingCellRendererFramework = undefined;\n /** Params to be passed to the `loadingCellRenderer` component. */\n this.loadingCellRendererParams = undefined;\n /** Callback to select which loading cell renderer to be used when data is loading via a DataSource. */\n this.loadingCellRendererSelector = undefined;\n /** A map of key->value pairs for localising text within the grid. */\n this.localeText = undefined;\n /** Set to `true` to enable Master Detail. Default: `false` */\n this.masterDetail = undefined;\n /** Set to `true` to keep detail rows for when they are displayed again. Default: `false` */\n this.keepDetailRows = undefined;\n /** Sets the number of details rows to keep. Default: `10` */\n this.keepDetailRowsCount = undefined;\n /** Provide a custom `detailCellRenderer` to use when a master row is expanded.\n * See [Detail Cell Renderer](https://www.ag-grid.com/javascript-data-grid/master-detail-custom-detail/) for framework specific implementation details. */\n this.detailCellRenderer = undefined;\n /** @deprecated As of v27, use `detailCellRenderer` for framework components too. */\n this.detailCellRendererFramework = undefined;\n /** Specifies the params to be used by the Detail Cell Renderer. Can also be a function that provides the params to enable dynamic definitions of the params. */\n this.detailCellRendererParams = undefined;\n /** Set fixed height in pixels for each detail row. */\n this.detailRowHeight = undefined;\n /** Set to `true` to have the detail grid dynamically change it's height to fit it's rows. */\n this.detailRowAutoHeight = undefined;\n /** Provides a context object that is provided to different callbacks the grid uses. Used for passing additional information to the callbacks by your application. */\n this.context = undefined;\n /** A list of grids to treat as Aligned Grids. If grids are aligned then the columns and horizontal scrolling will be kept in sync. */\n this.alignedGrids = undefined;\n /** Change this value to set the tabIndex order of the Grid within your application. Default: `0` */\n this.tabIndex = undefined;\n /** The number of rows rendered outside the viewable area the grid renders.\n * Having a buffer means the grid will have rows ready to show as the user slowly scrolls vertically.\n * Default: `10` */\n this.rowBuffer = undefined;\n /** Set to `true` to turn on the value cache. Default: `false` */\n this.valueCache = undefined;\n /** Set to `true` to configure the value cache to not expire after data updates. Default: `false` */\n this.valueCacheNeverExpires = undefined;\n /** Set to `true` to allow cell expressions. Default: `false` */\n this.enableCellExpressions = undefined;\n /** If `true`, row nodes do not have their parents set.\n * The grid doesn't use the parent reference, but it is included to help the client code navigate the node tree if it wants by providing bi-direction navigation up and down the tree.\n * If this is a problem (e.g. if you need to convert the tree to JSON, which does not allow cyclic dependencies) then set this to `true`.\n * Default: `false` */\n this.suppressParentsInRowNodes = undefined;\n /** Disables touch support (but does not remove the browser's efforts to simulate mouse events on touch). Default: `false` */\n this.suppressTouch = undefined;\n /** Set to `true` to not set focus back on the grid after a refresh. This can avoid issues where you want to keep the focus on another part of the browser. Default: `false` */\n this.suppressFocusAfterRefresh = undefined;\n /** Disables the asynchronous nature of the events introduced in v10, and makes them synchronous. This property only exists for the purpose of supporting legacy code which has a dependency on synchronous events from earlier versions (v9 or earlier) of AG Grid. **It is strongly recommended that you do not change this property unless you have legacy issues.** Default: `false` */\n this.suppressAsyncEvents = undefined;\n /** The grid will check for `ResizeObserver` and use it if it exists in the browser, otherwise it will use the grid's alternative implementation. Some users reported issues with Chrome's `ResizeObserver`. Use this property to always use the grid's alternative implementation should such problems exist. Default: `false` */\n this.suppressBrowserResizeObserver = undefined;\n /** Disables showing a warning message in the console if using a `gridOptions` or `colDef` property that doesn't exist. Default: `false` */\n this.suppressPropertyNamesCheck = undefined;\n /** Disables change detection. Default: `false` */\n this.suppressChangeDetection = undefined;\n /** Set this to `true` to enable debug information from the grid and related components. Will result in additional logging being output, but very useful when investigating problems. Default: `false` */\n this.debug = undefined;\n /** Provide a template for 'loading' overlay. */\n this.overlayLoadingTemplate = undefined;\n /** Provide a custom loading overlay component.\n * See [Loading Overlay Component](https://www.ag-grid.com/javascript-data-grid/component-overlay/#simple-loading-overlay-component) for framework specific implementation details. */\n this.loadingOverlayComponent = undefined;\n /** @deprecated As of v27, use `loadingOverlayComponent` for framework components too. */\n this.loadingOverlayComponentFramework = undefined;\n /** Customise the parameters provided to the loading overlay component. */\n this.loadingOverlayComponentParams = undefined;\n /** Disables the 'loading' overlay. Default: `false` */\n this.suppressLoadingOverlay = undefined;\n /** Provide a template for 'no rows' overlay. */\n this.overlayNoRowsTemplate = undefined;\n /** Provide a custom no rows overlay component.\n * See [No Rows Overlay Component](https://www.ag-grid.com/javascript-data-grid/component-overlay/#simple-no-rows-overlay-component) for framework specific implementation details. */\n this.noRowsOverlayComponent = undefined;\n /** @deprecated As of v27, use `noRowsOverlayComponent` for framework components too. */\n this.noRowsOverlayComponentFramework = undefined;\n /** Customise the parameters provided to the no rows overlay component. */\n this.noRowsOverlayComponentParams = undefined;\n /** Disables the 'no rows' overlay. Default: `false` */\n this.suppressNoRowsOverlay = undefined;\n /** Set whether pagination is enabled. Default: `false` */\n this.pagination = undefined;\n /** How many rows to load per page. If `paginationAutoPageSize` is specified, this property is ignored. Default: `100` */\n this.paginationPageSize = undefined;\n /** Set to `true` so that the number of rows to load per page is automatically adjusted by the grid so each page shows enough rows to just fill the area designated for the grid. If `false`, `paginationPageSize` is used. Default: `false` */\n this.paginationAutoPageSize = undefined;\n /** Set to `true` to have pages split children of groups when using Row Grouping or detail rows with Master Detail. Default: `false` */\n this.paginateChildRows = undefined;\n /** If `true`, the default grid controls for navigation are hidden.\n * This is useful if `pagination=true` and you want to provide your own pagination controls.\n * Otherwise, when `pagination=true` the grid automatically shows the necessary controls at the bottom so that the user can navigate through the different pages.\n * Default: `false` */\n this.suppressPaginationPanel = undefined;\n /** Set to `true` to enable pivot mode. Default: `false` */\n this.pivotMode = undefined;\n /** When to show the 'pivot panel' (where you drag rows to pivot) at the top. Note that the pivot panel will never show if `pivotMode` is off. Default: `never` */\n this.pivotPanelShow = undefined;\n /** When set and the grid is in pivot mode, automatically calculated totals will appear within the Pivot Column Groups, in the position specified. */\n this.pivotColumnGroupTotals = undefined;\n /** When set and the grid is in pivot mode, automatically calculated totals will appear for each value column in the position specified. */\n this.pivotRowTotals = undefined;\n /** If `true`, the grid will not swap in the grouping column when pivoting. Useful if pivoting using Server Side Row Model or Viewport Row Model and you want full control of all columns including the group column. Default: `false` */\n this.pivotSuppressAutoColumn = undefined;\n /** When enabled, pivot column groups will appear 'fixed', without the ability to expand and collapse the column groups. Default: `false` */\n this.suppressExpandablePivotGroups = undefined;\n /** If `true`, then row group, pivot and value aggregation will be read-only from the GUI. The grid will display what values are used for each, but will not allow the user to change the selection. Default: `false` */\n this.functionsReadOnly = undefined;\n /** A map of 'function name' to 'function' for custom aggregation functions. */\n this.aggFuncs = undefined;\n /** When `true`, column headers won't include the `aggFunc` name, e.g. `'sum(Bank Balance)`' will just be `'Bank Balance'`. Default: `false` */\n this.suppressAggFuncInHeader = undefined;\n /** When `true`, the aggregations won't be computed for the root node of the grid. Default: `false` */\n this.suppressAggAtRootLevel = undefined;\n /** When using change detection, only the updated column will be re-aggregated. Default: `false` */\n this.aggregateOnlyChangedColumns = undefined;\n /** Set to `true` so that aggregations are not impacted by filtering. Default: `false` */\n this.suppressAggFilteredOnly = undefined;\n /** Set to `true` to omit the value Column header when there is only a single value column. Default: `false` */\n this.removePivotHeaderRowWhenSingleValueColumn = undefined;\n /** Set to `true` to enable Row Animation. Default: `false` */\n this.animateRows = undefined;\n /** Set to `true` to have cells flash after data changes. Default: `false` */\n this.enableCellChangeFlash = undefined;\n /** To be used in combination with `enableCellChangeFlash`, this configuration will set the delay in milliseconds of how long a cell should remain in its \"flashed\" state.\n * Default: `500` */\n this.cellFlashDelay = undefined;\n /** To be used in combination with `enableCellChangeFlash`, this configuration will set the delay in milliseconds of how long the \"flashed\" state animation takes to fade away after the timer set by `cellFlashDelay` has completed.\n * Default: `1000` */\n this.cellFadeDelay = undefined;\n /** Set to `true` to have cells flash after data changes even when the change is due to filtering. Default: `false` */\n this.allowShowChangeAfterFilter = undefined;\n /** Switch between layout options: `normal`, `autoHeight`, `print`.\n * Default: `normal` */\n this.domLayout = undefined;\n /** When `true`, the order of rows and columns in the DOM are consistent with what is on screen. Default: `false` */\n this.ensureDomOrder = undefined;\n /** Set to `true` to operate the grid in RTL (Right to Left) mode. Default: `false` */\n this.enableRtl = undefined;\n /** Set to `true` so that the grid doesn't virtualise the columns. For example, if you have 100 columns, but only 10 visible due to scrolling, all 100 will always be rendered. Default: `false` */\n this.suppressColumnVirtualisation = undefined;\n /** By default the grid has a limit of rendering a maximum of 500 rows at once (remember the grid only renders rows you can see, so unless your display shows more than 500 rows without vertically scrolling this will never be an issue).\n *
    **This is only relevant if you are manually setting `rowBuffer` to a high value (rendering more rows than can be seen), or `suppressRowVirtualisation` is true, or if your grid height is able to display more than 500 rows at once.**\n * Default: `false` */\n this.suppressMaxRenderedRowRestriction = undefined;\n /** Set to `true` so that the grid doesn't virtualise the rows. For example, if you have 100 rows, but only 10 visible due to scrolling, all 100 will always be rendered. Default: `false` */\n this.suppressRowVirtualisation = undefined;\n /** Set to `true` to enable Managed Row Dragging. Default: `false` */\n this.rowDragManaged = undefined;\n /** Set to `true` to suppress row dragging. Default: `false` */\n this.suppressRowDrag = undefined;\n /** Set to `true` to suppress moving rows while dragging the `rowDrag` waffle. This option highlights the position where the row will be placed and it will only move the row on mouse up. Default: `false` */\n this.suppressMoveWhenRowDragging = undefined;\n /** Set to `true` to enable clicking and dragging anywhere on the row without the need for a drag handle. Default: `false` */\n this.rowDragEntireRow = undefined;\n /** Set to `true` to enable dragging multiple rows at the same time. Default: `false` */\n this.rowDragMultiRow = undefined;\n /** A callback that should return a string to be displayed by the `rowDragComp` while dragging a row.\n * If this callback is not set, the current cell value will be used.\n * If the `rowDragText` callback is set in the ColDef it will take precedence over this, except when\n * `rowDragEntireRow=true`. */\n this.rowDragText = undefined;\n /** Provide your own cell renderer component to use for full width rows.\n * See [Full Width Rows](https://www.ag-grid.com/javascript-data-grid/full-width-rows/) for framework specific implementation details. */\n this.fullWidthCellRenderer = undefined;\n /** @deprecated As of v27, use `fullWidthCellRenderer` for framework components too. */\n this.fullWidthCellRendererFramework = undefined;\n /** Customise the parameters provided to the `fullWidthCellRenderer` component. */\n this.fullWidthCellRendererParams = undefined;\n /** Set to `true` to have the detail grid embedded in the master grid's container and so link their horizontal scrolling. */\n this.embedFullWidthRows = undefined;\n /** @deprecated */\n this.deprecatedEmbedFullWidthRows = undefined;\n /** Specifies how the results of row grouping should be displayed.\n *\n * The options are:\n *\n * - `'singleColumn'`: single group column automatically added by the grid.\n * - `'multipleColumns'`: a group column per row group is added automatically.\n * - `'groupRows'`: group rows are automatically added instead of group columns.\n * - `'custom'`: informs the grid that group columns will be provided. */\n this.groupDisplayType = undefined;\n /** If grouping, set to the number of levels to expand by default, e.g. `0` for none, `1` for first level only, etc. Set to `-1` to expand everything. Default: `0` */\n this.groupDefaultExpanded = undefined;\n /** Allows specifying the group 'auto column' if you are not happy with the default. If grouping, this column definition is included as the first column in the grid. If not grouping, this column is not included. */\n this.autoGroupColumnDef = undefined;\n /** When `true`, preserves the current group order when sorting on non-group columns. Default: `false` */\n this.groupMaintainOrder = undefined;\n /** When `true`, if you select a group, the children of the group will also be selected. Default: `false` */\n this.groupSelectsChildren = undefined;\n /** Set to determine whether filters should be applied on aggregated group values. Default: `false` */\n this.groupAggFiltering = undefined;\n /** If grouping, this controls whether to show a group footer when the group is expanded.\n * If `true`, then by default, the footer will contain aggregate data (if any) when shown and the header will be blank.\n * When closed, the header will contain the aggregate data regardless of this setting (as the footer is hidden anyway).\n * This is handy for 'total' rows, that are displayed below the data when the group is open, and alongside the group when it is closed.\n * Default: `false` */\n this.groupIncludeFooter = undefined;\n /** Set to `true` to show a 'grand total' group footer across all groups. Default: `false` */\n this.groupIncludeTotalFooter = undefined;\n /** If `true`, and showing footer, aggregate data will always be displayed at both the header and footer levels. This stops the possibly undesirable behaviour of the header details 'jumping' to the footer on expand. Default: `false` */\n this.groupSuppressBlankHeader = undefined;\n /** If using `groupSelectsChildren`, then only the children that pass the current filter will get selected. Default: `false` */\n this.groupSelectsFiltered = undefined;\n /** Shows the open group in the group column for non-group rows. Default: `false` */\n this.showOpenedGroup = undefined;\n /** Set to `true` to collapse groups that only have one child. */\n this.groupRemoveSingleChildren = undefined;\n /** Set to `true` to collapse lowest level groups that only have one child. Default: `false` */\n this.groupRemoveLowestSingleChildren = undefined;\n /** Set to `true` to hide parents that are open. When used with multiple columns for showing groups, it can give a more pleasing user experience. Default: `false` */\n this.groupHideOpenParents = undefined;\n /** When to show the 'row group panel' (where you drag rows to group) at the top. Default: `never` */\n this.rowGroupPanelShow = undefined;\n /** Provide the Cell Renderer to use when `groupDisplayType = 'groupRows'`.\n * See [Group Row Cell Renderer](https://www.ag-grid.com/javascript-data-grid/grouping-group-rows/#providing-cell-renderer) for framework specific implementation details. */\n this.groupRowRenderer = undefined;\n /** @deprecated As of v27, use `groupRowRenderer` for framework components too. */\n this.groupRowRendererFramework = undefined;\n /** Customise the parameters provided to the `groupRowRenderer` component. */\n this.groupRowRendererParams = undefined;\n /** By default, when a column is un-grouped, i.e. using the Row Group Panel, it is made visible in the grid. This property stops the column becoming visible again when un-grouping. Default: `false` */\n this.suppressMakeColumnVisibleAfterUnGroup = undefined;\n /** Set to `true` to enable the Grid to work with Tree Data. You must also implement the `getDataPath(data)` callback. */\n this.treeData = undefined;\n /** Set to `true` to suppress sort indicators and actions from the row group panel. Default: `false`. */\n this.rowGroupPanelSuppressSort = undefined;\n /** Set to `true` to keep open Group Rows visible at the top of the grid. Default: `false`. */\n this.groupRowsSticky = undefined;\n /** @deprecated - this is now groupRowRendererParams.innerRenderer */\n this.groupRowInnerRenderer = undefined;\n /** @deprecated - this is now groupRowRendererParams.innerRenderer */\n this.groupRowInnerRendererFramework = undefined;\n /** @deprecated - Use groupDisplayType = 'multipleColumns' instead */\n this.groupMultiAutoColumn = undefined;\n /** @deprecated - Use groupDisplayType = 'groupRows' instead */\n this.groupUseEntireRow = undefined;\n /** @deprecated - Use groupDisplayType = 'custom' instead */\n this.groupSuppressAutoColumn = undefined;\n /** @deprecated - no longer needed, transaction updates keep group state */\n this.rememberGroupStateWhenNewData = undefined;\n /** Data to be displayed as pinned top rows in the grid. */\n this.pinnedTopRowData = undefined;\n /** Data to be displayed as pinned bottom rows in the grid. */\n this.pinnedBottomRowData = undefined;\n /** Sets the row model type. Default: `clientSide` */\n this.rowModelType = undefined;\n /** Set the data to be displayed as rows in the grid. */\n this.rowData = undefined;\n /** @deprecated Immutable Data is on by default when grid callback getRowId() is implemented\n * Enables Immutable Data mode, for compatibility with immutable stores. Default: `false` */\n this.immutableData = undefined;\n /** How many milliseconds to wait before executing a batch of async transactions. */\n this.asyncTransactionWaitMillis = undefined;\n /** Prevents Transactions changing sort, filter, group or pivot state when transaction only contains updates. Default: `false` */\n this.suppressModelUpdateAfterUpdateTransaction = undefined;\n /** @deprecated */\n this.deltaRowDataMode = undefined;\n /** @deprecated use asyncTransactionWaitMillis instead */\n this.batchUpdateWaitMillis = undefined;\n /** Provide the datasource for infinite scrolling. */\n this.datasource = undefined;\n /** How many extra blank rows to display to the user at the end of the dataset, which sets the vertical scroll and then allows the grid to request viewing more rows of data.\n * Default: `1` */\n this.cacheOverflowSize = undefined;\n /** How many extra blank rows to display to the user at the end of the dataset, which sets the vertical scroll and then allows the grid to request viewing more rows of data.\n * Default: `1` */\n this.infiniteInitialRowCount = undefined;\n /** Set how many loading rows to display to the user for the root level group.\n * Default: `1` */\n this.serverSideInitialRowCount = undefined;\n /** @deprecated Whether to use Full Store or Partial Store for storing rows. Default: `full`.\n * Deprecated in favour of serverSideInfiniteScroll. When true, Partial Store is used. When false,\n * Full Store is used.\n */\n this.serverSideStoreType = undefined;\n /** Set whether Server-side Row Model will use Infinite Scrolling\n * Default: `false` */\n this.serverSideInfiniteScroll = undefined;\n /** How many rows for each block in the store, i.e. how many rows returned from the server at a time.\n * Default: `100` */\n this.cacheBlockSize = undefined;\n /** How many blocks to keep in the store. Default is no limit, so every requested block is kept. Use this if you have memory concerns, and blocks that were least recently viewed will be purged when the limit is hit. The grid will additionally make sure it has all the blocks needed to display what is currently visible, in case this property is set to a low value. */\n this.maxBlocksInCache = undefined;\n /** How many requests to hit the server with concurrently. If the max is reached, requests are queued.\n * Set to `-1` for no maximum restriction on requests.\n * Default: `2` */\n this.maxConcurrentDatasourceRequests = undefined;\n /** How many milliseconds to wait before loading a block. Useful when infinite scrolling and scrolling over many infinite blocks, as it prevents blocks loading until scrolling has settled. */\n this.blockLoadDebounceMillis = undefined;\n /** When enabled, closing group rows will remove children of that row. Next time the row is opened, child rows will be read from the datasource again. This property only applies when there is Row Grouping. Default: `false` */\n this.purgeClosedRowNodes = undefined;\n /** Provide the `serverSideDatasource` for server side row model. */\n this.serverSideDatasource = undefined;\n /** When enabled, always refreshes top level groups regardless of which column was sorted. This property only applies when there is Row Grouping & sorting is handled on the server. Default: `false` */\n this.serverSideSortAllLevels = undefined;\n /** When enabled, always refreshes top level groups regardless of which column was filtered. This property only applies when there is Row Grouping & filtering is handled on the server. Default: `false` */\n this.serverSideFilterAllLevels = undefined;\n /** When enabled, Sorting will be done on the server side. When serverSideInfiniteScroll=true, does nothing,\n * as Sorting is always server side when Infinite Scroll is active.\n * Default: `false` */\n this.serverSideSortOnServer = undefined;\n /** When enabled, Filtering will be done on the server side. When serverSideInfiniteScroll=true, does nothing,\n * as Filtering is always server side when Infinite Scroll is active.\n * Default: `false` */\n this.serverSideFilterOnServer = undefined;\n /** @deprecated This property has been deprecated. Use `serverSideSortAllLevels` instead. */\n this.serverSideSortingAlwaysResets = undefined;\n /** @deprecated This property has been deprecated. Use `serverSideFilterAllLevels` instead. */\n this.serverSideFilteringAlwaysResets = undefined;\n /** @deprecated */\n this.suppressEnterpriseResetOnNewColumns = undefined;\n /** To use the viewport row model you need to provide the grid with a `viewportDatasource`. */\n this.viewportDatasource = undefined;\n /** When using viewport row model, sets the page size for the viewport. */\n this.viewportRowModelPageSize = undefined;\n /** When using viewport row model, sets the buffer size for the viewport. */\n this.viewportRowModelBufferSize = undefined;\n /** Set to `true` to always show the horizontal scrollbar. Default: `false` */\n this.alwaysShowHorizontalScroll = undefined;\n /** Set to `true` to always show the vertical scrollbar. Default: `false` */\n this.alwaysShowVerticalScroll = undefined;\n /** Set to `true` to debounce the vertical scrollbar. Can provide smoother scrolling on slow machines. Default: `false` */\n this.debounceVerticalScrollbar = undefined;\n /** Set to `true` to never show the horizontal scroll. This is useful if the grid is aligned with another grid and will scroll when the other grid scrolls. (Should not be used in combination with `alwaysShowHorizontalScroll`.) Default: `false` */\n this.suppressHorizontalScroll = undefined;\n /** When `true`, the grid will not scroll to the top when new row data is provided. Use this if you don't want the default behaviour of scrolling to the top every time you load new data. Default: `false` */\n this.suppressScrollOnNewData = undefined;\n /** When `true`, the grid will not allow mousewheel / touchpad scroll when popup elements are present. Default: `false` */\n this.suppressScrollWhenPopupsAreOpen = undefined;\n /** When `true`, the grid will not use animation frames when drawing rows while scrolling. Use this if the grid is working fast enough that you don't need animation frames and you don't want the grid to flicker. Default: `false` */\n this.suppressAnimationFrame = undefined;\n /** If `true`, middle clicks will result in `click` events for cells and rows. Otherwise the browser will use middle click to scroll the grid.
    **Note:** Not all browsers fire `click` events with the middle button. Most will fire only `mousedown` and `mouseup` events, which can be used to focus a cell, but will not work to call the `onCellClicked` function. Default: `false` */\n this.suppressMiddleClickScrolls = undefined;\n /** If `true`, mouse wheel events will be passed to the browser. Useful if your grid has no vertical scrolls and you want the mouse to scroll the browser page. Default: `false` */\n this.suppressPreventDefaultOnMouseWheel = undefined;\n /** Tell the grid how wide in pixels the scrollbar is, which is used in grid width calculations. Set only if using non-standard browser-provided scrollbars, so the grid can use the non-standard size in its calculations. */\n this.scrollbarWidth = undefined;\n /** Type of Row Selection: `single`, `multiple`. */\n this.rowSelection = undefined;\n /** Set to `true` to allow multiple rows to be selected using single click. Default: `false` */\n this.rowMultiSelectWithClick = undefined;\n /** If `true`, rows will not be deselected if you hold down `Ctrl` and click the row or press `Space`. Default: `false` */\n this.suppressRowDeselection = undefined;\n /** If `true`, row selection won't happen when rows are clicked. Use when you only want checkbox selection. Default: `false` */\n this.suppressRowClickSelection = undefined;\n /** @deprecated This property has been deprecated. Use `suppressCellFocus` instead.\n */\n this.suppressCellSelection = undefined;\n /** If `true`, cells won't be focusable. This means keyboard navigation will be disabled for grid cells, but remain enabled in other elements of the grid such as column headers, floating filters, tool panels. Default: `false` */\n this.suppressCellFocus = undefined;\n /** If `true`, only a single range can be selected. Default: `false` */\n this.suppressMultiRangeSelection = undefined;\n /** Set to `true` to be able to select the text within cells.\n *\n * **Note:** When this is set to `true`, the clipboard service is disabled.\n * Default: `false` */\n this.enableCellTextSelection = undefined;\n /** Set to `true` to enable Range Selection. Default: `false` */\n this.enableRangeSelection = undefined;\n /** Set to `true` to enable the Range Handle. Default: `false` */\n this.enableRangeHandle = undefined;\n /** Set to `true` to enable the Fill Handle. Default: `false` */\n this.enableFillHandle = undefined;\n /** Set to `'x'` to force the fill handle direction to horizontal, or set to `'y'` to force the fill handle direction to vertical. Default: `xy` */\n this.fillHandleDirection = undefined;\n /** Set this to `true` to prevent cell values from being cleared when the Range Selection is reduced by the Fill Handle. Default: `false` */\n this.suppressClearOnFillReduction = undefined;\n /** Array defining the order in which sorting occurs (if sorting is enabled). Values can be `'asc'`, `'desc'` or `null`. For example: `sortingOrder: ['asc', 'desc']`. Default: `[null, 'asc', 'desc']` */\n this.sortingOrder = undefined;\n /** Set to `true` to specify that the sort should take accented characters into account. If this feature is turned on the sort will be slower. Default: `false` */\n this.accentedSort = undefined;\n /** Set to `true` to show the 'no sort' icon. Default: `false` */\n this.unSortIcon = undefined;\n /** Set to `true` to suppress multi-sort when the user shift-clicks a column header. Default: `false` */\n this.suppressMultiSort = undefined;\n /** Set to `true` to always multi-sort when the user clicks a column header, regardless of key presses. Default: `false` */\n this.alwaysMultiSort = undefined;\n /** Set to `'ctrl'` to have multi sorting work using the `Ctrl` (or `Command ⌘` for Mac) key. */\n this.multiSortKey = undefined;\n /** Set to `true` to suppress sorting of un-sorted data to match original row data. Default: `false` */\n this.suppressMaintainUnsortedOrder = undefined;\n /** Icons to use inside the grid instead of the grid's default icons. */\n this.icons = undefined;\n /** Default row height in pixels. Default: `25` */\n this.rowHeight = undefined;\n /** The style properties to apply to all rows. Set to an object of key (style names) and values (style values) */\n this.rowStyle = undefined;\n /** CSS class(es) for all rows. Provide either a string (class name) or array of strings (array of class names). */\n this.rowClass = undefined;\n /** Rules which can be applied to include certain CSS classes. */\n this.rowClassRules = undefined;\n /** Set to `true` to not highlight rows by adding the `ag-row-hover` CSS class. Default: `false` */\n this.suppressRowHoverHighlight = undefined;\n /** Uses CSS `top` instead of CSS `transform` for positioning rows. Useful if the transform function is causing issues such as used in row spanning. Default: `false` */\n this.suppressRowTransform = undefined;\n /** Set to `true` to highlight columns by adding the `ag-column-hover` CSS class. Default: `false` */\n this.columnHoverHighlight = undefined;\n this.deltaSort = undefined;\n this.treeDataDisplayType = undefined;\n /** @deprecated */\n this.angularCompileRows = undefined;\n /** @deprecated */\n this.angularCompileFilters = undefined;\n this.functionsPassive = undefined;\n this.enableGroupEdit = undefined;\n /** For customising the context menu. */\n this.getContextMenuItems = undefined;\n /** For customising the main 'column header' menu. */\n this.getMainMenuItems = undefined;\n /** Allows user to process popups after they are created. Applications can use this if they want to, for example, reposition the popup. */\n this.postProcessPopup = undefined;\n /** Allows you to process cells for the clipboard. Handy if for example you have `Date` objects that need to have a particular format if importing into Excel. */\n this.processCellForClipboard = undefined;\n /** Allows you to process header values for the clipboard. */\n this.processHeaderForClipboard = undefined;\n /** Allows you to process group header values for the clipboard. */\n this.processGroupHeaderForClipboard = undefined;\n /** Allows you to process cells from the clipboard. Handy if for example you have number fields, and want to block non-numbers from getting into the grid. */\n this.processCellFromClipboard = undefined;\n /** Allows you to get the data that would otherwise go to the clipboard. To be used when you want to control the 'copy to clipboard' operation yourself. */\n this.sendToClipboard = undefined;\n /** Allows complete control of the paste operation, including cancelling the operation (so nothing happens) or replacing the data with other data. */\n this.processDataFromClipboard = undefined;\n /** Grid calls this method to know if an external filter is present. */\n this.isExternalFilterPresent = undefined;\n /** Should return `true` if external filter passes, otherwise `false`. */\n this.doesExternalFilterPass = undefined;\n /** Callback to be used to customise the chart toolbar items. */\n this.getChartToolbarItems = undefined;\n /** Callback to enable displaying the chart in an alternative chart container. */\n this.createChartContainer = undefined;\n /** Allows overriding the default behaviour for when user hits navigation (arrow) key when a header is focused. Return the next Header position to navigate to or `null` to stay on current header. */\n this.navigateToNextHeader = undefined;\n /** Allows overriding the default behaviour for when user hits `Tab` key when a header is focused. Return the next Header position to navigate to or `null` to stay on current header. */\n this.tabToNextHeader = undefined;\n /** Allows overriding the default behaviour for when user hits navigation (arrow) key when a cell is focused. Return the next Cell position to navigate to or `null` to stay on current cell. */\n this.navigateToNextCell = undefined;\n /** Allows overriding the default behaviour for when user hits `Tab` key when a cell is focused. Return the next Cell position to navigate to or null to stay on current cell. */\n this.tabToNextCell = undefined;\n /** @deprecated - Set via `colDef.suppressKeyboardEvent`. If you need this to be set for every column set via the `defaultColDef.suppressKeyboardEvent` property. */\n this.suppressKeyboardEvent = undefined;\n /** @deprecated - Use `getLocaleText` instead. */\n this.localeTextFunc = undefined;\n /** A callback for localising text within the grid. */\n this.getLocaleText = undefined;\n /** Allows overriding what `document` is used. Currently used by Drag and Drop (may extend to other places in the future). Use this when you want the grid to use a different `document` than the one available on the global scope. This can happen if docking out components (something which Electron supports) */\n this.getDocument = undefined;\n /** Allows user to format the numbers in the pagination panel, i.e. 'row count' and 'page number' labels. This is for pagination panel only, to format numbers inside the grid's cells (i.e. your data), then use `valueFormatter` in the column definitions. */\n this.paginationNumberFormatter = undefined;\n /** @deprecated - Use `getGroupRowAgg` instead. */\n this.groupRowAggNodes = undefined;\n /** Callback to use when you need access to more then the current column for aggregation. */\n this.getGroupRowAgg = undefined;\n /** (Client-side Row Model only) Allows groups to be open by default. */\n this.isGroupOpenByDefault = undefined;\n /** Allows default sorting of groups. */\n this.initialGroupOrderComparator = undefined;\n /** @deprecated - Use `initialGroupOrderComparator` instead */\n this.defaultGroupOrderComparator = undefined;\n /** @deprecated - Use `processPivotResultColDef` instead */\n this.processSecondaryColDef = undefined;\n /** @deprecated - Use `processPivotResultColGroupDef` instead */\n this.processSecondaryColGroupDef = undefined;\n /** Callback to be used with pivoting, to allow changing the second column definition. */\n this.processPivotResultColDef = undefined;\n /** Callback to be used with pivoting, to allow changing the second column group definition. */\n this.processPivotResultColGroupDef = undefined;\n /** Callback to be used when working with Tree Data when `treeData = true`. */\n this.getDataPath = undefined;\n /** @deprecated - Use initialGroupOrderComparator instead */\n this.defaultGroupSortComparator = undefined;\n /** Allows setting the child count for a group row. */\n this.getChildCount = undefined;\n /** Allows providing different params for different levels of grouping. */\n this.getServerSideGroupLevelParams = undefined;\n /** @deprecated use `getServerSideGroupLevelParams` instead. */\n this.getServerSideStoreParams = undefined;\n /** Allows groups to be open by default. */\n this.isServerSideGroupOpenByDefault = undefined;\n /** Allows cancelling transactions. */\n this.isApplyServerSideTransaction = undefined;\n /** SSRM Tree Data: Allows specifying which rows are expandable. */\n this.isServerSideGroup = undefined;\n /** SSRM Tree Data: Allows specifying group keys. */\n this.getServerSideGroupKey = undefined;\n /** Return a business key for the node. If implemented, each row in the DOM will have an attribute `row-id='abc'` where `abc` is what you return as the business key.\n * This is useful for automated testing, as it provides a way for your tool to identify rows based on unique business keys. */\n this.getBusinessKeyForNode = undefined;\n /** @deprecated Use `getRowId` instead - however be aware, `getRowId()` will also set grid option `immutableData=true`\n * Allows you to set the ID for a particular row node based on the data. */\n this.getRowNodeId = undefined;\n /** Allows setting the ID for a particular row node based on the data. */\n this.getRowId = undefined;\n /** When enabled, getRowId() callback is implemented and new Row Data is set, the grid will disregard all previous rows and treat the new Row Data as new data. As a consequence, all Row State (eg selection, rendered rows) will be reset. Default: `false` */\n this.resetRowDataOnUpdate = undefined;\n /** Allows you to process rows after they are created, so you can do final adding of custom attributes etc. */\n this.processRowPostCreate = undefined;\n /** Callback to be used to determine which rows are selectable. By default rows are selectable, so return `false` to make a row un-selectable. */\n this.isRowSelectable = undefined;\n /** Callback to be used with Master Detail to determine if a row should be a master row. If `false` is returned no detail row will exist for this row. */\n this.isRowMaster = undefined;\n /** Callback to fill values instead of simply copying values or increasing number values using linear progression. */\n this.fillOperation = undefined;\n /** @deprecated Use `postSortRows` instead */\n this.postSort = undefined;\n /** Callback to perform additional sorting after the grid has sorted the rows. */\n this.postSortRows = undefined;\n /** Callback version of property `rowStyle` to set style for each row individually. Function should return an object of CSS values or undefined for no styles. */\n this.getRowStyle = undefined;\n /** Callback version of property `rowClass` to set class(es) for each row individually. Function should return either a string (class name), array of strings (array of class names) or undefined for no class. */\n this.getRowClass = undefined;\n /** Callback version of property `rowHeight` to set height for each row individually. Function should return a positive number of pixels, or return `null`/`undefined` to use the default row height. */\n this.getRowHeight = undefined;\n /** @deprecated Use `isFullWidthRow` instead. */\n this.isFullWidthCell = undefined;\n /** Tells the grid if this row should be rendered as full width. */\n this.isFullWidthRow = undefined;\n /** The tool panel was hidden or shown. Use `api.isToolPanelShowing()` to get status. */\n this.toolPanelVisibleChanged = new EventEmitter();\n /** The tool panel size has been changed. */\n this.toolPanelSizeChanged = new EventEmitter();\n /** Paste operation has started. */\n this.pasteStart = new EventEmitter();\n /** Paste operation has ended. */\n this.pasteEnd = new EventEmitter();\n /** A column, or group of columns, was hidden / shown. */\n this.columnVisible = new EventEmitter();\n /** A column, or group of columns, was pinned / unpinned. */\n this.columnPinned = new EventEmitter();\n /** A column was resized. */\n this.columnResized = new EventEmitter();\n /** A column was moved. To find out when the column move is finished you can use the `dragStopped` event below. */\n this.columnMoved = new EventEmitter();\n /** A value column was added or removed. */\n this.columnValueChanged = new EventEmitter();\n /** The pivot mode flag was changed. */\n this.columnPivotModeChanged = new EventEmitter();\n /** A pivot column was added, removed or order changed. */\n this.columnPivotChanged = new EventEmitter();\n /** A column group was opened / closed. */\n this.columnGroupOpened = new EventEmitter();\n /** User set new columns. */\n this.newColumnsLoaded = new EventEmitter();\n /** The list of grid columns changed. */\n this.gridColumnsChanged = new EventEmitter();\n /** The list of displayed columns changed. This can result from columns open / close, column move, pivot, group, etc. */\n this.displayedColumnsChanged = new EventEmitter();\n /** The list of rendered columns changed (only columns in the visible scrolled viewport are rendered by default). */\n this.virtualColumnsChanged = new EventEmitter();\n /** Shotgun - gets called when either a) new columns are set or b) `columnApi.setState()` is used, so everything has changed. */\n this.columnEverythingChanged = new EventEmitter();\n /** Only used by Angular, React and VueJS AG Grid components (not used if doing plain JavaScript).\n * If the grid receives changes due to bound properties, this event fires after the grid has finished processing the change. */\n this.componentStateChanged = new EventEmitter();\n /** Value has changed after editing (this event will not fire if editing was cancelled, eg ESC was pressed) or\n * if cell value has changed as a result of paste operation. */\n this.cellValueChanged = new EventEmitter();\n /** Value has changed after editing. Only fires when doing Read Only Edits, ie `readOnlyEdit=true`. */\n this.cellEditRequest = new EventEmitter();\n /** A cell's value within a row has changed. This event corresponds to Full Row Editing only. */\n this.rowValueChanged = new EventEmitter();\n /** Editing a cell has started. */\n this.cellEditingStarted = new EventEmitter();\n /** Editing a cell has stopped. */\n this.cellEditingStopped = new EventEmitter();\n /** Editing a row has started (when row editing is enabled). When row editing, this event will be fired once and `cellEditingStarted` will be fired for each individual cell. Only fires when doing Full Row Editing. */\n this.rowEditingStarted = new EventEmitter();\n /** Editing a row has stopped (when row editing is enabled). When row editing, this event will be fired once and `cellEditingStopped` will be fired for each individual cell. Only fires when doing Full Row Editing. */\n this.rowEditingStopped = new EventEmitter();\n /** Filter has been opened. */\n this.filterOpened = new EventEmitter();\n /** Filter has been modified and applied. */\n this.filterChanged = new EventEmitter();\n /** Filter was modified but not applied. Used when filters have 'Apply' buttons. */\n this.filterModified = new EventEmitter();\n /** A chart has been created. */\n this.chartCreated = new EventEmitter();\n /** The data range for the chart has been changed. */\n this.chartRangeSelectionChanged = new EventEmitter();\n /** Formatting changes have been made by users through the Format Panel. */\n this.chartOptionsChanged = new EventEmitter();\n /** A chart has been destroyed. */\n this.chartDestroyed = new EventEmitter();\n /** DOM event `keyDown` happened on a cell. */\n this.cellKeyDown = new EventEmitter();\n /** DOM event `keyPress` happened on a cell. */\n this.cellKeyPress = new EventEmitter();\n /** The grid has initialised and is ready for most api calls, but may not be fully rendered yet */\n this.gridReady = new EventEmitter();\n /** Fired the first time data is rendered into the grid. Use this event if you want to auto resize columns based on their contents */\n this.firstDataRendered = new EventEmitter();\n /** The size of the grid `div` has changed. In other words, the grid was resized. */\n this.gridSizeChanged = new EventEmitter();\n /** Displayed rows have changed. Triggered after sort, filter or tree expand / collapse events. */\n this.modelUpdated = new EventEmitter();\n /** A row was removed from the DOM, for any reason. Use to clean up resources (if any) used by the row. */\n this.virtualRowRemoved = new EventEmitter();\n /** Which rows are rendered in the DOM has changed. */\n this.viewportChanged = new EventEmitter();\n /** The body was scrolled horizontally or vertically. */\n this.bodyScroll = new EventEmitter();\n /** Main body of the grid has stopped scrolling, either horizontally or vertically. */\n this.bodyScrollEnd = new EventEmitter();\n /** When dragging starts. This could be any action that uses the grid's Drag and Drop service, e.g. Column Moving, Column Resizing, Range Selection, Fill Handle, etc. */\n this.dragStarted = new EventEmitter();\n /** When dragging stops. This could be any action that uses the grid's Drag and Drop service, e.g. Column Moving, Column Resizing, Range Selection, Fill Handle, etc. */\n this.dragStopped = new EventEmitter();\n /** Triggered every time the paging state changes. Some of the most common scenarios for this event to be triggered are:\n *\n * - The page size changes.\n * - The current shown page is changed.\n * - New data is loaded onto the grid. */\n this.paginationChanged = new EventEmitter();\n /** A drag has started, or dragging was already started and the mouse has re-entered the grid having previously left the grid. */\n this.rowDragEnter = new EventEmitter();\n /** The mouse has moved while dragging. */\n this.rowDragMove = new EventEmitter();\n /** The mouse has left the grid while dragging. */\n this.rowDragLeave = new EventEmitter();\n /** The drag has finished over the grid. */\n this.rowDragEnd = new EventEmitter();\n /** A row group column was added or removed. */\n this.columnRowGroupChanged = new EventEmitter();\n /** A row group was opened or closed. */\n this.rowGroupOpened = new EventEmitter();\n /** Fired when calling either of the API methods `expandAll()` or `collapseAll()`. */\n this.expandOrCollapseAll = new EventEmitter();\n /** The client has set new pinned row data into the grid. */\n this.pinnedRowDataChanged = new EventEmitter();\n /** @deprecated No longer fired, use onRowDataUpdated instead */\n this.rowDataChanged = new EventEmitter();\n /** The client has updated data for the grid by either a) setting new Row Data or b) Applying a Row Transaction. */\n this.rowDataUpdated = new EventEmitter();\n /** Async transactions have been applied. Contains a list of all transaction results. */\n this.asyncTransactionsFlushed = new EventEmitter();\n /** Cell is clicked. */\n this.cellClicked = new EventEmitter();\n /** Cell is double clicked. */\n this.cellDoubleClicked = new EventEmitter();\n /** Cell is focused. */\n this.cellFocused = new EventEmitter();\n /** Mouse entered cell. */\n this.cellMouseOver = new EventEmitter();\n /** Mouse left cell. */\n this.cellMouseOut = new EventEmitter();\n /** Mouse down on cell. */\n this.cellMouseDown = new EventEmitter();\n /** Row is clicked. */\n this.rowClicked = new EventEmitter();\n /** Row is double clicked. */\n this.rowDoubleClicked = new EventEmitter();\n /** Row is selected or deselected. The event contains the node in question, so call the node's `isSelected()` method to see if it was just selected or deselected. */\n this.rowSelected = new EventEmitter();\n /** Row selection is changed. Use the grid API `getSelectedNodes()` or `getSelectedRows()` to get the new list of selected nodes / row data. */\n this.selectionChanged = new EventEmitter();\n /** Cell is right clicked. */\n this.cellContextMenu = new EventEmitter();\n /** A change to range selection has occurred. */\n this.rangeSelectionChanged = new EventEmitter();\n /** Sort has changed. The grid also listens for this and updates the model. */\n this.sortChanged = new EventEmitter();\n this.columnRowGroupChangeRequest = new EventEmitter();\n this.columnPivotChangeRequest = new EventEmitter();\n this.columnValueChangeRequest = new EventEmitter();\n this.columnAggFuncChangeRequest = new EventEmitter();\n this._nativeElement = elementDef.nativeElement;\n }\n ngAfterViewInit() {\n this.frameworkComponentWrapper.setViewContainerRef(this.viewContainerRef);\n this.frameworkComponentWrapper.setComponentFactoryResolver(this.componentFactoryResolver);\n this.angularFrameworkOverrides.setEmitterUsedCallback(this.isEmitterUsed.bind(this));\n this.gridOptions = ComponentUtil.copyAttributesToGridOptions(this.gridOptions, this, true);\n this.gridParams = {\n globalEventListener: this.globalEventListener.bind(this),\n frameworkOverrides: this.angularFrameworkOverrides,\n providedBeanInstances: {\n frameworkComponentWrapper: this.frameworkComponentWrapper\n },\n modules: (this.modules || [])\n };\n if (this.columns && this.columns.length > 0) {\n this.gridOptions.columnDefs = this.columns\n .map((column) => {\n return column.toColDef();\n });\n }\n new Grid(this._nativeElement, this.gridOptions, this.gridParams);\n if (this.gridOptions.api) {\n this.api = this.gridOptions.api;\n }\n if (this.gridOptions.columnApi) {\n this.columnApi = this.gridOptions.columnApi;\n }\n this._initialised = true;\n // sometimes, especially in large client apps gridReady can fire before ngAfterViewInit\n // this ties these together so that gridReady will always fire after agGridAngular's ngAfterViewInit\n // the actual containing component's ngAfterViewInit will fire just after agGridAngular's\n this._fullyReady.resolveNow(null, resolve => resolve);\n }\n ngOnChanges(changes) {\n if (this._initialised) {\n ComponentUtil.processOnChange(changes, this.gridOptions, this.api, this.columnApi);\n }\n }\n ngOnDestroy() {\n if (this._initialised) {\n // need to do this before the destroy, so we know not to emit any events\n // while tearing down the grid.\n this._destroyed = true;\n if (this.api) {\n this.api.destroy();\n }\n }\n }\n // we'll emit the emit if a user is listening for a given event either on the component via normal angular binding\n // or via gridOptions\n isEmitterUsed(eventType) {\n const emitter = this[eventType];\n const hasEmitter = !!emitter && emitter.observers && emitter.observers.length > 0;\n // gridReady => onGridReady\n const asEventName = `on${eventType.charAt(0).toUpperCase()}${eventType.substring(1)}`;\n const hasGridOptionListener = !!this.gridOptions && !!this.gridOptions[asEventName];\n return hasEmitter || hasGridOptionListener;\n }\n globalEventListener(eventType, event) {\n // if we are tearing down, don't emit angular events, as this causes\n // problems with the angular router\n if (this._destroyed) {\n return;\n }\n // generically look up the eventType\n const emitter = this[eventType];\n if (emitter && this.isEmitterUsed(eventType)) {\n if (eventType === 'gridReady') {\n // if the user is listening for gridReady, wait for ngAfterViewInit to fire first, then emit the\n // gridReady event\n this._fullyReady.then((result => {\n emitter.emit(event);\n }));\n }\n else {\n emitter.emit(event);\n }\n }\n }\n}\nAgGridAngular.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"12.2.16\", ngImport: i0, type: AgGridAngular, deps: [{ token: i0.ElementRef }, { token: i0.ViewContainerRef }, { token: AngularFrameworkOverrides }, { token: AngularFrameworkComponentWrapper }, { token: i0.ComponentFactoryResolver }], target: i0.ɵɵFactoryTarget.Component });\nAgGridAngular.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"12.0.0\", version: \"12.2.16\", type: AgGridAngular, selector: \"ag-grid-angular\", inputs: { gridOptions: \"gridOptions\", modules: \"modules\", statusBar: \"statusBar\", sideBar: \"sideBar\", suppressContextMenu: \"suppressContextMenu\", preventDefaultOnContextMenu: \"preventDefaultOnContextMenu\", allowContextMenuWithControlKey: \"allowContextMenuWithControlKey\", suppressMenuHide: \"suppressMenuHide\", enableBrowserTooltips: \"enableBrowserTooltips\", tooltipShowDelay: \"tooltipShowDelay\", tooltipHideDelay: \"tooltipHideDelay\", tooltipMouseTrack: \"tooltipMouseTrack\", popupParent: \"popupParent\", copyHeadersToClipboard: \"copyHeadersToClipboard\", copyGroupHeadersToClipboard: \"copyGroupHeadersToClipboard\", clipboardDelimiter: \"clipboardDelimiter\", suppressCopyRowsToClipboard: \"suppressCopyRowsToClipboard\", suppressCopySingleCellRanges: \"suppressCopySingleCellRanges\", suppressLastEmptyLineOnPaste: \"suppressLastEmptyLineOnPaste\", suppressClipboardPaste: \"suppressClipboardPaste\", suppressClipboardApi: \"suppressClipboardApi\", columnDefs: \"columnDefs\", defaultColDef: \"defaultColDef\", defaultColGroupDef: \"defaultColGroupDef\", columnTypes: \"columnTypes\", maintainColumnOrder: \"maintainColumnOrder\", suppressFieldDotNotation: \"suppressFieldDotNotation\", deltaColumnMode: \"deltaColumnMode\", applyColumnDefOrder: \"applyColumnDefOrder\", immutableColumns: \"immutableColumns\", suppressSetColumnStateEvents: \"suppressSetColumnStateEvents\", suppressColumnStateEvents: \"suppressColumnStateEvents\", colWidth: \"colWidth\", minColWidth: \"minColWidth\", maxColWidth: \"maxColWidth\", headerHeight: \"headerHeight\", groupHeaderHeight: \"groupHeaderHeight\", floatingFiltersHeight: \"floatingFiltersHeight\", pivotHeaderHeight: \"pivotHeaderHeight\", pivotGroupHeaderHeight: \"pivotGroupHeaderHeight\", allowDragFromColumnsToolPanel: \"allowDragFromColumnsToolPanel\", suppressMovableColumns: \"suppressMovableColumns\", suppressColumnMoveAnimation: \"suppressColumnMoveAnimation\", suppressDragLeaveHidesColumns: \"suppressDragLeaveHidesColumns\", suppressRowGroupHidesColumns: \"suppressRowGroupHidesColumns\", colResizeDefault: \"colResizeDefault\", suppressAutoSize: \"suppressAutoSize\", autoSizePadding: \"autoSizePadding\", skipHeaderOnAutoSize: \"skipHeaderOnAutoSize\", components: \"components\", frameworkComponents: \"frameworkComponents\", editType: \"editType\", singleClickEdit: \"singleClickEdit\", suppressClickEdit: \"suppressClickEdit\", readOnlyEdit: \"readOnlyEdit\", stopEditingWhenCellsLoseFocus: \"stopEditingWhenCellsLoseFocus\", enterMovesDown: \"enterMovesDown\", enterMovesDownAfterEdit: \"enterMovesDownAfterEdit\", enableCellEditingOnBackspace: \"enableCellEditingOnBackspace\", undoRedoCellEditing: \"undoRedoCellEditing\", undoRedoCellEditingLimit: \"undoRedoCellEditingLimit\", stopEditingWhenGridLosesFocus: \"stopEditingWhenGridLosesFocus\", defaultCsvExportParams: \"defaultCsvExportParams\", suppressCsvExport: \"suppressCsvExport\", defaultExcelExportParams: \"defaultExcelExportParams\", suppressExcelExport: \"suppressExcelExport\", excelStyles: \"excelStyles\", defaultExportParams: \"defaultExportParams\", quickFilterText: \"quickFilterText\", cacheQuickFilter: \"cacheQuickFilter\", excludeChildrenWhenTreeDataFiltering: \"excludeChildrenWhenTreeDataFiltering\", enableCharts: \"enableCharts\", chartThemes: \"chartThemes\", customChartThemes: \"customChartThemes\", chartThemeOverrides: \"chartThemeOverrides\", enableChartToolPanelsButton: \"enableChartToolPanelsButton\", chartToolPanelsDef: \"chartToolPanelsDef\", loadingCellRenderer: \"loadingCellRenderer\", loadingCellRendererFramework: \"loadingCellRendererFramework\", loadingCellRendererParams: \"loadingCellRendererParams\", loadingCellRendererSelector: \"loadingCellRendererSelector\", localeText: \"localeText\", masterDetail: \"masterDetail\", keepDetailRows: \"keepDetailRows\", keepDetailRowsCount: \"keepDetailRowsCount\", detailCellRenderer: \"detailCellRenderer\", detailCellRendererFramework: \"detailCellRendererFramework\", detailCellRendererParams: \"detailCellRendererParams\", detailRowHeight: \"detailRowHeight\", detailRowAutoHeight: \"detailRowAutoHeight\", context: \"context\", alignedGrids: \"alignedGrids\", tabIndex: \"tabIndex\", rowBuffer: \"rowBuffer\", valueCache: \"valueCache\", valueCacheNeverExpires: \"valueCacheNeverExpires\", enableCellExpressions: \"enableCellExpressions\", suppressParentsInRowNodes: \"suppressParentsInRowNodes\", suppressTouch: \"suppressTouch\", suppressFocusAfterRefresh: \"suppressFocusAfterRefresh\", suppressAsyncEvents: \"suppressAsyncEvents\", suppressBrowserResizeObserver: \"suppressBrowserResizeObserver\", suppressPropertyNamesCheck: \"suppressPropertyNamesCheck\", suppressChangeDetection: \"suppressChangeDetection\", debug: \"debug\", overlayLoadingTemplate: \"overlayLoadingTemplate\", loadingOverlayComponent: \"loadingOverlayComponent\", loadingOverlayComponentFramework: \"loadingOverlayComponentFramework\", loadingOverlayComponentParams: \"loadingOverlayComponentParams\", suppressLoadingOverlay: \"suppressLoadingOverlay\", overlayNoRowsTemplate: \"overlayNoRowsTemplate\", noRowsOverlayComponent: \"noRowsOverlayComponent\", noRowsOverlayComponentFramework: \"noRowsOverlayComponentFramework\", noRowsOverlayComponentParams: \"noRowsOverlayComponentParams\", suppressNoRowsOverlay: \"suppressNoRowsOverlay\", pagination: \"pagination\", paginationPageSize: \"paginationPageSize\", paginationAutoPageSize: \"paginationAutoPageSize\", paginateChildRows: \"paginateChildRows\", suppressPaginationPanel: \"suppressPaginationPanel\", pivotMode: \"pivotMode\", pivotPanelShow: \"pivotPanelShow\", pivotColumnGroupTotals: \"pivotColumnGroupTotals\", pivotRowTotals: \"pivotRowTotals\", pivotSuppressAutoColumn: \"pivotSuppressAutoColumn\", suppressExpandablePivotGroups: \"suppressExpandablePivotGroups\", functionsReadOnly: \"functionsReadOnly\", aggFuncs: \"aggFuncs\", suppressAggFuncInHeader: \"suppressAggFuncInHeader\", suppressAggAtRootLevel: \"suppressAggAtRootLevel\", aggregateOnlyChangedColumns: \"aggregateOnlyChangedColumns\", suppressAggFilteredOnly: \"suppressAggFilteredOnly\", removePivotHeaderRowWhenSingleValueColumn: \"removePivotHeaderRowWhenSingleValueColumn\", animateRows: \"animateRows\", enableCellChangeFlash: \"enableCellChangeFlash\", cellFlashDelay: \"cellFlashDelay\", cellFadeDelay: \"cellFadeDelay\", allowShowChangeAfterFilter: \"allowShowChangeAfterFilter\", domLayout: \"domLayout\", ensureDomOrder: \"ensureDomOrder\", enableRtl: \"enableRtl\", suppressColumnVirtualisation: \"suppressColumnVirtualisation\", suppressMaxRenderedRowRestriction: \"suppressMaxRenderedRowRestriction\", suppressRowVirtualisation: \"suppressRowVirtualisation\", rowDragManaged: \"rowDragManaged\", suppressRowDrag: \"suppressRowDrag\", suppressMoveWhenRowDragging: \"suppressMoveWhenRowDragging\", rowDragEntireRow: \"rowDragEntireRow\", rowDragMultiRow: \"rowDragMultiRow\", rowDragText: \"rowDragText\", fullWidthCellRenderer: \"fullWidthCellRenderer\", fullWidthCellRendererFramework: \"fullWidthCellRendererFramework\", fullWidthCellRendererParams: \"fullWidthCellRendererParams\", embedFullWidthRows: \"embedFullWidthRows\", deprecatedEmbedFullWidthRows: \"deprecatedEmbedFullWidthRows\", groupDisplayType: \"groupDisplayType\", groupDefaultExpanded: \"groupDefaultExpanded\", autoGroupColumnDef: \"autoGroupColumnDef\", groupMaintainOrder: \"groupMaintainOrder\", groupSelectsChildren: \"groupSelectsChildren\", groupAggFiltering: \"groupAggFiltering\", groupIncludeFooter: \"groupIncludeFooter\", groupIncludeTotalFooter: \"groupIncludeTotalFooter\", groupSuppressBlankHeader: \"groupSuppressBlankHeader\", groupSelectsFiltered: \"groupSelectsFiltered\", showOpenedGroup: \"showOpenedGroup\", groupRemoveSingleChildren: \"groupRemoveSingleChildren\", groupRemoveLowestSingleChildren: \"groupRemoveLowestSingleChildren\", groupHideOpenParents: \"groupHideOpenParents\", rowGroupPanelShow: \"rowGroupPanelShow\", groupRowRenderer: \"groupRowRenderer\", groupRowRendererFramework: \"groupRowRendererFramework\", groupRowRendererParams: \"groupRowRendererParams\", suppressMakeColumnVisibleAfterUnGroup: \"suppressMakeColumnVisibleAfterUnGroup\", treeData: \"treeData\", rowGroupPanelSuppressSort: \"rowGroupPanelSuppressSort\", groupRowsSticky: \"groupRowsSticky\", groupRowInnerRenderer: \"groupRowInnerRenderer\", groupRowInnerRendererFramework: \"groupRowInnerRendererFramework\", groupMultiAutoColumn: \"groupMultiAutoColumn\", groupUseEntireRow: \"groupUseEntireRow\", groupSuppressAutoColumn: \"groupSuppressAutoColumn\", rememberGroupStateWhenNewData: \"rememberGroupStateWhenNewData\", pinnedTopRowData: \"pinnedTopRowData\", pinnedBottomRowData: \"pinnedBottomRowData\", rowModelType: \"rowModelType\", rowData: \"rowData\", immutableData: \"immutableData\", asyncTransactionWaitMillis: \"asyncTransactionWaitMillis\", suppressModelUpdateAfterUpdateTransaction: \"suppressModelUpdateAfterUpdateTransaction\", deltaRowDataMode: \"deltaRowDataMode\", batchUpdateWaitMillis: \"batchUpdateWaitMillis\", datasource: \"datasource\", cacheOverflowSize: \"cacheOverflowSize\", infiniteInitialRowCount: \"infiniteInitialRowCount\", serverSideInitialRowCount: \"serverSideInitialRowCount\", serverSideStoreType: \"serverSideStoreType\", serverSideInfiniteScroll: \"serverSideInfiniteScroll\", cacheBlockSize: \"cacheBlockSize\", maxBlocksInCache: \"maxBlocksInCache\", maxConcurrentDatasourceRequests: \"maxConcurrentDatasourceRequests\", blockLoadDebounceMillis: \"blockLoadDebounceMillis\", purgeClosedRowNodes: \"purgeClosedRowNodes\", serverSideDatasource: \"serverSideDatasource\", serverSideSortAllLevels: \"serverSideSortAllLevels\", serverSideFilterAllLevels: \"serverSideFilterAllLevels\", serverSideSortOnServer: \"serverSideSortOnServer\", serverSideFilterOnServer: \"serverSideFilterOnServer\", serverSideSortingAlwaysResets: \"serverSideSortingAlwaysResets\", serverSideFilteringAlwaysResets: \"serverSideFilteringAlwaysResets\", suppressEnterpriseResetOnNewColumns: \"suppressEnterpriseResetOnNewColumns\", viewportDatasource: \"viewportDatasource\", viewportRowModelPageSize: \"viewportRowModelPageSize\", viewportRowModelBufferSize: \"viewportRowModelBufferSize\", alwaysShowHorizontalScroll: \"alwaysShowHorizontalScroll\", alwaysShowVerticalScroll: \"alwaysShowVerticalScroll\", debounceVerticalScrollbar: \"debounceVerticalScrollbar\", suppressHorizontalScroll: \"suppressHorizontalScroll\", suppressScrollOnNewData: \"suppressScrollOnNewData\", suppressScrollWhenPopupsAreOpen: \"suppressScrollWhenPopupsAreOpen\", suppressAnimationFrame: \"suppressAnimationFrame\", suppressMiddleClickScrolls: \"suppressMiddleClickScrolls\", suppressPreventDefaultOnMouseWheel: \"suppressPreventDefaultOnMouseWheel\", scrollbarWidth: \"scrollbarWidth\", rowSelection: \"rowSelection\", rowMultiSelectWithClick: \"rowMultiSelectWithClick\", suppressRowDeselection: \"suppressRowDeselection\", suppressRowClickSelection: \"suppressRowClickSelection\", suppressCellSelection: \"suppressCellSelection\", suppressCellFocus: \"suppressCellFocus\", suppressMultiRangeSelection: \"suppressMultiRangeSelection\", enableCellTextSelection: \"enableCellTextSelection\", enableRangeSelection: \"enableRangeSelection\", enableRangeHandle: \"enableRangeHandle\", enableFillHandle: \"enableFillHandle\", fillHandleDirection: \"fillHandleDirection\", suppressClearOnFillReduction: \"suppressClearOnFillReduction\", sortingOrder: \"sortingOrder\", accentedSort: \"accentedSort\", unSortIcon: \"unSortIcon\", suppressMultiSort: \"suppressMultiSort\", alwaysMultiSort: \"alwaysMultiSort\", multiSortKey: \"multiSortKey\", suppressMaintainUnsortedOrder: \"suppressMaintainUnsortedOrder\", icons: \"icons\", rowHeight: \"rowHeight\", rowStyle: \"rowStyle\", rowClass: \"rowClass\", rowClassRules: \"rowClassRules\", suppressRowHoverHighlight: \"suppressRowHoverHighlight\", suppressRowTransform: \"suppressRowTransform\", columnHoverHighlight: \"columnHoverHighlight\", deltaSort: \"deltaSort\", treeDataDisplayType: \"treeDataDisplayType\", angularCompileRows: \"angularCompileRows\", angularCompileFilters: \"angularCompileFilters\", functionsPassive: \"functionsPassive\", enableGroupEdit: \"enableGroupEdit\", getContextMenuItems: \"getContextMenuItems\", getMainMenuItems: \"getMainMenuItems\", postProcessPopup: \"postProcessPopup\", processCellForClipboard: \"processCellForClipboard\", processHeaderForClipboard: \"processHeaderForClipboard\", processGroupHeaderForClipboard: \"processGroupHeaderForClipboard\", processCellFromClipboard: \"processCellFromClipboard\", sendToClipboard: \"sendToClipboard\", processDataFromClipboard: \"processDataFromClipboard\", isExternalFilterPresent: \"isExternalFilterPresent\", doesExternalFilterPass: \"doesExternalFilterPass\", getChartToolbarItems: \"getChartToolbarItems\", createChartContainer: \"createChartContainer\", navigateToNextHeader: \"navigateToNextHeader\", tabToNextHeader: \"tabToNextHeader\", navigateToNextCell: \"navigateToNextCell\", tabToNextCell: \"tabToNextCell\", suppressKeyboardEvent: \"suppressKeyboardEvent\", localeTextFunc: \"localeTextFunc\", getLocaleText: \"getLocaleText\", getDocument: \"getDocument\", paginationNumberFormatter: \"paginationNumberFormatter\", groupRowAggNodes: \"groupRowAggNodes\", getGroupRowAgg: \"getGroupRowAgg\", isGroupOpenByDefault: \"isGroupOpenByDefault\", initialGroupOrderComparator: \"initialGroupOrderComparator\", defaultGroupOrderComparator: \"defaultGroupOrderComparator\", processSecondaryColDef: \"processSecondaryColDef\", processSecondaryColGroupDef: \"processSecondaryColGroupDef\", processPivotResultColDef: \"processPivotResultColDef\", processPivotResultColGroupDef: \"processPivotResultColGroupDef\", getDataPath: \"getDataPath\", defaultGroupSortComparator: \"defaultGroupSortComparator\", getChildCount: \"getChildCount\", getServerSideGroupLevelParams: \"getServerSideGroupLevelParams\", getServerSideStoreParams: \"getServerSideStoreParams\", isServerSideGroupOpenByDefault: \"isServerSideGroupOpenByDefault\", isApplyServerSideTransaction: \"isApplyServerSideTransaction\", isServerSideGroup: \"isServerSideGroup\", getServerSideGroupKey: \"getServerSideGroupKey\", getBusinessKeyForNode: \"getBusinessKeyForNode\", getRowNodeId: \"getRowNodeId\", getRowId: \"getRowId\", resetRowDataOnUpdate: \"resetRowDataOnUpdate\", processRowPostCreate: \"processRowPostCreate\", isRowSelectable: \"isRowSelectable\", isRowMaster: \"isRowMaster\", fillOperation: \"fillOperation\", postSort: \"postSort\", postSortRows: \"postSortRows\", getRowStyle: \"getRowStyle\", getRowClass: \"getRowClass\", getRowHeight: \"getRowHeight\", isFullWidthCell: \"isFullWidthCell\", isFullWidthRow: \"isFullWidthRow\" }, outputs: { toolPanelVisibleChanged: \"toolPanelVisibleChanged\", toolPanelSizeChanged: \"toolPanelSizeChanged\", pasteStart: \"pasteStart\", pasteEnd: \"pasteEnd\", columnVisible: \"columnVisible\", columnPinned: \"columnPinned\", columnResized: \"columnResized\", columnMoved: \"columnMoved\", columnValueChanged: \"columnValueChanged\", columnPivotModeChanged: \"columnPivotModeChanged\", columnPivotChanged: \"columnPivotChanged\", columnGroupOpened: \"columnGroupOpened\", newColumnsLoaded: \"newColumnsLoaded\", gridColumnsChanged: \"gridColumnsChanged\", displayedColumnsChanged: \"displayedColumnsChanged\", virtualColumnsChanged: \"virtualColumnsChanged\", columnEverythingChanged: \"columnEverythingChanged\", componentStateChanged: \"componentStateChanged\", cellValueChanged: \"cellValueChanged\", cellEditRequest: \"cellEditRequest\", rowValueChanged: \"rowValueChanged\", cellEditingStarted: \"cellEditingStarted\", cellEditingStopped: \"cellEditingStopped\", rowEditingStarted: \"rowEditingStarted\", rowEditingStopped: \"rowEditingStopped\", filterOpened: \"filterOpened\", filterChanged: \"filterChanged\", filterModified: \"filterModified\", chartCreated: \"chartCreated\", chartRangeSelectionChanged: \"chartRangeSelectionChanged\", chartOptionsChanged: \"chartOptionsChanged\", chartDestroyed: \"chartDestroyed\", cellKeyDown: \"cellKeyDown\", cellKeyPress: \"cellKeyPress\", gridReady: \"gridReady\", firstDataRendered: \"firstDataRendered\", gridSizeChanged: \"gridSizeChanged\", modelUpdated: \"modelUpdated\", virtualRowRemoved: \"virtualRowRemoved\", viewportChanged: \"viewportChanged\", bodyScroll: \"bodyScroll\", bodyScrollEnd: \"bodyScrollEnd\", dragStarted: \"dragStarted\", dragStopped: \"dragStopped\", paginationChanged: \"paginationChanged\", rowDragEnter: \"rowDragEnter\", rowDragMove: \"rowDragMove\", rowDragLeave: \"rowDragLeave\", rowDragEnd: \"rowDragEnd\", columnRowGroupChanged: \"columnRowGroupChanged\", rowGroupOpened: \"rowGroupOpened\", expandOrCollapseAll: \"expandOrCollapseAll\", pinnedRowDataChanged: \"pinnedRowDataChanged\", rowDataChanged: \"rowDataChanged\", rowDataUpdated: \"rowDataUpdated\", asyncTransactionsFlushed: \"asyncTransactionsFlushed\", cellClicked: \"cellClicked\", cellDoubleClicked: \"cellDoubleClicked\", cellFocused: \"cellFocused\", cellMouseOver: \"cellMouseOver\", cellMouseOut: \"cellMouseOut\", cellMouseDown: \"cellMouseDown\", rowClicked: \"rowClicked\", rowDoubleClicked: \"rowDoubleClicked\", rowSelected: \"rowSelected\", selectionChanged: \"selectionChanged\", cellContextMenu: \"cellContextMenu\", rangeSelectionChanged: \"rangeSelectionChanged\", sortChanged: \"sortChanged\", columnRowGroupChangeRequest: \"columnRowGroupChangeRequest\", columnPivotChangeRequest: \"columnPivotChangeRequest\", columnValueChangeRequest: \"columnValueChangeRequest\", columnAggFuncChangeRequest: \"columnAggFuncChangeRequest\" }, providers: [\n AngularFrameworkOverrides,\n AngularFrameworkComponentWrapper\n ], queries: [{ propertyName: \"columns\", predicate: AgGridColumn }], usesOnChanges: true, ngImport: i0, template: '', isInline: true, encapsulation: i0.ViewEncapsulation.None });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"12.2.16\", ngImport: i0, type: AgGridAngular, decorators: [{\n type: Component,\n args: [{\n selector: 'ag-grid-angular',\n template: '',\n providers: [\n AngularFrameworkOverrides,\n AngularFrameworkComponentWrapper\n ],\n // tell angular we don't want view encapsulation, we don't want a shadow root\n encapsulation: ViewEncapsulation.None\n }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ViewContainerRef }, { type: AngularFrameworkOverrides }, { type: AngularFrameworkComponentWrapper }, { type: i0.ComponentFactoryResolver }]; }, propDecorators: { columns: [{\n type: ContentChildren,\n args: [AgGridColumn]\n }], gridOptions: [{\n type: Input\n }], modules: [{\n type: Input\n }], statusBar: [{\n type: Input\n }], sideBar: [{\n type: Input\n }], suppressContextMenu: [{\n type: Input\n }], preventDefaultOnContextMenu: [{\n type: Input\n }], allowContextMenuWithControlKey: [{\n type: Input\n }], suppressMenuHide: [{\n type: Input\n }], enableBrowserTooltips: [{\n type: Input\n }], tooltipShowDelay: [{\n type: Input\n }], tooltipHideDelay: [{\n type: Input\n }], tooltipMouseTrack: [{\n type: Input\n }], popupParent: [{\n type: Input\n }], copyHeadersToClipboard: [{\n type: Input\n }], copyGroupHeadersToClipboard: [{\n type: Input\n }], clipboardDelimiter: [{\n type: Input\n }], suppressCopyRowsToClipboard: [{\n type: Input\n }], suppressCopySingleCellRanges: [{\n type: Input\n }], suppressLastEmptyLineOnPaste: [{\n type: Input\n }], suppressClipboardPaste: [{\n type: Input\n }], suppressClipboardApi: [{\n type: Input\n }], columnDefs: [{\n type: Input\n }], defaultColDef: [{\n type: Input\n }], defaultColGroupDef: [{\n type: Input\n }], columnTypes: [{\n type: Input\n }], maintainColumnOrder: [{\n type: Input\n }], suppressFieldDotNotation: [{\n type: Input\n }], deltaColumnMode: [{\n type: Input\n }], applyColumnDefOrder: [{\n type: Input\n }], immutableColumns: [{\n type: Input\n }], suppressSetColumnStateEvents: [{\n type: Input\n }], suppressColumnStateEvents: [{\n type: Input\n }], colWidth: [{\n type: Input\n }], minColWidth: [{\n type: Input\n }], maxColWidth: [{\n type: Input\n }], headerHeight: [{\n type: Input\n }], groupHeaderHeight: [{\n type: Input\n }], floatingFiltersHeight: [{\n type: Input\n }], pivotHeaderHeight: [{\n type: Input\n }], pivotGroupHeaderHeight: [{\n type: Input\n }], allowDragFromColumnsToolPanel: [{\n type: Input\n }], suppressMovableColumns: [{\n type: Input\n }], suppressColumnMoveAnimation: [{\n type: Input\n }], suppressDragLeaveHidesColumns: [{\n type: Input\n }], suppressRowGroupHidesColumns: [{\n type: Input\n }], colResizeDefault: [{\n type: Input\n }], suppressAutoSize: [{\n type: Input\n }], autoSizePadding: [{\n type: Input\n }], skipHeaderOnAutoSize: [{\n type: Input\n }], components: [{\n type: Input\n }], frameworkComponents: [{\n type: Input\n }], editType: [{\n type: Input\n }], singleClickEdit: [{\n type: Input\n }], suppressClickEdit: [{\n type: Input\n }], readOnlyEdit: [{\n type: Input\n }], stopEditingWhenCellsLoseFocus: [{\n type: Input\n }], enterMovesDown: [{\n type: Input\n }], enterMovesDownAfterEdit: [{\n type: Input\n }], enableCellEditingOnBackspace: [{\n type: Input\n }], undoRedoCellEditing: [{\n type: Input\n }], undoRedoCellEditingLimit: [{\n type: Input\n }], stopEditingWhenGridLosesFocus: [{\n type: Input\n }], defaultCsvExportParams: [{\n type: Input\n }], suppressCsvExport: [{\n type: Input\n }], defaultExcelExportParams: [{\n type: Input\n }], suppressExcelExport: [{\n type: Input\n }], excelStyles: [{\n type: Input\n }], defaultExportParams: [{\n type: Input\n }], quickFilterText: [{\n type: Input\n }], cacheQuickFilter: [{\n type: Input\n }], excludeChildrenWhenTreeDataFiltering: [{\n type: Input\n }], enableCharts: [{\n type: Input\n }], chartThemes: [{\n type: Input\n }], customChartThemes: [{\n type: Input\n }], chartThemeOverrides: [{\n type: Input\n }], enableChartToolPanelsButton: [{\n type: Input\n }], chartToolPanelsDef: [{\n type: Input\n }], loadingCellRenderer: [{\n type: Input\n }], loadingCellRendererFramework: [{\n type: Input\n }], loadingCellRendererParams: [{\n type: Input\n }], loadingCellRendererSelector: [{\n type: Input\n }], localeText: [{\n type: Input\n }], masterDetail: [{\n type: Input\n }], keepDetailRows: [{\n type: Input\n }], keepDetailRowsCount: [{\n type: Input\n }], detailCellRenderer: [{\n type: Input\n }], detailCellRendererFramework: [{\n type: Input\n }], detailCellRendererParams: [{\n type: Input\n }], detailRowHeight: [{\n type: Input\n }], detailRowAutoHeight: [{\n type: Input\n }], context: [{\n type: Input\n }], alignedGrids: [{\n type: Input\n }], tabIndex: [{\n type: Input\n }], rowBuffer: [{\n type: Input\n }], valueCache: [{\n type: Input\n }], valueCacheNeverExpires: [{\n type: Input\n }], enableCellExpressions: [{\n type: Input\n }], suppressParentsInRowNodes: [{\n type: Input\n }], suppressTouch: [{\n type: Input\n }], suppressFocusAfterRefresh: [{\n type: Input\n }], suppressAsyncEvents: [{\n type: Input\n }], suppressBrowserResizeObserver: [{\n type: Input\n }], suppressPropertyNamesCheck: [{\n type: Input\n }], suppressChangeDetection: [{\n type: Input\n }], debug: [{\n type: Input\n }], overlayLoadingTemplate: [{\n type: Input\n }], loadingOverlayComponent: [{\n type: Input\n }], loadingOverlayComponentFramework: [{\n type: Input\n }], loadingOverlayComponentParams: [{\n type: Input\n }], suppressLoadingOverlay: [{\n type: Input\n }], overlayNoRowsTemplate: [{\n type: Input\n }], noRowsOverlayComponent: [{\n type: Input\n }], noRowsOverlayComponentFramework: [{\n type: Input\n }], noRowsOverlayComponentParams: [{\n type: Input\n }], suppressNoRowsOverlay: [{\n type: Input\n }], pagination: [{\n type: Input\n }], paginationPageSize: [{\n type: Input\n }], paginationAutoPageSize: [{\n type: Input\n }], paginateChildRows: [{\n type: Input\n }], suppressPaginationPanel: [{\n type: Input\n }], pivotMode: [{\n type: Input\n }], pivotPanelShow: [{\n type: Input\n }], pivotColumnGroupTotals: [{\n type: Input\n }], pivotRowTotals: [{\n type: Input\n }], pivotSuppressAutoColumn: [{\n type: Input\n }], suppressExpandablePivotGroups: [{\n type: Input\n }], functionsReadOnly: [{\n type: Input\n }], aggFuncs: [{\n type: Input\n }], suppressAggFuncInHeader: [{\n type: Input\n }], suppressAggAtRootLevel: [{\n type: Input\n }], aggregateOnlyChangedColumns: [{\n type: Input\n }], suppressAggFilteredOnly: [{\n type: Input\n }], removePivotHeaderRowWhenSingleValueColumn: [{\n type: Input\n }], animateRows: [{\n type: Input\n }], enableCellChangeFlash: [{\n type: Input\n }], cellFlashDelay: [{\n type: Input\n }], cellFadeDelay: [{\n type: Input\n }], allowShowChangeAfterFilter: [{\n type: Input\n }], domLayout: [{\n type: Input\n }], ensureDomOrder: [{\n type: Input\n }], enableRtl: [{\n type: Input\n }], suppressColumnVirtualisation: [{\n type: Input\n }], suppressMaxRenderedRowRestriction: [{\n type: Input\n }], suppressRowVirtualisation: [{\n type: Input\n }], rowDragManaged: [{\n type: Input\n }], suppressRowDrag: [{\n type: Input\n }], suppressMoveWhenRowDragging: [{\n type: Input\n }], rowDragEntireRow: [{\n type: Input\n }], rowDragMultiRow: [{\n type: Input\n }], rowDragText: [{\n type: Input\n }], fullWidthCellRenderer: [{\n type: Input\n }], fullWidthCellRendererFramework: [{\n type: Input\n }], fullWidthCellRendererParams: [{\n type: Input\n }], embedFullWidthRows: [{\n type: Input\n }], deprecatedEmbedFullWidthRows: [{\n type: Input\n }], groupDisplayType: [{\n type: Input\n }], groupDefaultExpanded: [{\n type: Input\n }], autoGroupColumnDef: [{\n type: Input\n }], groupMaintainOrder: [{\n type: Input\n }], groupSelectsChildren: [{\n type: Input\n }], groupAggFiltering: [{\n type: Input\n }], groupIncludeFooter: [{\n type: Input\n }], groupIncludeTotalFooter: [{\n type: Input\n }], groupSuppressBlankHeader: [{\n type: Input\n }], groupSelectsFiltered: [{\n type: Input\n }], showOpenedGroup: [{\n type: Input\n }], groupRemoveSingleChildren: [{\n type: Input\n }], groupRemoveLowestSingleChildren: [{\n type: Input\n }], groupHideOpenParents: [{\n type: Input\n }], rowGroupPanelShow: [{\n type: Input\n }], groupRowRenderer: [{\n type: Input\n }], groupRowRendererFramework: [{\n type: Input\n }], groupRowRendererParams: [{\n type: Input\n }], suppressMakeColumnVisibleAfterUnGroup: [{\n type: Input\n }], treeData: [{\n type: Input\n }], rowGroupPanelSuppressSort: [{\n type: Input\n }], groupRowsSticky: [{\n type: Input\n }], groupRowInnerRenderer: [{\n type: Input\n }], groupRowInnerRendererFramework: [{\n type: Input\n }], groupMultiAutoColumn: [{\n type: Input\n }], groupUseEntireRow: [{\n type: Input\n }], groupSuppressAutoColumn: [{\n type: Input\n }], rememberGroupStateWhenNewData: [{\n type: Input\n }], pinnedTopRowData: [{\n type: Input\n }], pinnedBottomRowData: [{\n type: Input\n }], rowModelType: [{\n type: Input\n }], rowData: [{\n type: Input\n }], immutableData: [{\n type: Input\n }], asyncTransactionWaitMillis: [{\n type: Input\n }], suppressModelUpdateAfterUpdateTransaction: [{\n type: Input\n }], deltaRowDataMode: [{\n type: Input\n }], batchUpdateWaitMillis: [{\n type: Input\n }], datasource: [{\n type: Input\n }], cacheOverflowSize: [{\n type: Input\n }], infiniteInitialRowCount: [{\n type: Input\n }], serverSideInitialRowCount: [{\n type: Input\n }], serverSideStoreType: [{\n type: Input\n }], serverSideInfiniteScroll: [{\n type: Input\n }], cacheBlockSize: [{\n type: Input\n }], maxBlocksInCache: [{\n type: Input\n }], maxConcurrentDatasourceRequests: [{\n type: Input\n }], blockLoadDebounceMillis: [{\n type: Input\n }], purgeClosedRowNodes: [{\n type: Input\n }], serverSideDatasource: [{\n type: Input\n }], serverSideSortAllLevels: [{\n type: Input\n }], serverSideFilterAllLevels: [{\n type: Input\n }], serverSideSortOnServer: [{\n type: Input\n }], serverSideFilterOnServer: [{\n type: Input\n }], serverSideSortingAlwaysResets: [{\n type: Input\n }], serverSideFilteringAlwaysResets: [{\n type: Input\n }], suppressEnterpriseResetOnNewColumns: [{\n type: Input\n }], viewportDatasource: [{\n type: Input\n }], viewportRowModelPageSize: [{\n type: Input\n }], viewportRowModelBufferSize: [{\n type: Input\n }], alwaysShowHorizontalScroll: [{\n type: Input\n }], alwaysShowVerticalScroll: [{\n type: Input\n }], debounceVerticalScrollbar: [{\n type: Input\n }], suppressHorizontalScroll: [{\n type: Input\n }], suppressScrollOnNewData: [{\n type: Input\n }], suppressScrollWhenPopupsAreOpen: [{\n type: Input\n }], suppressAnimationFrame: [{\n type: Input\n }], suppressMiddleClickScrolls: [{\n type: Input\n }], suppressPreventDefaultOnMouseWheel: [{\n type: Input\n }], scrollbarWidth: [{\n type: Input\n }], rowSelection: [{\n type: Input\n }], rowMultiSelectWithClick: [{\n type: Input\n }], suppressRowDeselection: [{\n type: Input\n }], suppressRowClickSelection: [{\n type: Input\n }], suppressCellSelection: [{\n type: Input\n }], suppressCellFocus: [{\n type: Input\n }], suppressMultiRangeSelection: [{\n type: Input\n }], enableCellTextSelection: [{\n type: Input\n }], enableRangeSelection: [{\n type: Input\n }], enableRangeHandle: [{\n type: Input\n }], enableFillHandle: [{\n type: Input\n }], fillHandleDirection: [{\n type: Input\n }], suppressClearOnFillReduction: [{\n type: Input\n }], sortingOrder: [{\n type: Input\n }], accentedSort: [{\n type: Input\n }], unSortIcon: [{\n type: Input\n }], suppressMultiSort: [{\n type: Input\n }], alwaysMultiSort: [{\n type: Input\n }], multiSortKey: [{\n type: Input\n }], suppressMaintainUnsortedOrder: [{\n type: Input\n }], icons: [{\n type: Input\n }], rowHeight: [{\n type: Input\n }], rowStyle: [{\n type: Input\n }], rowClass: [{\n type: Input\n }], rowClassRules: [{\n type: Input\n }], suppressRowHoverHighlight: [{\n type: Input\n }], suppressRowTransform: [{\n type: Input\n }], columnHoverHighlight: [{\n type: Input\n }], deltaSort: [{\n type: Input\n }], treeDataDisplayType: [{\n type: Input\n }], angularCompileRows: [{\n type: Input\n }], angularCompileFilters: [{\n type: Input\n }], functionsPassive: [{\n type: Input\n }], enableGroupEdit: [{\n type: Input\n }], getContextMenuItems: [{\n type: Input\n }], getMainMenuItems: [{\n type: Input\n }], postProcessPopup: [{\n type: Input\n }], processCellForClipboard: [{\n type: Input\n }], processHeaderForClipboard: [{\n type: Input\n }], processGroupHeaderForClipboard: [{\n type: Input\n }], processCellFromClipboard: [{\n type: Input\n }], sendToClipboard: [{\n type: Input\n }], processDataFromClipboard: [{\n type: Input\n }], isExternalFilterPresent: [{\n type: Input\n }], doesExternalFilterPass: [{\n type: Input\n }], getChartToolbarItems: [{\n type: Input\n }], createChartContainer: [{\n type: Input\n }], navigateToNextHeader: [{\n type: Input\n }], tabToNextHeader: [{\n type: Input\n }], navigateToNextCell: [{\n type: Input\n }], tabToNextCell: [{\n type: Input\n }], suppressKeyboardEvent: [{\n type: Input\n }], localeTextFunc: [{\n type: Input\n }], getLocaleText: [{\n type: Input\n }], getDocument: [{\n type: Input\n }], paginationNumberFormatter: [{\n type: Input\n }], groupRowAggNodes: [{\n type: Input\n }], getGroupRowAgg: [{\n type: Input\n }], isGroupOpenByDefault: [{\n type: Input\n }], initialGroupOrderComparator: [{\n type: Input\n }], defaultGroupOrderComparator: [{\n type: Input\n }], processSecondaryColDef: [{\n type: Input\n }], processSecondaryColGroupDef: [{\n type: Input\n }], processPivotResultColDef: [{\n type: Input\n }], processPivotResultColGroupDef: [{\n type: Input\n }], getDataPath: [{\n type: Input\n }], defaultGroupSortComparator: [{\n type: Input\n }], getChildCount: [{\n type: Input\n }], getServerSideGroupLevelParams: [{\n type: Input\n }], getServerSideStoreParams: [{\n type: Input\n }], isServerSideGroupOpenByDefault: [{\n type: Input\n }], isApplyServerSideTransaction: [{\n type: Input\n }], isServerSideGroup: [{\n type: Input\n }], getServerSideGroupKey: [{\n type: Input\n }], getBusinessKeyForNode: [{\n type: Input\n }], getRowNodeId: [{\n type: Input\n }], getRowId: [{\n type: Input\n }], resetRowDataOnUpdate: [{\n type: Input\n }], processRowPostCreate: [{\n type: Input\n }], isRowSelectable: [{\n type: Input\n }], isRowMaster: [{\n type: Input\n }], fillOperation: [{\n type: Input\n }], postSort: [{\n type: Input\n }], postSortRows: [{\n type: Input\n }], getRowStyle: [{\n type: Input\n }], getRowClass: [{\n type: Input\n }], getRowHeight: [{\n type: Input\n }], isFullWidthCell: [{\n type: Input\n }], isFullWidthRow: [{\n type: Input\n }], toolPanelVisibleChanged: [{\n type: Output\n }], toolPanelSizeChanged: [{\n type: Output\n }], pasteStart: [{\n type: Output\n }], pasteEnd: [{\n type: Output\n }], columnVisible: [{\n type: Output\n }], columnPinned: [{\n type: Output\n }], columnResized: [{\n type: Output\n }], columnMoved: [{\n type: Output\n }], columnValueChanged: [{\n type: Output\n }], columnPivotModeChanged: [{\n type: Output\n }], columnPivotChanged: [{\n type: Output\n }], columnGroupOpened: [{\n type: Output\n }], newColumnsLoaded: [{\n type: Output\n }], gridColumnsChanged: [{\n type: Output\n }], displayedColumnsChanged: [{\n type: Output\n }], virtualColumnsChanged: [{\n type: Output\n }], columnEverythingChanged: [{\n type: Output\n }], componentStateChanged: [{\n type: Output\n }], cellValueChanged: [{\n type: Output\n }], cellEditRequest: [{\n type: Output\n }], rowValueChanged: [{\n type: Output\n }], cellEditingStarted: [{\n type: Output\n }], cellEditingStopped: [{\n type: Output\n }], rowEditingStarted: [{\n type: Output\n }], rowEditingStopped: [{\n type: Output\n }], filterOpened: [{\n type: Output\n }], filterChanged: [{\n type: Output\n }], filterModified: [{\n type: Output\n }], chartCreated: [{\n type: Output\n }], chartRangeSelectionChanged: [{\n type: Output\n }], chartOptionsChanged: [{\n type: Output\n }], chartDestroyed: [{\n type: Output\n }], cellKeyDown: [{\n type: Output\n }], cellKeyPress: [{\n type: Output\n }], gridReady: [{\n type: Output\n }], firstDataRendered: [{\n type: Output\n }], gridSizeChanged: [{\n type: Output\n }], modelUpdated: [{\n type: Output\n }], virtualRowRemoved: [{\n type: Output\n }], viewportChanged: [{\n type: Output\n }], bodyScroll: [{\n type: Output\n }], bodyScrollEnd: [{\n type: Output\n }], dragStarted: [{\n type: Output\n }], dragStopped: [{\n type: Output\n }], paginationChanged: [{\n type: Output\n }], rowDragEnter: [{\n type: Output\n }], rowDragMove: [{\n type: Output\n }], rowDragLeave: [{\n type: Output\n }], rowDragEnd: [{\n type: Output\n }], columnRowGroupChanged: [{\n type: Output\n }], rowGroupOpened: [{\n type: Output\n }], expandOrCollapseAll: [{\n type: Output\n }], pinnedRowDataChanged: [{\n type: Output\n }], rowDataChanged: [{\n type: Output\n }], rowDataUpdated: [{\n type: Output\n }], asyncTransactionsFlushed: [{\n type: Output\n }], cellClicked: [{\n type: Output\n }], cellDoubleClicked: [{\n type: Output\n }], cellFocused: [{\n type: Output\n }], cellMouseOver: [{\n type: Output\n }], cellMouseOut: [{\n type: Output\n }], cellMouseDown: [{\n type: Output\n }], rowClicked: [{\n type: Output\n }], rowDoubleClicked: [{\n type: Output\n }], rowSelected: [{\n type: Output\n }], selectionChanged: [{\n type: Output\n }], cellContextMenu: [{\n type: Output\n }], rangeSelectionChanged: [{\n type: Output\n }], sortChanged: [{\n type: Output\n }], columnRowGroupChangeRequest: [{\n type: Output\n }], columnPivotChangeRequest: [{\n type: Output\n }], columnValueChangeRequest: [{\n type: Output\n }], columnAggFuncChangeRequest: [{\n type: Output\n }] } });\n\nclass AgGridModule {\n}\nAgGridModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"12.2.16\", ngImport: i0, type: AgGridModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\nAgGridModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"12.0.0\", version: \"12.2.16\", ngImport: i0, type: AgGridModule, declarations: [AgGridAngular, AgGridColumn], exports: [AgGridAngular, AgGridColumn] });\nAgGridModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"12.2.16\", ngImport: i0, type: AgGridModule, imports: [[]] });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"12.2.16\", ngImport: i0, type: AgGridModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [AgGridAngular, AgGridColumn],\n imports: [],\n exports: [AgGridAngular, AgGridColumn]\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { AgGridAngular, AgGridColumn, AgGridModule, AngularFrameworkComponentWrapper, AngularFrameworkOverrides };\n","/**\n * @ag-grid-community/all-modules - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\n/**\n * If value is undefined, null or blank, returns null, otherwise returns the value\n * @param {T} value\n * @returns {T | null}\n */\nfunction makeNull(value) {\n if (value == null || value === '') {\n return null;\n }\n return value;\n}\nfunction exists(value, allowEmptyString) {\n if (allowEmptyString === void 0) { allowEmptyString = false; }\n return value != null && (value !== '' || allowEmptyString);\n}\nfunction missing(value) {\n return !exists(value);\n}\nfunction missingOrEmpty(value) {\n return value == null || value.length === 0;\n}\nfunction toStringOrNull(value) {\n return value != null && typeof value.toString === 'function' ? value.toString() : null;\n}\n// for parsing html attributes, where we want empty strings and missing attributes to be undefined\nfunction attrToNumber(value) {\n if (value === undefined) {\n // undefined or empty means ignore the value\n return;\n }\n if (value === null || value === '') {\n // null or blank means clear\n return null;\n }\n if (typeof value === 'number') {\n return isNaN(value) ? undefined : value;\n }\n var valueParsed = parseInt(value, 10);\n return isNaN(valueParsed) ? undefined : valueParsed;\n}\n// for parsing html attributes, where we want empty strings and missing attributes to be undefined\nfunction attrToBoolean(value) {\n if (value === undefined) {\n // undefined or empty means ignore the value\n return;\n }\n if (value === null || value === '') {\n // null means clear\n return false;\n }\n if (typeof value === 'boolean') {\n // if simple boolean, return the boolean\n return value;\n }\n // if equal to the string 'true' (ignoring case) then return true\n return (/true/i).test(value);\n}\n// for parsing html attributes, where we want empty strings and missing attributes to be undefined\nfunction attrToString(value) {\n if (value == null || value === '') {\n return;\n }\n return value;\n}\n/** @deprecated */\nfunction referenceCompare(left, right) {\n if (left == null && right == null) {\n return true;\n }\n if (left == null && right != null) {\n return false;\n }\n if (left != null && right == null) {\n return false;\n }\n return left === right;\n}\nfunction jsonEquals(val1, val2) {\n var val1Json = val1 ? JSON.stringify(val1) : null;\n var val2Json = val2 ? JSON.stringify(val2) : null;\n return val1Json === val2Json;\n}\nfunction defaultComparator(valueA, valueB, accentedCompare) {\n if (accentedCompare === void 0) { accentedCompare = false; }\n var valueAMissing = valueA == null;\n var valueBMissing = valueB == null;\n // this is for aggregations sum and avg, where the result can be a number that is wrapped.\n // if we didn't do this, then the toString() value would be used, which would result in\n // the strings getting used instead of the numbers.\n if (valueA && valueA.toNumber) {\n valueA = valueA.toNumber();\n }\n if (valueB && valueB.toNumber) {\n valueB = valueB.toNumber();\n }\n if (valueAMissing && valueBMissing) {\n return 0;\n }\n if (valueAMissing) {\n return -1;\n }\n if (valueBMissing) {\n return 1;\n }\n function doQuickCompare(a, b) {\n return (a > b ? 1 : (a < b ? -1 : 0));\n }\n if (typeof valueA !== 'string') {\n return doQuickCompare(valueA, valueB);\n }\n if (!accentedCompare) {\n return doQuickCompare(valueA, valueB);\n }\n try {\n // using local compare also allows chinese comparisons\n return valueA.localeCompare(valueB);\n }\n catch (e) {\n // if something wrong with localeCompare, eg not supported\n // by browser, then just continue with the quick one\n return doQuickCompare(valueA, valueB);\n }\n}\nfunction values(object) {\n if (object instanceof Set || object instanceof Map) {\n var arr_1 = [];\n object.forEach(function (value) { return arr_1.push(value); });\n return arr_1;\n }\n return Object.values(object);\n}\n\nvar GenericUtils = /*#__PURE__*/Object.freeze({\n __proto__: null,\n makeNull: makeNull,\n exists: exists,\n missing: missing,\n missingOrEmpty: missingOrEmpty,\n toStringOrNull: toStringOrNull,\n attrToNumber: attrToNumber,\n attrToBoolean: attrToBoolean,\n attrToString: attrToString,\n referenceCompare: referenceCompare,\n jsonEquals: jsonEquals,\n defaultComparator: defaultComparator,\n values: values\n});\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar ColumnKeyCreator = /** @class */ (function () {\n function ColumnKeyCreator() {\n this.existingKeys = {};\n }\n ColumnKeyCreator.prototype.addExistingKeys = function (keys) {\n for (var i = 0; i < keys.length; i++) {\n this.existingKeys[keys[i]] = true;\n }\n };\n ColumnKeyCreator.prototype.getUniqueKey = function (colId, colField) {\n // in case user passed in number for colId, convert to string\n colId = toStringOrNull(colId);\n var count = 0;\n while (true) {\n var idToTry = void 0;\n if (colId) {\n idToTry = colId;\n if (count !== 0) {\n idToTry += '_' + count;\n }\n }\n else if (colField) {\n idToTry = colField;\n if (count !== 0) {\n idToTry += '_' + count;\n }\n }\n else {\n idToTry = '' + count;\n }\n if (!this.existingKeys[idToTry]) {\n this.existingKeys[idToTry] = true;\n return idToTry;\n }\n count++;\n }\n };\n return ColumnKeyCreator;\n}());\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nfunction iterateObject(object, callback) {\n if (object == null) {\n return;\n }\n if (Array.isArray(object)) {\n object.forEach(function (value, index) { return callback(\"\" + index, value); });\n }\n else {\n Object.keys(object).forEach(function (key) { return callback(key, object[key]); });\n }\n}\nfunction cloneObject(object) {\n var copy = {};\n var keys = Object.keys(object);\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n var value = object[key];\n copy[key] = value;\n }\n return copy;\n}\nfunction deepCloneObject(object) {\n return JSON.parse(JSON.stringify(object));\n}\n// returns copy of an object, doing a deep clone of any objects with that object.\n// this is used for eg creating copies of Column Definitions, where we want to\n// deep copy all objects, but do not want to deep copy functions (eg when user provides\n// a function or class for colDef.cellRenderer)\nfunction deepCloneDefinition(object, keysToSkip) {\n if (!object) {\n return;\n }\n var obj = object;\n var res = {};\n Object.keys(obj).forEach(function (key) {\n if (keysToSkip && keysToSkip.indexOf(key) >= 0) {\n return;\n }\n var value = obj[key];\n // 'simple object' means a bunch of key/value pairs, eg {filter: 'myFilter'}. it does\n // NOT include the following:\n // 1) arrays\n // 2) functions or classes (eg ColumnAPI instance)\n var sourceIsSimpleObject = isNonNullObject(value) && value.constructor === Object;\n if (sourceIsSimpleObject) {\n res[key] = deepCloneDefinition(value);\n }\n else {\n res[key] = value;\n }\n });\n return res;\n}\nfunction getProperty(object, key) {\n return object[key];\n}\nfunction setProperty(object, key, value) {\n object[key] = value;\n}\n/**\n * Will copy the specified properties from `source` into the equivalent properties on `target`, ignoring properties with\n * a value of `undefined`.\n */\nfunction copyPropertiesIfPresent(source, target) {\n var properties = [];\n for (var _i = 2; _i < arguments.length; _i++) {\n properties[_i - 2] = arguments[_i];\n }\n properties.forEach(function (p) { return copyPropertyIfPresent(source, target, p); });\n}\n/**\n * Will copy the specified property from `source` into the equivalent property on `target`, unless the property has a\n * value of `undefined`. If a transformation is provided, it will be applied to the value before being set on `target`.\n */\nfunction copyPropertyIfPresent(source, target, property, transform) {\n var value = getProperty(source, property);\n if (value !== undefined) {\n setProperty(target, property, transform ? transform(value) : value);\n }\n}\nfunction getAllKeysInObjects(objects) {\n var allValues = {};\n objects.filter(function (obj) { return obj != null; }).forEach(function (obj) {\n Object.keys(obj).forEach(function (key) { return allValues[key] = null; });\n });\n return Object.keys(allValues);\n}\nfunction getAllValuesInObject(obj) {\n if (!obj) {\n return [];\n }\n var anyObject = Object;\n if (typeof anyObject.values === 'function') {\n return anyObject.values(obj);\n }\n var ret = [];\n for (var key in obj) {\n if (obj.hasOwnProperty(key) && obj.propertyIsEnumerable(key)) {\n ret.push(obj[key]);\n }\n }\n return ret;\n}\nfunction mergeDeep(dest, source, copyUndefined, makeCopyOfSimpleObjects) {\n if (copyUndefined === void 0) { copyUndefined = true; }\n if (makeCopyOfSimpleObjects === void 0) { makeCopyOfSimpleObjects = false; }\n if (!exists(source)) {\n return;\n }\n iterateObject(source, function (key, sourceValue) {\n var destValue = dest[key];\n if (destValue === sourceValue) {\n return;\n }\n // when creating params, we don't want to just copy objects over. otherwise merging ColDefs (eg DefaultColDef\n // and Column Types) would result in params getting shared between objects.\n // by putting an empty value into destValue first, it means we end up copying over values from\n // the source object, rather than just copying in the source object in it's entirety.\n if (makeCopyOfSimpleObjects) {\n var objectIsDueToBeCopied = destValue == null && sourceValue != null;\n if (objectIsDueToBeCopied) {\n // 'simple object' means a bunch of key/value pairs, eg {filter: 'myFilter'}, as opposed\n // to a Class instance (such as ColumnAPI instance).\n var sourceIsSimpleObject = typeof sourceValue === 'object' && sourceValue.constructor === Object;\n var dontCopy = sourceIsSimpleObject;\n if (dontCopy) {\n destValue = {};\n dest[key] = destValue;\n }\n }\n }\n if (isNonNullObject(sourceValue) && isNonNullObject(destValue) && !Array.isArray(destValue)) {\n mergeDeep(destValue, sourceValue, copyUndefined, makeCopyOfSimpleObjects);\n }\n else if (copyUndefined || sourceValue !== undefined) {\n dest[key] = sourceValue;\n }\n });\n}\nfunction missingOrEmptyObject(value) {\n return missing(value) || Object.keys(value).length === 0;\n}\nfunction get(source, expression, defaultValue) {\n if (source == null) {\n return defaultValue;\n }\n var keys = expression.split('.');\n var objectToRead = source;\n while (keys.length > 1) {\n objectToRead = objectToRead[keys.shift()];\n if (objectToRead == null) {\n return defaultValue;\n }\n }\n var value = objectToRead[keys[0]];\n return value != null ? value : defaultValue;\n}\nfunction set(target, expression, value) {\n if (target == null) {\n return;\n }\n var keys = expression.split('.');\n var objectToUpdate = target;\n while (keys.length > 1) {\n objectToUpdate = objectToUpdate[keys.shift()];\n if (objectToUpdate == null) {\n return;\n }\n }\n objectToUpdate[keys[0]] = value;\n}\nfunction deepFreeze(object) {\n Object.freeze(object);\n values(object).forEach(function (v) {\n if (isNonNullObject(v) || typeof v === 'function') {\n deepFreeze(v);\n }\n });\n return object;\n}\nfunction getValueUsingField(data, field, fieldContainsDots) {\n if (!field || !data) {\n return;\n }\n // if no '.', then it's not a deep value\n if (!fieldContainsDots) {\n return data[field];\n }\n // otherwise it is a deep value, so need to dig for it\n var fields = field.split('.');\n var currentObject = data;\n for (var i = 0; i < fields.length; i++) {\n if (currentObject == null) {\n return undefined;\n }\n currentObject = currentObject[fields[i]];\n }\n return currentObject;\n}\n// used by ColumnAPI and GridAPI to remove all references, so keeping grid in memory resulting in a\n// memory leak if user is not disposing of the GridAPI or ColumnApi references\nfunction removeAllReferences(obj, objectName) {\n Object.keys(obj).forEach(function (key) {\n var value = obj[key];\n // we want to replace all the @autowired services, which are objects. any simple types (boolean, string etc)\n // we don't care about\n if (typeof value === 'object') {\n obj[key] = undefined;\n }\n });\n var proto = Object.getPrototypeOf(obj);\n var properties = {};\n Object.keys(proto).forEach(function (key) {\n var value = proto[key];\n // leave all basic types - this is needed for GridAPI to leave the \"destroyed: boolean\" attribute alone\n if (typeof value === 'function') {\n var func = function () {\n console.warn(\"AG Grid: \" + objectName + \" function \" + key + \"() cannot be called as the grid has been destroyed.\\n Please don't call grid API functions on destroyed grids - as a matter of fact you shouldn't\\n be keeping the API reference, your application has a memory leak! Remove the API reference\\n when the grid is destroyed.\");\n };\n properties[key] = { value: func, writable: true };\n }\n });\n Object.defineProperties(obj, properties);\n}\nfunction isNonNullObject(value) {\n return typeof value === 'object' && value !== null;\n}\n\nvar ObjectUtils = /*#__PURE__*/Object.freeze({\n __proto__: null,\n iterateObject: iterateObject,\n cloneObject: cloneObject,\n deepCloneObject: deepCloneObject,\n deepCloneDefinition: deepCloneDefinition,\n getProperty: getProperty,\n setProperty: setProperty,\n copyPropertiesIfPresent: copyPropertiesIfPresent,\n copyPropertyIfPresent: copyPropertyIfPresent,\n getAllKeysInObjects: getAllKeysInObjects,\n getAllValuesInObject: getAllValuesInObject,\n mergeDeep: mergeDeep,\n missingOrEmptyObject: missingOrEmptyObject,\n get: get,\n set: set,\n deepFreeze: deepFreeze,\n getValueUsingField: getValueUsingField,\n removeAllReferences: removeAllReferences,\n isNonNullObject: isNonNullObject\n});\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar doOnceFlags = {};\n/**\n * If the key was passed before, then doesn't execute the func\n * @param {Function} func\n * @param {string} key\n */\nfunction doOnce(func, key) {\n if (doOnceFlags[key]) {\n return;\n }\n func();\n doOnceFlags[key] = true;\n}\nfunction getFunctionName(funcConstructor) {\n // for every other browser in the world\n if (funcConstructor.name) {\n return funcConstructor.name;\n }\n // for the pestilence that is ie11\n var matches = /function\\s+([^\\(]+)/.exec(funcConstructor.toString());\n return matches && matches.length === 2 ? matches[1].trim() : null;\n}\nfunction isFunction(val) {\n return !!(val && val.constructor && val.call && val.apply);\n}\nfunction executeInAWhile(funcs) {\n executeAfter(funcs, 400);\n}\nvar executeNextVMTurnFuncs = [];\nvar executeNextVMTurnPending = false;\nfunction executeNextVMTurn(func) {\n executeNextVMTurnFuncs.push(func);\n if (executeNextVMTurnPending) {\n return;\n }\n executeNextVMTurnPending = true;\n window.setTimeout(function () {\n var funcsCopy = executeNextVMTurnFuncs.slice();\n executeNextVMTurnFuncs.length = 0;\n executeNextVMTurnPending = false;\n funcsCopy.forEach(function (func) { return func(); });\n }, 0);\n}\nfunction executeAfter(funcs, milliseconds) {\n if (milliseconds === void 0) { milliseconds = 0; }\n if (funcs.length > 0) {\n window.setTimeout(function () { return funcs.forEach(function (func) { return func(); }); }, milliseconds);\n }\n}\n/**\n * from https://stackoverflow.com/questions/24004791/can-someone-explain-the-debounce-function-in-javascript\n * @param {Function} func The function to be debounced\n * @param {number} wait The time in ms to debounce\n * @param {boolean} immediate If it should run immediately or wait for the initial debounce delay\n * @return {Function} The debounced function\n */\nfunction debounce(func, wait, immediate) {\n if (immediate === void 0) { immediate = false; }\n // 'private' variable for instance\n // The returned function will be able to reference this due to closure.\n // Each call to the returned function will share this common timer.\n var timeout;\n // Calling debounce returns a new anonymous function\n return function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n // reference the context and args for the setTimeout function\n var context = this;\n // Should the function be called now? If immediate is true\n // and not already in a timeout then the answer is: Yes\n var callNow = immediate && !timeout;\n // This is the basic debounce behaviour where you can call this\n // function several times, but it will only execute once\n // [before or after imposing a delay].\n // Each time the returned function is called, the timer starts over.\n window.clearTimeout(timeout);\n // Set the new timeout\n timeout = window.setTimeout(function () {\n // Inside the timeout function, clear the timeout variable\n // which will let the next execution run when in 'immediate' mode\n timeout = null;\n // Check if the function already ran with the immediate flag\n if (!immediate) {\n // Call the original function with apply\n // apply lets you define the 'this' object as well as the arguments\n // (both captured before setTimeout)\n func.apply(context, args);\n }\n }, wait);\n // Immediate mode and no wait timer? Execute the function..\n if (callNow) {\n func.apply(context, args);\n }\n };\n}\n/**\n * @param {Function} func The function to be throttled\n * @param {number} wait The time in ms to throttle\n * @return {Function} The throttled function\n */\nfunction throttle(func, wait) {\n var previousCall = 0;\n return function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n var context = this;\n var currentCall = new Date().getTime();\n if (currentCall - previousCall < wait) {\n return;\n }\n previousCall = currentCall;\n func.apply(context, args);\n };\n}\nfunction waitUntil(condition, callback, timeout, timeoutMessage) {\n if (timeout === void 0) { timeout = 100; }\n var timeStamp = new Date().getTime();\n var interval = null;\n var executed = false;\n var internalCallback = function () {\n var reachedTimeout = ((new Date().getTime()) - timeStamp) > timeout;\n if (condition() || reachedTimeout) {\n callback();\n executed = true;\n if (interval != null) {\n window.clearInterval(interval);\n interval = null;\n }\n if (reachedTimeout && timeoutMessage) {\n console.warn(timeoutMessage);\n }\n }\n };\n internalCallback();\n if (!executed) {\n interval = window.setInterval(internalCallback, 10);\n }\n}\nfunction compose() {\n var fns = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n fns[_i] = arguments[_i];\n }\n return function (arg) { return fns.reduce(function (composed, f) { return f(composed); }, arg); };\n}\nfunction callIfPresent(func) {\n if (func) {\n func();\n }\n}\nvar noop = function () { return; };\n\nvar FunctionUtils = /*#__PURE__*/Object.freeze({\n __proto__: null,\n doOnce: doOnce,\n getFunctionName: getFunctionName,\n isFunction: isFunction,\n executeInAWhile: executeInAWhile,\n executeNextVMTurn: executeNextVMTurn,\n executeAfter: executeAfter,\n debounce: debounce,\n throttle: throttle,\n waitUntil: waitUntil,\n compose: compose,\n callIfPresent: callIfPresent,\n noop: noop\n});\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar Context = /** @class */ (function () {\n function Context(params, logger) {\n this.beanWrappers = {};\n this.destroyed = false;\n if (!params || !params.beanClasses) {\n return;\n }\n this.contextParams = params;\n this.logger = logger;\n this.logger.log(\">> creating ag-Application Context\");\n this.createBeans();\n var beanInstances = this.getBeanInstances();\n this.wireBeans(beanInstances);\n this.logger.log(\">> ag-Application Context ready - component is alive\");\n }\n Context.prototype.getBeanInstances = function () {\n return values(this.beanWrappers).map(function (beanEntry) { return beanEntry.beanInstance; });\n };\n Context.prototype.createBean = function (bean, afterPreCreateCallback) {\n if (!bean) {\n throw Error(\"Can't wire to bean since it is null\");\n }\n this.wireBeans([bean], afterPreCreateCallback);\n return bean;\n };\n Context.prototype.wireBeans = function (beanInstances, afterPreCreateCallback) {\n this.autoWireBeans(beanInstances);\n this.methodWireBeans(beanInstances);\n this.callLifeCycleMethods(beanInstances, 'preConstructMethods');\n // the callback sets the attributes, so the component has access to attributes\n // before postConstruct methods in the component are executed\n if (exists(afterPreCreateCallback)) {\n beanInstances.forEach(afterPreCreateCallback);\n }\n this.callLifeCycleMethods(beanInstances, 'postConstructMethods');\n };\n Context.prototype.createBeans = function () {\n var _this = this;\n // register all normal beans\n this.contextParams.beanClasses.forEach(this.createBeanWrapper.bind(this));\n // register override beans, these will overwrite beans above of same name\n // instantiate all beans - overridden beans will be left out\n iterateObject(this.beanWrappers, function (key, beanEntry) {\n var constructorParamsMeta;\n if (beanEntry.bean.__agBeanMetaData && beanEntry.bean.__agBeanMetaData.autowireMethods && beanEntry.bean.__agBeanMetaData.autowireMethods.agConstructor) {\n constructorParamsMeta = beanEntry.bean.__agBeanMetaData.autowireMethods.agConstructor;\n }\n var constructorParams = _this.getBeansForParameters(constructorParamsMeta, beanEntry.bean.name);\n var newInstance = applyToConstructor(beanEntry.bean, constructorParams);\n beanEntry.beanInstance = newInstance;\n });\n var createdBeanNames = Object.keys(this.beanWrappers).join(', ');\n this.logger.log(\"created beans: \" + createdBeanNames);\n };\n // tslint:disable-next-line\n Context.prototype.createBeanWrapper = function (BeanClass) {\n var metaData = BeanClass.__agBeanMetaData;\n if (!metaData) {\n var beanName = void 0;\n if (BeanClass.prototype.constructor) {\n beanName = getFunctionName(BeanClass.prototype.constructor);\n }\n else {\n beanName = \"\" + BeanClass;\n }\n console.error(\"Context item \" + beanName + \" is not a bean\");\n return;\n }\n var beanEntry = {\n bean: BeanClass,\n beanInstance: null,\n beanName: metaData.beanName\n };\n this.beanWrappers[metaData.beanName] = beanEntry;\n };\n Context.prototype.autoWireBeans = function (beanInstances) {\n var _this = this;\n beanInstances.forEach(function (beanInstance) {\n _this.forEachMetaDataInHierarchy(beanInstance, function (metaData, beanName) {\n var attributes = metaData.agClassAttributes;\n if (!attributes) {\n return;\n }\n attributes.forEach(function (attribute) {\n var otherBean = _this.lookupBeanInstance(beanName, attribute.beanName, attribute.optional);\n beanInstance[attribute.attributeName] = otherBean;\n });\n });\n });\n };\n Context.prototype.methodWireBeans = function (beanInstances) {\n var _this = this;\n beanInstances.forEach(function (beanInstance) {\n _this.forEachMetaDataInHierarchy(beanInstance, function (metaData, beanName) {\n iterateObject(metaData.autowireMethods, function (methodName, wireParams) {\n // skip constructor, as this is dealt with elsewhere\n if (methodName === \"agConstructor\") {\n return;\n }\n var initParams = _this.getBeansForParameters(wireParams, beanName);\n beanInstance[methodName].apply(beanInstance, initParams);\n });\n });\n });\n };\n Context.prototype.forEachMetaDataInHierarchy = function (beanInstance, callback) {\n var prototype = Object.getPrototypeOf(beanInstance);\n while (prototype != null) {\n var constructor = prototype.constructor;\n if (constructor.hasOwnProperty('__agBeanMetaData')) {\n var metaData = constructor.__agBeanMetaData;\n var beanName = this.getBeanName(constructor);\n callback(metaData, beanName);\n }\n prototype = Object.getPrototypeOf(prototype);\n }\n };\n Context.prototype.getBeanName = function (constructor) {\n if (constructor.__agBeanMetaData && constructor.__agBeanMetaData.beanName) {\n return constructor.__agBeanMetaData.beanName;\n }\n var constructorString = constructor.toString();\n var beanName = constructorString.substring(9, constructorString.indexOf(\"(\"));\n return beanName;\n };\n Context.prototype.getBeansForParameters = function (parameters, beanName) {\n var _this = this;\n var beansList = [];\n if (parameters) {\n iterateObject(parameters, function (paramIndex, otherBeanName) {\n var otherBean = _this.lookupBeanInstance(beanName, otherBeanName);\n beansList[Number(paramIndex)] = otherBean;\n });\n }\n return beansList;\n };\n Context.prototype.lookupBeanInstance = function (wiringBean, beanName, optional) {\n if (optional === void 0) { optional = false; }\n if (beanName === \"context\") {\n return this;\n }\n if (this.contextParams.providedBeanInstances && this.contextParams.providedBeanInstances.hasOwnProperty(beanName)) {\n return this.contextParams.providedBeanInstances[beanName];\n }\n var beanEntry = this.beanWrappers[beanName];\n if (beanEntry) {\n return beanEntry.beanInstance;\n }\n if (!optional) {\n console.error(\"AG Grid: unable to find bean reference \" + beanName + \" while initialising \" + wiringBean);\n }\n return null;\n };\n Context.prototype.callLifeCycleMethods = function (beanInstances, lifeCycleMethod) {\n var _this = this;\n beanInstances.forEach(function (beanInstance) { return _this.callLifeCycleMethodsOnBean(beanInstance, lifeCycleMethod); });\n };\n Context.prototype.callLifeCycleMethodsOnBean = function (beanInstance, lifeCycleMethod, methodToIgnore) {\n // putting all methods into a map removes duplicates\n var allMethods = {};\n // dump methods from each level of the metadata hierarchy\n this.forEachMetaDataInHierarchy(beanInstance, function (metaData) {\n var methods = metaData[lifeCycleMethod];\n if (methods) {\n methods.forEach(function (methodName) {\n if (methodName != methodToIgnore) {\n allMethods[methodName] = true;\n }\n });\n }\n });\n var allMethodsList = Object.keys(allMethods);\n allMethodsList.forEach(function (methodName) { return beanInstance[methodName](); });\n };\n Context.prototype.getBean = function (name) {\n return this.lookupBeanInstance(\"getBean\", name, true);\n };\n Context.prototype.destroy = function () {\n if (this.destroyed) {\n return;\n }\n this.logger.log(\">> Shutting down ag-Application Context\");\n var beanInstances = this.getBeanInstances();\n this.destroyBeans(beanInstances);\n this.contextParams.providedBeanInstances = null;\n this.destroyed = true;\n this.logger.log(\">> ag-Application Context shut down - component is dead\");\n };\n Context.prototype.destroyBean = function (bean) {\n if (!bean) {\n return;\n }\n this.destroyBeans([bean]);\n };\n Context.prototype.destroyBeans = function (beans) {\n var _this = this;\n if (!beans) {\n return [];\n }\n beans.forEach(function (bean) {\n _this.callLifeCycleMethodsOnBean(bean, 'preDestroyMethods', 'destroy');\n // call destroy() explicitly if it exists\n var beanAny = bean;\n if (typeof beanAny.destroy === 'function') {\n beanAny.destroy();\n }\n });\n return [];\n };\n return Context;\n}());\n// taken from: http://stackoverflow.com/questions/3362471/how-can-i-call-a-javascript-constructor-using-call-or-apply\n// allows calling 'apply' on a constructor\nfunction applyToConstructor(constructor, argArray) {\n var args = [null].concat(argArray);\n var factoryFunction = constructor.bind.apply(constructor, args);\n return new factoryFunction();\n}\nfunction PreConstruct(target, methodName, descriptor) {\n var props = getOrCreateProps$1(target.constructor);\n if (!props.preConstructMethods) {\n props.preConstructMethods = [];\n }\n props.preConstructMethods.push(methodName);\n}\nfunction PostConstruct(target, methodName, descriptor) {\n var props = getOrCreateProps$1(target.constructor);\n if (!props.postConstructMethods) {\n props.postConstructMethods = [];\n }\n props.postConstructMethods.push(methodName);\n}\nfunction PreDestroy(target, methodName, descriptor) {\n var props = getOrCreateProps$1(target.constructor);\n if (!props.preDestroyMethods) {\n props.preDestroyMethods = [];\n }\n props.preDestroyMethods.push(methodName);\n}\nfunction Bean(beanName) {\n return function (classConstructor) {\n var props = getOrCreateProps$1(classConstructor);\n props.beanName = beanName;\n };\n}\nfunction Autowired(name) {\n return function (target, propertyKey, descriptor) {\n autowiredFunc(target, name, false, target, propertyKey, null);\n };\n}\nfunction Optional(name) {\n return function (target, propertyKey, descriptor) {\n autowiredFunc(target, name, true, target, propertyKey, null);\n };\n}\nfunction autowiredFunc(target, name, optional, classPrototype, methodOrAttributeName, index) {\n if (name === null) {\n console.error(\"AG Grid: Autowired name should not be null\");\n return;\n }\n if (typeof index === \"number\") {\n console.error(\"AG Grid: Autowired should be on an attribute\");\n return;\n }\n // it's an attribute on the class\n var props = getOrCreateProps$1(target.constructor);\n if (!props.agClassAttributes) {\n props.agClassAttributes = [];\n }\n props.agClassAttributes.push({\n attributeName: methodOrAttributeName,\n beanName: name,\n optional: optional\n });\n}\nfunction Qualifier(name) {\n return function (classPrototype, methodOrAttributeName, index) {\n var constructor = typeof classPrototype == \"function\" ? classPrototype : classPrototype.constructor;\n var props;\n if (typeof index === \"number\") {\n // it's a parameter on a method\n var methodName = void 0;\n if (methodOrAttributeName) {\n props = getOrCreateProps$1(constructor);\n methodName = methodOrAttributeName;\n }\n else {\n props = getOrCreateProps$1(constructor);\n methodName = \"agConstructor\";\n }\n if (!props.autowireMethods) {\n props.autowireMethods = {};\n }\n if (!props.autowireMethods[methodName]) {\n props.autowireMethods[methodName] = {};\n }\n props.autowireMethods[methodName][index] = name;\n }\n };\n}\nfunction getOrCreateProps$1(target) {\n if (!target.hasOwnProperty(\"__agBeanMetaData\")) {\n target.__agBeanMetaData = {};\n }\n return target.__agBeanMetaData;\n}\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __assign$i = (undefined && undefined.__assign) || function () {\n __assign$i = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign$i.apply(this, arguments);\n};\nvar __decorate$2A = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __param$a = (undefined && undefined.__param) || function (paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n};\nvar EventService = /** @class */ (function () {\n function EventService() {\n this.allSyncListeners = new Map();\n this.allAsyncListeners = new Map();\n this.globalSyncListeners = new Set();\n this.globalAsyncListeners = new Set();\n this.asyncFunctionsQueue = [];\n this.scheduled = false;\n // using an object performs better than a Set for the number of different events we have\n this.firedEvents = {};\n }\n // because this class is used both inside the context and outside the context, we do not\n // use autowired attributes, as that would be confusing, as sometimes the attributes\n // would be wired, and sometimes not.\n //\n // the global event servers used by AG Grid is autowired by the context once, and this\n // setBeans method gets called once.\n //\n // the times when this class is used outside of the context (eg RowNode has an instance of this\n // class) then it is not a bean, and this setBeans method is not called.\n EventService.prototype.setBeans = function (loggerFactory, gridOptionsWrapper, frameworkOverrides, globalEventListener) {\n if (globalEventListener === void 0) { globalEventListener = null; }\n this.frameworkOverrides = frameworkOverrides;\n this.gridOptionsWrapper = gridOptionsWrapper;\n if (globalEventListener) {\n var async = gridOptionsWrapper.useAsyncEvents();\n this.addGlobalListener(globalEventListener, async);\n }\n };\n EventService.prototype.getListeners = function (eventType, async, autoCreateListenerCollection) {\n var listenerMap = async ? this.allAsyncListeners : this.allSyncListeners;\n var listeners = listenerMap.get(eventType);\n // Note: 'autoCreateListenerCollection' should only be 'true' if a listener is about to be added. For instance\n // getListeners() is also called during event dispatch even though no listeners are added. This measure protects\n // against 'memory bloat' as empty collections will prevent the RowNode's event service from being removed after\n // the RowComp is destroyed, see noRegisteredListenersExist() below.\n if (!listeners && autoCreateListenerCollection) {\n listeners = new Set();\n listenerMap.set(eventType, listeners);\n }\n return listeners;\n };\n EventService.prototype.noRegisteredListenersExist = function () {\n return this.allSyncListeners.size === 0 && this.allAsyncListeners.size === 0 &&\n this.globalSyncListeners.size === 0 && this.globalAsyncListeners.size === 0;\n };\n EventService.prototype.addEventListener = function (eventType, listener, async) {\n if (async === void 0) { async = false; }\n this.getListeners(eventType, async, true).add(listener);\n };\n EventService.prototype.removeEventListener = function (eventType, listener, async) {\n if (async === void 0) { async = false; }\n var listeners = this.getListeners(eventType, async, false);\n if (!listeners) {\n return;\n }\n listeners.delete(listener);\n if (listeners.size === 0) {\n var listenerMap = async ? this.allAsyncListeners : this.allSyncListeners;\n listenerMap.delete(eventType);\n }\n };\n EventService.prototype.addGlobalListener = function (listener, async) {\n if (async === void 0) { async = false; }\n (async ? this.globalAsyncListeners : this.globalSyncListeners).add(listener);\n };\n EventService.prototype.removeGlobalListener = function (listener, async) {\n if (async === void 0) { async = false; }\n (async ? this.globalAsyncListeners : this.globalSyncListeners).delete(listener);\n };\n EventService.prototype.dispatchEvent = function (event) {\n var agEvent = event;\n if (this.gridOptionsWrapper) {\n // Apply common properties to all dispatched events if this event service has had its beans set with gridOptionsWrapper.\n // Note there are multiple instances of EventService that are used local to components which do not set gridOptionsWrapper. \n agEvent = __assign$i(__assign$i({}, event), { api: this.gridOptionsWrapper.getApi(), columnApi: this.gridOptionsWrapper.getColumnApi(), context: this.gridOptionsWrapper.getContext() });\n }\n this.dispatchToListeners(agEvent, true);\n this.dispatchToListeners(agEvent, false);\n this.firedEvents[agEvent.type] = true;\n };\n EventService.prototype.dispatchEventOnce = function (event) {\n if (!this.firedEvents[event.type]) {\n this.dispatchEvent(event);\n }\n };\n EventService.prototype.dispatchToListeners = function (event, async) {\n var _this = this;\n var eventType = event.type;\n var processEventListeners = function (listeners) { return listeners.forEach(function (listener) {\n if (async) {\n _this.dispatchAsync(function () { return listener(event); });\n }\n else {\n listener(event);\n }\n }); };\n var listeners = this.getListeners(eventType, async, false);\n if (listeners) {\n processEventListeners(listeners);\n }\n var globalListeners = async ? this.globalAsyncListeners : this.globalSyncListeners;\n globalListeners.forEach(function (listener) {\n if (async) {\n _this.dispatchAsync(function () { return _this.frameworkOverrides.dispatchEvent(eventType, function () { return listener(eventType, event); }, true); });\n }\n else {\n _this.frameworkOverrides.dispatchEvent(eventType, function () { return listener(eventType, event); }, true);\n }\n });\n };\n // this gets called inside the grid's thread, for each event that it\n // wants to set async. the grid then batches the events into one setTimeout()\n // because setTimeout() is an expensive operation. ideally we would have\n // each event in it's own setTimeout(), but we batch for performance.\n EventService.prototype.dispatchAsync = function (func) {\n // add to the queue for executing later in the next VM turn\n this.asyncFunctionsQueue.push(func);\n // check if timeout is already scheduled. the first time the grid calls\n // this within it's thread turn, this should be false, so it will schedule\n // the 'flush queue' method the first time it comes here. then the flag is\n // set to 'true' so it will know it's already scheduled for subsequent calls.\n if (!this.scheduled) {\n // if not scheduled, schedule one\n window.setTimeout(this.flushAsyncQueue.bind(this), 0);\n // mark that it is scheduled\n this.scheduled = true;\n }\n };\n // this happens in the next VM turn only, and empties the queue of events\n EventService.prototype.flushAsyncQueue = function () {\n this.scheduled = false;\n // we take a copy, because the event listener could be using\n // the grid, which would cause more events, which would be potentially\n // added to the queue, so safe to take a copy, the new events will\n // get executed in a later VM turn rather than risk updating the\n // queue as we are flushing it.\n var queueCopy = this.asyncFunctionsQueue.slice();\n this.asyncFunctionsQueue = [];\n // execute the queue\n queueCopy.forEach(function (func) { return func(); });\n };\n __decorate$2A([\n __param$a(0, Qualifier('loggerFactory')),\n __param$a(1, Qualifier('gridOptionsWrapper')),\n __param$a(2, Qualifier('frameworkOverrides')),\n __param$a(3, Qualifier('globalEventListener'))\n ], EventService.prototype, \"setBeans\", null);\n EventService = __decorate$2A([\n Bean('eventService')\n ], EventService);\n return EventService;\n}());\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar Constants = /** @class */ (function () {\n function Constants() {\n }\n Constants.ROW_BUFFER_SIZE = 10;\n Constants.LAYOUT_INTERVAL = 500;\n Constants.BATCH_WAIT_MILLIS = 50;\n Constants.EXPORT_TYPE_DRAG_COPY = 'dragCopy';\n Constants.EXPORT_TYPE_CLIPBOARD = 'clipboard';\n Constants.EXPORT_TYPE_EXCEL = 'excel';\n Constants.EXPORT_TYPE_CSV = 'csv';\n Constants.ROW_MODEL_TYPE_INFINITE = 'infinite';\n Constants.ROW_MODEL_TYPE_VIEWPORT = 'viewport';\n Constants.ROW_MODEL_TYPE_CLIENT_SIDE = 'clientSide';\n Constants.ROW_MODEL_TYPE_SERVER_SIDE = 'serverSide';\n Constants.ALWAYS = 'always';\n Constants.ONLY_WHEN_GROUPING = 'onlyWhenGrouping';\n Constants.PINNED_TOP = 'top';\n Constants.PINNED_BOTTOM = 'bottom';\n Constants.DOM_LAYOUT_NORMAL = 'normal';\n Constants.DOM_LAYOUT_PRINT = 'print';\n Constants.DOM_LAYOUT_AUTO_HEIGHT = 'autoHeight';\n Constants.GROUP_AUTO_COLUMN_ID = 'ag-Grid-AutoColumn';\n Constants.SOURCE_PASTE = 'paste';\n Constants.PINNED_RIGHT = 'right';\n Constants.PINNED_LEFT = 'left';\n Constants.SORT_ASC = 'asc';\n Constants.SORT_DESC = 'desc';\n Constants.INPUT_SELECTOR = 'input, select, button, textarea';\n Constants.FOCUSABLE_SELECTOR = '[tabindex], input, select, button, textarea';\n Constants.FOCUSABLE_EXCLUDE = '.ag-hidden, .ag-hidden *, [disabled], .ag-disabled, .ag-disabled *';\n return Constants;\n}());\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar ModuleNames;\n(function (ModuleNames) {\n // when using modules, user references this\n ModuleNames[\"CommunityCoreModule\"] = \"@ag-grid-community/core\";\n // when not using modules, user references this\n ModuleNames[\"CommunityAllModules\"] = \"@ag-grid-community/all\";\n // community modules\n ModuleNames[\"InfiniteRowModelModule\"] = \"@ag-grid-community/infinite-row-model\";\n ModuleNames[\"ClientSideRowModelModule\"] = \"@ag-grid-community/client-side-row-model\";\n ModuleNames[\"CsvExportModule\"] = \"@ag-grid-community/csv-export\";\n // enterprise core - users never import on this, but other enterprise modules do\n ModuleNames[\"EnterpriseCoreModule\"] = \"@ag-grid-enterprise/core\";\n // when not using modules, user references this\n ModuleNames[\"EnterpriseAllModules\"] = \"@ag-grid-enterprise/all\";\n // enterprise modules\n ModuleNames[\"RowGroupingModule\"] = \"@ag-grid-enterprise/row-grouping\";\n ModuleNames[\"ColumnToolPanelModule\"] = \"@ag-grid-enterprise/column-tool-panel\";\n ModuleNames[\"FiltersToolPanelModule\"] = \"@ag-grid-enterprise/filter-tool-panel\";\n ModuleNames[\"MenuModule\"] = \"@ag-grid-enterprise/menu\";\n ModuleNames[\"SetFilterModule\"] = \"@ag-grid-enterprise/set-filter\";\n ModuleNames[\"MultiFilterModule\"] = \"@ag-grid-enterprise/multi-filter\";\n ModuleNames[\"StatusBarModule\"] = \"@ag-grid-enterprise/status-bar\";\n ModuleNames[\"SideBarModule\"] = \"@ag-grid-enterprise/side-bar\";\n ModuleNames[\"RangeSelectionModule\"] = \"@ag-grid-enterprise/range-selection\";\n ModuleNames[\"MasterDetailModule\"] = \"@ag-grid-enterprise/master-detail\";\n ModuleNames[\"RichSelectModule\"] = \"@ag-grid-enterprise/rich-select\";\n ModuleNames[\"GridChartsModule\"] = \"@ag-grid-enterprise/charts\";\n ModuleNames[\"ViewportRowModelModule\"] = \"@ag-grid-enterprise/viewport-row-model\";\n ModuleNames[\"ServerSideRowModelModule\"] = \"@ag-grid-enterprise/server-side-row-model\";\n ModuleNames[\"ExcelExportModule\"] = \"@ag-grid-enterprise/excel-export\";\n ModuleNames[\"ClipboardModule\"] = \"@ag-grid-enterprise/clipboard\";\n ModuleNames[\"SparklinesModule\"] = \"@ag-grid-enterprise/sparklines\";\n // framework wrappers currently don't provide beans, comps etc, so no need to be modules,\n // however i argue they should be as in theory they 'could' provide beans etc\n ModuleNames[\"AngularModule\"] = \"@ag-grid-community/angular\";\n ModuleNames[\"ReactModule\"] = \"@ag-grid-community/react\";\n ModuleNames[\"VueModule\"] = \"@ag-grid-community/vue\";\n ModuleNames[\"PolymerModule\"] = \"@ag-grid-community/polymer\";\n // and then this, which is definitely not a grid module, as it should not have any dependency\n // on the grid (ie shouldn't even reference the Module interface)\n // ChartsModule = \"@ag-grid-community/charts-core\",\n})(ModuleNames || (ModuleNames = {}));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar ModuleRegistry = /** @class */ (function () {\n function ModuleRegistry() {\n }\n ModuleRegistry.register = function (module, moduleBased) {\n if (moduleBased === void 0) { moduleBased = true; }\n ModuleRegistry.modulesMap[module.moduleName] = module;\n if (ModuleRegistry.moduleBased === undefined) {\n ModuleRegistry.moduleBased = moduleBased;\n }\n else {\n if (ModuleRegistry.moduleBased !== moduleBased) {\n doOnce(function () {\n console.warn(\"AG Grid: You are mixing modules (i.e. @ag-grid-community/core) and packages (ag-grid-community) - you can only use one or the other of these mechanisms.\");\n console.warn('Please see https://www.ag-grid.com/javascript-grid/packages-modules/ for more information.');\n }, 'ModulePackageCheck');\n }\n }\n };\n // noinspection JSUnusedGlobalSymbols\n ModuleRegistry.registerModules = function (modules, moduleBased) {\n if (moduleBased === void 0) { moduleBased = true; }\n if (!modules) {\n return;\n }\n modules.forEach(function (module) { return ModuleRegistry.register(module, moduleBased); });\n };\n ModuleRegistry.assertRegistered = function (moduleName, reason) {\n if (this.isRegistered(moduleName)) {\n return true;\n }\n var warningKey = reason + moduleName;\n var warningMessage;\n if (ModuleRegistry.moduleBased) {\n warningMessage = \"AG Grid: unable to use \" + reason + \" as module \" + moduleName + \" is not present. Please see: https://www.ag-grid.com/javascript-grid/modules/\";\n }\n else {\n warningMessage = \"AG Grid: unable to use \" + reason + \" as package 'ag-grid-enterprise' is not present. Please see: https://www.ag-grid.com/javascript-grid/packages/\";\n }\n doOnce(function () {\n console.warn(warningMessage);\n }, warningKey);\n return false;\n };\n ModuleRegistry.isRegistered = function (moduleName) {\n return !!ModuleRegistry.modulesMap[moduleName];\n };\n ModuleRegistry.getRegisteredModules = function () {\n return values(ModuleRegistry.modulesMap);\n };\n ModuleRegistry.isPackageBased = function () {\n return !ModuleRegistry.moduleBased;\n };\n // having in a map a) removes duplicates and b) allows fast lookup\n ModuleRegistry.modulesMap = {};\n return ModuleRegistry;\n}());\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __decorate$2z = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar instanceIdSequence$4 = 0;\n// Wrapper around a user provide column definition. The grid treats the column definition as ready only.\n// This class contains all the runtime information about a column, plus some logic (the definition has no logic).\n// This class implements both interfaces ColumnGroupChild and ProvidedColumnGroupChild as the class can\n// appear as a child of either the original tree or the displayed tree. However the relevant group classes\n// for each type only implements one, as each group can only appear in it's associated tree (eg ProvidedColumnGroup\n// can only appear in OriginalColumn tree).\nvar Column = /** @class */ (function () {\n function Column(colDef, userProvidedColDef, colId, primary) {\n // used by React (and possibly other frameworks) as key for rendering\n this.instanceId = instanceIdSequence$4++;\n // The measured height of this column's header when autoHeaderHeight is enabled\n this.autoHeaderHeight = null;\n this.moving = false;\n this.menuVisible = false;\n this.filterActive = false;\n this.eventService = new EventService();\n this.rowGroupActive = false;\n this.pivotActive = false;\n this.aggregationActive = false;\n this.colDef = colDef;\n this.userProvidedColDef = userProvidedColDef;\n this.colId = colId;\n this.primary = primary;\n this.setState(colDef);\n }\n Column.prototype.getInstanceId = function () {\n return this.instanceId;\n };\n Column.prototype.setState = function (colDef) {\n // sort\n if (colDef.sort !== undefined) {\n if (colDef.sort === Constants.SORT_ASC || colDef.sort === Constants.SORT_DESC) {\n this.sort = colDef.sort;\n }\n }\n else {\n if (colDef.initialSort === Constants.SORT_ASC || colDef.initialSort === Constants.SORT_DESC) {\n this.sort = colDef.initialSort;\n }\n }\n // sortIndex\n var sortIndex = attrToNumber(colDef.sortIndex);\n var initialSortIndex = attrToNumber(colDef.initialSortIndex);\n if (sortIndex !== undefined) {\n if (sortIndex !== null) {\n this.sortIndex = sortIndex;\n }\n }\n else {\n if (initialSortIndex !== null) {\n this.sortIndex = initialSortIndex;\n }\n }\n // hide\n var hide = attrToBoolean(colDef.hide);\n var initialHide = attrToBoolean(colDef.initialHide);\n if (hide !== undefined) {\n this.visible = !hide;\n }\n else {\n this.visible = !initialHide;\n }\n // pinned\n if (colDef.pinned !== undefined) {\n this.setPinned(colDef.pinned);\n }\n else {\n this.setPinned(colDef.initialPinned);\n }\n // flex\n var flex = attrToNumber(colDef.flex);\n var initialFlex = attrToNumber(colDef.initialFlex);\n if (flex !== undefined) {\n this.flex = flex;\n }\n else if (initialFlex !== undefined) {\n this.flex = initialFlex;\n }\n };\n // gets called when user provides an alternative colDef, eg\n Column.prototype.setColDef = function (colDef, userProvidedColDef) {\n this.colDef = colDef;\n this.userProvidedColDef = userProvidedColDef;\n this.initMinAndMaxWidths();\n this.initDotNotation();\n this.eventService.dispatchEvent(this.createColumnEvent(Column.EVENT_COL_DEF_CHANGED, \"api\"));\n };\n /**\n * Returns the column definition provided by the application.\n * This may not be correct, as items can be superseded by default column options.\n * However it's useful for comparison, eg to know which application column definition matches that column.\n */\n Column.prototype.getUserProvidedColDef = function () {\n return this.userProvidedColDef;\n };\n Column.prototype.setParent = function (parent) {\n this.parent = parent;\n };\n /** Returns the parent column group, if column grouping is active. */\n Column.prototype.getParent = function () {\n return this.parent;\n };\n Column.prototype.setOriginalParent = function (originalParent) {\n this.originalParent = originalParent;\n };\n Column.prototype.getOriginalParent = function () {\n return this.originalParent;\n };\n // this is done after constructor as it uses gridOptionsWrapper\n Column.prototype.initialise = function () {\n this.initMinAndMaxWidths();\n this.resetActualWidth('gridInitializing');\n this.initDotNotation();\n this.validate();\n };\n Column.prototype.initDotNotation = function () {\n var suppressDotNotation = this.gridOptionsWrapper.isSuppressFieldDotNotation();\n this.fieldContainsDots = exists(this.colDef.field) && this.colDef.field.indexOf('.') >= 0 && !suppressDotNotation;\n this.tooltipFieldContainsDots = exists(this.colDef.tooltipField) && this.colDef.tooltipField.indexOf('.') >= 0 && !suppressDotNotation;\n };\n Column.prototype.initMinAndMaxWidths = function () {\n var colDef = this.colDef;\n this.minWidth = this.columnUtils.calculateColMinWidth(colDef);\n this.maxWidth = this.columnUtils.calculateColMaxWidth(colDef);\n };\n Column.prototype.resetActualWidth = function (source) {\n if (source === void 0) { source = 'api'; }\n var initialWidth = this.columnUtils.calculateColInitialWidth(this.colDef);\n this.setActualWidth(initialWidth, source, true);\n };\n Column.prototype.isEmptyGroup = function () {\n return false;\n };\n Column.prototype.isRowGroupDisplayed = function (colId) {\n if (missing(this.colDef) || missing(this.colDef.showRowGroup)) {\n return false;\n }\n var showingAllGroups = this.colDef.showRowGroup === true;\n var showingThisGroup = this.colDef.showRowGroup === colId;\n return showingAllGroups || showingThisGroup;\n };\n /** Returns `true` if column is a primary column, `false` if secondary. Secondary columns are used for pivoting. */\n Column.prototype.isPrimary = function () {\n return this.primary;\n };\n /** Returns `true` if column filtering is allowed. */\n Column.prototype.isFilterAllowed = function () {\n // filter defined means it's a string, class or true.\n // if its false, null or undefined then it's false.\n var filterDefined = !!this.colDef.filter || !!this.colDef.filterFramework;\n return filterDefined;\n };\n Column.prototype.isFieldContainsDots = function () {\n return this.fieldContainsDots;\n };\n Column.prototype.isTooltipFieldContainsDots = function () {\n return this.tooltipFieldContainsDots;\n };\n Column.prototype.validate = function () {\n var colDefAny = this.colDef;\n function warnOnce(msg, key, obj) {\n doOnce(function () {\n if (obj) {\n console.warn(msg, obj);\n }\n else {\n doOnce(function () { return console.warn(msg); }, key);\n }\n }, key);\n }\n var usingCSRM = this.gridOptionsWrapper.isRowModelDefault();\n if (usingCSRM && !ModuleRegistry.isRegistered(ModuleNames.RowGroupingModule)) {\n var rowGroupingItems = ['enableRowGroup', 'rowGroup', 'rowGroupIndex', 'enablePivot', 'enableValue', 'pivot', 'pivotIndex', 'aggFunc'];\n rowGroupingItems.forEach(function (item) {\n if (exists(colDefAny[item])) {\n if (ModuleRegistry.isPackageBased()) {\n warnOnce(\"AG Grid: \" + item + \" is only valid in ag-grid-enterprise, your column definition should not have \" + item, 'ColumnRowGroupingMissing' + item);\n }\n else {\n warnOnce(\"AG Grid: \" + item + \" is only valid with AG Grid Enterprise Module \" + ModuleNames.RowGroupingModule + \" - your column definition should not have \" + item, 'ColumnRowGroupingMissing' + item);\n }\n }\n });\n }\n if (!ModuleRegistry.isRegistered(ModuleNames.RichSelectModule)) {\n if (this.colDef.cellEditor === 'agRichSelect' || this.colDef.cellEditor === 'agRichSelectCellEditor') {\n if (ModuleRegistry.isPackageBased()) {\n warnOnce(\"AG Grid: \" + this.colDef.cellEditor + \" can only be used with ag-grid-enterprise\", 'ColumnRichSelectMissing');\n }\n else {\n warnOnce(\"AG Grid: \" + this.colDef.cellEditor + \" can only be used with AG Grid Enterprise Module \" + ModuleNames.RichSelectModule, 'ColumnRichSelectMissing');\n }\n }\n }\n if (this.gridOptionsWrapper.isTreeData()) {\n var itemsNotAllowedWithTreeData = ['rowGroup', 'rowGroupIndex', 'pivot', 'pivotIndex'];\n itemsNotAllowedWithTreeData.forEach(function (item) {\n if (exists(colDefAny[item])) {\n warnOnce(\"AG Grid: \" + item + \" is not possible when doing tree data, your column definition should not have \" + item, 'TreeDataCannotRowGroup');\n }\n });\n }\n if (exists(this.colDef.width) && typeof this.colDef.width !== 'number') {\n warnOnce('AG Grid: colDef.width should be a number, not ' + typeof this.colDef.width, 'ColumnCheck_asdfawef');\n }\n if (colDefAny.pinnedRowCellRenderer) {\n warnOnce('AG Grid: pinnedRowCellRenderer no longer exists, use cellRendererSelector if you want a different Cell Renderer for pinned rows. Check params.node.rowPinned. This was an unfortunate (but necessary) change we had to do to allow future plans we have of re-skinng the data grid in frameworks such as React, Angular and Vue. See https://www.ag-grid.com/javascript-grid/cell-rendering/#many-renderers-one-column', 'colDef.pinnedRowCellRenderer-deprecated');\n }\n if (colDefAny.pinnedRowCellRendererParams) {\n warnOnce('AG Grid: pinnedRowCellRenderer no longer exists, use cellRendererSelector if you want a different Cell Renderer for pinned rows. Check params.node.rowPinned. This was an unfortunate (but necessary) change we had to do to allow future plans we have of re-skinng the data grid in frameworks such as React, Angular and Vue. See https://www.ag-grid.com/javascript-grid/cell-rendering/#many-renderers-one-column', 'colDef.pinnedRowCellRenderer-deprecated');\n }\n if (colDefAny.pinnedRowCellRendererFramework) {\n warnOnce('AG Grid: pinnedRowCellRenderer no longer exists, use cellRendererSelector if you want a different Cell Renderer for pinned rows. Check params.node.rowPinned. This was an unfortunate (but necessary) change we had to do to allow future plans we have of re-skinng the data grid in frameworks such as React, Angular and Vue. See https://www.ag-grid.com/javascript-grid/cell-rendering/#many-renderers-one-column', 'colDef.pinnedRowCellRenderer-deprecated');\n }\n if (colDefAny.pinnedRowValueGetter) {\n warnOnce('AG Grid: pinnedRowCellRenderer is deprecated, use cellRendererSelector if you want a different Cell Renderer for pinned rows. Check params.node.rowPinned. This was an unfortunate (but necessary) change we had to do to allow future plans we have of re-skinng the data grid in frameworks such as React, Angular and Vue.', 'colDef.pinnedRowCellRenderer-deprecated');\n }\n };\n /** Add an event listener to the column. */\n Column.prototype.addEventListener = function (eventType, listener) {\n this.eventService.addEventListener(eventType, listener);\n };\n /** Remove event listener from the column. */\n Column.prototype.removeEventListener = function (eventType, listener) {\n this.eventService.removeEventListener(eventType, listener);\n };\n Column.prototype.createColumnFunctionCallbackParams = function (rowNode) {\n return {\n node: rowNode,\n data: rowNode.data,\n column: this,\n colDef: this.colDef,\n context: this.gridOptionsWrapper.getContext(),\n api: this.gridOptionsWrapper.getApi(),\n columnApi: this.gridOptionsWrapper.getColumnApi()\n };\n };\n Column.prototype.isSuppressNavigable = function (rowNode) {\n // if boolean set, then just use it\n if (typeof this.colDef.suppressNavigable === 'boolean') {\n return this.colDef.suppressNavigable;\n }\n // if function, then call the function to find out\n if (typeof this.colDef.suppressNavigable === 'function') {\n var params = this.createColumnFunctionCallbackParams(rowNode);\n var userFunc = this.colDef.suppressNavigable;\n return userFunc(params);\n }\n return false;\n };\n Column.prototype.isCellEditable = function (rowNode) {\n // only allow editing of groups if the user has this option enabled\n if (rowNode.group && !this.gridOptionsWrapper.isEnableGroupEdit()) {\n return false;\n }\n return this.isColumnFunc(rowNode, this.colDef.editable);\n };\n Column.prototype.isSuppressFillHandle = function () {\n return !!attrToBoolean(this.colDef.suppressFillHandle);\n };\n Column.prototype.isAutoHeight = function () {\n return !!attrToBoolean(this.colDef.autoHeight);\n };\n Column.prototype.isAutoHeaderHeight = function () {\n return !!attrToBoolean(this.colDef.autoHeaderHeight);\n };\n Column.prototype.isRowDrag = function (rowNode) {\n return this.isColumnFunc(rowNode, this.colDef.rowDrag);\n };\n Column.prototype.isDndSource = function (rowNode) {\n return this.isColumnFunc(rowNode, this.colDef.dndSource);\n };\n Column.prototype.isCellCheckboxSelection = function (rowNode) {\n return this.isColumnFunc(rowNode, this.colDef.checkboxSelection);\n };\n Column.prototype.isSuppressPaste = function (rowNode) {\n return this.isColumnFunc(rowNode, this.colDef ? this.colDef.suppressPaste : null);\n };\n Column.prototype.isResizable = function () {\n return !!attrToBoolean(this.colDef.resizable);\n };\n Column.prototype.isColumnFunc = function (rowNode, value) {\n // if boolean set, then just use it\n if (typeof value === 'boolean') {\n return value;\n }\n // if function, then call the function to find out\n if (typeof value === 'function') {\n var params = this.createColumnFunctionCallbackParams(rowNode);\n var editableFunc = value;\n return editableFunc(params);\n }\n return false;\n };\n Column.prototype.setMoving = function (moving, source) {\n if (source === void 0) { source = \"api\"; }\n this.moving = moving;\n this.eventService.dispatchEvent(this.createColumnEvent(Column.EVENT_MOVING_CHANGED, source));\n };\n Column.prototype.createColumnEvent = function (type, source) {\n return {\n type: type,\n column: this,\n columns: [this],\n source: source,\n api: this.gridOptionsWrapper.getApi(),\n columnApi: this.gridOptionsWrapper.getColumnApi(),\n context: this.gridOptionsWrapper.getContext()\n };\n };\n Column.prototype.isMoving = function () {\n return this.moving;\n };\n /** If sorting is active, returns the sort direction e.g. `'asc'` or `'desc'`. */\n Column.prototype.getSort = function () {\n return this.sort;\n };\n Column.prototype.setSort = function (sort, source) {\n if (source === void 0) { source = \"api\"; }\n if (this.sort !== sort) {\n this.sort = sort;\n this.eventService.dispatchEvent(this.createColumnEvent(Column.EVENT_SORT_CHANGED, source));\n }\n };\n Column.prototype.setMenuVisible = function (visible, source) {\n if (source === void 0) { source = \"api\"; }\n if (this.menuVisible !== visible) {\n this.menuVisible = visible;\n this.eventService.dispatchEvent(this.createColumnEvent(Column.EVENT_MENU_VISIBLE_CHANGED, source));\n }\n };\n Column.prototype.isMenuVisible = function () {\n return this.menuVisible;\n };\n Column.prototype.isSortAscending = function () {\n return this.sort === Constants.SORT_ASC;\n };\n Column.prototype.isSortDescending = function () {\n return this.sort === Constants.SORT_DESC;\n };\n Column.prototype.isSortNone = function () {\n return missing(this.sort);\n };\n Column.prototype.isSorting = function () {\n return exists(this.sort);\n };\n Column.prototype.getSortIndex = function () {\n return this.sortIndex;\n };\n Column.prototype.setSortIndex = function (sortOrder) {\n this.sortIndex = sortOrder;\n };\n Column.prototype.setAggFunc = function (aggFunc) {\n this.aggFunc = aggFunc;\n };\n /** If aggregation is set for the column, returns the aggregation function. */\n Column.prototype.getAggFunc = function () {\n return this.aggFunc;\n };\n Column.prototype.getLeft = function () {\n return this.left;\n };\n Column.prototype.getOldLeft = function () {\n return this.oldLeft;\n };\n Column.prototype.getRight = function () {\n return this.left + this.actualWidth;\n };\n Column.prototype.setLeft = function (left, source) {\n if (source === void 0) { source = \"api\"; }\n this.oldLeft = this.left;\n if (this.left !== left) {\n this.left = left;\n this.eventService.dispatchEvent(this.createColumnEvent(Column.EVENT_LEFT_CHANGED, source));\n }\n };\n /** Returns `true` if filter is active on the column. */\n Column.prototype.isFilterActive = function () {\n return this.filterActive;\n };\n // additionalEventAttributes is used by provided simple floating filter, so it can add 'floatingFilter=true' to the event\n Column.prototype.setFilterActive = function (active, source, additionalEventAttributes) {\n if (source === void 0) { source = \"api\"; }\n if (this.filterActive !== active) {\n this.filterActive = active;\n this.eventService.dispatchEvent(this.createColumnEvent(Column.EVENT_FILTER_ACTIVE_CHANGED, source));\n }\n var filterChangedEvent = this.createColumnEvent(Column.EVENT_FILTER_CHANGED, source);\n if (additionalEventAttributes) {\n mergeDeep(filterChangedEvent, additionalEventAttributes);\n }\n this.eventService.dispatchEvent(filterChangedEvent);\n };\n Column.prototype.setPinned = function (pinned) {\n if (pinned === true || pinned === Constants.PINNED_LEFT) {\n this.pinned = Constants.PINNED_LEFT;\n }\n else if (pinned === Constants.PINNED_RIGHT) {\n this.pinned = Constants.PINNED_RIGHT;\n }\n else {\n this.pinned = null;\n }\n };\n Column.prototype.setFirstRightPinned = function (firstRightPinned, source) {\n if (source === void 0) { source = \"api\"; }\n if (this.firstRightPinned !== firstRightPinned) {\n this.firstRightPinned = firstRightPinned;\n this.eventService.dispatchEvent(this.createColumnEvent(Column.EVENT_FIRST_RIGHT_PINNED_CHANGED, source));\n }\n };\n Column.prototype.setLastLeftPinned = function (lastLeftPinned, source) {\n if (source === void 0) { source = \"api\"; }\n if (this.lastLeftPinned !== lastLeftPinned) {\n this.lastLeftPinned = lastLeftPinned;\n this.eventService.dispatchEvent(this.createColumnEvent(Column.EVENT_LAST_LEFT_PINNED_CHANGED, source));\n }\n };\n Column.prototype.isFirstRightPinned = function () {\n return this.firstRightPinned;\n };\n Column.prototype.isLastLeftPinned = function () {\n return this.lastLeftPinned;\n };\n Column.prototype.isPinned = function () {\n return this.pinned === Constants.PINNED_LEFT || this.pinned === Constants.PINNED_RIGHT;\n };\n Column.prototype.isPinnedLeft = function () {\n return this.pinned === Constants.PINNED_LEFT;\n };\n Column.prototype.isPinnedRight = function () {\n return this.pinned === Constants.PINNED_RIGHT;\n };\n Column.prototype.getPinned = function () {\n return this.pinned;\n };\n Column.prototype.setVisible = function (visible, source) {\n if (source === void 0) { source = \"api\"; }\n var newValue = visible === true;\n if (this.visible !== newValue) {\n this.visible = newValue;\n this.eventService.dispatchEvent(this.createColumnEvent(Column.EVENT_VISIBLE_CHANGED, source));\n }\n };\n Column.prototype.isVisible = function () {\n return this.visible;\n };\n /** Returns the column definition for this column.\n * The column definition will be the result of merging the application provided column definition with any provided defaults\n * (e.g. `defaultColDef` grid option, or column types.\n *\n * Equivalent: `getDefinition` */\n Column.prototype.getColDef = function () {\n return this.colDef;\n };\n Column.prototype.getColumnGroupShow = function () {\n return this.colDef.columnGroupShow;\n };\n /**\n * Returns the unique ID for the column.\n *\n * Equivalent: `getId`, `getUniqueId` */\n Column.prototype.getColId = function () {\n return this.colId;\n };\n /**\n * Returns the unique ID for the column.\n *\n * Equivalent: `getColId`, `getUniqueId` */\n Column.prototype.getId = function () {\n return this.getColId();\n };\n /**\n * Returns the unique ID for the column.\n *\n * Equivalent: `getColId`, `getId` */\n Column.prototype.getUniqueId = function () {\n return this.getId();\n };\n Column.prototype.getDefinition = function () {\n return this.colDef;\n };\n /** Returns the current width of the column. If the column is resized, the actual width is the new size. */\n Column.prototype.getActualWidth = function () {\n return this.actualWidth;\n };\n Column.prototype.getAutoHeaderHeight = function () {\n return this.autoHeaderHeight;\n };\n /** Returns true if the header height has changed */\n Column.prototype.setAutoHeaderHeight = function (height) {\n var changed = height !== this.autoHeaderHeight;\n this.autoHeaderHeight = height;\n return changed;\n };\n Column.prototype.createBaseColDefParams = function (rowNode) {\n var params = {\n node: rowNode,\n data: rowNode.data,\n colDef: this.colDef,\n column: this,\n api: this.gridOptionsWrapper.getApi(),\n columnApi: this.gridOptionsWrapper.getColumnApi(),\n context: this.gridOptionsWrapper.getContext()\n };\n return params;\n };\n Column.prototype.getColSpan = function (rowNode) {\n if (missing(this.colDef.colSpan)) {\n return 1;\n }\n var params = this.createBaseColDefParams(rowNode);\n var colSpan = this.colDef.colSpan(params);\n // colSpan must be number equal to or greater than 1\n return Math.max(colSpan, 1);\n };\n Column.prototype.getRowSpan = function (rowNode) {\n if (missing(this.colDef.rowSpan)) {\n return 1;\n }\n var params = this.createBaseColDefParams(rowNode);\n var rowSpan = this.colDef.rowSpan(params);\n // rowSpan must be number equal to or greater than 1\n return Math.max(rowSpan, 1);\n };\n Column.prototype.setActualWidth = function (actualWidth, source, silent) {\n if (source === void 0) { source = \"api\"; }\n if (silent === void 0) { silent = false; }\n if (this.minWidth != null) {\n actualWidth = Math.max(actualWidth, this.minWidth);\n }\n if (this.maxWidth != null) {\n actualWidth = Math.min(actualWidth, this.maxWidth);\n }\n if (this.actualWidth !== actualWidth) {\n // disable flex for this column if it was manually resized.\n this.actualWidth = actualWidth;\n if (this.flex && source !== 'flex' && source !== 'gridInitializing') {\n this.flex = null;\n }\n if (!silent) {\n this.fireColumnWidthChangedEvent(source);\n }\n }\n };\n Column.prototype.fireColumnWidthChangedEvent = function (source) {\n this.eventService.dispatchEvent(this.createColumnEvent(Column.EVENT_WIDTH_CHANGED, source));\n };\n Column.prototype.isGreaterThanMax = function (width) {\n if (this.maxWidth != null) {\n return width > this.maxWidth;\n }\n return false;\n };\n Column.prototype.getMinWidth = function () {\n return this.minWidth;\n };\n Column.prototype.getMaxWidth = function () {\n return this.maxWidth;\n };\n Column.prototype.getFlex = function () {\n return this.flex || 0;\n };\n // this method should only be used by the columnModel to\n // change flex when required by the setColumnState method.\n Column.prototype.setFlex = function (flex) {\n if (this.flex !== flex) {\n this.flex = flex;\n }\n };\n Column.prototype.setMinimum = function (source) {\n if (source === void 0) { source = \"api\"; }\n if (exists(this.minWidth)) {\n this.setActualWidth(this.minWidth, source);\n }\n };\n Column.prototype.setRowGroupActive = function (rowGroup, source) {\n if (source === void 0) { source = \"api\"; }\n if (this.rowGroupActive !== rowGroup) {\n this.rowGroupActive = rowGroup;\n this.eventService.dispatchEvent(this.createColumnEvent(Column.EVENT_ROW_GROUP_CHANGED, source));\n }\n };\n /** Returns `true` if row group is currently active for this column. */\n Column.prototype.isRowGroupActive = function () {\n return this.rowGroupActive;\n };\n Column.prototype.setPivotActive = function (pivot, source) {\n if (source === void 0) { source = \"api\"; }\n if (this.pivotActive !== pivot) {\n this.pivotActive = pivot;\n this.eventService.dispatchEvent(this.createColumnEvent(Column.EVENT_PIVOT_CHANGED, source));\n }\n };\n /** Returns `true` if pivot is currently active for this column. */\n Column.prototype.isPivotActive = function () {\n return this.pivotActive;\n };\n Column.prototype.isAnyFunctionActive = function () {\n return this.isPivotActive() || this.isRowGroupActive() || this.isValueActive();\n };\n Column.prototype.isAnyFunctionAllowed = function () {\n return this.isAllowPivot() || this.isAllowRowGroup() || this.isAllowValue();\n };\n Column.prototype.setValueActive = function (value, source) {\n if (source === void 0) { source = \"api\"; }\n if (this.aggregationActive !== value) {\n this.aggregationActive = value;\n this.eventService.dispatchEvent(this.createColumnEvent(Column.EVENT_VALUE_CHANGED, source));\n }\n };\n /** Returns `true` if value (aggregation) is currently active for this column. */\n Column.prototype.isValueActive = function () {\n return this.aggregationActive;\n };\n Column.prototype.isAllowPivot = function () {\n return this.colDef.enablePivot === true;\n };\n Column.prototype.isAllowValue = function () {\n return this.colDef.enableValue === true;\n };\n Column.prototype.isAllowRowGroup = function () {\n return this.colDef.enableRowGroup === true;\n };\n Column.prototype.getMenuTabs = function (defaultValues) {\n var menuTabs = this.getColDef().menuTabs;\n if (menuTabs == null) {\n menuTabs = defaultValues;\n }\n return menuTabs;\n };\n // this used to be needed, as previous version of ag-grid had lockPosition as column state,\n // so couldn't depend on colDef version.\n Column.prototype.isLockPosition = function () {\n console.warn('AG Grid: since v21, col.isLockPosition() should not be used, please use col.getColDef().lockPosition instead.');\n return this.colDef ? !!this.colDef.lockPosition : false;\n };\n // this used to be needed, as previous version of ag-grid had lockVisible as column state,\n // so couldn't depend on colDef version.\n Column.prototype.isLockVisible = function () {\n console.warn('AG Grid: since v21, col.isLockVisible() should not be used, please use col.getColDef().lockVisible instead.');\n return this.colDef ? !!this.colDef.lockVisible : false;\n };\n // this used to be needed, as previous version of ag-grid had lockPinned as column state,\n // so couldn't depend on colDef version.\n Column.prototype.isLockPinned = function () {\n console.warn('AG Grid: since v21, col.isLockPinned() should not be used, please use col.getColDef().lockPinned instead.');\n return this.colDef ? !!this.colDef.lockPinned : false;\n };\n // + renderedHeaderCell - for making header cell transparent when moving\n Column.EVENT_MOVING_CHANGED = 'movingChanged';\n // + renderedCell - changing left position\n Column.EVENT_LEFT_CHANGED = 'leftChanged';\n // + renderedCell - changing width\n Column.EVENT_WIDTH_CHANGED = 'widthChanged';\n // + renderedCell - for changing pinned classes\n Column.EVENT_LAST_LEFT_PINNED_CHANGED = 'lastLeftPinnedChanged';\n Column.EVENT_FIRST_RIGHT_PINNED_CHANGED = 'firstRightPinnedChanged';\n // + renderedColumn - for changing visibility icon\n Column.EVENT_VISIBLE_CHANGED = 'visibleChanged';\n // + every time the filter changes, used in the floating filters\n Column.EVENT_FILTER_CHANGED = 'filterChanged';\n // + renderedHeaderCell - marks the header with filter icon\n Column.EVENT_FILTER_ACTIVE_CHANGED = 'filterActiveChanged';\n // + renderedHeaderCell - marks the header with sort icon\n Column.EVENT_SORT_CHANGED = 'sortChanged';\n // + renderedHeaderCell - marks the header with sort icon\n Column.EVENT_COL_DEF_CHANGED = 'colDefChanged';\n Column.EVENT_MENU_VISIBLE_CHANGED = 'menuVisibleChanged';\n // + toolpanel, for gui updates\n Column.EVENT_ROW_GROUP_CHANGED = 'columnRowGroupChanged';\n // + toolpanel, for gui updates\n Column.EVENT_PIVOT_CHANGED = 'columnPivotChanged';\n // + toolpanel, for gui updates\n Column.EVENT_VALUE_CHANGED = 'columnValueChanged';\n __decorate$2z([\n Autowired('gridOptionsWrapper')\n ], Column.prototype, \"gridOptionsWrapper\", void 0);\n __decorate$2z([\n Autowired('columnUtils')\n ], Column.prototype, \"columnUtils\", void 0);\n __decorate$2z([\n PostConstruct\n ], Column.prototype, \"initialise\", null);\n return Column;\n}());\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nfunction firstExistingValue() {\n var values = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n values[_i] = arguments[_i];\n }\n for (var i = 0; i < values.length; i++) {\n var value = values[i];\n if (exists(value)) {\n return value;\n }\n }\n return null;\n}\nfunction existsAndNotEmpty(value) {\n return value != null && value.length > 0;\n}\nfunction last(arr) {\n if (!arr || !arr.length) {\n return;\n }\n return arr[arr.length - 1];\n}\nfunction areEqual(a, b, comparator) {\n if (a == null && b == null) {\n return true;\n }\n return a != null &&\n b != null &&\n a.length === b.length &&\n a.every(function (value, index) { return comparator ? comparator(value, b[index]) : b[index] === value; });\n}\n/** @deprecated */\nfunction compareArrays(array1, array2) {\n return areEqual(array1, array2);\n}\n/** @deprecated */\nfunction shallowCompare(arr1, arr2) {\n return areEqual(arr1, arr2);\n}\nfunction sortNumerically(array) {\n return array.sort(function (a, b) { return a - b; });\n}\nfunction removeRepeatsFromArray(array, object) {\n if (!array) {\n return;\n }\n for (var index = array.length - 2; index >= 0; index--) {\n var thisOneMatches = array[index] === object;\n var nextOneMatches = array[index + 1] === object;\n if (thisOneMatches && nextOneMatches) {\n array.splice(index + 1, 1);\n }\n }\n}\nfunction removeFromArray(array, object) {\n var index = array.indexOf(object);\n if (index >= 0) {\n array.splice(index, 1);\n }\n}\nfunction removeAllFromArray(array, toRemove) {\n toRemove.forEach(function (item) { return removeFromArray(array, item); });\n}\nfunction insertIntoArray(array, object, toIndex) {\n array.splice(toIndex, 0, object);\n}\nfunction insertArrayIntoArray(dest, src, toIndex) {\n if (dest == null || src == null) {\n return;\n }\n // put items in backwards, otherwise inserted items end up in reverse order\n for (var i = src.length - 1; i >= 0; i--) {\n var item = src[i];\n insertIntoArray(dest, item, toIndex);\n }\n}\nfunction moveInArray(array, objectsToMove, toIndex) {\n // first take out items from the array\n removeAllFromArray(array, objectsToMove);\n // now add the objects, in same order as provided to us, that means we start at the end\n // as the objects will be pushed to the right as they are inserted\n objectsToMove.slice().reverse().forEach(function (obj) { return insertIntoArray(array, obj, toIndex); });\n}\nfunction includes(array, value) {\n return array.indexOf(value) > -1;\n}\nfunction flatten(arrayOfArrays) {\n return [].concat.apply([], arrayOfArrays);\n}\nfunction pushAll(target, source) {\n if (source == null || target == null) {\n return;\n }\n source.forEach(function (value) { return target.push(value); });\n}\nfunction toStrings(array) {\n return array.map(toStringOrNull);\n}\nfunction forEachReverse(list, action) {\n if (list == null) {\n return;\n }\n for (var i = list.length - 1; i >= 0; i--) {\n action(list[i], i);\n }\n}\n\nvar ArrayUtils = /*#__PURE__*/Object.freeze({\n __proto__: null,\n firstExistingValue: firstExistingValue,\n existsAndNotEmpty: existsAndNotEmpty,\n last: last,\n areEqual: areEqual,\n compareArrays: compareArrays,\n shallowCompare: shallowCompare,\n sortNumerically: sortNumerically,\n removeRepeatsFromArray: removeRepeatsFromArray,\n removeFromArray: removeFromArray,\n removeAllFromArray: removeAllFromArray,\n insertIntoArray: insertIntoArray,\n insertArrayIntoArray: insertArrayIntoArray,\n moveInArray: moveInArray,\n includes: includes,\n flatten: flatten,\n pushAll: pushAll,\n toStrings: toStrings,\n forEachReverse: forEachReverse\n});\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __decorate$2y = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar ColumnGroup = /** @class */ (function () {\n function ColumnGroup(providedColumnGroup, groupId, instanceId, pinned) {\n // depends on the open/closed state of the group, only displaying columns are stored here\n this.displayedChildren = [];\n this.localEventService = new EventService();\n this.groupId = groupId;\n this.instanceId = instanceId;\n this.providedColumnGroup = providedColumnGroup;\n this.pinned = pinned;\n }\n // this is static, a it is used outside of this class\n ColumnGroup.createUniqueId = function (groupId, instanceId) {\n return groupId + '_' + instanceId;\n };\n // as the user is adding and removing columns, the groups are recalculated.\n // this reset clears out all children, ready for children to be added again\n ColumnGroup.prototype.reset = function () {\n this.parent = null;\n this.children = null;\n this.displayedChildren = null;\n };\n ColumnGroup.prototype.getParent = function () {\n return this.parent;\n };\n ColumnGroup.prototype.setParent = function (parent) {\n this.parent = parent;\n };\n ColumnGroup.prototype.getUniqueId = function () {\n return ColumnGroup.createUniqueId(this.groupId, this.instanceId);\n };\n ColumnGroup.prototype.isEmptyGroup = function () {\n return this.displayedChildren.length === 0;\n };\n ColumnGroup.prototype.isMoving = function () {\n var allLeafColumns = this.getProvidedColumnGroup().getLeafColumns();\n if (!allLeafColumns || allLeafColumns.length === 0) {\n return false;\n }\n return allLeafColumns.every(function (col) { return col.isMoving(); });\n };\n ColumnGroup.prototype.checkLeft = function () {\n // first get all children to setLeft, as it impacts our decision below\n this.displayedChildren.forEach(function (child) {\n if (child instanceof ColumnGroup) {\n child.checkLeft();\n }\n });\n // set our left based on first displayed column\n if (this.displayedChildren.length > 0) {\n if (this.gridOptionsWrapper.isEnableRtl()) {\n var lastChild = last(this.displayedChildren);\n var lastChildLeft = lastChild.getLeft();\n this.setLeft(lastChildLeft);\n }\n else {\n var firstChildLeft = this.displayedChildren[0].getLeft();\n this.setLeft(firstChildLeft);\n }\n }\n else {\n // this should never happen, as if we have no displayed columns, then\n // this groups should not even exist.\n this.setLeft(null);\n }\n };\n ColumnGroup.prototype.getLeft = function () {\n return this.left;\n };\n ColumnGroup.prototype.getOldLeft = function () {\n return this.oldLeft;\n };\n ColumnGroup.prototype.setLeft = function (left) {\n this.oldLeft = left;\n if (this.left !== left) {\n this.left = left;\n this.localEventService.dispatchEvent(this.createAgEvent(ColumnGroup.EVENT_LEFT_CHANGED));\n }\n };\n ColumnGroup.prototype.getPinned = function () {\n return this.pinned;\n };\n ColumnGroup.prototype.createAgEvent = function (type) {\n return { type: type };\n };\n ColumnGroup.prototype.addEventListener = function (eventType, listener) {\n this.localEventService.addEventListener(eventType, listener);\n };\n ColumnGroup.prototype.removeEventListener = function (eventType, listener) {\n this.localEventService.removeEventListener(eventType, listener);\n };\n ColumnGroup.prototype.getGroupId = function () {\n return this.groupId;\n };\n ColumnGroup.prototype.getInstanceId = function () {\n return this.instanceId;\n };\n ColumnGroup.prototype.isChildInThisGroupDeepSearch = function (wantedChild) {\n var result = false;\n this.children.forEach(function (foundChild) {\n if (wantedChild === foundChild) {\n result = true;\n }\n if (foundChild instanceof ColumnGroup) {\n if (foundChild.isChildInThisGroupDeepSearch(wantedChild)) {\n result = true;\n }\n }\n });\n return result;\n };\n ColumnGroup.prototype.getActualWidth = function () {\n var groupActualWidth = 0;\n if (this.displayedChildren) {\n this.displayedChildren.forEach(function (child) {\n groupActualWidth += child.getActualWidth();\n });\n }\n return groupActualWidth;\n };\n ColumnGroup.prototype.isResizable = function () {\n if (!this.displayedChildren) {\n return false;\n }\n // if at least one child is resizable, then the group is resizable\n var result = false;\n this.displayedChildren.forEach(function (child) {\n if (child.isResizable()) {\n result = true;\n }\n });\n return result;\n };\n ColumnGroup.prototype.getMinWidth = function () {\n var result = 0;\n this.displayedChildren.forEach(function (groupChild) {\n result += groupChild.getMinWidth() || 0;\n });\n return result;\n };\n ColumnGroup.prototype.addChild = function (child) {\n if (!this.children) {\n this.children = [];\n }\n this.children.push(child);\n };\n ColumnGroup.prototype.getDisplayedChildren = function () {\n return this.displayedChildren;\n };\n ColumnGroup.prototype.getLeafColumns = function () {\n var result = [];\n this.addLeafColumns(result);\n return result;\n };\n ColumnGroup.prototype.getDisplayedLeafColumns = function () {\n var result = [];\n this.addDisplayedLeafColumns(result);\n return result;\n };\n // why two methods here doing the same thing?\n ColumnGroup.prototype.getDefinition = function () {\n return this.providedColumnGroup.getColGroupDef();\n };\n ColumnGroup.prototype.getColGroupDef = function () {\n return this.providedColumnGroup.getColGroupDef();\n };\n ColumnGroup.prototype.isPadding = function () {\n return this.providedColumnGroup.isPadding();\n };\n ColumnGroup.prototype.isExpandable = function () {\n return this.providedColumnGroup.isExpandable();\n };\n ColumnGroup.prototype.isExpanded = function () {\n return this.providedColumnGroup.isExpanded();\n };\n ColumnGroup.prototype.setExpanded = function (expanded) {\n this.providedColumnGroup.setExpanded(expanded);\n };\n ColumnGroup.prototype.addDisplayedLeafColumns = function (leafColumns) {\n this.displayedChildren.forEach(function (child) {\n if (child instanceof Column) {\n leafColumns.push(child);\n }\n else if (child instanceof ColumnGroup) {\n child.addDisplayedLeafColumns(leafColumns);\n }\n });\n };\n ColumnGroup.prototype.addLeafColumns = function (leafColumns) {\n this.children.forEach(function (child) {\n if (child instanceof Column) {\n leafColumns.push(child);\n }\n else if (child instanceof ColumnGroup) {\n child.addLeafColumns(leafColumns);\n }\n });\n };\n ColumnGroup.prototype.getChildren = function () {\n return this.children;\n };\n ColumnGroup.prototype.getColumnGroupShow = function () {\n return this.providedColumnGroup.getColumnGroupShow();\n };\n ColumnGroup.prototype.getProvidedColumnGroup = function () {\n return this.providedColumnGroup;\n };\n /** @deprecated getOriginalColumnGroup is deprecated, use getOriginalColumnGroup. */\n ColumnGroup.prototype.getOriginalColumnGroup = function () {\n console.warn('AG Grid: columnGroup.getOriginalColumnGroup() is deprecated due to a method rename, use columnGroup.getProvidedColumnGroup() instead');\n return this.getProvidedColumnGroup();\n };\n ColumnGroup.prototype.getPaddingLevel = function () {\n var parent = this.getParent();\n if (!this.isPadding() || !parent || !parent.isPadding()) {\n return 0;\n }\n return 1 + parent.getPaddingLevel();\n };\n ColumnGroup.prototype.calculateDisplayedColumns = function () {\n var _this = this;\n // clear out last time we calculated\n this.displayedChildren = [];\n // find the column group that is controlling expandable. this is relevant when we have padding (empty)\n // groups, where the expandable is actually the first parent that is not a padding group.\n var parentWithExpansion = this;\n while (parentWithExpansion != null && parentWithExpansion.isPadding()) {\n parentWithExpansion = parentWithExpansion.getParent();\n }\n var isExpandable = parentWithExpansion ? parentWithExpansion.providedColumnGroup.isExpandable() : false;\n // it not expandable, everything is visible\n if (!isExpandable) {\n this.displayedChildren = this.children;\n this.localEventService.dispatchEvent(this.createAgEvent(ColumnGroup.EVENT_DISPLAYED_CHILDREN_CHANGED));\n return;\n }\n // Add cols based on columnGroupShow\n // Note - the below also adds padding groups, these are always added because they never have\n // colDef.columnGroupShow set.\n this.children.forEach(function (child) {\n // never add empty groups\n var emptyGroup = child instanceof ColumnGroup && (!child.displayedChildren || !child.displayedChildren.length);\n if (emptyGroup) {\n return;\n }\n var headerGroupShow = child.getColumnGroupShow();\n switch (headerGroupShow) {\n case ColumnGroup.HEADER_GROUP_SHOW_OPEN:\n // when set to open, only show col if group is open\n if (parentWithExpansion.providedColumnGroup.isExpanded()) {\n _this.displayedChildren.push(child);\n }\n break;\n case ColumnGroup.HEADER_GROUP_SHOW_CLOSED:\n // when set to open, only show col if group is open\n if (!parentWithExpansion.providedColumnGroup.isExpanded()) {\n _this.displayedChildren.push(child);\n }\n break;\n default:\n _this.displayedChildren.push(child);\n break;\n }\n });\n this.localEventService.dispatchEvent(this.createAgEvent(ColumnGroup.EVENT_DISPLAYED_CHILDREN_CHANGED));\n };\n ColumnGroup.HEADER_GROUP_SHOW_OPEN = 'open';\n ColumnGroup.HEADER_GROUP_SHOW_CLOSED = 'closed';\n ColumnGroup.EVENT_LEFT_CHANGED = 'leftChanged';\n ColumnGroup.EVENT_DISPLAYED_CHILDREN_CHANGED = 'displayedChildrenChanged';\n __decorate$2y([\n Autowired('gridOptionsWrapper')\n ], ColumnGroup.prototype, \"gridOptionsWrapper\", void 0);\n return ColumnGroup;\n}());\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar ProvidedColumnGroup = /** @class */ (function () {\n function ProvidedColumnGroup(colGroupDef, groupId, padding, level) {\n this.localEventService = new EventService();\n this.expandable = false;\n this.colGroupDef = colGroupDef;\n this.groupId = groupId;\n this.expanded = !!colGroupDef && !!colGroupDef.openByDefault;\n this.padding = padding;\n this.level = level;\n }\n ProvidedColumnGroup.prototype.reset = function (colGroupDef, level) {\n this.colGroupDef = colGroupDef;\n this.level = level;\n this.originalParent = null;\n // we use ! below, as we want to set the object back to the\n // way it was when it was first created\n this.children = undefined;\n this.expandable = undefined;\n };\n ProvidedColumnGroup.prototype.setOriginalParent = function (originalParent) {\n this.originalParent = originalParent;\n };\n ProvidedColumnGroup.prototype.getOriginalParent = function () {\n return this.originalParent;\n };\n ProvidedColumnGroup.prototype.getLevel = function () {\n return this.level;\n };\n ProvidedColumnGroup.prototype.isVisible = function () {\n // return true if at least one child is visible\n if (this.children) {\n return this.children.some(function (child) { return child.isVisible(); });\n }\n return false;\n };\n ProvidedColumnGroup.prototype.isPadding = function () {\n return this.padding;\n };\n ProvidedColumnGroup.prototype.setExpanded = function (expanded) {\n this.expanded = expanded === undefined ? false : expanded;\n var event = {\n type: ProvidedColumnGroup.EVENT_EXPANDED_CHANGED\n };\n this.localEventService.dispatchEvent(event);\n };\n ProvidedColumnGroup.prototype.isExpandable = function () {\n return this.expandable;\n };\n ProvidedColumnGroup.prototype.isExpanded = function () {\n return this.expanded;\n };\n ProvidedColumnGroup.prototype.getGroupId = function () {\n return this.groupId;\n };\n ProvidedColumnGroup.prototype.getId = function () {\n return this.getGroupId();\n };\n ProvidedColumnGroup.prototype.setChildren = function (children) {\n this.children = children;\n };\n ProvidedColumnGroup.prototype.getChildren = function () {\n return this.children;\n };\n ProvidedColumnGroup.prototype.getColGroupDef = function () {\n return this.colGroupDef;\n };\n ProvidedColumnGroup.prototype.getLeafColumns = function () {\n var result = [];\n this.addLeafColumns(result);\n return result;\n };\n ProvidedColumnGroup.prototype.addLeafColumns = function (leafColumns) {\n if (!this.children) {\n return;\n }\n this.children.forEach(function (child) {\n if (child instanceof Column) {\n leafColumns.push(child);\n }\n else if (child instanceof ProvidedColumnGroup) {\n child.addLeafColumns(leafColumns);\n }\n });\n };\n ProvidedColumnGroup.prototype.getColumnGroupShow = function () {\n var colGroupDef = this.colGroupDef;\n if (!colGroupDef) {\n return;\n }\n return colGroupDef.columnGroupShow;\n };\n // need to check that this group has at least one col showing when both expanded and contracted.\n // if not, then we don't allow expanding and contracting on this group\n ProvidedColumnGroup.prototype.setupExpandable = function () {\n var _this = this;\n this.setExpandable();\n // note - we should be removing this event listener\n this.getLeafColumns().forEach(function (col) { return col.addEventListener(Column.EVENT_VISIBLE_CHANGED, _this.onColumnVisibilityChanged.bind(_this)); });\n };\n ProvidedColumnGroup.prototype.setExpandable = function () {\n if (this.isPadding()) {\n return;\n }\n // want to make sure the group doesn't disappear when it's open\n var atLeastOneShowingWhenOpen = false;\n // want to make sure the group doesn't disappear when it's closed\n var atLeastOneShowingWhenClosed = false;\n // want to make sure the group has something to show / hide\n var atLeastOneChangeable = false;\n var children = this.findChildrenRemovingPadding();\n for (var i = 0, j = children.length; i < j; i++) {\n var abstractColumn = children[i];\n if (!abstractColumn.isVisible()) {\n continue;\n }\n // if the abstractColumn is a grid generated group, there will be no colDef\n var headerGroupShow = abstractColumn.getColumnGroupShow();\n if (headerGroupShow === ColumnGroup.HEADER_GROUP_SHOW_OPEN) {\n atLeastOneShowingWhenOpen = true;\n atLeastOneChangeable = true;\n }\n else if (headerGroupShow === ColumnGroup.HEADER_GROUP_SHOW_CLOSED) {\n atLeastOneShowingWhenClosed = true;\n atLeastOneChangeable = true;\n }\n else {\n atLeastOneShowingWhenOpen = true;\n atLeastOneShowingWhenClosed = true;\n }\n }\n var expandable = atLeastOneShowingWhenOpen && atLeastOneShowingWhenClosed && atLeastOneChangeable;\n if (this.expandable !== expandable) {\n this.expandable = expandable;\n var event_1 = {\n type: ProvidedColumnGroup.EVENT_EXPANDABLE_CHANGED\n };\n this.localEventService.dispatchEvent(event_1);\n }\n };\n ProvidedColumnGroup.prototype.findChildrenRemovingPadding = function () {\n var res = [];\n var process = function (items) {\n items.forEach(function (item) {\n // if padding, we add this children instead of the padding\n var skipBecausePadding = item instanceof ProvidedColumnGroup && item.isPadding();\n if (skipBecausePadding) {\n process(item.children);\n }\n else {\n res.push(item);\n }\n });\n };\n process(this.children);\n return res;\n };\n ProvidedColumnGroup.prototype.onColumnVisibilityChanged = function () {\n this.setExpandable();\n };\n ProvidedColumnGroup.prototype.addEventListener = function (eventType, listener) {\n this.localEventService.addEventListener(eventType, listener);\n };\n ProvidedColumnGroup.prototype.removeEventListener = function (eventType, listener) {\n this.localEventService.removeEventListener(eventType, listener);\n };\n ProvidedColumnGroup.EVENT_EXPANDED_CHANGED = 'expandedChanged';\n ProvidedColumnGroup.EVENT_EXPANDABLE_CHANGED = 'expandableChanged';\n return ProvidedColumnGroup;\n}());\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar DefaultColumnTypes = {\n numericColumn: {\n headerClass: 'ag-right-aligned-header',\n cellClass: 'ag-right-aligned-cell'\n },\n rightAligned: {\n headerClass: 'ag-right-aligned-header',\n cellClass: 'ag-right-aligned-cell'\n }\n};\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar AG_GRID_STOP_PROPAGATION = '__ag_Grid_Stop_Propagation';\nvar PASSIVE_EVENTS$1 = ['touchstart', 'touchend', 'touchmove', 'touchcancel'];\nvar supports = {};\n/**\n * a user once raised an issue - they said that when you opened a popup (eg context menu)\n * and then clicked on a selection checkbox, the popup wasn't closed. this is because the\n * popup listens for clicks on the body, however ag-grid WAS stopping propagation on the\n * checkbox clicks (so the rows didn't pick them up as row selection selection clicks).\n * to get around this, we have a pattern to stop propagation for the purposes of AG Grid,\n * but we still let the event pass back to the body.\n * @param {Event} event\n */\nfunction stopPropagationForAgGrid(event) {\n event[AG_GRID_STOP_PROPAGATION] = true;\n}\nfunction isStopPropagationForAgGrid(event) {\n return event[AG_GRID_STOP_PROPAGATION] === true;\n}\nvar isEventSupported = (function () {\n var tags = {\n select: 'input',\n change: 'input',\n submit: 'form',\n reset: 'form',\n error: 'img',\n load: 'img',\n abort: 'img'\n };\n var eventChecker = function (eventName) {\n if (typeof supports[eventName] === 'boolean') {\n return supports[eventName];\n }\n var el = document.createElement(tags[eventName] || 'div');\n eventName = 'on' + eventName;\n return supports[eventName] = (eventName in el);\n };\n return eventChecker;\n})();\nfunction getCtrlForEvent(gridOptionsWrapper, event, type) {\n var sourceElement = event.target;\n while (sourceElement) {\n var renderedComp = gridOptionsWrapper.getDomData(sourceElement, type);\n if (renderedComp) {\n return renderedComp;\n }\n sourceElement = sourceElement.parentElement;\n }\n return null;\n}\n/**\n * @deprecated\n * Adds all type of change listeners to an element, intended to be a text field\n * @param {HTMLElement} element\n * @param {EventListener} listener\n */\nfunction addChangeListener(element, listener) {\n element.addEventListener('changed', listener);\n element.addEventListener('paste', listener);\n element.addEventListener('input', listener);\n}\nfunction isElementInEventPath(element, event) {\n if (!event || !element) {\n return false;\n }\n return getEventPath(event).indexOf(element) >= 0;\n}\nfunction createEventPath(event) {\n var res = [];\n var pointer = event.target;\n while (pointer) {\n res.push(pointer);\n pointer = pointer.parentElement;\n }\n return res;\n}\n/**\n * firefox doesn't have event.path set, or any alternative to it, so we hack\n * it in. this is needed as it's to late to work out the path when the item is\n * removed from the dom. used by MouseEventService, where it works out if a click\n * was from the current grid, or a detail grid (master / detail).\n * @param {Event} event\n */\nfunction addAgGridEventPath(event) {\n event.__agGridEventPath = getEventPath(event);\n}\n/**\n * Gets the path for an Event.\n * https://stackoverflow.com/questions/39245488/event-path-undefined-with-firefox-and-vue-js\n * https://developer.mozilla.org/en-US/docs/Web/API/Event\n * @param {Event} event\n * @returns {EventTarget[]}\n */\nfunction getEventPath(event) {\n var eventNoType = event;\n if (eventNoType.path) {\n // Chrome supports path\n return eventNoType.path;\n }\n if (eventNoType.composedPath) {\n // Firefox supports composePath\n return eventNoType.composedPath();\n }\n if (eventNoType.__agGridEventPath) {\n // Firefox supports composePath\n return eventNoType.__agGridEventPath;\n }\n // and finally, if none of the above worked,\n // we create the path ourselves\n return createEventPath(event);\n}\nfunction addSafePassiveEventListener(frameworkOverrides, eElement, event, listener) {\n var isPassive = includes(PASSIVE_EVENTS$1, event);\n var options = isPassive ? { passive: true } : undefined;\n // this check is here for certain scenarios where I believe the user must be destroying\n // the grid somehow but continuing for it to be used\n if (frameworkOverrides && frameworkOverrides.addEventListener) {\n frameworkOverrides.addEventListener(eElement, event, listener, options);\n }\n}\n\nvar EventUtils = /*#__PURE__*/Object.freeze({\n __proto__: null,\n stopPropagationForAgGrid: stopPropagationForAgGrid,\n isStopPropagationForAgGrid: isStopPropagationForAgGrid,\n isEventSupported: isEventSupported,\n getCtrlForEvent: getCtrlForEvent,\n addChangeListener: addChangeListener,\n isElementInEventPath: isElementInEventPath,\n createEventPath: createEventPath,\n addAgGridEventPath: addAgGridEventPath,\n getEventPath: getEventPath,\n addSafePassiveEventListener: addSafePassiveEventListener\n});\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __decorate$2x = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar BeanStub = /** @class */ (function () {\n function BeanStub() {\n var _this = this;\n this.destroyFunctions = [];\n this.destroyed = false;\n // for vue 3 - prevents Vue from trying to make this (and obviously any sub classes) from being reactive\n // prevents vue from creating proxies for created objects and prevents identity related issues\n this.__v_skip = true;\n this.isAlive = function () { return !_this.destroyed; };\n }\n // this was a test constructor niall built, when active, it prints after 5 seconds all beans/components that are\n // not destroyed. to use, create a new grid, then api.destroy() before 5 seconds. then anything that gets printed\n // points to a bean or component that was not properly disposed of.\n // constructor() {\n // setTimeout(()=> {\n // if (this.isAlive()) {\n // let prototype: any = Object.getPrototypeOf(this);\n // const constructor: any = prototype.constructor;\n // const constructorString = constructor.toString();\n // const beanName = constructorString.substring(9, constructorString.indexOf(\"(\"));\n // console.log('is alive ' + beanName);\n // }\n // }, 5000);\n // }\n // CellComp and GridComp and override this because they get the FrameworkOverrides from the Beans bean\n BeanStub.prototype.getFrameworkOverrides = function () {\n return this.frameworkOverrides;\n };\n BeanStub.prototype.getContext = function () {\n return this.context;\n };\n BeanStub.prototype.destroy = function () {\n // let prototype: any = Object.getPrototypeOf(this);\n // const constructor: any = prototype.constructor;\n // const constructorString = constructor.toString();\n // const beanName = constructorString.substring(9, constructorString.indexOf(\"(\"));\n this.destroyFunctions.forEach(function (func) { return func(); });\n this.destroyFunctions.length = 0;\n this.destroyed = true;\n this.dispatchEvent({ type: BeanStub.EVENT_DESTROYED });\n };\n BeanStub.prototype.addEventListener = function (eventType, listener) {\n if (!this.localEventService) {\n this.localEventService = new EventService();\n }\n this.localEventService.addEventListener(eventType, listener);\n };\n BeanStub.prototype.removeEventListener = function (eventType, listener) {\n if (this.localEventService) {\n this.localEventService.removeEventListener(eventType, listener);\n }\n };\n BeanStub.prototype.dispatchEventAsync = function (event) {\n var _this = this;\n window.setTimeout(function () { return _this.dispatchEvent(event); }, 0);\n };\n BeanStub.prototype.dispatchEvent = function (event) {\n if (this.localEventService) {\n this.localEventService.dispatchEvent(event);\n }\n };\n BeanStub.prototype.addManagedListener = function (object, event, listener) {\n var _this = this;\n if (this.destroyed) {\n return;\n }\n if (object instanceof HTMLElement) {\n addSafePassiveEventListener(this.getFrameworkOverrides(), object, event, listener);\n }\n else {\n object.addEventListener(event, listener);\n }\n var destroyFunc = function () {\n object.removeEventListener(event, listener);\n _this.destroyFunctions = _this.destroyFunctions.filter(function (fn) { return fn !== destroyFunc; });\n return null;\n };\n this.destroyFunctions.push(destroyFunc);\n return destroyFunc;\n };\n BeanStub.prototype.addDestroyFunc = function (func) {\n // if we are already destroyed, we execute the func now\n if (this.isAlive()) {\n this.destroyFunctions.push(func);\n }\n else {\n func();\n }\n };\n BeanStub.prototype.createManagedBean = function (bean, context) {\n var res = this.createBean(bean, context);\n this.addDestroyFunc(this.destroyBean.bind(this, bean, context));\n return res;\n };\n BeanStub.prototype.createBean = function (bean, context, afterPreCreateCallback) {\n return (context || this.getContext()).createBean(bean, afterPreCreateCallback);\n };\n BeanStub.prototype.destroyBean = function (bean, context) {\n return (context || this.getContext()).destroyBean(bean);\n };\n BeanStub.prototype.destroyBeans = function (beans, context) {\n var _this = this;\n if (beans) {\n beans.forEach(function (bean) { return _this.destroyBean(bean, context); });\n }\n return [];\n };\n BeanStub.EVENT_DESTROYED = 'destroyed';\n __decorate$2x([\n Autowired('frameworkOverrides')\n ], BeanStub.prototype, \"frameworkOverrides\", void 0);\n __decorate$2x([\n Autowired('context')\n ], BeanStub.prototype, \"context\", void 0);\n __decorate$2x([\n Autowired('eventService')\n ], BeanStub.prototype, \"eventService\", void 0);\n __decorate$2x([\n Autowired('gridOptionsWrapper')\n ], BeanStub.prototype, \"gridOptionsWrapper\", void 0);\n __decorate$2x([\n PreDestroy\n ], BeanStub.prototype, \"destroy\", null);\n return BeanStub;\n}());\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$2U = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$2w = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __param$9 = (undefined && undefined.__param) || function (paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n};\n// takes ColDefs and ColGroupDefs and turns them into Columns and OriginalGroups\nvar ColumnFactory = /** @class */ (function (_super) {\n __extends$2U(ColumnFactory, _super);\n function ColumnFactory() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ColumnFactory.prototype.setBeans = function (loggerFactory) {\n this.logger = loggerFactory.create('ColumnFactory');\n };\n ColumnFactory.prototype.createColumnTree = function (defs, primaryColumns, existingTree) {\n // column key creator dishes out unique column id's in a deterministic way,\n // so if we have two grids (that could be master/slave) with same column definitions,\n // then this ensures the two grids use identical id's.\n var columnKeyCreator = new ColumnKeyCreator();\n var _a = this.extractExistingTreeData(existingTree), existingCols = _a.existingCols, existingGroups = _a.existingGroups, existingColKeys = _a.existingColKeys;\n columnKeyCreator.addExistingKeys(existingColKeys);\n // create am unbalanced tree that maps the provided definitions\n var unbalancedTree = this.recursivelyCreateColumns(defs, 0, primaryColumns, existingCols, columnKeyCreator, existingGroups);\n var treeDept = this.findMaxDept(unbalancedTree, 0);\n this.logger.log('Number of levels for grouped columns is ' + treeDept);\n var columnTree = this.balanceColumnTree(unbalancedTree, 0, treeDept, columnKeyCreator);\n var deptFirstCallback = function (child, parent) {\n if (child instanceof ProvidedColumnGroup) {\n child.setupExpandable();\n }\n // we set the original parents at the end, rather than when we go along, as balancing the tree\n // adds extra levels into the tree. so we can only set parents when balancing is done.\n child.setOriginalParent(parent);\n };\n this.columnUtils.depthFirstOriginalTreeSearch(null, columnTree, deptFirstCallback);\n return {\n columnTree: columnTree,\n treeDept: treeDept\n };\n };\n ColumnFactory.prototype.extractExistingTreeData = function (existingTree) {\n var existingCols = [];\n var existingGroups = [];\n var existingColKeys = [];\n if (existingTree) {\n this.columnUtils.depthFirstOriginalTreeSearch(null, existingTree, function (item) {\n if (item instanceof ProvidedColumnGroup) {\n var group = item;\n existingGroups.push(group);\n }\n else {\n var col = item;\n existingColKeys.push(col.getId());\n existingCols.push(col);\n }\n });\n }\n return { existingCols: existingCols, existingGroups: existingGroups, existingColKeys: existingColKeys };\n };\n ColumnFactory.prototype.createForAutoGroups = function (autoGroupCols, gridBalancedTree) {\n var _this = this;\n return autoGroupCols.map(function (col) { return _this.createAutoGroupTreeItem(gridBalancedTree, col); });\n };\n ColumnFactory.prototype.createAutoGroupTreeItem = function (balancedColumnTree, column) {\n var dept = this.findDepth(balancedColumnTree);\n // at the end, this will be the top of the tree item.\n var nextChild = column;\n for (var i = dept - 1; i >= 0; i--) {\n var autoGroup = new ProvidedColumnGroup(null, \"FAKE_PATH_\" + column.getId() + \"}_\" + i, true, i);\n this.context.createBean(autoGroup);\n autoGroup.setChildren([nextChild]);\n nextChild.setOriginalParent(autoGroup);\n nextChild = autoGroup;\n }\n // at this point, the nextChild is the top most item in the tree\n return nextChild;\n };\n ColumnFactory.prototype.findDepth = function (balancedColumnTree) {\n var dept = 0;\n var pointer = balancedColumnTree;\n while (pointer && pointer[0] && pointer[0] instanceof ProvidedColumnGroup) {\n dept++;\n pointer = pointer[0].getChildren();\n }\n return dept;\n };\n ColumnFactory.prototype.balanceColumnTree = function (unbalancedTree, currentDept, columnDept, columnKeyCreator) {\n var result = [];\n // go through each child, for groups, recurse a level deeper,\n // for columns we need to pad\n for (var i = 0; i < unbalancedTree.length; i++) {\n var child = unbalancedTree[i];\n if (child instanceof ProvidedColumnGroup) {\n // child is a group, all we do is go to the next level of recursion\n var originalGroup = child;\n var newChildren = this.balanceColumnTree(originalGroup.getChildren(), currentDept + 1, columnDept, columnKeyCreator);\n originalGroup.setChildren(newChildren);\n result.push(originalGroup);\n }\n else {\n // child is a column - so here we add in the padded column groups if needed\n var firstPaddedGroup = void 0;\n var currentPaddedGroup = void 0;\n // this for loop will NOT run any loops if no padded column groups are needed\n for (var j = columnDept - 1; j >= currentDept; j--) {\n var newColId = columnKeyCreator.getUniqueKey(null, null);\n var colGroupDefMerged = this.createMergedColGroupDef(null);\n var paddedGroup = new ProvidedColumnGroup(colGroupDefMerged, newColId, true, currentDept);\n this.context.createBean(paddedGroup);\n if (currentPaddedGroup) {\n currentPaddedGroup.setChildren([paddedGroup]);\n }\n currentPaddedGroup = paddedGroup;\n if (!firstPaddedGroup) {\n firstPaddedGroup = currentPaddedGroup;\n }\n }\n // likewise this if statement will not run if no padded groups\n if (firstPaddedGroup && currentPaddedGroup) {\n result.push(firstPaddedGroup);\n var hasGroups = unbalancedTree.some(function (leaf) { return leaf instanceof ProvidedColumnGroup; });\n if (hasGroups) {\n currentPaddedGroup.setChildren([child]);\n continue;\n }\n else {\n currentPaddedGroup.setChildren(unbalancedTree);\n break;\n }\n }\n result.push(child);\n }\n }\n return result;\n };\n ColumnFactory.prototype.findMaxDept = function (treeChildren, dept) {\n var maxDeptThisLevel = dept;\n for (var i = 0; i < treeChildren.length; i++) {\n var abstractColumn = treeChildren[i];\n if (abstractColumn instanceof ProvidedColumnGroup) {\n var originalGroup = abstractColumn;\n var newDept = this.findMaxDept(originalGroup.getChildren(), dept + 1);\n if (maxDeptThisLevel < newDept) {\n maxDeptThisLevel = newDept;\n }\n }\n }\n return maxDeptThisLevel;\n };\n ColumnFactory.prototype.recursivelyCreateColumns = function (defs, level, primaryColumns, existingColsCopy, columnKeyCreator, existingGroups) {\n var _this = this;\n return (defs || []).map(function (def) {\n if (_this.isColumnGroup(def)) {\n return _this.createColumnGroup(primaryColumns, def, level, existingColsCopy, columnKeyCreator, existingGroups);\n }\n else {\n return _this.createColumn(primaryColumns, def, existingColsCopy, columnKeyCreator);\n }\n });\n };\n ColumnFactory.prototype.createColumnGroup = function (primaryColumns, colGroupDef, level, existingColumns, columnKeyCreator, existingGroups) {\n var colGroupDefMerged = this.createMergedColGroupDef(colGroupDef);\n var groupId = columnKeyCreator.getUniqueKey(colGroupDefMerged.groupId || null, null);\n var existingGroup = this.findExistingGroup(colGroupDef, existingGroups);\n var providedGroup;\n if (existingGroup) {\n providedGroup = existingGroup;\n providedGroup.reset(colGroupDefMerged, level);\n removeFromArray(existingGroups, existingGroup);\n }\n else {\n providedGroup = new ProvidedColumnGroup(colGroupDefMerged, groupId, false, level);\n this.context.createBean(providedGroup);\n }\n var children = this.recursivelyCreateColumns(colGroupDefMerged.children, level + 1, primaryColumns, existingColumns, columnKeyCreator, existingGroups);\n providedGroup.setChildren(children);\n return providedGroup;\n };\n ColumnFactory.prototype.createMergedColGroupDef = function (colGroupDef) {\n var colGroupDefMerged = {};\n Object.assign(colGroupDefMerged, this.gridOptionsWrapper.getDefaultColGroupDef());\n Object.assign(colGroupDefMerged, colGroupDef);\n this.checkForDeprecatedItems(colGroupDefMerged);\n return colGroupDefMerged;\n };\n ColumnFactory.prototype.createColumn = function (primaryColumns, colDef, existingColsCopy, columnKeyCreator) {\n var colDefMerged = this.mergeColDefs(colDef);\n this.checkForDeprecatedItems(colDefMerged);\n // see if column already exists\n var column = this.findExistingColumn(colDef, existingColsCopy);\n // make sure we remove, so if user provided duplicate id, then we don't have more than\n // one column instance for colDef with common id\n if (existingColsCopy && column) {\n removeFromArray(existingColsCopy, column);\n }\n if (!column) {\n // no existing column, need to create one\n var colId = columnKeyCreator.getUniqueKey(colDefMerged.colId, colDefMerged.field);\n column = new Column(colDefMerged, colDef, colId, primaryColumns);\n this.context.createBean(column);\n }\n else {\n column.setColDef(colDefMerged, colDef);\n this.applyColumnState(column, colDefMerged);\n }\n return column;\n };\n ColumnFactory.prototype.applyColumnState = function (column, colDef) {\n // flex\n var flex = attrToNumber(colDef.flex);\n if (flex !== undefined) {\n column.setFlex(flex);\n }\n // width - we only set width if column is not flexing\n var noFlexThisCol = column.getFlex() <= 0;\n if (noFlexThisCol) {\n // both null and undefined means we skip, as it's not possible to 'clear' width (a column must have a width)\n var width = attrToNumber(colDef.width);\n if (width != null) {\n column.setActualWidth(width);\n }\n else {\n // otherwise set the width again, in case min or max width has changed,\n // and width needs to be adjusted.\n var widthBeforeUpdate = column.getActualWidth();\n column.setActualWidth(widthBeforeUpdate);\n }\n }\n // sort - anything but undefined will set sort, thus null or empty string will clear the sort\n if (colDef.sort !== undefined) {\n if (colDef.sort == Constants.SORT_ASC || colDef.sort == Constants.SORT_DESC) {\n column.setSort(colDef.sort);\n }\n else {\n column.setSort(undefined);\n }\n }\n // sorted at - anything but undefined, thus null will clear the sortIndex\n var sortIndex = attrToNumber(colDef.sortIndex);\n if (sortIndex !== undefined) {\n column.setSortIndex(sortIndex);\n }\n // hide - anything but undefined, thus null will clear the hide\n var hide = attrToBoolean(colDef.hide);\n if (hide !== undefined) {\n column.setVisible(!hide);\n }\n // pinned - anything but undefined, thus null or empty string will remove pinned\n if (colDef.pinned !== undefined) {\n column.setPinned(colDef.pinned);\n }\n };\n ColumnFactory.prototype.findExistingColumn = function (newColDef, existingColsCopy) {\n return (existingColsCopy || []).find(function (existingCol) {\n var existingColDef = existingCol.getUserProvidedColDef();\n if (!existingColDef) {\n return false;\n }\n var newHasId = newColDef.colId != null;\n var newHasField = newColDef.field != null;\n if (newHasId) {\n return existingCol.getId() === newColDef.colId;\n }\n if (newHasField) {\n return existingColDef.field === newColDef.field;\n }\n // if no id or field present, then try object equivalence.\n if (existingColDef === newColDef) {\n return true;\n }\n return false;\n });\n };\n ColumnFactory.prototype.findExistingGroup = function (newGroupDef, existingGroups) {\n return existingGroups.find(function (existingGroup) {\n var existingDef = existingGroup.getColGroupDef();\n if (!existingDef) {\n return false;\n }\n var newHasId = newGroupDef.groupId != null;\n if (newHasId) {\n return existingGroup.getId() === newGroupDef.groupId;\n }\n return false;\n });\n };\n ColumnFactory.prototype.mergeColDefs = function (colDef) {\n // start with empty merged definition\n var colDefMerged = {};\n // merge properties from default column definitions\n var defaultColDef = this.gridOptionsWrapper.getDefaultColDef();\n mergeDeep(colDefMerged, defaultColDef, false, true);\n // merge properties from column type properties\n var columnType = colDef.type;\n if (!columnType) {\n columnType = defaultColDef && defaultColDef.type;\n }\n // if type of both colDef and defaultColDef, then colDef gets preference\n if (columnType) {\n this.assignColumnTypes(columnType, colDefMerged);\n }\n // merge properties from column definitions\n mergeDeep(colDefMerged, colDef, false, true);\n var autoGroupColDef = this.gridOptionsWrapper.getAutoGroupColumnDef();\n var isSortingCoupled = this.gridOptionsWrapper.isColumnsSortingCoupledToGroup();\n if (colDef.rowGroup && autoGroupColDef && isSortingCoupled) {\n // override the sort for row group columns where the autoGroupColDef defines these values.\n mergeDeep(colDefMerged, { sort: autoGroupColDef.sort, initialSort: autoGroupColDef.initialSort }, false, true);\n }\n return colDefMerged;\n };\n ColumnFactory.prototype.assignColumnTypes = function (type, colDefMerged) {\n var typeKeys = [];\n if (type instanceof Array) {\n var invalidArray = type.some(function (a) { return typeof a !== 'string'; });\n if (invalidArray) {\n console.warn(\"AG Grid: if colDef.type is supplied an array it should be of type 'string[]'\");\n }\n else {\n typeKeys = type;\n }\n }\n else if (typeof type === 'string') {\n typeKeys = type.split(',');\n }\n else {\n console.warn(\"AG Grid: colDef.type should be of type 'string' | 'string[]'\");\n return;\n }\n // merge user defined with default column types\n var allColumnTypes = Object.assign({}, DefaultColumnTypes);\n var userTypes = this.gridOptionsWrapper.getColumnTypes() || {};\n iterateObject(userTypes, function (key, value) {\n if (key in allColumnTypes) {\n console.warn(\"AG Grid: the column type '\" + key + \"' is a default column type and cannot be overridden.\");\n }\n else {\n allColumnTypes[key] = value;\n }\n });\n typeKeys.forEach(function (t) {\n var typeColDef = allColumnTypes[t.trim()];\n if (typeColDef) {\n mergeDeep(colDefMerged, typeColDef, false, true);\n }\n else {\n console.warn(\"AG Grid: colDef.type '\" + t + \"' does not correspond to defined gridOptions.columnTypes\");\n }\n });\n };\n ColumnFactory.prototype.checkForDeprecatedItems = function (colDef) {\n if (colDef) {\n var colDefNoType = colDef; // take out the type, so we can access attributes not defined in the type\n if (colDefNoType.group !== undefined) {\n console.warn('AG Grid: colDef.group is invalid, please check documentation on how to do grouping as it changed in version 3');\n }\n if (colDefNoType.headerGroup !== undefined) {\n console.warn('AG Grid: colDef.headerGroup is invalid, please check documentation on how to do grouping as it changed in version 3');\n }\n if (colDefNoType.headerGroupShow !== undefined) {\n console.warn('AG Grid: colDef.headerGroupShow is invalid, should be columnGroupShow, please check documentation on how to do grouping as it changed in version 3');\n }\n if (colDefNoType.suppressRowGroup !== undefined) {\n console.warn('AG Grid: colDef.suppressRowGroup is deprecated, please use colDef.type instead');\n }\n if (colDefNoType.suppressAggregation !== undefined) {\n console.warn('AG Grid: colDef.suppressAggregation is deprecated, please use colDef.type instead');\n }\n if (colDefNoType.suppressRowGroup || colDefNoType.suppressAggregation) {\n console.warn('AG Grid: colDef.suppressAggregation and colDef.suppressRowGroup are deprecated, use allowRowGroup, allowPivot and allowValue instead');\n }\n if (colDefNoType.displayName) {\n console.warn(\"AG Grid: Found displayName \" + colDefNoType.displayName + \", please use headerName instead, displayName is deprecated.\");\n colDefNoType.headerName = colDefNoType.displayName;\n }\n }\n };\n // if object has children, we assume it's a group\n ColumnFactory.prototype.isColumnGroup = function (abstractColDef) {\n return abstractColDef.children !== undefined;\n };\n __decorate$2w([\n Autowired('columnUtils')\n ], ColumnFactory.prototype, \"columnUtils\", void 0);\n __decorate$2w([\n __param$9(0, Qualifier('loggerFactory'))\n ], ColumnFactory.prototype, \"setBeans\", null);\n ColumnFactory = __decorate$2w([\n Bean('columnFactory')\n ], ColumnFactory);\n return ColumnFactory;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar Events = /** @class */ (function () {\n function Events() {\n }\n /** Everything has changed with the columns. Either complete new set of columns set, or user called setState() */\n /** @deprecated - grid no longer uses this, and setSate() also fires individual events */\n Events.EVENT_COLUMN_EVERYTHING_CHANGED = 'columnEverythingChanged';\n /** User has set in new columns. */\n Events.EVENT_NEW_COLUMNS_LOADED = 'newColumnsLoaded';\n /** The pivot mode flag was changed */\n Events.EVENT_COLUMN_PIVOT_MODE_CHANGED = 'columnPivotModeChanged';\n /** A row group column was added, removed or order changed. */\n Events.EVENT_COLUMN_ROW_GROUP_CHANGED = 'columnRowGroupChanged';\n /** expandAll / collapseAll was called from the api. */\n Events.EVENT_EXPAND_COLLAPSE_ALL = 'expandOrCollapseAll';\n /** A pivot column was added, removed or order changed. */\n Events.EVENT_COLUMN_PIVOT_CHANGED = 'columnPivotChanged';\n /** The list of grid columns has changed. */\n Events.EVENT_GRID_COLUMNS_CHANGED = 'gridColumnsChanged';\n /** A value column was added, removed or agg function was changed. */\n Events.EVENT_COLUMN_VALUE_CHANGED = 'columnValueChanged';\n /** A column was moved */\n Events.EVENT_COLUMN_MOVED = 'columnMoved';\n /** One or more columns was shown / hidden */\n Events.EVENT_COLUMN_VISIBLE = 'columnVisible';\n /** One or more columns was pinned / unpinned*/\n Events.EVENT_COLUMN_PINNED = 'columnPinned';\n /** A column group was opened / closed */\n Events.EVENT_COLUMN_GROUP_OPENED = 'columnGroupOpened';\n /** One or more columns was resized. If just one, the column in the event is set. */\n Events.EVENT_COLUMN_RESIZED = 'columnResized';\n /** The list of displayed columns has changed, can result from columns open / close, column move, pivot, group, etc */\n Events.EVENT_DISPLAYED_COLUMNS_CHANGED = 'displayedColumnsChanged';\n /** The list of virtual columns has changed, results from viewport changing */\n Events.EVENT_VIRTUAL_COLUMNS_CHANGED = 'virtualColumnsChanged';\n /** Async Transactions Executed */\n Events.EVENT_ASYNC_TRANSACTIONS_FLUSHED = 'asyncTransactionsFlushed';\n /** A row group was opened / closed */\n Events.EVENT_ROW_GROUP_OPENED = 'rowGroupOpened';\n /** @deprecated use EVENT_ROW_DATA_UPDATED instead */\n Events.EVENT_ROW_DATA_CHANGED = 'rowDataChanged';\n /** The client has updated data for the grid */\n Events.EVENT_ROW_DATA_UPDATED = 'rowDataUpdated';\n /** The client has set new floating data into the grid */\n Events.EVENT_PINNED_ROW_DATA_CHANGED = 'pinnedRowDataChanged';\n /** Range selection has changed */\n Events.EVENT_RANGE_SELECTION_CHANGED = 'rangeSelectionChanged';\n /** Chart was created */\n Events.EVENT_CHART_CREATED = 'chartCreated';\n /** Chart Range selection has changed */\n Events.EVENT_CHART_RANGE_SELECTION_CHANGED = 'chartRangeSelectionChanged';\n /** Chart Options have changed */\n Events.EVENT_CHART_OPTIONS_CHANGED = 'chartOptionsChanged';\n /** Chart was destroyed */\n Events.EVENT_CHART_DESTROYED = 'chartDestroyed';\n /** For when the tool panel is shown / hidden */\n Events.EVENT_TOOL_PANEL_VISIBLE_CHANGED = 'toolPanelVisibleChanged';\n Events.EVENT_TOOL_PANEL_SIZE_CHANGED = 'toolPanelSizeChanged';\n Events.EVENT_COLUMN_PANEL_ITEM_DRAG_START = 'columnPanelItemDragStart';\n Events.EVENT_COLUMN_PANEL_ITEM_DRAG_END = 'columnPanelItemDragEnd';\n /** Model was updated - grid updates the drawn rows when this happens */\n Events.EVENT_MODEL_UPDATED = 'modelUpdated';\n Events.EVENT_PASTE_START = 'pasteStart';\n Events.EVENT_PASTE_END = 'pasteEnd';\n Events.EVENT_FILL_START = 'fillStart';\n Events.EVENT_FILL_END = 'fillEnd';\n Events.EVENT_KEY_SHORTCUT_CHANGED_CELL_START = 'keyShortcutChangedCellStart';\n Events.EVENT_KEY_SHORTCUT_CHANGED_CELL_END = 'keyShortcutChangedCellEnd';\n Events.EVENT_CELL_CLICKED = 'cellClicked';\n Events.EVENT_CELL_DOUBLE_CLICKED = 'cellDoubleClicked';\n Events.EVENT_CELL_MOUSE_DOWN = 'cellMouseDown';\n Events.EVENT_CELL_CONTEXT_MENU = 'cellContextMenu';\n Events.EVENT_CELL_VALUE_CHANGED = 'cellValueChanged';\n Events.EVENT_CELL_EDIT_REQUEST = 'cellEditRequest';\n Events.EVENT_ROW_VALUE_CHANGED = 'rowValueChanged';\n Events.EVENT_CELL_FOCUSED = 'cellFocused';\n Events.EVENT_FULL_WIDTH_ROW_FOCUSED = 'fullWidthRowFocused';\n Events.EVENT_ROW_SELECTED = 'rowSelected';\n Events.EVENT_SELECTION_CHANGED = 'selectionChanged';\n Events.EVENT_CELL_KEY_DOWN = 'cellKeyDown';\n Events.EVENT_CELL_KEY_PRESS = 'cellKeyPress';\n Events.EVENT_CELL_MOUSE_OVER = 'cellMouseOver';\n Events.EVENT_CELL_MOUSE_OUT = 'cellMouseOut';\n /** 2 events for filtering. The grid LISTENS for filterChanged and afterFilterChanged */\n Events.EVENT_FILTER_CHANGED = 'filterChanged';\n /** Filter was change but not applied. Only useful if apply buttons are used in filters. */\n Events.EVENT_FILTER_MODIFIED = 'filterModified';\n Events.EVENT_FILTER_OPENED = 'filterOpened';\n Events.EVENT_SORT_CHANGED = 'sortChanged';\n /** A row was removed from the dom, for any reason. Use to clean up resources (if any) used by the row. */\n Events.EVENT_VIRTUAL_ROW_REMOVED = 'virtualRowRemoved';\n Events.EVENT_ROW_CLICKED = 'rowClicked';\n Events.EVENT_ROW_DOUBLE_CLICKED = 'rowDoubleClicked';\n /** Gets called once after the grid has finished initialising. */\n Events.EVENT_GRID_READY = 'gridReady';\n /** Width of height of the main grid div has changed. Grid listens for this and does layout of grid if it's\n * changed, so always filling the space it was given. */\n Events.EVENT_GRID_SIZE_CHANGED = 'gridSizeChanged';\n /** The indexes of the rows rendered has changed, eg user has scrolled to a new vertical position. */\n Events.EVENT_VIEWPORT_CHANGED = 'viewportChanged';\n /* The width of the scrollbar has been calculated */\n Events.EVENT_SCROLLBAR_WIDTH_CHANGED = 'scrollbarWidthChanged';\n /** Rows were rendered for the first time (ie on async data load). */\n Events.EVENT_FIRST_DATA_RENDERED = 'firstDataRendered';\n /** A column drag has started, either resizing a column or moving a column. */\n Events.EVENT_DRAG_STARTED = 'dragStarted';\n /** A column drag has stopped */\n Events.EVENT_DRAG_STOPPED = 'dragStopped';\n Events.EVENT_CHECKBOX_CHANGED = 'checkboxChanged';\n Events.EVENT_ROW_EDITING_STARTED = 'rowEditingStarted';\n Events.EVENT_ROW_EDITING_STOPPED = 'rowEditingStopped';\n Events.EVENT_CELL_EDITING_STARTED = 'cellEditingStarted';\n Events.EVENT_CELL_EDITING_STOPPED = 'cellEditingStopped';\n /** Main body of grid has scrolled, either horizontally or vertically */\n Events.EVENT_BODY_SCROLL = 'bodyScroll';\n /** Main body of the grid has stopped scrolling, either horizontally or vertically */\n Events.EVENT_BODY_SCROLL_END = 'bodyScrollEnd';\n Events.EVENT_HEIGHT_SCALE_CHANGED = 'heightScaleChanged';\n /** The displayed page for pagination has changed. For example the data was filtered or sorted,\n * or the user has moved to a different page. */\n Events.EVENT_PAGINATION_CHANGED = 'paginationChanged';\n /** Only used by React, Angular, Web Components and VueJS AG Grid components\n * (not used if doing plain JavaScript). If the grid receives changes due\n * to bound properties, this event fires after the grid has finished processing the change. */\n Events.EVENT_COMPONENT_STATE_CHANGED = 'componentStateChanged';\n /***************************** INTERNAL EVENTS: START ******************************************* */\n /** Please remember to add to ComponentUtil.EXCLUDED_INTERNAL_EVENTS to not have these events exposed to framework components. */\n /** All items from here down are used internally by the grid, not intended for external use. */\n // not documented, either experimental, or we just don't want users using an depending on them\n Events.EVENT_BODY_HEIGHT_CHANGED = 'bodyHeightChanged';\n Events.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED = 'displayedColumnsWidthChanged';\n Events.EVENT_SCROLL_VISIBILITY_CHANGED = 'scrollVisibilityChanged';\n Events.EVENT_COLUMN_HOVER_CHANGED = 'columnHoverChanged';\n Events.EVENT_FLASH_CELLS = 'flashCells';\n Events.EVENT_PAGINATION_PIXEL_OFFSET_CHANGED = 'paginationPixelOffsetChanged';\n Events.EVENT_DISPLAYED_ROWS_CHANGED = 'displayedRowsChanged';\n Events.EVENT_LEFT_PINNED_WIDTH_CHANGED = 'leftPinnedWidthChanged';\n Events.EVENT_RIGHT_PINNED_WIDTH_CHANGED = 'rightPinnedWidthChanged';\n Events.EVENT_ROW_CONTAINER_HEIGHT_CHANGED = 'rowContainerHeightChanged';\n Events.EVENT_HEADER_HEIGHT_CHANGED = 'headerHeightChanged';\n Events.EVENT_COLUMN_HEADER_HEIGHT_CHANGED = 'columnHeaderHeightChanged';\n Events.EVENT_ROW_DRAG_ENTER = 'rowDragEnter';\n Events.EVENT_ROW_DRAG_MOVE = 'rowDragMove';\n Events.EVENT_ROW_DRAG_LEAVE = 'rowDragLeave';\n Events.EVENT_ROW_DRAG_END = 'rowDragEnd';\n // primarily for charts\n Events.EVENT_POPUP_TO_FRONT = 'popupToFront';\n // these are used for server side group and agg - only used by CS with Viewport Row Model - intention is\n // to design these better around server side functions and then release to general public when fully working with\n // all the row models.\n Events.EVENT_COLUMN_ROW_GROUP_CHANGE_REQUEST = 'columnRowGroupChangeRequest';\n Events.EVENT_COLUMN_PIVOT_CHANGE_REQUEST = 'columnPivotChangeRequest';\n Events.EVENT_COLUMN_VALUE_CHANGE_REQUEST = 'columnValueChangeRequest';\n Events.EVENT_COLUMN_AGG_FUNC_CHANGE_REQUEST = 'columnAggFuncChangeRequest';\n Events.EVENT_KEYBOARD_FOCUS = 'keyboardFocus';\n Events.EVENT_MOUSE_FOCUS = 'mouseFocus';\n Events.EVENT_STORE_UPDATED = 'storeUpdated';\n return Events;\n}());\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\n// class returns unique instance id's for columns.\n// eg, the following calls (in this order) will result in:\n//\n// getInstanceIdForKey('country') => 0\n// getInstanceIdForKey('country') => 1\n// getInstanceIdForKey('country') => 2\n// getInstanceIdForKey('country') => 3\n// getInstanceIdForKey('age') => 0\n// getInstanceIdForKey('age') => 1\n// getInstanceIdForKey('country') => 4\nvar GroupInstanceIdCreator = /** @class */ (function () {\n function GroupInstanceIdCreator() {\n // this map contains keys to numbers, so we remember what the last call was\n this.existingIds = {};\n }\n GroupInstanceIdCreator.prototype.getInstanceIdForKey = function (key) {\n var lastResult = this.existingIds[key];\n var result;\n if (typeof lastResult !== 'number') {\n // first time this key\n result = 0;\n }\n else {\n result = lastResult + 1;\n }\n this.existingIds[key] = result;\n return result;\n };\n return GroupInstanceIdCreator;\n}());\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar reUnescapedHtml = /[&<>\"']/g;\n/**\n * HTML Escapes.\n */\nvar HTML_ESCAPES = {\n '&': '&',\n '<': '<',\n '>': '>',\n '\"': '"',\n \"'\": '''\n};\n/**\n * It encodes any string in UTF-8 format\n * taken from https://github.com/mathiasbynens/utf8.js\n * @param {string} s\n * @returns {string}\n */\nfunction utf8_encode(s) {\n var stringFromCharCode = String.fromCharCode;\n function ucs2decode(string) {\n var output = [];\n if (!string) {\n return [];\n }\n var len = string.length;\n var counter = 0;\n var value;\n var extra;\n while (counter < len) {\n value = string.charCodeAt(counter++);\n if (value >= 0xD800 && value <= 0xDBFF && counter < len) {\n // high surrogate, and there is a next character\n extra = string.charCodeAt(counter++);\n if ((extra & 0xFC00) == 0xDC00) { // low surrogate\n output.push(((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000);\n }\n else {\n // unmatched surrogate; only append this code unit, in case the next\n // code unit is the high surrogate of a surrogate pair\n output.push(value);\n counter--;\n }\n }\n else {\n output.push(value);\n }\n }\n return output;\n }\n function checkScalarValue(point) {\n if (point >= 0xD800 && point <= 0xDFFF) {\n throw Error('Lone surrogate U+' + point.toString(16).toUpperCase() +\n ' is not a scalar value');\n }\n }\n function createByte(point, shift) {\n return stringFromCharCode(((point >> shift) & 0x3F) | 0x80);\n }\n function encodeCodePoint(point) {\n if ((point >= 0 && point <= 31 && point !== 10)) {\n var convertedCode = point.toString(16).toUpperCase();\n var paddedCode = convertedCode.padStart(4, '0');\n return \"_x\" + paddedCode + \"_\";\n }\n if ((point & 0xFFFFFF80) == 0) { // 1-byte sequence\n return stringFromCharCode(point);\n }\n var symbol = '';\n if ((point & 0xFFFFF800) == 0) { // 2-byte sequence\n symbol = stringFromCharCode(((point >> 6) & 0x1F) | 0xC0);\n }\n else if ((point & 0xFFFF0000) == 0) { // 3-byte sequence\n checkScalarValue(point);\n symbol = stringFromCharCode(((point >> 12) & 0x0F) | 0xE0);\n symbol += createByte(point, 6);\n }\n else if ((point & 0xFFE00000) == 0) { // 4-byte sequence\n symbol = stringFromCharCode(((point >> 18) & 0x07) | 0xF0);\n symbol += createByte(point, 12);\n symbol += createByte(point, 6);\n }\n symbol += stringFromCharCode((point & 0x3F) | 0x80);\n return symbol;\n }\n var codePoints = ucs2decode(s);\n var length = codePoints.length;\n var index = -1;\n var codePoint;\n var byteString = '';\n while (++index < length) {\n codePoint = codePoints[index];\n byteString += encodeCodePoint(codePoint);\n }\n return byteString;\n}\n/**\n * Converts a camelCase string into hyphenated string\n * from https://gist.github.com/youssman/745578062609e8acac9f\n * @param {string} str\n * @return {string}\n */\nfunction camelCaseToHyphen(str) {\n if (str === null || str === undefined) {\n return null;\n }\n return str.replace(/([A-Z])/g, function (g) { return '-' + g[0].toLowerCase(); });\n}\n/**\n * Converts a hyphenated string into camelCase string\n * from https://stackoverflow.com/questions/6660977/convert-hyphens-to-camel-case-camelcase\n * @param {string} str\n * @return {string}\n */\nfunction hyphenToCamelCase(str) {\n if (str === null || str === undefined) {\n return null;\n }\n return str.replace(/-([a-z])/g, function (g) { return g[1].toUpperCase(); });\n}\nfunction capitalise(str) {\n return str[0].toUpperCase() + str.substr(1).toLowerCase();\n}\nfunction escapeString(toEscape, skipEscapingHtmlChars) {\n if (toEscape == null) {\n return null;\n }\n // we call toString() twice, in case value is an object, where user provides\n // a toString() method, and first call to toString() returns back something other\n // than a string (eg a number to render)\n var stringResult = toEscape.toString().toString();\n if (skipEscapingHtmlChars) {\n return stringResult;\n }\n // in react we don't need to escape html characters, as it's done by the framework\n return stringResult.replace(reUnescapedHtml, function (chr) { return HTML_ESCAPES[chr]; });\n}\n/**\n * Converts a camelCase string into regular text\n * from: https://stackoverflow.com/questions/15369566/putting-space-in-camel-case-string-using-regular-expression\n * @param {string} camelCase\n * @return {string}\n */\nfunction camelCaseToHumanText(camelCase) {\n if (!camelCase || camelCase == null) {\n return null;\n }\n var rex = /([A-Z])([A-Z])([a-z])|([a-z])([A-Z])/g;\n var words = camelCase.replace(rex, '$1$4 $2$3$5').replace('.', ' ').split(' ');\n return words.map(function (word) { return word.substring(0, 1).toUpperCase() + ((word.length > 1) ? word.substring(1, word.length) : ''); }).join(' ');\n}\n\nvar StringUtils = /*#__PURE__*/Object.freeze({\n __proto__: null,\n utf8_encode: utf8_encode,\n camelCaseToHyphen: camelCaseToHyphen,\n hyphenToCamelCase: hyphenToCamelCase,\n capitalise: capitalise,\n escapeString: escapeString,\n camelCaseToHumanText: camelCaseToHumanText\n});\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nfunction convertToMap(arr) {\n var map = new Map();\n arr.forEach(function (pair) { return map.set(pair[0], pair[1]); });\n return map;\n}\n// handy for organising a list into a map, where each item is mapped by an attribute, eg mapping Columns by ID\nfunction mapById(arr, callback) {\n var map = new Map();\n arr.forEach(function (item) { return map.set(callback(item), item); });\n return map;\n}\nfunction keys(map) {\n var arr = [];\n map.forEach(function (_, key) { return arr.push(key); });\n return arr;\n}\n\nvar MapUtils = /*#__PURE__*/Object.freeze({\n __proto__: null,\n convertToMap: convertToMap,\n mapById: mapById,\n keys: keys\n});\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __read$p = (undefined && undefined.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar __spread$j = (undefined && undefined.__spread) || function () {\n for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$p(arguments[i]));\n return ar;\n};\nvar ColDefUtil = /** @class */ (function () {\n function ColDefUtil() {\n }\n ColDefUtil.STRING_PROPERTIES = [\n 'headerName',\n 'columnGroupShow',\n 'headerClass',\n 'toolPanelClass',\n 'headerValueGetter',\n 'pivotKeys',\n 'groupId',\n 'colId',\n 'sort',\n 'initialSort',\n 'field',\n 'type',\n 'tooltipComponent',\n 'tooltipField',\n 'headerTooltip',\n 'cellClass',\n 'showRowGroup',\n 'filter',\n 'initialAggFunc',\n 'defaultAggFunc',\n 'aggFunc',\n 'pinned',\n 'initialPinned',\n 'chartDataType',\n 'cellEditorPopupPosition'\n ];\n ColDefUtil.OBJECT_PROPERTIES = [\n 'headerGroupComponent',\n 'headerGroupComponentFramework',\n 'headerGroupComponentParams',\n 'cellStyle',\n 'cellRenderer',\n 'cellRendererParams',\n 'cellRendererFramework',\n 'cellEditor',\n 'cellEditorFramework',\n 'cellEditorParams',\n 'pinnedRowCellRendererFramework',\n 'pinnedRowCellRendererParams',\n 'filterFramework',\n 'filterParams',\n 'pivotValueColumn',\n 'headerComponent',\n 'headerComponentFramework',\n 'headerComponentParams',\n 'floatingFilterComponent',\n 'floatingFilterComponentParams',\n 'floatingFilterComponentFramework',\n 'tooltipComponent',\n 'tooltipComponentParams',\n 'tooltipComponentFramework',\n 'refData',\n 'columnsMenuParams'\n ];\n ColDefUtil.ARRAY_PROPERTIES = [\n 'children',\n 'sortingOrder',\n 'allowedAggFuncs',\n 'menuTabs',\n 'pivotTotalColumnIds',\n 'cellClassRules',\n 'icons'\n ];\n ColDefUtil.NUMBER_PROPERTIES = [\n 'sortedAt',\n 'sortIndex',\n 'initialSortIndex',\n 'flex',\n 'initialFlex',\n 'width',\n 'initialWidth',\n 'minWidth',\n 'maxWidth',\n 'rowGroupIndex',\n 'initialRowGroupIndex',\n 'pivotIndex',\n 'initialPivotIndex'\n ];\n ColDefUtil.BOOLEAN_PROPERTIES = [\n 'suppressCellFlash',\n 'suppressColumnsToolPanel',\n 'suppressFiltersToolPanel',\n 'openByDefault',\n 'marryChildren',\n 'hide',\n 'initialHide',\n 'rowGroup',\n 'initialRowGroup',\n 'pivot',\n 'initialPivot',\n 'checkboxSelection',\n 'showDisabledCheckboxes',\n 'headerCheckboxSelection',\n 'headerCheckboxSelectionFilteredOnly',\n 'suppressMenu',\n 'suppressMovable',\n 'lockPosition',\n 'lockVisible',\n 'lockPinned',\n 'unSortIcon',\n 'suppressSizeToFit',\n 'suppressAutoSize',\n 'enableRowGroup',\n 'enablePivot',\n 'enableValue',\n 'editable',\n 'suppressPaste',\n 'suppressNavigable',\n 'enableCellChangeFlash',\n 'rowDrag',\n 'dndSource',\n 'autoHeight',\n 'wrapText',\n 'sortable',\n 'resizable',\n 'singleClickEdit',\n 'floatingFilter',\n 'cellEditorPopup',\n 'suppressFillHandle',\n 'wrapHeaderText',\n 'autoHeaderHeight'\n ];\n ColDefUtil.FUNCTION_PROPERTIES = [\n 'dndSourceOnRowDrag',\n 'valueGetter',\n 'valueSetter',\n 'filterValueGetter',\n 'keyCreator',\n 'pinnedRowCellRenderer',\n 'valueFormatter',\n 'pinnedRowValueFormatter',\n 'valueParser',\n 'comparator',\n 'equals',\n 'pivotComparator',\n 'suppressKeyboardEvent',\n 'suppressHeaderKeyboardEvent',\n 'colSpan',\n 'rowSpan',\n 'getQuickFilterText',\n 'newValueHandler',\n 'onCellValueChanged',\n 'onCellClicked',\n 'onCellDoubleClicked',\n 'onCellContextMenu',\n 'rowDragText',\n 'tooltipValueGetter',\n 'tooltipComponent',\n 'tooltipComponentFramework',\n 'cellRendererSelector',\n 'cellEditorSelector'\n ];\n ColDefUtil.ALL_PROPERTIES = __spread$j(ColDefUtil.ARRAY_PROPERTIES, ColDefUtil.OBJECT_PROPERTIES, ColDefUtil.STRING_PROPERTIES, ColDefUtil.NUMBER_PROPERTIES, ColDefUtil.FUNCTION_PROPERTIES, ColDefUtil.BOOLEAN_PROPERTIES);\n // used when doing property checks - this causes noise when using frameworks which can add their own fw specific\n // properties to colDefs, gridOptions etc\n ColDefUtil.FRAMEWORK_PROPERTIES = [\n '__ob__',\n '__v_skip',\n '__metadata__',\n 'mappedColumnProperties',\n 'hasChildColumns',\n 'toColDef',\n 'createColDefFromGridColumn'\n ];\n return ColDefUtil;\n}());\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __read$o = (undefined && undefined.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar __spread$i = (undefined && undefined.__spread) || function () {\n for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$o(arguments[i]));\n return ar;\n};\n/**\n * These keys are used for validating properties supplied on a gridOptions object, and for code generation.\n * If you change the properties on the gridOptions interface, you *must* update this file as well to be consistent.\n */\nvar PropertyKeys = /** @class */ (function () {\n function PropertyKeys() {\n }\n PropertyKeys.STRING_PROPERTIES = [\n 'rowSelection', 'overlayLoadingTemplate', 'overlayNoRowsTemplate',\n 'quickFilterText', 'rowModelType', 'editType', 'domLayout', 'clipboardDelimiter', 'rowGroupPanelShow',\n 'multiSortKey', 'pivotColumnGroupTotals', 'pivotRowTotals', 'pivotPanelShow', 'fillHandleDirection',\n 'serverSideStoreType', 'groupDisplayType', 'treeDataDisplayType', 'colResizeDefault'\n ];\n PropertyKeys.OBJECT_PROPERTIES = [\n 'components', 'frameworkComponents', 'rowStyle', 'context', 'autoGroupColumnDef', 'localeText', 'icons',\n 'datasource', 'serverSideDatasource', 'viewportDatasource', 'groupRowRendererParams', 'aggFuncs', 'fullWidthCellRendererParams',\n 'defaultColGroupDef', 'defaultColDef', 'defaultExportParams', 'defaultCsvExportParams', 'defaultExcelExportParams', 'columnTypes',\n 'rowClassRules', 'detailCellRendererParams', 'loadingCellRendererParams', 'loadingOverlayComponentParams',\n 'noRowsOverlayComponentParams', 'popupParent', 'statusBar', 'sideBar', 'chartThemeOverrides',\n 'customChartThemes', 'chartToolPanelsDef'\n ];\n PropertyKeys.ARRAY_PROPERTIES = [\n 'sortingOrder', 'alignedGrids', 'rowData', 'columnDefs', 'excelStyles', 'pinnedTopRowData', 'pinnedBottomRowData', 'chartThemes', 'rowClass'\n ];\n PropertyKeys.NUMBER_PROPERTIES = [\n 'rowHeight', 'detailRowHeight', 'rowBuffer', 'colWidth', 'headerHeight', 'groupHeaderHeight', 'floatingFiltersHeight',\n 'pivotHeaderHeight', 'pivotGroupHeaderHeight', 'groupDefaultExpanded', 'minColWidth', 'maxColWidth', 'viewportRowModelPageSize',\n 'viewportRowModelBufferSize', 'autoSizePadding', 'maxBlocksInCache', 'maxConcurrentDatasourceRequests', 'tooltipShowDelay',\n 'tooltipHideDelay', 'cacheOverflowSize', 'paginationPageSize', 'cacheBlockSize', 'infiniteInitialRowCount', 'serverSideInitialRowCount', 'scrollbarWidth',\n 'batchUpdateWaitMillis', 'asyncTransactionWaitMillis', 'blockLoadDebounceMillis', 'keepDetailRowsCount',\n 'undoRedoCellEditingLimit', 'cellFlashDelay', 'cellFadeDelay', 'tabIndex'\n ];\n PropertyKeys.BOOLEAN_PROPERTIES = [\n 'suppressMakeColumnVisibleAfterUnGroup', 'suppressRowClickSelection', 'suppressCellSelection', 'suppressCellFocus', 'suppressHorizontalScroll',\n 'alwaysShowHorizontalScroll', 'alwaysShowVerticalScroll', 'debug', 'enableBrowserTooltips', 'enableCellExpressions',\n 'angularCompileRows', 'angularCompileFilters', 'groupSuppressAutoColumn', 'groupSelectsChildren', 'groupIncludeFooter',\n 'groupIncludeTotalFooter', 'groupUseEntireRow', 'groupSuppressBlankHeader', 'suppressMenuHide', 'suppressRowDeselection',\n 'unSortIcon', 'suppressMultiSort', 'alwaysMultiSort', 'singleClickEdit', 'suppressLoadingOverlay', 'suppressNoRowsOverlay', 'suppressAutoSize',\n 'skipHeaderOnAutoSize', 'suppressParentsInRowNodes', 'suppressColumnMoveAnimation', 'suppressMovableColumns',\n 'suppressFieldDotNotation', 'enableRangeSelection', 'enableRangeHandle', 'enableFillHandle', 'suppressClearOnFillReduction',\n 'deltaSort', 'suppressTouch', 'suppressAsyncEvents', 'allowContextMenuWithControlKey', 'suppressContextMenu',\n 'rememberGroupStateWhenNewData', 'enableCellChangeFlash', 'suppressDragLeaveHidesColumns', 'suppressRowGroupHidesColumns', 'suppressMiddleClickScrolls',\n 'suppressPreventDefaultOnMouseWheel', 'suppressCopyRowsToClipboard', 'copyHeadersToClipboard', 'copyGroupHeadersToClipboard',\n 'pivotMode', 'suppressAggFuncInHeader', 'suppressColumnVirtualisation', 'suppressAggAtRootLevel', 'suppressFocusAfterRefresh',\n 'functionsPassive', 'functionsReadOnly', 'animateRows', 'groupSelectsFiltered', 'groupRemoveSingleChildren',\n 'groupRemoveLowestSingleChildren', 'enableRtl', 'suppressClickEdit', 'rowDragEntireRow', 'rowDragManaged', 'suppressRowDrag',\n 'suppressMoveWhenRowDragging', 'rowDragMultiRow', 'enableGroupEdit', 'embedFullWidthRows', 'deprecatedEmbedFullWidthRows',\n 'suppressPaginationPanel', 'groupHideOpenParents', 'groupMultiAutoColumn', 'pagination',\n 'stopEditingWhenGridLosesFocus', 'paginationAutoPageSize', 'suppressScrollOnNewData', 'suppressScrollWhenPopupsAreOpen',\n 'purgeClosedRowNodes', 'cacheQuickFilter', 'deltaRowDataMode', 'ensureDomOrder', 'accentedSort', 'suppressChangeDetection',\n 'valueCache', 'valueCacheNeverExpires', 'aggregateOnlyChangedColumns', 'suppressAnimationFrame', 'suppressExcelExport',\n 'suppressCsvExport', 'treeData', 'masterDetail', 'suppressMultiRangeSelection', 'enterMovesDownAfterEdit', 'enterMovesDown',\n 'suppressPropertyNamesCheck', 'rowMultiSelectWithClick', 'suppressEnterpriseResetOnNewColumns',\n 'suppressRowHoverHighlight', 'suppressRowTransform', 'suppressClipboardPaste', 'suppressLastEmptyLineOnPaste',\n 'suppressSetColumnStateEvents', 'suppressColumnStateEvents', 'enableCharts', 'enableChartToolPanelsButton', 'deltaColumnMode',\n 'suppressMaintainUnsortedOrder', 'enableCellTextSelection', 'suppressBrowserResizeObserver', 'suppressMaxRenderedRowRestriction',\n 'excludeChildrenWhenTreeDataFiltering', 'tooltipMouseTrack', 'keepDetailRows', 'paginateChildRows', 'preventDefaultOnContextMenu',\n 'undoRedoCellEditing', 'allowDragFromColumnsToolPanel', 'immutableData', 'immutableColumns', 'pivotSuppressAutoColumn',\n 'suppressExpandablePivotGroups', 'applyColumnDefOrder', 'debounceVerticalScrollbar', 'detailRowAutoHeight',\n 'serverSideFilteringAlwaysResets', 'serverSideSortingAlwaysResets', 'serverSideSortAllLevels', 'serverSideFilterAllLevels',\n 'serverSideSortOnServer', 'serverSideFilterOnServer', 'suppressAggFilteredOnly', 'showOpenedGroup', 'suppressClipboardApi',\n 'suppressModelUpdateAfterUpdateTransaction', 'stopEditingWhenCellsLoseFocus', 'maintainColumnOrder', 'groupMaintainOrder',\n 'columnHoverHighlight', 'reactUi', 'suppressReactUi', 'readOnlyEdit', 'suppressRowVirtualisation', 'enableCellEditingOnBackspace',\n 'resetRowDataOnUpdate', 'removePivotHeaderRowWhenSingleValueColumn', 'suppressCopySingleCellRanges',\n 'groupRowsSticky', 'serverSideInfiniteScroll', 'rowGroupPanelSuppressSort', 'allowShowChangeAfterFilter'\n ];\n /** You do not need to include event callbacks in this list, as they are generated automatically. */\n PropertyKeys.FUNCTIONAL_PROPERTIES = [\n 'localeTextFunc', 'doesExternalFilterPass', 'groupRowAggNodes', 'isFullWidthCell', 'processSecondaryColDef', 'processSecondaryColGroupDef', 'processPivotResultColDef',\n 'processPivotResultColGroupDef', 'getBusinessKeyForNode', 'isRowSelectable', 'postSort', 'defaultGroupSortComparator', 'defaultGroupOrderComparator', 'rowDragText',\n 'groupRowInnerRenderer', 'groupRowInnerRendererFramework', 'groupRowRenderer', 'groupRowRendererFramework', 'fullWidthCellRenderer', 'fullWidthCellRendererFramework',\n 'loadingCellRenderer', 'loadingCellRendererFramework', 'loadingOverlayComponent', 'loadingOverlayComponentFramework', 'noRowsOverlayComponent', 'noRowsOverlayComponentFramework',\n 'detailCellRenderer', 'detailCellRendererFramework'\n ];\n PropertyKeys.CALLBACK_PROPERTIES = [\n 'getLocaleText', 'isExternalFilterPresent', 'getRowHeight', 'getRowClass', 'getRowStyle', 'getContextMenuItems', 'getMainMenuItems',\n 'processRowPostCreate', 'processCellForClipboard', 'getGroupRowAgg', 'getRowNodeId', 'isFullWidthRow',\n 'sendToClipboard', 'navigateToNextHeader', 'tabToNextHeader', 'navigateToNextCell',\n 'tabToNextCell', 'processCellFromClipboard', 'getDocument', 'postProcessPopup', 'getChildCount', 'getDataPath', 'isRowMaster', 'postSortRows', 'processHeaderForClipboard',\n 'processGroupHeaderForClipboard', 'paginationNumberFormatter', 'processDataFromClipboard', 'getServerSideGroupKey', 'isServerSideGroup', 'suppressKeyboardEvent',\n 'createChartContainer', 'getChartToolbarItems', 'fillOperation', 'isApplyServerSideTransaction', 'getServerSideStoreParams', 'getServerSideGroupLevelParams',\n 'isServerSideGroupOpenByDefault', 'isGroupOpenByDefault', 'initialGroupOrderComparator',\n 'loadingCellRendererSelector', 'getRowId', 'groupAggFiltering'\n ];\n PropertyKeys.FUNCTION_PROPERTIES = __spread$i(PropertyKeys.FUNCTIONAL_PROPERTIES, PropertyKeys.CALLBACK_PROPERTIES);\n PropertyKeys.ALL_PROPERTIES = __spread$i(PropertyKeys.ARRAY_PROPERTIES, PropertyKeys.OBJECT_PROPERTIES, PropertyKeys.STRING_PROPERTIES, PropertyKeys.NUMBER_PROPERTIES, PropertyKeys.FUNCTION_PROPERTIES, PropertyKeys.BOOLEAN_PROPERTIES);\n /**\n * Used when performing property checks. This avoids noise caused when using frameworks, which can add their own\n * framework-specific properties to colDefs, gridOptions etc.\n */\n PropertyKeys.FRAMEWORK_PROPERTIES = [\n '__ob__', '__v_skip', '__metadata__', 'mappedColumnProperties', 'hasChildColumns', 'toColDef', 'createColDefFromGridColumn'\n ];\n return PropertyKeys;\n}());\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __assign$h = (undefined && undefined.__assign) || function () {\n __assign$h = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign$h.apply(this, arguments);\n};\nvar __read$n = (undefined && undefined.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar __spread$h = (undefined && undefined.__spread) || function () {\n for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$n(arguments[i]));\n return ar;\n};\nvar ComponentUtil = /** @class */ (function () {\n function ComponentUtil() {\n }\n ComponentUtil.getEventCallbacks = function () {\n if (!ComponentUtil.EVENT_CALLBACKS) {\n ComponentUtil.EVENT_CALLBACKS = ComponentUtil.EVENTS.map(function (event) { return ComponentUtil.getCallbackForEvent(event); });\n }\n return ComponentUtil.EVENT_CALLBACKS;\n };\n ComponentUtil.copyAttributesToGridOptions = function (gridOptions, component, skipEventDeprecationCheck) {\n // create empty grid options if none were passed\n if (typeof gridOptions !== 'object') {\n gridOptions = {};\n }\n // to allow array style lookup in TypeScript, take type away from 'this' and 'gridOptions'\n var pGridOptions = gridOptions;\n var keyExists = function (key) { return typeof component[key] !== 'undefined'; };\n // if groupAggFiltering exists and isn't a function, handle as a boolean.\n if (keyExists('groupAggFiltering') && typeof component.groupAggFiltering !== 'function') {\n pGridOptions.groupAggFiltering = ComponentUtil.toBoolean(component.groupAggFiltering);\n delete component.groupAggFiltering;\n }\n // add in all the simple properties\n __spread$h(ComponentUtil.ARRAY_PROPERTIES, ComponentUtil.STRING_PROPERTIES, ComponentUtil.OBJECT_PROPERTIES, ComponentUtil.FUNCTION_PROPERTIES, ComponentUtil.getEventCallbacks()).filter(keyExists)\n .forEach(function (key) { return pGridOptions[key] = component[key]; });\n ComponentUtil.BOOLEAN_PROPERTIES\n .filter(keyExists)\n .forEach(function (key) { return pGridOptions[key] = ComponentUtil.toBoolean(component[key]); });\n ComponentUtil.NUMBER_PROPERTIES\n .filter(keyExists)\n .forEach(function (key) { return pGridOptions[key] = ComponentUtil.toNumber(component[key]); });\n return gridOptions;\n };\n ComponentUtil.getCallbackForEvent = function (eventName) {\n if (!eventName || eventName.length < 2) {\n return eventName;\n }\n return 'on' + eventName[0].toUpperCase() + eventName.substr(1);\n };\n ComponentUtil.processOnChange = function (changes, gridOptions, api, columnApi) {\n if (!changes) {\n return;\n }\n var changesToApply = __assign$h({}, changes);\n // to allow array style lookup in TypeScript, take type away from 'this' and 'gridOptions'\n var pGridOptions = gridOptions;\n var keyExists = function (key) { return changesToApply[key]; };\n // if groupAggFiltering exists and isn't a function, handle as a boolean.\n if (keyExists('groupAggFiltering')) {\n if (typeof changesToApply.groupAggFiltering === 'function') {\n pGridOptions.groupAggFiltering = changesToApply.groupAggFiltering;\n }\n else {\n pGridOptions.groupAggFiltering = ComponentUtil.toBoolean(changesToApply.groupAggFiltering);\n }\n delete changesToApply.groupAggFiltering;\n }\n if (keyExists('groupDisplayType')) {\n if (typeof changesToApply.groupDisplayType.currentValue === 'string') {\n api.setGroupDisplayType(changesToApply.groupDisplayType.currentValue);\n delete changesToApply.groupDisplayType;\n }\n }\n // ********* CODE ORDER TO AVOID BUGS *************** //\n // If you want to call an update method that just calls through to gridOptionsWrapper.setProperty then it needs to be\n // called before the values get copied across otherwise the change will not fire an event because the method\n // gridOptionsWrapper.setProperty does a diff check first.\n // All these manual calls are required in the current setup as changes to these properties are being listened to in the \n // rest of the code base which can be found by searching for: \"addManagedListener(this.gridOptionsWrapper\"\n if (changesToApply.domLayout) {\n api.setDomLayout(changesToApply.domLayout.currentValue);\n delete changesToApply.domLayout;\n }\n if (changesToApply.rowClass) {\n api.setRowClass(changesToApply.rowClass.currentValue);\n delete changesToApply.rowClass;\n }\n if (changesToApply.paginationPageSize) {\n api.paginationSetPageSize(ComponentUtil.toNumber(changesToApply.paginationPageSize.currentValue));\n delete changesToApply.paginationPageSize;\n }\n if (changesToApply.rowGroupPanelShow) {\n api.setRowGroupPanelShow(changesToApply.rowGroupPanelShow.currentValue);\n delete changesToApply.rowGroupPanelShow;\n }\n if (changesToApply.groupRemoveSingleChildren) {\n api.setGroupRemoveSingleChildren(ComponentUtil.toBoolean(changesToApply.groupRemoveSingleChildren.currentValue));\n delete changesToApply.groupRemoveSingleChildren;\n }\n if (changesToApply.groupRemoveLowestSingleChildren) {\n api.setGroupRemoveLowestSingleChildren(ComponentUtil.toBoolean(changesToApply.groupRemoveLowestSingleChildren.currentValue));\n delete changesToApply.groupRemoveLowestSingleChildren;\n }\n if (changesToApply.suppressRowDrag) {\n api.setSuppressRowDrag(ComponentUtil.toBoolean(changesToApply.suppressRowDrag.currentValue));\n delete changesToApply.suppressRowDrag;\n }\n if (changesToApply.suppressMoveWhenRowDragging) {\n api.setSuppressMoveWhenRowDragging(ComponentUtil.toBoolean(changesToApply.suppressMoveWhenRowDragging.currentValue));\n delete changesToApply.suppressMoveWhenRowDragging;\n }\n if (changesToApply.suppressRowClickSelection) {\n api.setSuppressRowClickSelection(ComponentUtil.toBoolean(changesToApply.suppressRowClickSelection.currentValue));\n delete changesToApply.suppressRowClickSelection;\n }\n if (changesToApply.suppressClipboardPaste) {\n api.setSuppressClipboardPaste(ComponentUtil.toBoolean(changesToApply.suppressClipboardPaste.currentValue));\n delete changesToApply.suppressClipboardPaste;\n }\n if (changesToApply.headerHeight) {\n api.setHeaderHeight(ComponentUtil.toNumber(changesToApply.headerHeight.currentValue));\n delete changesToApply.headerHeight;\n }\n if (changesToApply.pivotHeaderHeight) {\n api.setPivotHeaderHeight(ComponentUtil.toNumber(changesToApply.pivotHeaderHeight.currentValue));\n delete changesToApply.pivotHeaderHeight;\n }\n if (changesToApply.groupHeaderHeight) {\n api.setGroupHeaderHeight(ComponentUtil.toNumber(changesToApply.groupHeaderHeight.currentValue));\n delete changesToApply.groupHeaderHeight;\n }\n if (changesToApply.pivotGroupHeaderHeight) {\n api.setPivotGroupHeaderHeight(ComponentUtil.toNumber(changesToApply.pivotGroupHeaderHeight.currentValue));\n delete changesToApply.pivotGroupHeaderHeight;\n }\n if (changesToApply.floatingFiltersHeight) {\n api.setFloatingFiltersHeight(ComponentUtil.toNumber(changesToApply.floatingFiltersHeight.currentValue));\n delete changesToApply.floatingFiltersHeight;\n }\n if (changesToApply.functionsReadOnly) {\n api.setFunctionsReadOnly(ComponentUtil.toBoolean(changesToApply.functionsReadOnly.currentValue));\n delete changesToApply.functionsReadOnly;\n }\n // ********* CODE ORDER TO AVOID BUGS *************** //\n // check if any change for the simple types, and if so, then just copy in the new value\n __spread$h(ComponentUtil.ARRAY_PROPERTIES, ComponentUtil.OBJECT_PROPERTIES, ComponentUtil.STRING_PROPERTIES, ComponentUtil.getEventCallbacks()).filter(keyExists)\n .forEach(function (key) { return pGridOptions[key] = changesToApply[key].currentValue; });\n ComponentUtil.BOOLEAN_PROPERTIES\n .filter(keyExists)\n .forEach(function (key) { return pGridOptions[key] = ComponentUtil.toBoolean(changesToApply[key].currentValue); });\n ComponentUtil.NUMBER_PROPERTIES\n .filter(keyExists)\n .forEach(function (key) { return pGridOptions[key] = ComponentUtil.toNumber(changesToApply[key].currentValue); });\n // ********* CODE ORDER TO AVOID BUGS *************** //\n // The following manual updates call directly into code models and rely on the simple copy being made by the\n // code above to keep gridOptions in sync with the change.\n if (changesToApply.enableCellTextSelection) {\n api.setEnableCellTextSelection(ComponentUtil.toBoolean(changesToApply.enableCellTextSelection.currentValue));\n delete changesToApply.enableCellTextSelection;\n }\n if (changesToApply.quickFilterText) {\n api.setQuickFilter(changesToApply.quickFilterText.currentValue);\n delete changesToApply.quickFilterText;\n }\n if (changesToApply.autoGroupColumnDef) {\n api.setAutoGroupColumnDef(changesToApply.autoGroupColumnDef.currentValue, \"gridOptionsChanged\");\n delete changesToApply.autoGroupColumnDef;\n }\n if (changesToApply.columnDefs) {\n api.setColumnDefs(changesToApply.columnDefs.currentValue, \"gridOptionsChanged\");\n delete changesToApply.columnDefs;\n }\n if (changesToApply.defaultColDef) {\n api.setDefaultColDef(changesToApply.defaultColDef.currentValue, \"gridOptionsChanged\");\n delete changesToApply.defaultColDef;\n }\n if (changesToApply.pivotMode) {\n columnApi.setPivotMode(ComponentUtil.toBoolean(changesToApply.pivotMode.currentValue));\n delete changesToApply.pivotMode;\n }\n // any remaining properties can be set in a generic way\n // ie the setter takes the form of setXXX and the argument requires no formatting/translation first\n var dynamicApi = api;\n Object.keys(changesToApply)\n .forEach(function (property) {\n var setterName = \"set\" + property.charAt(0).toUpperCase() + property.substring(1);\n if (dynamicApi[setterName]) {\n dynamicApi[setterName](changes[property].currentValue);\n }\n });\n // copy changes into an event for dispatch\n var event = {\n type: Events.EVENT_COMPONENT_STATE_CHANGED\n };\n iterateObject(changes, function (key, value) {\n event[key] = value;\n });\n api.dispatchEvent(event);\n };\n ComponentUtil.toBoolean = function (value) {\n if (typeof value === 'boolean') {\n return value;\n }\n if (typeof value === 'string') {\n // for boolean, compare to empty String to allow attributes appearing with\n // no value to be treated as 'true'\n return value.toUpperCase() === 'TRUE' || value == '';\n }\n return false;\n };\n ComponentUtil.toNumber = function (value) {\n if (typeof value === 'number') {\n return value;\n }\n if (typeof value === 'string') {\n return Number(value);\n }\n };\n // all the events are populated in here AFTER this class (at the bottom of the file).\n ComponentUtil.EVENTS = [];\n // events that are available for use by users of AG Grid and so should be documented\n ComponentUtil.PUBLIC_EVENTS = [];\n // events that are internal to AG Grid and should not be exposed to users via documentation or generated framework components\n ComponentUtil.EXCLUDED_INTERNAL_EVENTS = [];\n ComponentUtil.STRING_PROPERTIES = PropertyKeys.STRING_PROPERTIES;\n ComponentUtil.OBJECT_PROPERTIES = PropertyKeys.OBJECT_PROPERTIES;\n ComponentUtil.ARRAY_PROPERTIES = PropertyKeys.ARRAY_PROPERTIES;\n ComponentUtil.NUMBER_PROPERTIES = PropertyKeys.NUMBER_PROPERTIES;\n ComponentUtil.BOOLEAN_PROPERTIES = PropertyKeys.BOOLEAN_PROPERTIES;\n ComponentUtil.FUNCTION_PROPERTIES = PropertyKeys.FUNCTION_PROPERTIES;\n ComponentUtil.ALL_PROPERTIES = PropertyKeys.ALL_PROPERTIES;\n return ComponentUtil;\n}());\nComponentUtil.EVENTS = values(Events);\n/** Exclude the following internal events from code generation to prevent exposing these events via framework components */\nComponentUtil.EXCLUDED_INTERNAL_EVENTS = [\n Events.EVENT_SCROLLBAR_WIDTH_CHANGED,\n Events.EVENT_CHECKBOX_CHANGED,\n Events.EVENT_HEIGHT_SCALE_CHANGED,\n Events.EVENT_BODY_HEIGHT_CHANGED,\n Events.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED,\n Events.EVENT_SCROLL_VISIBILITY_CHANGED,\n Events.EVENT_COLUMN_HOVER_CHANGED,\n Events.EVENT_FLASH_CELLS,\n Events.EVENT_PAGINATION_PIXEL_OFFSET_CHANGED,\n Events.EVENT_DISPLAYED_ROWS_CHANGED,\n Events.EVENT_LEFT_PINNED_WIDTH_CHANGED,\n Events.EVENT_RIGHT_PINNED_WIDTH_CHANGED,\n Events.EVENT_ROW_CONTAINER_HEIGHT_CHANGED,\n Events.EVENT_POPUP_TO_FRONT,\n Events.EVENT_KEYBOARD_FOCUS,\n Events.EVENT_MOUSE_FOCUS,\n Events.EVENT_STORE_UPDATED,\n Events.EVENT_COLUMN_PANEL_ITEM_DRAG_START,\n Events.EVENT_COLUMN_PANEL_ITEM_DRAG_END,\n Events.EVENT_FILL_START,\n Events.EVENT_FILL_END,\n Events.EVENT_KEY_SHORTCUT_CHANGED_CELL_START,\n Events.EVENT_KEY_SHORTCUT_CHANGED_CELL_END,\n Events.EVENT_FULL_WIDTH_ROW_FOCUSED,\n Events.EVENT_HEADER_HEIGHT_CHANGED,\n Events.EVENT_COLUMN_HEADER_HEIGHT_CHANGED\n];\n/** EVENTS that should be exposed via code generation for the framework components. */\nComponentUtil.PUBLIC_EVENTS = ComponentUtil.EVENTS.filter(function (e) { return !includes(ComponentUtil.EXCLUDED_INTERNAL_EVENTS, e); });\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar SideBarDefParser = /** @class */ (function () {\n function SideBarDefParser() {\n }\n SideBarDefParser.parse = function (toParse) {\n if (!toParse) {\n return null;\n }\n if (toParse === true) {\n return {\n toolPanels: [\n SideBarDefParser.DEFAULT_COLUMN_COMP,\n SideBarDefParser.DEFAULT_FILTER_COMP,\n ],\n defaultToolPanel: 'columns'\n };\n }\n if (typeof toParse === 'string') {\n return SideBarDefParser.parse([toParse]);\n }\n if (Array.isArray(toParse)) {\n var comps_1 = [];\n toParse.forEach(function (key) {\n var lookupResult = SideBarDefParser.DEFAULT_BY_KEY[key];\n if (!lookupResult) {\n console.warn(\"AG Grid: the key \" + key + \" is not a valid key for specifying a tool panel, valid keys are: \" + Object.keys(SideBarDefParser.DEFAULT_BY_KEY).join(','));\n return;\n }\n comps_1.push(lookupResult);\n });\n if (comps_1.length === 0) {\n return null;\n }\n return {\n toolPanels: comps_1,\n defaultToolPanel: comps_1[0].id\n };\n }\n var result = {\n toolPanels: SideBarDefParser.parseComponents(toParse.toolPanels),\n defaultToolPanel: toParse.defaultToolPanel,\n hiddenByDefault: toParse.hiddenByDefault,\n position: toParse.position\n };\n return result;\n };\n SideBarDefParser.parseComponents = function (from) {\n var result = [];\n if (!from) {\n return result;\n }\n from.forEach(function (it) {\n var toAdd = null;\n if (typeof it === 'string') {\n var lookupResult = SideBarDefParser.DEFAULT_BY_KEY[it];\n if (!lookupResult) {\n console.warn(\"AG Grid: the key \" + it + \" is not a valid key for specifying a tool panel, valid keys are: \" + Object.keys(SideBarDefParser.DEFAULT_BY_KEY).join(','));\n return;\n }\n toAdd = lookupResult;\n }\n else {\n toAdd = it;\n }\n result.push(toAdd);\n });\n return result;\n };\n SideBarDefParser.DEFAULT_COLUMN_COMP = {\n id: 'columns',\n labelDefault: 'Columns',\n labelKey: 'columns',\n iconKey: 'columns',\n toolPanel: 'agColumnsToolPanel',\n };\n SideBarDefParser.DEFAULT_FILTER_COMP = {\n id: 'filters',\n labelDefault: 'Filters',\n labelKey: 'filters',\n iconKey: 'filter',\n toolPanel: 'agFiltersToolPanel',\n };\n SideBarDefParser.DEFAULT_BY_KEY = {\n columns: SideBarDefParser.DEFAULT_COLUMN_COMP,\n filters: SideBarDefParser.DEFAULT_FILTER_COMP\n };\n return SideBarDefParser;\n}());\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __values$5 = (undefined && undefined.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\n/**\n * These variables are lazy loaded, as otherwise they try and get initialised when we are loading\n * unit tests and we don't have references to window or document in the unit tests\n * from http://stackoverflow.com/questions/9847580/how-to-detect-safari-chrome-ie-firefox-and-opera-browser\n */\nvar isSafari;\nvar isIE;\nvar isEdge;\nvar isChrome;\nvar isFirefox;\nvar isMacOs;\nvar isIOS;\nvar invisibleScrollbar;\nvar browserScrollbarWidth;\nvar browserInfo;\n/**\n * from https://stackoverflow.com/a/16938481/1388233\n */\nfunction getBrowserInfo() {\n if (browserInfo) {\n return browserInfo;\n }\n var userAgent = navigator.userAgent;\n var match = userAgent.match(/(opera|chrome|safari|firefox|msie|trident(?=\\/))\\/?\\s*(\\d+)/i) || [];\n var tem;\n var version;\n if (/trident/i.test(match[1])) {\n tem = /\\brv[ :]+(\\d+)/g.exec(userAgent) || [];\n version = tem[1] != null ? parseFloat(tem[1]) : 0;\n return {\n name: 'IE',\n version: version\n };\n }\n if (match[1] === 'Chrome') {\n tem = userAgent.match(/\\bOPR|Edge\\/(\\d+)/);\n if (tem != null) {\n version = tem[1] != null ? parseFloat(tem[1]) : 0;\n return {\n name: 'Opera',\n version: version\n };\n }\n }\n match = match[2] ? [match[1], match[2]] : [navigator.appName, navigator.appVersion, '-?'];\n tem = userAgent.match(/version\\/(\\d+)/i);\n if (tem != null) {\n match.splice(1, 1, tem[1]);\n }\n var name = match[0];\n version = match[1] != null ? parseFloat(match[1]) : 0;\n browserInfo = { name: name, version: version };\n return browserInfo;\n}\nfunction isBrowserIE() {\n if (isIE === undefined) {\n isIE = /*@cc_on!@*/ !!document.documentMode; // At least IE6\n }\n return isIE;\n}\nfunction isBrowserEdge() {\n if (isEdge === undefined) {\n isEdge = !isBrowserIE() && !!window.StyleMedia;\n }\n return isEdge;\n}\nfunction isBrowserSafari() {\n if (isSafari === undefined) {\n // taken from https://stackoverflow.com/a/23522755/1388233\n isSafari = /^((?!chrome|android).)*safari/i.test(navigator.userAgent);\n }\n return isSafari;\n}\nfunction isBrowserChrome() {\n if (isChrome === undefined) {\n var win = window;\n isChrome = (!!win.chrome && (!!win.chrome.webstore || !!win.chrome.runtime)) ||\n (/Chrome/.test(navigator.userAgent) && /Google Inc/.test(navigator.vendor));\n }\n return isChrome;\n}\nfunction isBrowserFirefox() {\n if (isFirefox === undefined) {\n var win = window;\n isFirefox = typeof win.InstallTrigger !== 'undefined';\n }\n return isFirefox;\n}\nfunction isMacOsUserAgent() {\n if (isMacOs === undefined) {\n isMacOs = /(Mac|iPhone|iPod|iPad)/i.test(navigator.platform);\n }\n return isMacOs;\n}\nfunction isIOSUserAgent() {\n if (isIOS === undefined) {\n // taken from https://stackoverflow.com/a/58064481/1388233\n isIOS = (/iPad|iPhone|iPod/.test(navigator.platform) ||\n // eslint-disable-next-line\n (navigator.platform === 'MacIntel' && navigator.maxTouchPoints > 1)) &&\n // @ts-ignore\n !window.MSStream;\n }\n return isIOS;\n}\nfunction browserSupportsPreventScroll() {\n // all browsers except safari support focus({ preventScroll: true }).\n // this feature was added on Safari 15+\n return !isBrowserSafari() || getBrowserInfo().version >= 15;\n}\nfunction getTabIndex(el) {\n if (!el) {\n return null;\n }\n var numberTabIndex = el.tabIndex;\n var tabIndex = el.getAttribute('tabIndex');\n if (numberTabIndex === -1 && (tabIndex === null || (tabIndex === '' && !isBrowserFirefox()))) {\n return null;\n }\n return numberTabIndex.toString();\n}\nfunction getMaxDivHeight() {\n if (!document.body) {\n return -1;\n }\n var res = 1000000;\n // FF reports the height back but still renders blank after ~6M px\n var testUpTo = navigator.userAgent.toLowerCase().match(/firefox/) ? 6000000 : 1000000000;\n var div = document.createElement('div');\n document.body.appendChild(div);\n while (true) {\n var test = res * 2;\n div.style.height = test + 'px';\n if (test > testUpTo || div.clientHeight !== test) {\n break;\n }\n else {\n res = test;\n }\n }\n document.body.removeChild(div);\n return res;\n}\nfunction getScrollbarWidth() {\n if (browserScrollbarWidth == null) {\n initScrollbarWidthAndVisibility();\n }\n return browserScrollbarWidth;\n}\nfunction initScrollbarWidthAndVisibility() {\n var body = document.body;\n var div = document.createElement('div');\n div.style.width = div.style.height = '100px';\n div.style.opacity = '0';\n div.style.overflow = 'scroll';\n div.style.msOverflowStyle = 'scrollbar'; // needed for WinJS apps\n div.style.position = 'absolute';\n body.appendChild(div);\n var width = div.offsetWidth - div.clientWidth;\n // if width is 0 and client width is 0, means the DOM isn't ready\n if (width === 0 && div.clientWidth === 0) {\n width = null;\n }\n // remove div\n if (div.parentNode) {\n div.parentNode.removeChild(div);\n }\n if (width != null) {\n browserScrollbarWidth = width;\n invisibleScrollbar = width === 0;\n }\n}\nfunction isInvisibleScrollbar() {\n if (invisibleScrollbar == null) {\n initScrollbarWidthAndVisibility();\n }\n return invisibleScrollbar;\n}\n/** @deprecated */\nfunction hasOverflowScrolling() {\n var e_1, _a;\n var prefixes = ['webkit', 'moz', 'o', 'ms'];\n var div = document.createElement('div');\n var body = document.getElementsByTagName('body')[0];\n var found = false;\n var p;\n body.appendChild(div);\n div.setAttribute('style', prefixes.map(function (prefix) { return \"-\" + prefix + \"-overflow-scrolling: touch\"; }).concat('overflow-scrolling: touch').join(';'));\n var computedStyle = window.getComputedStyle(div);\n if (computedStyle.overflowScrolling === 'touch') {\n found = true;\n }\n if (!found) {\n try {\n for (var prefixes_1 = __values$5(prefixes), prefixes_1_1 = prefixes_1.next(); !prefixes_1_1.done; prefixes_1_1 = prefixes_1.next()) {\n p = prefixes_1_1.value;\n if (computedStyle[p + \"OverflowScrolling\"] === 'touch') {\n found = true;\n break;\n }\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (prefixes_1_1 && !prefixes_1_1.done && (_a = prefixes_1.return)) _a.call(prefixes_1);\n }\n finally { if (e_1) throw e_1.error; }\n }\n }\n if (div.parentNode) {\n div.parentNode.removeChild(div);\n }\n return found;\n}\n/**\n * Gets the document body width\n * from: http://stackoverflow.com/questions/1038727/how-to-get-browser-width-using-javascript-code\n * @returns {number}\n */\nfunction getBodyWidth() {\n if (document.body) {\n return document.body.clientWidth;\n }\n if (window.innerHeight) {\n return window.innerWidth;\n }\n if (document.documentElement && document.documentElement.clientWidth) {\n return document.documentElement.clientWidth;\n }\n return -1;\n}\n/**\n * Gets the body height\n * from: http://stackoverflow.com/questions/1038727/how-to-get-browser-width-using-javascript-code\n * @returns {number}\n */\nfunction getBodyHeight() {\n if (document.body) {\n return document.body.clientHeight;\n }\n if (window.innerHeight) {\n return window.innerHeight;\n }\n if (document.documentElement && document.documentElement.clientHeight) {\n return document.documentElement.clientHeight;\n }\n return -1;\n}\n\nvar BrowserUtils = /*#__PURE__*/Object.freeze({\n __proto__: null,\n getBrowserInfo: getBrowserInfo,\n isBrowserEdge: isBrowserEdge,\n isBrowserSafari: isBrowserSafari,\n isBrowserChrome: isBrowserChrome,\n isBrowserFirefox: isBrowserFirefox,\n isMacOsUserAgent: isMacOsUserAgent,\n isIOSUserAgent: isIOSUserAgent,\n browserSupportsPreventScroll: browserSupportsPreventScroll,\n getTabIndex: getTabIndex,\n getMaxDivHeight: getMaxDivHeight,\n getScrollbarWidth: getScrollbarWidth,\n isInvisibleScrollbar: isInvisibleScrollbar,\n hasOverflowScrolling: hasOverflowScrolling,\n getBodyWidth: getBodyWidth,\n getBodyHeight: getBodyHeight\n});\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nfunction fuzzyCheckStrings(inputValues, validValues, allSuggestions) {\n var fuzzyMatches = {};\n var invalidInputs = inputValues.filter(function (inputValue) {\n return !validValues.some(function (validValue) { return validValue === inputValue; });\n });\n if (invalidInputs.length > 0) {\n invalidInputs.forEach(function (invalidInput) {\n return fuzzyMatches[invalidInput] = fuzzySuggestions(invalidInput, allSuggestions);\n });\n }\n return fuzzyMatches;\n}\n/**\n *\n * @param {String} inputValue The value to be compared against a list of strings\n * @param allSuggestions The list of strings to be compared against\n * @param hideIrrelevant By default, fuzzy suggestions will just sort the allSuggestions list, set this to true\n * to filter out the irrelevant values\n * @param weighted Set this to true, to make letters matched in the order they were typed have priority in the results.\n */\nfunction fuzzySuggestions(inputValue, allSuggestions, hideIrrelevant, weighted) {\n var search = weighted ? string_weighted_distances : string_distances;\n var thisSuggestions = allSuggestions.map(function (text) { return ({\n value: text,\n relevance: search(inputValue.toLowerCase(), text.toLocaleLowerCase())\n }); });\n thisSuggestions.sort(function (a, b) { return b.relevance - a.relevance; });\n if (hideIrrelevant) {\n thisSuggestions = thisSuggestions.filter(function (suggestion) { return suggestion.relevance !== 0; });\n }\n return thisSuggestions.map(function (suggestion) { return suggestion.value; });\n}\n/**\n * Algorithm to do fuzzy search\n * from https://stackoverflow.com/questions/23305000/javascript-fuzzy-search-that-makes-sense\n * @param {string} from\n * @return {[]}\n */\nfunction get_bigrams(from) {\n var s = from.toLowerCase();\n var v = new Array(s.length - 1);\n var i;\n var j;\n var ref;\n for (i = j = 0, ref = v.length; j <= ref; i = j += 1) {\n v[i] = s.slice(i, i + 2);\n }\n return v;\n}\nfunction string_distances(str1, str2) {\n if (str1.length === 0 && str2.length === 0) {\n return 0;\n }\n var pairs1 = get_bigrams(str1);\n var pairs2 = get_bigrams(str2);\n var union = pairs1.length + pairs2.length;\n var hit_count = 0;\n var j;\n var len;\n for (j = 0, len = pairs1.length; j < len; j++) {\n var x = pairs1[j];\n var k = void 0;\n var len1 = void 0;\n for (k = 0, len1 = pairs2.length; k < len1; k++) {\n var y = pairs2[k];\n if (x === y) {\n hit_count++;\n }\n }\n }\n return hit_count > 0 ? (2 * hit_count) / union : 0;\n}\nfunction string_weighted_distances(str1, str2) {\n var a = str1.replace(/\\s/g, '');\n var b = str2.replace(/\\s/g, '');\n var weight = 0;\n var lastIndex = 0;\n for (var i = 0; i < a.length; i++) {\n var idx = b.indexOf(a[i], lastIndex);\n if (idx === -1) {\n continue;\n }\n lastIndex = idx;\n weight += (100 - (lastIndex * 100 / 10000) * 100);\n }\n return weight;\n}\n\nvar FuzzyMatchUtils = /*#__PURE__*/Object.freeze({\n __proto__: null,\n fuzzyCheckStrings: fuzzyCheckStrings,\n fuzzySuggestions: fuzzySuggestions,\n get_bigrams: get_bigrams,\n string_distances: string_distances,\n string_weighted_distances: string_weighted_distances\n});\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nfunction padStartWidthZeros(value, totalStringSize) {\n return value.toString().padStart(totalStringSize, '0');\n}\nfunction createArrayOfNumbers(first, last) {\n var result = [];\n for (var i = first; i <= last; i++) {\n result.push(i);\n }\n return result;\n}\n/**\n * Check if a value is numeric\n * from http://stackoverflow.com/questions/9716468/is-there-any-function-like-isnumeric-in-javascript-to-validate-numbers\n * @param {any} value\n * @return {boolean}\n */\nfunction isNumeric(value) {\n return value !== '' && !isNaN(parseFloat(value)) && isFinite(value);\n}\nfunction cleanNumber(value) {\n if (typeof value === 'string') {\n value = parseInt(value, 10);\n }\n if (typeof value === 'number') {\n return Math.floor(value);\n }\n return null;\n}\nfunction decToHex(number, bytes) {\n var hex = '';\n for (var i = 0; i < bytes; i++) {\n hex += String.fromCharCode(number & 0xff);\n number >>>= 8;\n }\n return hex;\n}\nfunction formatNumberTwoDecimalPlacesAndCommas(value, thousandSeparator, decimalSeparator) {\n if (typeof value !== 'number') {\n return '';\n }\n return formatNumberCommas(Math.round(value * 100) / 100, thousandSeparator, decimalSeparator);\n}\n/**\n * the native method number.toLocaleString(undefined, {minimumFractionDigits: 0})\n * puts in decimal places in IE, so we use this method instead\n * from: http://blog.tompawlak.org/number-currency-formatting-javascript\n * @param {number} value\n * @returns {string}\n */\nfunction formatNumberCommas(value, thousandSeparator, decimalSeparator) {\n if (typeof value !== 'number') {\n return '';\n }\n return value.toString().replace('.', decimalSeparator).replace(/(\\d)(?=(\\d{3})+(?!\\d))/g, \"$1\" + thousandSeparator);\n}\nfunction sum(values) {\n return values == null ? null : values.reduce(function (total, value) { return total + value; }, 0);\n}\n\nvar NumberUtils = /*#__PURE__*/Object.freeze({\n __proto__: null,\n padStartWidthZeros: padStartWidthZeros,\n createArrayOfNumbers: createArrayOfNumbers,\n isNumeric: isNumeric,\n cleanNumber: cleanNumber,\n decToHex: decToHex,\n formatNumberTwoDecimalPlacesAndCommas: formatNumberTwoDecimalPlacesAndCommas,\n formatNumberCommas: formatNumberCommas,\n sum: sum\n});\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __assign$g = (undefined && undefined.__assign) || function () {\n __assign$g = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign$g.apply(this, arguments);\n};\nvar __decorate$2v = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __param$8 = (undefined && undefined.__param) || function (paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n};\nvar __read$m = (undefined && undefined.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar __spread$g = (undefined && undefined.__spread) || function () {\n for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$m(arguments[i]));\n return ar;\n};\nvar DEFAULT_ROW_HEIGHT = 25;\nvar DEFAULT_DETAIL_ROW_HEIGHT = 300;\nvar DEFAULT_VIEWPORT_ROW_MODEL_PAGE_SIZE = 5;\nvar DEFAULT_VIEWPORT_ROW_MODEL_BUFFER_SIZE = 5;\nvar DEFAULT_KEEP_DETAIL_ROW_COUNT = 10;\nfunction isTrue(value) {\n return value === true || value === 'true';\n}\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (typeof value == 'string') {\n return parseInt(value, 10);\n }\n}\nfunction zeroOrGreater(value, defaultValue) {\n if (value >= 0) {\n return value;\n }\n // zero gets returned if number is missing or the wrong type\n return defaultValue;\n}\nfunction oneOrGreater(value, defaultValue) {\n var valueNumber = parseInt(value, 10);\n if (isNumeric(valueNumber) && valueNumber > 0) {\n return valueNumber;\n }\n return defaultValue;\n}\nvar GridOptionsWrapper = /** @class */ (function () {\n function GridOptionsWrapper() {\n this.propertyEventService = new EventService();\n this.domDataKey = '__AG_' + Math.random().toString();\n this.destroyed = false;\n }\n GridOptionsWrapper_1 = GridOptionsWrapper;\n GridOptionsWrapper.prototype.agWire = function (gridApi, columnApi) {\n this.gridOptions.api = gridApi;\n this.gridOptions.columnApi = columnApi;\n this.checkForDeprecated();\n this.checkForViolations();\n };\n GridOptionsWrapper.prototype.destroy = function () {\n // need to remove these, as we don't own the lifecycle of the gridOptions, we need to\n // remove the references in case the user keeps the grid options, we want the rest\n // of the grid to be picked up by the garbage collector\n this.gridOptions.api = null;\n this.gridOptions.columnApi = null;\n this.destroyed = true;\n };\n GridOptionsWrapper.prototype.init = function () {\n var _this = this;\n if (this.gridOptions.suppressPropertyNamesCheck !== true) {\n this.checkGridOptionsProperties();\n this.checkColumnDefProperties();\n }\n // parse side bar options into correct format\n if (this.gridOptions.sideBar != null) {\n this.gridOptions.sideBar = SideBarDefParser.parse(this.gridOptions.sideBar);\n }\n var async = this.useAsyncEvents();\n this.eventService.addGlobalListener(this.globalEventHandler.bind(this), async);\n if (this.isGroupSelectsChildren() && this.isSuppressParentsInRowNodes()) {\n console.warn(\"AG Grid: 'groupSelectsChildren' does not work with 'suppressParentsInRowNodes', this selection method needs the part in rowNode to work\");\n }\n if (this.isGroupSelectsChildren()) {\n if (!this.isRowSelectionMulti()) {\n console.warn(\"AG Grid: rowSelection must be 'multiple' for groupSelectsChildren to make sense\");\n }\n if (this.isRowModelServerSide()) {\n console.warn('AG Grid: group selects children is NOT support for Server Side Row Model. ' +\n 'This is because the rows are lazy loaded, so selecting a group is not possible as' +\n 'the grid has no way of knowing what the children are.');\n }\n }\n if (this.isGroupRemoveSingleChildren() && this.isGroupHideOpenParents()) {\n console.warn(\"AG Grid: groupRemoveSingleChildren and groupHideOpenParents do not work with each other, you need to pick one. And don't ask us how to use these together on our support forum either, you will get the same answer!\");\n }\n if (this.isRowModelServerSide()) {\n var msg = function (prop) { return \"AG Grid: '\" + prop + \"' is not supported on the Server-Side Row Model\"; };\n if (exists(this.gridOptions.groupDefaultExpanded)) {\n console.warn(msg('groupDefaultExpanded'));\n }\n if (exists(this.gridOptions.groupDefaultExpanded)) {\n console.warn(msg('groupIncludeFooter'));\n }\n if (exists(this.gridOptions.groupDefaultExpanded)) {\n console.warn(msg('groupIncludeTotalFooter'));\n }\n }\n if (isTrue(this.gridOptions.enableRangeSelection)) {\n ModuleRegistry.assertRegistered(ModuleNames.RangeSelectionModule, 'enableRangeSelection');\n }\n else if (this.isEnableRangeHandle() || this.isEnableFillHandle()) {\n console.warn(\"AG Grid: 'enableRangeHandle' or 'enableFillHandle' will not work unless 'enableRangeSelection' is set to true\");\n }\n if (this.isGroupRowsSticky()) {\n if (this.isGroupHideOpenParents()) {\n console.warn(\"AG Grid: groupRowsSticky and groupHideOpenParents do not work with each other, you need to pick one.\");\n }\n if (this.isMasterDetail()) {\n console.warn(\"AG Grid: groupRowsSticky and masterDetail do not work with each other, you need to pick one.\");\n }\n if (this.isPagination()) {\n console.warn(\"AG Grid: groupRowsSticky and pagination do not work with each other, you need to pick one.\");\n }\n }\n var warnOfDeprecaredIcon = function (name) {\n if (_this.gridOptions.icons && _this.gridOptions.icons[name]) {\n console.warn(\"gridOptions.icons.\" + name + \" is no longer supported. For information on how to style checkboxes and radio buttons, see https://www.ag-grid.com/javascript-grid-icons/\");\n }\n };\n warnOfDeprecaredIcon('radioButtonOff');\n warnOfDeprecaredIcon('radioButtonOn');\n warnOfDeprecaredIcon('checkboxChecked');\n warnOfDeprecaredIcon('checkboxUnchecked');\n warnOfDeprecaredIcon('checkboxIndeterminate');\n // sets an initial calculation for the scrollbar width\n this.getScrollbarWidth();\n };\n GridOptionsWrapper.prototype.checkColumnDefProperties = function () {\n var _this = this;\n if (this.gridOptions.columnDefs == null) {\n return;\n }\n this.gridOptions.columnDefs.forEach(function (colDef) {\n var userProperties = Object.getOwnPropertyNames(colDef);\n var validProperties = __spread$g(ColDefUtil.ALL_PROPERTIES, ColDefUtil.FRAMEWORK_PROPERTIES);\n _this.checkProperties(userProperties, validProperties, validProperties, 'colDef', 'https://www.ag-grid.com/javascript-grid-column-properties/');\n });\n };\n GridOptionsWrapper.prototype.checkGridOptionsProperties = function () {\n var userProperties = Object.getOwnPropertyNames(this.gridOptions);\n var validProperties = __spread$g(PropertyKeys.ALL_PROPERTIES, PropertyKeys.FRAMEWORK_PROPERTIES, values(Events).map(function (event) { return ComponentUtil.getCallbackForEvent(event); }));\n var validPropertiesAndExceptions = __spread$g(validProperties, ['api', 'columnApi']);\n this.checkProperties(userProperties, validPropertiesAndExceptions, validProperties, 'gridOptions', 'https://www.ag-grid.com/javascript-data-grid/grid-options/');\n };\n GridOptionsWrapper.prototype.checkProperties = function (userProperties, validPropertiesAndExceptions, validProperties, containerName, docsUrl) {\n var invalidProperties = fuzzyCheckStrings(userProperties, validPropertiesAndExceptions, validProperties);\n iterateObject(invalidProperties, function (key, value) {\n console.warn(\"ag-grid: invalid \" + containerName + \" property '\" + key + \"' did you mean any of these: \" + value.slice(0, 8).join(\", \"));\n });\n if (Object.keys(invalidProperties).length > 0) {\n console.warn(\"ag-grid: to see all the valid \" + containerName + \" properties please check: \" + docsUrl);\n }\n };\n /**\n * Wrap the user callback and attach the api, columnApi and context to the params object on the way through.\n * @param callback User provided callback\n * @returns Wrapped callback where the params object not require api, columnApi and context\n */\n GridOptionsWrapper.prototype.mergeGridCommonParams = function (callback) {\n var _this = this;\n if (callback) {\n var wrapped = function (callbackParams) {\n var mergedParams = __assign$g(__assign$g({}, callbackParams), { api: _this.getApi(), columnApi: _this.getColumnApi(), context: _this.getContext() });\n return callback(mergedParams);\n };\n return wrapped;\n }\n return callback;\n };\n GridOptionsWrapper.prototype.getDomDataKey = function () {\n return this.domDataKey;\n };\n // returns the dom data, or undefined if not found\n GridOptionsWrapper.prototype.getDomData = function (element, key) {\n var domData = element[this.getDomDataKey()];\n return domData ? domData[key] : undefined;\n };\n GridOptionsWrapper.prototype.setDomData = function (element, key, value) {\n var domDataKey = this.getDomDataKey();\n var domData = element[domDataKey];\n if (missing(domData)) {\n domData = {};\n element[domDataKey] = domData;\n }\n domData[key] = value;\n };\n GridOptionsWrapper.prototype.isRowSelection = function () {\n return this.gridOptions.rowSelection === 'single' || this.gridOptions.rowSelection === 'multiple';\n };\n GridOptionsWrapper.prototype.isSuppressRowDeselection = function () {\n return isTrue(this.gridOptions.suppressRowDeselection);\n };\n GridOptionsWrapper.prototype.isRowSelectionMulti = function () {\n return this.gridOptions.rowSelection === 'multiple';\n };\n GridOptionsWrapper.prototype.isRowMultiSelectWithClick = function () {\n return isTrue(this.gridOptions.rowMultiSelectWithClick);\n };\n GridOptionsWrapper.prototype.getContext = function () {\n return this.gridOptions.context;\n };\n GridOptionsWrapper.prototype.isPivotMode = function () {\n return isTrue(this.gridOptions.pivotMode);\n };\n GridOptionsWrapper.prototype.isSuppressExpandablePivotGroups = function () {\n return isTrue(this.gridOptions.suppressExpandablePivotGroups);\n };\n GridOptionsWrapper.prototype.getPivotColumnGroupTotals = function () {\n return this.gridOptions.pivotColumnGroupTotals;\n };\n GridOptionsWrapper.prototype.getPivotRowTotals = function () {\n return this.gridOptions.pivotRowTotals;\n };\n GridOptionsWrapper.prototype.isRowModelInfinite = function () {\n return this.gridOptions.rowModelType === Constants.ROW_MODEL_TYPE_INFINITE;\n };\n GridOptionsWrapper.prototype.isRowModelViewport = function () {\n return this.gridOptions.rowModelType === Constants.ROW_MODEL_TYPE_VIEWPORT;\n };\n GridOptionsWrapper.prototype.isRowModelServerSide = function () {\n return this.gridOptions.rowModelType === Constants.ROW_MODEL_TYPE_SERVER_SIDE;\n };\n GridOptionsWrapper.prototype.isRowModelDefault = function () {\n return (missing(this.gridOptions.rowModelType) ||\n this.gridOptions.rowModelType === Constants.ROW_MODEL_TYPE_CLIENT_SIDE);\n };\n GridOptionsWrapper.prototype.isFullRowEdit = function () {\n return this.gridOptions.editType === 'fullRow';\n };\n GridOptionsWrapper.prototype.isSuppressFocusAfterRefresh = function () {\n return isTrue(this.gridOptions.suppressFocusAfterRefresh);\n };\n GridOptionsWrapper.prototype.isSuppressBrowserResizeObserver = function () {\n return isTrue(this.gridOptions.suppressBrowserResizeObserver);\n };\n GridOptionsWrapper.prototype.isSuppressMaintainUnsortedOrder = function () {\n return isTrue(this.gridOptions.suppressMaintainUnsortedOrder);\n };\n GridOptionsWrapper.prototype.isSuppressClearOnFillReduction = function () {\n return isTrue(this.gridOptions.suppressClearOnFillReduction);\n };\n GridOptionsWrapper.prototype.isShowToolPanel = function () {\n return isTrue(this.gridOptions.sideBar && Array.isArray(this.getSideBar().toolPanels));\n };\n GridOptionsWrapper.prototype.getSideBar = function () {\n return this.gridOptions.sideBar;\n };\n GridOptionsWrapper.prototype.isSuppressTouch = function () {\n return isTrue(this.gridOptions.suppressTouch);\n };\n GridOptionsWrapper.prototype.isMaintainColumnOrder = function () {\n return isTrue(this.gridOptions.maintainColumnOrder);\n };\n GridOptionsWrapper.prototype.isSuppressRowTransform = function () {\n return isTrue(this.gridOptions.suppressRowTransform);\n };\n GridOptionsWrapper.prototype.isSuppressColumnStateEvents = function () {\n return isTrue(this.gridOptions.suppressColumnStateEvents);\n };\n GridOptionsWrapper.prototype.isAllowDragFromColumnsToolPanel = function () {\n return isTrue(this.gridOptions.allowDragFromColumnsToolPanel);\n };\n GridOptionsWrapper.prototype.useAsyncEvents = function () {\n return !isTrue(this.gridOptions.suppressAsyncEvents);\n };\n GridOptionsWrapper.prototype.isEnableCellChangeFlash = function () {\n return isTrue(this.gridOptions.enableCellChangeFlash);\n };\n GridOptionsWrapper.prototype.getCellFlashDelay = function () {\n return this.gridOptions.cellFlashDelay || 500;\n };\n GridOptionsWrapper.prototype.getCellFadeDelay = function () {\n return this.gridOptions.cellFadeDelay || 1000;\n };\n GridOptionsWrapper.prototype.isGroupSelectsChildren = function () {\n return isTrue(this.gridOptions.groupSelectsChildren);\n };\n GridOptionsWrapper.prototype.isSuppressRowHoverHighlight = function () {\n return isTrue(this.gridOptions.suppressRowHoverHighlight);\n };\n GridOptionsWrapper.prototype.isColumnHoverHighlight = function () {\n return isTrue(this.gridOptions.columnHoverHighlight);\n };\n GridOptionsWrapper.prototype.isGroupSelectsFiltered = function () {\n return isTrue(this.gridOptions.groupSelectsFiltered);\n };\n GridOptionsWrapper.prototype.isGroupHideOpenParents = function () {\n return isTrue(this.gridOptions.groupHideOpenParents);\n };\n GridOptionsWrapper.prototype.isGroupMaintainOrder = function () {\n return isTrue(this.gridOptions.groupMaintainOrder);\n };\n GridOptionsWrapper.prototype.getAutoGroupColumnDef = function () {\n return this.gridOptions.autoGroupColumnDef;\n };\n GridOptionsWrapper.prototype.isColumnsSortingCoupledToGroup = function () {\n var _a;\n var autoGroupColumnDef = this.getAutoGroupColumnDef();\n var isClientSideRowModel = this.isRowModelDefault();\n return isClientSideRowModel && !((_a = autoGroupColumnDef) === null || _a === void 0 ? void 0 : _a.comparator);\n };\n GridOptionsWrapper.prototype.isGroupMultiAutoColumn = function () {\n if (this.gridOptions.groupDisplayType) {\n return this.matchesGroupDisplayType('multipleColumns', this.gridOptions.groupDisplayType);\n }\n // if we are doing hideOpenParents we also show multiple columns, otherwise hideOpenParents would not work\n return isTrue(this.gridOptions.groupHideOpenParents);\n };\n GridOptionsWrapper.prototype.isGroupUseEntireRow = function (pivotMode) {\n // we never allow groupUseEntireRow if in pivot mode, otherwise we won't see the pivot values.\n if (pivotMode) {\n return false;\n }\n return this.gridOptions.groupDisplayType ?\n this.matchesGroupDisplayType('groupRows', this.gridOptions.groupDisplayType) : false;\n };\n GridOptionsWrapper.prototype.isRowGroupPanelSuppressSort = function () {\n return isTrue(this.gridOptions.rowGroupPanelSuppressSort);\n };\n GridOptionsWrapper.prototype.isGroupRowsSticky = function () {\n return isTrue(this.gridOptions.groupRowsSticky);\n };\n GridOptionsWrapper.prototype.isGroupSuppressAutoColumn = function () {\n var isCustomRowGroups = this.gridOptions.groupDisplayType ?\n this.matchesGroupDisplayType('custom', this.gridOptions.groupDisplayType) : false;\n if (isCustomRowGroups) {\n return true;\n }\n return this.gridOptions.treeDataDisplayType ?\n this.matchesTreeDataDisplayType('custom', this.gridOptions.treeDataDisplayType) : false;\n };\n GridOptionsWrapper.prototype.isGroupRemoveSingleChildren = function () {\n return isTrue(this.gridOptions.groupRemoveSingleChildren);\n };\n GridOptionsWrapper.prototype.isGroupRemoveLowestSingleChildren = function () {\n return isTrue(this.gridOptions.groupRemoveLowestSingleChildren);\n };\n GridOptionsWrapper.prototype.isGroupIncludeFooter = function () {\n return isTrue(this.gridOptions.groupIncludeFooter);\n };\n GridOptionsWrapper.prototype.isGroupIncludeTotalFooter = function () {\n return isTrue(this.gridOptions.groupIncludeTotalFooter);\n };\n GridOptionsWrapper.prototype.isGroupSuppressBlankHeader = function () {\n return isTrue(this.gridOptions.groupSuppressBlankHeader);\n };\n GridOptionsWrapper.prototype.isSuppressRowClickSelection = function () {\n return isTrue(this.gridOptions.suppressRowClickSelection);\n };\n GridOptionsWrapper.prototype.isSuppressCellFocus = function () {\n return isTrue(this.gridOptions.suppressCellFocus);\n };\n GridOptionsWrapper.prototype.isSuppressMultiSort = function () {\n return isTrue(this.gridOptions.suppressMultiSort);\n };\n GridOptionsWrapper.prototype.isAlwaysMultiSort = function () {\n return isTrue(this.gridOptions.alwaysMultiSort);\n };\n GridOptionsWrapper.prototype.isMultiSortKeyCtrl = function () {\n return this.gridOptions.multiSortKey === 'ctrl';\n };\n GridOptionsWrapper.prototype.isPivotSuppressAutoColumn = function () {\n return isTrue(this.gridOptions.pivotSuppressAutoColumn);\n };\n GridOptionsWrapper.prototype.isSuppressDragLeaveHidesColumns = function () {\n return isTrue(this.gridOptions.suppressDragLeaveHidesColumns);\n };\n GridOptionsWrapper.prototype.isSuppressRowGroupHidesColumns = function () {\n return isTrue(this.gridOptions.suppressRowGroupHidesColumns);\n };\n GridOptionsWrapper.prototype.isSuppressScrollOnNewData = function () {\n return isTrue(this.gridOptions.suppressScrollOnNewData);\n };\n GridOptionsWrapper.prototype.isSuppressScrollWhenPopupsAreOpen = function () {\n return isTrue(this.gridOptions.suppressScrollWhenPopupsAreOpen);\n };\n GridOptionsWrapper.prototype.isRowDragEntireRow = function () {\n return isTrue(this.gridOptions.rowDragEntireRow);\n };\n GridOptionsWrapper.prototype.getRowDragText = function (column) {\n if (column) {\n var colDef = column.getColDef();\n if (colDef.rowDragText) {\n return colDef.rowDragText;\n }\n }\n return this.gridOptions.rowDragText;\n };\n GridOptionsWrapper.prototype.isSuppressRowDrag = function () {\n return isTrue(this.gridOptions.suppressRowDrag);\n };\n GridOptionsWrapper.prototype.isRowDragManaged = function () {\n return isTrue(this.gridOptions.rowDragManaged);\n };\n GridOptionsWrapper.prototype.isSuppressMoveWhenRowDragging = function () {\n return isTrue(this.gridOptions.suppressMoveWhenRowDragging);\n };\n GridOptionsWrapper.prototype.isRowDragMultiRow = function () {\n return isTrue(this.gridOptions.rowDragMultiRow);\n };\n // returns either 'print', 'autoHeight' or 'normal' (normal is the default)\n GridOptionsWrapper.prototype.getDomLayout = function () {\n var domLayout = this.gridOptions.domLayout || Constants.DOM_LAYOUT_NORMAL;\n var validLayouts = [\n Constants.DOM_LAYOUT_PRINT,\n Constants.DOM_LAYOUT_AUTO_HEIGHT,\n Constants.DOM_LAYOUT_NORMAL\n ];\n if (validLayouts.indexOf(domLayout) === -1) {\n doOnce(function () {\n return console.warn(\"AG Grid: \" + domLayout + \" is not valid for DOM Layout, valid values are \" + Constants.DOM_LAYOUT_NORMAL + \", \" + Constants.DOM_LAYOUT_AUTO_HEIGHT + \" and \" + Constants.DOM_LAYOUT_PRINT);\n }, 'warn about dom layout values');\n return Constants.DOM_LAYOUT_NORMAL;\n }\n return domLayout;\n };\n GridOptionsWrapper.prototype.isSuppressHorizontalScroll = function () {\n return isTrue(this.gridOptions.suppressHorizontalScroll);\n };\n GridOptionsWrapper.prototype.isSuppressMaxRenderedRowRestriction = function () {\n return isTrue(this.gridOptions.suppressMaxRenderedRowRestriction);\n };\n GridOptionsWrapper.prototype.isExcludeChildrenWhenTreeDataFiltering = function () {\n return isTrue(this.gridOptions.excludeChildrenWhenTreeDataFiltering);\n };\n GridOptionsWrapper.prototype.isAlwaysShowHorizontalScroll = function () {\n return isTrue(this.gridOptions.alwaysShowHorizontalScroll);\n };\n GridOptionsWrapper.prototype.isAlwaysShowVerticalScroll = function () {\n return isTrue(this.gridOptions.alwaysShowVerticalScroll);\n };\n GridOptionsWrapper.prototype.isDebounceVerticalScrollbar = function () {\n return isTrue(this.gridOptions.debounceVerticalScrollbar);\n };\n GridOptionsWrapper.prototype.isSuppressLoadingOverlay = function () {\n return isTrue(this.gridOptions.suppressLoadingOverlay);\n };\n GridOptionsWrapper.prototype.isSuppressNoRowsOverlay = function () {\n return isTrue(this.gridOptions.suppressNoRowsOverlay);\n };\n GridOptionsWrapper.prototype.isSuppressFieldDotNotation = function () {\n return isTrue(this.gridOptions.suppressFieldDotNotation);\n };\n GridOptionsWrapper.prototype.getPinnedTopRowData = function () {\n return this.gridOptions.pinnedTopRowData;\n };\n GridOptionsWrapper.prototype.getPinnedBottomRowData = function () {\n return this.gridOptions.pinnedBottomRowData;\n };\n GridOptionsWrapper.prototype.isFunctionsPassive = function () {\n return isTrue(this.gridOptions.functionsPassive);\n };\n GridOptionsWrapper.prototype.isSuppressChangeDetection = function () {\n return isTrue(this.gridOptions.suppressChangeDetection);\n };\n GridOptionsWrapper.prototype.isSuppressAnimationFrame = function () {\n return isTrue(this.gridOptions.suppressAnimationFrame);\n };\n GridOptionsWrapper.prototype.getQuickFilterText = function () {\n return this.gridOptions.quickFilterText;\n };\n GridOptionsWrapper.prototype.isCacheQuickFilter = function () {\n return isTrue(this.gridOptions.cacheQuickFilter);\n };\n GridOptionsWrapper.prototype.isUnSortIcon = function () {\n return isTrue(this.gridOptions.unSortIcon);\n };\n GridOptionsWrapper.prototype.isSuppressMenuHide = function () {\n return isTrue(this.gridOptions.suppressMenuHide);\n };\n GridOptionsWrapper.prototype.isEnterMovesDownAfterEdit = function () {\n return isTrue(this.gridOptions.enterMovesDownAfterEdit);\n };\n GridOptionsWrapper.prototype.isEnterMovesDown = function () {\n return isTrue(this.gridOptions.enterMovesDown);\n };\n GridOptionsWrapper.prototype.isUndoRedoCellEditing = function () {\n return isTrue(this.gridOptions.undoRedoCellEditing);\n };\n GridOptionsWrapper.prototype.getUndoRedoCellEditingLimit = function () {\n return toNumber(this.gridOptions.undoRedoCellEditingLimit);\n };\n GridOptionsWrapper.prototype.isEnableCellEditingOnBackspace = function () {\n return isTrue(this.gridOptions.enableCellEditingOnBackspace);\n };\n GridOptionsWrapper.prototype.getRowStyle = function () {\n return this.gridOptions.rowStyle;\n };\n GridOptionsWrapper.prototype.getRowClass = function () {\n return this.gridOptions.rowClass;\n };\n GridOptionsWrapper.prototype.getRowStyleFunc = function () {\n return this.mergeGridCommonParams(this.gridOptions.getRowStyle);\n };\n GridOptionsWrapper.prototype.getRowClassFunc = function () {\n return this.mergeGridCommonParams(this.gridOptions.getRowClass);\n };\n GridOptionsWrapper.prototype.rowClassRules = function () {\n return this.gridOptions.rowClassRules;\n };\n GridOptionsWrapper.prototype.isServerSideInfiniteScroll = function () {\n return isTrue(this.gridOptions.serverSideInfiniteScroll);\n };\n GridOptionsWrapper.prototype.getServerSideGroupLevelParamsFunc = function () {\n return this.mergeGridCommonParams(this.gridOptions.getServerSideGroupLevelParams);\n };\n GridOptionsWrapper.prototype.getCreateChartContainerFunc = function () {\n return this.mergeGridCommonParams(this.gridOptions.createChartContainer);\n };\n GridOptionsWrapper.prototype.getPopupParent = function () {\n return this.gridOptions.popupParent;\n };\n GridOptionsWrapper.prototype.getBlockLoadDebounceMillis = function () {\n return this.gridOptions.blockLoadDebounceMillis;\n };\n GridOptionsWrapper.prototype.getPostProcessPopupFunc = function () {\n return this.mergeGridCommonParams(this.gridOptions.postProcessPopup);\n };\n GridOptionsWrapper.prototype.getPaginationNumberFormatterFunc = function () {\n return this.mergeGridCommonParams(this.gridOptions.paginationNumberFormatter);\n };\n GridOptionsWrapper.prototype.getChildCountFunc = function () {\n return this.gridOptions.getChildCount;\n };\n GridOptionsWrapper.prototype.getIsApplyServerSideTransactionFunc = function () {\n return this.mergeGridCommonParams(this.gridOptions.isApplyServerSideTransaction);\n };\n GridOptionsWrapper.prototype.getInitialGroupOrderComparator = function () {\n var _a = this.gridOptions, initialGroupOrderComparator = _a.initialGroupOrderComparator, defaultGroupOrderComparator = _a.defaultGroupOrderComparator;\n if (initialGroupOrderComparator) {\n return this.mergeGridCommonParams(initialGroupOrderComparator);\n }\n // this is the deprecated way, so provide a proxy to make it compatible\n if (defaultGroupOrderComparator) {\n return function (params) { return defaultGroupOrderComparator(params.nodeA, params.nodeB); };\n }\n };\n GridOptionsWrapper.prototype.getIsFullWidthCellFunc = function () {\n var _a = this.gridOptions, isFullWidthRow = _a.isFullWidthRow, isFullWidthCell = _a.isFullWidthCell;\n if (isFullWidthRow) {\n return this.mergeGridCommonParams(isFullWidthRow);\n }\n // this is the deprecated way, so provide a proxy to make it compatible\n if (isFullWidthCell) {\n return function (params) { return isFullWidthCell(params.rowNode); };\n }\n };\n GridOptionsWrapper.prototype.getFullWidthCellRendererParams = function () {\n return this.gridOptions.fullWidthCellRendererParams;\n };\n GridOptionsWrapper.prototype.isEmbedFullWidthRows = function () {\n return isTrue(this.gridOptions.embedFullWidthRows) || isTrue(this.gridOptions.deprecatedEmbedFullWidthRows);\n };\n GridOptionsWrapper.prototype.isDetailRowAutoHeight = function () {\n return isTrue(this.gridOptions.detailRowAutoHeight);\n };\n GridOptionsWrapper.prototype.getSuppressKeyboardEventFunc = function () {\n return this.gridOptions.suppressKeyboardEvent;\n };\n GridOptionsWrapper.prototype.getBusinessKeyForNodeFunc = function () {\n return this.gridOptions.getBusinessKeyForNode;\n };\n GridOptionsWrapper.prototype.getApi = function () {\n return this.gridOptions.api;\n };\n GridOptionsWrapper.prototype.getColumnApi = function () {\n return this.gridOptions.columnApi;\n };\n GridOptionsWrapper.prototype.isReadOnlyEdit = function () {\n return isTrue(this.gridOptions.readOnlyEdit);\n };\n GridOptionsWrapper.prototype.isImmutableData = function () {\n // we used to have a property immutableData for this. however this was deprecated\n // in favour of having Immutable Data on by default when getRowId is provided\n var getRowIdProvided = this.gridOptions.getRowId != null;\n var immutableData = isTrue(this.gridOptions.immutableData);\n // this property is a backwards compatibility property, for those who want\n // the old behaviour of Row ID's but NOT Immutable Data.\n var resetRowDataOnUpdate = isTrue(this.gridOptions.resetRowDataOnUpdate);\n if (resetRowDataOnUpdate) {\n return false;\n }\n return getRowIdProvided || immutableData;\n };\n GridOptionsWrapper.prototype.isEnsureDomOrder = function () {\n return isTrue(this.gridOptions.ensureDomOrder);\n };\n GridOptionsWrapper.prototype.isEnableCharts = function () {\n if (isTrue(this.gridOptions.enableCharts)) {\n return ModuleRegistry.assertRegistered(ModuleNames.GridChartsModule, 'enableCharts');\n }\n return false;\n };\n GridOptionsWrapper.prototype.isEnableChartToolPanelsButton = function () {\n return isTrue(this.gridOptions.enableChartToolPanelsButton);\n };\n GridOptionsWrapper.prototype.getColResizeDefault = function () {\n return this.gridOptions.colResizeDefault;\n };\n GridOptionsWrapper.prototype.isSingleClickEdit = function () {\n return isTrue(this.gridOptions.singleClickEdit);\n };\n GridOptionsWrapper.prototype.isSuppressClickEdit = function () {\n return isTrue(this.gridOptions.suppressClickEdit);\n };\n GridOptionsWrapper.prototype.isStopEditingWhenCellsLoseFocus = function () {\n return isTrue(this.gridOptions.stopEditingWhenCellsLoseFocus);\n };\n GridOptionsWrapper.prototype.getGroupDefaultExpanded = function () {\n return this.gridOptions.groupDefaultExpanded;\n };\n GridOptionsWrapper.prototype.getMaxConcurrentDatasourceRequests = function () {\n var res = toNumber(this.gridOptions.maxConcurrentDatasourceRequests);\n if (res == null) {\n return 2;\n } // 2 is the default\n if (res <= 0) {\n return;\n } // negative number, eg -1, means no max restriction\n return res;\n };\n GridOptionsWrapper.prototype.getMaxBlocksInCache = function () {\n return this.gridOptions.maxBlocksInCache;\n };\n GridOptionsWrapper.prototype.getCacheOverflowSize = function () {\n return this.gridOptions.cacheOverflowSize;\n };\n GridOptionsWrapper.prototype.getPaginationPageSize = function () {\n return toNumber(this.gridOptions.paginationPageSize);\n };\n GridOptionsWrapper.prototype.isPaginateChildRows = function () {\n var shouldPaginate = this.isGroupRemoveSingleChildren() || this.isGroupRemoveLowestSingleChildren();\n if (shouldPaginate) {\n return true;\n }\n return isTrue(this.gridOptions.paginateChildRows);\n };\n GridOptionsWrapper.prototype.getCacheBlockSize = function () {\n return oneOrGreater(this.gridOptions.cacheBlockSize);\n };\n GridOptionsWrapper.prototype.getInfiniteInitialRowCount = function () {\n return this.gridOptions.infiniteInitialRowCount;\n };\n GridOptionsWrapper.prototype.getServerSideInitialRowCount = function () {\n var rowCount = this.gridOptions.serverSideInitialRowCount;\n if (typeof rowCount === 'number' && rowCount > 0) {\n return rowCount;\n }\n return 1;\n };\n GridOptionsWrapper.prototype.isPurgeClosedRowNodes = function () {\n return isTrue(this.gridOptions.purgeClosedRowNodes);\n };\n GridOptionsWrapper.prototype.isSuppressPaginationPanel = function () {\n return isTrue(this.gridOptions.suppressPaginationPanel);\n };\n GridOptionsWrapper.prototype.getRowData = function () {\n return this.gridOptions.rowData;\n };\n GridOptionsWrapper.prototype.isEnableRtl = function () {\n return isTrue(this.gridOptions.enableRtl);\n };\n GridOptionsWrapper.prototype.getRowGroupPanelShow = function () {\n return this.gridOptions.rowGroupPanelShow;\n };\n GridOptionsWrapper.prototype.getPivotPanelShow = function () {\n return this.gridOptions.pivotPanelShow;\n };\n GridOptionsWrapper.prototype.isAngularCompileRows = function () {\n return isTrue(this.gridOptions.angularCompileRows);\n };\n GridOptionsWrapper.prototype.isAngularCompileFilters = function () {\n return isTrue(this.gridOptions.angularCompileFilters);\n };\n GridOptionsWrapper.prototype.isDebug = function () {\n return isTrue(this.gridOptions.debug);\n };\n GridOptionsWrapper.prototype.getColumnDefs = function () {\n return this.gridOptions.columnDefs;\n };\n GridOptionsWrapper.prototype.getColumnTypes = function () {\n return this.gridOptions.columnTypes;\n };\n GridOptionsWrapper.prototype.getDatasource = function () {\n return this.gridOptions.datasource;\n };\n GridOptionsWrapper.prototype.getViewportDatasource = function () {\n return this.gridOptions.viewportDatasource;\n };\n GridOptionsWrapper.prototype.getServerSideDatasource = function () {\n return this.gridOptions.serverSideDatasource;\n };\n GridOptionsWrapper.prototype.isAccentedSort = function () {\n return isTrue(this.gridOptions.accentedSort);\n };\n GridOptionsWrapper.prototype.isEnableBrowserTooltips = function () {\n return isTrue(this.gridOptions.enableBrowserTooltips);\n };\n GridOptionsWrapper.prototype.isEnableCellExpressions = function () {\n return isTrue(this.gridOptions.enableCellExpressions);\n };\n GridOptionsWrapper.prototype.isEnableGroupEdit = function () {\n return isTrue(this.gridOptions.enableGroupEdit);\n };\n GridOptionsWrapper.prototype.isSuppressMiddleClickScrolls = function () {\n return isTrue(this.gridOptions.suppressMiddleClickScrolls);\n };\n GridOptionsWrapper.prototype.isPreventDefaultOnContextMenu = function () {\n return isTrue(this.gridOptions.preventDefaultOnContextMenu);\n };\n GridOptionsWrapper.prototype.isSuppressPreventDefaultOnMouseWheel = function () {\n return isTrue(this.gridOptions.suppressPreventDefaultOnMouseWheel);\n };\n GridOptionsWrapper.prototype.isSuppressColumnVirtualisation = function () {\n return isTrue(this.gridOptions.suppressColumnVirtualisation);\n };\n GridOptionsWrapper.prototype.isSuppressRowVirtualisation = function () {\n return isTrue(this.gridOptions.suppressRowVirtualisation);\n };\n GridOptionsWrapper.prototype.isSuppressContextMenu = function () {\n return isTrue(this.gridOptions.suppressContextMenu);\n };\n GridOptionsWrapper.prototype.isAllowContextMenuWithControlKey = function () {\n return isTrue(this.gridOptions.allowContextMenuWithControlKey);\n };\n GridOptionsWrapper.prototype.isSuppressCopyRowsToClipboard = function () {\n return isTrue(this.gridOptions.suppressCopyRowsToClipboard);\n };\n GridOptionsWrapper.prototype.isSuppressCopySingleCellRanges = function () {\n return isTrue(this.gridOptions.suppressCopySingleCellRanges);\n };\n GridOptionsWrapper.prototype.isCopyHeadersToClipboard = function () {\n return isTrue(this.gridOptions.copyHeadersToClipboard);\n };\n GridOptionsWrapper.prototype.isCopyGroupHeadersToClipboard = function () {\n return isTrue(this.gridOptions.copyGroupHeadersToClipboard);\n };\n GridOptionsWrapper.prototype.isSuppressClipboardPaste = function () {\n return isTrue(this.gridOptions.suppressClipboardPaste);\n };\n GridOptionsWrapper.prototype.isSuppressLastEmptyLineOnPaste = function () {\n return isTrue(this.gridOptions.suppressLastEmptyLineOnPaste);\n };\n GridOptionsWrapper.prototype.isPagination = function () {\n return isTrue(this.gridOptions.pagination);\n };\n GridOptionsWrapper.prototype.isSuppressEnterpriseResetOnNewColumns = function () {\n return isTrue(this.gridOptions.suppressEnterpriseResetOnNewColumns);\n };\n GridOptionsWrapper.prototype.getProcessDataFromClipboardFunc = function () {\n return this.mergeGridCommonParams(this.gridOptions.processDataFromClipboard);\n };\n GridOptionsWrapper.prototype.getAsyncTransactionWaitMillis = function () {\n return exists(this.gridOptions.asyncTransactionWaitMillis) ? this.gridOptions.asyncTransactionWaitMillis : Constants.BATCH_WAIT_MILLIS;\n };\n GridOptionsWrapper.prototype.isSuppressMovableColumns = function () {\n return isTrue(this.gridOptions.suppressMovableColumns);\n };\n GridOptionsWrapper.prototype.isAnimateRows = function () {\n // never allow animating if enforcing the row order\n if (this.isEnsureDomOrder()) {\n return false;\n }\n return isTrue(this.gridOptions.animateRows);\n };\n GridOptionsWrapper.prototype.isSuppressColumnMoveAnimation = function () {\n return isTrue(this.gridOptions.suppressColumnMoveAnimation);\n };\n GridOptionsWrapper.prototype.isSuppressAggFuncInHeader = function () {\n return isTrue(this.gridOptions.suppressAggFuncInHeader);\n };\n GridOptionsWrapper.prototype.isSuppressAggAtRootLevel = function () {\n return isTrue(this.gridOptions.suppressAggAtRootLevel);\n };\n GridOptionsWrapper.prototype.isSuppressAggFilteredOnly = function () {\n var isGroupAggFiltering = this.getGroupAggFiltering() !== undefined;\n return isGroupAggFiltering || isTrue(this.gridOptions.suppressAggFilteredOnly);\n };\n GridOptionsWrapper.prototype.isRemovePivotHeaderRowWhenSingleValueColumn = function () {\n return isTrue(this.gridOptions.removePivotHeaderRowWhenSingleValueColumn);\n };\n GridOptionsWrapper.prototype.isShowOpenedGroup = function () {\n return isTrue(this.gridOptions.showOpenedGroup);\n };\n GridOptionsWrapper.prototype.isReactUi = function () {\n return isTrue(this.gridOptions.reactUi);\n };\n GridOptionsWrapper.prototype.isSuppressReactUi = function () {\n return isTrue(this.gridOptions.suppressReactUi);\n };\n GridOptionsWrapper.prototype.isEnableRangeSelection = function () {\n return ModuleRegistry.isRegistered(ModuleNames.RangeSelectionModule) && isTrue(this.gridOptions.enableRangeSelection);\n };\n GridOptionsWrapper.prototype.isEnableRangeHandle = function () {\n return isTrue(this.gridOptions.enableRangeHandle);\n };\n GridOptionsWrapper.prototype.isEnableFillHandle = function () {\n return isTrue(this.gridOptions.enableFillHandle);\n };\n GridOptionsWrapper.prototype.getFillHandleDirection = function () {\n var direction = this.gridOptions.fillHandleDirection;\n if (!direction) {\n return 'xy';\n }\n if (direction !== 'x' && direction !== 'y' && direction !== 'xy') {\n doOnce(function () { return console.warn(\"AG Grid: valid values for fillHandleDirection are 'x', 'y' and 'xy'. Default to 'xy'.\"); }, 'warn invalid fill direction');\n return 'xy';\n }\n return direction;\n };\n GridOptionsWrapper.prototype.getFillOperation = function () {\n return this.mergeGridCommonParams(this.gridOptions.fillOperation);\n };\n GridOptionsWrapper.prototype.isSuppressMultiRangeSelection = function () {\n return isTrue(this.gridOptions.suppressMultiRangeSelection);\n };\n GridOptionsWrapper.prototype.isPaginationAutoPageSize = function () {\n return isTrue(this.gridOptions.paginationAutoPageSize);\n };\n GridOptionsWrapper.prototype.isRememberGroupStateWhenNewData = function () {\n return isTrue(this.gridOptions.rememberGroupStateWhenNewData);\n };\n GridOptionsWrapper.prototype.getIcons = function () {\n return this.gridOptions.icons;\n };\n GridOptionsWrapper.prototype.getGroupAggFiltering = function () {\n var userValue = this.gridOptions.groupAggFiltering;\n if (typeof userValue === 'function') {\n return this.mergeGridCommonParams(userValue);\n }\n if (isTrue(userValue)) {\n return function () { return true; };\n }\n return undefined;\n };\n GridOptionsWrapper.prototype.getAggFuncs = function () {\n return this.gridOptions.aggFuncs;\n };\n GridOptionsWrapper.prototype.getSortingOrder = function () {\n return this.gridOptions.sortingOrder;\n };\n GridOptionsWrapper.prototype.getAlignedGrids = function () {\n return this.gridOptions.alignedGrids;\n };\n GridOptionsWrapper.prototype.isMasterDetail = function () {\n var masterDetail = isTrue(this.gridOptions.masterDetail);\n if (masterDetail) {\n return ModuleRegistry.assertRegistered(ModuleNames.MasterDetailModule, 'masterDetail');\n }\n else {\n return false;\n }\n };\n GridOptionsWrapper.prototype.isKeepDetailRows = function () {\n return isTrue(this.gridOptions.keepDetailRows);\n };\n GridOptionsWrapper.prototype.getKeepDetailRowsCount = function () {\n var keepDetailRowsCount = this.gridOptions.keepDetailRowsCount;\n if (exists(keepDetailRowsCount) && keepDetailRowsCount > 0) {\n return this.gridOptions.keepDetailRowsCount;\n }\n return DEFAULT_KEEP_DETAIL_ROW_COUNT;\n };\n GridOptionsWrapper.prototype.getIsRowMasterFunc = function () {\n return this.gridOptions.isRowMaster;\n };\n GridOptionsWrapper.prototype.getIsRowSelectableFunc = function () {\n return this.gridOptions.isRowSelectable;\n };\n GridOptionsWrapper.prototype.getGroupRowRendererParams = function () {\n return this.gridOptions.groupRowRendererParams;\n };\n GridOptionsWrapper.prototype.getOverlayLoadingTemplate = function () {\n return this.gridOptions.overlayLoadingTemplate;\n };\n GridOptionsWrapper.prototype.getOverlayNoRowsTemplate = function () {\n return this.gridOptions.overlayNoRowsTemplate;\n };\n GridOptionsWrapper.prototype.isSuppressAutoSize = function () {\n return isTrue(this.gridOptions.suppressAutoSize);\n };\n GridOptionsWrapper.prototype.isEnableCellTextSelection = function () {\n return isTrue(this.gridOptions.enableCellTextSelection);\n };\n GridOptionsWrapper.prototype.isSuppressParentsInRowNodes = function () {\n return isTrue(this.gridOptions.suppressParentsInRowNodes);\n };\n GridOptionsWrapper.prototype.isSuppressClipboardApi = function () {\n return isTrue(this.gridOptions.suppressClipboardApi);\n };\n GridOptionsWrapper.prototype.isFunctionsReadOnly = function () {\n return isTrue(this.gridOptions.functionsReadOnly);\n };\n GridOptionsWrapper.prototype.isEnableCellTextSelect = function () {\n return isTrue(this.gridOptions.enableCellTextSelection);\n };\n GridOptionsWrapper.prototype.getDefaultColDef = function () {\n return this.gridOptions.defaultColDef;\n };\n GridOptionsWrapper.prototype.getDefaultColGroupDef = function () {\n return this.gridOptions.defaultColGroupDef;\n };\n GridOptionsWrapper.prototype.getDefaultExportParams = function (type) {\n if (this.gridOptions.defaultExportParams) {\n console.warn(\"AG Grid: Since v25.2 `defaultExportParams` has been replaced by `default\" + capitalise(type) + \"ExportParams`'\");\n if (type === 'csv') {\n return this.gridOptions.defaultExportParams;\n }\n return this.gridOptions.defaultExportParams;\n }\n if (type === 'csv' && this.gridOptions.defaultCsvExportParams) {\n return this.gridOptions.defaultCsvExportParams;\n }\n if (type === 'excel' && this.gridOptions.defaultExcelExportParams) {\n return this.gridOptions.defaultExcelExportParams;\n }\n };\n GridOptionsWrapper.prototype.isSuppressCsvExport = function () {\n return isTrue(this.gridOptions.suppressCsvExport);\n };\n GridOptionsWrapper.prototype.isAllowShowChangeAfterFilter = function () {\n return isTrue(this.gridOptions.allowShowChangeAfterFilter);\n };\n GridOptionsWrapper.prototype.isSuppressExcelExport = function () {\n return isTrue(this.gridOptions.suppressExcelExport);\n };\n GridOptionsWrapper.prototype.isSuppressMakeColumnVisibleAfterUnGroup = function () {\n return isTrue(this.gridOptions.suppressMakeColumnVisibleAfterUnGroup);\n };\n GridOptionsWrapper.prototype.getDataPathFunc = function () {\n return this.gridOptions.getDataPath;\n };\n GridOptionsWrapper.prototype.getIsServerSideGroupFunc = function () {\n return this.gridOptions.isServerSideGroup;\n };\n GridOptionsWrapper.prototype.getIsServerSideGroupOpenByDefaultFunc = function () {\n return this.mergeGridCommonParams(this.gridOptions.isServerSideGroupOpenByDefault);\n };\n GridOptionsWrapper.prototype.getIsGroupOpenByDefaultFunc = function () {\n return this.mergeGridCommonParams(this.gridOptions.isGroupOpenByDefault);\n };\n GridOptionsWrapper.prototype.getServerSideGroupKeyFunc = function () {\n return this.gridOptions.getServerSideGroupKey;\n };\n GridOptionsWrapper.prototype.getGroupRowAggFunc = function () {\n var _a = this.gridOptions, getGroupRowAgg = _a.getGroupRowAgg, groupRowAggNodes = _a.groupRowAggNodes;\n if (getGroupRowAgg) {\n return this.mergeGridCommonParams(getGroupRowAgg);\n }\n // this is the deprecated way, so provide a proxy to make it compatible\n if (groupRowAggNodes) {\n return function (params) { return groupRowAggNodes(params.nodes); };\n }\n };\n GridOptionsWrapper.prototype.getContextMenuItemsFunc = function () {\n return this.mergeGridCommonParams(this.gridOptions.getContextMenuItems);\n };\n GridOptionsWrapper.prototype.getMainMenuItemsFunc = function () {\n return this.mergeGridCommonParams(this.gridOptions.getMainMenuItems);\n };\n GridOptionsWrapper.prototype.getRowIdFunc = function () {\n var _a = this.gridOptions, getRowId = _a.getRowId, getRowNodeId = _a.getRowNodeId;\n if (getRowId) {\n return this.mergeGridCommonParams(getRowId);\n }\n // this is the deprecated way, so provide a proxy to make it compatible\n if (getRowNodeId) {\n return function (params) { return getRowNodeId(params.data); };\n }\n };\n GridOptionsWrapper.prototype.getNavigateToNextHeaderFunc = function () {\n return this.mergeGridCommonParams(this.gridOptions.navigateToNextHeader);\n };\n GridOptionsWrapper.prototype.getTabToNextHeaderFunc = function () {\n return this.mergeGridCommonParams(this.gridOptions.tabToNextHeader);\n };\n GridOptionsWrapper.prototype.getNavigateToNextCellFunc = function () {\n return this.mergeGridCommonParams(this.gridOptions.navigateToNextCell);\n };\n GridOptionsWrapper.prototype.getTabToNextCellFunc = function () {\n return this.mergeGridCommonParams(this.gridOptions.tabToNextCell);\n };\n GridOptionsWrapper.prototype.getGridTabIndex = function () {\n return (this.gridOptions.tabIndex || 0).toString();\n };\n GridOptionsWrapper.prototype.isTreeData = function () {\n var usingTreeData = isTrue(this.gridOptions.treeData);\n if (usingTreeData) {\n return ModuleRegistry.assertRegistered(ModuleNames.RowGroupingModule, 'Tree Data');\n }\n return false;\n };\n GridOptionsWrapper.prototype.isValueCache = function () {\n return isTrue(this.gridOptions.valueCache);\n };\n GridOptionsWrapper.prototype.isValueCacheNeverExpires = function () {\n return isTrue(this.gridOptions.valueCacheNeverExpires);\n };\n GridOptionsWrapper.prototype.isDeltaSort = function () {\n return isTrue(this.gridOptions.deltaSort);\n };\n GridOptionsWrapper.prototype.isAggregateOnlyChangedColumns = function () {\n return isTrue(this.gridOptions.aggregateOnlyChangedColumns);\n };\n GridOptionsWrapper.prototype.getProcessPivotResultColDefFunc = function () {\n return this.gridOptions.processPivotResultColDef || this.gridOptions.processSecondaryColDef;\n };\n GridOptionsWrapper.prototype.getProcessPivotResultColGroupDefFunc = function () {\n return this.gridOptions.processPivotResultColGroupDef || this.gridOptions.processSecondaryColGroupDef;\n };\n GridOptionsWrapper.prototype.getSendToClipboardFunc = function () {\n return this.mergeGridCommonParams(this.gridOptions.sendToClipboard);\n };\n GridOptionsWrapper.prototype.getProcessRowPostCreateFunc = function () {\n return this.mergeGridCommonParams(this.gridOptions.processRowPostCreate);\n };\n GridOptionsWrapper.prototype.getProcessCellForClipboardFunc = function () {\n return this.mergeGridCommonParams(this.gridOptions.processCellForClipboard);\n };\n GridOptionsWrapper.prototype.getProcessHeaderForClipboardFunc = function () {\n return this.mergeGridCommonParams(this.gridOptions.processHeaderForClipboard);\n };\n GridOptionsWrapper.prototype.getProcessGroupHeaderForClipboardFunc = function () {\n return this.mergeGridCommonParams(this.gridOptions.processGroupHeaderForClipboard);\n };\n GridOptionsWrapper.prototype.getProcessCellFromClipboardFunc = function () {\n return this.mergeGridCommonParams(this.gridOptions.processCellFromClipboard);\n };\n GridOptionsWrapper.prototype.getViewportRowModelPageSize = function () {\n return oneOrGreater(this.gridOptions.viewportRowModelPageSize, DEFAULT_VIEWPORT_ROW_MODEL_PAGE_SIZE);\n };\n GridOptionsWrapper.prototype.getViewportRowModelBufferSize = function () {\n return zeroOrGreater(this.gridOptions.viewportRowModelBufferSize, DEFAULT_VIEWPORT_ROW_MODEL_BUFFER_SIZE);\n };\n GridOptionsWrapper.prototype.isServerSideSortAllLevels = function () {\n var isEnabled = isTrue(this.gridOptions.serverSideSortAllLevels);\n if (!this.isRowModelServerSide() && isEnabled) {\n doOnce(function () { return console.warn('AG Grid: The `serverSideSortAllLevels` property can only be used with the server side row model.'); }, 'serverSideSortAllLevels');\n return false;\n }\n return isEnabled;\n };\n GridOptionsWrapper.prototype.isServerSideFilterAllLevels = function () {\n var isEnabled = isTrue(this.gridOptions.serverSideFilterAllLevels);\n if (!this.isRowModelServerSide() && isEnabled) {\n doOnce(function () { return console.warn('AG Grid: The `serverSideFilterAllLevels` property can only be used with the server side row model.'); }, 'serverSideFilterAllLevels');\n return false;\n }\n return isEnabled;\n };\n GridOptionsWrapper.prototype.isServerSideSortOnServer = function () {\n var isEnabled = isTrue(this.gridOptions.serverSideSortOnServer);\n if (!this.isRowModelServerSide() && isEnabled) {\n doOnce(function () { return console.warn('AG Grid: The `serverSideSortOnServer` property can only be used with the server side row model.'); }, 'serverSideSortOnServerRowModel');\n return false;\n }\n if (this.isTreeData() && isEnabled) {\n doOnce(function () { return console.warn('AG Grid: The `serverSideSortOnServer` property cannot be used while using tree data.'); }, 'serverSideSortOnServerTreeData');\n return false;\n }\n return isEnabled;\n };\n GridOptionsWrapper.prototype.isServerSideFilterOnServer = function () {\n var isEnabled = isTrue(this.gridOptions.serverSideFilterOnServer);\n if (!this.isRowModelServerSide() && isEnabled) {\n doOnce(function () { return console.warn('AG Grid: The `serverSideFilterOnServer` property can only be used with the server side row model.'); }, 'serverSideFilterOnServerRowModel');\n return false;\n }\n if (this.isTreeData() && isEnabled) {\n doOnce(function () { return console.warn('AG Grid: The `serverSideFilterOnServer` property cannot be used while using tree data.'); }, 'serverSideFilterOnServerTreeData');\n return false;\n }\n return isEnabled;\n };\n GridOptionsWrapper.prototype.getPostSortFunc = function () {\n var _a = this.gridOptions, postSortRows = _a.postSortRows, postSort = _a.postSort;\n if (postSortRows) {\n return this.mergeGridCommonParams(postSortRows);\n }\n // this is the deprecated way, so provide a proxy to make it compatible\n if (postSort) {\n return function (params) { return postSort(params.nodes); };\n }\n };\n GridOptionsWrapper.prototype.getChartToolbarItemsFunc = function () {\n return this.mergeGridCommonParams(this.gridOptions.getChartToolbarItems);\n };\n GridOptionsWrapper.prototype.getChartThemeOverrides = function () {\n return this.gridOptions.chartThemeOverrides;\n };\n GridOptionsWrapper.prototype.getCustomChartThemes = function () {\n return this.gridOptions.customChartThemes;\n };\n GridOptionsWrapper.prototype.getChartThemes = function () {\n // return default themes if user hasn't supplied any\n return this.gridOptions.chartThemes || ['ag-default', 'ag-material', 'ag-pastel', 'ag-vivid', 'ag-solar'];\n };\n GridOptionsWrapper.prototype.getChartToolPanelsDef = function () {\n return this.gridOptions.chartToolPanelsDef;\n };\n GridOptionsWrapper.prototype.getClipboardDelimiter = function () {\n return exists(this.gridOptions.clipboardDelimiter) ? this.gridOptions.clipboardDelimiter : '\\t';\n };\n GridOptionsWrapper.prototype.setProperty = function (key, value, force) {\n if (force === void 0) { force = false; }\n var previousValue = this.gridOptions[key];\n if (force || previousValue !== value) {\n this.gridOptions[key] = value;\n var event_1 = {\n type: key,\n currentValue: value,\n previousValue: previousValue\n };\n this.propertyEventService.dispatchEvent(event_1);\n }\n };\n GridOptionsWrapper.prototype.addEventListener = function (key, listener) {\n this.propertyEventService.addEventListener(key, listener);\n };\n GridOptionsWrapper.prototype.removeEventListener = function (key, listener) {\n this.propertyEventService.removeEventListener(key, listener);\n };\n GridOptionsWrapper.prototype.isSkipHeaderOnAutoSize = function () {\n return !!this.gridOptions.skipHeaderOnAutoSize;\n };\n GridOptionsWrapper.prototype.getAutoSizePadding = function () {\n var value = this.gridOptions.autoSizePadding;\n return value != null && value >= 0 ? value : 20;\n };\n // properties\n GridOptionsWrapper.prototype.getHeaderHeight = function () {\n if (typeof this.gridOptions.headerHeight === 'number') {\n return this.gridOptions.headerHeight;\n }\n return this.getFromTheme(25, 'headerHeight');\n };\n GridOptionsWrapper.prototype.getFloatingFiltersHeight = function () {\n if (typeof this.gridOptions.floatingFiltersHeight === 'number') {\n return this.gridOptions.floatingFiltersHeight;\n }\n return this.getFromTheme(25, 'headerHeight');\n };\n GridOptionsWrapper.prototype.getGroupHeaderHeight = function () {\n if (typeof this.gridOptions.groupHeaderHeight === 'number') {\n return this.gridOptions.groupHeaderHeight;\n }\n return this.getHeaderHeight();\n };\n GridOptionsWrapper.prototype.getPivotHeaderHeight = function () {\n if (typeof this.gridOptions.pivotHeaderHeight === 'number') {\n return this.gridOptions.pivotHeaderHeight;\n }\n return this.getHeaderHeight();\n };\n GridOptionsWrapper.prototype.getPivotGroupHeaderHeight = function () {\n if (typeof this.gridOptions.pivotGroupHeaderHeight === 'number') {\n return this.gridOptions.pivotGroupHeaderHeight;\n }\n return this.getGroupHeaderHeight();\n };\n GridOptionsWrapper.prototype.isExternalFilterPresent = function () {\n if (typeof this.gridOptions.isExternalFilterPresent === 'function') {\n return this.gridOptions.isExternalFilterPresent({ api: this.getApi(), columnApi: this.getColumnApi(), context: this.getContext() });\n }\n return false;\n };\n GridOptionsWrapper.prototype.doesExternalFilterPass = function (node) {\n if (typeof this.gridOptions.doesExternalFilterPass === 'function') {\n return this.gridOptions.doesExternalFilterPass(node);\n }\n return false;\n };\n GridOptionsWrapper.prototype.getTooltipDelay = function (type) {\n var _a = this.gridOptions, tooltipShowDelay = _a.tooltipShowDelay, tooltipHideDelay = _a.tooltipHideDelay;\n var delay = type === 'show' ? tooltipShowDelay : tooltipHideDelay;\n var capitalisedType = capitalise(type);\n if (exists(delay)) {\n if (delay < 0) {\n doOnce(function () { return console.warn(\"ag-grid: tooltip\" + capitalisedType + \"Delay should not be lower than 0\"); }, \"tooltip\" + capitalisedType + \"DelayWarn\");\n }\n return Math.max(200, delay);\n }\n return null;\n };\n GridOptionsWrapper.prototype.isTooltipMouseTrack = function () {\n return isTrue(this.gridOptions.tooltipMouseTrack);\n };\n GridOptionsWrapper.prototype.isSuppressModelUpdateAfterUpdateTransaction = function () {\n return isTrue(this.gridOptions.suppressModelUpdateAfterUpdateTransaction);\n };\n GridOptionsWrapper.prototype.getDocument = function () {\n // if user is providing document, we use the users one,\n // otherwise we use the document on the global namespace.\n var result = null;\n if (this.gridOptions.getDocument && exists(this.gridOptions.getDocument)) {\n result = this.gridOptions.getDocument();\n }\n else if (this.eGridDiv) {\n result = this.eGridDiv.ownerDocument;\n }\n if (result && exists(result)) {\n return result;\n }\n return document;\n };\n GridOptionsWrapper.prototype.getMinColWidth = function () {\n var minColWidth = this.gridOptions.minColWidth;\n if (exists(minColWidth) && minColWidth > GridOptionsWrapper_1.MIN_COL_WIDTH) {\n return this.gridOptions.minColWidth;\n }\n var measuredMin = this.getFromTheme(null, 'headerCellMinWidth');\n return exists(measuredMin) ? Math.max(measuredMin, GridOptionsWrapper_1.MIN_COL_WIDTH) : GridOptionsWrapper_1.MIN_COL_WIDTH;\n };\n GridOptionsWrapper.prototype.getMaxColWidth = function () {\n if (this.gridOptions.maxColWidth && this.gridOptions.maxColWidth > GridOptionsWrapper_1.MIN_COL_WIDTH) {\n return this.gridOptions.maxColWidth;\n }\n return null;\n };\n GridOptionsWrapper.prototype.getColWidth = function () {\n if (typeof this.gridOptions.colWidth !== 'number' || this.gridOptions.colWidth < GridOptionsWrapper_1.MIN_COL_WIDTH) {\n return 200;\n }\n return this.gridOptions.colWidth;\n };\n GridOptionsWrapper.prototype.getRowBuffer = function () {\n var rowBuffer = this.gridOptions.rowBuffer;\n if (typeof rowBuffer === 'number') {\n if (rowBuffer < 0) {\n doOnce(function () { return console.warn(\"AG Grid: rowBuffer should not be negative\"); }, 'warn rowBuffer negative');\n this.gridOptions.rowBuffer = rowBuffer = 0;\n }\n }\n else {\n rowBuffer = Constants.ROW_BUFFER_SIZE;\n }\n return rowBuffer;\n };\n GridOptionsWrapper.prototype.getRowBufferInPixels = function () {\n var rowsToBuffer = this.getRowBuffer();\n var defaultRowHeight = this.getRowHeightAsNumber();\n return rowsToBuffer * defaultRowHeight;\n };\n // the user might be using some non-standard scrollbar, eg a scrollbar that has zero\n // width and overlays (like the Safari scrollbar, but presented in Chrome). so we\n // allow the user to provide the scroll width before we work it out.\n GridOptionsWrapper.prototype.getScrollbarWidth = function () {\n if (this.scrollbarWidth == null) {\n var useGridOptions = typeof this.gridOptions.scrollbarWidth === 'number' && this.gridOptions.scrollbarWidth >= 0;\n var scrollbarWidth = useGridOptions ? this.gridOptions.scrollbarWidth : getScrollbarWidth();\n if (scrollbarWidth != null) {\n this.scrollbarWidth = scrollbarWidth;\n this.eventService.dispatchEvent({\n type: Events.EVENT_SCROLLBAR_WIDTH_CHANGED\n });\n }\n }\n return this.scrollbarWidth;\n };\n GridOptionsWrapper.prototype.checkForDeprecated = function () {\n // casting to generic object, so typescript compiles even though\n // we are looking for attributes that don't exist\n var options = this.gridOptions;\n if (options.deprecatedEmbedFullWidthRows) {\n console.warn(\"AG Grid: since v21.2, deprecatedEmbedFullWidthRows has been replaced with embedFullWidthRows.\");\n }\n if (options.rowDeselection) {\n console.warn('AG Grid: since v24.x, rowDeselection is deprecated and the behaviour is true by default. Please use `suppressRowDeselection` to prevent rows from being deselected.');\n }\n if (options.enableMultiRowDragging) {\n options.rowDragMultiRow = true;\n delete options.enableMultiRowDragging;\n console.warn('AG Grid: since v26.1, `enableMultiRowDragging` is deprecated. Please use `rowDragMultiRow`.');\n }\n var checkRenamedProperty = function (oldProp, newProp, version) {\n if (options[oldProp] != null) {\n console.warn(\"AG Grid: since version \" + version + \", '\" + oldProp + \"' is deprecated / renamed, please use the new property name '\" + newProp + \"' instead.\");\n if (options[newProp] == null) {\n options[newProp] = options[oldProp];\n }\n }\n };\n checkRenamedProperty('batchUpdateWaitMillis', 'asyncTransactionWaitMillis', '23.1.x');\n checkRenamedProperty('deltaRowDataMode', 'immutableData', '23.1.x');\n checkRenamedProperty('serverSideFilteringAlwaysResets', 'serverSideFilterAllLevels', '28.0.0');\n checkRenamedProperty('serverSideSortingAlwaysResets', 'serverSideSortAllLevels', '28.0.0');\n if (options.immutableColumns || options.deltaColumnMode) {\n console.warn('AG Grid: since v24.0, immutableColumns and deltaColumnMode properties are gone. The grid now works like this as default. To keep column order maintained, set grid property applyColumnDefOrder=true');\n }\n checkRenamedProperty('suppressSetColumnStateEvents', 'suppressColumnStateEvents', '24.0.x');\n if (options.groupRowInnerRenderer || options.groupRowInnerRendererParams || options.groupRowInnerRendererFramework) {\n console.warn('AG Grid: since v24.0, grid properties groupRowInnerRenderer, groupRowInnerRendererFramework and groupRowInnerRendererParams are no longer used.');\n console.warn(' Instead use the grid properties groupRowRendererParams.innerRenderer, groupRowRendererParams.innerRendererFramework and groupRowRendererParams.innerRendererParams.');\n console.warn(' For example instead of this:');\n console.warn(' groupRowInnerRenderer: \"myRenderer\"');\n console.warn(' groupRowInnerRendererParams: {x: a}');\n console.warn(' Replace with this:');\n console.warn(' groupRowRendererParams: {');\n console.warn(' innerRenderer: \"myRenderer\",');\n console.warn(' innerRendererParams: {x: a}');\n console.warn(' }');\n console.warn(' We have copied the properties over for you. However to stop this error message, please change your application code.');\n if (!options.groupRowRendererParams) {\n options.groupRowRendererParams = {};\n }\n var params = options.groupRowRendererParams;\n if (options.groupRowInnerRenderer) {\n params.innerRenderer = options.groupRowInnerRenderer;\n }\n if (options.groupRowInnerRendererParams) {\n params.innerRendererParams = options.groupRowInnerRendererParams;\n }\n if (options.groupRowInnerRendererFramework) {\n params.innerRendererFramework = options.groupRowInnerRendererFramework;\n }\n }\n if (options.rememberGroupStateWhenNewData) {\n console.warn('AG Grid: since v24.0, grid property rememberGroupStateWhenNewData is deprecated. This feature was provided before Transaction Updates worked (which keep group state). Now that transaction updates are possible and they keep group state, this feature is no longer needed.');\n }\n if (options.detailCellRendererParams && options.detailCellRendererParams.autoHeight) {\n console.warn('AG Grid: since v24.1, grid property detailCellRendererParams.autoHeight is replaced with grid property detailRowAutoHeight. This allows this feature to work when you provide a custom DetailCellRenderer');\n options.detailRowAutoHeight = true;\n }\n if (options.suppressKeyboardEvent) {\n console.warn(\"AG Grid: since v24.1 suppressKeyboardEvent in the gridOptions has been deprecated and will be removed in\\n future versions of AG Grid. If you need this to be set for every column use the defaultColDef property.\");\n }\n if (options.suppressEnterpriseResetOnNewColumns) {\n console.warn('AG Grid: since v25, grid property suppressEnterpriseResetOnNewColumns is deprecated. This was a temporary property to allow changing columns in Server Side Row Model without triggering a reload. Now that it is possible to dynamically change columns in the grid, this is no longer needed.');\n }\n if (options.suppressColumnStateEvents) {\n console.warn('AG Grid: since v25, grid property suppressColumnStateEvents no longer works due to a refactor that we did. It should be possible to achieve similar using event.source, which would be \"api\" if the event was due to setting column state via the API');\n }\n if (options.defaultExportParams) {\n console.warn('AG Grid: since v25.2, the grid property `defaultExportParams` has been replaced by `defaultCsvExportParams` and `defaultExcelExportParams`.');\n }\n if (options.stopEditingWhenGridLosesFocus) {\n console.warn('AG Grid: since v25.2.2, the grid property `stopEditingWhenGridLosesFocus` has been replaced by `stopEditingWhenCellsLoseFocus`.');\n options.stopEditingWhenCellsLoseFocus = true;\n }\n if (options.applyColumnDefOrder) {\n console.warn('AG Grid: since v26.0, the grid property `applyColumnDefOrder` is no longer needed, as this is the default behaviour. To turn this behaviour off, set maintainColumnOrder=true');\n }\n if (options.groupMultiAutoColumn) {\n console.warn(\"AG Grid: since v26.0, the grid property `groupMultiAutoColumn` has been replaced by `groupDisplayType = 'multipleColumns'`\");\n options.groupDisplayType = 'multipleColumns';\n }\n if (options.groupUseEntireRow) {\n console.warn(\"AG Grid: since v26.0, the grid property `groupUseEntireRow` has been replaced by `groupDisplayType = 'groupRows'`\");\n options.groupDisplayType = 'groupRows';\n }\n if (options.groupSuppressAutoColumn) {\n var propName = options.treeData ? 'treeDataDisplayType' : 'groupDisplayType';\n console.warn(\"AG Grid: since v26.0, the grid property `groupSuppressAutoColumn` has been replaced by `\" + propName + \" = 'custom'`\");\n options.groupDisplayType = 'custom';\n }\n if (options.defaultGroupOrderComparator) {\n console.warn(\"AG Grid: since v27.2, the grid property `defaultGroupOrderComparator` is deprecated and has been replaced by `initialGroupOrderComparator` and now receives a single params object.\");\n }\n if (options.defaultGroupSortComparator) {\n console.warn(\"AG Grid: since v26.0, the grid property `defaultGroupSortComparator` has been replaced by `initialGroupOrderComparator`\");\n options.defaultGroupOrderComparator = options.defaultGroupSortComparator;\n }\n if (options.groupRowAggNodes) {\n console.warn(\"AG Grid: since v27.2, the grid property `groupRowAggNodes` is deprecated and has been replaced by `getGroupRowAgg` and now receives a single params object.\");\n }\n if (options.postSort) {\n console.warn(\"AG Grid: since v27.2, the grid property `postSort` is deprecated and has been replaced by `postSortRows` and now receives a single params object.\");\n }\n if (options.isFullWidthCell) {\n console.warn(\"AG Grid: since v27.2, the grid property `isFullWidthCell` is deprecated and has been replaced by `isFullWidthRow` and now receives a single params object.\");\n }\n if (options.localeTextFunc) {\n console.warn(\"AG Grid: since v27.2, the grid property `localeTextFunc` is deprecated and has been replaced by `getLocaleText` and now receives a single params object.\");\n }\n if (options.colWidth) {\n console.warn('AG Grid: since v26.1, the grid property `colWidth` is deprecated and should be set via `defaultColDef.width`.');\n }\n if (options.minColWidth) {\n console.warn('AG Grid: since v26.1, the grid property `minColWidth` is deprecated and should be set via `defaultColDef.minWidth`.');\n }\n if (options.maxColWidth) {\n console.warn('AG Grid: since v26.1, the grid property `maxColWidth` is deprecated and should be set via `defaultColDef.maxWidth`.');\n }\n if (options.reactUi) {\n console.warn('AG Grid: since v27.0, React UI is on by default, so no need for reactUi=true. To turn it off, set suppressReactUi=true.');\n }\n if (options.suppressReactUi) {\n console.warn('AG Grid: The legacy React rendering engine is deprecated and will be removed in the next major version of the grid.');\n }\n if (options.suppressCellSelection) {\n console.warn('AG Grid: since v27.0, `suppressCellSelection` has been replaced by `suppressCellFocus`.');\n options.suppressCellFocus = options.suppressCellSelection;\n }\n if (options.getRowNodeId) {\n console.warn('AG Grid: since v27.1, `getRowNodeId` is deprecated and has been replaced by `getRowId`. The difference: if getRowId() is implemented then immutable data is enabled by default.');\n }\n if (options.immutableData) {\n if (options.getRowId) {\n console.warn('AG Grid: since v27.1, `immutableData` is deprecated. With the `getRowId` callback implemented, immutable data is enabled by default so you can remove `immutableData=true`.');\n }\n else {\n console.warn('AG Grid: since v27.1, `immutableData` is deprecated. To enable immutable data you must implement the `getRowId()` callback.');\n }\n }\n if (options.clipboardDeliminator) {\n console.warn('AG Grid: since v27.1, `clipboardDeliminator` has been replaced by `clipboardDelimiter`.');\n options.clipboardDelimiter = options.clipboardDeliminator;\n }\n checkRenamedProperty('processSecondaryColDef', 'processPivotResultColDef', '28.0.x');\n checkRenamedProperty('processSecondaryColGroupDef', 'processPivotResultColGroupDef', '28.0.x');\n if (options.serverSideStoreType) {\n console.warn('AG Grid: since v28.0, `serverSideStoreType` has been replaced by `serverSideInfiniteScroll`. Set to true to use Partial Store, and false to use Full Store.');\n options.serverSideInfiniteScroll = options.serverSideStoreType === 'partial';\n }\n checkRenamedProperty('getServerSideStoreParams', 'getServerSideGroupLevelParams', '28.0.x');\n };\n GridOptionsWrapper.prototype.checkForViolations = function () {\n if (this.isTreeData()) {\n this.treeDataViolations();\n }\n };\n GridOptionsWrapper.prototype.treeDataViolations = function () {\n if (this.isRowModelDefault()) {\n if (missing(this.getDataPathFunc())) {\n console.warn('AG Grid: property usingTreeData=true with rowModel=clientSide, but you did not ' +\n 'provide getDataPath function, please provide getDataPath function if using tree data.');\n }\n }\n if (this.isRowModelServerSide()) {\n if (missing(this.getIsServerSideGroupFunc())) {\n console.warn('AG Grid: property usingTreeData=true with rowModel=serverSide, but you did not ' +\n 'provide isServerSideGroup function, please provide isServerSideGroup function if using tree data.');\n }\n if (missing(this.getServerSideGroupKeyFunc())) {\n console.warn('AG Grid: property usingTreeData=true with rowModel=serverSide, but you did not ' +\n 'provide getServerSideGroupKey function, please provide getServerSideGroupKey function if using tree data.');\n }\n }\n };\n GridOptionsWrapper.prototype.getLocaleTextFunc = function () {\n var _this = this;\n var _a = this.gridOptions, localeText = _a.localeText, getLocaleText = _a.getLocaleText, localeTextFunc = _a.localeTextFunc;\n if (getLocaleText) {\n //key: string, defaultValue: string, variableValues?: string[]\n return function (key, defaultValue, variableValues) {\n var params = {\n key: key,\n defaultValue: defaultValue,\n variableValues: variableValues,\n api: _this.getApi(),\n columnApi: _this.getColumnApi(),\n context: _this.getContext()\n };\n return getLocaleText(params);\n };\n }\n if (localeTextFunc) {\n return localeTextFunc;\n }\n return function (key, defaultValue, variableValues) {\n var localisedText = localeText && localeText[key];\n if (localisedText && variableValues && variableValues.length) {\n var found = 0;\n while (true) {\n if (found >= variableValues.length) {\n break;\n }\n var idx = localisedText.indexOf('${variable}');\n if (idx === -1) {\n break;\n }\n localisedText = localisedText.replace('${variable}', variableValues[found++]);\n }\n }\n return (localisedText !== null && localisedText !== void 0 ? localisedText : defaultValue);\n };\n };\n // responsible for calling the onXXX functions on gridOptions\n GridOptionsWrapper.prototype.globalEventHandler = function (eventName, event) {\n // prevent events from being fired _after_ the grid has been destroyed\n if (this.destroyed) {\n return;\n }\n var callbackMethodName = ComponentUtil.getCallbackForEvent(eventName);\n if (typeof this.gridOptions[callbackMethodName] === 'function') {\n this.gridOptions[callbackMethodName](event);\n }\n };\n GridOptionsWrapper.prototype.setRowHeightVariable = function (height) {\n var oldRowHeight = this.eGridDiv.style.getPropertyValue('--ag-line-height').trim();\n var newRowHeight = height + \"px\";\n if (oldRowHeight != newRowHeight) {\n this.eGridDiv.style.setProperty('--ag-line-height', newRowHeight);\n }\n };\n // we don't allow dynamic row height for virtual paging\n GridOptionsWrapper.prototype.getRowHeightAsNumber = function () {\n if (!this.gridOptions.rowHeight || missing(this.gridOptions.rowHeight)) {\n return this.getDefaultRowHeight();\n }\n var rowHeight = this.gridOptions.rowHeight;\n if (rowHeight && this.isNumeric(rowHeight)) {\n this.setRowHeightVariable(rowHeight);\n return rowHeight;\n }\n console.warn('AG Grid row height must be a number if not using standard row model');\n return this.getDefaultRowHeight();\n };\n GridOptionsWrapper.prototype.isGetRowHeightFunction = function () {\n return typeof this.gridOptions.getRowHeight === 'function';\n };\n GridOptionsWrapper.prototype.getRowHeightForNode = function (rowNode, allowEstimate, defaultRowHeight) {\n if (allowEstimate === void 0) { allowEstimate = false; }\n if (defaultRowHeight == null) {\n defaultRowHeight = this.getDefaultRowHeight();\n }\n // check the function first, in case use set both function and\n // number, when using virtual pagination then function can be\n // used for pinned rows and the number for the body rows.\n if (this.isGetRowHeightFunction()) {\n if (allowEstimate) {\n return { height: defaultRowHeight, estimated: true };\n }\n var params = {\n node: rowNode,\n data: rowNode.data\n };\n var height = this.mergeGridCommonParams(this.gridOptions.getRowHeight)(params);\n if (this.isNumeric(height)) {\n if (height === 0) {\n doOnce(function () { return console.warn('AG Grid: The return of `getRowHeight` cannot be zero. If the intention is to hide rows, use a filter instead.'); }, 'invalidRowHeight');\n }\n return { height: Math.max(1, height), estimated: false };\n }\n }\n if (rowNode.detail && this.isMasterDetail()) {\n // if autoHeight, we want the height to grow to the new height starting at 1, as otherwise a flicker would happen,\n // as the detail goes to the default (eg 200px) and then immediately shrink up/down to the new measured height\n // (due to auto height) which looks bad, especially if doing row animation.\n if (this.isDetailRowAutoHeight()) {\n return { height: 1, estimated: false };\n }\n if (this.isNumeric(this.gridOptions.detailRowHeight)) {\n return { height: this.gridOptions.detailRowHeight, estimated: false };\n }\n return { height: DEFAULT_DETAIL_ROW_HEIGHT, estimated: false };\n }\n var rowHeight = this.gridOptions.rowHeight && this.isNumeric(this.gridOptions.rowHeight) ? this.gridOptions.rowHeight : defaultRowHeight;\n return { height: rowHeight, estimated: false };\n };\n GridOptionsWrapper.prototype.isDynamicRowHeight = function () {\n return typeof this.gridOptions.getRowHeight === 'function';\n };\n GridOptionsWrapper.prototype.getListItemHeight = function () {\n return this.getFromTheme(20, 'listItemHeight');\n };\n GridOptionsWrapper.prototype.chartMenuPanelWidth = function () {\n return this.environment.chartMenuPanelWidth();\n };\n GridOptionsWrapper.prototype.isNumeric = function (value) {\n return !isNaN(value) && typeof value === 'number' && isFinite(value);\n };\n GridOptionsWrapper.prototype.getFromTheme = function (defaultValue, sassVariableName) {\n var theme = this.environment.getTheme().theme;\n if (theme && theme.indexOf('ag-theme') === 0) {\n return this.environment.getSassVariable(theme, sassVariableName);\n }\n return defaultValue;\n };\n GridOptionsWrapper.prototype.getDefaultRowHeight = function () {\n return this.getFromTheme(DEFAULT_ROW_HEIGHT, 'rowHeight');\n };\n GridOptionsWrapper.prototype.matchesGroupDisplayType = function (toMatch, supplied) {\n var groupDisplayTypeValues = ['groupRows', 'multipleColumns', 'custom', 'singleColumn'];\n if (groupDisplayTypeValues.indexOf(supplied) < 0) {\n console.warn(\"AG Grid: '\" + supplied + \"' is not a valid groupDisplayType value - possible values are: '\" + groupDisplayTypeValues.join(\"', '\") + \"'\");\n return false;\n }\n return supplied === toMatch;\n };\n GridOptionsWrapper.prototype.matchesTreeDataDisplayType = function (toMatch, supplied) {\n var treeDataDisplayTypeValues = ['auto', 'custom'];\n if (treeDataDisplayTypeValues.indexOf(supplied) < 0) {\n console.warn(\"AG Grid: '\" + supplied + \"' is not a valid treeDataDisplayType value - possible values are: '\" + treeDataDisplayTypeValues.join(\"', '\") + \"'\");\n return false;\n }\n return supplied === toMatch;\n };\n var GridOptionsWrapper_1;\n GridOptionsWrapper.MIN_COL_WIDTH = 10;\n GridOptionsWrapper.PROP_HEADER_HEIGHT = 'headerHeight';\n GridOptionsWrapper.PROP_GROUP_REMOVE_SINGLE_CHILDREN = 'groupRemoveSingleChildren';\n GridOptionsWrapper.PROP_GROUP_REMOVE_LOWEST_SINGLE_CHILDREN = 'groupRemoveLowestSingleChildren';\n GridOptionsWrapper.PROP_GROUP_DISPLAY_TYPE = 'groupDisplayType';\n GridOptionsWrapper.PROP_PIVOT_HEADER_HEIGHT = 'pivotHeaderHeight';\n GridOptionsWrapper.PROP_SUPPRESS_CLIPBOARD_PASTE = 'suppressClipboardPaste';\n GridOptionsWrapper.PROP_GROUP_HEADER_HEIGHT = 'groupHeaderHeight';\n GridOptionsWrapper.PROP_PIVOT_GROUP_HEADER_HEIGHT = 'pivotGroupHeaderHeight';\n GridOptionsWrapper.PROP_NAVIGATE_TO_NEXT_CELL = 'navigateToNextCell';\n GridOptionsWrapper.PROP_TAB_TO_NEXT_CELL = 'tabToNextCell';\n GridOptionsWrapper.PROP_NAVIGATE_TO_NEXT_HEADER = 'navigateToNextHeader';\n GridOptionsWrapper.PROP_TAB_TO_NEXT_HEADER = 'tabToNextHeader';\n GridOptionsWrapper.PROP_IS_EXTERNAL_FILTER_PRESENT = 'isExternalFilterPresent';\n GridOptionsWrapper.PROP_DOES_EXTERNAL_FILTER_PASS = 'doesExternalFilterPass';\n GridOptionsWrapper.PROP_FLOATING_FILTERS_HEIGHT = 'floatingFiltersHeight';\n GridOptionsWrapper.PROP_SUPPRESS_ROW_CLICK_SELECTION = 'suppressRowClickSelection';\n GridOptionsWrapper.PROP_SUPPRESS_ROW_DRAG = 'suppressRowDrag';\n GridOptionsWrapper.PROP_SUPPRESS_MOVE_WHEN_ROW_DRAG = 'suppressMoveWhenRowDragging';\n GridOptionsWrapper.PROP_GET_ROW_CLASS = 'getRowClass';\n GridOptionsWrapper.PROP_GET_ROW_STYLE = 'getRowStyle';\n GridOptionsWrapper.PROP_GET_ROW_HEIGHT = 'getRowHeight';\n GridOptionsWrapper.PROP_POPUP_PARENT = 'popupParent';\n GridOptionsWrapper.PROP_DOM_LAYOUT = 'domLayout';\n GridOptionsWrapper.PROP_ROW_CLASS = 'rowClass';\n GridOptionsWrapper.PROP_FILL_HANDLE_DIRECTION = 'fillHandleDirection';\n GridOptionsWrapper.PROP_GROUP_ROW_AGG_NODES = 'groupRowAggNodes';\n GridOptionsWrapper.PROP_GET_GROUP_ROW_AGG = 'getGroupRowAgg';\n GridOptionsWrapper.PROP_GET_BUSINESS_KEY_FOR_NODE = 'getBusinessKeyForNode';\n GridOptionsWrapper.PROP_GET_CHILD_COUNT = 'getChildCount';\n GridOptionsWrapper.PROP_PROCESS_ROW_POST_CREATE = 'processRowPostCreate';\n GridOptionsWrapper.PROP_GET_ROW_NODE_ID = 'getRowNodeId';\n GridOptionsWrapper.PROP_GET_ROW_ID = 'getRowId';\n GridOptionsWrapper.PROP_IS_FULL_WIDTH_CELL = 'isFullWidthCell';\n GridOptionsWrapper.PROP_IS_FULL_WIDTH_ROW = 'isFullWidthRow';\n GridOptionsWrapper.PROP_IS_ROW_SELECTABLE = 'isRowSelectable';\n GridOptionsWrapper.PROP_IS_ROW_MASTER = 'isRowMaster';\n GridOptionsWrapper.PROP_POST_SORT = 'postSort';\n GridOptionsWrapper.PROP_POST_SORT_ROWS = 'postSortRows';\n GridOptionsWrapper.PROP_GET_DOCUMENT = 'getDocument';\n GridOptionsWrapper.PROP_POST_PROCESS_POPUP = 'postProcessPopup';\n GridOptionsWrapper.PROP_DEFAULT_GROUP_ORDER_COMPARATOR = 'defaultGroupOrderComparator';\n GridOptionsWrapper.PROP_INITIAL_GROUP_ORDER_COMPARATOR = 'initialGroupOrderComparator';\n GridOptionsWrapper.PROP_PAGINATION_NUMBER_FORMATTER = 'paginationNumberFormatter';\n GridOptionsWrapper.PROP_GET_CONTEXT_MENU_ITEMS = 'getContextMenuItems';\n GridOptionsWrapper.PROP_GET_MAIN_MENU_ITEMS = 'getMainMenuItems';\n GridOptionsWrapper.PROP_PROCESS_CELL_FOR_CLIPBOARD = 'processCellForClipboard';\n GridOptionsWrapper.PROP_PROCESS_CELL_FROM_CLIPBOARD = 'processCellFromClipboard';\n GridOptionsWrapper.PROP_SEND_TO_CLIPBOARD = 'sendToClipboard';\n GridOptionsWrapper.PROP_PROCESS_PIVOT_RESULT_COL_DEF = 'processPivotResultColDef';\n GridOptionsWrapper.PROP_PROCESS_PIVOT_RESULT_COL_GROUP_DEF = 'processPivotResultColGroupDef';\n GridOptionsWrapper.PROP_GET_CHART_TOOLBAR_ITEMS = 'getChartToolbarItems';\n GridOptionsWrapper.PROP_GET_SERVER_SIDE_GROUP_PARAMS = 'getServerSideGroupLevelParams';\n GridOptionsWrapper.PROP_IS_SERVER_SIDE_GROUPS_OPEN_BY_DEFAULT = 'isServerSideGroupOpenByDefault';\n GridOptionsWrapper.PROP_IS_APPLY_SERVER_SIDE_TRANSACTION = 'isApplyServerSideTransaction';\n GridOptionsWrapper.PROP_IS_SERVER_SIDE_GROUP = 'isServerSideGroup';\n GridOptionsWrapper.PROP_GET_SERVER_SIDE_GROUP_KEY = 'getServerSideGroupKey';\n GridOptionsWrapper.PROP_AUTO_GROUP_COLUMN_DEF = 'autoGroupColumnDef';\n GridOptionsWrapper.PROP_DEFAULT_COL_DEF = 'defaultColDef';\n __decorate$2v([\n Autowired('gridOptions')\n ], GridOptionsWrapper.prototype, \"gridOptions\", void 0);\n __decorate$2v([\n Autowired('eventService')\n ], GridOptionsWrapper.prototype, \"eventService\", void 0);\n __decorate$2v([\n Autowired('environment')\n ], GridOptionsWrapper.prototype, \"environment\", void 0);\n __decorate$2v([\n Autowired('eGridDiv')\n ], GridOptionsWrapper.prototype, \"eGridDiv\", void 0);\n __decorate$2v([\n __param$8(0, Qualifier('gridApi')), __param$8(1, Qualifier('columnApi'))\n ], GridOptionsWrapper.prototype, \"agWire\", null);\n __decorate$2v([\n PreDestroy\n ], GridOptionsWrapper.prototype, \"destroy\", null);\n __decorate$2v([\n PostConstruct\n ], GridOptionsWrapper.prototype, \"init\", null);\n GridOptionsWrapper = GridOptionsWrapper_1 = __decorate$2v([\n Bean('gridOptionsWrapper')\n ], GridOptionsWrapper);\n return GridOptionsWrapper;\n}());\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$2T = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$2u = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __param$7 = (undefined && undefined.__param) || function (paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n};\nvar __rest = (undefined && undefined.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nvar __values$4 = (undefined && undefined.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nvar __read$l = (undefined && undefined.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar __spread$f = (undefined && undefined.__spread) || function () {\n for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$l(arguments[i]));\n return ar;\n};\nvar ColumnModel = /** @class */ (function (_super) {\n __extends$2T(ColumnModel, _super);\n function ColumnModel() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n // header row count, based on user provided columns\n _this.primaryHeaderRowCount = 0;\n _this.secondaryHeaderRowCount = 0;\n // header row count, either above, or based on pivoting if we are pivoting\n _this.gridHeaderRowCount = 0;\n // leave level columns of the displayed trees\n _this.displayedColumnsLeft = [];\n _this.displayedColumnsRight = [];\n _this.displayedColumnsCenter = [];\n // all three lists above combined\n _this.displayedColumns = [];\n // for fast lookup, to see if a column or group is still displayed\n _this.displayedColumnsAndGroupsMap = {};\n // all columns to be rendered\n _this.viewportColumns = [];\n // A hash key to keep track of changes in viewport columns\n _this.viewportColumnsHash = '';\n // same as viewportColumns, except we always include columns with headerAutoHeight\n _this.headerViewportColumns = [];\n // all columns to be rendered in the centre\n _this.viewportColumnsCenter = [];\n // same as viewportColumnsCenter, except we always include columns with headerAutoHeight\n _this.headerViewportColumnsCenter = [];\n _this.autoHeightActiveAtLeastOnce = false;\n _this.rowGroupColumns = [];\n _this.valueColumns = [];\n _this.pivotColumns = [];\n _this.ready = false;\n _this.autoGroupsNeedBuilding = false;\n _this.forceRecreateAutoGroups = false;\n _this.pivotMode = false;\n _this.bodyWidth = 0;\n _this.leftWidth = 0;\n _this.rightWidth = 0;\n _this.bodyWidthDirty = true;\n _this.flexColsCalculatedAtLestOnce = false;\n return _this;\n }\n ColumnModel.prototype.init = function () {\n var _this = this;\n this.suppressColumnVirtualisation = this.gridOptionsWrapper.isSuppressColumnVirtualisation();\n var pivotMode = this.gridOptionsWrapper.isPivotMode();\n if (this.isPivotSettingAllowed(pivotMode)) {\n this.pivotMode = pivotMode;\n }\n this.usingTreeData = this.gridOptionsWrapper.isTreeData();\n this.addManagedListener(this.gridOptionsWrapper, GridOptionsWrapper.PROP_GROUP_DISPLAY_TYPE, function () { return _this.onAutoGroupColumnDefChanged(); });\n this.addManagedListener(this.gridOptionsWrapper, GridOptionsWrapper.PROP_AUTO_GROUP_COLUMN_DEF, function () { return _this.onAutoGroupColumnDefChanged(); });\n this.addManagedListener(this.gridOptionsWrapper, GridOptionsWrapper.PROP_DEFAULT_COL_DEF, function () { return _this.onDefaultColDefChanged(); });\n };\n ColumnModel.prototype.onAutoGroupColumnDefChanged = function () {\n this.autoGroupsNeedBuilding = true;\n this.forceRecreateAutoGroups = true;\n this.updateGridColumns();\n this.updateDisplayedColumns('gridOptionsChanged');\n };\n ColumnModel.prototype.onDefaultColDefChanged = function () {\n // likewise for autoGroupCol, the default col def impacts this\n this.forceRecreateAutoGroups = true;\n this.createColumnsFromColumnDefs(true);\n };\n ColumnModel.prototype.setColumnDefs = function (columnDefs, source) {\n if (source === void 0) { source = 'api'; }\n var colsPreviouslyExisted = !!this.columnDefs;\n this.columnDefs = columnDefs;\n this.createColumnsFromColumnDefs(colsPreviouslyExisted, source);\n };\n ColumnModel.prototype.createColumnsFromColumnDefs = function (colsPreviouslyExisted, source) {\n var _this = this;\n if (source === void 0) { source = 'api'; }\n // only need to raise before/after events if updating columns, never if setting columns for first time\n var raiseEventsFunc = colsPreviouslyExisted ? this.compareColumnStatesAndRaiseEvents(source) : undefined;\n // always invalidate cache on changing columns, as the column id's for the new columns\n // could overlap with the old id's, so the cache would return old values for new columns.\n this.valueCache.expire();\n // NOTE ==================\n // we should be destroying the existing columns and groups if they exist, for example, the original column\n // group adds a listener to the columns, it should be also removing the listeners\n this.autoGroupsNeedBuilding = true;\n var oldPrimaryColumns = this.primaryColumns;\n var oldPrimaryTree = this.primaryColumnTree;\n var balancedTreeResult = this.columnFactory.createColumnTree(this.columnDefs, true, oldPrimaryTree);\n this.primaryColumnTree = balancedTreeResult.columnTree;\n this.primaryHeaderRowCount = balancedTreeResult.treeDept + 1;\n this.primaryColumns = this.getColumnsFromTree(this.primaryColumnTree);\n this.primaryColumnsMap = {};\n this.primaryColumns.forEach(function (col) { return _this.primaryColumnsMap[col.getId()] = col; });\n this.extractRowGroupColumns(source, oldPrimaryColumns);\n this.extractPivotColumns(source, oldPrimaryColumns);\n this.extractValueColumns(source, oldPrimaryColumns);\n this.ready = true;\n // if we are showing secondary columns, then no need to update grid columns\n // at this point, as it's the pivot service responsibility to change these\n // if we are no longer pivoting (ie and need to revert back to primary, otherwise\n // we shouldn't be touching the primary).\n var gridColsNotProcessed = this.gridColsArePrimary === undefined;\n var processGridCols = this.gridColsArePrimary || gridColsNotProcessed;\n if (processGridCols) {\n this.updateGridColumns();\n if (colsPreviouslyExisted && !this.gridOptionsWrapper.isMaintainColumnOrder()) {\n this.orderGridColumnsLikePrimary();\n }\n this.updateDisplayedColumns(source);\n this.checkViewportColumns();\n }\n // this event is not used by AG Grid, but left here for backwards compatibility,\n // in case applications use it\n this.dispatchEverythingChanged(source);\n if (raiseEventsFunc) {\n raiseEventsFunc();\n }\n this.dispatchNewColumnsLoaded();\n };\n ColumnModel.prototype.dispatchNewColumnsLoaded = function () {\n var newColumnsLoadedEvent = {\n type: Events.EVENT_NEW_COLUMNS_LOADED\n };\n this.eventService.dispatchEvent(newColumnsLoadedEvent);\n };\n // this event is legacy, no grid code listens to it. instead the grid listens to New Columns Loaded\n ColumnModel.prototype.dispatchEverythingChanged = function (source) {\n if (source === void 0) { source = 'api'; }\n var eventEverythingChanged = {\n type: Events.EVENT_COLUMN_EVERYTHING_CHANGED,\n source: source\n };\n this.eventService.dispatchEvent(eventEverythingChanged);\n };\n ColumnModel.prototype.orderGridColumnsLikePrimary = function () {\n var _this = this;\n var primaryColumns = this.primaryColumns;\n if (!primaryColumns) {\n return;\n }\n this.gridColumns.sort(function (colA, colB) {\n var primaryIndexA = primaryColumns.indexOf(colA);\n var primaryIndexB = primaryColumns.indexOf(colB);\n // if both cols are present in primary, then we just return the position,\n // so position is maintained.\n var indexAPresent = primaryIndexA >= 0;\n var indexBPresent = primaryIndexB >= 0;\n if (indexAPresent && indexBPresent) {\n return primaryIndexA - primaryIndexB;\n }\n if (indexAPresent) {\n // B is auto group column, so put B first\n return 1;\n }\n if (indexBPresent) {\n // A is auto group column, so put A first\n return -1;\n }\n // otherwise both A and B are auto-group columns. so we just keep the order\n // as they were already in.\n var gridIndexA = _this.gridColumns.indexOf(colA);\n var gridIndexB = _this.gridColumns.indexOf(colB);\n return gridIndexA - gridIndexB;\n });\n this.gridColumns = this.placeLockedColumns(this.gridColumns);\n };\n ColumnModel.prototype.getAllDisplayedAutoHeightCols = function () {\n return this.displayedAutoHeightCols;\n };\n ColumnModel.prototype.setViewport = function () {\n if (this.gridOptionsWrapper.isEnableRtl()) {\n this.viewportLeft = this.bodyWidth - this.scrollPosition - this.scrollWidth;\n this.viewportRight = this.bodyWidth - this.scrollPosition;\n }\n else {\n this.viewportLeft = this.scrollPosition;\n this.viewportRight = this.scrollWidth + this.scrollPosition;\n }\n };\n // used by clipboard service, to know what columns to paste into\n ColumnModel.prototype.getDisplayedColumnsStartingAt = function (column) {\n var currentColumn = column;\n var columns = [];\n while (currentColumn != null) {\n columns.push(currentColumn);\n currentColumn = this.getDisplayedColAfter(currentColumn);\n }\n return columns;\n };\n // checks what columns are currently displayed due to column virtualisation. fires an event\n // if the list of columns has changed.\n // + setColumnWidth(), setViewportPosition(), setColumnDefs(), sizeColumnsToFit()\n ColumnModel.prototype.checkViewportColumns = function () {\n // check displayCenterColumnTree exists first, as it won't exist when grid is initialising\n if (this.displayedColumnsCenter == null) {\n return;\n }\n var viewportColumnsChanged = this.extractViewport();\n if (!viewportColumnsChanged) {\n return;\n }\n var event = {\n type: Events.EVENT_VIRTUAL_COLUMNS_CHANGED\n };\n this.eventService.dispatchEvent(event);\n };\n ColumnModel.prototype.setViewportPosition = function (scrollWidth, scrollPosition) {\n if (scrollWidth !== this.scrollWidth || scrollPosition !== this.scrollPosition || this.bodyWidthDirty) {\n this.scrollWidth = scrollWidth;\n this.scrollPosition = scrollPosition;\n // we need to call setVirtualViewportLeftAndRight() at least once after the body width changes,\n // as the viewport can stay the same, but in RTL, if body width changes, we need to work out the\n // virtual columns again\n this.bodyWidthDirty = true;\n this.setViewport();\n if (this.ready) {\n this.checkViewportColumns();\n }\n }\n };\n ColumnModel.prototype.isPivotMode = function () {\n return this.pivotMode;\n };\n ColumnModel.prototype.isPivotSettingAllowed = function (pivot) {\n if (pivot && this.gridOptionsWrapper.isTreeData()) {\n console.warn(\"AG Grid: Pivot mode not available in conjunction Tree Data i.e. 'gridOptions.treeData: true'\");\n return false;\n }\n return true;\n };\n ColumnModel.prototype.setPivotMode = function (pivotMode, source) {\n if (source === void 0) { source = 'api'; }\n if (pivotMode === this.pivotMode || !this.isPivotSettingAllowed(this.pivotMode)) {\n return;\n }\n this.pivotMode = pivotMode;\n // we need to update grid columns to cover the scenario where user has groupSuppressAutoColumn=true, as\n // this means we don't use auto group column UNLESS we are in pivot mode (it's mandatory in pivot mode),\n // so need to updateGridColumn() to check it autoGroupCol needs to be added / removed\n this.autoGroupsNeedBuilding = true;\n this.updateGridColumns();\n this.updateDisplayedColumns(source);\n var event = {\n type: Events.EVENT_COLUMN_PIVOT_MODE_CHANGED\n };\n this.eventService.dispatchEvent(event);\n };\n ColumnModel.prototype.getSecondaryPivotColumn = function (pivotKeys, valueColKey) {\n if (missing(this.secondaryColumns)) {\n return null;\n }\n var valueColumnToFind = this.getPrimaryColumn(valueColKey);\n var foundColumn = null;\n this.secondaryColumns.forEach(function (column) {\n var thisPivotKeys = column.getColDef().pivotKeys;\n var pivotValueColumn = column.getColDef().pivotValueColumn;\n var pivotKeyMatches = areEqual(thisPivotKeys, pivotKeys);\n var pivotValueMatches = pivotValueColumn === valueColumnToFind;\n if (pivotKeyMatches && pivotValueMatches) {\n foundColumn = column;\n }\n });\n return foundColumn;\n };\n ColumnModel.prototype.setBeans = function (loggerFactory) {\n this.logger = loggerFactory.create('columnModel');\n };\n ColumnModel.prototype.setFirstRightAndLastLeftPinned = function (source) {\n var lastLeft;\n var firstRight;\n if (this.gridOptionsWrapper.isEnableRtl()) {\n lastLeft = this.displayedColumnsLeft ? this.displayedColumnsLeft[0] : null;\n firstRight = this.displayedColumnsRight ? last(this.displayedColumnsRight) : null;\n }\n else {\n lastLeft = this.displayedColumnsLeft ? last(this.displayedColumnsLeft) : null;\n firstRight = this.displayedColumnsRight ? this.displayedColumnsRight[0] : null;\n }\n this.gridColumns.forEach(function (column) {\n column.setLastLeftPinned(column === lastLeft, source);\n column.setFirstRightPinned(column === firstRight, source);\n });\n };\n ColumnModel.prototype.autoSizeColumns = function (params) {\n var _this = this;\n var columns = params.columns, skipHeader = params.skipHeader, skipHeaderGroups = params.skipHeaderGroups, stopAtGroup = params.stopAtGroup, _a = params.source, source = _a === void 0 ? 'api' : _a;\n // because of column virtualisation, we can only do this function on columns that are\n // actually rendered, as non-rendered columns (outside the viewport and not rendered\n // due to column virtualisation) are not present. this can result in all rendered columns\n // getting narrowed, which in turn introduces more rendered columns on the RHS which\n // did not get autosized in the original run, leaving the visible grid with columns on\n // the LHS sized, but RHS no. so we keep looping through the visible columns until\n // no more cols are available (rendered) to be resized\n // we autosize after animation frames finish in case any cell renderers need to complete first. this can\n // happen eg if client code is calling api.autoSizeAllColumns() straight after grid is initialised, but grid\n // hasn't fully drawn out all the cells yet (due to cell renderers in animation frames).\n this.animationFrameService.flushAllFrames();\n // keep track of which cols we have resized in here\n var columnsAutosized = [];\n // initialise with anything except 0 so that while loop executes at least once\n var changesThisTimeAround = -1;\n var shouldSkipHeader = skipHeader != null ? skipHeader : this.gridOptionsWrapper.isSkipHeaderOnAutoSize();\n var shouldSkipHeaderGroups = skipHeaderGroups != null ? skipHeaderGroups : shouldSkipHeader;\n while (changesThisTimeAround !== 0) {\n changesThisTimeAround = 0;\n this.actionOnGridColumns(columns, function (column) {\n // if already autosized, skip it\n if (columnsAutosized.indexOf(column) >= 0) {\n return false;\n }\n // get how wide this col should be\n var preferredWidth = _this.autoWidthCalculator.getPreferredWidthForColumn(column, shouldSkipHeader);\n // preferredWidth = -1 if this col is not on the screen\n if (preferredWidth > 0) {\n var newWidth = _this.normaliseColumnWidth(column, preferredWidth);\n column.setActualWidth(newWidth, source);\n columnsAutosized.push(column);\n changesThisTimeAround++;\n }\n return true;\n }, source);\n }\n if (!shouldSkipHeaderGroups) {\n this.autoSizeColumnGroupsByColumns(columns, stopAtGroup);\n }\n this.fireColumnResizedEvent(columnsAutosized, true, 'autosizeColumns');\n };\n ColumnModel.prototype.fireColumnResizedEvent = function (columns, finished, source, flexColumns) {\n if (flexColumns === void 0) { flexColumns = null; }\n if (columns && columns.length) {\n var event_1 = {\n type: Events.EVENT_COLUMN_RESIZED,\n columns: columns,\n column: columns.length === 1 ? columns[0] : null,\n flexColumns: flexColumns,\n finished: finished,\n source: source\n };\n this.eventService.dispatchEvent(event_1);\n }\n };\n ColumnModel.prototype.autoSizeColumn = function (key, skipHeader, source) {\n if (source === void 0) { source = \"api\"; }\n if (key) {\n this.autoSizeColumns({ columns: [key], skipHeader: skipHeader, skipHeaderGroups: true, source: source });\n }\n };\n ColumnModel.prototype.autoSizeColumnGroupsByColumns = function (keys, stopAtGroup) {\n var e_1, _a, e_2, _b;\n var columnGroups = new Set();\n var columns = this.getGridColumns(keys);\n columns.forEach(function (col) {\n var parent = col.getParent();\n while (parent && parent != stopAtGroup) {\n if (!parent.isPadding()) {\n columnGroups.add(parent);\n }\n parent = parent.getParent();\n }\n });\n var headerGroupCtrl;\n var resizedColumns = [];\n try {\n for (var columnGroups_1 = __values$4(columnGroups), columnGroups_1_1 = columnGroups_1.next(); !columnGroups_1_1.done; columnGroups_1_1 = columnGroups_1.next()) {\n var columnGroup = columnGroups_1_1.value;\n try {\n for (var _c = (e_2 = void 0, __values$4(this.ctrlsService.getHeaderRowContainerCtrls())), _d = _c.next(); !_d.done; _d = _c.next()) {\n var headerContainerCtrl = _d.value;\n headerGroupCtrl = headerContainerCtrl.getHeaderCtrlForColumn(columnGroup);\n if (headerGroupCtrl) {\n break;\n }\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (_d && !_d.done && (_b = _c.return)) _b.call(_c);\n }\n finally { if (e_2) throw e_2.error; }\n }\n if (headerGroupCtrl) {\n headerGroupCtrl.resizeLeafColumnsToFit();\n }\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (columnGroups_1_1 && !columnGroups_1_1.done && (_a = columnGroups_1.return)) _a.call(columnGroups_1);\n }\n finally { if (e_1) throw e_1.error; }\n }\n return resizedColumns;\n };\n ColumnModel.prototype.autoSizeAllColumns = function (skipHeader, source) {\n if (source === void 0) { source = \"api\"; }\n var allDisplayedColumns = this.getAllDisplayedColumns();\n this.autoSizeColumns({ columns: allDisplayedColumns, skipHeader: skipHeader, source: source });\n };\n // Possible candidate for reuse (alot of recursive traversal duplication)\n ColumnModel.prototype.getColumnsFromTree = function (rootColumns) {\n var result = [];\n var recursiveFindColumns = function (childColumns) {\n for (var i = 0; i < childColumns.length; i++) {\n var child = childColumns[i];\n if (child instanceof Column) {\n result.push(child);\n }\n else if (child instanceof ProvidedColumnGroup) {\n recursiveFindColumns(child.getChildren());\n }\n }\n };\n recursiveFindColumns(rootColumns);\n return result;\n };\n ColumnModel.prototype.getAllDisplayedTrees = function () {\n if (this.displayedTreeLeft && this.displayedTreeRight && this.displayedTreeCentre) {\n return this.displayedTreeLeft\n .concat(this.displayedTreeCentre)\n .concat(this.displayedTreeRight);\n }\n return null;\n };\n // + columnSelectPanel\n ColumnModel.prototype.getPrimaryColumnTree = function () {\n return this.primaryColumnTree;\n };\n // + gridPanel -> for resizing the body and setting top margin\n ColumnModel.prototype.getHeaderRowCount = function () {\n return this.gridHeaderRowCount;\n };\n // + headerRenderer -> setting pinned body width\n ColumnModel.prototype.getDisplayedTreeLeft = function () {\n return this.displayedTreeLeft;\n };\n // + headerRenderer -> setting pinned body width\n ColumnModel.prototype.getDisplayedTreeRight = function () {\n return this.displayedTreeRight;\n };\n // + headerRenderer -> setting pinned body width\n ColumnModel.prototype.getDisplayedTreeCentre = function () {\n return this.displayedTreeCentre;\n };\n // gridPanel -> ensureColumnVisible\n ColumnModel.prototype.isColumnDisplayed = function (column) {\n return this.getAllDisplayedColumns().indexOf(column) >= 0;\n };\n // + csvCreator\n ColumnModel.prototype.getAllDisplayedColumns = function () {\n return this.displayedColumns;\n };\n ColumnModel.prototype.getViewportColumns = function () {\n return this.viewportColumns;\n };\n ColumnModel.prototype.getDisplayedLeftColumnsForRow = function (rowNode) {\n if (!this.colSpanActive) {\n return this.displayedColumnsLeft;\n }\n return this.getDisplayedColumnsForRow(rowNode, this.displayedColumnsLeft);\n };\n ColumnModel.prototype.getDisplayedRightColumnsForRow = function (rowNode) {\n if (!this.colSpanActive) {\n return this.displayedColumnsRight;\n }\n return this.getDisplayedColumnsForRow(rowNode, this.displayedColumnsRight);\n };\n ColumnModel.prototype.getDisplayedColumnsForRow = function (rowNode, displayedColumns, filterCallback, emptySpaceBeforeColumn) {\n var result = [];\n var lastConsideredCol = null;\n var _loop_1 = function (i) {\n var col = displayedColumns[i];\n var maxAllowedColSpan = displayedColumns.length - i;\n var colSpan = Math.min(col.getColSpan(rowNode), maxAllowedColSpan);\n var columnsToCheckFilter = [col];\n if (colSpan > 1) {\n var colsToRemove = colSpan - 1;\n for (var j = 1; j <= colsToRemove; j++) {\n columnsToCheckFilter.push(displayedColumns[i + j]);\n }\n i += colsToRemove;\n }\n // see which cols we should take out for column virtualisation\n var filterPasses;\n if (filterCallback) {\n // if user provided a callback, means some columns may not be in the viewport.\n // the user will NOT provide a callback if we are talking about pinned areas,\n // as pinned areas have no horizontal scroll and do not virtualise the columns.\n // if lots of columns, that means column spanning, and we set filterPasses = true\n // if one or more of the columns spanned pass the filter.\n filterPasses = false;\n columnsToCheckFilter.forEach(function (colForFilter) {\n if (filterCallback(colForFilter)) {\n filterPasses = true;\n }\n });\n }\n else {\n filterPasses = true;\n }\n if (filterPasses) {\n if (result.length === 0 && lastConsideredCol) {\n var gapBeforeColumn = emptySpaceBeforeColumn ? emptySpaceBeforeColumn(col) : false;\n if (gapBeforeColumn) {\n result.push(lastConsideredCol);\n }\n }\n result.push(col);\n }\n lastConsideredCol = col;\n out_i_1 = i;\n };\n var out_i_1;\n for (var i = 0; i < displayedColumns.length; i++) {\n _loop_1(i);\n i = out_i_1;\n }\n return result;\n };\n // + rowRenderer\n // if we are not column spanning, this just returns back the virtual centre columns,\n // however if we are column spanning, then different rows can have different virtual\n // columns, so we have to work out the list for each individual row.\n ColumnModel.prototype.getViewportCenterColumnsForRow = function (rowNode) {\n var _this = this;\n if (!this.colSpanActive) {\n return this.viewportColumnsCenter;\n }\n var emptySpaceBeforeColumn = function (col) {\n var left = col.getLeft();\n return exists(left) && left > _this.viewportLeft;\n };\n // if doing column virtualisation, then we filter based on the viewport.\n var filterCallback = this.suppressColumnVirtualisation ? null : this.isColumnInRowViewport.bind(this);\n return this.getDisplayedColumnsForRow(rowNode, this.displayedColumnsCenter, filterCallback, emptySpaceBeforeColumn);\n };\n ColumnModel.prototype.getAriaColumnIndex = function (col) {\n return this.getAllGridColumns().indexOf(col) + 1;\n };\n ColumnModel.prototype.isColumnInHeaderViewport = function (col) {\n // for headers, we never filter out autoHeaderHeight columns, if calculating\n if (col.isAutoHeaderHeight()) {\n return true;\n }\n return this.isColumnInRowViewport(col);\n };\n ColumnModel.prototype.isColumnInRowViewport = function (col) {\n // we never filter out autoHeight columns, as we need them in the DOM for calculating Auto Height\n if (col.isAutoHeight()) {\n return true;\n }\n var columnLeft = col.getLeft() || 0;\n var columnRight = columnLeft + col.getActualWidth();\n // adding 200 for buffer size, so some cols off viewport are rendered.\n // this helps horizontal scrolling so user rarely sees white space (unless\n // they scroll horizontally fast). however we are conservative, as the more\n // buffer the slower the vertical redraw speed\n var leftBounds = this.viewportLeft - 200;\n var rightBounds = this.viewportRight + 200;\n var columnToMuchLeft = columnLeft < leftBounds && columnRight < leftBounds;\n var columnToMuchRight = columnLeft > rightBounds && columnRight > rightBounds;\n return !columnToMuchLeft && !columnToMuchRight;\n };\n // used by:\n // + angularGrid -> setting pinned body width\n // note: this should be cached\n ColumnModel.prototype.getDisplayedColumnsLeftWidth = function () {\n return this.getWidthOfColsInList(this.displayedColumnsLeft);\n };\n // note: this should be cached\n ColumnModel.prototype.getDisplayedColumnsRightWidth = function () {\n return this.getWidthOfColsInList(this.displayedColumnsRight);\n };\n ColumnModel.prototype.updatePrimaryColumnList = function (keys, masterList, actionIsAdd, columnCallback, eventType, source) {\n var _this = this;\n if (source === void 0) { source = \"api\"; }\n if (!keys || missingOrEmpty(keys)) {\n return;\n }\n var atLeastOne = false;\n keys.forEach(function (key) {\n var columnToAdd = _this.getPrimaryColumn(key);\n if (!columnToAdd) {\n return;\n }\n if (actionIsAdd) {\n if (masterList.indexOf(columnToAdd) >= 0) {\n return;\n }\n masterList.push(columnToAdd);\n }\n else {\n if (masterList.indexOf(columnToAdd) < 0) {\n return;\n }\n removeFromArray(masterList, columnToAdd);\n }\n columnCallback(columnToAdd);\n atLeastOne = true;\n });\n if (!atLeastOne) {\n return;\n }\n if (this.autoGroupsNeedBuilding) {\n this.updateGridColumns();\n }\n this.updateDisplayedColumns(source);\n var event = {\n type: eventType,\n columns: masterList,\n column: masterList.length === 1 ? masterList[0] : null,\n source: source\n };\n this.eventService.dispatchEvent(event);\n };\n ColumnModel.prototype.setRowGroupColumns = function (colKeys, source) {\n if (source === void 0) { source = \"api\"; }\n this.autoGroupsNeedBuilding = true;\n this.setPrimaryColumnList(colKeys, this.rowGroupColumns, Events.EVENT_COLUMN_ROW_GROUP_CHANGED, this.setRowGroupActive.bind(this), source);\n };\n ColumnModel.prototype.setRowGroupActive = function (active, column, source) {\n if (active === column.isRowGroupActive()) {\n return;\n }\n column.setRowGroupActive(active, source);\n if (active && !this.gridOptionsWrapper.isSuppressRowGroupHidesColumns()) {\n this.setColumnVisible(column, false, source);\n }\n if (!active && !this.gridOptionsWrapper.isSuppressMakeColumnVisibleAfterUnGroup()) {\n this.setColumnVisible(column, true, source);\n }\n };\n ColumnModel.prototype.addRowGroupColumn = function (key, source) {\n if (source === void 0) { source = \"api\"; }\n if (key) {\n this.addRowGroupColumns([key], source);\n }\n };\n ColumnModel.prototype.addRowGroupColumns = function (keys, source) {\n if (source === void 0) { source = \"api\"; }\n this.autoGroupsNeedBuilding = true;\n this.updatePrimaryColumnList(keys, this.rowGroupColumns, true, this.setRowGroupActive.bind(this, true), Events.EVENT_COLUMN_ROW_GROUP_CHANGED, source);\n };\n ColumnModel.prototype.removeRowGroupColumns = function (keys, source) {\n if (source === void 0) { source = \"api\"; }\n this.autoGroupsNeedBuilding = true;\n this.updatePrimaryColumnList(keys, this.rowGroupColumns, false, this.setRowGroupActive.bind(this, false), Events.EVENT_COLUMN_ROW_GROUP_CHANGED, source);\n };\n ColumnModel.prototype.removeRowGroupColumn = function (key, source) {\n if (source === void 0) { source = \"api\"; }\n if (key) {\n this.removeRowGroupColumns([key], source);\n }\n };\n ColumnModel.prototype.addPivotColumns = function (keys, source) {\n if (source === void 0) { source = \"api\"; }\n this.updatePrimaryColumnList(keys, this.pivotColumns, true, function (column) { return column.setPivotActive(true, source); }, Events.EVENT_COLUMN_PIVOT_CHANGED, source);\n };\n ColumnModel.prototype.setPivotColumns = function (colKeys, source) {\n if (source === void 0) { source = \"api\"; }\n this.setPrimaryColumnList(colKeys, this.pivotColumns, Events.EVENT_COLUMN_PIVOT_CHANGED, function (added, column) {\n column.setPivotActive(added, source);\n }, source);\n };\n ColumnModel.prototype.addPivotColumn = function (key, source) {\n if (source === void 0) { source = \"api\"; }\n this.addPivotColumns([key], source);\n };\n ColumnModel.prototype.removePivotColumns = function (keys, source) {\n if (source === void 0) { source = \"api\"; }\n this.updatePrimaryColumnList(keys, this.pivotColumns, false, function (column) { return column.setPivotActive(false, source); }, Events.EVENT_COLUMN_PIVOT_CHANGED, source);\n };\n ColumnModel.prototype.removePivotColumn = function (key, source) {\n if (source === void 0) { source = \"api\"; }\n this.removePivotColumns([key], source);\n };\n ColumnModel.prototype.setPrimaryColumnList = function (colKeys, masterList, eventName, columnCallback, source) {\n var _this = this;\n masterList.length = 0;\n if (exists(colKeys)) {\n colKeys.forEach(function (key) {\n var column = _this.getPrimaryColumn(key);\n if (column) {\n masterList.push(column);\n }\n });\n }\n (this.primaryColumns || []).forEach(function (column) {\n var added = masterList.indexOf(column) >= 0;\n columnCallback(added, column);\n });\n if (this.autoGroupsNeedBuilding) {\n this.updateGridColumns();\n }\n this.updateDisplayedColumns(source);\n this.fireColumnEvent(eventName, masterList, source);\n };\n ColumnModel.prototype.setValueColumns = function (colKeys, source) {\n if (source === void 0) { source = \"api\"; }\n this.setPrimaryColumnList(colKeys, this.valueColumns, Events.EVENT_COLUMN_VALUE_CHANGED, this.setValueActive.bind(this), source);\n };\n ColumnModel.prototype.setValueActive = function (active, column, source) {\n if (active === column.isValueActive()) {\n return;\n }\n column.setValueActive(active, source);\n if (active && !column.getAggFunc()) {\n var initialAggFunc = this.aggFuncService.getDefaultAggFunc(column);\n column.setAggFunc(initialAggFunc);\n }\n };\n ColumnModel.prototype.addValueColumns = function (keys, source) {\n if (source === void 0) { source = \"api\"; }\n this.updatePrimaryColumnList(keys, this.valueColumns, true, this.setValueActive.bind(this, true), Events.EVENT_COLUMN_VALUE_CHANGED, source);\n };\n ColumnModel.prototype.addValueColumn = function (colKey, source) {\n if (source === void 0) { source = \"api\"; }\n if (colKey) {\n this.addValueColumns([colKey], source);\n }\n };\n ColumnModel.prototype.removeValueColumn = function (colKey, source) {\n if (source === void 0) { source = \"api\"; }\n this.removeValueColumns([colKey], source);\n };\n ColumnModel.prototype.removeValueColumns = function (keys, source) {\n if (source === void 0) { source = \"api\"; }\n this.updatePrimaryColumnList(keys, this.valueColumns, false, this.setValueActive.bind(this, false), Events.EVENT_COLUMN_VALUE_CHANGED, source);\n };\n // returns the width we can set to this col, taking into consideration min and max widths\n ColumnModel.prototype.normaliseColumnWidth = function (column, newWidth) {\n var minWidth = column.getMinWidth();\n if (exists(minWidth) && newWidth < minWidth) {\n newWidth = minWidth;\n }\n var maxWidth = column.getMaxWidth();\n if (exists(maxWidth) && column.isGreaterThanMax(newWidth)) {\n newWidth = maxWidth;\n }\n return newWidth;\n };\n ColumnModel.prototype.getPrimaryOrGridColumn = function (key) {\n var column = this.getPrimaryColumn(key);\n return column || this.getGridColumn(key);\n };\n ColumnModel.prototype.setColumnWidths = function (columnWidths, shiftKey, // @takeFromAdjacent - if user has 'shift' pressed, then pixels are taken from adjacent column\n finished, // @finished - ends up in the event, tells the user if more events are to come\n source) {\n var _this = this;\n if (source === void 0) { source = \"api\"; }\n var sets = [];\n columnWidths.forEach(function (columnWidth) {\n var col = _this.getPrimaryOrGridColumn(columnWidth.key);\n if (!col) {\n return;\n }\n sets.push({\n width: columnWidth.newWidth,\n ratios: [1],\n columns: [col]\n });\n // if user wants to do shift resize by default, then we invert the shift operation\n var defaultIsShift = _this.gridOptionsWrapper.getColResizeDefault() === 'shift';\n if (defaultIsShift) {\n shiftKey = !shiftKey;\n }\n if (shiftKey) {\n var otherCol = _this.getDisplayedColAfter(col);\n if (!otherCol) {\n return;\n }\n var widthDiff = col.getActualWidth() - columnWidth.newWidth;\n var otherColWidth = otherCol.getActualWidth() + widthDiff;\n sets.push({\n width: otherColWidth,\n ratios: [1],\n columns: [otherCol]\n });\n }\n });\n if (sets.length === 0) {\n return;\n }\n this.resizeColumnSets({\n resizeSets: sets,\n finished: finished,\n source: source\n });\n };\n ColumnModel.prototype.checkMinAndMaxWidthsForSet = function (columnResizeSet) {\n var columns = columnResizeSet.columns, width = columnResizeSet.width;\n // every col has a min width, so sum them all up and see if we have enough room\n // for all the min widths\n var minWidthAccumulated = 0;\n var maxWidthAccumulated = 0;\n var maxWidthActive = true;\n columns.forEach(function (col) {\n var minWidth = col.getMinWidth();\n minWidthAccumulated += minWidth || 0;\n var maxWidth = col.getMaxWidth();\n if (exists(maxWidth) && maxWidth > 0) {\n maxWidthAccumulated += maxWidth;\n }\n else {\n // if at least one columns has no max width, it means the group of columns\n // then has no max width, as at least one column can take as much width as possible\n maxWidthActive = false;\n }\n });\n var minWidthPasses = width >= minWidthAccumulated;\n var maxWidthPasses = !maxWidthActive || (width <= maxWidthAccumulated);\n return minWidthPasses && maxWidthPasses;\n };\n // method takes sets of columns and resizes them. either all sets will be resized, or nothing\n // be resized. this is used for example when user tries to resize a group and holds shift key,\n // then both the current group (grows), and the adjacent group (shrinks), will get resized,\n // so that's two sets for this method.\n ColumnModel.prototype.resizeColumnSets = function (params) {\n var _this = this;\n var resizeSets = params.resizeSets, finished = params.finished, source = params.source;\n var passMinMaxCheck = !resizeSets || resizeSets.every(function (columnResizeSet) { return _this.checkMinAndMaxWidthsForSet(columnResizeSet); });\n if (!passMinMaxCheck) {\n // even though we are not going to resize beyond min/max size, we still need to raise event when finished\n if (finished) {\n var columns = resizeSets && resizeSets.length > 0 ? resizeSets[0].columns : null;\n this.fireColumnResizedEvent(columns, finished, source);\n }\n return; // don't resize!\n }\n var changedCols = [];\n var allResizedCols = [];\n resizeSets.forEach(function (set) {\n var width = set.width, columns = set.columns, ratios = set.ratios;\n // keep track of pixels used, and last column gets the remaining,\n // to cater for rounding errors, and min width adjustments\n var newWidths = {};\n var finishedCols = {};\n columns.forEach(function (col) { return allResizedCols.push(col); });\n // the loop below goes through each col. if a col exceeds it's min/max width,\n // it then gets set to its min/max width and the column is removed marked as 'finished'\n // and the calculation is done again leaving this column out. take for example columns\n // {A, width: 50, maxWidth: 100}\n // {B, width: 50}\n // {C, width: 50}\n // and then the set is set to width 600 - on the first pass the grid tries to set each column\n // to 200. it checks A and sees 200 > 100 and so sets the width to 100. col A is then marked\n // as 'finished' and the calculation is done again with the remaining cols B and C, which end up\n // splitting the remaining 500 pixels.\n var finishedColsGrew = true;\n var loopCount = 0;\n var _loop_2 = function () {\n loopCount++;\n if (loopCount > 1000) {\n // this should never happen, but in the future, someone might introduce a bug here,\n // so we stop the browser from hanging and report bug properly\n console.error('AG Grid: infinite loop in resizeColumnSets');\n return \"break\";\n }\n finishedColsGrew = false;\n var subsetCols = [];\n var subsetRatioTotal = 0;\n var pixelsToDistribute = width;\n columns.forEach(function (col, index) {\n var thisColFinished = finishedCols[col.getId()];\n if (thisColFinished) {\n pixelsToDistribute -= newWidths[col.getId()];\n }\n else {\n subsetCols.push(col);\n var ratioThisCol = ratios[index];\n subsetRatioTotal += ratioThisCol;\n }\n });\n // because we are not using all of the ratios (cols can be missing),\n // we scale the ratio. if all columns are included, then subsetRatioTotal=1,\n // and so the ratioScale will be 1.\n var ratioScale = 1 / subsetRatioTotal;\n subsetCols.forEach(function (col, index) {\n var lastCol = index === (subsetCols.length - 1);\n var colNewWidth;\n if (lastCol) {\n colNewWidth = pixelsToDistribute;\n }\n else {\n colNewWidth = Math.round(ratios[index] * width * ratioScale);\n pixelsToDistribute -= colNewWidth;\n }\n var minWidth = col.getMinWidth();\n var maxWidth = col.getMaxWidth();\n if (exists(minWidth) && colNewWidth < minWidth) {\n colNewWidth = minWidth;\n finishedCols[col.getId()] = true;\n finishedColsGrew = true;\n }\n else if (exists(maxWidth) && maxWidth > 0 && colNewWidth > maxWidth) {\n colNewWidth = maxWidth;\n finishedCols[col.getId()] = true;\n finishedColsGrew = true;\n }\n newWidths[col.getId()] = colNewWidth;\n });\n };\n while (finishedColsGrew) {\n var state_1 = _loop_2();\n if (state_1 === \"break\")\n break;\n }\n columns.forEach(function (col) {\n var newWidth = newWidths[col.getId()];\n var actualWidth = col.getActualWidth();\n if (actualWidth !== newWidth) {\n col.setActualWidth(newWidth, source);\n changedCols.push(col);\n }\n });\n });\n // if no cols changed, then no need to update more or send event.\n var atLeastOneColChanged = changedCols.length > 0;\n var flexedCols = [];\n if (atLeastOneColChanged) {\n flexedCols = this.refreshFlexedColumns({ resizingCols: allResizedCols, skipSetLeft: true });\n this.setLeftValues(source);\n this.updateBodyWidths();\n this.checkViewportColumns();\n }\n // check for change first, to avoid unnecessary firing of events\n // however we always fire 'finished' events. this is important\n // when groups are resized, as if the group is changing slowly,\n // eg 1 pixel at a time, then each change will fire change events\n // in all the columns in the group, but only one with get the pixel.\n var colsForEvent = allResizedCols.concat(flexedCols);\n if (atLeastOneColChanged || finished) {\n this.fireColumnResizedEvent(colsForEvent, finished, source, flexedCols);\n }\n };\n ColumnModel.prototype.setColumnAggFunc = function (key, aggFunc, source) {\n if (source === void 0) { source = \"api\"; }\n if (!key) {\n return;\n }\n var column = this.getPrimaryColumn(key);\n if (!column) {\n return;\n }\n column.setAggFunc(aggFunc);\n this.fireColumnEvent(Events.EVENT_COLUMN_VALUE_CHANGED, [column], source);\n };\n ColumnModel.prototype.fireColumnEvent = function (type, columns, source) {\n var event = {\n type: type,\n columns: columns,\n column: (columns && columns.length == 1) ? columns[0] : null,\n source: source\n };\n this.eventService.dispatchEvent(event);\n };\n ColumnModel.prototype.moveRowGroupColumn = function (fromIndex, toIndex, source) {\n if (source === void 0) { source = \"api\"; }\n var column = this.rowGroupColumns[fromIndex];\n this.rowGroupColumns.splice(fromIndex, 1);\n this.rowGroupColumns.splice(toIndex, 0, column);\n var event = {\n type: Events.EVENT_COLUMN_ROW_GROUP_CHANGED,\n columns: this.rowGroupColumns,\n column: this.rowGroupColumns.length === 1 ? this.rowGroupColumns[0] : null,\n source: source\n };\n this.eventService.dispatchEvent(event);\n };\n ColumnModel.prototype.moveColumns = function (columnsToMoveKeys, toIndex, source) {\n if (source === void 0) { source = \"api\"; }\n this.columnAnimationService.start();\n if (toIndex > this.gridColumns.length - columnsToMoveKeys.length) {\n console.warn('AG Grid: tried to insert columns in invalid location, toIndex = ' + toIndex);\n console.warn('AG Grid: remember that you should not count the moving columns when calculating the new index');\n return;\n }\n // we want to pull all the columns out first and put them into an ordered list\n var columnsToMove = this.getGridColumns(columnsToMoveKeys);\n var failedRules = !this.doesMovePassRules(columnsToMove, toIndex);\n if (failedRules) {\n return;\n }\n moveInArray(this.gridColumns, columnsToMove, toIndex);\n this.updateDisplayedColumns(source);\n var event = {\n type: Events.EVENT_COLUMN_MOVED,\n columns: columnsToMove,\n column: columnsToMove.length === 1 ? columnsToMove[0] : null,\n toIndex: toIndex,\n source: source\n };\n this.eventService.dispatchEvent(event);\n this.columnAnimationService.finish();\n };\n ColumnModel.prototype.doesMovePassRules = function (columnsToMove, toIndex) {\n // make a copy of what the grid columns would look like after the move\n var proposedColumnOrder = this.getProposedColumnOrder(columnsToMove, toIndex);\n return this.doesOrderPassRules(proposedColumnOrder);\n };\n ColumnModel.prototype.doesOrderPassRules = function (gridOrder) {\n if (!this.doesMovePassMarryChildren(gridOrder)) {\n return false;\n }\n if (!this.doesMovePassLockedPositions(gridOrder)) {\n return false;\n }\n return true;\n };\n ColumnModel.prototype.getProposedColumnOrder = function (columnsToMove, toIndex) {\n var proposedColumnOrder = this.gridColumns.slice();\n moveInArray(proposedColumnOrder, columnsToMove, toIndex);\n return proposedColumnOrder;\n };\n // returns the provided cols sorted in same order as they appear in grid columns. eg if grid columns\n // contains [a,b,c,d,e] and col passed is [e,a] then the passed cols are sorted into [a,e]\n ColumnModel.prototype.sortColumnsLikeGridColumns = function (cols) {\n var _this = this;\n if (!cols || cols.length <= 1) {\n return;\n }\n var notAllColsInGridColumns = cols.filter(function (c) { return _this.gridColumns.indexOf(c) < 0; }).length > 0;\n if (notAllColsInGridColumns) {\n return;\n }\n cols.sort(function (a, b) {\n var indexA = _this.gridColumns.indexOf(a);\n var indexB = _this.gridColumns.indexOf(b);\n return indexA - indexB;\n });\n };\n ColumnModel.prototype.doesMovePassLockedPositions = function (proposedColumnOrder) {\n // Placement is a number indicating 'left' 'center' or 'right' as 0 1 2\n var lastPlacement = 0;\n var rulePassed = true;\n var lockPositionToPlacement = function (position) {\n if (!position) { // false or undefined\n return 1;\n }\n if (position === true) {\n return 0;\n }\n return position === 'left' ? 0 : 2; // Otherwise 'right'\n };\n proposedColumnOrder.forEach(function (col) {\n var placement = lockPositionToPlacement(col.getColDef().lockPosition);\n if (placement < lastPlacement) { // If placement goes down, we're not in the correct order\n rulePassed = false;\n }\n lastPlacement = placement;\n });\n return rulePassed;\n };\n ColumnModel.prototype.doesMovePassMarryChildren = function (allColumnsCopy) {\n var rulePassed = true;\n this.columnUtils.depthFirstOriginalTreeSearch(null, this.gridBalancedTree, function (child) {\n if (!(child instanceof ProvidedColumnGroup)) {\n return;\n }\n var columnGroup = child;\n var colGroupDef = columnGroup.getColGroupDef();\n var marryChildren = colGroupDef && colGroupDef.marryChildren;\n if (!marryChildren) {\n return;\n }\n var newIndexes = [];\n columnGroup.getLeafColumns().forEach(function (col) {\n var newColIndex = allColumnsCopy.indexOf(col);\n newIndexes.push(newColIndex);\n });\n var maxIndex = Math.max.apply(Math, newIndexes);\n var minIndex = Math.min.apply(Math, newIndexes);\n // spread is how far the first column in this group is away from the last column\n var spread = maxIndex - minIndex;\n var maxSpread = columnGroup.getLeafColumns().length - 1;\n // if the columns\n if (spread > maxSpread) {\n rulePassed = false;\n }\n // console.log(`maxIndex = ${maxIndex}, minIndex = ${minIndex}, spread = ${spread}, maxSpread = ${maxSpread}, fail = ${spread > (count-1)}`)\n // console.log(allColumnsCopy.map( col => col.getColDef().field).join(','));\n });\n return rulePassed;\n };\n ColumnModel.prototype.moveColumn = function (key, toIndex, source) {\n if (source === void 0) { source = \"api\"; }\n this.moveColumns([key], toIndex, source);\n };\n ColumnModel.prototype.moveColumnByIndex = function (fromIndex, toIndex, source) {\n if (source === void 0) { source = \"api\"; }\n var column = this.gridColumns[fromIndex];\n this.moveColumn(column, toIndex, source);\n };\n ColumnModel.prototype.getColumnDefs = function () {\n var _this = this;\n if (!this.primaryColumns) {\n return;\n }\n var cols = this.primaryColumns.slice();\n if (this.gridColsArePrimary) {\n cols.sort(function (a, b) { return _this.gridColumns.indexOf(a) - _this.gridColumns.indexOf(b); });\n }\n else if (this.lastPrimaryOrder) {\n cols.sort(function (a, b) { return _this.lastPrimaryOrder.indexOf(a) - _this.lastPrimaryOrder.indexOf(b); });\n }\n return this.columnDefFactory.buildColumnDefs(cols, this.rowGroupColumns, this.pivotColumns);\n };\n // used by:\n // + angularGrid -> for setting body width\n // + rowController -> setting main row widths (when inserting and resizing)\n // need to cache this\n ColumnModel.prototype.getBodyContainerWidth = function () {\n return this.bodyWidth;\n };\n ColumnModel.prototype.getContainerWidth = function (pinned) {\n switch (pinned) {\n case Constants.PINNED_LEFT:\n return this.leftWidth;\n case Constants.PINNED_RIGHT:\n return this.rightWidth;\n default:\n return this.bodyWidth;\n }\n };\n // after setColumnWidth or updateGroupsAndDisplayedColumns\n ColumnModel.prototype.updateBodyWidths = function () {\n var newBodyWidth = this.getWidthOfColsInList(this.displayedColumnsCenter);\n var newLeftWidth = this.getWidthOfColsInList(this.displayedColumnsLeft);\n var newRightWidth = this.getWidthOfColsInList(this.displayedColumnsRight);\n // this is used by virtual col calculation, for RTL only, as a change to body width can impact displayed\n // columns, due to RTL inverting the y coordinates\n this.bodyWidthDirty = this.bodyWidth !== newBodyWidth;\n var atLeastOneChanged = this.bodyWidth !== newBodyWidth || this.leftWidth !== newLeftWidth || this.rightWidth !== newRightWidth;\n if (atLeastOneChanged) {\n this.bodyWidth = newBodyWidth;\n this.leftWidth = newLeftWidth;\n this.rightWidth = newRightWidth;\n // when this fires, it is picked up by the gridPanel, which ends up in\n // gridPanel calling setWidthAndScrollPosition(), which in turn calls setViewportPosition()\n var event_2 = {\n type: Events.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED,\n };\n this.eventService.dispatchEvent(event_2);\n }\n };\n // + rowController\n ColumnModel.prototype.getValueColumns = function () {\n return this.valueColumns ? this.valueColumns : [];\n };\n // + rowController\n ColumnModel.prototype.getPivotColumns = function () {\n return this.pivotColumns ? this.pivotColumns : [];\n };\n // + clientSideRowModel\n ColumnModel.prototype.isPivotActive = function () {\n return this.pivotColumns && this.pivotColumns.length > 0 && this.pivotMode;\n };\n // + toolPanel\n ColumnModel.prototype.getRowGroupColumns = function () {\n return this.rowGroupColumns ? this.rowGroupColumns : [];\n };\n // + rowController -> while inserting rows\n ColumnModel.prototype.getDisplayedCenterColumns = function () {\n return this.displayedColumnsCenter;\n };\n // + rowController -> while inserting rows\n ColumnModel.prototype.getDisplayedLeftColumns = function () {\n return this.displayedColumnsLeft;\n };\n ColumnModel.prototype.getDisplayedRightColumns = function () {\n return this.displayedColumnsRight;\n };\n ColumnModel.prototype.getDisplayedColumns = function (type) {\n switch (type) {\n case Constants.PINNED_LEFT:\n return this.getDisplayedLeftColumns();\n case Constants.PINNED_RIGHT:\n return this.getDisplayedRightColumns();\n default:\n return this.getDisplayedCenterColumns();\n }\n };\n // used by:\n // + clientSideRowController -> sorting, building quick filter text\n // + headerRenderer -> sorting (clearing icon)\n ColumnModel.prototype.getAllPrimaryColumns = function () {\n return this.primaryColumns ? this.primaryColumns.slice() : null;\n };\n ColumnModel.prototype.getSecondaryColumns = function () {\n return this.secondaryColumns ? this.secondaryColumns.slice() : null;\n };\n ColumnModel.prototype.getAllColumnsForQuickFilter = function () {\n return this.columnsForQuickFilter;\n };\n // + moveColumnController\n ColumnModel.prototype.getAllGridColumns = function () {\n return this.gridColumns;\n };\n ColumnModel.prototype.isEmpty = function () {\n return missingOrEmpty(this.gridColumns);\n };\n ColumnModel.prototype.isRowGroupEmpty = function () {\n return missingOrEmpty(this.rowGroupColumns);\n };\n ColumnModel.prototype.setColumnVisible = function (key, visible, source) {\n if (source === void 0) { source = \"api\"; }\n this.setColumnsVisible([key], visible, source);\n };\n ColumnModel.prototype.setColumnsVisible = function (keys, visible, source) {\n if (visible === void 0) { visible = false; }\n if (source === void 0) { source = \"api\"; }\n this.applyColumnState({\n state: keys.map(function (key) { return ({\n colId: typeof key === 'string' ? key : key.getColId(),\n hide: !visible,\n }); }),\n }, source);\n };\n ColumnModel.prototype.setColumnPinned = function (key, pinned, source) {\n if (source === void 0) { source = \"api\"; }\n if (key) {\n this.setColumnsPinned([key], pinned, source);\n }\n };\n ColumnModel.prototype.setColumnsPinned = function (keys, pinned, source) {\n if (source === void 0) { source = \"api\"; }\n if (this.gridOptionsWrapper.getDomLayout() === 'print') {\n console.warn(\"Changing the column pinning status is not allowed with domLayout='print'\");\n return;\n }\n this.columnAnimationService.start();\n var actualPinned;\n if (pinned === true || pinned === Constants.PINNED_LEFT) {\n actualPinned = Constants.PINNED_LEFT;\n }\n else if (pinned === Constants.PINNED_RIGHT) {\n actualPinned = Constants.PINNED_RIGHT;\n }\n else {\n actualPinned = null;\n }\n this.actionOnGridColumns(keys, function (col) {\n if (col.getPinned() !== actualPinned) {\n col.setPinned(actualPinned);\n return true;\n }\n return false;\n }, source, function () {\n var event = {\n type: Events.EVENT_COLUMN_PINNED,\n pinned: actualPinned,\n column: null,\n columns: null,\n source: source\n };\n return event;\n });\n this.columnAnimationService.finish();\n };\n // does an action on a set of columns. provides common functionality for looking up the\n // columns based on key, getting a list of effected columns, and then updated the event\n // with either one column (if it was just one col) or a list of columns\n // used by: autoResize, setVisible, setPinned\n ColumnModel.prototype.actionOnGridColumns = function (// the column keys this action will be on\n keys, \n // the action to do - if this returns false, the column was skipped\n // and won't be included in the event\n action, \n // should return back a column event of the right type\n source, createEvent) {\n var _this = this;\n if (missingOrEmpty(keys)) {\n return;\n }\n var updatedColumns = [];\n keys.forEach(function (key) {\n var column = _this.getGridColumn(key);\n if (!column) {\n return;\n }\n // need to check for false with type (ie !== instead of !=)\n // as not returning anything (undefined) would also be false\n var resultOfAction = action(column);\n if (resultOfAction !== false) {\n updatedColumns.push(column);\n }\n });\n if (!updatedColumns.length) {\n return;\n }\n this.updateDisplayedColumns(source);\n if (exists(createEvent) && createEvent) {\n var event_3 = createEvent();\n event_3.columns = updatedColumns;\n event_3.column = updatedColumns.length === 1 ? updatedColumns[0] : null;\n this.eventService.dispatchEvent(event_3);\n }\n };\n ColumnModel.prototype.getDisplayedColBefore = function (col) {\n var allDisplayedColumns = this.getAllDisplayedColumns();\n var oldIndex = allDisplayedColumns.indexOf(col);\n if (oldIndex > 0) {\n return allDisplayedColumns[oldIndex - 1];\n }\n return null;\n };\n // used by:\n // + rowRenderer -> for navigation\n ColumnModel.prototype.getDisplayedColAfter = function (col) {\n var allDisplayedColumns = this.getAllDisplayedColumns();\n var oldIndex = allDisplayedColumns.indexOf(col);\n if (oldIndex < (allDisplayedColumns.length - 1)) {\n return allDisplayedColumns[oldIndex + 1];\n }\n return null;\n };\n ColumnModel.prototype.getDisplayedGroupAfter = function (columnGroup) {\n return this.getDisplayedGroupAtDirection(columnGroup, 'After');\n };\n ColumnModel.prototype.getDisplayedGroupBefore = function (columnGroup) {\n return this.getDisplayedGroupAtDirection(columnGroup, 'Before');\n };\n ColumnModel.prototype.getDisplayedGroupAtDirection = function (columnGroup, direction) {\n // pick the last displayed column in this group\n var requiredLevel = columnGroup.getProvidedColumnGroup().getLevel() + columnGroup.getPaddingLevel();\n var colGroupLeafColumns = columnGroup.getDisplayedLeafColumns();\n var col = direction === 'After' ? last(colGroupLeafColumns) : colGroupLeafColumns[0];\n var getDisplayColMethod = \"getDisplayedCol\" + direction;\n while (true) {\n // keep moving to the next col, until we get to another group\n var column = this[getDisplayColMethod](col);\n if (!column) {\n return null;\n }\n var groupPointer = this.getColumnGroupAtLevel(column, requiredLevel);\n if (groupPointer !== columnGroup) {\n return groupPointer;\n }\n }\n };\n ColumnModel.prototype.getColumnGroupAtLevel = function (column, level) {\n // get group at same level as the one we are looking for\n var groupPointer = column.getParent();\n var originalGroupLevel;\n var groupPointerLevel;\n while (true) {\n var groupPointerProvidedColumnGroup = groupPointer.getProvidedColumnGroup();\n originalGroupLevel = groupPointerProvidedColumnGroup.getLevel();\n groupPointerLevel = groupPointer.getPaddingLevel();\n if (originalGroupLevel + groupPointerLevel <= level) {\n break;\n }\n groupPointer = groupPointer.getParent();\n }\n return groupPointer;\n };\n ColumnModel.prototype.isPinningLeft = function () {\n return this.displayedColumnsLeft.length > 0;\n };\n ColumnModel.prototype.isPinningRight = function () {\n return this.displayedColumnsRight.length > 0;\n };\n ColumnModel.prototype.getPrimaryAndSecondaryAndAutoColumns = function () {\n var _a;\n return (_a = []).concat.apply(_a, __spread$f([\n this.primaryColumns || [],\n this.groupAutoColumns || [],\n this.secondaryColumns || [],\n ]));\n };\n ColumnModel.prototype.getPrimaryAndAutoGroupCols = function () {\n var _a;\n return (_a = []).concat.apply(_a, __spread$f([\n this.primaryColumns || [],\n this.groupAutoColumns || [],\n ]));\n };\n ColumnModel.prototype.getPrimaryAndSecondaryColumns = function () {\n var _a;\n return (_a = []).concat.apply(_a, __spread$f([\n this.primaryColumns || [],\n this.secondaryColumns || [],\n ]));\n };\n ColumnModel.prototype.createStateItemFromColumn = function (column) {\n var rowGroupIndex = column.isRowGroupActive() ? this.rowGroupColumns.indexOf(column) : null;\n var pivotIndex = column.isPivotActive() ? this.pivotColumns.indexOf(column) : null;\n var aggFunc = column.isValueActive() ? column.getAggFunc() : null;\n var sort = column.getSort() != null ? column.getSort() : null;\n var sortIndex = column.getSortIndex() != null ? column.getSortIndex() : null;\n var flex = column.getFlex() != null && column.getFlex() > 0 ? column.getFlex() : null;\n var res = {\n colId: column.getColId(),\n width: column.getActualWidth(),\n hide: !column.isVisible(),\n pinned: column.getPinned(),\n sort: sort,\n sortIndex: sortIndex,\n aggFunc: aggFunc,\n rowGroup: column.isRowGroupActive(),\n rowGroupIndex: rowGroupIndex,\n pivot: column.isPivotActive(),\n pivotIndex: pivotIndex,\n flex: flex\n };\n return res;\n };\n ColumnModel.prototype.getColumnState = function () {\n if (missing(this.primaryColumns) || !this.isAlive()) {\n return [];\n }\n var colsForState = this.getPrimaryAndSecondaryAndAutoColumns();\n var res = colsForState.map(this.createStateItemFromColumn.bind(this));\n this.orderColumnStateList(res);\n return res;\n };\n ColumnModel.prototype.orderColumnStateList = function (columnStateList) {\n // for fast looking, store the index of each column\n var colIdToGridIndexMap = convertToMap(this.gridColumns.map(function (col, index) { return [col.getColId(), index]; }));\n columnStateList.sort(function (itemA, itemB) {\n var posA = colIdToGridIndexMap.has(itemA.colId) ? colIdToGridIndexMap.get(itemA.colId) : -1;\n var posB = colIdToGridIndexMap.has(itemB.colId) ? colIdToGridIndexMap.get(itemB.colId) : -1;\n return posA - posB;\n });\n };\n ColumnModel.prototype.resetColumnState = function (source) {\n // NOTE = there is one bug here that no customer has noticed - if a column has colDef.lockPosition,\n // this is ignored below when ordering the cols. to work, we should always put lockPosition cols first.\n // As a work around, developers should just put lockPosition columns first in their colDef list.\n if (source === void 0) { source = \"api\"; }\n // we can't use 'allColumns' as the order might of messed up, so get the primary ordered list\n var primaryColumns = this.getColumnsFromTree(this.primaryColumnTree);\n var columnStates = [];\n // we start at 1000, so if user has mix of rowGroup and group specified, it will work with both.\n // eg IF user has ColA.rowGroupIndex=0, ColB.rowGroupIndex=1, ColC.rowGroup=true,\n // THEN result will be ColA.rowGroupIndex=0, ColB.rowGroupIndex=1, ColC.rowGroup=1000\n var letRowGroupIndex = 1000;\n var letPivotIndex = 1000;\n var colsToProcess = [];\n if (this.groupAutoColumns) {\n colsToProcess = colsToProcess.concat(this.groupAutoColumns);\n }\n if (primaryColumns) {\n colsToProcess = colsToProcess.concat(primaryColumns);\n }\n colsToProcess.forEach(function (column) {\n var getValueOrNull = function (a, b) { return a != null ? a : b != null ? b : null; };\n var colDef = column.getColDef();\n var sort = getValueOrNull(colDef.sort, colDef.initialSort);\n var sortIndex = getValueOrNull(colDef.sortIndex, colDef.initialSortIndex);\n var hide = getValueOrNull(colDef.hide, colDef.initialHide);\n var pinned = getValueOrNull(colDef.pinned, colDef.initialPinned);\n var width = getValueOrNull(colDef.width, colDef.initialWidth);\n var flex = getValueOrNull(colDef.flex, colDef.initialFlex);\n var rowGroupIndex = getValueOrNull(colDef.rowGroupIndex, colDef.initialRowGroupIndex);\n var rowGroup = getValueOrNull(colDef.rowGroup, colDef.initialRowGroup);\n if (rowGroupIndex == null && (rowGroup == null || rowGroup == false)) {\n rowGroupIndex = null;\n rowGroup = null;\n }\n var pivotIndex = getValueOrNull(colDef.pivotIndex, colDef.initialPivotIndex);\n var pivot = getValueOrNull(colDef.pivot, colDef.initialPivot);\n if (pivotIndex == null && (pivot == null || pivot == false)) {\n pivotIndex = null;\n pivot = null;\n }\n var aggFunc = getValueOrNull(colDef.aggFunc, colDef.initialAggFunc);\n var stateItem = {\n colId: column.getColId(),\n sort: sort,\n sortIndex: sortIndex,\n hide: hide,\n pinned: pinned,\n width: width,\n flex: flex,\n rowGroup: rowGroup,\n rowGroupIndex: rowGroupIndex,\n pivot: pivot,\n pivotIndex: pivotIndex,\n aggFunc: aggFunc,\n };\n if (missing(rowGroupIndex) && rowGroup) {\n stateItem.rowGroupIndex = letRowGroupIndex++;\n }\n if (missing(pivotIndex) && pivot) {\n stateItem.pivotIndex = letPivotIndex++;\n }\n columnStates.push(stateItem);\n });\n this.applyColumnState({ state: columnStates, applyOrder: true }, source);\n };\n ColumnModel.prototype.applyColumnState = function (params, source) {\n var _this = this;\n if (missingOrEmpty(this.primaryColumns)) {\n return false;\n }\n if (params && params.state && !params.state.forEach) {\n console.warn('AG Grid: applyColumnState() - the state attribute should be an array, however an array was not found. Please provide an array of items (one for each col you want to change) for state.');\n return false;\n }\n var applyStates = function (states, existingColumns, getById) {\n var raiseEventsFunc = _this.compareColumnStatesAndRaiseEvents(source);\n _this.autoGroupsNeedBuilding = true;\n // at the end below, this list will have all columns we got no state for\n var columnsWithNoState = existingColumns.slice();\n var rowGroupIndexes = {};\n var pivotIndexes = {};\n var autoGroupColumnStates = [];\n // If pivoting is modified, these are the states we try to reapply after\n // the secondary columns are re-generated\n var unmatchedAndAutoStates = [];\n var unmatchedCount = 0;\n var previousRowGroupCols = _this.rowGroupColumns.slice();\n var previousPivotCols = _this.pivotColumns.slice();\n states.forEach(function (state) {\n var colId = state.colId || '';\n // auto group columns are re-created so deferring syncing with ColumnState\n var isAutoGroupColumn = colId.startsWith(Constants.GROUP_AUTO_COLUMN_ID);\n if (isAutoGroupColumn) {\n autoGroupColumnStates.push(state);\n unmatchedAndAutoStates.push(state);\n return;\n }\n var column = getById(colId);\n if (!column) {\n unmatchedAndAutoStates.push(state);\n unmatchedCount += 1;\n }\n else {\n _this.syncColumnWithStateItem(column, state, params.defaultState, rowGroupIndexes, pivotIndexes, false, source);\n removeFromArray(columnsWithNoState, column);\n }\n });\n // anything left over, we got no data for, so add in the column as non-value, non-rowGroup and hidden\n var applyDefaultsFunc = function (col) {\n return _this.syncColumnWithStateItem(col, null, params.defaultState, rowGroupIndexes, pivotIndexes, false, source);\n };\n columnsWithNoState.forEach(applyDefaultsFunc);\n // sort the lists according to the indexes that were provided\n var comparator = function (indexes, oldList, colA, colB) {\n var indexA = indexes[colA.getId()];\n var indexB = indexes[colB.getId()];\n var aHasIndex = indexA != null;\n var bHasIndex = indexB != null;\n if (aHasIndex && bHasIndex) {\n // both a and b are new cols with index, so sort on index\n return indexA - indexB;\n }\n if (aHasIndex) {\n // a has an index, so it should be before a\n return -1;\n }\n if (bHasIndex) {\n // b has an index, so it should be before a\n return 1;\n }\n var oldIndexA = oldList.indexOf(colA);\n var oldIndexB = oldList.indexOf(colB);\n var aHasOldIndex = oldIndexA >= 0;\n var bHasOldIndex = oldIndexB >= 0;\n if (aHasOldIndex && bHasOldIndex) {\n // both a and b are old cols, so sort based on last order\n return oldIndexA - oldIndexB;\n }\n if (aHasOldIndex) {\n // a is old, b is new, so b is first\n return -1;\n }\n // this bit does matter, means both are new cols\n // but without index or that b is old and a is new\n return 1;\n };\n _this.rowGroupColumns.sort(comparator.bind(_this, rowGroupIndexes, previousRowGroupCols));\n _this.pivotColumns.sort(comparator.bind(_this, pivotIndexes, previousPivotCols));\n _this.updateGridColumns();\n // sync newly created auto group columns with ColumnState\n var autoGroupColsCopy = _this.groupAutoColumns ? _this.groupAutoColumns.slice() : [];\n autoGroupColumnStates.forEach(function (stateItem) {\n var autoCol = _this.getAutoColumn(stateItem.colId);\n removeFromArray(autoGroupColsCopy, autoCol);\n _this.syncColumnWithStateItem(autoCol, stateItem, params.defaultState, null, null, true, source);\n });\n // autogroup cols with nothing else, apply the default\n autoGroupColsCopy.forEach(applyDefaultsFunc);\n _this.applyOrderAfterApplyState(params);\n _this.updateDisplayedColumns(source);\n _this.dispatchEverythingChanged(source);\n raiseEventsFunc(); // Will trigger secondary column changes if pivoting modified\n return { unmatchedAndAutoStates: unmatchedAndAutoStates, unmatchedCount: unmatchedCount };\n };\n this.columnAnimationService.start();\n var _a = applyStates(params.state || [], this.primaryColumns || [], function (id) { return _this.getPrimaryColumn(id); }), unmatchedAndAutoStates = _a.unmatchedAndAutoStates, unmatchedCount = _a.unmatchedCount;\n // If there are still states left over, see if we can apply them to newly generated\n // secondary or auto columns. Also if defaults exist, ensure they are applied to secondary cols\n if (unmatchedAndAutoStates.length > 0 || exists(params.defaultState)) {\n unmatchedCount = applyStates(unmatchedAndAutoStates, this.secondaryColumns || [], function (id) { return _this.getSecondaryColumn(id); }).unmatchedCount;\n }\n this.columnAnimationService.finish();\n return unmatchedCount === 0; // Successful if no states unaccounted for\n };\n ColumnModel.prototype.applyOrderAfterApplyState = function (params) {\n var _this = this;\n if (!params.applyOrder || !params.state) {\n return;\n }\n var newOrder = [];\n var processedColIds = {};\n params.state.forEach(function (item) {\n if (!item.colId || processedColIds[item.colId]) {\n return;\n }\n var col = _this.gridColumnsMap[item.colId];\n if (col) {\n newOrder.push(col);\n processedColIds[item.colId] = true;\n }\n });\n // add in all other columns\n var autoGroupInsertIndex = 0;\n this.gridColumns.forEach(function (col) {\n var colId = col.getColId();\n var alreadyProcessed = processedColIds[colId] != null;\n if (alreadyProcessed) {\n return;\n }\n var isAutoGroupCol = colId.startsWith(Constants.GROUP_AUTO_COLUMN_ID);\n if (isAutoGroupCol) {\n // auto group columns, if missing from state list, are added to the start.\n // it's common to have autoGroup missing, as grouping could be on by default\n // on a column, but the user could of since removed the grouping via the UI.\n // if we don't inc the insert index, autoGroups will be inserted in reverse order\n insertIntoArray(newOrder, col, autoGroupInsertIndex++);\n }\n else {\n // normal columns, if missing from state list, are added at the end\n newOrder.push(col);\n }\n });\n // this is already done in updateGridColumns, however we changed the order above (to match the order of the state\n // columns) so we need to do it again. we could of put logic into the order above to take into account fixed\n // columns, however if we did then we would have logic for updating fixed columns twice. reusing the logic here\n // is less sexy for the code here, but it keeps consistency.\n newOrder = this.placeLockedColumns(newOrder);\n if (!this.doesMovePassMarryChildren(newOrder)) {\n console.warn('AG Grid: Applying column order broke a group where columns should be married together. Applying new order has been discarded.');\n return;\n }\n this.gridColumns = newOrder;\n };\n ColumnModel.prototype.compareColumnStatesAndRaiseEvents = function (source) {\n var _this = this;\n var startState = {\n rowGroupColumns: this.rowGroupColumns.slice(),\n pivotColumns: this.pivotColumns.slice(),\n valueColumns: this.valueColumns.slice()\n };\n var columnStateBefore = this.getColumnState();\n var columnStateBeforeMap = {};\n columnStateBefore.forEach(function (col) {\n columnStateBeforeMap[col.colId] = col;\n });\n return function () {\n if (_this.gridOptionsWrapper.isSuppressColumnStateEvents()) {\n return;\n }\n var colsForState = _this.getPrimaryAndSecondaryAndAutoColumns();\n // raises generic ColumnEvents where all columns are returned rather than what has changed\n var raiseWhenListsDifferent = function (eventType, colsBefore, colsAfter, idMapper) {\n var beforeList = colsBefore.map(idMapper);\n var afterList = colsAfter.map(idMapper);\n var unchanged = areEqual(beforeList, afterList);\n if (unchanged) {\n return;\n }\n // returning all columns rather than what has changed!\n var event = {\n type: eventType,\n columns: colsAfter,\n column: colsAfter.length === 1 ? colsAfter[0] : null,\n source: source\n };\n _this.eventService.dispatchEvent(event);\n };\n // determines which columns have changed according to supplied predicate\n var getChangedColumns = function (changedPredicate) {\n var changedColumns = [];\n colsForState.forEach(function (column) {\n var colStateBefore = columnStateBeforeMap[column.getColId()];\n if (colStateBefore && changedPredicate(colStateBefore, column)) {\n changedColumns.push(column);\n }\n });\n return changedColumns;\n };\n var columnIdMapper = function (c) { return c.getColId(); };\n raiseWhenListsDifferent(Events.EVENT_COLUMN_ROW_GROUP_CHANGED, startState.rowGroupColumns, _this.rowGroupColumns, columnIdMapper);\n raiseWhenListsDifferent(Events.EVENT_COLUMN_PIVOT_CHANGED, startState.pivotColumns, _this.pivotColumns, columnIdMapper);\n var valueChangePredicate = function (cs, c) {\n var oldActive = cs.aggFunc != null;\n var activeChanged = oldActive != c.isValueActive();\n // we only check aggFunc if the agg is active\n var aggFuncChanged = oldActive && cs.aggFunc != c.getAggFunc();\n return activeChanged || aggFuncChanged;\n };\n var changedValues = getChangedColumns(valueChangePredicate);\n if (changedValues.length > 0) {\n // we pass all value columns, now the ones that changed. this is the same\n // as pivot and rowGroup cols, but different to all other properties below.\n // this is more for backwards compatibility, as it's always been this way.\n // really it should be the other way, as the order of the cols makes no difference\n // for valueColumns (apart from displaying them in the tool panel).\n _this.fireColumnEvent(Events.EVENT_COLUMN_VALUE_CHANGED, _this.valueColumns, source);\n }\n var resizeChangePredicate = function (cs, c) { return cs.width != c.getActualWidth(); };\n _this.fireColumnResizedEvent(getChangedColumns(resizeChangePredicate), true, source);\n var pinnedChangePredicate = function (cs, c) { return cs.pinned != c.getPinned(); };\n _this.raiseColumnPinnedEvent(getChangedColumns(pinnedChangePredicate), source);\n var visibilityChangePredicate = function (cs, c) { return cs.hide == c.isVisible(); };\n _this.raiseColumnVisibleEvent(getChangedColumns(visibilityChangePredicate), source);\n var sortChangePredicate = function (cs, c) { return cs.sort != c.getSort() || cs.sortIndex != c.getSortIndex(); };\n if (getChangedColumns(sortChangePredicate).length > 0) {\n _this.sortController.dispatchSortChangedEvents(source);\n }\n // special handling for moved column events\n _this.raiseColumnMovedEvent(columnStateBefore, source);\n };\n };\n ColumnModel.prototype.raiseColumnPinnedEvent = function (changedColumns, source) {\n if (!changedColumns.length) {\n return;\n }\n // if just one column, we use this, otherwise we don't include the col\n var column = changedColumns.length === 1 ? changedColumns[0] : null;\n // only include visible if it's common in all columns\n var pinned = this.getCommonValue(changedColumns, function (col) { return col.getPinned(); });\n var event = {\n type: Events.EVENT_COLUMN_PINNED,\n // mistake in typing, 'undefined' should be allowed, as 'null' means 'not pinned'\n pinned: pinned != null ? pinned : null,\n columns: changedColumns,\n column: column,\n source: source\n };\n this.eventService.dispatchEvent(event);\n };\n ColumnModel.prototype.getCommonValue = function (cols, valueGetter) {\n if (!cols || cols.length == 0) {\n return undefined;\n }\n // compare each value to the first value. if nothing differs, then value is common so return it.\n var firstValue = valueGetter(cols[0]);\n for (var i = 1; i < cols.length; i++) {\n if (firstValue !== valueGetter(cols[i])) {\n // values differ, no common value\n return undefined;\n }\n }\n return firstValue;\n };\n ColumnModel.prototype.raiseColumnVisibleEvent = function (changedColumns, source) {\n if (!changedColumns.length) {\n return;\n }\n // if just one column, we use this, otherwise we don't include the col\n var column = changedColumns.length === 1 ? changedColumns[0] : null;\n // only include visible if it's common in all columns\n var visible = this.getCommonValue(changedColumns, function (col) { return col.isVisible(); });\n var event = {\n type: Events.EVENT_COLUMN_VISIBLE,\n visible: visible,\n columns: changedColumns,\n column: column,\n source: source\n };\n this.eventService.dispatchEvent(event);\n };\n ColumnModel.prototype.raiseColumnMovedEvent = function (colStateBefore, source) {\n // we are only interested in columns that were both present and visible before and after\n var _this = this;\n var colStateAfter = this.getColumnState();\n var colStateAfterMapped = {};\n colStateAfter.forEach(function (s) { return colStateAfterMapped[s.colId] = s; });\n // get id's of cols in both before and after lists\n var colsIntersectIds = {};\n colStateBefore.forEach(function (s) {\n if (colStateAfterMapped[s.colId]) {\n colsIntersectIds[s.colId] = true;\n }\n });\n // filter state lists, so we only have cols that were present before and after\n var beforeFiltered = colStateBefore.filter(function (c) { return colsIntersectIds[c.colId]; });\n var afterFiltered = colStateAfter.filter(function (c) { return colsIntersectIds[c.colId]; });\n // see if any cols are in a different location\n var movedColumns = [];\n afterFiltered.forEach(function (csAfter, index) {\n var csBefore = beforeFiltered && beforeFiltered[index];\n if (csBefore && csBefore.colId !== csAfter.colId) {\n var gridCol = _this.getGridColumn(csBefore.colId);\n if (gridCol) {\n movedColumns.push(gridCol);\n }\n }\n });\n if (!movedColumns.length) {\n return;\n }\n var event = {\n type: Events.EVENT_COLUMN_MOVED,\n columns: movedColumns,\n column: null,\n source: source\n };\n this.eventService.dispatchEvent(event);\n };\n ColumnModel.prototype.syncColumnWithStateItem = function (column, stateItem, defaultState, rowGroupIndexes, pivotIndexes, autoCol, source) {\n if (!column) {\n return;\n }\n var getValue = function (key1, key2) {\n var obj = { value1: undefined, value2: undefined };\n var calculated = false;\n if (stateItem) {\n if (stateItem[key1] !== undefined) {\n obj.value1 = stateItem[key1];\n calculated = true;\n }\n if (exists(key2) && stateItem[key2] !== undefined) {\n obj.value2 = stateItem[key2];\n calculated = true;\n }\n }\n if (!calculated && defaultState) {\n if (defaultState[key1] !== undefined) {\n obj.value1 = defaultState[key1];\n }\n if (exists(key2) && defaultState[key2] !== undefined) {\n obj.value2 = defaultState[key2];\n }\n }\n return obj;\n };\n // following ensures we are left with boolean true or false, eg converts (null, undefined, 0) all to true\n var hide = getValue('hide').value1;\n if (hide !== undefined) {\n column.setVisible(!hide, source);\n }\n // sets pinned to 'left' or 'right'\n var pinned = getValue('pinned').value1;\n if (pinned !== undefined) {\n column.setPinned(pinned);\n }\n // if width provided and valid, use it, otherwise stick with the old width\n var minColWidth = this.columnUtils.calculateColMinWidth(column.getColDef());\n // flex\n var flex = getValue('flex').value1;\n if (flex !== undefined) {\n column.setFlex(flex);\n }\n // width - we only set width if column is not flexing\n var noFlexThisCol = column.getFlex() <= 0;\n if (noFlexThisCol) {\n // both null and undefined means we skip, as it's not possible to 'clear' width (a column must have a width)\n var width = getValue('width').value1;\n if (width != null) {\n if (minColWidth != null && width >= minColWidth) {\n column.setActualWidth(width, source);\n }\n }\n }\n var sort = getValue('sort').value1;\n if (sort !== undefined) {\n if (sort === Constants.SORT_DESC || sort === Constants.SORT_ASC) {\n column.setSort(sort, source);\n }\n else {\n column.setSort(undefined, source);\n }\n }\n var sortIndex = getValue('sortIndex').value1;\n if (sortIndex !== undefined) {\n column.setSortIndex(sortIndex);\n }\n // we do not do aggFunc, rowGroup or pivot for auto cols or secondary cols\n if (autoCol || !column.isPrimary()) {\n return;\n }\n var aggFunc = getValue('aggFunc').value1;\n if (aggFunc !== undefined) {\n if (typeof aggFunc === 'string') {\n column.setAggFunc(aggFunc);\n if (!column.isValueActive()) {\n column.setValueActive(true, source);\n this.valueColumns.push(column);\n }\n }\n else {\n if (exists(aggFunc)) {\n console.warn('AG Grid: stateItem.aggFunc must be a string. if using your own aggregation ' +\n 'functions, register the functions first before using them in get/set state. This is because it is ' +\n 'intended for the column state to be stored and retrieved as simple JSON.');\n }\n // Note: we do not call column.setAggFunc(null), so that next time we aggregate\n // by this column (eg drag the column to the agg section int he toolpanel) it will\n // default to the last aggregation function.\n if (column.isValueActive()) {\n column.setValueActive(false, source);\n removeFromArray(this.valueColumns, column);\n }\n }\n }\n var _a = getValue('rowGroup', 'rowGroupIndex'), rowGroup = _a.value1, rowGroupIndex = _a.value2;\n if (rowGroup !== undefined || rowGroupIndex !== undefined) {\n if (typeof rowGroupIndex === 'number' || rowGroup) {\n if (!column.isRowGroupActive()) {\n column.setRowGroupActive(true, source);\n this.rowGroupColumns.push(column);\n }\n if (rowGroupIndexes && typeof rowGroupIndex === 'number') {\n rowGroupIndexes[column.getId()] = rowGroupIndex;\n }\n }\n else {\n if (column.isRowGroupActive()) {\n column.setRowGroupActive(false, source);\n removeFromArray(this.rowGroupColumns, column);\n }\n }\n }\n var _b = getValue('pivot', 'pivotIndex'), pivot = _b.value1, pivotIndex = _b.value2;\n if (pivot !== undefined || pivotIndex !== undefined) {\n if (typeof pivotIndex === 'number' || pivot) {\n if (!column.isPivotActive()) {\n column.setPivotActive(true, source);\n this.pivotColumns.push(column);\n }\n if (pivotIndexes && typeof pivotIndex === 'number') {\n pivotIndexes[column.getId()] = pivotIndex;\n }\n }\n else {\n if (column.isPivotActive()) {\n column.setPivotActive(false, source);\n removeFromArray(this.pivotColumns, column);\n }\n }\n }\n };\n ColumnModel.prototype.getGridColumns = function (keys) {\n return this.getColumns(keys, this.getGridColumn.bind(this));\n };\n ColumnModel.prototype.getColumns = function (keys, columnLookupCallback) {\n var foundColumns = [];\n if (keys) {\n keys.forEach(function (key) {\n var column = columnLookupCallback(key);\n if (column) {\n foundColumns.push(column);\n }\n });\n }\n return foundColumns;\n };\n // used by growGroupPanel\n ColumnModel.prototype.getColumnWithValidation = function (key) {\n if (key == null) {\n return null;\n }\n var column = this.getGridColumn(key);\n if (!column) {\n console.warn('AG Grid: could not find column ' + key);\n }\n return column;\n };\n ColumnModel.prototype.getPrimaryColumn = function (key) {\n if (!this.primaryColumns) {\n return null;\n }\n return this.getColumn(key, this.primaryColumns, this.primaryColumnsMap);\n };\n ColumnModel.prototype.getGridColumn = function (key) {\n return this.getColumn(key, this.gridColumns, this.gridColumnsMap);\n };\n ColumnModel.prototype.getSecondaryColumn = function (key) {\n if (!this.secondaryColumns) {\n return null;\n }\n return this.getColumn(key, this.secondaryColumns, this.secondaryColumnsMap);\n };\n ColumnModel.prototype.getColumn = function (key, columnList, columnMap) {\n if (!key) {\n return null;\n }\n // most of the time this method gets called the key is a string, so we put this shortcut in\n // for performance reasons, to see if we can match for ID (it doesn't do auto columns, that's done below)\n if (typeof key == 'string' && columnMap[key]) {\n return columnMap[key];\n }\n for (var i = 0; i < columnList.length; i++) {\n if (this.columnsMatch(columnList[i], key)) {\n return columnList[i];\n }\n }\n return this.getAutoColumn(key);\n };\n ColumnModel.prototype.getSourceColumnsForGroupColumn = function (groupCol) {\n var sourceColumnId = groupCol.getColDef().showRowGroup;\n if (!sourceColumnId) {\n return null;\n }\n if (sourceColumnId === true) {\n return this.rowGroupColumns.slice(0);\n }\n var column = this.getPrimaryColumn(sourceColumnId);\n return column ? [column] : null;\n };\n ColumnModel.prototype.getAutoColumn = function (key) {\n var _this = this;\n if (!this.groupAutoColumns ||\n !exists(this.groupAutoColumns) ||\n missing(this.groupAutoColumns)) {\n return null;\n }\n return this.groupAutoColumns.find(function (groupCol) { return _this.columnsMatch(groupCol, key); }) || null;\n };\n ColumnModel.prototype.columnsMatch = function (column, key) {\n var columnMatches = column === key;\n var colDefMatches = column.getColDef() === key;\n var idMatches = column.getColId() == key;\n return columnMatches || colDefMatches || idMatches;\n };\n ColumnModel.prototype.getDisplayNameForColumn = function (column, location, includeAggFunc) {\n if (includeAggFunc === void 0) { includeAggFunc = false; }\n if (!column) {\n return null;\n }\n var headerName = this.getHeaderName(column.getColDef(), column, null, null, location);\n if (includeAggFunc) {\n return this.wrapHeaderNameWithAggFunc(column, headerName);\n }\n return headerName;\n };\n ColumnModel.prototype.getDisplayNameForProvidedColumnGroup = function (columnGroup, providedColumnGroup, location) {\n var colGroupDef = providedColumnGroup ? providedColumnGroup.getColGroupDef() : null;\n if (colGroupDef) {\n return this.getHeaderName(colGroupDef, null, columnGroup, providedColumnGroup, location);\n }\n return null;\n };\n ColumnModel.prototype.getDisplayNameForColumnGroup = function (columnGroup, location) {\n return this.getDisplayNameForProvidedColumnGroup(columnGroup, columnGroup.getProvidedColumnGroup(), location);\n };\n // location is where the column is going to appear, ie who is calling us\n ColumnModel.prototype.getHeaderName = function (colDef, column, columnGroup, providedColumnGroup, location) {\n var headerValueGetter = colDef.headerValueGetter;\n if (headerValueGetter) {\n var params = {\n colDef: colDef,\n column: column,\n columnGroup: columnGroup,\n providedColumnGroup: providedColumnGroup,\n location: location,\n api: this.gridOptionsWrapper.getApi(),\n columnApi: this.gridOptionsWrapper.getColumnApi(),\n context: this.gridOptionsWrapper.getContext()\n };\n if (typeof headerValueGetter === 'function') {\n // valueGetter is a function, so just call it\n return headerValueGetter(params);\n }\n else if (typeof headerValueGetter === 'string') {\n // valueGetter is an expression, so execute the expression\n return this.expressionService.evaluate(headerValueGetter, params);\n }\n console.warn('ag-grid: headerValueGetter must be a function or a string');\n return '';\n }\n else if (colDef.headerName != null) {\n return colDef.headerName;\n }\n else if (colDef.field) {\n return camelCaseToHumanText(colDef.field);\n }\n return '';\n };\n ColumnModel.prototype.wrapHeaderNameWithAggFunc = function (column, headerName) {\n if (this.gridOptionsWrapper.isSuppressAggFuncInHeader()) {\n return headerName;\n }\n // only columns with aggregation active can have aggregations\n var pivotValueColumn = column.getColDef().pivotValueColumn;\n var pivotActiveOnThisColumn = exists(pivotValueColumn);\n var aggFunc = null;\n var aggFuncFound;\n // otherwise we have a measure that is active, and we are doing aggregation on it\n if (pivotActiveOnThisColumn) {\n var isCollapsedHeaderEnabled = this.gridOptionsWrapper.isRemovePivotHeaderRowWhenSingleValueColumn() && this.valueColumns.length === 1;\n var isTotalColumn = column.getColDef().pivotTotalColumnIds !== undefined;\n if (isCollapsedHeaderEnabled && !isTotalColumn) {\n return headerName; // Skip decorating the header - in this case the label is the pivot key, not the value col\n }\n aggFunc = pivotValueColumn ? pivotValueColumn.getAggFunc() : null;\n aggFuncFound = true;\n }\n else {\n var measureActive = column.isValueActive();\n var aggregationPresent = this.pivotMode || !this.isRowGroupEmpty();\n if (measureActive && aggregationPresent) {\n aggFunc = column.getAggFunc();\n aggFuncFound = true;\n }\n else {\n aggFuncFound = false;\n }\n }\n if (aggFuncFound) {\n var aggFuncString = (typeof aggFunc === 'string') ? aggFunc : 'func';\n var localeTextFunc = this.gridOptionsWrapper.getLocaleTextFunc();\n var aggFuncStringTranslated = localeTextFunc(aggFuncString, aggFuncString);\n return aggFuncStringTranslated + \"(\" + headerName + \")\";\n }\n return headerName;\n };\n // returns the group with matching colId and instanceId. If instanceId is missing,\n // matches only on the colId.\n ColumnModel.prototype.getColumnGroup = function (colId, instanceId) {\n if (!colId) {\n return null;\n }\n if (colId instanceof ColumnGroup) {\n return colId;\n }\n var allColumnGroups = this.getAllDisplayedTrees();\n var checkInstanceId = typeof instanceId === 'number';\n var result = null;\n this.columnUtils.depthFirstAllColumnTreeSearch(allColumnGroups, function (child) {\n if (child instanceof ColumnGroup) {\n var columnGroup = child;\n var matched = void 0;\n if (checkInstanceId) {\n matched = colId === columnGroup.getGroupId() && instanceId === columnGroup.getInstanceId();\n }\n else {\n matched = colId === columnGroup.getGroupId();\n }\n if (matched) {\n result = columnGroup;\n }\n }\n });\n return result;\n };\n ColumnModel.prototype.isReady = function () {\n return this.ready;\n };\n ColumnModel.prototype.extractValueColumns = function (source, oldPrimaryColumns) {\n this.valueColumns = this.extractColumns(oldPrimaryColumns, this.valueColumns, function (col, flag) { return col.setValueActive(flag, source); }, \n // aggFunc doesn't have index variant, cos order of value cols doesn't matter, so always return null\n function () { return undefined; }, function () { return undefined; }, \n // aggFunc is a string, so return it's existence\n function (colDef) {\n var aggFunc = colDef.aggFunc;\n // null or empty string means clear\n if (aggFunc === null || aggFunc === '') {\n return null;\n }\n if (aggFunc === undefined) {\n return;\n }\n return !!aggFunc;\n }, function (colDef) {\n // return false if any of the following: null, undefined, empty string\n return colDef.initialAggFunc != null && colDef.initialAggFunc != '';\n });\n // all new columns added will have aggFunc missing, so set it to what is in the colDef\n this.valueColumns.forEach(function (col) {\n var colDef = col.getColDef();\n // if aggFunc provided, we always override, as reactive property\n if (colDef.aggFunc != null && colDef.aggFunc != '') {\n col.setAggFunc(colDef.aggFunc);\n }\n else {\n // otherwise we use initialAggFunc only if no agg func set - which happens when new column only\n if (!col.getAggFunc()) {\n col.setAggFunc(colDef.initialAggFunc);\n }\n }\n });\n };\n ColumnModel.prototype.extractRowGroupColumns = function (source, oldPrimaryColumns) {\n this.rowGroupColumns = this.extractColumns(oldPrimaryColumns, this.rowGroupColumns, function (col, flag) { return col.setRowGroupActive(flag, source); }, function (colDef) { return colDef.rowGroupIndex; }, function (colDef) { return colDef.initialRowGroupIndex; }, function (colDef) { return colDef.rowGroup; }, function (colDef) { return colDef.initialRowGroup; });\n };\n ColumnModel.prototype.extractColumns = function (oldPrimaryColumns, previousCols, setFlagFunc, getIndexFunc, getInitialIndexFunc, getValueFunc, getInitialValueFunc) {\n if (oldPrimaryColumns === void 0) { oldPrimaryColumns = []; }\n if (previousCols === void 0) { previousCols = []; }\n var colsWithIndex = [];\n var colsWithValue = [];\n // go though all cols.\n // if value, change\n // if default only, change only if new\n (this.primaryColumns || []).forEach(function (col) {\n var colIsNew = oldPrimaryColumns.indexOf(col) < 0;\n var colDef = col.getColDef();\n var value = attrToBoolean(getValueFunc(colDef));\n var initialValue = attrToBoolean(getInitialValueFunc(colDef));\n var index = attrToNumber(getIndexFunc(colDef));\n var initialIndex = attrToNumber(getInitialIndexFunc(colDef));\n var include;\n var valuePresent = value !== undefined;\n var indexPresent = index !== undefined;\n var initialValuePresent = initialValue !== undefined;\n var initialIndexPresent = initialIndex !== undefined;\n if (valuePresent) {\n include = value; // boolean value is guaranteed as attrToBoolean() is used above\n }\n else if (indexPresent) {\n if (index === null) {\n // if col is new we don't want to use the default / initial if index is set to null. Similarly,\n // we don't want to include the property for existing columns, i.e. we want to 'clear' it.\n include = false;\n }\n else {\n // note that 'null >= 0' evaluates to true which means 'rowGroupIndex = null' would enable row\n // grouping if the null check didn't exist above.\n include = index >= 0;\n }\n }\n else {\n if (colIsNew) {\n // as no value or index is 'present' we use the default / initial when col is new\n if (initialValuePresent) {\n include = initialValue;\n }\n else if (initialIndexPresent) {\n include = initialIndex != null && initialIndex >= 0;\n }\n else {\n include = false;\n }\n }\n else {\n // otherwise include it if included last time, e.g. if we are extracting row group cols and this col\n // is an existing row group col (i.e. it exists in 'previousCols') then we should include it.\n include = previousCols.indexOf(col) >= 0;\n }\n }\n if (include) {\n var useIndex = colIsNew ? (index != null || initialIndex != null) : index != null;\n useIndex ? colsWithIndex.push(col) : colsWithValue.push(col);\n }\n });\n var getIndexForCol = function (col) {\n var index = getIndexFunc(col.getColDef());\n var defaultIndex = getInitialIndexFunc(col.getColDef());\n return index != null ? index : defaultIndex;\n };\n // sort cols with index, and add these first\n colsWithIndex.sort(function (colA, colB) {\n var indexA = getIndexForCol(colA);\n var indexB = getIndexForCol(colB);\n if (indexA === indexB) {\n return 0;\n }\n if (indexA < indexB) {\n return -1;\n }\n return 1;\n });\n var res = [].concat(colsWithIndex);\n // second add columns that were there before and in the same order as they were before,\n // so we are preserving order of current grouping of columns that simply have rowGroup=true\n previousCols.forEach(function (col) {\n if (colsWithValue.indexOf(col) >= 0) {\n res.push(col);\n }\n });\n // lastly put in all remaining cols\n colsWithValue.forEach(function (col) {\n if (res.indexOf(col) < 0) {\n res.push(col);\n }\n });\n // set flag=false for removed cols\n previousCols.forEach(function (col) {\n if (res.indexOf(col) < 0) {\n setFlagFunc(col, false);\n }\n });\n // set flag=true for newly added cols\n res.forEach(function (col) {\n if (previousCols.indexOf(col) < 0) {\n setFlagFunc(col, true);\n }\n });\n return res;\n };\n ColumnModel.prototype.extractPivotColumns = function (source, oldPrimaryColumns) {\n this.pivotColumns = this.extractColumns(oldPrimaryColumns, this.pivotColumns, function (col, flag) { return col.setPivotActive(flag, source); }, function (colDef) { return colDef.pivotIndex; }, function (colDef) { return colDef.initialPivotIndex; }, function (colDef) { return colDef.pivot; }, function (colDef) { return colDef.initialPivot; });\n };\n ColumnModel.prototype.resetColumnGroupState = function (source) {\n if (source === void 0) { source = \"api\"; }\n var stateItems = [];\n this.columnUtils.depthFirstOriginalTreeSearch(null, this.primaryColumnTree, function (child) {\n if (child instanceof ProvidedColumnGroup) {\n var colGroupDef = child.getColGroupDef();\n var groupState = {\n groupId: child.getGroupId(),\n open: !colGroupDef ? undefined : colGroupDef.openByDefault\n };\n stateItems.push(groupState);\n }\n });\n this.setColumnGroupState(stateItems, source);\n };\n ColumnModel.prototype.getColumnGroupState = function () {\n var columnGroupState = [];\n this.columnUtils.depthFirstOriginalTreeSearch(null, this.gridBalancedTree, function (node) {\n if (node instanceof ProvidedColumnGroup) {\n columnGroupState.push({\n groupId: node.getGroupId(),\n open: node.isExpanded()\n });\n }\n });\n return columnGroupState;\n };\n ColumnModel.prototype.setColumnGroupState = function (stateItems, source) {\n var _this = this;\n if (source === void 0) { source = \"api\"; }\n this.columnAnimationService.start();\n var impactedGroups = [];\n stateItems.forEach(function (stateItem) {\n var groupKey = stateItem.groupId;\n var newValue = stateItem.open;\n var providedColumnGroup = _this.getProvidedColumnGroup(groupKey);\n if (!providedColumnGroup) {\n return;\n }\n if (providedColumnGroup.isExpanded() === newValue) {\n return;\n }\n _this.logger.log('columnGroupOpened(' + providedColumnGroup.getGroupId() + ',' + newValue + ')');\n providedColumnGroup.setExpanded(newValue);\n impactedGroups.push(providedColumnGroup);\n });\n this.updateGroupsAndDisplayedColumns(source);\n this.setFirstRightAndLastLeftPinned(source);\n impactedGroups.forEach(function (providedColumnGroup) {\n var event = {\n type: Events.EVENT_COLUMN_GROUP_OPENED,\n columnGroup: providedColumnGroup\n };\n _this.eventService.dispatchEvent(event);\n });\n this.columnAnimationService.finish();\n };\n // called by headerRenderer - when a header is opened or closed\n ColumnModel.prototype.setColumnGroupOpened = function (key, newValue, source) {\n if (source === void 0) { source = \"api\"; }\n var keyAsString;\n if (key instanceof ProvidedColumnGroup) {\n keyAsString = key.getId();\n }\n else {\n keyAsString = key || '';\n }\n this.setColumnGroupState([{ groupId: keyAsString, open: newValue }], source);\n };\n ColumnModel.prototype.getProvidedColumnGroup = function (key) {\n // if (key instanceof ProvidedColumnGroup) { return key; }\n if (typeof key !== 'string') {\n console.error('AG Grid: group key must be a string');\n }\n // otherwise, search for the column group by id\n var res = null;\n this.columnUtils.depthFirstOriginalTreeSearch(null, this.gridBalancedTree, function (node) {\n if (node instanceof ProvidedColumnGroup) {\n if (node.getId() === key) {\n res = node;\n }\n }\n });\n return res;\n };\n ColumnModel.prototype.calculateColumnsForDisplay = function () {\n var _this = this;\n var columnsForDisplay;\n if (this.pivotMode && missing(this.secondaryColumns)) {\n // pivot mode is on, but we are not pivoting, so we only\n // show columns we are aggregating on\n columnsForDisplay = this.gridColumns.filter(function (column) {\n var isAutoGroupCol = _this.groupAutoColumns && includes(_this.groupAutoColumns, column);\n var isValueCol = _this.valueColumns && includes(_this.valueColumns, column);\n return isAutoGroupCol || isValueCol;\n });\n }\n else {\n // otherwise continue as normal. this can be working on the primary\n // or secondary columns, whatever the gridColumns are set to\n columnsForDisplay = this.gridColumns.filter(function (column) {\n // keep col if a) it's auto-group or b) it's visible\n var isAutoGroupCol = _this.groupAutoColumns && includes(_this.groupAutoColumns, column);\n return isAutoGroupCol || column.isVisible();\n });\n }\n return columnsForDisplay;\n };\n ColumnModel.prototype.checkColSpanActiveInCols = function (columns) {\n var result = false;\n columns.forEach(function (col) {\n if (exists(col.getColDef().colSpan)) {\n result = true;\n }\n });\n return result;\n };\n ColumnModel.prototype.calculateColumnsForGroupDisplay = function () {\n var _this = this;\n this.groupDisplayColumns = [];\n this.groupDisplayColumnsMap = {};\n var checkFunc = function (col) {\n var colDef = col.getColDef();\n var underlyingColumn = colDef.showRowGroup;\n if (colDef && exists(underlyingColumn)) {\n _this.groupDisplayColumns.push(col);\n if (typeof underlyingColumn === 'string') {\n _this.groupDisplayColumnsMap[underlyingColumn] = col;\n }\n else if (underlyingColumn === true) {\n _this.getRowGroupColumns().forEach(function (rowGroupCol) {\n _this.groupDisplayColumnsMap[rowGroupCol.getId()] = col;\n });\n }\n }\n };\n this.gridColumns.forEach(checkFunc);\n if (this.groupAutoColumns) {\n this.groupAutoColumns.forEach(checkFunc);\n }\n };\n ColumnModel.prototype.getGroupDisplayColumns = function () {\n return this.groupDisplayColumns;\n };\n ColumnModel.prototype.getGroupDisplayColumnForGroup = function (rowGroupColumnId) {\n return this.groupDisplayColumnsMap[rowGroupColumnId];\n };\n ColumnModel.prototype.updateDisplayedColumns = function (source) {\n var columnsForDisplay = this.calculateColumnsForDisplay();\n this.buildDisplayedTrees(columnsForDisplay);\n this.calculateColumnsForGroupDisplay();\n // also called when group opened/closed\n this.updateGroupsAndDisplayedColumns(source);\n // also called when group opened/closed\n this.setFirstRightAndLastLeftPinned(source);\n };\n ColumnModel.prototype.isSecondaryColumnsPresent = function () {\n return exists(this.secondaryColumns);\n };\n ColumnModel.prototype.setSecondaryColumns = function (colDefs, source) {\n var _this = this;\n if (source === void 0) { source = \"api\"; }\n var newColsPresent = colDefs && colDefs.length > 0;\n // if not cols passed, and we had no cols anyway, then do nothing\n if (!newColsPresent && missing(this.secondaryColumns)) {\n return;\n }\n if (newColsPresent) {\n this.processSecondaryColumnDefinitions(colDefs);\n var balancedTreeResult = this.columnFactory.createColumnTree(colDefs, false, this.secondaryBalancedTree || this.previousSecondaryColumns || undefined);\n this.secondaryBalancedTree = balancedTreeResult.columnTree;\n this.secondaryHeaderRowCount = balancedTreeResult.treeDept + 1;\n this.secondaryColumns = this.getColumnsFromTree(this.secondaryBalancedTree);\n this.secondaryColumnsMap = {};\n this.secondaryColumns.forEach(function (col) { return _this.secondaryColumnsMap[col.getId()] = col; });\n this.previousSecondaryColumns = null;\n }\n else {\n this.previousSecondaryColumns = this.secondaryBalancedTree;\n this.secondaryBalancedTree = null;\n this.secondaryHeaderRowCount = -1;\n this.secondaryColumns = null;\n this.secondaryColumnsMap = {};\n }\n this.updateGridColumns();\n this.updateDisplayedColumns(source);\n };\n ColumnModel.prototype.processSecondaryColumnDefinitions = function (colDefs) {\n var columnCallback = this.gridOptionsWrapper.getProcessPivotResultColDefFunc();\n var groupCallback = this.gridOptionsWrapper.getProcessPivotResultColGroupDefFunc();\n if (!columnCallback && !groupCallback) {\n return undefined;\n }\n var searchForColDefs = function (colDefs2) {\n colDefs2.forEach(function (abstractColDef) {\n var isGroup = exists(abstractColDef.children);\n if (isGroup) {\n var colGroupDef = abstractColDef;\n if (groupCallback) {\n groupCallback(colGroupDef);\n }\n searchForColDefs(colGroupDef.children);\n }\n else {\n var colDef = abstractColDef;\n if (columnCallback) {\n columnCallback(colDef);\n }\n }\n });\n };\n if (colDefs) {\n searchForColDefs(colDefs);\n }\n };\n // called from: setColumnState, setColumnDefs, setSecondaryColumns\n ColumnModel.prototype.updateGridColumns = function () {\n var _this = this;\n var prevGridCols = this.gridBalancedTree;\n if (this.gridColsArePrimary) {\n this.lastPrimaryOrder = this.gridColumns;\n }\n else {\n this.lastSecondaryOrder = this.gridColumns;\n }\n var sortOrderToRecover = undefined;\n if (this.secondaryColumns && this.secondaryBalancedTree) {\n var hasSameColumns = this.secondaryColumns.every(function (col) {\n return _this.gridColumnsMap[col.getColId()] !== undefined;\n });\n this.gridBalancedTree = this.secondaryBalancedTree.slice();\n this.gridHeaderRowCount = this.secondaryHeaderRowCount;\n this.gridColumns = this.secondaryColumns.slice();\n this.gridColsArePrimary = false;\n // If the current columns are the same or a subset of the previous\n // we keep the previous order, otherwise we go back to the order the pivot\n // cols are generated in\n if (hasSameColumns) {\n sortOrderToRecover = this.lastSecondaryOrder;\n }\n }\n else if (this.primaryColumns) {\n this.gridBalancedTree = this.primaryColumnTree.slice();\n this.gridHeaderRowCount = this.primaryHeaderRowCount;\n this.gridColumns = this.primaryColumns.slice();\n this.gridColsArePrimary = true;\n // updateGridColumns gets called after user adds a row group. we want to maintain the order of the columns\n // when this happens (eg if user moved a column) rather than revert back to the original column order.\n // likewise if changing in/out of pivot mode, we want to maintain the order of the cols\n sortOrderToRecover = this.lastPrimaryOrder;\n }\n // create the new auto columns\n var areAutoColsChanged = this.createGroupAutoColumnsIfNeeded();\n // if auto group cols have changed, and we have a sort order, we need to move auto cols to the start\n if (areAutoColsChanged && sortOrderToRecover) {\n var groupAutoColsMap_1 = convertToMap(this.groupAutoColumns.map(function (col) { return [col, true]; }));\n // if group columns has changed, we don't preserve the group column order, so remove them from the old order\n sortOrderToRecover = sortOrderToRecover.filter(function (col) { return !groupAutoColsMap_1.has(col); });\n // and add them to the start of the order\n sortOrderToRecover = __spread$f(this.groupAutoColumns, sortOrderToRecover);\n }\n this.addAutoGroupToGridColumns();\n this.orderGridColsLike(sortOrderToRecover);\n this.gridColumns = this.placeLockedColumns(this.gridColumns);\n this.setupQuickFilterColumns();\n this.clearDisplayedAndViewportColumns();\n this.colSpanActive = this.checkColSpanActiveInCols(this.gridColumns);\n this.gridColumnsMap = {};\n this.gridColumns.forEach(function (col) { return _this.gridColumnsMap[col.getId()] = col; });\n this.setAutoHeightActive();\n if (!areEqual(prevGridCols, this.gridBalancedTree)) {\n var event_4 = {\n type: Events.EVENT_GRID_COLUMNS_CHANGED\n };\n this.eventService.dispatchEvent(event_4);\n }\n };\n ColumnModel.prototype.setAutoHeightActive = function () {\n this.autoHeightActive = this.gridColumns.filter(function (col) { return col.isAutoHeight(); }).length > 0;\n if (this.autoHeightActive) {\n this.autoHeightActiveAtLeastOnce = true;\n var rowModelType = this.rowModel.getType();\n var supportedRowModel = rowModelType === Constants.ROW_MODEL_TYPE_CLIENT_SIDE || rowModelType === Constants.ROW_MODEL_TYPE_SERVER_SIDE;\n if (!supportedRowModel) {\n var message_1 = 'AG Grid - autoHeight columns only work with Client Side Row Model and Server Side Row Model.';\n doOnce(function () { return console.warn(message_1); }, 'autoHeightActive.wrongRowModel');\n }\n }\n };\n ColumnModel.prototype.orderGridColsLike = function (colsOrder) {\n if (missing(colsOrder)) {\n return;\n }\n var lastOrderMapped = convertToMap(colsOrder.map(function (col, index) { return [col, index]; }));\n // only do the sort if at least one column is accounted for. columns will be not accounted for\n // if changing from secondary to primary columns\n var noColsFound = true;\n this.gridColumns.forEach(function (col) {\n if (lastOrderMapped.has(col)) {\n noColsFound = false;\n }\n });\n if (noColsFound) {\n return;\n }\n // order cols in the same order as before. we need to make sure that all\n // cols still exists, so filter out any that no longer exist.\n var gridColsMap = convertToMap(this.gridColumns.map(function (col) { return [col, true]; }));\n var oldColsOrdered = colsOrder.filter(function (col) { return gridColsMap.has(col); });\n var oldColsMap = convertToMap(oldColsOrdered.map(function (col) { return [col, true]; }));\n var newColsOrdered = this.gridColumns.filter(function (col) { return !oldColsMap.has(col); });\n // add in the new columns, at the end (if no group), or at the end of the group (if a group)\n var newGridColumns = oldColsOrdered.slice();\n newColsOrdered.forEach(function (newCol) {\n var parent = newCol.getOriginalParent();\n // if no parent, means we are not grouping, so just add the column to the end\n if (!parent) {\n newGridColumns.push(newCol);\n return;\n }\n // find the group the column belongs to. if no siblings at the current level (eg col in group on it's\n // own) then go up one level and look for siblings there.\n var siblings = [];\n while (!siblings.length && parent) {\n var leafCols = parent.getLeafColumns();\n leafCols.forEach(function (leafCol) {\n var presentInNewGriColumns = newGridColumns.indexOf(leafCol) >= 0;\n var noYetInSiblings = siblings.indexOf(leafCol) < 0;\n if (presentInNewGriColumns && noYetInSiblings) {\n siblings.push(leafCol);\n }\n });\n parent = parent.getOriginalParent();\n }\n // if no siblings exist at any level, this means the col is in a group (or parent groups) on it's own\n if (!siblings.length) {\n newGridColumns.push(newCol);\n return;\n }\n // find index of last column in the group\n var indexes = siblings.map(function (col) { return newGridColumns.indexOf(col); });\n var lastIndex = Math.max.apply(Math, __spread$f(indexes));\n insertIntoArray(newGridColumns, newCol, lastIndex + 1);\n });\n this.gridColumns = newGridColumns;\n };\n ColumnModel.prototype.isPrimaryColumnGroupsPresent = function () {\n return this.primaryHeaderRowCount > 1;\n };\n // if we are using autoGroupCols, then they should be included for quick filter. this covers the\n // following scenarios:\n // a) user provides 'field' into autoGroupCol of normal grid, so now because a valid col to filter leafs on\n // b) using tree data and user depends on autoGroupCol for first col, and we also want to filter on this\n // (tree data is a bit different, as parent rows can be filtered on, unlike row grouping)\n ColumnModel.prototype.setupQuickFilterColumns = function () {\n if (this.groupAutoColumns) {\n this.columnsForQuickFilter = (this.primaryColumns || []).concat(this.groupAutoColumns);\n }\n else if (this.primaryColumns) {\n this.columnsForQuickFilter = this.primaryColumns;\n }\n };\n ColumnModel.prototype.placeLockedColumns = function (cols) {\n var left = [];\n var normal = [];\n var right = [];\n cols.forEach(function (col) {\n var position = col.getColDef().lockPosition;\n if (position === 'right') {\n right.push(col);\n }\n else if (position === 'left' || position === true) {\n left.push(col);\n }\n else {\n normal.push(col);\n }\n });\n return __spread$f(left, normal, right);\n };\n ColumnModel.prototype.addAutoGroupToGridColumns = function () {\n if (missing(this.groupAutoColumns)) {\n return;\n }\n this.gridColumns = this.groupAutoColumns ? this.groupAutoColumns.concat(this.gridColumns) : this.gridColumns;\n var autoColBalancedTree = this.columnFactory.createForAutoGroups(this.groupAutoColumns, this.gridBalancedTree);\n this.gridBalancedTree = autoColBalancedTree.concat(this.gridBalancedTree);\n };\n // gets called after we copy down grid columns, to make sure any part of the gui\n // that tries to draw, eg the header, it will get empty lists of columns rather\n // than stale columns. for example, the header will received gridColumnsChanged\n // event, so will try and draw, but it will draw successfully when it acts on the\n // virtualColumnsChanged event\n ColumnModel.prototype.clearDisplayedAndViewportColumns = function () {\n this.viewportRowLeft = {};\n this.viewportRowRight = {};\n this.viewportRowCenter = {};\n this.displayedColumnsLeft = [];\n this.displayedColumnsRight = [];\n this.displayedColumnsCenter = [];\n this.displayedColumns = [];\n this.viewportColumns = [];\n this.headerViewportColumns = [];\n this.viewportColumnsHash = '';\n };\n ColumnModel.prototype.updateGroupsAndDisplayedColumns = function (source) {\n this.updateOpenClosedVisibilityInColumnGroups();\n this.deriveDisplayedColumns(source);\n this.refreshFlexedColumns();\n this.extractViewport();\n this.updateBodyWidths();\n // this event is picked up by the gui, headerRenderer and rowRenderer, to recalculate what columns to display\n var event = {\n type: Events.EVENT_DISPLAYED_COLUMNS_CHANGED\n };\n this.eventService.dispatchEvent(event);\n };\n ColumnModel.prototype.deriveDisplayedColumns = function (source) {\n this.derivedDisplayedColumnsFromDisplayedTree(this.displayedTreeLeft, this.displayedColumnsLeft);\n this.derivedDisplayedColumnsFromDisplayedTree(this.displayedTreeCentre, this.displayedColumnsCenter);\n this.derivedDisplayedColumnsFromDisplayedTree(this.displayedTreeRight, this.displayedColumnsRight);\n this.joinDisplayedColumns();\n this.setLeftValues(source);\n this.displayedAutoHeightCols = this.displayedColumns.filter(function (col) { return col.isAutoHeight(); });\n };\n ColumnModel.prototype.isAutoRowHeightActive = function () {\n return this.autoHeightActive;\n };\n ColumnModel.prototype.wasAutoRowHeightEverActive = function () {\n return this.autoHeightActiveAtLeastOnce;\n };\n ColumnModel.prototype.joinDisplayedColumns = function () {\n if (this.gridOptionsWrapper.isEnableRtl()) {\n this.displayedColumns = this.displayedColumnsRight\n .concat(this.displayedColumnsCenter)\n .concat(this.displayedColumnsLeft);\n }\n else {\n this.displayedColumns = this.displayedColumnsLeft\n .concat(this.displayedColumnsCenter)\n .concat(this.displayedColumnsRight);\n }\n };\n // sets the left pixel position of each column\n ColumnModel.prototype.setLeftValues = function (source) {\n this.setLeftValuesOfColumns(source);\n this.setLeftValuesOfGroups();\n };\n ColumnModel.prototype.setLeftValuesOfColumns = function (source) {\n var _this = this;\n if (!this.primaryColumns) {\n return;\n }\n // go through each list of displayed columns\n var allColumns = this.primaryColumns.slice(0);\n // let totalColumnWidth = this.getWidthOfColsInList()\n var doingRtl = this.gridOptionsWrapper.isEnableRtl();\n [\n this.displayedColumnsLeft,\n this.displayedColumnsRight,\n this.displayedColumnsCenter\n ].forEach(function (columns) {\n if (doingRtl) {\n // when doing RTL, we start at the top most pixel (ie RHS) and work backwards\n var left_1 = _this.getWidthOfColsInList(columns);\n columns.forEach(function (column) {\n left_1 -= column.getActualWidth();\n column.setLeft(left_1, source);\n });\n }\n else {\n // otherwise normal LTR, we start at zero\n var left_2 = 0;\n columns.forEach(function (column) {\n column.setLeft(left_2, source);\n left_2 += column.getActualWidth();\n });\n }\n removeAllFromArray(allColumns, columns);\n });\n // items left in allColumns are columns not displayed, so remove the left position. this is\n // important for the rows, as if a col is made visible, then taken out, then made visible again,\n // we don't want the animation of the cell floating in from the old position, whatever that was.\n allColumns.forEach(function (column) {\n column.setLeft(null, source);\n });\n };\n ColumnModel.prototype.setLeftValuesOfGroups = function () {\n // a groups left value is the lest left value of it's children\n [\n this.displayedTreeLeft,\n this.displayedTreeRight,\n this.displayedTreeCentre\n ].forEach(function (columns) {\n columns.forEach(function (column) {\n if (column instanceof ColumnGroup) {\n var columnGroup = column;\n columnGroup.checkLeft();\n }\n });\n });\n };\n ColumnModel.prototype.derivedDisplayedColumnsFromDisplayedTree = function (tree, columns) {\n columns.length = 0;\n this.columnUtils.depthFirstDisplayedColumnTreeSearch(tree, function (child) {\n if (child instanceof Column) {\n columns.push(child);\n }\n });\n };\n ColumnModel.prototype.extractViewportColumns = function () {\n if (this.suppressColumnVirtualisation) {\n // no virtualisation, so don't filter\n this.viewportColumnsCenter = this.displayedColumnsCenter;\n this.headerViewportColumnsCenter = this.displayedColumnsCenter;\n }\n else {\n // filter out what should be visible\n this.viewportColumnsCenter = this.displayedColumnsCenter.filter(this.isColumnInRowViewport.bind(this));\n this.headerViewportColumnsCenter = this.displayedColumnsCenter.filter(this.isColumnInHeaderViewport.bind(this));\n }\n this.viewportColumns = this.viewportColumnsCenter\n .concat(this.displayedColumnsLeft)\n .concat(this.displayedColumnsRight);\n this.headerViewportColumns = this.headerViewportColumnsCenter\n .concat(this.displayedColumnsLeft)\n .concat(this.displayedColumnsRight);\n };\n ColumnModel.prototype.getVirtualHeaderGroupRow = function (type, dept) {\n var result;\n switch (type) {\n case Constants.PINNED_LEFT:\n result = this.viewportRowLeft[dept];\n break;\n case Constants.PINNED_RIGHT:\n result = this.viewportRowRight[dept];\n break;\n default:\n result = this.viewportRowCenter[dept];\n break;\n }\n if (missing(result)) {\n result = [];\n }\n return result;\n };\n ColumnModel.prototype.calculateHeaderRows = function () {\n // go through each group, see if any of it's cols are displayed, and if yes,\n // then this group is included\n this.viewportRowLeft = {};\n this.viewportRowRight = {};\n this.viewportRowCenter = {};\n // for easy lookup when building the groups.\n var virtualColIds = {};\n this.headerViewportColumns.forEach(function (col) { return virtualColIds[col.getId()] = true; });\n var testGroup = function (children, result, dept) {\n var returnValue = false;\n for (var i = 0; i < children.length; i++) {\n // see if this item is within viewport\n var child = children[i];\n var addThisItem = false;\n if (child instanceof Column) {\n // for column, test if column is included\n addThisItem = virtualColIds[child.getId()] === true;\n }\n else {\n // if group, base decision on children\n var columnGroup = child;\n var displayedChildren = columnGroup.getDisplayedChildren();\n if (displayedChildren) {\n addThisItem = testGroup(displayedChildren, result, dept + 1);\n }\n }\n if (addThisItem) {\n returnValue = true;\n if (!result[dept]) {\n result[dept] = [];\n }\n result[dept].push(child);\n }\n }\n return returnValue;\n };\n testGroup(this.displayedTreeLeft, this.viewportRowLeft, 0);\n testGroup(this.displayedTreeRight, this.viewportRowRight, 0);\n testGroup(this.displayedTreeCentre, this.viewportRowCenter, 0);\n };\n ColumnModel.prototype.extractViewport = function () {\n var hashColumn = function (c) { return c.getId() + \"-\" + (c.getPinned() || 'normal'); };\n this.extractViewportColumns();\n var newHash = this.viewportColumns.map(hashColumn).join('#');\n var changed = this.viewportColumnsHash !== newHash;\n if (changed) {\n this.viewportColumnsHash = newHash;\n this.calculateHeaderRows();\n }\n return changed;\n };\n ColumnModel.prototype.refreshFlexedColumns = function (params) {\n var _this = this;\n if (params === void 0) { params = {}; }\n var source = params.source ? params.source : 'flex';\n if (params.viewportWidth != null) {\n this.flexViewportWidth = params.viewportWidth;\n }\n if (!this.flexViewportWidth) {\n return [];\n }\n // If the grid has left-over space, divide it between flexing columns in proportion to their flex value.\n // A \"flexing column\" is one that has a 'flex' value set and is not currently being constrained by its\n // minWidth or maxWidth rules.\n var flexAfterDisplayIndex = -1;\n if (params.resizingCols) {\n params.resizingCols.forEach(function (col) {\n var indexOfCol = _this.displayedColumnsCenter.indexOf(col);\n if (flexAfterDisplayIndex < indexOfCol) {\n flexAfterDisplayIndex = indexOfCol;\n }\n });\n }\n var isColFlex = function (col) {\n var afterResizingCols = _this.displayedColumnsCenter.indexOf(col) > flexAfterDisplayIndex;\n return col.getFlex() && afterResizingCols;\n };\n var knownWidthColumns = this.displayedColumnsCenter.filter(function (col) { return !isColFlex(col); });\n var flexingColumns = this.displayedColumnsCenter.filter(function (col) { return isColFlex(col); });\n var changedColumns = [];\n if (!flexingColumns.length) {\n return [];\n }\n var flexingColumnSizes = [];\n var spaceForFlexingColumns;\n outer: while (true) {\n var totalFlex = flexingColumns.reduce(function (count, col) { return count + col.getFlex(); }, 0);\n spaceForFlexingColumns = this.flexViewportWidth - this.getWidthOfColsInList(knownWidthColumns);\n for (var i = 0; i < flexingColumns.length; i++) {\n var col = flexingColumns[i];\n var widthByFlexRule = spaceForFlexingColumns * col.getFlex() / totalFlex;\n var constrainedWidth = 0;\n var minWidth = col.getMinWidth();\n var maxWidth = col.getMaxWidth();\n if (exists(minWidth) && widthByFlexRule < minWidth) {\n constrainedWidth = minWidth;\n }\n else if (exists(maxWidth) && widthByFlexRule > maxWidth) {\n constrainedWidth = maxWidth;\n }\n if (constrainedWidth) {\n // This column is not in fact flexing as it is being constrained to a specific size\n // so remove it from the list of flexing columns and start again\n col.setActualWidth(constrainedWidth, source);\n removeFromArray(flexingColumns, col);\n changedColumns.push(col);\n knownWidthColumns.push(col);\n continue outer;\n }\n flexingColumnSizes[i] = Math.round(widthByFlexRule);\n }\n break;\n }\n var remainingSpace = spaceForFlexingColumns;\n flexingColumns.forEach(function (col, i) {\n col.setActualWidth(Math.min(flexingColumnSizes[i], remainingSpace), source);\n changedColumns.push(col);\n remainingSpace -= flexingColumnSizes[i];\n });\n if (!params.skipSetLeft) {\n this.setLeftValues(source);\n }\n if (params.updateBodyWidths) {\n this.updateBodyWidths();\n }\n if (params.fireResizedEvent) {\n this.fireColumnResizedEvent(changedColumns, true, source, flexingColumns);\n }\n // if the user sets rowData directly into GridOptions, then the row data is set before\n // grid is attached to the DOM. this means the columns are not flexed, and then the rows\n // have the wrong height (as they depend on column widths). so once the columns have\n // been flexed for the first time (only happens once grid is attached to DOM, as dependency\n // on getting the grid width, which only happens after attached after ResizeObserver fires)\n // we get get rows to re-calc their heights.\n if (!this.flexColsCalculatedAtLestOnce) {\n if (this.gridOptionsWrapper.isRowModelDefault()) {\n this.rowModel.resetRowHeights();\n }\n this.flexColsCalculatedAtLestOnce = true;\n }\n return flexingColumns;\n };\n // called from api\n ColumnModel.prototype.sizeColumnsToFit = function (gridWidth, source, silent, params) {\n if (source === void 0) { source = \"sizeColumnsToFit\"; }\n var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;\n var limitsMap = {};\n if (params) {\n (_b = (_a = params) === null || _a === void 0 ? void 0 : _a.columnLimits) === null || _b === void 0 ? void 0 : _b.forEach(function (_a) {\n var key = _a.key, dimensions = __rest(_a, [\"key\"]);\n limitsMap[typeof key === 'string' ? key : key.getColId()] = dimensions;\n });\n }\n // avoid divide by zero\n var allDisplayedColumns = this.getAllDisplayedColumns();\n var doColumnsAlreadyFit = gridWidth === this.getWidthOfColsInList(allDisplayedColumns);\n if (gridWidth <= 0 || !allDisplayedColumns.length || doColumnsAlreadyFit) {\n return;\n }\n var colsToSpread = [];\n var colsToNotSpread = [];\n allDisplayedColumns.forEach(function (column) {\n if (column.getColDef().suppressSizeToFit === true) {\n colsToNotSpread.push(column);\n }\n else {\n colsToSpread.push(column);\n }\n });\n // make a copy of the cols that are going to be resized\n var colsToFireEventFor = colsToSpread.slice(0);\n var finishedResizing = false;\n var moveToNotSpread = function (column) {\n removeFromArray(colsToSpread, column);\n colsToNotSpread.push(column);\n };\n // resetting cols to their original width makes the sizeColumnsToFit more deterministic,\n // rather than depending on the current size of the columns. most users call sizeColumnsToFit\n // immediately after grid is created, so will make no difference. however if application is calling\n // sizeColumnsToFit repeatedly (eg after column group is opened / closed repeatedly) we don't want\n // the columns to start shrinking / growing over time.\n //\n // NOTE: the process below will assign values to `this.actualWidth` of each column without firing events\n // for this reason we need to manually fire resize events after the resize has been done for each column.\n colsToSpread.forEach(function (column) { return column.resetActualWidth(source); });\n while (!finishedResizing) {\n finishedResizing = true;\n var availablePixels = gridWidth - this.getWidthOfColsInList(colsToNotSpread);\n if (availablePixels <= 0) {\n // no width, set everything to minimum\n colsToSpread.forEach(function (column) {\n var _a, _b, _c, _d;\n var widthOverride = (_c = (_b = (_a = limitsMap) === null || _a === void 0 ? void 0 : _a[column.getId()]) === null || _b === void 0 ? void 0 : _b.minWidth, (_c !== null && _c !== void 0 ? _c : (_d = params) === null || _d === void 0 ? void 0 : _d.defaultMinWidth));\n if (typeof widthOverride === 'number') {\n column.setActualWidth(widthOverride);\n return;\n }\n column.setMinimum(source);\n });\n }\n else {\n var scale = availablePixels / this.getWidthOfColsInList(colsToSpread);\n // we set the pixels for the last col based on what's left, as otherwise\n // we could be a pixel or two short or extra because of rounding errors.\n var pixelsForLastCol = availablePixels;\n // backwards through loop, as we are removing items as we go\n for (var i = colsToSpread.length - 1; i >= 0; i--) {\n var column = colsToSpread[i];\n var widthOverride = (_c = limitsMap) === null || _c === void 0 ? void 0 : _c[column.getId()];\n var minOverride = (_e = (_d = widthOverride) === null || _d === void 0 ? void 0 : _d.minWidth, (_e !== null && _e !== void 0 ? _e : (_f = params) === null || _f === void 0 ? void 0 : _f.defaultMinWidth));\n var maxOverride = (_h = (_g = widthOverride) === null || _g === void 0 ? void 0 : _g.maxWidth, (_h !== null && _h !== void 0 ? _h : (_j = params) === null || _j === void 0 ? void 0 : _j.defaultMaxWidth));\n var colMinWidth = (_k = column.getMinWidth(), (_k !== null && _k !== void 0 ? _k : 0));\n var colMaxWidth = (_l = column.getMaxWidth(), (_l !== null && _l !== void 0 ? _l : Number.MAX_VALUE));\n var minWidth = typeof minOverride === 'number' && minOverride > colMinWidth ? minOverride : column.getMinWidth();\n var maxWidth = typeof maxOverride === 'number' && maxOverride < colMaxWidth ? maxOverride : column.getMaxWidth();\n var newWidth = Math.round(column.getActualWidth() * scale);\n if (exists(minWidth) && newWidth < minWidth) {\n newWidth = minWidth;\n moveToNotSpread(column);\n finishedResizing = false;\n }\n else if (exists(maxWidth) && newWidth > maxWidth) {\n newWidth = maxWidth;\n moveToNotSpread(column);\n finishedResizing = false;\n }\n else if (i === 0) { // if this is the last column\n newWidth = pixelsForLastCol;\n }\n column.setActualWidth(newWidth, source, true);\n pixelsForLastCol -= newWidth;\n }\n }\n }\n // see notes above\n colsToFireEventFor.forEach(function (col) {\n col.fireColumnWidthChangedEvent(source);\n });\n this.setLeftValues(source);\n this.updateBodyWidths();\n if (silent) {\n return;\n }\n this.fireColumnResizedEvent(colsToFireEventFor, true, source);\n };\n ColumnModel.prototype.buildDisplayedTrees = function (visibleColumns) {\n var leftVisibleColumns = [];\n var rightVisibleColumns = [];\n var centerVisibleColumns = [];\n visibleColumns.forEach(function (column) {\n switch (column.getPinned()) {\n case \"left\":\n leftVisibleColumns.push(column);\n break;\n case \"right\":\n rightVisibleColumns.push(column);\n break;\n default:\n centerVisibleColumns.push(column);\n break;\n }\n });\n var groupInstanceIdCreator = new GroupInstanceIdCreator();\n this.displayedTreeLeft = this.displayedGroupCreator.createDisplayedGroups(leftVisibleColumns, this.gridBalancedTree, groupInstanceIdCreator, Constants.PINNED_LEFT, this.displayedTreeLeft);\n this.displayedTreeRight = this.displayedGroupCreator.createDisplayedGroups(rightVisibleColumns, this.gridBalancedTree, groupInstanceIdCreator, Constants.PINNED_RIGHT, this.displayedTreeRight);\n this.displayedTreeCentre = this.displayedGroupCreator.createDisplayedGroups(centerVisibleColumns, this.gridBalancedTree, groupInstanceIdCreator, null, this.displayedTreeCentre);\n this.updateDisplayedMap();\n };\n ColumnModel.prototype.updateDisplayedMap = function () {\n var _this = this;\n this.displayedColumnsAndGroupsMap = {};\n var func = function (child) {\n _this.displayedColumnsAndGroupsMap[child.getUniqueId()] = child;\n };\n this.columnUtils.depthFirstAllColumnTreeSearch(this.displayedTreeCentre, func);\n this.columnUtils.depthFirstAllColumnTreeSearch(this.displayedTreeLeft, func);\n this.columnUtils.depthFirstAllColumnTreeSearch(this.displayedTreeRight, func);\n };\n ColumnModel.prototype.isDisplayed = function (item) {\n var fromMap = this.displayedColumnsAndGroupsMap[item.getUniqueId()];\n // check for reference, in case new column / group with same id is now present\n return fromMap === item;\n };\n ColumnModel.prototype.updateOpenClosedVisibilityInColumnGroups = function () {\n var allColumnGroups = this.getAllDisplayedTrees();\n this.columnUtils.depthFirstAllColumnTreeSearch(allColumnGroups, function (child) {\n if (child instanceof ColumnGroup) {\n var columnGroup = child;\n columnGroup.calculateDisplayedColumns();\n }\n });\n };\n ColumnModel.prototype.getGroupAutoColumns = function () {\n return this.groupAutoColumns;\n };\n /**\n * Creates new auto group columns if required\n * @returns whether auto cols have changed\n */\n ColumnModel.prototype.createGroupAutoColumnsIfNeeded = function () {\n if (!this.autoGroupsNeedBuilding) {\n return false;\n }\n this.autoGroupsNeedBuilding = false;\n var groupFullWidthRow = this.gridOptionsWrapper.isGroupUseEntireRow(this.pivotMode);\n // we need to allow suppressing auto-column separately for group and pivot as the normal situation\n // is CSRM and user provides group column themselves for normal view, but when they go into pivot the\n // columns are generated by the grid so no opportunity for user to provide group column. so need a way\n // to suppress auto-col for grouping only, and not pivot.\n // however if using Viewport RM or SSRM and user is providing the columns, the user may wish full control\n // of the group column in this instance.\n var suppressAutoColumn = this.pivotMode ?\n this.gridOptionsWrapper.isPivotSuppressAutoColumn() : this.gridOptionsWrapper.isGroupSuppressAutoColumn();\n var groupingActive = this.rowGroupColumns.length > 0 || this.usingTreeData;\n var needAutoColumns = groupingActive && !suppressAutoColumn && !groupFullWidthRow;\n if (needAutoColumns) {\n var existingCols = this.groupAutoColumns || [];\n var newAutoGroupCols = this.autoGroupColService.createAutoGroupColumns(existingCols, this.rowGroupColumns);\n var autoColsDifferent = !this.autoColsEqual(newAutoGroupCols, this.groupAutoColumns);\n // we force recreate when suppressColumnStateEvents changes, so new group cols pick up the new\n // definitions. otherwise we could ignore the new cols because they appear to be the same.\n if (autoColsDifferent || this.forceRecreateAutoGroups) {\n this.groupAutoColumns = newAutoGroupCols;\n return true;\n }\n }\n else {\n this.groupAutoColumns = null;\n }\n return false;\n };\n ColumnModel.prototype.autoColsEqual = function (colsA, colsB) {\n return areEqual(colsA, colsB, function (a, b) { return a.getColId() === b.getColId(); });\n };\n ColumnModel.prototype.getWidthOfColsInList = function (columnList) {\n return columnList.reduce(function (width, col) { return width + col.getActualWidth(); }, 0);\n };\n ColumnModel.prototype.getGridBalancedTree = function () {\n return this.gridBalancedTree;\n };\n ColumnModel.prototype.hasFloatingFilters = function () {\n if (!this.gridColumns) {\n return false;\n }\n var res = this.gridColumns.some(function (col) { return col.getColDef().floatingFilter; });\n return res;\n };\n ColumnModel.prototype.getFirstDisplayedColumn = function () {\n var isRtl = this.gridOptionsWrapper.isEnableRtl();\n var queryOrder = [\n 'getDisplayedLeftColumns',\n 'getDisplayedCenterColumns',\n 'getDisplayedRightColumns'\n ];\n if (isRtl) {\n queryOrder.reverse();\n }\n for (var i = 0; i < queryOrder.length; i++) {\n var container = this[queryOrder[i]]();\n if (container.length) {\n return isRtl ? last(container) : container[0];\n }\n }\n return null;\n };\n ColumnModel.prototype.setColumnHeaderHeight = function (col, height) {\n var changed = col.setAutoHeaderHeight(height);\n if (changed) {\n var event_5 = {\n type: Events.EVENT_COLUMN_HEADER_HEIGHT_CHANGED,\n column: col,\n columns: [col],\n source: 'autosizeColumnHeaderHeight',\n };\n this.eventService.dispatchEvent(event_5);\n }\n };\n ColumnModel.prototype.getColumnGroupHeaderRowHeight = function () {\n if (this.isPivotMode()) {\n return this.gridOptionsWrapper.getPivotGroupHeaderHeight();\n }\n else {\n return this.gridOptionsWrapper.getGroupHeaderHeight();\n }\n };\n ColumnModel.prototype.getColumnHeaderRowHeight = function () {\n var defaultHeight = (this.isPivotMode() ?\n this.gridOptionsWrapper.getPivotHeaderHeight() :\n this.gridOptionsWrapper.getHeaderHeight());\n var displayedHeights = this.getAllDisplayedColumns()\n .filter(function (col) { return col.isAutoHeaderHeight(); })\n .map(function (col) { return col.getAutoHeaderHeight() || 0; });\n return Math.max.apply(Math, __spread$f([defaultHeight], displayedHeights));\n };\n __decorate$2u([\n Autowired('expressionService')\n ], ColumnModel.prototype, \"expressionService\", void 0);\n __decorate$2u([\n Autowired('columnFactory')\n ], ColumnModel.prototype, \"columnFactory\", void 0);\n __decorate$2u([\n Autowired('displayedGroupCreator')\n ], ColumnModel.prototype, \"displayedGroupCreator\", void 0);\n __decorate$2u([\n Autowired('ctrlsService')\n ], ColumnModel.prototype, \"ctrlsService\", void 0);\n __decorate$2u([\n Autowired('autoWidthCalculator')\n ], ColumnModel.prototype, \"autoWidthCalculator\", void 0);\n __decorate$2u([\n Autowired('columnUtils')\n ], ColumnModel.prototype, \"columnUtils\", void 0);\n __decorate$2u([\n Autowired('columnAnimationService')\n ], ColumnModel.prototype, \"columnAnimationService\", void 0);\n __decorate$2u([\n Autowired('autoGroupColService')\n ], ColumnModel.prototype, \"autoGroupColService\", void 0);\n __decorate$2u([\n Optional('aggFuncService')\n ], ColumnModel.prototype, \"aggFuncService\", void 0);\n __decorate$2u([\n Optional('valueCache')\n ], ColumnModel.prototype, \"valueCache\", void 0);\n __decorate$2u([\n Optional('animationFrameService')\n ], ColumnModel.prototype, \"animationFrameService\", void 0);\n __decorate$2u([\n Autowired('rowModel')\n ], ColumnModel.prototype, \"rowModel\", void 0);\n __decorate$2u([\n Autowired('sortController')\n ], ColumnModel.prototype, \"sortController\", void 0);\n __decorate$2u([\n Autowired('columnDefFactory')\n ], ColumnModel.prototype, \"columnDefFactory\", void 0);\n __decorate$2u([\n PostConstruct\n ], ColumnModel.prototype, \"init\", null);\n __decorate$2u([\n __param$7(0, Qualifier('loggerFactory'))\n ], ColumnModel.prototype, \"setBeans\", null);\n ColumnModel = __decorate$2u([\n Bean('columnModel')\n ], ColumnModel);\n return ColumnModel;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$2S = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$2t = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n// takes in a list of columns, as specified by the column definitions, and returns column groups\nvar ColumnUtils = /** @class */ (function (_super) {\n __extends$2S(ColumnUtils, _super);\n function ColumnUtils() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ColumnUtils.prototype.calculateColMinWidth = function (colDef) {\n return colDef.minWidth != null ? colDef.minWidth : this.gridOptionsWrapper.getMinColWidth();\n };\n ColumnUtils.prototype.calculateColMaxWidth = function (colDef) {\n return colDef.maxWidth != null ? colDef.maxWidth : (this.gridOptionsWrapper.getMaxColWidth() || Number.MAX_SAFE_INTEGER);\n };\n ColumnUtils.prototype.calculateColInitialWidth = function (colDef) {\n var minColWidth = this.calculateColMinWidth(colDef);\n var maxColWidth = this.calculateColMaxWidth(colDef);\n var width;\n var colDefWidth = attrToNumber(colDef.width);\n var colDefInitialWidth = attrToNumber(colDef.initialWidth);\n if (colDefWidth != null) {\n width = colDefWidth;\n }\n else if (colDefInitialWidth != null) {\n width = colDefInitialWidth;\n }\n else {\n width = this.gridOptionsWrapper.getColWidth();\n }\n return Math.max(Math.min(width, maxColWidth), minColWidth);\n };\n ColumnUtils.prototype.getOriginalPathForColumn = function (column, originalBalancedTree) {\n var result = [];\n var found = false;\n var recursePath = function (balancedColumnTree, dept) {\n for (var i = 0; i < balancedColumnTree.length; i++) {\n if (found) {\n return;\n }\n // quit the search, so 'result' is kept with the found result\n var node = balancedColumnTree[i];\n if (node instanceof ProvidedColumnGroup) {\n var nextNode = node;\n recursePath(nextNode.getChildren(), dept + 1);\n result[dept] = node;\n }\n else if (node === column) {\n found = true;\n }\n }\n };\n recursePath(originalBalancedTree, 0);\n // we should always find the path, but in case there is a bug somewhere, returning null\n // will make it fail rather than provide a 'hard to track down' bug\n return found ? result : null;\n };\n ColumnUtils.prototype.depthFirstOriginalTreeSearch = function (parent, tree, callback) {\n var _this = this;\n if (!tree) {\n return;\n }\n tree.forEach(function (child) {\n if (child instanceof ProvidedColumnGroup) {\n _this.depthFirstOriginalTreeSearch(child, child.getChildren(), callback);\n }\n callback(child, parent);\n });\n };\n ColumnUtils.prototype.depthFirstAllColumnTreeSearch = function (tree, callback) {\n var _this = this;\n if (!tree) {\n return;\n }\n tree.forEach(function (child) {\n if (child instanceof ColumnGroup) {\n _this.depthFirstAllColumnTreeSearch(child.getChildren(), callback);\n }\n callback(child);\n });\n };\n ColumnUtils.prototype.depthFirstDisplayedColumnTreeSearch = function (tree, callback) {\n var _this = this;\n if (!tree) {\n return;\n }\n tree.forEach(function (child) {\n if (child instanceof ColumnGroup) {\n _this.depthFirstDisplayedColumnTreeSearch(child.getDisplayedChildren(), callback);\n }\n callback(child);\n });\n };\n ColumnUtils = __decorate$2t([\n Bean('columnUtils')\n ], ColumnUtils);\n return ColumnUtils;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$2R = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$2s = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n// takes in a list of columns, as specified by the column definitions, and returns column groups\nvar DisplayedGroupCreator = /** @class */ (function (_super) {\n __extends$2R(DisplayedGroupCreator, _super);\n function DisplayedGroupCreator() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n DisplayedGroupCreator.prototype.createDisplayedGroups = function (\n // all displayed columns sorted - this is the columns the grid should show\n sortedVisibleColumns, \n // the tree of columns, as provided by the users, used to know what groups columns roll up into\n balancedColumnTree, \n // creates unique id's for the group\n groupInstanceIdCreator, \n // whether it's left, right or center col\n pinned, \n // we try to reuse old groups if we can, to allow gui to do animation\n oldDisplayedGroups) {\n var _this = this;\n var result = [];\n var previousRealPath;\n var previousOriginalPath;\n var oldColumnsMapped = this.mapOldGroupsById(oldDisplayedGroups);\n // go through each column, then do a bottom up comparison to the previous column, and start\n // to share groups if they converge at any point.\n sortedVisibleColumns.forEach(function (currentColumn) {\n var currentOriginalPath = _this.getOriginalPathForColumn(balancedColumnTree, currentColumn);\n var currentRealPath = [];\n var firstColumn = !previousOriginalPath;\n for (var i = 0; i < currentOriginalPath.length; i++) {\n if (firstColumn || currentOriginalPath[i] !== previousOriginalPath[i]) {\n // new group needed\n var newGroup = _this.createColumnGroup(currentOriginalPath[i], groupInstanceIdCreator, oldColumnsMapped, pinned);\n currentRealPath[i] = newGroup;\n // if top level, add to result, otherwise add to parent\n if (i == 0) {\n result.push(newGroup);\n }\n else {\n currentRealPath[i - 1].addChild(newGroup);\n }\n }\n else {\n // reuse old group\n currentRealPath[i] = previousRealPath[i];\n }\n }\n var noColumnGroups = currentRealPath.length === 0;\n if (noColumnGroups) {\n // if we are not grouping, then the result of the above is an empty\n // path (no groups), and we just add the column to the root list.\n result.push(currentColumn);\n }\n else {\n var leafGroup = last(currentRealPath);\n leafGroup.addChild(currentColumn);\n }\n previousRealPath = currentRealPath;\n previousOriginalPath = currentOriginalPath;\n });\n this.setupParentsIntoColumns(result, null);\n return result;\n };\n DisplayedGroupCreator.prototype.createColumnGroup = function (providedGroup, groupInstanceIdCreator, oldColumnsMapped, pinned) {\n var groupId = providedGroup.getGroupId();\n var instanceId = groupInstanceIdCreator.getInstanceIdForKey(groupId);\n var uniqueId = ColumnGroup.createUniqueId(groupId, instanceId);\n var columnGroup = oldColumnsMapped[uniqueId];\n // if the user is setting new colDefs, it is possible that the id's overlap, and we\n // would have a false match from above. so we double check we are talking about the\n // same original column group.\n if (columnGroup && columnGroup.getProvidedColumnGroup() !== providedGroup) {\n columnGroup = null;\n }\n if (exists(columnGroup)) {\n // clean out the old column group here, as we will be adding children into it again\n columnGroup.reset();\n }\n else {\n columnGroup = new ColumnGroup(providedGroup, groupId, instanceId, pinned);\n this.context.createBean(columnGroup);\n }\n return columnGroup;\n };\n // returns back a 2d map of ColumnGroup as follows: groupId -> instanceId -> ColumnGroup\n DisplayedGroupCreator.prototype.mapOldGroupsById = function (displayedGroups) {\n var result = {};\n var recursive = function (columnsOrGroups) {\n columnsOrGroups.forEach(function (columnOrGroup) {\n if (columnOrGroup instanceof ColumnGroup) {\n var columnGroup = columnOrGroup;\n result[columnOrGroup.getUniqueId()] = columnGroup;\n recursive(columnGroup.getChildren());\n }\n });\n };\n if (displayedGroups) {\n recursive(displayedGroups);\n }\n return result;\n };\n DisplayedGroupCreator.prototype.setupParentsIntoColumns = function (columnsOrGroups, parent) {\n var _this = this;\n columnsOrGroups.forEach(function (columnsOrGroup) {\n columnsOrGroup.setParent(parent);\n if (columnsOrGroup instanceof ColumnGroup) {\n var columnGroup = columnsOrGroup;\n _this.setupParentsIntoColumns(columnGroup.getChildren(), columnGroup);\n }\n });\n };\n DisplayedGroupCreator.prototype.getOriginalPathForColumn = function (balancedColumnTree, column) {\n var result = [];\n var found = false;\n var recursePath = function (columnTree, dept) {\n for (var i = 0; i < columnTree.length; i++) {\n // quit the search, so 'result' is kept with the found result\n if (found) {\n return;\n }\n var node = columnTree[i];\n if (node instanceof ProvidedColumnGroup) {\n recursePath(node.getChildren(), dept + 1);\n result[dept] = node;\n }\n else if (node === column) {\n found = true;\n }\n }\n };\n recursePath(balancedColumnTree, 0);\n // it's possible we didn't find a path. this happens if the column is generated\n // by the grid (auto-group), in that the definition didn't come from the client. in this case,\n // we create a fake original path.\n if (found) {\n return result;\n }\n console.warn('AG Grid: could not get path');\n return null;\n };\n DisplayedGroupCreator = __decorate$2s([\n Bean('displayedGroupCreator')\n ], DisplayedGroupCreator);\n return DisplayedGroupCreator;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$2Q = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$2r = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar AgStackComponentsRegistry = /** @class */ (function (_super) {\n __extends$2Q(AgStackComponentsRegistry, _super);\n function AgStackComponentsRegistry() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.componentsMappedByName = {};\n return _this;\n }\n AgStackComponentsRegistry.prototype.setupComponents = function (components) {\n var _this = this;\n if (components) {\n components.forEach(function (componentMeta) { return _this.addComponent(componentMeta); });\n }\n };\n AgStackComponentsRegistry.prototype.addComponent = function (componentMeta) {\n // get name of the class as a string\n // let className = getNameOfClass(ComponentClass);\n // insert a dash after every capital letter\n // let classEscaped = className.replace(/([A-Z])/g, \"-$1\").toLowerCase();\n var classEscaped = componentMeta.componentName.replace(/([a-z])([A-Z])/g, \"$1-$2\").toLowerCase();\n // put all to upper case\n var classUpperCase = classEscaped.toUpperCase();\n // finally store\n this.componentsMappedByName[classUpperCase] = componentMeta.componentClass;\n };\n AgStackComponentsRegistry.prototype.getComponentClass = function (htmlTag) {\n return this.componentsMappedByName[htmlTag];\n };\n AgStackComponentsRegistry = __decorate$2r([\n Bean('agStackComponentsRegistry')\n ], AgStackComponentsRegistry);\n return AgStackComponentsRegistry;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __read$k = (undefined && undefined.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar Color = /** @class */ (function () {\n /**\n * Every color component should be in the [0, 1] range.\n * Some easing functions (such as elastic easing) can overshoot the target value by some amount.\n * So, when animating colors, if the source or target color components are already near\n * or at the edge of the allowed [0, 1] range, it is possible for the intermediate color\n * component value to end up outside of that range mid-animation. For this reason the constructor\n * performs range checking/constraining.\n * @param r Red component.\n * @param g Green component.\n * @param b Blue component.\n * @param a Alpha (opacity) component.\n */\n function Color(r, g, b, a) {\n if (a === void 0) { a = 1; }\n // NaN is treated as 0.\n this.r = Math.min(1, Math.max(0, r || 0));\n this.g = Math.min(1, Math.max(0, g || 0));\n this.b = Math.min(1, Math.max(0, b || 0));\n this.a = Math.min(1, Math.max(0, a || 0));\n }\n /**\n * The given string can be in one of the following formats:\n * - #rgb\n * - #rrggbb\n * - rgb(r, g, b)\n * - rgba(r, g, b, a)\n * - CSS color name such as 'white', 'orange', 'cyan', etc.\n * @param str\n */\n Color.fromString = function (str) {\n // hexadecimal notation\n if (str.indexOf('#') >= 0) { // there can be some leading whitespace\n return Color.fromHexString(str);\n }\n // color name\n var hex = Color.nameToHex[str];\n if (hex) {\n return Color.fromHexString(hex);\n }\n // rgb(a) notation\n if (str.indexOf('rgb') >= 0) {\n return Color.fromRgbaString(str);\n }\n throw new Error(\"Invalid color string: '\" + str + \"'\");\n };\n // See https://drafts.csswg.org/css-color/#hex-notation\n Color.parseHex = function (input) {\n input = input.replace(/ /g, '').slice(1);\n var parts;\n switch (input.length) {\n case 6:\n case 8:\n parts = [];\n for (var i = 0; i < input.length; i += 2) {\n parts.push(parseInt(\"\" + input[i] + input[i + 1], 16));\n }\n break;\n case 3:\n case 4:\n parts = input.split('').map(function (p) { return parseInt(p, 16); }).map(function (p) { return p + p * 16; });\n break;\n }\n if (parts.length >= 3) {\n if (parts.every(function (p) { return p >= 0; })) {\n if (parts.length === 3) {\n parts.push(255);\n }\n return parts;\n }\n }\n };\n Color.fromHexString = function (str) {\n var values = Color.parseHex(str);\n if (values) {\n var _a = __read$k(values, 4), r = _a[0], g = _a[1], b = _a[2], a = _a[3];\n return new Color(r / 255, g / 255, b / 255, a / 255);\n }\n throw new Error(\"Malformed hexadecimal color string: '\" + str + \"'\");\n };\n Color.stringToRgba = function (str) {\n // Find positions of opening and closing parentheses.\n var _a = __read$k([NaN, NaN], 2), po = _a[0], pc = _a[1];\n for (var i = 0; i < str.length; i++) {\n var c = str[i];\n if (!po && c === '(') {\n po = i;\n }\n else if (c === ')') {\n pc = i;\n break;\n }\n }\n var contents = po && pc && str.substring(po + 1, pc);\n if (!contents) {\n return;\n }\n var parts = contents.split(',');\n var rgba = [];\n for (var i = 0; i < parts.length; i++) {\n var part = parts[i];\n var value = parseFloat(part);\n if (isNaN(value)) {\n return;\n }\n if (part.indexOf('%') >= 0) { // percentage r, g, or b value\n value = Math.max(0, Math.min(100, value));\n value /= 100;\n }\n else {\n if (i === 3) { // alpha component\n value = Math.max(0, Math.min(1, value));\n }\n else { // absolute r, g, or b value\n value = Math.max(0, Math.min(255, value));\n value /= 255;\n }\n }\n rgba.push(value);\n }\n return rgba;\n };\n Color.fromRgbaString = function (str) {\n var rgba = Color.stringToRgba(str);\n if (rgba) {\n if (rgba.length === 3) {\n return new Color(rgba[0], rgba[1], rgba[2]);\n }\n else if (rgba.length === 4) {\n return new Color(rgba[0], rgba[1], rgba[2], rgba[3]);\n }\n }\n throw new Error(\"Malformed rgb/rgba color string: '\" + str + \"'\");\n };\n Color.fromArray = function (arr) {\n if (arr.length === 4) {\n return new Color(arr[0], arr[1], arr[2], arr[3]);\n }\n if (arr.length === 3) {\n return new Color(arr[0], arr[1], arr[2]);\n }\n throw new Error('The given array should contain 3 or 4 color components (numbers).');\n };\n Color.fromHSB = function (h, s, b, alpha) {\n if (alpha === void 0) { alpha = 1; }\n var rgb = Color.HSBtoRGB(h, s, b);\n return new Color(rgb[0], rgb[1], rgb[2], alpha);\n };\n Color.padHex = function (str) {\n // Can't use `padStart(2, '0')` here because of IE.\n return str.length === 1 ? '0' + str : str;\n };\n Color.prototype.toHexString = function () {\n var hex = '#'\n + Color.padHex(Math.round(this.r * 255).toString(16))\n + Color.padHex(Math.round(this.g * 255).toString(16))\n + Color.padHex(Math.round(this.b * 255).toString(16));\n if (this.a < 1) {\n hex += Color.padHex(Math.round(this.a * 255).toString(16));\n }\n return hex;\n };\n Color.prototype.toRgbaString = function (fractionDigits) {\n if (fractionDigits === void 0) { fractionDigits = 3; }\n var components = [\n Math.round(this.r * 255),\n Math.round(this.g * 255),\n Math.round(this.b * 255)\n ];\n var k = Math.pow(10, fractionDigits);\n if (this.a !== 1) {\n components.push(Math.round(this.a * k) / k);\n return \"rgba(\" + components.join(', ') + \")\";\n }\n return \"rgb(\" + components.join(', ') + \")\";\n };\n Color.prototype.toString = function () {\n if (this.a === 1) {\n return this.toHexString();\n }\n return this.toRgbaString();\n };\n Color.prototype.toHSB = function () {\n return Color.RGBtoHSB(this.r, this.g, this.b);\n };\n /**\n * Converts the given RGB triple to an array of HSB (HSV) components.\n * The hue component will be `NaN` for achromatic colors.\n */\n Color.RGBtoHSB = function (r, g, b) {\n var min = Math.min(r, g, b);\n var max = Math.max(r, g, b);\n var S = max !== 0 ? (max - min) / max : 0;\n var H = NaN;\n // min == max, means all components are the same\n // and the color is a shade of gray with no hue (H is NaN)\n if (min !== max) {\n var delta = max - min;\n var rc = (max - r) / delta;\n var gc = (max - g) / delta;\n var bc = (max - b) / delta;\n if (r === max) {\n H = bc - gc;\n }\n else if (g === max) {\n H = 2.0 + rc - bc;\n }\n else {\n H = 4.0 + gc - rc;\n }\n H /= 6.0;\n if (H < 0) {\n H = H + 1.0;\n }\n }\n return [H * 360, S, max];\n };\n /**\n * Converts the given HSB (HSV) triple to an array of RGB components.\n */\n Color.HSBtoRGB = function (H, S, B) {\n if (isNaN(H)) {\n H = 0;\n }\n H = (((H % 360) + 360) % 360) / 360; // normalize hue to [0, 360] interval, then scale to [0, 1]\n var r = 0;\n var g = 0;\n var b = 0;\n if (S === 0) {\n r = g = b = B;\n }\n else {\n var h = (H - Math.floor(H)) * 6;\n var f = h - Math.floor(h);\n var p = B * (1 - S);\n var q = B * (1 - S * f);\n var t = B * (1 - (S * (1 - f)));\n switch (h >> 0) { // discard the floating point part of the number\n case 0:\n r = B;\n g = t;\n b = p;\n break;\n case 1:\n r = q;\n g = B;\n b = p;\n break;\n case 2:\n r = p;\n g = B;\n b = t;\n break;\n case 3:\n r = p;\n g = q;\n b = B;\n break;\n case 4:\n r = t;\n g = p;\n b = B;\n break;\n case 5:\n r = B;\n g = p;\n b = q;\n break;\n }\n }\n return [r, g, b];\n };\n Color.prototype.derive = function (hueShift, saturationFactor, brightnessFactor, opacityFactor) {\n var hsb = Color.RGBtoHSB(this.r, this.g, this.b);\n var b = hsb[2];\n if (b == 0 && brightnessFactor > 1.0) {\n b = 0.05;\n }\n var h = (((hsb[0] + hueShift) % 360) + 360) % 360;\n var s = Math.max(Math.min(hsb[1] * saturationFactor, 1.0), 0.0);\n b = Math.max(Math.min(b * brightnessFactor, 1.0), 0.0);\n var a = Math.max(Math.min(this.a * opacityFactor, 1.0), 0.0);\n var rgba = Color.HSBtoRGB(h, s, b);\n rgba.push(a);\n return Color.fromArray(rgba);\n };\n Color.prototype.brighter = function () {\n return this.derive(0, 1.0, 1.0 / 0.7, 1.0);\n };\n Color.prototype.darker = function () {\n return this.derive(0, 1.0, 0.7, 1.0);\n };\n /**\n * CSS Color Module Level 4:\n * https://drafts.csswg.org/css-color/#named-colors\n */\n Color.nameToHex = Object.freeze({\n aliceblue: '#F0F8FF',\n antiquewhite: '#FAEBD7',\n aqua: '#00FFFF',\n aquamarine: '#7FFFD4',\n azure: '#F0FFFF',\n beige: '#F5F5DC',\n bisque: '#FFE4C4',\n black: '#000000',\n blanchedalmond: '#FFEBCD',\n blue: '#0000FF',\n blueviolet: '#8A2BE2',\n brown: '#A52A2A',\n burlywood: '#DEB887',\n cadetblue: '#5F9EA0',\n chartreuse: '#7FFF00',\n chocolate: '#D2691E',\n coral: '#FF7F50',\n cornflowerblue: '#6495ED',\n cornsilk: '#FFF8DC',\n crimson: '#DC143C',\n cyan: '#00FFFF',\n darkblue: '#00008B',\n darkcyan: '#008B8B',\n darkgoldenrod: '#B8860B',\n darkgray: '#A9A9A9',\n darkgreen: '#006400',\n darkgrey: '#A9A9A9',\n darkkhaki: '#BDB76B',\n darkmagenta: '#8B008B',\n darkolivegreen: '#556B2F',\n darkorange: '#FF8C00',\n darkorchid: '#9932CC',\n darkred: '#8B0000',\n darksalmon: '#E9967A',\n darkseagreen: '#8FBC8F',\n darkslateblue: '#483D8B',\n darkslategray: '#2F4F4F',\n darkslategrey: '#2F4F4F',\n darkturquoise: '#00CED1',\n darkviolet: '#9400D3',\n deeppink: '#FF1493',\n deepskyblue: '#00BFFF',\n dimgray: '#696969',\n dimgrey: '#696969',\n dodgerblue: '#1E90FF',\n firebrick: '#B22222',\n floralwhite: '#FFFAF0',\n forestgreen: '#228B22',\n fuchsia: '#FF00FF',\n gainsboro: '#DCDCDC',\n ghostwhite: '#F8F8FF',\n gold: '#FFD700',\n goldenrod: '#DAA520',\n gray: '#808080',\n green: '#008000',\n greenyellow: '#ADFF2F',\n grey: '#808080',\n honeydew: '#F0FFF0',\n hotpink: '#FF69B4',\n indianred: '#CD5C5C',\n indigo: '#4B0082',\n ivory: '#FFFFF0',\n khaki: '#F0E68C',\n lavender: '#E6E6FA',\n lavenderblush: '#FFF0F5',\n lawngreen: '#7CFC00',\n lemonchiffon: '#FFFACD',\n lightblue: '#ADD8E6',\n lightcoral: '#F08080',\n lightcyan: '#E0FFFF',\n lightgoldenrodyellow: '#FAFAD2',\n lightgray: '#D3D3D3',\n lightgreen: '#90EE90',\n lightgrey: '#D3D3D3',\n lightpink: '#FFB6C1',\n lightsalmon: '#FFA07A',\n lightseagreen: '#20B2AA',\n lightskyblue: '#87CEFA',\n lightslategray: '#778899',\n lightslategrey: '#778899',\n lightsteelblue: '#B0C4DE',\n lightyellow: '#FFFFE0',\n lime: '#00FF00',\n limegreen: '#32CD32',\n linen: '#FAF0E6',\n magenta: '#FF00FF',\n maroon: '#800000',\n mediumaquamarine: '#66CDAA',\n mediumblue: '#0000CD',\n mediumorchid: '#BA55D3',\n mediumpurple: '#9370DB',\n mediumseagreen: '#3CB371',\n mediumslateblue: '#7B68EE',\n mediumspringgreen: '#00FA9A',\n mediumturquoise: '#48D1CC',\n mediumvioletred: '#C71585',\n midnightblue: '#191970',\n mintcream: '#F5FFFA',\n mistyrose: '#FFE4E1',\n moccasin: '#FFE4B5',\n navajowhite: '#FFDEAD',\n navy: '#000080',\n oldlace: '#FDF5E6',\n olive: '#808000',\n olivedrab: '#6B8E23',\n orange: '#FFA500',\n orangered: '#FF4500',\n orchid: '#DA70D6',\n palegoldenrod: '#EEE8AA',\n palegreen: '#98FB98',\n paleturquoise: '#AFEEEE',\n palevioletred: '#DB7093',\n papayawhip: '#FFEFD5',\n peachpuff: '#FFDAB9',\n peru: '#CD853F',\n pink: '#FFC0CB',\n plum: '#DDA0DD',\n powderblue: '#B0E0E6',\n purple: '#800080',\n rebeccapurple: '#663399',\n red: '#FF0000',\n rosybrown: '#BC8F8F',\n royalblue: '#4169E1',\n saddlebrown: '#8B4513',\n salmon: '#FA8072',\n sandybrown: '#F4A460',\n seagreen: '#2E8B57',\n seashell: '#FFF5EE',\n sienna: '#A0522D',\n silver: '#C0C0C0',\n skyblue: '#87CEEB',\n slateblue: '#6A5ACD',\n slategray: '#708090',\n slategrey: '#708090',\n snow: '#FFFAFA',\n springgreen: '#00FF7F',\n steelblue: '#4682B4',\n tan: '#D2B48C',\n teal: '#008080',\n thistle: '#D8BFD8',\n tomato: '#FF6347',\n turquoise: '#40E0D0',\n violet: '#EE82EE',\n wheat: '#F5DEB3',\n white: '#FFFFFF',\n whitesmoke: '#F5F5F5',\n yellow: '#FFFF00',\n yellowgreen: '#9ACD32'\n });\n return Color;\n}());\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\n// Based on https://stackoverflow.com/a/14991797\n// This will parse a delimited string into an array of arrays.\nfunction stringToArray(strData, delimiter) {\n if (delimiter === void 0) { delimiter = ','; }\n var data = [];\n var isNewline = function (char) { return char === '\\r' || char === '\\n'; };\n var insideQuotedField = false;\n if (strData === '') {\n return [['']];\n }\n var _loop_1 = function (row, column, position) {\n var previousChar = strData[position - 1];\n var currentChar = strData[position];\n var nextChar = strData[position + 1];\n var ensureDataExists = function () {\n if (!data[row]) {\n // create row if it doesn't exist\n data[row] = [];\n }\n if (!data[row][column]) {\n // create column if it doesn't exist\n data[row][column] = '';\n }\n };\n ensureDataExists();\n if (currentChar === '\"') {\n if (insideQuotedField) {\n if (nextChar === '\"') {\n // unescape double quote\n data[row][column] += '\"';\n position++;\n }\n else {\n // exit quoted field\n insideQuotedField = false;\n }\n return out_row_1 = row, out_column_1 = column, out_position_1 = position, \"continue\";\n }\n else if (previousChar === undefined || previousChar === delimiter || isNewline(previousChar)) {\n // enter quoted field\n insideQuotedField = true;\n return out_row_1 = row, out_column_1 = column, out_position_1 = position, \"continue\";\n }\n }\n if (!insideQuotedField) {\n if (currentChar === delimiter) {\n // move to next column\n column++;\n ensureDataExists();\n return out_row_1 = row, out_column_1 = column, out_position_1 = position, \"continue\";\n }\n else if (isNewline(currentChar)) {\n // move to next row\n column = 0;\n row++;\n ensureDataExists();\n if (currentChar === '\\r' && nextChar === '\\n') {\n // skip over second newline character if it exists\n position++;\n }\n return out_row_1 = row, out_column_1 = column, out_position_1 = position, \"continue\";\n }\n }\n // add current character to current column\n data[row][column] += currentChar;\n out_row_1 = row;\n out_column_1 = column;\n out_position_1 = position;\n };\n var out_row_1, out_column_1, out_position_1;\n // iterate over each character, keep track of current row and column (of the returned array)\n for (var row = 0, column = 0, position = 0; position < strData.length; position++) {\n _loop_1(row, column, position);\n row = out_row_1;\n column = out_column_1;\n position = out_position_1;\n }\n return data;\n}\n\nvar CsvUtils = /*#__PURE__*/Object.freeze({\n __proto__: null,\n stringToArray: stringToArray\n});\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar rtlNegativeScroll;\n/**\n * This method adds a class to an element and remove that class from all siblings.\n * Useful for toggling state.\n * @param {HTMLElement} element The element to receive the class\n * @param {string} elementClass The class to be assigned to the element\n * @param {boolean} otherElementClass The class to be assigned to siblings of the element, but not the element itself\n */\nfunction radioCssClass(element, elementClass, otherElementClass) {\n var parent = element.parentElement;\n var sibling = parent && parent.firstChild;\n while (sibling) {\n if (elementClass) {\n sibling.classList.toggle(elementClass, sibling === element);\n }\n if (otherElementClass) {\n sibling.classList.toggle(otherElementClass, sibling !== element);\n }\n sibling = sibling.nextSibling;\n }\n}\nfunction isFocusableFormField(element) {\n var matches = Element.prototype.matches || Element.prototype.msMatchesSelector;\n var isFocusable = matches.call(element, Constants.INPUT_SELECTOR);\n var isNotFocusable = matches.call(element, Constants.FOCUSABLE_EXCLUDE);\n var isElementVisible = isVisible(element);\n var focusable = isFocusable && !isNotFocusable && isElementVisible;\n return focusable;\n}\nfunction setDisplayed(element, displayed) {\n element.classList.toggle('ag-hidden', !displayed);\n}\nfunction setVisible(element, visible) {\n element.classList.toggle('ag-invisible', !visible);\n}\nfunction setDisabled(element, disabled) {\n var attributeName = 'disabled';\n var addOrRemoveDisabledAttribute = disabled ?\n function (e) { return e.setAttribute(attributeName, ''); } :\n function (e) { return e.removeAttribute(attributeName); };\n addOrRemoveDisabledAttribute(element);\n nodeListForEach(element.querySelectorAll('input'), function (input) { return addOrRemoveDisabledAttribute(input); });\n}\nfunction isElementChildOfClass(element, cls, maxNest) {\n var counter = 0;\n while (element) {\n if (element.classList.contains(cls)) {\n return true;\n }\n element = element.parentElement;\n if (typeof maxNest == 'number') {\n if (++counter > maxNest) {\n break;\n }\n }\n else if (element === maxNest) {\n break;\n }\n }\n return false;\n}\n// returns back sizes as doubles instead of strings. similar to\n// getBoundingClientRect, however getBoundingClientRect does not:\n// a) work with fractions (eg browser is zooming)\n// b) has CSS transitions applied (eg CSS scale, browser zoom), which we don't want, we want the un-transitioned values\nfunction getElementSize(el) {\n var _a = window.getComputedStyle(el), height = _a.height, width = _a.width, paddingTop = _a.paddingTop, paddingRight = _a.paddingRight, paddingBottom = _a.paddingBottom, paddingLeft = _a.paddingLeft, marginTop = _a.marginTop, marginRight = _a.marginRight, marginBottom = _a.marginBottom, marginLeft = _a.marginLeft, boxSizing = _a.boxSizing;\n return {\n height: parseFloat(height),\n width: parseFloat(width),\n paddingTop: parseFloat(paddingTop),\n paddingRight: parseFloat(paddingRight),\n paddingBottom: parseFloat(paddingBottom),\n paddingLeft: parseFloat(paddingLeft),\n marginTop: parseFloat(marginTop),\n marginRight: parseFloat(marginRight),\n marginBottom: parseFloat(marginBottom),\n marginLeft: parseFloat(marginLeft),\n boxSizing: boxSizing\n };\n}\nfunction getInnerHeight(el) {\n var size = getElementSize(el);\n if (size.boxSizing === 'border-box') {\n return size.height - size.paddingTop - size.paddingBottom;\n }\n return size.height;\n}\nfunction getInnerWidth(el) {\n var size = getElementSize(el);\n if (size.boxSizing === 'border-box') {\n return size.width - size.paddingLeft - size.paddingRight;\n }\n return size.width;\n}\nfunction getAbsoluteHeight(el) {\n var size = getElementSize(el);\n var marginRight = size.marginBottom + size.marginTop;\n return Math.ceil(el.offsetHeight + marginRight);\n}\nfunction getAbsoluteWidth(el) {\n var size = getElementSize(el);\n var marginWidth = size.marginLeft + size.marginRight;\n return Math.ceil(el.offsetWidth + marginWidth);\n}\nfunction isRtlNegativeScroll() {\n if (typeof rtlNegativeScroll === \"boolean\") {\n return rtlNegativeScroll;\n }\n var template = document.createElement('div');\n template.style.direction = 'rtl';\n template.style.width = '1px';\n template.style.height = '1px';\n template.style.position = 'fixed';\n template.style.top = '0px';\n template.style.overflow = 'hidden';\n template.dir = 'rtl';\n template.innerHTML = /* html */\n \"
    \\n \\n \\n
    \";\n document.body.appendChild(template);\n template.scrollLeft = 1;\n rtlNegativeScroll = Math.floor(template.scrollLeft) === 0;\n document.body.removeChild(template);\n return rtlNegativeScroll;\n}\nfunction getScrollLeft(element, rtl) {\n var scrollLeft = element.scrollLeft;\n if (rtl) {\n // Absolute value - for FF that reports RTL scrolls in negative numbers\n scrollLeft = Math.abs(scrollLeft);\n if (isBrowserChrome() && !isRtlNegativeScroll()) {\n scrollLeft = element.scrollWidth - element.clientWidth - scrollLeft;\n }\n }\n return scrollLeft;\n}\nfunction setScrollLeft(element, value, rtl) {\n if (rtl) {\n // Chrome and Safari when doing RTL have the END position of the scroll as zero, not the start\n if (isRtlNegativeScroll()) {\n value *= -1;\n }\n else if (isBrowserSafari() || isBrowserChrome()) {\n value = element.scrollWidth - element.clientWidth - value;\n }\n }\n element.scrollLeft = value;\n}\nfunction clearElement(el) {\n while (el && el.firstChild) {\n el.removeChild(el.firstChild);\n }\n}\n/** @deprecated */\nfunction removeElement(parent, cssSelector) {\n removeFromParent(parent.querySelector(cssSelector));\n}\nfunction removeFromParent(node) {\n if (node && node.parentNode) {\n node.parentNode.removeChild(node);\n }\n}\nfunction isVisible(element) {\n return element.offsetParent !== null;\n}\n/**\n * Loads the template and returns it as an element. makes up for no simple way in\n * the dom api to load html directly, eg we cannot do this: document.createElement(template)\n * @param {string} template\n * @returns {HTMLElement}\n */\nfunction loadTemplate(template) {\n var tempDiv = document.createElement('div');\n tempDiv.innerHTML = (template || '').trim();\n return tempDiv.firstChild;\n}\nfunction appendHtml(eContainer, htmlTemplate) {\n if (eContainer.lastChild) {\n // https://developer.mozilla.org/en-US/docs/Web/API/Element/insertAdjacentHTML\n // we put the items at the start, so new items appear underneath old items,\n // so when expanding/collapsing groups, the new rows don't go on top of the\n // rows below that are moving our of the way\n eContainer.insertAdjacentHTML('afterbegin', htmlTemplate);\n }\n else {\n eContainer.innerHTML = htmlTemplate;\n }\n}\n/** @deprecated */\nfunction getElementAttribute(element, attributeName) {\n if (element.attributes && element.attributes[attributeName]) {\n var attribute = element.attributes[attributeName];\n return attribute.value;\n }\n return null;\n}\nfunction offsetHeight(element) {\n return element && element.clientHeight ? element.clientHeight : 0;\n}\nfunction offsetWidth(element) {\n return element && element.clientWidth ? element.clientWidth : 0;\n}\nfunction ensureDomOrder(eContainer, eChild, eChildBefore) {\n // if already in right order, do nothing\n if (eChildBefore && eChildBefore.nextSibling === eChild) {\n return;\n }\n var focusedEl = document.activeElement;\n var eChildHasFocus = eChild.contains(focusedEl);\n if (eChildBefore) {\n if (eChildBefore.nextSibling) {\n // insert between the eRowBefore and the row after it\n eContainer.insertBefore(eChild, eChildBefore.nextSibling);\n }\n else {\n // if nextSibling is missing, means other row is at end, so just append new row at the end\n eContainer.appendChild(eChild);\n }\n }\n else {\n // otherwise put at start\n if (eContainer.firstChild && eContainer.firstChild !== eChild) {\n // insert it at the first location\n eContainer.insertAdjacentElement('afterbegin', eChild);\n }\n }\n if (eChildHasFocus && focusedEl && browserSupportsPreventScroll()) {\n focusedEl.focus({ preventScroll: true });\n }\n}\nfunction setDomChildOrder(eContainer, orderedChildren) {\n for (var i = 0; i < orderedChildren.length; i++) {\n var correctCellAtIndex = orderedChildren[i];\n var actualCellAtIndex = eContainer.children[i];\n if (actualCellAtIndex !== correctCellAtIndex) {\n eContainer.insertBefore(correctCellAtIndex, actualCellAtIndex);\n }\n }\n}\nfunction insertWithDomOrder(eContainer, eToInsert, eChildBefore) {\n if (eChildBefore) {\n // if previous element exists, just slot in after the previous element\n eChildBefore.insertAdjacentElement('afterend', eToInsert);\n }\n else {\n if (eContainer.firstChild) {\n // insert it at the first location\n eContainer.insertAdjacentElement('afterbegin', eToInsert);\n }\n else {\n // otherwise eContainer is empty, so just append it\n eContainer.appendChild(eToInsert);\n }\n }\n}\n/** @deprecated */\nfunction prependDC(parent, documentFragment) {\n if (exists(parent.firstChild)) {\n parent.insertBefore(documentFragment, parent.firstChild);\n }\n else {\n parent.appendChild(documentFragment);\n }\n}\nfunction addStylesToElement(eElement, styles) {\n if (!styles) {\n return;\n }\n Object.keys(styles).forEach(function (key) {\n var keyCamelCase = hyphenToCamelCase(key);\n if (keyCamelCase) {\n eElement.style[keyCamelCase] = styles[key];\n }\n });\n}\nfunction isHorizontalScrollShowing(element) {\n return element.clientWidth < element.scrollWidth;\n}\nfunction isVerticalScrollShowing(element) {\n return element.clientHeight < element.scrollHeight;\n}\nfunction setElementWidth(element, width) {\n if (width === 'flex') {\n element.style.removeProperty('width');\n element.style.removeProperty('minWidth');\n element.style.removeProperty('maxWidth');\n element.style.flex = '1 1 auto';\n }\n else {\n setFixedWidth(element, width);\n }\n}\nfunction setFixedWidth(element, width) {\n width = formatSize(width);\n element.style.width = width.toString();\n element.style.maxWidth = width.toString();\n element.style.minWidth = width.toString();\n}\nfunction setElementHeight(element, height) {\n if (height === 'flex') {\n element.style.removeProperty('height');\n element.style.removeProperty('minHeight');\n element.style.removeProperty('maxHeight');\n element.style.flex = '1 1 auto';\n }\n else {\n setFixedHeight(element, height);\n }\n}\nfunction setFixedHeight(element, height) {\n height = formatSize(height);\n element.style.height = height.toString();\n element.style.maxHeight = height.toString();\n element.style.minHeight = height.toString();\n}\nfunction formatSize(size) {\n if (typeof size === 'number') {\n return size + \"px\";\n }\n return size;\n}\n/**\n * Returns true if it is a DOM node\n * taken from: http://stackoverflow.com/questions/384286/javascript-isdom-how-do-you-check-if-a-javascript-object-is-a-dom-object\n * @param {any} o\n * @return {boolean}\n */\nfunction isNode(o) {\n return (typeof Node === 'function'\n ? o instanceof Node\n : o && typeof o === 'object' && typeof o.nodeType === 'number' && typeof o.nodeName === 'string');\n}\n//\n/**\n * Returns true if it is a DOM element\n * taken from: http://stackoverflow.com/questions/384286/javascript-isdom-how-do-you-check-if-a-javascript-object-is-a-dom-object\n * @param {any} o\n * @returns {boolean}\n */\nfunction isElement(o) {\n return (typeof HTMLElement === 'function'\n ? o instanceof HTMLElement //DOM2\n : o && isNonNullObject(o) && o.nodeType === 1 && typeof o.nodeName === 'string');\n}\nfunction isNodeOrElement(o) {\n return isNode(o) || isElement(o);\n}\n/**\n * Makes a copy of a node list into a list\n * @param {NodeList} nodeList\n * @returns {Node[]}\n */\nfunction copyNodeList(nodeList) {\n if (nodeList == null) {\n return [];\n }\n var result = [];\n nodeListForEach(nodeList, function (node) { return result.push(node); });\n return result;\n}\nfunction iterateNamedNodeMap(map, callback) {\n if (!map) {\n return;\n }\n for (var i = 0; i < map.length; i++) {\n var attr = map[i];\n callback(attr.name, attr.value);\n }\n}\n/** @deprecated */\nfunction setCheckboxState(eCheckbox, state) {\n if (typeof state === 'boolean') {\n eCheckbox.checked = state;\n eCheckbox.indeterminate = false;\n }\n else {\n // isNodeSelected returns back undefined if it's a group and the children\n // are a mix of selected and unselected\n eCheckbox.indeterminate = true;\n }\n}\nfunction addOrRemoveAttribute(element, name, value) {\n if (value == null) {\n element.removeAttribute(name);\n }\n else {\n element.setAttribute(name, value.toString());\n }\n}\nfunction nodeListForEach(nodeList, action) {\n if (nodeList == null) {\n return;\n }\n for (var i = 0; i < nodeList.length; i++) {\n action(nodeList[i]);\n }\n}\n\nvar DomUtils = /*#__PURE__*/Object.freeze({\n __proto__: null,\n radioCssClass: radioCssClass,\n isFocusableFormField: isFocusableFormField,\n setDisplayed: setDisplayed,\n setVisible: setVisible,\n setDisabled: setDisabled,\n isElementChildOfClass: isElementChildOfClass,\n getElementSize: getElementSize,\n getInnerHeight: getInnerHeight,\n getInnerWidth: getInnerWidth,\n getAbsoluteHeight: getAbsoluteHeight,\n getAbsoluteWidth: getAbsoluteWidth,\n isRtlNegativeScroll: isRtlNegativeScroll,\n getScrollLeft: getScrollLeft,\n setScrollLeft: setScrollLeft,\n clearElement: clearElement,\n removeElement: removeElement,\n removeFromParent: removeFromParent,\n isVisible: isVisible,\n loadTemplate: loadTemplate,\n appendHtml: appendHtml,\n getElementAttribute: getElementAttribute,\n offsetHeight: offsetHeight,\n offsetWidth: offsetWidth,\n ensureDomOrder: ensureDomOrder,\n setDomChildOrder: setDomChildOrder,\n insertWithDomOrder: insertWithDomOrder,\n prependDC: prependDC,\n addStylesToElement: addStylesToElement,\n isHorizontalScrollShowing: isHorizontalScrollShowing,\n isVerticalScrollShowing: isVerticalScrollShowing,\n setElementWidth: setElementWidth,\n setFixedWidth: setFixedWidth,\n setElementHeight: setElementHeight,\n setFixedHeight: setFixedHeight,\n formatSize: formatSize,\n isNode: isNode,\n isElement: isElement,\n isNodeOrElement: isNodeOrElement,\n copyNodeList: copyNodeList,\n iterateNamedNodeMap: iterateNamedNodeMap,\n setCheckboxState: setCheckboxState,\n addOrRemoveAttribute: addOrRemoveAttribute,\n nodeListForEach: nodeListForEach\n});\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\n/** @deprecated */\nfunction getNameOfClass(theClass) {\n var funcNameRegex = /function (.{1,})\\(/;\n var funcAsString = theClass.toString();\n var results = funcNameRegex.exec(funcAsString);\n return results && results.length > 1 ? results[1] : \"\";\n}\nfunction findLineByLeastSquares(values) {\n var len = values.length;\n var maxDecimals = 0;\n if (len <= 1) {\n return values;\n }\n for (var i = 0; i < values.length; i++) {\n var value = values[i];\n var splitExponent = value.toString().split('e-');\n if (splitExponent.length > 1) {\n maxDecimals = Math.max(maxDecimals, parseInt(splitExponent[1], 10));\n continue;\n }\n if (Math.floor(value) === value) {\n continue;\n }\n maxDecimals = Math.max(maxDecimals, value.toString().split('.')[1].length);\n }\n var sum_x = 0;\n var sum_y = 0;\n var sum_xy = 0;\n var sum_xx = 0;\n var y = 0;\n for (var x = 0; x < len; x++) {\n y = values[x];\n sum_x += x;\n sum_y += y;\n sum_xx += x * x;\n sum_xy += x * y;\n }\n var m = (len * sum_xy - sum_x * sum_y) / (len * sum_xx - sum_x * sum_x);\n var b = (sum_y / len) - (m * sum_x) / len;\n var result = [];\n for (var x = 0; x <= len; x++) {\n result.push(parseFloat((x * m + b).toFixed(maxDecimals)));\n }\n return result;\n}\n/**\n * Converts a CSS object into string\n * @param {Object} stylesToUse an object eg: {color: 'black', top: '25px'}\n * @return {string} A string like \"color: black; top: 25px;\" for html\n */\nfunction cssStyleObjectToMarkup(stylesToUse) {\n if (!stylesToUse) {\n return '';\n }\n var resParts = [];\n iterateObject(stylesToUse, function (styleKey, styleValue) {\n var styleKeyDashed = camelCaseToHyphen(styleKey);\n resParts.push(styleKeyDashed + \": \" + styleValue + \";\");\n });\n return resParts.join(' ');\n}\n/**\n * Displays a message to the browser. this is useful in iPad, where you can't easily see the console.\n * so the javascript code can use this to give feedback. this is NOT intended to be called in production.\n * it is intended the AG Grid developer calls this to troubleshoot, but then takes out the calls before\n * checking in.\n * @param {string} msg\n */\nfunction message(msg) {\n var eMessage = document.createElement('div');\n var eBox = document.querySelector('#__ag__message');\n eMessage.innerHTML = msg;\n if (!eBox) {\n var template = \"
    \";\n eBox = loadTemplate(template);\n if (document.body) {\n document.body.appendChild(eBox);\n }\n }\n eBox.insertBefore(eMessage, eBox.children[0]);\n}\n/**\n * cell renderers are used in a few places. they bind to dom slightly differently to other cell renderes as they\n * can return back strings (instead of html elemnt) in the getGui() method. common code placed here to handle that.\n * @param {AgPromise} cellRendererPromise\n * @param {HTMLElement} eTarget\n */\nfunction bindCellRendererToHtmlElement(cellRendererPromise, eTarget) {\n cellRendererPromise.then(function (cellRenderer) {\n var gui = cellRenderer.getGui();\n if (gui != null) {\n if (typeof gui === 'object') {\n eTarget.appendChild(gui);\n }\n else {\n eTarget.innerHTML = gui;\n }\n }\n });\n}\n\nvar GeneralUtils = /*#__PURE__*/Object.freeze({\n __proto__: null,\n getNameOfClass: getNameOfClass,\n findLineByLeastSquares: findLineByLeastSquares,\n cssStyleObjectToMarkup: cssStyleObjectToMarkup,\n message: message,\n bindCellRendererToHtmlElement: bindCellRendererToHtmlElement\n});\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\n// ARIA HELPER FUNCTIONS\nfunction setAriaAttribute(element, attribute, value) {\n element.setAttribute(ariaAttributeName(attribute), value.toString());\n}\nfunction removeAriaAttribute(element, attribute) {\n element.removeAttribute(ariaAttributeName(attribute));\n}\nfunction ariaAttributeName(attribute) {\n return \"aria-\" + attribute;\n}\nfunction setAriaRole(element, role) {\n if (role) {\n element.setAttribute('role', role);\n }\n else {\n element.removeAttribute('role');\n }\n}\nfunction getAriaSortState(column) {\n var sort;\n if (column.isSortAscending()) {\n sort = 'ascending';\n }\n else if (column.isSortDescending()) {\n sort = 'descending';\n }\n else {\n sort = 'none';\n }\n return sort;\n}\n// ARIA ATTRIBUTE GETTERS\nfunction getAriaLevel(element) {\n return parseInt(element.getAttribute('aria-level'), 10);\n}\nfunction getAriaPosInSet(element) {\n return parseInt(element.getAttribute('aria-posinset'), 10);\n}\nfunction getAriaDescribedBy(element) {\n return element.getAttribute('aria-describedby') || '';\n}\n// ARIA ATTRIBUTE SETTERS\nfunction setAriaLabel(element, label) {\n var key = 'label';\n if (label != null && label !== '') {\n setAriaAttribute(element, key, label);\n }\n else {\n removeAriaAttribute(element, key);\n }\n}\nfunction setAriaLabelledBy(element, labelledBy) {\n var key = 'labelledby';\n if (labelledBy) {\n setAriaAttribute(element, key, labelledBy);\n }\n else {\n removeAriaAttribute(element, key);\n }\n}\nfunction setAriaDescription(element, description) {\n var key = 'description';\n if (description) {\n setAriaAttribute(element, key, description);\n }\n else {\n removeAriaAttribute(element, key);\n }\n}\nfunction setAriaDescribedBy(element, describedby) {\n var key = 'describedby';\n if (describedby) {\n setAriaAttribute(element, key, describedby);\n }\n else {\n removeAriaAttribute(element, key);\n }\n}\nfunction setAriaLevel(element, level) {\n setAriaAttribute(element, 'level', level);\n}\nfunction setAriaDisabled(element, disabled) {\n setAriaAttribute(element, 'disabled', disabled);\n}\nfunction setAriaHidden(element, hidden) {\n if (hidden) {\n setAriaAttribute(element, 'hidden', true);\n }\n else {\n removeAriaAttribute(element, 'hidden');\n }\n}\nfunction setAriaExpanded(element, expanded) {\n setAriaAttribute(element, 'expanded', expanded);\n}\nfunction removeAriaExpanded(element) {\n removeAriaAttribute(element, 'expanded');\n}\nfunction setAriaSetSize(element, setsize) {\n setAriaAttribute(element, 'setsize', setsize);\n}\nfunction setAriaPosInSet(element, position) {\n setAriaAttribute(element, 'posinset', position);\n}\nfunction setAriaMultiSelectable(element, multiSelectable) {\n setAriaAttribute(element, 'multiselectable', multiSelectable);\n}\nfunction setAriaRowCount(element, rowCount) {\n setAriaAttribute(element, 'rowcount', rowCount);\n}\nfunction setAriaRowIndex(element, rowIndex) {\n setAriaAttribute(element, 'rowindex', rowIndex);\n}\nfunction setAriaColCount(element, colCount) {\n setAriaAttribute(element, 'colcount', colCount);\n}\nfunction setAriaColIndex(element, colIndex) {\n setAriaAttribute(element, 'colindex', colIndex);\n}\nfunction setAriaColSpan(element, colSpan) {\n setAriaAttribute(element, 'colspan', colSpan);\n}\nfunction setAriaSort(element, sort) {\n setAriaAttribute(element, 'sort', sort);\n}\nfunction removeAriaSort(element) {\n removeAriaAttribute(element, 'sort');\n}\nfunction setAriaSelected(element, selected) {\n var attributeName = 'selected';\n if (selected) {\n setAriaAttribute(element, attributeName, selected);\n }\n else {\n removeAriaAttribute(element, attributeName);\n }\n}\nfunction setAriaChecked(element, checked) {\n setAriaAttribute(element, 'checked', checked === undefined ? 'mixed' : checked);\n}\n\nvar AriaUtils = /*#__PURE__*/Object.freeze({\n __proto__: null,\n setAriaRole: setAriaRole,\n getAriaSortState: getAriaSortState,\n getAriaLevel: getAriaLevel,\n getAriaPosInSet: getAriaPosInSet,\n getAriaDescribedBy: getAriaDescribedBy,\n setAriaLabel: setAriaLabel,\n setAriaLabelledBy: setAriaLabelledBy,\n setAriaDescription: setAriaDescription,\n setAriaDescribedBy: setAriaDescribedBy,\n setAriaLevel: setAriaLevel,\n setAriaDisabled: setAriaDisabled,\n setAriaHidden: setAriaHidden,\n setAriaExpanded: setAriaExpanded,\n removeAriaExpanded: removeAriaExpanded,\n setAriaSetSize: setAriaSetSize,\n setAriaPosInSet: setAriaPosInSet,\n setAriaMultiSelectable: setAriaMultiSelectable,\n setAriaRowCount: setAriaRowCount,\n setAriaRowIndex: setAriaRowIndex,\n setAriaColCount: setAriaColCount,\n setAriaColIndex: setAriaColIndex,\n setAriaColSpan: setAriaColSpan,\n setAriaSort: setAriaSort,\n removeAriaSort: removeAriaSort,\n setAriaSelected: setAriaSelected,\n setAriaChecked: setAriaChecked\n});\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __read$j = (undefined && undefined.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\n/**\n * Serialises a Date to a string of format `yyyy-MM-dd HH:mm:ss`.\n * An alternative separator can be provided to be used instead of hyphens.\n * @param date The date to serialise\n * @param includeTime Whether to include the time in the serialised string\n * @param separator The separator to use between date parts\n */\nfunction serialiseDate(date, includeTime, separator) {\n if (includeTime === void 0) { includeTime = true; }\n if (separator === void 0) { separator = '-'; }\n if (!date) {\n return null;\n }\n var serialised = [date.getFullYear(), date.getMonth() + 1, date.getDate()].map(function (part) { return padStartWidthZeros(part, 2); }).join(separator);\n if (includeTime) {\n serialised += ' ' + [date.getHours(), date.getMinutes(), date.getSeconds()].map(function (part) { return padStartWidthZeros(part, 2); }).join(':');\n }\n return serialised;\n}\nvar calculateOrdinal = function (value) {\n if (value > 3 && value < 21) {\n return 'th';\n }\n var remainder = value % 10;\n switch (remainder) {\n case 1: return \"st\";\n case 2: return \"nd\";\n case 3: return \"rd\";\n }\n return 'th';\n};\n/**\n * Serialises a Date to a string of format the defined format, does not include time.\n * @param date The date to serialise\n * @param format The string to format the date to, defaults to YYYY-MM-DD\n */\nfunction dateToFormattedString(date, format) {\n if (format === void 0) { format = 'YYYY-MM-DD'; }\n var fullYear = padStartWidthZeros(date.getFullYear(), 4);\n var months = [\n 'January', 'February', 'March', 'April', 'May', 'June',\n 'July', 'August', 'September', 'October', 'November', 'December',\n ];\n var days = [\n 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday',\n ];\n var replace = {\n YYYY: function () { return fullYear.slice(fullYear.length - 4, fullYear.length); },\n YY: function () { return fullYear.slice(fullYear.length - 2, fullYear.length); },\n Y: function () { return \"\" + date.getFullYear(); },\n MMMM: function () { return months[date.getMonth()]; },\n MMM: function () { return months[date.getMonth()].slice(0, 3); },\n MM: function () { return padStartWidthZeros(date.getMonth() + 1, 2); },\n Mo: function () { return \"\" + (date.getMonth() + 1) + calculateOrdinal(date.getMonth() + 1); },\n M: function () { return \"\" + (date.getMonth() + 1); },\n Do: function () { return \"\" + date.getDate() + calculateOrdinal(date.getDate()); },\n DD: function () { return padStartWidthZeros(date.getDate(), 2); },\n D: function () { return \"\" + date.getDate(); },\n dddd: function () { return days[date.getDay()]; },\n ddd: function () { return days[date.getDay()].slice(0, 3); },\n dd: function () { return days[date.getDay()].slice(0, 2); },\n do: function () { return \"\" + date.getDay() + calculateOrdinal(date.getDay()); },\n d: function () { return \"\" + date.getDay(); },\n };\n var regexp = new RegExp(Object.keys(replace).join('|'), 'g');\n return format.replace(regexp, function (match) {\n if (match in replace) {\n return replace[match]();\n }\n return match;\n });\n}\n/**\n * Parses a date and time from a string in the format `yyyy-MM-dd HH:mm:ss`\n */\nfunction parseDateTimeFromString(value) {\n if (!value) {\n return null;\n }\n var _a = __read$j(value.split(' '), 2), dateStr = _a[0], timeStr = _a[1];\n if (!dateStr) {\n return null;\n }\n var fields = dateStr.split('-').map(function (f) { return parseInt(f, 10); });\n if (fields.filter(function (f) { return !isNaN(f); }).length !== 3) {\n return null;\n }\n var _b = __read$j(fields, 3), year = _b[0], month = _b[1], day = _b[2];\n var date = new Date(year, month - 1, day);\n if (date.getFullYear() !== year ||\n date.getMonth() !== month - 1 ||\n date.getDate() !== day) {\n // date was not parsed as expected so must have been invalid\n return null;\n }\n if (!timeStr || timeStr === '00:00:00') {\n return date;\n }\n var _c = __read$j(timeStr.split(':').map(function (part) { return parseInt(part, 10); }), 3), hours = _c[0], minutes = _c[1], seconds = _c[2];\n if (hours >= 0 && hours < 24) {\n date.setHours(hours);\n }\n if (minutes >= 0 && minutes < 60) {\n date.setMinutes(minutes);\n }\n if (seconds >= 0 && seconds < 60) {\n date.setSeconds(seconds);\n }\n return date;\n}\n\nvar DateUtils = /*#__PURE__*/Object.freeze({\n __proto__: null,\n serialiseDate: serialiseDate,\n dateToFormattedString: dateToFormattedString,\n parseDateTimeFromString: parseDateTimeFromString\n});\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\n//\n// IMPORTANT NOTE!\n//\n// If you change the list below, copy/paste the new content into the docs page javascript-grid-icons\n//\nvar iconNameClassMap = {\n // header column group shown when expanded (click to contract)\n columnGroupOpened: 'expanded',\n // header column group shown when contracted (click to expand)\n columnGroupClosed: 'contracted',\n // tool panel column group contracted (click to expand)\n columnSelectClosed: 'tree-closed',\n // tool panel column group expanded (click to contract)\n columnSelectOpen: 'tree-open',\n // column tool panel header expand/collapse all button, shown when some children are expanded and\n // others are collapsed\n columnSelectIndeterminate: 'tree-indeterminate',\n // shown on ghost icon while dragging column to the side of the grid to pin\n columnMovePin: 'pin',\n // shown on ghost icon while dragging over part of the page that is not a drop zone\n columnMoveHide: 'eye-slash',\n // shown on ghost icon while dragging columns to reorder\n columnMoveMove: 'arrows',\n // animating icon shown when dragging a column to the right of the grid causes horizontal scrolling\n columnMoveLeft: 'left',\n // animating icon shown when dragging a column to the left of the grid causes horizontal scrolling\n columnMoveRight: 'right',\n // shown on ghost icon while dragging over Row Groups drop zone\n columnMoveGroup: 'group',\n // shown on ghost icon while dragging over Values drop zone\n columnMoveValue: 'aggregation',\n // shown on ghost icon while dragging over pivot drop zone\n columnMovePivot: 'pivot',\n // shown on ghost icon while dragging over drop zone that doesn't support it, e.g.\n // string column over aggregation drop zone\n dropNotAllowed: 'not-allowed',\n // shown on row group when contracted (click to expand)\n groupContracted: 'tree-closed',\n // shown on row group when expanded (click to contract)\n groupExpanded: 'tree-open',\n // context menu chart item\n chart: 'chart',\n // chart window title bar\n close: 'cross',\n // X (remove) on column 'pill' after adding it to a drop zone list\n cancel: 'cancel',\n // indicates the currently active pin state in the \"Pin column\" sub-menu of the column menu\n check: 'tick',\n // \"go to first\" button in pagination controls\n first: 'first',\n // \"go to previous\" button in pagination controls\n previous: 'previous',\n // \"go to next\" button in pagination controls\n next: 'next',\n // \"go to last\" button in pagination controls\n last: 'last',\n // shown on top right of chart when chart is linked to range data (click to unlink)\n linked: 'linked',\n // shown on top right of chart when chart is not linked to range data (click to link)\n unlinked: 'unlinked',\n // \"Choose colour\" button on chart settings tab\n colorPicker: 'color-picker',\n // rotating spinner shown by the loading cell renderer\n groupLoading: 'loading',\n // button to launch enterprise column menu\n menu: 'menu',\n // filter tool panel tab\n filter: 'filter',\n // column tool panel tab\n columns: 'columns',\n // button in chart regular size window title bar (click to maximise)\n maximize: 'maximize',\n // button in chart maximised window title bar (click to make regular size)\n minimize: 'minimize',\n // \"Pin column\" item in column header menu\n menuPin: 'pin',\n // \"Value aggregation\" column menu item (shown on numeric columns when grouping is active)\"\n menuValue: 'aggregation',\n // \"Group by {column-name}\" item in column header menu\n menuAddRowGroup: 'group',\n // \"Un-Group by {column-name}\" item in column header menu\n menuRemoveRowGroup: 'group',\n // context menu copy item\n clipboardCopy: 'copy',\n // context menu paste item\n clipboardPaste: 'paste',\n // identifies the pivot drop zone\n pivotPanel: 'pivot',\n // \"Row groups\" drop zone in column tool panel\n rowGroupPanel: 'group',\n // columns tool panel Values drop zone\n valuePanel: 'aggregation',\n // drag handle used to pick up draggable columns\n columnDrag: 'grip',\n // drag handle used to pick up draggable rows\n rowDrag: 'grip',\n // context menu export item\n save: 'save',\n // csv export\n csvExport: 'csv',\n // excel export,\n excelExport: 'excel',\n // icon on dropdown editors\n smallDown: 'small-down',\n // version of small-right used in RTL mode\n smallLeft: 'small-left',\n // separater between column 'pills' when you add multiple columns to the header drop zone\n smallRight: 'small-right',\n smallUp: 'small-up',\n // show on column header when column is sorted ascending\n sortAscending: 'asc',\n // show on column header when column is sorted descending\n sortDescending: 'desc',\n // show on column header when column has no sort, only when enabled with gridOptions.unSortIcon=true\n sortUnSort: 'none'\n};\n/**\n * If icon provided, use this (either a string, or a function callback).\n * if not, then use the default icon from the theme\n * @param {string} iconName\n * @param {GridOptionsWrapper} gridOptionsWrapper\n * @param {Column | null} [column]\n * @returns {HTMLElement}\n */\nfunction createIcon(iconName, gridOptionsWrapper, column) {\n var iconContents = createIconNoSpan(iconName, gridOptionsWrapper, column);\n if (iconContents && iconContents.className.indexOf('ag-icon') > -1) {\n return iconContents;\n }\n var eResult = document.createElement('span');\n eResult.appendChild(iconContents);\n return eResult;\n}\nfunction createIconNoSpan(iconName, gridOptionsWrapper, column, forceCreate) {\n var userProvidedIcon = null;\n // check col for icon first\n var icons = column && column.getColDef().icons;\n if (icons) {\n userProvidedIcon = icons[iconName];\n }\n // if not in col, try grid options\n if (gridOptionsWrapper && !userProvidedIcon) {\n var optionsIcons = gridOptionsWrapper.getIcons();\n if (optionsIcons) {\n userProvidedIcon = optionsIcons[iconName];\n }\n }\n // now if user provided, use it\n if (userProvidedIcon) {\n var rendererResult = void 0;\n if (typeof userProvidedIcon === 'function') {\n rendererResult = userProvidedIcon();\n }\n else if (typeof userProvidedIcon === 'string') {\n rendererResult = userProvidedIcon;\n }\n else {\n throw new Error('icon from grid options needs to be a string or a function');\n }\n if (typeof rendererResult === 'string') {\n return loadTemplate(rendererResult);\n }\n if (isNodeOrElement(rendererResult)) {\n return rendererResult;\n }\n console.warn('AG Grid: iconRenderer should return back a string or a dom object');\n }\n else {\n var span = document.createElement('span');\n var cssClass = iconNameClassMap[iconName];\n if (!cssClass) {\n if (!forceCreate) {\n console.warn(\"AG Grid: Did not find icon \" + iconName);\n cssClass = '';\n }\n else {\n cssClass = iconName;\n }\n }\n span.setAttribute('class', \"ag-icon ag-icon-\" + cssClass);\n span.setAttribute('unselectable', 'on');\n setAriaRole(span, 'presentation');\n return span;\n }\n}\n\nvar IconUtils = /*#__PURE__*/Object.freeze({\n __proto__: null,\n iconNameClassMap: iconNameClassMap,\n createIcon: createIcon,\n createIconNoSpan: createIconNoSpan\n});\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar KeyCode = /** @class */ (function () {\n function KeyCode() {\n }\n KeyCode.BACKSPACE = 'Backspace';\n KeyCode.TAB = 'Tab';\n KeyCode.ENTER = 'Enter';\n KeyCode.ESCAPE = 'Escape';\n KeyCode.SPACE = ' ';\n KeyCode.LEFT = 'ArrowLeft';\n KeyCode.UP = 'ArrowUp';\n KeyCode.RIGHT = 'ArrowRight';\n KeyCode.DOWN = 'ArrowDown';\n KeyCode.DELETE = 'Delete';\n KeyCode.F2 = 'F2';\n KeyCode.PAGE_UP = 'PageUp';\n KeyCode.PAGE_DOWN = 'PageDown';\n KeyCode.PAGE_HOME = 'Home';\n KeyCode.PAGE_END = 'End';\n // these should be used with `event.code` instead of `event.key`\n // as `event.key` changes when non-latin keyboards are used\n KeyCode.A = 'KeyA';\n KeyCode.C = 'KeyC';\n KeyCode.V = 'KeyV';\n KeyCode.D = 'KeyD';\n KeyCode.Z = 'KeyZ';\n KeyCode.Y = 'KeyY';\n return KeyCode;\n}());\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar NUMPAD_DEL_NUMLOCK_ON_KEY = 'Del';\n// Using legacy values to match AZERTY keyboards\nvar NUMPAD_DEL_NUMLOCK_ON_KEYCODE = 46;\nvar A_KEYCODE = 65;\nvar C_KEYCODE = 67;\nvar V_KEYCODE = 86;\nvar D_KEYCODE = 68;\nvar Z_KEYCODE = 90;\nvar Y_KEYCODE = 89;\nfunction isEventFromPrintableCharacter(event) {\n // no allowed printable chars have alt or ctrl key combinations\n if (event.altKey || event.ctrlKey || event.metaKey) {\n return false;\n }\n // if key is length 1, eg if it is 'a' for the a key, or '2' for the '2' key.\n // non-printable characters have names, eg 'Enter' or 'Backspace'.\n var printableCharacter = event.key.length === 1;\n // IE11 & Edge treat the numpad del key differently - with numlock on we get \"Del\" for key,\n // so this addition checks if its IE11/Edge and handles that specific case the same was as all other browsers\n var numpadDelWithNumlockOnForEdgeOrIe = isNumpadDelWithNumLockOnForEdge(event);\n return printableCharacter || numpadDelWithNumlockOnForEdgeOrIe;\n}\n/**\n * Allows user to tell the grid to skip specific keyboard events\n * @param {GridOptionsWrapper} gridOptionsWrapper\n * @param {KeyboardEvent} keyboardEvent\n * @param {RowNode} rowNode\n * @param {Column} column\n * @param {boolean} editing\n * @returns {boolean}\n */\nfunction isUserSuppressingKeyboardEvent(gridOptionsWrapper, keyboardEvent, rowNode, column, editing) {\n var gridOptionsFunc = gridOptionsWrapper.getSuppressKeyboardEventFunc();\n var colDefFunc = column ? column.getColDef().suppressKeyboardEvent : undefined;\n // if no callbacks provided by user, then do nothing\n if (!gridOptionsFunc && !colDefFunc) {\n return false;\n }\n var params = {\n event: keyboardEvent,\n editing: editing,\n column: column,\n api: gridOptionsWrapper.getApi(),\n node: rowNode,\n data: rowNode.data,\n colDef: column.getColDef(),\n context: gridOptionsWrapper.getContext(),\n columnApi: gridOptionsWrapper.getColumnApi()\n };\n // colDef get first preference on suppressing events\n if (colDefFunc) {\n var colDefFuncResult = colDefFunc(params);\n // if colDef func suppressed, then return now, no need to call gridOption func\n if (colDefFuncResult) {\n return true;\n }\n }\n if (gridOptionsFunc) {\n // if gridOption func, return the result\n return gridOptionsFunc(params);\n }\n // otherwise return false, don't suppress, as colDef didn't suppress and no func on gridOptions\n return false;\n}\nfunction isUserSuppressingHeaderKeyboardEvent(gridOptionsWrapper, keyboardEvent, headerRowIndex, column) {\n var colDef = column.getDefinition();\n var colDefFunc = colDef && colDef.suppressHeaderKeyboardEvent;\n if (!exists(colDefFunc)) {\n return false;\n }\n var params = {\n api: gridOptionsWrapper.getApi(),\n columnApi: gridOptionsWrapper.getColumnApi(),\n context: gridOptionsWrapper.getContext(),\n colDef: colDef,\n column: column,\n headerRowIndex: headerRowIndex,\n event: keyboardEvent\n };\n return !!colDefFunc(params);\n}\nfunction isNumpadDelWithNumLockOnForEdge(event) {\n return (isBrowserEdge()) &&\n event.key === NUMPAD_DEL_NUMLOCK_ON_KEY &&\n event.charCode === NUMPAD_DEL_NUMLOCK_ON_KEYCODE;\n}\nfunction normaliseQwertyAzerty(keyboardEvent) {\n var keyCode = keyboardEvent.keyCode;\n var code;\n switch (keyCode) {\n case A_KEYCODE:\n code = KeyCode.A;\n break;\n case C_KEYCODE:\n code = KeyCode.C;\n break;\n case V_KEYCODE:\n code = KeyCode.V;\n break;\n case D_KEYCODE:\n code = KeyCode.D;\n break;\n case Z_KEYCODE:\n code = KeyCode.Z;\n break;\n case Y_KEYCODE:\n code = KeyCode.Y;\n break;\n default:\n code = keyboardEvent.code;\n }\n return code;\n}\nfunction isDeleteKey(key, alwaysReturnFalseOnBackspace) {\n if (alwaysReturnFalseOnBackspace === void 0) { alwaysReturnFalseOnBackspace = false; }\n if (key === KeyCode.DELETE) {\n return true;\n }\n if (!alwaysReturnFalseOnBackspace && key === KeyCode.BACKSPACE) {\n return isMacOsUserAgent();\n }\n return false;\n}\n\nvar KeyboardUtils = /*#__PURE__*/Object.freeze({\n __proto__: null,\n isEventFromPrintableCharacter: isEventFromPrintableCharacter,\n isUserSuppressingKeyboardEvent: isUserSuppressingKeyboardEvent,\n isUserSuppressingHeaderKeyboardEvent: isUserSuppressingHeaderKeyboardEvent,\n normaliseQwertyAzerty: normaliseQwertyAzerty,\n isDeleteKey: isDeleteKey\n});\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\n/**\n * `True` if the event is close to the original event by X pixels either vertically or horizontally.\n * we only start dragging after X pixels so this allows us to know if we should start dragging yet.\n * @param {MouseEvent | TouchEvent} e1\n * @param {MouseEvent | TouchEvent} e2\n * @param {number} pixelCount\n * @returns {boolean}\n */\nfunction areEventsNear(e1, e2, pixelCount) {\n // by default, we wait 4 pixels before starting the drag\n if (pixelCount === 0) {\n return false;\n }\n var diffX = Math.abs(e1.clientX - e2.clientX);\n var diffY = Math.abs(e1.clientY - e2.clientY);\n return Math.max(diffX, diffY) <= pixelCount;\n}\n\nvar MouseUtils = /*#__PURE__*/Object.freeze({\n __proto__: null,\n areEventsNear: areEventsNear\n});\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\n/**\n * Gets called by: a) ClientSideNodeManager and b) GroupStage to do sorting.\n * when in ClientSideNodeManager we always have indexes (as this sorts the items the\n * user provided) but when in GroupStage, the nodes can contain filler nodes that\n * don't have order id's\n * @param {RowNode[]} rowNodes\n * @param {Object} rowNodeOrder\n *\n * @returns a boolean representing whether nodes were reordered\n */\nfunction sortRowNodesByOrder(rowNodes, rowNodeOrder) {\n if (!rowNodes) {\n return false;\n }\n var comparator = function (nodeA, nodeB) {\n var positionA = rowNodeOrder[nodeA.id];\n var positionB = rowNodeOrder[nodeB.id];\n var aHasIndex = positionA !== undefined;\n var bHasIndex = positionB !== undefined;\n var bothNodesAreUserNodes = aHasIndex && bHasIndex;\n var bothNodesAreFillerNodes = !aHasIndex && !bHasIndex;\n if (bothNodesAreUserNodes) {\n // when comparing two nodes the user has provided, they always\n // have indexes\n return positionA - positionB;\n }\n if (bothNodesAreFillerNodes) {\n // when comparing two filler nodes, we have no index to compare them\n // against, however we want this sorting to be deterministic, so that\n // the rows don't jump around as the user does delta updates. so we\n // want the same sort result. so we use the __objectId - which doesn't make sense\n // from a sorting point of view, but does give consistent behaviour between\n // calls. otherwise groups jump around as delta updates are done.\n // note: previously here we used nodeId, however this gave a strange order\n // as string ordering of numbers is wrong, so using id based on creation order\n // as least gives better looking order.\n return nodeA.__objectId - nodeB.__objectId;\n }\n if (aHasIndex) {\n return 1;\n }\n return -1;\n };\n // check if the list first needs sorting\n var rowNodeA;\n var rowNodeB;\n var atLeastOneOutOfOrder = false;\n for (var i = 0; i < rowNodes.length - 1; i++) {\n rowNodeA = rowNodes[i];\n rowNodeB = rowNodes[i + 1];\n if (comparator(rowNodeA, rowNodeB) > 0) {\n atLeastOneOutOfOrder = true;\n break;\n }\n }\n if (atLeastOneOutOfOrder) {\n rowNodes.sort(comparator);\n return true;\n }\n return false;\n}\nfunction traverseNodesWithKey(nodes, callback) {\n var keyParts = [];\n recursiveSearchNodes(nodes);\n function recursiveSearchNodes(currentNodes) {\n if (!currentNodes) {\n return;\n }\n currentNodes.forEach(function (node) {\n // also checking for children for tree data\n if (node.group || node.hasChildren()) {\n keyParts.push(node.key);\n var key = keyParts.join('|');\n callback(node, key);\n recursiveSearchNodes(node.childrenAfterGroup);\n keyParts.pop();\n }\n });\n }\n}\n\nvar RowNodeUtils = /*#__PURE__*/Object.freeze({\n __proto__: null,\n sortRowNodesByOrder: sortRowNodesByOrder,\n traverseNodesWithKey: traverseNodesWithKey\n});\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nfunction convertToSet(list) {\n var set = new Set();\n list.forEach(function (x) { return set.add(x); });\n return set;\n}\n\nvar SetUtils = /*#__PURE__*/Object.freeze({\n __proto__: null,\n convertToSet: convertToSet\n});\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __assign$f = (undefined && undefined.__assign) || function () {\n __assign$f = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign$f.apply(this, arguments);\n};\nvar utils = __assign$f(__assign$f(__assign$f(__assign$f(__assign$f(__assign$f(__assign$f(__assign$f(__assign$f(__assign$f(__assign$f(__assign$f(__assign$f(__assign$f(__assign$f(__assign$f(__assign$f(__assign$f(__assign$f(__assign$f({}, GeneralUtils), AriaUtils), ArrayUtils), BrowserUtils), CsvUtils), DateUtils), DomUtils), EventUtils), FunctionUtils), FuzzyMatchUtils), GenericUtils), IconUtils), KeyboardUtils), MapUtils), MouseUtils), NumberUtils), ObjectUtils), RowNodeUtils), SetUtils), StringUtils);\nvar _ = utils;\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar NumberSequence = /** @class */ (function () {\n function NumberSequence(initValue, step) {\n if (initValue === void 0) { initValue = 0; }\n if (step === void 0) { step = 1; }\n this.nextValue = initValue;\n this.step = step;\n }\n NumberSequence.prototype.next = function () {\n var valToReturn = this.nextValue;\n this.nextValue += this.step;\n return valToReturn;\n };\n NumberSequence.prototype.peek = function () {\n return this.nextValue;\n };\n NumberSequence.prototype.skip = function (count) {\n this.nextValue += count;\n };\n return NumberSequence;\n}());\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar AgPromiseStatus;\n(function (AgPromiseStatus) {\n AgPromiseStatus[AgPromiseStatus[\"IN_PROGRESS\"] = 0] = \"IN_PROGRESS\";\n AgPromiseStatus[AgPromiseStatus[\"RESOLVED\"] = 1] = \"RESOLVED\";\n})(AgPromiseStatus || (AgPromiseStatus = {}));\nvar AgPromise = /** @class */ (function () {\n function AgPromise(callback) {\n var _this = this;\n this.status = AgPromiseStatus.IN_PROGRESS;\n this.resolution = null;\n this.waiters = [];\n callback(function (value) { return _this.onDone(value); }, function (params) { return _this.onReject(params); });\n }\n AgPromise.all = function (promises) {\n return new AgPromise(function (resolve) {\n var remainingToResolve = promises.length;\n var combinedValues = new Array(remainingToResolve);\n promises.forEach(function (promise, index) {\n promise.then(function (value) {\n combinedValues[index] = value;\n remainingToResolve--;\n if (remainingToResolve === 0) {\n resolve(combinedValues);\n }\n });\n });\n });\n };\n AgPromise.resolve = function (value) {\n if (value === void 0) { value = null; }\n return new AgPromise(function (resolve) { return resolve(value); });\n };\n AgPromise.prototype.then = function (func) {\n var _this = this;\n return new AgPromise(function (resolve) {\n if (_this.status === AgPromiseStatus.RESOLVED) {\n resolve(func(_this.resolution));\n }\n else {\n _this.waiters.push(function (value) { return resolve(func(value)); });\n }\n });\n };\n AgPromise.prototype.resolveNow = function (ifNotResolvedValue, ifResolved) {\n return this.status === AgPromiseStatus.RESOLVED ? ifResolved(this.resolution) : ifNotResolvedValue;\n };\n AgPromise.prototype.onDone = function (value) {\n this.status = AgPromiseStatus.RESOLVED;\n this.resolution = value;\n this.waiters.forEach(function (waiter) { return waiter(value); });\n };\n AgPromise.prototype.onReject = function (params) {\n console.warn('TBI');\n };\n return AgPromise;\n}());\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\n/**\n * A Util Class only used when debugging for printing time to console\n */\nvar Timer = /** @class */ (function () {\n function Timer() {\n this.timestamp = new Date().getTime();\n }\n Timer.prototype.print = function (msg) {\n var duration = (new Date().getTime()) - this.timestamp;\n console.info(msg + \" = \" + duration);\n this.timestamp = new Date().getTime();\n };\n return Timer;\n}());\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$2P = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign$e = (undefined && undefined.__assign) || function () {\n __assign$e = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign$e.apply(this, arguments);\n};\nvar __decorate$2q = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar TooltipStates;\n(function (TooltipStates) {\n TooltipStates[TooltipStates[\"NOTHING\"] = 0] = \"NOTHING\";\n TooltipStates[TooltipStates[\"WAITING_TO_SHOW\"] = 1] = \"WAITING_TO_SHOW\";\n TooltipStates[TooltipStates[\"SHOWING\"] = 2] = \"SHOWING\";\n})(TooltipStates || (TooltipStates = {}));\nvar CustomTooltipFeature = /** @class */ (function (_super) {\n __extends$2P(CustomTooltipFeature, _super);\n function CustomTooltipFeature(parentComp) {\n var _this = _super.call(this) || this;\n _this.DEFAULT_SHOW_TOOLTIP_DELAY = 2000;\n _this.DEFAULT_HIDE_TOOLTIP_DELAY = 10000;\n _this.SHOW_QUICK_TOOLTIP_DIFF = 1000;\n _this.FADE_OUT_TOOLTIP_TIMEOUT = 1000;\n _this.state = TooltipStates.NOTHING;\n // when showing the tooltip, we need to make sure it's the most recent instance we request, as due to\n // async we could request two tooltips before the first instance returns, in which case we should\n // disregard the second instance.\n _this.tooltipInstanceCount = 0;\n _this.tooltipMouseTrack = false;\n _this.parentComp = parentComp;\n return _this;\n }\n CustomTooltipFeature.prototype.postConstruct = function () {\n this.tooltipShowDelay = this.gridOptionsWrapper.getTooltipDelay('show') || this.DEFAULT_SHOW_TOOLTIP_DELAY;\n this.tooltipHideDelay = this.gridOptionsWrapper.getTooltipDelay('hide') || this.DEFAULT_HIDE_TOOLTIP_DELAY;\n this.tooltipMouseTrack = this.gridOptionsWrapper.isTooltipMouseTrack();\n var el = this.parentComp.getGui();\n this.addManagedListener(el, 'mouseenter', this.onMouseEnter.bind(this));\n this.addManagedListener(el, 'mouseleave', this.onMouseLeave.bind(this));\n this.addManagedListener(el, 'mousemove', this.onMouseMove.bind(this));\n this.addManagedListener(el, 'mousedown', this.onMouseDown.bind(this));\n this.addManagedListener(el, 'keydown', this.onKeyDown.bind(this));\n };\n CustomTooltipFeature.prototype.destroy = function () {\n // if this component gets destroyed while tooltip is showing, need to make sure\n // we don't end with no mouseLeave event resulting in zombie tooltip\n this.setToDoNothing();\n _super.prototype.destroy.call(this);\n };\n CustomTooltipFeature.prototype.onMouseEnter = function (e) {\n if (isIOSUserAgent()) {\n return;\n }\n // every mouseenter should be following by a mouseleave, however for some unkonwn, it's possible for\n // mouseenter to be called twice in a row, which can happen if editing the cell. this was reported\n // in https://ag-grid.atlassian.net/browse/AG-4422. to get around this, we check the state, and if\n // state is !=nothing, then we know mouseenter was already received.\n if (this.state != TooltipStates.NOTHING) {\n return;\n }\n // if another tooltip was hidden very recently, we only wait 200ms to show, not the normal waiting time\n var delay = this.isLastTooltipHiddenRecently() ? 200 : this.tooltipShowDelay;\n this.showTooltipTimeoutId = window.setTimeout(this.showTooltip.bind(this), delay);\n this.lastMouseEvent = e;\n this.state = TooltipStates.WAITING_TO_SHOW;\n };\n CustomTooltipFeature.prototype.onMouseLeave = function () {\n this.setToDoNothing();\n };\n CustomTooltipFeature.prototype.onKeyDown = function () {\n this.setToDoNothing();\n };\n CustomTooltipFeature.prototype.setToDoNothing = function () {\n if (this.state === TooltipStates.SHOWING) {\n this.hideTooltip();\n }\n this.clearTimeouts();\n this.state = TooltipStates.NOTHING;\n };\n CustomTooltipFeature.prototype.onMouseMove = function (e) {\n // there is a delay from the time we mouseOver a component and the time the\n // tooltip is displayed, so we need to track mousemove to be able to correctly\n // position the tooltip when showTooltip is called.\n this.lastMouseEvent = e;\n if (this.tooltipMouseTrack &&\n this.state === TooltipStates.SHOWING &&\n this.tooltipComp) {\n this.positionTooltipUnderLastMouseEvent();\n }\n };\n CustomTooltipFeature.prototype.onMouseDown = function () {\n this.setToDoNothing();\n };\n CustomTooltipFeature.prototype.hideTooltip = function () {\n // check if comp exists - due to async, although we asked for\n // one, the instance may not be back yet\n if (this.tooltipComp) {\n this.destroyTooltipComp();\n CustomTooltipFeature.lastTooltipHideTime = new Date().getTime();\n }\n this.state = TooltipStates.NOTHING;\n };\n CustomTooltipFeature.prototype.destroyTooltipComp = function () {\n var _this = this;\n // add class to fade out the tooltip\n this.tooltipComp.getGui().classList.add('ag-tooltip-hiding');\n // make local copies of these variables, as we use them in the async function below,\n // and we clear then to 'undefined' later, so need to take a copy before they are undefined.\n var tooltipPopupDestroyFunc = this.tooltipPopupDestroyFunc;\n var tooltipComp = this.tooltipComp;\n window.setTimeout(function () {\n tooltipPopupDestroyFunc();\n _this.getContext().destroyBean(tooltipComp);\n }, this.FADE_OUT_TOOLTIP_TIMEOUT);\n this.tooltipPopupDestroyFunc = undefined;\n this.tooltipComp = undefined;\n };\n CustomTooltipFeature.prototype.isLastTooltipHiddenRecently = function () {\n // return true if <1000ms since last time we hid a tooltip\n var now = new Date().getTime();\n var then = CustomTooltipFeature.lastTooltipHideTime;\n return (now - then) < this.SHOW_QUICK_TOOLTIP_DIFF;\n };\n CustomTooltipFeature.prototype.showTooltip = function () {\n var params = __assign$e({}, this.parentComp.getTooltipParams());\n if (!exists(params.value)) {\n this.setToDoNothing();\n return;\n }\n this.state = TooltipStates.SHOWING;\n this.tooltipInstanceCount++;\n // we pass in tooltipInstanceCount so the callback knows what the count was when\n // we requested the tooltip, so if another tooltip was requested in the mean time\n // we disregard it\n var callback = this.newTooltipComponentCallback.bind(this, this.tooltipInstanceCount);\n var userDetails = this.userComponentFactory.getTooltipCompDetails(params);\n userDetails.newAgStackInstance().then(callback);\n };\n CustomTooltipFeature.prototype.newTooltipComponentCallback = function (tooltipInstanceCopy, tooltipComp) {\n var compNoLongerNeeded = this.state !== TooltipStates.SHOWING || this.tooltipInstanceCount !== tooltipInstanceCopy;\n if (compNoLongerNeeded) {\n this.getContext().destroyBean(tooltipComp);\n return;\n }\n var eGui = tooltipComp.getGui();\n this.tooltipComp = tooltipComp;\n if (!eGui.classList.contains('ag-tooltip')) {\n eGui.classList.add('ag-tooltip-custom');\n }\n var translate = this.gridOptionsWrapper.getLocaleTextFunc();\n var addPopupRes = this.popupService.addPopup({\n eChild: eGui,\n ariaLabel: translate('ariaLabelTooltip', 'Tooltip')\n });\n if (addPopupRes) {\n this.tooltipPopupDestroyFunc = addPopupRes.hideFunc;\n }\n // this.tooltipPopupDestroyFunc = this.popupService.addPopup(false, eGui, false);\n this.positionTooltipUnderLastMouseEvent();\n this.hideTooltipTimeoutId = window.setTimeout(this.hideTooltip.bind(this), this.tooltipHideDelay);\n };\n CustomTooltipFeature.prototype.positionTooltipUnderLastMouseEvent = function () {\n this.popupService.positionPopupUnderMouseEvent({\n type: 'tooltip',\n mouseEvent: this.lastMouseEvent,\n ePopup: this.tooltipComp.getGui(),\n nudgeY: 18,\n skipObserver: this.tooltipMouseTrack\n });\n };\n CustomTooltipFeature.prototype.clearTimeouts = function () {\n if (this.showTooltipTimeoutId) {\n window.clearTimeout(this.showTooltipTimeoutId);\n this.showTooltipTimeoutId = undefined;\n }\n if (this.hideTooltipTimeoutId) {\n window.clearTimeout(this.hideTooltipTimeoutId);\n this.hideTooltipTimeoutId = undefined;\n }\n };\n __decorate$2q([\n Autowired('popupService')\n ], CustomTooltipFeature.prototype, \"popupService\", void 0);\n __decorate$2q([\n Autowired('userComponentFactory')\n ], CustomTooltipFeature.prototype, \"userComponentFactory\", void 0);\n __decorate$2q([\n Autowired('columnApi')\n ], CustomTooltipFeature.prototype, \"columnApi\", void 0);\n __decorate$2q([\n Autowired('gridApi')\n ], CustomTooltipFeature.prototype, \"gridApi\", void 0);\n __decorate$2q([\n PostConstruct\n ], CustomTooltipFeature.prototype, \"postConstruct\", null);\n return CustomTooltipFeature;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar CssClassManager = /** @class */ (function () {\n function CssClassManager(getGui) {\n // to minimise DOM hits, we only apply CSS classes if they have changed. as adding a CSS class that is already\n // there, or removing one that wasn't present, all takes CPU.\n this.cssClassStates = {};\n this.getGui = getGui;\n }\n CssClassManager.prototype.addCssClass = function (className) {\n var _this = this;\n var list = (className || '').split(' ');\n if (list.length > 1) {\n list.forEach(function (cls) { return _this.addCssClass(cls); });\n return;\n }\n var updateNeeded = this.cssClassStates[className] !== true;\n if (updateNeeded && className.length) {\n var eGui = this.getGui();\n if (eGui) {\n eGui.classList.add(className);\n }\n this.cssClassStates[className] = true;\n }\n };\n CssClassManager.prototype.removeCssClass = function (className) {\n var _this = this;\n var list = (className || '').split(' ');\n if (list.length > 1) {\n list.forEach(function (cls) { return _this.removeCssClass(cls); });\n return;\n }\n var updateNeeded = this.cssClassStates[className] !== false;\n if (updateNeeded && className.length) {\n var eGui = this.getGui();\n if (eGui) {\n eGui.classList.remove(className);\n }\n this.cssClassStates[className] = false;\n }\n };\n CssClassManager.prototype.containsCssClass = function (className) {\n var eGui = this.getGui();\n if (!eGui) {\n return false;\n }\n return eGui.classList.contains(className);\n };\n CssClassManager.prototype.addOrRemoveCssClass = function (className, addOrRemove) {\n var _this = this;\n if (!className) {\n return;\n }\n // we check for spaces before doing the split, as doing the split\n // created a performance problem (on windows only, see AG-6765)\n if (className.indexOf(' ') >= 0) {\n var list = (className || '').split(' ');\n if (list.length > 1) {\n list.forEach(function (cls) { return _this.addOrRemoveCssClass(cls, addOrRemove); });\n return;\n }\n }\n var updateNeeded = this.cssClassStates[className] !== addOrRemove;\n if (updateNeeded && className.length) {\n var eGui = this.getGui();\n if (eGui) {\n eGui.classList.toggle(className, addOrRemove);\n }\n this.cssClassStates[className] = addOrRemove;\n }\n };\n return CssClassManager;\n}());\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$2O = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$2p = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar compIdSequence = new NumberSequence();\nvar Component = /** @class */ (function (_super) {\n __extends$2O(Component, _super);\n function Component(template) {\n var _this = _super.call(this) || this;\n // if false, then CSS class \"ag-hidden\" is applied, which sets \"display: none\"\n _this.displayed = true;\n // if false, then CSS class \"ag-invisible\" is applied, which sets \"visibility: hidden\"\n _this.visible = true;\n // unique id for this row component. this is used for getting a reference to the HTML dom.\n // we cannot use the RowNode id as this is not unique (due to animation, old rows can be lying\n // around as we create a new rowComp instance for the same row node).\n _this.compId = compIdSequence.next();\n _this.cssClassManager = new CssClassManager(function () { return _this.eGui; });\n if (template) {\n _this.setTemplate(template);\n }\n return _this;\n }\n Component.prototype.preConstructOnComponent = function () {\n this.usingBrowserTooltips = this.gridOptionsWrapper.isEnableBrowserTooltips();\n };\n Component.prototype.getCompId = function () {\n return this.compId;\n };\n Component.prototype.getTooltipParams = function () {\n return {\n value: this.tooltipText,\n location: 'UNKNOWN'\n };\n };\n Component.prototype.setTooltip = function (newTooltipText) {\n var _this = this;\n var removeTooltip = function () {\n if (_this.usingBrowserTooltips) {\n _this.getGui().removeAttribute('title');\n }\n else {\n _this.tooltipFeature = _this.destroyBean(_this.tooltipFeature);\n }\n };\n var addTooltip = function () {\n if (_this.usingBrowserTooltips) {\n _this.getGui().setAttribute('title', _this.tooltipText);\n }\n else {\n _this.tooltipFeature = _this.createBean(new CustomTooltipFeature(_this));\n }\n };\n if (this.tooltipText != newTooltipText) {\n if (this.tooltipText) {\n removeTooltip();\n }\n if (newTooltipText != null) {\n this.tooltipText = newTooltipText;\n if (this.tooltipText) {\n addTooltip();\n }\n }\n }\n };\n // for registered components only, eg creates AgCheckbox instance from ag-checkbox HTML tag\n Component.prototype.createChildComponentsFromTags = function (parentNode, paramsMap) {\n var _this = this;\n // we MUST take a copy of the list first, as the 'swapComponentForNode' adds comments into the DOM\n // which messes up the traversal order of the children.\n var childNodeList = copyNodeList(parentNode.childNodes);\n childNodeList.forEach(function (childNode) {\n if (!(childNode instanceof HTMLElement)) {\n return;\n }\n var childComp = _this.createComponentFromElement(childNode, function (childComp) {\n // copy over all attributes, including css classes, so any attributes user put on the tag\n // wll be carried across\n var childGui = childComp.getGui();\n if (childGui) {\n _this.copyAttributesFromNode(childNode, childComp.getGui());\n }\n }, paramsMap);\n if (childComp) {\n if (childComp.addItems && childNode.children.length) {\n _this.createChildComponentsFromTags(childNode, paramsMap);\n // converting from HTMLCollection to Array\n var items = Array.prototype.slice.call(childNode.children);\n childComp.addItems(items);\n }\n // replace the tag (eg ag-checkbox) with the proper HTMLElement (eg 'div') in the dom\n _this.swapComponentForNode(childComp, parentNode, childNode);\n }\n else if (childNode.childNodes) {\n _this.createChildComponentsFromTags(childNode, paramsMap);\n }\n });\n };\n Component.prototype.createComponentFromElement = function (element, afterPreCreateCallback, paramsMap) {\n var key = element.nodeName;\n var componentParams = paramsMap ? paramsMap[element.getAttribute('ref')] : undefined;\n var ComponentClass = this.agStackComponentsRegistry.getComponentClass(key);\n if (ComponentClass) {\n Component.elementGettingCreated = element;\n var newComponent = new ComponentClass(componentParams);\n newComponent.setParentComponent(this);\n this.createBean(newComponent, null, afterPreCreateCallback);\n return newComponent;\n }\n return null;\n };\n Component.prototype.copyAttributesFromNode = function (source, dest) {\n iterateNamedNodeMap(source.attributes, function (name, value) { return dest.setAttribute(name, value); });\n };\n Component.prototype.swapComponentForNode = function (newComponent, parentNode, childNode) {\n var eComponent = newComponent.getGui();\n parentNode.replaceChild(eComponent, childNode);\n parentNode.insertBefore(document.createComment(childNode.nodeName), eComponent);\n this.addDestroyFunc(this.destroyBean.bind(this, newComponent));\n this.swapInComponentForQuerySelectors(newComponent, childNode);\n };\n Component.prototype.swapInComponentForQuerySelectors = function (newComponent, childNode) {\n var thisNoType = this;\n this.iterateOverQuerySelectors(function (querySelector) {\n if (thisNoType[querySelector.attributeName] === childNode) {\n thisNoType[querySelector.attributeName] = newComponent;\n }\n });\n };\n Component.prototype.iterateOverQuerySelectors = function (action) {\n var thisPrototype = Object.getPrototypeOf(this);\n while (thisPrototype != null) {\n var metaData = thisPrototype.__agComponentMetaData;\n var currentProtoName = getFunctionName(thisPrototype.constructor);\n if (metaData && metaData[currentProtoName] && metaData[currentProtoName].querySelectors) {\n metaData[currentProtoName].querySelectors.forEach(function (querySelector) { return action(querySelector); });\n }\n thisPrototype = Object.getPrototypeOf(thisPrototype);\n }\n };\n Component.prototype.setTemplate = function (template, paramsMap) {\n var eGui = loadTemplate(template);\n this.setTemplateFromElement(eGui, paramsMap);\n };\n Component.prototype.setTemplateFromElement = function (element, paramsMap) {\n this.eGui = element;\n this.eGui.__agComponent = this;\n this.wireQuerySelectors();\n // context will not be available when user sets template in constructor\n if (!!this.getContext()) {\n this.createChildComponentsFromTags(this.getGui(), paramsMap);\n }\n };\n Component.prototype.createChildComponentsPreConstruct = function () {\n // ui exists if user sets template in constructor. when this happens, we have to wait for the context\n // to be autoWired first before we can create child components.\n if (!!this.getGui()) {\n this.createChildComponentsFromTags(this.getGui());\n }\n };\n Component.prototype.wireQuerySelectors = function () {\n var _this = this;\n if (!this.eGui) {\n return;\n }\n var thisNoType = this;\n this.iterateOverQuerySelectors(function (querySelector) {\n var setResult = function (result) { return thisNoType[querySelector.attributeName] = result; };\n // if it's a ref selector, and match is on top level component, we return\n // the element. otherwise no way of components putting ref=xxx on the top\n // level element as querySelector only looks at children.\n var topLevelRefMatch = querySelector.refSelector\n && _this.eGui.getAttribute('ref') === querySelector.refSelector;\n if (topLevelRefMatch) {\n setResult(_this.eGui);\n }\n else {\n // otherwise use querySelector, which looks at children\n var resultOfQuery = _this.eGui.querySelector(querySelector.querySelector);\n if (resultOfQuery) {\n setResult(resultOfQuery.__agComponent || resultOfQuery);\n }\n }\n });\n };\n Component.prototype.getGui = function () {\n return this.eGui;\n };\n Component.prototype.getFocusableElement = function () {\n return this.eGui;\n };\n Component.prototype.setParentComponent = function (component) {\n this.parentComponent = component;\n };\n Component.prototype.getParentComponent = function () {\n return this.parentComponent;\n };\n // this method is for older code, that wants to provide the gui element,\n // it is not intended for this to be in ag-Stack\n Component.prototype.setGui = function (eGui) {\n this.eGui = eGui;\n };\n Component.prototype.queryForHtmlElement = function (cssSelector) {\n return this.eGui.querySelector(cssSelector);\n };\n Component.prototype.queryForHtmlInputElement = function (cssSelector) {\n return this.eGui.querySelector(cssSelector);\n };\n Component.prototype.appendChild = function (newChild, container) {\n if (newChild == null) {\n return;\n }\n if (!container) {\n container = this.eGui;\n }\n if (isNodeOrElement(newChild)) {\n container.appendChild(newChild);\n }\n else {\n var childComponent = newChild;\n container.appendChild(childComponent.getGui());\n }\n };\n Component.prototype.isDisplayed = function () {\n return this.displayed;\n };\n Component.prototype.setVisible = function (visible) {\n if (visible !== this.visible) {\n this.visible = visible;\n setVisible(this.eGui, visible);\n }\n };\n Component.prototype.setDisplayed = function (displayed) {\n if (displayed !== this.displayed) {\n this.displayed = displayed;\n setDisplayed(this.eGui, displayed);\n var event_1 = {\n type: Component.EVENT_DISPLAYED_CHANGED,\n visible: this.displayed\n };\n this.dispatchEvent(event_1);\n }\n };\n Component.prototype.destroy = function () {\n if (this.tooltipFeature) {\n this.tooltipFeature = this.destroyBean(this.tooltipFeature);\n }\n _super.prototype.destroy.call(this);\n };\n Component.prototype.addGuiEventListener = function (event, listener) {\n var _this = this;\n this.eGui.addEventListener(event, listener);\n this.addDestroyFunc(function () { return _this.eGui.removeEventListener(event, listener); });\n };\n Component.prototype.addCssClass = function (className) {\n this.cssClassManager.addCssClass(className);\n };\n Component.prototype.removeCssClass = function (className) {\n this.cssClassManager.removeCssClass(className);\n };\n Component.prototype.containsCssClass = function (className) {\n return this.cssClassManager.containsCssClass(className);\n };\n Component.prototype.addOrRemoveCssClass = function (className, addOrRemove) {\n this.cssClassManager.addOrRemoveCssClass(className, addOrRemove);\n };\n Component.prototype.getAttribute = function (key) {\n var eGui = this.eGui;\n return eGui ? eGui.getAttribute(key) : null;\n };\n Component.prototype.getRefElement = function (refName) {\n return this.queryForHtmlElement(\"[ref=\\\"\" + refName + \"\\\"]\");\n };\n Component.EVENT_DISPLAYED_CHANGED = 'displayedChanged';\n __decorate$2p([\n Autowired('agStackComponentsRegistry')\n ], Component.prototype, \"agStackComponentsRegistry\", void 0);\n __decorate$2p([\n PreConstruct\n ], Component.prototype, \"preConstructOnComponent\", null);\n __decorate$2p([\n PreConstruct\n ], Component.prototype, \"createChildComponentsPreConstruct\", null);\n return Component;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nfunction QuerySelector(selector) {\n return querySelectorFunc.bind(this, selector, undefined);\n}\nfunction RefSelector(ref) {\n return querySelectorFunc.bind(this, \"[ref=\" + ref + \"]\", ref);\n}\nfunction querySelectorFunc(selector, refSelector, classPrototype, methodOrAttributeName, index) {\n if (selector === null) {\n console.error('AG Grid: QuerySelector selector should not be null');\n return;\n }\n if (typeof index === 'number') {\n console.error('AG Grid: QuerySelector should be on an attribute');\n return;\n }\n addToObjectProps(classPrototype, 'querySelectors', {\n attributeName: methodOrAttributeName,\n querySelector: selector,\n refSelector: refSelector\n });\n}\n// // think we should take this out, put property bindings on the\n// export function Method(eventName?: string): Function {\n// return methodFunc.bind(this, eventName);\n// }\n//\n// function methodFunc(alias: string, target: Object, methodName: string) {\n// if (alias === null) {\n// console.error(\"AG Grid: EventListener eventName should not be null\");\n// return;\n// }\n//\n// addToObjectProps(target, 'methods', {\n// methodName: methodName,\n// alias: alias\n// });\n// }\nfunction addToObjectProps(target, key, value) {\n // it's an attribute on the class\n var props = getOrCreateProps(target, getFunctionName(target.constructor));\n if (!props[key]) {\n props[key] = [];\n }\n props[key].push(value);\n}\nfunction getOrCreateProps(target, instanceName) {\n if (!target.__agComponentMetaData) {\n target.__agComponentMetaData = {};\n }\n if (!target.__agComponentMetaData[instanceName]) {\n target.__agComponentMetaData[instanceName] = {};\n }\n return target.__agComponentMetaData[instanceName];\n}\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$2N = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$2o = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n// optional floating filter for user provided filters - instead of providing a floating filter,\n// they can provide a getModelAsString() method on the filter instead. this class just displays\n// the string returned from getModelAsString()\nvar ReadOnlyFloatingFilter = /** @class */ (function (_super) {\n __extends$2N(ReadOnlyFloatingFilter, _super);\n function ReadOnlyFloatingFilter() {\n return _super.call(this, /* html */ \"\\n
    \\n \\n
    \") || this;\n }\n // this is a user component, and IComponent has \"public destroy()\" as part of the interface.\n // so we need to override destroy() just to make the method public.\n ReadOnlyFloatingFilter.prototype.destroy = function () {\n _super.prototype.destroy.call(this);\n };\n ReadOnlyFloatingFilter.prototype.init = function (params) {\n this.params = params;\n var displayName = this.columnModel.getDisplayNameForColumn(params.column, 'header', true);\n var translate = this.gridOptionsWrapper.getLocaleTextFunc();\n this.eFloatingFilterText\n .setDisabled(true)\n .setInputAriaLabel(displayName + \" \" + translate('ariaFilterInput', 'Filter Input'));\n };\n ReadOnlyFloatingFilter.prototype.onParentModelChanged = function (parentModel) {\n var _this = this;\n if (!parentModel) {\n this.eFloatingFilterText.setValue('');\n return;\n }\n this.params.parentFilterInstance(function (filterInstance) {\n // it would be nice to check if getModelAsString was present before creating this component,\n // however that is not possible, as React Hooks and VueJS don't attached the methods to the Filter until\n // AFTER the filter is created, not allowing inspection before this (we create floating filters as columns\n // are drawn, but the parent filters are only created when needed).\n if (filterInstance.getModelAsString) {\n var modelAsString = filterInstance.getModelAsString(parentModel);\n _this.eFloatingFilterText.setValue(modelAsString);\n }\n });\n };\n __decorate$2o([\n RefSelector('eFloatingFilterText')\n ], ReadOnlyFloatingFilter.prototype, \"eFloatingFilterText\", void 0);\n __decorate$2o([\n Autowired('columnModel')\n ], ReadOnlyFloatingFilter.prototype, \"columnModel\", void 0);\n return ReadOnlyFloatingFilter;\n}(Component));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\n/** Provides sync access to async component. Date component can be lazy created - this class encapsulates\n * this by keeping value locally until DateComp has loaded, then passing DateComp the value. */\nvar DateCompWrapper = /** @class */ (function () {\n function DateCompWrapper(context, userComponentFactory, dateComponentParams, eParent) {\n var _this = this;\n this.alive = true;\n this.context = context;\n this.eParent = eParent;\n var compDetails = userComponentFactory.getDateCompDetails(dateComponentParams);\n var promise = compDetails.newAgStackInstance();\n promise.then(function (dateComp) {\n // because async, check the filter still exists after component comes back\n if (!_this.alive) {\n context.destroyBean(dateComp);\n return;\n }\n _this.dateComp = dateComp;\n if (!dateComp) {\n return;\n }\n eParent.appendChild(dateComp.getGui());\n if (dateComp.afterGuiAttached) {\n dateComp.afterGuiAttached();\n }\n if (_this.tempValue) {\n dateComp.setDate(_this.tempValue);\n }\n if (_this.disabled != null) {\n _this.setDateCompDisabled(_this.disabled);\n }\n });\n }\n DateCompWrapper.prototype.destroy = function () {\n this.alive = false;\n this.dateComp = this.context.destroyBean(this.dateComp);\n };\n DateCompWrapper.prototype.getDate = function () {\n return this.dateComp ? this.dateComp.getDate() : this.tempValue;\n };\n DateCompWrapper.prototype.setDate = function (value) {\n if (this.dateComp) {\n this.dateComp.setDate(value);\n }\n else {\n this.tempValue = value;\n }\n };\n DateCompWrapper.prototype.setDisabled = function (disabled) {\n if (this.dateComp) {\n this.setDateCompDisabled(disabled);\n }\n else {\n this.disabled = disabled;\n }\n };\n DateCompWrapper.prototype.setDisplayed = function (displayed) {\n setDisplayed(this.eParent, displayed);\n };\n DateCompWrapper.prototype.setInputPlaceholder = function (placeholder) {\n if (this.dateComp && this.dateComp.setInputPlaceholder) {\n this.dateComp.setInputPlaceholder(placeholder);\n }\n };\n DateCompWrapper.prototype.setInputAriaLabel = function (label) {\n if (this.dateComp && this.dateComp.setInputAriaLabel) {\n this.dateComp.setInputAriaLabel(label);\n }\n };\n DateCompWrapper.prototype.afterGuiAttached = function (params) {\n if (this.dateComp && typeof this.dateComp.afterGuiAttached === 'function') {\n this.dateComp.afterGuiAttached(params);\n }\n };\n DateCompWrapper.prototype.setDateCompDisabled = function (disabled) {\n if (this.dateComp == null) {\n return;\n }\n if (this.dateComp.setDisabled == null) {\n return;\n }\n this.dateComp.setDisabled(disabled);\n };\n return DateCompWrapper;\n}());\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __assign$d = (undefined && undefined.__assign) || function () {\n __assign$d = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign$d.apply(this, arguments);\n};\n/* Common logic for options, used by both filters and floating filters. */\nvar OptionsFactory = /** @class */ (function () {\n function OptionsFactory() {\n this.customFilterOptions = {};\n }\n OptionsFactory.prototype.init = function (params, defaultOptions) {\n this.filterOptions = params.filterOptions || defaultOptions;\n this.mapCustomOptions();\n this.selectDefaultItem(params);\n this.checkForDeprecatedParams();\n };\n OptionsFactory.prototype.checkForDeprecatedParams = function () {\n if (this.filterOptions.some(function (opt) { return typeof opt != 'string' && opt.test != null; })) {\n console.warn(\"AG Grid: [IFilterOptionDef] since v26.2.0, test() has been replaced with predicate().\");\n }\n if (this.filterOptions.some(function (opt) { return typeof opt != 'string' && opt.hideFilterInput != null; })) {\n console.warn(\"AG Grid: [IFilterOptionDef] since v26.2.0, useOfHideFilterInput has been replaced with numberOfInputs.\");\n }\n };\n OptionsFactory.prototype.getFilterOptions = function () {\n return this.filterOptions;\n };\n OptionsFactory.prototype.mapCustomOptions = function () {\n var _this = this;\n if (!this.filterOptions) {\n return;\n }\n this.filterOptions.forEach(function (filterOption) {\n if (typeof filterOption === 'string') {\n return;\n }\n var requiredProperties = [['displayKey'], ['displayName'], ['predicate', 'test']];\n var propertyCheck = function (keys) {\n if (!keys.some(function (key) { return filterOption[key] != null; })) {\n console.warn(\"AG Grid: ignoring FilterOptionDef as it doesn't contain one of '\" + keys + \"'\");\n return false;\n }\n return true;\n };\n if (!requiredProperties.every(propertyCheck)) {\n _this.filterOptions = _this.filterOptions.filter(function (v) { return v === filterOption; }) || [];\n return;\n }\n var test = filterOption.test;\n var mutatedFilterOptions = __assign$d({}, filterOption);\n if (test != null && filterOption.predicate == null) {\n mutatedFilterOptions.predicate = function (v, cv) { return test(v[0], cv); };\n delete mutatedFilterOptions.test;\n }\n if (mutatedFilterOptions.hideFilterInput && mutatedFilterOptions.numberOfInputs == null) {\n mutatedFilterOptions.numberOfInputs = 0;\n delete mutatedFilterOptions.hideFilterInput;\n }\n _this.customFilterOptions[filterOption.displayKey] = mutatedFilterOptions;\n });\n };\n OptionsFactory.prototype.selectDefaultItem = function (params) {\n if (params.defaultOption) {\n this.defaultOption = params.defaultOption;\n }\n else if (this.filterOptions.length >= 1) {\n var firstFilterOption = this.filterOptions[0];\n if (typeof firstFilterOption === 'string') {\n this.defaultOption = firstFilterOption;\n }\n else if (firstFilterOption.displayKey) {\n this.defaultOption = firstFilterOption.displayKey;\n }\n else {\n console.warn(\"AG Grid: invalid FilterOptionDef supplied as it doesn't contain a 'displayKey'\");\n }\n }\n else {\n console.warn('AG Grid: no filter options for filter');\n }\n };\n OptionsFactory.prototype.getDefaultOption = function () {\n return this.defaultOption;\n };\n OptionsFactory.prototype.getCustomOption = function (name) {\n return this.customFilterOptions[name];\n };\n return OptionsFactory;\n}());\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar DEFAULT_FILTER_LOCALE_TEXT = {\n applyFilter: 'Apply',\n clearFilter: 'Clear',\n resetFilter: 'Reset',\n cancelFilter: 'Cancel',\n textFilter: 'Text Filter',\n numberFilter: 'Number Filter',\n dateFilter: 'Date Filter',\n setFilter: 'Set Filter',\n filterOoo: 'Filter...',\n empty: 'Choose One',\n equals: 'Equals',\n notEqual: 'Not equal',\n lessThan: 'Less than',\n greaterThan: 'Greater than',\n inRange: 'In range',\n inRangeStart: 'From',\n inRangeEnd: 'To',\n lessThanOrEqual: 'Less than or equals',\n greaterThanOrEqual: 'Greater than or equals',\n contains: 'Contains',\n notContains: 'Not contains',\n startsWith: 'Starts with',\n endsWith: 'Ends with',\n blank: 'Blank',\n notBlank: 'Not blank',\n andCondition: 'AND',\n orCondition: 'OR',\n dateFormatOoo: 'yyyy-mm-dd',\n};\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$2M = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign$c = (undefined && undefined.__assign) || function () {\n __assign$c = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign$c.apply(this, arguments);\n};\nvar __decorate$2n = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar ManagedFocusFeature = /** @class */ (function (_super) {\n __extends$2M(ManagedFocusFeature, _super);\n function ManagedFocusFeature(eFocusableElement, callbacks) {\n if (callbacks === void 0) { callbacks = {}; }\n var _this = _super.call(this) || this;\n _this.eFocusableElement = eFocusableElement;\n _this.callbacks = callbacks;\n _this.callbacks = __assign$c({ shouldStopEventPropagation: function () { return false; }, onTabKeyDown: function (e) {\n if (e.defaultPrevented) {\n return;\n }\n var nextRoot = _this.focusService.findNextFocusableElement(_this.eFocusableElement, false, e.shiftKey);\n if (!nextRoot) {\n return;\n }\n nextRoot.focus();\n e.preventDefault();\n } }, callbacks);\n return _this;\n }\n ManagedFocusFeature.prototype.postConstruct = function () {\n this.eFocusableElement.classList.add(ManagedFocusFeature.FOCUS_MANAGED_CLASS);\n this.addKeyDownListeners(this.eFocusableElement);\n if (this.callbacks.onFocusIn) {\n this.addManagedListener(this.eFocusableElement, 'focusin', this.callbacks.onFocusIn);\n }\n if (this.callbacks.onFocusOut) {\n this.addManagedListener(this.eFocusableElement, 'focusout', this.callbacks.onFocusOut);\n }\n };\n ManagedFocusFeature.prototype.addKeyDownListeners = function (eGui) {\n var _this = this;\n this.addManagedListener(eGui, 'keydown', function (e) {\n if (e.defaultPrevented || isStopPropagationForAgGrid(e)) {\n return;\n }\n if (_this.callbacks.shouldStopEventPropagation(e)) {\n stopPropagationForAgGrid(e);\n return;\n }\n if (e.key === KeyCode.TAB) {\n _this.callbacks.onTabKeyDown(e);\n }\n else if (_this.callbacks.handleKeyDown) {\n _this.callbacks.handleKeyDown(e);\n }\n });\n };\n ManagedFocusFeature.FOCUS_MANAGED_CLASS = 'ag-focus-managed';\n __decorate$2n([\n Autowired('focusService')\n ], ManagedFocusFeature.prototype, \"focusService\", void 0);\n __decorate$2n([\n PostConstruct\n ], ManagedFocusFeature.prototype, \"postConstruct\", null);\n return ManagedFocusFeature;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$2L = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$2m = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n/**\n * Contains common logic to all provided filters (apply button, clear button, etc).\n * All the filters that come with AG Grid extend this class. User filters do not\n * extend this class.\n *\n * @param M type of filter-model managed by the concrete sub-class that extends this type\n * @param V type of value managed by the concrete sub-class that extends this type\n */\nvar ProvidedFilter = /** @class */ (function (_super) {\n __extends$2L(ProvidedFilter, _super);\n function ProvidedFilter(filterNameKey) {\n var _this = _super.call(this) || this;\n _this.filterNameKey = filterNameKey;\n _this.applyActive = false;\n _this.hidePopup = null;\n // after the user hits 'apply' the model gets copied to here. this is then the model that we use for\n // all filtering. so if user changes UI but doesn't hit apply, then the UI will be out of sync with this model.\n // this is what we want, as the UI should only become the 'active' filter once it's applied. when apply is\n // inactive, this model will be in sync (following the debounce ms). if the UI is not a valid filter\n // (eg the value is missing so nothing to filter on, or for set filter all checkboxes are checked so filter\n // not active) then this appliedModel will be null/undefined.\n _this.appliedModel = null;\n return _this;\n }\n ProvidedFilter.prototype.postConstruct = function () {\n this.resetTemplate(); // do this first to create the DOM\n this.createManagedBean(new ManagedFocusFeature(this.getFocusableElement(), {\n handleKeyDown: this.handleKeyDown.bind(this)\n }));\n };\n // override\n ProvidedFilter.prototype.handleKeyDown = function (e) { };\n ProvidedFilter.prototype.getFilterTitle = function () {\n return this.translate(this.filterNameKey);\n };\n ProvidedFilter.prototype.isFilterActive = function () {\n // filter is active if we have a valid applied model\n return !!this.appliedModel;\n };\n ProvidedFilter.prototype.resetTemplate = function (paramsMap) {\n var eGui = this.getGui();\n if (eGui) {\n eGui.removeEventListener('submit', this.onFormSubmit);\n }\n var templateString = /* html */ \"\\n
    \\n
    \\n \" + this.createBodyTemplate() + \"\\n
    \\n
    \";\n this.setTemplate(templateString, paramsMap);\n eGui = this.getGui();\n if (eGui) {\n eGui.addEventListener('submit', this.onFormSubmit);\n }\n };\n ProvidedFilter.prototype.isReadOnly = function () {\n return !!this.providedFilterParams.readOnly;\n };\n ProvidedFilter.prototype.init = function (params) {\n var _this = this;\n this.setParams(params);\n this.resetUiToDefaults(true).then(function () {\n _this.updateUiVisibility();\n _this.setupOnBtApplyDebounce();\n });\n };\n ProvidedFilter.prototype.setParams = function (params) {\n this.providedFilterParams = params;\n this.applyActive = ProvidedFilter.isUseApplyButton(params);\n this.createButtonPanel();\n };\n ProvidedFilter.prototype.createButtonPanel = function () {\n var _this = this;\n var buttons = this.providedFilterParams.buttons;\n if (!buttons || buttons.length < 1 || this.isReadOnly()) {\n return;\n }\n var eButtonsPanel = document.createElement('div');\n eButtonsPanel.classList.add('ag-filter-apply-panel');\n var addButton = function (type) {\n var text;\n var clickListener;\n switch (type) {\n case 'apply':\n text = _this.translate('applyFilter');\n clickListener = function (e) { return _this.onBtApply(false, false, e); };\n break;\n case 'clear':\n text = _this.translate('clearFilter');\n clickListener = function () { return _this.onBtClear(); };\n break;\n case 'reset':\n text = _this.translate('resetFilter');\n clickListener = function () { return _this.onBtReset(); };\n break;\n case 'cancel':\n text = _this.translate('cancelFilter');\n clickListener = function (e) { _this.onBtCancel(e); };\n break;\n default:\n console.warn('AG Grid: Unknown button type specified');\n return;\n }\n var buttonType = type === 'apply' ? 'submit' : 'button';\n var button = loadTemplate(\n /* html */\n \"\" + text + \"\\n \");\n eButtonsPanel.appendChild(button);\n _this.addManagedListener(button, 'click', clickListener);\n };\n convertToSet(buttons).forEach(function (type) { return addButton(type); });\n this.getGui().appendChild(eButtonsPanel);\n };\n // subclasses can override this to provide alternative debounce defaults\n ProvidedFilter.prototype.getDefaultDebounceMs = function () {\n return 0;\n };\n ProvidedFilter.prototype.setupOnBtApplyDebounce = function () {\n var debounceMs = ProvidedFilter.getDebounceMs(this.providedFilterParams, this.getDefaultDebounceMs());\n this.onBtApplyDebounce = debounce(this.onBtApply.bind(this), debounceMs);\n };\n ProvidedFilter.prototype.getModel = function () {\n return this.appliedModel ? this.appliedModel : null;\n };\n ProvidedFilter.prototype.setModel = function (model) {\n var _this = this;\n var promise = model != null ? this.setModelIntoUi(model) : this.resetUiToDefaults();\n return promise.then(function () {\n _this.updateUiVisibility();\n // we set the model from the GUI, rather than the provided model,\n // so the model is consistent, e.g. handling of null/undefined will be the same,\n // or if model is case insensitive, then casing is removed.\n _this.applyModel();\n });\n };\n ProvidedFilter.prototype.onBtCancel = function (e) {\n var _this = this;\n var currentModel = this.getModel();\n var afterAppliedFunc = function () {\n _this.onUiChanged(false, 'prevent');\n if (_this.providedFilterParams.closeOnApply) {\n _this.close(e);\n }\n };\n if (currentModel != null) {\n this.setModelIntoUi(currentModel).then(afterAppliedFunc);\n }\n else {\n this.resetUiToDefaults().then(afterAppliedFunc);\n }\n };\n ProvidedFilter.prototype.onBtClear = function () {\n var _this = this;\n this.resetUiToDefaults().then(function () { return _this.onUiChanged(); });\n };\n ProvidedFilter.prototype.onBtReset = function () {\n this.onBtClear();\n this.onBtApply();\n };\n /**\n * Applies changes made in the UI to the filter, and returns true if the model has changed.\n */\n ProvidedFilter.prototype.applyModel = function () {\n var newModel = this.getModelFromUi();\n if (!this.isModelValid(newModel)) {\n return false;\n }\n var previousModel = this.appliedModel;\n this.appliedModel = newModel;\n // models can be same if user pasted same content into text field, or maybe just changed the case\n // and it's a case insensitive filter\n return !this.areModelsEqual(previousModel, newModel);\n };\n ProvidedFilter.prototype.isModelValid = function (model) {\n return true;\n };\n ProvidedFilter.prototype.onFormSubmit = function (e) {\n e.preventDefault();\n };\n ProvidedFilter.prototype.onBtApply = function (afterFloatingFilter, afterDataChange, e) {\n if (afterFloatingFilter === void 0) { afterFloatingFilter = false; }\n if (afterDataChange === void 0) { afterDataChange = false; }\n // Prevent form submission\n if (e) {\n e.preventDefault();\n }\n if (this.applyModel()) {\n // the floating filter uses 'afterFloatingFilter' info, so it doesn't refresh after filter changed if change\n // came from floating filter\n this.providedFilterParams.filterChangedCallback({ afterFloatingFilter: afterFloatingFilter, afterDataChange: afterDataChange });\n }\n var closeOnApply = this.providedFilterParams.closeOnApply;\n // only close if an apply button is visible, otherwise we'd be closing every time a change was made!\n if (closeOnApply && this.applyActive && !afterFloatingFilter && !afterDataChange) {\n this.close(e);\n }\n };\n ProvidedFilter.prototype.onNewRowsLoaded = function () {\n };\n ProvidedFilter.prototype.close = function (e) {\n if (!this.hidePopup) {\n return;\n }\n var keyboardEvent = e;\n var key = keyboardEvent && keyboardEvent.key;\n var params;\n if (key === 'Enter' || key === 'Space') {\n params = { keyboardEvent: keyboardEvent };\n }\n this.hidePopup(params);\n this.hidePopup = null;\n };\n /**\n * By default, if the change came from a floating filter it will be applied immediately, otherwise if there is no\n * apply button it will be applied after a debounce, otherwise it will not be applied at all. This behaviour can\n * be adjusted by using the apply parameter.\n */\n ProvidedFilter.prototype.onUiChanged = function (fromFloatingFilter, apply) {\n if (fromFloatingFilter === void 0) { fromFloatingFilter = false; }\n this.updateUiVisibility();\n this.providedFilterParams.filterModifiedCallback();\n if (this.applyActive && !this.isReadOnly) {\n var isValid = this.isModelValid(this.getModelFromUi());\n setDisabled(this.getRefElement('applyFilterButton'), !isValid);\n }\n if ((fromFloatingFilter && !apply) || apply === 'immediately') {\n this.onBtApply(fromFloatingFilter);\n }\n else if ((!this.applyActive && !apply) || apply === 'debounce') {\n this.onBtApplyDebounce();\n }\n };\n ProvidedFilter.prototype.afterGuiAttached = function (params) {\n if (params == null) {\n return;\n }\n this.hidePopup = params.hidePopup;\n };\n // static, as used by floating filter also\n ProvidedFilter.getDebounceMs = function (params, debounceDefault) {\n if (ProvidedFilter.isUseApplyButton(params)) {\n if (params.debounceMs != null) {\n console.warn('AG Grid: debounceMs is ignored when apply button is present');\n }\n return 0;\n }\n return params.debounceMs != null ? params.debounceMs : debounceDefault;\n };\n // static, as used by floating filter also\n ProvidedFilter.isUseApplyButton = function (params) {\n return !!params.buttons && params.buttons.indexOf('apply') >= 0;\n };\n ProvidedFilter.prototype.destroy = function () {\n var eGui = this.getGui();\n if (eGui) {\n eGui.removeEventListener('submit', this.onFormSubmit);\n }\n this.hidePopup = null;\n _super.prototype.destroy.call(this);\n };\n ProvidedFilter.prototype.translate = function (key) {\n var translate = this.gridOptionsWrapper.getLocaleTextFunc();\n return translate(key, DEFAULT_FILTER_LOCALE_TEXT[key]);\n };\n ProvidedFilter.prototype.getCellValue = function (rowNode) {\n var _a = this.providedFilterParams, api = _a.api, colDef = _a.colDef, column = _a.column, columnApi = _a.columnApi, context = _a.context;\n return this.providedFilterParams.valueGetter({\n api: api,\n colDef: colDef,\n column: column,\n columnApi: columnApi,\n context: context,\n data: rowNode.data,\n getValue: function (field) { return rowNode.data[field]; },\n node: rowNode,\n });\n };\n __decorate$2m([\n Autowired('rowModel')\n ], ProvidedFilter.prototype, \"rowModel\", void 0);\n __decorate$2m([\n PostConstruct\n ], ProvidedFilter.prototype, \"postConstruct\", null);\n return ProvidedFilter;\n}(Component));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$2K = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$2l = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar AgAbstractLabel = /** @class */ (function (_super) {\n __extends$2K(AgAbstractLabel, _super);\n function AgAbstractLabel(config, template) {\n var _this = _super.call(this, template) || this;\n _this.labelSeparator = '';\n _this.labelAlignment = 'left';\n _this.disabled = false;\n _this.label = '';\n _this.config = config || {};\n return _this;\n }\n AgAbstractLabel.prototype.postConstruct = function () {\n this.addCssClass('ag-labeled');\n this.eLabel.classList.add('ag-label');\n var _a = this.config, labelSeparator = _a.labelSeparator, label = _a.label, labelWidth = _a.labelWidth, labelAlignment = _a.labelAlignment;\n if (labelSeparator != null) {\n this.setLabelSeparator(labelSeparator);\n }\n if (label != null) {\n this.setLabel(label);\n }\n if (labelWidth != null) {\n this.setLabelWidth(labelWidth);\n }\n this.setLabelAlignment(labelAlignment || this.labelAlignment);\n this.refreshLabel();\n };\n AgAbstractLabel.prototype.refreshLabel = function () {\n clearElement(this.eLabel);\n if (typeof this.label === 'string') {\n this.eLabel.innerText = this.label + this.labelSeparator;\n }\n else if (this.label) {\n this.eLabel.appendChild(this.label);\n }\n if (this.label === '') {\n this.eLabel.classList.add('ag-hidden');\n setAriaRole(this.eLabel, 'presentation');\n }\n else {\n this.eLabel.classList.remove('ag-hidden');\n setAriaRole(this.eLabel, null);\n }\n };\n AgAbstractLabel.prototype.setLabelSeparator = function (labelSeparator) {\n if (this.labelSeparator === labelSeparator) {\n return this;\n }\n this.labelSeparator = labelSeparator;\n if (this.label != null) {\n this.refreshLabel();\n }\n return this;\n };\n AgAbstractLabel.prototype.getLabelId = function () {\n this.eLabel.id = this.eLabel.id || \"ag-\" + this.getCompId() + \"-label\";\n return this.eLabel.id;\n };\n AgAbstractLabel.prototype.getLabel = function () {\n return this.label;\n };\n AgAbstractLabel.prototype.setLabel = function (label) {\n if (this.label === label) {\n return this;\n }\n this.label = label;\n this.refreshLabel();\n return this;\n };\n AgAbstractLabel.prototype.setLabelAlignment = function (alignment) {\n var eGui = this.getGui();\n var eGuiClassList = eGui.classList;\n eGuiClassList.toggle('ag-label-align-left', alignment === 'left');\n eGuiClassList.toggle('ag-label-align-right', alignment === 'right');\n eGuiClassList.toggle('ag-label-align-top', alignment === 'top');\n return this;\n };\n AgAbstractLabel.prototype.setLabelWidth = function (width) {\n if (this.label == null) {\n return this;\n }\n setElementWidth(this.eLabel, width);\n return this;\n };\n AgAbstractLabel.prototype.setDisabled = function (disabled) {\n disabled = !!disabled;\n var element = this.getGui();\n setDisabled(element, disabled);\n element.classList.toggle('ag-disabled', disabled);\n this.disabled = disabled;\n return this;\n };\n AgAbstractLabel.prototype.isDisabled = function () {\n return !!this.disabled;\n };\n __decorate$2l([\n PostConstruct\n ], AgAbstractLabel.prototype, \"postConstruct\", null);\n return AgAbstractLabel;\n}(Component));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$2J = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar AgAbstractField = /** @class */ (function (_super) {\n __extends$2J(AgAbstractField, _super);\n function AgAbstractField(config, template, className) {\n var _this = _super.call(this, config, template) || this;\n _this.className = className;\n return _this;\n }\n AgAbstractField.prototype.postConstruct = function () {\n _super.prototype.postConstruct.call(this);\n if (this.className) {\n this.addCssClass(this.className);\n }\n };\n AgAbstractField.prototype.onValueChange = function (callbackFn) {\n var _this = this;\n this.addManagedListener(this, AgAbstractField.EVENT_CHANGED, function () { return callbackFn(_this.getValue()); });\n return this;\n };\n AgAbstractField.prototype.getWidth = function () {\n return this.getGui().clientWidth;\n };\n AgAbstractField.prototype.setWidth = function (width) {\n setFixedWidth(this.getGui(), width);\n return this;\n };\n AgAbstractField.prototype.getPreviousValue = function () {\n return this.previousValue;\n };\n AgAbstractField.prototype.getValue = function () {\n return this.value;\n };\n AgAbstractField.prototype.setValue = function (value, silent) {\n if (this.value === value) {\n return this;\n }\n this.previousValue = this.value;\n this.value = value;\n if (!silent) {\n this.dispatchEvent({ type: AgAbstractField.EVENT_CHANGED });\n }\n return this;\n };\n AgAbstractField.EVENT_CHANGED = 'valueChange';\n return AgAbstractField;\n}(AgAbstractLabel));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$2I = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$2k = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar AgPickerField = /** @class */ (function (_super) {\n __extends$2I(AgPickerField, _super);\n function AgPickerField(config, className, pickerIcon, ariaRole) {\n var _this = _super.call(this, config, \n /* html */ \"
    \\n
    \\n
    \\n
    \\n
    \\n
    \\n
    \", className) || this;\n _this.pickerIcon = pickerIcon;\n _this.isPickerDisplayed = false;\n _this.isDestroyingPicker = false;\n _this.skipClick = false;\n return _this;\n }\n AgPickerField.prototype.postConstruct = function () {\n var _this = this;\n _super.prototype.postConstruct.call(this);\n var displayId = this.getCompId() + \"-display\";\n this.eDisplayField.setAttribute('id', displayId);\n setAriaDescribedBy(this.eWrapper, displayId);\n var clickHandler = function () {\n if (_this.skipClick) {\n _this.skipClick = false;\n return;\n }\n if (_this.isDisabled()) {\n return;\n }\n _this.pickerComponent = _this.showPicker();\n };\n var eGui = this.getGui();\n this.addManagedListener(eGui, 'mousedown', function (e) {\n if (!_this.skipClick &&\n _this.pickerComponent &&\n _this.pickerComponent.isAlive() &&\n isVisible(_this.pickerComponent.getGui()) &&\n eGui.contains(e.target)) {\n _this.skipClick = true;\n }\n });\n this.addManagedListener(eGui, 'keydown', function (e) {\n switch (e.key) {\n case KeyCode.UP:\n case KeyCode.DOWN:\n case KeyCode.ENTER:\n case KeyCode.SPACE:\n clickHandler();\n case KeyCode.ESCAPE:\n if (_this.isPickerDisplayed) {\n e.preventDefault();\n }\n break;\n }\n });\n this.addManagedListener(this.eWrapper, 'click', clickHandler);\n this.addManagedListener(this.eLabel, 'click', clickHandler);\n if (this.pickerIcon) {\n var icon = createIconNoSpan(this.pickerIcon, this.gridOptionsWrapper);\n if (icon) {\n this.eIcon.appendChild(icon);\n }\n }\n };\n AgPickerField.prototype.refreshLabel = function () {\n if (exists(this.getLabel())) {\n setAriaLabelledBy(this.eWrapper, this.getLabelId());\n }\n else {\n this.eWrapper.removeAttribute('aria-labelledby');\n }\n _super.prototype.refreshLabel.call(this);\n };\n AgPickerField.prototype.setAriaLabel = function (label) {\n setAriaLabel(this.eWrapper, label);\n return this;\n };\n AgPickerField.prototype.setInputWidth = function (width) {\n setElementWidth(this.eWrapper, width);\n return this;\n };\n AgPickerField.prototype.getFocusableElement = function () {\n return this.eWrapper;\n };\n __decorate$2k([\n RefSelector('eLabel')\n ], AgPickerField.prototype, \"eLabel\", void 0);\n __decorate$2k([\n RefSelector('eWrapper')\n ], AgPickerField.prototype, \"eWrapper\", void 0);\n __decorate$2k([\n RefSelector('eDisplayField')\n ], AgPickerField.prototype, \"eDisplayField\", void 0);\n __decorate$2k([\n RefSelector('eIcon')\n ], AgPickerField.prototype, \"eIcon\", void 0);\n return AgPickerField;\n}(AgAbstractField));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$2H = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$2j = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar AgList = /** @class */ (function (_super) {\n __extends$2H(AgList, _super);\n function AgList(cssIdentifier) {\n if (cssIdentifier === void 0) { cssIdentifier = 'default'; }\n var _this = _super.call(this, /* html */ \"
    \") || this;\n _this.cssIdentifier = cssIdentifier;\n _this.options = [];\n _this.itemEls = [];\n return _this;\n }\n AgList.prototype.init = function () {\n this.addManagedListener(this.getGui(), 'keydown', this.handleKeyDown.bind(this));\n };\n AgList.prototype.handleKeyDown = function (e) {\n var key = e.key;\n switch (key) {\n case KeyCode.ENTER:\n if (!this.highlightedEl) {\n this.setValue(this.getValue());\n }\n else {\n var pos = this.itemEls.indexOf(this.highlightedEl);\n this.setValueByIndex(pos);\n }\n break;\n case KeyCode.DOWN:\n case KeyCode.UP:\n var isDown = key === KeyCode.DOWN;\n var itemToHighlight = void 0;\n e.preventDefault();\n if (!this.highlightedEl) {\n itemToHighlight = this.itemEls[isDown ? 0 : this.itemEls.length - 1];\n }\n else {\n var currentIdx = this.itemEls.indexOf(this.highlightedEl);\n var nextPos = currentIdx + (isDown ? 1 : -1);\n nextPos = Math.min(Math.max(nextPos, 0), this.itemEls.length - 1);\n itemToHighlight = this.itemEls[nextPos];\n }\n this.highlightItem(itemToHighlight);\n break;\n }\n };\n AgList.prototype.addOptions = function (listOptions) {\n var _this = this;\n listOptions.forEach(function (listOption) { return _this.addOption(listOption); });\n return this;\n };\n AgList.prototype.addOption = function (listOption) {\n var value = listOption.value, text = listOption.text;\n var sanitisedText = escapeString(text || value);\n this.options.push({ value: value, text: sanitisedText });\n this.renderOption(value, sanitisedText);\n this.updateIndices();\n return this;\n };\n AgList.prototype.updateIndices = function () {\n var options = this.getGui().querySelectorAll('.ag-list-item');\n options.forEach(function (option, idx) {\n setAriaPosInSet(option, idx + 1);\n setAriaSetSize(option, options.length);\n });\n };\n AgList.prototype.renderOption = function (value, text) {\n var _this = this;\n var itemEl = document.createElement('div');\n setAriaRole(itemEl, 'option');\n itemEl.classList.add('ag-list-item', \"ag-\" + this.cssIdentifier + \"-list-item\");\n itemEl.innerHTML = \"\" + text + \"\";\n itemEl.tabIndex = -1;\n this.itemEls.push(itemEl);\n this.addManagedListener(itemEl, 'mouseover', function () { return _this.highlightItem(itemEl); });\n this.addManagedListener(itemEl, 'mouseleave', function () { return _this.clearHighlighted(); });\n this.addManagedListener(itemEl, 'click', function () { return _this.setValue(value); });\n this.getGui().appendChild(itemEl);\n };\n AgList.prototype.setValue = function (value, silent) {\n if (this.value === value) {\n this.fireItemSelected();\n return this;\n }\n if (value == null) {\n this.reset();\n return this;\n }\n var idx = this.options.findIndex(function (option) { return option.value === value; });\n if (idx !== -1) {\n var option = this.options[idx];\n this.value = option.value;\n this.displayValue = option.text != null ? option.text : option.value;\n this.highlightItem(this.itemEls[idx]);\n if (!silent) {\n this.fireChangeEvent();\n }\n }\n return this;\n };\n AgList.prototype.setValueByIndex = function (idx) {\n return this.setValue(this.options[idx].value);\n };\n AgList.prototype.getValue = function () {\n return this.value;\n };\n AgList.prototype.getDisplayValue = function () {\n return this.displayValue;\n };\n AgList.prototype.refreshHighlighted = function () {\n var _this = this;\n this.clearHighlighted();\n var idx = this.options.findIndex(function (option) { return option.value === _this.value; });\n if (idx !== -1) {\n this.highlightItem(this.itemEls[idx]);\n }\n };\n AgList.prototype.reset = function () {\n this.value = null;\n this.displayValue = null;\n this.clearHighlighted();\n this.fireChangeEvent();\n };\n AgList.prototype.highlightItem = function (el) {\n if (!el.offsetParent) {\n return;\n }\n this.clearHighlighted();\n this.highlightedEl = el;\n this.highlightedEl.classList.add(AgList.ACTIVE_CLASS);\n setAriaSelected(this.highlightedEl, true);\n this.highlightedEl.focus();\n };\n AgList.prototype.clearHighlighted = function () {\n if (!this.highlightedEl || !this.highlightedEl.offsetParent) {\n return;\n }\n this.highlightedEl.classList.remove(AgList.ACTIVE_CLASS);\n setAriaSelected(this.highlightedEl, false);\n this.highlightedEl = null;\n };\n AgList.prototype.fireChangeEvent = function () {\n this.dispatchEvent({ type: AgAbstractField.EVENT_CHANGED });\n this.fireItemSelected();\n };\n AgList.prototype.fireItemSelected = function () {\n this.dispatchEvent({ type: AgList.EVENT_ITEM_SELECTED });\n };\n AgList.EVENT_ITEM_SELECTED = 'selectedItem';\n AgList.ACTIVE_CLASS = 'ag-active-item';\n __decorate$2j([\n PostConstruct\n ], AgList.prototype, \"init\", null);\n return AgList;\n}(Component));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$2G = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$2i = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar AgSelect = /** @class */ (function (_super) {\n __extends$2G(AgSelect, _super);\n function AgSelect(config) {\n return _super.call(this, config, 'ag-select', 'smallDown', 'listbox') || this;\n }\n AgSelect.prototype.init = function () {\n var _this = this;\n this.listComponent = this.createBean(new AgList('select'));\n this.listComponent.setParentComponent(this);\n this.eWrapper.tabIndex = 0;\n this.listComponent.addManagedListener(this.listComponent, AgList.EVENT_ITEM_SELECTED, function () { if (_this.hideList) {\n _this.hideList();\n } });\n this.listComponent.addManagedListener(this.listComponent, AgAbstractField.EVENT_CHANGED, function () {\n _this.setValue(_this.listComponent.getValue(), false, true);\n if (_this.hideList) {\n _this.hideList();\n }\n });\n };\n AgSelect.prototype.showPicker = function () {\n var _this = this;\n var listGui = this.listComponent.getGui();\n var eDocument = this.gridOptionsWrapper.getDocument();\n var destroyMouseWheelFunc = this.addManagedListener(eDocument.body, 'wheel', function (e) {\n if (!listGui.contains(e.target) && _this.hideList) {\n _this.hideList();\n }\n });\n var destroyFocusOutFunc = this.addManagedListener(listGui, 'focusout', function (e) {\n if (!listGui.contains(e.relatedTarget) && _this.hideList) {\n _this.hideList();\n }\n });\n var translate = this.gridOptionsWrapper.getLocaleTextFunc();\n var addPopupRes = this.popupService.addPopup({\n modal: true,\n eChild: listGui,\n closeOnEsc: true,\n closedCallback: function () {\n _this.hideList = null;\n _this.isPickerDisplayed = false;\n destroyFocusOutFunc();\n destroyMouseWheelFunc();\n if (_this.isAlive()) {\n setAriaExpanded(_this.eWrapper, false);\n _this.getFocusableElement().focus();\n }\n },\n ariaLabel: translate('ariaLabelSelectField', 'Select Field')\n });\n if (addPopupRes) {\n this.hideList = addPopupRes.hideFunc;\n }\n this.isPickerDisplayed = true;\n setElementWidth(listGui, getAbsoluteWidth(this.eWrapper));\n setAriaExpanded(this.eWrapper, true);\n listGui.style.maxHeight = getInnerHeight(this.popupService.getPopupParent()) + 'px';\n listGui.style.position = 'absolute';\n this.popupService.positionPopupUnderComponent({\n type: 'ag-list',\n eventSource: this.eWrapper,\n ePopup: listGui,\n keepWithinBounds: true\n });\n this.listComponent.refreshHighlighted();\n return this.listComponent;\n };\n AgSelect.prototype.addOptions = function (options) {\n var _this = this;\n options.forEach(function (option) { return _this.addOption(option); });\n return this;\n };\n AgSelect.prototype.addOption = function (option) {\n this.listComponent.addOption(option);\n return this;\n };\n AgSelect.prototype.setValue = function (value, silent, fromPicker) {\n if (this.value === value) {\n return this;\n }\n if (!fromPicker) {\n this.listComponent.setValue(value, true);\n }\n var newValue = this.listComponent.getValue();\n if (newValue === this.getValue()) {\n return this;\n }\n this.eDisplayField.innerHTML = this.listComponent.getDisplayValue();\n return _super.prototype.setValue.call(this, value, silent);\n };\n AgSelect.prototype.destroy = function () {\n if (this.hideList) {\n this.hideList();\n }\n this.destroyBean(this.listComponent);\n _super.prototype.destroy.call(this);\n };\n __decorate$2i([\n Autowired('popupService')\n ], AgSelect.prototype, \"popupService\", void 0);\n __decorate$2i([\n PostConstruct\n ], AgSelect.prototype, \"init\", null);\n return AgSelect;\n}(AgPickerField));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$2F = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$2h = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar AgAbstractInputField = /** @class */ (function (_super) {\n __extends$2F(AgAbstractInputField, _super);\n function AgAbstractInputField(config, className, inputType, displayFieldTag) {\n if (inputType === void 0) { inputType = 'text'; }\n if (displayFieldTag === void 0) { displayFieldTag = 'input'; }\n var _this = _super.call(this, config, /* html */ \"\\n
    \\n
    \\n
    \\n <\" + displayFieldTag + \" ref=\\\"eInput\\\" class=\\\"ag-input-field-input\\\">\\n
    \\n
    \", className) || this;\n _this.inputType = inputType;\n _this.displayFieldTag = displayFieldTag;\n return _this;\n }\n AgAbstractInputField.prototype.postConstruct = function () {\n _super.prototype.postConstruct.call(this);\n this.setInputType();\n this.eLabel.classList.add(this.className + \"-label\");\n this.eWrapper.classList.add(this.className + \"-input-wrapper\");\n this.eInput.classList.add(this.className + \"-input\");\n this.addCssClass('ag-input-field');\n this.eInput.id = this.eInput.id || \"ag-\" + this.getCompId() + \"-input\";\n var _a = this.config, width = _a.width, value = _a.value;\n if (width != null) {\n this.setWidth(width);\n }\n if (value != null) {\n this.setValue(value);\n }\n this.addInputListeners();\n };\n AgAbstractInputField.prototype.refreshLabel = function () {\n if (exists(this.getLabel())) {\n setAriaLabelledBy(this.eInput, this.getLabelId());\n }\n else {\n this.eInput.removeAttribute('aria-labelledby');\n }\n _super.prototype.refreshLabel.call(this);\n };\n AgAbstractInputField.prototype.addInputListeners = function () {\n var _this = this;\n this.addManagedListener(this.eInput, 'input', function (e) { return _this.setValue(e.target.value); });\n };\n AgAbstractInputField.prototype.setInputType = function () {\n if (this.displayFieldTag === 'input') {\n this.eInput.setAttribute('type', this.inputType);\n }\n };\n AgAbstractInputField.prototype.getInputElement = function () {\n return this.eInput;\n };\n AgAbstractInputField.prototype.setInputWidth = function (width) {\n setElementWidth(this.eWrapper, width);\n return this;\n };\n AgAbstractInputField.prototype.setInputName = function (name) {\n this.getInputElement().setAttribute('name', name);\n return this;\n };\n AgAbstractInputField.prototype.getFocusableElement = function () {\n return this.eInput;\n };\n AgAbstractInputField.prototype.setMaxLength = function (length) {\n var eInput = this.eInput;\n eInput.maxLength = length;\n return this;\n };\n AgAbstractInputField.prototype.setInputPlaceholder = function (placeholder) {\n addOrRemoveAttribute(this.eInput, 'placeholder', placeholder);\n return this;\n };\n AgAbstractInputField.prototype.setInputAriaLabel = function (label) {\n setAriaLabel(this.eInput, label);\n return this;\n };\n AgAbstractInputField.prototype.setDisabled = function (disabled) {\n setDisabled(this.eInput, disabled);\n return _super.prototype.setDisabled.call(this, disabled);\n };\n __decorate$2h([\n RefSelector('eLabel')\n ], AgAbstractInputField.prototype, \"eLabel\", void 0);\n __decorate$2h([\n RefSelector('eWrapper')\n ], AgAbstractInputField.prototype, \"eWrapper\", void 0);\n __decorate$2h([\n RefSelector('eInput')\n ], AgAbstractInputField.prototype, \"eInput\", void 0);\n return AgAbstractInputField;\n}(AgAbstractField));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$2E = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$2g = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar ConditionPosition;\n(function (ConditionPosition) {\n ConditionPosition[ConditionPosition[\"One\"] = 0] = \"One\";\n ConditionPosition[ConditionPosition[\"Two\"] = 1] = \"Two\";\n})(ConditionPosition || (ConditionPosition = {}));\n/**\n * Every filter with a dropdown where the user can specify a comparing type against the filter values.\n *\n * @param M type of filter-model managed by the concrete sub-class that extends this type\n * @param V type of value managed by the concrete sub-class that extends this type\n * @param E type of UI element used for collecting user-input\n */\nvar SimpleFilter = /** @class */ (function (_super) {\n __extends$2E(SimpleFilter, _super);\n function SimpleFilter() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n SimpleFilter.prototype.getNumberOfInputs = function (type) {\n var customOpts = this.optionsFactory.getCustomOption(type);\n if (customOpts) {\n var numberOfInputs = customOpts.numberOfInputs;\n return numberOfInputs != null ? numberOfInputs : 1;\n }\n var zeroInputTypes = [\n SimpleFilter.EMPTY, SimpleFilter.NOT_BLANK, SimpleFilter.BLANK,\n ];\n if (type && zeroInputTypes.indexOf(type) >= 0) {\n return 0;\n }\n else if (type === SimpleFilter.IN_RANGE) {\n return 2;\n }\n return 1;\n };\n // floating filter calls this when user applies filter from floating filter\n SimpleFilter.prototype.onFloatingFilterChanged = function (type, value) {\n this.setTypeFromFloatingFilter(type);\n this.setValueFromFloatingFilter(value);\n this.onUiChanged(true);\n };\n SimpleFilter.prototype.setTypeFromFloatingFilter = function (type) {\n this.eType1.setValue(type);\n this.eType2.setValue(this.optionsFactory.getDefaultOption());\n (this.isDefaultOperator('AND') ? this.eJoinOperatorAnd : this.eJoinOperatorOr).setValue(true);\n };\n SimpleFilter.prototype.getModelFromUi = function () {\n if (!this.isConditionUiComplete(ConditionPosition.One)) {\n return null;\n }\n if (this.isAllowTwoConditions() && this.isConditionUiComplete(ConditionPosition.Two)) {\n return {\n filterType: this.getFilterType(),\n operator: this.getJoinOperator(),\n condition1: this.createCondition(ConditionPosition.One),\n condition2: this.createCondition(ConditionPosition.Two)\n };\n }\n return this.createCondition(ConditionPosition.One);\n };\n SimpleFilter.prototype.getConditionTypes = function () {\n return [\n this.eType1.getValue(),\n this.eType2.getValue(),\n ];\n };\n SimpleFilter.prototype.getJoinOperator = function () {\n return this.eJoinOperatorOr.getValue() === true ? 'OR' : 'AND';\n };\n SimpleFilter.prototype.areModelsEqual = function (a, b) {\n // both are missing\n if (!a && !b) {\n return true;\n }\n // one is missing, other present\n if ((!a && b) || (a && !b)) {\n return false;\n }\n // one is combined, the other is not\n var aIsSimple = !a.operator;\n var bIsSimple = !b.operator;\n var oneSimpleOneCombined = (!aIsSimple && bIsSimple) || (aIsSimple && !bIsSimple);\n if (oneSimpleOneCombined) {\n return false;\n }\n var res;\n // otherwise both present, so compare\n if (aIsSimple) {\n var aSimple = a;\n var bSimple = b;\n res = this.areSimpleModelsEqual(aSimple, bSimple);\n }\n else {\n var aCombined = a;\n var bCombined = b;\n res = aCombined.operator === bCombined.operator\n && this.areSimpleModelsEqual(aCombined.condition1, bCombined.condition1)\n && this.areSimpleModelsEqual(aCombined.condition2, bCombined.condition2);\n }\n return res;\n };\n SimpleFilter.prototype.setModelIntoUi = function (model) {\n var isCombined = model.operator;\n if (isCombined) {\n var combinedModel = model;\n var orChecked = combinedModel.operator === 'OR';\n this.eJoinOperatorAnd.setValue(!orChecked);\n this.eJoinOperatorOr.setValue(orChecked);\n this.eType1.setValue(combinedModel.condition1.type);\n this.eType2.setValue(combinedModel.condition2.type);\n this.setConditionIntoUi(combinedModel.condition1, ConditionPosition.One);\n this.setConditionIntoUi(combinedModel.condition2, ConditionPosition.Two);\n }\n else {\n var simpleModel = model;\n this.eJoinOperatorAnd.setValue(this.isDefaultOperator('AND'));\n this.eJoinOperatorOr.setValue(this.isDefaultOperator('OR'));\n this.eType1.setValue(simpleModel.type);\n this.eType2.setValue(this.optionsFactory.getDefaultOption());\n this.setConditionIntoUi(simpleModel, ConditionPosition.One);\n this.setConditionIntoUi(null, ConditionPosition.Two);\n }\n return AgPromise.resolve();\n };\n SimpleFilter.prototype.doesFilterPass = function (params) {\n var _this = this;\n var model = this.getModel();\n if (model == null) {\n return true;\n }\n var operator = model.operator;\n var models = [];\n if (operator) {\n var combinedModel = model;\n models.push(combinedModel.condition1, combinedModel.condition2);\n }\n else {\n models.push(model);\n }\n var combineFunction = operator && operator === 'OR' ? 'some' : 'every';\n return models[combineFunction](function (m) { return _this.individualConditionPasses(params, m); });\n };\n SimpleFilter.prototype.setParams = function (params) {\n _super.prototype.setParams.call(this, params);\n this.optionsFactory = new OptionsFactory();\n this.optionsFactory.init(params, this.getDefaultFilterOptions());\n this.allowTwoConditions = !params.suppressAndOrCondition;\n this.alwaysShowBothConditions = !!params.alwaysShowBothConditions;\n this.defaultJoinOperator = this.getDefaultJoinOperator(params.defaultJoinOperator);\n this.filterPlaceholder = params.filterPlaceholder;\n this.putOptionsIntoDropdown();\n this.addChangedListeners();\n };\n SimpleFilter.prototype.getDefaultJoinOperator = function (defaultJoinOperator) {\n return includes(['AND', 'OR'], defaultJoinOperator) ? defaultJoinOperator : 'AND';\n };\n SimpleFilter.prototype.putOptionsIntoDropdown = function () {\n var _this = this;\n var filterOptions = this.optionsFactory.getFilterOptions();\n var eTypes = [this.eType1, this.eType2];\n // Add specified options to all condition drop-downs.\n filterOptions.forEach(function (option) {\n var listOption = typeof option === 'string' ?\n _this.createBoilerplateListOption(option) :\n _this.createCustomListOption(option);\n eTypes.forEach(function (eType) { return eType.addOption(listOption); });\n });\n // Make drop-downs read-only if there is only one option.\n eTypes.forEach(function (eType) { return eType.setDisabled(filterOptions.length <= 1); });\n };\n SimpleFilter.prototype.createBoilerplateListOption = function (option) {\n return { value: option, text: this.translate(option) };\n };\n SimpleFilter.prototype.createCustomListOption = function (option) {\n var displayKey = option.displayKey;\n var customOption = this.optionsFactory.getCustomOption(option.displayKey);\n return {\n value: displayKey,\n text: customOption ?\n this.gridOptionsWrapper.getLocaleTextFunc()(customOption.displayKey, customOption.displayName) :\n this.translate(displayKey),\n };\n };\n SimpleFilter.prototype.isAllowTwoConditions = function () {\n return this.allowTwoConditions;\n };\n SimpleFilter.prototype.createBodyTemplate = function () {\n return /* html */ \"\\n \\n \" + this.createValueTemplate(ConditionPosition.One) + \"\\n
    \\n \\n \\n
    \\n \\n \" + this.createValueTemplate(ConditionPosition.Two);\n };\n SimpleFilter.prototype.getCssIdentifier = function () {\n return 'simple-filter';\n };\n SimpleFilter.prototype.updateUiVisibility = function () {\n var _this = this;\n var elementConditionGroups = [\n [this.eType1],\n [this.eType2, this.eJoinOperatorPanel, this.eJoinOperatorAnd, this.eJoinOperatorOr],\n ];\n var elementBodies = [this.eCondition1Body, this.eCondition2Body];\n elementConditionGroups.forEach(function (group, position) {\n var visible = _this.isConditionVisible(position);\n var disabled = _this.isConditionDisabled(position);\n group.forEach(function (element) {\n if (element instanceof AgAbstractInputField || element instanceof AgSelect) {\n element.setDisabled(disabled);\n element.setDisplayed(visible);\n }\n else {\n setDisabled(element, disabled);\n setDisplayed(element, visible);\n }\n });\n });\n elementBodies.forEach(function (element, index) {\n setDisplayed(element, _this.isConditionBodyVisible(index));\n });\n this.forEachInput(function (element, index, position, numberOfInputs) {\n _this.setElementDisplayed(element, index < numberOfInputs);\n _this.setElementDisabled(element, _this.isConditionDisabled(position));\n });\n this.resetPlaceholder();\n };\n SimpleFilter.prototype.afterGuiAttached = function (params) {\n _super.prototype.afterGuiAttached.call(this, params);\n this.resetPlaceholder();\n if (!params || (!params.suppressFocus && !this.isReadOnly())) {\n var firstInput = this.getInputs()[0][0];\n if (!firstInput) {\n return;\n }\n if (firstInput instanceof AgAbstractInputField) {\n firstInput.getInputElement().focus();\n }\n }\n };\n SimpleFilter.prototype.getPlaceholderText = function (defaultPlaceholder, position) {\n var placeholder = this.translate(defaultPlaceholder);\n if (isFunction(this.filterPlaceholder)) {\n var filterPlaceholderFn = this.filterPlaceholder;\n var filterOptionKey = (position === 0 ? this.eType1.getValue() : this.eType2.getValue());\n var filterOption = this.translate(filterOptionKey);\n placeholder = filterPlaceholderFn({\n filterOptionKey: filterOptionKey,\n filterOption: filterOption,\n placeholder: placeholder\n });\n }\n else if (typeof this.filterPlaceholder === 'string') {\n placeholder = this.filterPlaceholder;\n }\n return placeholder;\n };\n // allow sub-classes to reset HTML placeholders after UI update.\n SimpleFilter.prototype.resetPlaceholder = function () {\n var _this = this;\n var globalTranslate = this.gridOptionsWrapper.getLocaleTextFunc();\n this.forEachInput(function (element, index, position, numberOfInputs) {\n if (!(element instanceof AgAbstractInputField)) {\n return;\n }\n var placeholder = index === 0 && numberOfInputs > 1 ? 'inRangeStart' :\n index === 0 ? 'filterOoo' :\n 'inRangeEnd';\n var ariaLabel = index === 0 && numberOfInputs > 1 ? globalTranslate('ariaFilterFromValue', 'Filter from value') :\n index === 0 ? globalTranslate('ariaFilterValue', 'Filter Value') :\n globalTranslate('ariaFilterToValue', 'Filter to Value');\n element.setInputPlaceholder(_this.getPlaceholderText(placeholder, position));\n element.setInputAriaLabel(ariaLabel);\n });\n };\n SimpleFilter.prototype.setElementValue = function (element, value, silent) {\n if (element instanceof AgAbstractInputField) {\n element.setValue(value != null ? String(value) : null, silent);\n }\n };\n SimpleFilter.prototype.setElementDisplayed = function (element, displayed) {\n if (element instanceof Component) {\n setDisplayed(element.getGui(), displayed);\n }\n };\n SimpleFilter.prototype.setElementDisabled = function (element, disabled) {\n if (element instanceof Component) {\n setDisabled(element.getGui(), disabled);\n }\n };\n SimpleFilter.prototype.attachElementOnChange = function (element, listener) {\n if (element instanceof AgAbstractInputField) {\n element.onValueChange(listener);\n }\n };\n SimpleFilter.prototype.forEachInput = function (cb) {\n var _this = this;\n var inputs = this.getInputs();\n this.getConditionTypes().forEach(function (type, position) {\n var numberOfInputs = _this.getNumberOfInputs(type);\n for (var index = 0; index < inputs[position].length; index++) {\n var input = inputs[position][index];\n if (input != null) {\n cb(input, index, position, numberOfInputs);\n }\n }\n });\n };\n SimpleFilter.prototype.isConditionVisible = function (position) {\n if (position === 0) {\n return true;\n } // Position 0 should always be visible.\n if (!this.allowTwoConditions) {\n return false;\n } // Short-circuit if no tail conditions.\n if (this.isReadOnly()) {\n // Only display a condition when read-only if the condition is complete.\n return this.isConditionUiComplete(position);\n }\n if (this.alwaysShowBothConditions) {\n return true;\n }\n // Only display a 2nd or later condition when the previous condition is complete.\n return this.isConditionUiComplete(position - 1);\n };\n SimpleFilter.prototype.isConditionDisabled = function (position) {\n if (this.isReadOnly()) {\n return true;\n } // Read-only mode trumps everything.\n if (!this.isConditionVisible(position)) {\n return true;\n } // Invisible implies disabled.\n if (position === 0) {\n return false;\n } // Position 0 should typically be editable.\n // Only allow editing of a 2nd or later condition if the previous condition is complete.\n return !this.isConditionUiComplete(position - 1);\n };\n SimpleFilter.prototype.isConditionBodyVisible = function (position) {\n if (!this.isConditionVisible(position)) {\n return false;\n }\n // Check that the condition needs inputs.\n var type = this.getConditionTypes()[position];\n var numberOfInputs = this.getNumberOfInputs(type);\n return numberOfInputs > 0;\n };\n // returns true if the UI represents a working filter, eg all parts are filled out.\n // eg if text filter and textfield blank then returns false.\n SimpleFilter.prototype.isConditionUiComplete = function (position) {\n var type = this.getConditionTypes()[position];\n if (type === SimpleFilter.EMPTY) {\n return false;\n }\n if (this.getValues(position).some(function (v) { return v == null; })) {\n return false;\n }\n return true;\n };\n SimpleFilter.prototype.resetUiToDefaults = function (silent) {\n var _this = this;\n var translate = this.gridOptionsWrapper.getLocaleTextFunc();\n var filteringLabel = translate('ariaFilteringOperator', 'Filtering operator');\n var uniqueGroupId = 'ag-simple-filter-and-or-' + this.getCompId();\n var defaultOption = this.optionsFactory.getDefaultOption();\n this.eType1\n .setValue(defaultOption, silent)\n .setAriaLabel(filteringLabel)\n .setDisabled(this.isReadOnly());\n this.eType2\n .setValue(this.optionsFactory.getDefaultOption(), silent)\n .setAriaLabel(filteringLabel)\n .setDisabled(this.isReadOnly());\n this.eJoinOperatorAnd\n .setValue(this.isDefaultOperator('AND'), silent)\n .setName(uniqueGroupId)\n .setLabel(this.translate('andCondition'))\n .setDisabled(this.isReadOnly());\n this.eJoinOperatorOr\n .setValue(this.isDefaultOperator('OR'), silent)\n .setName(uniqueGroupId)\n .setLabel(this.translate('orCondition'))\n .setDisabled(this.isReadOnly());\n this.forEachInput(function (element) {\n _this.setElementValue(element, null, silent);\n _this.setElementDisabled(element, _this.isReadOnly());\n });\n this.resetPlaceholder();\n return AgPromise.resolve();\n };\n // puts model values into the UI\n SimpleFilter.prototype.setConditionIntoUi = function (model, position) {\n var _this = this;\n var values = this.mapValuesFromModel(model);\n this.forEachInput(function (element, index, elPosition, _) {\n if (elPosition !== position) {\n return;\n }\n _this.setElementValue(element, values[index] != null ? values[index] : null);\n });\n };\n // after floating filter changes, this sets the 'value' section. this is implemented by the base class\n // (as that's where value is controlled), the 'type' part from the floating filter is dealt with in this class.\n SimpleFilter.prototype.setValueFromFloatingFilter = function (value) {\n var _this = this;\n this.forEachInput(function (element, index, position, _) {\n _this.setElementValue(element, index === 0 && position === 0 ? value : null);\n });\n };\n SimpleFilter.prototype.isDefaultOperator = function (operator) {\n return operator === this.defaultJoinOperator;\n };\n SimpleFilter.prototype.addChangedListeners = function () {\n var _this = this;\n if (this.isReadOnly()) {\n return;\n }\n var listener = function () { return _this.onUiChanged(); };\n this.eType1.onValueChange(listener);\n this.eType2.onValueChange(listener);\n this.eJoinOperatorOr.onValueChange(listener);\n this.eJoinOperatorAnd.onValueChange(listener);\n this.forEachInput(function (element) {\n _this.attachElementOnChange(element, listener);\n });\n };\n /** returns true if the row passes the said condition */\n SimpleFilter.prototype.individualConditionPasses = function (params, filterModel) {\n var cellValue = this.getCellValue(params.node);\n var values = this.mapValuesFromModel(filterModel);\n var customFilterOption = this.optionsFactory.getCustomOption(filterModel.type);\n var customFilterResult = this.evaluateCustomFilter(customFilterOption, values, cellValue);\n if (customFilterResult != null) {\n return customFilterResult;\n }\n if (cellValue == null) {\n return this.evaluateNullValue(filterModel.type);\n }\n return this.evaluateNonNullValue(values, cellValue, filterModel, params);\n };\n SimpleFilter.prototype.evaluateCustomFilter = function (customFilterOption, values, cellValue) {\n if (customFilterOption == null) {\n return;\n }\n var predicate = customFilterOption.predicate;\n // only execute the custom filter if a value exists or a value isn't required, i.e. input is hidden\n if (predicate != null && !values.some(function (v) { return v == null; })) {\n return predicate(values, cellValue);\n }\n // No custom filter invocation, indicate that to the caller.\n return;\n };\n SimpleFilter.prototype.isBlank = function (cellValue) {\n return cellValue == null ||\n (typeof cellValue === 'string' && cellValue.trim().length === 0);\n };\n SimpleFilter.EMPTY = 'empty';\n SimpleFilter.BLANK = 'blank';\n SimpleFilter.NOT_BLANK = 'notBlank';\n SimpleFilter.EQUALS = 'equals';\n SimpleFilter.NOT_EQUAL = 'notEqual';\n SimpleFilter.LESS_THAN = 'lessThan';\n SimpleFilter.LESS_THAN_OR_EQUAL = 'lessThanOrEqual';\n SimpleFilter.GREATER_THAN = 'greaterThan';\n SimpleFilter.GREATER_THAN_OR_EQUAL = 'greaterThanOrEqual';\n SimpleFilter.IN_RANGE = 'inRange';\n SimpleFilter.CONTAINS = 'contains';\n SimpleFilter.NOT_CONTAINS = 'notContains';\n SimpleFilter.STARTS_WITH = 'startsWith';\n SimpleFilter.ENDS_WITH = 'endsWith';\n __decorate$2g([\n RefSelector('eOptions1')\n ], SimpleFilter.prototype, \"eType1\", void 0);\n __decorate$2g([\n RefSelector('eOptions2')\n ], SimpleFilter.prototype, \"eType2\", void 0);\n __decorate$2g([\n RefSelector('eJoinOperatorPanel')\n ], SimpleFilter.prototype, \"eJoinOperatorPanel\", void 0);\n __decorate$2g([\n RefSelector('eJoinOperatorAnd')\n ], SimpleFilter.prototype, \"eJoinOperatorAnd\", void 0);\n __decorate$2g([\n RefSelector('eJoinOperatorOr')\n ], SimpleFilter.prototype, \"eJoinOperatorOr\", void 0);\n __decorate$2g([\n RefSelector('eCondition1Body')\n ], SimpleFilter.prototype, \"eCondition1Body\", void 0);\n __decorate$2g([\n RefSelector('eCondition2Body')\n ], SimpleFilter.prototype, \"eCondition2Body\", void 0);\n return SimpleFilter;\n}(ProvidedFilter));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$2D = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar ScalarFilter = /** @class */ (function (_super) {\n __extends$2D(ScalarFilter, _super);\n function ScalarFilter() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ScalarFilter.prototype.setParams = function (params) {\n _super.prototype.setParams.call(this, params);\n this.scalarFilterParams = params;\n };\n ScalarFilter.prototype.evaluateNullValue = function (filterType) {\n switch (filterType) {\n case ScalarFilter.EQUALS:\n case ScalarFilter.NOT_EQUAL:\n if (this.scalarFilterParams.includeBlanksInEquals) {\n return true;\n }\n break;\n case ScalarFilter.GREATER_THAN:\n case ScalarFilter.GREATER_THAN_OR_EQUAL:\n if (this.scalarFilterParams.includeBlanksInGreaterThan) {\n return true;\n }\n break;\n case ScalarFilter.LESS_THAN:\n case ScalarFilter.LESS_THAN_OR_EQUAL:\n if (this.scalarFilterParams.includeBlanksInLessThan) {\n return true;\n }\n break;\n case ScalarFilter.IN_RANGE:\n if (this.scalarFilterParams.includeBlanksInRange) {\n return true;\n }\n break;\n case ScalarFilter.BLANK:\n return true;\n case ScalarFilter.NOT_BLANK:\n return false;\n }\n return false;\n };\n ScalarFilter.prototype.evaluateNonNullValue = function (values, cellValue, filterModel) {\n var comparator = this.comparator();\n var compareResult = values[0] != null ? comparator(values[0], cellValue) : 0;\n switch (filterModel.type) {\n case ScalarFilter.EQUALS:\n return compareResult === 0;\n case ScalarFilter.NOT_EQUAL:\n return compareResult !== 0;\n case ScalarFilter.GREATER_THAN:\n return compareResult > 0;\n case ScalarFilter.GREATER_THAN_OR_EQUAL:\n return compareResult >= 0;\n case ScalarFilter.LESS_THAN:\n return compareResult < 0;\n case ScalarFilter.LESS_THAN_OR_EQUAL:\n return compareResult <= 0;\n case ScalarFilter.IN_RANGE: {\n var compareToResult = comparator(values[1], cellValue);\n return this.scalarFilterParams.inRangeInclusive ?\n compareResult >= 0 && compareToResult <= 0 :\n compareResult > 0 && compareToResult < 0;\n }\n case ScalarFilter.BLANK:\n return this.isBlank(cellValue);\n case ScalarFilter.NOT_BLANK:\n return !this.isBlank(cellValue);\n default:\n console.warn('AG Grid: Unexpected type of filter \"' + filterModel.type + '\", it looks like the filter was configured with incorrect Filter Options');\n return true;\n }\n };\n return ScalarFilter;\n}(SimpleFilter));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$2C = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign$b = (undefined && undefined.__assign) || function () {\n __assign$b = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign$b.apply(this, arguments);\n};\nvar __decorate$2f = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar DEFAULT_MIN_YEAR = 1000;\nvar DEFAULT_MAX_YEAR = Infinity;\nvar DateFilter = /** @class */ (function (_super) {\n __extends$2C(DateFilter, _super);\n function DateFilter() {\n var _this = _super.call(this, 'dateFilter') || this;\n _this.minValidYear = DEFAULT_MIN_YEAR;\n _this.maxValidYear = DEFAULT_MAX_YEAR;\n return _this;\n }\n DateFilter.prototype.afterGuiAttached = function (params) {\n _super.prototype.afterGuiAttached.call(this, params);\n this.dateCondition1FromComp.afterGuiAttached(params);\n };\n DateFilter.prototype.mapValuesFromModel = function (filterModel) {\n // unlike the other filters, we do two things here:\n // 1) allow for different attribute names (same as done for other filters) (eg the 'from' and 'to'\n // are in different locations in Date and Number filter models)\n // 2) convert the type (because Date filter uses Dates, however model is 'string')\n //\n // NOTE: The conversion of string to date also removes the timezone - i.e. when user picks\n // a date from the UI, it will have timezone info in it. This is lost when creating\n // the model. When we recreate the date again here, it's without a timezone.\n var _a = filterModel || {}, dateFrom = _a.dateFrom, dateTo = _a.dateTo, type = _a.type;\n return [\n dateFrom && parseDateTimeFromString(dateFrom) || null,\n dateTo && parseDateTimeFromString(dateTo) || null,\n ].slice(0, this.getNumberOfInputs(type));\n };\n DateFilter.prototype.comparator = function () {\n return this.dateFilterParams.comparator ? this.dateFilterParams.comparator : this.defaultComparator.bind(this);\n };\n DateFilter.prototype.defaultComparator = function (filterDate, cellValue) {\n // The default comparator assumes that the cellValue is a date\n var cellAsDate = cellValue;\n if (cellValue == null || cellAsDate < filterDate) {\n return -1;\n }\n if (cellAsDate > filterDate) {\n return 1;\n }\n return 0;\n };\n DateFilter.prototype.setParams = function (params) {\n _super.prototype.setParams.call(this, params);\n this.dateFilterParams = params;\n var yearParser = function (param, fallback) {\n if (params[param] != null) {\n if (!isNaN(params[param])) {\n return params[param] == null ? fallback : Number(params[param]);\n }\n else {\n console.warn(\"AG Grid: DateFilter \" + param + \" is not a number\");\n }\n }\n return fallback;\n };\n this.minValidYear = yearParser('minValidYear', DEFAULT_MIN_YEAR);\n this.maxValidYear = yearParser('maxValidYear', DEFAULT_MAX_YEAR);\n if (this.minValidYear > this.maxValidYear) {\n console.warn(\"AG Grid: DateFilter minValidYear should be <= maxValidYear\");\n }\n this.createDateComponents();\n };\n DateFilter.prototype.createDateComponents = function () {\n var _this = this;\n var createDateCompWrapper = function (element) {\n return new DateCompWrapper(_this.getContext(), _this.userComponentFactory, {\n onDateChanged: function () { return _this.onUiChanged(); },\n filterParams: _this.dateFilterParams\n }, element);\n };\n this.dateCondition1FromComp = createDateCompWrapper(this.eCondition1PanelFrom);\n this.dateCondition1ToComp = createDateCompWrapper(this.eCondition1PanelTo);\n this.dateCondition2FromComp = createDateCompWrapper(this.eCondition2PanelFrom);\n this.dateCondition2ToComp = createDateCompWrapper(this.eCondition2PanelTo);\n this.addDestroyFunc(function () {\n _this.forEachInput(function (element) { return element.destroy(); });\n });\n };\n DateFilter.prototype.setElementValue = function (element, value, silent) {\n element.setDate(value);\n };\n DateFilter.prototype.setElementDisplayed = function (element, displayed) {\n element.setDisplayed(displayed);\n };\n DateFilter.prototype.setElementDisabled = function (element, disabled) {\n element.setDisabled(disabled);\n };\n DateFilter.prototype.getDefaultFilterOptions = function () {\n return DateFilter.DEFAULT_FILTER_OPTIONS;\n };\n DateFilter.prototype.createValueTemplate = function (position) {\n var pos = position === ConditionPosition.One ? '1' : '2';\n return /* html */ \"\\n
    \\n
    \\n
    \\n
    \";\n };\n DateFilter.prototype.isConditionUiComplete = function (position) {\n var _this = this;\n if (!_super.prototype.isConditionUiComplete.call(this, position)) {\n return false;\n }\n var isValidDate = function (value) { return value != null\n && value.getUTCFullYear() >= _this.minValidYear\n && value.getUTCFullYear() <= _this.maxValidYear; };\n var valid = true;\n this.forEachInput(function (element, index, elPosition, numberOfInputs) {\n if (elPosition !== position || !valid || index >= numberOfInputs) {\n return;\n }\n valid = valid && isValidDate(element.getDate());\n });\n return valid;\n };\n DateFilter.prototype.areSimpleModelsEqual = function (aSimple, bSimple) {\n return aSimple.dateFrom === bSimple.dateFrom\n && aSimple.dateTo === bSimple.dateTo\n && aSimple.type === bSimple.type;\n };\n DateFilter.prototype.getFilterType = function () {\n return 'date';\n };\n DateFilter.prototype.createCondition = function (position) {\n var type = this.getConditionTypes()[position];\n var model = {};\n var values = this.getValues(position);\n if (values.length > 0) {\n model.dateFrom = serialiseDate(values[0]);\n }\n if (values.length > 1) {\n model.dateTo = serialiseDate(values[1]);\n }\n return __assign$b({ dateFrom: null, dateTo: null, filterType: this.getFilterType(), type: type }, model);\n };\n DateFilter.prototype.resetPlaceholder = function () {\n var globalTranslate = this.gridOptionsWrapper.getLocaleTextFunc();\n var placeholder = this.translate('dateFormatOoo');\n var ariaLabel = globalTranslate('ariaFilterValue', 'Filter Value');\n this.forEachInput(function (element) {\n element.setInputPlaceholder(placeholder);\n element.setInputAriaLabel(ariaLabel);\n });\n };\n DateFilter.prototype.getInputs = function () {\n return [\n [this.dateCondition1FromComp, this.dateCondition1ToComp],\n [this.dateCondition2FromComp, this.dateCondition2ToComp],\n ];\n };\n DateFilter.prototype.getValues = function (position) {\n var result = [];\n this.forEachInput(function (element, index, elPosition, numberOfInputs) {\n if (position === elPosition && index < numberOfInputs) {\n result.push(element.getDate());\n }\n });\n return result;\n };\n DateFilter.DEFAULT_FILTER_OPTIONS = [\n ScalarFilter.EQUALS,\n ScalarFilter.GREATER_THAN,\n ScalarFilter.LESS_THAN,\n ScalarFilter.NOT_EQUAL,\n ScalarFilter.IN_RANGE,\n ScalarFilter.BLANK,\n ScalarFilter.NOT_BLANK,\n ];\n __decorate$2f([\n RefSelector('eCondition1PanelFrom')\n ], DateFilter.prototype, \"eCondition1PanelFrom\", void 0);\n __decorate$2f([\n RefSelector('eCondition1PanelTo')\n ], DateFilter.prototype, \"eCondition1PanelTo\", void 0);\n __decorate$2f([\n RefSelector('eCondition2PanelFrom')\n ], DateFilter.prototype, \"eCondition2PanelFrom\", void 0);\n __decorate$2f([\n RefSelector('eCondition2PanelTo')\n ], DateFilter.prototype, \"eCondition2PanelTo\", void 0);\n __decorate$2f([\n Autowired('userComponentFactory')\n ], DateFilter.prototype, \"userComponentFactory\", void 0);\n return DateFilter;\n}(ScalarFilter));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$2B = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar SimpleFloatingFilter = /** @class */ (function (_super) {\n __extends$2B(SimpleFloatingFilter, _super);\n function SimpleFloatingFilter() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n SimpleFloatingFilter.prototype.getDefaultDebounceMs = function () {\n return 0;\n };\n // this is a user component, and IComponent has \"public destroy()\" as part of the interface.\n // so we need to override destroy() just to make the method public.\n SimpleFloatingFilter.prototype.destroy = function () {\n _super.prototype.destroy.call(this);\n };\n // used by:\n // 1) NumberFloatingFilter & TextFloatingFilter: Always, for both when editable and read only.\n // 2) DateFloatingFilter: Only when read only (as we show text rather than a date picker when read only)\n SimpleFloatingFilter.prototype.getTextFromModel = function (model) {\n if (!model) {\n return null;\n }\n var isCombined = model.operator != null;\n if (isCombined) {\n var combinedModel = model;\n var _a = combinedModel || {}, condition1 = _a.condition1, condition2 = _a.condition2;\n var customOption1 = this.getTextFromModel(condition1);\n var customOption2 = this.getTextFromModel(condition2);\n return [\n customOption1,\n combinedModel.operator,\n customOption2,\n ].join(' ');\n }\n else if (model.type === SimpleFilter.BLANK || model.type === SimpleFilter.NOT_BLANK) {\n var translate = this.gridOptionsWrapper.getLocaleTextFunc();\n return translate(model.type, model.type);\n }\n else {\n var condition = model;\n var customOption = this.optionsFactory.getCustomOption(condition.type);\n // For custom filter options we display the Name of the filter instead\n // of displaying the `from` value, as it wouldn't be relevant\n var _b = customOption || {}, displayKey = _b.displayKey, displayName = _b.displayName, numberOfInputs = _b.numberOfInputs;\n if (displayKey && displayName && numberOfInputs === 0) {\n this.gridOptionsWrapper.getLocaleTextFunc()(displayKey, displayName);\n return displayName;\n }\n return this.conditionToString(condition, customOption);\n }\n };\n SimpleFloatingFilter.prototype.isEventFromFloatingFilter = function (event) {\n return event && event.afterFloatingFilter;\n };\n SimpleFloatingFilter.prototype.getLastType = function () {\n return this.lastType;\n };\n SimpleFloatingFilter.prototype.isReadOnly = function () {\n return this.readOnly;\n };\n SimpleFloatingFilter.prototype.setLastTypeFromModel = function (model) {\n // if no model provided by the parent filter use default\n if (!model) {\n this.lastType = this.optionsFactory.getDefaultOption();\n return;\n }\n var isCombined = model.operator;\n var condition;\n if (isCombined) {\n var combinedModel = model;\n condition = combinedModel.condition1;\n }\n else {\n condition = model;\n }\n this.lastType = condition.type;\n };\n SimpleFloatingFilter.prototype.canWeEditAfterModelFromParentFilter = function (model) {\n if (!model) {\n // if no model, then we can edit as long as the lastType is something we can edit, as this\n // is the type we will provide to the parent filter if the user decides to use the floating filter.\n return this.isTypeEditable(this.lastType);\n }\n // never allow editing if the filter is combined (ie has two parts)\n var isCombined = model.operator;\n if (isCombined) {\n return false;\n }\n var simpleModel = model;\n return this.isTypeEditable(simpleModel.type);\n };\n SimpleFloatingFilter.prototype.init = function (params) {\n this.optionsFactory = new OptionsFactory();\n this.optionsFactory.init(params.filterParams, this.getDefaultFilterOptions());\n this.lastType = this.optionsFactory.getDefaultOption();\n // readOnly is a property of IProvidedFilterParams - we need to find a better (type-safe)\n // way to support reading this in the future.\n this.readOnly = !!params.filterParams.readOnly;\n // we are editable if:\n // 1) there is a type (user has configured filter wrong if not type)\n // AND\n // 2) the default type is not 'in range'\n var editable = this.isTypeEditable(this.lastType);\n this.setEditable(editable);\n };\n SimpleFloatingFilter.prototype.doesFilterHaveSingleInput = function (filterType) {\n var customFilterOption = this.optionsFactory.getCustomOption(filterType);\n var numberOfInputs = (customFilterOption || {}).numberOfInputs;\n return numberOfInputs == null || numberOfInputs == 1;\n };\n SimpleFloatingFilter.prototype.isTypeEditable = function (type) {\n var uneditableTypes = [\n SimpleFilter.IN_RANGE, SimpleFilter.EMPTY, SimpleFilter.BLANK, SimpleFilter.NOT_BLANK,\n ];\n return !!type &&\n !this.isReadOnly() &&\n this.doesFilterHaveSingleInput(type) &&\n uneditableTypes.indexOf(type) < 0;\n };\n return SimpleFloatingFilter;\n}(Component));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$2A = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$2e = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar DateFloatingFilter = /** @class */ (function (_super) {\n __extends$2A(DateFloatingFilter, _super);\n function DateFloatingFilter() {\n return _super.call(this, /* html */ \"\\n
    \\n \\n
    \\n
    \") || this;\n }\n DateFloatingFilter.prototype.getDefaultFilterOptions = function () {\n return DateFilter.DEFAULT_FILTER_OPTIONS;\n };\n DateFloatingFilter.prototype.conditionToString = function (condition, options) {\n var type = condition.type;\n var numberOfInputs = (options || {}).numberOfInputs;\n var isRange = type == SimpleFilter.IN_RANGE || numberOfInputs === 2;\n var dateFrom = parseDateTimeFromString(condition.dateFrom);\n var dateTo = parseDateTimeFromString(condition.dateTo);\n var format = this.filterParams.inRangeFloatingFilterDateFormat;\n if (isRange) {\n var formattedFrom = dateFrom !== null ? dateToFormattedString(dateFrom, format) : 'null';\n var formattedTo = dateTo !== null ? dateToFormattedString(dateTo, format) : 'null';\n return formattedFrom + \"-\" + formattedTo;\n }\n if (dateFrom != null) {\n return dateToFormattedString(dateFrom, format);\n }\n // cater for when the type doesn't need a value\n return \"\" + type;\n };\n DateFloatingFilter.prototype.init = function (params) {\n _super.prototype.init.call(this, params);\n this.params = params;\n this.filterParams = params.filterParams;\n this.createDateComponent();\n var translate = this.gridOptionsWrapper.getLocaleTextFunc();\n this.eReadOnlyText\n .setDisabled(true)\n .setInputAriaLabel(translate('ariaDateFilterInput', 'Date Filter Input'));\n };\n DateFloatingFilter.prototype.setEditable = function (editable) {\n setDisplayed(this.eDateWrapper, editable);\n setDisplayed(this.eReadOnlyText.getGui(), !editable);\n };\n DateFloatingFilter.prototype.onParentModelChanged = function (model, event) {\n // We don't want to update the floating filter if the floating filter caused the change,\n // because the UI is already in sync. if we didn't do this, the UI would behave strangely\n // as it would be updating as the user is typing\n if (this.isEventFromFloatingFilter(event)) {\n return;\n }\n _super.prototype.setLastTypeFromModel.call(this, model);\n var allowEditing = !this.isReadOnly() &&\n this.canWeEditAfterModelFromParentFilter(model);\n this.setEditable(allowEditing);\n if (allowEditing) {\n if (model) {\n var dateModel = model;\n this.dateComp.setDate(parseDateTimeFromString(dateModel.dateFrom));\n }\n else {\n this.dateComp.setDate(null);\n }\n this.eReadOnlyText.setValue('');\n }\n else {\n this.eReadOnlyText.setValue(this.getTextFromModel(model));\n this.dateComp.setDate(null);\n }\n };\n DateFloatingFilter.prototype.onDateChanged = function () {\n var _this = this;\n var filterValueDate = this.dateComp.getDate();\n var filterValueText = serialiseDate(filterValueDate);\n this.params.parentFilterInstance(function (filterInstance) {\n if (filterInstance) {\n var date = parseDateTimeFromString(filterValueText);\n filterInstance.onFloatingFilterChanged(_this.getLastType() || null, date);\n }\n });\n };\n DateFloatingFilter.prototype.createDateComponent = function () {\n var _this = this;\n var debounceMs = ProvidedFilter.getDebounceMs(this.params.filterParams, this.getDefaultDebounceMs());\n var dateComponentParams = {\n onDateChanged: debounce(this.onDateChanged.bind(this), debounceMs),\n filterParams: this.params.column.getColDef().filterParams\n };\n this.dateComp = new DateCompWrapper(this.getContext(), this.userComponentFactory, dateComponentParams, this.eDateWrapper);\n this.addDestroyFunc(function () { return _this.dateComp.destroy(); });\n };\n __decorate$2e([\n Autowired('userComponentFactory')\n ], DateFloatingFilter.prototype, \"userComponentFactory\", void 0);\n __decorate$2e([\n RefSelector('eReadOnlyText')\n ], DateFloatingFilter.prototype, \"eReadOnlyText\", void 0);\n __decorate$2e([\n RefSelector('eDateWrapper')\n ], DateFloatingFilter.prototype, \"eDateWrapper\", void 0);\n return DateFloatingFilter;\n}(SimpleFloatingFilter));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$2z = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$2d = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar DefaultDateComponent = /** @class */ (function (_super) {\n __extends$2z(DefaultDateComponent, _super);\n function DefaultDateComponent() {\n return _super.call(this, /* html */ \"\\n
    \\n \\n
    \") || this;\n }\n // this is a user component, and IComponent has \"public destroy()\" as part of the interface.\n // so we need to override destroy() just to make the method public.\n DefaultDateComponent.prototype.destroy = function () {\n _super.prototype.destroy.call(this);\n };\n DefaultDateComponent.prototype.init = function (params) {\n var _this = this;\n var eDocument = this.gridOptionsWrapper.getDocument();\n var inputElement = this.eDateInput.getInputElement();\n if (this.shouldUseBrowserDatePicker(params)) {\n inputElement.type = 'date';\n }\n // ensures that the input element is focussed when a clear button is clicked\n this.addManagedListener(inputElement, 'mousedown', function () {\n if (_this.eDateInput.isDisabled()) {\n return;\n }\n inputElement.focus();\n });\n this.addManagedListener(inputElement, 'input', function (e) {\n if (e.target !== eDocument.activeElement) {\n return;\n }\n if (_this.eDateInput.isDisabled()) {\n return;\n }\n params.onDateChanged();\n });\n var _a = params.filterParams || {}, minValidYear = _a.minValidYear, maxValidYear = _a.maxValidYear;\n if (minValidYear) {\n inputElement.min = minValidYear + \"-01-01\";\n }\n if (maxValidYear) {\n inputElement.max = maxValidYear + \"-12-31\";\n }\n };\n DefaultDateComponent.prototype.getDate = function () {\n return parseDateTimeFromString(this.eDateInput.getValue());\n };\n DefaultDateComponent.prototype.setDate = function (date) {\n this.eDateInput.setValue(serialiseDate(date, false));\n };\n DefaultDateComponent.prototype.setInputPlaceholder = function (placeholder) {\n this.eDateInput.setInputPlaceholder(placeholder);\n };\n DefaultDateComponent.prototype.setDisabled = function (disabled) {\n this.eDateInput.setDisabled(disabled);\n };\n DefaultDateComponent.prototype.afterGuiAttached = function (params) {\n if (!params || !params.suppressFocus) {\n this.eDateInput.getInputElement().focus();\n }\n };\n DefaultDateComponent.prototype.shouldUseBrowserDatePicker = function (params) {\n if (params.filterParams && params.filterParams.browserDatePicker != null) {\n return params.filterParams.browserDatePicker;\n }\n return isBrowserChrome() || isBrowserFirefox();\n };\n __decorate$2d([\n RefSelector('eDateInput')\n ], DefaultDateComponent.prototype, \"eDateInput\", void 0);\n return DefaultDateComponent;\n}(Component));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$2y = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$2c = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar NumberFilter = /** @class */ (function (_super) {\n __extends$2y(NumberFilter, _super);\n function NumberFilter() {\n return _super.call(this, 'numberFilter') || this;\n }\n NumberFilter.prototype.mapValuesFromModel = function (filterModel) {\n var _a = filterModel || {}, filter = _a.filter, filterTo = _a.filterTo, type = _a.type;\n return [\n filter == null ? null : filter,\n filterTo == null ? null : filterTo,\n ].slice(0, this.getNumberOfInputs(type));\n };\n NumberFilter.prototype.getDefaultDebounceMs = function () {\n return 500;\n };\n NumberFilter.prototype.comparator = function () {\n return function (left, right) {\n if (left === right) {\n return 0;\n }\n return left < right ? 1 : -1;\n };\n };\n NumberFilter.prototype.setParams = function (params) {\n this.numberFilterParams = params;\n var allowedCharPattern = this.getAllowedCharPattern();\n if (allowedCharPattern) {\n var config = { allowedCharPattern: allowedCharPattern };\n this.resetTemplate({\n 'eValue-index0-1': config,\n 'eValue-index1-1': config,\n 'eValue-index0-2': config,\n 'eValue-index1-2': config,\n });\n }\n _super.prototype.setParams.call(this, params);\n };\n NumberFilter.prototype.getDefaultFilterOptions = function () {\n return NumberFilter.DEFAULT_FILTER_OPTIONS;\n };\n NumberFilter.prototype.createValueTemplate = function (position) {\n var pos = position === ConditionPosition.One ? '1' : '2';\n var allowedCharPattern = this.getAllowedCharPattern();\n var agElementTag = allowedCharPattern ? 'ag-input-text-field' : 'ag-input-number-field';\n return /* html */ \"\\n
    \\n <\" + agElementTag + \" class=\\\"ag-filter-from ag-filter-filter\\\" ref=\\\"eValue-index0-\" + pos + \"\\\">\\n <\" + agElementTag + \" class=\\\"ag-filter-to ag-filter-filter\\\" ref=\\\"eValue-index1-\" + pos + \"\\\">\\n
    \";\n };\n NumberFilter.prototype.getValues = function (position) {\n var _this = this;\n var result = [];\n this.forEachInput(function (element, index, elPosition, numberOfInputs) {\n if (position === elPosition && index < numberOfInputs) {\n result.push(_this.stringToFloat(element.getValue()));\n }\n });\n return result;\n };\n NumberFilter.prototype.areSimpleModelsEqual = function (aSimple, bSimple) {\n return aSimple.filter === bSimple.filter\n && aSimple.filterTo === bSimple.filterTo\n && aSimple.type === bSimple.type;\n };\n NumberFilter.prototype.getFilterType = function () {\n return 'number';\n };\n NumberFilter.prototype.stringToFloat = function (value) {\n if (typeof value === 'number') {\n return value;\n }\n var filterText = makeNull(value);\n if (filterText != null && filterText.trim() === '') {\n filterText = null;\n }\n if (this.numberFilterParams.numberParser) {\n return this.numberFilterParams.numberParser(filterText);\n }\n return filterText == null || filterText.trim() === '-' ? null : parseFloat(filterText);\n };\n NumberFilter.prototype.createCondition = function (position) {\n var type = this.getConditionTypes()[position];\n var model = {\n filterType: this.getFilterType(),\n type: type\n };\n var values = this.getValues(position);\n if (values.length > 0) {\n model.filter = values[0];\n }\n if (values.length > 1) {\n model.filterTo = values[1];\n }\n return model;\n };\n NumberFilter.prototype.getInputs = function () {\n return [\n [this.eValueFrom1, this.eValueTo1],\n [this.eValueFrom2, this.eValueTo2],\n ];\n };\n NumberFilter.prototype.getAllowedCharPattern = function () {\n var allowedCharPattern = (this.numberFilterParams || {}).allowedCharPattern;\n if (allowedCharPattern) {\n return allowedCharPattern;\n }\n if (!isBrowserChrome() && !isBrowserEdge()) {\n // only Chrome and Edge support the HTML5 number field, so for other browsers we provide an equivalent\n // constraint instead\n return '\\\\d\\\\-\\\\.';\n }\n return null;\n };\n NumberFilter.DEFAULT_FILTER_OPTIONS = [\n ScalarFilter.EQUALS,\n ScalarFilter.NOT_EQUAL,\n ScalarFilter.LESS_THAN,\n ScalarFilter.LESS_THAN_OR_EQUAL,\n ScalarFilter.GREATER_THAN,\n ScalarFilter.GREATER_THAN_OR_EQUAL,\n ScalarFilter.IN_RANGE,\n ScalarFilter.BLANK,\n ScalarFilter.NOT_BLANK,\n ];\n __decorate$2c([\n RefSelector('eValue-index0-1')\n ], NumberFilter.prototype, \"eValueFrom1\", void 0);\n __decorate$2c([\n RefSelector('eValue-index1-1')\n ], NumberFilter.prototype, \"eValueTo1\", void 0);\n __decorate$2c([\n RefSelector('eValue-index0-2')\n ], NumberFilter.prototype, \"eValueFrom2\", void 0);\n __decorate$2c([\n RefSelector('eValue-index1-2')\n ], NumberFilter.prototype, \"eValueTo2\", void 0);\n return NumberFilter;\n}(ScalarFilter));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$2x = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign$a = (undefined && undefined.__assign) || function () {\n __assign$a = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign$a.apply(this, arguments);\n};\nvar __decorate$2b = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar TextFilter = /** @class */ (function (_super) {\n __extends$2x(TextFilter, _super);\n function TextFilter() {\n return _super.call(this, 'textFilter') || this;\n }\n TextFilter.trimInput = function (value) {\n var trimmedInput = value && value.trim();\n // trim the input, unless it is all whitespace (this is consistent with Excel behaviour)\n return trimmedInput === '' ? value : trimmedInput;\n };\n TextFilter.prototype.getDefaultDebounceMs = function () {\n return 500;\n };\n TextFilter.prototype.setParams = function (params) {\n _super.prototype.setParams.call(this, params);\n this.textFilterParams = params;\n this.matcher = this.getTextMatcher();\n this.formatter = this.textFilterParams.textFormatter ||\n (this.textFilterParams.caseSensitive ? TextFilter.DEFAULT_FORMATTER : TextFilter.DEFAULT_LOWERCASE_FORMATTER);\n };\n TextFilter.prototype.getTextMatcher = function () {\n var legacyComparator = this.textFilterParams.textCustomComparator;\n if (legacyComparator) {\n _.doOnce(function () { return console.warn('AG Grid - textCustomComparator is deprecated, use textMatcher instead.'); }, 'textCustomComparator.deprecated');\n return function (_a) {\n var filterOption = _a.filterOption, value = _a.value, filterText = _a.filterText;\n return legacyComparator(filterOption, value, filterText);\n };\n }\n return this.textFilterParams.textMatcher || TextFilter.DEFAULT_MATCHER;\n };\n TextFilter.prototype.createCondition = function (position) {\n var type = this.getConditionTypes()[position];\n var model = {\n filterType: this.getFilterType(),\n type: type,\n };\n var values = this.getValues(position);\n if (values.length > 0) {\n model.filter = values[0];\n }\n if (values.length > 1) {\n model.filterTo = values[1];\n }\n return model;\n };\n TextFilter.prototype.getFilterType = function () {\n return 'text';\n };\n TextFilter.prototype.areSimpleModelsEqual = function (aSimple, bSimple) {\n return aSimple.filter === bSimple.filter &&\n aSimple.filterTo === bSimple.filterTo &&\n aSimple.type === bSimple.type;\n };\n TextFilter.prototype.getInputs = function () {\n return [\n [this.eValueFrom1, this.eValueTo1],\n [this.eValueFrom2, this.eValueTo2],\n ];\n };\n TextFilter.prototype.getValues = function (position) {\n var _this = this;\n var result = [];\n this.forEachInput(function (element, index, elPosition, numberOfInputs) {\n if (position === elPosition && index < numberOfInputs) {\n var value = makeNull(element.getValue());\n var cleanValue = (_this.textFilterParams.trimInput ? TextFilter.trimInput(value) : value) || null;\n result.push(cleanValue);\n element.setValue(cleanValue, true); // ensure clean value is visible\n }\n });\n return result;\n };\n TextFilter.prototype.getDefaultFilterOptions = function () {\n return TextFilter.DEFAULT_FILTER_OPTIONS;\n };\n TextFilter.prototype.createValueTemplate = function (position) {\n var pos = position === ConditionPosition.One ? '1' : '2';\n return /* html */ \"\\n
    \\n \\n \\n
    \";\n };\n TextFilter.prototype.mapValuesFromModel = function (filterModel) {\n var _a = filterModel || {}, filter = _a.filter, filterTo = _a.filterTo, type = _a.type;\n return [\n filter || null,\n filterTo || null,\n ].slice(0, this.getNumberOfInputs(type));\n };\n TextFilter.prototype.evaluateNullValue = function (filterType) {\n var filterTypesAllowNulls = [\n SimpleFilter.NOT_EQUAL, SimpleFilter.NOT_CONTAINS, SimpleFilter.BLANK,\n ];\n return filterType ? filterTypesAllowNulls.indexOf(filterType) >= 0 : false;\n };\n TextFilter.prototype.evaluateNonNullValue = function (values, cellValue, filterModel, params) {\n var _this = this;\n var formattedValues = values.map(function (v) { return _this.formatter(v); }) || [];\n var cellValueFormatted = this.formatter(cellValue);\n var _a = this.textFilterParams, api = _a.api, colDef = _a.colDef, column = _a.column, columnApi = _a.columnApi, context = _a.context, textFormatter = _a.textFormatter;\n if (filterModel.type === SimpleFilter.BLANK) {\n return this.isBlank(cellValue);\n }\n else if (filterModel.type === SimpleFilter.NOT_BLANK) {\n return !this.isBlank(cellValue);\n }\n var matcherParams = {\n api: api,\n colDef: colDef,\n column: column,\n columnApi: columnApi,\n context: context,\n node: params.node,\n data: params.data,\n filterOption: filterModel.type,\n value: cellValueFormatted,\n textFormatter: textFormatter,\n };\n return formattedValues.some(function (v) { return _this.matcher(__assign$a(__assign$a({}, matcherParams), { filterText: v })); });\n };\n TextFilter.DEFAULT_FILTER_OPTIONS = [\n SimpleFilter.CONTAINS,\n SimpleFilter.NOT_CONTAINS,\n SimpleFilter.EQUALS,\n SimpleFilter.NOT_EQUAL,\n SimpleFilter.STARTS_WITH,\n SimpleFilter.ENDS_WITH,\n SimpleFilter.BLANK,\n SimpleFilter.NOT_BLANK,\n ];\n TextFilter.DEFAULT_FORMATTER = function (from) { return from; };\n TextFilter.DEFAULT_LOWERCASE_FORMATTER = function (from) { return from == null ? null : from.toString().toLowerCase(); };\n TextFilter.DEFAULT_MATCHER = function (_a) {\n var filterOption = _a.filterOption, value = _a.value, filterText = _a.filterText;\n if (filterText == null) {\n return false;\n }\n switch (filterOption) {\n case TextFilter.CONTAINS:\n return value.indexOf(filterText) >= 0;\n case TextFilter.NOT_CONTAINS:\n return value.indexOf(filterText) < 0;\n case TextFilter.EQUALS:\n return value === filterText;\n case TextFilter.NOT_EQUAL:\n return value != filterText;\n case TextFilter.STARTS_WITH:\n return value.indexOf(filterText) === 0;\n case TextFilter.ENDS_WITH:\n var index = value.lastIndexOf(filterText);\n return index >= 0 && index === (value.length - filterText.length);\n default:\n return false;\n }\n };\n __decorate$2b([\n RefSelector('eValue-index0-1')\n ], TextFilter.prototype, \"eValueFrom1\", void 0);\n __decorate$2b([\n RefSelector('eValue-index1-1')\n ], TextFilter.prototype, \"eValueTo1\", void 0);\n __decorate$2b([\n RefSelector('eValue-index0-2')\n ], TextFilter.prototype, \"eValueFrom2\", void 0);\n __decorate$2b([\n RefSelector('eValue-index1-2')\n ], TextFilter.prototype, \"eValueTo2\", void 0);\n return TextFilter;\n}(SimpleFilter));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$2w = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$2a = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar TextInputFloatingFilter = /** @class */ (function (_super) {\n __extends$2w(TextInputFloatingFilter, _super);\n function TextInputFloatingFilter() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n TextInputFloatingFilter.prototype.postConstruct = function () {\n this.resetTemplate();\n };\n TextInputFloatingFilter.prototype.resetTemplate = function (paramsMap) {\n this.setTemplate(/* html */ \"\\n
    \\n \\n
    \\n \", paramsMap);\n };\n TextInputFloatingFilter.prototype.getDefaultDebounceMs = function () {\n return 500;\n };\n TextInputFloatingFilter.prototype.onParentModelChanged = function (model, event) {\n if (this.isEventFromFloatingFilter(event)) {\n // if the floating filter triggered the change, it is already in sync\n return;\n }\n this.setLastTypeFromModel(model);\n this.eFloatingFilterInput.setValue(this.getTextFromModel(model));\n this.setEditable(this.canWeEditAfterModelFromParentFilter(model));\n };\n TextInputFloatingFilter.prototype.init = function (params) {\n _super.prototype.init.call(this, params);\n this.params = params;\n this.applyActive = ProvidedFilter.isUseApplyButton(this.params.filterParams);\n var allowedCharPattern = this.params.filterParams.allowedCharPattern;\n if (allowedCharPattern != null) {\n this.resetTemplate({ eFloatingFilterInput: { allowedCharPattern: allowedCharPattern } });\n }\n if (!this.isReadOnly()) {\n var debounceMs = ProvidedFilter.getDebounceMs(this.params.filterParams, this.getDefaultDebounceMs());\n var toDebounce = debounce(this.syncUpWithParentFilter.bind(this), debounceMs);\n var filterGui = this.eFloatingFilterInput.getGui();\n this.addManagedListener(filterGui, 'input', toDebounce);\n this.addManagedListener(filterGui, 'keypress', toDebounce);\n this.addManagedListener(filterGui, 'keydown', toDebounce);\n }\n var columnDef = params.column.getDefinition();\n if (this.isReadOnly() || (columnDef.filterParams &&\n columnDef.filterParams.filterOptions &&\n columnDef.filterParams.filterOptions.length === 1 &&\n columnDef.filterParams.filterOptions[0] === 'inRange')) {\n this.eFloatingFilterInput.setDisabled(true);\n }\n var displayName = this.columnModel.getDisplayNameForColumn(params.column, 'header', true);\n var translate = this.gridOptionsWrapper.getLocaleTextFunc();\n this.eFloatingFilterInput.setInputAriaLabel(displayName + \" \" + translate('ariaFilterInput', 'Filter Input'));\n };\n TextInputFloatingFilter.prototype.syncUpWithParentFilter = function (e) {\n var _this = this;\n var enterKeyPressed = e.key === KeyCode.ENTER;\n if (this.applyActive && !enterKeyPressed) {\n return;\n }\n var value = this.eFloatingFilterInput.getValue();\n if (this.params.filterParams.trimInput) {\n value = TextFilter.trimInput(value);\n this.eFloatingFilterInput.setValue(value, true); // ensure visible value is trimmed\n }\n this.params.parentFilterInstance(function (filterInstance) {\n if (filterInstance) {\n filterInstance.onFloatingFilterChanged(_this.getLastType() || null, value || null);\n }\n });\n };\n TextInputFloatingFilter.prototype.conditionToString = function (condition, options) {\n var numberOfInputs = (options || {}).numberOfInputs;\n var isRange = condition.type == SimpleFilter.IN_RANGE || numberOfInputs === 2;\n if (isRange) {\n return condition.filter + \"-\" + condition.filterTo;\n }\n // cater for when the type doesn't need a value\n if (condition.filter != null) {\n return \"\" + condition.filter;\n }\n return \"\" + condition.type;\n };\n TextInputFloatingFilter.prototype.setEditable = function (editable) {\n this.eFloatingFilterInput.setDisabled(!editable);\n };\n __decorate$2a([\n Autowired('columnModel')\n ], TextInputFloatingFilter.prototype, \"columnModel\", void 0);\n __decorate$2a([\n RefSelector('eFloatingFilterInput')\n ], TextInputFloatingFilter.prototype, \"eFloatingFilterInput\", void 0);\n __decorate$2a([\n PostConstruct\n ], TextInputFloatingFilter.prototype, \"postConstruct\", null);\n return TextInputFloatingFilter;\n}(SimpleFloatingFilter));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$2v = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar NumberFloatingFilter = /** @class */ (function (_super) {\n __extends$2v(NumberFloatingFilter, _super);\n function NumberFloatingFilter() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n NumberFloatingFilter.prototype.getDefaultFilterOptions = function () {\n return NumberFilter.DEFAULT_FILTER_OPTIONS;\n };\n return NumberFloatingFilter;\n}(TextInputFloatingFilter));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$2u = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar TextFloatingFilter = /** @class */ (function (_super) {\n __extends$2u(TextFloatingFilter, _super);\n function TextFloatingFilter() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n TextFloatingFilter.prototype.getDefaultFilterOptions = function () {\n return TextFilter.DEFAULT_FILTER_OPTIONS;\n };\n return TextFloatingFilter;\n}(TextInputFloatingFilter));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar TouchListener = /** @class */ (function () {\n function TouchListener(eElement, preventMouseClick) {\n var _this = this;\n if (preventMouseClick === void 0) { preventMouseClick = false; }\n this.destroyFuncs = [];\n this.touching = false;\n this.eventService = new EventService();\n this.eElement = eElement;\n this.preventMouseClick = preventMouseClick;\n var startListener = this.onTouchStart.bind(this);\n var moveListener = this.onTouchMove.bind(this);\n var endListener = this.onTouchEnd.bind(this);\n this.eElement.addEventListener(\"touchstart\", startListener, { passive: true });\n this.eElement.addEventListener(\"touchmove\", moveListener, { passive: true });\n // we set passive=false, as we want to prevent default on this event\n this.eElement.addEventListener(\"touchend\", endListener, { passive: false });\n this.destroyFuncs.push(function () {\n _this.eElement.removeEventListener(\"touchstart\", startListener, { passive: true });\n _this.eElement.removeEventListener(\"touchmove\", moveListener, { passive: true });\n _this.eElement.removeEventListener(\"touchend\", endListener, { passive: false });\n });\n }\n TouchListener.prototype.getActiveTouch = function (touchList) {\n for (var i = 0; i < touchList.length; i++) {\n var matches = touchList[i].identifier === this.touchStart.identifier;\n if (matches) {\n return touchList[i];\n }\n }\n return null;\n };\n TouchListener.prototype.addEventListener = function (eventType, listener) {\n this.eventService.addEventListener(eventType, listener);\n };\n TouchListener.prototype.removeEventListener = function (eventType, listener) {\n this.eventService.removeEventListener(eventType, listener);\n };\n TouchListener.prototype.onTouchStart = function (touchEvent) {\n var _this = this;\n // only looking at one touch point at any time\n if (this.touching) {\n return;\n }\n this.touchStart = touchEvent.touches[0];\n this.touching = true;\n this.moved = false;\n var touchStartCopy = this.touchStart;\n window.setTimeout(function () {\n var touchesMatch = _this.touchStart === touchStartCopy;\n if (_this.touching && touchesMatch && !_this.moved) {\n _this.moved = true;\n var event_1 = {\n type: TouchListener.EVENT_LONG_TAP,\n touchStart: _this.touchStart,\n touchEvent: touchEvent\n };\n _this.eventService.dispatchEvent(event_1);\n }\n }, 500);\n };\n TouchListener.prototype.onTouchMove = function (touchEvent) {\n if (!this.touching) {\n return;\n }\n var touch = this.getActiveTouch(touchEvent.touches);\n if (!touch) {\n return;\n }\n var eventIsFarAway = !areEventsNear(touch, this.touchStart, 4);\n if (eventIsFarAway) {\n this.moved = true;\n }\n };\n TouchListener.prototype.onTouchEnd = function (touchEvent) {\n if (!this.touching) {\n return;\n }\n if (!this.moved) {\n var event_2 = {\n type: TouchListener.EVENT_TAP,\n touchStart: this.touchStart\n };\n this.eventService.dispatchEvent(event_2);\n this.checkForDoubleTap();\n }\n // stops the tap from also been processed as a mouse click\n if (this.preventMouseClick && touchEvent.cancelable) {\n touchEvent.preventDefault();\n }\n this.touching = false;\n };\n TouchListener.prototype.checkForDoubleTap = function () {\n var now = new Date().getTime();\n if (this.lastTapTime && this.lastTapTime > 0) {\n // if previous tap, see if duration is short enough to be considered double tap\n var interval = now - this.lastTapTime;\n if (interval > TouchListener.DOUBLE_TAP_MILLIS) {\n // dispatch double tap event\n var event_3 = {\n type: TouchListener.EVENT_DOUBLE_TAP,\n touchStart: this.touchStart\n };\n this.eventService.dispatchEvent(event_3);\n // this stops a tripple tap ending up as two double taps\n this.lastTapTime = null;\n }\n else {\n this.lastTapTime = now;\n }\n }\n else {\n this.lastTapTime = now;\n }\n };\n TouchListener.prototype.destroy = function () {\n this.destroyFuncs.forEach(function (func) { return func(); });\n };\n TouchListener.EVENT_TAP = \"tap\";\n TouchListener.EVENT_DOUBLE_TAP = \"doubleTap\";\n TouchListener.EVENT_LONG_TAP = \"longTap\";\n TouchListener.DOUBLE_TAP_MILLIS = 500;\n return TouchListener;\n}());\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$2t = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$29 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar SortIndicatorComp = /** @class */ (function (_super) {\n __extends$2t(SortIndicatorComp, _super);\n function SortIndicatorComp(skipTemplate) {\n var _this = _super.call(this) || this;\n if (!skipTemplate) {\n _this.setTemplate(SortIndicatorComp.TEMPLATE);\n }\n return _this;\n }\n SortIndicatorComp.prototype.attachCustomElements = function (eSortOrder, eSortAsc, eSortDesc, eSortMixed, eSortNone) {\n this.eSortOrder = eSortOrder;\n this.eSortAsc = eSortAsc;\n this.eSortDesc = eSortDesc;\n this.eSortMixed = eSortMixed;\n this.eSortNone = eSortNone;\n };\n SortIndicatorComp.prototype.setupSort = function (column, suppressOrder) {\n var _this = this;\n if (suppressOrder === void 0) { suppressOrder = false; }\n this.column = column;\n this.suppressOrder = suppressOrder;\n this.setupMultiSortIndicator();\n var canSort = !!this.column.getColDef().sortable;\n if (!canSort) {\n return;\n }\n this.addInIcon('sortAscending', this.eSortAsc, column);\n this.addInIcon('sortDescending', this.eSortDesc, column);\n this.addInIcon('sortUnSort', this.eSortNone, column);\n // Watch global events, as row group columns can effect their display column.\n this.addManagedListener(this.eventService, Events.EVENT_SORT_CHANGED, function () { return _this.onSortChanged(); });\n // when grouping changes so can sort indexes and icons\n this.addManagedListener(this.eventService, Events.EVENT_COLUMN_ROW_GROUP_CHANGED, function () { return _this.onSortChanged(); });\n this.onSortChanged();\n };\n SortIndicatorComp.prototype.addInIcon = function (iconName, eParent, column) {\n if (eParent == null) {\n return;\n }\n var eIcon = createIconNoSpan(iconName, this.gridOptionsWrapper, column);\n if (eIcon) {\n eParent.appendChild(eIcon);\n }\n };\n SortIndicatorComp.prototype.onSortChanged = function () {\n this.updateIcons();\n if (!this.suppressOrder) {\n this.updateSortOrder();\n }\n };\n SortIndicatorComp.prototype.updateIcons = function () {\n var sortDirection = this.sortController.getDisplaySortForColumn(this.column);\n if (this.eSortAsc) {\n var isAscending = sortDirection === 'asc';\n this.eSortAsc.classList.toggle('ag-hidden', !isAscending);\n }\n if (this.eSortDesc) {\n var isDescending = sortDirection === 'desc';\n this.eSortDesc.classList.toggle('ag-hidden', !isDescending);\n }\n if (this.eSortNone) {\n var alwaysHideNoSort = !this.column.getColDef().unSortIcon && !this.gridOptionsWrapper.isUnSortIcon();\n var isNone = sortDirection === null || sortDirection === undefined;\n this.eSortNone.classList.toggle('ag-hidden', (alwaysHideNoSort || !isNone));\n }\n };\n SortIndicatorComp.prototype.setupMultiSortIndicator = function () {\n var _this = this;\n this.addInIcon('sortUnSort', this.eSortMixed, this.column);\n var isColumnShowingRowGroup = this.column.getColDef().showRowGroup;\n var areGroupsCoupled = this.gridOptionsWrapper.isColumnsSortingCoupledToGroup();\n if (areGroupsCoupled && isColumnShowingRowGroup) {\n // Watch global events, as row group columns can effect their display column.\n this.addManagedListener(this.eventService, Events.EVENT_SORT_CHANGED, function () { return _this.updateMultiSortIndicator(); });\n // when grouping changes so can sort indexes and icons\n this.addManagedListener(this.eventService, Events.EVENT_COLUMN_ROW_GROUP_CHANGED, function () { return _this.updateMultiSortIndicator(); });\n this.updateMultiSortIndicator();\n }\n };\n SortIndicatorComp.prototype.updateMultiSortIndicator = function () {\n if (this.eSortMixed) {\n var isMixedSort = this.sortController.getDisplaySortForColumn(this.column) === 'mixed';\n this.eSortMixed.classList.toggle('ag-hidden', !isMixedSort);\n }\n };\n // we listen here for global sort events, NOT column sort events, as we want to do this\n // when sorting has been set on all column (if we listened just for our col (where we\n // set the asc / desc icons) then it's possible other cols are yet to get their sorting state.\n SortIndicatorComp.prototype.updateSortOrder = function () {\n var _this = this;\n var _a;\n if (!this.eSortOrder) {\n return;\n }\n var allColumnsWithSorting = this.sortController.getColumnsWithSortingOrdered();\n var indexThisCol = (_a = this.sortController.getDisplaySortIndexForColumn(this.column), (_a !== null && _a !== void 0 ? _a : -1));\n var moreThanOneColSorting = allColumnsWithSorting.some(function (col) { var _a; return _a = _this.sortController.getDisplaySortIndexForColumn(col), (_a !== null && _a !== void 0 ? _a : -1 >= 1); });\n var showIndex = indexThisCol >= 0 && moreThanOneColSorting;\n setDisplayed(this.eSortOrder, showIndex);\n if (indexThisCol >= 0) {\n this.eSortOrder.innerHTML = (indexThisCol + 1).toString();\n }\n else {\n clearElement(this.eSortOrder);\n }\n };\n SortIndicatorComp.TEMPLATE = \"\\n \\n \\n \\n \\n \\n \";\n __decorate$29([\n RefSelector('eSortOrder')\n ], SortIndicatorComp.prototype, \"eSortOrder\", void 0);\n __decorate$29([\n RefSelector('eSortAsc')\n ], SortIndicatorComp.prototype, \"eSortAsc\", void 0);\n __decorate$29([\n RefSelector('eSortDesc')\n ], SortIndicatorComp.prototype, \"eSortDesc\", void 0);\n __decorate$29([\n RefSelector('eSortMixed')\n ], SortIndicatorComp.prototype, \"eSortMixed\", void 0);\n __decorate$29([\n RefSelector('eSortNone')\n ], SortIndicatorComp.prototype, \"eSortNone\", void 0);\n __decorate$29([\n Autowired('columnModel')\n ], SortIndicatorComp.prototype, \"columnModel\", void 0);\n __decorate$29([\n Autowired('sortController')\n ], SortIndicatorComp.prototype, \"sortController\", void 0);\n return SortIndicatorComp;\n}(Component));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$2s = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$28 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar HeaderComp = /** @class */ (function (_super) {\n __extends$2s(HeaderComp, _super);\n function HeaderComp() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.lastMovingChanged = 0;\n return _this;\n }\n // this is a user component, and IComponent has \"public destroy()\" as part of the interface.\n // so we need to override destroy() just to make the method public.\n HeaderComp.prototype.destroy = function () {\n _super.prototype.destroy.call(this);\n };\n HeaderComp.prototype.refresh = function (params) {\n this.params = params;\n // if template changed, then recreate the whole comp, the code required to manage\n // a changing template is to difficult for what it's worth.\n if (this.workOutTemplate() != this.currentTemplate) {\n return false;\n }\n if (this.workOutShowMenu() != this.currentShowMenu) {\n return false;\n }\n if (this.workOutSort() != this.currentSort) {\n return false;\n }\n this.setDisplayName(params);\n return true;\n };\n HeaderComp.prototype.workOutTemplate = function () {\n var template = firstExistingValue(this.params.template, HeaderComp.TEMPLATE);\n // take account of any newlines & whitespace before/after the actual template\n template = template && template.trim ? template.trim() : template;\n return template;\n };\n HeaderComp.prototype.init = function (params) {\n this.params = params;\n this.currentTemplate = this.workOutTemplate();\n this.setTemplate(this.currentTemplate);\n this.setupTap();\n this.setupIcons(params.column);\n this.setMenu();\n this.setupSort();\n this.setupFilterIcon();\n this.setDisplayName(params);\n };\n HeaderComp.prototype.setDisplayName = function (params) {\n if (this.currentDisplayName != params.displayName) {\n this.currentDisplayName = params.displayName;\n var displayNameSanitised = escapeString(this.currentDisplayName);\n if (this.eText) {\n this.eText.innerHTML = displayNameSanitised;\n }\n }\n };\n HeaderComp.prototype.setupIcons = function (column) {\n this.addInIcon('menu', this.eMenu, column);\n this.addInIcon('filter', this.eFilter, column);\n };\n HeaderComp.prototype.addInIcon = function (iconName, eParent, column) {\n if (eParent == null) {\n return;\n }\n var eIcon = createIconNoSpan(iconName, this.gridOptionsWrapper, column);\n if (eIcon) {\n eParent.appendChild(eIcon);\n }\n };\n HeaderComp.prototype.setupTap = function () {\n var _this = this;\n var options = this.gridOptionsWrapper;\n if (options.isSuppressTouch()) {\n return;\n }\n var touchListener = new TouchListener(this.getGui(), true);\n var suppressMenuHide = options.isSuppressMenuHide();\n var tapMenuButton = suppressMenuHide && exists(this.eMenu);\n var menuTouchListener = tapMenuButton ? new TouchListener(this.eMenu, true) : touchListener;\n if (this.params.enableMenu) {\n var eventType = tapMenuButton ? 'EVENT_TAP' : 'EVENT_LONG_TAP';\n var showMenuFn = function (event) {\n options.getApi().showColumnMenuAfterMouseClick(_this.params.column, event.touchStart);\n };\n this.addManagedListener(menuTouchListener, TouchListener[eventType], showMenuFn);\n }\n if (this.params.enableSorting) {\n var tapListener = function (event) {\n var target = event.touchStart.target;\n // When suppressMenuHide is true, a tap on the menu icon will bubble up\n // to the header container, in that case we should not sort\n if (suppressMenuHide && _this.eMenu.contains(target)) {\n return;\n }\n _this.sortController.progressSort(_this.params.column, false, \"uiColumnSorted\");\n };\n this.addManagedListener(touchListener, TouchListener.EVENT_TAP, tapListener);\n }\n // if tapMenuButton is true `touchListener` and `menuTouchListener` are different\n // so we need to make sure to destroy both listeners here\n this.addDestroyFunc(function () { return touchListener.destroy(); });\n if (tapMenuButton) {\n this.addDestroyFunc(function () { return menuTouchListener.destroy(); });\n }\n };\n HeaderComp.prototype.workOutShowMenu = function () {\n // we don't show the menu if on an iPad/iPhone, as the user cannot have a pointer device/\n // However if suppressMenuHide is set to true the menu will be displayed alwasys, so it's ok\n // to show it on iPad in this case (as hover isn't needed). If suppressMenuHide\n // is false (default) user will need to use longpress to display the menu.\n var menuHides = !this.gridOptionsWrapper.isSuppressMenuHide();\n var onIpadAndMenuHides = isIOSUserAgent() && menuHides;\n var showMenu = this.params.enableMenu && !onIpadAndMenuHides;\n return showMenu;\n };\n HeaderComp.prototype.setMenu = function () {\n var _this = this;\n // if no menu provided in template, do nothing\n if (!this.eMenu) {\n return;\n }\n this.currentShowMenu = this.workOutShowMenu();\n if (!this.currentShowMenu) {\n removeFromParent(this.eMenu);\n return;\n }\n var suppressMenuHide = this.gridOptionsWrapper.isSuppressMenuHide();\n this.addManagedListener(this.eMenu, 'click', function () { return _this.showMenu(_this.eMenu); });\n this.eMenu.classList.toggle('ag-header-menu-always-show', suppressMenuHide);\n };\n HeaderComp.prototype.showMenu = function (eventSource) {\n if (!eventSource) {\n eventSource = this.eMenu;\n }\n this.menuFactory.showMenuAfterButtonClick(this.params.column, eventSource, 'columnMenu');\n };\n HeaderComp.prototype.workOutSort = function () {\n return this.params.enableSorting;\n };\n HeaderComp.prototype.setupSort = function () {\n var _this = this;\n this.currentSort = this.params.enableSorting;\n // eSortIndicator will not be present when customers provided custom header\n // templates, in that case, we need to look for provided sort elements and\n // manually create eSortIndicator.\n if (!this.eSortIndicator) {\n this.eSortIndicator = this.context.createBean(new SortIndicatorComp(true));\n this.eSortIndicator.attachCustomElements(this.eSortOrder, this.eSortAsc, this.eSortDesc, this.eSortMixed, this.eSortNone);\n }\n this.eSortIndicator.setupSort(this.params.column);\n // we set up the indicator prior to the check for whether this column is sortable, as it allows the indicator to\n // set up the multi sort indicator which can appear irrelevant of whether this column can itself be sorted.\n // this can occur in the case of a non-sortable group display column.\n if (!this.currentSort) {\n return;\n }\n var sortUsingCtrl = this.gridOptionsWrapper.isMultiSortKeyCtrl();\n // keep track of last time the moving changed flag was set\n this.addManagedListener(this.params.column, Column.EVENT_MOVING_CHANGED, function () {\n _this.lastMovingChanged = new Date().getTime();\n });\n // add the event on the header, so when clicked, we do sorting\n if (this.eLabel) {\n this.addManagedListener(this.eLabel, 'click', function (event) {\n // sometimes when moving a column via dragging, this was also firing a clicked event.\n // here is issue raised by user: https://ag-grid.zendesk.com/agent/tickets/1076\n // this check stops sort if a) column is moving or b) column moved less than 200ms ago (so caters for race condition)\n var moving = _this.params.column.isMoving();\n var nowTime = new Date().getTime();\n // typically there is <2ms if moving flag was set recently, as it would be done in same VM turn\n var movedRecently = (nowTime - _this.lastMovingChanged) < 50;\n var columnMoving = moving || movedRecently;\n if (!columnMoving) {\n var multiSort = sortUsingCtrl ? (event.ctrlKey || event.metaKey) : event.shiftKey;\n _this.params.progressSort(multiSort);\n }\n });\n }\n var onSortingChanged = function () {\n var _a;\n _this.addOrRemoveCssClass('ag-header-cell-sorted-asc', _this.params.column.isSortAscending());\n _this.addOrRemoveCssClass('ag-header-cell-sorted-desc', _this.params.column.isSortDescending());\n _this.addOrRemoveCssClass('ag-header-cell-sorted-none', _this.params.column.isSortNone());\n if (_this.params.column.getColDef().showRowGroup) {\n var sourceColumns = _this.columnModel.getSourceColumnsForGroupColumn(_this.params.column);\n // this == is intentional, as it allows null and undefined to match, which are both unsorted states\n var sortDirectionsMatch = (_a = sourceColumns) === null || _a === void 0 ? void 0 : _a.every(function (sourceCol) { return _this.params.column.getSort() == sourceCol.getSort(); });\n var isMultiSorting = !sortDirectionsMatch;\n _this.addOrRemoveCssClass('ag-header-cell-sorted-mixed', isMultiSorting);\n }\n };\n this.addManagedListener(this.eventService, Events.EVENT_SORT_CHANGED, onSortingChanged);\n this.addManagedListener(this.eventService, Events.EVENT_COLUMN_ROW_GROUP_CHANGED, onSortingChanged);\n };\n HeaderComp.prototype.setupFilterIcon = function () {\n if (!this.eFilter) {\n return;\n }\n this.addManagedListener(this.params.column, Column.EVENT_FILTER_CHANGED, this.onFilterChanged.bind(this));\n this.onFilterChanged();\n };\n HeaderComp.prototype.onFilterChanged = function () {\n var filterPresent = this.params.column.isFilterActive();\n this.eFilter.classList.toggle('ag-hidden', !filterPresent);\n };\n HeaderComp.TEMPLATE = \"
    \\n \\n
    \\n \\n \\n \\n
    \\n
    \";\n __decorate$28([\n Autowired('sortController')\n ], HeaderComp.prototype, \"sortController\", void 0);\n __decorate$28([\n Autowired('menuFactory')\n ], HeaderComp.prototype, \"menuFactory\", void 0);\n __decorate$28([\n Autowired('columnModel')\n ], HeaderComp.prototype, \"columnModel\", void 0);\n __decorate$28([\n RefSelector('eFilter')\n ], HeaderComp.prototype, \"eFilter\", void 0);\n __decorate$28([\n RefSelector('eSortIndicator')\n ], HeaderComp.prototype, \"eSortIndicator\", void 0);\n __decorate$28([\n RefSelector('eMenu')\n ], HeaderComp.prototype, \"eMenu\", void 0);\n __decorate$28([\n RefSelector('eLabel')\n ], HeaderComp.prototype, \"eLabel\", void 0);\n __decorate$28([\n RefSelector('eText')\n ], HeaderComp.prototype, \"eText\", void 0);\n __decorate$28([\n RefSelector('eSortOrder')\n ], HeaderComp.prototype, \"eSortOrder\", void 0);\n __decorate$28([\n RefSelector('eSortAsc')\n ], HeaderComp.prototype, \"eSortAsc\", void 0);\n __decorate$28([\n RefSelector('eSortDesc')\n ], HeaderComp.prototype, \"eSortDesc\", void 0);\n __decorate$28([\n RefSelector('eSortMixed')\n ], HeaderComp.prototype, \"eSortMixed\", void 0);\n __decorate$28([\n RefSelector('eSortNone')\n ], HeaderComp.prototype, \"eSortNone\", void 0);\n return HeaderComp;\n}(Component));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$2r = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$27 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar HeaderGroupComp = /** @class */ (function (_super) {\n __extends$2r(HeaderGroupComp, _super);\n function HeaderGroupComp() {\n return _super.call(this, HeaderGroupComp.TEMPLATE) || this;\n }\n // this is a user component, and IComponent has \"public destroy()\" as part of the interface.\n // so we need to override destroy() just to make the method public.\n HeaderGroupComp.prototype.destroy = function () {\n _super.prototype.destroy.call(this);\n };\n HeaderGroupComp.prototype.init = function (params) {\n this.params = params;\n this.checkWarnings();\n this.setupLabel();\n this.addGroupExpandIcon();\n this.setupExpandIcons();\n };\n HeaderGroupComp.prototype.checkWarnings = function () {\n var paramsAny = this.params;\n if (paramsAny.template) {\n var message_1 = \"AG Grid: A template was provided for Header Group Comp - templates are only supported for Header Comps (not groups)\";\n doOnce(function () { return console.warn(message_1); }, 'HeaderGroupComp.templateNotSupported');\n }\n };\n HeaderGroupComp.prototype.setupExpandIcons = function () {\n var _this = this;\n this.addInIcon(\"columnGroupOpened\", \"agOpened\");\n this.addInIcon(\"columnGroupClosed\", \"agClosed\");\n var expandAction = function (event) {\n if (isStopPropagationForAgGrid(event)) {\n return;\n }\n var newExpandedValue = !_this.params.columnGroup.isExpanded();\n _this.columnModel.setColumnGroupOpened(_this.params.columnGroup.getProvidedColumnGroup(), newExpandedValue, \"uiColumnExpanded\");\n };\n this.addTouchAndClickListeners(this.eCloseIcon, expandAction);\n this.addTouchAndClickListeners(this.eOpenIcon, expandAction);\n var stopPropagationAction = function (event) {\n stopPropagationForAgGrid(event);\n };\n // adding stopPropagation to the double click for the icons prevents double click action happening\n // when the icons are clicked. if the icons are double clicked, then the groups should open and\n // then close again straight away. if we also listened to double click, then the group would open,\n // close, then open, which is not what we want. double click should only action if the user double\n // clicks outside of the icons.\n this.addManagedListener(this.eCloseIcon, \"dblclick\", stopPropagationAction);\n this.addManagedListener(this.eOpenIcon, \"dblclick\", stopPropagationAction);\n this.addManagedListener(this.getGui(), \"dblclick\", expandAction);\n this.updateIconVisibility();\n var providedColumnGroup = this.params.columnGroup.getProvidedColumnGroup();\n this.addManagedListener(providedColumnGroup, ProvidedColumnGroup.EVENT_EXPANDED_CHANGED, this.updateIconVisibility.bind(this));\n this.addManagedListener(providedColumnGroup, ProvidedColumnGroup.EVENT_EXPANDABLE_CHANGED, this.updateIconVisibility.bind(this));\n };\n HeaderGroupComp.prototype.addTouchAndClickListeners = function (eElement, action) {\n var touchListener = new TouchListener(eElement, true);\n this.addManagedListener(touchListener, TouchListener.EVENT_TAP, action);\n this.addDestroyFunc(function () { return touchListener.destroy(); });\n this.addManagedListener(eElement, \"click\", action);\n };\n HeaderGroupComp.prototype.updateIconVisibility = function () {\n var columnGroup = this.params.columnGroup;\n if (columnGroup.isExpandable()) {\n var expanded = this.params.columnGroup.isExpanded();\n setDisplayed(this.eOpenIcon, expanded);\n setDisplayed(this.eCloseIcon, !expanded);\n }\n else {\n setDisplayed(this.eOpenIcon, false);\n setDisplayed(this.eCloseIcon, false);\n }\n };\n HeaderGroupComp.prototype.addInIcon = function (iconName, refName) {\n var eIcon = createIconNoSpan(iconName, this.gridOptionsWrapper, null);\n if (eIcon) {\n this.getRefElement(refName).appendChild(eIcon);\n }\n };\n HeaderGroupComp.prototype.addGroupExpandIcon = function () {\n if (!this.params.columnGroup.isExpandable()) {\n setDisplayed(this.eOpenIcon, false);\n setDisplayed(this.eCloseIcon, false);\n return;\n }\n };\n HeaderGroupComp.prototype.setupLabel = function () {\n // no renderer, default text render\n var displayName = this.params.displayName;\n if (exists(displayName)) {\n var displayNameSanitised = escapeString(displayName);\n this.getRefElement('agLabel').innerHTML = displayNameSanitised;\n }\n };\n HeaderGroupComp.TEMPLATE = \"
    \\n \\n \\n \\n
    \";\n __decorate$27([\n Autowired(\"columnModel\")\n ], HeaderGroupComp.prototype, \"columnModel\", void 0);\n __decorate$27([\n RefSelector(\"agOpened\")\n ], HeaderGroupComp.prototype, \"eOpenIcon\", void 0);\n __decorate$27([\n RefSelector(\"agClosed\")\n ], HeaderGroupComp.prototype, \"eCloseIcon\", void 0);\n return HeaderGroupComp;\n}(Component));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$2q = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar PopupComponent = /** @class */ (function (_super) {\n __extends$2q(PopupComponent, _super);\n function PopupComponent() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n PopupComponent.prototype.isPopup = function () {\n return true;\n };\n PopupComponent.prototype.setParentComponent = function (container) {\n container.addCssClass('ag-has-popup');\n _super.prototype.setParentComponent.call(this, container);\n };\n PopupComponent.prototype.destroy = function () {\n var parentComp = this.parentComponent;\n var hasParent = parentComp && parentComp.isAlive();\n if (hasParent) {\n parentComp.getGui().classList.remove('ag-has-popup');\n }\n _super.prototype.destroy.call(this);\n };\n return PopupComponent;\n}(Component));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$2p = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$26 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar LargeTextCellEditor = /** @class */ (function (_super) {\n __extends$2p(LargeTextCellEditor, _super);\n function LargeTextCellEditor() {\n return _super.call(this, LargeTextCellEditor.TEMPLATE) || this;\n }\n LargeTextCellEditor.prototype.init = function (params) {\n this.params = params;\n this.focusAfterAttached = params.cellStartedEdit;\n this.eTextArea\n .setMaxLength(params.maxLength || 200)\n .setCols(params.cols || 60)\n .setRows(params.rows || 10);\n if (exists(params.value)) {\n this.eTextArea.setValue(params.value.toString(), true);\n }\n this.addGuiEventListener('keydown', this.onKeyDown.bind(this));\n };\n LargeTextCellEditor.prototype.onKeyDown = function (event) {\n var key = event.key;\n if (key === KeyCode.LEFT ||\n key === KeyCode.UP ||\n key === KeyCode.RIGHT ||\n key === KeyCode.DOWN ||\n (event.shiftKey && key === KeyCode.ENTER)) { // shift+enter allows for newlines\n event.stopPropagation();\n }\n };\n LargeTextCellEditor.prototype.afterGuiAttached = function () {\n var translate = this.gridOptionsWrapper.getLocaleTextFunc();\n this.eTextArea.setInputAriaLabel(translate('ariaInputEditor', 'Input Editor'));\n if (this.focusAfterAttached) {\n this.eTextArea.getFocusableElement().focus();\n }\n };\n LargeTextCellEditor.prototype.getValue = function () {\n return this.params.parseValue(this.eTextArea.getValue());\n };\n LargeTextCellEditor.TEMPLATE = \"
    \\n \\n
    \";\n __decorate$26([\n RefSelector(\"eTextArea\")\n ], LargeTextCellEditor.prototype, \"eTextArea\", void 0);\n return LargeTextCellEditor;\n}(PopupComponent));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$2o = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$25 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar SelectCellEditor = /** @class */ (function (_super) {\n __extends$2o(SelectCellEditor, _super);\n function SelectCellEditor() {\n var _this = _super.call(this, '
    ') || this;\n _this.startedByEnter = false;\n return _this;\n }\n SelectCellEditor.prototype.init = function (params) {\n var _this = this;\n this.focusAfterAttached = params.cellStartedEdit;\n if (missing(params.values)) {\n console.warn('AG Grid: no values found for select cellEditor');\n return;\n }\n this.startedByEnter = params.eventKey != null ? params.eventKey === KeyCode.ENTER : false;\n var hasValue = false;\n params.values.forEach(function (value) {\n var option = { value: value };\n var valueFormatted = _this.valueFormatterService.formatValue(params.column, null, value);\n var valueFormattedExits = valueFormatted !== null && valueFormatted !== undefined;\n option.text = valueFormattedExits ? valueFormatted : value;\n _this.eSelect.addOption(option);\n hasValue = hasValue || params.value === value;\n });\n if (hasValue) {\n this.eSelect.setValue(params.value, true);\n }\n else if (params.values.length) {\n this.eSelect.setValue(params.values[0], true);\n }\n // we don't want to add this if full row editing, otherwise selecting will stop the\n // full row editing.\n if (!this.gridOptionsWrapper.isFullRowEdit()) {\n this.eSelect.onValueChange(function () { return params.stopEditing(); });\n }\n };\n SelectCellEditor.prototype.afterGuiAttached = function () {\n if (this.focusAfterAttached) {\n this.eSelect.getFocusableElement().focus();\n }\n if (this.startedByEnter) {\n this.eSelect.showPicker();\n }\n };\n SelectCellEditor.prototype.focusIn = function () {\n this.eSelect.getFocusableElement().focus();\n };\n SelectCellEditor.prototype.getValue = function () {\n return this.eSelect.getValue();\n };\n SelectCellEditor.prototype.isPopup = function () {\n return false;\n };\n __decorate$25([\n Autowired('valueFormatterService')\n ], SelectCellEditor.prototype, \"valueFormatterService\", void 0);\n __decorate$25([\n RefSelector('eSelect')\n ], SelectCellEditor.prototype, \"eSelect\", void 0);\n return SelectCellEditor;\n}(PopupComponent));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$2n = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar PopupSelectCellEditor = /** @class */ (function (_super) {\n __extends$2n(PopupSelectCellEditor, _super);\n function PopupSelectCellEditor() {\n var _this = _super.call(this) || this;\n doOnce(function () { return console.warn('AG Grid: The PopupSelectCellEditor (agPopupSelectCellEditor) is deprecated. Instead use {cellEditor: \"agSelectCellEditor\", cellEditorPopup: true} '); }, 'PopupSelectCellEditor.deprecated');\n return _this;\n }\n PopupSelectCellEditor.prototype.isPopup = function () {\n return true;\n };\n return PopupSelectCellEditor;\n}(SelectCellEditor));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$2m = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$24 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar TextCellEditor = /** @class */ (function (_super) {\n __extends$2m(TextCellEditor, _super);\n function TextCellEditor() {\n return _super.call(this, TextCellEditor.TEMPLATE) || this;\n }\n TextCellEditor.prototype.init = function (params) {\n this.params = params;\n var eInput = this.eInput;\n var startValue;\n // cellStartedEdit is only false if we are doing fullRow editing\n if (params.cellStartedEdit) {\n this.focusAfterAttached = true;\n if (params.eventKey === KeyCode.BACKSPACE || params.eventKey === KeyCode.DELETE) {\n startValue = '';\n }\n else if (params.charPress) {\n startValue = params.charPress;\n }\n else {\n startValue = this.getStartValue(params);\n if (params.eventKey !== KeyCode.F2) {\n this.highlightAllOnFocus = true;\n }\n }\n }\n else {\n this.focusAfterAttached = false;\n startValue = this.getStartValue(params);\n }\n if (startValue != null) {\n eInput.setValue(startValue, true);\n }\n if (params.maxLength != null) {\n eInput.setMaxLength(params.maxLength);\n }\n this.addManagedListener(eInput.getGui(), 'keydown', function (event) {\n var key = event.key;\n if (key === KeyCode.PAGE_UP || key === KeyCode.PAGE_DOWN) {\n event.preventDefault();\n }\n });\n };\n TextCellEditor.prototype.afterGuiAttached = function () {\n var translate = this.gridOptionsWrapper.getLocaleTextFunc();\n var eInput = this.eInput;\n eInput.setInputAriaLabel(translate('ariaInputEditor', 'Input Editor'));\n if (!this.focusAfterAttached) {\n return;\n }\n // Added for AG-3238. We can't remove this explicit focus() because Chrome requires an input\n // to be focused before setSelectionRange will work. But it triggers a bug in Safari where\n // explicitly focusing then blurring an empty field will cause the parent container to scroll.\n if (!isBrowserSafari()) {\n eInput.getFocusableElement().focus();\n }\n var inputEl = eInput.getInputElement();\n if (this.highlightAllOnFocus) {\n inputEl.select();\n }\n else {\n // when we started editing, we want the caret at the end, not the start.\n // this comes into play in two scenarios:\n // a) when user hits F2\n // b) when user hits a printable character\n var value = eInput.getValue();\n var len = (exists(value) && value.length) || 0;\n if (len) {\n inputEl.setSelectionRange(len, len);\n }\n }\n };\n // gets called when tabbing trough cells and in full row edit mode\n TextCellEditor.prototype.focusIn = function () {\n var eInput = this.eInput;\n var focusEl = eInput.getFocusableElement();\n var inputEl = eInput.getInputElement();\n focusEl.focus();\n inputEl.select();\n };\n TextCellEditor.prototype.getValue = function () {\n var eInput = this.eInput;\n return this.params.parseValue(eInput.getValue());\n };\n TextCellEditor.prototype.getStartValue = function (params) {\n var formatValue = params.useFormatter || params.column.getColDef().refData;\n return formatValue ? params.formatValue(params.value) : params.value;\n };\n TextCellEditor.prototype.isPopup = function () {\n return false;\n };\n TextCellEditor.TEMPLATE = \"
    \\n \\n
    \";\n __decorate$24([\n RefSelector('eInput')\n ], TextCellEditor.prototype, \"eInput\", void 0);\n return TextCellEditor;\n}(PopupComponent));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$2l = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar PopupTextCellEditor = /** @class */ (function (_super) {\n __extends$2l(PopupTextCellEditor, _super);\n function PopupTextCellEditor() {\n var _this = _super.call(this) || this;\n doOnce(function () { return console.warn('AG Grid: The PopupTextCellEditor (agPopupTextCellEditor) is deprecated. Instead use {cellEditor: \"agTextCellEditor\", cellEditorPopup: true} '); }, 'PopupTextCellEditor.deprecated');\n return _this;\n }\n PopupTextCellEditor.prototype.isPopup = function () {\n return true;\n };\n return PopupTextCellEditor;\n}(TextCellEditor));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$2k = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$23 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar ARROW_UP = '\\u2191';\nvar ARROW_DOWN = '\\u2193';\nvar AnimateShowChangeCellRenderer = /** @class */ (function (_super) {\n __extends$2k(AnimateShowChangeCellRenderer, _super);\n function AnimateShowChangeCellRenderer() {\n var _this = _super.call(this, AnimateShowChangeCellRenderer.TEMPLATE) || this;\n _this.refreshCount = 0;\n return _this;\n }\n AnimateShowChangeCellRenderer.prototype.init = function (params) {\n // this.params = params;\n this.eValue = this.queryForHtmlElement('.ag-value-change-value');\n this.eDelta = this.queryForHtmlElement('.ag-value-change-delta');\n this.refresh(params);\n };\n AnimateShowChangeCellRenderer.prototype.showDelta = function (params, delta) {\n var absDelta = Math.abs(delta);\n var valueFormatted = params.formatValue(absDelta);\n var valueToUse = exists(valueFormatted) ? valueFormatted : absDelta;\n var deltaUp = (delta >= 0);\n if (deltaUp) {\n this.eDelta.innerHTML = ARROW_UP + valueToUse;\n }\n else {\n // because negative, use ABS to remove sign\n this.eDelta.innerHTML = ARROW_DOWN + valueToUse;\n }\n this.eDelta.classList.toggle('ag-value-change-delta-up', deltaUp);\n this.eDelta.classList.toggle('ag-value-change-delta-down', !deltaUp);\n };\n AnimateShowChangeCellRenderer.prototype.setTimerToRemoveDelta = function () {\n var _this = this;\n // the refreshCount makes sure that if the value updates again while\n // the below timer is waiting, then the below timer will realise it\n // is not the most recent and will not try to remove the delta value.\n this.refreshCount++;\n var refreshCountCopy = this.refreshCount;\n window.setTimeout(function () {\n if (refreshCountCopy === _this.refreshCount) {\n _this.hideDeltaValue();\n }\n }, 2000);\n };\n AnimateShowChangeCellRenderer.prototype.hideDeltaValue = function () {\n this.eValue.classList.remove('ag-value-change-value-highlight');\n clearElement(this.eDelta);\n };\n AnimateShowChangeCellRenderer.prototype.refresh = function (params) {\n var value = params.value;\n if (value === this.lastValue) {\n return false;\n }\n if (exists(params.valueFormatted)) {\n this.eValue.innerHTML = params.valueFormatted;\n }\n else if (exists(params.value)) {\n this.eValue.innerHTML = value;\n }\n else {\n clearElement(this.eValue);\n }\n // we don't show the delta if we are in the middle of a filter. see comment on FilterManager\n // with regards processingFilterChange\n if (this.filterManager.isSuppressFlashingCellsBecauseFiltering()) {\n return false;\n }\n if (typeof value === 'number' && typeof this.lastValue === 'number') {\n var delta = value - this.lastValue;\n this.showDelta(params, delta);\n }\n // highlight the current value, but only if it's not new, otherwise it\n // would get highlighted first time the value is shown\n if (this.lastValue) {\n this.eValue.classList.add('ag-value-change-value-highlight');\n }\n this.setTimerToRemoveDelta();\n this.lastValue = value;\n return true;\n };\n AnimateShowChangeCellRenderer.TEMPLATE = '' +\n '' +\n '' +\n '';\n __decorate$23([\n Autowired('filterManager')\n ], AnimateShowChangeCellRenderer.prototype, \"filterManager\", void 0);\n return AnimateShowChangeCellRenderer;\n}(Component));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$2j = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$22 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar AnimateSlideCellRenderer = /** @class */ (function (_super) {\n __extends$2j(AnimateSlideCellRenderer, _super);\n function AnimateSlideCellRenderer() {\n var _this = _super.call(this, AnimateSlideCellRenderer.TEMPLATE) || this;\n _this.refreshCount = 0;\n _this.eCurrent = _this.queryForHtmlElement('.ag-value-slide-current');\n return _this;\n }\n AnimateSlideCellRenderer.prototype.init = function (params) {\n this.refresh(params);\n };\n AnimateSlideCellRenderer.prototype.addSlideAnimation = function () {\n var _this = this;\n this.refreshCount++;\n // below we keep checking this, and stop working on the animation\n // if it no longer matches - this means another animation has started\n // and this one is stale.\n var refreshCountCopy = this.refreshCount;\n // if old animation, remove it\n if (this.ePrevious) {\n this.getGui().removeChild(this.ePrevious);\n }\n this.ePrevious = loadTemplate('');\n this.ePrevious.innerHTML = this.eCurrent.innerHTML;\n this.getGui().insertBefore(this.ePrevious, this.eCurrent);\n // having timeout of 0 allows use to skip to the next css turn,\n // so we know the previous css classes have been applied. so the\n // complex set of setTimeout below creates the animation\n window.setTimeout(function () {\n if (refreshCountCopy !== _this.refreshCount) {\n return;\n }\n _this.ePrevious.classList.add('ag-value-slide-out-end');\n }, 50);\n window.setTimeout(function () {\n if (refreshCountCopy !== _this.refreshCount) {\n return;\n }\n _this.getGui().removeChild(_this.ePrevious);\n _this.ePrevious = null;\n }, 3000);\n };\n AnimateSlideCellRenderer.prototype.refresh = function (params) {\n var value = params.value;\n if (missing(value)) {\n value = '';\n }\n if (value === this.lastValue) {\n return false;\n }\n // we don't show the delta if we are in the middle of a filter. see comment on FilterManager\n // with regards processingFilterChange\n if (this.filterManager.isSuppressFlashingCellsBecauseFiltering()) {\n return false;\n }\n this.addSlideAnimation();\n this.lastValue = value;\n if (exists(params.valueFormatted)) {\n this.eCurrent.innerHTML = params.valueFormatted;\n }\n else if (exists(params.value)) {\n this.eCurrent.innerHTML = value;\n }\n else {\n clearElement(this.eCurrent);\n }\n return true;\n };\n AnimateSlideCellRenderer.TEMPLATE = \"\\n \\n \";\n __decorate$22([\n Autowired('filterManager')\n ], AnimateSlideCellRenderer.prototype, \"filterManager\", void 0);\n return AnimateSlideCellRenderer;\n}(Component));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar RowHighlightPosition;\n(function (RowHighlightPosition) {\n RowHighlightPosition[RowHighlightPosition[\"Above\"] = 0] = \"Above\";\n RowHighlightPosition[RowHighlightPosition[\"Below\"] = 1] = \"Below\";\n})(RowHighlightPosition || (RowHighlightPosition = {}));\nvar RowNode = /** @class */ (function () {\n function RowNode(beans) {\n /** The current row index. If the row is filtered out or in a collapsed group, this value will be `null`. */\n this.rowIndex = null;\n /** The key for the group eg Ireland, UK, USA */\n this.key = null;\n /** Children mapped by the pivot columns. */\n this.childrenMapped = {};\n /**\n * This will be `true` if it has a rowIndex assigned, otherwise `false`.\n */\n this.displayed = false;\n /** The row top position in pixels. */\n this.rowTop = null;\n /** The top pixel for this row last time, makes sense if data set was ordered or filtered,\n * it is used so new rows can animate in from their old position. */\n this.oldRowTop = null;\n /** `true` by default - can be overridden via gridOptions.isRowSelectable(rowNode) */\n this.selectable = true;\n /** Used by sorting service - to give deterministic sort to groups. Previously we\n * just id for this, however id is a string and had slower sorting compared to numbers. */\n this.__objectId = RowNode.OBJECT_ID_SEQUENCE++;\n /** When one or more Columns are using autoHeight, this keeps track of height of each autoHeight Cell,\n * indexed by the Column ID. */\n this.__autoHeights = {};\n /** `true` when nodes with the same id are being removed and added as part of the same batch transaction */\n this.alreadyRendered = false;\n this.highlighted = null;\n this.selected = false;\n this.beans = beans;\n }\n /** Replaces the data on the `rowNode`. When complete, the grid will refresh the the entire rendered row if it is showing. */\n RowNode.prototype.setData = function (data) {\n this.setDataCommon(data, false);\n };\n // similar to setRowData, however it is expected that the data is the same data item. this\n // is intended to be used with Redux type stores, where the whole data can be changed. we are\n // guaranteed that the data is the same entity (so grid doesn't need to worry about the id of the\n // underlying data changing, hence doesn't need to worry about selection). the grid, upon receiving\n // dataChanged event, will refresh the cells rather than rip them all out (so user can show transitions).\n RowNode.prototype.updateData = function (data) {\n this.setDataCommon(data, true);\n };\n RowNode.prototype.setDataCommon = function (data, update) {\n var oldData = this.data;\n this.data = data;\n this.beans.valueCache.onDataChanged();\n this.updateDataOnDetailNode();\n this.checkRowSelectable();\n var event = this.createDataChangedEvent(data, oldData, update);\n this.dispatchLocalEvent(event);\n };\n // when we are doing master / detail, the detail node is lazy created, but then kept around.\n // so if we show / hide the detail, the same detail rowNode is used. so we need to keep the data\n // in sync, otherwise expand/collapse of the detail would still show the old values.\n RowNode.prototype.updateDataOnDetailNode = function () {\n if (this.detailNode) {\n this.detailNode.data = this.data;\n }\n };\n RowNode.prototype.createDataChangedEvent = function (newData, oldData, update) {\n return {\n type: RowNode.EVENT_DATA_CHANGED,\n node: this,\n oldData: oldData,\n newData: newData,\n update: update\n };\n };\n RowNode.prototype.createLocalRowEvent = function (type) {\n return {\n type: type,\n node: this\n };\n };\n RowNode.prototype.getRowIndexString = function () {\n if (this.rowPinned === Constants.PINNED_TOP) {\n return 't-' + this.rowIndex;\n }\n if (this.rowPinned === Constants.PINNED_BOTTOM) {\n return 'b-' + this.rowIndex;\n }\n return this.rowIndex.toString();\n };\n RowNode.prototype.createDaemonNode = function () {\n var oldNode = new RowNode(this.beans);\n // just copy the id and data, this is enough for the node to be used\n // in the selection controller (the selection controller is the only\n // place where daemon nodes can live).\n oldNode.id = this.id;\n oldNode.data = this.data;\n oldNode.daemon = true;\n oldNode.selected = this.selected;\n oldNode.level = this.level;\n return oldNode;\n };\n RowNode.prototype.setDataAndId = function (data, id) {\n var oldNode = exists(this.id) ? this.createDaemonNode() : null;\n var oldData = this.data;\n this.data = data;\n this.updateDataOnDetailNode();\n this.setId(id);\n this.beans.selectionService.syncInRowNode(this, oldNode);\n this.checkRowSelectable();\n var event = this.createDataChangedEvent(data, oldData, false);\n this.dispatchLocalEvent(event);\n };\n RowNode.prototype.checkRowSelectable = function () {\n var isRowSelectableFunc = this.beans.gridOptionsWrapper.getIsRowSelectableFunc();\n this.setRowSelectable(isRowSelectableFunc ? isRowSelectableFunc(this) : true);\n };\n RowNode.prototype.setRowSelectable = function (newVal) {\n if (this.selectable !== newVal) {\n this.selectable = newVal;\n if (this.eventService) {\n this.eventService.dispatchEvent(this.createLocalRowEvent(RowNode.EVENT_SELECTABLE_CHANGED));\n }\n var isGroupSelectsChildren = this.beans.gridOptionsWrapper.isGroupSelectsChildren();\n if (isGroupSelectsChildren) {\n var selected = this.calculateSelectedFromChildren();\n this.setSelected((selected !== null && selected !== void 0 ? selected : false));\n }\n }\n };\n RowNode.prototype.setId = function (id) {\n // see if user is providing the id's\n var getRowIdFunc = this.beans.gridOptionsWrapper.getRowIdFunc();\n if (getRowIdFunc) {\n // if user is providing the id's, then we set the id only after the data has been set.\n // this is important for virtual pagination and viewport, where empty rows exist.\n if (this.data) {\n // we pass 'true' as we skip this level when generating keys,\n // as we don't always have the key for this level (eg when updating\n // data via transaction on SSRM, we are getting key to look up the\n // RowNode, don't have the RowNode yet, thus no way to get the current key)\n var parentKeys = this.getGroupKeys(true);\n this.id = getRowIdFunc({\n data: this.data,\n parentKeys: parentKeys.length > 0 ? parentKeys : undefined,\n level: this.level\n });\n // make sure id provided doesn't start with 'row-group-' as this is reserved. also check that\n // it has 'startsWith' in case the user provided a number.\n if (this.id !== null && typeof this.id === 'string' && this.id.startsWith(RowNode.ID_PREFIX_ROW_GROUP)) {\n console.error(\"AG Grid: Row IDs cannot start with \" + RowNode.ID_PREFIX_ROW_GROUP + \", this is a reserved prefix for AG Grid's row grouping feature.\");\n }\n // force id to be a string\n if (this.id !== null && typeof this.id !== 'string') {\n this.id = '' + this.id;\n }\n }\n else {\n // this can happen if user has set blank into the rowNode after the row previously\n // having data. this happens in virtual page row model, when data is delete and\n // the page is refreshed.\n this.id = undefined;\n }\n }\n else {\n this.id = id;\n }\n };\n RowNode.prototype.getGroupKeys = function (excludeSelf) {\n if (excludeSelf === void 0) { excludeSelf = false; }\n var keys = [];\n var pointer = this;\n if (excludeSelf) {\n pointer = pointer.parent;\n }\n while (pointer && pointer.level >= 0) {\n keys.push(pointer.key);\n pointer = pointer.parent;\n }\n keys.reverse();\n return keys;\n };\n RowNode.prototype.isPixelInRange = function (pixel) {\n if (!exists(this.rowTop) || !exists(this.rowHeight)) {\n return false;\n }\n return pixel >= this.rowTop && pixel < (this.rowTop + this.rowHeight);\n };\n RowNode.prototype.setFirstChild = function (firstChild) {\n if (this.firstChild === firstChild) {\n return;\n }\n this.firstChild = firstChild;\n if (this.eventService) {\n this.eventService.dispatchEvent(this.createLocalRowEvent(RowNode.EVENT_FIRST_CHILD_CHANGED));\n }\n };\n RowNode.prototype.setLastChild = function (lastChild) {\n if (this.lastChild === lastChild) {\n return;\n }\n this.lastChild = lastChild;\n if (this.eventService) {\n this.eventService.dispatchEvent(this.createLocalRowEvent(RowNode.EVENT_LAST_CHILD_CHANGED));\n }\n };\n RowNode.prototype.setChildIndex = function (childIndex) {\n if (this.childIndex === childIndex) {\n return;\n }\n this.childIndex = childIndex;\n if (this.eventService) {\n this.eventService.dispatchEvent(this.createLocalRowEvent(RowNode.EVENT_CHILD_INDEX_CHANGED));\n }\n };\n RowNode.prototype.setRowTop = function (rowTop) {\n this.oldRowTop = this.rowTop;\n if (this.rowTop === rowTop) {\n return;\n }\n this.rowTop = rowTop;\n if (this.eventService) {\n this.eventService.dispatchEvent(this.createLocalRowEvent(RowNode.EVENT_TOP_CHANGED));\n }\n this.setDisplayed(rowTop !== null);\n };\n RowNode.prototype.clearRowTopAndRowIndex = function () {\n this.oldRowTop = null;\n this.setRowTop(null);\n this.setRowIndex(null);\n };\n RowNode.prototype.setDisplayed = function (displayed) {\n if (this.displayed === displayed) {\n return;\n }\n this.displayed = displayed;\n if (this.eventService) {\n this.eventService.dispatchEvent(this.createLocalRowEvent(RowNode.EVENT_DISPLAYED_CHANGED));\n }\n };\n RowNode.prototype.setDragging = function (dragging) {\n if (this.dragging === dragging) {\n return;\n }\n this.dragging = dragging;\n if (this.eventService) {\n this.eventService.dispatchEvent(this.createLocalRowEvent(RowNode.EVENT_DRAGGING_CHANGED));\n }\n };\n RowNode.prototype.setHighlighted = function (highlighted) {\n if (highlighted === this.highlighted) {\n return;\n }\n this.highlighted = highlighted;\n if (this.eventService) {\n this.eventService.dispatchEvent(this.createLocalRowEvent(RowNode.EVENT_HIGHLIGHT_CHANGED));\n }\n };\n RowNode.prototype.setAllChildrenCount = function (allChildrenCount) {\n if (this.allChildrenCount === allChildrenCount) {\n return;\n }\n this.allChildrenCount = allChildrenCount;\n if (this.eventService) {\n this.eventService.dispatchEvent(this.createLocalRowEvent(RowNode.EVENT_ALL_CHILDREN_COUNT_CHANGED));\n }\n };\n RowNode.prototype.setMaster = function (master) {\n if (this.master === master) {\n return;\n }\n // if changing AWAY from master, then unexpand, otherwise\n // next time it's shown it is expanded again\n if (this.master && !master) {\n this.expanded = false;\n }\n this.master = master;\n if (this.eventService) {\n this.eventService.dispatchEvent(this.createLocalRowEvent(RowNode.EVENT_MASTER_CHANGED));\n }\n };\n RowNode.prototype.setGroup = function (group) {\n if (this.group === group) {\n return;\n }\n // if we used to be a group, and no longer, then close the node\n if (this.group && !group) {\n this.expanded = false;\n }\n this.group = group;\n this.updateHasChildren();\n if (this.eventService) {\n this.eventService.dispatchEvent(this.createLocalRowEvent(RowNode.EVENT_GROUP_CHANGED));\n }\n };\n /**\n * Sets the row height.\n * Call if you want to change the height initially assigned to the row.\n * After calling, you must call `api.onRowHeightChanged()` so the grid knows it needs to work out the placement of the rows. */\n RowNode.prototype.setRowHeight = function (rowHeight, estimated) {\n if (estimated === void 0) { estimated = false; }\n this.rowHeight = rowHeight;\n this.rowHeightEstimated = estimated;\n if (this.eventService) {\n this.eventService.dispatchEvent(this.createLocalRowEvent(RowNode.EVENT_HEIGHT_CHANGED));\n }\n };\n RowNode.prototype.setRowAutoHeight = function (cellHeight, column) {\n if (!this.__autoHeights) {\n this.__autoHeights = {};\n }\n var autoHeights = this.__autoHeights;\n autoHeights[column.getId()] = cellHeight;\n if (cellHeight != null) {\n if (this.checkAutoHeightsDebounced == null) {\n this.checkAutoHeightsDebounced = debounce(this.checkAutoHeights.bind(this), 1);\n }\n this.checkAutoHeightsDebounced();\n }\n };\n RowNode.prototype.checkAutoHeights = function () {\n var notAllPresent = false;\n var nonePresent = true;\n var newRowHeight = 0;\n var autoHeights = this.__autoHeights;\n if (autoHeights == null) {\n return;\n }\n var displayedAutoHeightCols = this.beans.columnModel.getAllDisplayedAutoHeightCols();\n displayedAutoHeightCols.forEach(function (col) {\n var cellHeight = autoHeights[col.getId()];\n if (cellHeight == null) {\n notAllPresent = true;\n return;\n }\n nonePresent = false;\n if (cellHeight > newRowHeight) {\n newRowHeight = cellHeight;\n }\n });\n if (notAllPresent) {\n return;\n }\n // we take min of 10, so we don't adjust for empty rows. if <10, we put to default.\n // this prevents the row starting very small when waiting for async components,\n // which would then mean the grid squashes in far to many rows (as small heights\n // means more rows fit in) which looks crap. so best ignore small values and assume\n // we are still waiting for values to render.\n if (nonePresent || newRowHeight < 10) {\n newRowHeight = this.beans.gridOptionsWrapper.getRowHeightForNode(this).height;\n }\n if (newRowHeight == this.rowHeight) {\n return;\n }\n this.setRowHeight(newRowHeight);\n var rowModel = this.beans.rowModel;\n if (rowModel.onRowHeightChangedDebounced) {\n rowModel.onRowHeightChangedDebounced();\n }\n };\n RowNode.prototype.setRowIndex = function (rowIndex) {\n if (this.rowIndex === rowIndex) {\n return;\n }\n this.rowIndex = rowIndex;\n if (this.eventService) {\n this.eventService.dispatchEvent(this.createLocalRowEvent(RowNode.EVENT_ROW_INDEX_CHANGED));\n }\n };\n RowNode.prototype.setUiLevel = function (uiLevel) {\n if (this.uiLevel === uiLevel) {\n return;\n }\n this.uiLevel = uiLevel;\n if (this.eventService) {\n this.eventService.dispatchEvent(this.createLocalRowEvent(RowNode.EVENT_UI_LEVEL_CHANGED));\n }\n };\n /**\n * Set the expanded state of this rowNode. Pass `true` to expand and `false` to collapse.\n */\n RowNode.prototype.setExpanded = function (expanded, e) {\n if (this.expanded === expanded) {\n return;\n }\n this.expanded = expanded;\n if (this.eventService) {\n this.eventService.dispatchEvent(this.createLocalRowEvent(RowNode.EVENT_EXPANDED_CHANGED));\n }\n var event = Object.assign({}, this.createGlobalRowEvent(Events.EVENT_ROW_GROUP_OPENED), {\n expanded: expanded,\n event: e || null\n });\n this.beans.rowNodeEventThrottle.dispatchExpanded(event);\n // when using footers we need to refresh the group row, as the aggregation\n // values jump between group and footer\n if (this.beans.gridOptionsWrapper.isGroupIncludeFooter()) {\n this.beans.rowRenderer.refreshCells({ rowNodes: [this] });\n }\n };\n RowNode.prototype.createGlobalRowEvent = function (type) {\n return {\n type: type,\n node: this,\n data: this.data,\n rowIndex: this.rowIndex,\n rowPinned: this.rowPinned,\n context: this.beans.gridOptionsWrapper.getContext(),\n api: this.beans.gridOptionsWrapper.getApi(),\n columnApi: this.beans.gridOptionsWrapper.getColumnApi()\n };\n };\n RowNode.prototype.dispatchLocalEvent = function (event) {\n if (this.eventService) {\n this.eventService.dispatchEvent(event);\n }\n };\n /**\n * Replaces the value on the `rowNode` for the specified column. When complete,\n * the grid will refresh the rendered cell on the required row only.\n *\n * @param colKey The column where the value should be updated\n * @param newValue The new value\n * @param eventSource The source of the event\n * @returns `True` if the value was changed, otherwise `False`.\n */\n RowNode.prototype.setDataValue = function (colKey, newValue, eventSource) {\n // When it is done via the editors, no 'cell changed' event gets fired, as it's assumed that\n // the cell knows about the change given it's in charge of the editing.\n // this method is for the client to call, so the cell listens for the change\n // event, and also flashes the cell when the change occurs.\n var column = this.beans.columnModel.getPrimaryColumn(colKey);\n var oldValue = this.beans.valueService.getValue(column, this);\n var valueChanged = this.beans.valueService.setValue(this, column, newValue, eventSource);\n this.dispatchCellChangedEvent(column, newValue, oldValue);\n this.checkRowSelectable();\n return valueChanged;\n };\n RowNode.prototype.setGroupValue = function (colKey, newValue) {\n var column = this.beans.columnModel.getGridColumn(colKey);\n if (missing(this.groupData)) {\n this.groupData = {};\n }\n var columnId = column.getColId();\n var oldValue = this.groupData[columnId];\n if (oldValue === newValue) {\n return;\n }\n this.groupData[columnId] = newValue;\n this.dispatchCellChangedEvent(column, newValue, oldValue);\n };\n // sets the data for an aggregation\n RowNode.prototype.setAggData = function (newAggData) {\n var _this = this;\n // find out all keys that could potentially change\n var colIds = getAllKeysInObjects([this.aggData, newAggData]);\n var oldAggData = this.aggData;\n this.aggData = newAggData;\n // if no event service, nobody has registered for events, so no need fire event\n if (this.eventService) {\n colIds.forEach(function (colId) {\n var column = _this.beans.columnModel.getGridColumn(colId);\n var value = _this.aggData ? _this.aggData[colId] : undefined;\n var oldValue = oldAggData ? oldAggData[colId] : undefined;\n _this.dispatchCellChangedEvent(column, value, oldValue);\n });\n }\n };\n RowNode.prototype.updateHasChildren = function () {\n // we need to return true when this.group=true, as this is used by server side row model\n // (as children are lazy loaded and stored in a cache anyway). otherwise we return true\n // if children exist.\n var newValue = (this.group && !this.footer) || (this.childrenAfterGroup && this.childrenAfterGroup.length > 0);\n if (newValue !== this.__hasChildren) {\n this.__hasChildren = !!newValue;\n if (this.eventService) {\n this.eventService.dispatchEvent(this.createLocalRowEvent(RowNode.EVENT_HAS_CHILDREN_CHANGED));\n }\n }\n };\n RowNode.prototype.hasChildren = function () {\n if (this.__hasChildren == null) {\n this.updateHasChildren();\n }\n return this.__hasChildren;\n };\n RowNode.prototype.isEmptyRowGroupNode = function () {\n return this.group && missingOrEmpty(this.childrenAfterGroup);\n };\n RowNode.prototype.dispatchCellChangedEvent = function (column, newValue, oldValue) {\n var cellChangedEvent = {\n type: RowNode.EVENT_CELL_CHANGED,\n node: this,\n column: column,\n newValue: newValue,\n oldValue: oldValue\n };\n this.dispatchLocalEvent(cellChangedEvent);\n };\n /**\n * The first time `quickFilter` runs, the grid creates a one-off string representation of the row.\n * This string is then used for the quick filter instead of hitting each column separately.\n * When you edit, using grid editing, this string gets cleared down.\n * However if you edit without using grid editing, you will need to clear this string down for the row to be updated with the new values.\n * Otherwise new values will not work with the `quickFilter`. */\n RowNode.prototype.resetQuickFilterAggregateText = function () {\n this.quickFilterAggregateText = null;\n };\n RowNode.prototype.isExpandable = function () {\n return (this.hasChildren() && !this.footer) || this.master ? true : false;\n };\n /** Returns:\n * - `true` if node is selected,\n * - `false` if the node isn't selected\n * - `undefined` if it's partially selected (group where not all children are selected). */\n RowNode.prototype.isSelected = function () {\n // for footers, we just return what our sibling selected state is, as cannot select a footer\n if (this.footer) {\n return this.sibling.isSelected();\n }\n return this.selected;\n };\n /** Perform a depth-first search of this node and its children. */\n RowNode.prototype.depthFirstSearch = function (callback) {\n if (this.childrenAfterGroup) {\n this.childrenAfterGroup.forEach(function (child) { return child.depthFirstSearch(callback); });\n }\n callback(this);\n };\n // + selectionController.calculatedSelectedForAllGroupNodes()\n RowNode.prototype.calculateSelectedFromChildren = function () {\n var _a;\n var atLeastOneSelected = false;\n var atLeastOneDeSelected = false;\n var atLeastOneMixed = false;\n if (!((_a = this.childrenAfterGroup) === null || _a === void 0 ? void 0 : _a.length)) {\n return this.selectable ? this.selected : null;\n }\n for (var i = 0; i < this.childrenAfterGroup.length; i++) {\n var child = this.childrenAfterGroup[i];\n var childState = child.isSelected();\n // non-selectable nodes must be calculated from their children, or ignored if no value results.\n if (!child.selectable) {\n var selectable = child.calculateSelectedFromChildren();\n if (selectable === null) {\n continue;\n }\n childState = selectable;\n }\n switch (childState) {\n case true:\n atLeastOneSelected = true;\n break;\n case false:\n atLeastOneDeSelected = true;\n break;\n default:\n atLeastOneMixed = true;\n break;\n }\n }\n if (atLeastOneMixed || (atLeastOneSelected && atLeastOneDeSelected)) {\n return undefined;\n }\n else if (atLeastOneSelected) {\n return true;\n }\n else if (atLeastOneDeSelected) {\n return false;\n }\n else if (!this.selectable) {\n return null;\n }\n else {\n return this.selected;\n }\n };\n RowNode.prototype.setSelectedInitialValue = function (selected) {\n this.selected = selected;\n };\n /**\n * Select (or deselect) the node.\n * @param newValue -`true` for selection, `false` for deselection.\n * @param clearSelection - If selecting, then passing `true` will select the node exclusively (i.e. NOT do multi select). If doing deselection, `clearSelection` has no impact.\n * @param suppressFinishActions - Pass `true` to prevent the `selectionChanged` from being fired. Note that the `rowSelected` event will still be fired.\n */\n RowNode.prototype.setSelected = function (newValue, clearSelection, suppressFinishActions) {\n if (clearSelection === void 0) { clearSelection = false; }\n if (suppressFinishActions === void 0) { suppressFinishActions = false; }\n this.setSelectedParams({\n newValue: newValue,\n clearSelection: clearSelection,\n suppressFinishActions: suppressFinishActions,\n rangeSelect: false\n });\n };\n RowNode.prototype.isRowPinned = function () {\n return this.rowPinned === Constants.PINNED_TOP || this.rowPinned === Constants.PINNED_BOTTOM;\n };\n // to make calling code more readable, this is the same method as setSelected except it takes names parameters\n RowNode.prototype.setSelectedParams = function (params) {\n var _a;\n var groupSelectsChildren = this.beans.gridOptionsWrapper.isGroupSelectsChildren();\n var newValue = params.newValue === true;\n var clearSelection = params.clearSelection === true;\n var suppressFinishActions = params.suppressFinishActions === true;\n var rangeSelect = params.rangeSelect === true;\n // groupSelectsFiltered only makes sense when group selects children\n var groupSelectsFiltered = groupSelectsChildren && (params.groupSelectsFiltered === true);\n if (this.id === undefined) {\n console.warn('AG Grid: cannot select node until id for node is known');\n return 0;\n }\n if (this.rowPinned) {\n console.warn('AG Grid: cannot select pinned rows');\n return 0;\n }\n // if we are a footer, we don't do selection, just pass the info\n // to the sibling (the parent of the group)\n if (this.footer) {\n return this.sibling.setSelectedParams(params);\n }\n if (rangeSelect && this.beans.selectionService.getLastSelectedNode()) {\n var newRowClicked = this.beans.selectionService.getLastSelectedNode() !== this;\n var allowMultiSelect = this.beans.gridOptionsWrapper.isRowSelectionMulti();\n if (newRowClicked && allowMultiSelect) {\n var nodesChanged = this.doRowRangeSelection(params.newValue);\n this.beans.selectionService.setLastSelectedNode(this);\n return nodesChanged;\n }\n }\n var updatedCount = 0;\n // when groupSelectsFiltered, then this node may end up intermediate despite\n // trying to set it to true / false. this group will be calculated further on\n // down when we call calculatedSelectedForAllGroupNodes(). we need to skip it\n // here, otherwise the updatedCount would include it.\n var skipThisNode = groupSelectsFiltered && this.group;\n if (!skipThisNode) {\n var thisNodeWasSelected = this.selectThisNode(newValue, params.event);\n if (thisNodeWasSelected) {\n updatedCount++;\n }\n }\n if (groupSelectsChildren && ((_a = this.childrenAfterGroup) === null || _a === void 0 ? void 0 : _a.length)) {\n updatedCount += this.selectChildNodes(newValue, groupSelectsFiltered);\n }\n // clear other nodes if not doing multi select\n if (!suppressFinishActions) {\n var clearOtherNodes = newValue && (clearSelection || !this.beans.gridOptionsWrapper.isRowSelectionMulti());\n if (clearOtherNodes) {\n updatedCount += this.beans.selectionService.clearOtherNodes(this);\n }\n // only if we selected something, then update groups and fire events\n if (updatedCount > 0) {\n this.beans.selectionService.updateGroupsFromChildrenSelections();\n // this is the very end of the 'action node', so we are finished all the updates,\n // include any parent / child changes that this method caused\n var event_1 = {\n type: Events.EVENT_SELECTION_CHANGED\n };\n this.beans.eventService.dispatchEvent(event_1);\n }\n // so if user next does shift-select, we know where to start the selection from\n if (newValue) {\n this.beans.selectionService.setLastSelectedNode(this);\n }\n }\n return updatedCount;\n };\n // selects all rows between this node and the last selected node (or the top if this is the first selection).\n // not to be mixed up with 'cell range selection' where you drag the mouse, this is row range selection, by\n // holding down 'shift'.\n RowNode.prototype.doRowRangeSelection = function (value) {\n var _this = this;\n if (value === void 0) { value = true; }\n var groupsSelectChildren = this.beans.gridOptionsWrapper.isGroupSelectsChildren();\n var lastSelectedNode = this.beans.selectionService.getLastSelectedNode();\n var nodesToSelect = this.beans.rowModel.getNodesInRangeForSelection(this, lastSelectedNode);\n var updatedCount = 0;\n nodesToSelect.forEach(function (rowNode) {\n if (rowNode.group && groupsSelectChildren || (value === false && _this === rowNode)) {\n return;\n }\n var nodeWasSelected = rowNode.selectThisNode(value);\n if (nodeWasSelected) {\n updatedCount++;\n }\n });\n this.beans.selectionService.updateGroupsFromChildrenSelections();\n var event = {\n type: Events.EVENT_SELECTION_CHANGED\n };\n this.beans.eventService.dispatchEvent(event);\n return updatedCount;\n };\n RowNode.prototype.isParentOfNode = function (potentialParent) {\n var parentNode = this.parent;\n while (parentNode) {\n if (parentNode === potentialParent) {\n return true;\n }\n parentNode = parentNode.parent;\n }\n return false;\n };\n RowNode.prototype.selectThisNode = function (newValue, e) {\n // we only check selectable when newValue=true (ie selecting) to allow unselecting values,\n // as selectable is dynamic, need a way to unselect rows when selectable becomes false.\n var selectionNotAllowed = !this.selectable && newValue;\n var selectionNotChanged = this.selected === newValue;\n if (selectionNotAllowed || selectionNotChanged) {\n return false;\n }\n this.selected = newValue;\n if (this.eventService) {\n this.dispatchLocalEvent(this.createLocalRowEvent(RowNode.EVENT_ROW_SELECTED));\n }\n var event = Object.assign({}, this.createGlobalRowEvent(Events.EVENT_ROW_SELECTED), {\n event: e || null\n });\n this.beans.eventService.dispatchEvent(event);\n return true;\n };\n RowNode.prototype.selectChildNodes = function (newValue, groupSelectsFiltered) {\n var children = groupSelectsFiltered ? this.childrenAfterAggFilter : this.childrenAfterGroup;\n if (missing(children)) {\n return 0;\n }\n var updatedCount = 0;\n for (var i = 0; i < children.length; i++) {\n updatedCount += children[i].setSelectedParams({\n newValue: newValue,\n clearSelection: false,\n suppressFinishActions: true,\n groupSelectsFiltered: groupSelectsFiltered\n });\n }\n return updatedCount;\n };\n /** Add an event listener. */\n RowNode.prototype.addEventListener = function (eventType, listener) {\n if (!this.eventService) {\n this.eventService = new EventService();\n }\n this.eventService.addEventListener(eventType, listener);\n };\n /** Remove event listener. */\n RowNode.prototype.removeEventListener = function (eventType, listener) {\n if (!this.eventService) {\n return;\n }\n this.eventService.removeEventListener(eventType, listener);\n if (this.eventService.noRegisteredListenersExist()) {\n this.eventService = null;\n }\n };\n RowNode.prototype.onMouseEnter = function () {\n this.dispatchLocalEvent(this.createLocalRowEvent(RowNode.EVENT_MOUSE_ENTER));\n };\n RowNode.prototype.onMouseLeave = function () {\n this.dispatchLocalEvent(this.createLocalRowEvent(RowNode.EVENT_MOUSE_LEAVE));\n };\n RowNode.prototype.getFirstChildOfFirstChild = function (rowGroupColumn) {\n var currentRowNode = this;\n var isCandidate = true;\n var foundFirstChildPath = false;\n var nodeToSwapIn = null;\n // if we are hiding groups, then if we are the first child, of the first child,\n // all the way up to the column we are interested in, then we show the group cell.\n while (isCandidate && !foundFirstChildPath) {\n var parentRowNode = currentRowNode.parent;\n var firstChild = exists(parentRowNode) && currentRowNode.firstChild;\n if (firstChild) {\n if (parentRowNode.rowGroupColumn === rowGroupColumn) {\n foundFirstChildPath = true;\n nodeToSwapIn = parentRowNode;\n }\n }\n else {\n isCandidate = false;\n }\n currentRowNode = parentRowNode;\n }\n return foundFirstChildPath ? nodeToSwapIn : null;\n };\n RowNode.prototype.isFullWidthCell = function () {\n var isFullWidthCellFunc = this.beans.gridOptionsWrapper.getIsFullWidthCellFunc();\n return isFullWidthCellFunc ? isFullWidthCellFunc({ rowNode: this }) : false;\n };\n /**\n * Returns the route of the row node. If the Row Node is a group, it returns the route to that Row Node.\n * If the Row Node is not a group, it returns `undefined`.\n */\n RowNode.prototype.getRoute = function () {\n if (this.key == null) {\n return;\n }\n var res = [];\n var pointer = this;\n while (pointer.key != null) {\n res.push(pointer.key);\n pointer = pointer.parent;\n }\n return res.reverse();\n };\n RowNode.ID_PREFIX_ROW_GROUP = 'row-group-';\n RowNode.ID_PREFIX_TOP_PINNED = 't-';\n RowNode.ID_PREFIX_BOTTOM_PINNED = 'b-';\n RowNode.OBJECT_ID_SEQUENCE = 0;\n RowNode.EVENT_ROW_SELECTED = 'rowSelected';\n RowNode.EVENT_DATA_CHANGED = 'dataChanged';\n RowNode.EVENT_CELL_CHANGED = 'cellChanged';\n RowNode.EVENT_ALL_CHILDREN_COUNT_CHANGED = 'allChildrenCountChanged';\n RowNode.EVENT_MASTER_CHANGED = 'masterChanged';\n RowNode.EVENT_GROUP_CHANGED = 'groupChanged';\n RowNode.EVENT_MOUSE_ENTER = 'mouseEnter';\n RowNode.EVENT_MOUSE_LEAVE = 'mouseLeave';\n RowNode.EVENT_HEIGHT_CHANGED = 'heightChanged';\n RowNode.EVENT_TOP_CHANGED = 'topChanged';\n RowNode.EVENT_DISPLAYED_CHANGED = 'displayedChanged';\n RowNode.EVENT_FIRST_CHILD_CHANGED = 'firstChildChanged';\n RowNode.EVENT_LAST_CHILD_CHANGED = 'lastChildChanged';\n RowNode.EVENT_CHILD_INDEX_CHANGED = 'childIndexChanged';\n RowNode.EVENT_ROW_INDEX_CHANGED = 'rowIndexChanged';\n RowNode.EVENT_EXPANDED_CHANGED = 'expandedChanged';\n RowNode.EVENT_HAS_CHILDREN_CHANGED = 'hasChildrenChanged';\n RowNode.EVENT_SELECTABLE_CHANGED = 'selectableChanged';\n RowNode.EVENT_UI_LEVEL_CHANGED = 'uiLevelChanged';\n RowNode.EVENT_HIGHLIGHT_CHANGED = 'rowHighlightChanged';\n RowNode.EVENT_DRAGGING_CHANGED = 'draggingChanged';\n return RowNode;\n}());\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$2i = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign$9 = (undefined && undefined.__assign) || function () {\n __assign$9 = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign$9.apply(this, arguments);\n};\nvar __decorate$21 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar CheckboxSelectionComponent = /** @class */ (function (_super) {\n __extends$2i(CheckboxSelectionComponent, _super);\n function CheckboxSelectionComponent() {\n return _super.call(this, /* html*/ \"\\n
    \\n \\n
    \") || this;\n }\n CheckboxSelectionComponent.prototype.postConstruct = function () {\n this.eCheckbox.setPassive(true);\n };\n CheckboxSelectionComponent.prototype.getCheckboxId = function () {\n return this.eCheckbox.getInputElement().id;\n };\n CheckboxSelectionComponent.prototype.onDataChanged = function () {\n // when rows are loaded for the second time, this can impact the selection, as a row\n // could be loaded as already selected (if user scrolls down, and then up again).\n this.onSelectionChanged();\n };\n CheckboxSelectionComponent.prototype.onSelectableChanged = function () {\n this.showOrHideSelect();\n };\n CheckboxSelectionComponent.prototype.onSelectionChanged = function () {\n var translate = this.gridOptionsWrapper.getLocaleTextFunc();\n var state = this.rowNode.isSelected();\n var stateName = state === undefined\n ? translate('ariaIndeterminate', 'indeterminate')\n : (state === true\n ? translate('ariaChecked', 'checked')\n : translate('ariaUnchecked', 'unchecked'));\n var ariaLabel = translate('ariaRowToggleSelection', 'Press Space to toggle row selection');\n this.eCheckbox.setValue(state, true);\n this.eCheckbox.setInputAriaLabel(ariaLabel + \" (\" + stateName + \")\");\n };\n CheckboxSelectionComponent.prototype.onCheckedClicked = function (event) {\n var groupSelectsFiltered = this.gridOptionsWrapper.isGroupSelectsFiltered();\n var updatedCount = this.rowNode.setSelectedParams({ newValue: false, rangeSelect: event.shiftKey, groupSelectsFiltered: groupSelectsFiltered });\n return updatedCount;\n };\n CheckboxSelectionComponent.prototype.onUncheckedClicked = function (event) {\n var groupSelectsFiltered = this.gridOptionsWrapper.isGroupSelectsFiltered();\n var updatedCount = this.rowNode.setSelectedParams({ newValue: true, rangeSelect: event.shiftKey, groupSelectsFiltered: groupSelectsFiltered });\n return updatedCount;\n };\n CheckboxSelectionComponent.prototype.init = function (params) {\n var _this = this;\n this.rowNode = params.rowNode;\n this.column = params.column;\n this.overrides = params.overrides;\n this.onSelectionChanged();\n // we don't want double click on this icon to open a group\n this.addManagedListener(this.eCheckbox.getInputElement(), 'dblclick', function (event) {\n stopPropagationForAgGrid(event);\n });\n this.addManagedListener(this.eCheckbox.getInputElement(), 'click', function (event) {\n // we don't want the row clicked event to fire when selecting the checkbox, otherwise the row\n // would possibly get selected twice\n stopPropagationForAgGrid(event);\n var isSelected = _this.eCheckbox.getValue();\n var previousValue = _this.eCheckbox.getPreviousValue();\n if (previousValue === undefined || isSelected === undefined) {\n // Indeterminate state - try toggling children to determine action.\n var result = _this.onUncheckedClicked(event || {});\n if (result === 0) {\n _this.onCheckedClicked(event);\n }\n }\n else if (isSelected) {\n _this.onCheckedClicked(event);\n }\n else {\n _this.onUncheckedClicked(event || {});\n }\n });\n this.addManagedListener(this.rowNode, RowNode.EVENT_ROW_SELECTED, this.onSelectionChanged.bind(this));\n this.addManagedListener(this.rowNode, RowNode.EVENT_DATA_CHANGED, this.onDataChanged.bind(this));\n this.addManagedListener(this.rowNode, RowNode.EVENT_SELECTABLE_CHANGED, this.onSelectableChanged.bind(this));\n var isRowSelectableFunc = this.gridOptionsWrapper.getIsRowSelectableFunc();\n var checkboxVisibleIsDynamic = isRowSelectableFunc || typeof this.getIsVisible() === 'function';\n if (checkboxVisibleIsDynamic) {\n var showOrHideSelectListener = this.showOrHideSelect.bind(this);\n this.addManagedListener(this.eventService, Events.EVENT_DISPLAYED_COLUMNS_CHANGED, showOrHideSelectListener);\n this.addManagedListener(this.rowNode, RowNode.EVENT_DATA_CHANGED, showOrHideSelectListener);\n this.addManagedListener(this.rowNode, RowNode.EVENT_CELL_CHANGED, showOrHideSelectListener);\n this.showOrHideSelect();\n }\n this.eCheckbox.getInputElement().setAttribute('tabindex', '-1');\n };\n CheckboxSelectionComponent.prototype.showOrHideSelect = function () {\n var _a, _b, _c, _d;\n // if the isRowSelectable() is not provided the row node is selectable by default\n var selectable = this.rowNode.selectable;\n // checkboxSelection callback is deemed a legacy solution however we will still consider it's result.\n // If selectable, then also check the colDef callback. if not selectable, this it short circuits - no need\n // to call the colDef callback.\n var isVisible = this.getIsVisible();\n if (selectable) {\n if (typeof isVisible === 'function') {\n var extraParams = (_a = this.overrides) === null || _a === void 0 ? void 0 : _a.callbackParams;\n var params = (_b = this.column) === null || _b === void 0 ? void 0 : _b.createColumnFunctionCallbackParams(this.rowNode);\n selectable = params ? isVisible(__assign$9(__assign$9({}, extraParams), params)) : false;\n }\n else {\n selectable = (isVisible !== null && isVisible !== void 0 ? isVisible : false);\n }\n }\n var disableInsteadOfHide = (_c = this.column) === null || _c === void 0 ? void 0 : _c.getColDef().showDisabledCheckboxes;\n if (disableInsteadOfHide) {\n this.eCheckbox.setDisabled(!selectable);\n this.setVisible(true);\n this.setDisplayed(true);\n return;\n }\n if ((_d = this.overrides) === null || _d === void 0 ? void 0 : _d.removeHidden) {\n this.setDisplayed(selectable);\n return;\n }\n this.setVisible(selectable);\n };\n CheckboxSelectionComponent.prototype.getIsVisible = function () {\n var _a, _b;\n if (this.overrides) {\n return this.overrides.isVisible;\n }\n // column will be missing if groupUseEntireRow=true\n return (_b = (_a = this.column) === null || _a === void 0 ? void 0 : _a.getColDef()) === null || _b === void 0 ? void 0 : _b.checkboxSelection;\n };\n __decorate$21([\n RefSelector('eCheckbox')\n ], CheckboxSelectionComponent.prototype, \"eCheckbox\", void 0);\n __decorate$21([\n PostConstruct\n ], CheckboxSelectionComponent.prototype, \"postConstruct\", null);\n return CheckboxSelectionComponent;\n}(Component));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$2h = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$20 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __values$3 = (undefined && undefined.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nvar DragSourceType;\n(function (DragSourceType) {\n DragSourceType[DragSourceType[\"ToolPanel\"] = 0] = \"ToolPanel\";\n DragSourceType[DragSourceType[\"HeaderCell\"] = 1] = \"HeaderCell\";\n DragSourceType[DragSourceType[\"RowDrag\"] = 2] = \"RowDrag\";\n DragSourceType[DragSourceType[\"ChartPanel\"] = 3] = \"ChartPanel\";\n})(DragSourceType || (DragSourceType = {}));\nvar VerticalDirection;\n(function (VerticalDirection) {\n VerticalDirection[VerticalDirection[\"Up\"] = 0] = \"Up\";\n VerticalDirection[VerticalDirection[\"Down\"] = 1] = \"Down\";\n})(VerticalDirection || (VerticalDirection = {}));\nvar HorizontalDirection;\n(function (HorizontalDirection) {\n HorizontalDirection[HorizontalDirection[\"Left\"] = 0] = \"Left\";\n HorizontalDirection[HorizontalDirection[\"Right\"] = 1] = \"Right\";\n})(HorizontalDirection || (HorizontalDirection = {}));\nvar DragAndDropService = /** @class */ (function (_super) {\n __extends$2h(DragAndDropService, _super);\n function DragAndDropService() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.dragSourceAndParamsList = [];\n _this.dropTargets = [];\n return _this;\n }\n DragAndDropService_1 = DragAndDropService;\n DragAndDropService.prototype.init = function () {\n this.ePinnedIcon = createIcon('columnMovePin', this.gridOptionsWrapper, null);\n this.eHideIcon = createIcon('columnMoveHide', this.gridOptionsWrapper, null);\n this.eMoveIcon = createIcon('columnMoveMove', this.gridOptionsWrapper, null);\n this.eLeftIcon = createIcon('columnMoveLeft', this.gridOptionsWrapper, null);\n this.eRightIcon = createIcon('columnMoveRight', this.gridOptionsWrapper, null);\n this.eGroupIcon = createIcon('columnMoveGroup', this.gridOptionsWrapper, null);\n this.eAggregateIcon = createIcon('columnMoveValue', this.gridOptionsWrapper, null);\n this.ePivotIcon = createIcon('columnMovePivot', this.gridOptionsWrapper, null);\n this.eDropNotAllowedIcon = createIcon('dropNotAllowed', this.gridOptionsWrapper, null);\n };\n DragAndDropService.prototype.addDragSource = function (dragSource, allowTouch) {\n if (allowTouch === void 0) { allowTouch = false; }\n var params = {\n eElement: dragSource.eElement,\n dragStartPixels: dragSource.dragStartPixels,\n onDragStart: this.onDragStart.bind(this, dragSource),\n onDragStop: this.onDragStop.bind(this),\n onDragging: this.onDragging.bind(this)\n };\n this.dragSourceAndParamsList.push({ params: params, dragSource: dragSource });\n this.dragService.addDragSource(params, allowTouch);\n };\n DragAndDropService.prototype.removeDragSource = function (dragSource) {\n var sourceAndParams = this.dragSourceAndParamsList.find(function (item) { return item.dragSource === dragSource; });\n if (sourceAndParams) {\n this.dragService.removeDragSource(sourceAndParams.params);\n removeFromArray(this.dragSourceAndParamsList, sourceAndParams);\n }\n };\n DragAndDropService.prototype.clearDragSourceParamsList = function () {\n var _this = this;\n this.dragSourceAndParamsList.forEach(function (sourceAndParams) { return _this.dragService.removeDragSource(sourceAndParams.params); });\n this.dragSourceAndParamsList.length = 0;\n };\n DragAndDropService.prototype.nudge = function () {\n if (this.dragging) {\n this.onDragging(this.eventLastTime, true);\n }\n };\n DragAndDropService.prototype.onDragStart = function (dragSource, mouseEvent) {\n this.dragging = true;\n this.dragSource = dragSource;\n this.eventLastTime = mouseEvent;\n this.dragItem = this.dragSource.getDragItem();\n this.lastDropTarget = this.dragSource.dragSourceDropTarget;\n if (this.dragSource.onDragStarted) {\n this.dragSource.onDragStarted();\n }\n this.createGhost();\n };\n DragAndDropService.prototype.onDragStop = function (mouseEvent) {\n this.eventLastTime = null;\n this.dragging = false;\n if (this.dragSource.onDragStopped) {\n this.dragSource.onDragStopped();\n }\n if (this.lastDropTarget && this.lastDropTarget.onDragStop) {\n var draggingEvent = this.createDropTargetEvent(this.lastDropTarget, mouseEvent, null, null, false);\n this.lastDropTarget.onDragStop(draggingEvent);\n }\n this.lastDropTarget = null;\n this.dragItem = null;\n this.removeGhost();\n };\n DragAndDropService.prototype.onDragging = function (mouseEvent, fromNudge) {\n var _this = this;\n var _a, _b, _c, _d;\n var hDirection = this.getHorizontalDirection(mouseEvent);\n var vDirection = this.getVerticalDirection(mouseEvent);\n this.eventLastTime = mouseEvent;\n this.positionGhost(mouseEvent);\n // check if mouseEvent intersects with any of the drop targets\n var validDropTargets = this.dropTargets.filter(function (target) { return _this.isMouseOnDropTarget(mouseEvent, target); });\n var dropTarget = this.findCurrentDropTarget(mouseEvent, validDropTargets);\n if (dropTarget !== this.lastDropTarget) {\n this.leaveLastTargetIfExists(mouseEvent, hDirection, vDirection, fromNudge);\n if (this.lastDropTarget !== null && dropTarget === null) {\n (_b = (_a = this.dragSource).onGridExit) === null || _b === void 0 ? void 0 : _b.call(_a, this.dragItem);\n }\n if (this.lastDropTarget === null && dropTarget !== null) {\n (_d = (_c = this.dragSource).onGridEnter) === null || _d === void 0 ? void 0 : _d.call(_c, this.dragItem);\n }\n this.enterDragTargetIfExists(dropTarget, mouseEvent, hDirection, vDirection, fromNudge);\n this.lastDropTarget = dropTarget;\n }\n else if (dropTarget && dropTarget.onDragging) {\n var draggingEvent = this.createDropTargetEvent(dropTarget, mouseEvent, hDirection, vDirection, fromNudge);\n dropTarget.onDragging(draggingEvent);\n }\n };\n DragAndDropService.prototype.getAllContainersFromDropTarget = function (dropTarget) {\n var secondaryContainers = dropTarget.getSecondaryContainers ? dropTarget.getSecondaryContainers() : null;\n var containers = [[dropTarget.getContainer()]];\n return secondaryContainers ? containers.concat(secondaryContainers) : containers;\n };\n DragAndDropService.prototype.allContainersIntersect = function (mouseEvent, containers) {\n var e_1, _a;\n try {\n for (var containers_1 = __values$3(containers), containers_1_1 = containers_1.next(); !containers_1_1.done; containers_1_1 = containers_1.next()) {\n var container = containers_1_1.value;\n var rect = container.getBoundingClientRect();\n // if element is not visible, then width and height are zero\n if (rect.width === 0 || rect.height === 0) {\n return false;\n }\n var horizontalFit = mouseEvent.clientX >= rect.left && mouseEvent.clientX < rect.right;\n var verticalFit = mouseEvent.clientY >= rect.top && mouseEvent.clientY < rect.bottom;\n if (!horizontalFit || !verticalFit) {\n return false;\n }\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (containers_1_1 && !containers_1_1.done && (_a = containers_1.return)) _a.call(containers_1);\n }\n finally { if (e_1) throw e_1.error; }\n }\n return true;\n };\n // checks if the mouse is on the drop target. it checks eContainer and eSecondaryContainers\n DragAndDropService.prototype.isMouseOnDropTarget = function (mouseEvent, dropTarget) {\n var e_2, _a;\n var allContainersFromDropTarget = this.getAllContainersFromDropTarget(dropTarget);\n var mouseOverTarget = false;\n try {\n for (var allContainersFromDropTarget_1 = __values$3(allContainersFromDropTarget), allContainersFromDropTarget_1_1 = allContainersFromDropTarget_1.next(); !allContainersFromDropTarget_1_1.done; allContainersFromDropTarget_1_1 = allContainersFromDropTarget_1.next()) {\n var currentContainers = allContainersFromDropTarget_1_1.value;\n if (this.allContainersIntersect(mouseEvent, currentContainers)) {\n mouseOverTarget = true;\n break;\n }\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (allContainersFromDropTarget_1_1 && !allContainersFromDropTarget_1_1.done && (_a = allContainersFromDropTarget_1.return)) _a.call(allContainersFromDropTarget_1);\n }\n finally { if (e_2) throw e_2.error; }\n }\n if (dropTarget.targetContainsSource && !dropTarget.getContainer().contains(this.dragSource.eElement)) {\n return false;\n }\n return mouseOverTarget && dropTarget.isInterestedIn(this.dragSource.type, this.dragSource.eElement);\n };\n DragAndDropService.prototype.findCurrentDropTarget = function (mouseEvent, validDropTargets) {\n var e_3, _a, e_4, _b;\n var len = validDropTargets.length;\n if (len === 0) {\n return null;\n }\n if (len === 1) {\n return validDropTargets[0];\n }\n var eDocument = this.gridOptionsWrapper.getDocument();\n // elementsFromPoint return a list of elements under\n // the mouseEvent sorted from topMost to bottomMost\n var elementStack = eDocument.elementsFromPoint(mouseEvent.clientX, mouseEvent.clientY);\n try {\n // loop over the sorted elementStack to find which dropTarget comes first\n for (var elementStack_1 = __values$3(elementStack), elementStack_1_1 = elementStack_1.next(); !elementStack_1_1.done; elementStack_1_1 = elementStack_1.next()) {\n var el = elementStack_1_1.value;\n try {\n for (var validDropTargets_1 = (e_4 = void 0, __values$3(validDropTargets)), validDropTargets_1_1 = validDropTargets_1.next(); !validDropTargets_1_1.done; validDropTargets_1_1 = validDropTargets_1.next()) {\n var dropTarget = validDropTargets_1_1.value;\n var containers = flatten(this.getAllContainersFromDropTarget(dropTarget));\n if (containers.indexOf(el) !== -1) {\n return dropTarget;\n }\n }\n }\n catch (e_4_1) { e_4 = { error: e_4_1 }; }\n finally {\n try {\n if (validDropTargets_1_1 && !validDropTargets_1_1.done && (_b = validDropTargets_1.return)) _b.call(validDropTargets_1);\n }\n finally { if (e_4) throw e_4.error; }\n }\n }\n }\n catch (e_3_1) { e_3 = { error: e_3_1 }; }\n finally {\n try {\n if (elementStack_1_1 && !elementStack_1_1.done && (_a = elementStack_1.return)) _a.call(elementStack_1);\n }\n finally { if (e_3) throw e_3.error; }\n }\n // we should never hit this point of the code because only\n // valid dropTargets should be provided to this method.\n return null;\n };\n DragAndDropService.prototype.enterDragTargetIfExists = function (dropTarget, mouseEvent, hDirection, vDirection, fromNudge) {\n if (!dropTarget) {\n return;\n }\n if (dropTarget.onDragEnter) {\n var dragEnterEvent = this.createDropTargetEvent(dropTarget, mouseEvent, hDirection, vDirection, fromNudge);\n dropTarget.onDragEnter(dragEnterEvent);\n }\n this.setGhostIcon(dropTarget.getIconName ? dropTarget.getIconName() : null);\n };\n DragAndDropService.prototype.leaveLastTargetIfExists = function (mouseEvent, hDirection, vDirection, fromNudge) {\n if (!this.lastDropTarget) {\n return;\n }\n if (this.lastDropTarget.onDragLeave) {\n var dragLeaveEvent = this.createDropTargetEvent(this.lastDropTarget, mouseEvent, hDirection, vDirection, fromNudge);\n this.lastDropTarget.onDragLeave(dragLeaveEvent);\n }\n this.setGhostIcon(null);\n };\n DragAndDropService.prototype.addDropTarget = function (dropTarget) {\n this.dropTargets.push(dropTarget);\n };\n DragAndDropService.prototype.removeDropTarget = function (dropTarget) {\n this.dropTargets = this.dropTargets.filter(function (target) { return target.getContainer() !== dropTarget.getContainer(); });\n };\n DragAndDropService.prototype.hasExternalDropZones = function () {\n return this.dropTargets.some(function (zones) { return zones.external; });\n };\n DragAndDropService.prototype.findExternalZone = function (params) {\n var externalTargets = this.dropTargets.filter(function (target) { return target.external; });\n return externalTargets.find(function (zone) { return zone.getContainer() === params.getContainer(); }) || null;\n };\n DragAndDropService.prototype.getHorizontalDirection = function (event) {\n var clientX = this.eventLastTime && this.eventLastTime.clientX;\n var eClientX = event.clientX;\n if (clientX === eClientX) {\n return null;\n }\n return clientX > eClientX ? HorizontalDirection.Left : HorizontalDirection.Right;\n };\n DragAndDropService.prototype.getVerticalDirection = function (event) {\n var clientY = this.eventLastTime && this.eventLastTime.clientY;\n var eClientY = event.clientY;\n if (clientY === eClientY) {\n return null;\n }\n return clientY > eClientY ? VerticalDirection.Up : VerticalDirection.Down;\n };\n DragAndDropService.prototype.createDropTargetEvent = function (dropTarget, event, hDirection, vDirection, fromNudge) {\n // localise x and y to the target\n var dropZoneTarget = dropTarget.getContainer();\n var rect = dropZoneTarget.getBoundingClientRect();\n var _a = this, api = _a.gridApi, columnApi = _a.columnApi, dragItem = _a.dragItem, dragSource = _a.dragSource;\n var x = event.clientX - rect.left;\n var y = event.clientY - rect.top;\n return { event: event, x: x, y: y, vDirection: vDirection, hDirection: hDirection, dragSource: dragSource, fromNudge: fromNudge, dragItem: dragItem, api: api, columnApi: columnApi, dropZoneTarget: dropZoneTarget };\n };\n DragAndDropService.prototype.positionGhost = function (event) {\n var ghost = this.eGhost;\n if (!ghost) {\n return;\n }\n var ghostRect = ghost.getBoundingClientRect();\n var ghostHeight = ghostRect.height;\n // for some reason, without the '-2', it still overlapped by 1 or 2 pixels, which\n // then brought in scrollbars to the browser. no idea why, but putting in -2 here\n // works around it which is good enough for me.\n var browserWidth = getBodyWidth() - 2;\n var browserHeight = getBodyHeight() - 2;\n var top = event.pageY - (ghostHeight / 2);\n var left = event.pageX - 10;\n var eDocument = this.gridOptionsWrapper.getDocument();\n var win = (eDocument.defaultView || window);\n var windowScrollY = win.pageYOffset || eDocument.documentElement.scrollTop;\n var windowScrollX = win.pageXOffset || eDocument.documentElement.scrollLeft;\n // check ghost is not positioned outside of the browser\n if (browserWidth > 0 && ((left + ghost.clientWidth) > (browserWidth + windowScrollX))) {\n left = browserWidth + windowScrollX - ghost.clientWidth;\n }\n if (left < 0) {\n left = 0;\n }\n if (browserHeight > 0 && ((top + ghost.clientHeight) > (browserHeight + windowScrollY))) {\n top = browserHeight + windowScrollY - ghost.clientHeight;\n }\n if (top < 0) {\n top = 0;\n }\n ghost.style.left = left + \"px\";\n ghost.style.top = top + \"px\";\n };\n DragAndDropService.prototype.removeGhost = function () {\n if (this.eGhost && this.eGhostParent) {\n this.eGhostParent.removeChild(this.eGhost);\n }\n this.eGhost = null;\n };\n DragAndDropService.prototype.createGhost = function () {\n this.eGhost = loadTemplate(DragAndDropService_1.GHOST_TEMPLATE);\n this.mouseEventService.stampTopLevelGridCompWithGridInstance(this.eGhost);\n var theme = this.environment.getTheme().theme;\n if (theme) {\n this.eGhost.classList.add(theme);\n }\n this.eGhostIcon = this.eGhost.querySelector('.ag-dnd-ghost-icon');\n this.setGhostIcon(null);\n var eText = this.eGhost.querySelector('.ag-dnd-ghost-label');\n var dragItemName = this.dragSource.dragItemName;\n if (isFunction(dragItemName)) {\n dragItemName = dragItemName();\n }\n eText.innerHTML = escapeString(dragItemName) || '';\n this.eGhost.style.height = '25px';\n this.eGhost.style.top = '20px';\n this.eGhost.style.left = '20px';\n var eDocument = this.gridOptionsWrapper.getDocument();\n var targetEl = null;\n try {\n targetEl = eDocument.fullscreenElement;\n }\n catch (e) {\n // some environments like SalesForce will throw errors\n // simply by trying to read the fullscreenElement property\n }\n finally {\n if (!targetEl) {\n targetEl = eDocument.querySelector('body');\n }\n }\n this.eGhostParent = targetEl;\n if (!this.eGhostParent) {\n console.warn('AG Grid: could not find document body, it is needed for dragging columns');\n }\n else {\n this.eGhostParent.appendChild(this.eGhost);\n }\n };\n DragAndDropService.prototype.setGhostIcon = function (iconName, shake) {\n if (shake === void 0) { shake = false; }\n clearElement(this.eGhostIcon);\n var eIcon = null;\n if (!iconName) {\n iconName = this.dragSource.defaultIconName || DragAndDropService_1.ICON_NOT_ALLOWED;\n }\n switch (iconName) {\n case DragAndDropService_1.ICON_PINNED:\n eIcon = this.ePinnedIcon;\n break;\n case DragAndDropService_1.ICON_MOVE:\n eIcon = this.eMoveIcon;\n break;\n case DragAndDropService_1.ICON_LEFT:\n eIcon = this.eLeftIcon;\n break;\n case DragAndDropService_1.ICON_RIGHT:\n eIcon = this.eRightIcon;\n break;\n case DragAndDropService_1.ICON_GROUP:\n eIcon = this.eGroupIcon;\n break;\n case DragAndDropService_1.ICON_AGGREGATE:\n eIcon = this.eAggregateIcon;\n break;\n case DragAndDropService_1.ICON_PIVOT:\n eIcon = this.ePivotIcon;\n break;\n case DragAndDropService_1.ICON_NOT_ALLOWED:\n eIcon = this.eDropNotAllowedIcon;\n break;\n case DragAndDropService_1.ICON_HIDE:\n eIcon = this.eHideIcon;\n break;\n }\n this.eGhostIcon.classList.toggle('ag-shake-left-to-right', shake);\n if (eIcon === this.eHideIcon && this.gridOptionsWrapper.isSuppressDragLeaveHidesColumns()) {\n return;\n }\n if (eIcon) {\n this.eGhostIcon.appendChild(eIcon);\n }\n };\n var DragAndDropService_1;\n DragAndDropService.ICON_PINNED = 'pinned';\n DragAndDropService.ICON_MOVE = 'move';\n DragAndDropService.ICON_LEFT = 'left';\n DragAndDropService.ICON_RIGHT = 'right';\n DragAndDropService.ICON_GROUP = 'group';\n DragAndDropService.ICON_AGGREGATE = 'aggregate';\n DragAndDropService.ICON_PIVOT = 'pivot';\n DragAndDropService.ICON_NOT_ALLOWED = 'notAllowed';\n DragAndDropService.ICON_HIDE = 'hide';\n DragAndDropService.GHOST_TEMPLATE = \"
    \\n \\n
    \\n
    \";\n __decorate$20([\n Autowired('dragService')\n ], DragAndDropService.prototype, \"dragService\", void 0);\n __decorate$20([\n Autowired('mouseEventService')\n ], DragAndDropService.prototype, \"mouseEventService\", void 0);\n __decorate$20([\n Autowired('environment')\n ], DragAndDropService.prototype, \"environment\", void 0);\n __decorate$20([\n Autowired('columnApi')\n ], DragAndDropService.prototype, \"columnApi\", void 0);\n __decorate$20([\n Autowired('gridApi')\n ], DragAndDropService.prototype, \"gridApi\", void 0);\n __decorate$20([\n PostConstruct\n ], DragAndDropService.prototype, \"init\", null);\n __decorate$20([\n PreDestroy\n ], DragAndDropService.prototype, \"clearDragSourceParamsList\", null);\n DragAndDropService = DragAndDropService_1 = __decorate$20([\n Bean('dragAndDropService')\n ], DragAndDropService);\n return DragAndDropService;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$2g = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$1$ = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar RowDragComp = /** @class */ (function (_super) {\n __extends$2g(RowDragComp, _super);\n function RowDragComp(cellValueFn, rowNode, column, customGui, dragStartPixels, suppressVisibilityChange) {\n var _this = _super.call(this) || this;\n _this.cellValueFn = cellValueFn;\n _this.rowNode = rowNode;\n _this.column = column;\n _this.customGui = customGui;\n _this.dragStartPixels = dragStartPixels;\n _this.suppressVisibilityChange = suppressVisibilityChange;\n _this.dragSource = null;\n return _this;\n }\n RowDragComp.prototype.isCustomGui = function () {\n return this.customGui != null;\n };\n RowDragComp.prototype.postConstruct = function () {\n if (!this.customGui) {\n this.setTemplate(/* html */ \"
    \");\n this.getGui().appendChild(createIconNoSpan('rowDrag', this.beans.gridOptionsWrapper, null));\n this.addDragSource();\n }\n else {\n this.setDragElement(this.customGui, this.dragStartPixels);\n }\n this.checkCompatibility();\n if (!this.suppressVisibilityChange) {\n var strategy = this.beans.gridOptionsWrapper.isRowDragManaged() ?\n new ManagedVisibilityStrategy(this, this.beans, this.rowNode, this.column) :\n new NonManagedVisibilityStrategy(this, this.beans, this.rowNode, this.column);\n this.createManagedBean(strategy, this.beans.context);\n }\n };\n RowDragComp.prototype.setDragElement = function (dragElement, dragStartPixels) {\n this.setTemplateFromElement(dragElement);\n this.addDragSource(dragStartPixels);\n };\n RowDragComp.prototype.getSelectedNodes = function () {\n var isRowDragMultiRow = this.beans.gridOptionsWrapper.isRowDragMultiRow();\n if (!isRowDragMultiRow) {\n return [this.rowNode];\n }\n var selection = this.beans.selectionService.getSelectedNodes();\n return selection.indexOf(this.rowNode) !== -1 ? selection : [this.rowNode];\n };\n // returns true if all compatibility items work out\n RowDragComp.prototype.checkCompatibility = function () {\n var managed = this.beans.gridOptionsWrapper.isRowDragManaged();\n var treeData = this.beans.gridOptionsWrapper.isTreeData();\n if (treeData && managed) {\n doOnce(function () {\n return console.warn('AG Grid: If using row drag with tree data, you cannot have rowDragManaged=true');\n }, 'RowDragComp.managedAndTreeData');\n }\n };\n RowDragComp.prototype.getDragItem = function () {\n return {\n rowNode: this.rowNode,\n rowNodes: this.getSelectedNodes(),\n columns: this.column ? [this.column] : undefined,\n defaultTextValue: this.cellValueFn(),\n };\n };\n RowDragComp.prototype.addDragSource = function (dragStartPixels) {\n var _this = this;\n if (dragStartPixels === void 0) { dragStartPixels = 4; }\n // if this is changing the drag element, delete the previous dragSource\n if (this.dragSource) {\n this.removeDragSource();\n }\n var rowDragText = this.gridOptionsWrapper.getRowDragText(this.column);\n var translate = this.gridOptionsWrapper.getLocaleTextFunc();\n this.dragSource = {\n type: DragSourceType.RowDrag,\n eElement: this.getGui(),\n dragItemName: function () {\n var _a;\n var dragItem = _this.getDragItem();\n var dragItemCount = ((_a = dragItem.rowNodes) === null || _a === void 0 ? void 0 : _a.length) || 1;\n if (rowDragText) {\n return rowDragText(dragItem, dragItemCount);\n }\n return dragItemCount === 1 ? _this.cellValueFn() : dragItemCount + \" \" + translate('rowDragRows', 'rows');\n },\n getDragItem: function () { return _this.getDragItem(); },\n dragStartPixels: dragStartPixels,\n dragSourceDomDataKey: this.beans.gridOptionsWrapper.getDomDataKey()\n };\n this.beans.dragAndDropService.addDragSource(this.dragSource, true);\n };\n RowDragComp.prototype.removeDragSource = function () {\n if (this.dragSource) {\n this.beans.dragAndDropService.removeDragSource(this.dragSource);\n }\n this.dragSource = null;\n };\n __decorate$1$([\n Autowired('beans')\n ], RowDragComp.prototype, \"beans\", void 0);\n __decorate$1$([\n PostConstruct\n ], RowDragComp.prototype, \"postConstruct\", null);\n __decorate$1$([\n PreDestroy\n ], RowDragComp.prototype, \"removeDragSource\", null);\n return RowDragComp;\n}(Component));\nvar VisibilityStrategy = /** @class */ (function (_super) {\n __extends$2g(VisibilityStrategy, _super);\n function VisibilityStrategy(parent, rowNode, column) {\n var _this = _super.call(this) || this;\n _this.parent = parent;\n _this.rowNode = rowNode;\n _this.column = column;\n return _this;\n }\n VisibilityStrategy.prototype.setDisplayedOrVisible = function (neverDisplayed) {\n if (neverDisplayed) {\n this.parent.setDisplayed(false);\n }\n else {\n var shown = true;\n var isShownSometimes = false;\n if (this.column) {\n shown = this.column.isRowDrag(this.rowNode) || this.parent.isCustomGui();\n isShownSometimes = isFunction(this.column.getColDef().rowDrag);\n }\n // if shown sometimes, them some rows can have drag handle while other don't,\n // so we use setVisible to keep the handles horizontally aligned (as setVisible\n // keeps the empty space, whereas setDisplayed looses the space)\n if (isShownSometimes) {\n this.parent.setDisplayed(true);\n this.parent.setVisible(shown);\n }\n else {\n this.parent.setDisplayed(shown);\n this.parent.setVisible(true);\n }\n }\n };\n return VisibilityStrategy;\n}(BeanStub));\n// when non managed, the visibility depends on suppressRowDrag property only\nvar NonManagedVisibilityStrategy = /** @class */ (function (_super) {\n __extends$2g(NonManagedVisibilityStrategy, _super);\n function NonManagedVisibilityStrategy(parent, beans, rowNode, column) {\n var _this = _super.call(this, parent, rowNode, column) || this;\n _this.beans = beans;\n return _this;\n }\n NonManagedVisibilityStrategy.prototype.postConstruct = function () {\n this.addManagedListener(this.beans.gridOptionsWrapper, 'suppressRowDrag', this.onSuppressRowDrag.bind(this));\n // in case data changes, then we need to update visibility of drag item\n this.addManagedListener(this.rowNode, RowNode.EVENT_DATA_CHANGED, this.workOutVisibility.bind(this));\n this.addManagedListener(this.rowNode, RowNode.EVENT_CELL_CHANGED, this.workOutVisibility.bind(this));\n this.addManagedListener(this.rowNode, RowNode.EVENT_CELL_CHANGED, this.workOutVisibility.bind(this));\n this.addManagedListener(this.beans.eventService, Events.EVENT_NEW_COLUMNS_LOADED, this.workOutVisibility.bind(this));\n this.workOutVisibility();\n };\n NonManagedVisibilityStrategy.prototype.onSuppressRowDrag = function () {\n this.workOutVisibility();\n };\n NonManagedVisibilityStrategy.prototype.workOutVisibility = function () {\n // only show the drag if both sort and filter are not present\n var neverDisplayed = this.beans.gridOptionsWrapper.isSuppressRowDrag();\n this.setDisplayedOrVisible(neverDisplayed);\n };\n __decorate$1$([\n PostConstruct\n ], NonManagedVisibilityStrategy.prototype, \"postConstruct\", null);\n return NonManagedVisibilityStrategy;\n}(VisibilityStrategy));\n// when managed, the visibility depends on sort, filter and row group, as well as suppressRowDrag property\nvar ManagedVisibilityStrategy = /** @class */ (function (_super) {\n __extends$2g(ManagedVisibilityStrategy, _super);\n function ManagedVisibilityStrategy(parent, beans, rowNode, column) {\n var _this = _super.call(this, parent, rowNode, column) || this;\n _this.beans = beans;\n return _this;\n }\n ManagedVisibilityStrategy.prototype.postConstruct = function () {\n // we do not show the component if sort, filter or grouping is active\n this.addManagedListener(this.beans.eventService, Events.EVENT_SORT_CHANGED, this.workOutVisibility.bind(this));\n this.addManagedListener(this.beans.eventService, Events.EVENT_FILTER_CHANGED, this.workOutVisibility.bind(this));\n this.addManagedListener(this.beans.eventService, Events.EVENT_COLUMN_ROW_GROUP_CHANGED, this.workOutVisibility.bind(this));\n this.addManagedListener(this.beans.eventService, Events.EVENT_NEW_COLUMNS_LOADED, this.workOutVisibility.bind(this));\n // in case data changes, then we need to update visibility of drag item\n this.addManagedListener(this.rowNode, RowNode.EVENT_DATA_CHANGED, this.workOutVisibility.bind(this));\n this.addManagedListener(this.rowNode, RowNode.EVENT_CELL_CHANGED, this.workOutVisibility.bind(this));\n this.addManagedListener(this.beans.gridOptionsWrapper, 'suppressRowDrag', this.onSuppressRowDrag.bind(this));\n this.workOutVisibility();\n };\n ManagedVisibilityStrategy.prototype.onSuppressRowDrag = function () {\n this.workOutVisibility();\n };\n ManagedVisibilityStrategy.prototype.workOutVisibility = function () {\n // only show the drag if both sort and filter are not present\n var gridBodyCon = this.beans.ctrlsService.getGridBodyCtrl();\n var rowDragFeature = gridBodyCon.getRowDragFeature();\n var shouldPreventRowMove = rowDragFeature && rowDragFeature.shouldPreventRowMove();\n var suppressRowDrag = this.beans.gridOptionsWrapper.isSuppressRowDrag();\n var hasExternalDropZones = this.beans.dragAndDropService.hasExternalDropZones();\n var neverDisplayed = (shouldPreventRowMove && !hasExternalDropZones) || suppressRowDrag;\n this.setDisplayedOrVisible(neverDisplayed);\n };\n __decorate$1$([\n PostConstruct\n ], ManagedVisibilityStrategy.prototype, \"postConstruct\", null);\n return ManagedVisibilityStrategy;\n}(VisibilityStrategy));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$2f = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign$8 = (undefined && undefined.__assign) || function () {\n __assign$8 = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign$8.apply(this, arguments);\n};\nvar __decorate$1_ = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar GroupCellRendererCtrl = /** @class */ (function (_super) {\n __extends$2f(GroupCellRendererCtrl, _super);\n function GroupCellRendererCtrl() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n GroupCellRendererCtrl.prototype.init = function (comp, eGui, eCheckbox, eExpanded, eContracted, compClass, params) {\n this.params = params;\n this.eGui = eGui;\n this.eCheckbox = eCheckbox;\n this.eExpanded = eExpanded;\n this.eContracted = eContracted;\n this.comp = comp;\n this.compClass = compClass;\n var topLevelFooter = this.isTopLevelFooter();\n var embeddedRowMismatch = this.isEmbeddedRowMismatch();\n // This allows for empty strings to appear as groups since\n // it will only return for null or undefined.\n var nullValue = params.value == null;\n var skipCell = false;\n // if the groupCellRenderer is inside of a footer and groupHideOpenParents is true\n // we should only display the groupCellRenderer if the current column is the rowGroupedColumn\n if (this.gridOptionsWrapper.isGroupIncludeFooter() && this.gridOptionsWrapper.isGroupHideOpenParents()) {\n var node = params.node;\n if (node.footer) {\n var showRowGroup = params.colDef && params.colDef.showRowGroup;\n var rowGroupColumnId = node.rowGroupColumn && node.rowGroupColumn.getColId();\n skipCell = showRowGroup !== rowGroupColumnId;\n }\n }\n this.cellIsBlank = topLevelFooter ? false : (embeddedRowMismatch || nullValue || skipCell);\n if (this.cellIsBlank) {\n return;\n }\n this.setupShowingValueForOpenedParent();\n this.findDisplayedGroupNode();\n this.addFullWidthRowDraggerIfNeeded();\n this.addExpandAndContract();\n this.addCheckboxIfNeeded();\n this.addValueElement();\n this.setupIndent();\n this.refreshAriaExpanded();\n };\n GroupCellRendererCtrl.prototype.destroy = function () {\n _super.prototype.destroy.call(this);\n // property cleanup to avoid memory leaks\n this.expandListener = null;\n };\n GroupCellRendererCtrl.prototype.refreshAriaExpanded = function () {\n var _a = this.params, node = _a.node, eParentOfValue = _a.eParentOfValue;\n if (this.expandListener) {\n this.expandListener = this.expandListener();\n }\n if (!this.isExpandable()) {\n removeAriaExpanded(eParentOfValue);\n return;\n }\n var listener = function () {\n // for react, we don't use JSX, as setting attributes via jsx is slower\n setAriaExpanded(eParentOfValue, !!node.expanded);\n };\n this.expandListener = this.addManagedListener(node, RowNode.EVENT_EXPANDED_CHANGED, listener) || null;\n listener();\n };\n GroupCellRendererCtrl.prototype.isTopLevelFooter = function () {\n if (!this.gridOptionsWrapper.isGroupIncludeTotalFooter()) {\n return false;\n }\n if (this.params.value != null || this.params.node.level != -1) {\n return false;\n }\n // at this point, we know it's the root node and there is no value present, so it's a footer cell.\n // the only thing to work out is if we are displaying groups across multiple\n // columns (groupMultiAutoColumn=true), we only want 'total' to appear in the first column.\n var colDef = this.params.colDef;\n var doingFullWidth = colDef == null;\n if (doingFullWidth) {\n return true;\n }\n if (colDef.showRowGroup === true) {\n return true;\n }\n var rowGroupCols = this.columnModel.getRowGroupColumns();\n // this is a sanity check, rowGroupCols should always be present\n if (!rowGroupCols || rowGroupCols.length === 0) {\n return true;\n }\n var firstRowGroupCol = rowGroupCols[0];\n return firstRowGroupCol.getId() === colDef.showRowGroup;\n };\n // if we are doing embedded full width rows, we only show the renderer when\n // in the body, or if pinning in the pinned section, or if pinning and RTL,\n // in the right section. otherwise we would have the cell repeated in each section.\n GroupCellRendererCtrl.prototype.isEmbeddedRowMismatch = function () {\n if (!this.params.fullWidth || !this.gridOptionsWrapper.isEmbedFullWidthRows()) {\n return false;\n }\n var pinnedLeftCell = this.params.pinned === Constants.PINNED_LEFT;\n var pinnedRightCell = this.params.pinned === Constants.PINNED_RIGHT;\n var bodyCell = !pinnedLeftCell && !pinnedRightCell;\n if (this.gridOptionsWrapper.isEnableRtl()) {\n if (this.columnModel.isPinningLeft()) {\n return !pinnedRightCell;\n }\n return !bodyCell;\n }\n if (this.columnModel.isPinningLeft()) {\n return !pinnedLeftCell;\n }\n return !bodyCell;\n };\n GroupCellRendererCtrl.prototype.findDisplayedGroupNode = function () {\n var column = this.params.column;\n var rowNode = this.params.node;\n if (this.showingValueForOpenedParent) {\n var pointer = rowNode.parent;\n while (pointer != null) {\n if (pointer.rowGroupColumn && column.isRowGroupDisplayed(pointer.rowGroupColumn.getId())) {\n this.displayedGroupNode = pointer;\n break;\n }\n pointer = pointer.parent;\n }\n }\n // if we didn't find a displayed group, set it to the row node\n if (missing(this.displayedGroupNode)) {\n this.displayedGroupNode = rowNode;\n }\n };\n GroupCellRendererCtrl.prototype.setupShowingValueForOpenedParent = function () {\n // note - this code depends on sortService.updateGroupDataForHiddenOpenParents, where group data\n // is updated to reflect the dragged down parents\n var rowNode = this.params.node;\n var column = this.params.column;\n if (!this.gridOptionsWrapper.isGroupHideOpenParents()) {\n this.showingValueForOpenedParent = false;\n return;\n }\n // hideOpenParents means rowNode.groupData can have data for the group this column is displaying, even though\n // this rowNode isn't grouping by the column we are displaying\n // if no groupData at all, we are not showing a parent value\n if (!rowNode.groupData) {\n this.showingValueForOpenedParent = false;\n return;\n }\n // this is the normal case, in that we are showing a group for which this column is configured. note that\n // this means the Row Group is closed (if it was open, we would not be displaying it)\n var showingGroupNode = rowNode.rowGroupColumn != null;\n if (showingGroupNode) {\n var keyOfGroupingColumn = rowNode.rowGroupColumn.getId();\n var configuredToShowThisGroupLevel = column.isRowGroupDisplayed(keyOfGroupingColumn);\n // if showing group as normal, we didn't take group info from parent\n if (configuredToShowThisGroupLevel) {\n this.showingValueForOpenedParent = false;\n return;\n }\n }\n // see if we are showing a Group Value for the Displayed Group. if we are showing a group value, and this Row Node\n // is not grouping by this Displayed Group, we must of gotten the value from a parent node\n var valPresent = rowNode.groupData[column.getId()] != null;\n this.showingValueForOpenedParent = valPresent;\n };\n GroupCellRendererCtrl.prototype.addValueElement = function () {\n if (this.displayedGroupNode.footer) {\n this.addFooterValue();\n }\n else {\n this.addGroupValue();\n this.addChildCount();\n }\n };\n GroupCellRendererCtrl.prototype.addGroupValue = function () {\n // we try and use the cellRenderer of the column used for the grouping if we can\n var paramsAdjusted = this.adjustParamsWithDetailsFromRelatedColumn();\n var innerCompDetails = this.getInnerCompDetails(paramsAdjusted);\n var valueFormatted = paramsAdjusted.valueFormatted, value = paramsAdjusted.value;\n var valueWhenNoRenderer = valueFormatted != null ? valueFormatted : value;\n this.comp.setInnerRenderer(innerCompDetails, valueWhenNoRenderer);\n };\n GroupCellRendererCtrl.prototype.adjustParamsWithDetailsFromRelatedColumn = function () {\n var relatedColumn = this.displayedGroupNode.rowGroupColumn;\n var column = this.params.column;\n if (!relatedColumn) {\n return this.params;\n }\n var notFullWidth = column != null;\n if (notFullWidth) {\n var showingThisRowGroup = column.isRowGroupDisplayed(relatedColumn.getId());\n if (!showingThisRowGroup) {\n return this.params;\n }\n }\n var params = this.params;\n var _a = this.params, value = _a.value, node = _a.node;\n var valueFormatted = this.valueFormatterService.formatValue(relatedColumn, node, value);\n // we don't update the original params, as they could of come through React,\n // as react has RowGroupCellRenderer, which means the params could be props which\n // would be read only\n var paramsAdjusted = __assign$8(__assign$8({}, params), { valueFormatted: valueFormatted });\n return paramsAdjusted;\n };\n GroupCellRendererCtrl.prototype.addFooterValue = function () {\n var footerValueGetter = this.params.footerValueGetter;\n var footerValue = '';\n if (footerValueGetter) {\n // params is same as we were given, except we set the value as the item to display\n var paramsClone = cloneObject(this.params);\n paramsClone.value = this.params.value;\n if (typeof footerValueGetter === 'function') {\n footerValue = footerValueGetter(paramsClone);\n }\n else if (typeof footerValueGetter === 'string') {\n footerValue = this.expressionService.evaluate(footerValueGetter, paramsClone);\n }\n else {\n console.warn('AG Grid: footerValueGetter should be either a function or a string (expression)');\n }\n }\n else {\n footerValue = 'Total ' + (this.params.value != null ? this.params.value : '');\n }\n var innerCompDetails = this.getInnerCompDetails(this.params);\n this.comp.setInnerRenderer(innerCompDetails, footerValue);\n };\n GroupCellRendererCtrl.prototype.getInnerCompDetails = function (params) {\n var _this = this;\n // for full width rows, we don't do any of the below\n if (params.fullWidth) {\n return this.userComponentFactory.getFullWidthGroupRowInnerCellRenderer(this.gridOptions.groupRowRendererParams, params);\n }\n // when grouping, the normal case is we use the cell renderer of the grouped column. eg if grouping by country\n // and then rating, we will use the country cell renderer for each country group row and likewise the rating\n // cell renderer for each rating group row.\n //\n // however if the user has innerCellRenderer defined, this gets preference and we don't use cell renderers\n // of the grouped columns.\n //\n // so we check and use in the following order:\n //\n // 1) thisColDef.cellRendererParams.innerRenderer of the column showing the groups (eg auto group column)\n // 2) groupedColDef.cellRenderer of the grouped column\n // 3) groupedColDef.cellRendererParams.innerRenderer\n // we check if cell renderer provided for the group cell renderer, eg colDef.cellRendererParams.innerRenderer\n var innerCompDetails = this.userComponentFactory\n .getInnerRendererDetails(params, params);\n // avoid using GroupCellRenderer again, otherwise stack overflow, as we insert same renderer again and again.\n // this covers off chance user is grouping by a column that is also configured with GroupCellRenderer\n var isGroupRowRenderer = function (details) { return details && details.componentClass == _this.compClass; };\n if (innerCompDetails && !isGroupRowRenderer(innerCompDetails)) {\n // use the renderer defined in cellRendererParams.innerRenderer\n return innerCompDetails;\n }\n var relatedColumn = this.displayedGroupNode.rowGroupColumn;\n var relatedColDef = relatedColumn ? relatedColumn.getColDef() : undefined;\n if (!relatedColDef) {\n return;\n }\n // otherwise see if we can use the cellRenderer of the column we are grouping by\n var relatedCompDetails = this.userComponentFactory\n .getCellRendererDetails(relatedColDef, params);\n if (relatedCompDetails && !isGroupRowRenderer(relatedCompDetails)) {\n // Only if the original column is using a specific renderer, it it is a using a DEFAULT one ignore it\n return relatedCompDetails;\n }\n if (isGroupRowRenderer(relatedCompDetails) &&\n relatedColDef.cellRendererParams &&\n relatedColDef.cellRendererParams.innerRenderer) {\n // edge case - this comes from a column which has been grouped dynamically, that has a renderer 'group'\n // and has an inner cell renderer\n var res = this.userComponentFactory.getInnerRendererDetails(relatedColDef.cellRendererParams, params);\n return res;\n }\n };\n GroupCellRendererCtrl.prototype.addChildCount = function () {\n // only include the child count if it's included, eg if user doing custom aggregation,\n // then this could be left out, or set to -1, ie no child count\n if (this.params.suppressCount) {\n return;\n }\n this.addManagedListener(this.displayedGroupNode, RowNode.EVENT_ALL_CHILDREN_COUNT_CHANGED, this.updateChildCount.bind(this));\n // filtering changes the child count, so need to cater for it\n this.updateChildCount();\n };\n GroupCellRendererCtrl.prototype.updateChildCount = function () {\n var allChildrenCount = this.displayedGroupNode.allChildrenCount;\n var showingGroupForThisNode = this.isShowRowGroupForThisRow();\n var showCount = showingGroupForThisNode && allChildrenCount != null && allChildrenCount >= 0;\n var countString = showCount ? \"(\" + allChildrenCount + \")\" : \"\";\n this.comp.setChildCount(countString);\n };\n GroupCellRendererCtrl.prototype.isShowRowGroupForThisRow = function () {\n if (this.gridOptionsWrapper.isTreeData()) {\n return true;\n }\n var rowGroupColumn = this.displayedGroupNode.rowGroupColumn;\n if (!rowGroupColumn) {\n return false;\n }\n // column is null for fullWidthRows\n var column = this.params.column;\n var thisColumnIsInterested = column == null || column.isRowGroupDisplayed(rowGroupColumn.getId());\n return thisColumnIsInterested;\n };\n GroupCellRendererCtrl.prototype.addExpandAndContract = function () {\n var params = this.params;\n var eExpandedIcon = createIconNoSpan('groupExpanded', this.gridOptionsWrapper, null);\n var eContractedIcon = createIconNoSpan('groupContracted', this.gridOptionsWrapper, null);\n if (eExpandedIcon) {\n this.eExpanded.appendChild(eExpandedIcon);\n }\n if (eContractedIcon) {\n this.eContracted.appendChild(eContractedIcon);\n }\n var eGroupCell = params.eGridCell;\n // if editing groups, then double click is to start editing\n if (!this.gridOptionsWrapper.isEnableGroupEdit() && this.isExpandable() && !params.suppressDoubleClickExpand) {\n this.addManagedListener(eGroupCell, 'dblclick', this.onCellDblClicked.bind(this));\n }\n this.addManagedListener(this.eExpanded, 'click', this.onExpandClicked.bind(this));\n this.addManagedListener(this.eContracted, 'click', this.onExpandClicked.bind(this));\n // expand / contract as the user hits enter\n this.addManagedListener(eGroupCell, 'keydown', this.onKeyDown.bind(this));\n this.addManagedListener(params.node, RowNode.EVENT_EXPANDED_CHANGED, this.showExpandAndContractIcons.bind(this));\n this.showExpandAndContractIcons();\n // because we don't show the expand / contract when there are no children, we need to check every time\n // the number of children change.\n var expandableChangedListener = this.onRowNodeIsExpandableChanged.bind(this);\n this.addManagedListener(this.displayedGroupNode, RowNode.EVENT_ALL_CHILDREN_COUNT_CHANGED, expandableChangedListener);\n this.addManagedListener(this.displayedGroupNode, RowNode.EVENT_MASTER_CHANGED, expandableChangedListener);\n this.addManagedListener(this.displayedGroupNode, RowNode.EVENT_GROUP_CHANGED, expandableChangedListener);\n this.addManagedListener(this.displayedGroupNode, RowNode.EVENT_HAS_CHILDREN_CHANGED, expandableChangedListener);\n };\n GroupCellRendererCtrl.prototype.onExpandClicked = function (mouseEvent) {\n if (isStopPropagationForAgGrid(mouseEvent)) {\n return;\n }\n // so if we expand a node, it does not also get selected.\n stopPropagationForAgGrid(mouseEvent);\n this.onExpandOrContract(mouseEvent);\n };\n GroupCellRendererCtrl.prototype.onExpandOrContract = function (e) {\n // must use the displayedGroup, so if data was dragged down, we expand the parent, not this row\n var rowNode = this.displayedGroupNode;\n var nextExpandState = !rowNode.expanded;\n if (!nextExpandState && rowNode.sticky) {\n this.scrollToStickyNode(rowNode);\n }\n rowNode.setExpanded(nextExpandState, e);\n };\n GroupCellRendererCtrl.prototype.scrollToStickyNode = function (rowNode) {\n var gridBodyCtrl = this.ctrlsService.getGridBodyCtrl();\n var scrollFeature = gridBodyCtrl.getScrollFeature();\n scrollFeature.setVerticalScrollPosition(rowNode.rowTop - rowNode.stickyRowTop);\n };\n GroupCellRendererCtrl.prototype.isExpandable = function () {\n if (this.showingValueForOpenedParent) {\n return true;\n }\n var rowNode = this.displayedGroupNode;\n var reducedLeafNode = this.columnModel.isPivotMode() && rowNode.leafGroup;\n var expandableGroup = rowNode.isExpandable() && !rowNode.footer && !reducedLeafNode;\n if (!expandableGroup) {\n return false;\n }\n // column is null for fullWidthRows\n var column = this.params.column;\n var displayingForOneColumnOnly = column != null && typeof column.getColDef().showRowGroup === 'string';\n if (displayingForOneColumnOnly) {\n var showing = this.isShowRowGroupForThisRow();\n return showing;\n }\n return true;\n };\n GroupCellRendererCtrl.prototype.showExpandAndContractIcons = function () {\n var _a = this, params = _a.params, displayedGroup = _a.displayedGroupNode, columnModel = _a.columnModel;\n var node = params.node;\n var isExpandable = this.isExpandable();\n if (isExpandable) {\n // if expandable, show one based on expand state.\n // if we were dragged down, means our parent is always expanded\n var expanded = this.showingValueForOpenedParent ? true : node.expanded;\n this.comp.setExpandedDisplayed(expanded);\n this.comp.setContractedDisplayed(!expanded);\n }\n else {\n // it not expandable, show neither\n this.comp.setExpandedDisplayed(false);\n this.comp.setContractedDisplayed(false);\n }\n // compensation padding for leaf nodes, so there is blank space instead of the expand icon\n var pivotMode = columnModel.isPivotMode();\n var pivotModeAndLeafGroup = pivotMode && displayedGroup.leafGroup;\n var addExpandableCss = isExpandable && !pivotModeAndLeafGroup;\n var isTotalFooterNode = node.footer && node.level === -1;\n this.comp.addOrRemoveCssClass('ag-cell-expandable', addExpandableCss);\n this.comp.addOrRemoveCssClass('ag-row-group', addExpandableCss);\n if (pivotMode) {\n this.comp.addOrRemoveCssClass('ag-pivot-leaf-group', pivotModeAndLeafGroup);\n }\n else if (!isTotalFooterNode) {\n this.comp.addOrRemoveCssClass('ag-row-group-leaf-indent', !addExpandableCss);\n }\n };\n GroupCellRendererCtrl.prototype.onRowNodeIsExpandableChanged = function () {\n // maybe if no children now, we should hide the expand / contract icons\n this.showExpandAndContractIcons();\n // if we have no children, this impacts the indent\n this.setIndent();\n this.refreshAriaExpanded();\n };\n GroupCellRendererCtrl.prototype.setupIndent = function () {\n // only do this if an indent - as this overwrites the padding that\n // the theme set, which will make things look 'not aligned' for the\n // first group level.\n var node = this.params.node;\n var suppressPadding = this.params.suppressPadding;\n if (!suppressPadding) {\n this.addManagedListener(node, RowNode.EVENT_UI_LEVEL_CHANGED, this.setIndent.bind(this));\n this.setIndent();\n }\n };\n GroupCellRendererCtrl.prototype.setIndent = function () {\n if (this.gridOptionsWrapper.isGroupHideOpenParents()) {\n return;\n }\n var params = this.params;\n var rowNode = params.node;\n // if we are only showing one group column, we don't want to be indenting based on level\n var fullWithRow = !!params.colDef;\n var treeData = this.gridOptionsWrapper.isTreeData();\n var manyDimensionThisColumn = !fullWithRow || treeData || params.colDef.showRowGroup === true;\n var paddingCount = manyDimensionThisColumn ? rowNode.uiLevel : 0;\n var userProvidedPaddingPixelsTheDeprecatedWay = params.padding >= 0;\n if (userProvidedPaddingPixelsTheDeprecatedWay) {\n doOnce(function () { return console.warn('AG Grid: cellRendererParams.padding no longer works, it was deprecated in since v14.2 and removed in v26, configuring padding for groupCellRenderer should be done with Sass variables and themes. Please see the AG Grid documentation page for Themes, in particular the property $row-group-indent-size.'); }, 'groupCellRenderer->doDeprecatedWay');\n }\n if (this.indentClass) {\n this.comp.addOrRemoveCssClass(this.indentClass, false);\n }\n this.indentClass = 'ag-row-group-indent-' + paddingCount;\n this.comp.addOrRemoveCssClass(this.indentClass, true);\n };\n GroupCellRendererCtrl.prototype.addFullWidthRowDraggerIfNeeded = function () {\n var _this = this;\n if (!this.params.fullWidth || !this.params.rowDrag) {\n return;\n }\n var rowDragComp = new RowDragComp(function () { return _this.params.value; }, this.params.node);\n this.createManagedBean(rowDragComp, this.context);\n this.eGui.insertAdjacentElement('afterbegin', rowDragComp.getGui());\n };\n GroupCellRendererCtrl.prototype.isUserWantsSelected = function () {\n var paramsCheckbox = this.params.checkbox;\n // if a function, we always return true as change detection can show or hide the checkbox.\n return typeof paramsCheckbox === 'function' || paramsCheckbox === true;\n };\n GroupCellRendererCtrl.prototype.addCheckboxIfNeeded = function () {\n var _this = this;\n var rowNode = this.displayedGroupNode;\n var checkboxNeeded = this.isUserWantsSelected() &&\n // footers cannot be selected\n !rowNode.footer &&\n // pinned rows cannot be selected\n !rowNode.rowPinned &&\n // details cannot be selected\n !rowNode.detail;\n if (checkboxNeeded) {\n var cbSelectionComponent_1 = new CheckboxSelectionComponent();\n this.getContext().createBean(cbSelectionComponent_1);\n cbSelectionComponent_1.init({\n rowNode: rowNode,\n column: this.params.column,\n overrides: {\n isVisible: this.params.checkbox,\n callbackParams: this.params,\n removeHidden: true,\n },\n });\n this.eCheckbox.appendChild(cbSelectionComponent_1.getGui());\n this.addDestroyFunc(function () { return _this.getContext().destroyBean(cbSelectionComponent_1); });\n }\n this.comp.setCheckboxVisible(checkboxNeeded);\n };\n GroupCellRendererCtrl.prototype.onKeyDown = function (event) {\n var enterKeyPressed = event.key === KeyCode.ENTER;\n if (!enterKeyPressed || this.params.suppressEnterExpand) {\n return;\n }\n var cellEditable = this.params.column && this.params.column.isCellEditable(this.params.node);\n if (cellEditable) {\n return;\n }\n this.onExpandOrContract(event);\n };\n GroupCellRendererCtrl.prototype.onCellDblClicked = function (mouseEvent) {\n if (isStopPropagationForAgGrid(mouseEvent)) {\n return;\n }\n // we want to avoid acting on double click events on the expand / contract icon,\n // as that icons already has expand / collapse functionality on it. otherwise if\n // the icon was double clicked, we would get 'click', 'click', 'dblclick' which\n // is open->close->open, however double click should be open->close only.\n var targetIsExpandIcon = isElementInEventPath(this.eExpanded, mouseEvent)\n || isElementInEventPath(this.eContracted, mouseEvent);\n if (!targetIsExpandIcon) {\n this.onExpandOrContract(mouseEvent);\n }\n };\n __decorate$1_([\n Autowired('expressionService')\n ], GroupCellRendererCtrl.prototype, \"expressionService\", void 0);\n __decorate$1_([\n Autowired('valueFormatterService')\n ], GroupCellRendererCtrl.prototype, \"valueFormatterService\", void 0);\n __decorate$1_([\n Autowired('columnModel')\n ], GroupCellRendererCtrl.prototype, \"columnModel\", void 0);\n __decorate$1_([\n Autowired('userComponentFactory')\n ], GroupCellRendererCtrl.prototype, \"userComponentFactory\", void 0);\n __decorate$1_([\n Autowired('gridOptions')\n ], GroupCellRendererCtrl.prototype, \"gridOptions\", void 0);\n __decorate$1_([\n Autowired(\"ctrlsService\")\n ], GroupCellRendererCtrl.prototype, \"ctrlsService\", void 0);\n return GroupCellRendererCtrl;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$2e = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$1Z = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar GroupCellRenderer = /** @class */ (function (_super) {\n __extends$2e(GroupCellRenderer, _super);\n function GroupCellRenderer() {\n return _super.call(this, GroupCellRenderer.TEMPLATE) || this;\n }\n GroupCellRenderer.prototype.init = function (params) {\n var _this = this;\n var compProxy = {\n setInnerRenderer: function (compDetails, valueToDisplay) { return _this.setRenderDetails(compDetails, valueToDisplay); },\n setChildCount: function (count) { return _this.eChildCount.innerHTML = count; },\n addOrRemoveCssClass: function (cssClass, value) { return _this.addOrRemoveCssClass(cssClass, value); },\n setContractedDisplayed: function (expanded) { return setDisplayed(_this.eContracted, expanded); },\n setExpandedDisplayed: function (expanded) { return setDisplayed(_this.eExpanded, expanded); },\n setCheckboxVisible: function (visible) { return _this.eCheckbox.classList.toggle('ag-invisible', !visible); }\n };\n var ctrl = this.createManagedBean(new GroupCellRendererCtrl());\n var fullWidth = !params.colDef;\n var eGui = this.getGui();\n ctrl.init(compProxy, eGui, this.eCheckbox, this.eExpanded, this.eContracted, this.constructor, params);\n if (fullWidth) {\n setAriaRole(eGui, 'gridcell');\n }\n };\n GroupCellRenderer.prototype.setRenderDetails = function (compDetails, valueToDisplay) {\n var _this = this;\n if (compDetails) {\n var componentPromise = compDetails.newAgStackInstance();\n if (!componentPromise) {\n return;\n }\n componentPromise.then(function (comp) {\n if (!comp) {\n return;\n }\n var destroyComp = function () { return _this.context.destroyBean(comp); };\n if (_this.isAlive()) {\n _this.eValue.appendChild(comp.getGui());\n _this.addDestroyFunc(destroyComp);\n }\n else {\n destroyComp();\n }\n });\n }\n else {\n this.eValue.innerText = valueToDisplay;\n }\n };\n // this is a user component, and IComponent has \"public destroy()\" as part of the interface.\n // so we need to have public here instead of private or protected\n GroupCellRenderer.prototype.destroy = function () {\n this.getContext().destroyBean(this.innerCellRenderer);\n _super.prototype.destroy.call(this);\n };\n GroupCellRenderer.prototype.refresh = function () {\n return false;\n };\n GroupCellRenderer.TEMPLATE = \"\\n \\n \\n \\n \\n \\n \";\n __decorate$1Z([\n RefSelector('eExpanded')\n ], GroupCellRenderer.prototype, \"eExpanded\", void 0);\n __decorate$1Z([\n RefSelector('eContracted')\n ], GroupCellRenderer.prototype, \"eContracted\", void 0);\n __decorate$1Z([\n RefSelector('eCheckbox')\n ], GroupCellRenderer.prototype, \"eCheckbox\", void 0);\n __decorate$1Z([\n RefSelector('eValue')\n ], GroupCellRenderer.prototype, \"eValue\", void 0);\n __decorate$1Z([\n RefSelector('eChildCount')\n ], GroupCellRenderer.prototype, \"eChildCount\", void 0);\n return GroupCellRenderer;\n}(Component));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$2d = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$1Y = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar LoadingCellRenderer = /** @class */ (function (_super) {\n __extends$2d(LoadingCellRenderer, _super);\n function LoadingCellRenderer() {\n return _super.call(this, LoadingCellRenderer.TEMPLATE) || this;\n }\n LoadingCellRenderer.prototype.init = function (params) {\n params.node.failedLoad ? this.setupFailed() : this.setupLoading();\n };\n LoadingCellRenderer.prototype.setupFailed = function () {\n var localeTextFunc = this.gridOptionsWrapper.getLocaleTextFunc();\n this.eLoadingText.innerText = localeTextFunc('loadingError', 'ERR');\n };\n LoadingCellRenderer.prototype.setupLoading = function () {\n var eLoadingIcon = createIconNoSpan('groupLoading', this.gridOptionsWrapper, null);\n if (eLoadingIcon) {\n this.eLoadingIcon.appendChild(eLoadingIcon);\n }\n var localeTextFunc = this.gridOptionsWrapper.getLocaleTextFunc();\n this.eLoadingText.innerText = localeTextFunc('loadingOoo', 'Loading');\n };\n LoadingCellRenderer.prototype.refresh = function (params) {\n return false;\n };\n // this is a user component, and IComponent has \"public destroy()\" as part of the interface.\n // so we need to override destroy() just to make the method public.\n LoadingCellRenderer.prototype.destroy = function () {\n _super.prototype.destroy.call(this);\n };\n LoadingCellRenderer.TEMPLATE = \"
    \\n \\n \\n
    \";\n __decorate$1Y([\n RefSelector('eLoadingIcon')\n ], LoadingCellRenderer.prototype, \"eLoadingIcon\", void 0);\n __decorate$1Y([\n RefSelector('eLoadingText')\n ], LoadingCellRenderer.prototype, \"eLoadingText\", void 0);\n return LoadingCellRenderer;\n}(Component));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$2c = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar LoadingOverlayComponent$1 = /** @class */ (function (_super) {\n __extends$2c(LoadingOverlayComponent, _super);\n function LoadingOverlayComponent() {\n return _super.call(this) || this;\n }\n // this is a user component, and IComponent has \"public destroy()\" as part of the interface.\n // so we need to override destroy() just to make the method public.\n LoadingOverlayComponent.prototype.destroy = function () {\n _super.prototype.destroy.call(this);\n };\n LoadingOverlayComponent.prototype.init = function (params) {\n var template = this.gridOptionsWrapper.getOverlayLoadingTemplate() ?\n this.gridOptionsWrapper.getOverlayLoadingTemplate() : LoadingOverlayComponent.DEFAULT_LOADING_OVERLAY_TEMPLATE;\n var localeTextFunc = this.gridOptionsWrapper.getLocaleTextFunc();\n var localisedTemplate = template.replace('[LOADING...]', localeTextFunc('loadingOoo', 'Loading...'));\n this.setTemplate(localisedTemplate);\n };\n LoadingOverlayComponent.DEFAULT_LOADING_OVERLAY_TEMPLATE = '[LOADING...]';\n return LoadingOverlayComponent;\n}(Component));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$2b = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar NoRowsOverlayComponent$1 = /** @class */ (function (_super) {\n __extends$2b(NoRowsOverlayComponent, _super);\n function NoRowsOverlayComponent() {\n return _super.call(this) || this;\n }\n // this is a user component, and IComponent has \"public destroy()\" as part of the interface.\n // so we need to override destroy() just to make the method public.\n NoRowsOverlayComponent.prototype.destroy = function () {\n _super.prototype.destroy.call(this);\n };\n NoRowsOverlayComponent.prototype.init = function (params) {\n var template = this.gridOptionsWrapper.getOverlayNoRowsTemplate() ?\n this.gridOptionsWrapper.getOverlayNoRowsTemplate() : NoRowsOverlayComponent.DEFAULT_NO_ROWS_TEMPLATE;\n var localeTextFunc = this.gridOptionsWrapper.getLocaleTextFunc();\n var localisedTemplate = template.replace('[NO_ROWS_TO_SHOW]', localeTextFunc('noRowsToShow', 'No Rows To Show'));\n this.setTemplate(localisedTemplate);\n };\n NoRowsOverlayComponent.DEFAULT_NO_ROWS_TEMPLATE = '[NO_ROWS_TO_SHOW]';\n return NoRowsOverlayComponent;\n}(Component));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$2a = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar TooltipComponent$1 = /** @class */ (function (_super) {\n __extends$2a(TooltipComponent, _super);\n function TooltipComponent() {\n return _super.call(this, /* html */ \"
    \") || this;\n }\n // will need to type params\n TooltipComponent.prototype.init = function (params) {\n var value = params.value;\n this.getGui().innerHTML = escapeString(value);\n };\n return TooltipComponent;\n}(PopupComponent));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$29 = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$1X = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar UserComponentRegistry = /** @class */ (function (_super) {\n __extends$29(UserComponentRegistry, _super);\n function UserComponentRegistry() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.agGridDefaults = {\n //date\n agDateInput: DefaultDateComponent,\n //header\n agColumnHeader: HeaderComp,\n agColumnGroupHeader: HeaderGroupComp,\n agSortIndicator: SortIndicatorComp,\n //floating filters\n agTextColumnFloatingFilter: TextFloatingFilter,\n agNumberColumnFloatingFilter: NumberFloatingFilter,\n agDateColumnFloatingFilter: DateFloatingFilter,\n agReadOnlyFloatingFilter: ReadOnlyFloatingFilter,\n // renderers\n agAnimateShowChangeCellRenderer: AnimateShowChangeCellRenderer,\n agAnimateSlideCellRenderer: AnimateSlideCellRenderer,\n agGroupCellRenderer: GroupCellRenderer,\n agGroupRowRenderer: GroupCellRenderer,\n agLoadingCellRenderer: LoadingCellRenderer,\n //editors\n agCellEditor: TextCellEditor,\n agTextCellEditor: TextCellEditor,\n agSelectCellEditor: SelectCellEditor,\n agPopupTextCellEditor: PopupTextCellEditor,\n agPopupSelectCellEditor: PopupSelectCellEditor,\n agLargeTextCellEditor: LargeTextCellEditor,\n //filter\n agTextColumnFilter: TextFilter,\n agNumberColumnFilter: NumberFilter,\n agDateColumnFilter: DateFilter,\n //overlays\n agLoadingOverlay: LoadingOverlayComponent$1,\n agNoRowsOverlay: NoRowsOverlayComponent$1,\n // tooltips\n agTooltipComponent: TooltipComponent$1\n };\n _this.agDeprecatedNames = {\n set: {\n newComponentName: 'agSetColumnFilter',\n propertyHolder: 'filter'\n },\n text: {\n newComponentName: 'agTextColumnFilter',\n propertyHolder: 'filter'\n },\n number: {\n newComponentName: 'agNumberColumnFilter',\n propertyHolder: 'filter'\n },\n date: {\n newComponentName: 'agDateColumnFilter',\n propertyHolder: 'filter'\n },\n group: {\n newComponentName: 'agGroupCellRenderer',\n propertyHolder: 'cellRenderer'\n },\n animateShowChange: {\n newComponentName: 'agAnimateShowChangeCellRenderer',\n propertyHolder: 'cellRenderer'\n },\n animateSlide: {\n newComponentName: 'agAnimateSlideCellRenderer',\n propertyHolder: 'cellRenderer'\n },\n select: {\n newComponentName: 'agSelectCellEditor',\n propertyHolder: 'cellEditor'\n },\n largeText: {\n newComponentName: 'agLargeTextCellEditor',\n propertyHolder: 'cellEditor'\n },\n popupSelect: {\n newComponentName: 'agPopupSelectCellEditor',\n propertyHolder: 'cellEditor'\n },\n popupText: {\n newComponentName: 'agPopupTextCellEditor',\n propertyHolder: 'cellEditor'\n },\n richSelect: {\n newComponentName: 'agRichSelectCellEditor',\n propertyHolder: 'cellEditor'\n },\n headerComponent: {\n newComponentName: 'agColumnHeader',\n propertyHolder: 'headerComponent'\n }\n };\n _this.jsComps = {};\n _this.fwComps = {};\n return _this;\n }\n UserComponentRegistry.prototype.init = function () {\n var _this = this;\n if (this.gridOptions.components != null) {\n iterateObject(this.gridOptions.components, function (key, component) { return _this.registerJsComponent(key, component); });\n }\n if (this.gridOptions.frameworkComponents != null) {\n iterateObject(this.gridOptions.frameworkComponents, function (key, component) { return _this.registerFwComponent(key, component); });\n }\n };\n UserComponentRegistry.prototype.registerDefaultComponent = function (rawName, component) {\n var name = this.translateIfDeprecated(rawName);\n if (this.agGridDefaults[name]) {\n console.error(\"Trying to overwrite a default component. You should call registerComponent\");\n return;\n }\n this.agGridDefaults[name] = component;\n };\n UserComponentRegistry.prototype.registerJsComponent = function (rawName, component) {\n var name = this.translateIfDeprecated(rawName);\n if (this.fwComps[name]) {\n console.error(\"Trying to register a component that you have already registered for frameworks: \" + name);\n return;\n }\n this.jsComps[name] = component;\n };\n /**\n * B the business interface (ie IHeader)\n * A the agGridComponent interface (ie IHeaderComp). The final object acceptable by ag-grid\n */\n UserComponentRegistry.prototype.registerFwComponent = function (rawName, component) {\n var warningMessage = \"AG Grid: As of v27, registering components via grid property frameworkComponents is deprecated. Instead register both JavaScript AND Framework Components via the components property.\";\n doOnce(function () { return console.warn(warningMessage); }, \"UserComponentRegistry.frameworkComponentsDeprecated\");\n var name = this.translateIfDeprecated(rawName);\n this.fwComps[name] = component;\n };\n UserComponentRegistry.prototype.retrieve = function (rawName) {\n var name = this.translateIfDeprecated(rawName);\n var createResult = function (component, componentFromFramework) { return ({ componentFromFramework: componentFromFramework, component: component }); };\n // FrameworkOverrides.frameworkComponent() is used in two locations:\n // 1) for Vue, user provided components get registered via a framework specific way.\n // 2) for React, it's how the React UI provides alternative default components (eg GroupCellRenderer and DetailCellRenderer)\n var registeredViaFrameworkComp = this.getFrameworkOverrides().frameworkComponent(name, this.gridOptions.components);\n if (registeredViaFrameworkComp != null) {\n return createResult(registeredViaFrameworkComp, true);\n }\n var frameworkComponent = this.fwComps[name];\n if (frameworkComponent) {\n return createResult(frameworkComponent, true);\n }\n var jsComponent = this.jsComps[name];\n if (jsComponent) {\n var isFwkComp = this.getFrameworkOverrides().isFrameworkComponent(jsComponent);\n return createResult(jsComponent, isFwkComp);\n }\n var defaultComponent = this.agGridDefaults[name];\n if (defaultComponent) {\n return createResult(defaultComponent, false);\n }\n if (Object.keys(this.agGridDefaults).indexOf(name) < 0) {\n console.warn(\"AG Grid: Looking for component [\" + name + \"] but it wasn't found.\");\n }\n return null;\n };\n UserComponentRegistry.prototype.translateIfDeprecated = function (raw) {\n var deprecatedInfo = this.agDeprecatedNames[raw];\n if (deprecatedInfo != null) {\n doOnce(function () {\n console.warn(\"ag-grid. Since v15.0 component names have been renamed to be namespaced. You should rename \" + deprecatedInfo.propertyHolder + \":\" + raw + \" to \" + deprecatedInfo.propertyHolder + \":\" + deprecatedInfo.newComponentName);\n }, 'DEPRECATE_COMPONENT_' + raw);\n return deprecatedInfo.newComponentName;\n }\n return raw;\n };\n __decorate$1X([\n Autowired('gridOptions')\n ], UserComponentRegistry.prototype, \"gridOptions\", void 0);\n __decorate$1X([\n Autowired('agComponentUtils')\n ], UserComponentRegistry.prototype, \"agComponentUtils\", void 0);\n __decorate$1X([\n PostConstruct\n ], UserComponentRegistry.prototype, \"init\", null);\n UserComponentRegistry = __decorate$1X([\n Bean('userComponentRegistry')\n ], UserComponentRegistry);\n return UserComponentRegistry;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar DateComponent = {\n propertyName: 'dateComponent',\n cellRenderer: false\n};\nvar HeaderComponent = {\n propertyName: 'headerComponent',\n cellRenderer: false\n};\nvar HeaderGroupComponent = {\n propertyName: 'headerGroupComponent',\n cellRenderer: false\n};\nvar CellRendererComponent = {\n propertyName: 'cellRenderer',\n cellRenderer: true\n};\nvar CellEditorComponent = {\n propertyName: 'cellEditor',\n cellRenderer: false\n};\nvar InnerRendererComponent = {\n propertyName: 'innerRenderer',\n cellRenderer: true\n};\nvar LoadingOverlayComponent = {\n propertyName: 'loadingOverlayComponent',\n cellRenderer: false\n};\nvar NoRowsOverlayComponent = {\n propertyName: 'noRowsOverlayComponent',\n cellRenderer: false\n};\nvar TooltipComponent = {\n propertyName: 'tooltipComponent',\n cellRenderer: false\n};\nvar FilterComponent = {\n propertyName: 'filter',\n cellRenderer: false\n};\nvar FloatingFilterComponent = {\n propertyName: 'floatingFilterComponent',\n cellRenderer: false\n};\nvar ToolPanelComponent = {\n propertyName: 'toolPanel',\n cellRenderer: false\n};\nvar StatusPanelComponent = {\n propertyName: 'statusPanel',\n cellRenderer: false\n};\nvar FullWidth = {\n propertyName: 'fullWidthCellRenderer',\n cellRenderer: true\n};\nvar FullWidthLoading = {\n propertyName: 'loadingCellRenderer',\n cellRenderer: true\n};\nvar FullWidthGroup = {\n propertyName: 'groupRowRenderer',\n cellRenderer: true\n};\nvar FullWidthDetail = {\n propertyName: 'detailCellRenderer',\n cellRenderer: true\n};\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar FloatingFilterMapper = /** @class */ (function () {\n function FloatingFilterMapper() {\n }\n FloatingFilterMapper.getFloatingFilterType = function (filterType) {\n return this.filterToFloatingFilterMapping[filterType];\n };\n FloatingFilterMapper.filterToFloatingFilterMapping = {\n set: 'agSetColumnFloatingFilter',\n agSetColumnFilter: 'agSetColumnFloatingFilter',\n multi: 'agMultiColumnFloatingFilter',\n agMultiColumnFilter: 'agMultiColumnFloatingFilter',\n number: 'agNumberColumnFloatingFilter',\n agNumberColumnFilter: 'agNumberColumnFloatingFilter',\n date: 'agDateColumnFloatingFilter',\n agDateColumnFilter: 'agDateColumnFloatingFilter',\n text: 'agTextColumnFloatingFilter',\n agTextColumnFilter: 'agTextColumnFloatingFilter'\n };\n return FloatingFilterMapper;\n}());\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$28 = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$1W = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar UserComponentFactory = /** @class */ (function (_super) {\n __extends$28(UserComponentFactory, _super);\n function UserComponentFactory() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n UserComponentFactory.prototype.getHeaderCompDetails = function (colDef, params) {\n return this.getCompDetails(colDef, HeaderComponent, 'agColumnHeader', params);\n };\n UserComponentFactory.prototype.getHeaderGroupCompDetails = function (params) {\n var colGroupDef = params.columnGroup.getColGroupDef();\n return this.getCompDetails(colGroupDef, HeaderGroupComponent, 'agColumnGroupHeader', params);\n };\n // this one is unusual, as it can be LoadingCellRenderer, DetailCellRenderer, FullWidthCellRenderer or GroupRowRenderer.\n // so we have to pass the type in.\n UserComponentFactory.prototype.getFullWidthCellRendererDetails = function (params) {\n return this.getCompDetails(this.gridOptions, FullWidth, null, params, true);\n };\n UserComponentFactory.prototype.getFullWidthLoadingCellRendererDetails = function (params) {\n return this.getCompDetails(this.gridOptions, FullWidthLoading, 'agLoadingCellRenderer', params, true);\n };\n UserComponentFactory.prototype.getFullWidthGroupCellRendererDetails = function (params) {\n return this.getCompDetails(this.gridOptions, FullWidthGroup, 'agGroupRowRenderer', params, true);\n };\n UserComponentFactory.prototype.getFullWidthDetailCellRendererDetails = function (params) {\n return this.getCompDetails(this.gridOptions, FullWidthDetail, 'agDetailCellRenderer', params, true);\n };\n // CELL RENDERER\n UserComponentFactory.prototype.getInnerRendererDetails = function (def, params) {\n return this.getCompDetails(def, InnerRendererComponent, null, params);\n };\n UserComponentFactory.prototype.getFullWidthGroupRowInnerCellRenderer = function (def, params) {\n return this.getCompDetails(def, InnerRendererComponent, null, params);\n };\n UserComponentFactory.prototype.getCellRendererDetails = function (def, params) {\n return this.getCompDetails(def, CellRendererComponent, null, params);\n };\n // CELL EDITOR\n UserComponentFactory.prototype.getCellEditorDetails = function (def, params) {\n return this.getCompDetails(def, CellEditorComponent, 'agCellEditor', params, true);\n };\n // FILTER\n UserComponentFactory.prototype.getFilterDetails = function (def, params, defaultFilter) {\n return this.getCompDetails(def, FilterComponent, defaultFilter, params, true);\n };\n UserComponentFactory.prototype.getDateCompDetails = function (params) {\n return this.getCompDetails(this.gridOptions, DateComponent, 'agDateInput', params, true);\n };\n UserComponentFactory.prototype.getLoadingOverlayCompDetails = function (params) {\n return this.getCompDetails(this.gridOptions, LoadingOverlayComponent, 'agLoadingOverlay', params, true);\n };\n UserComponentFactory.prototype.getNoRowsOverlayCompDetails = function (params) {\n return this.getCompDetails(this.gridOptions, NoRowsOverlayComponent, 'agNoRowsOverlay', params, true);\n };\n UserComponentFactory.prototype.getTooltipCompDetails = function (params) {\n return this.getCompDetails(params.colDef, TooltipComponent, 'agTooltipComponent', params, true);\n };\n UserComponentFactory.prototype.getSetFilterCellRendererDetails = function (def, params) {\n return this.getCompDetails(def, CellRendererComponent, null, params);\n };\n UserComponentFactory.prototype.getFloatingFilterCompDetails = function (def, params, defaultFloatingFilter) {\n return this.getCompDetails(def, FloatingFilterComponent, defaultFloatingFilter, params);\n };\n UserComponentFactory.prototype.getToolPanelCompDetails = function (toolPanelDef, params) {\n return this.getCompDetails(toolPanelDef, ToolPanelComponent, null, params, true);\n };\n UserComponentFactory.prototype.getStatusPanelCompDetails = function (def, params) {\n return this.getCompDetails(def, StatusPanelComponent, null, params, true);\n };\n UserComponentFactory.prototype.getCompDetails = function (defObject, type, defaultName, params, mandatory) {\n var _this = this;\n if (mandatory === void 0) { mandatory = false; }\n var propertyName = type.propertyName, cellRenderer = type.cellRenderer;\n var _a = this.getCompKeys(defObject, type, params), compName = _a.compName, jsComp = _a.jsComp, fwComp = _a.fwComp, paramsFromSelector = _a.paramsFromSelector, popupFromSelector = _a.popupFromSelector, popupPositionFromSelector = _a.popupPositionFromSelector;\n var lookupFromRegistry = function (key) {\n var item = _this.userComponentRegistry.retrieve(key);\n if (item) {\n jsComp = !item.componentFromFramework ? item.component : undefined;\n fwComp = item.componentFromFramework ? item.component : undefined;\n }\n };\n // if compOption is a string, means we need to look the item up\n if (compName != null) {\n lookupFromRegistry(compName);\n }\n // if lookup brought nothing back, and we have a default, lookup the default\n if (jsComp == null && fwComp == null && defaultName != null) {\n lookupFromRegistry(defaultName);\n }\n // if we have a comp option, and it's a function, replace it with an object equivalent adaptor\n if (jsComp && cellRenderer && !this.agComponentUtils.doesImplementIComponent(jsComp)) {\n jsComp = this.agComponentUtils.adaptFunction(propertyName, jsComp);\n }\n if (!jsComp && !fwComp) {\n if (mandatory) {\n console.error(\"Could not find component \" + compName + \", did you forget to configure this component?\");\n }\n return;\n }\n var paramsMerged = this.mergeParamsWithApplicationProvidedParams(defObject, type, params, paramsFromSelector);\n var componentFromFramework = jsComp == null;\n var componentClass = jsComp ? jsComp : fwComp;\n return {\n componentFromFramework: componentFromFramework,\n componentClass: componentClass,\n params: paramsMerged,\n type: type,\n popupFromSelector: popupFromSelector,\n popupPositionFromSelector: popupPositionFromSelector,\n newAgStackInstance: function () { return _this.newAgStackInstance(componentClass, componentFromFramework, paramsMerged, type); }\n };\n };\n UserComponentFactory.prototype.getCompKeys = function (defObject, type, params) {\n var _this = this;\n var propertyName = type.propertyName;\n var compName;\n var jsComp;\n var fwComp;\n var paramsFromSelector;\n var popupFromSelector;\n var popupPositionFromSelector;\n // there are two types of js comps, class based and func based. we can only check for\n // class based, by checking if getGui() exists. no way to differentiate js func based vs eg react func based\n // const isJsClassComp = (comp: any) => this.agComponentUtils.doesImplementIComponent(comp);\n // const fwActive = this.frameworkComponentWrapper != null;\n // pull from defObject if available\n if (defObject) {\n var defObjectAny = defObject;\n // if selector, use this\n var selectorFunc = defObjectAny[propertyName + 'Selector'];\n var selectorRes = selectorFunc ? selectorFunc(params) : null;\n var assignComp = function (providedJsComp, providedFwComp) {\n var xxxFrameworkDeprecatedWarn = function () {\n var warningMessage = \"AG Grid: As of v27, the property \" + propertyName + \"Framework is deprecated. The property \" + propertyName + \" can now be used for JavaScript AND Framework Components.\";\n doOnce(function () { return console.warn(warningMessage); }, \"UserComponentFactory.\" + propertyName + \"FrameworkDeprecated\");\n };\n if (typeof providedJsComp === 'string') {\n compName = providedJsComp;\n }\n else if (typeof providedFwComp === 'string') {\n xxxFrameworkDeprecatedWarn();\n compName = providedFwComp;\n // comp===true for filters, which means use the default comp\n }\n else if (providedJsComp != null && providedJsComp !== true) {\n var isFwkComp = _this.getFrameworkOverrides().isFrameworkComponent(providedJsComp);\n if (isFwkComp) {\n fwComp = providedJsComp;\n }\n else {\n jsComp = providedJsComp;\n }\n }\n else if (providedFwComp != null) {\n xxxFrameworkDeprecatedWarn();\n fwComp = providedFwComp;\n }\n };\n if (selectorRes) {\n if (selectorRes.frameworkComponent != null) {\n var warningMessage_1 = \"AG Grid: As of v27, the return for \" + propertyName + \"Selector has attributes [component, params] only. The attribute frameworkComponent is deprecated. You should now return back Framework Components using the 'component' attribute and the grid works out if it's a framework component or not.\";\n doOnce(function () { return console.warn(warningMessage_1); }, \"UserComponentFactory.\" + propertyName + \"FrameworkSelectorDeprecated\");\n assignComp(selectorRes.frameworkComponent, undefined);\n }\n else {\n assignComp(selectorRes.component, undefined);\n }\n paramsFromSelector = selectorRes.params;\n popupFromSelector = selectorRes.popup;\n popupPositionFromSelector = selectorRes.popupPosition;\n }\n else {\n // if no selector, or result of selector is empty, take from defObject\n assignComp(defObjectAny[propertyName], defObjectAny[propertyName + 'Framework']);\n }\n }\n return { compName: compName, jsComp: jsComp, fwComp: fwComp, paramsFromSelector: paramsFromSelector, popupFromSelector: popupFromSelector, popupPositionFromSelector: popupPositionFromSelector };\n };\n UserComponentFactory.prototype.newAgStackInstance = function (ComponentClass, componentFromFramework, params, type) {\n var propertyName = type.propertyName;\n var jsComponent = !componentFromFramework;\n // using javascript component\n var instance;\n if (jsComponent) {\n instance = new ComponentClass();\n }\n else {\n // Using framework component\n var thisComponentConfig = this.componentMetadataProvider.retrieve(propertyName);\n instance = this.frameworkComponentWrapper.wrap(ComponentClass, thisComponentConfig.mandatoryMethodList, thisComponentConfig.optionalMethodList, type);\n }\n var deferredInit = this.initComponent(instance, params);\n if (deferredInit == null) {\n return AgPromise.resolve(instance);\n }\n return deferredInit.then(function () { return instance; });\n };\n // used by Floating Filter\n UserComponentFactory.prototype.mergeParamsWithApplicationProvidedParams = function (defObject, type, paramsFromGrid, paramsFromSelector) {\n if (paramsFromSelector === void 0) { paramsFromSelector = null; }\n var params = {\n context: this.gridOptionsWrapper.getContext(),\n columnApi: this.gridOptionsWrapper.getColumnApi(),\n api: this.gridOptionsWrapper.getApi()\n };\n mergeDeep(params, paramsFromGrid);\n // pull user params from either the old prop name and new prop name\n // eg either cellRendererParams and cellCompParams\n var defObjectAny = defObject;\n var userParams = defObjectAny && defObjectAny[type.propertyName + 'Params'];\n if (typeof userParams === 'function') {\n var userParamsFromFunc = userParams(paramsFromGrid);\n mergeDeep(params, userParamsFromFunc);\n }\n else if (typeof userParams === 'object') {\n mergeDeep(params, userParams);\n }\n mergeDeep(params, paramsFromSelector);\n return params;\n };\n UserComponentFactory.prototype.initComponent = function (component, params) {\n this.context.createBean(component);\n if (component.init == null) {\n return;\n }\n return component.init(params);\n };\n UserComponentFactory.prototype.getDefaultFloatingFilterType = function (def) {\n if (def == null) {\n return null;\n }\n var defaultFloatingFilterType = null;\n var _a = this.getCompKeys(def, FilterComponent), compName = _a.compName, jsComp = _a.jsComp, fwComp = _a.fwComp;\n if (compName) {\n // will be undefined if not in the map\n defaultFloatingFilterType = FloatingFilterMapper.getFloatingFilterType(compName);\n }\n else {\n var usingDefaultFilter = (jsComp == null && fwComp == null) && (def.filter === true);\n if (usingDefaultFilter) {\n var setFilterModuleLoaded = ModuleRegistry.isRegistered(ModuleNames.SetFilterModule);\n defaultFloatingFilterType = setFilterModuleLoaded ? 'agSetColumnFloatingFilter' : 'agTextColumnFloatingFilter';\n }\n }\n return defaultFloatingFilterType;\n };\n __decorate$1W([\n Autowired('gridOptions')\n ], UserComponentFactory.prototype, \"gridOptions\", void 0);\n __decorate$1W([\n Autowired('agComponentUtils')\n ], UserComponentFactory.prototype, \"agComponentUtils\", void 0);\n __decorate$1W([\n Autowired('componentMetadataProvider')\n ], UserComponentFactory.prototype, \"componentMetadataProvider\", void 0);\n __decorate$1W([\n Autowired('userComponentRegistry')\n ], UserComponentFactory.prototype, \"userComponentRegistry\", void 0);\n __decorate$1W([\n Optional('frameworkComponentWrapper')\n ], UserComponentFactory.prototype, \"frameworkComponentWrapper\", void 0);\n UserComponentFactory = __decorate$1W([\n Bean('userComponentFactory')\n ], UserComponentFactory);\n return UserComponentFactory;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\n// Excel Export\nvar ExcelFactoryMode;\n(function (ExcelFactoryMode) {\n ExcelFactoryMode[ExcelFactoryMode[\"SINGLE_SHEET\"] = 0] = \"SINGLE_SHEET\";\n ExcelFactoryMode[ExcelFactoryMode[\"MULTI_SHEET\"] = 1] = \"MULTI_SHEET\";\n})(ExcelFactoryMode || (ExcelFactoryMode = {}));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$27 = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$1V = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n/** Adds drag listening onto an element. In AG Grid this is used twice, first is resizing columns,\n * second is moving the columns and column groups around (ie the 'drag' part of Drag and Drop. */\nvar DragService = /** @class */ (function (_super) {\n __extends$27(DragService, _super);\n function DragService() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.dragEndFunctions = [];\n _this.dragSources = [];\n return _this;\n }\n DragService.prototype.init = function () {\n this.logger = this.loggerFactory.create('DragService');\n };\n DragService.prototype.removeAllListeners = function () {\n this.dragSources.forEach(this.removeListener.bind(this));\n this.dragSources.length = 0;\n };\n DragService.prototype.removeListener = function (dragSourceAndListener) {\n var element = dragSourceAndListener.dragSource.eElement;\n var mouseDownListener = dragSourceAndListener.mouseDownListener;\n element.removeEventListener('mousedown', mouseDownListener);\n // remove touch listener only if it exists\n if (dragSourceAndListener.touchEnabled) {\n var touchStartListener = dragSourceAndListener.touchStartListener;\n element.removeEventListener('touchstart', touchStartListener, { passive: true });\n }\n };\n DragService.prototype.removeDragSource = function (params) {\n var dragSourceAndListener = this.dragSources.find(function (item) { return item.dragSource === params; });\n if (!dragSourceAndListener) {\n return;\n }\n this.removeListener(dragSourceAndListener);\n removeFromArray(this.dragSources, dragSourceAndListener);\n };\n DragService.prototype.isDragging = function () {\n return this.dragging;\n };\n DragService.prototype.addDragSource = function (params, includeTouch) {\n var _this = this;\n if (includeTouch === void 0) { includeTouch = false; }\n var mouseListener = this.onMouseDown.bind(this, params);\n params.eElement.addEventListener('mousedown', mouseListener);\n var touchListener = null;\n var suppressTouch = this.gridOptionsWrapper.isSuppressTouch();\n if (includeTouch && !suppressTouch) {\n touchListener = function (touchEvent) {\n if (isFocusableFormField(touchEvent.target)) {\n return;\n }\n if (touchEvent.cancelable) {\n touchEvent.preventDefault();\n }\n _this.onTouchStart(params, touchEvent);\n };\n // we set passive=false, as we want to prevent default on this event\n params.eElement.addEventListener('touchstart', touchListener, { passive: false });\n }\n this.dragSources.push({\n dragSource: params,\n mouseDownListener: mouseListener,\n touchStartListener: touchListener,\n touchEnabled: includeTouch\n });\n };\n // gets called whenever mouse down on any drag source\n DragService.prototype.onTouchStart = function (params, touchEvent) {\n var _this = this;\n this.currentDragParams = params;\n this.dragging = false;\n var touch = touchEvent.touches[0];\n this.touchLastTime = touch;\n this.touchStart = touch;\n var touchMoveEvent = function (e) { return _this.onTouchMove(e, params.eElement); };\n var touchEndEvent = function (e) { return _this.onTouchUp(e, params.eElement); };\n var documentTouchMove = function (e) { if (e.cancelable) {\n e.preventDefault();\n } };\n var target = touchEvent.target;\n var events = [\n // Prevents the page document from moving while we are dragging items around.\n // preventDefault needs to be called in the touchmove listener and never inside the\n // touchstart, because using touchstart causes the click event to be cancelled on touch devices.\n { target: document, type: 'touchmove', listener: documentTouchMove, options: { passive: false } },\n { target: target, type: 'touchmove', listener: touchMoveEvent, options: { passive: true } },\n { target: target, type: 'touchend', listener: touchEndEvent, options: { passive: true } },\n { target: target, type: 'touchcancel', listener: touchEndEvent, options: { passive: true } }\n ];\n // temporally add these listeners, for the duration of the drag\n this.addTemporaryEvents(events);\n // see if we want to start dragging straight away\n if (params.dragStartPixels === 0) {\n this.onCommonMove(touch, this.touchStart, params.eElement);\n }\n };\n // gets called whenever mouse down on any drag source\n DragService.prototype.onMouseDown = function (params, mouseEvent) {\n var _this = this;\n var e = mouseEvent;\n if (params.skipMouseEvent && params.skipMouseEvent(mouseEvent)) {\n return;\n }\n // if there are two elements with parent / child relationship, and both are draggable,\n // when we drag the child, we should NOT drag the parent. an example of this is row moving\n // and range selection - row moving should get preference when use drags the rowDrag component.\n if (e._alreadyProcessedByDragService) {\n return;\n }\n e._alreadyProcessedByDragService = true;\n // only interested in left button clicks\n if (mouseEvent.button !== 0) {\n return;\n }\n this.currentDragParams = params;\n this.dragging = false;\n this.mouseStartEvent = mouseEvent;\n var eDocument = this.gridOptionsWrapper.getDocument();\n var mouseMoveEvent = function (event) { return _this.onMouseMove(event, params.eElement); };\n var mouseUpEvent = function (event) { return _this.onMouseUp(event, params.eElement); };\n var contextEvent = function (event) { return event.preventDefault(); };\n var target = eDocument;\n var events = [\n { target: target, type: 'mousemove', listener: mouseMoveEvent },\n { target: target, type: 'mouseup', listener: mouseUpEvent },\n { target: target, type: 'contextmenu', listener: contextEvent }\n ];\n // temporally add these listeners, for the duration of the drag\n this.addTemporaryEvents(events);\n //see if we want to start dragging straight away\n if (params.dragStartPixels === 0) {\n this.onMouseMove(mouseEvent, params.eElement);\n }\n };\n DragService.prototype.addTemporaryEvents = function (events) {\n events.forEach(function (currentEvent) {\n var target = currentEvent.target, type = currentEvent.type, listener = currentEvent.listener, options = currentEvent.options;\n target.addEventListener(type, listener, options);\n });\n this.dragEndFunctions.push(function () {\n events.forEach(function (currentEvent) {\n var target = currentEvent.target, type = currentEvent.type, listener = currentEvent.listener, options = currentEvent.options;\n target.removeEventListener(type, listener, options);\n });\n });\n };\n // returns true if the event is close to the original event by X pixels either vertically or horizontally.\n // we only start dragging after X pixels so this allows us to know if we should start dragging yet.\n DragService.prototype.isEventNearStartEvent = function (currentEvent, startEvent) {\n // by default, we wait 4 pixels before starting the drag\n var dragStartPixels = this.currentDragParams.dragStartPixels;\n var requiredPixelDiff = exists(dragStartPixels) ? dragStartPixels : 4;\n return areEventsNear(currentEvent, startEvent, requiredPixelDiff);\n };\n DragService.prototype.getFirstActiveTouch = function (touchList) {\n for (var i = 0; i < touchList.length; i++) {\n if (touchList[i].identifier === this.touchStart.identifier) {\n return touchList[i];\n }\n }\n return null;\n };\n DragService.prototype.onCommonMove = function (currentEvent, startEvent, el) {\n if (!this.dragging) {\n // if mouse hasn't travelled from the start position enough, do nothing\n if (!this.dragging && this.isEventNearStartEvent(currentEvent, startEvent)) {\n return;\n }\n this.dragging = true;\n var event_1 = {\n type: Events.EVENT_DRAG_STARTED,\n target: el\n };\n this.eventService.dispatchEvent(event_1);\n this.currentDragParams.onDragStart(startEvent);\n // we need ONE drag action at the startEvent, so that we are guaranteed the drop target\n // at the start gets notified. this is because the drag can start outside of the element\n // that started it, as the mouse is allowed drag away from the mouse down before it's\n // considered a drag (the isEventNearStartEvent() above). if we didn't do this, then\n // it would be possible to click a column by the edge, then drag outside of the drop zone\n // in less than 4 pixels and the drag officially starts outside of the header but the header\n // wouldn't be notified of the dragging.\n this.currentDragParams.onDragging(startEvent);\n }\n this.currentDragParams.onDragging(currentEvent);\n };\n DragService.prototype.onTouchMove = function (touchEvent, el) {\n var touch = this.getFirstActiveTouch(touchEvent.touches);\n if (!touch) {\n return;\n }\n // this.___statusPanel.setInfoText(Math.random() + ' onTouchMove preventDefault stopPropagation');\n this.onCommonMove(touch, this.touchStart, el);\n };\n // only gets called after a mouse down - as this is only added after mouseDown\n // and is removed when mouseUp happens\n DragService.prototype.onMouseMove = function (mouseEvent, el) {\n // when `isEnableCellTextSelect` is `true`, we need to preventDefault on mouseMove\n // to avoid the grid text being selected while dragging components.\n // Note: Safari also has an issue, where `user-select: none` is not being respected.\n if ((this.gridOptionsWrapper.isEnableCellTextSelect() || isBrowserSafari()) &&\n // The event type can be `mousedown` when `dragStartPixels=0`\n // we should only preventDefault on `mousemove`.\n mouseEvent.type === 'mousemove' &&\n mouseEvent.cancelable &&\n this.mouseEventService.isEventFromThisGrid(mouseEvent) &&\n // we should not prevent mouseMove when above a form field\n // as that would prevent the text in the field from being selected\n !this.isOverFormFieldElement(mouseEvent)) {\n mouseEvent.preventDefault();\n }\n this.onCommonMove(mouseEvent, this.mouseStartEvent, el);\n };\n DragService.prototype.isOverFormFieldElement = function (mouseEvent) {\n var _a, _b;\n var el = mouseEvent.target;\n var tagName = (_a = el) === null || _a === void 0 ? void 0 : _a.tagName.toLocaleLowerCase();\n return !!((_b = tagName) === null || _b === void 0 ? void 0 : _b.match('^a$|textarea|input|select|button'));\n };\n DragService.prototype.onTouchUp = function (touchEvent, el) {\n var touch = this.getFirstActiveTouch(touchEvent.changedTouches);\n // i haven't worked this out yet, but there is no matching touch\n // when we get the touch up event. to get around this, we swap in\n // the last touch. this is a hack to 'get it working' while we\n // figure out what's going on, why we are not getting a touch in\n // current event.\n if (!touch) {\n touch = this.touchLastTime;\n }\n // if mouse was left up before we started to move, then this is a tap.\n // we check this before onUpCommon as onUpCommon resets the dragging\n // let tap = !this.dragging;\n // let tapTarget = this.currentDragParams.eElement;\n this.onUpCommon(touch, el);\n // if tap, tell user\n // console.log(`${Math.random()} tap = ${tap}`);\n // if (tap) {\n // tapTarget.click();\n // }\n };\n DragService.prototype.onMouseUp = function (mouseEvent, el) {\n this.onUpCommon(mouseEvent, el);\n };\n DragService.prototype.onUpCommon = function (eventOrTouch, el) {\n if (this.dragging) {\n this.dragging = false;\n this.currentDragParams.onDragStop(eventOrTouch);\n var event_2 = {\n type: Events.EVENT_DRAG_STOPPED,\n target: el\n };\n this.eventService.dispatchEvent(event_2);\n }\n this.mouseStartEvent = null;\n this.touchStart = null;\n this.touchLastTime = null;\n this.currentDragParams = null;\n this.dragEndFunctions.forEach(function (func) { return func(); });\n this.dragEndFunctions.length = 0;\n };\n __decorate$1V([\n Autowired('loggerFactory')\n ], DragService.prototype, \"loggerFactory\", void 0);\n __decorate$1V([\n Autowired('mouseEventService')\n ], DragService.prototype, \"mouseEventService\", void 0);\n __decorate$1V([\n PostConstruct\n ], DragService.prototype, \"init\", null);\n __decorate$1V([\n PreDestroy\n ], DragService.prototype, \"removeAllListeners\", null);\n DragService = __decorate$1V([\n Bean('dragService')\n ], DragService);\n return DragService;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$26 = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign$7 = (undefined && undefined.__assign) || function () {\n __assign$7 = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign$7.apply(this, arguments);\n};\nvar __decorate$1U = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar FilterManager = /** @class */ (function (_super) {\n __extends$26(FilterManager, _super);\n function FilterManager() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.allColumnFilters = new Map();\n _this.activeAggregateFilters = [];\n _this.activeColumnFilters = [];\n _this.quickFilter = null;\n _this.quickFilterParts = null;\n // this is true when the grid is processing the filter change. this is used by the cell comps, so that they\n // don't flash when data changes due to filter changes. there is no need to flash when filter changes as the\n // user is in control, so doesn't make sense to show flashing changes. for example, go to main demo where\n // this feature is turned off (hack code to always return false for isSuppressFlashingCellsBecauseFiltering(), put in)\n // 100,000 rows and group by country. then do some filtering. all the cells flash, which is silly.\n _this.processingFilterChange = false;\n return _this;\n }\n FilterManager_1 = FilterManager;\n FilterManager.prototype.init = function () {\n var _this = this;\n this.addManagedListener(this.eventService, Events.EVENT_GRID_COLUMNS_CHANGED, function () { return _this.onColumnsChanged(); });\n this.addManagedListener(this.eventService, Events.EVENT_COLUMN_VALUE_CHANGED, function () { return _this.refreshFiltersForAggregations(); });\n this.addManagedListener(this.eventService, Events.EVENT_COLUMN_PIVOT_CHANGED, function () { return _this.refreshFiltersForAggregations(); });\n this.addManagedListener(this.eventService, Events.EVENT_COLUMN_PIVOT_MODE_CHANGED, function () { return _this.refreshFiltersForAggregations(); });\n this.quickFilter = this.parseQuickFilter(this.gridOptionsWrapper.getQuickFilterText());\n this.setQuickFilterParts();\n this.allowShowChangeAfterFilter = this.gridOptionsWrapper.isAllowShowChangeAfterFilter();\n this.externalFilterPresent = this.gridOptionsWrapper.isExternalFilterPresent();\n };\n FilterManager.prototype.setQuickFilterParts = function () {\n this.quickFilterParts = this.quickFilter ? this.quickFilter.split(' ') : null;\n };\n FilterManager.prototype.setFilterModel = function (model) {\n var _this = this;\n var allPromises = [];\n var previousModel = this.getFilterModel();\n if (model) {\n // mark the filters as we set them, so any active filters left over we stop\n var modelKeys_1 = convertToSet(Object.keys(model));\n this.allColumnFilters.forEach(function (filterWrapper, colId) {\n var newModel = model[colId];\n allPromises.push(_this.setModelOnFilterWrapper(filterWrapper.filterPromise, newModel));\n modelKeys_1.delete(colId);\n });\n // at this point, processedFields contains data for which we don't have a filter working yet\n modelKeys_1.forEach(function (colId) {\n var column = _this.columnModel.getPrimaryColumn(colId) || _this.columnModel.getGridColumn(colId);\n if (!column) {\n console.warn('AG Grid: setFilterModel() - no column found for colId: ' + colId);\n return;\n }\n if (!column.isFilterAllowed()) {\n console.warn('AG Grid: setFilterModel() - unable to fully apply model, filtering disabled for colId: ' + colId);\n return;\n }\n var filterWrapper = _this.getOrCreateFilterWrapper(column, 'NO_UI');\n if (!filterWrapper) {\n console.warn('AG-Grid: setFilterModel() - unable to fully apply model, unable to create filter for colId: ' + colId);\n return;\n }\n allPromises.push(_this.setModelOnFilterWrapper(filterWrapper.filterPromise, model[colId]));\n });\n }\n else {\n this.allColumnFilters.forEach(function (filterWrapper) {\n allPromises.push(_this.setModelOnFilterWrapper(filterWrapper.filterPromise, null));\n });\n }\n AgPromise.all(allPromises).then(function () {\n var currentModel = _this.getFilterModel();\n var columns = [];\n _this.allColumnFilters.forEach(function (filterWrapper, colId) {\n var before = previousModel ? previousModel[colId] : null;\n var after = currentModel ? currentModel[colId] : null;\n if (!_.jsonEquals(before, after)) {\n columns.push(filterWrapper.column);\n }\n });\n if (columns.length > 0) {\n _this.onFilterChanged({ columns: columns });\n }\n });\n };\n FilterManager.prototype.setModelOnFilterWrapper = function (filterPromise, newModel) {\n return new AgPromise(function (resolve) {\n filterPromise.then(function (filter) {\n if (typeof filter.setModel !== 'function') {\n console.warn('AG Grid: filter missing setModel method, which is needed for setFilterModel');\n resolve();\n }\n (filter.setModel(newModel) || AgPromise.resolve()).then(function () { return resolve(); });\n });\n });\n };\n FilterManager.prototype.getFilterModel = function () {\n var result = {};\n this.allColumnFilters.forEach(function (filterWrapper, key) {\n // because user can provide filters, we provide useful error checking and messages\n var filterPromise = filterWrapper.filterPromise;\n var filter = filterPromise.resolveNow(null, function (promiseFilter) { return promiseFilter; });\n if (filter == null) {\n return null;\n }\n if (typeof filter.getModel !== 'function') {\n console.warn('AG Grid: filter API missing getModel method, which is needed for getFilterModel');\n return;\n }\n var model = filter.getModel();\n if (exists(model)) {\n result[key] = model;\n }\n });\n return result;\n };\n FilterManager.prototype.isColumnFilterPresent = function () {\n return this.activeColumnFilters.length > 0;\n };\n FilterManager.prototype.isAggregateFilterPresent = function () {\n return !!this.activeAggregateFilters.length;\n };\n FilterManager.prototype.isExternalFilterPresent = function () {\n return this.externalFilterPresent;\n };\n FilterManager.prototype.doAggregateFiltersPass = function (node, filterToSkip) {\n return this.doColumnFiltersPass(node, filterToSkip, true);\n };\n // called by:\n // 1) onFilterChanged()\n // 2) onNewRowsLoaded()\n FilterManager.prototype.updateActiveFilters = function () {\n var _this = this;\n this.activeColumnFilters.length = 0;\n this.activeAggregateFilters.length = 0;\n var isFilterActive = function (filter) {\n if (!filter) {\n return false;\n } // this never happens, including to avoid compile error\n if (!filter.isFilterActive) {\n console.warn('AG Grid: Filter is missing isFilterActive() method');\n return false;\n }\n return filter.isFilterActive();\n };\n var groupFilterEnabled = !!this.gridOptionsWrapper.getGroupAggFiltering();\n var isAggFilter = function (column) {\n var isSecondary = !column.isPrimary();\n // the only filters that can appear on secondary columns are groupAgg filters\n if (isSecondary) {\n return true;\n }\n var isShowingPrimaryColumns = !_this.columnModel.isPivotActive();\n var isValueActive = column.isValueActive();\n // primary columns are only ever groupAgg filters if a) value is active and b) showing primary columns\n if (!isValueActive || !isShowingPrimaryColumns) {\n return false;\n }\n // from here on we know: isPrimary=true, isValueActive=true, isShowingPrimaryColumns=true\n if (_this.columnModel.isPivotMode()) {\n // primary column is pretending to be a pivot column, ie pivotMode=true, but we are\n // still showing primary columns\n return true;\n }\n else {\n // we are not pivoting, so we groupFilter when it's an agg column\n return groupFilterEnabled;\n }\n };\n this.allColumnFilters.forEach(function (filterWrapper) {\n if (filterWrapper.filterPromise.resolveNow(false, isFilterActive)) {\n var filterComp = filterWrapper.filterPromise.resolveNow(null, function (filter) { return filter; });\n if (isAggFilter(filterWrapper.column)) {\n _this.activeAggregateFilters.push(filterComp);\n }\n else {\n _this.activeColumnFilters.push(filterComp);\n }\n }\n });\n };\n FilterManager.prototype.updateFilterFlagInColumns = function (source, additionalEventAttributes) {\n this.allColumnFilters.forEach(function (filterWrapper) {\n var isFilterActive = filterWrapper.filterPromise.resolveNow(false, function (filter) { return filter.isFilterActive(); });\n filterWrapper.column.setFilterActive(isFilterActive, source, additionalEventAttributes);\n });\n };\n FilterManager.prototype.isAnyFilterPresent = function () {\n return this.isQuickFilterPresent() || this.isColumnFilterPresent() || this.isAggregateFilterPresent() || this.isExternalFilterPresent();\n };\n FilterManager.prototype.doColumnFiltersPass = function (node, filterToSkip, targetAggregates) {\n var data = node.data, aggData = node.aggData;\n var targetedFilters = targetAggregates ? this.activeAggregateFilters : this.activeColumnFilters;\n var targetedData = targetAggregates ? aggData : data;\n for (var i = 0; i < targetedFilters.length; i++) {\n var filter = targetedFilters[i];\n if (filter == null || filter === filterToSkip) {\n continue;\n }\n if (typeof filter.doesFilterPass !== 'function') {\n // because users can do custom filters, give nice error message\n throw new Error('Filter is missing method doesFilterPass');\n }\n if (!filter.doesFilterPass({ node: node, data: targetedData })) {\n return false;\n }\n }\n return true;\n };\n FilterManager.prototype.parseQuickFilter = function (newFilter) {\n if (!exists(newFilter)) {\n return null;\n }\n if (!this.gridOptionsWrapper.isRowModelDefault()) {\n console.warn('AG Grid - Quick filtering only works with the Client-Side Row Model');\n return null;\n }\n return newFilter.toUpperCase();\n };\n FilterManager.prototype.setQuickFilter = function (newFilter) {\n if (newFilter != null && typeof newFilter !== 'string') {\n console.warn(\"AG Grid - setQuickFilter() only supports string inputs, received: \" + typeof newFilter);\n return;\n }\n var parsedFilter = this.parseQuickFilter(newFilter);\n if (this.quickFilter !== parsedFilter) {\n this.quickFilter = parsedFilter;\n this.setQuickFilterParts();\n this.onFilterChanged();\n }\n };\n FilterManager.prototype.refreshFiltersForAggregations = function () {\n var isAggFiltering = this.gridOptionsWrapper.getGroupAggFiltering();\n if (isAggFiltering) {\n this.onFilterChanged();\n }\n };\n // sometimes (especially in React) the filter can call onFilterChanged when we are in the middle\n // of a render cycle. this would be bad, so we wait for render cycle to complete when this happens.\n // this happens in react when we change React State in the grid (eg setting RowCtrl's in RowContainer)\n // which results in React State getting applied in the main application, triggering a useEffect() to\n // be kicked off adn then the application calling the grid's API. in AG-6554, the custom filter was\n // getting it's useEffect() triggered in this way.\n FilterManager.prototype.callOnFilterChangedOutsideRenderCycle = function (params) {\n var _this = this;\n if (params === void 0) { params = {}; }\n var action = function () { return _this.onFilterChanged(params); };\n if (this.rowRenderer.isRefreshInProgress()) {\n setTimeout(action, 0);\n }\n else {\n action();\n }\n };\n FilterManager.prototype.onFilterChanged = function (params) {\n if (params === void 0) { params = {}; }\n var filterInstance = params.filterInstance, additionalEventAttributes = params.additionalEventAttributes, columns = params.columns;\n this.updateActiveFilters();\n this.updateFilterFlagInColumns('filterChanged', additionalEventAttributes);\n this.externalFilterPresent = this.gridOptionsWrapper.isExternalFilterPresent();\n this.allColumnFilters.forEach(function (filterWrapper) {\n if (!filterWrapper.filterPromise) {\n return;\n }\n filterWrapper.filterPromise.then(function (filter) {\n if (filter && filter !== filterInstance && filter.onAnyFilterChanged) {\n filter.onAnyFilterChanged();\n }\n });\n });\n var filterChangedEvent = {\n type: Events.EVENT_FILTER_CHANGED,\n columns: columns || [],\n };\n if (additionalEventAttributes) {\n mergeDeep(filterChangedEvent, additionalEventAttributes);\n }\n // because internal events are not async in ag-grid, when the dispatchEvent\n // method comes back, we know all listeners have finished executing.\n this.processingFilterChange = true;\n this.eventService.dispatchEvent(filterChangedEvent);\n this.processingFilterChange = false;\n };\n FilterManager.prototype.isSuppressFlashingCellsBecauseFiltering = function () {\n // if user has elected to always flash cell changes, then always return false, otherwise we suppress flashing\n // changes when filtering\n return !this.allowShowChangeAfterFilter && this.processingFilterChange;\n };\n FilterManager.prototype.isQuickFilterPresent = function () {\n return this.quickFilter !== null;\n };\n FilterManager.prototype.doesRowPassOtherFilters = function (filterToSkip, node) {\n return this.doesRowPassFilter({ rowNode: node, filterInstanceToSkip: filterToSkip });\n };\n FilterManager.prototype.doesRowPassQuickFilterNoCache = function (node, filterPart) {\n var _this = this;\n var columns = this.columnModel.getAllColumnsForQuickFilter();\n return columns.some(function (column) {\n var part = _this.getQuickFilterTextForColumn(column, node);\n return exists(part) && part.indexOf(filterPart) >= 0;\n });\n };\n FilterManager.prototype.doesRowPassQuickFilterCache = function (node, filterPart) {\n if (!node.quickFilterAggregateText) {\n this.aggregateRowForQuickFilter(node);\n }\n return node.quickFilterAggregateText.indexOf(filterPart) >= 0;\n };\n FilterManager.prototype.doesRowPassQuickFilter = function (node) {\n var _this = this;\n var usingCache = this.gridOptionsWrapper.isCacheQuickFilter();\n // each part must pass, if any fails, then the whole filter fails\n return this.quickFilterParts.every(function (part) {\n return usingCache ? _this.doesRowPassQuickFilterCache(node, part) : _this.doesRowPassQuickFilterNoCache(node, part);\n });\n };\n FilterManager.prototype.doesRowPassAggregateFilters = function (params) {\n if (this.isAggregateFilterPresent() && !this.doAggregateFiltersPass(params.rowNode, params.filterInstanceToSkip)) {\n return false;\n }\n // got this far, all filters pass\n return true;\n };\n FilterManager.prototype.doesRowPassFilter = function (params) {\n // the row must pass ALL of the filters, so if any of them fail,\n // we return true. that means if a row passes the quick filter,\n // but fails the column filter, it fails overall\n // first up, check quick filter\n if (this.isQuickFilterPresent() && !this.doesRowPassQuickFilter(params.rowNode)) {\n return false;\n }\n // secondly, give the client a chance to reject this row\n if (this.isExternalFilterPresent() && !this.gridOptionsWrapper.doesExternalFilterPass(params.rowNode)) {\n return false;\n }\n // lastly, check column filter\n if (this.isColumnFilterPresent() && !this.doColumnFiltersPass(params.rowNode, params.filterInstanceToSkip)) {\n return false;\n }\n // got this far, all filters pass\n return true;\n };\n FilterManager.prototype.getQuickFilterTextForColumn = function (column, node) {\n var value = this.valueService.getValue(column, node, true);\n var colDef = column.getColDef();\n if (colDef.getQuickFilterText) {\n var params = {\n value: value,\n node: node,\n data: node.data,\n column: column,\n colDef: colDef,\n api: this.gridOptionsWrapper.getApi(),\n columnApi: this.gridOptionsWrapper.getColumnApi(),\n context: this.gridOptionsWrapper.getContext()\n };\n value = colDef.getQuickFilterText(params);\n }\n return exists(value) ? value.toString().toUpperCase() : null;\n };\n FilterManager.prototype.aggregateRowForQuickFilter = function (node) {\n var _this = this;\n var stringParts = [];\n var columns = this.columnModel.getAllColumnsForQuickFilter();\n columns.forEach(function (column) {\n var part = _this.getQuickFilterTextForColumn(column, node);\n if (exists(part)) {\n stringParts.push(part);\n }\n });\n node.quickFilterAggregateText = stringParts.join(FilterManager_1.QUICK_FILTER_SEPARATOR);\n };\n FilterManager.prototype.onNewRowsLoaded = function (source) {\n this.allColumnFilters.forEach(function (filterWrapper) {\n filterWrapper.filterPromise.then(function (filter) {\n if (filter.onNewRowsLoaded) {\n filter.onNewRowsLoaded();\n }\n });\n });\n this.updateFilterFlagInColumns(source);\n this.updateActiveFilters();\n };\n FilterManager.prototype.createValueGetter = function (column) {\n var _this = this;\n return function (_a) {\n var node = _a.node;\n return _this.valueService.getValue(column, node, true);\n };\n };\n FilterManager.prototype.getFilterComponent = function (column, source, createIfDoesNotExist) {\n if (createIfDoesNotExist === void 0) { createIfDoesNotExist = true; }\n var _a;\n if (createIfDoesNotExist) {\n return ((_a = this.getOrCreateFilterWrapper(column, source)) === null || _a === void 0 ? void 0 : _a.filterPromise) || null;\n }\n var filterWrapper = this.cachedFilter(column);\n return filterWrapper ? filterWrapper.filterPromise : null;\n };\n FilterManager.prototype.isFilterActive = function (column) {\n var filterWrapper = this.cachedFilter(column);\n return !!filterWrapper && filterWrapper.filterPromise.resolveNow(false, function (filter) { return filter.isFilterActive(); });\n };\n FilterManager.prototype.getOrCreateFilterWrapper = function (column, source) {\n if (!column.isFilterAllowed()) {\n return null;\n }\n var filterWrapper = this.cachedFilter(column);\n if (!filterWrapper) {\n filterWrapper = this.createFilterWrapper(column, source);\n this.allColumnFilters.set(column.getColId(), filterWrapper);\n }\n else if (source !== 'NO_UI') {\n this.putIntoGui(filterWrapper, source);\n }\n return filterWrapper;\n };\n FilterManager.prototype.cachedFilter = function (column) {\n return this.allColumnFilters.get(column.getColId());\n };\n FilterManager.prototype.createFilterInstance = function (column) {\n var _this = this;\n var defaultFilter = ModuleRegistry.isRegistered(ModuleNames.SetFilterModule) ? 'agSetColumnFilter' : 'agTextColumnFilter';\n var colDef = column.getColDef();\n var filterInstance;\n var params = __assign$7(__assign$7({}, this.createFilterParams(column, colDef)), { filterModifiedCallback: function () {\n var event = {\n type: Events.EVENT_FILTER_MODIFIED,\n column: column,\n filterInstance: filterInstance\n };\n _this.eventService.dispatchEvent(event);\n }, filterChangedCallback: function (additionalEventAttributes) {\n var params = { filterInstance: filterInstance, additionalEventAttributes: additionalEventAttributes, columns: [column] };\n _this.callOnFilterChangedOutsideRenderCycle(params);\n }, doesRowPassOtherFilter: function (node) { return _this.doesRowPassOtherFilters(filterInstance, node); } });\n var compDetails = this.userComponentFactory.getFilterDetails(colDef, params, defaultFilter);\n if (!compDetails) {\n return null;\n }\n var componentPromise = compDetails.newAgStackInstance();\n if (componentPromise) {\n componentPromise.then(function (r) { return filterInstance = r; });\n }\n return componentPromise;\n };\n FilterManager.prototype.createFilterParams = function (column, colDef) {\n var params = {\n api: this.gridOptionsWrapper.getApi(),\n columnApi: this.gridOptionsWrapper.getColumnApi(),\n column: column,\n colDef: cloneObject(colDef),\n rowModel: this.rowModel,\n filterChangedCallback: function () { },\n filterModifiedCallback: function () { },\n valueGetter: this.createValueGetter(column),\n context: this.gridOptionsWrapper.getContext(),\n doesRowPassOtherFilter: function () { return true; },\n };\n return params;\n };\n FilterManager.prototype.createFilterWrapper = function (column, source) {\n var filterWrapper = {\n column: column,\n filterPromise: null,\n compiledElement: null,\n guiPromise: AgPromise.resolve(null)\n };\n filterWrapper.filterPromise = this.createFilterInstance(column);\n if (filterWrapper.filterPromise) {\n this.putIntoGui(filterWrapper, source);\n }\n return filterWrapper;\n };\n FilterManager.prototype.putIntoGui = function (filterWrapper, source) {\n var _this = this;\n var eFilterGui = document.createElement('div');\n eFilterGui.className = 'ag-filter';\n filterWrapper.guiPromise = new AgPromise(function (resolve) {\n filterWrapper.filterPromise.then(function (filter) {\n var guiFromFilter = filter.getGui();\n if (!exists(guiFromFilter)) {\n console.warn(\"AG Grid: getGui method from filter returned \" + guiFromFilter + \", it should be a DOM element or an HTML template string.\");\n }\n // for backwards compatibility with Angular 1 - we\n // used to allow providing back HTML from getGui().\n // once we move away from supporting Angular 1\n // directly, we can change this.\n if (typeof guiFromFilter === 'string') {\n guiFromFilter = loadTemplate(guiFromFilter);\n }\n eFilterGui.appendChild(guiFromFilter);\n resolve(eFilterGui);\n var event = {\n type: Events.EVENT_FILTER_OPENED,\n column: filterWrapper.column,\n source: source,\n eGui: eFilterGui\n };\n _this.eventService.dispatchEvent(event);\n });\n });\n };\n FilterManager.prototype.onColumnsChanged = function () {\n var _this = this;\n var columns = [];\n this.allColumnFilters.forEach(function (wrapper, colId) {\n var currentColumn;\n if (wrapper.column.isPrimary()) {\n currentColumn = _this.columnModel.getPrimaryColumn(colId);\n }\n else {\n currentColumn = _this.columnModel.getGridColumn(colId);\n }\n if (currentColumn) {\n return;\n }\n columns.push(wrapper.column);\n _this.disposeFilterWrapper(wrapper, 'filterDestroyed');\n });\n if (columns.length > 0) {\n this.onFilterChanged({ columns: columns });\n }\n };\n // destroys the filter, so it not longer takes part\n FilterManager.prototype.destroyFilter = function (column, source) {\n if (source === void 0) { source = 'api'; }\n var filterWrapper = this.allColumnFilters.get(column.getColId());\n if (filterWrapper) {\n this.disposeFilterWrapper(filterWrapper, source);\n this.onFilterChanged({ columns: [column] });\n }\n };\n FilterManager.prototype.disposeFilterWrapper = function (filterWrapper, source) {\n var _this = this;\n filterWrapper.filterPromise.then(function (filter) {\n (filter.setModel(null) || AgPromise.resolve()).then(function () {\n _this.getContext().destroyBean(filter);\n filterWrapper.column.setFilterActive(false, source);\n _this.allColumnFilters.delete(filterWrapper.column.getColId());\n });\n });\n };\n FilterManager.prototype.destroy = function () {\n var _this = this;\n _super.prototype.destroy.call(this);\n this.allColumnFilters.forEach(function (filterWrapper) { return _this.disposeFilterWrapper(filterWrapper, 'filterDestroyed'); });\n };\n var FilterManager_1;\n FilterManager.QUICK_FILTER_SEPARATOR = '\\n';\n __decorate$1U([\n Autowired('valueService')\n ], FilterManager.prototype, \"valueService\", void 0);\n __decorate$1U([\n Autowired('columnModel')\n ], FilterManager.prototype, \"columnModel\", void 0);\n __decorate$1U([\n Autowired('rowModel')\n ], FilterManager.prototype, \"rowModel\", void 0);\n __decorate$1U([\n Autowired('userComponentFactory')\n ], FilterManager.prototype, \"userComponentFactory\", void 0);\n __decorate$1U([\n Autowired('rowRenderer')\n ], FilterManager.prototype, \"rowRenderer\", void 0);\n __decorate$1U([\n PostConstruct\n ], FilterManager.prototype, \"init\", null);\n __decorate$1U([\n PreDestroy\n ], FilterManager.prototype, \"destroy\", null);\n FilterManager = FilterManager_1 = __decorate$1U([\n Bean('filterManager')\n ], FilterManager);\n return FilterManager;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$25 = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar AbstractHeaderCellComp = /** @class */ (function (_super) {\n __extends$25(AbstractHeaderCellComp, _super);\n function AbstractHeaderCellComp(template, ctrl) {\n var _this = _super.call(this, template) || this;\n _this.ctrl = ctrl;\n return _this;\n }\n AbstractHeaderCellComp.prototype.getCtrl = function () {\n return this.ctrl;\n };\n return AbstractHeaderCellComp;\n}(Component));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$24 = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$1T = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar HeaderFilterCellComp = /** @class */ (function (_super) {\n __extends$24(HeaderFilterCellComp, _super);\n function HeaderFilterCellComp(ctrl) {\n return _super.call(this, HeaderFilterCellComp.TEMPLATE, ctrl) || this;\n }\n HeaderFilterCellComp.prototype.postConstruct = function () {\n var _this = this;\n var eGui = this.getGui();\n var compProxy = {\n addOrRemoveCssClass: function (cssClassName, on) { return _this.addOrRemoveCssClass(cssClassName, on); },\n addOrRemoveBodyCssClass: function (cssClassName, on) { return _this.eFloatingFilterBody.classList.toggle(cssClassName, on); },\n addOrRemoveButtonWrapperCssClass: function (cssClassName, on) { return _this.eButtonWrapper.classList.toggle(cssClassName, on); },\n setCompDetails: function (compDetails) { return _this.setCompDetails(compDetails); },\n getFloatingFilterComp: function () { return _this.compPromise; },\n setWidth: function (width) { return eGui.style.width = width; },\n setMenuIcon: function (eIcon) { return _this.eButtonShowMainFilter.appendChild(eIcon); }\n };\n this.ctrl.setComp(compProxy, eGui, this.eButtonShowMainFilter, this.eFloatingFilterBody);\n };\n HeaderFilterCellComp.prototype.setCompDetails = function (compDetails) {\n var _this = this;\n // because we are providing defaultFloatingFilterType, we know it will never be undefined;\n this.compPromise = compDetails.newAgStackInstance();\n this.compPromise.then(function (comp) { return _this.afterCompCreated(comp); });\n };\n HeaderFilterCellComp.prototype.afterCompCreated = function (comp) {\n var _this = this;\n if (!comp) {\n return;\n }\n this.addDestroyFunc(function () { return _this.context.destroyBean(comp); });\n if (!this.isAlive()) {\n return;\n }\n this.eFloatingFilterBody.appendChild(comp.getGui());\n if (comp.afterGuiAttached) {\n comp.afterGuiAttached();\n }\n };\n HeaderFilterCellComp.TEMPLATE = \"
    \\n
    \\n
    \\n \\n
    \\n
    \";\n __decorate$1T([\n RefSelector('eFloatingFilterBody')\n ], HeaderFilterCellComp.prototype, \"eFloatingFilterBody\", void 0);\n __decorate$1T([\n RefSelector('eButtonWrapper')\n ], HeaderFilterCellComp.prototype, \"eButtonWrapper\", void 0);\n __decorate$1T([\n RefSelector('eButtonShowMainFilter')\n ], HeaderFilterCellComp.prototype, \"eButtonShowMainFilter\", void 0);\n __decorate$1T([\n PostConstruct\n ], HeaderFilterCellComp.prototype, \"postConstruct\", null);\n return HeaderFilterCellComp;\n}(AbstractHeaderCellComp));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$23 = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$1S = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar LayoutCssClasses;\n(function (LayoutCssClasses) {\n LayoutCssClasses[\"AUTO_HEIGHT\"] = \"ag-layout-auto-height\";\n LayoutCssClasses[\"NORMAL\"] = \"ag-layout-normal\";\n LayoutCssClasses[\"PRINT\"] = \"ag-layout-print\";\n})(LayoutCssClasses || (LayoutCssClasses = {}));\nvar LayoutFeature = /** @class */ (function (_super) {\n __extends$23(LayoutFeature, _super);\n function LayoutFeature(view) {\n var _this = _super.call(this) || this;\n _this.view = view;\n return _this;\n }\n LayoutFeature.prototype.postConstruct = function () {\n this.addManagedListener(this.gridOptionsWrapper, GridOptionsWrapper.PROP_DOM_LAYOUT, this.updateLayoutClasses.bind(this));\n this.updateLayoutClasses();\n };\n LayoutFeature.prototype.updateLayoutClasses = function () {\n var domLayout = this.gridOptionsWrapper.getDomLayout();\n var params = {\n autoHeight: domLayout === Constants.DOM_LAYOUT_AUTO_HEIGHT,\n normal: domLayout === Constants.DOM_LAYOUT_NORMAL,\n print: domLayout === Constants.DOM_LAYOUT_PRINT\n };\n var cssClass = params.autoHeight ? LayoutCssClasses.AUTO_HEIGHT :\n params.print ? LayoutCssClasses.PRINT : LayoutCssClasses.NORMAL;\n this.view.updateLayoutClasses(cssClass, params);\n };\n __decorate$1S([\n Autowired('gridOptionsWrapper')\n ], LayoutFeature.prototype, \"gridOptionsWrapper\", void 0);\n __decorate$1S([\n PostConstruct\n ], LayoutFeature.prototype, \"postConstruct\", null);\n return LayoutFeature;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$22 = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$1R = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar GridBodyScrollFeature = /** @class */ (function (_super) {\n __extends$22(GridBodyScrollFeature, _super);\n function GridBodyScrollFeature(eBodyViewport) {\n var _this = _super.call(this) || this;\n _this.scrollLeft = -1;\n _this.nextScrollTop = -1;\n _this.scrollTop = -1;\n _this.eBodyViewport = eBodyViewport;\n _this.resetLastHorizontalScrollElementDebounced = debounce(_this.resetLastHorizontalScrollElement.bind(_this), 500);\n return _this;\n }\n GridBodyScrollFeature.prototype.postConstruct = function () {\n var _this = this;\n this.enableRtl = this.gridOptionsWrapper.isEnableRtl();\n this.addManagedListener(this.eventService, Events.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED, this.onDisplayedColumnsWidthChanged.bind(this));\n this.ctrlsService.whenReady(function (p) {\n _this.centerRowContainerCtrl = p.centerRowContainerCtrl;\n _this.onDisplayedColumnsWidthChanged();\n _this.addScrollListener();\n });\n };\n GridBodyScrollFeature.prototype.addScrollListener = function () {\n var fakeHScroll = this.ctrlsService.getFakeHScrollCtrl();\n this.addManagedListener(this.centerRowContainerCtrl.getViewportElement(), 'scroll', this.onCenterViewportScroll.bind(this));\n this.addManagedListener(fakeHScroll.getViewport(), 'scroll', this.onFakeHorizontalScroll.bind(this));\n var onVerticalScroll = this.gridOptionsWrapper.isDebounceVerticalScrollbar() ?\n debounce(this.onVerticalScroll.bind(this), 100)\n : this.onVerticalScroll.bind(this);\n this.addManagedListener(this.eBodyViewport, 'scroll', onVerticalScroll);\n };\n GridBodyScrollFeature.prototype.onDisplayedColumnsWidthChanged = function () {\n if (this.enableRtl) {\n // because RTL is all backwards, a change in the width of the row\n // can cause a change in the scroll position, without a scroll event,\n // because the scroll position in RTL is a function that depends on\n // the width. to be convinced of this, take out this line, enable RTL,\n // scroll all the way to the left and then resize a column\n this.horizontallyScrollHeaderCenterAndFloatingCenter();\n }\n };\n GridBodyScrollFeature.prototype.horizontallyScrollHeaderCenterAndFloatingCenter = function (scrollLeft) {\n // when doing RTL, this method gets called once prematurely\n var notYetInitialised = this.centerRowContainerCtrl == null;\n if (notYetInitialised) {\n return;\n }\n if (scrollLeft === undefined) {\n scrollLeft = this.centerRowContainerCtrl.getCenterViewportScrollLeft();\n }\n var offset = this.enableRtl ? scrollLeft : -scrollLeft;\n var topCenterContainer = this.ctrlsService.getTopCenterRowContainerCtrl();\n var stickyTopCenterContainer = this.ctrlsService.getStickyTopCenterRowContainerCtrl();\n var bottomCenterContainer = this.ctrlsService.getBottomCenterRowContainerCtrl();\n var fakeHScroll = this.ctrlsService.getFakeHScrollCtrl();\n var centerHeaderContainer = this.ctrlsService.getHeaderRowContainerCtrl();\n centerHeaderContainer.setHorizontalScroll(offset);\n bottomCenterContainer.setContainerTranslateX(offset);\n topCenterContainer.setContainerTranslateX(offset);\n stickyTopCenterContainer.setContainerTranslateX(offset);\n var centerViewport = this.centerRowContainerCtrl.getViewportElement();\n var isCenterViewportLastHorizontal = this.lastHorizontalScrollElement === centerViewport;\n var partner = isCenterViewportLastHorizontal ?\n fakeHScroll.getViewport() :\n this.centerRowContainerCtrl.getViewportElement();\n setScrollLeft(partner, Math.abs(scrollLeft), this.enableRtl);\n };\n GridBodyScrollFeature.prototype.isControllingScroll = function (eDiv) {\n if (!this.lastHorizontalScrollElement) {\n this.lastHorizontalScrollElement = eDiv;\n return true;\n }\n return eDiv === this.lastHorizontalScrollElement;\n };\n GridBodyScrollFeature.prototype.onFakeHorizontalScroll = function () {\n var fakeHScrollViewport = this.ctrlsService.getFakeHScrollCtrl().getViewport();\n if (!this.isControllingScroll(fakeHScrollViewport)) {\n return;\n }\n this.onBodyHorizontalScroll(fakeHScrollViewport);\n };\n GridBodyScrollFeature.prototype.onCenterViewportScroll = function () {\n var centerContainerViewport = this.centerRowContainerCtrl.getViewportElement();\n if (!this.isControllingScroll(centerContainerViewport)) {\n return;\n }\n this.onBodyHorizontalScroll(centerContainerViewport);\n };\n GridBodyScrollFeature.prototype.onBodyHorizontalScroll = function (eSource) {\n var centerContainerViewport = this.centerRowContainerCtrl.getViewportElement();\n var scrollLeft = centerContainerViewport.scrollLeft;\n if (this.shouldBlockScrollUpdate('horizontal', scrollLeft, true)) {\n return;\n }\n // we do Math.round() rather than Math.floor(), to mirror how scroll values are applied.\n // eg if a scale is applied (ie user has zoomed the browser), then applying scroll=200\n // could result in 199.88, which then floor(199.88) = 199, however round(199.88) = 200.\n // initially Math.floor() was used, however this caused (almost) infinite loop with aligned grids,\n // as the scroll would move 1px at at time bouncing from one grid to the next (eg one grid would cause\n // scroll to 200px, the next to 199px, then the first back to 198px and so on).\n this.doHorizontalScroll(Math.round(getScrollLeft(eSource, this.enableRtl)));\n this.resetLastHorizontalScrollElementDebounced();\n };\n GridBodyScrollFeature.prototype.onVerticalScroll = function () {\n var scrollTop = this.eBodyViewport.scrollTop;\n if (this.shouldBlockScrollUpdate('vertical', scrollTop, true)) {\n return;\n }\n this.animationFrameService.setScrollTop(scrollTop);\n this.nextScrollTop = scrollTop;\n if (this.gridOptionsWrapper.isSuppressAnimationFrame()) {\n this.scrollTop = this.nextScrollTop;\n this.redrawRowsAfterScroll();\n }\n else {\n this.animationFrameService.schedule();\n }\n };\n GridBodyScrollFeature.prototype.resetLastHorizontalScrollElement = function () {\n this.lastHorizontalScrollElement = null;\n };\n GridBodyScrollFeature.prototype.doHorizontalScroll = function (scrollLeft) {\n var fakeHScrollViewport = this.ctrlsService.getFakeHScrollCtrl().getViewport();\n var fakeScrollLeft = getScrollLeft(fakeHScrollViewport, this.enableRtl);\n if (this.scrollLeft === scrollLeft && scrollLeft === fakeScrollLeft) {\n return;\n }\n this.scrollLeft = scrollLeft;\n this.fireScrollEvent('horizontal');\n this.horizontallyScrollHeaderCenterAndFloatingCenter(scrollLeft);\n this.onHorizontalViewportChanged();\n };\n GridBodyScrollFeature.prototype.fireScrollEvent = function (direction) {\n var _this = this;\n var bodyScrollEvent = {\n type: Events.EVENT_BODY_SCROLL,\n direction: direction,\n left: this.scrollLeft,\n top: this.scrollTop\n };\n this.eventService.dispatchEvent(bodyScrollEvent);\n window.clearTimeout(this.scrollTimer);\n this.scrollTimer = undefined;\n this.scrollTimer = window.setTimeout(function () {\n var bodyScrollEndEvent = Object.assign({}, bodyScrollEvent, {\n type: Events.EVENT_BODY_SCROLL_END\n });\n _this.eventService.dispatchEvent(bodyScrollEndEvent);\n }, 100);\n };\n GridBodyScrollFeature.prototype.shouldBlockScrollUpdate = function (direction, scrollTo, touchOnly) {\n // touch devices allow elastic scroll - which temporally scrolls the panel outside of the viewport\n // (eg user uses touch to go to the left of the grid, but drags past the left, the rows will actually\n // scroll past the left until the user releases the mouse). when this happens, we want ignore the scroll,\n // as otherwise it was causing the rows and header to flicker.\n if (touchOnly === void 0) { touchOnly = false; }\n // sometimes when scrolling, we got values that extended the maximum scroll allowed. we used to\n // ignore these scrolls. problem is the max scroll position could be skipped (eg the previous scroll event\n // could be 10px before the max position, and then current scroll event could be 20px after the max position).\n // if we just ignored the last event, we would be setting the scroll to 10px before the max position, when in\n // actual fact the user has exceeded the max scroll and thus scroll should be set to the max.\n if (touchOnly && !isIOSUserAgent()) {\n return false;\n }\n if (direction === 'vertical') {\n var clientHeight = getInnerHeight(this.eBodyViewport);\n var scrollHeight = this.eBodyViewport.scrollHeight;\n if (scrollTo < 0 || (scrollTo + clientHeight > scrollHeight)) {\n return true;\n }\n }\n if (direction === 'horizontal') {\n var clientWidth = this.centerRowContainerCtrl.getCenterWidth();\n var scrollWidth = this.centerRowContainerCtrl.getViewportElement().scrollWidth;\n if (this.enableRtl && isRtlNegativeScroll()) {\n if (scrollTo > 0) {\n return true;\n }\n }\n else if (scrollTo < 0) {\n return true;\n }\n if (Math.abs(scrollTo) + clientWidth > scrollWidth) {\n return true;\n }\n }\n return false;\n };\n GridBodyScrollFeature.prototype.redrawRowsAfterScroll = function () {\n this.fireScrollEvent('vertical');\n };\n GridBodyScrollFeature.prototype.onHorizontalViewportChanged = function () {\n this.centerRowContainerCtrl.onHorizontalViewportChanged();\n };\n // this is to cater for AG-3274, where grid is removed from the dom and then inserted back in again.\n // (which happens with some implementations of tabbing). this can result in horizontal scroll getting\n // reset back to the left, however no scroll event is fired. so we need to get header to also scroll\n // back to the left to be kept in sync.\n // adding and removing the grid from the DOM both resets the scroll position and\n // triggers a resize event, so notify listeners if the scroll position has changed\n GridBodyScrollFeature.prototype.checkScrollLeft = function () {\n if (this.scrollLeft !== this.centerRowContainerCtrl.getCenterViewportScrollLeft()) {\n this.onBodyHorizontalScroll(this.centerRowContainerCtrl.getViewportElement());\n }\n };\n GridBodyScrollFeature.prototype.executeAnimationFrameScroll = function () {\n var frameNeeded = this.scrollTop != this.nextScrollTop;\n if (frameNeeded) {\n this.scrollTop = this.nextScrollTop;\n this.redrawRowsAfterScroll();\n }\n return frameNeeded;\n };\n // called by scrollHorizontally method and alignedGridsService\n GridBodyScrollFeature.prototype.setHorizontalScrollPosition = function (hScrollPosition) {\n var minScrollLeft = 0;\n var maxScrollLeft = this.centerRowContainerCtrl.getViewportElement().scrollWidth - this.centerRowContainerCtrl.getCenterWidth();\n if (this.shouldBlockScrollUpdate('horizontal', hScrollPosition)) {\n if (this.enableRtl && isRtlNegativeScroll()) {\n hScrollPosition = hScrollPosition > 0 ? 0 : maxScrollLeft;\n }\n else {\n hScrollPosition = Math.min(Math.max(hScrollPosition, minScrollLeft), maxScrollLeft);\n }\n }\n setScrollLeft(this.centerRowContainerCtrl.getViewportElement(), Math.abs(hScrollPosition), this.enableRtl);\n // we need to manually do the event handling (rather than wait for the event)\n // for the alignedGridsService, as if we don't, the aligned grid service gets\n // notified async, and then it's 'consuming' flag doesn't get used right, and\n // we can end up with an infinite loop\n this.doHorizontalScroll(hScrollPosition);\n };\n GridBodyScrollFeature.prototype.setVerticalScrollPosition = function (vScrollPosition) {\n this.eBodyViewport.scrollTop = vScrollPosition;\n };\n GridBodyScrollFeature.prototype.getVScrollPosition = function () {\n var result = {\n top: this.eBodyViewport.scrollTop,\n bottom: this.eBodyViewport.scrollTop + this.eBodyViewport.offsetHeight\n };\n return result;\n };\n GridBodyScrollFeature.prototype.getHScrollPosition = function () {\n return this.centerRowContainerCtrl.getHScrollPosition();\n };\n GridBodyScrollFeature.prototype.isHorizontalScrollShowing = function () {\n return this.centerRowContainerCtrl.isHorizontalScrollShowing();\n };\n // called by the headerRootComp and moveColumnController\n GridBodyScrollFeature.prototype.scrollHorizontally = function (pixels) {\n var oldScrollPosition = this.centerRowContainerCtrl.getViewportElement().scrollLeft;\n this.setHorizontalScrollPosition(oldScrollPosition + pixels);\n return this.centerRowContainerCtrl.getViewportElement().scrollLeft - oldScrollPosition;\n };\n // gets called by rowRenderer when new data loaded, as it will want to scroll to the top\n GridBodyScrollFeature.prototype.scrollToTop = function () {\n this.eBodyViewport.scrollTop = 0;\n };\n // Valid values for position are bottom, middle and top\n GridBodyScrollFeature.prototype.ensureNodeVisible = function (comparator, position) {\n if (position === void 0) { position = null; }\n // look for the node index we want to display\n var rowCount = this.rowModel.getRowCount();\n var indexToSelect = -1;\n // go through all the nodes, find the one we want to show\n for (var i = 0; i < rowCount; i++) {\n var node = this.rowModel.getRow(i);\n if (typeof comparator === 'function') {\n // Have to assert type here, as type could be TData & Function\n var predicate = comparator;\n if (node && predicate(node)) {\n indexToSelect = i;\n break;\n }\n }\n else {\n // check object equality against node and data\n if (comparator === node || comparator === node.data) {\n indexToSelect = i;\n break;\n }\n }\n }\n if (indexToSelect >= 0) {\n this.ensureIndexVisible(indexToSelect, position);\n }\n };\n // Valid values for position are bottom, middle and top\n // position should be {'top','middle','bottom', or undefined/null}.\n // if undefined/null, then the grid will to the minimal amount of scrolling,\n // eg if grid needs to scroll up, it scrolls until row is on top,\n // if grid needs to scroll down, it scrolls until row is on bottom,\n // if row is already in view, grid does not scroll\n GridBodyScrollFeature.prototype.ensureIndexVisible = function (index, position) {\n // if for print or auto height, everything is always visible\n if (this.gridOptionsWrapper.getDomLayout() === Constants.DOM_LAYOUT_PRINT) {\n return;\n }\n var rowCount = this.paginationProxy.getRowCount();\n if (typeof index !== 'number' || index < 0 || index >= rowCount) {\n console.warn('invalid row index for ensureIndexVisible: ' + index);\n return;\n }\n var isPaging = this.gridOptionsWrapper.isPagination();\n var paginationPanelEnabled = isPaging && !this.gridOptionsWrapper.isSuppressPaginationPanel();\n if (!paginationPanelEnabled) {\n this.paginationProxy.goToPageWithIndex(index);\n }\n var gridBodyCtrl = this.ctrlsService.getGridBodyCtrl();\n var stickyTopHeight = gridBodyCtrl.getStickyTopHeight();\n var rowNode = this.paginationProxy.getRow(index);\n var rowGotShiftedDuringOperation;\n do {\n var startingRowTop = rowNode.rowTop;\n var startingRowHeight = rowNode.rowHeight;\n var paginationOffset = this.paginationProxy.getPixelOffset();\n var rowTopPixel = rowNode.rowTop - paginationOffset;\n var rowBottomPixel = rowTopPixel + rowNode.rowHeight;\n var scrollPosition = this.getVScrollPosition();\n var heightOffset = this.heightScaler.getDivStretchOffset();\n var vScrollTop = scrollPosition.top + heightOffset;\n var vScrollBottom = scrollPosition.bottom + heightOffset;\n var viewportHeight = vScrollBottom - vScrollTop;\n // work out the pixels for top, middle and bottom up front,\n // make the if/else below easier to read\n var pxTop = this.heightScaler.getScrollPositionForPixel(rowTopPixel);\n var pxBottom = this.heightScaler.getScrollPositionForPixel(rowBottomPixel - viewportHeight);\n // make sure if middle, the row is not outside the top of the grid\n var pxMiddle = Math.min((pxTop + pxBottom) / 2, rowTopPixel);\n var rowAboveViewport = (vScrollTop + stickyTopHeight) > rowTopPixel;\n var rowBelowViewport = vScrollBottom < rowBottomPixel;\n var newScrollPosition = null;\n if (position === 'top') {\n newScrollPosition = pxTop;\n }\n else if (position === 'bottom') {\n newScrollPosition = pxBottom;\n }\n else if (position === 'middle') {\n newScrollPosition = pxMiddle;\n }\n else if (rowAboveViewport) {\n // if row is before, scroll up with row at top\n newScrollPosition = pxTop - stickyTopHeight;\n }\n else if (rowBelowViewport) {\n // if row is after, scroll down with row at bottom\n newScrollPosition = pxBottom;\n }\n if (newScrollPosition !== null) {\n this.eBodyViewport.scrollTop = newScrollPosition;\n this.rowRenderer.redrawAfterScroll();\n }\n // the row can get shifted if during the rendering (during rowRenderer.redrawAfterScroll()),\n // the height of a row changes due to lazy calculation of row heights when using\n // colDef.autoHeight or gridOptions.getRowHeight.\n // if row was shifted, then the position we scrolled to is incorrect.\n rowGotShiftedDuringOperation = (startingRowTop !== rowNode.rowTop)\n || (startingRowHeight !== rowNode.rowHeight);\n } while (rowGotShiftedDuringOperation);\n // so when we return back to user, the cells have rendered\n this.animationFrameService.flushAllFrames();\n };\n GridBodyScrollFeature.prototype.ensureColumnVisible = function (key, position) {\n if (position === void 0) { position = 'auto'; }\n var column = this.columnModel.getGridColumn(key);\n if (!column) {\n return;\n }\n // calling ensureColumnVisible on a pinned column doesn't make sense\n if (column.isPinned()) {\n return;\n }\n // defensive\n if (!this.columnModel.isColumnDisplayed(column)) {\n return;\n }\n var newHorizontalScroll = this.getPositionedHorizontalScroll(column, position);\n if (newHorizontalScroll !== null) {\n this.centerRowContainerCtrl.setCenterViewportScrollLeft(newHorizontalScroll);\n }\n // this will happen anyway, as the move will cause a 'scroll' event on the body, however\n // it is possible that the ensureColumnVisible method is called from within AG Grid and\n // the caller will need to have the columns rendered to continue, which will be before\n // the event has been worked on (which is the case for cell navigation).\n this.centerRowContainerCtrl.onHorizontalViewportChanged();\n // so when we return back to user, the cells have rendered\n this.animationFrameService.flushAllFrames();\n };\n GridBodyScrollFeature.prototype.getPositionedHorizontalScroll = function (column, position) {\n var _a = this.isColumnOutsideViewport(column), columnBeforeStart = _a.columnBeforeStart, columnAfterEnd = _a.columnAfterEnd;\n var viewportTooSmallForColumn = this.centerRowContainerCtrl.getCenterWidth() < column.getActualWidth();\n var viewportWidth = this.centerRowContainerCtrl.getCenterWidth();\n var isRtl = this.enableRtl;\n var alignColToStart = (isRtl ? columnBeforeStart : columnAfterEnd) || viewportTooSmallForColumn;\n var alignColToEnd = isRtl ? columnAfterEnd : columnBeforeStart;\n if (position !== 'auto') {\n alignColToStart = position === 'start';\n alignColToEnd = position === 'end';\n }\n var isMiddle = position === 'middle';\n if (alignColToStart || alignColToEnd || isMiddle) {\n var _b = this.getColumnBounds(column), colLeft = _b.colLeft, colMiddle = _b.colMiddle, colRight = _b.colRight;\n if (isMiddle) {\n return colMiddle - viewportWidth / 2;\n }\n if (alignColToStart) {\n return isRtl ? colRight : colLeft;\n }\n return isRtl ? (colLeft - viewportWidth) : (colRight - viewportWidth);\n }\n return null;\n };\n GridBodyScrollFeature.prototype.isColumnOutsideViewport = function (column) {\n var _a = this.getViewportBounds(), viewportStart = _a.start, viewportEnd = _a.end;\n var _b = this.getColumnBounds(column), colLeft = _b.colLeft, colRight = _b.colRight;\n var isRtl = this.enableRtl;\n var columnBeforeStart = isRtl ? (viewportStart > colRight) : (viewportEnd < colRight);\n var columnAfterEnd = isRtl ? (viewportEnd < colLeft) : (viewportStart > colLeft);\n return { columnBeforeStart: columnBeforeStart, columnAfterEnd: columnAfterEnd };\n };\n GridBodyScrollFeature.prototype.getColumnBounds = function (column) {\n var isRtl = this.enableRtl;\n var bodyWidth = this.columnModel.getBodyContainerWidth();\n var colWidth = column.getActualWidth();\n var colLeft = column.getLeft();\n var multiplier = isRtl ? -1 : 1;\n var colLeftPixel = isRtl ? (bodyWidth - colLeft) : colLeft;\n var colRightPixel = colLeftPixel + colWidth * multiplier;\n var colMidPixel = colLeftPixel + colWidth / 2 * multiplier;\n return { colLeft: colLeftPixel, colMiddle: colMidPixel, colRight: colRightPixel };\n };\n GridBodyScrollFeature.prototype.getViewportBounds = function () {\n var viewportWidth = this.centerRowContainerCtrl.getCenterWidth();\n var scrollPosition = this.centerRowContainerCtrl.getCenterViewportScrollLeft();\n var viewportStartPixel = scrollPosition;\n var viewportEndPixel = viewportWidth + scrollPosition;\n return { start: viewportStartPixel, end: viewportEndPixel, width: viewportWidth };\n };\n __decorate$1R([\n Autowired('ctrlsService')\n ], GridBodyScrollFeature.prototype, \"ctrlsService\", void 0);\n __decorate$1R([\n Autowired('animationFrameService')\n ], GridBodyScrollFeature.prototype, \"animationFrameService\", void 0);\n __decorate$1R([\n Autowired('paginationProxy')\n ], GridBodyScrollFeature.prototype, \"paginationProxy\", void 0);\n __decorate$1R([\n Autowired('rowModel')\n ], GridBodyScrollFeature.prototype, \"rowModel\", void 0);\n __decorate$1R([\n Autowired('rowContainerHeightService')\n ], GridBodyScrollFeature.prototype, \"heightScaler\", void 0);\n __decorate$1R([\n Autowired('rowRenderer')\n ], GridBodyScrollFeature.prototype, \"rowRenderer\", void 0);\n __decorate$1R([\n Autowired('columnModel')\n ], GridBodyScrollFeature.prototype, \"columnModel\", void 0);\n __decorate$1R([\n PostConstruct\n ], GridBodyScrollFeature.prototype, \"postConstruct\", null);\n return GridBodyScrollFeature;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar AutoScrollService = /** @class */ (function () {\n function AutoScrollService(params) {\n this.tickingInterval = null;\n this.onScrollCallback = null;\n this.scrollContainer = params.scrollContainer;\n this.scrollHorizontally = params.scrollAxis.indexOf('x') !== -1;\n this.scrollVertically = params.scrollAxis.indexOf('y') !== -1;\n this.scrollByTick = params.scrollByTick != null ? params.scrollByTick : 20;\n if (params.onScrollCallback) {\n this.onScrollCallback = params.onScrollCallback;\n }\n if (this.scrollVertically) {\n this.getVerticalPosition = params.getVerticalPosition;\n this.setVerticalPosition = params.setVerticalPosition;\n }\n if (this.scrollHorizontally) {\n this.getHorizontalPosition = params.getHorizontalPosition;\n this.setHorizontalPosition = params.setHorizontalPosition;\n }\n this.shouldSkipVerticalScroll = params.shouldSkipVerticalScroll || (function () { return false; });\n this.shouldSkipHorizontalScroll = params.shouldSkipHorizontalScroll || (function () { return false; });\n }\n AutoScrollService.prototype.check = function (mouseEvent, forceSkipVerticalScroll) {\n if (forceSkipVerticalScroll === void 0) { forceSkipVerticalScroll = false; }\n var skipVerticalScroll = forceSkipVerticalScroll || this.shouldSkipVerticalScroll();\n if (skipVerticalScroll && this.shouldSkipHorizontalScroll()) {\n return;\n }\n var rect = this.scrollContainer.getBoundingClientRect();\n var scrollTick = this.scrollByTick;\n this.tickLeft = mouseEvent.clientX < (rect.left + scrollTick);\n this.tickRight = mouseEvent.clientX > (rect.right - scrollTick);\n this.tickUp = mouseEvent.clientY < (rect.top + scrollTick) && !skipVerticalScroll;\n this.tickDown = mouseEvent.clientY > (rect.bottom - scrollTick) && !skipVerticalScroll;\n if (this.tickLeft || this.tickRight || this.tickUp || this.tickDown) {\n this.ensureTickingStarted();\n }\n else {\n this.ensureCleared();\n }\n };\n AutoScrollService.prototype.ensureTickingStarted = function () {\n if (this.tickingInterval === null) {\n this.tickingInterval = window.setInterval(this.doTick.bind(this), 100);\n this.tickCount = 0;\n }\n };\n AutoScrollService.prototype.doTick = function () {\n this.tickCount++;\n var tickAmount;\n tickAmount = this.tickCount > 20 ? 200 : (this.tickCount > 10 ? 80 : 40);\n if (this.scrollVertically) {\n var vScrollPosition = this.getVerticalPosition();\n if (this.tickUp) {\n this.setVerticalPosition(vScrollPosition - tickAmount);\n }\n if (this.tickDown) {\n this.setVerticalPosition(vScrollPosition + tickAmount);\n }\n }\n if (this.scrollHorizontally) {\n var hScrollPosition = this.getHorizontalPosition();\n if (this.tickLeft) {\n this.setHorizontalPosition(hScrollPosition - tickAmount);\n }\n if (this.tickRight) {\n this.setHorizontalPosition(hScrollPosition + tickAmount);\n }\n }\n if (this.onScrollCallback) {\n this.onScrollCallback();\n }\n };\n AutoScrollService.prototype.ensureCleared = function () {\n if (this.tickingInterval) {\n window.clearInterval(this.tickingInterval);\n this.tickingInterval = null;\n }\n };\n return AutoScrollService;\n}());\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$21 = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign$6 = (undefined && undefined.__assign) || function () {\n __assign$6 = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign$6.apply(this, arguments);\n};\nvar __decorate$1Q = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __read$i = (undefined && undefined.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar __spread$e = (undefined && undefined.__spread) || function () {\n for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$i(arguments[i]));\n return ar;\n};\nvar RowDragFeature = /** @class */ (function (_super) {\n __extends$21(RowDragFeature, _super);\n function RowDragFeature(eContainer) {\n var _this = _super.call(this) || this;\n _this.isMultiRowDrag = false;\n _this.isGridSorted = false;\n _this.isGridFiltered = false;\n _this.isRowGroupActive = false;\n _this.eContainer = eContainer;\n return _this;\n }\n RowDragFeature.prototype.postConstruct = function () {\n var _this = this;\n if (this.gridOptionsWrapper.isRowModelDefault()) {\n this.clientSideRowModel = this.rowModel;\n }\n var refreshStatus = function () {\n _this.onSortChanged();\n _this.onFilterChanged();\n _this.onRowGroupChanged();\n };\n this.addManagedListener(this.eventService, Events.EVENT_SORT_CHANGED, this.onSortChanged.bind(this));\n this.addManagedListener(this.eventService, Events.EVENT_FILTER_CHANGED, this.onFilterChanged.bind(this));\n this.addManagedListener(this.eventService, Events.EVENT_COLUMN_ROW_GROUP_CHANGED, this.onRowGroupChanged.bind(this));\n this.addManagedListener(this.eventService, Events.EVENT_MODEL_UPDATED, function () {\n refreshStatus();\n });\n refreshStatus();\n this.ctrlsService.whenReady(function () {\n var gridBodyCon = _this.ctrlsService.getGridBodyCtrl();\n _this.autoScrollService = new AutoScrollService({\n scrollContainer: gridBodyCon.getBodyViewportElement(),\n scrollAxis: 'y',\n getVerticalPosition: function () { return gridBodyCon.getScrollFeature().getVScrollPosition().top; },\n setVerticalPosition: function (position) { return gridBodyCon.getScrollFeature().setVerticalScrollPosition(position); },\n onScrollCallback: function () { _this.onDragging(_this.lastDraggingEvent); }\n });\n });\n };\n RowDragFeature.prototype.onSortChanged = function () {\n this.isGridSorted = this.sortController.isSortActive();\n };\n RowDragFeature.prototype.onFilterChanged = function () {\n this.isGridFiltered = this.filterManager.isAnyFilterPresent();\n };\n RowDragFeature.prototype.onRowGroupChanged = function () {\n var rowGroups = this.columnModel.getRowGroupColumns();\n this.isRowGroupActive = !missingOrEmpty(rowGroups);\n };\n RowDragFeature.prototype.getContainer = function () {\n return this.eContainer;\n };\n RowDragFeature.prototype.isInterestedIn = function (type) {\n return type === DragSourceType.RowDrag;\n };\n RowDragFeature.prototype.getIconName = function () {\n var managedDrag = this.gridOptionsWrapper.isRowDragManaged();\n if (managedDrag && this.shouldPreventRowMove()) {\n return DragAndDropService.ICON_NOT_ALLOWED;\n }\n return DragAndDropService.ICON_MOVE;\n };\n RowDragFeature.prototype.shouldPreventRowMove = function () {\n return this.isGridSorted || this.isGridFiltered || this.isRowGroupActive;\n };\n RowDragFeature.prototype.getRowNodes = function (draggingEvent) {\n var _this = this;\n if (!this.isFromThisGrid(draggingEvent)) {\n return draggingEvent.dragItem.rowNodes || [];\n }\n var isRowDragMultiRow = this.gridOptionsWrapper.isRowDragMultiRow();\n var selectedNodes = __spread$e(this.selectionService.getSelectedNodes()).sort(function (a, b) {\n if (a.rowIndex == null || b.rowIndex == null) {\n return 0;\n }\n return _this.getRowIndexNumber(a) - _this.getRowIndexNumber(b);\n });\n var currentNode = draggingEvent.dragItem.rowNode;\n if (isRowDragMultiRow && selectedNodes.indexOf(currentNode) !== -1) {\n this.isMultiRowDrag = true;\n return selectedNodes;\n }\n this.isMultiRowDrag = false;\n return [currentNode];\n };\n RowDragFeature.prototype.onDragEnter = function (draggingEvent) {\n // builds a lits of all rows being dragged before firing events\n draggingEvent.dragItem.rowNodes = this.getRowNodes(draggingEvent);\n // when entering, we fire the enter event, then in onEnterOrDragging,\n // we also fire the move event. so we get both events when entering.\n this.dispatchGridEvent(Events.EVENT_ROW_DRAG_ENTER, draggingEvent);\n this.getRowNodes(draggingEvent).forEach(function (rowNode) {\n rowNode.setDragging(true);\n });\n this.onEnterOrDragging(draggingEvent);\n };\n RowDragFeature.prototype.onDragging = function (draggingEvent) {\n this.onEnterOrDragging(draggingEvent);\n };\n RowDragFeature.prototype.isFromThisGrid = function (draggingEvent) {\n var dragSourceDomDataKey = draggingEvent.dragSource.dragSourceDomDataKey;\n return dragSourceDomDataKey === this.gridOptionsWrapper.getDomDataKey();\n };\n RowDragFeature.prototype.isDropZoneWithinThisGrid = function (draggingEvent) {\n var gridBodyCon = this.ctrlsService.getGridBodyCtrl();\n var gridGui = gridBodyCon.getGui();\n var dropZoneTarget = draggingEvent.dropZoneTarget;\n return !gridGui.contains(dropZoneTarget);\n };\n RowDragFeature.prototype.onEnterOrDragging = function (draggingEvent) {\n // this event is fired for enter and move\n this.dispatchGridEvent(Events.EVENT_ROW_DRAG_MOVE, draggingEvent);\n this.lastDraggingEvent = draggingEvent;\n var pixel = this.mouseEventService.getNormalisedPosition(draggingEvent).y;\n var managedDrag = this.gridOptionsWrapper.isRowDragManaged();\n if (managedDrag) {\n this.doManagedDrag(draggingEvent, pixel);\n }\n this.autoScrollService.check(draggingEvent.event);\n };\n RowDragFeature.prototype.doManagedDrag = function (draggingEvent, pixel) {\n var isFromThisGrid = this.isFromThisGrid(draggingEvent);\n var managedDrag = this.gridOptionsWrapper.isRowDragManaged();\n var rowNodes = draggingEvent.dragItem.rowNodes;\n if (managedDrag && this.shouldPreventRowMove()) {\n return;\n }\n if (this.gridOptionsWrapper.isSuppressMoveWhenRowDragging() || !isFromThisGrid) {\n if (!this.isDropZoneWithinThisGrid(draggingEvent)) {\n this.clientSideRowModel.highlightRowAtPixel(rowNodes[0], pixel);\n }\n }\n else {\n this.moveRows(rowNodes, pixel);\n }\n };\n RowDragFeature.prototype.getRowIndexNumber = function (rowNode) {\n return parseInt(last(rowNode.getRowIndexString().split('-')), 10);\n };\n RowDragFeature.prototype.moveRowAndClearHighlight = function (draggingEvent) {\n var _this = this;\n var lastHighlightedRowNode = this.clientSideRowModel.getLastHighlightedRowNode();\n var isBelow = lastHighlightedRowNode && lastHighlightedRowNode.highlighted === RowHighlightPosition.Below;\n var pixel = this.mouseEventService.getNormalisedPosition(draggingEvent).y;\n var rowNodes = draggingEvent.dragItem.rowNodes;\n var increment = isBelow ? 1 : 0;\n if (this.isFromThisGrid(draggingEvent)) {\n rowNodes.forEach(function (rowNode) {\n if (rowNode.rowTop < pixel) {\n increment -= 1;\n }\n });\n this.moveRows(rowNodes, pixel, increment);\n }\n else {\n var getRowIdFunc_1 = this.gridOptionsWrapper.getRowIdFunc();\n var addIndex = this.clientSideRowModel.getRowIndexAtPixel(pixel) + 1;\n if (this.clientSideRowModel.getHighlightPosition(pixel) === RowHighlightPosition.Above) {\n addIndex--;\n }\n this.clientSideRowModel.updateRowData({\n add: rowNodes\n .map(function (node) { return node.data; })\n .filter(function (data) { return !_this.clientSideRowModel.getRowNode(getRowIdFunc_1 ? getRowIdFunc_1({ data: data, level: 0 }) : data.id); }),\n addIndex: addIndex\n });\n }\n this.clearRowHighlight();\n };\n RowDragFeature.prototype.clearRowHighlight = function () {\n this.clientSideRowModel.highlightRowAtPixel(null);\n };\n RowDragFeature.prototype.moveRows = function (rowNodes, pixel, increment) {\n if (increment === void 0) { increment = 0; }\n var rowWasMoved = this.clientSideRowModel.ensureRowsAtPixel(rowNodes, pixel, increment);\n if (rowWasMoved) {\n this.focusService.clearFocusedCell();\n if (this.rangeService) {\n this.rangeService.removeAllCellRanges();\n }\n }\n };\n RowDragFeature.prototype.addRowDropZone = function (params) {\n var _this = this;\n if (!params.getContainer()) {\n doOnce(function () { return console.warn('AG Grid: addRowDropZone - A container target needs to be provided'); }, 'add-drop-zone-empty-target');\n return;\n }\n if (this.dragAndDropService.findExternalZone(params)) {\n console.warn('AG Grid: addRowDropZone - target already exists in the list of DropZones. Use `removeRowDropZone` before adding it again.');\n return;\n }\n var processedParams = {\n getContainer: params.getContainer\n };\n if (params.fromGrid) {\n params.fromGrid = undefined;\n processedParams = params;\n }\n else {\n if (params.onDragEnter) {\n processedParams.onDragEnter = function (e) {\n params.onDragEnter(_this.draggingToRowDragEvent(Events.EVENT_ROW_DRAG_ENTER, e));\n };\n }\n if (params.onDragLeave) {\n processedParams.onDragLeave = function (e) {\n params.onDragLeave(_this.draggingToRowDragEvent(Events.EVENT_ROW_DRAG_LEAVE, e));\n };\n }\n if (params.onDragging) {\n processedParams.onDragging = function (e) {\n params.onDragging(_this.draggingToRowDragEvent(Events.EVENT_ROW_DRAG_MOVE, e));\n };\n }\n if (params.onDragStop) {\n processedParams.onDragStop = function (e) {\n params.onDragStop(_this.draggingToRowDragEvent(Events.EVENT_ROW_DRAG_END, e));\n };\n }\n }\n this.dragAndDropService.addDropTarget(__assign$6({ isInterestedIn: function (type) { return type === DragSourceType.RowDrag; }, getIconName: function () { return DragAndDropService.ICON_MOVE; }, external: true }, processedParams));\n };\n RowDragFeature.prototype.getRowDropZone = function (events) {\n var _this = this;\n var getContainer = this.getContainer.bind(this);\n var onDragEnter = this.onDragEnter.bind(this);\n var onDragLeave = this.onDragLeave.bind(this);\n var onDragging = this.onDragging.bind(this);\n var onDragStop = this.onDragStop.bind(this);\n if (!events) {\n return { getContainer: getContainer, onDragEnter: onDragEnter, onDragLeave: onDragLeave, onDragging: onDragging, onDragStop: onDragStop, /* @private */ fromGrid: true };\n }\n return {\n getContainer: getContainer,\n onDragEnter: events.onDragEnter\n ? (function (e) {\n onDragEnter(e);\n events.onDragEnter(_this.draggingToRowDragEvent(Events.EVENT_ROW_DRAG_ENTER, e));\n })\n : onDragEnter,\n onDragLeave: events.onDragLeave\n ? (function (e) {\n onDragLeave(e);\n events.onDragLeave(_this.draggingToRowDragEvent(Events.EVENT_ROW_DRAG_LEAVE, e));\n })\n : onDragLeave,\n onDragging: events.onDragging\n ? (function (e) {\n onDragging(e);\n events.onDragging(_this.draggingToRowDragEvent(Events.EVENT_ROW_DRAG_MOVE, e));\n })\n : onDragging,\n onDragStop: events.onDragStop\n ? (function (e) {\n onDragStop(e);\n events.onDragStop(_this.draggingToRowDragEvent(Events.EVENT_ROW_DRAG_END, e));\n })\n : onDragStop,\n fromGrid: true /* @private */\n };\n };\n RowDragFeature.prototype.draggingToRowDragEvent = function (type, draggingEvent) {\n var yNormalised = this.mouseEventService.getNormalisedPosition(draggingEvent).y;\n var mouseIsPastLastRow = yNormalised > this.paginationProxy.getCurrentPageHeight();\n var overIndex = -1;\n var overNode;\n if (!mouseIsPastLastRow) {\n overIndex = this.rowModel.getRowIndexAtPixel(yNormalised);\n overNode = this.rowModel.getRow(overIndex);\n }\n var vDirectionString;\n switch (draggingEvent.vDirection) {\n case VerticalDirection.Down:\n vDirectionString = 'down';\n break;\n case VerticalDirection.Up:\n vDirectionString = 'up';\n break;\n default:\n vDirectionString = null;\n break;\n }\n var event = {\n type: type,\n api: this.gridOptionsWrapper.getApi(),\n columnApi: this.gridOptionsWrapper.getColumnApi(),\n context: this.gridOptionsWrapper.getContext(),\n event: draggingEvent.event,\n node: draggingEvent.dragItem.rowNode,\n nodes: draggingEvent.dragItem.rowNodes,\n overIndex: overIndex,\n overNode: overNode,\n y: yNormalised,\n vDirection: vDirectionString\n };\n return event;\n };\n RowDragFeature.prototype.dispatchGridEvent = function (type, draggingEvent) {\n var event = this.draggingToRowDragEvent(type, draggingEvent);\n this.eventService.dispatchEvent(event);\n };\n RowDragFeature.prototype.onDragLeave = function (draggingEvent) {\n this.dispatchGridEvent(Events.EVENT_ROW_DRAG_LEAVE, draggingEvent);\n this.stopDragging(draggingEvent);\n if (this.gridOptionsWrapper.isRowDragManaged()) {\n this.clearRowHighlight();\n }\n if (this.isFromThisGrid(draggingEvent)) {\n this.isMultiRowDrag = false;\n }\n };\n RowDragFeature.prototype.onDragStop = function (draggingEvent) {\n this.dispatchGridEvent(Events.EVENT_ROW_DRAG_END, draggingEvent);\n this.stopDragging(draggingEvent);\n if (this.gridOptionsWrapper.isRowDragManaged() &&\n (this.gridOptionsWrapper.isSuppressMoveWhenRowDragging() || !this.isFromThisGrid(draggingEvent)) &&\n !this.isDropZoneWithinThisGrid(draggingEvent)) {\n this.moveRowAndClearHighlight(draggingEvent);\n }\n };\n RowDragFeature.prototype.stopDragging = function (draggingEvent) {\n this.autoScrollService.ensureCleared();\n this.getRowNodes(draggingEvent).forEach(function (rowNode) {\n rowNode.setDragging(false);\n });\n };\n __decorate$1Q([\n Autowired('dragAndDropService')\n ], RowDragFeature.prototype, \"dragAndDropService\", void 0);\n __decorate$1Q([\n Autowired('rowModel')\n ], RowDragFeature.prototype, \"rowModel\", void 0);\n __decorate$1Q([\n Autowired('paginationProxy')\n ], RowDragFeature.prototype, \"paginationProxy\", void 0);\n __decorate$1Q([\n Autowired('columnModel')\n ], RowDragFeature.prototype, \"columnModel\", void 0);\n __decorate$1Q([\n Autowired('focusService')\n ], RowDragFeature.prototype, \"focusService\", void 0);\n __decorate$1Q([\n Autowired('sortController')\n ], RowDragFeature.prototype, \"sortController\", void 0);\n __decorate$1Q([\n Autowired('filterManager')\n ], RowDragFeature.prototype, \"filterManager\", void 0);\n __decorate$1Q([\n Autowired('selectionService')\n ], RowDragFeature.prototype, \"selectionService\", void 0);\n __decorate$1Q([\n Autowired('mouseEventService')\n ], RowDragFeature.prototype, \"mouseEventService\", void 0);\n __decorate$1Q([\n Autowired('ctrlsService')\n ], RowDragFeature.prototype, \"ctrlsService\", void 0);\n __decorate$1Q([\n Optional('rangeService')\n ], RowDragFeature.prototype, \"rangeService\", void 0);\n __decorate$1Q([\n PostConstruct\n ], RowDragFeature.prototype, \"postConstruct\", null);\n return RowDragFeature;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$20 = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$1P = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar RowAnimationCssClasses;\n(function (RowAnimationCssClasses) {\n RowAnimationCssClasses[\"ANIMATION_ON\"] = \"ag-row-animation\";\n RowAnimationCssClasses[\"ANIMATION_OFF\"] = \"ag-row-no-animation\";\n})(RowAnimationCssClasses || (RowAnimationCssClasses = {}));\nvar CSS_CLASS_CELL_SELECTABLE = 'ag-selectable';\nvar CSS_CLASS_FORCE_VERTICAL_SCROLL = 'ag-force-vertical-scroll';\nvar CSS_CLASS_COLUMN_MOVING = 'ag-column-moving';\nvar GridBodyCtrl = /** @class */ (function (_super) {\n __extends$20(GridBodyCtrl, _super);\n function GridBodyCtrl() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.stickyTopHeight = 0;\n return _this;\n }\n GridBodyCtrl.prototype.getScrollFeature = function () {\n return this.bodyScrollFeature;\n };\n GridBodyCtrl.prototype.getBodyViewportElement = function () {\n return this.eBodyViewport;\n };\n GridBodyCtrl.prototype.setComp = function (comp, eGridBody, eBodyViewport, eTop, eBottom, eStickyTop) {\n this.comp = comp;\n this.eGridBody = eGridBody;\n this.eBodyViewport = eBodyViewport;\n this.eTop = eTop;\n this.eBottom = eBottom;\n this.eStickyTop = eStickyTop;\n this.setCellTextSelection(this.gridOptionsWrapper.isEnableCellTextSelect());\n this.createManagedBean(new LayoutFeature(this.comp));\n this.bodyScrollFeature = this.createManagedBean(new GridBodyScrollFeature(this.eBodyViewport));\n this.addRowDragListener();\n this.setupRowAnimationCssClass();\n this.addEventListeners();\n this.addFocusListeners([eTop, eBodyViewport, eBottom, eStickyTop]);\n this.onGridColumnsChanged();\n this.addBodyViewportListener();\n this.setFloatingHeights();\n this.disableBrowserDragging();\n this.addStopEditingWhenGridLosesFocus();\n this.ctrlsService.registerGridBodyCtrl(this);\n };\n GridBodyCtrl.prototype.getComp = function () {\n return this.comp;\n };\n GridBodyCtrl.prototype.addEventListeners = function () {\n this.addManagedListener(this.eventService, Events.EVENT_GRID_COLUMNS_CHANGED, this.onGridColumnsChanged.bind(this));\n this.addManagedListener(this.eventService, Events.EVENT_SCROLL_VISIBILITY_CHANGED, this.onScrollVisibilityChanged.bind(this));\n this.addManagedListener(this.eventService, Events.EVENT_PINNED_ROW_DATA_CHANGED, this.onPinnedRowDataChanged.bind(this));\n this.addManagedListener(this.eventService, Events.EVENT_HEADER_HEIGHT_CHANGED, this.onHeaderHeightChanged.bind(this));\n };\n GridBodyCtrl.prototype.addFocusListeners = function (elements) {\n var _this = this;\n elements.forEach(function (element) {\n _this.addManagedListener(element, 'focusin', function (e) {\n var target = e.target;\n // element being focused is nested?\n var isFocusedElementNested = isElementChildOfClass(target, 'ag-root', element);\n element.classList.toggle('ag-has-focus', !isFocusedElementNested);\n });\n _this.addManagedListener(element, 'focusout', function (e) {\n var target = e.target, relatedTarget = e.relatedTarget;\n var gridContainRelatedTarget = element.contains(relatedTarget);\n var isNestedRelatedTarget = isElementChildOfClass(relatedTarget, 'ag-root', element);\n var isNestedTarget = isElementChildOfClass(target, 'ag-root', element);\n // element losing focus belongs to a nested grid,\n // it should not be handled here.\n if (isNestedTarget) {\n return;\n }\n // the grid does not contain, or the focus element is within\n // a nested grid\n if (!gridContainRelatedTarget || isNestedRelatedTarget) {\n element.classList.remove('ag-has-focus');\n }\n });\n });\n };\n // used by ColumnAnimationService\n GridBodyCtrl.prototype.setColumnMovingCss = function (moving) {\n this.comp.setColumnMovingCss(moving ? CSS_CLASS_COLUMN_MOVING : null, moving);\n };\n GridBodyCtrl.prototype.setCellTextSelection = function (selectable) {\n if (selectable === void 0) { selectable = false; }\n var cssClass = selectable ? CSS_CLASS_CELL_SELECTABLE : null;\n this.comp.setCellSelectableCss(cssClass, selectable);\n };\n GridBodyCtrl.prototype.onScrollVisibilityChanged = function () {\n var visible = this.scrollVisibleService.isVerticalScrollShowing();\n this.setVerticalScrollPaddingVisible(visible);\n this.setStickyTopWidth(visible);\n };\n GridBodyCtrl.prototype.onGridColumnsChanged = function () {\n var columns = this.columnModel.getAllGridColumns();\n this.comp.setColumnCount(columns ? columns.length : 0);\n };\n // if we do not do this, then the user can select a pic in the grid (eg an image in a custom cell renderer)\n // and then that will start the browser native drag n' drop, which messes up with our own drag and drop.\n GridBodyCtrl.prototype.disableBrowserDragging = function () {\n this.addManagedListener(this.eGridBody, 'dragstart', function (event) {\n if (event.target instanceof HTMLImageElement) {\n event.preventDefault();\n return false;\n }\n });\n };\n GridBodyCtrl.prototype.addStopEditingWhenGridLosesFocus = function () {\n var _this = this;\n if (!this.gridOptionsWrapper.isStopEditingWhenCellsLoseFocus()) {\n return;\n }\n var focusOutListener = function (event) {\n // this is the element the focus is moving to\n var elementWithFocus = event.relatedTarget;\n if (getTabIndex(elementWithFocus) === null) {\n _this.rowRenderer.stopEditing();\n return;\n }\n var clickInsideGrid = \n // see if click came from inside the viewports\n viewports.some(function (viewport) { return viewport.contains(elementWithFocus); })\n // and also that it's not from a detail grid\n && _this.mouseEventService.isElementInThisGrid(elementWithFocus);\n if (!clickInsideGrid) {\n var popupService = _this.popupService;\n clickInsideGrid =\n popupService.getActivePopups().some(function (popup) { return popup.contains(elementWithFocus); }) ||\n popupService.isElementWithinCustomPopup(elementWithFocus);\n }\n if (!clickInsideGrid) {\n _this.rowRenderer.stopEditing();\n }\n };\n var viewports = [this.eBodyViewport, this.eBottom, this.eTop, this.eStickyTop];\n viewports.forEach(function (viewport) { return _this.addManagedListener(viewport, 'focusout', focusOutListener); });\n };\n GridBodyCtrl.prototype.updateRowCount = function () {\n var headerCount = this.headerNavigationService.getHeaderRowCount();\n var rowCount = this.rowModel.isLastRowIndexKnown() ? this.rowModel.getRowCount() : -1;\n var total = rowCount === -1 ? -1 : (headerCount + rowCount);\n this.comp.setRowCount(total);\n };\n GridBodyCtrl.prototype.registerBodyViewportResizeListener = function (listener) {\n this.comp.registerBodyViewportResizeListener(listener);\n };\n GridBodyCtrl.prototype.setVerticalScrollPaddingVisible = function (visible) {\n var overflowY = visible ? 'scroll' : 'hidden';\n this.comp.setPinnedTopBottomOverflowY(overflowY);\n };\n GridBodyCtrl.prototype.isVerticalScrollShowing = function () {\n var show = this.gridOptionsWrapper.isAlwaysShowVerticalScroll();\n var cssClass = show ? CSS_CLASS_FORCE_VERTICAL_SCROLL : null;\n var allowVerticalScroll = this.gridOptionsWrapper.getDomLayout() === Constants.DOM_LAYOUT_NORMAL;\n this.comp.setAlwaysVerticalScrollClass(cssClass, show);\n return show || (allowVerticalScroll && isVerticalScrollShowing(this.eBodyViewport));\n };\n GridBodyCtrl.prototype.setupRowAnimationCssClass = function () {\n var _this = this;\n var listener = function () {\n // we don't want to use row animation if scaling, as rows jump strangely as you scroll,\n // when scaling and doing row animation.\n var animateRows = _this.gridOptionsWrapper.isAnimateRows() && !_this.rowContainerHeightService.isStretching();\n var animateRowsCssClass = animateRows ? RowAnimationCssClasses.ANIMATION_ON : RowAnimationCssClasses.ANIMATION_OFF;\n _this.comp.setRowAnimationCssOnBodyViewport(animateRowsCssClass, animateRows);\n };\n listener();\n this.addManagedListener(this.eventService, Events.EVENT_HEIGHT_SCALE_CHANGED, listener);\n };\n GridBodyCtrl.prototype.getGridBodyElement = function () {\n return this.eGridBody;\n };\n GridBodyCtrl.prototype.addBodyViewportListener = function () {\n var _this = this;\n // we want to listen for clicks directly on the eBodyViewport, so the user has a way of showing\n // the context menu if no rows or columns are displayed, or user simply clicks outside of a cell\n var listener = function (mouseEvent, touch, touchEvent) {\n if (!mouseEvent && !touchEvent) {\n return;\n }\n if (_this.gridOptionsWrapper.isPreventDefaultOnContextMenu()) {\n var event_1 = (mouseEvent || touchEvent);\n event_1.preventDefault();\n }\n var target = (mouseEvent || touch).target;\n if (target === _this.eBodyViewport || target === _this.ctrlsService.getCenterRowContainerCtrl().getViewportElement()) {\n // show it\n if (_this.contextMenuFactory) {\n if (mouseEvent) {\n _this.contextMenuFactory.onContextMenu(mouseEvent, null, null, null, null, _this.eGridBody);\n }\n else if (touchEvent) {\n _this.contextMenuFactory.onContextMenu(null, touchEvent, null, null, null, _this.eGridBody);\n }\n }\n }\n };\n this.addManagedListener(this.eBodyViewport, 'contextmenu', listener);\n this.mockContextMenuForIPad(listener);\n this.addManagedListener(this.eBodyViewport, 'wheel', this.onBodyViewportWheel.bind(this));\n this.addManagedListener(this.eStickyTop, 'wheel', this.onStickyTopWheel.bind(this));\n };\n GridBodyCtrl.prototype.mockContextMenuForIPad = function (listener) {\n // we do NOT want this when not in iPad\n if (!isIOSUserAgent()) {\n return;\n }\n var touchListener = new TouchListener(this.eBodyViewport);\n var longTapListener = function (event) {\n listener(undefined, event.touchStart, event.touchEvent);\n };\n this.addManagedListener(touchListener, TouchListener.EVENT_LONG_TAP, longTapListener);\n this.addDestroyFunc(function () { return touchListener.destroy(); });\n };\n GridBodyCtrl.prototype.onBodyViewportWheel = function (e) {\n if (!this.gridOptionsWrapper.isSuppressScrollWhenPopupsAreOpen()) {\n return;\n }\n if (this.popupService.hasAnchoredPopup()) {\n e.preventDefault();\n }\n };\n GridBodyCtrl.prototype.onStickyTopWheel = function (e) {\n e.preventDefault();\n if (e.offsetY) {\n this.scrollVertically(e.deltaY);\n }\n };\n GridBodyCtrl.prototype.getGui = function () {\n return this.eGridBody;\n };\n // called by rowDragFeature\n GridBodyCtrl.prototype.scrollVertically = function (pixels) {\n var oldScrollPosition = this.eBodyViewport.scrollTop;\n this.bodyScrollFeature.setVerticalScrollPosition(oldScrollPosition + pixels);\n return this.eBodyViewport.scrollTop - oldScrollPosition;\n };\n GridBodyCtrl.prototype.addRowDragListener = function () {\n this.rowDragFeature = this.createManagedBean(new RowDragFeature(this.eBodyViewport));\n this.dragAndDropService.addDropTarget(this.rowDragFeature);\n };\n GridBodyCtrl.prototype.getRowDragFeature = function () {\n return this.rowDragFeature;\n };\n GridBodyCtrl.prototype.onPinnedRowDataChanged = function () {\n this.setFloatingHeights();\n };\n GridBodyCtrl.prototype.setFloatingHeights = function () {\n var pinnedRowModel = this.pinnedRowModel;\n var floatingTopHeight = pinnedRowModel.getPinnedTopTotalHeight();\n if (floatingTopHeight) {\n // adding 1px for cell bottom border\n floatingTopHeight += 1;\n }\n var floatingBottomHeight = pinnedRowModel.getPinnedBottomTotalHeight();\n if (floatingBottomHeight) {\n // adding 1px for cell bottom border\n floatingBottomHeight += 1;\n }\n this.comp.setTopHeight(floatingTopHeight);\n this.comp.setBottomHeight(floatingBottomHeight);\n this.comp.setTopDisplay(floatingTopHeight ? 'inherit' : 'none');\n this.comp.setBottomDisplay(floatingBottomHeight ? 'inherit' : 'none');\n this.setStickyTopOffsetTop();\n };\n GridBodyCtrl.prototype.setStickyTopHeight = function (height) {\n if (height === void 0) { height = 0; }\n // console.log('setting sticky top height ' + height);\n this.comp.setStickyTopHeight(height + \"px\");\n this.stickyTopHeight = height;\n };\n GridBodyCtrl.prototype.getStickyTopHeight = function () {\n return this.stickyTopHeight;\n };\n GridBodyCtrl.prototype.setStickyTopWidth = function (vScrollVisible) {\n if (!vScrollVisible) {\n this.comp.setStickyTopWidth('100%');\n }\n else {\n var scrollbarWidth = this.gridOptionsWrapper.getScrollbarWidth();\n this.comp.setStickyTopWidth(\"calc(100% - \" + scrollbarWidth + \"px)\");\n }\n };\n GridBodyCtrl.prototype.onHeaderHeightChanged = function () {\n this.setStickyTopOffsetTop();\n };\n GridBodyCtrl.prototype.setStickyTopOffsetTop = function () {\n var headerCtrl = this.ctrlsService.getGridHeaderCtrl();\n var headerHeight = headerCtrl.getHeaderHeight();\n var pinnedTopHeight = this.pinnedRowModel.getPinnedTopTotalHeight();\n var height = 0;\n if (headerHeight > 0) {\n height += headerHeight + 1;\n }\n if (pinnedTopHeight > 0) {\n height += pinnedTopHeight + 1;\n }\n this.comp.setStickyTopTop(height + \"px\");\n };\n // method will call itself if no available width. this covers if the grid\n // isn't visible, but is just about to be visible.\n GridBodyCtrl.prototype.sizeColumnsToFit = function (params, nextTimeout) {\n var _this = this;\n var removeScrollWidth = this.isVerticalScrollShowing();\n var scrollWidthToRemove = removeScrollWidth ? this.gridOptionsWrapper.getScrollbarWidth() : 0;\n var bodyViewportWidth = getInnerWidth(this.eBodyViewport);\n var availableWidth = bodyViewportWidth - scrollWidthToRemove;\n if (availableWidth > 0) {\n this.columnModel.sizeColumnsToFit(availableWidth, \"sizeColumnsToFit\", false, params);\n return;\n }\n if (nextTimeout === undefined) {\n window.setTimeout(function () {\n _this.sizeColumnsToFit(params, 100);\n }, 0);\n }\n else if (nextTimeout === 100) {\n window.setTimeout(function () {\n _this.sizeColumnsToFit(params, 500);\n }, 100);\n }\n else if (nextTimeout === 500) {\n window.setTimeout(function () {\n _this.sizeColumnsToFit(params, -1);\n }, 500);\n }\n else {\n console.warn('AG Grid: tried to call sizeColumnsToFit() but the grid is coming back with ' +\n 'zero width, maybe the grid is not visible yet on the screen?');\n }\n };\n // + rangeService\n GridBodyCtrl.prototype.addScrollEventListener = function (listener) {\n this.eBodyViewport.addEventListener('scroll', listener);\n };\n // + focusService\n GridBodyCtrl.prototype.removeScrollEventListener = function (listener) {\n this.eBodyViewport.removeEventListener('scroll', listener);\n };\n __decorate$1P([\n Autowired('rowContainerHeightService')\n ], GridBodyCtrl.prototype, \"rowContainerHeightService\", void 0);\n __decorate$1P([\n Autowired('ctrlsService')\n ], GridBodyCtrl.prototype, \"ctrlsService\", void 0);\n __decorate$1P([\n Autowired('columnModel')\n ], GridBodyCtrl.prototype, \"columnModel\", void 0);\n __decorate$1P([\n Autowired('scrollVisibleService')\n ], GridBodyCtrl.prototype, \"scrollVisibleService\", void 0);\n __decorate$1P([\n Optional('contextMenuFactory')\n ], GridBodyCtrl.prototype, \"contextMenuFactory\", void 0);\n __decorate$1P([\n Autowired('headerNavigationService')\n ], GridBodyCtrl.prototype, \"headerNavigationService\", void 0);\n __decorate$1P([\n Autowired('dragAndDropService')\n ], GridBodyCtrl.prototype, \"dragAndDropService\", void 0);\n __decorate$1P([\n Autowired('pinnedRowModel')\n ], GridBodyCtrl.prototype, \"pinnedRowModel\", void 0);\n __decorate$1P([\n Autowired('rowRenderer')\n ], GridBodyCtrl.prototype, \"rowRenderer\", void 0);\n __decorate$1P([\n Autowired('popupService')\n ], GridBodyCtrl.prototype, \"popupService\", void 0);\n __decorate$1P([\n Autowired('mouseEventService')\n ], GridBodyCtrl.prototype, \"mouseEventService\", void 0);\n __decorate$1P([\n Autowired('rowModel')\n ], GridBodyCtrl.prototype, \"rowModel\", void 0);\n return GridBodyCtrl;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar SelectionHandleType;\n(function (SelectionHandleType) {\n SelectionHandleType[SelectionHandleType[\"FILL\"] = 0] = \"FILL\";\n SelectionHandleType[SelectionHandleType[\"RANGE\"] = 1] = \"RANGE\";\n})(SelectionHandleType || (SelectionHandleType = {}));\nvar CellRangeType;\n(function (CellRangeType) {\n CellRangeType[CellRangeType[\"VALUE\"] = 0] = \"VALUE\";\n CellRangeType[CellRangeType[\"DIMENSION\"] = 1] = \"DIMENSION\";\n})(CellRangeType || (CellRangeType = {}));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar CSS_CELL_RANGE_SELECTED = 'ag-cell-range-selected';\nvar CSS_CELL_RANGE_CHART = 'ag-cell-range-chart';\nvar CSS_CELL_RANGE_SINGLE_CELL = 'ag-cell-range-single-cell';\nvar CSS_CELL_RANGE_CHART_CATEGORY = 'ag-cell-range-chart-category';\nvar CSS_CELL_RANGE_HANDLE = 'ag-cell-range-handle';\nvar CSS_CELL_RANGE_TOP = 'ag-cell-range-top';\nvar CSS_CELL_RANGE_RIGHT = 'ag-cell-range-right';\nvar CSS_CELL_RANGE_BOTTOM = 'ag-cell-range-bottom';\nvar CSS_CELL_RANGE_LEFT = 'ag-cell-range-left';\nvar CellRangeFeature = /** @class */ (function () {\n function CellRangeFeature(beans, ctrl) {\n this.beans = beans;\n this.cellCtrl = ctrl;\n }\n CellRangeFeature.prototype.setComp = function (cellComp, eGui) {\n this.cellComp = cellComp;\n this.eGui = eGui;\n this.onRangeSelectionChanged();\n };\n CellRangeFeature.prototype.onRangeSelectionChanged = function () {\n // when using reactUi, given UI is async, it's possible this method is called before the comp is registered\n if (!this.cellComp) {\n return;\n }\n this.rangeCount = this.beans.rangeService.getCellRangeCount(this.cellCtrl.getCellPosition());\n this.hasChartRange = this.getHasChartRange();\n this.cellComp.addOrRemoveCssClass(CSS_CELL_RANGE_SELECTED, this.rangeCount !== 0);\n this.cellComp.addOrRemoveCssClass(CSS_CELL_RANGE_SELECTED + \"-1\", this.rangeCount === 1);\n this.cellComp.addOrRemoveCssClass(CSS_CELL_RANGE_SELECTED + \"-2\", this.rangeCount === 2);\n this.cellComp.addOrRemoveCssClass(CSS_CELL_RANGE_SELECTED + \"-3\", this.rangeCount === 3);\n this.cellComp.addOrRemoveCssClass(CSS_CELL_RANGE_SELECTED + \"-4\", this.rangeCount >= 4);\n this.cellComp.addOrRemoveCssClass(CSS_CELL_RANGE_CHART, this.hasChartRange);\n setAriaSelected(this.eGui, this.rangeCount > 0 ? true : undefined);\n this.cellComp.addOrRemoveCssClass(CSS_CELL_RANGE_SINGLE_CELL, this.isSingleCell());\n this.updateRangeBorders();\n this.refreshHandle();\n };\n CellRangeFeature.prototype.updateRangeBorders = function () {\n var rangeBorders = this.getRangeBorders();\n var isSingleCell = this.isSingleCell();\n var isTop = !isSingleCell && rangeBorders.top;\n var isRight = !isSingleCell && rangeBorders.right;\n var isBottom = !isSingleCell && rangeBorders.bottom;\n var isLeft = !isSingleCell && rangeBorders.left;\n this.cellComp.addOrRemoveCssClass(CSS_CELL_RANGE_TOP, isTop);\n this.cellComp.addOrRemoveCssClass(CSS_CELL_RANGE_RIGHT, isRight);\n this.cellComp.addOrRemoveCssClass(CSS_CELL_RANGE_BOTTOM, isBottom);\n this.cellComp.addOrRemoveCssClass(CSS_CELL_RANGE_LEFT, isLeft);\n };\n CellRangeFeature.prototype.isSingleCell = function () {\n var rangeService = this.beans.rangeService;\n return this.rangeCount === 1 && rangeService && !rangeService.isMoreThanOneCell();\n };\n CellRangeFeature.prototype.getHasChartRange = function () {\n var rangeService = this.beans.rangeService;\n if (!this.rangeCount || !rangeService) {\n return false;\n }\n var cellRanges = rangeService.getCellRanges();\n return cellRanges.length > 0 && cellRanges.every(function (range) { return includes([CellRangeType.DIMENSION, CellRangeType.VALUE], range.type); });\n };\n CellRangeFeature.prototype.updateRangeBordersIfRangeCount = function () {\n // we only need to update range borders if we are in a range\n if (this.rangeCount > 0) {\n this.updateRangeBorders();\n this.refreshHandle();\n }\n };\n CellRangeFeature.prototype.getRangeBorders = function () {\n var _this = this;\n var isRtl = this.beans.gridOptionsWrapper.isEnableRtl();\n var top = false;\n var right = false;\n var bottom = false;\n var left = false;\n var thisCol = this.cellCtrl.getCellPosition().column;\n var _a = this.beans, rangeService = _a.rangeService, columnModel = _a.columnModel;\n var leftCol;\n var rightCol;\n if (isRtl) {\n leftCol = columnModel.getDisplayedColAfter(thisCol);\n rightCol = columnModel.getDisplayedColBefore(thisCol);\n }\n else {\n leftCol = columnModel.getDisplayedColBefore(thisCol);\n rightCol = columnModel.getDisplayedColAfter(thisCol);\n }\n var ranges = rangeService.getCellRanges().filter(function (range) { return rangeService.isCellInSpecificRange(_this.cellCtrl.getCellPosition(), range); });\n // this means we are the first column in the grid\n if (!leftCol) {\n left = true;\n }\n // this means we are the last column in the grid\n if (!rightCol) {\n right = true;\n }\n for (var i = 0; i < ranges.length; i++) {\n if (top && right && bottom && left) {\n break;\n }\n var range = ranges[i];\n var startRow = rangeService.getRangeStartRow(range);\n var endRow = rangeService.getRangeEndRow(range);\n if (!top && this.beans.rowPositionUtils.sameRow(startRow, this.cellCtrl.getCellPosition())) {\n top = true;\n }\n if (!bottom && this.beans.rowPositionUtils.sameRow(endRow, this.cellCtrl.getCellPosition())) {\n bottom = true;\n }\n if (!left && leftCol && range.columns.indexOf(leftCol) < 0) {\n left = true;\n }\n if (!right && rightCol && range.columns.indexOf(rightCol) < 0) {\n right = true;\n }\n }\n return { top: top, right: right, bottom: bottom, left: left };\n };\n CellRangeFeature.prototype.refreshHandle = function () {\n if (!this.beans.rangeService) {\n return;\n }\n var shouldHaveSelectionHandle = this.shouldHaveSelectionHandle();\n if (this.selectionHandle && !shouldHaveSelectionHandle) {\n this.selectionHandle = this.beans.context.destroyBean(this.selectionHandle);\n }\n if (shouldHaveSelectionHandle) {\n this.addSelectionHandle();\n }\n this.cellComp.addOrRemoveCssClass(CSS_CELL_RANGE_HANDLE, !!this.selectionHandle);\n };\n CellRangeFeature.prototype.shouldHaveSelectionHandle = function () {\n var _a = this.beans, gridOptionsWrapper = _a.gridOptionsWrapper, rangeService = _a.rangeService;\n var cellRanges = rangeService.getCellRanges();\n var rangesLen = cellRanges.length;\n if (this.rangeCount < 1 || rangesLen < 1) {\n return false;\n }\n var cellRange = last(cellRanges);\n var cellPosition = this.cellCtrl.getCellPosition();\n var isFillHandleAvailable = gridOptionsWrapper.isEnableFillHandle() && !this.cellCtrl.isSuppressFillHandle();\n var isRangeHandleAvailable = gridOptionsWrapper.isEnableRangeHandle();\n var handleIsAvailable = rangesLen === 1 && !this.cellCtrl.isEditing() && (isFillHandleAvailable || isRangeHandleAvailable);\n if (this.hasChartRange) {\n var hasCategoryRange = cellRanges[0].type === CellRangeType.DIMENSION;\n var isCategoryCell = hasCategoryRange && rangeService.isCellInSpecificRange(cellPosition, cellRanges[0]);\n this.cellComp.addOrRemoveCssClass(CSS_CELL_RANGE_CHART_CATEGORY, isCategoryCell);\n handleIsAvailable = cellRange.type === CellRangeType.VALUE;\n }\n return handleIsAvailable &&\n cellRange.endRow != null &&\n rangeService.isContiguousRange(cellRange) &&\n rangeService.isBottomRightCell(cellRange, cellPosition);\n };\n CellRangeFeature.prototype.addSelectionHandle = function () {\n var _a = this.beans, gridOptionsWrapper = _a.gridOptionsWrapper, rangeService = _a.rangeService;\n var cellRangeType = last(rangeService.getCellRanges()).type;\n var selectionHandleFill = gridOptionsWrapper.isEnableFillHandle() && missing(cellRangeType);\n var type = selectionHandleFill ? SelectionHandleType.FILL : SelectionHandleType.RANGE;\n if (this.selectionHandle && this.selectionHandle.getType() !== type) {\n this.selectionHandle = this.beans.context.destroyBean(this.selectionHandle);\n }\n if (!this.selectionHandle) {\n this.selectionHandle = this.beans.selectionHandleFactory.createSelectionHandle(type);\n }\n this.selectionHandle.refresh(this.cellCtrl);\n };\n CellRangeFeature.prototype.destroy = function () {\n this.beans.context.destroyBean(this.selectionHandle);\n };\n return CellRangeFeature;\n}());\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$1$ = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\n/**\n * Takes care of:\n * #) Cell Width (including when doing cell spanning, which makes width cover many columns)\n * #) Cell Height (when doing row span, otherwise we don't touch the height as it's just row height)\n * #) Cell Left (the horizontal positioning of the cell, the vertical positioning is on the row)\n */\nvar CellPositionFeature = /** @class */ (function (_super) {\n __extends$1$(CellPositionFeature, _super);\n function CellPositionFeature(ctrl, beans) {\n var _this = _super.call(this) || this;\n _this.cellCtrl = ctrl;\n _this.beans = beans;\n _this.column = ctrl.getColumn();\n _this.rowNode = ctrl.getRowNode();\n _this.setupColSpan();\n _this.setupRowSpan();\n return _this;\n }\n CellPositionFeature.prototype.setupRowSpan = function () {\n this.rowSpan = this.column.getRowSpan(this.rowNode);\n };\n CellPositionFeature.prototype.setComp = function (eGui) {\n this.eGui = eGui;\n this.onLeftChanged();\n this.onWidthChanged();\n this.applyRowSpan();\n };\n CellPositionFeature.prototype.onDisplayColumnsChanged = function () {\n var colsSpanning = this.getColSpanningList();\n if (!areEqual(this.colsSpanning, colsSpanning)) {\n this.colsSpanning = colsSpanning;\n this.onWidthChanged();\n this.onLeftChanged(); // left changes when doing RTL\n }\n };\n CellPositionFeature.prototype.setupColSpan = function () {\n // if no col span is active, then we don't set it up, as it would be wasteful of CPU\n if (this.column.getColDef().colSpan == null) {\n return;\n }\n this.colsSpanning = this.getColSpanningList();\n // because we are col spanning, a reorder of the cols can change what cols we are spanning over\n this.addManagedListener(this.beans.eventService, Events.EVENT_DISPLAYED_COLUMNS_CHANGED, this.onDisplayColumnsChanged.bind(this));\n // because we are spanning over multiple cols, we check for width any time any cols width changes.\n // this is expensive - really we should be explicitly checking only the cols we are spanning over\n // instead of every col, however it would be tricky code to track the cols we are spanning over, so\n // because hardly anyone will be using colSpan, am favouring this easier way for more maintainable code.\n this.addManagedListener(this.beans.eventService, Events.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED, this.onWidthChanged.bind(this));\n };\n CellPositionFeature.prototype.onWidthChanged = function () {\n if (!this.eGui) {\n return;\n }\n var width = this.getCellWidth();\n this.eGui.style.width = width + \"px\";\n };\n CellPositionFeature.prototype.getCellWidth = function () {\n if (!this.colsSpanning) {\n return this.column.getActualWidth();\n }\n return this.colsSpanning.reduce(function (width, col) { return width + col.getActualWidth(); }, 0);\n };\n CellPositionFeature.prototype.getColSpanningList = function () {\n var colSpan = this.column.getColSpan(this.rowNode);\n var colsSpanning = [];\n // if just one col, the col span is just the column we are in\n if (colSpan === 1) {\n colsSpanning.push(this.column);\n }\n else {\n var pointer = this.column;\n var pinned = this.column.getPinned();\n for (var i = 0; pointer && i < colSpan; i++) {\n colsSpanning.push(pointer);\n pointer = this.beans.columnModel.getDisplayedColAfter(pointer);\n if (!pointer || missing(pointer)) {\n break;\n }\n // we do not allow col spanning to span outside of pinned areas\n if (pinned !== pointer.getPinned()) {\n break;\n }\n }\n }\n return colsSpanning;\n };\n CellPositionFeature.prototype.onLeftChanged = function () {\n if (!this.eGui) {\n return;\n }\n var left = this.modifyLeftForPrintLayout(this.getCellLeft());\n this.eGui.style.left = left + 'px';\n };\n CellPositionFeature.prototype.getCellLeft = function () {\n var mostLeftCol;\n if (this.beans.gridOptionsWrapper.isEnableRtl() && this.colsSpanning) {\n mostLeftCol = last(this.colsSpanning);\n }\n else {\n mostLeftCol = this.column;\n }\n return mostLeftCol.getLeft();\n };\n CellPositionFeature.prototype.modifyLeftForPrintLayout = function (leftPosition) {\n if (!this.cellCtrl.isPrintLayout() || this.column.getPinned() === Constants.PINNED_LEFT) {\n return leftPosition;\n }\n var leftWidth = this.beans.columnModel.getDisplayedColumnsLeftWidth();\n if (this.column.getPinned() === Constants.PINNED_RIGHT) {\n var bodyWidth = this.beans.columnModel.getBodyContainerWidth();\n return leftWidth + bodyWidth + (leftPosition || 0);\n }\n // is in body\n return leftWidth + (leftPosition || 0);\n };\n CellPositionFeature.prototype.applyRowSpan = function () {\n if (this.rowSpan === 1) {\n return;\n }\n var singleRowHeight = this.beans.gridOptionsWrapper.getRowHeightAsNumber();\n var totalRowHeight = singleRowHeight * this.rowSpan;\n this.eGui.style.height = totalRowHeight + \"px\";\n this.eGui.style.zIndex = '1';\n };\n // overriding to make public, as we don't dispose this bean via context\n CellPositionFeature.prototype.destroy = function () {\n _super.prototype.destroy.call(this);\n };\n return CellPositionFeature;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$1_ = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar CellCustomStyleFeature = /** @class */ (function (_super) {\n __extends$1_(CellCustomStyleFeature, _super);\n function CellCustomStyleFeature(ctrl, beans) {\n var _this = _super.call(this) || this;\n _this.staticClasses = [];\n _this.cellCtrl = ctrl;\n _this.beans = beans;\n _this.column = ctrl.getColumn();\n _this.rowNode = ctrl.getRowNode();\n return _this;\n }\n CellCustomStyleFeature.prototype.setComp = function (comp) {\n this.cellComp = comp;\n this.applyUserStyles();\n this.applyCellClassRules();\n this.applyClassesFromColDef();\n };\n CellCustomStyleFeature.prototype.applyCellClassRules = function () {\n var _this = this;\n var colDef = this.column.getColDef();\n var cellClassParams = {\n value: this.cellCtrl.getValue(),\n data: this.rowNode.data,\n node: this.rowNode,\n colDef: colDef,\n column: this.column,\n rowIndex: this.rowNode.rowIndex,\n api: this.beans.gridOptionsWrapper.getApi(),\n columnApi: this.beans.gridOptionsWrapper.getColumnApi(),\n context: this.beans.gridOptionsWrapper.getContext()\n };\n this.beans.stylingService.processClassRules(colDef.cellClassRules, cellClassParams, function (className) { return _this.cellComp.addOrRemoveCssClass(className, true); }, function (className) { return _this.cellComp.addOrRemoveCssClass(className, false); });\n };\n CellCustomStyleFeature.prototype.applyUserStyles = function () {\n var colDef = this.column.getColDef();\n if (!colDef.cellStyle) {\n return;\n }\n var styles;\n if (typeof colDef.cellStyle === 'function') {\n var cellStyleParams = {\n column: this.column,\n value: this.cellCtrl.getValue(),\n colDef: colDef,\n data: this.rowNode.data,\n node: this.rowNode,\n rowIndex: this.rowNode.rowIndex,\n api: this.beans.gridOptionsWrapper.getApi(),\n columnApi: this.beans.gridOptionsWrapper.getColumnApi(),\n context: this.beans.gridOptionsWrapper.getContext(),\n };\n var cellStyleFunc = colDef.cellStyle;\n styles = cellStyleFunc(cellStyleParams);\n }\n else {\n styles = colDef.cellStyle;\n }\n this.cellComp.setUserStyles(styles);\n };\n CellCustomStyleFeature.prototype.applyClassesFromColDef = function () {\n var _this = this;\n var colDef = this.column.getColDef();\n var cellClassParams = {\n value: this.cellCtrl.getValue(),\n data: this.rowNode.data,\n node: this.rowNode,\n column: this.column,\n colDef: colDef,\n rowIndex: this.rowNode.rowIndex,\n api: this.beans.gridOptionsWrapper.getApi(),\n columnApi: this.beans.gridOptionsWrapper.getColumnApi(),\n context: this.beans.gridOptionsWrapper.getContext()\n };\n if (this.staticClasses.length) {\n this.staticClasses.forEach(function (className) { return _this.cellComp.addOrRemoveCssClass(className, false); });\n }\n this.staticClasses = this.beans.stylingService.getStaticCellClasses(colDef, cellClassParams);\n if (this.staticClasses.length) {\n this.staticClasses.forEach(function (className) { return _this.cellComp.addOrRemoveCssClass(className, true); });\n }\n };\n // overriding to make public, as we don't dispose this bean via context\n CellCustomStyleFeature.prototype.destroy = function () {\n _super.prototype.destroy.call(this);\n };\n return CellCustomStyleFeature;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$1Z = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar TooltipFeature = /** @class */ (function (_super) {\n __extends$1Z(TooltipFeature, _super);\n function TooltipFeature(ctrl, beans) {\n var _this = _super.call(this) || this;\n _this.ctrl = ctrl;\n _this.beans = beans;\n return _this;\n }\n TooltipFeature.prototype.setComp = function (comp) {\n this.comp = comp;\n this.setupTooltip();\n };\n TooltipFeature.prototype.setupTooltip = function () {\n this.browserTooltips = this.beans.gridOptionsWrapper.isEnableBrowserTooltips();\n this.updateTooltipText();\n if (this.browserTooltips) {\n this.comp.setTitle(this.tooltip != null ? this.tooltip : undefined);\n }\n else {\n this.createTooltipFeatureIfNeeded();\n }\n };\n TooltipFeature.prototype.updateTooltipText = function () {\n this.tooltip = this.ctrl.getTooltipValue();\n };\n TooltipFeature.prototype.createTooltipFeatureIfNeeded = function () {\n var _this = this;\n if (this.genericTooltipFeature != null) {\n return;\n }\n var parent = {\n getTooltipParams: function () { return _this.getTooltipParams(); },\n getGui: function () { return _this.ctrl.getGui(); }\n };\n this.genericTooltipFeature = this.createManagedBean(new CustomTooltipFeature(parent), this.beans.context);\n };\n TooltipFeature.prototype.refreshToolTip = function () {\n this.updateTooltipText();\n if (this.browserTooltips) {\n this.comp.setTitle(this.tooltip != null ? this.tooltip : undefined);\n }\n };\n TooltipFeature.prototype.getTooltipParams = function () {\n var ctrl = this.ctrl;\n var column = ctrl.getColumn ? ctrl.getColumn() : undefined;\n var colDef = ctrl.getColDef ? ctrl.getColDef() : undefined;\n var rowNode = ctrl.getRowNode ? ctrl.getRowNode() : undefined;\n return {\n location: ctrl.getLocation(),\n colDef: colDef,\n column: column,\n rowIndex: ctrl.getRowIndex ? ctrl.getRowIndex() : undefined,\n node: rowNode,\n data: rowNode ? rowNode.data : undefined,\n value: this.getTooltipText(),\n valueFormatted: ctrl.getValueFormatted ? ctrl.getValueFormatted() : undefined,\n };\n };\n TooltipFeature.prototype.getTooltipText = function () {\n return this.tooltip;\n };\n // overriding to make public, as we don't dispose this bean via context\n TooltipFeature.prototype.destroy = function () {\n _super.prototype.destroy.call(this);\n };\n return TooltipFeature;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __decorate$1O = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n/** Using the IoC has a slight performance consideration, which is no problem most of the\n * time, unless we are trashing objects - which is the case when scrolling and rowComp\n * and cellComp. So for performance reasons, RowComp and CellComp do not get autowired\n * with the IoC. Instead they get passed this object which is all the beans the RowComp\n * and CellComp need. Not autowiring all the cells gives performance improvement. */\nvar Beans = /** @class */ (function () {\n function Beans() {\n }\n Beans.prototype.postConstruct = function () {\n this.doingMasterDetail = this.gridOptionsWrapper.isMasterDetail();\n if (this.gridOptionsWrapper.isRowModelDefault()) {\n this.clientSideRowModel = this.rowModel;\n }\n if (this.gridOptionsWrapper.isRowModelServerSide()) {\n this.serverSideRowModel = this.rowModel;\n }\n };\n __decorate$1O([\n Autowired('resizeObserverService')\n ], Beans.prototype, \"resizeObserverService\", void 0);\n __decorate$1O([\n Autowired('paginationProxy')\n ], Beans.prototype, \"paginationProxy\", void 0);\n __decorate$1O([\n Autowired('context')\n ], Beans.prototype, \"context\", void 0);\n __decorate$1O([\n Autowired('columnApi')\n ], Beans.prototype, \"columnApi\", void 0);\n __decorate$1O([\n Autowired('gridApi')\n ], Beans.prototype, \"gridApi\", void 0);\n __decorate$1O([\n Autowired('gridOptionsWrapper')\n ], Beans.prototype, \"gridOptionsWrapper\", void 0);\n __decorate$1O([\n Autowired('expressionService')\n ], Beans.prototype, \"expressionService\", void 0);\n __decorate$1O([\n Autowired('rowRenderer')\n ], Beans.prototype, \"rowRenderer\", void 0);\n __decorate$1O([\n Autowired('templateService')\n ], Beans.prototype, \"templateService\", void 0);\n __decorate$1O([\n Autowired('valueService')\n ], Beans.prototype, \"valueService\", void 0);\n __decorate$1O([\n Autowired('eventService')\n ], Beans.prototype, \"eventService\", void 0);\n __decorate$1O([\n Autowired('columnModel')\n ], Beans.prototype, \"columnModel\", void 0);\n __decorate$1O([\n Autowired('headerNavigationService')\n ], Beans.prototype, \"headerNavigationService\", void 0);\n __decorate$1O([\n Autowired('navigationService')\n ], Beans.prototype, \"navigationService\", void 0);\n __decorate$1O([\n Autowired('columnAnimationService')\n ], Beans.prototype, \"columnAnimationService\", void 0);\n __decorate$1O([\n Optional('rangeService')\n ], Beans.prototype, \"rangeService\", void 0);\n __decorate$1O([\n Autowired('focusService')\n ], Beans.prototype, \"focusService\", void 0);\n __decorate$1O([\n Optional('contextMenuFactory')\n ], Beans.prototype, \"contextMenuFactory\", void 0);\n __decorate$1O([\n Autowired('popupService')\n ], Beans.prototype, \"popupService\", void 0);\n __decorate$1O([\n Autowired('valueFormatterService')\n ], Beans.prototype, \"valueFormatterService\", void 0);\n __decorate$1O([\n Autowired('stylingService')\n ], Beans.prototype, \"stylingService\", void 0);\n __decorate$1O([\n Autowired('columnHoverService')\n ], Beans.prototype, \"columnHoverService\", void 0);\n __decorate$1O([\n Autowired('userComponentFactory')\n ], Beans.prototype, \"userComponentFactory\", void 0);\n __decorate$1O([\n Autowired('userComponentRegistry')\n ], Beans.prototype, \"userComponentRegistry\", void 0);\n __decorate$1O([\n Autowired('animationFrameService')\n ], Beans.prototype, \"animationFrameService\", void 0);\n __decorate$1O([\n Autowired('dragAndDropService')\n ], Beans.prototype, \"dragAndDropService\", void 0);\n __decorate$1O([\n Autowired('sortController')\n ], Beans.prototype, \"sortController\", void 0);\n __decorate$1O([\n Autowired('filterManager')\n ], Beans.prototype, \"filterManager\", void 0);\n __decorate$1O([\n Autowired('rowContainerHeightService')\n ], Beans.prototype, \"rowContainerHeightService\", void 0);\n __decorate$1O([\n Autowired('frameworkOverrides')\n ], Beans.prototype, \"frameworkOverrides\", void 0);\n __decorate$1O([\n Autowired('cellPositionUtils')\n ], Beans.prototype, \"cellPositionUtils\", void 0);\n __decorate$1O([\n Autowired('rowPositionUtils')\n ], Beans.prototype, \"rowPositionUtils\", void 0);\n __decorate$1O([\n Autowired('selectionService')\n ], Beans.prototype, \"selectionService\", void 0);\n __decorate$1O([\n Optional('selectionHandleFactory')\n ], Beans.prototype, \"selectionHandleFactory\", void 0);\n __decorate$1O([\n Autowired('rowCssClassCalculator')\n ], Beans.prototype, \"rowCssClassCalculator\", void 0);\n __decorate$1O([\n Autowired('rowModel')\n ], Beans.prototype, \"rowModel\", void 0);\n __decorate$1O([\n Autowired('ctrlsService')\n ], Beans.prototype, \"ctrlsService\", void 0);\n __decorate$1O([\n Autowired('ctrlsFactory')\n ], Beans.prototype, \"ctrlsFactory\", void 0);\n __decorate$1O([\n Autowired('agStackComponentsRegistry')\n ], Beans.prototype, \"agStackComponentsRegistry\", void 0);\n __decorate$1O([\n Autowired('valueCache')\n ], Beans.prototype, \"valueCache\", void 0);\n __decorate$1O([\n Autowired('rowNodeEventThrottle')\n ], Beans.prototype, \"rowNodeEventThrottle\", void 0);\n __decorate$1O([\n PostConstruct\n ], Beans.prototype, \"postConstruct\", null);\n Beans = __decorate$1O([\n Bean('beans')\n ], Beans);\n return Beans;\n}());\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$1Y = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar CellMouseListenerFeature = /** @class */ (function (_super) {\n __extends$1Y(CellMouseListenerFeature, _super);\n function CellMouseListenerFeature(ctrl, beans, column) {\n var _this = _super.call(this) || this;\n _this.cellCtrl = ctrl;\n _this.beans = beans;\n _this.column = column;\n return _this;\n }\n CellMouseListenerFeature.prototype.onMouseEvent = function (eventName, mouseEvent) {\n if (isStopPropagationForAgGrid(mouseEvent)) {\n return;\n }\n switch (eventName) {\n case 'click':\n this.onCellClicked(mouseEvent);\n break;\n case 'mousedown':\n case 'touchstart':\n this.onMouseDown(mouseEvent);\n break;\n case 'dblclick':\n this.onCellDoubleClicked(mouseEvent);\n break;\n case 'mouseout':\n this.onMouseOut(mouseEvent);\n break;\n case 'mouseover':\n this.onMouseOver(mouseEvent);\n break;\n }\n };\n CellMouseListenerFeature.prototype.onCellClicked = function (mouseEvent) {\n // iPad doesn't have double click - so we need to mimic it to enable editing for iPad.\n if (this.isDoubleClickOnIPad()) {\n this.onCellDoubleClicked(mouseEvent);\n mouseEvent.preventDefault(); // if we don't do this, then iPad zooms in\n return;\n }\n var _a = this.beans, eventService = _a.eventService, rangeService = _a.rangeService, gridOptionsWrapper = _a.gridOptionsWrapper;\n var multiKeyPressed = mouseEvent.ctrlKey || mouseEvent.metaKey;\n if (rangeService && multiKeyPressed) {\n // the mousedown event has created the range already, so we only intersect if there is more than one\n // range on this cell\n if (rangeService.getCellRangeCount(this.cellCtrl.getCellPosition()) > 1) {\n rangeService.intersectLastRange(true);\n }\n }\n var cellClickedEvent = this.cellCtrl.createEvent(mouseEvent, Events.EVENT_CELL_CLICKED);\n eventService.dispatchEvent(cellClickedEvent);\n var colDef = this.column.getColDef();\n if (colDef.onCellClicked) {\n // to make callback async, do in a timeout\n window.setTimeout(function () { return colDef.onCellClicked(cellClickedEvent); }, 0);\n }\n var editOnSingleClick = (gridOptionsWrapper.isSingleClickEdit() || colDef.singleClickEdit)\n && !gridOptionsWrapper.isSuppressClickEdit();\n if (editOnSingleClick) {\n this.cellCtrl.startRowOrCellEdit();\n }\n };\n // returns true if on iPad and this is second 'click' event in 200ms\n CellMouseListenerFeature.prototype.isDoubleClickOnIPad = function () {\n if (!isIOSUserAgent() || isEventSupported('dblclick')) {\n return false;\n }\n var nowMillis = new Date().getTime();\n var res = nowMillis - this.lastIPadMouseClickEvent < 200;\n this.lastIPadMouseClickEvent = nowMillis;\n return res;\n };\n CellMouseListenerFeature.prototype.onCellDoubleClicked = function (mouseEvent) {\n var colDef = this.column.getColDef();\n // always dispatch event to eventService\n var cellDoubleClickedEvent = this.cellCtrl.createEvent(mouseEvent, Events.EVENT_CELL_DOUBLE_CLICKED);\n this.beans.eventService.dispatchEvent(cellDoubleClickedEvent);\n // check if colDef also wants to handle event\n if (typeof colDef.onCellDoubleClicked === 'function') {\n // to make the callback async, do in a timeout\n window.setTimeout(function () { return colDef.onCellDoubleClicked(cellDoubleClickedEvent); }, 0);\n }\n var editOnDoubleClick = !this.beans.gridOptionsWrapper.isSingleClickEdit()\n && !this.beans.gridOptionsWrapper.isSuppressClickEdit();\n if (editOnDoubleClick) {\n this.cellCtrl.startRowOrCellEdit(null, null, mouseEvent);\n }\n };\n CellMouseListenerFeature.prototype.onMouseDown = function (mouseEvent) {\n var ctrlKey = mouseEvent.ctrlKey, metaKey = mouseEvent.metaKey, shiftKey = mouseEvent.shiftKey;\n var target = mouseEvent.target;\n var _a = this.beans, eventService = _a.eventService, rangeService = _a.rangeService;\n // do not change the range for right-clicks inside an existing range\n if (this.isRightClickInExistingRange(mouseEvent)) {\n return;\n }\n var ranges = rangeService && rangeService.getCellRanges().length != 0;\n if (!shiftKey || !ranges) {\n // We only need to pass true to focusCell when the browser is IE/Edge/Safari and we are trying\n // to focus the cell itself. This should never be true if the mousedown was triggered\n // due to a click on a cell editor for example.\n var forceBrowserFocus = (isBrowserEdge() || isBrowserSafari()) && !this.cellCtrl.isEditing() && !isFocusableFormField(target);\n this.cellCtrl.focusCell(forceBrowserFocus);\n }\n // if shift clicking, and a range exists, we keep the focus on the cell that started the\n // range as the user then changes the range selection.\n if (shiftKey && ranges) {\n // this stops the cell from getting focused\n mouseEvent.preventDefault();\n }\n // if we are clicking on a checkbox, we need to make sure the cell wrapping that checkbox\n // is focused but we don't want to change the range selection, so return here.\n if (this.containsWidget(target)) {\n return;\n }\n if (rangeService) {\n var thisCell = this.cellCtrl.getCellPosition();\n if (shiftKey) {\n rangeService.extendLatestRangeToCell(thisCell);\n }\n else {\n var ctrlKeyPressed = ctrlKey || metaKey;\n rangeService.setRangeToCell(thisCell, ctrlKeyPressed);\n }\n }\n eventService.dispatchEvent(this.cellCtrl.createEvent(mouseEvent, Events.EVENT_CELL_MOUSE_DOWN));\n };\n CellMouseListenerFeature.prototype.isRightClickInExistingRange = function (mouseEvent) {\n var rangeService = this.beans.rangeService;\n if (rangeService) {\n var cellInRange = rangeService.isCellInAnyRange(this.cellCtrl.getCellPosition());\n if (cellInRange && mouseEvent.button === 2) {\n return true;\n }\n }\n return false;\n };\n CellMouseListenerFeature.prototype.containsWidget = function (target) {\n return isElementChildOfClass(target, 'ag-selection-checkbox', 3);\n };\n CellMouseListenerFeature.prototype.onMouseOut = function (mouseEvent) {\n if (this.mouseStayingInsideCell(mouseEvent)) {\n return;\n }\n var cellMouseOutEvent = this.cellCtrl.createEvent(mouseEvent, Events.EVENT_CELL_MOUSE_OUT);\n this.beans.eventService.dispatchEvent(cellMouseOutEvent);\n this.beans.columnHoverService.clearMouseOver();\n };\n CellMouseListenerFeature.prototype.onMouseOver = function (mouseEvent) {\n if (this.mouseStayingInsideCell(mouseEvent)) {\n return;\n }\n var cellMouseOverEvent = this.cellCtrl.createEvent(mouseEvent, Events.EVENT_CELL_MOUSE_OVER);\n this.beans.eventService.dispatchEvent(cellMouseOverEvent);\n this.beans.columnHoverService.setMouseOver([this.column]);\n };\n CellMouseListenerFeature.prototype.mouseStayingInsideCell = function (e) {\n if (!e.target || !e.relatedTarget) {\n return false;\n }\n var eGui = this.cellCtrl.getGui();\n var cellContainsTarget = eGui.contains(e.target);\n var cellContainsRelatedTarget = eGui.contains(e.relatedTarget);\n return cellContainsTarget && cellContainsRelatedTarget;\n };\n CellMouseListenerFeature.prototype.destroy = function () {\n };\n return CellMouseListenerFeature;\n}(Beans));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$1X = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar CellKeyboardListenerFeature = /** @class */ (function (_super) {\n __extends$1X(CellKeyboardListenerFeature, _super);\n function CellKeyboardListenerFeature(ctrl, beans, column, rowNode, rowCtrl) {\n var _this = _super.call(this) || this;\n _this.cellCtrl = ctrl;\n _this.beans = beans;\n _this.rowNode = rowNode;\n _this.rowCtrl = rowCtrl;\n return _this;\n }\n CellKeyboardListenerFeature.prototype.setComp = function (eGui) {\n this.eGui = eGui;\n };\n CellKeyboardListenerFeature.prototype.onKeyDown = function (event) {\n var key = event.key;\n switch (key) {\n case KeyCode.ENTER:\n this.onEnterKeyDown(event);\n break;\n case KeyCode.F2:\n this.onF2KeyDown(event);\n break;\n case KeyCode.ESCAPE:\n this.onEscapeKeyDown(event);\n break;\n case KeyCode.TAB:\n this.onTabKeyDown(event);\n break;\n case KeyCode.BACKSPACE:\n case KeyCode.DELETE:\n this.onBackspaceOrDeleteKeyPressed(key, event);\n break;\n case KeyCode.DOWN:\n case KeyCode.UP:\n case KeyCode.RIGHT:\n case KeyCode.LEFT:\n this.onNavigationKeyPressed(event, key);\n break;\n }\n };\n CellKeyboardListenerFeature.prototype.onNavigationKeyPressed = function (event, key) {\n if (this.cellCtrl.isEditing()) {\n return;\n }\n if (event.shiftKey && this.cellCtrl.isRangeSelectionEnabled()) {\n this.onShiftRangeSelect(event);\n }\n else {\n this.beans.navigationService.navigateToNextCell(event, key, this.cellCtrl.getCellPosition(), true);\n }\n // if we don't prevent default, the grid will scroll with the navigation keys\n event.preventDefault();\n };\n CellKeyboardListenerFeature.prototype.onShiftRangeSelect = function (event) {\n if (!this.beans.rangeService) {\n return;\n }\n var endCell = this.beans.rangeService.extendLatestRangeInDirection(event);\n if (endCell) {\n this.beans.navigationService.ensureCellVisible(endCell);\n }\n };\n CellKeyboardListenerFeature.prototype.onTabKeyDown = function (event) {\n this.beans.navigationService.onTabKeyDown(this.cellCtrl, event);\n };\n CellKeyboardListenerFeature.prototype.onBackspaceOrDeleteKeyPressed = function (key, event) {\n var _a = this, cellCtrl = _a.cellCtrl, beans = _a.beans, rowNode = _a.rowNode;\n var gridOptionsWrapper = beans.gridOptionsWrapper, rangeService = beans.rangeService, eventService = beans.eventService;\n if (cellCtrl.isEditing()) {\n return;\n }\n eventService.dispatchEvent({ type: Events.EVENT_KEY_SHORTCUT_CHANGED_CELL_START });\n if (isDeleteKey(key, gridOptionsWrapper.isEnableCellEditingOnBackspace())) {\n if (rangeService && gridOptionsWrapper.isEnableRangeSelection()) {\n rangeService.clearCellRangeCellValues();\n }\n else if (cellCtrl.isCellEditable()) {\n rowNode.setDataValue(cellCtrl.getColumn(), null, 'cellKeyboardListenerFeature');\n }\n }\n else {\n cellCtrl.startRowOrCellEdit(key, undefined, event);\n }\n eventService.dispatchEvent({ type: Events.EVENT_KEY_SHORTCUT_CHANGED_CELL_END });\n };\n CellKeyboardListenerFeature.prototype.onEnterKeyDown = function (e) {\n if (this.cellCtrl.isEditing() || this.rowCtrl.isEditing()) {\n this.cellCtrl.stopEditingAndFocus();\n }\n else {\n if (this.beans.gridOptionsWrapper.isEnterMovesDown()) {\n this.beans.navigationService.navigateToNextCell(null, KeyCode.DOWN, this.cellCtrl.getCellPosition(), false);\n }\n else {\n this.cellCtrl.startRowOrCellEdit(KeyCode.ENTER, undefined, e);\n if (this.cellCtrl.isEditing()) {\n // if we started editing, then we need to prevent default, otherwise the Enter action can get\n // applied to the cell editor. this happened, for example, with largeTextCellEditor where not\n // preventing default results in a 'new line' character getting inserted in the text area\n // when the editing was started\n e.preventDefault();\n }\n }\n }\n };\n CellKeyboardListenerFeature.prototype.onF2KeyDown = function (event) {\n if (!this.cellCtrl.isEditing()) {\n this.cellCtrl.startRowOrCellEdit(KeyCode.F2, undefined, event);\n }\n };\n CellKeyboardListenerFeature.prototype.onEscapeKeyDown = function (event) {\n if (this.cellCtrl.isEditing()) {\n this.cellCtrl.stopRowOrCellEdit(true);\n this.cellCtrl.focusCell(true);\n }\n };\n CellKeyboardListenerFeature.prototype.onKeyPress = function (event) {\n // check this, in case focus is on a (for example) a text field inside the cell,\n // in which cse we should not be listening for these key pressed\n var eventTarget = event.target;\n var eventOnChildComponent = eventTarget !== this.eGui;\n if (eventOnChildComponent || this.cellCtrl.isEditing()) {\n return;\n }\n var pressedChar = String.fromCharCode(event.charCode);\n if (pressedChar === ' ') {\n this.onSpaceKeyPressed(event);\n }\n else if (isEventFromPrintableCharacter(event)) {\n this.cellCtrl.startRowOrCellEdit(null, pressedChar, event);\n // if we don't prevent default, then the keypress also gets applied to the text field\n // (at least when doing the default editor), but we need to allow the editor to decide\n // what it wants to do. we only do this IF editing was started - otherwise it messes\n // up when the use is not doing editing, but using rendering with text fields in cellRenderer\n // (as it would block the the user from typing into text fields).\n event.preventDefault();\n }\n };\n CellKeyboardListenerFeature.prototype.onSpaceKeyPressed = function (event) {\n var gridOptionsWrapper = this.beans.gridOptionsWrapper;\n if (!this.cellCtrl.isEditing() && gridOptionsWrapper.isRowSelection()) {\n var currentSelection = this.rowNode.isSelected();\n var newSelection = !currentSelection;\n if (newSelection || !gridOptionsWrapper.isSuppressRowDeselection()) {\n var groupSelectsFiltered = this.beans.gridOptionsWrapper.isGroupSelectsFiltered();\n var updatedCount = this.rowNode.setSelectedParams({\n newValue: newSelection,\n rangeSelect: event.shiftKey,\n groupSelectsFiltered: groupSelectsFiltered\n });\n if (currentSelection === undefined && updatedCount === 0) {\n this.rowNode.setSelectedParams({\n newValue: false,\n rangeSelect: event.shiftKey,\n groupSelectsFiltered: groupSelectsFiltered\n });\n }\n }\n }\n // prevent default as space key, by default, moves browser scroll down\n event.preventDefault();\n };\n CellKeyboardListenerFeature.prototype.destroy = function () {\n _super.prototype.destroy.call(this);\n };\n return CellKeyboardListenerFeature;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$1W = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$1N = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar DndSourceComp = /** @class */ (function (_super) {\n __extends$1W(DndSourceComp, _super);\n function DndSourceComp(rowNode, column, beans, eCell) {\n var _this = _super.call(this, \"
    \") || this;\n _this.rowNode = rowNode;\n _this.column = column;\n _this.beans = beans;\n _this.eCell = eCell;\n return _this;\n }\n DndSourceComp.prototype.postConstruct = function () {\n var eGui = this.getGui();\n eGui.appendChild(createIconNoSpan('rowDrag', this.beans.gridOptionsWrapper, null));\n // we need to stop the event propagation here to avoid starting a range selection while dragging\n this.addGuiEventListener('mousedown', function (e) {\n e.stopPropagation();\n });\n this.addDragSource();\n this.checkVisibility();\n };\n DndSourceComp.prototype.addDragSource = function () {\n this.addGuiEventListener('dragstart', this.onDragStart.bind(this));\n };\n DndSourceComp.prototype.onDragStart = function (dragEvent) {\n var _this = this;\n var providedOnRowDrag = this.column.getColDef().dndSourceOnRowDrag;\n dragEvent.dataTransfer.setDragImage(this.eCell, 0, 0);\n // default behaviour is to convert data to json and set into drag component\n var defaultOnRowDrag = function () {\n try {\n var jsonData = JSON.stringify(_this.rowNode.data);\n dragEvent.dataTransfer.setData('application/json', jsonData);\n dragEvent.dataTransfer.setData('text/plain', jsonData);\n }\n catch (e) {\n // if we cannot convert the data to json, then we do not set the type\n }\n };\n if (providedOnRowDrag) {\n var params = {\n rowNode: this.rowNode, dragEvent: dragEvent,\n api: this.gridOptionsWrapper.getApi(),\n columnApi: this.gridOptionsWrapper.getColumnApi(),\n context: this.gridOptionsWrapper.getContext()\n };\n providedOnRowDrag(params);\n }\n else {\n defaultOnRowDrag();\n }\n };\n DndSourceComp.prototype.checkVisibility = function () {\n var visible = this.column.isDndSource(this.rowNode);\n this.setDisplayed(visible);\n };\n __decorate$1N([\n PostConstruct\n ], DndSourceComp.prototype, \"postConstruct\", null);\n return DndSourceComp;\n}(Component));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$1V = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign$5 = (undefined && undefined.__assign) || function () {\n __assign$5 = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign$5.apply(this, arguments);\n};\nvar CSS_CELL = 'ag-cell';\nvar CSS_AUTO_HEIGHT = 'ag-cell-auto-height';\nvar CSS_NORMAL_HEIGHT = 'ag-cell-normal-height';\nvar CSS_CELL_FOCUS = 'ag-cell-focus';\nvar CSS_CELL_FIRST_RIGHT_PINNED = 'ag-cell-first-right-pinned';\nvar CSS_CELL_LAST_LEFT_PINNED = 'ag-cell-last-left-pinned';\nvar CSS_CELL_NOT_INLINE_EDITING = 'ag-cell-not-inline-editing';\nvar CSS_CELL_INLINE_EDITING = 'ag-cell-inline-editing';\nvar CSS_CELL_POPUP_EDITING = 'ag-cell-popup-editing';\nvar CSS_COLUMN_HOVER = 'ag-column-hover';\nvar CSS_CELL_WRAP_TEXT = 'ag-cell-wrap-text';\nvar instanceIdSequence$3 = 0;\nvar CellCtrl = /** @class */ (function (_super) {\n __extends$1V(CellCtrl, _super);\n function CellCtrl(column, rowNode, beans, rowCtrl) {\n var _this = _super.call(this) || this;\n _this.suppressRefreshCell = false;\n _this.onCellCompAttachedFuncs = [];\n _this.column = column;\n _this.rowNode = rowNode;\n _this.beans = beans;\n _this.rowCtrl = rowCtrl;\n // unique id to this instance, including the column ID to help with debugging in React as it's used in 'key'\n _this.instanceId = column.getId() + '-' + instanceIdSequence$3++;\n _this.createCellPosition();\n _this.addFeatures();\n return _this;\n }\n CellCtrl.prototype.addFeatures = function () {\n var _this = this;\n this.cellPositionFeature = new CellPositionFeature(this, this.beans);\n this.addDestroyFunc(function () { return _this.cellPositionFeature.destroy(); });\n this.cellCustomStyleFeature = new CellCustomStyleFeature(this, this.beans);\n this.addDestroyFunc(function () { return _this.cellCustomStyleFeature.destroy(); });\n this.cellMouseListenerFeature = new CellMouseListenerFeature(this, this.beans, this.column);\n this.addDestroyFunc(function () { return _this.cellMouseListenerFeature.destroy(); });\n this.cellKeyboardListenerFeature = new CellKeyboardListenerFeature(this, this.beans, this.column, this.rowNode, this.rowCtrl);\n this.addDestroyFunc(function () { return _this.cellKeyboardListenerFeature.destroy(); });\n var rangeSelectionEnabled = this.beans.rangeService && this.beans.gridOptionsWrapper.isEnableRangeSelection();\n if (rangeSelectionEnabled) {\n this.cellRangeFeature = new CellRangeFeature(this.beans, this);\n this.addDestroyFunc(function () { return _this.cellRangeFeature.destroy(); });\n }\n this.addTooltipFeature();\n };\n CellCtrl.prototype.addTooltipFeature = function () {\n var _this = this;\n var getTooltipValue = function () {\n var colDef = _this.column.getColDef();\n var data = _this.rowNode.data;\n if (colDef.tooltipField && exists(data)) {\n return getValueUsingField(data, colDef.tooltipField, _this.column.isTooltipFieldContainsDots());\n }\n var valueGetter = colDef.tooltipValueGetter;\n if (valueGetter) {\n return valueGetter({\n location: 'cell',\n api: _this.beans.gridOptionsWrapper.getApi(),\n columnApi: _this.beans.gridOptionsWrapper.getColumnApi(),\n context: _this.beans.gridOptionsWrapper.getContext(),\n colDef: _this.column.getColDef(),\n column: _this.column,\n rowIndex: _this.cellPosition.rowIndex,\n node: _this.rowNode,\n data: _this.rowNode.data,\n value: _this.value,\n valueFormatted: _this.valueFormatted,\n });\n }\n return null;\n };\n var tooltipCtrl = {\n getColumn: function () { return _this.column; },\n getColDef: function () { return _this.column.getColDef(); },\n getRowIndex: function () { return _this.cellPosition.rowIndex; },\n getRowNode: function () { return _this.rowNode; },\n getGui: function () { return _this.getGui(); },\n getLocation: function () { return 'cell'; },\n getTooltipValue: getTooltipValue,\n // this makes no sense, why is the cell formatted value passed to the tooltip???\n getValueFormatted: function () { return _this.valueFormatted; }\n };\n this.tooltipFeature = new TooltipFeature(tooltipCtrl, this.beans);\n this.addDestroyFunc(function () { return _this.tooltipFeature.destroy(); });\n };\n CellCtrl.prototype.setComp = function (comp, eGui, eCellWrapper, printLayout, startEditing) {\n this.cellComp = comp;\n this.gow = this.beans.gridOptionsWrapper;\n this.eGui = eGui;\n this.printLayout = printLayout;\n // we force to make sure formatter gets called at least once,\n // even if value has not changed (is is undefined)\n this.updateAndFormatValue(true);\n this.addDomData();\n this.onCellFocused();\n this.applyStaticCssClasses();\n this.setWrapText();\n this.onFirstRightPinnedChanged();\n this.onLastLeftPinnedChanged();\n this.onColumnHover();\n this.setupControlComps();\n if (eCellWrapper) {\n this.setupAutoHeight(eCellWrapper);\n }\n this.setAriaColIndex();\n if (!this.gow.isSuppressCellFocus()) {\n this.cellComp.setTabIndex(-1);\n }\n var colIdSanitised = escapeString(this.column.getId());\n this.cellComp.setColId(colIdSanitised);\n this.cellComp.setRole('gridcell');\n this.cellPositionFeature.setComp(eGui);\n this.cellCustomStyleFeature.setComp(comp);\n this.tooltipFeature.setComp(comp);\n this.cellKeyboardListenerFeature.setComp(this.eGui);\n if (this.cellRangeFeature) {\n this.cellRangeFeature.setComp(comp, eGui);\n }\n if (startEditing && this.isCellEditable()) {\n this.startEditing();\n }\n else {\n this.showValue();\n }\n if (this.onCellCompAttachedFuncs.length) {\n this.onCellCompAttachedFuncs.forEach(function (func) { return func(); });\n this.onCellCompAttachedFuncs = [];\n }\n };\n CellCtrl.prototype.setupAutoHeight = function (eCellWrapper) {\n var _this = this;\n if (!this.column.isAutoHeight()) {\n return;\n }\n var eParentCell = eCellWrapper.parentElement;\n // taking minRowHeight from getRowHeightForNode means the getRowHeight() callback is used,\n // thus allowing different min heights for different rows.\n var minRowHeight = this.beans.gridOptionsWrapper.getRowHeightForNode(this.rowNode).height;\n var measureHeight = function (timesCalled) {\n if (_this.editing) {\n return;\n }\n // because of the retry's below, it's possible the retry's go beyond\n // the rows life.\n if (!_this.isAlive()) {\n return;\n }\n var _a = getElementSize(eParentCell), paddingTop = _a.paddingTop, paddingBottom = _a.paddingBottom;\n var wrapperHeight = eCellWrapper.offsetHeight;\n var autoHeight = wrapperHeight + paddingTop + paddingBottom;\n if (timesCalled < 5) {\n // if not in doc yet, means framework not yet inserted, so wait for next VM turn,\n // maybe it will be ready next VM turn\n var doc = _this.beans.gridOptionsWrapper.getDocument();\n var notYetInDom = !doc || !doc.contains(eCellWrapper);\n // this happens in React, where React hasn't put any content in. we say 'possibly'\n // as a) may not be React and b) the cell could be empty anyway\n var possiblyNoContentYet = autoHeight == 0;\n if (notYetInDom || possiblyNoContentYet) {\n _this.beans.frameworkOverrides.setTimeout(function () { return measureHeight(timesCalled + 1); }, 0);\n return;\n }\n }\n var newHeight = Math.max(autoHeight, minRowHeight);\n _this.rowNode.setRowAutoHeight(newHeight, _this.column);\n };\n var listener = function () { return measureHeight(0); };\n // do once to set size in case size doesn't change, common when cell is blank\n listener();\n var destroyResizeObserver = this.beans.resizeObserverService.observeResize(eCellWrapper, listener);\n this.addDestroyFunc(function () {\n destroyResizeObserver();\n _this.rowNode.setRowAutoHeight(undefined, _this.column);\n });\n };\n CellCtrl.prototype.getInstanceId = function () {\n return this.instanceId;\n };\n CellCtrl.prototype.showValue = function (forceNewCellRendererInstance) {\n if (forceNewCellRendererInstance === void 0) { forceNewCellRendererInstance = false; }\n var valueToDisplay = this.valueFormatted != null ? this.valueFormatted : this.value;\n var params = this.createCellRendererParams();\n var compDetails = this.beans.userComponentFactory.getCellRendererDetails(this.column.getColDef(), params);\n this.cellComp.setRenderDetails(compDetails, valueToDisplay, forceNewCellRendererInstance);\n this.refreshHandle();\n };\n CellCtrl.prototype.setupControlComps = function () {\n var colDef = this.column.getColDef();\n this.includeSelection = this.isIncludeControl(colDef.checkboxSelection);\n this.includeRowDrag = this.isIncludeControl(colDef.rowDrag);\n this.includeDndSource = this.isIncludeControl(colDef.dndSource);\n this.cellComp.setIncludeSelection(this.includeSelection);\n this.cellComp.setIncludeDndSource(this.includeDndSource);\n this.cellComp.setIncludeRowDrag(this.includeRowDrag);\n };\n CellCtrl.prototype.isForceWrapper = function () {\n // text selection requires the value to be wrapped in another element\n var forceWrapper = this.beans.gridOptionsWrapper.isEnableCellTextSelection() || this.column.isAutoHeight();\n return forceWrapper;\n };\n CellCtrl.prototype.isIncludeControl = function (value) {\n var rowNodePinned = this.rowNode.rowPinned != null;\n var isFunc = typeof value === 'function';\n var res = rowNodePinned ? false : isFunc || value === true;\n return res;\n };\n CellCtrl.prototype.refreshShouldDestroy = function () {\n var colDef = this.column.getColDef();\n var selectionChanged = this.includeSelection != this.isIncludeControl(colDef.checkboxSelection);\n var rowDragChanged = this.includeRowDrag != this.isIncludeControl(colDef.rowDrag);\n var dndSourceChanged = this.includeDndSource != this.isIncludeControl(colDef.dndSource);\n return selectionChanged || rowDragChanged || dndSourceChanged;\n };\n // either called internally if single cell editing, or called by rowRenderer if row editing\n CellCtrl.prototype.startEditing = function (key, charPress, cellStartedEdit, event) {\n var _this = this;\n if (key === void 0) { key = null; }\n if (charPress === void 0) { charPress = null; }\n if (cellStartedEdit === void 0) { cellStartedEdit = false; }\n if (event === void 0) { event = null; }\n var _a, _b;\n if (!this.isCellEditable() || this.editing) {\n return;\n }\n // because of async in React, the cellComp may not be set yet, if no cellComp then we are\n // yet to initialise the cell, so we re-schedule this operation for when celLComp is attached\n if (!this.cellComp) {\n this.onCellCompAttachedFuncs.push(function () { _this.startEditing(key, charPress, cellStartedEdit, event); });\n return;\n }\n var editorParams = this.createCellEditorParams(key, charPress, cellStartedEdit);\n var colDef = this.column.getColDef();\n var compDetails = this.beans.userComponentFactory.getCellEditorDetails(colDef, editorParams);\n // if cellEditorSelector was used, we give preference to popup and popupPosition from the selector\n var popup = ((_a = compDetails) === null || _a === void 0 ? void 0 : _a.popupFromSelector) != null ? compDetails.popupFromSelector : !!colDef.cellEditorPopup;\n var position = ((_b = compDetails) === null || _b === void 0 ? void 0 : _b.popupPositionFromSelector) != null ? compDetails.popupPositionFromSelector : colDef.cellEditorPopupPosition;\n this.setEditing(true, popup);\n this.cellComp.setEditDetails(compDetails, popup, position);\n var e = this.createEvent(event, Events.EVENT_CELL_EDITING_STARTED);\n this.beans.eventService.dispatchEvent(e);\n };\n CellCtrl.prototype.setEditing = function (editing, inPopup) {\n if (inPopup === void 0) { inPopup = false; }\n if (this.editing === editing) {\n return;\n }\n this.editing = editing;\n this.editingInPopup = inPopup;\n this.setInlineEditingClass();\n this.refreshHandle();\n };\n // pass in 'true' to cancel the editing.\n CellCtrl.prototype.stopRowOrCellEdit = function (cancel) {\n if (cancel === void 0) { cancel = false; }\n if (this.beans.gridOptionsWrapper.isFullRowEdit()) {\n this.rowCtrl.stopRowEditing(cancel);\n }\n else {\n this.stopEditing(cancel);\n }\n };\n CellCtrl.prototype.onPopupEditorClosed = function () {\n if (!this.isEditing()) {\n return;\n }\n // note: this happens because of a click outside of the grid or if the popupEditor\n // is closed with `Escape` key. if another cell was clicked, then the editing will\n // have already stopped and returned on the conditional above.\n this.stopEditingAndFocus();\n };\n CellCtrl.prototype.takeValueFromCellEditor = function (cancel) {\n var noValueResult = { newValueExists: false };\n if (cancel) {\n return noValueResult;\n }\n var cellEditor = this.cellComp.getCellEditor();\n if (!cellEditor) {\n return noValueResult;\n }\n var userWantsToCancel = cellEditor.isCancelAfterEnd && cellEditor.isCancelAfterEnd();\n if (userWantsToCancel) {\n return noValueResult;\n }\n var newValue = cellEditor.getValue();\n return {\n newValue: newValue,\n newValueExists: true\n };\n };\n /**\n * @returns `True` if the value changes, otherwise `False`.\n */\n CellCtrl.prototype.saveNewValue = function (oldValue, newValue) {\n if (newValue === oldValue) {\n return false;\n }\n if (this.beans.gridOptionsWrapper.isReadOnlyEdit()) {\n this.dispatchEventForSaveValueReadOnly(oldValue, newValue);\n return false;\n }\n // we suppressRefreshCell because the call to rowNode.setDataValue() results in change detection\n // getting triggered, which results in all cells getting refreshed. we do not want this refresh\n // to happen on this call as we want to call it explicitly below. otherwise refresh gets called twice.\n // if we only did this refresh (and not the one below) then the cell would flash and not be forced.\n this.suppressRefreshCell = true;\n var valueChanged = this.rowNode.setDataValue(this.column, newValue);\n this.suppressRefreshCell = false;\n return valueChanged;\n };\n CellCtrl.prototype.dispatchEventForSaveValueReadOnly = function (oldValue, newValue) {\n var rowNode = this.rowNode;\n var event = {\n type: Events.EVENT_CELL_EDIT_REQUEST,\n event: null,\n rowIndex: rowNode.rowIndex,\n rowPinned: rowNode.rowPinned,\n column: this.column,\n api: this.beans.gridApi,\n columnApi: this.beans.columnApi,\n colDef: this.column.getColDef(),\n context: this.beans.gridOptionsWrapper.getContext(),\n data: rowNode.data,\n node: rowNode,\n oldValue: oldValue,\n newValue: newValue,\n value: newValue,\n source: undefined\n };\n this.beans.eventService.dispatchEvent(event);\n };\n /**\n * Ends the Cell Editing\n * @param cancel `True` if the edit process is being canceled.\n * @returns `True` if the value of the `GridCell` has been updated, otherwise `False`.\n */\n CellCtrl.prototype.stopEditing = function (cancel) {\n if (cancel === void 0) { cancel = false; }\n if (!this.editing) {\n return false;\n }\n var _a = this.takeValueFromCellEditor(cancel), newValue = _a.newValue, newValueExists = _a.newValueExists;\n var oldValue = this.getValueFromValueService();\n var valueChanged = false;\n if (newValueExists) {\n valueChanged = this.saveNewValue(oldValue, newValue);\n }\n this.setEditing(false);\n this.cellComp.setEditDetails(); // passing nothing stops editing\n this.updateAndFormatValue();\n this.refreshCell({ forceRefresh: true, suppressFlash: true });\n this.dispatchEditingStoppedEvent(oldValue, newValue, !cancel && !!valueChanged);\n return valueChanged;\n };\n CellCtrl.prototype.dispatchEditingStoppedEvent = function (oldValue, newValue, valueChanged) {\n var editingStoppedEvent = __assign$5(__assign$5({}, this.createEvent(null, Events.EVENT_CELL_EDITING_STOPPED)), { oldValue: oldValue,\n newValue: newValue,\n valueChanged: valueChanged });\n this.beans.eventService.dispatchEvent(editingStoppedEvent);\n };\n // if we are editing inline, then we don't have the padding in the cell (set in the themes)\n // to allow the text editor full access to the entire cell\n CellCtrl.prototype.setInlineEditingClass = function () {\n var _this = this;\n if (!this.isAlive()) {\n return;\n }\n // because of async in React, the cellComp may not be set yet, if no cellComp then we are\n // yet to initialise the cell, so we re-schedule this operation for when celLComp is attached\n if (!this.cellComp) {\n this.onCellCompAttachedFuncs.push(function () { _this.setInlineEditingClass(); });\n return;\n }\n // ag-cell-inline-editing - appears when user is inline editing\n // ag-cell-not-inline-editing - appears when user is no inline editing\n // ag-cell-popup-editing - appears when user is editing cell in popup (appears on the cell, not on the popup)\n // note: one of {ag-cell-inline-editing, ag-cell-not-inline-editing} is always present, they toggle.\n // however {ag-cell-popup-editing} shows when popup, so you have both {ag-cell-popup-editing}\n // and {ag-cell-not-inline-editing} showing at the same time.\n var editingInline = this.editing && !this.editingInPopup;\n var popupEditorShowing = this.editing && this.editingInPopup;\n this.cellComp.addOrRemoveCssClass(CSS_CELL_INLINE_EDITING, editingInline);\n this.cellComp.addOrRemoveCssClass(CSS_CELL_NOT_INLINE_EDITING, !editingInline);\n this.cellComp.addOrRemoveCssClass(CSS_CELL_POPUP_EDITING, popupEditorShowing);\n this.rowCtrl.setInlineEditingCss(this.editing);\n };\n // this is needed as the JS CellComp still allows isPopup() on the CellEditor class, so\n // it's possible the editor is in a popup even though it's not configured via the colDef as so\n CellCtrl.prototype.hackSayEditingInPopup = function () {\n if (this.editingInPopup) {\n return;\n }\n this.editingInPopup = true;\n this.setInlineEditingClass();\n };\n CellCtrl.prototype.createCellEditorParams = function (key, charPress, cellStartedEdit) {\n var res = {\n value: this.getValueFromValueService(),\n key: key,\n eventKey: key,\n charPress: charPress,\n column: this.column,\n colDef: this.column.getColDef(),\n rowIndex: this.getCellPosition().rowIndex,\n node: this.rowNode,\n data: this.rowNode.data,\n api: this.beans.gridOptionsWrapper.getApi(),\n cellStartedEdit: cellStartedEdit,\n columnApi: this.beans.gridOptionsWrapper.getColumnApi(),\n context: this.beans.gridOptionsWrapper.getContext(),\n onKeyDown: this.onKeyDown.bind(this),\n stopEditing: this.stopEditingAndFocus.bind(this),\n eGridCell: this.getGui(),\n parseValue: this.parseValue.bind(this),\n formatValue: this.formatValue.bind(this)\n };\n return res;\n };\n CellCtrl.prototype.createCellRendererParams = function () {\n var _this = this;\n var addRowCompListener = function (eventType, listener) {\n console.warn('AG Grid: since AG Grid v26, params.addRowCompListener() is deprecated. If you need this functionality, please contact AG Grid support and advise why so that we can revert with an appropriate workaround, as we dont have any valid use cases for it. This method was originally provided as a work around to know when cells were destroyed in AG Grid before custom Cell Renderers could be provided.');\n _this.rowCtrl.addEventListener(eventType, listener);\n };\n var res = {\n value: this.value,\n valueFormatted: this.valueFormatted,\n getValue: this.getValueFromValueService.bind(this),\n setValue: function (value) { return _this.beans.valueService.setValue(_this.rowNode, _this.column, value); },\n formatValue: this.formatValue.bind(this),\n data: this.rowNode.data,\n node: this.rowNode,\n pinned: this.column.getPinned(),\n colDef: this.column.getColDef(),\n column: this.column,\n rowIndex: this.getCellPosition().rowIndex,\n api: this.beans.gridOptionsWrapper.getApi(),\n columnApi: this.beans.gridOptionsWrapper.getColumnApi(),\n context: this.beans.gridOptionsWrapper.getContext(),\n refreshCell: this.refreshCell.bind(this),\n eGridCell: this.getGui(),\n eParentOfValue: this.cellComp.getParentOfValue(),\n registerRowDragger: function (rowDraggerElement, dragStartPixels, value, suppressVisibilityChange) { return _this.registerRowDragger(rowDraggerElement, dragStartPixels, suppressVisibilityChange); },\n // this function is not documented anywhere, so we could drop it\n // it was in the olden days to allow user to register for when rendered\n // row was removed (the row comp was removed), however now that the user\n // can provide components for cells, the destroy method gets call when this\n // happens so no longer need to fire event.\n addRowCompListener: addRowCompListener\n };\n return res;\n };\n CellCtrl.prototype.parseValue = function (newValue) {\n var colDef = this.column.getColDef();\n var params = {\n node: this.rowNode,\n data: this.rowNode.data,\n oldValue: this.getValue(),\n newValue: newValue,\n colDef: colDef,\n column: this.column,\n api: this.beans.gridOptionsWrapper.getApi(),\n columnApi: this.beans.gridOptionsWrapper.getColumnApi(),\n context: this.beans.gridOptionsWrapper.getContext()\n };\n var valueParser = colDef.valueParser;\n return exists(valueParser) ? this.beans.expressionService.evaluate(valueParser, params) : newValue;\n };\n CellCtrl.prototype.setFocusOutOnEditor = function () {\n if (!this.editing) {\n return;\n }\n var cellEditor = this.cellComp.getCellEditor();\n if (cellEditor && cellEditor.focusOut) {\n cellEditor.focusOut();\n }\n };\n CellCtrl.prototype.setFocusInOnEditor = function () {\n if (!this.editing) {\n return;\n }\n var cellEditor = this.cellComp.getCellEditor();\n if (cellEditor && cellEditor.focusIn) {\n // if the editor is present, then we just focus it\n cellEditor.focusIn();\n }\n else {\n // if the editor is not present, it means async cell editor (eg React fibre)\n // and we are trying to set focus before the cell editor is present, so we\n // focus the cell instead\n this.focusCell(true);\n }\n };\n CellCtrl.prototype.onCellChanged = function (event) {\n // because of async in React, the cellComp may not be set yet, if no cellComp then we are\n // yet to initialise the cell, so no need to refresh.\n if (!this.cellComp) {\n return;\n }\n var eventImpactsThisCell = event.column === this.column;\n if (eventImpactsThisCell) {\n this.refreshCell({});\n }\n };\n // + stop editing {forceRefresh: true, suppressFlash: true}\n // + event cellChanged {}\n // + cellRenderer.params.refresh() {} -> method passes 'as is' to the cellRenderer, so params could be anything\n // + rowCtrl: event dataChanged {suppressFlash: !update, newData: !update}\n // + rowCtrl: api refreshCells() {animate: true/false}\n // + rowRenderer: api softRefreshView() {}\n CellCtrl.prototype.refreshCell = function (params) {\n // if we are in the middle of 'stopEditing', then we don't refresh here, as refresh gets called explicitly\n if (this.suppressRefreshCell || this.editing) {\n return;\n }\n // In React, due to async, it's possible a refresh was asked for before the CellComp\n // has been set. If this happens, we skip the refresh, as the cell is going to be\n // initialised anyway once the CellComp is set.\n if (!this.cellComp) {\n return;\n }\n var colDef = this.column.getColDef();\n var newData = params != null && !!params.newData;\n var suppressFlash = (params != null && !!params.suppressFlash) || !!colDef.suppressCellFlash;\n // we always refresh if cell has no value - this can happen when user provides Cell Renderer and the\n // cell renderer doesn't rely on a value, instead it could be looking directly at the data, or maybe\n // printing the current time (which would be silly)???. Generally speaking\n // non of {field, valueGetter, showRowGroup} is bad in the users application, however for this edge case, it's\n // best always refresh and take the performance hit rather than never refresh and users complaining in support\n // that cells are not updating.\n var noValueProvided = colDef.field == null && colDef.valueGetter == null && colDef.showRowGroup == null;\n var forceRefresh = (params && params.forceRefresh) || noValueProvided || newData;\n var valuesDifferent = this.updateAndFormatValue();\n var dataNeedsUpdating = forceRefresh || valuesDifferent;\n if (dataNeedsUpdating) {\n // if it's 'new data', then we don't refresh the cellRenderer, even if refresh method is available.\n // this is because if the whole data is new (ie we are showing stock price 'BBA' now and not 'SSD')\n // then we are not showing a movement in the stock price, rather we are showing different stock.\n this.showValue(newData);\n // we don't want to flash the cells when processing a filter change, as otherwise the UI would\n // be to busy. see comment in FilterManager with regards processingFilterChange\n var processingFilterChange = this.beans.filterManager.isSuppressFlashingCellsBecauseFiltering();\n var flashCell = !suppressFlash && !processingFilterChange &&\n (this.beans.gridOptionsWrapper.isEnableCellChangeFlash() || colDef.enableCellChangeFlash);\n if (flashCell) {\n this.flashCell();\n }\n this.cellCustomStyleFeature.applyUserStyles();\n this.cellCustomStyleFeature.applyClassesFromColDef();\n }\n this.refreshToolTip();\n // we do cellClassRules even if the value has not changed, so that users who have rules that\n // look at other parts of the row (where the other part of the row might of changed) will work.\n this.cellCustomStyleFeature.applyCellClassRules();\n };\n // cell editors call this, when they want to stop for reasons other\n // than what we pick up on. eg selecting from a dropdown ends editing.\n CellCtrl.prototype.stopEditingAndFocus = function (suppressNavigateAfterEdit) {\n if (suppressNavigateAfterEdit === void 0) { suppressNavigateAfterEdit = false; }\n this.stopRowOrCellEdit();\n this.focusCell(true);\n if (!suppressNavigateAfterEdit) {\n this.navigateAfterEdit();\n }\n };\n CellCtrl.prototype.navigateAfterEdit = function () {\n var fullRowEdit = this.beans.gridOptionsWrapper.isFullRowEdit();\n if (fullRowEdit) {\n return;\n }\n var enterMovesDownAfterEdit = this.beans.gridOptionsWrapper.isEnterMovesDownAfterEdit();\n if (enterMovesDownAfterEdit) {\n this.beans.navigationService.navigateToNextCell(null, KeyCode.DOWN, this.getCellPosition(), false);\n }\n };\n // user can also call this via API\n CellCtrl.prototype.flashCell = function (delays) {\n var flashDelay = delays && delays.flashDelay;\n var fadeDelay = delays && delays.fadeDelay;\n this.animateCell('data-changed', flashDelay, fadeDelay);\n };\n CellCtrl.prototype.animateCell = function (cssName, flashDelay, fadeDelay) {\n var _this = this;\n var fullName = \"ag-cell-\" + cssName;\n var animationFullName = \"ag-cell-\" + cssName + \"-animation\";\n var gridOptionsWrapper = this.beans.gridOptionsWrapper;\n if (!flashDelay) {\n flashDelay = gridOptionsWrapper.getCellFlashDelay();\n }\n if (!exists(fadeDelay)) {\n fadeDelay = gridOptionsWrapper.getCellFadeDelay();\n }\n // we want to highlight the cells, without any animation\n this.cellComp.addOrRemoveCssClass(fullName, true);\n this.cellComp.addOrRemoveCssClass(animationFullName, false);\n // then once that is applied, we remove the highlight with animation\n window.setTimeout(function () {\n if (!_this.isAlive()) {\n return;\n }\n _this.cellComp.addOrRemoveCssClass(fullName, false);\n _this.cellComp.addOrRemoveCssClass(animationFullName, true);\n _this.eGui.style.transition = \"background-color \" + fadeDelay + \"ms\";\n window.setTimeout(function () {\n if (!_this.isAlive()) {\n return;\n }\n // and then to leave things as we got them, we remove the animation\n _this.cellComp.addOrRemoveCssClass(animationFullName, false);\n _this.eGui.style.transition = '';\n }, fadeDelay);\n }, flashDelay);\n };\n CellCtrl.prototype.onFlashCells = function (event) {\n if (!this.cellComp) {\n return;\n }\n var cellId = this.beans.cellPositionUtils.createId(this.getCellPosition());\n var shouldFlash = event.cells[cellId];\n if (shouldFlash) {\n this.animateCell('highlight');\n }\n };\n CellCtrl.prototype.isCellEditable = function () {\n return this.column.isCellEditable(this.rowNode);\n };\n CellCtrl.prototype.isSuppressFillHandle = function () {\n return this.column.isSuppressFillHandle();\n };\n CellCtrl.prototype.formatValue = function (value) {\n var res = this.callValueFormatter(value);\n return res != null ? res : value;\n };\n CellCtrl.prototype.callValueFormatter = function (value) {\n return this.beans.valueFormatterService.formatValue(this.column, this.rowNode, value);\n };\n CellCtrl.prototype.updateAndFormatValue = function (force) {\n if (force === void 0) { force = false; }\n var oldValue = this.value;\n var oldValueFormatted = this.valueFormatted;\n this.value = this.getValueFromValueService();\n this.valueFormatted = this.callValueFormatter(this.value);\n var valuesDifferent = force ? true :\n !this.valuesAreEqual(oldValue, this.value) || this.valueFormatted != oldValueFormatted;\n return valuesDifferent;\n };\n CellCtrl.prototype.valuesAreEqual = function (val1, val2) {\n // if the user provided an equals method, use that, otherwise do simple comparison\n var colDef = this.column.getColDef();\n return colDef.equals ? colDef.equals(val1, val2) : val1 === val2;\n };\n CellCtrl.prototype.getComp = function () {\n return this.cellComp;\n };\n CellCtrl.prototype.getValueFromValueService = function () {\n // if we don't check this, then the grid will render leaf groups as open even if we are not\n // allowing the user to open leaf groups. confused? remember for pivot mode we don't allow\n // opening leaf groups, so we have to force leafGroups to be closed in case the user expanded\n // them via the API, or user user expanded them in the UI before turning on pivot mode\n var lockedClosedGroup = this.rowNode.leafGroup && this.beans.columnModel.isPivotMode();\n var isOpenGroup = this.rowNode.group && this.rowNode.expanded && !this.rowNode.footer && !lockedClosedGroup;\n // are we showing group footers\n var groupFootersEnabled = this.beans.gridOptionsWrapper.isGroupIncludeFooter();\n // if doing footers, we normally don't show agg data at group level when group is open\n var groupAlwaysShowAggData = this.beans.gridOptionsWrapper.isGroupSuppressBlankHeader();\n // if doing grouping and footers, we don't want to include the agg value\n // in the header when the group is open\n var ignoreAggData = (isOpenGroup && groupFootersEnabled) && !groupAlwaysShowAggData;\n var value = this.beans.valueService.getValue(this.column, this.rowNode, false, ignoreAggData);\n return value;\n };\n CellCtrl.prototype.getValue = function () {\n return this.value;\n };\n CellCtrl.prototype.getValueFormatted = function () {\n return this.valueFormatted;\n };\n CellCtrl.prototype.addDomData = function () {\n var _this = this;\n var element = this.getGui();\n this.beans.gridOptionsWrapper.setDomData(element, CellCtrl.DOM_DATA_KEY_CELL_CTRL, this);\n this.addDestroyFunc(function () { return _this.beans.gridOptionsWrapper.setDomData(element, CellCtrl.DOM_DATA_KEY_CELL_CTRL, null); });\n };\n CellCtrl.prototype.createEvent = function (domEvent, eventType) {\n var event = {\n type: eventType,\n node: this.rowNode,\n data: this.rowNode.data,\n value: this.value,\n column: this.column,\n colDef: this.column.getColDef(),\n context: this.beans.gridOptionsWrapper.getContext(),\n api: this.beans.gridApi,\n columnApi: this.beans.columnApi,\n rowPinned: this.rowNode.rowPinned,\n event: domEvent,\n rowIndex: this.rowNode.rowIndex\n };\n return event;\n };\n CellCtrl.prototype.onKeyPress = function (event) {\n this.cellKeyboardListenerFeature.onKeyPress(event);\n };\n CellCtrl.prototype.onKeyDown = function (event) {\n this.cellKeyboardListenerFeature.onKeyDown(event);\n };\n CellCtrl.prototype.onMouseEvent = function (eventName, mouseEvent) {\n this.cellMouseListenerFeature.onMouseEvent(eventName, mouseEvent);\n };\n CellCtrl.prototype.getGui = function () {\n return this.eGui;\n };\n CellCtrl.prototype.refreshToolTip = function () {\n this.tooltipFeature.refreshToolTip();\n };\n CellCtrl.prototype.getColSpanningList = function () {\n return this.cellPositionFeature.getColSpanningList();\n };\n CellCtrl.prototype.onLeftChanged = function () {\n if (!this.cellComp) {\n return;\n }\n this.cellPositionFeature.onLeftChanged();\n };\n CellCtrl.prototype.onDisplayedColumnsChanged = function () {\n if (!this.eGui) {\n return;\n }\n this.setAriaColIndex();\n };\n CellCtrl.prototype.setAriaColIndex = function () {\n var colIdx = this.beans.columnModel.getAriaColumnIndex(this.column);\n setAriaColIndex(this.getGui(), colIdx); // for react, we don't use JSX, as it slowed down column moving\n };\n CellCtrl.prototype.isSuppressNavigable = function () {\n return this.column.isSuppressNavigable(this.rowNode);\n };\n CellCtrl.prototype.onWidthChanged = function () {\n return this.cellPositionFeature.onWidthChanged();\n };\n CellCtrl.prototype.getColumn = function () {\n return this.column;\n };\n CellCtrl.prototype.getRowNode = function () {\n return this.rowNode;\n };\n CellCtrl.prototype.getBeans = function () {\n return this.beans;\n };\n CellCtrl.prototype.isPrintLayout = function () {\n return this.printLayout;\n };\n CellCtrl.prototype.appendChild = function (htmlElement) {\n this.eGui.appendChild(htmlElement);\n };\n CellCtrl.prototype.refreshHandle = function () {\n if (this.cellRangeFeature) {\n this.cellRangeFeature.refreshHandle();\n }\n };\n CellCtrl.prototype.getCellPosition = function () {\n return this.cellPosition;\n };\n CellCtrl.prototype.isEditing = function () {\n return this.editing;\n };\n // called by rowRenderer when user navigates via tab key\n CellCtrl.prototype.startRowOrCellEdit = function (key, charPress, event) {\n if (event === void 0) { event = null; }\n if (!this.cellComp) {\n return;\n }\n if (this.beans.gridOptionsWrapper.isFullRowEdit()) {\n this.rowCtrl.startRowEditing(key, charPress, this);\n }\n else {\n this.startEditing(key, charPress, true, event);\n }\n };\n CellCtrl.prototype.getRowCtrl = function () {\n return this.rowCtrl;\n };\n CellCtrl.prototype.getRowPosition = function () {\n return {\n rowIndex: this.cellPosition.rowIndex,\n rowPinned: this.cellPosition.rowPinned\n };\n };\n CellCtrl.prototype.updateRangeBordersIfRangeCount = function () {\n if (!this.cellComp) {\n return;\n }\n if (this.cellRangeFeature) {\n this.cellRangeFeature.updateRangeBordersIfRangeCount();\n }\n };\n CellCtrl.prototype.onRangeSelectionChanged = function () {\n if (!this.cellComp) {\n return;\n }\n if (this.cellRangeFeature) {\n this.cellRangeFeature.onRangeSelectionChanged();\n }\n };\n CellCtrl.prototype.isRangeSelectionEnabled = function () {\n return this.cellRangeFeature != null;\n };\n CellCtrl.prototype.focusCell = function (forceBrowserFocus) {\n if (forceBrowserFocus === void 0) { forceBrowserFocus = false; }\n this.beans.focusService.setFocusedCell({\n rowIndex: this.getCellPosition().rowIndex,\n column: this.column,\n rowPinned: this.rowNode.rowPinned,\n forceBrowserFocus: forceBrowserFocus\n });\n };\n CellCtrl.prototype.onRowIndexChanged = function () {\n // when index changes, this influences items that need the index, so we update the\n // grid cell so they are working off the new index.\n this.createCellPosition();\n // when the index of the row changes, ie means the cell may have lost or gained focus\n this.onCellFocused();\n // check range selection\n if (this.cellRangeFeature) {\n this.cellRangeFeature.onRangeSelectionChanged();\n }\n };\n CellCtrl.prototype.onFirstRightPinnedChanged = function () {\n if (!this.cellComp) {\n return;\n }\n var firstRightPinned = this.column.isFirstRightPinned();\n this.cellComp.addOrRemoveCssClass(CSS_CELL_FIRST_RIGHT_PINNED, firstRightPinned);\n };\n CellCtrl.prototype.onLastLeftPinnedChanged = function () {\n if (!this.cellComp) {\n return;\n }\n var lastLeftPinned = this.column.isLastLeftPinned();\n this.cellComp.addOrRemoveCssClass(CSS_CELL_LAST_LEFT_PINNED, lastLeftPinned);\n };\n CellCtrl.prototype.onCellFocused = function (event) {\n if (!this.cellComp || this.gow.isSuppressCellFocus()) {\n return;\n }\n var cellFocused = this.beans.focusService.isCellFocused(this.cellPosition);\n this.cellComp.addOrRemoveCssClass(CSS_CELL_FOCUS, cellFocused);\n // see if we need to force browser focus - this can happen if focus is programmatically set\n if (cellFocused && event && event.forceBrowserFocus) {\n var focusEl = this.cellComp.getFocusableElement();\n focusEl.focus({ preventScroll: !!event.preventScrollOnBrowserFocus });\n }\n // if another cell was focused, and we are editing, then stop editing\n var fullRowEdit = this.beans.gridOptionsWrapper.isFullRowEdit();\n if (!cellFocused && !fullRowEdit && this.editing) {\n this.stopRowOrCellEdit();\n }\n };\n CellCtrl.prototype.createCellPosition = function () {\n this.cellPosition = {\n rowIndex: this.rowNode.rowIndex,\n rowPinned: makeNull(this.rowNode.rowPinned),\n column: this.column\n };\n };\n // CSS Classes that only get applied once, they never change\n CellCtrl.prototype.applyStaticCssClasses = function () {\n this.cellComp.addOrRemoveCssClass(CSS_CELL, true);\n this.cellComp.addOrRemoveCssClass(CSS_CELL_NOT_INLINE_EDITING, true);\n // normal cells fill the height of the row. autoHeight cells have no height to let them\n // fit the height of content.\n var autoHeight = this.column.isAutoHeight() == true;\n this.cellComp.addOrRemoveCssClass(CSS_AUTO_HEIGHT, autoHeight);\n this.cellComp.addOrRemoveCssClass(CSS_NORMAL_HEIGHT, !autoHeight);\n };\n CellCtrl.prototype.onColumnHover = function () {\n if (!this.cellComp) {\n return;\n }\n if (!this.beans.gridOptionsWrapper.isColumnHoverHighlight()) {\n return;\n }\n var isHovered = this.beans.columnHoverService.isHovered(this.column);\n this.cellComp.addOrRemoveCssClass(CSS_COLUMN_HOVER, isHovered);\n };\n CellCtrl.prototype.onColDefChanged = function () {\n if (!this.cellComp) {\n return;\n }\n this.setWrapText();\n if (!this.editing) {\n this.refreshCell({ forceRefresh: true, suppressFlash: true });\n }\n };\n CellCtrl.prototype.setWrapText = function () {\n var value = this.column.getColDef().wrapText == true;\n this.cellComp.addOrRemoveCssClass(CSS_CELL_WRAP_TEXT, value);\n };\n CellCtrl.prototype.dispatchCellContextMenuEvent = function (event) {\n var colDef = this.column.getColDef();\n var cellContextMenuEvent = this.createEvent(event, Events.EVENT_CELL_CONTEXT_MENU);\n this.beans.eventService.dispatchEvent(cellContextMenuEvent);\n if (colDef.onCellContextMenu) {\n // to make the callback async, do in a timeout\n window.setTimeout(function () { return colDef.onCellContextMenu(cellContextMenuEvent); }, 0);\n }\n };\n CellCtrl.prototype.getCellRenderer = function () {\n return this.cellComp ? this.cellComp.getCellRenderer() : null;\n };\n CellCtrl.prototype.getCellEditor = function () {\n return this.cellComp ? this.cellComp.getCellEditor() : null;\n };\n CellCtrl.prototype.destroy = function () {\n this.onCellCompAttachedFuncs = [];\n _super.prototype.destroy.call(this);\n };\n CellCtrl.prototype.createSelectionCheckbox = function () {\n var cbSelectionComponent = new CheckboxSelectionComponent();\n this.beans.context.createBean(cbSelectionComponent);\n cbSelectionComponent.init({ rowNode: this.rowNode, column: this.column });\n // put the checkbox in before the value\n return cbSelectionComponent;\n };\n CellCtrl.prototype.createDndSource = function () {\n var dndSourceComp = new DndSourceComp(this.rowNode, this.column, this.beans, this.eGui);\n this.beans.context.createBean(dndSourceComp);\n return dndSourceComp;\n };\n CellCtrl.prototype.registerRowDragger = function (customElement, dragStartPixels, suppressVisibilityChange) {\n var _this = this;\n // if previously existed, then we are only updating\n if (this.customRowDragComp) {\n this.customRowDragComp.setDragElement(customElement, dragStartPixels);\n return;\n }\n var newComp = this.createRowDragComp(customElement, dragStartPixels, suppressVisibilityChange);\n if (newComp) {\n this.customRowDragComp = newComp;\n this.addDestroyFunc(function () { return _this.beans.context.destroyBean(newComp); });\n }\n };\n CellCtrl.prototype.createRowDragComp = function (customElement, dragStartPixels, suppressVisibilityChange) {\n var _this = this;\n var pagination = this.beans.gridOptionsWrapper.isPagination();\n var rowDragManaged = this.beans.gridOptionsWrapper.isRowDragManaged();\n var clientSideRowModelActive = this.beans.gridOptionsWrapper.isRowModelDefault();\n if (rowDragManaged) {\n // row dragging only available in default row model\n if (!clientSideRowModelActive) {\n doOnce(function () { return console.warn('AG Grid: managed row dragging is only allowed in the Client Side Row Model'); }, 'CellComp.addRowDragging');\n return;\n }\n if (pagination) {\n doOnce(function () { return console.warn('AG Grid: managed row dragging is not possible when doing pagination'); }, 'CellComp.addRowDragging');\n return;\n }\n }\n // otherwise (normal case) we are creating a RowDraggingComp for the first time\n var rowDragComp = new RowDragComp(function () { return _this.value; }, this.rowNode, this.column, customElement, dragStartPixels, suppressVisibilityChange);\n this.beans.context.createBean(rowDragComp);\n return rowDragComp;\n };\n CellCtrl.DOM_DATA_KEY_CELL_CTRL = 'cellCtrl';\n return CellCtrl;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$1U = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __values$2 = (undefined && undefined.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nvar __read$h = (undefined && undefined.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar __spread$d = (undefined && undefined.__spread) || function () {\n for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$h(arguments[i]));\n return ar;\n};\nvar RowType$1;\n(function (RowType) {\n RowType[\"Normal\"] = \"Normal\";\n RowType[\"FullWidth\"] = \"FullWidth\";\n RowType[\"FullWidthLoading\"] = \"FullWidthLoading\";\n RowType[\"FullWidthGroup\"] = \"FullWidthGroup\";\n RowType[\"FullWidthDetail\"] = \"FullWidthDetail\";\n})(RowType$1 || (RowType$1 = {}));\nvar instanceIdSequence$2 = 0;\nvar RowCtrl = /** @class */ (function (_super) {\n __extends$1U(RowCtrl, _super);\n function RowCtrl(rowNode, beans, animateIn, useAnimationFrameForCreate, printLayout) {\n var _this = _super.call(this) || this;\n _this.allRowGuis = [];\n _this.active = true;\n _this.centerCellCtrls = { list: [], map: {} };\n _this.leftCellCtrls = { list: [], map: {} };\n _this.rightCellCtrls = { list: [], map: {} };\n _this.lastMouseDownOnDragger = false;\n _this.updateColumnListsPending = false;\n _this.beans = beans;\n _this.rowNode = rowNode;\n _this.paginationPage = _this.beans.paginationProxy.getCurrentPage();\n _this.useAnimationFrameForCreate = useAnimationFrameForCreate;\n _this.printLayout = printLayout;\n _this.instanceId = rowNode.id + '-' + instanceIdSequence$2++;\n _this.setAnimateFlags(animateIn);\n _this.rowFocused = _this.beans.focusService.isRowFocused(_this.rowNode.rowIndex, _this.rowNode.rowPinned);\n _this.rowLevel = _this.beans.rowCssClassCalculator.calculateRowLevel(_this.rowNode);\n _this.setRowType();\n _this.addListeners();\n return _this;\n }\n RowCtrl.prototype.isSticky = function () {\n return this.rowNode.sticky;\n };\n RowCtrl.prototype.getBeans = function () {\n return this.beans;\n };\n RowCtrl.prototype.getInstanceId = function () {\n return this.instanceId;\n };\n RowCtrl.prototype.setComp = function (rowComp, element, containerType) {\n var gui = { rowComp: rowComp, element: element, containerType: containerType };\n this.allRowGuis.push(gui);\n if (containerType === RowContainerType.LEFT) {\n this.leftGui = gui;\n }\n else if (containerType === RowContainerType.RIGHT) {\n this.rightGui = gui;\n }\n else if (containerType === RowContainerType.FULL_WIDTH) {\n this.fullWidthGui = gui;\n }\n else {\n this.centerGui = gui;\n }\n var allNormalPresent = this.leftGui != null && this.rightGui != null && this.centerGui != null;\n var fullWidthPresent = this.fullWidthGui != null;\n if (allNormalPresent || fullWidthPresent) {\n this.initialiseRowComps();\n }\n if (this.rowType !== 'FullWidthLoading') {\n // this is fired within setComp as we know that the component renderer is now trying to render.\n // linked with the fact the function implementation queues behind requestAnimationFrame should allow\n // us to be certain that all rendering is done by the time the event fires.\n this.beans.rowRenderer.dispatchFirstDataRenderedEvent();\n }\n };\n RowCtrl.prototype.isCacheable = function () {\n return this.rowType === RowType$1.FullWidthDetail\n && this.beans.gridOptionsWrapper.isKeepDetailRows();\n };\n RowCtrl.prototype.setCached = function (cached) {\n var displayValue = cached ? 'none' : '';\n this.allRowGuis.forEach(function (rg) { return rg.element.style.display = displayValue; });\n };\n RowCtrl.prototype.initialiseRowComps = function () {\n var _this = this;\n var gow = this.beans.gridOptionsWrapper;\n this.onRowHeightChanged();\n this.updateRowIndexes();\n this.setFocusedClasses();\n this.setStylesFromGridOptions();\n if (gow.isRowSelection() && this.rowNode.selectable) {\n this.onRowSelected();\n }\n this.updateColumnLists(!this.useAnimationFrameForCreate);\n if (this.slideRowIn) {\n executeNextVMTurn(this.onTopChanged.bind(this));\n }\n if (this.fadeRowIn) {\n executeNextVMTurn(function () {\n _this.allRowGuis.forEach(function (gui) { return gui.rowComp.addOrRemoveCssClass('ag-opacity-zero', false); });\n });\n }\n var businessKey = this.getRowBusinessKey();\n var rowIdSanitised = escapeString(this.rowNode.id);\n var businessKeySanitised = escapeString(businessKey);\n this.allRowGuis.forEach(function (gui) {\n var comp = gui.rowComp;\n comp.setRole('row');\n var initialRowClasses = _this.getInitialRowClasses(gui.containerType);\n initialRowClasses.forEach(function (name) { return comp.addOrRemoveCssClass(name, true); });\n if (_this.rowNode.group) {\n setAriaExpanded(gui.element, _this.rowNode.expanded == true);\n }\n if (rowIdSanitised != null) {\n comp.setRowId(rowIdSanitised);\n }\n if (businessKeySanitised != null) {\n comp.setRowBusinessKey(businessKeySanitised);\n }\n if (_this.isFullWidth() && !_this.beans.gridOptionsWrapper.isSuppressCellFocus()) {\n comp.setTabIndex(-1);\n }\n // DOM DATA\n gow.setDomData(gui.element, RowCtrl.DOM_DATA_KEY_ROW_CTRL, _this);\n _this.addDestroyFunc(function () { return gow.setDomData(gui.element, RowCtrl.DOM_DATA_KEY_ROW_CTRL, null); });\n // adding hover functionality adds listener to this row, so we\n // do it lazily in an animation frame\n if (_this.useAnimationFrameForCreate) {\n _this.beans.animationFrameService.createTask(_this.addHoverFunctionality.bind(_this, gui.element), _this.rowNode.rowIndex, 'createTasksP2');\n }\n else {\n _this.addHoverFunctionality(gui.element);\n }\n if (_this.isFullWidth()) {\n _this.setupFullWidth(gui);\n }\n if (gow.isRowDragEntireRow()) {\n _this.addRowDraggerToRow(gui);\n }\n if (_this.useAnimationFrameForCreate) {\n // the height animation we only want active after the row is alive for 1 second.\n // this stops the row animation working when rows are initially crated. otherwise\n // auto-height rows get inserted into the dom and resized immediately, which gives\n // very bad UX (eg 10 rows get inserted, then all 10 expand, look particularly bad\n // when scrolling). so this makes sure when rows are shown for the first time, they\n // are resized immediately without animation.\n _this.beans.animationFrameService.addDestroyTask(function () {\n if (!_this.isAlive()) {\n return;\n }\n gui.rowComp.addOrRemoveCssClass('ag-after-created', true);\n });\n }\n });\n this.executeProcessRowPostCreateFunc();\n };\n RowCtrl.prototype.addRowDraggerToRow = function (gui) {\n var gow = this.beans.gridOptionsWrapper;\n if (gow.isEnableRangeSelection()) {\n doOnce(function () {\n console.warn('AG Grid: Setting `rowDragEntireRow: true` in the gridOptions doesn\\'t work with `enableRangeSelection: true`');\n }, 'rowDragAndRangeSelectionEnabled');\n return;\n }\n var translate = gow.getLocaleTextFunc();\n var rowDragComp = new RowDragComp(function () { return \"1 \" + translate('rowDragRow', 'row'); }, this.rowNode, undefined, gui.element, undefined, true);\n this.createManagedBean(rowDragComp, this.beans.context);\n };\n RowCtrl.prototype.setupFullWidth = function (gui) {\n var pinned = this.getPinnedForContainer(gui.containerType);\n var params = this.createFullWidthParams(gui.element, pinned);\n var masterDetailModuleLoaded = ModuleRegistry.isRegistered(ModuleNames.MasterDetailModule);\n if (this.rowType == RowType$1.FullWidthDetail && !masterDetailModuleLoaded) {\n if (ModuleRegistry.isPackageBased()) {\n console.warn(\"AG Grid: cell renderer 'agDetailCellRenderer' (for master detail) not found. Can only be used with ag-grid-enterprise package.\");\n }\n else {\n console.warn(\"AG Grid: cell renderer 'agDetailCellRenderer' (for master detail) not found. Can only be used with AG Grid Enterprise Module \" + ModuleNames.MasterDetailModule);\n }\n return;\n }\n var compDetails;\n switch (this.rowType) {\n case RowType$1.FullWidthDetail:\n compDetails = this.beans.userComponentFactory.getFullWidthDetailCellRendererDetails(params);\n break;\n case RowType$1.FullWidthGroup:\n compDetails = this.beans.userComponentFactory.getFullWidthGroupCellRendererDetails(params);\n break;\n case RowType$1.FullWidthLoading:\n compDetails = this.beans.userComponentFactory.getFullWidthLoadingCellRendererDetails(params);\n break;\n default:\n compDetails = this.beans.userComponentFactory.getFullWidthCellRendererDetails(params);\n break;\n }\n gui.rowComp.showFullWidth(compDetails);\n };\n RowCtrl.prototype.isPrintLayout = function () {\n return this.printLayout;\n };\n // use by autoWidthCalculator, as it clones the elements\n RowCtrl.prototype.getCellElement = function (column) {\n var cellCtrl = this.getCellCtrl(column);\n return cellCtrl ? cellCtrl.getGui() : null;\n };\n RowCtrl.prototype.executeProcessRowPostCreateFunc = function () {\n var func = this.beans.gridOptionsWrapper.getProcessRowPostCreateFunc();\n if (!func) {\n return;\n }\n var params = {\n eRow: this.centerGui ? this.centerGui.element : undefined,\n ePinnedLeftRow: this.leftGui ? this.leftGui.element : undefined,\n ePinnedRightRow: this.rightGui ? this.rightGui.element : undefined,\n node: this.rowNode,\n rowIndex: this.rowNode.rowIndex,\n addRenderedRowListener: this.addEventListener.bind(this),\n };\n func(params);\n };\n RowCtrl.prototype.setRowType = function () {\n var isStub = this.rowNode.stub;\n var isFullWidthCell = this.rowNode.isFullWidthCell();\n var isDetailCell = this.beans.doingMasterDetail && this.rowNode.detail;\n var pivotMode = this.beans.columnModel.isPivotMode();\n // we only use full width for groups, not footers. it wouldn't make sense to include footers if not looking\n // for totals. if users complain about this, then we should introduce a new property 'footerUseEntireRow'\n // so each can be set independently (as a customer complained about footers getting full width, hence\n // introducing this logic)\n var isGroupRow = !!this.rowNode.group && !this.rowNode.footer;\n var isFullWidthGroup = isGroupRow && this.beans.gridOptionsWrapper.isGroupUseEntireRow(pivotMode);\n if (isStub) {\n this.rowType = RowType$1.FullWidthLoading;\n }\n else if (isDetailCell) {\n this.rowType = RowType$1.FullWidthDetail;\n }\n else if (isFullWidthCell) {\n this.rowType = RowType$1.FullWidth;\n }\n else if (isFullWidthGroup) {\n this.rowType = RowType$1.FullWidthGroup;\n }\n else {\n this.rowType = RowType$1.Normal;\n }\n };\n RowCtrl.prototype.updateColumnLists = function (suppressAnimationFrame) {\n var _this = this;\n if (suppressAnimationFrame === void 0) { suppressAnimationFrame = false; }\n if (this.isFullWidth()) {\n return;\n }\n var noAnimation = suppressAnimationFrame\n || this.beans.gridOptionsWrapper.isSuppressAnimationFrame()\n || this.printLayout;\n if (noAnimation) {\n this.updateColumnListsImpl();\n return;\n }\n if (this.updateColumnListsPending) {\n return;\n }\n this.beans.animationFrameService.createTask(function () {\n if (!_this.active) {\n return;\n }\n _this.updateColumnListsImpl();\n }, this.rowNode.rowIndex, 'createTasksP1');\n this.updateColumnListsPending = true;\n };\n RowCtrl.prototype.createCellCtrls = function (prev, cols, pinned) {\n var _this = this;\n if (pinned === void 0) { pinned = null; }\n var res = {\n list: [],\n map: {}\n };\n var addCell = function (colInstanceId, cellCtrl) {\n res.list.push(cellCtrl);\n res.map[colInstanceId] = cellCtrl;\n };\n cols.forEach(function (col) {\n // we use instanceId's rather than colId as it's possible there is a Column with same Id,\n // but it's referring to a different column instance. Happens a lot with pivot, as pivot col id's are\n // reused eg pivot_0, pivot_1 etc\n var colInstanceId = col.getInstanceId();\n var cellCtrl = prev.map[colInstanceId];\n if (!cellCtrl) {\n cellCtrl = new CellCtrl(col, _this.rowNode, _this.beans, _this);\n }\n addCell(colInstanceId, cellCtrl);\n });\n prev.list.forEach(function (prevCellCtrl) {\n var cellInResult = res.map[prevCellCtrl.getColumn().getInstanceId()] != null;\n if (cellInResult) {\n return;\n }\n var keepCell = !_this.isCellEligibleToBeRemoved(prevCellCtrl, pinned);\n if (keepCell) {\n addCell(prevCellCtrl.getColumn().getInstanceId(), prevCellCtrl);\n return;\n }\n prevCellCtrl.destroy();\n });\n return res;\n };\n RowCtrl.prototype.updateColumnListsImpl = function () {\n var _this = this;\n this.updateColumnListsPending = false;\n var columnModel = this.beans.columnModel;\n if (this.printLayout) {\n this.centerCellCtrls = this.createCellCtrls(this.centerCellCtrls, columnModel.getAllDisplayedColumns());\n this.leftCellCtrls = { list: [], map: {} };\n this.rightCellCtrls = { list: [], map: {} };\n }\n else {\n var centerCols = columnModel.getViewportCenterColumnsForRow(this.rowNode);\n this.centerCellCtrls = this.createCellCtrls(this.centerCellCtrls, centerCols);\n var leftCols = columnModel.getDisplayedLeftColumnsForRow(this.rowNode);\n this.leftCellCtrls = this.createCellCtrls(this.leftCellCtrls, leftCols, Constants.PINNED_LEFT);\n var rightCols = columnModel.getDisplayedRightColumnsForRow(this.rowNode);\n this.rightCellCtrls = this.createCellCtrls(this.rightCellCtrls, rightCols, Constants.PINNED_RIGHT);\n }\n this.allRowGuis.forEach(function (item) {\n var cellControls = item.containerType === RowContainerType.LEFT ? _this.leftCellCtrls :\n item.containerType === RowContainerType.RIGHT ? _this.rightCellCtrls : _this.centerCellCtrls;\n item.rowComp.setCellCtrls(cellControls.list);\n });\n };\n RowCtrl.prototype.isCellEligibleToBeRemoved = function (cellCtrl, nextContainerPinned) {\n var REMOVE_CELL = true;\n var KEEP_CELL = false;\n // always remove the cell if it's not rendered or if it's in the wrong pinned location\n var column = cellCtrl.getColumn();\n if (column.getPinned() != nextContainerPinned) {\n return REMOVE_CELL;\n }\n // we want to try and keep editing and focused cells\n var editing = cellCtrl.isEditing();\n var focused = this.beans.focusService.isCellFocused(cellCtrl.getCellPosition());\n var mightWantToKeepCell = editing || focused;\n if (mightWantToKeepCell) {\n var column_1 = cellCtrl.getColumn();\n var displayedColumns = this.beans.columnModel.getAllDisplayedColumns();\n var cellStillDisplayed = displayedColumns.indexOf(column_1) >= 0;\n return cellStillDisplayed ? KEEP_CELL : REMOVE_CELL;\n }\n return REMOVE_CELL;\n };\n RowCtrl.prototype.setAnimateFlags = function (animateIn) {\n if (!this.isSticky() && animateIn) {\n var oldRowTopExists = exists(this.rowNode.oldRowTop);\n // if the row had a previous position, we slide it in (animate row top)\n this.slideRowIn = oldRowTopExists;\n // if the row had no previous position, we fade it in (animate\n this.fadeRowIn = !oldRowTopExists;\n }\n else {\n this.slideRowIn = false;\n this.fadeRowIn = false;\n }\n };\n RowCtrl.prototype.isEditing = function () {\n return this.editingRow;\n };\n RowCtrl.prototype.stopRowEditing = function (cancel) {\n this.stopEditing(cancel);\n };\n RowCtrl.prototype.isFullWidth = function () {\n return this.rowType !== RowType$1.Normal;\n };\n RowCtrl.prototype.getRowType = function () {\n return this.rowType;\n };\n RowCtrl.prototype.refreshFullWidth = function () {\n var _this = this;\n // returns 'true' if refresh succeeded\n var tryRefresh = function (gui, pinned) {\n if (!gui) {\n return true;\n } // no refresh needed\n var cellRenderer = gui.rowComp.getFullWidthCellRenderer();\n // no cell renderer, either means comp not yet ready, or comp ready but now reference\n // to it (happens in react when comp is stateless). if comp not ready, we don't need to\n // refresh, however we don't know which one, so we refresh to cover the case where it's\n // react comp without reference so need to force a refresh\n if (!cellRenderer) {\n return false;\n }\n // no refresh method present, so can't refresh, hard refresh needed\n if (!cellRenderer.refresh) {\n return false;\n }\n var params = _this.createFullWidthParams(gui.element, pinned);\n var refreshSucceeded = cellRenderer.refresh(params);\n return refreshSucceeded;\n };\n var fullWidthSuccess = tryRefresh(this.fullWidthGui, null);\n var centerSuccess = tryRefresh(this.centerGui, null);\n var leftSuccess = tryRefresh(this.leftGui, Constants.PINNED_LEFT);\n var rightSuccess = tryRefresh(this.rightGui, Constants.PINNED_RIGHT);\n var allFullWidthRowsRefreshed = fullWidthSuccess && centerSuccess && leftSuccess && rightSuccess;\n return allFullWidthRowsRefreshed;\n };\n RowCtrl.prototype.addListeners = function () {\n this.addManagedListener(this.rowNode, RowNode.EVENT_HEIGHT_CHANGED, this.onRowHeightChanged.bind(this));\n this.addManagedListener(this.rowNode, RowNode.EVENT_ROW_SELECTED, this.onRowSelected.bind(this));\n this.addManagedListener(this.rowNode, RowNode.EVENT_ROW_INDEX_CHANGED, this.onRowIndexChanged.bind(this));\n this.addManagedListener(this.rowNode, RowNode.EVENT_TOP_CHANGED, this.onTopChanged.bind(this));\n this.addManagedListener(this.rowNode, RowNode.EVENT_EXPANDED_CHANGED, this.updateExpandedCss.bind(this));\n this.addManagedListener(this.rowNode, RowNode.EVENT_HAS_CHILDREN_CHANGED, this.updateExpandedCss.bind(this));\n this.addManagedListener(this.rowNode, RowNode.EVENT_DATA_CHANGED, this.onRowNodeDataChanged.bind(this));\n this.addManagedListener(this.rowNode, RowNode.EVENT_CELL_CHANGED, this.onRowNodeCellChanged.bind(this));\n this.addManagedListener(this.rowNode, RowNode.EVENT_HIGHLIGHT_CHANGED, this.onRowNodeHighlightChanged.bind(this));\n this.addManagedListener(this.rowNode, RowNode.EVENT_DRAGGING_CHANGED, this.onRowNodeDraggingChanged.bind(this));\n this.addManagedListener(this.rowNode, RowNode.EVENT_UI_LEVEL_CHANGED, this.onUiLevelChanged.bind(this));\n var eventService = this.beans.eventService;\n this.addManagedListener(eventService, Events.EVENT_PAGINATION_PIXEL_OFFSET_CHANGED, this.onPaginationPixelOffsetChanged.bind(this));\n this.addManagedListener(eventService, Events.EVENT_HEIGHT_SCALE_CHANGED, this.onTopChanged.bind(this));\n this.addManagedListener(eventService, Events.EVENT_DISPLAYED_COLUMNS_CHANGED, this.onDisplayedColumnsChanged.bind(this));\n this.addManagedListener(eventService, Events.EVENT_VIRTUAL_COLUMNS_CHANGED, this.onVirtualColumnsChanged.bind(this));\n this.addManagedListener(eventService, Events.EVENT_CELL_FOCUSED, this.onCellFocusChanged.bind(this));\n this.addManagedListener(eventService, Events.EVENT_PAGINATION_CHANGED, this.onPaginationChanged.bind(this));\n this.addManagedListener(eventService, Events.EVENT_MODEL_UPDATED, this.onModelUpdated.bind(this));\n this.addManagedListener(eventService, Events.EVENT_COLUMN_MOVED, this.onColumnMoved.bind(this));\n this.addListenersForCellComps();\n };\n RowCtrl.prototype.onColumnMoved = function () {\n this.updateColumnLists();\n };\n RowCtrl.prototype.addListenersForCellComps = function () {\n var _this = this;\n this.addManagedListener(this.rowNode, RowNode.EVENT_ROW_INDEX_CHANGED, function () {\n _this.getAllCellCtrls().forEach(function (cellCtrl) { return cellCtrl.onRowIndexChanged(); });\n });\n this.addManagedListener(this.rowNode, RowNode.EVENT_CELL_CHANGED, function (event) {\n _this.getAllCellCtrls().forEach(function (cellCtrl) { return cellCtrl.onCellChanged(event); });\n });\n };\n RowCtrl.prototype.onRowNodeDataChanged = function (event) {\n // if this is an update, we want to refresh, as this will allow the user to put in a transition\n // into the cellRenderer refresh method. otherwise this might be completely new data, in which case\n // we will want to completely replace the cells\n this.getAllCellCtrls().forEach(function (cellCtrl) {\n return cellCtrl.refreshCell({\n suppressFlash: !event.update,\n newData: !event.update\n });\n });\n // check for selected also, as this could be after lazy loading of the row data, in which case\n // the id might of just gotten set inside the row and the row selected state may of changed\n // as a result. this is what happens when selected rows are loaded in virtual pagination.\n // - niall note - since moving to the stub component, this may no longer be true, as replacing\n // the stub component now replaces the entire row\n this.onRowSelected();\n // as data has changed, then the style and class needs to be recomputed\n this.postProcessCss();\n };\n RowCtrl.prototype.onRowNodeCellChanged = function () {\n // as data has changed, then the style and class needs to be recomputed\n this.postProcessCss();\n };\n RowCtrl.prototype.postProcessCss = function () {\n this.setStylesFromGridOptions();\n this.postProcessClassesFromGridOptions();\n this.postProcessRowClassRules();\n this.postProcessRowDragging();\n };\n RowCtrl.prototype.onRowNodeHighlightChanged = function () {\n var highlighted = this.rowNode.highlighted;\n this.allRowGuis.forEach(function (gui) {\n var aboveOn = highlighted === RowHighlightPosition.Above;\n var belowOn = highlighted === RowHighlightPosition.Below;\n gui.rowComp.addOrRemoveCssClass('ag-row-highlight-above', aboveOn);\n gui.rowComp.addOrRemoveCssClass('ag-row-highlight-below', belowOn);\n });\n };\n RowCtrl.prototype.onRowNodeDraggingChanged = function () {\n this.postProcessRowDragging();\n };\n RowCtrl.prototype.postProcessRowDragging = function () {\n var dragging = this.rowNode.dragging;\n this.allRowGuis.forEach(function (gui) { return gui.rowComp.addOrRemoveCssClass('ag-row-dragging', dragging); });\n };\n RowCtrl.prototype.updateExpandedCss = function () {\n var expandable = this.rowNode.isExpandable();\n var expanded = this.rowNode.expanded == true;\n this.allRowGuis.forEach(function (gui) {\n gui.rowComp.addOrRemoveCssClass('ag-row-group', expandable);\n gui.rowComp.addOrRemoveCssClass('ag-row-group-expanded', expandable && expanded);\n gui.rowComp.addOrRemoveCssClass('ag-row-group-contracted', expandable && !expanded);\n setAriaExpanded(gui.element, expandable && expanded);\n });\n };\n RowCtrl.prototype.onDisplayedColumnsChanged = function () {\n // we skip animations for onDisplayedColumnChanged, as otherwise the client could remove columns and\n // then set data, and any old valueGetter's (ie from cols that were removed) would still get called.\n this.updateColumnLists(true);\n if (this.beans.columnModel.wasAutoRowHeightEverActive()) {\n this.rowNode.checkAutoHeights();\n }\n };\n RowCtrl.prototype.onVirtualColumnsChanged = function () {\n this.updateColumnLists();\n };\n RowCtrl.prototype.getRowPosition = function () {\n return {\n rowPinned: makeNull(this.rowNode.rowPinned),\n rowIndex: this.rowNode.rowIndex\n };\n };\n RowCtrl.prototype.onKeyboardNavigate = function (keyboardEvent) {\n var currentFullWidthComp = this.allRowGuis.find(function (c) { return c.element.contains(keyboardEvent.target); });\n var currentFullWidthContainer = currentFullWidthComp ? currentFullWidthComp.element : null;\n var isFullWidthContainerFocused = currentFullWidthContainer === keyboardEvent.target;\n if (!isFullWidthContainerFocused) {\n return;\n }\n var node = this.rowNode;\n var lastFocusedCell = this.beans.focusService.getFocusedCell();\n var cellPosition = {\n rowIndex: node.rowIndex,\n rowPinned: node.rowPinned,\n column: (lastFocusedCell && lastFocusedCell.column)\n };\n this.beans.navigationService.navigateToNextCell(keyboardEvent, keyboardEvent.key, cellPosition, true);\n keyboardEvent.preventDefault();\n };\n RowCtrl.prototype.onTabKeyDown = function (keyboardEvent) {\n if (keyboardEvent.defaultPrevented || isStopPropagationForAgGrid(keyboardEvent)) {\n return;\n }\n var currentFullWidthComp = this.allRowGuis.find(function (c) { return c.element.contains(keyboardEvent.target); });\n var currentFullWidthContainer = currentFullWidthComp ? currentFullWidthComp.element : null;\n var isFullWidthContainerFocused = currentFullWidthContainer === keyboardEvent.target;\n var nextEl = null;\n if (!isFullWidthContainerFocused) {\n nextEl = this.beans.focusService.findNextFocusableElement(currentFullWidthContainer, false, keyboardEvent.shiftKey);\n }\n if ((this.isFullWidth() && isFullWidthContainerFocused) || !nextEl) {\n this.beans.navigationService.onTabKeyDown(this, keyboardEvent);\n }\n };\n RowCtrl.prototype.onFullWidthRowFocused = function (event) {\n var _a;\n var node = this.rowNode;\n var isFocused = this.isFullWidth() && event.rowIndex === node.rowIndex && event.rowPinned == node.rowPinned;\n var element = this.fullWidthGui ? this.fullWidthGui.element : (_a = this.centerGui) === null || _a === void 0 ? void 0 : _a.element;\n if (!element) {\n return;\n } // can happen with react ui, comp not yet ready\n element.classList.toggle('ag-full-width-focus', isFocused);\n if (isFocused) {\n // we don't scroll normal rows into view when we focus them, so we don't want\n // to scroll Full Width rows either.\n element.focus({ preventScroll: true });\n }\n };\n RowCtrl.prototype.refreshCell = function (cellCtrl) {\n this.centerCellCtrls = this.removeCellCtrl(this.centerCellCtrls, cellCtrl);\n this.leftCellCtrls = this.removeCellCtrl(this.leftCellCtrls, cellCtrl);\n this.rightCellCtrls = this.removeCellCtrl(this.rightCellCtrls, cellCtrl);\n this.updateColumnLists();\n };\n RowCtrl.prototype.removeCellCtrl = function (prev, cellCtrlToRemove) {\n var res = {\n list: [],\n map: {}\n };\n prev.list.forEach(function (cellCtrl) {\n if (cellCtrl === cellCtrlToRemove) {\n return;\n }\n res.list.push(cellCtrl);\n res.map[cellCtrl.getInstanceId()] = cellCtrl;\n });\n return res;\n };\n RowCtrl.prototype.onMouseEvent = function (eventName, mouseEvent) {\n switch (eventName) {\n case 'dblclick':\n this.onRowDblClick(mouseEvent);\n break;\n case 'click':\n this.onRowClick(mouseEvent);\n break;\n case 'touchstart':\n case 'mousedown':\n this.onRowMouseDown(mouseEvent);\n break;\n }\n };\n RowCtrl.prototype.createRowEvent = function (type, domEvent) {\n return {\n type: type,\n node: this.rowNode,\n data: this.rowNode.data,\n rowIndex: this.rowNode.rowIndex,\n rowPinned: this.rowNode.rowPinned,\n context: this.beans.gridOptionsWrapper.getContext(),\n api: this.beans.gridOptionsWrapper.getApi(),\n columnApi: this.beans.gridOptionsWrapper.getColumnApi(),\n event: domEvent\n };\n };\n RowCtrl.prototype.createRowEventWithSource = function (type, domEvent) {\n var event = this.createRowEvent(type, domEvent);\n // when first developing this, we included the rowComp in the event.\n // this seems very weird. so when introducing the event types, i left the 'source'\n // out of the type, and just include the source in the two places where this event\n // was fired (rowClicked and rowDoubleClicked). it doesn't make sense for any\n // users to be using this, as the rowComp isn't an object we expose, so would be\n // very surprising if a user was using it.\n event.source = this;\n return event;\n };\n RowCtrl.prototype.onRowDblClick = function (mouseEvent) {\n if (isStopPropagationForAgGrid(mouseEvent)) {\n return;\n }\n var agEvent = this.createRowEventWithSource(Events.EVENT_ROW_DOUBLE_CLICKED, mouseEvent);\n this.beans.eventService.dispatchEvent(agEvent);\n };\n RowCtrl.prototype.onRowMouseDown = function (mouseEvent) {\n this.lastMouseDownOnDragger = isElementChildOfClass(mouseEvent.target, 'ag-row-drag', 3);\n if (!this.isFullWidth()) {\n return;\n }\n var node = this.rowNode;\n var columnModel = this.beans.columnModel;\n if (this.beans.rangeService) {\n this.beans.rangeService.removeAllCellRanges();\n }\n this.beans.focusService.setFocusedCell({\n rowIndex: node.rowIndex,\n column: columnModel.getAllDisplayedColumns()[0],\n rowPinned: node.rowPinned,\n forceBrowserFocus: true\n });\n };\n RowCtrl.prototype.onRowClick = function (mouseEvent) {\n var stop = isStopPropagationForAgGrid(mouseEvent) || this.lastMouseDownOnDragger;\n if (stop) {\n return;\n }\n var agEvent = this.createRowEventWithSource(Events.EVENT_ROW_CLICKED, mouseEvent);\n this.beans.eventService.dispatchEvent(agEvent);\n // ctrlKey for windows, metaKey for Apple\n var multiSelectKeyPressed = mouseEvent.ctrlKey || mouseEvent.metaKey;\n var shiftKeyPressed = mouseEvent.shiftKey;\n // we do not allow selecting the group by clicking, when groupSelectChildren, as the logic to\n // handle this is broken. to observe, change the logic below and allow groups to be selected.\n // you will see the group gets selected, then all children get selected, then the grid unselects\n // the children (as the default behaviour when clicking is to unselect other rows) which results\n // in the group getting unselected (as all children are unselected). the correct thing would be\n // to change this, so that children of the selected group are not then subsequenly un-selected.\n var groupSelectsChildren = this.beans.gridOptionsWrapper.isGroupSelectsChildren();\n if (\n // we do not allow selecting groups by clicking (as the click here expands the group), or if it's a detail row,\n // so return if it's a group row\n (groupSelectsChildren && this.rowNode.group) ||\n // this is needed so we don't unselect other rows when we click this row, eg if this row is not selectable,\n // and we click it, the selection should not change (ie any currently selected row should stay selected)\n !this.rowNode.selectable ||\n // we also don't allow selection of pinned rows\n this.rowNode.rowPinned ||\n // if no selection method enabled, do nothing\n !this.beans.gridOptionsWrapper.isRowSelection() ||\n // if click selection suppressed, do nothing\n this.beans.gridOptionsWrapper.isSuppressRowClickSelection()) {\n return;\n }\n var multiSelectOnClick = this.beans.gridOptionsWrapper.isRowMultiSelectWithClick();\n var rowDeselectionWithCtrl = !this.beans.gridOptionsWrapper.isSuppressRowDeselection();\n if (this.rowNode.isSelected()) {\n if (multiSelectOnClick) {\n this.rowNode.setSelectedParams({ newValue: false, event: mouseEvent });\n }\n else if (multiSelectKeyPressed) {\n if (rowDeselectionWithCtrl) {\n this.rowNode.setSelectedParams({ newValue: false, event: mouseEvent });\n }\n }\n else {\n // selected with no multi key, must make sure anything else is unselected\n this.rowNode.setSelectedParams({ newValue: true, clearSelection: !shiftKeyPressed, rangeSelect: shiftKeyPressed, event: mouseEvent });\n }\n }\n else {\n var clearSelection = multiSelectOnClick ? false : !multiSelectKeyPressed;\n this.rowNode.setSelectedParams({ newValue: true, clearSelection: clearSelection, rangeSelect: shiftKeyPressed, event: mouseEvent });\n }\n };\n RowCtrl.prototype.setupDetailRowAutoHeight = function (eDetailGui) {\n var _this = this;\n if (this.rowType !== RowType$1.FullWidthDetail) {\n return;\n }\n if (!this.beans.gridOptionsWrapper.isDetailRowAutoHeight()) {\n return;\n }\n var checkRowSizeFunc = function () {\n var clientHeight = eDetailGui.clientHeight;\n // if the UI is not ready, the height can be 0, which we ignore, as otherwise a flicker will occur\n // as UI goes from the default height, to 0, then to the real height as UI becomes ready. this means\n // it's not possible for have 0 as auto-height, however this is an improbable use case, as even an\n // empty detail grid would still have some styling around it giving at least a few pixels.\n if (clientHeight != null && clientHeight > 0) {\n // we do the update in a timeout, to make sure we are not calling from inside the grid\n // doing another update\n var updateRowHeightFunc = function () {\n _this.rowNode.setRowHeight(clientHeight);\n if (_this.beans.clientSideRowModel) {\n _this.beans.clientSideRowModel.onRowHeightChanged();\n }\n else if (_this.beans.serverSideRowModel) {\n _this.beans.serverSideRowModel.onRowHeightChanged();\n }\n };\n _this.beans.frameworkOverrides.setTimeout(updateRowHeightFunc, 0);\n }\n };\n var resizeObserverDestroyFunc = this.beans.resizeObserverService.observeResize(eDetailGui, checkRowSizeFunc);\n this.addDestroyFunc(resizeObserverDestroyFunc);\n checkRowSizeFunc();\n };\n RowCtrl.prototype.createFullWidthParams = function (eRow, pinned) {\n var _this = this;\n var params = {\n fullWidth: true,\n data: this.rowNode.data,\n node: this.rowNode,\n value: this.rowNode.key,\n valueFormatted: this.rowNode.key,\n rowIndex: this.rowNode.rowIndex,\n api: this.beans.gridOptionsWrapper.getApi(),\n columnApi: this.beans.gridOptionsWrapper.getColumnApi(),\n context: this.beans.gridOptionsWrapper.getContext(),\n // these need to be taken out, as part of 'afterAttached' now\n eGridCell: eRow,\n eParentOfValue: eRow,\n pinned: pinned,\n addRenderedRowListener: this.addEventListener.bind(this),\n registerRowDragger: function (rowDraggerElement, dragStartPixels, value, suppressVisibilityChange) { return _this.addFullWidthRowDragging(rowDraggerElement, dragStartPixels, value, suppressVisibilityChange); }\n };\n return params;\n };\n RowCtrl.prototype.addFullWidthRowDragging = function (rowDraggerElement, dragStartPixels, value, suppressVisibilityChange) {\n if (value === void 0) { value = ''; }\n if (!this.isFullWidth()) {\n return;\n }\n var rowDragComp = new RowDragComp(function () { return value; }, this.rowNode, undefined, rowDraggerElement, dragStartPixels, suppressVisibilityChange);\n this.createManagedBean(rowDragComp, this.beans.context);\n };\n RowCtrl.prototype.onUiLevelChanged = function () {\n var newLevel = this.beans.rowCssClassCalculator.calculateRowLevel(this.rowNode);\n if (this.rowLevel != newLevel) {\n var classToAdd_1 = 'ag-row-level-' + newLevel;\n var classToRemove_1 = 'ag-row-level-' + this.rowLevel;\n this.allRowGuis.forEach(function (gui) {\n gui.rowComp.addOrRemoveCssClass(classToAdd_1, true);\n gui.rowComp.addOrRemoveCssClass(classToRemove_1, false);\n });\n }\n this.rowLevel = newLevel;\n };\n RowCtrl.prototype.isFirstRowOnPage = function () {\n return this.rowNode.rowIndex === this.beans.paginationProxy.getPageFirstRow();\n };\n RowCtrl.prototype.isLastRowOnPage = function () {\n return this.rowNode.rowIndex === this.beans.paginationProxy.getPageLastRow();\n };\n RowCtrl.prototype.onModelUpdated = function () {\n this.refreshFirstAndLastRowStyles();\n };\n RowCtrl.prototype.refreshFirstAndLastRowStyles = function () {\n var newFirst = this.isFirstRowOnPage();\n var newLast = this.isLastRowOnPage();\n if (this.firstRowOnPage !== newFirst) {\n this.firstRowOnPage = newFirst;\n this.allRowGuis.forEach(function (gui) { return gui.rowComp.addOrRemoveCssClass('ag-row-first', newFirst); });\n }\n if (this.lastRowOnPage !== newLast) {\n this.lastRowOnPage = newLast;\n this.allRowGuis.forEach(function (gui) { return gui.rowComp.addOrRemoveCssClass('ag-row-last', newLast); });\n }\n };\n RowCtrl.prototype.stopEditing = function (cancel) {\n var e_1, _a;\n if (cancel === void 0) { cancel = false; }\n // if we are already stopping row edit, there is\n // no need to start this process again.\n if (this.stoppingRowEdit) {\n return;\n }\n var cellControls = this.getAllCellCtrls();\n var isRowEdit = this.editingRow;\n this.stoppingRowEdit = true;\n var fireRowEditEvent = false;\n try {\n for (var cellControls_1 = __values$2(cellControls), cellControls_1_1 = cellControls_1.next(); !cellControls_1_1.done; cellControls_1_1 = cellControls_1.next()) {\n var ctrl = cellControls_1_1.value;\n var valueChanged = ctrl.stopEditing(cancel);\n if (isRowEdit && !cancel && !fireRowEditEvent && valueChanged) {\n fireRowEditEvent = true;\n }\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (cellControls_1_1 && !cellControls_1_1.done && (_a = cellControls_1.return)) _a.call(cellControls_1);\n }\n finally { if (e_1) throw e_1.error; }\n }\n if (fireRowEditEvent) {\n var event_1 = this.createRowEvent(Events.EVENT_ROW_VALUE_CHANGED);\n this.beans.eventService.dispatchEvent(event_1);\n }\n if (isRowEdit) {\n this.setEditingRow(false);\n }\n this.stoppingRowEdit = false;\n };\n RowCtrl.prototype.setInlineEditingCss = function (editing) {\n this.allRowGuis.forEach(function (gui) {\n gui.rowComp.addOrRemoveCssClass(\"ag-row-inline-editing\", editing);\n gui.rowComp.addOrRemoveCssClass(\"ag-row-not-inline-editing\", !editing);\n });\n };\n RowCtrl.prototype.setEditingRow = function (value) {\n this.editingRow = value;\n this.allRowGuis.forEach(function (gui) { return gui.rowComp.addOrRemoveCssClass('ag-row-editing', value); });\n var event = value ?\n this.createRowEvent(Events.EVENT_ROW_EDITING_STARTED)\n : this.createRowEvent(Events.EVENT_ROW_EDITING_STOPPED);\n this.beans.eventService.dispatchEvent(event);\n };\n RowCtrl.prototype.startRowEditing = function (key, charPress, sourceRenderedCell, event) {\n if (key === void 0) { key = null; }\n if (charPress === void 0) { charPress = null; }\n if (sourceRenderedCell === void 0) { sourceRenderedCell = null; }\n if (event === void 0) { event = null; }\n // don't do it if already editing\n if (this.editingRow) {\n return;\n }\n var atLeastOneEditing = this.getAllCellCtrls().reduce(function (prev, cellCtrl) {\n var cellStartedEdit = cellCtrl === sourceRenderedCell;\n if (cellStartedEdit) {\n cellCtrl.startEditing(key, charPress, cellStartedEdit, event);\n }\n else {\n cellCtrl.startEditing(null, null, cellStartedEdit, event);\n }\n if (prev) {\n return true;\n }\n return cellCtrl.isEditing();\n }, false);\n if (atLeastOneEditing) {\n this.setEditingRow(true);\n }\n };\n RowCtrl.prototype.getAllCellCtrls = function () {\n var res = __spread$d(this.centerCellCtrls.list, this.leftCellCtrls.list, this.rightCellCtrls.list);\n return res;\n };\n RowCtrl.prototype.postProcessClassesFromGridOptions = function () {\n var _this = this;\n var cssClasses = this.beans.rowCssClassCalculator.processClassesFromGridOptions(this.rowNode);\n if (!cssClasses || !cssClasses.length) {\n return;\n }\n cssClasses.forEach(function (classStr) {\n _this.allRowGuis.forEach(function (c) { return c.rowComp.addOrRemoveCssClass(classStr, true); });\n });\n };\n RowCtrl.prototype.postProcessRowClassRules = function () {\n var _this = this;\n this.beans.rowCssClassCalculator.processRowClassRules(this.rowNode, function (className) {\n _this.allRowGuis.forEach(function (gui) { return gui.rowComp.addOrRemoveCssClass(className, true); });\n }, function (className) {\n _this.allRowGuis.forEach(function (gui) { return gui.rowComp.addOrRemoveCssClass(className, false); });\n });\n };\n RowCtrl.prototype.setStylesFromGridOptions = function () {\n var rowStyles = this.processStylesFromGridOptions();\n this.allRowGuis.forEach(function (gui) { return gui.rowComp.setUserStyles(rowStyles); });\n };\n RowCtrl.prototype.getRowBusinessKey = function () {\n var businessKeyForNodeFunc = this.beans.gridOptionsWrapper.getBusinessKeyForNodeFunc();\n if (typeof businessKeyForNodeFunc !== 'function') {\n return;\n }\n return businessKeyForNodeFunc(this.rowNode);\n };\n RowCtrl.prototype.getPinnedForContainer = function (rowContainerType) {\n var pinned = rowContainerType === RowContainerType.LEFT\n ? Constants.PINNED_LEFT\n : rowContainerType === RowContainerType.RIGHT\n ? Constants.PINNED_RIGHT\n : null;\n return pinned;\n };\n RowCtrl.prototype.getInitialRowClasses = function (rowContainerType) {\n var pinned = this.getPinnedForContainer(rowContainerType);\n var params = {\n rowNode: this.rowNode,\n rowFocused: this.rowFocused,\n fadeRowIn: this.fadeRowIn,\n rowIsEven: this.rowNode.rowIndex % 2 === 0,\n rowLevel: this.rowLevel,\n fullWidthRow: this.isFullWidth(),\n firstRowOnPage: this.isFirstRowOnPage(),\n lastRowOnPage: this.isLastRowOnPage(),\n printLayout: this.printLayout,\n expandable: this.rowNode.isExpandable(),\n pinned: pinned\n };\n return this.beans.rowCssClassCalculator.getInitialRowClasses(params);\n };\n RowCtrl.prototype.processStylesFromGridOptions = function () {\n // part 1 - rowStyle\n var rowStyle = this.beans.gridOptionsWrapper.getRowStyle();\n if (rowStyle && typeof rowStyle === 'function') {\n console.warn('AG Grid: rowStyle should be an object of key/value styles, not be a function, use getRowStyle() instead');\n return;\n }\n // part 1 - rowStyleFunc\n var rowStyleFunc = this.beans.gridOptionsWrapper.getRowStyleFunc();\n var rowStyleFuncResult;\n if (rowStyleFunc) {\n var params = {\n data: this.rowNode.data,\n node: this.rowNode,\n rowIndex: this.rowNode.rowIndex\n };\n rowStyleFuncResult = rowStyleFunc(params);\n }\n return Object.assign({}, rowStyle, rowStyleFuncResult);\n };\n RowCtrl.prototype.onRowSelected = function () {\n var _this = this;\n // Treat undefined as false, if we pass undefined down it gets treated as toggle class, rather than explicitly\n // setting the required value\n var selected = !!this.rowNode.isSelected();\n this.allRowGuis.forEach(function (gui) {\n gui.rowComp.addOrRemoveCssClass('ag-row-selected', selected);\n setAriaSelected(gui.element, selected ? true : undefined);\n var ariaLabel = _this.createAriaLabel();\n setAriaLabel(gui.element, ariaLabel == null ? '' : ariaLabel);\n });\n };\n RowCtrl.prototype.createAriaLabel = function () {\n var selected = this.rowNode.isSelected();\n if (selected && this.beans.gridOptionsWrapper.isSuppressRowDeselection()) {\n return undefined;\n }\n var translate = this.beans.gridOptionsWrapper.getLocaleTextFunc();\n var label = translate(selected ? 'ariaRowDeselect' : 'ariaRowSelect', \"Press SPACE to \" + (selected ? 'deselect' : 'select') + \" this row.\");\n return label;\n };\n RowCtrl.prototype.isUseAnimationFrameForCreate = function () {\n return this.useAnimationFrameForCreate;\n };\n RowCtrl.prototype.addHoverFunctionality = function (eRow) {\n var _this = this;\n // because we use animation frames to do this, it's possible the row no longer exists\n // by the time we get to add it\n if (!this.active) {\n return;\n }\n // because mouseenter and mouseleave do not propagate, we cannot listen on the gridPanel\n // like we do for all the other mouse events.\n // because of the pinning, we cannot simply add / remove the class based on the eRow. we\n // have to check all eRow's (body & pinned). so the trick is if any of the rows gets a\n // mouse hover, it sets such in the rowNode, and then all three reflect the change as\n // all are listening for event on the row node.\n // step 1 - add listener, to set flag on row node\n this.addManagedListener(eRow, 'mouseenter', function () { return _this.rowNode.onMouseEnter(); });\n this.addManagedListener(eRow, 'mouseleave', function () { return _this.rowNode.onMouseLeave(); });\n // step 2 - listen for changes on row node (which any eRow can trigger)\n this.addManagedListener(this.rowNode, RowNode.EVENT_MOUSE_ENTER, function () {\n // if hover turned off, we don't add the class. we do this here so that if the application\n // toggles this property mid way, we remove the hover form the last row, but we stop\n // adding hovers from that point onwards.\n if (!_this.beans.gridOptionsWrapper.isSuppressRowHoverHighlight()) {\n eRow.classList.add('ag-row-hover');\n }\n });\n this.addManagedListener(this.rowNode, RowNode.EVENT_MOUSE_LEAVE, function () {\n eRow.classList.remove('ag-row-hover');\n });\n };\n // for animation, we don't want to animate entry or exit to a very far away pixel,\n // otherwise the row would move so fast, it would appear to disappear. so this method\n // moves the row closer to the viewport if it is far away, so the row slide in / out\n // at a speed the user can see.\n RowCtrl.prototype.roundRowTopToBounds = function (rowTop) {\n var gridBodyCon = this.beans.ctrlsService.getGridBodyCtrl();\n var range = gridBodyCon.getScrollFeature().getVScrollPosition();\n var minPixel = this.applyPaginationOffset(range.top, true) - 100;\n var maxPixel = this.applyPaginationOffset(range.bottom, true) + 100;\n return Math.min(Math.max(minPixel, rowTop), maxPixel);\n };\n RowCtrl.prototype.getFrameworkOverrides = function () {\n return this.beans.frameworkOverrides;\n };\n RowCtrl.prototype.onRowHeightChanged = function () {\n // check for exists first - if the user is resetting the row height, then\n // it will be null (or undefined) momentarily until the next time the flatten\n // stage is called where the row will then update again with a new height\n if (this.rowNode.rowHeight == null) {\n return;\n }\n var rowHeight = this.rowNode.rowHeight;\n var defaultRowHeight = this.beans.gridOptionsWrapper.getDefaultRowHeight();\n var isHeightFromFunc = this.beans.gridOptionsWrapper.isGetRowHeightFunction();\n var heightFromFunc = isHeightFromFunc ? this.beans.gridOptionsWrapper.getRowHeightForNode(this.rowNode).height : undefined;\n var lineHeight = heightFromFunc ? Math.min(defaultRowHeight, heightFromFunc) - 2 + \"px\" : undefined;\n this.allRowGuis.forEach(function (gui) {\n gui.element.style.height = rowHeight + \"px\";\n // If the row height is coming from a function, this means some rows can\n // be smaller than the theme had intended. so we set --ag-line-height on\n // the row, which is picked up by the theme CSS and is used in a calc\n // for the CSS line-height property, which makes sure the line-height is\n // not bigger than the row height, otherwise the row text would not fit.\n // We do not use rowNode.rowHeight here, as this could be the result of autoHeight,\n // and we found using the autoHeight result causes a loop, where changing the\n // line-height them impacts the cell height, resulting in a new autoHeight,\n // resulting in a new line-height and so on loop.\n // const heightFromFunc = this.beans.gridOptionsWrapper.getRowHeightForNode(this.rowNode).height;\n if (lineHeight) {\n gui.element.style.setProperty('--ag-line-height', lineHeight);\n }\n });\n };\n RowCtrl.prototype.addEventListener = function (eventType, listener) {\n if (eventType === 'renderedRowRemoved' || eventType === 'rowRemoved') {\n eventType = Events.EVENT_VIRTUAL_ROW_REMOVED;\n console.warn('AG Grid: Since version 11, event renderedRowRemoved is now called ' + Events.EVENT_VIRTUAL_ROW_REMOVED);\n }\n _super.prototype.addEventListener.call(this, eventType, listener);\n };\n RowCtrl.prototype.removeEventListener = function (eventType, listener) {\n if (eventType === 'renderedRowRemoved' || eventType === 'rowRemoved') {\n eventType = Events.EVENT_VIRTUAL_ROW_REMOVED;\n console.warn('AG Grid: Since version 11, event renderedRowRemoved and rowRemoved is now called ' + Events.EVENT_VIRTUAL_ROW_REMOVED);\n }\n _super.prototype.removeEventListener.call(this, eventType, listener);\n };\n // note - this is NOT called by context, as we don't wire / unwire the CellComp for performance reasons.\n RowCtrl.prototype.destroyFirstPass = function () {\n this.active = false;\n // why do we have this method? shouldn't everything below be added as a destroy func beside\n // the corresponding create logic?\n this.setupRemoveAnimation();\n var event = this.createRowEvent(Events.EVENT_VIRTUAL_ROW_REMOVED);\n this.dispatchEvent(event);\n this.beans.eventService.dispatchEvent(event);\n _super.prototype.destroy.call(this);\n };\n RowCtrl.prototype.setupRemoveAnimation = function () {\n // we don't animate sticky rows\n if (this.isSticky()) {\n return;\n }\n var rowStillVisibleJustNotInViewport = this.rowNode.rowTop != null;\n if (rowStillVisibleJustNotInViewport) {\n // if the row is not rendered, but in viewport, it means it has moved,\n // so we animate the row out. if the new location is very far away,\n // the animation will be so fast the row will look like it's just disappeared,\n // so instead we animate to a position just outside the viewport.\n var rowTop = this.roundRowTopToBounds(this.rowNode.rowTop);\n this.setRowTop(rowTop);\n }\n else {\n this.allRowGuis.forEach(function (gui) { return gui.rowComp.addOrRemoveCssClass('ag-opacity-zero', true); });\n }\n };\n RowCtrl.prototype.destroySecondPass = function () {\n this.allRowGuis.length = 0;\n var destroyCellCtrls = function (ctrls) {\n ctrls.list.forEach(function (c) { return c.destroy(); });\n return { list: [], map: {} };\n };\n this.centerCellCtrls = destroyCellCtrls(this.centerCellCtrls);\n this.leftCellCtrls = destroyCellCtrls(this.leftCellCtrls);\n this.rightCellCtrls = destroyCellCtrls(this.rightCellCtrls);\n };\n RowCtrl.prototype.setFocusedClasses = function () {\n var _this = this;\n this.allRowGuis.forEach(function (gui) {\n gui.rowComp.addOrRemoveCssClass('ag-row-focus', _this.rowFocused);\n gui.rowComp.addOrRemoveCssClass('ag-row-no-focus', !_this.rowFocused);\n });\n };\n RowCtrl.prototype.onCellFocusChanged = function () {\n var rowFocused = this.beans.focusService.isRowFocused(this.rowNode.rowIndex, this.rowNode.rowPinned);\n if (rowFocused !== this.rowFocused) {\n this.rowFocused = rowFocused;\n this.setFocusedClasses();\n }\n // if we are editing, then moving the focus out of a row will stop editing\n if (!rowFocused && this.editingRow) {\n this.stopEditing(false);\n }\n };\n RowCtrl.prototype.onPaginationChanged = function () {\n var currentPage = this.beans.paginationProxy.getCurrentPage();\n // it is possible this row is in the new page, but the page number has changed, which means\n // it needs to reposition itself relative to the new page\n if (this.paginationPage !== currentPage) {\n this.paginationPage = currentPage;\n this.onTopChanged();\n }\n this.refreshFirstAndLastRowStyles();\n };\n RowCtrl.prototype.onTopChanged = function () {\n this.setRowTop(this.rowNode.rowTop);\n };\n RowCtrl.prototype.onPaginationPixelOffsetChanged = function () {\n // the pixel offset is used when calculating rowTop to set on the row DIV\n this.onTopChanged();\n };\n // applies pagination offset, eg if on second page, and page height is 500px, then removes\n // 500px from the top position, so a row with rowTop 600px is displayed at location 100px.\n // reverse will take the offset away rather than add.\n RowCtrl.prototype.applyPaginationOffset = function (topPx, reverse) {\n if (reverse === void 0) { reverse = false; }\n if (this.rowNode.isRowPinned()) {\n return topPx;\n }\n var pixelOffset = this.beans.paginationProxy.getPixelOffset();\n var multiplier = reverse ? 1 : -1;\n return topPx + (pixelOffset * multiplier);\n };\n RowCtrl.prototype.setRowTop = function (pixels) {\n // print layout uses normal flow layout for row positioning\n if (this.printLayout) {\n return;\n }\n // need to make sure rowTop is not null, as this can happen if the node was once\n // visible (ie parent group was expanded) but is now not visible\n if (exists(pixels)) {\n var afterPaginationPixels = this.applyPaginationOffset(pixels);\n var afterScalingPixels = this.rowNode.isRowPinned() ? afterPaginationPixels : this.beans.rowContainerHeightService.getRealPixelPosition(afterPaginationPixels);\n var topPx = afterScalingPixels + \"px\";\n this.setRowTopStyle(topPx);\n }\n };\n // the top needs to be set into the DOM element when the element is created, not updated afterwards.\n // otherwise the transition would not work, as it would be transitioning from zero (the unset value).\n // for example, suppose a row that is outside the viewport, then user does a filter to remove other rows\n // and this row now appears in the viewport, and the row moves up (ie it was under the viewport and not rendered,\n // but now is in the viewport) then a new RowComp is created, however it should have it's position initialised\n // to below the viewport, so the row will appear to animate up. if we didn't set the initial position at creation\n // time, the row would animate down (ie from position zero).\n RowCtrl.prototype.getInitialRowTop = function () {\n var suppressRowTransform = this.beans.gridOptionsWrapper.isSuppressRowTransform();\n return suppressRowTransform ? this.getInitialRowTopShared() : undefined;\n };\n RowCtrl.prototype.getInitialTransform = function () {\n var suppressRowTransform = this.beans.gridOptionsWrapper.isSuppressRowTransform();\n return suppressRowTransform ? undefined : \"translateY(\" + this.getInitialRowTopShared() + \")\";\n };\n RowCtrl.prototype.getInitialRowTopShared = function () {\n // print layout uses normal flow layout for row positioning\n if (this.printLayout) {\n return '';\n }\n var rowTop;\n if (this.isSticky()) {\n rowTop = this.rowNode.stickyRowTop;\n }\n else {\n // if sliding in, we take the old row top. otherwise we just set the current row top.\n var pixels = this.slideRowIn ? this.roundRowTopToBounds(this.rowNode.oldRowTop) : this.rowNode.rowTop;\n var afterPaginationPixels = this.applyPaginationOffset(pixels);\n // we don't apply scaling if row is pinned\n rowTop = this.rowNode.isRowPinned() ? afterPaginationPixels : this.beans.rowContainerHeightService.getRealPixelPosition(afterPaginationPixels);\n }\n return rowTop + 'px';\n };\n RowCtrl.prototype.setRowTopStyle = function (topPx) {\n var suppressRowTransform = this.beans.gridOptionsWrapper.isSuppressRowTransform();\n this.allRowGuis.forEach(function (gui) { return suppressRowTransform ?\n gui.rowComp.setTop(topPx) :\n gui.rowComp.setTransform(\"translateY(\" + topPx + \")\"); });\n };\n RowCtrl.prototype.getRowNode = function () {\n return this.rowNode;\n };\n RowCtrl.prototype.getCellCtrl = function (column) {\n // first up, check for cell directly linked to this column\n var res = null;\n this.getAllCellCtrls().forEach(function (cellCtrl) {\n if (cellCtrl.getColumn() == column) {\n res = cellCtrl;\n }\n });\n if (res != null) {\n return res;\n }\n // second up, if not found, then check for spanned cols.\n // we do this second (and not at the same time) as this is\n // more expensive, as spanning cols is a\n // infrequently used feature so we don't need to do this most\n // of the time\n this.getAllCellCtrls().forEach(function (cellCtrl) {\n if (cellCtrl.getColSpanningList().indexOf(column) >= 0) {\n res = cellCtrl;\n }\n });\n return res;\n };\n RowCtrl.prototype.onRowIndexChanged = function () {\n // we only bother updating if the rowIndex is present. if it is not present, it means this row\n // is child of a group node, and the group node was closed, it's the only way to have no row index.\n // when this happens, row is about to be de-rendered, so we don't care, rowComp is about to die!\n if (this.rowNode.rowIndex != null) {\n this.onCellFocusChanged();\n this.updateRowIndexes();\n this.postProcessCss();\n }\n };\n RowCtrl.prototype.updateRowIndexes = function () {\n var rowIndexStr = this.rowNode.getRowIndexString();\n var headerRowCount = this.beans.headerNavigationService.getHeaderRowCount();\n var rowIsEven = this.rowNode.rowIndex % 2 === 0;\n var ariaRowIndex = headerRowCount + this.rowNode.rowIndex + 1;\n this.allRowGuis.forEach(function (c) {\n c.rowComp.setRowIndex(rowIndexStr);\n c.rowComp.addOrRemoveCssClass('ag-row-even', rowIsEven);\n c.rowComp.addOrRemoveCssClass('ag-row-odd', !rowIsEven);\n setAriaRowIndex(c.element, ariaRowIndex);\n });\n };\n // returns the pinned left container, either the normal one, or the embedded full with one if exists\n RowCtrl.prototype.getPinnedLeftRowElement = function () {\n return this.leftGui ? this.leftGui.element : undefined;\n };\n // returns the pinned right container, either the normal one, or the embedded full with one if exists\n RowCtrl.prototype.getPinnedRightRowElement = function () {\n return this.rightGui ? this.rightGui.element : undefined;\n };\n // returns the body container, either the normal one, or the embedded full with one if exists\n RowCtrl.prototype.getBodyRowElement = function () {\n return this.centerGui ? this.centerGui.element : undefined;\n };\n // returns the full width container\n RowCtrl.prototype.getFullWidthRowElement = function () {\n return this.fullWidthGui ? this.fullWidthGui.element : undefined;\n };\n RowCtrl.DOM_DATA_KEY_ROW_CTRL = 'renderedRow';\n return RowCtrl;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$1T = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$1M = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __read$g = (undefined && undefined.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar RowContainerEventsFeature = /** @class */ (function (_super) {\n __extends$1T(RowContainerEventsFeature, _super);\n function RowContainerEventsFeature(element) {\n var _this = _super.call(this) || this;\n _this.element = element;\n return _this;\n }\n RowContainerEventsFeature.prototype.postConstruct = function () {\n this.addMouseListeners();\n this.mockContextMenuForIPad();\n this.addKeyboardEvents();\n };\n RowContainerEventsFeature.prototype.addKeyboardEvents = function () {\n var _this = this;\n var eventNames = ['keydown', 'keypress'];\n eventNames.forEach(function (eventName) {\n var listener = _this.processKeyboardEvent.bind(_this, eventName);\n _this.addManagedListener(_this.element, eventName, listener);\n });\n };\n RowContainerEventsFeature.prototype.addMouseListeners = function () {\n var _this = this;\n var mouseDownEvent = isEventSupported('touchstart') ? 'touchstart' : 'mousedown';\n var eventNames = ['dblclick', 'contextmenu', 'mouseover', 'mouseout', 'click', mouseDownEvent];\n eventNames.forEach(function (eventName) {\n var listener = _this.processMouseEvent.bind(_this, eventName);\n _this.addManagedListener(_this.element, eventName, listener);\n });\n };\n RowContainerEventsFeature.prototype.processMouseEvent = function (eventName, mouseEvent) {\n if (!this.mouseEventService.isEventFromThisGrid(mouseEvent) ||\n isStopPropagationForAgGrid(mouseEvent)) {\n return;\n }\n var rowComp = this.getRowForEvent(mouseEvent);\n var cellCtrl = this.mouseEventService.getRenderedCellForEvent(mouseEvent);\n if (eventName === \"contextmenu\") {\n this.handleContextMenuMouseEvent(mouseEvent, null, rowComp, cellCtrl);\n }\n else {\n if (cellCtrl) {\n cellCtrl.onMouseEvent(eventName, mouseEvent);\n }\n if (rowComp) {\n rowComp.onMouseEvent(eventName, mouseEvent);\n }\n }\n };\n RowContainerEventsFeature.prototype.mockContextMenuForIPad = function () {\n var _this = this;\n // we do NOT want this when not in iPad, otherwise we will be doing\n if (!isIOSUserAgent()) {\n return;\n }\n var touchListener = new TouchListener(this.element);\n var longTapListener = function (event) {\n var rowComp = _this.getRowForEvent(event.touchEvent);\n var cellComp = _this.mouseEventService.getRenderedCellForEvent(event.touchEvent);\n _this.handleContextMenuMouseEvent(null, event.touchEvent, rowComp, cellComp);\n };\n this.addManagedListener(touchListener, TouchListener.EVENT_LONG_TAP, longTapListener);\n this.addDestroyFunc(function () { return touchListener.destroy(); });\n };\n RowContainerEventsFeature.prototype.getRowForEvent = function (event) {\n var sourceElement = event.target;\n while (sourceElement) {\n var rowCon = this.gridOptionsWrapper.getDomData(sourceElement, RowCtrl.DOM_DATA_KEY_ROW_CTRL);\n if (rowCon) {\n return rowCon;\n }\n sourceElement = sourceElement.parentElement;\n }\n return null;\n };\n RowContainerEventsFeature.prototype.handleContextMenuMouseEvent = function (mouseEvent, touchEvent, rowComp, cellCtrl) {\n var rowNode = rowComp ? rowComp.getRowNode() : null;\n var column = cellCtrl ? cellCtrl.getColumn() : null;\n var value = null;\n if (column) {\n var event_1 = mouseEvent ? mouseEvent : touchEvent;\n cellCtrl.dispatchCellContextMenuEvent(event_1);\n value = this.valueService.getValue(column, rowNode);\n }\n // if user clicked on a cell, anchor to that cell, otherwise anchor to the grid panel\n var gridBodyCon = this.ctrlsService.getGridBodyCtrl();\n var anchorToElement = cellCtrl ? cellCtrl.getGui() : gridBodyCon.getGridBodyElement();\n if (this.contextMenuFactory) {\n this.contextMenuFactory.onContextMenu(mouseEvent, touchEvent, rowNode, column, value, anchorToElement);\n }\n };\n RowContainerEventsFeature.prototype.processKeyboardEvent = function (eventName, keyboardEvent) {\n var cellComp = getCtrlForEvent(this.gridOptionsWrapper, keyboardEvent, CellCtrl.DOM_DATA_KEY_CELL_CTRL);\n var rowComp = getCtrlForEvent(this.gridOptionsWrapper, keyboardEvent, RowCtrl.DOM_DATA_KEY_ROW_CTRL);\n if (keyboardEvent.defaultPrevented) {\n return;\n }\n if (cellComp) {\n this.processCellKeyboardEvent(cellComp, eventName, keyboardEvent);\n }\n else if (rowComp && rowComp.isFullWidth()) {\n this.processFullWidthRowKeyboardEvent(rowComp, eventName, keyboardEvent);\n }\n };\n RowContainerEventsFeature.prototype.processCellKeyboardEvent = function (cellCtrl, eventName, keyboardEvent) {\n var rowNode = cellCtrl.getRowNode();\n var column = cellCtrl.getColumn();\n var editing = cellCtrl.isEditing();\n var gridProcessingAllowed = !isUserSuppressingKeyboardEvent(this.gridOptionsWrapper, keyboardEvent, rowNode, column, editing);\n if (gridProcessingAllowed) {\n switch (eventName) {\n case 'keydown':\n // first see if it's a scroll key, page up / down, home / end etc\n var wasScrollKey = !editing && this.navigationService.handlePageScrollingKey(keyboardEvent);\n // if not a scroll key, then we pass onto cell\n if (!wasScrollKey) {\n cellCtrl.onKeyDown(keyboardEvent);\n }\n // perform clipboard and undo / redo operations\n this.doGridOperations(keyboardEvent, cellCtrl.isEditing());\n break;\n case 'keypress':\n cellCtrl.onKeyPress(keyboardEvent);\n break;\n }\n }\n if (eventName === 'keydown') {\n var cellKeyDownEvent = cellCtrl.createEvent(keyboardEvent, Events.EVENT_CELL_KEY_DOWN);\n this.eventService.dispatchEvent(cellKeyDownEvent);\n }\n if (eventName === 'keypress') {\n var cellKeyPressEvent = cellCtrl.createEvent(keyboardEvent, Events.EVENT_CELL_KEY_PRESS);\n this.eventService.dispatchEvent(cellKeyPressEvent);\n }\n };\n RowContainerEventsFeature.prototype.processFullWidthRowKeyboardEvent = function (rowComp, eventName, keyboardEvent) {\n var rowNode = rowComp.getRowNode();\n var focusedCell = this.focusService.getFocusedCell();\n var column = (focusedCell && focusedCell.column);\n var gridProcessingAllowed = !isUserSuppressingKeyboardEvent(this.gridOptionsWrapper, keyboardEvent, rowNode, column, false);\n if (gridProcessingAllowed) {\n var key = keyboardEvent.key;\n if (eventName === 'keydown') {\n switch (key) {\n case KeyCode.UP:\n case KeyCode.DOWN:\n rowComp.onKeyboardNavigate(keyboardEvent);\n break;\n case KeyCode.TAB:\n rowComp.onTabKeyDown(keyboardEvent);\n }\n }\n }\n if (eventName === 'keydown') {\n var cellKeyDownEvent = rowComp.createRowEvent(Events.EVENT_CELL_KEY_DOWN, keyboardEvent);\n this.eventService.dispatchEvent(cellKeyDownEvent);\n }\n if (eventName === 'keypress') {\n var cellKeyPressEvent = rowComp.createRowEvent(Events.EVENT_CELL_KEY_PRESS, keyboardEvent);\n this.eventService.dispatchEvent(cellKeyPressEvent);\n }\n };\n RowContainerEventsFeature.prototype.doGridOperations = function (keyboardEvent, editing) {\n // check if ctrl or meta key pressed\n if (!keyboardEvent.ctrlKey && !keyboardEvent.metaKey) {\n return;\n }\n // if the cell the event came from is editing, then we do not\n // want to do the default shortcut keys, otherwise the editor\n // (eg a text field) would not be able to do the normal cut/copy/paste\n if (editing) {\n return;\n }\n // for copy / paste, we don't want to execute when the event\n // was from a child grid (happens in master detail)\n if (!this.mouseEventService.isEventFromThisGrid(keyboardEvent)) {\n return;\n }\n var keyCode = normaliseQwertyAzerty(keyboardEvent);\n if (keyCode === KeyCode.A) {\n return this.onCtrlAndA(keyboardEvent);\n }\n if (keyCode === KeyCode.C) {\n return this.onCtrlAndC(keyboardEvent);\n }\n if (keyCode === KeyCode.V) {\n return this.onCtrlAndV();\n }\n if (keyCode === KeyCode.D) {\n return this.onCtrlAndD(keyboardEvent);\n }\n if (keyCode === KeyCode.Z) {\n return this.onCtrlAndZ(keyboardEvent);\n }\n if (keyCode === KeyCode.Y) {\n return this.onCtrlAndY();\n }\n };\n RowContainerEventsFeature.prototype.onCtrlAndA = function (event) {\n var _a = this, pinnedRowModel = _a.pinnedRowModel, paginationProxy = _a.paginationProxy, rangeService = _a.rangeService;\n var PINNED_BOTTOM = Constants.PINNED_BOTTOM, PINNED_TOP = Constants.PINNED_TOP;\n if (rangeService && paginationProxy.isRowsToRender()) {\n var _b = __read$g([\n pinnedRowModel.isEmpty(PINNED_TOP),\n pinnedRowModel.isEmpty(PINNED_BOTTOM)\n ], 2), isEmptyPinnedTop = _b[0], isEmptyPinnedBottom = _b[1];\n var floatingStart = isEmptyPinnedTop ? null : PINNED_TOP;\n var floatingEnd = void 0;\n var rowEnd = void 0;\n if (isEmptyPinnedBottom) {\n floatingEnd = null;\n rowEnd = this.paginationProxy.getRowCount() - 1;\n }\n else {\n floatingEnd = PINNED_BOTTOM;\n rowEnd = pinnedRowModel.getPinnedBottomRowData().length - 1;\n }\n var allDisplayedColumns = this.columnModel.getAllDisplayedColumns();\n if (missingOrEmpty(allDisplayedColumns)) {\n return;\n }\n rangeService.setCellRange({\n rowStartIndex: 0,\n rowStartPinned: floatingStart,\n rowEndIndex: rowEnd,\n rowEndPinned: floatingEnd,\n columnStart: allDisplayedColumns[0],\n columnEnd: last(allDisplayedColumns)\n });\n }\n event.preventDefault();\n };\n RowContainerEventsFeature.prototype.onCtrlAndC = function (event) {\n if (!this.clipboardService || this.gridOptionsWrapper.isEnableCellTextSelection()) {\n return;\n }\n this.clipboardService.copyToClipboard();\n event.preventDefault();\n };\n RowContainerEventsFeature.prototype.onCtrlAndV = function () {\n if (ModuleRegistry.isRegistered(ModuleNames.ClipboardModule) && !this.gridOptionsWrapper.isSuppressClipboardPaste()) {\n this.clipboardService.pasteFromClipboard();\n }\n };\n RowContainerEventsFeature.prototype.onCtrlAndD = function (event) {\n if (ModuleRegistry.isRegistered(ModuleNames.ClipboardModule) && !this.gridOptionsWrapper.isSuppressClipboardPaste()) {\n this.clipboardService.copyRangeDown();\n }\n event.preventDefault();\n };\n RowContainerEventsFeature.prototype.onCtrlAndZ = function (event) {\n if (!this.gridOptionsWrapper.isUndoRedoCellEditing()) {\n return;\n }\n event.preventDefault();\n if (event.shiftKey) {\n this.undoRedoService.redo();\n }\n else {\n this.undoRedoService.undo();\n }\n };\n RowContainerEventsFeature.prototype.onCtrlAndY = function () {\n this.undoRedoService.redo();\n };\n __decorate$1M([\n Autowired('mouseEventService')\n ], RowContainerEventsFeature.prototype, \"mouseEventService\", void 0);\n __decorate$1M([\n Autowired('valueService')\n ], RowContainerEventsFeature.prototype, \"valueService\", void 0);\n __decorate$1M([\n Optional('contextMenuFactory')\n ], RowContainerEventsFeature.prototype, \"contextMenuFactory\", void 0);\n __decorate$1M([\n Autowired('ctrlsService')\n ], RowContainerEventsFeature.prototype, \"ctrlsService\", void 0);\n __decorate$1M([\n Autowired('navigationService')\n ], RowContainerEventsFeature.prototype, \"navigationService\", void 0);\n __decorate$1M([\n Autowired('focusService')\n ], RowContainerEventsFeature.prototype, \"focusService\", void 0);\n __decorate$1M([\n Autowired('undoRedoService')\n ], RowContainerEventsFeature.prototype, \"undoRedoService\", void 0);\n __decorate$1M([\n Autowired('columnModel')\n ], RowContainerEventsFeature.prototype, \"columnModel\", void 0);\n __decorate$1M([\n Autowired('paginationProxy')\n ], RowContainerEventsFeature.prototype, \"paginationProxy\", void 0);\n __decorate$1M([\n Autowired('pinnedRowModel')\n ], RowContainerEventsFeature.prototype, \"pinnedRowModel\", void 0);\n __decorate$1M([\n Optional('rangeService')\n ], RowContainerEventsFeature.prototype, \"rangeService\", void 0);\n __decorate$1M([\n Optional('clipboardService')\n ], RowContainerEventsFeature.prototype, \"clipboardService\", void 0);\n __decorate$1M([\n PostConstruct\n ], RowContainerEventsFeature.prototype, \"postConstruct\", null);\n return RowContainerEventsFeature;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$1S = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$1L = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n// listens to changes in the center viewport size, for column and row virtualisation,\n// and adjusts grid as necessary. there are two viewports, one for horizontal and one for\n// vertical scrolling.\nvar ViewportSizeFeature = /** @class */ (function (_super) {\n __extends$1S(ViewportSizeFeature, _super);\n function ViewportSizeFeature(centerContainerCtrl) {\n var _this = _super.call(this) || this;\n _this.centerContainerCtrl = centerContainerCtrl;\n return _this;\n }\n ViewportSizeFeature.prototype.postConstruct = function () {\n var _this = this;\n this.ctrlsService.whenReady(function () {\n _this.gridBodyCtrl = _this.ctrlsService.getGridBodyCtrl();\n _this.listenForResize();\n });\n this.addManagedListener(this.eventService, Events.EVENT_SCROLLBAR_WIDTH_CHANGED, this.onScrollbarWidthChanged.bind(this));\n };\n ViewportSizeFeature.prototype.listenForResize = function () {\n var _this = this;\n var listener = function () { return _this.onCenterViewportResized(); };\n // centerContainer gets horizontal resizes\n this.centerContainerCtrl.registerViewportResizeListener(listener);\n // eBodyViewport gets vertical resizes\n this.gridBodyCtrl.registerBodyViewportResizeListener(listener);\n };\n ViewportSizeFeature.prototype.onScrollbarWidthChanged = function () {\n this.checkViewportAndScrolls();\n };\n ViewportSizeFeature.prototype.onCenterViewportResized = function () {\n if (this.centerContainerCtrl.isViewportVisible()) {\n this.checkViewportAndScrolls();\n var newWidth = this.centerContainerCtrl.getCenterWidth();\n if (newWidth !== this.centerWidth) {\n this.centerWidth = newWidth;\n this.columnModel.refreshFlexedColumns({ viewportWidth: this.centerWidth, updateBodyWidths: true, fireResizedEvent: true });\n }\n }\n else {\n this.bodyHeight = 0;\n }\n };\n // gets called every time the viewport size changes. we use this to check visibility of scrollbars\n // in the grid panel, and also to check size and position of viewport for row and column virtualisation.\n ViewportSizeFeature.prototype.checkViewportAndScrolls = function () {\n // results in updating anything that depends on scroll showing\n this.updateScrollVisibleService();\n // fires event if height changes, used by PaginationService, HeightScalerService, RowRenderer\n this.checkBodyHeight();\n // check for virtual columns for ColumnController\n this.onHorizontalViewportChanged();\n this.gridBodyCtrl.getScrollFeature().checkScrollLeft();\n };\n ViewportSizeFeature.prototype.getBodyHeight = function () {\n return this.bodyHeight;\n };\n ViewportSizeFeature.prototype.checkBodyHeight = function () {\n var eBodyViewport = this.gridBodyCtrl.getBodyViewportElement();\n var bodyHeight = getInnerHeight(eBodyViewport);\n if (this.bodyHeight !== bodyHeight) {\n this.bodyHeight = bodyHeight;\n var event_1 = {\n type: Events.EVENT_BODY_HEIGHT_CHANGED\n };\n this.eventService.dispatchEvent(event_1);\n }\n };\n ViewportSizeFeature.prototype.updateScrollVisibleService = function () {\n // because of column animation (which takes 200ms), we have to do this twice.\n // eg if user removes cols anywhere except at the RHS, then the cols on the RHS\n // will animate to the left to fill the gap. this animation means just after\n // the cols are removed, the remaining cols are still in the original location\n // at the start of the animation, so pre animation the H scrollbar is still needed,\n // but post animation it is not.\n this.updateScrollVisibleServiceImpl();\n setTimeout(this.updateScrollVisibleServiceImpl.bind(this), 500);\n };\n ViewportSizeFeature.prototype.updateScrollVisibleServiceImpl = function () {\n var params = {\n horizontalScrollShowing: this.isHorizontalScrollShowing(),\n verticalScrollShowing: this.gridBodyCtrl.isVerticalScrollShowing()\n };\n this.scrollVisibleService.setScrollsVisible(params);\n // fix - gridComp should just listen to event from above\n this.gridBodyCtrl.setVerticalScrollPaddingVisible(params.verticalScrollShowing);\n };\n ViewportSizeFeature.prototype.isHorizontalScrollShowing = function () {\n var isAlwaysShowHorizontalScroll = this.gridOptionsWrapper.isAlwaysShowHorizontalScroll();\n return isAlwaysShowHorizontalScroll || this.centerContainerCtrl.isViewportHScrollShowing();\n };\n // this gets called whenever a change in the viewport, so we can inform column controller it has to work\n // out the virtual columns again. gets called from following locations:\n // + ensureColVisible, scroll, init, layoutChanged, displayedColumnsChanged, API (doLayout)\n ViewportSizeFeature.prototype.onHorizontalViewportChanged = function () {\n var scrollWidth = this.centerContainerCtrl.getCenterWidth();\n var scrollPosition = this.centerContainerCtrl.getViewportScrollLeft();\n this.columnModel.setViewportPosition(scrollWidth, scrollPosition);\n };\n __decorate$1L([\n Autowired('ctrlsService')\n ], ViewportSizeFeature.prototype, \"ctrlsService\", void 0);\n __decorate$1L([\n Autowired('columnModel')\n ], ViewportSizeFeature.prototype, \"columnModel\", void 0);\n __decorate$1L([\n Autowired('scrollVisibleService')\n ], ViewportSizeFeature.prototype, \"scrollVisibleService\", void 0);\n __decorate$1L([\n PostConstruct\n ], ViewportSizeFeature.prototype, \"postConstruct\", null);\n return ViewportSizeFeature;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$1R = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$1K = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar SetPinnedLeftWidthFeature = /** @class */ (function (_super) {\n __extends$1R(SetPinnedLeftWidthFeature, _super);\n function SetPinnedLeftWidthFeature(element) {\n var _this = _super.call(this) || this;\n _this.element = element;\n return _this;\n }\n SetPinnedLeftWidthFeature.prototype.postConstruct = function () {\n this.addManagedListener(this.eventService, Events.EVENT_LEFT_PINNED_WIDTH_CHANGED, this.onPinnedLeftWidthChanged.bind(this));\n };\n SetPinnedLeftWidthFeature.prototype.onPinnedLeftWidthChanged = function () {\n var leftWidth = this.pinnedWidthService.getPinnedLeftWidth();\n var displayed = leftWidth > 0;\n setDisplayed(this.element, displayed);\n if (displayed) {\n setFixedWidth(this.element, leftWidth);\n }\n };\n __decorate$1K([\n Autowired('pinnedWidthService')\n ], SetPinnedLeftWidthFeature.prototype, \"pinnedWidthService\", void 0);\n __decorate$1K([\n PostConstruct\n ], SetPinnedLeftWidthFeature.prototype, \"postConstruct\", null);\n return SetPinnedLeftWidthFeature;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$1Q = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$1J = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar SetPinnedRightWidthFeature = /** @class */ (function (_super) {\n __extends$1Q(SetPinnedRightWidthFeature, _super);\n function SetPinnedRightWidthFeature(element) {\n var _this = _super.call(this) || this;\n _this.element = element;\n return _this;\n }\n SetPinnedRightWidthFeature.prototype.postConstruct = function () {\n this.addManagedListener(this.eventService, Events.EVENT_RIGHT_PINNED_WIDTH_CHANGED, this.onPinnedRightWidthChanged.bind(this));\n };\n SetPinnedRightWidthFeature.prototype.onPinnedRightWidthChanged = function () {\n var rightWidth = this.pinnedWidthService.getPinnedRightWidth();\n var displayed = rightWidth > 0;\n setDisplayed(this.element, displayed);\n if (displayed) {\n setFixedWidth(this.element, rightWidth);\n }\n };\n __decorate$1J([\n Autowired('pinnedWidthService')\n ], SetPinnedRightWidthFeature.prototype, \"pinnedWidthService\", void 0);\n __decorate$1J([\n PostConstruct\n ], SetPinnedRightWidthFeature.prototype, \"postConstruct\", null);\n return SetPinnedRightWidthFeature;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$1P = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$1I = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar SetHeightFeature = /** @class */ (function (_super) {\n __extends$1P(SetHeightFeature, _super);\n function SetHeightFeature(eContainer, eWrapper) {\n var _this = _super.call(this) || this;\n _this.eContainer = eContainer;\n _this.eWrapper = eWrapper;\n return _this;\n }\n SetHeightFeature.prototype.postConstruct = function () {\n this.addManagedListener(this.eventService, Events.EVENT_ROW_CONTAINER_HEIGHT_CHANGED, this.onHeightChanged.bind(this));\n };\n SetHeightFeature.prototype.onHeightChanged = function () {\n var height = this.maxDivHeightScaler.getUiContainerHeight();\n var heightString = height != null ? height + \"px\" : \"\";\n this.eContainer.style.height = heightString;\n if (this.eWrapper) {\n this.eWrapper.style.height = heightString;\n }\n };\n __decorate$1I([\n Autowired(\"rowContainerHeightService\")\n ], SetHeightFeature.prototype, \"maxDivHeightScaler\", void 0);\n __decorate$1I([\n PostConstruct\n ], SetHeightFeature.prototype, \"postConstruct\", null);\n return SetHeightFeature;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$1O = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$1H = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar DragListenerFeature = /** @class */ (function (_super) {\n __extends$1O(DragListenerFeature, _super);\n function DragListenerFeature(eContainer) {\n var _this = _super.call(this) || this;\n _this.eContainer = eContainer;\n return _this;\n }\n DragListenerFeature.prototype.postConstruct = function () {\n var _this = this;\n if (!this.gridOptionsWrapper.isEnableRangeSelection() || // no range selection if no property\n missing(this.rangeService) // no range selection if not enterprise version\n ) {\n return;\n }\n var params = {\n eElement: this.eContainer,\n onDragStart: this.rangeService.onDragStart.bind(this.rangeService),\n onDragStop: this.rangeService.onDragStop.bind(this.rangeService),\n onDragging: this.rangeService.onDragging.bind(this.rangeService)\n };\n this.dragService.addDragSource(params);\n this.addDestroyFunc(function () { return _this.dragService.removeDragSource(params); });\n };\n __decorate$1H([\n Optional('rangeService')\n ], DragListenerFeature.prototype, \"rangeService\", void 0);\n __decorate$1H([\n Autowired('dragService')\n ], DragListenerFeature.prototype, \"dragService\", void 0);\n __decorate$1H([\n PostConstruct\n ], DragListenerFeature.prototype, \"postConstruct\", null);\n return DragListenerFeature;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$1N = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$1G = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar CenterWidthFeature = /** @class */ (function (_super) {\n __extends$1N(CenterWidthFeature, _super);\n function CenterWidthFeature(callback) {\n var _this = _super.call(this) || this;\n _this.callback = callback;\n return _this;\n }\n CenterWidthFeature.prototype.postConstruct = function () {\n var listener = this.setWidth.bind(this);\n this.addManagedListener(this.gridOptionsWrapper, GridOptionsWrapper.PROP_DOM_LAYOUT, listener);\n this.addManagedListener(this.eventService, Events.EVENT_DISPLAYED_COLUMNS_CHANGED, listener);\n this.addManagedListener(this.eventService, Events.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED, listener);\n this.setWidth();\n };\n CenterWidthFeature.prototype.setWidth = function () {\n var columnModel = this.columnModel;\n var printLayout = this.gridOptionsWrapper.getDomLayout() === Constants.DOM_LAYOUT_PRINT;\n var centerWidth = columnModel.getBodyContainerWidth();\n var leftWidth = columnModel.getDisplayedColumnsLeftWidth();\n var rightWidth = columnModel.getDisplayedColumnsRightWidth();\n var totalWidth = printLayout ? centerWidth + leftWidth + rightWidth : centerWidth;\n this.callback(totalWidth);\n };\n __decorate$1G([\n Autowired('columnModel')\n ], CenterWidthFeature.prototype, \"columnModel\", void 0);\n __decorate$1G([\n PostConstruct\n ], CenterWidthFeature.prototype, \"postConstruct\", null);\n return CenterWidthFeature;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$1M = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$1F = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __read$f = (undefined && undefined.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar __spread$c = (undefined && undefined.__spread) || function () {\n for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$f(arguments[i]));\n return ar;\n};\nvar RowContainerName;\n(function (RowContainerName) {\n RowContainerName[\"LEFT\"] = \"left\";\n RowContainerName[\"RIGHT\"] = \"right\";\n RowContainerName[\"CENTER\"] = \"center\";\n RowContainerName[\"FULL_WIDTH\"] = \"fullWidth\";\n RowContainerName[\"TOP_LEFT\"] = \"topLeft\";\n RowContainerName[\"TOP_RIGHT\"] = \"topRight\";\n RowContainerName[\"TOP_CENTER\"] = \"topCenter\";\n RowContainerName[\"TOP_FULL_WIDTH\"] = \"topFullWidth\";\n RowContainerName[\"STICKY_TOP_LEFT\"] = \"stickyTopLeft\";\n RowContainerName[\"STICKY_TOP_RIGHT\"] = \"stickyTopRight\";\n RowContainerName[\"STICKY_TOP_CENTER\"] = \"stickyTopCenter\";\n RowContainerName[\"STICKY_TOP_FULL_WIDTH\"] = \"stickyTopFullWidth\";\n RowContainerName[\"BOTTOM_LEFT\"] = \"bottomLeft\";\n RowContainerName[\"BOTTOM_RIGHT\"] = \"bottomRight\";\n RowContainerName[\"BOTTOM_CENTER\"] = \"bottomCenter\";\n RowContainerName[\"BOTTOM_FULL_WIDTH\"] = \"bottomFullWidth\";\n})(RowContainerName || (RowContainerName = {}));\nvar RowContainerType;\n(function (RowContainerType) {\n RowContainerType[\"LEFT\"] = \"left\";\n RowContainerType[\"RIGHT\"] = \"right\";\n RowContainerType[\"CENTER\"] = \"center\";\n RowContainerType[\"FULL_WIDTH\"] = \"fullWidth\";\n})(RowContainerType || (RowContainerType = {}));\nfunction getRowContainerTypeForName(name) {\n switch (name) {\n case RowContainerName.CENTER:\n case RowContainerName.TOP_CENTER:\n case RowContainerName.STICKY_TOP_CENTER:\n case RowContainerName.BOTTOM_CENTER:\n return RowContainerType.CENTER;\n case RowContainerName.LEFT:\n case RowContainerName.TOP_LEFT:\n case RowContainerName.STICKY_TOP_LEFT:\n case RowContainerName.BOTTOM_LEFT:\n return RowContainerType.LEFT;\n case RowContainerName.RIGHT:\n case RowContainerName.TOP_RIGHT:\n case RowContainerName.STICKY_TOP_RIGHT:\n case RowContainerName.BOTTOM_RIGHT:\n return RowContainerType.RIGHT;\n case RowContainerName.FULL_WIDTH:\n case RowContainerName.TOP_FULL_WIDTH:\n case RowContainerName.STICKY_TOP_FULL_WIDTH:\n case RowContainerName.BOTTOM_FULL_WIDTH:\n return RowContainerType.FULL_WIDTH;\n default:\n throw Error('Invalid Row Container Type');\n }\n}\nvar ContainerCssClasses = convertToMap([\n [RowContainerName.CENTER, 'ag-center-cols-container'],\n [RowContainerName.LEFT, 'ag-pinned-left-cols-container'],\n [RowContainerName.RIGHT, 'ag-pinned-right-cols-container'],\n [RowContainerName.FULL_WIDTH, 'ag-full-width-container'],\n [RowContainerName.TOP_CENTER, 'ag-floating-top-container'],\n [RowContainerName.TOP_LEFT, 'ag-pinned-left-floating-top'],\n [RowContainerName.TOP_RIGHT, 'ag-pinned-right-floating-top'],\n [RowContainerName.TOP_FULL_WIDTH, 'ag-floating-top-full-width-container'],\n [RowContainerName.STICKY_TOP_CENTER, 'ag-sticky-top-container'],\n [RowContainerName.STICKY_TOP_LEFT, 'ag-pinned-left-sticky-top'],\n [RowContainerName.STICKY_TOP_RIGHT, 'ag-pinned-right-sticky-top'],\n [RowContainerName.STICKY_TOP_FULL_WIDTH, 'ag-sticky-top-full-width-container'],\n [RowContainerName.BOTTOM_CENTER, 'ag-floating-bottom-container'],\n [RowContainerName.BOTTOM_LEFT, 'ag-pinned-left-floating-bottom'],\n [RowContainerName.BOTTOM_RIGHT, 'ag-pinned-right-floating-bottom'],\n [RowContainerName.BOTTOM_FULL_WIDTH, 'ag-floating-bottom-full-width-container'],\n]);\nvar ViewportCssClasses = convertToMap([\n [RowContainerName.CENTER, 'ag-center-cols-viewport'],\n [RowContainerName.TOP_CENTER, 'ag-floating-top-viewport'],\n [RowContainerName.STICKY_TOP_CENTER, 'ag-sticky-top-viewport'],\n [RowContainerName.BOTTOM_CENTER, 'ag-floating-bottom-viewport'],\n]);\nvar WrapperCssClasses = convertToMap([\n [RowContainerName.CENTER, 'ag-center-cols-clipper'],\n]);\nvar RowContainerCtrl = /** @class */ (function (_super) {\n __extends$1M(RowContainerCtrl, _super);\n function RowContainerCtrl(name) {\n var _this = _super.call(this) || this;\n _this.name = name;\n return _this;\n }\n RowContainerCtrl.getRowContainerCssClasses = function (name) {\n var containerClass = ContainerCssClasses.get(name);\n var viewportClass = ViewportCssClasses.get(name);\n var wrapperClass = WrapperCssClasses.get(name);\n return { container: containerClass, viewport: viewportClass, wrapper: wrapperClass };\n };\n RowContainerCtrl.getPinned = function (name) {\n switch (name) {\n case RowContainerName.BOTTOM_LEFT:\n case RowContainerName.TOP_LEFT:\n case RowContainerName.STICKY_TOP_LEFT:\n case RowContainerName.LEFT:\n return Constants.PINNED_LEFT;\n case RowContainerName.BOTTOM_RIGHT:\n case RowContainerName.TOP_RIGHT:\n case RowContainerName.STICKY_TOP_RIGHT:\n case RowContainerName.RIGHT:\n return Constants.PINNED_RIGHT;\n default:\n return null;\n }\n };\n RowContainerCtrl.prototype.postConstruct = function () {\n var _this = this;\n this.enableRtl = this.gridOptionsWrapper.isEnableRtl();\n this.embedFullWidthRows = this.gridOptionsWrapper.isEmbedFullWidthRows();\n this.forContainers([RowContainerName.CENTER], function () { return _this.viewportSizeFeature = _this.createManagedBean(new ViewportSizeFeature(_this)); });\n };\n RowContainerCtrl.prototype.registerWithCtrlsService = function () {\n switch (this.name) {\n case RowContainerName.CENTER:\n this.ctrlsService.registerCenterRowContainerCtrl(this);\n break;\n case RowContainerName.LEFT:\n this.ctrlsService.registerLeftRowContainerCtrl(this);\n break;\n case RowContainerName.RIGHT:\n this.ctrlsService.registerRightRowContainerCtrl(this);\n break;\n case RowContainerName.TOP_CENTER:\n this.ctrlsService.registerTopCenterRowContainerCtrl(this);\n break;\n case RowContainerName.TOP_LEFT:\n this.ctrlsService.registerTopLeftRowContainerCon(this);\n break;\n case RowContainerName.TOP_RIGHT:\n this.ctrlsService.registerTopRightRowContainerCtrl(this);\n break;\n case RowContainerName.STICKY_TOP_CENTER:\n this.ctrlsService.registerStickyTopCenterRowContainerCtrl(this);\n break;\n case RowContainerName.STICKY_TOP_LEFT:\n this.ctrlsService.registerStickyTopLeftRowContainerCon(this);\n break;\n case RowContainerName.STICKY_TOP_RIGHT:\n this.ctrlsService.registerStickyTopRightRowContainerCtrl(this);\n break;\n case RowContainerName.BOTTOM_CENTER:\n this.ctrlsService.registerBottomCenterRowContainerCtrl(this);\n break;\n case RowContainerName.BOTTOM_LEFT:\n this.ctrlsService.registerBottomLeftRowContainerCtrl(this);\n break;\n case RowContainerName.BOTTOM_RIGHT:\n this.ctrlsService.registerBottomRightRowContainerCtrl(this);\n break;\n }\n };\n RowContainerCtrl.prototype.forContainers = function (names, callback) {\n if (names.indexOf(this.name) >= 0) {\n callback();\n }\n };\n RowContainerCtrl.prototype.getContainerElement = function () {\n return this.eContainer;\n };\n RowContainerCtrl.prototype.getViewportSizeFeature = function () {\n return this.viewportSizeFeature;\n };\n RowContainerCtrl.prototype.setComp = function (view, eContainer, eViewport, eWrapper) {\n var _this = this;\n this.comp = view;\n this.eContainer = eContainer;\n this.eViewport = eViewport;\n this.eWrapper = eWrapper;\n this.createManagedBean(new RowContainerEventsFeature(this.eContainer));\n this.addPreventScrollWhileDragging();\n this.listenOnDomOrder();\n this.stopHScrollOnPinnedRows();\n var allTopNoFW = [RowContainerName.TOP_CENTER, RowContainerName.TOP_LEFT, RowContainerName.TOP_RIGHT];\n var allStickyTopNoFW = [RowContainerName.STICKY_TOP_CENTER, RowContainerName.STICKY_TOP_LEFT, RowContainerName.STICKY_TOP_RIGHT];\n var allBottomNoFW = [RowContainerName.BOTTOM_CENTER, RowContainerName.BOTTOM_LEFT, RowContainerName.BOTTOM_RIGHT];\n var allMiddleNoFW = [RowContainerName.CENTER, RowContainerName.LEFT, RowContainerName.RIGHT];\n var allNoFW = __spread$c(allTopNoFW, allBottomNoFW, allMiddleNoFW, allStickyTopNoFW);\n var allMiddle = [RowContainerName.CENTER, RowContainerName.LEFT, RowContainerName.RIGHT, RowContainerName.FULL_WIDTH];\n var allCenter = [RowContainerName.CENTER, RowContainerName.TOP_CENTER, RowContainerName.STICKY_TOP_CENTER, RowContainerName.BOTTOM_CENTER];\n var allLeft = [RowContainerName.LEFT, RowContainerName.BOTTOM_LEFT, RowContainerName.TOP_LEFT, RowContainerName.STICKY_TOP_LEFT];\n var allRight = [RowContainerName.RIGHT, RowContainerName.BOTTOM_RIGHT, RowContainerName.TOP_RIGHT, RowContainerName.STICKY_TOP_RIGHT];\n this.forContainers(allLeft, function () { return _this.createManagedBean(new SetPinnedLeftWidthFeature(_this.eContainer)); });\n this.forContainers(allRight, function () { return _this.createManagedBean(new SetPinnedRightWidthFeature(_this.eContainer)); });\n this.forContainers(allMiddle, function () { return _this.createManagedBean(new SetHeightFeature(_this.eContainer, _this.eWrapper)); });\n this.forContainers(allNoFW, function () { return _this.createManagedBean(new DragListenerFeature(_this.eContainer)); });\n this.forContainers(allCenter, function () { return _this.createManagedBean(new CenterWidthFeature(function (width) { return _this.comp.setContainerWidth(width + \"px\"); })); });\n this.addListeners();\n this.registerWithCtrlsService();\n };\n RowContainerCtrl.prototype.addListeners = function () {\n var _this = this;\n this.addManagedListener(this.eventService, Events.EVENT_SCROLL_VISIBILITY_CHANGED, function () { return _this.onScrollVisibilityChanged(); });\n this.addManagedListener(this.eventService, Events.EVENT_DISPLAYED_COLUMNS_CHANGED, function () { return _this.onDisplayedColumnsChanged(); });\n this.addManagedListener(this.eventService, Events.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED, function () { return _this.onDisplayedColumnsWidthChanged(); });\n this.addManagedListener(this.eventService, Events.EVENT_DISPLAYED_ROWS_CHANGED, function () { return _this.onDisplayedRowsChanged(); });\n this.onScrollVisibilityChanged();\n this.onDisplayedColumnsChanged();\n this.onDisplayedColumnsWidthChanged();\n this.onDisplayedRowsChanged();\n };\n RowContainerCtrl.prototype.listenOnDomOrder = function () {\n var _this = this;\n // sticky section must show rows in set order\n var allStickyContainers = [RowContainerName.STICKY_TOP_CENTER, RowContainerName.STICKY_TOP_LEFT, RowContainerName.STICKY_TOP_RIGHT, RowContainerName.STICKY_TOP_FULL_WIDTH];\n var isStickContainer = allStickyContainers.indexOf(this.name) >= 0;\n if (isStickContainer) {\n this.comp.setDomOrder(true);\n return;\n }\n var listener = function () { return _this.comp.setDomOrder(_this.gridOptionsWrapper.isEnsureDomOrder()); };\n this.addManagedListener(this.gridOptionsWrapper, GridOptionsWrapper.PROP_DOM_LAYOUT, listener);\n listener();\n };\n // when editing a pinned row, if the cell is half outside the scrollable area, the browser can\n // scroll the column into view. we do not want this, the pinned sections should never scroll.\n // so we listen to scrolls on these containers and reset the scroll if we find one.\n RowContainerCtrl.prototype.stopHScrollOnPinnedRows = function () {\n var _this = this;\n this.forContainers([RowContainerName.TOP_CENTER, RowContainerName.STICKY_TOP_CENTER, RowContainerName.BOTTOM_CENTER], function () {\n var resetScrollLeft = function () { return _this.eViewport.scrollLeft = 0; };\n _this.addManagedListener(_this.eViewport, 'scroll', resetScrollLeft);\n });\n };\n RowContainerCtrl.prototype.onDisplayedColumnsChanged = function () {\n var _this = this;\n this.forContainers([RowContainerName.CENTER], function () { return _this.onHorizontalViewportChanged(); });\n };\n RowContainerCtrl.prototype.onDisplayedColumnsWidthChanged = function () {\n var _this = this;\n this.forContainers([RowContainerName.CENTER], function () { return _this.onHorizontalViewportChanged(); });\n };\n RowContainerCtrl.prototype.onScrollVisibilityChanged = function () {\n if (this.name !== RowContainerName.CENTER) {\n return;\n }\n var visible = this.scrollVisibleService.isHorizontalScrollShowing();\n var scrollbarWidth = visible ? (this.gridOptionsWrapper.getScrollbarWidth() || 0) : 0;\n var height = scrollbarWidth == 0 ? '100%' : \"calc(100% + \" + scrollbarWidth + \"px)\";\n this.comp.setViewportHeight(height);\n };\n // this methods prevents the grid views from being scrolled while the dragService is being used\n // eg. the view should not scroll up and down while dragging rows using the rowDragComp.\n RowContainerCtrl.prototype.addPreventScrollWhileDragging = function () {\n var _this = this;\n var preventScroll = function (e) {\n if (_this.dragService.isDragging()) {\n if (e.cancelable) {\n e.preventDefault();\n }\n }\n };\n this.eContainer.addEventListener('touchmove', preventScroll, { passive: false });\n this.addDestroyFunc(function () { return _this.eContainer.removeEventListener('touchmove', preventScroll); });\n };\n // this gets called whenever a change in the viewport, so we can inform column controller it has to work\n // out the virtual columns again. gets called from following locations:\n // + ensureColVisible, scroll, init, layoutChanged, displayedColumnsChanged, API (doLayout)\n RowContainerCtrl.prototype.onHorizontalViewportChanged = function () {\n var scrollWidth = this.getCenterWidth();\n var scrollPosition = this.getCenterViewportScrollLeft();\n this.columnModel.setViewportPosition(scrollWidth, scrollPosition);\n };\n RowContainerCtrl.prototype.getCenterWidth = function () {\n return getInnerWidth(this.eViewport);\n };\n RowContainerCtrl.prototype.getCenterViewportScrollLeft = function () {\n // we defer to a util, as how you calculated scrollLeft when doing RTL depends on the browser\n return getScrollLeft(this.eViewport, this.enableRtl);\n };\n RowContainerCtrl.prototype.registerViewportResizeListener = function (listener) {\n var unsubscribeFromResize = this.resizeObserverService.observeResize(this.eViewport, listener);\n this.addDestroyFunc(function () { return unsubscribeFromResize(); });\n };\n RowContainerCtrl.prototype.isViewportVisible = function () {\n return isVisible(this.eViewport);\n };\n RowContainerCtrl.prototype.isViewportHScrollShowing = function () {\n return isHorizontalScrollShowing(this.eViewport);\n };\n RowContainerCtrl.prototype.getViewportScrollLeft = function () {\n return getScrollLeft(this.eViewport, this.enableRtl);\n };\n RowContainerCtrl.prototype.isHorizontalScrollShowing = function () {\n var isAlwaysShowHorizontalScroll = this.gridOptionsWrapper.isAlwaysShowHorizontalScroll();\n return isAlwaysShowHorizontalScroll || isHorizontalScrollShowing(this.eViewport);\n };\n RowContainerCtrl.prototype.getViewportElement = function () {\n return this.eViewport;\n };\n RowContainerCtrl.prototype.setContainerTranslateX = function (amount) {\n this.eContainer.style.transform = \"translateX(\" + amount + \"px)\";\n };\n RowContainerCtrl.prototype.getHScrollPosition = function () {\n var res = {\n left: this.eViewport.scrollLeft,\n right: this.eViewport.scrollLeft + this.eViewport.offsetWidth\n };\n return res;\n };\n RowContainerCtrl.prototype.setCenterViewportScrollLeft = function (value) {\n // we defer to a util, as how you calculated scrollLeft when doing RTL depends on the browser\n setScrollLeft(this.eViewport, value, this.enableRtl);\n };\n RowContainerCtrl.prototype.onDisplayedRowsChanged = function () {\n var _this = this;\n var fullWithContainer = this.name === RowContainerName.TOP_FULL_WIDTH\n || this.name === RowContainerName.STICKY_TOP_FULL_WIDTH\n || this.name === RowContainerName.BOTTOM_FULL_WIDTH\n || this.name === RowContainerName.FULL_WIDTH;\n var doesRowMatch = function (rowCtrl) {\n var fullWidthRow = rowCtrl.isFullWidth();\n var printLayout = _this.gridOptionsWrapper.getDomLayout() === Constants.DOM_LAYOUT_PRINT;\n var embedFW = _this.embedFullWidthRows || printLayout;\n var match = fullWithContainer ?\n !embedFW && fullWidthRow\n : embedFW || !fullWidthRow;\n return match;\n };\n // this list contains either all pinned top, center or pinned bottom rows\n var allRowsRegardlessOfFullWidth = this.getRowCtrls();\n // this filters out rows not for this container, eg if it's a full with row, but we are not full with container\n var rowsThisContainer = allRowsRegardlessOfFullWidth.filter(doesRowMatch);\n this.comp.setRowCtrls(rowsThisContainer);\n };\n RowContainerCtrl.prototype.getRowCtrls = function () {\n switch (this.name) {\n case RowContainerName.TOP_CENTER:\n case RowContainerName.TOP_LEFT:\n case RowContainerName.TOP_RIGHT:\n case RowContainerName.TOP_FULL_WIDTH:\n return this.rowRenderer.getTopRowCtrls();\n case RowContainerName.STICKY_TOP_CENTER:\n case RowContainerName.STICKY_TOP_LEFT:\n case RowContainerName.STICKY_TOP_RIGHT:\n case RowContainerName.STICKY_TOP_FULL_WIDTH:\n return this.rowRenderer.getStickyTopRowCtrls();\n case RowContainerName.BOTTOM_CENTER:\n case RowContainerName.BOTTOM_LEFT:\n case RowContainerName.BOTTOM_RIGHT:\n case RowContainerName.BOTTOM_FULL_WIDTH:\n return this.rowRenderer.getBottomRowCtrls();\n default:\n return this.rowRenderer.getRowCtrls();\n }\n };\n __decorate$1F([\n Autowired('scrollVisibleService')\n ], RowContainerCtrl.prototype, \"scrollVisibleService\", void 0);\n __decorate$1F([\n Autowired('dragService')\n ], RowContainerCtrl.prototype, \"dragService\", void 0);\n __decorate$1F([\n Autowired('ctrlsService')\n ], RowContainerCtrl.prototype, \"ctrlsService\", void 0);\n __decorate$1F([\n Autowired('columnModel')\n ], RowContainerCtrl.prototype, \"columnModel\", void 0);\n __decorate$1F([\n Autowired('resizeObserverService')\n ], RowContainerCtrl.prototype, \"resizeObserverService\", void 0);\n __decorate$1F([\n Autowired('rowRenderer')\n ], RowContainerCtrl.prototype, \"rowRenderer\", void 0);\n __decorate$1F([\n PostConstruct\n ], RowContainerCtrl.prototype, \"postConstruct\", null);\n return RowContainerCtrl;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$1L = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$1E = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar GRID_BODY_TEMPLATE = /* html */ \"
    \\n \\n
    \\n \\n \\n \\n \\n
    \\n
    \\n \\n \\n \\n \\n
    \\n
    \\n \\n \\n \\n \\n
    \\n
    \\n \\n \\n \\n \\n
    \\n \\n \\n
    \";\nvar GridBodyComp = /** @class */ (function (_super) {\n __extends$1L(GridBodyComp, _super);\n function GridBodyComp() {\n return _super.call(this, GRID_BODY_TEMPLATE) || this;\n }\n GridBodyComp.prototype.init = function () {\n var _this = this;\n var setHeight = function (height, element) {\n var heightString = height + \"px\";\n element.style.minHeight = heightString;\n element.style.height = heightString;\n };\n var compProxy = {\n setRowAnimationCssOnBodyViewport: function (cssClass, animate) { return _this.setRowAnimationCssOnBodyViewport(cssClass, animate); },\n setColumnCount: function (count) { return setAriaColCount(_this.getGui(), count); },\n setRowCount: function (count) { return setAriaRowCount(_this.getGui(), count); },\n setTopHeight: function (height) { return setHeight(height, _this.eTop); },\n setBottomHeight: function (height) { return setHeight(height, _this.eBottom); },\n setTopDisplay: function (display) { return _this.eTop.style.display = display; },\n setBottomDisplay: function (display) { return _this.eBottom.style.display = display; },\n setStickyTopHeight: function (height) { return _this.eStickyTop.style.height = height; },\n setStickyTopTop: function (top) { return _this.eStickyTop.style.top = top; },\n setStickyTopWidth: function (width) { return _this.eStickyTop.style.width = width; },\n setColumnMovingCss: function (cssClass, flag) { return _this.addOrRemoveCssClass(CSS_CLASS_COLUMN_MOVING, flag); },\n updateLayoutClasses: function (cssClass, params) {\n var bodyViewportClassList = _this.eBodyViewport.classList;\n bodyViewportClassList.toggle(LayoutCssClasses.AUTO_HEIGHT, params.autoHeight);\n bodyViewportClassList.toggle(LayoutCssClasses.NORMAL, params.normal);\n bodyViewportClassList.toggle(LayoutCssClasses.PRINT, params.print);\n _this.addOrRemoveCssClass(LayoutCssClasses.AUTO_HEIGHT, params.autoHeight);\n _this.addOrRemoveCssClass(LayoutCssClasses.NORMAL, params.normal);\n _this.addOrRemoveCssClass(LayoutCssClasses.PRINT, params.print);\n },\n setAlwaysVerticalScrollClass: function (cssClass, on) {\n return _this.eBodyViewport.classList.toggle(CSS_CLASS_FORCE_VERTICAL_SCROLL, on);\n },\n registerBodyViewportResizeListener: function (listener) {\n var unsubscribeFromResize = _this.resizeObserverService.observeResize(_this.eBodyViewport, listener);\n _this.addDestroyFunc(function () { return unsubscribeFromResize(); });\n },\n setPinnedTopBottomOverflowY: function (overflow) { return _this.eTop.style.overflowY = _this.eBottom.style.overflowY = overflow; },\n setCellSelectableCss: function (cssClass, selectable) {\n [_this.eTop, _this.eBodyViewport, _this.eBottom]\n .forEach(function (ct) { return ct.classList.toggle(CSS_CLASS_CELL_SELECTABLE, selectable); });\n },\n };\n this.ctrl = this.createManagedBean(new GridBodyCtrl());\n this.ctrl.setComp(compProxy, this.getGui(), this.eBodyViewport, this.eTop, this.eBottom, this.eStickyTop);\n if (this.rangeService || this.gridOptionsWrapper.isRowSelectionMulti()) {\n setAriaMultiSelectable(this.getGui(), true);\n }\n };\n GridBodyComp.prototype.setRowAnimationCssOnBodyViewport = function (cssClass, animateRows) {\n var bodyViewportClassList = this.eBodyViewport.classList;\n bodyViewportClassList.toggle(RowAnimationCssClasses.ANIMATION_ON, animateRows);\n bodyViewportClassList.toggle(RowAnimationCssClasses.ANIMATION_OFF, !animateRows);\n };\n GridBodyComp.prototype.getFloatingTopBottom = function () {\n return [this.eTop, this.eBottom];\n };\n __decorate$1E([\n Autowired('resizeObserverService')\n ], GridBodyComp.prototype, \"resizeObserverService\", void 0);\n __decorate$1E([\n Optional('rangeService')\n ], GridBodyComp.prototype, \"rangeService\", void 0);\n __decorate$1E([\n RefSelector('eBodyViewport')\n ], GridBodyComp.prototype, \"eBodyViewport\", void 0);\n __decorate$1E([\n RefSelector('eStickyTop')\n ], GridBodyComp.prototype, \"eStickyTop\", void 0);\n __decorate$1E([\n RefSelector('eTop')\n ], GridBodyComp.prototype, \"eTop\", void 0);\n __decorate$1E([\n RefSelector('eBottom')\n ], GridBodyComp.prototype, \"eBottom\", void 0);\n __decorate$1E([\n RefSelector('gridHeader')\n ], GridBodyComp.prototype, \"headerRootComp\", void 0);\n __decorate$1E([\n PostConstruct\n ], GridBodyComp.prototype, \"init\", null);\n return GridBodyComp;\n}(Component));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$1K = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$1D = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar ScrollVisibleService = /** @class */ (function (_super) {\n __extends$1K(ScrollVisibleService, _super);\n function ScrollVisibleService() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ScrollVisibleService.prototype.postConstruct = function () {\n this.addManagedListener(this.eventService, Events.EVENT_DISPLAYED_COLUMNS_CHANGED, this.onDisplayedColumnsChanged.bind(this));\n this.addManagedListener(this.eventService, Events.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED, this.onDisplayedColumnsWidthChanged.bind(this));\n };\n ScrollVisibleService.prototype.onDisplayedColumnsChanged = function () {\n this.update();\n };\n ScrollVisibleService.prototype.onDisplayedColumnsWidthChanged = function () {\n this.update();\n };\n ScrollVisibleService.prototype.update = function () {\n // because of column animation (which takes 200ms), we have to do this twice.\n // eg if user removes cols anywhere except at the RHS, then the cols on the RHS\n // will animate to the left to fill the gap. this animation means just after\n // the cols are removed, the remaining cols are still in the original location\n // at the start of the animation, so pre animation the H scrollbar is still needed,\n // but post animation it is not.\n this.updateImpl();\n setTimeout(this.updateImpl.bind(this), 500);\n };\n ScrollVisibleService.prototype.updateImpl = function () {\n var centerRowCtrl = this.ctrlsService.getCenterRowContainerCtrl();\n if (!centerRowCtrl) {\n return;\n }\n var params = {\n horizontalScrollShowing: centerRowCtrl.isHorizontalScrollShowing(),\n verticalScrollShowing: this.isVerticalScrollShowing()\n };\n this.setScrollsVisible(params);\n };\n ScrollVisibleService.prototype.setScrollsVisible = function (params) {\n var atLeastOneDifferent = this.horizontalScrollShowing !== params.horizontalScrollShowing ||\n this.verticalScrollShowing !== params.verticalScrollShowing;\n if (atLeastOneDifferent) {\n this.horizontalScrollShowing = params.horizontalScrollShowing;\n this.verticalScrollShowing = params.verticalScrollShowing;\n var event_1 = {\n type: Events.EVENT_SCROLL_VISIBILITY_CHANGED\n };\n this.eventService.dispatchEvent(event_1);\n }\n };\n // used by pagination service - to know page height\n ScrollVisibleService.prototype.isHorizontalScrollShowing = function () {\n return this.horizontalScrollShowing;\n };\n // used by header container\n ScrollVisibleService.prototype.isVerticalScrollShowing = function () {\n return this.verticalScrollShowing;\n };\n __decorate$1D([\n Autowired('ctrlsService')\n ], ScrollVisibleService.prototype, \"ctrlsService\", void 0);\n __decorate$1D([\n PostConstruct\n ], ScrollVisibleService.prototype, \"postConstruct\", null);\n ScrollVisibleService = __decorate$1D([\n Bean('scrollVisibleService')\n ], ScrollVisibleService);\n return ScrollVisibleService;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$1J = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$1C = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar MouseEventService = /** @class */ (function (_super) {\n __extends$1J(MouseEventService, _super);\n function MouseEventService() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.gridInstanceId = MouseEventService_1.gridInstanceSequence.next();\n return _this;\n }\n MouseEventService_1 = MouseEventService;\n // we put the instance id onto the main DOM element. this is used for events, when grids are inside grids,\n // so the grid can work out if the even came from this grid or a grid inside this one. see the ctrl+v logic\n // for where this is used.\n MouseEventService.prototype.stampTopLevelGridCompWithGridInstance = function (eGridDiv) {\n eGridDiv[MouseEventService_1.GRID_DOM_KEY] = this.gridInstanceId;\n };\n MouseEventService.prototype.getRenderedCellForEvent = function (event) {\n return getCtrlForEvent(this.gridOptionsWrapper, event, CellCtrl.DOM_DATA_KEY_CELL_CTRL);\n };\n // walks the path of the event, and returns true if this grid is the first one that it finds. if doing\n // master / detail grids, and a child grid is found, then it returns false. this stops things like copy/paste\n // getting executed on many grids at the same time.\n MouseEventService.prototype.isEventFromThisGrid = function (event) {\n var res = this.isElementInThisGrid(event.target);\n return res;\n };\n MouseEventService.prototype.isElementInThisGrid = function (element) {\n var pointer = element;\n while (pointer) {\n var instanceId = pointer[MouseEventService_1.GRID_DOM_KEY];\n if (exists(instanceId)) {\n var eventFromThisGrid = instanceId === this.gridInstanceId;\n return eventFromThisGrid;\n }\n pointer = pointer.parentElement;\n }\n return false;\n };\n MouseEventService.prototype.getCellPositionForEvent = function (event) {\n var cellComp = this.getRenderedCellForEvent(event);\n return cellComp ? cellComp.getCellPosition() : null;\n };\n MouseEventService.prototype.getNormalisedPosition = function (event) {\n var gridPanelHasScrolls = this.gridOptionsWrapper.getDomLayout() === Constants.DOM_LAYOUT_NORMAL;\n var e = event;\n var x;\n var y;\n if (e.clientX != null || e.clientY != null) {\n x = e.clientX;\n y = e.clientY;\n }\n else {\n x = e.x;\n y = e.y;\n }\n if (gridPanelHasScrolls) {\n var gridBodyCon = this.ctrlsService.getGridBodyCtrl();\n var vRange = gridBodyCon.getScrollFeature().getVScrollPosition();\n var hRange = gridBodyCon.getScrollFeature().getHScrollPosition();\n x += hRange.left;\n y += vRange.top;\n }\n return { x: x, y: y };\n };\n var MouseEventService_1;\n MouseEventService.gridInstanceSequence = new NumberSequence();\n MouseEventService.GRID_DOM_KEY = '__ag_grid_instance';\n __decorate$1C([\n Autowired('ctrlsService')\n ], MouseEventService.prototype, \"ctrlsService\", void 0);\n MouseEventService = MouseEventService_1 = __decorate$1C([\n Bean('mouseEventService')\n ], MouseEventService);\n return MouseEventService;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$1I = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign$4 = (undefined && undefined.__assign) || function () {\n __assign$4 = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign$4.apply(this, arguments);\n};\nvar __decorate$1B = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar NavigationService = /** @class */ (function (_super) {\n __extends$1I(NavigationService, _super);\n function NavigationService() {\n var _this = _super.call(this) || this;\n _this.onPageDown = throttle(_this.onPageDown, 100);\n _this.onPageUp = throttle(_this.onPageUp, 100);\n return _this;\n }\n NavigationService.prototype.postConstruct = function () {\n var _this = this;\n this.ctrlsService.whenReady(function (p) {\n _this.gridBodyCon = p.gridBodyCtrl;\n });\n };\n NavigationService.prototype.handlePageScrollingKey = function (event) {\n var key = event.key;\n var alt = event.altKey;\n var ctrl = event.ctrlKey || event.metaKey;\n var rangeServiceShouldHandleShift = !!this.rangeService && event.shiftKey;\n var currentCell = this.mouseEventService.getCellPositionForEvent(event);\n if (!currentCell) {\n return false;\n }\n var processed = false;\n switch (key) {\n case KeyCode.PAGE_HOME:\n case KeyCode.PAGE_END:\n // handle home and end when ctrl & alt are NOT pressed\n if (!ctrl && !alt) {\n this.onHomeOrEndKey(key);\n processed = true;\n }\n break;\n case KeyCode.LEFT:\n case KeyCode.RIGHT:\n case KeyCode.UP:\n case KeyCode.DOWN:\n // handle when ctrl is pressed only, if shift is pressed\n // it will be handled by the rangeService\n if (ctrl && !alt && !rangeServiceShouldHandleShift) {\n this.onCtrlUpDownLeftRight(key, currentCell);\n processed = true;\n }\n break;\n case KeyCode.PAGE_DOWN:\n // handle page up and page down when ctrl & alt are NOT pressed\n if (!ctrl && !alt) {\n this.onPageDown(currentCell);\n processed = true;\n }\n break;\n case KeyCode.PAGE_UP:\n // handle page up and page down when ctrl & alt are NOT pressed\n if (!ctrl && !alt) {\n this.onPageUp(currentCell);\n processed = true;\n }\n break;\n }\n if (processed) {\n event.preventDefault();\n }\n return processed;\n };\n NavigationService.prototype.navigateTo = function (navigateParams) {\n var scrollIndex = navigateParams.scrollIndex, scrollType = navigateParams.scrollType, scrollColumn = navigateParams.scrollColumn, focusIndex = navigateParams.focusIndex, focusColumn = navigateParams.focusColumn;\n if (exists(scrollColumn) && !scrollColumn.isPinned()) {\n this.gridBodyCon.getScrollFeature().ensureColumnVisible(scrollColumn);\n }\n if (exists(scrollIndex)) {\n this.gridBodyCon.getScrollFeature().ensureIndexVisible(scrollIndex, scrollType);\n }\n // setFocusedCell relies on the browser default focus behavior to scroll the focused cell into view,\n // however, this behavior will cause the cell border to be cut off, or if we have sticky rows, the\n // cell will be completely hidden, so we call ensureIndexVisible without a position to guarantee\n // minimal scroll to get the row into view.\n if (!navigateParams.isAsync) {\n this.gridBodyCon.getScrollFeature().ensureIndexVisible(focusIndex);\n }\n // if we don't do this, the range will be left on the last cell, which will leave the last focused cell\n // highlighted.\n this.focusService.setFocusedCell({ rowIndex: focusIndex, column: focusColumn, rowPinned: null, forceBrowserFocus: true });\n if (this.rangeService) {\n var cellPosition = { rowIndex: focusIndex, rowPinned: null, column: focusColumn };\n this.rangeService.setRangeToCell(cellPosition);\n }\n };\n NavigationService.prototype.onPageDown = function (gridCell) {\n var gridBodyCon = this.ctrlsService.getGridBodyCtrl();\n var scrollPosition = gridBodyCon.getScrollFeature().getVScrollPosition();\n var pixelsInOnePage = this.getViewportHeight();\n var pagingPixelOffset = this.paginationProxy.getPixelOffset();\n var currentPageBottomPixel = scrollPosition.top + pixelsInOnePage;\n var currentPageBottomRow = this.paginationProxy.getRowIndexAtPixel(currentPageBottomPixel + pagingPixelOffset);\n if (this.columnModel.isAutoRowHeightActive()) {\n this.navigateToNextPageWithAutoHeight(gridCell, currentPageBottomRow);\n }\n else {\n this.navigateToNextPage(gridCell, currentPageBottomRow);\n }\n };\n NavigationService.prototype.onPageUp = function (gridCell) {\n var gridBodyCon = this.ctrlsService.getGridBodyCtrl();\n var scrollPosition = gridBodyCon.getScrollFeature().getVScrollPosition();\n var pagingPixelOffset = this.paginationProxy.getPixelOffset();\n var currentPageTopPixel = scrollPosition.top;\n var currentPageTopRow = this.paginationProxy.getRowIndexAtPixel(currentPageTopPixel + pagingPixelOffset);\n if (this.columnModel.isAutoRowHeightActive()) {\n this.navigateToNextPageWithAutoHeight(gridCell, currentPageTopRow, true);\n }\n else {\n this.navigateToNextPage(gridCell, currentPageTopRow, true);\n }\n };\n NavigationService.prototype.navigateToNextPage = function (gridCell, scrollIndex, up) {\n if (up === void 0) { up = false; }\n var _a, _b;\n var pixelsInOnePage = this.getViewportHeight();\n var firstRow = this.paginationProxy.getPageFirstRow();\n var lastRow = this.paginationProxy.getPageLastRow();\n var pagingPixelOffset = this.paginationProxy.getPixelOffset();\n var currentRowNode = this.paginationProxy.getRow(gridCell.rowIndex);\n var rowPixelDiff = up\n ? (((_a = currentRowNode) === null || _a === void 0 ? void 0 : _a.rowHeight) - pixelsInOnePage - pagingPixelOffset)\n : (pixelsInOnePage - pagingPixelOffset);\n var nextCellPixel = ((_b = currentRowNode) === null || _b === void 0 ? void 0 : _b.rowTop) + rowPixelDiff;\n var focusIndex = this.paginationProxy.getRowIndexAtPixel(nextCellPixel + pagingPixelOffset);\n if (focusIndex === gridCell.rowIndex) {\n var diff = up ? -1 : 1;\n scrollIndex = focusIndex = gridCell.rowIndex + diff;\n }\n var scrollType;\n if (up) {\n scrollType = 'bottom';\n if (focusIndex < firstRow) {\n focusIndex = firstRow;\n }\n if (scrollIndex < firstRow) {\n scrollIndex = firstRow;\n }\n }\n else {\n scrollType = 'top';\n if (focusIndex > lastRow) {\n focusIndex = lastRow;\n }\n if (scrollIndex > lastRow) {\n scrollIndex = lastRow;\n }\n }\n if (this.isRowTallerThanView(focusIndex)) {\n scrollIndex = focusIndex;\n scrollType = 'top';\n }\n this.navigateTo({\n scrollIndex: scrollIndex,\n scrollType: scrollType,\n scrollColumn: null,\n focusIndex: focusIndex,\n focusColumn: gridCell.column\n });\n };\n NavigationService.prototype.navigateToNextPageWithAutoHeight = function (gridCell, scrollIndex, up) {\n var _this = this;\n if (up === void 0) { up = false; }\n // because autoHeight will calculate the height of rows after scroll\n // first we scroll towards the required point, then we add a small\n // delay to allow the height to be recalculated, check which index\n // should be focused and then finally navigate to that index.\n // TODO: we should probably have an event fired once to scrollbar has\n // settled and all rowHeights have been calculated instead of relying\n // on a setTimeout of 50ms.\n this.navigateTo({\n scrollIndex: scrollIndex,\n scrollType: up ? 'bottom' : 'top',\n scrollColumn: null,\n focusIndex: scrollIndex,\n focusColumn: gridCell.column\n });\n setTimeout(function () {\n var focusIndex = _this.getNextFocusIndexForAutoHeight(gridCell, up);\n _this.navigateTo({\n scrollIndex: scrollIndex,\n scrollType: up ? 'bottom' : 'top',\n scrollColumn: null,\n focusIndex: focusIndex,\n focusColumn: gridCell.column,\n isAsync: true\n });\n }, 50);\n };\n NavigationService.prototype.getNextFocusIndexForAutoHeight = function (gridCell, up) {\n if (up === void 0) { up = false; }\n var _a;\n var step = up ? -1 : 1;\n var pixelsInOnePage = this.getViewportHeight();\n var lastRowIndex = this.paginationProxy.getPageLastRow();\n var pixelSum = 0;\n var currentIndex = gridCell.rowIndex;\n while (currentIndex >= 0 && currentIndex <= lastRowIndex) {\n var currentCell = this.paginationProxy.getRow(currentIndex);\n if (currentCell) {\n var currentCellHeight = (_a = currentCell.rowHeight, (_a !== null && _a !== void 0 ? _a : 0));\n if (pixelSum + currentCellHeight > pixelsInOnePage) {\n break;\n }\n pixelSum += currentCellHeight;\n }\n currentIndex += step;\n }\n return Math.max(0, Math.min(currentIndex, lastRowIndex));\n };\n NavigationService.prototype.getViewportHeight = function () {\n var gridBodyCon = this.ctrlsService.getGridBodyCtrl();\n var scrollPosition = gridBodyCon.getScrollFeature().getVScrollPosition();\n var scrollbarWidth = this.gridOptionsWrapper.getScrollbarWidth();\n var pixelsInOnePage = scrollPosition.bottom - scrollPosition.top;\n if (this.ctrlsService.getCenterRowContainerCtrl().isHorizontalScrollShowing()) {\n pixelsInOnePage -= scrollbarWidth;\n }\n return pixelsInOnePage;\n };\n NavigationService.prototype.isRowTallerThanView = function (rowIndex) {\n var rowNode = this.paginationProxy.getRow(rowIndex);\n if (!rowNode) {\n return false;\n }\n var rowHeight = rowNode.rowHeight;\n if (typeof rowHeight !== 'number') {\n return false;\n }\n return rowHeight > this.getViewportHeight();\n };\n NavigationService.prototype.onCtrlUpDownLeftRight = function (key, gridCell) {\n var cellToFocus = this.cellNavigationService.getNextCellToFocus(key, gridCell, true);\n var rowIndex = cellToFocus.rowIndex, column = cellToFocus.column;\n this.navigateTo({\n scrollIndex: rowIndex,\n scrollType: null,\n scrollColumn: column,\n focusIndex: rowIndex,\n focusColumn: column\n });\n };\n // home brings focus to top left cell, end brings focus to bottom right, grid scrolled to bring\n // same cell into view (which means either scroll all the way up, or all the way down).\n NavigationService.prototype.onHomeOrEndKey = function (key) {\n var homeKey = key === KeyCode.PAGE_HOME;\n var allColumns = this.columnModel.getAllDisplayedColumns();\n var columnToSelect = homeKey ? allColumns[0] : last(allColumns);\n var scrollIndex = homeKey ? this.paginationProxy.getPageFirstRow() : this.paginationProxy.getPageLastRow();\n this.navigateTo({\n scrollIndex: scrollIndex,\n scrollType: null,\n scrollColumn: columnToSelect,\n focusIndex: scrollIndex,\n focusColumn: columnToSelect\n });\n };\n // result of keyboard event\n NavigationService.prototype.onTabKeyDown = function (previous, keyboardEvent) {\n var backwards = keyboardEvent.shiftKey;\n var movedToNextCell = this.tabToNextCellCommon(previous, backwards, keyboardEvent);\n if (movedToNextCell) {\n // only prevent default if we found a cell. so if user is on last cell and hits tab, then we default\n // to the normal tabbing so user can exit the grid.\n keyboardEvent.preventDefault();\n return;\n }\n // if we didn't move to next cell, then need to tab out of the cells, ie to the header (if going\n // backwards)\n if (backwards) {\n var _a = previous.getRowPosition(), rowIndex = _a.rowIndex, rowPinned = _a.rowPinned;\n var firstRow = rowPinned ? rowIndex === 0 : rowIndex === this.paginationProxy.getPageFirstRow();\n if (firstRow) {\n keyboardEvent.preventDefault();\n this.focusService.focusLastHeader(keyboardEvent);\n }\n }\n else {\n // if the case it's a popup editor, the focus is on the editor and not the previous cell.\n // in order for the tab navigation to work, we need to focus the browser back onto the\n // previous cell.\n if (previous instanceof CellCtrl) {\n previous.focusCell(true);\n }\n if (this.focusService.focusNextGridCoreContainer(backwards)) {\n keyboardEvent.preventDefault();\n }\n }\n };\n // comes from API\n NavigationService.prototype.tabToNextCell = function (backwards, event) {\n var focusedCell = this.focusService.getFocusedCell();\n // if no focus, then cannot navigate\n if (!focusedCell) {\n return false;\n }\n var cellOrRow = this.getCellByPosition(focusedCell);\n // if cell is not rendered, means user has scrolled away from the cell\n // or that the focusedCell is a Full Width Row\n if (!cellOrRow) {\n cellOrRow = this.rowRenderer.getRowByPosition(focusedCell);\n if (!cellOrRow || !cellOrRow.isFullWidth()) {\n return false;\n }\n }\n return this.tabToNextCellCommon(cellOrRow, backwards, event);\n };\n NavigationService.prototype.tabToNextCellCommon = function (previous, backwards, event) {\n var editing = previous.isEditing();\n // if cell is not editing, there is still chance row is editing if it's Full Row Editing\n if (!editing && previous instanceof CellCtrl) {\n var cell = previous;\n var row = cell.getRowCtrl();\n if (row) {\n editing = row.isEditing();\n }\n }\n var res;\n if (editing) {\n // if we are editing, we know it's not a Full Width Row (RowComp)\n if (this.gridOptionsWrapper.isFullRowEdit()) {\n res = this.moveToNextEditingRow(previous, backwards, event);\n }\n else {\n res = this.moveToNextEditingCell(previous, backwards, event);\n }\n }\n else {\n res = this.moveToNextCellNotEditing(previous, backwards);\n }\n // if a cell wasn't found, it's possible that focus was moved to the header\n return res || !!this.focusService.getFocusedHeader();\n };\n NavigationService.prototype.moveToNextEditingCell = function (previousCell, backwards, event) {\n if (event === void 0) { event = null; }\n var previousPos = previousCell.getCellPosition();\n // before we stop editing, we need to focus the cell element\n // so the grid doesn't detect that focus has left the grid\n previousCell.getGui().focus();\n // need to do this before getting next cell to edit, in case the next cell\n // has editable function (eg colDef.editable=func() ) and it depends on the\n // result of this cell, so need to save updates from the first edit, in case\n // the value is referenced in the function.\n previousCell.stopEditing();\n // find the next cell to start editing\n var nextCell = this.findNextCellToFocusOn(previousPos, backwards, true);\n if (nextCell == null) {\n return false;\n }\n // only prevent default if we found a cell. so if user is on last cell and hits tab, then we default\n // to the normal tabbing so user can exit the grid.\n nextCell.startEditing(null, null, true, event);\n nextCell.focusCell(false);\n return true;\n };\n NavigationService.prototype.moveToNextEditingRow = function (previousCell, backwards, event) {\n if (event === void 0) { event = null; }\n var previousPos = previousCell.getCellPosition();\n // find the next cell to start editing\n var nextCell = this.findNextCellToFocusOn(previousPos, backwards, true);\n if (nextCell == null) {\n return false;\n }\n var nextPos = nextCell.getCellPosition();\n var previousEditable = this.isCellEditable(previousPos);\n var nextEditable = this.isCellEditable(nextPos);\n var rowsMatch = nextPos && previousPos.rowIndex === nextPos.rowIndex && previousPos.rowPinned === nextPos.rowPinned;\n if (previousEditable) {\n previousCell.setFocusOutOnEditor();\n }\n if (!rowsMatch) {\n var pRow = previousCell.getRowCtrl();\n pRow.stopEditing();\n var nRow = nextCell.getRowCtrl();\n nRow.startRowEditing(undefined, undefined, undefined, event);\n }\n if (nextEditable) {\n nextCell.setFocusInOnEditor();\n nextCell.focusCell();\n }\n else {\n nextCell.focusCell(true);\n }\n return true;\n };\n NavigationService.prototype.moveToNextCellNotEditing = function (previousCell, backwards) {\n var displayedColumns = this.columnModel.getAllDisplayedColumns();\n var cellPos;\n if (previousCell instanceof RowCtrl) {\n cellPos = __assign$4(__assign$4({}, previousCell.getRowPosition()), { column: backwards ? displayedColumns[0] : last(displayedColumns) });\n }\n else {\n cellPos = previousCell.getCellPosition();\n }\n // find the next cell to start editing\n var nextCell = this.findNextCellToFocusOn(cellPos, backwards, false);\n // only prevent default if we found a cell. so if user is on last cell and hits tab, then we default\n // to the normal tabbing so user can exit the grid.\n if (nextCell instanceof CellCtrl) {\n nextCell.focusCell(true);\n }\n else if (nextCell) {\n return this.tryToFocusFullWidthRow(nextCell.getRowPosition(), backwards);\n }\n return exists(nextCell);\n };\n // called by the cell, when tab is pressed while editing.\n // @return: RenderedCell when navigation successful, otherwise null\n NavigationService.prototype.findNextCellToFocusOn = function (previousPosition, backwards, startEditing) {\n var nextPosition = previousPosition;\n while (true) {\n if (previousPosition !== nextPosition) {\n previousPosition = nextPosition;\n }\n if (!backwards) {\n nextPosition = this.getLastCellOfColSpan(nextPosition);\n }\n nextPosition = this.cellNavigationService.getNextTabbedCell(nextPosition, backwards);\n // allow user to override what cell to go to next\n var userFunc = this.gridOptionsWrapper.getTabToNextCellFunc();\n if (exists(userFunc)) {\n var params = {\n backwards: backwards,\n editing: startEditing,\n previousCellPosition: previousPosition,\n nextCellPosition: nextPosition ? nextPosition : null\n };\n var userCell = userFunc(params);\n if (exists(userCell)) {\n if (userCell.floating) {\n doOnce(function () { console.warn(\"AG Grid: tabToNextCellFunc return type should have attributes: rowIndex, rowPinned, column. However you had 'floating', maybe you meant 'rowPinned'?\"); }, 'no floating in userCell');\n userCell.rowPinned = userCell.floating;\n }\n nextPosition = {\n rowIndex: userCell.rowIndex,\n column: userCell.column,\n rowPinned: userCell.rowPinned\n };\n }\n else {\n nextPosition = null;\n }\n }\n // if no 'next cell', means we have got to last cell of grid, so nothing to move to,\n // so bottom right cell going forwards, or top left going backwards\n if (!nextPosition) {\n return null;\n }\n if (nextPosition.rowIndex < 0) {\n var headerLen = this.headerNavigationService.getHeaderRowCount();\n this.focusService.focusHeaderPosition({\n headerPosition: {\n headerRowIndex: headerLen + (nextPosition.rowIndex),\n column: nextPosition.column\n }\n });\n return null;\n }\n // if editing, but cell not editable, skip cell. we do this before we do all of\n // the 'ensure index visible' and 'flush all frames', otherwise if we are skipping\n // a bunch of cells (eg 10 rows) then all the work on ensuring cell visible is useless\n // (except for the last one) which causes grid to stall for a while.\n // note - for full row edit, we do focus non-editable cells, as the row stays in edit mode.\n var fullRowEdit = this.gridOptionsWrapper.isFullRowEdit();\n if (startEditing && !fullRowEdit) {\n var cellIsEditable = this.isCellEditable(nextPosition);\n if (!cellIsEditable) {\n continue;\n }\n }\n this.ensureCellVisible(nextPosition);\n // we have to call this after ensureColumnVisible - otherwise it could be a virtual column\n // or row that is not currently in view, hence the renderedCell would not exist\n var nextCell = this.getCellByPosition(nextPosition);\n // if next cell is fullWidth row, then no rendered cell,\n // as fullWidth rows have no cells, so we skip it\n if (!nextCell) {\n var row = this.rowRenderer.getRowByPosition(nextPosition);\n if (!row || !row.isFullWidth()) {\n continue;\n }\n else {\n return row;\n }\n }\n if (nextCell.isSuppressNavigable()) {\n continue;\n }\n // by default, when we click a cell, it gets selected into a range, so to keep keyboard navigation\n // consistent, we set into range here also.\n if (this.rangeService) {\n this.rangeService.setRangeToCell(nextPosition);\n }\n // we successfully tabbed onto a grid cell, so return true\n return nextCell;\n }\n };\n NavigationService.prototype.isCellEditable = function (cell) {\n var rowNode = this.lookupRowNodeForCell(cell);\n if (rowNode) {\n return cell.column.isCellEditable(rowNode);\n }\n return false;\n };\n NavigationService.prototype.getCellByPosition = function (cellPosition) {\n var rowCtrl = this.rowRenderer.getRowByPosition(cellPosition);\n if (!rowCtrl) {\n return null;\n }\n return rowCtrl.getCellCtrl(cellPosition.column);\n };\n NavigationService.prototype.lookupRowNodeForCell = function (cell) {\n if (cell.rowPinned === Constants.PINNED_TOP) {\n return this.pinnedRowModel.getPinnedTopRow(cell.rowIndex);\n }\n if (cell.rowPinned === Constants.PINNED_BOTTOM) {\n return this.pinnedRowModel.getPinnedBottomRow(cell.rowIndex);\n }\n return this.paginationProxy.getRow(cell.rowIndex);\n };\n // we use index for rows, but column object for columns, as the next column (by index) might not\n // be visible (header grouping) so it's not reliable, so using the column object instead.\n NavigationService.prototype.navigateToNextCell = function (event, key, currentCell, allowUserOverride) {\n // we keep searching for a next cell until we find one. this is how the group rows get skipped\n var nextCell = currentCell;\n var hitEdgeOfGrid = false;\n while (nextCell && (nextCell === currentCell || !this.isValidNavigateCell(nextCell))) {\n // if the current cell is spanning across multiple columns, we need to move\n // our current position to be the last cell on the right before finding the\n // the next target.\n if (this.gridOptionsWrapper.isEnableRtl()) {\n if (key === KeyCode.LEFT) {\n nextCell = this.getLastCellOfColSpan(nextCell);\n }\n }\n else if (key === KeyCode.RIGHT) {\n nextCell = this.getLastCellOfColSpan(nextCell);\n }\n nextCell = this.cellNavigationService.getNextCellToFocus(key, nextCell);\n // eg if going down, and nextCell=undefined, means we are gone past the last row\n hitEdgeOfGrid = missing(nextCell);\n }\n if (hitEdgeOfGrid && event && event.key === KeyCode.UP) {\n nextCell = {\n rowIndex: -1,\n rowPinned: null,\n column: currentCell.column\n };\n }\n // allow user to override what cell to go to next. when doing normal cell navigation (with keys)\n // we allow this, however if processing 'enter after edit' we don't allow override\n if (allowUserOverride) {\n var userFunc = this.gridOptionsWrapper.getNavigateToNextCellFunc();\n if (exists(userFunc)) {\n var params = {\n key: key,\n previousCellPosition: currentCell,\n nextCellPosition: nextCell ? nextCell : null,\n event: event\n };\n var userCell = userFunc(params);\n if (exists(userCell)) {\n if (userCell.floating) {\n doOnce(function () { console.warn(\"AG Grid: tabToNextCellFunc return type should have attributes: rowIndex, rowPinned, column. However you had 'floating', maybe you meant 'rowPinned'?\"); }, 'no floating in userCell');\n userCell.rowPinned = userCell.floating;\n }\n nextCell = {\n rowPinned: userCell.rowPinned,\n rowIndex: userCell.rowIndex,\n column: userCell.column\n };\n }\n else {\n nextCell = null;\n }\n }\n }\n // no next cell means we have reached a grid boundary, eg left, right, top or bottom of grid\n if (!nextCell) {\n return;\n }\n if (nextCell.rowIndex < 0) {\n var headerLen = this.headerNavigationService.getHeaderRowCount();\n this.focusService.focusHeaderPosition({\n headerPosition: { headerRowIndex: headerLen + (nextCell.rowIndex), column: currentCell.column },\n event: event || undefined\n });\n return;\n }\n // in case we have col spanning we get the cellComp and use it to get the\n // position. This was we always focus the first cell inside the spanning.\n var normalisedPosition = this.getNormalisedPosition(nextCell);\n if (normalisedPosition) {\n this.focusPosition(normalisedPosition);\n }\n else {\n this.tryToFocusFullWidthRow(nextCell);\n }\n };\n NavigationService.prototype.getNormalisedPosition = function (cellPosition) {\n // ensureCellVisible first, to make sure cell at position is rendered.\n this.ensureCellVisible(cellPosition);\n var cellCtrl = this.getCellByPosition(cellPosition);\n // not guaranteed to have a cellComp when using the SSRM as blocks are loading.\n if (!cellCtrl) {\n return null;\n }\n cellPosition = cellCtrl.getCellPosition();\n // we call this again, as nextCell can be different to it's previous value due to Column Spanning\n // (ie if cursor moving from right to left, and cell is spanning columns, then nextCell was the\n // last column in the group, however now it's the first column in the group). if we didn't do\n // ensureCellVisible again, then we could only be showing the last portion (last column) of the\n // merged cells.\n this.ensureCellVisible(cellPosition);\n return cellPosition;\n };\n NavigationService.prototype.tryToFocusFullWidthRow = function (position, backwards) {\n if (backwards === void 0) { backwards = false; }\n var displayedColumns = this.columnModel.getAllDisplayedColumns();\n var rowComp = this.rowRenderer.getRowByPosition(position);\n if (!rowComp || !rowComp.isFullWidth()) {\n return false;\n }\n var currentCellFocused = this.focusService.getFocusedCell();\n var cellPosition = {\n rowIndex: position.rowIndex,\n rowPinned: position.rowPinned,\n column: position.column || (backwards ? last(displayedColumns) : displayedColumns[0])\n };\n this.focusPosition(cellPosition);\n var fromBelow = currentCellFocused != null ? this.rowPositionUtils.before(cellPosition, currentCellFocused) : false;\n var focusEvent = {\n type: Events.EVENT_FULL_WIDTH_ROW_FOCUSED,\n rowIndex: cellPosition.rowIndex,\n rowPinned: cellPosition.rowPinned,\n column: cellPosition.column,\n isFullWidthCell: true,\n floating: cellPosition.rowPinned,\n fromBelow: fromBelow\n };\n this.eventService.dispatchEvent(focusEvent);\n return true;\n };\n NavigationService.prototype.focusPosition = function (cellPosition) {\n this.focusService.setFocusedCell({\n rowIndex: cellPosition.rowIndex,\n column: cellPosition.column,\n rowPinned: cellPosition.rowPinned,\n forceBrowserFocus: true\n });\n if (this.rangeService) {\n this.rangeService.setRangeToCell(cellPosition);\n }\n };\n NavigationService.prototype.isValidNavigateCell = function (cell) {\n var rowNode = this.rowPositionUtils.getRowNode(cell);\n // we do not allow focusing on detail rows and full width rows\n return !!rowNode;\n };\n NavigationService.prototype.getLastCellOfColSpan = function (cell) {\n var cellCtrl = this.getCellByPosition(cell);\n if (!cellCtrl) {\n return cell;\n }\n var colSpanningList = cellCtrl.getColSpanningList();\n if (colSpanningList.length === 1) {\n return cell;\n }\n return {\n rowIndex: cell.rowIndex,\n column: last(colSpanningList),\n rowPinned: cell.rowPinned\n };\n };\n NavigationService.prototype.ensureCellVisible = function (gridCell) {\n var _a;\n var isGroupStickyEnabled = this.gridOptionsWrapper.isGroupRowsSticky();\n var rowNode = this.rowModel.getRow(gridCell.rowIndex);\n // sticky rows are always visible, so the grid shouldn't scroll to focus them.\n var skipScrollToRow = isGroupStickyEnabled && ((_a = rowNode) === null || _a === void 0 ? void 0 : _a.sticky);\n // this scrolls the row into view\n if (!skipScrollToRow && missing(gridCell.rowPinned)) {\n this.gridBodyCon.getScrollFeature().ensureIndexVisible(gridCell.rowIndex);\n }\n if (!gridCell.column.isPinned()) {\n this.gridBodyCon.getScrollFeature().ensureColumnVisible(gridCell.column);\n }\n };\n __decorate$1B([\n Autowired('mouseEventService')\n ], NavigationService.prototype, \"mouseEventService\", void 0);\n __decorate$1B([\n Autowired('paginationProxy')\n ], NavigationService.prototype, \"paginationProxy\", void 0);\n __decorate$1B([\n Autowired('focusService')\n ], NavigationService.prototype, \"focusService\", void 0);\n __decorate$1B([\n Optional('rangeService')\n ], NavigationService.prototype, \"rangeService\", void 0);\n __decorate$1B([\n Autowired('columnModel')\n ], NavigationService.prototype, \"columnModel\", void 0);\n __decorate$1B([\n Autowired('rowModel')\n ], NavigationService.prototype, \"rowModel\", void 0);\n __decorate$1B([\n Autowired('ctrlsService')\n ], NavigationService.prototype, \"ctrlsService\", void 0);\n __decorate$1B([\n Autowired('rowRenderer')\n ], NavigationService.prototype, \"rowRenderer\", void 0);\n __decorate$1B([\n Autowired('headerNavigationService')\n ], NavigationService.prototype, \"headerNavigationService\", void 0);\n __decorate$1B([\n Autowired(\"rowPositionUtils\")\n ], NavigationService.prototype, \"rowPositionUtils\", void 0);\n __decorate$1B([\n Autowired(\"cellNavigationService\")\n ], NavigationService.prototype, \"cellNavigationService\", void 0);\n __decorate$1B([\n Autowired(\"pinnedRowModel\")\n ], NavigationService.prototype, \"pinnedRowModel\", void 0);\n __decorate$1B([\n PostConstruct\n ], NavigationService.prototype, \"postConstruct\", null);\n NavigationService = __decorate$1B([\n Bean('navigationService')\n ], NavigationService);\n return NavigationService;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$1H = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$1A = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar PopupEditorWrapper = /** @class */ (function (_super) {\n __extends$1H(PopupEditorWrapper, _super);\n function PopupEditorWrapper(params) {\n var _this = _super.call(this, /* html */ \"
    \") || this;\n _this.params = params;\n return _this;\n }\n PopupEditorWrapper.prototype.postConstruct = function () {\n this.gridOptionsWrapper.setDomData(this.getGui(), PopupEditorWrapper.DOM_KEY_POPUP_EDITOR_WRAPPER, true);\n this.addKeyDownListener();\n };\n PopupEditorWrapper.prototype.addKeyDownListener = function () {\n var _this = this;\n var eGui = this.getGui();\n var params = this.params;\n var listener = function (event) {\n if (!isUserSuppressingKeyboardEvent(_this.gridOptionsWrapper, event, params.node, params.column, true)) {\n params.onKeyDown(event);\n }\n };\n this.addManagedListener(eGui, 'keydown', listener);\n };\n PopupEditorWrapper.DOM_KEY_POPUP_EDITOR_WRAPPER = 'popupEditorWrapper';\n __decorate$1A([\n PostConstruct\n ], PopupEditorWrapper.prototype, \"postConstruct\", null);\n return PopupEditorWrapper;\n}(PopupComponent));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$1G = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar CellComp = /** @class */ (function (_super) {\n __extends$1G(CellComp, _super);\n function CellComp(beans, cellCtrl, printLayout, eRow, editingRow) {\n var _this = _super.call(this) || this;\n // every time we go into edit mode, or back again, this gets incremented.\n // it's the components way of dealing with the async nature of framework components,\n // so if a framework component takes a while to be created, we know if the object\n // is still relevant when creating is finished. eg we could click edit / un-edit 20\n // times before the first React edit component comes back - we should discard\n // the first 19.\n _this.rendererVersion = 0;\n _this.editorVersion = 0;\n _this.beans = beans;\n _this.column = cellCtrl.getColumn();\n _this.rowNode = cellCtrl.getRowNode();\n _this.rowCtrl = cellCtrl.getRowCtrl();\n _this.eRow = eRow;\n _this.setTemplate(/* html */ \"
    \");\n var eGui = _this.getGui();\n _this.forceWrapper = cellCtrl.isForceWrapper();\n _this.refreshWrapper(false);\n var setAttribute = function (name, value, element) {\n var actualElement = element ? element : eGui;\n if (value != null && value != '') {\n actualElement.setAttribute(name, value);\n }\n else {\n actualElement.removeAttribute(name);\n }\n };\n var compProxy = {\n addOrRemoveCssClass: function (cssClassName, on) { return _this.addOrRemoveCssClass(cssClassName, on); },\n setUserStyles: function (styles) { return addStylesToElement(eGui, styles); },\n getFocusableElement: function () { return _this.getFocusableElement(); },\n setTabIndex: function (tabIndex) { return setAttribute('tabindex', tabIndex.toString()); },\n setRole: function (role) { return setAriaRole(eGui, role); },\n setColId: function (colId) { return setAttribute('col-id', colId); },\n setTitle: function (title) { return setAttribute('title', title); },\n setIncludeSelection: function (include) { return _this.includeSelection = include; },\n setIncludeRowDrag: function (include) { return _this.includeRowDrag = include; },\n setIncludeDndSource: function (include) { return _this.includeDndSource = include; },\n setRenderDetails: function (compDetails, valueToDisplay, force) {\n return _this.setRenderDetails(compDetails, valueToDisplay, force);\n },\n setEditDetails: function (compDetails, popup, position) {\n return _this.setEditDetails(compDetails, popup, position);\n },\n getCellEditor: function () { return _this.cellEditor || null; },\n getCellRenderer: function () { return _this.cellRenderer || null; },\n getParentOfValue: function () { return _this.getParentOfValue(); }\n };\n _this.cellCtrl = cellCtrl;\n cellCtrl.setComp(compProxy, _this.getGui(), _this.eCellWrapper, printLayout, editingRow);\n return _this;\n }\n CellComp.prototype.getParentOfValue = function () {\n if (this.eCellValue) {\n // if not editing, and using wrapper, then value goes in eCellValue\n return this.eCellValue;\n }\n if (this.eCellWrapper) {\n // if editing, and using wrapper, value (cell editor) goes in eCellWrapper\n return this.eCellWrapper;\n }\n // if editing or rendering, and not using wrapper, value (or comp) is directly inside cell\n return this.getGui();\n };\n CellComp.prototype.setRenderDetails = function (compDetails, valueToDisplay, forceNewCellRendererInstance) {\n // this can happen if the users asks for the cell to refresh, but we are not showing the vale as we are editing\n var isInlineEditing = this.cellEditor && !this.cellEditorPopupWrapper;\n if (isInlineEditing) {\n return;\n }\n // this means firstRender will be true for one pass only, as it's initialised to undefined\n this.firstRender = this.firstRender == null;\n // if display template has changed, means any previous Cell Renderer is in the wrong location\n var controlWrapperChanged = this.refreshWrapper(false);\n // all of these have dependencies on the eGui, so only do them after eGui is set\n if (compDetails) {\n var neverRefresh = forceNewCellRendererInstance || controlWrapperChanged;\n var cellRendererRefreshSuccessful = neverRefresh ? false : this.refreshCellRenderer(compDetails);\n if (!cellRendererRefreshSuccessful) {\n this.destroyRenderer();\n this.createCellRendererInstance(compDetails);\n }\n }\n else {\n this.destroyRenderer();\n this.insertValueWithoutCellRenderer(valueToDisplay);\n }\n };\n CellComp.prototype.setEditDetails = function (compDetails, popup, position) {\n if (compDetails) {\n this.createCellEditorInstance(compDetails, popup, position);\n }\n else {\n this.destroyEditor();\n }\n };\n CellComp.prototype.removeControls = function () {\n this.checkboxSelectionComp = this.beans.context.destroyBean(this.checkboxSelectionComp);\n this.dndSourceComp = this.beans.context.destroyBean(this.dndSourceComp);\n this.rowDraggingComp = this.beans.context.destroyBean(this.rowDraggingComp);\n };\n // returns true if wrapper was changed\n CellComp.prototype.refreshWrapper = function (editing) {\n var providingControls = this.includeRowDrag || this.includeDndSource || this.includeSelection;\n var usingWrapper = providingControls || this.forceWrapper;\n var putWrapperIn = usingWrapper && this.eCellWrapper == null;\n if (putWrapperIn) {\n this.eCellWrapper = loadTemplate(\"
    \");\n this.getGui().appendChild(this.eCellWrapper);\n }\n var takeWrapperOut = !usingWrapper && this.eCellWrapper != null;\n if (takeWrapperOut) {\n removeFromParent(this.eCellWrapper);\n this.eCellWrapper = undefined;\n }\n this.addOrRemoveCssClass('ag-cell-value', !usingWrapper);\n var usingCellValue = !editing && usingWrapper;\n var putCellValueIn = usingCellValue && this.eCellValue == null;\n if (putCellValueIn) {\n this.eCellValue = loadTemplate(\"\");\n this.eCellWrapper.appendChild(this.eCellValue);\n }\n var takeCellValueOut = !usingCellValue && this.eCellValue != null;\n if (takeCellValueOut) {\n removeFromParent(this.eCellValue);\n this.eCellValue = undefined;\n }\n var templateChanged = putWrapperIn || takeWrapperOut || putCellValueIn || takeCellValueOut;\n if (templateChanged) {\n this.removeControls();\n }\n if (!editing && providingControls) {\n this.addControls();\n }\n return templateChanged;\n };\n CellComp.prototype.addControls = function () {\n var id = this.eCellValue.id = \"cell-\" + this.getCompId();\n var describedByIds = [];\n setAriaHidden(this.eCellWrapper, true);\n if (this.includeRowDrag) {\n if (this.rowDraggingComp == null) {\n this.rowDraggingComp = this.cellCtrl.createRowDragComp();\n if (this.rowDraggingComp) {\n // put the checkbox in before the value\n this.eCellWrapper.insertBefore(this.rowDraggingComp.getGui(), this.eCellValue);\n }\n }\n }\n if (this.includeDndSource) {\n if (this.dndSourceComp == null) {\n this.dndSourceComp = this.cellCtrl.createDndSource();\n // put the checkbox in before the value\n this.eCellWrapper.insertBefore(this.dndSourceComp.getGui(), this.eCellValue);\n }\n }\n if (this.includeSelection) {\n if (this.checkboxSelectionComp == null) {\n this.checkboxSelectionComp = this.cellCtrl.createSelectionCheckbox();\n this.eCellWrapper.insertBefore(this.checkboxSelectionComp.getGui(), this.eCellValue);\n }\n describedByIds.push(this.checkboxSelectionComp.getCheckboxId());\n }\n describedByIds.push(id);\n setAriaDescribedBy(this.getGui(), describedByIds.join(' '));\n };\n CellComp.prototype.createCellEditorInstance = function (compDetails, popup, position) {\n var _this = this;\n var versionCopy = this.editorVersion;\n var cellEditorPromise = compDetails.newAgStackInstance();\n if (!cellEditorPromise) {\n return;\n } // if empty, userComponentFactory already did a console message\n var params = compDetails.params;\n cellEditorPromise.then(function (c) { return _this.afterCellEditorCreated(versionCopy, c, params, popup, position); });\n // if we don't do this, and editor component is async, then there will be a period\n // when the component isn't present and keyboard navigation won't work - so example\n // of user hitting tab quickly (more quickly than renderers getting created) won't work\n var cellEditorAsync = missing(this.cellEditor);\n if (cellEditorAsync && params.cellStartedEdit) {\n this.cellCtrl.focusCell(true);\n }\n };\n CellComp.prototype.insertValueWithoutCellRenderer = function (valueToDisplay) {\n var eParent = this.getParentOfValue();\n clearElement(eParent);\n var escapedValue = valueToDisplay != null ? escapeString(valueToDisplay) : null;\n if (escapedValue != null) {\n eParent.innerHTML = escapedValue;\n }\n };\n CellComp.prototype.destroyEditorAndRenderer = function () {\n this.destroyRenderer();\n this.destroyEditor();\n };\n CellComp.prototype.destroyRenderer = function () {\n var context = this.beans.context;\n this.cellRenderer = context.destroyBean(this.cellRenderer);\n removeFromParent(this.cellRendererGui);\n this.cellRendererGui = null;\n this.rendererVersion++;\n };\n CellComp.prototype.destroyEditor = function () {\n var context = this.beans.context;\n if (this.hideEditorPopup) {\n this.hideEditorPopup();\n }\n this.hideEditorPopup = undefined;\n this.cellEditor = context.destroyBean(this.cellEditor);\n this.cellEditorPopupWrapper = context.destroyBean(this.cellEditorPopupWrapper);\n removeFromParent(this.cellEditorGui);\n this.cellEditorGui = null;\n this.editorVersion++;\n };\n CellComp.prototype.refreshCellRenderer = function (compClassAndParams) {\n if (this.cellRenderer == null || this.cellRenderer.refresh == null) {\n return false;\n }\n // if different Cell Renderer configured this time (eg user is using selector, and\n // returns different component) then don't refresh, force recreate of Cell Renderer\n if (this.cellRendererClass !== compClassAndParams.componentClass) {\n return false;\n }\n // take any custom params off of the user\n var result = this.cellRenderer.refresh(compClassAndParams.params);\n // NOTE on undefined: previous version of the cellRenderer.refresh() interface\n // returned nothing, if the method existed, we assumed it refreshed. so for\n // backwards compatibility, we assume if method exists and returns nothing,\n // that it was successful.\n return result === true || result === undefined;\n };\n CellComp.prototype.createCellRendererInstance = function (compDetails) {\n var _this = this;\n // never use task service if angularCompileRows=true, as that assume the cell renderers\n // are finished when the row is created. also we never use it if animation frame service\n // is turned off.\n // and lastly we never use it if doing auto-height, as the auto-height service checks the\n // row height directly after the cell is created, it doesn't wait around for the tasks to complete\n var angularCompileRows = this.beans.gridOptionsWrapper.isAngularCompileRows();\n var suppressAnimationFrame = this.beans.gridOptionsWrapper.isSuppressAnimationFrame();\n var useTaskService = !angularCompileRows && !suppressAnimationFrame;\n var displayComponentVersionCopy = this.rendererVersion;\n var componentClass = compDetails.componentClass;\n var createCellRendererFunc = function () {\n var staleTask = _this.rendererVersion !== displayComponentVersionCopy || !_this.isAlive();\n if (staleTask) {\n return;\n }\n // this can return null in the event that the user has switched from a renderer component to nothing, for example\n // when using a cellRendererSelect to return a component or null depending on row data etc\n var componentPromise = compDetails.newAgStackInstance();\n var callback = _this.afterCellRendererCreated.bind(_this, displayComponentVersionCopy, componentClass);\n if (componentPromise) {\n componentPromise.then(callback);\n }\n };\n // we only use task service when rendering for first time, which means it is not used when doing edits.\n // if we changed this (always use task service) would make sense, however it would break tests, possibly\n // test of users.\n if (useTaskService && this.firstRender) {\n this.beans.animationFrameService.createTask(createCellRendererFunc, this.rowNode.rowIndex, 'createTasksP2');\n }\n else {\n createCellRendererFunc();\n }\n };\n CellComp.prototype.getCtrl = function () {\n return this.cellCtrl;\n };\n CellComp.prototype.getRowCtrl = function () {\n return this.rowCtrl;\n };\n CellComp.prototype.getCellRenderer = function () {\n return this.cellRenderer;\n };\n CellComp.prototype.getCellEditor = function () {\n return this.cellEditor;\n };\n CellComp.prototype.afterCellRendererCreated = function (cellRendererVersion, cellRendererClass, cellRenderer) {\n var staleTask = !this.isAlive() || cellRendererVersion !== this.rendererVersion;\n if (staleTask) {\n this.beans.context.destroyBean(cellRenderer);\n return;\n }\n this.cellRenderer = cellRenderer;\n this.cellRendererClass = cellRendererClass;\n this.cellRendererGui = this.cellRenderer.getGui();\n if (this.cellRendererGui != null) {\n var eParent = this.getParentOfValue();\n clearElement(eParent);\n eParent.appendChild(this.cellRendererGui);\n }\n };\n CellComp.prototype.afterCellEditorCreated = function (requestVersion, cellEditor, params, popup, position) {\n // if editingCell=false, means user cancelled the editor before component was ready.\n // if versionMismatch, then user cancelled the edit, then started the edit again, and this\n // is the first editor which is now stale.\n var staleComp = requestVersion !== this.editorVersion;\n if (staleComp) {\n this.beans.context.destroyBean(cellEditor);\n return;\n }\n var editingCancelledByUserComp = cellEditor.isCancelBeforeStart && cellEditor.isCancelBeforeStart();\n if (editingCancelledByUserComp) {\n this.beans.context.destroyBean(cellEditor);\n this.cellCtrl.stopEditing();\n return;\n }\n if (!cellEditor.getGui) {\n console.warn(\"AG Grid: cellEditor for column \" + this.column.getId() + \" is missing getGui() method\");\n this.beans.context.destroyBean(cellEditor);\n return;\n }\n this.cellEditor = cellEditor;\n this.cellEditorGui = cellEditor.getGui();\n var cellEditorInPopup = popup || (cellEditor.isPopup !== undefined && cellEditor.isPopup());\n if (cellEditorInPopup) {\n if (!popup) {\n this.cellCtrl.hackSayEditingInPopup();\n }\n this.addPopupCellEditor(params, position);\n }\n else {\n this.addInCellEditor();\n }\n if (cellEditor.afterGuiAttached) {\n cellEditor.afterGuiAttached();\n }\n };\n CellComp.prototype.addInCellEditor = function () {\n var eGui = this.getGui();\n // if focus is inside the cell, we move focus to the cell itself\n // before removing it's contents, otherwise errors could be thrown.\n var eDocument = this.beans.gridOptionsWrapper.getDocument();\n if (eGui.contains(eDocument.activeElement)) {\n eGui.focus();\n }\n this.destroyRenderer();\n this.refreshWrapper(true);\n this.clearParentOfValue();\n if (this.cellEditorGui) {\n var eParent = this.getParentOfValue();\n eParent.appendChild(this.cellEditorGui);\n }\n };\n CellComp.prototype.addPopupCellEditor = function (params, position) {\n var _this = this;\n if (this.beans.gridOptionsWrapper.isFullRowEdit()) {\n console.warn('AG Grid: popup cellEditor does not work with fullRowEdit - you cannot use them both ' +\n '- either turn off fullRowEdit, or stop using popup editors.');\n }\n var cellEditor = this.cellEditor;\n // if a popup, then we wrap in a popup editor and return the popup\n this.cellEditorPopupWrapper = this.beans.context.createBean(new PopupEditorWrapper(params));\n var ePopupGui = this.cellEditorPopupWrapper.getGui();\n if (this.cellEditorGui) {\n ePopupGui.appendChild(this.cellEditorGui);\n }\n var popupService = this.beans.popupService;\n var useModelPopup = this.beans.gridOptionsWrapper.isStopEditingWhenCellsLoseFocus();\n // see if position provided by colDef, if not then check old way of method on cellComp\n var positionToUse = position != null ? position : cellEditor.getPopupPosition ? cellEditor.getPopupPosition() : 'over';\n var positionParams = {\n column: this.column,\n rowNode: this.rowNode,\n type: 'popupCellEditor',\n eventSource: this.getGui(),\n ePopup: ePopupGui,\n keepWithinBounds: true\n };\n var positionCallback = positionToUse === 'under' ?\n popupService.positionPopupUnderComponent.bind(popupService, positionParams)\n : popupService.positionPopupOverComponent.bind(popupService, positionParams);\n var translate = this.beans.gridOptionsWrapper.getLocaleTextFunc();\n var addPopupRes = popupService.addPopup({\n modal: useModelPopup,\n eChild: ePopupGui,\n closeOnEsc: true,\n closedCallback: function () { _this.cellCtrl.onPopupEditorClosed(); },\n anchorToElement: this.getGui(),\n positionCallback: positionCallback,\n ariaLabel: translate('ariaLabelCellEditor', 'Cell Editor')\n });\n if (addPopupRes) {\n this.hideEditorPopup = addPopupRes.hideFunc;\n }\n };\n CellComp.prototype.detach = function () {\n this.eRow.removeChild(this.getGui());\n };\n // if the row is also getting destroyed, then we don't need to remove from dom,\n // as the row will also get removed, so no need to take out the cells from the row\n // if the row is going (removing is an expensive operation, so only need to remove\n // the top part)\n //\n // note - this is NOT called by context, as we don't wire / unwire the CellComp for performance reasons.\n CellComp.prototype.destroy = function () {\n this.cellCtrl.stopEditing();\n this.destroyEditorAndRenderer();\n this.removeControls();\n _super.prototype.destroy.call(this);\n };\n CellComp.prototype.clearParentOfValue = function () {\n var eGui = this.getGui();\n // if focus is inside the cell, we move focus to the cell itself\n // before removing it's contents, otherwise errors could be thrown.\n var eDocument = this.beans.gridOptionsWrapper.getDocument();\n if (eGui.contains(eDocument.activeElement) && browserSupportsPreventScroll()) {\n eGui.focus({ preventScroll: true });\n }\n clearElement(this.getParentOfValue());\n };\n return CellComp;\n}(Component));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$1F = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar RowComp = /** @class */ (function (_super) {\n __extends$1F(RowComp, _super);\n function RowComp(ctrl, beans, containerType) {\n var _this = _super.call(this) || this;\n _this.cellComps = {};\n _this.beans = beans;\n _this.rowCtrl = ctrl;\n _this.setTemplate(/* html */ \"
    \");\n var eGui = _this.getGui();\n var style = eGui.style;\n var compProxy = {\n setDomOrder: function (domOrder) { return _this.domOrder = domOrder; },\n setCellCtrls: function (cellCtrls) { return _this.setCellCtrls(cellCtrls); },\n showFullWidth: function (compDetails) { return _this.showFullWidth(compDetails); },\n getFullWidthCellRenderer: function () { return _this.getFullWidthCellRenderer(); },\n addOrRemoveCssClass: function (name, on) { return _this.addOrRemoveCssClass(name, on); },\n setUserStyles: function (styles) { return addStylesToElement(eGui, styles); },\n setTop: function (top) { return style.top = top; },\n setTransform: function (transform) { return style.transform = transform; },\n setRowIndex: function (rowIndex) { return eGui.setAttribute('row-index', rowIndex); },\n setRole: function (role) { return setAriaRole(eGui, role); },\n setRowId: function (rowId) { return eGui.setAttribute('row-id', rowId); },\n setRowBusinessKey: function (businessKey) { return eGui.setAttribute('row-business-key', businessKey); },\n setTabIndex: function (tabIndex) { return eGui.setAttribute('tabindex', tabIndex.toString()); }\n };\n ctrl.setComp(compProxy, _this.getGui(), containerType);\n return _this;\n }\n RowComp.prototype.getInitialStyle = function () {\n var transform = this.rowCtrl.getInitialTransform();\n var top = this.rowCtrl.getInitialRowTop();\n return transform ? \"transform: \" + transform : \"top: \" + top;\n };\n RowComp.prototype.showFullWidth = function (compDetails) {\n var _this = this;\n var callback = function (cellRenderer) {\n if (_this.isAlive()) {\n var eGui = cellRenderer.getGui();\n _this.getGui().appendChild(eGui);\n _this.rowCtrl.setupDetailRowAutoHeight(eGui);\n _this.setFullWidthRowComp(cellRenderer);\n }\n else {\n _this.beans.context.destroyBean(cellRenderer);\n }\n };\n // if not in cache, create new one\n var res = compDetails.newAgStackInstance();\n if (!res) {\n return;\n }\n res.then(callback);\n };\n RowComp.prototype.setCellCtrls = function (cellCtrls) {\n var _this = this;\n var cellsToRemove = Object.assign({}, this.cellComps);\n cellCtrls.forEach(function (cellCtrl) {\n var key = cellCtrl.getInstanceId();\n var existingCellComp = _this.cellComps[key];\n if (existingCellComp == null) {\n _this.newCellComp(cellCtrl);\n }\n else {\n cellsToRemove[key] = null;\n }\n });\n var cellCompsToRemove = getAllValuesInObject(cellsToRemove)\n .filter(function (cellComp) { return cellComp != null; });\n this.destroyCells(cellCompsToRemove);\n this.ensureDomOrder(cellCtrls);\n };\n RowComp.prototype.ensureDomOrder = function (cellCtrls) {\n var _this = this;\n if (!this.domOrder) {\n return;\n }\n var elementsInOrder = [];\n cellCtrls.forEach(function (cellCtrl) {\n var cellComp = _this.cellComps[cellCtrl.getInstanceId()];\n if (cellComp) {\n elementsInOrder.push(cellComp.getGui());\n }\n });\n setDomChildOrder(this.getGui(), elementsInOrder);\n };\n RowComp.prototype.newCellComp = function (cellCtrl) {\n var cellComp = new CellComp(this.beans, cellCtrl, this.rowCtrl.isPrintLayout(), this.getGui(), this.rowCtrl.isEditing());\n this.cellComps[cellCtrl.getInstanceId()] = cellComp;\n this.getGui().appendChild(cellComp.getGui());\n };\n RowComp.prototype.destroy = function () {\n _super.prototype.destroy.call(this);\n this.destroyAllCells();\n };\n RowComp.prototype.destroyAllCells = function () {\n var cellsToDestroy = getAllValuesInObject(this.cellComps).filter(function (cp) { return cp != null; });\n this.destroyCells(cellsToDestroy);\n };\n RowComp.prototype.setFullWidthRowComp = function (fullWidthRowComponent) {\n var _this = this;\n if (this.fullWidthCellRenderer) {\n console.error('AG Grid - should not be setting fullWidthRowComponent twice');\n }\n this.fullWidthCellRenderer = fullWidthRowComponent;\n this.addDestroyFunc(function () {\n _this.fullWidthCellRenderer = _this.beans.context.destroyBean(_this.fullWidthCellRenderer);\n });\n };\n RowComp.prototype.getFullWidthCellRenderer = function () {\n return this.fullWidthCellRenderer;\n };\n RowComp.prototype.destroyCells = function (cellComps) {\n var _this = this;\n cellComps.forEach(function (cellComp) {\n // could be old reference, ie removed cell\n if (!cellComp) {\n return;\n }\n // check cellComp belongs in this container\n var instanceId = cellComp.getCtrl().getInstanceId();\n if (_this.cellComps[instanceId] !== cellComp) {\n return;\n }\n cellComp.detach();\n cellComp.destroy();\n _this.cellComps[instanceId] = null;\n });\n };\n return RowComp;\n}(Component));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$1E = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign$3 = (undefined && undefined.__assign) || function () {\n __assign$3 = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign$3.apply(this, arguments);\n};\nvar __decorate$1z = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nfunction templateFactory() {\n var name = Component.elementGettingCreated.getAttribute('name');\n var cssClasses = RowContainerCtrl.getRowContainerCssClasses(name);\n var res;\n var template1 = name === RowContainerName.CENTER;\n var template2 = name === RowContainerName.TOP_CENTER\n || name === RowContainerName.STICKY_TOP_CENTER\n || name === RowContainerName.BOTTOM_CENTER;\n if (template1) {\n res = /* html */\n \"
    \\n
    \\n
    \\n
    \\n
    \";\n }\n else if (template2) {\n res = /* html */\n \"
    \\n
    \\n
    \";\n }\n else {\n res = /* html */\n \"
    \";\n }\n return res;\n}\nvar RowContainerComp = /** @class */ (function (_super) {\n __extends$1E(RowContainerComp, _super);\n function RowContainerComp() {\n var _this = _super.call(this, templateFactory()) || this;\n _this.rowComps = {};\n _this.name = Component.elementGettingCreated.getAttribute('name');\n _this.type = getRowContainerTypeForName(_this.name);\n return _this;\n }\n RowContainerComp.prototype.postConstruct = function () {\n var _this = this;\n var compProxy = {\n setViewportHeight: function (height) { return _this.eViewport.style.height = height; },\n setRowCtrls: function (rowCtrls) { return _this.setRowCtrls(rowCtrls); },\n setDomOrder: function (domOrder) {\n _this.domOrder = domOrder;\n },\n setContainerWidth: function (width) { return _this.eContainer.style.width = width; }\n };\n var ctrl = this.createManagedBean(new RowContainerCtrl(this.name));\n ctrl.setComp(compProxy, this.eContainer, this.eViewport, this.eWrapper);\n };\n RowContainerComp.prototype.preDestroy = function () {\n // destroys all row comps\n this.setRowCtrls([]);\n };\n RowContainerComp.prototype.setRowCtrls = function (rowCtrls) {\n var _this = this;\n var oldRows = __assign$3({}, this.rowComps);\n this.rowComps = {};\n this.lastPlacedElement = null;\n var processRow = function (rowCon) {\n var instanceId = rowCon.getInstanceId();\n var existingRowComp = oldRows[instanceId];\n if (existingRowComp) {\n _this.rowComps[instanceId] = existingRowComp;\n delete oldRows[instanceId];\n _this.ensureDomOrder(existingRowComp.getGui());\n }\n else {\n var rowComp = _this.newRowComp(rowCon);\n _this.rowComps[instanceId] = rowComp;\n _this.appendRow(rowComp.getGui());\n }\n };\n rowCtrls.forEach(processRow);\n getAllValuesInObject(oldRows).forEach(function (oldRowComp) {\n _this.eContainer.removeChild(oldRowComp.getGui());\n oldRowComp.destroy();\n });\n setAriaRole(this.eContainer, rowCtrls.length ? \"rowgroup\" : \"presentation\");\n };\n RowContainerComp.prototype.appendRow = function (element) {\n if (this.domOrder) {\n insertWithDomOrder(this.eContainer, element, this.lastPlacedElement);\n }\n else {\n this.eContainer.appendChild(element);\n }\n this.lastPlacedElement = element;\n };\n RowContainerComp.prototype.ensureDomOrder = function (eRow) {\n if (this.domOrder) {\n ensureDomOrder(this.eContainer, eRow, this.lastPlacedElement);\n this.lastPlacedElement = eRow;\n }\n };\n RowContainerComp.prototype.newRowComp = function (rowCtrl) {\n RowContainerCtrl.getPinned(this.name);\n var res = new RowComp(rowCtrl, this.beans, this.type);\n return res;\n };\n __decorate$1z([\n Autowired('beans')\n ], RowContainerComp.prototype, \"beans\", void 0);\n __decorate$1z([\n RefSelector('eViewport')\n ], RowContainerComp.prototype, \"eViewport\", void 0);\n __decorate$1z([\n RefSelector('eContainer')\n ], RowContainerComp.prototype, \"eContainer\", void 0);\n __decorate$1z([\n RefSelector('eWrapper')\n ], RowContainerComp.prototype, \"eWrapper\", void 0);\n __decorate$1z([\n PostConstruct\n ], RowContainerComp.prototype, \"postConstruct\", null);\n __decorate$1z([\n PreDestroy\n ], RowContainerComp.prototype, \"preDestroy\", null);\n return RowContainerComp;\n}(Component));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __decorate$1y = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar BodyDropPivotTarget = /** @class */ (function () {\n function BodyDropPivotTarget(pinned) {\n this.columnsToAggregate = [];\n this.columnsToGroup = [];\n this.columnsToPivot = [];\n this.pinned = pinned;\n }\n /** Callback for when drag enters */\n BodyDropPivotTarget.prototype.onDragEnter = function (draggingEvent) {\n var _this = this;\n this.clearColumnsList();\n // in pivot mode, we don't accept any drops if functions are read only\n if (this.gridOptionsWrapper.isFunctionsReadOnly()) {\n return;\n }\n var dragColumns = draggingEvent.dragItem.columns;\n if (!dragColumns) {\n return;\n }\n dragColumns.forEach(function (column) {\n // we don't allow adding secondary columns\n if (!column.isPrimary()) {\n return;\n }\n if (column.isAnyFunctionActive()) {\n return;\n }\n if (column.isAllowValue()) {\n _this.columnsToAggregate.push(column);\n }\n else if (column.isAllowRowGroup()) {\n _this.columnsToGroup.push(column);\n }\n else if (column.isAllowPivot()) {\n _this.columnsToPivot.push(column);\n }\n });\n };\n BodyDropPivotTarget.prototype.getIconName = function () {\n var totalColumns = this.columnsToAggregate.length + this.columnsToGroup.length + this.columnsToPivot.length;\n if (totalColumns > 0) {\n return this.pinned ? DragAndDropService.ICON_PINNED : DragAndDropService.ICON_MOVE;\n }\n return null;\n };\n /** Callback for when drag leaves */\n BodyDropPivotTarget.prototype.onDragLeave = function (draggingEvent) {\n // if we are taking columns out of the center, then we remove them from the report\n this.clearColumnsList();\n };\n BodyDropPivotTarget.prototype.clearColumnsList = function () {\n this.columnsToAggregate.length = 0;\n this.columnsToGroup.length = 0;\n this.columnsToPivot.length = 0;\n };\n /** Callback for when dragging */\n BodyDropPivotTarget.prototype.onDragging = function (draggingEvent) {\n };\n /** Callback for when drag stops */\n BodyDropPivotTarget.prototype.onDragStop = function (draggingEvent) {\n if (this.columnsToAggregate.length > 0) {\n this.columnModel.addValueColumns(this.columnsToAggregate, \"toolPanelDragAndDrop\");\n }\n if (this.columnsToGroup.length > 0) {\n this.columnModel.addRowGroupColumns(this.columnsToGroup, \"toolPanelDragAndDrop\");\n }\n if (this.columnsToPivot.length > 0) {\n this.columnModel.addPivotColumns(this.columnsToPivot, \"toolPanelDragAndDrop\");\n }\n };\n __decorate$1y([\n Autowired('columnModel')\n ], BodyDropPivotTarget.prototype, \"columnModel\", void 0);\n __decorate$1y([\n Autowired('gridOptionsWrapper')\n ], BodyDropPivotTarget.prototype, \"gridOptionsWrapper\", void 0);\n return BodyDropPivotTarget;\n}());\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __decorate$1x = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __read$e = (undefined && undefined.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar MoveColumnFeature = /** @class */ (function () {\n function MoveColumnFeature(pinned, eContainer) {\n this.needToMoveLeft = false;\n this.needToMoveRight = false;\n this.pinned = pinned;\n this.eContainer = eContainer;\n this.centerContainer = !exists(pinned);\n }\n MoveColumnFeature.prototype.init = function () {\n var _this = this;\n this.ctrlsService.whenReady(function () {\n _this.gridBodyCon = _this.ctrlsService.getGridBodyCtrl();\n });\n };\n MoveColumnFeature.prototype.getIconName = function () {\n return this.pinned ? DragAndDropService.ICON_PINNED : DragAndDropService.ICON_MOVE;\n };\n MoveColumnFeature.prototype.onDragEnter = function (draggingEvent) {\n // we do dummy drag, so make sure column appears in the right location when first placed\n var columns = draggingEvent.dragItem.columns;\n var dragCameFromToolPanel = draggingEvent.dragSource.type === DragSourceType.ToolPanel;\n if (dragCameFromToolPanel) {\n // the if statement doesn't work if drag leaves grid, then enters again\n this.setColumnsVisible(columns, true, \"uiColumnDragged\");\n }\n else {\n // restore previous state of visible columns upon re-entering. this means if the user drags\n // a group out, and then drags the group back in, only columns that were originally visible\n // will be visible again. otherwise a group with three columns (but only two visible) could\n // be dragged out, then when it's dragged in again, all three are visible. this stops that.\n var visibleState_1 = draggingEvent.dragItem.visibleState;\n var visibleColumns = (columns || []).filter(function (column) { return visibleState_1[column.getId()]; });\n this.setColumnsVisible(visibleColumns, true, \"uiColumnDragged\");\n }\n this.setColumnsPinned(columns, this.pinned, \"uiColumnDragged\");\n this.onDragging(draggingEvent, true, true);\n };\n MoveColumnFeature.prototype.onDragLeave = function (draggingEvent) {\n this.ensureIntervalCleared();\n };\n MoveColumnFeature.prototype.setColumnsVisible = function (columns, visible, source) {\n if (source === void 0) { source = \"api\"; }\n if (columns) {\n var allowedCols = columns.filter(function (c) { return !c.getColDef().lockVisible; });\n this.columnModel.setColumnsVisible(allowedCols, visible, source);\n }\n };\n MoveColumnFeature.prototype.setColumnsPinned = function (columns, pinned, source) {\n if (source === void 0) { source = \"api\"; }\n if (columns) {\n var allowedCols = columns.filter(function (c) { return !c.getColDef().lockPinned; });\n this.columnModel.setColumnsPinned(allowedCols, pinned, source);\n }\n };\n MoveColumnFeature.prototype.onDragStop = function () {\n this.ensureIntervalCleared();\n };\n MoveColumnFeature.prototype.normaliseX = function (x) {\n // flip the coordinate if doing RTL\n if (this.gridOptionsWrapper.isEnableRtl()) {\n var clientWidth = this.eContainer.clientWidth;\n x = clientWidth - x;\n }\n // adjust for scroll only if centre container (the pinned containers don't scroll)\n if (this.centerContainer) {\n x += this.ctrlsService.getCenterRowContainerCtrl().getCenterViewportScrollLeft();\n }\n return x;\n };\n MoveColumnFeature.prototype.checkCenterForScrolling = function (xAdjustedForScroll) {\n if (this.centerContainer) {\n // scroll if the mouse has gone outside the grid (or just outside the scrollable part if pinning)\n // putting in 50 buffer, so even if user gets to edge of grid, a scroll will happen\n var firstVisiblePixel = this.ctrlsService.getCenterRowContainerCtrl().getCenterViewportScrollLeft();\n var lastVisiblePixel = firstVisiblePixel + this.ctrlsService.getCenterRowContainerCtrl().getCenterWidth();\n if (this.gridOptionsWrapper.isEnableRtl()) {\n this.needToMoveRight = xAdjustedForScroll < (firstVisiblePixel + 50);\n this.needToMoveLeft = xAdjustedForScroll > (lastVisiblePixel - 50);\n }\n else {\n this.needToMoveLeft = xAdjustedForScroll < (firstVisiblePixel + 50);\n this.needToMoveRight = xAdjustedForScroll > (lastVisiblePixel - 50);\n }\n if (this.needToMoveLeft || this.needToMoveRight) {\n this.ensureIntervalStarted();\n }\n else {\n this.ensureIntervalCleared();\n }\n }\n };\n MoveColumnFeature.prototype.onDragging = function (draggingEvent, fromEnter, fakeEvent) {\n var _this = this;\n if (fromEnter === void 0) { fromEnter = false; }\n if (fakeEvent === void 0) { fakeEvent = false; }\n this.lastDraggingEvent = draggingEvent;\n // if moving up or down (ie not left or right) then do nothing\n if (missing(draggingEvent.hDirection)) {\n return;\n }\n var mouseXNormalised = this.normaliseX(draggingEvent.x);\n // if the user is dragging into the panel, ie coming from the side panel into the main grid,\n // we don't want to scroll the grid this time, it would appear like the table is jumping\n // each time a column is dragged in.\n if (!fromEnter) {\n this.checkCenterForScrolling(mouseXNormalised);\n }\n var hDirectionNormalised = this.normaliseDirection(draggingEvent.hDirection);\n var dragSourceType = draggingEvent.dragSource.type;\n var columnsToMove = draggingEvent.dragSource.getDragItem().columns;\n columnsToMove = columnsToMove.filter(function (col) {\n if (col.getColDef().lockPinned) {\n // if locked return true only if both col and container are same pin type.\n // double equals (==) here on purpose so that null==undefined is true (for not pinned options)\n return col.getPinned() == _this.pinned;\n }\n // if not pin locked, then always allowed to be in this container\n return true;\n });\n this.attemptMoveColumns(dragSourceType, columnsToMove, hDirectionNormalised, mouseXNormalised, fromEnter, fakeEvent);\n };\n MoveColumnFeature.prototype.normaliseDirection = function (hDirection) {\n if (this.gridOptionsWrapper.isEnableRtl()) {\n switch (hDirection) {\n case HorizontalDirection.Left: return HorizontalDirection.Right;\n case HorizontalDirection.Right: return HorizontalDirection.Left;\n default: console.error(\"AG Grid: Unknown direction \" + hDirection);\n }\n }\n else {\n return hDirection;\n }\n };\n // returns the index of the first column in the list ONLY if the cols are all beside\n // each other. if the cols are not beside each other, then returns null\n MoveColumnFeature.prototype.calculateOldIndex = function (movingCols) {\n var gridCols = this.columnModel.getAllGridColumns();\n var indexes = sortNumerically(movingCols.map(function (col) { return gridCols.indexOf(col); }));\n var firstIndex = indexes[0];\n var lastIndex = last(indexes);\n var spread = lastIndex - firstIndex;\n var gapsExist = spread !== indexes.length - 1;\n return gapsExist ? null : firstIndex;\n };\n MoveColumnFeature.prototype.attemptMoveColumns = function (dragSourceType, allMovingColumns, hDirection, mouseX, fromEnter, fakeEvent) {\n var draggingLeft = hDirection === HorizontalDirection.Left;\n var draggingRight = hDirection === HorizontalDirection.Right;\n if (dragSourceType === DragSourceType.HeaderCell) {\n // If the columns we're dragging are the only visible columns of their group, move the hidden ones too\n var newCols_1 = [];\n allMovingColumns.forEach(function (col) {\n var movingGroup = null;\n var parent = col.getParent();\n while (parent != null && parent.getDisplayedLeafColumns().length === 1) {\n movingGroup = parent;\n parent = parent.getParent();\n }\n if (movingGroup != null) {\n movingGroup.getLeafColumns().forEach(function (newCol) {\n if (!newCols_1.includes(newCol)) {\n newCols_1.push(newCol);\n }\n });\n }\n else if (!newCols_1.includes(col)) {\n newCols_1.push(col);\n }\n });\n allMovingColumns = newCols_1;\n }\n // it is important to sort the moving columns as they are in grid columns, as the list of moving columns\n // could themselves be part of 'married children' groups, which means we need to maintain the order within\n // the moving list.\n var allMovingColumnsOrdered = allMovingColumns.slice();\n this.columnModel.sortColumnsLikeGridColumns(allMovingColumnsOrdered);\n var validMoves = this.calculateValidMoves(allMovingColumnsOrdered, draggingRight, mouseX);\n // if cols are not adjacent, then this returns null. when moving, we constrain the direction of the move\n // (ie left or right) to the mouse direction. however\n var oldIndex = this.calculateOldIndex(allMovingColumnsOrdered);\n if (validMoves.length === 0) {\n return;\n }\n var firstValidMove = validMoves[0];\n // the two check below stop an error when the user grabs a group my a middle column, then\n // it is possible the mouse pointer is to the right of a column while been dragged left.\n // so we need to make sure that the mouse pointer is actually left of the left most column\n // if moving left, and right of the right most column if moving right\n // we check 'fromEnter' below so we move the column to the new spot if the mouse is coming from\n // outside the grid, eg if the column is moving from side panel, mouse is moving left, then we should\n // place the column to the RHS even if the mouse is moving left and the column is already on\n // the LHS. otherwise we stick to the rule described above.\n var constrainDirection = oldIndex !== null && !fromEnter;\n // don't consider 'fromEnter' when dragging header cells, otherwise group can jump to opposite direction of drag\n if (dragSourceType == DragSourceType.HeaderCell) {\n constrainDirection = oldIndex !== null;\n }\n // if the event was faked by a change in column pin state, then the original location of the column\n // is not reliable for dictating where the column may now be placed.\n if (constrainDirection && !fakeEvent) {\n // only allow left drag if this column is moving left\n if (draggingLeft && firstValidMove >= oldIndex) {\n return;\n }\n // only allow right drag if this column is moving right\n if (draggingRight && firstValidMove <= oldIndex) {\n return;\n }\n }\n // From when we find a move that passes all the rules\n // Remember what that move would look like in terms of displayed cols\n // keep going with further moves until we find a different result in displayed output\n // In this way potentialMoves contains all potential moves over 'hidden' columns\n var displayedCols = this.columnModel.getAllDisplayedColumns();\n var potentialMoves = [];\n var targetOrder = null;\n for (var i = 0; i < validMoves.length; i++) {\n var move = validMoves[i];\n var order = this.columnModel.getProposedColumnOrder(allMovingColumnsOrdered, move);\n if (!this.columnModel.doesOrderPassRules(order)) {\n continue;\n }\n var displayedOrder = order.filter(function (col) { return displayedCols.includes(col); });\n if (targetOrder === null) {\n targetOrder = displayedOrder;\n }\n else if (!_.areEqual(displayedOrder, targetOrder)) {\n break; // Stop looking for potential moves if the displayed result changes from the target\n }\n var fragCount = this.groupFragCount(order);\n potentialMoves.push({ move: move, fragCount: fragCount });\n }\n if (potentialMoves.length === 0) {\n return;\n }\n // The best move is the move with least group fragmentation\n potentialMoves.sort(function (a, b) { return a.fragCount - b.fragCount; });\n var bestMove = potentialMoves[0].move;\n this.columnModel.moveColumns(allMovingColumnsOrdered, bestMove, \"uiColumnDragged\");\n };\n // A measure of how fragmented in terms of groups an order of columns is\n MoveColumnFeature.prototype.groupFragCount = function (columns) {\n function parents(col) {\n var result = [];\n var parent = col.getOriginalParent();\n while (parent != null) {\n result.push(parent);\n parent = parent.getOriginalParent();\n }\n return result;\n }\n var count = 0;\n var _loop_1 = function (i) {\n var _a;\n var a = parents(columns[i]);\n var b = parents(columns[i + 1]);\n // iterate over the longest one\n _a = __read$e(a.length > b.length ? [a, b] : [b, a], 2), a = _a[0], b = _a[1];\n a.forEach(function (parent) {\n if (b.indexOf(parent) === -1) {\n count++; // More fragmented if other column doesn't share the parent\n }\n });\n };\n for (var i = 0; i < columns.length - 1; i++) {\n _loop_1(i);\n }\n return count;\n };\n MoveColumnFeature.prototype.calculateValidMoves = function (movingCols, draggingRight, mouseX) {\n var isMoveBlocked = this.gridOptionsWrapper.isSuppressMovableColumns() || movingCols.some(function (col) { return col.getColDef().suppressMovable; });\n if (isMoveBlocked) {\n return [];\n }\n // this is the list of cols on the screen, so it's these we use when comparing the x mouse position\n var allDisplayedCols = this.columnModel.getDisplayedColumns(this.pinned);\n // but this list is the list of all cols, when we move a col it's the index within this list that gets used,\n // so the result we return has to be and index location for this list\n var allGridCols = this.columnModel.getAllGridColumns();\n var movingDisplayedCols = allDisplayedCols.filter(function (col) { return includes(movingCols, col); });\n var otherDisplayedCols = allDisplayedCols.filter(function (col) { return !includes(movingCols, col); });\n var otherGridCols = allGridCols.filter(function (col) { return !includes(movingCols, col); });\n // work out how many DISPLAYED columns fit before the 'x' position. this gives us the displayIndex.\n // for example, if cols are a,b,c,d and we find a,b fit before 'x', then we want to place the moving\n // col between b and c (so that it is under the mouse position).\n var displayIndex = 0;\n var availableWidth = mouseX;\n // if we are dragging right, then the columns will be to the left of the mouse, so we also want to\n // include the width of the moving columns\n if (draggingRight) {\n var widthOfMovingDisplayedCols_1 = 0;\n movingDisplayedCols.forEach(function (col) { return widthOfMovingDisplayedCols_1 += col.getActualWidth(); });\n availableWidth -= widthOfMovingDisplayedCols_1;\n }\n if (availableWidth > 0) {\n // now count how many of the displayed columns will fit to the left\n for (var i = 0; i < otherDisplayedCols.length; i++) {\n var col = otherDisplayedCols[i];\n availableWidth -= col.getActualWidth();\n if (availableWidth < 0) {\n break;\n }\n displayIndex++;\n }\n // trial and error, if going right, we adjust by one, i didn't manage to quantify why, but it works\n if (draggingRight) {\n displayIndex++;\n }\n }\n // the display index is with respect to all the showing columns, however when we move, it's with\n // respect to all grid columns, so we need to translate from display index to grid index\n var firstValidMove;\n if (displayIndex > 0) {\n var leftColumn = otherDisplayedCols[displayIndex - 1];\n firstValidMove = otherGridCols.indexOf(leftColumn) + 1;\n }\n else {\n firstValidMove = otherGridCols.indexOf(otherDisplayedCols[0]);\n if (firstValidMove === -1) {\n firstValidMove = 0;\n }\n }\n var validMoves = [firstValidMove];\n var numberComparator = function (a, b) { return a - b; };\n // add in other valid moves due to hidden columns and married children. for example, a particular\n // move might break a group that has married children (so move isn't valid), however there could\n // be hidden columns (not displayed) that we could jump over to make the move valid. because\n // they are hidden, user doesn't see any different, however it allows moves that would otherwise\n // not work. for example imagine a group with 9 columns and all columns are hidden except the\n // middle one (so 4 hidden to left, 4 hidden to right), then when moving 'firstValidMove' will\n // be relative to the not-shown column, however we need to consider the move jumping over all the\n // hidden children. if we didn't do this, then if the group just described was at the end (RHS) of the\n // grid, there would be no way to put a column after it (as the grid would only consider beside the\n // visible column, which would fail valid move rules).\n if (draggingRight) {\n // if dragging right, then we add all the additional moves to the right. so in other words\n // if the next move is not valid, find the next move to the right that is valid.\n var pointer = firstValidMove + 1;\n var lastIndex = allGridCols.length - 1;\n while (pointer <= lastIndex) {\n validMoves.push(pointer);\n pointer++;\n }\n // adding columns here means the order is now messed up\n validMoves.sort(numberComparator);\n }\n else {\n // if dragging left we do the reverse of dragging right, we add in all the valid moves to the\n // left. however we also have to consider moves to the right for all hidden columns first.\n // (this logic is hard to reason with, it was worked out with trial and error,\n // more observation rather than science).\n // add moves to the right\n var pointer = firstValidMove;\n var lastIndex = allGridCols.length - 1;\n var displacedCol = allGridCols[pointer];\n while (pointer <= lastIndex && this.isColumnHidden(allDisplayedCols, displacedCol)) {\n pointer++;\n validMoves.push(pointer);\n displacedCol = allGridCols[pointer];\n }\n // add moves to the left\n pointer = firstValidMove - 1;\n var firstDisplayIndex = 0;\n while (pointer >= firstDisplayIndex) {\n validMoves.push(pointer);\n pointer--;\n }\n // adding columns here means the order is now messed up\n validMoves.sort(numberComparator).reverse();\n }\n return validMoves;\n };\n // isHidden takes into account visible=false and group=closed, ie it is not displayed\n MoveColumnFeature.prototype.isColumnHidden = function (displayedColumns, col) {\n return displayedColumns.indexOf(col) < 0;\n };\n MoveColumnFeature.prototype.ensureIntervalStarted = function () {\n if (!this.movingIntervalId) {\n this.intervalCount = 0;\n this.failedMoveAttempts = 0;\n this.movingIntervalId = window.setInterval(this.moveInterval.bind(this), 100);\n if (this.needToMoveLeft) {\n this.dragAndDropService.setGhostIcon(DragAndDropService.ICON_LEFT, true);\n }\n else {\n this.dragAndDropService.setGhostIcon(DragAndDropService.ICON_RIGHT, true);\n }\n }\n };\n MoveColumnFeature.prototype.ensureIntervalCleared = function () {\n if (this.movingIntervalId) {\n window.clearInterval(this.movingIntervalId);\n this.movingIntervalId = null;\n this.dragAndDropService.setGhostIcon(DragAndDropService.ICON_MOVE);\n }\n };\n MoveColumnFeature.prototype.moveInterval = function () {\n // the amounts we move get bigger at each interval, so the speed accelerates, starting a bit slow\n // and getting faster. this is to give smoother user experience. we max at 100px to limit the speed.\n var pixelsToMove;\n this.intervalCount++;\n pixelsToMove = 10 + (this.intervalCount * 5);\n if (pixelsToMove > 100) {\n pixelsToMove = 100;\n }\n var pixelsMoved = null;\n var scrollFeature = this.gridBodyCon.getScrollFeature();\n if (this.needToMoveLeft) {\n pixelsMoved = scrollFeature.scrollHorizontally(-pixelsToMove);\n }\n else if (this.needToMoveRight) {\n pixelsMoved = scrollFeature.scrollHorizontally(pixelsToMove);\n }\n if (pixelsMoved !== 0) {\n this.onDragging(this.lastDraggingEvent);\n this.failedMoveAttempts = 0;\n }\n else {\n // we count the failed move attempts. if we fail to move 7 times, then we pin the column.\n // this is how we achieve pining by dragging the column to the edge of the grid.\n this.failedMoveAttempts++;\n var columns = this.lastDraggingEvent.dragItem.columns;\n var columnsThatCanPin = columns.filter(function (c) { return !c.getColDef().lockPinned; });\n if (columnsThatCanPin.length > 0) {\n this.dragAndDropService.setGhostIcon(DragAndDropService.ICON_PINNED);\n if (this.failedMoveAttempts > 7) {\n var pinType = this.needToMoveLeft ? Constants.PINNED_LEFT : Constants.PINNED_RIGHT;\n this.setColumnsPinned(columnsThatCanPin, pinType, \"uiColumnDragged\");\n this.dragAndDropService.nudge();\n }\n }\n }\n };\n __decorate$1x([\n Autowired('columnModel')\n ], MoveColumnFeature.prototype, \"columnModel\", void 0);\n __decorate$1x([\n Autowired('dragAndDropService')\n ], MoveColumnFeature.prototype, \"dragAndDropService\", void 0);\n __decorate$1x([\n Autowired('gridOptionsWrapper')\n ], MoveColumnFeature.prototype, \"gridOptionsWrapper\", void 0);\n __decorate$1x([\n Autowired('ctrlsService')\n ], MoveColumnFeature.prototype, \"ctrlsService\", void 0);\n __decorate$1x([\n PostConstruct\n ], MoveColumnFeature.prototype, \"init\", null);\n return MoveColumnFeature;\n}());\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$1D = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$1w = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar BodyDropTarget = /** @class */ (function (_super) {\n __extends$1D(BodyDropTarget, _super);\n function BodyDropTarget(pinned, eContainer) {\n var _this = _super.call(this) || this;\n _this.pinned = pinned;\n _this.eContainer = eContainer;\n return _this;\n }\n BodyDropTarget.prototype.postConstruct = function () {\n var _this = this;\n this.ctrlsService.whenReady(function (p) {\n switch (_this.pinned) {\n case Constants.PINNED_LEFT:\n _this.eSecondaryContainers = [\n [p.gridBodyCtrl.getBodyViewportElement(), p.leftRowContainerCtrl.getContainerElement()],\n [p.bottomLeftRowContainerCtrl.getContainerElement()],\n [p.topLeftRowContainerCtrl.getContainerElement()]\n ];\n break;\n case Constants.PINNED_RIGHT:\n _this.eSecondaryContainers = [\n [p.gridBodyCtrl.getBodyViewportElement(), p.rightRowContainerCtrl.getContainerElement()],\n [p.bottomRightRowContainerCtrl.getContainerElement()],\n [p.topRightRowContainerCtrl.getContainerElement()]\n ];\n break;\n default:\n _this.eSecondaryContainers = [\n [p.gridBodyCtrl.getBodyViewportElement(), p.centerRowContainerCtrl.getViewportElement()],\n [p.bottomCenterRowContainerCtrl.getViewportElement()],\n [p.topCenterRowContainerCtrl.getViewportElement()]\n ];\n break;\n }\n });\n };\n BodyDropTarget.prototype.isInterestedIn = function (type) {\n return type === DragSourceType.HeaderCell ||\n (type === DragSourceType.ToolPanel && this.gridOptionsWrapper.isAllowDragFromColumnsToolPanel());\n };\n BodyDropTarget.prototype.getSecondaryContainers = function () {\n return this.eSecondaryContainers;\n };\n BodyDropTarget.prototype.getContainer = function () {\n return this.eContainer;\n };\n BodyDropTarget.prototype.init = function () {\n this.moveColumnFeature = this.createManagedBean(new MoveColumnFeature(this.pinned, this.eContainer));\n this.bodyDropPivotTarget = this.createManagedBean(new BodyDropPivotTarget(this.pinned));\n this.dragAndDropService.addDropTarget(this);\n };\n BodyDropTarget.prototype.getIconName = function () {\n return this.currentDropListener.getIconName();\n };\n // we want to use the bodyPivotTarget if the user is dragging columns in from the toolPanel\n // and we are in pivot mode, as it has to logic to set pivot/value/group on the columns when\n // dropped into the grid's body.\n BodyDropTarget.prototype.isDropColumnInPivotMode = function (draggingEvent) {\n // in pivot mode, then if moving a column (ie didn't come from toolpanel) then it's\n // a standard column move, however if it came from the toolpanel, then we are introducing\n // dimensions or values to the grid\n return this.columnModel.isPivotMode() && draggingEvent.dragSource.type === DragSourceType.ToolPanel;\n };\n BodyDropTarget.prototype.onDragEnter = function (draggingEvent) {\n // we pick the drop listener depending on whether we are in pivot mode are not. if we are\n // in pivot mode, then dropping cols changes the row group, pivot, value stats. otherwise\n // we change visibility state and position.\n this.currentDropListener = this.isDropColumnInPivotMode(draggingEvent) ? this.bodyDropPivotTarget : this.moveColumnFeature;\n this.currentDropListener.onDragEnter(draggingEvent);\n };\n BodyDropTarget.prototype.onDragLeave = function (params) {\n this.currentDropListener.onDragLeave(params);\n };\n BodyDropTarget.prototype.onDragging = function (params) {\n this.currentDropListener.onDragging(params);\n };\n BodyDropTarget.prototype.onDragStop = function (params) {\n this.currentDropListener.onDragStop(params);\n };\n __decorate$1w([\n Autowired('dragAndDropService')\n ], BodyDropTarget.prototype, \"dragAndDropService\", void 0);\n __decorate$1w([\n Autowired('columnModel')\n ], BodyDropTarget.prototype, \"columnModel\", void 0);\n __decorate$1w([\n Autowired('ctrlsService')\n ], BodyDropTarget.prototype, \"ctrlsService\", void 0);\n __decorate$1w([\n PostConstruct\n ], BodyDropTarget.prototype, \"postConstruct\", null);\n __decorate$1w([\n PostConstruct\n ], BodyDropTarget.prototype, \"init\", null);\n return BodyDropTarget;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __read$d = (undefined && undefined.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar __spread$b = (undefined && undefined.__spread) || function () {\n for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$d(arguments[i]));\n return ar;\n};\nvar CssClassApplier = /** @class */ (function () {\n function CssClassApplier() {\n }\n CssClassApplier.getHeaderClassesFromColDef = function (abstractColDef, gridOptionsWrapper, column, columnGroup) {\n if (missing(abstractColDef)) {\n return [];\n }\n return this.getColumnClassesFromCollDef(abstractColDef.headerClass, abstractColDef, gridOptionsWrapper, column, columnGroup);\n };\n CssClassApplier.getToolPanelClassesFromColDef = function (abstractColDef, gridOptionsWrapper, column, columnGroup) {\n if (missing(abstractColDef)) {\n return [];\n }\n return this.getColumnClassesFromCollDef(abstractColDef.toolPanelClass, abstractColDef, gridOptionsWrapper, column, columnGroup);\n };\n CssClassApplier.getClassParams = function (abstractColDef, gridOptionsWrapper, column, columnGroup) {\n return {\n // bad naming, as colDef here can be a group or a column,\n // however most people won't appreciate the difference,\n // so keeping it as colDef to avoid confusion.\n colDef: abstractColDef,\n column: column,\n columnGroup: columnGroup,\n api: gridOptionsWrapper.getApi(),\n columnApi: gridOptionsWrapper.getColumnApi(),\n context: gridOptionsWrapper.getContext()\n };\n };\n CssClassApplier.getColumnClassesFromCollDef = function (classesOrFunc, abstractColDef, gridOptionsWrapper, column, columnGroup) {\n if (missing(classesOrFunc)) {\n return [];\n }\n var classToUse;\n if (typeof classesOrFunc === 'function') {\n var params = this.getClassParams(abstractColDef, gridOptionsWrapper, column, columnGroup);\n classToUse = classesOrFunc(params);\n }\n else {\n classToUse = classesOrFunc;\n }\n if (typeof classToUse === 'string') {\n return [classToUse];\n }\n if (Array.isArray(classToUse)) {\n return __spread$b(classToUse);\n }\n return [];\n };\n return CssClassApplier;\n}());\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$1C = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$1v = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar HeaderCellComp = /** @class */ (function (_super) {\n __extends$1C(HeaderCellComp, _super);\n function HeaderCellComp(ctrl) {\n var _this = _super.call(this, HeaderCellComp.TEMPLATE, ctrl) || this;\n _this.headerCompVersion = 0;\n _this.column = ctrl.getColumnGroupChild();\n _this.pinned = ctrl.getPinned();\n return _this;\n }\n HeaderCellComp.prototype.postConstruct = function () {\n var _this = this;\n var eGui = this.getGui();\n var setAttribute = function (name, value, element) {\n var actualElement = element ? element : eGui;\n if (value != null && value != '') {\n actualElement.setAttribute(name, value);\n }\n else {\n actualElement.removeAttribute(name);\n }\n };\n var compProxy = {\n setWidth: function (width) { return eGui.style.width = width; },\n addOrRemoveCssClass: function (cssClassName, on) { return _this.addOrRemoveCssClass(cssClassName, on); },\n setColId: function (id) { return setAttribute('col-id', id); },\n setTitle: function (title) { return setAttribute('title', title); },\n setAriaDescription: function (label) { return setAriaDescription(eGui, label); },\n setAriaSort: function (sort) { return sort ? setAriaSort(eGui, sort) : removeAriaSort(eGui); },\n setUserCompDetails: function (compDetails) { return _this.setUserCompDetails(compDetails); },\n getUserCompInstance: function () { return _this.headerComp; }\n };\n this.ctrl.setComp(compProxy, this.getGui(), this.eResize, this.eHeaderCompWrapper);\n var selectAllGui = this.ctrl.getSelectAllGui();\n this.eResize.insertAdjacentElement('afterend', selectAllGui);\n };\n HeaderCellComp.prototype.destroyHeaderComp = function () {\n if (this.headerComp) {\n this.eHeaderCompWrapper.removeChild(this.headerCompGui);\n this.headerComp = this.destroyBean(this.headerComp);\n this.headerCompGui = undefined;\n }\n };\n HeaderCellComp.prototype.setUserCompDetails = function (compDetails) {\n var _this = this;\n this.headerCompVersion++;\n var versionCopy = this.headerCompVersion;\n compDetails.newAgStackInstance().then(function (comp) { return _this.afterCompCreated(versionCopy, comp); });\n };\n HeaderCellComp.prototype.afterCompCreated = function (version, headerComp) {\n if (version != this.headerCompVersion || !this.isAlive()) {\n this.destroyBean(headerComp);\n return;\n }\n this.destroyHeaderComp();\n this.headerComp = headerComp;\n this.headerCompGui = headerComp.getGui();\n this.eHeaderCompWrapper.appendChild(this.headerCompGui);\n this.ctrl.setDragSource(this.getGui());\n };\n HeaderCellComp.TEMPLATE = \"
    \\n
    \\n
    \\n
    \";\n __decorate$1v([\n RefSelector('eResize')\n ], HeaderCellComp.prototype, \"eResize\", void 0);\n __decorate$1v([\n RefSelector('eHeaderCompWrapper')\n ], HeaderCellComp.prototype, \"eHeaderCompWrapper\", void 0);\n __decorate$1v([\n PostConstruct\n ], HeaderCellComp.prototype, \"postConstruct\", null);\n __decorate$1v([\n PreDestroy\n ], HeaderCellComp.prototype, \"destroyHeaderComp\", null);\n return HeaderCellComp;\n}(AbstractHeaderCellComp));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$1B = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$1u = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar HeaderGroupCellComp = /** @class */ (function (_super) {\n __extends$1B(HeaderGroupCellComp, _super);\n function HeaderGroupCellComp(ctrl) {\n return _super.call(this, HeaderGroupCellComp.TEMPLATE, ctrl) || this;\n }\n HeaderGroupCellComp.prototype.postConstruct = function () {\n var _this = this;\n var eGui = this.getGui();\n var setAttribute = function (key, value) {\n return value != undefined ? eGui.setAttribute(key, value) : eGui.removeAttribute(key);\n };\n var compProxy = {\n addOrRemoveCssClass: function (cssClassName, on) { return _this.addOrRemoveCssClass(cssClassName, on); },\n addOrRemoveResizableCssClass: function (cssClassName, on) { return _this.eResize.classList.toggle(cssClassName, on); },\n setWidth: function (width) { return eGui.style.width = width; },\n setColId: function (id) { return eGui.setAttribute(\"col-id\", id); },\n setAriaExpanded: function (expanded) { return setAttribute('aria-expanded', expanded); },\n setTitle: function (title) { return setAttribute(\"title\", title); },\n setUserCompDetails: function (details) { return _this.setUserCompDetails(details); }\n };\n this.ctrl.setComp(compProxy, eGui, this.eResize);\n };\n HeaderGroupCellComp.prototype.setUserCompDetails = function (details) {\n var _this = this;\n details.newAgStackInstance().then(function (comp) { return _this.afterHeaderCompCreated(comp); });\n };\n HeaderGroupCellComp.prototype.afterHeaderCompCreated = function (headerGroupComp) {\n var _this = this;\n var destroyFunc = function () { return _this.destroyBean(headerGroupComp); };\n if (!this.isAlive()) {\n destroyFunc();\n return;\n }\n this.getGui().appendChild(headerGroupComp.getGui());\n this.addDestroyFunc(destroyFunc);\n this.ctrl.setDragSource(headerGroupComp.getGui());\n };\n HeaderGroupCellComp.TEMPLATE = \"
    \\n
    \\n
    \";\n __decorate$1u([\n Autowired('userComponentFactory')\n ], HeaderGroupCellComp.prototype, \"userComponentFactory\", void 0);\n __decorate$1u([\n RefSelector('eResize')\n ], HeaderGroupCellComp.prototype, \"eResize\", void 0);\n __decorate$1u([\n PostConstruct\n ], HeaderGroupCellComp.prototype, \"postConstruct\", null);\n return HeaderGroupCellComp;\n}(AbstractHeaderCellComp));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$1A = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$1t = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar HeaderRowType;\n(function (HeaderRowType) {\n HeaderRowType[\"COLUMN_GROUP\"] = \"group\";\n HeaderRowType[\"COLUMN\"] = \"column\";\n HeaderRowType[\"FLOATING_FILTER\"] = \"filter\";\n})(HeaderRowType || (HeaderRowType = {}));\nvar HeaderRowComp = /** @class */ (function (_super) {\n __extends$1A(HeaderRowComp, _super);\n function HeaderRowComp(ctrl) {\n var _this = _super.call(this) || this;\n _this.headerComps = {};\n var extraClass = ctrl.getType() == HeaderRowType.COLUMN_GROUP ? \"ag-header-row-column-group\" :\n ctrl.getType() == HeaderRowType.FLOATING_FILTER ? \"ag-header-row-column-filter\" : \"ag-header-row-column\";\n _this.setTemplate(/* html */ \"
    \");\n _this.ctrl = ctrl;\n return _this;\n }\n //noinspection JSUnusedLocalSymbols\n HeaderRowComp.prototype.init = function () {\n var _this = this;\n var compProxy = {\n setTransform: function (transform) { return _this.getGui().style.transform = transform; },\n setHeight: function (height) { return _this.getGui().style.height = height; },\n setTop: function (top) { return _this.getGui().style.top = top; },\n setHeaderCtrls: function (ctrls) { return _this.setHeaderCtrls(ctrls); },\n setWidth: function (width) { return _this.getGui().style.width = width; },\n setAriaRowIndex: function (rowIndex) { return setAriaRowIndex(_this.getGui(), rowIndex); }\n };\n this.ctrl.setComp(compProxy);\n };\n HeaderRowComp.prototype.destroyHeaderCtrls = function () {\n this.setHeaderCtrls([]);\n };\n HeaderRowComp.prototype.setHeaderCtrls = function (ctrls) {\n var _this = this;\n if (!this.isAlive()) {\n return;\n }\n var oldComps = this.headerComps;\n this.headerComps = {};\n ctrls.forEach(function (ctrl) {\n var id = ctrl.getInstanceId();\n var comp = oldComps[id];\n delete oldComps[id];\n if (comp == null) {\n comp = _this.createHeaderComp(ctrl);\n _this.getGui().appendChild(comp.getGui());\n }\n _this.headerComps[id] = comp;\n });\n iterateObject(oldComps, function (id, comp) {\n _this.getGui().removeChild(comp.getGui());\n _this.destroyBean(comp);\n });\n var ensureDomOrder = this.gridOptionsWrapper.isEnsureDomOrder();\n if (ensureDomOrder) {\n var comps = getAllValuesInObject(this.headerComps);\n // ordering the columns by left position orders them in the order they appear on the screen\n comps.sort(function (a, b) {\n var leftA = a.getCtrl().getColumnGroupChild().getLeft();\n var leftB = b.getCtrl().getColumnGroupChild().getLeft();\n return leftA - leftB;\n });\n var elementsInOrder = comps.map(function (c) { return c.getGui(); });\n setDomChildOrder(this.getGui(), elementsInOrder);\n }\n };\n HeaderRowComp.prototype.createHeaderComp = function (headerCtrl) {\n var result;\n switch (this.ctrl.getType()) {\n case HeaderRowType.COLUMN_GROUP:\n result = new HeaderGroupCellComp(headerCtrl);\n break;\n case HeaderRowType.FLOATING_FILTER:\n result = new HeaderFilterCellComp(headerCtrl);\n break;\n default:\n result = new HeaderCellComp(headerCtrl);\n break;\n }\n this.createBean(result);\n result.setParentComponent(this);\n return result;\n };\n __decorate$1t([\n PostConstruct\n ], HeaderRowComp.prototype, \"init\", null);\n __decorate$1t([\n PreDestroy\n ], HeaderRowComp.prototype, \"destroyHeaderCtrls\", null);\n return HeaderRowComp;\n}(Component));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$1z = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$1s = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar instanceIdSequence$1 = 0;\nvar AbstractHeaderCellCtrl = /** @class */ (function (_super) {\n __extends$1z(AbstractHeaderCellCtrl, _super);\n function AbstractHeaderCellCtrl(columnGroupChild, parentRowCtrl) {\n var _this = _super.call(this) || this;\n _this.lastFocusEvent = null;\n _this.columnGroupChild = columnGroupChild;\n _this.parentRowCtrl = parentRowCtrl;\n // unique id to this instance, including the column ID to help with debugging in React as it's used in 'key'\n _this.instanceId = columnGroupChild.getUniqueId() + '-' + instanceIdSequence$1++;\n return _this;\n }\n AbstractHeaderCellCtrl.prototype.shouldStopEventPropagation = function (e) {\n var _a = this.focusService.getFocusedHeader(), headerRowIndex = _a.headerRowIndex, column = _a.column;\n return isUserSuppressingHeaderKeyboardEvent(this.gridOptionsWrapper, e, headerRowIndex, column);\n };\n AbstractHeaderCellCtrl.prototype.getWrapperHasFocus = function () {\n var eDocument = this.gridOptionsWrapper.getDocument();\n var activeEl = eDocument.activeElement;\n return activeEl === this.eGui;\n };\n AbstractHeaderCellCtrl.prototype.setGui = function (eGui) {\n this.eGui = eGui;\n this.addDomData();\n };\n AbstractHeaderCellCtrl.prototype.handleKeyDown = function (e) {\n var wrapperHasFocus = this.getWrapperHasFocus();\n switch (e.key) {\n case KeyCode.PAGE_DOWN:\n case KeyCode.PAGE_UP:\n case KeyCode.PAGE_HOME:\n case KeyCode.PAGE_END:\n if (wrapperHasFocus) {\n e.preventDefault();\n }\n }\n };\n AbstractHeaderCellCtrl.prototype.addDomData = function () {\n var _this = this;\n var key = AbstractHeaderCellCtrl.DOM_DATA_KEY_HEADER_CTRL;\n this.gridOptionsWrapper.setDomData(this.eGui, key, this);\n this.addDestroyFunc(function () { return _this.gridOptionsWrapper.setDomData(_this.eGui, key, null); });\n };\n AbstractHeaderCellCtrl.prototype.getGui = function () {\n return this.eGui;\n };\n AbstractHeaderCellCtrl.prototype.focus = function (event) {\n if (!this.eGui) {\n return false;\n }\n this.lastFocusEvent = event || null;\n this.eGui.focus();\n return true;\n };\n AbstractHeaderCellCtrl.prototype.getRowIndex = function () {\n return this.parentRowCtrl.getRowIndex();\n };\n AbstractHeaderCellCtrl.prototype.getParentRowCtrl = function () {\n return this.parentRowCtrl;\n };\n AbstractHeaderCellCtrl.prototype.getPinned = function () {\n return this.parentRowCtrl.getPinned();\n };\n AbstractHeaderCellCtrl.prototype.getInstanceId = function () {\n return this.instanceId;\n };\n AbstractHeaderCellCtrl.prototype.getColumnGroupChild = function () {\n return this.columnGroupChild;\n };\n AbstractHeaderCellCtrl.DOM_DATA_KEY_HEADER_CTRL = 'headerCtrl';\n __decorate$1s([\n Autowired('focusService')\n ], AbstractHeaderCellCtrl.prototype, \"focusService\", void 0);\n __decorate$1s([\n Autowired('beans')\n ], AbstractHeaderCellCtrl.prototype, \"beans\", void 0);\n __decorate$1s([\n Autowired('userComponentFactory')\n ], AbstractHeaderCellCtrl.prototype, \"userComponentFactory\", void 0);\n return AbstractHeaderCellCtrl;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar ClientSideRowModelSteps;\n(function (ClientSideRowModelSteps) {\n ClientSideRowModelSteps[\"EVERYTHING\"] = \"group\";\n ClientSideRowModelSteps[\"FILTER\"] = \"filter\";\n ClientSideRowModelSteps[\"SORT\"] = \"sort\";\n ClientSideRowModelSteps[\"MAP\"] = \"map\";\n ClientSideRowModelSteps[\"AGGREGATE\"] = \"aggregate\";\n ClientSideRowModelSteps[\"FILTER_AGGREGATES\"] = \"filter_aggregates\";\n ClientSideRowModelSteps[\"PIVOT\"] = \"pivot\";\n ClientSideRowModelSteps[\"NOTHING\"] = \"nothing\";\n})(ClientSideRowModelSteps || (ClientSideRowModelSteps = {}));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __decorate$1r = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nfunction unwrapUserComp(comp) {\n var compAsAny = comp;\n var isProxy = compAsAny != null && compAsAny.getFrameworkComponentInstance != null;\n return isProxy ? compAsAny.getFrameworkComponentInstance() : comp;\n}\nvar GridApi = /** @class */ (function () {\n function GridApi() {\n this.detailGridInfoMap = {};\n this.destroyCalled = false;\n }\n GridApi.prototype.registerOverlayWrapperComp = function (overlayWrapperComp) {\n this.overlayWrapperComp = overlayWrapperComp;\n };\n GridApi.prototype.registerSideBarComp = function (sideBarComp) {\n this.sideBarComp = sideBarComp;\n };\n GridApi.prototype.init = function () {\n var _this = this;\n switch (this.rowModel.getType()) {\n case Constants.ROW_MODEL_TYPE_CLIENT_SIDE:\n this.clientSideRowModel = this.rowModel;\n break;\n case Constants.ROW_MODEL_TYPE_INFINITE:\n this.infiniteRowModel = this.rowModel;\n break;\n case Constants.ROW_MODEL_TYPE_SERVER_SIDE:\n this.serverSideRowModel = this.rowModel;\n break;\n }\n this.ctrlsService.whenReady(function () {\n _this.gridBodyCtrl = _this.ctrlsService.getGridBodyCtrl();\n });\n };\n /** Used internally by grid. Not intended to be used by the client. Interface may change between releases. */\n GridApi.prototype.__getAlignedGridService = function () {\n return this.alignedGridsService;\n };\n /** Used internally by grid. Not intended to be used by the client. Interface may change between releases. */\n GridApi.prototype.__getContext = function () {\n return this.context;\n };\n /** Register a detail grid with the master grid when it is created. */\n GridApi.prototype.addDetailGridInfo = function (id, gridInfo) {\n this.detailGridInfoMap[id] = gridInfo;\n };\n /** Unregister a detail grid from the master grid when it is destroyed. */\n GridApi.prototype.removeDetailGridInfo = function (id) {\n this.detailGridInfoMap[id] = undefined;\n };\n /** Returns the `DetailGridInfo` corresponding to the supplied `detailGridId`. */\n GridApi.prototype.getDetailGridInfo = function (id) {\n return this.detailGridInfoMap[id];\n };\n /** Iterates through each `DetailGridInfo` in the grid and calls the supplied callback on each. */\n GridApi.prototype.forEachDetailGridInfo = function (callback) {\n var index = 0;\n iterateObject(this.detailGridInfoMap, function (id, gridInfo) {\n // check for undefined, as old references will still be lying around\n if (exists(gridInfo)) {\n callback(gridInfo, index);\n index++;\n }\n });\n };\n /** Similar to `exportDataAsCsv`, except returns the result as a string rather than download it. */\n GridApi.prototype.getDataAsCsv = function (params) {\n if (ModuleRegistry.assertRegistered(ModuleNames.CsvExportModule, 'api.getDataAsCsv')) {\n return this.csvCreator.getDataAsCsv(params);\n }\n };\n /** Downloads a CSV export of the grid's data. */\n GridApi.prototype.exportDataAsCsv = function (params) {\n if (ModuleRegistry.assertRegistered(ModuleNames.CsvExportModule, 'api.exportDataAsCSv')) {\n this.csvCreator.exportDataAsCsv(params);\n }\n };\n GridApi.prototype.getExcelExportMode = function (params) {\n var baseParams = this.gridOptionsWrapper.getDefaultExportParams('excel');\n var mergedParams = Object.assign({ exportMode: 'xlsx' }, baseParams, params);\n return mergedParams.exportMode;\n };\n /** Similar to `exportDataAsExcel`, except instead of downloading a file, it will return a [Blob](https://developer.mozilla.org/en-US/docs/Web/API/Blob) to be processed by the user. */\n GridApi.prototype.getDataAsExcel = function (params) {\n if (!ModuleRegistry.assertRegistered(ModuleNames.ExcelExportModule, 'api.getDataAsExcel')) {\n return;\n }\n var exportMode = this.getExcelExportMode(params);\n if (this.excelCreator.getFactoryMode(exportMode) === ExcelFactoryMode.MULTI_SHEET) {\n console.warn('AG Grid: The Excel Exporter is currently on Multi Sheet mode. End that operation by calling `api.getMultipleSheetAsExcel()` or `api.exportMultipleSheetsAsExcel()`');\n return;\n }\n return this.excelCreator.getDataAsExcel(params);\n };\n /** Downloads an Excel export of the grid's data. */\n GridApi.prototype.exportDataAsExcel = function (params) {\n if (!ModuleRegistry.assertRegistered(ModuleNames.ExcelExportModule, 'api.exportDataAsExcel')) {\n return;\n }\n var exportMode = this.getExcelExportMode(params);\n if (this.excelCreator.getFactoryMode(exportMode) === ExcelFactoryMode.MULTI_SHEET) {\n console.warn('AG Grid: The Excel Exporter is currently on Multi Sheet mode. End that operation by calling `api.getMultipleSheetAsExcel()` or `api.exportMultipleSheetsAsExcel()`');\n return;\n }\n this.excelCreator.exportDataAsExcel(params);\n };\n /** This is method to be used to get the grid's data as a sheet, that will later be exported either by `getMultipleSheetsAsExcel()` or `exportMultipleSheetsAsExcel()`. */\n GridApi.prototype.getSheetDataForExcel = function (params) {\n if (!ModuleRegistry.assertRegistered(ModuleNames.ExcelExportModule, 'api.getSheetDataForExcel')) {\n return;\n }\n var exportMode = this.getExcelExportMode(params);\n this.excelCreator.setFactoryMode(ExcelFactoryMode.MULTI_SHEET, exportMode);\n return this.excelCreator.getSheetDataForExcel(params);\n };\n /** Similar to `exportMultipleSheetsAsExcel`, except instead of downloading a file, it will return a [Blob](https://developer.mozilla.org/en-US/docs/Web/API/Blob) to be processed by the user. */\n GridApi.prototype.getMultipleSheetsAsExcel = function (params) {\n if (ModuleRegistry.assertRegistered(ModuleNames.ExcelExportModule, 'api.getMultipleSheetsAsExcel')) {\n return this.excelCreator.getMultipleSheetsAsExcel(params);\n }\n };\n /** Downloads an Excel export of multiple sheets in one file. */\n GridApi.prototype.exportMultipleSheetsAsExcel = function (params) {\n if (ModuleRegistry.assertRegistered(ModuleNames.ExcelExportModule, 'api.exportMultipleSheetsAsExcel')) {\n return this.excelCreator.exportMultipleSheetsAsExcel(params);\n }\n };\n /** @deprecated AG Grid: since version 18.x, api.setEnterpriseDatasource() should be replaced with api.setServerSideDatasource() */\n GridApi.prototype.setEnterpriseDatasource = function (datasource) {\n console.warn(\"AG Grid: since version 18.x, api.setEnterpriseDatasource() should be replaced with api.setServerSideDatasource()\");\n this.setServerSideDatasource(datasource);\n };\n /**\n * Sets an ARIA property in the grid panel (element with `role=\\\"grid\\\"`), and removes an ARIA property when the value is null.\n *\n * Example: `api.setGridAriaProperty('label', 'my grid')` will set `aria-label=\\\"my grid\\\"`.\n *\n * `api.setGridAriaProperty('label', null)` will remove the `aria-label` attribute from the grid element.\n */\n GridApi.prototype.setGridAriaProperty = function (property, value) {\n if (!property) {\n return;\n }\n var eGrid = this.ctrlsService.getGridBodyCtrl().getGui();\n var ariaProperty = \"aria-\" + property;\n if (value === null) {\n eGrid.removeAttribute(ariaProperty);\n }\n else {\n eGrid.setAttribute(ariaProperty, value);\n }\n };\n /** Set new datasource for Server-Side Row Model. */\n GridApi.prototype.setServerSideDatasource = function (datasource) {\n if (this.serverSideRowModel) {\n // should really have an IEnterpriseRowModel interface, so we are not casting to any\n this.serverSideRowModel.setDatasource(datasource);\n }\n else {\n console.warn(\"AG Grid: you can only use an enterprise datasource when gridOptions.rowModelType is '\" + Constants.ROW_MODEL_TYPE_SERVER_SIDE + \"'\");\n }\n };\n /**\n * Updates the `cacheBlockSize` used by `serverSideInfiniteScroll` when requesting data from the server.\n *\n * Note this purges all the cached data and reloads all the rows of the grid.\n * */\n GridApi.prototype.setCacheBlockSize = function (blockSize) {\n if (!this.serverSideRowModel) {\n console.warn(\"AG Grid: you can only set cacheBlockSize with gridOptions.rowModelType '\" + Constants.ROW_MODEL_TYPE_SERVER_SIDE + \"'\");\n return;\n }\n this.gridOptionsWrapper.setProperty('cacheBlockSize', blockSize);\n this.serverSideRowModel.resetRootStore();\n };\n /** Set new datasource for Infinite Row Model. */\n GridApi.prototype.setDatasource = function (datasource) {\n if (this.gridOptionsWrapper.isRowModelInfinite()) {\n this.rowModel.setDatasource(datasource);\n }\n else {\n console.warn(\"AG Grid: you can only use a datasource when gridOptions.rowModelType is '\" + Constants.ROW_MODEL_TYPE_INFINITE + \"'\");\n }\n };\n /** Set new datasource for Viewport Row Model. */\n GridApi.prototype.setViewportDatasource = function (viewportDatasource) {\n if (this.gridOptionsWrapper.isRowModelViewport()) {\n // this is bad coding, because it's using an interface that's exposed in the enterprise.\n // really we should create an interface in the core for viewportDatasource and let\n // the enterprise implement it, rather than casting to 'any' here\n this.rowModel.setViewportDatasource(viewportDatasource);\n }\n else {\n console.warn(\"AG Grid: you can only use a viewport datasource when gridOptions.rowModelType is '\" + Constants.ROW_MODEL_TYPE_VIEWPORT + \"'\");\n }\n };\n /** Set the row data. */\n GridApi.prototype.setRowData = function (rowData) {\n // immutable service is part of the CSRM module, if missing, no CSRM\n var missingImmutableService = this.immutableService == null;\n if (missingImmutableService) {\n console.warn('AG Grid: you can only set rowData when using the Client Side Row Model');\n return;\n }\n // if no keys provided provided for rows, then we can tread the operation as Immutable\n if (this.immutableService.isActive()) {\n this.immutableService.setRowData(rowData);\n }\n else {\n this.selectionService.reset();\n this.clientSideRowModel.setRowData(rowData);\n }\n };\n /** @deprecated AG Grid: since v12, api.setFloatingTopRowData() is now api.setPinnedTopRowData() */\n GridApi.prototype.setFloatingTopRowData = function (rows) {\n console.warn('AG Grid: since v12, api.setFloatingTopRowData() is now api.setPinnedTopRowData()');\n this.setPinnedTopRowData(rows);\n };\n /** @deprecated AG Grid: since v12, api.setFloatingBottomRowData() is now api.setPinnedBottomRowData() */\n GridApi.prototype.setFloatingBottomRowData = function (rows) {\n console.warn('AG Grid: since v12, api.setFloatingBottomRowData() is now api.setPinnedBottomRowData()');\n this.setPinnedBottomRowData(rows);\n };\n /** @deprecated AG Grid: since v12, api.getFloatingTopRowCount() is now api.getPinnedTopRowCount() */\n GridApi.prototype.getFloatingTopRowCount = function () {\n console.warn('AG Grid: since v12, api.getFloatingTopRowCount() is now api.getPinnedTopRowCount()');\n return this.getPinnedTopRowCount();\n };\n /** @deprecated AG Grid: since v12, api.getFloatingBottomRowCount() is now api.getPinnedBottomRowCount() */\n GridApi.prototype.getFloatingBottomRowCount = function () {\n console.warn('AG Grid: since v12, api.getFloatingBottomRowCount() is now api.getPinnedBottomRowCount()');\n return this.getPinnedBottomRowCount();\n };\n /** @deprecated AG Grid: since v12, api.getFloatingTopRow() is now api.getPinnedTopRow() */\n GridApi.prototype.getFloatingTopRow = function (index) {\n console.warn('AG Grid: since v12, api.getFloatingTopRow() is now api.getPinnedTopRow()');\n return this.getPinnedTopRow(index);\n };\n /** @deprecated AG Grid: since v12, api.getFloatingBottomRow() is now api.getPinnedBottomRow() */\n GridApi.prototype.getFloatingBottomRow = function (index) {\n console.warn('AG Grid: since v12, api.getFloatingBottomRow() is now api.getPinnedBottomRow()');\n return this.getPinnedBottomRow(index);\n };\n /** Set the top pinned rows. Call with no rows / undefined to clear top pinned rows. */\n GridApi.prototype.setPinnedTopRowData = function (rows) {\n this.pinnedRowModel.setPinnedTopRowData(rows);\n };\n /** Set the bottom pinned rows. Call with no rows / undefined to clear bottom pinned rows. */\n GridApi.prototype.setPinnedBottomRowData = function (rows) {\n this.pinnedRowModel.setPinnedBottomRowData(rows);\n };\n /** Gets the number of top pinned rows. */\n GridApi.prototype.getPinnedTopRowCount = function () {\n return this.pinnedRowModel.getPinnedTopRowCount();\n };\n /** Gets the number of bottom pinned rows. */\n GridApi.prototype.getPinnedBottomRowCount = function () {\n return this.pinnedRowModel.getPinnedBottomRowCount();\n };\n /** Gets the top pinned row with the specified index. */\n GridApi.prototype.getPinnedTopRow = function (index) {\n return this.pinnedRowModel.getPinnedTopRow(index);\n };\n /** Gets the top pinned row with the specified index. */\n GridApi.prototype.getPinnedBottomRow = function (index) {\n return this.pinnedRowModel.getPinnedBottomRow(index);\n };\n /**\n * Call to set new column definitions. The grid will redraw all the column headers, and then redraw all of the rows.\n */\n GridApi.prototype.setColumnDefs = function (colDefs, source) {\n if (source === void 0) { source = \"api\"; }\n this.columnModel.setColumnDefs(colDefs, source);\n };\n /** Call to set new auto group column definition. The grid will recreate any auto-group columns if present. */\n GridApi.prototype.setAutoGroupColumnDef = function (colDef, source) {\n this.gridOptionsWrapper.setProperty(GridOptionsWrapper.PROP_AUTO_GROUP_COLUMN_DEF, colDef, true);\n };\n /** Call to set new Default Column Definition. */\n GridApi.prototype.setDefaultColDef = function (colDef, source) {\n this.gridOptionsWrapper.setProperty(GridOptionsWrapper.PROP_DEFAULT_COL_DEF, colDef, true);\n };\n GridApi.prototype.expireValueCache = function () {\n this.valueCache.expire();\n };\n /**\n * Returns an object with two properties:\n * - `top`: The top pixel position of the current scroll in the grid\n * - `bottom`: The bottom pixel position of the current scroll in the grid\n */\n GridApi.prototype.getVerticalPixelRange = function () {\n return this.gridBodyCtrl.getScrollFeature().getVScrollPosition();\n };\n /**\n * Returns an object with two properties:\n * - `left`: The left pixel position of the current scroll in the grid\n * - `right`: The right pixel position of the current scroll in the grid\n */\n GridApi.prototype.getHorizontalPixelRange = function () {\n return this.gridBodyCtrl.getScrollFeature().getHScrollPosition();\n };\n /** If `true`, the horizontal scrollbar will always be present, even if not required. Otherwise, it will only be displayed when necessary. */\n GridApi.prototype.setAlwaysShowHorizontalScroll = function (show) {\n this.gridOptionsWrapper.setProperty('alwaysShowHorizontalScroll', show);\n };\n /** If `true`, the vertical scrollbar will always be present, even if not required. Otherwise it will only be displayed when necessary. */\n GridApi.prototype.setAlwaysShowVerticalScroll = function (show) {\n this.gridOptionsWrapper.setProperty('alwaysShowVerticalScroll', show);\n };\n /** Force refresh all tool panels by calling their `refresh` method. */\n GridApi.prototype.refreshToolPanel = function () {\n if (!this.sideBarComp) {\n return;\n }\n this.sideBarComp.refresh();\n };\n /** Performs change detection on all cells, refreshing cells where required. */\n GridApi.prototype.refreshCells = function (params) {\n if (params === void 0) { params = {}; }\n if (Array.isArray(params)) {\n // the old version of refreshCells() took an array of rowNodes for the first argument\n console.warn('since AG Grid v11.1, refreshCells() now takes parameters, please see the documentation.');\n return;\n }\n this.rowRenderer.refreshCells(params);\n };\n /** Flash rows, columns or individual cells. */\n GridApi.prototype.flashCells = function (params) {\n if (params === void 0) { params = {}; }\n this.rowRenderer.flashCells(params);\n };\n /** Remove row(s) from the DOM and recreate them again from scratch. */\n GridApi.prototype.redrawRows = function (params) {\n if (params === void 0) { params = {}; }\n var rowNodes = params ? params.rowNodes : undefined;\n this.rowRenderer.redrawRows(rowNodes);\n };\n GridApi.prototype.setFunctionsReadOnly = function (readOnly) {\n this.gridOptionsWrapper.setProperty('functionsReadOnly', readOnly);\n };\n /** Redraws the header. Useful if a column name changes, or something else that changes how the column header is displayed. */\n GridApi.prototype.refreshHeader = function () {\n this.ctrlsService.getHeaderRowContainerCtrls().forEach(function (c) { return c.refresh(); });\n };\n /** Returns `true` if any filter is set. This includes quick filter, advanced filter or external filter. */\n GridApi.prototype.isAnyFilterPresent = function () {\n return this.filterManager.isAnyFilterPresent();\n };\n /** Returns `true` if any column filter is set, otherwise `false`. */\n GridApi.prototype.isColumnFilterPresent = function () {\n return this.filterManager.isColumnFilterPresent() || this.filterManager.isAggregateFilterPresent();\n };\n /** Returns `true` if the quick filter is set, otherwise `false`. */\n GridApi.prototype.isQuickFilterPresent = function () {\n return this.filterManager.isQuickFilterPresent();\n };\n /**\n * Returns the row model inside the table.\n * From here you can see the original rows, rows after filter has been applied,\n * rows after aggregation has been applied, and the final set of 'to be displayed' rows.\n */\n GridApi.prototype.getModel = function () {\n return this.rowModel;\n };\n /** Expand or collapse a specific row node. */\n GridApi.prototype.setRowNodeExpanded = function (rowNode, expanded) {\n if (rowNode) {\n rowNode.setExpanded(expanded);\n }\n };\n /**\n * If after getting the model, you expand or collapse a group, call this method to inform the grid.\n * It will work out the final set of 'to be displayed' rows again (i.e. expand or collapse the group visually).\n */\n GridApi.prototype.onGroupExpandedOrCollapsed = function (deprecated_refreshFromIndex) {\n if (missing(this.clientSideRowModel)) {\n console.warn('AG Grid: cannot call onGroupExpandedOrCollapsed unless using normal row model');\n }\n if (exists(deprecated_refreshFromIndex)) {\n console.warn('AG Grid: api.onGroupExpandedOrCollapsed - refreshFromIndex parameter is no longer used, the grid will refresh all rows');\n }\n // we don't really want the user calling this if only one rowNode was expanded, instead they should be\n // calling rowNode.setExpanded(boolean) - this way we do a 'keepRenderedRows=false' so that the whole\n // grid gets refreshed again - otherwise the row with the rowNodes that were changed won't get updated,\n // and thus the expand icon in the group cell won't get 'opened' or 'closed'.\n this.clientSideRowModel.refreshModel({ step: ClientSideRowModelSteps.MAP });\n };\n /** @deprecated AG Grid: since version 18.x, api.refreshInMemoryRowModel() should be replaced with api.refreshClientSideRowModel() */\n GridApi.prototype.refreshInMemoryRowModel = function (step) {\n console.warn(\"AG Grid: since version 18.x, api.refreshInMemoryRowModel() should be replaced with api.refreshClientSideRowModel()\");\n this.refreshClientSideRowModel(step);\n };\n /**\n * Refresh the Client-Side Row Model, executing the grouping, filtering and sorting again.\n * Optionally provide the step you wish the refresh to apply from. Defaults to `everything`.\n */\n GridApi.prototype.refreshClientSideRowModel = function (step) {\n if (missing(this.clientSideRowModel)) {\n console.warn('cannot call refreshClientSideRowModel unless using normal row model');\n }\n var paramsStep = ClientSideRowModelSteps.EVERYTHING;\n var stepsMapped = {\n everything: ClientSideRowModelSteps.EVERYTHING,\n group: ClientSideRowModelSteps.EVERYTHING,\n filter: ClientSideRowModelSteps.FILTER,\n map: ClientSideRowModelSteps.MAP,\n aggregate: ClientSideRowModelSteps.AGGREGATE,\n sort: ClientSideRowModelSteps.SORT,\n pivot: ClientSideRowModelSteps.PIVOT\n };\n if (exists(step)) {\n paramsStep = stepsMapped[step];\n }\n if (missing(paramsStep)) {\n console.error(\"AG Grid: invalid step \" + step + \", available steps are \" + Object.keys(stepsMapped).join(', '));\n return;\n }\n var animate = !this.gridOptionsWrapper.isSuppressAnimationFrame();\n var modelParams = {\n step: paramsStep,\n keepRenderedRows: true,\n keepEditingRows: true,\n animate: animate\n };\n this.clientSideRowModel.refreshModel(modelParams);\n };\n /** Returns `true` when there are no more animation frames left to process. */\n GridApi.prototype.isAnimationFrameQueueEmpty = function () {\n return this.animationFrameService.isQueueEmpty();\n };\n GridApi.prototype.flushAllAnimationFrames = function () {\n this.animationFrameService.flushAllFrames();\n };\n /**\n * Returns the row node with the given ID.\n * The row node ID is the one you provide from the callback `getRowId(params)`,\n * otherwise the ID is a number (cast as string) auto-generated by the grid when\n * the row data is set.\n */\n GridApi.prototype.getRowNode = function (id) {\n return this.rowModel.getRowNode(id);\n };\n /**\n * Gets the sizes that various UI elements will be rendered at with the current theme.\n * If you override the row or header height using `gridOptions`, the override value you provided will be returned.\n */\n GridApi.prototype.getSizesForCurrentTheme = function () {\n return {\n rowHeight: this.gridOptionsWrapper.getRowHeightAsNumber(),\n headerHeight: this.gridOptionsWrapper.getHeaderHeight()\n };\n };\n /** Expand all groups. */\n GridApi.prototype.expandAll = function () {\n if (this.clientSideRowModel) {\n this.clientSideRowModel.expandOrCollapseAll(true);\n }\n else if (this.serverSideRowModel) {\n this.serverSideRowModel.expandAll(true);\n }\n else {\n console.warn('AG Grid: expandAll only works with Client Side Row Model and Server Side Row Model');\n }\n };\n /** Collapse all groups. */\n GridApi.prototype.collapseAll = function () {\n if (this.clientSideRowModel) {\n this.clientSideRowModel.expandOrCollapseAll(false);\n }\n else if (this.serverSideRowModel) {\n this.serverSideRowModel.expandAll(false);\n }\n else {\n console.warn('AG Grid: collapseAll only works with Client Side Row Model and Server Side Row Model');\n }\n };\n /** Gets the tool panel instance corresponding to the supplied `id`. */\n GridApi.prototype.getToolPanelInstance = function (id) {\n if (!this.sideBarComp) {\n console.warn('AG Grid: toolPanel is only available in AG Grid Enterprise');\n return;\n }\n var comp = this.sideBarComp.getToolPanelInstance(id);\n return unwrapUserComp(comp);\n };\n GridApi.prototype.addVirtualRowListener = function (eventName, rowIndex, callback) {\n if (typeof eventName !== 'string') {\n console.warn('AG Grid: addVirtualRowListener is deprecated, please use addRenderedRowListener.');\n }\n this.addRenderedRowListener(eventName, rowIndex, callback);\n };\n /**\n * Registers a callback to a virtual row.\n * A virtual row is a row that is visually rendered on the screen (rows that are not visible because of the scroll position are not rendered).\n * Unlike normal events, you do not need to unregister rendered row listeners.\n * When the rendered row is removed from the grid, all associated rendered row listeners will also be removed.\n * listen for this event if your `cellRenderer` needs to do cleanup when the row no longer exists.\n */\n GridApi.prototype.addRenderedRowListener = function (eventName, rowIndex, callback) {\n if (eventName === 'virtualRowSelected') {\n console.warn(\"AG Grid: event virtualRowSelected is deprecated, to register for individual row\\n selection events, add a listener directly to the row node.\");\n }\n this.rowRenderer.addRenderedRowListener(eventName, rowIndex, callback);\n };\n /** Pass a quick filter text into the grid for filtering. */\n GridApi.prototype.setQuickFilter = function (newFilter) {\n this.filterManager.setQuickFilter(newFilter);\n };\n /** @deprecated AG Grid: do not use api for selection, call rowNode.setSelected(value) instead */\n GridApi.prototype.selectIndex = function (index, tryMulti, suppressEvents) {\n console.warn('AG Grid: do not use api for selection, call rowNode.setSelected(value) instead');\n if (suppressEvents) {\n console.warn('AG Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it');\n }\n this.selectionService.selectIndex(index, tryMulti);\n };\n /** @deprecated AG Grid: do not use api for selection, call rowNode.setSelected(value) instead. */\n GridApi.prototype.deselectIndex = function (index, suppressEvents) {\n if (suppressEvents === void 0) { suppressEvents = false; }\n console.warn('AG Grid: do not use api for selection, call rowNode.setSelected(value) instead');\n if (suppressEvents) {\n console.warn('AG Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it');\n }\n this.selectionService.deselectIndex(index);\n };\n /** @deprecated AG Grid: API for selection is deprecated, call rowNode.setSelected(value) instead. */\n GridApi.prototype.selectNode = function (node, tryMulti, suppressEvents) {\n if (tryMulti === void 0) { tryMulti = false; }\n if (suppressEvents === void 0) { suppressEvents = false; }\n console.warn('AG Grid: API for selection is deprecated, call rowNode.setSelected(value) instead');\n if (suppressEvents) {\n console.warn('AG Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it');\n }\n node.setSelectedParams({ newValue: true, clearSelection: !tryMulti });\n };\n /** @deprecated AG Grid: API for selection is deprecated, call rowNode.setSelected(value) instead. */\n GridApi.prototype.deselectNode = function (node, suppressEvents) {\n if (suppressEvents === void 0) { suppressEvents = false; }\n console.warn('AG Grid: API for selection is deprecated, call rowNode.setSelected(value) instead');\n if (suppressEvents) {\n console.warn('AG Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it');\n }\n node.setSelectedParams({ newValue: false });\n };\n /** Select all rows, regardless of filtering and rows that are not visible due to grouping being enabled and their groups not expanded. */\n GridApi.prototype.selectAll = function () {\n this.selectionService.selectAllRowNodes();\n };\n /** Clear all row selections, regardless of filtering. */\n GridApi.prototype.deselectAll = function () {\n this.selectionService.deselectAllRowNodes();\n };\n /** Select all filtered rows. */\n GridApi.prototype.selectAllFiltered = function () {\n this.selectionService.selectAllRowNodes(true);\n };\n /** Clear all filtered selections. */\n GridApi.prototype.deselectAllFiltered = function () {\n this.selectionService.deselectAllRowNodes(true);\n };\n /** @deprecated recomputeAggregates is deprecated, please call api.refreshClientSideRowModel('aggregate') instead */\n GridApi.prototype.recomputeAggregates = function () {\n if (missing(this.clientSideRowModel)) {\n console.warn('cannot call recomputeAggregates unless using normal row model');\n }\n console.warn(\"recomputeAggregates is deprecated, please call api.refreshClientSideRowModel('aggregate') instead\");\n this.clientSideRowModel.refreshModel({ step: ClientSideRowModelSteps.AGGREGATE });\n };\n /**\n * Sets columns to adjust in size to fit the grid horizontally.\n **/\n GridApi.prototype.sizeColumnsToFit = function (params) {\n this.gridBodyCtrl.sizeColumnsToFit(params);\n };\n /** Show the 'loading' overlay. */\n GridApi.prototype.showLoadingOverlay = function () {\n this.overlayWrapperComp.showLoadingOverlay();\n };\n /** Show the 'no rows' overlay. */\n GridApi.prototype.showNoRowsOverlay = function () {\n this.overlayWrapperComp.showNoRowsOverlay();\n };\n /** Hides the overlay if showing. */\n GridApi.prototype.hideOverlay = function () {\n this.overlayWrapperComp.hideOverlay();\n };\n GridApi.prototype.isNodeSelected = function (node) {\n console.warn('AG Grid: no need to call api.isNodeSelected(), just call node.isSelected() instead');\n return node.isSelected();\n };\n /** @deprecated Use getSelectedNodesById no longer exists, use getSelectedNodes(). */\n GridApi.prototype.getSelectedNodesById = function () {\n console.error('AG Grid: since version 3.4, getSelectedNodesById no longer exists, use getSelectedNodes() instead');\n return null;\n };\n /**\n * Returns an unsorted list of selected nodes.\n * Getting the underlying node (rather than the data) is useful when working with tree / aggregated data,\n * as the node can be traversed.\n */\n GridApi.prototype.getSelectedNodes = function () {\n return this.selectionService.getSelectedNodes();\n };\n /** Returns an unsorted list of selected rows (i.e. row data that you provided). */\n GridApi.prototype.getSelectedRows = function () {\n return this.selectionService.getSelectedRows();\n };\n /**\n * Returns a list of all selected nodes at 'best cost', a feature to be used with groups / trees.\n * If a group has all its children selected, then the group appears in the result, but not the children.\n * Designed for use with `'children'` as the group selection type, where groups don't actually appear in the selection normally.\n */\n GridApi.prototype.getBestCostNodeSelection = function () {\n return this.selectionService.getBestCostNodeSelection();\n };\n /** Retrieve rendered nodes. Due to virtualisation this will contain only the current visible rows and those in the buffer. */\n GridApi.prototype.getRenderedNodes = function () {\n return this.rowRenderer.getRenderedNodes();\n };\n /** @deprecated ensureColIndexVisible(index) no longer supported, use ensureColumnVisible(colKey) instead. */\n GridApi.prototype.ensureColIndexVisible = function (index) {\n console.warn('AG Grid: ensureColIndexVisible(index) no longer supported, use ensureColumnVisible(colKey) instead.');\n };\n /**\n * Ensures the column is visible by scrolling the table if needed.\n *\n * This will have no effect before the firstDataRendered event has fired.\n *\n * @param key - The column to ensure visible\n * @param position - Where the column will be positioned.\n * - `auto` - Scrolls the minimum amount to make sure the column is visible.\n * - `start` - Scrolls the column to the start of the viewport.\n * - `middle` - Scrolls the column to the middle of the viewport.\n * - `end` - Scrolls the column to the end of the viewport.\n */\n GridApi.prototype.ensureColumnVisible = function (key, position) {\n if (position === void 0) { position = 'auto'; }\n this.gridBodyCtrl.getScrollFeature().ensureColumnVisible(key, position);\n };\n /**\n * Vertically scrolls the grid until the provided row index is inside the visible viewport.\n * If a position is provided, the grid will attempt to scroll until the row is at the given position within the viewport.\n * This will have no effect before the firstDataRendered event has fired.\n */\n GridApi.prototype.ensureIndexVisible = function (index, position) {\n this.gridBodyCtrl.getScrollFeature().ensureIndexVisible(index, position);\n };\n /**\n * Vertically scrolls the grid until the provided row (or a row matching the provided comparator) is inside the visible viewport.\n * If a position is provided, the grid will attempt to scroll until the row is at the given position within the viewport.\n * This will have no effect before the firstDataRendered event has fired.\n */\n GridApi.prototype.ensureNodeVisible = function (nodeSelector, position) {\n if (position === void 0) { position = null; }\n this.gridBodyCtrl.getScrollFeature().ensureNodeVisible(nodeSelector, position);\n };\n /**\n * Similar to `forEachNode`, except lists all the leaf nodes.\n * This effectively goes through all the data that you provided to the grid before the grid performed any grouping.\n * If using tree data, goes through all the nodes for the data you provided, including nodes that have children,\n * but excluding groups the grid created where gaps were missing in the hierarchy.\n */\n GridApi.prototype.forEachLeafNode = function (callback) {\n if (missing(this.clientSideRowModel)) {\n console.warn('cannot call forEachNode unless using normal row model');\n }\n this.clientSideRowModel.forEachLeafNode(callback);\n };\n /**\n * Iterates through each node (row) in the grid and calls the callback for each node.\n * This works similar to the `forEach` method on a JavaScript array.\n * This is called for every node, ignoring any filtering or sorting applied within the grid.\n * If using the Infinite Row Model, then this gets called for each page loaded in the page cache.\n */\n GridApi.prototype.forEachNode = function (callback) {\n this.rowModel.forEachNode(callback);\n };\n /** Similar to `forEachNode`, except skips any filtered out data. */\n GridApi.prototype.forEachNodeAfterFilter = function (callback) {\n if (missing(this.clientSideRowModel)) {\n console.warn('cannot call forEachNodeAfterFilter unless using normal row model');\n }\n this.clientSideRowModel.forEachNodeAfterFilter(callback);\n };\n /** Similar to `forEachNodeAfterFilter`, except the callbacks are called in the order the rows are displayed in the grid. */\n GridApi.prototype.forEachNodeAfterFilterAndSort = function (callback) {\n if (missing(this.clientSideRowModel)) {\n console.warn('cannot call forEachNodeAfterFilterAndSort unless using normal row model');\n }\n this.clientSideRowModel.forEachNodeAfterFilterAndSort(callback);\n };\n /**\n * Returns the filter component instance for a column.\n * `key` can be a string field name or a ColDef object (matches on object reference, useful if field names are not unique).\n * If your filter is created asynchronously, `getFilterInstance` will return `null` so you will need to use the `callback` to access the filter instance instead.\n */\n GridApi.prototype.getFilterInstance = function (key, callback) {\n var res = this.getFilterInstanceImpl(key, function (instance) {\n if (!callback) {\n return;\n }\n var unwrapped = unwrapUserComp(instance);\n callback(unwrapped);\n });\n var unwrapped = unwrapUserComp(res);\n return unwrapped;\n };\n GridApi.prototype.getFilterInstanceImpl = function (key, callback) {\n var column = this.columnModel.getPrimaryColumn(key);\n if (!column) {\n return undefined;\n }\n var filterPromise = this.filterManager.getFilterComponent(column, 'NO_UI');\n var currentValue = filterPromise && filterPromise.resolveNow(null, function (filterComp) { return filterComp; });\n if (currentValue) {\n setTimeout(callback, 0, currentValue);\n }\n else if (filterPromise) {\n filterPromise.then(function (comp) {\n callback(comp);\n });\n }\n return currentValue;\n };\n /** Destroys a filter. Useful to force a particular filter to be created from scratch again. */\n GridApi.prototype.destroyFilter = function (key) {\n var column = this.columnModel.getPrimaryColumn(key);\n if (column) {\n return this.filterManager.destroyFilter(column, \"filterDestroyed\");\n }\n };\n /** Gets the status panel instance corresponding to the supplied `id`. */\n GridApi.prototype.getStatusPanel = function (key) {\n if (!this.statusBarService) {\n return;\n }\n var comp = this.statusBarService.getStatusPanel(key);\n return unwrapUserComp(comp);\n };\n GridApi.prototype.getColumnDef = function (key) {\n var column = this.columnModel.getPrimaryColumn(key);\n if (column) {\n return column.getColDef();\n }\n return null;\n };\n /**\n * Returns the current column definitions.\n */\n GridApi.prototype.getColumnDefs = function () { return this.columnModel.getColumnDefs(); };\n /** Informs the grid that a filter has changed. This is typically called after a filter change through one of the filter APIs. */\n GridApi.prototype.onFilterChanged = function () {\n this.filterManager.onFilterChanged();\n };\n /**\n * Gets the grid to act as if the sort was changed.\n * Useful if you update some values and want to get the grid to reorder them according to the new values.\n */\n GridApi.prototype.onSortChanged = function () {\n this.sortController.onSortChanged('api');\n };\n /** Sets the state of all the advanced filters. Provide it with what you get from `getFilterModel()` to restore filter state. */\n GridApi.prototype.setFilterModel = function (model) {\n this.filterManager.setFilterModel(model);\n };\n /** Gets the current state of all the advanced filters. Used for saving filter state. */\n GridApi.prototype.getFilterModel = function () {\n return this.filterManager.getFilterModel();\n };\n /** Returns the focused cell (or the last focused cell if the grid lost focus). */\n GridApi.prototype.getFocusedCell = function () {\n return this.focusService.getFocusedCell();\n };\n /** Clears the focused cell. */\n GridApi.prototype.clearFocusedCell = function () {\n return this.focusService.clearFocusedCell();\n };\n /** Sets the focus to the specified cell. `rowPinned` can be either 'top', 'bottom' or null (for not pinned). */\n GridApi.prototype.setFocusedCell = function (rowIndex, colKey, rowPinned) {\n this.focusService.setFocusedCell({ rowIndex: rowIndex, column: colKey, rowPinned: rowPinned, forceBrowserFocus: true });\n };\n /** Sets the `suppressRowDrag` property. */\n GridApi.prototype.setSuppressRowDrag = function (value) {\n this.gridOptionsWrapper.setProperty(GridOptionsWrapper.PROP_SUPPRESS_ROW_DRAG, value);\n };\n /** Sets the `suppressMoveWhenRowDragging` property. */\n GridApi.prototype.setSuppressMoveWhenRowDragging = function (value) {\n this.gridOptionsWrapper.setProperty(GridOptionsWrapper.PROP_SUPPRESS_MOVE_WHEN_ROW_DRAG, value);\n };\n /** Sets the `suppressRowClickSelection` property. */\n GridApi.prototype.setSuppressRowClickSelection = function (value) {\n this.gridOptionsWrapper.setProperty(GridOptionsWrapper.PROP_SUPPRESS_ROW_CLICK_SELECTION, value);\n };\n /** Adds a drop zone outside of the grid where rows can be dropped. */\n GridApi.prototype.addRowDropZone = function (params) {\n this.gridBodyCtrl.getRowDragFeature().addRowDropZone(params);\n };\n /** Removes an external drop zone added by `addRowDropZone`. */\n GridApi.prototype.removeRowDropZone = function (params) {\n var activeDropTarget = this.dragAndDropService.findExternalZone(params);\n if (activeDropTarget) {\n this.dragAndDropService.removeDropTarget(activeDropTarget);\n }\n };\n /** Returns the `RowDropZoneParams` to be used by another grid's `addRowDropZone` method. */\n GridApi.prototype.getRowDropZoneParams = function (events) {\n return this.gridBodyCtrl.getRowDragFeature().getRowDropZone(events);\n };\n /** Sets the height in pixels for the row containing the column label header. */\n GridApi.prototype.setHeaderHeight = function (headerHeight) {\n this.gridOptionsWrapper.setProperty(GridOptionsWrapper.PROP_HEADER_HEIGHT, headerHeight);\n };\n /**\n * Switch between layout options: `normal`, `autoHeight`, `print`.\n * Defaults to `normal` if no domLayout provided.\n */\n GridApi.prototype.setDomLayout = function (domLayout) {\n this.gridOptionsWrapper.setProperty(GridOptionsWrapper.PROP_DOM_LAYOUT, domLayout);\n };\n /** Sets the `enableCellTextSelection` property. */\n GridApi.prototype.setEnableCellTextSelection = function (selectable) {\n this.gridBodyCtrl.setCellTextSelection(selectable);\n };\n /** Sets the preferred direction for the selection fill handle. */\n GridApi.prototype.setFillHandleDirection = function (direction) {\n this.gridOptionsWrapper.setProperty(GridOptionsWrapper.PROP_FILL_HANDLE_DIRECTION, direction);\n };\n /** Sets the height in pixels for the rows containing header column groups. */\n GridApi.prototype.setGroupHeaderHeight = function (headerHeight) {\n this.gridOptionsWrapper.setProperty(GridOptionsWrapper.PROP_GROUP_HEADER_HEIGHT, headerHeight);\n };\n /** Sets the height in pixels for the row containing the floating filters. */\n GridApi.prototype.setFloatingFiltersHeight = function (headerHeight) {\n this.gridOptionsWrapper.setProperty(GridOptionsWrapper.PROP_FLOATING_FILTERS_HEIGHT, headerHeight);\n };\n /** Sets the height in pixels for the row containing the columns when in pivot mode. */\n GridApi.prototype.setPivotHeaderHeight = function (headerHeight) {\n this.gridOptionsWrapper.setProperty(GridOptionsWrapper.PROP_PIVOT_HEADER_HEIGHT, headerHeight);\n };\n /** Sets the height in pixels for the row containing header column groups when in pivot mode. */\n GridApi.prototype.setPivotGroupHeaderHeight = function (headerHeight) {\n this.gridOptionsWrapper.setProperty(GridOptionsWrapper.PROP_PIVOT_GROUP_HEADER_HEIGHT, headerHeight);\n };\n GridApi.prototype.setIsExternalFilterPresent = function (isExternalFilterPresentFunc) {\n this.gridOptionsWrapper.setProperty(GridOptionsWrapper.PROP_IS_EXTERNAL_FILTER_PRESENT, isExternalFilterPresentFunc);\n };\n GridApi.prototype.setDoesExternalFilterPass = function (doesExternalFilterPassFunc) {\n this.gridOptionsWrapper.setProperty(GridOptionsWrapper.PROP_DOES_EXTERNAL_FILTER_PASS, doesExternalFilterPassFunc);\n };\n GridApi.prototype.setNavigateToNextCell = function (navigateToNextCellFunc) {\n this.gridOptionsWrapper.setProperty(GridOptionsWrapper.PROP_NAVIGATE_TO_NEXT_CELL, navigateToNextCellFunc);\n };\n GridApi.prototype.setTabToNextCell = function (tabToNextCellFunc) {\n this.gridOptionsWrapper.setProperty(GridOptionsWrapper.PROP_TAB_TO_NEXT_CELL, tabToNextCellFunc);\n };\n GridApi.prototype.setTabToNextHeader = function (tabToNextHeaderFunc) {\n this.gridOptionsWrapper.setProperty(GridOptionsWrapper.PROP_TAB_TO_NEXT_HEADER, tabToNextHeaderFunc);\n };\n GridApi.prototype.setNavigateToNextHeader = function (navigateToNextHeaderFunc) {\n this.gridOptionsWrapper.setProperty(GridOptionsWrapper.PROP_NAVIGATE_TO_NEXT_HEADER, navigateToNextHeaderFunc);\n };\n GridApi.prototype.setRowGroupPanelShow = function (rowGroupPanelShow) {\n this.gridOptionsWrapper.setProperty('rowGroupPanelShow', rowGroupPanelShow);\n };\n GridApi.prototype.setGroupRowAggNodes = function (groupRowAggNodesFunc) {\n this.gridOptionsWrapper.setProperty(GridOptionsWrapper.PROP_GROUP_ROW_AGG_NODES, groupRowAggNodesFunc);\n };\n GridApi.prototype.setGetGroupRowAgg = function (getGroupRowAggFunc) {\n this.gridOptionsWrapper.setProperty(GridOptionsWrapper.PROP_GET_GROUP_ROW_AGG, getGroupRowAggFunc);\n };\n GridApi.prototype.setGetBusinessKeyForNode = function (getBusinessKeyForNodeFunc) {\n this.gridOptionsWrapper.setProperty(GridOptionsWrapper.PROP_GET_BUSINESS_KEY_FOR_NODE, getBusinessKeyForNodeFunc);\n };\n GridApi.prototype.setGetChildCount = function (getChildCountFunc) {\n this.gridOptionsWrapper.setProperty(GridOptionsWrapper.PROP_GET_CHILD_COUNT, getChildCountFunc);\n };\n GridApi.prototype.setProcessRowPostCreate = function (processRowPostCreateFunc) {\n this.gridOptionsWrapper.setProperty(GridOptionsWrapper.PROP_PROCESS_ROW_POST_CREATE, processRowPostCreateFunc);\n };\n GridApi.prototype.setGetRowNodeId = function (getRowNodeIdFunc) {\n this.gridOptionsWrapper.setProperty(GridOptionsWrapper.PROP_GET_ROW_NODE_ID, getRowNodeIdFunc);\n };\n GridApi.prototype.setGetRowId = function (getRowIdFunc) {\n this.gridOptionsWrapper.setProperty(GridOptionsWrapper.PROP_GET_ROW_ID, getRowIdFunc);\n };\n GridApi.prototype.setGetRowClass = function (rowClassFunc) {\n this.gridOptionsWrapper.setProperty(GridOptionsWrapper.PROP_GET_ROW_CLASS, rowClassFunc);\n };\n GridApi.prototype.setIsFullWidthCell = function (isFullWidthCellFunc) {\n this.gridOptionsWrapper.setProperty(GridOptionsWrapper.PROP_IS_FULL_WIDTH_CELL, isFullWidthCellFunc);\n };\n GridApi.prototype.setIsFullWidthRow = function (isFullWidthRowFunc) {\n this.gridOptionsWrapper.setProperty(GridOptionsWrapper.PROP_IS_FULL_WIDTH_ROW, isFullWidthRowFunc);\n };\n GridApi.prototype.setIsRowSelectable = function (isRowSelectableFunc) {\n this.gridOptionsWrapper.setProperty(GridOptionsWrapper.PROP_IS_ROW_SELECTABLE, isRowSelectableFunc);\n };\n GridApi.prototype.setIsRowMaster = function (isRowMasterFunc) {\n this.gridOptionsWrapper.setProperty(GridOptionsWrapper.PROP_IS_ROW_MASTER, isRowMasterFunc);\n };\n GridApi.prototype.setPostSort = function (postSortFunc) {\n this.gridOptionsWrapper.setProperty(GridOptionsWrapper.PROP_POST_SORT, postSortFunc);\n };\n GridApi.prototype.setPostSortRows = function (postSortRowsFunc) {\n this.gridOptionsWrapper.setProperty(GridOptionsWrapper.PROP_POST_SORT_ROWS, postSortRowsFunc);\n };\n GridApi.prototype.setGetDocument = function (getDocumentFunc) {\n this.gridOptionsWrapper.setProperty(GridOptionsWrapper.PROP_GET_DOCUMENT, getDocumentFunc);\n };\n GridApi.prototype.setGetContextMenuItems = function (getContextMenuItemsFunc) {\n this.gridOptionsWrapper.setProperty(GridOptionsWrapper.PROP_GET_CONTEXT_MENU_ITEMS, getContextMenuItemsFunc);\n };\n GridApi.prototype.setGetMainMenuItems = function (getMainMenuItemsFunc) {\n this.gridOptionsWrapper.setProperty(GridOptionsWrapper.PROP_GET_MAIN_MENU_ITEMS, getMainMenuItemsFunc);\n };\n GridApi.prototype.setProcessCellForClipboard = function (processCellForClipboardFunc) {\n this.gridOptionsWrapper.setProperty(GridOptionsWrapper.PROP_PROCESS_CELL_FOR_CLIPBOARD, processCellForClipboardFunc);\n };\n GridApi.prototype.setSendToClipboard = function (sendToClipboardFunc) {\n this.gridOptionsWrapper.setProperty(GridOptionsWrapper.PROP_SEND_TO_CLIPBOARD, sendToClipboardFunc);\n };\n GridApi.prototype.setProcessCellFromClipboard = function (processCellFromClipboardFunc) {\n this.gridOptionsWrapper.setProperty(GridOptionsWrapper.PROP_PROCESS_CELL_FROM_CLIPBOARD, processCellFromClipboardFunc);\n };\n /** @deprecated use `setProcessPivotResultColDef` instead */\n GridApi.prototype.setProcessSecondaryColDef = function (processSecondaryColDefFunc) {\n console.warn('AG Grid: since version 28.0.x setProcessSecondaryColDef has been renamed, please use setProcessPivotResultColDef instead');\n this.setProcessPivotResultColDef(processSecondaryColDefFunc);\n };\n /** @deprecated use `setProcessPivotResultColGroupDef` instead */\n GridApi.prototype.setProcessSecondaryColGroupDef = function (processSecondaryColGroupDefFunc) {\n console.warn('AG Grid: since version 28.0.x setProcessSecondaryColGroupDef has been renamed, please use setProcessPivotResultColGroupDef instead');\n this.setProcessPivotResultColGroupDef(processSecondaryColGroupDefFunc);\n };\n GridApi.prototype.setProcessPivotResultColDef = function (processPivotResultColDefFunc) {\n this.gridOptionsWrapper.setProperty(GridOptionsWrapper.PROP_PROCESS_PIVOT_RESULT_COL_DEF, processPivotResultColDefFunc);\n };\n GridApi.prototype.setProcessPivotResultColGroupDef = function (processPivotResultColGroupDefFunc) {\n this.gridOptionsWrapper.setProperty(GridOptionsWrapper.PROP_PROCESS_PIVOT_RESULT_COL_GROUP_DEF, processPivotResultColGroupDefFunc);\n };\n GridApi.prototype.setPostProcessPopup = function (postProcessPopupFunc) {\n this.gridOptionsWrapper.setProperty(GridOptionsWrapper.PROP_POST_PROCESS_POPUP, postProcessPopupFunc);\n };\n GridApi.prototype.setDefaultGroupOrderComparator = function (defaultGroupOrderComparatorFunc) {\n this.gridOptionsWrapper.setProperty(GridOptionsWrapper.PROP_DEFAULT_GROUP_ORDER_COMPARATOR, defaultGroupOrderComparatorFunc);\n };\n GridApi.prototype.setInitialGroupOrderComparator = function (initialGroupOrderComparatorFunc) {\n this.gridOptionsWrapper.setProperty(GridOptionsWrapper.PROP_INITIAL_GROUP_ORDER_COMPARATOR, initialGroupOrderComparatorFunc);\n };\n GridApi.prototype.setGetChartToolbarItems = function (getChartToolbarItemsFunc) {\n this.gridOptionsWrapper.setProperty(GridOptionsWrapper.PROP_GET_CHART_TOOLBAR_ITEMS, getChartToolbarItemsFunc);\n };\n GridApi.prototype.setPaginationNumberFormatter = function (paginationNumberFormatterFunc) {\n this.gridOptionsWrapper.setProperty(GridOptionsWrapper.PROP_PAGINATION_NUMBER_FORMATTER, paginationNumberFormatterFunc);\n };\n /** @deprecated use setGetServerSideGroupLevelParams instead */\n GridApi.prototype.setGetServerSideStoreParams = function (getServerSideStoreParamsFunc) {\n this.setGetServerSideGroupLevelParams(getServerSideStoreParamsFunc);\n };\n GridApi.prototype.setGetServerSideGroupLevelParams = function (getServerSideGroupLevelParamsFunc) {\n this.gridOptionsWrapper.setProperty(GridOptionsWrapper.PROP_GET_SERVER_SIDE_GROUP_PARAMS, getServerSideGroupLevelParamsFunc);\n };\n GridApi.prototype.setIsServerSideGroupOpenByDefault = function (isServerSideGroupOpenByDefaultFunc) {\n this.gridOptionsWrapper.setProperty(GridOptionsWrapper.PROP_IS_SERVER_SIDE_GROUPS_OPEN_BY_DEFAULT, isServerSideGroupOpenByDefaultFunc);\n };\n GridApi.prototype.setIsApplyServerSideTransaction = function (isApplyServerSideTransactionFunc) {\n this.gridOptionsWrapper.setProperty(GridOptionsWrapper.PROP_IS_APPLY_SERVER_SIDE_TRANSACTION, isApplyServerSideTransactionFunc);\n };\n GridApi.prototype.setIsServerSideGroup = function (isServerSideGroupFunc) {\n this.gridOptionsWrapper.setProperty(GridOptionsWrapper.PROP_IS_SERVER_SIDE_GROUP, isServerSideGroupFunc);\n };\n GridApi.prototype.setGetServerSideGroupKey = function (getServerSideGroupKeyFunc) {\n this.gridOptionsWrapper.setProperty(GridOptionsWrapper.PROP_GET_SERVER_SIDE_GROUP_KEY, getServerSideGroupKeyFunc);\n };\n GridApi.prototype.setGetRowStyle = function (rowStyleFunc) {\n this.gridOptionsWrapper.setProperty(GridOptionsWrapper.PROP_GET_ROW_STYLE, rowStyleFunc);\n };\n GridApi.prototype.setGetRowHeight = function (rowHeightFunc) {\n this.gridOptionsWrapper.setProperty(GridOptionsWrapper.PROP_GET_ROW_HEIGHT, rowHeightFunc);\n };\n /** Returns `true` if the side bar is visible. */\n GridApi.prototype.isSideBarVisible = function () {\n return this.sideBarComp ? this.sideBarComp.isDisplayed() : false;\n };\n /** Show/hide the entire side bar, including any visible panel and the tab buttons. */\n GridApi.prototype.setSideBarVisible = function (show) {\n if (!this.sideBarComp) {\n if (show) {\n console.warn('AG Grid: sideBar is not loaded');\n }\n return;\n }\n this.sideBarComp.setDisplayed(show);\n };\n /** Sets the side bar position relative to the grid. Possible values are `'left'` or `'right'`. */\n GridApi.prototype.setSideBarPosition = function (position) {\n if (!this.sideBarComp) {\n console.warn('AG Grid: sideBar is not loaded');\n return;\n }\n this.sideBarComp.setSideBarPosition(position);\n };\n /** Opens a particular tool panel. Provide the ID of the tool panel to open. */\n GridApi.prototype.openToolPanel = function (key) {\n if (!this.sideBarComp) {\n console.warn('AG Grid: toolPanel is only available in AG Grid Enterprise');\n return;\n }\n this.sideBarComp.openToolPanel(key);\n };\n /** Closes the currently open tool panel (if any). */\n GridApi.prototype.closeToolPanel = function () {\n if (!this.sideBarComp) {\n console.warn('AG Grid: toolPanel is only available in AG Grid Enterprise');\n return;\n }\n this.sideBarComp.close();\n };\n /** Returns the ID of the currently shown tool panel if any, otherwise `null`. */\n GridApi.prototype.getOpenedToolPanel = function () {\n return this.sideBarComp ? this.sideBarComp.openedItem() : null;\n };\n /** Returns the current side bar configuration. If a shortcut was used, returns the detailed long form. */\n GridApi.prototype.getSideBar = function () {\n return this.gridOptionsWrapper.getSideBar();\n };\n /** Resets the side bar to the provided configuration. The parameter is the same as the sideBar grid property. The side bar is re-created from scratch with the new config. */\n GridApi.prototype.setSideBar = function (def) {\n this.gridOptionsWrapper.setProperty('sideBar', SideBarDefParser.parse(def));\n };\n GridApi.prototype.setSuppressClipboardPaste = function (value) {\n this.gridOptionsWrapper.setProperty(GridOptionsWrapper.PROP_SUPPRESS_CLIPBOARD_PASTE, value);\n };\n /** Returns `true` if the tool panel is showing, otherwise `false`. */\n GridApi.prototype.isToolPanelShowing = function () {\n return this.sideBarComp.isToolPanelShowing();\n };\n /** @deprecated AG Grid - since version 25.1, doLayout was taken out, as it's not needed. The grid responds to grid size changes automatically. */\n GridApi.prototype.doLayout = function () {\n var message = \"AG Grid - since version 25.1, doLayout was taken out, as it's not needed. The grid responds to grid size changes automatically\";\n doOnce(function () { return console.warn(message); }, 'doLayoutDeprecated');\n };\n /** Tells the grid to recalculate the row heights. */\n GridApi.prototype.resetRowHeights = function () {\n if (exists(this.clientSideRowModel)) {\n if (this.columnModel.isAutoRowHeightActive()) {\n console.warn('AG Grid: calling gridApi.resetRowHeights() makes no sense when using Auto Row Height.');\n return;\n }\n this.clientSideRowModel.resetRowHeights();\n }\n };\n GridApi.prototype.setGroupRemoveSingleChildren = function (value) {\n this.gridOptionsWrapper.setProperty(GridOptionsWrapper.PROP_GROUP_REMOVE_SINGLE_CHILDREN, value);\n };\n GridApi.prototype.setGroupRemoveLowestSingleChildren = function (value) {\n this.gridOptionsWrapper.setProperty(GridOptionsWrapper.PROP_GROUP_REMOVE_LOWEST_SINGLE_CHILDREN, value);\n };\n GridApi.prototype.setGroupDisplayType = function (value) {\n this.gridOptionsWrapper.setProperty(GridOptionsWrapper.PROP_GROUP_DISPLAY_TYPE, value);\n };\n /** Tells the grid a row height has changed. To be used after calling `rowNode.setRowHeight(newHeight)`. */\n GridApi.prototype.onRowHeightChanged = function () {\n if (this.clientSideRowModel) {\n this.clientSideRowModel.onRowHeightChanged();\n }\n else if (this.serverSideRowModel) {\n this.serverSideRowModel.onRowHeightChanged();\n }\n };\n /**\n * Gets the value for a column for a particular `rowNode` (row).\n * This is useful if you want the raw value of a cell e.g. if implementing your own CSV export.\n */\n GridApi.prototype.getValue = function (colKey, rowNode) {\n var column = this.columnModel.getPrimaryColumn(colKey);\n if (missing(column)) {\n column = this.columnModel.getGridColumn(colKey);\n }\n if (missing(column)) {\n return null;\n }\n return this.valueService.getValue(column, rowNode);\n };\n /** Add an event listener for the specified `eventType`. Works similar to `addEventListener` for a browser DOM element. */\n GridApi.prototype.addEventListener = function (eventType, listener) {\n var async = this.gridOptionsWrapper.useAsyncEvents();\n this.eventService.addEventListener(eventType, listener, async);\n };\n /** Add an event listener for all event types coming from the grid. */\n GridApi.prototype.addGlobalListener = function (listener) {\n var async = this.gridOptionsWrapper.useAsyncEvents();\n this.eventService.addGlobalListener(listener, async);\n };\n /** Remove an event listener. */\n GridApi.prototype.removeEventListener = function (eventType, listener) {\n var async = this.gridOptionsWrapper.useAsyncEvents();\n this.eventService.removeEventListener(eventType, listener, async);\n };\n /** Remove a global event listener. */\n GridApi.prototype.removeGlobalListener = function (listener) {\n var async = this.gridOptionsWrapper.useAsyncEvents();\n this.eventService.removeGlobalListener(listener, async);\n };\n GridApi.prototype.dispatchEvent = function (event) {\n this.eventService.dispatchEvent(event);\n };\n /** Will destroy the grid and release resources. If you are using a framework you do not need to call this, as the grid links in with the framework lifecycle. However if you are using Web Components or native JavaScript, you do need to call this, to avoid a memory leak in your application. */\n GridApi.prototype.destroy = function () {\n // this is needed as GridAPI is a bean, and GridAPI.destroy() is called as part\n // of context.destroy(). so we need to stop the infinite loop.\n if (this.destroyCalled) {\n return;\n }\n this.destroyCalled = true;\n // destroy the UI first (as they use the services)\n var gridCtrl = this.ctrlsService.getGridCtrl();\n if (gridCtrl) {\n gridCtrl.destroyGridUi();\n }\n // destroy the services\n this.context.destroy();\n };\n GridApi.prototype.cleanDownReferencesToAvoidMemoryLeakInCaseApplicationIsKeepingReferenceToDestroyedGrid = function () {\n // some users were raising support issues with regards memory leaks. the problem was the customers applications\n // were keeping references to the API. trying to educate them all would be difficult, easier to just remove\n // all references in the API so at least the core grid can be garbage collected.\n //\n // wait about 100ms before clearing down the references, in case user has some cleanup to do,\n // and needs to deference the API first\n setTimeout(removeAllReferences.bind(window, this, 'Grid API'), 100);\n };\n GridApi.prototype.warnIfDestroyed = function (methodName) {\n if (this.destroyCalled) {\n console.warn(\"AG Grid: Grid API method \" + methodName + \" was called on a grid that was destroyed.\");\n }\n return this.destroyCalled;\n };\n /** Reset the quick filter cache text on every rowNode. */\n GridApi.prototype.resetQuickFilter = function () {\n if (this.warnIfDestroyed('resetQuickFilter')) {\n return;\n }\n this.rowModel.forEachNode(function (node) { return node.quickFilterAggregateText = null; });\n };\n /** @deprecated AG Grid: in v20.1.x, api.getRangeSelections() is gone, please use getCellRanges() instead. */\n GridApi.prototype.getRangeSelections = function () {\n console.warn(\"AG Grid: in v20.1.x, api.getRangeSelections() is gone, please use getCellRanges() instead.\\n We had to change how cell selections works a small bit to allow charting to integrate. The return type of\\n getCellRanges() is a bit different, please check the AG Grid documentation.\");\n return null;\n };\n /** Returns the list of selected cell ranges. */\n GridApi.prototype.getCellRanges = function () {\n if (this.rangeService) {\n return this.rangeService.getCellRanges();\n }\n console.warn('AG Grid: cell range selection is only available in AG Grid Enterprise');\n return null;\n };\n GridApi.prototype.camelCaseToHumanReadable = function (camelCase) {\n return camelCaseToHumanText(camelCase);\n };\n /** @deprecated AG Grid: As of version 21.x, range selection changed slightly to allow charting integration. Please call api.addCellRange() instead of api.addRangeSelection() */\n GridApi.prototype.addRangeSelection = function (deprecatedNoLongerUsed) {\n console.warn('AG Grid: As of version 21.x, range selection changed slightly to allow charting integration. Please call api.addCellRange() instead of api.addRangeSelection()');\n };\n /** Adds the provided cell range to the selected ranges. */\n GridApi.prototype.addCellRange = function (params) {\n if (!this.rangeService) {\n console.warn('AG Grid: cell range selection is only available in AG Grid Enterprise');\n }\n this.rangeService.addCellRange(params);\n };\n /** Clears the selected ranges. */\n GridApi.prototype.clearRangeSelection = function () {\n if (!this.rangeService) {\n console.warn('AG Grid: cell range selection is only available in AG Grid Enterprise');\n }\n this.rangeService.removeAllCellRanges();\n };\n /** Reverts the last cell edit. */\n GridApi.prototype.undoCellEditing = function () {\n this.undoRedoService.undo();\n };\n /** Re-applies the most recently undone cell edit. */\n GridApi.prototype.redoCellEditing = function () {\n this.undoRedoService.redo();\n };\n /** Returns current number of available cell edit undo operations. */\n GridApi.prototype.getCurrentUndoSize = function () {\n return this.undoRedoService.getCurrentUndoStackSize();\n };\n /** Returns current number of available cell edit redo operations. */\n GridApi.prototype.getCurrentRedoSize = function () {\n return this.undoRedoService.getCurrentRedoStackSize();\n };\n /** Returns a list of models with information about the charts that are currently rendered from the grid. */\n GridApi.prototype.getChartModels = function () {\n if (ModuleRegistry.assertRegistered(ModuleNames.RangeSelectionModule, 'api.getChartModels') &&\n ModuleRegistry.assertRegistered(ModuleNames.GridChartsModule, 'api.getChartModels')) {\n return this.chartService.getChartModels();\n }\n };\n /** Returns the `ChartRef` using the supplied `chartId`. */\n GridApi.prototype.getChartRef = function (chartId) {\n if (ModuleRegistry.assertRegistered(ModuleNames.RangeSelectionModule, 'api.getChartRef') &&\n ModuleRegistry.assertRegistered(ModuleNames.GridChartsModule, 'api.getChartRef')) {\n return this.chartService.getChartRef(chartId);\n }\n };\n /** Returns a string containing the requested data URL which contains a representation of the chart image. */\n GridApi.prototype.getChartImageDataURL = function (params) {\n if (ModuleRegistry.assertRegistered(ModuleNames.GridChartsModule, 'api.getChartImageDataURL')) {\n return this.chartService.getChartImageDataURL(params);\n }\n };\n /** Downloads the chart image in the browser. */\n GridApi.prototype.downloadChart = function (params) {\n if (ModuleRegistry.assertRegistered(ModuleNames.GridChartsModule, 'api.downloadChart')) {\n return this.chartService.downloadChart(params);\n }\n };\n /** Open the Chart Tool Panel. */\n GridApi.prototype.openChartToolPanel = function (params) {\n if (ModuleRegistry.assertRegistered(ModuleNames.GridChartsModule, 'api.openChartToolPanel')) {\n return this.chartService.openChartToolPanel(params);\n }\n };\n /** Close the Chart Tool Panel. */\n GridApi.prototype.closeChartToolPanel = function (params) {\n if (ModuleRegistry.assertRegistered(ModuleNames.GridChartsModule, 'api.closeChartToolPanel')) {\n return this.chartService.closeChartToolPanel(params.chartId);\n }\n };\n /** Used to programmatically create charts from a range. */\n GridApi.prototype.createRangeChart = function (params) {\n if (ModuleRegistry.assertRegistered(ModuleNames.RangeSelectionModule, 'api.createRangeChart') &&\n ModuleRegistry.assertRegistered(ModuleNames.GridChartsModule, 'api.createRangeChart')) {\n return this.chartService.createRangeChart(params);\n }\n };\n /** Used to programmatically create cross filter charts from a range. */\n GridApi.prototype.createCrossFilterChart = function (params) {\n if (ModuleRegistry.assertRegistered(ModuleNames.RangeSelectionModule, 'api.createCrossFilterChart') &&\n ModuleRegistry.assertRegistered(ModuleNames.GridChartsModule, 'api.createCrossFilterChart')) {\n return this.chartService.createCrossFilterChart(params);\n }\n };\n /** Restores a chart using the `ChartModel` that was previously obtained from `getChartModels()`. */\n GridApi.prototype.restoreChart = function (chartModel, chartContainer) {\n if (ModuleRegistry.assertRegistered(ModuleNames.RangeSelectionModule, 'api.restoreChart') &&\n ModuleRegistry.assertRegistered(ModuleNames.GridChartsModule, 'api.restoreChart')) {\n return this.chartService.restoreChart(chartModel, chartContainer);\n }\n };\n /** Used to programmatically create pivot charts from a grid. */\n GridApi.prototype.createPivotChart = function (params) {\n if (ModuleRegistry.assertRegistered(ModuleNames.RangeSelectionModule, 'api.createPivotChart') &&\n ModuleRegistry.assertRegistered(ModuleNames.GridChartsModule, 'api.createPivotChart')) {\n return this.chartService.createPivotChart(params);\n }\n };\n /** Copies data to clipboard by following the same rules as pressing Ctrl+C. */\n GridApi.prototype.copyToClipboard = function (params) {\n if (!this.clipboardService) {\n console.warn('AG Grid: clipboard is only available in AG Grid Enterprise');\n }\n this.clipboardService.copyToClipboard(params);\n };\n /** Copies the selected rows to the clipboard. */\n GridApi.prototype.copySelectedRowsToClipboard = function (params) {\n if (!this.clipboardService) {\n console.warn('AG Grid: clipboard is only available in AG Grid Enterprise');\n }\n this.clipboardService.copySelectedRowsToClipboard(params);\n };\n /** Copies the selected ranges to the clipboard. */\n GridApi.prototype.copySelectedRangeToClipboard = function (params) {\n if (!this.clipboardService) {\n console.warn('AG Grid: clipboard is only available in AG Grid Enterprise');\n }\n this.clipboardService.copySelectedRangeToClipboard(params);\n };\n /** Copies the selected range down, similar to `Ctrl + D` in Excel. */\n GridApi.prototype.copySelectedRangeDown = function () {\n if (!this.clipboardService) {\n console.warn('AG Grid: clipboard is only available in AG Grid Enterprise');\n }\n this.clipboardService.copyRangeDown();\n };\n /** Shows the column menu after and positions it relative to the provided button element. Use in conjunction with your own header template. */\n GridApi.prototype.showColumnMenuAfterButtonClick = function (colKey, buttonElement) {\n // use grid column so works with pivot mode\n var column = this.columnModel.getGridColumn(colKey);\n this.menuFactory.showMenuAfterButtonClick(column, buttonElement, 'columnMenu');\n };\n /** Shows the column menu after and positions it relative to the mouse event. Use in conjunction with your own header template. */\n GridApi.prototype.showColumnMenuAfterMouseClick = function (colKey, mouseEvent) {\n // use grid column so works with pivot mode\n var column = this.columnModel.getGridColumn(colKey);\n if (!column) {\n column = this.columnModel.getPrimaryColumn(colKey);\n }\n if (!column) {\n console.error(\"AG Grid: column '\" + colKey + \"' not found\");\n return;\n }\n this.menuFactory.showMenuAfterMouseEvent(column, mouseEvent);\n };\n /** Hides any visible context menu or column menu. */\n GridApi.prototype.hidePopupMenu = function () {\n // hide the context menu if in enterprise\n if (this.contextMenuFactory) {\n this.contextMenuFactory.hideActiveMenu();\n }\n // and hide the column menu always\n this.menuFactory.hideActiveMenu();\n };\n /** DOM element to use as the popup parent for grid popups (context menu, column menu etc). */\n GridApi.prototype.setPopupParent = function (ePopupParent) {\n this.gridOptionsWrapper.setProperty(GridOptionsWrapper.PROP_POPUP_PARENT, ePopupParent);\n };\n /** Navigates the grid focus to the next cell, as if tabbing. */\n GridApi.prototype.tabToNextCell = function (event) {\n return this.navigationService.tabToNextCell(false, event);\n };\n /** Navigates the grid focus to the previous cell, as if shift-tabbing. */\n GridApi.prototype.tabToPreviousCell = function (event) {\n return this.navigationService.tabToNextCell(true, event);\n };\n /** Returns the list of active cell renderer instances. */\n GridApi.prototype.getCellRendererInstances = function (params) {\n if (params === void 0) { params = {}; }\n var res = this.rowRenderer.getCellRendererInstances(params);\n var unwrapped = res.map(unwrapUserComp);\n return unwrapped;\n };\n /** Returns the list of active cell editor instances. Optionally provide parameters to restrict to certain columns / row nodes. */\n GridApi.prototype.getCellEditorInstances = function (params) {\n if (params === void 0) { params = {}; }\n var res = this.rowRenderer.getCellEditorInstances(params);\n var unwrapped = res.map(unwrapUserComp);\n return unwrapped;\n };\n /** If the grid is editing, returns back details of the editing cell(s). */\n GridApi.prototype.getEditingCells = function () {\n return this.rowRenderer.getEditingCells();\n };\n /** If a cell is editing, it stops the editing. Pass `true` if you want to cancel the editing (i.e. don't accept changes). */\n GridApi.prototype.stopEditing = function (cancel) {\n if (cancel === void 0) { cancel = false; }\n this.rowRenderer.stopEditing(cancel);\n };\n /** Start editing the provided cell. If another cell is editing, the editing will be stopped in that other cell. */\n GridApi.prototype.startEditingCell = function (params) {\n var column = this.columnModel.getGridColumn(params.colKey);\n if (!column) {\n console.warn(\"AG Grid: no column found for \" + params.colKey);\n return;\n }\n var cellPosition = {\n rowIndex: params.rowIndex,\n rowPinned: params.rowPinned || null,\n column: column\n };\n var notPinned = params.rowPinned == null;\n if (notPinned) {\n this.gridBodyCtrl.getScrollFeature().ensureIndexVisible(params.rowIndex);\n }\n var cell = this.navigationService.getCellByPosition(cellPosition);\n if (!cell) {\n return;\n }\n cell.startRowOrCellEdit(params.key, params.charPress);\n };\n /** Add an aggregation function with the specified key. */\n GridApi.prototype.addAggFunc = function (key, aggFunc) {\n if (this.aggFuncService) {\n this.aggFuncService.addAggFunc(key, aggFunc);\n }\n };\n /** Add aggregations function with the specified keys. */\n GridApi.prototype.addAggFuncs = function (aggFuncs) {\n if (this.aggFuncService) {\n this.aggFuncService.addAggFuncs(aggFuncs);\n }\n };\n /** Clears all aggregation functions (including those provided by the grid). */\n GridApi.prototype.clearAggFuncs = function () {\n if (this.aggFuncService) {\n this.aggFuncService.clear();\n }\n };\n /** Apply transactions to the server side row model. */\n GridApi.prototype.applyServerSideTransaction = function (transaction) {\n if (!this.serverSideTransactionManager) {\n console.warn('AG Grid: Cannot apply Server Side Transaction if not using the Server Side Row Model.');\n return;\n }\n return this.serverSideTransactionManager.applyTransaction(transaction);\n };\n GridApi.prototype.applyServerSideTransactionAsync = function (transaction, callback) {\n if (!this.serverSideTransactionManager) {\n console.warn('AG Grid: Cannot apply Server Side Transaction if not using the Server Side Row Model.');\n return;\n }\n return this.serverSideTransactionManager.applyTransactionAsync(transaction, callback);\n };\n /** Gets all failed server side loads to retry. */\n GridApi.prototype.retryServerSideLoads = function () {\n if (!this.serverSideRowModel) {\n console.warn('AG Grid: API retryServerSideLoads() can only be used when using Server-Side Row Model.');\n return;\n }\n this.serverSideRowModel.retryLoads();\n };\n GridApi.prototype.flushServerSideAsyncTransactions = function () {\n if (!this.serverSideTransactionManager) {\n console.warn('AG Grid: Cannot flush Server Side Transaction if not using the Server Side Row Model.');\n return;\n }\n return this.serverSideTransactionManager.flushAsyncTransactions();\n };\n /** Update row data. Pass a transaction object with lists for `add`, `remove` and `update`. */\n GridApi.prototype.applyTransaction = function (rowDataTransaction) {\n if (!this.clientSideRowModel) {\n console.error('AG Grid: updateRowData() only works with ClientSideRowModel. Working with InfiniteRowModel was deprecated in v23.1 and removed in v24.1');\n return;\n }\n var res = this.clientSideRowModel.updateRowData(rowDataTransaction);\n // refresh all the full width rows\n this.rowRenderer.refreshFullWidthRows(res.update);\n // do change detection for all present cells\n if (!this.gridOptionsWrapper.isSuppressChangeDetection()) {\n this.rowRenderer.refreshCells();\n }\n return res;\n };\n /** Sets the `deltaSort` property */\n GridApi.prototype.setDeltaSort = function (enable) {\n this.gridOptionsWrapper.setProperty('deltaSort', enable);\n };\n /** @deprecated AG Grid: as of v23.1, grid API updateRowData(transaction) is now called applyTransaction(transaction). */\n GridApi.prototype.updateRowData = function (rowDataTransaction) {\n var message = 'AG Grid: as of v23.1, grid API updateRowData(transaction) is now called applyTransaction(transaction). updateRowData is deprecated and will be removed in a future major release.';\n doOnce(function () { return console.warn(message); }, 'updateRowData deprecated');\n return this.applyTransaction(rowDataTransaction);\n };\n /** Same as `applyTransaction` except executes asynchronously for efficiency. */\n GridApi.prototype.applyTransactionAsync = function (rowDataTransaction, callback) {\n if (!this.clientSideRowModel) {\n console.error('AG Grid: api.applyTransactionAsync() only works with ClientSideRowModel.');\n return;\n }\n this.clientSideRowModel.batchUpdateRowData(rowDataTransaction, callback);\n };\n /** Executes any remaining asynchronous grid transactions, if any are waiting to be executed. */\n GridApi.prototype.flushAsyncTransactions = function () {\n if (!this.clientSideRowModel) {\n console.error('AG Grid: api.applyTransactionAsync() only works with ClientSideRowModel.');\n return;\n }\n this.clientSideRowModel.flushAsyncTransactions();\n };\n /** @deprecated AG Grid: as of v23.1, grid API batchUpdateRowData(transaction, callback) is now called applyTransactionAsync(transaction, callback). */\n GridApi.prototype.batchUpdateRowData = function (rowDataTransaction, callback) {\n var message = 'AG Grid: as of v23.1, grid API batchUpdateRowData(transaction, callback) is now called applyTransactionAsync(transaction, callback). batchUpdateRowData is deprecated and will be removed in a future major release.';\n doOnce(function () { return console.warn(message); }, 'batchUpdateRowData deprecated');\n this.applyTransactionAsync(rowDataTransaction, callback);\n };\n /** @deprecated AG Grid: insertItemsAtIndex() is deprecated, use updateRowData(transaction) instead.*/\n GridApi.prototype.insertItemsAtIndex = function (index, items, skipRefresh) {\n console.warn('AG Grid: insertItemsAtIndex() is deprecated, use updateRowData(transaction) instead.');\n this.updateRowData({ add: items, addIndex: index, update: null, remove: null });\n };\n /** @deprecated AG Grid: removeItems() is deprecated, use updateRowData(transaction) instead. */\n GridApi.prototype.removeItems = function (rowNodes, skipRefresh) {\n console.warn('AG Grid: removeItems() is deprecated, use updateRowData(transaction) instead.');\n var dataToRemove = rowNodes.map(function (rowNode) { return rowNode.data; });\n this.updateRowData({ add: null, addIndex: null, update: null, remove: dataToRemove });\n };\n /** @deprecated AG Grid: addItems() is deprecated, use updateRowData(transaction) instead. */\n GridApi.prototype.addItems = function (items, skipRefresh) {\n console.warn('AG Grid: addItems() is deprecated, use updateRowData(transaction) instead.');\n this.updateRowData({ add: items, addIndex: null, update: null, remove: null });\n };\n /** @deprecated AG Grid: refreshVirtualPageCache() is now called refreshInfiniteCache(), please call refreshInfiniteCache() instead */\n GridApi.prototype.refreshVirtualPageCache = function () {\n console.warn('AG Grid: refreshVirtualPageCache() is now called refreshInfiniteCache(), please call refreshInfiniteCache() instead');\n this.refreshInfiniteCache();\n };\n /** @deprecated AG Grid: refreshInfinitePageCache() is now called refreshInfiniteCache(), please call refreshInfiniteCache() instead */\n GridApi.prototype.refreshInfinitePageCache = function () {\n console.warn('AG Grid: refreshInfinitePageCache() is now called refreshInfiniteCache(), please call refreshInfiniteCache() instead');\n this.refreshInfiniteCache();\n };\n /**\n * Marks all the currently loaded blocks in the cache for reload.\n * If you have 10 blocks in the cache, all 10 will be marked for reload.\n * The old data will continue to be displayed until the new data is loaded.\n */\n GridApi.prototype.refreshInfiniteCache = function () {\n if (this.infiniteRowModel) {\n this.infiniteRowModel.refreshCache();\n }\n else {\n console.warn(\"AG Grid: api.refreshInfiniteCache is only available when rowModelType='infinite'.\");\n }\n };\n /** @deprecated AG Grid: purgeVirtualPageCache() is now called purgeInfiniteCache(), please call purgeInfiniteCache() instead */\n GridApi.prototype.purgeVirtualPageCache = function () {\n console.warn('AG Grid: purgeVirtualPageCache() is now called purgeInfiniteCache(), please call purgeInfiniteCache() instead');\n this.purgeInfinitePageCache();\n };\n /** @deprecated AG Grid: purgeInfinitePageCache() is now called purgeInfiniteCache(), please call purgeInfiniteCache() instead */\n GridApi.prototype.purgeInfinitePageCache = function () {\n console.warn('AG Grid: purgeInfinitePageCache() is now called purgeInfiniteCache(), please call purgeInfiniteCache() instead');\n this.purgeInfiniteCache();\n };\n /**\n * Purges the cache.\n * The grid is then told to refresh. Only the blocks required to display the current data on screen are fetched (typically no more than 2).\n * The grid will display nothing while the new blocks are loaded.\n * Use this to immediately remove the old data from the user.\n */\n GridApi.prototype.purgeInfiniteCache = function () {\n if (this.infiniteRowModel) {\n this.infiniteRowModel.purgeCache();\n }\n else {\n console.warn(\"AG Grid: api.purgeInfiniteCache is only available when rowModelType='infinite'.\");\n }\n };\n /** @deprecated AG Grid: since version 18.x, api.purgeEnterpriseCache() should be replaced with api.refreshServerSide({purge: true}) */\n GridApi.prototype.purgeEnterpriseCache = function (route) {\n console.warn(\"AG Grid: since version 18.x, api.purgeEnterpriseCache() should be replaced with api.refreshServerSide({purge: true})\");\n this.purgeServerSideCache(route);\n };\n /** @deprecated AG Grid: since v25.0, api.purgeServerSideCache is deprecated. Please use api.refreshServerSide({purge: true}) instead. */\n GridApi.prototype.purgeServerSideCache = function (route) {\n if (route === void 0) { route = []; }\n if (this.serverSideRowModel) {\n console.warn(\"AG Grid: since v25.0, api.purgeServerSideCache is deprecated. Please use api.refreshServerSide({purge: true}) instead.\");\n this.refreshServerSide({\n route: route,\n purge: true\n });\n }\n else {\n console.warn(\"AG Grid: api.purgeServerSideCache is only available when rowModelType='serverSide'.\");\n }\n };\n /**\n * Refresh a server-side level.\n * If you pass no parameters, then the top level store is purged.\n * To purge a child level, pass in the string of keys to get to the desired level.\n */\n GridApi.prototype.refreshServerSide = function (params) {\n if (!this.serverSideRowModel) {\n console.warn(\"AG Grid: api.refreshServerSide is only available when rowModelType='serverSide'.\");\n return;\n }\n this.serverSideRowModel.refreshStore(params);\n };\n /** @deprecated use `refreshServerSide` instead */\n GridApi.prototype.refreshServerSideStore = function (params) {\n var message = \"AG Grid: Grid API refreshServerSideStore() was renamed to refreshServerSide() in v28.0\";\n doOnce(function () { return console.warn(message); }, 'refreshServerSideStore-renamed');\n return this.refreshServerSide(params);\n };\n /** @deprecated use `getServerSideGroupLevelState` instead */\n GridApi.prototype.getServerSideStoreState = function () {\n var message = \"AG Grid: Grid API getServerSideStoreState() was renamed to getServerSideGroupLevelState() in v28.0\";\n doOnce(function () { return console.warn(message); }, 'getServerSideStoreState-renamed');\n return this.getServerSideGroupLevelState();\n };\n /** Returns info on all server side group levels. */\n GridApi.prototype.getServerSideGroupLevelState = function () {\n if (!this.serverSideRowModel) {\n console.warn(\"AG Grid: api.getServerSideGroupLevelState is only available when rowModelType='serverSide'.\");\n return [];\n }\n return this.serverSideRowModel.getStoreState();\n };\n /** @deprecated AG Grid: getVirtualRowCount() is now called getInfiniteRowCount(), please call getInfiniteRowCount() instead */\n GridApi.prototype.getVirtualRowCount = function () {\n console.warn('AG Grid: getVirtualRowCount() is now called getInfiniteRowCount(), please call getInfiniteRowCount() instead');\n return this.getInfiniteRowCount();\n };\n /** The row count defines how many rows the grid allows scrolling to. */\n GridApi.prototype.getInfiniteRowCount = function () {\n if (this.infiniteRowModel) {\n return this.infiniteRowModel.getRowCount();\n }\n else {\n console.warn(\"AG Grid: api.getVirtualRowCount is only available when rowModelType='virtual'.\");\n }\n };\n /** @deprecated AG Grid: api.isMaxRowFound is deprecated, please use api.isLastRowIndexKnown() */\n GridApi.prototype.isMaxRowFound = function () {\n console.warn(\"AG Grid: api.isMaxRowFound is deprecated, please use api.isLastRowIndexKnown()\");\n return this.isLastRowIndexKnown();\n };\n /** Returns `true` if grid allows for scrolling past the last row to load more rows, thus providing infinite scroll. */\n GridApi.prototype.isLastRowIndexKnown = function () {\n if (this.infiniteRowModel) {\n return this.infiniteRowModel.isLastRowIndexKnown();\n }\n else {\n console.warn(\"AG Grid: api.isMaxRowFound is only available when rowModelType='virtual'.\");\n }\n };\n /** @deprecated AG Grid: setVirtualRowCount() is now called setInfiniteRowCount(), please call setInfiniteRowCount() instead */\n GridApi.prototype.setVirtualRowCount = function (rowCount, maxRowFound) {\n console.warn('AG Grid: setVirtualRowCount() is now called setInfiniteRowCount(), please call setInfiniteRowCount() instead');\n this.setRowCount(rowCount, maxRowFound);\n };\n /** @deprecated AG Grid: setInfiniteRowCount() is now called setRowCount(), please call setRowCount() instead */\n GridApi.prototype.setInfiniteRowCount = function (rowCount, maxRowFound) {\n console.warn('AG Grid: setInfiniteRowCount() is now called setRowCount(), please call setRowCount() instead');\n this.setRowCount(rowCount, maxRowFound);\n };\n /**\n * Sets the `rowCount` and `lastRowIndexKnown` properties.\n * The second parameter, `lastRowIndexKnown`, is optional and if left out, only `rowCount` is set.\n * Set `rowCount` to adjust the height of the vertical scroll.\n * Set `lastRowIndexKnown` to enable / disable searching for more rows.\n * Use this method if you add or remove rows into the dataset and need to reset the number of rows or put the data back into 'look for data' mode.\n */\n GridApi.prototype.setRowCount = function (rowCount, maxRowFound) {\n if (this.infiniteRowModel) {\n this.infiniteRowModel.setRowCount(rowCount, maxRowFound);\n }\n else {\n console.warn(\"AG Grid: api.setRowCount is only available for Infinite Row Model.\");\n }\n };\n /** @deprecated AG Grid: getVirtualPageState() is now called getCacheBlockState(), please call getCacheBlockState() instead */\n GridApi.prototype.getVirtualPageState = function () {\n console.warn('AG Grid: getVirtualPageState() is now called getCacheBlockState(), please call getCacheBlockState() instead');\n return this.getCacheBlockState();\n };\n /** @deprecated getInfinitePageState() is now called getCacheBlockState(), please call getCacheBlockState() instead */\n GridApi.prototype.getInfinitePageState = function () {\n console.warn('AG Grid: getInfinitePageState() is now called getCacheBlockState(), please call getCacheBlockState() instead');\n return this.getCacheBlockState();\n };\n /**\n * Returns an object representing the state of the cache. This is useful for debugging and understanding how the cache is working.\n */\n GridApi.prototype.getCacheBlockState = function () {\n return this.rowNodeBlockLoader.getBlockState();\n };\n /** @deprecated In AG Grid v25.2.0, checkGridSize() was removed, as it was legacy and didn't do anything useful. */\n GridApi.prototype.checkGridSize = function () {\n console.warn(\"In AG Grid v25.2.0, checkGridSize() was removed, as it was legacy and didn't do anything useful.\");\n };\n /** @deprecated In AG Grid v12, getFirstRenderedRow() was renamed to getFirstDisplayedRow() */\n GridApi.prototype.getFirstRenderedRow = function () {\n console.warn('In AG Grid v12, getFirstRenderedRow() was renamed to getFirstDisplayedRow()');\n return this.getFirstDisplayedRow();\n };\n /** Get the index of the first displayed row due to scrolling (includes invisible rendered rows in the buffer). */\n GridApi.prototype.getFirstDisplayedRow = function () {\n return this.rowRenderer.getFirstVirtualRenderedRow();\n };\n /** @deprecated In AG Grid v12, getLastRenderedRow() was renamed to getLastDisplayedRow() */\n GridApi.prototype.getLastRenderedRow = function () {\n console.warn('in AG Grid v12, getLastRenderedRow() was renamed to getLastDisplayedRow()');\n return this.getLastDisplayedRow();\n };\n /** Get the index of the last displayed row due to scrolling (includes invisible rendered rows in the buffer). */\n GridApi.prototype.getLastDisplayedRow = function () {\n return this.rowRenderer.getLastVirtualRenderedRow();\n };\n /** Returns the displayed `RowNode` at the given `index`. */\n GridApi.prototype.getDisplayedRowAtIndex = function (index) {\n return this.rowModel.getRow(index);\n };\n /** Returns the total number of displayed rows. */\n GridApi.prototype.getDisplayedRowCount = function () {\n return this.rowModel.getRowCount();\n };\n /**\n * Returns `true` when the last page is known.\n * This will always be `true` if you are using the Client-Side Row Model for pagination.\n * Returns `false` when the last page is not known; this only happens when using Infinite Row Model.\n */\n GridApi.prototype.paginationIsLastPageFound = function () {\n return this.paginationProxy.isLastPageFound();\n };\n /** Returns how many rows are being shown per page. */\n GridApi.prototype.paginationGetPageSize = function () {\n return this.paginationProxy.getPageSize();\n };\n /** Sets the `paginationPageSize`, then re-paginates the grid so the changes are applied immediately. */\n GridApi.prototype.paginationSetPageSize = function (size) {\n this.gridOptionsWrapper.setProperty('paginationPageSize', size);\n };\n /** Returns the 0-based index of the page which is showing. */\n GridApi.prototype.paginationGetCurrentPage = function () {\n return this.paginationProxy.getCurrentPage();\n };\n /** Returns the total number of pages. Returns `null` if `paginationIsLastPageFound() === false`. */\n GridApi.prototype.paginationGetTotalPages = function () {\n return this.paginationProxy.getTotalPages();\n };\n /** The total number of rows. Returns `null` if `paginationIsLastPageFound() === false`. */\n GridApi.prototype.paginationGetRowCount = function () {\n return this.paginationProxy.getMasterRowCount();\n };\n /** Navigates to the next page. */\n GridApi.prototype.paginationGoToNextPage = function () {\n this.paginationProxy.goToNextPage();\n };\n /** Navigates to the previous page. */\n GridApi.prototype.paginationGoToPreviousPage = function () {\n this.paginationProxy.goToPreviousPage();\n };\n /** Navigates to the first page. */\n GridApi.prototype.paginationGoToFirstPage = function () {\n this.paginationProxy.goToFirstPage();\n };\n /** Navigates to the last page. */\n GridApi.prototype.paginationGoToLastPage = function () {\n this.paginationProxy.goToLastPage();\n };\n /** Goes to the specified page. If the page requested doesn't exist, it will go to the last page. */\n GridApi.prototype.paginationGoToPage = function (page) {\n this.paginationProxy.goToPage(page);\n };\n GridApi.prototype.setRowClass = function (className) {\n this.gridOptionsWrapper.setProperty(GridOptionsWrapper.PROP_ROW_CLASS, className);\n };\n __decorate$1r([\n Optional('immutableService')\n ], GridApi.prototype, \"immutableService\", void 0);\n __decorate$1r([\n Optional('csvCreator')\n ], GridApi.prototype, \"csvCreator\", void 0);\n __decorate$1r([\n Optional('excelCreator')\n ], GridApi.prototype, \"excelCreator\", void 0);\n __decorate$1r([\n Autowired('rowRenderer')\n ], GridApi.prototype, \"rowRenderer\", void 0);\n __decorate$1r([\n Autowired('navigationService')\n ], GridApi.prototype, \"navigationService\", void 0);\n __decorate$1r([\n Autowired('filterManager')\n ], GridApi.prototype, \"filterManager\", void 0);\n __decorate$1r([\n Autowired('columnModel')\n ], GridApi.prototype, \"columnModel\", void 0);\n __decorate$1r([\n Autowired('selectionService')\n ], GridApi.prototype, \"selectionService\", void 0);\n __decorate$1r([\n Autowired('gridOptionsWrapper')\n ], GridApi.prototype, \"gridOptionsWrapper\", void 0);\n __decorate$1r([\n Autowired('valueService')\n ], GridApi.prototype, \"valueService\", void 0);\n __decorate$1r([\n Autowired('alignedGridsService')\n ], GridApi.prototype, \"alignedGridsService\", void 0);\n __decorate$1r([\n Autowired('eventService')\n ], GridApi.prototype, \"eventService\", void 0);\n __decorate$1r([\n Autowired('pinnedRowModel')\n ], GridApi.prototype, \"pinnedRowModel\", void 0);\n __decorate$1r([\n Autowired('context')\n ], GridApi.prototype, \"context\", void 0);\n __decorate$1r([\n Autowired('rowModel')\n ], GridApi.prototype, \"rowModel\", void 0);\n __decorate$1r([\n Autowired('sortController')\n ], GridApi.prototype, \"sortController\", void 0);\n __decorate$1r([\n Autowired('paginationProxy')\n ], GridApi.prototype, \"paginationProxy\", void 0);\n __decorate$1r([\n Autowired('focusService')\n ], GridApi.prototype, \"focusService\", void 0);\n __decorate$1r([\n Autowired('dragAndDropService')\n ], GridApi.prototype, \"dragAndDropService\", void 0);\n __decorate$1r([\n Optional('rangeService')\n ], GridApi.prototype, \"rangeService\", void 0);\n __decorate$1r([\n Optional('clipboardService')\n ], GridApi.prototype, \"clipboardService\", void 0);\n __decorate$1r([\n Optional('aggFuncService')\n ], GridApi.prototype, \"aggFuncService\", void 0);\n __decorate$1r([\n Autowired('menuFactory')\n ], GridApi.prototype, \"menuFactory\", void 0);\n __decorate$1r([\n Optional('contextMenuFactory')\n ], GridApi.prototype, \"contextMenuFactory\", void 0);\n __decorate$1r([\n Autowired('valueCache')\n ], GridApi.prototype, \"valueCache\", void 0);\n __decorate$1r([\n Autowired('animationFrameService')\n ], GridApi.prototype, \"animationFrameService\", void 0);\n __decorate$1r([\n Optional('statusBarService')\n ], GridApi.prototype, \"statusBarService\", void 0);\n __decorate$1r([\n Optional('chartService')\n ], GridApi.prototype, \"chartService\", void 0);\n __decorate$1r([\n Optional('undoRedoService')\n ], GridApi.prototype, \"undoRedoService\", void 0);\n __decorate$1r([\n Optional('rowNodeBlockLoader')\n ], GridApi.prototype, \"rowNodeBlockLoader\", void 0);\n __decorate$1r([\n Optional('ssrmTransactionManager')\n ], GridApi.prototype, \"serverSideTransactionManager\", void 0);\n __decorate$1r([\n Autowired('ctrlsService')\n ], GridApi.prototype, \"ctrlsService\", void 0);\n __decorate$1r([\n Optional('frameworkComponentWrapper')\n ], GridApi.prototype, \"frameworkComponentWrapper\", void 0);\n __decorate$1r([\n PostConstruct\n ], GridApi.prototype, \"init\", null);\n __decorate$1r([\n PreDestroy\n ], GridApi.prototype, \"cleanDownReferencesToAvoidMemoryLeakInCaseApplicationIsKeepingReferenceToDestroyedGrid\", null);\n GridApi = __decorate$1r([\n Bean('gridApi')\n ], GridApi);\n return GridApi;\n}());\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$1y = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$1q = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar SetLeftFeature = /** @class */ (function (_super) {\n __extends$1y(SetLeftFeature, _super);\n function SetLeftFeature(columnOrGroup, eCell, beans, colsSpanning) {\n var _this = _super.call(this) || this;\n _this.columnOrGroup = columnOrGroup;\n _this.eCell = eCell;\n _this.ariaEl = _this.eCell.querySelector('[role=columnheader]') || _this.eCell;\n _this.colsSpanning = colsSpanning;\n _this.beans = beans;\n return _this;\n }\n SetLeftFeature.prototype.setColsSpanning = function (colsSpanning) {\n this.colsSpanning = colsSpanning;\n this.onLeftChanged();\n };\n SetLeftFeature.prototype.getColumnOrGroup = function () {\n if (this.beans.gridOptionsWrapper.isEnableRtl() && this.colsSpanning) {\n return last(this.colsSpanning);\n }\n return this.columnOrGroup;\n };\n SetLeftFeature.prototype.postConstruct = function () {\n this.addManagedListener(this.columnOrGroup, Column.EVENT_LEFT_CHANGED, this.onLeftChanged.bind(this));\n this.setLeftFirstTime();\n // when in print layout, the left position is also dependent on the width of the pinned sections.\n // so additionally update left if any column width changes.\n this.addManagedListener(this.eventService, Events.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED, this.onLeftChanged.bind(this));\n // setting left has a dependency on print layout\n this.addManagedListener(this.beans.gridOptionsWrapper, GridOptionsWrapper.PROP_DOM_LAYOUT, this.onLeftChanged.bind(this));\n };\n SetLeftFeature.prototype.setLeftFirstTime = function () {\n var suppressMoveAnimation = this.beans.gridOptionsWrapper.isSuppressColumnMoveAnimation();\n var oldLeftExists = exists(this.columnOrGroup.getOldLeft());\n var animateColumnMove = this.beans.columnAnimationService.isActive() && oldLeftExists && !suppressMoveAnimation;\n if (animateColumnMove) {\n this.animateInLeft();\n }\n else {\n this.onLeftChanged();\n }\n };\n SetLeftFeature.prototype.animateInLeft = function () {\n var _this = this;\n var colOrGroup = this.getColumnOrGroup();\n var left = colOrGroup.getLeft();\n var oldLeft = colOrGroup.getOldLeft();\n var oldActualLeft = this.modifyLeftForPrintLayout(colOrGroup, oldLeft);\n var actualLeft = this.modifyLeftForPrintLayout(colOrGroup, left);\n this.setLeft(oldActualLeft);\n // we must keep track of the left we want to set to, as this would otherwise lead to a race\n // condition, if the user changed the left value many times in one VM turn, then we want to make\n // make sure the actualLeft we set in the timeout below (in the next VM turn) is the correct left\n // position. eg if user changes column position twice, then setLeft() below executes twice in next\n // VM turn, but only one (the correct one) should get applied.\n this.actualLeft = actualLeft;\n this.beans.columnAnimationService.executeNextVMTurn(function () {\n // test this left value is the latest one to be applied, and if not, do nothing\n if (_this.actualLeft === actualLeft) {\n _this.setLeft(actualLeft);\n }\n });\n };\n SetLeftFeature.prototype.onLeftChanged = function () {\n var colOrGroup = this.getColumnOrGroup();\n var left = colOrGroup.getLeft();\n this.actualLeft = this.modifyLeftForPrintLayout(colOrGroup, left);\n this.setLeft(this.actualLeft);\n };\n SetLeftFeature.prototype.modifyLeftForPrintLayout = function (colOrGroup, leftPosition) {\n var printLayout = this.beans.gridOptionsWrapper.getDomLayout() === Constants.DOM_LAYOUT_PRINT;\n if (!printLayout) {\n return leftPosition;\n }\n if (colOrGroup.getPinned() === Constants.PINNED_LEFT) {\n return leftPosition;\n }\n var leftWidth = this.beans.columnModel.getDisplayedColumnsLeftWidth();\n if (colOrGroup.getPinned() === Constants.PINNED_RIGHT) {\n var bodyWidth = this.beans.columnModel.getBodyContainerWidth();\n return leftWidth + bodyWidth + leftPosition;\n }\n // is in body\n return leftWidth + leftPosition;\n };\n SetLeftFeature.prototype.setLeft = function (value) {\n // if the value is null, then that means the column is no longer\n // displayed. there is logic in the rendering to fade these columns\n // out, so we don't try and change their left positions.\n if (exists(value)) {\n this.eCell.style.left = value + \"px\";\n }\n var indexColumn;\n if (this.columnOrGroup instanceof Column) {\n indexColumn = this.columnOrGroup;\n }\n else {\n var columnGroup = this.columnOrGroup;\n var children = columnGroup.getLeafColumns();\n if (!children.length) {\n return;\n }\n if (children.length > 1) {\n setAriaColSpan(this.ariaEl, children.length);\n }\n indexColumn = children[0];\n }\n var index = this.beans.columnModel.getAriaColumnIndex(indexColumn);\n setAriaColIndex(this.ariaEl, index);\n };\n __decorate$1q([\n PostConstruct\n ], SetLeftFeature.prototype, \"postConstruct\", null);\n return SetLeftFeature;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$1x = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$1p = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar HoverFeature = /** @class */ (function (_super) {\n __extends$1x(HoverFeature, _super);\n function HoverFeature(columns, element) {\n var _this = _super.call(this) || this;\n _this.columns = columns;\n _this.element = element;\n return _this;\n }\n HoverFeature.prototype.postConstruct = function () {\n if (this.gridOptionsWrapper.isColumnHoverHighlight()) {\n this.addMouseHoverListeners();\n }\n };\n HoverFeature.prototype.addMouseHoverListeners = function () {\n this.addManagedListener(this.element, 'mouseout', this.onMouseOut.bind(this));\n this.addManagedListener(this.element, 'mouseover', this.onMouseOver.bind(this));\n };\n HoverFeature.prototype.onMouseOut = function () {\n this.columnHoverService.clearMouseOver();\n };\n HoverFeature.prototype.onMouseOver = function () {\n this.columnHoverService.setMouseOver(this.columns);\n };\n __decorate$1p([\n Autowired('columnHoverService')\n ], HoverFeature.prototype, \"columnHoverService\", void 0);\n __decorate$1p([\n PostConstruct\n ], HoverFeature.prototype, \"postConstruct\", null);\n return HoverFeature;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$1w = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$1o = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar HeaderFilterCellCtrl = /** @class */ (function (_super) {\n __extends$1w(HeaderFilterCellCtrl, _super);\n function HeaderFilterCellCtrl(column, parentRowCtrl) {\n var _this = _super.call(this, column, parentRowCtrl) || this;\n _this.column = column;\n return _this;\n }\n HeaderFilterCellCtrl.prototype.setComp = function (comp, eGui, eButtonShowMainFilter, eFloatingFilterBody) {\n _super.prototype.setGui.call(this, eGui);\n this.comp = comp;\n this.eButtonShowMainFilter = eButtonShowMainFilter;\n this.eFloatingFilterBody = eFloatingFilterBody;\n var colDef = this.column.getColDef();\n var filterExists = !!colDef.filter || !!colDef.filterFramework;\n var floatingFilterExists = !!colDef.floatingFilter;\n this.active = filterExists && floatingFilterExists;\n this.setupWidth();\n this.setupLeft();\n this.setupHover();\n this.setupFocus();\n this.setupUserComp();\n this.setupSyncWithFilter();\n this.setupUi();\n this.addManagedListener(this.eButtonShowMainFilter, 'click', this.showParentFilter.bind(this));\n };\n HeaderFilterCellCtrl.prototype.setupUi = function () {\n this.comp.addOrRemoveButtonWrapperCssClass('ag-hidden', !this.active || this.suppressFilterButton);\n if (!this.active) {\n return;\n }\n this.comp.addOrRemoveBodyCssClass('ag-floating-filter-full-body', this.suppressFilterButton);\n this.comp.addOrRemoveBodyCssClass('ag-floating-filter-body', !this.suppressFilterButton);\n var eMenuIcon = createIconNoSpan('filter', this.gridOptionsWrapper, this.column);\n if (eMenuIcon) {\n this.eButtonShowMainFilter.appendChild(eMenuIcon);\n }\n };\n HeaderFilterCellCtrl.prototype.setupFocus = function () {\n this.createManagedBean(new ManagedFocusFeature(this.eGui, {\n shouldStopEventPropagation: this.shouldStopEventPropagation.bind(this),\n onTabKeyDown: this.onTabKeyDown.bind(this),\n handleKeyDown: this.handleKeyDown.bind(this),\n onFocusIn: this.onFocusIn.bind(this)\n }));\n };\n HeaderFilterCellCtrl.prototype.onTabKeyDown = function (e) {\n var eDocument = this.gridOptionsWrapper.getDocument();\n var activeEl = eDocument.activeElement;\n var wrapperHasFocus = activeEl === this.eGui;\n if (wrapperHasFocus) {\n return;\n }\n var nextFocusableEl = this.focusService.findNextFocusableElement(this.eGui, null, e.shiftKey);\n if (nextFocusableEl) {\n this.beans.headerNavigationService.scrollToColumn(this.column);\n e.preventDefault();\n nextFocusableEl.focus();\n return;\n }\n var nextFocusableColumn = this.findNextColumnWithFloatingFilter(e.shiftKey);\n if (!nextFocusableColumn) {\n return;\n }\n if (this.focusService.focusHeaderPosition({\n headerPosition: {\n headerRowIndex: this.getParentRowCtrl().getRowIndex(),\n column: nextFocusableColumn\n },\n event: e\n })) {\n e.preventDefault();\n }\n };\n HeaderFilterCellCtrl.prototype.findNextColumnWithFloatingFilter = function (backwards) {\n var columModel = this.beans.columnModel;\n var nextCol = this.column;\n do {\n nextCol = backwards\n ? columModel.getDisplayedColBefore(nextCol)\n : columModel.getDisplayedColAfter(nextCol);\n if (!nextCol) {\n break;\n }\n } while (!nextCol.getColDef().filter || !nextCol.getColDef().floatingFilter);\n return nextCol;\n };\n HeaderFilterCellCtrl.prototype.handleKeyDown = function (e) {\n _super.prototype.handleKeyDown.call(this, e);\n var wrapperHasFocus = this.getWrapperHasFocus();\n switch (e.key) {\n case KeyCode.UP:\n case KeyCode.DOWN:\n if (!wrapperHasFocus) {\n e.preventDefault();\n }\n case KeyCode.LEFT:\n case KeyCode.RIGHT:\n if (wrapperHasFocus) {\n return;\n }\n e.stopPropagation();\n case KeyCode.ENTER:\n if (wrapperHasFocus) {\n if (this.focusService.focusInto(this.eGui)) {\n e.preventDefault();\n }\n }\n break;\n case KeyCode.ESCAPE:\n if (!wrapperHasFocus) {\n this.eGui.focus();\n }\n }\n };\n HeaderFilterCellCtrl.prototype.onFocusIn = function (e) {\n var isRelatedWithin = this.eGui.contains(e.relatedTarget);\n // when the focus is already within the component,\n // we default to the browser's behavior\n if (isRelatedWithin) {\n return;\n }\n var notFromHeaderWrapper = !!e.relatedTarget && !e.relatedTarget.classList.contains('ag-floating-filter');\n var fromWithinHeader = !!e.relatedTarget && isElementChildOfClass(e.relatedTarget, 'ag-floating-filter');\n if (notFromHeaderWrapper && fromWithinHeader && e.target === this.eGui) {\n var lastFocusEvent = this.lastFocusEvent;\n var fromTab = !!(lastFocusEvent && lastFocusEvent.key === KeyCode.TAB);\n if (lastFocusEvent && fromTab) {\n var shouldFocusLast = lastFocusEvent.shiftKey;\n this.focusService.focusInto(this.eGui, shouldFocusLast);\n }\n }\n var rowIndex = this.getRowIndex();\n this.beans.focusService.setFocusedHeader(rowIndex, this.column);\n };\n HeaderFilterCellCtrl.prototype.setupHover = function () {\n var _this = this;\n this.createManagedBean(new HoverFeature([this.column], this.eGui));\n var listener = function () {\n if (!_this.gridOptionsWrapper.isColumnHoverHighlight()) {\n return;\n }\n var hovered = _this.columnHoverService.isHovered(_this.column);\n _this.comp.addOrRemoveCssClass('ag-column-hover', hovered);\n };\n this.addManagedListener(this.eventService, Events.EVENT_COLUMN_HOVER_CHANGED, listener);\n listener();\n };\n HeaderFilterCellCtrl.prototype.setupLeft = function () {\n var setLeftFeature = new SetLeftFeature(this.column, this.eGui, this.beans);\n this.createManagedBean(setLeftFeature);\n };\n HeaderFilterCellCtrl.prototype.setupUserComp = function () {\n var _this = this;\n if (!this.active) {\n return;\n }\n var colDef = this.column.getColDef();\n var filterParams = this.filterManager.createFilterParams(this.column, colDef);\n var finalFilterParams = this.userComponentFactory.mergeParamsWithApplicationProvidedParams(colDef, FilterComponent, filterParams);\n var defaultFloatingFilterType = this.userComponentFactory.getDefaultFloatingFilterType(colDef);\n if (defaultFloatingFilterType == null) {\n defaultFloatingFilterType = 'agReadOnlyFloatingFilter';\n }\n var params = {\n column: this.column,\n filterParams: finalFilterParams,\n currentParentModel: function () { return _this.currentParentModel(); },\n parentFilterInstance: function (cb) { return _this.parentFilterInstance(cb); },\n showParentFilter: function () { return _this.showParentFilter(); },\n suppressFilterButton: false // This one might be overridden from the colDef\n };\n // this is unusual - we need a params value OUTSIDE the component the params are for.\n // the params are for the floating filter component, but this property is actually for the wrapper.\n this.suppressFilterButton = colDef.floatingFilterComponentParams ? !!colDef.floatingFilterComponentParams.suppressFilterButton : false;\n var compDetails = this.userComponentFactory.getFloatingFilterCompDetails(colDef, params, defaultFloatingFilterType);\n if (compDetails) {\n this.comp.setCompDetails(compDetails);\n }\n };\n HeaderFilterCellCtrl.prototype.currentParentModel = function () {\n var filterComponent = this.getFilterComponent(false);\n return filterComponent ? filterComponent.resolveNow(null, function (filter) { return filter && filter.getModel(); }) : null;\n };\n HeaderFilterCellCtrl.prototype.getFilterComponent = function (createIfDoesNotExist) {\n if (createIfDoesNotExist === void 0) { createIfDoesNotExist = true; }\n return this.filterManager.getFilterComponent(this.column, 'NO_UI', createIfDoesNotExist);\n };\n HeaderFilterCellCtrl.prototype.parentFilterInstance = function (callback) {\n var filterComponent = this.getFilterComponent();\n if (filterComponent == null) {\n return;\n }\n filterComponent.then(function (instance) {\n callback(unwrapUserComp(instance));\n });\n };\n HeaderFilterCellCtrl.prototype.showParentFilter = function () {\n var eventSource = this.suppressFilterButton ? this.eFloatingFilterBody : this.eButtonShowMainFilter;\n this.menuFactory.showMenuAfterButtonClick(this.column, eventSource, 'floatingFilter', 'filterMenuTab', ['filterMenuTab']);\n };\n HeaderFilterCellCtrl.prototype.setupSyncWithFilter = function () {\n var _this = this;\n if (!this.active) {\n return;\n }\n var syncWithFilter = function (filterChangedEvent) {\n var compPromise = _this.comp.getFloatingFilterComp();\n if (!compPromise) {\n return;\n }\n var parentModel = _this.currentParentModel();\n compPromise.then(function (comp) {\n if (comp) {\n comp.onParentModelChanged(parentModel, filterChangedEvent);\n }\n });\n };\n this.addManagedListener(this.column, Column.EVENT_FILTER_CHANGED, syncWithFilter);\n if (this.filterManager.isFilterActive(this.column)) {\n syncWithFilter(null);\n }\n };\n HeaderFilterCellCtrl.prototype.setupWidth = function () {\n var _this = this;\n var listener = function () {\n var width = _this.column.getActualWidth() + \"px\";\n _this.comp.setWidth(width);\n };\n this.addManagedListener(this.column, Column.EVENT_WIDTH_CHANGED, listener);\n listener();\n };\n __decorate$1o([\n Autowired('filterManager')\n ], HeaderFilterCellCtrl.prototype, \"filterManager\", void 0);\n __decorate$1o([\n Autowired('columnHoverService')\n ], HeaderFilterCellCtrl.prototype, \"columnHoverService\", void 0);\n __decorate$1o([\n Autowired('menuFactory')\n ], HeaderFilterCellCtrl.prototype, \"menuFactory\", void 0);\n return HeaderFilterCellCtrl;\n}(AbstractHeaderCellCtrl));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$1v = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$1n = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar ResizeFeature = /** @class */ (function (_super) {\n __extends$1v(ResizeFeature, _super);\n function ResizeFeature(pinned, column, eResize, comp, ctrl) {\n var _this = _super.call(this) || this;\n _this.pinned = pinned;\n _this.column = column;\n _this.eResize = eResize;\n _this.comp = comp;\n _this.ctrl = ctrl;\n return _this;\n }\n ResizeFeature.prototype.postConstruct = function () {\n var _this = this;\n var colDef = this.column.getColDef();\n var destroyResizeFuncs = [];\n var canResize;\n var canAutosize;\n var addResize = function () {\n setDisplayed(_this.eResize, canResize);\n if (!canResize) {\n return;\n }\n var finishedWithResizeFunc = _this.horizontalResizeService.addResizeBar({\n eResizeBar: _this.eResize,\n onResizeStart: _this.onResizeStart.bind(_this),\n onResizing: _this.onResizing.bind(_this, false),\n onResizeEnd: _this.onResizing.bind(_this, true)\n });\n destroyResizeFuncs.push(finishedWithResizeFunc);\n if (canAutosize) {\n var skipHeaderOnAutoSize_1 = _this.gridOptionsWrapper.isSkipHeaderOnAutoSize();\n var autoSizeColListener_1 = function () {\n _this.columnModel.autoSizeColumn(_this.column, skipHeaderOnAutoSize_1, \"uiColumnResized\");\n };\n _this.eResize.addEventListener('dblclick', autoSizeColListener_1);\n var touchListener_1 = new TouchListener(_this.eResize);\n touchListener_1.addEventListener(TouchListener.EVENT_DOUBLE_TAP, autoSizeColListener_1);\n _this.addDestroyFunc(function () {\n _this.eResize.removeEventListener('dblclick', autoSizeColListener_1);\n touchListener_1.removeEventListener(TouchListener.EVENT_DOUBLE_TAP, autoSizeColListener_1);\n touchListener_1.destroy();\n });\n }\n };\n var removeResize = function () {\n destroyResizeFuncs.forEach(function (f) { return f(); });\n destroyResizeFuncs.length = 0;\n };\n var refresh = function () {\n var resize = _this.column.isResizable();\n var autoSize = !_this.gridOptionsWrapper.isSuppressAutoSize() && !colDef.suppressAutoSize;\n var propertyChange = resize !== canResize || autoSize !== canAutosize;\n if (propertyChange) {\n canResize = resize;\n canAutosize = autoSize;\n removeResize();\n addResize();\n }\n };\n refresh();\n this.addDestroyFunc(removeResize);\n this.ctrl.addRefreshFunction(refresh);\n };\n ResizeFeature.prototype.onResizing = function (finished, resizeAmount) {\n var resizeAmountNormalised = this.normaliseResizeAmount(resizeAmount);\n var columnWidths = [{ key: this.column, newWidth: this.resizeStartWidth + resizeAmountNormalised }];\n this.columnModel.setColumnWidths(columnWidths, this.resizeWithShiftKey, finished, \"uiColumnDragged\");\n if (finished) {\n this.comp.addOrRemoveCssClass('ag-column-resizing', false);\n }\n };\n ResizeFeature.prototype.onResizeStart = function (shiftKey) {\n this.resizeStartWidth = this.column.getActualWidth();\n this.resizeWithShiftKey = shiftKey;\n this.comp.addOrRemoveCssClass('ag-column-resizing', true);\n };\n // optionally inverts the drag, depending on pinned and RTL\n // note - this method is duplicated in RenderedHeaderGroupCell - should refactor out?\n ResizeFeature.prototype.normaliseResizeAmount = function (dragChange) {\n var result = dragChange;\n var notPinningLeft = this.pinned !== Constants.PINNED_LEFT;\n var pinningRight = this.pinned === Constants.PINNED_RIGHT;\n if (this.gridOptionsWrapper.isEnableRtl()) {\n // for RTL, dragging left makes the col bigger, except when pinning left\n if (notPinningLeft) {\n result *= -1;\n }\n }\n else {\n // for LTR (ie normal), dragging left makes the col smaller, except when pinning right\n if (pinningRight) {\n result *= -1;\n }\n }\n return result;\n };\n __decorate$1n([\n Autowired('horizontalResizeService')\n ], ResizeFeature.prototype, \"horizontalResizeService\", void 0);\n __decorate$1n([\n Autowired('columnModel')\n ], ResizeFeature.prototype, \"columnModel\", void 0);\n __decorate$1n([\n PostConstruct\n ], ResizeFeature.prototype, \"postConstruct\", null);\n return ResizeFeature;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$1u = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar AgCheckbox = /** @class */ (function (_super) {\n __extends$1u(AgCheckbox, _super);\n function AgCheckbox(config, className, inputType) {\n if (className === void 0) { className = 'ag-checkbox'; }\n if (inputType === void 0) { inputType = 'checkbox'; }\n var _this = _super.call(this, config, className, inputType) || this;\n _this.labelAlignment = 'right';\n _this.selected = false;\n _this.readOnly = false;\n _this.passive = false;\n return _this;\n }\n AgCheckbox.prototype.addInputListeners = function () {\n this.addManagedListener(this.eInput, 'click', this.onCheckboxClick.bind(this));\n this.addManagedListener(this.eLabel, 'click', this.toggle.bind(this));\n };\n AgCheckbox.prototype.getNextValue = function () {\n return this.selected === undefined ? true : !this.selected;\n };\n AgCheckbox.prototype.setPassive = function (passive) {\n this.passive = passive;\n };\n AgCheckbox.prototype.isReadOnly = function () {\n return this.readOnly;\n };\n AgCheckbox.prototype.setReadOnly = function (readOnly) {\n this.eWrapper.classList.toggle('ag-disabled', readOnly);\n this.eInput.disabled = readOnly;\n this.readOnly = readOnly;\n };\n AgCheckbox.prototype.setDisabled = function (disabled) {\n this.eWrapper.classList.toggle('ag-disabled', disabled);\n return _super.prototype.setDisabled.call(this, disabled);\n };\n AgCheckbox.prototype.toggle = function () {\n if (this.eInput.disabled) {\n return;\n }\n var previousValue = this.isSelected();\n var nextValue = this.getNextValue();\n if (this.passive) {\n this.dispatchChange(nextValue, previousValue);\n }\n else {\n this.setValue(nextValue);\n }\n };\n AgCheckbox.prototype.getValue = function () {\n return this.isSelected();\n };\n AgCheckbox.prototype.setValue = function (value, silent) {\n this.refreshSelectedClass(value);\n this.setSelected(value, silent);\n return this;\n };\n AgCheckbox.prototype.setName = function (name) {\n var input = this.getInputElement();\n input.name = name;\n return this;\n };\n AgCheckbox.prototype.isSelected = function () {\n return this.selected;\n };\n AgCheckbox.prototype.setSelected = function (selected, silent) {\n if (this.isSelected() === selected) {\n return;\n }\n this.previousValue = this.isSelected();\n selected = this.selected = typeof selected === 'boolean' ? selected : undefined;\n this.eInput.checked = selected;\n this.eInput.indeterminate = selected === undefined;\n if (!silent) {\n this.dispatchChange(this.selected, this.previousValue);\n }\n };\n AgCheckbox.prototype.dispatchChange = function (selected, previousValue, event) {\n this.dispatchEvent({ type: AgCheckbox.EVENT_CHANGED, selected: selected, previousValue: previousValue, event: event });\n var input = this.getInputElement();\n var checkboxChangedEvent = {\n type: Events.EVENT_CHECKBOX_CHANGED,\n id: input.id,\n name: input.name,\n selected: selected,\n previousValue: previousValue\n };\n this.eventService.dispatchEvent(checkboxChangedEvent);\n };\n AgCheckbox.prototype.onCheckboxClick = function (e) {\n if (this.passive || this.eInput.disabled) {\n return;\n }\n var previousValue = this.isSelected();\n var selected = this.selected = e.target.checked;\n this.refreshSelectedClass(selected);\n this.dispatchChange(selected, previousValue, e);\n };\n AgCheckbox.prototype.refreshSelectedClass = function (value) {\n this.eWrapper.classList.toggle('ag-checked', value === true);\n this.eWrapper.classList.toggle('ag-indeterminate', value == null);\n };\n return AgCheckbox;\n}(AgAbstractInputField));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$1t = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$1m = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar SelectAllFeature = /** @class */ (function (_super) {\n __extends$1t(SelectAllFeature, _super);\n function SelectAllFeature(column) {\n var _this = _super.call(this) || this;\n _this.cbSelectAllVisible = false;\n _this.processingEventFromCheckbox = false;\n _this.column = column;\n var colDef = column.getColDef();\n _this.filteredOnly = colDef ? !!colDef.headerCheckboxSelectionFilteredOnly : false;\n return _this;\n }\n SelectAllFeature.prototype.onSpaceKeyPressed = function (e) {\n var checkbox = this.cbSelectAll;\n var eDocument = this.gridOptionsWrapper.getDocument();\n if (checkbox.isDisplayed() && !checkbox.getGui().contains(eDocument.activeElement)) {\n e.preventDefault();\n checkbox.setValue(!checkbox.getValue());\n }\n };\n SelectAllFeature.prototype.getCheckboxGui = function () {\n return this.cbSelectAll.getGui();\n };\n SelectAllFeature.prototype.setComp = function (ctrl) {\n this.headerCellCtrl = ctrl;\n this.cbSelectAll = this.createManagedBean(new AgCheckbox());\n this.cbSelectAll.addCssClass('ag-header-select-all');\n setAriaRole(this.cbSelectAll.getGui(), 'presentation');\n this.showOrHideSelectAll();\n this.addManagedListener(this.eventService, Events.EVENT_NEW_COLUMNS_LOADED, this.showOrHideSelectAll.bind(this));\n this.addManagedListener(this.eventService, Events.EVENT_DISPLAYED_COLUMNS_CHANGED, this.showOrHideSelectAll.bind(this));\n this.addManagedListener(this.eventService, Events.EVENT_SELECTION_CHANGED, this.onSelectionChanged.bind(this));\n this.addManagedListener(this.eventService, Events.EVENT_MODEL_UPDATED, this.onModelChanged.bind(this));\n this.addManagedListener(this.cbSelectAll, AgCheckbox.EVENT_CHANGED, this.onCbSelectAll.bind(this));\n setAriaHidden(this.cbSelectAll.getGui(), true);\n this.cbSelectAll.getInputElement().setAttribute('tabindex', '-1');\n this.refreshSelectAllLabel();\n };\n SelectAllFeature.prototype.showOrHideSelectAll = function () {\n this.cbSelectAllVisible = this.isCheckboxSelection();\n this.cbSelectAll.setDisplayed(this.cbSelectAllVisible);\n if (this.cbSelectAllVisible) {\n // in case user is trying this feature with the wrong model type\n this.checkRightRowModelType();\n // make sure checkbox is showing the right state\n this.updateStateOfCheckbox();\n }\n this.refreshSelectAllLabel();\n };\n SelectAllFeature.prototype.onModelChanged = function () {\n if (!this.cbSelectAllVisible) {\n return;\n }\n this.updateStateOfCheckbox();\n };\n SelectAllFeature.prototype.onSelectionChanged = function () {\n if (!this.cbSelectAllVisible) {\n return;\n }\n this.updateStateOfCheckbox();\n };\n SelectAllFeature.prototype.getNextCheckboxState = function (selectionCount) {\n // if no rows, always have it unselected\n if (selectionCount.selected === 0 && selectionCount.notSelected === 0) {\n return false;\n }\n // if mix of selected and unselected, this is the tri-state\n if (selectionCount.selected > 0 && selectionCount.notSelected > 0) {\n return null;\n }\n // only selected\n if (selectionCount.selected > 0) {\n return true;\n }\n // nothing selected\n return false;\n };\n SelectAllFeature.prototype.updateStateOfCheckbox = function () {\n if (this.processingEventFromCheckbox) {\n return;\n }\n this.processingEventFromCheckbox = true;\n var selectionCount = this.getSelectionCount();\n var allSelected = this.getNextCheckboxState(selectionCount);\n this.cbSelectAll.setValue(allSelected);\n this.refreshSelectAllLabel();\n this.processingEventFromCheckbox = false;\n };\n SelectAllFeature.prototype.refreshSelectAllLabel = function () {\n if (!this.cbSelectAllVisible) {\n this.headerCellCtrl.setAriaDescriptionProperty('selectAll', null);\n this.cbSelectAll.setInputAriaLabel(null);\n }\n else {\n var translate = this.gridOptionsWrapper.getLocaleTextFunc();\n var checked = this.cbSelectAll.getValue();\n var ariaStatus = checked ? translate('ariaChecked', 'checked') : translate('ariaUnchecked', 'unchecked');\n var ariaLabel = translate('ariaRowSelectAll', 'Press Space to toggle all rows selection');\n this.headerCellCtrl.setAriaDescriptionProperty('selectAll', ariaLabel + \" (\" + ariaStatus + \")\");\n this.cbSelectAll.setInputAriaLabel(ariaLabel + \" (\" + ariaStatus + \")\");\n }\n this.headerCellCtrl.refreshAriaDescription();\n };\n SelectAllFeature.prototype.getSelectionCount = function () {\n var _this = this;\n var selectedCount = 0;\n var notSelectedCount = 0;\n var callback = function (node) {\n if (_this.gridOptionsWrapper.isGroupSelectsChildren() && node.group) {\n return;\n }\n if (node.isSelected()) {\n selectedCount++;\n }\n else if (!node.selectable) ;\n else {\n notSelectedCount++;\n }\n };\n if (this.filteredOnly) {\n this.gridApi.forEachNodeAfterFilter(callback);\n }\n else {\n this.gridApi.forEachNode(callback);\n }\n return {\n notSelected: notSelectedCount,\n selected: selectedCount\n };\n };\n SelectAllFeature.prototype.checkRightRowModelType = function () {\n var rowModelType = this.rowModel.getType();\n var rowModelMatches = rowModelType === Constants.ROW_MODEL_TYPE_CLIENT_SIDE;\n if (!rowModelMatches) {\n console.warn(\"AG Grid: selectAllCheckbox is only available if using normal row model, you are using \" + rowModelType);\n }\n };\n SelectAllFeature.prototype.onCbSelectAll = function () {\n if (this.processingEventFromCheckbox) {\n return;\n }\n if (!this.cbSelectAllVisible) {\n return;\n }\n var value = this.cbSelectAll.getValue();\n if (value) {\n this.selectionService.selectAllRowNodes(this.filteredOnly);\n }\n else {\n this.selectionService.deselectAllRowNodes(this.filteredOnly);\n }\n };\n SelectAllFeature.prototype.isCheckboxSelection = function () {\n var result = this.column.getColDef().headerCheckboxSelection;\n if (typeof result === 'function') {\n var func = result;\n var params = {\n column: this.column,\n colDef: this.column.getColDef(),\n columnApi: this.columnApi,\n api: this.gridApi,\n context: this.gridOptionsWrapper.getContext()\n };\n result = func(params);\n }\n if (result) {\n if (this.gridOptionsWrapper.isRowModelServerSide()) {\n console.warn('AG Grid: headerCheckboxSelection is not supported for Server Side Row Model');\n return false;\n }\n if (this.gridOptionsWrapper.isRowModelInfinite()) {\n console.warn('AG Grid: headerCheckboxSelection is not supported for Infinite Row Model');\n return false;\n }\n if (this.gridOptionsWrapper.isRowModelViewport()) {\n console.warn('AG Grid: headerCheckboxSelection is not supported for Viewport Row Model');\n return false;\n }\n // otherwise the row model is compatible, so return true\n return true;\n }\n return false;\n };\n __decorate$1m([\n Autowired('gridApi')\n ], SelectAllFeature.prototype, \"gridApi\", void 0);\n __decorate$1m([\n Autowired('columnApi')\n ], SelectAllFeature.prototype, \"columnApi\", void 0);\n __decorate$1m([\n Autowired('rowModel')\n ], SelectAllFeature.prototype, \"rowModel\", void 0);\n __decorate$1m([\n Autowired('selectionService')\n ], SelectAllFeature.prototype, \"selectionService\", void 0);\n return SelectAllFeature;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$1s = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$1l = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar HeaderCellCtrl = /** @class */ (function (_super) {\n __extends$1s(HeaderCellCtrl, _super);\n function HeaderCellCtrl(column, parentRowCtrl) {\n var _this = _super.call(this, column, parentRowCtrl) || this;\n _this.refreshFunctions = [];\n _this.userHeaderClasses = new Set();\n _this.ariaDescriptionProperties = new Map();\n _this.column = column;\n return _this;\n }\n HeaderCellCtrl.prototype.setComp = function (comp, eGui, eResize, eHeaderCompWrapper) {\n var _this = this;\n _super.prototype.setGui.call(this, eGui);\n this.comp = comp;\n this.updateState();\n this.setupWidth();\n this.setupMovingCss();\n this.setupMenuClass();\n this.setupSortableClass();\n this.setupWrapTextClass();\n this.setupAutoHeight(eHeaderCompWrapper);\n this.addColumnHoverListener();\n this.setupFilterCss();\n this.setupColId();\n this.setupClassesFromColDef();\n this.setupTooltip();\n this.addActiveHeaderMouseListeners();\n this.setupSelectAll();\n this.setupUserComp();\n this.refreshAria();\n this.createManagedBean(new ResizeFeature(this.getPinned(), this.column, eResize, comp, this));\n this.createManagedBean(new HoverFeature([this.column], eGui));\n this.createManagedBean(new SetLeftFeature(this.column, eGui, this.beans));\n this.createManagedBean(new ManagedFocusFeature(eGui, {\n shouldStopEventPropagation: function (e) { return _this.shouldStopEventPropagation(e); },\n onTabKeyDown: function () { return null; },\n handleKeyDown: this.handleKeyDown.bind(this),\n onFocusIn: this.onFocusIn.bind(this),\n onFocusOut: this.onFocusOut.bind(this)\n }));\n this.addManagedListener(this.column, Column.EVENT_COL_DEF_CHANGED, this.onColDefChanged.bind(this));\n this.addManagedListener(this.eventService, Events.EVENT_COLUMN_VALUE_CHANGED, this.onColumnValueChanged.bind(this));\n this.addManagedListener(this.eventService, Events.EVENT_COLUMN_ROW_GROUP_CHANGED, this.onColumnRowGroupChanged.bind(this));\n this.addManagedListener(this.eventService, Events.EVENT_COLUMN_PIVOT_CHANGED, this.onColumnPivotChanged.bind(this));\n };\n HeaderCellCtrl.prototype.setupUserComp = function () {\n var compDetails = this.lookupUserCompDetails();\n this.setCompDetails(compDetails);\n };\n HeaderCellCtrl.prototype.setCompDetails = function (compDetails) {\n this.userCompDetails = compDetails;\n this.comp.setUserCompDetails(compDetails);\n };\n HeaderCellCtrl.prototype.lookupUserCompDetails = function () {\n var params = this.createParams();\n var colDef = this.column.getColDef();\n return this.userComponentFactory.getHeaderCompDetails(colDef, params);\n };\n HeaderCellCtrl.prototype.createParams = function () {\n var _this = this;\n var colDef = this.column.getColDef();\n var params = {\n column: this.column,\n displayName: this.displayName,\n enableSorting: colDef.sortable,\n enableMenu: this.menuEnabled,\n showColumnMenu: function (source) {\n _this.gridApi.showColumnMenuAfterButtonClick(_this.column, source);\n },\n progressSort: function (multiSort) {\n _this.sortController.progressSort(_this.column, !!multiSort, \"uiColumnSorted\");\n },\n setSort: function (sort, multiSort) {\n _this.sortController.setSortForColumn(_this.column, sort, !!multiSort, \"uiColumnSorted\");\n },\n api: this.gridApi,\n columnApi: this.columnApi,\n context: this.gridOptionsWrapper.getContext(),\n eGridHeader: this.getGui()\n };\n return params;\n };\n HeaderCellCtrl.prototype.setupSelectAll = function () {\n this.selectAllFeature = this.createManagedBean(new SelectAllFeature(this.column));\n this.selectAllFeature.setComp(this);\n };\n HeaderCellCtrl.prototype.getSelectAllGui = function () {\n return this.selectAllFeature.getCheckboxGui();\n };\n HeaderCellCtrl.prototype.handleKeyDown = function (e) {\n _super.prototype.handleKeyDown.call(this, e);\n if (e.key === KeyCode.SPACE) {\n this.selectAllFeature.onSpaceKeyPressed(e);\n }\n if (e.key === KeyCode.ENTER) {\n this.onEnterKeyPressed(e);\n }\n };\n HeaderCellCtrl.prototype.onEnterKeyPressed = function (e) {\n /// THIS IS BAD - we are assuming the header is not a user provided comp\n var headerComp = this.comp.getUserCompInstance();\n if (!headerComp) {\n return;\n }\n if (e.ctrlKey || e.metaKey) {\n if (this.menuEnabled && headerComp.showMenu) {\n e.preventDefault();\n headerComp.showMenu();\n }\n }\n else if (this.sortable) {\n var multiSort = e.shiftKey;\n this.sortController.progressSort(this.column, multiSort, \"uiColumnSorted\");\n }\n };\n HeaderCellCtrl.prototype.isMenuEnabled = function () {\n return this.menuEnabled;\n };\n HeaderCellCtrl.prototype.onFocusIn = function (e) {\n if (!this.getGui().contains(e.relatedTarget)) {\n var rowIndex = this.getRowIndex();\n this.focusService.setFocusedHeader(rowIndex, this.column);\n }\n this.setActiveHeader(true);\n };\n HeaderCellCtrl.prototype.onFocusOut = function (e) {\n if (this.getGui().contains(e.relatedTarget)) {\n return;\n }\n this.setActiveHeader(false);\n };\n HeaderCellCtrl.prototype.setupTooltip = function () {\n var _this = this;\n var tooltipCtrl = {\n getColumn: function () { return _this.column; },\n getColDef: function () { return _this.column.getColDef(); },\n getGui: function () { return _this.eGui; },\n getLocation: function () { return 'header'; },\n getTooltipValue: function () {\n var res = _this.column.getColDef().headerTooltip;\n return res;\n },\n };\n var tooltipFeature = this.createManagedBean(new TooltipFeature(tooltipCtrl, this.beans));\n tooltipFeature.setComp(this.comp);\n this.refreshFunctions.push(function () { return tooltipFeature.refreshToolTip(); });\n };\n HeaderCellCtrl.prototype.setupClassesFromColDef = function () {\n var _this = this;\n var refreshHeaderClasses = function () {\n var colDef = _this.column.getColDef();\n var goa = _this.gridOptionsWrapper;\n var classes = CssClassApplier.getHeaderClassesFromColDef(colDef, goa, _this.column, null);\n var oldClasses = _this.userHeaderClasses;\n _this.userHeaderClasses = new Set(classes);\n classes.forEach(function (c) {\n if (oldClasses.has(c)) {\n // class already added, no need to apply it, but remove from old set\n oldClasses.delete(c);\n }\n else {\n // class new since last time, so apply it\n _this.comp.addOrRemoveCssClass(c, true);\n }\n });\n // now old set only has classes that were applied last time, but not this time, so remove them\n oldClasses.forEach(function (c) { return _this.comp.addOrRemoveCssClass(c, false); });\n };\n this.refreshFunctions.push(refreshHeaderClasses);\n refreshHeaderClasses();\n };\n HeaderCellCtrl.prototype.setDragSource = function (eSource) {\n var _this = this;\n this.dragSourceElement = eSource;\n this.removeDragSource();\n if (!eSource) {\n return;\n }\n if (!this.draggable) {\n return;\n }\n var hideColumnOnExit = !this.gridOptionsWrapper.isSuppressDragLeaveHidesColumns();\n this.moveDragSource = {\n type: DragSourceType.HeaderCell,\n eElement: eSource,\n defaultIconName: hideColumnOnExit ? DragAndDropService.ICON_HIDE : DragAndDropService.ICON_NOT_ALLOWED,\n getDragItem: function () { return _this.createDragItem(); },\n dragItemName: this.displayName,\n onDragStarted: function () { return _this.column.setMoving(true, \"uiColumnMoved\"); },\n onDragStopped: function () { return _this.column.setMoving(false, \"uiColumnMoved\"); },\n onGridEnter: function (dragItem) {\n var _a, _b;\n if (hideColumnOnExit) {\n var unlockedColumns = ((_b = (_a = dragItem) === null || _a === void 0 ? void 0 : _a.columns) === null || _b === void 0 ? void 0 : _b.filter(function (col) { return !col.getColDef().lockVisible; })) || [];\n _this.columnModel.setColumnsVisible(unlockedColumns, true, \"uiColumnMoved\");\n }\n },\n onGridExit: function (dragItem) {\n var _a, _b;\n if (hideColumnOnExit) {\n var unlockedColumns = ((_b = (_a = dragItem) === null || _a === void 0 ? void 0 : _a.columns) === null || _b === void 0 ? void 0 : _b.filter(function (col) { return !col.getColDef().lockVisible; })) || [];\n _this.columnModel.setColumnsVisible(unlockedColumns, false, \"uiColumnMoved\");\n }\n },\n };\n this.dragAndDropService.addDragSource(this.moveDragSource, true);\n };\n HeaderCellCtrl.prototype.createDragItem = function () {\n var visibleState = {};\n visibleState[this.column.getId()] = this.column.isVisible();\n return {\n columns: [this.column],\n visibleState: visibleState\n };\n };\n HeaderCellCtrl.prototype.removeDragSource = function () {\n if (this.moveDragSource) {\n this.dragAndDropService.removeDragSource(this.moveDragSource);\n this.moveDragSource = undefined;\n }\n };\n HeaderCellCtrl.prototype.onColDefChanged = function () {\n this.refresh();\n };\n HeaderCellCtrl.prototype.updateState = function () {\n var colDef = this.column.getColDef();\n this.menuEnabled = this.menuFactory.isMenuEnabled(this.column) && !colDef.suppressMenu;\n this.sortable = colDef.sortable;\n this.displayName = this.calculateDisplayName();\n this.draggable = this.workOutDraggable();\n };\n HeaderCellCtrl.prototype.addRefreshFunction = function (func) {\n this.refreshFunctions.push(func);\n };\n HeaderCellCtrl.prototype.refresh = function () {\n this.updateState();\n this.refreshHeaderComp();\n this.refreshAria();\n this.refreshFunctions.forEach(function (f) { return f(); });\n };\n HeaderCellCtrl.prototype.refreshHeaderComp = function () {\n var newCompDetails = this.lookupUserCompDetails();\n var compInstance = this.comp.getUserCompInstance();\n // only try refresh if old comp exists adn it is the correct type\n var attemptRefresh = compInstance != null && this.userCompDetails.componentClass == newCompDetails.componentClass;\n var headerCompRefreshed = attemptRefresh ? this.attemptHeaderCompRefresh(newCompDetails.params) : false;\n if (headerCompRefreshed) {\n // we do this as a refresh happens after colDefs change, and it's possible the column has had it's\n // draggable property toggled. no need to call this if not refreshing, as setDragSource is done\n // as part of appendHeaderComp\n this.setDragSource(this.dragSourceElement);\n }\n else {\n this.setCompDetails(newCompDetails);\n }\n };\n HeaderCellCtrl.prototype.attemptHeaderCompRefresh = function (params) {\n var headerComp = this.comp.getUserCompInstance();\n if (!headerComp) {\n return false;\n }\n // if no refresh method, then we want to replace the headerComp\n if (!headerComp.refresh) {\n return false;\n }\n var res = headerComp.refresh(params);\n return res;\n };\n HeaderCellCtrl.prototype.calculateDisplayName = function () {\n return this.columnModel.getDisplayNameForColumn(this.column, 'header', true);\n };\n HeaderCellCtrl.prototype.checkDisplayName = function () {\n // display name can change if aggFunc different, eg sum(Gold) is now max(Gold)\n if (this.displayName !== this.calculateDisplayName()) {\n this.refresh();\n }\n };\n HeaderCellCtrl.prototype.workOutDraggable = function () {\n var colDef = this.column.getColDef();\n var isSuppressMovableColumns = this.gridOptionsWrapper.isSuppressMovableColumns();\n var colCanMove = !isSuppressMovableColumns && !colDef.suppressMovable && !colDef.lockPosition;\n // we should still be allowed drag the column, even if it can't be moved, if the column\n // can be dragged to a rowGroup or pivot drop zone\n return !!colCanMove || !!colDef.enableRowGroup || !!colDef.enablePivot;\n };\n HeaderCellCtrl.prototype.onColumnRowGroupChanged = function () {\n this.checkDisplayName();\n };\n HeaderCellCtrl.prototype.onColumnPivotChanged = function () {\n this.checkDisplayName();\n };\n HeaderCellCtrl.prototype.onColumnValueChanged = function () {\n this.checkDisplayName();\n };\n HeaderCellCtrl.prototype.setupWidth = function () {\n var _this = this;\n var listener = function () {\n _this.comp.setWidth(_this.column.getActualWidth() + 'px');\n };\n this.addManagedListener(this.column, Column.EVENT_WIDTH_CHANGED, listener);\n listener();\n };\n HeaderCellCtrl.prototype.setupMovingCss = function () {\n var _this = this;\n var listener = function () {\n // this is what makes the header go dark when it is been moved (gives impression to\n // user that the column was picked up).\n _this.comp.addOrRemoveCssClass('ag-header-cell-moving', _this.column.isMoving());\n };\n this.addManagedListener(this.column, Column.EVENT_MOVING_CHANGED, listener);\n listener();\n };\n HeaderCellCtrl.prototype.setupMenuClass = function () {\n var _this = this;\n var listener = function () {\n _this.comp.addOrRemoveCssClass('ag-column-menu-visible', _this.column.isMenuVisible());\n };\n this.addManagedListener(this.column, Column.EVENT_MENU_VISIBLE_CHANGED, listener);\n listener();\n };\n HeaderCellCtrl.prototype.setupSortableClass = function () {\n var _this = this;\n var updateSortableCssClass = function () {\n _this.comp.addOrRemoveCssClass('ag-header-cell-sortable', !!_this.sortable);\n };\n updateSortableCssClass();\n this.addRefreshFunction(updateSortableCssClass);\n this.addManagedListener(this.column, Column.EVENT_SORT_CHANGED, this.refreshAriaSort.bind(this));\n };\n HeaderCellCtrl.prototype.setupWrapTextClass = function () {\n var _this = this;\n var listener = function () {\n var wrapText = !!_this.column.getColDef().wrapHeaderText;\n _this.comp.addOrRemoveCssClass('ag-header-cell-wrap-text', wrapText);\n };\n listener();\n this.addRefreshFunction(listener);\n };\n HeaderCellCtrl.prototype.setupAutoHeight = function (wrapperElement) {\n var _this = this;\n var measureHeight = function (timesCalled) {\n if (!_this.isAlive()) {\n return;\n }\n var _a = getElementSize(_this.getGui()), paddingTop = _a.paddingTop, paddingBottom = _a.paddingBottom;\n var wrapperHeight = wrapperElement.offsetHeight;\n var autoHeight = wrapperHeight + paddingTop + paddingBottom;\n if (timesCalled < 5) {\n // if not in doc yet, means framework not yet inserted, so wait for next VM turn,\n // maybe it will be ready next VM turn\n var doc = _this.beans.gridOptionsWrapper.getDocument();\n var notYetInDom = !doc || !doc.contains(wrapperElement);\n // this happens in React, where React hasn't put any content in. we say 'possibly'\n // as a) may not be React and b) the cell could be empty anyway\n var possiblyNoContentYet = autoHeight == 0;\n if (notYetInDom || possiblyNoContentYet) {\n _this.beans.frameworkOverrides.setTimeout(function () { return measureHeight(timesCalled + 1); }, 0);\n return;\n }\n }\n _this.columnModel.setColumnHeaderHeight(_this.column, autoHeight);\n };\n var isMeasuring = false;\n var stopResizeObserver;\n var checkMeasuring = function () {\n var newValue = _this.column.isAutoHeaderHeight();\n if (newValue && !isMeasuring) {\n startMeasuring();\n }\n if (!newValue && isMeasuring) {\n stopMeasuring();\n }\n };\n var startMeasuring = function () {\n isMeasuring = true;\n measureHeight(0);\n _this.comp.addOrRemoveCssClass('ag-header-cell-auto-height', true);\n stopResizeObserver = _this.resizeObserverService.observeResize(wrapperElement, function () { return measureHeight(0); });\n };\n var stopMeasuring = function () {\n isMeasuring = false;\n if (stopResizeObserver) {\n stopResizeObserver();\n }\n _this.comp.addOrRemoveCssClass('ag-header-cell-auto-height', false);\n stopResizeObserver = undefined;\n };\n checkMeasuring();\n this.addDestroyFunc(function () { return stopMeasuring(); });\n // In theory we could rely on the resize observer for everything - but since it's debounced\n // it can be a little janky for smooth movement. in this case its better to react to our own events\n // And unfortunately we cant _just_ rely on our own events, since custom components can change whenever\n this.addManagedListener(this.column, Column.EVENT_WIDTH_CHANGED, function () { return isMeasuring && measureHeight(0); });\n // Displaying the sort icon changes the available area for text, so sort changes can affect height\n this.addManagedListener(this.column, Column.EVENT_SORT_CHANGED, function () {\n // Rendering changes for sort, happen after the event... not ideal\n if (isMeasuring) {\n _this.beans.frameworkOverrides.setTimeout(function () { return measureHeight(0); });\n }\n });\n this.addRefreshFunction(checkMeasuring);\n };\n HeaderCellCtrl.prototype.refreshAriaSort = function () {\n if (this.sortable) {\n var translate = this.gridOptionsWrapper.getLocaleTextFunc();\n this.comp.setAriaSort(getAriaSortState(this.column));\n this.setAriaDescriptionProperty('sort', translate('ariaSortableColumn', 'Press ENTER to sort.'));\n }\n else {\n this.comp.setAriaSort();\n this.setAriaDescriptionProperty('sort', null);\n }\n };\n HeaderCellCtrl.prototype.refreshAriaMenu = function () {\n if (this.menuEnabled) {\n var translate = this.gridOptionsWrapper.getLocaleTextFunc();\n this.setAriaDescriptionProperty('menu', translate('ariaMenuColumn', 'Press CTRL ENTER to open column menu.'));\n }\n else {\n this.setAriaDescriptionProperty('menu', null);\n }\n };\n HeaderCellCtrl.prototype.setAriaDescriptionProperty = function (property, value) {\n if (value != null) {\n this.ariaDescriptionProperties.set(property, value);\n }\n else {\n this.ariaDescriptionProperties.delete(property);\n }\n };\n HeaderCellCtrl.prototype.refreshAriaDescription = function () {\n var descriptionArray = Array.from(this.ariaDescriptionProperties.values());\n this.comp.setAriaDescription(descriptionArray.length ? descriptionArray.join(' ') : undefined);\n };\n HeaderCellCtrl.prototype.refreshAria = function () {\n this.refreshAriaSort();\n this.refreshAriaMenu();\n this.refreshAriaDescription();\n };\n HeaderCellCtrl.prototype.addColumnHoverListener = function () {\n var _this = this;\n var listener = function () {\n if (!_this.gridOptionsWrapper.isColumnHoverHighlight()) {\n return;\n }\n var isHovered = _this.columnHoverService.isHovered(_this.column);\n _this.comp.addOrRemoveCssClass('ag-column-hover', isHovered);\n };\n this.addManagedListener(this.eventService, Events.EVENT_COLUMN_HOVER_CHANGED, listener);\n listener();\n };\n HeaderCellCtrl.prototype.setupFilterCss = function () {\n var _this = this;\n var listener = function () {\n _this.comp.addOrRemoveCssClass('ag-header-cell-filtered', _this.column.isFilterActive());\n };\n this.addManagedListener(this.column, Column.EVENT_FILTER_ACTIVE_CHANGED, listener);\n listener();\n };\n HeaderCellCtrl.prototype.setupColId = function () {\n this.comp.setColId(this.column.getColId());\n };\n HeaderCellCtrl.prototype.addActiveHeaderMouseListeners = function () {\n var _this = this;\n var listener = function (e) { return _this.setActiveHeader(e.type === 'mouseenter'); };\n this.addManagedListener(this.getGui(), 'mouseenter', listener);\n this.addManagedListener(this.getGui(), 'mouseleave', listener);\n };\n HeaderCellCtrl.prototype.setActiveHeader = function (active) {\n this.comp.addOrRemoveCssClass('ag-header-active', active);\n };\n __decorate$1l([\n Autowired('columnModel')\n ], HeaderCellCtrl.prototype, \"columnModel\", void 0);\n __decorate$1l([\n Autowired('columnHoverService')\n ], HeaderCellCtrl.prototype, \"columnHoverService\", void 0);\n __decorate$1l([\n Autowired('sortController')\n ], HeaderCellCtrl.prototype, \"sortController\", void 0);\n __decorate$1l([\n Autowired('menuFactory')\n ], HeaderCellCtrl.prototype, \"menuFactory\", void 0);\n __decorate$1l([\n Autowired('dragAndDropService')\n ], HeaderCellCtrl.prototype, \"dragAndDropService\", void 0);\n __decorate$1l([\n Autowired('resizeObserverService')\n ], HeaderCellCtrl.prototype, \"resizeObserverService\", void 0);\n __decorate$1l([\n Autowired('gridApi')\n ], HeaderCellCtrl.prototype, \"gridApi\", void 0);\n __decorate$1l([\n Autowired('columnApi')\n ], HeaderCellCtrl.prototype, \"columnApi\", void 0);\n __decorate$1l([\n PreDestroy\n ], HeaderCellCtrl.prototype, \"removeDragSource\", null);\n return HeaderCellCtrl;\n}(AbstractHeaderCellCtrl));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$1r = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$1k = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar GroupResizeFeature = /** @class */ (function (_super) {\n __extends$1r(GroupResizeFeature, _super);\n function GroupResizeFeature(comp, eResize, pinned, columnGroup) {\n var _this = _super.call(this) || this;\n _this.eResize = eResize;\n _this.comp = comp;\n _this.pinned = pinned;\n _this.columnGroup = columnGroup;\n return _this;\n }\n GroupResizeFeature.prototype.postConstruct = function () {\n var _this = this;\n if (!this.columnGroup.isResizable()) {\n this.comp.addOrRemoveResizableCssClass('ag-hidden', true);\n return;\n }\n var finishedWithResizeFunc = this.horizontalResizeService.addResizeBar({\n eResizeBar: this.eResize,\n onResizeStart: this.onResizeStart.bind(this),\n onResizing: this.onResizing.bind(this, false),\n onResizeEnd: this.onResizing.bind(this, true)\n });\n this.addDestroyFunc(finishedWithResizeFunc);\n if (!this.gridOptionsWrapper.isSuppressAutoSize()) {\n var skipHeaderOnAutoSize_1 = this.gridOptionsWrapper.isSkipHeaderOnAutoSize();\n this.eResize.addEventListener('dblclick', function () {\n // get list of all the column keys we are responsible for\n var keys = [];\n var leafCols = _this.columnGroup.getDisplayedLeafColumns();\n leafCols.forEach(function (column) {\n // not all cols in the group may be participating with auto-resize\n if (!column.getColDef().suppressAutoSize) {\n keys.push(column.getColId());\n }\n });\n if (keys.length > 0) {\n _this.columnModel.autoSizeColumns({\n columns: keys,\n skipHeader: skipHeaderOnAutoSize_1,\n stopAtGroup: _this.columnGroup,\n source: 'uiColumnResized'\n });\n }\n _this.resizeLeafColumnsToFit();\n });\n }\n };\n GroupResizeFeature.prototype.onResizeStart = function (shiftKey) {\n var _this = this;\n this.calculateInitialValues();\n var takeFromGroup = null;\n if (shiftKey) {\n takeFromGroup = this.columnModel.getDisplayedGroupAfter(this.columnGroup);\n }\n if (takeFromGroup) {\n var takeFromLeafCols = takeFromGroup.getDisplayedLeafColumns();\n this.resizeTakeFromCols = takeFromLeafCols.filter(function (col) { return col.isResizable(); });\n this.resizeTakeFromStartWidth = 0;\n this.resizeTakeFromCols.forEach(function (col) { return _this.resizeTakeFromStartWidth += col.getActualWidth(); });\n this.resizeTakeFromRatios = [];\n this.resizeTakeFromCols.forEach(function (col) { return _this.resizeTakeFromRatios.push(col.getActualWidth() / _this.resizeTakeFromStartWidth); });\n }\n else {\n this.resizeTakeFromCols = null;\n this.resizeTakeFromStartWidth = null;\n this.resizeTakeFromRatios = null;\n }\n this.comp.addOrRemoveCssClass('ag-column-resizing', true);\n };\n GroupResizeFeature.prototype.onResizing = function (finished, resizeAmount) {\n var resizeAmountNormalised = this.normaliseDragChange(resizeAmount);\n var width = this.resizeStartWidth + resizeAmountNormalised;\n this.resizeColumns(width, finished);\n };\n GroupResizeFeature.prototype.resizeLeafColumnsToFit = function () {\n var preferredSize = this.autoWidthCalculator.getPreferredWidthForColumnGroup(this.columnGroup);\n this.calculateInitialValues();\n if (preferredSize > this.resizeStartWidth) {\n this.resizeColumns(preferredSize, true);\n }\n };\n GroupResizeFeature.prototype.resizeColumns = function (totalWidth, finished) {\n if (finished === void 0) { finished = true; }\n var resizeSets = [];\n resizeSets.push({\n columns: this.resizeCols,\n ratios: this.resizeRatios,\n width: totalWidth\n });\n if (this.resizeTakeFromCols) {\n var diff = totalWidth - this.resizeStartWidth;\n resizeSets.push({\n columns: this.resizeTakeFromCols,\n ratios: this.resizeTakeFromRatios,\n width: this.resizeTakeFromStartWidth - diff\n });\n }\n this.columnModel.resizeColumnSets({\n resizeSets: resizeSets,\n finished: finished,\n source: 'uiColumnDragged'\n });\n if (finished) {\n this.comp.addOrRemoveCssClass('ag-column-resizing', false);\n }\n };\n GroupResizeFeature.prototype.calculateInitialValues = function () {\n var _this = this;\n var leafCols = this.columnGroup.getDisplayedLeafColumns();\n this.resizeCols = leafCols.filter(function (col) { return col.isResizable(); });\n this.resizeStartWidth = 0;\n this.resizeCols.forEach(function (col) { return _this.resizeStartWidth += col.getActualWidth(); });\n this.resizeRatios = [];\n this.resizeCols.forEach(function (col) { return _this.resizeRatios.push(col.getActualWidth() / _this.resizeStartWidth); });\n };\n // optionally inverts the drag, depending on pinned and RTL\n // note - this method is duplicated in RenderedHeaderCell - should refactor out?\n GroupResizeFeature.prototype.normaliseDragChange = function (dragChange) {\n var result = dragChange;\n if (this.gridOptionsWrapper.isEnableRtl()) {\n // for RTL, dragging left makes the col bigger, except when pinning left\n if (this.pinned !== Constants.PINNED_LEFT) {\n result *= -1;\n }\n }\n else if (this.pinned === Constants.PINNED_RIGHT) {\n // for LTR (ie normal), dragging left makes the col smaller, except when pinning right\n result *= -1;\n }\n return result;\n };\n __decorate$1k([\n Autowired('horizontalResizeService')\n ], GroupResizeFeature.prototype, \"horizontalResizeService\", void 0);\n __decorate$1k([\n Autowired('autoWidthCalculator')\n ], GroupResizeFeature.prototype, \"autoWidthCalculator\", void 0);\n __decorate$1k([\n Autowired('columnModel')\n ], GroupResizeFeature.prototype, \"columnModel\", void 0);\n __decorate$1k([\n PostConstruct\n ], GroupResizeFeature.prototype, \"postConstruct\", null);\n return GroupResizeFeature;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$1q = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$1j = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar GroupWidthFeature = /** @class */ (function (_super) {\n __extends$1q(GroupWidthFeature, _super);\n function GroupWidthFeature(comp, columnGroup) {\n var _this = _super.call(this) || this;\n // the children can change, we keep destroy functions related to listening to the children here\n _this.removeChildListenersFuncs = [];\n _this.columnGroup = columnGroup;\n _this.comp = comp;\n return _this;\n }\n GroupWidthFeature.prototype.postConstruct = function () {\n // we need to listen to changes in child columns, as they impact our width\n this.addListenersToChildrenColumns();\n // the children belonging to this group can change, so we need to add and remove listeners as they change\n this.addManagedListener(this.columnGroup, ColumnGroup.EVENT_DISPLAYED_CHILDREN_CHANGED, this.onDisplayedChildrenChanged.bind(this));\n this.onWidthChanged();\n // the child listeners are not tied to this components life-cycle, as children can get added and removed\n // to the group - hence they are on a different life-cycle. so we must make sure the existing children\n // listeners are removed when we finally get destroyed\n this.addDestroyFunc(this.removeListenersOnChildrenColumns.bind(this));\n };\n GroupWidthFeature.prototype.addListenersToChildrenColumns = function () {\n var _this = this;\n // first destroy any old listeners\n this.removeListenersOnChildrenColumns();\n // now add new listeners to the new set of children\n var widthChangedListener = this.onWidthChanged.bind(this);\n this.columnGroup.getLeafColumns().forEach(function (column) {\n column.addEventListener(Column.EVENT_WIDTH_CHANGED, widthChangedListener);\n column.addEventListener(Column.EVENT_VISIBLE_CHANGED, widthChangedListener);\n _this.removeChildListenersFuncs.push(function () {\n column.removeEventListener(Column.EVENT_WIDTH_CHANGED, widthChangedListener);\n column.removeEventListener(Column.EVENT_VISIBLE_CHANGED, widthChangedListener);\n });\n });\n };\n GroupWidthFeature.prototype.removeListenersOnChildrenColumns = function () {\n this.removeChildListenersFuncs.forEach(function (func) { return func(); });\n this.removeChildListenersFuncs = [];\n };\n GroupWidthFeature.prototype.onDisplayedChildrenChanged = function () {\n this.addListenersToChildrenColumns();\n this.onWidthChanged();\n };\n GroupWidthFeature.prototype.onWidthChanged = function () {\n this.comp.setWidth(this.columnGroup.getActualWidth() + 'px');\n };\n __decorate$1j([\n PostConstruct\n ], GroupWidthFeature.prototype, \"postConstruct\", null);\n return GroupWidthFeature;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$1p = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$1i = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar HeaderGroupCellCtrl = /** @class */ (function (_super) {\n __extends$1p(HeaderGroupCellCtrl, _super);\n function HeaderGroupCellCtrl(columnGroup, parentRowCtrl) {\n var _this = _super.call(this, columnGroup, parentRowCtrl) || this;\n _this.columnGroup = columnGroup;\n return _this;\n }\n HeaderGroupCellCtrl.prototype.setComp = function (comp, eGui, eResize) {\n _super.prototype.setGui.call(this, eGui);\n this.comp = comp;\n this.displayName = this.columnModel.getDisplayNameForColumnGroup(this.columnGroup, 'header');\n this.addClasses();\n this.addAttributes();\n this.setupMovingCss();\n this.setupExpandable();\n this.setupTooltip();\n this.setupUserComp();\n var pinned = this.getParentRowCtrl().getPinned();\n var leafCols = this.columnGroup.getProvidedColumnGroup().getLeafColumns();\n this.createManagedBean(new HoverFeature(leafCols, eGui));\n this.createManagedBean(new SetLeftFeature(this.columnGroup, eGui, this.beans));\n this.createManagedBean(new GroupWidthFeature(comp, this.columnGroup));\n this.groupResizeFeature = this.createManagedBean(new GroupResizeFeature(comp, eResize, pinned, this.columnGroup));\n this.createManagedBean(new ManagedFocusFeature(eGui, {\n shouldStopEventPropagation: this.shouldStopEventPropagation.bind(this),\n onTabKeyDown: function () { return undefined; },\n handleKeyDown: this.handleKeyDown.bind(this),\n onFocusIn: this.onFocusIn.bind(this)\n }));\n };\n HeaderGroupCellCtrl.prototype.resizeLeafColumnsToFit = function () {\n this.groupResizeFeature.onResizeStart(false);\n this.groupResizeFeature.resizeLeafColumnsToFit();\n };\n HeaderGroupCellCtrl.prototype.setupUserComp = function () {\n var _this = this;\n var displayName = this.displayName;\n var params = {\n displayName: this.displayName,\n columnGroup: this.columnGroup,\n setExpanded: function (expanded) {\n _this.columnModel.setColumnGroupOpened(_this.columnGroup.getProvidedColumnGroup(), expanded, \"gridInitializing\");\n },\n api: this.gridApi,\n columnApi: this.columnApi,\n context: this.gridOptionsWrapper.getContext()\n };\n if (!displayName) {\n var columnGroup = this.columnGroup;\n var leafCols = columnGroup.getLeafColumns();\n // find the top most column group that represents the same columns. so if we are dragging a group, we also\n // want to visually show the parent groups dragging for the same column set. for example imaging 5 levels\n // of grouping, with each group only containing the next group, and the last group containing three columns,\n // then when you move any group (even the lowest level group) you are in-fact moving all the groups, as all\n // the groups represent the same column set.\n while (columnGroup.getParent() && columnGroup.getParent().getLeafColumns().length === leafCols.length) {\n columnGroup = columnGroup.getParent();\n }\n var colGroupDef = columnGroup.getColGroupDef();\n if (colGroupDef) {\n displayName = colGroupDef.headerName;\n }\n if (!displayName) {\n displayName = leafCols ? this.columnModel.getDisplayNameForColumn(leafCols[0], 'header', true) : '';\n }\n }\n var compDetails = this.userComponentFactory.getHeaderGroupCompDetails(params);\n this.comp.setUserCompDetails(compDetails);\n };\n HeaderGroupCellCtrl.prototype.setupTooltip = function () {\n var _this = this;\n var colGroupDef = this.columnGroup.getColGroupDef();\n var tooltipCtrl = {\n getColumn: function () { return _this.columnGroup; },\n getGui: function () { return _this.eGui; },\n getLocation: function () { return 'headerGroup'; },\n getTooltipValue: function () { return colGroupDef && colGroupDef.headerTooltip; }\n };\n if (colGroupDef) {\n tooltipCtrl.getColDef = function () { return colGroupDef; };\n }\n var tooltipFeature = this.createManagedBean(new TooltipFeature(tooltipCtrl, this.beans));\n tooltipFeature.setComp(this.comp);\n };\n HeaderGroupCellCtrl.prototype.setupExpandable = function () {\n var providedColGroup = this.columnGroup.getProvidedColumnGroup();\n this.refreshExpanded();\n this.addManagedListener(providedColGroup, ProvidedColumnGroup.EVENT_EXPANDABLE_CHANGED, this.refreshExpanded.bind(this));\n this.addManagedListener(providedColGroup, ProvidedColumnGroup.EVENT_EXPANDED_CHANGED, this.refreshExpanded.bind(this));\n };\n HeaderGroupCellCtrl.prototype.refreshExpanded = function () {\n var column = this.columnGroup;\n this.expandable = column.isExpandable();\n var expanded = column.isExpanded();\n if (this.expandable) {\n this.comp.setAriaExpanded(expanded ? 'true' : 'false');\n }\n else {\n this.comp.setAriaExpanded(undefined);\n }\n };\n HeaderGroupCellCtrl.prototype.addAttributes = function () {\n this.comp.setColId(this.columnGroup.getUniqueId());\n };\n HeaderGroupCellCtrl.prototype.addClasses = function () {\n var _this = this;\n var colGroupDef = this.columnGroup.getColGroupDef();\n var classes = CssClassApplier.getHeaderClassesFromColDef(colGroupDef, this.gridOptionsWrapper, null, this.columnGroup);\n // having different classes below allows the style to not have a bottom border\n // on the group header, if no group is specified\n classes.push(this.columnGroup.isPadding() ? \"ag-header-group-cell-no-group\" : \"ag-header-group-cell-with-group\");\n classes.forEach(function (c) { return _this.comp.addOrRemoveCssClass(c, true); });\n };\n HeaderGroupCellCtrl.prototype.setupMovingCss = function () {\n var _this = this;\n var providedColumnGroup = this.columnGroup.getProvidedColumnGroup();\n var leafColumns = providedColumnGroup.getLeafColumns();\n // this function adds or removes the moving css, based on if the col is moving.\n // this is what makes the header go dark when it is been moved (gives impression to\n // user that the column was picked up).\n var listener = function () { return _this.comp.addOrRemoveCssClass('ag-header-cell-moving', _this.columnGroup.isMoving()); };\n leafColumns.forEach(function (col) {\n _this.addManagedListener(col, Column.EVENT_MOVING_CHANGED, listener);\n });\n listener();\n };\n HeaderGroupCellCtrl.prototype.onFocusIn = function (e) {\n if (!this.eGui.contains(e.relatedTarget)) {\n var rowIndex = this.getRowIndex();\n this.beans.focusService.setFocusedHeader(rowIndex, this.columnGroup);\n }\n };\n HeaderGroupCellCtrl.prototype.handleKeyDown = function (e) {\n _super.prototype.handleKeyDown.call(this, e);\n var wrapperHasFocus = this.getWrapperHasFocus();\n if (!this.expandable || !wrapperHasFocus) {\n return;\n }\n if (e.key === KeyCode.ENTER) {\n var column = this.columnGroup;\n var newExpandedValue = !column.isExpanded();\n this.columnModel.setColumnGroupOpened(column.getProvidedColumnGroup(), newExpandedValue, \"uiColumnExpanded\");\n }\n };\n // unlike columns, this will only get called once, as we don't react on props on column groups\n // (we will always destroy and recreate this comp if something changes)\n HeaderGroupCellCtrl.prototype.setDragSource = function (eHeaderGroup) {\n var _this = this;\n if (this.isSuppressMoving()) {\n return;\n }\n var allLeafColumns = this.columnGroup.getProvidedColumnGroup().getLeafColumns();\n var hideColumnOnExit = !this.gridOptionsWrapper.isSuppressDragLeaveHidesColumns();\n var dragSource = {\n type: DragSourceType.HeaderCell,\n eElement: eHeaderGroup,\n defaultIconName: hideColumnOnExit ? DragAndDropService.ICON_HIDE : DragAndDropService.ICON_NOT_ALLOWED,\n dragItemName: this.displayName,\n // we add in the original group leaf columns, so we move both visible and non-visible items\n getDragItem: this.getDragItemForGroup.bind(this),\n onDragStarted: function () { return allLeafColumns.forEach(function (col) { return col.setMoving(true, \"uiColumnDragged\"); }); },\n onDragStopped: function () { return allLeafColumns.forEach(function (col) { return col.setMoving(false, \"uiColumnDragged\"); }); },\n onGridEnter: function (dragItem) {\n var _a, _b;\n if (hideColumnOnExit) {\n var unlockedColumns = ((_b = (_a = dragItem) === null || _a === void 0 ? void 0 : _a.columns) === null || _b === void 0 ? void 0 : _b.filter(function (col) { return !col.getColDef().lockVisible; })) || [];\n _this.columnModel.setColumnsVisible(unlockedColumns, true, \"uiColumnMoved\");\n }\n },\n onGridExit: function (dragItem) {\n var _a, _b;\n if (hideColumnOnExit) {\n var unlockedColumns = ((_b = (_a = dragItem) === null || _a === void 0 ? void 0 : _a.columns) === null || _b === void 0 ? void 0 : _b.filter(function (col) { return !col.getColDef().lockVisible; })) || [];\n _this.columnModel.setColumnsVisible(unlockedColumns, false, \"uiColumnMoved\");\n }\n },\n };\n this.dragAndDropService.addDragSource(dragSource, true);\n this.addDestroyFunc(function () { return _this.dragAndDropService.removeDragSource(dragSource); });\n };\n // when moving the columns, we want to move all the columns (contained within the DragItem) in this group in one go,\n // and in the order they are currently in the screen.\n HeaderGroupCellCtrl.prototype.getDragItemForGroup = function () {\n var allColumnsOriginalOrder = this.columnGroup.getProvidedColumnGroup().getLeafColumns();\n // capture visible state, used when re-entering grid to dictate which columns should be visible\n var visibleState = {};\n allColumnsOriginalOrder.forEach(function (column) { return visibleState[column.getId()] = column.isVisible(); });\n var allColumnsCurrentOrder = [];\n this.columnModel.getAllDisplayedColumns().forEach(function (column) {\n if (allColumnsOriginalOrder.indexOf(column) >= 0) {\n allColumnsCurrentOrder.push(column);\n removeFromArray(allColumnsOriginalOrder, column);\n }\n });\n // we are left with non-visible columns, stick these in at the end\n allColumnsOriginalOrder.forEach(function (column) { return allColumnsCurrentOrder.push(column); });\n // create and return dragItem\n return {\n columns: allColumnsCurrentOrder,\n visibleState: visibleState\n };\n };\n HeaderGroupCellCtrl.prototype.isSuppressMoving = function () {\n // if any child is fixed, then don't allow moving\n var childSuppressesMoving = false;\n this.columnGroup.getLeafColumns().forEach(function (column) {\n if (column.getColDef().suppressMovable || column.getColDef().lockPosition) {\n childSuppressesMoving = true;\n }\n });\n var result = childSuppressesMoving || this.gridOptionsWrapper.isSuppressMovableColumns();\n return result;\n };\n __decorate$1i([\n Autowired('columnModel')\n ], HeaderGroupCellCtrl.prototype, \"columnModel\", void 0);\n __decorate$1i([\n Autowired('dragAndDropService')\n ], HeaderGroupCellCtrl.prototype, \"dragAndDropService\", void 0);\n __decorate$1i([\n Autowired('gridApi')\n ], HeaderGroupCellCtrl.prototype, \"gridApi\", void 0);\n __decorate$1i([\n Autowired('columnApi')\n ], HeaderGroupCellCtrl.prototype, \"columnApi\", void 0);\n return HeaderGroupCellCtrl;\n}(AbstractHeaderCellCtrl));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$1o = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$1h = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar instanceIdSequence = 0;\nvar HeaderRowCtrl = /** @class */ (function (_super) {\n __extends$1o(HeaderRowCtrl, _super);\n function HeaderRowCtrl(rowIndex, pinned, type) {\n var _this = _super.call(this) || this;\n _this.instanceId = instanceIdSequence++;\n _this.headerCellCtrls = {};\n _this.rowIndex = rowIndex;\n _this.pinned = pinned;\n _this.type = type;\n return _this;\n }\n HeaderRowCtrl.prototype.getInstanceId = function () {\n return this.instanceId;\n };\n HeaderRowCtrl.prototype.setComp = function (comp) {\n this.comp = comp;\n this.onRowHeightChanged();\n this.onVirtualColumnsChanged();\n this.setWidth();\n this.addEventListeners();\n if (isBrowserSafari()) {\n // fix for a Safari rendering bug that caused the header to flicker above chart panels\n // as you move the mouse over the header\n this.comp.setTransform('translateZ(0)');\n }\n comp.setAriaRowIndex(this.rowIndex + 1);\n };\n HeaderRowCtrl.prototype.addEventListeners = function () {\n this.addManagedListener(this.eventService, Events.EVENT_COLUMN_RESIZED, this.onColumnResized.bind(this));\n // when print layout changes, it changes what columns are in what section\n this.addManagedListener(this.gridOptionsWrapper, GridOptionsWrapper.PROP_DOM_LAYOUT, this.onDisplayedColumnsChanged.bind(this));\n this.addManagedListener(this.eventService, Events.EVENT_DISPLAYED_COLUMNS_CHANGED, this.onDisplayedColumnsChanged.bind(this));\n this.addManagedListener(this.eventService, Events.EVENT_VIRTUAL_COLUMNS_CHANGED, this.onVirtualColumnsChanged.bind(this));\n this.addManagedListener(this.eventService, Events.EVENT_COLUMN_HEADER_HEIGHT_CHANGED, this.onRowHeightChanged.bind(this));\n this.addManagedListener(this.gridOptionsWrapper, GridOptionsWrapper.PROP_HEADER_HEIGHT, this.onRowHeightChanged.bind(this));\n this.addManagedListener(this.gridOptionsWrapper, GridOptionsWrapper.PROP_PIVOT_HEADER_HEIGHT, this.onRowHeightChanged.bind(this));\n this.addManagedListener(this.gridOptionsWrapper, GridOptionsWrapper.PROP_GROUP_HEADER_HEIGHT, this.onRowHeightChanged.bind(this));\n this.addManagedListener(this.gridOptionsWrapper, GridOptionsWrapper.PROP_PIVOT_GROUP_HEADER_HEIGHT, this.onRowHeightChanged.bind(this));\n this.addManagedListener(this.gridOptionsWrapper, GridOptionsWrapper.PROP_FLOATING_FILTERS_HEIGHT, this.onRowHeightChanged.bind(this));\n };\n HeaderRowCtrl.prototype.getHeaderCellCtrl = function (column) {\n return values(this.headerCellCtrls).find(function (cellCtrl) { return cellCtrl.getColumnGroupChild() === column; });\n };\n HeaderRowCtrl.prototype.onDisplayedColumnsChanged = function () {\n this.onVirtualColumnsChanged();\n this.setWidth();\n this.onRowHeightChanged();\n };\n HeaderRowCtrl.prototype.getType = function () {\n return this.type;\n };\n HeaderRowCtrl.prototype.onColumnResized = function () {\n this.setWidth();\n };\n HeaderRowCtrl.prototype.setWidth = function () {\n var width = this.getWidthForRow();\n this.comp.setWidth(width + \"px\");\n };\n HeaderRowCtrl.prototype.getWidthForRow = function () {\n var printLayout = this.gridOptionsWrapper.getDomLayout() === Constants.DOM_LAYOUT_PRINT;\n if (printLayout) {\n var pinned = this.pinned != null;\n if (pinned) {\n return 0;\n }\n return this.columnModel.getContainerWidth(Constants.PINNED_RIGHT)\n + this.columnModel.getContainerWidth(Constants.PINNED_LEFT)\n + this.columnModel.getContainerWidth(null);\n }\n // if not printing, just return the width as normal\n return this.columnModel.getContainerWidth(this.pinned);\n };\n HeaderRowCtrl.prototype.onRowHeightChanged = function () {\n var headerRowCount = this.columnModel.getHeaderRowCount();\n var sizes = [];\n var numberOfFloating = 0;\n if (this.columnModel.hasFloatingFilters()) {\n headerRowCount++;\n numberOfFloating = 1;\n }\n var groupHeight = this.columnModel.getColumnGroupHeaderRowHeight();\n var headerHeight = this.columnModel.getColumnHeaderRowHeight();\n var numberOfNonGroups = 1 + numberOfFloating;\n var numberOfGroups = headerRowCount - numberOfNonGroups;\n for (var i = 0; i < numberOfGroups; i++) {\n sizes.push(groupHeight);\n }\n sizes.push(headerHeight);\n for (var i = 0; i < numberOfFloating; i++) {\n sizes.push(this.gridOptionsWrapper.getFloatingFiltersHeight());\n }\n var topOffset = 0;\n for (var i = 0; i < this.rowIndex; i++) {\n topOffset += sizes[i];\n }\n var thisRowHeight = sizes[this.rowIndex] + 'px';\n this.comp.setTop(topOffset + 'px');\n this.comp.setHeight(thisRowHeight);\n };\n HeaderRowCtrl.prototype.getPinned = function () {\n return this.pinned;\n };\n HeaderRowCtrl.prototype.getRowIndex = function () {\n return this.rowIndex;\n };\n HeaderRowCtrl.prototype.onVirtualColumnsChanged = function () {\n var _this = this;\n var oldCtrls = this.headerCellCtrls;\n this.headerCellCtrls = {};\n var columns = this.getColumnsInViewport();\n columns.forEach(function (child) {\n // skip groups that have no displayed children. this can happen when the group is broken,\n // and this section happens to have nothing to display for the open / closed state.\n // (a broken group is one that is split, ie columns in the group have a non-group column\n // in between them)\n if (child.isEmptyGroup()) {\n return;\n }\n var idOfChild = child.getUniqueId();\n // if we already have this cell rendered, do nothing\n var headerCtrl = oldCtrls[idOfChild];\n delete oldCtrls[idOfChild];\n // it's possible there is a new Column with the same ID, but it's for a different Column.\n // this is common with pivoting, where the pivot cols change, but the id's are still pivot_0,\n // pivot_1 etc. so if new col but same ID, need to remove the old col here first as we are\n // about to replace it in the this.headerComps map.\n var forOldColumn = headerCtrl && headerCtrl.getColumnGroupChild() != child;\n if (forOldColumn) {\n _this.destroyBean(headerCtrl);\n headerCtrl = undefined;\n }\n if (headerCtrl == null) {\n switch (_this.type) {\n case HeaderRowType.FLOATING_FILTER:\n headerCtrl = _this.createBean(new HeaderFilterCellCtrl(child, _this));\n break;\n case HeaderRowType.COLUMN_GROUP:\n headerCtrl = _this.createBean(new HeaderGroupCellCtrl(child, _this));\n break;\n default:\n headerCtrl = _this.createBean(new HeaderCellCtrl(child, _this));\n break;\n }\n }\n _this.headerCellCtrls[idOfChild] = headerCtrl;\n });\n // we want to keep columns that are focused, otherwise keyboard navigation breaks\n var isFocusedAndDisplayed = function (ctrl) {\n var isFocused = _this.focusService.isHeaderWrapperFocused(ctrl);\n if (!isFocused) {\n return false;\n }\n var isDisplayed = _this.columnModel.isDisplayed(ctrl.getColumnGroupChild());\n return isDisplayed;\n };\n iterateObject(oldCtrls, function (id, oldCtrl) {\n var keepCtrl = isFocusedAndDisplayed(oldCtrl);\n if (keepCtrl) {\n _this.headerCellCtrls[id] = oldCtrl;\n }\n else {\n _this.destroyBean(oldCtrl);\n }\n });\n var ctrlsToDisplay = getAllValuesInObject(this.headerCellCtrls);\n this.comp.setHeaderCtrls(ctrlsToDisplay);\n };\n HeaderRowCtrl.prototype.destroyCtrls = function () {\n var _this = this;\n iterateObject(this.headerCellCtrls, function (key, ctrl) {\n _this.destroyBean(ctrl);\n });\n this.headerCellCtrls = {};\n };\n HeaderRowCtrl.prototype.getColumnsInViewport = function () {\n var printLayout = this.gridOptionsWrapper.getDomLayout() === Constants.DOM_LAYOUT_PRINT;\n return printLayout ? this.getColumnsInViewportPrintLayout() : this.getColumnsInViewportNormalLayout();\n };\n HeaderRowCtrl.prototype.getColumnsInViewportPrintLayout = function () {\n var _this = this;\n // for print layout, we add all columns into the center\n if (this.pinned != null) {\n return [];\n }\n var viewportColumns = [];\n var actualDepth = this.getActualDepth();\n [Constants.PINNED_LEFT, null, Constants.PINNED_RIGHT].forEach(function (pinned) {\n var items = _this.columnModel.getVirtualHeaderGroupRow(pinned, actualDepth);\n viewportColumns = viewportColumns.concat(items);\n });\n return viewportColumns;\n };\n HeaderRowCtrl.prototype.getActualDepth = function () {\n return this.type == HeaderRowType.FLOATING_FILTER ? this.rowIndex - 1 : this.rowIndex;\n };\n HeaderRowCtrl.prototype.getColumnsInViewportNormalLayout = function () {\n // when in normal layout, we add the columns for that container only\n return this.columnModel.getVirtualHeaderGroupRow(this.pinned, this.getActualDepth());\n };\n HeaderRowCtrl.prototype.focusHeader = function (column, event) {\n var allCtrls = getAllValuesInObject(this.headerCellCtrls);\n var ctrl = allCtrls.find(function (ctrl) { return ctrl.getColumnGroupChild() == column; });\n if (!ctrl) {\n return false;\n }\n ctrl.focus(event);\n return true;\n };\n __decorate$1h([\n Autowired('columnModel')\n ], HeaderRowCtrl.prototype, \"columnModel\", void 0);\n __decorate$1h([\n Autowired('focusService')\n ], HeaderRowCtrl.prototype, \"focusService\", void 0);\n __decorate$1h([\n PreDestroy\n ], HeaderRowCtrl.prototype, \"destroyCtrls\", null);\n return HeaderRowCtrl;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$1n = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$1g = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __read$c = (undefined && undefined.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar __spread$a = (undefined && undefined.__spread) || function () {\n for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$c(arguments[i]));\n return ar;\n};\nvar HeaderRowContainerCtrl = /** @class */ (function (_super) {\n __extends$1n(HeaderRowContainerCtrl, _super);\n function HeaderRowContainerCtrl(pinned) {\n var _this = _super.call(this) || this;\n _this.groupsRowCtrls = [];\n _this.pinned = pinned;\n return _this;\n }\n HeaderRowContainerCtrl.prototype.setComp = function (comp, eGui) {\n this.comp = comp;\n this.eViewport = eGui;\n this.setupCenterWidth();\n this.setupPinnedWidth();\n this.setupDragAndDrop(this.eViewport);\n this.addManagedListener(this.eventService, Events.EVENT_GRID_COLUMNS_CHANGED, this.onGridColumnsChanged.bind(this));\n this.addManagedListener(this.eViewport, 'scroll', this.resetScrollLeft.bind(this));\n this.ctrlsService.registerHeaderContainer(this, this.pinned);\n if (this.columnModel.isReady()) {\n this.refresh();\n }\n };\n HeaderRowContainerCtrl.prototype.setupDragAndDrop = function (dropContainer) {\n var bodyDropTarget = new BodyDropTarget(this.pinned, dropContainer);\n this.createManagedBean(bodyDropTarget);\n };\n HeaderRowContainerCtrl.prototype.refresh = function (keepColumns) {\n var _this = this;\n if (keepColumns === void 0) { keepColumns = false; }\n var sequence = new NumberSequence();\n var focusedHeaderPosition = this.focusService.getFocusHeaderToUseAfterRefresh();\n var refreshColumnGroups = function () {\n var groupRowCount = _this.columnModel.getHeaderRowCount() - 1;\n _this.groupsRowCtrls = _this.destroyBeans(_this.groupsRowCtrls);\n for (var i = 0; i < groupRowCount; i++) {\n var ctrl = _this.createBean(new HeaderRowCtrl(sequence.next(), _this.pinned, HeaderRowType.COLUMN_GROUP));\n _this.groupsRowCtrls.push(ctrl);\n }\n };\n var refreshColumns = function () {\n var rowIndex = sequence.next();\n var needNewInstance = _this.columnsRowCtrl == null || !keepColumns || _this.columnsRowCtrl.getRowIndex() !== rowIndex;\n if (needNewInstance) {\n _this.destroyBean(_this.columnsRowCtrl);\n _this.columnsRowCtrl = _this.createBean(new HeaderRowCtrl(rowIndex, _this.pinned, HeaderRowType.COLUMN));\n }\n };\n var refreshFilters = function () {\n var includeFloatingFilter = _this.columnModel.hasFloatingFilters();\n var destroyPreviousComp = function () {\n _this.filtersRowCtrl = _this.destroyBean(_this.filtersRowCtrl);\n };\n if (!includeFloatingFilter) {\n destroyPreviousComp();\n return;\n }\n var rowIndex = sequence.next();\n if (_this.filtersRowCtrl) {\n var rowIndexMismatch = _this.filtersRowCtrl.getRowIndex() !== rowIndex;\n if (!keepColumns || rowIndexMismatch) {\n destroyPreviousComp();\n }\n }\n if (!_this.filtersRowCtrl) {\n _this.filtersRowCtrl = _this.createBean(new HeaderRowCtrl(rowIndex, _this.pinned, HeaderRowType.FLOATING_FILTER));\n }\n };\n refreshColumnGroups();\n refreshColumns();\n refreshFilters();\n var allCtrls = this.getAllCtrls();\n this.comp.setCtrls(allCtrls);\n this.restoreFocusOnHeader(focusedHeaderPosition);\n };\n HeaderRowContainerCtrl.prototype.restoreFocusOnHeader = function (position) {\n if (position == null || position.column.getPinned() != this.pinned) {\n return;\n }\n this.focusService.focusHeaderPosition({ headerPosition: position });\n };\n HeaderRowContainerCtrl.prototype.getAllCtrls = function () {\n var res = __spread$a(this.groupsRowCtrls, [this.columnsRowCtrl]);\n if (this.filtersRowCtrl) {\n res.push(this.filtersRowCtrl);\n }\n return res;\n };\n // grid cols have changed - this also means the number of rows in the header can have\n // changed. so we remove all the old rows and insert new ones for a complete refresh\n HeaderRowContainerCtrl.prototype.onGridColumnsChanged = function () {\n this.refresh(true);\n };\n HeaderRowContainerCtrl.prototype.setupCenterWidth = function () {\n var _this = this;\n if (this.pinned != null) {\n return;\n }\n this.createManagedBean(new CenterWidthFeature(function (width) { return _this.comp.setCenterWidth(width + \"px\"); }));\n };\n HeaderRowContainerCtrl.prototype.setHorizontalScroll = function (offset) {\n this.comp.setContainerTransform(\"translateX(\" + offset + \"px)\");\n };\n HeaderRowContainerCtrl.prototype.resetScrollLeft = function () {\n this.eViewport.scrollLeft = 0;\n };\n HeaderRowContainerCtrl.prototype.setupPinnedWidth = function () {\n var _this = this;\n if (this.pinned == null) {\n return;\n }\n var pinningLeft = this.pinned === Constants.PINNED_LEFT;\n var pinningRight = this.pinned === Constants.PINNED_RIGHT;\n var listener = function () {\n var width = pinningLeft ? _this.pinnedWidthService.getPinnedLeftWidth() : _this.pinnedWidthService.getPinnedRightWidth();\n if (width == null) {\n return;\n } // can happen at initialisation, width not yet set\n var hidden = width == 0;\n var isRtl = _this.gridOptionsWrapper.isEnableRtl();\n var scrollbarWidth = _this.gridOptionsWrapper.getScrollbarWidth();\n // if there is a scroll showing (and taking up space, so Windows, and not iOS)\n // in the body, then we add extra space to keep header aligned with the body,\n // as body width fits the cols and the scrollbar\n var addPaddingForScrollbar = _this.scrollVisibleService.isVerticalScrollShowing() && ((isRtl && pinningLeft) || (!isRtl && pinningRight));\n var widthWithPadding = addPaddingForScrollbar ? width + scrollbarWidth : width;\n _this.comp.setPinnedContainerWidth(widthWithPadding + 'px');\n _this.comp.addOrRemoveCssClass('ag-hidden', hidden);\n };\n this.addManagedListener(this.eventService, Events.EVENT_LEFT_PINNED_WIDTH_CHANGED, listener);\n this.addManagedListener(this.eventService, Events.EVENT_RIGHT_PINNED_WIDTH_CHANGED, listener);\n this.addManagedListener(this.eventService, Events.EVENT_SCROLL_VISIBILITY_CHANGED, listener);\n this.addManagedListener(this.eventService, Events.EVENT_SCROLLBAR_WIDTH_CHANGED, listener);\n };\n HeaderRowContainerCtrl.prototype.getHeaderCtrlForColumn = function (column) {\n if (column instanceof Column) {\n if (!this.columnsRowCtrl) {\n return;\n }\n return this.columnsRowCtrl.getHeaderCellCtrl(column);\n }\n if (this.groupsRowCtrls.length === 0) {\n return;\n }\n for (var i = 0; i < this.groupsRowCtrls.length; i++) {\n var ctrl = this.groupsRowCtrls[i].getHeaderCellCtrl(column);\n if (ctrl) {\n return ctrl;\n }\n }\n };\n HeaderRowContainerCtrl.prototype.getHtmlElementForColumnHeader = function (column) {\n /* tslint:enable */\n var cellCtrl = this.getHeaderCtrlForColumn(column);\n if (!cellCtrl) {\n return null;\n }\n return cellCtrl.getGui();\n };\n HeaderRowContainerCtrl.prototype.getRowType = function (rowIndex) {\n var allCtrls = this.getAllCtrls();\n var ctrl = allCtrls[rowIndex];\n return ctrl ? ctrl.getType() : undefined;\n };\n HeaderRowContainerCtrl.prototype.focusHeader = function (rowIndex, column, event) {\n var allCtrls = this.getAllCtrls();\n var ctrl = allCtrls[rowIndex];\n if (!ctrl) {\n return false;\n }\n return ctrl.focusHeader(column, event);\n };\n HeaderRowContainerCtrl.prototype.getRowCount = function () {\n return this.getAllCtrls().length;\n };\n __decorate$1g([\n Autowired('ctrlsService')\n ], HeaderRowContainerCtrl.prototype, \"ctrlsService\", void 0);\n __decorate$1g([\n Autowired('scrollVisibleService')\n ], HeaderRowContainerCtrl.prototype, \"scrollVisibleService\", void 0);\n __decorate$1g([\n Autowired('pinnedWidthService')\n ], HeaderRowContainerCtrl.prototype, \"pinnedWidthService\", void 0);\n __decorate$1g([\n Autowired('columnModel')\n ], HeaderRowContainerCtrl.prototype, \"columnModel\", void 0);\n __decorate$1g([\n Autowired('focusService')\n ], HeaderRowContainerCtrl.prototype, \"focusService\", void 0);\n return HeaderRowContainerCtrl;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$1m = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$1f = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar HeaderRowContainerComp = /** @class */ (function (_super) {\n __extends$1m(HeaderRowContainerComp, _super);\n function HeaderRowContainerComp(pinned) {\n var _this = _super.call(this) || this;\n _this.headerRowComps = {};\n _this.rowCompsList = [];\n _this.pinned = pinned;\n return _this;\n }\n HeaderRowContainerComp.prototype.init = function () {\n var _this = this;\n this.selectAndSetTemplate();\n var compProxy = {\n addOrRemoveCssClass: function (cssClassName, on) { return _this.addOrRemoveCssClass(cssClassName, on); },\n setCtrls: function (ctrls) { return _this.setCtrls(ctrls); },\n // only gets called for center section\n setCenterWidth: function (width) { return _this.eCenterContainer.style.width = width; },\n setContainerTransform: function (transform) { return _this.eCenterContainer.style.transform = transform; },\n // only gets called for pinned sections\n setPinnedContainerWidth: function (width) {\n var eGui = _this.getGui();\n eGui.style.width = width;\n eGui.style.maxWidth = width;\n eGui.style.minWidth = width;\n }\n };\n var ctrl = this.createManagedBean(new HeaderRowContainerCtrl(this.pinned));\n ctrl.setComp(compProxy, this.getGui());\n };\n HeaderRowContainerComp.prototype.selectAndSetTemplate = function () {\n var pinnedLeft = this.pinned == Constants.PINNED_LEFT;\n var pinnedRight = this.pinned == Constants.PINNED_RIGHT;\n var template = pinnedLeft ? HeaderRowContainerComp.PINNED_LEFT_TEMPLATE :\n pinnedRight ? HeaderRowContainerComp.PINNED_RIGHT_TEMPLATE : HeaderRowContainerComp.CENTER_TEMPLATE;\n this.setTemplate(template);\n // for left and right, we add rows directly to the root element,\n // but for center container we add elements to the child container.\n this.eRowContainer = this.eCenterContainer ? this.eCenterContainer : this.getGui();\n };\n HeaderRowContainerComp.prototype.destroyRowComps = function () {\n this.setCtrls([]);\n };\n HeaderRowContainerComp.prototype.destroyRowComp = function (rowComp) {\n this.destroyBean(rowComp);\n this.eRowContainer.removeChild(rowComp.getGui());\n };\n HeaderRowContainerComp.prototype.setCtrls = function (ctrls) {\n var _this = this;\n var oldRowComps = this.headerRowComps;\n this.headerRowComps = {};\n this.rowCompsList = [];\n var prevGui;\n var appendEnsuringDomOrder = function (rowComp) {\n var eGui = rowComp.getGui();\n var notAlreadyIn = eGui.parentElement != _this.eRowContainer;\n if (notAlreadyIn) {\n _this.eRowContainer.appendChild(eGui);\n }\n if (prevGui) {\n ensureDomOrder(_this.eRowContainer, eGui, prevGui);\n }\n prevGui = eGui;\n };\n ctrls.forEach(function (ctrl) {\n var ctrlId = ctrl.getInstanceId();\n var existingComp = oldRowComps[ctrlId];\n delete oldRowComps[ctrlId];\n var rowComp = existingComp ? existingComp : _this.createBean(new HeaderRowComp(ctrl));\n _this.headerRowComps[ctrlId] = rowComp;\n _this.rowCompsList.push(rowComp);\n appendEnsuringDomOrder(rowComp);\n });\n getAllValuesInObject(oldRowComps).forEach(function (c) { return _this.destroyRowComp(c); });\n };\n HeaderRowContainerComp.PINNED_LEFT_TEMPLATE = \"
    \";\n HeaderRowContainerComp.PINNED_RIGHT_TEMPLATE = \"
    \";\n HeaderRowContainerComp.CENTER_TEMPLATE = \"
    \\n
    \\n
    \";\n __decorate$1f([\n RefSelector('eCenterContainer')\n ], HeaderRowContainerComp.prototype, \"eCenterContainer\", void 0);\n __decorate$1f([\n PostConstruct\n ], HeaderRowContainerComp.prototype, \"init\", null);\n __decorate$1f([\n PreDestroy\n ], HeaderRowContainerComp.prototype, \"destroyRowComps\", null);\n return HeaderRowContainerComp;\n}(Component));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$1l = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$1e = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar HeaderNavigationDirection;\n(function (HeaderNavigationDirection) {\n HeaderNavigationDirection[HeaderNavigationDirection[\"UP\"] = 0] = \"UP\";\n HeaderNavigationDirection[HeaderNavigationDirection[\"DOWN\"] = 1] = \"DOWN\";\n HeaderNavigationDirection[HeaderNavigationDirection[\"LEFT\"] = 2] = \"LEFT\";\n HeaderNavigationDirection[HeaderNavigationDirection[\"RIGHT\"] = 3] = \"RIGHT\";\n})(HeaderNavigationDirection || (HeaderNavigationDirection = {}));\nvar HeaderNavigationService = /** @class */ (function (_super) {\n __extends$1l(HeaderNavigationService, _super);\n function HeaderNavigationService() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n HeaderNavigationService.prototype.postConstruct = function () {\n var _this = this;\n this.ctrlsService.whenReady(function (p) {\n _this.gridBodyCon = p.gridBodyCtrl;\n });\n };\n HeaderNavigationService.prototype.getHeaderRowCount = function () {\n var centerHeaderContainer = this.ctrlsService.getHeaderRowContainerCtrl();\n return centerHeaderContainer ? centerHeaderContainer.getRowCount() : 0;\n };\n HeaderNavigationService.prototype.getHeaderRowType = function (rowIndex) {\n var centerHeaderContainer = this.ctrlsService.getHeaderRowContainerCtrl();\n if (centerHeaderContainer) {\n return centerHeaderContainer.getRowType(rowIndex);\n }\n };\n /*\n * This method navigates grid header vertically\n * @return {boolean} true to preventDefault on the event that caused this navigation.\n */\n HeaderNavigationService.prototype.navigateVertically = function (direction, fromHeader, event) {\n if (!fromHeader) {\n fromHeader = this.focusService.getFocusedHeader();\n }\n if (!fromHeader) {\n return false;\n }\n var headerRowIndex = fromHeader.headerRowIndex, column = fromHeader.column;\n var rowLen = this.getHeaderRowCount();\n var isUp = direction === HeaderNavigationDirection.UP;\n var nextRow = isUp ? headerRowIndex - 1 : headerRowIndex + 1;\n var nextFocusColumn = null;\n var skipColumn = false;\n if (nextRow < 0) {\n nextRow = 0;\n nextFocusColumn = column;\n skipColumn = true;\n }\n if (nextRow >= rowLen) {\n nextRow = -1; // -1 indicates the focus should move to grid rows.\n }\n var currentRowType = this.getHeaderRowType(headerRowIndex);\n if (!skipColumn) {\n if (currentRowType === HeaderRowType.COLUMN_GROUP) {\n var currentColumn = column;\n nextFocusColumn = isUp ? column.getParent() : currentColumn.getDisplayedChildren()[0];\n }\n else if (currentRowType === HeaderRowType.FLOATING_FILTER) {\n nextFocusColumn = column;\n }\n else {\n var currentColumn = column;\n nextFocusColumn = isUp ? currentColumn.getParent() : currentColumn;\n }\n if (!nextFocusColumn) {\n return false;\n }\n }\n return this.focusService.focusHeaderPosition({\n headerPosition: { headerRowIndex: nextRow, column: nextFocusColumn },\n allowUserOverride: true,\n event: event\n });\n };\n /*\n * This method navigates grid header horizontally\n * @return {boolean} true to preventDefault on the event that caused this navigation.\n */\n HeaderNavigationService.prototype.navigateHorizontally = function (direction, fromTab, event) {\n if (fromTab === void 0) { fromTab = false; }\n var focusedHeader = this.focusService.getFocusedHeader();\n var isLeft = direction === HeaderNavigationDirection.LEFT;\n var isRtl = this.gridOptionsWrapper.isEnableRtl();\n var nextHeader;\n var normalisedDirection;\n // either navigating to the left or isRtl (cannot be both)\n if (isLeft !== isRtl) {\n normalisedDirection = 'Before';\n nextHeader = this.headerPositionUtils.findHeader(focusedHeader, normalisedDirection);\n }\n else {\n normalisedDirection = 'After';\n nextHeader = this.headerPositionUtils.findHeader(focusedHeader, normalisedDirection);\n }\n if (nextHeader || !fromTab) {\n return this.focusService.focusHeaderPosition({\n headerPosition: nextHeader,\n direction: normalisedDirection,\n fromTab: fromTab,\n allowUserOverride: true,\n event: event\n });\n }\n return this.focusNextHeaderRow(focusedHeader, normalisedDirection, event);\n };\n HeaderNavigationService.prototype.focusNextHeaderRow = function (focusedHeader, direction, event) {\n var currentIndex = focusedHeader.headerRowIndex;\n var nextPosition = null;\n var nextRowIndex;\n if (direction === 'Before') {\n if (currentIndex > 0) {\n nextRowIndex = currentIndex - 1;\n nextPosition = this.headerPositionUtils.findColAtEdgeForHeaderRow(nextRowIndex, 'end');\n }\n }\n else {\n nextRowIndex = currentIndex + 1;\n nextPosition = this.headerPositionUtils.findColAtEdgeForHeaderRow(nextRowIndex, 'start');\n }\n return this.focusService.focusHeaderPosition({\n headerPosition: nextPosition,\n direction: direction,\n fromTab: true,\n allowUserOverride: true,\n event: event\n });\n };\n HeaderNavigationService.prototype.scrollToColumn = function (column, direction) {\n if (direction === void 0) { direction = 'After'; }\n if (column.getPinned()) {\n return;\n }\n var columnToScrollTo;\n if (column instanceof ColumnGroup) {\n var columns = column.getDisplayedLeafColumns();\n columnToScrollTo = direction === 'Before' ? last(columns) : columns[0];\n }\n else {\n columnToScrollTo = column;\n }\n this.gridBodyCon.getScrollFeature().ensureColumnVisible(columnToScrollTo);\n };\n __decorate$1e([\n Autowired('focusService')\n ], HeaderNavigationService.prototype, \"focusService\", void 0);\n __decorate$1e([\n Autowired('headerPositionUtils')\n ], HeaderNavigationService.prototype, \"headerPositionUtils\", void 0);\n __decorate$1e([\n Autowired('animationFrameService')\n ], HeaderNavigationService.prototype, \"animationFrameService\", void 0);\n __decorate$1e([\n Autowired('ctrlsService')\n ], HeaderNavigationService.prototype, \"ctrlsService\", void 0);\n __decorate$1e([\n PostConstruct\n ], HeaderNavigationService.prototype, \"postConstruct\", null);\n HeaderNavigationService = __decorate$1e([\n Bean('headerNavigationService')\n ], HeaderNavigationService);\n return HeaderNavigationService;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$1k = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$1d = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar GridHeaderCtrl = /** @class */ (function (_super) {\n __extends$1k(GridHeaderCtrl, _super);\n function GridHeaderCtrl() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n GridHeaderCtrl.prototype.setComp = function (comp, eGui, eFocusableElement) {\n this.comp = comp;\n this.eGui = eGui;\n this.createManagedBean(new ManagedFocusFeature(eFocusableElement, {\n onTabKeyDown: this.onTabKeyDown.bind(this),\n handleKeyDown: this.handleKeyDown.bind(this),\n onFocusOut: this.onFocusOut.bind(this)\n }));\n // for setting ag-pivot-on / ag-pivot-off CSS classes\n this.addManagedListener(this.eventService, Events.EVENT_COLUMN_PIVOT_MODE_CHANGED, this.onPivotModeChanged.bind(this));\n this.onPivotModeChanged();\n this.setupHeaderHeight();\n this.ctrlsService.registerGridHeaderCtrl(this);\n };\n GridHeaderCtrl.prototype.setupHeaderHeight = function () {\n var listener = this.setHeaderHeight.bind(this);\n listener();\n this.addManagedListener(this.gridOptionsWrapper, GridOptionsWrapper.PROP_HEADER_HEIGHT, listener);\n this.addManagedListener(this.gridOptionsWrapper, GridOptionsWrapper.PROP_PIVOT_HEADER_HEIGHT, listener);\n this.addManagedListener(this.gridOptionsWrapper, GridOptionsWrapper.PROP_GROUP_HEADER_HEIGHT, listener);\n this.addManagedListener(this.gridOptionsWrapper, GridOptionsWrapper.PROP_PIVOT_GROUP_HEADER_HEIGHT, listener);\n this.addManagedListener(this.gridOptionsWrapper, GridOptionsWrapper.PROP_FLOATING_FILTERS_HEIGHT, listener);\n this.addManagedListener(this.eventService, Events.EVENT_DISPLAYED_COLUMNS_CHANGED, listener);\n this.addManagedListener(this.eventService, Events.EVENT_COLUMN_HEADER_HEIGHT_CHANGED, listener);\n };\n GridHeaderCtrl.prototype.getHeaderHeight = function () {\n return this.headerHeight;\n };\n GridHeaderCtrl.prototype.setHeaderHeight = function () {\n var _a = this, columnModel = _a.columnModel, gridOptionsWrapper = _a.gridOptionsWrapper;\n var numberOfFloating = 0;\n var headerRowCount = columnModel.getHeaderRowCount();\n var totalHeaderHeight;\n var hasFloatingFilters = columnModel.hasFloatingFilters();\n if (hasFloatingFilters) {\n headerRowCount++;\n numberOfFloating = 1;\n }\n var groupHeight = this.columnModel.getColumnGroupHeaderRowHeight();\n var headerHeight = this.columnModel.getColumnHeaderRowHeight();\n var numberOfNonGroups = 1 + numberOfFloating;\n var numberOfGroups = headerRowCount - numberOfNonGroups;\n totalHeaderHeight = numberOfFloating * gridOptionsWrapper.getFloatingFiltersHeight();\n totalHeaderHeight += numberOfGroups * groupHeight;\n totalHeaderHeight += headerHeight;\n if (this.headerHeight === totalHeaderHeight) {\n return;\n }\n this.headerHeight = totalHeaderHeight;\n // one extra pixel is needed here to account for the\n // height of the border\n var px = totalHeaderHeight + 1 + \"px\";\n this.comp.setHeightAndMinHeight(px);\n this.eventService.dispatchEvent({\n type: Events.EVENT_HEADER_HEIGHT_CHANGED\n });\n };\n GridHeaderCtrl.prototype.onPivotModeChanged = function () {\n var pivotMode = this.columnModel.isPivotMode();\n this.comp.addOrRemoveCssClass('ag-pivot-on', pivotMode);\n this.comp.addOrRemoveCssClass('ag-pivot-off', !pivotMode);\n };\n GridHeaderCtrl.prototype.onTabKeyDown = function (e) {\n var isRtl = this.gridOptionsWrapper.isEnableRtl();\n var direction = e.shiftKey !== isRtl\n ? HeaderNavigationDirection.LEFT\n : HeaderNavigationDirection.RIGHT;\n if (this.headerNavigationService.navigateHorizontally(direction, true, e) ||\n this.focusService.focusNextGridCoreContainer(e.shiftKey)) {\n e.preventDefault();\n }\n };\n GridHeaderCtrl.prototype.handleKeyDown = function (e) {\n var direction = null;\n switch (e.key) {\n case KeyCode.LEFT:\n direction = HeaderNavigationDirection.LEFT;\n case KeyCode.RIGHT:\n if (!exists(direction)) {\n direction = HeaderNavigationDirection.RIGHT;\n }\n this.headerNavigationService.navigateHorizontally(direction, false, e);\n break;\n case KeyCode.UP:\n direction = HeaderNavigationDirection.UP;\n case KeyCode.DOWN:\n if (!exists(direction)) {\n direction = HeaderNavigationDirection.DOWN;\n }\n if (this.headerNavigationService.navigateVertically(direction, null, e)) {\n e.preventDefault();\n }\n break;\n default:\n return;\n }\n };\n GridHeaderCtrl.prototype.onFocusOut = function (e) {\n var eDocument = this.gridOptionsWrapper.getDocument();\n var relatedTarget = e.relatedTarget;\n if (!relatedTarget && this.eGui.contains(eDocument.activeElement)) {\n return;\n }\n if (!this.eGui.contains(relatedTarget)) {\n this.focusService.clearFocusedHeader();\n }\n };\n __decorate$1d([\n Autowired('headerNavigationService')\n ], GridHeaderCtrl.prototype, \"headerNavigationService\", void 0);\n __decorate$1d([\n Autowired('focusService')\n ], GridHeaderCtrl.prototype, \"focusService\", void 0);\n __decorate$1d([\n Autowired('columnModel')\n ], GridHeaderCtrl.prototype, \"columnModel\", void 0);\n __decorate$1d([\n Autowired('ctrlsService')\n ], GridHeaderCtrl.prototype, \"ctrlsService\", void 0);\n return GridHeaderCtrl;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$1j = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$1c = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar GridHeaderComp = /** @class */ (function (_super) {\n __extends$1j(GridHeaderComp, _super);\n function GridHeaderComp() {\n return _super.call(this, GridHeaderComp.TEMPLATE) || this;\n }\n GridHeaderComp.prototype.postConstruct = function () {\n var _this = this;\n var compProxy = {\n addOrRemoveCssClass: function (cssClassName, on) { return _this.addOrRemoveCssClass(cssClassName, on); },\n setHeightAndMinHeight: function (height) {\n _this.getGui().style.height = height;\n _this.getGui().style.minHeight = height;\n }\n };\n var ctrl = this.createManagedBean(new GridHeaderCtrl());\n ctrl.setComp(compProxy, this.getGui(), this.getFocusableElement());\n var addContainer = function (container) {\n _this.createManagedBean(container);\n _this.appendChild(container);\n };\n addContainer(new HeaderRowContainerComp(Constants.PINNED_LEFT));\n addContainer(new HeaderRowContainerComp(null));\n addContainer(new HeaderRowContainerComp(Constants.PINNED_RIGHT));\n };\n GridHeaderComp.TEMPLATE = \"
    \";\n __decorate$1c([\n PostConstruct\n ], GridHeaderComp.prototype, \"postConstruct\", null);\n return GridHeaderComp;\n}(Component));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$1i = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$1b = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar HorizontalResizeService = /** @class */ (function (_super) {\n __extends$1i(HorizontalResizeService, _super);\n function HorizontalResizeService() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n HorizontalResizeService.prototype.addResizeBar = function (params) {\n var _this = this;\n var dragSource = {\n dragStartPixels: params.dragStartPixels || 0,\n eElement: params.eResizeBar,\n onDragStart: this.onDragStart.bind(this, params),\n onDragStop: this.onDragStop.bind(this, params),\n onDragging: this.onDragging.bind(this, params)\n };\n this.dragService.addDragSource(dragSource, true);\n // we pass remove func back to the caller, so call can tell us when they\n // are finished, and then we remove the listener from the drag source\n var finishedWithResizeFunc = function () { return _this.dragService.removeDragSource(dragSource); };\n return finishedWithResizeFunc;\n };\n HorizontalResizeService.prototype.onDragStart = function (params, mouseEvent) {\n this.dragStartX = mouseEvent.clientX;\n this.setResizeIcons();\n var shiftKey = mouseEvent instanceof MouseEvent && mouseEvent.shiftKey === true;\n params.onResizeStart(shiftKey);\n };\n HorizontalResizeService.prototype.setResizeIcons = function () {\n var ctrl = this.ctrlsService.getGridCtrl();\n // change the body cursor, so when drag moves out of the drag bar, the cursor is still 'resize' (or 'move'\n ctrl.setResizeCursor(true);\n // we don't want text selection outside the grid (otherwise it looks weird as text highlights when we move)\n ctrl.disableUserSelect(true);\n };\n HorizontalResizeService.prototype.onDragStop = function (params, mouseEvent) {\n params.onResizeEnd(this.resizeAmount);\n this.resetIcons();\n };\n HorizontalResizeService.prototype.resetIcons = function () {\n var ctrl = this.ctrlsService.getGridCtrl();\n ctrl.setResizeCursor(false);\n ctrl.disableUserSelect(false);\n };\n HorizontalResizeService.prototype.onDragging = function (params, mouseEvent) {\n this.resizeAmount = mouseEvent.clientX - this.dragStartX;\n params.onResizing(this.resizeAmount);\n };\n __decorate$1b([\n Autowired('dragService')\n ], HorizontalResizeService.prototype, \"dragService\", void 0);\n __decorate$1b([\n Autowired('ctrlsService')\n ], HorizontalResizeService.prototype, \"ctrlsService\", void 0);\n HorizontalResizeService = __decorate$1b([\n Bean('horizontalResizeService')\n ], HorizontalResizeService);\n return HorizontalResizeService;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$1h = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$1a = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar StandardMenuFactory = /** @class */ (function (_super) {\n __extends$1h(StandardMenuFactory, _super);\n function StandardMenuFactory() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n StandardMenuFactory.prototype.hideActiveMenu = function () {\n if (this.hidePopup) {\n this.hidePopup();\n }\n };\n StandardMenuFactory.prototype.showMenuAfterMouseEvent = function (column, mouseEvent) {\n var _this = this;\n this.showPopup(column, function (eMenu) {\n _this.popupService.positionPopupUnderMouseEvent({\n column: column,\n type: 'columnMenu',\n mouseEvent: mouseEvent,\n ePopup: eMenu\n });\n }, mouseEvent.target);\n };\n StandardMenuFactory.prototype.showMenuAfterButtonClick = function (column, eventSource, containerType) {\n var _this = this;\n this.showPopup(column, function (eMenu) {\n _this.popupService.positionPopupUnderComponent({\n type: containerType,\n eventSource: eventSource,\n ePopup: eMenu,\n keepWithinBounds: true,\n column: column\n });\n }, eventSource);\n };\n StandardMenuFactory.prototype.showPopup = function (column, positionCallback, eventSource) {\n var _this = this;\n var filterWrapper = this.filterManager.getOrCreateFilterWrapper(column, 'COLUMN_MENU');\n if (!filterWrapper) {\n throw new Error('AG Grid - unable to show popup filter, filter instantiation failed');\n }\n var eMenu = document.createElement('div');\n setAriaRole(eMenu, 'presentation');\n eMenu.classList.add('ag-menu');\n this.tabListener = this.addManagedListener(eMenu, 'keydown', function (e) { return _this.trapFocusWithin(e, eMenu); });\n filterWrapper.guiPromise.then(function (gui) { return eMenu.appendChild(gui); });\n var hidePopup;\n var anchorToElement = eventSource || this.ctrlsService.getGridBodyCtrl().getGui();\n var closedCallback = function (e) {\n column.setMenuVisible(false, 'contextMenu');\n var isKeyboardEvent = e instanceof KeyboardEvent;\n if (_this.tabListener) {\n _this.tabListener = _this.tabListener();\n }\n if (isKeyboardEvent && eventSource && isVisible(eventSource)) {\n var focusableEl = _this.focusService.findTabbableParent(eventSource);\n if (focusableEl) {\n focusableEl.focus();\n }\n }\n };\n var translate = this.gridOptionsWrapper.getLocaleTextFunc();\n var addPopupRes = this.popupService.addPopup({\n modal: true,\n eChild: eMenu,\n closeOnEsc: true,\n closedCallback: closedCallback,\n positionCallback: function () { return positionCallback(eMenu); },\n anchorToElement: anchorToElement,\n ariaLabel: translate('ariaLabelColumnMenu', 'Column Menu')\n });\n if (addPopupRes) {\n this.hidePopup = hidePopup = addPopupRes.hideFunc;\n }\n filterWrapper.filterPromise.then(function (filter) {\n // need to make sure the filter is present before positioning, as only\n // after filter it is visible can we find out what the width of it is\n positionCallback(eMenu);\n if (filter.afterGuiAttached) {\n filter.afterGuiAttached({ container: 'columnMenu', hidePopup: hidePopup });\n }\n });\n column.setMenuVisible(true, 'contextMenu');\n };\n StandardMenuFactory.prototype.trapFocusWithin = function (e, menu) {\n if (e.key !== KeyCode.TAB ||\n e.defaultPrevented ||\n this.focusService.findNextFocusableElement(menu, false, e.shiftKey)) {\n return;\n }\n e.preventDefault();\n this.focusService.focusInto(menu, e.shiftKey);\n };\n StandardMenuFactory.prototype.isMenuEnabled = function (column) {\n // for standard, we show menu if filter is enabled, and the menu is not suppressed\n return column.isFilterAllowed();\n };\n __decorate$1a([\n Autowired('filterManager')\n ], StandardMenuFactory.prototype, \"filterManager\", void 0);\n __decorate$1a([\n Autowired('popupService')\n ], StandardMenuFactory.prototype, \"popupService\", void 0);\n __decorate$1a([\n Autowired('focusService')\n ], StandardMenuFactory.prototype, \"focusService\", void 0);\n __decorate$1a([\n Autowired('ctrlsService')\n ], StandardMenuFactory.prototype, \"ctrlsService\", void 0);\n StandardMenuFactory = __decorate$1a([\n Bean('menuFactory')\n ], StandardMenuFactory);\n return StandardMenuFactory;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$1g = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$19 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar TabbedLayout = /** @class */ (function (_super) {\n __extends$1g(TabbedLayout, _super);\n function TabbedLayout(params) {\n var _this = _super.call(this, TabbedLayout.getTemplate(params.cssClass)) || this;\n _this.items = [];\n _this.tabbedItemScrollMap = new Map();\n _this.params = params;\n if (params.items) {\n params.items.forEach(function (item) { return _this.addItem(item); });\n }\n return _this;\n }\n TabbedLayout.prototype.postConstruct = function () {\n this.createManagedBean(new ManagedFocusFeature(this.getFocusableElement(), {\n onTabKeyDown: this.onTabKeyDown.bind(this),\n handleKeyDown: this.handleKeyDown.bind(this)\n }));\n };\n TabbedLayout.getTemplate = function (cssClass) {\n return /* html */ \"
    \\n
    \\n
    \\n
    \";\n };\n TabbedLayout.prototype.handleKeyDown = function (e) {\n var eDocument = this.gridOptionsWrapper.getDocument();\n switch (e.key) {\n case KeyCode.RIGHT:\n case KeyCode.LEFT:\n if (!this.eHeader.contains(eDocument.activeElement)) {\n return;\n }\n var isRightKey = e.key === KeyCode.RIGHT;\n var isRtl = this.gridOptionsWrapper.isEnableRtl();\n var currentPosition = this.items.indexOf(this.activeItem);\n var nextPosition = isRightKey !== isRtl ? Math.min(currentPosition + 1, this.items.length - 1) : Math.max(currentPosition - 1, 0);\n if (currentPosition === nextPosition) {\n return;\n }\n e.preventDefault();\n var nextItem = this.items[nextPosition];\n this.showItemWrapper(nextItem);\n nextItem.eHeaderButton.focus();\n break;\n case KeyCode.UP:\n case KeyCode.DOWN:\n e.stopPropagation();\n break;\n }\n };\n TabbedLayout.prototype.onTabKeyDown = function (e) {\n if (e.defaultPrevented) {\n return;\n }\n var _a = this, focusService = _a.focusService, eHeader = _a.eHeader, eBody = _a.eBody, activeItem = _a.activeItem;\n var eDocument = this.gridOptionsWrapper.getDocument();\n var activeElement = eDocument.activeElement;\n e.preventDefault();\n if (eHeader.contains(activeElement)) {\n // focus is in header, move into body of popup\n focusService.focusInto(eBody, e.shiftKey);\n }\n else {\n // focus is in body, establish if it should return to header\n if (focusService.isFocusUnderManagedComponent(eBody)) {\n // focus was in a managed focus component and has now left, so we can return to the header\n activeItem.eHeaderButton.focus();\n }\n else {\n var nextEl = focusService.findNextFocusableElement(eBody, false, e.shiftKey);\n if (nextEl) {\n // if another element exists in the body that can be focussed, go to that\n nextEl.focus();\n }\n else {\n // otherwise return to the header\n activeItem.eHeaderButton.focus();\n }\n }\n }\n };\n TabbedLayout.prototype.setAfterAttachedParams = function (params) {\n this.afterAttachedParams = params;\n };\n TabbedLayout.prototype.showFirstItem = function () {\n if (this.items.length > 0) {\n this.showItemWrapper(this.items[0]);\n }\n };\n TabbedLayout.prototype.addItem = function (item) {\n var eHeaderButton = document.createElement('span');\n setAriaRole(eHeaderButton, 'tab');\n eHeaderButton.setAttribute('tabIndex', '-1');\n eHeaderButton.appendChild(item.title);\n eHeaderButton.classList.add('ag-tab');\n this.eHeader.appendChild(eHeaderButton);\n setAriaLabel(eHeaderButton, item.titleLabel);\n var wrapper = {\n tabbedItem: item,\n eHeaderButton: eHeaderButton\n };\n this.items.push(wrapper);\n eHeaderButton.addEventListener('click', this.showItemWrapper.bind(this, wrapper));\n };\n TabbedLayout.prototype.showItem = function (tabbedItem) {\n var itemWrapper = this.items.find(function (wrapper) { return wrapper.tabbedItem === tabbedItem; });\n if (itemWrapper) {\n this.showItemWrapper(itemWrapper);\n }\n };\n TabbedLayout.prototype.showItemWrapper = function (wrapper) {\n var _this = this;\n var tabbedItem = wrapper.tabbedItem, eHeaderButton = wrapper.eHeaderButton;\n if (this.params.onItemClicked) {\n this.params.onItemClicked({ item: tabbedItem });\n }\n if (this.activeItem === wrapper) {\n callIfPresent(this.params.onActiveItemClicked);\n return;\n }\n if (this.lastScrollListener) {\n this.lastScrollListener = this.lastScrollListener();\n }\n clearElement(this.eBody);\n tabbedItem.bodyPromise.then(function (body) {\n _this.eBody.appendChild(body);\n var onlyUnmanaged = !_this.focusService.isKeyboardMode();\n _this.focusService.focusInto(_this.eBody, false, onlyUnmanaged);\n if (tabbedItem.afterAttachedCallback) {\n tabbedItem.afterAttachedCallback(_this.afterAttachedParams);\n }\n if (_this.params.keepScrollPosition) {\n var scrollableContainer_1 = (tabbedItem.getScrollableContainer && tabbedItem.getScrollableContainer()) || body;\n _this.lastScrollListener = _this.addManagedListener(scrollableContainer_1, 'scroll', function () {\n _this.tabbedItemScrollMap.set(tabbedItem.name, scrollableContainer_1.scrollTop);\n });\n var scrollPosition_1 = _this.tabbedItemScrollMap.get(tabbedItem.name);\n if (scrollPosition_1 !== undefined) {\n // Safari needs a small timeout or it will fire a scroll event to position 0\n setTimeout(function () {\n scrollableContainer_1.scrollTop = scrollPosition_1;\n }, 0);\n }\n }\n });\n if (this.activeItem) {\n this.activeItem.eHeaderButton.classList.remove('ag-tab-selected');\n }\n eHeaderButton.classList.add('ag-tab-selected');\n this.activeItem = wrapper;\n };\n __decorate$19([\n Autowired('focusService')\n ], TabbedLayout.prototype, \"focusService\", void 0);\n __decorate$19([\n RefSelector('eHeader')\n ], TabbedLayout.prototype, \"eHeader\", void 0);\n __decorate$19([\n RefSelector('eBody')\n ], TabbedLayout.prototype, \"eBody\", void 0);\n __decorate$19([\n PostConstruct\n ], TabbedLayout.prototype, \"postConstruct\", null);\n return TabbedLayout;\n}(Component));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\n/**\n * @deprecated\n */\nfunction simpleHttpRequest(params) {\n return new AgPromise(function (resolve) {\n var httpRequest = new XMLHttpRequest();\n httpRequest.open('GET', params.url);\n httpRequest.send();\n httpRequest.onreadystatechange = function () {\n if (httpRequest.readyState === 4 && httpRequest.status === 200) {\n resolve(JSON.parse(httpRequest.responseText));\n }\n };\n });\n}\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$1f = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$18 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar DEBOUNCE_DELAY = 50;\nvar ResizeObserverService = /** @class */ (function (_super) {\n __extends$1f(ResizeObserverService, _super);\n function ResizeObserverService() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.polyfillFunctions = [];\n return _this;\n }\n ResizeObserverService.prototype.observeResize = function (element, callback) {\n var _this = this;\n var eDocument = this.gridOptionsWrapper.getDocument();\n var win = (eDocument.defaultView || window);\n // this gets fired too often and might cause some relayout issues\n // so we add a debounce to the callback here to avoid the flashing effect.\n var debouncedCallback = debounce(callback, DEBOUNCE_DELAY);\n var useBrowserResizeObserver = function () {\n var resizeObserver = new win.ResizeObserver(debouncedCallback);\n resizeObserver.observe(element);\n return function () { return resizeObserver.disconnect(); };\n };\n var usePolyfill = function () {\n // initialise to the current width and height, so first call will have no changes\n var widthLastTime = offsetWidth(element);\n var heightLastTime = offsetHeight(element);\n // when finished, this gets turned to false.\n var running = true;\n var periodicallyCheckWidthAndHeight = function () {\n if (running) {\n var newWidth = offsetWidth(element);\n var newHeight = offsetHeight(element);\n var changed = newWidth !== widthLastTime || newHeight !== heightLastTime;\n if (changed) {\n widthLastTime = newWidth;\n heightLastTime = newHeight;\n callback();\n }\n _this.doNextPolyfillTurn(periodicallyCheckWidthAndHeight);\n }\n };\n periodicallyCheckWidthAndHeight();\n // the callback function we return sets running to false\n return function () { return running = false; };\n };\n var suppressResize = this.gridOptionsWrapper.isSuppressBrowserResizeObserver();\n var resizeObserverExists = !!win.ResizeObserver;\n if (resizeObserverExists && !suppressResize) {\n return useBrowserResizeObserver();\n }\n return usePolyfill();\n };\n ResizeObserverService.prototype.doNextPolyfillTurn = function (func) {\n this.polyfillFunctions.push(func);\n this.schedulePolyfill();\n };\n ResizeObserverService.prototype.schedulePolyfill = function () {\n var _this = this;\n if (this.polyfillScheduled) {\n return;\n }\n var executeAllFuncs = function () {\n var funcs = _this.polyfillFunctions;\n // make sure set scheduled to false and clear clear array\n // before executing the funcs, as the funcs could add more funcs\n _this.polyfillScheduled = false;\n _this.polyfillFunctions = [];\n funcs.forEach(function (f) { return f(); });\n };\n this.polyfillScheduled = true;\n this.getFrameworkOverrides().setTimeout(executeAllFuncs, DEBOUNCE_DELAY);\n };\n ResizeObserverService = __decorate$18([\n Bean('resizeObserverService')\n ], ResizeObserverService);\n return ResizeObserverService;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$1e = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$17 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar AnimationFrameService = /** @class */ (function (_super) {\n __extends$1e(AnimationFrameService, _super);\n function AnimationFrameService() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n // p1 and p2 are create tasks are to do with row and cell creation.\n // for them we want to execute according to row order, so we use\n // TaskItem so we know what index the item is for.\n _this.createTasksP1 = { list: [], sorted: false }; // eg drawing back-ground of rows\n _this.createTasksP2 = { list: [], sorted: false }; // eg cell renderers, adding hover functionality\n // destroy tasks are to do with row removal. they are done after row creation as the user will need to see new\n // rows first (as blank is scrolled into view), when we remove the old rows (no longer in view) is not as\n // important.\n _this.destroyTasks = [];\n _this.ticking = false;\n // we need to know direction of scroll, to build up rows in the direction of\n // the scroll. eg if user scrolls down, we extend the rows by building down.\n _this.scrollGoingDown = true;\n _this.lastScrollTop = 0;\n _this.taskCount = 0;\n _this.cancelledTasks = new Set();\n return _this;\n }\n AnimationFrameService.prototype.setScrollTop = function (scrollTop) {\n this.scrollGoingDown = scrollTop > this.lastScrollTop;\n this.lastScrollTop = scrollTop;\n };\n AnimationFrameService.prototype.init = function () {\n this.useAnimationFrame = !this.gridOptionsWrapper.isSuppressAnimationFrame();\n };\n AnimationFrameService.prototype.isOn = function () {\n return this.useAnimationFrame;\n };\n // this method is for our AG Grid sanity only - if animation frames are turned off,\n // then no place in the code should be looking to add any work to be done in animation\n // frames. this stops bugs - where some code is asking for a frame to be executed\n // when it should not.\n AnimationFrameService.prototype.verifyAnimationFrameOn = function (methodName) {\n if (this.useAnimationFrame === false) {\n console.warn(\"AG Grid: AnimationFrameService.\" + methodName + \" called but animation frames are off\");\n }\n };\n AnimationFrameService.prototype.createTask = function (task, index, list) {\n this.verifyAnimationFrameOn(list);\n var taskItem = { task: task, index: index, createOrder: ++this.taskCount };\n this.addTaskToList(this[list], taskItem);\n this.schedule();\n };\n AnimationFrameService.prototype.cancelTask = function (task) {\n this.cancelledTasks.add(task);\n };\n AnimationFrameService.prototype.addTaskToList = function (taskList, task) {\n taskList.list.push(task);\n taskList.sorted = false;\n };\n AnimationFrameService.prototype.sortTaskList = function (taskList) {\n if (taskList.sorted) {\n return;\n }\n var sortDirection = this.scrollGoingDown ? 1 : -1;\n // sort first by row index (taking into account scroll direction), then by\n // order of task creation (always ascending, so cells will render left-to-right)\n taskList.list.sort(function (a, b) { return a.index !== b.index ? sortDirection * (b.index - a.index) : b.createOrder - a.createOrder; });\n taskList.sorted = true;\n };\n AnimationFrameService.prototype.addDestroyTask = function (task) {\n this.verifyAnimationFrameOn('createTasksP3');\n this.destroyTasks.push(task);\n this.schedule();\n };\n AnimationFrameService.prototype.executeFrame = function (millis) {\n this.verifyAnimationFrameOn('executeFrame');\n var p1TaskList = this.createTasksP1;\n var p1Tasks = p1TaskList.list;\n var p2TaskList = this.createTasksP2;\n var p2Tasks = p2TaskList.list;\n var destroyTasks = this.destroyTasks;\n var frameStart = new Date().getTime();\n var duration = (new Date().getTime()) - frameStart;\n // 16ms is 60 fps\n var noMaxMillis = millis <= 0;\n var gridBodyCon = this.ctrlsService.getGridBodyCtrl();\n while (noMaxMillis || duration < millis) {\n var gridBodyDidSomething = gridBodyCon.getScrollFeature().executeAnimationFrameScroll();\n if (!gridBodyDidSomething) {\n var task = void 0;\n if (p1Tasks.length) {\n this.sortTaskList(p1TaskList);\n task = p1Tasks.pop().task;\n }\n else if (p2Tasks.length) {\n this.sortTaskList(p2TaskList);\n task = p2Tasks.pop().task;\n }\n else if (destroyTasks.length) {\n task = destroyTasks.pop();\n }\n else {\n this.cancelledTasks.clear();\n break;\n }\n if (!this.cancelledTasks.has(task)) {\n task();\n }\n }\n duration = (new Date().getTime()) - frameStart;\n }\n if (p1Tasks.length || p2Tasks.length || destroyTasks.length) {\n this.requestFrame();\n }\n else {\n this.stopTicking();\n }\n };\n AnimationFrameService.prototype.stopTicking = function () {\n this.ticking = false;\n };\n AnimationFrameService.prototype.flushAllFrames = function () {\n if (!this.useAnimationFrame) {\n return;\n }\n this.executeFrame(-1);\n };\n AnimationFrameService.prototype.schedule = function () {\n if (!this.useAnimationFrame) {\n return;\n }\n if (!this.ticking) {\n this.ticking = true;\n this.requestFrame();\n }\n };\n AnimationFrameService.prototype.requestFrame = function () {\n // check for the existence of requestAnimationFrame, and if\n // it's missing, then we polyfill it with setTimeout()\n var callback = this.executeFrame.bind(this, 60);\n var eDocument = this.gridOptionsWrapper.getDocument();\n var win = (eDocument.defaultView || window);\n if (win.requestAnimationFrame) {\n win.requestAnimationFrame(callback);\n }\n else if (win.webkitRequestAnimationFrame) {\n win.webkitRequestAnimationFrame(callback);\n }\n else {\n win.setTimeout(callback, 0);\n }\n };\n AnimationFrameService.prototype.isQueueEmpty = function () {\n return !this.ticking;\n };\n // a debounce utility used for parts of the app involved with rendering.\n // the advantage over normal debounce is the client can call flushAllFrames()\n // to make sure all rendering is complete. we don't wait any milliseconds,\n // as this is intended to batch calls in one VM turn.\n AnimationFrameService.prototype.debounce = function (func) {\n var _this = this;\n var pending = false;\n return function () {\n if (!_this.isOn()) {\n _this.getFrameworkOverrides().setTimeout(func, 0);\n return;\n }\n if (pending) {\n return;\n }\n pending = true;\n _this.addDestroyTask(function () {\n pending = false;\n func();\n });\n };\n };\n __decorate$17([\n Autowired('ctrlsService')\n ], AnimationFrameService.prototype, \"ctrlsService\", void 0);\n __decorate$17([\n PostConstruct\n ], AnimationFrameService.prototype, \"init\", null);\n AnimationFrameService = __decorate$17([\n Bean('animationFrameService')\n ], AnimationFrameService);\n return AnimationFrameService;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$1d = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$16 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar RESIZE_CONTAINER_STYLE = 'ag-resizer-wrapper';\nvar RESIZE_TEMPLATE = /* html */ \"
    \\n
    \\n
    \\n
    \\n
    \\n
    \\n
    \\n
    \\n
    \\n
    \";\nvar PositionableFeature = /** @class */ (function (_super) {\n __extends$1d(PositionableFeature, _super);\n function PositionableFeature(element, config) {\n var _this = _super.call(this) || this;\n _this.element = element;\n _this.dragStartPosition = {\n x: 0,\n y: 0\n };\n _this.position = {\n x: 0,\n y: 0\n };\n _this.lastSize = {\n width: -1,\n height: -1\n };\n _this.positioned = false;\n _this.resizersAdded = false;\n _this.resizeListeners = [];\n _this.boundaryEl = null;\n _this.isResizing = false;\n _this.isMoving = false;\n _this.resizable = {};\n _this.movable = false;\n _this.currentResizer = null;\n _this.config = Object.assign({}, { popup: false }, config);\n return _this;\n }\n PositionableFeature.prototype.center = function () {\n var _a = this.offsetParent, clientHeight = _a.clientHeight, clientWidth = _a.clientWidth;\n var x = (clientWidth / 2) - (this.getWidth() / 2);\n var y = (clientHeight / 2) - (this.getHeight() / 2);\n this.offsetElement(x, y);\n };\n PositionableFeature.prototype.initialisePosition = function () {\n var _a = this.config, centered = _a.centered, forcePopupParentAsOffsetParent = _a.forcePopupParentAsOffsetParent, minWidth = _a.minWidth, width = _a.width, minHeight = _a.minHeight, height = _a.height, x = _a.x, y = _a.y;\n if (!this.offsetParent) {\n this.setOffsetParent();\n }\n var computedMinHeight = 0;\n var computedMinWidth = 0;\n // here we don't use the main offset parent but the element's offsetParent\n // in order to calculated the minWidth and minHeight correctly\n var isVisible = !!this.element.offsetParent;\n if (isVisible) {\n var boundaryEl = this.findBoundaryElement();\n var offsetParentComputedStyles = window.getComputedStyle(boundaryEl);\n if (offsetParentComputedStyles.minWidth != null) {\n var paddingWidth = boundaryEl.offsetWidth - this.element.offsetWidth;\n computedMinWidth = parseInt(offsetParentComputedStyles.minWidth, 10) - paddingWidth;\n }\n if (offsetParentComputedStyles.minHeight != null) {\n var paddingHeight = boundaryEl.offsetHeight - this.element.offsetHeight;\n computedMinHeight = parseInt(offsetParentComputedStyles.minHeight, 10) - paddingHeight;\n }\n }\n this.minHeight = minHeight || computedMinHeight;\n this.minWidth = minWidth || computedMinWidth;\n if (width) {\n this.setWidth(width);\n }\n if (height) {\n this.setHeight(height);\n }\n if (!width || !height) {\n this.refreshSize();\n }\n if (centered) {\n this.center();\n }\n else if (x || y) {\n this.offsetElement(x, y);\n }\n else if (isVisible && forcePopupParentAsOffsetParent && this.boundaryEl) {\n var top_1 = parseFloat(this.boundaryEl.style.top);\n var left = parseFloat(this.boundaryEl.style.left);\n this.offsetElement(isNaN(left) ? 0 : left, isNaN(top_1) ? 0 : top_1);\n }\n this.positioned = !!this.offsetParent;\n };\n PositionableFeature.prototype.isPositioned = function () {\n return this.positioned;\n };\n PositionableFeature.prototype.getPosition = function () {\n return this.position;\n };\n PositionableFeature.prototype.setMovable = function (movable, moveElement) {\n if (!this.config.popup || movable === this.movable) {\n return;\n }\n this.movable = movable;\n var params = this.moveElementDragListener || {\n eElement: moveElement,\n onDragStart: this.onMoveStart.bind(this),\n onDragging: this.onMove.bind(this),\n onDragStop: this.onMoveEnd.bind(this)\n };\n if (movable) {\n this.dragService.addDragSource(params);\n this.moveElementDragListener = params;\n }\n else {\n this.dragService.removeDragSource(params);\n this.moveElementDragListener = undefined;\n }\n };\n PositionableFeature.prototype.setResizable = function (resizable) {\n var _this = this;\n this.clearResizeListeners();\n if (resizable) {\n this.addResizers();\n }\n else {\n this.removeResizers();\n }\n if (typeof resizable === 'boolean') {\n if (resizable === false) {\n return;\n }\n resizable = {\n topLeft: resizable,\n top: resizable,\n topRight: resizable,\n right: resizable,\n bottomRight: resizable,\n bottom: resizable,\n bottomLeft: resizable,\n left: resizable\n };\n }\n Object.keys(resizable).forEach(function (side) {\n var resizableStructure = resizable;\n var val = !!resizableStructure[side];\n var resizerEl = _this.getResizerElement(side);\n var params = {\n dragStartPixels: 0,\n eElement: resizerEl,\n onDragStart: function (e) { return _this.onResizeStart(e, side); },\n onDragging: _this.onResize.bind(_this),\n onDragStop: function (e) { return _this.onResizeEnd(e, side); },\n };\n if (!!_this.resizable[side] !== val || (!_this.isAlive() && !val)) {\n if (val) {\n _this.dragService.addDragSource(params);\n _this.resizeListeners.push(params);\n resizerEl.style.pointerEvents = 'all';\n }\n else {\n resizerEl.style.pointerEvents = 'none';\n }\n _this.resizable[side] = val;\n }\n });\n };\n PositionableFeature.prototype.removeSizeFromEl = function () {\n this.element.style.removeProperty('height');\n this.element.style.removeProperty('width');\n this.element.style.removeProperty('flex');\n };\n PositionableFeature.prototype.restoreLastSize = function () {\n this.element.style.flex = '0 0 auto';\n var _a = this.lastSize, height = _a.height, width = _a.width;\n if (width !== -1) {\n this.element.style.width = width + \"px\";\n }\n if (height !== -1) {\n this.element.style.height = height + \"px\";\n }\n };\n PositionableFeature.prototype.getHeight = function () {\n return this.element.offsetHeight;\n };\n PositionableFeature.prototype.setHeight = function (height) {\n var popup = this.config.popup;\n var eGui = this.element;\n var isPercent = false;\n if (typeof height === 'string' && height.indexOf('%') !== -1) {\n setFixedHeight(eGui, height);\n height = getAbsoluteHeight(eGui);\n isPercent = true;\n }\n else if (this.positioned) {\n var elRect = this.element.getBoundingClientRect();\n var parentRect = this.offsetParent.getBoundingClientRect();\n height = Math.max(this.minHeight, height);\n var clientHeight = this.offsetParent.clientHeight;\n var yPosition = popup ? this.position.y : elRect.top;\n var parentTop = popup ? 0 : parentRect.top;\n if (clientHeight && (height + yPosition > clientHeight + parentTop)) {\n height = clientHeight - yPosition;\n }\n }\n if (this.getHeight() === height) {\n return;\n }\n if (!isPercent) {\n if (popup) {\n setFixedHeight(eGui, height);\n }\n else {\n eGui.style.height = height + \"px\";\n eGui.style.flex = '0 0 auto';\n this.lastSize.height = typeof height === 'number' ? height : parseFloat(height);\n }\n }\n else {\n eGui.style.maxHeight = 'unset';\n eGui.style.minHeight = 'unset';\n }\n };\n PositionableFeature.prototype.getWidth = function () {\n return this.element.offsetWidth;\n };\n PositionableFeature.prototype.setWidth = function (width) {\n var eGui = this.element;\n var popup = this.config.popup;\n var isPercent = false;\n if (typeof width === 'string' && width.indexOf('%') !== -1) {\n setFixedWidth(eGui, width);\n width = getAbsoluteWidth(eGui);\n isPercent = true;\n }\n else if (this.positioned) {\n width = Math.max(this.minWidth, width);\n var clientWidth = this.offsetParent.clientWidth;\n var xPosition = popup ? this.position.x : this.element.getBoundingClientRect().left;\n if (clientWidth && (width + xPosition > clientWidth)) {\n width = clientWidth - xPosition;\n }\n }\n if (this.getWidth() === width) {\n return;\n }\n if (!isPercent) {\n if (this.config.popup) {\n setFixedWidth(eGui, width);\n }\n else {\n eGui.style.width = width + \"px\";\n eGui.style.flex = ' unset';\n this.lastSize.width = typeof width === 'number' ? width : parseFloat(width);\n }\n }\n else {\n eGui.style.maxWidth = 'unset';\n eGui.style.minWidth = 'unset';\n }\n };\n PositionableFeature.prototype.offsetElement = function (x, y) {\n if (x === void 0) { x = 0; }\n if (y === void 0) { y = 0; }\n var ePopup = this.config.forcePopupParentAsOffsetParent ? this.boundaryEl : this.element;\n this.popupService.positionPopup({\n ePopup: ePopup,\n x: x,\n y: y,\n keepWithinBounds: true,\n skipObserver: this.movable || this.isResizable()\n });\n this.setPosition(parseFloat(ePopup.style.left), parseFloat(ePopup.style.top));\n };\n PositionableFeature.prototype.setPosition = function (x, y) {\n this.position.x = x;\n this.position.y = y;\n };\n PositionableFeature.prototype.updateDragStartPosition = function (x, y) {\n this.dragStartPosition = { x: x, y: y };\n };\n PositionableFeature.prototype.calculateMouseMovement = function (params) {\n var e = params.e, isLeft = params.isLeft, isTop = params.isTop, anywhereWithin = params.anywhereWithin, topBuffer = params.topBuffer;\n var xDiff = e.clientX - this.dragStartPosition.x;\n var yDiff = e.clientY - this.dragStartPosition.y;\n var movementX = this.shouldSkipX(e, !!isLeft, !!anywhereWithin, xDiff) ? 0 : xDiff;\n var movementY = this.shouldSkipY(e, !!isTop, topBuffer, yDiff) ? 0 : yDiff;\n return { movementX: movementX, movementY: movementY };\n };\n PositionableFeature.prototype.shouldSkipX = function (e, isLeft, anywhereWithin, diff) {\n var elRect = this.element.getBoundingClientRect();\n var parentRect = this.offsetParent.getBoundingClientRect();\n var boundaryElRect = this.boundaryEl.getBoundingClientRect();\n var xPosition = this.config.popup ? this.position.x : elRect.left;\n // skip if cursor is outside of popupParent horizontally\n var skipX = ((xPosition <= 0 && parentRect.left >= e.clientX) ||\n (parentRect.right <= e.clientX && parentRect.right <= boundaryElRect.right));\n if (skipX) {\n return true;\n }\n if (isLeft) {\n skipX = (\n // skip if we are moving to the left and the cursor\n // is positioned to the right of the left side anchor\n (diff < 0 && e.clientX > xPosition + parentRect.left) ||\n // skip if we are moving to the right and the cursor\n // is positioned to the left of the dialog\n (diff > 0 && e.clientX < xPosition + parentRect.left));\n }\n else {\n if (anywhereWithin) {\n // if anywhereWithin is true, we allow to move\n // as long as the cursor is within the dialog\n skipX = ((diff < 0 && e.clientX > boundaryElRect.right) ||\n (diff > 0 && e.clientX < xPosition + parentRect.left));\n }\n else {\n skipX = (\n // if the movement is bound to the right side of the dialog\n // we skip if we are moving to the left and the cursor\n // is to the right of the dialog\n (diff < 0 && e.clientX > boundaryElRect.right) ||\n // or skip if we are moving to the right and the cursor\n // is to the left of the right side anchor\n (diff > 0 && e.clientX < boundaryElRect.right));\n }\n }\n return skipX;\n };\n PositionableFeature.prototype.shouldSkipY = function (e, isTop, topBuffer, diff) {\n if (topBuffer === void 0) { topBuffer = 0; }\n var elRect = this.element.getBoundingClientRect();\n var parentRect = this.offsetParent.getBoundingClientRect();\n var boundaryElRect = this.boundaryEl.getBoundingClientRect();\n var yPosition = this.config.popup ? this.position.y : elRect.top;\n // skip if cursor is outside of popupParent vertically\n var skipY = ((yPosition <= 0 && parentRect.top >= e.clientY) ||\n (parentRect.bottom <= e.clientY && parentRect.bottom <= boundaryElRect.bottom));\n if (skipY) {\n return true;\n }\n if (isTop) {\n skipY = (\n // skip if we are moving to towards top and the cursor is\n // below the top anchor + topBuffer\n // note: topBuffer is used when moving the dialog using the title bar\n (diff < 0 && e.clientY > yPosition + parentRect.top + topBuffer) ||\n // skip if we are moving to the bottom and the cursor is\n // above the top anchor\n (diff > 0 && e.clientY < yPosition + parentRect.top));\n }\n else {\n skipY = (\n // skip if we are moving towards the top and the cursor\n // is below the bottom anchor\n (diff < 0 && e.clientY > boundaryElRect.bottom) ||\n // skip if we are moving towards the bottom and the cursor\n // is above the bottom anchor\n (diff > 0 && e.clientY < boundaryElRect.bottom));\n }\n return skipY;\n };\n PositionableFeature.prototype.createResizeMap = function () {\n var eGui = this.element;\n this.resizerMap = {\n topLeft: { element: eGui.querySelector('[ref=eTopLeftResizer]') },\n top: { element: eGui.querySelector('[ref=eTopResizer]') },\n topRight: { element: eGui.querySelector('[ref=eTopRightResizer]') },\n right: { element: eGui.querySelector('[ref=eRightResizer]') },\n bottomRight: { element: eGui.querySelector('[ref=eBottomRightResizer]') },\n bottom: { element: eGui.querySelector('[ref=eBottomResizer]') },\n bottomLeft: { element: eGui.querySelector('[ref=eBottomLeftResizer]') },\n left: { element: eGui.querySelector('[ref=eLeftResizer]') }\n };\n };\n PositionableFeature.prototype.addResizers = function () {\n if (this.resizersAdded) {\n return;\n }\n var eGui = this.element;\n if (!eGui) {\n return;\n }\n var parser = new DOMParser();\n var resizers = parser.parseFromString(RESIZE_TEMPLATE, 'text/html').body;\n eGui.appendChild(resizers.firstChild);\n this.createResizeMap();\n this.resizersAdded = true;\n };\n PositionableFeature.prototype.removeResizers = function () {\n this.resizerMap = undefined;\n var resizerEl = this.element.querySelector(\".\" + RESIZE_CONTAINER_STYLE);\n if (resizerEl) {\n this.element.removeChild(resizerEl);\n }\n this.resizersAdded = false;\n };\n PositionableFeature.prototype.getResizerElement = function (side) {\n return this.resizerMap[side].element;\n };\n PositionableFeature.prototype.onResizeStart = function (e, side) {\n this.boundaryEl = this.findBoundaryElement();\n if (!this.positioned) {\n this.initialisePosition();\n }\n this.currentResizer = {\n isTop: !!side.match(/top/i),\n isRight: !!side.match(/right/i),\n isBottom: !!side.match(/bottom/i),\n isLeft: !!side.match(/left/i),\n };\n this.element.classList.add('ag-resizing');\n this.resizerMap[side].element.classList.add('ag-active');\n var _a = this.config, popup = _a.popup, forcePopupParentAsOffsetParent = _a.forcePopupParentAsOffsetParent;\n if (!popup && !forcePopupParentAsOffsetParent) {\n this.applySizeToSiblings(this.currentResizer.isBottom || this.currentResizer.isTop);\n }\n this.isResizing = true;\n this.updateDragStartPosition(e.clientX, e.clientY);\n };\n PositionableFeature.prototype.getSiblings = function () {\n var element = this.element;\n var parent = element.parentElement;\n if (!parent) {\n return null;\n }\n return Array.prototype.slice.call(parent.children).filter(function (el) { return !el.classList.contains('ag-hidden'); });\n };\n PositionableFeature.prototype.getMinSizeOfSiblings = function () {\n var siblings = this.getSiblings() || [];\n var height = 0;\n var width = 0;\n for (var i = 0; i < siblings.length; i++) {\n var currentEl = siblings[i];\n var isFlex = !!currentEl.style.flex && currentEl.style.flex !== '0 0 auto';\n if (currentEl === this.element) {\n continue;\n }\n var nextHeight = this.minHeight || 0;\n var nextWidth = this.minWidth || 0;\n if (isFlex) {\n var computedStyle = window.getComputedStyle(currentEl);\n if (computedStyle.minHeight) {\n nextHeight = parseInt(computedStyle.minHeight, 10);\n }\n if (computedStyle.minWidth) {\n nextWidth = parseInt(computedStyle.minWidth, 10);\n }\n }\n else {\n nextHeight = currentEl.offsetHeight;\n nextWidth = currentEl.offsetWidth;\n }\n height += nextHeight;\n width += nextWidth;\n }\n return { height: height, width: width };\n };\n PositionableFeature.prototype.applySizeToSiblings = function (vertical) {\n var containerToFlex = null;\n var siblings = this.getSiblings();\n if (!siblings) {\n return;\n }\n for (var i = 0; i < siblings.length; i++) {\n var el = siblings[i];\n if (el === containerToFlex) {\n continue;\n }\n if (vertical) {\n el.style.height = el.offsetHeight + \"px\";\n }\n else {\n el.style.width = el.offsetWidth + \"px\";\n }\n el.style.flex = '0 0 auto';\n if (el === this.element) {\n containerToFlex = siblings[i + 1];\n }\n }\n if (containerToFlex) {\n containerToFlex.style.removeProperty('height');\n containerToFlex.style.removeProperty('min-height');\n containerToFlex.style.removeProperty('max-height');\n containerToFlex.style.flex = '1 1 auto';\n }\n };\n PositionableFeature.prototype.isResizable = function () {\n return Object.values(this.resizable).some(function (value) { return value; });\n };\n PositionableFeature.prototype.onResize = function (e) {\n if (!this.isResizing || !this.currentResizer) {\n return;\n }\n var _a = this.config, popup = _a.popup, forcePopupParentAsOffsetParent = _a.forcePopupParentAsOffsetParent;\n var _b = this.currentResizer, isTop = _b.isTop, isRight = _b.isRight, isBottom = _b.isBottom, isLeft = _b.isLeft;\n var isHorizontal = isRight || isLeft;\n var isVertical = isBottom || isTop;\n var _c = this.calculateMouseMovement({ e: e, isLeft: isLeft, isTop: isTop }), movementX = _c.movementX, movementY = _c.movementY;\n var xPosition = this.position.x;\n var yPosition = this.position.y;\n var offsetLeft = 0;\n var offsetTop = 0;\n if (isHorizontal && movementX) {\n var direction = isLeft ? -1 : 1;\n var oldWidth = this.getWidth();\n var newWidth = oldWidth + (movementX * direction);\n var skipWidth = false;\n if (isLeft) {\n offsetLeft = oldWidth - newWidth;\n if (xPosition + offsetLeft <= 0 || newWidth <= this.minWidth) {\n skipWidth = true;\n offsetLeft = 0;\n }\n }\n if (!skipWidth) {\n this.setWidth(newWidth);\n }\n }\n if (isVertical && movementY) {\n var direction = isTop ? -1 : 1;\n var oldHeight = this.getHeight();\n var newHeight = oldHeight + (movementY * direction);\n var skipHeight = false;\n if (isTop) {\n offsetTop = oldHeight - newHeight;\n if (yPosition + offsetTop <= 0 || newHeight <= this.minHeight) {\n skipHeight = true;\n offsetTop = 0;\n }\n }\n else {\n // do not let the size of all siblings be higher than the parent container\n if (!this.config.popup &&\n !this.config.forcePopupParentAsOffsetParent &&\n oldHeight < newHeight &&\n (this.getMinSizeOfSiblings().height + newHeight) > this.element.parentElement.offsetHeight) {\n skipHeight = true;\n }\n }\n if (!skipHeight) {\n this.setHeight(newHeight);\n }\n }\n this.updateDragStartPosition(e.clientX, e.clientY);\n if ((popup || forcePopupParentAsOffsetParent) && offsetLeft || offsetTop) {\n this.offsetElement(xPosition + offsetLeft, yPosition + offsetTop);\n }\n };\n PositionableFeature.prototype.onResizeEnd = function (e, side) {\n this.isResizing = false;\n this.currentResizer = null;\n this.boundaryEl = null;\n var params = {\n type: 'resize',\n api: this.gridOptionsWrapper.getApi(),\n columnApi: this.gridOptionsWrapper.getColumnApi()\n };\n this.element.classList.remove('ag-resizing');\n this.resizerMap[side].element.classList.remove('ag-active');\n this.dispatchEvent(params);\n };\n PositionableFeature.prototype.refreshSize = function () {\n var eGui = this.element;\n if (this.config.popup) {\n if (!this.config.width) {\n this.setWidth(eGui.offsetWidth);\n }\n if (!this.config.height) {\n this.setHeight(eGui.offsetHeight);\n }\n }\n };\n PositionableFeature.prototype.onMoveStart = function (e) {\n this.boundaryEl = this.findBoundaryElement();\n if (!this.positioned) {\n this.initialisePosition();\n }\n this.isMoving = true;\n this.element.classList.add('ag-moving');\n this.updateDragStartPosition(e.clientX, e.clientY);\n };\n PositionableFeature.prototype.onMove = function (e) {\n if (!this.isMoving) {\n return;\n }\n var _a = this.position, x = _a.x, y = _a.y;\n var topBuffer;\n if (this.config.calculateTopBuffer) {\n topBuffer = this.config.calculateTopBuffer();\n }\n var _b = this.calculateMouseMovement({\n e: e,\n isTop: true,\n anywhereWithin: true,\n topBuffer: topBuffer\n }), movementX = _b.movementX, movementY = _b.movementY;\n this.offsetElement(x + movementX, y + movementY);\n this.updateDragStartPosition(e.clientX, e.clientY);\n };\n PositionableFeature.prototype.onMoveEnd = function () {\n this.isMoving = false;\n this.boundaryEl = null;\n this.element.classList.remove('ag-moving');\n };\n PositionableFeature.prototype.setOffsetParent = function () {\n if (this.config.forcePopupParentAsOffsetParent) {\n this.offsetParent = this.popupService.getPopupParent();\n }\n else {\n this.offsetParent = this.element.offsetParent;\n }\n };\n PositionableFeature.prototype.findBoundaryElement = function () {\n var el = this.element;\n while (el) {\n if (window.getComputedStyle(el).position !== 'static') {\n return el;\n }\n el = el.parentElement;\n }\n return this.element;\n };\n PositionableFeature.prototype.clearResizeListeners = function () {\n while (this.resizeListeners.length) {\n var params = this.resizeListeners.pop();\n this.dragService.removeDragSource(params);\n }\n };\n PositionableFeature.prototype.destroy = function () {\n _super.prototype.destroy.call(this);\n if (this.moveElementDragListener) {\n this.dragService.removeDragSource(this.moveElementDragListener);\n }\n this.clearResizeListeners();\n this.removeResizers();\n };\n __decorate$16([\n Autowired('popupService')\n ], PositionableFeature.prototype, \"popupService\", void 0);\n __decorate$16([\n Autowired('dragService')\n ], PositionableFeature.prototype, \"dragService\", void 0);\n return PositionableFeature;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$1c = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$15 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar AutoWidthCalculator = /** @class */ (function (_super) {\n __extends$1c(AutoWidthCalculator, _super);\n function AutoWidthCalculator() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n AutoWidthCalculator.prototype.postConstruct = function () {\n var _this = this;\n this.ctrlsService.whenReady(function (p) {\n _this.centerRowContainerCtrl = p.centerRowContainerCtrl;\n });\n };\n // this is the trick: we create a dummy container and clone all the cells\n // into the dummy, then check the dummy's width. then destroy the dummy\n // as we don't need it any more.\n // drawback: only the cells visible on the screen are considered\n AutoWidthCalculator.prototype.getPreferredWidthForColumn = function (column, skipHeader) {\n var eHeaderCell = this.getHeaderCellForColumn(column);\n // cell isn't visible\n if (!eHeaderCell) {\n return -1;\n }\n var elements = this.rowRenderer.getAllCellsForColumn(column);\n if (!skipHeader) {\n // we only consider the lowest level cell, not the group cell. in 99% of the time, this\n // will be enough. if we consider groups, then it gets too complicated for what it's worth,\n // as the groups can span columns and this class only considers one column at a time.\n elements.push(eHeaderCell);\n }\n return this.addElementsToContainerAndGetWidth(elements);\n };\n AutoWidthCalculator.prototype.getPreferredWidthForColumnGroup = function (columnGroup) {\n var eHeaderCell = this.getHeaderCellForColumn(columnGroup);\n if (!eHeaderCell) {\n return -1;\n }\n return this.addElementsToContainerAndGetWidth([eHeaderCell]);\n };\n AutoWidthCalculator.prototype.addElementsToContainerAndGetWidth = function (elements) {\n var _this = this;\n // this element has to be a form, otherwise form elements within a cell\n // will be validated while being cloned. This can cause issues such as \n // radio buttons being reset and losing their values.\n var eDummyContainer = document.createElement('form');\n // position fixed, so it isn't restricted to the boundaries of the parent\n eDummyContainer.style.position = 'fixed';\n // we put the dummy into the body container, so it will inherit all the\n // css styles that the real cells are inheriting\n var eBodyContainer = this.centerRowContainerCtrl.getContainerElement();\n eBodyContainer.appendChild(eDummyContainer);\n elements.forEach(function (el) { return _this.cloneItemIntoDummy(el, eDummyContainer); });\n // at this point, all the clones are lined up vertically with natural widths. the dummy\n // container will have a width wide enough just to fit the largest.\n var dummyContainerWidth = eDummyContainer.offsetWidth;\n // we are finished with the dummy container, so get rid of it\n eBodyContainer.removeChild(eDummyContainer);\n // we add padding as I found sometimes the gui still put '...' after some of the texts. so the\n // user can configure the grid to add a few more pixels after the calculated width\n var autoSizePadding = this.gridOptionsWrapper.getAutoSizePadding();\n return dummyContainerWidth + autoSizePadding;\n };\n AutoWidthCalculator.prototype.getHeaderCellForColumn = function (column) {\n /* tslint:enable */\n var element = null;\n this.ctrlsService.getHeaderRowContainerCtrls().forEach(function (container) {\n var res = container.getHtmlElementForColumnHeader(column);\n if (res != null) {\n element = res;\n }\n });\n return element;\n };\n AutoWidthCalculator.prototype.cloneItemIntoDummy = function (eCell, eDummyContainer) {\n // make a deep clone of the cell\n var eCellClone = eCell.cloneNode(true);\n // the original has a fixed width, we remove this to allow the natural width based on content\n eCellClone.style.width = '';\n // the original has position = absolute, we need to remove this so it's positioned normally\n eCellClone.style.position = 'static';\n eCellClone.style.left = '';\n // we put the cell into a containing div, as otherwise the cells would just line up\n // on the same line, standard flow layout, by putting them into divs, they are laid\n // out one per line\n var eCloneParent = document.createElement('div');\n var eCloneParentClassList = eCloneParent.classList;\n var isHeader = ['ag-header-cell', 'ag-header-group-cell'].some(function (cls) { return eCellClone.classList.contains(cls); });\n if (isHeader) {\n eCloneParentClassList.add('ag-header', 'ag-header-row');\n eCloneParent.style.position = 'static';\n }\n else {\n eCloneParentClassList.add('ag-row');\n }\n // find parent using classes (headers have ag-header-cell, rows have ag-row), and copy classes from it.\n // if we didn't do this, things like ag-row-level-2 would be missing if present, which sets indents\n // onto group items.\n var pointer = eCell.parentElement;\n while (pointer) {\n var isRow = ['ag-header-row', 'ag-row'].some(function (cls) { return pointer.classList.contains(cls); });\n if (isRow) {\n for (var i = 0; i < pointer.classList.length; i++) {\n var item = pointer.classList[i];\n // we skip ag-row-position-absolute, as this has structural CSS applied that stops the\n // element from fitting into it's parent, and we need the element to stretch the parent\n // as we are measuring the parents width\n if (item != 'ag-row-position-absolute') {\n eCloneParentClassList.add(item);\n }\n }\n break;\n }\n pointer = pointer.parentElement;\n }\n // the twig on the branch, the branch on the tree, the tree in the hole,\n // the hole in the bog, the bog in the clone, the clone in the parent,\n // the parent in the dummy, and the dummy down in the vall-e-ooo, OOOOOOOOO! Oh row the rattling bog....\n eCloneParent.appendChild(eCellClone);\n eDummyContainer.appendChild(eCloneParent);\n };\n __decorate$15([\n Autowired('rowRenderer')\n ], AutoWidthCalculator.prototype, \"rowRenderer\", void 0);\n __decorate$15([\n Autowired('ctrlsService')\n ], AutoWidthCalculator.prototype, \"ctrlsService\", void 0);\n __decorate$15([\n Autowired('rowCssClassCalculator')\n ], AutoWidthCalculator.prototype, \"rowCssClassCalculator\", void 0);\n __decorate$15([\n PostConstruct\n ], AutoWidthCalculator.prototype, \"postConstruct\", null);\n AutoWidthCalculator = __decorate$15([\n Bean('autoWidthCalculator')\n ], AutoWidthCalculator);\n return AutoWidthCalculator;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$1b = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$14 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __values$1 = (undefined && undefined.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\nvar __read$b = (undefined && undefined.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar __spread$9 = (undefined && undefined.__spread) || function () {\n for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$b(arguments[i]));\n return ar;\n};\nvar StickyRowFeature = /** @class */ (function (_super) {\n __extends$1b(StickyRowFeature, _super);\n function StickyRowFeature(createRowCon, destroyRowCtrls) {\n var _this = _super.call(this) || this;\n _this.createRowCon = createRowCon;\n _this.destroyRowCtrls = destroyRowCtrls;\n _this.stickyRowCtrls = [];\n _this.containerHeight = 0;\n return _this;\n }\n StickyRowFeature.prototype.postConstruct = function () {\n var _this = this;\n this.ctrlsService.whenReady(function (params) {\n _this.gridBodyCtrl = params.gridBodyCtrl;\n });\n };\n StickyRowFeature.prototype.getStickyRowCtrls = function () {\n return this.stickyRowCtrls;\n };\n StickyRowFeature.prototype.checkStickyRows = function () {\n var height = 0;\n if (!this.gridOptionsWrapper.isGroupRowsSticky()) {\n this.refreshNodesAndContainerHeight([], height);\n return;\n }\n var stickyRows = [];\n var firstPixel = this.rowRenderer.getFirstVisibleVerticalPixel();\n var addStickyRow = function (stickyRow) {\n stickyRows.push(stickyRow);\n var lastAncester = stickyRow;\n while (lastAncester.expanded) {\n lastAncester = last(lastAncester.childrenAfterSort);\n }\n var lastChildBottom = lastAncester.rowTop + lastAncester.rowHeight;\n var stickRowBottom = firstPixel + height + stickyRow.rowHeight;\n if (lastChildBottom < stickRowBottom) {\n stickyRow.stickyRowTop = height + (lastChildBottom - stickRowBottom);\n }\n else {\n stickyRow.stickyRowTop = height;\n }\n height = 0;\n stickyRows.forEach(function (rowNode) {\n var thisRowLastPx = rowNode.stickyRowTop + rowNode.rowHeight;\n if (height < thisRowLastPx) {\n height = thisRowLastPx;\n }\n });\n };\n while (true) {\n var firstPixelAfterStickyRows = firstPixel + height;\n var firstIndex = this.rowModel.getRowIndexAtPixel(firstPixelAfterStickyRows);\n var firstRow = this.rowModel.getRow(firstIndex);\n if (firstRow == null) {\n break;\n }\n // only happens when pivoting, and we are showing root node\n if (firstRow.level < 0) {\n break;\n }\n var parents = [];\n var p = firstRow.parent;\n while (p.level >= 0) {\n parents.push(p);\n p = p.parent;\n }\n var firstMissingParent = parents.reverse().find(function (parent) { return stickyRows.indexOf(parent) < 0 && parent.displayed; });\n if (firstMissingParent) {\n addStickyRow(firstMissingParent);\n continue;\n }\n // if first row is an open group, and practically shown, it needs\n // to be stuck\n if (firstRow.group && firstRow.expanded && !firstRow.footer && firstRow.rowTop < firstPixelAfterStickyRows) {\n addStickyRow(firstRow);\n continue;\n }\n break;\n }\n this.refreshNodesAndContainerHeight(stickyRows, height);\n };\n StickyRowFeature.prototype.refreshNodesAndContainerHeight = function (allStickyNodes, height) {\n var e_1, _a, _b;\n var _this = this;\n var removedCtrls = this.stickyRowCtrls.filter(function (ctrl) { return allStickyNodes.indexOf(ctrl.getRowNode()) === -1; });\n var addedNodes = allStickyNodes.filter(function (rowNode) { return _this.stickyRowCtrls.findIndex(function (ctrl) { return ctrl.getRowNode() === rowNode; }) === -1; });\n var ctrlsToDestroy = {};\n removedCtrls.forEach(function (removedCtrl) {\n ctrlsToDestroy[removedCtrl.getRowNode().id] = removedCtrl;\n _this.stickyRowCtrls = _this.stickyRowCtrls.filter(function (ctrl) { return ctrl !== removedCtrl; });\n });\n try {\n for (var _c = __values$1(Object.values(ctrlsToDestroy)), _d = _c.next(); !_d.done; _d = _c.next()) {\n var ctrl = _d.value;\n ctrl.getRowNode().sticky = false;\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_d && !_d.done && (_a = _c.return)) _a.call(_c);\n }\n finally { if (e_1) throw e_1.error; }\n }\n this.destroyRowCtrls(ctrlsToDestroy, false);\n var newCtrls = addedNodes.map(function (rowNode) {\n rowNode.sticky = true;\n return _this.createRowCon(rowNode, false, false);\n });\n (_b = this.stickyRowCtrls).push.apply(_b, __spread$9(newCtrls));\n this.stickyRowCtrls.forEach(function (ctrl) { return ctrl.setRowTop(ctrl.getRowNode().stickyRowTop); });\n this.stickyRowCtrls.sort(function (a, b) { return b.getRowNode().rowIndex - a.getRowNode().rowIndex; });\n if (this.containerHeight !== height) {\n this.containerHeight = height;\n this.gridBodyCtrl.setStickyTopHeight(height);\n }\n };\n __decorate$14([\n Autowired(\"rowModel\")\n ], StickyRowFeature.prototype, \"rowModel\", void 0);\n __decorate$14([\n Autowired(\"rowRenderer\")\n ], StickyRowFeature.prototype, \"rowRenderer\", void 0);\n __decorate$14([\n Autowired(\"ctrlsService\")\n ], StickyRowFeature.prototype, \"ctrlsService\", void 0);\n __decorate$14([\n PostConstruct\n ], StickyRowFeature.prototype, \"postConstruct\", null);\n return StickyRowFeature;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$1a = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$13 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __read$a = (undefined && undefined.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar __spread$8 = (undefined && undefined.__spread) || function () {\n for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$a(arguments[i]));\n return ar;\n};\nvar RowRenderer = /** @class */ (function (_super) {\n __extends$1a(RowRenderer, _super);\n function RowRenderer() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.destroyFuncsForColumnListeners = [];\n // map of row ids to row objects. keeps track of which elements\n // are rendered for which rows in the dom.\n _this.rowCtrlsByRowIndex = {};\n _this.zombieRowCtrls = {};\n _this.allRowCtrls = [];\n _this.topRowCtrls = [];\n _this.bottomRowCtrls = [];\n // we only allow one refresh at a time, otherwise the internal memory structure here\n // will get messed up. this can happen if the user has a cellRenderer, and inside the\n // renderer they call an API method that results in another pass of the refresh,\n // then it will be trying to draw rows in the middle of a refresh.\n _this.refreshInProgress = false;\n _this.dataFirstRenderedFired = false;\n return _this;\n }\n RowRenderer.prototype.postConstruct = function () {\n var _this = this;\n this.ctrlsService.whenReady(function () {\n _this.gridBodyCtrl = _this.ctrlsService.getGridBodyCtrl();\n _this.initialise();\n });\n };\n RowRenderer.prototype.initialise = function () {\n this.addManagedListener(this.eventService, Events.EVENT_PAGINATION_CHANGED, this.onPageLoaded.bind(this));\n this.addManagedListener(this.eventService, Events.EVENT_PINNED_ROW_DATA_CHANGED, this.onPinnedRowDataChanged.bind(this));\n this.addManagedListener(this.eventService, Events.EVENT_DISPLAYED_COLUMNS_CHANGED, this.onDisplayedColumnsChanged.bind(this));\n this.addManagedListener(this.eventService, Events.EVENT_BODY_SCROLL, this.redrawAfterScroll.bind(this));\n this.addManagedListener(this.eventService, Events.EVENT_BODY_HEIGHT_CHANGED, this.redrawAfterScroll.bind(this));\n this.addManagedListener(this.gridOptionsWrapper, GridOptionsWrapper.PROP_DOM_LAYOUT, this.onDomLayoutChanged.bind(this));\n this.addManagedListener(this.gridOptionsWrapper, GridOptionsWrapper.PROP_ROW_CLASS, this.redrawRows.bind(this));\n if (this.gridOptionsWrapper.isGroupRowsSticky()) {\n if (this.rowModel.getType() != Constants.ROW_MODEL_TYPE_CLIENT_SIDE) {\n doOnce(function () { return console.warn('AG Grid: The feature Sticky Row Groups only works with the Client Side Row Model'); }, 'rowRenderer.stickyWorksWithCsrmOnly');\n }\n else if (this.gridOptionsWrapper.isTreeData()) {\n doOnce(function () { return console.warn('AG Grid: The feature Sticky Row Groups does not work with Tree Data.'); }, 'rowRenderer.stickyDoesNotWorkWithTreeData');\n }\n else {\n this.stickyRowFeature = this.createManagedBean(new StickyRowFeature(this.createRowCon.bind(this), this.destroyRowCtrls.bind(this)));\n }\n }\n this.registerCellEventListeners();\n this.initialiseCache();\n this.printLayout = this.gridOptionsWrapper.getDomLayout() === Constants.DOM_LAYOUT_PRINT;\n this.embedFullWidthRows = this.printLayout || this.gridOptionsWrapper.isEmbedFullWidthRows();\n this.redrawAfterModelUpdate();\n };\n RowRenderer.prototype.initialiseCache = function () {\n if (this.gridOptionsWrapper.isKeepDetailRows()) {\n var countProp = this.gridOptionsWrapper.getKeepDetailRowsCount();\n var count = countProp != null ? countProp : 3;\n this.cachedRowCtrls = new RowCtrlCache(count);\n }\n };\n RowRenderer.prototype.getRowCtrls = function () {\n return this.allRowCtrls;\n };\n RowRenderer.prototype.getStickyTopRowCtrls = function () {\n if (!this.stickyRowFeature) {\n return [];\n }\n return this.stickyRowFeature.getStickyRowCtrls();\n };\n RowRenderer.prototype.updateAllRowCtrls = function () {\n var liveList = getAllValuesInObject(this.rowCtrlsByRowIndex);\n if (this.gridOptionsWrapper.isEnsureDomOrder()) {\n liveList.sort(function (a, b) { return a.getRowNode().rowIndex - b.getRowNode.rowIndex; });\n }\n var zombieList = getAllValuesInObject(this.zombieRowCtrls);\n var cachedList = this.cachedRowCtrls ? this.cachedRowCtrls.getEntries() : [];\n this.allRowCtrls = __spread$8(liveList, zombieList, cachedList);\n };\n // in a clean design, each cell would register for each of these events. however when scrolling, all the cells\n // registering and de-registering for events is a performance bottleneck. so we register here once and inform\n // all active cells.\n RowRenderer.prototype.registerCellEventListeners = function () {\n var _this = this;\n this.addManagedListener(this.eventService, Events.EVENT_CELL_FOCUSED, function (event) {\n _this.getAllCellCtrls().forEach(function (cellCtrl) { return cellCtrl.onCellFocused(event); });\n _this.getFullWidthRowCtrls().forEach(function (rowCtrl) {\n rowCtrl.onFullWidthRowFocused(event);\n });\n });\n this.addManagedListener(this.eventService, Events.EVENT_FLASH_CELLS, function (event) {\n _this.getAllCellCtrls().forEach(function (cellCtrl) { return cellCtrl.onFlashCells(event); });\n });\n this.addManagedListener(this.eventService, Events.EVENT_COLUMN_HOVER_CHANGED, function () {\n _this.getAllCellCtrls().forEach(function (cellCtrl) { return cellCtrl.onColumnHover(); });\n });\n this.addManagedListener(this.eventService, Events.EVENT_DISPLAYED_COLUMNS_CHANGED, function () {\n _this.getAllCellCtrls().forEach(function (cellCtrl) { return cellCtrl.onDisplayedColumnsChanged(); });\n });\n // only for printLayout - because we are rendering all the cells in the same row, regardless of pinned state,\n // then changing the width of the containers will impact left position. eg the center cols all have their\n // left position adjusted by the width of the left pinned column, so if the pinned left column width changes,\n // all the center cols need to be shifted to accommodate this. when in normal layout, the pinned cols are\n // in different containers so doesn't impact.\n this.addManagedListener(this.eventService, Events.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED, function () {\n if (_this.printLayout) {\n _this.getAllCellCtrls().forEach(function (cellCtrl) { return cellCtrl.onLeftChanged(); });\n }\n });\n var rangeSelectionEnabled = this.gridOptionsWrapper.isEnableRangeSelection();\n if (rangeSelectionEnabled) {\n this.addManagedListener(this.eventService, Events.EVENT_RANGE_SELECTION_CHANGED, function () {\n _this.getAllCellCtrls().forEach(function (cellCtrl) { return cellCtrl.onRangeSelectionChanged(); });\n });\n this.addManagedListener(this.eventService, Events.EVENT_COLUMN_MOVED, function () {\n _this.getAllCellCtrls().forEach(function (cellCtrl) { return cellCtrl.updateRangeBordersIfRangeCount(); });\n });\n this.addManagedListener(this.eventService, Events.EVENT_COLUMN_PINNED, function () {\n _this.getAllCellCtrls().forEach(function (cellCtrl) { return cellCtrl.updateRangeBordersIfRangeCount(); });\n });\n this.addManagedListener(this.eventService, Events.EVENT_COLUMN_VISIBLE, function () {\n _this.getAllCellCtrls().forEach(function (cellCtrl) { return cellCtrl.updateRangeBordersIfRangeCount(); });\n });\n }\n // add listeners to the grid columns\n this.refreshListenersToColumnsForCellComps();\n // if the grid columns change, then refresh the listeners again\n this.addManagedListener(this.eventService, Events.EVENT_GRID_COLUMNS_CHANGED, this.refreshListenersToColumnsForCellComps.bind(this));\n this.addDestroyFunc(this.removeGridColumnListeners.bind(this));\n };\n // executes all functions in destroyFuncsForColumnListeners and then clears the list\n RowRenderer.prototype.removeGridColumnListeners = function () {\n this.destroyFuncsForColumnListeners.forEach(function (func) { return func(); });\n this.destroyFuncsForColumnListeners.length = 0;\n };\n // this function adds listeners onto all the grid columns, which are the column that we could have cellComps for.\n // when the grid columns change, we add listeners again. in an ideal design, each CellComp would just register to\n // the column it belongs to on creation, however this was a bottleneck with the number of cells, so do it here\n // once instead.\n RowRenderer.prototype.refreshListenersToColumnsForCellComps = function () {\n var _this = this;\n this.removeGridColumnListeners();\n var cols = this.columnModel.getAllGridColumns();\n if (!cols) {\n return;\n }\n cols.forEach(function (col) {\n var forEachCellWithThisCol = function (callback) {\n _this.getAllCellCtrls().forEach(function (cellCtrl) {\n if (cellCtrl.getColumn() === col) {\n callback(cellCtrl);\n }\n });\n };\n var leftChangedListener = function () {\n forEachCellWithThisCol(function (cellCtrl) { return cellCtrl.onLeftChanged(); });\n };\n var widthChangedListener = function () {\n forEachCellWithThisCol(function (cellCtrl) { return cellCtrl.onWidthChanged(); });\n };\n var firstRightPinnedChangedListener = function () {\n forEachCellWithThisCol(function (cellCtrl) { return cellCtrl.onFirstRightPinnedChanged(); });\n };\n var lastLeftPinnedChangedListener = function () {\n forEachCellWithThisCol(function (cellCtrl) { return cellCtrl.onLastLeftPinnedChanged(); });\n };\n var colDefChangedListener = function () {\n forEachCellWithThisCol(function (cellCtrl) { return cellCtrl.onColDefChanged(); });\n };\n col.addEventListener(Column.EVENT_LEFT_CHANGED, leftChangedListener);\n col.addEventListener(Column.EVENT_WIDTH_CHANGED, widthChangedListener);\n col.addEventListener(Column.EVENT_FIRST_RIGHT_PINNED_CHANGED, firstRightPinnedChangedListener);\n col.addEventListener(Column.EVENT_LAST_LEFT_PINNED_CHANGED, lastLeftPinnedChangedListener);\n col.addEventListener(Column.EVENT_COL_DEF_CHANGED, colDefChangedListener);\n _this.destroyFuncsForColumnListeners.push(function () {\n col.removeEventListener(Column.EVENT_LEFT_CHANGED, leftChangedListener);\n col.removeEventListener(Column.EVENT_WIDTH_CHANGED, widthChangedListener);\n col.removeEventListener(Column.EVENT_FIRST_RIGHT_PINNED_CHANGED, firstRightPinnedChangedListener);\n col.removeEventListener(Column.EVENT_LAST_LEFT_PINNED_CHANGED, lastLeftPinnedChangedListener);\n col.removeEventListener(Column.EVENT_COL_DEF_CHANGED, colDefChangedListener);\n });\n });\n };\n RowRenderer.prototype.onDomLayoutChanged = function () {\n var printLayout = this.gridOptionsWrapper.getDomLayout() === Constants.DOM_LAYOUT_PRINT;\n var embedFullWidthRows = printLayout || this.gridOptionsWrapper.isEmbedFullWidthRows();\n // if moving towards or away from print layout, means we need to destroy all rows, as rows are not laid\n // out using absolute positioning when doing print layout\n var destroyRows = embedFullWidthRows !== this.embedFullWidthRows || this.printLayout !== printLayout;\n this.printLayout = printLayout;\n this.embedFullWidthRows = embedFullWidthRows;\n if (destroyRows) {\n this.redrawAfterModelUpdate();\n }\n };\n // for row models that have datasources, when we update the datasource, we need to force the rowRenderer\n // to redraw all rows. otherwise the old rows from the old datasource will stay displayed.\n RowRenderer.prototype.datasourceChanged = function () {\n this.firstRenderedRow = 0;\n this.lastRenderedRow = -1;\n var rowIndexesToRemove = Object.keys(this.rowCtrlsByRowIndex);\n this.removeRowCtrls(rowIndexesToRemove);\n };\n RowRenderer.prototype.onPageLoaded = function (event) {\n var params = {\n recycleRows: event.keepRenderedRows,\n animate: event.animate,\n newData: event.newData,\n newPage: event.newPage,\n // because this is a model updated event (not pinned rows), we\n // can skip updating the pinned rows. this is needed so that if user\n // is doing transaction updates, the pinned rows are not getting constantly\n // trashed - or editing cells in pinned rows are not refreshed and put into read mode\n onlyBody: true\n };\n this.redrawAfterModelUpdate(params);\n };\n RowRenderer.prototype.getAllCellsForColumn = function (column) {\n var res = [];\n this.getAllRowCtrls().forEach(function (rowCtrl) {\n var eCell = rowCtrl.getCellElement(column);\n if (eCell) {\n res.push(eCell);\n }\n });\n return res;\n };\n RowRenderer.prototype.refreshFloatingRowComps = function () {\n this.refreshFloatingRows(this.topRowCtrls, this.pinnedRowModel.getPinnedTopRowData());\n this.refreshFloatingRows(this.bottomRowCtrls, this.pinnedRowModel.getPinnedBottomRowData());\n };\n RowRenderer.prototype.getTopRowCtrls = function () {\n return this.topRowCtrls;\n };\n RowRenderer.prototype.getBottomRowCtrls = function () {\n return this.bottomRowCtrls;\n };\n RowRenderer.prototype.refreshFloatingRows = function (rowComps, rowNodes) {\n var _this = this;\n rowComps.forEach(function (row) {\n row.destroyFirstPass();\n row.destroySecondPass();\n });\n rowComps.length = 0;\n if (!rowNodes) {\n return;\n }\n rowNodes.forEach(function (rowNode) {\n var rowCtrl = new RowCtrl(rowNode, _this.beans, false, false, _this.printLayout);\n rowComps.push(rowCtrl);\n });\n };\n RowRenderer.prototype.onPinnedRowDataChanged = function () {\n // recycling rows in order to ensure cell editing is not cancelled\n var params = {\n recycleRows: true\n };\n this.redrawAfterModelUpdate(params);\n };\n // if the row nodes are not rendered, no index is returned\n RowRenderer.prototype.getRenderedIndexesForRowNodes = function (rowNodes) {\n var result = [];\n if (missing(rowNodes)) {\n return result;\n }\n iterateObject(this.rowCtrlsByRowIndex, function (index, renderedRow) {\n var rowNode = renderedRow.getRowNode();\n if (rowNodes.indexOf(rowNode) >= 0) {\n result.push(index);\n }\n });\n return result;\n };\n RowRenderer.prototype.redrawRows = function (rowNodes) {\n // if no row nodes provided, then refresh everything\n var partialRefresh = rowNodes != null && rowNodes.length > 0;\n if (partialRefresh) {\n var indexesToRemove = this.getRenderedIndexesForRowNodes(rowNodes);\n // remove the rows\n this.removeRowCtrls(indexesToRemove);\n }\n // add draw them again\n this.redrawAfterModelUpdate({\n recycleRows: partialRefresh\n });\n };\n RowRenderer.prototype.getCellToRestoreFocusToAfterRefresh = function (params) {\n var _a;\n var focusedCell = ((_a = params) === null || _a === void 0 ? void 0 : _a.suppressKeepFocus) ? null : this.focusService.getFocusCellToUseAfterRefresh();\n if (focusedCell == null) {\n return null;\n }\n // if the dom is not actually focused on a cell, then we don't try to refocus. the problem this\n // solves is with editing - if the user is editing, eg focus is on a text field, and not on the\n // cell itself, then the cell can be registered as having focus, however it's the text field that\n // has the focus and not the cell div. therefore, when the refresh is finished, the grid will focus\n // the cell, and not the textfield. that means if the user is in a text field, and the grid refreshes,\n // the focus is lost from the text field. we do not want this.\n var eDocument = this.gridOptionsWrapper.getDocument();\n var activeElement = eDocument.activeElement;\n var cellDomData = this.gridOptionsWrapper.getDomData(activeElement, CellCtrl.DOM_DATA_KEY_CELL_CTRL);\n var rowDomData = this.gridOptionsWrapper.getDomData(activeElement, RowCtrl.DOM_DATA_KEY_ROW_CTRL);\n var gridElementFocused = cellDomData || rowDomData;\n return gridElementFocused ? focusedCell : null;\n };\n // gets called from:\n // +) initialisation (in registerGridComp) params = null\n // +) onDomLayoutChanged, params = null\n // +) onPageLoaded, recycleRows, animate, newData, newPage from event, onlyBody=true\n // +) onPinnedRowDataChanged, recycleRows = true\n // +) redrawRows (from Grid API), recycleRows = true/false\n RowRenderer.prototype.redrawAfterModelUpdate = function (params) {\n if (params === void 0) { params = {}; }\n this.getLockOnRefresh();\n var focusedCell = this.getCellToRestoreFocusToAfterRefresh(params);\n this.updateContainerHeights();\n this.scrollToTopIfNewData(params);\n // never recycle rows when print layout, we draw each row again from scratch. this is because print layout\n // uses normal dom layout to put cells into dom - it doesn't allow reordering rows.\n var recycleRows = !this.printLayout && !!params.recycleRows;\n var animate = params.animate && this.gridOptionsWrapper.isAnimateRows();\n // after modelUpdate, row indexes can change, so we clear out the rowsByIndex map,\n // however we can reuse the rows, so we keep them but index by rowNode.id\n var rowsToRecycle = recycleRows ? this.recycleRows() : null;\n if (!recycleRows) {\n this.removeAllRowComps();\n }\n var isFocusedCellGettingRecycled = function () {\n if (focusedCell == null || rowsToRecycle == null) {\n return false;\n }\n var res = false;\n iterateObject(rowsToRecycle, function (key, rowComp) {\n var rowNode = rowComp.getRowNode();\n var rowIndexEqual = rowNode.rowIndex == focusedCell.rowIndex;\n var pinnedEqual = rowNode.rowPinned == focusedCell.rowPinned;\n if (rowIndexEqual && pinnedEqual) {\n res = true;\n }\n });\n return res;\n };\n var focusedCellRecycled = isFocusedCellGettingRecycled();\n this.redraw(rowsToRecycle, animate);\n this.gridBodyCtrl.updateRowCount();\n if (!params.onlyBody) {\n this.refreshFloatingRowComps();\n }\n this.dispatchDisplayedRowsChanged();\n // if we focus a cell that's already focused, then we get an unnecessary 'cellFocused' event fired.\n // this was happening when user clicked 'expand' on a rowGroup, then cellFocused was getting fired twice.\n if (!focusedCellRecycled) {\n this.restoreFocusedCell(focusedCell);\n }\n this.releaseLockOnRefresh();\n };\n RowRenderer.prototype.scrollToTopIfNewData = function (params) {\n var scrollToTop = params.newData || params.newPage;\n var suppressScrollToTop = this.gridOptionsWrapper.isSuppressScrollOnNewData();\n if (scrollToTop && !suppressScrollToTop) {\n this.gridBodyCtrl.getScrollFeature().scrollToTop();\n }\n };\n RowRenderer.prototype.updateContainerHeights = function () {\n // when doing print layout, we don't explicitly set height on the containers\n if (this.printLayout) {\n this.rowContainerHeightService.setModelHeight(null);\n return;\n }\n var containerHeight = this.paginationProxy.getCurrentPageHeight();\n // we need at least 1 pixel for the horizontal scroll to work. so if there are now rows,\n // we still want the scroll to be present, otherwise there would be no way to scroll the header\n // which might be needed us user wants to access columns\n // on the RHS - and if that was where the filter was that cause no rows to be presented, there\n // is no way to remove the filter.\n if (containerHeight === 0) {\n containerHeight = 1;\n }\n this.rowContainerHeightService.setModelHeight(containerHeight);\n };\n RowRenderer.prototype.getLockOnRefresh = function () {\n if (this.refreshInProgress) {\n throw new Error(\"AG Grid: cannot get grid to draw rows when it is in the middle of drawing rows. \" +\n \"Your code probably called a grid API method while the grid was in the render stage. To overcome \" +\n \"this, put the API call into a timeout, e.g. instead of api.redrawRows(), \" +\n \"call setTimeout(function() { api.redrawRows(); }, 0). To see what part of your code \" +\n \"that caused the refresh check this stacktrace.\");\n }\n this.refreshInProgress = true;\n };\n RowRenderer.prototype.releaseLockOnRefresh = function () {\n this.refreshInProgress = false;\n };\n RowRenderer.prototype.isRefreshInProgress = function () {\n return this.refreshInProgress;\n };\n // sets the focus to the provided cell, if the cell is provided. this way, the user can call refresh without\n // worry about the focus been lost. this is important when the user is using keyboard navigation to do edits\n // and the cellEditor is calling 'refresh' to get other cells to update (as other cells might depend on the\n // edited cell).\n RowRenderer.prototype.restoreFocusedCell = function (cellPosition) {\n if (cellPosition) {\n this.focusService.setFocusedCell({\n rowIndex: cellPosition.rowIndex,\n column: cellPosition.column,\n rowPinned: cellPosition.rowPinned,\n forceBrowserFocus: true,\n preventScrollOnBrowserFocus: true\n });\n }\n };\n RowRenderer.prototype.stopEditing = function (cancel) {\n if (cancel === void 0) { cancel = false; }\n this.getAllRowCtrls().forEach(function (rowCtrl) {\n rowCtrl.stopEditing(cancel);\n });\n };\n RowRenderer.prototype.getAllCellCtrls = function () {\n var res = [];\n this.getAllRowCtrls().forEach(function (rowCtrl) { return res = res.concat(rowCtrl.getAllCellCtrls()); });\n return res;\n };\n RowRenderer.prototype.getAllRowCtrls = function () {\n var _this = this;\n var stickyRowCtrls = (this.stickyRowFeature && this.stickyRowFeature.getStickyRowCtrls()) || [];\n var res = __spread$8(this.topRowCtrls, this.bottomRowCtrls, stickyRowCtrls);\n Object.keys(this.rowCtrlsByRowIndex).forEach(function (key) { return res.push(_this.rowCtrlsByRowIndex[key]); });\n return res;\n };\n RowRenderer.prototype.addRenderedRowListener = function (eventName, rowIndex, callback) {\n var rowComp = this.rowCtrlsByRowIndex[rowIndex];\n if (rowComp) {\n rowComp.addEventListener(eventName, callback);\n }\n };\n RowRenderer.prototype.flashCells = function (params) {\n if (params === void 0) { params = {}; }\n var flashDelay = params.flashDelay, fadeDelay = params.fadeDelay;\n this.getCellCtrls(params.rowNodes, params.columns)\n .forEach(function (cellCtrl) { return cellCtrl.flashCell({ flashDelay: flashDelay, fadeDelay: fadeDelay }); });\n };\n RowRenderer.prototype.refreshCells = function (params) {\n if (params === void 0) { params = {}; }\n var refreshCellParams = {\n forceRefresh: params.force,\n newData: false,\n suppressFlash: params.suppressFlash\n };\n this.getCellCtrls(params.rowNodes, params.columns)\n .forEach(function (cellCtrl) {\n if (cellCtrl.refreshShouldDestroy()) {\n var rowCtrl = cellCtrl.getRowCtrl();\n if (rowCtrl) {\n rowCtrl.refreshCell(cellCtrl);\n }\n }\n else {\n cellCtrl.refreshCell(refreshCellParams);\n }\n });\n this.getFullWidthRowCtrls(params.rowNodes).forEach(function (fullWidthRowCtrl) {\n fullWidthRowCtrl.refreshFullWidth();\n });\n };\n RowRenderer.prototype.getCellRendererInstances = function (params) {\n var res = this.getCellCtrls(params.rowNodes, params.columns)\n .map(function (cellCtrl) { return cellCtrl.getCellRenderer(); })\n .filter(function (renderer) { return renderer != null; });\n return res;\n };\n RowRenderer.prototype.getCellEditorInstances = function (params) {\n var res = [];\n this.getCellCtrls(params.rowNodes, params.columns).forEach(function (cellCtrl) {\n var cellEditor = cellCtrl.getCellEditor();\n if (cellEditor) {\n res.push(cellEditor);\n }\n });\n return res;\n };\n RowRenderer.prototype.getEditingCells = function () {\n var res = [];\n this.getAllCellCtrls().forEach(function (cellCtrl) {\n if (cellCtrl.isEditing()) {\n var cellPosition = cellCtrl.getCellPosition();\n res.push(cellPosition);\n }\n });\n return res;\n };\n RowRenderer.prototype.mapRowNodes = function (rowNodes) {\n if (!rowNodes) {\n return;\n }\n var res = {\n top: {},\n bottom: {},\n normal: {}\n };\n rowNodes.forEach(function (rowNode) {\n var id = rowNode.id;\n if (rowNode.rowPinned === Constants.PINNED_TOP) {\n res.top[id] = rowNode;\n }\n else if (rowNode.rowPinned === Constants.PINNED_BOTTOM) {\n res.bottom[id] = rowNode;\n }\n else {\n res.normal[id] = rowNode;\n }\n });\n return res;\n };\n RowRenderer.prototype.isRowInMap = function (rowNode, rowIdsMap) {\n // skip this row if it is missing from the provided list\n var id = rowNode.id;\n var floating = rowNode.rowPinned;\n if (floating === Constants.PINNED_BOTTOM) {\n return rowIdsMap.bottom[id] != null;\n }\n if (floating === Constants.PINNED_TOP) {\n return rowIdsMap.top[id] != null;\n }\n return rowIdsMap.normal[id] != null;\n };\n // returns CellCtrl's that match the provided rowNodes and columns. eg if one row node\n // and two columns provided, that identifies 4 cells, so 4 CellCtrl's returned.\n RowRenderer.prototype.getCellCtrls = function (rowNodes, columns) {\n var _this = this;\n var rowIdsMap = this.mapRowNodes(rowNodes);\n var res = [];\n var colIdsMap;\n if (exists(columns)) {\n colIdsMap = {};\n columns.forEach(function (colKey) {\n var column = _this.columnModel.getGridColumn(colKey);\n if (exists(column)) {\n colIdsMap[column.getId()] = true;\n }\n });\n }\n var processRow = function (rowComp) {\n var rowNode = rowComp.getRowNode();\n // skip this row if it is missing from the provided list\n if (rowIdsMap != null && !_this.isRowInMap(rowNode, rowIdsMap)) {\n return;\n }\n rowComp.getAllCellCtrls().forEach(function (cellCtrl) {\n var colId = cellCtrl.getColumn().getId();\n var excludeColFromRefresh = colIdsMap && !colIdsMap[colId];\n if (excludeColFromRefresh) {\n return;\n }\n res.push(cellCtrl);\n });\n };\n iterateObject(this.rowCtrlsByRowIndex, function (index, rowComp) {\n processRow(rowComp);\n });\n if (this.topRowCtrls) {\n this.topRowCtrls.forEach(processRow);\n }\n if (this.bottomRowCtrls) {\n this.bottomRowCtrls.forEach(processRow);\n }\n return res;\n };\n RowRenderer.prototype.destroy = function () {\n this.removeAllRowComps();\n _super.prototype.destroy.call(this);\n };\n RowRenderer.prototype.removeAllRowComps = function () {\n var rowIndexesToRemove = Object.keys(this.rowCtrlsByRowIndex);\n this.removeRowCtrls(rowIndexesToRemove);\n };\n RowRenderer.prototype.recycleRows = function () {\n // remove all stub nodes, they can't be reused, as no rowNode id\n var stubNodeIndexes = [];\n iterateObject(this.rowCtrlsByRowIndex, function (index, rowComp) {\n var stubNode = rowComp.getRowNode().id == null;\n if (stubNode) {\n stubNodeIndexes.push(index);\n }\n });\n this.removeRowCtrls(stubNodeIndexes);\n // then clear out rowCompsByIndex, but before that take a copy, but index by id, not rowIndex\n var ctrlsByIdMap = {};\n iterateObject(this.rowCtrlsByRowIndex, function (index, rowComp) {\n var rowNode = rowComp.getRowNode();\n ctrlsByIdMap[rowNode.id] = rowComp;\n });\n this.rowCtrlsByRowIndex = {};\n return ctrlsByIdMap;\n };\n // takes array of row indexes\n RowRenderer.prototype.removeRowCtrls = function (rowsToRemove) {\n var _this = this;\n // if no fromIndex then set to -1, which will refresh everything\n // let realFromIndex = -1;\n rowsToRemove.forEach(function (indexToRemove) {\n var rowCtrl = _this.rowCtrlsByRowIndex[indexToRemove];\n if (rowCtrl) {\n rowCtrl.destroyFirstPass();\n rowCtrl.destroySecondPass();\n }\n delete _this.rowCtrlsByRowIndex[indexToRemove];\n });\n };\n // gets called when rows don't change, but viewport does, so after:\n // 1) height of grid body changes, ie number of displayed rows has changed\n // 2) grid scrolled to new position\n // 3) ensure index visible (which is a scroll)\n RowRenderer.prototype.redrawAfterScroll = function () {\n var cellFocused;\n // only try to refocus cells shifting in and out of sticky container\n // if the browser supports focus ({ preventScroll })\n if (this.stickyRowFeature && browserSupportsPreventScroll()) {\n cellFocused = this.getCellToRestoreFocusToAfterRefresh() || undefined;\n }\n this.getLockOnRefresh();\n this.redraw(null, false, true);\n this.releaseLockOnRefresh();\n this.dispatchDisplayedRowsChanged();\n if (cellFocused != null) {\n var newFocusedCell = this.getCellToRestoreFocusToAfterRefresh();\n if (cellFocused != null && newFocusedCell == null) {\n this.animationFrameService.flushAllFrames();\n this.restoreFocusedCell(cellFocused);\n }\n }\n };\n RowRenderer.prototype.removeRowCompsNotToDraw = function (indexesToDraw) {\n // for speedy lookup, dump into map\n var indexesToDrawMap = {};\n indexesToDraw.forEach(function (index) { return (indexesToDrawMap[index] = true); });\n var existingIndexes = Object.keys(this.rowCtrlsByRowIndex);\n var indexesNotToDraw = existingIndexes.filter(function (index) { return !indexesToDrawMap[index]; });\n this.removeRowCtrls(indexesNotToDraw);\n };\n RowRenderer.prototype.calculateIndexesToDraw = function (rowsToRecycle) {\n var _this = this;\n // all in all indexes in the viewport\n var indexesToDraw = createArrayOfNumbers(this.firstRenderedRow, this.lastRenderedRow);\n var checkRowToDraw = function (indexStr, rowComp) {\n var index = rowComp.getRowNode().rowIndex;\n if (index == null) {\n return;\n }\n if (index < _this.firstRenderedRow || index > _this.lastRenderedRow) {\n if (_this.doNotUnVirtualiseRow(rowComp)) {\n indexesToDraw.push(index);\n }\n }\n };\n // if we are redrawing due to scrolling change, then old rows are in this.rowCompsByIndex\n iterateObject(this.rowCtrlsByRowIndex, checkRowToDraw);\n // if we are redrawing due to model update, then old rows are in rowsToRecycle\n iterateObject(rowsToRecycle, checkRowToDraw);\n indexesToDraw.sort(function (a, b) { return a - b; });\n indexesToDraw = indexesToDraw.filter(function (index) {\n var rowNode = _this.paginationProxy.getRow(index);\n return rowNode && !rowNode.sticky;\n });\n return indexesToDraw;\n };\n RowRenderer.prototype.redraw = function (rowsToRecycle, animate, afterScroll) {\n var _this = this;\n if (animate === void 0) { animate = false; }\n if (afterScroll === void 0) { afterScroll = false; }\n this.rowContainerHeightService.updateOffset();\n this.workOutFirstAndLastRowsToRender();\n if (this.stickyRowFeature) {\n this.stickyRowFeature.checkStickyRows();\n }\n // the row can already exist and be in the following:\n // rowsToRecycle -> if model change, then the index may be different, however row may\n // exist here from previous time (mapped by id).\n // this.rowCompsByIndex -> if just a scroll, then this will contain what is currently in the viewport\n // this is all the indexes we want, including those that already exist, so this method\n // will end up going through each index and drawing only if the row doesn't already exist\n var indexesToDraw = this.calculateIndexesToDraw(rowsToRecycle);\n this.removeRowCompsNotToDraw(indexesToDraw);\n // never animate when doing print layout - as we want to get things ready to print as quickly as possible,\n // otherwise we risk the printer printing a row that's half faded (half way through fading in)\n if (this.printLayout) {\n animate = false;\n }\n indexesToDraw.forEach(function (rowIndex) {\n var rowCtrl = _this.createOrUpdateRowCtrl(rowIndex, rowsToRecycle, animate, afterScroll);\n if (exists(rowCtrl)) ;\n });\n if (rowsToRecycle) {\n var useAnimationFrame = afterScroll && !this.gridOptionsWrapper.isSuppressAnimationFrame() && !this.printLayout;\n if (useAnimationFrame) {\n this.beans.animationFrameService.addDestroyTask(function () {\n _this.destroyRowCtrls(rowsToRecycle, animate);\n _this.updateAllRowCtrls();\n _this.dispatchDisplayedRowsChanged();\n });\n }\n else {\n this.destroyRowCtrls(rowsToRecycle, animate);\n }\n }\n this.updateAllRowCtrls();\n };\n RowRenderer.prototype.dispatchDisplayedRowsChanged = function () {\n var event = { type: Events.EVENT_DISPLAYED_ROWS_CHANGED };\n this.eventService.dispatchEvent(event);\n };\n RowRenderer.prototype.onDisplayedColumnsChanged = function () {\n var pinningLeft = this.columnModel.isPinningLeft();\n var pinningRight = this.columnModel.isPinningRight();\n var atLeastOneChanged = this.pinningLeft !== pinningLeft || pinningRight !== this.pinningRight;\n if (atLeastOneChanged) {\n this.pinningLeft = pinningLeft;\n this.pinningRight = pinningRight;\n if (this.embedFullWidthRows) {\n this.redrawFullWidthEmbeddedRows();\n }\n }\n };\n // when embedding, what gets showed in each section depends on what is pinned. eg if embedding group expand / collapse,\n // then it should go into the pinned left area if pinning left, or the center area if not pinning.\n RowRenderer.prototype.redrawFullWidthEmbeddedRows = function () {\n // if either of the pinned panels has shown / hidden, then need to redraw the fullWidth bits when\n // embedded, as what appears in each section depends on whether we are pinned or not\n var rowsToRemove = [];\n this.getFullWidthRowCtrls().forEach(function (fullWidthCtrl) {\n var rowIndex = fullWidthCtrl.getRowNode().rowIndex;\n rowsToRemove.push(rowIndex.toString());\n });\n this.refreshFloatingRowComps();\n this.removeRowCtrls(rowsToRemove);\n this.redrawAfterScroll();\n };\n RowRenderer.prototype.getFullWidthRowCtrls = function (rowNodes) {\n var _this = this;\n var rowNodesMap = this.mapRowNodes(rowNodes);\n return getAllValuesInObject(this.rowCtrlsByRowIndex).filter(function (rowCtrl) {\n // include just full width\n if (!rowCtrl.isFullWidth()) {\n return false;\n }\n // if Row Nodes provided, we exclude where Row Node is missing\n var rowNode = rowCtrl.getRowNode();\n if (rowNodesMap != null && !_this.isRowInMap(rowNode, rowNodesMap)) {\n return false;\n }\n return true;\n });\n };\n RowRenderer.prototype.refreshFullWidthRows = function (rowNodesToRefresh) {\n var rowsToRemove = [];\n var selectivelyRefreshing = !!rowNodesToRefresh;\n var idsToRefresh = selectivelyRefreshing ? {} : undefined;\n if (selectivelyRefreshing && idsToRefresh) {\n rowNodesToRefresh.forEach(function (r) { return idsToRefresh[r.id] = true; });\n }\n this.getFullWidthRowCtrls().forEach(function (fullWidthRowCtrl) {\n var rowNode = fullWidthRowCtrl.getRowNode();\n if (selectivelyRefreshing && idsToRefresh) {\n // we refresh if a) this node is present or b) this parents nodes is present. checking parent\n // node is important for master/detail, as we want detail to refresh on changes to parent node.\n // it's also possible, if user is provider their own fullWidth, that details panels contain\n // some info on the parent, eg if in tree data and child row shows some data from parent row also.\n var parentId = (rowNode.level > 0 && rowNode.parent) ? rowNode.parent.id : undefined;\n var skipThisNode = !idsToRefresh[rowNode.id] && !idsToRefresh[parentId];\n if (skipThisNode) {\n return;\n }\n }\n var fullWidthRowsRefreshed = fullWidthRowCtrl.refreshFullWidth();\n if (!fullWidthRowsRefreshed) {\n var rowIndex = fullWidthRowCtrl.getRowNode().rowIndex;\n rowsToRemove.push(rowIndex.toString());\n }\n });\n this.removeRowCtrls(rowsToRemove);\n this.redrawAfterScroll();\n };\n RowRenderer.prototype.createOrUpdateRowCtrl = function (rowIndex, rowsToRecycle, animate, afterScroll) {\n var rowNode;\n var rowCtrl = this.rowCtrlsByRowIndex[rowIndex];\n // if no row comp, see if we can get it from the previous rowComps\n if (!rowCtrl) {\n rowNode = this.paginationProxy.getRow(rowIndex);\n if (exists(rowNode) && exists(rowsToRecycle) && rowsToRecycle[rowNode.id] && rowNode.alreadyRendered) {\n rowCtrl = rowsToRecycle[rowNode.id];\n rowsToRecycle[rowNode.id] = null;\n }\n }\n var creatingNewRowCtrl = !rowCtrl;\n if (creatingNewRowCtrl) {\n // create a new one\n if (!rowNode) {\n rowNode = this.paginationProxy.getRow(rowIndex);\n }\n if (exists(rowNode)) {\n rowCtrl = this.createRowCon(rowNode, animate, afterScroll);\n }\n else {\n // this should never happen - if somehow we are trying to create\n // a row for a rowNode that does not exist.\n return;\n }\n }\n if (rowNode) {\n // set node as 'alreadyRendered' to ensure we only recycle rowComps that have been rendered, this ensures\n // we don't reuse rowComps that have been removed and then re-added in the same batch transaction.\n rowNode.alreadyRendered = true;\n }\n this.rowCtrlsByRowIndex[rowIndex] = rowCtrl;\n return rowCtrl;\n };\n RowRenderer.prototype.destroyRowCtrls = function (rowCtrlsMap, animate) {\n var _this = this;\n var executeInAWhileFuncs = [];\n iterateObject(rowCtrlsMap, function (nodeId, rowCtrl) {\n // if row was used, then it's null\n if (!rowCtrl) {\n return;\n }\n if (_this.cachedRowCtrls && rowCtrl.isCacheable()) {\n _this.cachedRowCtrls.addRow(rowCtrl);\n return;\n }\n rowCtrl.destroyFirstPass();\n if (animate) {\n _this.zombieRowCtrls[rowCtrl.getInstanceId()] = rowCtrl;\n executeInAWhileFuncs.push(function () {\n rowCtrl.destroySecondPass();\n delete _this.zombieRowCtrls[rowCtrl.getInstanceId()];\n });\n }\n else {\n rowCtrl.destroySecondPass();\n }\n });\n if (animate) {\n // this ensures we fire displayedRowsChanged AFTER all the 'executeInAWhileFuncs' get\n // executed, as we added it to the end of the list.\n executeInAWhileFuncs.push(function () {\n _this.updateAllRowCtrls();\n _this.dispatchDisplayedRowsChanged();\n });\n executeInAWhile(executeInAWhileFuncs);\n }\n };\n RowRenderer.prototype.workOutFirstAndLastRowsToRender = function () {\n var newFirst;\n var newLast;\n if (!this.paginationProxy.isRowsToRender()) {\n newFirst = 0;\n newLast = -1; // setting to -1 means nothing in range\n }\n else if (this.printLayout) {\n newFirst = this.paginationProxy.getPageFirstRow();\n newLast = this.paginationProxy.getPageLastRow();\n }\n else {\n var bufferPixels = this.gridOptionsWrapper.getRowBufferInPixels();\n var gridBodyCtrl = this.ctrlsService.getGridBodyCtrl();\n var suppressRowVirtualisation = this.gridOptionsWrapper.isSuppressRowVirtualisation();\n var rowHeightsChanged = false;\n var firstPixel = void 0;\n var lastPixel = void 0;\n do {\n var paginationOffset = this.paginationProxy.getPixelOffset();\n var _a = this.paginationProxy.getCurrentPagePixelRange(), pageFirstPixel = _a.pageFirstPixel, pageLastPixel = _a.pageLastPixel;\n var divStretchOffset = this.rowContainerHeightService.getDivStretchOffset();\n var bodyVRange = gridBodyCtrl.getScrollFeature().getVScrollPosition();\n var bodyTopPixel = bodyVRange.top;\n var bodyBottomPixel = bodyVRange.bottom;\n if (suppressRowVirtualisation) {\n firstPixel = pageFirstPixel + divStretchOffset;\n lastPixel = pageLastPixel + divStretchOffset;\n }\n else {\n firstPixel = Math.max(bodyTopPixel + paginationOffset - bufferPixels, pageFirstPixel) + divStretchOffset;\n lastPixel = Math.min(bodyBottomPixel + paginationOffset + bufferPixels, pageLastPixel) + divStretchOffset;\n }\n this.firstVisibleVPixel = Math.max(bodyTopPixel + paginationOffset, pageFirstPixel) + divStretchOffset;\n // if the rows we are about to display get their heights changed, then that upsets the calcs from above.\n rowHeightsChanged = this.ensureAllRowsInRangeHaveHeightsCalculated(firstPixel, lastPixel);\n } while (rowHeightsChanged);\n var firstRowIndex = this.paginationProxy.getRowIndexAtPixel(firstPixel);\n var lastRowIndex = this.paginationProxy.getRowIndexAtPixel(lastPixel);\n var pageFirstRow = this.paginationProxy.getPageFirstRow();\n var pageLastRow = this.paginationProxy.getPageLastRow();\n // adjust, in case buffer extended actual size\n if (firstRowIndex < pageFirstRow) {\n firstRowIndex = pageFirstRow;\n }\n if (lastRowIndex > pageLastRow) {\n lastRowIndex = pageLastRow;\n }\n newFirst = firstRowIndex;\n newLast = lastRowIndex;\n }\n // sometimes user doesn't set CSS right and ends up with grid with no height and grid ends up\n // trying to render all the rows, eg 10,000+ rows. this will kill the browser. so instead of\n // killing the browser, we limit the number of rows. just in case some use case we didn't think\n // of, we also have a property to not do this operation.\n var rowLayoutNormal = this.gridOptionsWrapper.getDomLayout() === Constants.DOM_LAYOUT_NORMAL;\n var suppressRowCountRestriction = this.gridOptionsWrapper.isSuppressMaxRenderedRowRestriction();\n var rowBufferMaxSize = Math.max(this.gridOptionsWrapper.getRowBuffer(), 500);\n if (rowLayoutNormal && !suppressRowCountRestriction) {\n if (newLast - newFirst > rowBufferMaxSize) {\n newLast = newFirst + rowBufferMaxSize;\n }\n }\n var firstDiffers = newFirst !== this.firstRenderedRow;\n var lastDiffers = newLast !== this.lastRenderedRow;\n if (firstDiffers || lastDiffers) {\n this.firstRenderedRow = newFirst;\n this.lastRenderedRow = newLast;\n var event_1 = {\n type: Events.EVENT_VIEWPORT_CHANGED,\n firstRow: newFirst,\n lastRow: newLast\n };\n this.eventService.dispatchEvent(event_1);\n }\n };\n /**\n * This event will only be fired once, and is queued until after the browser next renders.\n * This allows us to fire an event during the start of the render cycle, when we first see data being rendered\n * but not execute the event until all of the data has finished being rendered to the dom.\n */\n RowRenderer.prototype.dispatchFirstDataRenderedEvent = function () {\n var _this = this;\n if (this.dataFirstRenderedFired) {\n return;\n }\n this.dataFirstRenderedFired = true;\n var event = {\n type: Events.EVENT_FIRST_DATA_RENDERED,\n firstRow: this.firstRenderedRow,\n lastRow: this.lastRenderedRow,\n };\n // See AG-7018\n window.requestAnimationFrame(function () {\n _this.beans.eventService.dispatchEvent(event);\n });\n };\n RowRenderer.prototype.ensureAllRowsInRangeHaveHeightsCalculated = function (topPixel, bottomPixel) {\n // ensureRowHeightsVisible only works with CSRM, as it's the only row model that allows lazy row height calcs.\n // all the other row models just hard code so the method just returns back false\n var res = this.paginationProxy.ensureRowHeightsValid(topPixel, bottomPixel, -1, -1);\n if (res) {\n this.updateContainerHeights();\n }\n return res;\n };\n RowRenderer.prototype.getFirstVisibleVerticalPixel = function () {\n return this.firstVisibleVPixel;\n };\n RowRenderer.prototype.getFirstVirtualRenderedRow = function () {\n return this.firstRenderedRow;\n };\n RowRenderer.prototype.getLastVirtualRenderedRow = function () {\n return this.lastRenderedRow;\n };\n // check that none of the rows to remove are editing or focused as:\n // a) if editing, we want to keep them, otherwise the user will loose the context of the edit,\n // eg user starts editing, enters some text, then scrolls down and then up, next time row rendered\n // the edit is reset - so we want to keep it rendered.\n // b) if focused, we want ot keep keyboard focus, so if user ctrl+c, it goes to clipboard,\n // otherwise the user can range select and drag (with focus cell going out of the viewport)\n // and then ctrl+c, nothing will happen if cell is removed from dom.\n // c) if detail record of master detail, as users complained that the context of detail rows\n // was getting lost when detail row out of view. eg user expands to show detail row,\n // then manipulates the detail panel (eg sorts the detail grid), then context is lost\n // after detail panel is scrolled out of / into view.\n RowRenderer.prototype.doNotUnVirtualiseRow = function (rowComp) {\n var REMOVE_ROW = false;\n var KEEP_ROW = true;\n var rowNode = rowComp.getRowNode();\n var rowHasFocus = this.focusService.isRowNodeFocused(rowNode);\n var rowIsEditing = rowComp.isEditing();\n var rowIsDetail = rowNode.detail;\n var mightWantToKeepRow = rowHasFocus || rowIsEditing || rowIsDetail;\n // if we deffo don't want to keep it,\n if (!mightWantToKeepRow) {\n return REMOVE_ROW;\n }\n // editing row, only remove if it is no longer rendered, eg filtered out or new data set.\n // the reason we want to keep is if user is scrolling up and down, we don't want to loose\n // the context of the editing in process.\n var rowNodePresent = this.paginationProxy.isRowPresent(rowNode);\n return rowNodePresent ? KEEP_ROW : REMOVE_ROW;\n };\n RowRenderer.prototype.createRowCon = function (rowNode, animate, afterScroll) {\n var rowCtrlFromCache = this.cachedRowCtrls ? this.cachedRowCtrls.getRow(rowNode) : null;\n if (rowCtrlFromCache) {\n return rowCtrlFromCache;\n }\n // we don't use animations frames for printing, so the user can put the grid into print mode\n // and immediately print - otherwise the user would have to wait for the rows to draw in the background\n // (via the animation frames) which is awkward to do from code.\n // we only do the animation frames after scrolling, as this is where we want the smooth user experience.\n // having animation frames for other times makes the grid look 'jumpy'.\n var suppressAnimationFrame = this.gridOptionsWrapper.isSuppressAnimationFrame();\n var useAnimationFrameForCreate = afterScroll && !suppressAnimationFrame && !this.printLayout;\n var res = new RowCtrl(rowNode, this.beans, animate, useAnimationFrameForCreate, this.printLayout);\n return res;\n };\n RowRenderer.prototype.getRenderedNodes = function () {\n var renderedRows = this.rowCtrlsByRowIndex;\n return Object.keys(renderedRows).map(function (key) { return renderedRows[key].getRowNode(); });\n };\n RowRenderer.prototype.getRowByPosition = function (rowPosition) {\n var rowCtrl;\n var rowIndex = rowPosition.rowIndex;\n switch (rowPosition.rowPinned) {\n case Constants.PINNED_TOP:\n rowCtrl = this.topRowCtrls[rowIndex];\n break;\n case Constants.PINNED_BOTTOM:\n rowCtrl = this.bottomRowCtrls[rowIndex];\n break;\n default:\n rowCtrl = this.rowCtrlsByRowIndex[rowIndex];\n if (!rowCtrl) {\n rowCtrl = this.getStickyTopRowCtrls().find(function (ctrl) { return ctrl.getRowNode().rowIndex === rowIndex; }) || null;\n }\n break;\n }\n return rowCtrl;\n };\n RowRenderer.prototype.getRowNode = function (gridRow) {\n switch (gridRow.rowPinned) {\n case Constants.PINNED_TOP:\n return this.pinnedRowModel.getPinnedTopRowData()[gridRow.rowIndex];\n case Constants.PINNED_BOTTOM:\n return this.pinnedRowModel.getPinnedBottomRowData()[gridRow.rowIndex];\n default:\n return this.rowModel.getRow(gridRow.rowIndex);\n }\n };\n // returns true if any row between startIndex and endIndex is rendered. used by\n // SSRM or IRM, as they don't want to purge visible blocks from cache.\n RowRenderer.prototype.isRangeInRenderedViewport = function (startIndex, endIndex) {\n // parent closed means the parent node is not expanded, thus these blocks are not visible\n var parentClosed = startIndex == null || endIndex == null;\n if (parentClosed) {\n return false;\n }\n var blockAfterViewport = startIndex > this.lastRenderedRow;\n var blockBeforeViewport = endIndex < this.firstRenderedRow;\n var blockInsideViewport = !blockBeforeViewport && !blockAfterViewport;\n return blockInsideViewport;\n };\n __decorate$13([\n Autowired(\"animationFrameService\")\n ], RowRenderer.prototype, \"animationFrameService\", void 0);\n __decorate$13([\n Autowired(\"paginationProxy\")\n ], RowRenderer.prototype, \"paginationProxy\", void 0);\n __decorate$13([\n Autowired(\"columnModel\")\n ], RowRenderer.prototype, \"columnModel\", void 0);\n __decorate$13([\n Autowired(\"pinnedRowModel\")\n ], RowRenderer.prototype, \"pinnedRowModel\", void 0);\n __decorate$13([\n Autowired(\"rowModel\")\n ], RowRenderer.prototype, \"rowModel\", void 0);\n __decorate$13([\n Autowired(\"focusService\")\n ], RowRenderer.prototype, \"focusService\", void 0);\n __decorate$13([\n Autowired(\"beans\")\n ], RowRenderer.prototype, \"beans\", void 0);\n __decorate$13([\n Autowired(\"rowContainerHeightService\")\n ], RowRenderer.prototype, \"rowContainerHeightService\", void 0);\n __decorate$13([\n Autowired(\"ctrlsService\")\n ], RowRenderer.prototype, \"ctrlsService\", void 0);\n __decorate$13([\n PostConstruct\n ], RowRenderer.prototype, \"postConstruct\", null);\n RowRenderer = __decorate$13([\n Bean(\"rowRenderer\")\n ], RowRenderer);\n return RowRenderer;\n}(BeanStub));\nvar RowCtrlCache = /** @class */ (function () {\n function RowCtrlCache(maxCount) {\n // map for fast access\n this.entriesMap = {};\n // list for keeping order\n this.entriesList = [];\n this.maxCount = maxCount;\n }\n RowCtrlCache.prototype.addRow = function (rowCtrl) {\n this.entriesMap[rowCtrl.getRowNode().id] = rowCtrl;\n this.entriesList.push(rowCtrl);\n rowCtrl.setCached(true);\n if (this.entriesList.length > this.maxCount) {\n var rowCtrlToDestroy = this.entriesList[0];\n rowCtrlToDestroy.destroyFirstPass();\n rowCtrlToDestroy.destroySecondPass();\n this.removeFromCache(rowCtrlToDestroy);\n }\n };\n RowCtrlCache.prototype.getRow = function (rowNode) {\n if (rowNode == null || rowNode.id == null) {\n return null;\n }\n var res = this.entriesMap[rowNode.id];\n if (!res) {\n return null;\n }\n this.removeFromCache(res);\n res.setCached(false);\n // this can happen if user reloads data, and a new RowNode is reusing\n // the same ID as the old one\n var rowNodeMismatch = res.getRowNode() != rowNode;\n return rowNodeMismatch ? null : res;\n };\n RowCtrlCache.prototype.removeFromCache = function (rowCtrl) {\n var rowNodeId = rowCtrl.getRowNode().id;\n delete this.entriesMap[rowNodeId];\n removeFromArray(this.entriesList, rowCtrl);\n };\n RowCtrlCache.prototype.getEntries = function () {\n return this.entriesList;\n };\n return RowCtrlCache;\n}());\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$19 = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$12 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar ValueFormatterService = /** @class */ (function (_super) {\n __extends$19(ValueFormatterService, _super);\n function ValueFormatterService() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ValueFormatterService.prototype.formatValue = function (column, node, value, suppliedFormatter, useFormatterFromColumn) {\n if (useFormatterFromColumn === void 0) { useFormatterFromColumn = true; }\n var result = null;\n var formatter;\n var colDef = column.getColDef();\n if (suppliedFormatter) {\n // use supplied formatter if provided, e.g. set filter items can have their own value formatters\n formatter = suppliedFormatter;\n }\n else if (useFormatterFromColumn) {\n // if row is pinned, give preference to the pinned formatter\n formatter = node && node.rowPinned && colDef.pinnedRowValueFormatter ?\n colDef.pinnedRowValueFormatter : colDef.valueFormatter;\n }\n if (formatter) {\n var params = {\n value: value,\n node: node,\n data: node ? node.data : null,\n colDef: colDef,\n column: column,\n api: this.gridOptionsWrapper.getApi(),\n columnApi: this.gridOptionsWrapper.getColumnApi(),\n context: this.gridOptionsWrapper.getContext()\n };\n result = this.expressionService.evaluate(formatter, params);\n }\n else if (colDef.refData) {\n return colDef.refData[value] || '';\n }\n // if we don't do this, then arrays get displayed as 1,2,3, but we want 1, 2, 3 (i.e. with spaces)\n if (result == null && Array.isArray(value)) {\n result = value.join(', ');\n }\n return result;\n };\n __decorate$12([\n Autowired('expressionService')\n ], ValueFormatterService.prototype, \"expressionService\", void 0);\n ValueFormatterService = __decorate$12([\n Bean('valueFormatterService')\n ], ValueFormatterService);\n return ValueFormatterService;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$18 = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$11 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar PinnedRowModel = /** @class */ (function (_super) {\n __extends$18(PinnedRowModel, _super);\n function PinnedRowModel() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n PinnedRowModel.prototype.init = function () {\n this.setPinnedTopRowData(this.gridOptionsWrapper.getPinnedTopRowData());\n this.setPinnedBottomRowData(this.gridOptionsWrapper.getPinnedBottomRowData());\n };\n PinnedRowModel.prototype.isEmpty = function (floating) {\n var rows = floating === Constants.PINNED_TOP ? this.pinnedTopRows : this.pinnedBottomRows;\n return missingOrEmpty(rows);\n };\n PinnedRowModel.prototype.isRowsToRender = function (floating) {\n return !this.isEmpty(floating);\n };\n PinnedRowModel.prototype.getRowAtPixel = function (pixel, floating) {\n var rows = floating === Constants.PINNED_TOP ? this.pinnedTopRows : this.pinnedBottomRows;\n if (missingOrEmpty(rows)) {\n return 0; // this should never happen, just in case, 0 is graceful failure\n }\n for (var i = 0; i < rows.length; i++) {\n var rowNode = rows[i];\n var rowTopPixel = rowNode.rowTop + rowNode.rowHeight - 1;\n // only need to range check against the top pixel, as we are going through the list\n // in order, first row to hit the pixel wins\n if (rowTopPixel >= pixel) {\n return i;\n }\n }\n return rows.length - 1;\n };\n PinnedRowModel.prototype.setPinnedTopRowData = function (rowData) {\n this.pinnedTopRows = this.createNodesFromData(rowData, true);\n var event = {\n type: Events.EVENT_PINNED_ROW_DATA_CHANGED\n };\n this.eventService.dispatchEvent(event);\n };\n PinnedRowModel.prototype.setPinnedBottomRowData = function (rowData) {\n this.pinnedBottomRows = this.createNodesFromData(rowData, false);\n var event = {\n type: Events.EVENT_PINNED_ROW_DATA_CHANGED\n };\n this.eventService.dispatchEvent(event);\n };\n PinnedRowModel.prototype.createNodesFromData = function (allData, isTop) {\n var _this = this;\n var rowNodes = [];\n if (allData) {\n var nextRowTop_1 = 0;\n allData.forEach(function (dataItem, index) {\n var rowNode = new RowNode(_this.beans);\n rowNode.data = dataItem;\n var idPrefix = isTop ? RowNode.ID_PREFIX_TOP_PINNED : RowNode.ID_PREFIX_BOTTOM_PINNED;\n rowNode.id = idPrefix + index;\n rowNode.rowPinned = isTop ? Constants.PINNED_TOP : Constants.PINNED_BOTTOM;\n rowNode.setRowTop(nextRowTop_1);\n rowNode.setRowHeight(_this.gridOptionsWrapper.getRowHeightForNode(rowNode).height);\n rowNode.setRowIndex(index);\n nextRowTop_1 += rowNode.rowHeight;\n rowNodes.push(rowNode);\n });\n }\n return rowNodes;\n };\n PinnedRowModel.prototype.getPinnedTopRowData = function () {\n return this.pinnedTopRows;\n };\n PinnedRowModel.prototype.getPinnedBottomRowData = function () {\n return this.pinnedBottomRows;\n };\n PinnedRowModel.prototype.getPinnedTopTotalHeight = function () {\n return this.getTotalHeight(this.pinnedTopRows);\n };\n PinnedRowModel.prototype.getPinnedTopRowCount = function () {\n return this.pinnedTopRows ? this.pinnedTopRows.length : 0;\n };\n PinnedRowModel.prototype.getPinnedBottomRowCount = function () {\n return this.pinnedBottomRows ? this.pinnedBottomRows.length : 0;\n };\n PinnedRowModel.prototype.getPinnedTopRow = function (index) {\n return this.pinnedTopRows[index];\n };\n PinnedRowModel.prototype.getPinnedBottomRow = function (index) {\n return this.pinnedBottomRows[index];\n };\n PinnedRowModel.prototype.forEachPinnedTopRow = function (callback) {\n if (missingOrEmpty(this.pinnedTopRows)) {\n return;\n }\n this.pinnedTopRows.forEach(callback);\n };\n PinnedRowModel.prototype.forEachPinnedBottomRow = function (callback) {\n if (missingOrEmpty(this.pinnedBottomRows)) {\n return;\n }\n this.pinnedBottomRows.forEach(callback);\n };\n PinnedRowModel.prototype.getPinnedBottomTotalHeight = function () {\n return this.getTotalHeight(this.pinnedBottomRows);\n };\n PinnedRowModel.prototype.getTotalHeight = function (rowNodes) {\n if (!rowNodes || rowNodes.length === 0) {\n return 0;\n }\n var lastNode = last(rowNodes);\n return lastNode.rowTop + lastNode.rowHeight;\n };\n __decorate$11([\n Autowired('beans')\n ], PinnedRowModel.prototype, \"beans\", void 0);\n __decorate$11([\n PostConstruct\n ], PinnedRowModel.prototype, \"init\", null);\n PinnedRowModel = __decorate$11([\n Bean('pinnedRowModel')\n ], PinnedRowModel);\n return PinnedRowModel;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar ServerSideTransactionResultStatus;\n(function (ServerSideTransactionResultStatus) {\n /** Transaction was successfully applied */\n ServerSideTransactionResultStatus[\"Applied\"] = \"Applied\";\n /**\n * Store was not found, transaction not applied.\n * Either invalid route, or the parent row has not yet been expanded.\n */\n ServerSideTransactionResultStatus[\"StoreNotFound\"] = \"StoreNotFound\";\n /**\n * Store is loading, transaction not applied.\n */\n ServerSideTransactionResultStatus[\"StoreLoading\"] = \"StoreLoading\";\n /**\n * Store is loading (as max loads exceeded), transaction not applied.\n */\n ServerSideTransactionResultStatus[\"StoreWaitingToLoad\"] = \"StoreWaitingToLoad\";\n /**\n * Store load attempt failed, transaction not applied.\n */\n ServerSideTransactionResultStatus[\"StoreLoadingFailed\"] = \"StoreLoadingFailed\";\n /**\n * Store is type Partial, which doesn't accept transactions\n */\n ServerSideTransactionResultStatus[\"StoreWrongType\"] = \"StoreWrongType\";\n /**\n * Transaction was cancelled, due to grid.\n * Callback isApplyServerSideTransaction() returning false\n */\n ServerSideTransactionResultStatus[\"Cancelled\"] = \"Cancelled\";\n})(ServerSideTransactionResultStatus || (ServerSideTransactionResultStatus = {}));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\n// when doing transactions, or change detection, and grouping is present\n// in the data, there is no need for the ClientSideRowModel to update each\n// group after an update, ony parts that were impacted by the change.\n// this class keeps track of all groups that were impacted by a transaction.\n// the the different CSRM operations (filter, sort etc) use the forEach method\n// to visit each group that was changed.\nvar ChangedPath = /** @class */ (function () {\n function ChangedPath(keepingColumns, rootNode) {\n // whether changed path is active of not. it is active when a) doing\n // a transaction update or b) doing change detection. if we are doing\n // a CSRM refresh for other reasons (after sort or filter, or user calling\n // setRowData() without delta mode) then we are not active. we are also\n // marked as not active if secondary columns change in pivot (as this impacts\n // aggregations)\n this.active = true;\n // for each node in the change path, we also store which columns need\n // to be re-aggregated.\n this.nodeIdsToColumns = {};\n // for quick lookup, all items in the change path are mapped by nodeId\n this.mapToItems = {};\n this.keepingColumns = keepingColumns;\n this.pathRoot = {\n rowNode: rootNode,\n children: null\n };\n this.mapToItems[rootNode.id] = this.pathRoot;\n }\n // can be set inactive by:\n // a) ClientSideRowModel, if no transactions or\n // b) PivotService, if secondary columns changed\n ChangedPath.prototype.setInactive = function () {\n this.active = false;\n };\n ChangedPath.prototype.isActive = function () {\n return this.active;\n };\n ChangedPath.prototype.depthFirstSearchChangedPath = function (pathItem, callback) {\n if (pathItem.children) {\n for (var i = 0; i < pathItem.children.length; i++) {\n this.depthFirstSearchChangedPath(pathItem.children[i], callback);\n }\n }\n callback(pathItem.rowNode);\n };\n ChangedPath.prototype.depthFirstSearchEverything = function (rowNode, callback, traverseEverything) {\n if (rowNode.childrenAfterGroup) {\n for (var i = 0; i < rowNode.childrenAfterGroup.length; i++) {\n var childNode = rowNode.childrenAfterGroup[i];\n if (childNode.childrenAfterGroup) {\n this.depthFirstSearchEverything(rowNode.childrenAfterGroup[i], callback, traverseEverything);\n }\n else if (traverseEverything) {\n callback(childNode);\n }\n }\n }\n callback(rowNode);\n };\n // traverseLeafNodes -> used when NOT doing changed path, ie traversing everything. the callback\n // will be called for child nodes in addition to parent nodes.\n ChangedPath.prototype.forEachChangedNodeDepthFirst = function (callback, traverseLeafNodes, includeUnchangedNodes) {\n if (traverseLeafNodes === void 0) { traverseLeafNodes = false; }\n if (includeUnchangedNodes === void 0) { includeUnchangedNodes = false; }\n if (this.active && !includeUnchangedNodes) {\n // if we are active, then use the change path to callback\n // only for updated groups\n this.depthFirstSearchChangedPath(this.pathRoot, callback);\n }\n else {\n // we are not active, so callback for everything, walk the entire path\n this.depthFirstSearchEverything(this.pathRoot.rowNode, callback, traverseLeafNodes);\n }\n };\n ChangedPath.prototype.executeFromRootNode = function (callback) {\n callback(this.pathRoot.rowNode);\n };\n ChangedPath.prototype.createPathItems = function (rowNode) {\n var pointer = rowNode;\n var newEntryCount = 0;\n while (!this.mapToItems[pointer.id]) {\n var newEntry = {\n rowNode: pointer,\n children: null\n };\n this.mapToItems[pointer.id] = newEntry;\n newEntryCount++;\n pointer = pointer.parent;\n }\n return newEntryCount;\n };\n ChangedPath.prototype.populateColumnsMap = function (rowNode, columns) {\n var _this = this;\n if (!this.keepingColumns || !columns) {\n return;\n }\n var pointer = rowNode;\n while (pointer) {\n // if columns, add the columns in all the way to parent, merging\n // in any other columns that might be there already\n if (!this.nodeIdsToColumns[pointer.id]) {\n this.nodeIdsToColumns[pointer.id] = {};\n }\n columns.forEach(function (col) { return _this.nodeIdsToColumns[pointer.id][col.getId()] = true; });\n pointer = pointer.parent;\n }\n };\n ChangedPath.prototype.linkPathItems = function (rowNode, newEntryCount) {\n var pointer = rowNode;\n for (var i = 0; i < newEntryCount; i++) {\n var thisItem = this.mapToItems[pointer.id];\n var parentItem = this.mapToItems[pointer.parent.id];\n if (!parentItem.children) {\n parentItem.children = [];\n }\n parentItem.children.push(thisItem);\n pointer = pointer.parent;\n }\n };\n // called by\n // 1) change detection (provides cols) and\n // 2) groupStage if doing transaction update (doesn't provide cols)\n ChangedPath.prototype.addParentNode = function (rowNode, columns) {\n if (!rowNode || rowNode.isRowPinned()) {\n return;\n }\n // we cannot do both steps below in the same loop as\n // the second loop has a dependency on the first loop.\n // ie the hierarchy cannot be stitched up yet because\n // we don't have it built yet\n // create the new PathItem objects.\n var newEntryCount = this.createPathItems(rowNode);\n // link in the node items\n this.linkPathItems(rowNode, newEntryCount);\n // update columns\n this.populateColumnsMap(rowNode, columns);\n };\n ChangedPath.prototype.canSkip = function (rowNode) {\n return this.active && !this.mapToItems[rowNode.id];\n };\n ChangedPath.prototype.getValueColumnsForNode = function (rowNode, valueColumns) {\n if (!this.keepingColumns) {\n return valueColumns;\n }\n var colsForThisNode = this.nodeIdsToColumns[rowNode.id];\n var result = valueColumns.filter(function (col) { return colsForThisNode[col.getId()]; });\n return result;\n };\n ChangedPath.prototype.getNotValueColumnsForNode = function (rowNode, valueColumns) {\n if (!this.keepingColumns) {\n return null;\n }\n var colsForThisNode = this.nodeIdsToColumns[rowNode.id];\n var result = valueColumns.filter(function (col) { return !colsForThisNode[col.getId()]; });\n return result;\n };\n return ChangedPath;\n}());\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$17 = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar RowNodeBlock = /** @class */ (function (_super) {\n __extends$17(RowNodeBlock, _super);\n function RowNodeBlock(id) {\n var _this = _super.call(this) || this;\n _this.state = RowNodeBlock.STATE_WAITING_TO_LOAD;\n _this.version = 0;\n _this.id = id;\n return _this;\n }\n RowNodeBlock.prototype.getId = function () {\n return this.id;\n };\n RowNodeBlock.prototype.load = function () {\n this.state = RowNodeBlock.STATE_LOADING;\n this.loadFromDatasource();\n };\n RowNodeBlock.prototype.getVersion = function () {\n return this.version;\n };\n RowNodeBlock.prototype.setStateWaitingToLoad = function () {\n // in case any current loads in progress, this will have their results ignored\n this.version++;\n this.state = RowNodeBlock.STATE_WAITING_TO_LOAD;\n };\n RowNodeBlock.prototype.getState = function () {\n return this.state;\n };\n RowNodeBlock.prototype.pageLoadFailed = function (version) {\n var requestMostRecentAndLive = this.isRequestMostRecentAndLive(version);\n if (requestMostRecentAndLive) {\n this.state = RowNodeBlock.STATE_FAILED;\n this.processServerFail();\n }\n this.dispatchLoadCompleted(false);\n };\n RowNodeBlock.prototype.success = function (version, params) {\n this.successCommon(version, params);\n };\n RowNodeBlock.prototype.pageLoaded = function (version, rows, lastRow) {\n this.successCommon(version, { rowData: rows, rowCount: lastRow });\n };\n RowNodeBlock.prototype.isRequestMostRecentAndLive = function (version) {\n // thisIsMostRecentRequest - if block was refreshed, then another request\n // could of been sent after this one.\n var thisIsMostRecentRequest = version === this.version;\n // weAreNotDestroyed - if InfiniteStore is purged, then blocks are destroyed\n // and new blocks created. so data loads of old blocks are discarded.\n var weAreNotDestroyed = this.isAlive();\n return thisIsMostRecentRequest && weAreNotDestroyed;\n };\n RowNodeBlock.prototype.successCommon = function (version, params) {\n // need to dispatch load complete before processing the data, as PaginationComp checks\n // RowNodeBlockLoader to see if it is still loading, so the RowNodeBlockLoader needs to\n // be updated first (via LoadComplete event) before PaginationComp updates (via processServerResult method)\n this.dispatchLoadCompleted();\n var requestMostRecentAndLive = this.isRequestMostRecentAndLive(version);\n if (requestMostRecentAndLive) {\n this.state = RowNodeBlock.STATE_LOADED;\n this.processServerResult(params);\n }\n };\n RowNodeBlock.prototype.dispatchLoadCompleted = function (success) {\n if (success === void 0) { success = true; }\n // we fire event regardless of processing data or now, as we want\n // the concurrentLoadRequests count to be reduced in BlockLoader\n var event = {\n type: RowNodeBlock.EVENT_LOAD_COMPLETE,\n success: success,\n block: this\n };\n this.dispatchEvent(event);\n };\n RowNodeBlock.EVENT_LOAD_COMPLETE = 'loadComplete';\n RowNodeBlock.STATE_WAITING_TO_LOAD = 'needsLoading';\n RowNodeBlock.STATE_LOADING = 'loading';\n RowNodeBlock.STATE_LOADED = 'loaded';\n RowNodeBlock.STATE_FAILED = 'failed';\n return RowNodeBlock;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$16 = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$10 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __param$6 = (undefined && undefined.__param) || function (paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n};\nvar RowNodeBlockLoader = /** @class */ (function (_super) {\n __extends$16(RowNodeBlockLoader, _super);\n function RowNodeBlockLoader() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.activeBlockLoadsCount = 0;\n _this.blocks = [];\n _this.active = true;\n return _this;\n }\n RowNodeBlockLoader_1 = RowNodeBlockLoader;\n RowNodeBlockLoader.prototype.postConstruct = function () {\n this.maxConcurrentRequests = this.gridOptionsWrapper.getMaxConcurrentDatasourceRequests();\n var blockLoadDebounceMillis = this.gridOptionsWrapper.getBlockLoadDebounceMillis();\n if (blockLoadDebounceMillis && blockLoadDebounceMillis > 0) {\n this.checkBlockToLoadDebounce = _.debounce(this.performCheckBlocksToLoad.bind(this), blockLoadDebounceMillis);\n }\n };\n RowNodeBlockLoader.prototype.setBeans = function (loggerFactory) {\n this.logger = loggerFactory.create('RowNodeBlockLoader');\n };\n RowNodeBlockLoader.prototype.addBlock = function (block) {\n this.blocks.push(block);\n // note that we do not remove this listener when removing the block. this is because the\n // cache can get destroyed (and containing blocks) when a block is loading. however the loading block\n // is still counted as an active loading block and we must decrement activeBlockLoadsCount when it finishes.\n block.addEventListener(RowNodeBlock.EVENT_LOAD_COMPLETE, this.loadComplete.bind(this));\n this.checkBlockToLoad();\n };\n RowNodeBlockLoader.prototype.removeBlock = function (block) {\n _.removeFromArray(this.blocks, block);\n };\n RowNodeBlockLoader.prototype.destroy = function () {\n _super.prototype.destroy.call(this);\n this.active = false;\n };\n RowNodeBlockLoader.prototype.loadComplete = function () {\n this.activeBlockLoadsCount--;\n this.checkBlockToLoad();\n if (this.activeBlockLoadsCount == 0) {\n this.dispatchEvent({ type: RowNodeBlockLoader_1.BLOCK_LOADER_FINISHED_EVENT });\n }\n };\n RowNodeBlockLoader.prototype.checkBlockToLoad = function () {\n if (this.checkBlockToLoadDebounce) {\n this.checkBlockToLoadDebounce();\n }\n else {\n this.performCheckBlocksToLoad();\n }\n };\n RowNodeBlockLoader.prototype.performCheckBlocksToLoad = function () {\n if (!this.active) {\n return;\n }\n this.printCacheStatus();\n if (this.maxConcurrentRequests != null && this.activeBlockLoadsCount >= this.maxConcurrentRequests) {\n this.logger.log(\"checkBlockToLoad: max loads exceeded\");\n return;\n }\n var loadAvailability = this.maxConcurrentRequests !== undefined ? this.maxConcurrentRequests - this.activeBlockLoadsCount : undefined;\n var blocksToLoad = this.blocks.filter(function (block) { return (block.getState() === RowNodeBlock.STATE_WAITING_TO_LOAD); }).slice(0, loadAvailability);\n this.activeBlockLoadsCount += blocksToLoad.length;\n blocksToLoad.forEach(function (block) { return block.load(); });\n this.printCacheStatus();\n };\n RowNodeBlockLoader.prototype.getBlockState = function () {\n var result = {};\n this.blocks.forEach(function (block) {\n var _a = block.getBlockStateJson(), id = _a.id, state = _a.state;\n result[id] = state;\n });\n return result;\n };\n RowNodeBlockLoader.prototype.printCacheStatus = function () {\n if (this.logger.isLogging()) {\n this.logger.log(\"printCacheStatus: activePageLoadsCount = \" + this.activeBlockLoadsCount + \",\"\n + (\" blocks = \" + JSON.stringify(this.getBlockState())));\n }\n };\n RowNodeBlockLoader.prototype.isLoading = function () {\n return this.activeBlockLoadsCount > 0;\n };\n var RowNodeBlockLoader_1;\n RowNodeBlockLoader.BLOCK_LOADER_FINISHED_EVENT = 'blockLoaderFinished';\n __decorate$10([\n PostConstruct\n ], RowNodeBlockLoader.prototype, \"postConstruct\", null);\n __decorate$10([\n __param$6(0, Qualifier('loggerFactory'))\n ], RowNodeBlockLoader.prototype, \"setBeans\", null);\n RowNodeBlockLoader = RowNodeBlockLoader_1 = __decorate$10([\n Bean('rowNodeBlockLoader')\n ], RowNodeBlockLoader);\n return RowNodeBlockLoader;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$15 = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$$ = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar PaginationProxy = /** @class */ (function (_super) {\n __extends$15(PaginationProxy, _super);\n function PaginationProxy() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.currentPage = 0;\n _this.topDisplayedRowIndex = 0;\n _this.bottomDisplayedRowIndex = 0;\n _this.pixelOffset = 0;\n _this.masterRowCount = 0;\n return _this;\n }\n PaginationProxy.prototype.postConstruct = function () {\n this.active = this.gridOptionsWrapper.isPagination();\n this.paginateChildRows = this.gridOptionsWrapper.isPaginateChildRows();\n this.addManagedListener(this.eventService, Events.EVENT_MODEL_UPDATED, this.onModelUpdated.bind(this));\n this.addManagedListener(this.gridOptionsWrapper, 'paginationPageSize', this.onPaginationPageSizeChanged.bind(this));\n this.onModelUpdated();\n };\n PaginationProxy.prototype.ensureRowHeightsValid = function (startPixel, endPixel, startLimitIndex, endLimitIndex) {\n var res = this.rowModel.ensureRowHeightsValid(startPixel, endPixel, this.getPageFirstRow(), this.getPageLastRow());\n if (res) {\n this.calculatePages();\n }\n return res;\n };\n PaginationProxy.prototype.onModelUpdated = function (modelUpdatedEvent) {\n this.calculatePages();\n var paginationChangedEvent = {\n type: Events.EVENT_PAGINATION_CHANGED,\n animate: modelUpdatedEvent ? modelUpdatedEvent.animate : false,\n newData: modelUpdatedEvent ? modelUpdatedEvent.newData : false,\n newPage: modelUpdatedEvent ? modelUpdatedEvent.newPage : false,\n keepRenderedRows: modelUpdatedEvent ? modelUpdatedEvent.keepRenderedRows : false\n };\n this.eventService.dispatchEvent(paginationChangedEvent);\n };\n PaginationProxy.prototype.onPaginationPageSizeChanged = function () {\n this.calculatePages();\n var paginationChangedEvent = {\n type: Events.EVENT_PAGINATION_CHANGED,\n animate: false,\n newData: false,\n newPage: false,\n // important to keep rendered rows, otherwise every time grid is resized,\n // we would destroy all the rows.\n keepRenderedRows: true\n };\n this.eventService.dispatchEvent(paginationChangedEvent);\n };\n PaginationProxy.prototype.goToPage = function (page) {\n if (!this.active || this.currentPage === page) {\n return;\n }\n this.currentPage = page;\n var event = {\n type: Events.EVENT_MODEL_UPDATED,\n animate: false,\n keepRenderedRows: false,\n newData: false,\n newPage: true\n };\n this.onModelUpdated(event);\n };\n PaginationProxy.prototype.getPixelOffset = function () {\n return this.pixelOffset;\n };\n PaginationProxy.prototype.getRow = function (index) {\n return this.rowModel.getRow(index);\n };\n PaginationProxy.prototype.getRowNode = function (id) {\n return this.rowModel.getRowNode(id);\n };\n PaginationProxy.prototype.getRowIndexAtPixel = function (pixel) {\n return this.rowModel.getRowIndexAtPixel(pixel);\n };\n PaginationProxy.prototype.getCurrentPageHeight = function () {\n if (missing(this.topRowBounds) || missing(this.bottomRowBounds)) {\n return 0;\n }\n return Math.max(this.bottomRowBounds.rowTop + this.bottomRowBounds.rowHeight - this.topRowBounds.rowTop, 0);\n };\n PaginationProxy.prototype.getCurrentPagePixelRange = function () {\n var pageFirstPixel = this.topRowBounds ? this.topRowBounds.rowTop : 0;\n var pageLastPixel = this.bottomRowBounds ? this.bottomRowBounds.rowTop + this.bottomRowBounds.rowHeight : 0;\n return { pageFirstPixel: pageFirstPixel, pageLastPixel: pageLastPixel };\n };\n PaginationProxy.prototype.isRowPresent = function (rowNode) {\n if (!this.rowModel.isRowPresent(rowNode)) {\n return false;\n }\n var nodeIsInPage = rowNode.rowIndex >= this.topDisplayedRowIndex && rowNode.rowIndex <= this.bottomDisplayedRowIndex;\n return nodeIsInPage;\n };\n PaginationProxy.prototype.isEmpty = function () {\n return this.rowModel.isEmpty();\n };\n PaginationProxy.prototype.isRowsToRender = function () {\n return this.rowModel.isRowsToRender();\n };\n PaginationProxy.prototype.getNodesInRangeForSelection = function (firstInRange, lastInRange) {\n return this.rowModel.getNodesInRangeForSelection(firstInRange, lastInRange);\n };\n PaginationProxy.prototype.forEachNode = function (callback) {\n return this.rowModel.forEachNode(callback);\n };\n PaginationProxy.prototype.getType = function () {\n return this.rowModel.getType();\n };\n PaginationProxy.prototype.getRowBounds = function (index) {\n var res = this.rowModel.getRowBounds(index);\n res.rowIndex = index;\n return res;\n };\n PaginationProxy.prototype.getPageFirstRow = function () {\n return this.topRowBounds ? this.topRowBounds.rowIndex : -1;\n };\n PaginationProxy.prototype.getPageLastRow = function () {\n return this.bottomRowBounds ? this.bottomRowBounds.rowIndex : -1;\n };\n PaginationProxy.prototype.getRowCount = function () {\n return this.rowModel.getRowCount();\n };\n PaginationProxy.prototype.getPageForIndex = function (index) {\n return Math.floor(index / this.pageSize);\n };\n PaginationProxy.prototype.goToPageWithIndex = function (index) {\n if (!this.active) {\n return;\n }\n var pageNumber = this.getPageForIndex(index);\n this.goToPage(pageNumber);\n };\n PaginationProxy.prototype.isRowInPage = function (row) {\n if (!this.active) {\n return true;\n }\n var rowPage = this.getPageForIndex(row.rowIndex);\n return rowPage === this.currentPage;\n };\n PaginationProxy.prototype.isLastPageFound = function () {\n return this.rowModel.isLastRowIndexKnown();\n };\n PaginationProxy.prototype.getCurrentPage = function () {\n return this.currentPage;\n };\n PaginationProxy.prototype.goToNextPage = function () {\n this.goToPage(this.currentPage + 1);\n };\n PaginationProxy.prototype.goToPreviousPage = function () {\n this.goToPage(this.currentPage - 1);\n };\n PaginationProxy.prototype.goToFirstPage = function () {\n this.goToPage(0);\n };\n PaginationProxy.prototype.goToLastPage = function () {\n var rowCount = this.rowModel.getRowCount();\n var lastPage = Math.floor(rowCount / this.pageSize);\n this.goToPage(lastPage);\n };\n PaginationProxy.prototype.getPageSize = function () {\n return this.pageSize;\n };\n PaginationProxy.prototype.getTotalPages = function () {\n return this.totalPages;\n };\n PaginationProxy.prototype.setPageSize = function () {\n // show put this into super class\n this.pageSize = this.gridOptionsWrapper.getPaginationPageSize();\n if (this.pageSize == null || this.pageSize < 1) {\n this.pageSize = 100;\n }\n };\n PaginationProxy.prototype.calculatePages = function () {\n if (this.active) {\n this.setPageSize();\n if (this.paginateChildRows) {\n this.calculatePagesAllRows();\n }\n else {\n this.calculatePagesMasterRowsOnly();\n }\n }\n else {\n this.calculatedPagesNotActive();\n }\n this.topRowBounds = this.rowModel.getRowBounds(this.topDisplayedRowIndex);\n if (this.topRowBounds) {\n this.topRowBounds.rowIndex = this.topDisplayedRowIndex;\n }\n this.bottomRowBounds = this.rowModel.getRowBounds(this.bottomDisplayedRowIndex);\n if (this.bottomRowBounds) {\n this.bottomRowBounds.rowIndex = this.bottomDisplayedRowIndex;\n }\n this.setPixelOffset(exists(this.topRowBounds) ? this.topRowBounds.rowTop : 0);\n };\n PaginationProxy.prototype.setPixelOffset = function (value) {\n if (this.pixelOffset === value) {\n return;\n }\n this.pixelOffset = value;\n this.eventService.dispatchEvent({ type: Events.EVENT_PAGINATION_PIXEL_OFFSET_CHANGED });\n };\n PaginationProxy.prototype.setZeroRows = function () {\n this.masterRowCount = 0;\n this.topDisplayedRowIndex = 0;\n this.bottomDisplayedRowIndex = -1;\n this.currentPage = 0;\n this.totalPages = 0;\n };\n PaginationProxy.prototype.calculatePagesMasterRowsOnly = function () {\n // const csrm = this.rowModel;\n // const rootNode = csrm.getRootNode();\n // const masterRows = rootNode.childrenAfterSort;\n this.masterRowCount = this.rowModel.getTopLevelRowCount();\n // we say <=0 (rather than =0) as viewport returns -1 when no rows\n if (this.masterRowCount <= 0) {\n this.setZeroRows();\n return;\n }\n var masterLastRowIndex = this.masterRowCount - 1;\n this.totalPages = Math.floor((masterLastRowIndex) / this.pageSize) + 1;\n if (this.currentPage >= this.totalPages) {\n this.currentPage = this.totalPages - 1;\n }\n if (!isNumeric(this.currentPage) || this.currentPage < 0) {\n this.currentPage = 0;\n }\n var masterPageStartIndex = this.pageSize * this.currentPage;\n var masterPageEndIndex = (this.pageSize * (this.currentPage + 1)) - 1;\n if (masterPageEndIndex > masterLastRowIndex) {\n masterPageEndIndex = masterLastRowIndex;\n }\n this.topDisplayedRowIndex = this.rowModel.getTopLevelRowDisplayedIndex(masterPageStartIndex);\n // masterRows[masterPageStartIndex].rowIndex;\n if (masterPageEndIndex === masterLastRowIndex) {\n // if showing the last master row, then we want to show the very last row of the model\n this.bottomDisplayedRowIndex = this.rowModel.getRowCount() - 1;\n }\n else {\n var firstIndexNotToShow = this.rowModel.getTopLevelRowDisplayedIndex(masterPageEndIndex + 1);\n //masterRows[masterPageEndIndex + 1].rowIndex;\n // this gets the index of the last child - eg current row is open, we want to display all children,\n // the index of the last child is one less than the index of the next parent row.\n this.bottomDisplayedRowIndex = firstIndexNotToShow - 1;\n }\n };\n PaginationProxy.prototype.getMasterRowCount = function () {\n return this.masterRowCount;\n };\n PaginationProxy.prototype.calculatePagesAllRows = function () {\n this.masterRowCount = this.rowModel.getRowCount();\n if (this.masterRowCount === 0) {\n this.setZeroRows();\n return;\n }\n var maxRowIndex = this.masterRowCount - 1;\n this.totalPages = Math.floor((maxRowIndex) / this.pageSize) + 1;\n if (this.currentPage >= this.totalPages) {\n this.currentPage = this.totalPages - 1;\n }\n if (!isNumeric(this.currentPage) || this.currentPage < 0) {\n this.currentPage = 0;\n }\n this.topDisplayedRowIndex = this.pageSize * this.currentPage;\n this.bottomDisplayedRowIndex = (this.pageSize * (this.currentPage + 1)) - 1;\n if (this.bottomDisplayedRowIndex > maxRowIndex) {\n this.bottomDisplayedRowIndex = maxRowIndex;\n }\n };\n PaginationProxy.prototype.calculatedPagesNotActive = function () {\n this.pageSize = this.rowModel.getRowCount();\n this.totalPages = 1;\n this.currentPage = 0;\n this.topDisplayedRowIndex = 0;\n this.bottomDisplayedRowIndex = this.rowModel.getRowCount() - 1;\n };\n __decorate$$([\n Autowired('rowModel')\n ], PaginationProxy.prototype, \"rowModel\", void 0);\n __decorate$$([\n PostConstruct\n ], PaginationProxy.prototype, \"postConstruct\", null);\n PaginationProxy = __decorate$$([\n Bean('paginationProxy')\n ], PaginationProxy);\n return PaginationProxy;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$14 = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$_ = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar StylingService = /** @class */ (function (_super) {\n __extends$14(StylingService, _super);\n function StylingService() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n StylingService.prototype.processAllCellClasses = function (colDef, params, onApplicableClass, onNotApplicableClass) {\n this.processClassRules(colDef.cellClassRules, params, onApplicableClass, onNotApplicableClass);\n this.processStaticCellClasses(colDef, params, onApplicableClass);\n };\n StylingService.prototype.processClassRules = function (classRules, params, onApplicableClass, onNotApplicableClass) {\n if (classRules == null) {\n return;\n }\n var classNames = Object.keys(classRules);\n var classesToApply = {};\n var classesToRemove = {};\n var _loop_1 = function (i) {\n var className = classNames[i];\n var rule = classRules[className];\n var resultOfRule;\n if (typeof rule === 'string') {\n resultOfRule = this_1.expressionService.evaluate(rule, params);\n }\n else if (typeof rule === 'function') {\n resultOfRule = rule(params);\n }\n // in case className = 'my-class1 my-class2', we need to split into individual class names\n className.split(' ').forEach(function (singleClass) {\n if (singleClass == null || singleClass.trim() == '') {\n return;\n }\n resultOfRule ? classesToApply[singleClass] = true : classesToRemove[singleClass] = true;\n });\n };\n var this_1 = this;\n for (var i = 0; i < classNames.length; i++) {\n _loop_1(i);\n }\n // we remove all classes first, then add all classes second,\n // in case a class appears in more than one rule, this means it will be added\n // if appears in at least one truthy rule\n if (onNotApplicableClass) {\n Object.keys(classesToRemove).forEach(onNotApplicableClass);\n }\n Object.keys(classesToApply).forEach(onApplicableClass);\n };\n StylingService.prototype.getStaticCellClasses = function (colDef, params) {\n var cellClass = colDef.cellClass;\n if (!cellClass) {\n return [];\n }\n var classOrClasses;\n if (typeof cellClass === 'function') {\n var cellClassFunc = cellClass;\n classOrClasses = cellClassFunc(params);\n }\n else {\n classOrClasses = cellClass;\n }\n if (typeof classOrClasses === 'string') {\n classOrClasses = [classOrClasses];\n }\n return classOrClasses || [];\n };\n StylingService.prototype.processStaticCellClasses = function (colDef, params, onApplicableClass) {\n var classOrClasses = this.getStaticCellClasses(colDef, params);\n classOrClasses.forEach(function (cssClassItem) {\n onApplicableClass(cssClassItem);\n });\n };\n __decorate$_([\n Autowired('expressionService')\n ], StylingService.prototype, \"expressionService\", void 0);\n StylingService = __decorate$_([\n Bean('stylingService')\n ], StylingService);\n return StylingService;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$13 = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar AgRadioButton = /** @class */ (function (_super) {\n __extends$13(AgRadioButton, _super);\n function AgRadioButton(config) {\n return _super.call(this, config, 'ag-radio-button', 'radio') || this;\n }\n AgRadioButton.prototype.isSelected = function () {\n return this.eInput.checked;\n };\n AgRadioButton.prototype.toggle = function () {\n if (this.eInput.disabled) {\n return;\n }\n // do not allow an active radio button to be deselected\n if (!this.isSelected()) {\n this.setValue(true);\n }\n };\n AgRadioButton.prototype.addInputListeners = function () {\n _super.prototype.addInputListeners.call(this);\n this.addManagedListener(this.eventService, Events.EVENT_CHECKBOX_CHANGED, this.onChange.bind(this));\n };\n /**\n * This ensures that if another radio button in the same named group is selected, we deselect this radio button.\n * By default the browser does this for you, but we are managing classes ourselves in order to ensure input\n * elements are styled correctly in IE11, and the DOM 'changed' event is only fired when a button is selected,\n * not deselected, so we need to use our own event.\n */\n AgRadioButton.prototype.onChange = function (event) {\n if (event.selected &&\n event.name &&\n this.eInput.name &&\n this.eInput.name === event.name &&\n event.id &&\n this.eInput.id !== event.id) {\n this.setValue(false, true);\n }\n };\n return AgRadioButton;\n}(AgCheckbox));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$12 = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar AgToggleButton = /** @class */ (function (_super) {\n __extends$12(AgToggleButton, _super);\n function AgToggleButton(config) {\n return _super.call(this, config, 'ag-toggle-button') || this;\n }\n AgToggleButton.prototype.setValue = function (value, silent) {\n _super.prototype.setValue.call(this, value, silent);\n this.addOrRemoveCssClass('ag-selected', this.getValue());\n return this;\n };\n return AgToggleButton;\n}(AgCheckbox));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$11 = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar AgInputTextField = /** @class */ (function (_super) {\n __extends$11(AgInputTextField, _super);\n function AgInputTextField(config, className, inputType) {\n if (className === void 0) { className = 'ag-text-field'; }\n if (inputType === void 0) { inputType = 'text'; }\n return _super.call(this, config, className, inputType) || this;\n }\n AgInputTextField.prototype.postConstruct = function () {\n _super.prototype.postConstruct.call(this);\n if (this.config.allowedCharPattern) {\n this.preventDisallowedCharacters();\n }\n };\n AgInputTextField.prototype.setValue = function (value, silent) {\n var ret = _super.prototype.setValue.call(this, value, silent);\n if (this.eInput.value !== value) {\n this.eInput.value = exists(value) ? value : '';\n }\n return ret;\n };\n AgInputTextField.prototype.preventDisallowedCharacters = function () {\n var pattern = new RegExp(\"[\" + this.config.allowedCharPattern + \"]\");\n var preventDisallowedCharacters = function (event) {\n if (event.key && !pattern.test(event.key)) {\n event.preventDefault();\n }\n };\n this.addManagedListener(this.eInput, 'keypress', preventDisallowedCharacters);\n this.addManagedListener(this.eInput, 'paste', function (e) {\n var _a;\n var text = (_a = e.clipboardData) === null || _a === void 0 ? void 0 : _a.getData('text');\n if (text && text.split('').some(function (c) { return !pattern.test(c); })) {\n e.preventDefault();\n }\n });\n };\n return AgInputTextField;\n}(AgAbstractInputField));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$10 = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar AgInputTextArea = /** @class */ (function (_super) {\n __extends$10(AgInputTextArea, _super);\n function AgInputTextArea(config) {\n return _super.call(this, config, 'ag-text-area', null, 'textarea') || this;\n }\n AgInputTextArea.prototype.setValue = function (value, silent) {\n var ret = _super.prototype.setValue.call(this, value, silent);\n this.eInput.value = value;\n return ret;\n };\n AgInputTextArea.prototype.setCols = function (cols) {\n this.eInput.cols = cols;\n return this;\n };\n AgInputTextArea.prototype.setRows = function (rows) {\n this.eInput.rows = rows;\n return this;\n };\n return AgInputTextArea;\n}(AgAbstractInputField));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$$ = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar AgInputNumberField = /** @class */ (function (_super) {\n __extends$$(AgInputNumberField, _super);\n function AgInputNumberField(config) {\n return _super.call(this, config, 'ag-number-field', 'number') || this;\n }\n AgInputNumberField.prototype.postConstruct = function () {\n var _this = this;\n _super.prototype.postConstruct.call(this);\n this.addManagedListener(this.eInput, 'blur', function () {\n var floatedValue = parseFloat(_this.eInput.value);\n var value = isNaN(floatedValue) ? '' : _this.normalizeValue(floatedValue.toString());\n if (_this.value !== value) {\n _this.setValue(value);\n }\n });\n this.addManagedListener(this.eInput, 'wheel', this.onWheel.bind(this));\n this.eInput.step = 'any';\n };\n AgInputNumberField.prototype.onWheel = function (e) {\n // Prevent default scroll events from incrementing / decrementing the input, since its inconsistent between browsers\n if (document.activeElement === this.eInput) {\n e.preventDefault();\n }\n };\n AgInputNumberField.prototype.normalizeValue = function (value) {\n if (value === '') {\n return '';\n }\n if (this.precision) {\n value = this.adjustPrecision(value);\n }\n var val = parseFloat(value);\n if (this.min != null && val < this.min) {\n value = this.min.toString();\n }\n else if (this.max != null && val > this.max) {\n value = this.max.toString();\n }\n return value;\n };\n AgInputNumberField.prototype.adjustPrecision = function (value) {\n if (this.precision) {\n var floatString = parseFloat(value).toFixed(this.precision);\n value = parseFloat(floatString).toString();\n }\n return value;\n };\n AgInputNumberField.prototype.setMin = function (min) {\n if (this.min === min) {\n return this;\n }\n this.min = min;\n addOrRemoveAttribute(this.eInput, 'min', min);\n return this;\n };\n AgInputNumberField.prototype.setMax = function (max) {\n if (this.max === max) {\n return this;\n }\n this.max = max;\n addOrRemoveAttribute(this.eInput, 'max', max);\n return this;\n };\n AgInputNumberField.prototype.setPrecision = function (precision) {\n this.precision = precision;\n return this;\n };\n AgInputNumberField.prototype.setStep = function (step) {\n if (this.step === step) {\n return this;\n }\n this.step = step;\n addOrRemoveAttribute(this.eInput, 'step', step);\n return this;\n };\n AgInputNumberField.prototype.setValue = function (value, silent) {\n value = this.adjustPrecision(value);\n var normalizedValue = this.normalizeValue(value);\n if (value != normalizedValue) {\n return this;\n }\n return _super.prototype.setValue.call(this, value, silent);\n };\n return AgInputNumberField;\n}(AgInputTextField));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$_ = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar AgInputRange = /** @class */ (function (_super) {\n __extends$_(AgInputRange, _super);\n function AgInputRange(config) {\n return _super.call(this, config, 'ag-range-field', 'range') || this;\n }\n AgInputRange.prototype.postConstruct = function () {\n _super.prototype.postConstruct.call(this);\n var _a = this.config, min = _a.min, max = _a.max, step = _a.step;\n if (min != null) {\n this.setMinValue(min);\n }\n if (max != null) {\n this.setMaxValue(max);\n }\n this.setStep(step || 1);\n };\n AgInputRange.prototype.addInputListeners = function () {\n var _this = this;\n this.addManagedListener(this.eInput, 'input', function (e) {\n var value = e.target.value;\n _this.setValue(value);\n });\n };\n AgInputRange.prototype.setMinValue = function (value) {\n this.min = value;\n this.eInput.setAttribute('min', value.toString());\n return this;\n };\n AgInputRange.prototype.setMaxValue = function (value) {\n this.max = value;\n this.eInput.setAttribute('max', value.toString());\n return this;\n };\n AgInputRange.prototype.setStep = function (value) {\n this.eInput.setAttribute('step', value.toString());\n return this;\n };\n AgInputRange.prototype.setValue = function (value, silent) {\n if (this.min != null) {\n value = Math.max(parseFloat(value), this.min).toString();\n }\n if (this.max != null) {\n value = Math.min(parseFloat(value), this.max).toString();\n }\n var ret = _super.prototype.setValue.call(this, value, silent);\n this.eInput.value = value;\n return ret;\n };\n return AgInputRange;\n}(AgAbstractInputField));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$Z = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$Z = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar AgSlider = /** @class */ (function (_super) {\n __extends$Z(AgSlider, _super);\n function AgSlider(config) {\n var _this = _super.call(this, config, AgSlider.TEMPLATE) || this;\n _this.labelAlignment = 'top';\n return _this;\n }\n AgSlider.prototype.init = function () {\n this.eSlider.addCssClass('ag-slider-field');\n };\n AgSlider.prototype.onValueChange = function (callbackFn) {\n var _this = this;\n var eventChanged = AgAbstractField.EVENT_CHANGED;\n this.addManagedListener(this.eText, eventChanged, function () {\n var textValue = parseFloat(_this.eText.getValue());\n _this.eSlider.setValue(textValue.toString(), true);\n callbackFn(textValue || 0);\n });\n this.addManagedListener(this.eSlider, eventChanged, function () {\n var sliderValue = _this.eSlider.getValue();\n _this.eText.setValue(sliderValue, true);\n callbackFn(parseFloat(sliderValue));\n });\n return this;\n };\n AgSlider.prototype.setSliderWidth = function (width) {\n this.eSlider.setWidth(width);\n return this;\n };\n AgSlider.prototype.setTextFieldWidth = function (width) {\n this.eText.setWidth(width);\n return this;\n };\n AgSlider.prototype.setMinValue = function (minValue) {\n this.eSlider.setMinValue(minValue);\n this.eText.setMin(minValue);\n return this;\n };\n AgSlider.prototype.setMaxValue = function (maxValue) {\n this.eSlider.setMaxValue(maxValue);\n this.eText.setMax(maxValue);\n return this;\n };\n AgSlider.prototype.getValue = function () {\n return this.eText.getValue();\n };\n AgSlider.prototype.setValue = function (value) {\n if (this.getValue() === value) {\n return this;\n }\n this.eText.setValue(value, true);\n this.eSlider.setValue(value, true);\n this.dispatchEvent({ type: AgAbstractField.EVENT_CHANGED });\n return this;\n };\n AgSlider.prototype.setStep = function (step) {\n this.eSlider.setStep(step);\n this.eText.setStep(step);\n return this;\n };\n AgSlider.TEMPLATE = \"
    \\n \\n
    \\n \\n \\n
    \\n
    \";\n __decorate$Z([\n RefSelector('eLabel')\n ], AgSlider.prototype, \"eLabel\", void 0);\n __decorate$Z([\n RefSelector('eSlider')\n ], AgSlider.prototype, \"eSlider\", void 0);\n __decorate$Z([\n RefSelector('eText')\n ], AgSlider.prototype, \"eText\", void 0);\n __decorate$Z([\n PostConstruct\n ], AgSlider.prototype, \"init\", null);\n return AgSlider;\n}(AgAbstractLabel));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$Y = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$Y = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar AgAngleSelect = /** @class */ (function (_super) {\n __extends$Y(AgAngleSelect, _super);\n function AgAngleSelect(config) {\n var _this = _super.call(this, config, AgAngleSelect.TEMPLATE) || this;\n _this.radius = 0;\n _this.offsetX = 0;\n _this.offsetY = 0;\n return _this;\n }\n AgAngleSelect.prototype.postConstruct = function () {\n var _this = this;\n _super.prototype.postConstruct.call(this);\n this.dragListener = {\n eElement: this.eParentCircle,\n dragStartPixels: 0,\n onDragStart: function (e) {\n _this.parentCircleRect = _this.eParentCircle.getBoundingClientRect();\n },\n onDragging: function (e) { return _this.calculateAngleDrag(e); },\n onDragStop: function () { }\n };\n this.dragService.addDragSource(this.dragListener);\n this.eAngleValue\n .setLabel('')\n .setLabelWidth(5)\n .setInputWidth(45)\n .setMin(0)\n .setMax(360)\n .setValue(\"\" + this.degrees)\n .onValueChange(function (value) {\n if (value == null || value === '') {\n value = '0';\n }\n value = _this.eAngleValue.normalizeValue(value);\n var floatValue = parseFloat(value);\n if (floatValue > 180) {\n floatValue = floatValue - 360;\n }\n _this.setValue(floatValue);\n });\n this.updateNumberInput();\n if (exists(this.getValue())) {\n this.eAngleValue.setValue(this.normalizeNegativeValue(this.getValue()).toString());\n }\n this.addManagedListener(this, AgAbstractField.EVENT_CHANGED, function () {\n var eDocument = _this.gridOptionsWrapper.getDocument();\n if (_this.eAngleValue.getInputElement().contains(eDocument.activeElement)) {\n return;\n }\n _this.updateNumberInput();\n });\n };\n AgAngleSelect.prototype.updateNumberInput = function () {\n var normalizedValue = this.normalizeNegativeValue(this.getValue());\n this.eAngleValue.setValue(normalizedValue.toString());\n };\n AgAngleSelect.prototype.positionChildCircle = function (radians) {\n var rect = this.parentCircleRect || { width: 24, height: 24 };\n var eChildCircle = this.eChildCircle;\n var centerX = rect.width / 2;\n var centerY = rect.height / 2;\n eChildCircle.style.left = centerX + Math.cos(radians) * 8 + \"px\";\n eChildCircle.style.top = centerY + Math.sin(radians) * 8 + \"px\";\n };\n AgAngleSelect.prototype.calculatePolar = function () {\n var x = this.offsetX;\n var y = this.offsetY;\n var radians = Math.atan2(y, x);\n this.degrees = this.toDegrees(radians);\n this.radius = Math.sqrt((x * x) + (y * y));\n this.positionChildCircle(radians);\n };\n AgAngleSelect.prototype.calculateCartesian = function () {\n var radians = this.toRadians(this.getValue());\n var radius = this.getRadius();\n this\n .setOffsetX(Math.cos(radians) * radius)\n .setOffsetY(Math.sin(radians) * radius);\n };\n AgAngleSelect.prototype.setOffsetX = function (offset) {\n if (this.offsetX !== offset) {\n this.offsetX = offset;\n this.calculatePolar();\n }\n return this;\n };\n AgAngleSelect.prototype.setOffsetY = function (offset) {\n if (this.offsetY !== offset) {\n this.offsetY = offset;\n this.calculatePolar();\n }\n return this;\n };\n AgAngleSelect.prototype.calculateAngleDrag = function (e) {\n var rect = this.parentCircleRect;\n var centerX = rect.width / 2;\n var centerY = rect.height / 2;\n var x = e.clientX - rect.left;\n var y = e.clientY - rect.top;\n var dx = x - centerX;\n var dy = y - centerY;\n var radians = Math.atan2(dy, dx);\n this.setValue(radians, true);\n };\n AgAngleSelect.prototype.toDegrees = function (radians) {\n return radians / Math.PI * 180;\n };\n AgAngleSelect.prototype.toRadians = function (degrees) {\n return degrees / 180 * Math.PI;\n };\n AgAngleSelect.prototype.normalizeNegativeValue = function (degrees) {\n return degrees < 0 ? 360 + degrees : degrees;\n };\n AgAngleSelect.prototype.normalizeAngle180 = function (radians) {\n radians %= Math.PI * 2;\n if (radians < -Math.PI) {\n radians += Math.PI * 2;\n }\n else if (radians >= Math.PI) {\n radians -= Math.PI * 2;\n }\n return radians;\n };\n AgAngleSelect.prototype.getRadius = function () {\n return this.radius;\n };\n AgAngleSelect.prototype.setRadius = function (r) {\n if (this.radius === r) {\n return this;\n }\n this.radius = r;\n this.calculateCartesian();\n return this;\n };\n AgAngleSelect.prototype.onValueChange = function (callbackFn) {\n var _this = this;\n this.addManagedListener(this, AgAbstractField.EVENT_CHANGED, function () {\n callbackFn(_this.degrees);\n });\n return this;\n };\n AgAngleSelect.prototype.getValue = function (radians) {\n return radians ? this.toRadians(this.degrees) : this.degrees;\n };\n AgAngleSelect.prototype.setValue = function (degrees, radians) {\n var radiansValue;\n if (!radians) {\n radiansValue = this.normalizeAngle180(this.toRadians(degrees));\n }\n else {\n radiansValue = degrees;\n }\n degrees = this.toDegrees(radiansValue);\n if (this.degrees !== degrees) {\n this.degrees = Math.floor(degrees);\n this.calculateCartesian();\n this.positionChildCircle(radiansValue);\n this.dispatchEvent({ type: AgAbstractField.EVENT_CHANGED });\n }\n return this;\n };\n AgAngleSelect.prototype.setWidth = function (width) {\n setFixedWidth(this.getGui(), width);\n return this;\n };\n AgAngleSelect.prototype.setDisabled = function (disabled) {\n _super.prototype.setDisabled.call(this, disabled);\n this.eAngleValue.setDisabled(disabled);\n return this;\n };\n AgAngleSelect.prototype.destroy = function () {\n this.dragService.removeDragSource(this.dragListener);\n _super.prototype.destroy.call(this);\n };\n AgAngleSelect.TEMPLATE = \"
    \\n
    \\n
    \\n
    \\n
    \\n
    \\n
    \\n
    \\n \\n
    \\n
    \";\n __decorate$Y([\n RefSelector('eLabel')\n ], AgAngleSelect.prototype, \"eLabel\", void 0);\n __decorate$Y([\n RefSelector('eParentCircle')\n ], AgAngleSelect.prototype, \"eParentCircle\", void 0);\n __decorate$Y([\n RefSelector('eChildCircle')\n ], AgAngleSelect.prototype, \"eChildCircle\", void 0);\n __decorate$Y([\n RefSelector('eAngleValue')\n ], AgAngleSelect.prototype, \"eAngleValue\", void 0);\n __decorate$Y([\n Autowired('dragService')\n ], AgAngleSelect.prototype, \"dragService\", void 0);\n return AgAngleSelect;\n}(AgAbstractLabel));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$X = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$X = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __read$9 = (undefined && undefined.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar AgColorPanel = /** @class */ (function (_super) {\n __extends$X(AgColorPanel, _super);\n function AgColorPanel(config) {\n var _this = _super.call(this, AgColorPanel.TEMPLATE) || this;\n _this.H = 1; // in the [0, 1] range\n _this.S = 1; // in the [0, 1] range\n _this.B = 1; // in the [0, 1] range\n _this.A = 1; // in the [0, 1] range\n _this.isSpectrumDragging = false;\n _this.isSpectrumHueDragging = false;\n _this.isSpectrumAlphaDragging = false;\n _this.colorChanged = false;\n _this.picker = config.picker;\n return _this;\n }\n AgColorPanel.prototype.postConstruct = function () {\n var eGui = this.getGui();\n this.initRecentColors();\n this.addManagedListener(this.spectrumVal, 'mousedown', this.onSpectrumDraggerDown.bind(this));\n this.addManagedListener(eGui, 'mousemove', this.onSpectrumDraggerMove.bind(this));\n this.addManagedListener(this.spectrumHue, 'mousedown', this.onSpectrumHueDown.bind(this));\n this.addManagedListener(eGui, 'mousemove', this.onSpectrumHueMove.bind(this));\n this.addManagedListener(this.spectrumAlpha, 'mousedown', this.onSpectrumAlphaDown.bind(this));\n this.addManagedListener(eGui, 'mousemove', this.onSpectrumAlphaMove.bind(this));\n // Listening to `mouseup` on the document on purpose. The user might release the mouse button\n // outside the UI control. When the mouse returns back to the control's area, the dragging\n // of the thumb is not expected and seen as a bug.\n this.addManagedListener(document, 'mouseup', this.onMouseUp.bind(this));\n this.addManagedListener(this.recentColors, 'click', this.onRecentColorClick.bind(this));\n };\n AgColorPanel.prototype.refreshSpectrumRect = function () {\n return this.spectrumValRect = this.spectrumVal.getBoundingClientRect();\n };\n AgColorPanel.prototype.refreshHueRect = function () {\n return this.spectrumHueRect = this.spectrumHue.getBoundingClientRect();\n };\n AgColorPanel.prototype.refreshAlphaRect = function () {\n return this.spectrumAlphaRect = this.spectrumAlpha.getBoundingClientRect();\n };\n AgColorPanel.prototype.onSpectrumDraggerDown = function (e) {\n this.refreshSpectrumRect();\n this.isSpectrumDragging = true;\n this.moveDragger(e);\n };\n AgColorPanel.prototype.onSpectrumDraggerMove = function (e) {\n if (this.isSpectrumDragging) {\n this.moveDragger(e);\n }\n };\n AgColorPanel.prototype.onSpectrumHueDown = function (e) {\n this.refreshHueRect();\n this.isSpectrumHueDragging = true;\n this.moveHueSlider(e);\n };\n AgColorPanel.prototype.onSpectrumHueMove = function (e) {\n if (this.isSpectrumHueDragging) {\n this.moveHueSlider(e);\n }\n };\n AgColorPanel.prototype.onSpectrumAlphaDown = function (e) {\n this.refreshAlphaRect();\n this.isSpectrumAlphaDragging = true;\n this.moveAlphaSlider(e);\n };\n AgColorPanel.prototype.onSpectrumAlphaMove = function (e) {\n if (this.isSpectrumAlphaDragging) {\n this.moveAlphaSlider(e);\n }\n };\n AgColorPanel.prototype.onMouseUp = function () {\n this.isSpectrumDragging = false;\n this.isSpectrumHueDragging = false;\n this.isSpectrumAlphaDragging = false;\n };\n AgColorPanel.prototype.moveDragger = function (e) {\n var valRect = this.spectrumValRect;\n if (valRect) {\n var x = e.clientX - valRect.left;\n var y = e.clientY - valRect.top;\n x = Math.max(x, 0);\n x = Math.min(x, valRect.width);\n y = Math.max(y, 0);\n y = Math.min(y, valRect.height);\n this.setSpectrumValue(x / valRect.width, 1 - y / valRect.height);\n }\n };\n AgColorPanel.prototype.moveHueSlider = function (e) {\n var hueRect = this.spectrumHueRect;\n if (hueRect) {\n var slider = this.spectrumHueSlider;\n var sliderRect = slider.getBoundingClientRect();\n var x = e.clientX - hueRect.left;\n x = Math.max(x, 0);\n x = Math.min(x, hueRect.width);\n this.H = 1 - x / hueRect.width;\n slider.style.left = (x + sliderRect.width / 2) + 'px';\n this.update();\n }\n };\n AgColorPanel.prototype.moveAlphaSlider = function (e) {\n var alphaRect = this.spectrumAlphaRect;\n if (alphaRect) {\n var slider = this.spectrumAlphaSlider;\n var sliderRect = slider.getBoundingClientRect();\n var x = e.clientX - alphaRect.left;\n x = Math.max(x, 0);\n x = Math.min(x, alphaRect.width);\n this.A = x / alphaRect.width;\n slider.style.left = (x + sliderRect.width / 2) + 'px';\n this.update();\n }\n };\n AgColorPanel.prototype.update = function () {\n var color = Color.fromHSB(this.H * 360, this.S, this.B, this.A);\n var spectrumColor = Color.fromHSB(this.H * 360, 1, 1);\n var rgbaColor = color.toRgbaString();\n // the recent color list needs to know color has actually changed\n var colorPicker = this.picker;\n var existingColor = Color.fromString(colorPicker.getValue());\n if (existingColor.toRgbaString() !== rgbaColor) {\n this.colorChanged = true;\n }\n colorPicker.setValue(rgbaColor);\n this.spectrumColor.style.backgroundColor = spectrumColor.toRgbaString();\n this.spectrumDragger.style.backgroundColor = rgbaColor;\n };\n /**\n * @param saturation In the [0, 1] interval.\n * @param brightness In the [0, 1] interval.\n */\n AgColorPanel.prototype.setSpectrumValue = function (saturation, brightness) {\n var valRect = this.spectrumValRect || this.refreshSpectrumRect();\n if (valRect) {\n var dragger = this.spectrumDragger;\n var draggerRect = dragger.getBoundingClientRect();\n saturation = Math.max(0, saturation);\n saturation = Math.min(1, saturation);\n brightness = Math.max(0, brightness);\n brightness = Math.min(1, brightness);\n this.S = saturation;\n this.B = brightness;\n dragger.style.left = (saturation * valRect.width - draggerRect.width / 2) + 'px';\n dragger.style.top = ((1 - brightness) * valRect.height - draggerRect.height / 2) + 'px';\n this.update();\n }\n };\n AgColorPanel.prototype.initRecentColors = function () {\n var recentColors = AgColorPanel.recentColors;\n var innerHtml = recentColors.map(function (color, index) {\n return \"
    \";\n });\n this.recentColors.innerHTML = innerHtml.join('');\n };\n AgColorPanel.prototype.setValue = function (val) {\n var color = Color.fromString(val);\n var _a = __read$9(color.toHSB(), 3), h = _a[0], s = _a[1], b = _a[2];\n this.H = (isNaN(h) ? 0 : h) / 360;\n this.A = color.a;\n var spectrumHueRect = this.spectrumHueRect || this.refreshHueRect();\n var spectrumAlphaRect = this.spectrumAlphaRect || this.refreshAlphaRect();\n this.spectrumHueSlider.style.left = ((this.H - 1) * -spectrumHueRect.width) + \"px\";\n this.spectrumAlphaSlider.style.left = (this.A * spectrumAlphaRect.width) + \"px\";\n this.setSpectrumValue(s, b);\n };\n AgColorPanel.prototype.onRecentColorClick = function (e) {\n var target = e.target;\n if (!exists(target.id)) {\n return;\n }\n var id = parseInt(target.id, 10);\n this.setValue(AgColorPanel.recentColors[id]);\n this.destroy();\n };\n AgColorPanel.prototype.addRecentColor = function () {\n var color = Color.fromHSB(this.H * 360, this.S, this.B, this.A);\n var rgbaColor = color.toRgbaString();\n var recentColors = AgColorPanel.recentColors;\n if (!this.colorChanged || recentColors[0] === rgbaColor) {\n return;\n }\n // remove duplicate color\n recentColors = recentColors.filter(function (currentColor) { return currentColor != rgbaColor; });\n // add color to head\n recentColors = [rgbaColor].concat(recentColors);\n // ensure we don't exceed max number of recent colors\n if (recentColors.length > AgColorPanel.maxRecentColors) {\n recentColors = recentColors.slice(0, AgColorPanel.maxRecentColors);\n }\n AgColorPanel.recentColors = recentColors;\n };\n AgColorPanel.prototype.destroy = function () {\n this.addRecentColor();\n _super.prototype.destroy.call(this);\n };\n AgColorPanel.maxRecentColors = 8;\n AgColorPanel.recentColors = [];\n AgColorPanel.TEMPLATE = \"
    \\n
    \\n
    \\n
    \\n
    \\n
    \\n
    \\n
    \\n
    \\n
    \\n
    \\n
    \\n
    \\n
    \\n
    \\n
    \\n
    \\n
    \\n
    \\n
    \";\n __decorate$X([\n RefSelector('spectrumColor')\n ], AgColorPanel.prototype, \"spectrumColor\", void 0);\n __decorate$X([\n RefSelector('spectrumVal')\n ], AgColorPanel.prototype, \"spectrumVal\", void 0);\n __decorate$X([\n RefSelector('spectrumDragger')\n ], AgColorPanel.prototype, \"spectrumDragger\", void 0);\n __decorate$X([\n RefSelector('spectrumHue')\n ], AgColorPanel.prototype, \"spectrumHue\", void 0);\n __decorate$X([\n RefSelector('spectrumHueSlider')\n ], AgColorPanel.prototype, \"spectrumHueSlider\", void 0);\n __decorate$X([\n RefSelector('spectrumAlpha')\n ], AgColorPanel.prototype, \"spectrumAlpha\", void 0);\n __decorate$X([\n RefSelector('spectrumAlphaSlider')\n ], AgColorPanel.prototype, \"spectrumAlphaSlider\", void 0);\n __decorate$X([\n RefSelector('recentColors')\n ], AgColorPanel.prototype, \"recentColors\", void 0);\n __decorate$X([\n PostConstruct\n ], AgColorPanel.prototype, \"postConstruct\", null);\n return AgColorPanel;\n}(Component));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$W = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$W = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar AgPanel = /** @class */ (function (_super) {\n __extends$W(AgPanel, _super);\n function AgPanel(config) {\n var _this = _super.call(this, AgPanel.getTemplate(config)) || this;\n _this.closable = true;\n _this.config = config;\n return _this;\n }\n AgPanel.getTemplate = function (config) {\n var cssIdentifier = (config && config.cssIdentifier) || 'default';\n return /* html */ \"
    \\n
    \\n \\n
    \\n
    \\n
    \\n
    \";\n };\n AgPanel.prototype.postConstruct = function () {\n var _this = this;\n var _a = this.config, component = _a.component, closable = _a.closable, hideTitleBar = _a.hideTitleBar, title = _a.title, _b = _a.minWidth, minWidth = _b === void 0 ? 250 : _b, width = _a.width, _c = _a.minHeight, minHeight = _c === void 0 ? 250 : _c, height = _a.height, centered = _a.centered, popup = _a.popup, x = _a.x, y = _a.y;\n this.positionableFeature = new PositionableFeature(this.getGui(), {\n minWidth: minWidth, width: width, minHeight: minHeight, height: height, centered: centered, x: x, y: y, popup: popup,\n calculateTopBuffer: function () { return _this.positionableFeature.getHeight() - _this.getBodyHeight(); }\n });\n this.createManagedBean(this.positionableFeature);\n var eGui = this.getGui();\n if (component) {\n this.setBodyComponent(component);\n }\n if (!hideTitleBar) {\n if (title) {\n this.setTitle(title);\n }\n this.setClosable(closable != null ? closable : this.closable);\n }\n else {\n this.eTitleBar.classList.add('ag-hidden');\n }\n this.addManagedListener(this.eTitleBar, 'mousedown', function (e) {\n var eDocument = _this.gridOptionsWrapper.getDocument();\n if (eGui.contains(e.relatedTarget) ||\n eGui.contains(eDocument.activeElement) ||\n _this.eTitleBarButtons.contains(e.target)) {\n e.preventDefault();\n return;\n }\n var focusEl = _this.eContentWrapper.querySelector('button, [href], input, select, textarea, [tabindex]');\n if (focusEl) {\n focusEl.focus();\n }\n });\n if (popup && this.positionableFeature.isPositioned()) {\n return;\n }\n if (this.renderComponent) {\n this.renderComponent();\n }\n this.positionableFeature.initialisePosition();\n this.eContentWrapper.style.height = '0';\n };\n AgPanel.prototype.renderComponent = function () {\n var _this = this;\n var eGui = this.getGui();\n eGui.focus();\n this.close = function () {\n eGui.parentElement.removeChild(eGui);\n _this.destroy();\n };\n };\n AgPanel.prototype.getHeight = function () {\n return this.positionableFeature.getHeight();\n };\n AgPanel.prototype.setHeight = function (height) {\n this.positionableFeature.setHeight(height);\n };\n AgPanel.prototype.getWidth = function () {\n return this.positionableFeature.getWidth();\n };\n AgPanel.prototype.setWidth = function (width) {\n this.positionableFeature.setWidth(width);\n };\n AgPanel.prototype.setClosable = function (closable) {\n if (closable !== this.closable) {\n this.closable = closable;\n }\n if (closable) {\n var closeButtonComp = this.closeButtonComp = new Component(AgPanel.CLOSE_BTN_TEMPLATE);\n this.getContext().createBean(closeButtonComp);\n var eGui = closeButtonComp.getGui();\n var child = createIconNoSpan('close', this.gridOptionsWrapper);\n child.classList.add('ag-panel-title-bar-button-icon');\n eGui.appendChild(child);\n this.addTitleBarButton(closeButtonComp);\n closeButtonComp.addManagedListener(eGui, 'click', this.onBtClose.bind(this));\n }\n else if (this.closeButtonComp) {\n var eGui = this.closeButtonComp.getGui();\n eGui.parentElement.removeChild(eGui);\n this.closeButtonComp = this.destroyBean(this.closeButtonComp);\n }\n };\n AgPanel.prototype.setBodyComponent = function (bodyComponent) {\n bodyComponent.setParentComponent(this);\n this.eContentWrapper.appendChild(bodyComponent.getGui());\n };\n AgPanel.prototype.addTitleBarButton = function (button, position) {\n var eTitleBarButtons = this.eTitleBarButtons;\n var buttons = eTitleBarButtons.children;\n var len = buttons.length;\n if (position == null) {\n position = len;\n }\n position = Math.max(0, Math.min(position, len));\n button.addCssClass('ag-panel-title-bar-button');\n var eGui = button.getGui();\n if (position === 0) {\n eTitleBarButtons.insertAdjacentElement('afterbegin', eGui);\n }\n else if (position === len) {\n eTitleBarButtons.insertAdjacentElement('beforeend', eGui);\n }\n else {\n buttons[position - 1].insertAdjacentElement('afterend', eGui);\n }\n button.setParentComponent(this);\n };\n AgPanel.prototype.getBodyHeight = function () {\n return getInnerHeight(this.eContentWrapper);\n };\n AgPanel.prototype.getBodyWidth = function () {\n return getInnerWidth(this.eContentWrapper);\n };\n AgPanel.prototype.setTitle = function (title) {\n this.eTitle.innerText = title;\n };\n // called when user hits the 'x' in the top right\n AgPanel.prototype.onBtClose = function () {\n this.close();\n };\n AgPanel.prototype.destroy = function () {\n if (this.closeButtonComp) {\n this.closeButtonComp = this.destroyBean(this.closeButtonComp);\n }\n var eGui = this.getGui();\n if (eGui && eGui.offsetParent) {\n this.close();\n }\n _super.prototype.destroy.call(this);\n };\n AgPanel.CLOSE_BTN_TEMPLATE = \"
    \";\n __decorate$W([\n RefSelector('eContentWrapper')\n ], AgPanel.prototype, \"eContentWrapper\", void 0);\n __decorate$W([\n RefSelector('eTitleBar')\n ], AgPanel.prototype, \"eTitleBar\", void 0);\n __decorate$W([\n RefSelector('eTitleBarButtons')\n ], AgPanel.prototype, \"eTitleBarButtons\", void 0);\n __decorate$W([\n RefSelector('eTitle')\n ], AgPanel.prototype, \"eTitle\", void 0);\n __decorate$W([\n PostConstruct\n ], AgPanel.prototype, \"postConstruct\", null);\n return AgPanel;\n}(Component));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$V = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign$2 = (undefined && undefined.__assign) || function () {\n __assign$2 = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign$2.apply(this, arguments);\n};\nvar __decorate$V = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar AgDialog = /** @class */ (function (_super) {\n __extends$V(AgDialog, _super);\n function AgDialog(config) {\n var _this = _super.call(this, __assign$2(__assign$2({}, config), { popup: true })) || this;\n _this.isMaximizable = false;\n _this.isMaximized = false;\n _this.maximizeListeners = [];\n _this.resizeListenerDestroy = null;\n _this.lastPosition = {\n x: 0,\n y: 0,\n width: 0,\n height: 0\n };\n return _this;\n }\n AgDialog.prototype.postConstruct = function () {\n var _this = this;\n var eGui = this.getGui();\n var _a = this.config, movable = _a.movable, resizable = _a.resizable, maximizable = _a.maximizable;\n this.addCssClass('ag-dialog');\n _super.prototype.postConstruct.call(this);\n this.addManagedListener(eGui, 'focusin', function (e) {\n if (eGui.contains(e.relatedTarget)) {\n return;\n }\n _this.popupService.bringPopupToFront(eGui);\n });\n if (movable) {\n this.setMovable(movable);\n }\n if (maximizable) {\n this.setMaximizable(maximizable);\n }\n if (resizable) {\n this.setResizable(resizable);\n }\n };\n AgDialog.prototype.renderComponent = function () {\n var eGui = this.getGui();\n var _a = this.config, alwaysOnTop = _a.alwaysOnTop, modal = _a.modal, title = _a.title;\n var translate = this.gridOptionsWrapper.getLocaleTextFunc();\n var addPopupRes = this.popupService.addPopup({\n modal: modal,\n eChild: eGui,\n closeOnEsc: true,\n closedCallback: this.destroy.bind(this),\n alwaysOnTop: alwaysOnTop,\n ariaLabel: title || translate('ariaLabelDialog', 'Dialog')\n });\n if (addPopupRes) {\n this.close = addPopupRes.hideFunc;\n }\n };\n AgDialog.prototype.toggleMaximize = function () {\n var position = this.positionableFeature.getPosition();\n if (this.isMaximized) {\n var _a = this.lastPosition, x = _a.x, y = _a.y, width = _a.width, height = _a.height;\n this.setWidth(width);\n this.setHeight(height);\n this.positionableFeature.offsetElement(x, y);\n }\n else {\n this.lastPosition.width = this.getWidth();\n this.lastPosition.height = this.getHeight();\n this.lastPosition.x = position.x;\n this.lastPosition.y = position.y;\n this.positionableFeature.offsetElement(0, 0);\n this.setHeight('100%');\n this.setWidth('100%');\n }\n this.isMaximized = !this.isMaximized;\n this.refreshMaximizeIcon();\n };\n AgDialog.prototype.refreshMaximizeIcon = function () {\n setDisplayed(this.maximizeIcon, !this.isMaximized);\n setDisplayed(this.minimizeIcon, this.isMaximized);\n };\n AgDialog.prototype.clearMaximizebleListeners = function () {\n if (this.maximizeListeners.length) {\n this.maximizeListeners.forEach(function (destroyListener) { return destroyListener(); });\n this.maximizeListeners.length = 0;\n }\n if (this.resizeListenerDestroy) {\n this.resizeListenerDestroy();\n this.resizeListenerDestroy = null;\n }\n };\n AgDialog.prototype.destroy = function () {\n this.maximizeButtonComp = this.destroyBean(this.maximizeButtonComp);\n this.clearMaximizebleListeners();\n _super.prototype.destroy.call(this);\n };\n AgDialog.prototype.setResizable = function (resizable) {\n this.positionableFeature.setResizable(resizable);\n };\n AgDialog.prototype.setMovable = function (movable) {\n this.positionableFeature.setMovable(movable, this.eTitleBar);\n };\n AgDialog.prototype.setMaximizable = function (maximizable) {\n var _this = this;\n if (!maximizable) {\n this.clearMaximizebleListeners();\n if (this.maximizeButtonComp) {\n this.destroyBean(this.maximizeButtonComp);\n this.maximizeButtonComp = this.maximizeIcon = this.minimizeIcon = undefined;\n }\n return;\n }\n var eTitleBar = this.eTitleBar;\n if (!eTitleBar || maximizable === this.isMaximizable) {\n return;\n }\n var maximizeButtonComp = this.maximizeButtonComp =\n this.createBean(new Component(/* html */ \"
    \"));\n var eGui = maximizeButtonComp.getGui();\n eGui.appendChild(this.maximizeIcon = createIconNoSpan('maximize', this.gridOptionsWrapper));\n this.maximizeIcon.classList.add('ag-panel-title-bar-button-icon');\n eGui.appendChild(this.minimizeIcon = createIconNoSpan('minimize', this.gridOptionsWrapper));\n this.minimizeIcon.classList.add('ag-panel-title-bar-button-icon', 'ag-hidden');\n maximizeButtonComp.addManagedListener(eGui, 'click', this.toggleMaximize.bind(this));\n this.addTitleBarButton(maximizeButtonComp, 0);\n this.maximizeListeners.push(this.addManagedListener(eTitleBar, 'dblclick', this.toggleMaximize.bind(this)));\n this.resizeListenerDestroy = this.addManagedListener(this, 'resize', function () {\n _this.isMaximized = false;\n _this.refreshMaximizeIcon();\n });\n };\n __decorate$V([\n Autowired('popupService')\n ], AgDialog.prototype, \"popupService\", void 0);\n return AgDialog;\n}(AgPanel));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$U = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar AgColorPicker = /** @class */ (function (_super) {\n __extends$U(AgColorPicker, _super);\n function AgColorPicker(config) {\n var _this = _super.call(this, config, 'ag-color-picker', 'colorPicker') || this;\n if (config && config.color) {\n _this.value = config.color;\n }\n return _this;\n }\n AgColorPicker.prototype.postConstruct = function () {\n _super.prototype.postConstruct.call(this);\n if (this.value) {\n this.setValue(this.value);\n }\n };\n AgColorPicker.prototype.showPicker = function () {\n var _this = this;\n var eGuiRect = this.getGui().getBoundingClientRect();\n var colorDialog = this.createBean(new AgDialog({\n closable: false,\n modal: true,\n hideTitleBar: true,\n minWidth: 190,\n width: 190,\n height: 250,\n x: eGuiRect.right - 190,\n y: eGuiRect.top - 250\n }));\n this.isPickerDisplayed = true;\n colorDialog.addCssClass('ag-color-dialog');\n setAriaExpanded(this.eWrapper, true);\n var colorPanel = this.createBean(new AgColorPanel({ picker: this }));\n colorPanel.addDestroyFunc(function () {\n if (colorDialog.isAlive()) {\n _this.destroyBean(colorDialog);\n }\n });\n colorDialog.setParentComponent(this);\n colorDialog.setBodyComponent(colorPanel);\n colorPanel.setValue(this.getValue());\n colorDialog.addDestroyFunc(function () {\n // here we check if the picker was already being\n // destroyed to avoid a stack overflow\n if (!_this.isDestroyingPicker) {\n _this.isDestroyingPicker = true;\n if (colorPanel.isAlive()) {\n _this.destroyBean(colorPanel);\n }\n }\n else {\n _this.isDestroyingPicker = false;\n }\n if (_this.isAlive()) {\n setAriaExpanded(_this.eWrapper, false);\n _this.getFocusableElement().focus();\n }\n _this.isPickerDisplayed = false;\n });\n return colorDialog;\n };\n AgColorPicker.prototype.setValue = function (color) {\n if (this.value === color) {\n return this;\n }\n this.eDisplayField.style.backgroundColor = color;\n return _super.prototype.setValue.call(this, color);\n };\n AgColorPicker.prototype.getValue = function () {\n return this.value;\n };\n return AgColorPicker;\n}(AgPickerField));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$T = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$U = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar AgGroupComponent = /** @class */ (function (_super) {\n __extends$T(AgGroupComponent, _super);\n function AgGroupComponent(params) {\n if (params === void 0) { params = {}; }\n var _this = _super.call(this, AgGroupComponent.getTemplate(params)) || this;\n _this.suppressEnabledCheckbox = true;\n _this.suppressOpenCloseIcons = false;\n var title = params.title, enabled = params.enabled, items = params.items, suppressEnabledCheckbox = params.suppressEnabledCheckbox, suppressOpenCloseIcons = params.suppressOpenCloseIcons;\n _this.title = title;\n _this.cssIdentifier = params.cssIdentifier || 'default';\n _this.enabled = enabled != null ? enabled : true;\n _this.items = items || [];\n _this.alignItems = params.alignItems || 'center';\n if (suppressEnabledCheckbox != null) {\n _this.suppressEnabledCheckbox = suppressEnabledCheckbox;\n }\n if (suppressOpenCloseIcons != null) {\n _this.suppressOpenCloseIcons = suppressOpenCloseIcons;\n }\n return _this;\n }\n AgGroupComponent.getTemplate = function (params) {\n var cssIdentifier = params.cssIdentifier || 'default';\n var direction = params.direction || 'vertical';\n return /* html */ \"
    \\n
    \\n \\n \\n \\n
    \\n
    \\n \\n
    \\n
    \\n
    \";\n };\n AgGroupComponent.prototype.postConstruct = function () {\n if (this.items.length) {\n var initialItems = this.items;\n this.items = [];\n this.addItems(initialItems);\n }\n var localeTextFunc = this.gridOptionsWrapper.getLocaleTextFunc();\n this.cbGroupEnabled.setLabel(localeTextFunc('enabled', 'Enabled'));\n if (this.title) {\n this.setTitle(this.title);\n }\n if (this.enabled) {\n this.setEnabled(this.enabled);\n }\n this.setAlignItems(this.alignItems);\n this.hideEnabledCheckbox(this.suppressEnabledCheckbox);\n this.hideOpenCloseIcons(this.suppressOpenCloseIcons);\n this.setupExpandContract();\n this.refreshAriaStatus();\n this.refreshChildDisplay();\n };\n AgGroupComponent.prototype.setupExpandContract = function () {\n var _this = this;\n this.eGroupClosedIcon.appendChild(createIcon('columnSelectClosed', this.gridOptionsWrapper, null));\n this.eGroupOpenedIcon.appendChild(createIcon('columnSelectOpen', this.gridOptionsWrapper, null));\n this.addManagedListener(this.eTitleBar, 'click', function () { return _this.toggleGroupExpand(); });\n this.addManagedListener(this.eTitleBar, 'keydown', function (e) {\n switch (e.key) {\n case KeyCode.ENTER:\n case KeyCode.SPACE:\n e.preventDefault();\n _this.toggleGroupExpand();\n break;\n case KeyCode.RIGHT:\n case KeyCode.LEFT:\n e.preventDefault();\n _this.toggleGroupExpand(e.key === KeyCode.RIGHT);\n break;\n }\n });\n };\n AgGroupComponent.prototype.refreshAriaStatus = function () {\n if (!this.suppressOpenCloseIcons) {\n setAriaExpanded(this.eTitleBar, this.expanded);\n }\n };\n AgGroupComponent.prototype.refreshChildDisplay = function () {\n var showIcon = !this.suppressOpenCloseIcons;\n setDisplayed(this.eToolbar, this.expanded && !this.suppressEnabledCheckbox);\n setDisplayed(this.eGroupOpenedIcon, showIcon && this.expanded);\n setDisplayed(this.eGroupClosedIcon, showIcon && !this.expanded);\n };\n AgGroupComponent.prototype.isExpanded = function () {\n return this.expanded;\n };\n AgGroupComponent.prototype.setAlignItems = function (alignment) {\n if (this.alignItems !== alignment) {\n this.removeCssClass(\"ag-group-item-alignment-\" + this.alignItems);\n }\n this.alignItems = alignment;\n var newCls = \"ag-group-item-alignment-\" + this.alignItems;\n this.addCssClass(newCls);\n return this;\n };\n AgGroupComponent.prototype.toggleGroupExpand = function (expanded) {\n if (this.suppressOpenCloseIcons) {\n this.expanded = true;\n this.refreshChildDisplay();\n setDisplayed(this.eContainer, true);\n return this;\n }\n expanded = expanded != null ? expanded : !this.expanded;\n if (this.expanded === expanded) {\n return this;\n }\n this.expanded = expanded;\n this.refreshAriaStatus();\n this.refreshChildDisplay();\n setDisplayed(this.eContainer, expanded);\n this.dispatchEvent({ type: this.expanded ? AgGroupComponent.EVENT_EXPANDED : AgGroupComponent.EVENT_COLLAPSED });\n return this;\n };\n AgGroupComponent.prototype.addItems = function (items) {\n var _this = this;\n items.forEach(function (item) { return _this.addItem(item); });\n };\n AgGroupComponent.prototype.addItem = function (item) {\n var container = this.eContainer;\n var el = item instanceof Component ? item.getGui() : item;\n el.classList.add('ag-group-item', \"ag-\" + this.cssIdentifier + \"-group-item\");\n container.appendChild(el);\n this.items.push(el);\n };\n AgGroupComponent.prototype.hideItem = function (hide, index) {\n var itemToHide = this.items[index];\n itemToHide.classList.toggle('ag-hidden', hide);\n };\n AgGroupComponent.prototype.setTitle = function (title) {\n this.eTitle.innerText = title;\n return this;\n };\n AgGroupComponent.prototype.addCssClassToTitleBar = function (cssClass) {\n this.eTitleBar.classList.add(cssClass);\n };\n AgGroupComponent.prototype.setEnabled = function (enabled, skipToggle) {\n this.enabled = enabled;\n this.refreshDisabledStyles();\n this.toggleGroupExpand(enabled);\n if (!skipToggle) {\n this.cbGroupEnabled.setValue(enabled);\n }\n return this;\n };\n AgGroupComponent.prototype.isEnabled = function () {\n return this.enabled;\n };\n AgGroupComponent.prototype.onEnableChange = function (callbackFn) {\n var _this = this;\n this.cbGroupEnabled.onValueChange(function (newSelection) {\n _this.setEnabled(newSelection, true);\n callbackFn(newSelection);\n });\n return this;\n };\n AgGroupComponent.prototype.hideEnabledCheckbox = function (hide) {\n this.suppressEnabledCheckbox = hide;\n this.refreshChildDisplay();\n this.refreshDisabledStyles();\n return this;\n };\n AgGroupComponent.prototype.hideOpenCloseIcons = function (hide) {\n this.suppressOpenCloseIcons = hide;\n if (hide) {\n this.toggleGroupExpand(true);\n }\n return this;\n };\n AgGroupComponent.prototype.refreshDisabledStyles = function () {\n this.addOrRemoveCssClass('ag-disabled', !this.enabled);\n if (this.suppressEnabledCheckbox && !this.enabled) {\n this.eTitleBar.classList.add('ag-disabled-group-title-bar');\n this.eTitleBar.removeAttribute('tabindex');\n }\n else {\n this.eTitleBar.classList.remove('ag-disabled-group-title-bar');\n this.eTitleBar.setAttribute('tabindex', '0');\n }\n this.eContainer.classList.toggle('ag-disabled-group-container', !this.enabled);\n };\n AgGroupComponent.EVENT_EXPANDED = 'expanded';\n AgGroupComponent.EVENT_COLLAPSED = 'collapsed';\n __decorate$U([\n RefSelector('eTitleBar')\n ], AgGroupComponent.prototype, \"eTitleBar\", void 0);\n __decorate$U([\n RefSelector('eGroupOpenedIcon')\n ], AgGroupComponent.prototype, \"eGroupOpenedIcon\", void 0);\n __decorate$U([\n RefSelector('eGroupClosedIcon')\n ], AgGroupComponent.prototype, \"eGroupClosedIcon\", void 0);\n __decorate$U([\n RefSelector('eToolbar')\n ], AgGroupComponent.prototype, \"eToolbar\", void 0);\n __decorate$U([\n RefSelector('cbGroupEnabled')\n ], AgGroupComponent.prototype, \"cbGroupEnabled\", void 0);\n __decorate$U([\n RefSelector('eTitle')\n ], AgGroupComponent.prototype, \"eTitle\", void 0);\n __decorate$U([\n RefSelector('eContainer')\n ], AgGroupComponent.prototype, \"eContainer\", void 0);\n __decorate$U([\n PostConstruct\n ], AgGroupComponent.prototype, \"postConstruct\", null);\n return AgGroupComponent;\n}(Component));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$S = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$T = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar TabGuardCtrl = /** @class */ (function (_super) {\n __extends$S(TabGuardCtrl, _super);\n function TabGuardCtrl(params) {\n var _this = _super.call(this) || this;\n _this.skipTabGuardFocus = false;\n var comp = params.comp, eTopGuard = params.eTopGuard, eBottomGuard = params.eBottomGuard, focusInnerElement = params.focusInnerElement, onFocusIn = params.onFocusIn, onFocusOut = params.onFocusOut, shouldStopEventPropagation = params.shouldStopEventPropagation, onTabKeyDown = params.onTabKeyDown, handleKeyDown = params.handleKeyDown, eFocusableElement = params.eFocusableElement;\n _this.comp = comp;\n _this.eTopGuard = eTopGuard;\n _this.eBottomGuard = eBottomGuard;\n _this.providedFocusInnerElement = focusInnerElement;\n _this.eFocusableElement = eFocusableElement;\n _this.providedFocusIn = onFocusIn;\n _this.providedFocusOut = onFocusOut;\n _this.providedShouldStopEventPropagation = shouldStopEventPropagation;\n _this.providedOnTabKeyDown = onTabKeyDown;\n _this.providedHandleKeyDown = handleKeyDown;\n return _this;\n }\n TabGuardCtrl.prototype.postConstruct = function () {\n var _this = this;\n this.createManagedBean(new ManagedFocusFeature(this.eFocusableElement, {\n shouldStopEventPropagation: function () { return _this.shouldStopEventPropagation(); },\n onTabKeyDown: function (e) { return _this.onTabKeyDown(e); },\n handleKeyDown: function (e) { return _this.handleKeyDown(e); },\n onFocusIn: function (e) { return _this.onFocusIn(e); },\n onFocusOut: function (e) { return _this.onFocusOut(e); }\n }));\n this.activateTabGuards();\n [this.eTopGuard, this.eBottomGuard].forEach(function (guard) { return _this.addManagedListener(guard, 'focus', _this.onFocus.bind(_this)); });\n };\n TabGuardCtrl.prototype.handleKeyDown = function (e) {\n if (this.providedHandleKeyDown) {\n this.providedHandleKeyDown(e);\n }\n };\n TabGuardCtrl.prototype.tabGuardsAreActive = function () {\n return !!this.eTopGuard && this.eTopGuard.hasAttribute('tabIndex');\n };\n TabGuardCtrl.prototype.shouldStopEventPropagation = function () {\n if (this.providedShouldStopEventPropagation) {\n return this.providedShouldStopEventPropagation();\n }\n return false;\n };\n TabGuardCtrl.prototype.activateTabGuards = function () {\n this.comp.setTabIndex(this.getGridTabIndex());\n };\n TabGuardCtrl.prototype.deactivateTabGuards = function () {\n this.comp.setTabIndex();\n };\n TabGuardCtrl.prototype.onFocus = function (e) {\n if (this.skipTabGuardFocus) {\n this.skipTabGuardFocus = false;\n return;\n }\n var fromBottom = e.target === this.eBottomGuard;\n if (this.providedFocusInnerElement) {\n this.providedFocusInnerElement(fromBottom);\n }\n else {\n this.focusInnerElement(fromBottom);\n }\n };\n TabGuardCtrl.prototype.onFocusIn = function (e) {\n if (this.providedFocusIn && this.providedFocusIn(e)) {\n return;\n }\n this.deactivateTabGuards();\n };\n TabGuardCtrl.prototype.onFocusOut = function (e) {\n if (this.providedFocusOut && this.providedFocusOut(e)) {\n return;\n }\n if (!this.eFocusableElement.contains(e.relatedTarget)) {\n this.activateTabGuards();\n }\n };\n TabGuardCtrl.prototype.onTabKeyDown = function (e) {\n var _this = this;\n if (this.providedOnTabKeyDown) {\n this.providedOnTabKeyDown(e);\n return;\n }\n if (e.defaultPrevented) {\n return;\n }\n var tabGuardsAreActive = this.tabGuardsAreActive();\n if (tabGuardsAreActive) {\n this.deactivateTabGuards();\n }\n var nextRoot = this.getNextFocusableElement(e.shiftKey);\n if (tabGuardsAreActive) {\n // ensure the tab guards are only re-instated once the event has finished processing, to avoid the browser\n // tabbing to the tab guard from inside the component\n setTimeout(function () { return _this.activateTabGuards(); }, 0);\n }\n if (!nextRoot) {\n return;\n }\n nextRoot.focus();\n e.preventDefault();\n };\n TabGuardCtrl.prototype.getGridTabIndex = function () {\n return this.gridOptionsWrapper.getGridTabIndex();\n };\n TabGuardCtrl.prototype.focusInnerElement = function (fromBottom) {\n if (fromBottom === void 0) { fromBottom = false; }\n var focusable = this.focusService.findFocusableElements(this.eFocusableElement);\n if (this.tabGuardsAreActive()) {\n // remove tab guards from this component from list of focusable elements\n focusable.splice(0, 1);\n focusable.splice(focusable.length - 1, 1);\n }\n if (!focusable.length) {\n return;\n }\n focusable[fromBottom ? focusable.length - 1 : 0].focus();\n };\n TabGuardCtrl.prototype.getNextFocusableElement = function (backwards) {\n return this.focusService.findNextFocusableElement(this.eFocusableElement, false, backwards);\n };\n TabGuardCtrl.prototype.forceFocusOutOfContainer = function (up) {\n if (up === void 0) { up = false; }\n var tabGuardToFocus = up ? this.eTopGuard : this.eBottomGuard;\n this.activateTabGuards();\n this.skipTabGuardFocus = true;\n tabGuardToFocus.focus();\n };\n __decorate$T([\n Autowired('focusService')\n ], TabGuardCtrl.prototype, \"focusService\", void 0);\n __decorate$T([\n PostConstruct\n ], TabGuardCtrl.prototype, \"postConstruct\", null);\n return TabGuardCtrl;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$R = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __read$8 = (undefined && undefined.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar __spread$7 = (undefined && undefined.__spread) || function () {\n for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$8(arguments[i]));\n return ar;\n};\nvar TabGuardComp = /** @class */ (function (_super) {\n __extends$R(TabGuardComp, _super);\n function TabGuardComp() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n TabGuardComp.prototype.initialiseTabGuard = function (params) {\n this.eTopGuard = this.createTabGuard('top');\n this.eBottomGuard = this.createTabGuard('bottom');\n this.eFocusableElement = this.getFocusableElement();\n var tabGuards = [this.eTopGuard, this.eBottomGuard];\n var compProxy = {\n setTabIndex: function (tabIndex) {\n tabGuards.forEach(function (tabGuard) { return tabIndex != null ? tabGuard.setAttribute('tabIndex', tabIndex) : tabGuard.removeAttribute('tabIndex'); });\n }\n };\n this.addTabGuards(this.eTopGuard, this.eBottomGuard);\n this.tabGuardCtrl = this.createManagedBean(new TabGuardCtrl({\n comp: compProxy,\n eTopGuard: this.eTopGuard,\n eBottomGuard: this.eBottomGuard,\n eFocusableElement: this.eFocusableElement,\n onFocusIn: params.onFocusIn,\n onFocusOut: params.onFocusOut,\n focusInnerElement: params.focusInnerElement,\n handleKeyDown: params.handleKeyDown,\n onTabKeyDown: params.onTabKeyDown,\n shouldStopEventPropagation: params.shouldStopEventPropagation\n }));\n };\n TabGuardComp.prototype.createTabGuard = function (side) {\n var tabGuard = document.createElement('div');\n tabGuard.classList.add('ag-tab-guard', \"ag-tab-guard-\" + side);\n setAriaRole(tabGuard, 'presentation');\n return tabGuard;\n };\n TabGuardComp.prototype.addTabGuards = function (topTabGuard, bottomTabGuard) {\n this.eFocusableElement.insertAdjacentElement('afterbegin', topTabGuard);\n this.eFocusableElement.insertAdjacentElement('beforeend', bottomTabGuard);\n };\n TabGuardComp.prototype.removeAllChildrenExceptTabGuards = function () {\n var tabGuards = [this.eTopGuard, this.eBottomGuard];\n clearElement(this.getFocusableElement());\n this.addTabGuards.apply(this, __spread$7(tabGuards));\n };\n TabGuardComp.prototype.forceFocusOutOfContainer = function (up) {\n if (up === void 0) { up = false; }\n this.tabGuardCtrl.forceFocusOutOfContainer(up);\n };\n TabGuardComp.prototype.appendChild = function (newChild, container) {\n if (!isNodeOrElement(newChild)) {\n newChild = newChild.getGui();\n }\n var bottomTabGuard = this.eBottomGuard;\n if (bottomTabGuard) {\n bottomTabGuard.insertAdjacentElement('beforebegin', newChild);\n }\n else {\n _super.prototype.appendChild.call(this, newChild, container);\n }\n };\n return TabGuardComp;\n}(Component));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$Q = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign$1 = (undefined && undefined.__assign) || function () {\n __assign$1 = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign$1.apply(this, arguments);\n};\nvar __decorate$S = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar AgMenuList = /** @class */ (function (_super) {\n __extends$Q(AgMenuList, _super);\n function AgMenuList(level) {\n if (level === void 0) { level = 1; }\n var _this = _super.call(this, /* html */ \"
    \") || this;\n _this.level = level;\n _this.menuItems = [];\n return _this;\n }\n AgMenuList.prototype.postConstruct = function () {\n var _this = this;\n this.initialiseTabGuard({\n onTabKeyDown: function (e) { return _this.onTabKeyDown(e); },\n handleKeyDown: function (e) { return _this.handleKeyDown(e); }\n });\n };\n AgMenuList.prototype.onTabKeyDown = function (e) {\n var parent = this.getParentComponent();\n var parentGui = parent && parent.getGui();\n var isManaged = parentGui && parentGui.classList.contains('ag-focus-managed');\n if (!isManaged) {\n e.preventDefault();\n }\n if (e.shiftKey) {\n this.closeIfIsChild(e);\n }\n };\n AgMenuList.prototype.handleKeyDown = function (e) {\n switch (e.key) {\n case KeyCode.UP:\n case KeyCode.RIGHT:\n case KeyCode.DOWN:\n case KeyCode.LEFT:\n e.preventDefault();\n this.handleNavKey(e.key);\n break;\n case KeyCode.ESCAPE:\n var topMenu = this.findTopMenu();\n if (topMenu) {\n this.focusService.focusInto(topMenu.getGui());\n }\n break;\n }\n };\n AgMenuList.prototype.clearActiveItem = function () {\n if (this.activeMenuItem) {\n this.activeMenuItem.deactivate();\n this.activeMenuItem = null;\n }\n };\n AgMenuList.prototype.addMenuItems = function (menuItems) {\n var _this = this;\n if (menuItems == null) {\n return;\n }\n menuItems.forEach(function (menuItemOrString) {\n if (menuItemOrString === 'separator') {\n _this.addSeparator();\n }\n else if (typeof menuItemOrString === 'string') {\n console.warn(\"AG Grid: unrecognised menu item \" + menuItemOrString);\n }\n else {\n _this.addItem(menuItemOrString);\n }\n });\n };\n AgMenuList.prototype.addItem = function (menuItemDef) {\n var _this = this;\n var menuItem = this.createManagedBean(new AgMenuItemComponent(__assign$1(__assign$1({}, menuItemDef), { isAnotherSubMenuOpen: function () { return _this.menuItems.some(function (m) { return m.isSubMenuOpen(); }); } })));\n menuItem.setParentComponent(this);\n setAriaLevel(menuItem.getGui(), this.level);\n this.menuItems.push(menuItem);\n this.appendChild(menuItem.getGui());\n this.addManagedListener(menuItem, AgMenuItemComponent.EVENT_MENU_ITEM_SELECTED, function (event) {\n _this.dispatchEvent(event);\n });\n this.addManagedListener(menuItem, AgMenuItemComponent.EVENT_MENU_ITEM_ACTIVATED, function (event) {\n if (_this.activeMenuItem && _this.activeMenuItem !== event.menuItem) {\n _this.activeMenuItem.deactivate();\n }\n _this.activeMenuItem = event.menuItem;\n });\n };\n AgMenuList.prototype.activateFirstItem = function () {\n var item = this.menuItems.filter(function (currentItem) { return !currentItem.isDisabled(); })[0];\n if (!item) {\n return;\n }\n item.activate();\n };\n AgMenuList.prototype.addSeparator = function () {\n var separatorHtml = /* html */ \"\\n
    \\n
    \\n
    \\n
    \\n
    \\n
    \";\n this.appendChild(loadTemplate(separatorHtml));\n };\n AgMenuList.prototype.findTopMenu = function () {\n var parent = this.getParentComponent();\n if (!parent && this instanceof AgMenuList) {\n return this;\n }\n while (true) {\n var nextParent = parent && parent.getParentComponent && parent.getParentComponent();\n if (!nextParent || (!(nextParent instanceof AgMenuList || nextParent instanceof AgMenuItemComponent))) {\n break;\n }\n parent = nextParent;\n }\n return parent instanceof AgMenuList ? parent : undefined;\n };\n AgMenuList.prototype.handleNavKey = function (key) {\n switch (key) {\n case KeyCode.UP:\n case KeyCode.DOWN:\n var nextItem = this.findNextItem(key === KeyCode.UP);\n if (nextItem && nextItem !== this.activeMenuItem) {\n nextItem.activate();\n }\n return;\n }\n var left = this.gridOptionsWrapper.isEnableRtl() ? KeyCode.RIGHT : KeyCode.LEFT;\n if (key === left) {\n this.closeIfIsChild();\n }\n else {\n this.openChild();\n }\n };\n AgMenuList.prototype.closeIfIsChild = function (e) {\n var parentItem = this.getParentComponent();\n if (parentItem && parentItem instanceof AgMenuItemComponent) {\n if (e) {\n e.preventDefault();\n }\n parentItem.closeSubMenu();\n parentItem.getGui().focus();\n }\n };\n AgMenuList.prototype.openChild = function () {\n if (this.activeMenuItem) {\n this.activeMenuItem.openSubMenu(true);\n }\n };\n AgMenuList.prototype.findNextItem = function (up) {\n var items = this.menuItems.filter(function (item) { return !item.isDisabled(); });\n if (!items.length) {\n return;\n }\n if (!this.activeMenuItem) {\n return up ? last(items) : items[0];\n }\n if (up) {\n items.reverse();\n }\n var nextItem;\n var foundCurrent = false;\n for (var i = 0; i < items.length; i++) {\n var item = items[i];\n if (!foundCurrent) {\n if (item === this.activeMenuItem) {\n foundCurrent = true;\n }\n continue;\n }\n nextItem = item;\n break;\n }\n return nextItem || this.activeMenuItem;\n };\n AgMenuList.prototype.destroy = function () {\n this.clearActiveItem();\n _super.prototype.destroy.call(this);\n };\n __decorate$S([\n Autowired('focusService')\n ], AgMenuList.prototype, \"focusService\", void 0);\n __decorate$S([\n PostConstruct\n ], AgMenuList.prototype, \"postConstruct\", null);\n return AgMenuList;\n}(TabGuardComp));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$P = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$R = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar AgMenuPanel = /** @class */ (function (_super) {\n __extends$P(AgMenuPanel, _super);\n function AgMenuPanel(wrappedComponent) {\n var _this = _super.call(this) || this;\n _this.wrappedComponent = wrappedComponent;\n _this.setTemplateFromElement(wrappedComponent.getGui());\n return _this;\n }\n AgMenuPanel.prototype.postConstruct = function () {\n var _this = this;\n this.initialiseTabGuard({\n onTabKeyDown: function (e) { return _this.onTabKeyDown(e); },\n handleKeyDown: function (e) { return _this.handleKeyDown(e); }\n });\n };\n AgMenuPanel.prototype.handleKeyDown = function (e) {\n if (e.key === KeyCode.ESCAPE) {\n this.closePanel();\n }\n };\n AgMenuPanel.prototype.onTabKeyDown = function (e) {\n if (e.defaultPrevented) {\n return;\n }\n this.closePanel();\n e.preventDefault();\n };\n AgMenuPanel.prototype.closePanel = function () {\n var menuItem = this.parentComponent;\n menuItem.closeSubMenu();\n setTimeout(function () { return menuItem.getGui().focus(); }, 0);\n };\n __decorate$R([\n PostConstruct\n ], AgMenuPanel.prototype, \"postConstruct\", null);\n return AgMenuPanel;\n}(TabGuardComp));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$O = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$Q = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar AgMenuItemComponent = /** @class */ (function (_super) {\n __extends$O(AgMenuItemComponent, _super);\n function AgMenuItemComponent(params) {\n var _this = _super.call(this) || this;\n _this.params = params;\n _this.isActive = false;\n _this.subMenuIsOpen = false;\n _this.setTemplate(/* html */ \"
    \");\n return _this;\n }\n AgMenuItemComponent.prototype.init = function () {\n var _this = this;\n this.addIcon();\n this.addName();\n this.addShortcut();\n this.addSubMenu();\n this.addTooltip();\n var eGui = this.getGui();\n if (this.params.disabled) {\n this.addCssClass(this.getClassName('disabled'));\n setAriaDisabled(eGui, true);\n }\n else {\n this.addGuiEventListener('click', function (e) { return _this.onItemSelected(e); });\n this.addGuiEventListener('keydown', function (e) {\n if (e.key === KeyCode.ENTER || e.key === KeyCode.SPACE) {\n e.preventDefault();\n _this.onItemSelected(e);\n }\n });\n this.addGuiEventListener('mousedown', function (e) {\n // Prevent event bubbling to other event handlers such as PopupService triggering\n // premature closing of any open sub-menu popup.\n e.stopPropagation();\n e.preventDefault();\n });\n this.addGuiEventListener('mouseenter', function () { return _this.onMouseEnter(); });\n this.addGuiEventListener('mouseleave', function () { return _this.onMouseLeave(); });\n }\n if (this.params.cssClasses) {\n this.params.cssClasses.forEach(function (it) { return _this.addCssClass(it); });\n }\n };\n AgMenuItemComponent.prototype.isDisabled = function () {\n return !!this.params.disabled;\n };\n AgMenuItemComponent.prototype.openSubMenu = function (activateFirstItem) {\n var _this = this;\n if (activateFirstItem === void 0) { activateFirstItem = false; }\n this.closeSubMenu();\n if (!this.params.subMenu) {\n return;\n }\n var ePopup = loadTemplate(/* html */ \"
    \");\n var destroySubMenu;\n if (this.params.subMenu instanceof Array) {\n var currentLevel = getAriaLevel(this.getGui());\n var nextLevel = isNaN(currentLevel) ? 1 : (currentLevel + 1);\n var childMenu_1 = this.createBean(new AgMenuList(nextLevel));\n childMenu_1.setParentComponent(this);\n childMenu_1.addMenuItems(this.params.subMenu);\n ePopup.appendChild(childMenu_1.getGui());\n // bubble menu item selected events\n this.addManagedListener(childMenu_1, AgMenuItemComponent.EVENT_MENU_ITEM_SELECTED, function (e) { return _this.dispatchEvent(e); });\n childMenu_1.addGuiEventListener('mouseenter', function () { return _this.cancelDeactivate(); });\n destroySubMenu = function () { return _this.destroyBean(childMenu_1); };\n if (activateFirstItem) {\n setTimeout(function () { return childMenu_1.activateFirstItem(); }, 0);\n }\n }\n else {\n var subMenu_1 = this.params.subMenu;\n var menuPanel = this.createBean(new AgMenuPanel(subMenu_1));\n menuPanel.setParentComponent(this);\n var subMenuGui_1 = menuPanel.getGui();\n var mouseEvent_1 = 'mouseenter';\n var mouseEnterListener_1 = function () { return _this.cancelDeactivate(); };\n subMenuGui_1.addEventListener(mouseEvent_1, mouseEnterListener_1);\n destroySubMenu = function () { return subMenuGui_1.removeEventListener(mouseEvent_1, mouseEnterListener_1); };\n ePopup.appendChild(subMenuGui_1);\n if (subMenu_1.afterGuiAttached) {\n setTimeout(function () { return subMenu_1.afterGuiAttached(); }, 0);\n }\n }\n var eGui = this.getGui();\n var positionCallback = this.popupService.positionPopupForMenu.bind(this.popupService, { eventSource: eGui, ePopup: ePopup });\n var translate = this.gridOptionsWrapper.getLocaleTextFunc();\n var addPopupRes = this.popupService.addPopup({\n modal: true,\n eChild: ePopup,\n positionCallback: positionCallback,\n anchorToElement: eGui,\n ariaLabel: translate('ariaLabelSubMenu', 'SubMenu')\n });\n this.subMenuIsOpen = true;\n setAriaExpanded(eGui, true);\n this.hideSubMenu = function () {\n if (addPopupRes) {\n addPopupRes.hideFunc();\n }\n _this.subMenuIsOpen = false;\n setAriaExpanded(eGui, false);\n destroySubMenu();\n };\n };\n AgMenuItemComponent.prototype.closeSubMenu = function () {\n if (!this.hideSubMenu) {\n return;\n }\n this.hideSubMenu();\n this.hideSubMenu = null;\n setAriaExpanded(this.getGui(), false);\n };\n AgMenuItemComponent.prototype.isSubMenuOpen = function () {\n return this.subMenuIsOpen;\n };\n AgMenuItemComponent.prototype.activate = function (openSubMenu) {\n var _this = this;\n this.cancelActivate();\n if (this.params.disabled) {\n return;\n }\n this.isActive = true;\n this.addCssClass(this.getClassName('active'));\n this.getGui().focus();\n if (openSubMenu && this.params.subMenu) {\n window.setTimeout(function () {\n if (_this.isAlive() && _this.isActive) {\n _this.openSubMenu();\n }\n }, 300);\n }\n this.onItemActivated();\n };\n AgMenuItemComponent.prototype.deactivate = function () {\n this.cancelDeactivate();\n this.removeCssClass(this.getClassName('active'));\n this.isActive = false;\n if (this.subMenuIsOpen) {\n this.hideSubMenu();\n }\n };\n AgMenuItemComponent.prototype.addIcon = function () {\n if (!this.params.checked && !this.params.icon && this.params.isCompact) {\n return;\n }\n var icon = loadTemplate(/* html */ \"\");\n if (this.params.checked) {\n icon.appendChild(createIconNoSpan('check', this.gridOptionsWrapper));\n }\n else if (this.params.icon) {\n if (isNodeOrElement(this.params.icon)) {\n icon.appendChild(this.params.icon);\n }\n else if (typeof this.params.icon === 'string') {\n icon.innerHTML = this.params.icon;\n }\n else {\n console.warn('AG Grid: menu item icon must be DOM node or string');\n }\n }\n this.getGui().appendChild(icon);\n };\n AgMenuItemComponent.prototype.addName = function () {\n if (!this.params.name && this.params.isCompact) {\n return;\n }\n var name = loadTemplate(/* html */ \"\" + (this.params.name || '') + \"\");\n this.getGui().appendChild(name);\n };\n AgMenuItemComponent.prototype.addTooltip = function () {\n if (!this.params.tooltip) {\n return;\n }\n this.tooltip = this.params.tooltip;\n if (this.gridOptionsWrapper.isEnableBrowserTooltips()) {\n this.getGui().setAttribute('title', this.tooltip);\n }\n else {\n this.createManagedBean(new CustomTooltipFeature(this));\n }\n };\n AgMenuItemComponent.prototype.getTooltipParams = function () {\n return {\n location: 'menu',\n value: this.tooltip\n };\n };\n AgMenuItemComponent.prototype.addShortcut = function () {\n if (!this.params.shortcut && this.params.isCompact) {\n return;\n }\n var shortcut = loadTemplate(/* html */ \"\" + (this.params.shortcut || '') + \"\");\n this.getGui().appendChild(shortcut);\n };\n AgMenuItemComponent.prototype.addSubMenu = function () {\n if (!this.params.subMenu && this.params.isCompact) {\n return;\n }\n var pointer = loadTemplate(/* html */ \"\");\n var eGui = this.getGui();\n if (this.params.subMenu) {\n var iconName = this.gridOptionsWrapper.isEnableRtl() ? 'smallLeft' : 'smallRight';\n setAriaExpanded(eGui, false);\n pointer.appendChild(createIconNoSpan(iconName, this.gridOptionsWrapper));\n }\n eGui.appendChild(pointer);\n };\n AgMenuItemComponent.prototype.onItemSelected = function (event) {\n if (this.params.action) {\n this.params.action();\n }\n else {\n this.openSubMenu(event && event.type === 'keydown');\n }\n if (this.params.subMenu && !this.params.action) {\n return;\n }\n var e = {\n type: AgMenuItemComponent.EVENT_MENU_ITEM_SELECTED,\n action: this.params.action,\n checked: this.params.checked,\n cssClasses: this.params.cssClasses,\n disabled: this.params.disabled,\n icon: this.params.icon,\n name: this.params.name,\n shortcut: this.params.shortcut,\n subMenu: this.params.subMenu,\n tooltip: this.params.tooltip,\n event: event\n };\n this.dispatchEvent(e);\n };\n AgMenuItemComponent.prototype.onItemActivated = function () {\n var event = {\n type: AgMenuItemComponent.EVENT_MENU_ITEM_ACTIVATED,\n menuItem: this,\n };\n this.dispatchEvent(event);\n };\n AgMenuItemComponent.prototype.cancelActivate = function () {\n if (this.activateTimeoutId) {\n window.clearTimeout(this.activateTimeoutId);\n this.activateTimeoutId = 0;\n }\n };\n AgMenuItemComponent.prototype.cancelDeactivate = function () {\n if (this.deactivateTimeoutId) {\n window.clearTimeout(this.deactivateTimeoutId);\n this.deactivateTimeoutId = 0;\n }\n };\n AgMenuItemComponent.prototype.onMouseEnter = function () {\n var _this = this;\n this.cancelDeactivate();\n if (this.params.isAnotherSubMenuOpen()) {\n // wait to see if the user enters the open sub-menu\n this.activateTimeoutId = window.setTimeout(function () { return _this.activate(true); }, AgMenuItemComponent.ACTIVATION_DELAY);\n }\n else {\n // activate immediately\n this.activate(true);\n }\n };\n AgMenuItemComponent.prototype.onMouseLeave = function () {\n var _this = this;\n this.cancelActivate();\n if (this.isSubMenuOpen()) {\n // wait to see if the user enters the sub-menu\n this.deactivateTimeoutId = window.setTimeout(function () { return _this.deactivate(); }, AgMenuItemComponent.ACTIVATION_DELAY);\n }\n else {\n // de-activate immediately\n this.deactivate();\n }\n };\n AgMenuItemComponent.prototype.getClassName = function (suffix) {\n var prefix = this.params.isCompact ? 'ag-compact-menu-option' : 'ag-menu-option';\n return suffix ? prefix + \"-\" + suffix : prefix;\n };\n AgMenuItemComponent.EVENT_MENU_ITEM_SELECTED = 'menuItemSelected';\n AgMenuItemComponent.EVENT_MENU_ITEM_ACTIVATED = 'menuItemActivated';\n AgMenuItemComponent.ACTIVATION_DELAY = 80;\n __decorate$Q([\n Autowired('popupService')\n ], AgMenuItemComponent.prototype, \"popupService\", void 0);\n __decorate$Q([\n PostConstruct\n ], AgMenuItemComponent.prototype, \"init\", null);\n return AgMenuItemComponent;\n}(Component));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$N = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$P = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __read$7 = (undefined && undefined.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar __spread$6 = (undefined && undefined.__spread) || function () {\n for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$7(arguments[i]));\n return ar;\n};\nvar FocusService = /** @class */ (function (_super) {\n __extends$N(FocusService, _super);\n function FocusService() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n FocusService_1 = FocusService;\n /**\n * Adds a gridCore to the list of the gridCores monitoring Keyboard Mode\n * in a specific HTMLDocument.\n *\n * @param doc {Document} - The Document containing the gridCore.\n * @param gridCore {GridComp} - The GridCore to be monitored.\n */\n FocusService.addKeyboardModeEvents = function (doc, controller) {\n var docControllers = FocusService_1.instancesMonitored.get(doc);\n if (docControllers && docControllers.length > 0) {\n if (docControllers.indexOf(controller) === -1) {\n docControllers.push(controller);\n }\n }\n else {\n FocusService_1.instancesMonitored.set(doc, [controller]);\n doc.addEventListener('keydown', FocusService_1.toggleKeyboardMode);\n doc.addEventListener('mousedown', FocusService_1.toggleKeyboardMode);\n }\n };\n /**\n * Removes a gridCore from the list of the gridCores monitoring Keyboard Mode\n * in a specific HTMLDocument.\n *\n * @param doc {Document} - The Document containing the gridCore.\n * @param gridCore {GridComp} - The GridCore to be removed.\n */\n FocusService.removeKeyboardModeEvents = function (doc, controller) {\n var docControllers = FocusService_1.instancesMonitored.get(doc);\n var newControllers = [];\n if (docControllers && docControllers.length) {\n newControllers = __spread$6(docControllers).filter(function (currentGridCore) { return currentGridCore !== controller; });\n FocusService_1.instancesMonitored.set(doc, newControllers);\n }\n if (newControllers.length === 0) {\n doc.removeEventListener('keydown', FocusService_1.toggleKeyboardMode);\n doc.removeEventListener('mousedown', FocusService_1.toggleKeyboardMode);\n }\n };\n /**\n * This method will be called by `keydown` and `mousedown` events on all Documents monitoring\n * KeyboardMode. It will then fire a KEYBOARD_FOCUS, MOUSE_FOCUS on each gridCore present in\n * the Document allowing each gridCore to maintain a state for KeyboardMode.\n *\n * @param event {KeyboardEvent | MouseEvent | TouchEvent} - The event triggered.\n */\n FocusService.toggleKeyboardMode = function (event) {\n var isKeyboardActive = FocusService_1.keyboardModeActive;\n var isKeyboardEvent = event.type === 'keydown';\n if (isKeyboardEvent) {\n // the following keys should not toggle keyboard mode.\n if (event.ctrlKey || event.metaKey || event.altKey) {\n return;\n }\n }\n if (isKeyboardActive && isKeyboardEvent || !isKeyboardActive && !isKeyboardEvent) {\n return;\n }\n FocusService_1.keyboardModeActive = isKeyboardEvent;\n var doc = event.target.ownerDocument;\n if (!doc) {\n return;\n }\n var controllersForDoc = FocusService_1.instancesMonitored.get(doc);\n if (controllersForDoc) {\n controllersForDoc.forEach(function (controller) {\n controller.dispatchEvent({ type: isKeyboardEvent ? Events.EVENT_KEYBOARD_FOCUS : Events.EVENT_MOUSE_FOCUS });\n });\n }\n };\n FocusService.prototype.init = function () {\n var _this = this;\n var clearFocusedCellListener = this.clearFocusedCell.bind(this);\n this.addManagedListener(this.eventService, Events.EVENT_COLUMN_PIVOT_MODE_CHANGED, clearFocusedCellListener);\n this.addManagedListener(this.eventService, Events.EVENT_NEW_COLUMNS_LOADED, this.onColumnEverythingChanged.bind(this));\n this.addManagedListener(this.eventService, Events.EVENT_COLUMN_GROUP_OPENED, clearFocusedCellListener);\n this.addManagedListener(this.eventService, Events.EVENT_COLUMN_ROW_GROUP_CHANGED, clearFocusedCellListener);\n this.ctrlsService.whenReady(function (p) {\n _this.gridCtrl = p.gridCtrl;\n var doc = _this.gridOptionsWrapper.getDocument();\n FocusService_1.addKeyboardModeEvents(doc, _this.gridCtrl);\n _this.addDestroyFunc(function () { return _this.unregisterGridCompController(_this.gridCtrl); });\n });\n };\n FocusService.prototype.unregisterGridCompController = function (gridCompController) {\n var doc = this.gridOptionsWrapper.getDocument();\n FocusService_1.removeKeyboardModeEvents(doc, gridCompController);\n };\n FocusService.prototype.onColumnEverythingChanged = function () {\n // if the columns change, check and see if this column still exists. if it does, then\n // we can keep the focused cell. if it doesn't, then we need to drop the focused cell.\n if (!this.focusedCellPosition) {\n return;\n }\n var col = this.focusedCellPosition.column;\n var colFromColumnModel = this.columnModel.getGridColumn(col.getId());\n if (col !== colFromColumnModel) {\n this.clearFocusedCell();\n }\n };\n FocusService.prototype.isKeyboardMode = function () {\n return FocusService_1.keyboardModeActive;\n };\n // we check if the browser is focusing something, and if it is, and\n // it's the cell we think is focused, then return the cell. so this\n // methods returns the cell if a) we think it has focus and b) the\n // browser thinks it has focus. this then returns nothing if we\n // first focus a cell, then second click outside the grid, as then the\n // grid cell will still be focused as far as the grid is concerned,\n // however the browser focus will have moved somewhere else.\n FocusService.prototype.getFocusCellToUseAfterRefresh = function () {\n var eDocument = this.gridOptionsWrapper.getDocument();\n if (this.gridOptionsWrapper.isSuppressFocusAfterRefresh() || !this.focusedCellPosition) {\n return null;\n }\n // we check that the browser is actually focusing on the grid, if it is not, then\n // we have nothing to worry about. we check for ROW data, as this covers both focused Rows (for Full Width Rows)\n // and Cells (covers cells as cells live in rows)\n if (this.isDomDataMissingInHierarchy(eDocument.activeElement, RowCtrl.DOM_DATA_KEY_ROW_CTRL)) {\n return null;\n }\n return this.focusedCellPosition;\n };\n FocusService.prototype.getFocusHeaderToUseAfterRefresh = function () {\n var eDocument = this.gridOptionsWrapper.getDocument();\n if (this.gridOptionsWrapper.isSuppressFocusAfterRefresh() || !this.focusedHeaderPosition) {\n return null;\n }\n // we check that the browser is actually focusing on the grid, if it is not, then\n // we have nothing to worry about\n if (this.isDomDataMissingInHierarchy(eDocument.activeElement, AbstractHeaderCellCtrl.DOM_DATA_KEY_HEADER_CTRL)) {\n return null;\n }\n return this.focusedHeaderPosition;\n };\n FocusService.prototype.isDomDataMissingInHierarchy = function (eBrowserCell, key) {\n var ePointer = eBrowserCell;\n while (ePointer) {\n var data = this.gridOptionsWrapper.getDomData(ePointer, key);\n if (data) {\n return false;\n }\n ePointer = ePointer.parentNode;\n }\n return true;\n };\n FocusService.prototype.clearFocusedCell = function () {\n this.focusedCellPosition = null;\n this.onCellFocused(false, false);\n };\n FocusService.prototype.getFocusedCell = function () {\n return this.focusedCellPosition;\n };\n FocusService.prototype.setFocusedCell = function (params) {\n var column = params.column, rowIndex = params.rowIndex, rowPinned = params.rowPinned, _a = params.forceBrowserFocus, forceBrowserFocus = _a === void 0 ? false : _a, _b = params.preventScrollOnBrowserFocus, preventScrollOnBrowserFocus = _b === void 0 ? false : _b;\n var gridColumn = this.columnModel.getGridColumn(column);\n // if column doesn't exist, then blank the focused cell and return. this can happen when user sets new columns,\n // and the focused cell is in a column that no longer exists. after columns change, the grid refreshes and tries\n // to re-focus the focused cell.\n if (!gridColumn) {\n this.focusedCellPosition = null;\n return;\n }\n this.focusedCellPosition = gridColumn ? {\n rowIndex: rowIndex,\n rowPinned: makeNull(rowPinned),\n column: gridColumn\n } : null;\n this.onCellFocused(forceBrowserFocus, preventScrollOnBrowserFocus);\n };\n FocusService.prototype.isCellFocused = function (cellPosition) {\n if (this.focusedCellPosition == null) {\n return false;\n }\n return this.focusedCellPosition.column === cellPosition.column &&\n this.isRowFocused(cellPosition.rowIndex, cellPosition.rowPinned);\n };\n FocusService.prototype.isRowNodeFocused = function (rowNode) {\n return this.isRowFocused(rowNode.rowIndex, rowNode.rowPinned);\n };\n FocusService.prototype.isHeaderWrapperFocused = function (headerCtrl) {\n if (this.focusedHeaderPosition == null) {\n return false;\n }\n var column = headerCtrl.getColumnGroupChild();\n var headerRowIndex = headerCtrl.getRowIndex();\n var pinned = headerCtrl.getPinned();\n var _a = this.focusedHeaderPosition, focusedColumn = _a.column, focusedHeaderRowIndex = _a.headerRowIndex;\n return column === focusedColumn &&\n headerRowIndex === focusedHeaderRowIndex &&\n pinned == focusedColumn.getPinned();\n };\n FocusService.prototype.clearFocusedHeader = function () {\n this.focusedHeaderPosition = null;\n };\n FocusService.prototype.getFocusedHeader = function () {\n return this.focusedHeaderPosition;\n };\n FocusService.prototype.setFocusedHeader = function (headerRowIndex, column) {\n this.focusedHeaderPosition = { headerRowIndex: headerRowIndex, column: column };\n };\n FocusService.prototype.focusHeaderPosition = function (params) {\n var direction = params.direction, fromTab = params.fromTab, allowUserOverride = params.allowUserOverride, event = params.event;\n var headerPosition = params.headerPosition;\n if (allowUserOverride) {\n var gridOptionsWrapper = this.gridOptionsWrapper;\n var currentPosition = this.getFocusedHeader();\n var headerRowCount = this.headerNavigationService.getHeaderRowCount();\n if (fromTab) {\n var userFunc = gridOptionsWrapper.getTabToNextHeaderFunc();\n if (userFunc) {\n var params_1 = {\n backwards: direction === 'Before',\n previousHeaderPosition: currentPosition,\n nextHeaderPosition: headerPosition,\n headerRowCount: headerRowCount,\n };\n headerPosition = userFunc(params_1);\n }\n }\n else {\n var userFunc = gridOptionsWrapper.getNavigateToNextHeaderFunc();\n if (userFunc && event) {\n var params_2 = {\n key: event.key,\n previousHeaderPosition: currentPosition,\n nextHeaderPosition: headerPosition,\n headerRowCount: headerRowCount,\n event: event,\n };\n headerPosition = userFunc(params_2);\n }\n }\n }\n if (!headerPosition) {\n return false;\n }\n if (headerPosition.headerRowIndex === -1) {\n return this.focusGridView(headerPosition.column);\n }\n this.headerNavigationService.scrollToColumn(headerPosition.column, direction);\n var headerRowContainerCtrl = this.ctrlsService.getHeaderRowContainerCtrl(headerPosition.column.getPinned());\n // this will automatically call the setFocusedHeader method above\n var focusSuccess = headerRowContainerCtrl.focusHeader(headerPosition.headerRowIndex, headerPosition.column, event);\n return focusSuccess;\n };\n FocusService.prototype.focusFirstHeader = function () {\n var firstColumn = this.columnModel.getAllDisplayedColumns()[0];\n if (!firstColumn) {\n return false;\n }\n if (firstColumn.getParent()) {\n firstColumn = this.columnModel.getColumnGroupAtLevel(firstColumn, 0);\n }\n return this.focusHeaderPosition({\n headerPosition: { headerRowIndex: 0, column: firstColumn }\n });\n };\n FocusService.prototype.focusLastHeader = function (event) {\n var headerRowIndex = this.headerNavigationService.getHeaderRowCount() - 1;\n var column = last(this.columnModel.getAllDisplayedColumns());\n return this.focusHeaderPosition({\n headerPosition: { headerRowIndex: headerRowIndex, column: column },\n event: event\n });\n };\n FocusService.prototype.isAnyCellFocused = function () {\n return !!this.focusedCellPosition;\n };\n FocusService.prototype.isRowFocused = function (rowIndex, floating) {\n if (this.focusedCellPosition == null) {\n return false;\n }\n return this.focusedCellPosition.rowIndex === rowIndex && this.focusedCellPosition.rowPinned === makeNull(floating);\n };\n FocusService.prototype.findFocusableElements = function (rootNode, exclude, onlyUnmanaged) {\n if (onlyUnmanaged === void 0) { onlyUnmanaged = false; }\n var focusableString = Constants.FOCUSABLE_SELECTOR;\n var excludeString = Constants.FOCUSABLE_EXCLUDE;\n if (exclude) {\n excludeString += ', ' + exclude;\n }\n if (onlyUnmanaged) {\n excludeString += ', [tabindex=\"-1\"]';\n }\n var nodes = Array.prototype.slice.apply(rootNode.querySelectorAll(focusableString));\n var excludeNodes = Array.prototype.slice.apply(rootNode.querySelectorAll(excludeString));\n if (!excludeNodes.length) {\n return nodes;\n }\n var diff = function (a, b) { return a.filter(function (element) { return b.indexOf(element) === -1; }); };\n return diff(nodes, excludeNodes);\n };\n FocusService.prototype.focusInto = function (rootNode, up, onlyUnmanaged) {\n if (up === void 0) { up = false; }\n if (onlyUnmanaged === void 0) { onlyUnmanaged = false; }\n var focusableElements = this.findFocusableElements(rootNode, null, onlyUnmanaged);\n var toFocus = up ? last(focusableElements) : focusableElements[0];\n if (toFocus) {\n toFocus.focus();\n return true;\n }\n return false;\n };\n FocusService.prototype.findNextFocusableElement = function (rootNode, onlyManaged, backwards) {\n if (rootNode === void 0) { rootNode = this.eGridDiv; }\n var focusable = this.findFocusableElements(rootNode, onlyManaged ? ':not([tabindex=\"-1\"])' : null);\n var eDocument = this.gridOptionsWrapper.getDocument();\n var activeEl = eDocument.activeElement;\n var currentIndex;\n if (onlyManaged) {\n currentIndex = focusable.findIndex(function (el) { return el.contains(activeEl); });\n }\n else {\n currentIndex = focusable.indexOf(activeEl);\n }\n var nextIndex = currentIndex + (backwards ? -1 : 1);\n if (nextIndex < 0 || nextIndex >= focusable.length) {\n return null;\n }\n return focusable[nextIndex];\n };\n FocusService.prototype.isFocusUnderManagedComponent = function (rootNode) {\n var eDocument = this.gridOptionsWrapper.getDocument();\n var managedContainers = rootNode.querySelectorAll(\".\" + ManagedFocusFeature.FOCUS_MANAGED_CLASS);\n if (!managedContainers.length) {\n return false;\n }\n for (var i = 0; i < managedContainers.length; i++) {\n if (managedContainers[i].contains(eDocument.activeElement)) {\n return true;\n }\n }\n return false;\n };\n FocusService.prototype.findTabbableParent = function (node, limit) {\n if (limit === void 0) { limit = 5; }\n var counter = 0;\n while (node && getTabIndex(node) === null && ++counter <= limit) {\n node = node.parentElement;\n }\n if (getTabIndex(node) === null) {\n return null;\n }\n return node;\n };\n FocusService.prototype.onCellFocused = function (forceBrowserFocus, preventScrollOnBrowserFocus) {\n var event = {\n type: Events.EVENT_CELL_FOCUSED,\n forceBrowserFocus: forceBrowserFocus,\n preventScrollOnBrowserFocus: preventScrollOnBrowserFocus,\n rowIndex: null,\n column: null,\n floating: null,\n rowPinned: null,\n isFullWidthCell: false\n };\n if (this.focusedCellPosition) {\n var rowIndex = event.rowIndex = this.focusedCellPosition.rowIndex;\n var rowPinned = event.rowPinned = this.focusedCellPosition.rowPinned;\n event.column = this.focusedCellPosition.column;\n var rowCtrl = this.rowRenderer.getRowByPosition({ rowIndex: rowIndex, rowPinned: rowPinned });\n if (rowCtrl) {\n event.isFullWidthCell = rowCtrl.isFullWidth();\n }\n }\n this.eventService.dispatchEvent(event);\n };\n FocusService.prototype.focusGridView = function (column, backwards) {\n // if suppressCellFocus is `true`, it means the user does not want to\n // navigate between the cells using tab. Instead, we put focus on either\n // the header or after the grid, depending on whether tab or shift-tab was pressed.\n if (this.gridOptionsWrapper.isSuppressCellFocus()) {\n if (backwards) {\n return this.focusLastHeader();\n }\n return this.focusNextGridCoreContainer(false);\n }\n var nextRow = backwards\n ? this.rowPositionUtils.getLastRow()\n : this.rowPositionUtils.getFirstRow();\n if (!nextRow) {\n return false;\n }\n var rowIndex = nextRow.rowIndex, rowPinned = nextRow.rowPinned;\n var focusedHeader = this.getFocusedHeader();\n if (!column && focusedHeader) {\n column = focusedHeader.column;\n }\n if (rowIndex == null || !column) {\n return false;\n }\n this.navigationService.ensureCellVisible({ rowIndex: rowIndex, column: column, rowPinned: rowPinned });\n this.setFocusedCell({\n rowIndex: rowIndex,\n column: column,\n rowPinned: makeNull(rowPinned),\n forceBrowserFocus: true\n });\n if (this.rangeService) {\n var cellPosition = { rowIndex: rowIndex, rowPinned: rowPinned, column: column };\n this.rangeService.setRangeToCell(cellPosition);\n }\n return true;\n };\n FocusService.prototype.focusNextGridCoreContainer = function (backwards) {\n if (this.gridCtrl.focusNextInnerContainer(backwards)) {\n return true;\n }\n if (!backwards && !this.gridCtrl.isDetailGrid()) {\n this.gridCtrl.forceFocusOutOfContainer();\n }\n return false;\n };\n var FocusService_1;\n FocusService.AG_KEYBOARD_FOCUS = 'ag-keyboard-focus';\n FocusService.keyboardModeActive = false;\n FocusService.instancesMonitored = new Map();\n __decorate$P([\n Autowired('eGridDiv')\n ], FocusService.prototype, \"eGridDiv\", void 0);\n __decorate$P([\n Autowired('columnModel')\n ], FocusService.prototype, \"columnModel\", void 0);\n __decorate$P([\n Autowired('headerNavigationService')\n ], FocusService.prototype, \"headerNavigationService\", void 0);\n __decorate$P([\n Autowired('rowRenderer')\n ], FocusService.prototype, \"rowRenderer\", void 0);\n __decorate$P([\n Autowired('rowPositionUtils')\n ], FocusService.prototype, \"rowPositionUtils\", void 0);\n __decorate$P([\n Optional('rangeService')\n ], FocusService.prototype, \"rangeService\", void 0);\n __decorate$P([\n Autowired('navigationService')\n ], FocusService.prototype, \"navigationService\", void 0);\n __decorate$P([\n Autowired('ctrlsService')\n ], FocusService.prototype, \"ctrlsService\", void 0);\n __decorate$P([\n PostConstruct\n ], FocusService.prototype, \"init\", null);\n FocusService = FocusService_1 = __decorate$P([\n Bean('focusService')\n ], FocusService);\n return FocusService;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$M = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$O = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __read$6 = (undefined && undefined.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar __spread$5 = (undefined && undefined.__spread) || function () {\n for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$6(arguments[i]));\n return ar;\n};\nvar DIRECTION;\n(function (DIRECTION) {\n DIRECTION[DIRECTION[\"vertical\"] = 0] = \"vertical\";\n DIRECTION[DIRECTION[\"horizontal\"] = 1] = \"horizontal\";\n})(DIRECTION || (DIRECTION = {}));\nvar instanceIdSeq = 0;\nvar PopupService = /** @class */ (function (_super) {\n __extends$M(PopupService, _super);\n function PopupService() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.popupList = [];\n return _this;\n }\n PopupService_1 = PopupService;\n PopupService.prototype.postConstruct = function () {\n var _this = this;\n this.ctrlsService.whenReady(function (p) {\n _this.gridCtrl = p.gridCtrl;\n _this.addManagedListener(_this.gridCtrl, Events.EVENT_KEYBOARD_FOCUS, function () {\n _this.popupList.forEach(function (popup) { return popup.element.classList.add(FocusService.AG_KEYBOARD_FOCUS); });\n });\n _this.addManagedListener(_this.gridCtrl, Events.EVENT_MOUSE_FOCUS, function () {\n _this.popupList.forEach(function (popup) { return popup.element.classList.remove(FocusService.AG_KEYBOARD_FOCUS); });\n });\n });\n };\n PopupService.prototype.getPopupParent = function () {\n var ePopupParent = this.gridOptionsWrapper.getPopupParent();\n if (ePopupParent) {\n return ePopupParent;\n }\n return this.gridCtrl.getGui();\n };\n PopupService.prototype.positionPopupForMenu = function (params) {\n var sourceRect = params.eventSource.getBoundingClientRect();\n var parentRect = this.getParentRect();\n var y = this.keepXYWithinBounds(params.ePopup, sourceRect.top - parentRect.top, DIRECTION.vertical);\n var minWidth = (params.ePopup.clientWidth > 0) ? params.ePopup.clientWidth : 200;\n params.ePopup.style.minWidth = minWidth + \"px\";\n var widthOfParent = parentRect.right - parentRect.left;\n var maxX = widthOfParent - minWidth;\n // the x position of the popup depends on RTL or LTR. for normal cases, LTR, we put the child popup\n // to the right, unless it doesn't fit and we then put it to the left. for RTL it's the other way around,\n // we try place it first to the left, and then if not to the right.\n var x;\n if (this.gridOptionsWrapper.isEnableRtl()) {\n // for RTL, try left first\n x = xLeftPosition();\n if (x < 0) {\n x = xRightPosition();\n }\n if (x > maxX) {\n x = 0;\n }\n }\n else {\n // for LTR, try right first\n x = xRightPosition();\n if (x > maxX) {\n x = xLeftPosition();\n }\n if (x < 0) {\n x = 0;\n }\n }\n params.ePopup.style.left = x + \"px\";\n params.ePopup.style.top = y + \"px\";\n function xRightPosition() {\n return sourceRect.right - parentRect.left - 2;\n }\n function xLeftPosition() {\n return sourceRect.left - parentRect.left - minWidth;\n }\n };\n PopupService.prototype.positionPopupUnderMouseEvent = function (params) {\n var ePopup = params.ePopup, nudgeX = params.nudgeX, nudgeY = params.nudgeY, skipObserver = params.skipObserver;\n var _a = this.calculatePointerAlign(params.mouseEvent), x = _a.x, y = _a.y;\n this.positionPopup({\n ePopup: ePopup,\n x: x,\n y: y,\n nudgeX: nudgeX,\n nudgeY: nudgeY,\n keepWithinBounds: true,\n skipObserver: skipObserver\n });\n this.callPostProcessPopup(params.type, params.ePopup, null, params.mouseEvent, params.column, params.rowNode);\n };\n PopupService.prototype.calculatePointerAlign = function (e) {\n var parentRect = this.getParentRect();\n return {\n x: e.clientX - parentRect.left,\n y: e.clientY - parentRect.top\n };\n };\n PopupService.prototype.positionPopupUnderComponent = function (params) {\n var sourceRect = params.eventSource.getBoundingClientRect();\n var alignSide = params.alignSide || 'left';\n var parentRect = this.getParentRect();\n var x = sourceRect.left - parentRect.left;\n if (alignSide === 'right') {\n x -= (params.ePopup.offsetWidth - sourceRect.width);\n }\n this.positionPopup({\n ePopup: params.ePopup,\n nudgeX: params.nudgeX,\n nudgeY: params.nudgeY,\n x: x,\n y: sourceRect.top - parentRect.top + sourceRect.height,\n keepWithinBounds: params.keepWithinBounds\n });\n this.callPostProcessPopup(params.type, params.ePopup, params.eventSource, null, params.column, params.rowNode);\n };\n PopupService.prototype.positionPopupOverComponent = function (params) {\n var sourceRect = params.eventSource.getBoundingClientRect();\n var parentRect = this.getParentRect();\n this.positionPopup({\n ePopup: params.ePopup,\n nudgeX: params.nudgeX,\n nudgeY: params.nudgeY,\n x: sourceRect.left - parentRect.left,\n y: sourceRect.top - parentRect.top,\n keepWithinBounds: params.keepWithinBounds\n });\n this.callPostProcessPopup(params.type, params.ePopup, params.eventSource, null, params.column, params.rowNode);\n };\n PopupService.prototype.callPostProcessPopup = function (type, ePopup, eventSource, mouseEvent, column, rowNode) {\n var callback = this.gridOptionsWrapper.getPostProcessPopupFunc();\n if (callback) {\n var params = {\n column: column,\n rowNode: rowNode,\n ePopup: ePopup,\n type: type,\n eventSource: eventSource,\n mouseEvent: mouseEvent\n };\n callback(params);\n }\n };\n PopupService.prototype.positionPopup = function (params) {\n var _this = this;\n var x = params.x, y = params.y, ePopup = params.ePopup, keepWithinBounds = params.keepWithinBounds, nudgeX = params.nudgeX, nudgeY = params.nudgeY, skipObserver = params.skipObserver;\n var currentX = x;\n var currentY = y;\n if (nudgeX) {\n currentX += nudgeX;\n }\n if (nudgeY) {\n currentY += nudgeY;\n }\n var updatePosition = function () {\n // if popup is overflowing to the bottom, move it up\n if (keepWithinBounds) {\n currentX = _this.keepXYWithinBounds(ePopup, currentX, DIRECTION.horizontal);\n currentY = _this.keepXYWithinBounds(ePopup, currentY, DIRECTION.vertical);\n }\n ePopup.style.left = currentX + \"px\";\n ePopup.style.top = currentY + \"px\";\n };\n updatePosition();\n // Mouse tracking will recalculate positioning when moving, so won't need to recalculate here\n if (!skipObserver) {\n // Since rendering popup contents can be asynchronous, use a resize observer to\n // reposition the popup after initial updates to the size of the contents\n var resizeObserverDestroyFunc_1 = this.resizeObserverService.observeResize(ePopup, updatePosition);\n // Only need to reposition when first open, so can clean up after a bit of time\n setTimeout(function () { return resizeObserverDestroyFunc_1(); }, PopupService_1.WAIT_FOR_POPUP_CONTENT_RESIZE);\n }\n };\n PopupService.prototype.getActivePopups = function () {\n return this.popupList.map(function (popup) { return popup.element; });\n };\n PopupService.prototype.getPopupList = function () {\n return this.popupList;\n };\n PopupService.prototype.getParentRect = function () {\n // subtract the popup parent borders, because popupParent.getBoundingClientRect\n // returns the rect outside the borders, but the 0,0 coordinate for absolute\n // positioning is inside the border, leading the popup to be off by the width\n // of the border\n var eDocument = this.gridOptionsWrapper.getDocument();\n var popupParent = this.getPopupParent();\n if (popupParent === eDocument.body) {\n popupParent = eDocument.documentElement;\n }\n else if (getComputedStyle(popupParent).position === 'static') {\n popupParent = popupParent.offsetParent;\n }\n var style = getComputedStyle(popupParent);\n var bounds = popupParent.getBoundingClientRect();\n return {\n top: bounds.top + parseFloat(style.borderTopWidth) || 0,\n left: bounds.left + parseFloat(style.borderLeftWidth) || 0,\n right: bounds.right + parseFloat(style.borderRightWidth) || 0,\n bottom: bounds.bottom + parseFloat(style.borderBottomWidth) || 0,\n };\n };\n PopupService.prototype.keepXYWithinBounds = function (ePopup, position, direction) {\n var isVertical = direction === DIRECTION.vertical;\n var sizeProperty = isVertical ? 'clientHeight' : 'clientWidth';\n var anchorProperty = isVertical ? 'top' : 'left';\n var offsetProperty = isVertical ? 'offsetHeight' : 'offsetWidth';\n var scrollPositionProperty = isVertical ? 'scrollTop' : 'scrollLeft';\n var eDocument = this.gridOptionsWrapper.getDocument();\n var docElement = eDocument.documentElement;\n var popupParent = this.getPopupParent();\n var parentRect = popupParent.getBoundingClientRect();\n var documentRect = eDocument.documentElement.getBoundingClientRect();\n var isBody = popupParent === eDocument.body;\n var offsetSize = ePopup[offsetProperty];\n var getSize = isVertical ? getAbsoluteHeight : getAbsoluteWidth;\n var sizeOfParent = isBody ? (getSize(docElement) + docElement[scrollPositionProperty]) : popupParent[sizeProperty];\n if (isBody) {\n sizeOfParent -= Math.abs(documentRect[anchorProperty] - parentRect[anchorProperty]);\n }\n var max = sizeOfParent - offsetSize;\n return Math.min(Math.max(position, 0), Math.abs(max));\n };\n PopupService.prototype.keepPopupPositionedRelativeTo = function (params) {\n var _this = this;\n var eParent = this.getPopupParent();\n var parentRect = eParent.getBoundingClientRect();\n var sourceRect = params.element.getBoundingClientRect();\n var initialDiffTop = parentRect.top - sourceRect.top;\n var initialDiffLeft = parentRect.left - sourceRect.left;\n var lastDiffTop = initialDiffTop;\n var lastDiffLeft = initialDiffLeft;\n var topPx = params.ePopup.style.top;\n var top = parseInt(topPx.substring(0, topPx.length - 1), 10);\n var leftPx = params.ePopup.style.left;\n var left = parseInt(leftPx.substring(0, leftPx.length - 1), 10);\n return new AgPromise(function (resolve) {\n _this.getFrameworkOverrides().setInterval(function () {\n var pRect = eParent.getBoundingClientRect();\n var sRect = params.element.getBoundingClientRect();\n var elementNotInDom = sRect.top == 0 && sRect.left == 0 && sRect.height == 0 && sRect.width == 0;\n if (elementNotInDom) {\n params.hidePopup();\n return;\n }\n var currentDiffTop = pRect.top - sRect.top;\n if (currentDiffTop != lastDiffTop) {\n var newTop = _this.keepXYWithinBounds(params.ePopup, top + initialDiffTop - currentDiffTop, DIRECTION.vertical);\n params.ePopup.style.top = newTop + \"px\";\n }\n lastDiffTop = currentDiffTop;\n var currentDiffLeft = pRect.left - sRect.left;\n if (currentDiffLeft != lastDiffLeft) {\n var newLeft = _this.keepXYWithinBounds(params.ePopup, left + initialDiffLeft - currentDiffLeft, DIRECTION.horizontal);\n params.ePopup.style.left = newLeft + \"px\";\n }\n lastDiffLeft = currentDiffLeft;\n }, 200).then(function (intervalId) {\n var result = function () {\n if (intervalId != null) {\n window.clearInterval(intervalId);\n }\n };\n resolve(result);\n });\n });\n };\n PopupService.prototype.addPopup = function (params) {\n var _a;\n var _this = this;\n var modal = params.modal, eChild = params.eChild, closeOnEsc = params.closeOnEsc, closedCallback = params.closedCallback, click = params.click, alwaysOnTop = params.alwaysOnTop, afterGuiAttached = params.afterGuiAttached, positionCallback = params.positionCallback, anchorToElement = params.anchorToElement, ariaLabel = params.ariaLabel;\n var eDocument = this.gridOptionsWrapper.getDocument();\n var destroyPositionTracker = new AgPromise(function (resolve) { return resolve(function () { }); });\n if (!eDocument) {\n console.warn('ag-grid: could not find the document, document is empty');\n return { hideFunc: function () { }, stopAnchoringPromise: destroyPositionTracker };\n }\n var pos = this.popupList.findIndex(function (popup) { return popup.element === eChild; });\n if (pos !== -1) {\n var popup = this.popupList[pos];\n return { hideFunc: popup.hideFunc, stopAnchoringPromise: popup.stopAnchoringPromise };\n }\n var ePopupParent = this.getPopupParent();\n if (eChild.style.top == null) {\n eChild.style.top = '0px';\n }\n if (eChild.style.left == null) {\n eChild.style.left = '0px';\n }\n // add env CSS class to child, in case user provided a popup parent, which means\n // theme class may be missing\n var eWrapper = document.createElement('div');\n var allThemes = this.environment.getTheme().allThemes;\n if (allThemes.length) {\n (_a = eWrapper.classList).add.apply(_a, __spread$5(allThemes));\n }\n eWrapper.classList.add('ag-popup');\n eChild.classList.add(this.gridOptionsWrapper.isEnableRtl() ? 'ag-rtl' : 'ag-ltr', 'ag-popup-child');\n if (!eChild.hasAttribute('role')) {\n setAriaRole(eChild, 'dialog');\n }\n setAriaLabel(eChild, ariaLabel);\n if (this.focusService.isKeyboardMode()) {\n eChild.classList.add(FocusService.AG_KEYBOARD_FOCUS);\n }\n eWrapper.appendChild(eChild);\n ePopupParent.appendChild(eWrapper);\n if (alwaysOnTop) {\n this.setAlwaysOnTop(eWrapper, true);\n }\n else {\n this.bringPopupToFront(eWrapper);\n }\n var popupHidden = false;\n var hidePopupOnKeyboardEvent = function (event) {\n if (!eWrapper.contains(eDocument.activeElement)) {\n return;\n }\n var key = event.key;\n if (key === KeyCode.ESCAPE) {\n hidePopup({ keyboardEvent: event });\n }\n };\n var hidePopupOnMouseEvent = function (event) { return hidePopup({ mouseEvent: event }); };\n var hidePopupOnTouchEvent = function (event) { return hidePopup({ touchEvent: event }); };\n var hidePopup = function (popupParams) {\n if (popupParams === void 0) { popupParams = {}; }\n var mouseEvent = popupParams.mouseEvent, touchEvent = popupParams.touchEvent, keyboardEvent = popupParams.keyboardEvent;\n if (\n // we don't hide popup if the event was on the child, or any\n // children of this child\n _this.isEventFromCurrentPopup({ mouseEvent: mouseEvent, touchEvent: touchEvent }, eChild) ||\n // if the event to close is actually the open event, then ignore it\n _this.isEventSameChainAsOriginalEvent({ originalMouseEvent: click, mouseEvent: mouseEvent, touchEvent: touchEvent }) ||\n // this method should only be called once. the client can have different\n // paths, each one wanting to close, so this method may be called multiple times.\n popupHidden) {\n return;\n }\n popupHidden = true;\n ePopupParent.removeChild(eWrapper);\n eDocument.removeEventListener('keydown', hidePopupOnKeyboardEvent);\n eDocument.removeEventListener('mousedown', hidePopupOnMouseEvent);\n eDocument.removeEventListener('touchstart', hidePopupOnTouchEvent);\n eDocument.removeEventListener('contextmenu', hidePopupOnMouseEvent);\n _this.eventService.removeEventListener(Events.EVENT_DRAG_STARTED, hidePopupOnMouseEvent);\n if (closedCallback) {\n closedCallback(mouseEvent || touchEvent || keyboardEvent);\n }\n _this.popupList = _this.popupList.filter(function (popup) { return popup.element !== eChild; });\n if (destroyPositionTracker) {\n destroyPositionTracker.then(function (destroyFunc) { return destroyFunc && destroyFunc(); });\n }\n };\n if (afterGuiAttached) {\n afterGuiAttached({ hidePopup: hidePopup });\n }\n // if we add these listeners now, then the current mouse\n // click will be included, which we don't want\n window.setTimeout(function () {\n if (closeOnEsc) {\n eDocument.addEventListener('keydown', hidePopupOnKeyboardEvent);\n }\n if (modal) {\n eDocument.addEventListener('mousedown', hidePopupOnMouseEvent);\n _this.eventService.addEventListener(Events.EVENT_DRAG_STARTED, hidePopupOnMouseEvent);\n eDocument.addEventListener('touchstart', hidePopupOnTouchEvent);\n eDocument.addEventListener('contextmenu', hidePopupOnMouseEvent);\n }\n }, 0);\n if (positionCallback) {\n positionCallback();\n }\n if (anchorToElement) {\n // keeps popup positioned under created, eg if context menu, if user scrolls\n // using touchpad and the cell moves, it moves the popup to keep it with the cell.\n destroyPositionTracker = this.keepPopupPositionedRelativeTo({\n element: anchorToElement,\n ePopup: eChild,\n hidePopup: hidePopup\n });\n }\n this.popupList.push({\n element: eChild,\n wrapper: eWrapper,\n hideFunc: hidePopup,\n stopAnchoringPromise: destroyPositionTracker,\n instanceId: instanceIdSeq++,\n isAnchored: !!anchorToElement\n });\n return {\n hideFunc: hidePopup,\n stopAnchoringPromise: destroyPositionTracker\n };\n };\n PopupService.prototype.hasAnchoredPopup = function () {\n return this.popupList.some(function (popup) { return popup.isAnchored; });\n };\n PopupService.prototype.isEventFromCurrentPopup = function (params, target) {\n var mouseEvent = params.mouseEvent, touchEvent = params.touchEvent;\n var event = mouseEvent ? mouseEvent : touchEvent;\n if (!event) {\n return false;\n }\n var indexOfThisChild = this.popupList.findIndex(function (popup) { return popup.element === target; });\n if (indexOfThisChild === -1) {\n return false;\n }\n for (var i = indexOfThisChild; i < this.popupList.length; i++) {\n var popup = this.popupList[i];\n if (isElementInEventPath(popup.element, event)) {\n return true;\n }\n }\n // if the user did not write their own Custom Element to be rendered as popup\n // and this component has an additional popup element, they should have the\n // `ag-custom-component-popup` class to be detected as part of the Custom Component\n return this.isElementWithinCustomPopup(event.target);\n };\n PopupService.prototype.isElementWithinCustomPopup = function (el) {\n var eDocument = this.gridOptionsWrapper.getDocument();\n while (el && el !== eDocument.body) {\n if (el.classList.contains('ag-custom-component-popup') || el.parentElement === null) {\n return true;\n }\n el = el.parentElement;\n }\n return false;\n };\n // in some browsers, the context menu event can be fired before the click event, which means\n // the context menu event could open the popup, but then the click event closes it straight away.\n PopupService.prototype.isEventSameChainAsOriginalEvent = function (params) {\n var originalMouseEvent = params.originalMouseEvent, mouseEvent = params.mouseEvent, touchEvent = params.touchEvent;\n // we check the coordinates of the event, to see if it's the same event. there is a 1 / 1000 chance that\n // the event is a different event, however that is an edge case that is not very relevant (the user clicking\n // twice on the same location isn't a normal path).\n // event could be mouse event or touch event.\n var mouseEventOrTouch = null;\n if (mouseEvent) {\n // mouse event can be used direction, it has coordinates\n mouseEventOrTouch = mouseEvent;\n }\n else if (touchEvent) {\n // touch event doesn't have coordinates, need it's touch object\n mouseEventOrTouch = touchEvent.touches[0];\n }\n if (mouseEventOrTouch && originalMouseEvent) {\n // for x, allow 4px margin, to cover iPads, where touch (which opens menu) is followed\n // by browser click (when you finger up, touch is interrupted as click in browser)\n var screenX_1 = mouseEvent ? mouseEvent.screenX : 0;\n var screenY_1 = mouseEvent ? mouseEvent.screenY : 0;\n var xMatch = Math.abs(originalMouseEvent.screenX - screenX_1) < 5;\n var yMatch = Math.abs(originalMouseEvent.screenY - screenY_1) < 5;\n if (xMatch && yMatch) {\n return true;\n }\n }\n return false;\n };\n PopupService.prototype.getWrapper = function (ePopup) {\n while (!ePopup.classList.contains('ag-popup') && ePopup.parentElement) {\n ePopup = ePopup.parentElement;\n }\n return ePopup.classList.contains('ag-popup') ? ePopup : null;\n };\n PopupService.prototype.setAlwaysOnTop = function (ePopup, alwaysOnTop) {\n var eWrapper = this.getWrapper(ePopup);\n if (!eWrapper) {\n return;\n }\n eWrapper.classList.toggle('ag-always-on-top', !!alwaysOnTop);\n if (alwaysOnTop) {\n this.bringPopupToFront(eWrapper);\n }\n };\n PopupService.prototype.bringPopupToFront = function (ePopup) {\n var parent = this.getPopupParent();\n var popupList = Array.prototype.slice.call(parent.querySelectorAll('.ag-popup'));\n var popupLen = popupList.length;\n var alwaysOnTopList = Array.prototype.slice.call(parent.querySelectorAll('.ag-popup.ag-always-on-top'));\n var onTopLength = alwaysOnTopList.length;\n var eWrapper = this.getWrapper(ePopup);\n if (!eWrapper || popupLen <= 1 || !parent.contains(ePopup)) {\n return;\n }\n var pos = popupList.indexOf(eWrapper);\n var innerEls = eWrapper.querySelectorAll('div');\n var innerElsScrollMap = [];\n innerEls.forEach(function (el) {\n if (el.scrollTop !== 0) {\n innerElsScrollMap.push([el, el.scrollTop]);\n }\n });\n if (onTopLength) {\n var isPopupAlwaysOnTop = eWrapper.classList.contains('ag-always-on-top');\n if (isPopupAlwaysOnTop) {\n if (pos !== popupLen - 1) {\n last(alwaysOnTopList).insertAdjacentElement('afterend', eWrapper);\n }\n }\n else if (pos !== popupLen - onTopLength - 1) {\n alwaysOnTopList[0].insertAdjacentElement('beforebegin', eWrapper);\n }\n }\n else if (pos !== popupLen - 1) {\n last(popupList).insertAdjacentElement('afterend', eWrapper);\n }\n while (innerElsScrollMap.length) {\n var currentEl = innerElsScrollMap.pop();\n currentEl[0].scrollTop = currentEl[1];\n }\n var params = {\n type: 'popupToFront',\n api: this.gridOptionsWrapper.getApi(),\n columnApi: this.gridOptionsWrapper.getColumnApi(),\n eWrapper: eWrapper\n };\n this.eventService.dispatchEvent(params);\n };\n var PopupService_1;\n PopupService.WAIT_FOR_POPUP_CONTENT_RESIZE = 200;\n __decorate$O([\n Autowired('environment')\n ], PopupService.prototype, \"environment\", void 0);\n __decorate$O([\n Autowired('focusService')\n ], PopupService.prototype, \"focusService\", void 0);\n __decorate$O([\n Autowired('ctrlsService')\n ], PopupService.prototype, \"ctrlsService\", void 0);\n __decorate$O([\n Autowired('resizeObserverService')\n ], PopupService.prototype, \"resizeObserverService\", void 0);\n __decorate$O([\n Autowired('gridOptionsWrapper')\n ], PopupService.prototype, \"gridOptionsWrapper\", void 0);\n __decorate$O([\n PostConstruct\n ], PopupService.prototype, \"postConstruct\", null);\n PopupService = PopupService_1 = __decorate$O([\n Bean('popupService')\n ], PopupService);\n return PopupService;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$L = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$N = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar VirtualList = /** @class */ (function (_super) {\n __extends$L(VirtualList, _super);\n function VirtualList(cssIdentifier, ariaRole, listName) {\n if (cssIdentifier === void 0) { cssIdentifier = 'default'; }\n if (ariaRole === void 0) { ariaRole = 'listbox'; }\n var _this = _super.call(this, VirtualList.getTemplate(cssIdentifier)) || this;\n _this.cssIdentifier = cssIdentifier;\n _this.ariaRole = ariaRole;\n _this.listName = listName;\n _this.renderedRows = new Map();\n _this.rowHeight = 20;\n return _this;\n }\n VirtualList.prototype.postConstruct = function () {\n var _this = this;\n this.addScrollListener();\n this.rowHeight = this.getItemHeight();\n this.addResizeObserver();\n this.initialiseTabGuard({\n onFocusIn: function (e) { return _this.onFocusIn(e); },\n onFocusOut: function (e) { return _this.onFocusOut(e); },\n focusInnerElement: function (fromBottom) { return _this.focusInnerElement(fromBottom); },\n onTabKeyDown: function (e) { return _this.onTabKeyDown(e); },\n handleKeyDown: function (e) { return _this.handleKeyDown(e); }\n });\n this.setAriaProperties();\n };\n VirtualList.prototype.setAriaProperties = function () {\n var translate = this.gridOptionsWrapper.getLocaleTextFunc();\n var listName = translate('ariaDefaultListName', this.listName || 'List');\n var ariaEl = this.eContainer;\n setAriaRole(ariaEl, this.ariaRole);\n setAriaLabel(ariaEl, listName);\n };\n VirtualList.prototype.addResizeObserver = function () {\n var listener = this.drawVirtualRows.bind(this);\n var destroyObserver = this.resizeObserverService.observeResize(this.getGui(), listener);\n this.addDestroyFunc(destroyObserver);\n };\n VirtualList.prototype.focusInnerElement = function (fromBottom) {\n this.focusRow(fromBottom ? this.model.getRowCount() - 1 : 0);\n };\n VirtualList.prototype.onFocusIn = function (e) {\n var target = e.target;\n if (target.classList.contains('ag-virtual-list-item')) {\n this.lastFocusedRowIndex = getAriaPosInSet(target) - 1;\n }\n return false;\n };\n VirtualList.prototype.onFocusOut = function (e) {\n if (!this.getFocusableElement().contains(e.relatedTarget)) {\n this.lastFocusedRowIndex = null;\n }\n return false;\n };\n VirtualList.prototype.handleKeyDown = function (e) {\n switch (e.key) {\n case KeyCode.UP:\n case KeyCode.DOWN:\n if (this.navigate(e.key === KeyCode.UP)) {\n e.preventDefault();\n }\n break;\n }\n };\n VirtualList.prototype.onTabKeyDown = function (e) {\n if (this.navigate(e.shiftKey)) {\n e.preventDefault();\n }\n else {\n // focus on the first or last focusable element to ensure that any other handlers start from there\n this.focusService.focusInto(this.getGui(), !e.shiftKey);\n }\n };\n VirtualList.prototype.navigate = function (up) {\n if (this.lastFocusedRowIndex == null) {\n return false;\n }\n var nextRow = this.lastFocusedRowIndex + (up ? -1 : 1);\n if (nextRow < 0 || nextRow >= this.model.getRowCount()) {\n return false;\n }\n this.focusRow(nextRow);\n return true;\n };\n VirtualList.prototype.getLastFocusedRow = function () {\n return this.lastFocusedRowIndex;\n };\n VirtualList.prototype.focusRow = function (rowNumber) {\n var _this = this;\n this.ensureIndexVisible(rowNumber);\n window.setTimeout(function () {\n if (!_this.isAlive()) {\n return;\n }\n var renderedRow = _this.renderedRows.get(rowNumber);\n if (renderedRow) {\n renderedRow.eDiv.focus();\n }\n }, 10);\n };\n VirtualList.prototype.getComponentAt = function (rowIndex) {\n var comp = this.renderedRows.get(rowIndex);\n return comp && comp.rowComponent;\n };\n VirtualList.prototype.forEachRenderedRow = function (func) {\n this.renderedRows.forEach(function (value, key) { return func(value.rowComponent, key); });\n };\n VirtualList.getTemplate = function (cssIdentifier) {\n return /* html */ \"\\n
    \\n
    \\n
    \";\n };\n VirtualList.prototype.getItemHeight = function () {\n return this.gridOptionsWrapper.getListItemHeight();\n };\n VirtualList.prototype.ensureIndexVisible = function (index) {\n var lastRow = this.model.getRowCount();\n if (typeof index !== 'number' || index < 0 || index >= lastRow) {\n console.warn('AG Grid: invalid row index for ensureIndexVisible: ' + index);\n return;\n }\n var rowTopPixel = index * this.rowHeight;\n var rowBottomPixel = rowTopPixel + this.rowHeight;\n var eGui = this.getGui();\n var viewportTopPixel = eGui.scrollTop;\n var viewportHeight = eGui.offsetHeight;\n var viewportBottomPixel = viewportTopPixel + viewportHeight;\n var viewportScrolledPastRow = viewportTopPixel > rowTopPixel;\n var viewportScrolledBeforeRow = viewportBottomPixel < rowBottomPixel;\n if (viewportScrolledPastRow) {\n // if row is before, scroll up with row at top\n eGui.scrollTop = rowTopPixel;\n }\n else if (viewportScrolledBeforeRow) {\n // if row is below, scroll down with row at bottom\n var newScrollPosition = rowBottomPixel - viewportHeight;\n eGui.scrollTop = newScrollPosition;\n }\n };\n VirtualList.prototype.setComponentCreator = function (componentCreator) {\n this.componentCreator = componentCreator;\n };\n VirtualList.prototype.getRowHeight = function () {\n return this.rowHeight;\n };\n VirtualList.prototype.getScrollTop = function () {\n return this.getGui().scrollTop;\n };\n VirtualList.prototype.setRowHeight = function (rowHeight) {\n this.rowHeight = rowHeight;\n this.refresh();\n };\n VirtualList.prototype.refresh = function () {\n var _this = this;\n if (this.model == null || !this.isAlive()) {\n return;\n }\n var rowCount = this.model.getRowCount();\n this.eContainer.style.height = rowCount * this.rowHeight + \"px\";\n // ensure height is applied before attempting to redraw rows\n waitUntil(function () { return _this.eContainer.clientHeight >= rowCount * _this.rowHeight; }, function () {\n if (!_this.isAlive()) {\n return;\n }\n _this.clearVirtualRows();\n _this.drawVirtualRows();\n });\n };\n VirtualList.prototype.clearVirtualRows = function () {\n var _this = this;\n this.renderedRows.forEach(function (_, rowIndex) { return _this.removeRow(rowIndex); });\n };\n VirtualList.prototype.drawVirtualRows = function () {\n if (!this.isAlive()) {\n return;\n }\n var gui = this.getGui();\n var topPixel = gui.scrollTop;\n var bottomPixel = topPixel + gui.offsetHeight;\n var firstRow = Math.floor(topPixel / this.rowHeight);\n var lastRow = Math.floor(bottomPixel / this.rowHeight);\n this.ensureRowsRendered(firstRow, lastRow);\n };\n VirtualList.prototype.ensureRowsRendered = function (start, finish) {\n var _this = this;\n // remove any rows that are no longer required\n this.renderedRows.forEach(function (_, rowIndex) {\n if ((rowIndex < start || rowIndex > finish) && rowIndex !== _this.lastFocusedRowIndex) {\n _this.removeRow(rowIndex);\n }\n });\n // insert any required new rows\n for (var rowIndex = start; rowIndex <= finish; rowIndex++) {\n if (this.renderedRows.has(rowIndex)) {\n continue;\n }\n // check this row actually exists (in case overflow buffer window exceeds real data)\n if (rowIndex < this.model.getRowCount()) {\n this.insertRow(rowIndex);\n }\n }\n };\n VirtualList.prototype.insertRow = function (rowIndex) {\n var _this = this;\n var value = this.model.getRow(rowIndex);\n var eDiv = document.createElement('div');\n eDiv.classList.add('ag-virtual-list-item', \"ag-\" + this.cssIdentifier + \"-virtual-list-item\");\n setAriaRole(eDiv, this.ariaRole === 'tree' ? 'treeitem' : 'option');\n setAriaSetSize(eDiv, this.model.getRowCount());\n setAriaPosInSet(eDiv, rowIndex + 1);\n eDiv.setAttribute('tabindex', '-1');\n if (typeof this.model.isRowSelected === 'function') {\n var isSelected = this.model.isRowSelected(rowIndex);\n setAriaSelected(eDiv, !!isSelected);\n setAriaChecked(eDiv, isSelected);\n }\n eDiv.style.height = this.rowHeight + \"px\";\n eDiv.style.top = this.rowHeight * rowIndex + \"px\";\n var rowComponent = this.componentCreator(value, eDiv);\n rowComponent.addGuiEventListener('focusin', function () { return _this.lastFocusedRowIndex = rowIndex; });\n eDiv.appendChild(rowComponent.getGui());\n // keep the DOM order consistent with the order of the rows\n if (this.renderedRows.has(rowIndex - 1)) {\n this.renderedRows.get(rowIndex - 1).eDiv.insertAdjacentElement('afterend', eDiv);\n }\n else if (this.renderedRows.has(rowIndex + 1)) {\n this.renderedRows.get(rowIndex + 1).eDiv.insertAdjacentElement('beforebegin', eDiv);\n }\n else {\n this.eContainer.appendChild(eDiv);\n }\n this.renderedRows.set(rowIndex, { rowComponent: rowComponent, eDiv: eDiv });\n };\n VirtualList.prototype.removeRow = function (rowIndex) {\n var component = this.renderedRows.get(rowIndex);\n this.eContainer.removeChild(component.eDiv);\n this.destroyBean(component.rowComponent);\n this.renderedRows.delete(rowIndex);\n };\n VirtualList.prototype.addScrollListener = function () {\n var _this = this;\n this.addGuiEventListener('scroll', function () { return _this.drawVirtualRows(); });\n };\n VirtualList.prototype.setModel = function (model) {\n this.model = model;\n };\n VirtualList.prototype.destroy = function () {\n if (!this.isAlive()) {\n return;\n }\n this.clearVirtualRows();\n _super.prototype.destroy.call(this);\n };\n __decorate$N([\n Autowired('resizeObserverService')\n ], VirtualList.prototype, \"resizeObserverService\", void 0);\n __decorate$N([\n Autowired('focusService')\n ], VirtualList.prototype, \"focusService\", void 0);\n __decorate$N([\n RefSelector('eContainer')\n ], VirtualList.prototype, \"eContainer\", void 0);\n __decorate$N([\n PostConstruct\n ], VirtualList.prototype, \"postConstruct\", null);\n return VirtualList;\n}(TabGuardComp));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar OUTSIDE_ANGULAR_EVENTS = ['mouseover', 'mouseout', 'mouseenter', 'mouseleave'];\nvar PASSIVE_EVENTS = ['touchstart', 'touchend', 'touchmove', 'touchcancel'];\n/** The base frameworks, eg React & Angular, override this bean with implementations specific to their requirement. */\nvar VanillaFrameworkOverrides = /** @class */ (function () {\n function VanillaFrameworkOverrides() {\n this.isOutsideAngular = function (eventType) { return includes(OUTSIDE_ANGULAR_EVENTS, eventType); };\n }\n // for Vanilla JS, we use simple timeout\n VanillaFrameworkOverrides.prototype.setTimeout = function (action, timeout) {\n window.setTimeout(action, timeout);\n };\n VanillaFrameworkOverrides.prototype.setInterval = function (action, timeout) {\n return new AgPromise(function (resolve) {\n resolve(window.setInterval(action, timeout));\n });\n };\n // for Vanilla JS, we just add the event to the element\n VanillaFrameworkOverrides.prototype.addEventListener = function (element, type, listener, useCapture) {\n var isPassive = includes(PASSIVE_EVENTS, type);\n element.addEventListener(type, listener, { capture: !!useCapture, passive: isPassive });\n };\n // for Vanilla JS, we just execute the listener\n VanillaFrameworkOverrides.prototype.dispatchEvent = function (eventType, listener, global) {\n listener();\n };\n VanillaFrameworkOverrides.prototype.frameworkComponent = function (name) {\n return null;\n };\n VanillaFrameworkOverrides.prototype.isFrameworkComponent = function (comp) {\n return false;\n };\n return VanillaFrameworkOverrides;\n}());\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$K = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$M = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __read$5 = (undefined && undefined.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar __spread$4 = (undefined && undefined.__spread) || function () {\n for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$5(arguments[i]));\n return ar;\n};\nvar CellNavigationService = /** @class */ (function (_super) {\n __extends$K(CellNavigationService, _super);\n function CellNavigationService() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n // returns null if no cell to focus on, ie at the end of the grid\n CellNavigationService.prototype.getNextCellToFocus = function (key, focusedCell, ctrlPressed) {\n if (ctrlPressed === void 0) { ctrlPressed = false; }\n if (ctrlPressed) {\n return this.getNextCellToFocusWithCtrlPressed(key, focusedCell);\n }\n return this.getNextCellToFocusWithoutCtrlPressed(key, focusedCell);\n };\n CellNavigationService.prototype.getNextCellToFocusWithCtrlPressed = function (key, focusedCell) {\n var upKey = key === KeyCode.UP;\n var downKey = key === KeyCode.DOWN;\n var leftKey = key === KeyCode.LEFT;\n var column;\n var rowIndex;\n if (upKey || downKey) {\n rowIndex = upKey ? this.paginationProxy.getPageFirstRow() : this.paginationProxy.getPageLastRow();\n column = focusedCell.column;\n }\n else {\n var allColumns = this.columnModel.getAllDisplayedColumns();\n var isRtl = this.gridOptionsWrapper.isEnableRtl();\n rowIndex = focusedCell.rowIndex;\n column = leftKey !== isRtl ? allColumns[0] : last(allColumns);\n }\n return {\n rowIndex: rowIndex,\n rowPinned: null,\n column: column\n };\n };\n CellNavigationService.prototype.getNextCellToFocusWithoutCtrlPressed = function (key, focusedCell) {\n // starting with the provided cell, we keep moving until we find a cell we can\n // focus on.\n var pointer = focusedCell;\n var finished = false;\n // finished will be true when either:\n // a) cell found that we can focus on\n // b) run out of cells (ie the method returns null)\n while (!finished) {\n switch (key) {\n case KeyCode.UP:\n pointer = this.getCellAbove(pointer);\n break;\n case KeyCode.DOWN:\n pointer = this.getCellBelow(pointer);\n break;\n case KeyCode.RIGHT:\n if (this.gridOptionsWrapper.isEnableRtl()) {\n pointer = this.getCellToLeft(pointer);\n }\n else {\n pointer = this.getCellToRight(pointer);\n }\n break;\n case KeyCode.LEFT:\n if (this.gridOptionsWrapper.isEnableRtl()) {\n pointer = this.getCellToRight(pointer);\n }\n else {\n pointer = this.getCellToLeft(pointer);\n }\n break;\n default:\n pointer = null;\n console.warn('AG Grid: unknown key for navigation ' + key);\n break;\n }\n if (pointer) {\n finished = this.isCellGoodToFocusOn(pointer);\n }\n else {\n finished = true;\n }\n }\n return pointer;\n };\n CellNavigationService.prototype.isCellGoodToFocusOn = function (gridCell) {\n var column = gridCell.column;\n var rowNode;\n switch (gridCell.rowPinned) {\n case Constants.PINNED_TOP:\n rowNode = this.pinnedRowModel.getPinnedTopRow(gridCell.rowIndex);\n break;\n case Constants.PINNED_BOTTOM:\n rowNode = this.pinnedRowModel.getPinnedBottomRow(gridCell.rowIndex);\n break;\n default:\n rowNode = this.rowModel.getRow(gridCell.rowIndex);\n break;\n }\n if (!rowNode) {\n return false;\n }\n var suppressNavigable = column.isSuppressNavigable(rowNode);\n return !suppressNavigable;\n };\n CellNavigationService.prototype.getCellToLeft = function (lastCell) {\n if (!lastCell) {\n return null;\n }\n var colToLeft = this.columnModel.getDisplayedColBefore(lastCell.column);\n if (!colToLeft) {\n return null;\n }\n return {\n rowIndex: lastCell.rowIndex,\n column: colToLeft,\n rowPinned: lastCell.rowPinned\n };\n };\n CellNavigationService.prototype.getCellToRight = function (lastCell) {\n if (!lastCell) {\n return null;\n }\n var colToRight = this.columnModel.getDisplayedColAfter(lastCell.column);\n // if already on right, do nothing\n if (!colToRight) {\n return null;\n }\n return {\n rowIndex: lastCell.rowIndex,\n column: colToRight,\n rowPinned: lastCell.rowPinned\n };\n };\n CellNavigationService.prototype.getRowBelow = function (rowPosition) {\n // if already on top row, do nothing\n var index = rowPosition.rowIndex;\n var pinned = rowPosition.rowPinned;\n if (this.isLastRowInContainer(rowPosition)) {\n switch (pinned) {\n case Constants.PINNED_BOTTOM:\n // never any rows after pinned bottom\n return null;\n case Constants.PINNED_TOP:\n // if on last row of pinned top, then next row is main body (if rows exist),\n // otherwise it's the pinned bottom\n if (this.rowModel.isRowsToRender()) {\n return { rowIndex: this.paginationProxy.getPageFirstRow(), rowPinned: null };\n }\n if (this.pinnedRowModel.isRowsToRender(Constants.PINNED_BOTTOM)) {\n return { rowIndex: 0, rowPinned: Constants.PINNED_BOTTOM };\n }\n return null;\n default:\n // if in the main body, then try pinned bottom, otherwise return nothing\n if (this.pinnedRowModel.isRowsToRender(Constants.PINNED_BOTTOM)) {\n return { rowIndex: 0, rowPinned: Constants.PINNED_BOTTOM };\n }\n return null;\n }\n }\n var rowNode = this.rowModel.getRow(rowPosition.rowIndex);\n var nextStickyPosition = this.getNextStickyPosition(rowNode);\n if (nextStickyPosition) {\n return nextStickyPosition;\n }\n return { rowIndex: index + 1, rowPinned: pinned };\n };\n CellNavigationService.prototype.getNextStickyPosition = function (rowNode, up) {\n if (!this.gridOptionsWrapper.isGroupRowsSticky() || !rowNode || !rowNode.sticky) {\n return;\n }\n var stickyRowCtrls = __spread$4(this.rowRenderer.getStickyTopRowCtrls()).sort(function (a, b) { return a.getRowNode().rowIndex - b.getRowNode().rowIndex; });\n var diff = up ? -1 : 1;\n var idx = stickyRowCtrls.findIndex(function (ctrl) { return ctrl.getRowNode().rowIndex === rowNode.rowIndex; });\n var nextCtrl = stickyRowCtrls[idx + diff];\n if (nextCtrl) {\n return { rowIndex: nextCtrl.getRowNode().rowIndex, rowPinned: null };\n }\n };\n CellNavigationService.prototype.getCellBelow = function (lastCell) {\n if (!lastCell) {\n return null;\n }\n var rowBelow = this.getRowBelow(lastCell);\n if (rowBelow) {\n return {\n rowIndex: rowBelow.rowIndex,\n column: lastCell.column,\n rowPinned: rowBelow.rowPinned\n };\n }\n return null;\n };\n CellNavigationService.prototype.isLastRowInContainer = function (rowPosition) {\n var pinned = rowPosition.rowPinned;\n var index = rowPosition.rowIndex;\n if (pinned === Constants.PINNED_TOP) {\n var lastTopIndex = this.pinnedRowModel.getPinnedTopRowData().length - 1;\n return lastTopIndex <= index;\n }\n if (pinned === Constants.PINNED_BOTTOM) {\n var lastBottomIndex = this.pinnedRowModel.getPinnedBottomRowData().length - 1;\n return lastBottomIndex <= index;\n }\n var lastBodyIndex = this.paginationProxy.getPageLastRow();\n return lastBodyIndex <= index;\n };\n CellNavigationService.prototype.getRowAbove = function (rowPosition) {\n // if already on top row, do nothing\n var index = rowPosition.rowIndex;\n var pinned = rowPosition.rowPinned;\n var isFirstRow = pinned ? index === 0 : index === this.paginationProxy.getPageFirstRow();\n // if already on top row, do nothing\n if (isFirstRow) {\n if (pinned === Constants.PINNED_TOP) {\n return null;\n }\n if (!pinned) {\n if (this.pinnedRowModel.isRowsToRender(Constants.PINNED_TOP)) {\n return this.getLastFloatingTopRow();\n }\n return null;\n }\n // last floating bottom\n if (this.rowModel.isRowsToRender()) {\n return this.getLastBodyCell();\n }\n if (this.pinnedRowModel.isRowsToRender(Constants.PINNED_TOP)) {\n return this.getLastFloatingTopRow();\n }\n return null;\n }\n var rowNode = this.rowModel.getRow(rowPosition.rowIndex);\n var nextStickyPosition = this.getNextStickyPosition(rowNode, true);\n if (nextStickyPosition) {\n return nextStickyPosition;\n }\n return { rowIndex: index - 1, rowPinned: pinned };\n };\n CellNavigationService.prototype.getCellAbove = function (lastCell) {\n if (!lastCell) {\n return null;\n }\n var rowAbove = this.getRowAbove({ rowIndex: lastCell.rowIndex, rowPinned: lastCell.rowPinned });\n if (rowAbove) {\n return {\n rowIndex: rowAbove.rowIndex,\n column: lastCell.column,\n rowPinned: rowAbove.rowPinned\n };\n }\n return null;\n };\n CellNavigationService.prototype.getLastBodyCell = function () {\n var lastBodyRow = this.paginationProxy.getPageLastRow();\n return { rowIndex: lastBodyRow, rowPinned: null };\n };\n CellNavigationService.prototype.getLastFloatingTopRow = function () {\n var lastFloatingRow = this.pinnedRowModel.getPinnedTopRowData().length - 1;\n return { rowIndex: lastFloatingRow, rowPinned: Constants.PINNED_TOP };\n };\n CellNavigationService.prototype.getNextTabbedCell = function (gridCell, backwards) {\n if (backwards) {\n return this.getNextTabbedCellBackwards(gridCell);\n }\n return this.getNextTabbedCellForwards(gridCell);\n };\n CellNavigationService.prototype.getNextTabbedCellForwards = function (gridCell) {\n var displayedColumns = this.columnModel.getAllDisplayedColumns();\n var newRowIndex = gridCell.rowIndex;\n var newFloating = gridCell.rowPinned;\n // move along to the next cell\n var newColumn = this.columnModel.getDisplayedColAfter(gridCell.column);\n // check if end of the row, and if so, go forward a row\n if (!newColumn) {\n newColumn = displayedColumns[0];\n var rowBelow = this.getRowBelow(gridCell);\n if (missing(rowBelow)) {\n return null;\n }\n // If we are tabbing and there is a paging panel present, tabbing should go\n // to the paging panel instead of loading the next page.\n if (!rowBelow.rowPinned && !this.paginationProxy.isRowInPage(rowBelow)) {\n return null;\n }\n newRowIndex = rowBelow ? rowBelow.rowIndex : null;\n newFloating = rowBelow ? rowBelow.rowPinned : null;\n }\n return { rowIndex: newRowIndex, column: newColumn, rowPinned: newFloating };\n };\n CellNavigationService.prototype.getNextTabbedCellBackwards = function (gridCell) {\n var displayedColumns = this.columnModel.getAllDisplayedColumns();\n var newRowIndex = gridCell.rowIndex;\n var newFloating = gridCell.rowPinned;\n // move along to the next cell\n var newColumn = this.columnModel.getDisplayedColBefore(gridCell.column);\n // check if end of the row, and if so, go forward a row\n if (!newColumn) {\n newColumn = last(displayedColumns);\n var rowAbove = this.getRowAbove({ rowIndex: gridCell.rowIndex, rowPinned: gridCell.rowPinned });\n if (missing(rowAbove)) {\n return null;\n }\n // If we are tabbing and there is a paging panel present, tabbing should go\n // to the paging panel instead of loading the next page.\n if (!rowAbove.rowPinned && !this.paginationProxy.isRowInPage(rowAbove)) {\n return null;\n }\n newRowIndex = rowAbove ? rowAbove.rowIndex : null;\n newFloating = rowAbove ? rowAbove.rowPinned : null;\n }\n return { rowIndex: newRowIndex, column: newColumn, rowPinned: newFloating };\n };\n __decorate$M([\n Autowired('columnModel')\n ], CellNavigationService.prototype, \"columnModel\", void 0);\n __decorate$M([\n Autowired('rowModel')\n ], CellNavigationService.prototype, \"rowModel\", void 0);\n __decorate$M([\n Autowired('rowRenderer')\n ], CellNavigationService.prototype, \"rowRenderer\", void 0);\n __decorate$M([\n Autowired('pinnedRowModel')\n ], CellNavigationService.prototype, \"pinnedRowModel\", void 0);\n __decorate$M([\n Autowired('paginationProxy')\n ], CellNavigationService.prototype, \"paginationProxy\", void 0);\n CellNavigationService = __decorate$M([\n Bean('cellNavigationService')\n ], CellNavigationService);\n return CellNavigationService;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$J = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$L = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __param$5 = (undefined && undefined.__param) || function (paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n};\nvar AlignedGridsService = /** @class */ (function (_super) {\n __extends$J(AlignedGridsService, _super);\n function AlignedGridsService() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n // flag to mark if we are consuming. to avoid cyclic events (ie other grid firing back to master\n // while processing a master event) we mark this if consuming an event, and if we are, then\n // we don't fire back any events.\n _this.consuming = false;\n return _this;\n }\n AlignedGridsService.prototype.setBeans = function (loggerFactory) {\n this.logger = loggerFactory.create('AlignedGridsService');\n };\n AlignedGridsService.prototype.init = function () {\n this.addManagedListener(this.eventService, Events.EVENT_COLUMN_MOVED, this.fireColumnEvent.bind(this));\n this.addManagedListener(this.eventService, Events.EVENT_COLUMN_VISIBLE, this.fireColumnEvent.bind(this));\n this.addManagedListener(this.eventService, Events.EVENT_COLUMN_PINNED, this.fireColumnEvent.bind(this));\n this.addManagedListener(this.eventService, Events.EVENT_COLUMN_GROUP_OPENED, this.fireColumnEvent.bind(this));\n this.addManagedListener(this.eventService, Events.EVENT_COLUMN_RESIZED, this.fireColumnEvent.bind(this));\n this.addManagedListener(this.eventService, Events.EVENT_BODY_SCROLL, this.fireScrollEvent.bind(this));\n };\n // common logic across all the fire methods\n AlignedGridsService.prototype.fireEvent = function (callback) {\n // if we are already consuming, then we are acting on an event from a master,\n // so we don't cause a cyclic firing of events\n if (this.consuming) {\n return;\n }\n // iterate through the aligned grids, and pass each aligned grid service to the callback\n var otherGrids = this.gridOptionsWrapper.getAlignedGrids();\n if (otherGrids) {\n otherGrids.forEach(function (otherGridOptions) {\n if (otherGridOptions.api) {\n var alignedGridService = otherGridOptions.api.__getAlignedGridService();\n callback(alignedGridService);\n }\n });\n }\n };\n // common logic across all consume methods. very little common logic, however extracting\n // guarantees consistency across the methods.\n AlignedGridsService.prototype.onEvent = function (callback) {\n this.consuming = true;\n callback();\n this.consuming = false;\n };\n AlignedGridsService.prototype.fireColumnEvent = function (event) {\n this.fireEvent(function (alignedGridsService) {\n alignedGridsService.onColumnEvent(event);\n });\n };\n AlignedGridsService.prototype.fireScrollEvent = function (event) {\n if (event.direction !== 'horizontal') {\n return;\n }\n this.fireEvent(function (alignedGridsService) {\n alignedGridsService.onScrollEvent(event);\n });\n };\n AlignedGridsService.prototype.onScrollEvent = function (event) {\n var _this = this;\n this.onEvent(function () {\n var gridBodyCon = _this.ctrlsService.getGridBodyCtrl();\n gridBodyCon.getScrollFeature().setHorizontalScrollPosition(event.left);\n });\n };\n AlignedGridsService.prototype.getMasterColumns = function (event) {\n var result = [];\n if (event.columns) {\n event.columns.forEach(function (column) {\n result.push(column);\n });\n }\n else if (event.column) {\n result.push(event.column);\n }\n return result;\n };\n AlignedGridsService.prototype.getColumnIds = function (event) {\n var result = [];\n if (event.columns) {\n event.columns.forEach(function (column) {\n result.push(column.getColId());\n });\n }\n else if (event.column) {\n result.push(event.column.getColId());\n }\n return result;\n };\n AlignedGridsService.prototype.onColumnEvent = function (event) {\n var _this = this;\n this.onEvent(function () {\n switch (event.type) {\n case Events.EVENT_COLUMN_MOVED:\n case Events.EVENT_COLUMN_VISIBLE:\n case Events.EVENT_COLUMN_PINNED:\n case Events.EVENT_COLUMN_RESIZED:\n var colEvent = event;\n _this.processColumnEvent(colEvent);\n break;\n case Events.EVENT_COLUMN_GROUP_OPENED:\n var groupOpenedEvent = event;\n _this.processGroupOpenedEvent(groupOpenedEvent);\n break;\n case Events.EVENT_COLUMN_PIVOT_CHANGED:\n // we cannot support pivoting with aligned grids as the columns will be out of sync as the\n // grids will have columns created based on the row data of the grid.\n console.warn('AG Grid: pivoting is not supported with aligned grids. ' +\n 'You can only use one of these features at a time in a grid.');\n break;\n }\n });\n };\n AlignedGridsService.prototype.processGroupOpenedEvent = function (groupOpenedEvent) {\n // likewise for column group\n var masterColumnGroup = groupOpenedEvent.columnGroup;\n var otherColumnGroup = null;\n if (masterColumnGroup) {\n var groupId = masterColumnGroup.getGroupId();\n otherColumnGroup = this.columnModel.getProvidedColumnGroup(groupId);\n }\n if (masterColumnGroup && !otherColumnGroup) {\n return;\n }\n this.logger.log('onColumnEvent-> processing ' + groupOpenedEvent + ' expanded = ' + masterColumnGroup.isExpanded());\n this.columnModel.setColumnGroupOpened(otherColumnGroup, masterColumnGroup.isExpanded(), \"alignedGridChanged\");\n };\n AlignedGridsService.prototype.processColumnEvent = function (colEvent) {\n var _this = this;\n var _a;\n // the column in the event is from the master grid. need to\n // look up the equivalent from this (other) grid\n var masterColumn = colEvent.column;\n var otherColumn = null;\n if (masterColumn) {\n otherColumn = this.columnModel.getPrimaryColumn(masterColumn.getColId());\n }\n // if event was with respect to a master column, that is not present in this\n // grid, then we ignore the event\n if (masterColumn && !otherColumn) {\n return;\n }\n // in time, all the methods below should use the column ids, it's a more generic way\n // of handling columns, and also allows for single or multi column events\n var masterColumns = this.getMasterColumns(colEvent);\n switch (colEvent.type) {\n case Events.EVENT_COLUMN_MOVED:\n // when the user moves columns via setColumnState, we can't depend on moving specific columns\n // to an index, as there maybe be many indexes columns moved to (as wasn't result of a mouse drag).\n // so only way to be sure is match the order of all columns using Column State.\n {\n var movedEvent = colEvent;\n var srcColState = colEvent.columnApi.getColumnState();\n var destColState = srcColState.map(function (s) { return ({ colId: s.colId }); });\n this.columnModel.applyColumnState({ state: destColState, applyOrder: true }, \"alignedGridChanged\");\n this.logger.log(\"onColumnEvent-> processing \" + colEvent.type + \" toIndex = \" + movedEvent.toIndex);\n }\n break;\n case Events.EVENT_COLUMN_VISIBLE:\n // when the user changes visibility via setColumnState, we can't depend on visibility flag in event\n // as there maybe be mix of true/false (as wasn't result of a mouse click to set visiblity).\n // so only way to be sure is match the visibility of all columns using Column State.\n {\n var visibleEvent = colEvent;\n var srcColState = colEvent.columnApi.getColumnState();\n var destColState = srcColState.map(function (s) { return ({ colId: s.colId, hide: s.hide }); });\n this.columnModel.applyColumnState({ state: destColState }, \"alignedGridChanged\");\n this.logger.log(\"onColumnEvent-> processing \" + colEvent.type + \" visible = \" + visibleEvent.visible);\n }\n break;\n case Events.EVENT_COLUMN_PINNED:\n {\n var pinnedEvent = colEvent;\n var srcColState = colEvent.columnApi.getColumnState();\n var destColState = srcColState.map(function (s) { return ({ colId: s.colId, pinned: s.pinned }); });\n this.columnModel.applyColumnState({ state: destColState }, \"alignedGridChanged\");\n this.logger.log(\"onColumnEvent-> processing \" + colEvent.type + \" pinned = \" + pinnedEvent.pinned);\n }\n break;\n case Events.EVENT_COLUMN_RESIZED:\n var resizedEvent = colEvent;\n var columnWidths_1 = {};\n masterColumns.forEach(function (column) {\n _this.logger.log(\"onColumnEvent-> processing \" + colEvent.type + \" actualWidth = \" + column.getActualWidth());\n columnWidths_1[column.getId()] = { key: column.getColId(), newWidth: column.getActualWidth() };\n });\n // don't set flex columns width\n (_a = resizedEvent.flexColumns) === null || _a === void 0 ? void 0 : _a.forEach(function (col) {\n if (columnWidths_1[col.getId()]) {\n delete columnWidths_1[col.getId()];\n }\n });\n this.columnModel.setColumnWidths(Object.values(columnWidths_1), false, resizedEvent.finished, \"alignedGridChanged\");\n break;\n }\n var gridBodyCon = this.ctrlsService.getGridBodyCtrl();\n var isVerticalScrollShowing = gridBodyCon.isVerticalScrollShowing();\n var alignedGrids = this.gridOptionsWrapper.getAlignedGrids();\n if (alignedGrids) {\n alignedGrids.forEach(function (grid) {\n if (grid.api) {\n grid.api.setAlwaysShowVerticalScroll(isVerticalScrollShowing);\n }\n });\n }\n };\n __decorate$L([\n Autowired('columnModel')\n ], AlignedGridsService.prototype, \"columnModel\", void 0);\n __decorate$L([\n Autowired('ctrlsService')\n ], AlignedGridsService.prototype, \"ctrlsService\", void 0);\n __decorate$L([\n __param$5(0, Qualifier('loggerFactory'))\n ], AlignedGridsService.prototype, \"setBeans\", null);\n __decorate$L([\n PostConstruct\n ], AlignedGridsService.prototype, \"init\", null);\n AlignedGridsService = __decorate$L([\n Bean('alignedGridsService')\n ], AlignedGridsService);\n return AlignedGridsService;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$I = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$K = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __param$4 = (undefined && undefined.__param) || function (paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n};\nvar SelectionService = /** @class */ (function (_super) {\n __extends$I(SelectionService, _super);\n function SelectionService() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n SelectionService.prototype.setBeans = function (loggerFactory) {\n this.logger = loggerFactory.create('selectionService');\n this.reset();\n };\n SelectionService.prototype.init = function () {\n this.groupSelectsChildren = this.gridOptionsWrapper.isGroupSelectsChildren();\n this.addManagedListener(this.eventService, Events.EVENT_ROW_SELECTED, this.onRowSelected.bind(this));\n };\n SelectionService.prototype.setLastSelectedNode = function (rowNode) {\n this.lastSelectedNode = rowNode;\n };\n SelectionService.prototype.getLastSelectedNode = function () {\n return this.lastSelectedNode;\n };\n SelectionService.prototype.getSelectedNodes = function () {\n var selectedNodes = [];\n iterateObject(this.selectedNodes, function (key, rowNode) {\n if (rowNode) {\n selectedNodes.push(rowNode);\n }\n });\n return selectedNodes;\n };\n SelectionService.prototype.getSelectedRows = function () {\n var selectedRows = [];\n iterateObject(this.selectedNodes, function (key, rowNode) {\n if (rowNode && rowNode.data) {\n selectedRows.push(rowNode.data);\n }\n });\n return selectedRows;\n };\n SelectionService.prototype.removeGroupsFromSelection = function () {\n var _this = this;\n iterateObject(this.selectedNodes, function (key, rowNode) {\n if (rowNode && rowNode.group) {\n _this.selectedNodes[rowNode.id] = undefined;\n }\n });\n };\n // should only be called if groupSelectsChildren=true\n SelectionService.prototype.updateGroupsFromChildrenSelections = function (changedPath) {\n // we only do this when group selection state depends on selected children\n if (!this.gridOptionsWrapper.isGroupSelectsChildren()) {\n return;\n }\n // also only do it if CSRM (code should never allow this anyway)\n if (this.rowModel.getType() !== Constants.ROW_MODEL_TYPE_CLIENT_SIDE) {\n return;\n }\n var clientSideRowModel = this.rowModel;\n var rootNode = clientSideRowModel.getRootNode();\n if (!changedPath) {\n changedPath = new ChangedPath(true, rootNode);\n changedPath.setInactive();\n }\n changedPath.forEachChangedNodeDepthFirst(function (rowNode) {\n if (rowNode !== rootNode) {\n var selected = rowNode.calculateSelectedFromChildren();\n rowNode.selectThisNode(selected === null ? false : selected);\n }\n });\n // clientSideRowModel.getTopLevelNodes()!.forEach((rowNode: RowNode) => {\n // rowNode.depthFirstSearch((node) => {\n // if (node.group) {\n // }\n // });\n // });\n };\n SelectionService.prototype.getNodeForIdIfSelected = function (id) {\n return this.selectedNodes[id];\n };\n SelectionService.prototype.clearOtherNodes = function (rowNodeToKeepSelected) {\n var _this = this;\n var groupsToRefresh = {};\n var updatedCount = 0;\n iterateObject(this.selectedNodes, function (key, otherRowNode) {\n if (otherRowNode && otherRowNode.id !== rowNodeToKeepSelected.id) {\n var rowNode = _this.selectedNodes[otherRowNode.id];\n updatedCount += rowNode.setSelectedParams({\n newValue: false,\n clearSelection: false,\n suppressFinishActions: true\n });\n if (_this.groupSelectsChildren && otherRowNode.parent) {\n groupsToRefresh[otherRowNode.parent.id] = otherRowNode.parent;\n }\n }\n });\n iterateObject(groupsToRefresh, function (key, group) {\n var selected = group.calculateSelectedFromChildren();\n group.selectThisNode(selected === null ? false : selected);\n });\n return updatedCount;\n };\n SelectionService.prototype.onRowSelected = function (event) {\n var rowNode = event.node;\n // we do not store the group rows when the groups select children\n if (this.groupSelectsChildren && rowNode.group) {\n return;\n }\n if (rowNode.isSelected()) {\n this.selectedNodes[rowNode.id] = rowNode;\n }\n else {\n this.selectedNodes[rowNode.id] = undefined;\n }\n };\n SelectionService.prototype.syncInRowNode = function (rowNode, oldNode) {\n this.syncInOldRowNode(rowNode, oldNode);\n this.syncInNewRowNode(rowNode);\n };\n // if the id has changed for the node, then this means the rowNode\n // is getting used for a different data item, which breaks\n // our selectedNodes, as the node now is mapped by the old id\n // which is inconsistent. so to keep the old node as selected,\n // we swap in the clone (with the old id and old data). this means\n // the oldNode is effectively a daemon we keep a reference to,\n // so if client calls api.getSelectedNodes(), it gets the daemon\n // in the result. when the client un-selects, the reference to the\n // daemon is removed. the daemon, because it's an oldNode, is not\n // used by the grid for rendering, it's a copy of what the node used\n // to be like before the id was changed.\n SelectionService.prototype.syncInOldRowNode = function (rowNode, oldNode) {\n var oldNodeHasDifferentId = exists(oldNode) && (rowNode.id !== oldNode.id);\n if (oldNodeHasDifferentId && oldNode) {\n var id = oldNode.id;\n var oldNodeSelected = this.selectedNodes[id] == rowNode;\n if (oldNodeSelected) {\n this.selectedNodes[oldNode.id] = oldNode;\n }\n }\n };\n SelectionService.prototype.syncInNewRowNode = function (rowNode) {\n if (exists(this.selectedNodes[rowNode.id])) {\n rowNode.setSelectedInitialValue(true);\n this.selectedNodes[rowNode.id] = rowNode;\n }\n else {\n rowNode.setSelectedInitialValue(false);\n }\n };\n SelectionService.prototype.reset = function () {\n this.logger.log('reset');\n this.selectedNodes = {};\n this.lastSelectedNode = null;\n };\n // returns a list of all nodes at 'best cost' - a feature to be used\n // with groups / trees. if a group has all it's children selected,\n // then the group appears in the result, but not the children.\n // Designed for use with 'children' as the group selection type,\n // where groups don't actually appear in the selection normally.\n SelectionService.prototype.getBestCostNodeSelection = function () {\n if (this.rowModel.getType() !== Constants.ROW_MODEL_TYPE_CLIENT_SIDE) {\n console.warn('AG Grid: `getBestCostNodeSelection` is only available when using normal row model');\n return;\n }\n var clientSideRowModel = this.rowModel;\n var topLevelNodes = clientSideRowModel.getTopLevelNodes();\n if (topLevelNodes === null) {\n console.warn('AG Grid: `selectAll` not available doing `rowModel=virtual`');\n return;\n }\n var result = [];\n // recursive function, to find the selected nodes\n function traverse(nodes) {\n for (var i = 0, l = nodes.length; i < l; i++) {\n var node = nodes[i];\n if (node.isSelected()) {\n result.push(node);\n }\n else {\n // if not selected, then if it's a group, and the group\n // has children, continue to search for selections\n var maybeGroup = node;\n if (maybeGroup.group && maybeGroup.children) {\n traverse(maybeGroup.children);\n }\n }\n }\n }\n traverse(topLevelNodes);\n return result;\n };\n SelectionService.prototype.setRowModel = function (rowModel) {\n this.rowModel = rowModel;\n };\n SelectionService.prototype.isEmpty = function () {\n var count = 0;\n iterateObject(this.selectedNodes, function (nodeId, rowNode) {\n if (rowNode) {\n count++;\n }\n });\n return count === 0;\n };\n SelectionService.prototype.deselectAllRowNodes = function (justFiltered) {\n if (justFiltered === void 0) { justFiltered = false; }\n var callback = function (rowNode) { return rowNode.selectThisNode(false); };\n var rowModelClientSide = this.rowModel.getType() === Constants.ROW_MODEL_TYPE_CLIENT_SIDE;\n if (justFiltered) {\n if (!rowModelClientSide) {\n console.error('AG Grid: selecting just filtered only works with In Memory Row Model');\n return;\n }\n var clientSideRowModel = this.rowModel;\n clientSideRowModel.forEachNodeAfterFilter(callback);\n }\n else {\n iterateObject(this.selectedNodes, function (id, rowNode) {\n // remember the reference can be to null, as we never 'delete' from the map\n if (rowNode) {\n callback(rowNode);\n }\n });\n // this clears down the map (whereas above only sets the items in map to 'undefined')\n this.reset();\n }\n // the above does not clean up the parent rows if they are selected\n if (rowModelClientSide && this.groupSelectsChildren) {\n this.updateGroupsFromChildrenSelections();\n }\n var event = {\n type: Events.EVENT_SELECTION_CHANGED,\n };\n this.eventService.dispatchEvent(event);\n };\n SelectionService.prototype.selectAllRowNodes = function (justFiltered) {\n if (justFiltered === void 0) { justFiltered = false; }\n if (this.rowModel.getType() !== Constants.ROW_MODEL_TYPE_CLIENT_SIDE) {\n throw new Error(\"selectAll only available with normal row model, ie not \" + this.rowModel.getType());\n }\n var clientSideRowModel = this.rowModel;\n var callback = function (rowNode) { return rowNode.selectThisNode(true); };\n if (justFiltered) {\n clientSideRowModel.forEachNodeAfterFilter(callback);\n }\n else {\n clientSideRowModel.forEachNode(callback);\n }\n // the above does not clean up the parent rows if they are selected\n if (this.rowModel.getType() === Constants.ROW_MODEL_TYPE_CLIENT_SIDE && this.groupSelectsChildren) {\n this.updateGroupsFromChildrenSelections();\n }\n var event = {\n type: Events.EVENT_SELECTION_CHANGED,\n };\n this.eventService.dispatchEvent(event);\n };\n /**\n * @method\n * @deprecated\n */\n SelectionService.prototype.selectNode = function (rowNode, tryMulti) {\n if (rowNode) {\n rowNode.setSelectedParams({ newValue: true, clearSelection: !tryMulti });\n }\n };\n /**\n * @method\n * @deprecated\n */\n SelectionService.prototype.deselectIndex = function (rowIndex) {\n var node = this.rowModel.getRow(rowIndex);\n this.deselectNode(node);\n };\n /**\n * @method\n * @deprecated\n */\n SelectionService.prototype.deselectNode = function (rowNode) {\n if (rowNode) {\n rowNode.setSelectedParams({ newValue: false, clearSelection: false });\n }\n };\n /**\n * @method\n * @deprecated\n */\n SelectionService.prototype.selectIndex = function (index, tryMulti) {\n var node = this.rowModel.getRow(index);\n this.selectNode(node, tryMulti);\n };\n __decorate$K([\n Autowired('rowModel')\n ], SelectionService.prototype, \"rowModel\", void 0);\n __decorate$K([\n __param$4(0, Qualifier('loggerFactory'))\n ], SelectionService.prototype, \"setBeans\", null);\n __decorate$K([\n PostConstruct\n ], SelectionService.prototype, \"init\", null);\n SelectionService = __decorate$K([\n Bean('selectionService')\n ], SelectionService);\n return SelectionService;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __decorate$J = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar ColumnApi = /** @class */ (function () {\n function ColumnApi() {\n }\n /** Gets the grid to size the columns to the specified width in pixels, e.g. `sizeColumnsToFit(900)`. To have the grid fit the columns to the grid's width, use the Grid API `gridApi.sizeColumnsToFit()` instead. */\n ColumnApi.prototype.sizeColumnsToFit = function (gridWidth) {\n // AG-3403 validate that gridWidth is provided because this method has the same name as\n // a method on the grid API that takes no arguments, and it's easy to confuse the two\n if (typeof gridWidth === \"undefined\") {\n console.error('AG Grid: missing parameter to columnApi.sizeColumnsToFit(gridWidth)');\n }\n this.columnModel.sizeColumnsToFit(gridWidth, 'api');\n };\n /** Call this if you want to open or close a column group. */\n ColumnApi.prototype.setColumnGroupOpened = function (group, newValue) { this.columnModel.setColumnGroupOpened(group, newValue, 'api'); };\n /** Returns the column group with the given name. */\n ColumnApi.prototype.getColumnGroup = function (name, instanceId) { return this.columnModel.getColumnGroup(name, instanceId); };\n /** Returns the provided column group with the given name. */\n ColumnApi.prototype.getProvidedColumnGroup = function (name) { return this.columnModel.getProvidedColumnGroup(name); };\n /** Returns the display name for a column. Useful if you are doing your own header rendering and want the grid to work out if `headerValueGetter` is used, or if you are doing your own column management GUI, to know what to show as the column name. */\n ColumnApi.prototype.getDisplayNameForColumn = function (column, location) { return this.columnModel.getDisplayNameForColumn(column, location) || ''; };\n /** Returns the display name for a column group (when grouping columns). */\n ColumnApi.prototype.getDisplayNameForColumnGroup = function (columnGroup, location) { return this.columnModel.getDisplayNameForColumnGroup(columnGroup, location) || ''; };\n /** Returns the column with the given `colKey`, which can either be the `colId` (a string) or the `colDef` (an object). */\n ColumnApi.prototype.getColumn = function (key) { return this.columnModel.getPrimaryColumn(key); };\n /** Returns all the columns, regardless of visible or not. */\n ColumnApi.prototype.getColumns = function () { return this.columnModel.getAllPrimaryColumns(); };\n /** Applies the state of the columns from a previous state. Returns `false` if one or more columns could not be found. */\n ColumnApi.prototype.applyColumnState = function (params) { return this.columnModel.applyColumnState(params, 'api'); };\n /** Gets the state of the columns. Typically used when saving column state. */\n ColumnApi.prototype.getColumnState = function () { return this.columnModel.getColumnState(); };\n /** Sets the state back to match the originally provided column definitions. */\n ColumnApi.prototype.resetColumnState = function () { this.columnModel.resetColumnState('api'); };\n /** Gets the state of the column groups. Typically used when saving column group state. */\n ColumnApi.prototype.getColumnGroupState = function () { return this.columnModel.getColumnGroupState(); };\n /** Sets the state of the column group state from a previous state. */\n ColumnApi.prototype.setColumnGroupState = function (stateItems) { this.columnModel.setColumnGroupState(stateItems, 'api'); };\n /** Sets the state back to match the originally provided column definitions. */\n ColumnApi.prototype.resetColumnGroupState = function () { this.columnModel.resetColumnGroupState('api'); };\n /** Returns `true` if pinning left or right, otherwise `false`. */\n ColumnApi.prototype.isPinning = function () { return this.columnModel.isPinningLeft() || this.columnModel.isPinningRight(); };\n /** Returns `true` if pinning left, otherwise `false`. */\n ColumnApi.prototype.isPinningLeft = function () { return this.columnModel.isPinningLeft(); };\n /** Returns `true` if pinning right, otherwise `false`. */\n ColumnApi.prototype.isPinningRight = function () { return this.columnModel.isPinningRight(); };\n /** Returns the column to the right of the provided column, taking into consideration open / closed column groups and visible columns. This is useful if you need to know what column is beside yours e.g. if implementing your own cell navigation. */\n ColumnApi.prototype.getDisplayedColAfter = function (col) { return this.columnModel.getDisplayedColAfter(col); };\n /** Same as `getVisibleColAfter` except gives column to the left. */\n ColumnApi.prototype.getDisplayedColBefore = function (col) { return this.columnModel.getDisplayedColBefore(col); };\n /** Sets the visibility of a column. Key can be the column ID or `Column` object. */\n ColumnApi.prototype.setColumnVisible = function (key, visible) { this.columnModel.setColumnVisible(key, visible, 'api'); };\n /** Same as `setColumnVisible`, but provide a list of column keys. */\n ColumnApi.prototype.setColumnsVisible = function (keys, visible) { this.columnModel.setColumnsVisible(keys, visible, 'api'); };\n /** Sets the column pinned / unpinned. Key can be the column ID, field, `ColDef` object or `Column` object. */\n ColumnApi.prototype.setColumnPinned = function (key, pinned) { this.columnModel.setColumnPinned(key, pinned, 'api'); };\n /** Same as `setColumnPinned`, but provide a list of column keys. */\n ColumnApi.prototype.setColumnsPinned = function (keys, pinned) { this.columnModel.setColumnsPinned(keys, pinned, 'api'); };\n /**\n * Returns all the grid columns, same as `getColumns()`, except\n *\n * a) it has the order of the columns that are presented in the grid\n *\n * b) it's after the 'pivot' step, so if pivoting, has the value columns for the pivot.\n */\n ColumnApi.prototype.getAllGridColumns = function () { return this.columnModel.getAllGridColumns(); };\n /** Same as `getAllDisplayedColumns` but just for the pinned left portion of the grid. */\n ColumnApi.prototype.getDisplayedLeftColumns = function () { return this.columnModel.getDisplayedLeftColumns(); };\n /** Same as `getAllDisplayedColumns` but just for the center portion of the grid. */\n ColumnApi.prototype.getDisplayedCenterColumns = function () { return this.columnModel.getDisplayedCenterColumns(); };\n /** Same as `getAllDisplayedColumns` but just for the pinned right portion of the grid. */\n ColumnApi.prototype.getDisplayedRightColumns = function () { return this.columnModel.getDisplayedRightColumns(); };\n /** Returns all columns currently displayed (e.g. are visible and if in a group, the group is showing the columns) for the pinned left, centre and pinned right portions of the grid. */\n ColumnApi.prototype.getAllDisplayedColumns = function () { return this.columnModel.getAllDisplayedColumns(); };\n /** Same as `getAllGridColumns()`, except only returns rendered columns, i.e. columns that are not within the viewport and therefore not rendered, due to column virtualisation, are not displayed. */\n ColumnApi.prototype.getAllDisplayedVirtualColumns = function () { return this.columnModel.getViewportColumns(); };\n /** Moves a column to `toIndex`. The column is first removed, then added at the `toIndex` location, thus index locations will change to the right of the column after the removal. */\n ColumnApi.prototype.moveColumn = function (key, toIndex) {\n if (typeof key === 'number') {\n // moveColumn used to take indexes, so this is advising user who hasn't moved to new method name\n console.warn('AG Grid: you are using moveColumn(fromIndex, toIndex) - moveColumn takes a column key and a destination index, not two indexes, to move with indexes use moveColumnByIndex(from,to) instead');\n this.columnModel.moveColumnByIndex(key, toIndex, 'api');\n }\n else {\n this.columnModel.moveColumn(key, toIndex, 'api');\n }\n };\n /** Same as `moveColumn` but works on index locations. */\n ColumnApi.prototype.moveColumnByIndex = function (fromIndex, toIndex) { this.columnModel.moveColumnByIndex(fromIndex, toIndex, 'api'); };\n /** Same as `moveColumn` but works on list. */\n ColumnApi.prototype.moveColumns = function (columnsToMoveKeys, toIndex) { this.columnModel.moveColumns(columnsToMoveKeys, toIndex, 'api'); };\n /** Move the column to a new position in the row grouping order. */\n ColumnApi.prototype.moveRowGroupColumn = function (fromIndex, toIndex) { this.columnModel.moveRowGroupColumn(fromIndex, toIndex); };\n /** Sets the agg function for a column. `aggFunc` can be one of the built-in aggregations or a custom aggregation by name or direct function. */\n ColumnApi.prototype.setColumnAggFunc = function (key, aggFunc) { this.columnModel.setColumnAggFunc(key, aggFunc); };\n /** Sets the column width on a single column. The finished flag gets included in the resulting event and not used internally by the grid. The finished flag is intended for dragging, where a dragging action will produce many `columnWidth` events, so the consumer of events knows when it receives the last event in a stream. The finished parameter is optional, and defaults to `true`. */\n ColumnApi.prototype.setColumnWidth = function (key, newWidth, finished, source) {\n if (finished === void 0) { finished = true; }\n this.columnModel.setColumnWidths([{ key: key, newWidth: newWidth }], false, finished, source);\n };\n /** Sets the column widths on multiple columns. This method offers better performance than calling `setColumnWidth` multiple times. The finished flag gets included in the resulting event and not used internally by the grid. The finished flag is intended for dragging, where a dragging action will produce many `columnWidth` events, so the consumer of events knows when it receives the last event in a stream. The finished parameter is optional, and defaults to `true`. */\n ColumnApi.prototype.setColumnWidths = function (columnWidths, finished, source) {\n if (finished === void 0) { finished = true; }\n this.columnModel.setColumnWidths(columnWidths, false, finished, source);\n };\n /** Set the pivot mode. */\n ColumnApi.prototype.setPivotMode = function (pivotMode) { this.columnModel.setPivotMode(pivotMode); };\n /** Get the pivot mode. */\n ColumnApi.prototype.isPivotMode = function () { return this.columnModel.isPivotMode(); };\n /** @deprecated Use `getPivotResultColumn` instead */\n ColumnApi.prototype.getSecondaryPivotColumn = function (pivotKeys, valueColKey) {\n console.warn('AG Grid: since version 28.0.x getSecondaryPivotColumn has been renamed, please use getPivotResultColumn instead');\n return this.getPivotResultColumn(pivotKeys, valueColKey);\n };\n /** Returns the pivot result column for the given `pivotKeys` and `valueColId`. Useful to then call operations on the pivot column. */\n ColumnApi.prototype.getPivotResultColumn = function (pivotKeys, valueColKey) { return this.columnModel.getSecondaryPivotColumn(pivotKeys, valueColKey); };\n /** Set the value columns to the provided list of columns. */\n ColumnApi.prototype.setValueColumns = function (colKeys) { this.columnModel.setValueColumns(colKeys, 'api'); };\n /** Get a list of the existing value columns. */\n ColumnApi.prototype.getValueColumns = function () { return this.columnModel.getValueColumns(); };\n /** Remove the given column from the existing set of value columns. */\n ColumnApi.prototype.removeValueColumn = function (colKey) { this.columnModel.removeValueColumn(colKey, 'api'); };\n /** Like `removeValueColumn` but remove the given list of columns from the existing set of value columns. */\n ColumnApi.prototype.removeValueColumns = function (colKeys) { this.columnModel.removeValueColumns(colKeys, 'api'); };\n /** Add the given column to the set of existing value columns. */\n ColumnApi.prototype.addValueColumn = function (colKey) { this.columnModel.addValueColumn(colKey, 'api'); };\n /** Like `addValueColumn` but add the given list of columns to the existing set of value columns. */\n ColumnApi.prototype.addValueColumns = function (colKeys) { this.columnModel.addValueColumns(colKeys, 'api'); };\n /** Set the row group columns. */\n ColumnApi.prototype.setRowGroupColumns = function (colKeys) { this.columnModel.setRowGroupColumns(colKeys, 'api'); };\n /** Remove a column from the row groups. */\n ColumnApi.prototype.removeRowGroupColumn = function (colKey) { this.columnModel.removeRowGroupColumn(colKey, 'api'); };\n /** Same as `removeRowGroupColumn` but provide a list of columns. */\n ColumnApi.prototype.removeRowGroupColumns = function (colKeys) { this.columnModel.removeRowGroupColumns(colKeys, 'api'); };\n /** Add a column to the row groups. */\n ColumnApi.prototype.addRowGroupColumn = function (colKey) { this.columnModel.addRowGroupColumn(colKey, 'api'); };\n /** Same as `addRowGroupColumn` but provide a list of columns. */\n ColumnApi.prototype.addRowGroupColumns = function (colKeys) { this.columnModel.addRowGroupColumns(colKeys, 'api'); };\n /** Get row group columns. */\n ColumnApi.prototype.getRowGroupColumns = function () { return this.columnModel.getRowGroupColumns(); };\n /** Set the pivot columns. */\n ColumnApi.prototype.setPivotColumns = function (colKeys) { this.columnModel.setPivotColumns(colKeys, 'api'); };\n /** Remove a pivot column. */\n ColumnApi.prototype.removePivotColumn = function (colKey) { this.columnModel.removePivotColumn(colKey, 'api'); };\n /** Same as `removePivotColumn` but provide a list of columns. */\n ColumnApi.prototype.removePivotColumns = function (colKeys) { this.columnModel.removePivotColumns(colKeys, 'api'); };\n /** Add a pivot column. */\n ColumnApi.prototype.addPivotColumn = function (colKey) { this.columnModel.addPivotColumn(colKey, 'api'); };\n /** Same as `addPivotColumn` but provide a list of columns. */\n ColumnApi.prototype.addPivotColumns = function (colKeys) { this.columnModel.addPivotColumns(colKeys, 'api'); };\n /** Get the pivot columns. */\n ColumnApi.prototype.getPivotColumns = function () { return this.columnModel.getPivotColumns(); };\n /** Same as `getAllDisplayedColumnGroups` but just for the pinned left portion of the grid. */\n ColumnApi.prototype.getLeftDisplayedColumnGroups = function () { return this.columnModel.getDisplayedTreeLeft(); };\n /** Same as `getAllDisplayedColumnGroups` but just for the center portion of the grid. */\n ColumnApi.prototype.getCenterDisplayedColumnGroups = function () { return this.columnModel.getDisplayedTreeCentre(); };\n /** Same as `getAllDisplayedColumnGroups` but just for the pinned right portion of the grid. */\n ColumnApi.prototype.getRightDisplayedColumnGroups = function () { return this.columnModel.getDisplayedTreeRight(); };\n /** Returns all 'root' column headers. If you are not grouping columns, these return the columns. If you are grouping, these return the top level groups - you can navigate down through each one to get the other lower level headers and finally the columns at the bottom. */\n ColumnApi.prototype.getAllDisplayedColumnGroups = function () { return this.columnModel.getAllDisplayedTrees(); };\n /** Auto-sizes a column based on its contents. */\n ColumnApi.prototype.autoSizeColumn = function (key, skipHeader) { return this.columnModel.autoSizeColumn(key, skipHeader, 'api'); };\n /** Same as `autoSizeColumn`, but provide a list of column keys. */\n ColumnApi.prototype.autoSizeColumns = function (keys, skipHeader) {\n this.columnModel.autoSizeColumns({ columns: keys, skipHeader: skipHeader });\n };\n /** Calls `autoSizeColumns` on all displayed columns. */\n ColumnApi.prototype.autoSizeAllColumns = function (skipHeader) { this.columnModel.autoSizeAllColumns(skipHeader, 'api'); };\n /** @deprecated Use `setPivotResultColumns` instead. */\n ColumnApi.prototype.setSecondaryColumns = function (colDefs) {\n console.warn('AG Grid: since version 28.0.x setSecondaryColumns has been renamed, please use setPivotResultColumns instead');\n this.setPivotResultColumns(colDefs);\n };\n /** Set the pivot result columns. */\n ColumnApi.prototype.setPivotResultColumns = function (colDefs) { this.columnModel.setSecondaryColumns(colDefs, 'api'); };\n /** @deprecated Use `getPivotResultColumns` instead. */\n ColumnApi.prototype.getSecondaryColumns = function () {\n console.warn('AG Grid: since version 28.0.x getSecondaryColumns has been renamed, please use getPivotResultColumns instead');\n return this.getPivotResultColumns();\n };\n /** Returns the grid's pivot result columns. */\n ColumnApi.prototype.getPivotResultColumns = function () { return this.columnModel.getSecondaryColumns(); };\n /** @deprecated Use `getColumns` instead. */\n ColumnApi.prototype.getPrimaryColumns = function () {\n console.warn('AG Grid: since version 28.0.x getPrimaryColumns has been renamed, please use getColumns instead');\n return this.getColumns();\n };\n ColumnApi.prototype.cleanDownReferencesToAvoidMemoryLeakInCaseApplicationIsKeepingReferenceToDestroyedGrid = function () {\n // some users were raising support issues with regards memory leaks. the problem was the customers applications\n // were keeping references to the API. trying to educate them all would be difficult, easier to just remove\n // all references in the API so at least the core grid can be garbage collected.\n //\n // wait about 100ms before clearing down the references, in case user has some cleanup to do,\n // and needs to deference the API first\n setTimeout(_.removeAllReferences.bind(window, this, 'Column API'), 100);\n };\n // below goes through deprecated items, prints message to user, then calls the new version of the same method\n // public getColumnDefs(): (ColDef | ColGroupDef)[] {\n // this.setColumnGroupOpened(group, newValue);\n // return null;\n // }\n /** @deprecated Use `getColumns` instead */\n ColumnApi.prototype.getAllColumns = function () {\n console.warn('AG Grid: since version 28.0.x getAllColumns has been renamed, please use getColumns instead');\n return this.getColumns();\n };\n /** @deprecated columnGroupOpened no longer exists, use setColumnGroupOpened */\n ColumnApi.prototype.columnGroupOpened = function (group, newValue) {\n console.error('AG Grid: columnGroupOpened no longer exists, use setColumnGroupOpened');\n this.setColumnGroupOpened(group, newValue);\n };\n /** @deprecated hideColumns is deprecated, use setColumnsVisible */\n ColumnApi.prototype.hideColumns = function (colIds, hide) {\n console.error('AG Grid: hideColumns is deprecated, use setColumnsVisible');\n this.columnModel.setColumnsVisible(colIds, !hide, 'api');\n };\n /** @deprecated hideColumn is deprecated, use setColumnVisible */\n ColumnApi.prototype.hideColumn = function (colId, hide) {\n console.error('AG Grid: hideColumn is deprecated, use setColumnVisible');\n this.columnModel.setColumnVisible(colId, !hide, 'api');\n };\n /** @deprecated setState is deprecated, use setColumnState */\n ColumnApi.prototype.setState = function (columnState) {\n console.error('AG Grid: setState is deprecated, use setColumnState');\n return this.setColumnState(columnState);\n };\n /** @deprecated getState is deprecated, use getColumnState */\n ColumnApi.prototype.getState = function () {\n console.error('AG Grid: getState is deprecated, use getColumnState');\n return this.getColumnState();\n };\n /** @deprecated resetState is deprecated, use resetColumnState */\n ColumnApi.prototype.resetState = function () {\n console.error('AG Grid: resetState is deprecated, use resetColumnState');\n this.resetColumnState();\n };\n /** @deprecated getAggregationColumns is deprecated, use getValueColumns */\n ColumnApi.prototype.getAggregationColumns = function () {\n console.error('AG Grid: getAggregationColumns is deprecated, use getValueColumns');\n return this.columnModel.getValueColumns();\n };\n /** @deprecated removeAggregationColumn is deprecated, use removeValueColumn */\n ColumnApi.prototype.removeAggregationColumn = function (colKey) {\n console.error('AG Grid: removeAggregationColumn is deprecated, use removeValueColumn');\n this.columnModel.removeValueColumn(colKey, 'api');\n };\n /** @deprecated removeAggregationColumns is deprecated, use removeValueColumns */\n ColumnApi.prototype.removeAggregationColumns = function (colKeys) {\n console.error('AG Grid: removeAggregationColumns is deprecated, use removeValueColumns');\n this.columnModel.removeValueColumns(colKeys, 'api');\n };\n /** @deprecated addAggregationColumn is deprecated, use addValueColumn */\n ColumnApi.prototype.addAggregationColumn = function (colKey) {\n console.error('AG Grid: addAggregationColumn is deprecated, use addValueColumn');\n this.columnModel.addValueColumn(colKey, 'api');\n };\n /** @deprecated addAggregationColumns is deprecated, use addValueColumns */\n ColumnApi.prototype.addAggregationColumns = function (colKeys) {\n console.error('AG Grid: addAggregationColumns is deprecated, use addValueColumns');\n this.columnModel.addValueColumns(colKeys, 'api');\n };\n /** @deprecated setColumnAggFunction is deprecated, use setColumnAggFunc */\n ColumnApi.prototype.setColumnAggFunction = function (column, aggFunc) {\n console.error('AG Grid: setColumnAggFunction is deprecated, use setColumnAggFunc');\n this.columnModel.setColumnAggFunc(column, aggFunc, 'api');\n };\n /** @deprecated getDisplayNameForCol is deprecated, use getDisplayNameForColumn */\n ColumnApi.prototype.getDisplayNameForCol = function (column) {\n console.error('AG Grid: getDisplayNameForCol is deprecated, use getDisplayNameForColumn');\n return this.getDisplayNameForColumn(column, null);\n };\n /** @deprecated setColumnState is deprecated, use applyColumnState. */\n ColumnApi.prototype.setColumnState = function (columnState) {\n console.error('AG Grid: setColumnState is deprecated, use applyColumnState');\n return this.columnModel.applyColumnState({ state: columnState, applyOrder: true }, 'api');\n };\n /** @deprecated getOriginalColumnGroup is deprecated, use getProvidedColumnGroup. */\n ColumnApi.prototype.getOriginalColumnGroup = function (name) {\n console.error('AG Grid: getOriginalColumnGroup is deprecated, use getProvidedColumnGroup');\n return this.columnModel.getProvidedColumnGroup(name);\n };\n __decorate$J([\n Autowired('columnModel')\n ], ColumnApi.prototype, \"columnModel\", void 0);\n __decorate$J([\n PreDestroy\n ], ColumnApi.prototype, \"cleanDownReferencesToAvoidMemoryLeakInCaseApplicationIsKeepingReferenceToDestroyedGrid\", null);\n ColumnApi = __decorate$J([\n Bean('columnApi')\n ], ColumnApi);\n return ColumnApi;\n}());\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$H = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$I = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar ValueService = /** @class */ (function (_super) {\n __extends$H(ValueService, _super);\n function ValueService() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.initialised = false;\n return _this;\n }\n ValueService.prototype.init = function () {\n var _this = this;\n this.cellExpressions = this.gridOptionsWrapper.isEnableCellExpressions();\n this.initialised = true;\n // We listen to our own event and use it to call the columnSpecific callback,\n // this way the handler calls are correctly interleaved with other global events\n this.eventService.addEventListener(Events.EVENT_CELL_VALUE_CHANGED, function (event) { return _this.callColumnCellValueChangedHandler(event); }, this.gridOptionsWrapper.useAsyncEvents());\n };\n ValueService.prototype.getValue = function (column, rowNode, forFilter, ignoreAggData) {\n if (forFilter === void 0) { forFilter = false; }\n if (ignoreAggData === void 0) { ignoreAggData = false; }\n // hack - the grid is getting refreshed before this bean gets initialised, race condition.\n // really should have a way so they get initialised in the right order???\n if (!this.initialised) {\n this.init();\n }\n if (!rowNode) {\n return;\n }\n // pull these out to make code below easier to read\n var colDef = column.getColDef();\n var field = colDef.field;\n var colId = column.getId();\n var data = rowNode.data;\n var result;\n // if there is a value getter, this gets precedence over a field\n var groupDataExists = rowNode.groupData && rowNode.groupData[colId] !== undefined;\n var aggDataExists = !ignoreAggData && rowNode.aggData && rowNode.aggData[colId] !== undefined;\n if (forFilter && colDef.filterValueGetter) {\n result = this.executeFilterValueGetter(colDef.filterValueGetter, data, column, rowNode);\n }\n else if (this.gridOptionsWrapper.isTreeData() && aggDataExists) {\n result = rowNode.aggData[colId];\n }\n else if (this.gridOptionsWrapper.isTreeData() && colDef.valueGetter) {\n result = this.executeValueGetter(colDef.valueGetter, data, column, rowNode);\n }\n else if (this.gridOptionsWrapper.isTreeData() && (field && data)) {\n result = getValueUsingField(data, field, column.isFieldContainsDots());\n }\n else if (groupDataExists) {\n result = rowNode.groupData[colId];\n }\n else if (aggDataExists) {\n result = rowNode.aggData[colId];\n }\n else if (colDef.valueGetter) {\n result = this.executeValueGetter(colDef.valueGetter, data, column, rowNode);\n }\n else if (field && data) {\n result = getValueUsingField(data, field, column.isFieldContainsDots());\n }\n // the result could be an expression itself, if we are allowing cell values to be expressions\n if (this.cellExpressions && (typeof result === 'string') && result.indexOf('=') === 0) {\n var cellValueGetter = result.substring(1);\n result = this.executeValueGetter(cellValueGetter, data, column, rowNode);\n }\n if (result == null) {\n var openedGroup = this.getOpenedGroup(rowNode, column);\n if (openedGroup != null) {\n return openedGroup;\n }\n }\n return result;\n };\n ValueService.prototype.getOpenedGroup = function (rowNode, column) {\n if (!this.gridOptionsWrapper.isShowOpenedGroup()) {\n return;\n }\n var colDef = column.getColDef();\n if (!colDef.showRowGroup) {\n return;\n }\n var showRowGroup = column.getColDef().showRowGroup;\n var pointer = rowNode.parent;\n while (pointer != null) {\n if (pointer.rowGroupColumn && (showRowGroup === true || showRowGroup === pointer.rowGroupColumn.getId())) {\n return pointer.key;\n }\n pointer = pointer.parent;\n }\n return undefined;\n };\n /**\n * Sets the value of a GridCell\n * @param rowNode The `RowNode` to be updated\n * @param colKey The `Column` to be updated\n * @param newValue The new value to be set\n * @param eventSource The event source\n * @returns `True` if the value has been updated, otherwise`False`.\n */\n ValueService.prototype.setValue = function (rowNode, colKey, newValue, eventSource) {\n var column = this.columnModel.getPrimaryColumn(colKey);\n if (!rowNode || !column) {\n return false;\n }\n // this will only happen if user is trying to paste into a group row, which doesn't make sense\n // the user should not be trying to paste into group rows\n if (missing(rowNode.data)) {\n rowNode.data = {};\n }\n // for backwards compatibility we are also retrieving the newValueHandler as well as the valueSetter\n var _a = column.getColDef(), field = _a.field, newValueHandler = _a.newValueHandler, valueSetter = _a.valueSetter;\n // need either a field or a newValueHandler for this to work\n if (missing(field) && missing(newValueHandler) && missing(valueSetter)) {\n // we don't tell user about newValueHandler, as that is deprecated\n console.warn(\"AG Grid: you need either field or valueSetter set on colDef for editing to work\");\n return false;\n }\n var params = {\n node: rowNode,\n data: rowNode.data,\n oldValue: this.getValue(column, rowNode),\n newValue: newValue,\n colDef: column.getColDef(),\n column: column,\n api: this.gridOptionsWrapper.getApi(),\n columnApi: this.gridOptionsWrapper.getColumnApi(),\n context: this.gridOptionsWrapper.getContext()\n };\n params.newValue = newValue;\n var valueWasDifferent;\n if (newValueHandler && exists(newValueHandler)) {\n valueWasDifferent = newValueHandler(params);\n }\n else if (exists(valueSetter)) {\n valueWasDifferent = this.expressionService.evaluate(valueSetter, params);\n }\n else {\n valueWasDifferent = this.setValueUsingField(rowNode.data, field, newValue, column.isFieldContainsDots());\n }\n // in case user forgot to return something (possible if they are not using TypeScript\n // and just forgot, or using an old newValueHandler we didn't always expect a return\n // value here), we default the return value to true, so we always refresh.\n if (valueWasDifferent === undefined) {\n valueWasDifferent = true;\n }\n // if no change to the value, then no need to do the updating, or notifying via events.\n // otherwise the user could be tabbing around the grid, and cellValueChange would get called\n // all the time.\n if (!valueWasDifferent) {\n return false;\n }\n // reset quick filter on this row\n rowNode.resetQuickFilterAggregateText();\n this.valueCache.onDataChanged();\n params.newValue = this.getValue(column, rowNode);\n var event = {\n type: Events.EVENT_CELL_VALUE_CHANGED,\n event: null,\n rowIndex: rowNode.rowIndex,\n rowPinned: rowNode.rowPinned,\n column: params.column,\n api: params.api,\n columnApi: params.columnApi,\n colDef: params.colDef,\n context: params.context,\n data: rowNode.data,\n node: rowNode,\n oldValue: params.oldValue,\n newValue: params.newValue,\n value: params.newValue,\n source: eventSource\n };\n this.eventService.dispatchEvent(event);\n return true;\n };\n ValueService.prototype.callColumnCellValueChangedHandler = function (event) {\n var onCellValueChanged = event.colDef.onCellValueChanged;\n if (typeof onCellValueChanged === 'function') {\n onCellValueChanged({\n node: event.node,\n data: event.data,\n oldValue: event.oldValue,\n newValue: event.newValue,\n colDef: event.colDef,\n column: event.column,\n api: event.api,\n columnApi: event.columnApi,\n context: event.context\n });\n }\n };\n ValueService.prototype.setValueUsingField = function (data, field, newValue, isFieldContainsDots) {\n if (!field) {\n return false;\n }\n // if no '.', then it's not a deep value\n var valuesAreSame = false;\n if (!isFieldContainsDots) {\n // soft comparison to match strings and numbers\n valuesAreSame = data[field] == newValue;\n if (!valuesAreSame) {\n data[field] = newValue;\n }\n }\n else {\n // otherwise it is a deep value, so need to dig for it\n var fieldPieces = field.split('.');\n var currentObject = data;\n while (fieldPieces.length > 0 && currentObject) {\n var fieldPiece = fieldPieces.shift();\n if (fieldPieces.length === 0) {\n // soft comparison to match strings and numbers\n valuesAreSame = currentObject[fieldPiece] == newValue;\n if (!valuesAreSame) {\n currentObject[fieldPiece] = newValue;\n }\n }\n else {\n currentObject = currentObject[fieldPiece];\n }\n }\n }\n return !valuesAreSame;\n };\n ValueService.prototype.executeFilterValueGetter = function (valueGetter, data, column, rowNode) {\n var params = {\n data: data,\n node: rowNode,\n column: column,\n colDef: column.getColDef(),\n api: this.gridOptionsWrapper.getApi(),\n columnApi: this.gridOptionsWrapper.getColumnApi(),\n context: this.gridOptionsWrapper.getContext(),\n getValue: this.getValueCallback.bind(this, rowNode)\n };\n return this.expressionService.evaluate(valueGetter, params);\n };\n ValueService.prototype.executeValueGetter = function (valueGetter, data, column, rowNode) {\n var colId = column.getId();\n // if inside the same turn, just return back the value we got last time\n var valueFromCache = this.valueCache.getValue(rowNode, colId);\n if (valueFromCache !== undefined) {\n return valueFromCache;\n }\n var params = {\n data: data,\n node: rowNode,\n column: column,\n colDef: column.getColDef(),\n api: this.gridOptionsWrapper.getApi(),\n columnApi: this.gridOptionsWrapper.getColumnApi(),\n context: this.gridOptionsWrapper.getContext(),\n getValue: this.getValueCallback.bind(this, rowNode)\n };\n var result = this.expressionService.evaluate(valueGetter, params);\n // if a turn is active, store the value in case the grid asks for it again\n this.valueCache.setValue(rowNode, colId, result);\n return result;\n };\n ValueService.prototype.getValueCallback = function (node, field) {\n var otherColumn = this.columnModel.getPrimaryColumn(field);\n if (otherColumn) {\n return this.getValue(otherColumn, node);\n }\n return null;\n };\n // used by row grouping and pivot, to get key for a row. col can be a pivot col or a row grouping col\n ValueService.prototype.getKeyForNode = function (col, rowNode) {\n var value = this.getValue(col, rowNode);\n var keyCreator = col.getColDef().keyCreator;\n var result = value;\n if (keyCreator) {\n var keyParams = {\n value: value,\n colDef: col.getColDef(),\n column: col,\n node: rowNode,\n data: rowNode.data,\n api: this.gridOptionsWrapper.getApi(),\n columnApi: this.gridOptionsWrapper.getColumnApi(),\n context: this.gridOptionsWrapper.getContext()\n };\n result = keyCreator(keyParams);\n }\n // if already a string, or missing, just return it\n if (typeof result === 'string' || result == null) {\n return result;\n }\n result = String(result);\n if (result === '[object Object]') {\n doOnce(function () {\n console.warn('AG Grid: a column you are grouping or pivoting by has objects as values. If you want to group by complex objects then either a) use a colDef.keyCreator (se AG Grid docs) or b) to toString() on the object to return a key');\n }, 'getKeyForNode - warn about [object,object]');\n }\n return result;\n };\n __decorate$I([\n Autowired('expressionService')\n ], ValueService.prototype, \"expressionService\", void 0);\n __decorate$I([\n Autowired('columnModel')\n ], ValueService.prototype, \"columnModel\", void 0);\n __decorate$I([\n Autowired('valueCache')\n ], ValueService.prototype, \"valueCache\", void 0);\n __decorate$I([\n PostConstruct\n ], ValueService.prototype, \"init\", null);\n ValueService = __decorate$I([\n Bean('valueService')\n ], ValueService);\n return ValueService;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$G = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$H = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __param$3 = (undefined && undefined.__param) || function (paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n};\nvar ExpressionService = /** @class */ (function (_super) {\n __extends$G(ExpressionService, _super);\n function ExpressionService() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.expressionToFunctionCache = {};\n return _this;\n }\n ExpressionService.prototype.setBeans = function (loggerFactory) {\n this.logger = loggerFactory.create('ExpressionService');\n };\n ExpressionService.prototype.evaluate = function (expressionOrFunc, params) {\n if (typeof expressionOrFunc === 'function') {\n // valueGetter is a function, so just call it\n var func = expressionOrFunc;\n return func(params);\n }\n else if (typeof expressionOrFunc === 'string') {\n // valueGetter is an expression, so execute the expression\n var expression = expressionOrFunc;\n return this.evaluateExpression(expression, params);\n }\n else {\n console.error('AG Grid: value should be either a string or a function', expressionOrFunc);\n }\n };\n ExpressionService.prototype.evaluateExpression = function (expression, params) {\n try {\n var javaScriptFunction = this.createExpressionFunction(expression);\n // the params don't have all these values, rather we add every possible\n // value a params can have, which makes whatever is in the params available.\n var result = javaScriptFunction(params.value, params.context, params.oldValue, params.newValue, params.value, params.node, params.data, params.colDef, params.rowIndex, params.api, params.columnApi, params.getValue, params.column, params.columnGroup);\n return result;\n }\n catch (e) {\n // the expression failed, which can happen, as it's the client that\n // provides the expression. so print a nice message\n // tslint:disable-next-line\n console.log('Processing of the expression failed');\n // tslint:disable-next-line\n console.log('Expression = ' + expression);\n // tslint:disable-next-line\n console.log('Params =', params);\n // tslint:disable-next-line\n console.log('Exception = ' + e);\n return null;\n }\n };\n ExpressionService.prototype.createExpressionFunction = function (expression) {\n // check cache first\n if (this.expressionToFunctionCache[expression]) {\n return this.expressionToFunctionCache[expression];\n }\n // if not found in cache, return the function\n var functionBody = this.createFunctionBody(expression);\n var theFunction = new Function('x, ctx, oldValue, newValue, value, node, data, colDef, rowIndex, api, columnApi, getValue, column, columnGroup', functionBody);\n // store in cache\n this.expressionToFunctionCache[expression] = theFunction;\n return theFunction;\n };\n ExpressionService.prototype.createFunctionBody = function (expression) {\n // if the expression has the 'return' word in it, then use as is,\n // if not, then wrap it with return and ';' to make a function\n if (expression.indexOf('return') >= 0) {\n return expression;\n }\n else {\n return 'return ' + expression + ';';\n }\n };\n __decorate$H([\n __param$3(0, Qualifier('loggerFactory'))\n ], ExpressionService.prototype, \"setBeans\", null);\n ExpressionService = __decorate$H([\n Bean('expressionService')\n ], ExpressionService);\n return ExpressionService;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$F = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$G = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar TemplateService = /** @class */ (function (_super) {\n __extends$F(TemplateService, _super);\n function TemplateService() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.templateCache = {};\n _this.waitingCallbacks = {};\n return _this;\n }\n // returns the template if it is loaded, or null if it is not loaded\n // but will call the callback when it is loaded\n TemplateService.prototype.getTemplate = function (url, callback) {\n var templateFromCache = this.templateCache[url];\n if (templateFromCache) {\n return templateFromCache;\n }\n var callbackList = this.waitingCallbacks[url];\n var that = this;\n if (!callbackList) {\n // first time this was called, so need a new list for callbacks\n callbackList = [];\n this.waitingCallbacks[url] = callbackList;\n // and also need to do the http request\n var client = new XMLHttpRequest();\n client.onload = function () {\n that.handleHttpResult(this, url);\n };\n client.open(\"GET\", url);\n client.send();\n }\n // add this callback\n if (callback) {\n callbackList.push(callback);\n }\n // caller needs to wait for template to load, so return null\n return null;\n };\n TemplateService.prototype.handleHttpResult = function (httpResult, url) {\n if (httpResult.status !== 200 || httpResult.response === null) {\n console.warn(\"AG Grid: Unable to get template error \" + httpResult.status + \" - \" + url);\n return;\n }\n // response success, so process it\n // in IE9 the response is in - responseText\n this.templateCache[url] = httpResult.response || httpResult.responseText;\n // inform all listeners that this is now in the cache\n var callbacks = this.waitingCallbacks[url];\n for (var i = 0; i < callbacks.length; i++) {\n var callback = callbacks[i];\n // we could pass the callback the response, however we know the client of this code\n // is the cell renderer, and it passes the 'cellRefresh' method in as the callback\n // which doesn't take any parameters.\n callback();\n }\n };\n TemplateService = __decorate$G([\n Bean('templateService')\n ], TemplateService);\n return TemplateService;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$E = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$F = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __param$2 = (undefined && undefined.__param) || function (paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n};\nvar LoggerFactory = /** @class */ (function (_super) {\n __extends$E(LoggerFactory, _super);\n function LoggerFactory() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n LoggerFactory.prototype.setBeans = function (gridOptionsWrapper) {\n this.logging = gridOptionsWrapper.isDebug();\n };\n LoggerFactory.prototype.create = function (name) {\n return new Logger(name, this.isLogging.bind(this));\n };\n LoggerFactory.prototype.isLogging = function () {\n return this.logging;\n };\n __decorate$F([\n __param$2(0, Qualifier('gridOptionsWrapper'))\n ], LoggerFactory.prototype, \"setBeans\", null);\n LoggerFactory = __decorate$F([\n Bean('loggerFactory')\n ], LoggerFactory);\n return LoggerFactory;\n}(BeanStub));\nvar Logger = /** @class */ (function () {\n function Logger(name, isLoggingFunc) {\n this.name = name;\n this.isLoggingFunc = isLoggingFunc;\n }\n Logger.prototype.isLogging = function () {\n return this.isLoggingFunc();\n };\n Logger.prototype.log = function (message) {\n if (this.isLoggingFunc()) {\n // tslint:disable-next-line\n console.log('AG Grid.' + this.name + ': ' + message);\n }\n };\n return Logger;\n}());\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$D = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$E = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar GridCtrl = /** @class */ (function (_super) {\n __extends$D(GridCtrl, _super);\n function GridCtrl() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n GridCtrl.prototype.setComp = function (view, eGridDiv, eGui) {\n var _this = this;\n this.view = view;\n this.eGridHostDiv = eGridDiv;\n this.eGui = eGui;\n // this drop target is just used to see if the drop event is inside the grid\n this.dragAndDropService.addDropTarget({\n getContainer: function () { return _this.eGui; },\n isInterestedIn: function (type) { return type === DragSourceType.HeaderCell || type === DragSourceType.ToolPanel; },\n getIconName: function () { return DragAndDropService.ICON_NOT_ALLOWED; },\n });\n this.mouseEventService.stampTopLevelGridCompWithGridInstance(eGridDiv);\n this.createManagedBean(new LayoutFeature(this.view));\n // important to set rtl before doLayout, as setting the RTL class impacts the scroll position,\n // which doLayout indirectly depends on\n this.addRtlSupport();\n this.addManagedListener(this, Events.EVENT_KEYBOARD_FOCUS, function () {\n _this.view.addOrRemoveKeyboardFocusClass(true);\n });\n this.addManagedListener(this, Events.EVENT_MOUSE_FOCUS, function () {\n _this.view.addOrRemoveKeyboardFocusClass(false);\n });\n var unsubscribeFromResize = this.resizeObserverService.observeResize(this.eGridHostDiv, this.onGridSizeChanged.bind(this));\n this.addDestroyFunc(function () { return unsubscribeFromResize(); });\n this.ctrlsService.registerGridCtrl(this);\n };\n GridCtrl.prototype.isDetailGrid = function () {\n var _a, _b;\n var el = this.focusService.findTabbableParent(this.getGui());\n return ((_b = (_a = el) === null || _a === void 0 ? void 0 : _a.getAttribute('row-id')) === null || _b === void 0 ? void 0 : _b.startsWith('detail')) || false;\n };\n GridCtrl.prototype.showDropZones = function () {\n return ModuleRegistry.isRegistered(ModuleNames.RowGroupingModule);\n };\n GridCtrl.prototype.showSideBar = function () {\n return ModuleRegistry.isRegistered(ModuleNames.SideBarModule);\n };\n GridCtrl.prototype.showStatusBar = function () {\n return ModuleRegistry.isRegistered(ModuleNames.StatusBarModule);\n };\n GridCtrl.prototype.showWatermark = function () {\n return ModuleRegistry.isRegistered(ModuleNames.EnterpriseCoreModule);\n };\n GridCtrl.prototype.onGridSizeChanged = function () {\n var event = {\n type: Events.EVENT_GRID_SIZE_CHANGED,\n clientWidth: this.eGridHostDiv.clientWidth,\n clientHeight: this.eGridHostDiv.clientHeight\n };\n this.eventService.dispatchEvent(event);\n };\n GridCtrl.prototype.addRtlSupport = function () {\n var cssClass = this.gridOptionsWrapper.isEnableRtl() ? 'ag-rtl' : 'ag-ltr';\n this.view.setRtlClass(cssClass);\n };\n GridCtrl.prototype.destroyGridUi = function () {\n this.view.destroyGridUi();\n };\n GridCtrl.prototype.getGui = function () {\n return this.eGui;\n };\n GridCtrl.prototype.setResizeCursor = function (on) {\n this.view.setCursor(on ? 'ew-resize' : null);\n };\n GridCtrl.prototype.disableUserSelect = function (on) {\n this.view.setUserSelect(on ? 'none' : null);\n };\n GridCtrl.prototype.focusNextInnerContainer = function (backwards) {\n var eDocument = this.gridOptionsWrapper.getDocument();\n var focusableContainers = this.view.getFocusableContainers();\n var idxWithFocus = focusableContainers.findIndex(function (container) { return container.contains(eDocument.activeElement); });\n var nextIdx = idxWithFocus + (backwards ? -1 : 1);\n if (nextIdx <= 0 || nextIdx >= focusableContainers.length) {\n return false;\n }\n return this.focusService.focusInto(focusableContainers[nextIdx]);\n };\n GridCtrl.prototype.focusInnerElement = function (fromBottom) {\n var focusableContainers = this.view.getFocusableContainers();\n if (fromBottom) {\n if (focusableContainers.length > 1) {\n return this.focusService.focusInto(last(focusableContainers), true);\n }\n var lastColumn = last(this.columnModel.getAllDisplayedColumns());\n if (this.focusService.focusGridView(lastColumn, true)) {\n return true;\n }\n }\n return this.focusService.focusFirstHeader();\n };\n GridCtrl.prototype.forceFocusOutOfContainer = function (up) {\n if (up === void 0) { up = false; }\n this.view.forceFocusOutOfContainer(up);\n };\n __decorate$E([\n Autowired('focusService')\n ], GridCtrl.prototype, \"focusService\", void 0);\n __decorate$E([\n Autowired('resizeObserverService')\n ], GridCtrl.prototype, \"resizeObserverService\", void 0);\n __decorate$E([\n Autowired('columnModel')\n ], GridCtrl.prototype, \"columnModel\", void 0);\n __decorate$E([\n Autowired('ctrlsService')\n ], GridCtrl.prototype, \"ctrlsService\", void 0);\n __decorate$E([\n Autowired('mouseEventService')\n ], GridCtrl.prototype, \"mouseEventService\", void 0);\n __decorate$E([\n Autowired('dragAndDropService')\n ], GridCtrl.prototype, \"dragAndDropService\", void 0);\n return GridCtrl;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$C = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$D = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar GridComp = /** @class */ (function (_super) {\n __extends$C(GridComp, _super);\n function GridComp(eGridDiv) {\n var _this = _super.call(this, undefined) || this;\n _this.eGridDiv = eGridDiv;\n return _this;\n }\n GridComp.prototype.postConstruct = function () {\n var _this = this;\n this.logger = this.loggerFactory.create('GridComp');\n var compProxy = {\n destroyGridUi: function () { return _this.destroyBean(_this); },\n setRtlClass: function (cssClass) { return _this.addCssClass(cssClass); },\n addOrRemoveKeyboardFocusClass: function (addOrRemove) { return _this.addOrRemoveCssClass(FocusService.AG_KEYBOARD_FOCUS, addOrRemove); },\n forceFocusOutOfContainer: this.forceFocusOutOfContainer.bind(this),\n updateLayoutClasses: this.updateLayoutClasses.bind(this),\n getFocusableContainers: this.getFocusableContainers.bind(this),\n setUserSelect: function (value) {\n _this.getGui().style.userSelect = value != null ? value : '';\n _this.getGui().style.webkitUserSelect = value != null ? value : '';\n },\n setCursor: function (value) {\n _this.getGui().style.cursor = value != null ? value : '';\n }\n };\n this.ctrl = this.createManagedBean(new GridCtrl());\n var template = this.createTemplate();\n this.setTemplate(template);\n this.ctrl.setComp(compProxy, this.eGridDiv, this.getGui());\n this.insertGridIntoDom();\n this.initialiseTabGuard({\n // we want to override the default behaviour to do nothing for onTabKeyDown\n onTabKeyDown: function () { return undefined; },\n focusInnerElement: function (fromBottom) { return _this.ctrl.focusInnerElement(fromBottom); }\n });\n };\n GridComp.prototype.insertGridIntoDom = function () {\n var _this = this;\n var eGui = this.getGui();\n this.eGridDiv.appendChild(eGui);\n this.addDestroyFunc(function () {\n _this.eGridDiv.removeChild(eGui);\n _this.logger.log('Grid removed from DOM');\n });\n };\n GridComp.prototype.updateLayoutClasses = function (cssClass, params) {\n var eRootWrapperBodyClassList = this.eRootWrapperBody.classList;\n eRootWrapperBodyClassList.toggle(LayoutCssClasses.AUTO_HEIGHT, params.autoHeight);\n eRootWrapperBodyClassList.toggle(LayoutCssClasses.NORMAL, params.normal);\n eRootWrapperBodyClassList.toggle(LayoutCssClasses.PRINT, params.print);\n this.addOrRemoveCssClass(LayoutCssClasses.AUTO_HEIGHT, params.autoHeight);\n this.addOrRemoveCssClass(LayoutCssClasses.NORMAL, params.normal);\n this.addOrRemoveCssClass(LayoutCssClasses.PRINT, params.print);\n };\n GridComp.prototype.createTemplate = function () {\n var dropZones = this.ctrl.showDropZones() ? '' : '';\n var sideBar = this.ctrl.showSideBar() ? '' : '';\n var statusBar = this.ctrl.showStatusBar() ? '' : '';\n var watermark = this.ctrl.showWatermark() ? '' : '';\n var template = /* html */ \"
    \\n \" + dropZones + \"\\n
    \\n \\n \" + sideBar + \"\\n
    \\n \" + statusBar + \"\\n \\n \" + watermark + \"\\n
    \";\n return template;\n };\n GridComp.prototype.getFocusableElement = function () {\n return this.eRootWrapperBody;\n };\n GridComp.prototype.getFocusableContainers = function () {\n var focusableContainers = [\n this.gridBodyComp.getGui()\n ];\n if (this.sideBarComp) {\n focusableContainers.push(this.sideBarComp.getGui());\n }\n return focusableContainers.filter(function (el) { return isVisible(el); });\n };\n __decorate$D([\n Autowired('loggerFactory')\n ], GridComp.prototype, \"loggerFactory\", void 0);\n __decorate$D([\n RefSelector('gridBody')\n ], GridComp.prototype, \"gridBodyComp\", void 0);\n __decorate$D([\n RefSelector('sideBar')\n ], GridComp.prototype, \"sideBarComp\", void 0);\n __decorate$D([\n RefSelector('rootWrapperBody')\n ], GridComp.prototype, \"eRootWrapperBody\", void 0);\n __decorate$D([\n PostConstruct\n ], GridComp.prototype, \"postConstruct\", null);\n return GridComp;\n}(TabGuardComp));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$B = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$C = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __read$4 = (undefined && undefined.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar __spread$3 = (undefined && undefined.__spread) || function () {\n for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$4(arguments[i]));\n return ar;\n};\nvar SortController = /** @class */ (function (_super) {\n __extends$B(SortController, _super);\n function SortController() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n SortController_1 = SortController;\n SortController.prototype.progressSort = function (column, multiSort, source) {\n var nextDirection = this.getNextSortDirection(column);\n this.setSortForColumn(column, nextDirection, multiSort, source);\n };\n SortController.prototype.setSortForColumn = function (column, sort, multiSort, source) {\n var _a;\n // auto correct - if sort not legal value, then set it to 'no sort' (which is null)\n if (sort !== Constants.SORT_ASC && sort !== Constants.SORT_DESC) {\n sort = null;\n }\n var isColumnsSortingCoupledToGroup = this.gridOptionsWrapper.isColumnsSortingCoupledToGroup();\n var columnsToUpdate = [column];\n if (isColumnsSortingCoupledToGroup) {\n if (column.getColDef().showRowGroup) {\n var rowGroupColumns = this.columnModel.getSourceColumnsForGroupColumn(column);\n var sortableRowGroupColumns = (_a = rowGroupColumns) === null || _a === void 0 ? void 0 : _a.filter(function (col) { return col.getColDef().sortable; });\n if (sortableRowGroupColumns) {\n columnsToUpdate = __spread$3([column], sortableRowGroupColumns);\n }\n }\n }\n columnsToUpdate.forEach(function (col) { return col.setSort(sort, source); });\n var doingMultiSort = (multiSort || this.gridOptionsWrapper.isAlwaysMultiSort()) && !this.gridOptionsWrapper.isSuppressMultiSort();\n // clear sort on all columns except those changed, and update the icons\n if (!doingMultiSort) {\n this.clearSortBarTheseColumns(columnsToUpdate, source);\n }\n // sortIndex used for knowing order of cols when multi-col sort\n this.updateSortIndex(column);\n this.dispatchSortChangedEvents(source);\n };\n SortController.prototype.updateSortIndex = function (lastColToChange) {\n var isCoupled = this.gridOptionsWrapper.isColumnsSortingCoupledToGroup();\n var groupParent = this.columnModel.getGroupDisplayColumnForGroup(lastColToChange.getId());\n var lastSortIndexCol = isCoupled ? groupParent || lastColToChange : lastColToChange;\n var allSortedCols = this.getIndexableColumnsOrdered();\n // reset sort index on everything\n this.columnModel.getPrimaryAndSecondaryAndAutoColumns().forEach(function (col) { return col.setSortIndex(null); });\n var allSortedColsWithoutChanges = allSortedCols.filter(function (col) { return col !== lastSortIndexCol; });\n var sortedColsWithIndices = !!lastSortIndexCol.getSort() ? __spread$3(allSortedColsWithoutChanges, [lastSortIndexCol]) : allSortedColsWithoutChanges;\n sortedColsWithIndices.forEach(function (col, idx) { return (col.setSortIndex(idx)); });\n };\n // gets called by API, so if data changes, use can call this, which will end up\n // working out the sort order again of the rows.\n SortController.prototype.onSortChanged = function (source) {\n this.dispatchSortChangedEvents(source);\n };\n SortController.prototype.isSortActive = function () {\n // pull out all the columns that have sorting set\n var allCols = this.columnModel.getPrimaryAndSecondaryAndAutoColumns();\n var sortedCols = allCols.filter(function (column) { return !!column.getSort(); });\n return sortedCols && sortedCols.length > 0;\n };\n SortController.prototype.dispatchSortChangedEvents = function (source) {\n var event = {\n type: Events.EVENT_SORT_CHANGED,\n source: source\n };\n this.eventService.dispatchEvent(event);\n };\n SortController.prototype.clearSortBarTheseColumns = function (columnsToSkip, source) {\n this.columnModel.getPrimaryAndSecondaryAndAutoColumns().forEach(function (columnToClear) {\n // Do not clear if either holding shift, or if column in question was clicked\n if (!columnsToSkip.includes(columnToClear)) {\n // setting to 'undefined' as null means 'none' rather than cleared, otherwise issue will arise\n // if sort order is: ['desc', null , 'asc'], as it will start at null rather than 'desc'.\n columnToClear.setSort(undefined, source);\n }\n });\n };\n SortController.prototype.getNextSortDirection = function (column) {\n var sortingOrder;\n if (column.getColDef().sortingOrder) {\n sortingOrder = column.getColDef().sortingOrder;\n }\n else if (this.gridOptionsWrapper.getSortingOrder()) {\n sortingOrder = this.gridOptionsWrapper.getSortingOrder();\n }\n else {\n sortingOrder = SortController_1.DEFAULT_SORTING_ORDER;\n }\n if (!Array.isArray(sortingOrder) || sortingOrder.length <= 0) {\n console.warn(\"AG Grid: sortingOrder must be an array with at least one element, currently it's \" + sortingOrder);\n return null;\n }\n var currentIndex = sortingOrder.indexOf(column.getSort());\n var notInArray = currentIndex < 0;\n var lastItemInArray = currentIndex == sortingOrder.length - 1;\n var result;\n if (notInArray || lastItemInArray) {\n result = sortingOrder[0];\n }\n else {\n result = sortingOrder[currentIndex + 1];\n }\n // verify the sort type exists, as the user could provide the sortingOrder, need to make sure it's valid\n if (SortController_1.DEFAULT_SORTING_ORDER.indexOf(result) < 0) {\n console.warn('AG Grid: invalid sort type ' + result);\n return null;\n }\n return result;\n };\n SortController.prototype.getColumnsOrderedForSort = function () {\n // pull out all the columns that have sorting set\n var allColumnsIncludingAuto = this.columnModel.getPrimaryAndSecondaryAndAutoColumns();\n // when both cols are missing sortIndex, we use the position of the col in all cols list.\n // this means if colDefs only have sort, but no sortIndex, we deterministically pick which\n // cols is sorted by first.\n var allColsIndexes = {};\n allColumnsIncludingAuto.forEach(function (col, index) { return allColsIndexes[col.getId()] = index; });\n // put the columns in order of which one got sorted first\n allColumnsIncludingAuto.sort(function (a, b) {\n var iA = a.getSortIndex();\n var iB = b.getSortIndex();\n if (iA != null && iB != null) {\n return iA - iB; // both present, normal comparison\n }\n else if (iA == null && iB == null) {\n // both missing, compare using column positions\n var posA = allColsIndexes[a.getId()];\n var posB = allColsIndexes[b.getId()];\n return posA > posB ? 1 : -1;\n }\n else if (iB == null) {\n return -1; // iB missing\n }\n else {\n return 1; // iA missing\n }\n });\n return allColumnsIncludingAuto;\n };\n SortController.prototype.getIndexableColumnsOrdered = function () {\n var _this = this;\n if (!this.gridOptionsWrapper.isColumnsSortingCoupledToGroup()) {\n return this.getColumnsWithSortingOrdered();\n }\n return this.getColumnsOrderedForSort()\n .filter(function (col) {\n var _a;\n if (!!col.getColDef().showRowGroup) {\n if (col.getColDef().field && col.getSort()) {\n return true;\n }\n var sourceCols = _this.columnModel.getSourceColumnsForGroupColumn(col);\n return (_a = sourceCols) === null || _a === void 0 ? void 0 : _a.some(function (col) { return !!col.getSort(); });\n }\n return !!col.getSort();\n });\n };\n SortController.prototype.getColumnsWithSortingOrdered = function () {\n // pull out all the columns that have sorting set\n var orderedColumns = this.getColumnsOrderedForSort();\n return orderedColumns.filter(function (column) { return !!column.getSort(); });\n };\n // used by server side row models, to sent sort to server\n SortController.prototype.getSortModel = function () {\n return this.getColumnsWithSortingOrdered().map(function (column) { return ({\n sort: column.getSort(),\n colId: column.getId()\n }); });\n };\n SortController.prototype.getSortOptions = function () {\n return this.getColumnsWithSortingOrdered().map(function (column) { return ({\n sort: column.getSort(),\n column: column\n }); });\n };\n SortController.prototype.canColumnDisplayMixedSort = function (column) {\n var isColumnSortCouplingActive = this.gridOptionsWrapper.isColumnsSortingCoupledToGroup();\n var isGroupDisplayColumn = !!column.getColDef().showRowGroup;\n return isColumnSortCouplingActive && isGroupDisplayColumn;\n };\n SortController.prototype.getDisplaySortForColumn = function (column) {\n var _a;\n var linkedColumns = this.columnModel.getSourceColumnsForGroupColumn(column);\n if (!this.canColumnDisplayMixedSort(column) || !((_a = linkedColumns) === null || _a === void 0 ? void 0 : _a.length)) {\n return column.getSort();\n }\n // if column has unique data, its sorting is independent - but can still be mixed\n var columnHasUniqueData = !!column.getColDef().field;\n var sortableColumns = columnHasUniqueData ? __spread$3([column], linkedColumns) : linkedColumns;\n var firstSort = sortableColumns[0].getSort();\n // the == is intentional, as null and undefined both represent no sort, which means they are equivalent\n var allMatch = sortableColumns.every(function (col) { return col.getSort() == firstSort; });\n if (!allMatch) {\n return 'mixed';\n }\n return firstSort;\n };\n SortController.prototype.getDisplaySortIndexForColumn = function (column) {\n var _this = this;\n var isColumnSortCouplingActive = this.gridOptionsWrapper.isColumnsSortingCoupledToGroup();\n if (!isColumnSortCouplingActive) {\n return this.getColumnsWithSortingOrdered().indexOf(column);\n }\n var displayColumn = this.columnModel.getGroupDisplayColumnForGroup(column.getId());\n if (displayColumn) {\n if (!!column.getSort()) {\n return this.getDisplaySortIndexForColumn(displayColumn);\n }\n return null;\n }\n var allSortedCols = this.getIndexableColumnsOrdered()\n .filter(function (col) { return !_this.columnModel.getGroupDisplayColumnForGroup(col.getId()); });\n return allSortedCols.indexOf(column);\n };\n var SortController_1;\n SortController.DEFAULT_SORTING_ORDER = [Constants.SORT_ASC, Constants.SORT_DESC, null];\n __decorate$C([\n Autowired('columnModel')\n ], SortController.prototype, \"columnModel\", void 0);\n SortController = SortController_1 = __decorate$C([\n Bean('sortController')\n ], SortController);\n return SortController;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$A = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$B = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar ColumnHoverService = /** @class */ (function (_super) {\n __extends$A(ColumnHoverService, _super);\n function ColumnHoverService() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ColumnHoverService.prototype.setMouseOver = function (columns) {\n this.selectedColumns = columns;\n var event = {\n type: Events.EVENT_COLUMN_HOVER_CHANGED\n };\n this.eventService.dispatchEvent(event);\n };\n ColumnHoverService.prototype.clearMouseOver = function () {\n this.selectedColumns = null;\n var event = {\n type: Events.EVENT_COLUMN_HOVER_CHANGED\n };\n this.eventService.dispatchEvent(event);\n };\n ColumnHoverService.prototype.isHovered = function (column) {\n return !!this.selectedColumns && this.selectedColumns.indexOf(column) >= 0;\n };\n ColumnHoverService = __decorate$B([\n Bean('columnHoverService')\n ], ColumnHoverService);\n return ColumnHoverService;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$z = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$A = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar ColumnAnimationService = /** @class */ (function (_super) {\n __extends$z(ColumnAnimationService, _super);\n function ColumnAnimationService() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.executeNextFuncs = [];\n _this.executeLaterFuncs = [];\n _this.active = false;\n _this.animationThreadCount = 0;\n return _this;\n }\n ColumnAnimationService.prototype.postConstruct = function () {\n var _this = this;\n this.ctrlsService.whenReady(function (p) { return _this.gridBodyCtrl = p.gridBodyCtrl; });\n };\n ColumnAnimationService.prototype.isActive = function () {\n return this.active;\n };\n ColumnAnimationService.prototype.start = function () {\n if (this.active) {\n return;\n }\n if (this.gridOptionsWrapper.isSuppressColumnMoveAnimation()) {\n return;\n }\n // if doing RTL, we don't animate open / close as due to how the pixels are inverted,\n // the animation moves all the row the the right rather than to the left (ie it's the static\n // columns that actually get their coordinates updated)\n if (this.gridOptionsWrapper.isEnableRtl()) {\n return;\n }\n this.ensureAnimationCssClassPresent();\n this.active = true;\n };\n ColumnAnimationService.prototype.finish = function () {\n if (!this.active) {\n return;\n }\n this.flush();\n this.active = false;\n };\n ColumnAnimationService.prototype.executeNextVMTurn = function (func) {\n if (this.active) {\n this.executeNextFuncs.push(func);\n }\n else {\n func();\n }\n };\n ColumnAnimationService.prototype.executeLaterVMTurn = function (func) {\n if (this.active) {\n this.executeLaterFuncs.push(func);\n }\n else {\n func();\n }\n };\n ColumnAnimationService.prototype.ensureAnimationCssClassPresent = function () {\n var _this = this;\n // up the count, so we can tell if someone else has updated the count\n // by the time the 'wait' func executes\n this.animationThreadCount++;\n var animationThreadCountCopy = this.animationThreadCount;\n this.gridBodyCtrl.setColumnMovingCss(true);\n this.executeLaterFuncs.push(function () {\n // only remove the class if this thread was the last one to update it\n if (_this.animationThreadCount === animationThreadCountCopy) {\n _this.gridBodyCtrl.setColumnMovingCss(false);\n }\n });\n };\n ColumnAnimationService.prototype.flush = function () {\n var nowFuncs = this.executeNextFuncs;\n this.executeNextFuncs = [];\n var waitFuncs = this.executeLaterFuncs;\n this.executeLaterFuncs = [];\n if (nowFuncs.length === 0 && waitFuncs.length === 0) {\n return;\n }\n window.setTimeout(function () { return nowFuncs.forEach(function (func) { return func(); }); }, 0);\n window.setTimeout(function () { return waitFuncs.forEach(function (func) { return func(); }); }, 300);\n };\n __decorate$A([\n Autowired('ctrlsService')\n ], ColumnAnimationService.prototype, \"ctrlsService\", void 0);\n __decorate$A([\n PostConstruct\n ], ColumnAnimationService.prototype, \"postConstruct\", null);\n ColumnAnimationService = __decorate$A([\n Bean('columnAnimationService')\n ], ColumnAnimationService);\n return ColumnAnimationService;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$y = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$z = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar AutoGroupColService = /** @class */ (function (_super) {\n __extends$y(AutoGroupColService, _super);\n function AutoGroupColService() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n AutoGroupColService_1 = AutoGroupColService;\n AutoGroupColService.prototype.createAutoGroupColumns = function (existingCols, rowGroupColumns) {\n var _this = this;\n var groupAutoColumns = [];\n var doingTreeData = this.gridOptionsWrapper.isTreeData();\n var doingMultiAutoColumn = this.gridOptionsWrapper.isGroupMultiAutoColumn();\n if (doingTreeData && doingMultiAutoColumn) {\n console.warn('AG Grid: you cannot mix groupMultiAutoColumn with treeData, only one column can be used to display groups when doing tree data');\n doingMultiAutoColumn = false;\n }\n // if doing groupMultiAutoColumn, then we call the method multiple times, once\n // for each column we are grouping by\n if (doingMultiAutoColumn) {\n rowGroupColumns.forEach(function (rowGroupCol, index) {\n groupAutoColumns.push(_this.createOneAutoGroupColumn(existingCols, rowGroupCol, index));\n });\n }\n else {\n groupAutoColumns.push(this.createOneAutoGroupColumn(existingCols));\n }\n return groupAutoColumns;\n };\n // rowGroupCol and index are missing if groupMultiAutoColumn=false\n AutoGroupColService.prototype.createOneAutoGroupColumn = function (existingCols, rowGroupCol, index) {\n // if one provided by user, use it, otherwise create one\n var defaultAutoColDef = this.generateDefaultColDef(rowGroupCol);\n // if doing multi, set the field\n var colId;\n if (rowGroupCol) {\n colId = Constants.GROUP_AUTO_COLUMN_ID + \"-\" + rowGroupCol.getId();\n }\n else {\n colId = AutoGroupColService_1.GROUP_AUTO_COLUMN_BUNDLE_ID;\n }\n var userAutoColDef = this.gridOptionsWrapper.getAutoGroupColumnDef();\n mergeDeep(defaultAutoColDef, userAutoColDef);\n defaultAutoColDef = this.columnFactory.mergeColDefs(defaultAutoColDef);\n defaultAutoColDef.colId = colId;\n // For tree data the filter is always allowed\n if (!this.gridOptionsWrapper.isTreeData()) {\n // we would only allow filter if the user has provided field or value getter. otherwise the filter\n // would not be able to work.\n var noFieldOrValueGetter = missing(defaultAutoColDef.field) && missing(defaultAutoColDef.valueGetter) && missing(defaultAutoColDef.filterValueGetter);\n if (noFieldOrValueGetter) {\n defaultAutoColDef.filter = false;\n }\n }\n // if showing many cols, we don't want to show more than one with a checkbox for selection\n if (index && index > 0) {\n defaultAutoColDef.headerCheckboxSelection = false;\n }\n var existingCol = existingCols.find(function (col) { return col.getId() == colId; });\n if (existingCol) {\n existingCol.setColDef(defaultAutoColDef, null);\n this.columnFactory.applyColumnState(existingCol, defaultAutoColDef);\n return existingCol;\n }\n var newCol = new Column(defaultAutoColDef, null, colId, true);\n this.context.createBean(newCol);\n return newCol;\n };\n AutoGroupColService.prototype.generateDefaultColDef = function (rowGroupCol) {\n var userDef = this.gridOptionsWrapper.getAutoGroupColumnDef();\n var localeTextFunc = this.gridOptionsWrapper.getLocaleTextFunc();\n var res = {\n headerName: localeTextFunc('group', 'Group')\n };\n var userHasProvidedGroupCellRenderer = userDef &&\n (userDef.cellRenderer || userDef.cellRendererFramework || userDef.cellRendererSelector);\n // only add the default group cell renderer if user hasn't provided one\n if (!userHasProvidedGroupCellRenderer) {\n res.cellRenderer = 'agGroupCellRenderer';\n }\n // we never allow moving the group column\n // defaultAutoColDef.suppressMovable = true;\n if (rowGroupCol) {\n var colDef = rowGroupCol.getColDef();\n Object.assign(res, {\n // cellRendererParams.groupKey: colDefToCopy.field;\n headerName: this.columnModel.getDisplayNameForColumn(rowGroupCol, 'header'),\n headerValueGetter: colDef.headerValueGetter\n });\n if (colDef.cellRenderer || colDef.cellRendererFramework) {\n Object.assign(res, {\n cellRendererParams: {\n innerRenderer: colDef.cellRenderer,\n innerRendererFramework: colDef.cellRendererFramework,\n innerRendererParams: colDef.cellRendererParams\n }\n });\n }\n res.showRowGroup = rowGroupCol.getColId();\n }\n else {\n res.showRowGroup = true;\n }\n return res;\n };\n var AutoGroupColService_1;\n AutoGroupColService.GROUP_AUTO_COLUMN_BUNDLE_ID = Constants.GROUP_AUTO_COLUMN_ID;\n __decorate$z([\n Autowired('columnModel')\n ], AutoGroupColService.prototype, \"columnModel\", void 0);\n __decorate$z([\n Autowired('columnFactory')\n ], AutoGroupColService.prototype, \"columnFactory\", void 0);\n AutoGroupColService = AutoGroupColService_1 = __decorate$z([\n Bean('autoGroupColService')\n ], AutoGroupColService);\n return AutoGroupColService;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$x = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$y = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar PaginationAutoPageSizeService = /** @class */ (function (_super) {\n __extends$x(PaginationAutoPageSizeService, _super);\n function PaginationAutoPageSizeService() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n PaginationAutoPageSizeService.prototype.postConstruct = function () {\n var _this = this;\n this.ctrlsService.whenReady(function (p) {\n _this.centerRowContainerCon = p.centerRowContainerCtrl;\n _this.addManagedListener(_this.eventService, Events.EVENT_BODY_HEIGHT_CHANGED, _this.onBodyHeightChanged.bind(_this));\n _this.addManagedListener(_this.eventService, Events.EVENT_SCROLL_VISIBILITY_CHANGED, _this.onScrollVisibilityChanged.bind(_this));\n _this.checkPageSize();\n });\n };\n PaginationAutoPageSizeService.prototype.notActive = function () {\n return !this.gridOptionsWrapper.isPaginationAutoPageSize();\n };\n PaginationAutoPageSizeService.prototype.onScrollVisibilityChanged = function () {\n this.checkPageSize();\n };\n PaginationAutoPageSizeService.prototype.onBodyHeightChanged = function () {\n this.checkPageSize();\n };\n PaginationAutoPageSizeService.prototype.checkPageSize = function () {\n if (this.notActive()) {\n return;\n }\n var rowHeight = this.gridOptionsWrapper.getRowHeightAsNumber();\n var bodyHeight = this.centerRowContainerCon.getViewportSizeFeature().getBodyHeight();\n if (bodyHeight > 0) {\n var newPageSize = Math.floor(bodyHeight / rowHeight);\n this.gridOptionsWrapper.setProperty('paginationPageSize', newPageSize);\n }\n };\n __decorate$y([\n Autowired('ctrlsService')\n ], PaginationAutoPageSizeService.prototype, \"ctrlsService\", void 0);\n __decorate$y([\n PostConstruct\n ], PaginationAutoPageSizeService.prototype, \"postConstruct\", null);\n PaginationAutoPageSizeService = __decorate$y([\n Bean('paginationAutoPageSizeService')\n ], PaginationAutoPageSizeService);\n return PaginationAutoPageSizeService;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$w = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$x = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar ValueCache = /** @class */ (function (_super) {\n __extends$w(ValueCache, _super);\n function ValueCache() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.cacheVersion = 0;\n return _this;\n }\n ValueCache.prototype.init = function () {\n this.active = this.gridOptionsWrapper.isValueCache();\n this.neverExpires = this.gridOptionsWrapper.isValueCacheNeverExpires();\n };\n ValueCache.prototype.onDataChanged = function () {\n if (this.neverExpires) {\n return;\n }\n this.expire();\n };\n ValueCache.prototype.expire = function () {\n this.cacheVersion++;\n };\n ValueCache.prototype.setValue = function (rowNode, colId, value) {\n if (this.active) {\n if (rowNode.__cacheVersion !== this.cacheVersion) {\n rowNode.__cacheVersion = this.cacheVersion;\n rowNode.__cacheData = {};\n }\n rowNode.__cacheData[colId] = value;\n }\n };\n ValueCache.prototype.getValue = function (rowNode, colId) {\n if (!this.active || rowNode.__cacheVersion !== this.cacheVersion) {\n return undefined;\n }\n return rowNode.__cacheData[colId];\n };\n __decorate$x([\n PostConstruct\n ], ValueCache.prototype, \"init\", null);\n ValueCache = __decorate$x([\n Bean('valueCache')\n ], ValueCache);\n return ValueCache;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$v = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$w = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar ChangeDetectionService = /** @class */ (function (_super) {\n __extends$v(ChangeDetectionService, _super);\n function ChangeDetectionService() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ChangeDetectionService.prototype.init = function () {\n if (this.rowModel.getType() === Constants.ROW_MODEL_TYPE_CLIENT_SIDE) {\n this.clientSideRowModel = this.rowModel;\n }\n this.addManagedListener(this.eventService, Events.EVENT_CELL_VALUE_CHANGED, this.onCellValueChanged.bind(this));\n };\n ChangeDetectionService.prototype.onCellValueChanged = function (event) {\n // Clipboard service manages its own change detection, so no need to do it here.\n // The clipboard manages its own as otherwise this would happen once for every cell\n // that got updated as part of a paste operation, so e.g. if 100 cells in a paste operation,\n // this doChangeDetection would get called 100 times (once for each cell), instead clipboard\n // service executes the logic we have here once (in essence batching up all cell changes\n // into one change detection).\n if (event.source === Constants.SOURCE_PASTE) {\n return;\n }\n this.doChangeDetection(event.node, event.column);\n };\n ChangeDetectionService.prototype.doChangeDetection = function (rowNode, column) {\n if (this.gridOptionsWrapper.isSuppressChangeDetection()) {\n return;\n }\n // step 1 of change detection is to update the aggregated values\n if (this.clientSideRowModel && !rowNode.isRowPinned()) {\n var onlyChangedColumns = this.gridOptionsWrapper.isAggregateOnlyChangedColumns();\n var changedPath = new ChangedPath(onlyChangedColumns, this.clientSideRowModel.getRootNode());\n changedPath.addParentNode(rowNode.parent, [column]);\n this.clientSideRowModel.doAggregate(changedPath);\n }\n // step 2 of change detection is to refresh the cells\n this.rowRenderer.refreshCells();\n };\n __decorate$w([\n Autowired('rowModel')\n ], ChangeDetectionService.prototype, \"rowModel\", void 0);\n __decorate$w([\n Autowired('rowRenderer')\n ], ChangeDetectionService.prototype, \"rowRenderer\", void 0);\n __decorate$w([\n PostConstruct\n ], ChangeDetectionService.prototype, \"init\", null);\n ChangeDetectionService = __decorate$w([\n Bean('changeDetectionService')\n ], ChangeDetectionService);\n return ChangeDetectionService;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$u = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$v = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar AgComponentUtils = /** @class */ (function (_super) {\n __extends$u(AgComponentUtils, _super);\n function AgComponentUtils() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n AgComponentUtils.prototype.adaptFunction = function (propertyName, jsCompFunc) {\n var metadata = this.componentMetadataProvider.retrieve(propertyName);\n if (metadata && metadata.functionAdapter) {\n return metadata.functionAdapter(jsCompFunc);\n }\n return null;\n };\n AgComponentUtils.prototype.adaptCellRendererFunction = function (callback) {\n var Adapter = /** @class */ (function () {\n function Adapter() {\n }\n Adapter.prototype.refresh = function (params) {\n return false;\n };\n Adapter.prototype.getGui = function () {\n return this.eGui;\n };\n Adapter.prototype.init = function (params) {\n var callbackResult = callback(params);\n var type = typeof callbackResult;\n if (type === 'string' || type === 'number' || type === 'boolean') {\n this.eGui = loadTemplate('' + callbackResult + '');\n return;\n }\n if (callbackResult == null) {\n this.eGui = loadTemplate('');\n return;\n }\n this.eGui = callbackResult;\n };\n return Adapter;\n }());\n return Adapter;\n };\n AgComponentUtils.prototype.doesImplementIComponent = function (candidate) {\n if (!candidate) {\n return false;\n }\n return candidate.prototype && 'getGui' in candidate.prototype;\n };\n __decorate$v([\n Autowired(\"componentMetadataProvider\")\n ], AgComponentUtils.prototype, \"componentMetadataProvider\", void 0);\n AgComponentUtils = __decorate$v([\n Bean(\"agComponentUtils\")\n ], AgComponentUtils);\n return AgComponentUtils;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$t = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$u = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar ComponentMetadataProvider = /** @class */ (function (_super) {\n __extends$t(ComponentMetadataProvider, _super);\n function ComponentMetadataProvider() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ComponentMetadataProvider.prototype.postConstruct = function () {\n this.componentMetaData = {\n dateComponent: {\n mandatoryMethodList: ['getDate', 'setDate'],\n optionalMethodList: ['afterGuiAttached', 'setInputPlaceholder', 'setInputAriaLabel']\n },\n detailCellRenderer: {\n mandatoryMethodList: [],\n optionalMethodList: ['refresh'],\n functionAdapter: this.agComponentUtils.adaptCellRendererFunction.bind(this.agComponentUtils)\n },\n headerComponent: {\n mandatoryMethodList: [],\n optionalMethodList: ['refresh']\n },\n headerGroupComponent: {\n mandatoryMethodList: [],\n optionalMethodList: []\n },\n loadingCellRenderer: {\n mandatoryMethodList: [],\n optionalMethodList: []\n },\n loadingOverlayComponent: {\n mandatoryMethodList: [],\n optionalMethodList: []\n },\n noRowsOverlayComponent: {\n mandatoryMethodList: [],\n optionalMethodList: []\n },\n floatingFilterComponent: {\n mandatoryMethodList: ['onParentModelChanged'],\n optionalMethodList: ['afterGuiAttached']\n },\n floatingFilterWrapperComponent: {\n mandatoryMethodList: [],\n optionalMethodList: []\n },\n cellRenderer: {\n mandatoryMethodList: [],\n optionalMethodList: ['refresh', 'afterGuiAttached'],\n functionAdapter: this.agComponentUtils.adaptCellRendererFunction.bind(this.agComponentUtils)\n },\n cellEditor: {\n mandatoryMethodList: ['getValue'],\n optionalMethodList: ['isPopup', 'isCancelBeforeStart', 'isCancelAfterEnd', 'getPopupPosition', 'focusIn', 'focusOut', 'afterGuiAttached']\n },\n innerRenderer: {\n mandatoryMethodList: [],\n optionalMethodList: ['afterGuiAttached'],\n functionAdapter: this.agComponentUtils.adaptCellRendererFunction.bind(this.agComponentUtils)\n },\n fullWidthCellRenderer: {\n mandatoryMethodList: [],\n optionalMethodList: ['refresh', 'afterGuiAttached'],\n functionAdapter: this.agComponentUtils.adaptCellRendererFunction.bind(this.agComponentUtils)\n },\n pinnedRowCellRenderer: {\n mandatoryMethodList: [],\n optionalMethodList: ['refresh', 'afterGuiAttached'],\n functionAdapter: this.agComponentUtils.adaptCellRendererFunction.bind(this.agComponentUtils)\n },\n groupRowRenderer: {\n mandatoryMethodList: [],\n optionalMethodList: ['afterGuiAttached'],\n functionAdapter: this.agComponentUtils.adaptCellRendererFunction.bind(this.agComponentUtils)\n },\n filter: {\n mandatoryMethodList: ['isFilterActive', 'doesFilterPass', 'getModel', 'setModel'],\n optionalMethodList: ['afterGuiAttached', 'onNewRowsLoaded', 'getModelAsString', 'onFloatingFilterChanged', 'onAnyFilterChanged']\n },\n filterComponent: {\n mandatoryMethodList: ['isFilterActive', 'doesFilterPass', 'getModel', 'setModel'],\n optionalMethodList: ['afterGuiAttached', 'onNewRowsLoaded', 'getModelAsString', 'onFloatingFilterChanged', 'onAnyFilterChanged']\n },\n statusPanel: {\n mandatoryMethodList: [],\n optionalMethodList: ['afterGuiAttached'],\n },\n toolPanel: {\n mandatoryMethodList: [],\n optionalMethodList: ['refresh', 'afterGuiAttached']\n },\n tooltipComponent: {\n mandatoryMethodList: [],\n optionalMethodList: []\n }\n };\n };\n ComponentMetadataProvider.prototype.retrieve = function (name) {\n return this.componentMetaData[name];\n };\n __decorate$u([\n Autowired(\"agComponentUtils\")\n ], ComponentMetadataProvider.prototype, \"agComponentUtils\", void 0);\n __decorate$u([\n PostConstruct\n ], ComponentMetadataProvider.prototype, \"postConstruct\", null);\n ComponentMetadataProvider = __decorate$u([\n Bean(\"componentMetadataProvider\")\n ], ComponentMetadataProvider);\n return ComponentMetadataProvider;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$s = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$t = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar MAT_GRID_SIZE = 8;\nvar BASE_GRID_SIZE = 4;\nvar BALHAM_GRID_SIZE = 4;\nvar ALPINE_GRID_SIZE = 6;\nvar HARD_CODED_SIZES = {\n // this item is required for custom themes\n 'ag-theme-custom': {\n headerHeight: 25,\n headerCellMinWidth: 24,\n listItemHeight: BASE_GRID_SIZE * 5,\n rowHeight: 25,\n chartMenuPanelWidth: 220\n },\n 'ag-theme-material': {\n headerHeight: MAT_GRID_SIZE * 7,\n headerCellMinWidth: 48,\n listItemHeight: MAT_GRID_SIZE * 4,\n rowHeight: MAT_GRID_SIZE * 6,\n chartMenuPanelWidth: 240\n },\n 'ag-theme-balham': {\n headerHeight: BALHAM_GRID_SIZE * 8,\n headerCellMinWidth: 24,\n listItemHeight: BALHAM_GRID_SIZE * 6,\n rowHeight: BALHAM_GRID_SIZE * 7,\n chartMenuPanelWidth: 220\n },\n 'ag-theme-alpine': {\n headerHeight: ALPINE_GRID_SIZE * 8,\n headerCellMinWidth: 36,\n listItemHeight: ALPINE_GRID_SIZE * 4,\n rowHeight: ALPINE_GRID_SIZE * 7,\n chartMenuPanelWidth: 240\n }\n};\n/**\n * this object contains a list of Sass variables and an array\n * of CSS styles required to get the correct value.\n * eg. $virtual-item-height requires a structure, so we can get its height.\n *
    \n *
    \n *
    \n *
    \n *
    \n */\nvar SASS_PROPERTY_BUILDER = {\n headerHeight: ['ag-header-row'],\n headerCellMinWidth: ['ag-header-cell'],\n listItemHeight: ['ag-virtual-list-item'],\n rowHeight: ['ag-row'],\n chartMenuPanelWidth: ['ag-chart-docked-container']\n};\nvar CALCULATED_SIZES = {};\nvar Environment = /** @class */ (function (_super) {\n __extends$s(Environment, _super);\n function Environment() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Environment.prototype.getSassVariable = function (theme, key) {\n var useTheme = 'ag-theme-' + (theme.match('material') ? 'material' : theme.match('balham') ? 'balham' : theme.match('alpine') ? 'alpine' : 'custom');\n var defaultValue = HARD_CODED_SIZES[useTheme][key];\n var calculatedValue = 0;\n if (!CALCULATED_SIZES[theme]) {\n CALCULATED_SIZES[theme] = {};\n }\n var size = CALCULATED_SIZES[theme][key];\n if (size != null) {\n return size;\n }\n if (SASS_PROPERTY_BUILDER[key]) {\n var classList = SASS_PROPERTY_BUILDER[key];\n var div = document.createElement('div');\n div.classList.add(theme);\n div.style.position = 'absolute';\n var el = classList.reduce(function (prevEl, currentClass) {\n var currentDiv = document.createElement('div');\n currentDiv.style.position = 'static';\n currentDiv.classList.add(currentClass);\n prevEl.appendChild(currentDiv);\n return currentDiv;\n }, div);\n if (document.body) {\n document.body.appendChild(div);\n var sizeName = key.toLowerCase().indexOf('height') !== -1 ? 'height' : 'width';\n calculatedValue = parseInt(window.getComputedStyle(el)[sizeName], 10);\n document.body.removeChild(div);\n }\n }\n CALCULATED_SIZES[theme][key] = calculatedValue || defaultValue;\n return CALCULATED_SIZES[theme][key];\n };\n Environment.prototype.isThemeDark = function () {\n var theme = this.getTheme().theme;\n return !!theme && theme.indexOf('dark') >= 0;\n };\n Environment.prototype.chartMenuPanelWidth = function () {\n var theme = this.getTheme().themeFamily;\n return this.getSassVariable(theme, 'chartMenuPanelWidth');\n };\n Environment.prototype.getTheme = function () {\n var reg = /\\bag-(material|(?:theme-([\\w\\-]*)))\\b/g;\n var el = this.eGridDiv;\n var themeMatch = null;\n var allThemes = [];\n while (el) {\n themeMatch = reg.exec(el.className);\n if (!themeMatch) {\n el = el.parentElement || undefined;\n }\n else {\n var matched = el.className.match(reg);\n if (matched) {\n allThemes = matched;\n }\n break;\n }\n }\n if (!themeMatch) {\n return { allThemes: allThemes };\n }\n var theme = themeMatch[0];\n var usingOldTheme = themeMatch[2] === undefined;\n if (usingOldTheme) {\n var newTheme_1 = theme.replace('ag-', 'ag-theme-');\n doOnce(function () { return console.warn(\"AG Grid: As of v19 old theme are no longer provided. Please replace \" + theme + \" with \" + newTheme_1 + \".\"); }, 'using-old-theme');\n }\n return { theme: theme, el: el, themeFamily: theme.replace(/-dark$/, ''), allThemes: allThemes };\n };\n __decorate$t([\n Autowired('eGridDiv')\n ], Environment.prototype, \"eGridDiv\", void 0);\n Environment = __decorate$t([\n Bean('environment')\n ], Environment);\n return Environment;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$r = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$s = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __param$1 = (undefined && undefined.__param) || function (paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n};\n/**\n * This class solves the 'max height' problem, where the user might want to show more data than\n * the max div height actually allows.\n */\nvar RowContainerHeightService = /** @class */ (function (_super) {\n __extends$r(RowContainerHeightService, _super);\n function RowContainerHeightService() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n // the scrollY position\n _this.scrollY = 0;\n // how tall the body is\n _this.uiBodyHeight = 0;\n return _this;\n }\n RowContainerHeightService.prototype.agWire = function (loggerFactory) {\n this.logger = loggerFactory.create(\"RowContainerHeightService\");\n };\n RowContainerHeightService.prototype.postConstruct = function () {\n this.addManagedListener(this.eventService, Events.EVENT_BODY_HEIGHT_CHANGED, this.updateOffset.bind(this));\n this.maxDivHeight = getMaxDivHeight();\n this.logger.log('maxDivHeight = ' + this.maxDivHeight);\n };\n RowContainerHeightService.prototype.isStretching = function () {\n return this.stretching;\n };\n RowContainerHeightService.prototype.getDivStretchOffset = function () {\n return this.divStretchOffset;\n };\n RowContainerHeightService.prototype.updateOffset = function () {\n if (!this.stretching) {\n return;\n }\n var gridBodyCon = this.ctrlsService.getGridBodyCtrl();\n var newScrollY = gridBodyCon.getScrollFeature().getVScrollPosition().top;\n var newBodyHeight = this.getUiBodyHeight();\n var atLeastOneChanged = newScrollY !== this.scrollY || newBodyHeight !== this.uiBodyHeight;\n if (atLeastOneChanged) {\n this.scrollY = newScrollY;\n this.uiBodyHeight = newBodyHeight;\n this.calculateOffset();\n }\n };\n RowContainerHeightService.prototype.calculateOffset = function () {\n this.setUiContainerHeight(this.maxDivHeight);\n this.pixelsToShave = this.modelHeight - this.uiContainerHeight;\n this.maxScrollY = this.uiContainerHeight - this.uiBodyHeight;\n var scrollPercent = this.scrollY / this.maxScrollY;\n var divStretchOffset = scrollPercent * this.pixelsToShave;\n this.logger.log(\"Div Stretch Offset = \" + divStretchOffset + \" (\" + this.pixelsToShave + \" * \" + scrollPercent + \")\");\n this.setDivStretchOffset(divStretchOffset);\n };\n RowContainerHeightService.prototype.setUiContainerHeight = function (height) {\n if (height !== this.uiContainerHeight) {\n this.uiContainerHeight = height;\n this.eventService.dispatchEvent({ type: Events.EVENT_ROW_CONTAINER_HEIGHT_CHANGED });\n }\n };\n RowContainerHeightService.prototype.clearOffset = function () {\n this.setUiContainerHeight(this.modelHeight);\n this.pixelsToShave = 0;\n this.setDivStretchOffset(0);\n };\n RowContainerHeightService.prototype.setDivStretchOffset = function (newOffset) {\n // because we are talking pixels, no point in confusing things with half numbers\n var newOffsetFloor = typeof newOffset === 'number' ? Math.floor(newOffset) : null;\n if (this.divStretchOffset === newOffsetFloor) {\n return;\n }\n this.divStretchOffset = newOffsetFloor;\n this.eventService.dispatchEvent({ type: Events.EVENT_HEIGHT_SCALE_CHANGED });\n };\n RowContainerHeightService.prototype.setModelHeight = function (modelHeight) {\n this.modelHeight = modelHeight;\n this.stretching = modelHeight != null // null happens when in print layout\n && this.maxDivHeight > 0\n && modelHeight > this.maxDivHeight;\n if (this.stretching) {\n this.calculateOffset();\n }\n else {\n this.clearOffset();\n }\n };\n RowContainerHeightService.prototype.getUiContainerHeight = function () {\n return this.uiContainerHeight;\n };\n RowContainerHeightService.prototype.getRealPixelPosition = function (modelPixel) {\n return modelPixel - this.divStretchOffset;\n };\n RowContainerHeightService.prototype.getUiBodyHeight = function () {\n var gridBodyCon = this.ctrlsService.getGridBodyCtrl();\n var pos = gridBodyCon.getScrollFeature().getVScrollPosition();\n return pos.bottom - pos.top;\n };\n RowContainerHeightService.prototype.getScrollPositionForPixel = function (rowTop) {\n if (this.pixelsToShave <= 0) {\n return rowTop;\n }\n var modelMaxScroll = this.modelHeight - this.getUiBodyHeight();\n var scrollPercent = rowTop / modelMaxScroll;\n var scrollPixel = this.maxScrollY * scrollPercent;\n return scrollPixel;\n };\n __decorate$s([\n Autowired('ctrlsService')\n ], RowContainerHeightService.prototype, \"ctrlsService\", void 0);\n __decorate$s([\n __param$1(0, Qualifier(\"loggerFactory\"))\n ], RowContainerHeightService.prototype, \"agWire\", null);\n __decorate$s([\n PostConstruct\n ], RowContainerHeightService.prototype, \"postConstruct\", null);\n RowContainerHeightService = __decorate$s([\n Bean('rowContainerHeightService')\n ], RowContainerHeightService);\n return RowContainerHeightService;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$q = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$r = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar SelectableService = /** @class */ (function (_super) {\n __extends$q(SelectableService, _super);\n function SelectableService() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n SelectableService.prototype.init = function () {\n this.groupSelectsChildren = this.gridOptionsWrapper.isGroupSelectsChildren();\n this.isRowSelectableFunc = this.gridOptionsWrapper.getIsRowSelectableFunc();\n };\n SelectableService.prototype.updateSelectableAfterGrouping = function (rowNode) {\n if (this.isRowSelectableFunc) {\n var nextChildrenFunc = function (node) { return node.childrenAfterGroup; };\n this.recurseDown(rowNode.childrenAfterGroup, nextChildrenFunc);\n }\n };\n SelectableService.prototype.recurseDown = function (children, nextChildrenFunc) {\n var _this = this;\n if (!children) {\n return;\n }\n children.forEach(function (child) {\n if (!child.group) {\n return;\n } // only interested in groups\n if (child.hasChildren()) {\n _this.recurseDown(nextChildrenFunc(child), nextChildrenFunc);\n }\n var rowSelectable;\n if (_this.groupSelectsChildren) {\n // have this group selectable if at least one direct child is selectable\n var firstSelectable = (nextChildrenFunc(child) || []).find(function (rowNode) { return rowNode.selectable === true; });\n rowSelectable = exists(firstSelectable);\n }\n else {\n // directly retrieve selectable value from user callback\n rowSelectable = _this.isRowSelectableFunc ? _this.isRowSelectableFunc(child) : false;\n }\n child.setRowSelectable(rowSelectable);\n });\n };\n __decorate$r([\n PostConstruct\n ], SelectableService.prototype, \"init\", null);\n SelectableService = __decorate$r([\n Bean('selectableService')\n ], SelectableService);\n return SelectableService;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$p = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$q = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar PaginationComp = /** @class */ (function (_super) {\n __extends$p(PaginationComp, _super);\n function PaginationComp() {\n var _this = _super.call(this) || this;\n _this.previousAndFirstButtonsDisabled = false;\n _this.nextButtonDisabled = false;\n _this.lastButtonDisabled = false;\n return _this;\n }\n PaginationComp.prototype.postConstruct = function () {\n var _this = this;\n var isRtl = this.gridOptionsWrapper.isEnableRtl();\n this.setTemplate(this.getTemplate());\n this.btFirst.insertAdjacentElement('afterbegin', createIconNoSpan(isRtl ? 'last' : 'first', this.gridOptionsWrapper));\n this.btPrevious.insertAdjacentElement('afterbegin', createIconNoSpan(isRtl ? 'next' : 'previous', this.gridOptionsWrapper));\n this.btNext.insertAdjacentElement('afterbegin', createIconNoSpan(isRtl ? 'previous' : 'next', this.gridOptionsWrapper));\n this.btLast.insertAdjacentElement('afterbegin', createIconNoSpan(isRtl ? 'first' : 'last', this.gridOptionsWrapper));\n var isPaging = this.gridOptionsWrapper.isPagination();\n var paginationPanelEnabled = isPaging && !this.gridOptionsWrapper.isSuppressPaginationPanel();\n if (!paginationPanelEnabled) {\n this.setDisplayed(false);\n return;\n }\n this.addManagedListener(this.eventService, Events.EVENT_PAGINATION_CHANGED, this.onPaginationChanged.bind(this));\n [\n { el: this.btFirst, fn: this.onBtFirst.bind(this) },\n { el: this.btPrevious, fn: this.onBtPrevious.bind(this) },\n { el: this.btNext, fn: this.onBtNext.bind(this) },\n { el: this.btLast, fn: this.onBtLast.bind(this) }\n ].forEach(function (item) {\n var el = item.el, fn = item.fn;\n _this.addManagedListener(el, 'click', fn);\n _this.addManagedListener(el, 'keydown', function (e) {\n if (e.key === KeyCode.ENTER || e.key === KeyCode.SPACE) {\n e.preventDefault();\n fn();\n }\n });\n });\n this.onPaginationChanged();\n };\n PaginationComp.prototype.onPaginationChanged = function () {\n this.enableOrDisableButtons();\n this.updateRowLabels();\n this.setCurrentPageLabel();\n this.setTotalLabels();\n };\n PaginationComp.prototype.onBtFirst = function () {\n if (!this.previousAndFirstButtonsDisabled) {\n this.paginationProxy.goToFirstPage();\n }\n };\n PaginationComp.prototype.setCurrentPageLabel = function () {\n var pagesExist = this.paginationProxy.getTotalPages() > 0;\n var currentPage = this.paginationProxy.getCurrentPage();\n var toDisplay = pagesExist ? currentPage + 1 : 0;\n this.lbCurrent.innerHTML = this.formatNumber(toDisplay);\n };\n PaginationComp.prototype.formatNumber = function (value) {\n var userFunc = this.gridOptionsWrapper.getPaginationNumberFormatterFunc();\n if (userFunc) {\n var params = { value: value };\n return userFunc(params);\n }\n var localeTextFunc = this.gridOptionsWrapper.getLocaleTextFunc();\n var thousandSeparator = localeTextFunc('thousandSeparator', ',');\n var decimalSeparator = localeTextFunc('decimalSeparator', '.');\n return formatNumberCommas(value, thousandSeparator, decimalSeparator);\n };\n PaginationComp.prototype.getTemplate = function () {\n var localeTextFunc = this.gridOptionsWrapper.getLocaleTextFunc();\n var strPage = localeTextFunc('page', 'Page');\n var strTo = localeTextFunc('to', 'to');\n var strOf = localeTextFunc('of', 'of');\n var strFirst = localeTextFunc('firstPage', 'First Page');\n var strPrevious = localeTextFunc('previousPage', 'Previous Page');\n var strNext = localeTextFunc('nextPage', 'Next Page');\n var strLast = localeTextFunc('lastPage', 'Last Page');\n var compId = this.getCompId();\n return /* html */ \"
    \\n \\n \\n \" + strTo + \"\\n \\n \" + strOf + \"\\n \\n \\n \\n
    \\n
    \\n \\n \" + strPage + \"\\n \\n \" + strOf + \"\\n \\n \\n
    \\n
    \\n
    \\n
    \";\n };\n PaginationComp.prototype.onBtNext = function () {\n if (!this.nextButtonDisabled) {\n this.paginationProxy.goToNextPage();\n }\n };\n PaginationComp.prototype.onBtPrevious = function () {\n if (!this.previousAndFirstButtonsDisabled) {\n this.paginationProxy.goToPreviousPage();\n }\n };\n PaginationComp.prototype.onBtLast = function () {\n if (!this.lastButtonDisabled) {\n this.paginationProxy.goToLastPage();\n }\n };\n PaginationComp.prototype.enableOrDisableButtons = function () {\n var currentPage = this.paginationProxy.getCurrentPage();\n var maxRowFound = this.paginationProxy.isLastPageFound();\n var totalPages = this.paginationProxy.getTotalPages();\n this.previousAndFirstButtonsDisabled = currentPage === 0;\n this.toggleButtonDisabled(this.btFirst, this.previousAndFirstButtonsDisabled);\n this.toggleButtonDisabled(this.btPrevious, this.previousAndFirstButtonsDisabled);\n var zeroPagesToDisplay = this.isZeroPagesToDisplay();\n var onLastPage = maxRowFound && currentPage === (totalPages - 1);\n this.nextButtonDisabled = onLastPage || zeroPagesToDisplay;\n this.lastButtonDisabled = !maxRowFound || zeroPagesToDisplay || currentPage === (totalPages - 1);\n this.toggleButtonDisabled(this.btNext, this.nextButtonDisabled);\n this.toggleButtonDisabled(this.btLast, this.lastButtonDisabled);\n };\n PaginationComp.prototype.toggleButtonDisabled = function (button, disabled) {\n setAriaDisabled(button, disabled);\n button.classList.toggle('ag-disabled', disabled);\n if (disabled) {\n button.removeAttribute('tabindex');\n }\n else {\n button.setAttribute('tabindex', '0');\n }\n };\n PaginationComp.prototype.updateRowLabels = function () {\n var currentPage = this.paginationProxy.getCurrentPage();\n var pageSize = this.paginationProxy.getPageSize();\n var maxRowFound = this.paginationProxy.isLastPageFound();\n var rowCount = this.paginationProxy.isLastPageFound() ?\n this.paginationProxy.getMasterRowCount() : null;\n var startRow;\n var endRow;\n if (this.isZeroPagesToDisplay()) {\n startRow = endRow = 0;\n }\n else {\n startRow = (pageSize * currentPage) + 1;\n endRow = startRow + pageSize - 1;\n if (maxRowFound && endRow > rowCount) {\n endRow = rowCount;\n }\n }\n this.lbFirstRowOnPage.innerHTML = this.formatNumber(startRow);\n if (this.rowNodeBlockLoader.isLoading()) {\n this.lbLastRowOnPage.innerHTML = '?';\n }\n else {\n this.lbLastRowOnPage.innerHTML = this.formatNumber(endRow);\n }\n };\n PaginationComp.prototype.isZeroPagesToDisplay = function () {\n var maxRowFound = this.paginationProxy.isLastPageFound();\n var totalPages = this.paginationProxy.getTotalPages();\n return maxRowFound && totalPages === 0;\n };\n PaginationComp.prototype.setTotalLabels = function () {\n var lastPageFound = this.paginationProxy.isLastPageFound();\n var totalPages = this.paginationProxy.getTotalPages();\n var rowCount = lastPageFound ? this.paginationProxy.getMasterRowCount() : null;\n // When `pivotMode=true` and no grouping or value columns exist, a single 'hidden' group row (root node) is in\n // the grid and the pagination totals will correctly display total = 1. However this is confusing to users as\n // they can't see it. To address this UX issue we simply set the totals to zero in the pagination panel.\n if (rowCount === 1) {\n var firstRow = this.paginationProxy.getRow(0);\n // a group node with no group or agg data will not be visible to users\n var hiddenGroupRow = firstRow && firstRow.group && !(firstRow.groupData || firstRow.aggData);\n if (hiddenGroupRow) {\n this.setTotalLabelsToZero();\n return;\n }\n }\n if (lastPageFound) {\n this.lbTotal.innerHTML = this.formatNumber(totalPages);\n this.lbRecordCount.innerHTML = this.formatNumber(rowCount);\n }\n else {\n var moreText = this.gridOptionsWrapper.getLocaleTextFunc()('more', 'more');\n this.lbTotal.innerHTML = moreText;\n this.lbRecordCount.innerHTML = moreText;\n }\n };\n PaginationComp.prototype.setTotalLabelsToZero = function () {\n this.lbFirstRowOnPage.innerHTML = this.formatNumber(0);\n this.lbCurrent.innerHTML = this.formatNumber(0);\n this.lbLastRowOnPage.innerHTML = this.formatNumber(0);\n this.lbTotal.innerHTML = this.formatNumber(0);\n this.lbRecordCount.innerHTML = this.formatNumber(0);\n };\n __decorate$q([\n Autowired('paginationProxy')\n ], PaginationComp.prototype, \"paginationProxy\", void 0);\n __decorate$q([\n Autowired('rowNodeBlockLoader')\n ], PaginationComp.prototype, \"rowNodeBlockLoader\", void 0);\n __decorate$q([\n RefSelector('btFirst')\n ], PaginationComp.prototype, \"btFirst\", void 0);\n __decorate$q([\n RefSelector('btPrevious')\n ], PaginationComp.prototype, \"btPrevious\", void 0);\n __decorate$q([\n RefSelector('btNext')\n ], PaginationComp.prototype, \"btNext\", void 0);\n __decorate$q([\n RefSelector('btLast')\n ], PaginationComp.prototype, \"btLast\", void 0);\n __decorate$q([\n RefSelector('lbRecordCount')\n ], PaginationComp.prototype, \"lbRecordCount\", void 0);\n __decorate$q([\n RefSelector('lbFirstRowOnPage')\n ], PaginationComp.prototype, \"lbFirstRowOnPage\", void 0);\n __decorate$q([\n RefSelector('lbLastRowOnPage')\n ], PaginationComp.prototype, \"lbLastRowOnPage\", void 0);\n __decorate$q([\n RefSelector('lbCurrent')\n ], PaginationComp.prototype, \"lbCurrent\", void 0);\n __decorate$q([\n RefSelector('lbTotal')\n ], PaginationComp.prototype, \"lbTotal\", void 0);\n __decorate$q([\n PostConstruct\n ], PaginationComp.prototype, \"postConstruct\", null);\n return PaginationComp;\n}(Component));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$o = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$p = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar LoadingType;\n(function (LoadingType) {\n LoadingType[LoadingType[\"Loading\"] = 0] = \"Loading\";\n LoadingType[LoadingType[\"NoRows\"] = 1] = \"NoRows\";\n})(LoadingType || (LoadingType = {}));\nvar OverlayWrapperComponent = /** @class */ (function (_super) {\n __extends$o(OverlayWrapperComponent, _super);\n function OverlayWrapperComponent() {\n var _this = _super.call(this, OverlayWrapperComponent.TEMPLATE) || this;\n _this.inProgress = false;\n _this.destroyRequested = false;\n _this.manuallyDisplayed = false;\n return _this;\n }\n OverlayWrapperComponent.prototype.updateLayoutClasses = function (cssClass, params) {\n var overlayWrapperClassList = this.eOverlayWrapper.classList;\n overlayWrapperClassList.toggle(LayoutCssClasses.AUTO_HEIGHT, params.autoHeight);\n overlayWrapperClassList.toggle(LayoutCssClasses.NORMAL, params.normal);\n overlayWrapperClassList.toggle(LayoutCssClasses.PRINT, params.print);\n };\n OverlayWrapperComponent.prototype.postConstruct = function () {\n this.createManagedBean(new LayoutFeature(this));\n this.setDisplayed(false);\n this.addManagedListener(this.eventService, Events.EVENT_ROW_DATA_UPDATED, this.onRowDataUpdated.bind(this));\n this.addManagedListener(this.eventService, Events.EVENT_NEW_COLUMNS_LOADED, this.onNewColumnsLoaded.bind(this));\n if (this.gridOptionsWrapper.isRowModelDefault() && !this.gridOptionsWrapper.getRowData()) {\n this.showLoadingOverlay();\n }\n this.gridApi.registerOverlayWrapperComp(this);\n };\n OverlayWrapperComponent.prototype.setWrapperTypeClass = function (loadingType) {\n var overlayWrapperClassList = this.eOverlayWrapper.classList;\n overlayWrapperClassList.toggle('ag-overlay-loading-wrapper', loadingType === LoadingType.Loading);\n overlayWrapperClassList.toggle('ag-overlay-no-rows-wrapper', loadingType === LoadingType.NoRows);\n };\n OverlayWrapperComponent.prototype.showLoadingOverlay = function () {\n if (this.gridOptionsWrapper.isSuppressLoadingOverlay()) {\n return;\n }\n var params = {};\n var compDetails = this.userComponentFactory.getLoadingOverlayCompDetails(params);\n var promise = compDetails.newAgStackInstance();\n this.showOverlay(promise, LoadingType.Loading);\n };\n OverlayWrapperComponent.prototype.showNoRowsOverlay = function () {\n if (this.gridOptionsWrapper.isSuppressNoRowsOverlay()) {\n return;\n }\n var params = {};\n var compDetails = this.userComponentFactory.getNoRowsOverlayCompDetails(params);\n var promise = compDetails.newAgStackInstance();\n this.showOverlay(promise, LoadingType.NoRows);\n };\n OverlayWrapperComponent.prototype.showOverlay = function (workItem, type) {\n var _this = this;\n if (this.inProgress) {\n return;\n }\n this.setWrapperTypeClass(type);\n this.destroyActiveOverlay();\n this.inProgress = true;\n if (workItem) {\n workItem.then(function (comp) {\n _this.inProgress = false;\n _this.eOverlayWrapper.appendChild(comp.getGui());\n _this.activeOverlay = comp;\n if (_this.destroyRequested) {\n _this.destroyRequested = false;\n _this.destroyActiveOverlay();\n }\n });\n }\n this.manuallyDisplayed = this.columnModel.isReady() && !this.paginationProxy.isEmpty();\n this.setDisplayed(true);\n };\n OverlayWrapperComponent.prototype.destroyActiveOverlay = function () {\n if (this.inProgress) {\n this.destroyRequested = true;\n return;\n }\n if (!this.activeOverlay) {\n return;\n }\n this.activeOverlay = this.getContext().destroyBean(this.activeOverlay);\n clearElement(this.eOverlayWrapper);\n };\n OverlayWrapperComponent.prototype.hideOverlay = function () {\n this.manuallyDisplayed = false;\n this.destroyActiveOverlay();\n this.setDisplayed(false);\n };\n OverlayWrapperComponent.prototype.destroy = function () {\n this.destroyActiveOverlay();\n _super.prototype.destroy.call(this);\n };\n OverlayWrapperComponent.prototype.showOrHideOverlay = function () {\n var isEmpty = this.paginationProxy.isEmpty();\n var isSuppressNoRowsOverlay = this.gridOptionsWrapper.isSuppressNoRowsOverlay();\n if (isEmpty && !isSuppressNoRowsOverlay) {\n this.showNoRowsOverlay();\n }\n else {\n this.hideOverlay();\n }\n };\n OverlayWrapperComponent.prototype.onRowDataUpdated = function () {\n this.showOrHideOverlay();\n };\n OverlayWrapperComponent.prototype.onNewColumnsLoaded = function () {\n // hide overlay if columns and rows exist, this can happen if columns are loaded after data.\n // this problem exists before of the race condition between the services (column controller in this case)\n // and the view (grid panel). if the model beans were all initialised first, and then the view beans second,\n // this race condition would not happen.\n if (this.columnModel.isReady() && !this.paginationProxy.isEmpty() && !this.manuallyDisplayed) {\n this.hideOverlay();\n }\n };\n // wrapping in outer div, and wrapper, is needed to center the loading icon\n // The idea for centering came from here: http://www.vanseodesign.com/css/vertical-centering/\n OverlayWrapperComponent.TEMPLATE = \"\\n
    \\n
    \\n
    \\n
    \\n
    \";\n __decorate$p([\n Autowired('userComponentFactory')\n ], OverlayWrapperComponent.prototype, \"userComponentFactory\", void 0);\n __decorate$p([\n Autowired('paginationProxy')\n ], OverlayWrapperComponent.prototype, \"paginationProxy\", void 0);\n __decorate$p([\n Autowired('gridApi')\n ], OverlayWrapperComponent.prototype, \"gridApi\", void 0);\n __decorate$p([\n Autowired('columnModel')\n ], OverlayWrapperComponent.prototype, \"columnModel\", void 0);\n __decorate$p([\n RefSelector('eOverlayWrapper')\n ], OverlayWrapperComponent.prototype, \"eOverlayWrapper\", void 0);\n __decorate$p([\n PostConstruct\n ], OverlayWrapperComponent.prototype, \"postConstruct\", null);\n return OverlayWrapperComponent;\n}(Component));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$n = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$o = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar RowPositionUtils = /** @class */ (function (_super) {\n __extends$n(RowPositionUtils, _super);\n function RowPositionUtils() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n RowPositionUtils.prototype.getFirstRow = function () {\n var rowIndex = 0;\n var rowPinned;\n if (this.pinnedRowModel.getPinnedTopRowCount()) {\n rowPinned = Constants.PINNED_TOP;\n }\n else if (this.rowModel.getRowCount()) {\n rowPinned = null;\n rowIndex = this.paginationProxy.getPageFirstRow();\n }\n else if (this.pinnedRowModel.getPinnedBottomRowCount()) {\n rowPinned = Constants.PINNED_BOTTOM;\n }\n return rowPinned === undefined ? null : { rowIndex: rowIndex, rowPinned: rowPinned };\n };\n RowPositionUtils.prototype.getLastRow = function () {\n var rowIndex;\n var rowPinned = null;\n var pinnedBottomCount = this.pinnedRowModel.getPinnedBottomRowCount();\n var pinnedTopCount = this.pinnedRowModel.getPinnedTopRowCount();\n if (pinnedBottomCount) {\n rowPinned = Constants.PINNED_BOTTOM;\n rowIndex = pinnedBottomCount - 1;\n }\n else if (this.rowModel.getRowCount()) {\n rowPinned = null;\n rowIndex = this.paginationProxy.getPageLastRow();\n }\n else if (pinnedTopCount) {\n rowPinned = Constants.PINNED_TOP;\n rowIndex = pinnedTopCount - 1;\n }\n return rowIndex === undefined ? null : { rowIndex: rowIndex, rowPinned: rowPinned };\n };\n RowPositionUtils.prototype.getRowNode = function (gridRow) {\n switch (gridRow.rowPinned) {\n case Constants.PINNED_TOP:\n return this.pinnedRowModel.getPinnedTopRowData()[gridRow.rowIndex];\n case Constants.PINNED_BOTTOM:\n return this.pinnedRowModel.getPinnedBottomRowData()[gridRow.rowIndex];\n default:\n return this.rowModel.getRow(gridRow.rowIndex);\n }\n };\n RowPositionUtils.prototype.sameRow = function (rowA, rowB) {\n // if both missing\n if (!rowA && !rowB) {\n return true;\n }\n // if only one missing\n if ((rowA && !rowB) || (!rowA && rowB)) {\n return false;\n }\n // otherwise compare (use == to compare rowPinned because it can be null or undefined)\n return rowA.rowIndex === rowB.rowIndex && rowA.rowPinned == rowB.rowPinned;\n };\n // tests if this row selection is before the other row selection\n RowPositionUtils.prototype.before = function (rowA, rowB) {\n switch (rowA.rowPinned) {\n case Constants.PINNED_TOP:\n // we we are floating top, and other isn't, then we are always before\n if (rowB.rowPinned !== Constants.PINNED_TOP) {\n return true;\n }\n break;\n case Constants.PINNED_BOTTOM:\n // if we are floating bottom, and the other isn't, then we are never before\n if (rowB.rowPinned !== Constants.PINNED_BOTTOM) {\n return false;\n }\n break;\n default:\n // if we are not floating, but the other one is floating...\n if (exists(rowB.rowPinned)) {\n return rowB.rowPinned !== Constants.PINNED_TOP;\n }\n break;\n }\n return rowA.rowIndex < rowB.rowIndex;\n };\n RowPositionUtils.prototype.rowMax = function (rows) {\n var _this = this;\n var max;\n rows.forEach(function (row) {\n if (max === undefined || _this.before(max, row)) {\n max = row;\n }\n });\n return max;\n };\n RowPositionUtils.prototype.rowMin = function (rows) {\n var _this = this;\n var min;\n rows.forEach(function (row) {\n if (min === undefined || _this.before(row, min)) {\n min = row;\n }\n });\n return min;\n };\n __decorate$o([\n Autowired('rowModel')\n ], RowPositionUtils.prototype, \"rowModel\", void 0);\n __decorate$o([\n Autowired('pinnedRowModel')\n ], RowPositionUtils.prototype, \"pinnedRowModel\", void 0);\n __decorate$o([\n Autowired('paginationProxy')\n ], RowPositionUtils.prototype, \"paginationProxy\", void 0);\n RowPositionUtils = __decorate$o([\n Bean('rowPositionUtils')\n ], RowPositionUtils);\n return RowPositionUtils;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$m = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$n = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar CellPositionUtils = /** @class */ (function (_super) {\n __extends$m(CellPositionUtils, _super);\n function CellPositionUtils() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n CellPositionUtils.prototype.createId = function (cellPosition) {\n var rowIndex = cellPosition.rowIndex, rowPinned = cellPosition.rowPinned, column = cellPosition.column;\n return this.createIdFromValues(rowIndex, column, rowPinned);\n };\n CellPositionUtils.prototype.createIdFromValues = function (rowIndex, column, rowPinned) {\n return rowIndex + \".\" + (rowPinned == null ? 'null' : rowPinned) + \".\" + column.getId();\n };\n CellPositionUtils.prototype.equals = function (cellA, cellB) {\n var colsMatch = cellA.column === cellB.column;\n var floatingMatch = cellA.rowPinned === cellB.rowPinned;\n var indexMatch = cellA.rowIndex === cellB.rowIndex;\n return colsMatch && floatingMatch && indexMatch;\n };\n CellPositionUtils = __decorate$n([\n Bean('cellPositionUtils')\n ], CellPositionUtils);\n return CellPositionUtils;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$l = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar UndoRedoAction = /** @class */ (function () {\n function UndoRedoAction(cellValueChanges) {\n this.cellValueChanges = cellValueChanges;\n }\n return UndoRedoAction;\n}());\nvar RangeUndoRedoAction = /** @class */ (function (_super) {\n __extends$l(RangeUndoRedoAction, _super);\n function RangeUndoRedoAction(cellValueChanges, initialRange, finalRange, ranges) {\n var _this = _super.call(this, cellValueChanges) || this;\n _this.initialRange = initialRange;\n _this.finalRange = finalRange;\n _this.ranges = ranges;\n return _this;\n }\n return RangeUndoRedoAction;\n}(UndoRedoAction));\nvar UndoRedoStack = /** @class */ (function () {\n function UndoRedoStack(maxStackSize) {\n this.actionStack = [];\n this.maxStackSize = maxStackSize ? maxStackSize : UndoRedoStack.DEFAULT_STACK_SIZE;\n this.actionStack = new Array(this.maxStackSize);\n }\n UndoRedoStack.prototype.pop = function () {\n return this.actionStack.pop();\n };\n UndoRedoStack.prototype.push = function (item) {\n var shouldAddActions = item.cellValueChanges && item.cellValueChanges.length > 0;\n if (!shouldAddActions) {\n return;\n }\n if (this.actionStack.length === this.maxStackSize) {\n this.actionStack.shift();\n }\n this.actionStack.push(item);\n };\n UndoRedoStack.prototype.clear = function () {\n this.actionStack = [];\n };\n UndoRedoStack.prototype.getCurrentStackSize = function () {\n return this.actionStack.length;\n };\n UndoRedoStack.DEFAULT_STACK_SIZE = 10;\n return UndoRedoStack;\n}());\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$k = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (undefined && undefined.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __decorate$m = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __read$3 = (undefined && undefined.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar __spread$2 = (undefined && undefined.__spread) || function () {\n for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$3(arguments[i]));\n return ar;\n};\nvar UndoRedoService = /** @class */ (function (_super) {\n __extends$k(UndoRedoService, _super);\n function UndoRedoService() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.cellValueChanges = [];\n _this.activeCellEdit = null;\n _this.activeRowEdit = null;\n _this.isPasting = false;\n _this.isRangeInAction = false;\n _this.onCellValueChanged = function (event) {\n var eventCell = { column: event.column, rowIndex: event.rowIndex, rowPinned: event.rowPinned };\n var isCellEditing = _this.activeCellEdit !== null && _this.cellPositionUtils.equals(_this.activeCellEdit, eventCell);\n var isRowEditing = _this.activeRowEdit !== null && _this.rowPositionUtils.sameRow(_this.activeRowEdit, eventCell);\n var shouldCaptureAction = isCellEditing || isRowEditing || _this.isPasting || _this.isRangeInAction;\n if (!shouldCaptureAction) {\n return;\n }\n var rowPinned = event.rowPinned, rowIndex = event.rowIndex, column = event.column, oldValue = event.oldValue, value = event.value;\n var cellValueChange = {\n rowPinned: rowPinned,\n rowIndex: rowIndex,\n columnId: column.getColId(),\n newValue: value,\n oldValue: oldValue\n };\n _this.cellValueChanges.push(cellValueChange);\n };\n _this.clearStacks = function () {\n _this.undoStack.clear();\n _this.redoStack.clear();\n };\n return _this;\n }\n UndoRedoService.prototype.init = function () {\n var _this = this;\n if (!this.gridOptionsWrapper.isUndoRedoCellEditing()) {\n return;\n }\n var undoRedoLimit = this.gridOptionsWrapper.getUndoRedoCellEditingLimit();\n if (undoRedoLimit <= 0) {\n return;\n }\n this.undoStack = new UndoRedoStack(undoRedoLimit);\n this.redoStack = new UndoRedoStack(undoRedoLimit);\n this.addRowEditingListeners();\n this.addCellEditingListeners();\n this.addPasteListeners();\n this.addFillListeners();\n this.addCellKeyListeners();\n this.addManagedListener(this.eventService, Events.EVENT_CELL_VALUE_CHANGED, this.onCellValueChanged);\n // undo / redo is restricted to actual editing so we clear the stacks when other operations are\n // performed that change the order of the row / cols.\n this.addManagedListener(this.eventService, Events.EVENT_MODEL_UPDATED, function (e) {\n if (!e.keepUndoRedoStack) {\n _this.clearStacks();\n }\n });\n this.addManagedListener(this.eventService, Events.EVENT_COLUMN_PIVOT_MODE_CHANGED, this.clearStacks);\n this.addManagedListener(this.eventService, Events.EVENT_NEW_COLUMNS_LOADED, this.clearStacks);\n this.addManagedListener(this.eventService, Events.EVENT_COLUMN_GROUP_OPENED, this.clearStacks);\n this.addManagedListener(this.eventService, Events.EVENT_COLUMN_ROW_GROUP_CHANGED, this.clearStacks);\n this.addManagedListener(this.eventService, Events.EVENT_COLUMN_MOVED, this.clearStacks);\n this.addManagedListener(this.eventService, Events.EVENT_COLUMN_PINNED, this.clearStacks);\n this.addManagedListener(this.eventService, Events.EVENT_COLUMN_VISIBLE, this.clearStacks);\n this.addManagedListener(this.eventService, Events.EVENT_ROW_DRAG_END, this.clearStacks);\n this.ctrlsService.whenReady(function () {\n _this.gridBodyCtrl = _this.ctrlsService.getGridBodyCtrl();\n });\n };\n UndoRedoService.prototype.getCurrentUndoStackSize = function () {\n return this.undoStack ? this.undoStack.getCurrentStackSize() : 0;\n };\n UndoRedoService.prototype.getCurrentRedoStackSize = function () {\n return this.redoStack ? this.redoStack.getCurrentStackSize() : 0;\n };\n UndoRedoService.prototype.undo = function () {\n if (!this.undoStack) {\n return;\n }\n var undoAction = this.undoStack.pop();\n if (!undoAction || !undoAction.cellValueChanges) {\n return;\n }\n this.processAction(undoAction, function (cellValueChange) { return cellValueChange.oldValue; });\n if (undoAction instanceof RangeUndoRedoAction) {\n this.processRange(undoAction.ranges || [undoAction.initialRange]);\n }\n else {\n this.processCell(undoAction.cellValueChanges);\n }\n this.redoStack.push(undoAction);\n };\n UndoRedoService.prototype.redo = function () {\n if (!this.redoStack) {\n return;\n }\n var redoAction = this.redoStack.pop();\n if (!redoAction || !redoAction.cellValueChanges) {\n return;\n }\n this.processAction(redoAction, function (cellValueChange) { return cellValueChange.newValue; });\n if (redoAction instanceof RangeUndoRedoAction) {\n this.processRange(redoAction.ranges || [redoAction.finalRange]);\n }\n else {\n this.processCell(redoAction.cellValueChanges);\n }\n this.undoStack.push(redoAction);\n };\n UndoRedoService.prototype.processAction = function (action, valueExtractor) {\n var _this = this;\n action.cellValueChanges.forEach(function (cellValueChange) {\n var _a;\n var rowIndex = cellValueChange.rowIndex, rowPinned = cellValueChange.rowPinned, columnId = cellValueChange.columnId;\n var rowPosition = { rowIndex: rowIndex, rowPinned: rowPinned };\n var currentRow = _this.getRowNode(rowPosition);\n // checks if the row has been filtered out\n if (!currentRow.displayed) {\n return;\n }\n var extractedValue = valueExtractor(cellValueChange);\n // when values are 'complex objects' we need to invoke their `toString()` to obtain value\n var value = (typeof ((_a = extractedValue) === null || _a === void 0 ? void 0 : _a.toString) === 'function') ? extractedValue.toString() : extractedValue;\n currentRow.setDataValue(columnId, value);\n });\n };\n UndoRedoService.prototype.processRange = function (ranges) {\n var _this = this;\n var lastFocusedCell;\n this.rangeService.removeAllCellRanges(true);\n ranges.forEach(function (range, idx) {\n if (!range) {\n return;\n }\n var startRow = range.startRow;\n var endRow = range.endRow;\n if (idx === ranges.length - 1) {\n lastFocusedCell = {\n rowPinned: startRow.rowPinned,\n rowIndex: startRow.rowIndex,\n columnId: range.startColumn.getColId()\n };\n _this.setLastFocusedCell(lastFocusedCell);\n }\n var cellRangeParams = {\n rowStartIndex: startRow.rowIndex,\n rowStartPinned: startRow.rowPinned,\n rowEndIndex: endRow.rowIndex,\n rowEndPinned: endRow.rowPinned,\n columnStart: range.startColumn,\n columns: range.columns\n };\n _this.rangeService.addCellRange(cellRangeParams);\n });\n };\n UndoRedoService.prototype.processCell = function (cellValueChanges) {\n var cellValueChange = cellValueChanges[0];\n var rowIndex = cellValueChange.rowIndex, rowPinned = cellValueChange.rowPinned;\n var rowPosition = { rowIndex: rowIndex, rowPinned: rowPinned };\n var row = this.getRowNode(rowPosition);\n var lastFocusedCell = {\n rowPinned: cellValueChange.rowPinned,\n rowIndex: row.rowIndex,\n columnId: cellValueChange.columnId\n };\n this.setLastFocusedCell(lastFocusedCell, true);\n };\n UndoRedoService.prototype.setLastFocusedCell = function (lastFocusedCell, setRangeToCell) {\n var rowIndex = lastFocusedCell.rowIndex, columnId = lastFocusedCell.columnId, rowPinned = lastFocusedCell.rowPinned;\n var scrollFeature = this.gridBodyCtrl.getScrollFeature();\n var column = this.columnModel.getGridColumn(columnId);\n if (!column) {\n return;\n }\n scrollFeature.ensureIndexVisible(rowIndex);\n scrollFeature.ensureColumnVisible(column);\n var cellPosition = { rowIndex: rowIndex, column: column, rowPinned: rowPinned };\n this.focusService.setFocusedCell(__assign(__assign({}, cellPosition), { forceBrowserFocus: true }));\n if (setRangeToCell) {\n this.rangeService.setRangeToCell(cellPosition);\n }\n };\n UndoRedoService.prototype.addRowEditingListeners = function () {\n var _this = this;\n this.addManagedListener(this.eventService, Events.EVENT_ROW_EDITING_STARTED, function (e) {\n _this.activeRowEdit = { rowIndex: e.rowIndex, rowPinned: e.rowPinned };\n });\n this.addManagedListener(this.eventService, Events.EVENT_ROW_EDITING_STOPPED, function () {\n var action = new UndoRedoAction(_this.cellValueChanges);\n _this.pushActionsToUndoStack(action);\n _this.activeRowEdit = null;\n });\n };\n UndoRedoService.prototype.addCellEditingListeners = function () {\n var _this = this;\n this.addManagedListener(this.eventService, Events.EVENT_CELL_EDITING_STARTED, function (e) {\n _this.activeCellEdit = { column: e.column, rowIndex: e.rowIndex, rowPinned: e.rowPinned };\n });\n this.addManagedListener(this.eventService, Events.EVENT_CELL_EDITING_STOPPED, function (e) {\n _this.activeCellEdit = null;\n var shouldPushAction = e.valueChanged && !_this.activeRowEdit && !_this.isPasting && !_this.isRangeInAction;\n if (shouldPushAction) {\n var action = new UndoRedoAction(_this.cellValueChanges);\n _this.pushActionsToUndoStack(action);\n }\n });\n };\n UndoRedoService.prototype.addPasteListeners = function () {\n var _this = this;\n this.addManagedListener(this.eventService, Events.EVENT_PASTE_START, function () {\n _this.isPasting = true;\n });\n this.addManagedListener(this.eventService, Events.EVENT_PASTE_END, function () {\n var action = new UndoRedoAction(_this.cellValueChanges);\n _this.pushActionsToUndoStack(action);\n _this.isPasting = false;\n });\n };\n UndoRedoService.prototype.addFillListeners = function () {\n var _this = this;\n this.addManagedListener(this.eventService, Events.EVENT_FILL_START, function () {\n _this.isRangeInAction = true;\n });\n this.addManagedListener(this.eventService, Events.EVENT_FILL_END, function (event) {\n var action = new RangeUndoRedoAction(_this.cellValueChanges, event.initialRange, event.finalRange);\n _this.pushActionsToUndoStack(action);\n _this.isRangeInAction = false;\n });\n };\n UndoRedoService.prototype.addCellKeyListeners = function () {\n var _this = this;\n this.addManagedListener(this.eventService, Events.EVENT_KEY_SHORTCUT_CHANGED_CELL_START, function () {\n _this.isRangeInAction = true;\n });\n this.addManagedListener(this.eventService, Events.EVENT_KEY_SHORTCUT_CHANGED_CELL_END, function () {\n var action;\n if (_this.rangeService && _this.gridOptionsWrapper.isEnableRangeSelection()) {\n action = new RangeUndoRedoAction(_this.cellValueChanges, undefined, undefined, __spread$2(_this.rangeService.getCellRanges()));\n }\n else {\n action = new UndoRedoAction(_this.cellValueChanges);\n }\n _this.pushActionsToUndoStack(action);\n _this.isRangeInAction = false;\n });\n };\n UndoRedoService.prototype.pushActionsToUndoStack = function (action) {\n this.undoStack.push(action);\n this.cellValueChanges = [];\n this.redoStack.clear();\n };\n UndoRedoService.prototype.getRowNode = function (gridRow) {\n switch (gridRow.rowPinned) {\n case Constants.PINNED_TOP:\n return this.pinnedRowModel.getPinnedTopRowData()[gridRow.rowIndex];\n case Constants.PINNED_BOTTOM:\n return this.pinnedRowModel.getPinnedBottomRowData()[gridRow.rowIndex];\n default:\n return this.rowModel.getRow(gridRow.rowIndex);\n }\n };\n __decorate$m([\n Autowired('focusService')\n ], UndoRedoService.prototype, \"focusService\", void 0);\n __decorate$m([\n Autowired('ctrlsService')\n ], UndoRedoService.prototype, \"ctrlsService\", void 0);\n __decorate$m([\n Autowired('rowModel')\n ], UndoRedoService.prototype, \"rowModel\", void 0);\n __decorate$m([\n Autowired('pinnedRowModel')\n ], UndoRedoService.prototype, \"pinnedRowModel\", void 0);\n __decorate$m([\n Autowired('cellPositionUtils')\n ], UndoRedoService.prototype, \"cellPositionUtils\", void 0);\n __decorate$m([\n Autowired('rowPositionUtils')\n ], UndoRedoService.prototype, \"rowPositionUtils\", void 0);\n __decorate$m([\n Autowired('columnModel')\n ], UndoRedoService.prototype, \"columnModel\", void 0);\n __decorate$m([\n Optional('rangeService')\n ], UndoRedoService.prototype, \"rangeService\", void 0);\n __decorate$m([\n PostConstruct\n ], UndoRedoService.prototype, \"init\", null);\n UndoRedoService = __decorate$m([\n Bean('undoRedoService')\n ], UndoRedoService);\n return UndoRedoService;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$j = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$l = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar HeaderPositionUtils = /** @class */ (function (_super) {\n __extends$j(HeaderPositionUtils, _super);\n function HeaderPositionUtils() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n HeaderPositionUtils.prototype.findHeader = function (focusedHeader, direction) {\n var nextColumn;\n var getGroupMethod;\n var getColMethod;\n if (focusedHeader.column instanceof ColumnGroup) {\n getGroupMethod = \"getDisplayedGroup\" + direction;\n nextColumn = this.columnModel[getGroupMethod](focusedHeader.column);\n }\n else {\n getColMethod = \"getDisplayedCol\" + direction;\n nextColumn = this.columnModel[getColMethod](focusedHeader.column);\n }\n if (nextColumn) {\n return {\n column: nextColumn,\n headerRowIndex: focusedHeader.headerRowIndex\n };\n }\n };\n HeaderPositionUtils.prototype.findColAtEdgeForHeaderRow = function (level, position) {\n var displayedColumns = this.columnModel.getAllDisplayedColumns();\n var column = displayedColumns[position === 'start' ? 0 : displayedColumns.length - 1];\n if (!column) {\n return;\n }\n var childContainer = this.ctrlsService.getHeaderRowContainerCtrl(column.getPinned());\n var type = childContainer.getRowType(level);\n if (type == HeaderRowType.COLUMN_GROUP) {\n var columnGroup = this.columnModel.getColumnGroupAtLevel(column, level);\n return {\n headerRowIndex: level,\n column: columnGroup\n };\n }\n return {\n // if type==null, means the header level didn't exist\n headerRowIndex: type == null ? -1 : level,\n column: column\n };\n };\n __decorate$l([\n Autowired('columnModel')\n ], HeaderPositionUtils.prototype, \"columnModel\", void 0);\n __decorate$l([\n Autowired('ctrlsService')\n ], HeaderPositionUtils.prototype, \"ctrlsService\", void 0);\n HeaderPositionUtils = __decorate$l([\n Bean('headerPositionUtils')\n ], HeaderPositionUtils);\n return HeaderPositionUtils;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __decorate$k = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar ColumnDefFactory = /** @class */ (function () {\n function ColumnDefFactory() {\n }\n ColumnDefFactory.prototype.buildColumnDefs = function (cols, rowGroupColumns, pivotColumns) {\n var _this = this;\n var res = [];\n var colGroupDefs = {};\n cols.forEach(function (col) {\n var colDef = _this.createDefFromColumn(col, rowGroupColumns, pivotColumns);\n var addToResult = true;\n var childDef = colDef;\n var pointer = col.getOriginalParent();\n while (pointer) {\n var parentDef = null;\n // we don't include padding groups, as the column groups provided\n // by application didn't have these. the whole point of padding groups\n // is to balance the column tree that the user provided.\n if (pointer.isPadding()) {\n pointer = pointer.getOriginalParent();\n continue;\n }\n // if colDef for this group already exists, use it\n var existingParentDef = colGroupDefs[pointer.getGroupId()];\n if (existingParentDef) {\n existingParentDef.children.push(childDef);\n // if we added to result, it would be the second time we did it\n addToResult = false;\n // we don't want to continue up the tree, as it has already been\n // done for this group\n break;\n }\n parentDef = _this.createDefFromGroup(pointer);\n if (parentDef) {\n parentDef.children = [childDef];\n colGroupDefs[parentDef.groupId] = parentDef;\n childDef = parentDef;\n pointer = pointer.getOriginalParent();\n }\n }\n if (addToResult) {\n res.push(childDef);\n }\n });\n return res;\n };\n ColumnDefFactory.prototype.createDefFromGroup = function (group) {\n var defCloned = deepCloneDefinition(group.getColGroupDef(), ['children']);\n if (defCloned) {\n defCloned.groupId = group.getGroupId();\n }\n return defCloned;\n };\n ColumnDefFactory.prototype.createDefFromColumn = function (col, rowGroupColumns, pivotColumns) {\n var colDefCloned = deepCloneDefinition(col.getColDef());\n colDefCloned.colId = col.getColId();\n colDefCloned.width = col.getActualWidth();\n colDefCloned.rowGroup = col.isRowGroupActive();\n colDefCloned.rowGroupIndex = col.isRowGroupActive() ? rowGroupColumns.indexOf(col) : null;\n colDefCloned.pivot = col.isPivotActive();\n colDefCloned.pivotIndex = col.isPivotActive() ? pivotColumns.indexOf(col) : null;\n colDefCloned.aggFunc = col.isValueActive() ? col.getAggFunc() : null;\n colDefCloned.hide = col.isVisible() ? undefined : true;\n colDefCloned.pinned = col.isPinned() ? col.getPinned() : null;\n colDefCloned.sort = col.getSort() ? col.getSort() : null;\n colDefCloned.sortIndex = col.getSortIndex() != null ? col.getSortIndex() : null;\n return colDefCloned;\n };\n ColumnDefFactory = __decorate$k([\n Bean('columnDefFactory')\n ], ColumnDefFactory);\n return ColumnDefFactory;\n}());\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __decorate$j = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar RowCssClassCalculator = /** @class */ (function () {\n function RowCssClassCalculator() {\n }\n RowCssClassCalculator.prototype.getInitialRowClasses = function (params) {\n var classes = [];\n if (exists(params.extraCssClass)) {\n classes.push(params.extraCssClass);\n }\n classes.push('ag-row');\n classes.push(params.rowFocused ? 'ag-row-focus' : 'ag-row-no-focus');\n if (params.fadeRowIn) {\n classes.push('ag-opacity-zero');\n }\n classes.push(params.rowIsEven ? 'ag-row-even' : 'ag-row-odd');\n if (params.rowNode.isRowPinned()) {\n classes.push('ag-row-pinned');\n }\n if (params.rowNode.isSelected()) {\n classes.push('ag-row-selected');\n }\n if (params.rowNode.footer) {\n classes.push('ag-row-footer');\n }\n classes.push('ag-row-level-' + params.rowLevel);\n if (params.rowNode.stub) {\n classes.push('ag-row-loading');\n }\n if (params.fullWidthRow) {\n classes.push('ag-full-width-row');\n }\n if (params.expandable) {\n classes.push('ag-row-group');\n classes.push(params.rowNode.expanded ? 'ag-row-group-expanded' : 'ag-row-group-contracted');\n }\n if (params.rowNode.dragging) {\n classes.push('ag-row-dragging');\n }\n pushAll(classes, this.processClassesFromGridOptions(params.rowNode));\n pushAll(classes, this.preProcessRowClassRules(params.rowNode));\n // we use absolute position unless we are doing print layout\n classes.push(params.printLayout ? 'ag-row-position-relative' : 'ag-row-position-absolute');\n if (params.firstRowOnPage) {\n classes.push('ag-row-first');\n }\n if (params.lastRowOnPage) {\n classes.push('ag-row-last');\n }\n if (params.fullWidthRow) {\n if (params.pinned === Constants.PINNED_LEFT) {\n classes.push('ag-cell-last-left-pinned');\n }\n if (params.pinned === Constants.PINNED_RIGHT) {\n classes.push('ag-cell-first-right-pinned');\n }\n }\n return classes;\n };\n RowCssClassCalculator.prototype.processClassesFromGridOptions = function (rowNode) {\n var res = [];\n var process = function (rowCls) {\n if (typeof rowCls === 'string') {\n res.push(rowCls);\n }\n else if (Array.isArray(rowCls)) {\n rowCls.forEach(function (e) { return res.push(e); });\n }\n };\n // part 1 - rowClass\n var rowClass = this.gridOptionsWrapper.getRowClass();\n if (rowClass) {\n if (typeof rowClass === 'function') {\n console.warn('AG Grid: rowClass should not be a function, please use getRowClass instead');\n return [];\n }\n process(rowClass);\n }\n // part 2 - rowClassFunc\n var rowClassFunc = this.gridOptionsWrapper.getRowClassFunc();\n if (rowClassFunc) {\n var params = {\n data: rowNode.data,\n node: rowNode,\n rowIndex: rowNode.rowIndex\n };\n var rowClassFuncResult = rowClassFunc(params);\n process(rowClassFuncResult);\n }\n return res;\n };\n RowCssClassCalculator.prototype.preProcessRowClassRules = function (rowNode) {\n var res = [];\n this.processRowClassRules(rowNode, function (className) {\n res.push(className);\n }, function (className) {\n // not catered for, if creating, no need\n // to remove class as it was never there\n });\n return res;\n };\n RowCssClassCalculator.prototype.processRowClassRules = function (rowNode, onApplicableClass, onNotApplicableClass) {\n var rowClassParams = {\n data: rowNode.data,\n node: rowNode,\n rowIndex: rowNode.rowIndex,\n api: this.gridOptionsWrapper.getApi(),\n columnApi: this.gridOptionsWrapper.getColumnApi(),\n context: this.gridOptionsWrapper.getContext()\n };\n this.stylingService.processClassRules(this.gridOptionsWrapper.rowClassRules(), rowClassParams, onApplicableClass, onNotApplicableClass);\n };\n RowCssClassCalculator.prototype.calculateRowLevel = function (rowNode) {\n if (rowNode.group) {\n return rowNode.level;\n }\n // if a leaf, and a parent exists, put a level of the parent, else put level of 0 for top level item\n return rowNode.parent ? (rowNode.parent.level + 1) : 0;\n };\n __decorate$j([\n Autowired('stylingService')\n ], RowCssClassCalculator.prototype, \"stylingService\", void 0);\n __decorate$j([\n Autowired('gridOptionsWrapper')\n ], RowCssClassCalculator.prototype, \"gridOptionsWrapper\", void 0);\n RowCssClassCalculator = __decorate$j([\n Bean('rowCssClassCalculator')\n ], RowCssClassCalculator);\n return RowCssClassCalculator;\n}());\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __decorate$i = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n// this logic is used by both SSRM and CSRM\nvar RowNodeSorter = /** @class */ (function () {\n function RowNodeSorter() {\n }\n RowNodeSorter.prototype.doFullSort = function (rowNodes, sortOptions) {\n var mapper = function (rowNode, pos) { return ({ currentPos: pos, rowNode: rowNode }); };\n var sortedRowNodes = rowNodes.map(mapper);\n sortedRowNodes.sort(this.compareRowNodes.bind(this, sortOptions));\n return sortedRowNodes.map(function (item) { return item.rowNode; });\n };\n RowNodeSorter.prototype.compareRowNodes = function (sortOptions, sortedNodeA, sortedNodeB) {\n var nodeA = sortedNodeA.rowNode;\n var nodeB = sortedNodeB.rowNode;\n // Iterate columns, return the first that doesn't match\n for (var i = 0, len = sortOptions.length; i < len; i++) {\n var sortOption = sortOptions[i];\n var isDescending = sortOption.sort === Constants.SORT_DESC;\n var valueA = this.getValue(nodeA, sortOption.column);\n var valueB = this.getValue(nodeB, sortOption.column);\n var comparatorResult = void 0;\n var providedComparator = this.getComparator(sortOption, nodeA);\n if (providedComparator) {\n //if comparator provided, use it\n comparatorResult = providedComparator(valueA, valueB, nodeA, nodeB, isDescending);\n }\n else {\n //otherwise do our own comparison\n comparatorResult = _.defaultComparator(valueA, valueB, this.gridOptionsWrapper.isAccentedSort());\n }\n // user provided comparators can return 'NaN' if they don't correctly handle 'undefined' values, this\n // typically occurs when the comparator is used on a group row\n var validResult = !isNaN(comparatorResult);\n if (validResult && comparatorResult !== 0) {\n return sortOption.sort === Constants.SORT_ASC ? comparatorResult : comparatorResult * -1;\n }\n }\n // All matched, we make is so that the original sort order is kept:\n return sortedNodeA.currentPos - sortedNodeB.currentPos;\n };\n RowNodeSorter.prototype.getComparator = function (sortOption, rowNode) {\n var column = sortOption.column;\n // comparator on col get preference over everything else\n var comparatorOnCol = column.getColDef().comparator;\n if (comparatorOnCol != null) {\n return comparatorOnCol;\n }\n if (!column.getColDef().showRowGroup) {\n return;\n }\n // if a 'field' is supplied on the autoGroupColumnDef we need to use the associated column comparator\n var groupLeafField = !rowNode.group && column.getColDef().field;\n if (!groupLeafField) {\n return;\n }\n var primaryColumn = this.columnModel.getPrimaryColumn(groupLeafField);\n if (!primaryColumn) {\n return;\n }\n return primaryColumn.getColDef().comparator;\n };\n RowNodeSorter.prototype.getValue = function (node, column) {\n var _a, _b;\n var primaryColumnsSortGroups = this.gridOptionsWrapper.isColumnsSortingCoupledToGroup();\n if (!primaryColumnsSortGroups) {\n return this.valueService.getValue(column, node, false, false);\n }\n var isNodeGroupedAtLevel = node.rowGroupColumn === column;\n if (isNodeGroupedAtLevel) {\n var isGroupRows = this.gridOptionsWrapper.isGroupUseEntireRow(this.columnModel.isPivotActive());\n if (isGroupRows) {\n // if the column has a provided a keyCreator, we have to use the key, as the group could be\n // irrelevant to the column value\n var keyCreator = column.getColDef().keyCreator;\n if (keyCreator) {\n return node.key;\n }\n // if the group was generated from the column data, all the leaf children should return the same\n // value\n var leafChild = (_a = node.allLeafChildren) === null || _a === void 0 ? void 0 : _a[0];\n if (leafChild) {\n return this.valueService.getValue(column, leafChild, false, false);\n }\n return undefined;\n }\n var displayCol = this.columnModel.getGroupDisplayColumnForGroup(column.getId());\n if (!displayCol) {\n return undefined;\n }\n return (_b = node.groupData) === null || _b === void 0 ? void 0 : _b[displayCol.getId()];\n }\n if (node.group && column.getColDef().showRowGroup) {\n return undefined;\n }\n return this.valueService.getValue(column, node, false, false);\n };\n __decorate$i([\n Autowired('gridOptionsWrapper')\n ], RowNodeSorter.prototype, \"gridOptionsWrapper\", void 0);\n __decorate$i([\n Autowired('valueService')\n ], RowNodeSorter.prototype, \"valueService\", void 0);\n __decorate$i([\n Autowired('columnModel')\n ], RowNodeSorter.prototype, \"columnModel\", void 0);\n RowNodeSorter = __decorate$i([\n Bean('rowNodeSorter')\n ], RowNodeSorter);\n return RowNodeSorter;\n}());\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$i = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$h = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar CtrlsService = /** @class */ (function (_super) {\n __extends$i(CtrlsService, _super);\n function CtrlsService() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.ready = false;\n _this.readyCallbacks = [];\n return _this;\n }\n CtrlsService_1 = CtrlsService;\n CtrlsService.prototype.checkReady = function () {\n this.ready =\n this.gridCtrl != null\n && this.gridBodyCtrl != null\n && this.centerRowContainerCtrl != null\n && this.leftRowContainerCtrl != null\n && this.rightRowContainerCtrl != null\n && this.bottomCenterRowContainerCtrl != null\n && this.bottomLeftRowContainerCtrl != null\n && this.bottomRightRowContainerCtrl != null\n && this.topCenterRowContainerCtrl != null\n && this.topLeftRowContainerCtrl != null\n && this.topRightRowContainerCtrl != null\n && this.stickyTopCenterRowContainerCtrl != null\n && this.stickyTopLeftRowContainerCtrl != null\n && this.stickyTopRightRowContainerCtrl != null\n && this.centerHeaderRowContainerCtrl != null\n && this.leftHeaderRowContainerCtrl != null\n && this.rightHeaderRowContainerCtrl != null\n && this.fakeHScrollCtrl != null\n && this.gridHeaderCtrl != null;\n if (this.ready) {\n var p_1 = this.createReadyParams();\n this.readyCallbacks.forEach(function (c) { return c(p_1); });\n this.readyCallbacks.length = 0;\n }\n };\n CtrlsService.prototype.whenReady = function (callback) {\n if (this.ready) {\n callback(this.createReadyParams());\n }\n else {\n this.readyCallbacks.push(callback);\n }\n };\n CtrlsService.prototype.createReadyParams = function () {\n return {\n centerRowContainerCtrl: this.centerRowContainerCtrl,\n leftRowContainerCtrl: this.leftRowContainerCtrl,\n rightRowContainerCtrl: this.rightRowContainerCtrl,\n bottomCenterRowContainerCtrl: this.bottomCenterRowContainerCtrl,\n bottomLeftRowContainerCtrl: this.bottomLeftRowContainerCtrl,\n bottomRightRowContainerCtrl: this.bottomRightRowContainerCtrl,\n topCenterRowContainerCtrl: this.topCenterRowContainerCtrl,\n topLeftRowContainerCtrl: this.topLeftRowContainerCtrl,\n topRightRowContainerCtrl: this.topRightRowContainerCtrl,\n stickyTopCenterRowContainerCtrl: this.stickyTopCenterRowContainerCtrl,\n stickyTopLeftRowContainerCtrl: this.stickyTopLeftRowContainerCtrl,\n stickyTopRightRowContainerCtrl: this.stickyTopRightRowContainerCtrl,\n centerHeaderRowContainerCtrl: this.centerHeaderRowContainerCtrl,\n leftHeaderRowContainerCtrl: this.leftHeaderRowContainerCtrl,\n rightHeaderRowContainerCtrl: this.rightHeaderRowContainerCtrl,\n fakeHScrollCtrl: this.fakeHScrollCtrl,\n gridBodyCtrl: this.gridBodyCtrl,\n gridCtrl: this.gridCtrl,\n gridHeaderCtrl: this.gridHeaderCtrl,\n };\n };\n CtrlsService.prototype.registerFakeHScrollCtrl = function (ctrl) {\n this.fakeHScrollCtrl = ctrl;\n this.checkReady();\n };\n CtrlsService.prototype.registerGridHeaderCtrl = function (gridHeaderCtrl) {\n this.gridHeaderCtrl = gridHeaderCtrl;\n this.checkReady();\n };\n CtrlsService.prototype.registerCenterRowContainerCtrl = function (ctrl) {\n this.centerRowContainerCtrl = ctrl;\n this.checkReady();\n };\n CtrlsService.prototype.registerLeftRowContainerCtrl = function (ctrl) {\n this.leftRowContainerCtrl = ctrl;\n this.checkReady();\n };\n CtrlsService.prototype.registerRightRowContainerCtrl = function (ctrl) {\n this.rightRowContainerCtrl = ctrl;\n this.checkReady();\n };\n CtrlsService.prototype.registerTopCenterRowContainerCtrl = function (ctrl) {\n this.topCenterRowContainerCtrl = ctrl;\n this.checkReady();\n };\n CtrlsService.prototype.registerTopLeftRowContainerCon = function (ctrl) {\n this.topLeftRowContainerCtrl = ctrl;\n this.checkReady();\n };\n CtrlsService.prototype.registerTopRightRowContainerCtrl = function (ctrl) {\n this.topRightRowContainerCtrl = ctrl;\n this.checkReady();\n };\n CtrlsService.prototype.registerStickyTopCenterRowContainerCtrl = function (ctrl) {\n this.stickyTopCenterRowContainerCtrl = ctrl;\n this.checkReady();\n };\n CtrlsService.prototype.registerStickyTopLeftRowContainerCon = function (ctrl) {\n this.stickyTopLeftRowContainerCtrl = ctrl;\n this.checkReady();\n };\n CtrlsService.prototype.registerStickyTopRightRowContainerCtrl = function (ctrl) {\n this.stickyTopRightRowContainerCtrl = ctrl;\n this.checkReady();\n };\n CtrlsService.prototype.registerBottomCenterRowContainerCtrl = function (ctrl) {\n this.bottomCenterRowContainerCtrl = ctrl;\n this.checkReady();\n };\n CtrlsService.prototype.registerBottomLeftRowContainerCtrl = function (ctrl) {\n this.bottomLeftRowContainerCtrl = ctrl;\n this.checkReady();\n };\n CtrlsService.prototype.registerBottomRightRowContainerCtrl = function (ctrl) {\n this.bottomRightRowContainerCtrl = ctrl;\n this.checkReady();\n };\n CtrlsService.prototype.registerHeaderContainer = function (ctrl, pinned) {\n switch (pinned) {\n case Constants.PINNED_LEFT:\n this.leftHeaderRowContainerCtrl = ctrl;\n break;\n case Constants.PINNED_RIGHT:\n this.rightHeaderRowContainerCtrl = ctrl;\n break;\n default:\n this.centerHeaderRowContainerCtrl = ctrl;\n break;\n }\n this.checkReady();\n };\n CtrlsService.prototype.registerGridBodyCtrl = function (ctrl) {\n this.gridBodyCtrl = ctrl;\n this.checkReady();\n };\n CtrlsService.prototype.registerGridCtrl = function (ctrl) {\n this.gridCtrl = ctrl;\n this.checkReady();\n };\n CtrlsService.prototype.getFakeHScrollCtrl = function () {\n return this.fakeHScrollCtrl;\n };\n CtrlsService.prototype.getGridHeaderCtrl = function () {\n return this.gridHeaderCtrl;\n };\n CtrlsService.prototype.getGridCtrl = function () {\n return this.gridCtrl;\n };\n CtrlsService.prototype.getCenterRowContainerCtrl = function () {\n return this.centerRowContainerCtrl;\n };\n CtrlsService.prototype.getTopCenterRowContainerCtrl = function () {\n return this.topCenterRowContainerCtrl;\n };\n CtrlsService.prototype.getBottomCenterRowContainerCtrl = function () {\n return this.bottomCenterRowContainerCtrl;\n };\n CtrlsService.prototype.getStickyTopCenterRowContainerCtrl = function () {\n return this.stickyTopCenterRowContainerCtrl;\n };\n CtrlsService.prototype.getGridBodyCtrl = function () {\n return this.gridBodyCtrl;\n };\n CtrlsService.prototype.getHeaderRowContainerCtrls = function () {\n return [this.leftHeaderRowContainerCtrl, this.rightHeaderRowContainerCtrl, this.centerHeaderRowContainerCtrl];\n };\n CtrlsService.prototype.getHeaderRowContainerCtrl = function (pinned) {\n switch (pinned) {\n case Constants.PINNED_LEFT: return this.leftHeaderRowContainerCtrl;\n case Constants.PINNED_RIGHT: return this.rightHeaderRowContainerCtrl;\n default: return this.centerHeaderRowContainerCtrl;\n }\n };\n var CtrlsService_1;\n CtrlsService.NAME = 'ctrlsService';\n CtrlsService = CtrlsService_1 = __decorate$h([\n Bean(CtrlsService_1.NAME)\n ], CtrlsService);\n return CtrlsService;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$h = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$g = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar CtrlsFactory = /** @class */ (function (_super) {\n __extends$h(CtrlsFactory, _super);\n function CtrlsFactory() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.registry = {};\n return _this;\n }\n CtrlsFactory.prototype.register = function (meta) {\n this.registry[meta.controllerName] = meta.controllerClass;\n };\n CtrlsFactory.prototype.getInstance = function (name) {\n var ControllerClass = this.registry[name];\n if (ControllerClass == null) {\n return undefined;\n }\n return new ControllerClass();\n };\n CtrlsFactory = __decorate$g([\n Bean('ctrlsFactory')\n ], CtrlsFactory);\n return CtrlsFactory;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$g = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$f = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar FakeHScrollCtrl = /** @class */ (function (_super) {\n __extends$g(FakeHScrollCtrl, _super);\n function FakeHScrollCtrl() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n FakeHScrollCtrl.prototype.setComp = function (view, eGui, eViewport, eContainer) {\n this.view = view;\n this.eViewport = eViewport;\n this.eContainer = eContainer;\n this.eGui = eGui;\n this.addManagedListener(this.eventService, Events.EVENT_SCROLL_VISIBILITY_CHANGED, this.onScrollVisibilityChanged.bind(this));\n // When doing printing, this changes whether cols are pinned or not\n var spacerWidthsListener = this.setFakeHScrollSpacerWidths.bind(this);\n this.addManagedListener(this.eventService, Events.EVENT_DISPLAYED_COLUMNS_CHANGED, spacerWidthsListener);\n this.addManagedListener(this.eventService, Events.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED, spacerWidthsListener);\n this.addManagedListener(this.gridOptionsWrapper, GridOptionsWrapper.PROP_DOM_LAYOUT, spacerWidthsListener);\n this.addManagedListener(this.eventService, Events.EVENT_PINNED_ROW_DATA_CHANGED, this.onPinnedRowDataChanged.bind(this));\n this.onScrollVisibilityChanged();\n this.ctrlsService.registerFakeHScrollCtrl(this);\n this.view.addOrRemoveCssClass('ag-apple-scrollbar', isMacOsUserAgent() || isIOSUserAgent());\n };\n FakeHScrollCtrl.prototype.addActiveListenerToggles = function () {\n var _this = this;\n var activateEvents = ['mouseenter', 'mousedown', 'touchstart'];\n var deactivateEvents = ['mouseleave', 'touchend'];\n activateEvents.forEach(function (eventName) { return _this.addManagedListener(_this.eGui, eventName, function () { return _this.view.addOrRemoveCssClass('ag-scrollbar-active', true); }); });\n deactivateEvents.forEach(function (eventName) { return _this.addManagedListener(_this.eGui, eventName, function () { return _this.view.addOrRemoveCssClass('ag-scrollbar-active', false); }); });\n };\n FakeHScrollCtrl.prototype.initialiseInvisibleScrollbar = function () {\n if (this.invisibleScrollbar !== undefined) {\n return;\n }\n this.enableRtl = this.gridOptionsWrapper.isEnableRtl();\n this.invisibleScrollbar = isInvisibleScrollbar();\n if (this.invisibleScrollbar) {\n this.hideAndShowInvisibleScrollAsNeeded();\n this.addActiveListenerToggles();\n this.refreshCompBottom();\n }\n };\n FakeHScrollCtrl.prototype.onPinnedRowDataChanged = function () {\n this.refreshCompBottom();\n };\n FakeHScrollCtrl.prototype.refreshCompBottom = function () {\n if (!this.invisibleScrollbar) {\n return;\n }\n var bottomPinnedHeight = this.pinnedRowModel.getPinnedBottomTotalHeight();\n this.view.setBottom(bottomPinnedHeight);\n };\n FakeHScrollCtrl.prototype.onScrollVisibilityChanged = function () {\n // initialiseInvisibleScrollbar should only be called once, but the reason\n // this can't be inside `setComp` or `PostConstruct` is the DOM might not\n // be ready, so we call it until eventually, it gets calculated.\n if (this.invisibleScrollbar === undefined) {\n this.initialiseInvisibleScrollbar();\n }\n this.setScrollVisible();\n this.setFakeHScrollSpacerWidths();\n };\n FakeHScrollCtrl.prototype.hideAndShowInvisibleScrollAsNeeded = function () {\n var _this = this;\n this.addManagedListener(this.eventService, Events.EVENT_BODY_SCROLL, function (params) {\n if (params.direction === 'horizontal') {\n _this.view.addOrRemoveCssClass('ag-scrollbar-scrolling', true);\n }\n });\n this.addManagedListener(this.eventService, Events.EVENT_BODY_SCROLL_END, function () { return _this.view.addOrRemoveCssClass('ag-scrollbar-scrolling', false); });\n };\n FakeHScrollCtrl.prototype.setFakeHScrollSpacerWidths = function () {\n var vScrollShowing = this.scrollVisibleService.isVerticalScrollShowing();\n // we pad the right based on a) if cols are pinned to the right and\n // b) if v scroll is showing on the right (normal position of scroll)\n var rightSpacing = this.columnModel.getDisplayedColumnsRightWidth();\n var scrollOnRight = !this.enableRtl && vScrollShowing;\n var scrollbarWidth = this.gridOptionsWrapper.getScrollbarWidth();\n if (scrollOnRight) {\n rightSpacing += scrollbarWidth;\n }\n this.view.setRightSpacerFixedWidth(rightSpacing);\n this.view.includeRightSpacerScrollerCss('ag-scroller-corner', rightSpacing <= scrollbarWidth);\n // we pad the left based on a) if cols are pinned to the left and\n // b) if v scroll is showing on the left (happens in LTR layout only)\n var leftSpacing = this.columnModel.getDisplayedColumnsLeftWidth();\n var scrollOnLeft = this.enableRtl && vScrollShowing;\n if (scrollOnLeft) {\n leftSpacing += scrollbarWidth;\n }\n this.view.setLeftSpacerFixedWidth(leftSpacing);\n this.view.includeLeftSpacerScrollerCss('ag-scroller-corner', leftSpacing <= scrollbarWidth);\n };\n FakeHScrollCtrl.prototype.setScrollVisible = function () {\n var hScrollShowing = this.scrollVisibleService.isHorizontalScrollShowing();\n var invisibleScrollbar = this.invisibleScrollbar;\n var isSuppressHorizontalScroll = this.gridOptionsWrapper.isSuppressHorizontalScroll();\n var scrollbarWidth = hScrollShowing ? (this.gridOptionsWrapper.getScrollbarWidth() || 0) : 0;\n var adjustedScrollbarWidth = (scrollbarWidth === 0 && invisibleScrollbar) ? 15 : scrollbarWidth;\n var scrollContainerSize = !isSuppressHorizontalScroll ? adjustedScrollbarWidth : 0;\n this.view.addOrRemoveCssClass('ag-scrollbar-invisible', invisibleScrollbar);\n this.view.setHeight(scrollContainerSize);\n this.view.setViewportHeight(scrollContainerSize);\n this.view.setContainerHeight(scrollContainerSize);\n this.view.addOrRemoveCssClass('ag-hidden', !hScrollShowing);\n };\n FakeHScrollCtrl.prototype.getViewport = function () {\n return this.eViewport;\n };\n FakeHScrollCtrl.prototype.getContainer = function () {\n return this.eContainer;\n };\n __decorate$f([\n Autowired('scrollVisibleService')\n ], FakeHScrollCtrl.prototype, \"scrollVisibleService\", void 0);\n __decorate$f([\n Autowired('columnModel')\n ], FakeHScrollCtrl.prototype, \"columnModel\", void 0);\n __decorate$f([\n Autowired('ctrlsService')\n ], FakeHScrollCtrl.prototype, \"ctrlsService\", void 0);\n __decorate$f([\n Autowired('pinnedRowModel')\n ], FakeHScrollCtrl.prototype, \"pinnedRowModel\", void 0);\n return FakeHScrollCtrl;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$f = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$e = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar FakeHScrollComp = /** @class */ (function (_super) {\n __extends$f(FakeHScrollComp, _super);\n function FakeHScrollComp() {\n return _super.call(this, FakeHScrollComp.TEMPLATE) || this;\n }\n FakeHScrollComp.prototype.postConstruct = function () {\n var _this = this;\n var compProxy = {\n addOrRemoveCssClass: function (cssClassName, on) { return _this.addOrRemoveCssClass(cssClassName, on); },\n setHeight: function (height) { return setFixedHeight(_this.getGui(), height); },\n setBottom: function (bottom) { return _this.getGui().style.bottom = bottom + \"px\"; },\n setContainerHeight: function (height) { return setFixedHeight(_this.eContainer, height); },\n setViewportHeight: function (height) { return setFixedHeight(_this.eViewport, height); },\n setRightSpacerFixedWidth: function (width) { return setFixedWidth(_this.eRightSpacer, width); },\n setLeftSpacerFixedWidth: function (width) { return setFixedWidth(_this.eLeftSpacer, width); },\n includeLeftSpacerScrollerCss: function (cssClass, include) {\n return _this.eLeftSpacer.classList.toggle(cssClass, include);\n },\n includeRightSpacerScrollerCss: function (cssClass, include) {\n return _this.eRightSpacer.classList.toggle(cssClass, include);\n },\n };\n var ctrl = this.createManagedBean(new FakeHScrollCtrl());\n ctrl.setComp(compProxy, this.getGui(), this.eViewport, this.eContainer);\n this.createManagedBean(new CenterWidthFeature(function (width) { return _this.eContainer.style.width = width + \"px\"; }));\n };\n FakeHScrollComp.TEMPLATE = \"
    \\n
    \\n
    \\n
    \\n
    \\n
    \\n
    \";\n __decorate$e([\n RefSelector('eLeftSpacer')\n ], FakeHScrollComp.prototype, \"eLeftSpacer\", void 0);\n __decorate$e([\n RefSelector('eRightSpacer')\n ], FakeHScrollComp.prototype, \"eRightSpacer\", void 0);\n __decorate$e([\n RefSelector('eViewport')\n ], FakeHScrollComp.prototype, \"eViewport\", void 0);\n __decorate$e([\n RefSelector('eContainer')\n ], FakeHScrollComp.prototype, \"eContainer\", void 0);\n __decorate$e([\n PostConstruct\n ], FakeHScrollComp.prototype, \"postConstruct\", null);\n return FakeHScrollComp;\n}(Component));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$e = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$d = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar PinnedWidthService = /** @class */ (function (_super) {\n __extends$e(PinnedWidthService, _super);\n function PinnedWidthService() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n PinnedWidthService.prototype.postConstruct = function () {\n var listener = this.checkContainerWidths.bind(this);\n this.addManagedListener(this.eventService, Events.EVENT_DISPLAYED_COLUMNS_CHANGED, listener);\n this.addManagedListener(this.eventService, Events.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED, listener);\n this.addManagedListener(this.gridOptionsWrapper, GridOptionsWrapper.PROP_DOM_LAYOUT, listener);\n };\n PinnedWidthService.prototype.checkContainerWidths = function () {\n var printLayout = this.gridOptionsWrapper.getDomLayout() === Constants.DOM_LAYOUT_PRINT;\n var newLeftWidth = printLayout ? 0 : this.columnModel.getDisplayedColumnsLeftWidth();\n var newRightWidth = printLayout ? 0 : this.columnModel.getDisplayedColumnsRightWidth();\n if (newLeftWidth != this.leftWidth) {\n this.leftWidth = newLeftWidth;\n this.eventService.dispatchEvent({ type: Events.EVENT_LEFT_PINNED_WIDTH_CHANGED });\n }\n if (newRightWidth != this.rightWidth) {\n this.rightWidth = newRightWidth;\n this.eventService.dispatchEvent({ type: Events.EVENT_RIGHT_PINNED_WIDTH_CHANGED });\n }\n };\n PinnedWidthService.prototype.getPinnedRightWidth = function () {\n return this.rightWidth;\n };\n PinnedWidthService.prototype.getPinnedLeftWidth = function () {\n return this.leftWidth;\n };\n __decorate$d([\n Autowired('columnModel')\n ], PinnedWidthService.prototype, \"columnModel\", void 0);\n __decorate$d([\n PostConstruct\n ], PinnedWidthService.prototype, \"postConstruct\", null);\n PinnedWidthService = __decorate$d([\n Bean('pinnedWidthService')\n ], PinnedWidthService);\n return PinnedWidthService;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __extends$d = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$c = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar RowNodeEventThrottle = /** @class */ (function (_super) {\n __extends$d(RowNodeEventThrottle, _super);\n function RowNodeEventThrottle() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.events = [];\n return _this;\n }\n RowNodeEventThrottle.prototype.postConstruct = function () {\n if (this.rowModel.getType() == Constants.ROW_MODEL_TYPE_CLIENT_SIDE) {\n this.clientSideRowModel = this.rowModel;\n }\n };\n // because the user can call rowNode.setExpanded() many times in one VM turn,\n // we throttle the calls to ClientSideRowModel using animationFrameService. this means for 100\n // row nodes getting expanded, we only update the CSRM once, and then we fire all events after\n // CSRM has updated.\n //\n // if we did not do this, then the user could call setExpanded on 100+ rows, causing the grid\n // to re-render 100+ times, which would be a performance lag.\n //\n // we use animationFrameService\n // rather than _.debounce() so this will get done if anyone flushes the animationFrameService\n // (eg user calls api.ensureRowVisible(), which in turn flushes ).\n RowNodeEventThrottle.prototype.dispatchExpanded = function (event) {\n var _this = this;\n // if not using CSRM, we don't debounce. otherwise this breaks the SSRM.\n if (this.clientSideRowModel == null) {\n this.eventService.dispatchEvent(event);\n return;\n }\n this.events.push(event);\n var func = function () {\n if (_this.clientSideRowModel) {\n _this.clientSideRowModel.onRowGroupOpened();\n }\n _this.events.forEach(function (e) { return _this.eventService.dispatchEvent(e); });\n _this.events = [];\n };\n if (this.dispatchExpandedDebounced == null) {\n this.dispatchExpandedDebounced = this.animationFrameService.debounce(func);\n }\n this.dispatchExpandedDebounced();\n };\n __decorate$c([\n Autowired('animationFrameService')\n ], RowNodeEventThrottle.prototype, \"animationFrameService\", void 0);\n __decorate$c([\n Autowired('rowModel')\n ], RowNodeEventThrottle.prototype, \"rowModel\", void 0);\n __decorate$c([\n PostConstruct\n ], RowNodeEventThrottle.prototype, \"postConstruct\", null);\n RowNodeEventThrottle = __decorate$c([\n Bean('rowNodeEventThrottle')\n ], RowNodeEventThrottle);\n return RowNodeEventThrottle;\n}(BeanStub));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar __read$2 = (undefined && undefined.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar __spread$1 = (undefined && undefined.__spread) || function () {\n for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$2(arguments[i]));\n return ar;\n};\n// creates JavaScript vanilla Grid, including JavaScript (ag-stack) components, which can\n// be wrapped by the framework wrappers\nvar Grid = /** @class */ (function () {\n function Grid(eGridDiv, gridOptions, params) {\n if (!gridOptions) {\n console.error('AG Grid: no gridOptions provided to the grid');\n return;\n }\n this.gridOptions = gridOptions;\n new GridCoreCreator().create(eGridDiv, gridOptions, function (context) {\n var gridComp = new GridComp(eGridDiv);\n context.createBean(gridComp);\n }, undefined, params);\n }\n Grid.prototype.destroy = function () {\n if (this.gridOptions && this.gridOptions.api) {\n this.gridOptions.api.destroy();\n }\n };\n return Grid;\n}());\n// created services of grid only, no UI, so frameworks can use this if providing\n// their own UI\nvar GridCoreCreator = /** @class */ (function () {\n function GridCoreCreator() {\n }\n GridCoreCreator.prototype.create = function (eGridDiv, gridOptions, createUi, acceptChanges, params) {\n var _this = this;\n var debug = !!gridOptions.debug;\n var registeredModules = this.getRegisteredModules(params);\n var beanClasses = this.createBeansList(gridOptions.rowModelType, registeredModules);\n var providedBeanInstances = this.createProvidedBeans(eGridDiv, gridOptions, params);\n if (!beanClasses) {\n return;\n } // happens when no row model found\n var contextParams = {\n providedBeanInstances: providedBeanInstances,\n beanClasses: beanClasses,\n debug: debug\n };\n var logger = new Logger('AG Grid', function () { return gridOptions.debug; });\n var contextLogger = new Logger('Context', function () { return contextParams.debug; });\n var context = new Context(contextParams, contextLogger);\n var beans = context.getBean('beans');\n this.registerModuleUserComponents(beans, registeredModules);\n this.registerStackComponents(beans, registeredModules);\n this.registerControllers(beans, registeredModules);\n createUi(context);\n // we wait until the UI has finished initialising before setting in columns and rows\n beans.ctrlsService.whenReady(function () {\n _this.setColumnsAndData(beans);\n _this.dispatchGridReadyEvent(beans);\n var isEnterprise = ModuleRegistry.isRegistered(ModuleNames.EnterpriseCoreModule);\n logger.log(\"initialised successfully, enterprise = \" + isEnterprise);\n });\n if (acceptChanges) {\n acceptChanges(context);\n }\n };\n GridCoreCreator.prototype.registerControllers = function (beans, registeredModules) {\n registeredModules.forEach(function (module) {\n if (module.controllers) {\n module.controllers.forEach(function (meta) { return beans.ctrlsFactory.register(meta); });\n }\n });\n };\n GridCoreCreator.prototype.registerStackComponents = function (beans, registeredModules) {\n var agStackComponents = this.createAgStackComponentsList(registeredModules);\n beans.agStackComponentsRegistry.setupComponents(agStackComponents);\n };\n GridCoreCreator.prototype.getRegisteredModules = function (params) {\n var passedViaConstructor = params ? params.modules : null;\n var registered = ModuleRegistry.getRegisteredModules();\n var allModules = [];\n var mapNames = {};\n // adds to list and removes duplicates\n function addModule(moduleBased, mod) {\n function addIndividualModule(currentModule) {\n if (!mapNames[currentModule.moduleName]) {\n mapNames[currentModule.moduleName] = true;\n allModules.push(currentModule);\n ModuleRegistry.register(currentModule, moduleBased);\n }\n }\n addIndividualModule(mod);\n if (mod.dependantModules) {\n mod.dependantModules.forEach(addModule.bind(null, moduleBased));\n }\n }\n if (passedViaConstructor) {\n passedViaConstructor.forEach(addModule.bind(null, true));\n }\n if (registered) {\n registered.forEach(addModule.bind(null, !ModuleRegistry.isPackageBased()));\n }\n return allModules;\n };\n GridCoreCreator.prototype.registerModuleUserComponents = function (beans, registeredModules) {\n var moduleUserComps = this.extractModuleEntity(registeredModules, function (module) { return module.userComponents ? module.userComponents : []; });\n moduleUserComps.forEach(function (compMeta) {\n beans.userComponentRegistry.registerDefaultComponent(compMeta.componentName, compMeta.componentClass);\n });\n };\n GridCoreCreator.prototype.createProvidedBeans = function (eGridDiv, gridOptions, params) {\n var frameworkOverrides = params ? params.frameworkOverrides : null;\n if (missing(frameworkOverrides)) {\n frameworkOverrides = new VanillaFrameworkOverrides();\n }\n var seed = {\n gridOptions: gridOptions,\n eGridDiv: eGridDiv,\n globalEventListener: params ? params.globalEventListener : null,\n frameworkOverrides: frameworkOverrides\n };\n if (params && params.providedBeanInstances) {\n Object.assign(seed, params.providedBeanInstances);\n }\n return seed;\n };\n GridCoreCreator.prototype.createAgStackComponentsList = function (registeredModules) {\n var components = [\n { componentName: 'AgCheckbox', componentClass: AgCheckbox },\n { componentName: 'AgRadioButton', componentClass: AgRadioButton },\n { componentName: 'AgToggleButton', componentClass: AgToggleButton },\n { componentName: 'AgInputTextField', componentClass: AgInputTextField },\n { componentName: 'AgInputTextArea', componentClass: AgInputTextArea },\n { componentName: 'AgInputNumberField', componentClass: AgInputNumberField },\n { componentName: 'AgInputRange', componentClass: AgInputRange },\n { componentName: 'AgSelect', componentClass: AgSelect },\n { componentName: 'AgSlider', componentClass: AgSlider },\n { componentName: 'AgAngleSelect', componentClass: AgAngleSelect },\n { componentName: 'AgColorPicker', componentClass: AgColorPicker },\n { componentName: 'AgGridBody', componentClass: GridBodyComp },\n { componentName: 'AgHeaderRoot', componentClass: GridHeaderComp },\n { componentName: 'AgSortIndicator', componentClass: SortIndicatorComp },\n { componentName: 'AgPagination', componentClass: PaginationComp },\n { componentName: 'AgOverlayWrapper', componentClass: OverlayWrapperComponent },\n { componentName: 'AgGroupComponent', componentClass: AgGroupComponent },\n { componentName: 'AgPanel', componentClass: AgPanel },\n { componentName: 'AgDialog', componentClass: AgDialog },\n { componentName: 'AgRowContainer', componentClass: RowContainerComp },\n { componentName: 'AgFakeHorizontalScroll', componentClass: FakeHScrollComp }\n ];\n var moduleAgStackComps = this.extractModuleEntity(registeredModules, function (module) { return module.agStackComponents ? module.agStackComponents : []; });\n components = components.concat(moduleAgStackComps);\n return components;\n };\n GridCoreCreator.prototype.createBeansList = function (rowModelType, registeredModules) {\n var rowModelClass = this.getRowModelClass(rowModelType, registeredModules);\n if (!rowModelClass) {\n return;\n }\n // beans should only contain SERVICES, it should NEVER contain COMPONENTS\n var beans = [\n rowModelClass, Beans, RowPositionUtils, CellPositionUtils, HeaderPositionUtils,\n PaginationAutoPageSizeService, GridApi, UserComponentRegistry, AgComponentUtils,\n ComponentMetadataProvider, ResizeObserverService, UserComponentFactory,\n RowContainerHeightService, HorizontalResizeService,\n PinnedRowModel, DragService, DisplayedGroupCreator, EventService, GridOptionsWrapper,\n PopupService, SelectionService, FilterManager, ColumnModel, HeaderNavigationService,\n PaginationProxy, RowRenderer, ExpressionService, ColumnFactory, TemplateService,\n AlignedGridsService, NavigationService, ValueCache, ValueService, LoggerFactory,\n ColumnUtils, AutoWidthCalculator, StandardMenuFactory, DragAndDropService, ColumnApi,\n FocusService, MouseEventService, Environment, CellNavigationService, ValueFormatterService,\n StylingService, ScrollVisibleService, SortController, ColumnHoverService, ColumnAnimationService,\n SelectableService, AutoGroupColService, ChangeDetectionService, AnimationFrameService,\n UndoRedoService, AgStackComponentsRegistry, ColumnDefFactory,\n RowCssClassCalculator, RowNodeBlockLoader, RowNodeSorter, CtrlsService,\n PinnedWidthService, RowNodeEventThrottle, CtrlsFactory\n ];\n var moduleBeans = this.extractModuleEntity(registeredModules, function (module) { return module.beans ? module.beans : []; });\n beans.push.apply(beans, __spread$1(moduleBeans));\n // check for duplicates, as different modules could include the same beans that\n // they depend on, eg ClientSideRowModel in enterprise, and ClientSideRowModel in community\n var beansNoDuplicates = [];\n beans.forEach(function (bean) {\n if (beansNoDuplicates.indexOf(bean) < 0) {\n beansNoDuplicates.push(bean);\n }\n });\n return beansNoDuplicates;\n };\n GridCoreCreator.prototype.extractModuleEntity = function (moduleEntities, extractor) {\n return [].concat.apply([], __spread$1(moduleEntities.map(extractor)));\n };\n GridCoreCreator.prototype.setColumnsAndData = function (beans) {\n var columnDefs = beans.gridOptionsWrapper.getColumnDefs();\n beans.columnModel.setColumnDefs(columnDefs || [], \"gridInitializing\");\n beans.rowModel.start();\n };\n GridCoreCreator.prototype.dispatchGridReadyEvent = function (beans) {\n var readyEvent = {\n type: Events.EVENT_GRID_READY,\n };\n beans.eventService.dispatchEvent(readyEvent);\n };\n GridCoreCreator.prototype.getRowModelClass = function (rowModelType, registeredModules) {\n // default to client side\n if (!rowModelType) {\n rowModelType = Constants.ROW_MODEL_TYPE_CLIENT_SIDE;\n }\n var rowModelClasses = {};\n registeredModules.forEach(function (module) {\n iterateObject(module.rowModels, function (key, value) {\n rowModelClasses[key] = value;\n });\n });\n var rowModelClass = rowModelClasses[rowModelType];\n if (exists(rowModelClass)) {\n return rowModelClass;\n }\n if (ModuleRegistry.isPackageBased()) {\n if ([Constants.ROW_MODEL_TYPE_VIEWPORT, Constants.ROW_MODEL_TYPE_SERVER_SIDE].includes(rowModelType)) {\n // If package based only the enterprise row models could be missing.\n console.error(\"AG Grid: Row Model \\\"\" + rowModelType + \"\\\" not found. Please ensure the package 'ag-grid-enterprise' is imported. Please see: https://www.ag-grid.com/javascript-grid/packages/\");\n }\n else {\n console.error('AG Grid: could not find row model for rowModelType ' + rowModelType);\n }\n }\n else {\n if (rowModelType === Constants.ROW_MODEL_TYPE_INFINITE) {\n console.error(\"AG Grid: Row Model \\\"Infinite\\\" not found. Please ensure the \" + ModuleNames.InfiniteRowModelModule + \" module is registered. Please see: https://www.ag-grid.com/javascript-grid/modules/\");\n }\n else if (rowModelType === Constants.ROW_MODEL_TYPE_VIEWPORT) {\n console.error(\"AG Grid: Row Model \\\"Viewport\\\" not found. Please ensure the AG Grid Enterprise Module \" + ModuleNames.ViewportRowModelModule + \" module is registered. Please see: https://www.ag-grid.com/javascript-grid/modules/\");\n }\n else if (rowModelType === Constants.ROW_MODEL_TYPE_SERVER_SIDE) {\n console.error(\"AG Grid: Row Model \\\"Server Side\\\" not found. Please ensure the AG Grid Enterprise Module \" + ModuleNames.ServerSideRowModelModule + \" module is registered. Please see: https://www.ag-grid.com/javascript-grid/modules/\");\n }\n else if (rowModelType === Constants.ROW_MODEL_TYPE_CLIENT_SIDE) {\n console.error(\"AG Grid: Row Model \\\"Client Side\\\" not found. Please ensure the \" + ModuleNames.ClientSideRowModelModule + \" module is registered. Please see: https://www.ag-grid.com/javascript-grid/modules/\");\n }\n else {\n console.error('AG Grid: could not find row model for rowModelType ' + rowModelType);\n }\n }\n };\n return GridCoreCreator;\n}());\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nfunction defaultGroupComparator(valueA, valueB, nodeA, nodeB, accentedCompare) {\n if (accentedCompare === void 0) { accentedCompare = false; }\n console.warn('AG Grid: Since ag-grid 11.0.0 defaultGroupComparator is not necessary. You can remove this from your colDef');\n var nodeAIsGroup = exists(nodeA) && nodeA.group;\n var nodeBIsGroup = exists(nodeB) && nodeB.group;\n var bothAreGroups = nodeAIsGroup && nodeBIsGroup;\n var bothAreNormal = !nodeAIsGroup && !nodeBIsGroup;\n if (bothAreGroups) {\n return defaultComparator(nodeA.key, nodeB.key, accentedCompare);\n }\n if (bothAreNormal) {\n return defaultComparator(valueA, valueB, accentedCompare);\n }\n if (nodeAIsGroup) {\n return 1;\n }\n return -1;\n}\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar BaseComponentWrapper = /** @class */ (function () {\n function BaseComponentWrapper() {\n }\n BaseComponentWrapper.prototype.wrap = function (OriginalConstructor, mandatoryMethodList, optionalMethodList, componentType) {\n var _this = this;\n if (optionalMethodList === void 0) { optionalMethodList = []; }\n var wrapper = this.createWrapper(OriginalConstructor, componentType);\n mandatoryMethodList.forEach((function (methodName) {\n _this.createMethod(wrapper, methodName, true);\n }));\n optionalMethodList.forEach((function (methodName) {\n _this.createMethod(wrapper, methodName, false);\n }));\n return wrapper;\n };\n BaseComponentWrapper.prototype.unwrap = function (comp) {\n return comp;\n };\n BaseComponentWrapper.prototype.createMethod = function (wrapper, methodName, mandatory) {\n wrapper.addMethod(methodName, this.createMethodProxy(wrapper, methodName, mandatory));\n };\n BaseComponentWrapper.prototype.createMethodProxy = function (wrapper, methodName, mandatory) {\n return function () {\n if (wrapper.hasMethod(methodName)) {\n return wrapper.callMethod(methodName, arguments);\n }\n if (mandatory) {\n console.warn('AG Grid: Framework component is missing the method ' + methodName + '()');\n }\n return null;\n };\n };\n return BaseComponentWrapper;\n}());\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar DEFAULT_CHART_GROUPS = {\n columnGroup: [\n 'column',\n 'stackedColumn',\n 'normalizedColumn'\n ],\n barGroup: [\n 'bar',\n 'stackedBar',\n 'normalizedBar'\n ],\n pieGroup: [\n 'pie',\n 'doughnut'\n ],\n lineGroup: [\n 'line'\n ],\n scatterGroup: [\n 'scatter',\n 'bubble'\n ],\n areaGroup: [\n 'area',\n 'stackedArea',\n 'normalizedArea'\n ],\n histogramGroup: [\n 'histogram'\n ],\n combinationGroup: [\n 'columnLineCombo',\n 'areaColumnCombo',\n 'customCombo'\n ]\n};\nvar CHART_TOOL_PANEL_ALLOW_LIST = [\n 'chartSettings',\n 'chartData',\n 'chartFormat'\n];\nvar CHART_TOOLBAR_ALLOW_LIST = [\n 'chartUnlink',\n 'chartLink',\n 'chartDownload'\n];\nvar CHART_TOOL_PANEL_MENU_OPTIONS = {\n settings: \"chartSettings\",\n data: \"chartData\",\n format: \"chartFormat\"\n};\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar BarColumnLabelPlacement;\n(function (BarColumnLabelPlacement) {\n BarColumnLabelPlacement[\"InsideBase\"] = \"insideBase\";\n BarColumnLabelPlacement[\"InsideEnd\"] = \"insideEnd\";\n BarColumnLabelPlacement[\"Center\"] = \"center\";\n BarColumnLabelPlacement[\"OutsideEnd\"] = \"outsideEnd\";\n})(BarColumnLabelPlacement || (BarColumnLabelPlacement = {}));\n\n/**\n * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue\n * @version v28.2.1\n * @link https://www.ag-grid.com/\n * @license MIT\n */\nvar globalObj = typeof global === 'undefined' ? {} : global;\nglobalObj.HTMLElement = typeof HTMLElement === 'undefined' ? {} : HTMLElement;\nglobalObj.HTMLButtonElement = typeof HTMLButtonElement === 'undefined' ? {} : HTMLButtonElement;\nglobalObj.HTMLSelectElement = typeof HTMLSelectElement === 'undefined' ? {} : HTMLSelectElement;\nglobalObj.HTMLInputElement = typeof HTMLInputElement === 'undefined' ? {} : HTMLInputElement;\nglobalObj.Node = typeof Node === 'undefined' ? {} : Node;\nglobalObj.MouseEvent = typeof MouseEvent === 'undefined' ? {} : MouseEvent;\n\nvar __read$1 = (undefined && undefined.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar __spread = (undefined && undefined.__spread) || function () {\n for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read$1(arguments[i]));\n return ar;\n};\nvar ClientSideNodeManager = /** @class */ (function () {\n function ClientSideNodeManager(rootNode, gridOptionsWrapper, eventService, columnModel, selectionService, beans) {\n this.nextId = 0;\n // when user is provide the id's, we also keep a map of ids to row nodes for convenience\n this.allNodesMap = {};\n this.rootNode = rootNode;\n this.gridOptionsWrapper = gridOptionsWrapper;\n this.eventService = eventService;\n this.columnModel = columnModel;\n this.beans = beans;\n this.selectionService = selectionService;\n this.rootNode.group = true;\n this.rootNode.level = -1;\n this.rootNode.id = ClientSideNodeManager.ROOT_NODE_ID;\n this.rootNode.allLeafChildren = [];\n this.rootNode.childrenAfterGroup = [];\n this.rootNode.childrenAfterSort = [];\n this.rootNode.childrenAfterAggFilter = [];\n this.rootNode.childrenAfterFilter = [];\n // if we make this class a bean, then can annotate postConstruct\n this.postConstruct();\n }\n // @PostConstruct - this is not a bean, so postConstruct called by constructor\n ClientSideNodeManager.prototype.postConstruct = function () {\n // func below doesn't have 'this' pointer, so need to pull out these bits\n this.suppressParentsInRowNodes = this.gridOptionsWrapper.isSuppressParentsInRowNodes();\n this.isRowMasterFunc = this.gridOptionsWrapper.getIsRowMasterFunc();\n this.doingTreeData = this.gridOptionsWrapper.isTreeData();\n this.doingMasterDetail = this.gridOptionsWrapper.isMasterDetail();\n };\n ClientSideNodeManager.prototype.getCopyOfNodesMap = function () {\n return _.cloneObject(this.allNodesMap);\n };\n ClientSideNodeManager.prototype.getRowNode = function (id) {\n return this.allNodesMap[id];\n };\n ClientSideNodeManager.prototype.setRowData = function (rowData) {\n var _this = this;\n if (typeof rowData === 'string') {\n console.warn('AG Grid: rowData must be an array, however you passed in a string. If you are loading JSON, make sure you convert the JSON string to JavaScript objects first');\n return;\n }\n var rootNode = this.rootNode;\n var sibling = this.rootNode.sibling;\n rootNode.childrenAfterFilter = null;\n rootNode.childrenAfterGroup = null;\n rootNode.childrenAfterAggFilter = null;\n rootNode.childrenAfterSort = null;\n rootNode.childrenMapped = null;\n rootNode.updateHasChildren();\n this.nextId = 0;\n this.allNodesMap = {};\n if (rowData) {\n // we use rootNode as the parent, however if using ag-grid-enterprise, the grouping stage\n // sets the parent node on each row (even if we are not grouping). so setting parent node\n // here is for benefit of ag-grid-community users\n rootNode.allLeafChildren = rowData.map(function (dataItem) { return _this.createNode(dataItem, _this.rootNode, ClientSideNodeManager.TOP_LEVEL); });\n }\n else {\n rootNode.allLeafChildren = [];\n rootNode.childrenAfterGroup = [];\n }\n if (sibling) {\n sibling.childrenAfterFilter = rootNode.childrenAfterFilter;\n sibling.childrenAfterGroup = rootNode.childrenAfterGroup;\n sibling.childrenAfterAggFilter = rootNode.childrenAfterAggFilter;\n sibling.childrenAfterSort = rootNode.childrenAfterSort;\n sibling.childrenMapped = rootNode.childrenMapped;\n sibling.allLeafChildren = rootNode.allLeafChildren;\n }\n };\n ClientSideNodeManager.prototype.updateRowData = function (rowDataTran, rowNodeOrder) {\n var rowNodeTransaction = {\n remove: [],\n update: [],\n add: []\n };\n var nodesToUnselect = [];\n this.executeRemove(rowDataTran, rowNodeTransaction, nodesToUnselect);\n this.executeUpdate(rowDataTran, rowNodeTransaction, nodesToUnselect);\n this.executeAdd(rowDataTran, rowNodeTransaction);\n this.updateSelection(nodesToUnselect);\n if (rowNodeOrder) {\n _.sortRowNodesByOrder(this.rootNode.allLeafChildren, rowNodeOrder);\n }\n return rowNodeTransaction;\n };\n ClientSideNodeManager.prototype.updateSelection = function (nodesToUnselect) {\n var selectionChanged = nodesToUnselect.length > 0;\n if (selectionChanged) {\n nodesToUnselect.forEach(function (rowNode) {\n rowNode.setSelected(false, false, true);\n });\n }\n // we do this regardless of nodes to unselect or not, as it's possible\n // a new node was inserted, so a parent that was previously selected (as all\n // children were selected) should not be tri-state (as new one unselected against\n // all other selected children).\n this.selectionService.updateGroupsFromChildrenSelections();\n if (selectionChanged) {\n var event_1 = {\n type: Events.EVENT_SELECTION_CHANGED\n };\n this.eventService.dispatchEvent(event_1);\n }\n };\n ClientSideNodeManager.prototype.executeAdd = function (rowDataTran, rowNodeTransaction) {\n var _this = this;\n var add = rowDataTran.add, addIndex = rowDataTran.addIndex;\n if (_.missingOrEmpty(add)) {\n return;\n }\n // create new row nodes for each data item\n var newNodes = add.map(function (item) { return _this.createNode(item, _this.rootNode, ClientSideNodeManager.TOP_LEVEL); });\n // add new row nodes to the root nodes 'allLeafChildren'\n var useIndex = typeof addIndex === 'number' && addIndex >= 0;\n var nodesBeforeIndex;\n var nodesAfterIndex;\n if (useIndex) {\n // new rows are inserted in one go by concatenating them in between the existing rows at the desired index.\n // this is much faster than splicing them individually into 'allLeafChildren' when there are large inserts.\n // allLeafChildren can be out of order, so we loop over all the Nodes to find the correct index that\n // represents the position `addIndex` intended to be.\n var allLeafChildren_1 = this.rootNode.allLeafChildren;\n // if addIndex is 0, it should always be added at the start of the array\n // there is no need to verify the order of node by nodeIndex.\n var normalizedAddIndex = addIndex === 0 ? 0 : (allLeafChildren_1.reduce(function (prevIdx, currNode, currIdx) {\n var _a;\n var rowIndex = currNode.rowIndex;\n var prevValueAtIndex = (_a = allLeafChildren_1[prevIdx]) === null || _a === void 0 ? void 0 : _a.rowIndex;\n var shouldUpdateIndex = rowIndex != null && prevValueAtIndex != null && rowIndex < addIndex && rowIndex > prevValueAtIndex;\n return shouldUpdateIndex ? currIdx : prevIdx;\n }, 0) + 1);\n nodesBeforeIndex = allLeafChildren_1.slice(0, normalizedAddIndex);\n nodesAfterIndex = allLeafChildren_1.slice(normalizedAddIndex, allLeafChildren_1.length);\n }\n else {\n nodesBeforeIndex = this.rootNode.allLeafChildren;\n nodesAfterIndex = [];\n }\n this.rootNode.allLeafChildren = __spread(nodesBeforeIndex, newNodes, nodesAfterIndex);\n if (this.rootNode.sibling) {\n this.rootNode.sibling.allLeafChildren = this.rootNode.allLeafChildren;\n }\n // add new row nodes to the transaction add items\n rowNodeTransaction.add = newNodes;\n };\n ClientSideNodeManager.prototype.executeRemove = function (rowDataTran, rowNodeTransaction, nodesToUnselect) {\n var _this = this;\n var remove = rowDataTran.remove;\n if (_.missingOrEmpty(remove)) {\n return;\n }\n var rowIdsRemoved = {};\n remove.forEach(function (item) {\n var rowNode = _this.lookupRowNode(item);\n if (!rowNode) {\n return;\n }\n // do delete - setting 'suppressFinishActions = true' to ensure EVENT_SELECTION_CHANGED is not raised for\n // each row node updated, instead it is raised once by the calling code if any selected nodes exist.\n if (rowNode.isSelected()) {\n nodesToUnselect.push(rowNode);\n }\n // so row renderer knows to fade row out (and not reposition it)\n rowNode.clearRowTopAndRowIndex();\n // NOTE: were we could remove from allLeaveChildren, however _.removeFromArray() is expensive, especially\n // if called multiple times (eg deleting lots of rows) and if allLeafChildren is a large list\n rowIdsRemoved[rowNode.id] = true;\n // _.removeFromArray(this.rootNode.allLeafChildren, rowNode);\n delete _this.allNodesMap[rowNode.id];\n rowNodeTransaction.remove.push(rowNode);\n });\n this.rootNode.allLeafChildren = this.rootNode.allLeafChildren.filter(function (rowNode) { return !rowIdsRemoved[rowNode.id]; });\n if (this.rootNode.sibling) {\n this.rootNode.sibling.allLeafChildren = this.rootNode.allLeafChildren;\n }\n };\n ClientSideNodeManager.prototype.executeUpdate = function (rowDataTran, rowNodeTransaction, nodesToUnselect) {\n var _this = this;\n var update = rowDataTran.update;\n if (_.missingOrEmpty(update)) {\n return;\n }\n update.forEach(function (item) {\n var rowNode = _this.lookupRowNode(item);\n if (!rowNode) {\n return;\n }\n rowNode.updateData(item);\n if (!rowNode.selectable && rowNode.isSelected()) {\n nodesToUnselect.push(rowNode);\n }\n _this.setMasterForRow(rowNode, item, ClientSideNodeManager.TOP_LEVEL, false);\n rowNodeTransaction.update.push(rowNode);\n });\n };\n ClientSideNodeManager.prototype.lookupRowNode = function (data) {\n var getRowIdFunc = this.gridOptionsWrapper.getRowIdFunc();\n var rowNode;\n if (getRowIdFunc) {\n // find rowNode using id\n var id = getRowIdFunc({ data: data, level: 0 });\n rowNode = this.allNodesMap[id];\n if (!rowNode) {\n console.error(\"AG Grid: could not find row id=\" + id + \", data item was not found for this id\");\n return null;\n }\n }\n else {\n // find rowNode using object references\n rowNode = this.rootNode.allLeafChildren.find(function (node) { return node.data === data; });\n if (!rowNode) {\n console.error(\"AG Grid: could not find data item as object was not found\", data);\n console.error(\"Consider using getRowId to help the Grid find matching row data\");\n return null;\n }\n }\n return rowNode || null;\n };\n ClientSideNodeManager.prototype.createNode = function (dataItem, parent, level) {\n var node = new RowNode(this.beans);\n node.group = false;\n this.setMasterForRow(node, dataItem, level, true);\n if (parent && !this.suppressParentsInRowNodes) {\n node.parent = parent;\n }\n node.level = level;\n node.setDataAndId(dataItem, this.nextId.toString());\n if (this.allNodesMap[node.id]) {\n console.warn(\"AG Grid: duplicate node id '\" + node.id + \"' detected from getRowId callback, this could cause issues in your grid.\");\n }\n this.allNodesMap[node.id] = node;\n this.nextId++;\n return node;\n };\n ClientSideNodeManager.prototype.setMasterForRow = function (rowNode, data, level, setExpanded) {\n if (this.doingTreeData) {\n rowNode.setMaster(false);\n if (setExpanded) {\n rowNode.expanded = false;\n }\n }\n else {\n // this is the default, for when doing grid data\n if (this.doingMasterDetail) {\n // if we are doing master detail, then the\n // default is that everything can be a Master Row.\n if (this.isRowMasterFunc) {\n rowNode.setMaster(this.isRowMasterFunc(data));\n }\n else {\n rowNode.setMaster(true);\n }\n }\n else {\n rowNode.setMaster(false);\n }\n if (setExpanded) {\n var rowGroupColumns = this.columnModel.getRowGroupColumns();\n var numRowGroupColumns = rowGroupColumns ? rowGroupColumns.length : 0;\n // need to take row group into account when determining level\n var masterRowLevel = level + numRowGroupColumns;\n rowNode.expanded = rowNode.master ? this.isExpanded(masterRowLevel) : false;\n }\n }\n };\n ClientSideNodeManager.prototype.isExpanded = function (level) {\n var expandByDefault = this.gridOptionsWrapper.getGroupDefaultExpanded();\n if (expandByDefault === -1) {\n return true;\n }\n return level < expandByDefault;\n };\n ClientSideNodeManager.TOP_LEVEL = 0;\n ClientSideNodeManager.ROOT_NODE_ID = 'ROOT_NODE_ID';\n return ClientSideNodeManager;\n}());\n\nvar __extends$c = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$b = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar RecursionType;\n(function (RecursionType) {\n RecursionType[RecursionType[\"Normal\"] = 0] = \"Normal\";\n RecursionType[RecursionType[\"AfterFilter\"] = 1] = \"AfterFilter\";\n RecursionType[RecursionType[\"AfterFilterAndSort\"] = 2] = \"AfterFilterAndSort\";\n RecursionType[RecursionType[\"PivotNodes\"] = 3] = \"PivotNodes\";\n})(RecursionType || (RecursionType = {}));\nvar ClientSideRowModel = /** @class */ (function (_super) {\n __extends$c(ClientSideRowModel, _super);\n function ClientSideRowModel() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.onRowHeightChanged_debounced = _.debounce(_this.onRowHeightChanged.bind(_this), 100);\n _this.rowsToDisplay = []; // the rows mapped to rows to display\n return _this;\n }\n ClientSideRowModel.prototype.init = function () {\n var refreshEverythingFunc = this.refreshModel.bind(this, { step: ClientSideRowModelSteps.EVERYTHING });\n var animate = !this.gridOptionsWrapper.isSuppressAnimationFrame();\n var refreshEverythingAfterColsChangedFunc = this.refreshModel.bind(this, {\n step: ClientSideRowModelSteps.EVERYTHING,\n afterColumnsChanged: true,\n keepRenderedRows: true,\n animate: animate\n });\n this.addManagedListener(this.eventService, Events.EVENT_NEW_COLUMNS_LOADED, refreshEverythingAfterColsChangedFunc);\n this.addManagedListener(this.eventService, Events.EVENT_COLUMN_ROW_GROUP_CHANGED, refreshEverythingFunc);\n this.addManagedListener(this.eventService, Events.EVENT_COLUMN_VALUE_CHANGED, this.onValueChanged.bind(this));\n this.addManagedListener(this.eventService, Events.EVENT_COLUMN_PIVOT_CHANGED, this.refreshModel.bind(this, { step: ClientSideRowModelSteps.PIVOT }));\n this.addManagedListener(this.eventService, Events.EVENT_FILTER_CHANGED, this.onFilterChanged.bind(this));\n this.addManagedListener(this.eventService, Events.EVENT_SORT_CHANGED, this.onSortChanged.bind(this));\n this.addManagedListener(this.eventService, Events.EVENT_COLUMN_PIVOT_MODE_CHANGED, refreshEverythingFunc);\n var refreshMapListener = this.refreshModel.bind(this, {\n step: ClientSideRowModelSteps.MAP,\n keepRenderedRows: true,\n animate: animate\n });\n this.addManagedListener(this.gridOptionsWrapper, GridOptionsWrapper.PROP_GROUP_REMOVE_SINGLE_CHILDREN, refreshMapListener);\n this.addManagedListener(this.gridOptionsWrapper, GridOptionsWrapper.PROP_GROUP_REMOVE_LOWEST_SINGLE_CHILDREN, refreshMapListener);\n this.rootNode = new RowNode(this.beans);\n this.nodeManager = new ClientSideNodeManager(this.rootNode, this.gridOptionsWrapper, this.eventService, this.columnModel, this.selectionService, this.beans);\n };\n ClientSideRowModel.prototype.start = function () {\n var rowData = this.gridOptionsWrapper.getRowData();\n if (rowData) {\n this.setRowData(rowData);\n }\n };\n ClientSideRowModel.prototype.ensureRowHeightsValid = function (startPixel, endPixel, startLimitIndex, endLimitIndex) {\n var atLeastOneChange;\n var res = false;\n // we do this multiple times as changing the row heights can also change the first and last rows,\n // so the first pass can make lots of rows smaller, which means the second pass we end up changing\n // more rows.\n do {\n atLeastOneChange = false;\n var rowAtStartPixel = this.getRowIndexAtPixel(startPixel);\n var rowAtEndPixel = this.getRowIndexAtPixel(endPixel);\n // keep check to current page if doing pagination\n var firstRow = Math.max(rowAtStartPixel, startLimitIndex);\n var lastRow = Math.min(rowAtEndPixel, endLimitIndex);\n for (var rowIndex = firstRow; rowIndex <= lastRow; rowIndex++) {\n var rowNode = this.getRow(rowIndex);\n if (rowNode.rowHeightEstimated) {\n var rowHeight = this.gridOptionsWrapper.getRowHeightForNode(rowNode);\n rowNode.setRowHeight(rowHeight.height);\n atLeastOneChange = true;\n res = true;\n }\n }\n if (atLeastOneChange) {\n this.setRowTopAndRowIndex();\n }\n } while (atLeastOneChange);\n return res;\n };\n ClientSideRowModel.prototype.setRowTopAndRowIndex = function () {\n var defaultRowHeight = this.gridOptionsWrapper.getDefaultRowHeight();\n var nextRowTop = 0;\n // mapping displayed rows is not needed for this method, however it's used in\n // clearRowTopAndRowIndex(), and given we are looping through this.rowsToDisplay here,\n // we create the map here for performance reasons, so we don't loop a second time\n // in clearRowTopAndRowIndex()\n var displayedRowsMapped = new Set();\n // we don't estimate if doing fullHeight or autoHeight, as all rows get rendered all the time\n // with these two layouts.\n var allowEstimate = this.gridOptionsWrapper.getDomLayout() === Constants.DOM_LAYOUT_NORMAL;\n for (var i = 0; i < this.rowsToDisplay.length; i++) {\n var rowNode = this.rowsToDisplay[i];\n if (rowNode.id != null) {\n displayedRowsMapped.add(rowNode.id);\n }\n if (rowNode.rowHeight == null) {\n var rowHeight = this.gridOptionsWrapper.getRowHeightForNode(rowNode, allowEstimate, defaultRowHeight);\n rowNode.setRowHeight(rowHeight.height, rowHeight.estimated);\n }\n rowNode.setRowTop(nextRowTop);\n rowNode.setRowIndex(i);\n nextRowTop += rowNode.rowHeight;\n }\n return displayedRowsMapped;\n };\n ClientSideRowModel.prototype.clearRowTopAndRowIndex = function (changedPath, displayedRowsMapped) {\n var changedPathActive = changedPath.isActive();\n var clearIfNotDisplayed = function (rowNode) {\n if (rowNode && rowNode.id != null && !displayedRowsMapped.has(rowNode.id)) {\n rowNode.clearRowTopAndRowIndex();\n }\n };\n var recurse = function (rowNode) {\n clearIfNotDisplayed(rowNode);\n clearIfNotDisplayed(rowNode.detailNode);\n clearIfNotDisplayed(rowNode.sibling);\n if (rowNode.hasChildren()) {\n if (rowNode.childrenAfterGroup) {\n // if a changedPath is active, it means we are here because of a transaction update or\n // a change detection. neither of these impacts the open/closed state of groups. so if\n // a group is not open this time, it was not open last time. so we know all closed groups\n // already have their top positions cleared. so there is no need to traverse all the way\n // when changedPath is active and the rowNode is not expanded.\n var isRootNode = rowNode.level == -1; // we need to give special consideration for root node,\n // as expanded=undefined for root node\n var skipChildren = changedPathActive && !isRootNode && !rowNode.expanded;\n if (!skipChildren) {\n rowNode.childrenAfterGroup.forEach(recurse);\n }\n }\n }\n };\n recurse(this.rootNode);\n };\n // returns false if row was moved, otherwise true\n ClientSideRowModel.prototype.ensureRowsAtPixel = function (rowNodes, pixel, increment) {\n var _this = this;\n if (increment === void 0) { increment = 0; }\n var indexAtPixelNow = this.getRowIndexAtPixel(pixel);\n var rowNodeAtPixelNow = this.getRow(indexAtPixelNow);\n var animate = !this.gridOptionsWrapper.isSuppressAnimationFrame();\n if (rowNodeAtPixelNow === rowNodes[0]) {\n return false;\n }\n rowNodes.forEach(function (rowNode) {\n _.removeFromArray(_this.rootNode.allLeafChildren, rowNode);\n });\n rowNodes.forEach(function (rowNode, idx) {\n _.insertIntoArray(_this.rootNode.allLeafChildren, rowNode, Math.max(indexAtPixelNow + increment, 0) + idx);\n });\n this.refreshModel({\n step: ClientSideRowModelSteps.EVERYTHING,\n keepRenderedRows: true,\n keepEditingRows: true,\n animate: animate\n });\n return true;\n };\n ClientSideRowModel.prototype.highlightRowAtPixel = function (rowNode, pixel) {\n var indexAtPixelNow = pixel != null ? this.getRowIndexAtPixel(pixel) : null;\n var rowNodeAtPixelNow = indexAtPixelNow != null ? this.getRow(indexAtPixelNow) : null;\n if (!rowNodeAtPixelNow || !rowNode || rowNodeAtPixelNow === rowNode || pixel == null) {\n if (this.lastHighlightedRow) {\n this.lastHighlightedRow.setHighlighted(null);\n this.lastHighlightedRow = null;\n }\n return;\n }\n var highlight = this.getHighlightPosition(pixel, rowNodeAtPixelNow);\n if (this.lastHighlightedRow && this.lastHighlightedRow !== rowNodeAtPixelNow) {\n this.lastHighlightedRow.setHighlighted(null);\n this.lastHighlightedRow = null;\n }\n rowNodeAtPixelNow.setHighlighted(highlight);\n this.lastHighlightedRow = rowNodeAtPixelNow;\n };\n ClientSideRowModel.prototype.getHighlightPosition = function (pixel, rowNode) {\n if (!rowNode) {\n var index = this.getRowIndexAtPixel(pixel);\n rowNode = this.getRow(index || 0);\n if (!rowNode) {\n return RowHighlightPosition.Below;\n }\n }\n var rowTop = rowNode.rowTop, rowHeight = rowNode.rowHeight;\n return pixel - rowTop < rowHeight / 2 ? RowHighlightPosition.Above : RowHighlightPosition.Below;\n };\n ClientSideRowModel.prototype.getLastHighlightedRowNode = function () {\n return this.lastHighlightedRow;\n };\n ClientSideRowModel.prototype.isLastRowIndexKnown = function () {\n return true;\n };\n ClientSideRowModel.prototype.getRowCount = function () {\n if (this.rowsToDisplay) {\n return this.rowsToDisplay.length;\n }\n return 0;\n };\n ClientSideRowModel.prototype.getTopLevelRowCount = function () {\n var showingRootNode = this.rowsToDisplay && this.rowsToDisplay[0] === this.rootNode;\n if (showingRootNode) {\n return 1;\n }\n var filteredChildren = this.rootNode.childrenAfterAggFilter;\n return filteredChildren ? filteredChildren.length : 0;\n };\n ClientSideRowModel.prototype.getTopLevelRowDisplayedIndex = function (topLevelIndex) {\n var showingRootNode = this.rowsToDisplay && this.rowsToDisplay[0] === this.rootNode;\n if (showingRootNode) {\n return topLevelIndex;\n }\n var rowNode = this.rootNode.childrenAfterSort[topLevelIndex];\n if (this.gridOptionsWrapper.isGroupHideOpenParents()) {\n // if hideOpenParents, and this row open, then this row is now displayed at this index, first child is\n while (rowNode.expanded && rowNode.childrenAfterSort && rowNode.childrenAfterSort.length > 0) {\n rowNode = rowNode.childrenAfterSort[0];\n }\n }\n return rowNode.rowIndex;\n };\n ClientSideRowModel.prototype.getRowBounds = function (index) {\n if (_.missing(this.rowsToDisplay)) {\n return null;\n }\n var rowNode = this.rowsToDisplay[index];\n if (rowNode) {\n return {\n rowTop: rowNode.rowTop,\n rowHeight: rowNode.rowHeight\n };\n }\n return null;\n };\n ClientSideRowModel.prototype.onRowGroupOpened = function () {\n var animate = this.gridOptionsWrapper.isAnimateRows();\n this.refreshModel({ step: ClientSideRowModelSteps.MAP, keepRenderedRows: true, animate: animate });\n };\n ClientSideRowModel.prototype.onFilterChanged = function (event) {\n if (event.afterDataChange) {\n return;\n }\n var animate = this.gridOptionsWrapper.isAnimateRows();\n var primaryOrQuickFilterChanged = event.columns.length === 0 || event.columns.some(function (col) { return col.isPrimary(); });\n var step = primaryOrQuickFilterChanged ? ClientSideRowModelSteps.FILTER : ClientSideRowModelSteps.FILTER_AGGREGATES;\n this.refreshModel({ step: step, keepRenderedRows: true, animate: animate });\n };\n ClientSideRowModel.prototype.onSortChanged = function () {\n var animate = this.gridOptionsWrapper.isAnimateRows();\n this.refreshModel({ step: ClientSideRowModelSteps.SORT, keepRenderedRows: true, animate: animate, keepEditingRows: true });\n };\n ClientSideRowModel.prototype.getType = function () {\n return Constants.ROW_MODEL_TYPE_CLIENT_SIDE;\n };\n ClientSideRowModel.prototype.onValueChanged = function () {\n if (this.columnModel.isPivotActive()) {\n this.refreshModel({ step: ClientSideRowModelSteps.PIVOT });\n }\n else {\n this.refreshModel({ step: ClientSideRowModelSteps.AGGREGATE });\n }\n };\n ClientSideRowModel.prototype.createChangePath = function (rowNodeTransactions) {\n // for updates, if the row is updated at all, then we re-calc all the values\n // in that row. we could compare each value to each old value, however if we\n // did this, we would be calling the valueService twice, once on the old value\n // and once on the new value. so it's less valueGetter calls if we just assume\n // each column is different. that way the changedPath is used so that only\n // the impacted parent rows are recalculated, parents who's children have\n // not changed are not impacted.\n var noTransactions = _.missingOrEmpty(rowNodeTransactions);\n var changedPath = new ChangedPath(false, this.rootNode);\n if (noTransactions || this.gridOptionsWrapper.isTreeData()) {\n changedPath.setInactive();\n }\n return changedPath;\n };\n ClientSideRowModel.prototype.isSuppressModelUpdateAfterUpdateTransaction = function (params) {\n if (!this.gridOptionsWrapper.isSuppressModelUpdateAfterUpdateTransaction()) {\n return false;\n }\n // return true if we are only doing update transactions\n if (params.rowNodeTransactions == null) {\n return false;\n }\n var transWithAddsOrDeletes = params.rowNodeTransactions.filter(function (tx) {\n return (tx.add != null && tx.add.length > 0) || (tx.remove != null && tx.remove.length > 0);\n });\n var transactionsContainUpdatesOnly = transWithAddsOrDeletes == null || transWithAddsOrDeletes.length == 0;\n return transactionsContainUpdatesOnly;\n };\n ClientSideRowModel.prototype.refreshModel = function (params) {\n if (this.isSuppressModelUpdateAfterUpdateTransaction(params)) {\n return;\n }\n // this goes through the pipeline of stages. what's in my head is similar\n // to the diagram on this page:\n // http://commons.apache.org/sandbox/commons-pipeline/pipeline_basics.html\n // however we want to keep the results of each stage, hence we manually call\n // each step rather than have them chain each other.\n // fallthrough in below switch is on purpose,\n // eg if STEP_FILTER, then all steps below this\n // step get done\n // let start: number;\n // console.log('======= start =======');\n var changedPath = this.createChangePath(params.rowNodeTransactions);\n switch (params.step) {\n case ClientSideRowModelSteps.EVERYTHING:\n this.doRowGrouping(params.groupState, params.rowNodeTransactions, params.rowNodeOrder, changedPath, !!params.afterColumnsChanged);\n case ClientSideRowModelSteps.FILTER:\n this.doFilter(changedPath);\n case ClientSideRowModelSteps.PIVOT:\n this.doPivot(changedPath);\n case ClientSideRowModelSteps.AGGREGATE: // depends on agg fields\n this.doAggregate(changedPath);\n case ClientSideRowModelSteps.FILTER_AGGREGATES:\n this.doFilterAggregates(changedPath);\n case ClientSideRowModelSteps.SORT:\n this.doSort(params.rowNodeTransactions, changedPath);\n case ClientSideRowModelSteps.MAP:\n this.doRowsToDisplay();\n }\n // set all row tops to null, then set row tops on all visible rows. if we don't\n // do this, then the algorithm below only sets row tops, old row tops from old rows\n // will still lie around\n var displayedNodesMapped = this.setRowTopAndRowIndex();\n this.clearRowTopAndRowIndex(changedPath, displayedNodesMapped);\n var event = {\n type: Events.EVENT_MODEL_UPDATED,\n animate: params.animate,\n keepRenderedRows: params.keepRenderedRows,\n newData: params.newData,\n newPage: false,\n keepUndoRedoStack: params.keepUndoRedoStack\n };\n this.eventService.dispatchEvent(event);\n };\n ClientSideRowModel.prototype.isEmpty = function () {\n var rowsMissing = _.missing(this.rootNode.allLeafChildren) || this.rootNode.allLeafChildren.length === 0;\n return _.missing(this.rootNode) || rowsMissing || !this.columnModel.isReady();\n };\n ClientSideRowModel.prototype.isRowsToRender = function () {\n return _.exists(this.rowsToDisplay) && this.rowsToDisplay.length > 0;\n };\n ClientSideRowModel.prototype.getNodesInRangeForSelection = function (firstInRange, lastInRange) {\n // if lastSelectedNode is missing, we start at the first row\n var firstRowHit = !lastInRange;\n var lastRowHit = false;\n var lastRow;\n var result = [];\n var groupsSelectChildren = this.gridOptionsWrapper.isGroupSelectsChildren();\n this.forEachNodeAfterFilterAndSort(function (rowNode) {\n var lookingForLastRow = firstRowHit && !lastRowHit;\n // check if we need to flip the select switch\n if (!firstRowHit) {\n if (rowNode === lastInRange || rowNode === firstInRange) {\n firstRowHit = true;\n }\n }\n var skipThisGroupNode = rowNode.group && groupsSelectChildren;\n if (!skipThisGroupNode) {\n var inRange = firstRowHit && !lastRowHit;\n var childOfLastRow = rowNode.isParentOfNode(lastRow);\n if (inRange || childOfLastRow) {\n result.push(rowNode);\n }\n }\n if (lookingForLastRow) {\n if (rowNode === lastInRange || rowNode === firstInRange) {\n lastRowHit = true;\n if (rowNode === lastInRange) {\n lastRow = lastInRange;\n }\n else {\n lastRow = firstInRange;\n }\n }\n }\n });\n return result;\n };\n ClientSideRowModel.prototype.setDatasource = function (datasource) {\n console.error('AG Grid: should never call setDatasource on clientSideRowController');\n };\n ClientSideRowModel.prototype.getTopLevelNodes = function () {\n return this.rootNode ? this.rootNode.childrenAfterGroup : null;\n };\n ClientSideRowModel.prototype.getRootNode = function () {\n return this.rootNode;\n };\n ClientSideRowModel.prototype.getRow = function (index) {\n return this.rowsToDisplay[index];\n };\n ClientSideRowModel.prototype.isRowPresent = function (rowNode) {\n return this.rowsToDisplay.indexOf(rowNode) >= 0;\n };\n ClientSideRowModel.prototype.getRowIndexAtPixel = function (pixelToMatch) {\n if (this.isEmpty() || this.rowsToDisplay.length === 0) {\n return -1;\n }\n // do binary search of tree\n // http://oli.me.uk/2013/06/08/searching-javascript-arrays-with-a-binary-search/\n var bottomPointer = 0;\n var topPointer = this.rowsToDisplay.length - 1;\n // quick check, if the pixel is out of bounds, then return last row\n if (pixelToMatch <= 0) {\n // if pixel is less than or equal zero, it's always the first row\n return 0;\n }\n var lastNode = _.last(this.rowsToDisplay);\n if (lastNode.rowTop <= pixelToMatch) {\n return this.rowsToDisplay.length - 1;\n }\n var oldBottomPointer = -1;\n var oldTopPointer = -1;\n while (true) {\n var midPointer = Math.floor((bottomPointer + topPointer) / 2);\n var currentRowNode = this.rowsToDisplay[midPointer];\n if (this.isRowInPixel(currentRowNode, pixelToMatch)) {\n return midPointer;\n }\n if (currentRowNode.rowTop < pixelToMatch) {\n bottomPointer = midPointer + 1;\n }\n else if (currentRowNode.rowTop > pixelToMatch) {\n topPointer = midPointer - 1;\n }\n // infinite loops happen when there is space between rows. this can happen\n // when Auto Height is active, cos we re-calculate row tops asyncronously\n // when row heights change, which can temporarly result in gaps between rows.\n var caughtInInfiniteLoop = oldBottomPointer === bottomPointer\n && oldTopPointer === topPointer;\n if (caughtInInfiniteLoop) {\n return midPointer;\n }\n oldBottomPointer = bottomPointer;\n oldTopPointer = topPointer;\n }\n };\n ClientSideRowModel.prototype.isRowInPixel = function (rowNode, pixelToMatch) {\n var topPixel = rowNode.rowTop;\n var bottomPixel = rowNode.rowTop + rowNode.rowHeight;\n var pixelInRow = topPixel <= pixelToMatch && bottomPixel > pixelToMatch;\n return pixelInRow;\n };\n ClientSideRowModel.prototype.forEachLeafNode = function (callback) {\n if (this.rootNode.allLeafChildren) {\n this.rootNode.allLeafChildren.forEach(function (rowNode, index) { return callback(rowNode, index); });\n }\n };\n ClientSideRowModel.prototype.forEachNode = function (callback) {\n this.recursivelyWalkNodesAndCallback(this.rootNode.childrenAfterGroup, callback, RecursionType.Normal, 0);\n };\n ClientSideRowModel.prototype.forEachNodeAfterFilter = function (callback) {\n this.recursivelyWalkNodesAndCallback(this.rootNode.childrenAfterAggFilter, callback, RecursionType.AfterFilter, 0);\n };\n ClientSideRowModel.prototype.forEachNodeAfterFilterAndSort = function (callback) {\n this.recursivelyWalkNodesAndCallback(this.rootNode.childrenAfterSort, callback, RecursionType.AfterFilterAndSort, 0);\n };\n ClientSideRowModel.prototype.forEachPivotNode = function (callback) {\n this.recursivelyWalkNodesAndCallback([this.rootNode], callback, RecursionType.PivotNodes, 0);\n };\n // iterates through each item in memory, and calls the callback function\n // nodes - the rowNodes to traverse\n // callback - the user provided callback\n // recursion type - need this to know what child nodes to recurse, eg if looking at all nodes, or filtered notes etc\n // index - works similar to the index in forEach in javascript's array function\n ClientSideRowModel.prototype.recursivelyWalkNodesAndCallback = function (nodes, callback, recursionType, index) {\n if (!nodes) {\n return index;\n }\n for (var i = 0; i < nodes.length; i++) {\n var node = nodes[i];\n callback(node, index++);\n // go to the next level if it is a group\n if (node.hasChildren()) {\n // depending on the recursion type, we pick a difference set of children\n var nodeChildren = null;\n switch (recursionType) {\n case RecursionType.Normal:\n nodeChildren = node.childrenAfterGroup;\n break;\n case RecursionType.AfterFilter:\n nodeChildren = node.childrenAfterAggFilter;\n break;\n case RecursionType.AfterFilterAndSort:\n nodeChildren = node.childrenAfterSort;\n break;\n case RecursionType.PivotNodes:\n // for pivot, we don't go below leafGroup levels\n nodeChildren = !node.leafGroup ? node.childrenAfterSort : null;\n break;\n }\n if (nodeChildren) {\n index = this.recursivelyWalkNodesAndCallback(nodeChildren, callback, recursionType, index);\n }\n }\n }\n return index;\n };\n // it's possible to recompute the aggregate without doing the other parts\n // + gridApi.recomputeAggregates()\n ClientSideRowModel.prototype.doAggregate = function (changedPath) {\n if (this.aggregationStage) {\n this.aggregationStage.execute({ rowNode: this.rootNode, changedPath: changedPath });\n }\n };\n ClientSideRowModel.prototype.doFilterAggregates = function (changedPath) {\n if (this.filterAggregatesStage) {\n this.filterAggregatesStage.execute({ rowNode: this.rootNode, changedPath: changedPath });\n }\n else {\n // If filterAggregatesStage is undefined, then so is the grouping stage, so all children should be on the rootNode.\n this.rootNode.childrenAfterAggFilter = this.rootNode.childrenAfterFilter;\n }\n };\n // + gridApi.expandAll()\n // + gridApi.collapseAll()\n ClientSideRowModel.prototype.expandOrCollapseAll = function (expand) {\n var usingTreeData = this.gridOptionsWrapper.isTreeData();\n var usingPivotMode = this.columnModel.isPivotActive();\n var recursiveExpandOrCollapse = function (rowNodes) {\n if (!rowNodes) {\n return;\n }\n rowNodes.forEach(function (rowNode) {\n var actionRow = function () {\n rowNode.expanded = expand;\n recursiveExpandOrCollapse(rowNode.childrenAfterGroup);\n };\n if (usingTreeData) {\n var hasChildren = _.exists(rowNode.childrenAfterGroup);\n if (hasChildren) {\n actionRow();\n }\n return;\n }\n if (usingPivotMode) {\n var notLeafGroup = !rowNode.leafGroup;\n if (notLeafGroup) {\n actionRow();\n }\n return;\n }\n var isRowGroup = rowNode.group;\n if (isRowGroup) {\n actionRow();\n }\n });\n };\n if (this.rootNode) {\n recursiveExpandOrCollapse(this.rootNode.childrenAfterGroup);\n }\n this.refreshModel({ step: ClientSideRowModelSteps.MAP });\n var eventSource = expand ? 'expandAll' : 'collapseAll';\n var event = {\n type: Events.EVENT_EXPAND_COLLAPSE_ALL,\n source: eventSource\n };\n this.eventService.dispatchEvent(event);\n };\n ClientSideRowModel.prototype.doSort = function (rowNodeTransactions, changedPath) {\n this.sortStage.execute({\n rowNode: this.rootNode,\n rowNodeTransactions: rowNodeTransactions,\n changedPath: changedPath\n });\n };\n ClientSideRowModel.prototype.doRowGrouping = function (groupState, rowNodeTransactions, rowNodeOrder, changedPath, afterColumnsChanged) {\n if (this.groupStage) {\n if (rowNodeTransactions) {\n this.groupStage.execute({\n rowNode: this.rootNode,\n rowNodeTransactions: rowNodeTransactions,\n rowNodeOrder: rowNodeOrder,\n changedPath: changedPath\n });\n }\n else {\n this.groupStage.execute({\n rowNode: this.rootNode,\n changedPath: changedPath,\n afterColumnsChanged: afterColumnsChanged\n });\n // set open/closed state on groups\n this.restoreGroupState(groupState);\n }\n if (this.gridOptionsWrapper.isGroupSelectsChildren()) {\n this.selectionService.updateGroupsFromChildrenSelections(changedPath);\n }\n }\n else {\n this.rootNode.childrenAfterGroup = this.rootNode.allLeafChildren;\n if (this.rootNode.sibling) {\n this.rootNode.sibling.childrenAfterGroup = this.rootNode.childrenAfterGroup;\n }\n this.rootNode.updateHasChildren();\n }\n };\n ClientSideRowModel.prototype.restoreGroupState = function (groupState) {\n if (!groupState) {\n return;\n }\n _.traverseNodesWithKey(this.rootNode.childrenAfterGroup, function (node, key) {\n // if the group was open last time, then open it this time. however\n // if was not open last time, then don't touch the group, so the 'groupDefaultExpanded'\n // setting will take effect.\n if (typeof groupState[key] === 'boolean') {\n node.expanded = groupState[key];\n }\n });\n };\n ClientSideRowModel.prototype.doFilter = function (changedPath) {\n this.filterStage.execute({ rowNode: this.rootNode, changedPath: changedPath });\n };\n ClientSideRowModel.prototype.doPivot = function (changedPath) {\n if (this.pivotStage) {\n this.pivotStage.execute({ rowNode: this.rootNode, changedPath: changedPath });\n }\n };\n ClientSideRowModel.prototype.getGroupState = function () {\n if (!this.rootNode.childrenAfterGroup || !this.gridOptionsWrapper.isRememberGroupStateWhenNewData()) {\n return null;\n }\n var result = {};\n _.traverseNodesWithKey(this.rootNode.childrenAfterGroup, function (node, key) { return result[key] = node.expanded; });\n return result;\n };\n ClientSideRowModel.prototype.getCopyOfNodesMap = function () {\n return this.nodeManager.getCopyOfNodesMap();\n };\n ClientSideRowModel.prototype.getRowNode = function (id) {\n // although id is typed a string, this could be called by the user, and they could have passed a number\n var idIsGroup = typeof id == 'string' && id.indexOf(RowNode.ID_PREFIX_ROW_GROUP) == 0;\n if (idIsGroup) {\n // only one users complained about getRowNode not working for groups, after years of\n // this working for normal rows. so have done quick implementation. if users complain\n // about performance, then GroupStage should store / manage created groups in a map,\n // which is a chunk of work.\n var res_1 = undefined;\n this.forEachNode(function (node) {\n if (node.id === id) {\n res_1 = node;\n }\n });\n return res_1;\n }\n return this.nodeManager.getRowNode(id);\n };\n // rows: the rows to put into the model\n ClientSideRowModel.prototype.setRowData = function (rowData) {\n // no need to invalidate cache, as the cache is stored on the rowNode,\n // so new rowNodes means the cache is wiped anyway.\n // remember group state, so we can expand groups that should be expanded\n var groupState = this.getGroupState();\n this.nodeManager.setRowData(rowData);\n // - clears selection\n this.selectionService.reset();\n // - updates filters\n this.filterManager.onNewRowsLoaded('rowDataUpdated');\n // this event kicks off:\n // - shows 'no rows' overlay if needed\n var rowDataUpdatedEvent = {\n type: Events.EVENT_ROW_DATA_UPDATED\n };\n this.eventService.dispatchEvent(rowDataUpdatedEvent);\n this.refreshModel({\n step: ClientSideRowModelSteps.EVERYTHING,\n groupState: groupState,\n newData: true\n });\n };\n ClientSideRowModel.prototype.batchUpdateRowData = function (rowDataTransaction, callback) {\n var _this = this;\n if (this.applyAsyncTransactionsTimeout == null) {\n this.rowDataTransactionBatch = [];\n var waitMillis = this.gridOptionsWrapper.getAsyncTransactionWaitMillis();\n this.applyAsyncTransactionsTimeout = window.setTimeout(function () {\n _this.executeBatchUpdateRowData();\n }, waitMillis);\n }\n this.rowDataTransactionBatch.push({ rowDataTransaction: rowDataTransaction, callback: callback });\n };\n ClientSideRowModel.prototype.flushAsyncTransactions = function () {\n if (this.applyAsyncTransactionsTimeout != null) {\n clearTimeout(this.applyAsyncTransactionsTimeout);\n this.executeBatchUpdateRowData();\n }\n };\n ClientSideRowModel.prototype.executeBatchUpdateRowData = function () {\n var _this = this;\n this.valueCache.onDataChanged();\n var callbackFuncsBound = [];\n var rowNodeTrans = [];\n // The rowGroup stage uses rowNodeOrder if order was provided. if we didn't pass 'true' to\n // commonUpdateRowData, using addIndex would have no effect when grouping.\n var forceRowNodeOrder = false;\n if (this.rowDataTransactionBatch) {\n this.rowDataTransactionBatch.forEach(function (tranItem) {\n var rowNodeTran = _this.nodeManager.updateRowData(tranItem.rowDataTransaction, undefined);\n rowNodeTrans.push(rowNodeTran);\n if (tranItem.callback) {\n callbackFuncsBound.push(tranItem.callback.bind(null, rowNodeTran));\n }\n if (typeof tranItem.rowDataTransaction.addIndex === 'number') {\n forceRowNodeOrder = true;\n }\n });\n }\n this.commonUpdateRowData(rowNodeTrans, undefined, forceRowNodeOrder);\n // do callbacks in next VM turn so it's async\n if (callbackFuncsBound.length > 0) {\n window.setTimeout(function () {\n callbackFuncsBound.forEach(function (func) { return func(); });\n }, 0);\n }\n if (rowNodeTrans.length > 0) {\n var event_1 = {\n type: Events.EVENT_ASYNC_TRANSACTIONS_FLUSHED,\n results: rowNodeTrans\n };\n this.eventService.dispatchEvent(event_1);\n }\n this.rowDataTransactionBatch = null;\n this.applyAsyncTransactionsTimeout = undefined;\n };\n ClientSideRowModel.prototype.updateRowData = function (rowDataTran, rowNodeOrder) {\n this.valueCache.onDataChanged();\n var rowNodeTran = this.nodeManager.updateRowData(rowDataTran, rowNodeOrder);\n // if doing immutableData, addIndex is never present. however if doing standard transaction, and user\n // provided addIndex, then this is used in updateRowData. However if doing Enterprise, then the rowGroup\n // stage also uses the\n var forceRowNodeOrder = typeof rowDataTran.addIndex === 'number';\n this.commonUpdateRowData([rowNodeTran], rowNodeOrder, forceRowNodeOrder);\n return rowNodeTran;\n };\n ClientSideRowModel.prototype.createRowNodeOrder = function () {\n var suppressSortOrder = this.gridOptionsWrapper.isSuppressMaintainUnsortedOrder();\n if (suppressSortOrder) {\n return;\n }\n var orderMap = {};\n if (this.rootNode && this.rootNode.allLeafChildren) {\n for (var index = 0; index < this.rootNode.allLeafChildren.length; index++) {\n var node = this.rootNode.allLeafChildren[index];\n orderMap[node.id] = index;\n }\n }\n return orderMap;\n };\n // common to updateRowData and batchUpdateRowData\n ClientSideRowModel.prototype.commonUpdateRowData = function (rowNodeTrans, rowNodeOrder, forceRowNodeOrder) {\n var animate = !this.gridOptionsWrapper.isSuppressAnimationFrame();\n if (forceRowNodeOrder) {\n rowNodeOrder = this.createRowNodeOrder();\n }\n this.refreshModel({\n step: ClientSideRowModelSteps.EVERYTHING,\n rowNodeTransactions: rowNodeTrans,\n rowNodeOrder: rowNodeOrder,\n keepRenderedRows: true,\n keepEditingRows: true,\n animate: animate\n });\n // - updates filters\n this.filterManager.onNewRowsLoaded('rowDataUpdated');\n var event = {\n type: Events.EVENT_ROW_DATA_UPDATED\n };\n this.eventService.dispatchEvent(event);\n };\n ClientSideRowModel.prototype.doRowsToDisplay = function () {\n this.rowsToDisplay = this.flattenStage.execute({ rowNode: this.rootNode });\n };\n ClientSideRowModel.prototype.onRowHeightChanged = function () {\n this.refreshModel({ step: ClientSideRowModelSteps.MAP, keepRenderedRows: true, keepEditingRows: true, keepUndoRedoStack: true });\n };\n /** This method is debounced. It is used for row auto-height. If we don't debounce,\n * then the Row Models will end up recalculating each row position\n * for each row height change and result in the Row Renderer laying out rows.\n * This is particularly bad if using print layout, and showing eg 1,000 rows,\n * each row will change it's height, causing Row Model to update 1,000 times.\n */\n ClientSideRowModel.prototype.onRowHeightChangedDebounced = function () {\n this.onRowHeightChanged_debounced();\n };\n ClientSideRowModel.prototype.resetRowHeights = function () {\n var atLeastOne = false;\n this.forEachNode(function (rowNode) {\n rowNode.setRowHeight(rowNode.rowHeight, true);\n // we keep the height each row is at, however we set estimated=true rather than clear the height.\n // this means the grid will not reset the row heights back to defaults, rather it will re-calc\n // the height for each row as the row is displayed. otherwise the scroll will jump when heights are reset.\n var detailNode = rowNode.detailNode;\n if (detailNode) {\n detailNode.setRowHeight(detailNode.rowHeight, true);\n }\n atLeastOne = true;\n });\n if (atLeastOne) {\n this.onRowHeightChanged();\n }\n };\n __decorate$b([\n Autowired('columnModel')\n ], ClientSideRowModel.prototype, \"columnModel\", void 0);\n __decorate$b([\n Autowired('selectionService')\n ], ClientSideRowModel.prototype, \"selectionService\", void 0);\n __decorate$b([\n Autowired('filterManager')\n ], ClientSideRowModel.prototype, \"filterManager\", void 0);\n __decorate$b([\n Autowired('valueCache')\n ], ClientSideRowModel.prototype, \"valueCache\", void 0);\n __decorate$b([\n Autowired('beans')\n ], ClientSideRowModel.prototype, \"beans\", void 0);\n __decorate$b([\n Autowired('filterStage')\n ], ClientSideRowModel.prototype, \"filterStage\", void 0);\n __decorate$b([\n Autowired('sortStage')\n ], ClientSideRowModel.prototype, \"sortStage\", void 0);\n __decorate$b([\n Autowired('flattenStage')\n ], ClientSideRowModel.prototype, \"flattenStage\", void 0);\n __decorate$b([\n Optional('groupStage')\n ], ClientSideRowModel.prototype, \"groupStage\", void 0);\n __decorate$b([\n Optional('aggregationStage')\n ], ClientSideRowModel.prototype, \"aggregationStage\", void 0);\n __decorate$b([\n Optional('pivotStage')\n ], ClientSideRowModel.prototype, \"pivotStage\", void 0);\n __decorate$b([\n Optional('filterAggregatesStage')\n ], ClientSideRowModel.prototype, \"filterAggregatesStage\", void 0);\n __decorate$b([\n PostConstruct\n ], ClientSideRowModel.prototype, \"init\", null);\n ClientSideRowModel = __decorate$b([\n Bean('rowModel')\n ], ClientSideRowModel);\n return ClientSideRowModel;\n}(BeanStub));\n\nvar __extends$b = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$a = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar FilterStage = /** @class */ (function (_super) {\n __extends$b(FilterStage, _super);\n function FilterStage() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n FilterStage.prototype.execute = function (params) {\n var changedPath = params.changedPath;\n this.filterService.filter(changedPath);\n };\n __decorate$a([\n Autowired('filterService')\n ], FilterStage.prototype, \"filterService\", void 0);\n FilterStage = __decorate$a([\n Bean('filterStage')\n ], FilterStage);\n return FilterStage;\n}(BeanStub));\n\nvar __extends$a = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$9 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar SortStage = /** @class */ (function (_super) {\n __extends$a(SortStage, _super);\n function SortStage() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n SortStage.prototype.execute = function (params) {\n var _this = this;\n var sortOptions = this.sortController.getSortOptions();\n var sortActive = _.exists(sortOptions) && sortOptions.length > 0;\n var deltaSort = sortActive\n && _.exists(params.rowNodeTransactions)\n // in time we can remove this check, so that delta sort is always\n // on if transactions are present. it's off for now so that we can\n // selectively turn it on and test it with some select users before\n // rolling out to everyone.\n && this.gridOptionsWrapper.isDeltaSort();\n var sortContainsGroupColumns = sortOptions.some(function (opt) { return !!_this.columnModel.getGroupDisplayColumnForGroup(opt.column.getId()); });\n this.sortService.sort(sortOptions, sortActive, deltaSort, params.rowNodeTransactions, params.changedPath, sortContainsGroupColumns);\n };\n __decorate$9([\n Autowired('sortService')\n ], SortStage.prototype, \"sortService\", void 0);\n __decorate$9([\n Autowired('sortController')\n ], SortStage.prototype, \"sortController\", void 0);\n __decorate$9([\n Autowired('columnModel')\n ], SortStage.prototype, \"columnModel\", void 0);\n SortStage = __decorate$9([\n Bean('sortStage')\n ], SortStage);\n return SortStage;\n}(BeanStub));\n\nvar __extends$9 = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$8 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar FlattenStage = /** @class */ (function (_super) {\n __extends$9(FlattenStage, _super);\n function FlattenStage() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n FlattenStage.prototype.execute = function (params) {\n var rootNode = params.rowNode;\n // even if not doing grouping, we do the mapping, as the client might\n // of passed in data that already has a grouping in it somewhere\n var result = [];\n // putting value into a wrapper so it's passed by reference\n var nextRowTop = { value: 0 };\n var skipLeafNodes = this.columnModel.isPivotMode();\n // if we are reducing, and not grouping, then we want to show the root node, as that\n // is where the pivot values are\n var showRootNode = skipLeafNodes && rootNode.leafGroup;\n var topList = showRootNode ? [rootNode] : rootNode.childrenAfterSort;\n this.recursivelyAddToRowsToDisplay(topList, result, nextRowTop, skipLeafNodes, 0);\n // we do not want the footer total if the gris is empty\n var atLeastOneRowPresent = result.length > 0;\n var includeGroupTotalFooter = !showRootNode\n // don't show total footer when showRootNode is true (i.e. in pivot mode and no groups)\n && atLeastOneRowPresent\n && this.gridOptionsWrapper.isGroupIncludeTotalFooter();\n if (includeGroupTotalFooter) {\n this.ensureFooterNodeExists(rootNode);\n this.addRowNodeToRowsToDisplay(rootNode.sibling, result, nextRowTop, 0);\n }\n return result;\n };\n FlattenStage.prototype.recursivelyAddToRowsToDisplay = function (rowsToFlatten, result, nextRowTop, skipLeafNodes, uiLevel) {\n if (_.missingOrEmpty(rowsToFlatten)) {\n return;\n }\n var hideOpenParents = this.gridOptionsWrapper.isGroupHideOpenParents();\n // these two are mutually exclusive, so if first set, we don't set the second\n var groupRemoveSingleChildren = this.gridOptionsWrapper.isGroupRemoveSingleChildren();\n var groupRemoveLowestSingleChildren = !groupRemoveSingleChildren && this.gridOptionsWrapper.isGroupRemoveLowestSingleChildren();\n for (var i = 0; i < rowsToFlatten.length; i++) {\n var rowNode = rowsToFlatten[i];\n // check all these cases, for working out if this row should be included in the final mapped list\n var isParent = rowNode.hasChildren();\n var isSkippedLeafNode = skipLeafNodes && !isParent;\n var isRemovedSingleChildrenGroup = groupRemoveSingleChildren &&\n isParent &&\n rowNode.childrenAfterGroup.length === 1;\n var isRemovedLowestSingleChildrenGroup = groupRemoveLowestSingleChildren &&\n isParent &&\n rowNode.leafGroup &&\n rowNode.childrenAfterGroup.length === 1;\n // hide open parents means when group is open, we don't show it. we also need to make sure the\n // group is expandable in the first place (as leaf groups are not expandable if pivot mode is on).\n // the UI will never allow expanding leaf groups, however the user might via the API (or menu option 'expand all')\n var neverAllowToExpand = skipLeafNodes && rowNode.leafGroup;\n var isHiddenOpenParent = hideOpenParents && rowNode.expanded && !rowNode.master && (!neverAllowToExpand);\n var thisRowShouldBeRendered = !isSkippedLeafNode && !isHiddenOpenParent &&\n !isRemovedSingleChildrenGroup && !isRemovedLowestSingleChildrenGroup;\n if (thisRowShouldBeRendered) {\n this.addRowNodeToRowsToDisplay(rowNode, result, nextRowTop, uiLevel);\n }\n // if we are pivoting, we never map below the leaf group\n if (skipLeafNodes && rowNode.leafGroup) {\n continue;\n }\n if (isParent) {\n var excludedParent = isRemovedSingleChildrenGroup || isRemovedLowestSingleChildrenGroup;\n // we traverse the group if it is expended, however we always traverse if the parent node\n // was removed (as the group will never be opened if it is not displayed, we show the children instead)\n if (rowNode.expanded || excludedParent) {\n // if the parent was excluded, then ui level is that of the parent\n var uiLevelForChildren = excludedParent ? uiLevel : uiLevel + 1;\n this.recursivelyAddToRowsToDisplay(rowNode.childrenAfterSort, result, nextRowTop, skipLeafNodes, uiLevelForChildren);\n // put a footer in if user is looking for it\n if (this.gridOptionsWrapper.isGroupIncludeFooter()) {\n this.ensureFooterNodeExists(rowNode);\n this.addRowNodeToRowsToDisplay(rowNode.sibling, result, nextRowTop, uiLevel);\n }\n }\n }\n else if (rowNode.master && rowNode.expanded) {\n var detailNode = this.createDetailNode(rowNode);\n this.addRowNodeToRowsToDisplay(detailNode, result, nextRowTop, uiLevel);\n }\n }\n };\n // duplicated method, it's also in floatingRowModel\n FlattenStage.prototype.addRowNodeToRowsToDisplay = function (rowNode, result, nextRowTop, uiLevel) {\n var isGroupMultiAutoColumn = this.gridOptionsWrapper.isGroupMultiAutoColumn();\n result.push(rowNode);\n rowNode.setUiLevel(isGroupMultiAutoColumn ? 0 : uiLevel);\n };\n FlattenStage.prototype.ensureFooterNodeExists = function (groupNode) {\n // only create footer node once, otherwise we have daemons and\n // the animate screws up with the daemons hanging around\n if (_.exists(groupNode.sibling)) {\n return;\n }\n var footerNode = new RowNode(this.beans);\n Object.keys(groupNode).forEach(function (key) {\n footerNode[key] = groupNode[key];\n });\n footerNode.footer = true;\n footerNode.setRowTop(null);\n footerNode.setRowIndex(null);\n // manually set oldRowTop to null so we discard any\n // previous information about its position.\n footerNode.oldRowTop = null;\n if (_.exists(footerNode.id)) {\n footerNode.id = 'rowGroupFooter_' + footerNode.id;\n }\n // get both header and footer to reference each other as siblings. this is never undone,\n // only overwritten. so if a group is expanded, then contracted, it will have a ghost\n // sibling - but that's fine, as we can ignore this if the header is contracted.\n footerNode.sibling = groupNode;\n groupNode.sibling = footerNode;\n };\n FlattenStage.prototype.createDetailNode = function (masterNode) {\n if (_.exists(masterNode.detailNode)) {\n return masterNode.detailNode;\n }\n var detailNode = new RowNode(this.beans);\n detailNode.detail = true;\n detailNode.selectable = false;\n detailNode.parent = masterNode;\n if (_.exists(masterNode.id)) {\n detailNode.id = 'detail_' + masterNode.id;\n }\n detailNode.data = masterNode.data;\n detailNode.level = masterNode.level + 1;\n masterNode.detailNode = detailNode;\n return detailNode;\n };\n __decorate$8([\n Autowired('columnModel')\n ], FlattenStage.prototype, \"columnModel\", void 0);\n __decorate$8([\n Autowired('beans')\n ], FlattenStage.prototype, \"beans\", void 0);\n FlattenStage = __decorate$8([\n Bean('flattenStage')\n ], FlattenStage);\n return FlattenStage;\n}(BeanStub));\n\nvar __extends$8 = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$7 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar SortService = /** @class */ (function (_super) {\n __extends$8(SortService, _super);\n function SortService() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n SortService.prototype.init = function () {\n this.postSortFunc = this.gridOptionsWrapper.getPostSortFunc();\n };\n SortService.prototype.sort = function (sortOptions, sortActive, useDeltaSort, rowNodeTransactions, changedPath, sortContainsGroupColumns) {\n var _this = this;\n var groupMaintainOrder = this.gridOptionsWrapper.isGroupMaintainOrder();\n var groupColumnsPresent = this.columnModel.getAllGridColumns().some(function (c) { return c.isRowGroupActive(); });\n var allDirtyNodes = {};\n if (useDeltaSort && rowNodeTransactions) {\n allDirtyNodes = this.calculateDirtyNodes(rowNodeTransactions);\n }\n var isPivotMode = this.columnModel.isPivotMode();\n var callback = function (rowNode) {\n // we clear out the 'pull down open parents' first, as the values mix up the sorting\n _this.pullDownGroupDataForHideOpenParents(rowNode.childrenAfterAggFilter, true);\n // It's pointless to sort rows which aren't being displayed. in pivot mode we don't need to sort the leaf group children.\n var skipSortingPivotLeafs = isPivotMode && rowNode.leafGroup;\n // Javascript sort is non deterministic when all the array items are equals, ie Comparator always returns 0,\n // so to ensure the array keeps its order, add an additional sorting condition manually, in this case we\n // are going to inspect the original array position. This is what sortedRowNodes is for.\n var skipSortingGroups = groupMaintainOrder && groupColumnsPresent && !rowNode.leafGroup && !sortContainsGroupColumns;\n if (!sortActive || skipSortingGroups || skipSortingPivotLeafs) {\n // when 'groupMaintainOrder' is enabled we skip sorting groups unless we are sorting on group columns\n var childrenToBeSorted = rowNode.childrenAfterAggFilter.slice(0);\n if (groupMaintainOrder && rowNode.childrenAfterSort) {\n var indexedOrders_1 = rowNode.childrenAfterSort.reduce(function (acc, row, idx) {\n acc[row.id] = idx;\n return acc;\n }, {});\n childrenToBeSorted.sort(function (row1, row2) { return (indexedOrders_1[row1.id] || 0) - (indexedOrders_1[row2.id] || 0); });\n }\n rowNode.childrenAfterSort = childrenToBeSorted;\n }\n else if (useDeltaSort) {\n rowNode.childrenAfterSort = _this.doDeltaSort(rowNode, allDirtyNodes, changedPath, sortOptions);\n }\n else {\n rowNode.childrenAfterSort = _this.rowNodeSorter.doFullSort(rowNode.childrenAfterAggFilter, sortOptions);\n }\n if (rowNode.sibling) {\n rowNode.sibling.childrenAfterSort = rowNode.childrenAfterSort;\n }\n _this.updateChildIndexes(rowNode);\n if (_this.postSortFunc) {\n var params = { nodes: rowNode.childrenAfterSort };\n _this.postSortFunc(params);\n }\n };\n if (changedPath) {\n changedPath.forEachChangedNodeDepthFirst(callback);\n }\n this.updateGroupDataForHideOpenParents(changedPath);\n };\n SortService.prototype.calculateDirtyNodes = function (rowNodeTransactions) {\n var dirtyNodes = {};\n var addNodesFunc = function (rowNodes) {\n if (rowNodes) {\n rowNodes.forEach(function (rowNode) { return dirtyNodes[rowNode.id] = true; });\n }\n };\n // all leaf level nodes in the transaction were impacted\n if (rowNodeTransactions) {\n rowNodeTransactions.forEach(function (tran) {\n addNodesFunc(tran.add);\n addNodesFunc(tran.update);\n addNodesFunc(tran.remove);\n });\n }\n return dirtyNodes;\n };\n SortService.prototype.doDeltaSort = function (rowNode, allTouchedNodes, changedPath, sortOptions) {\n var _this = this;\n var unsortedRows = rowNode.childrenAfterAggFilter;\n var oldSortedRows = rowNode.childrenAfterSort;\n if (!oldSortedRows) {\n return this.rowNodeSorter.doFullSort(unsortedRows, sortOptions);\n }\n var untouchedRowsMap = {};\n var touchedRows = [];\n unsortedRows.forEach(function (row) {\n if (allTouchedNodes[row.id] || !changedPath.canSkip(row)) {\n touchedRows.push(row);\n }\n else {\n untouchedRowsMap[row.id] = true;\n }\n });\n var sortedUntouchedRows = oldSortedRows.filter(function (child) { return untouchedRowsMap[child.id]; });\n var mapNodeToSortedNode = function (rowNode, pos) { return ({ currentPos: pos, rowNode: rowNode }); };\n var sortedChangedRows = touchedRows\n .map(mapNodeToSortedNode)\n .sort(function (a, b) { return _this.rowNodeSorter.compareRowNodes(sortOptions, a, b); });\n return this.mergeSortedArrays(sortOptions, sortedChangedRows, sortedUntouchedRows.map(mapNodeToSortedNode)).map(function (_a) {\n var rowNode = _a.rowNode;\n return rowNode;\n });\n };\n // Merge two sorted arrays into each other\n SortService.prototype.mergeSortedArrays = function (sortOptions, arr1, arr2) {\n var res = [];\n var i = 0;\n var j = 0;\n // Traverse both array, adding them in order\n while (i < arr1.length && j < arr2.length) {\n // Check if current element of first\n // array is smaller than current element\n // of second array. If yes, store first\n // array element and increment first array\n // index. Otherwise do same with second array\n var compareResult = this.rowNodeSorter.compareRowNodes(sortOptions, arr1[i], arr2[j]);\n if (compareResult < 0) {\n res.push(arr1[i++]);\n }\n else {\n res.push(arr2[j++]);\n }\n }\n // add remaining from arr1\n while (i < arr1.length) {\n res.push(arr1[i++]);\n }\n // add remaining from arr2\n while (j < arr2.length) {\n res.push(arr2[j++]);\n }\n return res;\n };\n SortService.prototype.updateChildIndexes = function (rowNode) {\n if (_.missing(rowNode.childrenAfterSort)) {\n return;\n }\n var listToSort = rowNode.childrenAfterSort;\n for (var i = 0; i < listToSort.length; i++) {\n var child = listToSort[i];\n var firstChild = i === 0;\n var lastChild = i === rowNode.childrenAfterSort.length - 1;\n child.setFirstChild(firstChild);\n child.setLastChild(lastChild);\n child.setChildIndex(i);\n }\n };\n SortService.prototype.updateGroupDataForHideOpenParents = function (changedPath) {\n var _this = this;\n if (!this.gridOptionsWrapper.isGroupHideOpenParents()) {\n return;\n }\n if (this.gridOptionsWrapper.isTreeData()) {\n var msg_1 = \"AG Grid: The property hideOpenParents dose not work with Tree Data. This is because Tree Data has values at the group level, it doesn't make sense to hide them (as opposed to Row Grouping, which only has Aggregated Values at the group level).\";\n _.doOnce(function () { return console.warn(msg_1); }, 'sortService.hideOpenParentsWithTreeData');\n return false;\n }\n // recurse breadth first over group nodes after sort to 'pull down' group data to child groups\n var callback = function (rowNode) {\n _this.pullDownGroupDataForHideOpenParents(rowNode.childrenAfterSort, false);\n rowNode.childrenAfterSort.forEach(function (child) {\n if (child.hasChildren()) {\n callback(child);\n }\n });\n };\n if (changedPath) {\n changedPath.executeFromRootNode(function (rowNode) { return callback(rowNode); });\n }\n };\n SortService.prototype.pullDownGroupDataForHideOpenParents = function (rowNodes, clearOperation) {\n var _this = this;\n if (!this.gridOptionsWrapper.isGroupHideOpenParents() || _.missing(rowNodes)) {\n return;\n }\n rowNodes.forEach(function (childRowNode) {\n var groupDisplayCols = _this.columnModel.getGroupDisplayColumns();\n groupDisplayCols.forEach(function (groupDisplayCol) {\n var showRowGroup = groupDisplayCol.getColDef().showRowGroup;\n if (typeof showRowGroup !== 'string') {\n console.error('AG Grid: groupHideOpenParents only works when specifying specific columns for colDef.showRowGroup');\n return;\n }\n var displayingGroupKey = showRowGroup;\n var rowGroupColumn = _this.columnModel.getPrimaryColumn(displayingGroupKey);\n var thisRowNodeMatches = rowGroupColumn === childRowNode.rowGroupColumn;\n if (thisRowNodeMatches) {\n return;\n }\n if (clearOperation) {\n // if doing a clear operation, we clear down the value for every possible group column\n childRowNode.setGroupValue(groupDisplayCol.getId(), undefined);\n }\n else {\n // if doing a set operation, we set only where the pull down is to occur\n var parentToStealFrom = childRowNode.getFirstChildOfFirstChild(rowGroupColumn);\n if (parentToStealFrom) {\n childRowNode.setGroupValue(groupDisplayCol.getId(), parentToStealFrom.key);\n }\n }\n });\n });\n };\n __decorate$7([\n Autowired('columnModel')\n ], SortService.prototype, \"columnModel\", void 0);\n __decorate$7([\n Autowired('rowNodeSorter')\n ], SortService.prototype, \"rowNodeSorter\", void 0);\n __decorate$7([\n PostConstruct\n ], SortService.prototype, \"init\", null);\n SortService = __decorate$7([\n Bean('sortService')\n ], SortService);\n return SortService;\n}(BeanStub));\n\nvar __extends$7 = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$6 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar FilterService = /** @class */ (function (_super) {\n __extends$7(FilterService, _super);\n function FilterService() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n FilterService.prototype.filter = function (changedPath) {\n var filterActive = this.filterManager.isColumnFilterPresent()\n || this.filterManager.isQuickFilterPresent()\n || this.filterManager.isExternalFilterPresent();\n this.filterNodes(filterActive, changedPath);\n };\n FilterService.prototype.filterNodes = function (filterActive, changedPath) {\n var _this = this;\n var filterCallback = function (rowNode, includeChildNodes) {\n // recursively get all children that are groups to also filter\n if (rowNode.hasChildren()) {\n // result of filter for this node. when filtering tree data, includeChildNodes = true when parent passes\n if (filterActive && !includeChildNodes) {\n rowNode.childrenAfterFilter = rowNode.childrenAfterGroup.filter(function (childNode) {\n // a group is included in the result if it has any children of it's own.\n // by this stage, the child groups are already filtered\n var passBecauseChildren = childNode.childrenAfterFilter && childNode.childrenAfterFilter.length > 0;\n // both leaf level nodes and tree data nodes have data. these get added if\n // the data passes the filter\n var passBecauseDataPasses = childNode.data\n && _this.filterManager.doesRowPassFilter({ rowNode: childNode });\n // note - tree data nodes pass either if a) they pass themselves or b) any children of that node pass\n return passBecauseChildren || passBecauseDataPasses;\n });\n }\n else {\n // if not filtering, the result is the original list\n rowNode.childrenAfterFilter = rowNode.childrenAfterGroup;\n }\n }\n else {\n rowNode.childrenAfterFilter = rowNode.childrenAfterGroup;\n }\n if (rowNode.sibling) {\n rowNode.sibling.childrenAfterFilter = rowNode.childrenAfterFilter;\n }\n };\n if (this.doingTreeDataFiltering()) {\n var treeDataDepthFirstFilter_1 = function (rowNode, alreadyFoundInParent) {\n // tree data filter traverses the hierarchy depth first and includes child nodes if parent passes\n // filter, and parent nodes will be include if any children exist.\n if (rowNode.childrenAfterGroup) {\n for (var i = 0; i < rowNode.childrenAfterGroup.length; i++) {\n var childNode = rowNode.childrenAfterGroup[i];\n // first check if current node passes filter before invoking child nodes\n var foundInParent = alreadyFoundInParent\n || _this.filterManager.doesRowPassFilter({ rowNode: childNode });\n if (childNode.childrenAfterGroup) {\n treeDataDepthFirstFilter_1(rowNode.childrenAfterGroup[i], foundInParent);\n }\n else {\n filterCallback(childNode, foundInParent);\n }\n }\n }\n filterCallback(rowNode, alreadyFoundInParent);\n };\n var treeDataFilterCallback = function (rowNode) { return treeDataDepthFirstFilter_1(rowNode, false); };\n changedPath.executeFromRootNode(treeDataFilterCallback);\n }\n else {\n var defaultFilterCallback = function (rowNode) { return filterCallback(rowNode, false); };\n changedPath.forEachChangedNodeDepthFirst(defaultFilterCallback, true);\n }\n };\n FilterService.prototype.doingTreeDataFiltering = function () {\n return this.gridOptionsWrapper.isTreeData() && !this.gridOptionsWrapper.isExcludeChildrenWhenTreeDataFiltering();\n };\n __decorate$6([\n Autowired('filterManager')\n ], FilterService.prototype, \"filterManager\", void 0);\n FilterService = __decorate$6([\n Bean(\"filterService\")\n ], FilterService);\n return FilterService;\n}(BeanStub));\n\nvar __extends$6 = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$5 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __read = (undefined && undefined.__read) || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar ImmutableService = /** @class */ (function (_super) {\n __extends$6(ImmutableService, _super);\n function ImmutableService() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ImmutableService.prototype.postConstruct = function () {\n if (this.rowModel.getType() === Constants.ROW_MODEL_TYPE_CLIENT_SIDE) {\n this.clientSideRowModel = this.rowModel;\n }\n };\n ImmutableService.prototype.isActive = function () {\n return this.gridOptionsWrapper.isImmutableData();\n };\n ImmutableService.prototype.setRowData = function (rowData) {\n var transactionAndMap = this.createTransactionForRowData(rowData);\n if (!transactionAndMap) {\n return;\n }\n var _a = __read(transactionAndMap, 2), transaction = _a[0], orderIdMap = _a[1];\n var nodeTransaction = this.clientSideRowModel.updateRowData(transaction, orderIdMap);\n // need to force updating of full width rows - note this wouldn't be necessary the full width cell comp listened\n // to the data change event on the row node and refreshed itself.\n if (nodeTransaction) {\n this.rowRenderer.refreshFullWidthRows(nodeTransaction.update);\n }\n };\n // converts the setRowData() command to a transaction\n ImmutableService.prototype.createTransactionForRowData = function (rowData) {\n if (_.missing(this.clientSideRowModel)) {\n console.error('AG Grid: ImmutableService only works with ClientSideRowModel');\n return;\n }\n var getRowIdFunc = this.gridOptionsWrapper.getRowIdFunc();\n if (getRowIdFunc == null) {\n console.error('AG Grid: ImmutableService requires getRowId() callback to be implemented, your row data needs IDs!');\n return;\n }\n // convert the data into a transaction object by working out adds, removes and updates\n var transaction = {\n remove: [],\n update: [],\n add: []\n };\n var existingNodesMap = this.clientSideRowModel.getCopyOfNodesMap();\n var suppressSortOrder = this.gridOptionsWrapper.isSuppressMaintainUnsortedOrder();\n var orderMap = suppressSortOrder ? undefined : {};\n if (_.exists(rowData)) {\n // split all the new data in the following:\n // if new, push to 'add'\n // if update, push to 'update'\n // if not changed, do not include in the transaction\n rowData.forEach(function (data, index) {\n var id = getRowIdFunc({ data: data, level: 0 });\n var existingNode = existingNodesMap[id];\n if (orderMap) {\n orderMap[id] = index;\n }\n if (existingNode) {\n var dataHasChanged = existingNode.data !== data;\n if (dataHasChanged) {\n transaction.update.push(data);\n }\n // otherwise, if data not changed, we just don't include it anywhere, as it's not a delta\n // remove from list, so we know the item is not to be removed\n existingNodesMap[id] = undefined;\n }\n else {\n transaction.add.push(data);\n }\n });\n }\n // at this point, all rows that are left, should be removed\n _.iterateObject(existingNodesMap, function (id, rowNode) {\n if (rowNode) {\n transaction.remove.push(rowNode.data);\n }\n });\n return [transaction, orderMap];\n };\n __decorate$5([\n Autowired('rowModel')\n ], ImmutableService.prototype, \"rowModel\", void 0);\n __decorate$5([\n Autowired('rowRenderer')\n ], ImmutableService.prototype, \"rowRenderer\", void 0);\n __decorate$5([\n Autowired('columnApi')\n ], ImmutableService.prototype, \"columnApi\", void 0);\n __decorate$5([\n Autowired('gridApi')\n ], ImmutableService.prototype, \"gridApi\", void 0);\n __decorate$5([\n Autowired('filterManager')\n ], ImmutableService.prototype, \"filterManager\", void 0);\n __decorate$5([\n PostConstruct\n ], ImmutableService.prototype, \"postConstruct\", null);\n ImmutableService = __decorate$5([\n Bean('immutableService')\n ], ImmutableService);\n return ImmutableService;\n}(BeanStub));\n\nvar ClientSideRowModelModule = {\n moduleName: ModuleNames.ClientSideRowModelModule,\n beans: [FilterStage, SortStage, FlattenStage, SortService, FilterService, ImmutableService],\n rowModels: { clientSide: ClientSideRowModel }\n};\n\nvar __extends$5 = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$4 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar InfiniteBlock = /** @class */ (function (_super) {\n __extends$5(InfiniteBlock, _super);\n function InfiniteBlock(id, parentCache, params) {\n var _this = _super.call(this, id) || this;\n _this.parentCache = parentCache;\n _this.params = params;\n // we don't need to calculate these now, as the inputs don't change,\n // however it makes the code easier to read if we work them out up front\n _this.startRow = id * params.blockSize;\n _this.endRow = _this.startRow + params.blockSize;\n return _this;\n }\n InfiniteBlock.prototype.postConstruct = function () {\n this.createRowNodes();\n };\n InfiniteBlock.prototype.getBlockStateJson = function () {\n return {\n id: '' + this.getId(),\n state: {\n blockNumber: this.getId(),\n startRow: this.getStartRow(),\n endRow: this.getEndRow(),\n pageStatus: this.getState()\n }\n };\n };\n InfiniteBlock.prototype.setDataAndId = function (rowNode, data, index) {\n // if there's no id and the rowNode was rendered before, it means this\n // was a placeholder rowNode and should not be recycled. Setting\n // `alreadyRendered` to `false` forces the rowRenderer to flush it.\n if (!rowNode.id && rowNode.alreadyRendered) {\n rowNode.alreadyRendered = false;\n }\n if (_.exists(data)) {\n // this means if the user is not providing id's we just use the\n // index for the row. this will allow selection to work (that is based\n // on index) as long user is not inserting or deleting rows,\n // or wanting to keep selection between server side sorting or filtering\n rowNode.setDataAndId(data, index.toString());\n }\n else {\n rowNode.setDataAndId(undefined, undefined);\n }\n };\n InfiniteBlock.prototype.loadFromDatasource = function () {\n var _this = this;\n var params = this.createLoadParams();\n if (_.missing(this.params.datasource.getRows)) {\n console.warn(\"AG Grid: datasource is missing getRows method\");\n return;\n }\n // put in timeout, to force result to be async\n window.setTimeout(function () {\n _this.params.datasource.getRows(params);\n }, 0);\n };\n InfiniteBlock.prototype.processServerFail = function () {\n // todo - this method has better handling in SSRM\n };\n InfiniteBlock.prototype.createLoadParams = function () {\n // PROBLEM . . . . when the user sets sort via colDef.sort, then this code\n // is executing before the sort is set up, so server is not getting the sort\n // model. need to change with regards order - so the server side request is\n // AFTER thus it gets the right sort model.\n var params = {\n startRow: this.getStartRow(),\n endRow: this.getEndRow(),\n successCallback: this.pageLoaded.bind(this, this.getVersion()),\n failCallback: this.pageLoadFailed.bind(this, this.getVersion()),\n sortModel: this.params.sortModel,\n filterModel: this.params.filterModel,\n context: this.gridOptionsWrapper.getContext()\n };\n return params;\n };\n InfiniteBlock.prototype.forEachNode = function (callback, sequence, rowCount) {\n var _this = this;\n this.rowNodes.forEach(function (rowNode, index) {\n var rowIndex = _this.startRow + index;\n if (rowIndex < rowCount) {\n callback(rowNode, sequence.next());\n }\n });\n };\n InfiniteBlock.prototype.getLastAccessed = function () {\n return this.lastAccessed;\n };\n InfiniteBlock.prototype.getRow = function (rowIndex, dontTouchLastAccessed) {\n if (dontTouchLastAccessed === void 0) { dontTouchLastAccessed = false; }\n if (!dontTouchLastAccessed) {\n this.lastAccessed = this.params.lastAccessedSequence.next();\n }\n var localIndex = rowIndex - this.startRow;\n return this.rowNodes[localIndex];\n };\n InfiniteBlock.prototype.getStartRow = function () {\n return this.startRow;\n };\n InfiniteBlock.prototype.getEndRow = function () {\n return this.endRow;\n };\n // creates empty row nodes, data is missing as not loaded yet\n InfiniteBlock.prototype.createRowNodes = function () {\n this.rowNodes = [];\n for (var i = 0; i < this.params.blockSize; i++) {\n var rowIndex = this.startRow + i;\n var rowNode = new RowNode(this.beans);\n rowNode.setRowHeight(this.params.rowHeight);\n rowNode.uiLevel = 0;\n rowNode.setRowIndex(rowIndex);\n rowNode.setRowTop(this.params.rowHeight * rowIndex);\n this.rowNodes.push(rowNode);\n }\n };\n InfiniteBlock.prototype.processServerResult = function (params) {\n var _this = this;\n this.rowNodes.forEach(function (rowNode, index) {\n var data = params.rowData ? params.rowData[index] : undefined;\n _this.setDataAndId(rowNode, data, _this.startRow + index);\n });\n var finalRowCount = params.rowCount != null && params.rowCount >= 0 ? params.rowCount : undefined;\n this.parentCache.pageLoaded(this, finalRowCount);\n };\n InfiniteBlock.prototype.destroyRowNodes = function () {\n this.rowNodes.forEach(function (rowNode) {\n // this is needed, so row render knows to fade out the row, otherwise it\n // sees row top is present, and thinks the row should be shown.\n rowNode.clearRowTopAndRowIndex();\n });\n };\n __decorate$4([\n Autowired('beans')\n ], InfiniteBlock.prototype, \"beans\", void 0);\n __decorate$4([\n PostConstruct\n ], InfiniteBlock.prototype, \"postConstruct\", null);\n __decorate$4([\n PreDestroy\n ], InfiniteBlock.prototype, \"destroyRowNodes\", null);\n return InfiniteBlock;\n}(RowNodeBlock));\n\nvar __extends$4 = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __param = (undefined && undefined.__param) || function (paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n};\nvar InfiniteCache = /** @class */ (function (_super) {\n __extends$4(InfiniteCache, _super);\n function InfiniteCache(params) {\n var _this = _super.call(this) || this;\n _this.lastRowIndexKnown = false;\n _this.blocks = {};\n _this.blockCount = 0;\n _this.rowCount = params.initialRowCount;\n _this.params = params;\n return _this;\n }\n InfiniteCache.prototype.setBeans = function (loggerFactory) {\n this.logger = loggerFactory.create('InfiniteCache');\n };\n // the rowRenderer will not pass dontCreatePage, meaning when rendering the grid,\n // it will want new pages in the cache as it asks for rows. only when we are inserting /\n // removing rows via the api is dontCreatePage set, where we move rows between the pages.\n InfiniteCache.prototype.getRow = function (rowIndex, dontCreatePage) {\n if (dontCreatePage === void 0) { dontCreatePage = false; }\n var blockId = Math.floor(rowIndex / this.params.blockSize);\n var block = this.blocks[blockId];\n if (!block) {\n if (dontCreatePage) {\n return undefined;\n }\n block = this.createBlock(blockId);\n }\n return block.getRow(rowIndex);\n };\n InfiniteCache.prototype.createBlock = function (blockNumber) {\n var newBlock = this.createBean(new InfiniteBlock(blockNumber, this, this.params));\n this.blocks[newBlock.getId()] = newBlock;\n this.blockCount++;\n this.purgeBlocksIfNeeded(newBlock);\n this.params.rowNodeBlockLoader.addBlock(newBlock);\n return newBlock;\n };\n // we have this on infinite row model only, not server side row model,\n // because for server side, it would leave the children in inconsistent\n // state - eg if a node had children, but after the refresh it had data\n // for a different row, then the children would be with the wrong row node.\n InfiniteCache.prototype.refreshCache = function () {\n var nothingToRefresh = this.blockCount == 0;\n if (nothingToRefresh) {\n this.purgeCache();\n return;\n }\n this.getBlocksInOrder().forEach(function (block) { return block.setStateWaitingToLoad(); });\n this.params.rowNodeBlockLoader.checkBlockToLoad();\n };\n InfiniteCache.prototype.destroyAllBlocks = function () {\n var _this = this;\n this.getBlocksInOrder().forEach(function (block) { return _this.destroyBlock(block); });\n };\n InfiniteCache.prototype.getRowCount = function () {\n return this.rowCount;\n };\n InfiniteCache.prototype.isLastRowIndexKnown = function () {\n return this.lastRowIndexKnown;\n };\n // block calls this, when page loaded\n InfiniteCache.prototype.pageLoaded = function (block, lastRow) {\n // if we are not active, then we ignore all events, otherwise we could end up getting the\n // grid to refresh even though we are no longer the active cache\n if (!this.isAlive()) {\n return;\n }\n this.logger.log(\"onPageLoaded: page = \" + block.getId() + \", lastRow = \" + lastRow);\n this.checkRowCount(block, lastRow);\n // we fire cacheUpdated even if the row count has not changed, as some items need updating even\n // if no new rows to render. for example the pagination panel has '?' as the total rows when loading\n // is underway, which would need to get updated when loading finishes.\n this.onCacheUpdated();\n };\n InfiniteCache.prototype.purgeBlocksIfNeeded = function (blockToExclude) {\n var _this = this;\n // we exclude checking for the page just created, as this has yet to be accessed and hence\n // the lastAccessed stamp will not be updated for the first time yet\n var blocksForPurging = this.getBlocksInOrder().filter(function (b) { return b != blockToExclude; });\n var lastAccessedComparator = function (a, b) { return b.getLastAccessed() - a.getLastAccessed(); };\n blocksForPurging.sort(lastAccessedComparator);\n // we remove (maxBlocksInCache - 1) as we already excluded the 'just created' page.\n // in other words, after the splice operation below, we have taken out the blocks\n // we want to keep, which means we are left with blocks that we can potentially purge\n var maxBlocksProvided = this.params.maxBlocksInCache > 0;\n var blocksToKeep = maxBlocksProvided ? this.params.maxBlocksInCache - 1 : null;\n var emptyBlocksToKeep = InfiniteCache.MAX_EMPTY_BLOCKS_TO_KEEP - 1;\n blocksForPurging.forEach(function (block, index) {\n var purgeBecauseBlockEmpty = block.getState() === InfiniteBlock.STATE_WAITING_TO_LOAD && index >= emptyBlocksToKeep;\n var purgeBecauseCacheFull = maxBlocksProvided ? index >= blocksToKeep : false;\n if (purgeBecauseBlockEmpty || purgeBecauseCacheFull) {\n // if the block currently has rows been displayed, then don't remove it either.\n // this can happen if user has maxBlocks=2, and blockSize=5 (thus 10 max rows in cache)\n // but the screen is showing 20 rows, so at least 4 blocks are needed.\n if (_this.isBlockCurrentlyDisplayed(block)) {\n return;\n }\n // don't want to loose keyboard focus, so keyboard navigation can continue. so keep focused blocks.\n if (_this.isBlockFocused(block)) {\n return;\n }\n // at this point, block is not needed, so burn baby burn\n _this.removeBlockFromCache(block);\n }\n });\n };\n InfiniteCache.prototype.isBlockFocused = function (block) {\n var focusedCell = this.focusService.getFocusCellToUseAfterRefresh();\n if (!focusedCell) {\n return false;\n }\n if (focusedCell.rowPinned != null) {\n return false;\n }\n var blockIndexStart = block.getStartRow();\n var blockIndexEnd = block.getEndRow();\n var hasFocus = focusedCell.rowIndex >= blockIndexStart && focusedCell.rowIndex < blockIndexEnd;\n return hasFocus;\n };\n InfiniteCache.prototype.isBlockCurrentlyDisplayed = function (block) {\n var startIndex = block.getStartRow();\n var endIndex = block.getEndRow() - 1;\n return this.rowRenderer.isRangeInRenderedViewport(startIndex, endIndex);\n };\n InfiniteCache.prototype.removeBlockFromCache = function (blockToRemove) {\n if (!blockToRemove) {\n return;\n }\n this.destroyBlock(blockToRemove);\n // we do not want to remove the 'loaded' event listener, as the\n // concurrent loads count needs to be updated when the load is complete\n // if the purged page is in loading state\n };\n InfiniteCache.prototype.checkRowCount = function (block, lastRow) {\n // if client provided a last row, we always use it, as it could change between server calls\n // if user deleted data and then called refresh on the grid.\n if (typeof lastRow === 'number' && lastRow >= 0) {\n this.rowCount = lastRow;\n this.lastRowIndexKnown = true;\n }\n else if (!this.lastRowIndexKnown) {\n // otherwise, see if we need to add some virtual rows\n var lastRowIndex = (block.getId() + 1) * this.params.blockSize;\n var lastRowIndexPlusOverflow = lastRowIndex + this.params.overflowSize;\n if (this.rowCount < lastRowIndexPlusOverflow) {\n this.rowCount = lastRowIndexPlusOverflow;\n }\n }\n };\n InfiniteCache.prototype.setRowCount = function (rowCount, lastRowIndexKnown) {\n this.rowCount = rowCount;\n // if undefined is passed, we do not set this value, if one of {true,false}\n // is passed, we do set the value.\n if (_.exists(lastRowIndexKnown)) {\n this.lastRowIndexKnown = lastRowIndexKnown;\n }\n // if we are still searching, then the row count must not end at the end\n // of a particular page, otherwise the searching will not pop into the\n // next page\n if (!this.lastRowIndexKnown) {\n if (this.rowCount % this.params.blockSize === 0) {\n this.rowCount++;\n }\n }\n this.onCacheUpdated();\n };\n InfiniteCache.prototype.forEachNodeDeep = function (callback) {\n var _this = this;\n var sequence = new NumberSequence();\n this.getBlocksInOrder().forEach(function (block) { return block.forEachNode(callback, sequence, _this.rowCount); });\n };\n InfiniteCache.prototype.getBlocksInOrder = function () {\n // get all page id's as NUMBERS (not strings, as we need to sort as numbers) and in descending order\n var blockComparator = function (a, b) { return a.getId() - b.getId(); };\n var blocks = _.getAllValuesInObject(this.blocks).sort(blockComparator);\n return blocks;\n };\n InfiniteCache.prototype.destroyBlock = function (block) {\n delete this.blocks[block.getId()];\n this.destroyBean(block);\n this.blockCount--;\n this.params.rowNodeBlockLoader.removeBlock(block);\n };\n // gets called 1) row count changed 2) cache purged 3) items inserted\n InfiniteCache.prototype.onCacheUpdated = function () {\n if (this.isAlive()) {\n // if the virtualRowCount is shortened, then it's possible blocks exist that are no longer\n // in the valid range. so we must remove these. this can happen if user explicitly sets\n // the virtual row count, or the datasource returns a result and sets lastRow to something\n // less than virtualRowCount (can happen if user scrolls down, server reduces dataset size).\n this.destroyAllBlocksPastVirtualRowCount();\n // this results in both row models (infinite and server side) firing ModelUpdated,\n // however server side row model also updates the row indexes first\n var event_1 = {\n type: Events.EVENT_STORE_UPDATED\n };\n this.eventService.dispatchEvent(event_1);\n }\n };\n InfiniteCache.prototype.destroyAllBlocksPastVirtualRowCount = function () {\n var _this = this;\n var blocksToDestroy = [];\n this.getBlocksInOrder().forEach(function (block) {\n var startRow = block.getId() * _this.params.blockSize;\n if (startRow >= _this.rowCount) {\n blocksToDestroy.push(block);\n }\n });\n if (blocksToDestroy.length > 0) {\n blocksToDestroy.forEach(function (block) { return _this.destroyBlock(block); });\n }\n };\n InfiniteCache.prototype.purgeCache = function () {\n var _this = this;\n this.getBlocksInOrder().forEach(function (block) { return _this.removeBlockFromCache(block); });\n this.lastRowIndexKnown = false;\n // if zero rows in the cache, we need to get the SSRM to start asking for rows again.\n // otherwise if set to zero rows last time, and we don't update the row count, then after\n // the purge there will still be zero rows, meaning the SSRM won't request any rows.\n // to kick things off, at least one row needs to be asked for.\n if (this.rowCount === 0) {\n this.rowCount = this.params.initialRowCount;\n }\n this.onCacheUpdated();\n };\n InfiniteCache.prototype.getRowNodesInRange = function (firstInRange, lastInRange) {\n var _this = this;\n var result = [];\n var lastBlockId = -1;\n var inActiveRange = false;\n var numberSequence = new NumberSequence();\n // if only one node passed, we start the selection at the top\n if (_.missing(firstInRange)) {\n inActiveRange = true;\n }\n var foundGapInSelection = false;\n this.getBlocksInOrder().forEach(function (block) {\n if (foundGapInSelection) {\n return;\n }\n if (inActiveRange && (lastBlockId + 1 !== block.getId())) {\n foundGapInSelection = true;\n return;\n }\n lastBlockId = block.getId();\n block.forEachNode(function (rowNode) {\n var hitFirstOrLast = rowNode === firstInRange || rowNode === lastInRange;\n if (inActiveRange || hitFirstOrLast) {\n result.push(rowNode);\n }\n if (hitFirstOrLast) {\n inActiveRange = !inActiveRange;\n }\n }, numberSequence, _this.rowCount);\n });\n // inActiveRange will be still true if we never hit the second rowNode\n var invalidRange = foundGapInSelection || inActiveRange;\n return invalidRange ? [] : result;\n };\n // this property says how many empty blocks should be in a cache, eg if scrolls down fast and creates 10\n // blocks all for loading, the grid will only load the last 2 - it will assume the blocks the user quickly\n // scrolled over are not needed to be loaded.\n InfiniteCache.MAX_EMPTY_BLOCKS_TO_KEEP = 2;\n __decorate$3([\n Autowired('rowRenderer')\n ], InfiniteCache.prototype, \"rowRenderer\", void 0);\n __decorate$3([\n Autowired(\"focusService\")\n ], InfiniteCache.prototype, \"focusService\", void 0);\n __decorate$3([\n __param(0, Qualifier('loggerFactory'))\n ], InfiniteCache.prototype, \"setBeans\", null);\n __decorate$3([\n PreDestroy\n ], InfiniteCache.prototype, \"destroyAllBlocks\", null);\n return InfiniteCache;\n}(BeanStub));\n\nvar __extends$3 = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar InfiniteRowModel = /** @class */ (function (_super) {\n __extends$3(InfiniteRowModel, _super);\n function InfiniteRowModel() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n InfiniteRowModel.prototype.getRowBounds = function (index) {\n return {\n rowHeight: this.rowHeight,\n rowTop: this.rowHeight * index\n };\n };\n // we don't implement as lazy row heights is not supported in this row model\n InfiniteRowModel.prototype.ensureRowHeightsValid = function (startPixel, endPixel, startLimitIndex, endLimitIndex) {\n return false;\n };\n InfiniteRowModel.prototype.init = function () {\n var _this = this;\n if (!this.gridOptionsWrapper.isRowModelInfinite()) {\n return;\n }\n this.rowHeight = this.gridOptionsWrapper.getRowHeightAsNumber();\n this.addEventListeners();\n this.addDestroyFunc(function () { return _this.destroyCache(); });\n this.verifyProps();\n };\n InfiniteRowModel.prototype.verifyProps = function () {\n if (this.gridOptionsWrapper.getInitialGroupOrderComparator() != null) {\n var message_1 = \"AG Grid: initialGroupOrderComparator cannot be used with Infinite Row Model. If using Infinite Row Model, then sorting is done on the server side, nothing to do with the client.\";\n _.doOnce(function () { return console.warn(message_1); }, 'IRM.InitialGroupOrderComparator');\n }\n };\n InfiniteRowModel.prototype.start = function () {\n this.setDatasource(this.gridOptionsWrapper.getDatasource());\n };\n InfiniteRowModel.prototype.destroyDatasource = function () {\n if (this.datasource) {\n this.getContext().destroyBean(this.datasource);\n this.rowRenderer.datasourceChanged();\n this.datasource = null;\n }\n };\n InfiniteRowModel.prototype.addEventListeners = function () {\n this.addManagedListener(this.eventService, Events.EVENT_FILTER_CHANGED, this.onFilterChanged.bind(this));\n this.addManagedListener(this.eventService, Events.EVENT_SORT_CHANGED, this.onSortChanged.bind(this));\n this.addManagedListener(this.eventService, Events.EVENT_NEW_COLUMNS_LOADED, this.onColumnEverything.bind(this));\n this.addManagedListener(this.eventService, Events.EVENT_STORE_UPDATED, this.onCacheUpdated.bind(this));\n };\n InfiniteRowModel.prototype.onFilterChanged = function () {\n this.reset();\n };\n InfiniteRowModel.prototype.onSortChanged = function () {\n this.reset();\n };\n InfiniteRowModel.prototype.onColumnEverything = function () {\n var resetRequired;\n // if cache params, we require reset only if sort model has changed. we don't need to check\n // for filter model, as the filter manager will fire an event when columns change that result\n // in the filter changing.\n if (this.cacheParams) {\n resetRequired = this.isSortModelDifferent();\n }\n else {\n // if no cacheParams, means first time creating the cache, so always create one\n resetRequired = true;\n }\n if (resetRequired) {\n this.reset();\n }\n };\n InfiniteRowModel.prototype.isSortModelDifferent = function () {\n return !_.jsonEquals(this.cacheParams.sortModel, this.sortController.getSortModel());\n };\n InfiniteRowModel.prototype.getType = function () {\n return Constants.ROW_MODEL_TYPE_INFINITE;\n };\n InfiniteRowModel.prototype.setDatasource = function (datasource) {\n this.destroyDatasource();\n this.datasource = datasource;\n // only reset if we have a valid datasource to working with\n if (datasource) {\n this.reset();\n }\n };\n InfiniteRowModel.prototype.isEmpty = function () {\n return !this.infiniteCache;\n };\n InfiniteRowModel.prototype.isRowsToRender = function () {\n return !!this.infiniteCache;\n };\n InfiniteRowModel.prototype.getNodesInRangeForSelection = function (firstInRange, lastInRange) {\n return this.infiniteCache ? this.infiniteCache.getRowNodesInRange(firstInRange, lastInRange) : [];\n };\n InfiniteRowModel.prototype.reset = function () {\n // important to return here, as the user could be setting filter or sort before\n // data-source is set\n if (!this.datasource) {\n return;\n }\n // if user is providing id's, then this means we can keep the selection between datasource hits,\n // as the rows will keep their unique id's even if, for example, server side sorting or filtering\n // is done.\n var getRowIdFunc = this.gridOptionsWrapper.getRowIdFunc();\n var userGeneratingIds = getRowIdFunc != null;\n if (!userGeneratingIds) {\n this.selectionService.reset();\n }\n this.resetCache();\n var event = this.createModelUpdatedEvent();\n this.eventService.dispatchEvent(event);\n };\n InfiniteRowModel.prototype.createModelUpdatedEvent = function () {\n return {\n type: Events.EVENT_MODEL_UPDATED,\n // not sure if these should all be false - noticed if after implementing,\n // maybe they should be true?\n newPage: false,\n newData: false,\n keepRenderedRows: true,\n animate: false\n };\n };\n InfiniteRowModel.prototype.resetCache = function () {\n // if not first time creating a cache, need to destroy the old one\n this.destroyCache();\n this.cacheParams = {\n // the user provided datasource\n datasource: this.datasource,\n // sort and filter model\n filterModel: this.filterManager.getFilterModel(),\n sortModel: this.sortController.getSortModel(),\n rowNodeBlockLoader: this.rowNodeBlockLoader,\n // properties - this way we take a snapshot of them, so if user changes any, they will be\n // used next time we create a new cache, which is generally after a filter or sort change,\n // or a new datasource is set\n initialRowCount: this.defaultIfInvalid(this.gridOptionsWrapper.getInfiniteInitialRowCount(), 1),\n maxBlocksInCache: this.gridOptionsWrapper.getMaxBlocksInCache(),\n rowHeight: this.gridOptionsWrapper.getRowHeightAsNumber(),\n // if user doesn't provide overflow, we use default overflow of 1, so user can scroll past\n // the current page and request first row of next page\n overflowSize: this.defaultIfInvalid(this.gridOptionsWrapper.getCacheOverflowSize(), 1),\n // page size needs to be 1 or greater. having it at 1 would be silly, as you would be hitting the\n // server for one page at a time. so the default if not specified is 100.\n blockSize: this.defaultIfInvalid(this.gridOptionsWrapper.getCacheBlockSize(), 100),\n // the cache could create this, however it is also used by the pages, so handy to create it\n // here as the settings are also passed to the pages\n lastAccessedSequence: new NumberSequence()\n };\n this.infiniteCache = this.createBean(new InfiniteCache(this.cacheParams));\n };\n InfiniteRowModel.prototype.defaultIfInvalid = function (value, defaultValue) {\n return value > 0 ? value : defaultValue;\n };\n InfiniteRowModel.prototype.destroyCache = function () {\n if (this.infiniteCache) {\n this.infiniteCache = this.destroyBean(this.infiniteCache);\n }\n };\n InfiniteRowModel.prototype.onCacheUpdated = function () {\n var event = this.createModelUpdatedEvent();\n this.eventService.dispatchEvent(event);\n };\n InfiniteRowModel.prototype.getRow = function (rowIndex) {\n if (!this.infiniteCache) {\n return undefined;\n }\n if (rowIndex >= this.infiniteCache.getRowCount()) {\n return undefined;\n }\n return this.infiniteCache.getRow(rowIndex);\n };\n InfiniteRowModel.prototype.getRowNode = function (id) {\n var result;\n this.forEachNode(function (rowNode) {\n if (rowNode.id === id) {\n result = rowNode;\n }\n });\n return result;\n };\n InfiniteRowModel.prototype.forEachNode = function (callback) {\n if (this.infiniteCache) {\n this.infiniteCache.forEachNodeDeep(callback);\n }\n };\n InfiniteRowModel.prototype.getTopLevelRowCount = function () {\n return this.getRowCount();\n };\n InfiniteRowModel.prototype.getTopLevelRowDisplayedIndex = function (topLevelIndex) {\n return topLevelIndex;\n };\n InfiniteRowModel.prototype.getRowIndexAtPixel = function (pixel) {\n if (this.rowHeight !== 0) { // avoid divide by zero error\n var rowIndexForPixel = Math.floor(pixel / this.rowHeight);\n var lastRowIndex = this.getRowCount() - 1;\n if (rowIndexForPixel > lastRowIndex) {\n return lastRowIndex;\n }\n return rowIndexForPixel;\n }\n return 0;\n };\n InfiniteRowModel.prototype.getRowCount = function () {\n return this.infiniteCache ? this.infiniteCache.getRowCount() : 0;\n };\n InfiniteRowModel.prototype.isRowPresent = function (rowNode) {\n var foundRowNode = this.getRowNode(rowNode.id);\n return !!foundRowNode;\n };\n InfiniteRowModel.prototype.refreshCache = function () {\n if (this.infiniteCache) {\n this.infiniteCache.refreshCache();\n }\n };\n InfiniteRowModel.prototype.purgeCache = function () {\n if (this.infiniteCache) {\n this.infiniteCache.purgeCache();\n }\n };\n // for iRowModel\n InfiniteRowModel.prototype.isLastRowIndexKnown = function () {\n if (this.infiniteCache) {\n return this.infiniteCache.isLastRowIndexKnown();\n }\n return false;\n };\n InfiniteRowModel.prototype.setRowCount = function (rowCount, lastRowIndexKnown) {\n if (this.infiniteCache) {\n this.infiniteCache.setRowCount(rowCount, lastRowIndexKnown);\n }\n };\n __decorate$2([\n Autowired('filterManager')\n ], InfiniteRowModel.prototype, \"filterManager\", void 0);\n __decorate$2([\n Autowired('sortController')\n ], InfiniteRowModel.prototype, \"sortController\", void 0);\n __decorate$2([\n Autowired('selectionService')\n ], InfiniteRowModel.prototype, \"selectionService\", void 0);\n __decorate$2([\n Autowired('rowRenderer')\n ], InfiniteRowModel.prototype, \"rowRenderer\", void 0);\n __decorate$2([\n Autowired('rowNodeBlockLoader')\n ], InfiniteRowModel.prototype, \"rowNodeBlockLoader\", void 0);\n __decorate$2([\n PostConstruct\n ], InfiniteRowModel.prototype, \"init\", null);\n __decorate$2([\n PreDestroy\n ], InfiniteRowModel.prototype, \"destroyDatasource\", null);\n InfiniteRowModel = __decorate$2([\n Bean('rowModel')\n ], InfiniteRowModel);\n return InfiniteRowModel;\n}(BeanStub));\n\nvar InfiniteRowModelModule = {\n moduleName: ModuleNames.InfiniteRowModelModule,\n rowModels: { infinite: InfiniteRowModel }\n};\n\nvar BaseCreator = /** @class */ (function () {\n function BaseCreator() {\n }\n BaseCreator.prototype.setBeans = function (beans) {\n this.beans = beans;\n };\n BaseCreator.prototype.getFileName = function (fileName) {\n var extension = this.getDefaultFileExtension();\n if (fileName == null || !fileName.length) {\n fileName = this.getDefaultFileName();\n }\n return fileName.indexOf('.') === -1 ? fileName + \".\" + extension : fileName;\n };\n BaseCreator.prototype.getData = function (params) {\n var serializingSession = this.createSerializingSession(params);\n var data = this.beans.gridSerializer.serialize(serializingSession, params);\n return data;\n };\n return BaseCreator;\n}());\n\nvar BaseGridSerializingSession = /** @class */ (function () {\n function BaseGridSerializingSession(config) {\n this.groupColumns = [];\n var columnModel = config.columnModel, valueService = config.valueService, gridOptionsWrapper = config.gridOptionsWrapper, processCellCallback = config.processCellCallback, processHeaderCallback = config.processHeaderCallback, processGroupHeaderCallback = config.processGroupHeaderCallback, processRowGroupCallback = config.processRowGroupCallback;\n this.columnModel = columnModel;\n this.valueService = valueService;\n this.gridOptionsWrapper = gridOptionsWrapper;\n this.processCellCallback = processCellCallback;\n this.processHeaderCallback = processHeaderCallback;\n this.processGroupHeaderCallback = processGroupHeaderCallback;\n this.processRowGroupCallback = processRowGroupCallback;\n }\n BaseGridSerializingSession.prototype.prepare = function (columnsToExport) {\n this.groupColumns = columnsToExport.filter(function (col) { return !!col.getColDef().showRowGroup; });\n };\n BaseGridSerializingSession.prototype.extractHeaderValue = function (column) {\n var value = this.getHeaderName(this.processHeaderCallback, column);\n return value != null ? value : '';\n };\n BaseGridSerializingSession.prototype.extractRowCellValue = function (column, index, accumulatedRowIndex, type, node) {\n // we render the group summary text e.g. \"-> Parent -> Child\"...\n var hideOpenParents = this.gridOptionsWrapper.isGroupHideOpenParents();\n var value = (!hideOpenParents && this.shouldRenderGroupSummaryCell(node, column, index))\n ? this.createValueForGroupNode(node)\n : this.valueService.getValue(column, node);\n var processedValue = this.processCell({\n accumulatedRowIndex: accumulatedRowIndex,\n rowNode: node,\n column: column,\n value: value,\n processCellCallback: this.processCellCallback,\n type: type\n });\n return processedValue != null ? processedValue : '';\n };\n BaseGridSerializingSession.prototype.shouldRenderGroupSummaryCell = function (node, column, currentColumnIndex) {\n var _a;\n var isGroupNode = node && node.group;\n // only on group rows\n if (!isGroupNode) {\n return false;\n }\n var currentColumnGroupIndex = this.groupColumns.indexOf(column);\n if (currentColumnGroupIndex !== -1 && ((_a = node.groupData) === null || _a === void 0 ? void 0 : _a[column.getId()])) {\n return true;\n }\n var isGroupUseEntireRow = this.gridOptionsWrapper.isGroupUseEntireRow(this.columnModel.isPivotMode());\n return currentColumnIndex === 0 && isGroupUseEntireRow;\n };\n BaseGridSerializingSession.prototype.getHeaderName = function (callback, column) {\n if (callback) {\n return callback({\n column: column,\n api: this.gridOptionsWrapper.getApi(),\n columnApi: this.gridOptionsWrapper.getColumnApi(),\n context: this.gridOptionsWrapper.getContext()\n });\n }\n return this.columnModel.getDisplayNameForColumn(column, 'csv', true);\n };\n BaseGridSerializingSession.prototype.createValueForGroupNode = function (node) {\n if (this.processRowGroupCallback) {\n return this.processRowGroupCallback({\n node: node,\n api: this.gridOptionsWrapper.getApi(),\n columnApi: this.gridOptionsWrapper.getColumnApi(),\n context: this.gridOptionsWrapper.getContext(),\n });\n }\n var keys = [node.key];\n if (!this.gridOptionsWrapper.isGroupMultiAutoColumn()) {\n while (node.parent) {\n node = node.parent;\n keys.push(node.key);\n }\n }\n return keys.reverse().join(' -> ');\n };\n BaseGridSerializingSession.prototype.processCell = function (params) {\n var accumulatedRowIndex = params.accumulatedRowIndex, rowNode = params.rowNode, column = params.column, value = params.value, processCellCallback = params.processCellCallback, type = params.type;\n if (processCellCallback) {\n return processCellCallback({\n accumulatedRowIndex: accumulatedRowIndex,\n column: column,\n node: rowNode,\n value: value,\n api: this.gridOptionsWrapper.getApi(),\n columnApi: this.gridOptionsWrapper.getColumnApi(),\n context: this.gridOptionsWrapper.getContext(),\n type: type\n });\n }\n return value != null ? value : '';\n };\n return BaseGridSerializingSession;\n}());\n\nvar Downloader = /** @class */ (function () {\n function Downloader() {\n }\n Downloader.download = function (fileName, content) {\n var win = document.defaultView || window;\n if (!win) {\n console.warn('AG Grid: There is no `window` associated with the current `document`');\n return;\n }\n var element = document.createElement('a');\n // @ts-ignore\n var url = win.URL.createObjectURL(content);\n element.setAttribute('href', url);\n element.setAttribute('download', fileName);\n element.style.display = 'none';\n document.body.appendChild(element);\n element.dispatchEvent(new MouseEvent('click', {\n bubbles: false,\n cancelable: true,\n view: win\n }));\n document.body.removeChild(element);\n win.setTimeout(function () {\n // @ts-ignore\n win.URL.revokeObjectURL(url);\n }, 0);\n };\n return Downloader;\n}());\n\nvar __extends$2 = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar LINE_SEPARATOR$1 = '\\r\\n';\nvar CsvSerializingSession = /** @class */ (function (_super) {\n __extends$2(CsvSerializingSession, _super);\n function CsvSerializingSession(config) {\n var _this = _super.call(this, config) || this;\n _this.isFirstLine = true;\n _this.result = '';\n var suppressQuotes = config.suppressQuotes, columnSeparator = config.columnSeparator;\n _this.suppressQuotes = suppressQuotes;\n _this.columnSeparator = columnSeparator;\n return _this;\n }\n CsvSerializingSession.prototype.addCustomContent = function (content) {\n var _this = this;\n if (!content) {\n return;\n }\n if (typeof content === 'string') {\n if (!/^\\s*\\n/.test(content)) {\n this.beginNewLine();\n }\n // replace whatever newlines are supplied with the style we're using\n content = content.replace(/\\r?\\n/g, LINE_SEPARATOR$1);\n this.result += content;\n }\n else {\n content.forEach(function (row) {\n _this.beginNewLine();\n row.forEach(function (cell, index) {\n if (index !== 0) {\n _this.result += _this.columnSeparator;\n }\n _this.result += _this.putInQuotes(cell.data.value || '');\n if (cell.mergeAcross) {\n _this.appendEmptyCells(cell.mergeAcross);\n }\n });\n });\n }\n };\n CsvSerializingSession.prototype.onNewHeaderGroupingRow = function () {\n this.beginNewLine();\n return {\n onColumn: this.onNewHeaderGroupingRowColumn.bind(this)\n };\n };\n CsvSerializingSession.prototype.onNewHeaderGroupingRowColumn = function (columnGroup, header, index, span) {\n if (index != 0) {\n this.result += this.columnSeparator;\n }\n this.result += this.putInQuotes(header);\n this.appendEmptyCells(span);\n };\n CsvSerializingSession.prototype.appendEmptyCells = function (count) {\n for (var i = 1; i <= count; i++) {\n this.result += this.columnSeparator + this.putInQuotes(\"\");\n }\n };\n CsvSerializingSession.prototype.onNewHeaderRow = function () {\n this.beginNewLine();\n return {\n onColumn: this.onNewHeaderRowColumn.bind(this)\n };\n };\n CsvSerializingSession.prototype.onNewHeaderRowColumn = function (column, index) {\n if (index != 0) {\n this.result += this.columnSeparator;\n }\n this.result += this.putInQuotes(this.extractHeaderValue(column));\n };\n CsvSerializingSession.prototype.onNewBodyRow = function () {\n this.beginNewLine();\n return {\n onColumn: this.onNewBodyRowColumn.bind(this)\n };\n };\n CsvSerializingSession.prototype.onNewBodyRowColumn = function (column, index, node) {\n if (index != 0) {\n this.result += this.columnSeparator;\n }\n this.result += this.putInQuotes(this.extractRowCellValue(column, index, index, Constants.EXPORT_TYPE_CSV, node));\n };\n CsvSerializingSession.prototype.putInQuotes = function (value) {\n if (this.suppressQuotes) {\n return value;\n }\n if (value === null || value === undefined) {\n return '\"\"';\n }\n var stringValue;\n if (typeof value === 'string') {\n stringValue = value;\n }\n else if (typeof value.toString === 'function') {\n stringValue = value.toString();\n }\n else {\n console.warn('AG Grid: unknown value type during csv conversion');\n stringValue = '';\n }\n // replace each \" with \"\" (ie two sets of double quotes is how to do double quotes in csv)\n var valueEscaped = stringValue.replace(/\"/g, \"\\\"\\\"\");\n return '\"' + valueEscaped + '\"';\n };\n CsvSerializingSession.prototype.parse = function () {\n return this.result;\n };\n CsvSerializingSession.prototype.beginNewLine = function () {\n if (!this.isFirstLine) {\n this.result += LINE_SEPARATOR$1;\n }\n this.isFirstLine = false;\n };\n return CsvSerializingSession;\n}(BaseGridSerializingSession));\n\nvar __extends$1 = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar CsvCreator = /** @class */ (function (_super) {\n __extends$1(CsvCreator, _super);\n function CsvCreator() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n CsvCreator.prototype.postConstruct = function () {\n this.setBeans({\n gridSerializer: this.gridSerializer,\n gridOptionsWrapper: this.gridOptionsWrapper\n });\n };\n CsvCreator.prototype.getMergedParams = function (params) {\n var baseParams = this.gridOptionsWrapper.getDefaultExportParams('csv');\n return Object.assign({}, baseParams, params);\n };\n CsvCreator.prototype.export = function (userParams) {\n if (this.isExportSuppressed()) {\n console.warn(\"AG Grid: Export cancelled. Export is not allowed as per your configuration.\");\n return '';\n }\n var mergedParams = this.getMergedParams(userParams);\n var data = this.getData(mergedParams);\n var packagedFile = new Blob([\"\\ufeff\", data], { type: 'text/plain' });\n Downloader.download(this.getFileName(mergedParams.fileName), packagedFile);\n return data;\n };\n CsvCreator.prototype.exportDataAsCsv = function (params) {\n return this.export(params);\n };\n CsvCreator.prototype.getDataAsCsv = function (params, skipDefaultParams) {\n if (skipDefaultParams === void 0) { skipDefaultParams = false; }\n var mergedParams = skipDefaultParams\n ? Object.assign({}, params)\n : this.getMergedParams(params);\n return this.getData(mergedParams);\n };\n CsvCreator.prototype.getDefaultFileName = function () {\n return 'export.csv';\n };\n CsvCreator.prototype.getDefaultFileExtension = function () {\n return 'csv';\n };\n CsvCreator.prototype.createSerializingSession = function (params) {\n var _a = this, columnModel = _a.columnModel, valueService = _a.valueService, gridOptionsWrapper = _a.gridOptionsWrapper;\n var _b = params, processCellCallback = _b.processCellCallback, processHeaderCallback = _b.processHeaderCallback, processGroupHeaderCallback = _b.processGroupHeaderCallback, processRowGroupCallback = _b.processRowGroupCallback, suppressQuotes = _b.suppressQuotes, columnSeparator = _b.columnSeparator;\n return new CsvSerializingSession({\n columnModel: columnModel,\n valueService: valueService,\n gridOptionsWrapper: gridOptionsWrapper,\n processCellCallback: processCellCallback || undefined,\n processHeaderCallback: processHeaderCallback || undefined,\n processGroupHeaderCallback: processGroupHeaderCallback || undefined,\n processRowGroupCallback: processRowGroupCallback || undefined,\n suppressQuotes: suppressQuotes || false,\n columnSeparator: columnSeparator || ','\n });\n };\n CsvCreator.prototype.isExportSuppressed = function () {\n return this.gridOptionsWrapper.isSuppressCsvExport();\n };\n __decorate$1([\n Autowired('columnModel')\n ], CsvCreator.prototype, \"columnModel\", void 0);\n __decorate$1([\n Autowired('valueService')\n ], CsvCreator.prototype, \"valueService\", void 0);\n __decorate$1([\n Autowired('gridSerializer')\n ], CsvCreator.prototype, \"gridSerializer\", void 0);\n __decorate$1([\n Autowired('gridOptionsWrapper')\n ], CsvCreator.prototype, \"gridOptionsWrapper\", void 0);\n __decorate$1([\n PostConstruct\n ], CsvCreator.prototype, \"postConstruct\", null);\n CsvCreator = __decorate$1([\n Bean('csvCreator')\n ], CsvCreator);\n return CsvCreator;\n}(BaseCreator));\n\nvar __extends = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar RowType;\n(function (RowType) {\n RowType[RowType[\"HEADER_GROUPING\"] = 0] = \"HEADER_GROUPING\";\n RowType[RowType[\"HEADER\"] = 1] = \"HEADER\";\n RowType[RowType[\"BODY\"] = 2] = \"BODY\";\n})(RowType || (RowType = {}));\nvar GridSerializer = /** @class */ (function (_super) {\n __extends(GridSerializer, _super);\n function GridSerializer() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n GridSerializer.prototype.serialize = function (gridSerializingSession, params) {\n if (params === void 0) { params = {}; }\n var columnsToExport = this.getColumnsToExport(params.allColumns, params.columnKeys);\n var serializeChain = _.compose(\n // first pass, put in the header names of the cols\n this.prepareSession(columnsToExport), this.prependContent(params), this.exportColumnGroups(params, columnsToExport), this.exportHeaders(params, columnsToExport), this.processPinnedTopRows(params, columnsToExport), this.processRows(params, columnsToExport), this.processPinnedBottomRows(params, columnsToExport), this.appendContent(params));\n return serializeChain(gridSerializingSession).parse();\n };\n GridSerializer.prototype.processRow = function (gridSerializingSession, params, columnsToExport, node) {\n var rowSkipper = params.shouldRowBeSkipped || (function () { return false; });\n var gridOptionsWrapper = this.gridOptionsWrapper;\n var context = gridOptionsWrapper.getContext();\n var api = gridOptionsWrapper.getApi();\n var columnApi = gridOptionsWrapper.getColumnApi();\n var skipSingleChildrenGroup = gridOptionsWrapper.isGroupRemoveSingleChildren();\n var skipLowestSingleChildrenGroup = gridOptionsWrapper.isGroupRemoveLowestSingleChildren();\n // if onlySelected, we ignore groupHideOpenParents as the user has explicitly selected the rows they wish to export.\n // similarly, if specific rowNodes are provided we do the same. (the clipboard service uses rowNodes to define which rows to export)\n var isClipboardExport = params.rowPositions != null;\n var isExplicitExportSelection = isClipboardExport || !!params.onlySelected;\n var hideOpenParents = gridOptionsWrapper.isGroupHideOpenParents() && !isExplicitExportSelection;\n var isLeafNode = this.columnModel.isPivotMode() ? node.leafGroup : !node.group;\n var skipRowGroups = params.skipGroups || params.skipRowGroups;\n var shouldSkipLowestGroup = skipLowestSingleChildrenGroup && node.leafGroup;\n var shouldSkipCurrentGroup = node.allChildrenCount === 1 && (skipSingleChildrenGroup || shouldSkipLowestGroup);\n if (skipRowGroups && params.skipGroups) {\n _.doOnce(function () { return console.warn('AG Grid: Since v25.2 `skipGroups` has been renamed to `skipRowGroups`.'); }, 'gridSerializer-skipGroups');\n }\n if ((!isLeafNode && (params.skipRowGroups || shouldSkipCurrentGroup || hideOpenParents)) ||\n (params.onlySelected && !node.isSelected()) ||\n (params.skipPinnedTop && node.rowPinned === 'top') ||\n (params.skipPinnedBottom && node.rowPinned === 'bottom')) {\n return;\n }\n // if we are in pivotMode, then the grid will show the root node only\n // if it's not a leaf group\n var nodeIsRootNode = node.level === -1;\n if (nodeIsRootNode && !node.leafGroup && (!node.footer || !isClipboardExport)) {\n return;\n }\n var shouldRowBeSkipped = rowSkipper({ node: node, api: api, columnApi: columnApi, context: context });\n if (shouldRowBeSkipped) {\n return;\n }\n var rowAccumulator = gridSerializingSession.onNewBodyRow();\n columnsToExport.forEach(function (column, index) {\n rowAccumulator.onColumn(column, index, node);\n });\n if (params.getCustomContentBelowRow) {\n var content = params.getCustomContentBelowRow({ node: node, api: api, columnApi: columnApi, context: context });\n if (content) {\n gridSerializingSession.addCustomContent(content);\n }\n }\n };\n GridSerializer.prototype.appendContent = function (params) {\n return function (gridSerializingSession) {\n var appendContent = params.customFooter || params.appendContent;\n if (appendContent) {\n if (params.customFooter) {\n _.doOnce(function () { return console.warn('AG Grid: Since version 25.2.0 the `customFooter` param has been deprecated. Use `appendContent` instead.'); }, 'gridSerializer-customFooter');\n }\n gridSerializingSession.addCustomContent(appendContent);\n }\n return gridSerializingSession;\n };\n };\n GridSerializer.prototype.prependContent = function (params) {\n return function (gridSerializingSession) {\n var prependContent = params.customHeader || params.prependContent;\n if (prependContent) {\n if (params.customHeader) {\n _.doOnce(function () { return console.warn('AG Grid: Since version 25.2.0 the `customHeader` param has been deprecated. Use `prependContent` instead.'); }, 'gridSerializer-customHeader');\n }\n gridSerializingSession.addCustomContent(prependContent);\n }\n return gridSerializingSession;\n };\n };\n GridSerializer.prototype.prepareSession = function (columnsToExport) {\n return function (gridSerializingSession) {\n gridSerializingSession.prepare(columnsToExport);\n return gridSerializingSession;\n };\n };\n GridSerializer.prototype.exportColumnGroups = function (params, columnsToExport) {\n var _this = this;\n return function (gridSerializingSession) {\n if (!params.skipColumnGroupHeaders) {\n var groupInstanceIdCreator = new GroupInstanceIdCreator();\n var displayedGroups = _this.displayedGroupCreator.createDisplayedGroups(columnsToExport, _this.columnModel.getGridBalancedTree(), groupInstanceIdCreator, null);\n _this.recursivelyAddHeaderGroups(displayedGroups, gridSerializingSession, params.processGroupHeaderCallback);\n }\n else if (params.columnGroups) {\n _.doOnce(function () { return console.warn('AG Grid: Since v25.2 the `columnGroups` param has deprecated, and groups are exported by default.'); }, 'gridSerializer-columnGroups');\n }\n return gridSerializingSession;\n };\n };\n GridSerializer.prototype.exportHeaders = function (params, columnsToExport) {\n return function (gridSerializingSession) {\n if (!params.skipHeader && !params.skipColumnHeaders) {\n var gridRowIterator_1 = gridSerializingSession.onNewHeaderRow();\n columnsToExport.forEach(function (column, index) {\n gridRowIterator_1.onColumn(column, index, undefined);\n });\n }\n else if (params.skipHeader) {\n _.doOnce(function () { return console.warn('AG Grid: Since v25.2 the `skipHeader` param has been renamed to `skipColumnHeaders`.'); }, 'gridSerializer-skipHeader');\n }\n return gridSerializingSession;\n };\n };\n GridSerializer.prototype.processPinnedTopRows = function (params, columnsToExport) {\n var _this = this;\n return function (gridSerializingSession) {\n var processRow = _this.processRow.bind(_this, gridSerializingSession, params, columnsToExport);\n if (params.rowPositions) {\n params.rowPositions\n // only pinnedTop rows, other models are processed by `processRows` and `processPinnedBottomsRows`\n .filter(function (position) { return position.rowPinned === 'top'; })\n .sort(function (a, b) { return a.rowIndex - b.rowIndex; })\n .map(function (position) { return _this.pinnedRowModel.getPinnedTopRow(position.rowIndex); })\n .forEach(processRow);\n }\n else {\n _this.pinnedRowModel.forEachPinnedTopRow(processRow);\n }\n return gridSerializingSession;\n };\n };\n GridSerializer.prototype.processRows = function (params, columnsToExport) {\n var _this = this;\n return function (gridSerializingSession) {\n // when in pivot mode, we always render cols on screen, never 'all columns'\n var rowModel = _this.rowModel;\n var rowModelType = rowModel.getType();\n var usingCsrm = rowModelType === Constants.ROW_MODEL_TYPE_CLIENT_SIDE;\n var usingSsrm = rowModelType === Constants.ROW_MODEL_TYPE_SERVER_SIDE;\n var onlySelectedNonStandardModel = !usingCsrm && params.onlySelected;\n var processRow = _this.processRow.bind(_this, gridSerializingSession, params, columnsToExport);\n var _a = params.exportedRows, exportedRows = _a === void 0 ? 'filteredAndSorted' : _a;\n if (params.rowPositions) {\n params.rowPositions\n // pinnedRows are processed by `processPinnedTopRows` and `processPinnedBottomsRows`\n .filter(function (position) { return position.rowPinned == null; })\n .sort(function (a, b) { return a.rowIndex - b.rowIndex; })\n .map(function (position) { return rowModel.getRow(position.rowIndex); })\n .forEach(processRow);\n }\n else if (_this.columnModel.isPivotMode()) {\n if (usingCsrm) {\n rowModel.forEachPivotNode(processRow);\n }\n else {\n // must be enterprise, so we can just loop through all the nodes\n rowModel.forEachNode(processRow);\n }\n }\n else {\n // onlySelectedAllPages: user doing pagination and wants selected items from\n // other pages, so cannot use the standard row model as it won't have rows from\n // other pages.\n // onlySelectedNonStandardModel: if user wants selected in non standard row model\n // (eg viewport) then again RowModel cannot be used, so need to use selected instead.\n if (params.onlySelectedAllPages || onlySelectedNonStandardModel) {\n var selectedNodes = _this.selectionService.getSelectedNodes();\n selectedNodes.forEach(processRow);\n }\n else {\n // here is everything else - including standard row model and selected. we don't use\n // the selection model even when just using selected, so that the result is the order\n // of the rows appearing on the screen.\n if (exportedRows === 'all') {\n rowModel.forEachNode(processRow);\n }\n else if (usingCsrm) {\n rowModel.forEachNodeAfterFilterAndSort(processRow);\n }\n else if (usingSsrm) {\n rowModel.forEachNodeAfterFilterAndSort(processRow);\n }\n else {\n rowModel.forEachNode(processRow);\n }\n }\n }\n return gridSerializingSession;\n };\n };\n GridSerializer.prototype.processPinnedBottomRows = function (params, columnsToExport) {\n var _this = this;\n return function (gridSerializingSession) {\n var processRow = _this.processRow.bind(_this, gridSerializingSession, params, columnsToExport);\n if (params.rowPositions) {\n params.rowPositions\n // only pinnedBottom rows, other models are processed by `processRows` and `processPinnedTopRows`\n .filter(function (position) { return position.rowPinned === 'bottom'; })\n .sort(function (a, b) { return a.rowIndex - b.rowIndex; })\n .map(function (position) { return _this.pinnedRowModel.getPinnedBottomRow(position.rowIndex); })\n .forEach(processRow);\n }\n else {\n _this.pinnedRowModel.forEachPinnedBottomRow(processRow);\n }\n return gridSerializingSession;\n };\n };\n GridSerializer.prototype.getColumnsToExport = function (allColumns, columnKeys) {\n if (allColumns === void 0) { allColumns = false; }\n var isPivotMode = this.columnModel.isPivotMode();\n if (columnKeys && columnKeys.length) {\n return this.columnModel.getGridColumns(columnKeys);\n }\n if (allColumns && !isPivotMode) {\n // add auto group column for tree data\n var columns = this.gridOptionsWrapper.isTreeData()\n ? this.columnModel.getGridColumns([Constants.GROUP_AUTO_COLUMN_ID])\n : [];\n return columns.concat(this.columnModel.getAllPrimaryColumns() || []);\n }\n return this.columnModel.getAllDisplayedColumns();\n };\n GridSerializer.prototype.recursivelyAddHeaderGroups = function (displayedGroups, gridSerializingSession, processGroupHeaderCallback) {\n var directChildrenHeaderGroups = [];\n displayedGroups.forEach(function (columnGroupChild) {\n var columnGroup = columnGroupChild;\n if (!columnGroup.getChildren) {\n return;\n }\n columnGroup.getChildren().forEach(function (it) { return directChildrenHeaderGroups.push(it); });\n });\n if (displayedGroups.length > 0 && displayedGroups[0] instanceof ColumnGroup) {\n this.doAddHeaderHeader(gridSerializingSession, displayedGroups, processGroupHeaderCallback);\n }\n if (directChildrenHeaderGroups && directChildrenHeaderGroups.length > 0) {\n this.recursivelyAddHeaderGroups(directChildrenHeaderGroups, gridSerializingSession, processGroupHeaderCallback);\n }\n };\n GridSerializer.prototype.doAddHeaderHeader = function (gridSerializingSession, displayedGroups, processGroupHeaderCallback) {\n var _this = this;\n var gridRowIterator = gridSerializingSession.onNewHeaderGroupingRow();\n var columnIndex = 0;\n displayedGroups.forEach(function (columnGroupChild) {\n var columnGroup = columnGroupChild;\n var name;\n if (processGroupHeaderCallback) {\n name = processGroupHeaderCallback({\n columnGroup: columnGroup,\n api: _this.gridOptionsWrapper.getApi(),\n columnApi: _this.gridOptionsWrapper.getColumnApi(),\n context: _this.gridOptionsWrapper.getContext()\n });\n }\n else {\n name = _this.columnModel.getDisplayNameForColumnGroup(columnGroup, 'header');\n }\n var collapsibleGroupRanges = columnGroup.getLeafColumns().reduce(function (collapsibleGroups, currentColumn, currentIdx, arr) {\n var lastGroup = _.last(collapsibleGroups);\n var groupShow = currentColumn.getColumnGroupShow() === 'open';\n if (!groupShow) {\n if (lastGroup && lastGroup[1] == null) {\n lastGroup[1] = currentIdx - 1;\n }\n }\n else if (!lastGroup || lastGroup[1] != null) {\n lastGroup = [currentIdx];\n collapsibleGroups.push(lastGroup);\n }\n if (currentIdx === arr.length - 1 && lastGroup && lastGroup[1] == null) {\n lastGroup[1] = currentIdx;\n }\n return collapsibleGroups;\n }, []);\n gridRowIterator.onColumn(columnGroup, name || '', columnIndex++, columnGroup.getLeafColumns().length - 1, collapsibleGroupRanges);\n });\n };\n __decorate([\n Autowired('displayedGroupCreator')\n ], GridSerializer.prototype, \"displayedGroupCreator\", void 0);\n __decorate([\n Autowired('columnModel')\n ], GridSerializer.prototype, \"columnModel\", void 0);\n __decorate([\n Autowired('rowModel')\n ], GridSerializer.prototype, \"rowModel\", void 0);\n __decorate([\n Autowired('pinnedRowModel')\n ], GridSerializer.prototype, \"pinnedRowModel\", void 0);\n __decorate([\n Autowired('selectionService')\n ], GridSerializer.prototype, \"selectionService\", void 0);\n __decorate([\n Autowired('rowPositionUtils')\n ], GridSerializer.prototype, \"rowPositionUtils\", void 0);\n GridSerializer = __decorate([\n Bean(\"gridSerializer\")\n ], GridSerializer);\n return GridSerializer;\n}(BeanStub));\n\nvar CsvExportModule = {\n moduleName: ModuleNames.CsvExportModule,\n beans: [CsvCreator, GridSerializer]\n};\n\nvar LINE_SEPARATOR = '\\r\\n';\nvar XmlFactory = /** @class */ (function () {\n function XmlFactory() {\n }\n XmlFactory.createHeader = function (headerElement) {\n if (headerElement === void 0) { headerElement = {}; }\n var headerStart = '';\n var keys = ['version'];\n if (!headerElement.version) {\n headerElement.version = \"1.0\";\n }\n if (headerElement.encoding) {\n keys.push('encoding');\n }\n if (headerElement.standalone) {\n keys.push('standalone');\n }\n var att = keys.map(function (key) { return key + \"=\\\"\" + headerElement[key] + \"\\\"\"; }).join(' ');\n return headerStart + \"xml \" + att + \" \" + headerEnd;\n };\n XmlFactory.createXml = function (xmlElement, booleanTransformer) {\n var _this = this;\n var props = '';\n if (xmlElement.properties) {\n if (xmlElement.properties.prefixedAttributes) {\n xmlElement.properties.prefixedAttributes.forEach(function (prefixedSet) {\n Object.keys(prefixedSet.map).forEach(function (key) {\n props += _this.returnAttributeIfPopulated(prefixedSet.prefix + key, prefixedSet.map[key], booleanTransformer);\n });\n });\n }\n if (xmlElement.properties.rawMap) {\n Object.keys(xmlElement.properties.rawMap).forEach(function (key) {\n props += _this.returnAttributeIfPopulated(key, xmlElement.properties.rawMap[key], booleanTransformer);\n });\n }\n }\n var result = '<' + xmlElement.name + props;\n if (!xmlElement.children && xmlElement.textNode == null) {\n return result + '/>' + LINE_SEPARATOR;\n }\n if (xmlElement.textNode != null) {\n return result + '>' + xmlElement.textNode + '' + LINE_SEPARATOR;\n }\n result += '>' + LINE_SEPARATOR;\n if (xmlElement.children) {\n xmlElement.children.forEach(function (it) {\n result += _this.createXml(it, booleanTransformer);\n });\n }\n return result + '' + LINE_SEPARATOR;\n };\n XmlFactory.returnAttributeIfPopulated = function (key, value, booleanTransformer) {\n if (!value && value !== '' && value !== 0) {\n return '';\n }\n var xmlValue = value;\n if ((typeof (value) === 'boolean')) {\n if (booleanTransformer) {\n xmlValue = booleanTransformer(value);\n }\n }\n return \" \" + key + \"=\\\"\" + xmlValue + \"\\\"\";\n };\n return XmlFactory;\n}());\n\nvar __values = (undefined && undefined.__values) || function(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\n// table for crc calculation\n// from: https://referencesource.microsoft.com/#System/sys/System/IO/compression/Crc32Helper.cs,3b31978c7d7f7246,references\nvar crcTable = new Uint32Array([\n 0x00000000, 0x77073096, 0xee0e612c, 0x990951ba, 0x076dc419, 0x706af48f,\n 0xe963a535, 0x9e6495a3, 0x0edb8832, 0x79dcb8a4, 0xe0d5e91e, 0x97d2d988,\n 0x09b64c2b, 0x7eb17cbd, 0xe7b82d07, 0x90bf1d91, 0x1db71064, 0x6ab020f2,\n 0xf3b97148, 0x84be41de, 0x1adad47d, 0x6ddde4eb, 0xf4d4b551, 0x83d385c7,\n 0x136c9856, 0x646ba8c0, 0xfd62f97a, 0x8a65c9ec, 0x14015c4f, 0x63066cd9,\n 0xfa0f3d63, 0x8d080df5, 0x3b6e20c8, 0x4c69105e, 0xd56041e4, 0xa2677172,\n 0x3c03e4d1, 0x4b04d447, 0xd20d85fd, 0xa50ab56b, 0x35b5a8fa, 0x42b2986c,\n 0xdbbbc9d6, 0xacbcf940, 0x32d86ce3, 0x45df5c75, 0xdcd60dcf, 0xabd13d59,\n 0x26d930ac, 0x51de003a, 0xc8d75180, 0xbfd06116, 0x21b4f4b5, 0x56b3c423,\n 0xcfba9599, 0xb8bda50f, 0x2802b89e, 0x5f058808, 0xc60cd9b2, 0xb10be924,\n 0x2f6f7c87, 0x58684c11, 0xc1611dab, 0xb6662d3d, 0x76dc4190, 0x01db7106,\n 0x98d220bc, 0xefd5102a, 0x71b18589, 0x06b6b51f, 0x9fbfe4a5, 0xe8b8d433,\n 0x7807c9a2, 0x0f00f934, 0x9609a88e, 0xe10e9818, 0x7f6a0dbb, 0x086d3d2d,\n 0x91646c97, 0xe6635c01, 0x6b6b51f4, 0x1c6c6162, 0x856530d8, 0xf262004e,\n 0x6c0695ed, 0x1b01a57b, 0x8208f4c1, 0xf50fc457, 0x65b0d9c6, 0x12b7e950,\n 0x8bbeb8ea, 0xfcb9887c, 0x62dd1ddf, 0x15da2d49, 0x8cd37cf3, 0xfbd44c65,\n 0x4db26158, 0x3ab551ce, 0xa3bc0074, 0xd4bb30e2, 0x4adfa541, 0x3dd895d7,\n 0xa4d1c46d, 0xd3d6f4fb, 0x4369e96a, 0x346ed9fc, 0xad678846, 0xda60b8d0,\n 0x44042d73, 0x33031de5, 0xaa0a4c5f, 0xdd0d7cc9, 0x5005713c, 0x270241aa,\n 0xbe0b1010, 0xc90c2086, 0x5768b525, 0x206f85b3, 0xb966d409, 0xce61e49f,\n 0x5edef90e, 0x29d9c998, 0xb0d09822, 0xc7d7a8b4, 0x59b33d17, 0x2eb40d81,\n 0xb7bd5c3b, 0xc0ba6cad, 0xedb88320, 0x9abfb3b6, 0x03b6e20c, 0x74b1d29a,\n 0xead54739, 0x9dd277af, 0x04db2615, 0x73dc1683, 0xe3630b12, 0x94643b84,\n 0x0d6d6a3e, 0x7a6a5aa8, 0xe40ecf0b, 0x9309ff9d, 0x0a00ae27, 0x7d079eb1,\n 0xf00f9344, 0x8708a3d2, 0x1e01f268, 0x6906c2fe, 0xf762575d, 0x806567cb,\n 0x196c3671, 0x6e6b06e7, 0xfed41b76, 0x89d32be0, 0x10da7a5a, 0x67dd4acc,\n 0xf9b9df6f, 0x8ebeeff9, 0x17b7be43, 0x60b08ed5, 0xd6d6a3e8, 0xa1d1937e,\n 0x38d8c2c4, 0x4fdff252, 0xd1bb67f1, 0xa6bc5767, 0x3fb506dd, 0x48b2364b,\n 0xd80d2bda, 0xaf0a1b4c, 0x36034af6, 0x41047a60, 0xdf60efc3, 0xa867df55,\n 0x316e8eef, 0x4669be79, 0xcb61b38c, 0xbc66831a, 0x256fd2a0, 0x5268e236,\n 0xcc0c7795, 0xbb0b4703, 0x220216b9, 0x5505262f, 0xc5ba3bbe, 0xb2bd0b28,\n 0x2bb45a92, 0x5cb36a04, 0xc2d7ffa7, 0xb5d0cf31, 0x2cd99e8b, 0x5bdeae1d,\n 0x9b64c2b0, 0xec63f226, 0x756aa39c, 0x026d930a, 0x9c0906a9, 0xeb0e363f,\n 0x72076785, 0x05005713, 0x95bf4a82, 0xe2b87a14, 0x7bb12bae, 0x0cb61b38,\n 0x92d28e9b, 0xe5d5be0d, 0x7cdcefb7, 0x0bdbdf21, 0x86d3d2d4, 0xf1d4e242,\n 0x68ddb3f8, 0x1fda836e, 0x81be16cd, 0xf6b9265b, 0x6fb077e1, 0x18b74777,\n 0x88085ae6, 0xff0f6a70, 0x66063bca, 0x11010b5c, 0x8f659eff, 0xf862ae69,\n 0x616bffd3, 0x166ccf45, 0xa00ae278, 0xd70dd2ee, 0x4e048354, 0x3903b3c2,\n 0xa7672661, 0xd06016f7, 0x4969474d, 0x3e6e77db, 0xaed16a4a, 0xd9d65adc,\n 0x40df0b66, 0x37d83bf0, 0xa9bcae53, 0xdebb9ec5, 0x47b2cf7f, 0x30b5ffe9,\n 0xbdbdf21c, 0xcabac28a, 0x53b39330, 0x24b4a3a6, 0xbad03605, 0xcdd70693,\n 0x54de5729, 0x23d967bf, 0xb3667a2e, 0xc4614ab8, 0x5d681b02, 0x2a6f2b94,\n 0xb40bbe37, 0xc30c8ea1, 0x5a05df1b, 0x2d02ef8d\n]);\nvar ZipContainer = /** @class */ (function () {\n function ZipContainer() {\n }\n ZipContainer.addFolders = function (paths) {\n paths.forEach(this.addFolder.bind(this));\n };\n ZipContainer.addFolder = function (path) {\n this.folders.push({\n path: path,\n created: new Date(),\n isBase64: false\n });\n };\n ZipContainer.addFile = function (path, content, isBase64) {\n if (isBase64 === void 0) { isBase64 = false; }\n this.files.push({\n path: path,\n created: new Date(),\n content: content,\n isBase64: isBase64\n });\n };\n ZipContainer.getContent = function (mimeType) {\n if (mimeType === void 0) { mimeType = 'application/zip'; }\n var textOutput = this.buildFileStream();\n var uInt8Output = this.buildUint8Array(textOutput);\n this.clearStream();\n return new Blob([uInt8Output], { type: mimeType });\n };\n ZipContainer.clearStream = function () {\n this.folders = [];\n this.files = [];\n };\n ZipContainer.buildFileStream = function (fData) {\n var e_1, _a;\n if (fData === void 0) { fData = ''; }\n var totalFiles = this.folders.concat(this.files);\n var len = totalFiles.length;\n var foData = '';\n var lL = 0;\n var cL = 0;\n try {\n for (var totalFiles_1 = __values(totalFiles), totalFiles_1_1 = totalFiles_1.next(); !totalFiles_1_1.done; totalFiles_1_1 = totalFiles_1.next()) {\n var currentFile = totalFiles_1_1.value;\n var _b = this.getHeader(currentFile, lL), fileHeader = _b.fileHeader, folderHeader = _b.folderHeader, content = _b.content;\n lL += fileHeader.length + content.length;\n cL += folderHeader.length;\n fData += fileHeader + content;\n foData += folderHeader;\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (totalFiles_1_1 && !totalFiles_1_1.done && (_a = totalFiles_1.return)) _a.call(totalFiles_1);\n }\n finally { if (e_1) throw e_1.error; }\n }\n var foEnd = this.buildFolderEnd(len, cL, lL);\n return fData + foData + foEnd;\n };\n ZipContainer.getHeader = function (currentFile, offset) {\n var content = currentFile.content, path = currentFile.path, created = currentFile.created, isBase64 = currentFile.isBase64;\n var utf8_encode = _.utf8_encode, decToHex = _.decToHex;\n var utfPath = utf8_encode(path);\n var isUTF8 = utfPath !== path;\n var time = this.convertTime(created);\n var dt = this.convertDate(created);\n var extraFields = '';\n if (isUTF8) {\n var uExtraFieldPath = decToHex(1, 1) + decToHex(this.getFromCrc32Table(utfPath), 4) + utfPath;\n extraFields = \"\\x75\\x70\" + decToHex(uExtraFieldPath.length, 2) + uExtraFieldPath;\n }\n var _a = !content ? { size: 0, content: '' } : this.getConvertedContent(content, isBase64), size = _a.size, convertedContent = _a.content;\n var header = '\\x0A\\x00' +\n (isUTF8 ? '\\x00\\x08' : '\\x00\\x00') +\n '\\x00\\x00' +\n decToHex(time, 2) + // last modified time\n decToHex(dt, 2) + // last modified date\n decToHex(size ? this.getFromCrc32Table(convertedContent) : 0, 4) +\n decToHex(size, 4) + // compressed size\n decToHex(size, 4) + // uncompressed size\n decToHex(utfPath.length, 2) + // file name length\n decToHex(extraFields.length, 2); // extra field length\n var fileHeader = 'PK\\x03\\x04' + header + utfPath + extraFields;\n var folderHeader = 'PK\\x01\\x02' + // central header\n '\\x14\\x00' +\n header + // file header\n '\\x00\\x00' +\n '\\x00\\x00' +\n '\\x00\\x00' +\n (content ? '\\x00\\x00\\x00\\x00' : '\\x10\\x00\\x00\\x00') + // external file attributes\n decToHex(offset, 4) + // relative offset of local header\n utfPath + // file name\n extraFields; // extra field\n return { fileHeader: fileHeader, folderHeader: folderHeader, content: convertedContent || '' };\n };\n ZipContainer.getConvertedContent = function (content, isBase64) {\n if (isBase64 === void 0) { isBase64 = false; }\n if (isBase64) {\n content = content.split(';base64,')[1];\n }\n content = isBase64 ? atob(content) : content;\n return {\n size: content.length,\n content: content\n };\n };\n ZipContainer.buildFolderEnd = function (tLen, cLen, lLen) {\n var decToHex = _.decToHex;\n return 'PK\\x05\\x06' + // central folder end\n '\\x00\\x00' +\n '\\x00\\x00' +\n decToHex(tLen, 2) + // total number of entries in the central folder\n decToHex(tLen, 2) + // total number of entries in the central folder\n decToHex(cLen, 4) + // size of the central folder\n decToHex(lLen, 4) + // central folder start offset\n '\\x00\\x00';\n };\n ZipContainer.buildUint8Array = function (content) {\n var uint8 = new Uint8Array(content.length);\n for (var i = 0; i < uint8.length; i++) {\n uint8[i] = content.charCodeAt(i);\n }\n return uint8;\n };\n ZipContainer.getFromCrc32Table = function (content) {\n if (!content.length) {\n return 0;\n }\n var size = content.length;\n var iterable = new Uint8Array(size);\n for (var i = 0; i < size; i++) {\n iterable[i] = content.charCodeAt(i);\n }\n var crc = 0 ^ (-1);\n var j = 0;\n var k = 0;\n var l = 0;\n for (var i = 0; i < size; i++) {\n j = iterable[i];\n k = (crc ^ j) & 0xFF;\n l = crcTable[k];\n crc = (crc >>> 8) ^ l;\n }\n return crc ^ (-1);\n };\n ZipContainer.convertTime = function (date) {\n var time = date.getHours();\n time <<= 6;\n time = time | date.getMinutes();\n time <<= 5;\n time = time | date.getSeconds() / 2;\n return time;\n };\n ZipContainer.convertDate = function (date) {\n var dt = date.getFullYear() - 1980;\n dt <<= 4;\n dt = dt | (date.getMonth() + 1);\n dt <<= 5;\n dt = dt | date.getDate();\n return dt;\n };\n ZipContainer.folders = [];\n ZipContainer.files = [];\n return ZipContainer;\n}());\n\nvar AllCommunityModules = [ClientSideRowModelModule, InfiniteRowModelModule, CsvExportModule];\n\nModuleRegistry.registerModules(AllCommunityModules);\n\nexport { AbstractHeaderCellCtrl, AgAbstractField, AgAngleSelect, AgCheckbox, AgColorPicker, AgDialog, AgGroupComponent, AgInputNumberField, AgInputRange, AgInputTextArea, AgInputTextField, AgMenuItemComponent, AgMenuList, AgMenuPanel, AgPanel, AgPromise, AgPromiseStatus, AgRadioButton, AgSelect, AgSlider, AgStackComponentsRegistry, AgToggleButton, AlignedGridsService, AllCommunityModules, AnimateShowChangeCellRenderer, AnimateSlideCellRenderer, AnimationFrameService, AutoScrollService, AutoWidthCalculator, Autowired, BarColumnLabelPlacement, BaseComponentWrapper, BaseCreator, BaseGridSerializingSession, Bean, BeanStub, Beans, BodyDropPivotTarget, BodyDropTarget, CHART_TOOLBAR_ALLOW_LIST, CHART_TOOL_PANEL_ALLOW_LIST, CHART_TOOL_PANEL_MENU_OPTIONS, CellComp, CellCtrl, CellNavigationService, CellPositionUtils, CellRangeType, ChangedPath, CheckboxSelectionComponent, ClientSideRowModelModule, ClientSideRowModelSteps, ColDefUtil, Color, Column, ColumnApi, ColumnFactory, ColumnGroup, ColumnKeyCreator, ColumnModel, ColumnUtils, Component, ComponentUtil, Constants, Context, CssClassApplier, CssClassManager, CsvCreator, CsvExportModule, CtrlsService, CustomTooltipFeature, DEFAULT_CHART_GROUPS, DateFilter, DisplayedGroupCreator, Downloader, DragAndDropService, DragService, DragSourceType, Environment, EventService, Events, ExcelFactoryMode, ExpressionService, FilterManager, FloatingFilterMapper, FocusService, Grid, GridApi, GridBodyComp, GridBodyCtrl, GridComp, GridCoreCreator, GridCtrl, GridHeaderComp, GridHeaderCtrl, GridOptionsWrapper, GridSerializer, GroupCellRenderer, GroupCellRendererCtrl, GroupInstanceIdCreator, HeaderCellCtrl, HeaderFilterCellComp, HeaderFilterCellCtrl, HeaderGroupCellCtrl, HeaderNavigationDirection, HeaderNavigationService, HeaderPositionUtils, HeaderRowComp, HeaderRowContainerComp, HeaderRowContainerCtrl, HeaderRowCtrl, HeaderRowType, HorizontalDirection, HorizontalResizeService, InfiniteRowModelModule, KeyCode, LargeTextCellEditor, LayoutCssClasses, Logger, LoggerFactory, ManagedFocusFeature, ModuleNames, ModuleRegistry, MouseEventService, MoveColumnFeature, NavigationService, NumberFilter, NumberSequence, Optional, PaginationProxy, PinnedRowModel, PopupComponent, PopupEditorWrapper, PopupSelectCellEditor, PopupService, PopupTextCellEditor, PositionableFeature, PostConstruct, PreConstruct, PreDestroy, PropertyKeys, ProvidedColumnGroup, ProvidedFilter, Qualifier, QuerySelector, RefSelector, ResizeObserverService, RowAnimationCssClasses, RowContainerComp, RowContainerCtrl, RowContainerName, RowContainerType, RowCtrl, RowHighlightPosition, RowNode, RowNodeBlock, RowNodeBlockLoader, RowNodeSorter, RowPositionUtils, RowRenderer, RowType, ScalarFilter, ScrollVisibleService, SelectCellEditor, SelectableService, SelectionHandleType, SelectionService, ServerSideTransactionResultStatus, SetLeftFeature, SimpleFilter, SortController, SortIndicatorComp, StandardMenuFactory, StylingService, TabGuardComp, TabGuardCtrl, TabbedLayout, TemplateService, TextCellEditor, TextFilter, TextFloatingFilter, Timer, TouchListener, UserComponentFactory, UserComponentRegistry, ValueCache, ValueFormatterService, ValueService, VanillaFrameworkOverrides, VerticalDirection, VirtualList, XmlFactory, ZipContainer, _, defaultGroupComparator, getRowContainerTypeForName, simpleHttpRequest, stringToArray };\n","/* FileSaver.js\n * A saveAs() FileSaver implementation.\n * 1.3.2\n * 2016-06-16 18:25:19\n *\n * By Eli Grey, http://eligrey.com\n * License: MIT\n * See https://github.com/eligrey/FileSaver.js/blob/master/LICENSE.md\n */\n\n/*global self */\n/*jslint bitwise: true, indent: 4, laxbreak: true, laxcomma: true, smarttabs: true, plusplus: true */\n\n/*! @source http://purl.eligrey.com/github/FileSaver.js/blob/master/FileSaver.js */\n\nvar saveAs = saveAs || (function(view) {\n\t\"use strict\";\n\t// IE <10 is explicitly unsupported\n\tif (typeof view === \"undefined\" || typeof navigator !== \"undefined\" && /MSIE [1-9]\\./.test(navigator.userAgent)) {\n\t\treturn;\n\t}\n\tvar\n\t\t doc = view.document\n\t\t // only get URL when necessary in case Blob.js hasn't overridden it yet\n\t\t, get_URL = function() {\n\t\t\treturn view.URL || view.webkitURL || view;\n\t\t}\n\t\t, save_link = doc.createElementNS(\"http://www.w3.org/1999/xhtml\", \"a\")\n\t\t, can_use_save_link = \"download\" in save_link\n\t\t, click = function(node) {\n\t\t\tvar event = new MouseEvent(\"click\");\n\t\t\tnode.dispatchEvent(event);\n\t\t}\n\t\t, is_safari = /constructor/i.test(view.HTMLElement) || view.safari\n\t\t, is_chrome_ios =/CriOS\\/[\\d]+/.test(navigator.userAgent)\n\t\t, throw_outside = function(ex) {\n\t\t\t(view.setImmediate || view.setTimeout)(function() {\n\t\t\t\tthrow ex;\n\t\t\t}, 0);\n\t\t}\n\t\t, force_saveable_type = \"application/octet-stream\"\n\t\t// the Blob API is fundamentally broken as there is no \"downloadfinished\" event to subscribe to\n\t\t, arbitrary_revoke_timeout = 1000 * 40 // in ms\n\t\t, revoke = function(file) {\n\t\t\tvar revoker = function() {\n\t\t\t\tif (typeof file === \"string\") { // file is an object URL\n\t\t\t\t\tget_URL().revokeObjectURL(file);\n\t\t\t\t} else { // file is a File\n\t\t\t\t\tfile.remove();\n\t\t\t\t}\n\t\t\t};\n\t\t\tsetTimeout(revoker, arbitrary_revoke_timeout);\n\t\t}\n\t\t, dispatch = function(filesaver, event_types, event) {\n\t\t\tevent_types = [].concat(event_types);\n\t\t\tvar i = event_types.length;\n\t\t\twhile (i--) {\n\t\t\t\tvar listener = filesaver[\"on\" + event_types[i]];\n\t\t\t\tif (typeof listener === \"function\") {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tlistener.call(filesaver, event || filesaver);\n\t\t\t\t\t} catch (ex) {\n\t\t\t\t\t\tthrow_outside(ex);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t, auto_bom = function(blob) {\n\t\t\t// prepend BOM for UTF-8 XML and text/* types (including HTML)\n\t\t\t// note: your browser will automatically convert UTF-16 U+FEFF to EF BB BF\n\t\t\tif (/^\\s*(?:text\\/\\S*|application\\/xml|\\S*\\/\\S*\\+xml)\\s*;.*charset\\s*=\\s*utf-8/i.test(blob.type)) {\n\t\t\t\treturn new Blob([String.fromCharCode(0xFEFF), blob], {type: blob.type});\n\t\t\t}\n\t\t\treturn blob;\n\t\t}\n\t\t, FileSaver = function(blob, name, no_auto_bom) {\n\t\t\tif (!no_auto_bom) {\n\t\t\t\tblob = auto_bom(blob);\n\t\t\t}\n\t\t\t// First try a.download, then web filesystem, then object URLs\n\t\t\tvar\n\t\t\t\t filesaver = this\n\t\t\t\t, type = blob.type\n\t\t\t\t, force = type === force_saveable_type\n\t\t\t\t, object_url\n\t\t\t\t, dispatch_all = function() {\n\t\t\t\t\tdispatch(filesaver, \"writestart progress write writeend\".split(\" \"));\n\t\t\t\t}\n\t\t\t\t// on any filesys errors revert to saving with object URLs\n\t\t\t\t, fs_error = function() {\n\t\t\t\t\tif ((is_chrome_ios || (force && is_safari)) && view.FileReader) {\n\t\t\t\t\t\t// Safari doesn't allow downloading of blob urls\n\t\t\t\t\t\tvar reader = new FileReader();\n\t\t\t\t\t\treader.onloadend = function() {\n\t\t\t\t\t\t\tvar url = is_chrome_ios ? reader.result : reader.result.replace(/^data:[^;]*;/, 'data:attachment/file;');\n\t\t\t\t\t\t\tvar popup = view.open(url, '_blank');\n\t\t\t\t\t\t\tif(!popup) view.location.href = url;\n\t\t\t\t\t\t\turl=undefined; // release reference before dispatching\n\t\t\t\t\t\t\tfilesaver.readyState = filesaver.DONE;\n\t\t\t\t\t\t\tdispatch_all();\n\t\t\t\t\t\t};\n\t\t\t\t\t\treader.readAsDataURL(blob);\n\t\t\t\t\t\tfilesaver.readyState = filesaver.INIT;\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\t// don't create more object URLs than needed\n\t\t\t\t\tif (!object_url) {\n\t\t\t\t\t\tobject_url = get_URL().createObjectURL(blob);\n\t\t\t\t\t}\n\t\t\t\t\tif (force) {\n\t\t\t\t\t\tview.location.href = object_url;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tvar opened = view.open(object_url, \"_blank\");\n\t\t\t\t\t\tif (!opened) {\n\t\t\t\t\t\t\t// Apple does not allow window.open, see https://developer.apple.com/library/safari/documentation/Tools/Conceptual/SafariExtensionGuide/WorkingwithWindowsandTabs/WorkingwithWindowsandTabs.html\n\t\t\t\t\t\t\tview.location.href = object_url;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tfilesaver.readyState = filesaver.DONE;\n\t\t\t\t\tdispatch_all();\n\t\t\t\t\trevoke(object_url);\n\t\t\t\t}\n\t\t\t;\n\t\t\tfilesaver.readyState = filesaver.INIT;\n\n\t\t\tif (can_use_save_link) {\n\t\t\t\tobject_url = get_URL().createObjectURL(blob);\n\t\t\t\tsetTimeout(function() {\n\t\t\t\t\tsave_link.href = object_url;\n\t\t\t\t\tsave_link.download = name;\n\t\t\t\t\tclick(save_link);\n\t\t\t\t\tdispatch_all();\n\t\t\t\t\trevoke(object_url);\n\t\t\t\t\tfilesaver.readyState = filesaver.DONE;\n\t\t\t\t});\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tfs_error();\n\t\t}\n\t\t, FS_proto = FileSaver.prototype\n\t\t, saveAs = function(blob, name, no_auto_bom) {\n\t\t\treturn new FileSaver(blob, name || blob.name || \"download\", no_auto_bom);\n\t\t}\n\t;\n\t// IE 10+ (native saveAs)\n\tif (typeof navigator !== \"undefined\" && navigator.msSaveOrOpenBlob) {\n\t\treturn function(blob, name, no_auto_bom) {\n\t\t\tname = name || blob.name || \"download\";\n\n\t\t\tif (!no_auto_bom) {\n\t\t\t\tblob = auto_bom(blob);\n\t\t\t}\n\t\t\treturn navigator.msSaveOrOpenBlob(blob, name);\n\t\t};\n\t}\n\n\tFS_proto.abort = function(){};\n\tFS_proto.readyState = FS_proto.INIT = 0;\n\tFS_proto.WRITING = 1;\n\tFS_proto.DONE = 2;\n\n\tFS_proto.error =\n\tFS_proto.onwritestart =\n\tFS_proto.onprogress =\n\tFS_proto.onwrite =\n\tFS_proto.onabort =\n\tFS_proto.onerror =\n\tFS_proto.onwriteend =\n\t\tnull;\n\n\treturn saveAs;\n}(\n\t typeof self !== \"undefined\" && self\n\t|| typeof window !== \"undefined\" && window\n\t|| this.content\n));\n// `self` is undefined in Firefox for Android content script context\n// while `this` is nsIContentFrameMessageManager\n// with an attribute `content` that corresponds to the window\n\nif (typeof module !== \"undefined\" && module.exports) {\n module.exports.saveAs = saveAs;\n} else if ((typeof define !== \"undefined\" && define !== null) && (define.amd !== null)) {\n define(\"FileSaver.js\", function() {\n return saveAs;\n });\n}\n","import { Subject } from './Subject';\nimport { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';\nexport class BehaviorSubject extends Subject {\n constructor(_value) {\n super();\n this._value = _value;\n }\n get value() {\n return this.getValue();\n }\n _subscribe(subscriber) {\n const subscription = super._subscribe(subscriber);\n if (subscription && !subscription.closed) {\n subscriber.next(this._value);\n }\n return subscription;\n }\n getValue() {\n if (this.hasError) {\n throw this.thrownError;\n }\n else if (this.closed) {\n throw new ObjectUnsubscribedError();\n }\n else {\n return this._value;\n }\n }\n next(value) {\n super.next(this._value = value);\n }\n}\n","import { Subscriber } from './Subscriber';\nexport class InnerSubscriber extends Subscriber {\n constructor(parent, outerValue, outerIndex) {\n super();\n this.parent = parent;\n this.outerValue = outerValue;\n this.outerIndex = outerIndex;\n this.index = 0;\n }\n _next(value) {\n this.parent.notifyNext(this.outerValue, value, this.outerIndex, this.index++, this);\n }\n _error(error) {\n this.parent.notifyError(error, this);\n this.unsubscribe();\n }\n _complete() {\n this.parent.notifyComplete(this);\n this.unsubscribe();\n }\n}\n","import { empty } from './observable/empty';\nimport { of } from './observable/of';\nimport { throwError } from './observable/throwError';\nexport var NotificationKind;\n(function (NotificationKind) {\n NotificationKind[\"NEXT\"] = \"N\";\n NotificationKind[\"ERROR\"] = \"E\";\n NotificationKind[\"COMPLETE\"] = \"C\";\n})(NotificationKind || (NotificationKind = {}));\nexport class Notification {\n constructor(kind, value, error) {\n this.kind = kind;\n this.value = value;\n this.error = error;\n this.hasValue = kind === 'N';\n }\n observe(observer) {\n switch (this.kind) {\n case 'N':\n return observer.next && observer.next(this.value);\n case 'E':\n return observer.error && observer.error(this.error);\n case 'C':\n return observer.complete && observer.complete();\n }\n }\n do(next, error, complete) {\n const kind = this.kind;\n switch (kind) {\n case 'N':\n return next && next(this.value);\n case 'E':\n return error && error(this.error);\n case 'C':\n return complete && complete();\n }\n }\n accept(nextOrObserver, error, complete) {\n if (nextOrObserver && typeof nextOrObserver.next === 'function') {\n return this.observe(nextOrObserver);\n }\n else {\n return this.do(nextOrObserver, error, complete);\n }\n }\n toObservable() {\n const kind = this.kind;\n switch (kind) {\n case 'N':\n return of(this.value);\n case 'E':\n return throwError(this.error);\n case 'C':\n return empty();\n }\n throw new Error('unexpected notification kind value');\n }\n static createNext(value) {\n if (typeof value !== 'undefined') {\n return new Notification('N', value);\n }\n return Notification.undefinedValueNotification;\n }\n static createError(err) {\n return new Notification('E', undefined, err);\n }\n static createComplete() {\n return Notification.completeNotification;\n }\n}\nNotification.completeNotification = new Notification('C');\nNotification.undefinedValueNotification = new Notification('N', undefined);\n","import { canReportError } from './util/canReportError';\nimport { toSubscriber } from './util/toSubscriber';\nimport { observable as Symbol_observable } from './symbol/observable';\nimport { pipeFromArray } from './util/pipe';\nimport { config } from './config';\nexport class Observable {\n constructor(subscribe) {\n this._isScalar = false;\n if (subscribe) {\n this._subscribe = subscribe;\n }\n }\n lift(operator) {\n const observable = new Observable();\n observable.source = this;\n observable.operator = operator;\n return observable;\n }\n subscribe(observerOrNext, error, complete) {\n const { operator } = this;\n const sink = toSubscriber(observerOrNext, error, complete);\n if (operator) {\n sink.add(operator.call(sink, this.source));\n }\n else {\n sink.add(this.source || (config.useDeprecatedSynchronousErrorHandling && !sink.syncErrorThrowable) ?\n this._subscribe(sink) :\n this._trySubscribe(sink));\n }\n if (config.useDeprecatedSynchronousErrorHandling) {\n if (sink.syncErrorThrowable) {\n sink.syncErrorThrowable = false;\n if (sink.syncErrorThrown) {\n throw sink.syncErrorValue;\n }\n }\n }\n return sink;\n }\n _trySubscribe(sink) {\n try {\n return this._subscribe(sink);\n }\n catch (err) {\n if (config.useDeprecatedSynchronousErrorHandling) {\n sink.syncErrorThrown = true;\n sink.syncErrorValue = err;\n }\n if (canReportError(sink)) {\n sink.error(err);\n }\n else {\n console.warn(err);\n }\n }\n }\n forEach(next, promiseCtor) {\n promiseCtor = getPromiseCtor(promiseCtor);\n return new promiseCtor((resolve, reject) => {\n let subscription;\n subscription = this.subscribe((value) => {\n try {\n next(value);\n }\n catch (err) {\n reject(err);\n if (subscription) {\n subscription.unsubscribe();\n }\n }\n }, reject, resolve);\n });\n }\n _subscribe(subscriber) {\n const { source } = this;\n return source && source.subscribe(subscriber);\n }\n [Symbol_observable]() {\n return this;\n }\n pipe(...operations) {\n if (operations.length === 0) {\n return this;\n }\n return pipeFromArray(operations)(this);\n }\n toPromise(promiseCtor) {\n promiseCtor = getPromiseCtor(promiseCtor);\n return new promiseCtor((resolve, reject) => {\n let value;\n this.subscribe((x) => value = x, (err) => reject(err), () => resolve(value));\n });\n }\n}\nObservable.create = (subscribe) => {\n return new Observable(subscribe);\n};\nfunction getPromiseCtor(promiseCtor) {\n if (!promiseCtor) {\n promiseCtor = config.Promise || Promise;\n }\n if (!promiseCtor) {\n throw new Error('no Promise impl found');\n }\n return promiseCtor;\n}\n","import { config } from './config';\nimport { hostReportError } from './util/hostReportError';\nexport const empty = {\n closed: true,\n next(value) { },\n error(err) {\n if (config.useDeprecatedSynchronousErrorHandling) {\n throw err;\n }\n else {\n hostReportError(err);\n }\n },\n complete() { }\n};\n","import { Subscriber } from './Subscriber';\nexport class OuterSubscriber extends Subscriber {\n notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n this.destination.next(innerValue);\n }\n notifyError(error, innerSub) {\n this.destination.error(error);\n }\n notifyComplete(innerSub) {\n this.destination.complete();\n }\n}\n","import { Subject } from './Subject';\nimport { queue } from './scheduler/queue';\nimport { Subscription } from './Subscription';\nimport { ObserveOnSubscriber } from './operators/observeOn';\nimport { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';\nimport { SubjectSubscription } from './SubjectSubscription';\nexport class ReplaySubject extends Subject {\n constructor(bufferSize = Number.POSITIVE_INFINITY, windowTime = Number.POSITIVE_INFINITY, scheduler) {\n super();\n this.scheduler = scheduler;\n this._events = [];\n this._infiniteTimeWindow = false;\n this._bufferSize = bufferSize < 1 ? 1 : bufferSize;\n this._windowTime = windowTime < 1 ? 1 : windowTime;\n if (windowTime === Number.POSITIVE_INFINITY) {\n this._infiniteTimeWindow = true;\n this.next = this.nextInfiniteTimeWindow;\n }\n else {\n this.next = this.nextTimeWindow;\n }\n }\n nextInfiniteTimeWindow(value) {\n if (!this.isStopped) {\n const _events = this._events;\n _events.push(value);\n if (_events.length > this._bufferSize) {\n _events.shift();\n }\n }\n super.next(value);\n }\n nextTimeWindow(value) {\n if (!this.isStopped) {\n this._events.push(new ReplayEvent(this._getNow(), value));\n this._trimBufferThenGetEvents();\n }\n super.next(value);\n }\n _subscribe(subscriber) {\n const _infiniteTimeWindow = this._infiniteTimeWindow;\n const _events = _infiniteTimeWindow ? this._events : this._trimBufferThenGetEvents();\n const scheduler = this.scheduler;\n const len = _events.length;\n let subscription;\n if (this.closed) {\n throw new ObjectUnsubscribedError();\n }\n else if (this.isStopped || this.hasError) {\n subscription = Subscription.EMPTY;\n }\n else {\n this.observers.push(subscriber);\n subscription = new SubjectSubscription(this, subscriber);\n }\n if (scheduler) {\n subscriber.add(subscriber = new ObserveOnSubscriber(subscriber, scheduler));\n }\n if (_infiniteTimeWindow) {\n for (let i = 0; i < len && !subscriber.closed; i++) {\n subscriber.next(_events[i]);\n }\n }\n else {\n for (let i = 0; i < len && !subscriber.closed; i++) {\n subscriber.next(_events[i].value);\n }\n }\n if (this.hasError) {\n subscriber.error(this.thrownError);\n }\n else if (this.isStopped) {\n subscriber.complete();\n }\n return subscription;\n }\n _getNow() {\n return (this.scheduler || queue).now();\n }\n _trimBufferThenGetEvents() {\n const now = this._getNow();\n const _bufferSize = this._bufferSize;\n const _windowTime = this._windowTime;\n const _events = this._events;\n const eventsCount = _events.length;\n let spliceCount = 0;\n while (spliceCount < eventsCount) {\n if ((now - _events[spliceCount].time) < _windowTime) {\n break;\n }\n spliceCount++;\n }\n if (eventsCount > _bufferSize) {\n spliceCount = Math.max(spliceCount, eventsCount - _bufferSize);\n }\n if (spliceCount > 0) {\n _events.splice(0, spliceCount);\n }\n return _events;\n }\n}\nclass ReplayEvent {\n constructor(time, value) {\n this.time = time;\n this.value = value;\n }\n}\n","export class Scheduler {\n constructor(SchedulerAction, now = Scheduler.now) {\n this.SchedulerAction = SchedulerAction;\n this.now = now;\n }\n schedule(work, delay = 0, state) {\n return new this.SchedulerAction(this, work).schedule(state, delay);\n }\n}\nScheduler.now = () => Date.now();\n","import { Observable } from './Observable';\nimport { Subscriber } from './Subscriber';\nimport { Subscription } from './Subscription';\nimport { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';\nimport { SubjectSubscription } from './SubjectSubscription';\nimport { rxSubscriber as rxSubscriberSymbol } from '../internal/symbol/rxSubscriber';\nexport class SubjectSubscriber extends Subscriber {\n constructor(destination) {\n super(destination);\n this.destination = destination;\n }\n}\nexport class Subject extends Observable {\n constructor() {\n super();\n this.observers = [];\n this.closed = false;\n this.isStopped = false;\n this.hasError = false;\n this.thrownError = null;\n }\n [rxSubscriberSymbol]() {\n return new SubjectSubscriber(this);\n }\n lift(operator) {\n const subject = new AnonymousSubject(this, this);\n subject.operator = operator;\n return subject;\n }\n next(value) {\n if (this.closed) {\n throw new ObjectUnsubscribedError();\n }\n if (!this.isStopped) {\n const { observers } = this;\n const len = observers.length;\n const copy = observers.slice();\n for (let i = 0; i < len; i++) {\n copy[i].next(value);\n }\n }\n }\n error(err) {\n if (this.closed) {\n throw new ObjectUnsubscribedError();\n }\n this.hasError = true;\n this.thrownError = err;\n this.isStopped = true;\n const { observers } = this;\n const len = observers.length;\n const copy = observers.slice();\n for (let i = 0; i < len; i++) {\n copy[i].error(err);\n }\n this.observers.length = 0;\n }\n complete() {\n if (this.closed) {\n throw new ObjectUnsubscribedError();\n }\n this.isStopped = true;\n const { observers } = this;\n const len = observers.length;\n const copy = observers.slice();\n for (let i = 0; i < len; i++) {\n copy[i].complete();\n }\n this.observers.length = 0;\n }\n unsubscribe() {\n this.isStopped = true;\n this.closed = true;\n this.observers = null;\n }\n _trySubscribe(subscriber) {\n if (this.closed) {\n throw new ObjectUnsubscribedError();\n }\n else {\n return super._trySubscribe(subscriber);\n }\n }\n _subscribe(subscriber) {\n if (this.closed) {\n throw new ObjectUnsubscribedError();\n }\n else if (this.hasError) {\n subscriber.error(this.thrownError);\n return Subscription.EMPTY;\n }\n else if (this.isStopped) {\n subscriber.complete();\n return Subscription.EMPTY;\n }\n else {\n this.observers.push(subscriber);\n return new SubjectSubscription(this, subscriber);\n }\n }\n asObservable() {\n const observable = new Observable();\n observable.source = this;\n return observable;\n }\n}\nSubject.create = (destination, source) => {\n return new AnonymousSubject(destination, source);\n};\nexport class AnonymousSubject extends Subject {\n constructor(destination, source) {\n super();\n this.destination = destination;\n this.source = source;\n }\n next(value) {\n const { destination } = this;\n if (destination && destination.next) {\n destination.next(value);\n }\n }\n error(err) {\n const { destination } = this;\n if (destination && destination.error) {\n this.destination.error(err);\n }\n }\n complete() {\n const { destination } = this;\n if (destination && destination.complete) {\n this.destination.complete();\n }\n }\n _subscribe(subscriber) {\n const { source } = this;\n if (source) {\n return this.source.subscribe(subscriber);\n }\n else {\n return Subscription.EMPTY;\n }\n }\n}\n","import { Subscription } from './Subscription';\nexport class SubjectSubscription extends Subscription {\n constructor(subject, subscriber) {\n super();\n this.subject = subject;\n this.subscriber = subscriber;\n this.closed = false;\n }\n unsubscribe() {\n if (this.closed) {\n return;\n }\n this.closed = true;\n const subject = this.subject;\n const observers = subject.observers;\n this.subject = null;\n if (!observers || observers.length === 0 || subject.isStopped || subject.closed) {\n return;\n }\n const subscriberIndex = observers.indexOf(this.subscriber);\n if (subscriberIndex !== -1) {\n observers.splice(subscriberIndex, 1);\n }\n }\n}\n","import { isFunction } from './util/isFunction';\nimport { empty as emptyObserver } from './Observer';\nimport { Subscription } from './Subscription';\nimport { rxSubscriber as rxSubscriberSymbol } from '../internal/symbol/rxSubscriber';\nimport { config } from './config';\nimport { hostReportError } from './util/hostReportError';\nexport class Subscriber extends Subscription {\n constructor(destinationOrNext, error, complete) {\n super();\n this.syncErrorValue = null;\n this.syncErrorThrown = false;\n this.syncErrorThrowable = false;\n this.isStopped = false;\n switch (arguments.length) {\n case 0:\n this.destination = emptyObserver;\n break;\n case 1:\n if (!destinationOrNext) {\n this.destination = emptyObserver;\n break;\n }\n if (typeof destinationOrNext === 'object') {\n if (destinationOrNext instanceof Subscriber) {\n this.syncErrorThrowable = destinationOrNext.syncErrorThrowable;\n this.destination = destinationOrNext;\n destinationOrNext.add(this);\n }\n else {\n this.syncErrorThrowable = true;\n this.destination = new SafeSubscriber(this, destinationOrNext);\n }\n break;\n }\n default:\n this.syncErrorThrowable = true;\n this.destination = new SafeSubscriber(this, destinationOrNext, error, complete);\n break;\n }\n }\n [rxSubscriberSymbol]() { return this; }\n static create(next, error, complete) {\n const subscriber = new Subscriber(next, error, complete);\n subscriber.syncErrorThrowable = false;\n return subscriber;\n }\n next(value) {\n if (!this.isStopped) {\n this._next(value);\n }\n }\n error(err) {\n if (!this.isStopped) {\n this.isStopped = true;\n this._error(err);\n }\n }\n complete() {\n if (!this.isStopped) {\n this.isStopped = true;\n this._complete();\n }\n }\n unsubscribe() {\n if (this.closed) {\n return;\n }\n this.isStopped = true;\n super.unsubscribe();\n }\n _next(value) {\n this.destination.next(value);\n }\n _error(err) {\n this.destination.error(err);\n this.unsubscribe();\n }\n _complete() {\n this.destination.complete();\n this.unsubscribe();\n }\n _unsubscribeAndRecycle() {\n const { _parentOrParents } = this;\n this._parentOrParents = null;\n this.unsubscribe();\n this.closed = false;\n this.isStopped = false;\n this._parentOrParents = _parentOrParents;\n return this;\n }\n}\nexport class SafeSubscriber extends Subscriber {\n constructor(_parentSubscriber, observerOrNext, error, complete) {\n super();\n this._parentSubscriber = _parentSubscriber;\n let next;\n let context = this;\n if (isFunction(observerOrNext)) {\n next = observerOrNext;\n }\n else if (observerOrNext) {\n next = observerOrNext.next;\n error = observerOrNext.error;\n complete = observerOrNext.complete;\n if (observerOrNext !== emptyObserver) {\n context = Object.create(observerOrNext);\n if (isFunction(context.unsubscribe)) {\n this.add(context.unsubscribe.bind(context));\n }\n context.unsubscribe = this.unsubscribe.bind(this);\n }\n }\n this._context = context;\n this._next = next;\n this._error = error;\n this._complete = complete;\n }\n next(value) {\n if (!this.isStopped && this._next) {\n const { _parentSubscriber } = this;\n if (!config.useDeprecatedSynchronousErrorHandling || !_parentSubscriber.syncErrorThrowable) {\n this.__tryOrUnsub(this._next, value);\n }\n else if (this.__tryOrSetError(_parentSubscriber, this._next, value)) {\n this.unsubscribe();\n }\n }\n }\n error(err) {\n if (!this.isStopped) {\n const { _parentSubscriber } = this;\n const { useDeprecatedSynchronousErrorHandling } = config;\n if (this._error) {\n if (!useDeprecatedSynchronousErrorHandling || !_parentSubscriber.syncErrorThrowable) {\n this.__tryOrUnsub(this._error, err);\n this.unsubscribe();\n }\n else {\n this.__tryOrSetError(_parentSubscriber, this._error, err);\n this.unsubscribe();\n }\n }\n else if (!_parentSubscriber.syncErrorThrowable) {\n this.unsubscribe();\n if (useDeprecatedSynchronousErrorHandling) {\n throw err;\n }\n hostReportError(err);\n }\n else {\n if (useDeprecatedSynchronousErrorHandling) {\n _parentSubscriber.syncErrorValue = err;\n _parentSubscriber.syncErrorThrown = true;\n }\n else {\n hostReportError(err);\n }\n this.unsubscribe();\n }\n }\n }\n complete() {\n if (!this.isStopped) {\n const { _parentSubscriber } = this;\n if (this._complete) {\n const wrappedComplete = () => this._complete.call(this._context);\n if (!config.useDeprecatedSynchronousErrorHandling || !_parentSubscriber.syncErrorThrowable) {\n this.__tryOrUnsub(wrappedComplete);\n this.unsubscribe();\n }\n else {\n this.__tryOrSetError(_parentSubscriber, wrappedComplete);\n this.unsubscribe();\n }\n }\n else {\n this.unsubscribe();\n }\n }\n }\n __tryOrUnsub(fn, value) {\n try {\n fn.call(this._context, value);\n }\n catch (err) {\n this.unsubscribe();\n if (config.useDeprecatedSynchronousErrorHandling) {\n throw err;\n }\n else {\n hostReportError(err);\n }\n }\n }\n __tryOrSetError(parent, fn, value) {\n if (!config.useDeprecatedSynchronousErrorHandling) {\n throw new Error('bad call');\n }\n try {\n fn.call(this._context, value);\n }\n catch (err) {\n if (config.useDeprecatedSynchronousErrorHandling) {\n parent.syncErrorValue = err;\n parent.syncErrorThrown = true;\n return true;\n }\n else {\n hostReportError(err);\n return true;\n }\n }\n return false;\n }\n _unsubscribe() {\n const { _parentSubscriber } = this;\n this._context = null;\n this._parentSubscriber = null;\n _parentSubscriber.unsubscribe();\n }\n}\n","import { isArray } from './util/isArray';\nimport { isObject } from './util/isObject';\nimport { isFunction } from './util/isFunction';\nimport { UnsubscriptionError } from './util/UnsubscriptionError';\nexport class Subscription {\n constructor(unsubscribe) {\n this.closed = false;\n this._parentOrParents = null;\n this._subscriptions = null;\n if (unsubscribe) {\n this._ctorUnsubscribe = true;\n this._unsubscribe = unsubscribe;\n }\n }\n unsubscribe() {\n let errors;\n if (this.closed) {\n return;\n }\n let { _parentOrParents, _ctorUnsubscribe, _unsubscribe, _subscriptions } = this;\n this.closed = true;\n this._parentOrParents = null;\n this._subscriptions = null;\n if (_parentOrParents instanceof Subscription) {\n _parentOrParents.remove(this);\n }\n else if (_parentOrParents !== null) {\n for (let index = 0; index < _parentOrParents.length; ++index) {\n const parent = _parentOrParents[index];\n parent.remove(this);\n }\n }\n if (isFunction(_unsubscribe)) {\n if (_ctorUnsubscribe) {\n this._unsubscribe = undefined;\n }\n try {\n _unsubscribe.call(this);\n }\n catch (e) {\n errors = e instanceof UnsubscriptionError ? flattenUnsubscriptionErrors(e.errors) : [e];\n }\n }\n if (isArray(_subscriptions)) {\n let index = -1;\n let len = _subscriptions.length;\n while (++index < len) {\n const sub = _subscriptions[index];\n if (isObject(sub)) {\n try {\n sub.unsubscribe();\n }\n catch (e) {\n errors = errors || [];\n if (e instanceof UnsubscriptionError) {\n errors = errors.concat(flattenUnsubscriptionErrors(e.errors));\n }\n else {\n errors.push(e);\n }\n }\n }\n }\n }\n if (errors) {\n throw new UnsubscriptionError(errors);\n }\n }\n add(teardown) {\n let subscription = teardown;\n if (!teardown) {\n return Subscription.EMPTY;\n }\n switch (typeof teardown) {\n case 'function':\n subscription = new Subscription(teardown);\n case 'object':\n if (subscription === this || subscription.closed || typeof subscription.unsubscribe !== 'function') {\n return subscription;\n }\n else if (this.closed) {\n subscription.unsubscribe();\n return subscription;\n }\n else if (!(subscription instanceof Subscription)) {\n const tmp = subscription;\n subscription = new Subscription();\n subscription._subscriptions = [tmp];\n }\n break;\n default: {\n throw new Error('unrecognized teardown ' + teardown + ' added to Subscription.');\n }\n }\n let { _parentOrParents } = subscription;\n if (_parentOrParents === null) {\n subscription._parentOrParents = this;\n }\n else if (_parentOrParents instanceof Subscription) {\n if (_parentOrParents === this) {\n return subscription;\n }\n subscription._parentOrParents = [_parentOrParents, this];\n }\n else if (_parentOrParents.indexOf(this) === -1) {\n _parentOrParents.push(this);\n }\n else {\n return subscription;\n }\n const subscriptions = this._subscriptions;\n if (subscriptions === null) {\n this._subscriptions = [subscription];\n }\n else {\n subscriptions.push(subscription);\n }\n return subscription;\n }\n remove(subscription) {\n const subscriptions = this._subscriptions;\n if (subscriptions) {\n const subscriptionIndex = subscriptions.indexOf(subscription);\n if (subscriptionIndex !== -1) {\n subscriptions.splice(subscriptionIndex, 1);\n }\n }\n }\n}\nSubscription.EMPTY = (function (empty) {\n empty.closed = true;\n return empty;\n}(new Subscription()));\nfunction flattenUnsubscriptionErrors(errors) {\n return errors.reduce((errs, err) => errs.concat((err instanceof UnsubscriptionError) ? err.errors : err), []);\n}\n","let _enable_super_gross_mode_that_will_cause_bad_things = false;\nexport const config = {\n Promise: undefined,\n set useDeprecatedSynchronousErrorHandling(value) {\n if (value) {\n const error = new Error();\n console.warn('DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \\n' + error.stack);\n }\n else if (_enable_super_gross_mode_that_will_cause_bad_things) {\n console.log('RxJS: Back to a better error behavior. Thank you. <3');\n }\n _enable_super_gross_mode_that_will_cause_bad_things = value;\n },\n get useDeprecatedSynchronousErrorHandling() {\n return _enable_super_gross_mode_that_will_cause_bad_things;\n },\n};\n","import { Subscriber } from './Subscriber';\nimport { Observable } from './Observable';\nimport { subscribeTo } from './util/subscribeTo';\nexport class SimpleInnerSubscriber extends Subscriber {\n constructor(parent) {\n super();\n this.parent = parent;\n }\n _next(value) {\n this.parent.notifyNext(value);\n }\n _error(error) {\n this.parent.notifyError(error);\n this.unsubscribe();\n }\n _complete() {\n this.parent.notifyComplete();\n this.unsubscribe();\n }\n}\nexport class ComplexInnerSubscriber extends Subscriber {\n constructor(parent, outerValue, outerIndex) {\n super();\n this.parent = parent;\n this.outerValue = outerValue;\n this.outerIndex = outerIndex;\n }\n _next(value) {\n this.parent.notifyNext(this.outerValue, value, this.outerIndex, this);\n }\n _error(error) {\n this.parent.notifyError(error);\n this.unsubscribe();\n }\n _complete() {\n this.parent.notifyComplete(this);\n this.unsubscribe();\n }\n}\nexport class SimpleOuterSubscriber extends Subscriber {\n notifyNext(innerValue) {\n this.destination.next(innerValue);\n }\n notifyError(err) {\n this.destination.error(err);\n }\n notifyComplete() {\n this.destination.complete();\n }\n}\nexport class ComplexOuterSubscriber extends Subscriber {\n notifyNext(_outerValue, innerValue, _outerIndex, _innerSub) {\n this.destination.next(innerValue);\n }\n notifyError(error) {\n this.destination.error(error);\n }\n notifyComplete(_innerSub) {\n this.destination.complete();\n }\n}\nexport function innerSubscribe(result, innerSubscriber) {\n if (innerSubscriber.closed) {\n return undefined;\n }\n if (result instanceof Observable) {\n return result.subscribe(innerSubscriber);\n }\n return subscribeTo(result)(innerSubscriber);\n}\n","import { SubjectSubscriber } from '../Subject';\nimport { Observable } from '../Observable';\nimport { Subscriber } from '../Subscriber';\nimport { Subscription } from '../Subscription';\nimport { refCount as higherOrderRefCount } from '../operators/refCount';\nexport class ConnectableObservable extends Observable {\n constructor(source, subjectFactory) {\n super();\n this.source = source;\n this.subjectFactory = subjectFactory;\n this._refCount = 0;\n this._isComplete = false;\n }\n _subscribe(subscriber) {\n return this.getSubject().subscribe(subscriber);\n }\n getSubject() {\n const subject = this._subject;\n if (!subject || subject.isStopped) {\n this._subject = this.subjectFactory();\n }\n return this._subject;\n }\n connect() {\n let connection = this._connection;\n if (!connection) {\n this._isComplete = false;\n connection = this._connection = new Subscription();\n connection.add(this.source\n .subscribe(new ConnectableSubscriber(this.getSubject(), this)));\n if (connection.closed) {\n this._connection = null;\n connection = Subscription.EMPTY;\n }\n }\n return connection;\n }\n refCount() {\n return higherOrderRefCount()(this);\n }\n}\nexport const connectableObservableDescriptor = (() => {\n const connectableProto = ConnectableObservable.prototype;\n return {\n operator: { value: null },\n _refCount: { value: 0, writable: true },\n _subject: { value: null, writable: true },\n _connection: { value: null, writable: true },\n _subscribe: { value: connectableProto._subscribe },\n _isComplete: { value: connectableProto._isComplete, writable: true },\n getSubject: { value: connectableProto.getSubject },\n connect: { value: connectableProto.connect },\n refCount: { value: connectableProto.refCount }\n };\n})();\nclass ConnectableSubscriber extends SubjectSubscriber {\n constructor(destination, connectable) {\n super(destination);\n this.connectable = connectable;\n }\n _error(err) {\n this._unsubscribe();\n super._error(err);\n }\n _complete() {\n this.connectable._isComplete = true;\n this._unsubscribe();\n super._complete();\n }\n _unsubscribe() {\n const connectable = this.connectable;\n if (connectable) {\n this.connectable = null;\n const connection = connectable._connection;\n connectable._refCount = 0;\n connectable._subject = null;\n connectable._connection = null;\n if (connection) {\n connection.unsubscribe();\n }\n }\n }\n}\nclass RefCountOperator {\n constructor(connectable) {\n this.connectable = connectable;\n }\n call(subscriber, source) {\n const { connectable } = this;\n connectable._refCount++;\n const refCounter = new RefCountSubscriber(subscriber, connectable);\n const subscription = source.subscribe(refCounter);\n if (!refCounter.closed) {\n refCounter.connection = connectable.connect();\n }\n return subscription;\n }\n}\nclass RefCountSubscriber extends Subscriber {\n constructor(destination, connectable) {\n super(destination);\n this.connectable = connectable;\n }\n _unsubscribe() {\n const { connectable } = this;\n if (!connectable) {\n this.connection = null;\n return;\n }\n this.connectable = null;\n const refCount = connectable._refCount;\n if (refCount <= 0) {\n this.connection = null;\n return;\n }\n connectable._refCount = refCount - 1;\n if (refCount > 1) {\n this.connection = null;\n return;\n }\n const { connection } = this;\n const sharedConnection = connectable._connection;\n this.connection = null;\n if (sharedConnection && (!connection || sharedConnection === connection)) {\n sharedConnection.unsubscribe();\n }\n }\n}\n","import { isScheduler } from '../util/isScheduler';\nimport { isArray } from '../util/isArray';\nimport { OuterSubscriber } from '../OuterSubscriber';\nimport { subscribeToResult } from '../util/subscribeToResult';\nimport { fromArray } from './fromArray';\nconst NONE = {};\nexport function combineLatest(...observables) {\n let resultSelector = undefined;\n let scheduler = undefined;\n if (isScheduler(observables[observables.length - 1])) {\n scheduler = observables.pop();\n }\n if (typeof observables[observables.length - 1] === 'function') {\n resultSelector = observables.pop();\n }\n if (observables.length === 1 && isArray(observables[0])) {\n observables = observables[0];\n }\n return fromArray(observables, scheduler).lift(new CombineLatestOperator(resultSelector));\n}\nexport class CombineLatestOperator {\n constructor(resultSelector) {\n this.resultSelector = resultSelector;\n }\n call(subscriber, source) {\n return source.subscribe(new CombineLatestSubscriber(subscriber, this.resultSelector));\n }\n}\nexport class CombineLatestSubscriber extends OuterSubscriber {\n constructor(destination, resultSelector) {\n super(destination);\n this.resultSelector = resultSelector;\n this.active = 0;\n this.values = [];\n this.observables = [];\n }\n _next(observable) {\n this.values.push(NONE);\n this.observables.push(observable);\n }\n _complete() {\n const observables = this.observables;\n const len = observables.length;\n if (len === 0) {\n this.destination.complete();\n }\n else {\n this.active = len;\n this.toRespond = len;\n for (let i = 0; i < len; i++) {\n const observable = observables[i];\n this.add(subscribeToResult(this, observable, undefined, i));\n }\n }\n }\n notifyComplete(unused) {\n if ((this.active -= 1) === 0) {\n this.destination.complete();\n }\n }\n notifyNext(_outerValue, innerValue, outerIndex) {\n const values = this.values;\n const oldVal = values[outerIndex];\n const toRespond = !this.toRespond\n ? 0\n : oldVal === NONE ? --this.toRespond : this.toRespond;\n values[outerIndex] = innerValue;\n if (toRespond === 0) {\n if (this.resultSelector) {\n this._tryResultSelector(values);\n }\n else {\n this.destination.next(values.slice());\n }\n }\n }\n _tryResultSelector(values) {\n let result;\n try {\n result = this.resultSelector.apply(this, values);\n }\n catch (err) {\n this.destination.error(err);\n return;\n }\n this.destination.next(result);\n }\n}\n","import { of } from './of';\nimport { concatAll } from '../operators/concatAll';\nexport function concat(...observables) {\n return concatAll()(of(...observables));\n}\n","import { Observable } from '../Observable';\nimport { from } from './from';\nimport { empty } from './empty';\nexport function defer(observableFactory) {\n return new Observable(subscriber => {\n let input;\n try {\n input = observableFactory();\n }\n catch (err) {\n subscriber.error(err);\n return undefined;\n }\n const source = input ? from(input) : empty();\n return source.subscribe(subscriber);\n });\n}\n","import { Observable } from '../Observable';\nexport const EMPTY = new Observable(subscriber => subscriber.complete());\nexport function empty(scheduler) {\n return scheduler ? emptyScheduled(scheduler) : EMPTY;\n}\nfunction emptyScheduled(scheduler) {\n return new Observable(subscriber => scheduler.schedule(() => subscriber.complete()));\n}\n","import { Observable } from '../Observable';\nimport { isArray } from '../util/isArray';\nimport { map } from '../operators/map';\nimport { isObject } from '../util/isObject';\nimport { from } from './from';\nexport function forkJoin(...sources) {\n if (sources.length === 1) {\n const first = sources[0];\n if (isArray(first)) {\n return forkJoinInternal(first, null);\n }\n if (isObject(first) && Object.getPrototypeOf(first) === Object.prototype) {\n const keys = Object.keys(first);\n return forkJoinInternal(keys.map(key => first[key]), keys);\n }\n }\n if (typeof sources[sources.length - 1] === 'function') {\n const resultSelector = sources.pop();\n sources = (sources.length === 1 && isArray(sources[0])) ? sources[0] : sources;\n return forkJoinInternal(sources, null).pipe(map((args) => resultSelector(...args)));\n }\n return forkJoinInternal(sources, null);\n}\nfunction forkJoinInternal(sources, keys) {\n return new Observable(subscriber => {\n const len = sources.length;\n if (len === 0) {\n subscriber.complete();\n return;\n }\n const values = new Array(len);\n let completed = 0;\n let emitted = 0;\n for (let i = 0; i < len; i++) {\n const source = from(sources[i]);\n let hasValue = false;\n subscriber.add(source.subscribe({\n next: value => {\n if (!hasValue) {\n hasValue = true;\n emitted++;\n }\n values[i] = value;\n },\n error: err => subscriber.error(err),\n complete: () => {\n completed++;\n if (completed === len || !hasValue) {\n if (emitted === len) {\n subscriber.next(keys ?\n keys.reduce((result, key, i) => (result[key] = values[i], result), {}) :\n values);\n }\n subscriber.complete();\n }\n }\n }));\n }\n });\n}\n","import { Observable } from '../Observable';\nimport { subscribeTo } from '../util/subscribeTo';\nimport { scheduled } from '../scheduled/scheduled';\nexport function from(input, scheduler) {\n if (!scheduler) {\n if (input instanceof Observable) {\n return input;\n }\n return new Observable(subscribeTo(input));\n }\n else {\n return scheduled(input, scheduler);\n }\n}\n","import { Observable } from '../Observable';\nimport { subscribeToArray } from '../util/subscribeToArray';\nimport { scheduleArray } from '../scheduled/scheduleArray';\nexport function fromArray(input, scheduler) {\n if (!scheduler) {\n return new Observable(subscribeToArray(input));\n }\n else {\n return scheduleArray(input, scheduler);\n }\n}\n","import { Observable } from '../Observable';\nimport { async } from '../scheduler/async';\nimport { isNumeric } from '../util/isNumeric';\nexport function interval(period = 0, scheduler = async) {\n if (!isNumeric(period) || period < 0) {\n period = 0;\n }\n if (!scheduler || typeof scheduler.schedule !== 'function') {\n scheduler = async;\n }\n return new Observable(subscriber => {\n subscriber.add(scheduler.schedule(dispatch, period, { subscriber, counter: 0, period }));\n return subscriber;\n });\n}\nfunction dispatch(state) {\n const { subscriber, counter, period } = state;\n subscriber.next(counter);\n this.schedule({ subscriber, counter: counter + 1, period }, period);\n}\n","import { Observable } from '../Observable';\nimport { isScheduler } from '../util/isScheduler';\nimport { mergeAll } from '../operators/mergeAll';\nimport { fromArray } from './fromArray';\nexport function merge(...observables) {\n let concurrent = Number.POSITIVE_INFINITY;\n let scheduler = null;\n let last = observables[observables.length - 1];\n if (isScheduler(last)) {\n scheduler = observables.pop();\n if (observables.length > 1 && typeof observables[observables.length - 1] === 'number') {\n concurrent = observables.pop();\n }\n }\n else if (typeof last === 'number') {\n concurrent = observables.pop();\n }\n if (scheduler === null && observables.length === 1 && observables[0] instanceof Observable) {\n return observables[0];\n }\n return mergeAll(concurrent)(fromArray(observables, scheduler));\n}\n","import { isScheduler } from '../util/isScheduler';\nimport { fromArray } from './fromArray';\nimport { scheduleArray } from '../scheduled/scheduleArray';\nexport function of(...args) {\n let scheduler = args[args.length - 1];\n if (isScheduler(scheduler)) {\n args.pop();\n return scheduleArray(args, scheduler);\n }\n else {\n return fromArray(args);\n }\n}\n","import { Observable } from '../Observable';\nexport function throwError(error, scheduler) {\n if (!scheduler) {\n return new Observable(subscriber => subscriber.error(error));\n }\n else {\n return new Observable(subscriber => scheduler.schedule(dispatch, 0, { error, subscriber }));\n }\n}\nfunction dispatch({ error, subscriber }) {\n subscriber.error(error);\n}\n","import { SimpleOuterSubscriber, SimpleInnerSubscriber, innerSubscribe } from '../innerSubscribe';\nexport function catchError(selector) {\n return function catchErrorOperatorFunction(source) {\n const operator = new CatchOperator(selector);\n const caught = source.lift(operator);\n return (operator.caught = caught);\n };\n}\nclass CatchOperator {\n constructor(selector) {\n this.selector = selector;\n }\n call(subscriber, source) {\n return source.subscribe(new CatchSubscriber(subscriber, this.selector, this.caught));\n }\n}\nclass CatchSubscriber extends SimpleOuterSubscriber {\n constructor(destination, selector, caught) {\n super(destination);\n this.selector = selector;\n this.caught = caught;\n }\n error(err) {\n if (!this.isStopped) {\n let result;\n try {\n result = this.selector(err, this.caught);\n }\n catch (err2) {\n super.error(err2);\n return;\n }\n this._unsubscribeAndRecycle();\n const innerSubscriber = new SimpleInnerSubscriber(this);\n this.add(innerSubscriber);\n const innerSubscription = innerSubscribe(result, innerSubscriber);\n if (innerSubscription !== innerSubscriber) {\n this.add(innerSubscription);\n }\n }\n }\n}\n","import { mergeAll } from './mergeAll';\nexport function concatAll() {\n return mergeAll(1);\n}\n","import { mergeMap } from './mergeMap';\nexport function concatMap(project, resultSelector) {\n return mergeMap(project, resultSelector, 1);\n}\n","import { Subscriber } from '../Subscriber';\nimport { async } from '../scheduler/async';\nexport function debounceTime(dueTime, scheduler = async) {\n return (source) => source.lift(new DebounceTimeOperator(dueTime, scheduler));\n}\nclass DebounceTimeOperator {\n constructor(dueTime, scheduler) {\n this.dueTime = dueTime;\n this.scheduler = scheduler;\n }\n call(subscriber, source) {\n return source.subscribe(new DebounceTimeSubscriber(subscriber, this.dueTime, this.scheduler));\n }\n}\nclass DebounceTimeSubscriber extends Subscriber {\n constructor(destination, dueTime, scheduler) {\n super(destination);\n this.dueTime = dueTime;\n this.scheduler = scheduler;\n this.debouncedSubscription = null;\n this.lastValue = null;\n this.hasValue = false;\n }\n _next(value) {\n this.clearDebounce();\n this.lastValue = value;\n this.hasValue = true;\n this.add(this.debouncedSubscription = this.scheduler.schedule(dispatchNext, this.dueTime, this));\n }\n _complete() {\n this.debouncedNext();\n this.destination.complete();\n }\n debouncedNext() {\n this.clearDebounce();\n if (this.hasValue) {\n const { lastValue } = this;\n this.lastValue = null;\n this.hasValue = false;\n this.destination.next(lastValue);\n }\n }\n clearDebounce() {\n const debouncedSubscription = this.debouncedSubscription;\n if (debouncedSubscription !== null) {\n this.remove(debouncedSubscription);\n debouncedSubscription.unsubscribe();\n this.debouncedSubscription = null;\n }\n }\n}\nfunction dispatchNext(subscriber) {\n subscriber.debouncedNext();\n}\n","import { Subscriber } from '../Subscriber';\nexport function defaultIfEmpty(defaultValue = null) {\n return (source) => source.lift(new DefaultIfEmptyOperator(defaultValue));\n}\nclass DefaultIfEmptyOperator {\n constructor(defaultValue) {\n this.defaultValue = defaultValue;\n }\n call(subscriber, source) {\n return source.subscribe(new DefaultIfEmptySubscriber(subscriber, this.defaultValue));\n }\n}\nclass DefaultIfEmptySubscriber extends Subscriber {\n constructor(destination, defaultValue) {\n super(destination);\n this.defaultValue = defaultValue;\n this.isEmpty = true;\n }\n _next(value) {\n this.isEmpty = false;\n this.destination.next(value);\n }\n _complete() {\n if (this.isEmpty) {\n this.destination.next(this.defaultValue);\n }\n this.destination.complete();\n }\n}\n","import { Subscriber } from '../Subscriber';\nexport function dematerialize() {\n return function dematerializeOperatorFunction(source) {\n return source.lift(new DeMaterializeOperator());\n };\n}\nclass DeMaterializeOperator {\n call(subscriber, source) {\n return source.subscribe(new DeMaterializeSubscriber(subscriber));\n }\n}\nclass DeMaterializeSubscriber extends Subscriber {\n constructor(destination) {\n super(destination);\n }\n _next(value) {\n value.observe(this.destination);\n }\n}\n","import { Subscriber } from '../Subscriber';\nexport function distinctUntilChanged(compare, keySelector) {\n return (source) => source.lift(new DistinctUntilChangedOperator(compare, keySelector));\n}\nclass DistinctUntilChangedOperator {\n constructor(compare, keySelector) {\n this.compare = compare;\n this.keySelector = keySelector;\n }\n call(subscriber, source) {\n return source.subscribe(new DistinctUntilChangedSubscriber(subscriber, this.compare, this.keySelector));\n }\n}\nclass DistinctUntilChangedSubscriber extends Subscriber {\n constructor(destination, compare, keySelector) {\n super(destination);\n this.keySelector = keySelector;\n this.hasKey = false;\n if (typeof compare === 'function') {\n this.compare = compare;\n }\n }\n compare(x, y) {\n return x === y;\n }\n _next(value) {\n let key;\n try {\n const { keySelector } = this;\n key = keySelector ? keySelector(value) : value;\n }\n catch (err) {\n return this.destination.error(err);\n }\n let result = false;\n if (this.hasKey) {\n try {\n const { compare } = this;\n result = compare(this.key, key);\n }\n catch (err) {\n return this.destination.error(err);\n }\n }\n else {\n this.hasKey = true;\n }\n if (!result) {\n this.key = key;\n this.destination.next(value);\n }\n }\n}\n","import { map } from './map';\nimport { from } from '../observable/from';\nimport { SimpleOuterSubscriber, SimpleInnerSubscriber, innerSubscribe } from '../innerSubscribe';\nexport function exhaustMap(project, resultSelector) {\n if (resultSelector) {\n return (source) => source.pipe(exhaustMap((a, i) => from(project(a, i)).pipe(map((b, ii) => resultSelector(a, b, i, ii)))));\n }\n return (source) => source.lift(new ExhaustMapOperator(project));\n}\nclass ExhaustMapOperator {\n constructor(project) {\n this.project = project;\n }\n call(subscriber, source) {\n return source.subscribe(new ExhaustMapSubscriber(subscriber, this.project));\n }\n}\nclass ExhaustMapSubscriber extends SimpleOuterSubscriber {\n constructor(destination, project) {\n super(destination);\n this.project = project;\n this.hasSubscription = false;\n this.hasCompleted = false;\n this.index = 0;\n }\n _next(value) {\n if (!this.hasSubscription) {\n this.tryNext(value);\n }\n }\n tryNext(value) {\n let result;\n const index = this.index++;\n try {\n result = this.project(value, index);\n }\n catch (err) {\n this.destination.error(err);\n return;\n }\n this.hasSubscription = true;\n this._innerSub(result);\n }\n _innerSub(result) {\n const innerSubscriber = new SimpleInnerSubscriber(this);\n const destination = this.destination;\n destination.add(innerSubscriber);\n const innerSubscription = innerSubscribe(result, innerSubscriber);\n if (innerSubscription !== innerSubscriber) {\n destination.add(innerSubscription);\n }\n }\n _complete() {\n this.hasCompleted = true;\n if (!this.hasSubscription) {\n this.destination.complete();\n }\n this.unsubscribe();\n }\n notifyNext(innerValue) {\n this.destination.next(innerValue);\n }\n notifyError(err) {\n this.destination.error(err);\n }\n notifyComplete() {\n this.hasSubscription = false;\n if (this.hasCompleted) {\n this.destination.complete();\n }\n }\n}\n","import { Subscriber } from '../Subscriber';\nexport function filter(predicate, thisArg) {\n return function filterOperatorFunction(source) {\n return source.lift(new FilterOperator(predicate, thisArg));\n };\n}\nclass FilterOperator {\n constructor(predicate, thisArg) {\n this.predicate = predicate;\n this.thisArg = thisArg;\n }\n call(subscriber, source) {\n return source.subscribe(new FilterSubscriber(subscriber, this.predicate, this.thisArg));\n }\n}\nclass FilterSubscriber extends Subscriber {\n constructor(destination, predicate, thisArg) {\n super(destination);\n this.predicate = predicate;\n this.thisArg = thisArg;\n this.count = 0;\n }\n _next(value) {\n let result;\n try {\n result = this.predicate.call(this.thisArg, value, this.count++);\n }\n catch (err) {\n this.destination.error(err);\n return;\n }\n if (result) {\n this.destination.next(value);\n }\n }\n}\n","import { Subscriber } from '../Subscriber';\nimport { Subscription } from '../Subscription';\nexport function finalize(callback) {\n return (source) => source.lift(new FinallyOperator(callback));\n}\nclass FinallyOperator {\n constructor(callback) {\n this.callback = callback;\n }\n call(subscriber, source) {\n return source.subscribe(new FinallySubscriber(subscriber, this.callback));\n }\n}\nclass FinallySubscriber extends Subscriber {\n constructor(destination, callback) {\n super(destination);\n this.add(new Subscription(callback));\n }\n}\n","import { EmptyError } from '../util/EmptyError';\nimport { filter } from './filter';\nimport { take } from './take';\nimport { defaultIfEmpty } from './defaultIfEmpty';\nimport { throwIfEmpty } from './throwIfEmpty';\nimport { identity } from '../util/identity';\nexport function first(predicate, defaultValue) {\n const hasDefaultValue = arguments.length >= 2;\n return (source) => source.pipe(predicate ? filter((v, i) => predicate(v, i, source)) : identity, take(1), hasDefaultValue ? defaultIfEmpty(defaultValue) : throwIfEmpty(() => new EmptyError()));\n}\n","import { Subscriber } from '../Subscriber';\nimport { Subscription } from '../Subscription';\nimport { Observable } from '../Observable';\nimport { Subject } from '../Subject';\nexport function groupBy(keySelector, elementSelector, durationSelector, subjectSelector) {\n return (source) => source.lift(new GroupByOperator(keySelector, elementSelector, durationSelector, subjectSelector));\n}\nclass GroupByOperator {\n constructor(keySelector, elementSelector, durationSelector, subjectSelector) {\n this.keySelector = keySelector;\n this.elementSelector = elementSelector;\n this.durationSelector = durationSelector;\n this.subjectSelector = subjectSelector;\n }\n call(subscriber, source) {\n return source.subscribe(new GroupBySubscriber(subscriber, this.keySelector, this.elementSelector, this.durationSelector, this.subjectSelector));\n }\n}\nclass GroupBySubscriber extends Subscriber {\n constructor(destination, keySelector, elementSelector, durationSelector, subjectSelector) {\n super(destination);\n this.keySelector = keySelector;\n this.elementSelector = elementSelector;\n this.durationSelector = durationSelector;\n this.subjectSelector = subjectSelector;\n this.groups = null;\n this.attemptedToUnsubscribe = false;\n this.count = 0;\n }\n _next(value) {\n let key;\n try {\n key = this.keySelector(value);\n }\n catch (err) {\n this.error(err);\n return;\n }\n this._group(value, key);\n }\n _group(value, key) {\n let groups = this.groups;\n if (!groups) {\n groups = this.groups = new Map();\n }\n let group = groups.get(key);\n let element;\n if (this.elementSelector) {\n try {\n element = this.elementSelector(value);\n }\n catch (err) {\n this.error(err);\n }\n }\n else {\n element = value;\n }\n if (!group) {\n group = (this.subjectSelector ? this.subjectSelector() : new Subject());\n groups.set(key, group);\n const groupedObservable = new GroupedObservable(key, group, this);\n this.destination.next(groupedObservable);\n if (this.durationSelector) {\n let duration;\n try {\n duration = this.durationSelector(new GroupedObservable(key, group));\n }\n catch (err) {\n this.error(err);\n return;\n }\n this.add(duration.subscribe(new GroupDurationSubscriber(key, group, this)));\n }\n }\n if (!group.closed) {\n group.next(element);\n }\n }\n _error(err) {\n const groups = this.groups;\n if (groups) {\n groups.forEach((group, key) => {\n group.error(err);\n });\n groups.clear();\n }\n this.destination.error(err);\n }\n _complete() {\n const groups = this.groups;\n if (groups) {\n groups.forEach((group, key) => {\n group.complete();\n });\n groups.clear();\n }\n this.destination.complete();\n }\n removeGroup(key) {\n this.groups.delete(key);\n }\n unsubscribe() {\n if (!this.closed) {\n this.attemptedToUnsubscribe = true;\n if (this.count === 0) {\n super.unsubscribe();\n }\n }\n }\n}\nclass GroupDurationSubscriber extends Subscriber {\n constructor(key, group, parent) {\n super(group);\n this.key = key;\n this.group = group;\n this.parent = parent;\n }\n _next(value) {\n this.complete();\n }\n _unsubscribe() {\n const { parent, key } = this;\n this.key = this.parent = null;\n if (parent) {\n parent.removeGroup(key);\n }\n }\n}\nexport class GroupedObservable extends Observable {\n constructor(key, groupSubject, refCountSubscription) {\n super();\n this.key = key;\n this.groupSubject = groupSubject;\n this.refCountSubscription = refCountSubscription;\n }\n _subscribe(subscriber) {\n const subscription = new Subscription();\n const { refCountSubscription, groupSubject } = this;\n if (refCountSubscription && !refCountSubscription.closed) {\n subscription.add(new InnerRefCountSubscription(refCountSubscription));\n }\n subscription.add(groupSubject.subscribe(subscriber));\n return subscription;\n }\n}\nclass InnerRefCountSubscription extends Subscription {\n constructor(parent) {\n super();\n this.parent = parent;\n parent.count++;\n }\n unsubscribe() {\n const parent = this.parent;\n if (!parent.closed && !this.closed) {\n super.unsubscribe();\n parent.count -= 1;\n if (parent.count === 0 && parent.attemptedToUnsubscribe) {\n parent.unsubscribe();\n }\n }\n }\n}\n","import { Subscriber } from '../Subscriber';\nexport function ignoreElements() {\n return function ignoreElementsOperatorFunction(source) {\n return source.lift(new IgnoreElementsOperator());\n };\n}\nclass IgnoreElementsOperator {\n call(subscriber, source) {\n return source.subscribe(new IgnoreElementsSubscriber(subscriber));\n }\n}\nclass IgnoreElementsSubscriber extends Subscriber {\n _next(unused) {\n }\n}\n","import { EmptyError } from '../util/EmptyError';\nimport { filter } from './filter';\nimport { takeLast } from './takeLast';\nimport { throwIfEmpty } from './throwIfEmpty';\nimport { defaultIfEmpty } from './defaultIfEmpty';\nimport { identity } from '../util/identity';\nexport function last(predicate, defaultValue) {\n const hasDefaultValue = arguments.length >= 2;\n return (source) => source.pipe(predicate ? filter((v, i) => predicate(v, i, source)) : identity, takeLast(1), hasDefaultValue ? defaultIfEmpty(defaultValue) : throwIfEmpty(() => new EmptyError()));\n}\n","import { Subscriber } from '../Subscriber';\nexport function map(project, thisArg) {\n return function mapOperation(source) {\n if (typeof project !== 'function') {\n throw new TypeError('argument is not a function. Are you looking for `mapTo()`?');\n }\n return source.lift(new MapOperator(project, thisArg));\n };\n}\nexport class MapOperator {\n constructor(project, thisArg) {\n this.project = project;\n this.thisArg = thisArg;\n }\n call(subscriber, source) {\n return source.subscribe(new MapSubscriber(subscriber, this.project, this.thisArg));\n }\n}\nclass MapSubscriber extends Subscriber {\n constructor(destination, project, thisArg) {\n super(destination);\n this.project = project;\n this.count = 0;\n this.thisArg = thisArg || this;\n }\n _next(value) {\n let result;\n try {\n result = this.project.call(this.thisArg, value, this.count++);\n }\n catch (err) {\n this.destination.error(err);\n return;\n }\n this.destination.next(result);\n }\n}\n","import { Subscriber } from '../Subscriber';\nexport function mapTo(value) {\n return (source) => source.lift(new MapToOperator(value));\n}\nclass MapToOperator {\n constructor(value) {\n this.value = value;\n }\n call(subscriber, source) {\n return source.subscribe(new MapToSubscriber(subscriber, this.value));\n }\n}\nclass MapToSubscriber extends Subscriber {\n constructor(destination, value) {\n super(destination);\n this.value = value;\n }\n _next(x) {\n this.destination.next(this.value);\n }\n}\n","import { Subscriber } from '../Subscriber';\nimport { Notification } from '../Notification';\nexport function materialize() {\n return function materializeOperatorFunction(source) {\n return source.lift(new MaterializeOperator());\n };\n}\nclass MaterializeOperator {\n call(subscriber, source) {\n return source.subscribe(new MaterializeSubscriber(subscriber));\n }\n}\nclass MaterializeSubscriber extends Subscriber {\n constructor(destination) {\n super(destination);\n }\n _next(value) {\n this.destination.next(Notification.createNext(value));\n }\n _error(err) {\n const destination = this.destination;\n destination.next(Notification.createError(err));\n destination.complete();\n }\n _complete() {\n const destination = this.destination;\n destination.next(Notification.createComplete());\n destination.complete();\n }\n}\n","import { mergeMap } from './mergeMap';\nimport { identity } from '../util/identity';\nexport function mergeAll(concurrent = Number.POSITIVE_INFINITY) {\n return mergeMap(identity, concurrent);\n}\n","import { map } from './map';\nimport { from } from '../observable/from';\nimport { SimpleOuterSubscriber, SimpleInnerSubscriber, innerSubscribe } from '../innerSubscribe';\nexport function mergeMap(project, resultSelector, concurrent = Number.POSITIVE_INFINITY) {\n if (typeof resultSelector === 'function') {\n return (source) => source.pipe(mergeMap((a, i) => from(project(a, i)).pipe(map((b, ii) => resultSelector(a, b, i, ii))), concurrent));\n }\n else if (typeof resultSelector === 'number') {\n concurrent = resultSelector;\n }\n return (source) => source.lift(new MergeMapOperator(project, concurrent));\n}\nexport class MergeMapOperator {\n constructor(project, concurrent = Number.POSITIVE_INFINITY) {\n this.project = project;\n this.concurrent = concurrent;\n }\n call(observer, source) {\n return source.subscribe(new MergeMapSubscriber(observer, this.project, this.concurrent));\n }\n}\nexport class MergeMapSubscriber extends SimpleOuterSubscriber {\n constructor(destination, project, concurrent = Number.POSITIVE_INFINITY) {\n super(destination);\n this.project = project;\n this.concurrent = concurrent;\n this.hasCompleted = false;\n this.buffer = [];\n this.active = 0;\n this.index = 0;\n }\n _next(value) {\n if (this.active < this.concurrent) {\n this._tryNext(value);\n }\n else {\n this.buffer.push(value);\n }\n }\n _tryNext(value) {\n let result;\n const index = this.index++;\n try {\n result = this.project(value, index);\n }\n catch (err) {\n this.destination.error(err);\n return;\n }\n this.active++;\n this._innerSub(result);\n }\n _innerSub(ish) {\n const innerSubscriber = new SimpleInnerSubscriber(this);\n const destination = this.destination;\n destination.add(innerSubscriber);\n const innerSubscription = innerSubscribe(ish, innerSubscriber);\n if (innerSubscription !== innerSubscriber) {\n destination.add(innerSubscription);\n }\n }\n _complete() {\n this.hasCompleted = true;\n if (this.active === 0 && this.buffer.length === 0) {\n this.destination.complete();\n }\n this.unsubscribe();\n }\n notifyNext(innerValue) {\n this.destination.next(innerValue);\n }\n notifyComplete() {\n const buffer = this.buffer;\n this.active--;\n if (buffer.length > 0) {\n this._next(buffer.shift());\n }\n else if (this.active === 0 && this.hasCompleted) {\n this.destination.complete();\n }\n }\n}\nexport const flatMap = mergeMap;\n","import { connectableObservableDescriptor } from '../observable/ConnectableObservable';\nexport function multicast(subjectOrSubjectFactory, selector) {\n return function multicastOperatorFunction(source) {\n let subjectFactory;\n if (typeof subjectOrSubjectFactory === 'function') {\n subjectFactory = subjectOrSubjectFactory;\n }\n else {\n subjectFactory = function subjectFactory() {\n return subjectOrSubjectFactory;\n };\n }\n if (typeof selector === 'function') {\n return source.lift(new MulticastOperator(subjectFactory, selector));\n }\n const connectable = Object.create(source, connectableObservableDescriptor);\n connectable.source = source;\n connectable.subjectFactory = subjectFactory;\n return connectable;\n };\n}\nexport class MulticastOperator {\n constructor(subjectFactory, selector) {\n this.subjectFactory = subjectFactory;\n this.selector = selector;\n }\n call(subscriber, source) {\n const { selector } = this;\n const subject = this.subjectFactory();\n const subscription = selector(subject).subscribe(subscriber);\n subscription.add(source.subscribe(subject));\n return subscription;\n }\n}\n","import { Subscriber } from '../Subscriber';\nimport { Notification } from '../Notification';\nexport function observeOn(scheduler, delay = 0) {\n return function observeOnOperatorFunction(source) {\n return source.lift(new ObserveOnOperator(scheduler, delay));\n };\n}\nexport class ObserveOnOperator {\n constructor(scheduler, delay = 0) {\n this.scheduler = scheduler;\n this.delay = delay;\n }\n call(subscriber, source) {\n return source.subscribe(new ObserveOnSubscriber(subscriber, this.scheduler, this.delay));\n }\n}\nexport class ObserveOnSubscriber extends Subscriber {\n constructor(destination, scheduler, delay = 0) {\n super(destination);\n this.scheduler = scheduler;\n this.delay = delay;\n }\n static dispatch(arg) {\n const { notification, destination } = arg;\n notification.observe(destination);\n this.unsubscribe();\n }\n scheduleMessage(notification) {\n const destination = this.destination;\n destination.add(this.scheduler.schedule(ObserveOnSubscriber.dispatch, this.delay, new ObserveOnMessage(notification, this.destination)));\n }\n _next(value) {\n this.scheduleMessage(Notification.createNext(value));\n }\n _error(err) {\n this.scheduleMessage(Notification.createError(err));\n this.unsubscribe();\n }\n _complete() {\n this.scheduleMessage(Notification.createComplete());\n this.unsubscribe();\n }\n}\nexport class ObserveOnMessage {\n constructor(notification, destination) {\n this.notification = notification;\n this.destination = destination;\n }\n}\n","import { Subscriber } from '../Subscriber';\nexport function pairwise() {\n return (source) => source.lift(new PairwiseOperator());\n}\nclass PairwiseOperator {\n call(subscriber, source) {\n return source.subscribe(new PairwiseSubscriber(subscriber));\n }\n}\nclass PairwiseSubscriber extends Subscriber {\n constructor(destination) {\n super(destination);\n this.hasPrev = false;\n }\n _next(value) {\n let pair;\n if (this.hasPrev) {\n pair = [this.prev, value];\n }\n else {\n this.hasPrev = true;\n }\n this.prev = value;\n if (pair) {\n this.destination.next(pair);\n }\n }\n}\n","import { map } from './map';\nexport function pluck(...properties) {\n const length = properties.length;\n if (length === 0) {\n throw new Error('list of properties cannot be empty.');\n }\n return (source) => map(plucker(properties, length))(source);\n}\nfunction plucker(props, length) {\n const mapper = (x) => {\n let currentProp = x;\n for (let i = 0; i < length; i++) {\n const p = currentProp != null ? currentProp[props[i]] : undefined;\n if (p !== void 0) {\n currentProp = p;\n }\n else {\n return undefined;\n }\n }\n return currentProp;\n };\n return mapper;\n}\n","import { Subscriber } from '../Subscriber';\nexport function refCount() {\n return function refCountOperatorFunction(source) {\n return source.lift(new RefCountOperator(source));\n };\n}\nclass RefCountOperator {\n constructor(connectable) {\n this.connectable = connectable;\n }\n call(subscriber, source) {\n const { connectable } = this;\n connectable._refCount++;\n const refCounter = new RefCountSubscriber(subscriber, connectable);\n const subscription = source.subscribe(refCounter);\n if (!refCounter.closed) {\n refCounter.connection = connectable.connect();\n }\n return subscription;\n }\n}\nclass RefCountSubscriber extends Subscriber {\n constructor(destination, connectable) {\n super(destination);\n this.connectable = connectable;\n }\n _unsubscribe() {\n const { connectable } = this;\n if (!connectable) {\n this.connection = null;\n return;\n }\n this.connectable = null;\n const refCount = connectable._refCount;\n if (refCount <= 0) {\n this.connection = null;\n return;\n }\n connectable._refCount = refCount - 1;\n if (refCount > 1) {\n this.connection = null;\n return;\n }\n const { connection } = this;\n const sharedConnection = connectable._connection;\n this.connection = null;\n if (sharedConnection && (!connection || sharedConnection === connection)) {\n sharedConnection.unsubscribe();\n }\n }\n}\n","import { Subscriber } from '../Subscriber';\nexport function retry(count = -1) {\n return (source) => source.lift(new RetryOperator(count, source));\n}\nclass RetryOperator {\n constructor(count, source) {\n this.count = count;\n this.source = source;\n }\n call(subscriber, source) {\n return source.subscribe(new RetrySubscriber(subscriber, this.count, this.source));\n }\n}\nclass RetrySubscriber extends Subscriber {\n constructor(destination, count, source) {\n super(destination);\n this.count = count;\n this.source = source;\n }\n error(err) {\n if (!this.isStopped) {\n const { source, count } = this;\n if (count === 0) {\n return super.error(err);\n }\n else if (count > -1) {\n this.count = count - 1;\n }\n source.subscribe(this._unsubscribeAndRecycle());\n }\n }\n}\n","import { Subscriber } from '../Subscriber';\nexport function scan(accumulator, seed) {\n let hasSeed = false;\n if (arguments.length >= 2) {\n hasSeed = true;\n }\n return function scanOperatorFunction(source) {\n return source.lift(new ScanOperator(accumulator, seed, hasSeed));\n };\n}\nclass ScanOperator {\n constructor(accumulator, seed, hasSeed = false) {\n this.accumulator = accumulator;\n this.seed = seed;\n this.hasSeed = hasSeed;\n }\n call(subscriber, source) {\n return source.subscribe(new ScanSubscriber(subscriber, this.accumulator, this.seed, this.hasSeed));\n }\n}\nclass ScanSubscriber extends Subscriber {\n constructor(destination, accumulator, _seed, hasSeed) {\n super(destination);\n this.accumulator = accumulator;\n this._seed = _seed;\n this.hasSeed = hasSeed;\n this.index = 0;\n }\n get seed() {\n return this._seed;\n }\n set seed(value) {\n this.hasSeed = true;\n this._seed = value;\n }\n _next(value) {\n if (!this.hasSeed) {\n this.seed = value;\n this.destination.next(value);\n }\n else {\n return this._tryNext(value);\n }\n }\n _tryNext(value) {\n const index = this.index++;\n let result;\n try {\n result = this.accumulator(this.seed, value, index);\n }\n catch (err) {\n this.destination.error(err);\n }\n this.seed = result;\n this.destination.next(result);\n }\n}\n","import { multicast } from './multicast';\nimport { refCount } from './refCount';\nimport { Subject } from '../Subject';\nfunction shareSubjectFactory() {\n return new Subject();\n}\nexport function share() {\n return (source) => refCount()(multicast(shareSubjectFactory)(source));\n}\n","import { Subscriber } from '../Subscriber';\nexport function skip(count) {\n return (source) => source.lift(new SkipOperator(count));\n}\nclass SkipOperator {\n constructor(total) {\n this.total = total;\n }\n call(subscriber, source) {\n return source.subscribe(new SkipSubscriber(subscriber, this.total));\n }\n}\nclass SkipSubscriber extends Subscriber {\n constructor(destination, total) {\n super(destination);\n this.total = total;\n this.count = 0;\n }\n _next(x) {\n if (++this.count > this.total) {\n this.destination.next(x);\n }\n }\n}\n","import { concat } from '../observable/concat';\nimport { isScheduler } from '../util/isScheduler';\nexport function startWith(...array) {\n const scheduler = array[array.length - 1];\n if (isScheduler(scheduler)) {\n array.pop();\n return (source) => concat(array, source, scheduler);\n }\n else {\n return (source) => concat(array, source);\n }\n}\n","import { map } from './map';\nimport { from } from '../observable/from';\nimport { SimpleOuterSubscriber, SimpleInnerSubscriber, innerSubscribe } from '../innerSubscribe';\nexport function switchMap(project, resultSelector) {\n if (typeof resultSelector === 'function') {\n return (source) => source.pipe(switchMap((a, i) => from(project(a, i)).pipe(map((b, ii) => resultSelector(a, b, i, ii)))));\n }\n return (source) => source.lift(new SwitchMapOperator(project));\n}\nclass SwitchMapOperator {\n constructor(project) {\n this.project = project;\n }\n call(subscriber, source) {\n return source.subscribe(new SwitchMapSubscriber(subscriber, this.project));\n }\n}\nclass SwitchMapSubscriber extends SimpleOuterSubscriber {\n constructor(destination, project) {\n super(destination);\n this.project = project;\n this.index = 0;\n }\n _next(value) {\n let result;\n const index = this.index++;\n try {\n result = this.project(value, index);\n }\n catch (error) {\n this.destination.error(error);\n return;\n }\n this._innerSub(result);\n }\n _innerSub(result) {\n const innerSubscription = this.innerSubscription;\n if (innerSubscription) {\n innerSubscription.unsubscribe();\n }\n const innerSubscriber = new SimpleInnerSubscriber(this);\n const destination = this.destination;\n destination.add(innerSubscriber);\n this.innerSubscription = innerSubscribe(result, innerSubscriber);\n if (this.innerSubscription !== innerSubscriber) {\n destination.add(this.innerSubscription);\n }\n }\n _complete() {\n const { innerSubscription } = this;\n if (!innerSubscription || innerSubscription.closed) {\n super._complete();\n }\n this.unsubscribe();\n }\n _unsubscribe() {\n this.innerSubscription = undefined;\n }\n notifyComplete() {\n this.innerSubscription = undefined;\n if (this.isStopped) {\n super._complete();\n }\n }\n notifyNext(innerValue) {\n this.destination.next(innerValue);\n }\n}\n","import { Subscriber } from '../Subscriber';\nimport { ArgumentOutOfRangeError } from '../util/ArgumentOutOfRangeError';\nimport { empty } from '../observable/empty';\nexport function take(count) {\n return (source) => {\n if (count === 0) {\n return empty();\n }\n else {\n return source.lift(new TakeOperator(count));\n }\n };\n}\nclass TakeOperator {\n constructor(total) {\n this.total = total;\n if (this.total < 0) {\n throw new ArgumentOutOfRangeError;\n }\n }\n call(subscriber, source) {\n return source.subscribe(new TakeSubscriber(subscriber, this.total));\n }\n}\nclass TakeSubscriber extends Subscriber {\n constructor(destination, total) {\n super(destination);\n this.total = total;\n this.count = 0;\n }\n _next(value) {\n const total = this.total;\n const count = ++this.count;\n if (count <= total) {\n this.destination.next(value);\n if (count === total) {\n this.destination.complete();\n this.unsubscribe();\n }\n }\n }\n}\n","import { Subscriber } from '../Subscriber';\nimport { ArgumentOutOfRangeError } from '../util/ArgumentOutOfRangeError';\nimport { empty } from '../observable/empty';\nexport function takeLast(count) {\n return function takeLastOperatorFunction(source) {\n if (count === 0) {\n return empty();\n }\n else {\n return source.lift(new TakeLastOperator(count));\n }\n };\n}\nclass TakeLastOperator {\n constructor(total) {\n this.total = total;\n if (this.total < 0) {\n throw new ArgumentOutOfRangeError;\n }\n }\n call(subscriber, source) {\n return source.subscribe(new TakeLastSubscriber(subscriber, this.total));\n }\n}\nclass TakeLastSubscriber extends Subscriber {\n constructor(destination, total) {\n super(destination);\n this.total = total;\n this.ring = new Array();\n this.count = 0;\n }\n _next(value) {\n const ring = this.ring;\n const total = this.total;\n const count = this.count++;\n if (ring.length < total) {\n ring.push(value);\n }\n else {\n const index = count % total;\n ring[index] = value;\n }\n }\n _complete() {\n const destination = this.destination;\n let count = this.count;\n if (count > 0) {\n const total = this.count >= this.total ? this.total : this.count;\n const ring = this.ring;\n for (let i = 0; i < total; i++) {\n const idx = (count++) % total;\n destination.next(ring[idx]);\n }\n }\n destination.complete();\n }\n}\n","import { innerSubscribe, SimpleInnerSubscriber, SimpleOuterSubscriber } from '../innerSubscribe';\nexport function takeUntil(notifier) {\n return (source) => source.lift(new TakeUntilOperator(notifier));\n}\nclass TakeUntilOperator {\n constructor(notifier) {\n this.notifier = notifier;\n }\n call(subscriber, source) {\n const takeUntilSubscriber = new TakeUntilSubscriber(subscriber);\n const notifierSubscription = innerSubscribe(this.notifier, new SimpleInnerSubscriber(takeUntilSubscriber));\n if (notifierSubscription && !takeUntilSubscriber.seenValue) {\n takeUntilSubscriber.add(notifierSubscription);\n return source.subscribe(takeUntilSubscriber);\n }\n return takeUntilSubscriber;\n }\n}\nclass TakeUntilSubscriber extends SimpleOuterSubscriber {\n constructor(destination) {\n super(destination);\n this.seenValue = false;\n }\n notifyNext() {\n this.seenValue = true;\n this.complete();\n }\n notifyComplete() {\n }\n}\n","import { Subscriber } from '../Subscriber';\nimport { noop } from '../util/noop';\nimport { isFunction } from '../util/isFunction';\nexport function tap(nextOrObserver, error, complete) {\n return function tapOperatorFunction(source) {\n return source.lift(new DoOperator(nextOrObserver, error, complete));\n };\n}\nclass DoOperator {\n constructor(nextOrObserver, error, complete) {\n this.nextOrObserver = nextOrObserver;\n this.error = error;\n this.complete = complete;\n }\n call(subscriber, source) {\n return source.subscribe(new TapSubscriber(subscriber, this.nextOrObserver, this.error, this.complete));\n }\n}\nclass TapSubscriber extends Subscriber {\n constructor(destination, observerOrNext, error, complete) {\n super(destination);\n this._tapNext = noop;\n this._tapError = noop;\n this._tapComplete = noop;\n this._tapError = error || noop;\n this._tapComplete = complete || noop;\n if (isFunction(observerOrNext)) {\n this._context = this;\n this._tapNext = observerOrNext;\n }\n else if (observerOrNext) {\n this._context = observerOrNext;\n this._tapNext = observerOrNext.next || noop;\n this._tapError = observerOrNext.error || noop;\n this._tapComplete = observerOrNext.complete || noop;\n }\n }\n _next(value) {\n try {\n this._tapNext.call(this._context, value);\n }\n catch (err) {\n this.destination.error(err);\n return;\n }\n this.destination.next(value);\n }\n _error(err) {\n try {\n this._tapError.call(this._context, err);\n }\n catch (err) {\n this.destination.error(err);\n return;\n }\n this.destination.error(err);\n }\n _complete() {\n try {\n this._tapComplete.call(this._context);\n }\n catch (err) {\n this.destination.error(err);\n return;\n }\n return this.destination.complete();\n }\n}\n","import { EmptyError } from '../util/EmptyError';\nimport { Subscriber } from '../Subscriber';\nexport function throwIfEmpty(errorFactory = defaultErrorFactory) {\n return (source) => {\n return source.lift(new ThrowIfEmptyOperator(errorFactory));\n };\n}\nclass ThrowIfEmptyOperator {\n constructor(errorFactory) {\n this.errorFactory = errorFactory;\n }\n call(subscriber, source) {\n return source.subscribe(new ThrowIfEmptySubscriber(subscriber, this.errorFactory));\n }\n}\nclass ThrowIfEmptySubscriber extends Subscriber {\n constructor(destination, errorFactory) {\n super(destination);\n this.errorFactory = errorFactory;\n this.hasValue = false;\n }\n _next(value) {\n this.hasValue = true;\n this.destination.next(value);\n }\n _complete() {\n if (!this.hasValue) {\n let err;\n try {\n err = this.errorFactory();\n }\n catch (e) {\n err = e;\n }\n this.destination.error(err);\n }\n else {\n return this.destination.complete();\n }\n }\n}\nfunction defaultErrorFactory() {\n return new EmptyError();\n}\n","import { async } from '../scheduler/async';\nimport { TimeoutError } from '../util/TimeoutError';\nimport { timeoutWith } from './timeoutWith';\nimport { throwError } from '../observable/throwError';\nexport function timeout(due, scheduler = async) {\n return timeoutWith(due, throwError(new TimeoutError()), scheduler);\n}\n","import { async } from '../scheduler/async';\nimport { isDate } from '../util/isDate';\nimport { SimpleOuterSubscriber, innerSubscribe, SimpleInnerSubscriber } from '../innerSubscribe';\nexport function timeoutWith(due, withObservable, scheduler = async) {\n return (source) => {\n let absoluteTimeout = isDate(due);\n let waitFor = absoluteTimeout ? (+due - scheduler.now()) : Math.abs(due);\n return source.lift(new TimeoutWithOperator(waitFor, absoluteTimeout, withObservable, scheduler));\n };\n}\nclass TimeoutWithOperator {\n constructor(waitFor, absoluteTimeout, withObservable, scheduler) {\n this.waitFor = waitFor;\n this.absoluteTimeout = absoluteTimeout;\n this.withObservable = withObservable;\n this.scheduler = scheduler;\n }\n call(subscriber, source) {\n return source.subscribe(new TimeoutWithSubscriber(subscriber, this.absoluteTimeout, this.waitFor, this.withObservable, this.scheduler));\n }\n}\nclass TimeoutWithSubscriber extends SimpleOuterSubscriber {\n constructor(destination, absoluteTimeout, waitFor, withObservable, scheduler) {\n super(destination);\n this.absoluteTimeout = absoluteTimeout;\n this.waitFor = waitFor;\n this.withObservable = withObservable;\n this.scheduler = scheduler;\n this.scheduleTimeout();\n }\n static dispatchTimeout(subscriber) {\n const { withObservable } = subscriber;\n subscriber._unsubscribeAndRecycle();\n subscriber.add(innerSubscribe(withObservable, new SimpleInnerSubscriber(subscriber)));\n }\n scheduleTimeout() {\n const { action } = this;\n if (action) {\n this.action = action.schedule(this, this.waitFor);\n }\n else {\n this.add(this.action = this.scheduler.schedule(TimeoutWithSubscriber.dispatchTimeout, this.waitFor, this));\n }\n }\n _next(value) {\n if (!this.absoluteTimeout) {\n this.scheduleTimeout();\n }\n super._next(value);\n }\n _unsubscribe() {\n this.action = undefined;\n this.scheduler = null;\n this.withObservable = null;\n }\n}\n","import { OuterSubscriber } from '../OuterSubscriber';\nimport { subscribeToResult } from '../util/subscribeToResult';\nexport function withLatestFrom(...args) {\n return (source) => {\n let project;\n if (typeof args[args.length - 1] === 'function') {\n project = args.pop();\n }\n const observables = args;\n return source.lift(new WithLatestFromOperator(observables, project));\n };\n}\nclass WithLatestFromOperator {\n constructor(observables, project) {\n this.observables = observables;\n this.project = project;\n }\n call(subscriber, source) {\n return source.subscribe(new WithLatestFromSubscriber(subscriber, this.observables, this.project));\n }\n}\nclass WithLatestFromSubscriber extends OuterSubscriber {\n constructor(destination, observables, project) {\n super(destination);\n this.observables = observables;\n this.project = project;\n this.toRespond = [];\n const len = observables.length;\n this.values = new Array(len);\n for (let i = 0; i < len; i++) {\n this.toRespond.push(i);\n }\n for (let i = 0; i < len; i++) {\n let observable = observables[i];\n this.add(subscribeToResult(this, observable, undefined, i));\n }\n }\n notifyNext(_outerValue, innerValue, outerIndex) {\n this.values[outerIndex] = innerValue;\n const toRespond = this.toRespond;\n if (toRespond.length > 0) {\n const found = toRespond.indexOf(outerIndex);\n if (found !== -1) {\n toRespond.splice(found, 1);\n }\n }\n }\n notifyComplete() {\n }\n _next(value) {\n if (this.toRespond.length === 0) {\n const args = [value, ...this.values];\n if (this.project) {\n this._tryProject(args);\n }\n else {\n this.destination.next(args);\n }\n }\n }\n _tryProject(args) {\n let result;\n try {\n result = this.project.apply(this, args);\n }\n catch (err) {\n this.destination.error(err);\n return;\n }\n this.destination.next(result);\n }\n}\n","import { Observable } from '../Observable';\nimport { Subscription } from '../Subscription';\nexport function scheduleArray(input, scheduler) {\n return new Observable(subscriber => {\n const sub = new Subscription();\n let i = 0;\n sub.add(scheduler.schedule(function () {\n if (i === input.length) {\n subscriber.complete();\n return;\n }\n subscriber.next(input[i++]);\n if (!subscriber.closed) {\n sub.add(this.schedule());\n }\n }));\n return sub;\n });\n}\n","import { Observable } from '../Observable';\nimport { Subscription } from '../Subscription';\nimport { iterator as Symbol_iterator } from '../symbol/iterator';\nexport function scheduleIterable(input, scheduler) {\n if (!input) {\n throw new Error('Iterable cannot be null');\n }\n return new Observable(subscriber => {\n const sub = new Subscription();\n let iterator;\n sub.add(() => {\n if (iterator && typeof iterator.return === 'function') {\n iterator.return();\n }\n });\n sub.add(scheduler.schedule(() => {\n iterator = input[Symbol_iterator]();\n sub.add(scheduler.schedule(function () {\n if (subscriber.closed) {\n return;\n }\n let value;\n let done;\n try {\n const result = iterator.next();\n value = result.value;\n done = result.done;\n }\n catch (err) {\n subscriber.error(err);\n return;\n }\n if (done) {\n subscriber.complete();\n }\n else {\n subscriber.next(value);\n this.schedule();\n }\n }));\n }));\n return sub;\n });\n}\n","import { Observable } from '../Observable';\nimport { Subscription } from '../Subscription';\nimport { observable as Symbol_observable } from '../symbol/observable';\nexport function scheduleObservable(input, scheduler) {\n return new Observable(subscriber => {\n const sub = new Subscription();\n sub.add(scheduler.schedule(() => {\n const observable = input[Symbol_observable]();\n sub.add(observable.subscribe({\n next(value) { sub.add(scheduler.schedule(() => subscriber.next(value))); },\n error(err) { sub.add(scheduler.schedule(() => subscriber.error(err))); },\n complete() { sub.add(scheduler.schedule(() => subscriber.complete())); },\n }));\n }));\n return sub;\n });\n}\n","import { Observable } from '../Observable';\nimport { Subscription } from '../Subscription';\nexport function schedulePromise(input, scheduler) {\n return new Observable(subscriber => {\n const sub = new Subscription();\n sub.add(scheduler.schedule(() => input.then(value => {\n sub.add(scheduler.schedule(() => {\n subscriber.next(value);\n sub.add(scheduler.schedule(() => subscriber.complete()));\n }));\n }, err => {\n sub.add(scheduler.schedule(() => subscriber.error(err)));\n })));\n return sub;\n });\n}\n","import { scheduleObservable } from './scheduleObservable';\nimport { schedulePromise } from './schedulePromise';\nimport { scheduleArray } from './scheduleArray';\nimport { scheduleIterable } from './scheduleIterable';\nimport { isInteropObservable } from '../util/isInteropObservable';\nimport { isPromise } from '../util/isPromise';\nimport { isArrayLike } from '../util/isArrayLike';\nimport { isIterable } from '../util/isIterable';\nexport function scheduled(input, scheduler) {\n if (input != null) {\n if (isInteropObservable(input)) {\n return scheduleObservable(input, scheduler);\n }\n else if (isPromise(input)) {\n return schedulePromise(input, scheduler);\n }\n else if (isArrayLike(input)) {\n return scheduleArray(input, scheduler);\n }\n else if (isIterable(input) || typeof input === 'string') {\n return scheduleIterable(input, scheduler);\n }\n }\n throw new TypeError((input !== null && typeof input || input) + ' is not observable');\n}\n","import { Subscription } from '../Subscription';\nexport class Action extends Subscription {\n constructor(scheduler, work) {\n super();\n }\n schedule(state, delay = 0) {\n return this;\n }\n}\n","import { Action } from './Action';\nexport class AsyncAction extends Action {\n constructor(scheduler, work) {\n super(scheduler, work);\n this.scheduler = scheduler;\n this.work = work;\n this.pending = false;\n }\n schedule(state, delay = 0) {\n if (this.closed) {\n return this;\n }\n this.state = state;\n const id = this.id;\n const scheduler = this.scheduler;\n if (id != null) {\n this.id = this.recycleAsyncId(scheduler, id, delay);\n }\n this.pending = true;\n this.delay = delay;\n this.id = this.id || this.requestAsyncId(scheduler, this.id, delay);\n return this;\n }\n requestAsyncId(scheduler, id, delay = 0) {\n return setInterval(scheduler.flush.bind(scheduler, this), delay);\n }\n recycleAsyncId(scheduler, id, delay = 0) {\n if (delay !== null && this.delay === delay && this.pending === false) {\n return id;\n }\n clearInterval(id);\n return undefined;\n }\n execute(state, delay) {\n if (this.closed) {\n return new Error('executing a cancelled action');\n }\n this.pending = false;\n const error = this._execute(state, delay);\n if (error) {\n return error;\n }\n else if (this.pending === false && this.id != null) {\n this.id = this.recycleAsyncId(this.scheduler, this.id, null);\n }\n }\n _execute(state, delay) {\n let errored = false;\n let errorValue = undefined;\n try {\n this.work(state);\n }\n catch (e) {\n errored = true;\n errorValue = !!e && e || new Error(e);\n }\n if (errored) {\n this.unsubscribe();\n return errorValue;\n }\n }\n _unsubscribe() {\n const id = this.id;\n const scheduler = this.scheduler;\n const actions = scheduler.actions;\n const index = actions.indexOf(this);\n this.work = null;\n this.state = null;\n this.pending = false;\n this.scheduler = null;\n if (index !== -1) {\n actions.splice(index, 1);\n }\n if (id != null) {\n this.id = this.recycleAsyncId(scheduler, id, null);\n }\n this.delay = null;\n }\n}\n","import { Scheduler } from '../Scheduler';\nexport class AsyncScheduler extends Scheduler {\n constructor(SchedulerAction, now = Scheduler.now) {\n super(SchedulerAction, () => {\n if (AsyncScheduler.delegate && AsyncScheduler.delegate !== this) {\n return AsyncScheduler.delegate.now();\n }\n else {\n return now();\n }\n });\n this.actions = [];\n this.active = false;\n this.scheduled = undefined;\n }\n schedule(work, delay = 0, state) {\n if (AsyncScheduler.delegate && AsyncScheduler.delegate !== this) {\n return AsyncScheduler.delegate.schedule(work, delay, state);\n }\n else {\n return super.schedule(work, delay, state);\n }\n }\n flush(action) {\n const { actions } = this;\n if (this.active) {\n actions.push(action);\n return;\n }\n let error;\n this.active = true;\n do {\n if (error = action.execute(action.state, action.delay)) {\n break;\n }\n } while (action = actions.shift());\n this.active = false;\n if (error) {\n while (action = actions.shift()) {\n action.unsubscribe();\n }\n throw error;\n }\n }\n}\n","import { AsyncAction } from './AsyncAction';\nexport class QueueAction extends AsyncAction {\n constructor(scheduler, work) {\n super(scheduler, work);\n this.scheduler = scheduler;\n this.work = work;\n }\n schedule(state, delay = 0) {\n if (delay > 0) {\n return super.schedule(state, delay);\n }\n this.delay = delay;\n this.state = state;\n this.scheduler.flush(this);\n return this;\n }\n execute(state, delay) {\n return (delay > 0 || this.closed) ?\n super.execute(state, delay) :\n this._execute(state, delay);\n }\n requestAsyncId(scheduler, id, delay = 0) {\n if ((delay !== null && delay > 0) || (delay === null && this.delay > 0)) {\n return super.requestAsyncId(scheduler, id, delay);\n }\n return scheduler.flush(this);\n }\n}\n","import { AsyncScheduler } from './AsyncScheduler';\nexport class QueueScheduler extends AsyncScheduler {\n}\n","import { AsyncAction } from './AsyncAction';\nimport { AsyncScheduler } from './AsyncScheduler';\nexport const asyncScheduler = new AsyncScheduler(AsyncAction);\nexport const async = asyncScheduler;\n","import { QueueAction } from './QueueAction';\nimport { QueueScheduler } from './QueueScheduler';\nexport const queueScheduler = new QueueScheduler(QueueAction);\nexport const queue = queueScheduler;\n","export function getSymbolIterator() {\n if (typeof Symbol !== 'function' || !Symbol.iterator) {\n return '@@iterator';\n }\n return Symbol.iterator;\n}\nexport const iterator = getSymbolIterator();\nexport const $$iterator = iterator;\n","export const observable = (() => typeof Symbol === 'function' && Symbol.observable || '@@observable')();\n","export const rxSubscriber = (() => typeof Symbol === 'function'\n ? Symbol('rxSubscriber')\n : '@@rxSubscriber_' + Math.random())();\nexport const $$rxSubscriber = rxSubscriber;\n","const ArgumentOutOfRangeErrorImpl = (() => {\n function ArgumentOutOfRangeErrorImpl() {\n Error.call(this);\n this.message = 'argument out of range';\n this.name = 'ArgumentOutOfRangeError';\n return this;\n }\n ArgumentOutOfRangeErrorImpl.prototype = Object.create(Error.prototype);\n return ArgumentOutOfRangeErrorImpl;\n})();\nexport const ArgumentOutOfRangeError = ArgumentOutOfRangeErrorImpl;\n","const EmptyErrorImpl = (() => {\n function EmptyErrorImpl() {\n Error.call(this);\n this.message = 'no elements in sequence';\n this.name = 'EmptyError';\n return this;\n }\n EmptyErrorImpl.prototype = Object.create(Error.prototype);\n return EmptyErrorImpl;\n})();\nexport const EmptyError = EmptyErrorImpl;\n","const ObjectUnsubscribedErrorImpl = (() => {\n function ObjectUnsubscribedErrorImpl() {\n Error.call(this);\n this.message = 'object unsubscribed';\n this.name = 'ObjectUnsubscribedError';\n return this;\n }\n ObjectUnsubscribedErrorImpl.prototype = Object.create(Error.prototype);\n return ObjectUnsubscribedErrorImpl;\n})();\nexport const ObjectUnsubscribedError = ObjectUnsubscribedErrorImpl;\n","const TimeoutErrorImpl = (() => {\n function TimeoutErrorImpl() {\n Error.call(this);\n this.message = 'Timeout has occurred';\n this.name = 'TimeoutError';\n return this;\n }\n TimeoutErrorImpl.prototype = Object.create(Error.prototype);\n return TimeoutErrorImpl;\n})();\nexport const TimeoutError = TimeoutErrorImpl;\n","const UnsubscriptionErrorImpl = (() => {\n function UnsubscriptionErrorImpl(errors) {\n Error.call(this);\n this.message = errors ?\n `${errors.length} errors occurred during unsubscription:\n${errors.map((err, i) => `${i + 1}) ${err.toString()}`).join('\\n ')}` : '';\n this.name = 'UnsubscriptionError';\n this.errors = errors;\n return this;\n }\n UnsubscriptionErrorImpl.prototype = Object.create(Error.prototype);\n return UnsubscriptionErrorImpl;\n})();\nexport const UnsubscriptionError = UnsubscriptionErrorImpl;\n","import { Subscriber } from '../Subscriber';\nexport function canReportError(observer) {\n while (observer) {\n const { closed, destination, isStopped } = observer;\n if (closed || isStopped) {\n return false;\n }\n else if (destination && destination instanceof Subscriber) {\n observer = destination;\n }\n else {\n observer = null;\n }\n }\n return true;\n}\n","export function hostReportError(err) {\n setTimeout(() => { throw err; }, 0);\n}\n","export function identity(x) {\n return x;\n}\n","export const isArray = (() => Array.isArray || ((x) => x && typeof x.length === 'number'))();\n","export const isArrayLike = ((x) => x && typeof x.length === 'number' && typeof x !== 'function');\n","export function isDate(value) {\n return value instanceof Date && !isNaN(+value);\n}\n","export function isFunction(x) {\n return typeof x === 'function';\n}\n","import { observable as Symbol_observable } from '../symbol/observable';\nexport function isInteropObservable(input) {\n return input && typeof input[Symbol_observable] === 'function';\n}\n","import { iterator as Symbol_iterator } from '../symbol/iterator';\nexport function isIterable(input) {\n return input && typeof input[Symbol_iterator] === 'function';\n}\n","import { isArray } from './isArray';\nexport function isNumeric(val) {\n return !isArray(val) && (val - parseFloat(val) + 1) >= 0;\n}\n","export function isObject(x) {\n return x !== null && typeof x === 'object';\n}\n","import { Observable } from '../Observable';\nexport function isObservable(obj) {\n return !!obj && (obj instanceof Observable || (typeof obj.lift === 'function' && typeof obj.subscribe === 'function'));\n}\n","export function isPromise(value) {\n return !!value && typeof value.subscribe !== 'function' && typeof value.then === 'function';\n}\n","export function isScheduler(value) {\n return value && typeof value.schedule === 'function';\n}\n","export function noop() { }\n","import { identity } from './identity';\nexport function pipe(...fns) {\n return pipeFromArray(fns);\n}\nexport function pipeFromArray(fns) {\n if (fns.length === 0) {\n return identity;\n }\n if (fns.length === 1) {\n return fns[0];\n }\n return function piped(input) {\n return fns.reduce((prev, fn) => fn(prev), input);\n };\n}\n","import { subscribeToArray } from './subscribeToArray';\nimport { subscribeToPromise } from './subscribeToPromise';\nimport { subscribeToIterable } from './subscribeToIterable';\nimport { subscribeToObservable } from './subscribeToObservable';\nimport { isArrayLike } from './isArrayLike';\nimport { isPromise } from './isPromise';\nimport { isObject } from './isObject';\nimport { iterator as Symbol_iterator } from '../symbol/iterator';\nimport { observable as Symbol_observable } from '../symbol/observable';\nexport const subscribeTo = (result) => {\n if (!!result && typeof result[Symbol_observable] === 'function') {\n return subscribeToObservable(result);\n }\n else if (isArrayLike(result)) {\n return subscribeToArray(result);\n }\n else if (isPromise(result)) {\n return subscribeToPromise(result);\n }\n else if (!!result && typeof result[Symbol_iterator] === 'function') {\n return subscribeToIterable(result);\n }\n else {\n const value = isObject(result) ? 'an invalid object' : `'${result}'`;\n const msg = `You provided ${value} where a stream was expected.`\n + ' You can provide an Observable, Promise, Array, or Iterable.';\n throw new TypeError(msg);\n }\n};\n","export const subscribeToArray = (array) => (subscriber) => {\n for (let i = 0, len = array.length; i < len && !subscriber.closed; i++) {\n subscriber.next(array[i]);\n }\n subscriber.complete();\n};\n","import { iterator as Symbol_iterator } from '../symbol/iterator';\nexport const subscribeToIterable = (iterable) => (subscriber) => {\n const iterator = iterable[Symbol_iterator]();\n do {\n let item;\n try {\n item = iterator.next();\n }\n catch (err) {\n subscriber.error(err);\n return subscriber;\n }\n if (item.done) {\n subscriber.complete();\n break;\n }\n subscriber.next(item.value);\n if (subscriber.closed) {\n break;\n }\n } while (true);\n if (typeof iterator.return === 'function') {\n subscriber.add(() => {\n if (iterator.return) {\n iterator.return();\n }\n });\n }\n return subscriber;\n};\n","import { observable as Symbol_observable } from '../symbol/observable';\nexport const subscribeToObservable = (obj) => (subscriber) => {\n const obs = obj[Symbol_observable]();\n if (typeof obs.subscribe !== 'function') {\n throw new TypeError('Provided object does not correctly implement Symbol.observable');\n }\n else {\n return obs.subscribe(subscriber);\n }\n};\n","import { hostReportError } from './hostReportError';\nexport const subscribeToPromise = (promise) => (subscriber) => {\n promise.then((value) => {\n if (!subscriber.closed) {\n subscriber.next(value);\n subscriber.complete();\n }\n }, (err) => subscriber.error(err))\n .then(null, hostReportError);\n return subscriber;\n};\n","import { InnerSubscriber } from '../InnerSubscriber';\nimport { subscribeTo } from './subscribeTo';\nimport { Observable } from '../Observable';\nexport function subscribeToResult(outerSubscriber, result, outerValue, outerIndex, innerSubscriber = new InnerSubscriber(outerSubscriber, outerValue, outerIndex)) {\n if (innerSubscriber.closed) {\n return undefined;\n }\n if (result instanceof Observable) {\n return result.subscribe(innerSubscriber);\n }\n return subscribeTo(result)(innerSubscriber);\n}\n","import { Subscriber } from '../Subscriber';\nimport { rxSubscriber as rxSubscriberSymbol } from '../symbol/rxSubscriber';\nimport { empty as emptyObserver } from '../Observer';\nexport function toSubscriber(nextOrObserver, error, complete) {\n if (nextOrObserver) {\n if (nextOrObserver instanceof Subscriber) {\n return nextOrObserver;\n }\n if (nextOrObserver[rxSubscriberSymbol]) {\n return nextOrObserver[rxSubscriberSymbol]();\n }\n }\n if (!nextOrObserver && !error && !complete) {\n return new Subscriber(emptyObserver);\n }\n return new Subscriber(nextOrObserver, error, complete);\n}\n","if (typeof Object.create === 'function') {\n // implementation from standard node.js 'util' module\n module.exports = function inherits(ctor, superCtor) {\n ctor.super_ = superCtor\n ctor.prototype = Object.create(superCtor.prototype, {\n constructor: {\n value: ctor,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n };\n} else {\n // old school shim for old browsers\n module.exports = function inherits(ctor, superCtor) {\n ctor.super_ = superCtor\n var TempCtor = function () {}\n TempCtor.prototype = superCtor.prototype\n ctor.prototype = new TempCtor()\n ctor.prototype.constructor = ctor\n }\n}\n","module.exports = function isBuffer(arg) {\n return arg && typeof arg === 'object'\n && typeof arg.copy === 'function'\n && typeof arg.fill === 'function'\n && typeof arg.readUInt8 === 'function';\n}","// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nvar formatRegExp = /%[sdj%]/g;\nexports.format = function(f) {\n if (!isString(f)) {\n var objects = [];\n for (var i = 0; i < arguments.length; i++) {\n objects.push(inspect(arguments[i]));\n }\n return objects.join(' ');\n }\n\n var i = 1;\n var args = arguments;\n var len = args.length;\n var str = String(f).replace(formatRegExp, function(x) {\n if (x === '%%') return '%';\n if (i >= len) return x;\n switch (x) {\n case '%s': return String(args[i++]);\n case '%d': return Number(args[i++]);\n case '%j':\n try {\n return JSON.stringify(args[i++]);\n } catch (_) {\n return '[Circular]';\n }\n default:\n return x;\n }\n });\n for (var x = args[i]; i < len; x = args[++i]) {\n if (isNull(x) || !isObject(x)) {\n str += ' ' + x;\n } else {\n str += ' ' + inspect(x);\n }\n }\n return str;\n};\n\n\n// Mark that a method should not be used.\n// Returns a modified function which warns once by default.\n// If --no-deprecation is set, then it is a no-op.\nexports.deprecate = function(fn, msg) {\n // Allow for deprecating things in the process of starting up.\n if (isUndefined(global.process)) {\n return function() {\n return exports.deprecate(fn, msg).apply(this, arguments);\n };\n }\n\n if (process.noDeprecation === true) {\n return fn;\n }\n\n var warned = false;\n function deprecated() {\n if (!warned) {\n if (process.throwDeprecation) {\n throw new Error(msg);\n } else if (process.traceDeprecation) {\n console.trace(msg);\n } else {\n console.error(msg);\n }\n warned = true;\n }\n return fn.apply(this, arguments);\n }\n\n return deprecated;\n};\n\n\nvar debugs = {};\nvar debugEnviron;\nexports.debuglog = function(set) {\n if (isUndefined(debugEnviron))\n debugEnviron = process.env.NODE_DEBUG || '';\n set = set.toUpperCase();\n if (!debugs[set]) {\n if (new RegExp('\\\\b' + set + '\\\\b', 'i').test(debugEnviron)) {\n var pid = process.pid;\n debugs[set] = function() {\n var msg = exports.format.apply(exports, arguments);\n console.error('%s %d: %s', set, pid, msg);\n };\n } else {\n debugs[set] = function() {};\n }\n }\n return debugs[set];\n};\n\n\n/**\n * Echos the value of a value. Trys to print the value out\n * in the best way possible given the different types.\n *\n * @param {Object} obj The object to print out.\n * @param {Object} opts Optional options object that alters the output.\n */\n/* legacy: obj, showHidden, depth, colors*/\nfunction inspect(obj, opts) {\n // default options\n var ctx = {\n seen: [],\n stylize: stylizeNoColor\n };\n // legacy...\n if (arguments.length >= 3) ctx.depth = arguments[2];\n if (arguments.length >= 4) ctx.colors = arguments[3];\n if (isBoolean(opts)) {\n // legacy...\n ctx.showHidden = opts;\n } else if (opts) {\n // got an \"options\" object\n exports._extend(ctx, opts);\n }\n // set default options\n if (isUndefined(ctx.showHidden)) ctx.showHidden = false;\n if (isUndefined(ctx.depth)) ctx.depth = 2;\n if (isUndefined(ctx.colors)) ctx.colors = false;\n if (isUndefined(ctx.customInspect)) ctx.customInspect = true;\n if (ctx.colors) ctx.stylize = stylizeWithColor;\n return formatValue(ctx, obj, ctx.depth);\n}\nexports.inspect = inspect;\n\n\n// http://en.wikipedia.org/wiki/ANSI_escape_code#graphics\ninspect.colors = {\n 'bold' : [1, 22],\n 'italic' : [3, 23],\n 'underline' : [4, 24],\n 'inverse' : [7, 27],\n 'white' : [37, 39],\n 'grey' : [90, 39],\n 'black' : [30, 39],\n 'blue' : [34, 39],\n 'cyan' : [36, 39],\n 'green' : [32, 39],\n 'magenta' : [35, 39],\n 'red' : [31, 39],\n 'yellow' : [33, 39]\n};\n\n// Don't use 'blue' not visible on cmd.exe\ninspect.styles = {\n 'special': 'cyan',\n 'number': 'yellow',\n 'boolean': 'yellow',\n 'undefined': 'grey',\n 'null': 'bold',\n 'string': 'green',\n 'date': 'magenta',\n // \"name\": intentionally not styling\n 'regexp': 'red'\n};\n\n\nfunction stylizeWithColor(str, styleType) {\n var style = inspect.styles[styleType];\n\n if (style) {\n return '\\u001b[' + inspect.colors[style][0] + 'm' + str +\n '\\u001b[' + inspect.colors[style][1] + 'm';\n } else {\n return str;\n }\n}\n\n\nfunction stylizeNoColor(str, styleType) {\n return str;\n}\n\n\nfunction arrayToHash(array) {\n var hash = {};\n\n array.forEach(function(val, idx) {\n hash[val] = true;\n });\n\n return hash;\n}\n\n\nfunction formatValue(ctx, value, recurseTimes) {\n // Provide a hook for user-specified inspect functions.\n // Check that value is an object with an inspect function on it\n if (ctx.customInspect &&\n value &&\n isFunction(value.inspect) &&\n // Filter out the util module, it's inspect function is special\n value.inspect !== exports.inspect &&\n // Also filter out any prototype objects using the circular check.\n !(value.constructor && value.constructor.prototype === value)) {\n var ret = value.inspect(recurseTimes, ctx);\n if (!isString(ret)) {\n ret = formatValue(ctx, ret, recurseTimes);\n }\n return ret;\n }\n\n // Primitive types cannot have properties\n var primitive = formatPrimitive(ctx, value);\n if (primitive) {\n return primitive;\n }\n\n // Look up the keys of the object.\n var keys = Object.keys(value);\n var visibleKeys = arrayToHash(keys);\n\n if (ctx.showHidden) {\n keys = Object.getOwnPropertyNames(value);\n }\n\n // IE doesn't make error fields non-enumerable\n // http://msdn.microsoft.com/en-us/library/ie/dww52sbt(v=vs.94).aspx\n if (isError(value)\n && (keys.indexOf('message') >= 0 || keys.indexOf('description') >= 0)) {\n return formatError(value);\n }\n\n // Some type of object without properties can be shortcutted.\n if (keys.length === 0) {\n if (isFunction(value)) {\n var name = value.name ? ': ' + value.name : '';\n return ctx.stylize('[Function' + name + ']', 'special');\n }\n if (isRegExp(value)) {\n return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');\n }\n if (isDate(value)) {\n return ctx.stylize(Date.prototype.toString.call(value), 'date');\n }\n if (isError(value)) {\n return formatError(value);\n }\n }\n\n var base = '', array = false, braces = ['{', '}'];\n\n // Make Array say that they are Array\n if (isArray(value)) {\n array = true;\n braces = ['[', ']'];\n }\n\n // Make functions say that they are functions\n if (isFunction(value)) {\n var n = value.name ? ': ' + value.name : '';\n base = ' [Function' + n + ']';\n }\n\n // Make RegExps say that they are RegExps\n if (isRegExp(value)) {\n base = ' ' + RegExp.prototype.toString.call(value);\n }\n\n // Make dates with properties first say the date\n if (isDate(value)) {\n base = ' ' + Date.prototype.toUTCString.call(value);\n }\n\n // Make error with message first say the error\n if (isError(value)) {\n base = ' ' + formatError(value);\n }\n\n if (keys.length === 0 && (!array || value.length == 0)) {\n return braces[0] + base + braces[1];\n }\n\n if (recurseTimes < 0) {\n if (isRegExp(value)) {\n return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');\n } else {\n return ctx.stylize('[Object]', 'special');\n }\n }\n\n ctx.seen.push(value);\n\n var output;\n if (array) {\n output = formatArray(ctx, value, recurseTimes, visibleKeys, keys);\n } else {\n output = keys.map(function(key) {\n return formatProperty(ctx, value, recurseTimes, visibleKeys, key, array);\n });\n }\n\n ctx.seen.pop();\n\n return reduceToSingleString(output, base, braces);\n}\n\n\nfunction formatPrimitive(ctx, value) {\n if (isUndefined(value))\n return ctx.stylize('undefined', 'undefined');\n if (isString(value)) {\n var simple = '\\'' + JSON.stringify(value).replace(/^\"|\"$/g, '')\n .replace(/'/g, \"\\\\'\")\n .replace(/\\\\\"/g, '\"') + '\\'';\n return ctx.stylize(simple, 'string');\n }\n if (isNumber(value))\n return ctx.stylize('' + value, 'number');\n if (isBoolean(value))\n return ctx.stylize('' + value, 'boolean');\n // For some reason typeof null is \"object\", so special case here.\n if (isNull(value))\n return ctx.stylize('null', 'null');\n}\n\n\nfunction formatError(value) {\n return '[' + Error.prototype.toString.call(value) + ']';\n}\n\n\nfunction formatArray(ctx, value, recurseTimes, visibleKeys, keys) {\n var output = [];\n for (var i = 0, l = value.length; i < l; ++i) {\n if (hasOwnProperty(value, String(i))) {\n output.push(formatProperty(ctx, value, recurseTimes, visibleKeys,\n String(i), true));\n } else {\n output.push('');\n }\n }\n keys.forEach(function(key) {\n if (!key.match(/^\\d+$/)) {\n output.push(formatProperty(ctx, value, recurseTimes, visibleKeys,\n key, true));\n }\n });\n return output;\n}\n\n\nfunction formatProperty(ctx, value, recurseTimes, visibleKeys, key, array) {\n var name, str, desc;\n desc = Object.getOwnPropertyDescriptor(value, key) || { value: value[key] };\n if (desc.get) {\n if (desc.set) {\n str = ctx.stylize('[Getter/Setter]', 'special');\n } else {\n str = ctx.stylize('[Getter]', 'special');\n }\n } else {\n if (desc.set) {\n str = ctx.stylize('[Setter]', 'special');\n }\n }\n if (!hasOwnProperty(visibleKeys, key)) {\n name = '[' + key + ']';\n }\n if (!str) {\n if (ctx.seen.indexOf(desc.value) < 0) {\n if (isNull(recurseTimes)) {\n str = formatValue(ctx, desc.value, null);\n } else {\n str = formatValue(ctx, desc.value, recurseTimes - 1);\n }\n if (str.indexOf('\\n') > -1) {\n if (array) {\n str = str.split('\\n').map(function(line) {\n return ' ' + line;\n }).join('\\n').substr(2);\n } else {\n str = '\\n' + str.split('\\n').map(function(line) {\n return ' ' + line;\n }).join('\\n');\n }\n }\n } else {\n str = ctx.stylize('[Circular]', 'special');\n }\n }\n if (isUndefined(name)) {\n if (array && key.match(/^\\d+$/)) {\n return str;\n }\n name = JSON.stringify('' + key);\n if (name.match(/^\"([a-zA-Z_][a-zA-Z_0-9]*)\"$/)) {\n name = name.substr(1, name.length - 2);\n name = ctx.stylize(name, 'name');\n } else {\n name = name.replace(/'/g, \"\\\\'\")\n .replace(/\\\\\"/g, '\"')\n .replace(/(^\"|\"$)/g, \"'\");\n name = ctx.stylize(name, 'string');\n }\n }\n\n return name + ': ' + str;\n}\n\n\nfunction reduceToSingleString(output, base, braces) {\n var numLinesEst = 0;\n var length = output.reduce(function(prev, cur) {\n numLinesEst++;\n if (cur.indexOf('\\n') >= 0) numLinesEst++;\n return prev + cur.replace(/\\u001b\\[\\d\\d?m/g, '').length + 1;\n }, 0);\n\n if (length > 60) {\n return braces[0] +\n (base === '' ? '' : base + '\\n ') +\n ' ' +\n output.join(',\\n ') +\n ' ' +\n braces[1];\n }\n\n return braces[0] + base + ' ' + output.join(', ') + ' ' + braces[1];\n}\n\n\n// NOTE: These type checking functions intentionally don't use `instanceof`\n// because it is fragile and can be easily faked with `Object.create()`.\nfunction isArray(ar) {\n return Array.isArray(ar);\n}\nexports.isArray = isArray;\n\nfunction isBoolean(arg) {\n return typeof arg === 'boolean';\n}\nexports.isBoolean = isBoolean;\n\nfunction isNull(arg) {\n return arg === null;\n}\nexports.isNull = isNull;\n\nfunction isNullOrUndefined(arg) {\n return arg == null;\n}\nexports.isNullOrUndefined = isNullOrUndefined;\n\nfunction isNumber(arg) {\n return typeof arg === 'number';\n}\nexports.isNumber = isNumber;\n\nfunction isString(arg) {\n return typeof arg === 'string';\n}\nexports.isString = isString;\n\nfunction isSymbol(arg) {\n return typeof arg === 'symbol';\n}\nexports.isSymbol = isSymbol;\n\nfunction isUndefined(arg) {\n return arg === void 0;\n}\nexports.isUndefined = isUndefined;\n\nfunction isRegExp(re) {\n return isObject(re) && objectToString(re) === '[object RegExp]';\n}\nexports.isRegExp = isRegExp;\n\nfunction isObject(arg) {\n return typeof arg === 'object' && arg !== null;\n}\nexports.isObject = isObject;\n\nfunction isDate(d) {\n return isObject(d) && objectToString(d) === '[object Date]';\n}\nexports.isDate = isDate;\n\nfunction isError(e) {\n return isObject(e) &&\n (objectToString(e) === '[object Error]' || e instanceof Error);\n}\nexports.isError = isError;\n\nfunction isFunction(arg) {\n return typeof arg === 'function';\n}\nexports.isFunction = isFunction;\n\nfunction isPrimitive(arg) {\n return arg === null ||\n typeof arg === 'boolean' ||\n typeof arg === 'number' ||\n typeof arg === 'string' ||\n typeof arg === 'symbol' || // ES6 symbol\n typeof arg === 'undefined';\n}\nexports.isPrimitive = isPrimitive;\n\nexports.isBuffer = require('./support/isBuffer');\n\nfunction objectToString(o) {\n return Object.prototype.toString.call(o);\n}\n\n\nfunction pad(n) {\n return n < 10 ? '0' + n.toString(10) : n.toString(10);\n}\n\n\nvar months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep',\n 'Oct', 'Nov', 'Dec'];\n\n// 26 Feb 16:19:34\nfunction timestamp() {\n var d = new Date();\n var time = [pad(d.getHours()),\n pad(d.getMinutes()),\n pad(d.getSeconds())].join(':');\n return [d.getDate(), months[d.getMonth()], time].join(' ');\n}\n\n\n// log is just a thin wrapper to console.log that prepends a timestamp\nexports.log = function() {\n console.log('%s - %s', timestamp(), exports.format.apply(exports, arguments));\n};\n\n\n/**\n * Inherit the prototype methods from one constructor into another.\n *\n * The Function.prototype.inherits from lang.js rewritten as a standalone\n * function (not on Function.prototype). NOTE: If this file is to be loaded\n * during bootstrapping this function needs to be rewritten using some native\n * functions as prototype setup using normal JavaScript does not work as\n * expected during bootstrapping (see mirror.js in r114903).\n *\n * @param {function} ctor Constructor function which needs to inherit the\n * prototype.\n * @param {function} superCtor Constructor function to inherit prototype from.\n */\nexports.inherits = require('inherits');\n\nexports._extend = function(origin, add) {\n // Don't do anything if add isn't an object\n if (!add || !isObject(add)) return origin;\n\n var keys = Object.keys(add);\n var i = keys.length;\n while (i--) {\n origin[keys[i]] = add[keys[i]];\n }\n return origin;\n};\n\nfunction hasOwnProperty(obj, prop) {\n return Object.prototype.hasOwnProperty.call(obj, prop);\n}\n","/**\n * @license Angular v16.2.12\n * (c) 2010-2022 Google LLC. https://angular.io/\n * License: MIT\n */\n\n/**\n * An injectable service that produces an animation sequence programmatically within an\n * Angular component or directive.\n * Provided by the `BrowserAnimationsModule` or `NoopAnimationsModule`.\n *\n * @usageNotes\n *\n * To use this service, add it to your component or directive as a dependency.\n * The service is instantiated along with your component.\n *\n * Apps do not typically need to create their own animation players, but if you\n * do need to, follow these steps:\n *\n * 1. Use the [AnimationBuilder.build](api/animations/AnimationBuilder#build)() method\n * to create a programmatic animation. The method returns an `AnimationFactory` instance.\n *\n * 2. Use the factory object to create an `AnimationPlayer` and attach it to a DOM element.\n *\n * 3. Use the player object to control the animation programmatically.\n *\n * For example:\n *\n * ```ts\n * // import the service from BrowserAnimationsModule\n * import {AnimationBuilder} from '@angular/animations';\n * // require the service as a dependency\n * class MyCmp {\n * constructor(private _builder: AnimationBuilder) {}\n *\n * makeAnimation(element: any) {\n * // first define a reusable animation\n * const myAnimation = this._builder.build([\n * style({ width: 0 }),\n * animate(1000, style({ width: '100px' }))\n * ]);\n *\n * // use the returned factory object to create a player\n * const player = myAnimation.create(element);\n *\n * player.play();\n * }\n * }\n * ```\n *\n * @publicApi\n */\nclass AnimationBuilder {\n}\n/**\n * A factory object returned from the\n * [AnimationBuilder.build](api/animations/AnimationBuilder#build)()\n * method.\n *\n * @publicApi\n */\nclass AnimationFactory {\n}\n\n/**\n * Specifies automatic styling.\n *\n * @publicApi\n */\nconst AUTO_STYLE = '*';\n/**\n * Creates a named animation trigger, containing a list of [`state()`](api/animations/state)\n * and `transition()` entries to be evaluated when the expression\n * bound to the trigger changes.\n *\n * @param name An identifying string.\n * @param definitions An animation definition object, containing an array of\n * [`state()`](api/animations/state) and `transition()` declarations.\n *\n * @return An object that encapsulates the trigger data.\n *\n * @usageNotes\n * Define an animation trigger in the `animations` section of `@Component` metadata.\n * In the template, reference the trigger by name and bind it to a trigger expression that\n * evaluates to a defined animation state, using the following format:\n *\n * `[@triggerName]=\"expression\"`\n *\n * Animation trigger bindings convert all values to strings, and then match the\n * previous and current values against any linked transitions.\n * Booleans can be specified as `1` or `true` and `0` or `false`.\n *\n * ### Usage Example\n *\n * The following example creates an animation trigger reference based on the provided\n * name value.\n * The provided animation value is expected to be an array consisting of state and\n * transition declarations.\n *\n * ```typescript\n * @Component({\n * selector: \"my-component\",\n * templateUrl: \"my-component-tpl.html\",\n * animations: [\n * trigger(\"myAnimationTrigger\", [\n * state(...),\n * state(...),\n * transition(...),\n * transition(...)\n * ])\n * ]\n * })\n * class MyComponent {\n * myStatusExp = \"something\";\n * }\n * ```\n *\n * The template associated with this component makes use of the defined trigger\n * by binding to an element within its template code.\n *\n * ```html\n * \n *
    ...
    \n * ```\n *\n * ### Using an inline function\n * The `transition` animation method also supports reading an inline function which can decide\n * if its associated animation should be run.\n *\n * ```typescript\n * // this method is run each time the `myAnimationTrigger` trigger value changes.\n * function myInlineMatcherFn(fromState: string, toState: string, element: any, params: {[key:\n string]: any}): boolean {\n * // notice that `element` and `params` are also available here\n * return toState == 'yes-please-animate';\n * }\n *\n * @Component({\n * selector: 'my-component',\n * templateUrl: 'my-component-tpl.html',\n * animations: [\n * trigger('myAnimationTrigger', [\n * transition(myInlineMatcherFn, [\n * // the animation sequence code\n * ]),\n * ])\n * ]\n * })\n * class MyComponent {\n * myStatusExp = \"yes-please-animate\";\n * }\n * ```\n *\n * ### Disabling Animations\n * When true, the special animation control binding `@.disabled` binding prevents\n * all animations from rendering.\n * Place the `@.disabled` binding on an element to disable\n * animations on the element itself, as well as any inner animation triggers\n * within the element.\n *\n * The following example shows how to use this feature:\n *\n * ```typescript\n * @Component({\n * selector: 'my-component',\n * template: `\n *
    \n *
    \n *
    \n * `,\n * animations: [\n * trigger(\"childAnimation\", [\n * // ...\n * ])\n * ]\n * })\n * class MyComponent {\n * isDisabled = true;\n * exp = '...';\n * }\n * ```\n *\n * When `@.disabled` is true, it prevents the `@childAnimation` trigger from animating,\n * along with any inner animations.\n *\n * ### Disable animations application-wide\n * When an area of the template is set to have animations disabled,\n * **all** inner components have their animations disabled as well.\n * This means that you can disable all animations for an app\n * by placing a host binding set on `@.disabled` on the topmost Angular component.\n *\n * ```typescript\n * import {Component, HostBinding} from '@angular/core';\n *\n * @Component({\n * selector: 'app-component',\n * templateUrl: 'app.component.html',\n * })\n * class AppComponent {\n * @HostBinding('@.disabled')\n * public animationsDisabled = true;\n * }\n * ```\n *\n * ### Overriding disablement of inner animations\n * Despite inner animations being disabled, a parent animation can `query()`\n * for inner elements located in disabled areas of the template and still animate\n * them if needed. This is also the case for when a sub animation is\n * queried by a parent and then later animated using `animateChild()`.\n *\n * ### Detecting when an animation is disabled\n * If a region of the DOM (or the entire application) has its animations disabled, the animation\n * trigger callbacks still fire, but for zero seconds. When the callback fires, it provides\n * an instance of an `AnimationEvent`. If animations are disabled,\n * the `.disabled` flag on the event is true.\n *\n * @publicApi\n */\nfunction trigger(name, definitions) {\n return { type: 7 /* AnimationMetadataType.Trigger */, name, definitions, options: {} };\n}\n/**\n * Defines an animation step that combines styling information with timing information.\n *\n * @param timings Sets `AnimateTimings` for the parent animation.\n * A string in the format \"duration [delay] [easing]\".\n * - Duration and delay are expressed as a number and optional time unit,\n * such as \"1s\" or \"10ms\" for one second and 10 milliseconds, respectively.\n * The default unit is milliseconds.\n * - The easing value controls how the animation accelerates and decelerates\n * during its runtime. Value is one of `ease`, `ease-in`, `ease-out`,\n * `ease-in-out`, or a `cubic-bezier()` function call.\n * If not supplied, no easing is applied.\n *\n * For example, the string \"1s 100ms ease-out\" specifies a duration of\n * 1000 milliseconds, and delay of 100 ms, and the \"ease-out\" easing style,\n * which decelerates near the end of the duration.\n * @param styles Sets AnimationStyles for the parent animation.\n * A function call to either `style()` or `keyframes()`\n * that returns a collection of CSS style entries to be applied to the parent animation.\n * When null, uses the styles from the destination state.\n * This is useful when describing an animation step that will complete an animation;\n * see \"Animating to the final state\" in `transitions()`.\n * @returns An object that encapsulates the animation step.\n *\n * @usageNotes\n * Call within an animation `sequence()`, `{@link animations/group group()}`, or\n * `transition()` call to specify an animation step\n * that applies given style data to the parent animation for a given amount of time.\n *\n * ### Syntax Examples\n * **Timing examples**\n *\n * The following examples show various `timings` specifications.\n * - `animate(500)` : Duration is 500 milliseconds.\n * - `animate(\"1s\")` : Duration is 1000 milliseconds.\n * - `animate(\"100ms 0.5s\")` : Duration is 100 milliseconds, delay is 500 milliseconds.\n * - `animate(\"5s ease-in\")` : Duration is 5000 milliseconds, easing in.\n * - `animate(\"5s 10ms cubic-bezier(.17,.67,.88,.1)\")` : Duration is 5000 milliseconds, delay is 10\n * milliseconds, easing according to a bezier curve.\n *\n * **Style examples**\n *\n * The following example calls `style()` to set a single CSS style.\n * ```typescript\n * animate(500, style({ background: \"red\" }))\n * ```\n * The following example calls `keyframes()` to set a CSS style\n * to different values for successive keyframes.\n * ```typescript\n * animate(500, keyframes(\n * [\n * style({ background: \"blue\" }),\n * style({ background: \"red\" })\n * ])\n * ```\n *\n * @publicApi\n */\nfunction animate(timings, styles = null) {\n return { type: 4 /* AnimationMetadataType.Animate */, styles, timings };\n}\n/**\n * @description Defines a list of animation steps to be run in parallel.\n *\n * @param steps An array of animation step objects.\n * - When steps are defined by `style()` or `animate()`\n * function calls, each call within the group is executed instantly.\n * - To specify offset styles to be applied at a later time, define steps with\n * `keyframes()`, or use `animate()` calls with a delay value.\n * For example:\n *\n * ```typescript\n * group([\n * animate(\"1s\", style({ background: \"black\" })),\n * animate(\"2s\", style({ color: \"white\" }))\n * ])\n * ```\n *\n * @param options An options object containing a delay and\n * developer-defined parameters that provide styling defaults and\n * can be overridden on invocation.\n *\n * @return An object that encapsulates the group data.\n *\n * @usageNotes\n * Grouped animations are useful when a series of styles must be\n * animated at different starting times and closed off at different ending times.\n *\n * When called within a `sequence()` or a\n * `transition()` call, does not continue to the next\n * instruction until all of the inner animation steps have completed.\n *\n * @publicApi\n */\nfunction group(steps, options = null) {\n return { type: 3 /* AnimationMetadataType.Group */, steps, options };\n}\n/**\n * Defines a list of animation steps to be run sequentially, one by one.\n *\n * @param steps An array of animation step objects.\n * - Steps defined by `style()` calls apply the styling data immediately.\n * - Steps defined by `animate()` calls apply the styling data over time\n * as specified by the timing data.\n *\n * ```typescript\n * sequence([\n * style({ opacity: 0 }),\n * animate(\"1s\", style({ opacity: 1 }))\n * ])\n * ```\n *\n * @param options An options object containing a delay and\n * developer-defined parameters that provide styling defaults and\n * can be overridden on invocation.\n *\n * @return An object that encapsulates the sequence data.\n *\n * @usageNotes\n * When you pass an array of steps to a\n * `transition()` call, the steps run sequentially by default.\n * Compare this to the `{@link animations/group group()}` call, which runs animation steps in\n *parallel.\n *\n * When a sequence is used within a `{@link animations/group group()}` or a `transition()` call,\n * execution continues to the next instruction only after each of the inner animation\n * steps have completed.\n *\n * @publicApi\n **/\nfunction sequence(steps, options = null) {\n return { type: 2 /* AnimationMetadataType.Sequence */, steps, options };\n}\n/**\n * Declares a key/value object containing CSS properties/styles that\n * can then be used for an animation [`state`](api/animations/state), within an animation\n *`sequence`, or as styling data for calls to `animate()` and `keyframes()`.\n *\n * @param tokens A set of CSS styles or HTML styles associated with an animation state.\n * The value can be any of the following:\n * - A key-value style pair associating a CSS property with a value.\n * - An array of key-value style pairs.\n * - An asterisk (*), to use auto-styling, where styles are derived from the element\n * being animated and applied to the animation when it starts.\n *\n * Auto-styling can be used to define a state that depends on layout or other\n * environmental factors.\n *\n * @return An object that encapsulates the style data.\n *\n * @usageNotes\n * The following examples create animation styles that collect a set of\n * CSS property values:\n *\n * ```typescript\n * // string values for CSS properties\n * style({ background: \"red\", color: \"blue\" })\n *\n * // numerical pixel values\n * style({ width: 100, height: 0 })\n * ```\n *\n * The following example uses auto-styling to allow an element to animate from\n * a height of 0 up to its full height:\n *\n * ```\n * style({ height: 0 }),\n * animate(\"1s\", style({ height: \"*\" }))\n * ```\n *\n * @publicApi\n **/\nfunction style(tokens) {\n return { type: 6 /* AnimationMetadataType.Style */, styles: tokens, offset: null };\n}\n/**\n * Declares an animation state within a trigger attached to an element.\n *\n * @param name One or more names for the defined state in a comma-separated string.\n * The following reserved state names can be supplied to define a style for specific use\n * cases:\n *\n * - `void` You can associate styles with this name to be used when\n * the element is detached from the application. For example, when an `ngIf` evaluates\n * to false, the state of the associated element is void.\n * - `*` (asterisk) Indicates the default state. You can associate styles with this name\n * to be used as the fallback when the state that is being animated is not declared\n * within the trigger.\n *\n * @param styles A set of CSS styles associated with this state, created using the\n * `style()` function.\n * This set of styles persists on the element once the state has been reached.\n * @param options Parameters that can be passed to the state when it is invoked.\n * 0 or more key-value pairs.\n * @return An object that encapsulates the new state data.\n *\n * @usageNotes\n * Use the `trigger()` function to register states to an animation trigger.\n * Use the `transition()` function to animate between states.\n * When a state is active within a component, its associated styles persist on the element,\n * even when the animation ends.\n *\n * @publicApi\n **/\nfunction state(name, styles, options) {\n return { type: 0 /* AnimationMetadataType.State */, name, styles, options };\n}\n/**\n * Defines a set of animation styles, associating each style with an optional `offset` value.\n *\n * @param steps A set of animation styles with optional offset data.\n * The optional `offset` value for a style specifies a percentage of the total animation\n * time at which that style is applied.\n * @returns An object that encapsulates the keyframes data.\n *\n * @usageNotes\n * Use with the `animate()` call. Instead of applying animations\n * from the current state\n * to the destination state, keyframes describe how each style entry is applied and at what point\n * within the animation arc.\n * Compare [CSS Keyframe Animations](https://www.w3schools.com/css/css3_animations.asp).\n *\n * ### Usage\n *\n * In the following example, the offset values describe\n * when each `backgroundColor` value is applied. The color is red at the start, and changes to\n * blue when 20% of the total time has elapsed.\n *\n * ```typescript\n * // the provided offset values\n * animate(\"5s\", keyframes([\n * style({ backgroundColor: \"red\", offset: 0 }),\n * style({ backgroundColor: \"blue\", offset: 0.2 }),\n * style({ backgroundColor: \"orange\", offset: 0.3 }),\n * style({ backgroundColor: \"black\", offset: 1 })\n * ]))\n * ```\n *\n * If there are no `offset` values specified in the style entries, the offsets\n * are calculated automatically.\n *\n * ```typescript\n * animate(\"5s\", keyframes([\n * style({ backgroundColor: \"red\" }) // offset = 0\n * style({ backgroundColor: \"blue\" }) // offset = 0.33\n * style({ backgroundColor: \"orange\" }) // offset = 0.66\n * style({ backgroundColor: \"black\" }) // offset = 1\n * ]))\n *```\n\n * @publicApi\n */\nfunction keyframes(steps) {\n return { type: 5 /* AnimationMetadataType.Keyframes */, steps };\n}\n/**\n * Declares an animation transition which is played when a certain specified condition is met.\n *\n * @param stateChangeExpr A string with a specific format or a function that specifies when the\n * animation transition should occur (see [State Change Expression](#state-change-expression)).\n *\n * @param steps One or more animation objects that represent the animation's instructions.\n *\n * @param options An options object that can be used to specify a delay for the animation or provide\n * custom parameters for it.\n *\n * @returns An object that encapsulates the transition data.\n *\n * @usageNotes\n *\n * ### State Change Expression\n *\n * The State Change Expression instructs Angular when to run the transition's animations, it can\n *either be\n * - a string with a specific syntax\n * - or a function that compares the previous and current state (value of the expression bound to\n * the element's trigger) and returns `true` if the transition should occur or `false` otherwise\n *\n * The string format can be:\n * - `fromState => toState`, which indicates that the transition's animations should occur then the\n * expression bound to the trigger's element goes from `fromState` to `toState`\n *\n * _Example:_\n * ```typescript\n * transition('open => closed', animate('.5s ease-out', style({ height: 0 }) ))\n * ```\n *\n * - `fromState <=> toState`, which indicates that the transition's animations should occur then\n * the expression bound to the trigger's element goes from `fromState` to `toState` or vice versa\n *\n * _Example:_\n * ```typescript\n * transition('enabled <=> disabled', animate('1s cubic-bezier(0.8,0.3,0,1)'))\n * ```\n *\n * - `:enter`/`:leave`, which indicates that the transition's animations should occur when the\n * element enters or exists the DOM\n *\n * _Example:_\n * ```typescript\n * transition(':enter', [\n * style({ opacity: 0 }),\n * animate('500ms', style({ opacity: 1 }))\n * ])\n * ```\n *\n * - `:increment`/`:decrement`, which indicates that the transition's animations should occur when\n * the numerical expression bound to the trigger's element has increased in value or decreased\n *\n * _Example:_\n * ```typescript\n * transition(':increment', query('@counter', animateChild()))\n * ```\n *\n * - a sequence of any of the above divided by commas, which indicates that transition's animations\n * should occur whenever one of the state change expressions matches\n *\n * _Example:_\n * ```typescript\n * transition(':increment, * => enabled, :enter', animate('1s ease', keyframes([\n * style({ transform: 'scale(1)', offset: 0}),\n * style({ transform: 'scale(1.1)', offset: 0.7}),\n * style({ transform: 'scale(1)', offset: 1})\n * ]))),\n * ```\n *\n * Also note that in such context:\n * - `void` can be used to indicate the absence of the element\n * - asterisks can be used as wildcards that match any state\n * - (as a consequence of the above, `void => *` is equivalent to `:enter` and `* => void` is\n * equivalent to `:leave`)\n * - `true` and `false` also match expression values of `1` and `0` respectively (but do not match\n * _truthy_ and _falsy_ values)\n *\n *
    \n *\n * Be careful about entering end leaving elements as their transitions present a common\n * pitfall for developers.\n *\n * Note that when an element with a trigger enters the DOM its `:enter` transition always\n * gets executed, but its `:leave` transition will not be executed if the element is removed\n * alongside its parent (as it will be removed \"without warning\" before its transition has\n * a chance to be executed, the only way that such transition can occur is if the element\n * is exiting the DOM on its own).\n *\n *\n *
    \n *\n * ### Animating to a Final State\n *\n * If the final step in a transition is a call to `animate()` that uses a timing value\n * with no `style` data, that step is automatically considered the final animation arc,\n * for the element to reach the final state, in such case Angular automatically adds or removes\n * CSS styles to ensure that the element is in the correct final state.\n *\n *\n * ### Usage Examples\n *\n * - Transition animations applied based on\n * the trigger's expression value\n *\n * ```HTML\n *
    \n * ...\n *
    \n * ```\n *\n * ```typescript\n * trigger(\"myAnimationTrigger\", [\n * ..., // states\n * transition(\"on => off, open => closed\", animate(500)),\n * transition(\"* <=> error\", query('.indicator', animateChild()))\n * ])\n * ```\n *\n * - Transition animations applied based on custom logic dependent\n * on the trigger's expression value and provided parameters\n *\n * ```HTML\n *
    \n * ...\n *
    \n * ```\n *\n * ```typescript\n * trigger(\"myAnimationTrigger\", [\n * ..., // states\n * transition(\n * (fromState, toState, _element, params) =>\n * ['firststep', 'laststep'].includes(fromState.toLowerCase())\n * && toState === params?.['target'],\n * animate('1s')\n * )\n * ])\n * ```\n *\n * @publicApi\n **/\nfunction transition(stateChangeExpr, steps, options = null) {\n return { type: 1 /* AnimationMetadataType.Transition */, expr: stateChangeExpr, animation: steps, options };\n}\n/**\n * Produces a reusable animation that can be invoked in another animation or sequence,\n * by calling the `useAnimation()` function.\n *\n * @param steps One or more animation objects, as returned by the `animate()`\n * or `sequence()` function, that form a transformation from one state to another.\n * A sequence is used by default when you pass an array.\n * @param options An options object that can contain a delay value for the start of the\n * animation, and additional developer-defined parameters.\n * Provided values for additional parameters are used as defaults,\n * and override values can be passed to the caller on invocation.\n * @returns An object that encapsulates the animation data.\n *\n * @usageNotes\n * The following example defines a reusable animation, providing some default parameter\n * values.\n *\n * ```typescript\n * var fadeAnimation = animation([\n * style({ opacity: '{{ start }}' }),\n * animate('{{ time }}',\n * style({ opacity: '{{ end }}'}))\n * ],\n * { params: { time: '1000ms', start: 0, end: 1 }});\n * ```\n *\n * The following invokes the defined animation with a call to `useAnimation()`,\n * passing in override parameter values.\n *\n * ```js\n * useAnimation(fadeAnimation, {\n * params: {\n * time: '2s',\n * start: 1,\n * end: 0\n * }\n * })\n * ```\n *\n * If any of the passed-in parameter values are missing from this call,\n * the default values are used. If one or more parameter values are missing before a step is\n * animated, `useAnimation()` throws an error.\n *\n * @publicApi\n */\nfunction animation(steps, options = null) {\n return { type: 8 /* AnimationMetadataType.Reference */, animation: steps, options };\n}\n/**\n * Executes a queried inner animation element within an animation sequence.\n *\n * @param options An options object that can contain a delay value for the start of the\n * animation, and additional override values for developer-defined parameters.\n * @return An object that encapsulates the child animation data.\n *\n * @usageNotes\n * Each time an animation is triggered in Angular, the parent animation\n * has priority and any child animations are blocked. In order\n * for a child animation to run, the parent animation must query each of the elements\n * containing child animations, and run them using this function.\n *\n * Note that this feature is designed to be used with `query()` and it will only work\n * with animations that are assigned using the Angular animation library. CSS keyframes\n * and transitions are not handled by this API.\n *\n * @publicApi\n */\nfunction animateChild(options = null) {\n return { type: 9 /* AnimationMetadataType.AnimateChild */, options };\n}\n/**\n * Starts a reusable animation that is created using the `animation()` function.\n *\n * @param animation The reusable animation to start.\n * @param options An options object that can contain a delay value for the start of\n * the animation, and additional override values for developer-defined parameters.\n * @return An object that contains the animation parameters.\n *\n * @publicApi\n */\nfunction useAnimation(animation, options = null) {\n return { type: 10 /* AnimationMetadataType.AnimateRef */, animation, options };\n}\n/**\n * Finds one or more inner elements within the current element that is\n * being animated within a sequence. Use with `animate()`.\n *\n * @param selector The element to query, or a set of elements that contain Angular-specific\n * characteristics, specified with one or more of the following tokens.\n * - `query(\":enter\")` or `query(\":leave\")` : Query for newly inserted/removed elements (not\n * all elements can be queried via these tokens, see\n * [Entering and Leaving Elements](#entering-and-leaving-elements))\n * - `query(\":animating\")` : Query all currently animating elements.\n * - `query(\"@triggerName\")` : Query elements that contain an animation trigger.\n * - `query(\"@*\")` : Query all elements that contain an animation triggers.\n * - `query(\":self\")` : Include the current element into the animation sequence.\n *\n * @param animation One or more animation steps to apply to the queried element or elements.\n * An array is treated as an animation sequence.\n * @param options An options object. Use the 'limit' field to limit the total number of\n * items to collect.\n * @return An object that encapsulates the query data.\n *\n * @usageNotes\n *\n * ### Multiple Tokens\n *\n * Tokens can be merged into a combined query selector string. For example:\n *\n * ```typescript\n * query(':self, .record:enter, .record:leave, @subTrigger', [...])\n * ```\n *\n * The `query()` function collects multiple elements and works internally by using\n * `element.querySelectorAll`. Use the `limit` field of an options object to limit\n * the total number of items to be collected. For example:\n *\n * ```js\n * query('div', [\n * animate(...),\n * animate(...)\n * ], { limit: 1 })\n * ```\n *\n * By default, throws an error when zero items are found. Set the\n * `optional` flag to ignore this error. For example:\n *\n * ```js\n * query('.some-element-that-may-not-be-there', [\n * animate(...),\n * animate(...)\n * ], { optional: true })\n * ```\n *\n * ### Entering and Leaving Elements\n *\n * Not all elements can be queried via the `:enter` and `:leave` tokens, the only ones\n * that can are those that Angular assumes can enter/leave based on their own logic\n * (if their insertion/removal is simply a consequence of that of their parent they\n * should be queried via a different token in their parent's `:enter`/`:leave` transitions).\n *\n * The only elements Angular assumes can enter/leave based on their own logic (thus the only\n * ones that can be queried via the `:enter` and `:leave` tokens) are:\n * - Those inserted dynamically (via `ViewContainerRef`)\n * - Those that have a structural directive (which, under the hood, are a subset of the above ones)\n *\n *
    \n *\n * Note that elements will be successfully queried via `:enter`/`:leave` even if their\n * insertion/removal is not done manually via `ViewContainerRef`or caused by their structural\n * directive (e.g. they enter/exit alongside their parent).\n *\n *
    \n *\n *
    \n *\n * There is an exception to what previously mentioned, besides elements entering/leaving based on\n * their own logic, elements with an animation trigger can always be queried via `:leave` when\n * their parent is also leaving.\n *\n *
    \n *\n * ### Usage Example\n *\n * The following example queries for inner elements and animates them\n * individually using `animate()`.\n *\n * ```typescript\n * @Component({\n * selector: 'inner',\n * template: `\n *
    \n *

    Title

    \n *
    \n * Blah blah blah\n *
    \n *
    \n * `,\n * animations: [\n * trigger('queryAnimation', [\n * transition('* => goAnimate', [\n * // hide the inner elements\n * query('h1', style({ opacity: 0 })),\n * query('.content', style({ opacity: 0 })),\n *\n * // animate the inner elements in, one by one\n * query('h1', animate(1000, style({ opacity: 1 }))),\n * query('.content', animate(1000, style({ opacity: 1 }))),\n * ])\n * ])\n * ]\n * })\n * class Cmp {\n * exp = '';\n *\n * goAnimate() {\n * this.exp = 'goAnimate';\n * }\n * }\n * ```\n *\n * @publicApi\n */\nfunction query(selector, animation, options = null) {\n return { type: 11 /* AnimationMetadataType.Query */, selector, animation, options };\n}\n/**\n * Use within an animation `query()` call to issue a timing gap after\n * each queried item is animated.\n *\n * @param timings A delay value.\n * @param animation One ore more animation steps.\n * @returns An object that encapsulates the stagger data.\n *\n * @usageNotes\n * In the following example, a container element wraps a list of items stamped out\n * by an `ngFor`. The container element contains an animation trigger that will later be set\n * to query for each of the inner items.\n *\n * Each time items are added, the opacity fade-in animation runs,\n * and each removed item is faded out.\n * When either of these animations occur, the stagger effect is\n * applied after each item's animation is started.\n *\n * ```html\n * \n * \n *
    \n *
    \n *
    \n * {{ item }}\n *
    \n *
    \n * ```\n *\n * Here is the component code:\n *\n * ```typescript\n * import {trigger, transition, style, animate, query, stagger} from '@angular/animations';\n * @Component({\n * templateUrl: 'list.component.html',\n * animations: [\n * trigger('listAnimation', [\n * ...\n * ])\n * ]\n * })\n * class ListComponent {\n * items = [];\n *\n * showItems() {\n * this.items = [0,1,2,3,4];\n * }\n *\n * hideItems() {\n * this.items = [];\n * }\n *\n * toggle() {\n * this.items.length ? this.hideItems() : this.showItems();\n * }\n * }\n * ```\n *\n * Here is the animation trigger code:\n *\n * ```typescript\n * trigger('listAnimation', [\n * transition('* => *', [ // each time the binding value changes\n * query(':leave', [\n * stagger(100, [\n * animate('0.5s', style({ opacity: 0 }))\n * ])\n * ]),\n * query(':enter', [\n * style({ opacity: 0 }),\n * stagger(100, [\n * animate('0.5s', style({ opacity: 1 }))\n * ])\n * ])\n * ])\n * ])\n * ```\n *\n * @publicApi\n */\nfunction stagger(timings, animation) {\n return { type: 12 /* AnimationMetadataType.Stagger */, timings, animation };\n}\n\n/**\n * An empty programmatic controller for reusable animations.\n * Used internally when animations are disabled, to avoid\n * checking for the null case when an animation player is expected.\n *\n * @see {@link animate}\n * @see {@link AnimationPlayer}\n * @see {@link ɵAnimationGroupPlayer AnimationGroupPlayer}\n *\n * @publicApi\n */\nclass NoopAnimationPlayer {\n constructor(duration = 0, delay = 0) {\n this._onDoneFns = [];\n this._onStartFns = [];\n this._onDestroyFns = [];\n this._originalOnDoneFns = [];\n this._originalOnStartFns = [];\n this._started = false;\n this._destroyed = false;\n this._finished = false;\n this._position = 0;\n this.parentPlayer = null;\n this.totalTime = duration + delay;\n }\n _onFinish() {\n if (!this._finished) {\n this._finished = true;\n this._onDoneFns.forEach(fn => fn());\n this._onDoneFns = [];\n }\n }\n onStart(fn) {\n this._originalOnStartFns.push(fn);\n this._onStartFns.push(fn);\n }\n onDone(fn) {\n this._originalOnDoneFns.push(fn);\n this._onDoneFns.push(fn);\n }\n onDestroy(fn) {\n this._onDestroyFns.push(fn);\n }\n hasStarted() {\n return this._started;\n }\n init() { }\n play() {\n if (!this.hasStarted()) {\n this._onStart();\n this.triggerMicrotask();\n }\n this._started = true;\n }\n /** @internal */\n triggerMicrotask() {\n queueMicrotask(() => this._onFinish());\n }\n _onStart() {\n this._onStartFns.forEach(fn => fn());\n this._onStartFns = [];\n }\n pause() { }\n restart() { }\n finish() {\n this._onFinish();\n }\n destroy() {\n if (!this._destroyed) {\n this._destroyed = true;\n if (!this.hasStarted()) {\n this._onStart();\n }\n this.finish();\n this._onDestroyFns.forEach(fn => fn());\n this._onDestroyFns = [];\n }\n }\n reset() {\n this._started = false;\n this._finished = false;\n this._onStartFns = this._originalOnStartFns;\n this._onDoneFns = this._originalOnDoneFns;\n }\n setPosition(position) {\n this._position = this.totalTime ? position * this.totalTime : 1;\n }\n getPosition() {\n return this.totalTime ? this._position / this.totalTime : 1;\n }\n /** @internal */\n triggerCallback(phaseName) {\n const methods = phaseName == 'start' ? this._onStartFns : this._onDoneFns;\n methods.forEach(fn => fn());\n methods.length = 0;\n }\n}\n\n/**\n * A programmatic controller for a group of reusable animations.\n * Used internally to control animations.\n *\n * @see {@link AnimationPlayer}\n * @see {@link animations/group group}\n *\n */\nclass AnimationGroupPlayer {\n constructor(_players) {\n this._onDoneFns = [];\n this._onStartFns = [];\n this._finished = false;\n this._started = false;\n this._destroyed = false;\n this._onDestroyFns = [];\n this.parentPlayer = null;\n this.totalTime = 0;\n this.players = _players;\n let doneCount = 0;\n let destroyCount = 0;\n let startCount = 0;\n const total = this.players.length;\n if (total == 0) {\n queueMicrotask(() => this._onFinish());\n }\n else {\n this.players.forEach(player => {\n player.onDone(() => {\n if (++doneCount == total) {\n this._onFinish();\n }\n });\n player.onDestroy(() => {\n if (++destroyCount == total) {\n this._onDestroy();\n }\n });\n player.onStart(() => {\n if (++startCount == total) {\n this._onStart();\n }\n });\n });\n }\n this.totalTime = this.players.reduce((time, player) => Math.max(time, player.totalTime), 0);\n }\n _onFinish() {\n if (!this._finished) {\n this._finished = true;\n this._onDoneFns.forEach(fn => fn());\n this._onDoneFns = [];\n }\n }\n init() {\n this.players.forEach(player => player.init());\n }\n onStart(fn) {\n this._onStartFns.push(fn);\n }\n _onStart() {\n if (!this.hasStarted()) {\n this._started = true;\n this._onStartFns.forEach(fn => fn());\n this._onStartFns = [];\n }\n }\n onDone(fn) {\n this._onDoneFns.push(fn);\n }\n onDestroy(fn) {\n this._onDestroyFns.push(fn);\n }\n hasStarted() {\n return this._started;\n }\n play() {\n if (!this.parentPlayer) {\n this.init();\n }\n this._onStart();\n this.players.forEach(player => player.play());\n }\n pause() {\n this.players.forEach(player => player.pause());\n }\n restart() {\n this.players.forEach(player => player.restart());\n }\n finish() {\n this._onFinish();\n this.players.forEach(player => player.finish());\n }\n destroy() {\n this._onDestroy();\n }\n _onDestroy() {\n if (!this._destroyed) {\n this._destroyed = true;\n this._onFinish();\n this.players.forEach(player => player.destroy());\n this._onDestroyFns.forEach(fn => fn());\n this._onDestroyFns = [];\n }\n }\n reset() {\n this.players.forEach(player => player.reset());\n this._destroyed = false;\n this._finished = false;\n this._started = false;\n }\n setPosition(p) {\n const timeAtPosition = p * this.totalTime;\n this.players.forEach(player => {\n const position = player.totalTime ? Math.min(1, timeAtPosition / player.totalTime) : 1;\n player.setPosition(position);\n });\n }\n getPosition() {\n const longestPlayer = this.players.reduce((longestSoFar, player) => {\n const newPlayerIsLongest = longestSoFar === null || player.totalTime > longestSoFar.totalTime;\n return newPlayerIsLongest ? player : longestSoFar;\n }, null);\n return longestPlayer != null ? longestPlayer.getPosition() : 0;\n }\n beforeDestroy() {\n this.players.forEach(player => {\n if (player.beforeDestroy) {\n player.beforeDestroy();\n }\n });\n }\n /** @internal */\n triggerCallback(phaseName) {\n const methods = phaseName == 'start' ? this._onStartFns : this._onDoneFns;\n methods.forEach(fn => fn());\n methods.length = 0;\n }\n}\n\nconst ɵPRE_STYLE = '!';\n\n/**\n * @module\n * @description\n * Entry point for all animation APIs of the animation package.\n */\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of this package.\n */\n\n// This file is not used to build this module. It is only used during editing\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { AUTO_STYLE, AnimationBuilder, AnimationFactory, NoopAnimationPlayer, animate, animateChild, animation, group, keyframes, query, sequence, stagger, state, style, transition, trigger, useAnimation, AnimationGroupPlayer as ɵAnimationGroupPlayer, ɵPRE_STYLE };\n","/**\n * @license Angular v16.2.12\n * (c) 2010-2022 Google LLC. https://angular.io/\n * License: MIT\n */\n\nimport { ɵAnimationGroupPlayer, NoopAnimationPlayer, AUTO_STYLE, ɵPRE_STYLE, sequence, style } from '@angular/animations';\nimport * as i0 from '@angular/core';\nimport { ɵRuntimeError, Injectable } from '@angular/core';\n\nconst LINE_START = '\\n - ';\nfunction invalidTimingValue(exp) {\n return new ɵRuntimeError(3000 /* RuntimeErrorCode.INVALID_TIMING_VALUE */, ngDevMode && `The provided timing value \"${exp}\" is invalid.`);\n}\nfunction negativeStepValue() {\n return new ɵRuntimeError(3100 /* RuntimeErrorCode.NEGATIVE_STEP_VALUE */, ngDevMode && 'Duration values below 0 are not allowed for this animation step.');\n}\nfunction negativeDelayValue() {\n return new ɵRuntimeError(3101 /* RuntimeErrorCode.NEGATIVE_DELAY_VALUE */, ngDevMode && 'Delay values below 0 are not allowed for this animation step.');\n}\nfunction invalidStyleParams(varName) {\n return new ɵRuntimeError(3001 /* RuntimeErrorCode.INVALID_STYLE_PARAMS */, ngDevMode &&\n `Unable to resolve the local animation param ${varName} in the given list of values`);\n}\nfunction invalidParamValue(varName) {\n return new ɵRuntimeError(3003 /* RuntimeErrorCode.INVALID_PARAM_VALUE */, ngDevMode && `Please provide a value for the animation param ${varName}`);\n}\nfunction invalidNodeType(nodeType) {\n return new ɵRuntimeError(3004 /* RuntimeErrorCode.INVALID_NODE_TYPE */, ngDevMode && `Unable to resolve animation metadata node #${nodeType}`);\n}\nfunction invalidCssUnitValue(userProvidedProperty, value) {\n return new ɵRuntimeError(3005 /* RuntimeErrorCode.INVALID_CSS_UNIT_VALUE */, ngDevMode && `Please provide a CSS unit value for ${userProvidedProperty}:${value}`);\n}\nfunction invalidTrigger() {\n return new ɵRuntimeError(3006 /* RuntimeErrorCode.INVALID_TRIGGER */, ngDevMode &&\n 'animation triggers cannot be prefixed with an `@` sign (e.g. trigger(\\'@foo\\', [...]))');\n}\nfunction invalidDefinition() {\n return new ɵRuntimeError(3007 /* RuntimeErrorCode.INVALID_DEFINITION */, ngDevMode && 'only state() and transition() definitions can sit inside of a trigger()');\n}\nfunction invalidState(metadataName, missingSubs) {\n return new ɵRuntimeError(3008 /* RuntimeErrorCode.INVALID_STATE */, ngDevMode &&\n `state(\"${metadataName}\", ...) must define default values for all the following style substitutions: ${missingSubs.join(', ')}`);\n}\nfunction invalidStyleValue(value) {\n return new ɵRuntimeError(3002 /* RuntimeErrorCode.INVALID_STYLE_VALUE */, ngDevMode && `The provided style string value ${value} is not allowed.`);\n}\nfunction invalidProperty(prop) {\n return new ɵRuntimeError(3009 /* RuntimeErrorCode.INVALID_PROPERTY */, ngDevMode &&\n `The provided animation property \"${prop}\" is not a supported CSS property for animations`);\n}\nfunction invalidParallelAnimation(prop, firstStart, firstEnd, secondStart, secondEnd) {\n return new ɵRuntimeError(3010 /* RuntimeErrorCode.INVALID_PARALLEL_ANIMATION */, ngDevMode &&\n `The CSS property \"${prop}\" that exists between the times of \"${firstStart}ms\" and \"${firstEnd}ms\" is also being animated in a parallel animation between the times of \"${secondStart}ms\" and \"${secondEnd}ms\"`);\n}\nfunction invalidKeyframes() {\n return new ɵRuntimeError(3011 /* RuntimeErrorCode.INVALID_KEYFRAMES */, ngDevMode && `keyframes() must be placed inside of a call to animate()`);\n}\nfunction invalidOffset() {\n return new ɵRuntimeError(3012 /* RuntimeErrorCode.INVALID_OFFSET */, ngDevMode && `Please ensure that all keyframe offsets are between 0 and 1`);\n}\nfunction keyframeOffsetsOutOfOrder() {\n return new ɵRuntimeError(3200 /* RuntimeErrorCode.KEYFRAME_OFFSETS_OUT_OF_ORDER */, ngDevMode && `Please ensure that all keyframe offsets are in order`);\n}\nfunction keyframesMissingOffsets() {\n return new ɵRuntimeError(3202 /* RuntimeErrorCode.KEYFRAMES_MISSING_OFFSETS */, ngDevMode && `Not all style() steps within the declared keyframes() contain offsets`);\n}\nfunction invalidStagger() {\n return new ɵRuntimeError(3013 /* RuntimeErrorCode.INVALID_STAGGER */, ngDevMode && `stagger() can only be used inside of query()`);\n}\nfunction invalidQuery(selector) {\n return new ɵRuntimeError(3014 /* RuntimeErrorCode.INVALID_QUERY */, ngDevMode &&\n `\\`query(\"${selector}\")\\` returned zero elements. (Use \\`query(\"${selector}\", { optional: true })\\` if you wish to allow this.)`);\n}\nfunction invalidExpression(expr) {\n return new ɵRuntimeError(3015 /* RuntimeErrorCode.INVALID_EXPRESSION */, ngDevMode && `The provided transition expression \"${expr}\" is not supported`);\n}\nfunction invalidTransitionAlias(alias) {\n return new ɵRuntimeError(3016 /* RuntimeErrorCode.INVALID_TRANSITION_ALIAS */, ngDevMode && `The transition alias value \"${alias}\" is not supported`);\n}\nfunction validationFailed(errors) {\n return new ɵRuntimeError(3500 /* RuntimeErrorCode.VALIDATION_FAILED */, ngDevMode && `animation validation failed:\\n${errors.map(err => err.message).join('\\n')}`);\n}\nfunction buildingFailed(errors) {\n return new ɵRuntimeError(3501 /* RuntimeErrorCode.BUILDING_FAILED */, ngDevMode && `animation building failed:\\n${errors.map(err => err.message).join('\\n')}`);\n}\nfunction triggerBuildFailed(name, errors) {\n return new ɵRuntimeError(3404 /* RuntimeErrorCode.TRIGGER_BUILD_FAILED */, ngDevMode &&\n `The animation trigger \"${name}\" has failed to build due to the following errors:\\n - ${errors.map(err => err.message).join('\\n - ')}`);\n}\nfunction animationFailed(errors) {\n return new ɵRuntimeError(3502 /* RuntimeErrorCode.ANIMATION_FAILED */, ngDevMode &&\n `Unable to animate due to the following errors:${LINE_START}${errors.map(err => err.message).join(LINE_START)}`);\n}\nfunction registerFailed(errors) {\n return new ɵRuntimeError(3503 /* RuntimeErrorCode.REGISTRATION_FAILED */, ngDevMode &&\n `Unable to build the animation due to the following errors: ${errors.map(err => err.message).join('\\n')}`);\n}\nfunction missingOrDestroyedAnimation() {\n return new ɵRuntimeError(3300 /* RuntimeErrorCode.MISSING_OR_DESTROYED_ANIMATION */, ngDevMode && 'The requested animation doesn\\'t exist or has already been destroyed');\n}\nfunction createAnimationFailed(errors) {\n return new ɵRuntimeError(3504 /* RuntimeErrorCode.CREATE_ANIMATION_FAILED */, ngDevMode &&\n `Unable to create the animation due to the following errors:${errors.map(err => err.message).join('\\n')}`);\n}\nfunction missingPlayer(id) {\n return new ɵRuntimeError(3301 /* RuntimeErrorCode.MISSING_PLAYER */, ngDevMode && `Unable to find the timeline player referenced by ${id}`);\n}\nfunction missingTrigger(phase, name) {\n return new ɵRuntimeError(3302 /* RuntimeErrorCode.MISSING_TRIGGER */, ngDevMode &&\n `Unable to listen on the animation trigger event \"${phase}\" because the animation trigger \"${name}\" doesn\\'t exist!`);\n}\nfunction missingEvent(name) {\n return new ɵRuntimeError(3303 /* RuntimeErrorCode.MISSING_EVENT */, ngDevMode &&\n `Unable to listen on the animation trigger \"${name}\" because the provided event is undefined!`);\n}\nfunction unsupportedTriggerEvent(phase, name) {\n return new ɵRuntimeError(3400 /* RuntimeErrorCode.UNSUPPORTED_TRIGGER_EVENT */, ngDevMode &&\n `The provided animation trigger event \"${phase}\" for the animation trigger \"${name}\" is not supported!`);\n}\nfunction unregisteredTrigger(name) {\n return new ɵRuntimeError(3401 /* RuntimeErrorCode.UNREGISTERED_TRIGGER */, ngDevMode && `The provided animation trigger \"${name}\" has not been registered!`);\n}\nfunction triggerTransitionsFailed(errors) {\n return new ɵRuntimeError(3402 /* RuntimeErrorCode.TRIGGER_TRANSITIONS_FAILED */, ngDevMode &&\n `Unable to process animations due to the following failed trigger transitions\\n ${errors.map(err => err.message).join('\\n')}`);\n}\nfunction triggerParsingFailed(name, errors) {\n return new ɵRuntimeError(3403 /* RuntimeErrorCode.TRIGGER_PARSING_FAILED */, ngDevMode &&\n `Animation parsing for the ${name} trigger have failed:${LINE_START}${errors.map(err => err.message).join(LINE_START)}`);\n}\nfunction transitionFailed(name, errors) {\n return new ɵRuntimeError(3505 /* RuntimeErrorCode.TRANSITION_FAILED */, ngDevMode && `@${name} has failed due to:\\n ${errors.map(err => err.message).join('\\n- ')}`);\n}\n\n/**\n * Set of all animatable CSS properties\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_animated_properties\n */\nconst ANIMATABLE_PROP_SET = new Set([\n '-moz-outline-radius',\n '-moz-outline-radius-bottomleft',\n '-moz-outline-radius-bottomright',\n '-moz-outline-radius-topleft',\n '-moz-outline-radius-topright',\n '-ms-grid-columns',\n '-ms-grid-rows',\n '-webkit-line-clamp',\n '-webkit-text-fill-color',\n '-webkit-text-stroke',\n '-webkit-text-stroke-color',\n 'accent-color',\n 'all',\n 'backdrop-filter',\n 'background',\n 'background-color',\n 'background-position',\n 'background-size',\n 'block-size',\n 'border',\n 'border-block-end',\n 'border-block-end-color',\n 'border-block-end-width',\n 'border-block-start',\n 'border-block-start-color',\n 'border-block-start-width',\n 'border-bottom',\n 'border-bottom-color',\n 'border-bottom-left-radius',\n 'border-bottom-right-radius',\n 'border-bottom-width',\n 'border-color',\n 'border-end-end-radius',\n 'border-end-start-radius',\n 'border-image-outset',\n 'border-image-slice',\n 'border-image-width',\n 'border-inline-end',\n 'border-inline-end-color',\n 'border-inline-end-width',\n 'border-inline-start',\n 'border-inline-start-color',\n 'border-inline-start-width',\n 'border-left',\n 'border-left-color',\n 'border-left-width',\n 'border-radius',\n 'border-right',\n 'border-right-color',\n 'border-right-width',\n 'border-start-end-radius',\n 'border-start-start-radius',\n 'border-top',\n 'border-top-color',\n 'border-top-left-radius',\n 'border-top-right-radius',\n 'border-top-width',\n 'border-width',\n 'bottom',\n 'box-shadow',\n 'caret-color',\n 'clip',\n 'clip-path',\n 'color',\n 'column-count',\n 'column-gap',\n 'column-rule',\n 'column-rule-color',\n 'column-rule-width',\n 'column-width',\n 'columns',\n 'filter',\n 'flex',\n 'flex-basis',\n 'flex-grow',\n 'flex-shrink',\n 'font',\n 'font-size',\n 'font-size-adjust',\n 'font-stretch',\n 'font-variation-settings',\n 'font-weight',\n 'gap',\n 'grid-column-gap',\n 'grid-gap',\n 'grid-row-gap',\n 'grid-template-columns',\n 'grid-template-rows',\n 'height',\n 'inline-size',\n 'input-security',\n 'inset',\n 'inset-block',\n 'inset-block-end',\n 'inset-block-start',\n 'inset-inline',\n 'inset-inline-end',\n 'inset-inline-start',\n 'left',\n 'letter-spacing',\n 'line-clamp',\n 'line-height',\n 'margin',\n 'margin-block-end',\n 'margin-block-start',\n 'margin-bottom',\n 'margin-inline-end',\n 'margin-inline-start',\n 'margin-left',\n 'margin-right',\n 'margin-top',\n 'mask',\n 'mask-border',\n 'mask-position',\n 'mask-size',\n 'max-block-size',\n 'max-height',\n 'max-inline-size',\n 'max-lines',\n 'max-width',\n 'min-block-size',\n 'min-height',\n 'min-inline-size',\n 'min-width',\n 'object-position',\n 'offset',\n 'offset-anchor',\n 'offset-distance',\n 'offset-path',\n 'offset-position',\n 'offset-rotate',\n 'opacity',\n 'order',\n 'outline',\n 'outline-color',\n 'outline-offset',\n 'outline-width',\n 'padding',\n 'padding-block-end',\n 'padding-block-start',\n 'padding-bottom',\n 'padding-inline-end',\n 'padding-inline-start',\n 'padding-left',\n 'padding-right',\n 'padding-top',\n 'perspective',\n 'perspective-origin',\n 'right',\n 'rotate',\n 'row-gap',\n 'scale',\n 'scroll-margin',\n 'scroll-margin-block',\n 'scroll-margin-block-end',\n 'scroll-margin-block-start',\n 'scroll-margin-bottom',\n 'scroll-margin-inline',\n 'scroll-margin-inline-end',\n 'scroll-margin-inline-start',\n 'scroll-margin-left',\n 'scroll-margin-right',\n 'scroll-margin-top',\n 'scroll-padding',\n 'scroll-padding-block',\n 'scroll-padding-block-end',\n 'scroll-padding-block-start',\n 'scroll-padding-bottom',\n 'scroll-padding-inline',\n 'scroll-padding-inline-end',\n 'scroll-padding-inline-start',\n 'scroll-padding-left',\n 'scroll-padding-right',\n 'scroll-padding-top',\n 'scroll-snap-coordinate',\n 'scroll-snap-destination',\n 'scrollbar-color',\n 'shape-image-threshold',\n 'shape-margin',\n 'shape-outside',\n 'tab-size',\n 'text-decoration',\n 'text-decoration-color',\n 'text-decoration-thickness',\n 'text-emphasis',\n 'text-emphasis-color',\n 'text-indent',\n 'text-shadow',\n 'text-underline-offset',\n 'top',\n 'transform',\n 'transform-origin',\n 'translate',\n 'vertical-align',\n 'visibility',\n 'width',\n 'word-spacing',\n 'z-index',\n 'zoom',\n]);\n\nfunction optimizeGroupPlayer(players) {\n switch (players.length) {\n case 0:\n return new NoopAnimationPlayer();\n case 1:\n return players[0];\n default:\n return new ɵAnimationGroupPlayer(players);\n }\n}\nfunction normalizeKeyframes$1(normalizer, keyframes, preStyles = new Map(), postStyles = new Map()) {\n const errors = [];\n const normalizedKeyframes = [];\n let previousOffset = -1;\n let previousKeyframe = null;\n keyframes.forEach(kf => {\n const offset = kf.get('offset');\n const isSameOffset = offset == previousOffset;\n const normalizedKeyframe = (isSameOffset && previousKeyframe) || new Map();\n kf.forEach((val, prop) => {\n let normalizedProp = prop;\n let normalizedValue = val;\n if (prop !== 'offset') {\n normalizedProp = normalizer.normalizePropertyName(normalizedProp, errors);\n switch (normalizedValue) {\n case ɵPRE_STYLE:\n normalizedValue = preStyles.get(prop);\n break;\n case AUTO_STYLE:\n normalizedValue = postStyles.get(prop);\n break;\n default:\n normalizedValue =\n normalizer.normalizeStyleValue(prop, normalizedProp, normalizedValue, errors);\n break;\n }\n }\n normalizedKeyframe.set(normalizedProp, normalizedValue);\n });\n if (!isSameOffset) {\n normalizedKeyframes.push(normalizedKeyframe);\n }\n previousKeyframe = normalizedKeyframe;\n previousOffset = offset;\n });\n if (errors.length) {\n throw animationFailed(errors);\n }\n return normalizedKeyframes;\n}\nfunction listenOnPlayer(player, eventName, event, callback) {\n switch (eventName) {\n case 'start':\n player.onStart(() => callback(event && copyAnimationEvent(event, 'start', player)));\n break;\n case 'done':\n player.onDone(() => callback(event && copyAnimationEvent(event, 'done', player)));\n break;\n case 'destroy':\n player.onDestroy(() => callback(event && copyAnimationEvent(event, 'destroy', player)));\n break;\n }\n}\nfunction copyAnimationEvent(e, phaseName, player) {\n const totalTime = player.totalTime;\n const disabled = player.disabled ? true : false;\n const event = makeAnimationEvent(e.element, e.triggerName, e.fromState, e.toState, phaseName || e.phaseName, totalTime == undefined ? e.totalTime : totalTime, disabled);\n const data = e['_data'];\n if (data != null) {\n event['_data'] = data;\n }\n return event;\n}\nfunction makeAnimationEvent(element, triggerName, fromState, toState, phaseName = '', totalTime = 0, disabled) {\n return { element, triggerName, fromState, toState, phaseName, totalTime, disabled: !!disabled };\n}\nfunction getOrSetDefaultValue(map, key, defaultValue) {\n let value = map.get(key);\n if (!value) {\n map.set(key, value = defaultValue);\n }\n return value;\n}\nfunction parseTimelineCommand(command) {\n const separatorPos = command.indexOf(':');\n const id = command.substring(1, separatorPos);\n const action = command.slice(separatorPos + 1);\n return [id, action];\n}\nconst documentElement = \n/* @__PURE__ */ (() => typeof document === 'undefined' ? null : document.documentElement)();\nfunction getParentElement(element) {\n const parent = element.parentNode || element.host || null; // consider host to support shadow DOM\n if (parent === documentElement) {\n return null;\n }\n return parent;\n}\nfunction containsVendorPrefix(prop) {\n // Webkit is the only real popular vendor prefix nowadays\n // cc: http://shouldiprefix.com/\n return prop.substring(1, 6) == 'ebkit'; // webkit or Webkit\n}\nlet _CACHED_BODY = null;\nlet _IS_WEBKIT = false;\nfunction validateStyleProperty(prop) {\n if (!_CACHED_BODY) {\n _CACHED_BODY = getBodyNode() || {};\n _IS_WEBKIT = _CACHED_BODY.style ? ('WebkitAppearance' in _CACHED_BODY.style) : false;\n }\n let result = true;\n if (_CACHED_BODY.style && !containsVendorPrefix(prop)) {\n result = prop in _CACHED_BODY.style;\n if (!result && _IS_WEBKIT) {\n const camelProp = 'Webkit' + prop.charAt(0).toUpperCase() + prop.slice(1);\n result = camelProp in _CACHED_BODY.style;\n }\n }\n return result;\n}\nfunction validateWebAnimatableStyleProperty(prop) {\n return ANIMATABLE_PROP_SET.has(prop);\n}\nfunction getBodyNode() {\n if (typeof document != 'undefined') {\n return document.body;\n }\n return null;\n}\nfunction containsElement(elm1, elm2) {\n while (elm2) {\n if (elm2 === elm1) {\n return true;\n }\n elm2 = getParentElement(elm2);\n }\n return false;\n}\nfunction invokeQuery(element, selector, multi) {\n if (multi) {\n return Array.from(element.querySelectorAll(selector));\n }\n const elem = element.querySelector(selector);\n return elem ? [elem] : [];\n}\nfunction hypenatePropsKeys(original) {\n const newMap = new Map();\n original.forEach((val, prop) => {\n const newProp = prop.replace(/([a-z])([A-Z])/g, '$1-$2');\n newMap.set(newProp, val);\n });\n return newMap;\n}\n\n/**\n * @publicApi\n */\nclass NoopAnimationDriver {\n validateStyleProperty(prop) {\n return validateStyleProperty(prop);\n }\n matchesElement(_element, _selector) {\n // This method is deprecated and no longer in use so we return false.\n return false;\n }\n containsElement(elm1, elm2) {\n return containsElement(elm1, elm2);\n }\n getParentElement(element) {\n return getParentElement(element);\n }\n query(element, selector, multi) {\n return invokeQuery(element, selector, multi);\n }\n computeStyle(element, prop, defaultValue) {\n return defaultValue || '';\n }\n animate(element, keyframes, duration, delay, easing, previousPlayers = [], scrubberAccessRequested) {\n return new NoopAnimationPlayer(duration, delay);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: NoopAnimationDriver, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: NoopAnimationDriver }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: NoopAnimationDriver, decorators: [{\n type: Injectable\n }] });\n/**\n * @publicApi\n */\nclass AnimationDriver {\n static { this.NOOP = ( /* @__PURE__ */new NoopAnimationDriver()); }\n}\n\nconst ONE_SECOND = 1000;\nconst SUBSTITUTION_EXPR_START = '{{';\nconst SUBSTITUTION_EXPR_END = '}}';\nconst ENTER_CLASSNAME = 'ng-enter';\nconst LEAVE_CLASSNAME = 'ng-leave';\nconst NG_TRIGGER_CLASSNAME = 'ng-trigger';\nconst NG_TRIGGER_SELECTOR = '.ng-trigger';\nconst NG_ANIMATING_CLASSNAME = 'ng-animating';\nconst NG_ANIMATING_SELECTOR = '.ng-animating';\nfunction resolveTimingValue(value) {\n if (typeof value == 'number')\n return value;\n const matches = value.match(/^(-?[\\.\\d]+)(m?s)/);\n if (!matches || matches.length < 2)\n return 0;\n return _convertTimeValueToMS(parseFloat(matches[1]), matches[2]);\n}\nfunction _convertTimeValueToMS(value, unit) {\n switch (unit) {\n case 's':\n return value * ONE_SECOND;\n default: // ms or something else\n return value;\n }\n}\nfunction resolveTiming(timings, errors, allowNegativeValues) {\n return timings.hasOwnProperty('duration') ?\n timings :\n parseTimeExpression(timings, errors, allowNegativeValues);\n}\nfunction parseTimeExpression(exp, errors, allowNegativeValues) {\n const regex = /^(-?[\\.\\d]+)(m?s)(?:\\s+(-?[\\.\\d]+)(m?s))?(?:\\s+([-a-z]+(?:\\(.+?\\))?))?$/i;\n let duration;\n let delay = 0;\n let easing = '';\n if (typeof exp === 'string') {\n const matches = exp.match(regex);\n if (matches === null) {\n errors.push(invalidTimingValue(exp));\n return { duration: 0, delay: 0, easing: '' };\n }\n duration = _convertTimeValueToMS(parseFloat(matches[1]), matches[2]);\n const delayMatch = matches[3];\n if (delayMatch != null) {\n delay = _convertTimeValueToMS(parseFloat(delayMatch), matches[4]);\n }\n const easingVal = matches[5];\n if (easingVal) {\n easing = easingVal;\n }\n }\n else {\n duration = exp;\n }\n if (!allowNegativeValues) {\n let containsErrors = false;\n let startIndex = errors.length;\n if (duration < 0) {\n errors.push(negativeStepValue());\n containsErrors = true;\n }\n if (delay < 0) {\n errors.push(negativeDelayValue());\n containsErrors = true;\n }\n if (containsErrors) {\n errors.splice(startIndex, 0, invalidTimingValue(exp));\n }\n }\n return { duration, delay, easing };\n}\nfunction copyObj(obj, destination = {}) {\n Object.keys(obj).forEach(prop => {\n destination[prop] = obj[prop];\n });\n return destination;\n}\nfunction convertToMap(obj) {\n const styleMap = new Map();\n Object.keys(obj).forEach(prop => {\n const val = obj[prop];\n styleMap.set(prop, val);\n });\n return styleMap;\n}\nfunction normalizeKeyframes(keyframes) {\n if (!keyframes.length) {\n return [];\n }\n if (keyframes[0] instanceof Map) {\n return keyframes;\n }\n return keyframes.map(kf => convertToMap(kf));\n}\nfunction normalizeStyles(styles) {\n const normalizedStyles = new Map();\n if (Array.isArray(styles)) {\n styles.forEach(data => copyStyles(data, normalizedStyles));\n }\n else {\n copyStyles(styles, normalizedStyles);\n }\n return normalizedStyles;\n}\nfunction copyStyles(styles, destination = new Map(), backfill) {\n if (backfill) {\n for (let [prop, val] of backfill) {\n destination.set(prop, val);\n }\n }\n for (let [prop, val] of styles) {\n destination.set(prop, val);\n }\n return destination;\n}\nfunction setStyles(element, styles, formerStyles) {\n styles.forEach((val, prop) => {\n const camelProp = dashCaseToCamelCase(prop);\n if (formerStyles && !formerStyles.has(prop)) {\n formerStyles.set(prop, element.style[camelProp]);\n }\n element.style[camelProp] = val;\n });\n}\nfunction eraseStyles(element, styles) {\n styles.forEach((_, prop) => {\n const camelProp = dashCaseToCamelCase(prop);\n element.style[camelProp] = '';\n });\n}\nfunction normalizeAnimationEntry(steps) {\n if (Array.isArray(steps)) {\n if (steps.length == 1)\n return steps[0];\n return sequence(steps);\n }\n return steps;\n}\nfunction validateStyleParams(value, options, errors) {\n const params = options.params || {};\n const matches = extractStyleParams(value);\n if (matches.length) {\n matches.forEach(varName => {\n if (!params.hasOwnProperty(varName)) {\n errors.push(invalidStyleParams(varName));\n }\n });\n }\n}\nconst PARAM_REGEX = new RegExp(`${SUBSTITUTION_EXPR_START}\\\\s*(.+?)\\\\s*${SUBSTITUTION_EXPR_END}`, 'g');\nfunction extractStyleParams(value) {\n let params = [];\n if (typeof value === 'string') {\n let match;\n while (match = PARAM_REGEX.exec(value)) {\n params.push(match[1]);\n }\n PARAM_REGEX.lastIndex = 0;\n }\n return params;\n}\nfunction interpolateParams(value, params, errors) {\n const original = value.toString();\n const str = original.replace(PARAM_REGEX, (_, varName) => {\n let localVal = params[varName];\n // this means that the value was never overridden by the data passed in by the user\n if (localVal == null) {\n errors.push(invalidParamValue(varName));\n localVal = '';\n }\n return localVal.toString();\n });\n // we do this to assert that numeric values stay as they are\n return str == original ? value : str;\n}\nfunction iteratorToArray(iterator) {\n const arr = [];\n let item = iterator.next();\n while (!item.done) {\n arr.push(item.value);\n item = iterator.next();\n }\n return arr;\n}\nconst DASH_CASE_REGEXP = /-+([a-z0-9])/g;\nfunction dashCaseToCamelCase(input) {\n return input.replace(DASH_CASE_REGEXP, (...m) => m[1].toUpperCase());\n}\nfunction camelCaseToDashCase(input) {\n return input.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();\n}\nfunction allowPreviousPlayerStylesMerge(duration, delay) {\n return duration === 0 || delay === 0;\n}\nfunction balancePreviousStylesIntoKeyframes(element, keyframes, previousStyles) {\n if (previousStyles.size && keyframes.length) {\n let startingKeyframe = keyframes[0];\n let missingStyleProps = [];\n previousStyles.forEach((val, prop) => {\n if (!startingKeyframe.has(prop)) {\n missingStyleProps.push(prop);\n }\n startingKeyframe.set(prop, val);\n });\n if (missingStyleProps.length) {\n for (let i = 1; i < keyframes.length; i++) {\n let kf = keyframes[i];\n missingStyleProps.forEach(prop => kf.set(prop, computeStyle(element, prop)));\n }\n }\n }\n return keyframes;\n}\nfunction visitDslNode(visitor, node, context) {\n switch (node.type) {\n case 7 /* AnimationMetadataType.Trigger */:\n return visitor.visitTrigger(node, context);\n case 0 /* AnimationMetadataType.State */:\n return visitor.visitState(node, context);\n case 1 /* AnimationMetadataType.Transition */:\n return visitor.visitTransition(node, context);\n case 2 /* AnimationMetadataType.Sequence */:\n return visitor.visitSequence(node, context);\n case 3 /* AnimationMetadataType.Group */:\n return visitor.visitGroup(node, context);\n case 4 /* AnimationMetadataType.Animate */:\n return visitor.visitAnimate(node, context);\n case 5 /* AnimationMetadataType.Keyframes */:\n return visitor.visitKeyframes(node, context);\n case 6 /* AnimationMetadataType.Style */:\n return visitor.visitStyle(node, context);\n case 8 /* AnimationMetadataType.Reference */:\n return visitor.visitReference(node, context);\n case 9 /* AnimationMetadataType.AnimateChild */:\n return visitor.visitAnimateChild(node, context);\n case 10 /* AnimationMetadataType.AnimateRef */:\n return visitor.visitAnimateRef(node, context);\n case 11 /* AnimationMetadataType.Query */:\n return visitor.visitQuery(node, context);\n case 12 /* AnimationMetadataType.Stagger */:\n return visitor.visitStagger(node, context);\n default:\n throw invalidNodeType(node.type);\n }\n}\nfunction computeStyle(element, prop) {\n return window.getComputedStyle(element)[prop];\n}\n\nfunction createListOfWarnings(warnings) {\n const LINE_START = '\\n - ';\n return `${LINE_START}${warnings.filter(Boolean).map(warning => warning).join(LINE_START)}`;\n}\nfunction warnValidation(warnings) {\n (typeof ngDevMode === 'undefined' || ngDevMode) &&\n console.warn(`animation validation warnings:${createListOfWarnings(warnings)}`);\n}\nfunction warnTriggerBuild(name, warnings) {\n (typeof ngDevMode === 'undefined' || ngDevMode) &&\n console.warn(`The animation trigger \"${name}\" has built with the following warnings:${createListOfWarnings(warnings)}`);\n}\nfunction warnRegister(warnings) {\n (typeof ngDevMode === 'undefined' || ngDevMode) &&\n console.warn(`Animation built with the following warnings:${createListOfWarnings(warnings)}`);\n}\nfunction triggerParsingWarnings(name, warnings) {\n (typeof ngDevMode === 'undefined' || ngDevMode) &&\n console.warn(`Animation parsing for the ${name} trigger presents the following warnings:${createListOfWarnings(warnings)}`);\n}\nfunction pushUnrecognizedPropertiesWarning(warnings, props) {\n if (props.length) {\n warnings.push(`The following provided properties are not recognized: ${props.join(', ')}`);\n }\n}\n\nconst ANY_STATE = '*';\nfunction parseTransitionExpr(transitionValue, errors) {\n const expressions = [];\n if (typeof transitionValue == 'string') {\n transitionValue.split(/\\s*,\\s*/).forEach(str => parseInnerTransitionStr(str, expressions, errors));\n }\n else {\n expressions.push(transitionValue);\n }\n return expressions;\n}\nfunction parseInnerTransitionStr(eventStr, expressions, errors) {\n if (eventStr[0] == ':') {\n const result = parseAnimationAlias(eventStr, errors);\n if (typeof result == 'function') {\n expressions.push(result);\n return;\n }\n eventStr = result;\n }\n const match = eventStr.match(/^(\\*|[-\\w]+)\\s*()\\s*(\\*|[-\\w]+)$/);\n if (match == null || match.length < 4) {\n errors.push(invalidExpression(eventStr));\n return expressions;\n }\n const fromState = match[1];\n const separator = match[2];\n const toState = match[3];\n expressions.push(makeLambdaFromStates(fromState, toState));\n const isFullAnyStateExpr = fromState == ANY_STATE && toState == ANY_STATE;\n if (separator[0] == '<' && !isFullAnyStateExpr) {\n expressions.push(makeLambdaFromStates(toState, fromState));\n }\n}\nfunction parseAnimationAlias(alias, errors) {\n switch (alias) {\n case ':enter':\n return 'void => *';\n case ':leave':\n return '* => void';\n case ':increment':\n return (fromState, toState) => parseFloat(toState) > parseFloat(fromState);\n case ':decrement':\n return (fromState, toState) => parseFloat(toState) < parseFloat(fromState);\n default:\n errors.push(invalidTransitionAlias(alias));\n return '* => *';\n }\n}\n// DO NOT REFACTOR ... keep the follow set instantiations\n// with the values intact (closure compiler for some reason\n// removes follow-up lines that add the values outside of\n// the constructor...\nconst TRUE_BOOLEAN_VALUES = new Set(['true', '1']);\nconst FALSE_BOOLEAN_VALUES = new Set(['false', '0']);\nfunction makeLambdaFromStates(lhs, rhs) {\n const LHS_MATCH_BOOLEAN = TRUE_BOOLEAN_VALUES.has(lhs) || FALSE_BOOLEAN_VALUES.has(lhs);\n const RHS_MATCH_BOOLEAN = TRUE_BOOLEAN_VALUES.has(rhs) || FALSE_BOOLEAN_VALUES.has(rhs);\n return (fromState, toState) => {\n let lhsMatch = lhs == ANY_STATE || lhs == fromState;\n let rhsMatch = rhs == ANY_STATE || rhs == toState;\n if (!lhsMatch && LHS_MATCH_BOOLEAN && typeof fromState === 'boolean') {\n lhsMatch = fromState ? TRUE_BOOLEAN_VALUES.has(lhs) : FALSE_BOOLEAN_VALUES.has(lhs);\n }\n if (!rhsMatch && RHS_MATCH_BOOLEAN && typeof toState === 'boolean') {\n rhsMatch = toState ? TRUE_BOOLEAN_VALUES.has(rhs) : FALSE_BOOLEAN_VALUES.has(rhs);\n }\n return lhsMatch && rhsMatch;\n };\n}\n\nconst SELF_TOKEN = ':self';\nconst SELF_TOKEN_REGEX = new RegExp(`s*${SELF_TOKEN}s*,?`, 'g');\n/*\n * [Validation]\n * The visitor code below will traverse the animation AST generated by the animation verb functions\n * (the output is a tree of objects) and attempt to perform a series of validations on the data. The\n * following corner-cases will be validated:\n *\n * 1. Overlap of animations\n * Given that a CSS property cannot be animated in more than one place at the same time, it's\n * important that this behavior is detected and validated. The way in which this occurs is that\n * each time a style property is examined, a string-map containing the property will be updated with\n * the start and end times for when the property is used within an animation step.\n *\n * If there are two or more parallel animations that are currently running (these are invoked by the\n * group()) on the same element then the validator will throw an error. Since the start/end timing\n * values are collected for each property then if the current animation step is animating the same\n * property and its timing values fall anywhere into the window of time that the property is\n * currently being animated within then this is what causes an error.\n *\n * 2. Timing values\n * The validator will validate to see if a timing value of `duration delay easing` or\n * `durationNumber` is valid or not.\n *\n * (note that upon validation the code below will replace the timing data with an object containing\n * {duration,delay,easing}.\n *\n * 3. Offset Validation\n * Each of the style() calls are allowed to have an offset value when placed inside of keyframes().\n * Offsets within keyframes() are considered valid when:\n *\n * - No offsets are used at all\n * - Each style() entry contains an offset value\n * - Each offset is between 0 and 1\n * - Each offset is greater to or equal than the previous one\n *\n * Otherwise an error will be thrown.\n */\nfunction buildAnimationAst(driver, metadata, errors, warnings) {\n return new AnimationAstBuilderVisitor(driver).build(metadata, errors, warnings);\n}\nconst ROOT_SELECTOR = '';\nclass AnimationAstBuilderVisitor {\n constructor(_driver) {\n this._driver = _driver;\n }\n build(metadata, errors, warnings) {\n const context = new AnimationAstBuilderContext(errors);\n this._resetContextStyleTimingState(context);\n const ast = visitDslNode(this, normalizeAnimationEntry(metadata), context);\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (context.unsupportedCSSPropertiesFound.size) {\n pushUnrecognizedPropertiesWarning(warnings, [...context.unsupportedCSSPropertiesFound.keys()]);\n }\n }\n return ast;\n }\n _resetContextStyleTimingState(context) {\n context.currentQuerySelector = ROOT_SELECTOR;\n context.collectedStyles = new Map();\n context.collectedStyles.set(ROOT_SELECTOR, new Map());\n context.currentTime = 0;\n }\n visitTrigger(metadata, context) {\n let queryCount = context.queryCount = 0;\n let depCount = context.depCount = 0;\n const states = [];\n const transitions = [];\n if (metadata.name.charAt(0) == '@') {\n context.errors.push(invalidTrigger());\n }\n metadata.definitions.forEach(def => {\n this._resetContextStyleTimingState(context);\n if (def.type == 0 /* AnimationMetadataType.State */) {\n const stateDef = def;\n const name = stateDef.name;\n name.toString().split(/\\s*,\\s*/).forEach(n => {\n stateDef.name = n;\n states.push(this.visitState(stateDef, context));\n });\n stateDef.name = name;\n }\n else if (def.type == 1 /* AnimationMetadataType.Transition */) {\n const transition = this.visitTransition(def, context);\n queryCount += transition.queryCount;\n depCount += transition.depCount;\n transitions.push(transition);\n }\n else {\n context.errors.push(invalidDefinition());\n }\n });\n return {\n type: 7 /* AnimationMetadataType.Trigger */,\n name: metadata.name,\n states,\n transitions,\n queryCount,\n depCount,\n options: null\n };\n }\n visitState(metadata, context) {\n const styleAst = this.visitStyle(metadata.styles, context);\n const astParams = (metadata.options && metadata.options.params) || null;\n if (styleAst.containsDynamicStyles) {\n const missingSubs = new Set();\n const params = astParams || {};\n styleAst.styles.forEach(style => {\n if (style instanceof Map) {\n style.forEach(value => {\n extractStyleParams(value).forEach(sub => {\n if (!params.hasOwnProperty(sub)) {\n missingSubs.add(sub);\n }\n });\n });\n }\n });\n if (missingSubs.size) {\n const missingSubsArr = iteratorToArray(missingSubs.values());\n context.errors.push(invalidState(metadata.name, missingSubsArr));\n }\n }\n return {\n type: 0 /* AnimationMetadataType.State */,\n name: metadata.name,\n style: styleAst,\n options: astParams ? { params: astParams } : null\n };\n }\n visitTransition(metadata, context) {\n context.queryCount = 0;\n context.depCount = 0;\n const animation = visitDslNode(this, normalizeAnimationEntry(metadata.animation), context);\n const matchers = parseTransitionExpr(metadata.expr, context.errors);\n return {\n type: 1 /* AnimationMetadataType.Transition */,\n matchers,\n animation,\n queryCount: context.queryCount,\n depCount: context.depCount,\n options: normalizeAnimationOptions(metadata.options)\n };\n }\n visitSequence(metadata, context) {\n return {\n type: 2 /* AnimationMetadataType.Sequence */,\n steps: metadata.steps.map(s => visitDslNode(this, s, context)),\n options: normalizeAnimationOptions(metadata.options)\n };\n }\n visitGroup(metadata, context) {\n const currentTime = context.currentTime;\n let furthestTime = 0;\n const steps = metadata.steps.map(step => {\n context.currentTime = currentTime;\n const innerAst = visitDslNode(this, step, context);\n furthestTime = Math.max(furthestTime, context.currentTime);\n return innerAst;\n });\n context.currentTime = furthestTime;\n return {\n type: 3 /* AnimationMetadataType.Group */,\n steps,\n options: normalizeAnimationOptions(metadata.options)\n };\n }\n visitAnimate(metadata, context) {\n const timingAst = constructTimingAst(metadata.timings, context.errors);\n context.currentAnimateTimings = timingAst;\n let styleAst;\n let styleMetadata = metadata.styles ? metadata.styles : style({});\n if (styleMetadata.type == 5 /* AnimationMetadataType.Keyframes */) {\n styleAst = this.visitKeyframes(styleMetadata, context);\n }\n else {\n let styleMetadata = metadata.styles;\n let isEmpty = false;\n if (!styleMetadata) {\n isEmpty = true;\n const newStyleData = {};\n if (timingAst.easing) {\n newStyleData['easing'] = timingAst.easing;\n }\n styleMetadata = style(newStyleData);\n }\n context.currentTime += timingAst.duration + timingAst.delay;\n const _styleAst = this.visitStyle(styleMetadata, context);\n _styleAst.isEmptyStep = isEmpty;\n styleAst = _styleAst;\n }\n context.currentAnimateTimings = null;\n return {\n type: 4 /* AnimationMetadataType.Animate */,\n timings: timingAst,\n style: styleAst,\n options: null\n };\n }\n visitStyle(metadata, context) {\n const ast = this._makeStyleAst(metadata, context);\n this._validateStyleAst(ast, context);\n return ast;\n }\n _makeStyleAst(metadata, context) {\n const styles = [];\n const metadataStyles = Array.isArray(metadata.styles) ? metadata.styles : [metadata.styles];\n for (let styleTuple of metadataStyles) {\n if (typeof styleTuple === 'string') {\n if (styleTuple === AUTO_STYLE) {\n styles.push(styleTuple);\n }\n else {\n context.errors.push(invalidStyleValue(styleTuple));\n }\n }\n else {\n styles.push(convertToMap(styleTuple));\n }\n }\n let containsDynamicStyles = false;\n let collectedEasing = null;\n styles.forEach(styleData => {\n if (styleData instanceof Map) {\n if (styleData.has('easing')) {\n collectedEasing = styleData.get('easing');\n styleData.delete('easing');\n }\n if (!containsDynamicStyles) {\n for (let value of styleData.values()) {\n if (value.toString().indexOf(SUBSTITUTION_EXPR_START) >= 0) {\n containsDynamicStyles = true;\n break;\n }\n }\n }\n }\n });\n return {\n type: 6 /* AnimationMetadataType.Style */,\n styles,\n easing: collectedEasing,\n offset: metadata.offset,\n containsDynamicStyles,\n options: null\n };\n }\n _validateStyleAst(ast, context) {\n const timings = context.currentAnimateTimings;\n let endTime = context.currentTime;\n let startTime = context.currentTime;\n if (timings && startTime > 0) {\n startTime -= timings.duration + timings.delay;\n }\n ast.styles.forEach(tuple => {\n if (typeof tuple === 'string')\n return;\n tuple.forEach((value, prop) => {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (!this._driver.validateStyleProperty(prop)) {\n tuple.delete(prop);\n context.unsupportedCSSPropertiesFound.add(prop);\n return;\n }\n }\n // This is guaranteed to have a defined Map at this querySelector location making it\n // safe to add the assertion here. It is set as a default empty map in prior methods.\n const collectedStyles = context.collectedStyles.get(context.currentQuerySelector);\n const collectedEntry = collectedStyles.get(prop);\n let updateCollectedStyle = true;\n if (collectedEntry) {\n if (startTime != endTime && startTime >= collectedEntry.startTime &&\n endTime <= collectedEntry.endTime) {\n context.errors.push(invalidParallelAnimation(prop, collectedEntry.startTime, collectedEntry.endTime, startTime, endTime));\n updateCollectedStyle = false;\n }\n // we always choose the smaller start time value since we\n // want to have a record of the entire animation window where\n // the style property is being animated in between\n startTime = collectedEntry.startTime;\n }\n if (updateCollectedStyle) {\n collectedStyles.set(prop, { startTime, endTime });\n }\n if (context.options) {\n validateStyleParams(value, context.options, context.errors);\n }\n });\n });\n }\n visitKeyframes(metadata, context) {\n const ast = { type: 5 /* AnimationMetadataType.Keyframes */, styles: [], options: null };\n if (!context.currentAnimateTimings) {\n context.errors.push(invalidKeyframes());\n return ast;\n }\n const MAX_KEYFRAME_OFFSET = 1;\n let totalKeyframesWithOffsets = 0;\n const offsets = [];\n let offsetsOutOfOrder = false;\n let keyframesOutOfRange = false;\n let previousOffset = 0;\n const keyframes = metadata.steps.map(styles => {\n const style = this._makeStyleAst(styles, context);\n let offsetVal = style.offset != null ? style.offset : consumeOffset(style.styles);\n let offset = 0;\n if (offsetVal != null) {\n totalKeyframesWithOffsets++;\n offset = style.offset = offsetVal;\n }\n keyframesOutOfRange = keyframesOutOfRange || offset < 0 || offset > 1;\n offsetsOutOfOrder = offsetsOutOfOrder || offset < previousOffset;\n previousOffset = offset;\n offsets.push(offset);\n return style;\n });\n if (keyframesOutOfRange) {\n context.errors.push(invalidOffset());\n }\n if (offsetsOutOfOrder) {\n context.errors.push(keyframeOffsetsOutOfOrder());\n }\n const length = metadata.steps.length;\n let generatedOffset = 0;\n if (totalKeyframesWithOffsets > 0 && totalKeyframesWithOffsets < length) {\n context.errors.push(keyframesMissingOffsets());\n }\n else if (totalKeyframesWithOffsets == 0) {\n generatedOffset = MAX_KEYFRAME_OFFSET / (length - 1);\n }\n const limit = length - 1;\n const currentTime = context.currentTime;\n const currentAnimateTimings = context.currentAnimateTimings;\n const animateDuration = currentAnimateTimings.duration;\n keyframes.forEach((kf, i) => {\n const offset = generatedOffset > 0 ? (i == limit ? 1 : (generatedOffset * i)) : offsets[i];\n const durationUpToThisFrame = offset * animateDuration;\n context.currentTime = currentTime + currentAnimateTimings.delay + durationUpToThisFrame;\n currentAnimateTimings.duration = durationUpToThisFrame;\n this._validateStyleAst(kf, context);\n kf.offset = offset;\n ast.styles.push(kf);\n });\n return ast;\n }\n visitReference(metadata, context) {\n return {\n type: 8 /* AnimationMetadataType.Reference */,\n animation: visitDslNode(this, normalizeAnimationEntry(metadata.animation), context),\n options: normalizeAnimationOptions(metadata.options)\n };\n }\n visitAnimateChild(metadata, context) {\n context.depCount++;\n return {\n type: 9 /* AnimationMetadataType.AnimateChild */,\n options: normalizeAnimationOptions(metadata.options)\n };\n }\n visitAnimateRef(metadata, context) {\n return {\n type: 10 /* AnimationMetadataType.AnimateRef */,\n animation: this.visitReference(metadata.animation, context),\n options: normalizeAnimationOptions(metadata.options)\n };\n }\n visitQuery(metadata, context) {\n const parentSelector = context.currentQuerySelector;\n const options = (metadata.options || {});\n context.queryCount++;\n context.currentQuery = metadata;\n const [selector, includeSelf] = normalizeSelector(metadata.selector);\n context.currentQuerySelector =\n parentSelector.length ? (parentSelector + ' ' + selector) : selector;\n getOrSetDefaultValue(context.collectedStyles, context.currentQuerySelector, new Map());\n const animation = visitDslNode(this, normalizeAnimationEntry(metadata.animation), context);\n context.currentQuery = null;\n context.currentQuerySelector = parentSelector;\n return {\n type: 11 /* AnimationMetadataType.Query */,\n selector,\n limit: options.limit || 0,\n optional: !!options.optional,\n includeSelf,\n animation,\n originalSelector: metadata.selector,\n options: normalizeAnimationOptions(metadata.options)\n };\n }\n visitStagger(metadata, context) {\n if (!context.currentQuery) {\n context.errors.push(invalidStagger());\n }\n const timings = metadata.timings === 'full' ?\n { duration: 0, delay: 0, easing: 'full' } :\n resolveTiming(metadata.timings, context.errors, true);\n return {\n type: 12 /* AnimationMetadataType.Stagger */,\n animation: visitDslNode(this, normalizeAnimationEntry(metadata.animation), context),\n timings,\n options: null\n };\n }\n}\nfunction normalizeSelector(selector) {\n const hasAmpersand = selector.split(/\\s*,\\s*/).find(token => token == SELF_TOKEN) ? true : false;\n if (hasAmpersand) {\n selector = selector.replace(SELF_TOKEN_REGEX, '');\n }\n // Note: the :enter and :leave aren't normalized here since those\n // selectors are filled in at runtime during timeline building\n selector = selector.replace(/@\\*/g, NG_TRIGGER_SELECTOR)\n .replace(/@\\w+/g, match => NG_TRIGGER_SELECTOR + '-' + match.slice(1))\n .replace(/:animating/g, NG_ANIMATING_SELECTOR);\n return [selector, hasAmpersand];\n}\nfunction normalizeParams(obj) {\n return obj ? copyObj(obj) : null;\n}\nclass AnimationAstBuilderContext {\n constructor(errors) {\n this.errors = errors;\n this.queryCount = 0;\n this.depCount = 0;\n this.currentTransition = null;\n this.currentQuery = null;\n this.currentQuerySelector = null;\n this.currentAnimateTimings = null;\n this.currentTime = 0;\n this.collectedStyles = new Map();\n this.options = null;\n this.unsupportedCSSPropertiesFound = new Set();\n }\n}\nfunction consumeOffset(styles) {\n if (typeof styles == 'string')\n return null;\n let offset = null;\n if (Array.isArray(styles)) {\n styles.forEach(styleTuple => {\n if (styleTuple instanceof Map && styleTuple.has('offset')) {\n const obj = styleTuple;\n offset = parseFloat(obj.get('offset'));\n obj.delete('offset');\n }\n });\n }\n else if (styles instanceof Map && styles.has('offset')) {\n const obj = styles;\n offset = parseFloat(obj.get('offset'));\n obj.delete('offset');\n }\n return offset;\n}\nfunction constructTimingAst(value, errors) {\n if (value.hasOwnProperty('duration')) {\n return value;\n }\n if (typeof value == 'number') {\n const duration = resolveTiming(value, errors).duration;\n return makeTimingAst(duration, 0, '');\n }\n const strValue = value;\n const isDynamic = strValue.split(/\\s+/).some(v => v.charAt(0) == '{' && v.charAt(1) == '{');\n if (isDynamic) {\n const ast = makeTimingAst(0, 0, '');\n ast.dynamic = true;\n ast.strValue = strValue;\n return ast;\n }\n const timings = resolveTiming(strValue, errors);\n return makeTimingAst(timings.duration, timings.delay, timings.easing);\n}\nfunction normalizeAnimationOptions(options) {\n if (options) {\n options = copyObj(options);\n if (options['params']) {\n options['params'] = normalizeParams(options['params']);\n }\n }\n else {\n options = {};\n }\n return options;\n}\nfunction makeTimingAst(duration, delay, easing) {\n return { duration, delay, easing };\n}\n\nfunction createTimelineInstruction(element, keyframes, preStyleProps, postStyleProps, duration, delay, easing = null, subTimeline = false) {\n return {\n type: 1 /* AnimationTransitionInstructionType.TimelineAnimation */,\n element,\n keyframes,\n preStyleProps,\n postStyleProps,\n duration,\n delay,\n totalTime: duration + delay,\n easing,\n subTimeline\n };\n}\n\nclass ElementInstructionMap {\n constructor() {\n this._map = new Map();\n }\n get(element) {\n return this._map.get(element) || [];\n }\n append(element, instructions) {\n let existingInstructions = this._map.get(element);\n if (!existingInstructions) {\n this._map.set(element, existingInstructions = []);\n }\n existingInstructions.push(...instructions);\n }\n has(element) {\n return this._map.has(element);\n }\n clear() {\n this._map.clear();\n }\n}\n\nconst ONE_FRAME_IN_MILLISECONDS = 1;\nconst ENTER_TOKEN = ':enter';\nconst ENTER_TOKEN_REGEX = new RegExp(ENTER_TOKEN, 'g');\nconst LEAVE_TOKEN = ':leave';\nconst LEAVE_TOKEN_REGEX = new RegExp(LEAVE_TOKEN, 'g');\n/*\n * The code within this file aims to generate web-animations-compatible keyframes from Angular's\n * animation DSL code.\n *\n * The code below will be converted from:\n *\n * ```\n * sequence([\n * style({ opacity: 0 }),\n * animate(1000, style({ opacity: 0 }))\n * ])\n * ```\n *\n * To:\n * ```\n * keyframes = [{ opacity: 0, offset: 0 }, { opacity: 1, offset: 1 }]\n * duration = 1000\n * delay = 0\n * easing = ''\n * ```\n *\n * For this operation to cover the combination of animation verbs (style, animate, group, etc...) a\n * combination of AST traversal and merge-sort-like algorithms are used.\n *\n * [AST Traversal]\n * Each of the animation verbs, when executed, will return an string-map object representing what\n * type of action it is (style, animate, group, etc...) and the data associated with it. This means\n * that when functional composition mix of these functions is evaluated (like in the example above)\n * then it will end up producing a tree of objects representing the animation itself.\n *\n * When this animation object tree is processed by the visitor code below it will visit each of the\n * verb statements within the visitor. And during each visit it will build the context of the\n * animation keyframes by interacting with the `TimelineBuilder`.\n *\n * [TimelineBuilder]\n * This class is responsible for tracking the styles and building a series of keyframe objects for a\n * timeline between a start and end time. The builder starts off with an initial timeline and each\n * time the AST comes across a `group()`, `keyframes()` or a combination of the two within a\n * `sequence()` then it will generate a sub timeline for each step as well as a new one after\n * they are complete.\n *\n * As the AST is traversed, the timing state on each of the timelines will be incremented. If a sub\n * timeline was created (based on one of the cases above) then the parent timeline will attempt to\n * merge the styles used within the sub timelines into itself (only with group() this will happen).\n * This happens with a merge operation (much like how the merge works in mergeSort) and it will only\n * copy the most recently used styles from the sub timelines into the parent timeline. This ensures\n * that if the styles are used later on in another phase of the animation then they will be the most\n * up-to-date values.\n *\n * [How Missing Styles Are Updated]\n * Each timeline has a `backFill` property which is responsible for filling in new styles into\n * already processed keyframes if a new style shows up later within the animation sequence.\n *\n * ```\n * sequence([\n * style({ width: 0 }),\n * animate(1000, style({ width: 100 })),\n * animate(1000, style({ width: 200 })),\n * animate(1000, style({ width: 300 }))\n * animate(1000, style({ width: 400, height: 400 })) // notice how `height` doesn't exist anywhere\n * else\n * ])\n * ```\n *\n * What is happening here is that the `height` value is added later in the sequence, but is missing\n * from all previous animation steps. Therefore when a keyframe is created it would also be missing\n * from all previous keyframes up until where it is first used. For the timeline keyframe generation\n * to properly fill in the style it will place the previous value (the value from the parent\n * timeline) or a default value of `*` into the backFill map. The `copyStyles` method in util.ts\n * handles propagating that backfill map to the styles object.\n *\n * When a sub-timeline is created it will have its own backFill property. This is done so that\n * styles present within the sub-timeline do not accidentally seep into the previous/future timeline\n * keyframes\n *\n * [Validation]\n * The code in this file is not responsible for validation. That functionality happens with within\n * the `AnimationValidatorVisitor` code.\n */\nfunction buildAnimationTimelines(driver, rootElement, ast, enterClassName, leaveClassName, startingStyles = new Map(), finalStyles = new Map(), options, subInstructions, errors = []) {\n return new AnimationTimelineBuilderVisitor().buildKeyframes(driver, rootElement, ast, enterClassName, leaveClassName, startingStyles, finalStyles, options, subInstructions, errors);\n}\nclass AnimationTimelineBuilderVisitor {\n buildKeyframes(driver, rootElement, ast, enterClassName, leaveClassName, startingStyles, finalStyles, options, subInstructions, errors = []) {\n subInstructions = subInstructions || new ElementInstructionMap();\n const context = new AnimationTimelineContext(driver, rootElement, subInstructions, enterClassName, leaveClassName, errors, []);\n context.options = options;\n const delay = options.delay ? resolveTimingValue(options.delay) : 0;\n context.currentTimeline.delayNextStep(delay);\n context.currentTimeline.setStyles([startingStyles], null, context.errors, options);\n visitDslNode(this, ast, context);\n // this checks to see if an actual animation happened\n const timelines = context.timelines.filter(timeline => timeline.containsAnimation());\n // note: we just want to apply the final styles for the rootElement, so we do not\n // just apply the styles to the last timeline but the last timeline which\n // element is the root one (basically `*`-styles are replaced with the actual\n // state style values only for the root element)\n if (timelines.length && finalStyles.size) {\n let lastRootTimeline;\n for (let i = timelines.length - 1; i >= 0; i--) {\n const timeline = timelines[i];\n if (timeline.element === rootElement) {\n lastRootTimeline = timeline;\n break;\n }\n }\n if (lastRootTimeline && !lastRootTimeline.allowOnlyTimelineStyles()) {\n lastRootTimeline.setStyles([finalStyles], null, context.errors, options);\n }\n }\n return timelines.length ?\n timelines.map(timeline => timeline.buildKeyframes()) :\n [createTimelineInstruction(rootElement, [], [], [], 0, delay, '', false)];\n }\n visitTrigger(ast, context) {\n // these values are not visited in this AST\n }\n visitState(ast, context) {\n // these values are not visited in this AST\n }\n visitTransition(ast, context) {\n // these values are not visited in this AST\n }\n visitAnimateChild(ast, context) {\n const elementInstructions = context.subInstructions.get(context.element);\n if (elementInstructions) {\n const innerContext = context.createSubContext(ast.options);\n const startTime = context.currentTimeline.currentTime;\n const endTime = this._visitSubInstructions(elementInstructions, innerContext, innerContext.options);\n if (startTime != endTime) {\n // we do this on the upper context because we created a sub context for\n // the sub child animations\n context.transformIntoNewTimeline(endTime);\n }\n }\n context.previousNode = ast;\n }\n visitAnimateRef(ast, context) {\n const innerContext = context.createSubContext(ast.options);\n innerContext.transformIntoNewTimeline();\n this._applyAnimationRefDelays([ast.options, ast.animation.options], context, innerContext);\n this.visitReference(ast.animation, innerContext);\n context.transformIntoNewTimeline(innerContext.currentTimeline.currentTime);\n context.previousNode = ast;\n }\n _applyAnimationRefDelays(animationsRefsOptions, context, innerContext) {\n for (const animationRefOptions of animationsRefsOptions) {\n const animationDelay = animationRefOptions?.delay;\n if (animationDelay) {\n const animationDelayValue = typeof animationDelay === 'number' ?\n animationDelay :\n resolveTimingValue(interpolateParams(animationDelay, animationRefOptions?.params ?? {}, context.errors));\n innerContext.delayNextStep(animationDelayValue);\n }\n }\n }\n _visitSubInstructions(instructions, context, options) {\n const startTime = context.currentTimeline.currentTime;\n let furthestTime = startTime;\n // this is a special-case for when a user wants to skip a sub\n // animation from being fired entirely.\n const duration = options.duration != null ? resolveTimingValue(options.duration) : null;\n const delay = options.delay != null ? resolveTimingValue(options.delay) : null;\n if (duration !== 0) {\n instructions.forEach(instruction => {\n const instructionTimings = context.appendInstructionToTimeline(instruction, duration, delay);\n furthestTime =\n Math.max(furthestTime, instructionTimings.duration + instructionTimings.delay);\n });\n }\n return furthestTime;\n }\n visitReference(ast, context) {\n context.updateOptions(ast.options, true);\n visitDslNode(this, ast.animation, context);\n context.previousNode = ast;\n }\n visitSequence(ast, context) {\n const subContextCount = context.subContextCount;\n let ctx = context;\n const options = ast.options;\n if (options && (options.params || options.delay)) {\n ctx = context.createSubContext(options);\n ctx.transformIntoNewTimeline();\n if (options.delay != null) {\n if (ctx.previousNode.type == 6 /* AnimationMetadataType.Style */) {\n ctx.currentTimeline.snapshotCurrentStyles();\n ctx.previousNode = DEFAULT_NOOP_PREVIOUS_NODE;\n }\n const delay = resolveTimingValue(options.delay);\n ctx.delayNextStep(delay);\n }\n }\n if (ast.steps.length) {\n ast.steps.forEach(s => visitDslNode(this, s, ctx));\n // this is here just in case the inner steps only contain or end with a style() call\n ctx.currentTimeline.applyStylesToKeyframe();\n // this means that some animation function within the sequence\n // ended up creating a sub timeline (which means the current\n // timeline cannot overlap with the contents of the sequence)\n if (ctx.subContextCount > subContextCount) {\n ctx.transformIntoNewTimeline();\n }\n }\n context.previousNode = ast;\n }\n visitGroup(ast, context) {\n const innerTimelines = [];\n let furthestTime = context.currentTimeline.currentTime;\n const delay = ast.options && ast.options.delay ? resolveTimingValue(ast.options.delay) : 0;\n ast.steps.forEach(s => {\n const innerContext = context.createSubContext(ast.options);\n if (delay) {\n innerContext.delayNextStep(delay);\n }\n visitDslNode(this, s, innerContext);\n furthestTime = Math.max(furthestTime, innerContext.currentTimeline.currentTime);\n innerTimelines.push(innerContext.currentTimeline);\n });\n // this operation is run after the AST loop because otherwise\n // if the parent timeline's collected styles were updated then\n // it would pass in invalid data into the new-to-be forked items\n innerTimelines.forEach(timeline => context.currentTimeline.mergeTimelineCollectedStyles(timeline));\n context.transformIntoNewTimeline(furthestTime);\n context.previousNode = ast;\n }\n _visitTiming(ast, context) {\n if (ast.dynamic) {\n const strValue = ast.strValue;\n const timingValue = context.params ? interpolateParams(strValue, context.params, context.errors) : strValue;\n return resolveTiming(timingValue, context.errors);\n }\n else {\n return { duration: ast.duration, delay: ast.delay, easing: ast.easing };\n }\n }\n visitAnimate(ast, context) {\n const timings = context.currentAnimateTimings = this._visitTiming(ast.timings, context);\n const timeline = context.currentTimeline;\n if (timings.delay) {\n context.incrementTime(timings.delay);\n timeline.snapshotCurrentStyles();\n }\n const style = ast.style;\n if (style.type == 5 /* AnimationMetadataType.Keyframes */) {\n this.visitKeyframes(style, context);\n }\n else {\n context.incrementTime(timings.duration);\n this.visitStyle(style, context);\n timeline.applyStylesToKeyframe();\n }\n context.currentAnimateTimings = null;\n context.previousNode = ast;\n }\n visitStyle(ast, context) {\n const timeline = context.currentTimeline;\n const timings = context.currentAnimateTimings;\n // this is a special case for when a style() call\n // directly follows an animate() call (but not inside of an animate() call)\n if (!timings && timeline.hasCurrentStyleProperties()) {\n timeline.forwardFrame();\n }\n const easing = (timings && timings.easing) || ast.easing;\n if (ast.isEmptyStep) {\n timeline.applyEmptyStep(easing);\n }\n else {\n timeline.setStyles(ast.styles, easing, context.errors, context.options);\n }\n context.previousNode = ast;\n }\n visitKeyframes(ast, context) {\n const currentAnimateTimings = context.currentAnimateTimings;\n const startTime = (context.currentTimeline).duration;\n const duration = currentAnimateTimings.duration;\n const innerContext = context.createSubContext();\n const innerTimeline = innerContext.currentTimeline;\n innerTimeline.easing = currentAnimateTimings.easing;\n ast.styles.forEach(step => {\n const offset = step.offset || 0;\n innerTimeline.forwardTime(offset * duration);\n innerTimeline.setStyles(step.styles, step.easing, context.errors, context.options);\n innerTimeline.applyStylesToKeyframe();\n });\n // this will ensure that the parent timeline gets all the styles from\n // the child even if the new timeline below is not used\n context.currentTimeline.mergeTimelineCollectedStyles(innerTimeline);\n // we do this because the window between this timeline and the sub timeline\n // should ensure that the styles within are exactly the same as they were before\n context.transformIntoNewTimeline(startTime + duration);\n context.previousNode = ast;\n }\n visitQuery(ast, context) {\n // in the event that the first step before this is a style step we need\n // to ensure the styles are applied before the children are animated\n const startTime = context.currentTimeline.currentTime;\n const options = (ast.options || {});\n const delay = options.delay ? resolveTimingValue(options.delay) : 0;\n if (delay &&\n (context.previousNode.type === 6 /* AnimationMetadataType.Style */ ||\n (startTime == 0 && context.currentTimeline.hasCurrentStyleProperties()))) {\n context.currentTimeline.snapshotCurrentStyles();\n context.previousNode = DEFAULT_NOOP_PREVIOUS_NODE;\n }\n let furthestTime = startTime;\n const elms = context.invokeQuery(ast.selector, ast.originalSelector, ast.limit, ast.includeSelf, options.optional ? true : false, context.errors);\n context.currentQueryTotal = elms.length;\n let sameElementTimeline = null;\n elms.forEach((element, i) => {\n context.currentQueryIndex = i;\n const innerContext = context.createSubContext(ast.options, element);\n if (delay) {\n innerContext.delayNextStep(delay);\n }\n if (element === context.element) {\n sameElementTimeline = innerContext.currentTimeline;\n }\n visitDslNode(this, ast.animation, innerContext);\n // this is here just incase the inner steps only contain or end\n // with a style() call (which is here to signal that this is a preparatory\n // call to style an element before it is animated again)\n innerContext.currentTimeline.applyStylesToKeyframe();\n const endTime = innerContext.currentTimeline.currentTime;\n furthestTime = Math.max(furthestTime, endTime);\n });\n context.currentQueryIndex = 0;\n context.currentQueryTotal = 0;\n context.transformIntoNewTimeline(furthestTime);\n if (sameElementTimeline) {\n context.currentTimeline.mergeTimelineCollectedStyles(sameElementTimeline);\n context.currentTimeline.snapshotCurrentStyles();\n }\n context.previousNode = ast;\n }\n visitStagger(ast, context) {\n const parentContext = context.parentContext;\n const tl = context.currentTimeline;\n const timings = ast.timings;\n const duration = Math.abs(timings.duration);\n const maxTime = duration * (context.currentQueryTotal - 1);\n let delay = duration * context.currentQueryIndex;\n let staggerTransformer = timings.duration < 0 ? 'reverse' : timings.easing;\n switch (staggerTransformer) {\n case 'reverse':\n delay = maxTime - delay;\n break;\n case 'full':\n delay = parentContext.currentStaggerTime;\n break;\n }\n const timeline = context.currentTimeline;\n if (delay) {\n timeline.delayNextStep(delay);\n }\n const startingTime = timeline.currentTime;\n visitDslNode(this, ast.animation, context);\n context.previousNode = ast;\n // time = duration + delay\n // the reason why this computation is so complex is because\n // the inner timeline may either have a delay value or a stretched\n // keyframe depending on if a subtimeline is not used or is used.\n parentContext.currentStaggerTime =\n (tl.currentTime - startingTime) + (tl.startTime - parentContext.currentTimeline.startTime);\n }\n}\nconst DEFAULT_NOOP_PREVIOUS_NODE = {};\nclass AnimationTimelineContext {\n constructor(_driver, element, subInstructions, _enterClassName, _leaveClassName, errors, timelines, initialTimeline) {\n this._driver = _driver;\n this.element = element;\n this.subInstructions = subInstructions;\n this._enterClassName = _enterClassName;\n this._leaveClassName = _leaveClassName;\n this.errors = errors;\n this.timelines = timelines;\n this.parentContext = null;\n this.currentAnimateTimings = null;\n this.previousNode = DEFAULT_NOOP_PREVIOUS_NODE;\n this.subContextCount = 0;\n this.options = {};\n this.currentQueryIndex = 0;\n this.currentQueryTotal = 0;\n this.currentStaggerTime = 0;\n this.currentTimeline = initialTimeline || new TimelineBuilder(this._driver, element, 0);\n timelines.push(this.currentTimeline);\n }\n get params() {\n return this.options.params;\n }\n updateOptions(options, skipIfExists) {\n if (!options)\n return;\n const newOptions = options;\n let optionsToUpdate = this.options;\n // NOTE: this will get patched up when other animation methods support duration overrides\n if (newOptions.duration != null) {\n optionsToUpdate.duration = resolveTimingValue(newOptions.duration);\n }\n if (newOptions.delay != null) {\n optionsToUpdate.delay = resolveTimingValue(newOptions.delay);\n }\n const newParams = newOptions.params;\n if (newParams) {\n let paramsToUpdate = optionsToUpdate.params;\n if (!paramsToUpdate) {\n paramsToUpdate = this.options.params = {};\n }\n Object.keys(newParams).forEach(name => {\n if (!skipIfExists || !paramsToUpdate.hasOwnProperty(name)) {\n paramsToUpdate[name] = interpolateParams(newParams[name], paramsToUpdate, this.errors);\n }\n });\n }\n }\n _copyOptions() {\n const options = {};\n if (this.options) {\n const oldParams = this.options.params;\n if (oldParams) {\n const params = options['params'] = {};\n Object.keys(oldParams).forEach(name => {\n params[name] = oldParams[name];\n });\n }\n }\n return options;\n }\n createSubContext(options = null, element, newTime) {\n const target = element || this.element;\n const context = new AnimationTimelineContext(this._driver, target, this.subInstructions, this._enterClassName, this._leaveClassName, this.errors, this.timelines, this.currentTimeline.fork(target, newTime || 0));\n context.previousNode = this.previousNode;\n context.currentAnimateTimings = this.currentAnimateTimings;\n context.options = this._copyOptions();\n context.updateOptions(options);\n context.currentQueryIndex = this.currentQueryIndex;\n context.currentQueryTotal = this.currentQueryTotal;\n context.parentContext = this;\n this.subContextCount++;\n return context;\n }\n transformIntoNewTimeline(newTime) {\n this.previousNode = DEFAULT_NOOP_PREVIOUS_NODE;\n this.currentTimeline = this.currentTimeline.fork(this.element, newTime);\n this.timelines.push(this.currentTimeline);\n return this.currentTimeline;\n }\n appendInstructionToTimeline(instruction, duration, delay) {\n const updatedTimings = {\n duration: duration != null ? duration : instruction.duration,\n delay: this.currentTimeline.currentTime + (delay != null ? delay : 0) + instruction.delay,\n easing: ''\n };\n const builder = new SubTimelineBuilder(this._driver, instruction.element, instruction.keyframes, instruction.preStyleProps, instruction.postStyleProps, updatedTimings, instruction.stretchStartingKeyframe);\n this.timelines.push(builder);\n return updatedTimings;\n }\n incrementTime(time) {\n this.currentTimeline.forwardTime(this.currentTimeline.duration + time);\n }\n delayNextStep(delay) {\n // negative delays are not yet supported\n if (delay > 0) {\n this.currentTimeline.delayNextStep(delay);\n }\n }\n invokeQuery(selector, originalSelector, limit, includeSelf, optional, errors) {\n let results = [];\n if (includeSelf) {\n results.push(this.element);\n }\n if (selector.length > 0) { // only if :self is used then the selector can be empty\n selector = selector.replace(ENTER_TOKEN_REGEX, '.' + this._enterClassName);\n selector = selector.replace(LEAVE_TOKEN_REGEX, '.' + this._leaveClassName);\n const multi = limit != 1;\n let elements = this._driver.query(this.element, selector, multi);\n if (limit !== 0) {\n elements = limit < 0 ? elements.slice(elements.length + limit, elements.length) :\n elements.slice(0, limit);\n }\n results.push(...elements);\n }\n if (!optional && results.length == 0) {\n errors.push(invalidQuery(originalSelector));\n }\n return results;\n }\n}\nclass TimelineBuilder {\n constructor(_driver, element, startTime, _elementTimelineStylesLookup) {\n this._driver = _driver;\n this.element = element;\n this.startTime = startTime;\n this._elementTimelineStylesLookup = _elementTimelineStylesLookup;\n this.duration = 0;\n this.easing = null;\n this._previousKeyframe = new Map();\n this._currentKeyframe = new Map();\n this._keyframes = new Map();\n this._styleSummary = new Map();\n this._localTimelineStyles = new Map();\n this._pendingStyles = new Map();\n this._backFill = new Map();\n this._currentEmptyStepKeyframe = null;\n if (!this._elementTimelineStylesLookup) {\n this._elementTimelineStylesLookup = new Map();\n }\n this._globalTimelineStyles = this._elementTimelineStylesLookup.get(element);\n if (!this._globalTimelineStyles) {\n this._globalTimelineStyles = this._localTimelineStyles;\n this._elementTimelineStylesLookup.set(element, this._localTimelineStyles);\n }\n this._loadKeyframe();\n }\n containsAnimation() {\n switch (this._keyframes.size) {\n case 0:\n return false;\n case 1:\n return this.hasCurrentStyleProperties();\n default:\n return true;\n }\n }\n hasCurrentStyleProperties() {\n return this._currentKeyframe.size > 0;\n }\n get currentTime() {\n return this.startTime + this.duration;\n }\n delayNextStep(delay) {\n // in the event that a style() step is placed right before a stagger()\n // and that style() step is the very first style() value in the animation\n // then we need to make a copy of the keyframe [0, copy, 1] so that the delay\n // properly applies the style() values to work with the stagger...\n const hasPreStyleStep = this._keyframes.size === 1 && this._pendingStyles.size;\n if (this.duration || hasPreStyleStep) {\n this.forwardTime(this.currentTime + delay);\n if (hasPreStyleStep) {\n this.snapshotCurrentStyles();\n }\n }\n else {\n this.startTime += delay;\n }\n }\n fork(element, currentTime) {\n this.applyStylesToKeyframe();\n return new TimelineBuilder(this._driver, element, currentTime || this.currentTime, this._elementTimelineStylesLookup);\n }\n _loadKeyframe() {\n if (this._currentKeyframe) {\n this._previousKeyframe = this._currentKeyframe;\n }\n this._currentKeyframe = this._keyframes.get(this.duration);\n if (!this._currentKeyframe) {\n this._currentKeyframe = new Map();\n this._keyframes.set(this.duration, this._currentKeyframe);\n }\n }\n forwardFrame() {\n this.duration += ONE_FRAME_IN_MILLISECONDS;\n this._loadKeyframe();\n }\n forwardTime(time) {\n this.applyStylesToKeyframe();\n this.duration = time;\n this._loadKeyframe();\n }\n _updateStyle(prop, value) {\n this._localTimelineStyles.set(prop, value);\n this._globalTimelineStyles.set(prop, value);\n this._styleSummary.set(prop, { time: this.currentTime, value });\n }\n allowOnlyTimelineStyles() {\n return this._currentEmptyStepKeyframe !== this._currentKeyframe;\n }\n applyEmptyStep(easing) {\n if (easing) {\n this._previousKeyframe.set('easing', easing);\n }\n // special case for animate(duration):\n // all missing styles are filled with a `*` value then\n // if any destination styles are filled in later on the same\n // keyframe then they will override the overridden styles\n // We use `_globalTimelineStyles` here because there may be\n // styles in previous keyframes that are not present in this timeline\n for (let [prop, value] of this._globalTimelineStyles) {\n this._backFill.set(prop, value || AUTO_STYLE);\n this._currentKeyframe.set(prop, AUTO_STYLE);\n }\n this._currentEmptyStepKeyframe = this._currentKeyframe;\n }\n setStyles(input, easing, errors, options) {\n if (easing) {\n this._previousKeyframe.set('easing', easing);\n }\n const params = (options && options.params) || {};\n const styles = flattenStyles(input, this._globalTimelineStyles);\n for (let [prop, value] of styles) {\n const val = interpolateParams(value, params, errors);\n this._pendingStyles.set(prop, val);\n if (!this._localTimelineStyles.has(prop)) {\n this._backFill.set(prop, this._globalTimelineStyles.get(prop) ?? AUTO_STYLE);\n }\n this._updateStyle(prop, val);\n }\n }\n applyStylesToKeyframe() {\n if (this._pendingStyles.size == 0)\n return;\n this._pendingStyles.forEach((val, prop) => {\n this._currentKeyframe.set(prop, val);\n });\n this._pendingStyles.clear();\n this._localTimelineStyles.forEach((val, prop) => {\n if (!this._currentKeyframe.has(prop)) {\n this._currentKeyframe.set(prop, val);\n }\n });\n }\n snapshotCurrentStyles() {\n for (let [prop, val] of this._localTimelineStyles) {\n this._pendingStyles.set(prop, val);\n this._updateStyle(prop, val);\n }\n }\n getFinalKeyframe() {\n return this._keyframes.get(this.duration);\n }\n get properties() {\n const properties = [];\n for (let prop in this._currentKeyframe) {\n properties.push(prop);\n }\n return properties;\n }\n mergeTimelineCollectedStyles(timeline) {\n timeline._styleSummary.forEach((details1, prop) => {\n const details0 = this._styleSummary.get(prop);\n if (!details0 || details1.time > details0.time) {\n this._updateStyle(prop, details1.value);\n }\n });\n }\n buildKeyframes() {\n this.applyStylesToKeyframe();\n const preStyleProps = new Set();\n const postStyleProps = new Set();\n const isEmpty = this._keyframes.size === 1 && this.duration === 0;\n let finalKeyframes = [];\n this._keyframes.forEach((keyframe, time) => {\n const finalKeyframe = copyStyles(keyframe, new Map(), this._backFill);\n finalKeyframe.forEach((value, prop) => {\n if (value === ɵPRE_STYLE) {\n preStyleProps.add(prop);\n }\n else if (value === AUTO_STYLE) {\n postStyleProps.add(prop);\n }\n });\n if (!isEmpty) {\n finalKeyframe.set('offset', time / this.duration);\n }\n finalKeyframes.push(finalKeyframe);\n });\n const preProps = preStyleProps.size ? iteratorToArray(preStyleProps.values()) : [];\n const postProps = postStyleProps.size ? iteratorToArray(postStyleProps.values()) : [];\n // special case for a 0-second animation (which is designed just to place styles onscreen)\n if (isEmpty) {\n const kf0 = finalKeyframes[0];\n const kf1 = new Map(kf0);\n kf0.set('offset', 0);\n kf1.set('offset', 1);\n finalKeyframes = [kf0, kf1];\n }\n return createTimelineInstruction(this.element, finalKeyframes, preProps, postProps, this.duration, this.startTime, this.easing, false);\n }\n}\nclass SubTimelineBuilder extends TimelineBuilder {\n constructor(driver, element, keyframes, preStyleProps, postStyleProps, timings, _stretchStartingKeyframe = false) {\n super(driver, element, timings.delay);\n this.keyframes = keyframes;\n this.preStyleProps = preStyleProps;\n this.postStyleProps = postStyleProps;\n this._stretchStartingKeyframe = _stretchStartingKeyframe;\n this.timings = { duration: timings.duration, delay: timings.delay, easing: timings.easing };\n }\n containsAnimation() {\n return this.keyframes.length > 1;\n }\n buildKeyframes() {\n let keyframes = this.keyframes;\n let { delay, duration, easing } = this.timings;\n if (this._stretchStartingKeyframe && delay) {\n const newKeyframes = [];\n const totalTime = duration + delay;\n const startingGap = delay / totalTime;\n // the original starting keyframe now starts once the delay is done\n const newFirstKeyframe = copyStyles(keyframes[0]);\n newFirstKeyframe.set('offset', 0);\n newKeyframes.push(newFirstKeyframe);\n const oldFirstKeyframe = copyStyles(keyframes[0]);\n oldFirstKeyframe.set('offset', roundOffset(startingGap));\n newKeyframes.push(oldFirstKeyframe);\n /*\n When the keyframe is stretched then it means that the delay before the animation\n starts is gone. Instead the first keyframe is placed at the start of the animation\n and it is then copied to where it starts when the original delay is over. This basically\n means nothing animates during that delay, but the styles are still rendered. For this\n to work the original offset values that exist in the original keyframes must be \"warped\"\n so that they can take the new keyframe + delay into account.\n \n delay=1000, duration=1000, keyframes = 0 .5 1\n \n turns into\n \n delay=0, duration=2000, keyframes = 0 .33 .66 1\n */\n // offsets between 1 ... n -1 are all warped by the keyframe stretch\n const limit = keyframes.length - 1;\n for (let i = 1; i <= limit; i++) {\n let kf = copyStyles(keyframes[i]);\n const oldOffset = kf.get('offset');\n const timeAtKeyframe = delay + oldOffset * duration;\n kf.set('offset', roundOffset(timeAtKeyframe / totalTime));\n newKeyframes.push(kf);\n }\n // the new starting keyframe should be added at the start\n duration = totalTime;\n delay = 0;\n easing = '';\n keyframes = newKeyframes;\n }\n return createTimelineInstruction(this.element, keyframes, this.preStyleProps, this.postStyleProps, duration, delay, easing, true);\n }\n}\nfunction roundOffset(offset, decimalPoints = 3) {\n const mult = Math.pow(10, decimalPoints - 1);\n return Math.round(offset * mult) / mult;\n}\nfunction flattenStyles(input, allStyles) {\n const styles = new Map();\n let allProperties;\n input.forEach(token => {\n if (token === '*') {\n allProperties = allProperties || allStyles.keys();\n for (let prop of allProperties) {\n styles.set(prop, AUTO_STYLE);\n }\n }\n else {\n copyStyles(token, styles);\n }\n });\n return styles;\n}\n\nclass Animation {\n constructor(_driver, input) {\n this._driver = _driver;\n const errors = [];\n const warnings = [];\n const ast = buildAnimationAst(_driver, input, errors, warnings);\n if (errors.length) {\n throw validationFailed(errors);\n }\n if (warnings.length) {\n warnValidation(warnings);\n }\n this._animationAst = ast;\n }\n buildTimelines(element, startingStyles, destinationStyles, options, subInstructions) {\n const start = Array.isArray(startingStyles) ? normalizeStyles(startingStyles) :\n startingStyles;\n const dest = Array.isArray(destinationStyles) ? normalizeStyles(destinationStyles) :\n destinationStyles;\n const errors = [];\n subInstructions = subInstructions || new ElementInstructionMap();\n const result = buildAnimationTimelines(this._driver, element, this._animationAst, ENTER_CLASSNAME, LEAVE_CLASSNAME, start, dest, options, subInstructions, errors);\n if (errors.length) {\n throw buildingFailed(errors);\n }\n return result;\n }\n}\n\n/**\n * @publicApi\n */\nclass AnimationStyleNormalizer {\n}\n/**\n * @publicApi\n */\nclass NoopAnimationStyleNormalizer {\n normalizePropertyName(propertyName, errors) {\n return propertyName;\n }\n normalizeStyleValue(userProvidedProperty, normalizedProperty, value, errors) {\n return value;\n }\n}\n\nconst DIMENSIONAL_PROP_SET = new Set([\n 'width',\n 'height',\n 'minWidth',\n 'minHeight',\n 'maxWidth',\n 'maxHeight',\n 'left',\n 'top',\n 'bottom',\n 'right',\n 'fontSize',\n 'outlineWidth',\n 'outlineOffset',\n 'paddingTop',\n 'paddingLeft',\n 'paddingBottom',\n 'paddingRight',\n 'marginTop',\n 'marginLeft',\n 'marginBottom',\n 'marginRight',\n 'borderRadius',\n 'borderWidth',\n 'borderTopWidth',\n 'borderLeftWidth',\n 'borderRightWidth',\n 'borderBottomWidth',\n 'textIndent',\n 'perspective'\n]);\nclass WebAnimationsStyleNormalizer extends AnimationStyleNormalizer {\n normalizePropertyName(propertyName, errors) {\n return dashCaseToCamelCase(propertyName);\n }\n normalizeStyleValue(userProvidedProperty, normalizedProperty, value, errors) {\n let unit = '';\n const strVal = value.toString().trim();\n if (DIMENSIONAL_PROP_SET.has(normalizedProperty) && value !== 0 && value !== '0') {\n if (typeof value === 'number') {\n unit = 'px';\n }\n else {\n const valAndSuffixMatch = value.match(/^[+-]?[\\d\\.]+([a-z]*)$/);\n if (valAndSuffixMatch && valAndSuffixMatch[1].length == 0) {\n errors.push(invalidCssUnitValue(userProvidedProperty, value));\n }\n }\n }\n return strVal + unit;\n }\n}\n\nfunction createTransitionInstruction(element, triggerName, fromState, toState, isRemovalTransition, fromStyles, toStyles, timelines, queriedElements, preStyleProps, postStyleProps, totalTime, errors) {\n return {\n type: 0 /* AnimationTransitionInstructionType.TransitionAnimation */,\n element,\n triggerName,\n isRemovalTransition,\n fromState,\n fromStyles,\n toState,\n toStyles,\n timelines,\n queriedElements,\n preStyleProps,\n postStyleProps,\n totalTime,\n errors\n };\n}\n\nconst EMPTY_OBJECT = {};\nclass AnimationTransitionFactory {\n constructor(_triggerName, ast, _stateStyles) {\n this._triggerName = _triggerName;\n this.ast = ast;\n this._stateStyles = _stateStyles;\n }\n match(currentState, nextState, element, params) {\n return oneOrMoreTransitionsMatch(this.ast.matchers, currentState, nextState, element, params);\n }\n buildStyles(stateName, params, errors) {\n let styler = this._stateStyles.get('*');\n if (stateName !== undefined) {\n styler = this._stateStyles.get(stateName?.toString()) || styler;\n }\n return styler ? styler.buildStyles(params, errors) : new Map();\n }\n build(driver, element, currentState, nextState, enterClassName, leaveClassName, currentOptions, nextOptions, subInstructions, skipAstBuild) {\n const errors = [];\n const transitionAnimationParams = this.ast.options && this.ast.options.params || EMPTY_OBJECT;\n const currentAnimationParams = currentOptions && currentOptions.params || EMPTY_OBJECT;\n const currentStateStyles = this.buildStyles(currentState, currentAnimationParams, errors);\n const nextAnimationParams = nextOptions && nextOptions.params || EMPTY_OBJECT;\n const nextStateStyles = this.buildStyles(nextState, nextAnimationParams, errors);\n const queriedElements = new Set();\n const preStyleMap = new Map();\n const postStyleMap = new Map();\n const isRemoval = nextState === 'void';\n const animationOptions = {\n params: applyParamDefaults(nextAnimationParams, transitionAnimationParams),\n delay: this.ast.options?.delay,\n };\n const timelines = skipAstBuild ?\n [] :\n buildAnimationTimelines(driver, element, this.ast.animation, enterClassName, leaveClassName, currentStateStyles, nextStateStyles, animationOptions, subInstructions, errors);\n let totalTime = 0;\n timelines.forEach(tl => {\n totalTime = Math.max(tl.duration + tl.delay, totalTime);\n });\n if (errors.length) {\n return createTransitionInstruction(element, this._triggerName, currentState, nextState, isRemoval, currentStateStyles, nextStateStyles, [], [], preStyleMap, postStyleMap, totalTime, errors);\n }\n timelines.forEach(tl => {\n const elm = tl.element;\n const preProps = getOrSetDefaultValue(preStyleMap, elm, new Set());\n tl.preStyleProps.forEach(prop => preProps.add(prop));\n const postProps = getOrSetDefaultValue(postStyleMap, elm, new Set());\n tl.postStyleProps.forEach(prop => postProps.add(prop));\n if (elm !== element) {\n queriedElements.add(elm);\n }\n });\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n checkNonAnimatableInTimelines(timelines, this._triggerName, driver);\n }\n const queriedElementsList = iteratorToArray(queriedElements.values());\n return createTransitionInstruction(element, this._triggerName, currentState, nextState, isRemoval, currentStateStyles, nextStateStyles, timelines, queriedElementsList, preStyleMap, postStyleMap, totalTime);\n }\n}\n/**\n * Checks inside a set of timelines if they try to animate a css property which is not considered\n * animatable, in that case it prints a warning on the console.\n * Besides that the function doesn't have any other effect.\n *\n * Note: this check is done here after the timelines are built instead of doing on a lower level so\n * that we can make sure that the warning appears only once per instruction (we can aggregate here\n * all the issues instead of finding them separately).\n *\n * @param timelines The built timelines for the current instruction.\n * @param triggerName The name of the trigger for the current instruction.\n * @param driver Animation driver used to perform the check.\n *\n */\nfunction checkNonAnimatableInTimelines(timelines, triggerName, driver) {\n if (!driver.validateAnimatableStyleProperty) {\n return;\n }\n const allowedNonAnimatableProps = new Set([\n // 'easing' is a utility/synthetic prop we use to represent\n // easing functions, it represents a property of the animation\n // which is not animatable but different values can be used\n // in different steps\n 'easing'\n ]);\n const invalidNonAnimatableProps = new Set();\n timelines.forEach(({ keyframes }) => {\n const nonAnimatablePropsInitialValues = new Map();\n keyframes.forEach(keyframe => {\n const entriesToCheck = Array.from(keyframe.entries()).filter(([prop]) => !allowedNonAnimatableProps.has(prop));\n for (const [prop, value] of entriesToCheck) {\n if (!driver.validateAnimatableStyleProperty(prop)) {\n if (nonAnimatablePropsInitialValues.has(prop) && !invalidNonAnimatableProps.has(prop)) {\n const propInitialValue = nonAnimatablePropsInitialValues.get(prop);\n if (propInitialValue !== value) {\n invalidNonAnimatableProps.add(prop);\n }\n }\n else {\n nonAnimatablePropsInitialValues.set(prop, value);\n }\n }\n }\n });\n });\n if (invalidNonAnimatableProps.size > 0) {\n console.warn(`Warning: The animation trigger \"${triggerName}\" is attempting to animate the following` +\n ' not animatable properties: ' + Array.from(invalidNonAnimatableProps).join(', ') + '\\n' +\n '(to check the list of all animatable properties visit https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_animated_properties)');\n }\n}\nfunction oneOrMoreTransitionsMatch(matchFns, currentState, nextState, element, params) {\n return matchFns.some(fn => fn(currentState, nextState, element, params));\n}\nfunction applyParamDefaults(userParams, defaults) {\n const result = copyObj(defaults);\n for (const key in userParams) {\n if (userParams.hasOwnProperty(key) && userParams[key] != null) {\n result[key] = userParams[key];\n }\n }\n return result;\n}\nclass AnimationStateStyles {\n constructor(styles, defaultParams, normalizer) {\n this.styles = styles;\n this.defaultParams = defaultParams;\n this.normalizer = normalizer;\n }\n buildStyles(params, errors) {\n const finalStyles = new Map();\n const combinedParams = copyObj(this.defaultParams);\n Object.keys(params).forEach(key => {\n const value = params[key];\n if (value !== null) {\n combinedParams[key] = value;\n }\n });\n this.styles.styles.forEach(value => {\n if (typeof value !== 'string') {\n value.forEach((val, prop) => {\n if (val) {\n val = interpolateParams(val, combinedParams, errors);\n }\n const normalizedProp = this.normalizer.normalizePropertyName(prop, errors);\n val = this.normalizer.normalizeStyleValue(prop, normalizedProp, val, errors);\n finalStyles.set(prop, val);\n });\n }\n });\n return finalStyles;\n }\n}\n\nfunction buildTrigger(name, ast, normalizer) {\n return new AnimationTrigger(name, ast, normalizer);\n}\nclass AnimationTrigger {\n constructor(name, ast, _normalizer) {\n this.name = name;\n this.ast = ast;\n this._normalizer = _normalizer;\n this.transitionFactories = [];\n this.states = new Map();\n ast.states.forEach(ast => {\n const defaultParams = (ast.options && ast.options.params) || {};\n this.states.set(ast.name, new AnimationStateStyles(ast.style, defaultParams, _normalizer));\n });\n balanceProperties(this.states, 'true', '1');\n balanceProperties(this.states, 'false', '0');\n ast.transitions.forEach(ast => {\n this.transitionFactories.push(new AnimationTransitionFactory(name, ast, this.states));\n });\n this.fallbackTransition = createFallbackTransition(name, this.states, this._normalizer);\n }\n get containsQueries() {\n return this.ast.queryCount > 0;\n }\n matchTransition(currentState, nextState, element, params) {\n const entry = this.transitionFactories.find(f => f.match(currentState, nextState, element, params));\n return entry || null;\n }\n matchStyles(currentState, params, errors) {\n return this.fallbackTransition.buildStyles(currentState, params, errors);\n }\n}\nfunction createFallbackTransition(triggerName, states, normalizer) {\n const matchers = [(fromState, toState) => true];\n const animation = { type: 2 /* AnimationMetadataType.Sequence */, steps: [], options: null };\n const transition = {\n type: 1 /* AnimationMetadataType.Transition */,\n animation,\n matchers,\n options: null,\n queryCount: 0,\n depCount: 0\n };\n return new AnimationTransitionFactory(triggerName, transition, states);\n}\nfunction balanceProperties(stateMap, key1, key2) {\n if (stateMap.has(key1)) {\n if (!stateMap.has(key2)) {\n stateMap.set(key2, stateMap.get(key1));\n }\n }\n else if (stateMap.has(key2)) {\n stateMap.set(key1, stateMap.get(key2));\n }\n}\n\nconst EMPTY_INSTRUCTION_MAP = new ElementInstructionMap();\nclass TimelineAnimationEngine {\n constructor(bodyNode, _driver, _normalizer) {\n this.bodyNode = bodyNode;\n this._driver = _driver;\n this._normalizer = _normalizer;\n this._animations = new Map();\n this._playersById = new Map();\n this.players = [];\n }\n register(id, metadata) {\n const errors = [];\n const warnings = [];\n const ast = buildAnimationAst(this._driver, metadata, errors, warnings);\n if (errors.length) {\n throw registerFailed(errors);\n }\n else {\n if (warnings.length) {\n warnRegister(warnings);\n }\n this._animations.set(id, ast);\n }\n }\n _buildPlayer(i, preStyles, postStyles) {\n const element = i.element;\n const keyframes = normalizeKeyframes$1(this._normalizer, i.keyframes, preStyles, postStyles);\n return this._driver.animate(element, keyframes, i.duration, i.delay, i.easing, [], true);\n }\n create(id, element, options = {}) {\n const errors = [];\n const ast = this._animations.get(id);\n let instructions;\n const autoStylesMap = new Map();\n if (ast) {\n instructions = buildAnimationTimelines(this._driver, element, ast, ENTER_CLASSNAME, LEAVE_CLASSNAME, new Map(), new Map(), options, EMPTY_INSTRUCTION_MAP, errors);\n instructions.forEach(inst => {\n const styles = getOrSetDefaultValue(autoStylesMap, inst.element, new Map());\n inst.postStyleProps.forEach(prop => styles.set(prop, null));\n });\n }\n else {\n errors.push(missingOrDestroyedAnimation());\n instructions = [];\n }\n if (errors.length) {\n throw createAnimationFailed(errors);\n }\n autoStylesMap.forEach((styles, element) => {\n styles.forEach((_, prop) => {\n styles.set(prop, this._driver.computeStyle(element, prop, AUTO_STYLE));\n });\n });\n const players = instructions.map(i => {\n const styles = autoStylesMap.get(i.element);\n return this._buildPlayer(i, new Map(), styles);\n });\n const player = optimizeGroupPlayer(players);\n this._playersById.set(id, player);\n player.onDestroy(() => this.destroy(id));\n this.players.push(player);\n return player;\n }\n destroy(id) {\n const player = this._getPlayer(id);\n player.destroy();\n this._playersById.delete(id);\n const index = this.players.indexOf(player);\n if (index >= 0) {\n this.players.splice(index, 1);\n }\n }\n _getPlayer(id) {\n const player = this._playersById.get(id);\n if (!player) {\n throw missingPlayer(id);\n }\n return player;\n }\n listen(id, element, eventName, callback) {\n // triggerName, fromState, toState are all ignored for timeline animations\n const baseEvent = makeAnimationEvent(element, '', '', '');\n listenOnPlayer(this._getPlayer(id), eventName, baseEvent, callback);\n return () => { };\n }\n command(id, element, command, args) {\n if (command == 'register') {\n this.register(id, args[0]);\n return;\n }\n if (command == 'create') {\n const options = (args[0] || {});\n this.create(id, element, options);\n return;\n }\n const player = this._getPlayer(id);\n switch (command) {\n case 'play':\n player.play();\n break;\n case 'pause':\n player.pause();\n break;\n case 'reset':\n player.reset();\n break;\n case 'restart':\n player.restart();\n break;\n case 'finish':\n player.finish();\n break;\n case 'init':\n player.init();\n break;\n case 'setPosition':\n player.setPosition(parseFloat(args[0]));\n break;\n case 'destroy':\n this.destroy(id);\n break;\n }\n }\n}\n\nconst QUEUED_CLASSNAME = 'ng-animate-queued';\nconst QUEUED_SELECTOR = '.ng-animate-queued';\nconst DISABLED_CLASSNAME = 'ng-animate-disabled';\nconst DISABLED_SELECTOR = '.ng-animate-disabled';\nconst STAR_CLASSNAME = 'ng-star-inserted';\nconst STAR_SELECTOR = '.ng-star-inserted';\nconst EMPTY_PLAYER_ARRAY = [];\nconst NULL_REMOVAL_STATE = {\n namespaceId: '',\n setForRemoval: false,\n setForMove: false,\n hasAnimation: false,\n removedBeforeQueried: false\n};\nconst NULL_REMOVED_QUERIED_STATE = {\n namespaceId: '',\n setForMove: false,\n setForRemoval: false,\n hasAnimation: false,\n removedBeforeQueried: true\n};\nconst REMOVAL_FLAG = '__ng_removed';\nclass StateValue {\n get params() {\n return this.options.params;\n }\n constructor(input, namespaceId = '') {\n this.namespaceId = namespaceId;\n const isObj = input && input.hasOwnProperty('value');\n const value = isObj ? input['value'] : input;\n this.value = normalizeTriggerValue(value);\n if (isObj) {\n const options = copyObj(input);\n delete options['value'];\n this.options = options;\n }\n else {\n this.options = {};\n }\n if (!this.options.params) {\n this.options.params = {};\n }\n }\n absorbOptions(options) {\n const newParams = options.params;\n if (newParams) {\n const oldParams = this.options.params;\n Object.keys(newParams).forEach(prop => {\n if (oldParams[prop] == null) {\n oldParams[prop] = newParams[prop];\n }\n });\n }\n }\n}\nconst VOID_VALUE = 'void';\nconst DEFAULT_STATE_VALUE = new StateValue(VOID_VALUE);\nclass AnimationTransitionNamespace {\n constructor(id, hostElement, _engine) {\n this.id = id;\n this.hostElement = hostElement;\n this._engine = _engine;\n this.players = [];\n this._triggers = new Map();\n this._queue = [];\n this._elementListeners = new Map();\n this._hostClassName = 'ng-tns-' + id;\n addClass(hostElement, this._hostClassName);\n }\n listen(element, name, phase, callback) {\n if (!this._triggers.has(name)) {\n throw missingTrigger(phase, name);\n }\n if (phase == null || phase.length == 0) {\n throw missingEvent(name);\n }\n if (!isTriggerEventValid(phase)) {\n throw unsupportedTriggerEvent(phase, name);\n }\n const listeners = getOrSetDefaultValue(this._elementListeners, element, []);\n const data = { name, phase, callback };\n listeners.push(data);\n const triggersWithStates = getOrSetDefaultValue(this._engine.statesByElement, element, new Map());\n if (!triggersWithStates.has(name)) {\n addClass(element, NG_TRIGGER_CLASSNAME);\n addClass(element, NG_TRIGGER_CLASSNAME + '-' + name);\n triggersWithStates.set(name, DEFAULT_STATE_VALUE);\n }\n return () => {\n // the event listener is removed AFTER the flush has occurred such\n // that leave animations callbacks can fire (otherwise if the node\n // is removed in between then the listeners would be deregistered)\n this._engine.afterFlush(() => {\n const index = listeners.indexOf(data);\n if (index >= 0) {\n listeners.splice(index, 1);\n }\n if (!this._triggers.has(name)) {\n triggersWithStates.delete(name);\n }\n });\n };\n }\n register(name, ast) {\n if (this._triggers.has(name)) {\n // throw\n return false;\n }\n else {\n this._triggers.set(name, ast);\n return true;\n }\n }\n _getTrigger(name) {\n const trigger = this._triggers.get(name);\n if (!trigger) {\n throw unregisteredTrigger(name);\n }\n return trigger;\n }\n trigger(element, triggerName, value, defaultToFallback = true) {\n const trigger = this._getTrigger(triggerName);\n const player = new TransitionAnimationPlayer(this.id, triggerName, element);\n let triggersWithStates = this._engine.statesByElement.get(element);\n if (!triggersWithStates) {\n addClass(element, NG_TRIGGER_CLASSNAME);\n addClass(element, NG_TRIGGER_CLASSNAME + '-' + triggerName);\n this._engine.statesByElement.set(element, triggersWithStates = new Map());\n }\n let fromState = triggersWithStates.get(triggerName);\n const toState = new StateValue(value, this.id);\n const isObj = value && value.hasOwnProperty('value');\n if (!isObj && fromState) {\n toState.absorbOptions(fromState.options);\n }\n triggersWithStates.set(triggerName, toState);\n if (!fromState) {\n fromState = DEFAULT_STATE_VALUE;\n }\n const isRemoval = toState.value === VOID_VALUE;\n // normally this isn't reached by here, however, if an object expression\n // is passed in then it may be a new object each time. Comparing the value\n // is important since that will stay the same despite there being a new object.\n // The removal arc here is special cased because the same element is triggered\n // twice in the event that it contains animations on the outer/inner portions\n // of the host container\n if (!isRemoval && fromState.value === toState.value) {\n // this means that despite the value not changing, some inner params\n // have changed which means that the animation final styles need to be applied\n if (!objEquals(fromState.params, toState.params)) {\n const errors = [];\n const fromStyles = trigger.matchStyles(fromState.value, fromState.params, errors);\n const toStyles = trigger.matchStyles(toState.value, toState.params, errors);\n if (errors.length) {\n this._engine.reportError(errors);\n }\n else {\n this._engine.afterFlush(() => {\n eraseStyles(element, fromStyles);\n setStyles(element, toStyles);\n });\n }\n }\n return;\n }\n const playersOnElement = getOrSetDefaultValue(this._engine.playersByElement, element, []);\n playersOnElement.forEach(player => {\n // only remove the player if it is queued on the EXACT same trigger/namespace\n // we only also deal with queued players here because if the animation has\n // started then we want to keep the player alive until the flush happens\n // (which is where the previousPlayers are passed into the new player)\n if (player.namespaceId == this.id && player.triggerName == triggerName && player.queued) {\n player.destroy();\n }\n });\n let transition = trigger.matchTransition(fromState.value, toState.value, element, toState.params);\n let isFallbackTransition = false;\n if (!transition) {\n if (!defaultToFallback)\n return;\n transition = trigger.fallbackTransition;\n isFallbackTransition = true;\n }\n this._engine.totalQueuedPlayers++;\n this._queue.push({ element, triggerName, transition, fromState, toState, player, isFallbackTransition });\n if (!isFallbackTransition) {\n addClass(element, QUEUED_CLASSNAME);\n player.onStart(() => {\n removeClass(element, QUEUED_CLASSNAME);\n });\n }\n player.onDone(() => {\n let index = this.players.indexOf(player);\n if (index >= 0) {\n this.players.splice(index, 1);\n }\n const players = this._engine.playersByElement.get(element);\n if (players) {\n let index = players.indexOf(player);\n if (index >= 0) {\n players.splice(index, 1);\n }\n }\n });\n this.players.push(player);\n playersOnElement.push(player);\n return player;\n }\n deregister(name) {\n this._triggers.delete(name);\n this._engine.statesByElement.forEach(stateMap => stateMap.delete(name));\n this._elementListeners.forEach((listeners, element) => {\n this._elementListeners.set(element, listeners.filter(entry => {\n return entry.name != name;\n }));\n });\n }\n clearElementCache(element) {\n this._engine.statesByElement.delete(element);\n this._elementListeners.delete(element);\n const elementPlayers = this._engine.playersByElement.get(element);\n if (elementPlayers) {\n elementPlayers.forEach(player => player.destroy());\n this._engine.playersByElement.delete(element);\n }\n }\n _signalRemovalForInnerTriggers(rootElement, context) {\n const elements = this._engine.driver.query(rootElement, NG_TRIGGER_SELECTOR, true);\n // emulate a leave animation for all inner nodes within this node.\n // If there are no animations found for any of the nodes then clear the cache\n // for the element.\n elements.forEach(elm => {\n // this means that an inner remove() operation has already kicked off\n // the animation on this element...\n if (elm[REMOVAL_FLAG])\n return;\n const namespaces = this._engine.fetchNamespacesByElement(elm);\n if (namespaces.size) {\n namespaces.forEach(ns => ns.triggerLeaveAnimation(elm, context, false, true));\n }\n else {\n this.clearElementCache(elm);\n }\n });\n // If the child elements were removed along with the parent, their animations might not\n // have completed. Clear all the elements from the cache so we don't end up with a memory leak.\n this._engine.afterFlushAnimationsDone(() => elements.forEach(elm => this.clearElementCache(elm)));\n }\n triggerLeaveAnimation(element, context, destroyAfterComplete, defaultToFallback) {\n const triggerStates = this._engine.statesByElement.get(element);\n const previousTriggersValues = new Map();\n if (triggerStates) {\n const players = [];\n triggerStates.forEach((state, triggerName) => {\n previousTriggersValues.set(triggerName, state.value);\n // this check is here in the event that an element is removed\n // twice (both on the host level and the component level)\n if (this._triggers.has(triggerName)) {\n const player = this.trigger(element, triggerName, VOID_VALUE, defaultToFallback);\n if (player) {\n players.push(player);\n }\n }\n });\n if (players.length) {\n this._engine.markElementAsRemoved(this.id, element, true, context, previousTriggersValues);\n if (destroyAfterComplete) {\n optimizeGroupPlayer(players).onDone(() => this._engine.processLeaveNode(element));\n }\n return true;\n }\n }\n return false;\n }\n prepareLeaveAnimationListeners(element) {\n const listeners = this._elementListeners.get(element);\n const elementStates = this._engine.statesByElement.get(element);\n // if this statement fails then it means that the element was picked up\n // by an earlier flush (or there are no listeners at all to track the leave).\n if (listeners && elementStates) {\n const visitedTriggers = new Set();\n listeners.forEach(listener => {\n const triggerName = listener.name;\n if (visitedTriggers.has(triggerName))\n return;\n visitedTriggers.add(triggerName);\n const trigger = this._triggers.get(triggerName);\n const transition = trigger.fallbackTransition;\n const fromState = elementStates.get(triggerName) || DEFAULT_STATE_VALUE;\n const toState = new StateValue(VOID_VALUE);\n const player = new TransitionAnimationPlayer(this.id, triggerName, element);\n this._engine.totalQueuedPlayers++;\n this._queue.push({\n element,\n triggerName,\n transition,\n fromState,\n toState,\n player,\n isFallbackTransition: true\n });\n });\n }\n }\n removeNode(element, context) {\n const engine = this._engine;\n if (element.childElementCount) {\n this._signalRemovalForInnerTriggers(element, context);\n }\n // this means that a * => VOID animation was detected and kicked off\n if (this.triggerLeaveAnimation(element, context, true))\n return;\n // find the player that is animating and make sure that the\n // removal is delayed until that player has completed\n let containsPotentialParentTransition = false;\n if (engine.totalAnimations) {\n const currentPlayers = engine.players.length ? engine.playersByQueriedElement.get(element) : [];\n // when this `if statement` does not continue forward it means that\n // a previous animation query has selected the current element and\n // is animating it. In this situation want to continue forwards and\n // allow the element to be queued up for animation later.\n if (currentPlayers && currentPlayers.length) {\n containsPotentialParentTransition = true;\n }\n else {\n let parent = element;\n while (parent = parent.parentNode) {\n const triggers = engine.statesByElement.get(parent);\n if (triggers) {\n containsPotentialParentTransition = true;\n break;\n }\n }\n }\n }\n // at this stage we know that the element will either get removed\n // during flush or will be picked up by a parent query. Either way\n // we need to fire the listeners for this element when it DOES get\n // removed (once the query parent animation is done or after flush)\n this.prepareLeaveAnimationListeners(element);\n // whether or not a parent has an animation we need to delay the deferral of the leave\n // operation until we have more information (which we do after flush() has been called)\n if (containsPotentialParentTransition) {\n engine.markElementAsRemoved(this.id, element, false, context);\n }\n else {\n const removalFlag = element[REMOVAL_FLAG];\n if (!removalFlag || removalFlag === NULL_REMOVAL_STATE) {\n // we do this after the flush has occurred such\n // that the callbacks can be fired\n engine.afterFlush(() => this.clearElementCache(element));\n engine.destroyInnerAnimations(element);\n engine._onRemovalComplete(element, context);\n }\n }\n }\n insertNode(element, parent) {\n addClass(element, this._hostClassName);\n }\n drainQueuedTransitions(microtaskId) {\n const instructions = [];\n this._queue.forEach(entry => {\n const player = entry.player;\n if (player.destroyed)\n return;\n const element = entry.element;\n const listeners = this._elementListeners.get(element);\n if (listeners) {\n listeners.forEach((listener) => {\n if (listener.name == entry.triggerName) {\n const baseEvent = makeAnimationEvent(element, entry.triggerName, entry.fromState.value, entry.toState.value);\n baseEvent['_data'] = microtaskId;\n listenOnPlayer(entry.player, listener.phase, baseEvent, listener.callback);\n }\n });\n }\n if (player.markedForDestroy) {\n this._engine.afterFlush(() => {\n // now we can destroy the element properly since the event listeners have\n // been bound to the player\n player.destroy();\n });\n }\n else {\n instructions.push(entry);\n }\n });\n this._queue = [];\n return instructions.sort((a, b) => {\n // if depCount == 0 them move to front\n // otherwise if a contains b then move back\n const d0 = a.transition.ast.depCount;\n const d1 = b.transition.ast.depCount;\n if (d0 == 0 || d1 == 0) {\n return d0 - d1;\n }\n return this._engine.driver.containsElement(a.element, b.element) ? 1 : -1;\n });\n }\n destroy(context) {\n this.players.forEach(p => p.destroy());\n this._signalRemovalForInnerTriggers(this.hostElement, context);\n }\n}\nclass TransitionAnimationEngine {\n /** @internal */\n _onRemovalComplete(element, context) {\n this.onRemovalComplete(element, context);\n }\n constructor(bodyNode, driver, _normalizer) {\n this.bodyNode = bodyNode;\n this.driver = driver;\n this._normalizer = _normalizer;\n this.players = [];\n this.newHostElements = new Map();\n this.playersByElement = new Map();\n this.playersByQueriedElement = new Map();\n this.statesByElement = new Map();\n this.disabledNodes = new Set();\n this.totalAnimations = 0;\n this.totalQueuedPlayers = 0;\n this._namespaceLookup = {};\n this._namespaceList = [];\n this._flushFns = [];\n this._whenQuietFns = [];\n this.namespacesByHostElement = new Map();\n this.collectedEnterElements = [];\n this.collectedLeaveElements = [];\n // this method is designed to be overridden by the code that uses this engine\n this.onRemovalComplete = (element, context) => { };\n }\n get queuedPlayers() {\n const players = [];\n this._namespaceList.forEach(ns => {\n ns.players.forEach(player => {\n if (player.queued) {\n players.push(player);\n }\n });\n });\n return players;\n }\n createNamespace(namespaceId, hostElement) {\n const ns = new AnimationTransitionNamespace(namespaceId, hostElement, this);\n if (this.bodyNode && this.driver.containsElement(this.bodyNode, hostElement)) {\n this._balanceNamespaceList(ns, hostElement);\n }\n else {\n // defer this later until flush during when the host element has\n // been inserted so that we know exactly where to place it in\n // the namespace list\n this.newHostElements.set(hostElement, ns);\n // given that this host element is a part of the animation code, it\n // may or may not be inserted by a parent node that is of an\n // animation renderer type. If this happens then we can still have\n // access to this item when we query for :enter nodes. If the parent\n // is a renderer then the set data-structure will normalize the entry\n this.collectEnterElement(hostElement);\n }\n return this._namespaceLookup[namespaceId] = ns;\n }\n _balanceNamespaceList(ns, hostElement) {\n const namespaceList = this._namespaceList;\n const namespacesByHostElement = this.namespacesByHostElement;\n const limit = namespaceList.length - 1;\n if (limit >= 0) {\n let found = false;\n // Find the closest ancestor with an existing namespace so we can then insert `ns` after it,\n // establishing a top-down ordering of namespaces in `this._namespaceList`.\n let ancestor = this.driver.getParentElement(hostElement);\n while (ancestor) {\n const ancestorNs = namespacesByHostElement.get(ancestor);\n if (ancestorNs) {\n // An animation namespace has been registered for this ancestor, so we insert `ns`\n // right after it to establish top-down ordering of animation namespaces.\n const index = namespaceList.indexOf(ancestorNs);\n namespaceList.splice(index + 1, 0, ns);\n found = true;\n break;\n }\n ancestor = this.driver.getParentElement(ancestor);\n }\n if (!found) {\n // No namespace exists that is an ancestor of `ns`, so `ns` is inserted at the front to\n // ensure that any existing descendants are ordered after `ns`, retaining the desired\n // top-down ordering.\n namespaceList.unshift(ns);\n }\n }\n else {\n namespaceList.push(ns);\n }\n namespacesByHostElement.set(hostElement, ns);\n return ns;\n }\n register(namespaceId, hostElement) {\n let ns = this._namespaceLookup[namespaceId];\n if (!ns) {\n ns = this.createNamespace(namespaceId, hostElement);\n }\n return ns;\n }\n registerTrigger(namespaceId, name, trigger) {\n let ns = this._namespaceLookup[namespaceId];\n if (ns && ns.register(name, trigger)) {\n this.totalAnimations++;\n }\n }\n destroy(namespaceId, context) {\n if (!namespaceId)\n return;\n this.afterFlush(() => { });\n this.afterFlushAnimationsDone(() => {\n const ns = this._fetchNamespace(namespaceId);\n this.namespacesByHostElement.delete(ns.hostElement);\n const index = this._namespaceList.indexOf(ns);\n if (index >= 0) {\n this._namespaceList.splice(index, 1);\n }\n ns.destroy(context);\n delete this._namespaceLookup[namespaceId];\n });\n }\n _fetchNamespace(id) {\n return this._namespaceLookup[id];\n }\n fetchNamespacesByElement(element) {\n // normally there should only be one namespace per element, however\n // if @triggers are placed on both the component element and then\n // its host element (within the component code) then there will be\n // two namespaces returned. We use a set here to simply deduplicate\n // the namespaces in case (for the reason described above) there are multiple triggers\n const namespaces = new Set();\n const elementStates = this.statesByElement.get(element);\n if (elementStates) {\n for (let stateValue of elementStates.values()) {\n if (stateValue.namespaceId) {\n const ns = this._fetchNamespace(stateValue.namespaceId);\n if (ns) {\n namespaces.add(ns);\n }\n }\n }\n }\n return namespaces;\n }\n trigger(namespaceId, element, name, value) {\n if (isElementNode(element)) {\n const ns = this._fetchNamespace(namespaceId);\n if (ns) {\n ns.trigger(element, name, value);\n return true;\n }\n }\n return false;\n }\n insertNode(namespaceId, element, parent, insertBefore) {\n if (!isElementNode(element))\n return;\n // special case for when an element is removed and reinserted (move operation)\n // when this occurs we do not want to use the element for deletion later\n const details = element[REMOVAL_FLAG];\n if (details && details.setForRemoval) {\n details.setForRemoval = false;\n details.setForMove = true;\n const index = this.collectedLeaveElements.indexOf(element);\n if (index >= 0) {\n this.collectedLeaveElements.splice(index, 1);\n }\n }\n // in the event that the namespaceId is blank then the caller\n // code does not contain any animation code in it, but it is\n // just being called so that the node is marked as being inserted\n if (namespaceId) {\n const ns = this._fetchNamespace(namespaceId);\n // This if-statement is a workaround for router issue #21947.\n // The router sometimes hits a race condition where while a route\n // is being instantiated a new navigation arrives, triggering leave\n // animation of DOM that has not been fully initialized, until this\n // is resolved, we need to handle the scenario when DOM is not in a\n // consistent state during the animation.\n if (ns) {\n ns.insertNode(element, parent);\n }\n }\n // only *directives and host elements are inserted before\n if (insertBefore) {\n this.collectEnterElement(element);\n }\n }\n collectEnterElement(element) {\n this.collectedEnterElements.push(element);\n }\n markElementAsDisabled(element, value) {\n if (value) {\n if (!this.disabledNodes.has(element)) {\n this.disabledNodes.add(element);\n addClass(element, DISABLED_CLASSNAME);\n }\n }\n else if (this.disabledNodes.has(element)) {\n this.disabledNodes.delete(element);\n removeClass(element, DISABLED_CLASSNAME);\n }\n }\n removeNode(namespaceId, element, context) {\n if (isElementNode(element)) {\n const ns = namespaceId ? this._fetchNamespace(namespaceId) : null;\n if (ns) {\n ns.removeNode(element, context);\n }\n else {\n this.markElementAsRemoved(namespaceId, element, false, context);\n }\n const hostNS = this.namespacesByHostElement.get(element);\n if (hostNS && hostNS.id !== namespaceId) {\n hostNS.removeNode(element, context);\n }\n }\n else {\n this._onRemovalComplete(element, context);\n }\n }\n markElementAsRemoved(namespaceId, element, hasAnimation, context, previousTriggersValues) {\n this.collectedLeaveElements.push(element);\n element[REMOVAL_FLAG] = {\n namespaceId,\n setForRemoval: context,\n hasAnimation,\n removedBeforeQueried: false,\n previousTriggersValues\n };\n }\n listen(namespaceId, element, name, phase, callback) {\n if (isElementNode(element)) {\n return this._fetchNamespace(namespaceId).listen(element, name, phase, callback);\n }\n return () => { };\n }\n _buildInstruction(entry, subTimelines, enterClassName, leaveClassName, skipBuildAst) {\n return entry.transition.build(this.driver, entry.element, entry.fromState.value, entry.toState.value, enterClassName, leaveClassName, entry.fromState.options, entry.toState.options, subTimelines, skipBuildAst);\n }\n destroyInnerAnimations(containerElement) {\n let elements = this.driver.query(containerElement, NG_TRIGGER_SELECTOR, true);\n elements.forEach(element => this.destroyActiveAnimationsForElement(element));\n if (this.playersByQueriedElement.size == 0)\n return;\n elements = this.driver.query(containerElement, NG_ANIMATING_SELECTOR, true);\n elements.forEach(element => this.finishActiveQueriedAnimationOnElement(element));\n }\n destroyActiveAnimationsForElement(element) {\n const players = this.playersByElement.get(element);\n if (players) {\n players.forEach(player => {\n // special case for when an element is set for destruction, but hasn't started.\n // in this situation we want to delay the destruction until the flush occurs\n // so that any event listeners attached to the player are triggered.\n if (player.queued) {\n player.markedForDestroy = true;\n }\n else {\n player.destroy();\n }\n });\n }\n }\n finishActiveQueriedAnimationOnElement(element) {\n const players = this.playersByQueriedElement.get(element);\n if (players) {\n players.forEach(player => player.finish());\n }\n }\n whenRenderingDone() {\n return new Promise(resolve => {\n if (this.players.length) {\n return optimizeGroupPlayer(this.players).onDone(() => resolve());\n }\n else {\n resolve();\n }\n });\n }\n processLeaveNode(element) {\n const details = element[REMOVAL_FLAG];\n if (details && details.setForRemoval) {\n // this will prevent it from removing it twice\n element[REMOVAL_FLAG] = NULL_REMOVAL_STATE;\n if (details.namespaceId) {\n this.destroyInnerAnimations(element);\n const ns = this._fetchNamespace(details.namespaceId);\n if (ns) {\n ns.clearElementCache(element);\n }\n }\n this._onRemovalComplete(element, details.setForRemoval);\n }\n if (element.classList?.contains(DISABLED_CLASSNAME)) {\n this.markElementAsDisabled(element, false);\n }\n this.driver.query(element, DISABLED_SELECTOR, true).forEach(node => {\n this.markElementAsDisabled(node, false);\n });\n }\n flush(microtaskId = -1) {\n let players = [];\n if (this.newHostElements.size) {\n this.newHostElements.forEach((ns, element) => this._balanceNamespaceList(ns, element));\n this.newHostElements.clear();\n }\n if (this.totalAnimations && this.collectedEnterElements.length) {\n for (let i = 0; i < this.collectedEnterElements.length; i++) {\n const elm = this.collectedEnterElements[i];\n addClass(elm, STAR_CLASSNAME);\n }\n }\n if (this._namespaceList.length &&\n (this.totalQueuedPlayers || this.collectedLeaveElements.length)) {\n const cleanupFns = [];\n try {\n players = this._flushAnimations(cleanupFns, microtaskId);\n }\n finally {\n for (let i = 0; i < cleanupFns.length; i++) {\n cleanupFns[i]();\n }\n }\n }\n else {\n for (let i = 0; i < this.collectedLeaveElements.length; i++) {\n const element = this.collectedLeaveElements[i];\n this.processLeaveNode(element);\n }\n }\n this.totalQueuedPlayers = 0;\n this.collectedEnterElements.length = 0;\n this.collectedLeaveElements.length = 0;\n this._flushFns.forEach(fn => fn());\n this._flushFns = [];\n if (this._whenQuietFns.length) {\n // we move these over to a variable so that\n // if any new callbacks are registered in another\n // flush they do not populate the existing set\n const quietFns = this._whenQuietFns;\n this._whenQuietFns = [];\n if (players.length) {\n optimizeGroupPlayer(players).onDone(() => {\n quietFns.forEach(fn => fn());\n });\n }\n else {\n quietFns.forEach(fn => fn());\n }\n }\n }\n reportError(errors) {\n throw triggerTransitionsFailed(errors);\n }\n _flushAnimations(cleanupFns, microtaskId) {\n const subTimelines = new ElementInstructionMap();\n const skippedPlayers = [];\n const skippedPlayersMap = new Map();\n const queuedInstructions = [];\n const queriedElements = new Map();\n const allPreStyleElements = new Map();\n const allPostStyleElements = new Map();\n const disabledElementsSet = new Set();\n this.disabledNodes.forEach(node => {\n disabledElementsSet.add(node);\n const nodesThatAreDisabled = this.driver.query(node, QUEUED_SELECTOR, true);\n for (let i = 0; i < nodesThatAreDisabled.length; i++) {\n disabledElementsSet.add(nodesThatAreDisabled[i]);\n }\n });\n const bodyNode = this.bodyNode;\n const allTriggerElements = Array.from(this.statesByElement.keys());\n const enterNodeMap = buildRootMap(allTriggerElements, this.collectedEnterElements);\n // this must occur before the instructions are built below such that\n // the :enter queries match the elements (since the timeline queries\n // are fired during instruction building).\n const enterNodeMapIds = new Map();\n let i = 0;\n enterNodeMap.forEach((nodes, root) => {\n const className = ENTER_CLASSNAME + i++;\n enterNodeMapIds.set(root, className);\n nodes.forEach(node => addClass(node, className));\n });\n const allLeaveNodes = [];\n const mergedLeaveNodes = new Set();\n const leaveNodesWithoutAnimations = new Set();\n for (let i = 0; i < this.collectedLeaveElements.length; i++) {\n const element = this.collectedLeaveElements[i];\n const details = element[REMOVAL_FLAG];\n if (details && details.setForRemoval) {\n allLeaveNodes.push(element);\n mergedLeaveNodes.add(element);\n if (details.hasAnimation) {\n this.driver.query(element, STAR_SELECTOR, true).forEach(elm => mergedLeaveNodes.add(elm));\n }\n else {\n leaveNodesWithoutAnimations.add(element);\n }\n }\n }\n const leaveNodeMapIds = new Map();\n const leaveNodeMap = buildRootMap(allTriggerElements, Array.from(mergedLeaveNodes));\n leaveNodeMap.forEach((nodes, root) => {\n const className = LEAVE_CLASSNAME + i++;\n leaveNodeMapIds.set(root, className);\n nodes.forEach(node => addClass(node, className));\n });\n cleanupFns.push(() => {\n enterNodeMap.forEach((nodes, root) => {\n const className = enterNodeMapIds.get(root);\n nodes.forEach(node => removeClass(node, className));\n });\n leaveNodeMap.forEach((nodes, root) => {\n const className = leaveNodeMapIds.get(root);\n nodes.forEach(node => removeClass(node, className));\n });\n allLeaveNodes.forEach(element => {\n this.processLeaveNode(element);\n });\n });\n const allPlayers = [];\n const erroneousTransitions = [];\n for (let i = this._namespaceList.length - 1; i >= 0; i--) {\n const ns = this._namespaceList[i];\n ns.drainQueuedTransitions(microtaskId).forEach(entry => {\n const player = entry.player;\n const element = entry.element;\n allPlayers.push(player);\n if (this.collectedEnterElements.length) {\n const details = element[REMOVAL_FLAG];\n // animations for move operations (elements being removed and reinserted,\n // e.g. when the order of an *ngFor list changes) are currently not supported\n if (details && details.setForMove) {\n if (details.previousTriggersValues &&\n details.previousTriggersValues.has(entry.triggerName)) {\n const previousValue = details.previousTriggersValues.get(entry.triggerName);\n // we need to restore the previous trigger value since the element has\n // only been moved and hasn't actually left the DOM\n const triggersWithStates = this.statesByElement.get(entry.element);\n if (triggersWithStates && triggersWithStates.has(entry.triggerName)) {\n const state = triggersWithStates.get(entry.triggerName);\n state.value = previousValue;\n triggersWithStates.set(entry.triggerName, state);\n }\n }\n player.destroy();\n return;\n }\n }\n const nodeIsOrphaned = !bodyNode || !this.driver.containsElement(bodyNode, element);\n const leaveClassName = leaveNodeMapIds.get(element);\n const enterClassName = enterNodeMapIds.get(element);\n const instruction = this._buildInstruction(entry, subTimelines, enterClassName, leaveClassName, nodeIsOrphaned);\n if (instruction.errors && instruction.errors.length) {\n erroneousTransitions.push(instruction);\n return;\n }\n // even though the element may not be in the DOM, it may still\n // be added at a later point (due to the mechanics of content\n // projection and/or dynamic component insertion) therefore it's\n // important to still style the element.\n if (nodeIsOrphaned) {\n player.onStart(() => eraseStyles(element, instruction.fromStyles));\n player.onDestroy(() => setStyles(element, instruction.toStyles));\n skippedPlayers.push(player);\n return;\n }\n // if an unmatched transition is queued and ready to go\n // then it SHOULD NOT render an animation and cancel the\n // previously running animations.\n if (entry.isFallbackTransition) {\n player.onStart(() => eraseStyles(element, instruction.fromStyles));\n player.onDestroy(() => setStyles(element, instruction.toStyles));\n skippedPlayers.push(player);\n return;\n }\n // this means that if a parent animation uses this animation as a sub-trigger\n // then it will instruct the timeline builder not to add a player delay, but\n // instead stretch the first keyframe gap until the animation starts. This is\n // important in order to prevent extra initialization styles from being\n // required by the user for the animation.\n const timelines = [];\n instruction.timelines.forEach(tl => {\n tl.stretchStartingKeyframe = true;\n if (!this.disabledNodes.has(tl.element)) {\n timelines.push(tl);\n }\n });\n instruction.timelines = timelines;\n subTimelines.append(element, instruction.timelines);\n const tuple = { instruction, player, element };\n queuedInstructions.push(tuple);\n instruction.queriedElements.forEach(element => getOrSetDefaultValue(queriedElements, element, []).push(player));\n instruction.preStyleProps.forEach((stringMap, element) => {\n if (stringMap.size) {\n let setVal = allPreStyleElements.get(element);\n if (!setVal) {\n allPreStyleElements.set(element, setVal = new Set());\n }\n stringMap.forEach((_, prop) => setVal.add(prop));\n }\n });\n instruction.postStyleProps.forEach((stringMap, element) => {\n let setVal = allPostStyleElements.get(element);\n if (!setVal) {\n allPostStyleElements.set(element, setVal = new Set());\n }\n stringMap.forEach((_, prop) => setVal.add(prop));\n });\n });\n }\n if (erroneousTransitions.length) {\n const errors = [];\n erroneousTransitions.forEach(instruction => {\n errors.push(transitionFailed(instruction.triggerName, instruction.errors));\n });\n allPlayers.forEach(player => player.destroy());\n this.reportError(errors);\n }\n const allPreviousPlayersMap = new Map();\n // this map tells us which element in the DOM tree is contained by\n // which animation. Further down this map will get populated once\n // the players are built and in doing so we can use it to efficiently\n // figure out if a sub player is skipped due to a parent player having priority.\n const animationElementMap = new Map();\n queuedInstructions.forEach(entry => {\n const element = entry.element;\n if (subTimelines.has(element)) {\n animationElementMap.set(element, element);\n this._beforeAnimationBuild(entry.player.namespaceId, entry.instruction, allPreviousPlayersMap);\n }\n });\n skippedPlayers.forEach(player => {\n const element = player.element;\n const previousPlayers = this._getPreviousPlayers(element, false, player.namespaceId, player.triggerName, null);\n previousPlayers.forEach(prevPlayer => {\n getOrSetDefaultValue(allPreviousPlayersMap, element, []).push(prevPlayer);\n prevPlayer.destroy();\n });\n });\n // this is a special case for nodes that will be removed either by\n // having their own leave animations or by being queried in a container\n // that will be removed once a parent animation is complete. The idea\n // here is that * styles must be identical to ! styles because of\n // backwards compatibility (* is also filled in by default in many places).\n // Otherwise * styles will return an empty value or \"auto\" since the element\n // passed to getComputedStyle will not be visible (since * === destination)\n const replaceNodes = allLeaveNodes.filter(node => {\n return replacePostStylesAsPre(node, allPreStyleElements, allPostStyleElements);\n });\n // POST STAGE: fill the * styles\n const postStylesMap = new Map();\n const allLeaveQueriedNodes = cloakAndComputeStyles(postStylesMap, this.driver, leaveNodesWithoutAnimations, allPostStyleElements, AUTO_STYLE);\n allLeaveQueriedNodes.forEach(node => {\n if (replacePostStylesAsPre(node, allPreStyleElements, allPostStyleElements)) {\n replaceNodes.push(node);\n }\n });\n // PRE STAGE: fill the ! styles\n const preStylesMap = new Map();\n enterNodeMap.forEach((nodes, root) => {\n cloakAndComputeStyles(preStylesMap, this.driver, new Set(nodes), allPreStyleElements, ɵPRE_STYLE);\n });\n replaceNodes.forEach(node => {\n const post = postStylesMap.get(node);\n const pre = preStylesMap.get(node);\n postStylesMap.set(node, new Map([...(post?.entries() ?? []), ...(pre?.entries() ?? [])]));\n });\n const rootPlayers = [];\n const subPlayers = [];\n const NO_PARENT_ANIMATION_ELEMENT_DETECTED = {};\n queuedInstructions.forEach(entry => {\n const { element, player, instruction } = entry;\n // this means that it was never consumed by a parent animation which\n // means that it is independent and therefore should be set for animation\n if (subTimelines.has(element)) {\n if (disabledElementsSet.has(element)) {\n player.onDestroy(() => setStyles(element, instruction.toStyles));\n player.disabled = true;\n player.overrideTotalTime(instruction.totalTime);\n skippedPlayers.push(player);\n return;\n }\n // this will flow up the DOM and query the map to figure out\n // if a parent animation has priority over it. In the situation\n // that a parent is detected then it will cancel the loop. If\n // nothing is detected, or it takes a few hops to find a parent,\n // then it will fill in the missing nodes and signal them as having\n // a detected parent (or a NO_PARENT value via a special constant).\n let parentWithAnimation = NO_PARENT_ANIMATION_ELEMENT_DETECTED;\n if (animationElementMap.size > 1) {\n let elm = element;\n const parentsToAdd = [];\n while (elm = elm.parentNode) {\n const detectedParent = animationElementMap.get(elm);\n if (detectedParent) {\n parentWithAnimation = detectedParent;\n break;\n }\n parentsToAdd.push(elm);\n }\n parentsToAdd.forEach(parent => animationElementMap.set(parent, parentWithAnimation));\n }\n const innerPlayer = this._buildAnimation(player.namespaceId, instruction, allPreviousPlayersMap, skippedPlayersMap, preStylesMap, postStylesMap);\n player.setRealPlayer(innerPlayer);\n if (parentWithAnimation === NO_PARENT_ANIMATION_ELEMENT_DETECTED) {\n rootPlayers.push(player);\n }\n else {\n const parentPlayers = this.playersByElement.get(parentWithAnimation);\n if (parentPlayers && parentPlayers.length) {\n player.parentPlayer = optimizeGroupPlayer(parentPlayers);\n }\n skippedPlayers.push(player);\n }\n }\n else {\n eraseStyles(element, instruction.fromStyles);\n player.onDestroy(() => setStyles(element, instruction.toStyles));\n // there still might be a ancestor player animating this\n // element therefore we will still add it as a sub player\n // even if its animation may be disabled\n subPlayers.push(player);\n if (disabledElementsSet.has(element)) {\n skippedPlayers.push(player);\n }\n }\n });\n // find all of the sub players' corresponding inner animation players\n subPlayers.forEach(player => {\n // even if no players are found for a sub animation it\n // will still complete itself after the next tick since it's Noop\n const playersForElement = skippedPlayersMap.get(player.element);\n if (playersForElement && playersForElement.length) {\n const innerPlayer = optimizeGroupPlayer(playersForElement);\n player.setRealPlayer(innerPlayer);\n }\n });\n // the reason why we don't actually play the animation is\n // because all that a skipped player is designed to do is to\n // fire the start/done transition callback events\n skippedPlayers.forEach(player => {\n if (player.parentPlayer) {\n player.syncPlayerEvents(player.parentPlayer);\n }\n else {\n player.destroy();\n }\n });\n // run through all of the queued removals and see if they\n // were picked up by a query. If not then perform the removal\n // operation right away unless a parent animation is ongoing.\n for (let i = 0; i < allLeaveNodes.length; i++) {\n const element = allLeaveNodes[i];\n const details = element[REMOVAL_FLAG];\n removeClass(element, LEAVE_CLASSNAME);\n // this means the element has a removal animation that is being\n // taken care of and therefore the inner elements will hang around\n // until that animation is over (or the parent queried animation)\n if (details && details.hasAnimation)\n continue;\n let players = [];\n // if this element is queried or if it contains queried children\n // then we want for the element not to be removed from the page\n // until the queried animations have finished\n if (queriedElements.size) {\n let queriedPlayerResults = queriedElements.get(element);\n if (queriedPlayerResults && queriedPlayerResults.length) {\n players.push(...queriedPlayerResults);\n }\n let queriedInnerElements = this.driver.query(element, NG_ANIMATING_SELECTOR, true);\n for (let j = 0; j < queriedInnerElements.length; j++) {\n let queriedPlayers = queriedElements.get(queriedInnerElements[j]);\n if (queriedPlayers && queriedPlayers.length) {\n players.push(...queriedPlayers);\n }\n }\n }\n const activePlayers = players.filter(p => !p.destroyed);\n if (activePlayers.length) {\n removeNodesAfterAnimationDone(this, element, activePlayers);\n }\n else {\n this.processLeaveNode(element);\n }\n }\n // this is required so the cleanup method doesn't remove them\n allLeaveNodes.length = 0;\n rootPlayers.forEach(player => {\n this.players.push(player);\n player.onDone(() => {\n player.destroy();\n const index = this.players.indexOf(player);\n this.players.splice(index, 1);\n });\n player.play();\n });\n return rootPlayers;\n }\n afterFlush(callback) {\n this._flushFns.push(callback);\n }\n afterFlushAnimationsDone(callback) {\n this._whenQuietFns.push(callback);\n }\n _getPreviousPlayers(element, isQueriedElement, namespaceId, triggerName, toStateValue) {\n let players = [];\n if (isQueriedElement) {\n const queriedElementPlayers = this.playersByQueriedElement.get(element);\n if (queriedElementPlayers) {\n players = queriedElementPlayers;\n }\n }\n else {\n const elementPlayers = this.playersByElement.get(element);\n if (elementPlayers) {\n const isRemovalAnimation = !toStateValue || toStateValue == VOID_VALUE;\n elementPlayers.forEach(player => {\n if (player.queued)\n return;\n if (!isRemovalAnimation && player.triggerName != triggerName)\n return;\n players.push(player);\n });\n }\n }\n if (namespaceId || triggerName) {\n players = players.filter(player => {\n if (namespaceId && namespaceId != player.namespaceId)\n return false;\n if (triggerName && triggerName != player.triggerName)\n return false;\n return true;\n });\n }\n return players;\n }\n _beforeAnimationBuild(namespaceId, instruction, allPreviousPlayersMap) {\n const triggerName = instruction.triggerName;\n const rootElement = instruction.element;\n // when a removal animation occurs, ALL previous players are collected\n // and destroyed (even if they are outside of the current namespace)\n const targetNameSpaceId = instruction.isRemovalTransition ? undefined : namespaceId;\n const targetTriggerName = instruction.isRemovalTransition ? undefined : triggerName;\n for (const timelineInstruction of instruction.timelines) {\n const element = timelineInstruction.element;\n const isQueriedElement = element !== rootElement;\n const players = getOrSetDefaultValue(allPreviousPlayersMap, element, []);\n const previousPlayers = this._getPreviousPlayers(element, isQueriedElement, targetNameSpaceId, targetTriggerName, instruction.toState);\n previousPlayers.forEach(player => {\n const realPlayer = player.getRealPlayer();\n if (realPlayer.beforeDestroy) {\n realPlayer.beforeDestroy();\n }\n player.destroy();\n players.push(player);\n });\n }\n // this needs to be done so that the PRE/POST styles can be\n // computed properly without interfering with the previous animation\n eraseStyles(rootElement, instruction.fromStyles);\n }\n _buildAnimation(namespaceId, instruction, allPreviousPlayersMap, skippedPlayersMap, preStylesMap, postStylesMap) {\n const triggerName = instruction.triggerName;\n const rootElement = instruction.element;\n // we first run this so that the previous animation player\n // data can be passed into the successive animation players\n const allQueriedPlayers = [];\n const allConsumedElements = new Set();\n const allSubElements = new Set();\n const allNewPlayers = instruction.timelines.map(timelineInstruction => {\n const element = timelineInstruction.element;\n allConsumedElements.add(element);\n // FIXME (matsko): make sure to-be-removed animations are removed properly\n const details = element[REMOVAL_FLAG];\n if (details && details.removedBeforeQueried)\n return new NoopAnimationPlayer(timelineInstruction.duration, timelineInstruction.delay);\n const isQueriedElement = element !== rootElement;\n const previousPlayers = flattenGroupPlayers((allPreviousPlayersMap.get(element) || EMPTY_PLAYER_ARRAY)\n .map(p => p.getRealPlayer()))\n .filter(p => {\n // the `element` is not apart of the AnimationPlayer definition, but\n // Mock/WebAnimations\n // use the element within their implementation. This will be added in Angular5 to\n // AnimationPlayer\n const pp = p;\n return pp.element ? pp.element === element : false;\n });\n const preStyles = preStylesMap.get(element);\n const postStyles = postStylesMap.get(element);\n const keyframes = normalizeKeyframes$1(this._normalizer, timelineInstruction.keyframes, preStyles, postStyles);\n const player = this._buildPlayer(timelineInstruction, keyframes, previousPlayers);\n // this means that this particular player belongs to a sub trigger. It is\n // important that we match this player up with the corresponding (@trigger.listener)\n if (timelineInstruction.subTimeline && skippedPlayersMap) {\n allSubElements.add(element);\n }\n if (isQueriedElement) {\n const wrappedPlayer = new TransitionAnimationPlayer(namespaceId, triggerName, element);\n wrappedPlayer.setRealPlayer(player);\n allQueriedPlayers.push(wrappedPlayer);\n }\n return player;\n });\n allQueriedPlayers.forEach(player => {\n getOrSetDefaultValue(this.playersByQueriedElement, player.element, []).push(player);\n player.onDone(() => deleteOrUnsetInMap(this.playersByQueriedElement, player.element, player));\n });\n allConsumedElements.forEach(element => addClass(element, NG_ANIMATING_CLASSNAME));\n const player = optimizeGroupPlayer(allNewPlayers);\n player.onDestroy(() => {\n allConsumedElements.forEach(element => removeClass(element, NG_ANIMATING_CLASSNAME));\n setStyles(rootElement, instruction.toStyles);\n });\n // this basically makes all of the callbacks for sub element animations\n // be dependent on the upper players for when they finish\n allSubElements.forEach(element => {\n getOrSetDefaultValue(skippedPlayersMap, element, []).push(player);\n });\n return player;\n }\n _buildPlayer(instruction, keyframes, previousPlayers) {\n if (keyframes.length > 0) {\n return this.driver.animate(instruction.element, keyframes, instruction.duration, instruction.delay, instruction.easing, previousPlayers);\n }\n // special case for when an empty transition|definition is provided\n // ... there is no point in rendering an empty animation\n return new NoopAnimationPlayer(instruction.duration, instruction.delay);\n }\n}\nclass TransitionAnimationPlayer {\n constructor(namespaceId, triggerName, element) {\n this.namespaceId = namespaceId;\n this.triggerName = triggerName;\n this.element = element;\n this._player = new NoopAnimationPlayer();\n this._containsRealPlayer = false;\n this._queuedCallbacks = new Map();\n this.destroyed = false;\n this.parentPlayer = null;\n this.markedForDestroy = false;\n this.disabled = false;\n this.queued = true;\n this.totalTime = 0;\n }\n setRealPlayer(player) {\n if (this._containsRealPlayer)\n return;\n this._player = player;\n this._queuedCallbacks.forEach((callbacks, phase) => {\n callbacks.forEach(callback => listenOnPlayer(player, phase, undefined, callback));\n });\n this._queuedCallbacks.clear();\n this._containsRealPlayer = true;\n this.overrideTotalTime(player.totalTime);\n this.queued = false;\n }\n getRealPlayer() {\n return this._player;\n }\n overrideTotalTime(totalTime) {\n this.totalTime = totalTime;\n }\n syncPlayerEvents(player) {\n const p = this._player;\n if (p.triggerCallback) {\n player.onStart(() => p.triggerCallback('start'));\n }\n player.onDone(() => this.finish());\n player.onDestroy(() => this.destroy());\n }\n _queueEvent(name, callback) {\n getOrSetDefaultValue(this._queuedCallbacks, name, []).push(callback);\n }\n onDone(fn) {\n if (this.queued) {\n this._queueEvent('done', fn);\n }\n this._player.onDone(fn);\n }\n onStart(fn) {\n if (this.queued) {\n this._queueEvent('start', fn);\n }\n this._player.onStart(fn);\n }\n onDestroy(fn) {\n if (this.queued) {\n this._queueEvent('destroy', fn);\n }\n this._player.onDestroy(fn);\n }\n init() {\n this._player.init();\n }\n hasStarted() {\n return this.queued ? false : this._player.hasStarted();\n }\n play() {\n !this.queued && this._player.play();\n }\n pause() {\n !this.queued && this._player.pause();\n }\n restart() {\n !this.queued && this._player.restart();\n }\n finish() {\n this._player.finish();\n }\n destroy() {\n this.destroyed = true;\n this._player.destroy();\n }\n reset() {\n !this.queued && this._player.reset();\n }\n setPosition(p) {\n if (!this.queued) {\n this._player.setPosition(p);\n }\n }\n getPosition() {\n return this.queued ? 0 : this._player.getPosition();\n }\n /** @internal */\n triggerCallback(phaseName) {\n const p = this._player;\n if (p.triggerCallback) {\n p.triggerCallback(phaseName);\n }\n }\n}\nfunction deleteOrUnsetInMap(map, key, value) {\n let currentValues = map.get(key);\n if (currentValues) {\n if (currentValues.length) {\n const index = currentValues.indexOf(value);\n currentValues.splice(index, 1);\n }\n if (currentValues.length == 0) {\n map.delete(key);\n }\n }\n return currentValues;\n}\nfunction normalizeTriggerValue(value) {\n // we use `!= null` here because it's the most simple\n // way to test against a \"falsy\" value without mixing\n // in empty strings or a zero value. DO NOT OPTIMIZE.\n return value != null ? value : null;\n}\nfunction isElementNode(node) {\n return node && node['nodeType'] === 1;\n}\nfunction isTriggerEventValid(eventName) {\n return eventName == 'start' || eventName == 'done';\n}\nfunction cloakElement(element, value) {\n const oldValue = element.style.display;\n element.style.display = value != null ? value : 'none';\n return oldValue;\n}\nfunction cloakAndComputeStyles(valuesMap, driver, elements, elementPropsMap, defaultStyle) {\n const cloakVals = [];\n elements.forEach(element => cloakVals.push(cloakElement(element)));\n const failedElements = [];\n elementPropsMap.forEach((props, element) => {\n const styles = new Map();\n props.forEach(prop => {\n const value = driver.computeStyle(element, prop, defaultStyle);\n styles.set(prop, value);\n // there is no easy way to detect this because a sub element could be removed\n // by a parent animation element being detached.\n if (!value || value.length == 0) {\n element[REMOVAL_FLAG] = NULL_REMOVED_QUERIED_STATE;\n failedElements.push(element);\n }\n });\n valuesMap.set(element, styles);\n });\n // we use a index variable here since Set.forEach(a, i) does not return\n // an index value for the closure (but instead just the value)\n let i = 0;\n elements.forEach(element => cloakElement(element, cloakVals[i++]));\n return failedElements;\n}\n/*\nSince the Angular renderer code will return a collection of inserted\nnodes in all areas of a DOM tree, it's up to this algorithm to figure\nout which nodes are roots for each animation @trigger.\n\nBy placing each inserted node into a Set and traversing upwards, it\nis possible to find the @trigger elements and well any direct *star\ninsertion nodes, if a @trigger root is found then the enter element\nis placed into the Map[@trigger] spot.\n */\nfunction buildRootMap(roots, nodes) {\n const rootMap = new Map();\n roots.forEach(root => rootMap.set(root, []));\n if (nodes.length == 0)\n return rootMap;\n const NULL_NODE = 1;\n const nodeSet = new Set(nodes);\n const localRootMap = new Map();\n function getRoot(node) {\n if (!node)\n return NULL_NODE;\n let root = localRootMap.get(node);\n if (root)\n return root;\n const parent = node.parentNode;\n if (rootMap.has(parent)) { // ngIf inside @trigger\n root = parent;\n }\n else if (nodeSet.has(parent)) { // ngIf inside ngIf\n root = NULL_NODE;\n }\n else { // recurse upwards\n root = getRoot(parent);\n }\n localRootMap.set(node, root);\n return root;\n }\n nodes.forEach(node => {\n const root = getRoot(node);\n if (root !== NULL_NODE) {\n rootMap.get(root).push(node);\n }\n });\n return rootMap;\n}\nfunction addClass(element, className) {\n element.classList?.add(className);\n}\nfunction removeClass(element, className) {\n element.classList?.remove(className);\n}\nfunction removeNodesAfterAnimationDone(engine, element, players) {\n optimizeGroupPlayer(players).onDone(() => engine.processLeaveNode(element));\n}\nfunction flattenGroupPlayers(players) {\n const finalPlayers = [];\n _flattenGroupPlayersRecur(players, finalPlayers);\n return finalPlayers;\n}\nfunction _flattenGroupPlayersRecur(players, finalPlayers) {\n for (let i = 0; i < players.length; i++) {\n const player = players[i];\n if (player instanceof ɵAnimationGroupPlayer) {\n _flattenGroupPlayersRecur(player.players, finalPlayers);\n }\n else {\n finalPlayers.push(player);\n }\n }\n}\nfunction objEquals(a, b) {\n const k1 = Object.keys(a);\n const k2 = Object.keys(b);\n if (k1.length != k2.length)\n return false;\n for (let i = 0; i < k1.length; i++) {\n const prop = k1[i];\n if (!b.hasOwnProperty(prop) || a[prop] !== b[prop])\n return false;\n }\n return true;\n}\nfunction replacePostStylesAsPre(element, allPreStyleElements, allPostStyleElements) {\n const postEntry = allPostStyleElements.get(element);\n if (!postEntry)\n return false;\n let preEntry = allPreStyleElements.get(element);\n if (preEntry) {\n postEntry.forEach(data => preEntry.add(data));\n }\n else {\n allPreStyleElements.set(element, postEntry);\n }\n allPostStyleElements.delete(element);\n return true;\n}\n\nclass AnimationEngine {\n constructor(bodyNode, _driver, _normalizer) {\n this.bodyNode = bodyNode;\n this._driver = _driver;\n this._normalizer = _normalizer;\n this._triggerCache = {};\n // this method is designed to be overridden by the code that uses this engine\n this.onRemovalComplete = (element, context) => { };\n this._transitionEngine = new TransitionAnimationEngine(bodyNode, _driver, _normalizer);\n this._timelineEngine = new TimelineAnimationEngine(bodyNode, _driver, _normalizer);\n this._transitionEngine.onRemovalComplete = (element, context) => this.onRemovalComplete(element, context);\n }\n registerTrigger(componentId, namespaceId, hostElement, name, metadata) {\n const cacheKey = componentId + '-' + name;\n let trigger = this._triggerCache[cacheKey];\n if (!trigger) {\n const errors = [];\n const warnings = [];\n const ast = buildAnimationAst(this._driver, metadata, errors, warnings);\n if (errors.length) {\n throw triggerBuildFailed(name, errors);\n }\n if (warnings.length) {\n warnTriggerBuild(name, warnings);\n }\n trigger = buildTrigger(name, ast, this._normalizer);\n this._triggerCache[cacheKey] = trigger;\n }\n this._transitionEngine.registerTrigger(namespaceId, name, trigger);\n }\n register(namespaceId, hostElement) {\n this._transitionEngine.register(namespaceId, hostElement);\n }\n destroy(namespaceId, context) {\n this._transitionEngine.destroy(namespaceId, context);\n }\n onInsert(namespaceId, element, parent, insertBefore) {\n this._transitionEngine.insertNode(namespaceId, element, parent, insertBefore);\n }\n onRemove(namespaceId, element, context) {\n this._transitionEngine.removeNode(namespaceId, element, context);\n }\n disableAnimations(element, disable) {\n this._transitionEngine.markElementAsDisabled(element, disable);\n }\n process(namespaceId, element, property, value) {\n if (property.charAt(0) == '@') {\n const [id, action] = parseTimelineCommand(property);\n const args = value;\n this._timelineEngine.command(id, element, action, args);\n }\n else {\n this._transitionEngine.trigger(namespaceId, element, property, value);\n }\n }\n listen(namespaceId, element, eventName, eventPhase, callback) {\n // @@listen\n if (eventName.charAt(0) == '@') {\n const [id, action] = parseTimelineCommand(eventName);\n return this._timelineEngine.listen(id, element, action, callback);\n }\n return this._transitionEngine.listen(namespaceId, element, eventName, eventPhase, callback);\n }\n flush(microtaskId = -1) {\n this._transitionEngine.flush(microtaskId);\n }\n get players() {\n return [\n ...this._transitionEngine.players,\n ...this._timelineEngine.players,\n ];\n }\n whenRenderingDone() {\n return this._transitionEngine.whenRenderingDone();\n }\n afterFlushAnimationsDone(cb) {\n this._transitionEngine.afterFlushAnimationsDone(cb);\n }\n}\n\n/**\n * Returns an instance of `SpecialCasedStyles` if and when any special (non animateable) styles are\n * detected.\n *\n * In CSS there exist properties that cannot be animated within a keyframe animation\n * (whether it be via CSS keyframes or web-animations) and the animation implementation\n * will ignore them. This function is designed to detect those special cased styles and\n * return a container that will be executed at the start and end of the animation.\n *\n * @returns an instance of `SpecialCasedStyles` if any special styles are detected otherwise `null`\n */\nfunction packageNonAnimatableStyles(element, styles) {\n let startStyles = null;\n let endStyles = null;\n if (Array.isArray(styles) && styles.length) {\n startStyles = filterNonAnimatableStyles(styles[0]);\n if (styles.length > 1) {\n endStyles = filterNonAnimatableStyles(styles[styles.length - 1]);\n }\n }\n else if (styles instanceof Map) {\n startStyles = filterNonAnimatableStyles(styles);\n }\n return (startStyles || endStyles) ? new SpecialCasedStyles(element, startStyles, endStyles) :\n null;\n}\n/**\n * Designed to be executed during a keyframe-based animation to apply any special-cased styles.\n *\n * When started (when the `start()` method is run) then the provided `startStyles`\n * will be applied. When finished (when the `finish()` method is called) the\n * `endStyles` will be applied as well any any starting styles. Finally when\n * `destroy()` is called then all styles will be removed.\n */\nclass SpecialCasedStyles {\n static { this.initialStylesByElement = ( /* @__PURE__ */new WeakMap()); }\n constructor(_element, _startStyles, _endStyles) {\n this._element = _element;\n this._startStyles = _startStyles;\n this._endStyles = _endStyles;\n this._state = 0 /* SpecialCasedStylesState.Pending */;\n let initialStyles = SpecialCasedStyles.initialStylesByElement.get(_element);\n if (!initialStyles) {\n SpecialCasedStyles.initialStylesByElement.set(_element, initialStyles = new Map());\n }\n this._initialStyles = initialStyles;\n }\n start() {\n if (this._state < 1 /* SpecialCasedStylesState.Started */) {\n if (this._startStyles) {\n setStyles(this._element, this._startStyles, this._initialStyles);\n }\n this._state = 1 /* SpecialCasedStylesState.Started */;\n }\n }\n finish() {\n this.start();\n if (this._state < 2 /* SpecialCasedStylesState.Finished */) {\n setStyles(this._element, this._initialStyles);\n if (this._endStyles) {\n setStyles(this._element, this._endStyles);\n this._endStyles = null;\n }\n this._state = 1 /* SpecialCasedStylesState.Started */;\n }\n }\n destroy() {\n this.finish();\n if (this._state < 3 /* SpecialCasedStylesState.Destroyed */) {\n SpecialCasedStyles.initialStylesByElement.delete(this._element);\n if (this._startStyles) {\n eraseStyles(this._element, this._startStyles);\n this._endStyles = null;\n }\n if (this._endStyles) {\n eraseStyles(this._element, this._endStyles);\n this._endStyles = null;\n }\n setStyles(this._element, this._initialStyles);\n this._state = 3 /* SpecialCasedStylesState.Destroyed */;\n }\n }\n}\nfunction filterNonAnimatableStyles(styles) {\n let result = null;\n styles.forEach((val, prop) => {\n if (isNonAnimatableStyle(prop)) {\n result = result || new Map();\n result.set(prop, val);\n }\n });\n return result;\n}\nfunction isNonAnimatableStyle(prop) {\n return prop === 'display' || prop === 'position';\n}\n\nclass WebAnimationsPlayer {\n constructor(element, keyframes, options, _specialStyles) {\n this.element = element;\n this.keyframes = keyframes;\n this.options = options;\n this._specialStyles = _specialStyles;\n this._onDoneFns = [];\n this._onStartFns = [];\n this._onDestroyFns = [];\n this._initialized = false;\n this._finished = false;\n this._started = false;\n this._destroyed = false;\n // the following original fns are persistent copies of the _onStartFns and _onDoneFns\n // and are used to reset the fns to their original values upon reset()\n // (since the _onStartFns and _onDoneFns get deleted after they are called)\n this._originalOnDoneFns = [];\n this._originalOnStartFns = [];\n this.time = 0;\n this.parentPlayer = null;\n this.currentSnapshot = new Map();\n this._duration = options['duration'];\n this._delay = options['delay'] || 0;\n this.time = this._duration + this._delay;\n }\n _onFinish() {\n if (!this._finished) {\n this._finished = true;\n this._onDoneFns.forEach(fn => fn());\n this._onDoneFns = [];\n }\n }\n init() {\n this._buildPlayer();\n this._preparePlayerBeforeStart();\n }\n _buildPlayer() {\n if (this._initialized)\n return;\n this._initialized = true;\n const keyframes = this.keyframes;\n // @ts-expect-error overwriting a readonly property\n this.domPlayer = this._triggerWebAnimation(this.element, keyframes, this.options);\n this._finalKeyframe = keyframes.length ? keyframes[keyframes.length - 1] : new Map();\n const onFinish = () => this._onFinish();\n this.domPlayer.addEventListener('finish', onFinish);\n this.onDestroy(() => {\n // We must remove the `finish` event listener once an animation has completed all its\n // iterations. This action is necessary to prevent a memory leak since the listener captures\n // `this`, creating a closure that prevents `this` from being garbage collected.\n this.domPlayer.removeEventListener('finish', onFinish);\n });\n }\n _preparePlayerBeforeStart() {\n // this is required so that the player doesn't start to animate right away\n if (this._delay) {\n this._resetDomPlayerState();\n }\n else {\n this.domPlayer.pause();\n }\n }\n _convertKeyframesToObject(keyframes) {\n const kfs = [];\n keyframes.forEach(frame => {\n kfs.push(Object.fromEntries(frame));\n });\n return kfs;\n }\n /** @internal */\n _triggerWebAnimation(element, keyframes, options) {\n return element.animate(this._convertKeyframesToObject(keyframes), options);\n }\n onStart(fn) {\n this._originalOnStartFns.push(fn);\n this._onStartFns.push(fn);\n }\n onDone(fn) {\n this._originalOnDoneFns.push(fn);\n this._onDoneFns.push(fn);\n }\n onDestroy(fn) {\n this._onDestroyFns.push(fn);\n }\n play() {\n this._buildPlayer();\n if (!this.hasStarted()) {\n this._onStartFns.forEach(fn => fn());\n this._onStartFns = [];\n this._started = true;\n if (this._specialStyles) {\n this._specialStyles.start();\n }\n }\n this.domPlayer.play();\n }\n pause() {\n this.init();\n this.domPlayer.pause();\n }\n finish() {\n this.init();\n if (this._specialStyles) {\n this._specialStyles.finish();\n }\n this._onFinish();\n this.domPlayer.finish();\n }\n reset() {\n this._resetDomPlayerState();\n this._destroyed = false;\n this._finished = false;\n this._started = false;\n this._onStartFns = this._originalOnStartFns;\n this._onDoneFns = this._originalOnDoneFns;\n }\n _resetDomPlayerState() {\n if (this.domPlayer) {\n this.domPlayer.cancel();\n }\n }\n restart() {\n this.reset();\n this.play();\n }\n hasStarted() {\n return this._started;\n }\n destroy() {\n if (!this._destroyed) {\n this._destroyed = true;\n this._resetDomPlayerState();\n this._onFinish();\n if (this._specialStyles) {\n this._specialStyles.destroy();\n }\n this._onDestroyFns.forEach(fn => fn());\n this._onDestroyFns = [];\n }\n }\n setPosition(p) {\n if (this.domPlayer === undefined) {\n this.init();\n }\n this.domPlayer.currentTime = p * this.time;\n }\n getPosition() {\n // tsc is complaining with TS2362 without the conversion to number\n return +(this.domPlayer.currentTime ?? 0) / this.time;\n }\n get totalTime() {\n return this._delay + this._duration;\n }\n beforeDestroy() {\n const styles = new Map();\n if (this.hasStarted()) {\n // note: this code is invoked only when the `play` function was called prior to this\n // (thus `hasStarted` returns true), this implies that the code that initializes\n // `_finalKeyframe` has also been executed and the non-null assertion can be safely used here\n const finalKeyframe = this._finalKeyframe;\n finalKeyframe.forEach((val, prop) => {\n if (prop !== 'offset') {\n styles.set(prop, this._finished ? val : computeStyle(this.element, prop));\n }\n });\n }\n this.currentSnapshot = styles;\n }\n /** @internal */\n triggerCallback(phaseName) {\n const methods = phaseName === 'start' ? this._onStartFns : this._onDoneFns;\n methods.forEach(fn => fn());\n methods.length = 0;\n }\n}\n\nclass WebAnimationsDriver {\n validateStyleProperty(prop) {\n // Perform actual validation in dev mode only, in prod mode this check is a noop.\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n return validateStyleProperty(prop);\n }\n return true;\n }\n validateAnimatableStyleProperty(prop) {\n // Perform actual validation in dev mode only, in prod mode this check is a noop.\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n const cssProp = camelCaseToDashCase(prop);\n return validateWebAnimatableStyleProperty(cssProp);\n }\n return true;\n }\n matchesElement(_element, _selector) {\n // This method is deprecated and no longer in use so we return false.\n return false;\n }\n containsElement(elm1, elm2) {\n return containsElement(elm1, elm2);\n }\n getParentElement(element) {\n return getParentElement(element);\n }\n query(element, selector, multi) {\n return invokeQuery(element, selector, multi);\n }\n computeStyle(element, prop, defaultValue) {\n return window.getComputedStyle(element)[prop];\n }\n animate(element, keyframes, duration, delay, easing, previousPlayers = []) {\n const fill = delay == 0 ? 'both' : 'forwards';\n const playerOptions = { duration, delay, fill };\n // we check for this to avoid having a null|undefined value be present\n // for the easing (which results in an error for certain browsers #9752)\n if (easing) {\n playerOptions['easing'] = easing;\n }\n const previousStyles = new Map();\n const previousWebAnimationPlayers = previousPlayers.filter(player => player instanceof WebAnimationsPlayer);\n if (allowPreviousPlayerStylesMerge(duration, delay)) {\n previousWebAnimationPlayers.forEach(player => {\n player.currentSnapshot.forEach((val, prop) => previousStyles.set(prop, val));\n });\n }\n let _keyframes = normalizeKeyframes(keyframes).map(styles => copyStyles(styles));\n _keyframes = balancePreviousStylesIntoKeyframes(element, _keyframes, previousStyles);\n const specialStyles = packageNonAnimatableStyles(element, _keyframes);\n return new WebAnimationsPlayer(element, _keyframes, playerOptions, specialStyles);\n }\n}\n\n/**\n * @module\n * @description\n * Entry point for all animation APIs of the animation browser package.\n */\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of this package.\n */\n\n// This file is not used to build this module. It is only used during editing\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { AnimationDriver, Animation as ɵAnimation, AnimationEngine as ɵAnimationEngine, AnimationStyleNormalizer as ɵAnimationStyleNormalizer, NoopAnimationDriver as ɵNoopAnimationDriver, NoopAnimationStyleNormalizer as ɵNoopAnimationStyleNormalizer, WebAnimationsDriver as ɵWebAnimationsDriver, WebAnimationsPlayer as ɵWebAnimationsPlayer, WebAnimationsStyleNormalizer as ɵWebAnimationsStyleNormalizer, allowPreviousPlayerStylesMerge as ɵallowPreviousPlayerStylesMerge, containsElement as ɵcontainsElement, getParentElement as ɵgetParentElement, invokeQuery as ɵinvokeQuery, normalizeKeyframes as ɵnormalizeKeyframes, validateStyleProperty as ɵvalidateStyleProperty };\n","import { DOCUMENT } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { inject, APP_ID, Injectable, Inject, QueryList, Directive, Input, InjectionToken, Optional, EventEmitter, Output, NgModule } from '@angular/core';\nimport * as i1 from '@angular/cdk/platform';\nimport { _getFocusedElementPierceShadowDom, normalizePassiveListenerOptions, _getEventTarget, _getShadowRoot } from '@angular/cdk/platform';\nimport { Subject, Subscription, BehaviorSubject, of } from 'rxjs';\nimport { hasModifierKey, A, Z, ZERO, NINE, PAGE_DOWN, PAGE_UP, END, HOME, LEFT_ARROW, RIGHT_ARROW, UP_ARROW, DOWN_ARROW, TAB, ALT, CONTROL, MAC_META, META, SHIFT } from '@angular/cdk/keycodes';\nimport { tap, debounceTime, filter, map, take, skip, distinctUntilChanged, takeUntil } from 'rxjs/operators';\nimport { coerceBooleanProperty, coerceElement } from '@angular/cdk/coercion';\nimport * as i1$1 from '@angular/cdk/observers';\nimport { ObserversModule } from '@angular/cdk/observers';\nimport { BreakpointObserver } from '@angular/cdk/layout';\n\n/** IDs are delimited by an empty space, as per the spec. */\nconst ID_DELIMITER = ' ';\n/**\n * Adds the given ID to the specified ARIA attribute on an element.\n * Used for attributes such as aria-labelledby, aria-owns, etc.\n */\nfunction addAriaReferencedId(el, attr, id) {\n const ids = getAriaReferenceIds(el, attr);\n if (ids.some(existingId => existingId.trim() == id.trim())) {\n return;\n }\n ids.push(id.trim());\n el.setAttribute(attr, ids.join(ID_DELIMITER));\n}\n/**\n * Removes the given ID from the specified ARIA attribute on an element.\n * Used for attributes such as aria-labelledby, aria-owns, etc.\n */\nfunction removeAriaReferencedId(el, attr, id) {\n const ids = getAriaReferenceIds(el, attr);\n const filteredIds = ids.filter(val => val != id.trim());\n if (filteredIds.length) {\n el.setAttribute(attr, filteredIds.join(ID_DELIMITER));\n }\n else {\n el.removeAttribute(attr);\n }\n}\n/**\n * Gets the list of IDs referenced by the given ARIA attribute on an element.\n * Used for attributes such as aria-labelledby, aria-owns, etc.\n */\nfunction getAriaReferenceIds(el, attr) {\n // Get string array of all individual ids (whitespace delimited) in the attribute value\n return (el.getAttribute(attr) || '').match(/\\S+/g) || [];\n}\n\n/**\n * ID used for the body container where all messages are appended.\n * @deprecated No longer being used. To be removed.\n * @breaking-change 14.0.0\n */\nconst MESSAGES_CONTAINER_ID = 'cdk-describedby-message-container';\n/**\n * ID prefix used for each created message element.\n * @deprecated To be turned into a private variable.\n * @breaking-change 14.0.0\n */\nconst CDK_DESCRIBEDBY_ID_PREFIX = 'cdk-describedby-message';\n/**\n * Attribute given to each host element that is described by a message element.\n * @deprecated To be turned into a private variable.\n * @breaking-change 14.0.0\n */\nconst CDK_DESCRIBEDBY_HOST_ATTRIBUTE = 'cdk-describedby-host';\n/** Global incremental identifier for each registered message element. */\nlet nextId = 0;\n/**\n * Utility that creates visually hidden elements with a message content. Useful for elements that\n * want to use aria-describedby to further describe themselves without adding additional visual\n * content.\n */\nclass AriaDescriber {\n constructor(_document, \n /**\n * @deprecated To be turned into a required parameter.\n * @breaking-change 14.0.0\n */\n _platform) {\n this._platform = _platform;\n /** Map of all registered message elements that have been placed into the document. */\n this._messageRegistry = new Map();\n /** Container for all registered messages. */\n this._messagesContainer = null;\n /** Unique ID for the service. */\n this._id = `${nextId++}`;\n this._document = _document;\n this._id = inject(APP_ID) + '-' + nextId++;\n }\n describe(hostElement, message, role) {\n if (!this._canBeDescribed(hostElement, message)) {\n return;\n }\n const key = getKey(message, role);\n if (typeof message !== 'string') {\n // We need to ensure that the element has an ID.\n setMessageId(message, this._id);\n this._messageRegistry.set(key, { messageElement: message, referenceCount: 0 });\n }\n else if (!this._messageRegistry.has(key)) {\n this._createMessageElement(message, role);\n }\n if (!this._isElementDescribedByMessage(hostElement, key)) {\n this._addMessageReference(hostElement, key);\n }\n }\n removeDescription(hostElement, message, role) {\n if (!message || !this._isElementNode(hostElement)) {\n return;\n }\n const key = getKey(message, role);\n if (this._isElementDescribedByMessage(hostElement, key)) {\n this._removeMessageReference(hostElement, key);\n }\n // If the message is a string, it means that it's one that we created for the\n // consumer so we can remove it safely, otherwise we should leave it in place.\n if (typeof message === 'string') {\n const registeredMessage = this._messageRegistry.get(key);\n if (registeredMessage && registeredMessage.referenceCount === 0) {\n this._deleteMessageElement(key);\n }\n }\n if (this._messagesContainer?.childNodes.length === 0) {\n this._messagesContainer.remove();\n this._messagesContainer = null;\n }\n }\n /** Unregisters all created message elements and removes the message container. */\n ngOnDestroy() {\n const describedElements = this._document.querySelectorAll(`[${CDK_DESCRIBEDBY_HOST_ATTRIBUTE}=\"${this._id}\"]`);\n for (let i = 0; i < describedElements.length; i++) {\n this._removeCdkDescribedByReferenceIds(describedElements[i]);\n describedElements[i].removeAttribute(CDK_DESCRIBEDBY_HOST_ATTRIBUTE);\n }\n this._messagesContainer?.remove();\n this._messagesContainer = null;\n this._messageRegistry.clear();\n }\n /**\n * Creates a new element in the visually hidden message container element with the message\n * as its content and adds it to the message registry.\n */\n _createMessageElement(message, role) {\n const messageElement = this._document.createElement('div');\n setMessageId(messageElement, this._id);\n messageElement.textContent = message;\n if (role) {\n messageElement.setAttribute('role', role);\n }\n this._createMessagesContainer();\n this._messagesContainer.appendChild(messageElement);\n this._messageRegistry.set(getKey(message, role), { messageElement, referenceCount: 0 });\n }\n /** Deletes the message element from the global messages container. */\n _deleteMessageElement(key) {\n this._messageRegistry.get(key)?.messageElement?.remove();\n this._messageRegistry.delete(key);\n }\n /** Creates the global container for all aria-describedby messages. */\n _createMessagesContainer() {\n if (this._messagesContainer) {\n return;\n }\n const containerClassName = 'cdk-describedby-message-container';\n const serverContainers = this._document.querySelectorAll(`.${containerClassName}[platform=\"server\"]`);\n for (let i = 0; i < serverContainers.length; i++) {\n // When going from the server to the client, we may end up in a situation where there's\n // already a container on the page, but we don't have a reference to it. Clear the\n // old container so we don't get duplicates. Doing this, instead of emptying the previous\n // container, should be slightly faster.\n serverContainers[i].remove();\n }\n const messagesContainer = this._document.createElement('div');\n // We add `visibility: hidden` in order to prevent text in this container from\n // being searchable by the browser's Ctrl + F functionality.\n // Screen-readers will still read the description for elements with aria-describedby even\n // when the description element is not visible.\n messagesContainer.style.visibility = 'hidden';\n // Even though we use `visibility: hidden`, we still apply `cdk-visually-hidden` so that\n // the description element doesn't impact page layout.\n messagesContainer.classList.add(containerClassName);\n messagesContainer.classList.add('cdk-visually-hidden');\n // @breaking-change 14.0.0 Remove null check for `_platform`.\n if (this._platform && !this._platform.isBrowser) {\n messagesContainer.setAttribute('platform', 'server');\n }\n this._document.body.appendChild(messagesContainer);\n this._messagesContainer = messagesContainer;\n }\n /** Removes all cdk-describedby messages that are hosted through the element. */\n _removeCdkDescribedByReferenceIds(element) {\n // Remove all aria-describedby reference IDs that are prefixed by CDK_DESCRIBEDBY_ID_PREFIX\n const originalReferenceIds = getAriaReferenceIds(element, 'aria-describedby').filter(id => id.indexOf(CDK_DESCRIBEDBY_ID_PREFIX) != 0);\n element.setAttribute('aria-describedby', originalReferenceIds.join(' '));\n }\n /**\n * Adds a message reference to the element using aria-describedby and increments the registered\n * message's reference count.\n */\n _addMessageReference(element, key) {\n const registeredMessage = this._messageRegistry.get(key);\n // Add the aria-describedby reference and set the\n // describedby_host attribute to mark the element.\n addAriaReferencedId(element, 'aria-describedby', registeredMessage.messageElement.id);\n element.setAttribute(CDK_DESCRIBEDBY_HOST_ATTRIBUTE, this._id);\n registeredMessage.referenceCount++;\n }\n /**\n * Removes a message reference from the element using aria-describedby\n * and decrements the registered message's reference count.\n */\n _removeMessageReference(element, key) {\n const registeredMessage = this._messageRegistry.get(key);\n registeredMessage.referenceCount--;\n removeAriaReferencedId(element, 'aria-describedby', registeredMessage.messageElement.id);\n element.removeAttribute(CDK_DESCRIBEDBY_HOST_ATTRIBUTE);\n }\n /** Returns true if the element has been described by the provided message ID. */\n _isElementDescribedByMessage(element, key) {\n const referenceIds = getAriaReferenceIds(element, 'aria-describedby');\n const registeredMessage = this._messageRegistry.get(key);\n const messageId = registeredMessage && registeredMessage.messageElement.id;\n return !!messageId && referenceIds.indexOf(messageId) != -1;\n }\n /** Determines whether a message can be described on a particular element. */\n _canBeDescribed(element, message) {\n if (!this._isElementNode(element)) {\n return false;\n }\n if (message && typeof message === 'object') {\n // We'd have to make some assumptions about the description element's text, if the consumer\n // passed in an element. Assume that if an element is passed in, the consumer has verified\n // that it can be used as a description.\n return true;\n }\n const trimmedMessage = message == null ? '' : `${message}`.trim();\n const ariaLabel = element.getAttribute('aria-label');\n // We shouldn't set descriptions if they're exactly the same as the `aria-label` of the\n // element, because screen readers will end up reading out the same text twice in a row.\n return trimmedMessage ? !ariaLabel || ariaLabel.trim() !== trimmedMessage : false;\n }\n /** Checks whether a node is an Element node. */\n _isElementNode(element) {\n return element.nodeType === this._document.ELEMENT_NODE;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: AriaDescriber, deps: [{ token: DOCUMENT }, { token: i1.Platform }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: AriaDescriber, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: AriaDescriber, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }, { type: i1.Platform }]; } });\n/** Gets a key that can be used to look messages up in the registry. */\nfunction getKey(message, role) {\n return typeof message === 'string' ? `${role || ''}/${message}` : message;\n}\n/** Assigns a unique ID to an element, if it doesn't have one already. */\nfunction setMessageId(element, serviceId) {\n if (!element.id) {\n element.id = `${CDK_DESCRIBEDBY_ID_PREFIX}-${serviceId}-${nextId++}`;\n }\n}\n\n/**\n * This class manages keyboard events for selectable lists. If you pass it a query list\n * of items, it will set the active item correctly when arrow events occur.\n */\nclass ListKeyManager {\n constructor(_items) {\n this._items = _items;\n this._activeItemIndex = -1;\n this._activeItem = null;\n this._wrap = false;\n this._letterKeyStream = new Subject();\n this._typeaheadSubscription = Subscription.EMPTY;\n this._vertical = true;\n this._allowedModifierKeys = [];\n this._homeAndEnd = false;\n this._pageUpAndDown = { enabled: false, delta: 10 };\n /**\n * Predicate function that can be used to check whether an item should be skipped\n * by the key manager. By default, disabled items are skipped.\n */\n this._skipPredicateFn = (item) => item.disabled;\n // Buffer for the letters that the user has pressed when the typeahead option is turned on.\n this._pressedLetters = [];\n /**\n * Stream that emits any time the TAB key is pressed, so components can react\n * when focus is shifted off of the list.\n */\n this.tabOut = new Subject();\n /** Stream that emits whenever the active item of the list manager changes. */\n this.change = new Subject();\n // We allow for the items to be an array because, in some cases, the consumer may\n // not have access to a QueryList of the items they want to manage (e.g. when the\n // items aren't being collected via `ViewChildren` or `ContentChildren`).\n if (_items instanceof QueryList) {\n this._itemChangesSubscription = _items.changes.subscribe((newItems) => {\n if (this._activeItem) {\n const itemArray = newItems.toArray();\n const newIndex = itemArray.indexOf(this._activeItem);\n if (newIndex > -1 && newIndex !== this._activeItemIndex) {\n this._activeItemIndex = newIndex;\n }\n }\n });\n }\n }\n /**\n * Sets the predicate function that determines which items should be skipped by the\n * list key manager.\n * @param predicate Function that determines whether the given item should be skipped.\n */\n skipPredicate(predicate) {\n this._skipPredicateFn = predicate;\n return this;\n }\n /**\n * Configures wrapping mode, which determines whether the active item will wrap to\n * the other end of list when there are no more items in the given direction.\n * @param shouldWrap Whether the list should wrap when reaching the end.\n */\n withWrap(shouldWrap = true) {\n this._wrap = shouldWrap;\n return this;\n }\n /**\n * Configures whether the key manager should be able to move the selection vertically.\n * @param enabled Whether vertical selection should be enabled.\n */\n withVerticalOrientation(enabled = true) {\n this._vertical = enabled;\n return this;\n }\n /**\n * Configures the key manager to move the selection horizontally.\n * Passing in `null` will disable horizontal movement.\n * @param direction Direction in which the selection can be moved.\n */\n withHorizontalOrientation(direction) {\n this._horizontal = direction;\n return this;\n }\n /**\n * Modifier keys which are allowed to be held down and whose default actions will be prevented\n * as the user is pressing the arrow keys. Defaults to not allowing any modifier keys.\n */\n withAllowedModifierKeys(keys) {\n this._allowedModifierKeys = keys;\n return this;\n }\n /**\n * Turns on typeahead mode which allows users to set the active item by typing.\n * @param debounceInterval Time to wait after the last keystroke before setting the active item.\n */\n withTypeAhead(debounceInterval = 200) {\n if ((typeof ngDevMode === 'undefined' || ngDevMode) &&\n this._items.length &&\n this._items.some(item => typeof item.getLabel !== 'function')) {\n throw Error('ListKeyManager items in typeahead mode must implement the `getLabel` method.');\n }\n this._typeaheadSubscription.unsubscribe();\n // Debounce the presses of non-navigational keys, collect the ones that correspond to letters\n // and convert those letters back into a string. Afterwards find the first item that starts\n // with that string and select it.\n this._typeaheadSubscription = this._letterKeyStream\n .pipe(tap(letter => this._pressedLetters.push(letter)), debounceTime(debounceInterval), filter(() => this._pressedLetters.length > 0), map(() => this._pressedLetters.join('')))\n .subscribe(inputString => {\n const items = this._getItemsArray();\n // Start at 1 because we want to start searching at the item immediately\n // following the current active item.\n for (let i = 1; i < items.length + 1; i++) {\n const index = (this._activeItemIndex + i) % items.length;\n const item = items[index];\n if (!this._skipPredicateFn(item) &&\n item.getLabel().toUpperCase().trim().indexOf(inputString) === 0) {\n this.setActiveItem(index);\n break;\n }\n }\n this._pressedLetters = [];\n });\n return this;\n }\n /** Cancels the current typeahead sequence. */\n cancelTypeahead() {\n this._pressedLetters = [];\n return this;\n }\n /**\n * Configures the key manager to activate the first and last items\n * respectively when the Home or End key is pressed.\n * @param enabled Whether pressing the Home or End key activates the first/last item.\n */\n withHomeAndEnd(enabled = true) {\n this._homeAndEnd = enabled;\n return this;\n }\n /**\n * Configures the key manager to activate every 10th, configured or first/last element in up/down direction\n * respectively when the Page-Up or Page-Down key is pressed.\n * @param enabled Whether pressing the Page-Up or Page-Down key activates the first/last item.\n * @param delta Whether pressing the Home or End key activates the first/last item.\n */\n withPageUpDown(enabled = true, delta = 10) {\n this._pageUpAndDown = { enabled, delta };\n return this;\n }\n setActiveItem(item) {\n const previousActiveItem = this._activeItem;\n this.updateActiveItem(item);\n if (this._activeItem !== previousActiveItem) {\n this.change.next(this._activeItemIndex);\n }\n }\n /**\n * Sets the active item depending on the key event passed in.\n * @param event Keyboard event to be used for determining which element should be active.\n */\n onKeydown(event) {\n const keyCode = event.keyCode;\n const modifiers = ['altKey', 'ctrlKey', 'metaKey', 'shiftKey'];\n const isModifierAllowed = modifiers.every(modifier => {\n return !event[modifier] || this._allowedModifierKeys.indexOf(modifier) > -1;\n });\n switch (keyCode) {\n case TAB:\n this.tabOut.next();\n return;\n case DOWN_ARROW:\n if (this._vertical && isModifierAllowed) {\n this.setNextItemActive();\n break;\n }\n else {\n return;\n }\n case UP_ARROW:\n if (this._vertical && isModifierAllowed) {\n this.setPreviousItemActive();\n break;\n }\n else {\n return;\n }\n case RIGHT_ARROW:\n if (this._horizontal && isModifierAllowed) {\n this._horizontal === 'rtl' ? this.setPreviousItemActive() : this.setNextItemActive();\n break;\n }\n else {\n return;\n }\n case LEFT_ARROW:\n if (this._horizontal && isModifierAllowed) {\n this._horizontal === 'rtl' ? this.setNextItemActive() : this.setPreviousItemActive();\n break;\n }\n else {\n return;\n }\n case HOME:\n if (this._homeAndEnd && isModifierAllowed) {\n this.setFirstItemActive();\n break;\n }\n else {\n return;\n }\n case END:\n if (this._homeAndEnd && isModifierAllowed) {\n this.setLastItemActive();\n break;\n }\n else {\n return;\n }\n case PAGE_UP:\n if (this._pageUpAndDown.enabled && isModifierAllowed) {\n const targetIndex = this._activeItemIndex - this._pageUpAndDown.delta;\n this._setActiveItemByIndex(targetIndex > 0 ? targetIndex : 0, 1);\n break;\n }\n else {\n return;\n }\n case PAGE_DOWN:\n if (this._pageUpAndDown.enabled && isModifierAllowed) {\n const targetIndex = this._activeItemIndex + this._pageUpAndDown.delta;\n const itemsLength = this._getItemsArray().length;\n this._setActiveItemByIndex(targetIndex < itemsLength ? targetIndex : itemsLength - 1, -1);\n break;\n }\n else {\n return;\n }\n default:\n if (isModifierAllowed || hasModifierKey(event, 'shiftKey')) {\n // Attempt to use the `event.key` which also maps it to the user's keyboard language,\n // otherwise fall back to resolving alphanumeric characters via the keyCode.\n if (event.key && event.key.length === 1) {\n this._letterKeyStream.next(event.key.toLocaleUpperCase());\n }\n else if ((keyCode >= A && keyCode <= Z) || (keyCode >= ZERO && keyCode <= NINE)) {\n this._letterKeyStream.next(String.fromCharCode(keyCode));\n }\n }\n // Note that we return here, in order to avoid preventing\n // the default action of non-navigational keys.\n return;\n }\n this._pressedLetters = [];\n event.preventDefault();\n }\n /** Index of the currently active item. */\n get activeItemIndex() {\n return this._activeItemIndex;\n }\n /** The active item. */\n get activeItem() {\n return this._activeItem;\n }\n /** Gets whether the user is currently typing into the manager using the typeahead feature. */\n isTyping() {\n return this._pressedLetters.length > 0;\n }\n /** Sets the active item to the first enabled item in the list. */\n setFirstItemActive() {\n this._setActiveItemByIndex(0, 1);\n }\n /** Sets the active item to the last enabled item in the list. */\n setLastItemActive() {\n this._setActiveItemByIndex(this._items.length - 1, -1);\n }\n /** Sets the active item to the next enabled item in the list. */\n setNextItemActive() {\n this._activeItemIndex < 0 ? this.setFirstItemActive() : this._setActiveItemByDelta(1);\n }\n /** Sets the active item to a previous enabled item in the list. */\n setPreviousItemActive() {\n this._activeItemIndex < 0 && this._wrap\n ? this.setLastItemActive()\n : this._setActiveItemByDelta(-1);\n }\n updateActiveItem(item) {\n const itemArray = this._getItemsArray();\n const index = typeof item === 'number' ? item : itemArray.indexOf(item);\n const activeItem = itemArray[index];\n // Explicitly check for `null` and `undefined` because other falsy values are valid.\n this._activeItem = activeItem == null ? null : activeItem;\n this._activeItemIndex = index;\n }\n /** Cleans up the key manager. */\n destroy() {\n this._typeaheadSubscription.unsubscribe();\n this._itemChangesSubscription?.unsubscribe();\n this._letterKeyStream.complete();\n this.tabOut.complete();\n this.change.complete();\n this._pressedLetters = [];\n }\n /**\n * This method sets the active item, given a list of items and the delta between the\n * currently active item and the new active item. It will calculate differently\n * depending on whether wrap mode is turned on.\n */\n _setActiveItemByDelta(delta) {\n this._wrap ? this._setActiveInWrapMode(delta) : this._setActiveInDefaultMode(delta);\n }\n /**\n * Sets the active item properly given \"wrap\" mode. In other words, it will continue to move\n * down the list until it finds an item that is not disabled, and it will wrap if it\n * encounters either end of the list.\n */\n _setActiveInWrapMode(delta) {\n const items = this._getItemsArray();\n for (let i = 1; i <= items.length; i++) {\n const index = (this._activeItemIndex + delta * i + items.length) % items.length;\n const item = items[index];\n if (!this._skipPredicateFn(item)) {\n this.setActiveItem(index);\n return;\n }\n }\n }\n /**\n * Sets the active item properly given the default mode. In other words, it will\n * continue to move down the list until it finds an item that is not disabled. If\n * it encounters either end of the list, it will stop and not wrap.\n */\n _setActiveInDefaultMode(delta) {\n this._setActiveItemByIndex(this._activeItemIndex + delta, delta);\n }\n /**\n * Sets the active item to the first enabled item starting at the index specified. If the\n * item is disabled, it will move in the fallbackDelta direction until it either\n * finds an enabled item or encounters the end of the list.\n */\n _setActiveItemByIndex(index, fallbackDelta) {\n const items = this._getItemsArray();\n if (!items[index]) {\n return;\n }\n while (this._skipPredicateFn(items[index])) {\n index += fallbackDelta;\n if (!items[index]) {\n return;\n }\n }\n this.setActiveItem(index);\n }\n /** Returns the items as an array. */\n _getItemsArray() {\n return this._items instanceof QueryList ? this._items.toArray() : this._items;\n }\n}\n\nclass ActiveDescendantKeyManager extends ListKeyManager {\n setActiveItem(index) {\n if (this.activeItem) {\n this.activeItem.setInactiveStyles();\n }\n super.setActiveItem(index);\n if (this.activeItem) {\n this.activeItem.setActiveStyles();\n }\n }\n}\n\nclass FocusKeyManager extends ListKeyManager {\n constructor() {\n super(...arguments);\n this._origin = 'program';\n }\n /**\n * Sets the focus origin that will be passed in to the items for any subsequent `focus` calls.\n * @param origin Focus origin to be used when focusing items.\n */\n setFocusOrigin(origin) {\n this._origin = origin;\n return this;\n }\n setActiveItem(item) {\n super.setActiveItem(item);\n if (this.activeItem) {\n this.activeItem.focus(this._origin);\n }\n }\n}\n\n/**\n * Configuration for the isFocusable method.\n */\nclass IsFocusableConfig {\n constructor() {\n /**\n * Whether to count an element as focusable even if it is not currently visible.\n */\n this.ignoreVisibility = false;\n }\n}\n// The InteractivityChecker leans heavily on the ally.js accessibility utilities.\n// Methods like `isTabbable` are only covering specific edge-cases for the browsers which are\n// supported.\n/**\n * Utility for checking the interactivity of an element, such as whether it is focusable or\n * tabbable.\n */\nclass InteractivityChecker {\n constructor(_platform) {\n this._platform = _platform;\n }\n /**\n * Gets whether an element is disabled.\n *\n * @param element Element to be checked.\n * @returns Whether the element is disabled.\n */\n isDisabled(element) {\n // This does not capture some cases, such as a non-form control with a disabled attribute or\n // a form control inside of a disabled form, but should capture the most common cases.\n return element.hasAttribute('disabled');\n }\n /**\n * Gets whether an element is visible for the purposes of interactivity.\n *\n * This will capture states like `display: none` and `visibility: hidden`, but not things like\n * being clipped by an `overflow: hidden` parent or being outside the viewport.\n *\n * @returns Whether the element is visible.\n */\n isVisible(element) {\n return hasGeometry(element) && getComputedStyle(element).visibility === 'visible';\n }\n /**\n * Gets whether an element can be reached via Tab key.\n * Assumes that the element has already been checked with isFocusable.\n *\n * @param element Element to be checked.\n * @returns Whether the element is tabbable.\n */\n isTabbable(element) {\n // Nothing is tabbable on the server 😎\n if (!this._platform.isBrowser) {\n return false;\n }\n const frameElement = getFrameElement(getWindow(element));\n if (frameElement) {\n // Frame elements inherit their tabindex onto all child elements.\n if (getTabIndexValue(frameElement) === -1) {\n return false;\n }\n // Browsers disable tabbing to an element inside of an invisible frame.\n if (!this.isVisible(frameElement)) {\n return false;\n }\n }\n let nodeName = element.nodeName.toLowerCase();\n let tabIndexValue = getTabIndexValue(element);\n if (element.hasAttribute('contenteditable')) {\n return tabIndexValue !== -1;\n }\n if (nodeName === 'iframe' || nodeName === 'object') {\n // The frame or object's content may be tabbable depending on the content, but it's\n // not possibly to reliably detect the content of the frames. We always consider such\n // elements as non-tabbable.\n return false;\n }\n // In iOS, the browser only considers some specific elements as tabbable.\n if (this._platform.WEBKIT && this._platform.IOS && !isPotentiallyTabbableIOS(element)) {\n return false;\n }\n if (nodeName === 'audio') {\n // Audio elements without controls enabled are never tabbable, regardless\n // of the tabindex attribute explicitly being set.\n if (!element.hasAttribute('controls')) {\n return false;\n }\n // Audio elements with controls are by default tabbable unless the\n // tabindex attribute is set to `-1` explicitly.\n return tabIndexValue !== -1;\n }\n if (nodeName === 'video') {\n // For all video elements, if the tabindex attribute is set to `-1`, the video\n // is not tabbable. Note: We cannot rely on the default `HTMLElement.tabIndex`\n // property as that one is set to `-1` in Chrome, Edge and Safari v13.1. The\n // tabindex attribute is the source of truth here.\n if (tabIndexValue === -1) {\n return false;\n }\n // If the tabindex is explicitly set, and not `-1` (as per check before), the\n // video element is always tabbable (regardless of whether it has controls or not).\n if (tabIndexValue !== null) {\n return true;\n }\n // Otherwise (when no explicit tabindex is set), a video is only tabbable if it\n // has controls enabled. Firefox is special as videos are always tabbable regardless\n // of whether there are controls or not.\n return this._platform.FIREFOX || element.hasAttribute('controls');\n }\n return element.tabIndex >= 0;\n }\n /**\n * Gets whether an element can be focused by the user.\n *\n * @param element Element to be checked.\n * @param config The config object with options to customize this method's behavior\n * @returns Whether the element is focusable.\n */\n isFocusable(element, config) {\n // Perform checks in order of left to most expensive.\n // Again, naive approach that does not capture many edge cases and browser quirks.\n return (isPotentiallyFocusable(element) &&\n !this.isDisabled(element) &&\n (config?.ignoreVisibility || this.isVisible(element)));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: InteractivityChecker, deps: [{ token: i1.Platform }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: InteractivityChecker, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: InteractivityChecker, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: i1.Platform }]; } });\n/**\n * Returns the frame element from a window object. Since browsers like MS Edge throw errors if\n * the frameElement property is being accessed from a different host address, this property\n * should be accessed carefully.\n */\nfunction getFrameElement(window) {\n try {\n return window.frameElement;\n }\n catch {\n return null;\n }\n}\n/** Checks whether the specified element has any geometry / rectangles. */\nfunction hasGeometry(element) {\n // Use logic from jQuery to check for an invisible element.\n // See https://github.com/jquery/jquery/blob/master/src/css/hiddenVisibleSelectors.js#L12\n return !!(element.offsetWidth ||\n element.offsetHeight ||\n (typeof element.getClientRects === 'function' && element.getClientRects().length));\n}\n/** Gets whether an element's */\nfunction isNativeFormElement(element) {\n let nodeName = element.nodeName.toLowerCase();\n return (nodeName === 'input' ||\n nodeName === 'select' ||\n nodeName === 'button' ||\n nodeName === 'textarea');\n}\n/** Gets whether an element is an ``. */\nfunction isHiddenInput(element) {\n return isInputElement(element) && element.type == 'hidden';\n}\n/** Gets whether an element is an anchor that has an href attribute. */\nfunction isAnchorWithHref(element) {\n return isAnchorElement(element) && element.hasAttribute('href');\n}\n/** Gets whether an element is an input element. */\nfunction isInputElement(element) {\n return element.nodeName.toLowerCase() == 'input';\n}\n/** Gets whether an element is an anchor element. */\nfunction isAnchorElement(element) {\n return element.nodeName.toLowerCase() == 'a';\n}\n/** Gets whether an element has a valid tabindex. */\nfunction hasValidTabIndex(element) {\n if (!element.hasAttribute('tabindex') || element.tabIndex === undefined) {\n return false;\n }\n let tabIndex = element.getAttribute('tabindex');\n return !!(tabIndex && !isNaN(parseInt(tabIndex, 10)));\n}\n/**\n * Returns the parsed tabindex from the element attributes instead of returning the\n * evaluated tabindex from the browsers defaults.\n */\nfunction getTabIndexValue(element) {\n if (!hasValidTabIndex(element)) {\n return null;\n }\n // See browser issue in Gecko https://bugzilla.mozilla.org/show_bug.cgi?id=1128054\n const tabIndex = parseInt(element.getAttribute('tabindex') || '', 10);\n return isNaN(tabIndex) ? -1 : tabIndex;\n}\n/** Checks whether the specified element is potentially tabbable on iOS */\nfunction isPotentiallyTabbableIOS(element) {\n let nodeName = element.nodeName.toLowerCase();\n let inputType = nodeName === 'input' && element.type;\n return (inputType === 'text' ||\n inputType === 'password' ||\n nodeName === 'select' ||\n nodeName === 'textarea');\n}\n/**\n * Gets whether an element is potentially focusable without taking current visible/disabled state\n * into account.\n */\nfunction isPotentiallyFocusable(element) {\n // Inputs are potentially focusable *unless* they're type=\"hidden\".\n if (isHiddenInput(element)) {\n return false;\n }\n return (isNativeFormElement(element) ||\n isAnchorWithHref(element) ||\n element.hasAttribute('contenteditable') ||\n hasValidTabIndex(element));\n}\n/** Gets the parent window of a DOM node with regards of being inside of an iframe. */\nfunction getWindow(node) {\n // ownerDocument is null if `node` itself *is* a document.\n return (node.ownerDocument && node.ownerDocument.defaultView) || window;\n}\n\n/**\n * Class that allows for trapping focus within a DOM element.\n *\n * This class currently uses a relatively simple approach to focus trapping.\n * It assumes that the tab order is the same as DOM order, which is not necessarily true.\n * Things like `tabIndex > 0`, flex `order`, and shadow roots can cause the two to be misaligned.\n *\n * @deprecated Use `ConfigurableFocusTrap` instead.\n * @breaking-change 11.0.0\n */\nclass FocusTrap {\n /** Whether the focus trap is active. */\n get enabled() {\n return this._enabled;\n }\n set enabled(value) {\n this._enabled = value;\n if (this._startAnchor && this._endAnchor) {\n this._toggleAnchorTabIndex(value, this._startAnchor);\n this._toggleAnchorTabIndex(value, this._endAnchor);\n }\n }\n constructor(_element, _checker, _ngZone, _document, deferAnchors = false) {\n this._element = _element;\n this._checker = _checker;\n this._ngZone = _ngZone;\n this._document = _document;\n this._hasAttached = false;\n // Event listeners for the anchors. Need to be regular functions so that we can unbind them later.\n this.startAnchorListener = () => this.focusLastTabbableElement();\n this.endAnchorListener = () => this.focusFirstTabbableElement();\n this._enabled = true;\n if (!deferAnchors) {\n this.attachAnchors();\n }\n }\n /** Destroys the focus trap by cleaning up the anchors. */\n destroy() {\n const startAnchor = this._startAnchor;\n const endAnchor = this._endAnchor;\n if (startAnchor) {\n startAnchor.removeEventListener('focus', this.startAnchorListener);\n startAnchor.remove();\n }\n if (endAnchor) {\n endAnchor.removeEventListener('focus', this.endAnchorListener);\n endAnchor.remove();\n }\n this._startAnchor = this._endAnchor = null;\n this._hasAttached = false;\n }\n /**\n * Inserts the anchors into the DOM. This is usually done automatically\n * in the constructor, but can be deferred for cases like directives with `*ngIf`.\n * @returns Whether the focus trap managed to attach successfully. This may not be the case\n * if the target element isn't currently in the DOM.\n */\n attachAnchors() {\n // If we're not on the browser, there can be no focus to trap.\n if (this._hasAttached) {\n return true;\n }\n this._ngZone.runOutsideAngular(() => {\n if (!this._startAnchor) {\n this._startAnchor = this._createAnchor();\n this._startAnchor.addEventListener('focus', this.startAnchorListener);\n }\n if (!this._endAnchor) {\n this._endAnchor = this._createAnchor();\n this._endAnchor.addEventListener('focus', this.endAnchorListener);\n }\n });\n if (this._element.parentNode) {\n this._element.parentNode.insertBefore(this._startAnchor, this._element);\n this._element.parentNode.insertBefore(this._endAnchor, this._element.nextSibling);\n this._hasAttached = true;\n }\n return this._hasAttached;\n }\n /**\n * Waits for the zone to stabilize, then focuses the first tabbable element.\n * @returns Returns a promise that resolves with a boolean, depending\n * on whether focus was moved successfully.\n */\n focusInitialElementWhenReady(options) {\n return new Promise(resolve => {\n this._executeOnStable(() => resolve(this.focusInitialElement(options)));\n });\n }\n /**\n * Waits for the zone to stabilize, then focuses\n * the first tabbable element within the focus trap region.\n * @returns Returns a promise that resolves with a boolean, depending\n * on whether focus was moved successfully.\n */\n focusFirstTabbableElementWhenReady(options) {\n return new Promise(resolve => {\n this._executeOnStable(() => resolve(this.focusFirstTabbableElement(options)));\n });\n }\n /**\n * Waits for the zone to stabilize, then focuses\n * the last tabbable element within the focus trap region.\n * @returns Returns a promise that resolves with a boolean, depending\n * on whether focus was moved successfully.\n */\n focusLastTabbableElementWhenReady(options) {\n return new Promise(resolve => {\n this._executeOnStable(() => resolve(this.focusLastTabbableElement(options)));\n });\n }\n /**\n * Get the specified boundary element of the trapped region.\n * @param bound The boundary to get (start or end of trapped region).\n * @returns The boundary element.\n */\n _getRegionBoundary(bound) {\n // Contains the deprecated version of selector, for temporary backwards comparability.\n const markers = this._element.querySelectorAll(`[cdk-focus-region-${bound}], ` + `[cdkFocusRegion${bound}], ` + `[cdk-focus-${bound}]`);\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n for (let i = 0; i < markers.length; i++) {\n // @breaking-change 8.0.0\n if (markers[i].hasAttribute(`cdk-focus-${bound}`)) {\n console.warn(`Found use of deprecated attribute 'cdk-focus-${bound}', ` +\n `use 'cdkFocusRegion${bound}' instead. The deprecated ` +\n `attribute will be removed in 8.0.0.`, markers[i]);\n }\n else if (markers[i].hasAttribute(`cdk-focus-region-${bound}`)) {\n console.warn(`Found use of deprecated attribute 'cdk-focus-region-${bound}', ` +\n `use 'cdkFocusRegion${bound}' instead. The deprecated attribute ` +\n `will be removed in 8.0.0.`, markers[i]);\n }\n }\n }\n if (bound == 'start') {\n return markers.length ? markers[0] : this._getFirstTabbableElement(this._element);\n }\n return markers.length\n ? markers[markers.length - 1]\n : this._getLastTabbableElement(this._element);\n }\n /**\n * Focuses the element that should be focused when the focus trap is initialized.\n * @returns Whether focus was moved successfully.\n */\n focusInitialElement(options) {\n // Contains the deprecated version of selector, for temporary backwards comparability.\n const redirectToElement = this._element.querySelector(`[cdk-focus-initial], ` + `[cdkFocusInitial]`);\n if (redirectToElement) {\n // @breaking-change 8.0.0\n if ((typeof ngDevMode === 'undefined' || ngDevMode) &&\n redirectToElement.hasAttribute(`cdk-focus-initial`)) {\n console.warn(`Found use of deprecated attribute 'cdk-focus-initial', ` +\n `use 'cdkFocusInitial' instead. The deprecated attribute ` +\n `will be removed in 8.0.0`, redirectToElement);\n }\n // Warn the consumer if the element they've pointed to\n // isn't focusable, when not in production mode.\n if ((typeof ngDevMode === 'undefined' || ngDevMode) &&\n !this._checker.isFocusable(redirectToElement)) {\n console.warn(`Element matching '[cdkFocusInitial]' is not focusable.`, redirectToElement);\n }\n if (!this._checker.isFocusable(redirectToElement)) {\n const focusableChild = this._getFirstTabbableElement(redirectToElement);\n focusableChild?.focus(options);\n return !!focusableChild;\n }\n redirectToElement.focus(options);\n return true;\n }\n return this.focusFirstTabbableElement(options);\n }\n /**\n * Focuses the first tabbable element within the focus trap region.\n * @returns Whether focus was moved successfully.\n */\n focusFirstTabbableElement(options) {\n const redirectToElement = this._getRegionBoundary('start');\n if (redirectToElement) {\n redirectToElement.focus(options);\n }\n return !!redirectToElement;\n }\n /**\n * Focuses the last tabbable element within the focus trap region.\n * @returns Whether focus was moved successfully.\n */\n focusLastTabbableElement(options) {\n const redirectToElement = this._getRegionBoundary('end');\n if (redirectToElement) {\n redirectToElement.focus(options);\n }\n return !!redirectToElement;\n }\n /**\n * Checks whether the focus trap has successfully been attached.\n */\n hasAttached() {\n return this._hasAttached;\n }\n /** Get the first tabbable element from a DOM subtree (inclusive). */\n _getFirstTabbableElement(root) {\n if (this._checker.isFocusable(root) && this._checker.isTabbable(root)) {\n return root;\n }\n const children = root.children;\n for (let i = 0; i < children.length; i++) {\n const tabbableChild = children[i].nodeType === this._document.ELEMENT_NODE\n ? this._getFirstTabbableElement(children[i])\n : null;\n if (tabbableChild) {\n return tabbableChild;\n }\n }\n return null;\n }\n /** Get the last tabbable element from a DOM subtree (inclusive). */\n _getLastTabbableElement(root) {\n if (this._checker.isFocusable(root) && this._checker.isTabbable(root)) {\n return root;\n }\n // Iterate in reverse DOM order.\n const children = root.children;\n for (let i = children.length - 1; i >= 0; i--) {\n const tabbableChild = children[i].nodeType === this._document.ELEMENT_NODE\n ? this._getLastTabbableElement(children[i])\n : null;\n if (tabbableChild) {\n return tabbableChild;\n }\n }\n return null;\n }\n /** Creates an anchor element. */\n _createAnchor() {\n const anchor = this._document.createElement('div');\n this._toggleAnchorTabIndex(this._enabled, anchor);\n anchor.classList.add('cdk-visually-hidden');\n anchor.classList.add('cdk-focus-trap-anchor');\n anchor.setAttribute('aria-hidden', 'true');\n return anchor;\n }\n /**\n * Toggles the `tabindex` of an anchor, based on the enabled state of the focus trap.\n * @param isEnabled Whether the focus trap is enabled.\n * @param anchor Anchor on which to toggle the tabindex.\n */\n _toggleAnchorTabIndex(isEnabled, anchor) {\n // Remove the tabindex completely, rather than setting it to -1, because if the\n // element has a tabindex, the user might still hit it when navigating with the arrow keys.\n isEnabled ? anchor.setAttribute('tabindex', '0') : anchor.removeAttribute('tabindex');\n }\n /**\n * Toggles the`tabindex` of both anchors to either trap Tab focus or allow it to escape.\n * @param enabled: Whether the anchors should trap Tab.\n */\n toggleAnchors(enabled) {\n if (this._startAnchor && this._endAnchor) {\n this._toggleAnchorTabIndex(enabled, this._startAnchor);\n this._toggleAnchorTabIndex(enabled, this._endAnchor);\n }\n }\n /** Executes a function when the zone is stable. */\n _executeOnStable(fn) {\n if (this._ngZone.isStable) {\n fn();\n }\n else {\n this._ngZone.onStable.pipe(take(1)).subscribe(fn);\n }\n }\n}\n/**\n * Factory that allows easy instantiation of focus traps.\n * @deprecated Use `ConfigurableFocusTrapFactory` instead.\n * @breaking-change 11.0.0\n */\nclass FocusTrapFactory {\n constructor(_checker, _ngZone, _document) {\n this._checker = _checker;\n this._ngZone = _ngZone;\n this._document = _document;\n }\n /**\n * Creates a focus-trapped region around the given element.\n * @param element The element around which focus will be trapped.\n * @param deferCaptureElements Defers the creation of focus-capturing elements to be done\n * manually by the user.\n * @returns The created focus trap instance.\n */\n create(element, deferCaptureElements = false) {\n return new FocusTrap(element, this._checker, this._ngZone, this._document, deferCaptureElements);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: FocusTrapFactory, deps: [{ token: InteractivityChecker }, { token: i0.NgZone }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: FocusTrapFactory, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: FocusTrapFactory, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: InteractivityChecker }, { type: i0.NgZone }, { type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }]; } });\n/** Directive for trapping focus within a region. */\nclass CdkTrapFocus {\n /** Whether the focus trap is active. */\n get enabled() {\n return this.focusTrap.enabled;\n }\n set enabled(value) {\n this.focusTrap.enabled = coerceBooleanProperty(value);\n }\n /**\n * Whether the directive should automatically move focus into the trapped region upon\n * initialization and return focus to the previous activeElement upon destruction.\n */\n get autoCapture() {\n return this._autoCapture;\n }\n set autoCapture(value) {\n this._autoCapture = coerceBooleanProperty(value);\n }\n constructor(_elementRef, _focusTrapFactory, \n /**\n * @deprecated No longer being used. To be removed.\n * @breaking-change 13.0.0\n */\n _document) {\n this._elementRef = _elementRef;\n this._focusTrapFactory = _focusTrapFactory;\n /** Previously focused element to restore focus to upon destroy when using autoCapture. */\n this._previouslyFocusedElement = null;\n this.focusTrap = this._focusTrapFactory.create(this._elementRef.nativeElement, true);\n }\n ngOnDestroy() {\n this.focusTrap.destroy();\n // If we stored a previously focused element when using autoCapture, return focus to that\n // element now that the trapped region is being destroyed.\n if (this._previouslyFocusedElement) {\n this._previouslyFocusedElement.focus();\n this._previouslyFocusedElement = null;\n }\n }\n ngAfterContentInit() {\n this.focusTrap.attachAnchors();\n if (this.autoCapture) {\n this._captureFocus();\n }\n }\n ngDoCheck() {\n if (!this.focusTrap.hasAttached()) {\n this.focusTrap.attachAnchors();\n }\n }\n ngOnChanges(changes) {\n const autoCaptureChange = changes['autoCapture'];\n if (autoCaptureChange &&\n !autoCaptureChange.firstChange &&\n this.autoCapture &&\n this.focusTrap.hasAttached()) {\n this._captureFocus();\n }\n }\n _captureFocus() {\n this._previouslyFocusedElement = _getFocusedElementPierceShadowDom();\n this.focusTrap.focusInitialElementWhenReady();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: CdkTrapFocus, deps: [{ token: i0.ElementRef }, { token: FocusTrapFactory }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.1.1\", type: CdkTrapFocus, selector: \"[cdkTrapFocus]\", inputs: { enabled: [\"cdkTrapFocus\", \"enabled\"], autoCapture: [\"cdkTrapFocusAutoCapture\", \"autoCapture\"] }, exportAs: [\"cdkTrapFocus\"], usesOnChanges: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: CdkTrapFocus, decorators: [{\n type: Directive,\n args: [{\n selector: '[cdkTrapFocus]',\n exportAs: 'cdkTrapFocus',\n }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: FocusTrapFactory }, { type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }]; }, propDecorators: { enabled: [{\n type: Input,\n args: ['cdkTrapFocus']\n }], autoCapture: [{\n type: Input,\n args: ['cdkTrapFocusAutoCapture']\n }] } });\n\n/**\n * Class that allows for trapping focus within a DOM element.\n *\n * This class uses a strategy pattern that determines how it traps focus.\n * See FocusTrapInertStrategy.\n */\nclass ConfigurableFocusTrap extends FocusTrap {\n /** Whether the FocusTrap is enabled. */\n get enabled() {\n return this._enabled;\n }\n set enabled(value) {\n this._enabled = value;\n if (this._enabled) {\n this._focusTrapManager.register(this);\n }\n else {\n this._focusTrapManager.deregister(this);\n }\n }\n constructor(_element, _checker, _ngZone, _document, _focusTrapManager, _inertStrategy, config) {\n super(_element, _checker, _ngZone, _document, config.defer);\n this._focusTrapManager = _focusTrapManager;\n this._inertStrategy = _inertStrategy;\n this._focusTrapManager.register(this);\n }\n /** Notifies the FocusTrapManager that this FocusTrap will be destroyed. */\n destroy() {\n this._focusTrapManager.deregister(this);\n super.destroy();\n }\n /** @docs-private Implemented as part of ManagedFocusTrap. */\n _enable() {\n this._inertStrategy.preventFocus(this);\n this.toggleAnchors(true);\n }\n /** @docs-private Implemented as part of ManagedFocusTrap. */\n _disable() {\n this._inertStrategy.allowFocus(this);\n this.toggleAnchors(false);\n }\n}\n\n/** The injection token used to specify the inert strategy. */\nconst FOCUS_TRAP_INERT_STRATEGY = new InjectionToken('FOCUS_TRAP_INERT_STRATEGY');\n\n/**\n * Lightweight FocusTrapInertStrategy that adds a document focus event\n * listener to redirect focus back inside the FocusTrap.\n */\nclass EventListenerFocusTrapInertStrategy {\n constructor() {\n /** Focus event handler. */\n this._listener = null;\n }\n /** Adds a document event listener that keeps focus inside the FocusTrap. */\n preventFocus(focusTrap) {\n // Ensure there's only one listener per document\n if (this._listener) {\n focusTrap._document.removeEventListener('focus', this._listener, true);\n }\n this._listener = (e) => this._trapFocus(focusTrap, e);\n focusTrap._ngZone.runOutsideAngular(() => {\n focusTrap._document.addEventListener('focus', this._listener, true);\n });\n }\n /** Removes the event listener added in preventFocus. */\n allowFocus(focusTrap) {\n if (!this._listener) {\n return;\n }\n focusTrap._document.removeEventListener('focus', this._listener, true);\n this._listener = null;\n }\n /**\n * Refocuses the first element in the FocusTrap if the focus event target was outside\n * the FocusTrap.\n *\n * This is an event listener callback. The event listener is added in runOutsideAngular,\n * so all this code runs outside Angular as well.\n */\n _trapFocus(focusTrap, event) {\n const target = event.target;\n const focusTrapRoot = focusTrap._element;\n // Don't refocus if target was in an overlay, because the overlay might be associated\n // with an element inside the FocusTrap, ex. mat-select.\n if (target && !focusTrapRoot.contains(target) && !target.closest?.('div.cdk-overlay-pane')) {\n // Some legacy FocusTrap usages have logic that focuses some element on the page\n // just before FocusTrap is destroyed. For backwards compatibility, wait\n // to be sure FocusTrap is still enabled before refocusing.\n setTimeout(() => {\n // Check whether focus wasn't put back into the focus trap while the timeout was pending.\n if (focusTrap.enabled && !focusTrapRoot.contains(focusTrap._document.activeElement)) {\n focusTrap.focusFirstTabbableElement();\n }\n });\n }\n }\n}\n\n/** Injectable that ensures only the most recently enabled FocusTrap is active. */\nclass FocusTrapManager {\n constructor() {\n // A stack of the FocusTraps on the page. Only the FocusTrap at the\n // top of the stack is active.\n this._focusTrapStack = [];\n }\n /**\n * Disables the FocusTrap at the top of the stack, and then pushes\n * the new FocusTrap onto the stack.\n */\n register(focusTrap) {\n // Dedupe focusTraps that register multiple times.\n this._focusTrapStack = this._focusTrapStack.filter(ft => ft !== focusTrap);\n let stack = this._focusTrapStack;\n if (stack.length) {\n stack[stack.length - 1]._disable();\n }\n stack.push(focusTrap);\n focusTrap._enable();\n }\n /**\n * Removes the FocusTrap from the stack, and activates the\n * FocusTrap that is the new top of the stack.\n */\n deregister(focusTrap) {\n focusTrap._disable();\n const stack = this._focusTrapStack;\n const i = stack.indexOf(focusTrap);\n if (i !== -1) {\n stack.splice(i, 1);\n if (stack.length) {\n stack[stack.length - 1]._enable();\n }\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: FocusTrapManager, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: FocusTrapManager, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: FocusTrapManager, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }] });\n\n/** Factory that allows easy instantiation of configurable focus traps. */\nclass ConfigurableFocusTrapFactory {\n constructor(_checker, _ngZone, _focusTrapManager, _document, _inertStrategy) {\n this._checker = _checker;\n this._ngZone = _ngZone;\n this._focusTrapManager = _focusTrapManager;\n this._document = _document;\n // TODO split up the strategies into different modules, similar to DateAdapter.\n this._inertStrategy = _inertStrategy || new EventListenerFocusTrapInertStrategy();\n }\n create(element, config = { defer: false }) {\n let configObject;\n if (typeof config === 'boolean') {\n configObject = { defer: config };\n }\n else {\n configObject = config;\n }\n return new ConfigurableFocusTrap(element, this._checker, this._ngZone, this._document, this._focusTrapManager, this._inertStrategy, configObject);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: ConfigurableFocusTrapFactory, deps: [{ token: InteractivityChecker }, { token: i0.NgZone }, { token: FocusTrapManager }, { token: DOCUMENT }, { token: FOCUS_TRAP_INERT_STRATEGY, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: ConfigurableFocusTrapFactory, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: ConfigurableFocusTrapFactory, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: InteractivityChecker }, { type: i0.NgZone }, { type: FocusTrapManager }, { type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [FOCUS_TRAP_INERT_STRATEGY]\n }] }]; } });\n\n/** Gets whether an event could be a faked `mousedown` event dispatched by a screen reader. */\nfunction isFakeMousedownFromScreenReader(event) {\n // Some screen readers will dispatch a fake `mousedown` event when pressing enter or space on\n // a clickable element. We can distinguish these events when `event.buttons` is zero, or\n // `event.detail` is zero depending on the browser:\n // - `event.buttons` works on Firefox, but fails on Chrome.\n // - `detail` works on Chrome, but fails on Firefox.\n return event.buttons === 0 || event.detail === 0;\n}\n/** Gets whether an event could be a faked `touchstart` event dispatched by a screen reader. */\nfunction isFakeTouchstartFromScreenReader(event) {\n const touch = (event.touches && event.touches[0]) || (event.changedTouches && event.changedTouches[0]);\n // A fake `touchstart` can be distinguished from a real one by looking at the `identifier`\n // which is typically >= 0 on a real device versus -1 from a screen reader. Just to be safe,\n // we can also look at `radiusX` and `radiusY`. This behavior was observed against a Windows 10\n // device with a touch screen running NVDA v2020.4 and Firefox 85 or Chrome 88.\n return (!!touch &&\n touch.identifier === -1 &&\n (touch.radiusX == null || touch.radiusX === 1) &&\n (touch.radiusY == null || touch.radiusY === 1));\n}\n\n/**\n * Injectable options for the InputModalityDetector. These are shallowly merged with the default\n * options.\n */\nconst INPUT_MODALITY_DETECTOR_OPTIONS = new InjectionToken('cdk-input-modality-detector-options');\n/**\n * Default options for the InputModalityDetector.\n *\n * Modifier keys are ignored by default (i.e. when pressed won't cause the service to detect\n * keyboard input modality) for two reasons:\n *\n * 1. Modifier keys are commonly used with mouse to perform actions such as 'right click' or 'open\n * in new tab', and are thus less representative of actual keyboard interaction.\n * 2. VoiceOver triggers some keyboard events when linearly navigating with Control + Option (but\n * confusingly not with Caps Lock). Thus, to have parity with other screen readers, we ignore\n * these keys so as to not update the input modality.\n *\n * Note that we do not by default ignore the right Meta key on Safari because it has the same key\n * code as the ContextMenu key on other browsers. When we switch to using event.key, we can\n * distinguish between the two.\n */\nconst INPUT_MODALITY_DETECTOR_DEFAULT_OPTIONS = {\n ignoreKeys: [ALT, CONTROL, MAC_META, META, SHIFT],\n};\n/**\n * The amount of time needed to pass after a touchstart event in order for a subsequent mousedown\n * event to be attributed as mouse and not touch.\n *\n * This is the value used by AngularJS Material. Through trial and error (on iPhone 6S) they found\n * that a value of around 650ms seems appropriate.\n */\nconst TOUCH_BUFFER_MS = 650;\n/**\n * Event listener options that enable capturing and also mark the listener as passive if the browser\n * supports it.\n */\nconst modalityEventListenerOptions = normalizePassiveListenerOptions({\n passive: true,\n capture: true,\n});\n/**\n * Service that detects the user's input modality.\n *\n * This service does not update the input modality when a user navigates with a screen reader\n * (e.g. linear navigation with VoiceOver, object navigation / browse mode with NVDA, virtual PC\n * cursor mode with JAWS). This is in part due to technical limitations (i.e. keyboard events do not\n * fire as expected in these modes) but is also arguably the correct behavior. Navigating with a\n * screen reader is akin to visually scanning a page, and should not be interpreted as actual user\n * input interaction.\n *\n * When a user is not navigating but *interacting* with a screen reader, this service attempts to\n * update the input modality to keyboard, but in general this service's behavior is largely\n * undefined.\n */\nclass InputModalityDetector {\n /** The most recently detected input modality. */\n get mostRecentModality() {\n return this._modality.value;\n }\n constructor(_platform, ngZone, document, options) {\n this._platform = _platform;\n /**\n * The most recently detected input modality event target. Is null if no input modality has been\n * detected or if the associated event target is null for some unknown reason.\n */\n this._mostRecentTarget = null;\n /** The underlying BehaviorSubject that emits whenever an input modality is detected. */\n this._modality = new BehaviorSubject(null);\n /**\n * The timestamp of the last touch input modality. Used to determine whether mousedown events\n * should be attributed to mouse or touch.\n */\n this._lastTouchMs = 0;\n /**\n * Handles keydown events. Must be an arrow function in order to preserve the context when it gets\n * bound.\n */\n this._onKeydown = (event) => {\n // If this is one of the keys we should ignore, then ignore it and don't update the input\n // modality to keyboard.\n if (this._options?.ignoreKeys?.some(keyCode => keyCode === event.keyCode)) {\n return;\n }\n this._modality.next('keyboard');\n this._mostRecentTarget = _getEventTarget(event);\n };\n /**\n * Handles mousedown events. Must be an arrow function in order to preserve the context when it\n * gets bound.\n */\n this._onMousedown = (event) => {\n // Touches trigger both touch and mouse events, so we need to distinguish between mouse events\n // that were triggered via mouse vs touch. To do so, check if the mouse event occurs closely\n // after the previous touch event.\n if (Date.now() - this._lastTouchMs < TOUCH_BUFFER_MS) {\n return;\n }\n // Fake mousedown events are fired by some screen readers when controls are activated by the\n // screen reader. Attribute them to keyboard input modality.\n this._modality.next(isFakeMousedownFromScreenReader(event) ? 'keyboard' : 'mouse');\n this._mostRecentTarget = _getEventTarget(event);\n };\n /**\n * Handles touchstart events. Must be an arrow function in order to preserve the context when it\n * gets bound.\n */\n this._onTouchstart = (event) => {\n // Same scenario as mentioned in _onMousedown, but on touch screen devices, fake touchstart\n // events are fired. Again, attribute to keyboard input modality.\n if (isFakeTouchstartFromScreenReader(event)) {\n this._modality.next('keyboard');\n return;\n }\n // Store the timestamp of this touch event, as it's used to distinguish between mouse events\n // triggered via mouse vs touch.\n this._lastTouchMs = Date.now();\n this._modality.next('touch');\n this._mostRecentTarget = _getEventTarget(event);\n };\n this._options = {\n ...INPUT_MODALITY_DETECTOR_DEFAULT_OPTIONS,\n ...options,\n };\n // Skip the first emission as it's null.\n this.modalityDetected = this._modality.pipe(skip(1));\n this.modalityChanged = this.modalityDetected.pipe(distinctUntilChanged());\n // If we're not in a browser, this service should do nothing, as there's no relevant input\n // modality to detect.\n if (_platform.isBrowser) {\n ngZone.runOutsideAngular(() => {\n document.addEventListener('keydown', this._onKeydown, modalityEventListenerOptions);\n document.addEventListener('mousedown', this._onMousedown, modalityEventListenerOptions);\n document.addEventListener('touchstart', this._onTouchstart, modalityEventListenerOptions);\n });\n }\n }\n ngOnDestroy() {\n this._modality.complete();\n if (this._platform.isBrowser) {\n document.removeEventListener('keydown', this._onKeydown, modalityEventListenerOptions);\n document.removeEventListener('mousedown', this._onMousedown, modalityEventListenerOptions);\n document.removeEventListener('touchstart', this._onTouchstart, modalityEventListenerOptions);\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: InputModalityDetector, deps: [{ token: i1.Platform }, { token: i0.NgZone }, { token: DOCUMENT }, { token: INPUT_MODALITY_DETECTOR_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: InputModalityDetector, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: InputModalityDetector, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: i1.Platform }, { type: i0.NgZone }, { type: Document, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [INPUT_MODALITY_DETECTOR_OPTIONS]\n }] }]; } });\n\nconst LIVE_ANNOUNCER_ELEMENT_TOKEN = new InjectionToken('liveAnnouncerElement', {\n providedIn: 'root',\n factory: LIVE_ANNOUNCER_ELEMENT_TOKEN_FACTORY,\n});\n/** @docs-private */\nfunction LIVE_ANNOUNCER_ELEMENT_TOKEN_FACTORY() {\n return null;\n}\n/** Injection token that can be used to configure the default options for the LiveAnnouncer. */\nconst LIVE_ANNOUNCER_DEFAULT_OPTIONS = new InjectionToken('LIVE_ANNOUNCER_DEFAULT_OPTIONS');\n\nlet uniqueIds = 0;\nclass LiveAnnouncer {\n constructor(elementToken, _ngZone, _document, _defaultOptions) {\n this._ngZone = _ngZone;\n this._defaultOptions = _defaultOptions;\n // We inject the live element and document as `any` because the constructor signature cannot\n // reference browser globals (HTMLElement, Document) on non-browser environments, since having\n // a class decorator causes TypeScript to preserve the constructor signature types.\n this._document = _document;\n this._liveElement = elementToken || this._createLiveElement();\n }\n announce(message, ...args) {\n const defaultOptions = this._defaultOptions;\n let politeness;\n let duration;\n if (args.length === 1 && typeof args[0] === 'number') {\n duration = args[0];\n }\n else {\n [politeness, duration] = args;\n }\n this.clear();\n clearTimeout(this._previousTimeout);\n if (!politeness) {\n politeness =\n defaultOptions && defaultOptions.politeness ? defaultOptions.politeness : 'polite';\n }\n if (duration == null && defaultOptions) {\n duration = defaultOptions.duration;\n }\n // TODO: ensure changing the politeness works on all environments we support.\n this._liveElement.setAttribute('aria-live', politeness);\n if (this._liveElement.id) {\n this._exposeAnnouncerToModals(this._liveElement.id);\n }\n // This 100ms timeout is necessary for some browser + screen-reader combinations:\n // - Both JAWS and NVDA over IE11 will not announce anything without a non-zero timeout.\n // - With Chrome and IE11 with NVDA or JAWS, a repeated (identical) message won't be read a\n // second time without clearing and then using a non-zero delay.\n // (using JAWS 17 at time of this writing).\n return this._ngZone.runOutsideAngular(() => {\n if (!this._currentPromise) {\n this._currentPromise = new Promise(resolve => (this._currentResolve = resolve));\n }\n clearTimeout(this._previousTimeout);\n this._previousTimeout = setTimeout(() => {\n this._liveElement.textContent = message;\n if (typeof duration === 'number') {\n this._previousTimeout = setTimeout(() => this.clear(), duration);\n }\n this._currentResolve();\n this._currentPromise = this._currentResolve = undefined;\n }, 100);\n return this._currentPromise;\n });\n }\n /**\n * Clears the current text from the announcer element. Can be used to prevent\n * screen readers from reading the text out again while the user is going\n * through the page landmarks.\n */\n clear() {\n if (this._liveElement) {\n this._liveElement.textContent = '';\n }\n }\n ngOnDestroy() {\n clearTimeout(this._previousTimeout);\n this._liveElement?.remove();\n this._liveElement = null;\n this._currentResolve?.();\n this._currentPromise = this._currentResolve = undefined;\n }\n _createLiveElement() {\n const elementClass = 'cdk-live-announcer-element';\n const previousElements = this._document.getElementsByClassName(elementClass);\n const liveEl = this._document.createElement('div');\n // Remove any old containers. This can happen when coming in from a server-side-rendered page.\n for (let i = 0; i < previousElements.length; i++) {\n previousElements[i].remove();\n }\n liveEl.classList.add(elementClass);\n liveEl.classList.add('cdk-visually-hidden');\n liveEl.setAttribute('aria-atomic', 'true');\n liveEl.setAttribute('aria-live', 'polite');\n liveEl.id = `cdk-live-announcer-${uniqueIds++}`;\n this._document.body.appendChild(liveEl);\n return liveEl;\n }\n /**\n * Some browsers won't expose the accessibility node of the live announcer element if there is an\n * `aria-modal` and the live announcer is outside of it. This method works around the issue by\n * pointing the `aria-owns` of all modals to the live announcer element.\n */\n _exposeAnnouncerToModals(id) {\n // TODO(http://github.com/angular/components/issues/26853): consider de-duplicating this with\n // the `SnakBarContainer` and other usages.\n //\n // Note that the selector here is limited to CDK overlays at the moment in order to reduce the\n // section of the DOM we need to look through. This should cover all the cases we support, but\n // the selector can be expanded if it turns out to be too narrow.\n const modals = this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal=\"true\"]');\n for (let i = 0; i < modals.length; i++) {\n const modal = modals[i];\n const ariaOwns = modal.getAttribute('aria-owns');\n if (!ariaOwns) {\n modal.setAttribute('aria-owns', id);\n }\n else if (ariaOwns.indexOf(id) === -1) {\n modal.setAttribute('aria-owns', ariaOwns + ' ' + id);\n }\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: LiveAnnouncer, deps: [{ token: LIVE_ANNOUNCER_ELEMENT_TOKEN, optional: true }, { token: i0.NgZone }, { token: DOCUMENT }, { token: LIVE_ANNOUNCER_DEFAULT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: LiveAnnouncer, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: LiveAnnouncer, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [LIVE_ANNOUNCER_ELEMENT_TOKEN]\n }] }, { type: i0.NgZone }, { type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [LIVE_ANNOUNCER_DEFAULT_OPTIONS]\n }] }]; } });\n/**\n * A directive that works similarly to aria-live, but uses the LiveAnnouncer to ensure compatibility\n * with a wider range of browsers and screen readers.\n */\nclass CdkAriaLive {\n /** The aria-live politeness level to use when announcing messages. */\n get politeness() {\n return this._politeness;\n }\n set politeness(value) {\n this._politeness = value === 'off' || value === 'assertive' ? value : 'polite';\n if (this._politeness === 'off') {\n if (this._subscription) {\n this._subscription.unsubscribe();\n this._subscription = null;\n }\n }\n else if (!this._subscription) {\n this._subscription = this._ngZone.runOutsideAngular(() => {\n return this._contentObserver.observe(this._elementRef).subscribe(() => {\n // Note that we use textContent here, rather than innerText, in order to avoid a reflow.\n const elementText = this._elementRef.nativeElement.textContent;\n // The `MutationObserver` fires also for attribute\n // changes which we don't want to announce.\n if (elementText !== this._previousAnnouncedText) {\n this._liveAnnouncer.announce(elementText, this._politeness, this.duration);\n this._previousAnnouncedText = elementText;\n }\n });\n });\n }\n }\n constructor(_elementRef, _liveAnnouncer, _contentObserver, _ngZone) {\n this._elementRef = _elementRef;\n this._liveAnnouncer = _liveAnnouncer;\n this._contentObserver = _contentObserver;\n this._ngZone = _ngZone;\n this._politeness = 'polite';\n }\n ngOnDestroy() {\n if (this._subscription) {\n this._subscription.unsubscribe();\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: CdkAriaLive, deps: [{ token: i0.ElementRef }, { token: LiveAnnouncer }, { token: i1$1.ContentObserver }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.1.1\", type: CdkAriaLive, selector: \"[cdkAriaLive]\", inputs: { politeness: [\"cdkAriaLive\", \"politeness\"], duration: [\"cdkAriaLiveDuration\", \"duration\"] }, exportAs: [\"cdkAriaLive\"], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: CdkAriaLive, decorators: [{\n type: Directive,\n args: [{\n selector: '[cdkAriaLive]',\n exportAs: 'cdkAriaLive',\n }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: LiveAnnouncer }, { type: i1$1.ContentObserver }, { type: i0.NgZone }]; }, propDecorators: { politeness: [{\n type: Input,\n args: ['cdkAriaLive']\n }], duration: [{\n type: Input,\n args: ['cdkAriaLiveDuration']\n }] } });\n\n/** InjectionToken for FocusMonitorOptions. */\nconst FOCUS_MONITOR_DEFAULT_OPTIONS = new InjectionToken('cdk-focus-monitor-default-options');\n/**\n * Event listener options that enable capturing and also\n * mark the listener as passive if the browser supports it.\n */\nconst captureEventListenerOptions = normalizePassiveListenerOptions({\n passive: true,\n capture: true,\n});\n/** Monitors mouse and keyboard events to determine the cause of focus events. */\nclass FocusMonitor {\n constructor(_ngZone, _platform, _inputModalityDetector, \n /** @breaking-change 11.0.0 make document required */\n document, options) {\n this._ngZone = _ngZone;\n this._platform = _platform;\n this._inputModalityDetector = _inputModalityDetector;\n /** The focus origin that the next focus event is a result of. */\n this._origin = null;\n /** Whether the window has just been focused. */\n this._windowFocused = false;\n /**\n * Whether the origin was determined via a touch interaction. Necessary as properly attributing\n * focus events to touch interactions requires special logic.\n */\n this._originFromTouchInteraction = false;\n /** Map of elements being monitored to their info. */\n this._elementInfo = new Map();\n /** The number of elements currently being monitored. */\n this._monitoredElementCount = 0;\n /**\n * Keeps track of the root nodes to which we've currently bound a focus/blur handler,\n * as well as the number of monitored elements that they contain. We have to treat focus/blur\n * handlers differently from the rest of the events, because the browser won't emit events\n * to the document when focus moves inside of a shadow root.\n */\n this._rootNodeFocusListenerCount = new Map();\n /**\n * Event listener for `focus` events on the window.\n * Needs to be an arrow function in order to preserve the context when it gets bound.\n */\n this._windowFocusListener = () => {\n // Make a note of when the window regains focus, so we can\n // restore the origin info for the focused element.\n this._windowFocused = true;\n this._windowFocusTimeoutId = window.setTimeout(() => (this._windowFocused = false));\n };\n /** Subject for stopping our InputModalityDetector subscription. */\n this._stopInputModalityDetector = new Subject();\n /**\n * Event listener for `focus` and 'blur' events on the document.\n * Needs to be an arrow function in order to preserve the context when it gets bound.\n */\n this._rootNodeFocusAndBlurListener = (event) => {\n const target = _getEventTarget(event);\n // We need to walk up the ancestor chain in order to support `checkChildren`.\n for (let element = target; element; element = element.parentElement) {\n if (event.type === 'focus') {\n this._onFocus(event, element);\n }\n else {\n this._onBlur(event, element);\n }\n }\n };\n this._document = document;\n this._detectionMode = options?.detectionMode || 0 /* FocusMonitorDetectionMode.IMMEDIATE */;\n }\n monitor(element, checkChildren = false) {\n const nativeElement = coerceElement(element);\n // Do nothing if we're not on the browser platform or the passed in node isn't an element.\n if (!this._platform.isBrowser || nativeElement.nodeType !== 1) {\n // Note: we don't want the observable to emit at all so we don't pass any parameters.\n return of();\n }\n // If the element is inside the shadow DOM, we need to bind our focus/blur listeners to\n // the shadow root, rather than the `document`, because the browser won't emit focus events\n // to the `document`, if focus is moving within the same shadow root.\n const rootNode = _getShadowRoot(nativeElement) || this._getDocument();\n const cachedInfo = this._elementInfo.get(nativeElement);\n // Check if we're already monitoring this element.\n if (cachedInfo) {\n if (checkChildren) {\n // TODO(COMP-318): this can be problematic, because it'll turn all non-checkChildren\n // observers into ones that behave as if `checkChildren` was turned on. We need a more\n // robust solution.\n cachedInfo.checkChildren = true;\n }\n return cachedInfo.subject;\n }\n // Create monitored element info.\n const info = {\n checkChildren: checkChildren,\n subject: new Subject(),\n rootNode,\n };\n this._elementInfo.set(nativeElement, info);\n this._registerGlobalListeners(info);\n return info.subject;\n }\n stopMonitoring(element) {\n const nativeElement = coerceElement(element);\n const elementInfo = this._elementInfo.get(nativeElement);\n if (elementInfo) {\n elementInfo.subject.complete();\n this._setClasses(nativeElement);\n this._elementInfo.delete(nativeElement);\n this._removeGlobalListeners(elementInfo);\n }\n }\n focusVia(element, origin, options) {\n const nativeElement = coerceElement(element);\n const focusedElement = this._getDocument().activeElement;\n // If the element is focused already, calling `focus` again won't trigger the event listener\n // which means that the focus classes won't be updated. If that's the case, update the classes\n // directly without waiting for an event.\n if (nativeElement === focusedElement) {\n this._getClosestElementsInfo(nativeElement).forEach(([currentElement, info]) => this._originChanged(currentElement, origin, info));\n }\n else {\n this._setOrigin(origin);\n // `focus` isn't available on the server\n if (typeof nativeElement.focus === 'function') {\n nativeElement.focus(options);\n }\n }\n }\n ngOnDestroy() {\n this._elementInfo.forEach((_info, element) => this.stopMonitoring(element));\n }\n /** Access injected document if available or fallback to global document reference */\n _getDocument() {\n return this._document || document;\n }\n /** Use defaultView of injected document if available or fallback to global window reference */\n _getWindow() {\n const doc = this._getDocument();\n return doc.defaultView || window;\n }\n _getFocusOrigin(focusEventTarget) {\n if (this._origin) {\n // If the origin was realized via a touch interaction, we need to perform additional checks\n // to determine whether the focus origin should be attributed to touch or program.\n if (this._originFromTouchInteraction) {\n return this._shouldBeAttributedToTouch(focusEventTarget) ? 'touch' : 'program';\n }\n else {\n return this._origin;\n }\n }\n // If the window has just regained focus, we can restore the most recent origin from before the\n // window blurred. Otherwise, we've reached the point where we can't identify the source of the\n // focus. This typically means one of two things happened:\n //\n // 1) The element was programmatically focused, or\n // 2) The element was focused via screen reader navigation (which generally doesn't fire\n // events).\n //\n // Because we can't distinguish between these two cases, we default to setting `program`.\n if (this._windowFocused && this._lastFocusOrigin) {\n return this._lastFocusOrigin;\n }\n // If the interaction is coming from an input label, we consider it a mouse interactions.\n // This is a special case where focus moves on `click`, rather than `mousedown` which breaks\n // our detection, because all our assumptions are for `mousedown`. We need to handle this\n // special case, because it's very common for checkboxes and radio buttons.\n if (focusEventTarget && this._isLastInteractionFromInputLabel(focusEventTarget)) {\n return 'mouse';\n }\n return 'program';\n }\n /**\n * Returns whether the focus event should be attributed to touch. Recall that in IMMEDIATE mode, a\n * touch origin isn't immediately reset at the next tick (see _setOrigin). This means that when we\n * handle a focus event following a touch interaction, we need to determine whether (1) the focus\n * event was directly caused by the touch interaction or (2) the focus event was caused by a\n * subsequent programmatic focus call triggered by the touch interaction.\n * @param focusEventTarget The target of the focus event under examination.\n */\n _shouldBeAttributedToTouch(focusEventTarget) {\n // Please note that this check is not perfect. Consider the following edge case:\n //\n //
    \n //
    \n //
    \n //\n // Suppose there is a FocusMonitor in IMMEDIATE mode attached to #parent. When the user touches\n // #child, #parent is programmatically focused. This code will attribute the focus to touch\n // instead of program. This is a relatively minor edge-case that can be worked around by using\n // focusVia(parent, 'program') to focus #parent.\n return (this._detectionMode === 1 /* FocusMonitorDetectionMode.EVENTUAL */ ||\n !!focusEventTarget?.contains(this._inputModalityDetector._mostRecentTarget));\n }\n /**\n * Sets the focus classes on the element based on the given focus origin.\n * @param element The element to update the classes on.\n * @param origin The focus origin.\n */\n _setClasses(element, origin) {\n element.classList.toggle('cdk-focused', !!origin);\n element.classList.toggle('cdk-touch-focused', origin === 'touch');\n element.classList.toggle('cdk-keyboard-focused', origin === 'keyboard');\n element.classList.toggle('cdk-mouse-focused', origin === 'mouse');\n element.classList.toggle('cdk-program-focused', origin === 'program');\n }\n /**\n * Updates the focus origin. If we're using immediate detection mode, we schedule an async\n * function to clear the origin at the end of a timeout. The duration of the timeout depends on\n * the origin being set.\n * @param origin The origin to set.\n * @param isFromInteraction Whether we are setting the origin from an interaction event.\n */\n _setOrigin(origin, isFromInteraction = false) {\n this._ngZone.runOutsideAngular(() => {\n this._origin = origin;\n this._originFromTouchInteraction = origin === 'touch' && isFromInteraction;\n // If we're in IMMEDIATE mode, reset the origin at the next tick (or in `TOUCH_BUFFER_MS` ms\n // for a touch event). We reset the origin at the next tick because Firefox focuses one tick\n // after the interaction event. We wait `TOUCH_BUFFER_MS` ms before resetting the origin for\n // a touch event because when a touch event is fired, the associated focus event isn't yet in\n // the event queue. Before doing so, clear any pending timeouts.\n if (this._detectionMode === 0 /* FocusMonitorDetectionMode.IMMEDIATE */) {\n clearTimeout(this._originTimeoutId);\n const ms = this._originFromTouchInteraction ? TOUCH_BUFFER_MS : 1;\n this._originTimeoutId = setTimeout(() => (this._origin = null), ms);\n }\n });\n }\n /**\n * Handles focus events on a registered element.\n * @param event The focus event.\n * @param element The monitored element.\n */\n _onFocus(event, element) {\n // NOTE(mmalerba): We currently set the classes based on the focus origin of the most recent\n // focus event affecting the monitored element. If we want to use the origin of the first event\n // instead we should check for the cdk-focused class here and return if the element already has\n // it. (This only matters for elements that have includesChildren = true).\n // If we are not counting child-element-focus as focused, make sure that the event target is the\n // monitored element itself.\n const elementInfo = this._elementInfo.get(element);\n const focusEventTarget = _getEventTarget(event);\n if (!elementInfo || (!elementInfo.checkChildren && element !== focusEventTarget)) {\n return;\n }\n this._originChanged(element, this._getFocusOrigin(focusEventTarget), elementInfo);\n }\n /**\n * Handles blur events on a registered element.\n * @param event The blur event.\n * @param element The monitored element.\n */\n _onBlur(event, element) {\n // If we are counting child-element-focus as focused, make sure that we aren't just blurring in\n // order to focus another child of the monitored element.\n const elementInfo = this._elementInfo.get(element);\n if (!elementInfo ||\n (elementInfo.checkChildren &&\n event.relatedTarget instanceof Node &&\n element.contains(event.relatedTarget))) {\n return;\n }\n this._setClasses(element);\n this._emitOrigin(elementInfo, null);\n }\n _emitOrigin(info, origin) {\n if (info.subject.observers.length) {\n this._ngZone.run(() => info.subject.next(origin));\n }\n }\n _registerGlobalListeners(elementInfo) {\n if (!this._platform.isBrowser) {\n return;\n }\n const rootNode = elementInfo.rootNode;\n const rootNodeFocusListeners = this._rootNodeFocusListenerCount.get(rootNode) || 0;\n if (!rootNodeFocusListeners) {\n this._ngZone.runOutsideAngular(() => {\n rootNode.addEventListener('focus', this._rootNodeFocusAndBlurListener, captureEventListenerOptions);\n rootNode.addEventListener('blur', this._rootNodeFocusAndBlurListener, captureEventListenerOptions);\n });\n }\n this._rootNodeFocusListenerCount.set(rootNode, rootNodeFocusListeners + 1);\n // Register global listeners when first element is monitored.\n if (++this._monitoredElementCount === 1) {\n // Note: we listen to events in the capture phase so we\n // can detect them even if the user stops propagation.\n this._ngZone.runOutsideAngular(() => {\n const window = this._getWindow();\n window.addEventListener('focus', this._windowFocusListener);\n });\n // The InputModalityDetector is also just a collection of global listeners.\n this._inputModalityDetector.modalityDetected\n .pipe(takeUntil(this._stopInputModalityDetector))\n .subscribe(modality => {\n this._setOrigin(modality, true /* isFromInteraction */);\n });\n }\n }\n _removeGlobalListeners(elementInfo) {\n const rootNode = elementInfo.rootNode;\n if (this._rootNodeFocusListenerCount.has(rootNode)) {\n const rootNodeFocusListeners = this._rootNodeFocusListenerCount.get(rootNode);\n if (rootNodeFocusListeners > 1) {\n this._rootNodeFocusListenerCount.set(rootNode, rootNodeFocusListeners - 1);\n }\n else {\n rootNode.removeEventListener('focus', this._rootNodeFocusAndBlurListener, captureEventListenerOptions);\n rootNode.removeEventListener('blur', this._rootNodeFocusAndBlurListener, captureEventListenerOptions);\n this._rootNodeFocusListenerCount.delete(rootNode);\n }\n }\n // Unregister global listeners when last element is unmonitored.\n if (!--this._monitoredElementCount) {\n const window = this._getWindow();\n window.removeEventListener('focus', this._windowFocusListener);\n // Equivalently, stop our InputModalityDetector subscription.\n this._stopInputModalityDetector.next();\n // Clear timeouts for all potentially pending timeouts to prevent the leaks.\n clearTimeout(this._windowFocusTimeoutId);\n clearTimeout(this._originTimeoutId);\n }\n }\n /** Updates all the state on an element once its focus origin has changed. */\n _originChanged(element, origin, elementInfo) {\n this._setClasses(element, origin);\n this._emitOrigin(elementInfo, origin);\n this._lastFocusOrigin = origin;\n }\n /**\n * Collects the `MonitoredElementInfo` of a particular element and\n * all of its ancestors that have enabled `checkChildren`.\n * @param element Element from which to start the search.\n */\n _getClosestElementsInfo(element) {\n const results = [];\n this._elementInfo.forEach((info, currentElement) => {\n if (currentElement === element || (info.checkChildren && currentElement.contains(element))) {\n results.push([currentElement, info]);\n }\n });\n return results;\n }\n /**\n * Returns whether an interaction is likely to have come from the user clicking the `label` of\n * an `input` or `textarea` in order to focus it.\n * @param focusEventTarget Target currently receiving focus.\n */\n _isLastInteractionFromInputLabel(focusEventTarget) {\n const { _mostRecentTarget: mostRecentTarget, mostRecentModality } = this._inputModalityDetector;\n // If the last interaction used the mouse on an element contained by one of the labels\n // of an `input`/`textarea` that is currently focused, it is very likely that the\n // user redirected focus using the label.\n if (mostRecentModality !== 'mouse' ||\n !mostRecentTarget ||\n mostRecentTarget === focusEventTarget ||\n (focusEventTarget.nodeName !== 'INPUT' && focusEventTarget.nodeName !== 'TEXTAREA') ||\n focusEventTarget.disabled) {\n return false;\n }\n const labels = focusEventTarget.labels;\n if (labels) {\n for (let i = 0; i < labels.length; i++) {\n if (labels[i].contains(mostRecentTarget)) {\n return true;\n }\n }\n }\n return false;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: FocusMonitor, deps: [{ token: i0.NgZone }, { token: i1.Platform }, { token: InputModalityDetector }, { token: DOCUMENT, optional: true }, { token: FOCUS_MONITOR_DEFAULT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: FocusMonitor, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: FocusMonitor, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i1.Platform }, { type: InputModalityDetector }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [DOCUMENT]\n }] }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [FOCUS_MONITOR_DEFAULT_OPTIONS]\n }] }]; } });\n/**\n * Directive that determines how a particular element was focused (via keyboard, mouse, touch, or\n * programmatically) and adds corresponding classes to the element.\n *\n * There are two variants of this directive:\n * 1) cdkMonitorElementFocus: does not consider an element to be focused if one of its children is\n * focused.\n * 2) cdkMonitorSubtreeFocus: considers an element focused if it or any of its children are focused.\n */\nclass CdkMonitorFocus {\n constructor(_elementRef, _focusMonitor) {\n this._elementRef = _elementRef;\n this._focusMonitor = _focusMonitor;\n this._focusOrigin = null;\n this.cdkFocusChange = new EventEmitter();\n }\n get focusOrigin() {\n return this._focusOrigin;\n }\n ngAfterViewInit() {\n const element = this._elementRef.nativeElement;\n this._monitorSubscription = this._focusMonitor\n .monitor(element, element.nodeType === 1 && element.hasAttribute('cdkMonitorSubtreeFocus'))\n .subscribe(origin => {\n this._focusOrigin = origin;\n this.cdkFocusChange.emit(origin);\n });\n }\n ngOnDestroy() {\n this._focusMonitor.stopMonitoring(this._elementRef);\n if (this._monitorSubscription) {\n this._monitorSubscription.unsubscribe();\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: CdkMonitorFocus, deps: [{ token: i0.ElementRef }, { token: FocusMonitor }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.1.1\", type: CdkMonitorFocus, selector: \"[cdkMonitorElementFocus], [cdkMonitorSubtreeFocus]\", outputs: { cdkFocusChange: \"cdkFocusChange\" }, exportAs: [\"cdkMonitorFocus\"], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: CdkMonitorFocus, decorators: [{\n type: Directive,\n args: [{\n selector: '[cdkMonitorElementFocus], [cdkMonitorSubtreeFocus]',\n exportAs: 'cdkMonitorFocus',\n }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: FocusMonitor }]; }, propDecorators: { cdkFocusChange: [{\n type: Output\n }] } });\n\n/** CSS class applied to the document body when in black-on-white high-contrast mode. */\nconst BLACK_ON_WHITE_CSS_CLASS = 'cdk-high-contrast-black-on-white';\n/** CSS class applied to the document body when in white-on-black high-contrast mode. */\nconst WHITE_ON_BLACK_CSS_CLASS = 'cdk-high-contrast-white-on-black';\n/** CSS class applied to the document body when in high-contrast mode. */\nconst HIGH_CONTRAST_MODE_ACTIVE_CSS_CLASS = 'cdk-high-contrast-active';\n/**\n * Service to determine whether the browser is currently in a high-contrast-mode environment.\n *\n * Microsoft Windows supports an accessibility feature called \"High Contrast Mode\". This mode\n * changes the appearance of all applications, including web applications, to dramatically increase\n * contrast.\n *\n * IE, Edge, and Firefox currently support this mode. Chrome does not support Windows High Contrast\n * Mode. This service does not detect high-contrast mode as added by the Chrome \"High Contrast\"\n * browser extension.\n */\nclass HighContrastModeDetector {\n constructor(_platform, document) {\n this._platform = _platform;\n this._document = document;\n this._breakpointSubscription = inject(BreakpointObserver)\n .observe('(forced-colors: active)')\n .subscribe(() => {\n if (this._hasCheckedHighContrastMode) {\n this._hasCheckedHighContrastMode = false;\n this._applyBodyHighContrastModeCssClasses();\n }\n });\n }\n /** Gets the current high-contrast-mode for the page. */\n getHighContrastMode() {\n if (!this._platform.isBrowser) {\n return 0 /* HighContrastMode.NONE */;\n }\n // Create a test element with an arbitrary background-color that is neither black nor\n // white; high-contrast mode will coerce the color to either black or white. Also ensure that\n // appending the test element to the DOM does not affect layout by absolutely positioning it\n const testElement = this._document.createElement('div');\n testElement.style.backgroundColor = 'rgb(1,2,3)';\n testElement.style.position = 'absolute';\n this._document.body.appendChild(testElement);\n // Get the computed style for the background color, collapsing spaces to normalize between\n // browsers. Once we get this color, we no longer need the test element. Access the `window`\n // via the document so we can fake it in tests. Note that we have extra null checks, because\n // this logic will likely run during app bootstrap and throwing can break the entire app.\n const documentWindow = this._document.defaultView || window;\n const computedStyle = documentWindow && documentWindow.getComputedStyle\n ? documentWindow.getComputedStyle(testElement)\n : null;\n const computedColor = ((computedStyle && computedStyle.backgroundColor) || '').replace(/ /g, '');\n testElement.remove();\n switch (computedColor) {\n // Pre Windows 11 dark theme.\n case 'rgb(0,0,0)':\n // Windows 11 dark themes.\n case 'rgb(45,50,54)':\n case 'rgb(32,32,32)':\n return 2 /* HighContrastMode.WHITE_ON_BLACK */;\n // Pre Windows 11 light theme.\n case 'rgb(255,255,255)':\n // Windows 11 light theme.\n case 'rgb(255,250,239)':\n return 1 /* HighContrastMode.BLACK_ON_WHITE */;\n }\n return 0 /* HighContrastMode.NONE */;\n }\n ngOnDestroy() {\n this._breakpointSubscription.unsubscribe();\n }\n /** Applies CSS classes indicating high-contrast mode to document body (browser-only). */\n _applyBodyHighContrastModeCssClasses() {\n if (!this._hasCheckedHighContrastMode && this._platform.isBrowser && this._document.body) {\n const bodyClasses = this._document.body.classList;\n bodyClasses.remove(HIGH_CONTRAST_MODE_ACTIVE_CSS_CLASS, BLACK_ON_WHITE_CSS_CLASS, WHITE_ON_BLACK_CSS_CLASS);\n this._hasCheckedHighContrastMode = true;\n const mode = this.getHighContrastMode();\n if (mode === 1 /* HighContrastMode.BLACK_ON_WHITE */) {\n bodyClasses.add(HIGH_CONTRAST_MODE_ACTIVE_CSS_CLASS, BLACK_ON_WHITE_CSS_CLASS);\n }\n else if (mode === 2 /* HighContrastMode.WHITE_ON_BLACK */) {\n bodyClasses.add(HIGH_CONTRAST_MODE_ACTIVE_CSS_CLASS, WHITE_ON_BLACK_CSS_CLASS);\n }\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: HighContrastModeDetector, deps: [{ token: i1.Platform }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: HighContrastModeDetector, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: HighContrastModeDetector, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: i1.Platform }, { type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }]; } });\n\nclass A11yModule {\n constructor(highContrastModeDetector) {\n highContrastModeDetector._applyBodyHighContrastModeCssClasses();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: A11yModule, deps: [{ token: HighContrastModeDetector }], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.1.1\", ngImport: i0, type: A11yModule, declarations: [CdkAriaLive, CdkTrapFocus, CdkMonitorFocus], imports: [ObserversModule], exports: [CdkAriaLive, CdkTrapFocus, CdkMonitorFocus] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: A11yModule, imports: [ObserversModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: A11yModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [ObserversModule],\n declarations: [CdkAriaLive, CdkTrapFocus, CdkMonitorFocus],\n exports: [CdkAriaLive, CdkTrapFocus, CdkMonitorFocus],\n }]\n }], ctorParameters: function () { return [{ type: HighContrastModeDetector }]; } });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { A11yModule, ActiveDescendantKeyManager, AriaDescriber, CDK_DESCRIBEDBY_HOST_ATTRIBUTE, CDK_DESCRIBEDBY_ID_PREFIX, CdkAriaLive, CdkMonitorFocus, CdkTrapFocus, ConfigurableFocusTrap, ConfigurableFocusTrapFactory, EventListenerFocusTrapInertStrategy, FOCUS_MONITOR_DEFAULT_OPTIONS, FOCUS_TRAP_INERT_STRATEGY, FocusKeyManager, FocusMonitor, FocusTrap, FocusTrapFactory, HighContrastModeDetector, INPUT_MODALITY_DETECTOR_DEFAULT_OPTIONS, INPUT_MODALITY_DETECTOR_OPTIONS, InputModalityDetector, InteractivityChecker, IsFocusableConfig, LIVE_ANNOUNCER_DEFAULT_OPTIONS, LIVE_ANNOUNCER_ELEMENT_TOKEN, LIVE_ANNOUNCER_ELEMENT_TOKEN_FACTORY, ListKeyManager, LiveAnnouncer, MESSAGES_CONTAINER_ID, addAriaReferencedId, getAriaReferenceIds, isFakeMousedownFromScreenReader, isFakeTouchstartFromScreenReader, removeAriaReferencedId };\n","import * as i0 from '@angular/core';\nimport { InjectionToken, Directive, Input, EventEmitter, Optional, Inject, SkipSelf, Output, NgModule } from '@angular/core';\nimport * as i1 from '@angular/cdk/collections';\nimport { coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { Subject, Subscription } from 'rxjs';\n\n/** Used to generate unique ID for each accordion. */\nlet nextId$1 = 0;\n/**\n * Injection token that can be used to reference instances of `CdkAccordion`. It serves\n * as alternative token to the actual `CdkAccordion` class which could cause unnecessary\n * retention of the class and its directive metadata.\n */\nconst CDK_ACCORDION = new InjectionToken('CdkAccordion');\n/**\n * Directive whose purpose is to manage the expanded state of CdkAccordionItem children.\n */\nclass CdkAccordion {\n constructor() {\n /** Emits when the state of the accordion changes */\n this._stateChanges = new Subject();\n /** Stream that emits true/false when openAll/closeAll is triggered. */\n this._openCloseAllActions = new Subject();\n /** A readonly id value to use for unique selection coordination. */\n this.id = `cdk-accordion-${nextId$1++}`;\n this._multi = false;\n }\n /** Whether the accordion should allow multiple expanded accordion items simultaneously. */\n get multi() {\n return this._multi;\n }\n set multi(multi) {\n this._multi = coerceBooleanProperty(multi);\n }\n /** Opens all enabled accordion items in an accordion where multi is enabled. */\n openAll() {\n if (this._multi) {\n this._openCloseAllActions.next(true);\n }\n }\n /** Closes all enabled accordion items. */\n closeAll() {\n this._openCloseAllActions.next(false);\n }\n ngOnChanges(changes) {\n this._stateChanges.next(changes);\n }\n ngOnDestroy() {\n this._stateChanges.complete();\n this._openCloseAllActions.complete();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: CdkAccordion, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.1.1\", type: CdkAccordion, selector: \"cdk-accordion, [cdkAccordion]\", inputs: { multi: \"multi\" }, providers: [{ provide: CDK_ACCORDION, useExisting: CdkAccordion }], exportAs: [\"cdkAccordion\"], usesOnChanges: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: CdkAccordion, decorators: [{\n type: Directive,\n args: [{\n selector: 'cdk-accordion, [cdkAccordion]',\n exportAs: 'cdkAccordion',\n providers: [{ provide: CDK_ACCORDION, useExisting: CdkAccordion }],\n }]\n }], propDecorators: { multi: [{\n type: Input\n }] } });\n\n/** Used to generate unique ID for each accordion item. */\nlet nextId = 0;\n/**\n * An basic directive expected to be extended and decorated as a component. Sets up all\n * events and attributes needed to be managed by a CdkAccordion parent.\n */\nclass CdkAccordionItem {\n /** Whether the AccordionItem is expanded. */\n get expanded() {\n return this._expanded;\n }\n set expanded(expanded) {\n expanded = coerceBooleanProperty(expanded);\n // Only emit events and update the internal value if the value changes.\n if (this._expanded !== expanded) {\n this._expanded = expanded;\n this.expandedChange.emit(expanded);\n if (expanded) {\n this.opened.emit();\n /**\n * In the unique selection dispatcher, the id parameter is the id of the CdkAccordionItem,\n * the name value is the id of the accordion.\n */\n const accordionId = this.accordion ? this.accordion.id : this.id;\n this._expansionDispatcher.notify(this.id, accordionId);\n }\n else {\n this.closed.emit();\n }\n // Ensures that the animation will run when the value is set outside of an `@Input`.\n // This includes cases like the open, close and toggle methods.\n this._changeDetectorRef.markForCheck();\n }\n }\n /** Whether the AccordionItem is disabled. */\n get disabled() {\n return this._disabled;\n }\n set disabled(disabled) {\n this._disabled = coerceBooleanProperty(disabled);\n }\n constructor(accordion, _changeDetectorRef, _expansionDispatcher) {\n this.accordion = accordion;\n this._changeDetectorRef = _changeDetectorRef;\n this._expansionDispatcher = _expansionDispatcher;\n /** Subscription to openAll/closeAll events. */\n this._openCloseAllSubscription = Subscription.EMPTY;\n /** Event emitted every time the AccordionItem is closed. */\n this.closed = new EventEmitter();\n /** Event emitted every time the AccordionItem is opened. */\n this.opened = new EventEmitter();\n /** Event emitted when the AccordionItem is destroyed. */\n this.destroyed = new EventEmitter();\n /**\n * Emits whenever the expanded state of the accordion changes.\n * Primarily used to facilitate two-way binding.\n * @docs-private\n */\n this.expandedChange = new EventEmitter();\n /** The unique AccordionItem id. */\n this.id = `cdk-accordion-child-${nextId++}`;\n this._expanded = false;\n this._disabled = false;\n /** Unregister function for _expansionDispatcher. */\n this._removeUniqueSelectionListener = () => { };\n this._removeUniqueSelectionListener = _expansionDispatcher.listen((id, accordionId) => {\n if (this.accordion &&\n !this.accordion.multi &&\n this.accordion.id === accordionId &&\n this.id !== id) {\n this.expanded = false;\n }\n });\n // When an accordion item is hosted in an accordion, subscribe to open/close events.\n if (this.accordion) {\n this._openCloseAllSubscription = this._subscribeToOpenCloseAllActions();\n }\n }\n /** Emits an event for the accordion item being destroyed. */\n ngOnDestroy() {\n this.opened.complete();\n this.closed.complete();\n this.destroyed.emit();\n this.destroyed.complete();\n this._removeUniqueSelectionListener();\n this._openCloseAllSubscription.unsubscribe();\n }\n /** Toggles the expanded state of the accordion item. */\n toggle() {\n if (!this.disabled) {\n this.expanded = !this.expanded;\n }\n }\n /** Sets the expanded state of the accordion item to false. */\n close() {\n if (!this.disabled) {\n this.expanded = false;\n }\n }\n /** Sets the expanded state of the accordion item to true. */\n open() {\n if (!this.disabled) {\n this.expanded = true;\n }\n }\n _subscribeToOpenCloseAllActions() {\n return this.accordion._openCloseAllActions.subscribe(expanded => {\n // Only change expanded state if item is enabled\n if (!this.disabled) {\n this.expanded = expanded;\n }\n });\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: CdkAccordionItem, deps: [{ token: CDK_ACCORDION, optional: true, skipSelf: true }, { token: i0.ChangeDetectorRef }, { token: i1.UniqueSelectionDispatcher }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.1.1\", type: CdkAccordionItem, selector: \"cdk-accordion-item, [cdkAccordionItem]\", inputs: { expanded: \"expanded\", disabled: \"disabled\" }, outputs: { closed: \"closed\", opened: \"opened\", destroyed: \"destroyed\", expandedChange: \"expandedChange\" }, providers: [\n // Provide `CDK_ACCORDION` as undefined to prevent nested accordion items from\n // registering to the same accordion.\n { provide: CDK_ACCORDION, useValue: undefined },\n ], exportAs: [\"cdkAccordionItem\"], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: CdkAccordionItem, decorators: [{\n type: Directive,\n args: [{\n selector: 'cdk-accordion-item, [cdkAccordionItem]',\n exportAs: 'cdkAccordionItem',\n providers: [\n // Provide `CDK_ACCORDION` as undefined to prevent nested accordion items from\n // registering to the same accordion.\n { provide: CDK_ACCORDION, useValue: undefined },\n ],\n }]\n }], ctorParameters: function () { return [{ type: CdkAccordion, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [CDK_ACCORDION]\n }, {\n type: SkipSelf\n }] }, { type: i0.ChangeDetectorRef }, { type: i1.UniqueSelectionDispatcher }]; }, propDecorators: { closed: [{\n type: Output\n }], opened: [{\n type: Output\n }], destroyed: [{\n type: Output\n }], expandedChange: [{\n type: Output\n }], expanded: [{\n type: Input\n }], disabled: [{\n type: Input\n }] } });\n\nclass CdkAccordionModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: CdkAccordionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.1.1\", ngImport: i0, type: CdkAccordionModule, declarations: [CdkAccordion, CdkAccordionItem], exports: [CdkAccordion, CdkAccordionItem] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: CdkAccordionModule }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: CdkAccordionModule, decorators: [{\n type: NgModule,\n args: [{\n exports: [CdkAccordion, CdkAccordionItem],\n declarations: [CdkAccordion, CdkAccordionItem],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { CDK_ACCORDION, CdkAccordion, CdkAccordionItem, CdkAccordionModule };\n","import * as i0 from '@angular/core';\nimport { InjectionToken, inject, EventEmitter, Injectable, Optional, Inject, Directive, Output, Input, NgModule } from '@angular/core';\nimport { DOCUMENT } from '@angular/common';\n\n/**\n * Injection token used to inject the document into Directionality.\n * This is used so that the value can be faked in tests.\n *\n * We can't use the real document in tests because changing the real `dir` causes geometry-based\n * tests in Safari to fail.\n *\n * We also can't re-provide the DOCUMENT token from platform-browser because the unit tests\n * themselves use things like `querySelector` in test code.\n *\n * This token is defined in a separate file from Directionality as a workaround for\n * https://github.com/angular/angular/issues/22559\n *\n * @docs-private\n */\nconst DIR_DOCUMENT = new InjectionToken('cdk-dir-doc', {\n providedIn: 'root',\n factory: DIR_DOCUMENT_FACTORY,\n});\n/** @docs-private */\nfunction DIR_DOCUMENT_FACTORY() {\n return inject(DOCUMENT);\n}\n\n/** Regex that matches locales with an RTL script. Taken from `goog.i18n.bidi.isRtlLanguage`. */\nconst RTL_LOCALE_PATTERN = /^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;\n/** Resolves a string value to a specific direction. */\nfunction _resolveDirectionality(rawValue) {\n const value = rawValue?.toLowerCase() || '';\n if (value === 'auto' && typeof navigator !== 'undefined' && navigator?.language) {\n return RTL_LOCALE_PATTERN.test(navigator.language) ? 'rtl' : 'ltr';\n }\n return value === 'rtl' ? 'rtl' : 'ltr';\n}\n/**\n * The directionality (LTR / RTL) context for the application (or a subtree of it).\n * Exposes the current direction and a stream of direction changes.\n */\nclass Directionality {\n constructor(_document) {\n /** The current 'ltr' or 'rtl' value. */\n this.value = 'ltr';\n /** Stream that emits whenever the 'ltr' / 'rtl' state changes. */\n this.change = new EventEmitter();\n if (_document) {\n const bodyDir = _document.body ? _document.body.dir : null;\n const htmlDir = _document.documentElement ? _document.documentElement.dir : null;\n this.value = _resolveDirectionality(bodyDir || htmlDir || 'ltr');\n }\n }\n ngOnDestroy() {\n this.change.complete();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: Directionality, deps: [{ token: DIR_DOCUMENT, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: Directionality, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: Directionality, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [DIR_DOCUMENT]\n }] }]; } });\n\n/**\n * Directive to listen for changes of direction of part of the DOM.\n *\n * Provides itself as Directionality such that descendant directives only need to ever inject\n * Directionality to get the closest direction.\n */\nclass Dir {\n constructor() {\n /** Normalized direction that accounts for invalid/unsupported values. */\n this._dir = 'ltr';\n /** Whether the `value` has been set to its initial value. */\n this._isInitialized = false;\n /** Event emitted when the direction changes. */\n this.change = new EventEmitter();\n }\n /** @docs-private */\n get dir() {\n return this._dir;\n }\n set dir(value) {\n const previousValue = this._dir;\n // Note: `_resolveDirectionality` resolves the language based on the browser's language,\n // whereas the browser does it based on the content of the element. Since doing so based\n // on the content can be expensive, for now we're doing the simpler matching.\n this._dir = _resolveDirectionality(value);\n this._rawDir = value;\n if (previousValue !== this._dir && this._isInitialized) {\n this.change.emit(this._dir);\n }\n }\n /** Current layout direction of the element. */\n get value() {\n return this.dir;\n }\n /** Initialize once default value has been set. */\n ngAfterContentInit() {\n this._isInitialized = true;\n }\n ngOnDestroy() {\n this.change.complete();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: Dir, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.1.1\", type: Dir, selector: \"[dir]\", inputs: { dir: \"dir\" }, outputs: { change: \"dirChange\" }, host: { properties: { \"attr.dir\": \"_rawDir\" } }, providers: [{ provide: Directionality, useExisting: Dir }], exportAs: [\"dir\"], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: Dir, decorators: [{\n type: Directive,\n args: [{\n selector: '[dir]',\n providers: [{ provide: Directionality, useExisting: Dir }],\n host: { '[attr.dir]': '_rawDir' },\n exportAs: 'dir',\n }]\n }], propDecorators: { change: [{\n type: Output,\n args: ['dirChange']\n }], dir: [{\n type: Input\n }] } });\n\nclass BidiModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: BidiModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.1.1\", ngImport: i0, type: BidiModule, declarations: [Dir], exports: [Dir] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: BidiModule }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: BidiModule, decorators: [{\n type: NgModule,\n args: [{\n exports: [Dir],\n declarations: [Dir],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { BidiModule, DIR_DOCUMENT, Dir, Directionality };\n","import { Version } from '@angular/core';\n\n/** Current version of the Angular Component Development Kit. */\nconst VERSION = new Version('16.2.14');\n\nexport { VERSION };\n","import { ElementRef } from '@angular/core';\n\n/** Coerces a data-bound value (typically a string) to a boolean. */\nfunction coerceBooleanProperty(value) {\n return value != null && `${value}` !== 'false';\n}\n\nfunction coerceNumberProperty(value, fallbackValue = 0) {\n return _isNumberValue(value) ? Number(value) : fallbackValue;\n}\n/**\n * Whether the provided value is considered a number.\n * @docs-private\n */\nfunction _isNumberValue(value) {\n // parseFloat(value) handles most of the cases we're interested in (it treats null, empty string,\n // and other non-number values as NaN, where Number just uses 0) but it considers the string\n // '123hello' to be a valid number. Therefore we also check if Number(value) is NaN.\n return !isNaN(parseFloat(value)) && !isNaN(Number(value));\n}\n\nfunction coerceArray(value) {\n return Array.isArray(value) ? value : [value];\n}\n\n/** Coerces a value to a CSS pixel value. */\nfunction coerceCssPixelValue(value) {\n if (value == null) {\n return '';\n }\n return typeof value === 'string' ? value : `${value}px`;\n}\n\n/**\n * Coerces an ElementRef or an Element into an element.\n * Useful for APIs that can accept either a ref or the native element itself.\n */\nfunction coerceElement(elementOrRef) {\n return elementOrRef instanceof ElementRef ? elementOrRef.nativeElement : elementOrRef;\n}\n\n/**\n * Coerces a value to an array of trimmed non-empty strings.\n * Any input that is not an array, `null` or `undefined` will be turned into a string\n * via `toString()` and subsequently split with the given separator.\n * `null` and `undefined` will result in an empty array.\n * This results in the following outcomes:\n * - `null` -> `[]`\n * - `[null]` -> `[\"null\"]`\n * - `[\"a\", \"b \", \" \"]` -> `[\"a\", \"b\"]`\n * - `[1, [2, 3]]` -> `[\"1\", \"2,3\"]`\n * - `[{ a: 0 }]` -> `[\"[object Object]\"]`\n * - `{ a: 0 }` -> `[\"[object\", \"Object]\"]`\n *\n * Useful for defining CSS classes or table columns.\n * @param value the value to coerce into an array of strings\n * @param separator split-separator if value isn't an array\n */\nfunction coerceStringArray(value, separator = /\\s+/) {\n const result = [];\n if (value != null) {\n const sourceValues = Array.isArray(value) ? value : `${value}`.split(separator);\n for (const sourceValue of sourceValues) {\n const trimmedString = `${sourceValue}`.trim();\n if (trimmedString) {\n result.push(trimmedString);\n }\n }\n }\n return result;\n}\n\nexport { _isNumberValue, coerceArray, coerceBooleanProperty, coerceCssPixelValue, coerceElement, coerceNumberProperty, coerceStringArray };\n","import { ConnectableObservable, isObservable, of, Subject } from 'rxjs';\nimport * as i0 from '@angular/core';\nimport { Injectable, InjectionToken } from '@angular/core';\n\nclass DataSource {\n}\n/** Checks whether an object is a data source. */\nfunction isDataSource(value) {\n // Check if the value is a DataSource by observing if it has a connect function. Cannot\n // be checked as an `instanceof DataSource` since people could create their own sources\n // that match the interface, but don't extend DataSource. We also can't use `isObservable`\n // here, because of some internal apps.\n return value && typeof value.connect === 'function' && !(value instanceof ConnectableObservable);\n}\n\n/** DataSource wrapper for a native array. */\nclass ArrayDataSource extends DataSource {\n constructor(_data) {\n super();\n this._data = _data;\n }\n connect() {\n return isObservable(this._data) ? this._data : of(this._data);\n }\n disconnect() { }\n}\n\n/**\n * A repeater that destroys views when they are removed from a\n * {@link ViewContainerRef}. When new items are inserted into the container,\n * the repeater will always construct a new embedded view for each item.\n *\n * @template T The type for the embedded view's $implicit property.\n * @template R The type for the item in each IterableDiffer change record.\n * @template C The type for the context passed to each embedded view.\n */\nclass _DisposeViewRepeaterStrategy {\n applyChanges(changes, viewContainerRef, itemContextFactory, itemValueResolver, itemViewChanged) {\n changes.forEachOperation((record, adjustedPreviousIndex, currentIndex) => {\n let view;\n let operation;\n if (record.previousIndex == null) {\n const insertContext = itemContextFactory(record, adjustedPreviousIndex, currentIndex);\n view = viewContainerRef.createEmbeddedView(insertContext.templateRef, insertContext.context, insertContext.index);\n operation = 1 /* _ViewRepeaterOperation.INSERTED */;\n }\n else if (currentIndex == null) {\n viewContainerRef.remove(adjustedPreviousIndex);\n operation = 3 /* _ViewRepeaterOperation.REMOVED */;\n }\n else {\n view = viewContainerRef.get(adjustedPreviousIndex);\n viewContainerRef.move(view, currentIndex);\n operation = 2 /* _ViewRepeaterOperation.MOVED */;\n }\n if (itemViewChanged) {\n itemViewChanged({\n context: view?.context,\n operation,\n record,\n });\n }\n });\n }\n detach() { }\n}\n\n/**\n * A repeater that caches views when they are removed from a\n * {@link ViewContainerRef}. When new items are inserted into the container,\n * the repeater will reuse one of the cached views instead of creating a new\n * embedded view. Recycling cached views reduces the quantity of expensive DOM\n * inserts.\n *\n * @template T The type for the embedded view's $implicit property.\n * @template R The type for the item in each IterableDiffer change record.\n * @template C The type for the context passed to each embedded view.\n */\nclass _RecycleViewRepeaterStrategy {\n constructor() {\n /**\n * The size of the cache used to store unused views.\n * Setting the cache size to `0` will disable caching. Defaults to 20 views.\n */\n this.viewCacheSize = 20;\n /**\n * View cache that stores embedded view instances that have been previously stamped out,\n * but don't are not currently rendered. The view repeater will reuse these views rather than\n * creating brand new ones.\n *\n * TODO(michaeljamesparsons) Investigate whether using a linked list would improve performance.\n */\n this._viewCache = [];\n }\n /** Apply changes to the DOM. */\n applyChanges(changes, viewContainerRef, itemContextFactory, itemValueResolver, itemViewChanged) {\n // Rearrange the views to put them in the right location.\n changes.forEachOperation((record, adjustedPreviousIndex, currentIndex) => {\n let view;\n let operation;\n if (record.previousIndex == null) {\n // Item added.\n const viewArgsFactory = () => itemContextFactory(record, adjustedPreviousIndex, currentIndex);\n view = this._insertView(viewArgsFactory, currentIndex, viewContainerRef, itemValueResolver(record));\n operation = view ? 1 /* _ViewRepeaterOperation.INSERTED */ : 0 /* _ViewRepeaterOperation.REPLACED */;\n }\n else if (currentIndex == null) {\n // Item removed.\n this._detachAndCacheView(adjustedPreviousIndex, viewContainerRef);\n operation = 3 /* _ViewRepeaterOperation.REMOVED */;\n }\n else {\n // Item moved.\n view = this._moveView(adjustedPreviousIndex, currentIndex, viewContainerRef, itemValueResolver(record));\n operation = 2 /* _ViewRepeaterOperation.MOVED */;\n }\n if (itemViewChanged) {\n itemViewChanged({\n context: view?.context,\n operation,\n record,\n });\n }\n });\n }\n detach() {\n for (const view of this._viewCache) {\n view.destroy();\n }\n this._viewCache = [];\n }\n /**\n * Inserts a view for a new item, either from the cache or by creating a new\n * one. Returns `undefined` if the item was inserted into a cached view.\n */\n _insertView(viewArgsFactory, currentIndex, viewContainerRef, value) {\n const cachedView = this._insertViewFromCache(currentIndex, viewContainerRef);\n if (cachedView) {\n cachedView.context.$implicit = value;\n return undefined;\n }\n const viewArgs = viewArgsFactory();\n return viewContainerRef.createEmbeddedView(viewArgs.templateRef, viewArgs.context, viewArgs.index);\n }\n /** Detaches the view at the given index and inserts into the view cache. */\n _detachAndCacheView(index, viewContainerRef) {\n const detachedView = viewContainerRef.detach(index);\n this._maybeCacheView(detachedView, viewContainerRef);\n }\n /** Moves view at the previous index to the current index. */\n _moveView(adjustedPreviousIndex, currentIndex, viewContainerRef, value) {\n const view = viewContainerRef.get(adjustedPreviousIndex);\n viewContainerRef.move(view, currentIndex);\n view.context.$implicit = value;\n return view;\n }\n /**\n * Cache the given detached view. If the cache is full, the view will be\n * destroyed.\n */\n _maybeCacheView(view, viewContainerRef) {\n if (this._viewCache.length < this.viewCacheSize) {\n this._viewCache.push(view);\n }\n else {\n const index = viewContainerRef.indexOf(view);\n // The host component could remove views from the container outside of\n // the view repeater. It's unlikely this will occur, but just in case,\n // destroy the view on its own, otherwise destroy it through the\n // container to ensure that all the references are removed.\n if (index === -1) {\n view.destroy();\n }\n else {\n viewContainerRef.remove(index);\n }\n }\n }\n /** Inserts a recycled view from the cache at the given index. */\n _insertViewFromCache(index, viewContainerRef) {\n const cachedView = this._viewCache.pop();\n if (cachedView) {\n viewContainerRef.insert(cachedView, index);\n }\n return cachedView || null;\n }\n}\n\n/**\n * Class to be used to power selecting one or more options from a list.\n */\nclass SelectionModel {\n /** Selected values. */\n get selected() {\n if (!this._selected) {\n this._selected = Array.from(this._selection.values());\n }\n return this._selected;\n }\n constructor(_multiple = false, initiallySelectedValues, _emitChanges = true, compareWith) {\n this._multiple = _multiple;\n this._emitChanges = _emitChanges;\n this.compareWith = compareWith;\n /** Currently-selected values. */\n this._selection = new Set();\n /** Keeps track of the deselected options that haven't been emitted by the change event. */\n this._deselectedToEmit = [];\n /** Keeps track of the selected options that haven't been emitted by the change event. */\n this._selectedToEmit = [];\n /** Event emitted when the value has changed. */\n this.changed = new Subject();\n if (initiallySelectedValues && initiallySelectedValues.length) {\n if (_multiple) {\n initiallySelectedValues.forEach(value => this._markSelected(value));\n }\n else {\n this._markSelected(initiallySelectedValues[0]);\n }\n // Clear the array in order to avoid firing the change event for preselected values.\n this._selectedToEmit.length = 0;\n }\n }\n /**\n * Selects a value or an array of values.\n * @param values The values to select\n * @return Whether the selection changed as a result of this call\n * @breaking-change 16.0.0 make return type boolean\n */\n select(...values) {\n this._verifyValueAssignment(values);\n values.forEach(value => this._markSelected(value));\n const changed = this._hasQueuedChanges();\n this._emitChangeEvent();\n return changed;\n }\n /**\n * Deselects a value or an array of values.\n * @param values The values to deselect\n * @return Whether the selection changed as a result of this call\n * @breaking-change 16.0.0 make return type boolean\n */\n deselect(...values) {\n this._verifyValueAssignment(values);\n values.forEach(value => this._unmarkSelected(value));\n const changed = this._hasQueuedChanges();\n this._emitChangeEvent();\n return changed;\n }\n /**\n * Sets the selected values\n * @param values The new selected values\n * @return Whether the selection changed as a result of this call\n * @breaking-change 16.0.0 make return type boolean\n */\n setSelection(...values) {\n this._verifyValueAssignment(values);\n const oldValues = this.selected;\n const newSelectedSet = new Set(values);\n values.forEach(value => this._markSelected(value));\n oldValues\n .filter(value => !newSelectedSet.has(value))\n .forEach(value => this._unmarkSelected(value));\n const changed = this._hasQueuedChanges();\n this._emitChangeEvent();\n return changed;\n }\n /**\n * Toggles a value between selected and deselected.\n * @param value The value to toggle\n * @return Whether the selection changed as a result of this call\n * @breaking-change 16.0.0 make return type boolean\n */\n toggle(value) {\n return this.isSelected(value) ? this.deselect(value) : this.select(value);\n }\n /**\n * Clears all of the selected values.\n * @param flushEvent Whether to flush the changes in an event.\n * If false, the changes to the selection will be flushed along with the next event.\n * @return Whether the selection changed as a result of this call\n * @breaking-change 16.0.0 make return type boolean\n */\n clear(flushEvent = true) {\n this._unmarkAll();\n const changed = this._hasQueuedChanges();\n if (flushEvent) {\n this._emitChangeEvent();\n }\n return changed;\n }\n /**\n * Determines whether a value is selected.\n */\n isSelected(value) {\n return this._selection.has(this._getConcreteValue(value));\n }\n /**\n * Determines whether the model does not have a value.\n */\n isEmpty() {\n return this._selection.size === 0;\n }\n /**\n * Determines whether the model has a value.\n */\n hasValue() {\n return !this.isEmpty();\n }\n /**\n * Sorts the selected values based on a predicate function.\n */\n sort(predicate) {\n if (this._multiple && this.selected) {\n this._selected.sort(predicate);\n }\n }\n /**\n * Gets whether multiple values can be selected.\n */\n isMultipleSelection() {\n return this._multiple;\n }\n /** Emits a change event and clears the records of selected and deselected values. */\n _emitChangeEvent() {\n // Clear the selected values so they can be re-cached.\n this._selected = null;\n if (this._selectedToEmit.length || this._deselectedToEmit.length) {\n this.changed.next({\n source: this,\n added: this._selectedToEmit,\n removed: this._deselectedToEmit,\n });\n this._deselectedToEmit = [];\n this._selectedToEmit = [];\n }\n }\n /** Selects a value. */\n _markSelected(value) {\n value = this._getConcreteValue(value);\n if (!this.isSelected(value)) {\n if (!this._multiple) {\n this._unmarkAll();\n }\n if (!this.isSelected(value)) {\n this._selection.add(value);\n }\n if (this._emitChanges) {\n this._selectedToEmit.push(value);\n }\n }\n }\n /** Deselects a value. */\n _unmarkSelected(value) {\n value = this._getConcreteValue(value);\n if (this.isSelected(value)) {\n this._selection.delete(value);\n if (this._emitChanges) {\n this._deselectedToEmit.push(value);\n }\n }\n }\n /** Clears out the selected values. */\n _unmarkAll() {\n if (!this.isEmpty()) {\n this._selection.forEach(value => this._unmarkSelected(value));\n }\n }\n /**\n * Verifies the value assignment and throws an error if the specified value array is\n * including multiple values while the selection model is not supporting multiple values.\n */\n _verifyValueAssignment(values) {\n if (values.length > 1 && !this._multiple && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw getMultipleValuesInSingleSelectionError();\n }\n }\n /** Whether there are queued up change to be emitted. */\n _hasQueuedChanges() {\n return !!(this._deselectedToEmit.length || this._selectedToEmit.length);\n }\n /** Returns a value that is comparable to inputValue by applying compareWith function, returns the same inputValue otherwise. */\n _getConcreteValue(inputValue) {\n if (!this.compareWith) {\n return inputValue;\n }\n else {\n for (let selectedValue of this._selection) {\n if (this.compareWith(inputValue, selectedValue)) {\n return selectedValue;\n }\n }\n return inputValue;\n }\n }\n}\n/**\n * Returns an error that reports that multiple values are passed into a selection model\n * with a single value.\n * @docs-private\n */\nfunction getMultipleValuesInSingleSelectionError() {\n return Error('Cannot pass multiple values into SelectionModel with single-value mode.');\n}\n\n/**\n * Class to coordinate unique selection based on name.\n * Intended to be consumed as an Angular service.\n * This service is needed because native radio change events are only fired on the item currently\n * being selected, and we still need to uncheck the previous selection.\n *\n * This service does not *store* any IDs and names because they may change at any time, so it is\n * less error-prone if they are simply passed through when the events occur.\n */\nclass UniqueSelectionDispatcher {\n constructor() {\n this._listeners = [];\n }\n /**\n * Notify other items that selection for the given name has been set.\n * @param id ID of the item.\n * @param name Name of the item.\n */\n notify(id, name) {\n for (let listener of this._listeners) {\n listener(id, name);\n }\n }\n /**\n * Listen for future changes to item selection.\n * @return Function used to deregister listener\n */\n listen(listener) {\n this._listeners.push(listener);\n return () => {\n this._listeners = this._listeners.filter((registered) => {\n return listener !== registered;\n });\n };\n }\n ngOnDestroy() {\n this._listeners = [];\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: UniqueSelectionDispatcher, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: UniqueSelectionDispatcher, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: UniqueSelectionDispatcher, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }] });\n\n/**\n * Injection token for {@link _ViewRepeater}. This token is for use by Angular Material only.\n * @docs-private\n */\nconst _VIEW_REPEATER_STRATEGY = new InjectionToken('_ViewRepeater');\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { ArrayDataSource, DataSource, SelectionModel, UniqueSelectionDispatcher, _DisposeViewRepeaterStrategy, _RecycleViewRepeaterStrategy, _VIEW_REPEATER_STRATEGY, getMultipleValuesInSingleSelectionError, isDataSource };\n","const MAC_ENTER = 3;\nconst BACKSPACE = 8;\nconst TAB = 9;\nconst NUM_CENTER = 12;\nconst ENTER = 13;\nconst SHIFT = 16;\nconst CONTROL = 17;\nconst ALT = 18;\nconst PAUSE = 19;\nconst CAPS_LOCK = 20;\nconst ESCAPE = 27;\nconst SPACE = 32;\nconst PAGE_UP = 33;\nconst PAGE_DOWN = 34;\nconst END = 35;\nconst HOME = 36;\nconst LEFT_ARROW = 37;\nconst UP_ARROW = 38;\nconst RIGHT_ARROW = 39;\nconst DOWN_ARROW = 40;\nconst PLUS_SIGN = 43;\nconst PRINT_SCREEN = 44;\nconst INSERT = 45;\nconst DELETE = 46;\nconst ZERO = 48;\nconst ONE = 49;\nconst TWO = 50;\nconst THREE = 51;\nconst FOUR = 52;\nconst FIVE = 53;\nconst SIX = 54;\nconst SEVEN = 55;\nconst EIGHT = 56;\nconst NINE = 57;\nconst FF_SEMICOLON = 59; // Firefox (Gecko) fires this for semicolon instead of 186\nconst FF_EQUALS = 61; // Firefox (Gecko) fires this for equals instead of 187\nconst QUESTION_MARK = 63;\nconst AT_SIGN = 64;\nconst A = 65;\nconst B = 66;\nconst C = 67;\nconst D = 68;\nconst E = 69;\nconst F = 70;\nconst G = 71;\nconst H = 72;\nconst I = 73;\nconst J = 74;\nconst K = 75;\nconst L = 76;\nconst M = 77;\nconst N = 78;\nconst O = 79;\nconst P = 80;\nconst Q = 81;\nconst R = 82;\nconst S = 83;\nconst T = 84;\nconst U = 85;\nconst V = 86;\nconst W = 87;\nconst X = 88;\nconst Y = 89;\nconst Z = 90;\nconst META = 91; // WIN_KEY_LEFT\nconst MAC_WK_CMD_LEFT = 91;\nconst MAC_WK_CMD_RIGHT = 93;\nconst CONTEXT_MENU = 93;\nconst NUMPAD_ZERO = 96;\nconst NUMPAD_ONE = 97;\nconst NUMPAD_TWO = 98;\nconst NUMPAD_THREE = 99;\nconst NUMPAD_FOUR = 100;\nconst NUMPAD_FIVE = 101;\nconst NUMPAD_SIX = 102;\nconst NUMPAD_SEVEN = 103;\nconst NUMPAD_EIGHT = 104;\nconst NUMPAD_NINE = 105;\nconst NUMPAD_MULTIPLY = 106;\nconst NUMPAD_PLUS = 107;\nconst NUMPAD_MINUS = 109;\nconst NUMPAD_PERIOD = 110;\nconst NUMPAD_DIVIDE = 111;\nconst F1 = 112;\nconst F2 = 113;\nconst F3 = 114;\nconst F4 = 115;\nconst F5 = 116;\nconst F6 = 117;\nconst F7 = 118;\nconst F8 = 119;\nconst F9 = 120;\nconst F10 = 121;\nconst F11 = 122;\nconst F12 = 123;\nconst NUM_LOCK = 144;\nconst SCROLL_LOCK = 145;\nconst FIRST_MEDIA = 166;\nconst FF_MINUS = 173;\nconst MUTE = 173; // Firefox (Gecko) fires 181 for MUTE\nconst VOLUME_DOWN = 174; // Firefox (Gecko) fires 182 for VOLUME_DOWN\nconst VOLUME_UP = 175; // Firefox (Gecko) fires 183 for VOLUME_UP\nconst FF_MUTE = 181;\nconst FF_VOLUME_DOWN = 182;\nconst LAST_MEDIA = 183;\nconst FF_VOLUME_UP = 183;\nconst SEMICOLON = 186; // Firefox (Gecko) fires 59 for SEMICOLON\nconst EQUALS = 187; // Firefox (Gecko) fires 61 for EQUALS\nconst COMMA = 188;\nconst DASH = 189; // Firefox (Gecko) fires 173 for DASH/MINUS\nconst PERIOD = 190;\nconst SLASH = 191;\nconst APOSTROPHE = 192;\nconst TILDE = 192;\nconst OPEN_SQUARE_BRACKET = 219;\nconst BACKSLASH = 220;\nconst CLOSE_SQUARE_BRACKET = 221;\nconst SINGLE_QUOTE = 222;\nconst MAC_META = 224;\n\n/**\n * Checks whether a modifier key is pressed.\n * @param event Event to be checked.\n */\nfunction hasModifierKey(event, ...modifiers) {\n if (modifiers.length) {\n return modifiers.some(modifier => event[modifier]);\n }\n return event.altKey || event.shiftKey || event.ctrlKey || event.metaKey;\n}\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { A, ALT, APOSTROPHE, AT_SIGN, B, BACKSLASH, BACKSPACE, C, CAPS_LOCK, CLOSE_SQUARE_BRACKET, COMMA, CONTEXT_MENU, CONTROL, D, DASH, DELETE, DOWN_ARROW, E, EIGHT, END, ENTER, EQUALS, ESCAPE, F, F1, F10, F11, F12, F2, F3, F4, F5, F6, F7, F8, F9, FF_EQUALS, FF_MINUS, FF_MUTE, FF_SEMICOLON, FF_VOLUME_DOWN, FF_VOLUME_UP, FIRST_MEDIA, FIVE, FOUR, G, H, HOME, I, INSERT, J, K, L, LAST_MEDIA, LEFT_ARROW, M, MAC_ENTER, MAC_META, MAC_WK_CMD_LEFT, MAC_WK_CMD_RIGHT, META, MUTE, N, NINE, NUMPAD_DIVIDE, NUMPAD_EIGHT, NUMPAD_FIVE, NUMPAD_FOUR, NUMPAD_MINUS, NUMPAD_MULTIPLY, NUMPAD_NINE, NUMPAD_ONE, NUMPAD_PERIOD, NUMPAD_PLUS, NUMPAD_SEVEN, NUMPAD_SIX, NUMPAD_THREE, NUMPAD_TWO, NUMPAD_ZERO, NUM_CENTER, NUM_LOCK, O, ONE, OPEN_SQUARE_BRACKET, P, PAGE_DOWN, PAGE_UP, PAUSE, PERIOD, PLUS_SIGN, PRINT_SCREEN, Q, QUESTION_MARK, R, RIGHT_ARROW, S, SCROLL_LOCK, SEMICOLON, SEVEN, SHIFT, SINGLE_QUOTE, SIX, SLASH, SPACE, T, TAB, THREE, TILDE, TWO, U, UP_ARROW, V, VOLUME_DOWN, VOLUME_UP, W, X, Y, Z, ZERO, hasModifierKey };\n","import * as i0 from '@angular/core';\nimport { NgModule, CSP_NONCE, Injectable, Optional, Inject } from '@angular/core';\nimport { coerceArray } from '@angular/cdk/coercion';\nimport { Subject, combineLatest, concat, Observable } from 'rxjs';\nimport { take, skip, debounceTime, map, startWith, takeUntil } from 'rxjs/operators';\nimport * as i1 from '@angular/cdk/platform';\n\nclass LayoutModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: LayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.1.1\", ngImport: i0, type: LayoutModule }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: LayoutModule }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: LayoutModule, decorators: [{\n type: NgModule,\n args: [{}]\n }] });\n\n/** Global registry for all dynamically-created, injected media queries. */\nconst mediaQueriesForWebkitCompatibility = new Set();\n/** Style tag that holds all of the dynamically-created media queries. */\nlet mediaQueryStyleNode;\n/** A utility for calling matchMedia queries. */\nclass MediaMatcher {\n constructor(_platform, _nonce) {\n this._platform = _platform;\n this._nonce = _nonce;\n this._matchMedia =\n this._platform.isBrowser && window.matchMedia\n ? // matchMedia is bound to the window scope intentionally as it is an illegal invocation to\n // call it from a different scope.\n window.matchMedia.bind(window)\n : noopMatchMedia;\n }\n /**\n * Evaluates the given media query and returns the native MediaQueryList from which results\n * can be retrieved.\n * Confirms the layout engine will trigger for the selector query provided and returns the\n * MediaQueryList for the query provided.\n */\n matchMedia(query) {\n if (this._platform.WEBKIT || this._platform.BLINK) {\n createEmptyStyleRule(query, this._nonce);\n }\n return this._matchMedia(query);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: MediaMatcher, deps: [{ token: i1.Platform }, { token: CSP_NONCE, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: MediaMatcher, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: MediaMatcher, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: i1.Platform }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [CSP_NONCE]\n }] }]; } });\n/**\n * Creates an empty stylesheet that is used to work around browser inconsistencies related to\n * `matchMedia`. At the time of writing, it handles the following cases:\n * 1. On WebKit browsers, a media query has to have at least one rule in order for `matchMedia`\n * to fire. We work around it by declaring a dummy stylesheet with a `@media` declaration.\n * 2. In some cases Blink browsers will stop firing the `matchMedia` listener if none of the rules\n * inside the `@media` match existing elements on the page. We work around it by having one rule\n * targeting the `body`. See https://github.com/angular/components/issues/23546.\n */\nfunction createEmptyStyleRule(query, nonce) {\n if (mediaQueriesForWebkitCompatibility.has(query)) {\n return;\n }\n try {\n if (!mediaQueryStyleNode) {\n mediaQueryStyleNode = document.createElement('style');\n if (nonce) {\n mediaQueryStyleNode.nonce = nonce;\n }\n mediaQueryStyleNode.setAttribute('type', 'text/css');\n document.head.appendChild(mediaQueryStyleNode);\n }\n if (mediaQueryStyleNode.sheet) {\n mediaQueryStyleNode.sheet.insertRule(`@media ${query} {body{ }}`, 0);\n mediaQueriesForWebkitCompatibility.add(query);\n }\n }\n catch (e) {\n console.error(e);\n }\n}\n/** No-op matchMedia replacement for non-browser platforms. */\nfunction noopMatchMedia(query) {\n // Use `as any` here to avoid adding additional necessary properties for\n // the noop matcher.\n return {\n matches: query === 'all' || query === '',\n media: query,\n addListener: () => { },\n removeListener: () => { },\n };\n}\n\n/** Utility for checking the matching state of @media queries. */\nclass BreakpointObserver {\n constructor(_mediaMatcher, _zone) {\n this._mediaMatcher = _mediaMatcher;\n this._zone = _zone;\n /** A map of all media queries currently being listened for. */\n this._queries = new Map();\n /** A subject for all other observables to takeUntil based on. */\n this._destroySubject = new Subject();\n }\n /** Completes the active subject, signalling to all other observables to complete. */\n ngOnDestroy() {\n this._destroySubject.next();\n this._destroySubject.complete();\n }\n /**\n * Whether one or more media queries match the current viewport size.\n * @param value One or more media queries to check.\n * @returns Whether any of the media queries match.\n */\n isMatched(value) {\n const queries = splitQueries(coerceArray(value));\n return queries.some(mediaQuery => this._registerQuery(mediaQuery).mql.matches);\n }\n /**\n * Gets an observable of results for the given queries that will emit new results for any changes\n * in matching of the given queries.\n * @param value One or more media queries to check.\n * @returns A stream of matches for the given queries.\n */\n observe(value) {\n const queries = splitQueries(coerceArray(value));\n const observables = queries.map(query => this._registerQuery(query).observable);\n let stateObservable = combineLatest(observables);\n // Emit the first state immediately, and then debounce the subsequent emissions.\n stateObservable = concat(stateObservable.pipe(take(1)), stateObservable.pipe(skip(1), debounceTime(0)));\n return stateObservable.pipe(map(breakpointStates => {\n const response = {\n matches: false,\n breakpoints: {},\n };\n breakpointStates.forEach(({ matches, query }) => {\n response.matches = response.matches || matches;\n response.breakpoints[query] = matches;\n });\n return response;\n }));\n }\n /** Registers a specific query to be listened for. */\n _registerQuery(query) {\n // Only set up a new MediaQueryList if it is not already being listened for.\n if (this._queries.has(query)) {\n return this._queries.get(query);\n }\n const mql = this._mediaMatcher.matchMedia(query);\n // Create callback for match changes and add it is as a listener.\n const queryObservable = new Observable((observer) => {\n // Listener callback methods are wrapped to be placed back in ngZone. Callbacks must be placed\n // back into the zone because matchMedia is only included in Zone.js by loading the\n // webapis-media-query.js file alongside the zone.js file. Additionally, some browsers do not\n // have MediaQueryList inherit from EventTarget, which causes inconsistencies in how Zone.js\n // patches it.\n const handler = (e) => this._zone.run(() => observer.next(e));\n mql.addListener(handler);\n return () => {\n mql.removeListener(handler);\n };\n }).pipe(startWith(mql), map(({ matches }) => ({ query, matches })), takeUntil(this._destroySubject));\n // Add the MediaQueryList to the set of queries.\n const output = { observable: queryObservable, mql };\n this._queries.set(query, output);\n return output;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: BreakpointObserver, deps: [{ token: MediaMatcher }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: BreakpointObserver, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: BreakpointObserver, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: MediaMatcher }, { type: i0.NgZone }]; } });\n/**\n * Split each query string into separate query strings if two queries are provided as comma\n * separated.\n */\nfunction splitQueries(queries) {\n return queries\n .map(query => query.split(','))\n .reduce((a1, a2) => a1.concat(a2))\n .map(query => query.trim());\n}\n\n// PascalCase is being used as Breakpoints is used like an enum.\n// tslint:disable-next-line:variable-name\nconst Breakpoints = {\n XSmall: '(max-width: 599.98px)',\n Small: '(min-width: 600px) and (max-width: 959.98px)',\n Medium: '(min-width: 960px) and (max-width: 1279.98px)',\n Large: '(min-width: 1280px) and (max-width: 1919.98px)',\n XLarge: '(min-width: 1920px)',\n Handset: '(max-width: 599.98px) and (orientation: portrait), ' +\n '(max-width: 959.98px) and (orientation: landscape)',\n Tablet: '(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), ' +\n '(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)',\n Web: '(min-width: 840px) and (orientation: portrait), ' +\n '(min-width: 1280px) and (orientation: landscape)',\n HandsetPortrait: '(max-width: 599.98px) and (orientation: portrait)',\n TabletPortrait: '(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)',\n WebPortrait: '(min-width: 840px) and (orientation: portrait)',\n HandsetLandscape: '(max-width: 959.98px) and (orientation: landscape)',\n TabletLandscape: '(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)',\n WebLandscape: '(min-width: 1280px) and (orientation: landscape)',\n};\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { BreakpointObserver, Breakpoints, LayoutModule, MediaMatcher };\n","import { coerceElement, coerceBooleanProperty, coerceNumberProperty } from '@angular/cdk/coercion';\nimport * as i0 from '@angular/core';\nimport { Injectable, EventEmitter, Directive, Output, Input, NgModule } from '@angular/core';\nimport { Observable, Subject } from 'rxjs';\nimport { debounceTime } from 'rxjs/operators';\n\n/**\n * Factory that creates a new MutationObserver and allows us to stub it out in unit tests.\n * @docs-private\n */\nclass MutationObserverFactory {\n create(callback) {\n return typeof MutationObserver === 'undefined' ? null : new MutationObserver(callback);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: MutationObserverFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: MutationObserverFactory, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: MutationObserverFactory, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }] });\n/** An injectable service that allows watching elements for changes to their content. */\nclass ContentObserver {\n constructor(_mutationObserverFactory) {\n this._mutationObserverFactory = _mutationObserverFactory;\n /** Keeps track of the existing MutationObservers so they can be reused. */\n this._observedElements = new Map();\n }\n ngOnDestroy() {\n this._observedElements.forEach((_, element) => this._cleanupObserver(element));\n }\n observe(elementOrRef) {\n const element = coerceElement(elementOrRef);\n return new Observable((observer) => {\n const stream = this._observeElement(element);\n const subscription = stream.subscribe(observer);\n return () => {\n subscription.unsubscribe();\n this._unobserveElement(element);\n };\n });\n }\n /**\n * Observes the given element by using the existing MutationObserver if available, or creating a\n * new one if not.\n */\n _observeElement(element) {\n if (!this._observedElements.has(element)) {\n const stream = new Subject();\n const observer = this._mutationObserverFactory.create(mutations => stream.next(mutations));\n if (observer) {\n observer.observe(element, {\n characterData: true,\n childList: true,\n subtree: true,\n });\n }\n this._observedElements.set(element, { observer, stream, count: 1 });\n }\n else {\n this._observedElements.get(element).count++;\n }\n return this._observedElements.get(element).stream;\n }\n /**\n * Un-observes the given element and cleans up the underlying MutationObserver if nobody else is\n * observing this element.\n */\n _unobserveElement(element) {\n if (this._observedElements.has(element)) {\n this._observedElements.get(element).count--;\n if (!this._observedElements.get(element).count) {\n this._cleanupObserver(element);\n }\n }\n }\n /** Clean up the underlying MutationObserver for the specified element. */\n _cleanupObserver(element) {\n if (this._observedElements.has(element)) {\n const { observer, stream } = this._observedElements.get(element);\n if (observer) {\n observer.disconnect();\n }\n stream.complete();\n this._observedElements.delete(element);\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: ContentObserver, deps: [{ token: MutationObserverFactory }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: ContentObserver, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: ContentObserver, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: MutationObserverFactory }]; } });\n/**\n * Directive that triggers a callback whenever the content of\n * its associated element has changed.\n */\nclass CdkObserveContent {\n /**\n * Whether observing content is disabled. This option can be used\n * to disconnect the underlying MutationObserver until it is needed.\n */\n get disabled() {\n return this._disabled;\n }\n set disabled(value) {\n this._disabled = coerceBooleanProperty(value);\n this._disabled ? this._unsubscribe() : this._subscribe();\n }\n /** Debounce interval for emitting the changes. */\n get debounce() {\n return this._debounce;\n }\n set debounce(value) {\n this._debounce = coerceNumberProperty(value);\n this._subscribe();\n }\n constructor(_contentObserver, _elementRef, _ngZone) {\n this._contentObserver = _contentObserver;\n this._elementRef = _elementRef;\n this._ngZone = _ngZone;\n /** Event emitted for each change in the element's content. */\n this.event = new EventEmitter();\n this._disabled = false;\n this._currentSubscription = null;\n }\n ngAfterContentInit() {\n if (!this._currentSubscription && !this.disabled) {\n this._subscribe();\n }\n }\n ngOnDestroy() {\n this._unsubscribe();\n }\n _subscribe() {\n this._unsubscribe();\n const stream = this._contentObserver.observe(this._elementRef);\n // TODO(mmalerba): We shouldn't be emitting on this @Output() outside the zone.\n // Consider brining it back inside the zone next time we're making breaking changes.\n // Bringing it back inside can cause things like infinite change detection loops and changed\n // after checked errors if people's code isn't handling it properly.\n this._ngZone.runOutsideAngular(() => {\n this._currentSubscription = (this.debounce ? stream.pipe(debounceTime(this.debounce)) : stream).subscribe(this.event);\n });\n }\n _unsubscribe() {\n this._currentSubscription?.unsubscribe();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: CdkObserveContent, deps: [{ token: ContentObserver }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.1.1\", type: CdkObserveContent, selector: \"[cdkObserveContent]\", inputs: { disabled: [\"cdkObserveContentDisabled\", \"disabled\"], debounce: \"debounce\" }, outputs: { event: \"cdkObserveContent\" }, exportAs: [\"cdkObserveContent\"], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: CdkObserveContent, decorators: [{\n type: Directive,\n args: [{\n selector: '[cdkObserveContent]',\n exportAs: 'cdkObserveContent',\n }]\n }], ctorParameters: function () { return [{ type: ContentObserver }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { event: [{\n type: Output,\n args: ['cdkObserveContent']\n }], disabled: [{\n type: Input,\n args: ['cdkObserveContentDisabled']\n }], debounce: [{\n type: Input\n }] } });\nclass ObserversModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: ObserversModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.1.1\", ngImport: i0, type: ObserversModule, declarations: [CdkObserveContent], exports: [CdkObserveContent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: ObserversModule, providers: [MutationObserverFactory] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: ObserversModule, decorators: [{\n type: NgModule,\n args: [{\n exports: [CdkObserveContent],\n declarations: [CdkObserveContent],\n providers: [MutationObserverFactory],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { CdkObserveContent, ContentObserver, MutationObserverFactory, ObserversModule };\n","import * as i0 from '@angular/core';\nimport { PLATFORM_ID, Injectable, Inject, NgModule } from '@angular/core';\nimport { isPlatformBrowser } from '@angular/common';\n\n// Whether the current platform supports the V8 Break Iterator. The V8 check\n// is necessary to detect all Blink based browsers.\nlet hasV8BreakIterator;\n// We need a try/catch around the reference to `Intl`, because accessing it in some cases can\n// cause IE to throw. These cases are tied to particular versions of Windows and can happen if\n// the consumer is providing a polyfilled `Map`. See:\n// https://github.com/Microsoft/ChakraCore/issues/3189\n// https://github.com/angular/components/issues/15687\ntry {\n hasV8BreakIterator = typeof Intl !== 'undefined' && Intl.v8BreakIterator;\n}\ncatch {\n hasV8BreakIterator = false;\n}\n/**\n * Service to detect the current platform by comparing the userAgent strings and\n * checking browser-specific global properties.\n */\nclass Platform {\n constructor(_platformId) {\n this._platformId = _platformId;\n // We want to use the Angular platform check because if the Document is shimmed\n // without the navigator, the following checks will fail. This is preferred because\n // sometimes the Document may be shimmed without the user's knowledge or intention\n /** Whether the Angular application is being rendered in the browser. */\n this.isBrowser = this._platformId\n ? isPlatformBrowser(this._platformId)\n : typeof document === 'object' && !!document;\n /** Whether the current browser is Microsoft Edge. */\n this.EDGE = this.isBrowser && /(edge)/i.test(navigator.userAgent);\n /** Whether the current rendering engine is Microsoft Trident. */\n this.TRIDENT = this.isBrowser && /(msie|trident)/i.test(navigator.userAgent);\n // EdgeHTML and Trident mock Blink specific things and need to be excluded from this check.\n /** Whether the current rendering engine is Blink. */\n this.BLINK = this.isBrowser &&\n !!(window.chrome || hasV8BreakIterator) &&\n typeof CSS !== 'undefined' &&\n !this.EDGE &&\n !this.TRIDENT;\n // Webkit is part of the userAgent in EdgeHTML, Blink and Trident. Therefore we need to\n // ensure that Webkit runs standalone and is not used as another engine's base.\n /** Whether the current rendering engine is WebKit. */\n this.WEBKIT = this.isBrowser &&\n /AppleWebKit/i.test(navigator.userAgent) &&\n !this.BLINK &&\n !this.EDGE &&\n !this.TRIDENT;\n /** Whether the current platform is Apple iOS. */\n this.IOS = this.isBrowser && /iPad|iPhone|iPod/.test(navigator.userAgent) && !('MSStream' in window);\n // It's difficult to detect the plain Gecko engine, because most of the browsers identify\n // them self as Gecko-like browsers and modify the userAgent's according to that.\n // Since we only cover one explicit Firefox case, we can simply check for Firefox\n // instead of having an unstable check for Gecko.\n /** Whether the current browser is Firefox. */\n this.FIREFOX = this.isBrowser && /(firefox|minefield)/i.test(navigator.userAgent);\n /** Whether the current platform is Android. */\n // Trident on mobile adds the android platform to the userAgent to trick detections.\n this.ANDROID = this.isBrowser && /android/i.test(navigator.userAgent) && !this.TRIDENT;\n // Safari browsers will include the Safari keyword in their userAgent. Some browsers may fake\n // this and just place the Safari keyword in the userAgent. To be more safe about Safari every\n // Safari browser should also use Webkit as its layout engine.\n /** Whether the current browser is Safari. */\n this.SAFARI = this.isBrowser && /safari/i.test(navigator.userAgent) && this.WEBKIT;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: Platform, deps: [{ token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: Platform, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: Platform, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: Object, decorators: [{\n type: Inject,\n args: [PLATFORM_ID]\n }] }]; } });\n\nclass PlatformModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: PlatformModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.1.1\", ngImport: i0, type: PlatformModule }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: PlatformModule }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: PlatformModule, decorators: [{\n type: NgModule,\n args: [{}]\n }] });\n\n/** Cached result Set of input types support by the current browser. */\nlet supportedInputTypes;\n/** Types of `` that *might* be supported. */\nconst candidateInputTypes = [\n // `color` must come first. Chrome 56 shows a warning if we change the type to `color` after\n // first changing it to something else:\n // The specified value \"\" does not conform to the required format.\n // The format is \"#rrggbb\" where rr, gg, bb are two-digit hexadecimal numbers.\n 'color',\n 'button',\n 'checkbox',\n 'date',\n 'datetime-local',\n 'email',\n 'file',\n 'hidden',\n 'image',\n 'month',\n 'number',\n 'password',\n 'radio',\n 'range',\n 'reset',\n 'search',\n 'submit',\n 'tel',\n 'text',\n 'time',\n 'url',\n 'week',\n];\n/** @returns The input types supported by this browser. */\nfunction getSupportedInputTypes() {\n // Result is cached.\n if (supportedInputTypes) {\n return supportedInputTypes;\n }\n // We can't check if an input type is not supported until we're on the browser, so say that\n // everything is supported when not on the browser. We don't use `Platform` here since it's\n // just a helper function and can't inject it.\n if (typeof document !== 'object' || !document) {\n supportedInputTypes = new Set(candidateInputTypes);\n return supportedInputTypes;\n }\n let featureTestInput = document.createElement('input');\n supportedInputTypes = new Set(candidateInputTypes.filter(value => {\n featureTestInput.setAttribute('type', value);\n return featureTestInput.type === value;\n }));\n return supportedInputTypes;\n}\n\n/** Cached result of whether the user's browser supports passive event listeners. */\nlet supportsPassiveEvents;\n/**\n * Checks whether the user's browser supports passive event listeners.\n * See: https://github.com/WICG/EventListenerOptions/blob/gh-pages/explainer.md\n */\nfunction supportsPassiveEventListeners() {\n if (supportsPassiveEvents == null && typeof window !== 'undefined') {\n try {\n window.addEventListener('test', null, Object.defineProperty({}, 'passive', {\n get: () => (supportsPassiveEvents = true),\n }));\n }\n finally {\n supportsPassiveEvents = supportsPassiveEvents || false;\n }\n }\n return supportsPassiveEvents;\n}\n/**\n * Normalizes an `AddEventListener` object to something that can be passed\n * to `addEventListener` on any browser, no matter whether it supports the\n * `options` parameter.\n * @param options Object to be normalized.\n */\nfunction normalizePassiveListenerOptions(options) {\n return supportsPassiveEventListeners() ? options : !!options.capture;\n}\n\n/** Cached result of the way the browser handles the horizontal scroll axis in RTL mode. */\nlet rtlScrollAxisType;\n/** Cached result of the check that indicates whether the browser supports scroll behaviors. */\nlet scrollBehaviorSupported;\n/** Check whether the browser supports scroll behaviors. */\nfunction supportsScrollBehavior() {\n if (scrollBehaviorSupported == null) {\n // If we're not in the browser, it can't be supported. Also check for `Element`, because\n // some projects stub out the global `document` during SSR which can throw us off.\n if (typeof document !== 'object' || !document || typeof Element !== 'function' || !Element) {\n scrollBehaviorSupported = false;\n return scrollBehaviorSupported;\n }\n // If the element can have a `scrollBehavior` style, we can be sure that it's supported.\n if ('scrollBehavior' in document.documentElement.style) {\n scrollBehaviorSupported = true;\n }\n else {\n // At this point we have 3 possibilities: `scrollTo` isn't supported at all, it's\n // supported but it doesn't handle scroll behavior, or it has been polyfilled.\n const scrollToFunction = Element.prototype.scrollTo;\n if (scrollToFunction) {\n // We can detect if the function has been polyfilled by calling `toString` on it. Native\n // functions are obfuscated using `[native code]`, whereas if it was overwritten we'd get\n // the actual function source. Via https://davidwalsh.name/detect-native-function. Consider\n // polyfilled functions as supporting scroll behavior.\n scrollBehaviorSupported = !/\\{\\s*\\[native code\\]\\s*\\}/.test(scrollToFunction.toString());\n }\n else {\n scrollBehaviorSupported = false;\n }\n }\n }\n return scrollBehaviorSupported;\n}\n/**\n * Checks the type of RTL scroll axis used by this browser. As of time of writing, Chrome is NORMAL,\n * Firefox & Safari are NEGATED, and IE & Edge are INVERTED.\n */\nfunction getRtlScrollAxisType() {\n // We can't check unless we're on the browser. Just assume 'normal' if we're not.\n if (typeof document !== 'object' || !document) {\n return 0 /* RtlScrollAxisType.NORMAL */;\n }\n if (rtlScrollAxisType == null) {\n // Create a 1px wide scrolling container and a 2px wide content element.\n const scrollContainer = document.createElement('div');\n const containerStyle = scrollContainer.style;\n scrollContainer.dir = 'rtl';\n containerStyle.width = '1px';\n containerStyle.overflow = 'auto';\n containerStyle.visibility = 'hidden';\n containerStyle.pointerEvents = 'none';\n containerStyle.position = 'absolute';\n const content = document.createElement('div');\n const contentStyle = content.style;\n contentStyle.width = '2px';\n contentStyle.height = '1px';\n scrollContainer.appendChild(content);\n document.body.appendChild(scrollContainer);\n rtlScrollAxisType = 0 /* RtlScrollAxisType.NORMAL */;\n // The viewport starts scrolled all the way to the right in RTL mode. If we are in a NORMAL\n // browser this would mean that the scrollLeft should be 1. If it's zero instead we know we're\n // dealing with one of the other two types of browsers.\n if (scrollContainer.scrollLeft === 0) {\n // In a NEGATED browser the scrollLeft is always somewhere in [-maxScrollAmount, 0]. For an\n // INVERTED browser it is always somewhere in [0, maxScrollAmount]. We can determine which by\n // setting to the scrollLeft to 1. This is past the max for a NEGATED browser, so it will\n // return 0 when we read it again.\n scrollContainer.scrollLeft = 1;\n rtlScrollAxisType =\n scrollContainer.scrollLeft === 0 ? 1 /* RtlScrollAxisType.NEGATED */ : 2 /* RtlScrollAxisType.INVERTED */;\n }\n scrollContainer.remove();\n }\n return rtlScrollAxisType;\n}\n\nlet shadowDomIsSupported;\n/** Checks whether the user's browser support Shadow DOM. */\nfunction _supportsShadowDom() {\n if (shadowDomIsSupported == null) {\n const head = typeof document !== 'undefined' ? document.head : null;\n shadowDomIsSupported = !!(head && (head.createShadowRoot || head.attachShadow));\n }\n return shadowDomIsSupported;\n}\n/** Gets the shadow root of an element, if supported and the element is inside the Shadow DOM. */\nfunction _getShadowRoot(element) {\n if (_supportsShadowDom()) {\n const rootNode = element.getRootNode ? element.getRootNode() : null;\n // Note that this should be caught by `_supportsShadowDom`, but some\n // teams have been able to hit this code path on unsupported browsers.\n if (typeof ShadowRoot !== 'undefined' && ShadowRoot && rootNode instanceof ShadowRoot) {\n return rootNode;\n }\n }\n return null;\n}\n/**\n * Gets the currently-focused element on the page while\n * also piercing through Shadow DOM boundaries.\n */\nfunction _getFocusedElementPierceShadowDom() {\n let activeElement = typeof document !== 'undefined' && document\n ? document.activeElement\n : null;\n while (activeElement && activeElement.shadowRoot) {\n const newActiveElement = activeElement.shadowRoot.activeElement;\n if (newActiveElement === activeElement) {\n break;\n }\n else {\n activeElement = newActiveElement;\n }\n }\n return activeElement;\n}\n/** Gets the target of an event while accounting for Shadow DOM. */\nfunction _getEventTarget(event) {\n // If an event is bound outside the Shadow DOM, the `event.target` will\n // point to the shadow root so we have to use `composedPath` instead.\n return (event.composedPath ? event.composedPath()[0] : event.target);\n}\n\n/** Gets whether the code is currently running in a test environment. */\nfunction _isTestEnvironment() {\n // We can't use `declare const` because it causes conflicts inside Google with the real typings\n // for these symbols and we can't read them off the global object, because they don't appear to\n // be attached there for some runners like Jest.\n // (see: https://github.com/angular/components/issues/23365#issuecomment-938146643)\n return (\n // @ts-ignore\n (typeof __karma__ !== 'undefined' && !!__karma__) ||\n // @ts-ignore\n (typeof jasmine !== 'undefined' && !!jasmine) ||\n // @ts-ignore\n (typeof jest !== 'undefined' && !!jest) ||\n // @ts-ignore\n (typeof Mocha !== 'undefined' && !!Mocha));\n}\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { Platform, PlatformModule, _getEventTarget, _getFocusedElementPierceShadowDom, _getShadowRoot, _isTestEnvironment, _supportsShadowDom, getRtlScrollAxisType, getSupportedInputTypes, normalizePassiveListenerOptions, supportsPassiveEventListeners, supportsScrollBehavior };\n","import * as i0 from '@angular/core';\nimport { ElementRef, Injector, Directive, EventEmitter, Inject, Output, NgModule } from '@angular/core';\nimport { DOCUMENT } from '@angular/common';\n\n/**\n * Throws an exception when attempting to attach a null portal to a host.\n * @docs-private\n */\nfunction throwNullPortalError() {\n throw Error('Must provide a portal to attach');\n}\n/**\n * Throws an exception when attempting to attach a portal to a host that is already attached.\n * @docs-private\n */\nfunction throwPortalAlreadyAttachedError() {\n throw Error('Host already has a portal attached');\n}\n/**\n * Throws an exception when attempting to attach a portal to an already-disposed host.\n * @docs-private\n */\nfunction throwPortalOutletAlreadyDisposedError() {\n throw Error('This PortalOutlet has already been disposed');\n}\n/**\n * Throws an exception when attempting to attach an unknown portal type.\n * @docs-private\n */\nfunction throwUnknownPortalTypeError() {\n throw Error('Attempting to attach an unknown Portal type. BasePortalOutlet accepts either ' +\n 'a ComponentPortal or a TemplatePortal.');\n}\n/**\n * Throws an exception when attempting to attach a portal to a null host.\n * @docs-private\n */\nfunction throwNullPortalOutletError() {\n throw Error('Attempting to attach a portal to a null PortalOutlet');\n}\n/**\n * Throws an exception when attempting to detach a portal that is not attached.\n * @docs-private\n */\nfunction throwNoPortalAttachedError() {\n throw Error('Attempting to detach a portal that is not attached to a host');\n}\n\n/**\n * A `Portal` is something that you want to render somewhere else.\n * It can be attach to / detached from a `PortalOutlet`.\n */\nclass Portal {\n /** Attach this portal to a host. */\n attach(host) {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (host == null) {\n throwNullPortalOutletError();\n }\n if (host.hasAttached()) {\n throwPortalAlreadyAttachedError();\n }\n }\n this._attachedHost = host;\n return host.attach(this);\n }\n /** Detach this portal from its host */\n detach() {\n let host = this._attachedHost;\n if (host != null) {\n this._attachedHost = null;\n host.detach();\n }\n else if (typeof ngDevMode === 'undefined' || ngDevMode) {\n throwNoPortalAttachedError();\n }\n }\n /** Whether this portal is attached to a host. */\n get isAttached() {\n return this._attachedHost != null;\n }\n /**\n * Sets the PortalOutlet reference without performing `attach()`. This is used directly by\n * the PortalOutlet when it is performing an `attach()` or `detach()`.\n */\n setAttachedHost(host) {\n this._attachedHost = host;\n }\n}\n/**\n * A `ComponentPortal` is a portal that instantiates some Component upon attachment.\n */\nclass ComponentPortal extends Portal {\n constructor(component, viewContainerRef, injector, componentFactoryResolver, projectableNodes) {\n super();\n this.component = component;\n this.viewContainerRef = viewContainerRef;\n this.injector = injector;\n this.componentFactoryResolver = componentFactoryResolver;\n this.projectableNodes = projectableNodes;\n }\n}\n/**\n * A `TemplatePortal` is a portal that represents some embedded template (TemplateRef).\n */\nclass TemplatePortal extends Portal {\n constructor(\n /** The embedded template that will be used to instantiate an embedded View in the host. */\n templateRef, \n /** Reference to the ViewContainer into which the template will be stamped out. */\n viewContainerRef, \n /** Contextual data to be passed in to the embedded view. */\n context, \n /** The injector to use for the embedded view. */\n injector) {\n super();\n this.templateRef = templateRef;\n this.viewContainerRef = viewContainerRef;\n this.context = context;\n this.injector = injector;\n }\n get origin() {\n return this.templateRef.elementRef;\n }\n /**\n * Attach the portal to the provided `PortalOutlet`.\n * When a context is provided it will override the `context` property of the `TemplatePortal`\n * instance.\n */\n attach(host, context = this.context) {\n this.context = context;\n return super.attach(host);\n }\n detach() {\n this.context = undefined;\n return super.detach();\n }\n}\n/**\n * A `DomPortal` is a portal whose DOM element will be taken from its current position\n * in the DOM and moved into a portal outlet, when it is attached. On detach, the content\n * will be restored to its original position.\n */\nclass DomPortal extends Portal {\n constructor(element) {\n super();\n this.element = element instanceof ElementRef ? element.nativeElement : element;\n }\n}\n/**\n * Partial implementation of PortalOutlet that handles attaching\n * ComponentPortal and TemplatePortal.\n */\nclass BasePortalOutlet {\n constructor() {\n /** Whether this host has already been permanently disposed. */\n this._isDisposed = false;\n // @breaking-change 10.0.0 `attachDomPortal` to become a required abstract method.\n this.attachDomPortal = null;\n }\n /** Whether this host has an attached portal. */\n hasAttached() {\n return !!this._attachedPortal;\n }\n /** Attaches a portal. */\n attach(portal) {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (!portal) {\n throwNullPortalError();\n }\n if (this.hasAttached()) {\n throwPortalAlreadyAttachedError();\n }\n if (this._isDisposed) {\n throwPortalOutletAlreadyDisposedError();\n }\n }\n if (portal instanceof ComponentPortal) {\n this._attachedPortal = portal;\n return this.attachComponentPortal(portal);\n }\n else if (portal instanceof TemplatePortal) {\n this._attachedPortal = portal;\n return this.attachTemplatePortal(portal);\n // @breaking-change 10.0.0 remove null check for `this.attachDomPortal`.\n }\n else if (this.attachDomPortal && portal instanceof DomPortal) {\n this._attachedPortal = portal;\n return this.attachDomPortal(portal);\n }\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n throwUnknownPortalTypeError();\n }\n }\n /** Detaches a previously attached portal. */\n detach() {\n if (this._attachedPortal) {\n this._attachedPortal.setAttachedHost(null);\n this._attachedPortal = null;\n }\n this._invokeDisposeFn();\n }\n /** Permanently dispose of this portal host. */\n dispose() {\n if (this.hasAttached()) {\n this.detach();\n }\n this._invokeDisposeFn();\n this._isDisposed = true;\n }\n /** @docs-private */\n setDisposeFn(fn) {\n this._disposeFn = fn;\n }\n _invokeDisposeFn() {\n if (this._disposeFn) {\n this._disposeFn();\n this._disposeFn = null;\n }\n }\n}\n/**\n * @deprecated Use `BasePortalOutlet` instead.\n * @breaking-change 9.0.0\n */\nclass BasePortalHost extends BasePortalOutlet {\n}\n\n/**\n * A PortalOutlet for attaching portals to an arbitrary DOM element outside of the Angular\n * application context.\n */\nclass DomPortalOutlet extends BasePortalOutlet {\n /**\n * @param outletElement Element into which the content is projected.\n * @param _componentFactoryResolver Used to resolve the component factory.\n * Only required when attaching component portals.\n * @param _appRef Reference to the application. Only used in component portals when there\n * is no `ViewContainerRef` available.\n * @param _defaultInjector Injector to use as a fallback when the portal being attached doesn't\n * have one. Only used for component portals.\n * @param _document Reference to the document. Used when attaching a DOM portal. Will eventually\n * become a required parameter.\n */\n constructor(\n /** Element into which the content is projected. */\n outletElement, _componentFactoryResolver, _appRef, _defaultInjector, \n /**\n * @deprecated `_document` Parameter to be made required.\n * @breaking-change 10.0.0\n */\n _document) {\n super();\n this.outletElement = outletElement;\n this._componentFactoryResolver = _componentFactoryResolver;\n this._appRef = _appRef;\n this._defaultInjector = _defaultInjector;\n /**\n * Attaches a DOM portal by transferring its content into the outlet.\n * @param portal Portal to be attached.\n * @deprecated To be turned into a method.\n * @breaking-change 10.0.0\n */\n this.attachDomPortal = (portal) => {\n // @breaking-change 10.0.0 Remove check and error once the\n // `_document` constructor parameter is required.\n if (!this._document && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw Error('Cannot attach DOM portal without _document constructor parameter');\n }\n const element = portal.element;\n if (!element.parentNode && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw Error('DOM portal content must be attached to a parent node.');\n }\n // Anchor used to save the element's previous position so\n // that we can restore it when the portal is detached.\n const anchorNode = this._document.createComment('dom-portal');\n element.parentNode.insertBefore(anchorNode, element);\n this.outletElement.appendChild(element);\n this._attachedPortal = portal;\n super.setDisposeFn(() => {\n // We can't use `replaceWith` here because IE doesn't support it.\n if (anchorNode.parentNode) {\n anchorNode.parentNode.replaceChild(element, anchorNode);\n }\n });\n };\n this._document = _document;\n }\n /**\n * Attach the given ComponentPortal to DOM element using the ComponentFactoryResolver.\n * @param portal Portal to be attached\n * @returns Reference to the created component.\n */\n attachComponentPortal(portal) {\n const resolver = (portal.componentFactoryResolver || this._componentFactoryResolver);\n if ((typeof ngDevMode === 'undefined' || ngDevMode) && !resolver) {\n throw Error('Cannot attach component portal to outlet without a ComponentFactoryResolver.');\n }\n const componentFactory = resolver.resolveComponentFactory(portal.component);\n let componentRef;\n // If the portal specifies a ViewContainerRef, we will use that as the attachment point\n // for the component (in terms of Angular's component tree, not rendering).\n // When the ViewContainerRef is missing, we use the factory to create the component directly\n // and then manually attach the view to the application.\n if (portal.viewContainerRef) {\n componentRef = portal.viewContainerRef.createComponent(componentFactory, portal.viewContainerRef.length, portal.injector || portal.viewContainerRef.injector, portal.projectableNodes || undefined);\n this.setDisposeFn(() => componentRef.destroy());\n }\n else {\n if ((typeof ngDevMode === 'undefined' || ngDevMode) && !this._appRef) {\n throw Error('Cannot attach component portal to outlet without an ApplicationRef.');\n }\n componentRef = componentFactory.create(portal.injector || this._defaultInjector || Injector.NULL);\n this._appRef.attachView(componentRef.hostView);\n this.setDisposeFn(() => {\n // Verify that the ApplicationRef has registered views before trying to detach a host view.\n // This check also protects the `detachView` from being called on a destroyed ApplicationRef.\n if (this._appRef.viewCount > 0) {\n this._appRef.detachView(componentRef.hostView);\n }\n componentRef.destroy();\n });\n }\n // At this point the component has been instantiated, so we move it to the location in the DOM\n // where we want it to be rendered.\n this.outletElement.appendChild(this._getComponentRootNode(componentRef));\n this._attachedPortal = portal;\n return componentRef;\n }\n /**\n * Attaches a template portal to the DOM as an embedded view.\n * @param portal Portal to be attached.\n * @returns Reference to the created embedded view.\n */\n attachTemplatePortal(portal) {\n let viewContainer = portal.viewContainerRef;\n let viewRef = viewContainer.createEmbeddedView(portal.templateRef, portal.context, {\n injector: portal.injector,\n });\n // The method `createEmbeddedView` will add the view as a child of the viewContainer.\n // But for the DomPortalOutlet the view can be added everywhere in the DOM\n // (e.g Overlay Container) To move the view to the specified host element. We just\n // re-append the existing root nodes.\n viewRef.rootNodes.forEach(rootNode => this.outletElement.appendChild(rootNode));\n // Note that we want to detect changes after the nodes have been moved so that\n // any directives inside the portal that are looking at the DOM inside a lifecycle\n // hook won't be invoked too early.\n viewRef.detectChanges();\n this.setDisposeFn(() => {\n let index = viewContainer.indexOf(viewRef);\n if (index !== -1) {\n viewContainer.remove(index);\n }\n });\n this._attachedPortal = portal;\n // TODO(jelbourn): Return locals from view.\n return viewRef;\n }\n /**\n * Clears out a portal from the DOM.\n */\n dispose() {\n super.dispose();\n this.outletElement.remove();\n }\n /** Gets the root HTMLElement for an instantiated component. */\n _getComponentRootNode(componentRef) {\n return componentRef.hostView.rootNodes[0];\n }\n}\n/**\n * @deprecated Use `DomPortalOutlet` instead.\n * @breaking-change 9.0.0\n */\nclass DomPortalHost extends DomPortalOutlet {\n}\n\n/**\n * Directive version of a `TemplatePortal`. Because the directive *is* a TemplatePortal,\n * the directive instance itself can be attached to a host, enabling declarative use of portals.\n */\nclass CdkPortal extends TemplatePortal {\n constructor(templateRef, viewContainerRef) {\n super(templateRef, viewContainerRef);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: CdkPortal, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.1.1\", type: CdkPortal, selector: \"[cdkPortal]\", exportAs: [\"cdkPortal\"], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: CdkPortal, decorators: [{\n type: Directive,\n args: [{\n selector: '[cdkPortal]',\n exportAs: 'cdkPortal',\n }]\n }], ctorParameters: function () { return [{ type: i0.TemplateRef }, { type: i0.ViewContainerRef }]; } });\n/**\n * @deprecated Use `CdkPortal` instead.\n * @breaking-change 9.0.0\n */\nclass TemplatePortalDirective extends CdkPortal {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: TemplatePortalDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.1.1\", type: TemplatePortalDirective, selector: \"[cdk-portal], [portal]\", providers: [\n {\n provide: CdkPortal,\n useExisting: TemplatePortalDirective,\n },\n ], exportAs: [\"cdkPortal\"], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: TemplatePortalDirective, decorators: [{\n type: Directive,\n args: [{\n selector: '[cdk-portal], [portal]',\n exportAs: 'cdkPortal',\n providers: [\n {\n provide: CdkPortal,\n useExisting: TemplatePortalDirective,\n },\n ],\n }]\n }] });\n/**\n * Directive version of a PortalOutlet. Because the directive *is* a PortalOutlet, portals can be\n * directly attached to it, enabling declarative use.\n *\n * Usage:\n * ``\n */\nclass CdkPortalOutlet extends BasePortalOutlet {\n constructor(_componentFactoryResolver, _viewContainerRef, \n /**\n * @deprecated `_document` parameter to be made required.\n * @breaking-change 9.0.0\n */\n _document) {\n super();\n this._componentFactoryResolver = _componentFactoryResolver;\n this._viewContainerRef = _viewContainerRef;\n /** Whether the portal component is initialized. */\n this._isInitialized = false;\n /** Emits when a portal is attached to the outlet. */\n this.attached = new EventEmitter();\n /**\n * Attaches the given DomPortal to this PortalHost by moving all of the portal content into it.\n * @param portal Portal to be attached.\n * @deprecated To be turned into a method.\n * @breaking-change 10.0.0\n */\n this.attachDomPortal = (portal) => {\n // @breaking-change 9.0.0 Remove check and error once the\n // `_document` constructor parameter is required.\n if (!this._document && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw Error('Cannot attach DOM portal without _document constructor parameter');\n }\n const element = portal.element;\n if (!element.parentNode && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw Error('DOM portal content must be attached to a parent node.');\n }\n // Anchor used to save the element's previous position so\n // that we can restore it when the portal is detached.\n const anchorNode = this._document.createComment('dom-portal');\n portal.setAttachedHost(this);\n element.parentNode.insertBefore(anchorNode, element);\n this._getRootNode().appendChild(element);\n this._attachedPortal = portal;\n super.setDisposeFn(() => {\n if (anchorNode.parentNode) {\n anchorNode.parentNode.replaceChild(element, anchorNode);\n }\n });\n };\n this._document = _document;\n }\n /** Portal associated with the Portal outlet. */\n get portal() {\n return this._attachedPortal;\n }\n set portal(portal) {\n // Ignore the cases where the `portal` is set to a falsy value before the lifecycle hooks have\n // run. This handles the cases where the user might do something like `
    `\n // and attach a portal programmatically in the parent component. When Angular does the first CD\n // round, it will fire the setter with empty string, causing the user's content to be cleared.\n if (this.hasAttached() && !portal && !this._isInitialized) {\n return;\n }\n if (this.hasAttached()) {\n super.detach();\n }\n if (portal) {\n super.attach(portal);\n }\n this._attachedPortal = portal || null;\n }\n /** Component or view reference that is attached to the portal. */\n get attachedRef() {\n return this._attachedRef;\n }\n ngOnInit() {\n this._isInitialized = true;\n }\n ngOnDestroy() {\n super.dispose();\n this._attachedRef = this._attachedPortal = null;\n }\n /**\n * Attach the given ComponentPortal to this PortalOutlet using the ComponentFactoryResolver.\n *\n * @param portal Portal to be attached to the portal outlet.\n * @returns Reference to the created component.\n */\n attachComponentPortal(portal) {\n portal.setAttachedHost(this);\n // If the portal specifies an origin, use that as the logical location of the component\n // in the application tree. Otherwise use the location of this PortalOutlet.\n const viewContainerRef = portal.viewContainerRef != null ? portal.viewContainerRef : this._viewContainerRef;\n const resolver = portal.componentFactoryResolver || this._componentFactoryResolver;\n const componentFactory = resolver.resolveComponentFactory(portal.component);\n const ref = viewContainerRef.createComponent(componentFactory, viewContainerRef.length, portal.injector || viewContainerRef.injector, portal.projectableNodes || undefined);\n // If we're using a view container that's different from the injected one (e.g. when the portal\n // specifies its own) we need to move the component into the outlet, otherwise it'll be rendered\n // inside of the alternate view container.\n if (viewContainerRef !== this._viewContainerRef) {\n this._getRootNode().appendChild(ref.hostView.rootNodes[0]);\n }\n super.setDisposeFn(() => ref.destroy());\n this._attachedPortal = portal;\n this._attachedRef = ref;\n this.attached.emit(ref);\n return ref;\n }\n /**\n * Attach the given TemplatePortal to this PortalHost as an embedded View.\n * @param portal Portal to be attached.\n * @returns Reference to the created embedded view.\n */\n attachTemplatePortal(portal) {\n portal.setAttachedHost(this);\n const viewRef = this._viewContainerRef.createEmbeddedView(portal.templateRef, portal.context, {\n injector: portal.injector,\n });\n super.setDisposeFn(() => this._viewContainerRef.clear());\n this._attachedPortal = portal;\n this._attachedRef = viewRef;\n this.attached.emit(viewRef);\n return viewRef;\n }\n /** Gets the root node of the portal outlet. */\n _getRootNode() {\n const nativeElement = this._viewContainerRef.element.nativeElement;\n // The directive could be set on a template which will result in a comment\n // node being the root. Use the comment's parent node if that is the case.\n return (nativeElement.nodeType === nativeElement.ELEMENT_NODE\n ? nativeElement\n : nativeElement.parentNode);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: CdkPortalOutlet, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.ViewContainerRef }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.1.1\", type: CdkPortalOutlet, selector: \"[cdkPortalOutlet]\", inputs: { portal: [\"cdkPortalOutlet\", \"portal\"] }, outputs: { attached: \"attached\" }, exportAs: [\"cdkPortalOutlet\"], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: CdkPortalOutlet, decorators: [{\n type: Directive,\n args: [{\n selector: '[cdkPortalOutlet]',\n exportAs: 'cdkPortalOutlet',\n inputs: ['portal: cdkPortalOutlet'],\n }]\n }], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }, { type: i0.ViewContainerRef }, { type: undefined, decorators: [{\n type: Inject,\n args: [DOCUMENT]\n }] }]; }, propDecorators: { attached: [{\n type: Output\n }] } });\n/**\n * @deprecated Use `CdkPortalOutlet` instead.\n * @breaking-change 9.0.0\n */\nclass PortalHostDirective extends CdkPortalOutlet {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: PortalHostDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.1.1\", type: PortalHostDirective, selector: \"[cdkPortalHost], [portalHost]\", inputs: { portal: [\"cdkPortalHost\", \"portal\"] }, providers: [\n {\n provide: CdkPortalOutlet,\n useExisting: PortalHostDirective,\n },\n ], exportAs: [\"cdkPortalHost\"], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: PortalHostDirective, decorators: [{\n type: Directive,\n args: [{\n selector: '[cdkPortalHost], [portalHost]',\n exportAs: 'cdkPortalHost',\n inputs: ['portal: cdkPortalHost'],\n providers: [\n {\n provide: CdkPortalOutlet,\n useExisting: PortalHostDirective,\n },\n ],\n }]\n }] });\nclass PortalModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: PortalModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.1.1\", ngImport: i0, type: PortalModule, declarations: [CdkPortal, CdkPortalOutlet, TemplatePortalDirective, PortalHostDirective], exports: [CdkPortal, CdkPortalOutlet, TemplatePortalDirective, PortalHostDirective] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: PortalModule }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: PortalModule, decorators: [{\n type: NgModule,\n args: [{\n exports: [CdkPortal, CdkPortalOutlet, TemplatePortalDirective, PortalHostDirective],\n declarations: [CdkPortal, CdkPortalOutlet, TemplatePortalDirective, PortalHostDirective],\n }]\n }] });\n\n/**\n * Custom injector to be used when providing custom\n * injection tokens to components inside a portal.\n * @docs-private\n * @deprecated Use `Injector.create` instead.\n * @breaking-change 11.0.0\n */\nclass PortalInjector {\n constructor(_parentInjector, _customTokens) {\n this._parentInjector = _parentInjector;\n this._customTokens = _customTokens;\n }\n get(token, notFoundValue) {\n const value = this._customTokens.get(token);\n if (typeof value !== 'undefined') {\n return value;\n }\n return this._parentInjector.get(token, notFoundValue);\n }\n}\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { BasePortalHost, BasePortalOutlet, CdkPortal, CdkPortalOutlet, ComponentPortal, DomPortal, DomPortalHost, DomPortalOutlet, Portal, PortalHostDirective, PortalInjector, PortalModule, TemplatePortal, TemplatePortalDirective };\n","/**\n * @license Angular v16.2.12\n * (c) 2010-2022 Google LLC. https://angular.io/\n * License: MIT\n */\n\nimport * as i0 from '@angular/core';\nimport { InjectionToken, inject, Injectable, Optional, Inject, EventEmitter, ɵɵinject, ɵfindLocaleData, ɵLocaleDataIndex, ɵgetLocaleCurrencyCode, ɵgetLocalePluralCase, LOCALE_ID, ɵregisterLocaleData, ɵstringify, Directive, Input, createNgModule, NgModuleRef, ɵRuntimeError, Host, Attribute, RendererStyleFlags2, untracked, ɵisPromise, ɵisSubscribable, Pipe, DEFAULT_CURRENCY_CODE, NgModule, Version, ɵɵdefineInjectable, ɵformatRuntimeError, Renderer2, ElementRef, Injector, PLATFORM_ID, NgZone, numberAttribute, booleanAttribute, ɵunwrapSafeValue } from '@angular/core';\n\nlet _DOM = null;\nfunction getDOM() {\n return _DOM;\n}\nfunction setRootDomAdapter(adapter) {\n if (!_DOM) {\n _DOM = adapter;\n }\n}\n/* tslint:disable:requireParameterType */\n/**\n * Provides DOM operations in an environment-agnostic way.\n *\n * @security Tread carefully! Interacting with the DOM directly is dangerous and\n * can introduce XSS risks.\n */\nclass DomAdapter {\n}\n\n/**\n * A DI Token representing the main rendering context.\n * In a browser and SSR this is the DOM Document.\n * When using SSR, that document is created by [Domino](https://github.com/angular/domino).\n *\n * @publicApi\n */\nconst DOCUMENT = new InjectionToken('DocumentToken');\n\n/**\n * This class should not be used directly by an application developer. Instead, use\n * {@link Location}.\n *\n * `PlatformLocation` encapsulates all calls to DOM APIs, which allows the Router to be\n * platform-agnostic.\n * This means that we can have different implementation of `PlatformLocation` for the different\n * platforms that Angular supports. For example, `@angular/platform-browser` provides an\n * implementation specific to the browser environment, while `@angular/platform-server` provides\n * one suitable for use with server-side rendering.\n *\n * The `PlatformLocation` class is used directly by all implementations of {@link LocationStrategy}\n * when they need to interact with the DOM APIs like pushState, popState, etc.\n *\n * {@link LocationStrategy} in turn is used by the {@link Location} service which is used directly\n * by the {@link Router} in order to navigate between routes. Since all interactions between {@link\n * Router} /\n * {@link Location} / {@link LocationStrategy} and DOM APIs flow through the `PlatformLocation`\n * class, they are all platform-agnostic.\n *\n * @publicApi\n */\nclass PlatformLocation {\n historyGo(relativePosition) {\n throw new Error('Not implemented');\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: PlatformLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: PlatformLocation, providedIn: 'platform', useFactory: () => inject(BrowserPlatformLocation) }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: PlatformLocation, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'platform', useFactory: () => inject(BrowserPlatformLocation) }]\n }] });\n/**\n * @description\n * Indicates when a location is initialized.\n *\n * @publicApi\n */\nconst LOCATION_INITIALIZED = new InjectionToken('Location Initialized');\n/**\n * `PlatformLocation` encapsulates all of the direct calls to platform APIs.\n * This class should not be used directly by an application developer. Instead, use\n * {@link Location}.\n *\n * @publicApi\n */\nclass BrowserPlatformLocation extends PlatformLocation {\n constructor() {\n super();\n this._doc = inject(DOCUMENT);\n this._location = window.location;\n this._history = window.history;\n }\n getBaseHrefFromDOM() {\n return getDOM().getBaseHref(this._doc);\n }\n onPopState(fn) {\n const window = getDOM().getGlobalEventTarget(this._doc, 'window');\n window.addEventListener('popstate', fn, false);\n return () => window.removeEventListener('popstate', fn);\n }\n onHashChange(fn) {\n const window = getDOM().getGlobalEventTarget(this._doc, 'window');\n window.addEventListener('hashchange', fn, false);\n return () => window.removeEventListener('hashchange', fn);\n }\n get href() {\n return this._location.href;\n }\n get protocol() {\n return this._location.protocol;\n }\n get hostname() {\n return this._location.hostname;\n }\n get port() {\n return this._location.port;\n }\n get pathname() {\n return this._location.pathname;\n }\n get search() {\n return this._location.search;\n }\n get hash() {\n return this._location.hash;\n }\n set pathname(newPath) {\n this._location.pathname = newPath;\n }\n pushState(state, title, url) {\n this._history.pushState(state, title, url);\n }\n replaceState(state, title, url) {\n this._history.replaceState(state, title, url);\n }\n forward() {\n this._history.forward();\n }\n back() {\n this._history.back();\n }\n historyGo(relativePosition = 0) {\n this._history.go(relativePosition);\n }\n getState() {\n return this._history.state;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: BrowserPlatformLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: BrowserPlatformLocation, providedIn: 'platform', useFactory: () => new BrowserPlatformLocation() }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: BrowserPlatformLocation, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'platform',\n useFactory: () => new BrowserPlatformLocation(),\n }]\n }], ctorParameters: function () { return []; } });\n\n/**\n * Joins two parts of a URL with a slash if needed.\n *\n * @param start URL string\n * @param end URL string\n *\n *\n * @returns The joined URL string.\n */\nfunction joinWithSlash(start, end) {\n if (start.length == 0) {\n return end;\n }\n if (end.length == 0) {\n return start;\n }\n let slashes = 0;\n if (start.endsWith('/')) {\n slashes++;\n }\n if (end.startsWith('/')) {\n slashes++;\n }\n if (slashes == 2) {\n return start + end.substring(1);\n }\n if (slashes == 1) {\n return start + end;\n }\n return start + '/' + end;\n}\n/**\n * Removes a trailing slash from a URL string if needed.\n * Looks for the first occurrence of either `#`, `?`, or the end of the\n * line as `/` characters and removes the trailing slash if one exists.\n *\n * @param url URL string.\n *\n * @returns The URL string, modified if needed.\n */\nfunction stripTrailingSlash(url) {\n const match = url.match(/#|\\?|$/);\n const pathEndIdx = match && match.index || url.length;\n const droppedSlashIdx = pathEndIdx - (url[pathEndIdx - 1] === '/' ? 1 : 0);\n return url.slice(0, droppedSlashIdx) + url.slice(pathEndIdx);\n}\n/**\n * Normalizes URL parameters by prepending with `?` if needed.\n *\n * @param params String of URL parameters.\n *\n * @returns The normalized URL parameters string.\n */\nfunction normalizeQueryParams(params) {\n return params && params[0] !== '?' ? '?' + params : params;\n}\n\n/**\n * Enables the `Location` service to read route state from the browser's URL.\n * Angular provides two strategies:\n * `HashLocationStrategy` and `PathLocationStrategy`.\n *\n * Applications should use the `Router` or `Location` services to\n * interact with application route state.\n *\n * For instance, `HashLocationStrategy` produces URLs like\n * http://example.com#/foo,\n * and `PathLocationStrategy` produces\n * http://example.com/foo as an equivalent URL.\n *\n * See these two classes for more.\n *\n * @publicApi\n */\nclass LocationStrategy {\n historyGo(relativePosition) {\n throw new Error('Not implemented');\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: LocationStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: LocationStrategy, providedIn: 'root', useFactory: () => inject(PathLocationStrategy) }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: LocationStrategy, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root', useFactory: () => inject(PathLocationStrategy) }]\n }] });\n/**\n * A predefined [DI token](guide/glossary#di-token) for the base href\n * to be used with the `PathLocationStrategy`.\n * The base href is the URL prefix that should be preserved when generating\n * and recognizing URLs.\n *\n * @usageNotes\n *\n * The following example shows how to use this token to configure the root app injector\n * with a base href value, so that the DI framework can supply the dependency anywhere in the app.\n *\n * ```typescript\n * import {NgModule} from '@angular/core';\n * import {APP_BASE_HREF} from '@angular/common';\n *\n * @NgModule({\n * providers: [{provide: APP_BASE_HREF, useValue: '/my/app'}]\n * })\n * class AppModule {}\n * ```\n *\n * @publicApi\n */\nconst APP_BASE_HREF = new InjectionToken('appBaseHref');\n/**\n * @description\n * A {@link LocationStrategy} used to configure the {@link Location} service to\n * represent its state in the\n * [path](https://en.wikipedia.org/wiki/Uniform_Resource_Locator#Syntax) of the\n * browser's URL.\n *\n * If you're using `PathLocationStrategy`, you may provide a {@link APP_BASE_HREF}\n * or add a `` element to the document to override the default.\n *\n * For instance, if you provide an `APP_BASE_HREF` of `'/my/app/'` and call\n * `location.go('/foo')`, the browser's URL will become\n * `example.com/my/app/foo`. To ensure all relative URIs resolve correctly,\n * the `` and/or `APP_BASE_HREF` should end with a `/`.\n *\n * Similarly, if you add `` to the document and call\n * `location.go('/foo')`, the browser's URL will become\n * `example.com/my/app/foo`.\n *\n * Note that when using `PathLocationStrategy`, neither the query nor\n * the fragment in the `` will be preserved, as outlined\n * by the [RFC](https://tools.ietf.org/html/rfc3986#section-5.2.2).\n *\n * @usageNotes\n *\n * ### Example\n *\n * {@example common/location/ts/path_location_component.ts region='LocationComponent'}\n *\n * @publicApi\n */\nclass PathLocationStrategy extends LocationStrategy {\n constructor(_platformLocation, href) {\n super();\n this._platformLocation = _platformLocation;\n this._removeListenerFns = [];\n this._baseHref = href ?? this._platformLocation.getBaseHrefFromDOM() ??\n inject(DOCUMENT).location?.origin ?? '';\n }\n /** @nodoc */\n ngOnDestroy() {\n while (this._removeListenerFns.length) {\n this._removeListenerFns.pop()();\n }\n }\n onPopState(fn) {\n this._removeListenerFns.push(this._platformLocation.onPopState(fn), this._platformLocation.onHashChange(fn));\n }\n getBaseHref() {\n return this._baseHref;\n }\n prepareExternalUrl(internal) {\n return joinWithSlash(this._baseHref, internal);\n }\n path(includeHash = false) {\n const pathname = this._platformLocation.pathname + normalizeQueryParams(this._platformLocation.search);\n const hash = this._platformLocation.hash;\n return hash && includeHash ? `${pathname}${hash}` : pathname;\n }\n pushState(state, title, url, queryParams) {\n const externalUrl = this.prepareExternalUrl(url + normalizeQueryParams(queryParams));\n this._platformLocation.pushState(state, title, externalUrl);\n }\n replaceState(state, title, url, queryParams) {\n const externalUrl = this.prepareExternalUrl(url + normalizeQueryParams(queryParams));\n this._platformLocation.replaceState(state, title, externalUrl);\n }\n forward() {\n this._platformLocation.forward();\n }\n back() {\n this._platformLocation.back();\n }\n getState() {\n return this._platformLocation.getState();\n }\n historyGo(relativePosition = 0) {\n this._platformLocation.historyGo?.(relativePosition);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: PathLocationStrategy, deps: [{ token: PlatformLocation }, { token: APP_BASE_HREF, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: PathLocationStrategy, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: PathLocationStrategy, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: PlatformLocation }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [APP_BASE_HREF]\n }] }]; } });\n\n/**\n * @description\n * A {@link LocationStrategy} used to configure the {@link Location} service to\n * represent its state in the\n * [hash fragment](https://en.wikipedia.org/wiki/Uniform_Resource_Locator#Syntax)\n * of the browser's URL.\n *\n * For instance, if you call `location.go('/foo')`, the browser's URL will become\n * `example.com#/foo`.\n *\n * @usageNotes\n *\n * ### Example\n *\n * {@example common/location/ts/hash_location_component.ts region='LocationComponent'}\n *\n * @publicApi\n */\nclass HashLocationStrategy extends LocationStrategy {\n constructor(_platformLocation, _baseHref) {\n super();\n this._platformLocation = _platformLocation;\n this._baseHref = '';\n this._removeListenerFns = [];\n if (_baseHref != null) {\n this._baseHref = _baseHref;\n }\n }\n /** @nodoc */\n ngOnDestroy() {\n while (this._removeListenerFns.length) {\n this._removeListenerFns.pop()();\n }\n }\n onPopState(fn) {\n this._removeListenerFns.push(this._platformLocation.onPopState(fn), this._platformLocation.onHashChange(fn));\n }\n getBaseHref() {\n return this._baseHref;\n }\n path(includeHash = false) {\n // the hash value is always prefixed with a `#`\n // and if it is empty then it will stay empty\n let path = this._platformLocation.hash;\n if (path == null)\n path = '#';\n return path.length > 0 ? path.substring(1) : path;\n }\n prepareExternalUrl(internal) {\n const url = joinWithSlash(this._baseHref, internal);\n return url.length > 0 ? ('#' + url) : url;\n }\n pushState(state, title, path, queryParams) {\n let url = this.prepareExternalUrl(path + normalizeQueryParams(queryParams));\n if (url.length == 0) {\n url = this._platformLocation.pathname;\n }\n this._platformLocation.pushState(state, title, url);\n }\n replaceState(state, title, path, queryParams) {\n let url = this.prepareExternalUrl(path + normalizeQueryParams(queryParams));\n if (url.length == 0) {\n url = this._platformLocation.pathname;\n }\n this._platformLocation.replaceState(state, title, url);\n }\n forward() {\n this._platformLocation.forward();\n }\n back() {\n this._platformLocation.back();\n }\n getState() {\n return this._platformLocation.getState();\n }\n historyGo(relativePosition = 0) {\n this._platformLocation.historyGo?.(relativePosition);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: HashLocationStrategy, deps: [{ token: PlatformLocation }, { token: APP_BASE_HREF, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: HashLocationStrategy }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: HashLocationStrategy, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: PlatformLocation }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [APP_BASE_HREF]\n }] }]; } });\n\n/**\n * @description\n *\n * A service that applications can use to interact with a browser's URL.\n *\n * Depending on the `LocationStrategy` used, `Location` persists\n * to the URL's path or the URL's hash segment.\n *\n * @usageNotes\n *\n * It's better to use the `Router.navigate()` service to trigger route changes. Use\n * `Location` only if you need to interact with or create normalized URLs outside of\n * routing.\n *\n * `Location` is responsible for normalizing the URL against the application's base href.\n * A normalized URL is absolute from the URL host, includes the application's base href, and has no\n * trailing slash:\n * - `/my/app/user/123` is normalized\n * - `my/app/user/123` **is not** normalized\n * - `/my/app/user/123/` **is not** normalized\n *\n * ### Example\n *\n * \n *\n * @publicApi\n */\nclass Location {\n constructor(locationStrategy) {\n /** @internal */\n this._subject = new EventEmitter();\n /** @internal */\n this._urlChangeListeners = [];\n /** @internal */\n this._urlChangeSubscription = null;\n this._locationStrategy = locationStrategy;\n const baseHref = this._locationStrategy.getBaseHref();\n // Note: This class's interaction with base HREF does not fully follow the rules\n // outlined in the spec https://www.freesoft.org/CIE/RFC/1808/18.htm.\n // Instead of trying to fix individual bugs with more and more code, we should\n // investigate using the URL constructor and providing the base as a second\n // argument.\n // https://developer.mozilla.org/en-US/docs/Web/API/URL/URL#parameters\n this._basePath = _stripOrigin(stripTrailingSlash(_stripIndexHtml(baseHref)));\n this._locationStrategy.onPopState((ev) => {\n this._subject.emit({\n 'url': this.path(true),\n 'pop': true,\n 'state': ev.state,\n 'type': ev.type,\n });\n });\n }\n /** @nodoc */\n ngOnDestroy() {\n this._urlChangeSubscription?.unsubscribe();\n this._urlChangeListeners = [];\n }\n /**\n * Normalizes the URL path for this location.\n *\n * @param includeHash True to include an anchor fragment in the path.\n *\n * @returns The normalized URL path.\n */\n // TODO: vsavkin. Remove the boolean flag and always include hash once the deprecated router is\n // removed.\n path(includeHash = false) {\n return this.normalize(this._locationStrategy.path(includeHash));\n }\n /**\n * Reports the current state of the location history.\n * @returns The current value of the `history.state` object.\n */\n getState() {\n return this._locationStrategy.getState();\n }\n /**\n * Normalizes the given path and compares to the current normalized path.\n *\n * @param path The given URL path.\n * @param query Query parameters.\n *\n * @returns True if the given URL path is equal to the current normalized path, false\n * otherwise.\n */\n isCurrentPathEqualTo(path, query = '') {\n return this.path() == this.normalize(path + normalizeQueryParams(query));\n }\n /**\n * Normalizes a URL path by stripping any trailing slashes.\n *\n * @param url String representing a URL.\n *\n * @returns The normalized URL string.\n */\n normalize(url) {\n return Location.stripTrailingSlash(_stripBasePath(this._basePath, _stripIndexHtml(url)));\n }\n /**\n * Normalizes an external URL path.\n * If the given URL doesn't begin with a leading slash (`'/'`), adds one\n * before normalizing. Adds a hash if `HashLocationStrategy` is\n * in use, or the `APP_BASE_HREF` if the `PathLocationStrategy` is in use.\n *\n * @param url String representing a URL.\n *\n * @returns A normalized platform-specific URL.\n */\n prepareExternalUrl(url) {\n if (url && url[0] !== '/') {\n url = '/' + url;\n }\n return this._locationStrategy.prepareExternalUrl(url);\n }\n // TODO: rename this method to pushState\n /**\n * Changes the browser's URL to a normalized version of a given URL, and pushes a\n * new item onto the platform's history.\n *\n * @param path URL path to normalize.\n * @param query Query parameters.\n * @param state Location history state.\n *\n */\n go(path, query = '', state = null) {\n this._locationStrategy.pushState(state, '', path, query);\n this._notifyUrlChangeListeners(this.prepareExternalUrl(path + normalizeQueryParams(query)), state);\n }\n /**\n * Changes the browser's URL to a normalized version of the given URL, and replaces\n * the top item on the platform's history stack.\n *\n * @param path URL path to normalize.\n * @param query Query parameters.\n * @param state Location history state.\n */\n replaceState(path, query = '', state = null) {\n this._locationStrategy.replaceState(state, '', path, query);\n this._notifyUrlChangeListeners(this.prepareExternalUrl(path + normalizeQueryParams(query)), state);\n }\n /**\n * Navigates forward in the platform's history.\n */\n forward() {\n this._locationStrategy.forward();\n }\n /**\n * Navigates back in the platform's history.\n */\n back() {\n this._locationStrategy.back();\n }\n /**\n * Navigate to a specific page from session history, identified by its relative position to the\n * current page.\n *\n * @param relativePosition Position of the target page in the history relative to the current\n * page.\n * A negative value moves backwards, a positive value moves forwards, e.g. `location.historyGo(2)`\n * moves forward two pages and `location.historyGo(-2)` moves back two pages. When we try to go\n * beyond what's stored in the history session, we stay in the current page. Same behaviour occurs\n * when `relativePosition` equals 0.\n * @see https://developer.mozilla.org/en-US/docs/Web/API/History_API#Moving_to_a_specific_point_in_history\n */\n historyGo(relativePosition = 0) {\n this._locationStrategy.historyGo?.(relativePosition);\n }\n /**\n * Registers a URL change listener. Use to catch updates performed by the Angular\n * framework that are not detectible through \"popstate\" or \"hashchange\" events.\n *\n * @param fn The change handler function, which take a URL and a location history state.\n * @returns A function that, when executed, unregisters a URL change listener.\n */\n onUrlChange(fn) {\n this._urlChangeListeners.push(fn);\n if (!this._urlChangeSubscription) {\n this._urlChangeSubscription = this.subscribe(v => {\n this._notifyUrlChangeListeners(v.url, v.state);\n });\n }\n return () => {\n const fnIndex = this._urlChangeListeners.indexOf(fn);\n this._urlChangeListeners.splice(fnIndex, 1);\n if (this._urlChangeListeners.length === 0) {\n this._urlChangeSubscription?.unsubscribe();\n this._urlChangeSubscription = null;\n }\n };\n }\n /** @internal */\n _notifyUrlChangeListeners(url = '', state) {\n this._urlChangeListeners.forEach(fn => fn(url, state));\n }\n /**\n * Subscribes to the platform's `popState` events.\n *\n * Note: `Location.go()` does not trigger the `popState` event in the browser. Use\n * `Location.onUrlChange()` to subscribe to URL changes instead.\n *\n * @param value Event that is triggered when the state history changes.\n * @param exception The exception to throw.\n *\n * @see [onpopstate](https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onpopstate)\n *\n * @returns Subscribed events.\n */\n subscribe(onNext, onThrow, onReturn) {\n return this._subject.subscribe({ next: onNext, error: onThrow, complete: onReturn });\n }\n /**\n * Normalizes URL parameters by prepending with `?` if needed.\n *\n * @param params String of URL parameters.\n *\n * @returns The normalized URL parameters string.\n */\n static { this.normalizeQueryParams = normalizeQueryParams; }\n /**\n * Joins two parts of a URL with a slash if needed.\n *\n * @param start URL string\n * @param end URL string\n *\n *\n * @returns The joined URL string.\n */\n static { this.joinWithSlash = joinWithSlash; }\n /**\n * Removes a trailing slash from a URL string if needed.\n * Looks for the first occurrence of either `#`, `?`, or the end of the\n * line as `/` characters and removes the trailing slash if one exists.\n *\n * @param url URL string.\n *\n * @returns The URL string, modified if needed.\n */\n static { this.stripTrailingSlash = stripTrailingSlash; }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: Location, deps: [{ token: LocationStrategy }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: Location, providedIn: 'root', useFactory: createLocation }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: Location, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root',\n // See #23917\n useFactory: createLocation,\n }]\n }], ctorParameters: function () { return [{ type: LocationStrategy }]; } });\nfunction createLocation() {\n return new Location(ɵɵinject(LocationStrategy));\n}\nfunction _stripBasePath(basePath, url) {\n if (!basePath || !url.startsWith(basePath)) {\n return url;\n }\n const strippedUrl = url.substring(basePath.length);\n if (strippedUrl === '' || ['/', ';', '?', '#'].includes(strippedUrl[0])) {\n return strippedUrl;\n }\n return url;\n}\nfunction _stripIndexHtml(url) {\n return url.replace(/\\/index.html$/, '');\n}\nfunction _stripOrigin(baseHref) {\n // DO NOT REFACTOR! Previously, this check looked like this:\n // `/^(https?:)?\\/\\//.test(baseHref)`, but that resulted in\n // syntactically incorrect code after Closure Compiler minification.\n // This was likely caused by a bug in Closure Compiler, but\n // for now, the check is rewritten to use `new RegExp` instead.\n const isAbsoluteUrl = (new RegExp('^(https?:)?//')).test(baseHref);\n if (isAbsoluteUrl) {\n const [, pathname] = baseHref.split(/\\/\\/[^\\/]+/);\n return pathname;\n }\n return baseHref;\n}\n\n/** @internal */\nconst CURRENCIES_EN = { \"ADP\": [undefined, undefined, 0], \"AFN\": [undefined, \"؋\", 0], \"ALL\": [undefined, undefined, 0], \"AMD\": [undefined, \"֏\", 2], \"AOA\": [undefined, \"Kz\"], \"ARS\": [undefined, \"$\"], \"AUD\": [\"A$\", \"$\"], \"AZN\": [undefined, \"₼\"], \"BAM\": [undefined, \"KM\"], \"BBD\": [undefined, \"$\"], \"BDT\": [undefined, \"৳\"], \"BHD\": [undefined, undefined, 3], \"BIF\": [undefined, undefined, 0], \"BMD\": [undefined, \"$\"], \"BND\": [undefined, \"$\"], \"BOB\": [undefined, \"Bs\"], \"BRL\": [\"R$\"], \"BSD\": [undefined, \"$\"], \"BWP\": [undefined, \"P\"], \"BYN\": [undefined, undefined, 2], \"BYR\": [undefined, undefined, 0], \"BZD\": [undefined, \"$\"], \"CAD\": [\"CA$\", \"$\", 2], \"CHF\": [undefined, undefined, 2], \"CLF\": [undefined, undefined, 4], \"CLP\": [undefined, \"$\", 0], \"CNY\": [\"CN¥\", \"¥\"], \"COP\": [undefined, \"$\", 2], \"CRC\": [undefined, \"₡\", 2], \"CUC\": [undefined, \"$\"], \"CUP\": [undefined, \"$\"], \"CZK\": [undefined, \"Kč\", 2], \"DJF\": [undefined, undefined, 0], \"DKK\": [undefined, \"kr\", 2], \"DOP\": [undefined, \"$\"], \"EGP\": [undefined, \"E£\"], \"ESP\": [undefined, \"₧\", 0], \"EUR\": [\"€\"], \"FJD\": [undefined, \"$\"], \"FKP\": [undefined, \"£\"], \"GBP\": [\"£\"], \"GEL\": [undefined, \"₾\"], \"GHS\": [undefined, \"GH₵\"], \"GIP\": [undefined, \"£\"], \"GNF\": [undefined, \"FG\", 0], \"GTQ\": [undefined, \"Q\"], \"GYD\": [undefined, \"$\", 2], \"HKD\": [\"HK$\", \"$\"], \"HNL\": [undefined, \"L\"], \"HRK\": [undefined, \"kn\"], \"HUF\": [undefined, \"Ft\", 2], \"IDR\": [undefined, \"Rp\", 2], \"ILS\": [\"₪\"], \"INR\": [\"₹\"], \"IQD\": [undefined, undefined, 0], \"IRR\": [undefined, undefined, 0], \"ISK\": [undefined, \"kr\", 0], \"ITL\": [undefined, undefined, 0], \"JMD\": [undefined, \"$\"], \"JOD\": [undefined, undefined, 3], \"JPY\": [\"¥\", undefined, 0], \"KHR\": [undefined, \"៛\"], \"KMF\": [undefined, \"CF\", 0], \"KPW\": [undefined, \"₩\", 0], \"KRW\": [\"₩\", undefined, 0], \"KWD\": [undefined, undefined, 3], \"KYD\": [undefined, \"$\"], \"KZT\": [undefined, \"₸\"], \"LAK\": [undefined, \"₭\", 0], \"LBP\": [undefined, \"L£\", 0], \"LKR\": [undefined, \"Rs\"], \"LRD\": [undefined, \"$\"], \"LTL\": [undefined, \"Lt\"], \"LUF\": [undefined, undefined, 0], \"LVL\": [undefined, \"Ls\"], \"LYD\": [undefined, undefined, 3], \"MGA\": [undefined, \"Ar\", 0], \"MGF\": [undefined, undefined, 0], \"MMK\": [undefined, \"K\", 0], \"MNT\": [undefined, \"₮\", 2], \"MRO\": [undefined, undefined, 0], \"MUR\": [undefined, \"Rs\", 2], \"MXN\": [\"MX$\", \"$\"], \"MYR\": [undefined, \"RM\"], \"NAD\": [undefined, \"$\"], \"NGN\": [undefined, \"₦\"], \"NIO\": [undefined, \"C$\"], \"NOK\": [undefined, \"kr\", 2], \"NPR\": [undefined, \"Rs\"], \"NZD\": [\"NZ$\", \"$\"], \"OMR\": [undefined, undefined, 3], \"PHP\": [\"₱\"], \"PKR\": [undefined, \"Rs\", 2], \"PLN\": [undefined, \"zł\"], \"PYG\": [undefined, \"₲\", 0], \"RON\": [undefined, \"lei\"], \"RSD\": [undefined, undefined, 0], \"RUB\": [undefined, \"₽\"], \"RWF\": [undefined, \"RF\", 0], \"SBD\": [undefined, \"$\"], \"SEK\": [undefined, \"kr\", 2], \"SGD\": [undefined, \"$\"], \"SHP\": [undefined, \"£\"], \"SLE\": [undefined, undefined, 2], \"SLL\": [undefined, undefined, 0], \"SOS\": [undefined, undefined, 0], \"SRD\": [undefined, \"$\"], \"SSP\": [undefined, \"£\"], \"STD\": [undefined, undefined, 0], \"STN\": [undefined, \"Db\"], \"SYP\": [undefined, \"£\", 0], \"THB\": [undefined, \"฿\"], \"TMM\": [undefined, undefined, 0], \"TND\": [undefined, undefined, 3], \"TOP\": [undefined, \"T$\"], \"TRL\": [undefined, undefined, 0], \"TRY\": [undefined, \"₺\"], \"TTD\": [undefined, \"$\"], \"TWD\": [\"NT$\", \"$\", 2], \"TZS\": [undefined, undefined, 2], \"UAH\": [undefined, \"₴\"], \"UGX\": [undefined, undefined, 0], \"USD\": [\"$\"], \"UYI\": [undefined, undefined, 0], \"UYU\": [undefined, \"$\"], \"UYW\": [undefined, undefined, 4], \"UZS\": [undefined, undefined, 2], \"VEF\": [undefined, \"Bs\", 2], \"VND\": [\"₫\", undefined, 0], \"VUV\": [undefined, undefined, 0], \"XAF\": [\"FCFA\", undefined, 0], \"XCD\": [\"EC$\", \"$\"], \"XOF\": [\"F CFA\", undefined, 0], \"XPF\": [\"CFPF\", undefined, 0], \"XXX\": [\"¤\"], \"YER\": [undefined, undefined, 0], \"ZAR\": [undefined, \"R\"], \"ZMK\": [undefined, undefined, 0], \"ZMW\": [undefined, \"ZK\"], \"ZWD\": [undefined, undefined, 0] };\n\n/**\n * Format styles that can be used to represent numbers.\n * @see {@link getLocaleNumberFormat}\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nvar NumberFormatStyle;\n(function (NumberFormatStyle) {\n NumberFormatStyle[NumberFormatStyle[\"Decimal\"] = 0] = \"Decimal\";\n NumberFormatStyle[NumberFormatStyle[\"Percent\"] = 1] = \"Percent\";\n NumberFormatStyle[NumberFormatStyle[\"Currency\"] = 2] = \"Currency\";\n NumberFormatStyle[NumberFormatStyle[\"Scientific\"] = 3] = \"Scientific\";\n})(NumberFormatStyle || (NumberFormatStyle = {}));\n/**\n * Plurality cases used for translating plurals to different languages.\n *\n * @see {@link NgPlural}\n * @see {@link NgPluralCase}\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nvar Plural;\n(function (Plural) {\n Plural[Plural[\"Zero\"] = 0] = \"Zero\";\n Plural[Plural[\"One\"] = 1] = \"One\";\n Plural[Plural[\"Two\"] = 2] = \"Two\";\n Plural[Plural[\"Few\"] = 3] = \"Few\";\n Plural[Plural[\"Many\"] = 4] = \"Many\";\n Plural[Plural[\"Other\"] = 5] = \"Other\";\n})(Plural || (Plural = {}));\n/**\n * Context-dependant translation forms for strings.\n * Typically the standalone version is for the nominative form of the word,\n * and the format version is used for the genitive case.\n * @see [CLDR website](http://cldr.unicode.org/translation/date-time-1/date-time#TOC-Standalone-vs.-Format-Styles)\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nvar FormStyle;\n(function (FormStyle) {\n FormStyle[FormStyle[\"Format\"] = 0] = \"Format\";\n FormStyle[FormStyle[\"Standalone\"] = 1] = \"Standalone\";\n})(FormStyle || (FormStyle = {}));\n/**\n * String widths available for translations.\n * The specific character widths are locale-specific.\n * Examples are given for the word \"Sunday\" in English.\n *\n * @publicApi\n */\nvar TranslationWidth;\n(function (TranslationWidth) {\n /** 1 character for `en-US`. For example: 'S' */\n TranslationWidth[TranslationWidth[\"Narrow\"] = 0] = \"Narrow\";\n /** 3 characters for `en-US`. For example: 'Sun' */\n TranslationWidth[TranslationWidth[\"Abbreviated\"] = 1] = \"Abbreviated\";\n /** Full length for `en-US`. For example: \"Sunday\" */\n TranslationWidth[TranslationWidth[\"Wide\"] = 2] = \"Wide\";\n /** 2 characters for `en-US`, For example: \"Su\" */\n TranslationWidth[TranslationWidth[\"Short\"] = 3] = \"Short\";\n})(TranslationWidth || (TranslationWidth = {}));\n/**\n * String widths available for date-time formats.\n * The specific character widths are locale-specific.\n * Examples are given for `en-US`.\n *\n * @see {@link getLocaleDateFormat}\n * @see {@link getLocaleTimeFormat}\n * @see {@link getLocaleDateTimeFormat}\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n * @publicApi\n */\nvar FormatWidth;\n(function (FormatWidth) {\n /**\n * For `en-US`, 'M/d/yy, h:mm a'`\n * (Example: `6/15/15, 9:03 AM`)\n */\n FormatWidth[FormatWidth[\"Short\"] = 0] = \"Short\";\n /**\n * For `en-US`, `'MMM d, y, h:mm:ss a'`\n * (Example: `Jun 15, 2015, 9:03:01 AM`)\n */\n FormatWidth[FormatWidth[\"Medium\"] = 1] = \"Medium\";\n /**\n * For `en-US`, `'MMMM d, y, h:mm:ss a z'`\n * (Example: `June 15, 2015 at 9:03:01 AM GMT+1`)\n */\n FormatWidth[FormatWidth[\"Long\"] = 2] = \"Long\";\n /**\n * For `en-US`, `'EEEE, MMMM d, y, h:mm:ss a zzzz'`\n * (Example: `Monday, June 15, 2015 at 9:03:01 AM GMT+01:00`)\n */\n FormatWidth[FormatWidth[\"Full\"] = 3] = \"Full\";\n})(FormatWidth || (FormatWidth = {}));\n/**\n * Symbols that can be used to replace placeholders in number patterns.\n * Examples are based on `en-US` values.\n *\n * @see {@link getLocaleNumberSymbol}\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nvar NumberSymbol;\n(function (NumberSymbol) {\n /**\n * Decimal separator.\n * For `en-US`, the dot character.\n * Example: 2,345`.`67\n */\n NumberSymbol[NumberSymbol[\"Decimal\"] = 0] = \"Decimal\";\n /**\n * Grouping separator, typically for thousands.\n * For `en-US`, the comma character.\n * Example: 2`,`345.67\n */\n NumberSymbol[NumberSymbol[\"Group\"] = 1] = \"Group\";\n /**\n * List-item separator.\n * Example: \"one, two, and three\"\n */\n NumberSymbol[NumberSymbol[\"List\"] = 2] = \"List\";\n /**\n * Sign for percentage (out of 100).\n * Example: 23.4%\n */\n NumberSymbol[NumberSymbol[\"PercentSign\"] = 3] = \"PercentSign\";\n /**\n * Sign for positive numbers.\n * Example: +23\n */\n NumberSymbol[NumberSymbol[\"PlusSign\"] = 4] = \"PlusSign\";\n /**\n * Sign for negative numbers.\n * Example: -23\n */\n NumberSymbol[NumberSymbol[\"MinusSign\"] = 5] = \"MinusSign\";\n /**\n * Computer notation for exponential value (n times a power of 10).\n * Example: 1.2E3\n */\n NumberSymbol[NumberSymbol[\"Exponential\"] = 6] = \"Exponential\";\n /**\n * Human-readable format of exponential.\n * Example: 1.2x103\n */\n NumberSymbol[NumberSymbol[\"SuperscriptingExponent\"] = 7] = \"SuperscriptingExponent\";\n /**\n * Sign for permille (out of 1000).\n * Example: 23.4‰\n */\n NumberSymbol[NumberSymbol[\"PerMille\"] = 8] = \"PerMille\";\n /**\n * Infinity, can be used with plus and minus.\n * Example: ∞, +∞, -∞\n */\n NumberSymbol[NumberSymbol[\"Infinity\"] = 9] = \"Infinity\";\n /**\n * Not a number.\n * Example: NaN\n */\n NumberSymbol[NumberSymbol[\"NaN\"] = 10] = \"NaN\";\n /**\n * Symbol used between time units.\n * Example: 10:52\n */\n NumberSymbol[NumberSymbol[\"TimeSeparator\"] = 11] = \"TimeSeparator\";\n /**\n * Decimal separator for currency values (fallback to `Decimal`).\n * Example: $2,345.67\n */\n NumberSymbol[NumberSymbol[\"CurrencyDecimal\"] = 12] = \"CurrencyDecimal\";\n /**\n * Group separator for currency values (fallback to `Group`).\n * Example: $2,345.67\n */\n NumberSymbol[NumberSymbol[\"CurrencyGroup\"] = 13] = \"CurrencyGroup\";\n})(NumberSymbol || (NumberSymbol = {}));\n/**\n * The value for each day of the week, based on the `en-US` locale\n *\n * @publicApi\n */\nvar WeekDay;\n(function (WeekDay) {\n WeekDay[WeekDay[\"Sunday\"] = 0] = \"Sunday\";\n WeekDay[WeekDay[\"Monday\"] = 1] = \"Monday\";\n WeekDay[WeekDay[\"Tuesday\"] = 2] = \"Tuesday\";\n WeekDay[WeekDay[\"Wednesday\"] = 3] = \"Wednesday\";\n WeekDay[WeekDay[\"Thursday\"] = 4] = \"Thursday\";\n WeekDay[WeekDay[\"Friday\"] = 5] = \"Friday\";\n WeekDay[WeekDay[\"Saturday\"] = 6] = \"Saturday\";\n})(WeekDay || (WeekDay = {}));\n/**\n * Retrieves the locale ID from the currently loaded locale.\n * The loaded locale could be, for example, a global one rather than a regional one.\n * @param locale A locale code, such as `fr-FR`.\n * @returns The locale code. For example, `fr`.\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLocaleId(locale) {\n return ɵfindLocaleData(locale)[ɵLocaleDataIndex.LocaleId];\n}\n/**\n * Retrieves day period strings for the given locale.\n *\n * @param locale A locale code for the locale format rules to use.\n * @param formStyle The required grammatical form.\n * @param width The required character width.\n * @returns An array of localized period strings. For example, `[AM, PM]` for `en-US`.\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLocaleDayPeriods(locale, formStyle, width) {\n const data = ɵfindLocaleData(locale);\n const amPmData = [\n data[ɵLocaleDataIndex.DayPeriodsFormat], data[ɵLocaleDataIndex.DayPeriodsStandalone]\n ];\n const amPm = getLastDefinedValue(amPmData, formStyle);\n return getLastDefinedValue(amPm, width);\n}\n/**\n * Retrieves days of the week for the given locale, using the Gregorian calendar.\n *\n * @param locale A locale code for the locale format rules to use.\n * @param formStyle The required grammatical form.\n * @param width The required character width.\n * @returns An array of localized name strings.\n * For example,`[Sunday, Monday, ... Saturday]` for `en-US`.\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLocaleDayNames(locale, formStyle, width) {\n const data = ɵfindLocaleData(locale);\n const daysData = [data[ɵLocaleDataIndex.DaysFormat], data[ɵLocaleDataIndex.DaysStandalone]];\n const days = getLastDefinedValue(daysData, formStyle);\n return getLastDefinedValue(days, width);\n}\n/**\n * Retrieves months of the year for the given locale, using the Gregorian calendar.\n *\n * @param locale A locale code for the locale format rules to use.\n * @param formStyle The required grammatical form.\n * @param width The required character width.\n * @returns An array of localized name strings.\n * For example, `[January, February, ...]` for `en-US`.\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLocaleMonthNames(locale, formStyle, width) {\n const data = ɵfindLocaleData(locale);\n const monthsData = [data[ɵLocaleDataIndex.MonthsFormat], data[ɵLocaleDataIndex.MonthsStandalone]];\n const months = getLastDefinedValue(monthsData, formStyle);\n return getLastDefinedValue(months, width);\n}\n/**\n * Retrieves Gregorian-calendar eras for the given locale.\n * @param locale A locale code for the locale format rules to use.\n * @param width The required character width.\n\n * @returns An array of localized era strings.\n * For example, `[AD, BC]` for `en-US`.\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLocaleEraNames(locale, width) {\n const data = ɵfindLocaleData(locale);\n const erasData = data[ɵLocaleDataIndex.Eras];\n return getLastDefinedValue(erasData, width);\n}\n/**\n * Retrieves the first day of the week for the given locale.\n *\n * @param locale A locale code for the locale format rules to use.\n * @returns A day index number, using the 0-based week-day index for `en-US`\n * (Sunday = 0, Monday = 1, ...).\n * For example, for `fr-FR`, returns 1 to indicate that the first day is Monday.\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLocaleFirstDayOfWeek(locale) {\n const data = ɵfindLocaleData(locale);\n return data[ɵLocaleDataIndex.FirstDayOfWeek];\n}\n/**\n * Range of week days that are considered the week-end for the given locale.\n *\n * @param locale A locale code for the locale format rules to use.\n * @returns The range of day values, `[startDay, endDay]`.\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLocaleWeekEndRange(locale) {\n const data = ɵfindLocaleData(locale);\n return data[ɵLocaleDataIndex.WeekendRange];\n}\n/**\n * Retrieves a localized date-value formatting string.\n *\n * @param locale A locale code for the locale format rules to use.\n * @param width The format type.\n * @returns The localized formatting string.\n * @see {@link FormatWidth}\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLocaleDateFormat(locale, width) {\n const data = ɵfindLocaleData(locale);\n return getLastDefinedValue(data[ɵLocaleDataIndex.DateFormat], width);\n}\n/**\n * Retrieves a localized time-value formatting string.\n *\n * @param locale A locale code for the locale format rules to use.\n * @param width The format type.\n * @returns The localized formatting string.\n * @see {@link FormatWidth}\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n\n * @publicApi\n */\nfunction getLocaleTimeFormat(locale, width) {\n const data = ɵfindLocaleData(locale);\n return getLastDefinedValue(data[ɵLocaleDataIndex.TimeFormat], width);\n}\n/**\n * Retrieves a localized date-time formatting string.\n *\n * @param locale A locale code for the locale format rules to use.\n * @param width The format type.\n * @returns The localized formatting string.\n * @see {@link FormatWidth}\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLocaleDateTimeFormat(locale, width) {\n const data = ɵfindLocaleData(locale);\n const dateTimeFormatData = data[ɵLocaleDataIndex.DateTimeFormat];\n return getLastDefinedValue(dateTimeFormatData, width);\n}\n/**\n * Retrieves a localized number symbol that can be used to replace placeholders in number formats.\n * @param locale The locale code.\n * @param symbol The symbol to localize.\n * @returns The character for the localized symbol.\n * @see {@link NumberSymbol}\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLocaleNumberSymbol(locale, symbol) {\n const data = ɵfindLocaleData(locale);\n const res = data[ɵLocaleDataIndex.NumberSymbols][symbol];\n if (typeof res === 'undefined') {\n if (symbol === NumberSymbol.CurrencyDecimal) {\n return data[ɵLocaleDataIndex.NumberSymbols][NumberSymbol.Decimal];\n }\n else if (symbol === NumberSymbol.CurrencyGroup) {\n return data[ɵLocaleDataIndex.NumberSymbols][NumberSymbol.Group];\n }\n }\n return res;\n}\n/**\n * Retrieves a number format for a given locale.\n *\n * Numbers are formatted using patterns, like `#,###.00`. For example, the pattern `#,###.00`\n * when used to format the number 12345.678 could result in \"12'345,678\". That would happen if the\n * grouping separator for your language is an apostrophe, and the decimal separator is a comma.\n *\n * Important: The characters `.` `,` `0` `#` (and others below) are special placeholders\n * that stand for the decimal separator, and so on, and are NOT real characters.\n * You must NOT \"translate\" the placeholders. For example, don't change `.` to `,` even though in\n * your language the decimal point is written with a comma. The symbols should be replaced by the\n * local equivalents, using the appropriate `NumberSymbol` for your language.\n *\n * Here are the special characters used in number patterns:\n *\n * | Symbol | Meaning |\n * |--------|---------|\n * | . | Replaced automatically by the character used for the decimal point. |\n * | , | Replaced by the \"grouping\" (thousands) separator. |\n * | 0 | Replaced by a digit (or zero if there aren't enough digits). |\n * | # | Replaced by a digit (or nothing if there aren't enough). |\n * | ¤ | Replaced by a currency symbol, such as $ or USD. |\n * | % | Marks a percent format. The % symbol may change position, but must be retained. |\n * | E | Marks a scientific format. The E symbol may change position, but must be retained. |\n * | ' | Special characters used as literal characters are quoted with ASCII single quotes. |\n *\n * @param locale A locale code for the locale format rules to use.\n * @param type The type of numeric value to be formatted (such as `Decimal` or `Currency`.)\n * @returns The localized format string.\n * @see {@link NumberFormatStyle}\n * @see [CLDR website](http://cldr.unicode.org/translation/number-patterns)\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLocaleNumberFormat(locale, type) {\n const data = ɵfindLocaleData(locale);\n return data[ɵLocaleDataIndex.NumberFormats][type];\n}\n/**\n * Retrieves the symbol used to represent the currency for the main country\n * corresponding to a given locale. For example, '$' for `en-US`.\n *\n * @param locale A locale code for the locale format rules to use.\n * @returns The localized symbol character,\n * or `null` if the main country cannot be determined.\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLocaleCurrencySymbol(locale) {\n const data = ɵfindLocaleData(locale);\n return data[ɵLocaleDataIndex.CurrencySymbol] || null;\n}\n/**\n * Retrieves the name of the currency for the main country corresponding\n * to a given locale. For example, 'US Dollar' for `en-US`.\n * @param locale A locale code for the locale format rules to use.\n * @returns The currency name,\n * or `null` if the main country cannot be determined.\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLocaleCurrencyName(locale) {\n const data = ɵfindLocaleData(locale);\n return data[ɵLocaleDataIndex.CurrencyName] || null;\n}\n/**\n * Retrieves the default currency code for the given locale.\n *\n * The default is defined as the first currency which is still in use.\n *\n * @param locale The code of the locale whose currency code we want.\n * @returns The code of the default currency for the given locale.\n *\n * @publicApi\n */\nfunction getLocaleCurrencyCode(locale) {\n return ɵgetLocaleCurrencyCode(locale);\n}\n/**\n * Retrieves the currency values for a given locale.\n * @param locale A locale code for the locale format rules to use.\n * @returns The currency values.\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n */\nfunction getLocaleCurrencies(locale) {\n const data = ɵfindLocaleData(locale);\n return data[ɵLocaleDataIndex.Currencies];\n}\n/**\n * @alias core/ɵgetLocalePluralCase\n * @publicApi\n */\nconst getLocalePluralCase = ɵgetLocalePluralCase;\nfunction checkFullData(data) {\n if (!data[ɵLocaleDataIndex.ExtraData]) {\n throw new Error(`Missing extra locale data for the locale \"${data[ɵLocaleDataIndex\n .LocaleId]}\". Use \"registerLocaleData\" to load new data. See the \"I18n guide\" on angular.io to know more.`);\n }\n}\n/**\n * Retrieves locale-specific rules used to determine which day period to use\n * when more than one period is defined for a locale.\n *\n * There is a rule for each defined day period. The\n * first rule is applied to the first day period and so on.\n * Fall back to AM/PM when no rules are available.\n *\n * A rule can specify a period as time range, or as a single time value.\n *\n * This functionality is only available when you have loaded the full locale data.\n * See the [\"I18n guide\"](guide/i18n-common-format-data-locale).\n *\n * @param locale A locale code for the locale format rules to use.\n * @returns The rules for the locale, a single time value or array of *from-time, to-time*,\n * or null if no periods are available.\n *\n * @see {@link getLocaleExtraDayPeriods}\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLocaleExtraDayPeriodRules(locale) {\n const data = ɵfindLocaleData(locale);\n checkFullData(data);\n const rules = data[ɵLocaleDataIndex.ExtraData][2 /* ɵExtraLocaleDataIndex.ExtraDayPeriodsRules */] || [];\n return rules.map((rule) => {\n if (typeof rule === 'string') {\n return extractTime(rule);\n }\n return [extractTime(rule[0]), extractTime(rule[1])];\n });\n}\n/**\n * Retrieves locale-specific day periods, which indicate roughly how a day is broken up\n * in different languages.\n * For example, for `en-US`, periods are morning, noon, afternoon, evening, and midnight.\n *\n * This functionality is only available when you have loaded the full locale data.\n * See the [\"I18n guide\"](guide/i18n-common-format-data-locale).\n *\n * @param locale A locale code for the locale format rules to use.\n * @param formStyle The required grammatical form.\n * @param width The required character width.\n * @returns The translated day-period strings.\n * @see {@link getLocaleExtraDayPeriodRules}\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLocaleExtraDayPeriods(locale, formStyle, width) {\n const data = ɵfindLocaleData(locale);\n checkFullData(data);\n const dayPeriodsData = [\n data[ɵLocaleDataIndex.ExtraData][0 /* ɵExtraLocaleDataIndex.ExtraDayPeriodFormats */],\n data[ɵLocaleDataIndex.ExtraData][1 /* ɵExtraLocaleDataIndex.ExtraDayPeriodStandalone */]\n ];\n const dayPeriods = getLastDefinedValue(dayPeriodsData, formStyle) || [];\n return getLastDefinedValue(dayPeriods, width) || [];\n}\n/**\n * Retrieves the writing direction of a specified locale\n * @param locale A locale code for the locale format rules to use.\n * @publicApi\n * @returns 'rtl' or 'ltr'\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n */\nfunction getLocaleDirection(locale) {\n const data = ɵfindLocaleData(locale);\n return data[ɵLocaleDataIndex.Directionality];\n}\n/**\n * Retrieves the first value that is defined in an array, going backwards from an index position.\n *\n * To avoid repeating the same data (as when the \"format\" and \"standalone\" forms are the same)\n * add the first value to the locale data arrays, and add other values only if they are different.\n *\n * @param data The data array to retrieve from.\n * @param index A 0-based index into the array to start from.\n * @returns The value immediately before the given index position.\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getLastDefinedValue(data, index) {\n for (let i = index; i > -1; i--) {\n if (typeof data[i] !== 'undefined') {\n return data[i];\n }\n }\n throw new Error('Locale data API: locale data undefined');\n}\n/**\n * Extracts the hours and minutes from a string like \"15:45\"\n */\nfunction extractTime(time) {\n const [h, m] = time.split(':');\n return { hours: +h, minutes: +m };\n}\n/**\n * Retrieves the currency symbol for a given currency code.\n *\n * For example, for the default `en-US` locale, the code `USD` can\n * be represented by the narrow symbol `$` or the wide symbol `US$`.\n *\n * @param code The currency code.\n * @param format The format, `wide` or `narrow`.\n * @param locale A locale code for the locale format rules to use.\n *\n * @returns The symbol, or the currency code if no symbol is available.\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getCurrencySymbol(code, format, locale = 'en') {\n const currency = getLocaleCurrencies(locale)[code] || CURRENCIES_EN[code] || [];\n const symbolNarrow = currency[1 /* ɵCurrencyIndex.SymbolNarrow */];\n if (format === 'narrow' && typeof symbolNarrow === 'string') {\n return symbolNarrow;\n }\n return currency[0 /* ɵCurrencyIndex.Symbol */] || code;\n}\n// Most currencies have cents, that's why the default is 2\nconst DEFAULT_NB_OF_CURRENCY_DIGITS = 2;\n/**\n * Reports the number of decimal digits for a given currency.\n * The value depends upon the presence of cents in that particular currency.\n *\n * @param code The currency code.\n * @returns The number of decimal digits, typically 0 or 2.\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction getNumberOfCurrencyDigits(code) {\n let digits;\n const currency = CURRENCIES_EN[code];\n if (currency) {\n digits = currency[2 /* ɵCurrencyIndex.NbOfDigits */];\n }\n return typeof digits === 'number' ? digits : DEFAULT_NB_OF_CURRENCY_DIGITS;\n}\n\nconst ISO8601_DATE_REGEX = /^(\\d{4,})-?(\\d\\d)-?(\\d\\d)(?:T(\\d\\d)(?::?(\\d\\d)(?::?(\\d\\d)(?:\\.(\\d+))?)?)?(Z|([+-])(\\d\\d):?(\\d\\d))?)?$/;\n// 1 2 3 4 5 6 7 8 9 10 11\nconst NAMED_FORMATS = {};\nconst DATE_FORMATS_SPLIT = /((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\\s\\S]*)/;\nvar ZoneWidth;\n(function (ZoneWidth) {\n ZoneWidth[ZoneWidth[\"Short\"] = 0] = \"Short\";\n ZoneWidth[ZoneWidth[\"ShortGMT\"] = 1] = \"ShortGMT\";\n ZoneWidth[ZoneWidth[\"Long\"] = 2] = \"Long\";\n ZoneWidth[ZoneWidth[\"Extended\"] = 3] = \"Extended\";\n})(ZoneWidth || (ZoneWidth = {}));\nvar DateType;\n(function (DateType) {\n DateType[DateType[\"FullYear\"] = 0] = \"FullYear\";\n DateType[DateType[\"Month\"] = 1] = \"Month\";\n DateType[DateType[\"Date\"] = 2] = \"Date\";\n DateType[DateType[\"Hours\"] = 3] = \"Hours\";\n DateType[DateType[\"Minutes\"] = 4] = \"Minutes\";\n DateType[DateType[\"Seconds\"] = 5] = \"Seconds\";\n DateType[DateType[\"FractionalSeconds\"] = 6] = \"FractionalSeconds\";\n DateType[DateType[\"Day\"] = 7] = \"Day\";\n})(DateType || (DateType = {}));\nvar TranslationType;\n(function (TranslationType) {\n TranslationType[TranslationType[\"DayPeriods\"] = 0] = \"DayPeriods\";\n TranslationType[TranslationType[\"Days\"] = 1] = \"Days\";\n TranslationType[TranslationType[\"Months\"] = 2] = \"Months\";\n TranslationType[TranslationType[\"Eras\"] = 3] = \"Eras\";\n})(TranslationType || (TranslationType = {}));\n/**\n * @ngModule CommonModule\n * @description\n *\n * Formats a date according to locale rules.\n *\n * @param value The date to format, as a Date, or a number (milliseconds since UTC epoch)\n * or an [ISO date-time string](https://www.w3.org/TR/NOTE-datetime).\n * @param format The date-time components to include. See `DatePipe` for details.\n * @param locale A locale code for the locale format rules to use.\n * @param timezone The time zone. A time zone offset from GMT (such as `'+0430'`),\n * or a standard UTC/GMT or continental US time zone abbreviation.\n * If not specified, uses host system settings.\n *\n * @returns The formatted date string.\n *\n * @see {@link DatePipe}\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction formatDate(value, format, locale, timezone) {\n let date = toDate(value);\n const namedFormat = getNamedFormat(locale, format);\n format = namedFormat || format;\n let parts = [];\n let match;\n while (format) {\n match = DATE_FORMATS_SPLIT.exec(format);\n if (match) {\n parts = parts.concat(match.slice(1));\n const part = parts.pop();\n if (!part) {\n break;\n }\n format = part;\n }\n else {\n parts.push(format);\n break;\n }\n }\n let dateTimezoneOffset = date.getTimezoneOffset();\n if (timezone) {\n dateTimezoneOffset = timezoneToOffset(timezone, dateTimezoneOffset);\n date = convertTimezoneToLocal(date, timezone, true);\n }\n let text = '';\n parts.forEach(value => {\n const dateFormatter = getDateFormatter(value);\n text += dateFormatter ? dateFormatter(date, locale, dateTimezoneOffset) :\n value === '\\'\\'' ? '\\'' :\n value.replace(/(^'|'$)/g, '').replace(/''/g, '\\'');\n });\n return text;\n}\n/**\n * Create a new Date object with the given date value, and the time set to midnight.\n *\n * We cannot use `new Date(year, month, date)` because it maps years between 0 and 99 to 1900-1999.\n * See: https://github.com/angular/angular/issues/40377\n *\n * Note that this function returns a Date object whose time is midnight in the current locale's\n * timezone. In the future we might want to change this to be midnight in UTC, but this would be a\n * considerable breaking change.\n */\nfunction createDate(year, month, date) {\n // The `newDate` is set to midnight (UTC) on January 1st 1970.\n // - In PST this will be December 31st 1969 at 4pm.\n // - In GMT this will be January 1st 1970 at 1am.\n // Note that they even have different years, dates and months!\n const newDate = new Date(0);\n // `setFullYear()` allows years like 0001 to be set correctly. This function does not\n // change the internal time of the date.\n // Consider calling `setFullYear(2019, 8, 20)` (September 20, 2019).\n // - In PST this will now be September 20, 2019 at 4pm\n // - In GMT this will now be September 20, 2019 at 1am\n newDate.setFullYear(year, month, date);\n // We want the final date to be at local midnight, so we reset the time.\n // - In PST this will now be September 20, 2019 at 12am\n // - In GMT this will now be September 20, 2019 at 12am\n newDate.setHours(0, 0, 0);\n return newDate;\n}\nfunction getNamedFormat(locale, format) {\n const localeId = getLocaleId(locale);\n NAMED_FORMATS[localeId] = NAMED_FORMATS[localeId] || {};\n if (NAMED_FORMATS[localeId][format]) {\n return NAMED_FORMATS[localeId][format];\n }\n let formatValue = '';\n switch (format) {\n case 'shortDate':\n formatValue = getLocaleDateFormat(locale, FormatWidth.Short);\n break;\n case 'mediumDate':\n formatValue = getLocaleDateFormat(locale, FormatWidth.Medium);\n break;\n case 'longDate':\n formatValue = getLocaleDateFormat(locale, FormatWidth.Long);\n break;\n case 'fullDate':\n formatValue = getLocaleDateFormat(locale, FormatWidth.Full);\n break;\n case 'shortTime':\n formatValue = getLocaleTimeFormat(locale, FormatWidth.Short);\n break;\n case 'mediumTime':\n formatValue = getLocaleTimeFormat(locale, FormatWidth.Medium);\n break;\n case 'longTime':\n formatValue = getLocaleTimeFormat(locale, FormatWidth.Long);\n break;\n case 'fullTime':\n formatValue = getLocaleTimeFormat(locale, FormatWidth.Full);\n break;\n case 'short':\n const shortTime = getNamedFormat(locale, 'shortTime');\n const shortDate = getNamedFormat(locale, 'shortDate');\n formatValue = formatDateTime(getLocaleDateTimeFormat(locale, FormatWidth.Short), [shortTime, shortDate]);\n break;\n case 'medium':\n const mediumTime = getNamedFormat(locale, 'mediumTime');\n const mediumDate = getNamedFormat(locale, 'mediumDate');\n formatValue = formatDateTime(getLocaleDateTimeFormat(locale, FormatWidth.Medium), [mediumTime, mediumDate]);\n break;\n case 'long':\n const longTime = getNamedFormat(locale, 'longTime');\n const longDate = getNamedFormat(locale, 'longDate');\n formatValue =\n formatDateTime(getLocaleDateTimeFormat(locale, FormatWidth.Long), [longTime, longDate]);\n break;\n case 'full':\n const fullTime = getNamedFormat(locale, 'fullTime');\n const fullDate = getNamedFormat(locale, 'fullDate');\n formatValue =\n formatDateTime(getLocaleDateTimeFormat(locale, FormatWidth.Full), [fullTime, fullDate]);\n break;\n }\n if (formatValue) {\n NAMED_FORMATS[localeId][format] = formatValue;\n }\n return formatValue;\n}\nfunction formatDateTime(str, opt_values) {\n if (opt_values) {\n str = str.replace(/\\{([^}]+)}/g, function (match, key) {\n return (opt_values != null && key in opt_values) ? opt_values[key] : match;\n });\n }\n return str;\n}\nfunction padNumber(num, digits, minusSign = '-', trim, negWrap) {\n let neg = '';\n if (num < 0 || (negWrap && num <= 0)) {\n if (negWrap) {\n num = -num + 1;\n }\n else {\n num = -num;\n neg = minusSign;\n }\n }\n let strNum = String(num);\n while (strNum.length < digits) {\n strNum = '0' + strNum;\n }\n if (trim) {\n strNum = strNum.slice(strNum.length - digits);\n }\n return neg + strNum;\n}\nfunction formatFractionalSeconds(milliseconds, digits) {\n const strMs = padNumber(milliseconds, 3);\n return strMs.substring(0, digits);\n}\n/**\n * Returns a date formatter that transforms a date into its locale digit representation\n */\nfunction dateGetter(name, size, offset = 0, trim = false, negWrap = false) {\n return function (date, locale) {\n let part = getDatePart(name, date);\n if (offset > 0 || part > -offset) {\n part += offset;\n }\n if (name === DateType.Hours) {\n if (part === 0 && offset === -12) {\n part = 12;\n }\n }\n else if (name === DateType.FractionalSeconds) {\n return formatFractionalSeconds(part, size);\n }\n const localeMinus = getLocaleNumberSymbol(locale, NumberSymbol.MinusSign);\n return padNumber(part, size, localeMinus, trim, negWrap);\n };\n}\nfunction getDatePart(part, date) {\n switch (part) {\n case DateType.FullYear:\n return date.getFullYear();\n case DateType.Month:\n return date.getMonth();\n case DateType.Date:\n return date.getDate();\n case DateType.Hours:\n return date.getHours();\n case DateType.Minutes:\n return date.getMinutes();\n case DateType.Seconds:\n return date.getSeconds();\n case DateType.FractionalSeconds:\n return date.getMilliseconds();\n case DateType.Day:\n return date.getDay();\n default:\n throw new Error(`Unknown DateType value \"${part}\".`);\n }\n}\n/**\n * Returns a date formatter that transforms a date into its locale string representation\n */\nfunction dateStrGetter(name, width, form = FormStyle.Format, extended = false) {\n return function (date, locale) {\n return getDateTranslation(date, locale, name, width, form, extended);\n };\n}\n/**\n * Returns the locale translation of a date for a given form, type and width\n */\nfunction getDateTranslation(date, locale, name, width, form, extended) {\n switch (name) {\n case TranslationType.Months:\n return getLocaleMonthNames(locale, form, width)[date.getMonth()];\n case TranslationType.Days:\n return getLocaleDayNames(locale, form, width)[date.getDay()];\n case TranslationType.DayPeriods:\n const currentHours = date.getHours();\n const currentMinutes = date.getMinutes();\n if (extended) {\n const rules = getLocaleExtraDayPeriodRules(locale);\n const dayPeriods = getLocaleExtraDayPeriods(locale, form, width);\n const index = rules.findIndex(rule => {\n if (Array.isArray(rule)) {\n // morning, afternoon, evening, night\n const [from, to] = rule;\n const afterFrom = currentHours >= from.hours && currentMinutes >= from.minutes;\n const beforeTo = (currentHours < to.hours ||\n (currentHours === to.hours && currentMinutes < to.minutes));\n // We must account for normal rules that span a period during the day (e.g. 6am-9am)\n // where `from` is less (earlier) than `to`. But also rules that span midnight (e.g.\n // 10pm - 5am) where `from` is greater (later!) than `to`.\n //\n // In the first case the current time must be BOTH after `from` AND before `to`\n // (e.g. 8am is after 6am AND before 10am).\n //\n // In the second case the current time must be EITHER after `from` OR before `to`\n // (e.g. 4am is before 5am but not after 10pm; and 11pm is not before 5am but it is\n // after 10pm).\n if (from.hours < to.hours) {\n if (afterFrom && beforeTo) {\n return true;\n }\n }\n else if (afterFrom || beforeTo) {\n return true;\n }\n }\n else { // noon or midnight\n if (rule.hours === currentHours && rule.minutes === currentMinutes) {\n return true;\n }\n }\n return false;\n });\n if (index !== -1) {\n return dayPeriods[index];\n }\n }\n // if no rules for the day periods, we use am/pm by default\n return getLocaleDayPeriods(locale, form, width)[currentHours < 12 ? 0 : 1];\n case TranslationType.Eras:\n return getLocaleEraNames(locale, width)[date.getFullYear() <= 0 ? 0 : 1];\n default:\n // This default case is not needed by TypeScript compiler, as the switch is exhaustive.\n // However Closure Compiler does not understand that and reports an error in typed mode.\n // The `throw new Error` below works around the problem, and the unexpected: never variable\n // makes sure tsc still checks this code is unreachable.\n const unexpected = name;\n throw new Error(`unexpected translation type ${unexpected}`);\n }\n}\n/**\n * Returns a date formatter that transforms a date and an offset into a timezone with ISO8601 or\n * GMT format depending on the width (eg: short = +0430, short:GMT = GMT+4, long = GMT+04:30,\n * extended = +04:30)\n */\nfunction timeZoneGetter(width) {\n return function (date, locale, offset) {\n const zone = -1 * offset;\n const minusSign = getLocaleNumberSymbol(locale, NumberSymbol.MinusSign);\n const hours = zone > 0 ? Math.floor(zone / 60) : Math.ceil(zone / 60);\n switch (width) {\n case ZoneWidth.Short:\n return ((zone >= 0) ? '+' : '') + padNumber(hours, 2, minusSign) +\n padNumber(Math.abs(zone % 60), 2, minusSign);\n case ZoneWidth.ShortGMT:\n return 'GMT' + ((zone >= 0) ? '+' : '') + padNumber(hours, 1, minusSign);\n case ZoneWidth.Long:\n return 'GMT' + ((zone >= 0) ? '+' : '') + padNumber(hours, 2, minusSign) + ':' +\n padNumber(Math.abs(zone % 60), 2, minusSign);\n case ZoneWidth.Extended:\n if (offset === 0) {\n return 'Z';\n }\n else {\n return ((zone >= 0) ? '+' : '') + padNumber(hours, 2, minusSign) + ':' +\n padNumber(Math.abs(zone % 60), 2, minusSign);\n }\n default:\n throw new Error(`Unknown zone width \"${width}\"`);\n }\n };\n}\nconst JANUARY = 0;\nconst THURSDAY = 4;\nfunction getFirstThursdayOfYear(year) {\n const firstDayOfYear = createDate(year, JANUARY, 1).getDay();\n return createDate(year, 0, 1 + ((firstDayOfYear <= THURSDAY) ? THURSDAY : THURSDAY + 7) - firstDayOfYear);\n}\nfunction getThursdayThisWeek(datetime) {\n return createDate(datetime.getFullYear(), datetime.getMonth(), datetime.getDate() + (THURSDAY - datetime.getDay()));\n}\nfunction weekGetter(size, monthBased = false) {\n return function (date, locale) {\n let result;\n if (monthBased) {\n const nbDaysBefore1stDayOfMonth = new Date(date.getFullYear(), date.getMonth(), 1).getDay() - 1;\n const today = date.getDate();\n result = 1 + Math.floor((today + nbDaysBefore1stDayOfMonth) / 7);\n }\n else {\n const thisThurs = getThursdayThisWeek(date);\n // Some days of a year are part of next year according to ISO 8601.\n // Compute the firstThurs from the year of this week's Thursday\n const firstThurs = getFirstThursdayOfYear(thisThurs.getFullYear());\n const diff = thisThurs.getTime() - firstThurs.getTime();\n result = 1 + Math.round(diff / 6.048e8); // 6.048e8 ms per week\n }\n return padNumber(result, size, getLocaleNumberSymbol(locale, NumberSymbol.MinusSign));\n };\n}\n/**\n * Returns a date formatter that provides the week-numbering year for the input date.\n */\nfunction weekNumberingYearGetter(size, trim = false) {\n return function (date, locale) {\n const thisThurs = getThursdayThisWeek(date);\n const weekNumberingYear = thisThurs.getFullYear();\n return padNumber(weekNumberingYear, size, getLocaleNumberSymbol(locale, NumberSymbol.MinusSign), trim);\n };\n}\nconst DATE_FORMATS = {};\n// Based on CLDR formats:\n// See complete list: http://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table\n// See also explanations: http://cldr.unicode.org/translation/date-time\n// TODO(ocombe): support all missing cldr formats: U, Q, D, F, e, j, J, C, A, v, V, X, x\nfunction getDateFormatter(format) {\n if (DATE_FORMATS[format]) {\n return DATE_FORMATS[format];\n }\n let formatter;\n switch (format) {\n // Era name (AD/BC)\n case 'G':\n case 'GG':\n case 'GGG':\n formatter = dateStrGetter(TranslationType.Eras, TranslationWidth.Abbreviated);\n break;\n case 'GGGG':\n formatter = dateStrGetter(TranslationType.Eras, TranslationWidth.Wide);\n break;\n case 'GGGGG':\n formatter = dateStrGetter(TranslationType.Eras, TranslationWidth.Narrow);\n break;\n // 1 digit representation of the year, e.g. (AD 1 => 1, AD 199 => 199)\n case 'y':\n formatter = dateGetter(DateType.FullYear, 1, 0, false, true);\n break;\n // 2 digit representation of the year, padded (00-99). (e.g. AD 2001 => 01, AD 2010 => 10)\n case 'yy':\n formatter = dateGetter(DateType.FullYear, 2, 0, true, true);\n break;\n // 3 digit representation of the year, padded (000-999). (e.g. AD 2001 => 01, AD 2010 => 10)\n case 'yyy':\n formatter = dateGetter(DateType.FullYear, 3, 0, false, true);\n break;\n // 4 digit representation of the year (e.g. AD 1 => 0001, AD 2010 => 2010)\n case 'yyyy':\n formatter = dateGetter(DateType.FullYear, 4, 0, false, true);\n break;\n // 1 digit representation of the week-numbering year, e.g. (AD 1 => 1, AD 199 => 199)\n case 'Y':\n formatter = weekNumberingYearGetter(1);\n break;\n // 2 digit representation of the week-numbering year, padded (00-99). (e.g. AD 2001 => 01, AD\n // 2010 => 10)\n case 'YY':\n formatter = weekNumberingYearGetter(2, true);\n break;\n // 3 digit representation of the week-numbering year, padded (000-999). (e.g. AD 1 => 001, AD\n // 2010 => 2010)\n case 'YYY':\n formatter = weekNumberingYearGetter(3);\n break;\n // 4 digit representation of the week-numbering year (e.g. AD 1 => 0001, AD 2010 => 2010)\n case 'YYYY':\n formatter = weekNumberingYearGetter(4);\n break;\n // Month of the year (1-12), numeric\n case 'M':\n case 'L':\n formatter = dateGetter(DateType.Month, 1, 1);\n break;\n case 'MM':\n case 'LL':\n formatter = dateGetter(DateType.Month, 2, 1);\n break;\n // Month of the year (January, ...), string, format\n case 'MMM':\n formatter = dateStrGetter(TranslationType.Months, TranslationWidth.Abbreviated);\n break;\n case 'MMMM':\n formatter = dateStrGetter(TranslationType.Months, TranslationWidth.Wide);\n break;\n case 'MMMMM':\n formatter = dateStrGetter(TranslationType.Months, TranslationWidth.Narrow);\n break;\n // Month of the year (January, ...), string, standalone\n case 'LLL':\n formatter =\n dateStrGetter(TranslationType.Months, TranslationWidth.Abbreviated, FormStyle.Standalone);\n break;\n case 'LLLL':\n formatter =\n dateStrGetter(TranslationType.Months, TranslationWidth.Wide, FormStyle.Standalone);\n break;\n case 'LLLLL':\n formatter =\n dateStrGetter(TranslationType.Months, TranslationWidth.Narrow, FormStyle.Standalone);\n break;\n // Week of the year (1, ... 52)\n case 'w':\n formatter = weekGetter(1);\n break;\n case 'ww':\n formatter = weekGetter(2);\n break;\n // Week of the month (1, ...)\n case 'W':\n formatter = weekGetter(1, true);\n break;\n // Day of the month (1-31)\n case 'd':\n formatter = dateGetter(DateType.Date, 1);\n break;\n case 'dd':\n formatter = dateGetter(DateType.Date, 2);\n break;\n // Day of the Week StandAlone (1, 1, Mon, Monday, M, Mo)\n case 'c':\n case 'cc':\n formatter = dateGetter(DateType.Day, 1);\n break;\n case 'ccc':\n formatter =\n dateStrGetter(TranslationType.Days, TranslationWidth.Abbreviated, FormStyle.Standalone);\n break;\n case 'cccc':\n formatter = dateStrGetter(TranslationType.Days, TranslationWidth.Wide, FormStyle.Standalone);\n break;\n case 'ccccc':\n formatter =\n dateStrGetter(TranslationType.Days, TranslationWidth.Narrow, FormStyle.Standalone);\n break;\n case 'cccccc':\n formatter = dateStrGetter(TranslationType.Days, TranslationWidth.Short, FormStyle.Standalone);\n break;\n // Day of the Week\n case 'E':\n case 'EE':\n case 'EEE':\n formatter = dateStrGetter(TranslationType.Days, TranslationWidth.Abbreviated);\n break;\n case 'EEEE':\n formatter = dateStrGetter(TranslationType.Days, TranslationWidth.Wide);\n break;\n case 'EEEEE':\n formatter = dateStrGetter(TranslationType.Days, TranslationWidth.Narrow);\n break;\n case 'EEEEEE':\n formatter = dateStrGetter(TranslationType.Days, TranslationWidth.Short);\n break;\n // Generic period of the day (am-pm)\n case 'a':\n case 'aa':\n case 'aaa':\n formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Abbreviated);\n break;\n case 'aaaa':\n formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Wide);\n break;\n case 'aaaaa':\n formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Narrow);\n break;\n // Extended period of the day (midnight, at night, ...), standalone\n case 'b':\n case 'bb':\n case 'bbb':\n formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Abbreviated, FormStyle.Standalone, true);\n break;\n case 'bbbb':\n formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Wide, FormStyle.Standalone, true);\n break;\n case 'bbbbb':\n formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Narrow, FormStyle.Standalone, true);\n break;\n // Extended period of the day (midnight, night, ...), standalone\n case 'B':\n case 'BB':\n case 'BBB':\n formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Abbreviated, FormStyle.Format, true);\n break;\n case 'BBBB':\n formatter =\n dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Wide, FormStyle.Format, true);\n break;\n case 'BBBBB':\n formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Narrow, FormStyle.Format, true);\n break;\n // Hour in AM/PM, (1-12)\n case 'h':\n formatter = dateGetter(DateType.Hours, 1, -12);\n break;\n case 'hh':\n formatter = dateGetter(DateType.Hours, 2, -12);\n break;\n // Hour of the day (0-23)\n case 'H':\n formatter = dateGetter(DateType.Hours, 1);\n break;\n // Hour in day, padded (00-23)\n case 'HH':\n formatter = dateGetter(DateType.Hours, 2);\n break;\n // Minute of the hour (0-59)\n case 'm':\n formatter = dateGetter(DateType.Minutes, 1);\n break;\n case 'mm':\n formatter = dateGetter(DateType.Minutes, 2);\n break;\n // Second of the minute (0-59)\n case 's':\n formatter = dateGetter(DateType.Seconds, 1);\n break;\n case 'ss':\n formatter = dateGetter(DateType.Seconds, 2);\n break;\n // Fractional second\n case 'S':\n formatter = dateGetter(DateType.FractionalSeconds, 1);\n break;\n case 'SS':\n formatter = dateGetter(DateType.FractionalSeconds, 2);\n break;\n case 'SSS':\n formatter = dateGetter(DateType.FractionalSeconds, 3);\n break;\n // Timezone ISO8601 short format (-0430)\n case 'Z':\n case 'ZZ':\n case 'ZZZ':\n formatter = timeZoneGetter(ZoneWidth.Short);\n break;\n // Timezone ISO8601 extended format (-04:30)\n case 'ZZZZZ':\n formatter = timeZoneGetter(ZoneWidth.Extended);\n break;\n // Timezone GMT short format (GMT+4)\n case 'O':\n case 'OO':\n case 'OOO':\n // Should be location, but fallback to format O instead because we don't have the data yet\n case 'z':\n case 'zz':\n case 'zzz':\n formatter = timeZoneGetter(ZoneWidth.ShortGMT);\n break;\n // Timezone GMT long format (GMT+0430)\n case 'OOOO':\n case 'ZZZZ':\n // Should be location, but fallback to format O instead because we don't have the data yet\n case 'zzzz':\n formatter = timeZoneGetter(ZoneWidth.Long);\n break;\n default:\n return null;\n }\n DATE_FORMATS[format] = formatter;\n return formatter;\n}\nfunction timezoneToOffset(timezone, fallback) {\n // Support: IE 11 only, Edge 13-15+\n // IE/Edge do not \"understand\" colon (`:`) in timezone\n timezone = timezone.replace(/:/g, '');\n const requestedTimezoneOffset = Date.parse('Jan 01, 1970 00:00:00 ' + timezone) / 60000;\n return isNaN(requestedTimezoneOffset) ? fallback : requestedTimezoneOffset;\n}\nfunction addDateMinutes(date, minutes) {\n date = new Date(date.getTime());\n date.setMinutes(date.getMinutes() + minutes);\n return date;\n}\nfunction convertTimezoneToLocal(date, timezone, reverse) {\n const reverseValue = reverse ? -1 : 1;\n const dateTimezoneOffset = date.getTimezoneOffset();\n const timezoneOffset = timezoneToOffset(timezone, dateTimezoneOffset);\n return addDateMinutes(date, reverseValue * (timezoneOffset - dateTimezoneOffset));\n}\n/**\n * Converts a value to date.\n *\n * Supported input formats:\n * - `Date`\n * - number: timestamp\n * - string: numeric (e.g. \"1234\"), ISO and date strings in a format supported by\n * [Date.parse()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/parse).\n * Note: ISO strings without time return a date without timeoffset.\n *\n * Throws if unable to convert to a date.\n */\nfunction toDate(value) {\n if (isDate(value)) {\n return value;\n }\n if (typeof value === 'number' && !isNaN(value)) {\n return new Date(value);\n }\n if (typeof value === 'string') {\n value = value.trim();\n if (/^(\\d{4}(-\\d{1,2}(-\\d{1,2})?)?)$/.test(value)) {\n /* For ISO Strings without time the day, month and year must be extracted from the ISO String\n before Date creation to avoid time offset and errors in the new Date.\n If we only replace '-' with ',' in the ISO String (\"2015,01,01\"), and try to create a new\n date, some browsers (e.g. IE 9) will throw an invalid Date error.\n If we leave the '-' (\"2015-01-01\") and try to create a new Date(\"2015-01-01\") the timeoffset\n is applied.\n Note: ISO months are 0 for January, 1 for February, ... */\n const [y, m = 1, d = 1] = value.split('-').map((val) => +val);\n return createDate(y, m - 1, d);\n }\n const parsedNb = parseFloat(value);\n // any string that only contains numbers, like \"1234\" but not like \"1234hello\"\n if (!isNaN(value - parsedNb)) {\n return new Date(parsedNb);\n }\n let match;\n if (match = value.match(ISO8601_DATE_REGEX)) {\n return isoStringToDate(match);\n }\n }\n const date = new Date(value);\n if (!isDate(date)) {\n throw new Error(`Unable to convert \"${value}\" into a date`);\n }\n return date;\n}\n/**\n * Converts a date in ISO8601 to a Date.\n * Used instead of `Date.parse` because of browser discrepancies.\n */\nfunction isoStringToDate(match) {\n const date = new Date(0);\n let tzHour = 0;\n let tzMin = 0;\n // match[8] means that the string contains \"Z\" (UTC) or a timezone like \"+01:00\" or \"+0100\"\n const dateSetter = match[8] ? date.setUTCFullYear : date.setFullYear;\n const timeSetter = match[8] ? date.setUTCHours : date.setHours;\n // if there is a timezone defined like \"+01:00\" or \"+0100\"\n if (match[9]) {\n tzHour = Number(match[9] + match[10]);\n tzMin = Number(match[9] + match[11]);\n }\n dateSetter.call(date, Number(match[1]), Number(match[2]) - 1, Number(match[3]));\n const h = Number(match[4] || 0) - tzHour;\n const m = Number(match[5] || 0) - tzMin;\n const s = Number(match[6] || 0);\n // The ECMAScript specification (https://www.ecma-international.org/ecma-262/5.1/#sec-15.9.1.11)\n // defines that `DateTime` milliseconds should always be rounded down, so that `999.9ms`\n // becomes `999ms`.\n const ms = Math.floor(parseFloat('0.' + (match[7] || 0)) * 1000);\n timeSetter.call(date, h, m, s, ms);\n return date;\n}\nfunction isDate(value) {\n return value instanceof Date && !isNaN(value.valueOf());\n}\n\nconst NUMBER_FORMAT_REGEXP = /^(\\d+)?\\.((\\d+)(-(\\d+))?)?$/;\nconst MAX_DIGITS = 22;\nconst DECIMAL_SEP = '.';\nconst ZERO_CHAR = '0';\nconst PATTERN_SEP = ';';\nconst GROUP_SEP = ',';\nconst DIGIT_CHAR = '#';\nconst CURRENCY_CHAR = '¤';\nconst PERCENT_CHAR = '%';\n/**\n * Transforms a number to a locale string based on a style and a format.\n */\nfunction formatNumberToLocaleString(value, pattern, locale, groupSymbol, decimalSymbol, digitsInfo, isPercent = false) {\n let formattedText = '';\n let isZero = false;\n if (!isFinite(value)) {\n formattedText = getLocaleNumberSymbol(locale, NumberSymbol.Infinity);\n }\n else {\n let parsedNumber = parseNumber(value);\n if (isPercent) {\n parsedNumber = toPercent(parsedNumber);\n }\n let minInt = pattern.minInt;\n let minFraction = pattern.minFrac;\n let maxFraction = pattern.maxFrac;\n if (digitsInfo) {\n const parts = digitsInfo.match(NUMBER_FORMAT_REGEXP);\n if (parts === null) {\n throw new Error(`${digitsInfo} is not a valid digit info`);\n }\n const minIntPart = parts[1];\n const minFractionPart = parts[3];\n const maxFractionPart = parts[5];\n if (minIntPart != null) {\n minInt = parseIntAutoRadix(minIntPart);\n }\n if (minFractionPart != null) {\n minFraction = parseIntAutoRadix(minFractionPart);\n }\n if (maxFractionPart != null) {\n maxFraction = parseIntAutoRadix(maxFractionPart);\n }\n else if (minFractionPart != null && minFraction > maxFraction) {\n maxFraction = minFraction;\n }\n }\n roundNumber(parsedNumber, minFraction, maxFraction);\n let digits = parsedNumber.digits;\n let integerLen = parsedNumber.integerLen;\n const exponent = parsedNumber.exponent;\n let decimals = [];\n isZero = digits.every(d => !d);\n // pad zeros for small numbers\n for (; integerLen < minInt; integerLen++) {\n digits.unshift(0);\n }\n // pad zeros for small numbers\n for (; integerLen < 0; integerLen++) {\n digits.unshift(0);\n }\n // extract decimals digits\n if (integerLen > 0) {\n decimals = digits.splice(integerLen, digits.length);\n }\n else {\n decimals = digits;\n digits = [0];\n }\n // format the integer digits with grouping separators\n const groups = [];\n if (digits.length >= pattern.lgSize) {\n groups.unshift(digits.splice(-pattern.lgSize, digits.length).join(''));\n }\n while (digits.length > pattern.gSize) {\n groups.unshift(digits.splice(-pattern.gSize, digits.length).join(''));\n }\n if (digits.length) {\n groups.unshift(digits.join(''));\n }\n formattedText = groups.join(getLocaleNumberSymbol(locale, groupSymbol));\n // append the decimal digits\n if (decimals.length) {\n formattedText += getLocaleNumberSymbol(locale, decimalSymbol) + decimals.join('');\n }\n if (exponent) {\n formattedText += getLocaleNumberSymbol(locale, NumberSymbol.Exponential) + '+' + exponent;\n }\n }\n if (value < 0 && !isZero) {\n formattedText = pattern.negPre + formattedText + pattern.negSuf;\n }\n else {\n formattedText = pattern.posPre + formattedText + pattern.posSuf;\n }\n return formattedText;\n}\n/**\n * @ngModule CommonModule\n * @description\n *\n * Formats a number as currency using locale rules.\n *\n * @param value The number to format.\n * @param locale A locale code for the locale format rules to use.\n * @param currency A string containing the currency symbol or its name,\n * such as \"$\" or \"Canadian Dollar\". Used in output string, but does not affect the operation\n * of the function.\n * @param currencyCode The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217)\n * currency code, such as `USD` for the US dollar and `EUR` for the euro.\n * Used to determine the number of digits in the decimal part.\n * @param digitsInfo Decimal representation options, specified by a string in the following format:\n * `{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}`. See `DecimalPipe` for more details.\n *\n * @returns The formatted currency value.\n *\n * @see {@link formatNumber}\n * @see {@link DecimalPipe}\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction formatCurrency(value, locale, currency, currencyCode, digitsInfo) {\n const format = getLocaleNumberFormat(locale, NumberFormatStyle.Currency);\n const pattern = parseNumberFormat(format, getLocaleNumberSymbol(locale, NumberSymbol.MinusSign));\n pattern.minFrac = getNumberOfCurrencyDigits(currencyCode);\n pattern.maxFrac = pattern.minFrac;\n const res = formatNumberToLocaleString(value, pattern, locale, NumberSymbol.CurrencyGroup, NumberSymbol.CurrencyDecimal, digitsInfo);\n return res\n .replace(CURRENCY_CHAR, currency)\n // if we have 2 time the currency character, the second one is ignored\n .replace(CURRENCY_CHAR, '')\n // If there is a spacing between currency character and the value and\n // the currency character is suppressed by passing an empty string, the\n // spacing character would remain as part of the string. Then we\n // should remove it.\n .trim();\n}\n/**\n * @ngModule CommonModule\n * @description\n *\n * Formats a number as a percentage according to locale rules.\n *\n * @param value The number to format.\n * @param locale A locale code for the locale format rules to use.\n * @param digitsInfo Decimal representation options, specified by a string in the following format:\n * `{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}`. See `DecimalPipe` for more details.\n *\n * @returns The formatted percentage value.\n *\n * @see {@link formatNumber}\n * @see {@link DecimalPipe}\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n * @publicApi\n *\n */\nfunction formatPercent(value, locale, digitsInfo) {\n const format = getLocaleNumberFormat(locale, NumberFormatStyle.Percent);\n const pattern = parseNumberFormat(format, getLocaleNumberSymbol(locale, NumberSymbol.MinusSign));\n const res = formatNumberToLocaleString(value, pattern, locale, NumberSymbol.Group, NumberSymbol.Decimal, digitsInfo, true);\n return res.replace(new RegExp(PERCENT_CHAR, 'g'), getLocaleNumberSymbol(locale, NumberSymbol.PercentSign));\n}\n/**\n * @ngModule CommonModule\n * @description\n *\n * Formats a number as text, with group sizing, separator, and other\n * parameters based on the locale.\n *\n * @param value The number to format.\n * @param locale A locale code for the locale format rules to use.\n * @param digitsInfo Decimal representation options, specified by a string in the following format:\n * `{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}`. See `DecimalPipe` for more details.\n *\n * @returns The formatted text string.\n * @see [Internationalization (i18n) Guide](/guide/i18n-overview)\n *\n * @publicApi\n */\nfunction formatNumber(value, locale, digitsInfo) {\n const format = getLocaleNumberFormat(locale, NumberFormatStyle.Decimal);\n const pattern = parseNumberFormat(format, getLocaleNumberSymbol(locale, NumberSymbol.MinusSign));\n return formatNumberToLocaleString(value, pattern, locale, NumberSymbol.Group, NumberSymbol.Decimal, digitsInfo);\n}\nfunction parseNumberFormat(format, minusSign = '-') {\n const p = {\n minInt: 1,\n minFrac: 0,\n maxFrac: 0,\n posPre: '',\n posSuf: '',\n negPre: '',\n negSuf: '',\n gSize: 0,\n lgSize: 0\n };\n const patternParts = format.split(PATTERN_SEP);\n const positive = patternParts[0];\n const negative = patternParts[1];\n const positiveParts = positive.indexOf(DECIMAL_SEP) !== -1 ?\n positive.split(DECIMAL_SEP) :\n [\n positive.substring(0, positive.lastIndexOf(ZERO_CHAR) + 1),\n positive.substring(positive.lastIndexOf(ZERO_CHAR) + 1)\n ], integer = positiveParts[0], fraction = positiveParts[1] || '';\n p.posPre = integer.substring(0, integer.indexOf(DIGIT_CHAR));\n for (let i = 0; i < fraction.length; i++) {\n const ch = fraction.charAt(i);\n if (ch === ZERO_CHAR) {\n p.minFrac = p.maxFrac = i + 1;\n }\n else if (ch === DIGIT_CHAR) {\n p.maxFrac = i + 1;\n }\n else {\n p.posSuf += ch;\n }\n }\n const groups = integer.split(GROUP_SEP);\n p.gSize = groups[1] ? groups[1].length : 0;\n p.lgSize = (groups[2] || groups[1]) ? (groups[2] || groups[1]).length : 0;\n if (negative) {\n const trunkLen = positive.length - p.posPre.length - p.posSuf.length, pos = negative.indexOf(DIGIT_CHAR);\n p.negPre = negative.substring(0, pos).replace(/'/g, '');\n p.negSuf = negative.slice(pos + trunkLen).replace(/'/g, '');\n }\n else {\n p.negPre = minusSign + p.posPre;\n p.negSuf = p.posSuf;\n }\n return p;\n}\n// Transforms a parsed number into a percentage by multiplying it by 100\nfunction toPercent(parsedNumber) {\n // if the number is 0, don't do anything\n if (parsedNumber.digits[0] === 0) {\n return parsedNumber;\n }\n // Getting the current number of decimals\n const fractionLen = parsedNumber.digits.length - parsedNumber.integerLen;\n if (parsedNumber.exponent) {\n parsedNumber.exponent += 2;\n }\n else {\n if (fractionLen === 0) {\n parsedNumber.digits.push(0, 0);\n }\n else if (fractionLen === 1) {\n parsedNumber.digits.push(0);\n }\n parsedNumber.integerLen += 2;\n }\n return parsedNumber;\n}\n/**\n * Parses a number.\n * Significant bits of this parse algorithm came from https://github.com/MikeMcl/big.js/\n */\nfunction parseNumber(num) {\n let numStr = Math.abs(num) + '';\n let exponent = 0, digits, integerLen;\n let i, j, zeros;\n // Decimal point?\n if ((integerLen = numStr.indexOf(DECIMAL_SEP)) > -1) {\n numStr = numStr.replace(DECIMAL_SEP, '');\n }\n // Exponential form?\n if ((i = numStr.search(/e/i)) > 0) {\n // Work out the exponent.\n if (integerLen < 0)\n integerLen = i;\n integerLen += +numStr.slice(i + 1);\n numStr = numStr.substring(0, i);\n }\n else if (integerLen < 0) {\n // There was no decimal point or exponent so it is an integer.\n integerLen = numStr.length;\n }\n // Count the number of leading zeros.\n for (i = 0; numStr.charAt(i) === ZERO_CHAR; i++) { /* empty */\n }\n if (i === (zeros = numStr.length)) {\n // The digits are all zero.\n digits = [0];\n integerLen = 1;\n }\n else {\n // Count the number of trailing zeros\n zeros--;\n while (numStr.charAt(zeros) === ZERO_CHAR)\n zeros--;\n // Trailing zeros are insignificant so ignore them\n integerLen -= i;\n digits = [];\n // Convert string to array of digits without leading/trailing zeros.\n for (j = 0; i <= zeros; i++, j++) {\n digits[j] = Number(numStr.charAt(i));\n }\n }\n // If the number overflows the maximum allowed digits then use an exponent.\n if (integerLen > MAX_DIGITS) {\n digits = digits.splice(0, MAX_DIGITS - 1);\n exponent = integerLen - 1;\n integerLen = 1;\n }\n return { digits, exponent, integerLen };\n}\n/**\n * Round the parsed number to the specified number of decimal places\n * This function changes the parsedNumber in-place\n */\nfunction roundNumber(parsedNumber, minFrac, maxFrac) {\n if (minFrac > maxFrac) {\n throw new Error(`The minimum number of digits after fraction (${minFrac}) is higher than the maximum (${maxFrac}).`);\n }\n let digits = parsedNumber.digits;\n let fractionLen = digits.length - parsedNumber.integerLen;\n const fractionSize = Math.min(Math.max(minFrac, fractionLen), maxFrac);\n // The index of the digit to where rounding is to occur\n let roundAt = fractionSize + parsedNumber.integerLen;\n let digit = digits[roundAt];\n if (roundAt > 0) {\n // Drop fractional digits beyond `roundAt`\n digits.splice(Math.max(parsedNumber.integerLen, roundAt));\n // Set non-fractional digits beyond `roundAt` to 0\n for (let j = roundAt; j < digits.length; j++) {\n digits[j] = 0;\n }\n }\n else {\n // We rounded to zero so reset the parsedNumber\n fractionLen = Math.max(0, fractionLen);\n parsedNumber.integerLen = 1;\n digits.length = Math.max(1, roundAt = fractionSize + 1);\n digits[0] = 0;\n for (let i = 1; i < roundAt; i++)\n digits[i] = 0;\n }\n if (digit >= 5) {\n if (roundAt - 1 < 0) {\n for (let k = 0; k > roundAt; k--) {\n digits.unshift(0);\n parsedNumber.integerLen++;\n }\n digits.unshift(1);\n parsedNumber.integerLen++;\n }\n else {\n digits[roundAt - 1]++;\n }\n }\n // Pad out with zeros to get the required fraction length\n for (; fractionLen < Math.max(0, fractionSize); fractionLen++)\n digits.push(0);\n let dropTrailingZeros = fractionSize !== 0;\n // Minimal length = nb of decimals required + current nb of integers\n // Any number besides that is optional and can be removed if it's a trailing 0\n const minLen = minFrac + parsedNumber.integerLen;\n // Do any carrying, e.g. a digit was rounded up to 10\n const carry = digits.reduceRight(function (carry, d, i, digits) {\n d = d + carry;\n digits[i] = d < 10 ? d : d - 10; // d % 10\n if (dropTrailingZeros) {\n // Do not keep meaningless fractional trailing zeros (e.g. 15.52000 --> 15.52)\n if (digits[i] === 0 && i >= minLen) {\n digits.pop();\n }\n else {\n dropTrailingZeros = false;\n }\n }\n return d >= 10 ? 1 : 0; // Math.floor(d / 10);\n }, 0);\n if (carry) {\n digits.unshift(carry);\n parsedNumber.integerLen++;\n }\n}\nfunction parseIntAutoRadix(text) {\n const result = parseInt(text);\n if (isNaN(result)) {\n throw new Error('Invalid integer literal when parsing ' + text);\n }\n return result;\n}\n\n/**\n * @publicApi\n */\nclass NgLocalization {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: NgLocalization, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: NgLocalization, providedIn: 'root', useFactory: (locale) => new NgLocaleLocalization(locale), deps: [{ token: LOCALE_ID }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: NgLocalization, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root',\n useFactory: (locale) => new NgLocaleLocalization(locale),\n deps: [LOCALE_ID],\n }]\n }] });\n/**\n * Returns the plural category for a given value.\n * - \"=value\" when the case exists,\n * - the plural category otherwise\n */\nfunction getPluralCategory(value, cases, ngLocalization, locale) {\n let key = `=${value}`;\n if (cases.indexOf(key) > -1) {\n return key;\n }\n key = ngLocalization.getPluralCategory(value, locale);\n if (cases.indexOf(key) > -1) {\n return key;\n }\n if (cases.indexOf('other') > -1) {\n return 'other';\n }\n throw new Error(`No plural message found for value \"${value}\"`);\n}\n/**\n * Returns the plural case based on the locale\n *\n * @publicApi\n */\nclass NgLocaleLocalization extends NgLocalization {\n constructor(locale) {\n super();\n this.locale = locale;\n }\n getPluralCategory(value, locale) {\n const plural = getLocalePluralCase(locale || this.locale)(value);\n switch (plural) {\n case Plural.Zero:\n return 'zero';\n case Plural.One:\n return 'one';\n case Plural.Two:\n return 'two';\n case Plural.Few:\n return 'few';\n case Plural.Many:\n return 'many';\n default:\n return 'other';\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: NgLocaleLocalization, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: NgLocaleLocalization }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: NgLocaleLocalization, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [LOCALE_ID]\n }] }]; } });\n\n/**\n * Register global data to be used internally by Angular. See the\n * [\"I18n guide\"](guide/i18n-common-format-data-locale) to know how to import additional locale\n * data.\n *\n * The signature registerLocaleData(data: any, extraData?: any) is deprecated since v5.1\n *\n * @publicApi\n */\nfunction registerLocaleData(data, localeId, extraData) {\n return ɵregisterLocaleData(data, localeId, extraData);\n}\n\nfunction parseCookieValue(cookieStr, name) {\n name = encodeURIComponent(name);\n for (const cookie of cookieStr.split(';')) {\n const eqIndex = cookie.indexOf('=');\n const [cookieName, cookieValue] = eqIndex == -1 ? [cookie, ''] : [cookie.slice(0, eqIndex), cookie.slice(eqIndex + 1)];\n if (cookieName.trim() === name) {\n return decodeURIComponent(cookieValue);\n }\n }\n return null;\n}\n\nconst WS_REGEXP = /\\s+/;\nconst EMPTY_ARRAY = [];\n/**\n * @ngModule CommonModule\n *\n * @usageNotes\n * ```\n * ...\n *\n * ...\n *\n * ...\n *\n * ...\n *\n * ...\n * ```\n *\n * @description\n *\n * Adds and removes CSS classes on an HTML element.\n *\n * The CSS classes are updated as follows, depending on the type of the expression evaluation:\n * - `string` - the CSS classes listed in the string (space delimited) are added,\n * - `Array` - the CSS classes declared as Array elements are added,\n * - `Object` - keys are CSS classes that get added when the expression given in the value\n * evaluates to a truthy value, otherwise they are removed.\n *\n * @publicApi\n */\nclass NgClass {\n constructor(\n // leaving references to differs in place since flex layout is extending NgClass...\n _iterableDiffers, _keyValueDiffers, _ngEl, _renderer) {\n this._iterableDiffers = _iterableDiffers;\n this._keyValueDiffers = _keyValueDiffers;\n this._ngEl = _ngEl;\n this._renderer = _renderer;\n this.initialClasses = EMPTY_ARRAY;\n this.stateMap = new Map();\n }\n set klass(value) {\n this.initialClasses = value != null ? value.trim().split(WS_REGEXP) : EMPTY_ARRAY;\n }\n set ngClass(value) {\n this.rawClass = typeof value === 'string' ? value.trim().split(WS_REGEXP) : value;\n }\n /*\n The NgClass directive uses the custom change detection algorithm for its inputs. The custom\n algorithm is necessary since inputs are represented as complex object or arrays that need to be\n deeply-compared.\n \n This algorithm is perf-sensitive since NgClass is used very frequently and its poor performance\n might negatively impact runtime performance of the entire change detection cycle. The design of\n this algorithm is making sure that:\n - there is no unnecessary DOM manipulation (CSS classes are added / removed from the DOM only when\n needed), even if references to bound objects change;\n - there is no memory allocation if nothing changes (even relatively modest memory allocation\n during the change detection cycle can result in GC pauses for some of the CD cycles).\n \n The algorithm works by iterating over the set of bound classes, staring with [class] binding and\n then going over [ngClass] binding. For each CSS class name:\n - check if it was seen before (this information is tracked in the state map) and if its value\n changed;\n - mark it as \"touched\" - names that are not marked are not present in the latest set of binding\n and we can remove such class name from the internal data structures;\n \n After iteration over all the CSS class names we've got data structure with all the information\n necessary to synchronize changes to the DOM - it is enough to iterate over the state map, flush\n changes to the DOM and reset internal data structures so those are ready for the next change\n detection cycle.\n */\n ngDoCheck() {\n // classes from the [class] binding\n for (const klass of this.initialClasses) {\n this._updateState(klass, true);\n }\n // classes from the [ngClass] binding\n const rawClass = this.rawClass;\n if (Array.isArray(rawClass) || rawClass instanceof Set) {\n for (const klass of rawClass) {\n this._updateState(klass, true);\n }\n }\n else if (rawClass != null) {\n for (const klass of Object.keys(rawClass)) {\n this._updateState(klass, Boolean(rawClass[klass]));\n }\n }\n this._applyStateDiff();\n }\n _updateState(klass, nextEnabled) {\n const state = this.stateMap.get(klass);\n if (state !== undefined) {\n if (state.enabled !== nextEnabled) {\n state.changed = true;\n state.enabled = nextEnabled;\n }\n state.touched = true;\n }\n else {\n this.stateMap.set(klass, { enabled: nextEnabled, changed: true, touched: true });\n }\n }\n _applyStateDiff() {\n for (const stateEntry of this.stateMap) {\n const klass = stateEntry[0];\n const state = stateEntry[1];\n if (state.changed) {\n this._toggleClass(klass, state.enabled);\n state.changed = false;\n }\n else if (!state.touched) {\n // A class that was previously active got removed from the new collection of classes -\n // remove from the DOM as well.\n if (state.enabled) {\n this._toggleClass(klass, false);\n }\n this.stateMap.delete(klass);\n }\n state.touched = false;\n }\n }\n _toggleClass(klass, enabled) {\n if (ngDevMode) {\n if (typeof klass !== 'string') {\n throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${ɵstringify(klass)}`);\n }\n }\n klass = klass.trim();\n if (klass.length > 0) {\n klass.split(WS_REGEXP).forEach(klass => {\n if (enabled) {\n this._renderer.addClass(this._ngEl.nativeElement, klass);\n }\n else {\n this._renderer.removeClass(this._ngEl.nativeElement, klass);\n }\n });\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: NgClass, deps: [{ token: i0.IterableDiffers }, { token: i0.KeyValueDiffers }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.2.12\", type: NgClass, isStandalone: true, selector: \"[ngClass]\", inputs: { klass: [\"class\", \"klass\"], ngClass: \"ngClass\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: NgClass, decorators: [{\n type: Directive,\n args: [{\n selector: '[ngClass]',\n standalone: true,\n }]\n }], ctorParameters: function () { return [{ type: i0.IterableDiffers }, { type: i0.KeyValueDiffers }, { type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { klass: [{\n type: Input,\n args: ['class']\n }], ngClass: [{\n type: Input,\n args: ['ngClass']\n }] } });\n\n/**\n * Instantiates a {@link Component} type and inserts its Host View into the current View.\n * `NgComponentOutlet` provides a declarative approach for dynamic component creation.\n *\n * `NgComponentOutlet` requires a component type, if a falsy value is set the view will clear and\n * any existing component will be destroyed.\n *\n * @usageNotes\n *\n * ### Fine tune control\n *\n * You can control the component creation process by using the following optional attributes:\n *\n * * `ngComponentOutletInputs`: Optional component inputs object, which will be bind to the\n * component.\n *\n * * `ngComponentOutletInjector`: Optional custom {@link Injector} that will be used as parent for\n * the Component. Defaults to the injector of the current view container.\n *\n * * `ngComponentOutletContent`: Optional list of projectable nodes to insert into the content\n * section of the component, if it exists.\n *\n * * `ngComponentOutletNgModule`: Optional NgModule class reference to allow loading another\n * module dynamically, then loading a component from that module.\n *\n * * `ngComponentOutletNgModuleFactory`: Deprecated config option that allows providing optional\n * NgModule factory to allow loading another module dynamically, then loading a component from that\n * module. Use `ngComponentOutletNgModule` instead.\n *\n * ### Syntax\n *\n * Simple\n * ```\n * \n * ```\n *\n * With inputs\n * ```\n * \n * \n * ```\n *\n * Customized injector/content\n * ```\n * \n * \n * ```\n *\n * Customized NgModule reference\n * ```\n * \n * \n * ```\n *\n * ### A simple example\n *\n * {@example common/ngComponentOutlet/ts/module.ts region='SimpleExample'}\n *\n * A more complete example with additional options:\n *\n * {@example common/ngComponentOutlet/ts/module.ts region='CompleteExample'}\n *\n * @publicApi\n * @ngModule CommonModule\n */\nclass NgComponentOutlet {\n constructor(_viewContainerRef) {\n this._viewContainerRef = _viewContainerRef;\n this.ngComponentOutlet = null;\n /**\n * A helper data structure that allows us to track inputs that were part of the\n * ngComponentOutletInputs expression. Tracking inputs is necessary for proper removal of ones\n * that are no longer referenced.\n */\n this._inputsUsed = new Map();\n }\n _needToReCreateNgModuleInstance(changes) {\n // Note: square brackets property accessor is safe for Closure compiler optimizations (the\n // `changes` argument of the `ngOnChanges` lifecycle hook retains the names of the fields that\n // were changed).\n return changes['ngComponentOutletNgModule'] !== undefined ||\n changes['ngComponentOutletNgModuleFactory'] !== undefined;\n }\n _needToReCreateComponentInstance(changes) {\n // Note: square brackets property accessor is safe for Closure compiler optimizations (the\n // `changes` argument of the `ngOnChanges` lifecycle hook retains the names of the fields that\n // were changed).\n return changes['ngComponentOutlet'] !== undefined ||\n changes['ngComponentOutletContent'] !== undefined ||\n changes['ngComponentOutletInjector'] !== undefined ||\n this._needToReCreateNgModuleInstance(changes);\n }\n /** @nodoc */\n ngOnChanges(changes) {\n if (this._needToReCreateComponentInstance(changes)) {\n this._viewContainerRef.clear();\n this._inputsUsed.clear();\n this._componentRef = undefined;\n if (this.ngComponentOutlet) {\n const injector = this.ngComponentOutletInjector || this._viewContainerRef.parentInjector;\n if (this._needToReCreateNgModuleInstance(changes)) {\n this._moduleRef?.destroy();\n if (this.ngComponentOutletNgModule) {\n this._moduleRef =\n createNgModule(this.ngComponentOutletNgModule, getParentInjector(injector));\n }\n else if (this.ngComponentOutletNgModuleFactory) {\n this._moduleRef =\n this.ngComponentOutletNgModuleFactory.create(getParentInjector(injector));\n }\n else {\n this._moduleRef = undefined;\n }\n }\n this._componentRef = this._viewContainerRef.createComponent(this.ngComponentOutlet, {\n injector,\n ngModuleRef: this._moduleRef,\n projectableNodes: this.ngComponentOutletContent,\n });\n }\n }\n }\n /** @nodoc */\n ngDoCheck() {\n if (this._componentRef) {\n if (this.ngComponentOutletInputs) {\n for (const inputName of Object.keys(this.ngComponentOutletInputs)) {\n this._inputsUsed.set(inputName, true);\n }\n }\n this._applyInputStateDiff(this._componentRef);\n }\n }\n /** @nodoc */\n ngOnDestroy() {\n this._moduleRef?.destroy();\n }\n _applyInputStateDiff(componentRef) {\n for (const [inputName, touched] of this._inputsUsed) {\n if (!touched) {\n // The input that was previously active no longer exists and needs to be set to undefined.\n componentRef.setInput(inputName, undefined);\n this._inputsUsed.delete(inputName);\n }\n else {\n // Since touched is true, it can be asserted that the inputs object is not empty.\n componentRef.setInput(inputName, this.ngComponentOutletInputs[inputName]);\n this._inputsUsed.set(inputName, false);\n }\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: NgComponentOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.2.12\", type: NgComponentOutlet, isStandalone: true, selector: \"[ngComponentOutlet]\", inputs: { ngComponentOutlet: \"ngComponentOutlet\", ngComponentOutletInputs: \"ngComponentOutletInputs\", ngComponentOutletInjector: \"ngComponentOutletInjector\", ngComponentOutletContent: \"ngComponentOutletContent\", ngComponentOutletNgModule: \"ngComponentOutletNgModule\", ngComponentOutletNgModuleFactory: \"ngComponentOutletNgModuleFactory\" }, usesOnChanges: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: NgComponentOutlet, decorators: [{\n type: Directive,\n args: [{\n selector: '[ngComponentOutlet]',\n standalone: true,\n }]\n }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; }, propDecorators: { ngComponentOutlet: [{\n type: Input\n }], ngComponentOutletInputs: [{\n type: Input\n }], ngComponentOutletInjector: [{\n type: Input\n }], ngComponentOutletContent: [{\n type: Input\n }], ngComponentOutletNgModule: [{\n type: Input\n }], ngComponentOutletNgModuleFactory: [{\n type: Input\n }] } });\n// Helper function that returns an Injector instance of a parent NgModule.\nfunction getParentInjector(injector) {\n const parentNgModule = injector.get(NgModuleRef);\n return parentNgModule.injector;\n}\n\n/**\n * @publicApi\n */\nclass NgForOfContext {\n constructor($implicit, ngForOf, index, count) {\n this.$implicit = $implicit;\n this.ngForOf = ngForOf;\n this.index = index;\n this.count = count;\n }\n get first() {\n return this.index === 0;\n }\n get last() {\n return this.index === this.count - 1;\n }\n get even() {\n return this.index % 2 === 0;\n }\n get odd() {\n return !this.even;\n }\n}\n/**\n * A [structural directive](guide/structural-directives) that renders\n * a template for each item in a collection.\n * The directive is placed on an element, which becomes the parent\n * of the cloned templates.\n *\n * The `ngForOf` directive is generally used in the\n * [shorthand form](guide/structural-directives#asterisk) `*ngFor`.\n * In this form, the template to be rendered for each iteration is the content\n * of an anchor element containing the directive.\n *\n * The following example shows the shorthand syntax with some options,\n * contained in an `
  • ` element.\n *\n * ```\n *
  • ...
  • \n * ```\n *\n * The shorthand form expands into a long form that uses the `ngForOf` selector\n * on an `` element.\n * The content of the `` element is the `
  • ` element that held the\n * short-form directive.\n *\n * Here is the expanded version of the short-form example.\n *\n * ```\n * \n *
  • ...
  • \n *
    \n * ```\n *\n * Angular automatically expands the shorthand syntax as it compiles the template.\n * The context for each embedded view is logically merged to the current component\n * context according to its lexical position.\n *\n * When using the shorthand syntax, Angular allows only [one structural directive\n * on an element](guide/structural-directives#one-per-element).\n * If you want to iterate conditionally, for example,\n * put the `*ngIf` on a container element that wraps the `*ngFor` element.\n * For further discussion, see\n * [Structural Directives](guide/structural-directives#one-per-element).\n *\n * @usageNotes\n *\n * ### Local variables\n *\n * `NgForOf` provides exported values that can be aliased to local variables.\n * For example:\n *\n * ```\n *
  • \n * {{i}}/{{users.length}}. {{user}} default\n *
  • \n * ```\n *\n * The following exported values can be aliased to local variables:\n *\n * - `$implicit: T`: The value of the individual items in the iterable (`ngForOf`).\n * - `ngForOf: NgIterable`: The value of the iterable expression. Useful when the expression is\n * more complex then a property access, for example when using the async pipe (`userStreams |\n * async`).\n * - `index: number`: The index of the current item in the iterable.\n * - `count: number`: The length of the iterable.\n * - `first: boolean`: True when the item is the first item in the iterable.\n * - `last: boolean`: True when the item is the last item in the iterable.\n * - `even: boolean`: True when the item has an even index in the iterable.\n * - `odd: boolean`: True when the item has an odd index in the iterable.\n *\n * ### Change propagation\n *\n * When the contents of the iterator changes, `NgForOf` makes the corresponding changes to the DOM:\n *\n * * When an item is added, a new instance of the template is added to the DOM.\n * * When an item is removed, its template instance is removed from the DOM.\n * * When items are reordered, their respective templates are reordered in the DOM.\n *\n * Angular uses object identity to track insertions and deletions within the iterator and reproduce\n * those changes in the DOM. This has important implications for animations and any stateful\n * controls that are present, such as `` elements that accept user input. Inserted rows can\n * be animated in, deleted rows can be animated out, and unchanged rows retain any unsaved state\n * such as user input.\n * For more on animations, see [Transitions and Triggers](guide/transition-and-triggers).\n *\n * The identities of elements in the iterator can change while the data does not.\n * This can happen, for example, if the iterator is produced from an RPC to the server, and that\n * RPC is re-run. Even if the data hasn't changed, the second response produces objects with\n * different identities, and Angular must tear down the entire DOM and rebuild it (as if all old\n * elements were deleted and all new elements inserted).\n *\n * To avoid this expensive operation, you can customize the default tracking algorithm.\n * by supplying the `trackBy` option to `NgForOf`.\n * `trackBy` takes a function that has two arguments: `index` and `item`.\n * If `trackBy` is given, Angular tracks changes by the return value of the function.\n *\n * @see [Structural Directives](guide/structural-directives)\n * @ngModule CommonModule\n * @publicApi\n */\nclass NgForOf {\n /**\n * The value of the iterable expression, which can be used as a\n * [template input variable](guide/structural-directives#shorthand).\n */\n set ngForOf(ngForOf) {\n this._ngForOf = ngForOf;\n this._ngForOfDirty = true;\n }\n /**\n * Specifies a custom `TrackByFunction` to compute the identity of items in an iterable.\n *\n * If a custom `TrackByFunction` is not provided, `NgForOf` will use the item's [object\n * identity](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is)\n * as the key.\n *\n * `NgForOf` uses the computed key to associate items in an iterable with DOM elements\n * it produces for these items.\n *\n * A custom `TrackByFunction` is useful to provide good user experience in cases when items in an\n * iterable rendered using `NgForOf` have a natural identifier (for example, custom ID or a\n * primary key), and this iterable could be updated with new object instances that still\n * represent the same underlying entity (for example, when data is re-fetched from the server,\n * and the iterable is recreated and re-rendered, but most of the data is still the same).\n *\n * @see {@link TrackByFunction}\n */\n set ngForTrackBy(fn) {\n if ((typeof ngDevMode === 'undefined' || ngDevMode) && fn != null && typeof fn !== 'function') {\n console.warn(`trackBy must be a function, but received ${JSON.stringify(fn)}. ` +\n `See https://angular.io/api/common/NgForOf#change-propagation for more information.`);\n }\n this._trackByFn = fn;\n }\n get ngForTrackBy() {\n return this._trackByFn;\n }\n constructor(_viewContainer, _template, _differs) {\n this._viewContainer = _viewContainer;\n this._template = _template;\n this._differs = _differs;\n this._ngForOf = null;\n this._ngForOfDirty = true;\n this._differ = null;\n }\n /**\n * A reference to the template that is stamped out for each item in the iterable.\n * @see [template reference variable](guide/template-reference-variables)\n */\n set ngForTemplate(value) {\n // TODO(TS2.1): make TemplateRef>> once we move to TS v2.1\n // The current type is too restrictive; a template that just uses index, for example,\n // should be acceptable.\n if (value) {\n this._template = value;\n }\n }\n /**\n * Applies the changes when needed.\n * @nodoc\n */\n ngDoCheck() {\n if (this._ngForOfDirty) {\n this._ngForOfDirty = false;\n // React on ngForOf changes only once all inputs have been initialized\n const value = this._ngForOf;\n if (!this._differ && value) {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n try {\n // CAUTION: this logic is duplicated for production mode below, as the try-catch\n // is only present in development builds.\n this._differ = this._differs.find(value).create(this.ngForTrackBy);\n }\n catch {\n let errorMessage = `Cannot find a differ supporting object '${value}' of type '` +\n `${getTypeName(value)}'. NgFor only supports binding to Iterables, such as Arrays.`;\n if (typeof value === 'object') {\n errorMessage += ' Did you mean to use the keyvalue pipe?';\n }\n throw new ɵRuntimeError(-2200 /* RuntimeErrorCode.NG_FOR_MISSING_DIFFER */, errorMessage);\n }\n }\n else {\n // CAUTION: this logic is duplicated for development mode above, as the try-catch\n // is only present in development builds.\n this._differ = this._differs.find(value).create(this.ngForTrackBy);\n }\n }\n }\n if (this._differ) {\n const changes = this._differ.diff(this._ngForOf);\n if (changes)\n this._applyChanges(changes);\n }\n }\n _applyChanges(changes) {\n const viewContainer = this._viewContainer;\n changes.forEachOperation((item, adjustedPreviousIndex, currentIndex) => {\n if (item.previousIndex == null) {\n // NgForOf is never \"null\" or \"undefined\" here because the differ detected\n // that a new item needs to be inserted from the iterable. This implies that\n // there is an iterable value for \"_ngForOf\".\n viewContainer.createEmbeddedView(this._template, new NgForOfContext(item.item, this._ngForOf, -1, -1), currentIndex === null ? undefined : currentIndex);\n }\n else if (currentIndex == null) {\n viewContainer.remove(adjustedPreviousIndex === null ? undefined : adjustedPreviousIndex);\n }\n else if (adjustedPreviousIndex !== null) {\n const view = viewContainer.get(adjustedPreviousIndex);\n viewContainer.move(view, currentIndex);\n applyViewChange(view, item);\n }\n });\n for (let i = 0, ilen = viewContainer.length; i < ilen; i++) {\n const viewRef = viewContainer.get(i);\n const context = viewRef.context;\n context.index = i;\n context.count = ilen;\n context.ngForOf = this._ngForOf;\n }\n changes.forEachIdentityChange((record) => {\n const viewRef = viewContainer.get(record.currentIndex);\n applyViewChange(viewRef, record);\n });\n }\n /**\n * Asserts the correct type of the context for the template that `NgForOf` will render.\n *\n * The presence of this method is a signal to the Ivy template type-check compiler that the\n * `NgForOf` structural directive renders its template with a specific context type.\n */\n static ngTemplateContextGuard(dir, ctx) {\n return true;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: NgForOf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: i0.IterableDiffers }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.2.12\", type: NgForOf, isStandalone: true, selector: \"[ngFor][ngForOf]\", inputs: { ngForOf: \"ngForOf\", ngForTrackBy: \"ngForTrackBy\", ngForTemplate: \"ngForTemplate\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: NgForOf, decorators: [{\n type: Directive,\n args: [{\n selector: '[ngFor][ngForOf]',\n standalone: true,\n }]\n }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.TemplateRef }, { type: i0.IterableDiffers }]; }, propDecorators: { ngForOf: [{\n type: Input\n }], ngForTrackBy: [{\n type: Input\n }], ngForTemplate: [{\n type: Input\n }] } });\nfunction applyViewChange(view, record) {\n view.context.$implicit = record.item;\n}\nfunction getTypeName(type) {\n return type['name'] || typeof type;\n}\n\n/**\n * A structural directive that conditionally includes a template based on the value of\n * an expression coerced to Boolean.\n * When the expression evaluates to true, Angular renders the template\n * provided in a `then` clause, and when false or null,\n * Angular renders the template provided in an optional `else` clause. The default\n * template for the `else` clause is blank.\n *\n * A [shorthand form](guide/structural-directives#asterisk) of the directive,\n * `*ngIf=\"condition\"`, is generally used, provided\n * as an attribute of the anchor element for the inserted template.\n * Angular expands this into a more explicit version, in which the anchor element\n * is contained in an `` element.\n *\n * Simple form with shorthand syntax:\n *\n * ```\n *
    Content to render when condition is true.
    \n * ```\n *\n * Simple form with expanded syntax:\n *\n * ```\n *
    Content to render when condition is\n * true.
    \n * ```\n *\n * Form with an \"else\" block:\n *\n * ```\n *
    Content to render when condition is true.
    \n * Content to render when condition is false.\n * ```\n *\n * Shorthand form with \"then\" and \"else\" blocks:\n *\n * ```\n *
    \n * Content to render when condition is true.\n * Content to render when condition is false.\n * ```\n *\n * Form with storing the value locally:\n *\n * ```\n *
    {{value}}
    \n * Content to render when value is null.\n * ```\n *\n * @usageNotes\n *\n * The `*ngIf` directive is most commonly used to conditionally show an inline template,\n * as seen in the following example.\n * The default `else` template is blank.\n *\n * {@example common/ngIf/ts/module.ts region='NgIfSimple'}\n *\n * ### Showing an alternative template using `else`\n *\n * To display a template when `expression` evaluates to false, use an `else` template\n * binding as shown in the following example.\n * The `else` binding points to an `` element labeled `#elseBlock`.\n * The template can be defined anywhere in the component view, but is typically placed right after\n * `ngIf` for readability.\n *\n * {@example common/ngIf/ts/module.ts region='NgIfElse'}\n *\n * ### Using an external `then` template\n *\n * In the previous example, the then-clause template is specified inline, as the content of the\n * tag that contains the `ngIf` directive. You can also specify a template that is defined\n * externally, by referencing a labeled `` element. When you do this, you can\n * change which template to use at runtime, as shown in the following example.\n *\n * {@example common/ngIf/ts/module.ts region='NgIfThenElse'}\n *\n * ### Storing a conditional result in a variable\n *\n * You might want to show a set of properties from the same object. If you are waiting\n * for asynchronous data, the object can be undefined.\n * In this case, you can use `ngIf` and store the result of the condition in a local\n * variable as shown in the following example.\n *\n * {@example common/ngIf/ts/module.ts region='NgIfAs'}\n *\n * This code uses only one `AsyncPipe`, so only one subscription is created.\n * The conditional statement stores the result of `userStream|async` in the local variable `user`.\n * You can then bind the local `user` repeatedly.\n *\n * The conditional displays the data only if `userStream` returns a value,\n * so you don't need to use the\n * safe-navigation-operator (`?.`)\n * to guard against null values when accessing properties.\n * You can display an alternative template while waiting for the data.\n *\n * ### Shorthand syntax\n *\n * The shorthand syntax `*ngIf` expands into two separate template specifications\n * for the \"then\" and \"else\" clauses. For example, consider the following shorthand statement,\n * that is meant to show a loading page while waiting for data to be loaded.\n *\n * ```\n *
    \n * ...\n *
    \n *\n * \n *
    Loading...
    \n *
    \n * ```\n *\n * You can see that the \"else\" clause references the ``\n * with the `#loading` label, and the template for the \"then\" clause\n * is provided as the content of the anchor element.\n *\n * However, when Angular expands the shorthand syntax, it creates\n * another `` tag, with `ngIf` and `ngIfElse` directives.\n * The anchor element containing the template for the \"then\" clause becomes\n * the content of this unlabeled `` tag.\n *\n * ```\n * \n *
    \n * ...\n *
    \n *
    \n *\n * \n *
    Loading...
    \n *
    \n * ```\n *\n * The presence of the implicit template object has implications for the nesting of\n * structural directives. For more on this subject, see\n * [Structural Directives](guide/structural-directives#one-per-element).\n *\n * @ngModule CommonModule\n * @publicApi\n */\nclass NgIf {\n constructor(_viewContainer, templateRef) {\n this._viewContainer = _viewContainer;\n this._context = new NgIfContext();\n this._thenTemplateRef = null;\n this._elseTemplateRef = null;\n this._thenViewRef = null;\n this._elseViewRef = null;\n this._thenTemplateRef = templateRef;\n }\n /**\n * The Boolean expression to evaluate as the condition for showing a template.\n */\n set ngIf(condition) {\n this._context.$implicit = this._context.ngIf = condition;\n this._updateView();\n }\n /**\n * A template to show if the condition expression evaluates to true.\n */\n set ngIfThen(templateRef) {\n assertTemplate('ngIfThen', templateRef);\n this._thenTemplateRef = templateRef;\n this._thenViewRef = null; // clear previous view if any.\n this._updateView();\n }\n /**\n * A template to show if the condition expression evaluates to false.\n */\n set ngIfElse(templateRef) {\n assertTemplate('ngIfElse', templateRef);\n this._elseTemplateRef = templateRef;\n this._elseViewRef = null; // clear previous view if any.\n this._updateView();\n }\n _updateView() {\n if (this._context.$implicit) {\n if (!this._thenViewRef) {\n this._viewContainer.clear();\n this._elseViewRef = null;\n if (this._thenTemplateRef) {\n this._thenViewRef =\n this._viewContainer.createEmbeddedView(this._thenTemplateRef, this._context);\n }\n }\n }\n else {\n if (!this._elseViewRef) {\n this._viewContainer.clear();\n this._thenViewRef = null;\n if (this._elseTemplateRef) {\n this._elseViewRef =\n this._viewContainer.createEmbeddedView(this._elseTemplateRef, this._context);\n }\n }\n }\n }\n /**\n * Asserts the correct type of the context for the template that `NgIf` will render.\n *\n * The presence of this method is a signal to the Ivy template type-check compiler that the\n * `NgIf` structural directive renders its template with a specific context type.\n */\n static ngTemplateContextGuard(dir, ctx) {\n return true;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: NgIf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.2.12\", type: NgIf, isStandalone: true, selector: \"[ngIf]\", inputs: { ngIf: \"ngIf\", ngIfThen: \"ngIfThen\", ngIfElse: \"ngIfElse\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: NgIf, decorators: [{\n type: Directive,\n args: [{\n selector: '[ngIf]',\n standalone: true,\n }]\n }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.TemplateRef }]; }, propDecorators: { ngIf: [{\n type: Input\n }], ngIfThen: [{\n type: Input\n }], ngIfElse: [{\n type: Input\n }] } });\n/**\n * @publicApi\n */\nclass NgIfContext {\n constructor() {\n this.$implicit = null;\n this.ngIf = null;\n }\n}\nfunction assertTemplate(property, templateRef) {\n const isTemplateRefOrNull = !!(!templateRef || templateRef.createEmbeddedView);\n if (!isTemplateRefOrNull) {\n throw new Error(`${property} must be a TemplateRef, but received '${ɵstringify(templateRef)}'.`);\n }\n}\n\nclass SwitchView {\n constructor(_viewContainerRef, _templateRef) {\n this._viewContainerRef = _viewContainerRef;\n this._templateRef = _templateRef;\n this._created = false;\n }\n create() {\n this._created = true;\n this._viewContainerRef.createEmbeddedView(this._templateRef);\n }\n destroy() {\n this._created = false;\n this._viewContainerRef.clear();\n }\n enforceState(created) {\n if (created && !this._created) {\n this.create();\n }\n else if (!created && this._created) {\n this.destroy();\n }\n }\n}\n/**\n * @ngModule CommonModule\n *\n * @description\n * The `[ngSwitch]` directive on a container specifies an expression to match against.\n * The expressions to match are provided by `ngSwitchCase` directives on views within the container.\n * - Every view that matches is rendered.\n * - If there are no matches, a view with the `ngSwitchDefault` directive is rendered.\n * - Elements within the `[NgSwitch]` statement but outside of any `NgSwitchCase`\n * or `ngSwitchDefault` directive are preserved at the location.\n *\n * @usageNotes\n * Define a container element for the directive, and specify the switch expression\n * to match against as an attribute:\n *\n * ```\n * \n * ```\n *\n * Within the container, `*ngSwitchCase` statements specify the match expressions\n * as attributes. Include `*ngSwitchDefault` as the final case.\n *\n * ```\n * \n * ...\n * ...\n * ...\n * \n * ```\n *\n * ### Usage Examples\n *\n * The following example shows how to use more than one case to display the same view:\n *\n * ```\n * \n * \n * ...\n * ...\n * ...\n * \n * ...\n * \n * ```\n *\n * The following example shows how cases can be nested:\n * ```\n * \n * ...\n * ...\n * ...\n * \n * \n * \n * \n * \n * ...\n * \n * ```\n *\n * @publicApi\n * @see {@link NgSwitchCase}\n * @see {@link NgSwitchDefault}\n * @see [Structural Directives](guide/structural-directives)\n *\n */\nclass NgSwitch {\n constructor() {\n this._defaultViews = [];\n this._defaultUsed = false;\n this._caseCount = 0;\n this._lastCaseCheckIndex = 0;\n this._lastCasesMatched = false;\n }\n set ngSwitch(newValue) {\n this._ngSwitch = newValue;\n if (this._caseCount === 0) {\n this._updateDefaultCases(true);\n }\n }\n /** @internal */\n _addCase() {\n return this._caseCount++;\n }\n /** @internal */\n _addDefault(view) {\n this._defaultViews.push(view);\n }\n /** @internal */\n _matchCase(value) {\n const matched = value == this._ngSwitch;\n this._lastCasesMatched = this._lastCasesMatched || matched;\n this._lastCaseCheckIndex++;\n if (this._lastCaseCheckIndex === this._caseCount) {\n this._updateDefaultCases(!this._lastCasesMatched);\n this._lastCaseCheckIndex = 0;\n this._lastCasesMatched = false;\n }\n return matched;\n }\n _updateDefaultCases(useDefault) {\n if (this._defaultViews.length > 0 && useDefault !== this._defaultUsed) {\n this._defaultUsed = useDefault;\n for (const defaultView of this._defaultViews) {\n defaultView.enforceState(useDefault);\n }\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: NgSwitch, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.2.12\", type: NgSwitch, isStandalone: true, selector: \"[ngSwitch]\", inputs: { ngSwitch: \"ngSwitch\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: NgSwitch, decorators: [{\n type: Directive,\n args: [{\n selector: '[ngSwitch]',\n standalone: true,\n }]\n }], propDecorators: { ngSwitch: [{\n type: Input\n }] } });\n/**\n * @ngModule CommonModule\n *\n * @description\n * Provides a switch case expression to match against an enclosing `ngSwitch` expression.\n * When the expressions match, the given `NgSwitchCase` template is rendered.\n * If multiple match expressions match the switch expression value, all of them are displayed.\n *\n * @usageNotes\n *\n * Within a switch container, `*ngSwitchCase` statements specify the match expressions\n * as attributes. Include `*ngSwitchDefault` as the final case.\n *\n * ```\n * \n * ...\n * ...\n * ...\n * \n * ```\n *\n * Each switch-case statement contains an in-line HTML template or template reference\n * that defines the subtree to be selected if the value of the match expression\n * matches the value of the switch expression.\n *\n * Unlike JavaScript, which uses strict equality, Angular uses loose equality.\n * This means that the empty string, `\"\"` matches 0.\n *\n * @publicApi\n * @see {@link NgSwitch}\n * @see {@link NgSwitchDefault}\n *\n */\nclass NgSwitchCase {\n constructor(viewContainer, templateRef, ngSwitch) {\n this.ngSwitch = ngSwitch;\n if ((typeof ngDevMode === 'undefined' || ngDevMode) && !ngSwitch) {\n throwNgSwitchProviderNotFoundError('ngSwitchCase', 'NgSwitchCase');\n }\n ngSwitch._addCase();\n this._view = new SwitchView(viewContainer, templateRef);\n }\n /**\n * Performs case matching. For internal use only.\n * @nodoc\n */\n ngDoCheck() {\n this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: NgSwitchCase, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: NgSwitch, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.2.12\", type: NgSwitchCase, isStandalone: true, selector: \"[ngSwitchCase]\", inputs: { ngSwitchCase: \"ngSwitchCase\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: NgSwitchCase, decorators: [{\n type: Directive,\n args: [{\n selector: '[ngSwitchCase]',\n standalone: true,\n }]\n }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.TemplateRef }, { type: NgSwitch, decorators: [{\n type: Optional\n }, {\n type: Host\n }] }]; }, propDecorators: { ngSwitchCase: [{\n type: Input\n }] } });\n/**\n * @ngModule CommonModule\n *\n * @description\n *\n * Creates a view that is rendered when no `NgSwitchCase` expressions\n * match the `NgSwitch` expression.\n * This statement should be the final case in an `NgSwitch`.\n *\n * @publicApi\n * @see {@link NgSwitch}\n * @see {@link NgSwitchCase}\n *\n */\nclass NgSwitchDefault {\n constructor(viewContainer, templateRef, ngSwitch) {\n if ((typeof ngDevMode === 'undefined' || ngDevMode) && !ngSwitch) {\n throwNgSwitchProviderNotFoundError('ngSwitchDefault', 'NgSwitchDefault');\n }\n ngSwitch._addDefault(new SwitchView(viewContainer, templateRef));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: NgSwitchDefault, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: NgSwitch, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.2.12\", type: NgSwitchDefault, isStandalone: true, selector: \"[ngSwitchDefault]\", ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: NgSwitchDefault, decorators: [{\n type: Directive,\n args: [{\n selector: '[ngSwitchDefault]',\n standalone: true,\n }]\n }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.TemplateRef }, { type: NgSwitch, decorators: [{\n type: Optional\n }, {\n type: Host\n }] }]; } });\nfunction throwNgSwitchProviderNotFoundError(attrName, directiveName) {\n throw new ɵRuntimeError(2000 /* RuntimeErrorCode.PARENT_NG_SWITCH_NOT_FOUND */, `An element with the \"${attrName}\" attribute ` +\n `(matching the \"${directiveName}\" directive) must be located inside an element with the \"ngSwitch\" attribute ` +\n `(matching \"NgSwitch\" directive)`);\n}\n\n/**\n * @ngModule CommonModule\n *\n * @usageNotes\n * ```\n * \n * there is nothing\n * there is one\n * there are a few\n * \n * ```\n *\n * @description\n *\n * Adds / removes DOM sub-trees based on a numeric value. Tailored for pluralization.\n *\n * Displays DOM sub-trees that match the switch expression value, or failing that, DOM sub-trees\n * that match the switch expression's pluralization category.\n *\n * To use this directive you must provide a container element that sets the `[ngPlural]` attribute\n * to a switch expression. Inner elements with a `[ngPluralCase]` will display based on their\n * expression:\n * - if `[ngPluralCase]` is set to a value starting with `=`, it will only display if the value\n * matches the switch expression exactly,\n * - otherwise, the view will be treated as a \"category match\", and will only display if exact\n * value matches aren't found and the value maps to its category for the defined locale.\n *\n * See http://cldr.unicode.org/index/cldr-spec/plural-rules\n *\n * @publicApi\n */\nclass NgPlural {\n constructor(_localization) {\n this._localization = _localization;\n this._caseViews = {};\n }\n set ngPlural(value) {\n this._updateView(value);\n }\n addCase(value, switchView) {\n this._caseViews[value] = switchView;\n }\n _updateView(switchValue) {\n this._clearViews();\n const cases = Object.keys(this._caseViews);\n const key = getPluralCategory(switchValue, cases, this._localization);\n this._activateView(this._caseViews[key]);\n }\n _clearViews() {\n if (this._activeView)\n this._activeView.destroy();\n }\n _activateView(view) {\n if (view) {\n this._activeView = view;\n this._activeView.create();\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: NgPlural, deps: [{ token: NgLocalization }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.2.12\", type: NgPlural, isStandalone: true, selector: \"[ngPlural]\", inputs: { ngPlural: \"ngPlural\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: NgPlural, decorators: [{\n type: Directive,\n args: [{\n selector: '[ngPlural]',\n standalone: true,\n }]\n }], ctorParameters: function () { return [{ type: NgLocalization }]; }, propDecorators: { ngPlural: [{\n type: Input\n }] } });\n/**\n * @ngModule CommonModule\n *\n * @description\n *\n * Creates a view that will be added/removed from the parent {@link NgPlural} when the\n * given expression matches the plural expression according to CLDR rules.\n *\n * @usageNotes\n * ```\n * \n * ...\n * ...\n * \n *```\n *\n * See {@link NgPlural} for more details and example.\n *\n * @publicApi\n */\nclass NgPluralCase {\n constructor(value, template, viewContainer, ngPlural) {\n this.value = value;\n const isANumber = !isNaN(Number(value));\n ngPlural.addCase(isANumber ? `=${value}` : value, new SwitchView(viewContainer, template));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: NgPluralCase, deps: [{ token: 'ngPluralCase', attribute: true }, { token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: NgPlural, host: true }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.2.12\", type: NgPluralCase, isStandalone: true, selector: \"[ngPluralCase]\", ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: NgPluralCase, decorators: [{\n type: Directive,\n args: [{\n selector: '[ngPluralCase]',\n standalone: true,\n }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Attribute,\n args: ['ngPluralCase']\n }] }, { type: i0.TemplateRef }, { type: i0.ViewContainerRef }, { type: NgPlural, decorators: [{\n type: Host\n }] }]; } });\n\n/**\n * @ngModule CommonModule\n *\n * @usageNotes\n *\n * Set the font of the containing element to the result of an expression.\n *\n * ```\n * ...\n * ```\n *\n * Set the width of the containing element to a pixel value returned by an expression.\n *\n * ```\n * ...\n * ```\n *\n * Set a collection of style values using an expression that returns key-value pairs.\n *\n * ```\n * ...\n * ```\n *\n * @description\n *\n * An attribute directive that updates styles for the containing HTML element.\n * Sets one or more style properties, specified as colon-separated key-value pairs.\n * The key is a style name, with an optional `.` suffix\n * (such as 'top.px', 'font-style.em').\n * The value is an expression to be evaluated.\n * The resulting non-null value, expressed in the given unit,\n * is assigned to the given style property.\n * If the result of evaluation is null, the corresponding style is removed.\n *\n * @publicApi\n */\nclass NgStyle {\n constructor(_ngEl, _differs, _renderer) {\n this._ngEl = _ngEl;\n this._differs = _differs;\n this._renderer = _renderer;\n this._ngStyle = null;\n this._differ = null;\n }\n set ngStyle(values) {\n this._ngStyle = values;\n if (!this._differ && values) {\n this._differ = this._differs.find(values).create();\n }\n }\n ngDoCheck() {\n if (this._differ) {\n const changes = this._differ.diff(this._ngStyle);\n if (changes) {\n this._applyChanges(changes);\n }\n }\n }\n _setStyle(nameAndUnit, value) {\n const [name, unit] = nameAndUnit.split('.');\n const flags = name.indexOf('-') === -1 ? undefined : RendererStyleFlags2.DashCase;\n if (value != null) {\n this._renderer.setStyle(this._ngEl.nativeElement, name, unit ? `${value}${unit}` : value, flags);\n }\n else {\n this._renderer.removeStyle(this._ngEl.nativeElement, name, flags);\n }\n }\n _applyChanges(changes) {\n changes.forEachRemovedItem((record) => this._setStyle(record.key, null));\n changes.forEachAddedItem((record) => this._setStyle(record.key, record.currentValue));\n changes.forEachChangedItem((record) => this._setStyle(record.key, record.currentValue));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: NgStyle, deps: [{ token: i0.ElementRef }, { token: i0.KeyValueDiffers }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.2.12\", type: NgStyle, isStandalone: true, selector: \"[ngStyle]\", inputs: { ngStyle: \"ngStyle\" }, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: NgStyle, decorators: [{\n type: Directive,\n args: [{\n selector: '[ngStyle]',\n standalone: true,\n }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.KeyValueDiffers }, { type: i0.Renderer2 }]; }, propDecorators: { ngStyle: [{\n type: Input,\n args: ['ngStyle']\n }] } });\n\n/**\n * @ngModule CommonModule\n *\n * @description\n *\n * Inserts an embedded view from a prepared `TemplateRef`.\n *\n * You can attach a context object to the `EmbeddedViewRef` by setting `[ngTemplateOutletContext]`.\n * `[ngTemplateOutletContext]` should be an object, the object's keys will be available for binding\n * by the local template `let` declarations.\n *\n * @usageNotes\n * ```\n * \n * ```\n *\n * Using the key `$implicit` in the context object will set its value as default.\n *\n * ### Example\n *\n * {@example common/ngTemplateOutlet/ts/module.ts region='NgTemplateOutlet'}\n *\n * @publicApi\n */\nclass NgTemplateOutlet {\n constructor(_viewContainerRef) {\n this._viewContainerRef = _viewContainerRef;\n this._viewRef = null;\n /**\n * A context object to attach to the {@link EmbeddedViewRef}. This should be an\n * object, the object's keys will be available for binding by the local template `let`\n * declarations.\n * Using the key `$implicit` in the context object will set its value as default.\n */\n this.ngTemplateOutletContext = null;\n /**\n * A string defining the template reference and optionally the context object for the template.\n */\n this.ngTemplateOutlet = null;\n /** Injector to be used within the embedded view. */\n this.ngTemplateOutletInjector = null;\n }\n /** @nodoc */\n ngOnChanges(changes) {\n if (changes['ngTemplateOutlet'] || changes['ngTemplateOutletInjector']) {\n const viewContainerRef = this._viewContainerRef;\n if (this._viewRef) {\n viewContainerRef.remove(viewContainerRef.indexOf(this._viewRef));\n }\n if (this.ngTemplateOutlet) {\n const { ngTemplateOutlet: template, ngTemplateOutletContext: context, ngTemplateOutletInjector: injector, } = this;\n this._viewRef =\n viewContainerRef.createEmbeddedView(template, context, injector ? { injector } : undefined);\n }\n else {\n this._viewRef = null;\n }\n }\n else if (this._viewRef && changes['ngTemplateOutletContext'] && this.ngTemplateOutletContext) {\n this._viewRef.context = this.ngTemplateOutletContext;\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: NgTemplateOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.2.12\", type: NgTemplateOutlet, isStandalone: true, selector: \"[ngTemplateOutlet]\", inputs: { ngTemplateOutletContext: \"ngTemplateOutletContext\", ngTemplateOutlet: \"ngTemplateOutlet\", ngTemplateOutletInjector: \"ngTemplateOutletInjector\" }, usesOnChanges: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: NgTemplateOutlet, decorators: [{\n type: Directive,\n args: [{\n selector: '[ngTemplateOutlet]',\n standalone: true,\n }]\n }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; }, propDecorators: { ngTemplateOutletContext: [{\n type: Input\n }], ngTemplateOutlet: [{\n type: Input\n }], ngTemplateOutletInjector: [{\n type: Input\n }] } });\n\n/**\n * A collection of Angular directives that are likely to be used in each and every Angular\n * application.\n */\nconst COMMON_DIRECTIVES = [\n NgClass,\n NgComponentOutlet,\n NgForOf,\n NgIf,\n NgTemplateOutlet,\n NgStyle,\n NgSwitch,\n NgSwitchCase,\n NgSwitchDefault,\n NgPlural,\n NgPluralCase,\n];\n\nfunction invalidPipeArgumentError(type, value) {\n return new ɵRuntimeError(2100 /* RuntimeErrorCode.INVALID_PIPE_ARGUMENT */, ngDevMode && `InvalidPipeArgument: '${value}' for pipe '${ɵstringify(type)}'`);\n}\n\nclass SubscribableStrategy {\n createSubscription(async, updateLatestValue) {\n // Subscription can be side-effectful, and we don't want any signal reads which happen in the\n // side effect of the subscription to be tracked by a component's template when that\n // subscription is triggered via the async pipe. So we wrap the subscription in `untracked` to\n // decouple from the current reactive context.\n //\n // `untracked` also prevents signal _writes_ which happen in the subscription side effect from\n // being treated as signal writes during the template evaluation (which throws errors).\n return untracked(() => async.subscribe({\n next: updateLatestValue,\n error: (e) => {\n throw e;\n }\n }));\n }\n dispose(subscription) {\n // See the comment in `createSubscription` above on the use of `untracked`.\n untracked(() => subscription.unsubscribe());\n }\n}\nclass PromiseStrategy {\n createSubscription(async, updateLatestValue) {\n return async.then(updateLatestValue, e => {\n throw e;\n });\n }\n dispose(subscription) { }\n}\nconst _promiseStrategy = new PromiseStrategy();\nconst _subscribableStrategy = new SubscribableStrategy();\n/**\n * @ngModule CommonModule\n * @description\n *\n * Unwraps a value from an asynchronous primitive.\n *\n * The `async` pipe subscribes to an `Observable` or `Promise` and returns the latest value it has\n * emitted. When a new value is emitted, the `async` pipe marks the component to be checked for\n * changes. When the component gets destroyed, the `async` pipe unsubscribes automatically to avoid\n * potential memory leaks. When the reference of the expression changes, the `async` pipe\n * automatically unsubscribes from the old `Observable` or `Promise` and subscribes to the new one.\n *\n * @usageNotes\n *\n * ### Examples\n *\n * This example binds a `Promise` to the view. Clicking the `Resolve` button resolves the\n * promise.\n *\n * {@example common/pipes/ts/async_pipe.ts region='AsyncPipePromise'}\n *\n * It's also possible to use `async` with Observables. The example below binds the `time` Observable\n * to the view. The Observable continuously updates the view with the current time.\n *\n * {@example common/pipes/ts/async_pipe.ts region='AsyncPipeObservable'}\n *\n * @publicApi\n */\nclass AsyncPipe {\n constructor(ref) {\n this._latestValue = null;\n this._subscription = null;\n this._obj = null;\n this._strategy = null;\n // Assign `ref` into `this._ref` manually instead of declaring `_ref` in the constructor\n // parameter list, as the type of `this._ref` includes `null` unlike the type of `ref`.\n this._ref = ref;\n }\n ngOnDestroy() {\n if (this._subscription) {\n this._dispose();\n }\n // Clear the `ChangeDetectorRef` and its association with the view data, to mitigate\n // potential memory leaks in Observables that could otherwise cause the view data to\n // be retained.\n // https://github.com/angular/angular/issues/17624\n this._ref = null;\n }\n transform(obj) {\n if (!this._obj) {\n if (obj) {\n this._subscribe(obj);\n }\n return this._latestValue;\n }\n if (obj !== this._obj) {\n this._dispose();\n return this.transform(obj);\n }\n return this._latestValue;\n }\n _subscribe(obj) {\n this._obj = obj;\n this._strategy = this._selectStrategy(obj);\n this._subscription = this._strategy.createSubscription(obj, (value) => this._updateLatestValue(obj, value));\n }\n _selectStrategy(obj) {\n if (ɵisPromise(obj)) {\n return _promiseStrategy;\n }\n if (ɵisSubscribable(obj)) {\n return _subscribableStrategy;\n }\n throw invalidPipeArgumentError(AsyncPipe, obj);\n }\n _dispose() {\n // Note: `dispose` is only called if a subscription has been initialized before, indicating\n // that `this._strategy` is also available.\n this._strategy.dispose(this._subscription);\n this._latestValue = null;\n this._subscription = null;\n this._obj = null;\n }\n _updateLatestValue(async, value) {\n if (async === this._obj) {\n this._latestValue = value;\n // Note: `this._ref` is only cleared in `ngOnDestroy` so is known to be available when a\n // value is being updated.\n this._ref.markForCheck();\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: AsyncPipe, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Pipe }); }\n static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"16.2.12\", ngImport: i0, type: AsyncPipe, isStandalone: true, name: \"async\", pure: false }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: AsyncPipe, decorators: [{\n type: Pipe,\n args: [{\n name: 'async',\n pure: false,\n standalone: true,\n }]\n }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; } });\n\n/**\n * Transforms text to all lower case.\n *\n * @see {@link UpperCasePipe}\n * @see {@link TitleCasePipe}\n * @usageNotes\n *\n * The following example defines a view that allows the user to enter\n * text, and then uses the pipe to convert the input text to all lower case.\n *\n * \n *\n * @ngModule CommonModule\n * @publicApi\n */\nclass LowerCasePipe {\n transform(value) {\n if (value == null)\n return null;\n if (typeof value !== 'string') {\n throw invalidPipeArgumentError(LowerCasePipe, value);\n }\n return value.toLowerCase();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: LowerCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }\n static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"16.2.12\", ngImport: i0, type: LowerCasePipe, isStandalone: true, name: \"lowercase\" }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: LowerCasePipe, decorators: [{\n type: Pipe,\n args: [{\n name: 'lowercase',\n standalone: true,\n }]\n }] });\n//\n// Regex below matches any Unicode word and number compatible with ES5. In ES2018 the same result\n// can be achieved by using /[0-9\\p{L}]\\S*/gu and also known as Unicode Property Escapes\n// (https://2ality.com/2017/07/regexp-unicode-property-escapes.html). Since there is no\n// transpilation of this functionality down to ES5 without external tool, the only solution is\n// to use already transpiled form. Example can be found here -\n// https://mothereff.in/regexpu#input=var+regex+%3D+%2F%5B0-9%5Cp%7BL%7D%5D%5CS*%2Fgu%3B%0A%0A&unicodePropertyEscape=1\n//\nconst unicodeWordMatch = /(?:[0-9A-Za-z\\xAA\\xB5\\xBA\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0560-\\u0588\\u05D0-\\u05EA\\u05EF-\\u05F2\\u0620-\\u064A\\u066E\\u066F\\u0671-\\u06D3\\u06D5\\u06E5\\u06E6\\u06EE\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA\\u07F4\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0840-\\u0858\\u0860-\\u086A\\u0870-\\u0887\\u0889-\\u088E\\u08A0-\\u08C9\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971-\\u0980\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u09FC\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0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248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F5\\u13F8-\\u13FD\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16F1-\\u16F8\\u1700-\\u1711\\u171F-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7\\u17DC\\u1820-\\u1878\\u1880-\\u1884\\u1887-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19B0-\\u19C9\\u1A00-\\u1A16\\u1A20-\\u1A54\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4C\\u1B83-\\u1BA0\\u1BAE\\u1BAF\\u1BBA-\\u1BE5\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1C80-\\u1C88\\u1C90-\\u1CBA\\u1CBD-\\u1CBF\\u1CE9-\\u1CEC\\u1CEE-\\u1CF3\\u1CF5\\u1CF6\\u1CFA\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F\\u2090-\\u209C\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2183\\u2184\\u2C00-\\u2CE4\\u2CEB-\\u2CEE\\u2CF2\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005\\u3006\\u3031-\\u3035\\u303B\\u303C\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312F\\u3131-\\u318E\\u31A0-\\u31BF\\u31F0-\\u31FF\\u3400-\\u4DBF\\u4E00-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A\\uA62B\\uA640-\\uA66E\\uA67F-\\uA69D\\uA6A0-\\uA6E5\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA7CA\\uA7D0\\uA7D1\\uA7D3\\uA7D5-\\uA7D9\\uA7F2-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB\\uA8FD\\uA8FE\\uA90A-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9CF\\uA9E0-\\uA9E4\\uA9E6-\\uA9EF\\uA9FA-\\uA9FE\\uAA00-\\uAA28\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAA60-\\uAA76\\uAA7A\\uAA7E-\\uAAAF\\uAAB1\\uAAB5\\uAAB6\\uAAB9-\\uAABD\\uAAC0\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEA\\uAAF2-\\uAAF4\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\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\\uDD09\\uDD0C-\\uDD13\\uDD15\\uDD16\\uDD18-\\uDD2F\\uDD3F\\uDD41\\uDDA0-\\uDDA7\\uDDAA-\\uDDD0\\uDDE1\\uDDE3\\uDE00\\uDE0B-\\uDE32\\uDE3A\\uDE50\\uDE5C-\\uDE89\\uDE9D\\uDEB0-\\uDEF8]|\\uD807[\\uDC00-\\uDC08\\uDC0A-\\uDC2E\\uDC40\\uDC72-\\uDC8F\\uDD00-\\uDD06\\uDD08\\uDD09\\uDD0B-\\uDD30\\uDD46\\uDD60-\\uDD65\\uDD67\\uDD68\\uDD6A-\\uDD89\\uDD98\\uDEE0-\\uDEF2\\uDFB0]|\\uD808[\\uDC00-\\uDF99]|\\uD809[\\uDC80-\\uDD43]|\\uD80B[\\uDF90-\\uDFF0]|[\\uD80C\\uD81C-\\uD820\\uD822\\uD840-\\uD868\\uD86A-\\uD86C\\uD86F-\\uD872\\uD874-\\uD879\\uD880-\\uD883][\\uDC00-\\uDFFF]|\\uD80D[\\uDC00-\\uDC2E]|\\uD811[\\uDC00-\\uDE46]|\\uD81A[\\uDC00-\\uDE38\\uDE40-\\uDE5E\\uDE70-\\uDEBE\\uDED0-\\uDEED\\uDF00-\\uDF2F\\uDF40-\\uDF43\\uDF63-\\uDF77\\uDF7D-\\uDF8F]|\\uD81B[\\uDE40-\\uDE7F\\uDF00-\\uDF4A\\uDF50\\uDF93-\\uDF9F\\uDFE0\\uDFE1\\uDFE3]|\\uD821[\\uDC00-\\uDFF7]|\\uD823[\\uDC00-\\uDCD5\\uDD00-\\uDD08]|\\uD82B[\\uDFF0-\\uDFF3\\uDFF5-\\uDFFB\\uDFFD\\uDFFE]|\\uD82C[\\uDC00-\\uDD22\\uDD50-\\uDD52\\uDD64-\\uDD67\\uDD70-\\uDEFB]|\\uD82F[\\uDC00-\\uDC6A\\uDC70-\\uDC7C\\uDC80-\\uDC88\\uDC90-\\uDC99]|\\uD835[\\uDC00-\\uDC54\\uDC56-\\uDC9C\\uDC9E\\u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\\uD873[\\uDC00-\\uDEA1\\uDEB0-\\uDFFF]|\\uD87A[\\uDC00-\\uDFE0]|\\uD87E[\\uDC00-\\uDE1D]|\\uD884[\\uDC00-\\uDF4A])\\S*/g;\n/**\n * Transforms text to title case.\n * Capitalizes the first letter of each word and transforms the\n * rest of the word to lower case.\n * Words are delimited by any whitespace character, such as a space, tab, or line-feed character.\n *\n * @see {@link LowerCasePipe}\n * @see {@link UpperCasePipe}\n *\n * @usageNotes\n * The following example shows the result of transforming various strings into title case.\n *\n * \n *\n * @ngModule CommonModule\n * @publicApi\n */\nclass TitleCasePipe {\n transform(value) {\n if (value == null)\n return null;\n if (typeof value !== 'string') {\n throw invalidPipeArgumentError(TitleCasePipe, value);\n }\n return value.replace(unicodeWordMatch, (txt => txt[0].toUpperCase() + txt.slice(1).toLowerCase()));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: TitleCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }\n static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"16.2.12\", ngImport: i0, type: TitleCasePipe, isStandalone: true, name: \"titlecase\" }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: TitleCasePipe, decorators: [{\n type: Pipe,\n args: [{\n name: 'titlecase',\n standalone: true,\n }]\n }] });\n/**\n * Transforms text to all upper case.\n * @see {@link LowerCasePipe}\n * @see {@link TitleCasePipe}\n *\n * @ngModule CommonModule\n * @publicApi\n */\nclass UpperCasePipe {\n transform(value) {\n if (value == null)\n return null;\n if (typeof value !== 'string') {\n throw invalidPipeArgumentError(UpperCasePipe, value);\n }\n return value.toUpperCase();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: UpperCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }\n static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"16.2.12\", ngImport: i0, type: UpperCasePipe, isStandalone: true, name: \"uppercase\" }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: UpperCasePipe, decorators: [{\n type: Pipe,\n args: [{\n name: 'uppercase',\n standalone: true,\n }]\n }] });\n\n/**\n * The default date format of Angular date pipe, which corresponds to the following format:\n * `'MMM d,y'` (e.g. `Jun 15, 2015`)\n */\nconst DEFAULT_DATE_FORMAT = 'mediumDate';\n\n/**\n * Optionally-provided default timezone to use for all instances of `DatePipe` (such as `'+0430'`).\n * If the value isn't provided, the `DatePipe` will use the end-user's local system timezone.\n *\n * @deprecated use DATE_PIPE_DEFAULT_OPTIONS token to configure DatePipe\n */\nconst DATE_PIPE_DEFAULT_TIMEZONE = new InjectionToken('DATE_PIPE_DEFAULT_TIMEZONE');\n/**\n * DI token that allows to provide default configuration for the `DatePipe` instances in an\n * application. The value is an object which can include the following fields:\n * - `dateFormat`: configures the default date format. If not provided, the `DatePipe`\n * will use the 'mediumDate' as a value.\n * - `timezone`: configures the default timezone. If not provided, the `DatePipe` will\n * use the end-user's local system timezone.\n *\n * @see {@link DatePipeConfig}\n *\n * @usageNotes\n *\n * Various date pipe default values can be overwritten by providing this token with\n * the value that has this interface.\n *\n * For example:\n *\n * Override the default date format by providing a value using the token:\n * ```typescript\n * providers: [\n * {provide: DATE_PIPE_DEFAULT_OPTIONS, useValue: {dateFormat: 'shortDate'}}\n * ]\n * ```\n *\n * Override the default timezone by providing a value using the token:\n * ```typescript\n * providers: [\n * {provide: DATE_PIPE_DEFAULT_OPTIONS, useValue: {timezone: '-1200'}}\n * ]\n * ```\n */\nconst DATE_PIPE_DEFAULT_OPTIONS = new InjectionToken('DATE_PIPE_DEFAULT_OPTIONS');\n// clang-format off\n/**\n * @ngModule CommonModule\n * @description\n *\n * Formats a date value according to locale rules.\n *\n * `DatePipe` is executed only when it detects a pure change to the input value.\n * A pure change is either a change to a primitive input value\n * (such as `String`, `Number`, `Boolean`, or `Symbol`),\n * or a changed object reference (such as `Date`, `Array`, `Function`, or `Object`).\n *\n * Note that mutating a `Date` object does not cause the pipe to be rendered again.\n * To ensure that the pipe is executed, you must create a new `Date` object.\n *\n * Only the `en-US` locale data comes with Angular. To localize dates\n * in another language, you must import the corresponding locale data.\n * See the [I18n guide](guide/i18n-common-format-data-locale) for more information.\n *\n * The time zone of the formatted value can be specified either by passing it in as the second\n * parameter of the pipe, or by setting the default through the `DATE_PIPE_DEFAULT_OPTIONS`\n * injection token. The value that is passed in as the second parameter takes precedence over\n * the one defined using the injection token.\n *\n * @see {@link formatDate}\n *\n *\n * @usageNotes\n *\n * The result of this pipe is not reevaluated when the input is mutated. To avoid the need to\n * reformat the date on every change-detection cycle, treat the date as an immutable object\n * and change the reference when the pipe needs to run again.\n *\n * ### Pre-defined format options\n *\n * | Option | Equivalent to | Examples (given in `en-US` locale) |\n * |---------------|-------------------------------------|-------------------------------------------------|\n * | `'short'` | `'M/d/yy, h:mm a'` | `6/15/15, 9:03 AM` |\n * | `'medium'` | `'MMM d, y, h:mm:ss a'` | `Jun 15, 2015, 9:03:01 AM` |\n * | `'long'` | `'MMMM d, y, h:mm:ss a z'` | `June 15, 2015 at 9:03:01 AM GMT+1` |\n * | `'full'` | `'EEEE, MMMM d, y, h:mm:ss a zzzz'` | `Monday, June 15, 2015 at 9:03:01 AM GMT+01:00` |\n * | `'shortDate'` | `'M/d/yy'` | `6/15/15` |\n * | `'mediumDate'`| `'MMM d, y'` | `Jun 15, 2015` |\n * | `'longDate'` | `'MMMM d, y'` | `June 15, 2015` |\n * | `'fullDate'` | `'EEEE, MMMM d, y'` | `Monday, June 15, 2015` |\n * | `'shortTime'` | `'h:mm a'` | `9:03 AM` |\n * | `'mediumTime'`| `'h:mm:ss a'` | `9:03:01 AM` |\n * | `'longTime'` | `'h:mm:ss a z'` | `9:03:01 AM GMT+1` |\n * | `'fullTime'` | `'h:mm:ss a zzzz'` | `9:03:01 AM GMT+01:00` |\n *\n * ### Custom format options\n *\n * You can construct a format string using symbols to specify the components\n * of a date-time value, as described in the following table.\n * Format details depend on the locale.\n * Fields marked with (*) are only available in the extra data set for the given locale.\n *\n * | Field type | Format | Description | Example Value |\n * |-------------------- |-------------|---------------------------------------------------------------|------------------------------------------------------------|\n * | Era | G, GG & GGG | Abbreviated | AD |\n * | | GGGG | Wide | Anno Domini |\n * | | GGGGG | Narrow | A |\n * | Year | y | Numeric: minimum digits | 2, 20, 201, 2017, 20173 |\n * | | yy | Numeric: 2 digits + zero padded | 02, 20, 01, 17, 73 |\n * | | yyy | Numeric: 3 digits + zero padded | 002, 020, 201, 2017, 20173 |\n * | | yyyy | Numeric: 4 digits or more + zero padded | 0002, 0020, 0201, 2017, 20173 |\n * | Week-numbering year | Y | Numeric: minimum digits | 2, 20, 201, 2017, 20173 |\n * | | YY | Numeric: 2 digits + zero padded | 02, 20, 01, 17, 73 |\n * | | YYY | Numeric: 3 digits + zero padded | 002, 020, 201, 2017, 20173 |\n * | | YYYY | Numeric: 4 digits or more + zero padded | 0002, 0020, 0201, 2017, 20173 |\n * | Month | M | Numeric: 1 digit | 9, 12 |\n * | | MM | Numeric: 2 digits + zero padded | 09, 12 |\n * | | MMM | Abbreviated | Sep |\n * | | MMMM | Wide | September |\n * | | MMMMM | Narrow | S |\n * | Month standalone | L | Numeric: 1 digit | 9, 12 |\n * | | LL | Numeric: 2 digits + zero padded | 09, 12 |\n * | | LLL | Abbreviated | Sep |\n * | | LLLL | Wide | September |\n * | | LLLLL | Narrow | S |\n * | Week of year | w | Numeric: minimum digits | 1... 53 |\n * | | ww | Numeric: 2 digits + zero padded | 01... 53 |\n * | Week of month | W | Numeric: 1 digit | 1... 5 |\n * | Day of month | d | Numeric: minimum digits | 1 |\n * | | dd | Numeric: 2 digits + zero padded | 01 |\n * | Week day | E, EE & EEE | Abbreviated | Tue |\n * | | EEEE | Wide | Tuesday |\n * | | EEEEE | Narrow | T |\n * | | EEEEEE | Short | Tu |\n * | Week day standalone | c, cc | Numeric: 1 digit | 2 |\n * | | ccc | Abbreviated | Tue |\n * | | cccc | Wide | Tuesday |\n * | | ccccc | Narrow | T |\n * | | cccccc | Short | Tu |\n * | Period | a, aa & aaa | Abbreviated | am/pm or AM/PM |\n * | | aaaa | Wide (fallback to `a` when missing) | ante meridiem/post meridiem |\n * | | aaaaa | Narrow | a/p |\n * | Period* | B, BB & BBB | Abbreviated | mid. |\n * | | BBBB | Wide | am, pm, midnight, noon, morning, afternoon, evening, night |\n * | | BBBBB | Narrow | md |\n * | Period standalone* | b, bb & bbb | Abbreviated | mid. |\n * | | bbbb | Wide | am, pm, midnight, noon, morning, afternoon, evening, night |\n * | | bbbbb | Narrow | md |\n * | Hour 1-12 | h | Numeric: minimum digits | 1, 12 |\n * | | hh | Numeric: 2 digits + zero padded | 01, 12 |\n * | Hour 0-23 | H | Numeric: minimum digits | 0, 23 |\n * | | HH | Numeric: 2 digits + zero padded | 00, 23 |\n * | Minute | m | Numeric: minimum digits | 8, 59 |\n * | | mm | Numeric: 2 digits + zero padded | 08, 59 |\n * | Second | s | Numeric: minimum digits | 0... 59 |\n * | | ss | Numeric: 2 digits + zero padded | 00... 59 |\n * | Fractional seconds | S | Numeric: 1 digit | 0... 9 |\n * | | SS | Numeric: 2 digits + zero padded | 00... 99 |\n * | | SSS | Numeric: 3 digits + zero padded (= milliseconds) | 000... 999 |\n * | Zone | z, zz & zzz | Short specific non location format (fallback to O) | GMT-8 |\n * | | zzzz | Long specific non location format (fallback to OOOO) | GMT-08:00 |\n * | | Z, ZZ & ZZZ | ISO8601 basic format | -0800 |\n * | | ZZZZ | Long localized GMT format | GMT-8:00 |\n * | | ZZZZZ | ISO8601 extended format + Z indicator for offset 0 (= XXXXX) | -08:00 |\n * | | O, OO & OOO | Short localized GMT format | GMT-8 |\n * | | OOOO | Long localized GMT format | GMT-08:00 |\n *\n *\n * ### Format examples\n *\n * These examples transform a date into various formats,\n * assuming that `dateObj` is a JavaScript `Date` object for\n * year: 2015, month: 6, day: 15, hour: 21, minute: 43, second: 11,\n * given in the local time for the `en-US` locale.\n *\n * ```\n * {{ dateObj | date }} // output is 'Jun 15, 2015'\n * {{ dateObj | date:'medium' }} // output is 'Jun 15, 2015, 9:43:11 PM'\n * {{ dateObj | date:'shortTime' }} // output is '9:43 PM'\n * {{ dateObj | date:'mm:ss' }} // output is '43:11'\n * {{ dateObj | date:\"MMM dd, yyyy 'at' hh:mm a\" }} // output is 'Jun 15, 2015 at 09:43 PM'\n * ```\n *\n * ### Usage example\n *\n * The following component uses a date pipe to display the current date in different formats.\n *\n * ```\n * @Component({\n * selector: 'date-pipe',\n * template: `
    \n *

    Today is {{today | date}}

    \n *

    Or if you prefer, {{today | date:'fullDate'}}

    \n *

    The time is {{today | date:'h:mm a z'}}

    \n *
    `\n * })\n * // Get the current date and time as a date-time value.\n * export class DatePipeComponent {\n * today: number = Date.now();\n * }\n * ```\n *\n * @publicApi\n */\n// clang-format on\nclass DatePipe {\n constructor(locale, defaultTimezone, defaultOptions) {\n this.locale = locale;\n this.defaultTimezone = defaultTimezone;\n this.defaultOptions = defaultOptions;\n }\n transform(value, format, timezone, locale) {\n if (value == null || value === '' || value !== value)\n return null;\n try {\n const _format = format ?? this.defaultOptions?.dateFormat ?? DEFAULT_DATE_FORMAT;\n const _timezone = timezone ?? this.defaultOptions?.timezone ?? this.defaultTimezone ?? undefined;\n return formatDate(value, _format, locale || this.locale, _timezone);\n }\n catch (error) {\n throw invalidPipeArgumentError(DatePipe, error.message);\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: DatePipe, deps: [{ token: LOCALE_ID }, { token: DATE_PIPE_DEFAULT_TIMEZONE, optional: true }, { token: DATE_PIPE_DEFAULT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Pipe }); }\n static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"16.2.12\", ngImport: i0, type: DatePipe, isStandalone: true, name: \"date\" }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: DatePipe, decorators: [{\n type: Pipe,\n args: [{\n name: 'date',\n pure: true,\n standalone: true,\n }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [LOCALE_ID]\n }] }, { type: undefined, decorators: [{\n type: Inject,\n args: [DATE_PIPE_DEFAULT_TIMEZONE]\n }, {\n type: Optional\n }] }, { type: undefined, decorators: [{\n type: Inject,\n args: [DATE_PIPE_DEFAULT_OPTIONS]\n }, {\n type: Optional\n }] }]; } });\n\nconst _INTERPOLATION_REGEXP = /#/g;\n/**\n * @ngModule CommonModule\n * @description\n *\n * Maps a value to a string that pluralizes the value according to locale rules.\n *\n * @usageNotes\n *\n * ### Example\n *\n * {@example common/pipes/ts/i18n_pipe.ts region='I18nPluralPipeComponent'}\n *\n * @publicApi\n */\nclass I18nPluralPipe {\n constructor(_localization) {\n this._localization = _localization;\n }\n /**\n * @param value the number to be formatted\n * @param pluralMap an object that mimics the ICU format, see\n * https://unicode-org.github.io/icu/userguide/format_parse/messages/.\n * @param locale a `string` defining the locale to use (uses the current {@link LOCALE_ID} by\n * default).\n */\n transform(value, pluralMap, locale) {\n if (value == null)\n return '';\n if (typeof pluralMap !== 'object' || pluralMap === null) {\n throw invalidPipeArgumentError(I18nPluralPipe, pluralMap);\n }\n const key = getPluralCategory(value, Object.keys(pluralMap), this._localization, locale);\n return pluralMap[key].replace(_INTERPOLATION_REGEXP, value.toString());\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: I18nPluralPipe, deps: [{ token: NgLocalization }], target: i0.ɵɵFactoryTarget.Pipe }); }\n static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"16.2.12\", ngImport: i0, type: I18nPluralPipe, isStandalone: true, name: \"i18nPlural\" }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: I18nPluralPipe, decorators: [{\n type: Pipe,\n args: [{\n name: 'i18nPlural',\n pure: true,\n standalone: true,\n }]\n }], ctorParameters: function () { return [{ type: NgLocalization }]; } });\n\n/**\n * @ngModule CommonModule\n * @description\n *\n * Generic selector that displays the string that matches the current value.\n *\n * If none of the keys of the `mapping` match the `value`, then the content\n * of the `other` key is returned when present, otherwise an empty string is returned.\n *\n * @usageNotes\n *\n * ### Example\n *\n * {@example common/pipes/ts/i18n_pipe.ts region='I18nSelectPipeComponent'}\n *\n * @publicApi\n */\nclass I18nSelectPipe {\n /**\n * @param value a string to be internationalized.\n * @param mapping an object that indicates the text that should be displayed\n * for different values of the provided `value`.\n */\n transform(value, mapping) {\n if (value == null)\n return '';\n if (typeof mapping !== 'object' || typeof value !== 'string') {\n throw invalidPipeArgumentError(I18nSelectPipe, mapping);\n }\n if (mapping.hasOwnProperty(value)) {\n return mapping[value];\n }\n if (mapping.hasOwnProperty('other')) {\n return mapping['other'];\n }\n return '';\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: I18nSelectPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }\n static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"16.2.12\", ngImport: i0, type: I18nSelectPipe, isStandalone: true, name: \"i18nSelect\" }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: I18nSelectPipe, decorators: [{\n type: Pipe,\n args: [{\n name: 'i18nSelect',\n pure: true,\n standalone: true,\n }]\n }] });\n\n/**\n * @ngModule CommonModule\n * @description\n *\n * Converts a value into its JSON-format representation. Useful for debugging.\n *\n * @usageNotes\n *\n * The following component uses a JSON pipe to convert an object\n * to JSON format, and displays the string in both formats for comparison.\n *\n * {@example common/pipes/ts/json_pipe.ts region='JsonPipe'}\n *\n * @publicApi\n */\nclass JsonPipe {\n /**\n * @param value A value of any type to convert into a JSON-format string.\n */\n transform(value) {\n return JSON.stringify(value, null, 2);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: JsonPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }\n static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"16.2.12\", ngImport: i0, type: JsonPipe, isStandalone: true, name: \"json\", pure: false }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: JsonPipe, decorators: [{\n type: Pipe,\n args: [{\n name: 'json',\n pure: false,\n standalone: true,\n }]\n }] });\n\nfunction makeKeyValuePair(key, value) {\n return { key: key, value: value };\n}\n/**\n * @ngModule CommonModule\n * @description\n *\n * Transforms Object or Map into an array of key value pairs.\n *\n * The output array will be ordered by keys.\n * By default the comparator will be by Unicode point value.\n * You can optionally pass a compareFn if your keys are complex types.\n *\n * @usageNotes\n * ### Examples\n *\n * This examples show how an Object or a Map can be iterated by ngFor with the use of this\n * keyvalue pipe.\n *\n * {@example common/pipes/ts/keyvalue_pipe.ts region='KeyValuePipe'}\n *\n * @publicApi\n */\nclass KeyValuePipe {\n constructor(differs) {\n this.differs = differs;\n this.keyValues = [];\n this.compareFn = defaultComparator;\n }\n transform(input, compareFn = defaultComparator) {\n if (!input || (!(input instanceof Map) && typeof input !== 'object')) {\n return null;\n }\n if (!this.differ) {\n // make a differ for whatever type we've been passed in\n this.differ = this.differs.find(input).create();\n }\n const differChanges = this.differ.diff(input);\n const compareFnChanged = compareFn !== this.compareFn;\n if (differChanges) {\n this.keyValues = [];\n differChanges.forEachItem((r) => {\n this.keyValues.push(makeKeyValuePair(r.key, r.currentValue));\n });\n }\n if (differChanges || compareFnChanged) {\n this.keyValues.sort(compareFn);\n this.compareFn = compareFn;\n }\n return this.keyValues;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: KeyValuePipe, deps: [{ token: i0.KeyValueDiffers }], target: i0.ɵɵFactoryTarget.Pipe }); }\n static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"16.2.12\", ngImport: i0, type: KeyValuePipe, isStandalone: true, name: \"keyvalue\", pure: false }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: KeyValuePipe, decorators: [{\n type: Pipe,\n args: [{\n name: 'keyvalue',\n pure: false,\n standalone: true,\n }]\n }], ctorParameters: function () { return [{ type: i0.KeyValueDiffers }]; } });\nfunction defaultComparator(keyValueA, keyValueB) {\n const a = keyValueA.key;\n const b = keyValueB.key;\n // if same exit with 0;\n if (a === b)\n return 0;\n // make sure that undefined are at the end of the sort.\n if (a === undefined)\n return 1;\n if (b === undefined)\n return -1;\n // make sure that nulls are at the end of the sort.\n if (a === null)\n return 1;\n if (b === null)\n return -1;\n if (typeof a == 'string' && typeof b == 'string') {\n return a < b ? -1 : 1;\n }\n if (typeof a == 'number' && typeof b == 'number') {\n return a - b;\n }\n if (typeof a == 'boolean' && typeof b == 'boolean') {\n return a < b ? -1 : 1;\n }\n // `a` and `b` are of different types. Compare their string values.\n const aString = String(a);\n const bString = String(b);\n return aString == bString ? 0 : aString < bString ? -1 : 1;\n}\n\n/**\n * @ngModule CommonModule\n * @description\n *\n * Formats a value according to digit options and locale rules.\n * Locale determines group sizing and separator,\n * decimal point character, and other locale-specific configurations.\n *\n * @see {@link formatNumber}\n *\n * @usageNotes\n *\n * ### digitsInfo\n *\n * The value's decimal representation is specified by the `digitsInfo`\n * parameter, written in the following format:
    \n *\n * ```\n * {minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}\n * ```\n *\n * - `minIntegerDigits`:\n * The minimum number of integer digits before the decimal point.\n * Default is 1.\n *\n * - `minFractionDigits`:\n * The minimum number of digits after the decimal point.\n * Default is 0.\n *\n * - `maxFractionDigits`:\n * The maximum number of digits after the decimal point.\n * Default is 3.\n *\n * If the formatted value is truncated it will be rounded using the \"to-nearest\" method:\n *\n * ```\n * {{3.6 | number: '1.0-0'}}\n * \n *\n * {{-3.6 | number:'1.0-0'}}\n * \n * ```\n *\n * ### locale\n *\n * `locale` will format a value according to locale rules.\n * Locale determines group sizing and separator,\n * decimal point character, and other locale-specific configurations.\n *\n * When not supplied, uses the value of `LOCALE_ID`, which is `en-US` by default.\n *\n * See [Setting your app locale](guide/i18n-common-locale-id).\n *\n * ### Example\n *\n * The following code shows how the pipe transforms values\n * according to various format specifications,\n * where the caller's default locale is `en-US`.\n *\n * \n *\n * @publicApi\n */\nclass DecimalPipe {\n constructor(_locale) {\n this._locale = _locale;\n }\n /**\n * @param value The value to be formatted.\n * @param digitsInfo Sets digit and decimal representation.\n * [See more](#digitsinfo).\n * @param locale Specifies what locale format rules to use.\n * [See more](#locale).\n */\n transform(value, digitsInfo, locale) {\n if (!isValue(value))\n return null;\n locale = locale || this._locale;\n try {\n const num = strToNumber(value);\n return formatNumber(num, locale, digitsInfo);\n }\n catch (error) {\n throw invalidPipeArgumentError(DecimalPipe, error.message);\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: DecimalPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe }); }\n static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"16.2.12\", ngImport: i0, type: DecimalPipe, isStandalone: true, name: \"number\" }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: DecimalPipe, decorators: [{\n type: Pipe,\n args: [{\n name: 'number',\n standalone: true,\n }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [LOCALE_ID]\n }] }]; } });\n/**\n * @ngModule CommonModule\n * @description\n *\n * Transforms a number to a percentage\n * string, formatted according to locale rules that determine group sizing and\n * separator, decimal-point character, and other locale-specific\n * configurations.\n *\n * @see {@link formatPercent}\n *\n * @usageNotes\n * The following code shows how the pipe transforms numbers\n * into text strings, according to various format specifications,\n * where the caller's default locale is `en-US`.\n *\n * \n *\n * @publicApi\n */\nclass PercentPipe {\n constructor(_locale) {\n this._locale = _locale;\n }\n /**\n *\n * @param value The number to be formatted as a percentage.\n * @param digitsInfo Decimal representation options, specified by a string\n * in the following format:
    \n * {minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}.\n * - `minIntegerDigits`: The minimum number of integer digits before the decimal point.\n * Default is `1`.\n * - `minFractionDigits`: The minimum number of digits after the decimal point.\n * Default is `0`.\n * - `maxFractionDigits`: The maximum number of digits after the decimal point.\n * Default is `0`.\n * @param locale A locale code for the locale format rules to use.\n * When not supplied, uses the value of `LOCALE_ID`, which is `en-US` by default.\n * See [Setting your app locale](guide/i18n-common-locale-id).\n */\n transform(value, digitsInfo, locale) {\n if (!isValue(value))\n return null;\n locale = locale || this._locale;\n try {\n const num = strToNumber(value);\n return formatPercent(num, locale, digitsInfo);\n }\n catch (error) {\n throw invalidPipeArgumentError(PercentPipe, error.message);\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: PercentPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe }); }\n static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"16.2.12\", ngImport: i0, type: PercentPipe, isStandalone: true, name: \"percent\" }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: PercentPipe, decorators: [{\n type: Pipe,\n args: [{\n name: 'percent',\n standalone: true,\n }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [LOCALE_ID]\n }] }]; } });\n/**\n * @ngModule CommonModule\n * @description\n *\n * Transforms a number to a currency string, formatted according to locale rules\n * that determine group sizing and separator, decimal-point character,\n * and other locale-specific configurations.\n *\n *\n * @see {@link getCurrencySymbol}\n * @see {@link formatCurrency}\n *\n * @usageNotes\n * The following code shows how the pipe transforms numbers\n * into text strings, according to various format specifications,\n * where the caller's default locale is `en-US`.\n *\n * \n *\n * @publicApi\n */\nclass CurrencyPipe {\n constructor(_locale, _defaultCurrencyCode = 'USD') {\n this._locale = _locale;\n this._defaultCurrencyCode = _defaultCurrencyCode;\n }\n /**\n *\n * @param value The number to be formatted as currency.\n * @param currencyCode The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code,\n * such as `USD` for the US dollar and `EUR` for the euro. The default currency code can be\n * configured using the `DEFAULT_CURRENCY_CODE` injection token.\n * @param display The format for the currency indicator. One of the following:\n * - `code`: Show the code (such as `USD`).\n * - `symbol`(default): Show the symbol (such as `$`).\n * - `symbol-narrow`: Use the narrow symbol for locales that have two symbols for their\n * currency.\n * For example, the Canadian dollar CAD has the symbol `CA$` and the symbol-narrow `$`. If the\n * locale has no narrow symbol, uses the standard symbol for the locale.\n * - String: Use the given string value instead of a code or a symbol.\n * For example, an empty string will suppress the currency & symbol.\n * - Boolean (marked deprecated in v5): `true` for symbol and false for `code`.\n *\n * @param digitsInfo Decimal representation options, specified by a string\n * in the following format:
    \n * {minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}.\n * - `minIntegerDigits`: The minimum number of integer digits before the decimal point.\n * Default is `1`.\n * - `minFractionDigits`: The minimum number of digits after the decimal point.\n * Default is `2`.\n * - `maxFractionDigits`: The maximum number of digits after the decimal point.\n * Default is `2`.\n * If not provided, the number will be formatted with the proper amount of digits,\n * depending on what the [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) specifies.\n * For example, the Canadian dollar has 2 digits, whereas the Chilean peso has none.\n * @param locale A locale code for the locale format rules to use.\n * When not supplied, uses the value of `LOCALE_ID`, which is `en-US` by default.\n * See [Setting your app locale](guide/i18n-common-locale-id).\n */\n transform(value, currencyCode = this._defaultCurrencyCode, display = 'symbol', digitsInfo, locale) {\n if (!isValue(value))\n return null;\n locale = locale || this._locale;\n if (typeof display === 'boolean') {\n if ((typeof ngDevMode === 'undefined' || ngDevMode) && console && console.warn) {\n console.warn(`Warning: the currency pipe has been changed in Angular v5. The symbolDisplay option (third parameter) is now a string instead of a boolean. The accepted values are \"code\", \"symbol\" or \"symbol-narrow\".`);\n }\n display = display ? 'symbol' : 'code';\n }\n let currency = currencyCode || this._defaultCurrencyCode;\n if (display !== 'code') {\n if (display === 'symbol' || display === 'symbol-narrow') {\n currency = getCurrencySymbol(currency, display === 'symbol' ? 'wide' : 'narrow', locale);\n }\n else {\n currency = display;\n }\n }\n try {\n const num = strToNumber(value);\n return formatCurrency(num, locale, currency, currencyCode, digitsInfo);\n }\n catch (error) {\n throw invalidPipeArgumentError(CurrencyPipe, error.message);\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: CurrencyPipe, deps: [{ token: LOCALE_ID }, { token: DEFAULT_CURRENCY_CODE }], target: i0.ɵɵFactoryTarget.Pipe }); }\n static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"16.2.12\", ngImport: i0, type: CurrencyPipe, isStandalone: true, name: \"currency\" }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: CurrencyPipe, decorators: [{\n type: Pipe,\n args: [{\n name: 'currency',\n standalone: true,\n }]\n }], ctorParameters: function () { return [{ type: undefined, decorators: [{\n type: Inject,\n args: [LOCALE_ID]\n }] }, { type: undefined, decorators: [{\n type: Inject,\n args: [DEFAULT_CURRENCY_CODE]\n }] }]; } });\nfunction isValue(value) {\n return !(value == null || value === '' || value !== value);\n}\n/**\n * Transforms a string into a number (if needed).\n */\nfunction strToNumber(value) {\n // Convert strings to numbers\n if (typeof value === 'string' && !isNaN(Number(value) - parseFloat(value))) {\n return Number(value);\n }\n if (typeof value !== 'number') {\n throw new Error(`${value} is not a number`);\n }\n return value;\n}\n\n/**\n * @ngModule CommonModule\n * @description\n *\n * Creates a new `Array` or `String` containing a subset (slice) of the elements.\n *\n * @usageNotes\n *\n * All behavior is based on the expected behavior of the JavaScript API `Array.prototype.slice()`\n * and `String.prototype.slice()`.\n *\n * When operating on an `Array`, the returned `Array` is always a copy even when all\n * the elements are being returned.\n *\n * When operating on a blank value, the pipe returns the blank value.\n *\n * ### List Example\n *\n * This `ngFor` example:\n *\n * {@example common/pipes/ts/slice_pipe.ts region='SlicePipe_list'}\n *\n * produces the following:\n *\n * ```html\n *
  • b
  • \n *
  • c
  • \n * ```\n *\n * ### String Examples\n *\n * {@example common/pipes/ts/slice_pipe.ts region='SlicePipe_string'}\n *\n * @publicApi\n */\nclass SlicePipe {\n transform(value, start, end) {\n if (value == null)\n return null;\n if (!this.supports(value)) {\n throw invalidPipeArgumentError(SlicePipe, value);\n }\n return value.slice(start, end);\n }\n supports(obj) {\n return typeof obj === 'string' || Array.isArray(obj);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: SlicePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }\n static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"16.2.12\", ngImport: i0, type: SlicePipe, isStandalone: true, name: \"slice\", pure: false }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: SlicePipe, decorators: [{\n type: Pipe,\n args: [{\n name: 'slice',\n pure: false,\n standalone: true,\n }]\n }] });\n\n/**\n * @module\n * @description\n * This module provides a set of common Pipes.\n */\n/**\n * A collection of Angular pipes that are likely to be used in each and every application.\n */\nconst COMMON_PIPES = [\n AsyncPipe,\n UpperCasePipe,\n LowerCasePipe,\n JsonPipe,\n SlicePipe,\n DecimalPipe,\n PercentPipe,\n TitleCasePipe,\n CurrencyPipe,\n DatePipe,\n I18nPluralPipe,\n I18nSelectPipe,\n KeyValuePipe,\n];\n\n// Note: This does not contain the location providers,\n// as they need some platform specific implementations to work.\n/**\n * Exports all the basic Angular directives and pipes,\n * such as `NgIf`, `NgForOf`, `DecimalPipe`, and so on.\n * Re-exported by `BrowserModule`, which is included automatically in the root\n * `AppModule` when you create a new app with the CLI `new` command.\n *\n * @publicApi\n */\nclass CommonModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: CommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.2.12\", ngImport: i0, type: CommonModule, imports: [NgClass, NgComponentOutlet, NgForOf, NgIf, NgTemplateOutlet, NgStyle, NgSwitch, NgSwitchCase, NgSwitchDefault, NgPlural, NgPluralCase, AsyncPipe, UpperCasePipe, LowerCasePipe, JsonPipe, SlicePipe, DecimalPipe, PercentPipe, TitleCasePipe, CurrencyPipe, DatePipe, I18nPluralPipe, I18nSelectPipe, KeyValuePipe], exports: [NgClass, NgComponentOutlet, NgForOf, NgIf, NgTemplateOutlet, NgStyle, NgSwitch, NgSwitchCase, NgSwitchDefault, NgPlural, NgPluralCase, AsyncPipe, UpperCasePipe, LowerCasePipe, JsonPipe, SlicePipe, DecimalPipe, PercentPipe, TitleCasePipe, CurrencyPipe, DatePipe, I18nPluralPipe, I18nSelectPipe, KeyValuePipe] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: CommonModule }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: CommonModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [COMMON_DIRECTIVES, COMMON_PIPES],\n exports: [COMMON_DIRECTIVES, COMMON_PIPES],\n }]\n }] });\n\nconst PLATFORM_BROWSER_ID = 'browser';\nconst PLATFORM_SERVER_ID = 'server';\nconst PLATFORM_WORKER_APP_ID = 'browserWorkerApp';\nconst PLATFORM_WORKER_UI_ID = 'browserWorkerUi';\n/**\n * Returns whether a platform id represents a browser platform.\n * @publicApi\n */\nfunction isPlatformBrowser(platformId) {\n return platformId === PLATFORM_BROWSER_ID;\n}\n/**\n * Returns whether a platform id represents a server platform.\n * @publicApi\n */\nfunction isPlatformServer(platformId) {\n return platformId === PLATFORM_SERVER_ID;\n}\n/**\n * Returns whether a platform id represents a web worker app platform.\n * @publicApi\n * @deprecated This function serves no purpose since the removal of the Webworker platform. It will\n * always return `false`.\n */\nfunction isPlatformWorkerApp(platformId) {\n return platformId === PLATFORM_WORKER_APP_ID;\n}\n/**\n * Returns whether a platform id represents a web worker UI platform.\n * @publicApi\n * @deprecated This function serves no purpose since the removal of the Webworker platform. It will\n * always return `false`.\n */\nfunction isPlatformWorkerUi(platformId) {\n return platformId === PLATFORM_WORKER_UI_ID;\n}\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of the common package.\n */\n/**\n * @publicApi\n */\nconst VERSION = new Version('16.2.12');\n\n/**\n * Defines a scroll position manager. Implemented by `BrowserViewportScroller`.\n *\n * @publicApi\n */\nclass ViewportScroller {\n // De-sugared tree-shakable injection\n // See #23917\n /** @nocollapse */\n static { this.ɵprov = ɵɵdefineInjectable({\n token: ViewportScroller,\n providedIn: 'root',\n factory: () => new BrowserViewportScroller(ɵɵinject(DOCUMENT), window)\n }); }\n}\n/**\n * Manages the scroll position for a browser window.\n */\nclass BrowserViewportScroller {\n constructor(document, window) {\n this.document = document;\n this.window = window;\n this.offset = () => [0, 0];\n }\n /**\n * Configures the top offset used when scrolling to an anchor.\n * @param offset A position in screen coordinates (a tuple with x and y values)\n * or a function that returns the top offset position.\n *\n */\n setOffset(offset) {\n if (Array.isArray(offset)) {\n this.offset = () => offset;\n }\n else {\n this.offset = offset;\n }\n }\n /**\n * Retrieves the current scroll position.\n * @returns The position in screen coordinates.\n */\n getScrollPosition() {\n if (this.supportsScrolling()) {\n return [this.window.pageXOffset, this.window.pageYOffset];\n }\n else {\n return [0, 0];\n }\n }\n /**\n * Sets the scroll position.\n * @param position The new position in screen coordinates.\n */\n scrollToPosition(position) {\n if (this.supportsScrolling()) {\n this.window.scrollTo(position[0], position[1]);\n }\n }\n /**\n * Scrolls to an element and attempts to focus the element.\n *\n * Note that the function name here is misleading in that the target string may be an ID for a\n * non-anchor element.\n *\n * @param target The ID of an element or name of the anchor.\n *\n * @see https://html.spec.whatwg.org/#the-indicated-part-of-the-document\n * @see https://html.spec.whatwg.org/#scroll-to-fragid\n */\n scrollToAnchor(target) {\n if (!this.supportsScrolling()) {\n return;\n }\n const elSelected = findAnchorFromDocument(this.document, target);\n if (elSelected) {\n this.scrollToElement(elSelected);\n // After scrolling to the element, the spec dictates that we follow the focus steps for the\n // target. Rather than following the robust steps, simply attempt focus.\n //\n // @see https://html.spec.whatwg.org/#get-the-focusable-area\n // @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLOrForeignElement/focus\n // @see https://html.spec.whatwg.org/#focusable-area\n elSelected.focus();\n }\n }\n /**\n * Disables automatic scroll restoration provided by the browser.\n */\n setHistoryScrollRestoration(scrollRestoration) {\n if (this.supportsScrolling()) {\n this.window.history.scrollRestoration = scrollRestoration;\n }\n }\n /**\n * Scrolls to an element using the native offset and the specified offset set on this scroller.\n *\n * The offset can be used when we know that there is a floating header and scrolling naively to an\n * element (ex: `scrollIntoView`) leaves the element hidden behind the floating header.\n */\n scrollToElement(el) {\n const rect = el.getBoundingClientRect();\n const left = rect.left + this.window.pageXOffset;\n const top = rect.top + this.window.pageYOffset;\n const offset = this.offset();\n this.window.scrollTo(left - offset[0], top - offset[1]);\n }\n supportsScrolling() {\n try {\n return !!this.window && !!this.window.scrollTo && 'pageXOffset' in this.window;\n }\n catch {\n return false;\n }\n }\n}\nfunction findAnchorFromDocument(document, target) {\n const documentResult = document.getElementById(target) || document.getElementsByName(target)[0];\n if (documentResult) {\n return documentResult;\n }\n // `getElementById` and `getElementsByName` won't pierce through the shadow DOM so we\n // have to traverse the DOM manually and do the lookup through the shadow roots.\n if (typeof document.createTreeWalker === 'function' && document.body &&\n typeof document.body.attachShadow === 'function') {\n const treeWalker = document.createTreeWalker(document.body, NodeFilter.SHOW_ELEMENT);\n let currentNode = treeWalker.currentNode;\n while (currentNode) {\n const shadowRoot = currentNode.shadowRoot;\n if (shadowRoot) {\n // Note that `ShadowRoot` doesn't support `getElementsByName`\n // so we have to fall back to `querySelector`.\n const result = shadowRoot.getElementById(target) || shadowRoot.querySelector(`[name=\"${target}\"]`);\n if (result) {\n return result;\n }\n }\n currentNode = treeWalker.nextNode();\n }\n }\n return null;\n}\n/**\n * Provides an empty implementation of the viewport scroller.\n */\nclass NullViewportScroller {\n /**\n * Empty implementation\n */\n setOffset(offset) { }\n /**\n * Empty implementation\n */\n getScrollPosition() {\n return [0, 0];\n }\n /**\n * Empty implementation\n */\n scrollToPosition(position) { }\n /**\n * Empty implementation\n */\n scrollToAnchor(anchor) { }\n /**\n * Empty implementation\n */\n setHistoryScrollRestoration(scrollRestoration) { }\n}\n\n/**\n * A wrapper around the `XMLHttpRequest` constructor.\n *\n * @publicApi\n */\nclass XhrFactory {\n}\n\n// Converts a string that represents a URL into a URL class instance.\nfunction getUrl(src, win) {\n // Don't use a base URL is the URL is absolute.\n return isAbsoluteUrl(src) ? new URL(src) : new URL(src, win.location.href);\n}\n// Checks whether a URL is absolute (i.e. starts with `http://` or `https://`).\nfunction isAbsoluteUrl(src) {\n return /^https?:\\/\\//.test(src);\n}\n// Given a URL, extract the hostname part.\n// If a URL is a relative one - the URL is returned as is.\nfunction extractHostname(url) {\n return isAbsoluteUrl(url) ? (new URL(url)).hostname : url;\n}\nfunction isValidPath(path) {\n const isString = typeof path === 'string';\n if (!isString || path.trim() === '') {\n return false;\n }\n // Calling new URL() will throw if the path string is malformed\n try {\n const url = new URL(path);\n return true;\n }\n catch {\n return false;\n }\n}\nfunction normalizePath(path) {\n return path.endsWith('/') ? path.slice(0, -1) : path;\n}\nfunction normalizeSrc(src) {\n return src.startsWith('/') ? src.slice(1) : src;\n}\n\n/**\n * Noop image loader that does no transformation to the original src and just returns it as is.\n * This loader is used as a default one if more specific logic is not provided in an app config.\n *\n * @see {@link ImageLoader}\n * @see {@link NgOptimizedImage}\n */\nconst noopImageLoader = (config) => config.src;\n/**\n * Injection token that configures the image loader function.\n *\n * @see {@link ImageLoader}\n * @see {@link NgOptimizedImage}\n * @publicApi\n */\nconst IMAGE_LOADER = new InjectionToken('ImageLoader', {\n providedIn: 'root',\n factory: () => noopImageLoader,\n});\n/**\n * Internal helper function that makes it easier to introduce custom image loaders for the\n * `NgOptimizedImage` directive. It is enough to specify a URL builder function to obtain full DI\n * configuration for a given loader: a DI token corresponding to the actual loader function, plus DI\n * tokens managing preconnect check functionality.\n * @param buildUrlFn a function returning a full URL based on loader's configuration\n * @param exampleUrls example of full URLs for a given loader (used in error messages)\n * @returns a set of DI providers corresponding to the configured image loader\n */\nfunction createImageLoader(buildUrlFn, exampleUrls) {\n return function provideImageLoader(path) {\n if (!isValidPath(path)) {\n throwInvalidPathError(path, exampleUrls || []);\n }\n // The trailing / is stripped (if provided) to make URL construction (concatenation) easier in\n // the individual loader functions.\n path = normalizePath(path);\n const loaderFn = (config) => {\n if (isAbsoluteUrl(config.src)) {\n // Image loader functions expect an image file name (e.g. `my-image.png`)\n // or a relative path + a file name (e.g. `/a/b/c/my-image.png`) as an input,\n // so the final absolute URL can be constructed.\n // When an absolute URL is provided instead - the loader can not\n // build a final URL, thus the error is thrown to indicate that.\n throwUnexpectedAbsoluteUrlError(path, config.src);\n }\n return buildUrlFn(path, { ...config, src: normalizeSrc(config.src) });\n };\n const providers = [{ provide: IMAGE_LOADER, useValue: loaderFn }];\n return providers;\n };\n}\nfunction throwInvalidPathError(path, exampleUrls) {\n throw new ɵRuntimeError(2959 /* RuntimeErrorCode.INVALID_LOADER_ARGUMENTS */, ngDevMode &&\n `Image loader has detected an invalid path (\\`${path}\\`). ` +\n `To fix this, supply a path using one of the following formats: ${exampleUrls.join(' or ')}`);\n}\nfunction throwUnexpectedAbsoluteUrlError(path, url) {\n throw new ɵRuntimeError(2959 /* RuntimeErrorCode.INVALID_LOADER_ARGUMENTS */, ngDevMode &&\n `Image loader has detected a \\`\\` tag with an invalid \\`ngSrc\\` attribute: ${url}. ` +\n `This image loader expects \\`ngSrc\\` to be a relative URL - ` +\n `however the provided value is an absolute URL. ` +\n `To fix this, provide \\`ngSrc\\` as a path relative to the base URL ` +\n `configured for this loader (\\`${path}\\`).`);\n}\n\n/**\n * Function that generates an ImageLoader for [Cloudflare Image\n * Resizing](https://developers.cloudflare.com/images/image-resizing/) and turns it into an Angular\n * provider. Note: Cloudflare has multiple image products - this provider is specifically for\n * Cloudflare Image Resizing; it will not work with Cloudflare Images or Cloudflare Polish.\n *\n * @param path Your domain name, e.g. https://mysite.com\n * @returns Provider that provides an ImageLoader function\n *\n * @publicApi\n */\nconst provideCloudflareLoader = createImageLoader(createCloudflareUrl, ngDevMode ? ['https:///cdn-cgi/image//'] : undefined);\nfunction createCloudflareUrl(path, config) {\n let params = `format=auto`;\n if (config.width) {\n params += `,width=${config.width}`;\n }\n // Cloudflare image URLs format:\n // https://developers.cloudflare.com/images/image-resizing/url-format/\n return `${path}/cdn-cgi/image/${params}/${config.src}`;\n}\n\n/**\n * Name and URL tester for Cloudinary.\n */\nconst cloudinaryLoaderInfo = {\n name: 'Cloudinary',\n testUrl: isCloudinaryUrl\n};\nconst CLOUDINARY_LOADER_REGEX = /https?\\:\\/\\/[^\\/]+\\.cloudinary\\.com\\/.+/;\n/**\n * Tests whether a URL is from Cloudinary CDN.\n */\nfunction isCloudinaryUrl(url) {\n return CLOUDINARY_LOADER_REGEX.test(url);\n}\n/**\n * Function that generates an ImageLoader for Cloudinary and turns it into an Angular provider.\n *\n * @param path Base URL of your Cloudinary images\n * This URL should match one of the following formats:\n * https://res.cloudinary.com/mysite\n * https://mysite.cloudinary.com\n * https://subdomain.mysite.com\n * @returns Set of providers to configure the Cloudinary loader.\n *\n * @publicApi\n */\nconst provideCloudinaryLoader = createImageLoader(createCloudinaryUrl, ngDevMode ?\n [\n 'https://res.cloudinary.com/mysite', 'https://mysite.cloudinary.com',\n 'https://subdomain.mysite.com'\n ] :\n undefined);\nfunction createCloudinaryUrl(path, config) {\n // Cloudinary image URLformat:\n // https://cloudinary.com/documentation/image_transformations#transformation_url_structure\n // Example of a Cloudinary image URL:\n // https://res.cloudinary.com/mysite/image/upload/c_scale,f_auto,q_auto,w_600/marketing/tile-topics-m.png\n let params = `f_auto,q_auto`; // sets image format and quality to \"auto\"\n if (config.width) {\n params += `,w_${config.width}`;\n }\n return `${path}/image/upload/${params}/${config.src}`;\n}\n\n/**\n * Name and URL tester for ImageKit.\n */\nconst imageKitLoaderInfo = {\n name: 'ImageKit',\n testUrl: isImageKitUrl,\n};\nconst IMAGE_KIT_LOADER_REGEX = /https?\\:\\/\\/[^\\/]+\\.imagekit\\.io\\/.+/;\n/**\n * Tests whether a URL is from ImageKit CDN.\n */\nfunction isImageKitUrl(url) {\n return IMAGE_KIT_LOADER_REGEX.test(url);\n}\n/**\n * Function that generates an ImageLoader for ImageKit and turns it into an Angular provider.\n *\n * @param path Base URL of your ImageKit images\n * This URL should match one of the following formats:\n * https://ik.imagekit.io/myaccount\n * https://subdomain.mysite.com\n * @returns Set of providers to configure the ImageKit loader.\n *\n * @publicApi\n */\nconst provideImageKitLoader = createImageLoader(createImagekitUrl, ngDevMode ? ['https://ik.imagekit.io/mysite', 'https://subdomain.mysite.com'] : undefined);\nfunction createImagekitUrl(path, config) {\n // Example of an ImageKit image URL:\n // https://ik.imagekit.io/demo/tr:w-300,h-300/medium_cafe_B1iTdD0C.jpg\n const { src, width } = config;\n let urlSegments;\n if (width) {\n const params = `tr:w-${width}`;\n urlSegments = [path, params, src];\n }\n else {\n urlSegments = [path, src];\n }\n return urlSegments.join('/');\n}\n\n/**\n * Name and URL tester for Imgix.\n */\nconst imgixLoaderInfo = {\n name: 'Imgix',\n testUrl: isImgixUrl\n};\nconst IMGIX_LOADER_REGEX = /https?\\:\\/\\/[^\\/]+\\.imgix\\.net\\/.+/;\n/**\n * Tests whether a URL is from Imgix CDN.\n */\nfunction isImgixUrl(url) {\n return IMGIX_LOADER_REGEX.test(url);\n}\n/**\n * Function that generates an ImageLoader for Imgix and turns it into an Angular provider.\n *\n * @param path path to the desired Imgix origin,\n * e.g. https://somepath.imgix.net or https://images.mysite.com\n * @returns Set of providers to configure the Imgix loader.\n *\n * @publicApi\n */\nconst provideImgixLoader = createImageLoader(createImgixUrl, ngDevMode ? ['https://somepath.imgix.net/'] : undefined);\nfunction createImgixUrl(path, config) {\n const url = new URL(`${path}/${config.src}`);\n // This setting ensures the smallest allowable format is set.\n url.searchParams.set('auto', 'format');\n if (config.width) {\n url.searchParams.set('w', config.width.toString());\n }\n return url.href;\n}\n\n// Assembles directive details string, useful for error messages.\nfunction imgDirectiveDetails(ngSrc, includeNgSrc = true) {\n const ngSrcInfo = includeNgSrc ? `(activated on an element with the \\`ngSrc=\"${ngSrc}\"\\`) ` : '';\n return `The NgOptimizedImage directive ${ngSrcInfo}has detected that`;\n}\n\n/**\n * Asserts that the application is in development mode. Throws an error if the application is in\n * production mode. This assert can be used to make sure that there is no dev-mode code invoked in\n * the prod mode accidentally.\n */\nfunction assertDevMode(checkName) {\n if (!ngDevMode) {\n throw new ɵRuntimeError(2958 /* RuntimeErrorCode.UNEXPECTED_DEV_MODE_CHECK_IN_PROD_MODE */, `Unexpected invocation of the ${checkName} in the prod mode. ` +\n `Please make sure that the prod mode is enabled for production builds.`);\n }\n}\n\n/**\n * Observer that detects whether an image with `NgOptimizedImage`\n * is treated as a Largest Contentful Paint (LCP) element. If so,\n * asserts that the image has the `priority` attribute.\n *\n * Note: this is a dev-mode only class and it does not appear in prod bundles,\n * thus there is no `ngDevMode` use in the code.\n *\n * Based on https://web.dev/lcp/#measure-lcp-in-javascript.\n */\nclass LCPImageObserver {\n constructor() {\n // Map of full image URLs -> original `ngSrc` values.\n this.images = new Map();\n this.window = null;\n this.observer = null;\n assertDevMode('LCP checker');\n const win = inject(DOCUMENT).defaultView;\n if (typeof win !== 'undefined' && typeof PerformanceObserver !== 'undefined') {\n this.window = win;\n this.observer = this.initPerformanceObserver();\n }\n }\n /**\n * Inits PerformanceObserver and subscribes to LCP events.\n * Based on https://web.dev/lcp/#measure-lcp-in-javascript\n */\n initPerformanceObserver() {\n const observer = new PerformanceObserver((entryList) => {\n const entries = entryList.getEntries();\n if (entries.length === 0)\n return;\n // We use the latest entry produced by the `PerformanceObserver` as the best\n // signal on which element is actually an LCP one. As an example, the first image to load on\n // a page, by virtue of being the only thing on the page so far, is often a LCP candidate\n // and gets reported by PerformanceObserver, but isn't necessarily the LCP element.\n const lcpElement = entries[entries.length - 1];\n // Cast to `any` due to missing `element` on the `LargestContentfulPaint` type of entry.\n // See https://developer.mozilla.org/en-US/docs/Web/API/LargestContentfulPaint\n const imgSrc = lcpElement.element?.src ?? '';\n // Exclude `data:` and `blob:` URLs, since they are not supported by the directive.\n if (imgSrc.startsWith('data:') || imgSrc.startsWith('blob:'))\n return;\n const img = this.images.get(imgSrc);\n if (!img)\n return;\n if (!img.priority && !img.alreadyWarnedPriority) {\n img.alreadyWarnedPriority = true;\n logMissingPriorityWarning(imgSrc);\n }\n if (img.modified && !img.alreadyWarnedModified) {\n img.alreadyWarnedModified = true;\n logModifiedWarning(imgSrc);\n }\n });\n observer.observe({ type: 'largest-contentful-paint', buffered: true });\n return observer;\n }\n registerImage(rewrittenSrc, originalNgSrc, isPriority) {\n if (!this.observer)\n return;\n const newObservedImageState = {\n priority: isPriority,\n modified: false,\n alreadyWarnedModified: false,\n alreadyWarnedPriority: false\n };\n this.images.set(getUrl(rewrittenSrc, this.window).href, newObservedImageState);\n }\n unregisterImage(rewrittenSrc) {\n if (!this.observer)\n return;\n this.images.delete(getUrl(rewrittenSrc, this.window).href);\n }\n updateImage(originalSrc, newSrc) {\n const originalUrl = getUrl(originalSrc, this.window).href;\n const img = this.images.get(originalUrl);\n if (img) {\n img.modified = true;\n this.images.set(getUrl(newSrc, this.window).href, img);\n this.images.delete(originalUrl);\n }\n }\n ngOnDestroy() {\n if (!this.observer)\n return;\n this.observer.disconnect();\n this.images.clear();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: LCPImageObserver, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: LCPImageObserver, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: LCPImageObserver, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return []; } });\nfunction logMissingPriorityWarning(ngSrc) {\n const directiveDetails = imgDirectiveDetails(ngSrc);\n console.warn(ɵformatRuntimeError(2955 /* RuntimeErrorCode.LCP_IMG_MISSING_PRIORITY */, `${directiveDetails} this image is the Largest Contentful Paint (LCP) ` +\n `element but was not marked \"priority\". This image should be marked ` +\n `\"priority\" in order to prioritize its loading. ` +\n `To fix this, add the \"priority\" attribute.`));\n}\nfunction logModifiedWarning(ngSrc) {\n const directiveDetails = imgDirectiveDetails(ngSrc);\n console.warn(ɵformatRuntimeError(2964 /* RuntimeErrorCode.LCP_IMG_NGSRC_MODIFIED */, `${directiveDetails} this image is the Largest Contentful Paint (LCP) ` +\n `element and has had its \"ngSrc\" attribute modified. This can cause ` +\n `slower loading performance. It is recommended not to modify the \"ngSrc\" ` +\n `property on any image which could be the LCP element.`));\n}\n\n// Set of origins that are always excluded from the preconnect checks.\nconst INTERNAL_PRECONNECT_CHECK_BLOCKLIST = new Set(['localhost', '127.0.0.1', '0.0.0.0']);\n/**\n * Injection token to configure which origins should be excluded\n * from the preconnect checks. It can either be a single string or an array of strings\n * to represent a group of origins, for example:\n *\n * ```typescript\n * {provide: PRECONNECT_CHECK_BLOCKLIST, useValue: 'https://your-domain.com'}\n * ```\n *\n * or:\n *\n * ```typescript\n * {provide: PRECONNECT_CHECK_BLOCKLIST,\n * useValue: ['https://your-domain-1.com', 'https://your-domain-2.com']}\n * ```\n *\n * @publicApi\n */\nconst PRECONNECT_CHECK_BLOCKLIST = new InjectionToken('PRECONNECT_CHECK_BLOCKLIST');\n/**\n * Contains the logic to detect whether an image, marked with the \"priority\" attribute\n * has a corresponding `` tag in the `document.head`.\n *\n * Note: this is a dev-mode only class, which should not appear in prod bundles,\n * thus there is no `ngDevMode` use in the code.\n */\nclass PreconnectLinkChecker {\n constructor() {\n this.document = inject(DOCUMENT);\n /**\n * Set of tags found on this page.\n * The `null` value indicates that there was no DOM query operation performed.\n */\n this.preconnectLinks = null;\n /*\n * Keep track of all already seen origin URLs to avoid repeating the same check.\n */\n this.alreadySeen = new Set();\n this.window = null;\n this.blocklist = new Set(INTERNAL_PRECONNECT_CHECK_BLOCKLIST);\n assertDevMode('preconnect link checker');\n const win = this.document.defaultView;\n if (typeof win !== 'undefined') {\n this.window = win;\n }\n const blocklist = inject(PRECONNECT_CHECK_BLOCKLIST, { optional: true });\n if (blocklist) {\n this.populateBlocklist(blocklist);\n }\n }\n populateBlocklist(origins) {\n if (Array.isArray(origins)) {\n deepForEach(origins, origin => {\n this.blocklist.add(extractHostname(origin));\n });\n }\n else {\n this.blocklist.add(extractHostname(origins));\n }\n }\n /**\n * Checks that a preconnect resource hint exists in the head for the\n * given src.\n *\n * @param rewrittenSrc src formatted with loader\n * @param originalNgSrc ngSrc value\n */\n assertPreconnect(rewrittenSrc, originalNgSrc) {\n if (!this.window)\n return;\n const imgUrl = getUrl(rewrittenSrc, this.window);\n if (this.blocklist.has(imgUrl.hostname) || this.alreadySeen.has(imgUrl.origin))\n return;\n // Register this origin as seen, so we don't check it again later.\n this.alreadySeen.add(imgUrl.origin);\n if (!this.preconnectLinks) {\n // Note: we query for preconnect links only *once* and cache the results\n // for the entire lifespan of an application, since it's unlikely that the\n // list would change frequently. This allows to make sure there are no\n // performance implications of making extra DOM lookups for each image.\n this.preconnectLinks = this.queryPreconnectLinks();\n }\n if (!this.preconnectLinks.has(imgUrl.origin)) {\n console.warn(ɵformatRuntimeError(2956 /* RuntimeErrorCode.PRIORITY_IMG_MISSING_PRECONNECT_TAG */, `${imgDirectiveDetails(originalNgSrc)} there is no preconnect tag present for this ` +\n `image. Preconnecting to the origin(s) that serve priority images ensures that these ` +\n `images are delivered as soon as possible. To fix this, please add the following ` +\n `element into the of the document:\\n` +\n ` `));\n }\n }\n queryPreconnectLinks() {\n const preconnectUrls = new Set();\n const selector = 'link[rel=preconnect]';\n const links = Array.from(this.document.querySelectorAll(selector));\n for (let link of links) {\n const url = getUrl(link.href, this.window);\n preconnectUrls.add(url.origin);\n }\n return preconnectUrls;\n }\n ngOnDestroy() {\n this.preconnectLinks?.clear();\n this.alreadySeen.clear();\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: PreconnectLinkChecker, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: PreconnectLinkChecker, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: PreconnectLinkChecker, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return []; } });\n/**\n * Invokes a callback for each element in the array. Also invokes a callback\n * recursively for each nested array.\n */\nfunction deepForEach(input, fn) {\n for (let value of input) {\n Array.isArray(value) ? deepForEach(value, fn) : fn(value);\n }\n}\n\n/**\n * In SSR scenarios, a preload `` element is generated for priority images.\n * Having a large number of preload tags may negatively affect the performance,\n * so we warn developers (by throwing an error) if the number of preloaded images\n * is above a certain threshold. This const specifies this threshold.\n */\nconst DEFAULT_PRELOADED_IMAGES_LIMIT = 5;\n/**\n * Helps to keep track of priority images that already have a corresponding\n * preload tag (to avoid generating multiple preload tags with the same URL).\n *\n * This Set tracks the original src passed into the `ngSrc` input not the src after it has been\n * run through the specified `IMAGE_LOADER`.\n */\nconst PRELOADED_IMAGES = new InjectionToken('NG_OPTIMIZED_PRELOADED_IMAGES', { providedIn: 'root', factory: () => new Set() });\n\n/**\n * @description Contains the logic needed to track and add preload link tags to the `` tag. It\n * will also track what images have already had preload link tags added so as to not duplicate link\n * tags.\n *\n * In dev mode this service will validate that the number of preloaded images does not exceed the\n * configured default preloaded images limit: {@link DEFAULT_PRELOADED_IMAGES_LIMIT}.\n */\nclass PreloadLinkCreator {\n constructor() {\n this.preloadedImages = inject(PRELOADED_IMAGES);\n this.document = inject(DOCUMENT);\n }\n /**\n * @description Add a preload `` to the `` of the `index.html` that is served from the\n * server while using Angular Universal and SSR to kick off image loads for high priority images.\n *\n * The `sizes` (passed in from the user) and `srcset` (parsed and formatted from `ngSrcset`)\n * properties used to set the corresponding attributes, `imagesizes` and `imagesrcset`\n * respectively, on the preload `` tag so that the correctly sized image is preloaded from\n * the CDN.\n *\n * {@link https://web.dev/preload-responsive-images/#imagesrcset-and-imagesizes}\n *\n * @param renderer The `Renderer2` passed in from the directive\n * @param src The original src of the image that is set on the `ngSrc` input.\n * @param srcset The parsed and formatted srcset created from the `ngSrcset` input\n * @param sizes The value of the `sizes` attribute passed in to the `` tag\n */\n createPreloadLinkTag(renderer, src, srcset, sizes) {\n if (ngDevMode) {\n if (this.preloadedImages.size >= DEFAULT_PRELOADED_IMAGES_LIMIT) {\n throw new ɵRuntimeError(2961 /* RuntimeErrorCode.TOO_MANY_PRELOADED_IMAGES */, ngDevMode &&\n `The \\`NgOptimizedImage\\` directive has detected that more than ` +\n `${DEFAULT_PRELOADED_IMAGES_LIMIT} images were marked as priority. ` +\n `This might negatively affect an overall performance of the page. ` +\n `To fix this, remove the \"priority\" attribute from images with less priority.`);\n }\n }\n if (this.preloadedImages.has(src)) {\n return;\n }\n this.preloadedImages.add(src);\n const preload = renderer.createElement('link');\n renderer.setAttribute(preload, 'as', 'image');\n renderer.setAttribute(preload, 'href', src);\n renderer.setAttribute(preload, 'rel', 'preload');\n renderer.setAttribute(preload, 'fetchpriority', 'high');\n if (sizes) {\n renderer.setAttribute(preload, 'imageSizes', sizes);\n }\n if (srcset) {\n renderer.setAttribute(preload, 'imageSrcset', srcset);\n }\n renderer.appendChild(this.document.head, preload);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: PreloadLinkCreator, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: PreloadLinkCreator, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: PreloadLinkCreator, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }] });\n\n/**\n * When a Base64-encoded image is passed as an input to the `NgOptimizedImage` directive,\n * an error is thrown. The image content (as a string) might be very long, thus making\n * it hard to read an error message if the entire string is included. This const defines\n * the number of characters that should be included into the error message. The rest\n * of the content is truncated.\n */\nconst BASE64_IMG_MAX_LENGTH_IN_ERROR = 50;\n/**\n * RegExpr to determine whether a src in a srcset is using width descriptors.\n * Should match something like: \"100w, 200w\".\n */\nconst VALID_WIDTH_DESCRIPTOR_SRCSET = /^((\\s*\\d+w\\s*(,|$)){1,})$/;\n/**\n * RegExpr to determine whether a src in a srcset is using density descriptors.\n * Should match something like: \"1x, 2x, 50x\". Also supports decimals like \"1.5x, 1.50x\".\n */\nconst VALID_DENSITY_DESCRIPTOR_SRCSET = /^((\\s*\\d+(\\.\\d+)?x\\s*(,|$)){1,})$/;\n/**\n * Srcset values with a density descriptor higher than this value will actively\n * throw an error. Such densities are not permitted as they cause image sizes\n * to be unreasonably large and slow down LCP.\n */\nconst ABSOLUTE_SRCSET_DENSITY_CAP = 3;\n/**\n * Used only in error message text to communicate best practices, as we will\n * only throw based on the slightly more conservative ABSOLUTE_SRCSET_DENSITY_CAP.\n */\nconst RECOMMENDED_SRCSET_DENSITY_CAP = 2;\n/**\n * Used in generating automatic density-based srcsets\n */\nconst DENSITY_SRCSET_MULTIPLIERS = [1, 2];\n/**\n * Used to determine which breakpoints to use on full-width images\n */\nconst VIEWPORT_BREAKPOINT_CUTOFF = 640;\n/**\n * Used to determine whether two aspect ratios are similar in value.\n */\nconst ASPECT_RATIO_TOLERANCE = .1;\n/**\n * Used to determine whether the image has been requested at an overly\n * large size compared to the actual rendered image size (after taking\n * into account a typical device pixel ratio). In pixels.\n */\nconst OVERSIZED_IMAGE_TOLERANCE = 1000;\n/**\n * Used to limit automatic srcset generation of very large sources for\n * fixed-size images. In pixels.\n */\nconst FIXED_SRCSET_WIDTH_LIMIT = 1920;\nconst FIXED_SRCSET_HEIGHT_LIMIT = 1080;\n/** Info about built-in loaders we can test for. */\nconst BUILT_IN_LOADERS = [imgixLoaderInfo, imageKitLoaderInfo, cloudinaryLoaderInfo];\nconst defaultConfig = {\n breakpoints: [16, 32, 48, 64, 96, 128, 256, 384, 640, 750, 828, 1080, 1200, 1920, 2048, 3840],\n};\n/**\n * Injection token that configures the image optimized image functionality.\n *\n * @see {@link NgOptimizedImage}\n * @publicApi\n */\nconst IMAGE_CONFIG = new InjectionToken('ImageConfig', { providedIn: 'root', factory: () => defaultConfig });\n/**\n * Directive that improves image loading performance by enforcing best practices.\n *\n * `NgOptimizedImage` ensures that the loading of the Largest Contentful Paint (LCP) image is\n * prioritized by:\n * - Automatically setting the `fetchpriority` attribute on the `` tag\n * - Lazy loading non-priority images by default\n * - Asserting that there is a corresponding preconnect link tag in the document head\n *\n * In addition, the directive:\n * - Generates appropriate asset URLs if a corresponding `ImageLoader` function is provided\n * - Automatically generates a srcset\n * - Requires that `width` and `height` are set\n * - Warns if `width` or `height` have been set incorrectly\n * - Warns if the image will be visually distorted when rendered\n *\n * @usageNotes\n * The `NgOptimizedImage` directive is marked as [standalone](guide/standalone-components) and can\n * be imported directly.\n *\n * Follow the steps below to enable and use the directive:\n * 1. Import it into the necessary NgModule or a standalone Component.\n * 2. Optionally provide an `ImageLoader` if you use an image hosting service.\n * 3. Update the necessary `` tags in templates and replace `src` attributes with `ngSrc`.\n * Using a `ngSrc` allows the directive to control when the `src` gets set, which triggers an image\n * download.\n *\n * Step 1: import the `NgOptimizedImage` directive.\n *\n * ```typescript\n * import { NgOptimizedImage } from '@angular/common';\n *\n * // Include it into the necessary NgModule\n * @NgModule({\n * imports: [NgOptimizedImage],\n * })\n * class AppModule {}\n *\n * // ... or a standalone Component\n * @Component({\n * standalone: true\n * imports: [NgOptimizedImage],\n * })\n * class MyStandaloneComponent {}\n * ```\n *\n * Step 2: configure a loader.\n *\n * To use the **default loader**: no additional code changes are necessary. The URL returned by the\n * generic loader will always match the value of \"src\". In other words, this loader applies no\n * transformations to the resource URL and the value of the `ngSrc` attribute will be used as is.\n *\n * To use an existing loader for a **third-party image service**: add the provider factory for your\n * chosen service to the `providers` array. In the example below, the Imgix loader is used:\n *\n * ```typescript\n * import {provideImgixLoader} from '@angular/common';\n *\n * // Call the function and add the result to the `providers` array:\n * providers: [\n * provideImgixLoader(\"https://my.base.url/\"),\n * ],\n * ```\n *\n * The `NgOptimizedImage` directive provides the following functions:\n * - `provideCloudflareLoader`\n * - `provideCloudinaryLoader`\n * - `provideImageKitLoader`\n * - `provideImgixLoader`\n *\n * If you use a different image provider, you can create a custom loader function as described\n * below.\n *\n * To use a **custom loader**: provide your loader function as a value for the `IMAGE_LOADER` DI\n * token.\n *\n * ```typescript\n * import {IMAGE_LOADER, ImageLoaderConfig} from '@angular/common';\n *\n * // Configure the loader using the `IMAGE_LOADER` token.\n * providers: [\n * {\n * provide: IMAGE_LOADER,\n * useValue: (config: ImageLoaderConfig) => {\n * return `https://example.com/${config.src}-${config.width}.jpg}`;\n * }\n * },\n * ],\n * ```\n *\n * Step 3: update `` tags in templates to use `ngSrc` instead of `src`.\n *\n * ```\n * \n * ```\n *\n * @publicApi\n */\nclass NgOptimizedImage {\n constructor() {\n this.imageLoader = inject(IMAGE_LOADER);\n this.config = processConfig(inject(IMAGE_CONFIG));\n this.renderer = inject(Renderer2);\n this.imgElement = inject(ElementRef).nativeElement;\n this.injector = inject(Injector);\n this.isServer = isPlatformServer(inject(PLATFORM_ID));\n this.preloadLinkCreator = inject(PreloadLinkCreator);\n // a LCP image observer - should be injected only in the dev mode\n this.lcpObserver = ngDevMode ? this.injector.get(LCPImageObserver) : null;\n /**\n * Calculate the rewritten `src` once and store it.\n * This is needed to avoid repetitive calculations and make sure the directive cleanup in the\n * `ngOnDestroy` does not rely on the `IMAGE_LOADER` logic (which in turn can rely on some other\n * instance that might be already destroyed).\n */\n this._renderedSrc = null;\n /**\n * Indicates whether this image should have a high priority.\n */\n this.priority = false;\n /**\n * Disables automatic srcset generation for this image.\n */\n this.disableOptimizedSrcset = false;\n /**\n * Sets the image to \"fill mode\", which eliminates the height/width requirement and adds\n * styles such that the image fills its containing element.\n */\n this.fill = false;\n }\n /** @nodoc */\n ngOnInit() {\n if (ngDevMode) {\n const ngZone = this.injector.get(NgZone);\n assertNonEmptyInput(this, 'ngSrc', this.ngSrc);\n assertValidNgSrcset(this, this.ngSrcset);\n assertNoConflictingSrc(this);\n if (this.ngSrcset) {\n assertNoConflictingSrcset(this);\n }\n assertNotBase64Image(this);\n assertNotBlobUrl(this);\n if (this.fill) {\n assertEmptyWidthAndHeight(this);\n // This leaves the Angular zone to avoid triggering unnecessary change detection cycles when\n // `load` tasks are invoked on images.\n ngZone.runOutsideAngular(() => assertNonZeroRenderedHeight(this, this.imgElement, this.renderer));\n }\n else {\n assertNonEmptyWidthAndHeight(this);\n if (this.height !== undefined) {\n assertGreaterThanZero(this, this.height, 'height');\n }\n if (this.width !== undefined) {\n assertGreaterThanZero(this, this.width, 'width');\n }\n // Only check for distorted images when not in fill mode, where\n // images may be intentionally stretched, cropped or letterboxed.\n ngZone.runOutsideAngular(() => assertNoImageDistortion(this, this.imgElement, this.renderer));\n }\n assertValidLoadingInput(this);\n if (!this.ngSrcset) {\n assertNoComplexSizes(this);\n }\n assertNotMissingBuiltInLoader(this.ngSrc, this.imageLoader);\n assertNoNgSrcsetWithoutLoader(this, this.imageLoader);\n assertNoLoaderParamsWithoutLoader(this, this.imageLoader);\n if (this.lcpObserver !== null) {\n const ngZone = this.injector.get(NgZone);\n ngZone.runOutsideAngular(() => {\n this.lcpObserver.registerImage(this.getRewrittenSrc(), this.ngSrc, this.priority);\n });\n }\n if (this.priority) {\n const checker = this.injector.get(PreconnectLinkChecker);\n checker.assertPreconnect(this.getRewrittenSrc(), this.ngSrc);\n }\n }\n this.setHostAttributes();\n }\n setHostAttributes() {\n // Must set width/height explicitly in case they are bound (in which case they will\n // only be reflected and not found by the browser)\n if (this.fill) {\n if (!this.sizes) {\n this.sizes = '100vw';\n }\n }\n else {\n this.setHostAttribute('width', this.width.toString());\n this.setHostAttribute('height', this.height.toString());\n }\n this.setHostAttribute('loading', this.getLoadingBehavior());\n this.setHostAttribute('fetchpriority', this.getFetchPriority());\n // The `data-ng-img` attribute flags an image as using the directive, to allow\n // for analysis of the directive's performance.\n this.setHostAttribute('ng-img', 'true');\n // The `src` and `srcset` attributes should be set last since other attributes\n // could affect the image's loading behavior.\n const rewrittenSrcset = this.updateSrcAndSrcset();\n if (this.sizes) {\n this.setHostAttribute('sizes', this.sizes);\n }\n if (this.isServer && this.priority) {\n this.preloadLinkCreator.createPreloadLinkTag(this.renderer, this.getRewrittenSrc(), rewrittenSrcset, this.sizes);\n }\n }\n /** @nodoc */\n ngOnChanges(changes) {\n if (ngDevMode) {\n assertNoPostInitInputChange(this, changes, [\n 'ngSrcset',\n 'width',\n 'height',\n 'priority',\n 'fill',\n 'loading',\n 'sizes',\n 'loaderParams',\n 'disableOptimizedSrcset',\n ]);\n }\n if (changes['ngSrc'] && !changes['ngSrc'].isFirstChange()) {\n const oldSrc = this._renderedSrc;\n this.updateSrcAndSrcset(true);\n const newSrc = this._renderedSrc;\n if (this.lcpObserver !== null && oldSrc && newSrc && oldSrc !== newSrc) {\n const ngZone = this.injector.get(NgZone);\n ngZone.runOutsideAngular(() => {\n this.lcpObserver?.updateImage(oldSrc, newSrc);\n });\n }\n }\n }\n callImageLoader(configWithoutCustomParams) {\n let augmentedConfig = configWithoutCustomParams;\n if (this.loaderParams) {\n augmentedConfig.loaderParams = this.loaderParams;\n }\n return this.imageLoader(augmentedConfig);\n }\n getLoadingBehavior() {\n if (!this.priority && this.loading !== undefined) {\n return this.loading;\n }\n return this.priority ? 'eager' : 'lazy';\n }\n getFetchPriority() {\n return this.priority ? 'high' : 'auto';\n }\n getRewrittenSrc() {\n // ImageLoaderConfig supports setting a width property. However, we're not setting width here\n // because if the developer uses rendered width instead of intrinsic width in the HTML width\n // attribute, the image requested may be too small for 2x+ screens.\n if (!this._renderedSrc) {\n const imgConfig = { src: this.ngSrc };\n // Cache calculated image src to reuse it later in the code.\n this._renderedSrc = this.callImageLoader(imgConfig);\n }\n return this._renderedSrc;\n }\n getRewrittenSrcset() {\n const widthSrcSet = VALID_WIDTH_DESCRIPTOR_SRCSET.test(this.ngSrcset);\n const finalSrcs = this.ngSrcset.split(',').filter(src => src !== '').map(srcStr => {\n srcStr = srcStr.trim();\n const width = widthSrcSet ? parseFloat(srcStr) : parseFloat(srcStr) * this.width;\n return `${this.callImageLoader({ src: this.ngSrc, width })} ${srcStr}`;\n });\n return finalSrcs.join(', ');\n }\n getAutomaticSrcset() {\n if (this.sizes) {\n return this.getResponsiveSrcset();\n }\n else {\n return this.getFixedSrcset();\n }\n }\n getResponsiveSrcset() {\n const { breakpoints } = this.config;\n let filteredBreakpoints = breakpoints;\n if (this.sizes?.trim() === '100vw') {\n // Since this is a full-screen-width image, our srcset only needs to include\n // breakpoints with full viewport widths.\n filteredBreakpoints = breakpoints.filter(bp => bp >= VIEWPORT_BREAKPOINT_CUTOFF);\n }\n const finalSrcs = filteredBreakpoints.map(bp => `${this.callImageLoader({ src: this.ngSrc, width: bp })} ${bp}w`);\n return finalSrcs.join(', ');\n }\n updateSrcAndSrcset(forceSrcRecalc = false) {\n if (forceSrcRecalc) {\n // Reset cached value, so that the followup `getRewrittenSrc()` call\n // will recalculate it and update the cache.\n this._renderedSrc = null;\n }\n const rewrittenSrc = this.getRewrittenSrc();\n this.setHostAttribute('src', rewrittenSrc);\n let rewrittenSrcset = undefined;\n if (this.ngSrcset) {\n rewrittenSrcset = this.getRewrittenSrcset();\n }\n else if (this.shouldGenerateAutomaticSrcset()) {\n rewrittenSrcset = this.getAutomaticSrcset();\n }\n if (rewrittenSrcset) {\n this.setHostAttribute('srcset', rewrittenSrcset);\n }\n return rewrittenSrcset;\n }\n getFixedSrcset() {\n const finalSrcs = DENSITY_SRCSET_MULTIPLIERS.map(multiplier => `${this.callImageLoader({\n src: this.ngSrc,\n width: this.width * multiplier\n })} ${multiplier}x`);\n return finalSrcs.join(', ');\n }\n shouldGenerateAutomaticSrcset() {\n let oversizedImage = false;\n if (!this.sizes) {\n oversizedImage =\n this.width > FIXED_SRCSET_WIDTH_LIMIT || this.height > FIXED_SRCSET_HEIGHT_LIMIT;\n }\n return !this.disableOptimizedSrcset && !this.srcset && this.imageLoader !== noopImageLoader &&\n !oversizedImage;\n }\n /** @nodoc */\n ngOnDestroy() {\n if (ngDevMode) {\n if (!this.priority && this._renderedSrc !== null && this.lcpObserver !== null) {\n this.lcpObserver.unregisterImage(this._renderedSrc);\n }\n }\n }\n setHostAttribute(name, value) {\n this.renderer.setAttribute(this.imgElement, name, value);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: NgOptimizedImage, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"16.1.0\", version: \"16.2.12\", type: NgOptimizedImage, isStandalone: true, selector: \"img[ngSrc]\", inputs: { ngSrc: [\"ngSrc\", \"ngSrc\", unwrapSafeUrl], ngSrcset: \"ngSrcset\", sizes: \"sizes\", width: [\"width\", \"width\", numberAttribute], height: [\"height\", \"height\", numberAttribute], loading: \"loading\", priority: [\"priority\", \"priority\", booleanAttribute], loaderParams: \"loaderParams\", disableOptimizedSrcset: [\"disableOptimizedSrcset\", \"disableOptimizedSrcset\", booleanAttribute], fill: [\"fill\", \"fill\", booleanAttribute], src: \"src\", srcset: \"srcset\" }, host: { properties: { \"style.position\": \"fill ? \\\"absolute\\\" : null\", \"style.width\": \"fill ? \\\"100%\\\" : null\", \"style.height\": \"fill ? \\\"100%\\\" : null\", \"style.inset\": \"fill ? \\\"0px\\\" : null\" } }, usesOnChanges: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: NgOptimizedImage, decorators: [{\n type: Directive,\n args: [{\n standalone: true,\n selector: 'img[ngSrc]',\n host: {\n '[style.position]': 'fill ? \"absolute\" : null',\n '[style.width]': 'fill ? \"100%\" : null',\n '[style.height]': 'fill ? \"100%\" : null',\n '[style.inset]': 'fill ? \"0px\" : null'\n }\n }]\n }], propDecorators: { ngSrc: [{\n type: Input,\n args: [{ required: true, transform: unwrapSafeUrl }]\n }], ngSrcset: [{\n type: Input\n }], sizes: [{\n type: Input\n }], width: [{\n type: Input,\n args: [{ transform: numberAttribute }]\n }], height: [{\n type: Input,\n args: [{ transform: numberAttribute }]\n }], loading: [{\n type: Input\n }], priority: [{\n type: Input,\n args: [{ transform: booleanAttribute }]\n }], loaderParams: [{\n type: Input\n }], disableOptimizedSrcset: [{\n type: Input,\n args: [{ transform: booleanAttribute }]\n }], fill: [{\n type: Input,\n args: [{ transform: booleanAttribute }]\n }], src: [{\n type: Input\n }], srcset: [{\n type: Input\n }] } });\n/***** Helpers *****/\n/**\n * Sorts provided config breakpoints and uses defaults.\n */\nfunction processConfig(config) {\n let sortedBreakpoints = {};\n if (config.breakpoints) {\n sortedBreakpoints.breakpoints = config.breakpoints.sort((a, b) => a - b);\n }\n return Object.assign({}, defaultConfig, config, sortedBreakpoints);\n}\n/***** Assert functions *****/\n/**\n * Verifies that there is no `src` set on a host element.\n */\nfunction assertNoConflictingSrc(dir) {\n if (dir.src) {\n throw new ɵRuntimeError(2950 /* RuntimeErrorCode.UNEXPECTED_SRC_ATTR */, `${imgDirectiveDetails(dir.ngSrc)} both \\`src\\` and \\`ngSrc\\` have been set. ` +\n `Supplying both of these attributes breaks lazy loading. ` +\n `The NgOptimizedImage directive sets \\`src\\` itself based on the value of \\`ngSrc\\`. ` +\n `To fix this, please remove the \\`src\\` attribute.`);\n }\n}\n/**\n * Verifies that there is no `srcset` set on a host element.\n */\nfunction assertNoConflictingSrcset(dir) {\n if (dir.srcset) {\n throw new ɵRuntimeError(2951 /* RuntimeErrorCode.UNEXPECTED_SRCSET_ATTR */, `${imgDirectiveDetails(dir.ngSrc)} both \\`srcset\\` and \\`ngSrcset\\` have been set. ` +\n `Supplying both of these attributes breaks lazy loading. ` +\n `The NgOptimizedImage directive sets \\`srcset\\` itself based on the value of ` +\n `\\`ngSrcset\\`. To fix this, please remove the \\`srcset\\` attribute.`);\n }\n}\n/**\n * Verifies that the `ngSrc` is not a Base64-encoded image.\n */\nfunction assertNotBase64Image(dir) {\n let ngSrc = dir.ngSrc.trim();\n if (ngSrc.startsWith('data:')) {\n if (ngSrc.length > BASE64_IMG_MAX_LENGTH_IN_ERROR) {\n ngSrc = ngSrc.substring(0, BASE64_IMG_MAX_LENGTH_IN_ERROR) + '...';\n }\n throw new ɵRuntimeError(2952 /* RuntimeErrorCode.INVALID_INPUT */, `${imgDirectiveDetails(dir.ngSrc, false)} \\`ngSrc\\` is a Base64-encoded string ` +\n `(${ngSrc}). NgOptimizedImage does not support Base64-encoded strings. ` +\n `To fix this, disable the NgOptimizedImage directive for this element ` +\n `by removing \\`ngSrc\\` and using a standard \\`src\\` attribute instead.`);\n }\n}\n/**\n * Verifies that the 'sizes' only includes responsive values.\n */\nfunction assertNoComplexSizes(dir) {\n let sizes = dir.sizes;\n if (sizes?.match(/((\\)|,)\\s|^)\\d+px/)) {\n throw new ɵRuntimeError(2952 /* RuntimeErrorCode.INVALID_INPUT */, `${imgDirectiveDetails(dir.ngSrc, false)} \\`sizes\\` was set to a string including ` +\n `pixel values. For automatic \\`srcset\\` generation, \\`sizes\\` must only include responsive ` +\n `values, such as \\`sizes=\"50vw\"\\` or \\`sizes=\"(min-width: 768px) 50vw, 100vw\"\\`. ` +\n `To fix this, modify the \\`sizes\\` attribute, or provide your own \\`ngSrcset\\` value directly.`);\n }\n}\n/**\n * Verifies that the `ngSrc` is not a Blob URL.\n */\nfunction assertNotBlobUrl(dir) {\n const ngSrc = dir.ngSrc.trim();\n if (ngSrc.startsWith('blob:')) {\n throw new ɵRuntimeError(2952 /* RuntimeErrorCode.INVALID_INPUT */, `${imgDirectiveDetails(dir.ngSrc)} \\`ngSrc\\` was set to a blob URL (${ngSrc}). ` +\n `Blob URLs are not supported by the NgOptimizedImage directive. ` +\n `To fix this, disable the NgOptimizedImage directive for this element ` +\n `by removing \\`ngSrc\\` and using a regular \\`src\\` attribute instead.`);\n }\n}\n/**\n * Verifies that the input is set to a non-empty string.\n */\nfunction assertNonEmptyInput(dir, name, value) {\n const isString = typeof value === 'string';\n const isEmptyString = isString && value.trim() === '';\n if (!isString || isEmptyString) {\n throw new ɵRuntimeError(2952 /* RuntimeErrorCode.INVALID_INPUT */, `${imgDirectiveDetails(dir.ngSrc)} \\`${name}\\` has an invalid value ` +\n `(\\`${value}\\`). To fix this, change the value to a non-empty string.`);\n }\n}\n/**\n * Verifies that the `ngSrcset` is in a valid format, e.g. \"100w, 200w\" or \"1x, 2x\".\n */\nfunction assertValidNgSrcset(dir, value) {\n if (value == null)\n return;\n assertNonEmptyInput(dir, 'ngSrcset', value);\n const stringVal = value;\n const isValidWidthDescriptor = VALID_WIDTH_DESCRIPTOR_SRCSET.test(stringVal);\n const isValidDensityDescriptor = VALID_DENSITY_DESCRIPTOR_SRCSET.test(stringVal);\n if (isValidDensityDescriptor) {\n assertUnderDensityCap(dir, stringVal);\n }\n const isValidSrcset = isValidWidthDescriptor || isValidDensityDescriptor;\n if (!isValidSrcset) {\n throw new ɵRuntimeError(2952 /* RuntimeErrorCode.INVALID_INPUT */, `${imgDirectiveDetails(dir.ngSrc)} \\`ngSrcset\\` has an invalid value (\\`${value}\\`). ` +\n `To fix this, supply \\`ngSrcset\\` using a comma-separated list of one or more width ` +\n `descriptors (e.g. \"100w, 200w\") or density descriptors (e.g. \"1x, 2x\").`);\n }\n}\nfunction assertUnderDensityCap(dir, value) {\n const underDensityCap = value.split(',').every(num => num === '' || parseFloat(num) <= ABSOLUTE_SRCSET_DENSITY_CAP);\n if (!underDensityCap) {\n throw new ɵRuntimeError(2952 /* RuntimeErrorCode.INVALID_INPUT */, `${imgDirectiveDetails(dir.ngSrc)} the \\`ngSrcset\\` contains an unsupported image density:` +\n `\\`${value}\\`. NgOptimizedImage generally recommends a max image density of ` +\n `${RECOMMENDED_SRCSET_DENSITY_CAP}x but supports image densities up to ` +\n `${ABSOLUTE_SRCSET_DENSITY_CAP}x. The human eye cannot distinguish between image densities ` +\n `greater than ${RECOMMENDED_SRCSET_DENSITY_CAP}x - which makes them unnecessary for ` +\n `most use cases. Images that will be pinch-zoomed are typically the primary use case for ` +\n `${ABSOLUTE_SRCSET_DENSITY_CAP}x images. Please remove the high density descriptor and try again.`);\n }\n}\n/**\n * Creates a `RuntimeError` instance to represent a situation when an input is set after\n * the directive has initialized.\n */\nfunction postInitInputChangeError(dir, inputName) {\n let reason;\n if (inputName === 'width' || inputName === 'height') {\n reason = `Changing \\`${inputName}\\` may result in different attribute value ` +\n `applied to the underlying image element and cause layout shifts on a page.`;\n }\n else {\n reason = `Changing the \\`${inputName}\\` would have no effect on the underlying ` +\n `image element, because the resource loading has already occurred.`;\n }\n return new ɵRuntimeError(2953 /* RuntimeErrorCode.UNEXPECTED_INPUT_CHANGE */, `${imgDirectiveDetails(dir.ngSrc)} \\`${inputName}\\` was updated after initialization. ` +\n `The NgOptimizedImage directive will not react to this input change. ${reason} ` +\n `To fix this, either switch \\`${inputName}\\` to a static value ` +\n `or wrap the image element in an *ngIf that is gated on the necessary value.`);\n}\n/**\n * Verify that none of the listed inputs has changed.\n */\nfunction assertNoPostInitInputChange(dir, changes, inputs) {\n inputs.forEach(input => {\n const isUpdated = changes.hasOwnProperty(input);\n if (isUpdated && !changes[input].isFirstChange()) {\n if (input === 'ngSrc') {\n // When the `ngSrc` input changes, we detect that only in the\n // `ngOnChanges` hook, thus the `ngSrc` is already set. We use\n // `ngSrc` in the error message, so we use a previous value, but\n // not the updated one in it.\n dir = { ngSrc: changes[input].previousValue };\n }\n throw postInitInputChangeError(dir, input);\n }\n });\n}\n/**\n * Verifies that a specified input is a number greater than 0.\n */\nfunction assertGreaterThanZero(dir, inputValue, inputName) {\n const validNumber = typeof inputValue === 'number' && inputValue > 0;\n const validString = typeof inputValue === 'string' && /^\\d+$/.test(inputValue.trim()) && parseInt(inputValue) > 0;\n if (!validNumber && !validString) {\n throw new ɵRuntimeError(2952 /* RuntimeErrorCode.INVALID_INPUT */, `${imgDirectiveDetails(dir.ngSrc)} \\`${inputName}\\` has an invalid value. ` +\n `To fix this, provide \\`${inputName}\\` as a number greater than 0.`);\n }\n}\n/**\n * Verifies that the rendered image is not visually distorted. Effectively this is checking:\n * - Whether the \"width\" and \"height\" attributes reflect the actual dimensions of the image.\n * - Whether image styling is \"correct\" (see below for a longer explanation).\n */\nfunction assertNoImageDistortion(dir, img, renderer) {\n const removeListenerFn = renderer.listen(img, 'load', () => {\n removeListenerFn();\n const computedStyle = window.getComputedStyle(img);\n let renderedWidth = parseFloat(computedStyle.getPropertyValue('width'));\n let renderedHeight = parseFloat(computedStyle.getPropertyValue('height'));\n const boxSizing = computedStyle.getPropertyValue('box-sizing');\n if (boxSizing === 'border-box') {\n const paddingTop = computedStyle.getPropertyValue('padding-top');\n const paddingRight = computedStyle.getPropertyValue('padding-right');\n const paddingBottom = computedStyle.getPropertyValue('padding-bottom');\n const paddingLeft = computedStyle.getPropertyValue('padding-left');\n renderedWidth -= parseFloat(paddingRight) + parseFloat(paddingLeft);\n renderedHeight -= parseFloat(paddingTop) + parseFloat(paddingBottom);\n }\n const renderedAspectRatio = renderedWidth / renderedHeight;\n const nonZeroRenderedDimensions = renderedWidth !== 0 && renderedHeight !== 0;\n const intrinsicWidth = img.naturalWidth;\n const intrinsicHeight = img.naturalHeight;\n const intrinsicAspectRatio = intrinsicWidth / intrinsicHeight;\n const suppliedWidth = dir.width;\n const suppliedHeight = dir.height;\n const suppliedAspectRatio = suppliedWidth / suppliedHeight;\n // Tolerance is used to account for the impact of subpixel rendering.\n // Due to subpixel rendering, the rendered, intrinsic, and supplied\n // aspect ratios of a correctly configured image may not exactly match.\n // For example, a `width=4030 height=3020` image might have a rendered\n // size of \"1062w, 796.48h\". (An aspect ratio of 1.334... vs. 1.333...)\n const inaccurateDimensions = Math.abs(suppliedAspectRatio - intrinsicAspectRatio) > ASPECT_RATIO_TOLERANCE;\n const stylingDistortion = nonZeroRenderedDimensions &&\n Math.abs(intrinsicAspectRatio - renderedAspectRatio) > ASPECT_RATIO_TOLERANCE;\n if (inaccurateDimensions) {\n console.warn(ɵformatRuntimeError(2952 /* RuntimeErrorCode.INVALID_INPUT */, `${imgDirectiveDetails(dir.ngSrc)} the aspect ratio of the image does not match ` +\n `the aspect ratio indicated by the width and height attributes. ` +\n `\\nIntrinsic image size: ${intrinsicWidth}w x ${intrinsicHeight}h ` +\n `(aspect-ratio: ${round(intrinsicAspectRatio)}). \\nSupplied width and height attributes: ` +\n `${suppliedWidth}w x ${suppliedHeight}h (aspect-ratio: ${round(suppliedAspectRatio)}). ` +\n `\\nTo fix this, update the width and height attributes.`));\n }\n else if (stylingDistortion) {\n console.warn(ɵformatRuntimeError(2952 /* RuntimeErrorCode.INVALID_INPUT */, `${imgDirectiveDetails(dir.ngSrc)} the aspect ratio of the rendered image ` +\n `does not match the image's intrinsic aspect ratio. ` +\n `\\nIntrinsic image size: ${intrinsicWidth}w x ${intrinsicHeight}h ` +\n `(aspect-ratio: ${round(intrinsicAspectRatio)}). \\nRendered image size: ` +\n `${renderedWidth}w x ${renderedHeight}h (aspect-ratio: ` +\n `${round(renderedAspectRatio)}). \\nThis issue can occur if \"width\" and \"height\" ` +\n `attributes are added to an image without updating the corresponding ` +\n `image styling. To fix this, adjust image styling. In most cases, ` +\n `adding \"height: auto\" or \"width: auto\" to the image styling will fix ` +\n `this issue.`));\n }\n else if (!dir.ngSrcset && nonZeroRenderedDimensions) {\n // If `ngSrcset` hasn't been set, sanity check the intrinsic size.\n const recommendedWidth = RECOMMENDED_SRCSET_DENSITY_CAP * renderedWidth;\n const recommendedHeight = RECOMMENDED_SRCSET_DENSITY_CAP * renderedHeight;\n const oversizedWidth = (intrinsicWidth - recommendedWidth) >= OVERSIZED_IMAGE_TOLERANCE;\n const oversizedHeight = (intrinsicHeight - recommendedHeight) >= OVERSIZED_IMAGE_TOLERANCE;\n if (oversizedWidth || oversizedHeight) {\n console.warn(ɵformatRuntimeError(2960 /* RuntimeErrorCode.OVERSIZED_IMAGE */, `${imgDirectiveDetails(dir.ngSrc)} the intrinsic image is significantly ` +\n `larger than necessary. ` +\n `\\nRendered image size: ${renderedWidth}w x ${renderedHeight}h. ` +\n `\\nIntrinsic image size: ${intrinsicWidth}w x ${intrinsicHeight}h. ` +\n `\\nRecommended intrinsic image size: ${recommendedWidth}w x ${recommendedHeight}h. ` +\n `\\nNote: Recommended intrinsic image size is calculated assuming a maximum DPR of ` +\n `${RECOMMENDED_SRCSET_DENSITY_CAP}. To improve loading time, resize the image ` +\n `or consider using the \"ngSrcset\" and \"sizes\" attributes.`));\n }\n }\n });\n}\n/**\n * Verifies that a specified input is set.\n */\nfunction assertNonEmptyWidthAndHeight(dir) {\n let missingAttributes = [];\n if (dir.width === undefined)\n missingAttributes.push('width');\n if (dir.height === undefined)\n missingAttributes.push('height');\n if (missingAttributes.length > 0) {\n throw new ɵRuntimeError(2954 /* RuntimeErrorCode.REQUIRED_INPUT_MISSING */, `${imgDirectiveDetails(dir.ngSrc)} these required attributes ` +\n `are missing: ${missingAttributes.map(attr => `\"${attr}\"`).join(', ')}. ` +\n `Including \"width\" and \"height\" attributes will prevent image-related layout shifts. ` +\n `To fix this, include \"width\" and \"height\" attributes on the image tag or turn on ` +\n `\"fill\" mode with the \\`fill\\` attribute.`);\n }\n}\n/**\n * Verifies that width and height are not set. Used in fill mode, where those attributes don't make\n * sense.\n */\nfunction assertEmptyWidthAndHeight(dir) {\n if (dir.width || dir.height) {\n throw new ɵRuntimeError(2952 /* RuntimeErrorCode.INVALID_INPUT */, `${imgDirectiveDetails(dir.ngSrc)} the attributes \\`height\\` and/or \\`width\\` are present ` +\n `along with the \\`fill\\` attribute. Because \\`fill\\` mode causes an image to fill its containing ` +\n `element, the size attributes have no effect and should be removed.`);\n }\n}\n/**\n * Verifies that the rendered image has a nonzero height. If the image is in fill mode, provides\n * guidance that this can be caused by the containing element's CSS position property.\n */\nfunction assertNonZeroRenderedHeight(dir, img, renderer) {\n const removeListenerFn = renderer.listen(img, 'load', () => {\n removeListenerFn();\n const renderedHeight = img.clientHeight;\n if (dir.fill && renderedHeight === 0) {\n console.warn(ɵformatRuntimeError(2952 /* RuntimeErrorCode.INVALID_INPUT */, `${imgDirectiveDetails(dir.ngSrc)} the height of the fill-mode image is zero. ` +\n `This is likely because the containing element does not have the CSS 'position' ` +\n `property set to one of the following: \"relative\", \"fixed\", or \"absolute\". ` +\n `To fix this problem, make sure the container element has the CSS 'position' ` +\n `property defined and the height of the element is not zero.`));\n }\n });\n}\n/**\n * Verifies that the `loading` attribute is set to a valid input &\n * is not used on priority images.\n */\nfunction assertValidLoadingInput(dir) {\n if (dir.loading && dir.priority) {\n throw new ɵRuntimeError(2952 /* RuntimeErrorCode.INVALID_INPUT */, `${imgDirectiveDetails(dir.ngSrc)} the \\`loading\\` attribute ` +\n `was used on an image that was marked \"priority\". ` +\n `Setting \\`loading\\` on priority images is not allowed ` +\n `because these images will always be eagerly loaded. ` +\n `To fix this, remove the “loading” attribute from the priority image.`);\n }\n const validInputs = ['auto', 'eager', 'lazy'];\n if (typeof dir.loading === 'string' && !validInputs.includes(dir.loading)) {\n throw new ɵRuntimeError(2952 /* RuntimeErrorCode.INVALID_INPUT */, `${imgDirectiveDetails(dir.ngSrc)} the \\`loading\\` attribute ` +\n `has an invalid value (\\`${dir.loading}\\`). ` +\n `To fix this, provide a valid value (\"lazy\", \"eager\", or \"auto\").`);\n }\n}\n/**\n * Warns if NOT using a loader (falling back to the generic loader) and\n * the image appears to be hosted on one of the image CDNs for which\n * we do have a built-in image loader. Suggests switching to the\n * built-in loader.\n *\n * @param ngSrc Value of the ngSrc attribute\n * @param imageLoader ImageLoader provided\n */\nfunction assertNotMissingBuiltInLoader(ngSrc, imageLoader) {\n if (imageLoader === noopImageLoader) {\n let builtInLoaderName = '';\n for (const loader of BUILT_IN_LOADERS) {\n if (loader.testUrl(ngSrc)) {\n builtInLoaderName = loader.name;\n break;\n }\n }\n if (builtInLoaderName) {\n console.warn(ɵformatRuntimeError(2962 /* RuntimeErrorCode.MISSING_BUILTIN_LOADER */, `NgOptimizedImage: It looks like your images may be hosted on the ` +\n `${builtInLoaderName} CDN, but your app is not using Angular's ` +\n `built-in loader for that CDN. We recommend switching to use ` +\n `the built-in by calling \\`provide${builtInLoaderName}Loader()\\` ` +\n `in your \\`providers\\` and passing it your instance's base URL. ` +\n `If you don't want to use the built-in loader, define a custom ` +\n `loader function using IMAGE_LOADER to silence this warning.`));\n }\n }\n}\n/**\n * Warns if ngSrcset is present and no loader is configured (i.e. the default one is being used).\n */\nfunction assertNoNgSrcsetWithoutLoader(dir, imageLoader) {\n if (dir.ngSrcset && imageLoader === noopImageLoader) {\n console.warn(ɵformatRuntimeError(2963 /* RuntimeErrorCode.MISSING_NECESSARY_LOADER */, `${imgDirectiveDetails(dir.ngSrc)} the \\`ngSrcset\\` attribute is present but ` +\n `no image loader is configured (i.e. the default one is being used), ` +\n `which would result in the same image being used for all configured sizes. ` +\n `To fix this, provide a loader or remove the \\`ngSrcset\\` attribute from the image.`));\n }\n}\n/**\n * Warns if loaderParams is present and no loader is configured (i.e. the default one is being\n * used).\n */\nfunction assertNoLoaderParamsWithoutLoader(dir, imageLoader) {\n if (dir.loaderParams && imageLoader === noopImageLoader) {\n console.warn(ɵformatRuntimeError(2963 /* RuntimeErrorCode.MISSING_NECESSARY_LOADER */, `${imgDirectiveDetails(dir.ngSrc)} the \\`loaderParams\\` attribute is present but ` +\n `no image loader is configured (i.e. the default one is being used), ` +\n `which means that the loaderParams data will not be consumed and will not affect the URL. ` +\n `To fix this, provide a custom loader or remove the \\`loaderParams\\` attribute from the image.`));\n }\n}\nfunction round(input) {\n return Number.isInteger(input) ? input : input.toFixed(2);\n}\n// Transform function to handle SafeValue input for ngSrc. This doesn't do any sanitization,\n// as that is not needed for img.src and img.srcset. This transform is purely for compatibility.\nfunction unwrapSafeUrl(value) {\n if (typeof value === 'string') {\n return value;\n }\n return ɵunwrapSafeValue(value);\n}\n\n// These exports represent the set of symbols exposed as a public API.\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of the common package.\n */\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of this package.\n */\n// This file only reexports content of the `src` folder. Keep it that way.\n\n// This file is not used to build this module. It is only used during editing\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { APP_BASE_HREF, AsyncPipe, BrowserPlatformLocation, CommonModule, CurrencyPipe, DATE_PIPE_DEFAULT_OPTIONS, DATE_PIPE_DEFAULT_TIMEZONE, DOCUMENT, DatePipe, DecimalPipe, FormStyle, FormatWidth, HashLocationStrategy, I18nPluralPipe, I18nSelectPipe, IMAGE_CONFIG, IMAGE_LOADER, JsonPipe, KeyValuePipe, LOCATION_INITIALIZED, Location, LocationStrategy, LowerCasePipe, NgClass, NgComponentOutlet, NgForOf as NgFor, NgForOf, NgForOfContext, NgIf, NgIfContext, NgLocaleLocalization, NgLocalization, NgOptimizedImage, NgPlural, NgPluralCase, NgStyle, NgSwitch, NgSwitchCase, NgSwitchDefault, NgTemplateOutlet, NumberFormatStyle, NumberSymbol, PRECONNECT_CHECK_BLOCKLIST, PathLocationStrategy, PercentPipe, PlatformLocation, Plural, SlicePipe, TitleCasePipe, TranslationWidth, UpperCasePipe, VERSION, ViewportScroller, WeekDay, XhrFactory, formatCurrency, formatDate, formatNumber, formatPercent, getCurrencySymbol, getLocaleCurrencyCode, getLocaleCurrencyName, getLocaleCurrencySymbol, getLocaleDateFormat, getLocaleDateTimeFormat, getLocaleDayNames, getLocaleDayPeriods, getLocaleDirection, getLocaleEraNames, getLocaleExtraDayPeriodRules, getLocaleExtraDayPeriods, getLocaleFirstDayOfWeek, getLocaleId, getLocaleMonthNames, getLocaleNumberFormat, getLocaleNumberSymbol, getLocalePluralCase, getLocaleTimeFormat, getLocaleWeekEndRange, getNumberOfCurrencyDigits, isPlatformBrowser, isPlatformServer, isPlatformWorkerApp, isPlatformWorkerUi, provideCloudflareLoader, provideCloudinaryLoader, provideImageKitLoader, provideImgixLoader, registerLocaleData, DomAdapter as ɵDomAdapter, NullViewportScroller as ɵNullViewportScroller, PLATFORM_BROWSER_ID as ɵPLATFORM_BROWSER_ID, PLATFORM_SERVER_ID as ɵPLATFORM_SERVER_ID, PLATFORM_WORKER_APP_ID as ɵPLATFORM_WORKER_APP_ID, PLATFORM_WORKER_UI_ID as ɵPLATFORM_WORKER_UI_ID, getDOM as ɵgetDOM, parseCookieValue as ɵparseCookieValue, setRootDomAdapter as ɵsetRootDomAdapter };\n","/**\n * @license Angular v16.2.12\n * (c) 2010-2022 Google LLC. https://angular.io/\n * License: MIT\n */\n\nimport * as i0 from '@angular/core';\nimport { Injectable, inject, NgZone, InjectionToken, ɵInitialRenderPendingTasks, Inject, ɵRuntimeError, PLATFORM_ID, makeEnvironmentProviders, NgModule, TransferState, makeStateKey, ɵENABLED_SSR_FEATURES, APP_BOOTSTRAP_LISTENER, ApplicationRef } from '@angular/core';\nimport { of, Observable, from } from 'rxjs';\nimport { concatMap, filter, map, finalize, switchMap, tap, first } from 'rxjs/operators';\nimport * as i1 from '@angular/common';\nimport { DOCUMENT, ɵparseCookieValue } from '@angular/common';\n\n/**\n * Transforms an `HttpRequest` into a stream of `HttpEvent`s, one of which will likely be a\n * `HttpResponse`.\n *\n * `HttpHandler` is injectable. When injected, the handler instance dispatches requests to the\n * first interceptor in the chain, which dispatches to the second, etc, eventually reaching the\n * `HttpBackend`.\n *\n * In an `HttpInterceptor`, the `HttpHandler` parameter is the next interceptor in the chain.\n *\n * @publicApi\n */\nclass HttpHandler {\n}\n/**\n * A final `HttpHandler` which will dispatch the request via browser HTTP APIs to a backend.\n *\n * Interceptors sit between the `HttpClient` interface and the `HttpBackend`.\n *\n * When injected, `HttpBackend` dispatches requests directly to the backend, without going\n * through the interceptor chain.\n *\n * @publicApi\n */\nclass HttpBackend {\n}\n\n/**\n * Represents the header configuration options for an HTTP request.\n * Instances are immutable. Modifying methods return a cloned\n * instance with the change. The original object is never changed.\n *\n * @publicApi\n */\nclass HttpHeaders {\n /** Constructs a new HTTP header object with the given values.*/\n constructor(headers) {\n /**\n * Internal map of lowercased header names to the normalized\n * form of the name (the form seen first).\n */\n this.normalizedNames = new Map();\n /**\n * Queued updates to be materialized the next initialization.\n */\n this.lazyUpdate = null;\n if (!headers) {\n this.headers = new Map();\n }\n else if (typeof headers === 'string') {\n this.lazyInit = () => {\n this.headers = new Map();\n headers.split('\\n').forEach(line => {\n const index = line.indexOf(':');\n if (index > 0) {\n const name = line.slice(0, index);\n const key = name.toLowerCase();\n const value = line.slice(index + 1).trim();\n this.maybeSetNormalizedName(name, key);\n if (this.headers.has(key)) {\n this.headers.get(key).push(value);\n }\n else {\n this.headers.set(key, [value]);\n }\n }\n });\n };\n }\n else if (typeof Headers !== 'undefined' && headers instanceof Headers) {\n this.headers = new Map();\n headers.forEach((values, name) => {\n this.setHeaderEntries(name, values);\n });\n }\n else {\n this.lazyInit = () => {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n assertValidHeaders(headers);\n }\n this.headers = new Map();\n Object.entries(headers).forEach(([name, values]) => {\n this.setHeaderEntries(name, values);\n });\n };\n }\n }\n /**\n * Checks for existence of a given header.\n *\n * @param name The header name to check for existence.\n *\n * @returns True if the header exists, false otherwise.\n */\n has(name) {\n this.init();\n return this.headers.has(name.toLowerCase());\n }\n /**\n * Retrieves the first value of a given header.\n *\n * @param name The header name.\n *\n * @returns The value string if the header exists, null otherwise\n */\n get(name) {\n this.init();\n const values = this.headers.get(name.toLowerCase());\n return values && values.length > 0 ? values[0] : null;\n }\n /**\n * Retrieves the names of the headers.\n *\n * @returns A list of header names.\n */\n keys() {\n this.init();\n return Array.from(this.normalizedNames.values());\n }\n /**\n * Retrieves a list of values for a given header.\n *\n * @param name The header name from which to retrieve values.\n *\n * @returns A string of values if the header exists, null otherwise.\n */\n getAll(name) {\n this.init();\n return this.headers.get(name.toLowerCase()) || null;\n }\n /**\n * Appends a new value to the existing set of values for a header\n * and returns them in a clone of the original instance.\n *\n * @param name The header name for which to append the values.\n * @param value The value to append.\n *\n * @returns A clone of the HTTP headers object with the value appended to the given header.\n */\n append(name, value) {\n return this.clone({ name, value, op: 'a' });\n }\n /**\n * Sets or modifies a value for a given header in a clone of the original instance.\n * If the header already exists, its value is replaced with the given value\n * in the returned object.\n *\n * @param name The header name.\n * @param value The value or values to set or override for the given header.\n *\n * @returns A clone of the HTTP headers object with the newly set header value.\n */\n set(name, value) {\n return this.clone({ name, value, op: 's' });\n }\n /**\n * Deletes values for a given header in a clone of the original instance.\n *\n * @param name The header name.\n * @param value The value or values to delete for the given header.\n *\n * @returns A clone of the HTTP headers object with the given value deleted.\n */\n delete(name, value) {\n return this.clone({ name, value, op: 'd' });\n }\n maybeSetNormalizedName(name, lcName) {\n if (!this.normalizedNames.has(lcName)) {\n this.normalizedNames.set(lcName, name);\n }\n }\n init() {\n if (!!this.lazyInit) {\n if (this.lazyInit instanceof HttpHeaders) {\n this.copyFrom(this.lazyInit);\n }\n else {\n this.lazyInit();\n }\n this.lazyInit = null;\n if (!!this.lazyUpdate) {\n this.lazyUpdate.forEach(update => this.applyUpdate(update));\n this.lazyUpdate = null;\n }\n }\n }\n copyFrom(other) {\n other.init();\n Array.from(other.headers.keys()).forEach(key => {\n this.headers.set(key, other.headers.get(key));\n this.normalizedNames.set(key, other.normalizedNames.get(key));\n });\n }\n clone(update) {\n const clone = new HttpHeaders();\n clone.lazyInit =\n (!!this.lazyInit && this.lazyInit instanceof HttpHeaders) ? this.lazyInit : this;\n clone.lazyUpdate = (this.lazyUpdate || []).concat([update]);\n return clone;\n }\n applyUpdate(update) {\n const key = update.name.toLowerCase();\n switch (update.op) {\n case 'a':\n case 's':\n let value = update.value;\n if (typeof value === 'string') {\n value = [value];\n }\n if (value.length === 0) {\n return;\n }\n this.maybeSetNormalizedName(update.name, key);\n const base = (update.op === 'a' ? this.headers.get(key) : undefined) || [];\n base.push(...value);\n this.headers.set(key, base);\n break;\n case 'd':\n const toDelete = update.value;\n if (!toDelete) {\n this.headers.delete(key);\n this.normalizedNames.delete(key);\n }\n else {\n let existing = this.headers.get(key);\n if (!existing) {\n return;\n }\n existing = existing.filter(value => toDelete.indexOf(value) === -1);\n if (existing.length === 0) {\n this.headers.delete(key);\n this.normalizedNames.delete(key);\n }\n else {\n this.headers.set(key, existing);\n }\n }\n break;\n }\n }\n setHeaderEntries(name, values) {\n const headerValues = (Array.isArray(values) ? values : [values]).map((value) => value.toString());\n const key = name.toLowerCase();\n this.headers.set(key, headerValues);\n this.maybeSetNormalizedName(name, key);\n }\n /**\n * @internal\n */\n forEach(fn) {\n this.init();\n Array.from(this.normalizedNames.keys())\n .forEach(key => fn(this.normalizedNames.get(key), this.headers.get(key)));\n }\n}\n/**\n * Verifies that the headers object has the right shape: the values\n * must be either strings, numbers or arrays. Throws an error if an invalid\n * header value is present.\n */\nfunction assertValidHeaders(headers) {\n for (const [key, value] of Object.entries(headers)) {\n if (!(typeof value === 'string' || typeof value === 'number') && !Array.isArray(value)) {\n throw new Error(`Unexpected value of the \\`${key}\\` header provided. ` +\n `Expecting either a string, a number or an array, but got: \\`${value}\\`.`);\n }\n }\n}\n\n/**\n * Provides encoding and decoding of URL parameter and query-string values.\n *\n * Serializes and parses URL parameter keys and values to encode and decode them.\n * If you pass URL query parameters without encoding,\n * the query parameters can be misinterpreted at the receiving end.\n *\n *\n * @publicApi\n */\nclass HttpUrlEncodingCodec {\n /**\n * Encodes a key name for a URL parameter or query-string.\n * @param key The key name.\n * @returns The encoded key name.\n */\n encodeKey(key) {\n return standardEncoding(key);\n }\n /**\n * Encodes the value of a URL parameter or query-string.\n * @param value The value.\n * @returns The encoded value.\n */\n encodeValue(value) {\n return standardEncoding(value);\n }\n /**\n * Decodes an encoded URL parameter or query-string key.\n * @param key The encoded key name.\n * @returns The decoded key name.\n */\n decodeKey(key) {\n return decodeURIComponent(key);\n }\n /**\n * Decodes an encoded URL parameter or query-string value.\n * @param value The encoded value.\n * @returns The decoded value.\n */\n decodeValue(value) {\n return decodeURIComponent(value);\n }\n}\nfunction paramParser(rawParams, codec) {\n const map = new Map();\n if (rawParams.length > 0) {\n // The `window.location.search` can be used while creating an instance of the `HttpParams` class\n // (e.g. `new HttpParams({ fromString: window.location.search })`). The `window.location.search`\n // may start with the `?` char, so we strip it if it's present.\n const params = rawParams.replace(/^\\?/, '').split('&');\n params.forEach((param) => {\n const eqIdx = param.indexOf('=');\n const [key, val] = eqIdx == -1 ?\n [codec.decodeKey(param), ''] :\n [codec.decodeKey(param.slice(0, eqIdx)), codec.decodeValue(param.slice(eqIdx + 1))];\n const list = map.get(key) || [];\n list.push(val);\n map.set(key, list);\n });\n }\n return map;\n}\n/**\n * Encode input string with standard encodeURIComponent and then un-encode specific characters.\n */\nconst STANDARD_ENCODING_REGEX = /%(\\d[a-f0-9])/gi;\nconst STANDARD_ENCODING_REPLACEMENTS = {\n '40': '@',\n '3A': ':',\n '24': '$',\n '2C': ',',\n '3B': ';',\n '3D': '=',\n '3F': '?',\n '2F': '/',\n};\nfunction standardEncoding(v) {\n return encodeURIComponent(v).replace(STANDARD_ENCODING_REGEX, (s, t) => STANDARD_ENCODING_REPLACEMENTS[t] ?? s);\n}\nfunction valueToString(value) {\n return `${value}`;\n}\n/**\n * An HTTP request/response body that represents serialized parameters,\n * per the MIME type `application/x-www-form-urlencoded`.\n *\n * This class is immutable; all mutation operations return a new instance.\n *\n * @publicApi\n */\nclass HttpParams {\n constructor(options = {}) {\n this.updates = null;\n this.cloneFrom = null;\n this.encoder = options.encoder || new HttpUrlEncodingCodec();\n if (!!options.fromString) {\n if (!!options.fromObject) {\n throw new Error(`Cannot specify both fromString and fromObject.`);\n }\n this.map = paramParser(options.fromString, this.encoder);\n }\n else if (!!options.fromObject) {\n this.map = new Map();\n Object.keys(options.fromObject).forEach(key => {\n const value = options.fromObject[key];\n // convert the values to strings\n const values = Array.isArray(value) ? value.map(valueToString) : [valueToString(value)];\n this.map.set(key, values);\n });\n }\n else {\n this.map = null;\n }\n }\n /**\n * Reports whether the body includes one or more values for a given parameter.\n * @param param The parameter name.\n * @returns True if the parameter has one or more values,\n * false if it has no value or is not present.\n */\n has(param) {\n this.init();\n return this.map.has(param);\n }\n /**\n * Retrieves the first value for a parameter.\n * @param param The parameter name.\n * @returns The first value of the given parameter,\n * or `null` if the parameter is not present.\n */\n get(param) {\n this.init();\n const res = this.map.get(param);\n return !!res ? res[0] : null;\n }\n /**\n * Retrieves all values for a parameter.\n * @param param The parameter name.\n * @returns All values in a string array,\n * or `null` if the parameter not present.\n */\n getAll(param) {\n this.init();\n return this.map.get(param) || null;\n }\n /**\n * Retrieves all the parameters for this body.\n * @returns The parameter names in a string array.\n */\n keys() {\n this.init();\n return Array.from(this.map.keys());\n }\n /**\n * Appends a new value to existing values for a parameter.\n * @param param The parameter name.\n * @param value The new value to add.\n * @return A new body with the appended value.\n */\n append(param, value) {\n return this.clone({ param, value, op: 'a' });\n }\n /**\n * Constructs a new body with appended values for the given parameter name.\n * @param params parameters and values\n * @return A new body with the new value.\n */\n appendAll(params) {\n const updates = [];\n Object.keys(params).forEach(param => {\n const value = params[param];\n if (Array.isArray(value)) {\n value.forEach(_value => {\n updates.push({ param, value: _value, op: 'a' });\n });\n }\n else {\n updates.push({ param, value: value, op: 'a' });\n }\n });\n return this.clone(updates);\n }\n /**\n * Replaces the value for a parameter.\n * @param param The parameter name.\n * @param value The new value.\n * @return A new body with the new value.\n */\n set(param, value) {\n return this.clone({ param, value, op: 's' });\n }\n /**\n * Removes a given value or all values from a parameter.\n * @param param The parameter name.\n * @param value The value to remove, if provided.\n * @return A new body with the given value removed, or with all values\n * removed if no value is specified.\n */\n delete(param, value) {\n return this.clone({ param, value, op: 'd' });\n }\n /**\n * Serializes the body to an encoded string, where key-value pairs (separated by `=`) are\n * separated by `&`s.\n */\n toString() {\n this.init();\n return this.keys()\n .map(key => {\n const eKey = this.encoder.encodeKey(key);\n // `a: ['1']` produces `'a=1'`\n // `b: []` produces `''`\n // `c: ['1', '2']` produces `'c=1&c=2'`\n return this.map.get(key).map(value => eKey + '=' + this.encoder.encodeValue(value))\n .join('&');\n })\n // filter out empty values because `b: []` produces `''`\n // which results in `a=1&&c=1&c=2` instead of `a=1&c=1&c=2` if we don't\n .filter(param => param !== '')\n .join('&');\n }\n clone(update) {\n const clone = new HttpParams({ encoder: this.encoder });\n clone.cloneFrom = this.cloneFrom || this;\n clone.updates = (this.updates || []).concat(update);\n return clone;\n }\n init() {\n if (this.map === null) {\n this.map = new Map();\n }\n if (this.cloneFrom !== null) {\n this.cloneFrom.init();\n this.cloneFrom.keys().forEach(key => this.map.set(key, this.cloneFrom.map.get(key)));\n this.updates.forEach(update => {\n switch (update.op) {\n case 'a':\n case 's':\n const base = (update.op === 'a' ? this.map.get(update.param) : undefined) || [];\n base.push(valueToString(update.value));\n this.map.set(update.param, base);\n break;\n case 'd':\n if (update.value !== undefined) {\n let base = this.map.get(update.param) || [];\n const idx = base.indexOf(valueToString(update.value));\n if (idx !== -1) {\n base.splice(idx, 1);\n }\n if (base.length > 0) {\n this.map.set(update.param, base);\n }\n else {\n this.map.delete(update.param);\n }\n }\n else {\n this.map.delete(update.param);\n break;\n }\n }\n });\n this.cloneFrom = this.updates = null;\n }\n }\n}\n\n/**\n * A token used to manipulate and access values stored in `HttpContext`.\n *\n * @publicApi\n */\nclass HttpContextToken {\n constructor(defaultValue) {\n this.defaultValue = defaultValue;\n }\n}\n/**\n * Http context stores arbitrary user defined values and ensures type safety without\n * actually knowing the types. It is backed by a `Map` and guarantees that keys do not clash.\n *\n * This context is mutable and is shared between cloned requests unless explicitly specified.\n *\n * @usageNotes\n *\n * ### Usage Example\n *\n * ```typescript\n * // inside cache.interceptors.ts\n * export const IS_CACHE_ENABLED = new HttpContextToken(() => false);\n *\n * export class CacheInterceptor implements HttpInterceptor {\n *\n * intercept(req: HttpRequest, delegate: HttpHandler): Observable> {\n * if (req.context.get(IS_CACHE_ENABLED) === true) {\n * return ...;\n * }\n * return delegate.handle(req);\n * }\n * }\n *\n * // inside a service\n *\n * this.httpClient.get('/api/weather', {\n * context: new HttpContext().set(IS_CACHE_ENABLED, true)\n * }).subscribe(...);\n * ```\n *\n * @publicApi\n */\nclass HttpContext {\n constructor() {\n this.map = new Map();\n }\n /**\n * Store a value in the context. If a value is already present it will be overwritten.\n *\n * @param token The reference to an instance of `HttpContextToken`.\n * @param value The value to store.\n *\n * @returns A reference to itself for easy chaining.\n */\n set(token, value) {\n this.map.set(token, value);\n return this;\n }\n /**\n * Retrieve the value associated with the given token.\n *\n * @param token The reference to an instance of `HttpContextToken`.\n *\n * @returns The stored value or default if one is defined.\n */\n get(token) {\n if (!this.map.has(token)) {\n this.map.set(token, token.defaultValue());\n }\n return this.map.get(token);\n }\n /**\n * Delete the value associated with the given token.\n *\n * @param token The reference to an instance of `HttpContextToken`.\n *\n * @returns A reference to itself for easy chaining.\n */\n delete(token) {\n this.map.delete(token);\n return this;\n }\n /**\n * Checks for existence of a given token.\n *\n * @param token The reference to an instance of `HttpContextToken`.\n *\n * @returns True if the token exists, false otherwise.\n */\n has(token) {\n return this.map.has(token);\n }\n /**\n * @returns a list of tokens currently stored in the context.\n */\n keys() {\n return this.map.keys();\n }\n}\n\n/**\n * Determine whether the given HTTP method may include a body.\n */\nfunction mightHaveBody(method) {\n switch (method) {\n case 'DELETE':\n case 'GET':\n case 'HEAD':\n case 'OPTIONS':\n case 'JSONP':\n return false;\n default:\n return true;\n }\n}\n/**\n * Safely assert whether the given value is an ArrayBuffer.\n *\n * In some execution environments ArrayBuffer is not defined.\n */\nfunction isArrayBuffer(value) {\n return typeof ArrayBuffer !== 'undefined' && value instanceof ArrayBuffer;\n}\n/**\n * Safely assert whether the given value is a Blob.\n *\n * In some execution environments Blob is not defined.\n */\nfunction isBlob(value) {\n return typeof Blob !== 'undefined' && value instanceof Blob;\n}\n/**\n * Safely assert whether the given value is a FormData instance.\n *\n * In some execution environments FormData is not defined.\n */\nfunction isFormData(value) {\n return typeof FormData !== 'undefined' && value instanceof FormData;\n}\n/**\n * Safely assert whether the given value is a URLSearchParams instance.\n *\n * In some execution environments URLSearchParams is not defined.\n */\nfunction isUrlSearchParams(value) {\n return typeof URLSearchParams !== 'undefined' && value instanceof URLSearchParams;\n}\n/**\n * An outgoing HTTP request with an optional typed body.\n *\n * `HttpRequest` represents an outgoing request, including URL, method,\n * headers, body, and other request configuration options. Instances should be\n * assumed to be immutable. To modify a `HttpRequest`, the `clone`\n * method should be used.\n *\n * @publicApi\n */\nclass HttpRequest {\n constructor(method, url, third, fourth) {\n this.url = url;\n /**\n * The request body, or `null` if one isn't set.\n *\n * Bodies are not enforced to be immutable, as they can include a reference to any\n * user-defined data type. However, interceptors should take care to preserve\n * idempotence by treating them as such.\n */\n this.body = null;\n /**\n * Whether this request should be made in a way that exposes progress events.\n *\n * Progress events are expensive (change detection runs on each event) and so\n * they should only be requested if the consumer intends to monitor them.\n *\n * Note: The `FetchBackend` doesn't support progress report on uploads.\n */\n this.reportProgress = false;\n /**\n * Whether this request should be sent with outgoing credentials (cookies).\n */\n this.withCredentials = false;\n /**\n * The expected response type of the server.\n *\n * This is used to parse the response appropriately before returning it to\n * the requestee.\n */\n this.responseType = 'json';\n this.method = method.toUpperCase();\n // Next, need to figure out which argument holds the HttpRequestInit\n // options, if any.\n let options;\n // Check whether a body argument is expected. The only valid way to omit\n // the body argument is to use a known no-body method like GET.\n if (mightHaveBody(this.method) || !!fourth) {\n // Body is the third argument, options are the fourth.\n this.body = (third !== undefined) ? third : null;\n options = fourth;\n }\n else {\n // No body required, options are the third argument. The body stays null.\n options = third;\n }\n // If options have been passed, interpret them.\n if (options) {\n // Normalize reportProgress and withCredentials.\n this.reportProgress = !!options.reportProgress;\n this.withCredentials = !!options.withCredentials;\n // Override default response type of 'json' if one is provided.\n if (!!options.responseType) {\n this.responseType = options.responseType;\n }\n // Override headers if they're provided.\n if (!!options.headers) {\n this.headers = options.headers;\n }\n if (!!options.context) {\n this.context = options.context;\n }\n if (!!options.params) {\n this.params = options.params;\n }\n }\n // If no headers have been passed in, construct a new HttpHeaders instance.\n if (!this.headers) {\n this.headers = new HttpHeaders();\n }\n // If no context have been passed in, construct a new HttpContext instance.\n if (!this.context) {\n this.context = new HttpContext();\n }\n // If no parameters have been passed in, construct a new HttpUrlEncodedParams instance.\n if (!this.params) {\n this.params = new HttpParams();\n this.urlWithParams = url;\n }\n else {\n // Encode the parameters to a string in preparation for inclusion in the URL.\n const params = this.params.toString();\n if (params.length === 0) {\n // No parameters, the visible URL is just the URL given at creation time.\n this.urlWithParams = url;\n }\n else {\n // Does the URL already have query parameters? Look for '?'.\n const qIdx = url.indexOf('?');\n // There are 3 cases to handle:\n // 1) No existing parameters -> append '?' followed by params.\n // 2) '?' exists and is followed by existing query string ->\n // append '&' followed by params.\n // 3) '?' exists at the end of the url -> append params directly.\n // This basically amounts to determining the character, if any, with\n // which to join the URL and parameters.\n const sep = qIdx === -1 ? '?' : (qIdx < url.length - 1 ? '&' : '');\n this.urlWithParams = url + sep + params;\n }\n }\n }\n /**\n * Transform the free-form body into a serialized format suitable for\n * transmission to the server.\n */\n serializeBody() {\n // If no body is present, no need to serialize it.\n if (this.body === null) {\n return null;\n }\n // Check whether the body is already in a serialized form. If so,\n // it can just be returned directly.\n if (isArrayBuffer(this.body) || isBlob(this.body) || isFormData(this.body) ||\n isUrlSearchParams(this.body) || typeof this.body === 'string') {\n return this.body;\n }\n // Check whether the body is an instance of HttpUrlEncodedParams.\n if (this.body instanceof HttpParams) {\n return this.body.toString();\n }\n // Check whether the body is an object or array, and serialize with JSON if so.\n if (typeof this.body === 'object' || typeof this.body === 'boolean' ||\n Array.isArray(this.body)) {\n return JSON.stringify(this.body);\n }\n // Fall back on toString() for everything else.\n return this.body.toString();\n }\n /**\n * Examine the body and attempt to infer an appropriate MIME type\n * for it.\n *\n * If no such type can be inferred, this method will return `null`.\n */\n detectContentTypeHeader() {\n // An empty body has no content type.\n if (this.body === null) {\n return null;\n }\n // FormData bodies rely on the browser's content type assignment.\n if (isFormData(this.body)) {\n return null;\n }\n // Blobs usually have their own content type. If it doesn't, then\n // no type can be inferred.\n if (isBlob(this.body)) {\n return this.body.type || null;\n }\n // Array buffers have unknown contents and thus no type can be inferred.\n if (isArrayBuffer(this.body)) {\n return null;\n }\n // Technically, strings could be a form of JSON data, but it's safe enough\n // to assume they're plain strings.\n if (typeof this.body === 'string') {\n return 'text/plain';\n }\n // `HttpUrlEncodedParams` has its own content-type.\n if (this.body instanceof HttpParams) {\n return 'application/x-www-form-urlencoded;charset=UTF-8';\n }\n // Arrays, objects, boolean and numbers will be encoded as JSON.\n if (typeof this.body === 'object' || typeof this.body === 'number' ||\n typeof this.body === 'boolean') {\n return 'application/json';\n }\n // No type could be inferred.\n return null;\n }\n clone(update = {}) {\n // For method, url, and responseType, take the current value unless\n // it is overridden in the update hash.\n const method = update.method || this.method;\n const url = update.url || this.url;\n const responseType = update.responseType || this.responseType;\n // The body is somewhat special - a `null` value in update.body means\n // whatever current body is present is being overridden with an empty\n // body, whereas an `undefined` value in update.body implies no\n // override.\n const body = (update.body !== undefined) ? update.body : this.body;\n // Carefully handle the boolean options to differentiate between\n // `false` and `undefined` in the update args.\n const withCredentials = (update.withCredentials !== undefined) ? update.withCredentials : this.withCredentials;\n const reportProgress = (update.reportProgress !== undefined) ? update.reportProgress : this.reportProgress;\n // Headers and params may be appended to if `setHeaders` or\n // `setParams` are used.\n let headers = update.headers || this.headers;\n let params = update.params || this.params;\n // Pass on context if needed\n const context = update.context ?? this.context;\n // Check whether the caller has asked to add headers.\n if (update.setHeaders !== undefined) {\n // Set every requested header.\n headers =\n Object.keys(update.setHeaders)\n .reduce((headers, name) => headers.set(name, update.setHeaders[name]), headers);\n }\n // Check whether the caller has asked to set params.\n if (update.setParams) {\n // Set every requested param.\n params = Object.keys(update.setParams)\n .reduce((params, param) => params.set(param, update.setParams[param]), params);\n }\n // Finally, construct the new HttpRequest using the pieces from above.\n return new HttpRequest(method, url, body, {\n params,\n headers,\n context,\n reportProgress,\n responseType,\n withCredentials,\n });\n }\n}\n\n/**\n * Type enumeration for the different kinds of `HttpEvent`.\n *\n * @publicApi\n */\nvar HttpEventType;\n(function (HttpEventType) {\n /**\n * The request was sent out over the wire.\n */\n HttpEventType[HttpEventType[\"Sent\"] = 0] = \"Sent\";\n /**\n * An upload progress event was received.\n *\n * Note: The `FetchBackend` doesn't support progress report on uploads.\n */\n HttpEventType[HttpEventType[\"UploadProgress\"] = 1] = \"UploadProgress\";\n /**\n * The response status code and headers were received.\n */\n HttpEventType[HttpEventType[\"ResponseHeader\"] = 2] = \"ResponseHeader\";\n /**\n * A download progress event was received.\n */\n HttpEventType[HttpEventType[\"DownloadProgress\"] = 3] = \"DownloadProgress\";\n /**\n * The full response including the body was received.\n */\n HttpEventType[HttpEventType[\"Response\"] = 4] = \"Response\";\n /**\n * A custom event from an interceptor or a backend.\n */\n HttpEventType[HttpEventType[\"User\"] = 5] = \"User\";\n})(HttpEventType || (HttpEventType = {}));\n/**\n * Base class for both `HttpResponse` and `HttpHeaderResponse`.\n *\n * @publicApi\n */\nclass HttpResponseBase {\n /**\n * Super-constructor for all responses.\n *\n * The single parameter accepted is an initialization hash. Any properties\n * of the response passed there will override the default values.\n */\n constructor(init, defaultStatus = 200 /* HttpStatusCode.Ok */, defaultStatusText = 'OK') {\n // If the hash has values passed, use them to initialize the response.\n // Otherwise use the default values.\n this.headers = init.headers || new HttpHeaders();\n this.status = init.status !== undefined ? init.status : defaultStatus;\n this.statusText = init.statusText || defaultStatusText;\n this.url = init.url || null;\n // Cache the ok value to avoid defining a getter.\n this.ok = this.status >= 200 && this.status < 300;\n }\n}\n/**\n * A partial HTTP response which only includes the status and header data,\n * but no response body.\n *\n * `HttpHeaderResponse` is a `HttpEvent` available on the response\n * event stream, only when progress events are requested.\n *\n * @publicApi\n */\nclass HttpHeaderResponse extends HttpResponseBase {\n /**\n * Create a new `HttpHeaderResponse` with the given parameters.\n */\n constructor(init = {}) {\n super(init);\n this.type = HttpEventType.ResponseHeader;\n }\n /**\n * Copy this `HttpHeaderResponse`, overriding its contents with the\n * given parameter hash.\n */\n clone(update = {}) {\n // Perform a straightforward initialization of the new HttpHeaderResponse,\n // overriding the current parameters with new ones if given.\n return new HttpHeaderResponse({\n headers: update.headers || this.headers,\n status: update.status !== undefined ? update.status : this.status,\n statusText: update.statusText || this.statusText,\n url: update.url || this.url || undefined,\n });\n }\n}\n/**\n * A full HTTP response, including a typed response body (which may be `null`\n * if one was not returned).\n *\n * `HttpResponse` is a `HttpEvent` available on the response event\n * stream.\n *\n * @publicApi\n */\nclass HttpResponse extends HttpResponseBase {\n /**\n * Construct a new `HttpResponse`.\n */\n constructor(init = {}) {\n super(init);\n this.type = HttpEventType.Response;\n this.body = init.body !== undefined ? init.body : null;\n }\n clone(update = {}) {\n return new HttpResponse({\n body: (update.body !== undefined) ? update.body : this.body,\n headers: update.headers || this.headers,\n status: (update.status !== undefined) ? update.status : this.status,\n statusText: update.statusText || this.statusText,\n url: update.url || this.url || undefined,\n });\n }\n}\n/**\n * A response that represents an error or failure, either from a\n * non-successful HTTP status, an error while executing the request,\n * or some other failure which occurred during the parsing of the response.\n *\n * Any error returned on the `Observable` response stream will be\n * wrapped in an `HttpErrorResponse` to provide additional context about\n * the state of the HTTP layer when the error occurred. The error property\n * will contain either a wrapped Error object or the error response returned\n * from the server.\n *\n * @publicApi\n */\nclass HttpErrorResponse extends HttpResponseBase {\n constructor(init) {\n // Initialize with a default status of 0 / Unknown Error.\n super(init, 0, 'Unknown Error');\n this.name = 'HttpErrorResponse';\n /**\n * Errors are never okay, even when the status code is in the 2xx success range.\n */\n this.ok = false;\n // If the response was successful, then this was a parse error. Otherwise, it was\n // a protocol-level failure of some sort. Either the request failed in transit\n // or the server returned an unsuccessful status code.\n if (this.status >= 200 && this.status < 300) {\n this.message = `Http failure during parsing for ${init.url || '(unknown url)'}`;\n }\n else {\n this.message = `Http failure response for ${init.url || '(unknown url)'}: ${init.status} ${init.statusText}`;\n }\n this.error = init.error || null;\n }\n}\n\n/**\n * Constructs an instance of `HttpRequestOptions` from a source `HttpMethodOptions` and\n * the given `body`. This function clones the object and adds the body.\n *\n * Note that the `responseType` *options* value is a String that identifies the\n * single data type of the response.\n * A single overload version of the method handles each response type.\n * The value of `responseType` cannot be a union, as the combined signature could imply.\n *\n */\nfunction addBody(options, body) {\n return {\n body,\n headers: options.headers,\n context: options.context,\n observe: options.observe,\n params: options.params,\n reportProgress: options.reportProgress,\n responseType: options.responseType,\n withCredentials: options.withCredentials,\n };\n}\n/**\n * Performs HTTP requests.\n * This service is available as an injectable class, with methods to perform HTTP requests.\n * Each request method has multiple signatures, and the return type varies based on\n * the signature that is called (mainly the values of `observe` and `responseType`).\n *\n * Note that the `responseType` *options* value is a String that identifies the\n * single data type of the response.\n * A single overload version of the method handles each response type.\n * The value of `responseType` cannot be a union, as the combined signature could imply.\n\n *\n * @usageNotes\n * Sample HTTP requests for the [Tour of Heroes](/tutorial/tour-of-heroes/toh-pt0) application.\n *\n * ### HTTP Request Example\n *\n * ```\n * // GET heroes whose name contains search term\n * searchHeroes(term: string): observable{\n *\n * const params = new HttpParams({fromString: 'name=term'});\n * return this.httpClient.request('GET', this.heroesUrl, {responseType:'json', params});\n * }\n * ```\n *\n * Alternatively, the parameter string can be used without invoking HttpParams\n * by directly joining to the URL.\n * ```\n * this.httpClient.request('GET', this.heroesUrl + '?' + 'name=term', {responseType:'json'});\n * ```\n *\n *\n * ### JSONP Example\n * ```\n * requestJsonp(url, callback = 'callback') {\n * return this.httpClient.jsonp(this.heroesURL, callback);\n * }\n * ```\n *\n * ### PATCH Example\n * ```\n * // PATCH one of the heroes' name\n * patchHero (id: number, heroName: string): Observable<{}> {\n * const url = `${this.heroesUrl}/${id}`; // PATCH api/heroes/42\n * return this.httpClient.patch(url, {name: heroName}, httpOptions)\n * .pipe(catchError(this.handleError('patchHero')));\n * }\n * ```\n *\n * @see [HTTP Guide](guide/understanding-communicating-with-http)\n * @see [HTTP Request](api/common/http/HttpRequest)\n *\n * @publicApi\n */\nclass HttpClient {\n constructor(handler) {\n this.handler = handler;\n }\n /**\n * Constructs an observable for a generic HTTP request that, when subscribed,\n * fires the request through the chain of registered interceptors and on to the\n * server.\n *\n * You can pass an `HttpRequest` directly as the only parameter. In this case,\n * the call returns an observable of the raw `HttpEvent` stream.\n *\n * Alternatively you can pass an HTTP method as the first parameter,\n * a URL string as the second, and an options hash containing the request body as the third.\n * See `addBody()`. In this case, the specified `responseType` and `observe` options determine the\n * type of returned observable.\n * * The `responseType` value determines how a successful response body is parsed.\n * * If `responseType` is the default `json`, you can pass a type interface for the resulting\n * object as a type parameter to the call.\n *\n * The `observe` value determines the return type, according to what you are interested in\n * observing.\n * * An `observe` value of events returns an observable of the raw `HttpEvent` stream, including\n * progress events by default.\n * * An `observe` value of response returns an observable of `HttpResponse`,\n * where the `T` parameter depends on the `responseType` and any optionally provided type\n * parameter.\n * * An `observe` value of body returns an observable of `` with the same `T` body type.\n *\n */\n request(first, url, options = {}) {\n let req;\n // First, check whether the primary argument is an instance of `HttpRequest`.\n if (first instanceof HttpRequest) {\n // It is. The other arguments must be undefined (per the signatures) and can be\n // ignored.\n req = first;\n }\n else {\n // It's a string, so it represents a URL. Construct a request based on it,\n // and incorporate the remaining arguments (assuming `GET` unless a method is\n // provided.\n // Figure out the headers.\n let headers = undefined;\n if (options.headers instanceof HttpHeaders) {\n headers = options.headers;\n }\n else {\n headers = new HttpHeaders(options.headers);\n }\n // Sort out parameters.\n let params = undefined;\n if (!!options.params) {\n if (options.params instanceof HttpParams) {\n params = options.params;\n }\n else {\n params = new HttpParams({ fromObject: options.params });\n }\n }\n // Construct the request.\n req = new HttpRequest(first, url, (options.body !== undefined ? options.body : null), {\n headers,\n context: options.context,\n params,\n reportProgress: options.reportProgress,\n // By default, JSON is assumed to be returned for all calls.\n responseType: options.responseType || 'json',\n withCredentials: options.withCredentials,\n });\n }\n // Start with an Observable.of() the initial request, and run the handler (which\n // includes all interceptors) inside a concatMap(). This way, the handler runs\n // inside an Observable chain, which causes interceptors to be re-run on every\n // subscription (this also makes retries re-run the handler, including interceptors).\n const events$ = of(req).pipe(concatMap((req) => this.handler.handle(req)));\n // If coming via the API signature which accepts a previously constructed HttpRequest,\n // the only option is to get the event stream. Otherwise, return the event stream if\n // that is what was requested.\n if (first instanceof HttpRequest || options.observe === 'events') {\n return events$;\n }\n // The requested stream contains either the full response or the body. In either\n // case, the first step is to filter the event stream to extract a stream of\n // responses(s).\n const res$ = events$.pipe(filter((event) => event instanceof HttpResponse));\n // Decide which stream to return.\n switch (options.observe || 'body') {\n case 'body':\n // The requested stream is the body. Map the response stream to the response\n // body. This could be done more simply, but a misbehaving interceptor might\n // transform the response body into a different format and ignore the requested\n // responseType. Guard against this by validating that the response is of the\n // requested type.\n switch (req.responseType) {\n case 'arraybuffer':\n return res$.pipe(map((res) => {\n // Validate that the body is an ArrayBuffer.\n if (res.body !== null && !(res.body instanceof ArrayBuffer)) {\n throw new Error('Response is not an ArrayBuffer.');\n }\n return res.body;\n }));\n case 'blob':\n return res$.pipe(map((res) => {\n // Validate that the body is a Blob.\n if (res.body !== null && !(res.body instanceof Blob)) {\n throw new Error('Response is not a Blob.');\n }\n return res.body;\n }));\n case 'text':\n return res$.pipe(map((res) => {\n // Validate that the body is a string.\n if (res.body !== null && typeof res.body !== 'string') {\n throw new Error('Response is not a string.');\n }\n return res.body;\n }));\n case 'json':\n default:\n // No validation needed for JSON responses, as they can be of any type.\n return res$.pipe(map((res) => res.body));\n }\n case 'response':\n // The response stream was requested directly, so return it.\n return res$;\n default:\n // Guard against new future observe types being added.\n throw new Error(`Unreachable: unhandled observe type ${options.observe}}`);\n }\n }\n /**\n * Constructs an observable that, when subscribed, causes the configured\n * `DELETE` request to execute on the server. See the individual overloads for\n * details on the return type.\n *\n * @param url The endpoint URL.\n * @param options The HTTP options to send with the request.\n *\n */\n delete(url, options = {}) {\n return this.request('DELETE', url, options);\n }\n /**\n * Constructs an observable that, when subscribed, causes the configured\n * `GET` request to execute on the server. See the individual overloads for\n * details on the return type.\n */\n get(url, options = {}) {\n return this.request('GET', url, options);\n }\n /**\n * Constructs an observable that, when subscribed, causes the configured\n * `HEAD` request to execute on the server. The `HEAD` method returns\n * meta information about the resource without transferring the\n * resource itself. See the individual overloads for\n * details on the return type.\n */\n head(url, options = {}) {\n return this.request('HEAD', url, options);\n }\n /**\n * Constructs an `Observable` that, when subscribed, causes a request with the special method\n * `JSONP` to be dispatched via the interceptor pipeline.\n * The [JSONP pattern](https://en.wikipedia.org/wiki/JSONP) works around limitations of certain\n * API endpoints that don't support newer,\n * and preferable [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) protocol.\n * JSONP treats the endpoint API as a JavaScript file and tricks the browser to process the\n * requests even if the API endpoint is not located on the same domain (origin) as the client-side\n * application making the request.\n * The endpoint API must support JSONP callback for JSONP requests to work.\n * The resource API returns the JSON response wrapped in a callback function.\n * You can pass the callback function name as one of the query parameters.\n * Note that JSONP requests can only be used with `GET` requests.\n *\n * @param url The resource URL.\n * @param callbackParam The callback function name.\n *\n */\n jsonp(url, callbackParam) {\n return this.request('JSONP', url, {\n params: new HttpParams().append(callbackParam, 'JSONP_CALLBACK'),\n observe: 'body',\n responseType: 'json',\n });\n }\n /**\n * Constructs an `Observable` that, when subscribed, causes the configured\n * `OPTIONS` request to execute on the server. This method allows the client\n * to determine the supported HTTP methods and other capabilities of an endpoint,\n * without implying a resource action. See the individual overloads for\n * details on the return type.\n */\n options(url, options = {}) {\n return this.request('OPTIONS', url, options);\n }\n /**\n * Constructs an observable that, when subscribed, causes the configured\n * `PATCH` request to execute on the server. See the individual overloads for\n * details on the return type.\n */\n patch(url, body, options = {}) {\n return this.request('PATCH', url, addBody(options, body));\n }\n /**\n * Constructs an observable that, when subscribed, causes the configured\n * `POST` request to execute on the server. The server responds with the location of\n * the replaced resource. See the individual overloads for\n * details on the return type.\n */\n post(url, body, options = {}) {\n return this.request('POST', url, addBody(options, body));\n }\n /**\n * Constructs an observable that, when subscribed, causes the configured\n * `PUT` request to execute on the server. The `PUT` method replaces an existing resource\n * with a new set of values.\n * See the individual overloads for details on the return type.\n */\n put(url, body, options = {}) {\n return this.request('PUT', url, addBody(options, body));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: HttpClient, deps: [{ token: HttpHandler }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: HttpClient }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: HttpClient, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: HttpHandler }]; } });\n\nconst XSSI_PREFIX$1 = /^\\)\\]\\}',?\\n/;\nconst REQUEST_URL_HEADER = `X-Request-URL`;\n/**\n * Determine an appropriate URL for the response, by checking either\n * response url or the X-Request-URL header.\n */\nfunction getResponseUrl$1(response) {\n if (response.url) {\n return response.url;\n }\n // stored as lowercase in the map\n const xRequestUrl = REQUEST_URL_HEADER.toLocaleLowerCase();\n return response.headers.get(xRequestUrl);\n}\n/**\n * Uses `fetch` to send requests to a backend server.\n *\n * This `FetchBackend` requires the support of the\n * [Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) which is available on all\n * supported browsers and on Node.js v18 or later.\n *\n * @see {@link HttpHandler}\n *\n * @publicApi\n * @developerPreview\n */\nclass FetchBackend {\n constructor() {\n // We need to bind the native fetch to its context or it will throw an \"illegal invocation\"\n this.fetchImpl = inject(FetchFactory, { optional: true })?.fetch ?? fetch.bind(globalThis);\n this.ngZone = inject(NgZone);\n }\n handle(request) {\n return new Observable(observer => {\n const aborter = new AbortController();\n this.doRequest(request, aborter.signal, observer)\n .then(noop, error => observer.error(new HttpErrorResponse({ error })));\n return () => aborter.abort();\n });\n }\n async doRequest(request, signal, observer) {\n const init = this.createRequestInit(request);\n let response;\n try {\n const fetchPromise = this.fetchImpl(request.urlWithParams, { signal, ...init });\n // Make sure Zone.js doesn't trigger false-positive unhandled promise\n // error in case the Promise is rejected synchronously. See function\n // description for additional information.\n silenceSuperfluousUnhandledPromiseRejection(fetchPromise);\n // Send the `Sent` event before awaiting the response.\n observer.next({ type: HttpEventType.Sent });\n response = await fetchPromise;\n }\n catch (error) {\n observer.error(new HttpErrorResponse({\n error,\n status: error.status ?? 0,\n statusText: error.statusText,\n url: request.urlWithParams,\n headers: error.headers,\n }));\n return;\n }\n const headers = new HttpHeaders(response.headers);\n const statusText = response.statusText;\n const url = getResponseUrl$1(response) ?? request.urlWithParams;\n let status = response.status;\n let body = null;\n if (request.reportProgress) {\n observer.next(new HttpHeaderResponse({ headers, status, statusText, url }));\n }\n if (response.body) {\n // Read Progress\n const contentLength = response.headers.get('content-length');\n const chunks = [];\n const reader = response.body.getReader();\n let receivedLength = 0;\n let decoder;\n let partialText;\n // We have to check whether the Zone is defined in the global scope because this may be called\n // when the zone is nooped.\n const reqZone = typeof Zone !== 'undefined' && Zone.current;\n // Perform response processing outside of Angular zone to\n // ensure no excessive change detection runs are executed\n // Here calling the async ReadableStreamDefaultReader.read() is responsible for triggering CD\n await this.ngZone.runOutsideAngular(async () => {\n while (true) {\n const { done, value } = await reader.read();\n if (done) {\n break;\n }\n chunks.push(value);\n receivedLength += value.length;\n if (request.reportProgress) {\n partialText = request.responseType === 'text' ?\n (partialText ?? '') + (decoder ??= new TextDecoder).decode(value, { stream: true }) :\n undefined;\n const reportProgress = () => observer.next({\n type: HttpEventType.DownloadProgress,\n total: contentLength ? +contentLength : undefined,\n loaded: receivedLength,\n partialText,\n });\n reqZone ? reqZone.run(reportProgress) : reportProgress();\n }\n }\n });\n // Combine all chunks.\n const chunksAll = this.concatChunks(chunks, receivedLength);\n try {\n body = this.parseBody(request, chunksAll);\n }\n catch (error) {\n // Body loading or parsing failed\n observer.error(new HttpErrorResponse({\n error,\n headers: new HttpHeaders(response.headers),\n status: response.status,\n statusText: response.statusText,\n url: getResponseUrl$1(response) ?? request.urlWithParams,\n }));\n return;\n }\n }\n // Same behavior as the XhrBackend\n if (status === 0) {\n status = body ? 200 /* HttpStatusCode.Ok */ : 0;\n }\n // ok determines whether the response will be transmitted on the event or\n // error channel. Unsuccessful status codes (not 2xx) will always be errors,\n // but a successful status code can still result in an error if the user\n // asked for JSON data and the body cannot be parsed as such.\n const ok = status >= 200 && status < 300;\n if (ok) {\n observer.next(new HttpResponse({\n body,\n headers,\n status,\n statusText,\n url,\n }));\n // The full body has been received and delivered, no further events\n // are possible. This request is complete.\n observer.complete();\n }\n else {\n observer.error(new HttpErrorResponse({\n error: body,\n headers,\n status,\n statusText,\n url,\n }));\n }\n }\n parseBody(request, binContent) {\n switch (request.responseType) {\n case 'json':\n // stripping the XSSI when present\n const text = new TextDecoder().decode(binContent).replace(XSSI_PREFIX$1, '');\n return text === '' ? null : JSON.parse(text);\n case 'text':\n return new TextDecoder().decode(binContent);\n case 'blob':\n return new Blob([binContent]);\n case 'arraybuffer':\n return binContent.buffer;\n }\n }\n createRequestInit(req) {\n // We could share some of this logic with the XhrBackend\n const headers = {};\n const credentials = req.withCredentials ? 'include' : undefined;\n // Setting all the requested headers.\n req.headers.forEach((name, values) => (headers[name] = values.join(',')));\n // Add an Accept header if one isn't present already.\n headers['Accept'] ??= 'application/json, text/plain, */*';\n // Auto-detect the Content-Type header if one isn't present already.\n if (!headers['Content-Type']) {\n const detectedType = req.detectContentTypeHeader();\n // Sometimes Content-Type detection fails.\n if (detectedType !== null) {\n headers['Content-Type'] = detectedType;\n }\n }\n return {\n body: req.serializeBody(),\n method: req.method,\n headers,\n credentials,\n };\n }\n concatChunks(chunks, totalLength) {\n const chunksAll = new Uint8Array(totalLength);\n let position = 0;\n for (const chunk of chunks) {\n chunksAll.set(chunk, position);\n position += chunk.length;\n }\n return chunksAll;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: FetchBackend, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: FetchBackend }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: FetchBackend, decorators: [{\n type: Injectable\n }] });\n/**\n * Abstract class to provide a mocked implementation of `fetch()`\n */\nclass FetchFactory {\n}\nfunction noop() { }\n/**\n * Zone.js treats a rejected promise that has not yet been awaited\n * as an unhandled error. This function adds a noop `.then` to make\n * sure that Zone.js doesn't throw an error if the Promise is rejected\n * synchronously.\n */\nfunction silenceSuperfluousUnhandledPromiseRejection(promise) {\n promise.then(noop, noop);\n}\n\nfunction interceptorChainEndFn(req, finalHandlerFn) {\n return finalHandlerFn(req);\n}\n/**\n * Constructs a `ChainedInterceptorFn` which adapts a legacy `HttpInterceptor` to the\n * `ChainedInterceptorFn` interface.\n */\nfunction adaptLegacyInterceptorToChain(chainTailFn, interceptor) {\n return (initialRequest, finalHandlerFn) => interceptor.intercept(initialRequest, {\n handle: (downstreamRequest) => chainTailFn(downstreamRequest, finalHandlerFn),\n });\n}\n/**\n * Constructs a `ChainedInterceptorFn` which wraps and invokes a functional interceptor in the given\n * injector.\n */\nfunction chainedInterceptorFn(chainTailFn, interceptorFn, injector) {\n // clang-format off\n return (initialRequest, finalHandlerFn) => injector.runInContext(() => interceptorFn(initialRequest, downstreamRequest => chainTailFn(downstreamRequest, finalHandlerFn)));\n // clang-format on\n}\n/**\n * A multi-provider token that represents the array of registered\n * `HttpInterceptor` objects.\n *\n * @publicApi\n */\nconst HTTP_INTERCEPTORS = new InjectionToken(ngDevMode ? 'HTTP_INTERCEPTORS' : '');\n/**\n * A multi-provided token of `HttpInterceptorFn`s.\n */\nconst HTTP_INTERCEPTOR_FNS = new InjectionToken(ngDevMode ? 'HTTP_INTERCEPTOR_FNS' : '');\n/**\n * A multi-provided token of `HttpInterceptorFn`s that are only set in root.\n */\nconst HTTP_ROOT_INTERCEPTOR_FNS = new InjectionToken(ngDevMode ? 'HTTP_ROOT_INTERCEPTOR_FNS' : '');\n/**\n * Creates an `HttpInterceptorFn` which lazily initializes an interceptor chain from the legacy\n * class-based interceptors and runs the request through it.\n */\nfunction legacyInterceptorFnFactory() {\n let chain = null;\n return (req, handler) => {\n if (chain === null) {\n const interceptors = inject(HTTP_INTERCEPTORS, { optional: true }) ?? [];\n // Note: interceptors are wrapped right-to-left so that final execution order is\n // left-to-right. That is, if `interceptors` is the array `[a, b, c]`, we want to\n // produce a chain that is conceptually `c(b(a(end)))`, which we build from the inside\n // out.\n chain = interceptors.reduceRight(adaptLegacyInterceptorToChain, interceptorChainEndFn);\n }\n const pendingTasks = inject(ɵInitialRenderPendingTasks);\n const taskId = pendingTasks.add();\n return chain(req, handler).pipe(finalize(() => pendingTasks.remove(taskId)));\n };\n}\nclass HttpInterceptorHandler extends HttpHandler {\n constructor(backend, injector) {\n super();\n this.backend = backend;\n this.injector = injector;\n this.chain = null;\n this.pendingTasks = inject(ɵInitialRenderPendingTasks);\n }\n handle(initialRequest) {\n if (this.chain === null) {\n const dedupedInterceptorFns = Array.from(new Set([\n ...this.injector.get(HTTP_INTERCEPTOR_FNS),\n ...this.injector.get(HTTP_ROOT_INTERCEPTOR_FNS, []),\n ]));\n // Note: interceptors are wrapped right-to-left so that final execution order is\n // left-to-right. That is, if `dedupedInterceptorFns` is the array `[a, b, c]`, we want to\n // produce a chain that is conceptually `c(b(a(end)))`, which we build from the inside\n // out.\n this.chain = dedupedInterceptorFns.reduceRight((nextSequencedFn, interceptorFn) => chainedInterceptorFn(nextSequencedFn, interceptorFn, this.injector), interceptorChainEndFn);\n }\n const taskId = this.pendingTasks.add();\n return this.chain(initialRequest, downstreamRequest => this.backend.handle(downstreamRequest))\n .pipe(finalize(() => this.pendingTasks.remove(taskId)));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: HttpInterceptorHandler, deps: [{ token: HttpBackend }, { token: i0.EnvironmentInjector }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: HttpInterceptorHandler }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.2.12\", ngImport: i0, type: HttpInterceptorHandler, decorators: [{\n type: Injectable\n }], ctorParameters: function () { return [{ type: HttpBackend }, { type: i0.EnvironmentInjector }]; } });\n\n// Every request made through JSONP needs a callback name that's unique across the\n// whole page. Each request is assigned an id and the callback name is constructed\n// from that. The next id to be assigned is tracked in a global variable here that\n// is shared among all applications on the page.\nlet nextRequestId = 0;\n/**\n * When a pending