dealpos 12.26.2 → 12.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/POS/3rdpartylicenses.txt +64 -64
- package/POS/assets/icons/icon-128x128.png +0 -0
- package/POS/assets/icons/icon-144x144.png +0 -0
- package/POS/assets/icons/icon-152x152.png +0 -0
- package/POS/assets/icons/icon-192x192.png +0 -0
- package/POS/assets/icons/icon-384x384.png +0 -0
- package/POS/assets/icons/icon-512x512.png +0 -0
- package/POS/assets/icons/icon-72x72.png +0 -0
- package/POS/assets/icons/icon-96x96.png +0 -0
- package/POS/chunk-24T7XJLP.js +1 -0
- package/POS/chunk-2F34EZXE.js +1 -0
- package/POS/chunk-2ZQY5BIT.js +1 -0
- package/POS/chunk-34TPGQJX.js +4 -0
- package/POS/chunk-3EE2ZSNQ.js +1 -0
- package/POS/chunk-3L6LGALY.js +1 -0
- package/POS/chunk-3TH2AKPB.js +2 -0
- package/POS/chunk-3VG2GEMB.js +1 -0
- package/POS/chunk-427JN5XD.js +1 -0
- package/POS/chunk-42Q4QO7J.js +1 -0
- package/POS/chunk-43OJ73AG.js +14 -0
- package/POS/chunk-4LYVXI7X.js +1 -0
- package/POS/chunk-4UA7S5P4.js +4 -0
- package/POS/chunk-4Z5QBBDP.js +1 -0
- package/POS/chunk-4ZMS66S4.js +1 -0
- package/POS/chunk-6GTUT54U.js +1 -0
- package/POS/chunk-6KU2TH5K.js +1 -0
- package/POS/chunk-6OWWJKDB.js +1 -0
- package/POS/chunk-6QC7IQVP.js +1 -0
- package/POS/{chunk-ZLW3W7FM.js → chunk-6QNURDBP.js} +1 -1
- package/POS/chunk-6YPJTT3V.js +2 -0
- package/POS/chunk-6ZVKIT5H.js +1 -0
- package/POS/chunk-7ANQGJGX.js +1 -0
- package/POS/{chunk-5D4APOB5.js → chunk-7F5Q3JTW.js} +1 -1
- package/POS/chunk-7R5I7ZEY.js +1 -0
- package/POS/{chunk-RDTFGVIM.js → chunk-7R7XOL3H.js} +1 -1
- package/POS/chunk-7RCYYDBI.js +1 -0
- package/POS/{chunk-JAP6JU2L.js → chunk-7YL3N3XW.js} +1 -1
- package/POS/chunk-ACK5EZCD.js +1 -0
- package/POS/chunk-AG5RZDCQ.js +1 -0
- package/POS/chunk-BFKKHUHL.js +1 -0
- package/POS/chunk-BSC6DWKP.js +2 -0
- package/POS/chunk-BZKN2AKW.js +1 -0
- package/POS/chunk-C2U4VBWC.js +1 -0
- package/POS/chunk-CB7VEVWA.js +1 -0
- package/POS/chunk-CG2MPZLY.js +1 -0
- package/POS/chunk-CNI6ZV2O.js +1 -0
- package/POS/chunk-CWAQB22H.js +1 -0
- package/POS/chunk-D5MRTRTD.js +1 -0
- package/POS/chunk-DDDIAPRM.js +1 -0
- package/POS/chunk-DEYNPZR2.js +1 -0
- package/POS/chunk-DUKBHTUZ.js +1 -0
- package/POS/chunk-E2IXZH42.js +1 -0
- package/POS/chunk-E3OD3L3I.js +1 -0
- package/POS/chunk-EMGJXFJ7.js +1 -0
- package/POS/{chunk-PLLN22JF.js → chunk-ESS2IJ5O.js} +1 -1
- package/POS/chunk-EXNZSRQO.js +1 -0
- package/POS/chunk-FB23SZ6F.js +1 -0
- package/POS/chunk-FB7GG35X.js +1 -0
- package/POS/chunk-FOGCKX3L.js +1 -0
- package/POS/chunk-FXRYX5WD.js +1 -0
- package/POS/{chunk-7AKT7TAR.js → chunk-GEOB3FN5.js} +1 -1
- package/POS/chunk-GIRJYQNU.js +1 -0
- package/POS/chunk-GZU76SX4.js +3 -0
- package/POS/{chunk-GKBEFRIM.js → chunk-HA4SDAMM.js} +1 -1
- package/POS/chunk-HCCHXYL6.js +1 -0
- package/POS/chunk-HEQES6IR.js +1 -0
- package/POS/{chunk-5EE7E6PJ.js → chunk-HLQ2GQFA.js} +16 -16
- package/POS/chunk-HLQOIDN6.js +1 -0
- package/POS/{chunk-OBJ6Q7UX.js → chunk-HU4H5JMP.js} +1 -1
- package/POS/chunk-HYJLZRLS.js +1 -0
- package/POS/{chunk-WFEA3MWA.js → chunk-I2Z2CMMP.js} +3 -3
- package/POS/chunk-IEMM3FZE.js +1 -0
- package/POS/chunk-IIDXDR2M.js +1 -0
- package/POS/chunk-IRLFKQBJ.js +1 -0
- package/POS/chunk-J2JYPJZ7.js +1 -0
- package/POS/{chunk-BDURNQAF.js → chunk-JJ2FL75K.js} +1 -1
- package/POS/{chunk-BNMKDA3S.js → chunk-JJ44NVOM.js} +2 -2
- package/POS/chunk-JLAVZQPE.js +2 -0
- package/POS/chunk-JPZEID27.js +8 -0
- package/POS/chunk-JWE7GYZT.js +5 -0
- package/POS/chunk-K77OOFJJ.js +1 -0
- package/POS/{chunk-OOKRBEVQ.js → chunk-KC4LFCR2.js} +1 -1
- package/POS/chunk-KNKYUY3J.js +1 -0
- package/POS/chunk-KXWD56LL.js +1 -0
- package/POS/chunk-L7GSN5XZ.js +7 -0
- package/POS/chunk-LBCL4GFH.js +1 -0
- package/POS/{chunk-YWA2KBM6.js → chunk-LBIY5IOJ.js} +1 -1
- package/POS/chunk-LCG7YTIB.js +1 -0
- package/POS/{chunk-56ANGAV7.js → chunk-LHCAEMEV.js} +1 -1
- package/POS/{chunk-F5SFZB23.js → chunk-LYW6TTKR.js} +1 -1
- package/POS/chunk-M6JOL4PB.js +1 -0
- package/POS/chunk-MDEV5CM7.js +1 -0
- package/POS/chunk-MEYRSIU4.js +2 -0
- package/POS/chunk-MFCKJYM4.js +1 -0
- package/POS/{chunk-I75YR47G.js → chunk-MOHCVF2W.js} +1 -1
- package/POS/chunk-MQ3UHRO2.js +1 -0
- package/POS/chunk-MVGIN5D7.js +1 -0
- package/POS/chunk-N3NU45LP.js +1 -0
- package/POS/chunk-N54WPLZY.js +8 -0
- package/POS/{chunk-KKPKCGQU.js → chunk-N6G4NH2J.js} +1 -1
- package/POS/chunk-N7FYYAU7.js +1 -0
- package/POS/chunk-N7LC3PPS.js +1 -0
- package/POS/chunk-ND65VWF2.js +3 -0
- package/POS/chunk-NQ2SGBIA.js +3 -0
- package/POS/chunk-NRQQD4RA.js +11 -0
- package/POS/chunk-NT5ECGA7.js +1 -0
- package/POS/chunk-NTECZWGA.js +1 -0
- package/POS/chunk-NTRL46M3.js +13 -0
- package/POS/chunk-OCFCR2QN.js +1 -0
- package/POS/chunk-OEFOTWIO.js +1 -0
- package/POS/{chunk-62WOM2LO.js → chunk-OJLGCTFL.js} +1 -1
- package/POS/chunk-ONJKVDZG.js +1 -0
- package/POS/chunk-ONRWIYVG.js +1 -0
- package/POS/chunk-P2RDNMUL.js +1 -0
- package/POS/chunk-P3JALK2H.js +2 -0
- package/POS/{chunk-PW4AXN5Q.js → chunk-PG3MTOYM.js} +3 -3
- package/POS/chunk-PLZH3OER.js +1 -0
- package/POS/{chunk-ZGNHHKZG.js → chunk-QDFQ65RB.js} +1 -1
- package/POS/chunk-QUALEVPF.js +1 -0
- package/POS/chunk-R4W7LVB5.js +1 -0
- package/POS/chunk-R6HIF5YA.js +1 -0
- package/POS/chunk-R7ZA5IRH.js +1 -0
- package/POS/{chunk-S7ZQT2FP.js → chunk-RBPP247C.js} +1 -1
- package/POS/{chunk-7OGFRITS.js → chunk-RDMCNPH3.js} +1 -1
- package/POS/chunk-RI2EP7PD.js +1 -0
- package/POS/chunk-RJW3D2Y7.js +1 -0
- package/POS/chunk-RKWWKDRC.js +1 -0
- package/POS/chunk-RZQXL7A3.js +45 -0
- package/POS/chunk-S32IAEJV.js +1 -0
- package/POS/chunk-S5KSW3QP.js +1 -0
- package/POS/chunk-SMGL6EAC.js +1 -0
- package/POS/{chunk-277Z5M2T.js → chunk-SSPTDZJA.js} +1 -1
- package/POS/chunk-TF5LN2UO.js +2 -0
- package/POS/{chunk-E37CKG73.js → chunk-TGPHGTQP.js} +1 -1
- package/POS/chunk-TI2S4IQF.js +1 -0
- package/POS/chunk-TI5KRZFY.js +1 -0
- package/POS/chunk-TQZMOLDX.js +1 -0
- package/POS/chunk-TV5FJTYD.js +1 -0
- package/POS/{chunk-GHWLZYD2.js → chunk-TXLWH6QG.js} +1 -1
- package/POS/chunk-U4TWZG57.js +3 -0
- package/POS/chunk-U5Z4K75C.js +1 -0
- package/POS/chunk-UAT2Z7DX.js +1 -0
- package/POS/{chunk-IKJUU3LD.js → chunk-UH5CUFMD.js} +4 -4
- package/POS/chunk-UNMLYBF5.js +157 -0
- package/POS/chunk-UPTEEL3G.js +1 -0
- package/POS/chunk-UTERQC5F.js +2 -0
- package/POS/chunk-VGJQSF76.js +1 -0
- package/POS/chunk-VQ53UXVC.js +1 -0
- package/POS/chunk-VQKGQN5J.js +1 -0
- package/POS/chunk-VR2ULKBO.js +1 -0
- package/POS/chunk-VV36P6PW.js +1 -0
- package/POS/chunk-VZLM723H.js +1 -0
- package/POS/chunk-WBWKXAZJ.js +3 -0
- package/POS/{chunk-TOHHEYHQ.js → chunk-WZ3ZHJBG.js} +1 -1
- package/POS/chunk-XI2BHHMP.js +1 -0
- package/POS/chunk-Y6F6TOI7.js +2 -0
- package/POS/{chunk-N6QPTGTR.js → chunk-YNKLNIGR.js} +1 -1
- package/POS/{chunk-OOAVMADQ.js → chunk-YP4YN43Y.js} +1 -1
- package/POS/chunk-YXES4QMB.js +1 -0
- package/POS/chunk-YZV5WEIA.js +7 -0
- package/POS/chunk-Z2U4OWM6.js +9 -0
- package/POS/{chunk-SEIUWVJS.js → chunk-Z7VCYDE5.js} +1 -1
- package/POS/chunk-ZAJ2GSTV.js +1 -0
- package/POS/{chunk-AZ44BJZA.js → chunk-ZAWWIDM5.js} +1 -1
- package/POS/{chunk-AYYVTAAW.js → chunk-ZDMVFBAJ.js} +1 -1
- package/POS/{chunk-LXQZHCLT.js → chunk-ZIGLM6RD.js} +1 -1
- package/POS/{chunk-TYFGMHZQ.js → chunk-ZKUBCIWW.js} +1 -1
- package/POS/chunk-ZVFGEIQH.js +1 -0
- package/POS/index.html +2 -2
- package/POS/main-Z6EEZOL5.js +1 -0
- package/POS/manifest.webmanifest +59 -0
- package/POS/polyfills-CCH347AY.js +2 -0
- package/POS/scripts-6W53WC5R.js +10 -0
- package/POS/styles-UKB7EDHP.css +25 -0
- package/package.json +1 -1
- package/POS/chunk-2BYHMAGM.js +0 -1
- package/POS/chunk-2HHEGHO2.js +0 -1
- package/POS/chunk-2OTEG3VR.js +0 -1
- package/POS/chunk-2WCKZL7H.js +0 -1
- package/POS/chunk-33CTUSPZ.js +0 -1
- package/POS/chunk-36Q4EE3Z.js +0 -1
- package/POS/chunk-3YEHZLGH.js +0 -1
- package/POS/chunk-4APDQTBS.js +0 -2
- package/POS/chunk-4XG4PKHL.js +0 -1
- package/POS/chunk-5PWPOX2A.js +0 -1
- package/POS/chunk-5URZJLKY.js +0 -1
- package/POS/chunk-6BGF6ZSR.js +0 -1
- package/POS/chunk-6F6D7OKG.js +0 -1
- package/POS/chunk-6JZIGYTE.js +0 -1
- package/POS/chunk-75IFRZHL.js +0 -1
- package/POS/chunk-AO3DCG7C.js +0 -1
- package/POS/chunk-ATFCFKTX.js +0 -1
- package/POS/chunk-AXBAGQ5G.js +0 -157
- package/POS/chunk-AY7H7B54.js +0 -13
- package/POS/chunk-B6FYM5NN.js +0 -1
- package/POS/chunk-BQFYLVJW.js +0 -1
- package/POS/chunk-BV7AROHR.js +0 -1
- package/POS/chunk-BXGCZ7QY.js +0 -7
- package/POS/chunk-CDWKX772.js +0 -1
- package/POS/chunk-CHTXKQTK.js +0 -1
- package/POS/chunk-CU3WJHF3.js +0 -1
- package/POS/chunk-D2IIXLQU.js +0 -1
- package/POS/chunk-DJ3ETFOQ.js +0 -1
- package/POS/chunk-DTLBP6ZQ.js +0 -1
- package/POS/chunk-DZUYVFKD.js +0 -2
- package/POS/chunk-E3CECJ5S.js +0 -1
- package/POS/chunk-EQY72HYC.js +0 -1
- package/POS/chunk-EVJKOTJX.js +0 -1
- package/POS/chunk-EXSS2PMN.js +0 -1
- package/POS/chunk-EYTKASXD.js +0 -1
- package/POS/chunk-FBUGAUS3.js +0 -1
- package/POS/chunk-FEDTWSOV.js +0 -1
- package/POS/chunk-FHRBOV3C.js +0 -1
- package/POS/chunk-FJFCTNMV.js +0 -1
- package/POS/chunk-FOWYU6JI.js +0 -1
- package/POS/chunk-FXNQOEL7.js +0 -3
- package/POS/chunk-GHRRRAIP.js +0 -1
- package/POS/chunk-GHU3WNNO.js +0 -1
- package/POS/chunk-GXNYOCXA.js +0 -1
- package/POS/chunk-GYZRV7WZ.js +0 -1
- package/POS/chunk-H72JX6ZL.js +0 -1
- package/POS/chunk-HBB7DGU7.js +0 -2
- package/POS/chunk-HH5V726C.js +0 -45
- package/POS/chunk-HL3XH3VO.js +0 -1
- package/POS/chunk-HPZ2IDG4.js +0 -1
- package/POS/chunk-HS3D5QYP.js +0 -1
- package/POS/chunk-HTKHEQO4.js +0 -1
- package/POS/chunk-HYKTLJEU.js +0 -1
- package/POS/chunk-I5K3QVYV.js +0 -2
- package/POS/chunk-IJEIHYVZ.js +0 -1
- package/POS/chunk-IK74MRIO.js +0 -1
- package/POS/chunk-JC6MR7QW.js +0 -1
- package/POS/chunk-JJNPT36W.js +0 -1
- package/POS/chunk-JKYEAMH7.js +0 -1
- package/POS/chunk-KBQP4UKX.js +0 -1
- package/POS/chunk-KFQXOAFA.js +0 -1
- package/POS/chunk-KVUJ2FB5.js +0 -1
- package/POS/chunk-LBCUGZ4K.js +0 -1
- package/POS/chunk-LJPENBRB.js +0 -7
- package/POS/chunk-LK2QBCD6.js +0 -1
- package/POS/chunk-LKQVUA3V.js +0 -1
- package/POS/chunk-LUAFVHUY.js +0 -1
- package/POS/chunk-NDYWKFOE.js +0 -1
- package/POS/chunk-NPUBXMPF.js +0 -1
- package/POS/chunk-NRRMUA2C.js +0 -7
- package/POS/chunk-ODSNDEKL.js +0 -2
- package/POS/chunk-OEHMVVAI.js +0 -1
- package/POS/chunk-OL4KUAAV.js +0 -1
- package/POS/chunk-OOR4636W.js +0 -1
- package/POS/chunk-PFP6TGZI.js +0 -14
- package/POS/chunk-PYZI2MFO.js +0 -1
- package/POS/chunk-QEKXNZF3.js +0 -11
- package/POS/chunk-QPUIZLTN.js +0 -8
- package/POS/chunk-R3T3H5QV.js +0 -2
- package/POS/chunk-R5SM26L5.js +0 -1
- package/POS/chunk-RLA3ZN2Z.js +0 -7
- package/POS/chunk-RS2345BQ.js +0 -1
- package/POS/chunk-RYASZTCE.js +0 -1
- package/POS/chunk-STEDXNR2.js +0 -1
- package/POS/chunk-SUHXXO3W.js +0 -1
- package/POS/chunk-SXDPRCNS.js +0 -1
- package/POS/chunk-TGNQ5XI6.js +0 -3
- package/POS/chunk-TGO7Z2IK.js +0 -5
- package/POS/chunk-TP3YP335.js +0 -1
- package/POS/chunk-UDOEZOJF.js +0 -1
- package/POS/chunk-UJNMXJRC.js +0 -3
- package/POS/chunk-UQTPIRPN.js +0 -4
- package/POS/chunk-V4IG4V2D.js +0 -2
- package/POS/chunk-V6KA7GDB.js +0 -1
- package/POS/chunk-VKFUDZAN.js +0 -2
- package/POS/chunk-VPZKTQKB.js +0 -1
- package/POS/chunk-WAI3NCKB.js +0 -1
- package/POS/chunk-WD55Q4BZ.js +0 -2
- package/POS/chunk-WEPJ5KTZ.js +0 -1
- package/POS/chunk-WMATDTTW.js +0 -1
- package/POS/chunk-WYCU2CJZ.js +0 -1
- package/POS/chunk-XIS5MNZE.js +0 -1
- package/POS/chunk-XQGQAOLA.js +0 -1
- package/POS/chunk-XZWKYOVI.js +0 -1
- package/POS/chunk-YNH5VK3D.js +0 -3
- package/POS/chunk-YNNPZIAF.js +0 -4
- package/POS/chunk-Z2NUCWKU.js +0 -1
- package/POS/chunk-Z4RRNLD3.js +0 -1
- package/POS/chunk-Z53REFXG.js +0 -2
- package/POS/chunk-ZENWCXYJ.js +0 -1
- package/POS/chunk-ZMNRWODH.js +0 -1
- package/POS/chunk-ZQEKGUN4.js +0 -3
- package/POS/chunk-ZSY6GPTG.js +0 -1
- package/POS/chunk-ZTNXWXUN.js +0 -1
- package/POS/main-S4NDAOVX.js +0 -1
- package/POS/polyfills-TVH7V7XU.js +0 -2
- package/POS/scripts-IKBI6M43.js +0 -10
- package/POS/styles-SS2IK7JT.css +0 -25
package/POS/3rdpartylicenses.txt
CHANGED
|
@@ -950,34 +950,6 @@ Package: @tinymce/tinymce-angular
|
|
|
950
950
|
License: "MIT"
|
|
951
951
|
|
|
952
952
|
|
|
953
|
-
--------------------------------------------------------------------------------
|
|
954
|
-
Package: autonumeric
|
|
955
|
-
License: "MIT"
|
|
956
|
-
|
|
957
|
-
Copyright 2009 Robert J. Knothe <bob@decorplanit.com> and contributors
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
Permission is hereby granted, free of charge, to any person
|
|
961
|
-
obtaining a copy of this software and associated documentation
|
|
962
|
-
files (the "Software"), to deal in the Software without
|
|
963
|
-
restriction, including without limitation the rights to use,
|
|
964
|
-
copy, modify, merge, publish, distribute, sub license, and/or sell
|
|
965
|
-
copies of the Software, and to permit persons to whom the
|
|
966
|
-
Software is furnished to do so, subject to the following
|
|
967
|
-
conditions:
|
|
968
|
-
|
|
969
|
-
The above copyright notice and this permission notice shall be
|
|
970
|
-
included in all copies or substantial portions of the Software.
|
|
971
|
-
|
|
972
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
973
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
|
974
|
-
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
975
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
|
976
|
-
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
977
|
-
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
978
|
-
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
979
|
-
OTHER DEALINGS IN THE SOFTWARE.
|
|
980
|
-
|
|
981
953
|
--------------------------------------------------------------------------------
|
|
982
954
|
Package: moment
|
|
983
955
|
License: "MIT"
|
|
@@ -1031,6 +1003,34 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
1031
1003
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
1032
1004
|
THE SOFTWARE.
|
|
1033
1005
|
|
|
1006
|
+
--------------------------------------------------------------------------------
|
|
1007
|
+
Package: autonumeric
|
|
1008
|
+
License: "MIT"
|
|
1009
|
+
|
|
1010
|
+
Copyright 2009 Robert J. Knothe <bob@decorplanit.com> and contributors
|
|
1011
|
+
|
|
1012
|
+
|
|
1013
|
+
Permission is hereby granted, free of charge, to any person
|
|
1014
|
+
obtaining a copy of this software and associated documentation
|
|
1015
|
+
files (the "Software"), to deal in the Software without
|
|
1016
|
+
restriction, including without limitation the rights to use,
|
|
1017
|
+
copy, modify, merge, publish, distribute, sub license, and/or sell
|
|
1018
|
+
copies of the Software, and to permit persons to whom the
|
|
1019
|
+
Software is furnished to do so, subject to the following
|
|
1020
|
+
conditions:
|
|
1021
|
+
|
|
1022
|
+
The above copyright notice and this permission notice shall be
|
|
1023
|
+
included in all copies or substantial portions of the Software.
|
|
1024
|
+
|
|
1025
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
1026
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
|
1027
|
+
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
1028
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
|
1029
|
+
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
1030
|
+
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
1031
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
1032
|
+
OTHER DEALINGS IN THE SOFTWARE.
|
|
1033
|
+
|
|
1034
1034
|
--------------------------------------------------------------------------------
|
|
1035
1035
|
Package: @ng-select/ng-select
|
|
1036
1036
|
License: "MIT"
|
|
@@ -1089,42 +1089,6 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
1089
1089
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
1090
1090
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
1091
1091
|
THE SOFTWARE.
|
|
1092
|
-
--------------------------------------------------------------------------------
|
|
1093
|
-
Package: @angular/common
|
|
1094
|
-
License: "MIT"
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
--------------------------------------------------------------------------------
|
|
1098
|
-
Package: @angular/router
|
|
1099
|
-
License: "MIT"
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
--------------------------------------------------------------------------------
|
|
1103
|
-
Package: ngx-toastr
|
|
1104
|
-
License: "MIT"
|
|
1105
|
-
|
|
1106
|
-
The MIT License (MIT)
|
|
1107
|
-
|
|
1108
|
-
Copyright (c) Scott Cooper <scttcper@gmail.com>
|
|
1109
|
-
|
|
1110
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
1111
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
1112
|
-
in the Software without restriction, including without limitation the rights
|
|
1113
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
1114
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
1115
|
-
furnished to do so, subject to the following conditions:
|
|
1116
|
-
|
|
1117
|
-
The above copyright notice and this permission notice shall be included in all
|
|
1118
|
-
copies or substantial portions of the Software.
|
|
1119
|
-
|
|
1120
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
1121
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
1122
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
1123
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
1124
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
1125
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
1126
|
-
SOFTWARE.
|
|
1127
|
-
|
|
1128
1092
|
--------------------------------------------------------------------------------
|
|
1129
1093
|
Package: rxjs
|
|
1130
1094
|
License: "Apache-2.0"
|
|
@@ -1332,6 +1296,42 @@ License: "Apache-2.0"
|
|
|
1332
1296
|
limitations under the License.
|
|
1333
1297
|
|
|
1334
1298
|
|
|
1299
|
+
--------------------------------------------------------------------------------
|
|
1300
|
+
Package: @angular/common
|
|
1301
|
+
License: "MIT"
|
|
1302
|
+
|
|
1303
|
+
|
|
1304
|
+
--------------------------------------------------------------------------------
|
|
1305
|
+
Package: @angular/router
|
|
1306
|
+
License: "MIT"
|
|
1307
|
+
|
|
1308
|
+
|
|
1309
|
+
--------------------------------------------------------------------------------
|
|
1310
|
+
Package: ngx-toastr
|
|
1311
|
+
License: "MIT"
|
|
1312
|
+
|
|
1313
|
+
The MIT License (MIT)
|
|
1314
|
+
|
|
1315
|
+
Copyright (c) Scott Cooper <scttcper@gmail.com>
|
|
1316
|
+
|
|
1317
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
1318
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
1319
|
+
in the Software without restriction, including without limitation the rights
|
|
1320
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
1321
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
1322
|
+
furnished to do so, subject to the following conditions:
|
|
1323
|
+
|
|
1324
|
+
The above copyright notice and this permission notice shall be included in all
|
|
1325
|
+
copies or substantial portions of the Software.
|
|
1326
|
+
|
|
1327
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
1328
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
1329
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
1330
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
1331
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
1332
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
1333
|
+
SOFTWARE.
|
|
1334
|
+
|
|
1335
1335
|
--------------------------------------------------------------------------------
|
|
1336
1336
|
Package: tslib
|
|
1337
1337
|
License: "0BSD"
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{$a as d,Ba as F,Ca as M,Pa as a,Va as w,Wb as h,ba as R,ca as c,cb as $,da as re,ea as H,fa as A,fb as se,ha as ve,la as m,m as ge,na as L,nc as Ce,oa as u,r as me,ra as x,rc as Ve,sc as W,wa as f,x as ye,xb as y,xc as oe,ya as _e}from"./chunk-N54WPLZY.js";import{a as g,b}from"./chunk-O3DEWASH.js";var Oe=(()=>{let e=class e{constructor(t,n){this._renderer=t,this._elementRef=n,this.onChange=s=>{},this.onTouched=()=>{}}setProperty(t,n){this._renderer.setProperty(this._elementRef.nativeElement,t,n)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}};e.\u0275fac=function(n){return new(n||e)(a(w),a(F))},e.\u0275dir=u({type:e});let i=e;return i})(),P=(()=>{let e=class e extends Oe{};e.\u0275fac=(()=>{let t;return function(s){return(t||(t=f(e)))(s||e)}})(),e.\u0275dir=u({type:e,features:[d]});let i=e;return i})(),V=new A(""),st={provide:V,useExisting:c(()=>ot),multi:!0},ot=(()=>{let e=class e extends P{writeValue(t){this.setProperty("checked",t)}};e.\u0275fac=(()=>{let t;return function(s){return(t||(t=f(e)))(s||e)}})(),e.\u0275dir=u({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(n,s){n&1&&y("change",function(l){return s.onChange(l.target.checked)})("blur",function(){return s.onTouched()})},features:[h([st]),d]});let i=e;return i})(),at={provide:V,useExisting:c(()=>Ne),multi:!0};function lt(){let i=oe()?oe().getUserAgent():"";return/android (\d+)/.test(i.toLowerCase())}var ut=new A(""),Ne=(()=>{let e=class e extends Oe{constructor(t,n,s){super(t,n),this._compositionMode=s,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!lt())}writeValue(t){let n=t??"";this.setProperty("value",n)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}};e.\u0275fac=function(n){return new(n||e)(a(w),a(F),a(ut,8))},e.\u0275dir=u({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(n,s){n&1&&y("input",function(l){return s._handleInput(l.target.value)})("blur",function(){return s.onTouched()})("compositionstart",function(){return s._compositionStart()})("compositionend",function(l){return s._compositionEnd(l.target.value)})},features:[h([at]),d]});let i=e;return i})();function v(i){return i==null||(typeof i=="string"||Array.isArray(i))&&i.length===0}function Pe(i){return i!=null&&typeof i.length=="number"}var D=new A(""),ee=new A(""),dt=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,De=class{static min(e){return ct(e)}static max(e){return ht(e)}static required(e){return xe(e)}static requiredTrue(e){return ft(e)}static email(e){return ke(e)}static minLength(e){return pt(e)}static maxLength(e){return Ge(e)}static pattern(e){return Te(e)}static nullValidator(e){return z(e)}static compose(e){return Le(e)}static composeAsync(e){return $e(e)}};function ct(i){return e=>{if(v(e.value)||v(i))return null;let r=parseFloat(e.value);return!isNaN(r)&&r<i?{min:{min:i,actual:e.value}}:null}}function ht(i){return e=>{if(v(e.value)||v(i))return null;let r=parseFloat(e.value);return!isNaN(r)&&r>i?{max:{max:i,actual:e.value}}:null}}function xe(i){return v(i.value)?{required:!0}:null}function ft(i){return i.value===!0?null:{required:!0}}function ke(i){return v(i.value)||dt.test(i.value)?null:{email:!0}}function pt(i){return e=>v(e.value)||!Pe(e.value)?null:e.value.length<i?{minlength:{requiredLength:i,actualLength:e.value.length}}:null}function Ge(i){return e=>Pe(e.value)&&e.value.length>i?{maxlength:{requiredLength:i,actualLength:e.value.length}}:null}function Te(i){if(!i)return z;let e,r;return typeof i=="string"?(r="",i.charAt(0)!=="^"&&(r+="^"),r+=i,i.charAt(i.length-1)!=="$"&&(r+="$"),e=new RegExp(r)):(r=i.toString(),e=i),t=>{if(v(t.value))return null;let n=t.value;return e.test(n)?null:{pattern:{requiredPattern:r,actualValue:n}}}}function z(i){return null}function je(i){return i!=null}function Be(i){return Ce(i)?ge(i):i}function Ue(i){let e={};return i.forEach(r=>{e=r!=null?g(g({},e),r):e}),Object.keys(e).length===0?null:e}function Re(i,e){return e.map(r=>r(i))}function gt(i){return!i.validate}function He(i){return i.map(e=>gt(e)?e:r=>e.validate(r))}function Le(i){if(!i)return null;let e=i.filter(je);return e.length==0?null:function(r){return Ue(Re(r,e))}}function de(i){return i!=null?Le(He(i)):null}function $e(i){if(!i)return null;let e=i.filter(je);return e.length==0?null:function(r){let t=Re(r,e).map(Be);return ye(t).pipe(me(Ue))}}function ce(i){return i!=null?$e(He(i)):null}function be(i,e){return i===null?[e]:Array.isArray(i)?[...i,e]:[i,e]}function We(i){return i._rawValidators}function qe(i){return i._rawAsyncValidators}function ae(i){return i?Array.isArray(i)?i:[i]:[]}function Z(i,e){return Array.isArray(i)?i.includes(e):i===e}function Ae(i,e){let r=ae(e);return ae(i).forEach(n=>{Z(r,n)||r.push(n)}),r}function Me(i,e){return ae(e).filter(r=>!Z(i,r))}var X=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=de(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=ce(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,r){return this.control?this.control.hasError(e,r):!1}getError(e,r){return this.control?this.control.getError(e,r):null}},_=class extends X{get formDirective(){return null}get path(){return null}},C=class extends X{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},Y=class{constructor(e){this._cd=e}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}},mt={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},yi=b(g({},mt),{"[class.ng-submitted]":"isSubmitted"}),vi=(()=>{let e=class e extends Y{constructor(t){super(t)}};e.\u0275fac=function(n){return new(n||e)(a(C,2))},e.\u0275dir=u({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,s){n&2&&se("ng-untouched",s.isUntouched)("ng-touched",s.isTouched)("ng-pristine",s.isPristine)("ng-dirty",s.isDirty)("ng-valid",s.isValid)("ng-invalid",s.isInvalid)("ng-pending",s.isPending)},features:[d]});let i=e;return i})(),_i=(()=>{let e=class e extends Y{constructor(t){super(t)}};e.\u0275fac=function(n){return new(n||e)(a(_,10))},e.\u0275dir=u({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(n,s){n&2&&se("ng-untouched",s.isUntouched)("ng-touched",s.isTouched)("ng-pristine",s.isPristine)("ng-dirty",s.isDirty)("ng-valid",s.isValid)("ng-invalid",s.isInvalid)("ng-pending",s.isPending)("ng-submitted",s.isSubmitted)},features:[d]});let i=e;return i})();var k="VALID",q="INVALID",I="PENDING",G="DISABLED";function he(i){return(te(i)?i.validators:i)||null}function yt(i){return Array.isArray(i)?de(i):i||null}function fe(i,e){return(te(e)?e.asyncValidators:i)||null}function vt(i){return Array.isArray(i)?ce(i):i||null}function te(i){return i!=null&&!Array.isArray(i)&&typeof i=="object"}function ze(i,e,r){let t=i.controls;if(!(e?Object.keys(t):t).length)throw new R(1e3,"");if(!t[r])throw new R(1001,"")}function Ze(i,e,r){i._forEachChild((t,n)=>{if(r[n]===void 0)throw new R(1002,"")})}var O=class{constructor(e,r){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(r)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===k}get invalid(){return this.status===q}get pending(){return this.status==I}get disabled(){return this.status===G}get enabled(){return this.status!==G}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(Ae(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(Ae(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(Me(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(Me(e,this._rawAsyncValidators))}hasValidator(e){return Z(this._rawValidators,e)}hasAsyncValidator(e){return Z(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(r=>{r.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=I,e.emitEvent!==!1&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=G,this.errors=null,this._forEachChild(t=>{t.disable(b(g({},e),{onlySelf:!0}))}),this._updateValue(),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(b(g({},e),{skipPristineCheck:r})),this._onDisabledChange.forEach(t=>t(!0))}enable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=k,this._forEachChild(t=>{t.enable(b(g({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(b(g({},e),{skipPristineCheck:r})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===k||this.status===I)&&this._runAsyncValidator(e.emitEvent)),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(r=>r._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?G:k}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=I,this._hasOwnPendingAsyncValidator=!0;let r=Be(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(t=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(t,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,r={}){this.errors=e,this._updateControlsErrors(r.emitEvent!==!1)}get(e){let r=e;return r==null||(Array.isArray(r)||(r=r.split(".")),r.length===0)?null:r.reduce((t,n)=>t&&t._find(n),this)}getError(e,r){let t=r?this.get(r):this;return t&&t.errors?t.errors[e]:null}hasError(e,r){return!!this.getError(e,r)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new M,this.statusChanges=new M}_calculateStatus(){return this._allControlsDisabled()?G:this.errors?q:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(I)?I:this._anyControlsHaveStatus(q)?q:k}_anyControlsHaveStatus(e){return this._anyControls(r=>r.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){te(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let r=this._parent&&this._parent.dirty;return!e&&!!r&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=yt(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=vt(this._rawAsyncValidators)}},N=class extends O{constructor(e,r,t){super(he(r),fe(t,r)),this.controls=e,this._initObservables(),this._setUpdateStrategy(r),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,r){return this.controls[e]?this.controls[e]:(this.controls[e]=r,r.setParent(this),r._registerOnCollectionChange(this._onCollectionChange),r)}addControl(e,r,t={}){this.registerControl(e,r),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}removeControl(e,r={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}setControl(e,r,t={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],r&&this.registerControl(e,r),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,r={}){Ze(this,!0,e),Object.keys(e).forEach(t=>{ze(this,!0,t),this.controls[t].setValue(e[t],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r)}patchValue(e,r={}){e!=null&&(Object.keys(e).forEach(t=>{let n=this.controls[t];n&&n.patchValue(e[t],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r))}reset(e={},r={}){this._forEachChild((t,n)=>{t.reset(e?e[n]:null,{onlySelf:!0,emitEvent:r.emitEvent})}),this._updatePristine(r),this._updateTouched(r),this.updateValueAndValidity(r)}getRawValue(){return this._reduceChildren({},(e,r,t)=>(e[t]=r.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(r,t)=>t._syncPendingControls()?!0:r);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(r=>{let t=this.controls[r];t&&e(t,r)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[r,t]of Object.entries(this.controls))if(this.contains(r)&&e(t))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(r,t,n)=>((t.enabled||this.disabled)&&(r[n]=t.value),r))}_reduceChildren(e,r){let t=e;return this._forEachChild((n,s)=>{t=r(t,n,s)}),t}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}};var le=class extends N{};var E=new A("CallSetDisabledState",{providedIn:"root",factory:()=>B}),B="always";function _t(i,e){return[...e.path,i]}function j(i,e,r=B){pe(i,e),e.valueAccessor.writeValue(i.value),(i.disabled||r==="always")&&e.valueAccessor.setDisabledState?.(i.disabled),Vt(i,e),bt(i,e),Dt(i,e),Ct(i,e)}function K(i,e,r=!0){let t=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(t),e.valueAccessor.registerOnTouched(t)),Q(i,e),i&&(e._invokeOnDestroyCallbacks(),i._registerOnCollectionChange(()=>{}))}function J(i,e){i.forEach(r=>{r.registerOnValidatorChange&&r.registerOnValidatorChange(e)})}function Ct(i,e){if(e.valueAccessor.setDisabledState){let r=t=>{e.valueAccessor.setDisabledState(t)};i.registerOnDisabledChange(r),e._registerOnDestroy(()=>{i._unregisterOnDisabledChange(r)})}}function pe(i,e){let r=We(i);e.validator!==null?i.setValidators(be(r,e.validator)):typeof r=="function"&&i.setValidators([r]);let t=qe(i);e.asyncValidator!==null?i.setAsyncValidators(be(t,e.asyncValidator)):typeof t=="function"&&i.setAsyncValidators([t]);let n=()=>i.updateValueAndValidity();J(e._rawValidators,n),J(e._rawAsyncValidators,n)}function Q(i,e){let r=!1;if(i!==null){if(e.validator!==null){let n=We(i);if(Array.isArray(n)&&n.length>0){let s=n.filter(o=>o!==e.validator);s.length!==n.length&&(r=!0,i.setValidators(s))}}if(e.asyncValidator!==null){let n=qe(i);if(Array.isArray(n)&&n.length>0){let s=n.filter(o=>o!==e.asyncValidator);s.length!==n.length&&(r=!0,i.setAsyncValidators(s))}}}let t=()=>{};return J(e._rawValidators,t),J(e._rawAsyncValidators,t),r}function Vt(i,e){e.valueAccessor.registerOnChange(r=>{i._pendingValue=r,i._pendingChange=!0,i._pendingDirty=!0,i.updateOn==="change"&&Xe(i,e)})}function Dt(i,e){e.valueAccessor.registerOnTouched(()=>{i._pendingTouched=!0,i.updateOn==="blur"&&i._pendingChange&&Xe(i,e),i.updateOn!=="submit"&&i.markAsTouched()})}function Xe(i,e){i._pendingDirty&&i.markAsDirty(),i.setValue(i._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1}function bt(i,e){let r=(t,n)=>{e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)};i.registerOnChange(r),e._registerOnDestroy(()=>{i._unregisterOnChange(r)})}function Ye(i,e){i==null,pe(i,e)}function At(i,e){return Q(i,e)}function Ke(i,e){if(!i.hasOwnProperty("model"))return!1;let r=i.model;return r.isFirstChange()?!0:!Object.is(e,r.currentValue)}function Mt(i){return Object.getPrototypeOf(i.constructor)===P}function Je(i,e){i._syncPendingControls(),e.forEach(r=>{let t=r.control;t.updateOn==="submit"&&t._pendingChange&&(r.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function Qe(i,e){if(!e)return null;Array.isArray(e);let r,t,n;return e.forEach(s=>{s.constructor===Ne?r=s:Mt(s)?t=s:n=s}),n||t||r||null}function Et(i,e){let r=i.indexOf(e);r>-1&&i.splice(r,1)}var Ft={provide:_,useExisting:c(()=>wt)},T=Promise.resolve(),wt=(()=>{let e=class e extends _{constructor(t,n,s){super(),this.callSetDisabledState=s,this.submitted=!1,this._directives=new Set,this.ngSubmit=new M,this.form=new N({},de(t),ce(n))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){T.then(()=>{let n=this._findContainer(t.path);t.control=n.registerControl(t.name,t.control),j(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){T.then(()=>{let n=this._findContainer(t.path);n&&n.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){T.then(()=>{let n=this._findContainer(t.path),s=new N({});Ye(s,t),n.registerControl(t.name,s),s.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){T.then(()=>{let n=this._findContainer(t.path);n&&n.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,n){T.then(()=>{this.form.get(t.path).setValue(n)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,Je(this.form,this._directives),this.ngSubmit.emit(t),t?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}};e.\u0275fac=function(n){return new(n||e)(a(D,10),a(ee,10),a(E,8))},e.\u0275dir=u({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(n,s){n&1&&y("submit",function(l){return s.onSubmit(l)})("reset",function(){return s.onReset()})},inputs:{options:[m.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[h([Ft]),d]});let i=e;return i})();function Ee(i,e){let r=i.indexOf(e);r>-1&&i.splice(r,1)}function Fe(i){return typeof i=="object"&&i!==null&&Object.keys(i).length===2&&"value"in i&&"disabled"in i}var S=class extends O{constructor(e=null,r,t){super(he(r),fe(t,r)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(r),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),te(r)&&(r.nonNullable||r.initialValueIsDefault)&&(Fe(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,r={}){this.value=this._pendingValue=e,this._onChange.length&&r.emitModelToViewChange!==!1&&this._onChange.forEach(t=>t(this.value,r.emitViewToModelChange!==!1)),this.updateValueAndValidity(r)}patchValue(e,r={}){this.setValue(e,r)}reset(e=this.defaultValue,r={}){this._applyFormState(e),this.markAsPristine(r),this.markAsUntouched(r),this.setValue(this.value,r),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){Ee(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){Ee(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){Fe(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}},Vi=S,It=i=>i instanceof S;var St={provide:C,useExisting:c(()=>Ot)},we=Promise.resolve(),Ot=(()=>{let e=class e extends C{constructor(t,n,s,o,l,p){super(),this._changeDetectorRef=l,this.callSetDisabledState=p,this.control=new S,this._registered=!1,this.name="",this.update=new M,this._parent=t,this._setValidators(n),this._setAsyncValidators(s),this.valueAccessor=Qe(this,o)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){let n=t.name.previousValue;this.formDirective.removeControl({name:n,path:this._getPath(n)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),Ke(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){j(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(t){we.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){let n=t.isDisabled.currentValue,s=n!==0&&W(n);we.then(()=>{s&&!this.control.disabled?this.control.disable():!s&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?_t(t,this._parent):[t]}};e.\u0275fac=function(n){return new(n||e)(a(_,9),a(D,10),a(ee,10),a(V,10),a(Ve,8),a(E,8))},e.\u0275dir=u({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[m.None,"disabled","isDisabled"],model:[m.None,"ngModel","model"],options:[m.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[h([St]),d,x]});let i=e;return i})(),Di=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=u({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});let i=e;return i})(),Nt={provide:V,useExisting:c(()=>Pt),multi:!0},Pt=(()=>{let e=class e extends P{writeValue(t){let n=t??"";this.setProperty("value",n)}registerOnChange(t){this.onChange=n=>{t(n==""?null:parseFloat(n))}}};e.\u0275fac=(()=>{let t;return function(s){return(t||(t=f(e)))(s||e)}})(),e.\u0275dir=u({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(n,s){n&1&&y("input",function(l){return s.onChange(l.target.value)})("blur",function(){return s.onTouched()})},features:[h([Nt]),d]});let i=e;return i})(),xt={provide:V,useExisting:c(()=>Gt),multi:!0};var kt=(()=>{let e=class e{constructor(){this._accessors=[]}add(t,n){this._accessors.push([t,n])}remove(t){for(let n=this._accessors.length-1;n>=0;--n)if(this._accessors[n][1]===t){this._accessors.splice(n,1);return}}select(t){this._accessors.forEach(n=>{this._isSameGroup(n,t)&&n[1]!==t&&n[1].fireUncheck(t.value)})}_isSameGroup(t,n){return t[0].control?t[0]._parent===n._control._parent&&t[1].name===n.name:!1}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=re({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Gt=(()=>{let e=class e extends P{constructor(t,n,s,o){super(t,n),this._registry=s,this._injector=o,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=ve(E,{optional:!0})??B}ngOnInit(){this._control=this._injector.get(C),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(t){this._state=t===this.value,this.setProperty("checked",this._state)}registerOnChange(t){this._fn=t,this.onChange=()=>{t(this.value),this._registry.select(this)}}setDisabledState(t){(this.setDisabledStateFired||t||this.callSetDisabledState==="whenDisabledForLegacyCode")&&this.setProperty("disabled",t),this.setDisabledStateFired=!0}fireUncheck(t){this.writeValue(t)}_checkName(){this.name&&this.formControlName&&(this.name,this.formControlName),!this.name&&this.formControlName&&(this.name=this.formControlName)}};e.\u0275fac=function(n){return new(n||e)(a(w),a(F),a(kt),a(_e))},e.\u0275dir=u({type:e,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(n,s){n&1&&y("change",function(){return s.onChange()})("blur",function(){return s.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[h([xt]),d]});let i=e;return i})();var et=new A(""),Tt={provide:C,useExisting:c(()=>jt)},jt=(()=>{let e=class e extends C{set isDisabled(t){}constructor(t,n,s,o,l){super(),this._ngModelWarningConfig=o,this.callSetDisabledState=l,this.update=new M,this._ngModelWarningSent=!1,this._setValidators(t),this._setAsyncValidators(n),this.valueAccessor=Qe(this,s)}ngOnChanges(t){if(this._isControlChanged(t)){let n=t.form.previousValue;n&&K(n,this,!1),j(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Ke(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&K(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_isControlChanged(t){return t.hasOwnProperty("form")}};e._ngModelWarningSentOnce=!1,e.\u0275fac=function(n){return new(n||e)(a(D,10),a(ee,10),a(V,10),a(et,8),a(E,8))},e.\u0275dir=u({type:e,selectors:[["","formControl",""]],inputs:{form:[m.None,"formControl","form"],isDisabled:[m.None,"disabled","isDisabled"],model:[m.None,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[h([Tt]),d,x]});let i=e;return i})(),Bt={provide:_,useExisting:c(()=>Ut)},Ut=(()=>{let e=class e extends _{constructor(t,n,s){super(),this.callSetDisabledState=s,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new M,this._setValidators(t),this._setAsyncValidators(n)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Q(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){let n=this.form.get(t.path);return j(n,t,this.callSetDisabledState),n.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),n}getControl(t){return this.form.get(t.path)}removeControl(t){K(t.control||null,t,!1),Et(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,n){this.form.get(t.path).setValue(n)}onSubmit(t){return this.submitted=!0,Je(this.form,this.directives),this.ngSubmit.emit(t),t?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{let n=t.control,s=this.form.get(t.path);n!==s&&(K(n||null,t),It(s)&&(j(s,t,this.callSetDisabledState),t.control=s))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){let n=this.form.get(t.path);Ye(n,t),n.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){let n=this.form.get(t.path);n&&At(n,t)&&n.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){pe(this.form,this),this._oldForm&&Q(this._oldForm,this)}_checkFormPresent(){this.form}};e.\u0275fac=function(n){return new(n||e)(a(D,10),a(ee,10),a(E,8))},e.\u0275dir=u({type:e,selectors:[["","formGroup",""]],hostBindings:function(n,s){n&1&&y("submit",function(l){return s.onSubmit(l)})("reset",function(){return s.onReset()})},inputs:{form:[m.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[h([Bt]),d,x]});let i=e;return i})();var Rt={provide:V,useExisting:c(()=>it),multi:!0};function tt(i,e){return i==null?`${e}`:(e&&typeof e=="object"&&(e="Object"),`${i}: ${e}`.slice(0,50))}function Ht(i){return i.split(":")[0]}var it=(()=>{let e=class e extends P{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;let n=this._getOptionId(t),s=tt(n,t);this.setProperty("value",s)}registerOnChange(t){this.onChange=n=>{this.value=this._getOptionValue(n),t(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(let n of this._optionMap.keys())if(this._compareWith(this._optionMap.get(n),t))return n;return null}_getOptionValue(t){let n=Ht(t);return this._optionMap.has(n)?this._optionMap.get(n):t}};e.\u0275fac=(()=>{let t;return function(s){return(t||(t=f(e)))(s||e)}})(),e.\u0275dir=u({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(n,s){n&1&&y("change",function(l){return s.onChange(l.target.value)})("blur",function(){return s.onTouched()})},inputs:{compareWith:"compareWith"},features:[h([Rt]),d]});let i=e;return i})(),bi=(()=>{let e=class e{constructor(t,n,s){this._element=t,this._renderer=n,this._select=s,this._select&&(this.id=this._select._registerOption())}set ngValue(t){this._select!=null&&(this._select._optionMap.set(this.id,t),this._setElementValue(tt(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._setElementValue(t),this._select&&this._select.writeValue(this._select.value)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}};e.\u0275fac=function(n){return new(n||e)(a(F),a(w),a(it,9))},e.\u0275dir=u({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}});let i=e;return i})(),Lt={provide:V,useExisting:c(()=>nt),multi:!0};function Ie(i,e){return i==null?`${e}`:(typeof e=="string"&&(e=`'${e}'`),e&&typeof e=="object"&&(e="Object"),`${i}: ${e}`.slice(0,50))}function $t(i){return i.split(":")[0]}var nt=(()=>{let e=class e extends P{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;let n;if(Array.isArray(t)){let s=t.map(o=>this._getOptionId(o));n=(o,l)=>{o._setSelected(s.indexOf(l.toString())>-1)}}else n=(s,o)=>{s._setSelected(!1)};this._optionMap.forEach(n)}registerOnChange(t){this.onChange=n=>{let s=[],o=n.selectedOptions;if(o!==void 0){let l=o;for(let p=0;p<l.length;p++){let U=l[p],ne=this._getOptionValue(U.value);s.push(ne)}}else{let l=n.options;for(let p=0;p<l.length;p++){let U=l[p];if(U.selected){let ne=this._getOptionValue(U.value);s.push(ne)}}}this.value=s,t(s)}}_registerOption(t){let n=(this._idCounter++).toString();return this._optionMap.set(n,t),n}_getOptionId(t){for(let n of this._optionMap.keys())if(this._compareWith(this._optionMap.get(n)._value,t))return n;return null}_getOptionValue(t){let n=$t(t);return this._optionMap.has(n)?this._optionMap.get(n)._value:t}};e.\u0275fac=(()=>{let t;return function(s){return(t||(t=f(e)))(s||e)}})(),e.\u0275dir=u({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(n,s){n&1&&y("change",function(l){return s.onChange(l.target)})("blur",function(){return s.onTouched()})},inputs:{compareWith:"compareWith"},features:[h([Lt]),d]});let i=e;return i})(),Ai=(()=>{let e=class e{constructor(t,n,s){this._element=t,this._renderer=n,this._select=s,this._select&&(this.id=this._select._registerOption(this))}set ngValue(t){this._select!=null&&(this._value=t,this._setElementValue(Ie(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(Ie(this.id,t)),this._select.writeValue(this._select.value)):this._setElementValue(t)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}_setSelected(t){this._renderer.setProperty(this._element.nativeElement,"selected",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}};e.\u0275fac=function(n){return new(n||e)(a(F),a(w),a(nt,9))},e.\u0275dir=u({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}});let i=e;return i})();function Wt(i){return typeof i=="number"?i:parseInt(i,10)}var ie=(()=>{let e=class e{constructor(){this._validator=z}ngOnChanges(t){if(this.inputName in t){let n=this.normalizeInput(t[this.inputName].currentValue);this._enabled=this.enabled(n),this._validator=this._enabled?this.createValidator(n):z,this._onChange&&this._onChange()}}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}enabled(t){return t!=null}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=u({type:e,features:[x]});let i=e;return i})();var qt={provide:D,useExisting:c(()=>zt),multi:!0};var zt=(()=>{let e=class e extends ie{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=W,this.createValidator=t=>xe}enabled(t){return t}};e.\u0275fac=(()=>{let t;return function(s){return(t||(t=f(e)))(s||e)}})(),e.\u0275dir=u({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(n,s){n&2&&$("required",s._enabled?"":null)},inputs:{required:"required"},features:[h([qt]),d]});let i=e;return i})();var Zt={provide:D,useExisting:c(()=>Xt),multi:!0},Xt=(()=>{let e=class e extends ie{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=W,this.createValidator=t=>ke}enabled(t){return t}};e.\u0275fac=(()=>{let t;return function(s){return(t||(t=f(e)))(s||e)}})(),e.\u0275dir=u({type:e,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[h([Zt]),d]});let i=e;return i})();var Yt={provide:D,useExisting:c(()=>Kt),multi:!0},Kt=(()=>{let e=class e extends ie{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=t=>Wt(t),this.createValidator=t=>Ge(t)}};e.\u0275fac=(()=>{let t;return function(s){return(t||(t=f(e)))(s||e)}})(),e.\u0275dir=u({type:e,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(n,s){n&2&&$("maxlength",s._enabled?s.maxlength:null)},inputs:{maxlength:"maxlength"},features:[h([Yt]),d]});let i=e;return i})(),Jt={provide:D,useExisting:c(()=>Qt),multi:!0},Qt=(()=>{let e=class e extends ie{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=t=>t,this.createValidator=t=>Te(t)}};e.\u0275fac=(()=>{let t;return function(s){return(t||(t=f(e)))(s||e)}})(),e.\u0275dir=u({type:e,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(n,s){n&2&&$("pattern",s._enabled?s.pattern:null)},inputs:{pattern:"pattern"},features:[h([Jt]),d]});let i=e;return i})();var rt=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=L({type:e}),e.\u0275inj=H({});let i=e;return i})(),ue=class extends O{constructor(e,r,t){super(he(r),fe(t,r)),this.controls=e,this._initObservables(),this._setUpdateStrategy(r),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(e){return this.controls[this._adjustIndex(e)]}push(e,r={}){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}insert(e,r,t={}){this.controls.splice(e,0,r),this._registerControl(r),this.updateValueAndValidity({emitEvent:t.emitEvent})}removeAt(e,r={}){let t=this._adjustIndex(e);t<0&&(t=0),this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity({emitEvent:r.emitEvent})}setControl(e,r,t={}){let n=this._adjustIndex(e);n<0&&(n=0),this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),this.controls.splice(n,1),r&&(this.controls.splice(n,0,r),this._registerControl(r)),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,r={}){Ze(this,!1,e),e.forEach((t,n)=>{ze(this,!1,n),this.at(n).setValue(t,{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r)}patchValue(e,r={}){e!=null&&(e.forEach((t,n)=>{this.at(n)&&this.at(n).patchValue(t,{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r))}reset(e=[],r={}){this._forEachChild((t,n)=>{t.reset(e[n],{onlySelf:!0,emitEvent:r.emitEvent})}),this._updatePristine(r),this._updateTouched(r),this.updateValueAndValidity(r)}getRawValue(){return this.controls.map(e=>e.getRawValue())}clear(e={}){this.controls.length<1||(this._forEachChild(r=>r._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:e.emitEvent}))}_adjustIndex(e){return e<0?e+this.length:e}_syncPendingControls(){let e=this.controls.reduce((r,t)=>t._syncPendingControls()?!0:r,!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){this.controls.forEach((r,t)=>{e(r,t)})}_updateValue(){this.value=this.controls.filter(e=>e.enabled||this.disabled).map(e=>e.value)}_anyControls(e){return this.controls.some(r=>r.enabled&&e(r))}_setUpControls(){this._forEachChild(e=>this._registerControl(e))}_allControlsDisabled(){for(let e of this.controls)if(e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}_find(e){return this.at(e)??null}};function Se(i){return!!i&&(i.asyncValidators!==void 0||i.validators!==void 0||i.updateOn!==void 0)}var Mi=(()=>{let e=class e{constructor(){this.useNonNullable=!1}get nonNullable(){let t=new e;return t.useNonNullable=!0,t}group(t,n=null){let s=this._reduceControls(t),o={};return Se(n)?o=n:n!==null&&(o.validators=n.validator,o.asyncValidators=n.asyncValidator),new N(s,o)}record(t,n=null){let s=this._reduceControls(t);return new le(s,n)}control(t,n,s){let o={};return this.useNonNullable?(Se(n)?o=n:(o.validators=n,o.asyncValidators=s),new S(t,b(g({},o),{nonNullable:!0}))):new S(t,n,s)}array(t,n,s){let o=t.map(l=>this._createControl(l));return new ue(o,n,s)}_reduceControls(t){let n={};return Object.keys(t).forEach(s=>{n[s]=this._createControl(t[s])}),n}_createControl(t){if(t instanceof S)return t;if(t instanceof O)return t;if(Array.isArray(t)){let n=t[0],s=t.length>1?t[1]:null,o=t.length>2?t[2]:null;return this.control(n,s,o)}else return this.control(t)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=re({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Ei=(()=>{let e=class e{static withConfig(t){return{ngModule:e,providers:[{provide:E,useValue:t.callSetDisabledState??B}]}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=L({type:e}),e.\u0275inj=H({imports:[rt]});let i=e;return i})(),Fi=(()=>{let e=class e{static withConfig(t){return{ngModule:e,providers:[{provide:et,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:E,useValue:t.callSetDisabledState??B}]}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=L({type:e}),e.\u0275inj=H({imports:[rt]});let i=e;return i})();export{V as a,ot as b,Ne as c,D as d,De as e,_ as f,C as g,vi as h,_i as i,N as j,wt as k,S as l,Vi as m,Ot as n,Di as o,Pt as p,Gt as q,jt as r,Ut as s,bi as t,Ai as u,zt as v,Xt as w,Kt as x,Qt as y,Mi as z,Ei as A,Fi as B};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{A as V,c as L,h as N,i as A,k as j,n as I,o as T}from"./chunk-24T7XJLP.js";import{a as k}from"./chunk-GIRJYQNU.js";import{Bc as x,Ec as P,Ja as h,Nb as d,Oa as r,Pa as b,Qc as F,Tb as w,Ub as C,Vb as S,Yb as _,_b as u,bb as y,db as a,ea as p,ma as g,na as f,ob as o,pb as n,qb as l,xb as v,xd as E,zb as M,zd as O}from"./chunk-N54WPLZY.js";import"./chunk-O3DEWASH.js";var W=()=>["/"],z=(e,m)=>({alert:!0,"alert-success":e,"alert-danger":m}),B=(e,m)=>({"fa-circle-check":e,"fa-circle-exclamation":m});function G(e,m){if(e&1&&(o(0,"div",22),l(1,"span",23)(2,"span",24),n()),e&2){let t=M();a("ngClass",u(3,z,t.alert.Success,!t.alert.Success)),r(),a("ngClass",u(6,B,t.alert.Success,!t.alert.Success)),r(),a("innerHTML",t.alert.Message,h)}}var D=(()=>{class e{httpService;Email;alert;constructor(t){this.httpService=t,document.title="Outlet | Forgot Password Form",this.alert={Visible:!1,Message:null,Success:!1}}ngOnInit(){document.body.classList.add("login-body")}ngOnDestroy(){document.body.classList.remove("login-body")}Submit(){let t={Email:this.Email};this.httpService.post("/api/login/SubmitForgotPassword",t).subscribe({next:i=>{this.alert.Visible=!0,this.alert.Success=!0,this.alert.Message=i.Message},error:i=>{this.alert.Visible=!0,this.alert.Message=i?.error?.Message?i?.error?.Message:i?.error}})}static \u0275fac=function(i){return new(i||e)(b(k))};static \u0275cmp=g({type:e,selectors:[["POS-auth-forgot-password"]],decls:28,vars:4,consts:[[1,"container-fluid"],[1,"d-flex","justify-content-center","align-items-center","vh-100"],[1,"card",2,"width","30rem"],[1,"card-body","p-12"],[1,"fw-normal","text-start"],["class","alert alert-danger mt-3",3,"ngClass",4,"ngIf"],[3,"submit"],[1,"row","mt-3"],[1,"col-12"],[1,"input-group","input-group-lg","mb-3"],[1,"input-group-text","input-group-text","rounded-start"],[1,"fas","fa-user","fa-lg"],["type","text","data-cy","username","placeholder","Login / Email","aria-label","Username","name","email","aria-describedby","basic-addon1",1,"form-control","form-control-lg","rounded-end","ps-2","border-start-0",2,"height","50px",3,"ngModelChange","ngModel"],[1,"d-md-flex","justify-content-between","mt-6"],[1,"order-md-last"],["type","submit",1,"btn","btn-lg","btn-success","rounded-1","fw-normal","rounded-0"],[1,"order-md-first"],[1,"return",3,"routerLink"],[1,"fixed-bottom"],[1,"d-flex","justify-content-start","mb-11","mx-11","footer-mobile"],["target","_blank","href","http://www.dealpos.com"],["src","//res.cloudinary.com/pos/image/upload/POS/Images/Login/dealpos.png",1,"ms-3","border-0"],[1,"alert","alert-danger","mt-3",3,"ngClass"],["aria-hidden","true",1,"fa-solid","fa-circle-exclamation","me-2",3,"ngClass"],[3,"innerHTML"]],template:function(i,s){i&1&&(o(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"h3",4),d(5,"Forgot Password?"),n(),y(6,G,3,9,"div",5),o(7,"form",6),v("submit",function(){return s.Submit()}),o(8,"div",7)(9,"div",8)(10,"div",9)(11,"div",10)(12,"span"),l(13,"i",11),n()(),o(14,"input",12),S("ngModelChange",function(c){return C(s.Email,c)||(s.Email=c),c}),n()()()(),o(15,"div",13)(16,"div",14),l(17,"input",15),n(),o(18,"div",16)(19,"a",17),d(20,"Return to login page"),n()()()()()()(),o(21,"div",18)(22,"div",19)(23,"div")(24,"span"),d(25,"powered by :"),n(),l(26,"a",20)(27,"img",21),n()()()()),i&2&&(r(6),a("ngIf",s.alert.Visible),r(8),w("ngModel",s.Email),r(5),a("routerLink",_(3,W)))},dependencies:[x,P,T,L,N,A,I,j,E],styles:["input[type=submit][_ngcontent-%COMP%]{font-size:1.125rem;width:11.25rem;font-family:Roboto Slab,serif}@media screen and (max-width: 768px){.footer-mobile[_ngcontent-%COMP%]{display:flex!important;justify-content:center!important}div.vh-100[_ngcontent-%COMP%]{height:40vh!important}.fixed-bottom[_ngcontent-%COMP%]{position:static!important}input[type=submit][_ngcontent-%COMP%]{width:98%}.card[_ngcontent-%COMP%]{border:none}}"]})}return e})();var U=[{path:"",component:D}],te=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=f({type:e});static \u0275inj=p({imports:[F,V,O.forChild(U)]})}return e})();export{te as AuthForgotPasswordModule};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Cd as m,c as p,da as d,ga as u}from"./chunk-N54WPLZY.js";var j=(()=>{class r{toastr;subject$=new p;constructor(t){this.toastr=t}onFileLoad(t){let f=t.target.result,l=!1,n=[],a=[],i=0;for(let o of f.split(/[\r\n]+/))if(l){let e={};for(let c=0;c<i;c++)e[a[c]]=o.split(",")[c];n.push(e)}else{for(let e=0;e<o.split(",").length;e++)i=o.split(",").length,a.push(o.split(",")[e].replace(/ /g,""));l=!0}return n.splice(-1),n}convert(t){let s=t.files,f=["csv"];if(s&&s.length){let l=t.files[0].name.split(".").pop().toLowerCase();if(f.indexOf(l)>-1){let a=s[0],i=new FileReader;return i.onload=o=>{let e=this.onFileLoad(o);this.subject$.next(e)},i.readAsText(a,"UTF-8"),this.subject$.asObservable()}else this.toastr.error("Invalid File Type","Failed")}}static \u0275fac=function(s){return new(s||r)(u(m))};static \u0275prov=d({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();export{j as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{a as n,d as _}from"./chunk-6ZVKIT5H.js";import{a as m}from"./chunk-TQZMOLDX.js";import{Bc as M,Ec as v,Nb as a,Oa as r,Pa as u,Pb as y,Qc as C,Xb as f,Yb as E,Zb as c,bb as d,db as o,hb as h,ma as S,ob as l,pb as p,wd as I,xd as N,yc as g,zb as b,zd as x}from"./chunk-N54WPLZY.js";var k=e=>({"pe-none":e}),D=()=>["/menu/Profile/Main/My_Subscription"],B=e=>({"text-decoration-none":e}),F=e=>({"text-capitalize":e});function L(e,O){if(e&1&&(l(0,"div",1)(1,"h5",2),a(2),l(3,"a",3)(4,"u",4)(5,"span",4),a(6,"please"),p(),a(7," process your payment! "),p()()()()),e&2){let t=b();h("alert rounded-0 mb-0 text-center border-bottom "+(t.subscriptionState==null?null:t.subscriptionState.class)),r(2),y(" ",t.subscriptionState==null?null:t.subscriptionState.message," "),r(),o("ngClass",c(7,k,t.isMySubscriptionMenu))("routerLink",E(9,D)),r(),o("ngClass",c(10,B,t.isMySubscriptionMenu)),r(),o("ngClass",c(12,F,t.isNotEmpty(t.currentSubStatus)&&t.currentSubStatus!=t.subsStatusEnum.OVERDUE))}}var z=(()=>{class e{document;router;authService;subscriptionStatus;subscriptionState;currentSubStatus;subsStatusEnum=n;isMySubscriptionMenu;htmlStyleElement;htmlBodyElement;constructor(t,s,i){this.document=t,this.router=s,this.authService=i}ngOnInit(){this.checkMySubscriptionMenu(),this.initSubscriptionStatus(),this.getCurrentSubscriptionStatus()}getCurrentSubscriptionStatus(){this.overrideCssStickyHeader()}checkMySubscriptionMenu(){this.isMySubscriptionMenu=!1,this.router.url.includes("/Profile/Main/My_Subscription")&&(this.isMySubscriptionMenu=!0)}isNotEmpty(t){return m.IsNotEmpty(t)}overrideCssStickyHeader(){if(m.IsNotEmpty(this.currentSubStatus)&&this.currentSubStatus!==n.PAID){let t=`.sticky-top-thead th {
|
|
2
|
+
top: 100px !important;
|
|
3
|
+
z-index: 1020;
|
|
4
|
+
}`;this.htmlBodyElement=this.document.getElementsByTagName("body")[0],this.htmlStyleElement=this.document.createElement("style"),this.htmlStyleElement.appendChild(this.document.createTextNode(t)),this.htmlBodyElement.appendChild(this.htmlStyleElement)}}initSubscriptionStatus(){this.currentSubStatus=this.authService.getSubscriptionStatus(),this.subscriptionStatus=[{status:n.OVERDUE,class:"alert-warning",message:"Your subscription is overdue. To avoid suspension, "},{status:n.SELL_ONLY,class:"alert-danger",message:"Your subscription is partially suspended."},{status:n.SUSPENDED,class:"alert-danger",message:"Your subscription is suspended."}],this.subscriptionState=this.subscriptionStatus.filter(t=>t.status==this.currentSubStatus)[0]}ngOnDestroy(){this.htmlBodyElement&&this.htmlBodyElement.removeChild(this.htmlStyleElement)}static \u0275fac=function(s){return new(s||e)(u(g),u(I),u(_))};static \u0275cmp=S({type:e,selectors:[["subscription-alert"]],standalone:!0,features:[f],decls:1,vars:1,consts:[["role","alert",3,"class",4,"ngIf"],["role","alert"],[1,"fw-normal"],[1,"alert-link",3,"ngClass","routerLink"],[3,"ngClass"]],template:function(s,i){s&1&&d(0,L,8,14,"div",0),s&2&&o("ngIf",(i.subscriptionState==null?null:i.subscriptionState.status)==i.currentSubStatus&&i.isNotEmpty(i.currentSubStatus))},dependencies:[C,M,v,x,N]})}return e})();export{z as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Ca as g,Pa as c,Wa as _,da as p,ea as l,fa as h,ga as m,la as d,na as f,oa as y,xb as C,yc as v}from"./chunk-N54WPLZY.js";var a=class{constructor(t,s){this._document=s;let e=this._textarea=this._document.createElement("textarea"),i=e.style;i.position="fixed",i.top=i.opacity="0",i.left="-999em",e.setAttribute("aria-hidden","true"),e.value=t,e.readOnly=!0,(this._document.fullscreenElement||this._document.body).appendChild(e)}copy(){let t=this._textarea,s=!1;try{if(t){let e=this._document.activeElement;t.select(),t.setSelectionRange(0,t.value.length),s=this._document.execCommand("copy"),e&&e.focus()}}catch{}return s}destroy(){let t=this._textarea;t&&(t.remove(),this._textarea=void 0)}},x=(()=>{let t=class t{constructor(e){this._document=e}copy(e){let i=this.beginCopy(e),o=i.copy();return i.destroy(),o}beginCopy(e){return new a(e,this._document)}};t.\u0275fac=function(i){return new(i||t)(m(v))},t.\u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),I=new h("CDK_COPY_TO_CLIPBOARD_CONFIG"),M=(()=>{let t=class t{constructor(e,i,o){this._clipboard=e,this._ngZone=i,this.text="",this.attempts=1,this.copied=new g,this._pending=new Set,o&&o.attempts!=null&&(this.attempts=o.attempts)}copy(e=this.attempts){if(e>1){let i=e,o=this._clipboard.beginCopy(this.text);this._pending.add(o);let r=()=>{let u=o.copy();!u&&--i&&!this._destroyed?this._currentTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(r,1)):(this._currentTimeout=null,this._pending.delete(o),o.destroy(),this.copied.emit(u))};r()}else this.copied.emit(this._clipboard.copy(this.text))}ngOnDestroy(){this._currentTimeout&&clearTimeout(this._currentTimeout),this._pending.forEach(e=>e.destroy()),this._pending.clear(),this._destroyed=!0}};t.\u0275fac=function(i){return new(i||t)(c(x),c(_),c(I,8))},t.\u0275dir=y({type:t,selectors:[["","cdkCopyToClipboard",""]],hostBindings:function(i,o){i&1&&C("click",function(){return o.copy()})},inputs:{text:[d.None,"cdkCopyToClipboard","text"],attempts:[d.None,"cdkCopyToClipboardAttempts","attempts"]},outputs:{copied:"cdkCopyToClipboardCopied"},standalone:!0});let n=t;return n})(),A=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=f({type:t}),t.\u0275inj=l({});let n=t;return n})();export{x as a,M as b,A as c};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as q,b as A}from"./chunk-7YL3N3XW.js";import{A as Q}from"./chunk-24T7XJLP.js";import{A as w,Ca as g,Cd as $,Ec as N,Jc as O,Ka as _,Kb as B,Lb as L,Mb as C,Nb as a,Oa as p,Ob as M,Pb as H,Q as F,Qc as z,Xb as j,_ as E,_a as V,bb as U,db as m,eb as I,ec as x,fc as y,ha as S,ma as k,oa as b,ob as i,pb as r,qb as v,rb as P,sa as f,sb as T,ta as u,ub as h,xb as d,zb as D}from"./chunk-N54WPLZY.js";var W=(()=>{class n{filesChangeEmiter=new g;background;constructor(){}onDragOver(e){e.preventDefault(),e.stopPropagation(),this.background="#eee"}onDragLeave(e){e.preventDefault(),e.stopPropagation(),this.background="#eee"}onDrop(e){e.preventDefault(),e.stopPropagation(),this.background="white";let t=e.dataTransfer.files;this.filesChangeEmiter.emit(t)}static \u0275fac=function(o){return new(o||n)};static \u0275dir=b({type:n,selectors:[["","fileDragDrop",""]],hostVars:2,hostBindings:function(o,t){o&1&&d("dragover",function(l){return t.onDragOver(l)})("dragleave",function(l){return t.onDragLeave(l)})("drop",function(l){return t.onDrop(l)}),o&2&&I("background",t.background)},outputs:{filesChangeEmiter:"filesChangeEmiter"},standalone:!0})}return n})();var J=["file"];function K(n,R){if(n&1&&(i(0,"div",13)(1,"span"),a(2,"Read Product Import article in "),i(3,"a",14),a(4,"this article"),r()(),i(5,"span"),a(6,"Max File Size 1Mb"),r()()),n&2){let e=D();p(3),m("href",e.articleLink,_)}}function X(n,R){if(n&1){let e=h();P(0),i(1,"div",15)(2,"div"),v(3,"i",16),r(),i(4,"div",17)(5,"div",18)(6,"span"),a(7),r(),i(8,"span"),a(9),x(10,"async"),r()(),v(11,"mat-progress-bar",19),x(12,"async"),r(),i(13,"div")(14,"i",20),d("click",function(){f(e);let t=D();return u(t.removeUploadFile())}),r()()(),T()}if(n&2){let e=D();p(7),M(e.fileName),p(2),H("",y(10,3,e.loadingVal$),"%"),p(2),m("value",y(12,5,e.loadingVal$))}}var ve=(()=>{class n{sampleUrl="";articleLink="";onUploadCsv=new g;file=V("file");toastService=S($);loadingVal$;fileInput;fileName;isCsvFile(e){return e.type==="text/csv"||e.type==="application/vnd.ms-excel"}onFileSelect(e){e.length>0&&this.isCsvFile(e[0])?(this.fileInput={files:e},this.fileName=e?e[0]?.name:null,this.loadingVal$=null,this.onUploadFile(),this.initUploadLoading()):this.toastService.warning("Please drop a CSV file.","Warning")}initUploadLoading(){this.loadingVal$=w(100).pipe(F(e=>e+25,0),E(e=>e<=100))}removeUploadFile(){this.fileInput=null,this.fileName=null,this.file().nativeElement.value=null,this.onUploadCsv.emit(this.fileInput)}onUploadFile(){this.onUploadCsv.emit(this.fileInput)}static \u0275fac=function(o){return new(o||n)};static \u0275cmp=k({type:n,selectors:[["POS-drag-drop-file"]],viewQuery:function(o,t){o&1&&B(t.file,J,5),o&2&&L()},inputs:{sampleUrl:"sampleUrl",articleLink:"articleLink"},outputs:{onUploadCsv:"onUploadCsv"},standalone:!0,features:[j],decls:21,vars:4,consts:[["file",""],[1,"modal-content"],["fileDragDrop","",1,"border","d-flex","align-items-center","justify-content-center","w-100","upload-border",3,"filesChangeEmiter"],[1,"text-center"],[1,"fa-regular","fa-folder","pointer",2,"font-size","40px","color","#337ab7 !important",3,"click"],[1,"mt-6"],[1,"fw-normal","link-primary","cursor-pointer",3,"click"],[1,"fw-normal"],["role","button",3,"href"],[1,"fa-solid","fa-download","ms-3"],["class","mt-3 d-flex justify-content-between",4,"ngIf"],[4,"ngIf"],["accept",".csv","id","csv","type","file","name","myfile",1,"form-control",3,"change","hidden"],[1,"mt-3","d-flex","justify-content-between"],["target","_blank",3,"href"],[1,"d-flex","align-items-center","justify-content-start","mt-6"],[1,"fa-regular","fa-file","text-secondary","fs-3"],[1,"w-100","mx-3"],[1,"mb-2","d-flex","align-items-center","justify-content-between"],["mode","determinate",3,"value"],[1,"fa-solid","fa-xmark","text-secondary","fs-3","cursor-pointer",3,"click"]],template:function(o,t){if(o&1){let c=h();i(0,"div",1)(1,"div",2),d("filesChangeEmiter",function(s){return f(c),u(t.onFileSelect(s))}),i(2,"div",3)(3,"i",4),d("click",function(){f(c);let s=C(20);return u(s.click())}),r(),i(4,"div",5)(5,"span"),a(6,"Drag & Drop or "),r(),i(7,"span",6),d("click",function(){f(c);let s=C(20);return u(s.click())}),a(8,"Choose File"),r(),i(9,"span"),a(10," to upload"),r()(),i(11,"div",5)(12,"span",7),a(13,"Importing requires .csv format"),r(),i(14,"a",8),v(15,"i",9),a(16," Download Template "),r()()()(),U(17,K,7,1,"div",10)(18,X,15,7,"ng-container",11),i(19,"input",12,0),d("change",function(s){return f(c),u(t.onFileSelect(s==null||s.target==null?null:s.target.files))}),r()()}o&2&&(p(14),m("href",t.sampleUrl,_),p(3),m("ngIf",t.articleLink),p(),m("ngIf",t.fileName),p(),m("hidden",!0))},dependencies:[z,N,O,Q,A,q,W],styles:[".upload-border[_ngcontent-%COMP%]{border-color:#0003!important;border-style:dashed!important;border-width:2px!important;padding:75px;border-radius:6px}"]})}return n})();export{ve as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as Me}from"./chunk-24T7XJLP.js";import{$ as Ce,$b as De,Ab as le,B as Z,Ba as O,Bb as re,Bc as Be,C as ge,Ca as w,Cb as Se,Dc as Ve,E as fe,Ec as oe,Gb as S,Hb as R,I as _e,Ib as f,Ic as ae,Jb as _,Mb as A,Nb as L,Oa as u,Ob as Q,Pa as h,Pb as Fe,Qc as Pe,Ra as p,V as Ee,Va as ye,Wa as Ie,Wb as Ae,Z as P,Zb as z,_b as xe,ac as Oe,bb as b,c as W,ca as ve,cb as ee,da as J,db as d,ea as Te,f as he,fa as be,fb as k,i as pe,kc as V,ma as X,na as we,oa as I,ob as g,pb as E,qb as j,r as me,ra as G,rb as M,rc as ke,sa as v,sb as N,ta as T,tb as se,ub as U,xa as ne,xb as B,y as q,yc as Le,zb as c}from"./chunk-N54WPLZY.js";import{a as de}from"./chunk-O3DEWASH.js";var We=["content"],qe=["scroll"],Ge=["padding"],He=["*"],Y=n=>({searchTerm:n});function $e(n,t){if(n&1&&(g(0,"div",6),se(1,7),E()),n&2){let s=c();u(),d("ngTemplateOutlet",s.headerTemplate)("ngTemplateOutletContext",z(2,Y,s.filterValue))}}function Ye(n,t){if(n&1&&(g(0,"div",8),se(1,7),E()),n&2){let s=c();u(),d("ngTemplateOutlet",s.footerTemplate)("ngTemplateOutletContext",z(2,Y,s.filterValue))}}var Ke=["searchInput"],Ze=["clearButton"],Je=(n,t,s)=>({item:n,clear:t,label:s}),Xe=(n,t)=>({items:n,clear:t}),et=(n,t,s,e)=>({item:n,item$:t,index:s,searchTerm:e});function tt(n,t){if(n&1){let s=U();g(0,"span",22),B("click",function(){v(s);let i=c().$implicit,l=c(2);return T(l.unselect(i))}),L(1,"\xD7"),E(),j(2,"span",23)}if(n&2){let s=c().$implicit,e=c(2);u(2),d("ngItemLabel",s.label)("escape",e.escapeHTML)}}function it(n,t){}function nt(n,t){if(n&1&&(g(0,"div",20),b(1,tt,3,2,"ng-template",null,1,V)(3,it,0,0,"ng-template",21),E()),n&2){let s=t.$implicit,e=A(2),i=c(2);k("ng-value-disabled",s.disabled),u(3),d("ngTemplateOutlet",i.labelTemplate||e)("ngTemplateOutletContext",De(4,Je,s.value,i.clearItem,s.label))}}function st(n,t){if(n&1&&(M(0),b(1,nt,4,8,"div",19),N()),n&2){let s=c();u(),d("ngForOf",s.selectedItems)("ngForTrackBy",s.trackByOption)}}function lt(n,t){}function rt(n,t){if(n&1&&b(0,lt,0,0,"ng-template",21),n&2){let s=c();d("ngTemplateOutlet",s.multiLabelTemplate)("ngTemplateOutletContext",xe(2,Xe,s.selectedValues,s.clearItem))}}function ot(n,t){n&1&&j(0,"div",25)}function at(n,t){}function ut(n,t){if(n&1&&(M(0),b(1,ot,1,0,"ng-template",null,2,V)(3,at,0,0,"ng-template",24),N()),n&2){let s=A(2),e=c();u(3),d("ngTemplateOutlet",e.loadingSpinnerTemplate||s)}}function ct(n,t){if(n&1&&(g(0,"span",26,3)(2,"span",27),L(3,"\xD7"),E()()),n&2){let s=c();Se("title",s.clearAllText)}}function dt(n,t){if(n&1&&j(0,"span",32),n&2){let s=c().$implicit,e=c(2);d("ngItemLabel",s.label)("escape",e.escapeHTML)}}function ht(n,t){}function pt(n,t){if(n&1){let s=U();g(0,"div",31),B("click",function(){let i=v(s).$implicit,l=c(2);return T(l.toggleItem(i))})("mouseover",function(){let i=v(s).$implicit,l=c(2);return T(l.onItemHover(i))}),b(1,dt,1,2,"ng-template",null,4,V)(3,ht,0,0,"ng-template",21),E()}if(n&2){let s=t.$implicit,e=A(2),i=c(2);k("ng-option-disabled",s.disabled)("ng-option-selected",s.selected)("ng-optgroup",s.children)("ng-option",!s.children)("ng-option-child",!!s.parent)("ng-option-marked",s===i.itemsList.markedItem),ee("role",s.children?"group":"option")("aria-selected",s.selected)("id",s==null?null:s.htmlId),u(3),d("ngTemplateOutlet",s.children?i.optgroupTemplate||e:i.optionTemplate||e)("ngTemplateOutletContext",Oe(17,et,s.value,s,s.index,i.searchTerm))}}function mt(n,t){if(n&1&&(g(0,"span")(1,"span",34),L(2),E(),L(3),E()),n&2){let s=c(3);u(2),Q(s.addTagText),u(),Fe('"',s.searchTerm,'"')}}function gt(n,t){}function ft(n,t){if(n&1){let s=U();g(0,"div",33),B("mouseover",function(){v(s);let i=c(2);return T(i.itemsList.unmarkItem())})("click",function(){v(s);let i=c(2);return T(i.selectTag())}),b(1,mt,4,2,"ng-template",null,5,V)(3,gt,0,0,"ng-template",21),E()}if(n&2){let s=A(2),e=c(2);k("ng-option-marked",!e.itemsList.markedItem),u(3),d("ngTemplateOutlet",e.tagTemplate||s)("ngTemplateOutletContext",z(4,Y,e.searchTerm))}}function _t(n,t){if(n&1&&(g(0,"div",35),L(1),E()),n&2){let s=c(3);u(),Q(s.notFoundText)}}function Et(n,t){}function Ct(n,t){if(n&1&&(M(0),b(1,_t,2,1,"ng-template",null,6,V)(3,Et,0,0,"ng-template",21),N()),n&2){let s=A(2),e=c(2);u(3),d("ngTemplateOutlet",e.notFoundTemplate||s)("ngTemplateOutletContext",z(2,Y,e.searchTerm))}}function vt(n,t){if(n&1&&(g(0,"div",35),L(1),E()),n&2){let s=c(3);u(),Q(s.typeToSearchText)}}function Tt(n,t){}function bt(n,t){if(n&1&&(M(0),b(1,vt,2,1,"ng-template",null,7,V)(3,Tt,0,0,"ng-template",24),N()),n&2){let s=A(2),e=c(2);u(3),d("ngTemplateOutlet",e.typeToSearchTemplate||s)}}function wt(n,t){if(n&1&&(g(0,"div",35),L(1),E()),n&2){let s=c(3);u(),Q(s.loadingText)}}function yt(n,t){}function It(n,t){if(n&1&&(M(0),b(1,wt,2,1,"ng-template",null,8,V)(3,yt,0,0,"ng-template",21),N()),n&2){let s=A(2),e=c(2);u(3),d("ngTemplateOutlet",e.loadingTextTemplate||s)("ngTemplateOutletContext",z(2,Y,e.searchTerm))}}function St(n,t){if(n&1){let s=U();g(0,"ng-dropdown-panel",28),B("update",function(i){v(s);let l=c();return T(l.viewPortItems=i)})("scroll",function(i){v(s);let l=c();return T(l.scroll.emit(i))})("scrollToEnd",function(i){v(s);let l=c();return T(l.scrollToEnd.emit(i))})("outsideClick",function(){v(s);let i=c();return T(i.close())}),M(1),b(2,pt,4,22,"div",29)(3,ft,4,6,"div",30),N(),b(4,Ct,4,4,"ng-container",12)(5,bt,4,1,"ng-container",12)(6,It,4,4,"ng-container",12),E()}if(n&2){let s=c();k("ng-select-multiple",s.multiple),d("virtualScroll",s.virtualScroll)("bufferAmount",s.bufferAmount)("appendTo",s.appendTo)("position",s.dropdownPosition)("headerTemplate",s.headerTemplate)("footerTemplate",s.footerTemplate)("filterValue",s.searchTerm)("items",s.itemsList.filteredItems)("markedItem",s.itemsList.markedItem)("ngClass",s.appendTo?s.classes:null)("id",s.dropdownId),u(2),d("ngForOf",s.viewPortItems)("ngForTrackBy",s.trackByOption),u(),d("ngIf",s.showAddTag),u(),d("ngIf",s.showNoItemsFound()),u(),d("ngIf",s.showTypeToSearch()),u(),d("ngIf",s.loading&&s.itemsList.filteredItems.length===0)}}var je=/[&<>"']/g,Ft=RegExp(je.source),At={"&":"&","<":"<",">":">",'"':""","'":"'"};function xt(n){return n&&Ft.test(n)?n.replace(je,t=>At[t]):n}function m(n){return n!=null}function $(n){return typeof n=="object"&&m(n)}function Dt(n){return n instanceof Promise}function ie(n){return n instanceof Function}var Ot=(()=>{let t=class t{constructor(e){this.element=e,this.escape=!0}ngOnChanges(e){this.element.nativeElement.innerHTML=this.escape?xt(this.ngItemLabel):this.ngItemLabel}};t.\u0275fac=function(i){return new(i||t)(h(O))},t.\u0275dir=I({type:t,selectors:[["","ngItemLabel",""]],inputs:{ngItemLabel:"ngItemLabel",escape:"escape"},features:[G]});let n=t;return n})(),kt=(()=>{let t=class t{constructor(e){this.template=e}};t.\u0275fac=function(i){return new(i||t)(h(p))},t.\u0275dir=I({type:t,selectors:[["","ng-option-tmp",""]]});let n=t;return n})(),Lt=(()=>{let t=class t{constructor(e){this.template=e}};t.\u0275fac=function(i){return new(i||t)(h(p))},t.\u0275dir=I({type:t,selectors:[["","ng-optgroup-tmp",""]]});let n=t;return n})(),Bt=(()=>{let t=class t{constructor(e){this.template=e}};t.\u0275fac=function(i){return new(i||t)(h(p))},t.\u0275dir=I({type:t,selectors:[["","ng-label-tmp",""]]});let n=t;return n})(),Vt=(()=>{let t=class t{constructor(e){this.template=e}};t.\u0275fac=function(i){return new(i||t)(h(p))},t.\u0275dir=I({type:t,selectors:[["","ng-multi-label-tmp",""]]});let n=t;return n})(),Pt=(()=>{let t=class t{constructor(e){this.template=e}};t.\u0275fac=function(i){return new(i||t)(h(p))},t.\u0275dir=I({type:t,selectors:[["","ng-header-tmp",""]]});let n=t;return n})(),Mt=(()=>{let t=class t{constructor(e){this.template=e}};t.\u0275fac=function(i){return new(i||t)(h(p))},t.\u0275dir=I({type:t,selectors:[["","ng-footer-tmp",""]]});let n=t;return n})(),Nt=(()=>{let t=class t{constructor(e){this.template=e}};t.\u0275fac=function(i){return new(i||t)(h(p))},t.\u0275dir=I({type:t,selectors:[["","ng-notfound-tmp",""]]});let n=t;return n})(),Rt=(()=>{let t=class t{constructor(e){this.template=e}};t.\u0275fac=function(i){return new(i||t)(h(p))},t.\u0275dir=I({type:t,selectors:[["","ng-typetosearch-tmp",""]]});let n=t;return n})(),Ht=(()=>{let t=class t{constructor(e){this.template=e}};t.\u0275fac=function(i){return new(i||t)(h(p))},t.\u0275dir=I({type:t,selectors:[["","ng-loadingtext-tmp",""]]});let n=t;return n})(),jt=(()=>{let t=class t{constructor(e){this.template=e}};t.\u0275fac=function(i){return new(i||t)(h(p))},t.\u0275dir=I({type:t,selectors:[["","ng-tag-tmp",""]]});let n=t;return n})(),Ut=(()=>{let t=class t{constructor(e){this.template=e}};t.\u0275fac=function(i){return new(i||t)(h(p))},t.\u0275dir=I({type:t,selectors:[["","ng-loadingspinner-tmp",""]]});let n=t;return n})();function Ue(){return"axxxxxxxxxxx".replace(/[x]/g,()=>(Math.random()*16|0).toString(16))}var Qt={"\u24B6":"A",\uFF21:"A",\u00C0:"A",\u00C1:"A",\u00C2:"A",\u1EA6:"A",\u1EA4:"A",\u1EAA:"A",\u1EA8:"A",\u00C3:"A",\u0100:"A",\u0102:"A",\u1EB0:"A",\u1EAE:"A",\u1EB4:"A",\u1EB2:"A",\u0226:"A",\u01E0:"A",\u00C4:"A",\u01DE:"A",\u1EA2:"A",\u00C5:"A",\u01FA:"A",\u01CD:"A",\u0200:"A",\u0202:"A",\u1EA0:"A",\u1EAC:"A",\u1EB6:"A",\u1E00:"A",\u0104:"A","\u023A":"A","\u2C6F":"A","\uA732":"AA",\u00C6:"AE",\u01FC:"AE",\u01E2:"AE","\uA734":"AO","\uA736":"AU","\uA738":"AV","\uA73A":"AV","\uA73C":"AY","\u24B7":"B",\uFF22:"B",\u1E02:"B",\u1E04:"B",\u1E06:"B","\u0243":"B",\u0182:"B",\u0181:"B","\u24B8":"C",\uFF23:"C",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u00C7:"C",\u1E08:"C",\u0187:"C","\u023B":"C","\uA73E":"C","\u24B9":"D",\uFF24:"D",\u1E0A:"D",\u010E:"D",\u1E0C:"D",\u1E10:"D",\u1E12:"D",\u1E0E:"D",\u0110:"D",\u018B:"D",\u018A:"D",\u0189:"D","\uA779":"D",\u01F1:"DZ",\u01C4:"DZ",\u01F2:"Dz",\u01C5:"Dz","\u24BA":"E",\uFF25:"E",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u1EC0:"E",\u1EBE:"E",\u1EC4:"E",\u1EC2:"E",\u1EBC:"E",\u0112:"E",\u1E14:"E",\u1E16:"E",\u0114:"E",\u0116:"E",\u00CB:"E",\u1EBA:"E",\u011A:"E",\u0204:"E",\u0206:"E",\u1EB8:"E",\u1EC6:"E",\u0228:"E",\u1E1C:"E",\u0118:"E",\u1E18:"E",\u1E1A:"E",\u0190:"E",\u018E:"E","\u24BB":"F",\uFF26:"F",\u1E1E:"F",\u0191:"F","\uA77B":"F","\u24BC":"G",\uFF27:"G",\u01F4:"G",\u011C:"G",\u1E20:"G",\u011E:"G",\u0120:"G",\u01E6:"G",\u0122:"G",\u01E4:"G",\u0193:"G","\uA7A0":"G","\uA77D":"G","\uA77E":"G","\u24BD":"H",\uFF28:"H",\u0124:"H",\u1E22:"H",\u1E26:"H",\u021E:"H",\u1E24:"H",\u1E28:"H",\u1E2A:"H",\u0126:"H","\u2C67":"H","\u2C75":"H","\uA78D":"H","\u24BE":"I",\uFF29:"I",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u0128:"I",\u012A:"I",\u012C:"I",\u0130:"I",\u00CF:"I",\u1E2E:"I",\u1EC8:"I",\u01CF:"I",\u0208:"I",\u020A:"I",\u1ECA:"I",\u012E:"I",\u1E2C:"I",\u0197:"I","\u24BF":"J",\uFF2A:"J",\u0134:"J","\u0248":"J","\u24C0":"K",\uFF2B:"K",\u1E30:"K",\u01E8:"K",\u1E32:"K",\u0136:"K",\u1E34:"K",\u0198:"K","\u2C69":"K","\uA740":"K","\uA742":"K","\uA744":"K","\uA7A2":"K","\u24C1":"L",\uFF2C:"L",\u013F:"L",\u0139:"L",\u013D:"L",\u1E36:"L",\u1E38:"L",\u013B:"L",\u1E3C:"L",\u1E3A:"L",\u0141:"L","\u023D":"L","\u2C62":"L","\u2C60":"L","\uA748":"L","\uA746":"L","\uA780":"L",\u01C7:"LJ",\u01C8:"Lj","\u24C2":"M",\uFF2D:"M",\u1E3E:"M",\u1E40:"M",\u1E42:"M","\u2C6E":"M",\u019C:"M","\u24C3":"N",\uFF2E:"N",\u01F8:"N",\u0143:"N",\u00D1:"N",\u1E44:"N",\u0147:"N",\u1E46:"N",\u0145:"N",\u1E4A:"N",\u1E48:"N","\u0220":"N",\u019D:"N","\uA790":"N","\uA7A4":"N",\u01CA:"NJ",\u01CB:"Nj","\u24C4":"O",\uFF2F:"O",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u1ED2:"O",\u1ED0:"O",\u1ED6:"O",\u1ED4:"O",\u00D5:"O",\u1E4C:"O",\u022C:"O",\u1E4E:"O",\u014C:"O",\u1E50:"O",\u1E52:"O",\u014E:"O",\u022E:"O",\u0230:"O",\u00D6:"O",\u022A:"O",\u1ECE:"O",\u0150:"O",\u01D1:"O",\u020C:"O",\u020E:"O",\u01A0:"O",\u1EDC:"O",\u1EDA:"O",\u1EE0:"O",\u1EDE:"O",\u1EE2:"O",\u1ECC:"O",\u1ED8:"O",\u01EA:"O",\u01EC:"O",\u00D8:"O",\u01FE:"O",\u0186:"O",\u019F:"O","\uA74A":"O","\uA74C":"O",\u01A2:"OI","\uA74E":"OO",\u0222:"OU","\u24C5":"P",\uFF30:"P",\u1E54:"P",\u1E56:"P",\u01A4:"P","\u2C63":"P","\uA750":"P","\uA752":"P","\uA754":"P","\u24C6":"Q",\uFF31:"Q","\uA756":"Q","\uA758":"Q","\u024A":"Q","\u24C7":"R",\uFF32:"R",\u0154:"R",\u1E58:"R",\u0158:"R",\u0210:"R",\u0212:"R",\u1E5A:"R",\u1E5C:"R",\u0156:"R",\u1E5E:"R","\u024C":"R","\u2C64":"R","\uA75A":"R","\uA7A6":"R","\uA782":"R","\u24C8":"S",\uFF33:"S","\u1E9E":"S",\u015A:"S",\u1E64:"S",\u015C:"S",\u1E60:"S",\u0160:"S",\u1E66:"S",\u1E62:"S",\u1E68:"S",\u0218:"S",\u015E:"S","\u2C7E":"S","\uA7A8":"S","\uA784":"S","\u24C9":"T",\uFF34:"T",\u1E6A:"T",\u0164:"T",\u1E6C:"T",\u021A:"T",\u0162:"T",\u1E70:"T",\u1E6E:"T",\u0166:"T",\u01AC:"T",\u01AE:"T","\u023E":"T","\uA786":"T","\uA728":"TZ","\u24CA":"U",\uFF35:"U",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u0168:"U",\u1E78:"U",\u016A:"U",\u1E7A:"U",\u016C:"U",\u00DC:"U",\u01DB:"U",\u01D7:"U",\u01D5:"U",\u01D9:"U",\u1EE6:"U",\u016E:"U",\u0170:"U",\u01D3:"U",\u0214:"U",\u0216:"U",\u01AF:"U",\u1EEA:"U",\u1EE8:"U",\u1EEE:"U",\u1EEC:"U",\u1EF0:"U",\u1EE4:"U",\u1E72:"U",\u0172:"U",\u1E76:"U",\u1E74:"U","\u0244":"U","\u24CB":"V",\uFF36:"V",\u1E7C:"V",\u1E7E:"V",\u01B2:"V","\uA75E":"V","\u0245":"V","\uA760":"VY","\u24CC":"W",\uFF37:"W",\u1E80:"W",\u1E82:"W",\u0174:"W",\u1E86:"W",\u1E84:"W",\u1E88:"W","\u2C72":"W","\u24CD":"X",\uFF38:"X",\u1E8A:"X",\u1E8C:"X","\u24CE":"Y",\uFF39:"Y",\u1EF2:"Y",\u00DD:"Y",\u0176:"Y",\u1EF8:"Y",\u0232:"Y",\u1E8E:"Y",\u0178:"Y",\u1EF6:"Y",\u1EF4:"Y",\u01B3:"Y","\u024E":"Y","\u1EFE":"Y","\u24CF":"Z",\uFF3A:"Z",\u0179:"Z",\u1E90:"Z",\u017B:"Z",\u017D:"Z",\u1E92:"Z",\u1E94:"Z",\u01B5:"Z",\u0224:"Z","\u2C7F":"Z","\u2C6B":"Z","\uA762":"Z","\u24D0":"a",\uFF41:"a",\u1E9A:"a",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u1EA7:"a",\u1EA5:"a",\u1EAB:"a",\u1EA9:"a",\u00E3:"a",\u0101:"a",\u0103:"a",\u1EB1:"a",\u1EAF:"a",\u1EB5:"a",\u1EB3:"a",\u0227:"a",\u01E1:"a",\u00E4:"a",\u01DF:"a",\u1EA3:"a",\u00E5:"a",\u01FB:"a",\u01CE:"a",\u0201:"a",\u0203:"a",\u1EA1:"a",\u1EAD:"a",\u1EB7:"a",\u1E01:"a",\u0105:"a","\u2C65":"a",\u0250:"a","\uA733":"aa",\u00E6:"ae",\u01FD:"ae",\u01E3:"ae","\uA735":"ao","\uA737":"au","\uA739":"av","\uA73B":"av","\uA73D":"ay","\u24D1":"b",\uFF42:"b",\u1E03:"b",\u1E05:"b",\u1E07:"b",\u0180:"b",\u0183:"b",\u0253:"b","\u24D2":"c",\uFF43:"c",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u00E7:"c",\u1E09:"c",\u0188:"c","\u023C":"c","\uA73F":"c","\u2184":"c","\u24D3":"d",\uFF44:"d",\u1E0B:"d",\u010F:"d",\u1E0D:"d",\u1E11:"d",\u1E13:"d",\u1E0F:"d",\u0111:"d",\u018C:"d",\u0256:"d",\u0257:"d","\uA77A":"d",\u01F3:"dz",\u01C6:"dz","\u24D4":"e",\uFF45:"e",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u1EC1:"e",\u1EBF:"e",\u1EC5:"e",\u1EC3:"e",\u1EBD:"e",\u0113:"e",\u1E15:"e",\u1E17:"e",\u0115:"e",\u0117:"e",\u00EB:"e",\u1EBB:"e",\u011B:"e",\u0205:"e",\u0207:"e",\u1EB9:"e",\u1EC7:"e",\u0229:"e",\u1E1D:"e",\u0119:"e",\u1E19:"e",\u1E1B:"e","\u0247":"e",\u025B:"e",\u01DD:"e","\u24D5":"f",\uFF46:"f",\u1E1F:"f",\u0192:"f","\uA77C":"f","\u24D6":"g",\uFF47:"g",\u01F5:"g",\u011D:"g",\u1E21:"g",\u011F:"g",\u0121:"g",\u01E7:"g",\u0123:"g",\u01E5:"g",\u0260:"g","\uA7A1":"g","\u1D79":"g","\uA77F":"g","\u24D7":"h",\uFF48:"h",\u0125:"h",\u1E23:"h",\u1E27:"h",\u021F:"h",\u1E25:"h",\u1E29:"h",\u1E2B:"h",\u1E96:"h",\u0127:"h","\u2C68":"h","\u2C76":"h",\u0265:"h",\u0195:"hv","\u24D8":"i",\uFF49:"i",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u0129:"i",\u012B:"i",\u012D:"i",\u00EF:"i",\u1E2F:"i",\u1EC9:"i",\u01D0:"i",\u0209:"i",\u020B:"i",\u1ECB:"i",\u012F:"i",\u1E2D:"i",\u0268:"i",\u0131:"i","\u24D9":"j",\uFF4A:"j",\u0135:"j",\u01F0:"j","\u0249":"j","\u24DA":"k",\uFF4B:"k",\u1E31:"k",\u01E9:"k",\u1E33:"k",\u0137:"k",\u1E35:"k",\u0199:"k","\u2C6A":"k","\uA741":"k","\uA743":"k","\uA745":"k","\uA7A3":"k","\u24DB":"l",\uFF4C:"l",\u0140:"l",\u013A:"l",\u013E:"l",\u1E37:"l",\u1E39:"l",\u013C:"l",\u1E3D:"l",\u1E3B:"l",\u017F:"l",\u0142:"l",\u019A:"l",\u026B:"l","\u2C61":"l","\uA749":"l","\uA781":"l","\uA747":"l",\u01C9:"lj","\u24DC":"m",\uFF4D:"m",\u1E3F:"m",\u1E41:"m",\u1E43:"m",\u0271:"m",\u026F:"m","\u24DD":"n",\uFF4E:"n",\u01F9:"n",\u0144:"n",\u00F1:"n",\u1E45:"n",\u0148:"n",\u1E47:"n",\u0146:"n",\u1E4B:"n",\u1E49:"n",\u019E:"n",\u0272:"n",\u0149:"n","\uA791":"n","\uA7A5":"n",\u01CC:"nj","\u24DE":"o",\uFF4F:"o",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u1ED3:"o",\u1ED1:"o",\u1ED7:"o",\u1ED5:"o",\u00F5:"o",\u1E4D:"o",\u022D:"o",\u1E4F:"o",\u014D:"o",\u1E51:"o",\u1E53:"o",\u014F:"o",\u022F:"o",\u0231:"o",\u00F6:"o",\u022B:"o",\u1ECF:"o",\u0151:"o",\u01D2:"o",\u020D:"o",\u020F:"o",\u01A1:"o",\u1EDD:"o",\u1EDB:"o",\u1EE1:"o",\u1EDF:"o",\u1EE3:"o",\u1ECD:"o",\u1ED9:"o",\u01EB:"o",\u01ED:"o",\u00F8:"o",\u01FF:"o",\u0254:"o","\uA74B":"o","\uA74D":"o",\u0275:"o",\u01A3:"oi",\u0223:"ou","\uA74F":"oo","\u24DF":"p",\uFF50:"p",\u1E55:"p",\u1E57:"p",\u01A5:"p","\u1D7D":"p","\uA751":"p","\uA753":"p","\uA755":"p","\u24E0":"q",\uFF51:"q","\u024B":"q","\uA757":"q","\uA759":"q","\u24E1":"r",\uFF52:"r",\u0155:"r",\u1E59:"r",\u0159:"r",\u0211:"r",\u0213:"r",\u1E5B:"r",\u1E5D:"r",\u0157:"r",\u1E5F:"r","\u024D":"r",\u027D:"r","\uA75B":"r","\uA7A7":"r","\uA783":"r","\u24E2":"s",\uFF53:"s",\u00DF:"s",\u015B:"s",\u1E65:"s",\u015D:"s",\u1E61:"s",\u0161:"s",\u1E67:"s",\u1E63:"s",\u1E69:"s",\u0219:"s",\u015F:"s","\u023F":"s","\uA7A9":"s","\uA785":"s",\u1E9B:"s","\u24E3":"t",\uFF54:"t",\u1E6B:"t",\u1E97:"t",\u0165:"t",\u1E6D:"t",\u021B:"t",\u0163:"t",\u1E71:"t",\u1E6F:"t",\u0167:"t",\u01AD:"t",\u0288:"t","\u2C66":"t","\uA787":"t","\uA729":"tz","\u24E4":"u",\uFF55:"u",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u0169:"u",\u1E79:"u",\u016B:"u",\u1E7B:"u",\u016D:"u",\u00FC:"u",\u01DC:"u",\u01D8:"u",\u01D6:"u",\u01DA:"u",\u1EE7:"u",\u016F:"u",\u0171:"u",\u01D4:"u",\u0215:"u",\u0217:"u",\u01B0:"u",\u1EEB:"u",\u1EE9:"u",\u1EEF:"u",\u1EED:"u",\u1EF1:"u",\u1EE5:"u",\u1E73:"u",\u0173:"u",\u1E77:"u",\u1E75:"u",\u0289:"u","\u24E5":"v",\uFF56:"v",\u1E7D:"v",\u1E7F:"v",\u028B:"v","\uA75F":"v",\u028C:"v","\uA761":"vy","\u24E6":"w",\uFF57:"w",\u1E81:"w",\u1E83:"w",\u0175:"w",\u1E87:"w",\u1E85:"w",\u1E98:"w",\u1E89:"w","\u2C73":"w","\u24E7":"x",\uFF58:"x",\u1E8B:"x",\u1E8D:"x","\u24E8":"y",\uFF59:"y",\u1EF3:"y",\u00FD:"y",\u0177:"y",\u1EF9:"y",\u0233:"y",\u1E8F:"y",\u00FF:"y",\u1EF7:"y",\u1E99:"y",\u1EF5:"y",\u01B4:"y","\u024F":"y","\u1EFF":"y","\u24E9":"z",\uFF5A:"z",\u017A:"z",\u1E91:"z",\u017C:"z",\u017E:"z",\u1E93:"z",\u1E95:"z",\u01B6:"z",\u0225:"z","\u0240":"z","\u2C6C":"z","\uA763":"z",\u0386:"\u0391",\u0388:"\u0395",\u0389:"\u0397",\u038A:"\u0399",\u03AA:"\u0399",\u038C:"\u039F",\u038E:"\u03A5",\u03AB:"\u03A5",\u038F:"\u03A9",\u03AC:"\u03B1",\u03AD:"\u03B5",\u03AE:"\u03B7",\u03AF:"\u03B9",\u03CA:"\u03B9",\u0390:"\u03B9",\u03CC:"\u03BF",\u03CD:"\u03C5",\u03CB:"\u03C5",\u03B0:"\u03C5",\u03C9:"\u03C9",\u03C2:"\u03C3"};function te(n){let t=s=>Qt[s]||s;return n.replace(/[^\u0000-\u007E]/g,t)}var ue=class{constructor(t,s){this._ngSelect=t,this._selectionModel=s,this._items=[],this._filteredItems=[],this._markedIndex=-1}get items(){return this._items}get filteredItems(){return this._filteredItems}get markedIndex(){return this._markedIndex}get selectedItems(){return this._selectionModel.value}get markedItem(){return this._filteredItems[this._markedIndex]}get noItemsToSelect(){return this._ngSelect.hideSelected&&this._items.length===this.selectedItems.length}get maxItemsSelected(){return this._ngSelect.multiple&&this._ngSelect.maxSelectedItems<=this.selectedItems.length}get lastSelectedItem(){let t=this.selectedItems.length-1;for(;t>=0;t--){let s=this.selectedItems[t];if(!s.disabled)return s}return null}setItems(t){this._items=t.map((s,e)=>this.mapItem(s,e)),this._ngSelect.groupBy?(this._groups=this._groupBy(this._items,this._ngSelect.groupBy),this._items=this._flatten(this._groups)):(this._groups=new Map,this._groups.set(void 0,this._items)),this._filteredItems=[...this._items]}select(t){if(t.selected||this.maxItemsSelected)return;let s=this._ngSelect.multiple;s||this.clearSelected(),this._selectionModel.select(t,s,this._ngSelect.selectableGroupAsModel),this._ngSelect.hideSelected&&this._hideSelected(t)}unselect(t){t.selected&&(this._selectionModel.unselect(t,this._ngSelect.multiple),this._ngSelect.hideSelected&&m(t.index)&&this._ngSelect.multiple&&this._showSelected(t))}findItem(t){let s;return this._ngSelect.compareWith?s=e=>this._ngSelect.compareWith(e.value,t):this._ngSelect.bindValue?s=e=>!e.children&&this.resolveNested(e.value,this._ngSelect.bindValue)===t:s=e=>e.value===t||!e.children&&e.label&&e.label===this.resolveNested(t,this._ngSelect.bindLabel),this._items.find(e=>s(e))}addItem(t){let s=this.mapItem(t,this._items.length);return this._items.push(s),this._filteredItems.push(s),s}clearSelected(t=!1){this._selectionModel.clear(t),this._items.forEach(s=>{s.selected=t&&s.selected&&s.disabled,s.marked=!1}),this._ngSelect.hideSelected&&this.resetFilteredItems()}findByLabel(t){return t=te(t).toLocaleLowerCase(),this.filteredItems.find(s=>te(s.label).toLocaleLowerCase().substr(0,t.length)===t)}filter(t){if(!t){this.resetFilteredItems();return}this._filteredItems=[],t=this._ngSelect.searchFn?t:te(t).toLocaleLowerCase();let s=this._ngSelect.searchFn||this._defaultSearchFn,e=this._ngSelect.hideSelected;for(let i of Array.from(this._groups.keys())){let l=[];for(let r of this._groups.get(i)){if(e&&(r.parent&&r.parent.selected||r.selected))continue;let o=this._ngSelect.searchFn?r.value:r;s(t,o)&&l.push(r)}if(l.length>0){let[r]=l.slice(-1);if(r.parent){let o=this._items.find(a=>a===r.parent);this._filteredItems.push(o)}this._filteredItems.push(...l)}}}resetFilteredItems(){this._filteredItems.length!==this._items.length&&(this._ngSelect.hideSelected&&this.selectedItems.length>0?this._filteredItems=this._items.filter(t=>!t.selected):this._filteredItems=this._items)}unmarkItem(){this._markedIndex=-1}markNextItem(){this._stepToItem(1)}markPreviousItem(){this._stepToItem(-1)}markItem(t){this._markedIndex=this._filteredItems.indexOf(t)}markSelectedOrDefault(t){if(this._filteredItems.length===0)return;let s=this._getLastMarkedIndex();s>-1?this._markedIndex=s:this._markedIndex=t?this.filteredItems.findIndex(e=>!e.disabled):-1}resolveNested(t,s){if(!$(t))return t;if(s.indexOf(".")===-1)return t[s];{let e=s.split("."),i=t;for(let l=0,r=e.length;l<r;++l){if(i==null)return null;i=i[e[l]]}return i}}mapItem(t,s){let e=m(t.$ngOptionLabel)?t.$ngOptionLabel:this.resolveNested(t,this._ngSelect.bindLabel),i=m(t.$ngOptionValue)?t.$ngOptionValue:t;return{index:s,label:m(e)?e.toString():"",value:i,disabled:t.disabled,htmlId:`${this._ngSelect.dropdownId}-${s}`}}mapSelectedItems(){let t=this._ngSelect.multiple;for(let s of this.selectedItems){let e=this._ngSelect.bindValue?this.resolveNested(s.value,this._ngSelect.bindValue):s.value,i=m(e)?this.findItem(e):null;this._selectionModel.unselect(s,t),this._selectionModel.select(i||s,t,this._ngSelect.selectableGroupAsModel)}this._ngSelect.hideSelected&&(this._filteredItems=this.filteredItems.filter(s=>this.selectedItems.indexOf(s)===-1))}_showSelected(t){if(this._filteredItems.push(t),t.parent){let s=t.parent;this._filteredItems.find(i=>i===s)||this._filteredItems.push(s)}else if(t.children)for(let s of t.children)s.selected=!1,this._filteredItems.push(s);this._filteredItems=[...this._filteredItems.sort((s,e)=>s.index-e.index)]}_hideSelected(t){this._filteredItems=this._filteredItems.filter(s=>s!==t),t.parent?t.parent.children.every(e=>e.selected)&&(this._filteredItems=this._filteredItems.filter(e=>e!==t.parent)):t.children&&(this._filteredItems=this.filteredItems.filter(s=>s.parent!==t))}_defaultSearchFn(t,s){return te(s.label).toLocaleLowerCase().indexOf(t)>-1}_getNextItemIndex(t){return t>0?this._markedIndex>=this._filteredItems.length-1?0:this._markedIndex+1:this._markedIndex<=0?this._filteredItems.length-1:this._markedIndex-1}_stepToItem(t){this._filteredItems.length===0||this._filteredItems.every(s=>s.disabled)||(this._markedIndex=this._getNextItemIndex(t),this.markedItem.disabled&&this._stepToItem(t))}_getLastMarkedIndex(){if(this._ngSelect.hideSelected||this._markedIndex>-1&&this.markedItem===void 0)return-1;let t=this._filteredItems.indexOf(this.lastSelectedItem);return this.lastSelectedItem&&t<0?-1:Math.max(this.markedIndex,t)}_groupBy(t,s){let e=new Map;if(t.length===0)return e;if(Array.isArray(t[0].value[s])){for(let r of t){let o=(r.value[s]||[]).map((a,F)=>this.mapItem(a,F));e.set(r,o)}return e}let i=ie(this._ngSelect.groupBy),l=r=>{let o=i?s(r.value):r.value[s];return m(o)?o:void 0};for(let r of t){let o=l(r),a=e.get(o);a?a.push(r):e.set(o,[r])}return e}_flatten(t){let s=ie(this._ngSelect.groupBy),e=[];for(let i of Array.from(t.keys())){let l=e.length;if(i===void 0){let y=t.get(void 0)||[];e.push(...y.map(H=>(H.index=l++,H)));continue}let r=$(i),o={label:r?"":String(i),children:void 0,parent:null,index:l++,disabled:!this._ngSelect.selectableGroup,htmlId:Ue()},a=s?this._ngSelect.bindLabel:this._ngSelect.groupBy,F=this._ngSelect.groupValue||(()=>r?i.value:{[a]:i}),C=t.get(i).map(y=>(y.parent=o,y.children=void 0,y.index=l++,y));o.children=C,o.value=F(i,C.map(y=>y.value)),e.push(o),e.push(...C)}return e}},x=function(n){return n[n.Tab=9]="Tab",n[n.Enter=13]="Enter",n[n.Esc=27]="Esc",n[n.Space=32]="Space",n[n.ArrowUp=38]="ArrowUp",n[n.ArrowDown=40]="ArrowDown",n[n.Backspace=8]="Backspace",n}(x||{}),Qe=(()=>{let t=class t{constructor(){this._dimensions={itemHeight:0,panelHeight:0,itemsPerViewport:0}}get dimensions(){return this._dimensions}calculateItems(e,i,l){let r=this._dimensions,o=r.itemHeight*i,F=Math.max(0,e)/o*i,C=Math.min(i,Math.ceil(F)+(r.itemsPerViewport+1)),H=Math.max(0,C-r.itemsPerViewport),D=Math.min(H,Math.floor(F)),K=r.itemHeight*Math.ceil(D)-r.itemHeight*Math.min(D,l);return K=isNaN(K)?0:K,D=isNaN(D)?-1:D,C=isNaN(C)?-1:C,D-=l,D=Math.max(0,D),C+=l,C=Math.min(i,C),{topPadding:K,scrollHeight:o,start:D,end:C}}setDimensions(e,i){let l=Math.max(1,Math.floor(i/e));this._dimensions={itemHeight:e,panelHeight:i,itemsPerViewport:l}}getScrollTo(e,i,l){let{panelHeight:r}=this.dimensions,o=e+i,a=l,F=a+r;return r>=o&&l===e?null:o>F?a+o-F:e<=a?e:null}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=J({token:t,factory:t.\u0275fac});let n=t;return n})(),Ne=["top","right","bottom","left"],zt=typeof requestAnimationFrame<"u"?pe:he,Re=(()=>{let t=class t{constructor(e,i,l,r,o){this._renderer=e,this._zone=i,this._panelService=l,this._document=o,this.items=[],this.position="auto",this.virtualScroll=!1,this.filterValue=null,this.update=new w,this.scroll=new w,this.scrollToEnd=new w,this.outsideClick=new w,this._destroy$=new W,this._scrollToEndFired=!1,this._updateScrollHeight=!1,this._lastScrollPosition=0,this._dropdown=r.nativeElement}get currentPosition(){return this._currentPosition}get itemsLength(){return this._itemsLength}set itemsLength(e){e!==this._itemsLength&&(this._itemsLength=e,this._onItemsLengthChanged())}get _startOffset(){if(this.markedItem){let{itemHeight:e,panelHeight:i}=this._panelService.dimensions,l=this.markedItem.index*e;return i>l?0:l}return 0}ngOnInit(){this._select=this._dropdown.parentElement,this._virtualPadding=this.paddingElementRef.nativeElement,this._scrollablePanel=this.scrollElementRef.nativeElement,this._contentPanel=this.contentElementRef.nativeElement,this._handleScroll(),this._handleOutsideClick(),this._appendDropdown(),this._setupMousedownListener()}ngOnChanges(e){if(e.items){let i=e.items;this._onItemsChange(i.currentValue,i.firstChange)}}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete(),this._destroy$.unsubscribe(),this.appendTo&&this._renderer.removeChild(this._dropdown.parentNode,this._dropdown)}scrollTo(e,i=!1){if(!e)return;let l=this.items.indexOf(e);if(l<0||l>=this.itemsLength)return;let r;if(this.virtualScroll){let o=this._panelService.dimensions.itemHeight;r=this._panelService.getScrollTo(l*o,o,this._lastScrollPosition)}else{let o=this._dropdown.querySelector(`#${e.htmlId}`),a=i?o.offsetTop:this._lastScrollPosition;r=this._panelService.getScrollTo(o.offsetTop,o.clientHeight,a)}m(r)&&(this._scrollablePanel.scrollTop=r)}scrollToTag(){let e=this._scrollablePanel;e.scrollTop=e.scrollHeight-e.clientHeight}adjustPosition(){this._updateYPosition()}_handleDropdownPosition(){this._currentPosition=this._calculateCurrentPosition(this._dropdown),Ne.includes(this._currentPosition)?this._updateDropdownClass(this._currentPosition):this._updateDropdownClass("bottom"),this.appendTo&&this._updateYPosition(),this._dropdown.style.opacity="1"}_updateDropdownClass(e){Ne.forEach(l=>{let r=`ng-select-${l}`;this._renderer.removeClass(this._dropdown,r),this._renderer.removeClass(this._select,r)});let i=`ng-select-${e}`;this._renderer.addClass(this._dropdown,i),this._renderer.addClass(this._select,i)}_handleScroll(){this._zone.runOutsideAngular(()=>{q(this.scrollElementRef.nativeElement,"scroll").pipe(P(this._destroy$),fe(0,zt)).subscribe(e=>{let i=e.path||e.composedPath&&e.composedPath();if(!i||i.length===0&&!e.target)return;let l=!i||i.length===0?e.target.scrollTop:i[0].scrollTop;this._onContentScrolled(l)})})}_handleOutsideClick(){this._document&&this._zone.runOutsideAngular(()=>{Z(q(this._document,"touchstart",{capture:!0}),q(this._document,"mousedown",{capture:!0})).pipe(P(this._destroy$)).subscribe(e=>this._checkToClose(e))})}_checkToClose(e){if(this._select.contains(e.target)||this._dropdown.contains(e.target))return;let i=e.path||e.composedPath&&e.composedPath();e.target&&e.target.shadowRoot&&i&&i[0]&&this._select.contains(i[0])||this._zone.run(()=>this.outsideClick.emit())}_onItemsChange(e,i){this.items=e||[],this._scrollToEndFired=!1,this.itemsLength=e.length,this.virtualScroll?this._updateItemsRange(i):(this._setVirtualHeight(),this._updateItems(i))}_updateItems(e){this.update.emit(this.items),e!==!1&&this._zone.runOutsideAngular(()=>{Promise.resolve().then(()=>{let i=this._scrollablePanel.clientHeight;this._panelService.setDimensions(0,i),this._handleDropdownPosition(),this.scrollTo(this.markedItem,e)})})}_updateItemsRange(e){this._zone.runOutsideAngular(()=>{this._measureDimensions().then(()=>{e?(this._renderItemsRange(this._startOffset),this._handleDropdownPosition()):this._renderItemsRange()})})}_onContentScrolled(e){this.virtualScroll&&this._renderItemsRange(e),this._lastScrollPosition=e,this._fireScrollToEnd(e)}_updateVirtualHeight(e){this._updateScrollHeight&&(this._virtualPadding.style.height=`${e}px`,this._updateScrollHeight=!1)}_setVirtualHeight(){this._virtualPadding&&(this._virtualPadding.style.height="0px")}_onItemsLengthChanged(){this._updateScrollHeight=!0}_renderItemsRange(e=null){if(e&&this._lastScrollPosition===e)return;e=e||this._scrollablePanel.scrollTop;let i=this._panelService.calculateItems(e,this.itemsLength,this.bufferAmount);this._updateVirtualHeight(i.scrollHeight),this._contentPanel.style.transform=`translateY(${i.topPadding}px)`,this._zone.run(()=>{this.update.emit(this.items.slice(i.start,i.end)),this.scroll.emit({start:i.start,end:i.end})}),m(e)&&this._lastScrollPosition===0&&(this._scrollablePanel.scrollTop=e,this._lastScrollPosition=e)}_measureDimensions(){if(this._panelService.dimensions.itemHeight>0||this.itemsLength===0)return Promise.resolve(this._panelService.dimensions);let[e]=this.items;return this.update.emit([e]),Promise.resolve().then(()=>{let l=this._dropdown.querySelector(`#${e.htmlId}`).clientHeight;this._virtualPadding.style.height=`${l*this.itemsLength}px`;let r=this._scrollablePanel.clientHeight;return this._panelService.setDimensions(l,r),this._panelService.dimensions})}_fireScrollToEnd(e){if(this._scrollToEndFired||e===0)return;let i=this.virtualScroll?this._virtualPadding:this._contentPanel;e+this._dropdown.clientHeight>=i.clientHeight-1&&(this._zone.run(()=>this.scrollToEnd.emit()),this._scrollToEndFired=!0)}_calculateCurrentPosition(e){if(this.position!=="auto")return this.position;let i=this._select.getBoundingClientRect(),l=document.documentElement.scrollTop||document.body.scrollTop,r=i.top+window.pageYOffset,o=i.height,a=e.getBoundingClientRect().height;return r+o+a>l+document.documentElement.clientHeight?"top":"bottom"}_appendDropdown(){if(this.appendTo){if(this._parent=document.querySelector(this.appendTo),!this._parent)throw new Error(`appendTo selector ${this.appendTo} did not found any parent element`);this._updateXPosition(),this._parent.appendChild(this._dropdown)}}_updateXPosition(){let e=this._select.getBoundingClientRect(),i=this._parent.getBoundingClientRect(),l=e.left-i.left;this._dropdown.style.left=l+"px",this._dropdown.style.width=e.width+"px",this._dropdown.style.minWidth=e.width+"px"}_updateYPosition(){let e=this._select.getBoundingClientRect(),i=this._parent.getBoundingClientRect(),l=e.height;if(this._currentPosition==="top"){let r=i.bottom-e.bottom;this._dropdown.style.bottom=r+l+"px",this._dropdown.style.top="auto"}else if(this._currentPosition==="bottom"){let r=e.top-i.top;this._dropdown.style.top=r+l+"px",this._dropdown.style.bottom="auto"}}_setupMousedownListener(){this._zone.runOutsideAngular(()=>{q(this._dropdown,"mousedown").pipe(P(this._destroy$)).subscribe(e=>{e.target.tagName!=="INPUT"&&e.preventDefault()})})}};t.\u0275fac=function(i){return new(i||t)(h(ye),h(Ie),h(Qe),h(O),h(Le,8))},t.\u0275cmp=X({type:t,selectors:[["ng-dropdown-panel"]],viewQuery:function(i,l){if(i&1&&(R(We,7,O),R(qe,7,O),R(Ge,7,O)),i&2){let r;f(r=_())&&(l.contentElementRef=r.first),f(r=_())&&(l.scrollElementRef=r.first),f(r=_())&&(l.paddingElementRef=r.first)}},inputs:{items:"items",markedItem:"markedItem",position:"position",appendTo:"appendTo",bufferAmount:"bufferAmount",virtualScroll:"virtualScroll",headerTemplate:"headerTemplate",footerTemplate:"footerTemplate",filterValue:"filterValue"},outputs:{update:"update",scroll:"scroll",scrollToEnd:"scrollToEnd",outsideClick:"outsideClick"},features:[G],ngContentSelectors:He,decls:9,vars:6,consts:[["scroll",""],["padding",""],["content",""],["class","ng-dropdown-header",4,"ngIf"],["role","listbox",1,"ng-dropdown-panel-items","scroll-host"],["class","ng-dropdown-footer",4,"ngIf"],[1,"ng-dropdown-header"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ng-dropdown-footer"]],template:function(i,l){i&1&&(le(),b(0,$e,2,4,"div",3),g(1,"div",4,0),j(3,"div",null,1),g(5,"div",null,2),re(7),E()(),b(8,Ye,2,4,"div",5)),i&2&&(d("ngIf",l.headerTemplate),u(3),k("total-padding",l.virtualScroll),u(2),k("scrollable-content",l.virtualScroll&&l.items.length),u(3),d("ngIf",l.footerTemplate))},dependencies:[oe,ae],encapsulation:2,changeDetection:0});let n=t;return n})(),Wt=(()=>{let t=class t{get disabled(){return this._disabled}set disabled(e){this._disabled=this._isDisabled(e)}constructor(e){this.elementRef=e,this.stateChange$=new W,this._disabled=!1}get label(){return(this.elementRef.nativeElement.textContent||"").trim()}ngOnChanges(e){e.disabled&&this.stateChange$.next({value:this.value,disabled:this._disabled})}ngAfterViewChecked(){this.label!==this._previousLabel&&(this._previousLabel=this.label,this.stateChange$.next({value:this.value,disabled:this._disabled,label:this.elementRef.nativeElement.innerHTML}))}ngOnDestroy(){this.stateChange$.complete()}_isDisabled(e){return e!=null&&`${e}`!="false"}};t.\u0275fac=function(i){return new(i||t)(h(O))},t.\u0275cmp=X({type:t,selectors:[["ng-option"]],inputs:{value:"value",disabled:"disabled"},features:[G],ngContentSelectors:He,decls:1,vars:0,template:function(i,l){i&1&&(le(),re(0))},encapsulation:2,changeDetection:0});let n=t;return n})(),qt=(()=>{let t=class t{constructor(){this.notFoundText="No items found",this.typeToSearchText="Type to search",this.addTagText="Add item",this.loadingText="Loading...",this.clearAllText="Clear all",this.disableVirtualScroll=!0,this.openOnEnter=!0,this.appearance="underline"}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),Gt=(()=>{let t=class t{warn(e){console.warn(e)}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),ze=new be("ng-select-selection-model"),Ei=(()=>{let t=class t{get items(){return this._items}set items(e){e===null&&(e=[]),this._itemsAreUsed=!0,this._items=e}get compareWith(){return this._compareWith}set compareWith(e){if(e!=null&&!ie(e))throw Error("`compareWith` must be a function.");this._compareWith=e}get clearSearchOnAdd(){return m(this._clearSearchOnAdd)?this._clearSearchOnAdd:m(this.config.clearSearchOnAdd)?this.config.clearSearchOnAdd:this.closeOnSelect}set clearSearchOnAdd(e){this._clearSearchOnAdd=e}get deselectOnClick(){return m(this._deselectOnClick)?this._deselectOnClick:m(this.config.deselectOnClick)?this.config.deselectOnClick:this.multiple}set deselectOnClick(e){this._deselectOnClick=e}get disabled(){return this.readonly||this._disabled}get filtered(){return!!this.searchTerm&&this.searchable||this._isComposing}get single(){return!this.multiple}get _editableSearchTerm(){return this.editableSearchTerm&&!this.multiple}constructor(e,i,l,r,o,a,F){this.classes=e,this.autoFocus=i,this.config=l,this._cd=a,this._console=F,this.markFirst=!0,this.dropdownPosition="auto",this.loading=!1,this.closeOnSelect=!0,this.hideSelected=!1,this.selectOnTab=!1,this.bufferAmount=4,this.selectableGroup=!1,this.selectableGroupAsModel=!0,this.searchFn=null,this.trackByFn=null,this.clearOnBackspace=!0,this.labelForId=null,this.inputAttrs={},this.readonly=!1,this.searchWhileComposing=!0,this.minTermLength=0,this.editableSearchTerm=!1,this.keyDownFn=C=>!0,this.multiple=!1,this.addTag=!1,this.searchable=!0,this.clearable=!0,this.isOpen=!1,this.blurEvent=new w,this.focusEvent=new w,this.changeEvent=new w,this.openEvent=new w,this.closeEvent=new w,this.searchEvent=new w,this.clearEvent=new w,this.addEvent=new w,this.removeEvent=new w,this.scroll=new w,this.scrollToEnd=new w,this.useDefaultClass=!0,this.viewPortItems=[],this.searchTerm=null,this.dropdownId=Ue(),this.escapeHTML=!0,this._items=[],this._defaultLabel="label",this._pressedKeys=[],this._isComposing=!1,this._destroy$=new W,this._keyPress$=new W,this._onChange=C=>{},this._onTouched=()=>{},this.clearItem=C=>{let y=this.selectedItems.find(H=>H.value===C);this.unselect(y)},this.trackByOption=(C,y)=>this.trackByFn?this.trackByFn(y.value):y,this._mergeGlobalConfig(l),this.itemsList=new ue(this,r()),this.element=o.nativeElement}get selectedItems(){return this.itemsList.selectedItems}get selectedValues(){return this.selectedItems.map(e=>e.value)}get hasValue(){return this.selectedItems.length>0}get currentPanelPosition(){if(this.dropdownPanel)return this.dropdownPanel.currentPosition}ngOnInit(){this._handleKeyPresses(),this._setInputAttributes()}ngOnChanges(e){e.multiple&&this.itemsList.clearSelected(),e.items&&this._setItems(e.items.currentValue||[]),e.isOpen&&(this._manualOpen=m(e.isOpen.currentValue))}ngAfterViewInit(){this._itemsAreUsed||(this.escapeHTML=!1,this._setItemsFromNgOptions()),m(this.autoFocus)&&this.focus()}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete()}handleKeyDown(e){if(x[e.which]){if(this.keyDownFn(e)===!1)return;this.handleKeyCode(e)}else e.key&&e.key.length===1&&this._keyPress$.next(e.key.toLocaleLowerCase())}handleKeyCode(e){let i=e.target;this.clearButton&&this.clearButton.nativeElement===i?this.handleKeyCodeClear(e):this.handleKeyCodeInput(e)}handleKeyCodeInput(e){switch(e.which){case x.ArrowDown:this._handleArrowDown(e);break;case x.ArrowUp:this._handleArrowUp(e);break;case x.Space:this._handleSpace(e);break;case x.Enter:this._handleEnter(e);break;case x.Tab:this._handleTab(e);break;case x.Esc:this.close(),e.preventDefault();break;case x.Backspace:this._handleBackspace();break}}handleKeyCodeClear(e){switch(e.which){case x.Enter:this.handleClearClick(),e.preventDefault();break}}handleMousedown(e){let i=e.target;if(i.tagName!=="INPUT"&&e.preventDefault(),i.classList.contains("ng-clear-wrapper")){this.handleClearClick();return}if(i.classList.contains("ng-arrow-wrapper")){this.handleArrowClick();return}i.classList.contains("ng-value-icon")||(this.focused||this.focus(),this.searchable?this.open():this.toggle())}handleArrowClick(){this.isOpen?this.close():this.open()}handleClearClick(){this.hasValue&&(this.itemsList.clearSelected(!0),this._updateNgModel()),this._clearSearch(),this.focus(),this.clearEvent.emit(),this._onSelectionChanged()}clearModel(){this.clearable&&(this.itemsList.clearSelected(),this._updateNgModel())}writeValue(e){this.itemsList.clearSelected(),this._handleWriteValue(e),this._cd.markForCheck()}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._disabled=e,this._cd.markForCheck()}toggle(){this.isOpen?this.close():this.open()}open(){this.disabled||this.isOpen||this._manualOpen||!this._isTypeahead&&!this.addTag&&this.itemsList.noItemsToSelect||(this.isOpen=!0,this.itemsList.markSelectedOrDefault(this.markFirst),this.openEvent.emit(),this.searchTerm||this.focus(),this.detectChanges())}close(){!this.isOpen||this._manualOpen||(this.isOpen=!1,this._isComposing=!1,this._editableSearchTerm?this.itemsList.resetFilteredItems():this._clearSearch(),this.itemsList.unmarkItem(),this._onTouched(),this.closeEvent.emit(),this._cd.markForCheck())}toggleItem(e){!e||e.disabled||this.disabled||(this.deselectOnClick&&e.selected?this.unselect(e):this.select(e),this._editableSearchTerm&&this._setSearchTermFromItems(),this._onSelectionChanged())}select(e){e.selected||(this.itemsList.select(e),this.clearSearchOnAdd&&!this._editableSearchTerm&&this._clearSearch(),this._updateNgModel(),this.multiple&&this.addEvent.emit(e.value)),(this.closeOnSelect||this.itemsList.noItemsToSelect)&&this.close()}focus(){this.searchInput.nativeElement.focus()}blur(){this.searchInput.nativeElement.blur()}unselect(e){e&&(this.itemsList.unselect(e),this.focus(),this._updateNgModel(),this.removeEvent.emit(e.value))}selectTag(){let e;ie(this.addTag)?e=this.addTag(this.searchTerm):e=this._primitive?this.searchTerm:{[this.bindLabel]:this.searchTerm};let i=l=>this._isTypeahead||!this.isOpen?this.itemsList.mapItem(l,null):this.itemsList.addItem(l);Dt(e)?e.then(l=>this.select(i(l))).catch(()=>{}):e&&this.select(i(e))}showClear(){return this.clearable&&(this.hasValue||this.searchTerm)&&!this.disabled}focusOnClear(){this.blur(),this.clearButton&&this.clearButton.nativeElement.focus()}get showAddTag(){if(!this._validTerm)return!1;let e=this.searchTerm.toLowerCase().trim();return this.addTag&&!this.itemsList.filteredItems.some(i=>i.label.toLowerCase()===e)&&(!this.hideSelected&&this.isOpen||!this.selectedItems.some(i=>i.label.toLowerCase()===e))&&!this.loading}showNoItemsFound(){let e=this.itemsList.filteredItems.length===0;return(e&&!this._isTypeahead&&!this.loading||e&&this._isTypeahead&&this._validTerm&&!this.loading)&&!this.showAddTag}showTypeToSearch(){return this.itemsList.filteredItems.length===0&&this._isTypeahead&&!this._validTerm&&!this.loading}onCompositionStart(){this._isComposing=!0}onCompositionEnd(e){this._isComposing=!1,!this.searchWhileComposing&&this.filter(e)}filter(e){this._isComposing&&!this.searchWhileComposing||(this.searchTerm=e,this._isTypeahead&&(this._validTerm||this.minTermLength===0)&&this.typeahead.next(e),this._isTypeahead||(this.itemsList.filter(this.searchTerm),this.isOpen&&this.itemsList.markSelectedOrDefault(this.markFirst)),this.searchEvent.emit({term:e,items:this.itemsList.filteredItems.map(i=>i.value)}),this.open())}onInputFocus(e){this.focused||(this._editableSearchTerm&&this._setSearchTermFromItems(),this.element.classList.add("ng-select-focused"),this.focusEvent.emit(e),this.focused=!0)}onInputBlur(e){this.element.classList.remove("ng-select-focused"),this.blurEvent.emit(e),!this.isOpen&&!this.disabled&&this._onTouched(),this._editableSearchTerm&&this._setSearchTermFromItems(),this.focused=!1}onItemHover(e){e.disabled||this.itemsList.markItem(e)}detectChanges(){this._cd.destroyed||this._cd.detectChanges()}_setSearchTermFromItems(){let e=this.selectedItems&&this.selectedItems[0];this.searchTerm=e&&e.label||null}_setItems(e){let i=e[0];this.bindLabel=this.bindLabel||this._defaultLabel,this._primitive=m(i)?!$(i):this._primitive||this.bindLabel===this._defaultLabel,this.itemsList.setItems(e),e.length>0&&this.hasValue&&this.itemsList.mapSelectedItems(),this.isOpen&&m(this.searchTerm)&&!this._isTypeahead&&this.itemsList.filter(this.searchTerm),(this._isTypeahead||this.isOpen)&&this.itemsList.markSelectedOrDefault(this.markFirst)}_setItemsFromNgOptions(){let e=l=>{this.items=l.map(r=>({$ngOptionValue:r.value,$ngOptionLabel:r.elementRef.nativeElement.innerHTML,disabled:r.disabled})),this.itemsList.setItems(this.items),this.hasValue&&this.itemsList.mapSelectedItems(),this.detectChanges()},i=()=>{let l=Z(this.ngOptions.changes,this._destroy$);Z(...this.ngOptions.map(r=>r.stateChange$)).pipe(P(l)).subscribe(r=>{let o=this.itemsList.findItem(r.value);o.disabled=r.disabled,o.label=r.label||o.label,this._cd.detectChanges()})};this.ngOptions.changes.pipe(Ee(this.ngOptions),P(this._destroy$)).subscribe(l=>{this.bindLabel=this._defaultLabel,e(l),i()})}_isValidWriteValue(e){if(!m(e)||this.multiple&&e===""||Array.isArray(e)&&e.length===0)return!1;let i=l=>!m(this.compareWith)&&$(l)&&this.bindValue?(this._console.warn(`Setting object(${JSON.stringify(l)}) as your model with bindValue is not allowed unless [compareWith] is used.`),!1):!0;return this.multiple?Array.isArray(e)?e.every(l=>i(l)):(this._console.warn("Multiple select ngModel should be array."),!1):i(e)}_handleWriteValue(e){if(!this._isValidWriteValue(e))return;let i=l=>{let r=this.itemsList.findItem(l);if(r)this.itemsList.select(r);else{let o=$(l),a=!o&&!this.bindValue;o||a?this.itemsList.select(this.itemsList.mapItem(l,null)):this.bindValue&&(r={[this.bindLabel]:null,[this.bindValue]:l},this.itemsList.select(this.itemsList.mapItem(r,null)))}};this.multiple?e.forEach(l=>i(l)):i(e)}_handleKeyPresses(){this.searchable||this._keyPress$.pipe(P(this._destroy$),Ce(e=>this._pressedKeys.push(e)),_e(200),ge(()=>this._pressedKeys.length>0),me(()=>this._pressedKeys.join(""))).subscribe(e=>{let i=this.itemsList.findByLabel(e);i&&(this.isOpen?(this.itemsList.markItem(i),this._scrollToMarked(),this._cd.markForCheck()):this.select(i)),this._pressedKeys=[]})}_setInputAttributes(){let e=this.searchInput.nativeElement,i=de({type:"text",autocorrect:"off",autocapitalize:"off",autocomplete:this.labelForId?"off":this.dropdownId},this.inputAttrs);for(let l of Object.keys(i))e.setAttribute(l,i[l])}_updateNgModel(){let e=[];for(let l of this.selectedItems)if(this.bindValue){let r=null;if(l.children){let o=this.groupValue?this.bindValue:this.groupBy;r=l.value[o||this.groupBy]}else r=this.itemsList.resolveNested(l.value,this.bindValue);e.push(r)}else e.push(l.value);let i=this.selectedItems.map(l=>l.value);this.multiple?(this._onChange(e),this.changeEvent.emit(i)):(this._onChange(m(e[0])?e[0]:null),this.changeEvent.emit(i[0])),this._cd.markForCheck()}_clearSearch(){this.searchTerm&&(this._changeSearch(null),this.itemsList.resetFilteredItems())}_changeSearch(e){this.searchTerm=e,this._isTypeahead&&this.typeahead.next(e)}_scrollToMarked(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollTo(this.itemsList.markedItem)}_scrollToTag(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollToTag()}_onSelectionChanged(){this.isOpen&&this.deselectOnClick&&this.appendTo&&(this._cd.detectChanges(),this.dropdownPanel.adjustPosition())}_handleTab(e){if(this.isOpen===!1){if(this.showClear())this.focusOnClear(),e.preventDefault();else if(!this.addTag)return}this.selectOnTab?this.itemsList.markedItem?(this.toggleItem(this.itemsList.markedItem),e.preventDefault()):this.showAddTag?(this.selectTag(),e.preventDefault()):this.close():this.close()}_handleEnter(e){if(this.isOpen||this._manualOpen)this.itemsList.markedItem?this.toggleItem(this.itemsList.markedItem):this.showAddTag&&this.selectTag();else if(this.openOnEnter)this.open();else return;e.preventDefault()}_handleSpace(e){this.isOpen||this._manualOpen||(this.open(),e.preventDefault())}_handleArrowDown(e){this._nextItemIsTag(1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markNextItem(),this._scrollToMarked()),this.open(),e.preventDefault()}_handleArrowUp(e){this.isOpen&&(this._nextItemIsTag(-1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markPreviousItem(),this._scrollToMarked()),e.preventDefault())}_nextItemIsTag(e){let i=this.itemsList.markedIndex+e;return this.addTag&&this.searchTerm&&this.itemsList.markedItem&&(i<0||i===this.itemsList.filteredItems.length)}_handleBackspace(){this.searchTerm||!this.clearable||!this.clearOnBackspace||!this.hasValue||(this.multiple?this.unselect(this.itemsList.lastSelectedItem):this.clearModel())}get _isTypeahead(){return this.typeahead&&this.typeahead.observers.length>0}get _validTerm(){let e=this.searchTerm&&this.searchTerm.trim();return e&&e.length>=this.minTermLength}_mergeGlobalConfig(e){this.placeholder=this.placeholder||e.placeholder,this.notFoundText=this.notFoundText||e.notFoundText,this.typeToSearchText=this.typeToSearchText||e.typeToSearchText,this.addTagText=this.addTagText||e.addTagText,this.loadingText=this.loadingText||e.loadingText,this.clearAllText=this.clearAllText||e.clearAllText,this.virtualScroll=m(this.virtualScroll)?this.virtualScroll:m(e.disableVirtualScroll)?!e.disableVirtualScroll:!1,this.openOnEnter=m(this.openOnEnter)?this.openOnEnter:e.openOnEnter,this.appendTo=this.appendTo||e.appendTo,this.bindValue=this.bindValue||e.bindValue,this.bindLabel=this.bindLabel||e.bindLabel,this.appearance=this.appearance||e.appearance}};t.\u0275fac=function(i){return new(i||t)(ne("class"),ne("autofocus"),h(qt),h(ze),h(O),h(ke),h(Gt))},t.\u0275cmp=X({type:t,selectors:[["ng-select"]],contentQueries:function(i,l,r){if(i&1&&(S(r,kt,5,p),S(r,Lt,5,p),S(r,Bt,5,p),S(r,Vt,5,p),S(r,Pt,5,p),S(r,Mt,5,p),S(r,Nt,5,p),S(r,Rt,5,p),S(r,Ht,5,p),S(r,jt,5,p),S(r,Ut,5,p),S(r,Wt,5)),i&2){let o;f(o=_())&&(l.optionTemplate=o.first),f(o=_())&&(l.optgroupTemplate=o.first),f(o=_())&&(l.labelTemplate=o.first),f(o=_())&&(l.multiLabelTemplate=o.first),f(o=_())&&(l.headerTemplate=o.first),f(o=_())&&(l.footerTemplate=o.first),f(o=_())&&(l.notFoundTemplate=o.first),f(o=_())&&(l.typeToSearchTemplate=o.first),f(o=_())&&(l.loadingTextTemplate=o.first),f(o=_())&&(l.tagTemplate=o.first),f(o=_())&&(l.loadingSpinnerTemplate=o.first),f(o=_())&&(l.ngOptions=o)}},viewQuery:function(i,l){if(i&1&&(R(Re,5),R(Ke,7),R(Ze,5)),i&2){let r;f(r=_())&&(l.dropdownPanel=r.first),f(r=_())&&(l.searchInput=r.first),f(r=_())&&(l.clearButton=r.first)}},hostVars:20,hostBindings:function(i,l){i&1&&B("keydown",function(o){return l.handleKeyDown(o)}),i&2&&k("ng-select-typeahead",l.typeahead)("ng-select-multiple",l.multiple)("ng-select-taggable",l.addTag)("ng-select-searchable",l.searchable)("ng-select-clearable",l.clearable)("ng-select-opened",l.isOpen)("ng-select",l.useDefaultClass)("ng-select-disabled",l.disabled)("ng-select-filtered",l.filtered)("ng-select-single",l.single)},inputs:{bindLabel:"bindLabel",bindValue:"bindValue",markFirst:"markFirst",placeholder:"placeholder",notFoundText:"notFoundText",typeToSearchText:"typeToSearchText",addTagText:"addTagText",loadingText:"loadingText",clearAllText:"clearAllText",appearance:"appearance",dropdownPosition:"dropdownPosition",appendTo:"appendTo",loading:"loading",closeOnSelect:"closeOnSelect",hideSelected:"hideSelected",selectOnTab:"selectOnTab",openOnEnter:"openOnEnter",maxSelectedItems:"maxSelectedItems",groupBy:"groupBy",groupValue:"groupValue",bufferAmount:"bufferAmount",virtualScroll:"virtualScroll",selectableGroup:"selectableGroup",selectableGroupAsModel:"selectableGroupAsModel",searchFn:"searchFn",trackByFn:"trackByFn",clearOnBackspace:"clearOnBackspace",labelForId:"labelForId",inputAttrs:"inputAttrs",tabIndex:"tabIndex",readonly:"readonly",searchWhileComposing:"searchWhileComposing",minTermLength:"minTermLength",editableSearchTerm:"editableSearchTerm",keyDownFn:"keyDownFn",typeahead:"typeahead",multiple:"multiple",addTag:"addTag",searchable:"searchable",clearable:"clearable",isOpen:"isOpen",items:"items",compareWith:"compareWith",clearSearchOnAdd:"clearSearchOnAdd",deselectOnClick:"deselectOnClick"},outputs:{blurEvent:"blur",focusEvent:"focus",changeEvent:"change",openEvent:"open",closeEvent:"close",searchEvent:"search",clearEvent:"clear",addEvent:"add",removeEvent:"remove",scroll:"scroll",scrollToEnd:"scrollToEnd"},features:[Ae([{provide:Me,useExisting:ve(()=>t),multi:!0},Qe]),G],decls:14,vars:19,consts:[["searchInput",""],["defaultLabelTemplate",""],["defaultLoadingSpinnerTemplate",""],["clearButton",""],["defaultOptionTemplate",""],["defaultTagTemplate",""],["defaultNotFoundTemplate",""],["defaultTypeToSearchTemplate",""],["defaultLoadingTextTemplate",""],[1,"ng-select-container",3,"mousedown"],[1,"ng-value-container"],[1,"ng-placeholder"],[4,"ngIf"],["role","combobox","aria-haspopup","listbox",1,"ng-input"],["aria-autocomplete","list",3,"input","compositionstart","compositionend","focus","blur","change","readOnly","disabled","value"],["class","ng-clear-wrapper","tabindex","0",3,"title",4,"ngIf"],[1,"ng-arrow-wrapper"],[1,"ng-arrow"],["class","ng-dropdown-panel","role","listbox","aria-label","Options list",3,"virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ng-select-multiple","ngClass","id","update","scroll","scrollToEnd","outsideClick",4,"ngIf"],["class","ng-value",3,"ng-value-disabled",4,"ngFor","ngForOf","ngForTrackBy"],[1,"ng-value"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["aria-hidden","true",1,"ng-value-icon","left",3,"click"],[1,"ng-value-label",3,"ngItemLabel","escape"],[3,"ngTemplateOutlet"],[1,"ng-spinner-loader"],["tabindex","0",1,"ng-clear-wrapper",3,"title"],["aria-hidden","true",1,"ng-clear"],["role","listbox","aria-label","Options list",1,"ng-dropdown-panel",3,"update","scroll","scrollToEnd","outsideClick","virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ngClass","id"],["class","ng-option",3,"ng-option-disabled","ng-option-selected","ng-optgroup","ng-option","ng-option-child","ng-option-marked","click","mouseover",4,"ngFor","ngForOf","ngForTrackBy"],["class","ng-option","role","option",3,"ng-option-marked","mouseover","click",4,"ngIf"],[1,"ng-option",3,"click","mouseover"],[1,"ng-option-label",3,"ngItemLabel","escape"],["role","option",1,"ng-option",3,"mouseover","click"],[1,"ng-tag-label"],[1,"ng-option","ng-option-disabled"]],template:function(i,l){if(i&1){let r=U();g(0,"div",9),B("mousedown",function(a){return v(r),T(l.handleMousedown(a))}),g(1,"div",10)(2,"div",11),L(3),E(),b(4,st,2,2,"ng-container",12)(5,rt,1,5,null,12),g(6,"div",13)(7,"input",14,0),B("input",function(){v(r);let a=A(8);return T(l.filter(a.value))})("compositionstart",function(){return v(r),T(l.onCompositionStart())})("compositionend",function(){v(r);let a=A(8);return T(l.onCompositionEnd(a.value))})("focus",function(a){return v(r),T(l.onInputFocus(a))})("blur",function(a){return v(r),T(l.onInputBlur(a))})("change",function(a){return v(r),T(a.stopPropagation())}),E()()(),b(9,ut,4,1,"ng-container",12)(10,ct,4,1,"span",15),g(11,"span",16),j(12,"span",17),E()(),b(13,St,7,19,"ng-dropdown-panel",18)}i&2&&(k("ng-appearance-outline",l.appearance==="outline")("ng-has-value",l.hasValue),u(3),Q(l.placeholder),u(),d("ngIf",(!l.multiLabelTemplate||!l.multiple)&&l.selectedItems.length>0),u(),d("ngIf",l.multiple&&l.multiLabelTemplate&&l.selectedValues.length>0),u(),ee("aria-expanded",l.isOpen)("aria-owns",l.isOpen?l.dropdownId:null),u(),d("readOnly",!l.searchable||l.itemsList.maxItemsSelected)("disabled",l.disabled)("value",l.searchTerm?l.searchTerm:""),ee("id",l.labelForId)("tabindex",l.tabIndex)("aria-activedescendant",l.isOpen?l.itemsList==null||l.itemsList.markedItem==null?null:l.itemsList.markedItem.htmlId:null)("aria-controls",l.isOpen?l.dropdownId:null),u(2),d("ngIf",l.loading),u(),d("ngIf",l.showClear()),u(3),d("ngIf",l.isOpen))},dependencies:[Be,Ve,oe,ae,Re,Ot],styles:[`@charset "UTF-8";.ng-select{position:relative;display:block;box-sizing:border-box}.ng-select div,.ng-select input,.ng-select span{box-sizing:border-box}.ng-select [hidden]{display:none}.ng-select.ng-select-searchable .ng-select-container .ng-value-container .ng-input{opacity:1}.ng-select.ng-select-opened .ng-select-container{z-index:1001}.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-placeholder,.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-value{-webkit-user-select:none;user-select:none;cursor:default}.ng-select.ng-select-disabled .ng-arrow-wrapper{cursor:default}.ng-select.ng-select-filtered .ng-placeholder{display:none}.ng-select .ng-select-container{cursor:default;display:flex;outline:none;overflow:hidden;position:relative;width:100%}.ng-select .ng-select-container .ng-value-container{display:flex;flex:1}.ng-select .ng-select-container .ng-value-container .ng-input{opacity:0}.ng-select .ng-select-container .ng-value-container .ng-input>input{box-sizing:content-box;background:none transparent;border:0 none;box-shadow:none;outline:none;padding:0;cursor:default;width:100%}.ng-select .ng-select-container .ng-value-container .ng-input>input::-ms-clear{display:none}.ng-select .ng-select-container .ng-value-container .ng-input>input[readonly]{-webkit-user-select:none;user-select:none;width:0;padding:0}.ng-select.ng-select-single.ng-select-filtered .ng-select-container .ng-value-container .ng-value{visibility:hidden}.ng-select.ng-select-single .ng-select-container .ng-value-container,.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{position:absolute;left:0;width:100%}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{flex-wrap:wrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{position:absolute}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{white-space:nowrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{cursor:pointer}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{flex:1;z-index:2}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{z-index:1}.ng-select .ng-clear-wrapper{cursor:pointer;position:relative;width:17px;-webkit-user-select:none;user-select:none}.ng-select .ng-clear-wrapper .ng-clear{display:inline-block;font-size:18px;line-height:1;pointer-events:none}.ng-select .ng-spinner-loader{border-radius:50%;width:17px;height:17px;margin-right:5px;font-size:10px;position:relative;text-indent:-9999em;border-top:2px solid rgba(66,66,66,.2);border-right:2px solid rgba(66,66,66,.2);border-bottom:2px solid rgba(66,66,66,.2);border-left:2px solid #424242;transform:translateZ(0);animation:load8 .8s infinite linear}.ng-select .ng-spinner-loader:after{border-radius:50%;width:17px;height:17px}@keyframes load8{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.ng-select .ng-arrow-wrapper{cursor:pointer;position:relative;text-align:center;-webkit-user-select:none;user-select:none}.ng-select .ng-arrow-wrapper .ng-arrow{pointer-events:none;display:inline-block;height:0;width:0;position:relative}.ng-dropdown-panel{box-sizing:border-box;position:absolute;opacity:0;width:100%;z-index:1050;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .ng-dropdown-panel-items{display:block;height:auto;box-sizing:border-box;max-height:240px;overflow-y:auto}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{box-sizing:border-box;cursor:pointer;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-option-label:empty:before{content:"\\200b"}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .highlighted{font-weight:700;text-decoration:underline}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.disabled{cursor:default}.ng-dropdown-panel .scroll-host{overflow:hidden;overflow-y:auto;position:relative;display:block;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .scrollable-content{top:0;left:0;width:100%;height:100%;position:absolute}.ng-dropdown-panel .total-padding{width:1px;opacity:0}
|
|
2
|
+
`],encapsulation:2,changeDetection:0});let n=t;return n})();function $t(){return new ce}var ce=class{constructor(){this._selected=[]}get value(){return this._selected}select(t,s,e){if(t.selected=!0,(!t.children||!s&&e)&&this._selected.push(t),s)if(t.parent){let i=t.parent.children.length,l=t.parent.children.filter(r=>r.selected).length;t.parent.selected=i===l}else t.children&&(this._setChildrenSelectedState(t.children,!0),this._removeChildren(t),e&&this._activeChildren(t)?this._selected=[...this._selected.filter(i=>i.parent!==t),t]:this._selected=[...this._selected,...t.children.filter(i=>!i.disabled)])}unselect(t,s){if(this._selected=this._selected.filter(e=>e!==t),t.selected=!1,s)if(t.parent&&t.parent.selected){let e=t.parent.children;this._removeParent(t.parent),this._removeChildren(t.parent),this._selected.push(...e.filter(i=>i!==t&&!i.disabled)),t.parent.selected=!1}else t.children&&(this._setChildrenSelectedState(t.children,!1),this._removeChildren(t))}clear(t){this._selected=t?this._selected.filter(s=>s.disabled):[]}_setChildrenSelectedState(t,s){for(let e of t)e.disabled||(e.selected=s)}_removeChildren(t){this._selected=[...this._selected.filter(s=>s.parent!==t),...t.children.filter(s=>s.parent===t&&s.disabled&&s.selected)]}_removeParent(t){this._selected=this._selected.filter(s=>s!==t)}_activeChildren(t){return t.children.every(s=>!s.disabled||s.selected)}},Ci=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=we({type:t}),t.\u0275inj=Te({providers:[{provide:ze,useValue:$t}],imports:[Pe]});let n=t;return n})();export{kt as a,Lt as b,Pt as c,Ei as d,Ci as e};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as se}from"./chunk-WZ3ZHJBG.js";import{b as me,c as de}from"./chunk-JLAVZQPE.js";import{b as le}from"./chunk-UPTEEL3G.js";import"./chunk-34TPGQJX.js";import"./chunk-6ZVKIT5H.js";import"./chunk-PLZH3OER.js";import"./chunk-6YPJTT3V.js";import"./chunk-NTECZWGA.js";import"./chunk-UAT2Z7DX.js";import"./chunk-I2Z2CMMP.js";import{a as ee,b as oe,c as ae,d as re}from"./chunk-7RCYYDBI.js";import"./chunk-YXES4QMB.js";import"./chunk-FOGCKX3L.js";import{ua as te,va as ie,wa as ne}from"./chunk-TV5FJTYD.js";import{A as Q,c as H,h as G,n as K,v as z,z as J}from"./chunk-24T7XJLP.js";import"./chunk-YZV5WEIA.js";import"./chunk-OCFCR2QN.js";import"./chunk-7ANQGJGX.js";import"./chunk-BFKKHUHL.js";import{a as X}from"./chunk-TQZMOLDX.js";import{a as $}from"./chunk-GIRJYQNU.js";import"./chunk-FB23SZ6F.js";import{$a as L,Bc as j,C as Y,Cd as Z,Dc as U,Ec as x,Mb as O,Nb as r,Nc as W,Oa as m,Ob as E,Pa as f,Pb as R,Qc as N,Tb as M,Ub as P,Vb as V,Xb as D,Zb as I,bb as g,db as c,ec as k,fc as B,ma as h,ob as o,pb as a,qb as F,rb as y,sa as d,sb as b,ta as s,ub as v,ud as q,xb as _,zb as C}from"./chunk-N54WPLZY.js";import"./chunk-O3DEWASH.js";var l=function(t){return t.TRANSACTIONS="TRANSACTIONS",t.PRODUCTS="PRODUCTS",t.CONTACTS="CONTACTS",t.LOYALTY_POINTS="LOYALTY_POINTS",t.RECYCLE_BIN="RECYCLE_BIN",t.INVENTORY="INVENTORY",t}(l||{});var S=function(t){return t.TRANSACTIONS="Setup/Data/ClearTransaction",t.PRODUCTS="Setup/Data/ClearProduct",t.CONTACTS="Setup/Data/ClearContact",t.LOYALTY_POINTS="Setup/Data/ClearLoyaltyPoint",t.RECYCLE_BIN="Setup/Data/ClearRecycleBin",t.INVENTORY="Setup/Data/ClearInventory",t}(S||{});function fe(t,w){if(t&1&&(y(0),o(1,"div",4)(2,"div",5)(3,"div",12),F(4,"i",13),o(5,"span"),r(6),a()()()(),b()),t&2){let i=C();m(6),R(" ",i.selectedClearData.message," ")}}function _e(t,w){t&1&&(y(0),o(1,"small",14),r(2," *Subdomain is required "),a(),b())}function Se(t,w){t&1&&(y(0),o(1,"small",14),r(2," *Password is required "),a(),b())}var ce=(()=>{class t{data;dialogRef;fb;clearData=[{type:l.TRANSACTIONS,api:S.TRANSACTIONS,message:"Your Invoice, Bill, Adjustment, TransferOrder will be deleted"},{type:l.PRODUCTS,api:S.PRODUCTS,message:"Your Category, Product and Variant will be deleted"},{type:l.LOYALTY_POINTS,api:S.LOYALTY_POINTS},{type:l.RECYCLE_BIN,api:S.RECYCLE_BIN},{type:l.INVENTORY,api:S.INVENTORY,message:"Your Product Inventory will be set to 0"},{type:l.CONTACTS,api:S.CONTACTS,message:"Your Customer, Supplier and Sales Person will be deleted"}];selectedClearData;modalConfig=new oe;modalTitle={[l.TRANSACTIONS]:"Clear Transactions",[l.PRODUCTS]:"Clear Products",[l.LOYALTY_POINTS]:"Clear Loyalty Points",[l.RECYCLE_BIN]:"Clear Recycle Bin",[l.CONTACTS]:"Clear Contacts",[l.INVENTORY]:"Clear Inventory"};subdomain;subdomainPlaceholder;password;form;constructor(i,n,e){this.data=i,this.dialogRef=n,this.fb=e,this.modalConfig.title=this.modalTitle[this.data.type],this.subdomain="",this.subdomainPlaceholder=i.subDomain}ngOnInit(){this.initSelectedClearData(),this.form=this.fb.group({subdomain:[""],password:[""]})}initSelectedClearData(){this.selectedClearData=this.clearData.find(i=>i.type===this.data.type)}onSubmit(){let i={password:this.password,subdomain:this.subdomain,apiUrl:this.selectedClearData.api};this.dialogRef.close(i)}static \u0275fac=function(n){return new(n||t)(f(ie),f(te),f(J))};static \u0275cmp=h({type:t,selectors:[["app-confirmation-modal"]],standalone:!0,features:[D],decls:20,vars:8,consts:[["subdomainCtrl","ngModel"],["passwordCtrl","ngModel"],[3,"onOk","onClose","onCancel","config","dynamicValidated"],[4,"ngIf"],[1,"row"],[1,"col-12"],[1,"form-floating-outline","mt-5"],["type","text","id","subdomain","placeholder","Subdomain","name","subdomain","autofocus","","required","",1,"form-control",3,"ngModelChange","ngModel"],["for","subdomain"],[1,"form-floating-outline"],["type","password","id","pass","placeholder","Password","name","password","required","",1,"form-control",3,"ngModelChange","ngModel"],["for","pass"],[1,"alert","alert-warning","cursor","w-100"],[1,"fa-solid","fa-circle-exclamation","me-2"],[1,"control-label","text-danger"]],template:function(n,e){if(n&1){let p=v();o(0,"modal-material",2),_("onOk",function(){return d(p),s(e.onSubmit())})("onClose",function(){return d(p),s(e.dialogRef.close())})("onCancel",function(){return d(p),s(e.dialogRef.close())}),o(1,"content"),g(2,fe,7,1,"ng-container",3),o(3,"div",4)(4,"div",5)(5,"strong"),r(6),a(),o(7,"div",6)(8,"input",7,0),V("ngModelChange",function(T){return d(p),P(e.subdomain,T)||(e.subdomain=T),s(T)}),a(),o(10,"label",8),r(11,"Subdomain"),a(),g(12,_e,3,0,"ng-container",3),a()(),o(13,"div",5)(14,"div",9)(15,"input",10,1),V("ngModelChange",function(T){return d(p),P(e.password,T)||(e.password=T),s(T)}),a(),o(17,"label",11),r(18,"Password"),a(),g(19,Se,3,0,"ng-container",3),a()()()()()}if(n&2){let p=O(9),u=O(16);c("config",e.modalConfig)("dynamicValidated",e.password&&e.subdomain),m(2),c("ngIf",e.selectedClearData.message),m(4),R("Enter the following subdomain to confirm: ",e.subdomainPlaceholder,""),m(2),M("ngModel",e.subdomain),m(4),c("ngIf",p.invalid&&(p.dirty||p.touched)),m(3),M("ngModel",e.password),m(4),c("ngIf",u.invalid&&(u.dirty||u.touched))}},dependencies:[N,x,re,ae,Q,H,G,z,K]})}return t})();var A=t=>({"border border-0":t});function Te(t,w){if(t&1&&(y(0),o(1,"tr",23)(2,"td",23),r(3),a(),o(4,"td",24),r(5),k(6,"number"),a()(),b()),t&2){let i=w.$implicit,n=w.index,e=C(2);m(),c("ngClass",I(7,A,n==e.data.Data.length-1)),m(),c("ngClass",I(9,A,n==e.data.Data.length-1)),m(),E(i.Key),m(),c("ngClass",I(11,A,n==e.data.Data.length-1)),m(),E(B(6,5,i.Value))}}function ge(t,w){if(t&1){let i=v();o(0,"mainpanel-cmp",1)(1,"actions")(2,"div",2)(3,"div",3)(4,"button",4),r(5," Format Data "),a(),o(6,"ul",5)(7,"li")(8,"a",6),_("click",function(){d(i);let e=C();return s(e.onClearRecord(e.clearDataType.TRANSACTIONS))}),r(9," 1. Clear Transactions "),a()(),o(10,"li")(11,"a",7),_("click",function(){d(i);let e=C();return s(e.onClearRecord(e.clearDataType.INVENTORY))}),r(12," 2. Clear Inventory "),a()(),o(13,"li")(14,"a",8),_("click",function(){d(i);let e=C();return s(e.onClearRecord(e.clearDataType.PRODUCTS))}),r(15," 3. Clear Products "),a()(),o(16,"li")(17,"a",9),_("click",function(){d(i);let e=C();return s(e.onClearRecord(e.clearDataType.CONTACTS))}),r(18," 4. Clear Contacts "),a()(),o(19,"li")(20,"a",10),_("click",function(){d(i);let e=C();return s(e.onClearRecord(e.clearDataType.LOYALTY_POINTS))}),r(21," 5. Clear Loyalty Point "),a()(),o(22,"li")(23,"a",11),_("click",function(){d(i);let e=C();return s(e.onClearRecord(e.clearDataType.RECYCLE_BIN))}),r(24," 6. Clear Recycle Bin "),a()()()()()(),o(25,"content")(26,"div",12)(27,"div",13)(28,"div",14)(29,"h5"),r(30,"Database Records"),a(),o(31,"i"),r(32,"Current data count"),a()(),o(33,"div",15)(34,"div",16)(35,"div",17)(36,"table",18)(37,"thead",19)(38,"tr",20)(39,"th"),r(40,"Table"),a(),o(41,"th",21),r(42,"Rows"),a()()(),o(43,"tbody"),g(44,Te,7,13,"ng-container",22),a()()()()()()()()()}if(t&2){let i=C();c("pageData",i.menuData)("hideSearchDropdown",!0)("hideSearchBox",!0),m(44),c("ngForOf",i.data.Data)}}var Ge=(()=>{class t extends se{httpService;activatedRoute;toaster;dialog;clearDataType=l;constructor(i,n,e,p,u){super(i,n,"Setup/DataLoader/clearformatdata",e),this.httpService=n,this.activatedRoute=e,this.toaster=p,this.dialog=u}onClearRecord(i){this.dialog.open(ce,{data:{type:i,subDomain:this.data.SubDomain}}).afterClosed().pipe(Y(n=>X.IsNotEmpty(n))).subscribe(n=>{this.formData={Subdomain:n.subdomain,Password:n.password},this.onSubmit(n.apiUrl)})}onSubmitSuccess(i){this.toaster.success(i.Message,ee.Success)}static \u0275fac=function(n){return new(n||t)(f(le),f($),f(q),f(Z),f(ne))};static \u0275cmp=h({type:t,selectors:[["POS-format-data"]],standalone:!0,features:[L,D],decls:1,vars:1,consts:[[3,"pageData","hideSearchDropdown","hideSearchBox",4,"ngIf"],[3,"pageData","hideSearchDropdown","hideSearchBox"],[1,"d-flex"],[1,"dropdown"],["type","button","data-bs-toggle","dropdown","aria-expanded","false","confirm-message","Are you sure you want to clear the record?",1,"btn","btn-outline-secondary","dropdown-toggle"],[1,"dropdown-menu","dropdown-menu-end"],["role","button","matTooltipPosition","above","matTooltip","Clear Transaction",1,"dropdown-item",3,"click"],["role","button","matTooltipPosition","above","matTooltip","Clear Inventory",1,"dropdown-item",3,"click"],["role","button","matTooltipPosition","above","matTooltip","Clear Products",1,"dropdown-item",3,"click"],["role","button","matTooltipPosition","above","matTooltip","Clear Contacts",1,"dropdown-item",3,"click"],["role","button","matTooltipPosition","above","matTooltip","Clear Loyalty Point",1,"dropdown-item",3,"click"],["role","button","matTooltipPosition","above","matTooltip","Clear Recycle Bin",1,"dropdown-item",3,"click"],[1,"container","pt-3"],[1,"row","border-bottom","mt-10","ms-2"],[1,"col-sm-2"],[1,"col-sm-10"],[1,"row"],[1,"col-md-12"],["id","tableGrid",1,"table",2,"width","250px"],[1,"thead-light","sticky-top-thead"],[1,"header"],[1,"text-end"],[4,"ngFor","ngForOf"],[3,"ngClass"],[1,"text-end",3,"ngClass"]],template:function(n,e){n&1&&g(0,ge,45,4,"mainpanel-cmp",0),n&2&&c("ngIf",e.formData)},dependencies:[N,j,U,x,W,de,me]})}return t})();export{Ge as FormatDataComponent};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as g}from"./chunk-GIRJYQNU.js";import{Nb as r,Oa as s,Pa as d,Pb as m,Qc as f,ea as c,ma as p,na as l,ob as n,pb as i,qb as u,ud as h,zd as v}from"./chunk-N54WPLZY.js";import"./chunk-O3DEWASH.js";var w=(()=>{class t{httpService;activeRoute;data;constructor(a,e){this.httpService=a,this.activeRoute=e,document.title="Outlet | Reset Password Form";let o=this.activeRoute.snapshot.queryParams;this.httpService.post("/api/login/ResetPassword",o).subscribe(y=>{this.data=y})}ngOnInit(){document.body.classList.add("login-body")}ngOnDestroy(){document.body.classList.remove("login-body")}static \u0275fac=function(e){return new(e||t)(d(g),d(h))};static \u0275cmp=p({type:t,selectors:[["POS-auth-reset-password"]],decls:18,vars:2,consts:[[1,"container-fluid"],[1,"card","mx-auto","bg-primary","text-light"],[1,"card-title"],[1,"text-center"],[1,"card-body"],[1,"fw-normal"],[1,"fixed-bottom"],[1,"d-flex","justify-content-start","mb-11","mx-11","footer-mobile"],["target","_blank","href","http://www.dealpos.com"],["src","//res.cloudinary.com/pos/image/upload/POS/Images/Login/dealpos.png",1,"ms-3","border-0"]],template:function(e,o){e&1&&(n(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1",3),r(4,"Your New Account Info"),i()(),n(5,"div",4)(6,"div",3)(7,"h3",5),r(8),i(),n(9,"h3",5),r(10),i()()()(),n(11,"div",6)(12,"div",7)(13,"div")(14,"span"),r(15,"powered by :"),i(),u(16,"a",8)(17,"img",9),i()()()()),e&2&&(s(8),m("Login ID: ",o.data==null?null:o.data.Username,""),s(2),m("Password: ",o.data==null?null:o.data.Password,""))},styles:[".card[_ngcontent-%COMP%]{width:30%;margin-top:150px;padding:15px}@media screen and (max-width: 768px){.footer-mobile[_ngcontent-%COMP%]{display:flex!important;justify-content:center!important}div.vh-100[_ngcontent-%COMP%]{height:40vh!important}.fixed-bottom[_ngcontent-%COMP%]{position:static!important}input[type=submit][_ngcontent-%COMP%]{width:98%}.card[_ngcontent-%COMP%]{border:none;width:85%}}"]})}return t})();var x=[{path:"",component:w}],I=(()=>{class t{static \u0275fac=function(e){return new(e||t)};static \u0275mod=l({type:t});static \u0275inj=c({imports:[f,v.forChild(x)]})}return t})();export{I as AuthResetPasswordModule};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as L,c as W,d as G}from"./chunk-7RCYYDBI.js";import{ua as V,va as z}from"./chunk-TV5FJTYD.js";import{A as E,c as A,h as I,n as T}from"./chunk-24T7XJLP.js";import{N as j,n as B,u as D}from"./chunk-OCFCR2QN.js";import{Dc as F,Nb as M,Oa as i,Pa as p,Pb as v,Qc as N,Tb as k,Ub as w,Vb as R,Zb as S,bb as h,db as d,ea as b,ec as s,gc as O,hb as x,ma as P,na as m,ob as c,pb as r,qb as l,sa as f,ta as u,ub as y,xb as _,zb as C}from"./chunk-N54WPLZY.js";var q=n=>({active:n});function J(n,H){if(n&1){let t=y();c(0,"div",9)(1,"div",10),_("click",function(){let o=f(t).$implicit,a=C();return u(a.select(o))}),c(2,"div",11)(3,"h5",12)(4,"span"),l(5,"i",13),M(6),s(7,"limitTo"),r()(),c(8,"div",14)(9,"div")(10,"span",15),M(11,"VACANT"),r()()()()()()}if(n&2){let t=H.$implicit,e=C();i(2),x(S(6,q,(t==null?null:t.Name)==(e.selectedRegister==null?null:e.selectedRegister.Name))),i(4),v(" ",O(7,3,t.Name,15)," ")}}var rn=(()=>{class n{dialogRef;Outlets;searchInput="";modalConfig=new L;selectedRegister;constructor(t,e){this.dialogRef=e,this.Outlets=t.Entities,this.selectedRegister=t.SelectedRegister}ngOnInit(){this.modalConfig.hideClose=!0,this.modalConfig.bodyScrollable=!0,this.modalConfig.title="Choose an outlet"}select(t){this.selectedRegister=t}onOk(){this.dialogRef.close({outlet:this.selectedRegister})}static \u0275fac=function(e){return new(e||n)(p(z),p(V))};static \u0275cmp=P({type:n,selectors:[["POS-modal-outlet"]],decls:12,vars:7,consts:[[3,"onOk","onCancel","onClose","config"],[1,"ms-0","mb-8",2,"width","200px",3,"hidden"],[1,"input-group","mb-3"],[1,"input-group-text","txtFilter"],["aria-hidden","true",1,"fa","fa-magnifying-glass"],["type","text","placeholder","Filter by Name","aria-label","Search",1,"txtFilter","form-control","border-start-0",3,"ngModelChange","ngModel"],[1,"container","mt-8"],[1,"row",2,"width","600px !important"],["class","col-4",4,"ngFor","ngForOf"],[1,"col-4"],[1,"card","border-0",3,"click"],[1,"card-body","p-0"],[1,"card-title","mb-0"],[1,"fa","fa-circle-info","pe-1"],[1,"card-text","px-0","py-2"],[1,"idle"]],template:function(e,o){e&1&&(c(0,"modal-material",0),_("onOk",function(){return o.onOk()})("onCancel",function(){return o.dialogRef.close()})("onClose",function(){return o.dialogRef.close()}),c(1,"content")(2,"div",1)(3,"div",2)(4,"span",3),l(5,"i",4),r(),c(6,"input",5),R("ngModelChange",function(g){return w(o.searchInput,g)||(o.searchInput=g),g}),r()()(),c(7,"div",6)(8,"div",7),h(9,J,12,8,"div",8),s(10,"FilterByName"),r()()(),l(11,"footer"),r()),e&2&&(d("config",o.modalConfig),i(2),d("hidden",o.Outlets.length<=6),i(4),k("ngModel",o.searchInput),i(3),d("ngForOf",O(10,4,o.Outlets,o.searchInput)))},dependencies:[F,W,A,I,T,B,D],styles:[".bg-light-gray[_ngcontent-%COMP%]{background-color:var(--bs-light-gray);--bs-bg-opacity: .15 !important}.bg-gradient-danger[_ngcontent-%COMP%]{background:repeating-linear-gradient(-60deg,#f8d7da,#f8d7da 15px,#f5c6cb 15px 30px)!important}.bg-gradient-success[_ngcontent-%COMP%]{background:repeating-linear-gradient(-60deg,#beeebb,#beeebb 15px,#afeba8 15px 30px)!important}.bg-gradient-warning[_ngcontent-%COMP%]{background:repeating-linear-gradient(-60deg,#fcf3cf,#fcf3cf 15px,#f9e79f 15px 30px)!important}.bg-light-orange[_ngcontent-%COMP%]{background-color:var(--bs-light-orange);--bs-bg-opacity: .15 !important}.text-danger[_ngcontent-%COMP%]{color:#fb404b!important}.text-dark[_ngcontent-%COMP%]{color:#5e5e5e!important}.text-success[_ngcontent-%COMP%]{color:#87cb16!important}.text-black[_ngcontent-%COMP%]{color:#000!important}.text-white[_ngcontent-%COMP%]{color:var(--bs-white)!important}.btn-light-blue[_ngcontent-%COMP%]{color:#212529;background-color:#dfeffc!important;border-color:#dfeffc}.btn-light-blue[_ngcontent-%COMP%]:hover{color:#212529;background-color:#bcdef9;border-color:#b0d8f8}.btn-light-blue[_ngcontent-%COMP%]:focus, .btn-light-blue.focus[_ngcontent-%COMP%]{color:#212529;background-color:#bcdef9;border-color:#b0d8f8;box-shadow:0 0 0 .2rem #c3d1dc80}.btn-light-blue.disabled[_ngcontent-%COMP%], .btn-light-blue[_ngcontent-%COMP%]:disabled{color:#212529;background-color:#dfeffc;border-color:#dfeffc}.btn-light-blue[_ngcontent-%COMP%]:not(:disabled):not(.disabled):active, .btn-light-blue[_ngcontent-%COMP%]:not(:disabled):not(.disabled).active, .show[_ngcontent-%COMP%] > .btn-light-blue.dropdown-toggle[_ngcontent-%COMP%]{color:#212529;background-color:#b0d8f8;border-color:#a5d2f7}.btn-light-blue[_ngcontent-%COMP%]:not(:disabled):not(.disabled):active:focus, .btn-light-blue[_ngcontent-%COMP%]:not(:disabled):not(.disabled).active:focus, .show[_ngcontent-%COMP%] > .btn-light-blue.dropdown-toggle[_ngcontent-%COMP%]:focus{box-shadow:0 0 0 .2rem #c3d1dc80}.col-4[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap!important}.col-4[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]{width:180px;min-height:95px;margin-right:17px;margin-bottom:17px;position:relative}.col-4[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] > .card-body[_ngcontent-%COMP%]{display:block;outline:0;border:1px solid #B1AAAA;border-radius:5px;cursor:pointer}.col-4[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] > .card-body[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{height:30px;border-radius:4px;padding:5px 10px;color:#fff;background:#b1aaaa;overflow:hidden}.col-4[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] > .card-body[_ngcontent-%COMP%] h5[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{margin-right:5px}.col-4[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] > .card-body[_ngcontent-%COMP%]:hover, .col-4[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] > .card-body.active[_ngcontent-%COMP%], .col-4[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] > .card-body.vacant[_ngcontent-%COMP%]{background:#ffffe1;border:1px solid #89b03e}.col-4[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] > .card-body[_ngcontent-%COMP%]:hover > h5[_ngcontent-%COMP%], .col-4[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] > .card-body.active[_ngcontent-%COMP%] > h5[_ngcontent-%COMP%], .col-4[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] > .card-body.vacant[_ngcontent-%COMP%] > h5[_ngcontent-%COMP%]{background:#89b03e}.col-4[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] > .card-body.occupied[_ngcontent-%COMP%], .col-4[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] > .card-body.occupied[_ngcontent-%COMP%]:hover{border:1px solid #c9302c}.col-4[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] > .card-body.occupied[_ngcontent-%COMP%] > h6[_ngcontent-%COMP%], .col-4[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] > .card-body.occupied[_ngcontent-%COMP%]:hover > h6[_ngcontent-%COMP%]{background:#c9302c!important}.col-4[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] > .card-body.occupied[_ngcontent-%COMP%] span.alias[_ngcontent-%COMP%]{background:#c9302c}.col-4[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] > .card-body.occupied[_ngcontent-%COMP%]:hover{background:#fff}.col-4[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] > .card-body.preparing[_ngcontent-%COMP%]{border:1px solid #f6a828}.col-4[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] > .card-body.preparing[_ngcontent-%COMP%] > h6[_ngcontent-%COMP%]{background:#f6a828!important}.col-4[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] > .card-body.preparing[_ngcontent-%COMP%]:hover{border:1px solid #f6a828;background:#fff}.col-4[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] > .card-body.preparing[_ngcontent-%COMP%]:hover > strong[_ngcontent-%COMP%]{background:#f6a828!important}.col-4[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] > .card-body.preparing[_ngcontent-%COMP%] span.alias[_ngcontent-%COMP%]{background:#f6a828}.col-4[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] > .card-body.preparing[_ngcontent-%COMP%] div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{font-size:.75rem!important}.col-4[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] > .card-body[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{height:80px;padding:15px 10px;position:relative}.col-4[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] > .card-body[_ngcontent-%COMP%] div[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block;font-weight:400;font-size:.875rem;width:100%;margin-bottom:5px}.col-4[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] > .card-body[_ngcontent-%COMP%] div[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:first-child{margin-top:-10px}.col-4[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] > .card-body[_ngcontent-%COMP%] div[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:last-child{margin-bottom:0}.col-4[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] > .card-body[_ngcontent-%COMP%] div[_ngcontent-%COMP%] span.alias[_ngcontent-%COMP%]{text-align:center;position:absolute;bottom:0;right:0;width:auto;background-color:#b1aaaa;border-radius:3px;padding:2px 5px;color:#fff;display:none!important}.col-4[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] > .card-body[_ngcontent-%COMP%] div[_ngcontent-%COMP%] span.idle[_ngcontent-%COMP%]{display:block;font-size:1.25rem;text-align:center}.col-4[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{position:absolute;width:27px;height:28px;cursor:pointer;top:5px}.col-4[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] > span[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#000}.col-4[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]:last-of-type{right:-5px}.col-4[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]:nth-last-of-type(2){right:15px}.col-4[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{bottom:20px;right:5px;position:absolute}.col-4[_ngcontent-%COMP%] .duration[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{border:1px solid!important;position:absolute;bottom:-3px;left:58px;background:#fff;border-radius:5px}"]})}return n})(),an=(()=>{class n{static \u0275fac=function(e){return new(e||n)};static \u0275mod=m({type:n});static \u0275inj=b({imports:[N,G,E,j]})}return n})();export{rn as a,an as b};
|