@esri/solutions-components 0.11.21 → 0.11.22
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/dist/cjs/card-manager_3.cjs.entry.js +11 -13
- package/dist/cjs/create-feature_4.cjs.entry.js +1 -1
- package/dist/cjs/create-related-feature_3.cjs.entry.js +54 -6
- package/dist/cjs/crowdsource-manager.cjs.entry.js +3 -1
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +121 -48
- package/dist/cjs/feature-list.cjs.entry.js +49 -11
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/map-layer-picker.cjs.entry.js +1 -1
- package/dist/cjs/map-select-tools_3.cjs.entry.js +5 -5
- package/dist/cjs/public-notification.cjs.entry.js +3 -3
- package/dist/cjs/solutions-components.cjs.js +1 -1
- package/dist/collection/components/card-manager/card-manager.js +2 -2
- package/dist/collection/components/create-feature/create-feature.js +1 -1
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +3 -1
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +165 -49
- package/dist/collection/components/feature-list/feature-list.js +70 -10
- package/dist/collection/components/layer-list/layer-list.js +74 -3
- package/dist/collection/components/layer-table/layer-table.js +9 -11
- package/dist/collection/components/map-layer-picker/map-layer-picker.js +1 -1
- package/dist/collection/components/map-select-tools/map-select-tools.css +1 -0
- package/dist/collection/components/map-select-tools/map-select-tools.js +2 -2
- package/dist/collection/components/public-notification/public-notification.css +7 -0
- package/dist/collection/components/public-notification/public-notification.js +2 -2
- package/dist/collection/components/refine-selection/refine-selection.css +7 -0
- package/dist/collection/components/refine-selection/refine-selection.js +1 -1
- package/dist/collection/demos/crowdsource-manager.html +6 -2
- package/dist/collection/demos/crowdsource-reporter.html +2 -0
- package/dist/collection/vendor/calcite-components/24XPU7PW.js +4 -0
- package/dist/collection/vendor/calcite-components/26HZKUXD.js +4 -0
- package/dist/collection/vendor/calcite-components/2DZDH5PW.js +4 -0
- package/dist/collection/vendor/calcite-components/2E4H4XCR.js +5 -0
- package/dist/collection/vendor/calcite-components/2FEK4CRN.js +4 -0
- package/dist/collection/vendor/calcite-components/2JG564MO.js +4 -0
- package/dist/collection/vendor/calcite-components/2Q4UEB7G.js +4 -0
- package/dist/collection/vendor/calcite-components/2RPVHRRK.js +4 -0
- package/dist/collection/vendor/calcite-components/2UCHSNWA.js +4 -0
- package/dist/collection/vendor/calcite-components/36XNABTH.js +5 -0
- package/dist/collection/vendor/calcite-components/3AQ2GZOJ.js +4 -0
- package/dist/collection/vendor/calcite-components/3BLAL4BM.js +4 -0
- package/dist/collection/vendor/calcite-components/3FMVZYYJ.js +4 -0
- package/dist/collection/vendor/calcite-components/3H4RHBLC.js +4 -0
- package/dist/collection/vendor/calcite-components/3HPRXYKG.js +4 -0
- package/dist/collection/vendor/calcite-components/3NQ3MF4Y.js +4 -0
- package/dist/collection/vendor/calcite-components/3QYPPYKC.js +4 -0
- package/dist/collection/vendor/calcite-components/3SN4BPNU.js +4 -0
- package/dist/collection/vendor/calcite-components/3TSDVYMK.js +4 -0
- package/dist/collection/vendor/calcite-components/44IELQRN.js +4 -0
- package/dist/collection/vendor/calcite-components/4EXGV2JM.js +4 -0
- package/dist/collection/vendor/calcite-components/4FFNZW2T.js +4 -0
- package/dist/collection/vendor/calcite-components/4IAN6EPQ.js +4 -0
- package/dist/collection/vendor/calcite-components/4LP6XZGU.js +4 -0
- package/dist/collection/vendor/calcite-components/5F57XCO4.js +4 -0
- package/dist/collection/vendor/calcite-components/5GKGAQME.js +4 -0
- package/dist/collection/vendor/calcite-components/5IDYJYNO.js +4 -0
- package/dist/collection/vendor/calcite-components/5NCQFUYM.js +4 -0
- package/dist/collection/vendor/calcite-components/5URVZAO7.js +4 -0
- package/dist/collection/vendor/calcite-components/5VK4UUOT.js +4 -0
- package/dist/collection/vendor/calcite-components/675BA2OJ.js +4 -0
- package/dist/collection/vendor/calcite-components/6BYBFB5X.js +4 -0
- package/dist/collection/vendor/calcite-components/6GYLT3HR.js +4 -0
- package/dist/collection/vendor/calcite-components/6HR6FZG5.js +4 -0
- package/dist/collection/vendor/calcite-components/6MXVP647.js +4 -0
- package/dist/collection/vendor/calcite-components/6ZVC3UDX.js +4 -0
- package/dist/collection/vendor/calcite-components/7DCX244D.js +4 -0
- package/dist/collection/vendor/calcite-components/7IVGC34Z.js +4 -0
- package/dist/collection/vendor/calcite-components/7MWKFHAB.js +4 -0
- package/dist/collection/vendor/calcite-components/7XHO3OGL.js +4 -0
- package/dist/collection/vendor/calcite-components/7ZKEYSIK.js +4 -0
- package/dist/collection/vendor/calcite-components/A55GXE4D.js +4 -0
- package/dist/collection/vendor/calcite-components/ANPPDEZT.js +4 -0
- package/dist/collection/vendor/calcite-components/AQU64FML.js +4 -0
- package/dist/collection/vendor/calcite-components/BWIN7F7V.js +4 -0
- package/dist/collection/vendor/calcite-components/CMPWL5OR.js +4 -0
- package/dist/collection/vendor/calcite-components/D2RJ2NDD.js +4 -0
- package/dist/collection/vendor/calcite-components/D7XRLD6B.js +4 -0
- package/dist/collection/vendor/calcite-components/DARUTTL6.js +4 -0
- package/dist/collection/vendor/calcite-components/DQUWVHQ4.js +4 -0
- package/dist/collection/vendor/calcite-components/DS66T4UB.js +4 -0
- package/dist/collection/vendor/calcite-components/DTEXOHOC.js +4 -0
- package/dist/collection/vendor/calcite-components/DWP35FP5.js +4 -0
- package/dist/collection/vendor/calcite-components/E4V4WLG3.js +4 -0
- package/dist/collection/vendor/calcite-components/E7BZN4HI.js +4 -0
- package/dist/collection/vendor/calcite-components/E7L45EZX.js +4 -0
- package/dist/collection/vendor/calcite-components/EAA5CDC7.js +4 -0
- package/dist/collection/vendor/calcite-components/EBQYZOJE.js +4 -0
- package/dist/collection/vendor/calcite-components/EEY7KS7V.js +4 -0
- package/dist/collection/vendor/calcite-components/EF4LF7JA.js +4 -0
- package/dist/collection/vendor/calcite-components/EG3KFCKT.js +4 -0
- package/dist/collection/vendor/calcite-components/EIKWAET5.js +4 -0
- package/dist/collection/vendor/calcite-components/ELQHGUUQ.js +4 -0
- package/dist/collection/vendor/calcite-components/ERSOIATK.js +4 -0
- package/dist/collection/vendor/calcite-components/EV222TOH.js +4 -0
- package/dist/collection/vendor/calcite-components/FBYOJ4XP.js +4 -0
- package/dist/collection/vendor/calcite-components/FD23ZJ5M.js +4 -0
- package/dist/collection/vendor/calcite-components/FKRFYIK4.js +4 -0
- package/dist/collection/vendor/calcite-components/FMQW5CPG.js +4 -0
- package/dist/collection/vendor/calcite-components/FO5IP7GC.js +4 -0
- package/dist/collection/vendor/calcite-components/FT75A5FT.js +4 -0
- package/dist/collection/vendor/calcite-components/FXQZQREX.js +4 -0
- package/dist/collection/vendor/calcite-components/FYRRB4YU.js +4 -0
- package/dist/collection/vendor/calcite-components/G4WSCO7F.js +4 -0
- package/dist/collection/vendor/calcite-components/G5LIFWLC.js +4 -0
- package/dist/collection/vendor/calcite-components/GCYW34DH.js +4 -0
- package/dist/collection/vendor/calcite-components/GD4KAPIS.js +4 -0
- package/dist/collection/vendor/calcite-components/GM2DDQTV.js +4 -0
- package/dist/collection/vendor/calcite-components/GO2WSYWK.js +4 -0
- package/dist/collection/vendor/calcite-components/GPCQIKHB.js +4 -0
- package/dist/collection/vendor/calcite-components/GWFN65PG.js +4 -0
- package/dist/collection/vendor/calcite-components/GYIYX666.js +4 -0
- package/dist/collection/vendor/calcite-components/H373LLT7.js +4 -0
- package/dist/collection/vendor/calcite-components/HANIGQEU.js +4 -0
- package/dist/collection/vendor/calcite-components/HBWBBKTZ.js +4 -0
- package/dist/collection/vendor/calcite-components/HPQH2IQI.js +4 -0
- package/dist/collection/vendor/calcite-components/HVFHWDZS.js +4 -0
- package/dist/collection/vendor/calcite-components/HZ2CJF4H.js +4 -0
- package/dist/collection/vendor/calcite-components/ICQDC5MP.js +4 -0
- package/dist/collection/vendor/calcite-components/IUPHPQ5W.js +4 -0
- package/dist/collection/vendor/calcite-components/JDC4CCNQ.js +4 -0
- package/dist/collection/vendor/calcite-components/JG5U4L3H.js +4 -0
- package/dist/collection/vendor/calcite-components/JIZ3ZUNT.js +4 -0
- package/dist/collection/vendor/calcite-components/JLOMSYFQ.js +4 -0
- package/dist/collection/vendor/calcite-components/JLTNOBGF.js +4 -0
- package/dist/collection/vendor/calcite-components/JN54BWVD.js +4 -0
- package/dist/collection/vendor/calcite-components/JN6GQD32.js +4 -0
- package/dist/collection/vendor/calcite-components/JPISN7UU.js +4 -0
- package/dist/collection/vendor/calcite-components/JUAKRLPE.js +4 -0
- package/dist/collection/vendor/calcite-components/JWG3XWKS.js +4 -0
- package/dist/collection/vendor/calcite-components/JXO6Q6PC.js +4 -0
- package/dist/collection/vendor/calcite-components/JZGJVQKB.js +4 -0
- package/dist/collection/vendor/calcite-components/K6ALYIOD.js +4 -0
- package/dist/collection/vendor/calcite-components/KDJM5H4R.js +4 -0
- package/dist/collection/vendor/calcite-components/KHJ3WR7G.js +4 -0
- package/dist/collection/vendor/calcite-components/KKIWAHJ5.js +4 -0
- package/dist/collection/vendor/calcite-components/KTBWW64D.js +4 -0
- package/dist/collection/vendor/calcite-components/KU2O6B36.js +4 -0
- package/dist/collection/vendor/calcite-components/KVUPM4TA.js +4 -0
- package/dist/collection/vendor/calcite-components/KX7ZCSRX.js +4 -0
- package/dist/collection/vendor/calcite-components/L23DZQI6.js +4 -0
- package/dist/collection/vendor/calcite-components/L2A3CRIP.js +4 -0
- package/dist/collection/vendor/calcite-components/L37A2ISQ.js +4 -0
- package/dist/collection/vendor/calcite-components/LAVRP2RO.js +4 -0
- package/dist/collection/vendor/calcite-components/LKSA6W5F.js +4 -0
- package/dist/collection/vendor/calcite-components/LL7Q6H5L.js +4 -0
- package/dist/collection/vendor/calcite-components/LM2XVEJC.js +4 -0
- package/dist/collection/vendor/calcite-components/LRGSGD6G.js +4 -0
- package/dist/collection/vendor/calcite-components/LSIQC7QO.js +4 -0
- package/dist/collection/vendor/calcite-components/LX3BNN2R.js +4 -0
- package/dist/collection/vendor/calcite-components/M25GARCS.js +4 -0
- package/dist/collection/vendor/calcite-components/M4GN65AZ.js +4 -0
- package/dist/collection/vendor/calcite-components/MDFZXOFP.js +5 -0
- package/dist/collection/vendor/calcite-components/MIBXI2CI.js +4 -0
- package/dist/collection/vendor/calcite-components/MRFLH6RW.js +4 -0
- package/dist/collection/vendor/calcite-components/MUSZ6RWB.js +4 -0
- package/dist/collection/vendor/calcite-components/MX5EJ4DJ.js +4 -0
- package/dist/collection/vendor/calcite-components/MX7YVZ2Z.js +4 -0
- package/dist/collection/vendor/calcite-components/MYZF2YXM.js +4 -0
- package/dist/collection/vendor/calcite-components/N65J4BH6.js +4 -0
- package/dist/collection/vendor/calcite-components/N7POKTYM.js +4 -0
- package/dist/collection/vendor/calcite-components/NGWZQ4DF.js +4 -0
- package/dist/collection/vendor/calcite-components/NH5KER32.js +4 -0
- package/dist/collection/vendor/calcite-components/NIUCAKLC.js +4 -0
- package/dist/collection/vendor/calcite-components/NJILTUYU.js +4 -0
- package/dist/collection/vendor/calcite-components/NNB7RMSP.js +4 -0
- package/dist/collection/vendor/calcite-components/NP5LTTOS.js +4 -0
- package/dist/collection/vendor/calcite-components/NU3PWREF.js +4 -0
- package/dist/collection/vendor/calcite-components/NZDSRTUF.js +4 -0
- package/dist/collection/vendor/calcite-components/O4LXC5MV.js +4 -0
- package/dist/collection/vendor/calcite-components/OJGLTFDQ.js +4 -0
- package/dist/collection/vendor/calcite-components/OM2SDJA4.js +4 -0
- package/dist/collection/vendor/calcite-components/OY3RU7OI.js +4 -0
- package/dist/collection/vendor/calcite-components/P7LZIGH7.js +4 -0
- package/dist/collection/vendor/calcite-components/PF4XEEY5.js +4 -0
- package/dist/collection/vendor/calcite-components/PODUJS2H.js +4 -0
- package/dist/collection/vendor/calcite-components/PTGDUPKQ.js +4 -0
- package/dist/collection/vendor/calcite-components/PULE4IG4.js +4 -0
- package/dist/collection/vendor/calcite-components/PYAEZBTT.js +4 -0
- package/dist/collection/vendor/calcite-components/Q4DBJLCB.js +4 -0
- package/dist/collection/vendor/calcite-components/Q5CP47UX.js +4 -0
- package/dist/collection/vendor/calcite-components/QBKTBLGQ.js +4 -0
- package/dist/collection/vendor/calcite-components/QBQA4E7G.js +4 -0
- package/dist/collection/vendor/calcite-components/QETLRCQW.js +4 -0
- package/dist/collection/vendor/calcite-components/QQDFER4A.js +4 -0
- package/dist/collection/vendor/calcite-components/QUUN5YJ3.js +4 -0
- package/dist/collection/vendor/calcite-components/RAGSXTXM.js +4 -0
- package/dist/collection/vendor/calcite-components/RCSWE64T.js +4 -0
- package/dist/collection/vendor/calcite-components/REFBGNGF.js +4 -0
- package/dist/collection/vendor/calcite-components/RJMOC4XG.js +4 -0
- package/dist/collection/vendor/calcite-components/RLL47KJQ.js +4 -0
- package/dist/collection/vendor/calcite-components/RNT7J5MG.js +4 -0
- package/dist/collection/vendor/calcite-components/RPYN5IF2.js +4 -0
- package/dist/collection/vendor/calcite-components/RRML3L24.js +4 -0
- package/dist/collection/vendor/calcite-components/RRVJ5QUL.js +4 -0
- package/dist/collection/vendor/calcite-components/RZO7PXBY.js +4 -0
- package/dist/collection/vendor/calcite-components/SHIRLQTM.js +4 -0
- package/dist/collection/vendor/calcite-components/SKNFNI3G.js +4 -0
- package/dist/collection/vendor/calcite-components/SYRJFWC5.js +4 -0
- package/dist/collection/vendor/calcite-components/T3GBBB3W.js +4 -0
- package/dist/collection/vendor/calcite-components/TQ427GJX.js +6 -0
- package/dist/collection/vendor/calcite-components/TRWHGTOM.js +4 -0
- package/dist/collection/vendor/calcite-components/TTYJV2AA.js +4 -0
- package/dist/collection/vendor/calcite-components/TWJJYAQX.js +4 -0
- package/dist/collection/vendor/calcite-components/U34FMDPO.js +4 -0
- package/dist/collection/vendor/calcite-components/UEMF24J4.js +4 -0
- package/dist/collection/vendor/calcite-components/UIX5KJAH.js +4 -0
- package/dist/collection/vendor/calcite-components/UK4MHTX3.js +4 -0
- package/dist/collection/vendor/calcite-components/UMC66FPD.js +4 -0
- package/dist/collection/vendor/calcite-components/UOWQEKZ5.js +4 -0
- package/dist/collection/vendor/calcite-components/UTQXVQSW.js +4 -0
- package/dist/collection/vendor/calcite-components/UZXKQDX5.js +4 -0
- package/dist/collection/vendor/calcite-components/VB5TESRK.js +4 -0
- package/dist/collection/vendor/calcite-components/VHJ3N6C3.js +4 -0
- package/dist/collection/vendor/calcite-components/VY7WVWHH.js +4 -0
- package/dist/collection/vendor/calcite-components/W34LH35I.js +4 -0
- package/dist/collection/vendor/calcite-components/W5SJYIG6.js +4 -0
- package/dist/collection/vendor/calcite-components/W7LKQZLC.js +4 -0
- package/dist/collection/vendor/calcite-components/WA5XUN7A.js +4 -0
- package/dist/collection/vendor/calcite-components/WEMPP7QH.js +4 -0
- package/dist/collection/vendor/calcite-components/WK57IMVA.js +4 -0
- package/dist/collection/vendor/calcite-components/WUO5GRAC.js +5 -0
- package/dist/collection/vendor/calcite-components/WVYNOISK.js +4 -0
- package/dist/collection/vendor/calcite-components/X3DSV2RP.js +4 -0
- package/dist/collection/vendor/calcite-components/X533PSPQ.js +4 -0
- package/dist/collection/vendor/calcite-components/XCP7OFYG.js +4 -0
- package/dist/collection/vendor/calcite-components/XHSJC65M.js +22 -0
- package/dist/collection/vendor/calcite-components/XNYI7YNV.js +4 -0
- package/dist/collection/vendor/calcite-components/XOXXCOFR.js +4 -0
- package/dist/collection/vendor/calcite-components/XWL453TD.js +4 -0
- package/dist/collection/vendor/calcite-components/XZCNA3MO.js +4 -0
- package/dist/collection/vendor/calcite-components/XZIEBVH3.js +4 -0
- package/dist/collection/vendor/calcite-components/Y2RMF5RD.js +4 -0
- package/dist/collection/vendor/calcite-components/Y5K6MWVI.js +4 -0
- package/dist/collection/vendor/calcite-components/Y73JSF6U.js +4 -0
- package/dist/collection/vendor/calcite-components/YDHV53C4.js +4 -0
- package/dist/collection/vendor/calcite-components/YFD73VVO.js +4 -0
- package/dist/collection/vendor/calcite-components/YGSOHLPD.js +4 -0
- package/dist/collection/vendor/calcite-components/YLRKAY6P.js +4 -0
- package/dist/collection/vendor/calcite-components/YMGAVFBF.js +4 -0
- package/dist/collection/vendor/calcite-components/YORUNTUJ.js +4 -0
- package/dist/collection/vendor/calcite-components/YQW2HZIZ.js +4 -0
- package/dist/collection/vendor/calcite-components/YU4QMLUK.js +4 -0
- package/dist/collection/vendor/calcite-components/Z5W27AI4.js +4 -0
- package/dist/collection/vendor/calcite-components/ZB7BTUGE.js +4 -0
- package/dist/collection/vendor/calcite-components/ZBMTRW4F.js +4 -0
- package/dist/collection/vendor/calcite-components/ZGKKQBVA.js +4 -0
- package/dist/collection/vendor/calcite-components/ZH3CXIUL.js +4 -0
- package/dist/collection/vendor/calcite-components/ZIFGJROL.js +4 -0
- package/dist/collection/vendor/calcite-components/ZL7RFBBU.js +28 -0
- package/dist/collection/vendor/calcite-components/ZLP5NNFX.js +4 -0
- package/dist/collection/vendor/calcite-components/ZQRVWYDH.js +4 -0
- package/dist/collection/vendor/calcite-components/calcite.esm.js +2 -2
- package/dist/components/card-manager2.js +2 -2
- package/dist/components/create-feature2.js +1 -1
- package/dist/components/crowdsource-manager.js +3 -1
- package/dist/components/crowdsource-reporter.js +125 -48
- package/dist/components/feature-list2.js +52 -12
- package/dist/components/layer-list2.js +56 -5
- package/dist/components/layer-table2.js +9 -11
- package/dist/components/map-layer-picker2.js +1 -1
- package/dist/components/map-select-tools2.js +3 -3
- package/dist/components/public-notification.js +3 -3
- package/dist/components/refine-selection2.js +2 -2
- package/dist/esm/card-manager_3.entry.js +11 -13
- package/dist/esm/create-feature_4.entry.js +1 -1
- package/dist/esm/create-related-feature_3.entry.js +54 -6
- package/dist/esm/crowdsource-manager.entry.js +3 -1
- package/dist/esm/crowdsource-reporter.entry.js +121 -48
- package/dist/esm/feature-list.entry.js +49 -11
- package/dist/esm/loader.js +1 -1
- package/dist/esm/map-layer-picker.entry.js +1 -1
- package/dist/esm/map-select-tools_3.entry.js +5 -5
- package/dist/esm/public-notification.entry.js +3 -3
- package/dist/esm/solutions-components.js +1 -1
- package/dist/solutions-components/demos/crowdsource-manager.html +6 -2
- package/dist/solutions-components/demos/crowdsource-reporter.html +2 -0
- package/dist/solutions-components/p-09041307.entry.js +6 -0
- package/dist/solutions-components/p-1ac20964.entry.js +6 -0
- package/dist/solutions-components/p-541eb93a.entry.js +6 -0
- package/dist/solutions-components/p-6d20da19.entry.js +6 -0
- package/dist/solutions-components/p-7e233b70.entry.js +6 -0
- package/dist/solutions-components/p-892b42be.entry.js +6 -0
- package/dist/solutions-components/p-9161beb0.entry.js +6 -0
- package/dist/solutions-components/p-decfd5fc.entry.js +6 -0
- package/dist/solutions-components/p-eba271dd.entry.js +6 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/vendor/calcite-components/24XPU7PW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/26HZKUXD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2DZDH5PW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2E4H4XCR.js +5 -0
- package/dist/solutions-components/vendor/calcite-components/2FEK4CRN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2JG564MO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2Q4UEB7G.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2RPVHRRK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2UCHSNWA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/36XNABTH.js +5 -0
- package/dist/solutions-components/vendor/calcite-components/3AQ2GZOJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3BLAL4BM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3FMVZYYJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3H4RHBLC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3HPRXYKG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3NQ3MF4Y.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3QYPPYKC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3SN4BPNU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3TSDVYMK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/44IELQRN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4EXGV2JM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4FFNZW2T.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4IAN6EPQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4LP6XZGU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5F57XCO4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5GKGAQME.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5IDYJYNO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5NCQFUYM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5URVZAO7.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5VK4UUOT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/675BA2OJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6BYBFB5X.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6GYLT3HR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6HR6FZG5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6MXVP647.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6ZVC3UDX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7DCX244D.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7IVGC34Z.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7MWKFHAB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7XHO3OGL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7ZKEYSIK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/A55GXE4D.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ANPPDEZT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/AQU64FML.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/BWIN7F7V.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/CMPWL5OR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/D2RJ2NDD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/D7XRLD6B.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DARUTTL6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DQUWVHQ4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DS66T4UB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DTEXOHOC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DWP35FP5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/E4V4WLG3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/E7BZN4HI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/E7L45EZX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EAA5CDC7.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EBQYZOJE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EEY7KS7V.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EF4LF7JA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EG3KFCKT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EIKWAET5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ELQHGUUQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ERSOIATK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EV222TOH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FBYOJ4XP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FD23ZJ5M.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FKRFYIK4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FMQW5CPG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FO5IP7GC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FT75A5FT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FXQZQREX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FYRRB4YU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/G4WSCO7F.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/G5LIFWLC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GCYW34DH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GD4KAPIS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GM2DDQTV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GO2WSYWK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GPCQIKHB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GWFN65PG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GYIYX666.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/H373LLT7.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HANIGQEU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HBWBBKTZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HPQH2IQI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HVFHWDZS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HZ2CJF4H.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ICQDC5MP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/IUPHPQ5W.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JDC4CCNQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JG5U4L3H.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JIZ3ZUNT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JLOMSYFQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JLTNOBGF.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JN54BWVD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JN6GQD32.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JPISN7UU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JUAKRLPE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JWG3XWKS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JXO6Q6PC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JZGJVQKB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/K6ALYIOD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KDJM5H4R.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KHJ3WR7G.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KKIWAHJ5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KTBWW64D.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KU2O6B36.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KVUPM4TA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KX7ZCSRX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/L23DZQI6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/L2A3CRIP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/L37A2ISQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LAVRP2RO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LKSA6W5F.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LL7Q6H5L.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LM2XVEJC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LRGSGD6G.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LSIQC7QO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LX3BNN2R.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/M25GARCS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/M4GN65AZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MDFZXOFP.js +5 -0
- package/dist/solutions-components/vendor/calcite-components/MIBXI2CI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MRFLH6RW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MUSZ6RWB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MX5EJ4DJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MX7YVZ2Z.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MYZF2YXM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/N65J4BH6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/N7POKTYM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NGWZQ4DF.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NH5KER32.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NIUCAKLC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NJILTUYU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NNB7RMSP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NP5LTTOS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NU3PWREF.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NZDSRTUF.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/O4LXC5MV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/OJGLTFDQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/OM2SDJA4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/OY3RU7OI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/P7LZIGH7.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/PF4XEEY5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/PODUJS2H.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/PTGDUPKQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/PULE4IG4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/PYAEZBTT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/Q4DBJLCB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/Q5CP47UX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QBKTBLGQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QBQA4E7G.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QETLRCQW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QQDFER4A.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QUUN5YJ3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RAGSXTXM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RCSWE64T.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/REFBGNGF.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RJMOC4XG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RLL47KJQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RNT7J5MG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RPYN5IF2.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RRML3L24.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RRVJ5QUL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RZO7PXBY.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SHIRLQTM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SKNFNI3G.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SYRJFWC5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/T3GBBB3W.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/TQ427GJX.js +6 -0
- package/dist/solutions-components/vendor/calcite-components/TRWHGTOM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/TTYJV2AA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/TWJJYAQX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/U34FMDPO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/UEMF24J4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/UIX5KJAH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/UK4MHTX3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/UMC66FPD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/UOWQEKZ5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/UTQXVQSW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/UZXKQDX5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VB5TESRK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VHJ3N6C3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VY7WVWHH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/W34LH35I.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/W5SJYIG6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/W7LKQZLC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WA5XUN7A.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WEMPP7QH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WK57IMVA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WUO5GRAC.js +5 -0
- package/dist/solutions-components/vendor/calcite-components/WVYNOISK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/X3DSV2RP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/X533PSPQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XCP7OFYG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XHSJC65M.js +22 -0
- package/dist/solutions-components/vendor/calcite-components/XNYI7YNV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XOXXCOFR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XWL453TD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XZCNA3MO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XZIEBVH3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/Y2RMF5RD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/Y5K6MWVI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/Y73JSF6U.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YDHV53C4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YFD73VVO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YGSOHLPD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YLRKAY6P.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YMGAVFBF.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YORUNTUJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YQW2HZIZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YU4QMLUK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/Z5W27AI4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZB7BTUGE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZBMTRW4F.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZGKKQBVA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZH3CXIUL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZIFGJROL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZL7RFBBU.js +28 -0
- package/dist/solutions-components/vendor/calcite-components/ZLP5NNFX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZQRVWYDH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/calcite.esm.js +2 -2
- package/dist/solutions-components_commit.txt +7 -7
- package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +42 -1
- package/dist/types/components/feature-list/feature-list.d.ts +20 -0
- package/dist/types/components/layer-list/layer-list.d.ts +27 -0
- package/dist/types/components.d.ts +32 -0
- package/package.json +2 -2
- package/dist/collection/vendor/calcite-components/22LZVO5E.js +0 -4
- package/dist/collection/vendor/calcite-components/2A6QEASM.js +0 -4
- package/dist/collection/vendor/calcite-components/2BGT5TEK.js +0 -4
- package/dist/collection/vendor/calcite-components/2CPYXWOG.js +0 -4
- package/dist/collection/vendor/calcite-components/2GEBE6K3.js +0 -4
- package/dist/collection/vendor/calcite-components/2QA56E26.js +0 -4
- package/dist/collection/vendor/calcite-components/2YRZB4NM.js +0 -4
- package/dist/collection/vendor/calcite-components/36XHP2FJ.js +0 -4
- package/dist/collection/vendor/calcite-components/3COQK7PF.js +0 -4
- package/dist/collection/vendor/calcite-components/3DM4HAHW.js +0 -4
- package/dist/collection/vendor/calcite-components/3PTTJYHL.js +0 -4
- package/dist/collection/vendor/calcite-components/3QHDLMLZ.js +0 -4
- package/dist/collection/vendor/calcite-components/3QTJJQOU.js +0 -4
- package/dist/collection/vendor/calcite-components/42IFRZST.js +0 -4
- package/dist/collection/vendor/calcite-components/43WAE6RK.js +0 -4
- package/dist/collection/vendor/calcite-components/4657LRIL.js +0 -4
- package/dist/collection/vendor/calcite-components/4D34RBQ3.js +0 -4
- package/dist/collection/vendor/calcite-components/4EMDDOBJ.js +0 -4
- package/dist/collection/vendor/calcite-components/4IX3YHER.js +0 -4
- package/dist/collection/vendor/calcite-components/4JFCCMPV.js +0 -4
- package/dist/collection/vendor/calcite-components/4RVJ5ZT4.js +0 -4
- package/dist/collection/vendor/calcite-components/53I6TTJJ.js +0 -4
- package/dist/collection/vendor/calcite-components/54KMPSZ3.js +0 -4
- package/dist/collection/vendor/calcite-components/555IAPRW.js +0 -4
- package/dist/collection/vendor/calcite-components/5BBZL5AE.js +0 -4
- package/dist/collection/vendor/calcite-components/5G52FOTN.js +0 -4
- package/dist/collection/vendor/calcite-components/5GU33MPG.js +0 -4
- package/dist/collection/vendor/calcite-components/5SFTADR5.js +0 -4
- package/dist/collection/vendor/calcite-components/5WCCH3GL.js +0 -4
- package/dist/collection/vendor/calcite-components/662YEAMX.js +0 -4
- package/dist/collection/vendor/calcite-components/6FZUWDUT.js +0 -4
- package/dist/collection/vendor/calcite-components/6PFLQ26Z.js +0 -4
- package/dist/collection/vendor/calcite-components/6PJ43C67.js +0 -4
- package/dist/collection/vendor/calcite-components/6TRPZGJP.js +0 -4
- package/dist/collection/vendor/calcite-components/6TWWOPNX.js +0 -4
- package/dist/collection/vendor/calcite-components/727HQUFD.js +0 -4
- package/dist/collection/vendor/calcite-components/74RWJ4QY.js +0 -4
- package/dist/collection/vendor/calcite-components/7AMBDXFL.js +0 -4
- package/dist/collection/vendor/calcite-components/7BGF2YXV.js +0 -5
- package/dist/collection/vendor/calcite-components/7KCRDGKA.js +0 -4
- package/dist/collection/vendor/calcite-components/7LREBCFI.js +0 -4
- package/dist/collection/vendor/calcite-components/7MTWQHV5.js +0 -4
- package/dist/collection/vendor/calcite-components/7NELI6UD.js +0 -4
- package/dist/collection/vendor/calcite-components/7PXHM6EH.js +0 -4
- package/dist/collection/vendor/calcite-components/7R52MWAP.js +0 -4
- package/dist/collection/vendor/calcite-components/A4XKVBOI.js +0 -4
- package/dist/collection/vendor/calcite-components/A57QY65K.js +0 -4
- package/dist/collection/vendor/calcite-components/A6VQQWXZ.js +0 -4
- package/dist/collection/vendor/calcite-components/AIDMQYMU.js +0 -4
- package/dist/collection/vendor/calcite-components/ASXEEA2B.js +0 -4
- package/dist/collection/vendor/calcite-components/AWSMJMWQ.js +0 -4
- package/dist/collection/vendor/calcite-components/AZ54J6HD.js +0 -4
- package/dist/collection/vendor/calcite-components/B2ETPGYX.js +0 -4
- package/dist/collection/vendor/calcite-components/B2JBOZ4Z.js +0 -4
- package/dist/collection/vendor/calcite-components/B4FD6KD7.js +0 -4
- package/dist/collection/vendor/calcite-components/B7E6VYNK.js +0 -4
- package/dist/collection/vendor/calcite-components/BD6SDCR6.js +0 -4
- package/dist/collection/vendor/calcite-components/BFQ3IRQW.js +0 -4
- package/dist/collection/vendor/calcite-components/BW2NQ5TQ.js +0 -4
- package/dist/collection/vendor/calcite-components/BZOMVSAG.js +0 -4
- package/dist/collection/vendor/calcite-components/C3AZYUGU.js +0 -4
- package/dist/collection/vendor/calcite-components/CBX7R3DS.js +0 -4
- package/dist/collection/vendor/calcite-components/CCXXBM5B.js +0 -4
- package/dist/collection/vendor/calcite-components/CG5B4XKZ.js +0 -4
- package/dist/collection/vendor/calcite-components/CHGJHDWI.js +0 -4
- package/dist/collection/vendor/calcite-components/CNADH63F.js +0 -4
- package/dist/collection/vendor/calcite-components/CV3G4HMQ.js +0 -4
- package/dist/collection/vendor/calcite-components/CWSVXKFX.js +0 -4
- package/dist/collection/vendor/calcite-components/CY5O5AGQ.js +0 -4
- package/dist/collection/vendor/calcite-components/D23ZXMLS.js +0 -4
- package/dist/collection/vendor/calcite-components/D276FT6Z.js +0 -4
- package/dist/collection/vendor/calcite-components/DG2T33QN.js +0 -4
- package/dist/collection/vendor/calcite-components/DJQ34CXE.js +0 -4
- package/dist/collection/vendor/calcite-components/DJREGHLR.js +0 -6
- package/dist/collection/vendor/calcite-components/DMXUBDZW.js +0 -4
- package/dist/collection/vendor/calcite-components/DNQY4EKR.js +0 -4
- package/dist/collection/vendor/calcite-components/DPFVN4EN.js +0 -4
- package/dist/collection/vendor/calcite-components/DRXWIPMI.js +0 -4
- package/dist/collection/vendor/calcite-components/DRYFM2IO.js +0 -4
- package/dist/collection/vendor/calcite-components/DUL66KKH.js +0 -4
- package/dist/collection/vendor/calcite-components/DVC5KGLT.js +0 -4
- package/dist/collection/vendor/calcite-components/E6X3KIZL.js +0 -4
- package/dist/collection/vendor/calcite-components/EG6UCGFB.js +0 -4
- package/dist/collection/vendor/calcite-components/EHAHKKFL.js +0 -4
- package/dist/collection/vendor/calcite-components/EIMDRXSI.js +0 -4
- package/dist/collection/vendor/calcite-components/EM7TVLTF.js +0 -4
- package/dist/collection/vendor/calcite-components/EP7IEI22.js +0 -4
- package/dist/collection/vendor/calcite-components/EWJY2L2V.js +0 -4
- package/dist/collection/vendor/calcite-components/EYQQPU2W.js +0 -4
- package/dist/collection/vendor/calcite-components/FB7CD3CH.js +0 -4
- package/dist/collection/vendor/calcite-components/FDBZMO4P.js +0 -4
- package/dist/collection/vendor/calcite-components/FFPGVFSC.js +0 -4
- package/dist/collection/vendor/calcite-components/FGYULWTE.js +0 -4
- package/dist/collection/vendor/calcite-components/FMKUEBDG.js +0 -4
- package/dist/collection/vendor/calcite-components/FRM3YXTH.js +0 -4
- package/dist/collection/vendor/calcite-components/FW6R63UX.js +0 -4
- package/dist/collection/vendor/calcite-components/FXTXVVOM.js +0 -4
- package/dist/collection/vendor/calcite-components/FXXGJ3RT.js +0 -4
- package/dist/collection/vendor/calcite-components/FYHE5C5Q.js +0 -4
- package/dist/collection/vendor/calcite-components/G33CDSRC.js +0 -4
- package/dist/collection/vendor/calcite-components/G6XUWYVF.js +0 -4
- package/dist/collection/vendor/calcite-components/GCIH5FK5.js +0 -4
- package/dist/collection/vendor/calcite-components/GE5Y3RWM.js +0 -4
- package/dist/collection/vendor/calcite-components/GEZNDNDH.js +0 -4
- package/dist/collection/vendor/calcite-components/GNJWHQYO.js +0 -4
- package/dist/collection/vendor/calcite-components/GZ5TMSIR.js +0 -4
- package/dist/collection/vendor/calcite-components/GZJIMDTR.js +0 -4
- package/dist/collection/vendor/calcite-components/H23GHBD2.js +0 -5
- package/dist/collection/vendor/calcite-components/H2SIT2TB.js +0 -4
- package/dist/collection/vendor/calcite-components/HC7MYCXC.js +0 -4
- package/dist/collection/vendor/calcite-components/HD5QD64Q.js +0 -4
- package/dist/collection/vendor/calcite-components/HDELZP2B.js +0 -4
- package/dist/collection/vendor/calcite-components/HGDJL4SA.js +0 -4
- package/dist/collection/vendor/calcite-components/HHVWJ7MU.js +0 -4
- package/dist/collection/vendor/calcite-components/HJYTX5BK.js +0 -4
- package/dist/collection/vendor/calcite-components/HMFDWMJH.js +0 -4
- package/dist/collection/vendor/calcite-components/HXESYKZM.js +0 -4
- package/dist/collection/vendor/calcite-components/I4BAPULM.js +0 -4
- package/dist/collection/vendor/calcite-components/I6RIFD3V.js +0 -5
- package/dist/collection/vendor/calcite-components/IDZWSTZZ.js +0 -4
- package/dist/collection/vendor/calcite-components/IFAY5ZXB.js +0 -4
- package/dist/collection/vendor/calcite-components/IO5HOHW4.js +0 -4
- package/dist/collection/vendor/calcite-components/ISXEUIFH.js +0 -4
- package/dist/collection/vendor/calcite-components/IXUF77L2.js +0 -4
- package/dist/collection/vendor/calcite-components/J27B5CWI.js +0 -4
- package/dist/collection/vendor/calcite-components/JAKKKROM.js +0 -4
- package/dist/collection/vendor/calcite-components/JNDUGIK6.js +0 -4
- package/dist/collection/vendor/calcite-components/JNNP4QF3.js +0 -4
- package/dist/collection/vendor/calcite-components/JVSUOTAZ.js +0 -4
- package/dist/collection/vendor/calcite-components/JWEMBAET.js +0 -4
- package/dist/collection/vendor/calcite-components/JWKRGDRV.js +0 -4
- package/dist/collection/vendor/calcite-components/JZQ73NRM.js +0 -4
- package/dist/collection/vendor/calcite-components/K7OAUX24.js +0 -4
- package/dist/collection/vendor/calcite-components/KKM7CKQA.js +0 -4
- package/dist/collection/vendor/calcite-components/KMEUFDPK.js +0 -4
- package/dist/collection/vendor/calcite-components/KNH6FSL4.js +0 -4
- package/dist/collection/vendor/calcite-components/KPMQXN4M.js +0 -4
- package/dist/collection/vendor/calcite-components/KWU2E4JE.js +0 -4
- package/dist/collection/vendor/calcite-components/L4WAR5X4.js +0 -4
- package/dist/collection/vendor/calcite-components/LKJAWTVJ.js +0 -4
- package/dist/collection/vendor/calcite-components/LLS4XVIW.js +0 -4
- package/dist/collection/vendor/calcite-components/LNECFRUM.js +0 -4
- package/dist/collection/vendor/calcite-components/LYQ7FJT2.js +0 -4
- package/dist/collection/vendor/calcite-components/M2KTEEUG.js +0 -4
- package/dist/collection/vendor/calcite-components/M5OIZS7N.js +0 -28
- package/dist/collection/vendor/calcite-components/M64PHLHQ.js +0 -4
- package/dist/collection/vendor/calcite-components/MQ3MSMTP.js +0 -4
- package/dist/collection/vendor/calcite-components/MTNJMPLV.js +0 -4
- package/dist/collection/vendor/calcite-components/MXGPGCYC.js +0 -4
- package/dist/collection/vendor/calcite-components/MYNPH67G.js +0 -4
- package/dist/collection/vendor/calcite-components/N5OBZLJZ.js +0 -4
- package/dist/collection/vendor/calcite-components/NJYFPOKV.js +0 -4
- package/dist/collection/vendor/calcite-components/NJZE4A4X.js +0 -4
- package/dist/collection/vendor/calcite-components/NSHK3NTJ.js +0 -4
- package/dist/collection/vendor/calcite-components/NYER6YT7.js +0 -4
- package/dist/collection/vendor/calcite-components/NYZ4ODDA.js +0 -4
- package/dist/collection/vendor/calcite-components/O4AAP54K.js +0 -4
- package/dist/collection/vendor/calcite-components/OETUMACB.js +0 -4
- package/dist/collection/vendor/calcite-components/OFPYZZUF.js +0 -4
- package/dist/collection/vendor/calcite-components/OFXV3CF7.js +0 -4
- package/dist/collection/vendor/calcite-components/PAJGY3XV.js +0 -4
- package/dist/collection/vendor/calcite-components/PENB3O7H.js +0 -4
- package/dist/collection/vendor/calcite-components/PNCVHWAE.js +0 -4
- package/dist/collection/vendor/calcite-components/PYGWJ6OV.js +0 -4
- package/dist/collection/vendor/calcite-components/Q32GNFQO.js +0 -22
- package/dist/collection/vendor/calcite-components/Q6HTE6MQ.js +0 -4
- package/dist/collection/vendor/calcite-components/QAO6BQAD.js +0 -4
- package/dist/collection/vendor/calcite-components/QBMZKO4M.js +0 -4
- package/dist/collection/vendor/calcite-components/QCKKEDB2.js +0 -4
- package/dist/collection/vendor/calcite-components/QQEBBK2A.js +0 -4
- package/dist/collection/vendor/calcite-components/R4J2EZFU.js +0 -4
- package/dist/collection/vendor/calcite-components/R5EHQKMO.js +0 -4
- package/dist/collection/vendor/calcite-components/R7GOP347.js +0 -4
- package/dist/collection/vendor/calcite-components/RBMLFM2L.js +0 -4
- package/dist/collection/vendor/calcite-components/RBQ6BI6C.js +0 -4
- package/dist/collection/vendor/calcite-components/REF7SAQQ.js +0 -4
- package/dist/collection/vendor/calcite-components/REWMVFVL.js +0 -4
- package/dist/collection/vendor/calcite-components/RI3WTZXE.js +0 -4
- package/dist/collection/vendor/calcite-components/RL7IIXTZ.js +0 -4
- package/dist/collection/vendor/calcite-components/RM7LSSHL.js +0 -4
- package/dist/collection/vendor/calcite-components/RREZDRNN.js +0 -4
- package/dist/collection/vendor/calcite-components/SHERIRO4.js +0 -4
- package/dist/collection/vendor/calcite-components/SK7NKNHK.js +0 -4
- package/dist/collection/vendor/calcite-components/SODGHLU2.js +0 -4
- package/dist/collection/vendor/calcite-components/SP6U5EWI.js +0 -4
- package/dist/collection/vendor/calcite-components/SQKZ5EZF.js +0 -4
- package/dist/collection/vendor/calcite-components/SX4MCPF2.js +0 -5
- package/dist/collection/vendor/calcite-components/TIGHTLQD.js +0 -4
- package/dist/collection/vendor/calcite-components/TMKEB7G7.js +0 -4
- package/dist/collection/vendor/calcite-components/TURDT3VB.js +0 -4
- package/dist/collection/vendor/calcite-components/TX7QHHK5.js +0 -4
- package/dist/collection/vendor/calcite-components/TYMOPXYL.js +0 -4
- package/dist/collection/vendor/calcite-components/TZECTLA6.js +0 -4
- package/dist/collection/vendor/calcite-components/U3RO6UCM.js +0 -4
- package/dist/collection/vendor/calcite-components/U5FUMAFV.js +0 -4
- package/dist/collection/vendor/calcite-components/UM5EV3V4.js +0 -4
- package/dist/collection/vendor/calcite-components/UOX45Z7K.js +0 -4
- package/dist/collection/vendor/calcite-components/UXTWTW75.js +0 -4
- package/dist/collection/vendor/calcite-components/V5ZZKGAM.js +0 -4
- package/dist/collection/vendor/calcite-components/VTA2PRG5.js +0 -4
- package/dist/collection/vendor/calcite-components/VY37PIFG.js +0 -4
- package/dist/collection/vendor/calcite-components/W25AOEEB.js +0 -4
- package/dist/collection/vendor/calcite-components/W3TNJWVO.js +0 -4
- package/dist/collection/vendor/calcite-components/WQHOMJR2.js +0 -4
- package/dist/collection/vendor/calcite-components/WW65BUEL.js +0 -4
- package/dist/collection/vendor/calcite-components/WWZTCRUR.js +0 -4
- package/dist/collection/vendor/calcite-components/X6UMFXM3.js +0 -4
- package/dist/collection/vendor/calcite-components/XCTRH7IZ.js +0 -4
- package/dist/collection/vendor/calcite-components/XJTPF3VE.js +0 -4
- package/dist/collection/vendor/calcite-components/XNWWFGXG.js +0 -4
- package/dist/collection/vendor/calcite-components/YG6EDHOT.js +0 -4
- package/dist/collection/vendor/calcite-components/YHRT6LHF.js +0 -4
- package/dist/collection/vendor/calcite-components/YMNIMOT5.js +0 -4
- package/dist/collection/vendor/calcite-components/YQDDGBKI.js +0 -4
- package/dist/collection/vendor/calcite-components/YYWX5ACS.js +0 -4
- package/dist/collection/vendor/calcite-components/Z5J5AV2N.js +0 -4
- package/dist/collection/vendor/calcite-components/Z5POWLIV.js +0 -4
- package/dist/collection/vendor/calcite-components/ZCF5FXJ6.js +0 -4
- package/dist/collection/vendor/calcite-components/ZCPJODER.js +0 -4
- package/dist/collection/vendor/calcite-components/ZIIE4X52.js +0 -4
- package/dist/collection/vendor/calcite-components/ZQ4RAM3U.js +0 -4
- package/dist/collection/vendor/calcite-components/ZXDWFKG4.js +0 -4
- package/dist/solutions-components/p-00ec642f.entry.js +0 -6
- package/dist/solutions-components/p-02c4e6fc.entry.js +0 -6
- package/dist/solutions-components/p-5a202f3f.entry.js +0 -6
- package/dist/solutions-components/p-8859b622.entry.js +0 -6
- package/dist/solutions-components/p-a6e763aa.entry.js +0 -6
- package/dist/solutions-components/p-de42e8b2.entry.js +0 -6
- package/dist/solutions-components/p-ea566af0.entry.js +0 -6
- package/dist/solutions-components/p-eb3c867f.entry.js +0 -6
- package/dist/solutions-components/p-ec867c21.entry.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/22LZVO5E.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/2A6QEASM.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/2BGT5TEK.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/2CPYXWOG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/2GEBE6K3.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/2QA56E26.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/2YRZB4NM.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/36XHP2FJ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/3COQK7PF.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/3DM4HAHW.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/3PTTJYHL.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/3QHDLMLZ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/3QTJJQOU.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/42IFRZST.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/43WAE6RK.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/4657LRIL.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/4D34RBQ3.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/4EMDDOBJ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/4IX3YHER.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/4JFCCMPV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/4RVJ5ZT4.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/53I6TTJJ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/54KMPSZ3.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/555IAPRW.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/5BBZL5AE.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/5G52FOTN.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/5GU33MPG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/5SFTADR5.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/5WCCH3GL.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/662YEAMX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/6FZUWDUT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/6PFLQ26Z.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/6PJ43C67.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/6TRPZGJP.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/6TWWOPNX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/727HQUFD.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/74RWJ4QY.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/7AMBDXFL.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/7BGF2YXV.js +0 -5
- package/dist/solutions-components/vendor/calcite-components/7KCRDGKA.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/7LREBCFI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/7MTWQHV5.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/7NELI6UD.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/7PXHM6EH.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/7R52MWAP.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/A4XKVBOI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/A57QY65K.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/A6VQQWXZ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/AIDMQYMU.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ASXEEA2B.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/AWSMJMWQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/AZ54J6HD.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/B2ETPGYX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/B2JBOZ4Z.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/B4FD6KD7.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/B7E6VYNK.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/BD6SDCR6.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/BFQ3IRQW.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/BW2NQ5TQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/BZOMVSAG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/C3AZYUGU.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/CBX7R3DS.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/CCXXBM5B.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/CG5B4XKZ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/CHGJHDWI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/CNADH63F.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/CV3G4HMQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/CWSVXKFX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/CY5O5AGQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/D23ZXMLS.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/D276FT6Z.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DG2T33QN.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DJQ34CXE.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DJREGHLR.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/DMXUBDZW.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DNQY4EKR.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DPFVN4EN.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DRXWIPMI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DRYFM2IO.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DUL66KKH.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DVC5KGLT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/E6X3KIZL.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/EG6UCGFB.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/EHAHKKFL.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/EIMDRXSI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/EM7TVLTF.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/EP7IEI22.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/EWJY2L2V.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/EYQQPU2W.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FB7CD3CH.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FDBZMO4P.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FFPGVFSC.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FGYULWTE.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FMKUEBDG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FRM3YXTH.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FW6R63UX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FXTXVVOM.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FXXGJ3RT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FYHE5C5Q.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/G33CDSRC.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/G6XUWYVF.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GCIH5FK5.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GE5Y3RWM.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GEZNDNDH.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GNJWHQYO.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GZ5TMSIR.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GZJIMDTR.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/H23GHBD2.js +0 -5
- package/dist/solutions-components/vendor/calcite-components/H2SIT2TB.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/HC7MYCXC.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/HD5QD64Q.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/HDELZP2B.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/HGDJL4SA.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/HHVWJ7MU.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/HJYTX5BK.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/HMFDWMJH.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/HXESYKZM.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/I4BAPULM.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/I6RIFD3V.js +0 -5
- package/dist/solutions-components/vendor/calcite-components/IDZWSTZZ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/IFAY5ZXB.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/IO5HOHW4.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ISXEUIFH.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/IXUF77L2.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/J27B5CWI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JAKKKROM.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JNDUGIK6.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JNNP4QF3.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JVSUOTAZ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JWEMBAET.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JWKRGDRV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JZQ73NRM.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/K7OAUX24.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KKM7CKQA.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KMEUFDPK.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KNH6FSL4.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KPMQXN4M.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KWU2E4JE.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/L4WAR5X4.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/LKJAWTVJ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/LLS4XVIW.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/LNECFRUM.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/LYQ7FJT2.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/M2KTEEUG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/M5OIZS7N.js +0 -28
- package/dist/solutions-components/vendor/calcite-components/M64PHLHQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MQ3MSMTP.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MTNJMPLV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MXGPGCYC.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MYNPH67G.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/N5OBZLJZ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/NJYFPOKV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/NJZE4A4X.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/NSHK3NTJ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/NYER6YT7.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/NYZ4ODDA.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/O4AAP54K.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/OETUMACB.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/OFPYZZUF.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/OFXV3CF7.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/PAJGY3XV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/PENB3O7H.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/PNCVHWAE.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/PYGWJ6OV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/Q32GNFQO.js +0 -22
- package/dist/solutions-components/vendor/calcite-components/Q6HTE6MQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/QAO6BQAD.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/QBMZKO4M.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/QCKKEDB2.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/QQEBBK2A.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/R4J2EZFU.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/R5EHQKMO.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/R7GOP347.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RBMLFM2L.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RBQ6BI6C.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/REF7SAQQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/REWMVFVL.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RI3WTZXE.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RL7IIXTZ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RM7LSSHL.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RREZDRNN.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/SHERIRO4.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/SK7NKNHK.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/SODGHLU2.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/SP6U5EWI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/SQKZ5EZF.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/SX4MCPF2.js +0 -5
- package/dist/solutions-components/vendor/calcite-components/TIGHTLQD.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/TMKEB7G7.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/TURDT3VB.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/TX7QHHK5.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/TYMOPXYL.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/TZECTLA6.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/U3RO6UCM.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/U5FUMAFV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/UM5EV3V4.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/UOX45Z7K.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/UXTWTW75.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/V5ZZKGAM.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/VTA2PRG5.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/VY37PIFG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/W25AOEEB.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/W3TNJWVO.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/WQHOMJR2.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/WW65BUEL.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/WWZTCRUR.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/X6UMFXM3.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/XCTRH7IZ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/XJTPF3VE.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/XNWWFGXG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YG6EDHOT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YHRT6LHF.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YMNIMOT5.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YQDDGBKI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YYWX5ACS.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/Z5J5AV2N.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/Z5POWLIV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ZCF5FXJ6.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ZCPJODER.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ZIIE4X52.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ZQ4RAM3U.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ZXDWFKG4.js +0 -4
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,c as i,g as e,h as s,H as a}from"./p-e996c38f.js";import{g as h}from"./p-404cbf48.js";import{g as n,d as o,n as l}from"./p-dcd2f00b.js";import{s as r}from"./p-e6859850.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";import"./p-8717729a.js";const c=class{constructor(e){t(this,e),this.beforeLayerSelectionChange=i(this,"beforeLayerSelectionChange",7),this.idsFound=i(this,"idsFound",7),this.noLayersFound=i(this,"noLayersFound",7),this.layerSelectionChange=i(this,"layerSelectionChange",7),this.appearance="transparent",this.defaultLayerId="",this.display="inline-block",this.enabledLayerIds=[],this.enabledTableIds=[],this.height=void 0,this.isMobile=void 0,this.locale=void 0,this.mapView=void 0,this.onlyShowUpdatableLayers=void 0,this.placeholderIcon="",this.selectedIds=[],this.scale="m",this.showTables=void 0,this.showTablesDisabled=void 0,this.showSingleLayerAsLabel=!1,this.type="select",this._hasMultipleLayers=!0,this._hasValidLayers=!0,this._isDropdownOpen=void 0,this.ids=[],this.selectedName="",this._translations=void 0}get el(){return e(this)}defaultLayerHonored=!1;_layerElement;_layerNameHash;_skipEditCheck=!1;_tableNameHash;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(){await this._setLayers(),this.ids.length>0?(this._hasValidLayers=!0,this._hasMultipleLayers=this.ids.length>1,this._setSelectedLayer(this.ids[0])):(this._hasValidLayers=!1,this.noLayersFound.emit())}async setLayerById(t,i=!1){this._skipEditCheck=i,this._setSelectedLayer(t),this._skipEditCheck=!1}async setLayerByIds(t,i=!1){this._skipEditCheck=i,this._layerSelectionChange(t),this._skipEditCheck=!1}async updateLayer(){this._setSelectedLayer(this.ids[0])}beforeLayerSelectionChange;idsFound;noLayersFound;layerSelectionChange;async componentWillLoad(){await this._getTranslations(),await this._setLayers()}async componentWillRender(){if(this.ids.length>0||1===this.selectedIds.length){const t=1===this.selectedIds.length?this.selectedIds[0]:this.ids[0];if(t!==this.selectedIds[0])this._setSelectedLayer(t);else{const t=await n(this.mapView,this.selectedIds[0]);this.selectedName=t?.title}}}render(){const t="map-layer-picker";let i=this.height>0?{height:`${this.height.toString()}px`}:{};return i={...i,display:this.display},s(a,{key:"a4d7a923fcf0b6ec488fafa3af8b3c3a9599d61a"},s("div",{key:"54d5cde231707391537fbd649647a5b9e86a1ab3",class:"map-layer-picker-container",style:i},s("div",{key:"1d1329f393778e561bfed22a1c1542cd75d4b55b",class:"map-layer-picker",style:i},this._hasValidLayers?!this._hasMultipleLayers&&this.showSingleLayerAsLabel?this._getSingleLayerPlaceholder():"combobox"===this.type?this._getCombobox(t):"select"===this.type?this._getSelect(t):this._getDropdown(t):this._getInvalidPlaceholder())))}async componentDidLoad(){if(this.ids.length>0||1===this.selectedIds.length){const t=1===this.selectedIds.length?this.selectedIds[0]:this.ids[0];"select"===this.type?this._layerElement.value=t:"dropdown"===this.type&&(this.selectedName=Object.keys(this._layerNameHash).indexOf(t)>-1?this._layerNameHash[t].name:Object.keys(this._tableNameHash).indexOf(t)>-1?this._tableNameHash[t].name:"")}}_getInvalidPlaceholder(){return s("div",null,s("calcite-notice",{class:"height-100",icon:"exclamation-mark-triangle",id:"no-valid-layers",kind:"danger",open:!0},s("div",{slot:"message"},this._translations.noLayersFound)),s("calcite-tooltip",{label:this._translations.enableEditUpdate,placement:"bottom","reference-element":"no-valid-layers"},s("span",null,this._translations.enableEditUpdate)))}_getSingleLayerPlaceholder(){const t=this._getItemTypeIcon();return s("div",{class:"layer-picker-label-container cursor-default"},s("calcite-icon",{icon:t,scale:"s"}),s("calcite-label",{class:"no-bottom-margin padding-start-1"},this.selectedName))}_getSelect(t){return s("calcite-select",{id:t,label:"",onCalciteSelectChange:()=>this._layerSelectionChange(),ref:t=>{this._layerElement=t},scale:this.scale},this._getMapLayerOptions())}_getCombobox(t){return s("calcite-combobox",{clearDisabled:!0,id:t,label:"",onCalciteComboboxChange:()=>this._layerSelectionChange(),"placeholder-icon":this.placeholderIcon,ref:t=>{this._layerElement=t},scale:this.scale,"selection-mode":"single"},this._getMapLayerOptions())}_getDropdown(t){return s("calcite-dropdown",{class:"layer-picker-dropdown",onCalciteDropdownBeforeClose:()=>this._isDropdownOpen=!1,onCalciteDropdownBeforeOpen:()=>this._isDropdownOpen=!0},this.isMobile?this._getDropdownButton():this._getActionDropdownButton(t),s("calcite-dropdown-group",{"selection-mode":"single"},this._getMapLayerOptions()))}_getActionDropdownButton(t){return s("calcite-action",{id:t,slot:"trigger",text:""},this._getDropdownButton())}_getDropdownButton(){const t=this._getItemTypeIcon();return s("calcite-button",{alignment:"icon-end-space-between",appearance:this.appearance,class:this.isMobile?"":"max-width-350",iconEnd:this._isDropdownOpen?"chevron-up":"chevron-down",iconStart:t,kind:"neutral",slot:this.isMobile?"trigger":"",width:"full"},s("div",null,this.selectedName))}_getItemTypeIcon(){let t="layers";if(this.selectedIds.length>0&&this._layerNameHash){const i=this.selectedIds[0];t=Object.keys(this._layerNameHash).indexOf(i)>-1?"layers":"table"}return t}_getMapLayerOptions(){return this.ids.reduce(((t,i)=>(this._validLayer(i)?t.push(this._getItem(i,"layer")):this._validTable(i)&&t.push(this._getItem(i,"table")),t)),[])}_getItem(t,i){const e="layer"===i?this._layerNameHash[t]:this._tableNameHash[t],a=!!this.onlyShowUpdatableLayers&&!e.supportsUpdate,h=e.name,n=this.selectedIds.indexOf(t)>-1;return"combobox"===this.type?s("calcite-combobox-item",{disabled:a,selected:n,textLabel:h,value:t}):"select"===this.type?s("calcite-option",{disabled:a,label:h,selected:n,value:t}):s("calcite-dropdown-group",{class:a?"disabled":"",selectionMode:a?"none":"single"},s("calcite-dropdown-item",{disabled:"table"===i&&this.showTablesDisabled,"icon-start":i,onClick:a?void 0:()=>{this._setSelectedLayer(t)},selected:n},h))}_setSelectedLayer(t){let i;this.defaultLayerId&&!this.defaultLayerHonored&&(i=this._getLayerFromHash(this.defaultLayerId),this.defaultLayerHonored=void 0!==i,t=this.defaultLayerHonored?this.defaultLayerId:t),i=i||this._getLayerFromHash(t),(this._skipEditCheck||!this.beforeLayerSelectionChange.emit({currentId:this.selectedIds[0],newId:t,ref:this.el}).defaultPrevented)&&(this.selectedName=i?.name,this.selectedIds=[t],this.layerSelectionChange.emit(this.selectedIds))}_getLayerFromHash(t){return Object.keys(this._layerNameHash).indexOf(t)>-1?this._layerNameHash[t]:Object.keys(this._tableNameHash).indexOf(t)>-1?this._tableNameHash[t]:void 0}async _setLayers(){if(this.mapView){await this._initLayerTableHash();const t=this.onlyShowUpdatableLayers?this._getEditableIds(this._layerNameHash):Object.keys(this._layerNameHash),i=this.showTables?this.onlyShowUpdatableLayers?this._getEditableIds(this._tableNameHash):Object.keys(this._tableNameHash):[];this.ids=[...t.reverse().filter((t=>!(this.enabledLayerIds?.length>0)||this.enabledLayerIds.reverse().indexOf(t)>-1)),...i.reverse().filter((t=>!(this.enabledTableIds?.length>0)||this.enabledTableIds.reverse().indexOf(t)>-1))],this.idsFound.emit({layerIds:t,tableIds:i})}}_getEditableIds(t){return Object.keys(t).reduce(((i,e)=>(t[e].supportsUpdate&&i.push(e),i)),[])}async _initLayerTableHash(){this._layerNameHash=await o(this.mapView,this.onlyShowUpdatableLayers),this._tableNameHash=this.showTables?await l(this.mapView,this.onlyShowUpdatableLayers):{}}_validLayer(t){const i=this._layerNameHash[t]?.name;return i&&Object.keys(r.managedLayers).indexOf(i)<0&&(!(this.enabledLayerIds.length>0)||this.enabledLayerIds.indexOf(t)>-1)}_validTable(t){const i=this._tableNameHash[t]?.name,e=i&&this.showTables;return e?r.managedTables.indexOf(i)<0&&(!(this.enabledTableIds.length>0)||this.enabledTableIds.indexOf(t)>-1):e}_layerSelectionChange(t){const i=t||(Array.isArray(this._layerElement.value)?this._layerElement.value:[this._layerElement.value]);if(JSON.stringify(i)!==JSON.stringify([""])){if(!this._skipEditCheck&&this.beforeLayerSelectionChange.emit({currentIds:this.selectedIds,newIds:i,ref:this.el}).defaultPrevented)return;this.selectedIds=i,this.layerSelectionChange.emit(this.selectedIds)}}async _getTranslations(){const t=await h(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"]}}};c.style=":host{display:block}.map-layer-picker-container{width:100%;align-items:center}.map-layer-picker{position:relative;width:100%;display:inline-block}.padding-bottom-1{padding-bottom:1rem}.layer-picker-dropdown{height:100%;width:100%}.max-width-350{max-width:350px}.height-100{height:100%}.disabled{cursor:default !important;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.no-bottom-margin{--calcite-label-margin-bottom:0px}.layer-picker-label-container{align-items:center;display:inline-flex;height:100%;padding-inline-start:1rem;padding-inline-end:1rem}.padding-start-1{padding-inline-start:1rem}.cursor-default{cursor:default}";export{c as map_layer_picker}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as i,c as t,g as e,h as s,H as a}from"./p-e996c38f.js";import{a as h,l,g as n}from"./p-404cbf48.js";import{e as o,h as r,i as c,j as d,c as p,k as b,l as g,m as f}from"./p-dcd2f00b.js";import{a as y,e as m,f as u}from"./p-80cb7c73.js";import{s as w}from"./p-e6859850.js";import{d as v,a as _}from"./p-db3391b9.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-8717729a.js";import"./p-4fe489cf.js";import"./p-2bc98cb0.js";import"./p-4f236b5d.js";import"./p-570b13d9.js";import"./p-0668e30d.js";const S=class{constructor(e){i(this,e),this.selectionSetChange=t(this,"selectionSetChange",7),this.bufferColor=[227,139,79,.8],this.bufferOutlineColor=[255,255,255],this.customLabelEnabled=void 0,this.enabledLayerIds=[],this.enableLayerFeatures=!0,this.enableLayerFeaturesOnLoad=!1,this.enableSearchDistance=!0,this.enableSearchDistanceOnLoad=!1,this.enableSketchTools=!0,this.defaultBufferDistance=void 0,this.defaultBufferUnit=void 0,this.geometries=[],this.isUpdate=!1,this.layerViews=[],this.locale=void 0,this.mapView=void 0,this.noResultText=void 0,this.searchConfiguration=void 0,this.selectionSet=void 0,this.selectionLayerIds=[],this.selectLayerView=void 0,this.sketchLineSymbol=void 0,this.sketchPointSymbol=void 0,this.sketchPolygonSymbol=void 0,this.searchDistanceEnabled=!1,this.useLayerFeaturesEnabled=!1,this._numSelected=0,this._searchTerm=void 0,this._selectionLoading=!1,this._translations=void 0}get el(){return e(this)}_esriRequest;FeatureLayer;Graphic;GraphicsLayer;Search;_geometryEngine;_bufferGeometry;_bufferGraphicsLayer;_bufferTools;_distance;_drawTools;_labelName;_selectLayers;_searchElement;_searchResult;_searchWidget;_selectedIds=[];_selectionLabel="";_skipGeomOIDs;_sketchGraphic;_graphics=[];_unit;_workflowType;_featuresCollection={};async watchGeometriesHandler(i,t){if(i!==t){const t=0===i.length;if(await this._clearResults(t,t),i.length>0)return this._highlightWithOIDsOrGeoms()}}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(i,t){i&&i!==t&&await this._init()}async watchSearchConfigurationHandler(i,t){JSON.stringify(i)!==JSON.stringify(t)&&await this._initSearchWidget()}async clearSelection(){return this._clearResults(!0,!0)}async getSelection(){return/\S+/gm.test(this._selectionLabel)||await this._updateLabel(),{id:this.isUpdate?this.selectionSet.id:Date.now(),searchResult:this._searchResult,buffer:this._bufferGeometry,distance:this._bufferTools?.distance,download:!0,unit:this._bufferTools?.unit,label:this._selectionLabel,selectedIds:this._selectedIds,layerView:this.selectLayerView,geometries:this.geometries,graphics:this._graphics,selectLayers:this.layerViews,skipGeomOIDs:this._skipGeomOIDs,searchDistanceEnabled:this.searchDistanceEnabled,workflowType:this._workflowType,useLayerFeaturesEnabled:this.useLayerFeaturesEnabled,sketchGraphic:this._sketchGraphic}}selectionSetChange;searchConfigurationChangeChanged(i){this.searchConfiguration=i.detail}async distanceChanged(i){await this._distanceChanged(i.detail)}async unitChanged(i){i.detail.newValue!==i.detail.oldValue&&(this._unit=i.detail.newValue,await this._updateLabel())}async componentWillLoad(){await this._getTranslations(),await this._initModules()}async componentDidLoad(){await this._init()}render(){const i=this.enableSketchTools?"":"display-none",t=this.enableSketchTools?"padding-top-1":"";return s(a,{key:"a5001c196db1464bffa746310638b2853ff5fdf9"},this._getMapLayerPicker(),s("div",{key:"3e023a81f76bdd371c84d9ecb42e97a9160c6f89",class:"border-bottom"}),s("div",{key:"c6be571bee2d2c1fe82407aee9a1cf9f1f27280d",class:"padding-top-sides-1"},s("div",{key:"aaf5992f616728f6be5be034700ac09b9b5b733f",class:"search-widget",ref:i=>{this._searchElement=i}}),s("div",{key:"a86b4e147b7baf4b93272bed7f189a47faf65ab8",class:t},s("map-draw-tools",{key:"9b3c2faaa8f612d055189206e2baeb868d55dceb",active:!0,class:i,editGraphicsEnabled:!this.useLayerFeaturesEnabled,graphics:this._graphics,locale:this.locale,mapView:this.mapView,onSketchGraphicsChange:i=>{this._sketchGraphicsChanged(i)},pointSymbol:this.sketchPointSymbol,polygonSymbol:this.sketchPolygonSymbol,polylineSymbol:this.sketchLineSymbol,ref:i=>{this._drawTools=i}})),this.enableSearchDistance?this._getBufferOptions():void 0,this.enableLayerFeatures?this._getUseLayerFeaturesOptions():void 0,this._getNumSelected()),s("div",{key:"73b3039f0861046a3f955872180b64c15bd5c5d9",class:"border-bottom"}),this._getNameInput())}_getBufferOptions(){this.enableSearchDistanceOnLoad&&(this.searchDistanceEnabled=!0,this.enableSearchDistanceOnLoad=!1);const i=this.searchDistanceEnabled?"search-distance":"div-not-visible",t="number"==typeof this.selectionSet?.distance?this.selectionSet.distance:this.defaultBufferDistance;return s("div",null,s("div",{class:"padding-top-1 display-flex"},s("calcite-label",{class:"label-margin-0 w-100",layout:"inline-space-between"},s("div",{class:"tooltip-container"},this._translations.searchDistance,s("calcite-icon",{class:"padding-start-1-2 icon",flipRtl:!("he"===this.locale?.toLowerCase()),icon:"question",id:"search-distance-icon",scale:"s"}))),s("calcite-popover",{closable:!0,label:"",overlayPositioning:"fixed",referenceElement:"search-distance-icon"},s("span",{class:"tooltip-message"},this._translations.useSearchDistanceTootip)),s("calcite-switch",{checked:this.searchDistanceEnabled,onCalciteSwitchChange:()=>this.searchDistanceEnabled=!this.searchDistanceEnabled})),s("div",{class:i},s("buffer-tools",{disabled:!this.searchDistanceEnabled,distance:t,geometries:this.geometries,locale:this.locale,onBufferComplete:i=>{this._bufferComplete(i)},ref:i=>this._bufferTools=i,unit:this.selectionSet?.unit||this.defaultBufferUnit})))}_getUseLayerFeaturesOptions(){this.enableLayerFeaturesOnLoad&&(this.useLayerFeaturesEnabled=!0,this.enableLayerFeaturesOnLoad=!1);const i=this.useLayerFeaturesEnabled?"div-visible":"div-not-visible";return s("div",null,s("div",{class:"padding-top-1 display-flex"},s("calcite-label",{class:"label-margin-0 w-100",layout:"inline-space-between"},s("div",{class:"tooltip-container"},this._translations.useLayerFeatures,s("calcite-icon",{class:"padding-start-1-2 icon",flipRtl:!("he"===this.locale?.toLowerCase()),icon:"question",id:"use-layer-features-icon",scale:"s"}))),s("calcite-popover",{closable:!0,label:"",overlayPositioning:"fixed",referenceElement:"use-layer-features-icon"},s("span",{class:"tooltip-message"},this._translations.useLayerFeaturesTooltip)),s("calcite-switch",{checked:this.useLayerFeaturesEnabled,onCalciteSwitchChange:()=>{this._useLayerFeaturesEnabledChanged()}})),s("div",{class:i+" padding-top-1"},s("map-layer-picker",{enabledLayerIds:this.selectionLayerIds,locale:this.locale,mapView:this.mapView,onLayerSelectionChange:i=>{this._layerSelectionChange(i)},selectedIds:this.layerViews.map((i=>i.layer.id)),showTables:!1})))}_getNumSelected(){const i=h(this.el),t=i&&"en"===i?`${this._translations.selectionLoading}...`:this._translations.selectionLoading;return s("div",{class:"padding-top-1 padding-bottom-1",style:{"align-items":"end",display:"flex"}},this._selectionLoading?s("div",null,s("calcite-loader",{class:"info-blue",inline:!0,label:t,scale:"m",type:"indeterminate"})):s("calcite-icon",{class:"info-blue padding-end-1-2",icon:"feature-layer",scale:"s"}),s("calcite-input-message",{class:"info-blue",scale:"m"},this._selectionLoading?t:this.noResultText&&0===this._numSelected?this.noResultText:this._translations.selectedFeatures.replace("{{n}}",this._numSelected.toString())))}_getNameInput(){return s("div",{class:"padding-sides-1 padding-top-1 "+(this.customLabelEnabled?"":"display-none")},s("calcite-label",{class:"font-bold"},this._translations.listName,s("calcite-input",{onInput:()=>{this._selectionLabel=this._labelName.value},placeholder:this._translations.listNamePlaceholder,ref:i=>{this._labelName=i},value:this._selectionLabel||""})))}_getMapLayerPicker(){return s("div",{class:"display-flex padding-sides-1 padding-bottom-1"},s("calcite-label",{class:"font-bold width-full label-margin-0"},this._translations.inputLayer,s("map-layer-picker",{enabledLayerIds:this.enabledLayerIds,locale:this.locale,mapView:this.mapView,onLayerSelectionChange:i=>{this._inputLayerSelectionChange(i)},selectedIds:this.selectLayerView?[this.selectLayerView.layer.id]:this.selectionSet?[this.selectionSet.layerView.layer.id]:[],showTables:!1})))}async _initModules(){const[i,t,e,s,a,h]=await l(["esri/request","esri/layers/GraphicsLayer","esri/Graphic","esri/widgets/Search","esri/geometry/geometryEngine","esri/layers/FeatureLayer"]);this._esriRequest=i,this.GraphicsLayer=t,this.Graphic=e,this.Search=s,this._geometryEngine=a,this.FeatureLayer=h}async _init(){this._initGraphicsLayer(),await this._initSelectionSet(),await this._initSearchWidget()}async _initSelectionSet(){this.selectionSet&&(this._searchTerm=this.selectionSet.searchResult?.name,this._searchResult=this.selectionSet.searchResult,this._selectLayers=this.selectionSet.selectLayers,this._selectedIds=this.selectionSet.selectedIds,this._skipGeomOIDs=this.selectionSet.skipGeomOIDs,this.searchDistanceEnabled=this.selectionSet.searchDistanceEnabled,this.useLayerFeaturesEnabled=this.selectionSet.useLayerFeaturesEnabled,this._distance=this.selectionSet.searchDistanceEnabled?this.selectionSet.distance:0,this._unit=this.selectionSet.unit,this._workflowType=this.selectionSet.workflowType,this.selectLayerView=this.selectionSet.layerView,this._sketchGraphic=this.selectionSet.sketchGraphic,this.geometries=[...this.selectionSet?.geometries||[]],this._graphics=this.geometries.map((i=>new this.Graphic({geometry:i,symbol:"point"===i.type?this.sketchPointSymbol:"polyline"===i.type?this.sketchLineSymbol:this.sketchPolygonSymbol}))),this._selectionLabel=this.selectionSet?.label,this.useLayerFeaturesEnabled||await(this._drawTools?.updateGraphics()),await o(this.selectionSet.selectedIds,this.selectionSet.layerView,this.mapView,!1))}async _initSearchWidget(){if(this.mapView&&this._searchElement){const i=this._getSearchConfig(this.searchConfiguration,this.mapView),t={view:this.mapView,container:this._searchElement,searchTerm:this._searchTerm,...i};this._searchWidget=new this.Search(t),this._searchWidget.popupEnabled=!1,this._searchWidget.resultGraphicEnabled=!1,this._searchWidget.on("search-clear",(()=>{const i=this._searchClearLabel();this._clearResults(!1,i)})),this._searchWidget.on("select-result",(i=>{this._selectResult(i.result)})),await this._searchWidget.when((()=>{this._searchWidget.allPlaceholder=this.searchConfiguration?.allPlaceholder&&"find address or place"!==this.searchConfiguration.allPlaceholder.toLowerCase()?this.searchConfiguration.allPlaceholder:this._translations.placeholder}))}}async _selectResult(i){if(i){this._searchResult=i;const t=i.feature,e=t?.layer,s=this.selectLayerView.layer,a=t?.getObjectId();let h,l;e?.sourceJSON?.isView&&(h=await this._getViewSourceUrl(e.url)),s?.sourceJSON?.isView&&(l=await this._getViewSourceUrl(s.url));const n=e?.url?.toLowerCase(),o=h?.toLowerCase(),r=s?.url?.toLowerCase(),c=l?.toLowerCase(),d=n&&r&&(n===r||n===c||o===r||o===c)&&!isNaN(a),p=d?[a]:void 0;this._workflowType=y.SEARCH,this._updateLabel();const b=[i.feature];this._updateSelection(b,d,p),this._drawTools.graphics=b,this._searchWidget.resultGraphic.visible=!1}else{const i=this._searchClearLabel();this._clearResults(!1,i)}}async _getViewSourceUrl(i){let t="";const e=`${i}/sources?f=json`;try{const i=await this._esriRequest(e,{query:{f:"json"}});1===i?.data?.services?.length&&(t=i.data.services[0].url)}catch(i){console.log(i)}return t}_searchClearLabel(){return this._searchResult?.name&&this._labelName.value.indexOf(this._searchResult.name)>-1}_getSearchConfig(i,t){const e=i?.sources;return e?.length>0?(i={...i,includeDefaultSources:!1},e.forEach((i=>{if(i.hasOwnProperty("layer")){const e=i,s=e.layer?.id,a=s?t.map.findLayerById(s):null,h=e?.layer?.url;a?e.layer=a:h&&(e.layer=new this.FeatureLayer(h))}})),e?.forEach((i=>{if(i.hasOwnProperty("locator")){const t=i;"ArcGIS World Geocoding Service"===t?.name&&(t.outFields=t.outFields||["Addr_type","Match_addr","StAddr","City"],t.singleLineFieldName="SingleLine"),t.url=t.url,delete t.url}}))):i={...i,includeDefaultSources:!0},i}_initGraphicsLayer(){const i=this._translations.bufferLayer;if(this.mapView){const t=this.mapView.map.layers.findIndex((t=>t.title===i));if(t>-1)this._bufferGraphicsLayer=this.mapView.map.layers.getItemAt(t);else{this._bufferGraphicsLayer=new this.GraphicsLayer({title:i,listMode:"hide"}),w.managedLayers[i]="buffer";const t=this.mapView.map.layers.findIndex((i=>i.title===this._translations.sketchLayer));t>-1?this.mapView.map.layers.add(this._bufferGraphicsLayer,t):this.mapView.map.layers.add(this._bufferGraphicsLayer)}}}async _sketchGraphicsChanged(i,t=!1){const e=i.detail.graphics;if(e.length>0&&e[0])if(t||(this._sketchGraphic=e[0]),this._workflowType=this.useLayerFeaturesEnabled?y.SELECT:y.SKETCH,this._workflowType===y.SKETCH&&await this._drawTools.updateGraphics(),await this._updateLabel(),this._clearSearchWidget(),this.useLayerFeaturesEnabled&&!t){const i=Array.isArray(e)?e.map((i=>i.geometry)):this.geometries;await this._selectLayerFeatures(i[0])}else{const t=e.reduce(((i,t)=>(t?.layer?.objectIdField?i.push(t.attributes[t.layer.objectIdField]):t.getObjectId&&i.push(t.getObjectId()),i)),[]),s=i.detail.useOIDs&&t.length>0;this._updateSelection(e,s,t),s&&await this._highlightFeatures(t)}else await this._clearResults(!0,!0)}async _highlightWithOIDsOrGeoms(){return this._skipGeomOIDs?.length>0?(this._selectedIds=this._skipGeomOIDs,this._highlightFeatures(this._selectedIds)):this._geomQuery(this.geometries)}async _highlightFeatures(i){w.removeHandles(),i.length>0&&w.highlightHandles.push(await r(i,this.selectLayerView,this.mapView)),this._numSelected=i.length,this.selectionSetChange.emit(i.length)}async _selectFeatures(i){this._selectionLoading=!0,this._selectedIds=await c(i,this.selectLayerView.layer),this._selectionLoading=!1,this._drawTools.graphics=this._graphics,await this._highlightFeatures(this._selectedIds)}async _bufferComplete(i){this._bufferGeometry=Array.isArray(i.detail)?i.detail[0]:i.detail;let t=this._bufferTools.distance,e=0;if(this._bufferGeometry){const i=new this.Graphic({geometry:this._bufferGeometry,symbol:{type:"simple-fill",color:this.bufferColor,outline:{color:this.bufferOutlineColor,width:1}}});this._bufferGraphicsLayer.removeAll(),this._bufferGraphicsLayer.add(i),await this._selectFeatures([this._bufferGeometry]),await this.mapView.goTo(i.geometry.extent),e=t,t=0}else this._bufferGraphicsLayer&&this._bufferGraphicsLayer.removeAll(),await this._highlightWithOIDsOrGeoms();await this._distanceChanged({oldValue:t,newValue:e})}_geomQuery(i){const t=d(i,this._geometryEngine);return this._selectFeatures(t)}async _clearResults(i=!0,t=!1){this._selectedIds=[],this._distance=void 0,this._unit=void 0,t&&(this._selectionLabel="",this._labelName&&(this._labelName.value="")),this._bufferGraphicsLayer&&this._bufferGraphicsLayer.removeAll(),i&&this._searchWidget&&this._clearSearchWidget(),w.removeHandles(),this._drawTools?.clear&&(this._graphics=[],await this._drawTools.clear()),this._numSelected=this._selectedIds.length,this.selectionSetChange.emit(this._numSelected)}_clearSearchWidget(){this._searchWidget.clear(),this._searchResult=void 0}_updateSelection(i,t,e){this._selectedIds=t&&e?e:this._selectedIds,this._skipGeomOIDs=t?e:void 0,this.geometries=Array.isArray(i)?i.map((i=>i.geometry)):this.geometries,this._graphics=i}async _updateLabel(){if(this.enableSearchDistance){const i=this._selectionLabel.indexOf(this._translations.sketch)>-1,t=this._selectionLabel.indexOf(this._translations.select)>-1,e=this._selectionLabel.indexOf(this._searchResult?.name)>-1,s=this._workflowType===y.SEARCH?this._searchResult?.name:this._workflowType===y.SELECT?this._translations.select:this._translations.sketch,a=this._unit?this._unit:this._bufferTools.unit,h=await this._bufferTools.getTranslatedUnit(a),l=isNaN(this._distance)?this._bufferTools.distance:this._distance;this._selectionLabel=i||t||e||!this._selectionLabel?`${s} ${l} ${h}`:this._selectionLabel,this._labelName.value=this._selectionLabel}}async _layerSelectionChange(i){if(Array.isArray(i.detail)&&i.detail.length>0){const t=i.detail.map((i=>p(this.mapView,i)));return Promise.all(t).then((i=>{this.layerViews=i,this._featuresCollection={},this._sketchGraphic&&this._sketchGraphicsChanged({detail:{graphics:[this._sketchGraphic],useOIDs:!1}})}))}}async _inputLayerSelectionChange(i){const t=i?.detail?.length>0?i.detail[0]:"";this.selectLayerView&&t===this.selectLayerView.layer.id||(this.selectLayerView=await p(this.mapView,t),await this._updateLabel(),this._bufferGeometry?await this._selectFeatures([this._bufferGeometry]):await this._highlightWithOIDsOrGeoms())}async _distanceChanged(i){i.newValue!==i.oldValue&&(this._distance=i.newValue,await this._updateLabel())}async _selectLayerFeatures(i){this._selectionLoading=!0;const t=this.layerViews.map((t=>(this._featuresCollection[t.layer.id]=[],b(0,t.layer,i,this._featuresCollection))));return Promise.all(t).then((async i=>{this._selectionLoading=!1;let t=[];i.forEach((i=>{Object.keys(i).forEach((e=>{t=t.concat(i[e])}))}));let e=!1;t.forEach((i=>{const t=i.geometry;i.symbol="point"===t.type?this.sketchPointSymbol:"polyline"===t.type?this.sketchLineSymbol:"polygon"===t.type?this.sketchPolygonSymbol:void 0,e=i?.layer?.hasOwnProperty("objectIdField")||i.hasOwnProperty("getObjectId")}));const s=this.layerViews[0].layer,a=this.selectLayerView.layer,h=e&&s.url===a.url&&a.layerId===s.layerId;await this._sketchGraphicsChanged({detail:{graphics:t,useOIDs:h}},!0)}))}_useLayerFeaturesEnabledChanged(){this.useLayerFeaturesEnabled=!this.useLayerFeaturesEnabled,this._sketchGraphic&&this._sketchGraphicsChanged({detail:{graphics:[this._sketchGraphic],useOIDs:!1}})}async _getTranslations(){const i=await n(this.el);this._translations=i[0]}static get watchers(){return{geometries:["watchGeometriesHandler"],locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"],searchConfiguration:["watchSearchConfigurationHandler"]}}};S.style=':host{display:block}.div-visible{display:inherit}.div-visible-search{display:flex;height:44px;align-items:center;padding-bottom:0}.div-not-visible{display:none}.padding-bottom-1{padding-bottom:1rem}.padding-top-1{padding-top:1rem}.search-widget{width:100% !important;border:1px solid var(--calcite-color-border-input)}.w-100{width:100%}.w-50{width:50%}.search-distance-container{padding-top:"1rem" !important}.end-border{border-inline-end:1px solid var(--calcite-color-border-2)}.search-distance{display:flex;padding-top:1rem}.font-bold{font:bold}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.tooltip-container{display:flex}.padding-start-1-2{padding-inline-start:0.5rem}.icon{--calcite-color-icon-color:var(--calcite-color-brand)}.tooltip-message{padding:5px 8px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2);max-width:400px}';const L=Object.freeze({__proto__:null,default:[{descriptionPDF:{labelWidthDisplay:"2-5/8",labelHeightDisplay:"1",labelsPerPageDisplay:"30",averyPartNumber:"*60"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.1875,rightMargin:.1875,topMargin:.5,bottomMargin:.5},numLabelsAcross:3,numLabelsDown:10,labelWidth:2.625,labelHeight:1,horizGapIn:.125,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1",labelsPerPageDisplay:"20",averyPartNumber:"*61"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.47637821,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:10,labelWidth:4,labelHeight:1.0025,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1-1/3",labelsPerPageDisplay:"14",averyPartNumber:"*62"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.81889808,bottomMargin:.83464612},numLabelsAcross:2,numLabelsDown:7,labelWidth:4,labelHeight:1.3352,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:6}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"2",labelsPerPageDisplay:"10",averyPartNumber:"*63"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.5,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:5,labelWidth:4,labelHeight:2,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:12,maxNumLabelLines:10}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"3-1/3",labelsPerPageDisplay:"6",averyPartNumber:"*64"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.4724412,bottomMargin:.50000027},numLabelsAcross:2,numLabelsDown:3,labelWidth:4,labelHeight:3.342,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:14,maxNumLabelLines:12}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"1/2",labelsPerPageDisplay:"80",averyPartNumber:"*67"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.307086375,rightMargin:.307086375,topMargin:.4724412,bottomMargin:.49606326},numLabelsAcross:4,numLabelsDown:20,labelWidth:1.75,labelHeight:.50155,horizGapIn:.29527575,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:3}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"2/3",labelsPerPageDisplay:"60",averyPartNumber:"*95"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.28936983,rightMargin:.28936983,topMargin:.53937037,bottomMargin:.5511814},numLabelsAcross:4,numLabelsDown:15,labelWidth:1.75,labelHeight:.6605,horizGapIn:.30708678,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:4}}]}),k=class{constructor(t){i(this,t),this.defaultNumLabelsPerPage=void 0,this.disabled=!1,this.locale=void 0,this._translations=void 0}get el(){return e(this)}_labelInfoElement;_intl;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async downloadCSV(i,t,e,s=!0){return v(i,t,!0,e,s)}async downloadPDF(i,t,e=!1,s="",a=""){return _(i,t,this._labelInfoElement.selectedOption?.value,e,s,a)}async componentWillLoad(){await this._getTranslations(),await this._initModules()}render(){return s(a,{key:"2fd2ec44e8962468e3698b81e98746ddf6b7a3ca"},s("calcite-select",{key:"d24fca5c39aa358116ee8557249f7a4b09727b3f",disabled:this.disabled,label:"",ref:i=>{this._labelInfoElement=i}}))}componentDidLoad(){this._renderOptions()}async _initModules(){const[i]=await l(["esri/intl"]);this._intl=i}_getLabelSizeText(i){const t="‎"+i.descriptionPDF.labelWidthDisplay+" x "+i.descriptionPDF.labelHeightDisplay+"‏";return this._translations.pdfLabel.replace("{{n}}",i.descriptionPDF.labelsPerPageDisplay).replace("{{labelSize}}",t)}async _getTranslations(){const i=await n(this.el);this._translations=i[0]}_renderOptions(){(L.default||L).sort(((i,t)=>{const e=parseInt(i.descriptionPDF.labelsPerPageDisplay,10),s=parseInt(t.descriptionPDF.labelsPerPageDisplay,10);return e<s?-1:e>s?1:0})).forEach(((i,t)=>{const e=document.createElement("calcite-option");e.value=i,e.innerHTML=this._getLabelSizeText(i),this._labelInfoElement.appendChild(e),(this.defaultNumLabelsPerPage?parseInt(i.descriptionPDF.labelsPerPageDisplay,10)===this.defaultNumLabelsPerPage:0===t)&&(e.selected=!0)}))}static get watchers(){return{locale:["localeWatchHandler"]}}};k.style=":host{display:block}";const x=class{constructor(e){i(this,e),this.selectionLoadingChange=t(this,"selectionLoadingChange",7),this.selectionSetsChanged=t(this,"selectionSetsChanged",7),this.addresseeLayer=void 0,this.enabledLayerIds=[],this.locale=void 0,this.mapView=void 0,this.selectionSets=[],this.sketchLineSymbol=void 0,this.sketchPointSymbol=void 0,this.sketchPolygonSymbol=void 0,this._translations=void 0,this._selectionMode=m.ADD,this._refineLayer=void 0}get el(){return e(this)}_addEnabled=!0;_drawTools;_refineSets=[];_enabledLayerIds=[];_layerPicker;_featuresCollection={};_refineSelectionSet;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}selectionLoadingChange;selectionSetsChanged;async componentWillLoad(){await this._getTranslations(),this._enabledLayerIds=this._getEnabledLayerIds(),await this._setRefineSet(this._enabledLayerIds[0])}render(){return s(a,{key:"8220100e14abd8339947a74df2d8072d06fb2a25"},s("div",{key:"1d7426778d638f347b563bfd29478fae7598e2dd",class:(this._enabledLayerIds.length>1?"display-block":"display-none")+" padding-top-sides-1"},s("div",{key:"cfb649989c24c403bde7d358794933f8f7959bb8",class:"display-flex"},s("calcite-label",{key:"dce85bbfa526941a0fb46c1aeba57f4b028948ef",class:"font-bold width-full label-margin-0"},s("div",{key:"86c19198643381fd99681c53bf0b2b5e66ecf7dc",class:"display-flex"},this._translations.inputLayer,s("calcite-icon",{key:"392022947cd9f53b4b83895992c5b0b32e56fb06",class:"padding-start-1-2 icon",flipRtl:!("he"===this.locale?.toLowerCase()),icon:"question",id:"refine-input-layer",scale:"s"})),s("map-layer-picker",{key:"d0946a46e7a79fc613b9eb9aa3e6f896c12bef92",enabledLayerIds:this._enabledLayerIds,locale:this.locale,mapView:this.mapView,onLayerSelectionChange:i=>{this._layerSelectionChange(i)},ref:i=>{this._layerPicker=i},selectedIds:[this._refineLayer.layer.id],showTables:!1})),s("calcite-popover",{key:"9963f5ca97481ca45f35b90045cd864f2feb6d42",closable:!0,label:"",overlayPositioning:"fixed",referenceElement:"refine-input-layer"},s("span",{key:"e67b1770261fc0f147acc79c805eeb73932bf595",class:"tooltip-message"},this._translations.inputLayerTip)))),s("div",{key:"22e2aae1be025a115cf9f1d898888b78d90e3662",class:"padding-1"},s("div",{key:"d1930131978f7edc53db10baaa44f1e105a98e68",class:"padding-bottom-1"},s("calcite-segmented-control",{key:"03a307eeaf42312eab41488443676407955089ab",class:"w-100",width:"full"},s("calcite-segmented-control-item",{key:"7ff52920fa3da0f19215cb77d633beab1fae1148",checked:this._addEnabled,class:"w-50 word-wrap-anywhere",onClick:()=>this._setSelectionMode(m.ADD),value:m.ADD},s("span",{key:"38875379650fe63cf1b24f1e7999f41457dc3156",class:"font-weight-500"},this._translations.add)),s("calcite-segmented-control-item",{key:"13e689528e58f405074b5144f96c90c558c09672",checked:!this._addEnabled,class:"w-50 word-wrap-anywhere",onClick:()=>this._setSelectionMode(m.REMOVE),value:m.REMOVE},s("span",{key:"f4ebb951dd08a430fd4dd528dd3d4a69c3a3e41a",class:"font-weight-500"},this._translations.remove)))),s("div",{key:"346c1e1e022fa21beb692b3770703243de74a5e1"},s("map-draw-tools",{key:"5b9334556aef8ac57ce6593eb290fb0c3d1169f1",active:!0,drawMode:u.REFINE,locale:this.locale,mapView:this.mapView,onDrawRedo:()=>this._redo(),onDrawUndo:()=>this._undo(),onSketchGraphicsChange:i=>this._sketchGraphicsChanged(i),pointSymbol:this.sketchPointSymbol,polygonSymbol:this.sketchPolygonSymbol,polylineSymbol:this.sketchLineSymbol,redoEnabled:this._refineSelectionSet?.redoStack.length>0,ref:i=>{this._drawTools=i},undoEnabled:this._refineSelectionSet?.undoStack.length>0})),s("br",{key:"9263c5740e0d5e8145336f8001688d420e43a325"}),s("calcite-list",{key:"f29edcd01d9f48b27181eda806fe492e917dadc3",class:"list-border",label:""},this._getRefineSelectionSetList())))}_layerSelectionChange(i){this._setRefineSet(i.detail[0])}_setSelectionMode(i){this._selectionMode=i}_sketchGraphicsChanged(i){const t=i.detail?.graphics[0].geometry;this._selectFeatures(t)}_getEnabledLayerIds(){return this.selectionSets.reduce(((i,t)=>{const e=t?.layerView?.layer.id;return e&&i.indexOf(e)<0?i.push(e):t.workflowType===y.REFINE&&Object.keys(t.refineInfos).forEach((t=>{i.indexOf(t)<0&&i.push(t)})),i}),[])}async _setRefineSet(i){this.selectionSets.some((t=>{if(t.workflowType===y.REFINE)return this._refineSelectionSet=t,Object.keys(t.refineInfos).indexOf(i)>-1}))||await this._initRefineSet(i,this._refineSelectionSet),this._refineLayer=this._refineSelectionSet.refineInfos[i].layerView}async _initRefineSet(i,t){const e={};e[i]={addIds:[],removeIds:[],layerView:await p(this.mapView,i)},t?t.refineInfos={...t.refineInfos,...e}:(this._refineSelectionSet={id:Date.now(),searchResult:void 0,buffer:void 0,distance:0,download:!0,unit:"feet",label:"Refine",selectedIds:[],layerView:void 0,geometries:[],graphics:[],selectLayers:[],workflowType:y.REFINE,searchDistanceEnabled:!1,useLayerFeaturesEnabled:!1,refineInfos:e,redoStack:[],undoStack:[],sketchGraphic:void 0},this.selectionSets.push(this._refineSelectionSet))}_undo(){const i=this._refineSelectionSet.undoStack.pop();this._updateIds(i.ids,i.mode===m.ADD?m.REMOVE:m.ADD,this._refineSelectionSet.redoStack,i.layerView)}_redo(){const i=this._refineSelectionSet.redoStack.pop();this._updateIds(i.ids,i.mode===m.ADD?m.REMOVE:m.ADD,this._refineSelectionSet.undoStack,i.layerView)}_getRefineSelectionSetList(){const i=this._getTotal(this.selectionSets);let t;this.selectionSets.some((i=>{if(i.workflowType===y.REFINE)return t=i,!0}));let e=0,a=0;return Object.keys(t.refineInfos).forEach((i=>{e+=t.refineInfos[i].addIds.length,a+=t.refineInfos[i].removeIds.length})),[s("calcite-list-item",{label:this._translations.featuresAdded.replace("{{n}}",e.toString()),"non-interactive":!0}),s("calcite-list-item",{label:this._translations.featuresRemoved.replace("{{n}}",a.toString()),"non-interactive":!0}),s("calcite-list-item",{label:this._translations.totalSelected.replace("{{n}}",i.toString()),"non-interactive":!0})]}_getTotal(i){const t=g(i);return Object.keys(t).reduce(((i,e)=>i+t[e].ids.length),0)}async _getTranslations(){const i=await n(this.el);this._translations=i[0]}async _selectFeatures(i){this.selectionLoadingChange.emit(!0),this._featuresCollection[this._refineLayer?.layer.id]=[];const t=await b(0,this._refineLayer?.layer,i,this._featuresCollection);this.selectionLoadingChange.emit(!1);let e=[];Object.keys(t).forEach((i=>{i===this._refineLayer?.layer.id&&(e=e.concat(t[i]))}));const s=Array.isArray(e)?e.map((i=>i.attributes[i?.layer?.objectIdField])):[];await this._updateIds(s,this._selectionMode,this._refineSelectionSet.undoStack,this._refineLayer),this._drawTools.clear()}async _highlightFeatures(){this._clearHighlight(),w.highlightHandles=await f(this.selectionSets)}_clearHighlight(){w.removeHandles()}async _updateIds(i,t,e,s){let a=!1;const h=this._refineSelectionSet.refineInfos,l=s.layer.id,n={};n[l]={addIds:[],removeIds:[],layerView:s};const o=Object.keys(h).indexOf(l)>-1?h[l]:n[l];if(t===m.ADD)o.addIds=[...new Set([...i,...o.addIds])],o.addIds.length>0&&e.push({ids:i,mode:t,layerView:s}),o.removeIds.length>0&&(o.removeIds=o.removeIds.filter((t=>i.indexOf(t)<0)));else{const h=this.selectionSets.reduce(((t,e)=>(i.forEach((i=>{e.workflowType!==y.REFINE?e.selectedIds.indexOf(i)>-1&&t.push(i):Object.keys(e.refineInfos).some((a=>{const h=e.refineInfos[a];if(h.layerView.layer.id===s.layer.id&&h.addIds.indexOf(i)>-1)return t.push(i),!0}))})),t)),[]);o.removeIds=[...new Set([...h,...o.removeIds])],o.addIds=o.addIds.filter((i=>h.indexOf(i)<0)),o.removeIds.length>0&&e.push({ids:h,mode:t,layerView:s}),this.selectionSets=this.selectionSets.reduce(((i,t)=>(t.workflowType!==y.REFINE&&t.layerView.layer.id===s.layer.id?(t.selectedIds=t.selectedIds.filter((i=>o.removeIds.indexOf(i)<0)),t.selectedIds.length>0?i.push(t):a=!0):i.push(t),i)),[])}this._refineSelectionSet.refineInfos[l]=o,this.selectionSets=[...this.selectionSets],a&&this.selectionSetsChanged.emit(this.selectionSets),await this._highlightFeatures()}static get watchers(){return{locale:["localeWatchHandler"]}}};x.style=':host{display:block}.div-visible{display:inherit}.div-not-visible{display:none !important}.padding-top-1-2{padding-top:.5rem}.main-label{display:flex;float:left}html[dir="rtl"] .main-label{display:flex;float:right}.border{outline:1px solid var(--calcite-color-border-input)}.margin-top-1{margin-top:1rem}.esri-sketch{display:flex;flex-flow:column wrap}.esri-widget{box-sizing:border-box;color:#323232;font-size:14px;font-family:"Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;line-height:1.3em;background-color:var(--calcite-color-foreground-1)}.esri-sketch__panel{align-items:center;display:flex;flex-flow:row nowrap;padding:0}*/ .esri-sketch__tool-section{border-right:1px solid rgba(110, 110, 110, .3)}.esri-sketch__section{align-items:center;display:flex;flex-flow:row nowrap;padding:0 7px;margin:6px 0;border-right:1px solid rgba(110, 110, 110, .3)}.display-flex{display:flex}.font-bold{font-weight:bold}.width-full{width:100%}.label-margin-0{--calcite-label-margin-bottom:0}.padding-start-1-2{padding-inline-start:0.5rem}.font-weight-500{font-weight:500}.word-wrap-anywhere{word-wrap:anywhere}.tooltip-message{padding:5px 8px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2);max-width:400px}';export{S as map_select_tools,k as pdf_download,x as refine_selection}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,c as i,g as s,h as e,H as a,F as h}from"./p-e996c38f.js";import{l,g as o}from"./p-404cbf48.js";import{g as n,a as c,b as r,c as d,h as u,d as p,q as f}from"./p-dcd2f00b.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";const m=class{constructor(s){t(this,s),this.togglePanel=i(this,"togglePanel",7),this.center=void 0,this.commentButtonText=void 0,this.commentSubmittedMessage=void 0,this.defaultWebmap="",this.description=void 0,this.enableAnonymousAccess=void 0,this.enableAnonymousComments=void 0,this.enableComments=void 0,this.enableHome=!0,this.enableLogin=void 0,this.enableNewReports=void 0,this.enableSearch=!0,this.enableZoom=!0,this.isMobile=void 0,this.layerExpressions=[],this.layerId=void 0,this.level=void 0,this.locale=void 0,this.loginTitle=void 0,this.mapInfos=[],this.mapView=void 0,this.objectId=void 0,this.reportButtonText=void 0,this.reportingOptions=void 0,this.reportsHeader=void 0,this.reportSubmittedMessage=void 0,this.searchConfiguration=void 0,this.showComments=void 0,this.showUserImageInCommentsList=!1,this.showFeatureSymbol=!1,this.showMyReportsOnly=!1,this.submitNewReportsMessage=void 0,this.theme="light",this.zoomToScale=void 0,this.floorLevel=void 0,this.showFullCommentTitle=!0,this.filterByMapExtent=!1,this.sortOption="newest",this._featureCreationFailedErrorMsg=void 0,this._filterActive=!1,this._flowItems=[],this._hasValidLayers=!1,this._mapInfo=void 0,this._reportSubmitted=!1,this._selectedLayerName=void 0,this._showSubmitCancelButton=!1,this._showLoadingIndicator=!1,this._sidePanelCollapsed=!1,this._translations=void 0,this._updatedProgressBarStatus=25,this._updatedSorting=void 0,this._updatedSortOption="newest",this._commentSubmitted=!1,this._addingCommentFailed=!1,this._filterOpen=!1}get el(){return s(this)}_createFeature;_currentFeatureId;_defaultCenter;_defaultLevel;_editableLayerIds;_featureDetails;_featureList;_currentFeature;_selectedRelatedFeature;_relatedTable;_filterList;_highlightHandle;_layerList;_createRelatedFeature;_layers;_mapChange;_mapClickHandle;reactiveUtils;FeatureFilter;_selectedFeature;_selectedFeatureIndex;_selectedLayerId;_shareNode;_urlParamsLoaded;_validLayers;_nonVisibleValidLayers;_selectedLayer;_layerItemsHash;_showFullPanel;_floorExpression;_formElements=[];_prevSelectedLayerId;_currentLayerExpressions;_initDefExpressions;_t9nLayerExpressions;async isMobileWatchHandler(t){this.updatePanelState(!1,this._showFullPanel),t&&"filter-panel"===this._flowItems[this._flowItems.length-1]?(await this.backFromFilterPanel(),this._filterOpen=!0):!t&&this._filterOpen&&(await this._closeFilter(),this._flowItems=[...this._flowItems,"filter-panel"])}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(){await this.mapView.when((async()=>{this.setInitExpressions(),await this.setMapView()}))}async floorLevelWatchHandler(){if(this._editableLayerIds)for(const t of this._editableLayerIds){const i=await n(this.mapView,t);i.floorInfo?.floorField&&this._updateFloorDefinitionExpression(i)}"layer-list"===this._flowItems[this._flowItems.length-1]&&this._layerList&&await this._layerList.refresh(),this._featureList&&this._featureList.refresh(),this._createFeature&&this._createFeature.refresh(this.floorLevel)}async showMyReportsOnlyWatchHandler(){this._editableLayerIds&&(await this._updateFeatures(),this.refreshLists())}filterByMapExtentChangeWatchHandler(){this.refreshLists()}async layerExpressionsWatchHandler(){this.resetFilterList(),await this.handleSelectedLayersFilter(),await(this._featureList?.refresh())}async showFeatureSymbolWatchHandler(){await(this._featureList?.refresh())}async updateLayerExpressionsT9n(t){if(this._t9nLayerExpressions=t||this.layerExpressions,null!=this._filterList)await this._filterList.handleUpdatingT9nData(this._t9nLayerExpressions);else if(null!=this._currentLayerExpressions){const t=structuredClone(this._currentLayerExpressions);this.handleLayerExpressionsT9n(t,this._t9nLayerExpressions),this._currentLayerExpressions=t}return Promise.resolve()}togglePanel;async componentWillLoad(){this._urlParamsLoaded=!1,await this._initModules(),await this._getTranslations(),await(this.mapView?.when((async()=>{this._layers=this.reportingOptions?Object.keys(this.reportingOptions).filter((t=>this.reportingOptions[t].visible)):[],this.setInitExpressions(),await this.setMapView()})))}componentWillRender(){(this._flowItems.includes("filter-panel")||this._filterOpen)&&this._filterList?.updateInitDefExpressions({initDefExpressions:this._initDefExpressions})}render(){const t="dark"===this.theme?"calcite-mode-dark":"calcite-mode-light";return e(a,{key:"e9a4807ce84ddb099c3f25f562b03c178b69d91f"},this._reportSubmitted&&e("calcite-alert",{key:"4eb1a05f3bdb3abb65d34a59e7452b1cbb2aa011","auto-close":!0,class:t+" report-submitted-msg",icon:"check-circle",kind:"success",label:"",onCalciteAlertClose:()=>{this._reportSubmitted=!1},open:!0,placement:"top"},e("div",{key:"b6b1cb628e7a6695230e11c0320a60eb7ac8c77e",slot:"message"},this.reportSubmittedMessage?this.reportSubmittedMessage:this._translations.submitMsg)),this._featureCreationFailedErrorMsg&&e("calcite-alert",{key:"3e5b98d155cb91950989229c54b58166d4072ba9","auto-close":!0,class:t,icon:"x-octagon",kind:"danger",label:"",onCalciteAlertClose:()=>{this._featureCreationFailedErrorMsg=""},open:!0,placement:"top"},e("div",{key:"3ec867d92d44fc808415dbcf11cc0d4f64410ca1",slot:"title"},this._translations.error),e("div",{key:"b08a281438504605b23236622decfc632f5e980b",slot:"message"},this._featureCreationFailedErrorMsg)),this._commentSubmitted&&e("calcite-alert",{key:"700ce59b43b4bcf5b3b5f269a05b7916aab03119","auto-close":!0,class:"report-submitted "+t,icon:"check-circle",kind:"success",label:"",onCalciteAlertClose:()=>{this._commentSubmitted=!1},open:!0,placement:"top"},e("div",{key:"e3a853126b97fe73275b2908b7735dae0d8bacc4",slot:"message"},this.commentSubmittedMessage||this._translations.commentSubmittedMsg)),this._addingCommentFailed&&e("calcite-alert",{key:"af903aa26896dfbbe1deeac12aee1a6777e2c352","auto-close":!0,class:t,icon:"x-octagon",kind:"danger",label:"",onCalciteAlertClose:()=>{this._addingCommentFailed=!1},open:!0,placement:"top"},e("div",{key:"c88a104fbe9f0266c77c25a7067cfd4836e4ac81",slot:"title"},this._translations.error),e("div",{key:"a34b0543199de865a65ae426e49aa3cd13128126",slot:"message"},this._translations.addingCommentFailedMsg)),e("div",{key:"0bf41b76dcd6e0c6c26b7e4ac03b2a6a100aacfb"},e("calcite-shell",{key:"0e7c0a7f15a15677c73ea8a087f77332b34583cc","content-behind":!0},this._getReporter())),this.isMobile&&this.filterModal())}async _initModules(){const[t,i]=await l(["esri/core/reactiveUtils","esri/layers/support/FeatureFilter"]);this.reactiveUtils=t,this.FeatureFilter=i}async setSelectedLayer(t,i){this._selectedLayerId=t,this._selectedLayer=await n(this.mapView,t),this._selectedLayerName=i,this._validLayers.forEach((i=>{this._nonVisibleValidLayers.find((t=>t.id===i.id))||i.set("visible",!t||i.id===t)}))}_getLayersConfig(t){return this.reportingOptions&&this.reportingOptions[t]?this.reportingOptions[t]:null}_getReporter(){const t=[];return this._flowItems.forEach((i=>{switch(i){case"layer-list":t.push(this.getLayerListFlowItem());break;case"feature-list":t.push(this.getFeatureListFlowItem(this._selectedLayerId,this._selectedLayerName));break;case"filter-panel":t.push(this.getFilterPanel());break;case"feature-details":t.push(this.getFeatureDetailsFlowItem());break;case"reporting-layer-list":t.push(this.getChooseCategoryFlowItem());break;case"feature-create":t.push(this.getFeatureCreateFlowItem());break;case"comment-details":t.push(this.getCommentDetailsFlowItem());break;case"add-comment":t.push(this.getAddCommentFlowItem())}})),e("calcite-panel",{class:"width-full "+("dark"===this.theme?"calcite-mode-dark":"calcite-mode-light")},this.mapView?e("calcite-flow",null,t?.length>0&&t):e("calcite-loader",{label:"",scale:"m"}))}filterModal(){return(this.layerExpressions?this.layerExpressions.filter((t=>t.id===this._selectedLayerId)):[]).length>0&&e("calcite-modal",{"aria-labelledby":"modal-title",class:"modal",kind:"brand",onCalciteModalClose:()=>{this._closeFilter()},open:this._filterOpen,widthScale:"s"},e("div",{class:"display-flex align-center",id:"modal-title",slot:"header"},this._translations?.filterLayerTitle?.replace("{{title}}",this._selectedLayerName)),e("div",{slot:"content"},e("instant-apps-filter-list",{autoUpdateUrl:!1,closeBtn:!0,closeBtnOnClick:()=>{this._closeFilter()},comboboxOverlayPositioning:"fixed",layerExpressions:this._currentLayerExpressions,onFilterListReset:()=>{this._filterActive=!1,this._featureList.refresh()},onFilterUpdate:()=>this._handleFilterUpdate(this._filterList?.filterCount>0),ref:t=>this._filterList=t,resetBtn:!0,resetFiltersOnDisconnect:!1,view:this.mapView,zoomBtn:!1})))}_toggleFilter(){this._filterOpen=!this._filterOpen}async _closeFilter(){this._filterOpen=!1,null!=this._filterList&&(this._currentLayerExpressions=await this._filterList.getCurrentLayerExpressions())}async sortOptionClick(t,i,s){this._updatedSorting={field:t,order:i},this._updatedSortOption=s}_toggleSort(){const t=this.reportingOptions&&this.reportingOptions[this._selectedLayerId]&&this.reportingOptions[this._selectedLayerId].like&&this.reportingOptions[this._selectedLayerId].likeField;return e("calcite-popover",{autoClose:!0,label:"",offsetDistance:0,placement:this.isMobile?"leading-start":"bottom-start",pointerDisabled:!0,referenceElement:"sort-popover"},e("calcite-list",{label:"","selection-mode":"single-persist"},e("calcite-list-item",{label:this._translations.sortNewest,onCalciteListItemSelect:()=>{this.sortOptionClick(this._selectedLayer.objectIdField,"desc","newest")},selected:"newest"===this._updatedSortOption,value:"newest"}),e("calcite-list-item",{label:this._translations.sortOldest,onCalciteListItemSelect:()=>{this.sortOptionClick(this._selectedLayer.objectIdField,"asc","oldest")},selected:"oldest"===this._updatedSortOption,value:"oldest"}),t&&e(h,null,e("calcite-list-item",{label:this._translations.sortHighestVoted,onCalciteListItemSelect:()=>{this.sortOptionClick(this.reportingOptions[this._selectedLayerId].likeField,"desc","highestVoted")},selected:"highestVoted"===this._updatedSortOption,value:"highestVoted"}),e("calcite-list-item",{label:this._translations.sortLowestVoted,onCalciteListItemSelect:()=>{this.sortOptionClick(this.reportingOptions[this._selectedLayerId].likeField,"asc","lowestVoted")},selected:"lowestVoted"===this._updatedSortOption,value:"lowestVoted"}))))}async _handleFilterListReset(){this._filterActive=!1}async _handleFilterUpdate(t){this._showLoadingIndicator=!0,this._filterActive=t,await this._featureList.refresh(),this._showLoadingIndicator=!1}getLayerListFlowItem(){return e("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this.reportsHeader,selected:"layer-list"===this._flowItems[this._flowItems.length-1]},this.isMobile&&this.getActionToExpandCollapsePanel(),this._hasValidLayers&&this.enableNewReports&&e("calcite-button",{appearance:"solid",onClick:this.navigateToChooseCategory.bind(this),slot:"footer",width:"full"},this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText),e("calcite-panel",{"full-height":!0,"full-width":!0},e("layer-list",{applyLayerViewFilter:this.showMyReportsOnly,class:"height-full",filterByMapExtent:this.filterByMapExtent,layers:this._editableLayerIds?.length>0?this._editableLayerIds:this._layers,locale:this.locale,mapView:this.mapView,onLayerSelect:this.displayFeaturesList.bind(this),onLayersListLoaded:this.layerListLoaded.bind(this),ref:t=>this._layerList=t,showFeatureCount:!0,showNextIcon:!0})))}getChooseCategoryFlowItem(){const t=this.reportingOptions?Object.keys(this.reportingOptions).filter((t=>this.reportingOptions[t].visible&&this.reportingOptions[t].reporting&&this._layerItemsHash[t]&&this._layerItemsHash[t].supportsAdd)):[];return e("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText,onCalciteFlowItemBack:this.backFromSelectedPanel.bind(this),selected:"reporting-layer-list"===this._flowItems[this._flowItems.length-1]},e("calcite-panel",{"full-height":!0,"full-width":!0},e("div",{class:"progress-bar"},e("calcite-progress",{type:"determinate",value:this._updatedProgressBarStatus})),e("calcite-notice",{class:"notice-msg",icon:"lightbulb",kind:"success",open:!0},e("div",{slot:"message"},this._translations.chooseCategoryMsg)),e("layer-list",{class:"height-full",layers:t,locale:this.locale,mapView:this.mapView,onLayerSelect:this.navigateToCreateFeature.bind(this),showFeatureCount:!1,showNextIcon:!1})))}getFeatureCreateFlowItem(){return e("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this._selectedLayerName,onCalciteFlowItemBack:this.backFromCreateFeaturePanel.bind(this),selected:"feature-create"===this._flowItems[this._flowItems.length-1]},this._showSubmitCancelButton&&e("div",{class:"width-full",slot:"footer"},e("calcite-button",{appearance:"solid",class:"footer-top-button footer-button",onClick:this.onCreateFeatureSubmitButtonClick.bind(this),width:"full"},this._translations.submit),e("calcite-button",{appearance:"outline",class:"footer-button",onClick:this.backFromCreateFeaturePanel.bind(this),width:"full"},this._translations.cancel)),e("calcite-panel",{"full-height":!0,"full-width":!0},e("div",{class:"progress-bar"},e("calcite-progress",{type:"determinate",value:this._updatedProgressBarStatus})),e("create-feature",{customizeSubmit:!0,enableSearch:!0,floorLevel:this.floorLevel,formElements:this._formElements.find((t=>t.id===this._selectedLayerId)),isMobile:this.isMobile,locale:this.locale,mapView:this.mapView,onDrawComplete:this.onFormReady.bind(this),onEditingAttachment:this.showSubmitCancelButton.bind(this),onFail:this.createFeatureFailed.bind(this),onModeChanged:this.backFromCreateFeaturePanel.bind(this),onProgressStatus:this.updatedProgressStatus.bind(this),onSuccess:this.onReportSubmitted.bind(this),ref:t=>this._createFeature=t,searchConfiguration:this.searchConfiguration,selectedLayerId:this._selectedLayerId,submitNewReportsMessage:this.submitNewReportsMessage})))}updatedProgressStatus(t){this._updatedProgressBarStatus=t.detail}onFormReady(){this._showSubmitCancelButton=!0}showSubmitCancelButton(t){this._showSubmitCancelButton=!t.detail}onCreateFeatureSubmitButtonClick(){this._createFeature&&this._createFeature.submit()}backFromCreateFeaturePanel(){this._createFeature&&this.updateNonVisibleLayersOnMap(!1),this.backFromSelectedPanel()}onCreateRelatedFeatureSubmitButtonClick(){this._createRelatedFeature&&this._createRelatedFeature.submit()}backFromCreateRelatedFeaturePanel(){this._createRelatedFeature&&(this._showSubmitCancelButton=!1),this.backFromSelectedPanel()}createFeatureFailed(t){console.error(t.detail),this._featureCreationFailedErrorMsg=t.detail.message}async onReportSubmitted(){this.updateNonVisibleLayersOnMap(!1),await this.navigateToHomePage(),this._reportSubmitted=!0,this._updatedProgressBarStatus=25,this._showFullPanel&&this.updatePanelState(this._sidePanelCollapsed,!1)}addCommentFailed(t){console.error(t.detail),this._addingCommentFailed=!0}async onCommentSubmitted(){this._commentSubmitted=!0,this.backFromSelectedPanel(),this._showLoadingIndicator=!0,await this._featureDetails.refresh(this._currentFeature),setTimeout((()=>{this._showLoadingIndicator=!1}),300)}async navigateToHomePage(){await this.setSelectedFeatures([]),this._layerList&&await this._layerList.refresh(),1===this._editableLayerIds.length?(await this._featureList.refresh(),this._flowItems=["feature-list"]):this._flowItems=["layer-list"]}async navigateToCreateFeature(t){t.detail.layerId&&t.detail.layerName&&await this.setSelectedLayer(t.detail.layerId,t.detail.layerName),this.updateNonVisibleLayersOnMap(!0),this._getFormElements(),this._showSubmitCancelButton=!1,this.updatePanelState(!1,!0),this._flowItems=[...this._flowItems,"feature-create"]}navigateToChooseCategory(){this.updatePanelState(!1,!0),this._flowItems=[...this._flowItems,"reporting-layer-list"]}updateNonVisibleLayersOnMap(t){this._nonVisibleValidLayers.find((t=>t.id===this._selectedLayerId))&&this._selectedLayer.set("visible",t)}async layerListLoaded(t){if(this._layerList&&"layer-list"===this._flowItems[this._flowItems.length-1]||"feature-list"===this._flowItems[0]){const i=t.detail,s=await c(this.mapView),e=[];this._validLayers=[],this._nonVisibleValidLayers=[],s.forEach((t=>{i.includes(t.id)&&(this._validLayers.push(t),t.visible||this._nonVisibleValidLayers.push(t),this._getLayersConfig(t.id)?.reporting&&this._layerItemsHash[t.id]&&this._layerItemsHash[t.id].supportsAdd&&e.push(t.id))})),this.handleMapClick(),this._hasValidLayers=e.length>0,this._urlParamsLoaded||(this._urlParamsLoaded=!0,await this.loadFeatureFromURLParams())}}async displayFeaturesList(t){await this.setSelectedLayer(t.detail.layerId,t.detail.layerName),this.updateSortingOptions(),this.handleSelectedLayersFilter(),this._flowItems=[...this._flowItems,"feature-list"],this._prevSelectedLayerId=this._selectedLayerId}updateSortingOptions(){const t=""===this.sortOption?"newest":this.sortOption,i="oldest"===t||"lowestVoted"===t?"asc":"desc",s=this.reportingOptions?.[this._selectedLayerId]?.like?this.reportingOptions?.[this._selectedLayerId]?.likeField:"";this._updatedSorting={field:"newest"===t||"oldest"===t?this._selectedLayer.objectIdField:s,order:i},this._updatedSortOption=s||"highestVoted"!==t&&"lowestVoted"!==t?t:"newest"}async backFromFilterPanel(){null!=this._filterList&&(this._currentLayerExpressions=await this._filterList.getCurrentLayerExpressions()),await this._featureList.refresh(),this.backFromSelectedPanel()}backFromSelectedPanel(){this._updatedProgressBarStatus=25;const t=[...this._flowItems];"comment-details"!==t[t.length-1]&&"add-comment"!==t[t.length-1]&&this.clearHighlights(),"reporting-layer-list"!==t[t.length-1]&&("feature-create"!==t[t.length-1]||"feature-list"!==t[0]&&"feature-list"!==t[t.length-2])||this.updatePanelState(this._sidePanelCollapsed,!1),t.pop(),1!==t.length||"layer-list"!==t[0]?this._flowItems=[...t]:this.navigateToHomePage()}toggleSidePanel(){this._sidePanelCollapsed=!this._sidePanelCollapsed,this.togglePanel.emit({panelState:this._sidePanelCollapsed,isFormOpen:this._showFullPanel})}updatePanelState(t,i){this._sidePanelCollapsed=t,this._showFullPanel=i,this.togglePanel.emit({panelState:this._sidePanelCollapsed,isFormOpen:this._showFullPanel})}async onFeatureSelectFromList(t){this._showLoadingIndicator=!0,await this.setSelectedFeatures([t.detail]),this._flowItems=[...this._flowItems,"feature-details"]}async getRelatedTable(){const t=this._currentFeature.layer,i=await r(this.mapView);t.relationships.some((s=>{const e=i.filter((i=>t.url===i.url&&i.layerId===s.relatedTableId));if(e&&e.length>0)return this._relatedTable=e[0],!0}))}async updatingFeatureDetails(t){this._showLoadingIndicator=t}async selectionChanged(t){this.updatingFeatureDetails(!0),await this.setCurrentFeature(t.detail.selectedFeature[0]),this.highlightOnMap(t.detail.selectedFeature[0]),this._selectedFeatureIndex=t.detail.selectedFeatureIndex,await this._featureDetails.refresh(t.detail.selectedFeature[0])}showAddCommentsPanel(){this._flowItems=[...this._flowItems,"add-comment"]}async onCommentSelectFromList(t){this._selectedRelatedFeature=[t.detail],this._flowItems=[...this._flowItems,"comment-details"]}getFeatureListFlowItem(t,i){const s=this._getLayersConfig(this._selectedLayerId)?.reporting&&this._layerItemsHash[this._selectedLayerId].supportsAdd,a=this._currentLayerExpressions?.length>0;return e("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:i,loading:!this.isMobile&&this._showLoadingIndicator,onCalciteFlowItemBack:this.backFromSelectedPanel.bind(this),selected:"feature-list"===this._flowItems[this._flowItems.length-1]},this._toggleSort(),e("calcite-action",{icon:"sort-ascending-arrow",id:"sort-popover",slot:"header-actions-end",text:this._translations.sort,title:this._translations.sort}),a&&e("calcite-action",{icon:"filter",indicator:this._filterActive,onClick:()=>{this.isMobile?this._toggleFilter():this._flowItems=[...this._flowItems,"filter-panel"]},slot:"header-actions-end",text:this._translations.filter,title:this._translations.filter}),this.isMobile&&this.getActionToExpandCollapsePanel(),this.enableNewReports&&s&&e("calcite-button",{appearance:"solid",onClick:this.navigateToCreateFeature.bind(this),slot:"footer",width:"full"},this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText),e("calcite-panel",{"full-height":!0},e("feature-list",{applyLayerViewFilter:this.showMyReportsOnly,class:"height-full",filterByMapExtent:this.filterByMapExtent,highlightOnHover:!0,locale:this.locale,mapView:this.mapView,noFeaturesFoundMsg:this._translations.featureErrorMsg,onFeatureSelect:this.onFeatureSelectFromList.bind(this),pageSize:30,ref:t=>this._featureList=t,reportingOptions:this.reportingOptions,selectedLayerId:t,showFeatureSymbol:this.showFeatureSymbol,sortingInfo:this._updatedSorting})))}getFilterPanel(){return e("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this._translations?.filterLayerTitle?.replace("{{title}}",this._selectedLayerName),loading:this._showLoadingIndicator,onCalciteFlowItemBack:this.backFromFilterPanel.bind(this),selected:"filter-panel"===this._flowItems[this._flowItems.length-1]},this.isMobile&&this.getActionToExpandCollapsePanel(),e("div",{class:"width-full",slot:"footer"},e("div",{class:"width-full",slot:"footer"},e("calcite-button",{appearance:"solid",class:"footer-top-button footer-button",disabled:!this._filterActive,onClick:this.resetFilterList.bind(this),width:"full"},this._translations.resetFilter),e("calcite-button",{appearance:"outline",class:"footer-button",onClick:this.backFromFilterPanel.bind(this),width:"full"},this._translations.close))),e("calcite-panel",{"full-height":!0},e("instant-apps-filter-list",{autoUpdateUrl:!1,closeBtnOnClick:()=>{},comboboxOverlayPositioning:"fixed",layerExpressions:this._currentLayerExpressions,onFilterListReset:()=>{this._handleFilterListReset()},onFilterUpdate:()=>{this._handleFilterUpdate(this._filterList?.filterCount>0)},ref:t=>this._filterList=t,resetBtn:!1,resetFiltersOnDisconnect:!1,view:this.mapView,zoomBtn:!1})))}getFeatureDetailsFlowItem(){const t=this._getLayersConfig(this._selectedLayerId)?.comment&&this._selectedLayer.relationships.length>0&&this._relatedTable;return e("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this._selectedLayerName,loading:this._showLoadingIndicator,onCalciteFlowItemBack:this.backFromSelectedPanel.bind(this),selected:"feature-details"===this._flowItems[this._flowItems.length-1]},this.isMobile&&this.getActionToExpandCollapsePanel(),e("instant-apps-social-share",{autoUpdateShareUrl:!1,class:"share-node",embed:!1,popoverButtonIconScale:"s",ref:t=>this._shareNode=t,removePopoverOffset:!0,scale:"m",shareButtonColor:"neutral",shareButtonType:"action",slot:"header-actions-end",socialMedia:!0,view:this.mapView}),this._selectedFeature.length>1&&this.getFeaturesPagination(),e("calcite-panel",null,e("feature-details",{class:"full-height",graphics:this._selectedFeature,layerItemsHash:this._layerItemsHash,locale:this.locale,mapView:this.mapView,onAddComment:this.showAddCommentsPanel.bind(this),onCommentSelect:this.onCommentSelectFromList.bind(this),onFeatureSelectionChange:this.selectionChanged.bind(this),onLikeOrDislikeClicked:()=>{this._featureList.refresh(!0)},onLoadingStatus:t=>{this.updatingFeatureDetails(t.detail)},ref:t=>this._featureDetails=t,reportingOptions:this.reportingOptions,showFullCommentTitle:this.showFullCommentTitle,showUserImageInCommentsList:this.showUserImageInCommentsList}),t&&e("calcite-button",{appearance:"solid",onClick:this.showAddCommentsPanel.bind(this),slot:"footer",width:"full"},this.commentButtonText||this._translations.comment)))}getFeaturesPagination(){return e("div",{class:"feature-pagination"},e("div",null,e("calcite-button",{appearance:"transparent",disabled:!1,iconStart:"chevron-left",id:"solutions-back",onClick:()=>{this._featureDetails.back()},scale:"s",width:"full"}),e("calcite-tooltip",{label:"",placement:"top","reference-element":"solutions-back"},e("span",null,this._translations.back))),e("calcite-button",{appearance:"transparent",onClick:()=>{this._featureDetails.toggleListView()},scale:"s"},e("span",{class:"pagination-count"},this._getCount())),e("div",null,e("calcite-button",{appearance:"transparent",disabled:!1,iconStart:"chevron-right",id:"solutions-next",onClick:()=>{this._featureDetails.next()},scale:"s",width:"full"}),e("calcite-tooltip",{placement:"top","reference-element":"solutions-next"},e("span",null,this._translations.next))))}getCommentDetailsFlowItem(){return e("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this._relatedTable.title,onCalciteFlowItemBack:this.backFromSelectedPanel.bind(this),selected:"comment-details"===this._flowItems[this._flowItems.length-1]},this.isMobile&&this.getActionToExpandCollapsePanel(),e("calcite-panel",{"full-height":!0},e("info-card",{allowEditing:!1,graphics:this._selectedRelatedFeature,highlightEnabled:!1,isLoading:!1,isMobile:!1,locale:this.locale,mapView:this.mapView,paginationEnabled:!1})))}getAddCommentFlowItem(){return e("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this._relatedTable.title,onCalciteFlowItemBack:this.backFromCreateRelatedFeaturePanel.bind(this),selected:"add-comment"===this._flowItems[this._flowItems.length-1]},this.isMobile&&this.getActionToExpandCollapsePanel(),e("div",{class:"width-full",slot:"footer"},this._showSubmitCancelButton&&e("div",{class:"width-full",slot:"footer"},e("calcite-button",{appearance:"solid",class:"footer-top-button footer-button",onClick:this.onCreateRelatedFeatureSubmitButtonClick.bind(this),width:"full"},this._translations.submit),e("calcite-button",{appearance:"outline",class:"footer-button",onClick:this.backFromCreateRelatedFeaturePanel.bind(this),width:"full"},this._translations.cancel))),e("calcite-panel",null,e("create-related-feature",{customizeSubmit:!0,locale:this.locale,mapView:this.mapView,onFail:this.addCommentFailed.bind(this),onFormReady:this.onFormReady.bind(this),onIsActionPending:this.showSubmitCancelButton.bind(this),onSuccess:this.onCommentSubmitted.bind(this),ref:t=>this._createRelatedFeature=t,selectedFeature:this._currentFeature,table:this._relatedTable})))}async setSelectedFeatures(t){this._selectedFeature=t,await this.setCurrentFeature(this._selectedFeature.length?this._selectedFeature[0]:null)}async setCurrentFeature(t){if(this._currentFeature=t,t&&t.layer){const i=t.layer;this.setSelectedLayer(i.id,i.title),this._currentFeatureId=t.attributes[i.objectIdField],this._getLayersConfig(i.id)?.comment&&i.relationships.length>0&&await this.getRelatedTable()}else this._editableLayerIds.length>1&&(this.setSelectedLayer("",""),this.handlePrevLayersFilter()),this._currentFeatureId="";this._updateShareURL()}async highlightOnMap(t){if(this.clearHighlights(),t&&t.geometry&&t.layer){const i=await d(this.mapView,t.layer.id);i.highlightOptions=null,this._highlightHandle=await u([t.getObjectId()],i,this.mapView,!0,this.zoomToScale)}this.updatingFeatureDetails(!1)}clearHighlights(){this._highlightHandle&&this._highlightHandle.remove()}getActionToExpandCollapsePanel(){return e("calcite-action",{icon:this._sidePanelCollapsed?"chevrons-up":"chevrons-down",onClick:this.toggleSidePanel.bind(this),slot:"header-actions-end",text:this._sidePanelCollapsed?this._translations.expand:this._translations.collapse})}async setMapView(){await this.getLayersToShowInList(),await this._updateFeatures(),1===this._editableLayerIds?.length?await this.renderFeaturesList():this._flowItems=["layer-list"],this.mapView.popupEnabled=!1,this._defaultCenter&&this._defaultLevel&&(await this.mapView.goTo({center:this._defaultCenter,zoom:this._defaultLevel}),this._defaultCenter=void 0,this._defaultLevel=void 0)}handleMapClick(){this._mapClickHandle&&this._mapClickHandle.remove(),this._mapClickHandle=this.reactiveUtils.on((()=>this.mapView),"click",this.onMapClick.bind(this))}async onMapClick(t){this.mapView.popupEnabled=!1;const i=await this.mapView.hitTest(t);if(i.results.length>0){const t=[];i.results.forEach((function(i){"graphic"===i.type&&t.push(i.graphic)}));const s=t.filter((t=>this._validLayers.includes(t.layer))),e=t.filter((t=>!this._validLayers.includes(t.layer)&&t?.layer?.popupEnabled&&t?.layer?.id));if(s.length>0&&(await this.setSelectedFeatures(s),this._flowItems.length&&this._flowItems.includes("feature-details")?(this._flowItems=[...this._flowItems.slice(0,this._flowItems.indexOf("feature-details")+1)],await this.highlightOnMap(t[0])):this._flowItems=[...this._flowItems,"feature-details"]),e.length>0){this.mapView.popupEnabled=!0;const t={features:e,updateLocationEnabled:!0};await this.mapView.openPopup(t)}}}_getCount(){const t=(this._selectedFeatureIndex+1).toString(),i=this._selectedFeature.length.toString();return this._translations.indexOfTotal.replace("{{index}}",t).replace("{{total}}",i)}async _getTranslations(){const t=await o(this.el);this._translations=t[0]}_updateFloorDefinitionExpression(t){const i=`${t.floorInfo.floorField} = '${this.floorLevel}'`,s=t.definitionExpression;t.definitionExpression=s?.indexOf(this._floorExpression)>-1?s.replace(this._floorExpression,i):i,this._floorExpression=i}_getFormElements(){const t=this._selectedLayer,i=t?.floorInfo?.floorField;if(i&&this.floorLevel&&t?.formTemplate){const i=this._formElements.find((i=>i.id===t.id));0!==this._formElements.length&&i||this._formElements.push({id:t.id,orgElements:t.formTemplate.elements,orgExpressionInfos:t.formTemplate.expressionInfos})}}reduceToConfiguredLayers(t,i){return Object.keys(t).reduce(((s,e)=>{const a=this.reportingOptions?this._getLayersConfig(e)?.visible:t[e].supportsAdd;return!i.includes(e)&&a&&s.push(e),s}),[])}refreshLists(){setTimeout((()=>{this._layerList&&"layer-list"===this._flowItems[this._flowItems.length-1]&&this._layerList.refresh(),this._featureList&&this._featureList.refresh()}),50)}async _updateFeatures(){for(const t of this._editableLayerIds){const i=await d(this.mapView,t);await this._showMyFeaturesOnly(i);const s=i.layer?.floorInfo?.floorField;s&&this.floorLevel&&this._updateFloorDefinitionExpression(i.layer)}}async _showMyFeaturesOnly(t){const i=this.mapView.map.portalItem.portal?.credential?.userId;if(i){const s=t.layer.editFieldsInfo?.creatorField.toLowerCase();t.filter=this.showMyReportsOnly&&s?new this.FeatureFilter({where:s+"='"+i+"'"}):null}}async getLayersToShowInList(){const t=await p(this.mapView,!0),i=await c(this.mapView),s=[];i.forEach((i=>{"feature"===i?.type&&i?.editingEnabled&&i?.capabilities?.operations?.supportsAdd&&(t[i.id].supportsAdd=!0),i?.editingEnabled||s.push(i.id)})),this._editableLayerIds=this.reduceToConfiguredLayers(t,s),this._layerItemsHash=t}async renderFeaturesList(){this._flowItems=["feature-list"];const t={detail:this._editableLayerIds};await this.layerListLoaded(t),await this.setSelectedLayer(this._validLayers[0].id,this._validLayers[0].title),this.updateSortingOptions(),this.handleSelectedLayersFilter()}_updateShareURL(){const t=this._shareNode?.shareUrl;if(!t)return;const i=new URL(t);this._selectedLayerId?i.searchParams.set("layerid",this._selectedLayerId):i.searchParams.delete("layerid"),this._selectedFeature?.length?i.searchParams.set("oid",this._currentFeatureId):i.searchParams.delete("oid"),this._shareNode.shareUrl=i.href}async loadFeatureFromURLParams(){if(this.center&&this.level&&await this.mapView.goTo({center:this.center.split(";").map(Number),zoom:this.level}),this.layerId&&this.objectId){const t=await n(this.mapView,this.layerId);if(t){const i=await f([Number(this.objectId)],t,[],!0,this.mapView.spatialReference);i.length&&(await this.setSelectedFeatures(i),this._flowItems=this._flowItems.length&&"feature-details"!==this._flowItems[this._flowItems.length-1]?[...this._flowItems,"feature-details"]:[...this._flowItems])}}}async handleSelectedLayersFilter(){if(this._selectedLayer){const t=this.layerExpressions?structuredClone(this.layerExpressions.filter((t=>t.id===this._selectedLayerId))):[];null!=this._t9nLayerExpressions&&this.handleLayerExpressionsT9n(t,this._t9nLayerExpressions),this._currentLayerExpressions=t,this.setActiveDefinitionExpressions()}}async handlePrevLayersFilter(){if(this._prevSelectedLayerId){const t=await n(this.mapView,this._prevSelectedLayerId);t&&(t.definitionExpression=this._initDefExpressions[this._prevSelectedLayerId])}}resetFilterList(){this._filterList?.forceReset(),null!=this._selectedLayer&&(this._selectedLayer.definitionExpression=this._initDefExpressions[this._selectedLayerId],this._filterActive=!1)}setActiveDefinitionExpressions(){if(null==this._selectedLayer)return;const t=[];if(this._currentLayerExpressions?.length>0){const i=this._currentLayerExpressions[0];for(const s of i.expressions){const{active:i,definitionExpression:e}=s;i&&e&&t.push(`(${e})`)}this._filterActive=t.length>0,this.updateFilterLayerDefExpression(t,i.operator)}}updateFilterLayerDefExpression(t,i){const s=this._initDefExpressions[this._selectedLayerId],e=t?.length>0&&null!=s?`(${t.join(i)}) AND (${s})`:t.length>0?t.join(i):s;this._selectedLayer.definitionExpression=e}setInitExpressions(){if(this._initDefExpressions={},null==this.mapView)return;const t=this.mapView.map;t.allLayers.concat(t.allTables).forEach((t=>{"feature"===t.type&&(this._initDefExpressions[t.id]=t.definitionExpression)}))}handleLayerExpressionsT9n(t,i){t?.forEach((t=>{const s=i?.find((i=>i.id===t.id));null!=s&&(t.title=s.title,t.expressions?.forEach((t=>{const i=s.expressions?.find((i=>i.id===t.id));null!=i&&(t.name=i.name)})))}))}static get watchers(){return{isMobile:["isMobileWatchHandler"],locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"],floorLevel:["floorLevelWatchHandler"],showMyReportsOnly:["showMyReportsOnlyWatchHandler"],filterByMapExtent:["filterByMapExtentChangeWatchHandler"],layerExpressions:["layerExpressionsWatchHandler"],showFeatureSymbol:["showFeatureSymbolWatchHandler"]}}};m.style=":host{display:block;--calcite-label-margin-bottom:0px;--solutions-theme-foreground-color:var(--calcite-color-foreground-1)}.width-full{width:100% !important}.width-0{width:0}.height-full{height:100% !important}.height-0{height:0}.overflow-hidden{overflow:hidden}.border{border:1px solid var(--calcite-color-border-3)}.notice-msg{padding:10px;width:calc(100% - 20px)}.progress-bar{padding:12px}.footer-top-button{padding-bottom:7px}.footer-button{height:35px}.feature-pagination{background-color:var(--calcite-color-foreground-1) !important;border-block-end:1px solid var(--calcite-color-border-3);display:flex;justify-content:center;padding:5px 0}.pagination-count{color:var(--calcite-color-brand);border-bottom:1px solid var(--calcite-color-brand);font-weight:bold}.report-submitted-msg{position:absolute;z-index:1000}.share-node{display:flex}";export{m as crowdsource_reporter}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,c as i,g as e,h as s,H as o,F as h}from"./p-e996c38f.js";import{g as a}from"./p-404cbf48.js";import{E as l}from"./p-80cb7c73.js";import{g as n}from"./p-dcd2f00b.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";const d=class{constructor(e){t(this,e),this.showIntroductionWindow=i(this,"showIntroductionWindow",7),this.showCoverPage=i(this,"showCoverPage",7),this.appLayout=void 0,this.appProxies=void 0,this.basemapConfig=void 0,this.coverPageEnabled=void 0,this.customInfoText=void 0,this.defaultAppLayout=void 0,this.defaultCenter="",this.defaultGlobalId="",this.defaultLayer="",this.defaultLevel="",this.defaultOid="",this.defaultWebmap="",this.honorMapFieldSettings=!1,this.introductionWindowEnabled=!1,this.enableAutoRefresh=!1,this.enableBasemap=!0,this.enableColumnReorder=!0,this.enableCSV=!0,this.enableFloorFilter=!0,this.enableFullscreen=!0,this.enableHome=!0,this.enableLegend=!0,this.enableSearch=!0,this.enableShare=!1,this.enableZoom=!0,this.locale=void 0,this.mapInfos=[],this.onlyShowUpdatableLayers=!0,this.popupHeaderColor=void 0,this.popupHeaderHoverColor=void 0,this.popupHeaderHoverTextColor=void 0,this.popupHeaderTextColor=void 0,this.searchConfiguration=void 0,this.shareIncludeEmbed=void 0,this.shareIncludeSocial=void 0,this.showNewestFirst=!0,this.theme="light",this.zoomAndScrollToSelected=!1,this.zoomToScale=void 0,this._deleteDialogOpen=!1,this._enableCreateFeatures=!0,this._hideFooter=!1,this._hideTable=!1,this._isMobile=!1,this._isPortraitMobile=!1,this._translations=void 0,this._layer=void 0,this._layoutMode=l.GRID,this._mapInfo=void 0,this._mapView=void 0,this._panelOpen=!0,this._numSelected=0,this._filterOpen=!1,this._showInformationHeader=!0,this._layerIds=void 0,this._isLoading=!0,this._mapExtentFilterChecked=void 0}get el(){return e(this)}_defaultAppLayoutHonored=!1;_defaultCenterHonored=!1;_defaultLevelHonored=!1;_deleteIds;_layerTable;_mapChange;_resizeObserver;_shouldSetMapView=!1;_layerExpressions;_filterList;_mapCard;_isMapViewOnLoad=!1;appLayoutWatchHandler(t,i){t!==i&&(this._layerTable?.validateTableUpdate("splitView"===t),this._setActiveLayout(t),"mapView"===this.appLayout&&this._layer?.isTable&&this._mapCard.updateLayer(),this._isMapViewOnLoad&&(this._layerTable.refresh(),this._isMapViewOnLoad=!1))}enableZoomWatchHandler(){this._initMapZoom()}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}showIntroductionWindow;showCoverPage;async featureSelectionChange(t){this._numSelected=t.detail?.length}async popupClosed(){this._isPortraitMobile&&this.showHideMapPopupAndTable(!1)}async layoutChanged(t){this._layoutMode=t.detail}async mapChanged(t){this._mapChange=t.detail,await this._mapChange.mapView.when((async()=>{await this._setMapView()}))}async layerSelectionChange(t){const i=t.detail[0],e=await n(this._mapView,i);e&&await e.when((()=>{0===this._layerIds.length&&"mapView"===this.appLayout&&e.isTable&&(this.appLayout="splitView"),this._layer=e,this._initLayerExpressions(),this._handleFilterListReset(),this._isLoading=!1}))}async showDelete(t){this._deleteIds=t.detail.ids,this._deleteDialogOpen=!0}async idsFound(t){this._layerIds=t.detail.layerIds}async componentWillLoad(){await this._getTranslations(),this._resizeObserver=new ResizeObserver((()=>this._onResize()))}render(){return s(o,{key:"4ec349cf53a543077a3b938d5dad2e767f533181"},s("calcite-shell",{key:"08c56e11ff814419aeb7295bba240b0e96856cae",class:"position-relative"},s("calcite-panel",{key:"aac7ff804b7e98f3b5d1b11dbc5ee8e18c9467ca",class:"width-full height-full "+(this.popupHeaderColor&&"#FFFFFF"!==this.popupHeaderColor?"border-width-0":""),loading:this._isLoading},this._getBody(this._layoutMode,this._panelOpen,this._hideTable)),this._getFooter()),this._filterModal(),this._deleteModal())}async componentDidRender(){this._shouldSetMapView&&(this._shouldSetMapView=!1,this._mapChange&&await this._setMapView())}async componentDidLoad(){this._resizeObserver.observe(this.el),!this._defaultAppLayoutHonored&&this.defaultAppLayout?(this._defaultAppLayoutHonored=!0,this.appLayout=this.defaultAppLayout):this.appLayout||(this.appLayout="splitView"),this._isMapViewOnLoad="mapView"===this.appLayout,this._setActiveLayout(this.appLayout)}_getFooter(){const t=this._numSelected>0,i=this._layer?.editingEnabled&&this._layer?.capabilities?.operations?.supportsDelete;return this._isPortraitMobile&&t&&!this._hideFooter?s("div",{class:"width-100",slot:"footer"},s("div",{class:"display-flex padding-1-2"},s("calcite-button",{appearance:"solid",id:"solutions-show",onClick:()=>this.showHideMapPopupAndTable(!0),width:"full"},this._translations.view.replace("{{n}}",this._numSelected.toString())),i?s("delete-button",{class:"padding-inline-start-1 width-full",id:"solutions-delete",ids:this._layerTable.selectedIds,layer:this._layer,locale:this.locale}):void 0)):void 0}_setActiveLayout(t){"splitView"!==t||this._panelOpen||this._toggleLayout(),"mapView"===t?this._showMapInFullView():this._showMapInCardView()}_getDividerIcon(t,i){let e="";switch(t){case l.HORIZONTAL:e=i?"chevrons-up":"chevrons-down";break;case l.VERTICAL:case l.GRID:e=i?"chevrons-left":"chevrons-right"}return e}_getMapSizeClass(t,i,e){let s="";switch(t){case l.HORIZONTAL:s=(i&&!e?"height-1-2 display-grid":i&&e?"height-full":"height-0")+" width-full position-relative";break;case l.GRID:s="height-full position-relative "+(i?"width-1-3":"width-0");break;case l.VERTICAL:s="height-full position-relative "+(i?"width-1-2":"width-0")}return s}_getTableSizeClass(t,i){let e="";switch(t){case l.HORIZONTAL:e=(i?"height-1-2":"height-full")+" width-full display-flex flex-column";break;case l.GRID:e=(i?"width-2-3":"width-full")+" height-full display-flex";break;case l.VERTICAL:e=(i?"width-1-2":"width-full")+" height-full display-flex"}return e}_getBody(t,i,e){const o="dark"===this.theme?"calcite-mode-dark":"calcite-mode-light";return s("calcite-panel",{class:"width-full height-full position-absolute"},s("div",{class:"width-full height-full overflow-hidden "+(t===l.HORIZONTAL?"":"display-flex")},this._getMapAndCard(t,i,e),this._getTable(t,i,e)),this.coverPageEnabled&&s("div",{class:"floating-container",onClick:this.coverPageButtonClick.bind(this)},s("calcite-button",{appearance:"solid",class:`floating-button ${o}`,"icon-start":"content-minimal",kind:"neutral",label:"",round:!0,scale:"l","split-child":"primary",width:"auto"})),this.introductionWindowEnabled&&s("div",{class:"floating-container",onClick:this.infoButtonClick.bind(this)},s("calcite-button",{appearance:"solid",class:`floating-button ${o}`,"icon-start":"information-letter",kind:"neutral",label:"",round:!0,scale:"l","split-child":"primary",width:"auto"})))}infoButtonClick(){this.showIntroductionWindow.emit()}coverPageButtonClick(){this.showCoverPage.emit()}_getMapAndCard(t,i,e){const o=this._getMapSizeClass(t,i,e);return s("div",{class:`${o} overflow-hidden z-index-1 ${!this._isPortraitMobile&&this._isMobile?"border-right":""}`},this._getMapNode(i),this._getPopupExpandNode())}_getMapNode(t){const i="mapView"===this.appLayout,e="tableView"===this.appLayout;return s("div",{class:(i||e?"position-absolute-0":this._layoutMode!==l.HORIZONTAL||this._isPortraitMobile&&!t?"adjusted-height-50":"")+" overflow-hidden",id:"card-mapView"},s("map-card",{appLayout:this.appLayout,appProxies:this.appProxies,basemapConfig:this.basemapConfig,class:"width-full",defaultLayerId:this.defaultWebmap&&this.defaultLayer?this.defaultLayer:"",defaultWebmapId:this.defaultWebmap,enableBasemap:this.enableBasemap,enableFloorFilter:this.enableFloorFilter,enableFullscreen:this.enableFullscreen,enableHome:this.enableHome,enableLegend:this.enableLegend,enableSearch:this.enableSearch,enableShare:this.enableShare,enableSingleExpand:!0,hidden:!this._isPortraitMobile&&e,homeZoomIndex:3,homeZoomPosition:"top-left",homeZoomToolsSize:"s",isMapLayout:i,isMobile:this._isMobile,locale:this.locale,mapInfo:this._mapInfo,mapInfos:this.mapInfos?.filter((t=>!1!==t.visible)),mapWidgetsIndex:0,mapWidgetsPosition:"top-right",mapWidgetsSize:"m",onToggleFilter:this._toggleFilter.bind(this),onlyShowUpdatableLayers:this.onlyShowUpdatableLayers,ref:t=>this._mapCard=t,selectedFeaturesIds:this._layerTable?.selectedIds,selectedLayer:this._layer,shareIncludeEmbed:this.shareIncludeEmbed,shareIncludeSocial:this.shareIncludeSocial,stackTools:!0,theme:this.theme,toolOrder:["legend","search","fullscreen","basemap","floorfilter"],zoomToScale:this.zoomToScale}))}_getPopupExpandNode(){const t=this._isPortraitMobile&&this._showInformationHeader?"display-none height-0":"";return s("div",{class:`${this.popupHeaderColor?"":this._isPortraitMobile?"calcite-mode-light":"calcite-mode-dark"} ${this._isMobile?"height-full":"height-full position-relative"} ${this._isPortraitMobile&&this._hideTable?"position-absolute-0 width-full height-full":this._isPortraitMobile?"display-none height-0":""} ${this.mapInfos?.length>1&&"tableView"===this.appLayout?"position-relative top-51":""} ${"tableView"!==this.appLayout?"position-sticky":""}`,style:{"--calcite-color-foreground-1":this.popupHeaderColor,"--calcite-color-foreground-2":this.popupHeaderHoverColor,"--calcite-color-text-3":this.popupHeaderTextColor,"--calcite-color-text-2":this.popupHeaderTextColor}},s("calcite-panel",null,!this._isPortraitMobile&&this._showInformationHeader||this._numSelected>0&&!this._isPortraitMobile?s("div",{class:`display-flex align-items-center ${t}`,slot:"header-content"},s("calcite-icon",{icon:"information",scale:"s"}),s("div",{class:"padding-inline-start-75"},this._translations.information)):s("div",null),this._getCardNode()))}_getCardNode(){const t="mapView"===this.appLayout,i="tableView"===this.appLayout;return s("div",{class:"width-50 height-full "+("dark"===this.theme?"calcite-mode-dark":"calcite-mode-light")},s("card-manager",{class:(i&&this.mapInfos?.length>1?"adjusted-height-100-51":t||i?"height-full":this._numSelected>0&&!this._isMobile?"height-50":this._showInformationHeader?this._isPortraitMobile?"height-full":"height-50":"adjusted-height-50_25")+" width-full",customInfoText:this.customInfoText,enableCreateFeatures:this._enableCreateFeatures&&!this._isMobile,enableEditGeometry:this?._mapInfo?.enableEditGeometry,isMobile:this._isPortraitMobile,layer:this._layer,locale:this.locale,mapView:this?._mapView,onBackFromCreateWorkFlow:()=>{this._showInformationHeader=!0},onCreateWorkFlowStarted:()=>{this.appLayout=this._layer.isTable?"tableView":"mapView",this._showInformationHeader=!1},onFeatureOrRecordSubmitted:()=>{this._layerTable.refresh()},selectedFeaturesIds:this._layerTable?.selectedIds,selectingFeatureFromMap:"mapView"===this.appLayout,zoomAndScrollToSelected:this.zoomAndScrollToSelected}))}_getTable(t,i,e){const o="mapView"===this.appLayout,h="tableView"===this.appLayout,a=e&&this._isPortraitMobile?"visibility-hidden":o?"display-none":"",n=o?"height-full width-full z-index-0":"display-none",d=this._getTableSizeClass(t,i),r=t===l.HORIZONTAL?"horizontal":"vertical",c=t===l.HORIZONTAL?"header":"panel-start",p=this.defaultWebmap&&this.defaultLayer,g=this.defaultGlobalId?this.defaultGlobalId?.indexOf(",")>-1?this.defaultGlobalId.split(","):[this.defaultGlobalId]:void 0,u=this.defaultOid?this.defaultOid?.indexOf(",")>-1?this.defaultOid.split(",").map((t=>parseInt(t,10))):[parseInt(this.defaultOid,10)]:void 0;return s("calcite-shell",{class:`${d} border-bottom`},this._isMobile?void 0:s("calcite-action-bar",{class:"border-sides",expandDisabled:!0,layout:r,slot:c},this.getActions(t,i)),s("div",{class:`width-full height-full position-relative z-index-0 ${a}`},s("layer-table",{appLayout:this.appLayout,createFilterModal:!1,defaultGlobalId:p?g:void 0,defaultLayerId:p?this.defaultLayer:"",defaultOid:p&&!g?u:void 0,enableAutoRefresh:this.enableAutoRefresh,enableCSV:this.enableCSV,enableColumnReorder:this.enableColumnReorder,enableInlineEdit:this?._mapInfo?.enableInlineEdit,enableShare:this.enableShare,honorMapFieldSettings:this.honorMapFieldSettings,isMobile:this._isPortraitMobile,locale:this.locale,mapHidden:h,mapInfo:this._mapInfo,mapView:this?._mapView,onToggleFilter:this._toggleFilter.bind(this),onlyShowUpdatableLayers:this.onlyShowUpdatableLayers,ref:t=>this._layerTable=t,shareIncludeEmbed:this.shareIncludeEmbed,shareIncludeSocial:this.shareIncludeSocial,showNewestFirst:this.showNewestFirst,zoomAndScrollToSelected:this.zoomAndScrollToSelected,zoomToScale:this.zoomToScale})),s("div",{class:n,id:"full-map-view"}))}getActions(t,i){const e=this._getDividerIcon(t,i),o=i?this._translations.close:this._translations.open,a="toggle-layout";return s(h,null,s("calcite-action",{active:"splitView"===this.appLayout,class:"toggle-node",icon:"browser",id:"browser-action",onClick:()=>{this.appLayout="splitView"},text:""}),s("calcite-tooltip",{placement:"right","reference-element":"browser-action"},s("span",null,this._translations.splitView)),s("calcite-action",{active:"tableView"===this.appLayout,class:"toggle-node",icon:"dock-left",id:"dock-left-action",onClick:()=>{this.appLayout="tableView"},text:""}),s("calcite-tooltip",{placement:"right","reference-element":"dock-left-action"},s("span",null,this._translations.tableView)),s("calcite-action",{active:"mapView"===this.appLayout,class:"toggle-node",disabled:0===this._layerIds?.length,icon:"browser-map",id:"browser-map-action",onClick:()=>{this.appLayout="mapView"},text:""}),s("calcite-tooltip",{placement:"right","reference-element":"browser-map-action"},s("span",null,this._translations.mapView)),s("calcite-action",{class:"toggle-node",icon:e,id:a,onClick:()=>this._toggleLayout(),slot:"actions-end",text:""}),s("calcite-tooltip",{placement:"bottom","reference-element":a},s("span",null,o)))}_deleteModal(){return s("delete-dialog",{id:"deleteDialogId",ids:this._deleteIds,layer:this._layer,locale:this.locale,onDeleteDialogClose:()=>this._deleteDialogOpen=!1,open:this._deleteDialogOpen})}_mapExtentFilter(){const t=0===this._layerExpressions?.length;return s("calcite-panel",null,s("div",null,s("calcite-block",{class:"dark"===this.theme?"background-dark":"",heading:"","menu-placement":"bottom-end",open:!0},s("div",{class:"filter-extent-container"},s("div",{class:"filter-extent-message"},s("span",null,this._translations.filterByExtentMsg," "),s("calcite-icon",{icon:"information",id:"filter-message-info",scale:"s"}),s("calcite-tooltip",{overlayPositioning:"fixed",placement:"top","reference-element":"filter-message-info"},this._translations.filterByExtentTooltipMsg)),s("calcite-switch",{checked:this._mapExtentFilterChecked,onCalciteSwitchChange:t=>{this._layerTable.filterUpdate(t.target.checked||this._filterList?.filterCount>0,t.target.checked),this._mapExtentFilterChecked=t.target.checked},scale:"m"}))),t&&s("div",{class:"filter-modal-buttons",slot:"footer"},s("calcite-button",{appearance:"outline",onClick:this._handleFilterListReset.bind(this),width:"full"},this._translations.Resetfilter),s("calcite-button",{onClick:this._closeFilter.bind(this),width:"full"},this._translations.close))))}_filterModal(){const t=this._layerExpressions?.length>0;return s("calcite-dialog",{class:"filter-content-space",heading:this._translations?.filter?.replace("{{title}}",this._layer?.title),id:"solutions-filter-dialog",kind:"brand",modal:!0,onCalciteDialogClose:()=>{this._closeFilter()},open:this._filterOpen,widthScale:"s"},this._mapExtentFilter(),t&&s("instant-apps-filter-list",{autoUpdateUrl:!1,closeBtn:!0,closeBtnOnClick:async()=>this._closeFilter(),comboboxOverlayPositioning:"fixed",layerExpressions:this._layerExpressions,onFilterListReset:this._handleFilterListReset.bind(this),onFilterUpdate:async()=>{const t=this._filterList.filterCount>0||this._mapExtentFilterChecked;await(this._layerTable?.filterUpdate(t)),await this._mapCard.updateFilterState(t)},ref:t=>this._filterList=t,view:this._mapView,zoomBtn:!1}))}_initLayerExpressions(){const t=this._mapInfo?.filterConfig?.layerExpressions;this._layerExpressions=t?t.filter((t=>t.id===this._layer?.id)):[],this._layerExpressions.filter((t=>t.expressions.filter((t=>t.active)).length>0))}_toggleFilter(){this._filterOpen=!this._filterOpen}_handleFilterListReset(){this._mapExtentFilterChecked=!1,this._mapCard.resetFilter(),this._layerTable.filterReset()}async _closeFilter(){this._filterOpen&&(this._filterOpen=!1,this._layerTable.closeFilter())}_onResize(){const t=this.el.offsetWidth<1024,i=!this._isMobile&&t;this._isMobile=t,i&&(this._panelOpen=!0),this._isMobile?(this.showHideMapPopupAndTable(!this._isMobile),this._isPortraitMobile=!!window.matchMedia("(orientation: portrait)").matches,this.appLayout="splitView"):this._isPortraitMobile=!1,this._layoutMode=this._isPortraitMobile?l.HORIZONTAL:l.GRID}_toggleLayout(){this._panelOpen=!this._panelOpen}_showMapInCardView(){if("mapView"!==this.appLayout){const t=document.getElementById("full-map-view")?.childNodes[0],i=document.getElementById("card-mapView");t&&i.appendChild(t)}}_showMapInFullView(){const t=document.getElementById("card-mapView")?.childNodes[0],i=document.getElementById("full-map-view");t&&i.appendChild(t)}showHideMapPopupAndTable(t){this._hideTable=t,this._hideFooter=t}_getMapInfo(t){let i;return this.mapInfos.some((e=>{if(e.id===t)return i=e,!0})),{...i}}async _setMapView(){this._mapInfo=this._getMapInfo(this._mapChange.id),this._enableCreateFeatures=this._mapInfo.enableCreateFeatures,this._mapView=this._mapChange.mapView,this._initMapZoom(),this._mapView.popupEnabled=!1;const t=!this.defaultCenter||this._defaultCenterHonored?void 0:this.defaultCenter?.split(";").map((t=>parseFloat(t))),i=!this.defaultLevel||this._defaultLevelHonored?void 0:parseInt(this.defaultLevel,10);t&&i&&(await this._mapView.goTo({center:t,zoom:i}),this._defaultCenterHonored=!0,this._defaultLevelHonored=!0)}_initMapZoom(){this.enableZoom?this.enableZoom&&this._mapView.ui.add({component:"zoom",position:"top-left",index:0}):this._mapView.ui.remove("zoom")}async _getTranslations(){const t=await a(this.el);this._translations=t[0]}static get watchers(){return{appLayout:["appLayoutWatchHandler"],enableZoom:["enableZoomWatchHandler"],locale:["localeWatchHandler"]}}};d.style=":host{display:block;--calcite-label-margin-bottom:0px;--solutions-theme-foreground-color:var(--calcite-color-foreground-1)}.padding-1-2{padding:0.5rem}.display-flex{display:flex}.width-full{width:100%}.width-1-2{position:relative;width:50%}.width-1-3{position:relative;width:33.33%}.width-2-3{position:relative;width:66.66%}.width-0{width:0}.height-full{height:100%}.height-1-2{position:relative;height:50%}.height-0{height:0}.toggle-node{width:51px;height:51px}.overflow-hidden{overflow:hidden}.flex-column{flex-direction:column}.border{border:1px solid var(--calcite-color-border-3)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-3)}.border-right{border-right:2px solid var(--calcite-color-border-3)}.border-sides{border-left:1px solid var(--calcite-color-border-3);border-right:1px solid var(--calcite-color-border-3)}.position-relative{position:relative}.position-absolute{position:absolute}.position-sticky{position:sticky}.height-50{height:50%}.top-51{top:51px}.adjusted-height-50{height:calc(50% - 25px)}.adjusted-height-100{height:calc(100% - 50px)}.adjusted-height-100-51{height:calc(100% - 51px)}.display-none{display:none !important}.adjusted-height-50_25{height:calc(50% + 25px)}.position-absolute-53{position:absolute;top:53px}.display-grid{display:grid}.height-50-px{height:50px}.padding-inline-start-75{padding-inline-start:0.75rem}.align-items-center{align-items:center}.esri-floor-filter__close-levels-button{width:40px !important;height:40px !important}.esri-floor-filter__level-button{width:40px !important;height:40px !important}.esri-floor-filter__browse-button{width:40px !important;height:40px !important}.position-absolute-50{position:absolute;top:50px;bottom:0px;left:0px;right:0px}.position-absolute-0{position:absolute;top:0px;bottom:0px;left:0px;right:0px}.visibility-hidden{visibility:hidden;height:0px}.position-fixed{position:fixed}.border-width-0{border-width:0px}.border-bottom-width-0{border-bottom-width:0px}.floating-container{position:fixed;width:100px;height:10px;bottom:0;right:0;margin:100px 0px}.floating-container .floating-button{box-shadow:0 10px 25px rgb(92 93 94 / 60%);transform:translatey(5px);transition:all 0.3s}.z-index-0{z-index:0 !important}.z-index-1{z-index:1 !important}.filter-content-space{--calcite-dialog-content-space:0px}.background-dark{background:var(--calcite-color-background)}.filter-extent-container{display:flex;justify-content:space-between;align-items:center;padding:10px 0}.filter-modal-buttons{display:flex;padding:12px;gap:10px}.filter-extent-message{align-items:center;display:flex;gap:5px}";export{d as crowdsource_manager}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,c as i,g as s,h as e,F as a}from"./p-e996c38f.js";import{l as h,g as c,f as n}from"./p-404cbf48.js";import{b as o,d as l,a as r,c as d}from"./p-dcd2f00b.js";import{e as p}from"./p-0a24ad5f.js";import"./p-80cb7c73.js";import"./p-d4056c1c.js";const f=class{constructor(s){t(this,s),this.success=i(this,"success",7),this.fail=i(this,"fail",7),this.isActionPending=i(this,"isActionPending",7),this.formReady=i(this,"formReady",7),this.locale=void 0,this.mapView=void 0,this.table=void 0,this.selectedFeature=void 0,this.customizeSubmit=!1,this.showGuidingMsg=!0,this._editorLoading=!1,this._translations=void 0}get el(){return s(this)}Editor;_editor;reactiveUtils;_container;_addingAttachment;_isSubmitBtnClicked=!1;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(){await this.mapView.when((async()=>{await this.init()}))}async _editorLoadingWatchHandler(t){t&&(this._container?.classList.add("display-none"),await this.startCreate(),this._container?.classList.remove("display-none"),this._editorLoading=!1)}async submit(){this._editor&&(this._isSubmitBtnClicked=!0,this._editor.viewModel.featureFormViewModel.submit())}success;fail;isActionPending;formReady;async componentWillLoad(){await this._getTranslations(),await this.initModules()}async init(){this.mapView&&await this.createEditorWidget()}async initModules(){const[t,i]=await h(["esri/widgets/Editor","esri/core/reactiveUtils"]);this.Editor=t,this.reactiveUtils=i}render(){const t=this._editorLoading?"":"display-none";return e(a,{key:"261308f81b5bbed3e136efbb2100db9c1e5994a4"},this.showGuidingMsg&&e("calcite-notice",{key:"3aca1d3f48e46208ce07f2ccdd76ac4af752162d",class:"notice-msg",icon:"lightbulb",kind:"success",open:!0},e("div",{key:"f449d7dcde1cc75bf7470a75ae0ce915ef457459",slot:"message"},this._translations.provideDetailsMsg)),e("calcite-loader",{key:"e94e971b96ddba0ab36f27ffd4e37b820bb2432f",class:t,label:"",scale:"s"}))}async componentDidLoad(){await this.init()}disconnectedCallback(){this._editor&&this._editor.destroy()}async createEditorWidget(){this._editor&&this._editor.destroy(),this._container=document.createElement("div"),this._container?.classList.add("display-none"),this._editor=new this.Editor({view:this.mapView,visibleElements:{flow:!0,snappingControls:!1},container:this._container}),this.el.appendChild(this._container);const t=this.reactiveUtils.watch((()=>this._editor.viewModel.featureTemplatesViewModel.state),(t=>{"ready"===t&&(this._editorLoading=!0)}));this._editor.viewModel.addHandles(t);const i=this.reactiveUtils.watch((()=>this._editor.viewModel.state),(t=>{"adding-attachment"===t||"editing-attachment"===t?(this._addingAttachment=!0,this.isActionPending.emit(!0)):this._addingAttachment&&(this.isActionPending.emit(!1),this._addingAttachment=!1)}));this._editor.viewModel.addHandles(i);const s=this.reactiveUtils.watch((()=>this._editor.viewModel.featureFormViewModel?.state),(t=>{"ready"===t&&this.formReady.emit()}));this._editor.viewModel.addHandles(s)}async startCreate(){const t=this.selectedFeature.layer,i=this.table,s=t.relationships[0],e=i.relationships.find((i=>t.layerId===i.relatedTableId)),a=await t.queryFeatures({objectIds:[this.selectedFeature.getObjectId()],outFields:[t.objectIdField,s.keyField]}),h=i.templates[0],c={attributeOverrides:this.makeAttributesForRelatedFeature(a.features[0],s,e),layer:i,template:h};await this._editor.startCreateFeaturesWorkflowAtFeatureCreation(c),await this.hideEditorsElements(),this._editor.viewModel.featureFormViewModel.on("submit",this.submitted.bind(this))}async hideEditorsElements(){this.customizeSubmit&&(await this.timeout(700),this.el.querySelector(".esri-editor")?.querySelectorAll("calcite-flow-item")?.forEach((t=>{const i=t.shadowRoot?.querySelector("calcite-panel")?.shadowRoot?.querySelector("article");i?.querySelector("header")?.setAttribute("style","display: none"),i?.querySelector("footer")?.setAttribute("style","display: none")})))}makeAttributesForRelatedFeature(t,i,s){const e=i.keyField;let a;t.attributes.hasOwnProperty(e)?a=t.getAttribute(e):t.attributes.hasOwnProperty(e.toLowerCase())?a=t.getAttribute(e.toLowerCase()):t.attributes.hasOwnProperty(e.toUpperCase())&&(a=t.getAttribute(e.toUpperCase()));let h=s.keyField;const c=this.table.fields.find((t=>t.name.toLocaleLowerCase()===h.toLocaleLowerCase()));return h=c.name,{[h]:a}}async submitted(t){if(t.invalid.length)this._isSubmitBtnClicked=!1;else if(t.valid.length&&this._isSubmitBtnClicked){this._isSubmitBtnClicked=!1;try{await this._editor.activeWorkflow.commit(),this._editor.viewModel.failures?.length&&this._editor.viewModel.failures.some((t=>{if(t.error)throw t.error}))}catch(t){return void this.fail.emit(t)}this.success.emit()}}timeout(t){return new Promise((i=>setTimeout(i,t)))}async _getTranslations(){const t=await c(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"],_editorLoading:["_editorLoadingWatchHandler"]}}};f.style=":host{display:block}.esri-editor__panel-toolbar{display:none !important}.display-none{display:none !important}.esri-editor__panel-content{padding-block:10px !important}.notice-msg{padding:10px;width:calc(100% - 20px)}";const y=class{constructor(s){t(this,s),this.loadingStatus=i(this,"loadingStatus",7),this.commentSelect=i(this,"commentSelect",7),this.addComment=i(this,"addComment",7),this.likeOrDislikeClicked=i(this,"likeOrDislikeClicked",7),this.featureSelectionChange=i(this,"featureSelectionChange",7),this.mapView=void 0,this.graphics=void 0,this.reportingOptions=void 0,this.layerItemsHash=void 0,this.locale=void 0,this.showUserImageInCommentsList=!1,this.showFullCommentTitle=!0,this._likeFieldAvailable=!1,this._likeCount=0,this._disLikeCount=0,this._dislikeFieldAvailable=!1,this._commentsAvailable=!1,this._isLikeBtnClicked=!1,this._isDislikeBtnClicked=!1,this._relatedFeaturesOIDs=void 0,this._updating=!1}get el(){return s(this)}_infoCard;_commentsList;_selectedGraphic;_likeField;_dislikeField;Graphic;RelationshipQuery;_validFieldTypes=["small-integer","integer","big-integer","single","long"];relatedTableId;async graphicsWatchHandler(){await this.getCompleteGraphic(this.graphics[0]),this.checkLikeDislikeFields(),await this.processComments()}async refresh(t){await this.getCompleteGraphic(t),await this.processComments(),this.isLikeDislikeConfigured(t.layer)?t&&this.graphics.length>1&&this.checkLikeDislikeFields():(this._likeFieldAvailable=!1,this._dislikeFieldAvailable=!1)}async back(){this._infoCard.back()}async next(){this._infoCard.next()}async toggleListView(){this._infoCard.toggleListView()}loadingStatus;commentSelect;addComment;likeOrDislikeClicked;featureSelectionChange;async componentWillLoad(){await this._initModules(),await this.getCompleteGraphic(this.graphics[0]),this.checkLikeDislikeFields(),await this.processComments()}render(){const t=this._relatedFeaturesOIDs?.length>0?`objectId in(${this._relatedFeaturesOIDs})`:"1=0";return e("calcite-panel",{key:"577f06f7bc41875b38e07a44f3c734ccc839e596","full-height":!0},e("info-card",{key:"e815f75d02bcdfe9cc11796c913be2a6c2bfecd2",allowEditing:!1,graphics:this.graphics,highlightEnabled:!1,isLoading:!1,isMobile:!1,locale:this.locale,mapView:this.mapView,onSelectionChanged:t=>{this.featureSelectionChange.emit(t.detail)},paginationEnabled:!1,position:"relative",ref:t=>this._infoCard=t}),(this._likeFieldAvailable||this._dislikeFieldAvailable||this._commentsAvailable)&&e("div",{key:"16d0af6b0e75b595573bd0816744f03d9d6dec37",class:"buttons-container"},this._commentsAvailable&&e("calcite-button",{key:"550b3af830911a1437fa3e967492666ec8c5a2e4",appearance:"transparent",iconEnd:"speech-bubble",kind:"neutral",onClick:()=>{this.addComment.emit()},scale:"m"},this._relatedFeaturesOIDs.length),this._likeFieldAvailable&&e("calcite-button",{key:"741848445c2083f4c0a3d9464cd810deee4a1218",appearance:"transparent",iconEnd:"thumbs-up",kind:this._isLikeBtnClicked?"brand":"neutral",loading:this._updating,onClick:this.onLikeButtonClick.bind(this),scale:"m"},this._likeCount??this._selectedGraphic.attributes[this._likeField]??0),this._dislikeFieldAvailable&&e("calcite-button",{key:"4d5e8ae279559dbf981b1b91238706adbd6ebeef",appearance:"transparent",iconEnd:"thumbs-down",kind:this._isDislikeBtnClicked?"brand":"neutral",loading:this._updating,onClick:this.onDislikeButtonClick.bind(this),scale:"m"},this._disLikeCount??this._selectedGraphic.attributes[this._dislikeField]??0)),this.relatedTableId&&this._commentsAvailable&&e("feature-list",{key:"0daad9b37b13a05afc4b8a3a6eca70a7356afd8f",class:"height-full",locale:this.locale,mapView:this.mapView,onFeatureSelect:t=>{this.commentSelect.emit(t.detail)},pageSize:5,ref:t=>this._commentsList=t,selectedLayerId:this.relatedTableId,showErrorWhenNoFeatures:!1,showFullTitle:this.showFullCommentTitle,showInitialLoading:!1,showUserImageInList:this.showUserImageInCommentsList,textSize:"small",whereClause:t}))}async _initModules(){const[t,i]=await h(["esri/rest/support/RelationshipQuery","esri/Graphic"]);this.RelationshipQuery=t,this.Graphic=i}async getCompleteGraphic(t){if(t){const i=t.layer,s=i.createQuery();s.objectIds=[t.getObjectId()];const e=await i.queryFeatures(s);this._selectedGraphic=e.features[0]}}async processComments(){const t=this._selectedGraphic.layer;if(this.reportingOptions&&this.reportingOptions[t.id]&&this.reportingOptions[t.id].comment&&t.relationships?.length>0){const i=await o(this.mapView);let s=null,e=null;if(t.relationships.some((a=>{const h=i.filter((i=>t.url===i.url&&i.layerId===a.relatedTableId));if(h&&h.length>0)return s=h[0],e=a.id,!0})),this.relatedTableId=s?.id??"",this.relatedTableId){const i=this._selectedGraphic.attributes[t.objectIdField],a=new this.RelationshipQuery({objectIds:[i],outFields:["*"],relationshipId:e}),h=await t.queryRelatedFeatures(a).catch((t=>{console.error(t)})),c=[];h[i]&&h[i].features.forEach((t=>{c.push(t.attributes[s.objectIdField])})),this._relatedFeaturesOIDs=c,this._commentsAvailable=!0}else this._relatedFeaturesOIDs=[],this._commentsAvailable=!1}else this._relatedFeaturesOIDs=[],this._commentsAvailable=!1,this.relatedTableId=""}isLikeDislikeConfigured(t){let i=!1,s=!1;if(this.reportingOptions&&this.reportingOptions[t.id]){if(!this.reportingOptions[t.id].like&&!this.reportingOptions[t.id].dislike)return!1;const e=this.reportingOptions[t.id].likeField,a=this.reportingOptions[t.id].dislikeField;if(!e&&!a)return!1;t.fields.forEach((h=>{this._validFieldTypes.indexOf(h.type)>-1&&this.layerItemsHash[t.id].supportsUpdate&&(h.name===e&&this.reportingOptions[t.id].like?i=!0:h.name===a&&this.reportingOptions[t.id].dislike&&(s=!0))}))}return i||s}checkLikeDislikeFields(){this._likeFieldAvailable=!1,this._dislikeFieldAvailable=!1,this._isLikeBtnClicked=!1,this._isDislikeBtnClicked=!1,this._likeCount=0,this._disLikeCount=0;const t=this._selectedGraphic.layer;if(this.reportingOptions&&this.reportingOptions[t.id]){if(this._likeField=this.reportingOptions[t.id].likeField,this._dislikeField=this.reportingOptions[t.id].dislikeField,!this._likeField&&!this._dislikeField)return;t.fields.forEach((i=>{this._validFieldTypes.indexOf(i.type)>-1&&this.layerItemsHash[t.id].supportsUpdate&&(i.name===this._likeField&&this.reportingOptions[t.id].like?(this._likeFieldAvailable=!0,this._likeCount=this._selectedGraphic.attributes[i.name]):i.name===this._dislikeField&&this.reportingOptions[t.id].dislike&&(this._dislikeFieldAvailable=!0,this._disLikeCount=this._selectedGraphic.attributes[i.name]))})),this.getFromLocalStorage()}}onLikeButtonClick(){this._isDislikeBtnClicked&&this.reportingOptions[this._selectedGraphic.layer.id].dislike&&this.onDislikeButtonClick(),this._isLikeBtnClicked=!this._isLikeBtnClicked,this._isLikeBtnClicked?this._likeCount++:this._likeCount--,this.updateFeaturesLikeDislikeField(this._likeField,this._isLikeBtnClicked)}onDislikeButtonClick(){this._isLikeBtnClicked&&this.reportingOptions[this._selectedGraphic.layer.id].like&&this.onLikeButtonClick(),this._isDislikeBtnClicked=!this._isDislikeBtnClicked,this._isDislikeBtnClicked?this._disLikeCount++:this._disLikeCount--,this.updateFeaturesLikeDislikeField(this._dislikeField,this._isDislikeBtnClicked)}async updateFeaturesLikeDislikeField(t,i){const s={},e=this._selectedGraphic.layer;this._updating=!0;const a=this._selectedGraphic;a.attributes[t]=Number(a.attributes[t])+(i?1:-1),s[e.objectIdField]=a.attributes[e.objectIdField],s[t]=a.attributes[t];const h=new this.Graphic;h.attributes=s;const c={updateFeatures:[h]};await e.applyEdits(c).then((()=>{this._selectedGraphic=a,this.setInLocalStorage(),this._updating=!1,this.likeOrDislikeClicked.emit()}),(t=>{this._updating=!1,console.log(t)}))}getFromLocalStorage(){const t=localStorage[this._selectedGraphic.layer.id];if(t){const i=JSON.parse(t).filter((t=>t.id===this._selectedGraphic.getObjectId()));i.length>0&&(this._isLikeBtnClicked=i[0].like,this._isDislikeBtnClicked=i[0].dislike)}}setInLocalStorage(){const t=this._selectedGraphic.layer.id,i=localStorage[t];let s=[];if(i){s=JSON.parse(i);const t=s.findIndex((t=>t.id===this._selectedGraphic.getObjectId()));t>=0&&s.splice(t,1)}s.push({id:this._selectedGraphic.getObjectId(),like:this._isLikeBtnClicked&&0!==this._likeCount,dislike:this._isDislikeBtnClicked&&0!==this._disLikeCount}),localStorage.setItem(t,JSON.stringify(s))}static get watchers(){return{graphics:["graphicsWatchHandler"]}}};y.style=":host{display:block}.buttons-container{align-items:center;display:flex;padding:4px;color:var(--calcite-color-text-1) !important;background-color:var(--calcite-color-foreground-1) !important;border-block-start:1px solid var(--calcite-color-border-3);border-block-end:1px solid var(--calcite-color-border-3)}";const b=class{constructor(s){t(this,s),this.layerSelect=i(this,"layerSelect",7),this.layersListLoaded=i(this,"layersListLoaded",7),this.mapView=void 0,this.layers=void 0,this.locale=void 0,this.showFeatureCount=!0,this.showNextIcon=!1,this.applyLayerViewFilter=!1,this.filterByMapExtent=!1,this._noLayersToDisplay=!1,this._mapLayerIds=[],this._isLoading=!1,this._translations=void 0}get el(){return s(this)}_layerItemsHash;reactiveUtils;_filterByMapExtentHandle;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}filterByMapExtentWatchHandler(t){t?this.initializeMapExtentFilter():this._filterByMapExtentHandle&&this._filterByMapExtentHandle.remove()}async refresh(){await this.setLayers()}layerSelect;layersListLoaded;async componentWillLoad(){await this.initModules(),await this._getTranslations(),this.filterByMapExtent&&this.initializeMapExtentFilter()}async componentDidLoad(){await this.setLayers()}render(){return e(a,{key:"ac83dce884ea72ee461cc628efb51bce08cf4ce5"},this._isLoading&&e("calcite-loader",{key:"77d15458f7a081acdae63f26ffaf7b2a5ca143ec",label:"",scale:"m"}),!this._isLoading&&this.mapView&&this._noLayersToDisplay&&e("calcite-notice",{key:"d48169628cdaf271a1263f1ef3218a98e64897f1",class:"error-msg",icon:"layers-reference",kind:"danger",open:!0},e("div",{key:"e5568829b5c90524f0d9313e4812d30837609db2",slot:"title"},this._translations.error),e("div",{key:"13f04655936656439c1119c56a0f7f919994f402",slot:"message"},this._translations.noLayerToDisplayErrorMsg)),!this._isLoading&&this.mapView&&e("calcite-list",{key:"b20eeb9052c5f75a2bf798e797ec928d37729484",label:"","selection-appearance":"border","selection-mode":"none"},this.renderLayerList()))}async initModules(){const[t]=await p.exports.loadModules(["esri/core/reactiveUtils"]);this.reactiveUtils=t}initializeMapExtentFilter(){this._filterByMapExtentHandle=this.reactiveUtils.when((()=>this.mapView.stationary),(()=>{this.setLayers()}),{initial:!0})}async setLayers(){this.mapView&&(this._isLoading=!0,await this.initLayerHash(),this._isLoading=!1)}async initLayerHash(){const t=[];this._layerItemsHash=await l(this.mapView,!0);const i=await r(this.mapView);for(const s of i)if("feature"===s?.type&&this.showFeatureCount){const i=s.createQuery();if(s?.definitionExpression&&(i.where=i.where+" AND "+s.definitionExpression),this.applyLayerViewFilter){const t=await d(this.mapView,s.id);t?.filter?.where&&(i.where=i.where?i.where+" AND "+t.filter.where:t.filter.where)}i.geometry=this.filterByMapExtent?this.mapView.extent:null;const e=s.queryFeatureCount(i);t.push(e),e.then((async t=>{const i=isNaN(t)?"":await n(t,{places:0,api:4,type:"decimal"});this._layerItemsHash[s.id].formattedFeatureCount=i}))}await Promise.all(t).then((()=>{const t=this.getLayersToBeShownInList(this._layerItemsHash);this._mapLayerIds=t.reverse(),this.handleNoLayersToDisplay()}),(()=>{this._mapLayerIds=[],this.handleNoLayersToDisplay()}))}handleNoLayersToDisplay(){this._noLayersToDisplay=!(this._mapLayerIds.length>0),this.layersListLoaded.emit(this._mapLayerIds)}getLayersToBeShownInList(t){const i=this.layers?.length>0?this.layers:[];return Object.keys(t).reduce(((t,s)=>(i.indexOf(s)>-1&&t.push(s),t)),[])}renderLayerList(){return this._mapLayerIds.length>0&&this._mapLayerIds.reduce(((t,i)=>(this._layerItemsHash[i]&&t.push(this.getLayerListItem(i)),t)),[])}getLayerListItem(t){const i=this._layerItemsHash[t].formattedFeatureCount;return e("calcite-list-item",{onCalciteListItemSelect:()=>{this.onLayerItemSelected(t)}},e("div",{class:"layer-name",slot:"content-start"},this._layerItemsHash[t].name),this.showFeatureCount&&void 0!==i&&""!==i&&e("div",{class:"feature-count",slot:"content-end"},"("+i+")"),this.showNextIcon&&e("calcite-icon",{flipRtl:!0,icon:"chevron-right",scale:"s",slot:"content-end"}))}onLayerItemSelected(t){this.layerSelect.emit({layerId:t,layerName:this._layerItemsHash[t].name})}async _getTranslations(){const t=await c(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],filterByMapExtent:["filterByMapExtentWatchHandler"]}}};b.style=":host{display:block}.error-msg{padding:10px}.layer-name{font-weight:500;word-break:break-word}.feature-count{padding:0 10px}";export{f as create_related_feature,y as feature_details,b as layer_list}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,c as i,g as e,h as s,F as a,H as h}from"./p-e996c38f.js";import{l as o,g as n}from"./p-404cbf48.js";import{a as d,g as c}from"./p-dcd2f00b.js";import{P as r}from"./p-bf04c6f4.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";import"./p-db3391b9.js";import"./p-4fe489cf.js";import"./p-2bc98cb0.js";import"./p-4f236b5d.js";import"./p-570b13d9.js";import"./p-0668e30d.js";const l=class{constructor(e){t(this,e),this.success=i(this,"success",7),this.fail=i(this,"fail",7),this.drawComplete=i(this,"drawComplete",7),this.editingAttachment=i(this,"editingAttachment",7),this.progressStatus=i(this,"progressStatus",7),this.modeChanged=i(this,"modeChanged",7),this.customizeSubmit=!1,this.enableSearch=!1,this.floorLevel=void 0,this.formElements=void 0,this.isMobile=void 0,this.locale=void 0,this.mapView=void 0,this.searchConfiguration=void 0,this.selectedLayerId=void 0,this.showGuidingMsg=!0,this.showGuidingMsgWhileDrawing=!0,this.submitNewReportsMessage=void 0,this._currentPage="templatePicker",this._editorLoading=!1,this._translations=void 0}get el(){return e(this)}Editor;ExpressionInfo;FeatureLayer;FieldElement;FormTemplate;MapView;Search;_addingAttachment;_calciteNotice;_container;_editor;_isSubmitBtnClicked=!1;_mapViewContainer;reactiveUtils;_search;_searchDiv;_selectedLayer;_updatedMapView;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(){await this.mapView.when((async()=>{await this.init()}))}async isMobileHandler(){this.modeChanged.emit()}async _editorLoadingWatchHandler(t){if(t){if(this._container?.classList.add("display-none"),this._selectedLayer?.isTable){const t={layer:this._selectedLayer,template:this._selectedLayer.templates[0]};await this._editor.startCreateFeaturesWorkflowAtFeatureCreation(t),await this.hideEditorsElements()}else await this.startCreate();this._container?.classList.remove("display-none"),this._editorLoading=!1}}async submit(){this._editor&&(this._isSubmitBtnClicked=!0,this._editor.viewModel.featureFormViewModel.submit())}async refresh(t){this._editor&&this._setFloorLevel(t)}success;fail;drawComplete;editingAttachment;progressStatus;modeChanged;async componentWillLoad(){await this._getTranslations(),await this.initModules()}async componentDidLoad(){await this.init()}componentDidRender(){this.isMobile&&(this._mapViewContainer.style.top=`${this._calciteNotice.offsetHeight+this._searchDiv.offsetHeight+80}px`)}disconnectedCallback(){this._editor&&this._editor.destroy()}render(){const t="drawing"===this._currentPage?"":"display-none",i=this._editorLoading?"":"display-none",e=this._editorLoading?"display-none":"",h=this.isMobile?"show-map":"display-none";let o=this._translations.chooseCategoryMsg;return"drawing"===this._currentPage?o=this._translations.provideLocationMsg:"featureForm"===this._currentPage&&(o=this._translations.provideDetailsMsg),s(a,{key:"cb3462a70e0097e9b4ac9dac3f910fce6d30f8b5"},this.showGuidingMsg&&(this.showGuidingMsgWhileDrawing||"drawing"!==this._currentPage)&&s("calcite-notice",{key:"ddd908ac4b31f60d07de064ec1decae06b3d93bd",class:"notice-msg",icon:"lightbulb",kind:"success",open:!0,ref:t=>this._calciteNotice=t},s("div",{key:"3cee10085fa29190d88d3d03d35f726d1b51651b",slot:"message"},o)),s("calcite-loader",{key:"cf714d63a011712fa03c148c17a8811356e14859",class:i,label:"",scale:"s"}),s("div",{key:"e20cb740a1d22795b397af191a26339d709aba0d",class:e,id:"feature-form"}),this.enableSearch&&s("div",{key:"d2b439d3845b69527fdea2414c7b22078b0af4ea",class:`search-widget ${t} ${e}`,id:"search-widget-ref",ref:t=>this._searchDiv=t}),s("div",{key:"1f4e39aaaa93f4e2102767c04c5ad256e4f129e2",class:`${h}`,ref:t=>{this._mapViewContainer=t}}))}async init(){this.mapView&&this.selectedLayerId&&(this._updatedMapView=this.mapView,await(this.isMobile?this.createMobileMapView():this._loadWidgets()))}async initModules(){const[t,i,e,s,a,h,n]=await o(["esri/widgets/Editor","esri/core/reactiveUtils","esri/widgets/Search","esri/form/ExpressionInfo","esri/form/elements/FieldElement","esri/form/FormTemplate","esri/views/MapView"]);this.Editor=t,this.reactiveUtils=i,this.Search=e,this.ExpressionInfo=s,this.FieldElement=a,this.FormTemplate=h,this.MapView=n}async createMobileMapView(){this._mapViewContainer.classList.add("hide-map"),await new this.MapView({map:this.mapView.map,container:this._mapViewContainer,zoom:this.mapView.zoom}).when((t=>{this._updatedMapView=t,this._loadWidgets()}),(t=>{console.log(t)}))}async _loadWidgets(){await this.createEditorWidget(),this.enableSearch&&await this.createSearchWidget()}async createEditorWidget(){this._editor&&this._editor.destroy();const t=[];this._container=document.createElement("div"),this._container?.classList.add("display-none");const i=await d(this._updatedMapView);this._selectedLayer=await c(this.mapView,this.selectedLayerId),this._selectedLayer?.isTable||i.forEach((async i=>{t.push({layer:i,enabled:"feature"===i?.type&&i?.id===this.selectedLayerId,addEnabled:!0,updateEnabled:!1,deleteEnabled:!1})})),this._editor=new this.Editor({view:this._updatedMapView,layerInfos:t,visibleElements:{snappingControls:!1,createFeaturesSection:!0,editFeaturesSection:!1,flow:!1},container:this._container}),this._mapViewContainer?this.el.insertBefore(this._container,this._mapViewContainer):this.el.appendChild(this._container);const e=this.reactiveUtils.watch((()=>this._editor.viewModel.state),(t=>{"adding-attachment"===t||"editing-attachment"===t?(this._addingAttachment=!0,this.editingAttachment.emit(!0)):this._addingAttachment&&(this.editingAttachment.emit(!1),this._addingAttachment=!1)}));this._editor.viewModel.addHandles(e);const s=this.reactiveUtils.watch((()=>this._editor.viewModel.featureTemplatesViewModel.state),(t=>{"ready"===t&&"create-features"!==this._editor.viewModel?.activeWorkflow?.type&&(this.progressStatus.emit(50),this._editorLoading=!0)}));this._editor.viewModel.addHandles(s);const a=this.reactiveUtils.watch((()=>this._editor.viewModel.featureFormViewModel?.state),(t=>{"ready"===t&&(this._mapViewContainer?.classList?.replace("show-map","hide-map"),this._editor.viewModel.featureFormViewModel.on("submit",this.submitted.bind(this)),setTimeout((()=>{this._setFloorLevel(this.floorLevel)}),50),this._currentPage="featureForm",this.progressStatus.emit(100),this.drawComplete.emit())}));this._editor.viewModel.addHandles(a);const h=this.reactiveUtils.watch((()=>this._editor.viewModel.state),(t=>{"creating-features"===t&&"disabled"===this._editor.viewModel.featureFormViewModel.state&&(this._mapViewContainer?.classList?.replace("hide-map","show-map"),this._selectedLayer&&!this._selectedLayer.isTable&&(this._currentPage="drawing"))}));this._editor.viewModel.addHandles(h)}async startCreate(){return await this.hideEditorsElements(),new Promise(((t,i)=>{if(this._editor.viewModel.featureTemplatesViewModel.items?.length){const e=this._editor.viewModel.featureTemplatesViewModel.items[0].items;this._editor.viewModel.featureTemplatesViewModel.on("select",(()=>{this.progressStatus.emit(75),setTimeout((()=>{this.hideEditorsElements().then((()=>{t({})}),(t=>i(t)))}),700)})),1===e.length&&this._editor.viewModel.featureTemplatesViewModel.select(e[0]);const s=e.length>1;this.hideEditorsElements().then((()=>{s&&t({})}),(t=>s&&i(t)))}}))}async createSearchWidget(){let t={view:this._updatedMapView};this.searchConfiguration&&(t={...this._getSearchConfig(this.searchConfiguration,this._updatedMapView)}),this._search=new this.Search(t),this._search.container="search-widget-ref",this._search.popupEnabled=!1,this._search.resultGraphicEnabled=!1;let i=null;this._search.on("search-complete",(t=>{this._updatedMapView.goTo(t.results[0].results[0].extent),"point"===this._selectedLayer.geometryType&&(i=t.results[0].results[0]?.feature.geometry)}));const e=this.reactiveUtils.watch((()=>this._search.viewModel.state),(t=>{"ready"===t&&setTimeout((()=>{this._editor.viewModel.sketchViewModel.createGraphic&&i&&(this._editor.viewModel.sketchViewModel.createGraphic.set("geometry",i),this._editor.viewModel.sketchViewModel.complete(),this.hideEditorsElements())}),100)}));this._search.viewModel.addHandles(e)}_getSearchConfig(t,i){const e=t.sources;return e?.length>0?(t.includeDefaultSources=!1,e.forEach((t=>{if(t.hasOwnProperty("layer")){const e=t,s=e.layer?.id,a=s?i.map.findLayerById(s):null,h=e?.layer?.url;a?e.layer=a:h&&(e.layer=new this.FeatureLayer(h))}})),e?.forEach((t=>{if(t.hasOwnProperty("locator")){const i=t;"ArcGIS World Geocoding Service"===i?.name&&(i.outFields=i.outFields||["Addr_type","Match_addr","StAddr","City"],i.singleLineFieldName="SingleLine"),i.url=i.url,delete i.url}}))):t={...t,includeDefaultSources:!0},t}async _setFloorLevel(t){if(!t)return;const i=this._selectedLayer;if(i?.floorInfo?.floorField){const e=i.fields.find((t=>t.name===i.floorInfo.floorField));if(e&&!i?.formTemplate)this._editor.viewModel.featureFormViewModel.setValue(e.name,t),e.editable=!1;else if(i.formTemplate&&this.formElements){const e=new this.ExpressionInfo({expression:`"${t}"`,name:"floor-info-test",title:"Floor Info",returnType:"string"}),s=new this.FieldElement({label:i.floorInfo.floorField,editableExpression:"false",fieldName:i.floorInfo.floorField,input:{type:"text-box",maxLength:50,minLength:0},valueExpression:e.name});this._updatedMapView.map.editableLayers.forEach((t=>{const i=this.formElements.orgExpressionInfos,a=[...this.formElements.orgElements];a.push(s);const h=new this.FormTemplate({title:t.formTemplate.title,description:t.formTemplate.description,elements:a,expressionInfos:[e].concat(i)});t.formTemplate=h}))}}}async hideEditorsElements(){this.customizeSubmit&&(await this.timeout(700),this.el.querySelector(".esri-editor")?.querySelectorAll("calcite-flow-item")?.forEach((t=>{const i=t.shadowRoot?.querySelector("calcite-panel")?.shadowRoot?.querySelector("article");i?.querySelector("header")?.setAttribute("style","display: none"),i?.querySelector("footer")?.setAttribute("style","display: none")})))}async submitted(t){if(t.invalid.length)this._isSubmitBtnClicked=!1;else if(this._isSubmitBtnClicked){this._isSubmitBtnClicked=!1;try{await this._editor.activeWorkflow.commit(),this._editor.viewModel.failures?.length&&this._editor.viewModel.failures.some((t=>{if(t.error)throw t.error}))}catch(t){return void this.fail.emit(t)}this.success.emit()}}timeout(t){return new Promise((i=>setTimeout(i,t)))}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"],isMobile:["isMobileHandler"],_editorLoading:["_editorLoadingWatchHandler"]}}};l.style=":host{display:block}.esri-editor__panel-toolbar{display:none !important}.esri-editor__panel-content{padding-block:0px !important}.esri-editor .esri-item-list__group__header{display:none !important}.esri-editor__panel-content__section .esri-widget__heading{display:none !important}.esri-editor .esri-item-list__filter-container--sticky{padding-block:0px !important;padding-inline:10px !important}.search-widget{width:92% !important;margin:5px 14px 20px 14px}.display-none{display:none !important}.hide-map{height:1%;visibility:hidden}.show-map{padding:10px !important;position:absolute !important;bottom:0;height:auto !important;width:calc(100% - 22px)}.notice-msg{padding:10px;width:calc(100% - 20px)}.esri-editor__panel-content{padding-block:10px !important}@media only screen and (max-width: 600px){.esri-editor__panel-content{padding-block:0 !important;min-height:0 !important}}";const p=class{constructor(e){t(this,e),this.editsComplete=i(this,"editsComplete",7),this.deleteDialog=void 0,this.buttonType="button",this.disabled=!1,this.icon=void 0,this.ids=[],this.layer=void 0,this.locale=void 0,this._confirmDelete=!1,this._deleteEndabled=!1,this._supportsDelete=void 0,this._translations=void 0}get el(){return e(this)}async idsWatchHandler(){this._setDeleteEnabled()}async layerWatchHandler(){this._setDeleteEnabled()}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}editsComplete;async componentWillLoad(){await this._getTranslations()}render(){return s(h,{key:"73d07f24703df76fdacc1b3a1ec80cfdd7bbee30"},"button"===this.buttonType?s("calcite-button",{appearance:"outline",disabled:!this._deleteEndabled,id:"solutions-delete",kind:"danger",onClick:()=>this._delete(),width:"full"},this._translations.deleteCount.replace("{{n}}",this.ids.length.toString())):s("calcite-action",{appearance:"solid",disabled:!this._deleteEndabled,id:this.icon,onClick:()=>this._delete(),scale:"s",text:this._translations.delete},s("calcite-button",{appearance:"transparent",iconStart:this.icon,kind:"danger"},this._translations.delete)),this._deleteMessage(),s("calcite-tooltip",{key:"803898895029bd098264b9144ff5ccee102d4ae8",placement:"bottom","reference-element":"button"===this.buttonType?"solutions-delete":this.icon},s("span",{key:"a920ffea1849667cd58812a2c1813d2e066f0064"},this._translations.delete)))}async componentDidLoad(){this._setDeleteEnabled()}_setDeleteEnabled(){this._supportsDelete=this.layer?.editingEnabled&&this.layer?.capabilities?.operations?.supportsDelete,this._deleteEndabled=!this.disabled||this._supportsDelete&&this.ids.length>0}_delete(){this._confirmDelete=!0}_deleteMessage(){return this.deleteDialog?this.deleteDialog:s("delete-dialog",{id:"solution-delete-dialog",ids:this.ids,layer:this.layer,locale:this.locale,onDeleteDialogClose:()=>this._confirmDelete=!1,open:this._confirmDelete})}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}static get watchers(){return{ids:["idsWatchHandler"],layer:["layerWatchHandler"],locale:["localeWatchHandler"]}}};p.style=":host{display:block}.delete-modal{position:fixed}";const f=class{constructor(e){t(this,e),this.closeEdit=i(this,"closeEdit",7),this.editorInitialized=i(this,"editorInitialized",7),this.editsComplete=i(this,"editsComplete",7),this.refreshGraphics=i(this,"refreshGraphics",7),this.enableEditGeometry=!1,this.graphics=void 0,this.locale=void 0,this.mapView=void 0,this.open=!1,this.graphicIndex=0,this._editorLoading=!1,this._translations=void 0}get el(){return e(this)}_activeWorkflowHandle;_addRelatedRecordHandle;_attachmentHandle;_editHandle;_layerEditHandle;Editor;_editor;_layer;_editContainer;_editControlElements;_editingDisabled;_shouldClose=!1;reactiveUtils;async graphicsWatchHandler(){0===this.graphics.length&&this.open&&await this._closeEdit(!0)}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async openWatchHandler(t){t&&this.graphics?.length>0&&this.graphicIndex>-1&&(this._editorLoading=!0,await this._initEditorWidget(),this.graphicIndex>-1&&this.graphics.length>0&&this.open&&!this._shouldClose&&await this._startUpdate(),this._editorLoading=!1),t||await this._closeEdit(!0)}closeEdit;editorInitialized;editsComplete;refreshGraphics;async featureSelectionChange(){this.open&&await this._closeEdit(!1)}async componentWillLoad(){await this._initModules(),await this._getTranslations()}async componentWillRender(){this.graphics?.length>0&&this.graphics[0]?.layer&&(this._layer=this.graphics[0].layer,this._layerEditHandle&&this._layerEditHandle.remove(),this._layerEditHandle=("subtype-sublayer"===this._layer.type?this._layer.parent:this._layer).on("edits",(()=>{this.editsComplete.emit()})))}render(){const t=this._editorLoading?"display-none":"position-absolute",i=this._editorLoading?"":"display-none";return s(h,{key:"e181f65e7218ce0350de5dcab9049ff63a5d39c1"},s("div",{key:"44bf2b5cf31c5acc7f65fb7ec50fd84e77c95470",class:"position-absolute"},this.graphics?.length>0&&this.graphics[0]&&this.graphics[0].layer.editingEnabled?void 0:s("calcite-notice",{kind:"warning",open:!0,slot:"content-top",width:"full"},s("div",{slot:"message"},this._translations.enableEditing)),s("div",{key:"97119476aa2a992ccadc1d61119f2640d195e7b1",class:"position-absolute"},s("div",{key:"f429decea684a6a22db89de89da3755bdbff19cc",class:t,id:"feature-form",ref:t=>this._editContainer=t}),s("calcite-loader",{key:"3ea908ef8dadd2f1c85bfac1b344f8b4441b8706",class:i,label:"",scale:"s"}))))}async _initModules(){const[t,i]=await o(["esri/widgets/Editor","esri/core/reactiveUtils"]);this.Editor=t,this.reactiveUtils=i}async _initEditorWidget(){if(this.mapView&&this.graphics&&this.graphics.length>0&&this.graphics[0]){this._editor&&this._editor.destroy();const t=document.createElement("div"),i=(await d(this.mapView)).map((t=>({layer:t,geometryUpdatesEnabled:this.enableEditGeometry})));this._editor=new this.Editor({view:this.mapView,layerInfos:i,visibleElements:{flow:!0,snappingControls:!1},container:t}),this._attachmentHandle&&this._activeWorkflowHandle&&(this._attachmentHandle.remove(),this._activeWorkflowHandle.remove()),this._attachmentHandle=this.reactiveUtils.when((()=>"adding-attachment"===this._editor.viewModel.state||"editing-attachment"===this._editor.viewModel.state||"creating-features"===this._editor.viewModel.state),(()=>{this._shouldClose=!1})),this._activeWorkflowHandle=this.reactiveUtils.watch((()=>this._editor.viewModel.activeWorkflow?.activeWorkflow),(t=>{"update-table-record"!==t?.type&&"create-features"!==t?.type||(this._shouldClose=!1),(t?.type||t?.hasPendingEdits||this._editor.activeWorkflow)&&this._editor?.activeWorkflow?.started||(this.open=!1)})),this._editContainer.appendChild(t),this.editorInitialized.emit(this._editor)}}async _closeEdit(t){this._shouldClose=!0,t&&this._editor?.activeWorkflow?(this._editor.activeWorkflow?.activeWorkflow?.hasPendingEdits&&(await this._editor.activeWorkflow.reset(),await this._editor.cancelWorkflow()),this._editor.destroy()):this.graphicIndex>-1&&this.graphics?.length>0&&this.refreshGraphics.emit(this.graphics),this._shouldClose=!1,this.closeEdit.emit()}async _startUpdate(){await this._editor.startUpdateWorkflowAtFeatureEdit(this.graphics[this.graphicIndex]),this._shouldClose=!0}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}static get watchers(){return{graphics:["graphicsWatchHandler"],locale:["localeWatchHandler"],open:["openWatchHandler"]}}};f.style=":host{display:block}.padding-bottom-1{padding-bottom:1rem}.font-bold{font-weight:var(--calcite-font-weight-bold)}.font-500{font-weight:var(--calcite-font-weight-medium)}.font-italic{font-style:italic}#feature-form{padding-top:0px}.padding-sides-bottom-1{padding:0 1rem 1rem 1rem}.position-relative{position:relative}.esri-editor__prompt--danger{position:relative !important;width:100% !important;background-color:var(--calcite-color-foreground-1) !important}.esri-feature__content-node{background-color:var(--calcite-color-foreground-1) !important}.esri-editor__panel-toolbar{display:none !important}.position-absolute{position:absolute;top:0;right:0;bottom:0;left:0;overflow:auto}.esri-editor__panel-content{padding-block:10px !important}";const b=class{constructor(e){t(this,e),this.popupClosed=i(this,"popupClosed",7),this.clearSelection=i(this,"clearSelection",7),this.selectionChanged=i(this,"selectionChanged",7),this.enableEditGeometry=!1,this.graphics=void 0,this.isLoading=!1,this.isMobile=void 0,this.mapView=void 0,this.allowEditing=!0,this.highlightEnabled=!0,this.locale=void 0,this.paginationEnabled=!0,this.position="absolute",this.showCloseBtn=!1,this._alertOpen=!1,this._count="",this._editRecordOpen=!1,this._mobileTitle="",this._showListView=!1,this._translations=void 0,this._navigatedToRelatedFeature=void 0}get el(){return e(this)}Features;_editEnabled;_features;_layer;_popupUtils;_featuresNodeId="features-node"+(new Date).getMilliseconds().toString();reactiveUtils;_relatedFeature;async graphicsWatchHandler(){this._navigatedToRelatedFeature&&this._features&&(this._features.clear(),this._features.close(),this._count="",this._navigatedToRelatedFeature=!1),await this.setGraphics()}async isMobileWatchHandler(){await this._initFeaturesWidget()}async localeWatchHandler(){if(this.el.lang=this.locale,await this._getTranslations(),this._features){const t=[...this.graphics];this.graphics=[],this.graphics=t}}async mapViewWatchHandler(){return await this._initFeaturesWidget()}async getSelectedFeature(){return this._features.selectedFeature}async refresh(){await this.setGraphics()}async back(){this._features.previous(),this._count=this._getCount()}async next(){this._features.next(),this._count=this._getCount()}async toggleListView(){this._showListView=!this._showListView;const t=this._features.selectedFeatureIndex;this._features.open({features:this.graphics,featureMenuOpen:this._showListView}),this._features.selectedFeatureIndex=t}async updateCurrentGraphic(t){this._features.selectedFeatureWidget.graphic=t}popupClosed;clearSelection;selectionChanged;async closeEdit(){this._editRecordOpen=!1}async layerSelectionChange(){this._showListView=!1,this._features?.viewModel&&(this._features.viewModel.featureMenuOpen=!1,this._features.close())}async refreshGraphics(t){this._navigatedToRelatedFeature||(this.graphics=[...t.detail])}async componentWillLoad(){await this._initModules(),await this._getTranslations(),this._popupUtils=new r}async componentDidLoad(){this.graphics?.length>0&&await this.setGraphics()}render(){const t=this.isLoading?"":"display-none",i=this.isLoading||this._editRecordOpen?"visibility-hidden":"position-absolute",e=!this.isLoading&&this._editRecordOpen?"position-absolute":"display-none",a=!this.isLoading&&this._editRecordOpen||this._showListView?"display-none":"",o=this._features?.features?.length<2||this._navigatedToRelatedFeature,n=this.isMobile?"display-none":"",d=this._features?.selectedFeature?.getObjectId(),c=parseInt(d?.toString(),10)>-1?[d]:[],r=this._layer?.editingEnabled&&this._layer?.capabilities?.operations?.supportsDelete,l=this._relatedFeature?[this._relatedFeature]:this.graphics,p=this._navigatedToRelatedFeature?0:this._features?.selectedFeatureIndex;return s(h,{key:"7662ad49543f574bbcb58f2b9611efefc0420259"},s("calcite-shell",{key:"10075ee9cdf4d9e8a6dee615755c53eaaece8c21",style:{position:this.position}},this._getHeader(),s("calcite-loader",{key:"fc668f26163e1135d37a5dee1c08d72d7feee9d5",class:t,label:this._translations.fetchingData}),s("div",{key:"73faf27901ae65feaf4faae8227aa21bfb1fb0a3",class:"esri-widget feature-node "+i,id:this._featuresNodeId}),s("div",{key:"ced1edadc747dd7a087fed7b0a8e378def491381",class:`${a} width-100`,slot:"footer"},this.allowEditing&&s("div",{key:"3f1ab07a2d197730d03497d0c5c5a2970e0f42ec",class:"display-flex top-border padding-1-2"},s("calcite-button",{key:"946cb64983426ce95c8a209aa7ae59405124709f",appearance:"solid",id:"solutions-edit",onClick:()=>this._openEditRecord(),width:"full"},this._translations.edit),this.isMobile&&r?s("delete-button",{class:"padding-inline-start-1 width-100",id:"solutions-delete",ids:c,layer:this._layer,locale:this.locale,onEditsComplete:()=>this._closePopup()}):void 0,s("calcite-tooltip",{key:"4123a740f077f6d203ae75338655a3e4f988b3dd",placement:"bottom","reference-element":"solutions-edit"},s("span",{key:"6968a12b2f41737cb221bc7ddbcab834f990fe3c"},this._translations.edit)),this.isMobile&&r?s("calcite-tooltip",{placement:"bottom","reference-element":"solutions-delete"},s("span",null,this._translations.delete)):void 0),this.paginationEnabled&&!o&&s("div",{key:"31d228643a734df28880c009f8d9a989f07acedb",class:`display-flex padding-1-2 button-container top-border ${n}`},s("div",{key:"f1dd88d8e5359e8acfc3508890185f8769365ec8"},s("calcite-button",{key:"86190bfd8442bcf327c8aa60272a4071dead2dbc",appearance:"transparent",disabled:o,iconFlipRtl:"both",iconStart:"chevron-left",id:"solutions-back",onClick:()=>this._back(),width:"full"}),s("calcite-tooltip",{key:"6cf40e219e228547636a228d306dc6fc2929d186",placement:"top","reference-element":"solutions-back"},s("span",{key:"39a43c0568c3d9e71587d3e3a38970a97f16efa4"},this._translations.back))),s("calcite-action",{key:"373330d9385477e7b8701bff969d93ccf992f8b6",class:"pagination-action",iconFlipRtl:!0,onClick:()=>this._toggleListView(),scale:"s",text:"",textEnabled:!0},s("span",{key:"badd298438061c4c61b5f5561d0883fd063d1434",class:"pagination-count"},this._count)),s("div",{key:"501d8970243fa398721c9db04cff5491f59fe045"},s("calcite-button",{key:"9118e14df5f7932e91e823a5bd35fe6292af1c07",appearance:"transparent",disabled:o,iconFlipRtl:"both",iconStart:"chevron-right",id:"solutions-next",onClick:()=>this._next(),width:"full"}),s("calcite-tooltip",{key:"29a22347603b730ab160023667bb1fc7654e69d4",placement:"top","reference-element":"solutions-next"},s("span",{key:"2404d5b018b0e6478a366d995c61e6ec40e9e486"},this._translations.next))))),s("edit-card",{key:"cad638e12cf79d7efbc8d4fa05da14ddd1140197",class:e,enableEditGeometry:this.enableEditGeometry,graphicIndex:p,graphics:l,locale:this.locale,mapView:this.mapView,open:this._editRecordOpen}),s("calcite-alert",{key:"b0ce00184f525e8156d282e5efd30962b018e226",icon:"layer-broken",kind:"warning",label:"",onCalciteAlertClose:()=>this._alertClosed(),open:this._alertOpen,placement:"top"},s("div",{key:"35f655f6dc9c274b07ccafe769e8e9af357862d1",slot:"title"},this._translations.editDisabled),s("div",{key:"e2b8de0fdb5eac8b37e5bb2a872fd390d9b42d29",slot:"message"},this._translations.enableEditing))))}async _initModules(){const[t,i]=await o(["esri/widgets/Features","esri/core/reactiveUtils"]);this.Features=t,this.reactiveUtils=i}async setGraphics(){this._features||await this._initFeaturesWidget(),this.graphics.length>0?(this._layer=this.graphics[0]?.layer,this._editEnabled=this._layer.editingEnabled&&this._layer.capabilities.operations.supportsUpdate,this._mobileTitle=await this._popupUtils.getPopupTitle(this.graphics[0],this.mapView.map),this._features.open({features:this.graphics})):(this._features.clear(),this._features.close()),this._count=this._getCount()}async _initFeaturesWidget(){return void 0!==this.isMobile?await(this.mapView?.when((()=>{this._features?(this._features.view=this.mapView,this._features.visibleElements.actionBar=!1,this._features.visibleElements.closeButton=this.showCloseBtn,this._features.visibleElements.heading=!this.isMobile):(this._features=new this.Features({view:this.mapView,container:this._featuresNodeId,visibleElements:{actionBar:!1,closeButton:this.showCloseBtn,featureMenuHeading:!1,heading:!this.isMobile}}),this._features.viewModel.highlightEnabled=this.highlightEnabled,this.reactiveUtils.watch((()=>this._features.viewModel.featureMenuOpen),(t=>{this._count=this._getCount(),t||(this._showListView=t)})),this.reactiveUtils.watch((()=>this._features.selectedFeatureIndex),(t=>{t>-1&&this.selectionChanged.emit({selectedFeature:[this._features.selectedFeature],selectedFeatureIndex:this._features.selectedFeatureIndex})})),this.reactiveUtils.watch((()=>this._features.selectedDrillInFeature),(t=>{t?(this._relatedFeature=t,this._navigatedToRelatedFeature=!0):(this._relatedFeature=null,this._navigatedToRelatedFeature=!1)})),this.el.querySelector("#"+this._featuresNodeId).addEventListener("calciteFlowItemClose",(()=>{this.clearSelection.emit()})))}))):Promise.resolve()}_getHeader(){return this.isMobile&&!this._editRecordOpen?s("calcite-panel",{class:"border-width-0",slot:"header"},s("calcite-action",{class:"end-border",icon:"chevron-left",iconFlipRtl:!0,onClick:()=>this._closePopup(),scale:"s",slot:"header-actions-start",text:""}),s("span",{class:"font-bold",slot:"header-content"},this._mobileTitle)):void 0}_closePopup(){this.popupClosed.emit()}_alertClosed(){this._alertOpen=!1}_openEditRecord(){this._editEnabled?this._editRecordOpen=!0:this._alertOpen=!0}_back(){this._features.previous(),this._count=this._getCount()}_next(){this._features.next(),this._count=this._getCount()}_getCount(){const t=(this._features?.viewModel.selectedFeatureIndex+1).toString(),i=this._features?.features?.length.toString();return this._translations.indexOfTotal.replace("{{index}}",t).replace("{{total}}",i)}_toggleListView(){this._showListView=!this._showListView;const t=this._features.selectedFeatureIndex;this._features.open({features:this.graphics,featureMenuOpen:this._showListView}),this._features.selectedFeatureIndex=t}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}static get watchers(){return{graphics:["graphicsWatchHandler"],isMobile:["isMobileWatchHandler"],locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"]}}};b.style=":host{display:block;--calcite-label-margin-bottom:0}.padding-1-2{padding:0.5rem}.display-none{display:none !important}.display-flex{display:flex}.position-absolute{position:absolute;top:0;right:0;bottom:0;left:0;overflow:auto}.feature-node{position:relative !important}.feature-node .esri-features__footer{display:none !important}.button-container{justify-content:center;align-items:center}.top-border{border-top:1px solid var(--calcite-color-border-1)}.width-100{width:100%}.esri-features__container{padding:0.5rem !important;background-color:var(--calcite-color-foreground-1) !important;height:100% !important}.overflow-hidden{overflow:hidden}.height-40{height:40px}.end-border{border-inline-end:1px solid var(--calcite-color-border-1)}.font-bold{font-weight:bold}.visibility-hidden{visibility:hidden;height:0px}.padding-inline-start-1{padding-inline-start:1rem}.border-width-0{border-width:0px}.pagination-action{position:relative;left:3px}.pagination-count{color:var(--calcite-color-brand);border-bottom:1px solid var(--calcite-color-brand);font-weight:bold}";export{l as create_feature,p as delete_button,f as edit_card,b as info_card}
|