@esri/solutions-components 0.11.13 → 0.11.14
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/basemap-gallery_7.cjs.entry.js +2 -2
- package/dist/cjs/buffer-tools_2.cjs.entry.js +4 -4
- package/dist/cjs/card-manager_3.cjs.entry.js +3 -9
- package/dist/cjs/consent-manager.cjs.entry.js +2 -2
- package/dist/cjs/create-feature_4.cjs.entry.js +4 -4
- package/dist/cjs/create-related-feature_3.cjs.entry.js +2 -2
- package/dist/cjs/crowdsource-manager.cjs.entry.js +2 -2
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +2 -2
- package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
- package/dist/cjs/delete-dialog.cjs.entry.js +2 -2
- package/dist/cjs/downloadUtils-1935500f.js +3223 -0
- package/dist/cjs/effects-3607d1ba.js +83 -0
- package/dist/cjs/feature-list.cjs.entry.js +4 -4
- package/dist/cjs/helpers-b511b55e.js +867 -0
- package/dist/cjs/index-b2821254.js +201 -0
- package/dist/cjs/index-b936ec03.js +1903 -0
- package/dist/cjs/index.es-3c2404c3.js +11195 -0
- package/dist/cjs/instant-apps-app-guide.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-control-panel.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-create.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-export-views.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-export.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-filter-list_2.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-header.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +20 -20
- package/dist/cjs/instant-apps-landing-page.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +826 -20
- package/dist/cjs/instant-apps-language-translator.cjs.entry.js +817 -10
- package/dist/cjs/instant-apps-measurement-tool.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-measurement.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-popover.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-popovers.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-sign-in.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-splash.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-time-filter.cjs.entry.js +5 -5
- package/dist/cjs/json-editor_7.cjs.entry.js +4 -4
- package/dist/cjs/languageSwitcher-19a22439.js +52 -0
- package/dist/cjs/loadModules-e9d8977c.js +23 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/locale-4187fc82.js +943 -0
- package/dist/cjs/locale-98346201.js +160 -0
- package/dist/cjs/map-layer-picker.cjs.entry.js +4 -4
- package/dist/cjs/map-select-tools_3.cjs.entry.js +5 -5
- package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
- package/dist/cjs/popupUtils-c0921a77.js +121 -0
- package/dist/cjs/public-notification.cjs.entry.js +5 -5
- package/dist/cjs/publicNotificationStore-76755c44.js +47 -0
- package/dist/cjs/solution-configuration.cjs.entry.js +4 -4
- package/dist/cjs/solution-contents_3.cjs.entry.js +4 -4
- package/dist/cjs/solution-item-accordion.cjs.entry.js +2 -2
- package/dist/cjs/solution-item-icon.cjs.entry.js +1 -1
- package/dist/cjs/solution-store-a2a8422d.js +1105 -0
- package/dist/cjs/solutions-components.cjs.js +2 -2
- package/dist/cjs/spatial-ref.cjs.entry.js +2 -2
- package/dist/cjs/store-manager.cjs.entry.js +3 -3
- package/dist/cjs/utils-16dbc236.js +153 -0
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/layer-table/layer-table.js +0 -6
- package/dist/collection/vendor/calcite-components/2BGOXXHV.js +4 -0
- package/dist/collection/vendor/calcite-components/2EBGD5ZQ.js +4 -0
- package/dist/collection/vendor/calcite-components/2HEEVITF.js +4 -0
- package/dist/collection/vendor/calcite-components/2QBRISAS.js +4 -0
- package/dist/collection/vendor/calcite-components/2SKIGCTJ.js +4 -0
- package/dist/collection/vendor/calcite-components/2ZPEMPPG.js +4 -0
- package/dist/collection/vendor/calcite-components/36DTW2EC.js +4 -0
- package/dist/collection/vendor/calcite-components/36E6CTNX.js +4 -0
- package/dist/collection/vendor/calcite-components/36HITQ3A.js +4 -0
- package/dist/collection/vendor/calcite-components/3FJPBCHI.js +4 -0
- package/dist/collection/vendor/calcite-components/3TINKPLC.js +4 -0
- package/dist/collection/vendor/calcite-components/3TXD2SW4.js +4 -0
- package/dist/collection/vendor/calcite-components/43C4CZJO.js +4 -0
- package/dist/collection/vendor/calcite-components/44DZGTF5.js +4 -0
- package/dist/collection/vendor/calcite-components/4IWRJJPT.js +4 -0
- package/dist/collection/vendor/calcite-components/4L6L5YMT.js +4 -0
- package/dist/collection/vendor/calcite-components/4NZHY4FQ.js +4 -0
- package/dist/collection/vendor/calcite-components/4OSJHPNQ.js +4 -0
- package/dist/collection/vendor/calcite-components/4ZNEZOAP.js +4 -0
- package/dist/collection/vendor/calcite-components/4ZTXEQT4.js +4 -0
- package/dist/collection/vendor/calcite-components/57U74PDQ.js +4 -0
- package/dist/collection/vendor/calcite-components/5BEKT6RT.js +4 -0
- package/dist/collection/vendor/calcite-components/5JAMHCQS.js +6 -0
- package/dist/collection/vendor/calcite-components/5UP5TQJN.js +4 -0
- package/dist/collection/vendor/calcite-components/5VK77MGP.js +4 -0
- package/dist/collection/vendor/calcite-components/5ZFIOILW.js +4 -0
- package/dist/collection/vendor/calcite-components/62G23PKY.js +4 -0
- package/dist/collection/vendor/calcite-components/6A464LBG.js +4 -0
- package/dist/collection/vendor/calcite-components/6KXUZBIZ.js +4 -0
- package/dist/collection/vendor/calcite-components/6OCJIDQZ.js +4 -0
- package/dist/collection/vendor/calcite-components/6PBZNCIY.js +4 -0
- package/dist/collection/vendor/calcite-components/6SREDGMN.js +4 -0
- package/dist/collection/vendor/calcite-components/73K4GSAV.js +4 -0
- package/dist/collection/vendor/calcite-components/757M5TSP.js +5 -0
- package/dist/collection/vendor/calcite-components/7F6EUEAO.js +4 -0
- package/dist/collection/vendor/calcite-components/7GOGBJPD.js +4 -0
- package/dist/collection/vendor/calcite-components/7PLD33LH.js +4 -0
- package/dist/collection/vendor/calcite-components/7TNMI44V.js +4 -0
- package/dist/collection/vendor/calcite-components/7VZFYJY5.js +4 -0
- package/dist/collection/vendor/calcite-components/7XZR3QPX.js +4 -0
- package/dist/collection/vendor/calcite-components/A3M4FM7N.js +4 -0
- package/dist/collection/vendor/calcite-components/A5WZ32T6.js +4 -0
- package/dist/collection/vendor/calcite-components/A6H6UTO7.js +4 -0
- package/dist/collection/vendor/calcite-components/AA6WUYLQ.js +4 -0
- package/dist/collection/vendor/calcite-components/ADRZSXZD.js +4 -0
- package/dist/collection/vendor/calcite-components/AKXBPGJ4.js +4 -0
- package/dist/collection/vendor/calcite-components/ALGCYGFE.js +4 -0
- package/dist/collection/vendor/calcite-components/B3YKMJGM.js +4 -0
- package/dist/collection/vendor/calcite-components/B6DZ4O5H.js +4 -0
- package/dist/collection/vendor/calcite-components/B747CT5Q.js +5 -0
- package/dist/collection/vendor/calcite-components/BAHKYVUM.js +4 -0
- package/dist/collection/vendor/calcite-components/BTHSKXWS.js +4 -0
- package/dist/collection/vendor/calcite-components/BWCV737I.js +4 -0
- package/dist/collection/vendor/calcite-components/BZV465ZG.js +4 -0
- package/dist/collection/vendor/calcite-components/C4A2PCZ4.js +4 -0
- package/dist/collection/vendor/calcite-components/C5MKAGNV.js +4 -0
- package/dist/collection/vendor/calcite-components/CK3TASCY.js +4 -0
- package/dist/collection/vendor/calcite-components/D2MINRBA.js +4 -0
- package/dist/collection/vendor/calcite-components/DDOM5RYZ.js +4 -0
- package/dist/collection/vendor/calcite-components/DJ4JGNMM.js +4 -0
- package/dist/collection/vendor/calcite-components/DL75ZJBG.js +4 -0
- package/dist/collection/vendor/calcite-components/DO4RITGJ.js +4 -0
- package/dist/collection/vendor/calcite-components/DSL2FNLA.js +4 -0
- package/dist/collection/vendor/calcite-components/DTEHSI7W.js +4 -0
- package/dist/collection/vendor/calcite-components/DUTPXINY.js +4 -0
- package/dist/collection/vendor/calcite-components/DY22I2GZ.js +4 -0
- package/dist/collection/vendor/calcite-components/DYN74HSB.js +4 -0
- package/dist/collection/vendor/calcite-components/E3CWAGXE.js +4 -0
- package/dist/collection/vendor/calcite-components/E3QBKOQQ.js +4 -0
- package/dist/collection/vendor/calcite-components/EBFZRB3A.js +4 -0
- package/dist/collection/vendor/calcite-components/ECGXAEDQ.js +4 -0
- package/dist/collection/vendor/calcite-components/EGC7NBN5.js +4 -0
- package/dist/collection/vendor/calcite-components/EILXZAAH.js +4 -0
- package/dist/collection/vendor/calcite-components/EISHHIYI.js +4 -0
- package/dist/collection/vendor/calcite-components/EN6Y5YN5.js +4 -0
- package/dist/collection/vendor/calcite-components/ERDL4UCD.js +4 -0
- package/dist/collection/vendor/calcite-components/EYPFBUR7.js +4 -0
- package/dist/collection/vendor/calcite-components/F6DYUGAJ.js +4 -0
- package/dist/collection/vendor/calcite-components/FAQ7B73H.js +4 -0
- package/dist/collection/vendor/calcite-components/FAULLEJY.js +4 -0
- package/dist/collection/vendor/calcite-components/FH7G4JPL.js +28 -0
- package/dist/collection/vendor/calcite-components/FHAH57CK.js +4 -0
- package/dist/collection/vendor/calcite-components/FHGZNYTT.js +4 -0
- package/dist/collection/vendor/calcite-components/FLXOWNYW.js +4 -0
- package/dist/collection/vendor/calcite-components/FVABUFOH.js +4 -0
- package/dist/collection/vendor/calcite-components/G2JF63JV.js +4 -0
- package/dist/collection/vendor/calcite-components/G63OZT6W.js +4 -0
- package/dist/collection/vendor/calcite-components/GESC7PRY.js +4 -0
- package/dist/collection/vendor/calcite-components/GIAH7CPN.js +4 -0
- package/dist/collection/vendor/calcite-components/GNZIY4A2.js +4 -0
- package/dist/collection/vendor/calcite-components/GPNKRGK6.js +4 -0
- package/dist/collection/vendor/calcite-components/GSUR5POR.js +4 -0
- package/dist/collection/vendor/calcite-components/GY22257T.js +4 -0
- package/dist/collection/vendor/calcite-components/H2PEX7CU.js +4 -0
- package/dist/collection/vendor/calcite-components/H2UMFA24.js +4 -0
- package/dist/collection/vendor/calcite-components/H7D6N2ZS.js +4 -0
- package/dist/collection/vendor/calcite-components/HALAA7KD.js +4 -0
- package/dist/collection/vendor/calcite-components/HHC7VSD3.js +4 -0
- package/dist/collection/vendor/calcite-components/HNGJKPNS.js +4 -0
- package/dist/collection/vendor/calcite-components/HQLH54Q4.js +4 -0
- package/dist/collection/vendor/calcite-components/HZLG5SUR.js +4 -0
- package/dist/collection/vendor/calcite-components/HZUKYZNP.js +4 -0
- package/dist/collection/vendor/calcite-components/IHBCPOXF.js +4 -0
- package/dist/collection/vendor/calcite-components/IIERNP6W.js +4 -0
- package/dist/collection/vendor/calcite-components/ILJVRQHM.js +4 -0
- package/dist/collection/vendor/calcite-components/IQTGVLQG.js +4 -0
- package/dist/collection/vendor/calcite-components/IRW4MFB4.js +4 -0
- package/dist/collection/vendor/calcite-components/J4KGM5S7.js +5 -0
- package/dist/collection/vendor/calcite-components/JCQBVDTR.js +4 -0
- package/dist/collection/vendor/calcite-components/JCZIZMKQ.js +4 -0
- package/dist/collection/vendor/calcite-components/JE5DGAJR.js +4 -0
- package/dist/collection/vendor/calcite-components/JL7OLH3T.js +4 -0
- package/dist/collection/vendor/calcite-components/JTWLPIB2.js +4 -0
- package/dist/collection/vendor/calcite-components/K53JENHF.js +4 -0
- package/dist/collection/vendor/calcite-components/K5ODBKLP.js +4 -0
- package/dist/collection/vendor/calcite-components/KC4IYMUL.js +4 -0
- package/dist/collection/vendor/calcite-components/KE7WVOAV.js +4 -0
- package/dist/collection/vendor/calcite-components/KGJ4OJVP.js +4 -0
- package/dist/collection/vendor/calcite-components/KI2CJ7JL.js +4 -0
- package/dist/collection/vendor/calcite-components/KNE7ABCR.js +4 -0
- package/dist/collection/vendor/calcite-components/KOFGYSC5.js +4 -0
- package/dist/collection/vendor/calcite-components/KOH6G4XV.js +4 -0
- package/dist/collection/vendor/calcite-components/KRO7CG2Q.js +4 -0
- package/dist/collection/vendor/calcite-components/KRZW2DWF.js +4 -0
- package/dist/collection/vendor/calcite-components/KSFXKRML.js +4 -0
- package/dist/collection/vendor/calcite-components/KTJZCONU.js +4 -0
- package/dist/collection/vendor/calcite-components/KXJRCIPX.js +4 -0
- package/dist/collection/vendor/calcite-components/L5DK3NJQ.js +4 -0
- package/dist/collection/vendor/calcite-components/LEAJPPH4.js +4 -0
- package/dist/collection/vendor/calcite-components/LKNGKUUT.js +4 -0
- package/dist/collection/vendor/calcite-components/LLYFYC3S.js +4 -0
- package/dist/collection/vendor/calcite-components/LLYVXFI4.js +4 -0
- package/dist/collection/vendor/calcite-components/LMPMNF4U.js +4 -0
- package/dist/collection/vendor/calcite-components/LNUDHR7T.js +4 -0
- package/dist/collection/vendor/calcite-components/LRXQU7WR.js +4 -0
- package/dist/collection/vendor/calcite-components/MDS5OEJ4.js +4 -0
- package/dist/collection/vendor/calcite-components/MEXPAXRW.js +4 -0
- package/dist/collection/vendor/calcite-components/MI3K57KT.js +4 -0
- package/dist/collection/vendor/calcite-components/MIOMFK6B.js +4 -0
- package/dist/collection/vendor/calcite-components/MJII73PP.js +4 -0
- package/dist/collection/vendor/calcite-components/MJIKLRLZ.js +4 -0
- package/dist/collection/vendor/calcite-components/MQSDYLGW.js +4 -0
- package/dist/collection/vendor/calcite-components/MWJLXQ5U.js +4 -0
- package/dist/collection/vendor/calcite-components/N2PDJVSE.js +4 -0
- package/dist/collection/vendor/calcite-components/NERFG233.js +4 -0
- package/dist/collection/vendor/calcite-components/NIUBMFXO.js +4 -0
- package/dist/collection/vendor/calcite-components/NK25FAZ6.js +4 -0
- package/dist/collection/vendor/calcite-components/NK4ED4IH.js +5 -0
- package/dist/collection/vendor/calcite-components/NOJTDKA6.js +4 -0
- package/dist/collection/vendor/calcite-components/NUY7EYNX.js +4 -0
- package/dist/collection/vendor/calcite-components/NWA7UYBI.js +4 -0
- package/dist/collection/vendor/calcite-components/NWNWCSUO.js +4 -0
- package/dist/collection/vendor/calcite-components/NYJ2KJKN.js +4 -0
- package/dist/collection/vendor/calcite-components/O6RKIBH2.js +4 -0
- package/dist/collection/vendor/calcite-components/OP2QHRHR.js +4 -0
- package/dist/collection/vendor/calcite-components/P5ZVYEQW.js +4 -0
- package/dist/collection/vendor/calcite-components/P6BFNJVU.js +4 -0
- package/dist/collection/vendor/calcite-components/P6VB45CQ.js +4 -0
- package/dist/collection/vendor/calcite-components/PNTWJB75.js +4 -0
- package/dist/collection/vendor/calcite-components/PTUZR2XV.js +4 -0
- package/dist/collection/vendor/calcite-components/QBNHVQWS.js +4 -0
- package/dist/collection/vendor/calcite-components/QD6WQCPN.js +4 -0
- package/dist/collection/vendor/calcite-components/QEBXFL3K.js +4 -0
- package/dist/collection/vendor/calcite-components/QNRLRRZZ.js +4 -0
- package/dist/collection/vendor/calcite-components/QTGKBVAW.js +4 -0
- package/dist/collection/vendor/calcite-components/QVLHSABE.js +4 -0
- package/dist/collection/vendor/calcite-components/RATZT6K7.js +4 -0
- package/dist/collection/vendor/calcite-components/RAWIO5CJ.js +4 -0
- package/dist/collection/vendor/calcite-components/RC4M4Q6U.js +4 -0
- package/dist/collection/vendor/calcite-components/ROTKUEC4.js +4 -0
- package/dist/collection/vendor/calcite-components/RRR3UCDP.js +4 -0
- package/dist/collection/vendor/calcite-components/RXJQR5VC.js +4 -0
- package/dist/collection/vendor/calcite-components/RYBJ6HQX.js +4 -0
- package/dist/collection/vendor/calcite-components/S2CHZ5WW.js +4 -0
- package/dist/collection/vendor/calcite-components/S5QILLXK.js +4 -0
- package/dist/collection/vendor/calcite-components/S5WUGWLI.js +4 -0
- package/dist/collection/vendor/calcite-components/SLILJOTA.js +4 -0
- package/dist/collection/vendor/calcite-components/SZIQPAWB.js +4 -0
- package/dist/collection/vendor/calcite-components/T2EFD7MK.js +4 -0
- package/dist/collection/vendor/calcite-components/TJ6U6Y2A.js +4 -0
- package/dist/collection/vendor/calcite-components/TRXE64SN.js +4 -0
- package/dist/collection/vendor/calcite-components/TVXUNVVJ.js +4 -0
- package/dist/collection/vendor/calcite-components/TZPOTIWO.js +4 -0
- package/dist/collection/vendor/calcite-components/UKOMGWYV.js +4 -0
- package/dist/collection/vendor/calcite-components/ULI2WHN6.js +4 -0
- package/dist/collection/vendor/calcite-components/UPO2OA2C.js +4 -0
- package/dist/collection/vendor/calcite-components/V7QQRUYR.js +4 -0
- package/dist/collection/vendor/calcite-components/VA6SEF3H.js +4 -0
- package/dist/collection/vendor/calcite-components/VCGYS6AC.js +4 -0
- package/dist/collection/vendor/calcite-components/VHIVTMYL.js +22 -0
- package/dist/collection/vendor/calcite-components/VIFJTMJE.js +4 -0
- package/dist/collection/vendor/calcite-components/VKUXTBMA.js +4 -0
- package/dist/collection/vendor/calcite-components/VYBRMYZA.js +4 -0
- package/dist/collection/vendor/calcite-components/VYSYUSUT.js +4 -0
- package/dist/collection/vendor/calcite-components/WHQERKO3.js +4 -0
- package/dist/collection/vendor/calcite-components/WLKZ6TCC.js +4 -0
- package/dist/collection/vendor/calcite-components/WRRV2226.js +4 -0
- package/dist/collection/vendor/calcite-components/X5OT5VWP.js +4 -0
- package/dist/collection/vendor/calcite-components/X7WD2RXW.js +4 -0
- package/dist/collection/vendor/calcite-components/XGGCYCLU.js +4 -0
- package/dist/collection/vendor/calcite-components/XJUGTTYP.js +4 -0
- package/dist/collection/vendor/calcite-components/XK6ESUWM.js +4 -0
- package/dist/collection/vendor/calcite-components/XODNGXTR.js +4 -0
- package/dist/collection/vendor/calcite-components/XP22SQKN.js +4 -0
- package/dist/collection/vendor/calcite-components/XUCLKKAR.js +4 -0
- package/dist/collection/vendor/calcite-components/XWO5T62V.js +4 -0
- package/dist/collection/vendor/calcite-components/XY7DR573.js +4 -0
- package/dist/collection/vendor/calcite-components/Y4WWNYQO.js +4 -0
- package/dist/collection/vendor/calcite-components/YF3UCGCR.js +4 -0
- package/dist/collection/vendor/calcite-components/YH3WSHXS.js +4 -0
- package/dist/collection/vendor/calcite-components/YOI4NTGG.js +4 -0
- package/dist/collection/vendor/calcite-components/YP2GEKXK.js +4 -0
- package/dist/collection/vendor/calcite-components/YQDF2N5J.js +4 -0
- package/dist/collection/vendor/calcite-components/YRCGG4BE.js +4 -0
- package/dist/collection/vendor/calcite-components/YTSHEMU3.js +4 -0
- package/dist/collection/vendor/calcite-components/YUQIXR5A.js +4 -0
- package/dist/collection/vendor/calcite-components/ZAY3SU5H.js +4 -0
- package/dist/collection/vendor/calcite-components/ZFGK5MNZ.js +4 -0
- package/dist/collection/vendor/calcite-components/ZITAONDY.js +4 -0
- package/dist/collection/vendor/calcite-components/ZLW5U3G6.js +4 -0
- package/dist/collection/vendor/calcite-components/ZNMXPSOQ.js +4 -0
- package/dist/collection/vendor/calcite-components/ZSLV2NNR.js +4 -0
- package/dist/collection/vendor/calcite-components/calcite.esm.js +2 -2
- package/dist/components/index.es.js +6 -5
- package/dist/components/instant-apps-keyboard-shortcuts.js +17 -17
- package/dist/components/instant-apps-language-switcher.js +815 -9
- package/dist/components/instant-apps-language-translator2.js +1 -1
- package/dist/components/layer-table2.js +0 -6
- package/dist/components/loadModules2.js +1 -1
- package/dist/esm/basemap-gallery_7.entry.js +2 -2
- package/dist/esm/buffer-tools_2.entry.js +4 -4
- package/dist/esm/card-manager_3.entry.js +3 -9
- package/dist/esm/consent-manager.entry.js +2 -2
- package/dist/esm/create-feature_4.entry.js +4 -4
- package/dist/esm/create-related-feature_3.entry.js +2 -2
- package/dist/esm/crowdsource-manager.entry.js +2 -2
- package/dist/esm/crowdsource-reporter.entry.js +2 -2
- package/dist/esm/deduct-calculator.entry.js +1 -1
- package/dist/esm/delete-dialog.entry.js +2 -2
- package/dist/esm/downloadUtils-3f4d34a4.js +3217 -0
- package/dist/esm/effects-38bc1195.js +81 -0
- package/dist/esm/feature-list.entry.js +4 -4
- package/dist/esm/helpers-5df33e11.js +841 -0
- package/dist/esm/index-000c7a7c.js +1870 -0
- package/dist/esm/index-f7533fcc.js +199 -0
- package/dist/esm/index.es-87662946.js +11108 -0
- package/dist/esm/instant-apps-app-guide.entry.js +3 -3
- package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +5 -5
- package/dist/esm/instant-apps-control-panel.entry.js +2 -2
- package/dist/esm/instant-apps-create.entry.js +3 -3
- package/dist/esm/instant-apps-export-views.entry.js +3 -3
- package/dist/esm/instant-apps-export.entry.js +3 -3
- package/dist/esm/instant-apps-filter-list_2.entry.js +3 -3
- package/dist/esm/instant-apps-header.entry.js +1 -1
- package/dist/esm/instant-apps-interactive-legend-classic.entry.js +5 -5
- package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +5 -5
- package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +5 -5
- package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +5 -5
- package/dist/esm/instant-apps-interactive-legend.entry.js +6 -6
- package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +20 -20
- package/dist/esm/instant-apps-landing-page.entry.js +1 -1
- package/dist/esm/instant-apps-language-switcher.entry.js +820 -14
- package/dist/esm/instant-apps-language-translator.entry.js +813 -6
- package/dist/esm/instant-apps-measurement-tool.entry.js +2 -2
- package/dist/esm/instant-apps-measurement.entry.js +3 -3
- package/dist/esm/instant-apps-popover.entry.js +3 -3
- package/dist/esm/instant-apps-popovers.entry.js +1 -1
- package/dist/esm/instant-apps-scoreboard.entry.js +3 -3
- package/dist/esm/instant-apps-sign-in.entry.js +3 -3
- package/dist/esm/instant-apps-splash.entry.js +3 -3
- package/dist/esm/instant-apps-time-filter.entry.js +5 -5
- package/dist/esm/json-editor_7.entry.js +4 -4
- package/dist/esm/languageSwitcher-49bad3f4.js +49 -0
- package/dist/esm/loadModules-947ccfd4.js +21 -0
- package/dist/esm/loader.js +2 -2
- package/dist/esm/locale-857bb2e4.js +938 -0
- package/dist/esm/locale-fd7f8659.js +155 -0
- package/dist/esm/map-layer-picker.entry.js +4 -4
- package/dist/esm/map-select-tools_3.entry.js +5 -5
- package/dist/esm/pci-calculator.entry.js +1 -1
- package/dist/esm/popupUtils-43fafc2f.js +119 -0
- package/dist/esm/public-notification.entry.js +5 -5
- package/dist/esm/publicNotificationStore-e5306ea6.js +45 -0
- package/dist/esm/solution-configuration.entry.js +4 -4
- package/dist/esm/solution-contents_3.entry.js +4 -4
- package/dist/esm/solution-item-accordion.entry.js +2 -2
- package/dist/esm/solution-item-icon.entry.js +1 -1
- package/dist/esm/solution-store-26e3d8c6.js +1103 -0
- package/dist/esm/solutions-components.js +3 -3
- package/dist/esm/spatial-ref.entry.js +2 -2
- package/dist/esm/store-manager.entry.js +3 -3
- package/dist/esm/utils-ebba7c2e.js +142 -0
- package/dist/solutions-components/p-056d4371.entry.js +6 -0
- package/dist/solutions-components/p-0592d206.entry.js +6 -0
- package/dist/solutions-components/p-075979ef.js +36 -0
- package/dist/solutions-components/p-08ad0b7a.js +6 -0
- package/dist/solutions-components/p-0b974e3c.entry.js +6 -0
- package/dist/solutions-components/p-0db26b05.entry.js +6 -0
- package/dist/solutions-components/p-1309ac58.js +129 -0
- package/dist/solutions-components/p-174fa218.js +6 -0
- package/dist/solutions-components/p-193034c9.entry.js +6 -0
- package/dist/solutions-components/p-1a1791ae.entry.js +21 -0
- package/dist/solutions-components/p-1b6461c5.entry.js +6 -0
- package/dist/solutions-components/p-1e57a3bd.entry.js +6 -0
- package/dist/solutions-components/p-21b280a8.js +21 -0
- package/dist/solutions-components/p-2672ee69.entry.js +6 -0
- package/dist/solutions-components/p-2937baee.js +6 -0
- package/dist/solutions-components/p-3c1c2ca5.entry.js +11 -0
- package/dist/solutions-components/p-3d7eeb2d.js +488 -0
- package/dist/solutions-components/p-3de6e5d8.entry.js +6 -0
- package/dist/solutions-components/p-40578f4b.entry.js +6 -0
- package/dist/solutions-components/p-48fcfd06.entry.js +6 -0
- package/dist/solutions-components/p-4db43d2c.entry.js +6 -0
- package/dist/solutions-components/p-4e34c101.entry.js +6 -0
- package/dist/solutions-components/p-4f683af6.entry.js +6 -0
- package/dist/solutions-components/p-529325da.entry.js +6 -0
- package/dist/solutions-components/p-5c05f28a.entry.js +6 -0
- package/dist/solutions-components/p-5dfab24b.entry.js +6 -0
- package/dist/solutions-components/p-60bdf635.entry.js +6 -0
- package/dist/solutions-components/p-73ba31c4.entry.js +6 -0
- package/dist/solutions-components/p-7c958237.entry.js +6 -0
- package/dist/solutions-components/p-8169d4af.entry.js +6 -0
- package/dist/solutions-components/p-89cae891.entry.js +6 -0
- package/dist/solutions-components/p-89fbc318.js +6 -0
- package/dist/solutions-components/p-8c40bdec.js +7 -0
- package/dist/solutions-components/p-a5069229.entry.js +6 -0
- package/dist/solutions-components/p-a5073249.entry.js +6 -0
- package/dist/solutions-components/p-a5c51211.entry.js +6 -0
- package/dist/solutions-components/p-a940dc0c.entry.js +6 -0
- package/dist/solutions-components/p-b6422554.entry.js +6 -0
- package/dist/solutions-components/p-b67ff61f.entry.js +6 -0
- package/dist/solutions-components/p-b711a822.entry.js +6 -0
- package/dist/solutions-components/p-bf007c87.js +21 -0
- package/dist/solutions-components/p-c19c273f.entry.js +6 -0
- package/dist/solutions-components/p-c223bd87.js +6 -0
- package/dist/solutions-components/p-c25ebd5a.entry.js +6 -0
- package/dist/solutions-components/p-c63ce830.entry.js +6 -0
- package/dist/solutions-components/p-c691c1d1.entry.js +6 -0
- package/dist/solutions-components/p-c9e111d7.entry.js +6 -0
- package/dist/solutions-components/p-cc3e637d.entry.js +6 -0
- package/dist/solutions-components/p-d1d8e331.entry.js +6 -0
- package/dist/solutions-components/p-dc188d13.js +61 -0
- package/dist/solutions-components/p-ded33011.entry.js +6 -0
- package/dist/solutions-components/p-e133f9b2.entry.js +6 -0
- package/dist/solutions-components/p-e16bb956.entry.js +6 -0
- package/dist/solutions-components/p-e6158877.entry.js +6 -0
- package/dist/solutions-components/p-ea19f91b.js +6 -0
- package/dist/solutions-components/p-f1faec42.entry.js +6 -0
- package/dist/solutions-components/p-f24d6b3e.entry.js +6 -0
- package/dist/solutions-components/p-f71dc88a.entry.js +21 -0
- package/dist/solutions-components/p-f7c10b7f.entry.js +6 -0
- package/dist/solutions-components/p-fa639501.js +6 -0
- package/dist/solutions-components/p-fb4dfcbe.entry.js +6 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/vendor/calcite-components/2BGOXXHV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2EBGD5ZQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2HEEVITF.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2QBRISAS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2SKIGCTJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2ZPEMPPG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/36DTW2EC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/36E6CTNX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/36HITQ3A.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3FJPBCHI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3TINKPLC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3TXD2SW4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/43C4CZJO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/44DZGTF5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4IWRJJPT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4L6L5YMT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4NZHY4FQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4OSJHPNQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4ZNEZOAP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4ZTXEQT4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/57U74PDQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5BEKT6RT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5JAMHCQS.js +6 -0
- package/dist/solutions-components/vendor/calcite-components/5UP5TQJN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5VK77MGP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5ZFIOILW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/62G23PKY.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6A464LBG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6KXUZBIZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6OCJIDQZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6PBZNCIY.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6SREDGMN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/73K4GSAV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/757M5TSP.js +5 -0
- package/dist/solutions-components/vendor/calcite-components/7F6EUEAO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7GOGBJPD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7PLD33LH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7TNMI44V.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7VZFYJY5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7XZR3QPX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/A3M4FM7N.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/A5WZ32T6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/A6H6UTO7.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/AA6WUYLQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ADRZSXZD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/AKXBPGJ4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ALGCYGFE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/B3YKMJGM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/B6DZ4O5H.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/B747CT5Q.js +5 -0
- package/dist/solutions-components/vendor/calcite-components/BAHKYVUM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/BTHSKXWS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/BWCV737I.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/BZV465ZG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/C4A2PCZ4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/C5MKAGNV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/CK3TASCY.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/D2MINRBA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DDOM5RYZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DJ4JGNMM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DL75ZJBG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DO4RITGJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DSL2FNLA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DTEHSI7W.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DUTPXINY.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DY22I2GZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DYN74HSB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/E3CWAGXE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/E3QBKOQQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EBFZRB3A.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ECGXAEDQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EGC7NBN5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EILXZAAH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EISHHIYI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EN6Y5YN5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ERDL4UCD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EYPFBUR7.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/F6DYUGAJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FAQ7B73H.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FAULLEJY.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FH7G4JPL.js +28 -0
- package/dist/solutions-components/vendor/calcite-components/FHAH57CK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FHGZNYTT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FLXOWNYW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FVABUFOH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/G2JF63JV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/G63OZT6W.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GESC7PRY.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GIAH7CPN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GNZIY4A2.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GPNKRGK6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GSUR5POR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GY22257T.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/H2PEX7CU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/H2UMFA24.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/H7D6N2ZS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HALAA7KD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HHC7VSD3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HNGJKPNS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HQLH54Q4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HZLG5SUR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HZUKYZNP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/IHBCPOXF.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/IIERNP6W.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ILJVRQHM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/IQTGVLQG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/IRW4MFB4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/J4KGM5S7.js +5 -0
- package/dist/solutions-components/vendor/calcite-components/JCQBVDTR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JCZIZMKQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JE5DGAJR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JL7OLH3T.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JTWLPIB2.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/K53JENHF.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/K5ODBKLP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KC4IYMUL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KE7WVOAV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KGJ4OJVP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KI2CJ7JL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KNE7ABCR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KOFGYSC5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KOH6G4XV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KRO7CG2Q.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KRZW2DWF.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KSFXKRML.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KTJZCONU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KXJRCIPX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/L5DK3NJQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LEAJPPH4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LKNGKUUT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LLYFYC3S.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LLYVXFI4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LMPMNF4U.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LNUDHR7T.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LRXQU7WR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MDS5OEJ4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MEXPAXRW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MI3K57KT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MIOMFK6B.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MJII73PP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MJIKLRLZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MQSDYLGW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MWJLXQ5U.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/N2PDJVSE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NERFG233.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NIUBMFXO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NK25FAZ6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NK4ED4IH.js +5 -0
- package/dist/solutions-components/vendor/calcite-components/NOJTDKA6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NUY7EYNX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NWA7UYBI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NWNWCSUO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NYJ2KJKN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/O6RKIBH2.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/OP2QHRHR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/P5ZVYEQW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/P6BFNJVU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/P6VB45CQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/PNTWJB75.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/PTUZR2XV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QBNHVQWS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QD6WQCPN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QEBXFL3K.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QNRLRRZZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QTGKBVAW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QVLHSABE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RATZT6K7.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RAWIO5CJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RC4M4Q6U.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ROTKUEC4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RRR3UCDP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RXJQR5VC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RYBJ6HQX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/S2CHZ5WW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/S5QILLXK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/S5WUGWLI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SLILJOTA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SZIQPAWB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/T2EFD7MK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/TJ6U6Y2A.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/TRXE64SN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/TVXUNVVJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/TZPOTIWO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/UKOMGWYV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ULI2WHN6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/UPO2OA2C.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/V7QQRUYR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VA6SEF3H.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VCGYS6AC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VHIVTMYL.js +22 -0
- package/dist/solutions-components/vendor/calcite-components/VIFJTMJE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VKUXTBMA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VYBRMYZA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VYSYUSUT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WHQERKO3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WLKZ6TCC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WRRV2226.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/X5OT5VWP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/X7WD2RXW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XGGCYCLU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XJUGTTYP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XK6ESUWM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XODNGXTR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XP22SQKN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XUCLKKAR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XWO5T62V.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XY7DR573.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/Y4WWNYQO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YF3UCGCR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YH3WSHXS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YOI4NTGG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YP2GEKXK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YQDF2N5J.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YRCGG4BE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YTSHEMU3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YUQIXR5A.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZAY3SU5H.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZFGK5MNZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZITAONDY.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZLW5U3G6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZNMXPSOQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZSLV2NNR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/calcite.esm.js +2 -2
- package/dist/solutions-components_commit.txt +7 -4
- package/package.json +11 -11
- package/dist/cjs/constants-bed33322.js +0 -860
- package/dist/cjs/downloadUtils-37a2426c.js +0 -3223
- package/dist/cjs/effects-fdd163a9.js +0 -83
- package/dist/cjs/helpers-f649d911.js +0 -867
- package/dist/cjs/index-915dd9e3.js +0 -201
- package/dist/cjs/index-dd05c644.js +0 -1901
- package/dist/cjs/index.es-6549e26a.js +0 -11194
- package/dist/cjs/loadModules-df8b13ca.js +0 -23
- package/dist/cjs/locale-9cb687b1.js +0 -160
- package/dist/cjs/locale-d10ec17b.js +0 -943
- package/dist/cjs/popupUtils-c1061629.js +0 -121
- package/dist/cjs/publicNotificationStore-30643216.js +0 -47
- package/dist/cjs/solution-store-9b6ae901.js +0 -1105
- package/dist/cjs/utils-acaa2acd.js +0 -153
- package/dist/collection/vendor/calcite-components/24P6DEQH.js +0 -4
- package/dist/collection/vendor/calcite-components/2AVRQATR.js +0 -4
- package/dist/collection/vendor/calcite-components/2CTO4WXV.js +0 -4
- package/dist/collection/vendor/calcite-components/2I33XQO3.js +0 -4
- package/dist/collection/vendor/calcite-components/2VMQ4ZHH.js +0 -4
- package/dist/collection/vendor/calcite-components/2XGOJ2TK.js +0 -4
- package/dist/collection/vendor/calcite-components/2Z6KCCXZ.js +0 -4
- package/dist/collection/vendor/calcite-components/36GZKNTR.js +0 -4
- package/dist/collection/vendor/calcite-components/3APPCCCZ.js +0 -4
- package/dist/collection/vendor/calcite-components/3AWHEFUT.js +0 -4
- package/dist/collection/vendor/calcite-components/3NZA5FPC.js +0 -4
- package/dist/collection/vendor/calcite-components/4CJKDY6O.js +0 -4
- package/dist/collection/vendor/calcite-components/4CN4DMSY.js +0 -4
- package/dist/collection/vendor/calcite-components/4D6XNDXD.js +0 -4
- package/dist/collection/vendor/calcite-components/4GH4R7AR.js +0 -4
- package/dist/collection/vendor/calcite-components/4NZ22FMP.js +0 -4
- package/dist/collection/vendor/calcite-components/4TW23CN7.js +0 -4
- package/dist/collection/vendor/calcite-components/4W55CXIJ.js +0 -4
- package/dist/collection/vendor/calcite-components/4YCDJ4BL.js +0 -4
- package/dist/collection/vendor/calcite-components/57KYZCIP.js +0 -4
- package/dist/collection/vendor/calcite-components/5DTLNTCL.js +0 -4
- package/dist/collection/vendor/calcite-components/5E4NPYBD.js +0 -4
- package/dist/collection/vendor/calcite-components/5E6WFGQD.js +0 -4
- package/dist/collection/vendor/calcite-components/5TU2CNVP.js +0 -4
- package/dist/collection/vendor/calcite-components/5U35BULS.js +0 -4
- package/dist/collection/vendor/calcite-components/5WIIOMNV.js +0 -6
- package/dist/collection/vendor/calcite-components/62UA4F4S.js +0 -4
- package/dist/collection/vendor/calcite-components/62VYJEUG.js +0 -4
- package/dist/collection/vendor/calcite-components/65NO3JUC.js +0 -4
- package/dist/collection/vendor/calcite-components/6GZCW3B4.js +0 -4
- package/dist/collection/vendor/calcite-components/6LJIPAYF.js +0 -4
- package/dist/collection/vendor/calcite-components/6LTFSVKG.js +0 -4
- package/dist/collection/vendor/calcite-components/6QDWHJ5K.js +0 -4
- package/dist/collection/vendor/calcite-components/6U6YH5MS.js +0 -4
- package/dist/collection/vendor/calcite-components/6VFJT5QA.js +0 -4
- package/dist/collection/vendor/calcite-components/6Y4OKAGD.js +0 -4
- package/dist/collection/vendor/calcite-components/74SSYUHC.js +0 -5
- package/dist/collection/vendor/calcite-components/75GQA36Q.js +0 -4
- package/dist/collection/vendor/calcite-components/7AD7VKZ6.js +0 -4
- package/dist/collection/vendor/calcite-components/7MGQRD7Z.js +0 -4
- package/dist/collection/vendor/calcite-components/7Q4LBBRD.js +0 -4
- package/dist/collection/vendor/calcite-components/7YRITLGU.js +0 -4
- package/dist/collection/vendor/calcite-components/A43TKJ6J.js +0 -4
- package/dist/collection/vendor/calcite-components/A4LOL6RT.js +0 -4
- package/dist/collection/vendor/calcite-components/A6LI6WSB.js +0 -4
- package/dist/collection/vendor/calcite-components/AD27WW7R.js +0 -4
- package/dist/collection/vendor/calcite-components/AHU7FP65.js +0 -4
- package/dist/collection/vendor/calcite-components/AI3NCYN4.js +0 -4
- package/dist/collection/vendor/calcite-components/AU24EMIU.js +0 -4
- package/dist/collection/vendor/calcite-components/AZ2MVQY2.js +0 -4
- package/dist/collection/vendor/calcite-components/BNWN4RE2.js +0 -4
- package/dist/collection/vendor/calcite-components/BQHDLRDE.js +0 -4
- package/dist/collection/vendor/calcite-components/BYJ6CJMV.js +0 -4
- package/dist/collection/vendor/calcite-components/C456ACXC.js +0 -4
- package/dist/collection/vendor/calcite-components/CFACWEH3.js +0 -4
- package/dist/collection/vendor/calcite-components/CZ6YBXDI.js +0 -4
- package/dist/collection/vendor/calcite-components/D2IBWEZJ.js +0 -4
- package/dist/collection/vendor/calcite-components/D5V7QPEQ.js +0 -4
- package/dist/collection/vendor/calcite-components/DV72VFBR.js +0 -4
- package/dist/collection/vendor/calcite-components/DXTGGP6F.js +0 -4
- package/dist/collection/vendor/calcite-components/DYX3VYAF.js +0 -4
- package/dist/collection/vendor/calcite-components/E4INVUQF.js +0 -4
- package/dist/collection/vendor/calcite-components/EC76JAWC.js +0 -4
- package/dist/collection/vendor/calcite-components/EFBSBD4Q.js +0 -4
- package/dist/collection/vendor/calcite-components/EGQT3WAL.js +0 -4
- package/dist/collection/vendor/calcite-components/ELLEOMPV.js +0 -4
- package/dist/collection/vendor/calcite-components/EQL77WNN.js +0 -4
- package/dist/collection/vendor/calcite-components/EREAGDHN.js +0 -4
- package/dist/collection/vendor/calcite-components/ETCKBCGT.js +0 -4
- package/dist/collection/vendor/calcite-components/F3MFWM7N.js +0 -4
- package/dist/collection/vendor/calcite-components/F57BIANZ.js +0 -4
- package/dist/collection/vendor/calcite-components/FLGYQACS.js +0 -4
- package/dist/collection/vendor/calcite-components/FVKXG7IX.js +0 -4
- package/dist/collection/vendor/calcite-components/FX4E46UA.js +0 -4
- package/dist/collection/vendor/calcite-components/FXMO4NFQ.js +0 -4
- package/dist/collection/vendor/calcite-components/G377AV4F.js +0 -4
- package/dist/collection/vendor/calcite-components/G4UFYIPU.js +0 -4
- package/dist/collection/vendor/calcite-components/G5GEKU4E.js +0 -4
- package/dist/collection/vendor/calcite-components/GEIJQLU7.js +0 -4
- package/dist/collection/vendor/calcite-components/GI3XXRNT.js +0 -4
- package/dist/collection/vendor/calcite-components/GQMODQ6D.js +0 -4
- package/dist/collection/vendor/calcite-components/GSVJHXH2.js +0 -4
- package/dist/collection/vendor/calcite-components/GUMVKQTR.js +0 -4
- package/dist/collection/vendor/calcite-components/GVOEPDQC.js +0 -4
- package/dist/collection/vendor/calcite-components/GWWXB6FV.js +0 -4
- package/dist/collection/vendor/calcite-components/GYOK6DI7.js +0 -4
- package/dist/collection/vendor/calcite-components/HDAL3OW2.js +0 -4
- package/dist/collection/vendor/calcite-components/HIP3N6DH.js +0 -4
- package/dist/collection/vendor/calcite-components/HLGSDCWJ.js +0 -4
- package/dist/collection/vendor/calcite-components/HPFASJXB.js +0 -4
- package/dist/collection/vendor/calcite-components/HPY2G26P.js +0 -4
- package/dist/collection/vendor/calcite-components/HYWMTX3X.js +0 -4
- package/dist/collection/vendor/calcite-components/HZGIYOHQ.js +0 -4
- package/dist/collection/vendor/calcite-components/HZWEQZY7.js +0 -4
- package/dist/collection/vendor/calcite-components/I3PTWPIY.js +0 -4
- package/dist/collection/vendor/calcite-components/I4CET6OW.js +0 -5
- package/dist/collection/vendor/calcite-components/I4G6P727.js +0 -4
- package/dist/collection/vendor/calcite-components/I6YTTPYR.js +0 -4
- package/dist/collection/vendor/calcite-components/IG7V543A.js +0 -4
- package/dist/collection/vendor/calcite-components/IGJ6NR2R.js +0 -4
- package/dist/collection/vendor/calcite-components/IMHYTFTU.js +0 -4
- package/dist/collection/vendor/calcite-components/IN5OHY5V.js +0 -4
- package/dist/collection/vendor/calcite-components/IPMCFXXP.js +0 -4
- package/dist/collection/vendor/calcite-components/IWHKNQVC.js +0 -4
- package/dist/collection/vendor/calcite-components/IXRENB6A.js +0 -4
- package/dist/collection/vendor/calcite-components/J6LILHDF.js +0 -4
- package/dist/collection/vendor/calcite-components/JADXGLI3.js +0 -4
- package/dist/collection/vendor/calcite-components/JLXVLF74.js +0 -4
- package/dist/collection/vendor/calcite-components/JWVCWXY6.js +0 -4
- package/dist/collection/vendor/calcite-components/K3474HB5.js +0 -4
- package/dist/collection/vendor/calcite-components/K43H5XTK.js +0 -4
- package/dist/collection/vendor/calcite-components/KEKOJLYV.js +0 -4
- package/dist/collection/vendor/calcite-components/KEXGE4NJ.js +0 -4
- package/dist/collection/vendor/calcite-components/KK3Z3W4I.js +0 -4
- package/dist/collection/vendor/calcite-components/KS4B6LK4.js +0 -4
- package/dist/collection/vendor/calcite-components/KUAZDOO6.js +0 -4
- package/dist/collection/vendor/calcite-components/KUGH3USL.js +0 -4
- package/dist/collection/vendor/calcite-components/KZL3CPTV.js +0 -5
- package/dist/collection/vendor/calcite-components/L3P7IWQ6.js +0 -4
- package/dist/collection/vendor/calcite-components/L5FEKBXU.js +0 -5
- package/dist/collection/vendor/calcite-components/L7UUJ325.js +0 -4
- package/dist/collection/vendor/calcite-components/LF6Z3CUU.js +0 -4
- package/dist/collection/vendor/calcite-components/LIPHS6R3.js +0 -4
- package/dist/collection/vendor/calcite-components/LNMOXDYH.js +0 -4
- package/dist/collection/vendor/calcite-components/LNX6IEUD.js +0 -4
- package/dist/collection/vendor/calcite-components/LSGKUJVV.js +0 -4
- package/dist/collection/vendor/calcite-components/LXOXPZWA.js +0 -4
- package/dist/collection/vendor/calcite-components/LYIEETRB.js +0 -4
- package/dist/collection/vendor/calcite-components/M5B5XMQA.js +0 -28
- package/dist/collection/vendor/calcite-components/M6TFTMFD.js +0 -4
- package/dist/collection/vendor/calcite-components/MO24RCUT.js +0 -4
- package/dist/collection/vendor/calcite-components/MOTR6ZPN.js +0 -4
- package/dist/collection/vendor/calcite-components/MPZIFQAA.js +0 -4
- package/dist/collection/vendor/calcite-components/MSERO633.js +0 -4
- package/dist/collection/vendor/calcite-components/N2ACZZPH.js +0 -4
- package/dist/collection/vendor/calcite-components/N2QB6H74.js +0 -4
- package/dist/collection/vendor/calcite-components/N6UWSSGW.js +0 -4
- package/dist/collection/vendor/calcite-components/NALQXSWX.js +0 -4
- package/dist/collection/vendor/calcite-components/NCKQSORU.js +0 -4
- package/dist/collection/vendor/calcite-components/NFGDGOX2.js +0 -4
- package/dist/collection/vendor/calcite-components/NJDS6SVP.js +0 -4
- package/dist/collection/vendor/calcite-components/NN7IWJQ4.js +0 -4
- package/dist/collection/vendor/calcite-components/NSI34PAP.js +0 -4
- package/dist/collection/vendor/calcite-components/O42B2Q4F.js +0 -4
- package/dist/collection/vendor/calcite-components/OGF5TUWN.js +0 -4
- package/dist/collection/vendor/calcite-components/OJCYBIGG.js +0 -4
- package/dist/collection/vendor/calcite-components/OOY2MGXQ.js +0 -4
- package/dist/collection/vendor/calcite-components/OQW7QIRH.js +0 -4
- package/dist/collection/vendor/calcite-components/OTCDMLUC.js +0 -4
- package/dist/collection/vendor/calcite-components/OZVEH4B5.js +0 -4
- package/dist/collection/vendor/calcite-components/P7HTSDH2.js +0 -22
- package/dist/collection/vendor/calcite-components/PLA7W3AT.js +0 -4
- package/dist/collection/vendor/calcite-components/PLXESTWV.js +0 -4
- package/dist/collection/vendor/calcite-components/PMITL6IC.js +0 -4
- package/dist/collection/vendor/calcite-components/PQBKOUKQ.js +0 -4
- package/dist/collection/vendor/calcite-components/PWUMIRZ6.js +0 -4
- package/dist/collection/vendor/calcite-components/Q5J2S3VY.js +0 -4
- package/dist/collection/vendor/calcite-components/QCZULBWY.js +0 -4
- package/dist/collection/vendor/calcite-components/QG6HHELM.js +0 -4
- package/dist/collection/vendor/calcite-components/QO3T2U37.js +0 -4
- package/dist/collection/vendor/calcite-components/QUDJ3N3N.js +0 -4
- package/dist/collection/vendor/calcite-components/QZIFYSUW.js +0 -4
- package/dist/collection/vendor/calcite-components/RBW3635P.js +0 -4
- package/dist/collection/vendor/calcite-components/RHRLZ43T.js +0 -4
- package/dist/collection/vendor/calcite-components/ROGH35KN.js +0 -4
- package/dist/collection/vendor/calcite-components/RU7EMDYD.js +0 -4
- package/dist/collection/vendor/calcite-components/RYTO443L.js +0 -4
- package/dist/collection/vendor/calcite-components/SA6NHSUC.js +0 -4
- package/dist/collection/vendor/calcite-components/SGUU7WHF.js +0 -4
- package/dist/collection/vendor/calcite-components/SHC4YDKE.js +0 -4
- package/dist/collection/vendor/calcite-components/T2ALVZYL.js +0 -4
- package/dist/collection/vendor/calcite-components/T3SQ25MS.js +0 -4
- package/dist/collection/vendor/calcite-components/TAD74E6K.js +0 -4
- package/dist/collection/vendor/calcite-components/TKUCTGZQ.js +0 -4
- package/dist/collection/vendor/calcite-components/TNN7X24K.js +0 -4
- package/dist/collection/vendor/calcite-components/TVLD3AOO.js +0 -4
- package/dist/collection/vendor/calcite-components/U6YW2HHD.js +0 -4
- package/dist/collection/vendor/calcite-components/UIF5EHAA.js +0 -4
- package/dist/collection/vendor/calcite-components/UPPZPSLX.js +0 -4
- package/dist/collection/vendor/calcite-components/UPVIMVOR.js +0 -4
- package/dist/collection/vendor/calcite-components/V56SP7RX.js +0 -4
- package/dist/collection/vendor/calcite-components/V6MKTTBQ.js +0 -4
- package/dist/collection/vendor/calcite-components/V7HGGFTI.js +0 -4
- package/dist/collection/vendor/calcite-components/V7JMIX7A.js +0 -4
- package/dist/collection/vendor/calcite-components/VALEMC46.js +0 -4
- package/dist/collection/vendor/calcite-components/VF6LK743.js +0 -4
- package/dist/collection/vendor/calcite-components/VICC3NDD.js +0 -4
- package/dist/collection/vendor/calcite-components/VP7NXOWD.js +0 -4
- package/dist/collection/vendor/calcite-components/VQDN7OO3.js +0 -4
- package/dist/collection/vendor/calcite-components/VRHJ5OK7.js +0 -4
- package/dist/collection/vendor/calcite-components/VSJGDSNK.js +0 -4
- package/dist/collection/vendor/calcite-components/VTNRWHPJ.js +0 -4
- package/dist/collection/vendor/calcite-components/VWRFMVFO.js +0 -4
- package/dist/collection/vendor/calcite-components/VYNHH43V.js +0 -4
- package/dist/collection/vendor/calcite-components/VZCTXPAB.js +0 -4
- package/dist/collection/vendor/calcite-components/W2PJHNUO.js +0 -4
- package/dist/collection/vendor/calcite-components/WGOS6SLC.js +0 -4
- package/dist/collection/vendor/calcite-components/WI77ICVL.js +0 -4
- package/dist/collection/vendor/calcite-components/WIMUFNVO.js +0 -4
- package/dist/collection/vendor/calcite-components/WKIE22JL.js +0 -4
- package/dist/collection/vendor/calcite-components/WL55EYBZ.js +0 -4
- package/dist/collection/vendor/calcite-components/WNKEORGU.js +0 -4
- package/dist/collection/vendor/calcite-components/WR2VE6JZ.js +0 -4
- package/dist/collection/vendor/calcite-components/XF5JMHOK.js +0 -4
- package/dist/collection/vendor/calcite-components/XIZD6JFU.js +0 -4
- package/dist/collection/vendor/calcite-components/XKHOO62D.js +0 -4
- package/dist/collection/vendor/calcite-components/XV33QQSP.js +0 -4
- package/dist/collection/vendor/calcite-components/XXCPMHQI.js +0 -4
- package/dist/collection/vendor/calcite-components/XYEB5PRT.js +0 -4
- package/dist/collection/vendor/calcite-components/Y3HCVBC6.js +0 -4
- package/dist/collection/vendor/calcite-components/Y7BXR2VY.js +0 -4
- package/dist/collection/vendor/calcite-components/YDUPLCIG.js +0 -4
- package/dist/collection/vendor/calcite-components/YOV6OIH2.js +0 -4
- package/dist/collection/vendor/calcite-components/YPEU6VCU.js +0 -4
- package/dist/collection/vendor/calcite-components/YUVCAMVK.js +0 -4
- package/dist/collection/vendor/calcite-components/YWAPFYEJ.js +0 -4
- package/dist/collection/vendor/calcite-components/YZIMMUUW.js +0 -4
- package/dist/collection/vendor/calcite-components/Z2FJJLZ3.js +0 -4
- package/dist/collection/vendor/calcite-components/ZQ6GYGGS.js +0 -4
- package/dist/collection/vendor/calcite-components/ZQG72P7P.js +0 -4
- package/dist/collection/vendor/calcite-components/ZROM77D7.js +0 -4
- package/dist/collection/vendor/calcite-components/ZWBJOZZD.js +0 -4
- package/dist/esm/constants-637a40f5.js +0 -856
- package/dist/esm/downloadUtils-05da05a5.js +0 -3217
- package/dist/esm/effects-d42ccf96.js +0 -81
- package/dist/esm/helpers-3d7571df.js +0 -841
- package/dist/esm/index-29ce74dd.js +0 -199
- package/dist/esm/index-b49a8ff6.js +0 -1868
- package/dist/esm/index.es-6b399444.js +0 -11107
- package/dist/esm/loadModules-d5a25252.js +0 -21
- package/dist/esm/locale-2b4fcfe1.js +0 -155
- package/dist/esm/locale-63587966.js +0 -938
- package/dist/esm/popupUtils-d4429b90.js +0 -119
- package/dist/esm/publicNotificationStore-0af2f0c7.js +0 -45
- package/dist/esm/solution-store-8f4fe1d9.js +0 -1103
- package/dist/esm/utils-f9183b76.js +0 -142
- package/dist/solutions-components/p-004426dc.entry.js +0 -6
- package/dist/solutions-components/p-01068666.entry.js +0 -6
- package/dist/solutions-components/p-02c009a2.entry.js +0 -6
- package/dist/solutions-components/p-1546373f.entry.js +0 -6
- package/dist/solutions-components/p-1f670efc.entry.js +0 -6
- package/dist/solutions-components/p-1f72c19b.entry.js +0 -6
- package/dist/solutions-components/p-27ff3a85.entry.js +0 -6
- package/dist/solutions-components/p-285c4fe6.js +0 -21
- package/dist/solutions-components/p-2fc2238d.entry.js +0 -6
- package/dist/solutions-components/p-33ca9789.entry.js +0 -6
- package/dist/solutions-components/p-37fd56c8.entry.js +0 -6
- package/dist/solutions-components/p-3df0f3d3.js +0 -6
- package/dist/solutions-components/p-419233a3.js +0 -488
- package/dist/solutions-components/p-442a68ea.entry.js +0 -6
- package/dist/solutions-components/p-4695cfab.js +0 -6
- package/dist/solutions-components/p-48242dd4.js +0 -61
- package/dist/solutions-components/p-4b5ea333.entry.js +0 -6
- package/dist/solutions-components/p-4bd66ae5.entry.js +0 -6
- package/dist/solutions-components/p-4d55eb0e.entry.js +0 -6
- package/dist/solutions-components/p-50dfa0b8.entry.js +0 -6
- package/dist/solutions-components/p-59633ef0.entry.js +0 -6
- package/dist/solutions-components/p-67befb92.entry.js +0 -6
- package/dist/solutions-components/p-68fd9d5d.entry.js +0 -6
- package/dist/solutions-components/p-723482d1.js +0 -21
- package/dist/solutions-components/p-750a8a39.entry.js +0 -6
- package/dist/solutions-components/p-79756a0f.entry.js +0 -6
- package/dist/solutions-components/p-7b42823b.entry.js +0 -6
- package/dist/solutions-components/p-7ded7b2e.js +0 -36
- package/dist/solutions-components/p-80033583.entry.js +0 -6
- package/dist/solutions-components/p-80262cb7.js +0 -6
- package/dist/solutions-components/p-8384ba17.entry.js +0 -6
- package/dist/solutions-components/p-893d8e26.entry.js +0 -6
- package/dist/solutions-components/p-905a911c.entry.js +0 -6
- package/dist/solutions-components/p-94aca64c.entry.js +0 -6
- package/dist/solutions-components/p-957a880f.entry.js +0 -6
- package/dist/solutions-components/p-9775f9d7.entry.js +0 -6
- package/dist/solutions-components/p-9b741908.entry.js +0 -11
- package/dist/solutions-components/p-9c4ea2e2.entry.js +0 -6
- package/dist/solutions-components/p-a0f4c730.entry.js +0 -6
- package/dist/solutions-components/p-a5bfdb73.entry.js +0 -6
- package/dist/solutions-components/p-a650b356.entry.js +0 -6
- package/dist/solutions-components/p-a725bcdf.entry.js +0 -6
- package/dist/solutions-components/p-abe9c0de.entry.js +0 -6
- package/dist/solutions-components/p-af355bbd.entry.js +0 -6
- package/dist/solutions-components/p-b266dcf6.entry.js +0 -6
- package/dist/solutions-components/p-b7a6512b.js +0 -6
- package/dist/solutions-components/p-b9fc59da.js +0 -6
- package/dist/solutions-components/p-be144ed5.entry.js +0 -6
- package/dist/solutions-components/p-c1ec9613.entry.js +0 -6
- package/dist/solutions-components/p-c3107e95.entry.js +0 -6
- package/dist/solutions-components/p-c34857fe.js +0 -129
- package/dist/solutions-components/p-c3eae9ba.js +0 -7
- package/dist/solutions-components/p-c60990bf.entry.js +0 -6
- package/dist/solutions-components/p-c65ff1a0.entry.js +0 -21
- package/dist/solutions-components/p-c97d6d8a.entry.js +0 -6
- package/dist/solutions-components/p-c987cdf2.entry.js +0 -6
- package/dist/solutions-components/p-d001e961.js +0 -6
- package/dist/solutions-components/p-ddd731d3.entry.js +0 -6
- package/dist/solutions-components/p-f053236e.entry.js +0 -6
- package/dist/solutions-components/p-f08084fb.entry.js +0 -21
- package/dist/solutions-components/p-fb75e187.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/24P6DEQH.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/2AVRQATR.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/2CTO4WXV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/2I33XQO3.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/2VMQ4ZHH.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/2XGOJ2TK.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/2Z6KCCXZ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/36GZKNTR.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/3APPCCCZ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/3AWHEFUT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/3NZA5FPC.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/4CJKDY6O.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/4CN4DMSY.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/4D6XNDXD.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/4GH4R7AR.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/4NZ22FMP.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/4TW23CN7.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/4W55CXIJ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/4YCDJ4BL.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/57KYZCIP.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/5DTLNTCL.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/5E4NPYBD.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/5E6WFGQD.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/5TU2CNVP.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/5U35BULS.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/5WIIOMNV.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/62UA4F4S.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/62VYJEUG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/65NO3JUC.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/6GZCW3B4.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/6LJIPAYF.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/6LTFSVKG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/6QDWHJ5K.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/6U6YH5MS.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/6VFJT5QA.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/6Y4OKAGD.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/74SSYUHC.js +0 -5
- package/dist/solutions-components/vendor/calcite-components/75GQA36Q.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/7AD7VKZ6.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/7MGQRD7Z.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/7Q4LBBRD.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/7YRITLGU.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/A43TKJ6J.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/A4LOL6RT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/A6LI6WSB.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/AD27WW7R.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/AHU7FP65.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/AI3NCYN4.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/AU24EMIU.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/AZ2MVQY2.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/BNWN4RE2.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/BQHDLRDE.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/BYJ6CJMV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/C456ACXC.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/CFACWEH3.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/CZ6YBXDI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/D2IBWEZJ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/D5V7QPEQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DV72VFBR.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DXTGGP6F.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DYX3VYAF.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/E4INVUQF.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/EC76JAWC.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/EFBSBD4Q.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/EGQT3WAL.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ELLEOMPV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/EQL77WNN.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/EREAGDHN.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ETCKBCGT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/F3MFWM7N.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/F57BIANZ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FLGYQACS.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FVKXG7IX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FX4E46UA.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FXMO4NFQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/G377AV4F.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/G4UFYIPU.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/G5GEKU4E.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GEIJQLU7.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GI3XXRNT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GQMODQ6D.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GSVJHXH2.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GUMVKQTR.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GVOEPDQC.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GWWXB6FV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GYOK6DI7.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/HDAL3OW2.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/HIP3N6DH.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/HLGSDCWJ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/HPFASJXB.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/HPY2G26P.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/HYWMTX3X.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/HZGIYOHQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/HZWEQZY7.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/I3PTWPIY.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/I4CET6OW.js +0 -5
- package/dist/solutions-components/vendor/calcite-components/I4G6P727.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/I6YTTPYR.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/IG7V543A.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/IGJ6NR2R.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/IMHYTFTU.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/IN5OHY5V.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/IPMCFXXP.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/IWHKNQVC.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/IXRENB6A.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/J6LILHDF.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JADXGLI3.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JLXVLF74.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JWVCWXY6.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/K3474HB5.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/K43H5XTK.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KEKOJLYV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KEXGE4NJ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KK3Z3W4I.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KS4B6LK4.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KUAZDOO6.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KUGH3USL.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KZL3CPTV.js +0 -5
- package/dist/solutions-components/vendor/calcite-components/L3P7IWQ6.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/L5FEKBXU.js +0 -5
- package/dist/solutions-components/vendor/calcite-components/L7UUJ325.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/LF6Z3CUU.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/LIPHS6R3.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/LNMOXDYH.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/LNX6IEUD.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/LSGKUJVV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/LXOXPZWA.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/LYIEETRB.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/M5B5XMQA.js +0 -28
- package/dist/solutions-components/vendor/calcite-components/M6TFTMFD.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MO24RCUT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MOTR6ZPN.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MPZIFQAA.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MSERO633.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/N2ACZZPH.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/N2QB6H74.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/N6UWSSGW.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/NALQXSWX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/NCKQSORU.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/NFGDGOX2.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/NJDS6SVP.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/NN7IWJQ4.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/NSI34PAP.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/O42B2Q4F.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/OGF5TUWN.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/OJCYBIGG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/OOY2MGXQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/OQW7QIRH.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/OTCDMLUC.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/OZVEH4B5.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/P7HTSDH2.js +0 -22
- package/dist/solutions-components/vendor/calcite-components/PLA7W3AT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/PLXESTWV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/PMITL6IC.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/PQBKOUKQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/PWUMIRZ6.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/Q5J2S3VY.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/QCZULBWY.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/QG6HHELM.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/QO3T2U37.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/QUDJ3N3N.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/QZIFYSUW.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RBW3635P.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RHRLZ43T.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ROGH35KN.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RU7EMDYD.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RYTO443L.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/SA6NHSUC.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/SGUU7WHF.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/SHC4YDKE.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/T2ALVZYL.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/T3SQ25MS.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/TAD74E6K.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/TKUCTGZQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/TNN7X24K.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/TVLD3AOO.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/U6YW2HHD.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/UIF5EHAA.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/UPPZPSLX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/UPVIMVOR.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/V56SP7RX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/V6MKTTBQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/V7HGGFTI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/V7JMIX7A.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/VALEMC46.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/VF6LK743.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/VICC3NDD.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/VP7NXOWD.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/VQDN7OO3.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/VRHJ5OK7.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/VSJGDSNK.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/VTNRWHPJ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/VWRFMVFO.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/VYNHH43V.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/VZCTXPAB.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/W2PJHNUO.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/WGOS6SLC.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/WI77ICVL.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/WIMUFNVO.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/WKIE22JL.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/WL55EYBZ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/WNKEORGU.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/WR2VE6JZ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/XF5JMHOK.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/XIZD6JFU.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/XKHOO62D.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/XV33QQSP.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/XXCPMHQI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/XYEB5PRT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/Y3HCVBC6.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/Y7BXR2VY.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YDUPLCIG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YOV6OIH2.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YPEU6VCU.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YUVCAMVK.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YWAPFYEJ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YZIMMUUW.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/Z2FJJLZ3.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ZQ6GYGGS.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ZQG72P7P.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ZROM77D7.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ZWBJOZZD.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,g as e,h as i,H as a,c as s}from"./p-8c40bdec.js";import{g as n}from"./p-075979ef.js";import{s as c}from"./p-1309ac58.js";import{d as o}from"./p-80cb7c73.js";import{E as l}from"./p-4f236b5d.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-fa639501.js";import"./p-570b13d9.js";import"./p-0668e30d.js";const d=class{constructor(e){t(this,e)}get el(){return e(this)}hasChanges=!1;hasErrors=!1;instanceid="";locale;value="";async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}componentDidLoad(){const t=document.getElementById(`${this.instanceid}-container`);if(t){this._editor=monaco.editor.create(t,{value:this.value,language:"json",theme:"vs",minimap:{enabled:!1},automaticLayout:!0,scrollBeyondLastLine:!1}),this._currentModel=this._editor.getModel(),this._contentChanged=this._currentModel.onDidChangeContent(this._onEditorChange.bind(this));const e=monaco.editor.setModelMarkers,i=this;monaco.editor.setModelMarkers=function(t,a,s){t.id===i._currentModel.id&&(i._flagEditorHasErrors(s.length>0),i.hasErrors||(i._flagEditorHasChanges(i._currentModel?.canUndo()),i._currentModel?.canUndo()&&i._flagEditorContentChanged()),document.getElementById(`${i.instanceid}-errorFlag`).style.visibility=i.hasErrors?"visible":"hidden"),e.call(monaco.editor,t,a,s)},this._diffEditor=monaco.editor.createDiffEditor(document.getElementById(`${this.instanceid}-diff-container`),{automaticLayout:!0}),this._setDiffModel(),this._loaded=!0,this._toggleUndoRedo()}}async componentWillLoad(){this._initValueObserver(),await this._getTranslations()}render(){return i(a,{key:"ba7c8a397da913d86f5d294cdfbb5ec1b84d89de"},i("div",{key:"bc5c6d1ee443b2096cc44d0b66850d4ebe8462da",id:`${this.instanceid}-editor-container`,class:"editor-container padding-right"},i("div",{key:"dbaf682cba354ce7eef21b03a71832fd39911332",class:"editor-controls"},i("div",{key:"e454e1dd36aa620abf2ffb7877bebb9adc70ff15",class:"editor-buttons"},i("calcite-icon",{key:"1de67e151c6e65b004a431d89dc785ca286a8e11",id:`${this.instanceid}-errorFlag`,icon:"exclamation-mark-triangle",title:this._translations.errorFlag,scale:"s",class:"edit-error-flag"}),i("calcite-button",{key:"33de20955d29287a3ec981e7650562a036343e3a",id:`${this.instanceid}-undo`,color:"blue",appearance:"solid",title:this._translations.undo,onClick:()=>this._undo(),scale:"s",class:"edit-button"},i("calcite-icon",{key:"9bed02f1e8a367ad2ed764747f044a4ce27de52b",icon:"undo",scale:"s"})),i("calcite-button",{key:"07562443286c4eeec28577a7cff0401e8cea0ba8",id:`${this.instanceid}-redo`,color:"blue",appearance:"solid",title:this._translations.redo,onClick:()=>this._redo(),scale:"s",class:"edit-button"},i("calcite-icon",{key:"5f24902a66eae644d0d358a4826a98d45e905493",icon:"redo",scale:"s"})),i("calcite-button",{key:"02f4f3f8ab93e5f1146176ec3699e2a6d25ecbeb",id:`${this.instanceid}-diff`,color:"blue",appearance:"solid",title:this._translations.diff,onClick:()=>this._toggleEditor(),scale:"s",class:"edit-button"},i("calcite-icon",{key:"0bcd20d28e9ec34f1736a2888d78bfcd9cb82a4d",icon:"compare",scale:"s"})),i("calcite-button",{key:"cf3a7672ebd3ebef00123096ec304456b8f102fc",id:`${this.instanceid}-search`,appearance:"outline",color:"blue",title:this._translations.search,onClick:()=>this._search(),scale:"s",class:"edit-button"},i("calcite-icon",{key:"36aac5e89ebf593d8d1981d7b8f6267fbbadfd24",icon:"search",scale:"s"})),i("calcite-button",{key:"cc981ff7580acfa3a3395c4ce7a96b3022bbbb4b",id:`${this.instanceid}-reset`,color:"blue",appearance:"solid",disabled:!0,title:this._translations.cancelEdits,onClick:()=>this._reset(),scale:"s",class:"edit-button"},i("calcite-icon",{key:"3c4fc1da749f4b4f64d814fcd58dc035634f6b1b",icon:"reset",scale:"s"})))),i("div",{key:"6c33ec4851d804dac7fd9762e3c8c7e416a27cf4",class:"edit-parent"},i("div",{key:"a6e9721127bbd43f9974af65e0899489370e1868",id:`${this.instanceid}-container`,class:"json-edit-container"}),i("div",{key:"c1d1ea305c0e451c24beddb8ac3f8e85a3fca088",id:`${this.instanceid}-diff-container`,class:"json-edit-container display-none"}))))}_cancelEditsBtnHandler;_contentChanged;_currentModel;_diffEditor;_editor;_loaded=!1;_searchBtnHandler;_translations;_useDiffEditor=!1;_valueObserver;async getEditorContents(){return new Promise(((t,e)=>{try{t(this._currentModel.getValue())}catch(t){e(t)}}))}async prepareForDeletion(){this._searchBtnHandler?.removeEventListener("click",this._search),this._cancelEditsBtnHandler?.removeEventListener("click",this._reset),this._valueObserver?.disconnect(),this._contentChanged?.dispose(),this._editor?.dispose()}async replaceCurrentSelection(t){const e=this._editor.getSelection();this._editor.executeEdits("",[{range:e,text:t}])}async reset(){return new Promise(((t,e)=>{try{this._reset(),t({success:!0})}catch(t){e(t)}}))}_disableButton(t){document.getElementById(t)?.setAttribute("disabled","")}_enableButton(t){document.getElementById(t)?.removeAttribute("disabled")}_flagEditorContentChanged(){window.dispatchEvent(new CustomEvent("solutionEditorContentChanged",{detail:{id:this.instanceid,contents:this._currentModel.getValue()},bubbles:!0,cancelable:!1,composed:!0}))}_flagEditorHasChanges(t){this.hasChanges!==t&&(window.dispatchEvent(new CustomEvent("solutionEditorHasChanges",{detail:t,bubbles:!0,cancelable:!1,composed:!0})),this.hasChanges=t)}_flagEditorHasErrors(t){this.hasErrors!==t&&(window.dispatchEvent(new CustomEvent("solutionEditorHasErrors",{detail:t,bubbles:!0,cancelable:!1,composed:!0})),this.hasErrors=t)}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}_initValueObserver(){this._valueObserver=new MutationObserver((t=>{t.forEach((t=>{"attributes"===t.type&&"value"===t.attributeName&&t.target[t.attributeName]!==t.oldValue&&this._loaded&&this._currentModel.setValue(this.value)}))})),this._valueObserver.observe(this.el,{attributes:!0,attributeOldValue:!0})}_onEditorChange(){this._toggleUndoRedo()}_redo(){this._currentModel?.canRedo()&&(this._currentModel.redo(),this._toggleUndoRedo())}_reset(){this._currentModel.setValue(this.value),this._toggleUndoRedo()}_search(){this._editor.trigger("toggleFind","actions.find")}_setDiffModel(){this._diffEditor&&this._diffEditor.setModel({original:monaco.editor.createModel(this.value,"json"),modified:this._editor.getModel()})}_toggleEditor(){this._useDiffEditor=!this._useDiffEditor;let t=document.getElementById(`${this.instanceid}-diff-container`),e=document.getElementById(`${this.instanceid}-container`);this._useDiffEditor?(this._setDiffModel(),t.classList.remove("display-none"),e.classList.add("display-none")):(t.classList.add("display-none"),e.classList.remove("display-none"))}_toggleUndoRedo(){this._currentModel?.canUndo()?this._enableButton(`${this.instanceid}-undo`):this._disableButton(`${this.instanceid}-undo`),this._currentModel?.canRedo()?this._enableButton(`${this.instanceid}-redo`):this._disableButton(`${this.instanceid}-redo`),this._currentModel?.canUndo()||this._currentModel?.canRedo()?this._enableButton(`${this.instanceid}-reset`):this._disableButton(`${this.instanceid}-reset`)}_undo(){this._currentModel?.canUndo()&&(this._currentModel.undo(),this._toggleUndoRedo())}static get assetsDirs(){return["assets"]}static get watchers(){return{locale:["localeWatchHandler"]}}};d.style=":host{display:block}.editor-container{position:relative;height:100%}.editor-controls{height:2.75rem;padding-right:0.5rem;background-color:#F4F4F4}.editor-buttons{float:right}html[dir=rtl] .editor-buttons{float:left}.edit-error-flag{padding-top:0.5rem;color:red;visibility:hidden}.edit-button{padding-inline-start:0.5rem}.editor-text{width:100%;overflow-y:auto;background-color:#FFFFFF}.edit-width{width:100%}.edit-parent{box-sizing:border-box;width:100%;height:calc(100% - 46px)}.json-edit-container{height:100%;width:100%;border:1px #808080 solid}.padding-right{padding-inline-end:0.125rem}.btn{margin-bottom:1rem;display:flex;align-content:center;height:25px;width:120px}.select-ctrl{margin-bottom:1rem}.all-edits{margin-top:4rem}.floating-title{font-size:2rem;z-index:100;position:absolute;left:0.5rem;pointer-events:none}.floating-title-button{pointer-events:auto}.json-editor-position1{position:absolute;left:0px;top:0px;margin:0px;height:100%;width:100%;overflow:hidden;padding:0px;max-height:100% !important}.json-editor-position2a{position:absolute;left:0px;top:0px;margin:0px;height:100%;width:50%;overflow:hidden;padding:0px;max-height:100% !important}.json-editor-position2b{position:absolute;right:0px;top:0px;margin:0px;height:100%;width:50%;overflow:hidden;padding:0px;max-height:100% !important}";const r=class{constructor(e){t(this,e)}get el(){return e(this)}itemId="";locale;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async componentWillLoad(){return this._getTranslations()}async componentWillRender(){return this.itemEdit=c.getItemInfo(this.itemId),this.itemEdit&&(this.itemDetails=this.itemEdit.item,this.itemType=this.itemDetails.type),Promise.resolve()}render(){return i(a,{key:"032ff1aeb8c703b36ff4746508e0b6b35ad29516"},i("div",{key:"a6ef24150d812c790a9762c7e6dcaefcfacc2c36",class:"parent-container"},i("div",{key:"e03091a4557a0e15af35782350aec472c94a0151",class:"inputBottomSeparation"},i("calcite-input",{key:"e45e06e9e140cc1bcd070faef6efeccd773ce7cc",id:"item-title",value:this.itemDetails.title})),i("div",{key:"9f62241ee3f46730aa48f40c5c9e55ea823c2e6f",class:"inputBottomSeparation"},i("input",{key:"1c90efe7904fffbccb189032069396cf21e21228",accept:".jpg,.gif,.png,image/jpg,image/gif,image/png",class:"display-none",onChange:t=>this._updateThumbnail(t),ref:t=>this.browseForThumbnail=t,type:"file"}),i("button",{key:"fbc1a6f8c40ac4ba7840bf80d16b4039d2bbb5a7",class:"font-size--3 btn-link inline-block trailer-quarter",onClick:()=>this._getThumbnail()},i("svg",{key:"1d4eacbc6445262ffa9bd9fe3d407a8a4560dd36",class:"icon-inline icon-inline--on-left",height:"16",viewBox:"0 0 16 16",width:"16"},i("path",{key:"58eaaf7e259d7ef37ae352874488fce873a416b9",d:"M14.792 2.666l-1.414-1.413a.965.965 0 0 0-1.385-.03l-1.444 1.444-8.763 8.72L.03 15.481a.371.371 0 0 0 .488.488l4.096-1.756 8.763-8.72-.001-.001.002.002 1.443-1.444a.965.965 0 0 0-.03-1.385zM1.569 14.431l.554-1.293.74.739zm2.338-.924l-1.414-1.414 7.963-7.92 1.414 1.415zm8.67-8.626l-1.413-1.414 1.29-1.29a.306.306 0 0 1 .433 0l.981.98a.306.306 0 0 1 0 .433z"})),this._translations.editThumbnail),i("div",{key:"a1d50881d34eddd023e0a9b677575a7573df583a",class:"flex"},i("div",{key:"e31f5d4cdaaee8765cc982ba9adda88df977e803",class:"img-container",ref:t=>this.thumbnailContainer=t},i("img",{key:"c2d9b5e31e25b1bc139e1c119042044fdd8b31dd",class:"scale-down",height:"133",id:"item-thumbnail",ref:t=>this.thumbnail=t,width:"200"})),i("div",{key:"eaa96a675562d8969124ba3169e46d4fe9d180cb",class:"snippet-count-container"},i("calcite-input",{key:"47d6b25a65fbe60f38668710b1eb14129c4aa6f2",id:"item-snippet",maxLength:250,type:"textarea",value:this.itemDetails.snippet}),i("label",{key:"8267140b46c94425eda185020c76307e70c33684",class:"font-size--3",id:"item-snippet-count",ref:t=>this.itemSnippetCount=t})))),i("calcite-label",{key:"70ffbe01451016a0016d044e2f3e4d1e41722cb0"},this._translations.description,i("label",{key:"f7c014575c2a6964a45fad059646d79ebadf5e18",id:"item-description-label"},i("calcite-input",{key:"34d78b42697be944d413102975aff3d31498abba",id:"item-description",type:"textarea",value:this.itemDetails.description}))),i("calcite-label",{key:"2d51c7a3b709b41e5adb0f73756a9528f86c20a5"},this._translations.tags,i("label",{key:"ea9ddfa6662d7ab8eb92301c59b6fd5876d7d59b",id:"item-tags-label"},i("calcite-input",{key:"aec1f0ee4408d4cb687bb31b313cb47b58979733",id:"item-tags",value:(this.itemDetails.tags&&Array.isArray(this.itemDetails.tags)?this.itemDetails.tags:[this.itemDetails.tags]).join(",")}))),"Group"!==this.itemType?i("calcite-label",null,this._translations.credits,i("label",{id:"item-credits-label"},i("calcite-input",{id:"item-credits",value:this.itemDetails.accessInformation}))):null,"Group"!==this.itemType?i("calcite-label",null,i("label",{id:"item-terms-label"},this._translations.termsOfUse,i("calcite-input",{id:"item-terms",type:"textarea",value:this.itemDetails.licenseInfo}))):null))}componentDidRender(){this._loadThumb()}browseForThumbnail;itemDetails={accessInformation:"",description:"",licenseInfo:"",snippet:"",tags:[],title:""};itemEdit;itemType;_translations;itemSnippetCount;thumbnail;thumbnailContainer;inputReceivedHandler(t){switch(t.target.id){case"item-title":this.itemDetails.title=t.target.value,this._updateStore();break;case"item-snippet":t.target.value.length>250&&(t.target.value=t.target.value.substring(0,250)),this.itemDetails.snippet=t.target.value,this._updateLengthLabel(this.itemDetails.snippet),this._updateStore();break;case"item-description":this.itemDetails.description=t.target.value,this._updateStore();break;case"item-tags":this.itemDetails.tags=t.target.value,this._updateStore();break;case"item-credits":this.itemDetails.accessInformation=t.target.value,this._updateStore();break;case"item-terms":this.itemDetails.licenseInfo=t.target.value,this._updateStore()}}_getThumbnail(){this.browseForThumbnail.click()}_loadThumb(){this.thumbnail&&this.itemEdit?.thumbnail?(this.thumbnail.src=URL.createObjectURL(this.itemEdit.thumbnail),this.thumbnailContainer.classList.remove("empty-box"),this.thumbnail.classList.remove("display-none")):(this.thumbnailContainer.classList.add("empty-box"),this.thumbnail.classList.add("display-none"))}_updateLengthLabel(t){this.itemSnippetCount.innerText=this._translations.snippetCountPattern.replace("{{n}}",t.length.toString())}_updateStore(){this.itemEdit=c.getItemInfo(this.itemId),this.itemEdit.item=this.itemDetails,c.setItemInfo(this.itemEdit)}_updateThumbnail(t){const e=t.target.files;e&&e[0]&&this.thumbnail&&(this.thumbnail.src=URL.createObjectURL(e[0]),this.itemEdit=c.getItemInfo(this.itemId),this.itemEdit.thumbnail=e[0],c.replaceItemThumbnail(this.itemEdit))}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"]}}};r.style=".inputBottomSeparation{margin-left:0px;margin-right:0px;margin-top:0px;margin-bottom:1.5rem}.icon-inline--on-left,.icon-inline--on-right{display:inline;vertical-align:middle;margin-inline-end:0.375rem;fill:#0079c1}.scale-down{-o-object-fit:scale-down;object-fit:scale-down}.img-container{display:inline;margin-inline-end:1rem;max-width:363px}.summary-count-container{display:inline;flex-grow:1;margin-inline-start:0.75rem}.snippet-count-container{width:calc(100vw - 363px)}.parent-container{max-width:100%;padding:1rem}label{position:relative;margin-left:0px;margin-right:0px;margin-top:0px;margin-bottom:1.5rem;display:block;min-width:-moz-min-content;min-width:min-content}";const h=class{constructor(e){t(this,e)}get el(){return e(this)}groupId="";locale;itemIdWatchHandler(){const t=c.getItemInfo(this.groupId);this.sharing=t.groupDetails}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async componentWillLoad(){return this._getTranslations()}render(){return i(a,{key:"eca66b743e748d9f915c6d356ea84075ab21709a"},i("div",{key:"b0765e14cc9de5a81afa5d20bc41e7f78913a37e",class:"container-border"},i("calcite-label",{key:"36cbf3b48a2641bcb2107e61609c2ec6c9f18991"},this._translations.groupInfo),this._renderItems(this.sharing)))}_translations;sharing=[];async getShareInfo(){return this.sharing}_renderItems(t){return t&&t.length>0?t.map((t=>i("calcite-label",{layout:"inline"},i("calcite-switch",{checked:t.shareItem,id:t.id,name:"setting",onCalciteSwitchChange:t=>this._updateItem(t),scale:"m",value:"enabled"}),i("solution-item-icon",{type:t.type,typeKeywords:t.typeKeywords}),i("span",{class:"icon-text",title:t.title},t.title)))):null}_updateItem(t){const e=t.target.id;this.sharing=this.sharing.map((i=>{if(i.id===e){i.shareItem=t.target.checked;const a=c.getItemInfo(e);if(i.shareItem)a.groups?a.groups.indexOf(this.groupId)<0&&a.groups.push(this.groupId):a.groups=[this.groupId];else if(a.groups){const t=a.groups.indexOf(this.groupId);t>-1&&a.groups.splice(t,1)}c.setItemInfo(a)}return i}))}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}static get watchers(){return{groupId:["itemIdWatchHandler"],locale:["localeWatchHandler"]}}};h.style=":host{display:block}.container-border{padding:1rem}.icon-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}";const b=class{constructor(e){t(this,e),this.organizationVariableSelected=s(this,"organizationVariableSelected",7)}get el(){return e(this)}locale;value="";async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}valueWatchHandler(){this._organizationVariables=JSON.parse(this.value)}async componentWillLoad(){return this._getTranslations()}render(){return i(a,{key:"4d1a39b53287d445a1fc66cd5088a7bc60516ab6"},i("div",{key:"7a40ad712fe1af01e92701d128f65b0590aa15bc"},i("h4",{key:"7517fc56b5b0128ee102dc3f57e334501befe14f",class:"org-var-header"},this._translations.orgVariables)),i("div",{key:"d48cbc3ffb24ba54ded2b24c7c518ecf8114cd55",class:"container-border"},i("calcite-tree",{key:"383124c0ae3d646dc9ee857109051e7a151dbe62",id:"variable-label"},this._renderHierarchy(this._organizationVariables))))}_organizationVariables=[];_translations;organizationVariableSelected;_renderHierarchy(t){return t.map((t=>i("calcite-tree-item",{onClick:()=>this._treeItemSelected(t.id,t.value)},t.title)))}_treeItemSelected(t,e){this.organizationVariableSelected.emit({itemId:t,value:e})}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],value:["valueWatchHandler"]}}};b.style=":host{display:block}.container-border{overflow-y:auto}.org-var-header{margin-left:0px;margin-right:0px;margin-top:0px;margin-bottom:1rem}";const p=class{constructor(e){t(this,e)}get el(){return e(this)}authentication;itemId="";locale;itemIdWatchHandler(){const t=c.getItemInfo(this.itemId);this.resourceFilePaths=t.resourceFilePaths,this.resources=t.resources.map((t=>t.substring(t.lastIndexOf("/")+1)))}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}componentWillLoad(){return this._getTranslations()}render(){const t=this._hasValidResources();return i(a,{key:"36017a54e5f8fafda593af2b727f1fbda80c7455"},i("div",{key:"eb9f53c9b4161c09e0b00d9a4d90a814d944819c",class:"resource-item"},i("div",{key:"504dfa5fb623ed27a0829f60ebbf5de17b6d467f",class:"margin-bottom-1"},i("calcite-button",{key:"e578443e1ef409917c5946c77e660c04d273cb6c",appearance:"solid",class:"resource-button",color:"blue",onClick:()=>this._addNewResource()},this._translations.addResource),i("calcite-button",{key:"e4c11326d7c5d96de1d0983eb0beb3cf726177c8",appearance:"solid",color:"blue",disabled:!t,onClick:()=>this._downloadAll()},this._translations.downloadAll)),i("div",{key:"3617bf40ac8b01d70b523642757a624c977ea491",class:"resources-container",style:{display:t?"inherit":"none"}},this._renderResourceList())))}resourceFilePaths=[];resources=[];_translations;_removedResources={};_renderResourceList(){return i("calcite-value-list",{multiple:!0},this.resourceFilePaths.reduce(((t,e)=>(e.type!==l.Thumbnail&&t.push(this._renderResource(e)),t)),[]))}_renderResource(t){const e=t.updateType===o.Remove;return i("calcite-value-list-item",{class:e?"disabled":"",label:t.folder?t.folder+"/"+t.filename:t.filename,nonInteractive:!0,value:t.url},i("calcite-action-group",{"expand-disabled":"true",layout:"horizontal",slot:"actions-end"},i("calcite-action",{disabled:e,icon:"download",label:this._translations.download,onClick:()=>this._download(t.url,t.filename),scale:"m",text:this._translations.download,title:this._translations.download}),i("calcite-action",{disabled:e,icon:"upload-to",label:this._translations.update,onClick:()=>this._upload(t),scale:"m",text:this._translations.update,title:this._translations.update}),i("calcite-action",{disabled:e,icon:"trash",label:this._translations.delete,onClick:()=>this._delete(t),scale:"m",text:this._translations.delete,title:this._translations.delete}),e?i("calcite-action",{icon:"reset",label:this._translations.reset,onClick:()=>this._reset(t.filename),scale:"m",text:this._translations.reset,title:this._translations.reset}):i("div",{class:"display-none"})))}_delete(t){t.updateType=o.Remove,this.resourceFilePaths=[...this.resourceFilePaths],this._updateStore()}_reset(t){this.resourceFilePaths=this.resources.some((e=>e===t))?this.resourceFilePaths.map((e=>(e.filename===t&&(e.updateType=o.None),e))):this.resourceFilePaths.map((e=>(e.filename===t&&(e.updateType=o.Add),e))),this._updateStore()}_downloadAll(){this.resourceFilePaths.forEach((t=>{this._download(t.url,t.filename)}))}_download(t,e){t.startsWith("blob")?this.downloadFile(t,e):this.fetchAndDownload(`${t}?token=${this.authentication.token}`,e)}downloadFile(t,e){const i=document.createElement("a");i.href=t,i.download=e,i.target="_blank",i.click()}_hasValidResources(){return this.resourceFilePaths.some((t=>t.url.indexOf("_info_thumbnail")<0))}async fetchAndDownload(t,e){const i=await fetch(t),a=await i.blob(),s=URL.createObjectURL(a);this.downloadFile(s,e)}_upload(t){const e=document.createElement("input");e.classList.add("display-none"),e.onchange=this._updateResource.bind(this,t),e.type="file",e.click()}_addNewResource(){const t=document.createElement("input");t.classList.add("display-none"),t.onchange=this._add.bind(this),t.type="file",t.click()}_updateResource(t,e){const i=e.target.files;i&&i[0]&&(t.blob=i[0],t.updateType=o.Update,this._updateStore())}_add(t){const e=t.target.files;if(e&&e[0]){const t=URL.createObjectURL(e[0]),i=e[0].name;this.resourceFilePaths.some((e=>e.filename===i&&e.url===t))||(this.resourceFilePaths=[...this.resourceFilePaths,{url:t,type:l.Data,folder:void 0,filename:i,blob:e[0],updateType:o.Add}],this._updateStore())}}_updateStore(){const t=c.getItemInfo(this.itemId);t.resourceFilePaths=this.resourceFilePaths,c.setItemInfo(t)}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}static get watchers(){return{itemId:["itemIdWatchHandler"],locale:["localeWatchHandler"]}}};p.style=":host{display:block}.resource-item{padding:1rem}.resource-button{margin-inline-end:1rem}.resource-progress{padding-top:1rem}.resources-container{border:1px #808080 solid}.margin-bottom-1{margin-bottom:1rem}";const f=class{get el(){return e(this)}instanceid="";itemId="";itemIdWatchHandler(){this._initializing=!0,this.value=JSON.stringify("data"===this.instanceid?c.getItemInfo(this.itemId).data:c.getItemInfo(this.itemId).properties,null,2)}locale;organizationVariables="";solutionVariables="";varsOpen=!0;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}constructor(e){t(this,e),window.addEventListener("solutionEditorContentChanged",(t=>{if(this.itemId){const{id:e,contents:i}=t.detail,[a,s]=e.split("|");if(a==this.itemId&&s===this.instanceid){if(!this._initializing&&i.length>0){const t=c.getItemInfo(a);"data"===s?t.data=JSON.parse(i):t.properties=JSON.parse(i),c.setItemInfo(t)}this._initializing=!1}}}))}componentWillLoad(){return this._getTranslations()}render(){return i(a,{key:"db99cf57229d7d8b9fe6315e180d95de0b20fc8d"},i("div",{key:"83473f420d1417c85ebb4119be9f359cab878c54",class:"solution-data-container"},i("calcite-shell",{key:"013754ef962c2e5c112f6a8cc6c5d1b8e768078e",class:"light var-container",dir:"ltr"},i("calcite-panel",{key:"11ab2a07fe4af542d8cefc1c131246deef43dd9a",class:"json-editor"},i("div",{key:"ba0460977eb0375acaf5b11ce951986a08ece39b",class:"solution-data-child-container calcite-match-height"},i("json-editor",{key:"53251c1583aa7e8cf2a4e9a1f22e4c72430d3928",class:"solution-data-editor-container",instanceid:this.itemId+"|"+this.instanceid,locale:this.locale,value:this.value}))),i("calcite-shell-panel",{key:"30c47797a35ff7228c4318a5633aec57de05b8cf","height-scale":"l",position:"end",slot:"contextual-panel","width-scale":"xs"},i("div",{key:"028b16654835744f0735b880ca85a3d174963414",class:this.varsOpen?"solution-data-child-container":"solution-data-child-container-collapsed"},i("calcite-button",{key:"bb5049611e778b970454544851a625ccef47d23a",appearance:"transparent",class:"collapse-btn","icon-start":this.varsOpen?"chevrons-right":"chevrons-left",id:"collapse-vars",onClick:()=>this._toggleVars(),scale:"s",title:this.varsOpen?this._translations.collapse:this._translations.expand}),i("div",{key:"c2a30a7c27db181e0dfe0e201d9d3b2742247080",class:this.varsOpen?"org-vars":"org-vars display-none",id:"orgVars"},i("solution-organization-variables",{key:"178c4301c8558c4fe7114c8f6cf5bc0df10883a0",locale:this.locale,value:this.organizationVariables})),i("div",{key:"f85375bac946cff856b6915f340bf926498265ea",class:this.varsOpen?"sol-vars":"sol-vars display-none",id:"solVars"},i("solution-variables",{key:"166d0752746994bc4aebd4e41660f8a2d2c678ea",locale:this.locale,value:this.solutionVariables})))))))}_translations;value="";_initializing=!1;_toggleVars(){this.varsOpen=!this.varsOpen}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}static get watchers(){return{itemId:["itemIdWatchHandler"],locale:["localeWatchHandler"]}}};f.style=":host{display:flexbox}.solution-data-container{position:absolute;height:-moz-available;height:calc(100% - 48px);height:-webkit-fill-available;height:stretch;width:-moz-available;width:100%;width:-webkit-fill-available;width:stretch}.solution-data-child-container{display:flex;height:100%;width:100%;flex-direction:column;overflow-y:auto}.solution-data-editor-container{height:100%}.solution-data-child-container-collapsed{display:flex;height:100%;flex-direction:column;overflow:auto;width:50px}.inputBottomSeparation{margin-left:0px;margin-right:0px;margin-top:0px;margin-bottom:1.5rem}.json-editor{margin:1rem;width:auto;width:-webkit-fill-available -moz-available}.collapse-btn{padding-left:1rem;padding-right:1rem;padding-top:1rem;padding-bottom:0px}.org-vars{padding-left:1rem;padding-right:1rem;padding-top:1rem;padding-bottom:0px}.sol-vars{padding-top:0px;padding-bottom:0px;padding-left:1rem;padding-right:1rem;min-height:45%}.padding-1{padding:1rem}.light{background-color:#F4F4F4}";const u=class{constructor(e){t(this,e),this.solutionVariableSelected=s(this,"solutionVariableSelected",7)}get el(){return e(this)}value="";locale;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}valueWatchHandler(){this._solutionVariables=JSON.parse(this.value)}componentWillLoad(){return this._getTranslations()}render(){return i(a,{key:"a9354a1d3b3d91b9b9522bec945726e106487b78"},i("div",{key:"d38d0151ba9f8421e3ec863ce90b234964cb7f21"},i("h4",{key:"3d10129c3327e803e38b4fc21976764f9ac91693",class:"org-var-header"},this._translations.solVariables)),i("div",{key:"8b79cef63c5b8f5f66b0e11a4b94021f6a025fc3",class:"container-border"},i("calcite-tree",{key:"7f69edec6e35a65e45b461d69e92d0e163563bee",id:"variable-label"},this._renderHierarchy(this._solutionVariables))))}_solutionVariables=[];_translations;solutionVariableSelected;_renderHierarchy(t){return t.map((t=>t.dependencies&&t.dependencies.length>0?i("calcite-tree-item",{onClick:t=>this._toggleExpand(t)},i("solution-item-icon",{type:t.type}),i("span",{class:"icon-text",title:t.title},t.title),i("calcite-tree",{slot:"children"},this._renderHierarchy(t.dependencies))):i("calcite-tree-item",{onClick:()=>this._treeItemSelected(t.id,t.value)},t.title)))}_treeItemSelected(t,e){this.solutionVariableSelected.emit({itemId:t,value:e})}_toggleExpand(t){const e=t?.target?.closest("calcite-tree-item");e&&(e.expanded=!e.expanded)}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],value:["valueWatchHandler"]}}};u.style=":host{display:block}.container-border{overflow-y:hidden}.org-var-header{margin-top:1rem;margin-bottom:1rem;margin-left:0px;margin-right:0px}.icon-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}";export{d as json_editor,r as solution_item_details,h as solution_item_sharing,b as solution_organization_variables,p as solution_resource_item,f as solution_template_data,u as solution_variables}
|
@@ -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 a,g as e,h as i,H as t}from"./p-8c40bdec.js";import{c as l}from"./p-747d4b59.js";const s=class{constructor(e){a(this,e)}get el(){return e(this)}showAddDeduct=!1;_deductValuesElement;render(){const a=this.showAddDeduct?"position-relative":"display-none";return i(t,{key:"9ebd821665a19fc6708e09b2e44260214990dcdd"},i("div",{key:"02f0a5c314fe16375507a74703aea0f9e2328eae",class:this.showAddDeduct?"display-none":"display-grid"},i("div",{key:"051c8b68051cb9f2942d7314c9362551f9da5fc5",class:"label-display"},i("calcite-label",{key:"d4cc480632b676835357bb6b6bc49faa64d88a67",class:"label-display"},"Enter comma delimited deduct values",this._getDeductValuesInput())),i("div",{key:"d31ae7e152dc81a64f23fa3afe417cc2819dda18"},this._getCalculateButton())),i("div",{key:"e1b9defe18ae895870bae941833d58680cad6f32",class:a},i("div",{key:"832a4e9cf3f6b216bb5c8141fac98262c1b7fac2",class:"position-right"},i("calcite-action",{key:"892c1c30895c1e6d076a1a38d7f1c3f5db3ab5ca",appearance:"transparent",class:"float-end",icon:"x",onClick:()=>this._toggleShowAddDeduct(),scale:"s",text:""})),i("deduct-calculator",{key:"f2690de17acd803348f25743a3b9f1db482afd0a",class:"display-grid padding-top-1",onDeductValueComplete:a=>this._addDeductValue(a)})))}_getDeductValuesInput(){return i("div",{class:"display-flex"},i("calcite-input",{class:"main-input",ref:a=>{this._deductValuesElement=a}}),i("calcite-action",{appearance:"transparent",icon:"plus-circle",onClick:()=>this._toggleShowAddDeduct(),scale:"s",text:""}))}_getCalculateButton(){return i("calcite-button",{onClick:()=>this._calculatePCI(this._deductValuesElement.value)},"Calculate PCI")}_toggleShowAddDeduct(){this.showAddDeduct=!this.showAddDeduct}_addDeductValue(a){this._toggleShowAddDeduct(),this._deductValuesElement.value+=Math.abs(parseFloat(this._deductValuesElement.value))>0?`,${a.detail}`:a.detail}_calculatePCI(a){const e=l(a,!0),i=e<=10?"Failed":e<=25?"Serious":e<=40?"Very Poor":e<=55?"Poor":e<=70?"Fair":e<=85?"Satisfactory":"Good";console.log(`PCI: ${e}`),console.log(`Rating: ${i}`),alert("See debug console for results")}};s.style=":host{display:block;--calcite-label-margin-bottom:0}.label-display{display:block;padding-bottom:1rem}.display-flex{display:flex}.display-grid{display:grid}.display-table{display:table}.display-inline-table{display:inline-table}.display-none{display:none}.display-inherit{display:inherit}.padding-top-1{padding-top:1rem}.main-input{width:300px;padding-inline-end:1rem}.float-end{float:inline-end}.position-relative{position:relative}.position-right{position:absolute;right:0px}";export{s as pci_calculator}
|
@@ -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,h as o,H as e,g as a}from"./p-8c40bdec.js";import{g as l}from"./p-ea19f91b.js";import"./p-08ad0b7a.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-ac122d9e.js";const n=class{constructor(o){t(this,o),this.measureActive=i(this,"measureActive",7),this.messages=void 0,this.view=void 0,this.areaUnit=void 0,this.linearUnit=void 0,this.coordinateFormat=void 0,this.activeToolType=void 0,this.closable=!1}async componentWillLoad(){l(this)}componentDidLoad(){}render(){var t;return o(e,{key:"843dd716e3f9b125044afd9a2919a60b937ae8b0"},o("calcite-panel",{key:"45dd9e43decdcdc0526139938751d727bd73b3e0",heading:null===(t=null==this?void 0:this.messages)||void 0===t?void 0:t.label,closable:this.closable},o("div",{key:"953365a04fd1f977b08d4b9309fdb52d44363b67",slot:"content-top"},this.renderActionPad()),o("div",{key:"57ce5b75a8aff0d796073bbf2a2f36ea71f65b3c"},this.renderMeasureToolPanel())))}renderMeasureToolPanel(){const{view:t,coordinateFormat:i,areaUnit:e,linearUnit:a,activeToolType:l}=this;return o("calcite-panel",{class:"instant-apps-measurement__content"},o("instant-apps-measurement-tool",{ref:t=>{this.measureTool=t},view:t,measureConfiguration:{coordinateFormat:i,areaUnit:e,linearUnit:a,activeToolType:l}}))}renderActionPad(){const{messages:t,activeToolType:i}=this;return o("calcite-action-pad",{"expand-disabled":!0,layout:"horizontal",position:"end"},o("calcite-action",{class:"distance"===i?"active-tool":"",text:null==t?void 0:t.line,icon:"measure",scale:"m","data-value":"distance",onClick:this._handleToolClick.bind(this)},o("calcite-tooltip",{overlayPositioning:"fixed","close-on-click":!0,placement:"top",slot:"tooltip"},null==t?void 0:t.line)),o("calcite-action",{class:"area"===i?"active-tool":"",text:null==t?void 0:t.area,scale:"m",icon:"measure-area","data-value":"area",onClick:this._handleToolClick.bind(this)},o("calcite-tooltip",{overlayPositioning:"fixed","close-on-click":!0,placement:"top",slot:"tooltip"},null==t?void 0:t.area)),o("calcite-action",{class:"point"===i?"active-tool":"",text:null==t?void 0:t.point,scale:"m",icon:"pin-plus","data-value":"point",onClick:this._handleToolClick.bind(this)},o("calcite-tooltip",{overlayPositioning:"fixed","close-on-click":!0,placement:"top",slot:"tooltip"},null==t?void 0:t.point)),o("calcite-action",{text:null==t?void 0:t.clear,scale:"m",icon:"trash","data-value":"clear",onClick:this._handleToolClick.bind(this)},o("calcite-tooltip",{overlayPositioning:"fixed","close-on-click":!0,placement:"top",slot:"tooltip"},null==t?void 0:t.clear)))}_handleToolClick(t){var i,o,e,a;if(!(null==this?void 0:this.measureTool))return;const l=null===(i=null==t?void 0:t.target)||void 0===i?void 0:i.dataset.value;this.measureTool.activeTool=l;const n=document.getElementsByClassName("active-tool");for(let t=0;t<(null==n?void 0:n.length);t++)null===(e=null===(o=n[t])||void 0===o?void 0:o.classList)||void 0===e||e.remove("active-tool");null===(a=null==t?void 0:t.target)||void 0===a||a.classList.add("active-tool"),this.measureActive.emit(void 0!==l&&"clear"!==l)}get el(){return a(this)}};n.style=".sc-instant-apps-measurement-h .sc-instant-apps-measurement.sc-instant-apps-measurement{background:var(--calcite-color-foreground-1)}.sc-instant-apps-measurement-h .active-tool.sc-instant-apps-measurement{--calcite-color-foreground-1:#c7eaff}";export{n as instant_apps_measurement}
|
@@ -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{l}from"./p-08ad0b7a.js";async function n(n,t,e){const[o]=await l(["esri/layers/effects/jsonUtils"]),{toJSON:s,fromJSON:i}=o,c=null==t?void 0:t.layer;if(!n)return(null==c?void 0:c.effect)?c.effect:(null==c?void 0:c.featureEffect)?"includedEffect"===e?c.featureEffect.includedEffect:c.featureEffect.excludedEffect:null;const f=s(n);let r;r=c.featureEffect?"includedEffect"===e?c.featureEffect.includedEffect:c.featureEffect.excludedEffect:c.effect;const u=r?s(r):null;if(!u)return i(f);let a=[...u];return f&&f.forEach((l=>{a.forEach((n=>{const{value:t}=n;if(t)t.forEach(((e,o)=>{e.type===l.type?t[o]=l:!n.value.find((l=>l.type===f[0].type))&&(n.value=[...n.value,...f])}));else{const t=!a.find((l=>l.type===n.type));!a.find((n=>n.type===l.type))&&(a=[...a,l]),t&&(a=[...a,n])}}))})),i(a)}export{n as g}
|
@@ -0,0 +1,7 @@
|
|
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
|
+
var t=Object.defineProperty,e=(t,e)=>{var n;Object.entries(null!=(n=e.o.t)?n:{}).map((([n,[o]])=>{if(31&o||32&o){const o=t[n],l=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(t),n);Object.defineProperty(t,n,{get(){return l.get.call(this)},set(t){l.set.call(this,t)},configurable:!0,enumerable:!0}),t[n]=e.l.has(n)?e.l.get(n):o}}))},n=new WeakMap,o=t=>n.get(t),l=(t,o)=>{n.set(o.i=t,o),e(t,o)},s=(t,e)=>e in t,i=(t,e)=>(0,console.error)(t,e),r=new Map,c=new Map,u="slot-fb{display:contents}slot-fb[hidden]{display:none}",f="undefined"!=typeof window?window:{},a=f.document||{head:{}},d={u:0,h:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,o)=>t.addEventListener(e,n,o),rel:(t,e,n,o)=>t.removeEventListener(e,n,o),ce:(t,e)=>new CustomEvent(t,e)},h=t=>Promise.resolve(t),v=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(t){}return!1})(),p=!1,m=[],y=[],b=(t,e)=>n=>{t.push(n),p||(p=!0,e&&4&d.u?g(w):d.raf(w))},$=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){i(t)}t.length=0},w=()=>{$(m),$(y),(p=m.length>0)&&d.raf(w)},g=t=>h().then(t),S=b(y,!0),j=t=>{const e=new URL(t,d.h);return e.origin!==f.location.origin?e.href:e.pathname},O=t=>"object"==(t=typeof t)||"function"===t;function k(t){var e,n,o;return null!=(o=null==(n=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}((e,n)=>{for(var o in n)t(e,o,{get:n[o],enumerable:!0})})({},{err:()=>C,map:()=>M,ok:()=>E,unwrap:()=>R,unwrapErr:()=>x});var E=t=>({isOk:!0,isErr:!1,value:t}),C=t=>({isOk:!1,isErr:!0,value:t});function M(t,e){if(t.isOk){const n=e(t.value);return n instanceof Promise?n.then((t=>E(t))):E(n)}if(t.isErr)return C(t.value);throw"should never get here"}var R=t=>{if(t.isOk)return t.value;throw t.value},x=t=>{if(t.isErr)return t.value;throw t.value},T=t=>{const e=t.__childNodes||t.childNodes;t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&L(e,t.tagName).forEach((t=>{var e;1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!(null==(e=D(t,t["s-sn"],!1))?void 0:e.length))}));for(const t of e)1===t.nodeType&&(t.__childNodes||t.childNodes).length&&T(t)};function L(t,e,n){let o,l=0,s=[];for(;l<t.length;l++){if(o=t[l],o["s-sr"]&&o["s-hn"]===e&&(void 0===n||o["s-sn"]===n)&&(s.push(o),void 0!==n))return s;s=[...s,...L(o.childNodes,e,n)]}return s}var P,F,A,D=(t,e,n=!0)=>{const o=[];for((n&&t["s-sr"]||!t["s-sr"])&&o.push(t);(t=t.nextSibling)&&t["s-sn"]===e;)o.push(t);return o},U=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,H=(t,e,...n)=>{let o=null,l=null,s=null,i=!1,r=!1;const c=[],u=e=>{for(let n=0;n<e.length;n++)o=e[n],Array.isArray(o)?u(o):null!=o&&"boolean"!=typeof o&&((i="function"!=typeof t&&!O(o))&&(o+=""),i&&r?c[c.length-1].v+=o:c.push(i?N(null,o):o),r=i)};if(u(n),e){e.key&&(l=e.key),e.name&&(s=e.name);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}if("function"==typeof t)return t(null===e?{}:e,c,B);const f=N(t,null);return f.p=e,c.length>0&&(f.m=c),f.$=l,f.S=s,f},N=(t,e)=>({u:0,j:t,v:e,O:null,m:null,p:null,$:null,S:null}),W={},B={forEach:(t,e)=>t.map(V).forEach(e),map:(t,e)=>t.map(V).map(e).map(q)},V=t=>({vattrs:t.p,vchildren:t.m,vkey:t.$,vname:t.S,vtag:t.j,vtext:t.v}),q=t=>{if("function"==typeof t.vtag){const e={...t.vattrs};return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),H(t.vtag,e,...t.vchildren||[])}const e=N(t.vtag,t.vtext);return e.p=t.vattrs,e.m=t.vchildren,e.$=t.vkey,e.S=t.vname,e},G=(t,e)=>null==t||O(t)?t:4&e?"false"!==t&&(""===t||!!t):2&e?parseFloat(t):1&e?t+"":t,_=t=>o(t).$hostElement$,z=(t,e,n)=>{const o=_(t);return{emit:t=>I(o,e,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:t})}},I=(t,e,n)=>{const o=d.ce(e,n);return t.dispatchEvent(o),o},J=new WeakMap,K=t=>"sc-"+t.k,Q=(t,e,n,o,l,i)=>{if(n!==o){let r=s(t,e),c=e.toLowerCase();if("class"===e){const e=t.classList,l=Y(n);let s=Y(o);t["s-si"]?(s.push(t["s-si"]),l.forEach((e=>{e.startsWith(t["s-si"])&&s.push(e)})),s=[...new Set(s)],e.add(...s),delete t["s-si"]):(e.remove(...l.filter((t=>t&&!s.includes(t)))),e.add(...s.filter((t=>t&&!l.includes(t)))))}else if("style"===e){for(const e in n)o&&null!=o[e]||(e.includes("-")?t.style.removeProperty(e):t.style[e]="");for(const e in o)n&&o[e]===n[e]||(e.includes("-")?t.style.setProperty(e,o[e]):t.style[e]=o[e])}else if("key"===e);else if("ref"===e)o&&o(t);else if(r||"o"!==e[0]||"n"!==e[1]){const s=O(o);if((r||s&&null!==o)&&!l)try{if(t.tagName.includes("-"))t[e]!==o&&(t[e]=o);else{const l=null==o?"":o;"list"===e?r=!1:null!=n&&t[e]==l||("function"==typeof t.__lookupSetter__(e)?t[e]=l:t.setAttribute(e,l))}}catch(t){}null==o||!1===o?!1===o&&""!==t.getAttribute(e)||t.removeAttribute(e):(!r||4&i||l)&&!s&&t.setAttribute(e,o=!0===o?"":o)}else if(e="-"===e[2]?e.slice(3):s(f,c)?c.slice(2):c[2]+e.slice(3),n||o){const l=e.endsWith(Z);e=e.replace(tt,""),n&&d.rel(t,e,n,l),o&&d.ael(t,e,o,l)}}},X=/\s/,Y=t=>("object"==typeof t&&"baseVal"in t&&(t=t.baseVal),t?t.split(X):[]),Z="Capture",tt=RegExp(Z+"$"),et=(t,e,n)=>{const o=11===e.O.nodeType&&e.O.host?e.O.host:e.O,l=t&&t.p||{},s=e.p||{};for(const t of nt(Object.keys(l)))t in s||Q(o,t,l[t],void 0,n,e.u);for(const t of nt(Object.keys(s)))Q(o,t,l[t],s[t],n,e.u)};function nt(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var ot=!1,lt=!1,st=!1,it=!1,rt=(t,e,n)=>{var o;const l=e.m[n];let s,i,r,c=0;if(ot||(st=!0,"slot"===l.j&&(l.u|=l.m?2:1)),null!==l.v)s=l.O=a.createTextNode(l.v);else if(1&l.u)s=l.O=a.createTextNode("");else{if(it||(it="svg"===l.j),s=l.O=a.createElementNS(it?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!ot&&2&l.u?"slot-fb":l.j),it&&"foreignObject"===l.j&&(it=!1),et(null,l,it),null!=P&&void 0!==P&&s["s-si"]!==P&&s.classList.add(s["s-si"]=P),l.m)for(c=0;c<l.m.length;++c)i=rt(t,l,c),i&&s.appendChild(i);"svg"===l.j?it=!1:"foreignObject"===s.tagName&&(it=!0)}return s["s-hn"]=A,3&l.u&&(s["s-sr"]=!0,s["s-cr"]=F,s["s-sn"]=l.S||"",s["s-rf"]=null==(o=l.p)?void 0:o.ref,r=t&&t.m&&t.m[n],r&&r.j===l.j&&t.O&&ct(t.O,!1),bt(F,s,e.O,null==t?void 0:t.O)),s},ct=(t,e)=>{d.u|=1;const n=Array.from(t.__childNodes||t.childNodes);for(let t=n.length-1;t>=0;t--){const o=n[t];o["s-hn"]!==A&&o["s-ol"]&&(yt(dt(o).parentNode,o,dt(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,st=!0),e&&ct(o,e)}d.u&=-2},ut=(t,e,n,o,l,s)=>{let i,r=t["s-cr"]&&t["s-cr"].parentNode||t;for(r.shadowRoot&&r.tagName===A&&(r=r.shadowRoot);l<=s;++l)o[l]&&(i=rt(null,n,l),i&&(o[l].O=i,yt(r,i,dt(e))))},ft=(t,e,n)=>{for(let o=e;o<=n;++o){const e=t[o];if(e){const t=e.O;mt(e),t&&(lt=!0,t["s-ol"]?t["s-ol"].remove():ct(t,!0),t.remove())}}},at=(t,e,n=!1)=>t.j===e.j&&("slot"===t.j?t.S===e.S:n?(n&&!t.$&&e.$&&(t.$=e.$),!0):t.$===e.$),dt=t=>t&&t["s-ol"]||t,ht=(t,e,n=!1)=>{const o=e.O=t.O,l=t.m,s=e.m,i=e.j,r=e.v;let c;null===r?(it="svg"===i||"foreignObject"!==i&&it,("slot"!==i||ot)&&et(t,e,it),null!==l&&null!==s?((t,e,n,o,l=!1)=>{let s,i,r=0,c=0,u=0,f=0,a=e.length-1,d=e[0],h=e[a],v=o.length-1,p=o[0],m=o[v];for(;r<=a&&c<=v;)if(null==d)d=e[++r];else if(null==h)h=e[--a];else if(null==p)p=o[++c];else if(null==m)m=o[--v];else if(at(d,p,l))ht(d,p,l),d=e[++r],p=o[++c];else if(at(h,m,l))ht(h,m,l),h=e[--a],m=o[--v];else if(at(d,m,l))"slot"!==d.j&&"slot"!==m.j||ct(d.O.parentNode,!1),ht(d,m,l),yt(t,d.O,h.O.nextSibling),d=e[++r],m=o[--v];else if(at(h,p,l))"slot"!==d.j&&"slot"!==m.j||ct(h.O.parentNode,!1),ht(h,p,l),yt(t,h.O,d.O),h=e[--a],p=o[++c];else{for(u=-1,f=r;f<=a;++f)if(e[f]&&null!==e[f].$&&e[f].$===p.$){u=f;break}u>=0?(i=e[u],i.j!==p.j?s=rt(e&&e[c],n,u):(ht(i,p,l),e[u]=void 0,s=i.O),p=o[++c]):(s=rt(e&&e[c],n,c),p=o[++c]),s&&yt(dt(d.O).parentNode,s,dt(d.O))}r>a?ut(t,null==o[v+1]?null:o[v+1].O,n,o,c,v):c>v&&ft(e,r,a)})(o,l,e,s,n):null!==s?(null!==t.v&&(o.textContent=""),ut(o,null,e,s,0,s.length-1)):!n&&null!==l&&ft(l,0,l.length-1),it&&"svg"===i&&(it=!1)):(c=o["s-cr"])?c.parentNode.textContent=r:t.v!==r&&(o.data=r)},vt=[],pt=t=>{let e,n,o;const l=t.__childNodes||t.childNodes;for(const t of l){if(t["s-sr"]&&(e=t["s-cr"])&&e.parentNode){n=e.parentNode.__childNodes||e.parentNode.childNodes;const l=t["s-sn"];for(o=n.length-1;o>=0;o--)if(e=n[o],!e["s-cn"]&&!e["s-nr"]&&e["s-hn"]!==t["s-hn"])if(U(e,l)){let n=vt.find((t=>t.C===e));lt=!0,e["s-sn"]=e["s-sn"]||l,n?(n.C["s-sh"]=t["s-hn"],n.M=t):(e["s-sh"]=t["s-hn"],vt.push({M:t,C:e})),e["s-sr"]&&vt.map((t=>{U(t.C,e["s-sn"])&&(n=vt.find((t=>t.C===e)),n&&!t.M&&(t.M=n.M))}))}else vt.some((t=>t.C===e))||vt.push({C:e})}1===t.nodeType&&pt(t)}},mt=t=>{t.p&&t.p.ref&&t.p.ref(null),t.m&&t.m.map(mt)},yt=(t,e,n)=>("string"==typeof e["s-sn"]&&e["s-sr"]&&e["s-cr"]&&bt(e["s-cr"],e,t,e.parentElement),null==t?void 0:t.insertBefore(e,n));function bt(t,e,n,o){var l;let s;if(t&&"string"==typeof e["s-sn"]&&e["s-sr"]&&t.parentNode&&t.parentNode["s-sc"]&&(s=e["s-si"]||t.parentNode["s-sc"])){const t=e["s-sn"],i=e["s-hn"];if(null==(l=n.classList)||l.add(s+"-s"),o&&o.classList.contains(s+"-s")){let e=(o.__childNodes||o.childNodes)[0],n=!1;for(;e;){if(e["s-sn"]!==t&&e["s-hn"]===i&&e["s-sr"]){n=!0;break}e=e.nextSibling}n||o.classList.remove(s+"-s")}}}var $t=(t,e)=>{if(e&&!t.R&&e["s-p"]){const n=e["s-p"].push(new Promise((o=>t.R=()=>{e["s-p"].splice(n-1,1),o()})))}},wt=(t,e)=>{if(t.u|=16,!(4&t.u))return $t(t,t.T),S((()=>gt(t,e)));t.u|=512},gt=(t,e)=>{const n=t.$hostElement$,o=t.i;if(!o)throw Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return e?(t.u|=256,t.L&&(t.L.map((([t,e])=>Tt(o,t,e,n))),t.L=void 0),l=Tt(o,"componentWillLoad",void 0,n)):l=Tt(o,"componentWillUpdate",void 0,n),l=St(l,(()=>Tt(o,"componentWillRender",void 0,n))),St(l,(()=>Ot(t,o,e)))},St=(t,e)=>jt(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),jt=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,Ot=async(t,e,n)=>{var o;const l=t.$hostElement$,s=l["s-rc"];n&&(t=>{const e=t.o,n=t.$hostElement$,o=e.u,l=((t,e)=>{var n;const o=K(e),l=c.get(o);if(t=11===t.nodeType?t:a,l)if("string"==typeof l){let s,i=J.get(t=t.head||t);if(i||J.set(t,i=new Set),!i.has(o)){{s=document.querySelector(`[sty-id="${o}"]`)||a.createElement("style"),s.innerHTML=l;const i=null!=(n=d.P)?n:k(a);if(null!=i&&s.setAttribute("nonce",i),!(1&e.u))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),n=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(s,n)}else if("host"in t)if(v){const e=new CSSStyleSheet;e.replaceSync(l),t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.innerHTML=l+e.innerHTML:t.prepend(s)}else t.append(s);1&e.u&&"HEAD"!==t.nodeName&&t.insertBefore(s,null)}4&e.u&&(s.innerHTML+=u),i&&i.add(o)}}else t.adoptedStyleSheets.includes(l)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,l]);return o})(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);10&o&&2&o&&(n["s-sc"]=l,n.classList.add(l+"-h"))})(t);Et(t,e,l,n),s&&(s.map((t=>t())),l["s-rc"]=void 0);{const e=null!=(o=l["s-p"])?o:[],n=()=>Mt(t);0===e.length?n():(Promise.all(e).then(n),t.u|=4,e.length=0)}},kt=null,Et=(t,e,n,o)=>{try{kt=e,e=e.render(),t.u&=-17,t.u|=2,((t,e,n=!1)=>{var o,l,s,i;const r=t.$hostElement$,c=t.o,u=t.F||N(null,null),f=(t=>t&&t.j===W)(e)?e:H(null,null,e);if(A=r.tagName,c.A&&(f.p=f.p||{},c.A.map((([t,e])=>f.p[e]=r[t]))),n&&f.p)for(const t of Object.keys(f.p))r.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(f.p[t]=r[t]);if(f.j=null,f.u|=4,t.F=f,f.O=u.O=r.shadowRoot||r,P=r["s-sc"],ot=!!(1&c.u),F=r["s-cr"],lt=!1,ht(u,f,n),d.u|=1,st){pt(f.O);for(const t of vt){const e=t.C;if(!e["s-ol"]){const t=a.createTextNode("");t["s-nr"]=e,yt(e.parentNode,e["s-ol"]=t,e)}}for(const t of vt){const e=t.C,r=t.M;if(r){const t=r.parentNode;let n=r.nextSibling;{let s=null==(o=e["s-ol"])?void 0:o.previousSibling;for(;s;){let o=null!=(l=s["s-nr"])?l:null;if(o&&o["s-sn"]===e["s-sn"]&&t===(o.__parentNode||o.parentNode)){for(o=o.nextSibling;o===e||(null==o?void 0:o["s-sr"]);)o=null==o?void 0:o.nextSibling;if(!o||!o["s-nr"]){n=o;break}}s=s.previousSibling}}(!n&&t!==(e.__parentNode||e.parentNode)||(e.__nextSibling||e.nextSibling)!==n)&&e!==n&&(!e["s-hn"]&&e["s-ol"]&&(e["s-hn"]=e["s-ol"].parentNode.nodeName),yt(t,e,n),1===e.nodeType&&"SLOT-FB"!==e.tagName&&(e.hidden=null!=(s=e["s-ih"])&&s)),e&&"function"==typeof r["s-rf"]&&r["s-rf"](e)}else 1===e.nodeType&&(n&&(e["s-ih"]=null!=(i=e.hidden)&&i),e.hidden=!0)}}lt&&T(f.O),d.u&=-2,vt.length=0,F=void 0})(t,e,o)}catch(e){i(e,t.$hostElement$)}return kt=null,null},Ct=()=>kt,Mt=t=>{const e=t.$hostElement$,n=t.i,o=t.T;Tt(n,"componentDidRender",void 0,e),64&t.u?Tt(n,"componentDidUpdate",void 0,e):(t.u|=64,Lt(e),Tt(n,"componentDidLoad",void 0,e),t.D(e),o||xt()),t.U(e),t.R&&(t.R(),t.R=void 0),512&t.u&&g((()=>wt(t,!1))),t.u&=-517},Rt=t=>{{const e=o(t),n=e.$hostElement$.isConnected;return n&&2==(18&e.u)&&wt(e,!1),n}},xt=()=>{Lt(a.documentElement),g((()=>I(f,"appload",{detail:{namespace:"solutions-components"}})))},Tt=(t,e,n,o)=>{if(t&&t[e])try{return t[e](n)}catch(t){i(t,o)}},Lt=t=>t.classList.add("hydrated"),Pt=(t,e,n,l)=>{const s=o(t);if(!s)throw Error(`Couldn't find host element for "${l.k}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const r=s.$hostElement$,c=s.l.get(e),u=s.u,f=s.i;if(n=G(n,l.t[e][0]),(!(8&u)||void 0===c)&&n!==c&&(!Number.isNaN(c)||!Number.isNaN(n))&&(s.l.set(e,n),f)){if(l.H&&128&u){const t=l.H[e];t&&t.map((t=>{try{f[t](n,c,e)}catch(t){i(t,r)}}))}2==(18&u)&&wt(s,!1)}},Ft=(t,e,n)=>{var l,s;const i=t.prototype;if(e.t||e.H||t.watchers){t.watchers&&!e.H&&(e.H=t.watchers);const r=Object.entries(null!=(l=e.t)?l:{});if(r.map((([t,[l]])=>{if(31&l||2&n&&32&l){const{get:s,set:r}=Object.getOwnPropertyDescriptor(i,t)||{};s&&(e.t[t][0]|=2048),r&&(e.t[t][0]|=4096),(1&n||!s)&&Object.defineProperty(i,t,{get(){{if(!(2048&e.t[t][0]))return((t,e)=>o(this).l.get(e))(0,t);const n=o(this),l=n?n.i:i;if(!l)return;return l[t]}},configurable:!0,enumerable:!0}),Object.defineProperty(i,t,{set(s){const i=o(this);if(r){const n=32&l?this[t]:i.$hostElement$[t];return void 0===n&&i.l.get(t)?s=i.l.get(t):!i.l.get(t)&&n&&i.l.set(t,n),r.call(this,G(s,l)),void Pt(this,t,s=32&l?this[t]:i.$hostElement$[t],e)}{if(!(1&n&&4096&e.t[t][0]))return Pt(this,t,s,e),void(1&n&&!i.i&&i.N.then((()=>{4096&e.t[t][0]&&i.i[t]!==i.l.get(t)&&(i.i[t]=s)})));const o=()=>{const n=i.i[t];!i.l.get(t)&&n&&i.l.set(t,n),i.i[t]=G(s,l),Pt(this,t,i.i[t],e)};i.i?o():i.N.then((()=>o()))}}})}else 1&n&&64&l&&Object.defineProperty(i,t,{value(...e){var n;const l=o(this);return null==(n=null==l?void 0:l.W)?void 0:n.then((()=>{var n;return null==(n=l.i)?void 0:n[t](...e)}))}})})),1&n){const n=new Map;i.attributeChangedCallback=function(t,l,s){d.jmp((()=>{var r;const c=n.get(t);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(i.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const n=o(this),i=null==n?void 0:n.u;if(i&&!(8&i)&&128&i&&s!==l){const o=n.i,i=null==(r=e.H)?void 0:r[t];null==i||i.forEach((e=>{null!=o[e]&&o[e].call(o,s,l,t)}))}return}}const u=Object.getOwnPropertyDescriptor(i,c);(s=(null!==s||"boolean"!=typeof this[c])&&s)===this[c]||u.get&&!u.set||(this[c]=s)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=e.H)?s:{}),...r.filter((([t,e])=>15&e[0])).map((([t,o])=>{var l;const s=o[1]||t;return n.set(s,t),512&o[0]&&(null==(l=e.A)||l.push([t,s])),s}))]))}}return t},At=(t,e)=>{Tt(t,"connectedCallback",void 0,e)},Dt=(t,e)=>{Tt(t,"disconnectedCallback",void 0,e||t)},Ut=(t,e={})=>{var l;const s=[],h=e.exclude||[],p=f.customElements,m=a.head,y=m.querySelector("meta[charset]"),b=a.createElement("style"),$=[];let w,g=!0;Object.assign(d,e),d.h=new URL(e.resourcesUrl||"./",a.baseURI).href;let S=!1;if(t.map((t=>{t[1].map((e=>{var l;const u={u:e[0],k:e[1],t:e[2],B:e[3]};4&u.u&&(S=!0),u.t=e[2],u.B=e[3],u.A=[],u.H=null!=(l=e[4])?l:{};const f=u.k,m=class extends HTMLElement{constructor(t){if(super(t),this.hasRegisteredEventListeners=!1,((t,e)=>{const o={u:0,$hostElement$:t,o:e,l:new Map};o.W=new Promise((t=>o.U=t)),o.N=new Promise((t=>o.D=t)),t["s-p"]=[],t["s-rc"]=[],n.set(t,o)})(t=this,u),1&u.u)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${u.k}! Mode is set to ${t.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else t.attachShadow({mode:"open"})}connectedCallback(){const t=o(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Nt(this,t,u.B)),w&&(clearTimeout(w),w=null),g?$.push(this):d.jmp((()=>(t=>{if(!(1&d.u)){const e=o(t),n=e.o,l=()=>{};if(1&e.u)Nt(t,e,n.B),(null==e?void 0:e.i)?At(e.i,t):(null==e?void 0:e.N)&&e.N.then((()=>At(e.i,t)));else{e.u|=1,12&n.u&&(t=>{const e=t["s-cr"]=a.createComment("");e["s-cn"]=!0,yt(t,e,t.firstChild)})(t);{let n=t;for(;n=n.parentNode||n.host;)if(n["s-p"]){$t(e,e.T=n);break}}n.t&&Object.entries(n.t).map((([e,[n]])=>{if(31&n&&t.hasOwnProperty(e)){const n=t[e];delete t[e],t[e]=n}})),(async(t,e,n)=>{let o;if(!(32&e.u)){e.u|=32;{const l=((t,e)=>{const n=t.k.replace(/-/g,"_"),o=t.V;if(!o)return;const l=r.get(o);return l?l[n]:import(`./${o}.entry.js`).then((t=>(r.set(o,t),t[n])),(t=>{i(t,e.$hostElement$)}))
|
7
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n,e);if(l&&"then"in l){const t=()=>{};o=await l,t()}else o=l;if(!o)throw Error(`Constructor for "${n.k}#${e.q}" was not found`);o.isProxied||(n.H=o.watchers,Ft(o,n,2),o.isProxied=!0);const s=()=>{};e.u|=8;try{new o(e)}catch(e){i(e,t)}e.u&=-9,e.u|=128,s(),At(e.i,t)}if(o&&o.style){let t;"string"==typeof o.style&&(t=o.style);const e=K(n);if(!c.has(e)){const o=()=>{};((t,e,n)=>{let o=c.get(t);v&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=e:o.replaceSync(e)):o=e,c.set(t,o)})(e,t,!!(1&n.u)),o()}}}const l=e.T,s=()=>wt(e,!0);l&&l["s-rc"]?l["s-rc"].push(s):s()})(t,e,n)}l()}})(this)))}disconnectedCallback(){d.jmp((()=>(async t=>{if(!(1&d.u)){const e=o(t);e.G&&(e.G.map((t=>t())),e.G=void 0),(null==e?void 0:e.i)?Dt(e.i,t):(null==e?void 0:e.N)&&e.N.then((()=>Dt(e.i,t)))}J.has(t)&&J.delete(t),t.shadowRoot&&J.has(t.shadowRoot)&&J.delete(t.shadowRoot)})(this))),d.raf((()=>{var t;const e=o(this);(null==(t=null==e?void 0:e.F)?void 0:t.O)instanceof Node&&!e.F.O.isConnected&&delete e.F.O}))}componentOnReady(){return o(this).N}};u.V=t[0],h.includes(f)||p.get(f)||(s.push(f),p.define(f,Ft(m,u,1)))}))})),s.length>0&&(S&&(b.textContent+=u),b.textContent+=s.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",b.innerHTML.length)){b.setAttribute("data-styles","");const t=null!=(l=d.P)?l:k(a);null!=t&&b.setAttribute("nonce",t),m.insertBefore(b,y?y.nextSibling:m.firstChild)}g=!1,$.length?$.map((t=>t.connectedCallback())):d.jmp((()=>w=setTimeout(xt,30)))},Ht=(t,e)=>e,Nt=(t,e,n)=>{n&&n.map((([n,o,l])=>{const s=Bt(t,n),i=Wt(e,l),r=Vt(n);d.ael(s,o,i,r),(e.G=e.G||[]).push((()=>d.rel(s,o,i,r)))}))},Wt=(t,e)=>n=>{var o;try{256&t.u?null==(o=t.i)||o[e](n):(t.L=t.L||[]).push([e,n])}catch(e){i(e,t.$hostElement$)}},Bt=(t,e)=>8&e?f:t,Vt=t=>({passive:!!(1&t),capture:!!(2&t)}),qt=t=>d.P=t;export{Ht as F,W as H,j as a,Ut as b,z as c,Ct as d,Rt as f,_ as g,H as h,h as p,l as r,qt as s}
|
@@ -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-8c40bdec.js";import{l as h,g as c,f as n}from"./p-075979ef.js";import{b as o,d as l,a as r,c as d}from"./p-d572627c.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";const p=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)}get el(){return s(this)}locale;mapView;table;selectedFeature;customizeSubmit=!1;showGuidingMsg=!0;_editorLoading=!1;_translations;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:{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"]}}};p.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 b=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)}get el(){return s(this)}mapView;graphics;reportingOptions;layerItemsHash;locale;showUserImageInCommentsList=!1;_likeFieldAvailable=!1;_likeCount=0;_disLikeCount=0;_dislikeFieldAvailable=!1;_commentsAvailable=!1;_isLikeBtnClicked=!1;_isDislikeBtnClicked=!1;_relatedFeaturesOIDs;_updating=!1;_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:"be7bebe9da698d963a2602fcacb95ac7206ac1e9","full-height":!0},e("info-card",{key:"1e069f52d59d42f3e2b88463ea7c536c65a0a6b5",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:"d53f5a1726e4c6299ffd04e266d84005181645f6",class:"buttons-container"},this._commentsAvailable&&e("calcite-button",{key:"4c2616cc9e0107258f5313b66ae96fa31fe582c5",appearance:"transparent",iconEnd:"speech-bubble",kind:"neutral",onClick:()=>{this.addComment.emit()},scale:"m"},this._relatedFeaturesOIDs.length),this._likeFieldAvailable&&e("calcite-button",{key:"7c87aa085df04a8b58625097c2ce70e5853b82f9",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:"59eb48b91fc2a394cafdcbeeebf5baafae9a8c9b",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:"f34ee203202944666c40e14bdfdc59265414fbe1",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,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"]}}};b.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 y=class{constructor(s){t(this,s),this.layerSelect=i(this,"layerSelect",7),this.layersListLoaded=i(this,"layersListLoaded",7)}get el(){return s(this)}mapView;layers;locale;showFeatureCount=!0;showNextIcon=!1;applyLayerViewFilter=!1;_noLayersToDisplay=!1;_mapLayerIds=[];_isLoading=!1;_translations;_layerItemsHash;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async refresh(){await this.setLayers()}layerSelect;layersListLoaded;async componentWillLoad(){await this._getTranslations()}async componentDidLoad(){await this.setLayers()}render(){return e(a,{key:"a151c8fd65c50aacb23dcd0c858e52c0c7cd7e5e"},this._isLoading&&e("calcite-loader",{key:"544a134bccc29048ca80b996844cc944bcd97a24",label:"",scale:"m"}),!this._isLoading&&this.mapView&&this._noLayersToDisplay&&e("calcite-notice",{key:"7557f91c8c3349c120c043ea59458b4c834dce2e",class:"error-msg",icon:"layers-reference",kind:"danger",open:!0},e("div",{key:"ea8b20f8c7da5053641cfad56e3395ae3c6286f5",slot:"title"},this._translations.error),e("div",{key:"38aaed7b456aba0b1dd70183be03e9133834dfb4",slot:"message"},this._translations.noLayerToDisplayErrorMsg)),!this._isLoading&&this.mapView&&e("calcite-list",{key:"547b0681145fd8d8663b786472be9e5161cbd693",label:"","selection-appearance":"border","selection-mode":"none"},this.renderLayerList()))}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)}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:this.showNextIcon?"":"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"]}}};y.style=":host{display:block}.error-msg{padding:10px}.layer-name{font-weight:500;padding:10px 12px}.feature-count{padding-right:12px}";export{p as create_related_feature,b as feature_details,y 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 e,f as t,h as n,g as i,c as a}from"./p-8c40bdec.js";import{l as s}from"./p-08ad0b7a.js";import{s as c,g as r,i as l,q as p,r as o,t as d,n as v,w as g,x as h,l as m,v as u}from"./p-c223bd87.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-89fbc318.js";import"./p-fa639501.js";const f=class{constructor(t){e(this,t),this.showTotal=!1,this.legendvm=void 0,this.activeLayerInfo=void 0,this.categoryId=void 0,this.infoIndex=void 0,this.messages=void 0,this.selected=void 0,this.legendElement=void 0}async componentWillLoad(){new MutationObserver((()=>{t(this.el)})).observe(this.el,{attributes:!0});const[e]=await s(["esri/intl","esri/core/reactiveUtils","esri/core/Handles"]);this.intl=e}render(){var e;const t=c.get("compact")?"instant-apps-interactive-legend-count--compact":"";return n("div",{key:"int-legend-count",class:t},this.showTotal?n("span",{class:"instant-apps-interactive-legend__total-feature-count"},null===(e=this.messages)||void 0===e?void 0:e.totalFeatureCount,": ",this.getTotalFeatureCount()):n("span",{key:"element-info-count",class:` instant-apps-interactive-legend__info-count-text ${r(this.el)}${this.selected?" instant-apps-interactive-legend__info-count-text--selected":""}`},this.getCount()))}getCount(){var e,t;const{categoryId:n}=this,i=this.activeLayerInfo.layer.id,a=null===(t=null===(e=l.data[i])||void 0===e?void 0:e.categories)||void 0===t?void 0:t.size;if(!(l.data&&i&&n||a))return"";const s=l.data[i];if(!s)return;const{categories:c}=s,r=c.get(n);let p;return p=(null==r?void 0:r.nestedInfos)?h(r,this.infoIndex):r,isNaN(null==p?void 0:p.count)?"":this.intl.formatNumber(p.count)}getTotalFeatureCount(){const e=this.activeLayerInfo.layer.id;if(!l.data||!e)return"";const t=l.data[e];if(!t)return;const{categories:n}=t,i=p(n);let a;if(o(n))a=d(i);else if(v(this.activeLayerInfo)){const e=m(this.activeLayerInfo.layer);a=p(e.categories)[1].count}else a=g(i);return this.intl.formatNumber(a)}get el(){return i(this)}};f.style=".sc-instant-apps-interactive-legend-count-h{display:flex;align-items:center}.instant-apps-interactive-legend__total-feature-count.sc-instant-apps-interactive-legend-count{font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0)}.instant-apps-interactive-legend__info-count-text.sc-instant-apps-interactive-legend-count{font-size:var(--instant-apps-interactive-legend-info-font-size);color:var(--instant-apps-interactive-legend-secondary-color)}.calcite-mode-dark.instant-apps-interactive-legend__info-count-text.instant-apps-interactive-legend__info-count-text--selected.sc-instant-apps-interactive-legend-count{color:var(--calcite-color-text-inverse)}.instant-apps-interactive-legend-count--compact.sc-instant-apps-interactive-legend-count .instant-apps-interactive-legend__total-feature-count.sc-instant-apps-interactive-legend-count{font-size:0.75rem}html[dir=rtl] .sc-instant-apps-interactive-legend-count-h{margin-left:0;margin-right:auto}";const y=class{constructor(t){e(this,t),this.layerCaptionElementExpandUpdatedEvent=a(this,"layerCaptionElementExpandUpdated",7),this.legendvm=void 0,this.featureCount=void 0,this.activeLayerInfo=void 0,this.messages=void 0,this.isChild=!1,this.expanded=!0}render(){var e,t,i,a;const s=u(this.activeLayerInfo),{expanded:l}=this,p=l?null===(e=this.messages)||void 0===e?void 0:e.collapse:null===(t=this.messages)||void 0===t?void 0:t.expand,o=this.isChild?" instant-apps-interactive-legend__heading-text--group-item":"",d=c.get("compact")?" instant-apps-interactive-legend__header--compact":"";return n("header",{key:"6bc1b3736153ea626431070c6697498f70f89467",class:`instant-apps-interactive-legend__header ${r(this.el)}${d}`},n("calcite-action",{key:"ce171727aa6e4e755717260871d96ab7b48b9341",onClick:this.toggleExpanded(),icon:l?"chevron-down":"chevron-up",appearance:"transparent",text:p,label:p,scale:"s"}),n("span",{key:"5367ded56ab1ecafd48ac908d82bf90c9be256eb"},n("span",{key:"e7cf6987d2dd6ecd49685332f9357b14db571445",class:"instant-apps-interactive-legend__header-action-container"},n("h3",{key:"b6948f3130904beaadd30cf8234cfe8753bb69c2",class:`esri-widget__heading esri-legend__service-label${o}`,title:null===(i=this.activeLayerInfo)||void 0===i?void 0:i.title},null===(a=this.activeLayerInfo)||void 0===a?void 0:a.title)),this.featureCount&&s?n("instant-apps-interactive-legend-count",{activeLayerInfo:this.activeLayerInfo,"show-total":!0,messages:this.messages,legendvm:this.legendvm}):null))}toggleExpanded(){return()=>{this.expanded=!this.expanded,this.layerCaptionElementExpandUpdatedEvent.emit(this.expanded)}}get el(){return i(this)}};y.style=".sc-instant-apps-interactive-legend-layer-element-caption-h{display:block;--instant-apps-interactive-legend-heading-font-size:1rem;--instant-apps-interactive-legend-heading-font-weight:500;--instant-apps-interactive-legend-secondary-color:var(--calcite-color-text-1);--instant-apps-interactive-legend-ui-padding:15px 10px}.sc-instant-apps-interactive-legend-layer-element-caption-h .instant-apps-interactive-legend__header--compact.sc-instant-apps-interactive-legend-layer-element-caption .esri-widget__heading.sc-instant-apps-interactive-legend-layer-element-caption{font-size:0.9rem}.sc-instant-apps-interactive-legend-layer-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-layer-element-caption{overflow:hidden;margin:0;display:inline-block;font-size:var(--calcite-font-size-1);font-weight:var(--instant-apps-interactive-legend-heading-font-weight)}.sc-instant-apps-interactive-legend-layer-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-layer-element-caption header.sc-instant-apps-interactive-legend-layer-element-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption{display:flex;text-align:left;padding:var(--instant-apps-interactive-legend-ui-padding);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption h3.sc-instant-apps-interactive-legend-layer-element-caption{margin-bottom:0;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;line-height:normal;color:var(--instant-apps-interactive-legend-secondary-color);margin-bottom:5px}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption .instant-apps-interactive-legend__heading-text--group-item.sc-instant-apps-interactive-legend-layer-element-caption{-webkit-line-clamp:2;line-clamp:2}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption span.sc-instant-apps-interactive-legend-layer-element-caption{width:100%;font-size:var(--instant-apps-interactive-legend-total-feature-count-font-size);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption .instant-apps-interactive-legend__header-action-container.sc-instant-apps-interactive-legend-layer-element-caption{display:flex;align-items:center}.sc-instant-apps-interactive-legend-layer-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-layer-element-caption header.sc-instant-apps-interactive-legend-layer-element-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-layer-element-caption-h .esri-widget--panel.sc-instant-apps-interactive-legend-layer-element-caption{margin:0}.calcite-mode-dark.sc-instant-apps-interactive-legend-layer-element-caption-h .instant-apps-interactive-legend__header.sc-instant-apps-interactive-legend-layer-element-caption{background-color:#242424;color:var(--calcite-color-text-1)}.calcite-mode-light.sc-instant-apps-interactive-legend-layer-element-caption-h .instant-apps-interactive-legend__header.sc-instant-apps-interactive-legend-layer-element-caption{background-color:#ffffff;color:var(--calcite-color-text-1)}";export{f as instant_apps_interactive_legend_count,y as instant_apps_interactive_legend_layer_element_caption}
|
@@ -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 e,g as a,h as r,a as t}from"./p-8c40bdec.js";const s=class{constructor(a){e(this,a)}get el(){return a(this)}isPortal=!1;type="";typeKeywords=[];render(){return r("div",{key:"e14a2bed4b4c74b5959d7b12f73f9c8a1b374e6d",title:this.type},r("img",{key:"d7a7eccc3361946b2641e8499af21b199792a223",class:"item-type-icon item-type-icon-margin",height:"16",src:this._getIconUrl(this.type,this.typeKeywords),width:"16"}))}_getIconUrl(e,a){const r=this._getItemIcon(e,a);return t("group"===r?`./item-icons/${r}16.png`:`./item-icons/${r}16.svg`)}_getItemIcon(e,a){const r=e.toLowerCase(),t=a||[],s=t.includes("Hosted Service");switch(r.trim()){case"360 vr experience":return"360vr";case"3dtiles package":return"3dtileslayerpackage";case"3dtiles service":return t.includes("3DObject")?"3dobjecttileslayer":t.includes("IntegratedMesh")?"integratedmeshtileslayer":"3dobjecttileslayer";case"feature service":case"feature collection":case"kml":case"wfs":if(t.includes("IndoorPositioningDataService"))return"indoorpositioningdataservice";const e=t.includes("Spatiotemporal");return t.includes("Table")?e?"spatiotemporaltable":"table":t.includes("Route Layer")?"routelayer":t.includes("Markup")?"markup":e?"spatiotemporal":t.includes("UtilityNetwork")?"utilitynetwork":s?"featureshosted":"features";case"group":return"group";case"group layer":return t.includes("Map")?"layergroup2d":t.includes("Scene")?"layergroup3d":"layergroup";case"wmts":return"maptiles";case"map service":case"wms":return s||t.includes("Tiled")?"maptiles":"mapimages";case"scene service":return t.includes("Line")?"sceneweblayerline":t.includes("3DObject")?"sceneweblayermultipatch":t.includes("Point")?"sceneweblayerpoint":t.includes("IntegratedMesh")?"sceneweblayermesh":t.includes("PointCloud")?"sceneweblayerpointcloud":t.includes("Polygon")?"sceneweblayerpolygon":t.includes("Building")?"sceneweblayerbuilding":t.includes("Voxel")?"sceneweblayervoxel":"sceneweblayer";case"image service":return t.includes("Elevation 3D Layer")?"elevationlayer":t.includes("Tiled Imagery")?"tiledimagerylayer":"imagery";case"stream service":return"streamlayer";case"video service":return t.includes("Live Stream")?"livestreamvideolayer":"mediaservice";case"vector tile service":return"vectortile";case"datastore catalog service":return"datastorecollection";case"geocoding service":return"geocodeservice";case"geoprocessing service":return t.includes("Web Tool")?"tool":"layers";case"geodata service":return"geodataservice";case"web map":case"cityengine web scene":return"maps";case"web scene":return t.includes("ViewingMode-Local")?"webscenelocal":"websceneglobal";case"application":case"web mapping application":case"mobile application":case"operation view":case"desktop application":return t.includes("configurableApp")?"instantapps":"apps";case"map document":case"map package":case"published map":case"scene document":case"globe document":case"basemap package":case"mobile basemap package":case"mobile map package":case"project package":case"project template":case"pro map":case"layout":return"mapsgray";case"layer":if(t.includes("ArcGIS Pro"))return"mapsgray";case"explorer map":if(t.indexOf("Explorer Document"))return"mapsgray";if(t.includes("Explorer Mapping Application"))return"datafilesgray";case"pro presentation":return"propresentation";case"api key":return"key";case"csv":return"csv";case"shapefile":return"shapefile";case"csv collection":return"csvcollection";case"media layer":return"medialayer";case"microsoft excel":return"excel";case"microsoft powerpoint":return"powerpoint";case"microsoft word":return"word";case"pdf":return"pdf";case"sqlite geodatabase":return"sqlite";case"administrative report":return"report";case"image":return"image";case"cad drawing":return"cad";case"service definition":case"geojson":case"360 vr experience":case"netcdf":return"data";case"explorer add in":case"desktop add in":case"windows viewer add in":case"windows viewer configuration":return"appsgray";case"arcgis pro add in":case"arcgis pro configuration":return"addindesktop";case"rule package":case"file geodatabase":case"kml collection":case"windows mobile package":case"map template":case"desktop application template":case"gml":case"arcpad package":case"code sample":case"document link":case"earth configuration":case"operations dashboard add in":case"rules package":case"workflow manager package":return"datafilesgray";case"form":return t.includes("Survey123")?"survey":"datafilesgray";case"network analysis service":case"geoprocessing service":case"geodata service":case"geometry service":case"geoprocessing package":case"locator package":case"geoprocessing sample":case"workflow manager service":return"toolsgray";case"layer":case"layer package":case"explorer layer":return"layersgray";case"scene package":return"scenepackage";case"mobile scene package":return"mobilescenepackage";case"tile package":case"compact tile package":return"tilepackage";case"task file":return"taskfile";case"report template":return"reporttemplate";case"statistical data collection":return"statisticaldatacollection";case"analysis model":return"geoprocessingmodel";case"insights workbook":return"workbook";case"insights model":return"insightsmodel";case"insights page":return"insightspage";case"insights theme":return"insightstheme";case"hub initiative":return"hubinitiative";case"hub page":return"hubpage";case"hub event":return"hubevent";case"hub site application":return"hubsite";case"hub project":return"hubproject";case"relational database connection":return"relationaldatabaseconnection";case"image":return"image";case"image collection":return"imagecollection";case"style":return t.includes("Dictionary")?"dictionarystyle":"style";case"desktop style":return"desktopstyle";case"dashboard":return"dashboard";case"raster function template":return"rasterprocessingtemplate";case"vector tile package":return"vectortilepackage";case"ortho mapping project":return"orthomappingproject";case"ortho mapping template":return"orthomappingtemplate";case"solution":return"solutions";case"geopackage":return"geopackage";case"deep learning package":return"deeplearningpackage";case"real time analytic":return"realtimeanalytics";case"big data analytic":return"bigdataanalytics";case"feed":return"feed";case"excalibur imagery project":return"excaliburimageryproject";case"notebook":return"notebook";case"reality mapping project":return"realitymappingproject";case"storymap":return t.includes("storymaptemplate")?"storymapstemplate":t.includes("storymapcollection")?"storymapcollection":t.includes("storymapbriefing")?"storymapbriefing":"storymap";case"survey123 add in":return"survey123addin";case"mission":return"mission";case"mission report":return"missionreport";case"quickcapture project":return"quickcaptureproject";case"pro report":return"proreport";case"urban model":return"urbanmodel";case"urban project":return"urbanproject";case"web experience":return"experiencebuilder";case"web experience template":return"webexperiencetemplate";case"experience builder widget":return"experiencebuilderwidget";case"experience builder widget package":return"experiencebuilderwidgetpackage";case"workflow":return"workflow";case"insights script":return"insightsscript";case"kernel gateway connection":return"kernelgatewayconnection";case"hub initiative template":return"hubinitiativetemplate";case"storymap theme":return"storymaptheme";case"knowledge graph":return"knowledgegraph";case"knowledge studio project":return"knowledgestudio";case"knowledge graph layer":return"knowledgegraphlayer";case"native application":return"nativeapp";case"native application installer":return"nativeappinstaller";case"web link chart":return"linkchart";case"knowledge graph web investigation":return"investigation";case"ogcfeatureserver":return"features";case"pro project":return"proproject";case"insights workbook package":return"insightsworkbookpackage";case"apache parquet":return"apacheparquet";case"notebook code snippets":case"notebook code snippet library":return"notebookcodesnippets";case"suitability model":return"suitabilitymodel";case"esri classifier definition":return"classifierdefinition";case"esri classification schema":return"classificationschema";case"insights data engineering workbook":return"dataengineeringworkbook";case"insights data engineering model":return"dataengineeringmodel";case"deep learning studio project":return"deeplearningproject";case"data store":return"datastore";case"data pipeline":return"datapipeline";default:return t.includes("Document")?"datafilesgray":r.includes("service")?"layers":"maps"}}static get assetsDirs(){return["item-icons"]}};s.style=".item-type-icon{pointer-events:none;display:block;height:1rem;margin-top:0.15em !important;min-width:16px;fill:currentColor;transform:rotate(360deg)}.item-type-icon-margin{margin-inline-end:0.375rem}";export{s as solution_item_icon}
|
@@ -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 e,f as t,h as i,g as n,c as a}from"./p-8c40bdec.js";import{g as s,m as l,s as o,i as c,a as d,z as r,n as p,l as h,o as v,u as g,p as u}from"./p-c223bd87.js";import{l as m}from"./p-08ad0b7a.js";import{g as f}from"./p-89fbc318.js";import"./p-fa639501.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";const y=class{constructor(t){e(this,t),this.legendvm=void 0,this.featureCount=void 0,this.activeLayerInfo=void 0,this.messages=void 0,this.isChild=!1,this.expanded=!0}layerCaptionElementExpandUpdatedEmitted(){var e;this.expanded=!!(null===(e=this.layerCaption)||void 0===e?void 0:e.expanded)}async componentWillLoad(){new MutationObserver((()=>{t(this.el)})).observe(this.el,{attributes:!0})}render(){return i("div",{key:"ab9a4911afa5f1021f3270c4fec409a708e2ec51",style:{borderLeft:"1px solid var(--calcite-color-border-3)"},class:"esri-legend__service esri-legend__group-layer"},i("instant-apps-interactive-legend-layer-element-caption",{key:"bc80abe473c1b47920a78b072033d5b214f7822c",ref:e=>this.layerCaption=e,class:s(this.el),legendvm:this.legendvm,"feature-count":this.featureCount,activeLayerInfo:this.activeLayerInfo,messages:this.messages,isChild:this.isChild}),i("div",{key:"cf6dc1620eb0a95430129b9d414a9f6b893b61c2",class:"esri-legend__group-content "+(!1===this.expanded?"hide":"show")},i("slot",{key:"f346b52020e3cf4e3a072fdfa17a3762676aba53",name:"content"})))}get el(){return n(this)}};y.style=".sc-instant-apps-interactive-legend-group-legend-element-h{display:block}.sc-instant-apps-interactive-legend-group-legend-element-h .esri-legend__service.sc-instant-apps-interactive-legend-group-legend-element{margin:0;padding:0}.sc-instant-apps-interactive-legend-group-legend-element-h .hide.sc-instant-apps-interactive-legend-group-legend-element{display:none}";const _=class{constructor(t){e(this,t),this.legendvm=void 0,this.featureCount=void 0,this.activeLayerInfo=void 0,this.messages=void 0,this.isChild=void 0,this.expanded=!0}layerCaptionElementExpandUpdatedEmitted(){this.expanded=this.layerCaption.expanded}componentWillLoad(){new MutationObserver((()=>{t(this.el)})).observe(this.el,{attributes:!0})}render(){var e,t;return i("div",{key:"45305a415db8ba0a08ab69de820ff6b8711e1cee",style:{borderLeft:"1px solid var(--calcite-color-border-3)"},class:"esri-legend__service"+(this.activeLayerInfo.parent?" esri-legend__group-layer-child":""),tabIndex:0},i("instant-apps-interactive-legend-layer-element-caption",{key:"7babce8571540883bca9e0ff07c0a152cbb30fbb",ref:e=>this.layerCaption=e,legendvm:this.legendvm,"feature-count":this.featureCount,activeLayerInfo:this.activeLayerInfo,messages:this.messages,isChild:!!this.isChild,class:s(this.el)}),i("div",{key:"c021d9c441c407d5fac6f246eb9f4b6ce76bcaa5",id:`${null===(t=null===(e=this.activeLayerInfo)||void 0===e?void 0:e.layer)||void 0===t?void 0:t.id}-legend-layer`,class:"esri-legend__layer"+(!1===this.expanded?" hide":" show")},i("slot",{key:"761834066d924654c87a39601c1670625c88d863",name:"content"})))}get el(){return n(this)}};_.style=".sc-instant-apps-interactive-legend-layer-element-h{display:block}.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__service.sc-instant-apps-interactive-legend-layer-element{padding:0}.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__layer-body.sc-instant-apps-interactive-legend-layer-element,.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__layer.sc-instant-apps-interactive-legend-layer-element,.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__layer-table.sc-instant-apps-interactive-legend-layer-element,.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__group-layer-child.sc-instant-apps-interactive-legend-layer-element,.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__layer-child-table.sc-instant-apps-interactive-legend-layer-element{margin:0;overflow:hidden}.sc-instant-apps-interactive-legend-layer-element-h .hide.sc-instant-apps-interactive-legend-layer-element{display:none}";const b=class{constructor(t){e(this,t),this.activeLayerInfo=void 0,this.isSizeRamp=void 0,this.isChild=void 0,this.isColorRamp=void 0,this.isRelationshipRamp=void 0,this.isInteractive=void 0,this.zoomTo=void 0,this.legendElement=void 0,this.titleText=void 0,this.legendvm=void 0,this.legendElementIndex=void 0,this.messages=void 0,this.expanded=!0}legendLayerExpandUpdatedEmitted(){this.expanded=this.legendLayerCaption.expanded}render(){var e,t,n,a,s,c,d,r,p;const h=this.isChild?"esri-legend__layer-child-table":"esri-legend__layer-table",v=1===(null===(t=null===(e=this.legendElement)||void 0===e?void 0:e.infos)||void 0===t?void 0:t.length)&&!(null===(s=null===(a=null===(n=this.activeLayerInfo)||void 0===n?void 0:n.layer)||void 0===a?void 0:a.renderer)||void 0===s?void 0:s.field),g=!this.isSizeRamp&&this.isChild||this.isColorRamp?"":" esri-legend__layer-table--size-ramp",u=this.isInteractive?"":" instant-apps-interactive-legend__non-interactive",m=l(this.activeLayerInfo)?" instant-apps-interactive-legend__nested-unique-symbol":"";let f=!(!v||this.expanded||this.zoomTo)||this.expanded;return this.isRelationshipRamp&&(f=o.get("relationshipRampExpandStates")[this.activeLayerInfo.layer.id]),i("div",{key:"cd76a15dfd77c630708e61535a4d22d66385a4bf",class:`${h}${g}${u}${m}`},i("div",{key:"24eb28f5fa505d1d4471a750b5273b34af2f3428",id:`${null===(d=null===(c=this.activeLayerInfo)||void 0===c?void 0:c.layer)||void 0===d?void 0:d.id}-legend-element-caption`,class:this.isRelationshipRamp||!this.titleText&&!this.zoomTo&&v?"hide":"show"},i("instant-apps-interactive-legend-legend-element-caption",{key:"5ffd04439d1c99251e358afcf077628a780c8e40",ref:e=>this.legendLayerCaption=e,legendvm:this.legendvm,activeLayerInfo:this.activeLayerInfo,layer:this.activeLayerInfo.layer,titleText:this.titleText,legendElement:this.legendElement,legendElementIndex:this.legendElementIndex,zoomTo:this.zoomTo,isInteractive:this.isInteractive,messages:this.messages})),i("div",{key:"content",id:`${null===(p=null===(r=this.activeLayerInfo)||void 0===r?void 0:r.layer)||void 0===p?void 0:p.id}-legend-element-content-${this.legendElementIndex}`,class:!1===f?"hide":"show"},i("slot",{key:"c95e14737a003f85f7c494e6d30d9f946bef464a",name:"content"})))}};var L;b.style=".sc-instant-apps-interactive-legend-legend-element-h{display:block}.sc-instant-apps-interactive-legend-legend-element-h .esri-legend__layer-table.sc-instant-apps-interactive-legend-legend-element,.sc-instant-apps-interactive-legend-legend-element-h .instant-apps-interactive-legend__nested-unique-symbol.sc-instant-apps-interactive-legend-legend-element{margin:0}.sc-instant-apps-interactive-legend-legend-element-h .hide.sc-instant-apps-interactive-legend-legend-element{display:none}",function(e){e.ZoomTo="magnifying-glass-plus",e.ShowAll="list-check-all"}(L||(L={}));const x=class{constructor(t){e(this,t),this.showAllSelectedEvent=a(this,"showAllSelected",7),this.legendLayerExpandUpdatedEvent=a(this,"legendLayerExpandUpdated",7),this.legendvm=void 0,this.activeLayerInfo=void 0,this.layer=void 0,this.titleText=void 0,this.legendElementIndex=void 0,this.zoomTo=void 0,this.isInteractive=void 0,this.legendElement=void 0,this.expanded=!0,this.messages=void 0}render(){var e,t,n,a;const s=l(this.activeLayerInfo),c=p(this.activeLayerInfo),{expanded:d}=this,r=o.get("compact"),h=r?" instant-apps-interactive-legend__layer-caption--compact":"";if(s&&!this.titleText)return null;const v=this.titleText&&i("span",{class:"instant-apps-interactive-legend__legend-layer-caption-text",title:this.titleText},this.titleText),g=(this.isInteractive||c)&&this.renderLegendElementCaptionControls();return i("div",{class:`esri-legend__layer-caption${h}`},i("calcite-action",{onClick:this.toggleExpanded(),icon:!1===d?"chevron-up":"chevron-down",appearance:"transparent",text:!1===d?null===(e=this.messages)||void 0===e?void 0:e.expand:null===(t=this.messages)||void 0===t?void 0:t.collapse,label:!1===d?null===(n=this.messages)||void 0===n?void 0:n.expand:null===(a=this.messages)||void 0===a?void 0:a.collapse,scale:"s"}),r?[v,g]:[g,v])}renderLegendElementCaptionControls(){return i("div",{key:"layer-caption-btn-container",class:"instant-apps-interactive-legend__layer-caption-btn-container"+(this.titleText?"":" instant-apps-interactive-legend__layer-caption-btn-container--no-text")},this.renderShowAllZoomToButtons())}renderShowAllZoomToButtons(){return o.get("compact")?this.renderCompactButtonUI():this.renderButtonUI()}renderCompactButtonUI(){var e,t,n,a,s,l;const{data:o}=c,{id:d}=this.layer||{},r=(null===(t=null===(e=null==o?void 0:o[d])||void 0===e?void 0:e.categories)||void 0===t?void 0:t.size)>1,p="zoomToCompact";return[this.zoomTo&&[i("calcite-action",{id:p,class:"instant-apps-interactive-legend__zoom-to-btn",onClick:this.handleZoomTo(),icon:L.ZoomTo,appearance:"transparent",scale:"s",text:null===(n=this.messages)||void 0===n?void 0:n.zoomTo}),i("calcite-tooltip",{"reference-element":p,placement:"top",label:null===(a=this.messages)||void 0===a?void 0:a.zoomTo},null===(s=this.messages)||void 0===s?void 0:s.zoomTo)],r&&i("button",{onClick:this.handleShowAll(),class:"instant-apps-interactive-legend__show-all-btn"},null===(l=this.messages)||void 0===l?void 0:l.showAll)]}renderButtonUI(){var e,t,n,a,s,l,o,d;const{data:r}=c,{id:p}=this.layer||{},h="showAll",v="zoomTo";return[(null===(t=null===(e=null==r?void 0:r[p])||void 0===e?void 0:e.categories)||void 0===t?void 0:t.size)>1&&[i("calcite-button",{key:"show-all-button",id:h,label:null===(n=this.messages)||void 0===n?void 0:n.showAll,onClick:this.handleShowAll(),iconStart:L.ShowAll,appearance:"outline",round:!0}),i("calcite-tooltip",{referenceElement:h,placement:"top",label:null===(a=this.messages)||void 0===a?void 0:a.showAll},null===(s=this.messages)||void 0===s?void 0:s.showAll)],this.zoomTo&&[i("calcite-button",{key:"zoom-to-button",id:v,label:null===(l=this.messages)||void 0===l?void 0:l.zoomTo,onClick:this.handleZoomTo(),iconStart:L.ZoomTo,appearance:"outline",round:!0}),i("calcite-tooltip",{"reference-element":v,placement:"top",label:null===(o=this.messages)||void 0===o?void 0:o.zoomTo},null===(d=this.messages)||void 0===d?void 0:d.zoomTo)]]}toggleExpanded(){return()=>{var e,t;this.expanded=!this.expanded,this.legendLayerExpandUpdatedEvent.emit(),(null===(t=null===(e=this.activeLayerInfo)||void 0===e?void 0:e.legendElements)||void 0===t?void 0:t.filter((e=>"relationship-ramp"===e.type))).length>0&&o.set("relationshipRampExpandStates",Object.assign(Object.assign({},c.relationshipRampExpandStates),{[this.activeLayerInfo.layer.id]:this.expanded}))}}handleZoomTo(){return()=>{const e=h(this.layer),t=d(e,this.legendElement);r(e,this.legendvm.view,t)}}handleShowAll(){return()=>{var e,t;const i=null===(e=c.data)||void 0===e?void 0:e[null===(t=this.layer)||void 0===t?void 0:t.id];d(i,this.legendElement)?(()=>{const e=v(i,this.legendElement.title);g({intLegendLayerData:e,layerId:this.layer.id})})():((()=>{const e=u(i);g({intLegendLayerData:e,layerId:this.layer.id})})(),this.showAllSelectedEvent.emit())}}get el(){return n(this)}};x.style=".sc-instant-apps-interactive-legend-legend-element-caption-h{display:block;--instant-apps-interactive-legend-heading-font-size:1rem;--instant-apps-interactive-legend-heading-font-weight:normal;--instant-apps-interactive-legend-caption-font-weight:normal;--instant-apps-interactive-legend-secondary-color:var(--calcite-color-text-1);--instant-apps-interactive-legend-field-name-font-size:1rem;--instant-apps-interactive-legend-total-feature-count-font-size:0.875rem;--instant-apps-interactive-legend-info-font-size:0.875rem;--instant-apps-interactive-legend-info-item-background--selected:#c7ebff;--instant-apps-interactive-legend-info-item-color--selected:var(--calcite-color-text-2);--instant-apps-interactive-legend-secondary-background-color:var(--calcite-color-background);--instant-apps-interactive-legend-ui-padding:15px 10px}.sc-instant-apps-interactive-legend-legend-element-caption-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-legend-element-caption{display:flex;align-items:center;font-size:var(--instant-apps-interactive-legend-field-name-font-size);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-legend-element-caption-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-legend-element-caption calcite-action.sc-instant-apps-interactive-legend-legend-element-caption{margin-left:20px}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption--compact.sc-instant-apps-interactive-legend-legend-element-caption{--instant-apps-interactive-legend-ui-padding:5px}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption--compact.sc-instant-apps-interactive-legend-legend-element-caption .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-legend-element-caption{display:flex;justify-content:flex-end;width:100%}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption--compact.sc-instant-apps-interactive-legend-legend-element-caption .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-legend-element-caption .instant-apps-interactive-legend__show-all-btn.sc-instant-apps-interactive-legend-legend-element-caption{border:none;background-color:transparent;cursor:pointer;color:var(--calcite-ui-brand);font-weight:var(--calcite-font-weight-medium);font-size:0.75rem;padding-inline-start:20px}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption--compact.sc-instant-apps-interactive-legend-legend-element-caption .instant-apps-interactive-legend__zoom-to-btn.sc-instant-apps-interactive-legend-legend-element-caption{--calcite-icon-color:var(--calcite-ui-brand);--calcite-color-transparent-hover:transparent}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption--compact.sc-instant-apps-interactive-legend-legend-element-caption .instant-apps-interactive-legend__legend-layer-caption-text.sc-instant-apps-interactive-legend-legend-element-caption{display:inline-block;font-size:0.75rem;white-space:nowrap;width:100%;overflow:hidden;text-overflow:ellipsis}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__legend-layer-caption-text.sc-instant-apps-interactive-legend-legend-element-caption{display:inline-block;margin-left:5px;margin-bottom:0;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;line-height:normal}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-legend-element-caption{display:flex;white-space:nowrap}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-legend-element-caption calcite-button.sc-instant-apps-interactive-legend-legend-element-caption{margin:2px}.sc-instant-apps-interactive-legend-legend-element-caption-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-legend-element-caption{font-weight:var(--instant-apps-interactive-legend-caption-font-weight);padding:var(--instant-apps-interactive-legend-ui-padding)}html[dir=rtl] .sc-instant-apps-interactive-legend-legend-element-caption-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-legend-element-caption calcite-action.sc-instant-apps-interactive-legend-legend-element-caption{margin-left:unset;margin-right:20px}";const w=".esri-relationship-ramp--diamond__middle-column--ramp svg g",k=class{constructor(t){e(this,t),this.cellNodeCounter=0,this.filterMode=void 0,this.activeLayerInfo=void 0,this.legendElement=void 0,this.messages=void 0}applyInteractivity(){this.applyRelationshipRampInteractivity()}showAllSelectedEmitted(){const e=0===c.data[this.activeLayerInfo.layer.id].queryExpressions.length,t=this.relationshipRamp.querySelector(w).children,i=t?Array.from(t):null;e&&(null==i||i.forEach((e=>{e.removeAttribute("stroke"),e.removeAttribute("stroke-width"),e.removeAttribute("stroke-opacity"),e.classList.remove("esri-interactive-legend--selected-cell")})))}async componentWillLoad(){const[e]=await m(["esri/symbols/support/symbolUtils"]);this.symbolUtils=e}render(){var e,t;return i("div",{key:"b24758bce1743ae91567e78df38854fddabf52fd",ref:e=>{if(!(null==e?void 0:e.querySelector("relationshipStyles"))){const t=document.createElement("style");t.id="relationshipStyles",t.innerHTML="\n rect:hover {\n cursor: pointer;\n opacity: 0.8;\n }\n ",null==e||e.appendChild(t)}}},i("span",{key:"e3f3bc2a4e7d423bb6aec2072252654b3ac77b2e",class:"instant-apps-interactive-legend-relationship__instructional-text"},null===(t=null===(e=this.messages)||void 0===e?void 0:e.relationship)||void 0===t?void 0:t.instructionalText),this.renderRelationshipRamp())}renderRelationshipRamp(){var e;const t=(null===(e=this.activeLayerInfo)||void 0===e?void 0:e.layer).renderer,n=this.symbolUtils.renderRelationshipRampPreviewHTML(t);return i("div",{ref:e=>{this.relationshipRamp=e,this.applyRelationshipRampInteractivity()},key:"relationship-ramp-diamond",innerHTML:`${null==n?void 0:n.outerHTML}`})}applyRelationshipRampInteractivity(){if(!(this.relationshipRamp&&this.activeLayerInfo&&this.legendElement&&c.data))return;let e=setInterval((()=>{const t=this.relationshipRamp.querySelector(w);t&&(clearInterval(e),this.setupRelationshipDrawingStyle(t.children))}),10)}setupRelationshipDrawingStyle(e){const t=e?Array.from(e):null;if(!t)return;t.map(((e,t)=>{var i,n,a,s,l,o,c,d,r;const p=(null===(n=null===(i=this.activeLayerInfo)||void 0===i?void 0:i.layer)||void 0===n?void 0:n.renderer).uniqueValueInfos;if(p[t]){const i=null===(c=null===(o=null===(l=null===(s=null===(a=null==p?void 0:p[t])||void 0===a?void 0:a.symbol)||void 0===s?void 0:s.data)||void 0===l?void 0:l.symbol)||void 0===o?void 0:o.symbolLayers)||void 0===c?void 0:c[1].color,n=null===(r=null===(d=null==p?void 0:p[t])||void 0===d?void 0:d.symbol)||void 0===r?void 0:r.color;p.forEach(((t,a)=>{var s,l,o,c,d;const r=null===(s=null==t?void 0:t.symbol)||void 0===s?void 0:s.color,p=null===(d=null===(c=null===(o=null===(l=null==t?void 0:t.symbol)||void 0===l?void 0:l.data)||void 0===o?void 0:o.symbol)||void 0===c?void 0:c.symbolLayers)||void 0===d?void 0:d[1].color;let h=!1;h=p?p.every(((e,t)=>e===i[t])):r.r===n.r&&r.g===n.g&&r.b===n.b&&r.a===n.a,h&&this.setCellAttributes(e,a)})),e.classList.add("esri-interactive-legend__svg-rect-element")}}));const i=this.reorderCellNodes(t);this.attachFeatureIndexes(i),this.applyEventHandlers()}setCellAttributes(e,t){const i=this.activeLayerInfo.layer.renderer.uniqueValueInfos,n=this.generateIndexPattern(t);i[n]&&(e.setAttribute("data-color",`${i[n].symbol.color}`),e.setAttribute("data-cell-index",`${n}`),e.setAttribute("tabindex","0"))}generateIndexPattern(e){const{focus:t,numClasses:i}=this.legendElement;return"HL"===t?e:2===i?this.twoClasses(e,t):3===i?this.threeClasses(e,t):4===i?this.fourClasses(e,t):null}twoClasses(e,t){return"HH"===t||null===t?0===e||2===e?e+1:1===e||3===e?e-1:null:"LH"===t?0===e?e+3:1===e?e+1:2===e?e-1:3===e?e-3:4===e?e+0:null:"LL"===t?0===e||1===e?e+2:2===e||3===e?e-2:null:void 0}threeClasses(e,t){return"HH"===t||null===t?0===e||3===e||6===e?e+2:2===e||5===e||8===e?e-2:e:"LH"===t?0===e?e+8:1===e?e+6:2===e?e+4:3===e?e+2:5===e?e-2:6===e?e-4:7===e?e-6:8===e?e-8:e:"LL"===t?0===e||1===e||2===e?e+6:6===e||7===e||8===e?e-6:e:void 0}fourClasses(e,t){return"HH"===t||null===t?0===e||4===e||8===e||12===e?e+3:1===e||5===e||9===e||13===e?e+1:2===e||6===e||10===e||14===e?e-1:3===e||7===e||11===e||15===e?e-3:null:"LH"===t?0===e?e+15:1===e?e+13:2===e?e+11:3===e?e+9:4===e?e+7:5===e?e+5:6===e?e+3:7===e?e+1:8===e?e-1:9===e?e-3:10===e?e-5:11===e?e-7:12===e?e-9:13===e?e-11:14===e?e-13:15===e?e-15:null:"LL"===t?0===e||1===e||2===e||3===e?e+12:4===e||5===e||6===e||7===e?e+4:8===e||9===e||10===e||11===e?e-4:12===e||13===e||14===e||15===e?e-12:null:void 0}reorderCellNodes(e){const t=[];for(;this.cellNodeCounter<=e.length-1;)e.map((e=>{parseInt(e.getAttribute("data-cell-index"))===this.cellNodeCounter&&t.push(e)})),this.cellNodeCounter++;return this.cellNodeCounter=0,t}attachFeatureIndexes(e){const{focus:t,numClasses:i}=this.legendElement;"HH"===t||null===t?this.relationshipFocusIsHighHigh(e,i):"LL"===t?this.relationshipFocusIsLowLow(e,i):"LH"===t?this.relationshipFocusIsLowHigh(e,i):"HL"===t&&this.relationshipFocusIsHighLow(e,i),this.cellNodeCounter=0}relationshipFocusIsHighHigh(e,t){for(let i=t-1;i>=0;i--)for(let n=t-1;n>=0;n--)this.setDataAttributes(e,i,n,t),this.cellNodeCounter++}relationshipFocusIsLowLow(e,t){for(let i=0;i<t;i++)for(let n=0;n<t;n++)this.setDataAttributes(e,i,n,t),this.cellNodeCounter++}relationshipFocusIsLowHigh(e,t){for(let i=0;i<t;i++)for(let n=t-1;n>=0;n--)this.setDataAttributes(e,i,n,t),this.cellNodeCounter++}relationshipFocusIsHighLow(e,t){for(let i=t-1;i>=0;i--)for(let n=0;n<t;n++)this.setDataAttributes(e,n,i,t),this.cellNodeCounter++}setDataAttributes(e,t,i,n){const a=e[this.cellNodeCounter];2===n?this.twoClassAttributes(a,t,i):3===n?this.threeClassAttributes(a,t,i):this.fourClassAttributes(a,t,i)}twoClassAttributes(e,t,i){const{legendElement:n}=this;"HL"===n.focus?this.swapDataFeatureIndexes(e,t,i):this.setDataFeatureIndexes(e,t,i)}threeClassAttributes(e,t,i){const{legendElement:n}=this;1===this.cellNodeCounter||3===this.cellNodeCounter||5===this.cellNodeCounter||7===this.cellNodeCounter?"HL"===n.focus?this.swapDataFeatureIndexes(e,t,i):this.setDataFeatureIndexes(e,t,i):"HL"!==n.focus?this.setDataFeatureIndexes(e,t,i):this.swapDataFeatureIndexes(e,t,i)}fourClassAttributes(e,t,i){const{legendElement:n}=this,{focus:a}=n;1===this.cellNodeCounter||2===this.cellNodeCounter||4===this.cellNodeCounter||5===this.cellNodeCounter||7===this.cellNodeCounter||8===this.cellNodeCounter||10===this.cellNodeCounter||11===this.cellNodeCounter||13===this.cellNodeCounter||14===this.cellNodeCounter?"HL"===a?this.swapDataFeatureIndexes(e,t,i):this.setDataFeatureIndexes(e,t,i):"HL"!==a?this.setDataFeatureIndexes(e,t,i):this.swapDataFeatureIndexes(e,t,i)}setDataFeatureIndexes(e,t,i){e.setAttribute("data-feature-i",`${t}`),e.setAttribute("data-feature-j",`${i}`),this.setDataCellFocus(e,t,i)}swapDataFeatureIndexes(e,t,i){e.setAttribute("data-feature-i",`${i}`),e.setAttribute("data-feature-j",`${t}`),this.setDataCellFocus(e,i,t)}setDataCellFocus(e,t,i){const{numClasses:n}=this.legendElement;2===n?this.setDataCellFocusForTwoClasses(e,t,i):3===n?this.setDataCellFocusForThreeClasses(e,t,i):4===n&&this.setDataCellFocusForFourClasses(e,t,i)}setDataCellFocusForTwoClasses(e,t,i){0===t&&0===i?e.setAttribute("data-cell-focus","LL"):0===t&&1===i?e.setAttribute("data-cell-focus","LH"):1===t&&0===i?e.setAttribute("data-cell-focus","HL"):1===t&&1===i&&e.setAttribute("data-cell-focus","HH")}setDataCellFocusForThreeClasses(e,t,i){0===t&&0===i?e.setAttribute("data-cell-focus","LL"):0===t&&1===i?e.setAttribute("data-cell-focus","LM"):0===t&&2===i?e.setAttribute("data-cell-focus","LH"):1===t&&0===i?e.setAttribute("data-cell-focus","ML"):1===t&&1===i?e.setAttribute("data-cell-focus","MM"):1===t&&2===i?e.setAttribute("data-cell-focus","MH"):2===t&&0===i?e.setAttribute("data-cell-focus","HL"):2===t&&1===i?e.setAttribute("data-cell-focus","HM"):2===t&&2===i&&e.setAttribute("data-cell-focus","HH")}setDataCellFocusForFourClasses(e,t,i){0===t&&0===i?e.setAttribute("data-cell-focus","LL"):0===t&&1===i?e.setAttribute("data-cell-focus","LM1"):0===t&&2===i?e.setAttribute("data-cell-focus","LM2"):0===t&&3===i?e.setAttribute("data-cell-focus","LH"):1===t&&0===i?e.setAttribute("data-cell-focus","M1L"):1===t&&1===i?e.setAttribute("data-cell-focus","M1M1"):1===t&&2===i?e.setAttribute("data-cell-focus","M1M2"):1===t&&3===i?e.setAttribute("data-cell-focus","M1H"):2===t&&0===i?e.setAttribute("data-cell-focus","M2L"):2===t&&1===i?e.setAttribute("data-cell-focus","M2M1"):2===t&&2===i?e.setAttribute("data-cell-focus","M2M2"):2===t&&3===i?e.setAttribute("data-cell-focus","M2H"):3===t&&0===i?e.setAttribute("data-cell-focus","HL"):3===t&&1===i?e.setAttribute("data-cell-focus","HM1"):3===t&&2===i?e.setAttribute("data-cell-focus","HM2"):3===t&&3===i&&e.setAttribute("data-cell-focus","HH")}applyEventHandlers(){const e=document.querySelectorAll(".esri-interactive-legend__svg-rect-element");Array.from(e).map((e=>{const t=e.getAttribute("data-feature-i"),i=e.getAttribute("data-feature-j"),n=e.getAttribute("data-cell-focus");e.onclick=()=>{this.handleFilter(t,i,n),this.handleSelectedElement(e)},e.onkeydown=a=>{const{key:s}=a;("Enter"===s||"Space"===s)&&(this.handleFilter(t,i,n),this.handleSelectedElement(e))}}))}async handleFilter(e,t,i){var n,a,s,l,o;const d=this.activeLayerInfo.layer,{authoringInfo:r}=d.renderer,{field1:p,field2:h}=r,{queryExpressions:v,fLayerView:g}=c.data[this.activeLayerInfo.layer.id];if("relationship-ramp"===this.legendElement.type&&r&&p&&h){const c=this.generateExpressionParams(p,h,r,e,t,i),d=this.generateExpressionForRelationship(c);0===v.length?v[0]=d:-1===v.indexOf(d)?v.push(d):v.splice(v.indexOf(d),1);const u=v.join(" OR "),y=null!==(a=null===(n=null==g?void 0:g.filter)||void 0===n?void 0:n.timeExtent)&&void 0!==a?a:null,[_,b]=await m(["esri/layers/support/FeatureFilter","esri/layers/support/FeatureEffect"]);if("filter"===(null===(s=this.filterMode)||void 0===s?void 0:s.type))g.filter=new _({where:u,timeExtent:(null===(l=null==g?void 0:g.filter)||void 0===l?void 0:l.timeExtent)?g.filter.timeExtent:null});else if(null===(o=this.filterMode)||void 0===o?void 0:o.effect){const{includedEffect:e,excludedEffect:t}=this.filterMode.effect,i=await f(t,g,"excludedEffect"),n=await f(e,g,"includedEffect");g.featureEffect=new b({filter:new _({where:u,timeExtent:y}),includedEffect:n,excludedEffect:i})}}}generateExpressionParams(e,t,i,n,a,s){const l=[],o=e.field,c=t.field,d=e.classBreakInfos,r=t.classBreakInfos,p=i.field1.hasOwnProperty("normalizationField")?i.field1.normalizationField:null,h=i.field2.hasOwnProperty("normalizationField")?i.field2.normalizationField:null;return d.forEach(((e,t)=>{const i=[];r.forEach(((e,n)=>{i.push([d[t],r[n]])})),l.push(i)})),{data:l,i:n,j:a,field1:p?`(${o}/${p})`:`${o}`,field2:h?`(${c}/${h})`:`${c}`,focus:s}}generateExpressionForRelationship(e){const{focus:t,field1:i,field2:n,data:a,i:s,j:l}=e;return"LL"===t?`${i} >= ${a[s][l][0].minValue} AND ${i} <= ${a[s][l][0].maxValue} AND ${n} >= ${a[s][l][1].minValue} AND ${n} <= ${a[s][l][1].maxValue}`:"LM"===t||"LM1"===t||"LM2"===t||"LH"===t?`${i} >= ${a[s][l][0].minValue} AND ${i} <= ${a[s][l][0].maxValue} AND ${n} > ${a[s][l][1].minValue} AND ${n} <= ${a[s][l][1].maxValue}`:"ML"===t||"M1L"===t||"M2L"===t||"HL"===t?`${i} > ${a[s][l][0].minValue} AND ${i} <= ${a[s][l][0].maxValue} AND ${n} >= ${a[s][l][1].minValue} AND ${n} <= ${a[s][l][1].maxValue}`:`${i} > ${a[s][l][0].minValue} AND ${i} <= ${a[s][l][0].maxValue} AND ${n} > ${a[s][l][1].minValue} AND ${n} <= ${a[s][l][1].maxValue}`}handleSelectedElement(e){const t=e.classList;t.contains("esri-interactive-legend--selected-cell")?(e.removeAttribute("stroke"),e.removeAttribute("stroke-width"),e.removeAttribute("stroke-opacity"),t.remove("esri-interactive-legend--selected-cell")):(t.add("esri-interactive-legend--selected-cell"),e.setAttribute("stroke","black"),e.setAttribute("stroke-width","3px"),e.setAttribute("stroke-opacity","1"))}};k.style=".sc-instant-apps-interactive-legend-relationship-h{display:block}.sc-instant-apps-interactive-legend-relationship-h .instant-apps-interactive-legend-relationship__instructional-text.sc-instant-apps-interactive-legend-relationship{display:inline-block;width:100%;text-align:center;margin-bottom:10px;background-color:#d2e9f9}.calcite-mode-dark .sc-instant-apps-interactive-legend-relationship-h .instant-apps-interactive-legend-relationship__instructional-text.sc-instant-apps-interactive-legend-relationship{background-color:var(--calcite-color-brand);color:#151515}";export{y as instant_apps_interactive_legend_group_legend_element,_ as instant_apps_interactive_legend_layer_element,b as instant_apps_interactive_legend_legend_element,x as instant_apps_interactive_legend_legend_element_caption,k as instant_apps_interactive_legend_relationship}
|
@@ -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,h as i,H as e,g as n}from"./p-8c40bdec.js";import{c as l}from"./p-fa639501.js";import{l as o}from"./p-08ad0b7a.js";import{g as r}from"./p-89fbc318.js";import{g as a}from"./p-ea19f91b.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-ac122d9e.js";const{state:d,onChange:s}=l({timeInfoConfigItems:[],filterMode:{type:"filter"},view:null,timeSlider:null,timeInfoItems:[],selectedTimeInfoItem:null,loading:!0,timeSliderConfig:{},autoPlay:!1}),u="time-slider-watch",v=new class{constructor(){this.initializeModules()}async initializeModules(){try{const[t,i,e,n,l,r,a]=await o(["esri/core/Handles","esri/core/reactiveUtils","esri/widgets/TimeSlider","esri/time/TimeExtent","esri/time/TimeInterval","esri/layers/support/FeatureFilter","esri/layers/support/FeatureEffect"]);this.reactiveUtils=i,this.handles=new t,this.TimeSlider=e,this.TimeExtent=n,this.TimeInterval=l,this.FeatureFilter=r,this.FeatureEffect=a}catch(t){}}async init(t){var i,e,n;t&&(t.innerHTML=""),"playing"===(null===(e=null===(i=null==d?void 0:d.timeSlider)||void 0===i?void 0:i.viewModel)||void 0===e?void 0:e.state)&&d.timeSlider.stop();const{view:l,timeInfoConfigItems:o}=d;if(l)try{if(await l.when(),1===o.length&&"map"===(null===(n=o[0])||void 0===n?void 0:n.type))this.initTimeSlider(t,o[0]);else{const i=await this.getTimeLayerViews(l,o);d.timeInfoItems=this.generateTimeInfoItems(i,o),this.initTimeSlider(t)}return Promise.resolve()}catch(t){}finally{this.setupFilterModeWatcher()}}destroy(){var t,i;null===(t=this.handles)||void 0===t||t.removeAll(),this.handles=null,null===(i=d.timeSlider)||void 0===i||i.destroy()}async getTimeLayerViews(t,i){const{allLayers:e}=t.map,n=i.map((({id:t})=>{return i=t,e.find((({id:t})=>i===t));var i})).map((i=>t.whenLayerView(i)));return await Promise.all(n)}generateTimeInfoItems(t,i){return[...i].map((i=>{const e=t.find((({layer:t})=>t.id===i.id));return this.generateTimeInfoItem(e,i)}))}generateTimeInfoItem(t,{increments:i,rangeStart:e,rangeEnd:n,timeIntervalValue:l}){var o;const r=null==t?void 0:t.layer,a=null===(o=null==r?void 0:r.timeInfo)||void 0===o?void 0:o.fullTimeExtent;return{layerView:t,unit:i,timeIntervalValue:null!=l?l:1,rangeStart:new Date(e),rangeEnd:new Date(n),timeExtent:a,previousTimeExtent:null}}initTimeSlider(t,i){var e,n;const{TimeSlider:l}=this,o=t=>{d.timeSlider=new l(t),d.autoPlay&&d.timeSlider.play()};if(i)o(this.getTimeSliderConfig(t,i));else{const i=null===(e=null==d?void 0:d.timeInfoItems)||void 0===e?void 0:e[0];if(!i)return;d.selectedTimeInfoItem=i,o(this.getTimeSliderConfig(t))}"2d"===(null===(n=d.view)||void 0===n?void 0:n.type)&&this.initialize2DView()}setupFilterModeWatcher(){s("filterMode",(t=>d.timeInfoItems.forEach((i=>{var e,n,l;const o=i.layerView;this.applyTimeExtent(o,(null===(n=null===(e=null==o?void 0:o.featureEffect)||void 0===e?void 0:e.filter)||void 0===n?void 0:n.timeExtent)||(null===(l=o.filter)||void 0===l?void 0:l.timeExtent),t)}))))}getTimeSliderConfig(t,i){var e,n,l,o,r,a,s,u;const{TimeExtent:v,TimeInterval:c}=this,h=Object.assign({container:t,mode:"time-window",view:"3d"===(null===(e=d.view)||void 0===e?void 0:e.type)?d.view:null},d.timeSliderConfig);if(i){const t=null===(o=null===(l=null===(n=d.view)||void 0===n?void 0:n.map)||void 0===l?void 0:l.widgets)||void 0===o?void 0:o.timeSlider,i=Object.assign(Object.assign({},h),{fullTimeExtent:null==t?void 0:t.fullTimeExtent,timeExtent:null==t?void 0:t.currentTimeExtent});return(null===(r=null==t?void 0:t.stopInterval)||void 0===r?void 0:r.unit)&&(null===(a=null==t?void 0:t.stopInterval)||void 0===a?void 0:a.value)&&(i.stops={interval:new c({unit:null===(s=null==t?void 0:t.stopInterval)||void 0===s?void 0:s.unit,value:null===(u=null==t?void 0:t.stopInterval)||void 0===u?void 0:u.value})}),i}{const[{timeExtent:t,rangeStart:i,rangeEnd:e,unit:n,timeIntervalValue:l}]=d.timeInfoItems;return Object.assign(Object.assign({},h),{fullTimeExtent:t,timeExtent:new v({start:i,end:e}),stops:{interval:new c({unit:n,value:l})}})}}initialize2DView(){d.timeInfoItems.forEach((t=>this.applyTimeExtent(t.layerView,new this.TimeExtent({start:t.rangeStart,end:t.rangeEnd})))),this.setupTimeExtentWatcher()}applyTimeExtent(t,i,e){var n;"effect"===(null===(n=d.filterMode)||void 0===n?void 0:n.type)?this.applyFeatureEffect(t,i,e):this.applyFeatureFilter(t,i)}applyFeatureEffect(t,i,e){var n;t&&(t.filter&&t.set("filter",null),(null==t?void 0:t.featureEffect)&&(null===(n=null==t?void 0:t.featureEffect)||void 0===n?void 0:n.filter)&&!e?t.featureEffect.filter.timeExtent=i:this.handleUpdatedFeatureEffect(t,i))}async handleUpdatedFeatureEffect(t,i){var e,n,l,o;const{FeatureEffect:a}=this;t.featureEffect=new a({filter:{timeExtent:i},includedEffect:await r(null===(n=null===(e=d.filterMode)||void 0===e?void 0:e.effect)||void 0===n?void 0:n.includedEffect,t,"includedEffect"),excludedEffect:await r(null===(o=null===(l=d.filterMode)||void 0===l?void 0:l.effect)||void 0===o?void 0:o.excludedEffect,t,"excludedEffect")})}applyFeatureFilter(t,i){t.featureEffect&&t.set("featureEffect",null),t.filter?t.filter.timeExtent=i:t.filter=new this.FeatureFilter({timeExtent:i})}setupTimeExtentWatcher(){var t,i,e,n;(null===(t=this.handles)||void 0===t?void 0:t.has(u))&&(null===(i=this.handles)||void 0===i||i.remove(u)),null===(e=this.handles)||void 0===e||e.add(null===(n=null==d?void 0:d.timeSlider)||void 0===n?void 0:n.watch("timeExtent",(t=>{var i;return this.applyTimeExtent(null===(i=d.selectedTimeInfoItem)||void 0===i?void 0:i.layerView,t)})),u)}updateSelectedTimeInfoItem(t){d.timeSlider&&(d.selectedTimeInfoItem&&(d.selectedTimeInfoItem.previousTimeExtent=d.timeSlider.timeExtent),d.selectedTimeInfoItem=t,this.reconfigureTimeSlider(t),this.applyTimeExtent(t.layerView,d.timeSlider.timeExtent),this.setupTimeExtentWatcher())}reconfigureTimeSlider(t){d.timeSlider&&(d.timeSlider.fullTimeExtent=t.timeExtent,d.timeSlider.timeExtent=this.getTimeExtent(t),d.timeSlider.stops={interval:this.getTimeInterval(t)})}getTimeExtent({rangeStart:t,rangeEnd:i,previousTimeExtent:e}){const{TimeExtent:n}=this;return null!=e?e:new n({start:t,end:i})}getTimeInterval(t){var i,e,n,l,o;const{TimeInterval:r}=this;return new r({unit:null!==(i=t.unit)&&void 0!==i?i:null===(o=null===(l=null===(n=null===(e=t.layerView)||void 0===e?void 0:e.layer)||void 0===n?void 0:n.timeInfo)||void 0===l?void 0:l.interval)||void 0===o?void 0:o.unit,value:1})}getLabel(t){var i,e;return(null===(e=null===(i=null==t?void 0:t.layerView)||void 0===i?void 0:i.layer)||void 0===e?void 0:e.title)||""}},c=class{constructor(i){t(this,i),this.timeSliderRef=void 0,this.timeInfoConfigItems=[],this.filterMode=void 0,this.view=void 0,this.timeSliderConfig=void 0,this.autoPlay=!1}async updateTimeInfoConfigItems(){d.timeInfoConfigItems=this.timeInfoConfigItems,await v.init(this.timeSliderRef)}async updateFilterMode(){d.filterMode=this.filterMode}async updateTimeSliderConfig(){d.timeSliderConfig=this.timeSliderConfig,await v.init(this.timeSliderRef)}async updateAutoPlay(){d.autoPlay=this.autoPlay,d.timeSlider&&(d.autoPlay?d.timeSlider.play():d.timeSlider.stop())}async componentWillLoad(){try{d.view=this.view,d.timeInfoConfigItems=this.timeInfoConfigItems,d.autoPlay=!!this.autoPlay,this.timeSliderConfig&&(d.timeSliderConfig=this.timeSliderConfig),this.filterMode&&(d.filterMode=this.filterMode),await a(this)}catch(t){}}async componentDidLoad(){try{await v.init(this.timeSliderRef)}catch(t){}finally{d.loading=!1}}disconnectedcallback(){v.destroy()}render(){return i(e,{key:"70cc1da4bf2334962b6034fe79383ae016e5738e"},this._renderBase())}_renderBase(){return i("div",{class:"instant-apps-time-filter"+("2d"!==this.view.type?" instant-apps-time-filter--3d":"")},this._renderLoader(),"2d"===this.view.type&&this._renderTopEl(),i("div",{key:"time-slider",ref:t=>this.timeSliderRef=t}))}_renderLoader(){var t,e;return d.loading&&i("div",null,i("div",{class:"instant-apps-time-filter__background"}),i("div",{class:"instant-apps-time-filter__loading-container"},i("calcite-loader",{scale:"m",label:null===(t=this.messages)||void 0===t?void 0:t.loading,text:null===(e=this.messages)||void 0===e?void 0:e.loading})))}_renderTopEl(){return this.timeInfoConfigItems.length>1?this._renderDropdown():this._renderLayerTitle()}_renderLayerTitle(){var t,e,n;const l=null===(n=null===(e=null===(t=d.selectedTimeInfoItem)||void 0===t?void 0:t.layerView)||void 0===e?void 0:e.layer)||void 0===n?void 0:n.title;return i("span",{class:"instant-apps-time-filter__layer-title"},l)}_renderDropdown(){return d.selectedTimeInfoItem&&i("calcite-dropdown",null,this._renderDropdownButton(),this._renderDropdownItems())}_renderDropdownButton(){return i("calcite-button",{slot:"trigger",appearance:"transparent",iconEnd:"chevron-down",width:"full",alignment:"space-between"},v.getLabel(d.selectedTimeInfoItem))}_renderDropdownItems(){return d.timeInfoItems.map((t=>this._renderDropdownItem(t)))}_renderDropdownItem(t){var e,n,l,o,r;const a=null===(l=null===(n=null===(e=d.selectedTimeInfoItem)||void 0===e?void 0:e.layerView)||void 0===n?void 0:n.layer)||void 0===l?void 0:l.id,s=null===(r=null===(o=null==t?void 0:t.layerView)||void 0===o?void 0:o.layer)||void 0===r?void 0:r.id;return i("calcite-dropdown-item",{onCalciteDropdownItemSelect:()=>v.updateSelectedTimeInfoItem(t),selected:a===s},v.getLabel(t))}get el(){return n(this)}static get watchers(){return{timeInfoConfigItems:["updateTimeInfoConfigItems"],filterMode:["updateFilterMode"],timeSliderConfig:["updateTimeSliderConfig"],autoPlay:["updateAutoPlay"]}}};c.style=".instant-apps-time-filter{position:relative;display:block;min-width:375px;min-height:200px}.instant-apps-time-filter__background{background-color:var(--calcite-ui-background);position:absolute;top:0;left:0;width:100%;height:100%;z-index:0}.instant-apps-time-filter calcite-dropdown{width:100%}.instant-apps-time-filter calcite-dropdown calcite-button{--calcite-color-brand:var(--calcite-ui-text-1);--calcite-ui-brand:var(--calcite-ui-text-1)}.instant-apps-time-filter__layer-title{font-weight:550;display:inline-block;padding:10px}.instant-apps-time-filter__loading-container{display:flex;justify-content:center;align-items:center;position:absolute;top:0;left:0;width:100%;height:100%;z-index:1}.instant-apps-time-filter--3d{min-height:160px}";export{c as instant_apps_time_filter}
|
@@ -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{h as e,r as i,f as t,g as n}from"./p-8c40bdec.js";import{h as a,s,g as l,v as r,a as c,i as o,b as d,c as v,d as p,e as u,f as g,j as h,u as f,k as m,l as y}from"./p-c223bd87.js";import{c as _}from"./p-d4056c1c.js";import{l as b}from"./p-08ad0b7a.js";import"./p-89fbc318.js";import"./p-fa639501.js";import"./p-0a24ad5f.js";const w=96;function k(e){return e?e/72*w:0}var x={exports:{}};!function(e){var i,t="http://www.w3.org/",n="".concat(t,"2000/svg"),a="".concat(t,"1999/xlink"),s=[],l=function(e,i){var t={};return Object.keys(e).forEach((function(i){t[i]=e[i]})),i&&Object.keys(i).forEach((function(e){t[e]=i[e]})),t},r=function(e,i){return e.vnodeSelector===i.vnodeSelector&&(e.properties&&i.properties?e.properties.key===i.properties.key&&e.properties.bind===i.properties.bind:!e.properties&&!i.properties)},c=function(e){if("string"!=typeof e)throw new Error("Style values must be strings")},o=function(e,i,t){if(""!==i.vnodeSelector)for(var n=t;n<e.length;n++)if(r(e[n],i))return n;return-1},d=function(e,i,t,n){var a=e[i];if(""!==a.vnodeSelector){var s=a.properties;if(!(s?void 0===s.key?s.bind:s.key:void 0))for(var l=0;l<e.length;l++)if(l!==i&&r(e[l],a))throw{error:new Error("".concat(t.vnodeSelector," had a ").concat(a.vnodeSelector," child ").concat("added"===n?n:"removed",", but there is now more than one. You must add unique key properties to make them distinguishable.")),parentNode:t,childNode:a}}},v=function(e){if(e.properties){var i=e.properties.enterAnimation;i&&i(e.domNode,e.properties)}},p=[],u=!1,g=function(e){(e.children||[]).forEach(g),e.properties&&e.properties.afterRemoved&&e.properties.afterRemoved.apply(e.properties.bind||e.properties,[e.domNode])},h=function(){u=!1,p.forEach(g),p.length=0},f=function(e){p.push(e),u||(u=!0,"undefined"!=typeof window&&"requestIdleCallback"in window?window.requestIdleCallback(h,{timeout:16}):setTimeout(h,16))},m=function(e){var i=e.domNode;if(e.properties){var t=e.properties.exitAnimation;if(t){i.style.pointerEvents="none";return void t(i,(function(){i.parentNode&&(i.parentNode.removeChild(i),f(e))}),e.properties)}}i.parentNode&&(i.parentNode.removeChild(i),f(e))},y=function(e,i,t){(function(e,i,t){if(i)for(var n=0,a=i;n<a.length;n++)_(a[n],e,void 0,t)})(e,i.children,t),i.text&&(e.textContent=i.text),function(e,i,t){if(i)for(var s=t.eventHandlerInterceptor,l=Object.keys(i),r=l.length,o=function(r){var o,d=l[r],v=i[d];if("className"===d)throw new Error('Property "className" is not supported, use "class".');if("class"===d)b(e,v,!0);else if("classes"===d)for(var p=Object.keys(v),u=p.length,g=0;g<u;g++){var h=p[g];v[h]&&e.classList.add(h)}else if("styles"===d){var f=Object.keys(v),m=f.length;for(g=0;g<m;g++){var y=f[g],_=v[y];_&&(c(_),t.styleApplyer(e,y,_))}}else if("key"!==d&&null!=v){var w=typeof v;"function"===w?(0===d.lastIndexOf("on",0)&&(s&&(v=s(d,v,e,i)),"oninput"===d&&(o=v,v=function(e){o.apply(this,[e]),e.target["oninput-value"]=e.target.value})),e[d]=v):t.namespace===n?"href"===d?e.setAttributeNS(a,d,v):e.setAttribute(d,v):"string"===w&&"value"!==d&&"innerHTML"!==d?e.setAttribute(d,v):e[d]=v}},d=0;d<r;d++)o(d)}(e,i.properties,t),i.properties&&i.properties.afterCreate&&i.properties.afterCreate.apply(i.properties.bind||i.properties,[e,t,i.vnodeSelector,i.properties,i.children])},_=function(e,i,t,a){var s,r,c=0,o=e.vnodeSelector,d=i.ownerDocument;if(""===o)e.domNode?e.domNode.nodeValue=e.text:(r=e.domNode=d.createTextNode(e.text),void 0!==t?i.insertBefore(r,t):i.appendChild(r));else{for(var v=0;v<=o.length;++v){var p=o.charAt(v);if(v===o.length||"."===p||"#"===p){var u=o.charAt(c-1),g=o.slice(c,v);"."===u?r.classList.add(g):"#"===u?r.id=g:("svg"===g&&(a=l(a,{namespace:n})),void 0!==a.namespace?r=e.domNode=d.createElementNS(a.namespace,g):(r=e.domNode=e.domNode||((null===(s=e.properties)||void 0===s?void 0:s.is)?d.createElement(g,{is:e.properties.is}):d.createElement(g)),"input"===g&&e.properties&&void 0!==e.properties.type&&r.setAttribute("type",e.properties.type)),void 0!==t?i.insertBefore(r,t):r.parentNode!==i&&i.appendChild(r)),c=v+1}}y(r,e,a)}},b=function(e,i,t){i&&i.split(" ").forEach((function(i){i&&e.classList.toggle(i,t)}))};i=function(e,t,p){var u=e.domNode,g=!1;if(e===t)return!1;var h=!1;if(""===t.vnodeSelector){if(t.text!==e.text){var f=u.ownerDocument.createTextNode(t.text);return u.parentNode.replaceChild(f,u),t.domNode=f,!0}t.domNode=u}else 0===t.vnodeSelector.lastIndexOf("svg",0)&&(p=l(p,{namespace:n})),e.text!==t.text&&(h=!0,void 0===t.text?u.removeChild(u.firstChild):u.textContent=t.text),t.domNode=u,h=function(e,t,n,a,l){if(n===a)return!1;for(var c,p=(n=n||s).length,u=(a=a||s).length,g=0,h=0,f=!1;h<u;){var y=g<p?n[g]:void 0,b=a[h];if(void 0!==y&&r(y,b))f=i(y,b,l)||f,g++;else{var w=o(n,b,g+1);if(w>=0){for(c=g;c<w;c++)m(n[c]),d(n,c,e,"removed");f=i(n[w],b,l)||f,g=w+1}else _(b,t,g<p?n[g].domNode:void 0,l),v(b),d(a,h,e,"added")}h++}if(p>g)for(c=g;c<p;c++)m(n[c]),d(n,c,e,"removed");return f}(t,u,e.children,t.children,p)||h,h=function(e,i,t,s){if(t){for(var l=!1,r=Object.keys(t),o=r.length,d=0;d<o;d++){var v=r[d],p=t[v],u=i[v];if("class"===v)u!==p&&(b(e,u,!1),b(e,p,!0));else if("classes"===v)for(var g=e.classList,h=Object.keys(p),f=h.length,m=0;m<f;m++){var y=h[m],_=!!p[y];_!==!!u[y]&&(l=!0,_?g.add(y):g.remove(y))}else if("styles"===v){var w=Object.keys(p),k=w.length;for(m=0;m<k;m++){var x=w[m],$=p[x];$!==u[x]&&(l=!0,$?(c($),s.styleApplyer(e,x,$)):s.styleApplyer(e,x,""))}}else if(p||"string"!=typeof u||(p=""),"value"===v){var L=e[v];L!==p&&(e["oninput-value"]?L===e["oninput-value"]:p!==u)&&(e[v]=p,e["oninput-value"]=void 0),p!==u&&(l=!0)}else if(p!==u){var j=typeof p;"function"===j&&s.eventHandlerInterceptor||(s.namespace===n?"href"===v?e.setAttributeNS(a,v,p):e.setAttribute(v,p):"string"===j&&"innerHTML"!==v?"role"===v&&""===p?e.removeAttribute(v):e.setAttribute(v,p):e[v]!==p&&(e[v]=p),l=!0)}}return l}}(u,e.properties,t.properties,p)||h,t.properties&&t.properties.afterUpdate&&t.properties.afterUpdate.apply(t.properties.bind||t.properties,[u,p,t.vnodeSelector,t.properties,t.children]);return h&&t.properties&&t.properties.updateAnimation&&t.properties.updateAnimation(u,t.properties,e.properties),g};var w=function(e,t){return{getLastRender:function(){return e},update:function(n){if(e.vnodeSelector!==n.vnodeSelector)throw new Error("The selector for the root VNode may not be changed. (consider using dom.merge and add one extra level to the virtual DOM)");var a=e;e=n,i(a,n,t)},domNode:e.domNode}},k={namespace:void 0,performanceLogger:function(){},eventHandlerInterceptor:void 0,styleApplyer:function(e,i,t){"-"===i.charAt(0)?e.style.setProperty(i,t):e.style[i]=t}},x=function(e){return l(k,e)},$={create:function(e,i){return i=x(i),_(e,document.createElement("div"),void 0,i),w(e,i)},append:function(e,i,t){return t=x(t),_(i,e,void 0,t),w(i,t)},insertBefore:function(e,i,t){return t=x(t),_(i,e.parentNode,e,t),w(i,t)},merge:function(e,i,t){return t=x(t),i.domNode=e,y(e,i,t),w(i,t)},replace:function(e,i,t){return t=x(t),_(i,e.parentNode,e,t),e.parentNode.removeChild(e),w(i,t)}},L=function(e,i,t){for(var n=0,a=i.length;n<a;n++){var s=i[n];Array.isArray(s)?L(e,s,t):null!=s&&!1!==s&&("string"==typeof s&&(s={vnodeSelector:"",properties:void 0,children:void 0,text:s.toString(),domNode:null}),t.push(s))}};var j;j=Array.prototype.find?function(e,i){return e.find(i)}:function(e,i){return e.filter(i)[0]};var O=function(e,i,t){return function(){return n};function n(n){t("domEvent",n);var a=i(),s=function(e,i){for(var t=[];e&&e!==i;)t.push(e),e=e.parentNode;return t}(n.currentTarget,a.domNode);s.reverse();var l,r=function(e,i){var t=e;return i.forEach((function(e){t=t&&t.children?j(t.children,(function(i){return i.domNode===e})):void 0})),t}(a.getLastRender(),s);return e.scheduleRender(),r&&(l=r.properties["on".concat(n.type)].apply(r.properties.bind||this,arguments)),t("domEventProcessed",n),l}};e.createCache=function(){var e,i;return{invalidate:function(){i=void 0,e=void 0},result:function(t,n){if(e)for(var a=0;a<t.length;a++)e[a]!==t[a]&&(i=void 0);return i||(i=n(),e=t),i}}},e.createMapping=function(e,i,t){var n=[],a=[];return{results:a,map:function(s){for(var l=s.map(e),r=a.slice(),c=0,o=0;o<s.length;o++){var d=s[o],v=l[o];if(v===n[c])a[o]=r[c],t(d,r[c],o),c++;else{for(var p=!1,u=1;u<n.length+1;u++){var g=(c+u)%n.length;if(n[g]===v){a[o]=r[g],t(s[o],r[g],o),c=g+1,p=!0;break}}p||(a[o]=i(d,o))}}a.length=s.length,n=l}}},e.createProjector=function(e){var i,t,n=x(e),a=n.performanceLogger,s=!0,l=!1,r=[],c=[],o=function(e,t,s){var l;n.eventHandlerInterceptor=O(i,(function(){return l}),a),l=e(t,s(),n),r.push(l),c.push(s)},d=function(){if(t=void 0,s){s=!1,a("renderStart",void 0);for(var e=0;e<r.length;e++){var i=c[e]();a("rendered",void 0),r[e].update(i),a("patched",void 0)}a("renderDone",void 0),s=!0}};return i={renderNow:d,scheduleRender:function(){t||l||(t=requestAnimationFrame(d))},stop:function(){t&&(cancelAnimationFrame(t),t=void 0),l=!0},resume:function(){l=!1,s=!0,i.scheduleRender()},append:function(e,i){o($.append,e,i)},insertBefore:function(e,i){o($.insertBefore,e,i)},merge:function(e,i){o($.merge,e,i)},replace:function(e,i){o($.replace,e,i)},detach:function(e){for(var i=0;i<c.length;i++)if(c[i]===e)return c.splice(i,1),r.splice(i,1)[0];throw new Error("renderFunction was not found")}}},e.dom=$,e.h=function(e,i,t){if(Array.isArray(i))t=i,i=void 0;else if(i&&("string"==typeof i||i.vnodeSelector)||t&&("string"==typeof t||t.vnodeSelector))throw new Error("h called with invalid arguments");var n,a;return t&&1===t.length&&"string"==typeof t[0]?n=t[0]:t&&(L(e,t,a=[]),0===a.length&&(a=void 0)),{vnodeSelector:e,properties:i,children:a,text:""===n?void 0:n,domNode:null}}}(x.exports);const $=x.exports.createProjector(),L=20,j={univariateAboveAndBelowSymbol:"esri-univariate-above-and-below-ramp__symbol",colorRamp:"esri-legend__color-ramp"};function O(i="vertical"){const t="stroke:rgb(200, 200, 200);stroke-width:1";return"vertical"===i?e("svg",{height:"4",width:"10"},e("line",{x1:"0",y1:"2",x2:"10",y2:"2",style:t})):e("svg",{height:"10",width:"10"},e("line",{x1:"5",y1:"0",x2:"5",y2:"10",style:t}))}function z(e,i="vertical"){const t=document.createElement("div");return t.style.height=`${L}px`,t.className=j.univariateAboveAndBelowSymbol,null!=e&&(t.style.opacity=e.toString()),$.append(t,O.bind(null,i)),t}function R(e,i,t="vertical",n){e.infos.forEach(((e,a)=>{if(n&&2===a)e.preview=z(i,t);else{const{size:i}=e,n=k(i)+("horizontal"===t?20:10),a="div"===e.preview.tagName.toLowerCase(),s=a?e.preview:document.createElement("div");s&&(s.className=j.univariateAboveAndBelowSymbol),"horizontal"===t?s&&(s.style.width=`${n}px`):s&&(s.style.height=`${n}px`),a||s&&s.appendChild(e.preview),e.preview=s}}))}function E(e,i="classic"){const t=e.infos,n=t[0].size,a=t[t.length-1].size;return"classic"===i?(k(n)+10)/2:(k(n)-k(a))/2}async function A(e,i){if(!e)return Promise.resolve(null);const t=e.infos.map((e=>e.color)),[n]=await b(["esri/symbols/support/symbolUtils"]),a=n.renderColorRampPreviewHTML("full"===i.type?t:"above"===i.type?t.slice(0,3):t.slice(2,5),{width:i.width,height:i.height,align:i.rampAlignment,effectList:i.effectList});return a.className=j.colorRamp,null!=i.opacity&&(a.style.opacity=i.opacity.toString()),Promise.resolve(a)}function F(e,i,t,n="vertical"){const a=function(e,i,t,n="vertical"){let a=0;const s=e.infos,l=Math.floor(s.length/2),r="full"===i||"below"===i?s.length-1:l;for(let e="full"===i||"above"===i?0:l;e<=r;e++)a+=t&&e===l?"horizontal"===n?10:L:k(s[e].size)+("horizontal"===n?20:10);return Math.round(a)}(e,i,t,n),s=e.infos,l=Math.floor(s.length/2),r="full"===i||"above"===i?0:l,c="full"===i||"below"===i?s.length-1:l,o=t?"vertical"===n?L:10:0,d="vertical"===n?10*("full"===i?2:1):20*("full"===i?2:1);return Math.round(a-(k("full"===i?s[r].size+s[c].size:"above"===i?s[r].size:s[c].size)/2+o/2+d/2))}const M="esri-legend__layer-body",C="esri-legend__layer-row",I="esri-legend__layer-cell esri-legend__layer-cell--info",T="esri-legend__layer-cell esri-legend__layer-cell--symbols",N="esri-legend__symbol",S="esri-legend__ramps",P="esri-legend__size-ramp",H="esri-legend__ramp-labels",D="esri-legend__ramp-label",q="esri-univariate-above-and-below-ramp__label",B={display:"flex",alignItems:"flex-start"},U={marginLeft:"3px"},V={display:"table-cell",verticalAlign:"middle"},W=class{constructor(e){i(this,e),this.calculatingFeatureCount=!1,this.legendvm=void 0,this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"},this.messages=void 0,this.isLoading=!0,this.intLegendId=void 0}handleFilterModeChange(){a(this.filterMode,this.legendvm.view)}async connectedCallback(){if(this.handles)return;const[e]=await b(["esri/core/Handles"]);this.handles=new e}async componentWillLoad(){new MutationObserver((()=>{t(this.el)})).observe(this.el,{attributes:!0});const[e,i]=await b(["esri/intl","esri/core/reactiveUtils"]);this.reactiveUtils=i,this.intl=e}async componentDidLoad(){this.initLegend()}async initLegend(){try{await this.reactiveUtils.whenOnce((()=>{var e;return null===(e=this.legendvm)||void 0===e?void 0:e.view}));const e=async()=>{var e,i,t,n;try{const a=await(null===(t=null===(i=null===(e=this.legendvm)||void 0===e?void 0:e.view)||void 0===i?void 0:i.map)||void 0===t?void 0:t.load());await(null===(n=null==a?void 0:a.basemap)||void 0===n?void 0:n.load());const l=null==a?void 0:a.allLayers,r=null==l?void 0:l.map((e=>e.load())),c=(await Promise.allSettled(r)).map((e=>"fulfilled"===(null==e?void 0:e.status)&&(null==e?void 0:e.value)?e.value:null)).filter((e=>!!e)),d=[];c.forEach((e=>{var i;(null===(i=this.legendvm)||void 0===i?void 0:i.view)&&d.push(this.legendvm.view.whenLayerView(e))})),await Promise.allSettled(d);const v=await u(this.legendvm,this.reactiveUtils);s.set("data",Object.assign(Object.assign({},o.data),v)),this.isLoading=!1,this.setupWatchersAndListeners()}catch(e){console.error(e),this.isLoading=!1}};this.legendvm.view.when(e),this.legendvm.view.map.layers.on("after-changes",e)}catch(e){this.isLoading=!1}}disconnectedCallback(){var e,i;null===(e=this.handles)||void 0===e||e.removeAll(),null===(i=this.handles)||void 0===i||i.destroy(),this.handles=null}render(){var i,t,n;const a=this.renderFilteredLayers(),r=s.get("compact")?" instant-apps-interactive-legend__compact":"";return this.isLoading?e("calcite-loader",{key:"interactive-legend-loader",scale:"m",label:null===(i=this.messages)||void 0===i?void 0:i.loading,text:null===(t=this.messages)||void 0===t?void 0:t.loading}):e("div",{key:"interactive-legend-classic-container",class:`${l(this.el)}${r}`},(null==a?void 0:a.length)>0?a:e("div",{class:"esri-legend__message"},null===(n=this.messages)||void 0===n?void 0:n.noLegend))}renderFilteredLayers(){var e,i;return(null===(i=null===(e=this.legendvm)||void 0===e?void 0:e.activeLayerInfos)||void 0===i?void 0:i.toArray()).map((e=>this.renderLegendForLayer(e))).filter((e=>!!e))}renderLegendForLayer(i,t){var n,a;if(!i.ready)return null;if(i.children.length){const a=i.children.map((e=>this.renderLegendForLayer(e,!0))).toArray();return e("instant-apps-interactive-legend-group-legend-element",{class:l(this.el),legendvm:this.legendvm,featureCount:this.featureCount,activeLayerInfo:i,isChild:t},e("div",{style:{paddingLeft:"20px"},id:`${null===(n=null==i?void 0:i.layer)||void 0===n?void 0:n.id}-legend-layer`,slot:"content"},a))}const s=i.legendElements;if(s&&!s.length)return null;const r=s.map(((e,t)=>this.renderLegendForElement(e,i.layer,i.effectList,i,t))).filter((e=>!!e));return r.length?e("instant-apps-interactive-legend-layer-element",{class:l(this.el),legendvm:this.legendvm,featureCount:this.featureCount,activeLayerInfo:i,messages:this.messages,isChild:t},e("div",{slot:"content",id:`${null===(a=null==i?void 0:i.layer)||void 0===a?void 0:a.id}-legend-layer`,class:"esri-legend__layer"},r)):null}renderLegendForElement(i,t,n,a,s,c,o){const d="color-ramp"===i.type,v="opacity-ramp"===i.type,p="size-ramp"===i.type;let u=null;const g=r(a,i,s),h="relationship-ramp"===(null==i?void 0:i.type);if("symbol-table"===i.type||p){const l=i.infos.map(((e,l)=>this.renderLegendForElementInfo(e,t,n,p,i,a,s,l,g,o||null))).filter((e=>!!e));l.length&&(u=e("div",{class:M},l))}else"color-ramp"===i.type||"opacity-ramp"===i.type||"heatmap-ramp"===i.type||"stretch-ramp"===i.type?u=this.renderLegendForRamp(i,t.opacity):"relationship-ramp"===i.type?u=e("instant-apps-interactive-legend-relationship",{class:l(this.el),key:"relationship-ramp",filterMode:this.filterMode,activeLayerInfo:a,legendElement:i,messages:this.messages}):"pie-chart-ramp"===i.type?u=this.renderPieChartRamp(i):"univariate-above-and-below-ramp"===i.type?u=this.renderUnivariateAboveAndBelowRamp(i,t.opacity,n):"univariate-color-size-ramp"===i.type&&(u=this.renderUnivariateColorSizeRamp(i,t.opacity,n));if(!u)return null;const f=i.title;let m=null;if("string"==typeof f)m=f;else if(f){const e=this.getTitle(this.messages,f,d||v);m=this.isRendererTitle(f,d||v)&&f.title?`${f.title} (${e})`:e}return e("instant-apps-interactive-legend-legend-element",{class:l(this.el),activeLayerInfo:a,isSizeRamp:p,isChild:c,isColorRamp:d,isRelationshipRamp:h,isInteractive:g,zoomTo:this.zoomTo,legendElement:i,titleText:m,legendvm:this.legendvm,legendElementIndex:s,messages:this.messages},e("div",{slot:"content"},u))}renderPieChartRamp(i){var t;return e("div",{innerHTML:`${null===(t=i.preview)||void 0===t?void 0:t.outerHTML}`})}async renderUnivariateAboveAndBelowRamp(i,t,n){const{sizeRampElement:a,colorRampElement:s}=function(e,i,t="vertical"){const n=e.infos;let a=n.find((({type:e})=>"size-ramp"===e)),s=n.find((({type:e})=>"color-ramp"===e));return a&&(a=Object.assign({},a),a.infos=[...a.infos],R(a,i,t,!0)),s&&(s=Object.assign({},s),s.infos=[...s.infos]),"horizontal"===t&&(null==a||a.infos.reverse(),null==s||s.infos.reverse()),{sizeRampElement:a,colorRampElement:s}}(i,t);if(!a)return null;const l=F(a,"above",!0),r=F(a,"below",!0),c=await A(s,{width:12,height:l,rampAlignment:"vertical",opacity:t,type:"above",effectList:n}),o=await A(s,{width:12,height:r,rampAlignment:"vertical",opacity:t,type:"below",effectList:n}),d=E(a),v=a.infos.map((e=>e.label)),p=v.map(((i,t)=>{const n=2===t;return 0===t?e("div",{class:i?c?q:D:""},i):n?e("div",null):null})),u=v.length-1,g=Math.floor(v.length/2),h=v.map(((i,t)=>t===g||t===u?e("div",{class:i?c?q:D:""},i):null)),f={display:"table-cell",verticalAlign:"middle"},m={marginTop:`${d}px`},y={height:`${l}px`},_={height:`${r}px`};return e("div",{key:"univariate-above-and-below-ramp-preview",style:B},e("div",{class:M},a.infos.map(((i,t)=>e("div",{class:`${C} ${P}`},e("div",{class:N,style:f,innerHTML:`${i.preview.outerHTML}`}),c||t%2!=0?null:e("div",{class:I},v[t]))))),c?e("div",{style:m,key:"color-ramp-preview"},e("div",{style:U},e("div",{style:V},e("div",{class:S},c)),e("div",{style:V},e("div",{class:H,style:y},p))),e("div",{style:U},e("div",{style:V},e("div",{class:S},o)),e("div",{style:V},e("div",{class:H,style:_},h)))):null)}renderUnivariateColorSizeRamp(i,t,n){const{sizeRampElement:a,colorRampElement:s}=function(e,i="vertical"){const t=e.infos;let n=t.find((({type:e})=>"size-ramp"===e)),a=t.find((({type:e})=>"color-ramp"===e));return n&&(n=Object.assign({},n),n.infos=[...n.infos],R(n,null,i,!1)),a&&(a=Object.assign({},a),a.infos=[...a.infos]),"horizontal"===i&&(null==n||n.infos.reverse(),null==a||a.infos.reverse()),{sizeRampElement:n,colorRampElement:a}}(i);if(!a)return null;const l=E(a),r=F(a,"full",!1),c=A(s,{width:12,height:r,rampAlignment:"vertical",opacity:t,type:"full",effectList:n}),o=a.infos.length-1,d=a.infos.map(((i,t)=>0===t||t===o?e("div",{class:i.label?s?q:D:""},i.label):null)),v={display:"table-cell",verticalAlign:"middle"},p={marginTop:`${l}px`},u={height:`${r}px`};return e("div",{key:"univariate-above-and-below-ramp-preview",style:B},e("div",{class:M},a.infos.map((i=>e("div",{class:`${C} ${P}`},e("div",{class:N,style:v,innerHTML:`${i.preview.outerHTML}`}))))),e("div",{style:p,key:"color-ramp-preview"},e("div",{style:U},e("div",{style:V},e("div",{class:S},c)),e("div",{style:V},e("div",{class:H,style:u},d)))))}renderLegendForRamp(i,t){var n;const a=i.infos,s="heatmap-ramp"===i.type,l="stretch-ramp"===i.type,r=i.preview,c="opacity-ramp"===i.type?"esri-legend__opacity-ramp":"";r&&(r.classList.add("esri-legend__color-ramp"),c&&r.classList.add(c)),null!=t&&r&&(r.style.opacity=t.toString());const o=a.map((i=>e("div",{class:i.label?D:""},s?this.messages[i.label]||i.label:l?this.getStretchStopLabel(i):i.label))),d={height:null===(n=null==r?void 0:r.style)||void 0===n?void 0:n.height};return e("div",{class:C},e("div",{class:T,style:Object.assign({},{width:"24px"})},e("div",{ref:e=>{var i;(null==e?void 0:e.firstChild)&&(null===(i=null==e?void 0:e.firstChild)||void 0===i||i.remove()),null==e||e.appendChild(r)},class:S})),e("div",{class:I},e("div",{class:H,style:Object.assign({},d)},o)))}getStretchStopLabel(e){return e.label?this.messages[e.label]+": "+("string"==typeof e.value?e.value:this.intl.formatNumber(e.value,{style:"decimal",notation:e.value.toString().includes("e")?"scientific":"standard"})):""}renderLegendForElementInfo(i,t,n,a,r,p,u,g,h,f){var m,_;if(i.type)return this.renderLegendForElement(i,t,n,p,u,!0,i);let b;if(i.preview?b=e("div",{class:N,innerHTML:`${i.preview.outerHTML}`}):i.src&&(b=this.renderImage(i,t,!1)),!b)return null;const w=a?` ${P}`:"";let k;const x=y(t),$=c(x,f);if(o.data){const e=d(x,t,i,$,g),n=v($?null==$?void 0:$.nestedInfos:x);k=1===(null===(m=null==x?void 0:x.categories)||void 0===m?void 0:m.size)?!(null==e?void 0:e.selected):n||(null==e?void 0:e.selected)}const L=!($&&!(null==i?void 0:i.value))&&h,j=s.get("compact"),O=this.getTitle(this.messages,i.label,!1)||"";return L?e("button",{onClick:this.applyFilter(i,t,g,f),class:`${C} instant-apps-interactive-legend__layer-row--interactive${k?" instant-apps-interactive-legend-element-info--selected":""}`,title:j?`${O}`:void 0},e("div",{class:`${T}${w}`},b),e("div",{class:`${I}`},this.getTitle(this.messages,i.label,!1)||""),this.featureCount&&!j?e("instant-apps-interactive-legend-count",{class:l(this.el),categoryId:$?r.title:null!==(_=i.label)&&void 0!==_?_:null==t?void 0:t.id,activeLayerInfo:p,legendvm:this.legendvm,messages:this.messages,selected:k,legendElement:r,infoIndex:g}):null):e("div",{class:C},e("div",{class:`${T}${w}`},b),e("div",{class:`${I}`},O))}renderImage(i,t,n){const{label:a,src:s,opacity:l}=i,r=n?" esri-legend__imagery-layer-image--stretched":"",c=n?"":` ${N}`,o={opacity:`${null!=l?l:t.opacity}`};return e("img",{alt:this.getTitle(this.messages,a,!1),src:s,width:i.width,height:i.height,class:`$${r}${c}`,style:o})}getTitle(e,i,t){var n,a;if(!i)return;if("string"==typeof i||"number"==typeof i)return i;if("value"in i||"unit"in i)return this.intl.substitute(null!==(n=null==e?void 0:e.dotValue)&&void 0!==n?n:"",i);if("colorName"in i||"bandName"in i)return e[i.colorName]+": "+(e[i.bandName]||i.bandName);if("showCount"in i)return i.showCount?e.clusterCountTitle:null;let s=null;return this.isRampTitle(i,t)?s=i.ratioPercentTotal?"showRatioPercentTotal":i.ratioPercent?"showRatioPercent":i.ratio?"showRatio":i.normField?"showNormField":i.field?"showField":null:this.isRendererTitle(i,t)&&(s=i.normField?"showNormField":i.normByPct?"showNormPct":i.field?"showField":null),s?null===(a=this.intl)||void 0===a?void 0:a.substitute("showField"===s?"{field}":e[s],{field:i.field,normField:i.normField}):""}isRampTitle(e,i){return i}isRendererTitle(e,i){return!i}setupWatchersAndListeners(){var e,i,n,a,l,r,c;const d=null===(a=null===(n=null===(i=null===(e=this.legendvm)||void 0===e?void 0:e.view)||void 0===i?void 0:i.map)||void 0===n?void 0:n.allLayers)||void 0===a?void 0:a.filter((e=>"feature"===(null==e?void 0:e.type)));d.forEach((async e=>{var i,t,n,a;try{const s=await(null===(t=null===(i=this.legendvm)||void 0===i?void 0:i.view)||void 0===t?void 0:t.whenLayerView(e)),l=`fLayerViewScale-${null==e?void 0:e.id}`;(null===(n=this.handles)||void 0===n?void 0:n.has(l))||null===(a=this.handles)||void 0===a||a.add(s.watch("visibleAtCurrentScale",(async()=>this.createDataForLayer(e))),l)}catch(e){}})),null==d||d.forEach((e=>{var i,t,n;const a=`fLayer-${null==e?void 0:e.id}`;(null===(i=this.handles)||void 0===i?void 0:i.has(a))||null===(t=this.handles)||void 0===t||t.add(null===(n=this.reactiveUtils)||void 0===n?void 0:n.watch((()=>null==e?void 0:e.visible),(async()=>this.createDataForLayer(e))),a)})),null===(l=this.handles)||void 0===l||l.add(this.reactiveUtils.when((()=>this.legendvm),(()=>{this.reactiveUtils.watch((()=>{var e,i;return null===(i=null===(e=this.legendvm)||void 0===e?void 0:e.view)||void 0===i?void 0:i.updating}),(()=>{var e,i;this.calculatingFeatureCount||(null===(i=null===(e=this.legendvm)||void 0===e?void 0:e.view)||void 0===i?void 0:i.updating)&&(this.calculatingFeatureCount=!0,this.reactiveUtils.when((()=>{var e,i;return!(null===(i=null===(e=this.legendvm)||void 0===e?void 0:e.view)||void 0===i?void 0:i.updating)}),(async()=>{const e=await p(this.legendvm,o.data);s.set("data",Object.assign(Object.assign({},o.data),e)),this.calculatingFeatureCount=!1}),{once:!0,initial:!0}))}),{initial:!0})}),{initial:!0,once:!0})),null===(r=this.handles)||void 0===r||r.add(this.reactiveUtils.on((()=>{var e;return null===(e=this.legendvm)||void 0===e?void 0:e.activeLayerInfos}),"change",(async e=>{var i;const n=await u(this.legendvm,this.reactiveUtils);s.set("data",Object.assign(Object.assign({},o.data),n)),t(this.el),null===(i=this.handles)||void 0===i||i.add(this.reactiveUtils.on((()=>e.children),"change",(async()=>{const e=await u(this.legendvm,this.reactiveUtils);s.set("data",Object.assign(Object.assign({},o.data),e)),t(this.el)})))}))),null===(c=this.handles)||void 0===c||c.add(this.reactiveUtils.on((()=>{var e,i,t;return null===(t=null===(i=null===(e=this.legendvm)||void 0===e?void 0:e.view)||void 0===i?void 0:i.map)||void 0===t?void 0:t.layers}),"after-changes",(async()=>{const e=await p(this.legendvm,o.data);s.set("data",Object.assign(Object.assign({},o.data),e)),this.calculatingFeatureCount=!1})))}async createDataForLayer(e){var i;const t=s.get("data"),n=null==t?void 0:t[null==e?void 0:e.id],a=g(null===(i=this.legendvm)||void 0===i?void 0:i.activeLayerInfos),l=null==a?void 0:a.find((i=>{var t;return(null===(t=null==i?void 0:i.layer)||void 0===t?void 0:t.id)===(null==e?void 0:e.id)}));if(!n&&l){const i=await h(this.legendvm,l,this.reactiveUtils);if(f({intLegendLayerData:i,layerId:null==e?void 0:e.id}),this.featureCount){const e=await p(this.legendvm,o.data);s.set("data",Object.assign(Object.assign({},o.data),e))}}}applyFilter(e,i,t,n){return async()=>{var a;const s=Object.assign({},null===(a=o.data)||void 0===a?void 0:a[null==i?void 0:i.id]);n?await m(s,e,t,this.filterMode,n):await m(s,e,t,this.filterMode),f({intLegendLayerData:s,layerId:null==i?void 0:i.id})}}get el(){return n(this)}static get watchers(){return{filterMode:["handleFilterModeChange"]}}};W.style=".sc-instant-apps-interactive-legend-classic-h{display:block;--instant-apps-interactive-legend-heading-font-size:1rem;--instant-apps-interactive-legend-heading-font-weight:normal;--instant-apps-interactive-legend-caption-font-weight:normal;--instant-apps-interactive-legend-secondary-color:var(--calcite-color-text-1);--instant-apps-interactive-legend-field-name-font-size:1rem;--instant-apps-interactive-legend-total-feature-count-font-size:0.875rem;--instant-apps-interactive-legend-info-font-size:0.875rem;--instant-apps-interactive-legend-info-item-background--selected:#c7ebff;--instant-apps-interactive-legend-info-item-background--selected--dark:#009af2;--instant-apps-interactive-legend-info-item-background--hover:#e9e9e9;--instant-apps-interactive-legend-info-item-background--hover--dark:#4a4a4a;--instant-apps-interactive-legend-info-item-color--selected:var(--calcite-color-text-2);--instant-apps-interactive-legend-secondary-background-color:var(--calcite-color-background);--instant-apps-interactive-legend-ui-margin:20px 15px;--instant-apps-interactive-legend-ui-padding:20px 15px}.sc-instant-apps-interactive-legend-classic-h .esri-legend__service.sc-instant-apps-interactive-legend-classic{padding:0}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-body.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-table.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__group-layer-child.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-child-table.sc-instant-apps-interactive-legend-classic{margin:0;overflow:hidden}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic{display:flex;align-items:center;font-size:var(--instant-apps-interactive-legend-field-name-font-size);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic calcite-action.sc-instant-apps-interactive-legend-classic{margin-right:5px}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-classic{white-space:nowrap}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-classic calcite-button.sc-instant-apps-interactive-legend-classic{margin:2px}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic{font-weight:var(--instant-apps-interactive-legend-caption-font-weight)}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell.esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{font-size:var(--instant-apps-interactive-legend-info-font-size);text-align:left}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic{display:flex;align-items:center}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.sc-instant-apps-interactive-legend-classic .esri-legend__layer-body.sc-instant-apps-interactive-legend-classic{display:block;margin:var(--instant-apps-interactive-legend-ui-margin)}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.instant-apps-interactive-legend__nested-unique-symbol.sc-instant-apps-interactive-legend-classic>.esri-legend__layer-body.sc-instant-apps-interactive-legend-classic{margin:0}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.sc-instant-apps-interactive-legend-classic .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic{display:table-row}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.sc-instant-apps-interactive-legend-classic .esri-legend__layer-cell.sc-instant-apps-interactive-legend-classic{display:table-cell}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell--symbols.sc-instant-apps-interactive-legend-classic{justify-content:center;width:20%}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{width:65%}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic{margin:1px;background:transparent;border:none;width:100%}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic{position:relative}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend-element-info--selected.sc-instant-apps-interactive-legend-classic{background-color:var(--instant-apps-interactive-legend-info-item-background--selected)}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend-element-info--selected.sc-instant-apps-interactive-legend-classic{cursor:pointer;background-color:var(--instant-apps-interactive-legend-info-item-background--selected--dark)}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend-element-info--selected.sc-instant-apps-interactive-legend-classic .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{color:var(--calcite-color-text-inverse)}.sc-instant-apps-interactive-legend-classic-h .hide.sc-instant-apps-interactive-legend-classic{display:none}.instant-apps-interactive-legend__compact.sc-instant-apps-interactive-legend-classic .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic{--instant-apps-interactive-legend-ui-padding:10px 5px}.instant-apps-interactive-legend__compact.sc-instant-apps-interactive-legend-classic .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;line-clamp:2;line-height:1.3125rem;max-height:2.625rem}@media (min-width: 992px){.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic{cursor:pointer}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover)}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover.instant-apps-interactive-legend-element-info--selected{background-color:#e2f2fe}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover--dark)}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover.instant-apps-interactive-legend-element-info--selected{background-color:#26a9f4}}";export{W as instant_apps_interactive_legend_classic}
|
@@ -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,h as i,H as s,g as o}from"./p-8c40bdec.js";import{g as l}from"./p-ea19f91b.js";import"./p-08ad0b7a.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-ac122d9e.js";const a=class{constructor(i){t(this,i),this.messages=void 0,this.view=void 0}render(){var t,o,l,a,n,e,d;const h="2d"!==(null===(t=null==this?void 0:this.view)||void 0===t?void 0:t.type)&&(null==this?void 0:this.view)?this._getSceneViewCommands():this._getMapViewCommands(),r=this._isMacLike()?"Option":"Alt";return i(s,{key:"d84c8955b37d88dd1fd13c37330769378a596c67"},i("calcite-block",{key:"d647d6282973ad8bc6ad784692a76dc7481fd192",open:!0,class:"instant-apps-keyboard-shortcuts__content",heading:null===(l=null===(o=null==this?void 0:this.messages)||void 0===o?void 0:o.generalShortcuts)||void 0===l?void 0:l.label},i("table",{key:"d78bb063964ace1a26539313c20557e57c5b0e7f"},this.renderTableHeader(),i("tr",{key:"5a7361aee44808045f1b5adb1cb07e9d74c395bb"},i("td",{key:"e91dc6fb5e3c0ac2964717c618b66d387224dc75"},`${r} + M`),i("td",{key:"159e6b873b599ceaf3e381062f305f452d7e2c95"},null===(n=null===(a=null==this?void 0:this.messages)||void 0===a?void 0:a.generalShortcuts)||void 0===n?void 0:n.title))),i("calcite-label",{key:"a5a6eaf74f20fd364132f6a08af57eb4cc341dac"},null===(d=null===(e=null==this?void 0:this.messages)||void 0===e?void 0:e.generalShortcuts)||void 0===d?void 0:d.title),i("table",{key:"cac31048d7d7fc3869d1454e391d40ca79a7d304"},this.renderTableHeader(),h.map((t=>i("tr",null,i("td",null,t.alias),i("td",null,t.title)))))))}componentDidLoad(){l(this)}renderTableHeader(){var t,s;return(null==this?void 0:this.messages)?i("tr",null,i("th",null,null===(t=null==this?void 0:this.messages)||void 0===t?void 0:t.generalShortcuts.shortcut),i("th",null,null===(s=null==this?void 0:this.messages)||void 0===s?void 0:s.generalShortcuts.action)):null}_getMapViewCommands(){var t;const i="2d"===(null===(t=this.view)||void 0===t?void 0:t.type)&&this.view.constraints.rotationEnabled,s=(null==this?void 0:this.messages)?[{alias:null==this?void 0:this.messages.mapShortcuts.arrowKeys,title:null==this?void 0:this.messages.mapShortcuts.nudge,show:!0},{alias:"N",title:null==this?void 0:this.messages.mapShortcuts.N,show:i},{alias:"A",title:null==this?void 0:this.messages.mapShortcuts.A,show:i},{alias:"D",title:null==this?void 0:this.messages.mapShortcuts.D,show:i},{alias:"+",title:null==this?void 0:this.messages.mapShortcuts.plus,show:!0},{alias:"-",title:null==this?void 0:this.messages.mapShortcuts.minus,show:!0}]:[];return(null==this?void 0:this.messages)?null==s?void 0:s.filter((t=>t.show)):[]}_getSceneViewCommands(){var t;const i="3d"===(null===(t=this.view)||void 0===t?void 0:t.type)&&"global"===this.view.viewingMode,s=(null==this?void 0:this.messages)?[{alias:null==this?void 0:this.messages.mapShortcuts.arrowKeys,title:null==this?void 0:this.messages.mapShortcuts.nudge,show:!!i},{alias:"P",title:null==this?void 0:this.messages.sceneShortcuts.P,show:!0},{alias:"N",title:null==this?void 0:this.messages.sceneShortcuts.N,show:!0},{alias:"W",title:null==this?void 0:this.messages.sceneShortcuts.W,show:!0},{alias:"A",title:null==this?void 0:this.messages.sceneShortcuts.A,show:!0},{alias:"D",title:null==this?void 0:this.messages.sceneShortcuts.D,show:!0},{alias:"S",title:null==this?void 0:this.messages.sceneShortcuts.S,show:!0},{alias:"J",title:null==this?void 0:this.messages.sceneShortcuts.globalCommands.J,show:!!i},{alias:"U",title:null==this?void 0:this.messages.sceneShortcuts.globalCommands.U,show:!!i}]:[];return(null==this?void 0:this.messages)?null==s?void 0:s.filter((t=>t.show)):[]}_isMacLike(){return/(Mac)/iu.test(navigator.platform)}get el(){return o(this)}};a.style=":host .instant-apps-keyboard-shortcuts__content{display:flex;flex-direction:column;font-family:var(--calcite-sans-family);font-size:0.875rem;background-color:var(--calcite-color-background);color:var(--calcite-color-text-1);width:auto;padding:0.5em;margin-bottom:0;overflow:auto}:host .instant-apps-keyboard-shortcuts__content table{border:none;border-collapse:collapse;width:100%;margin-bottom:1em}:host .instant-apps-keyboard-shortcuts__content table td,:host .instant-apps-keyboard-shortcuts__content table th{border:solid 1px var(--calcite-color-border-1);padding:0.5rem 0.75rem 0.5rem 0.75rem;white-space:normal}:host .instant-apps-keyboard-shortcuts__content table td:lang(ja),:host .instant-apps-keyboard-shortcuts__content table td:lang(ja-JP),:host .instant-apps-keyboard-shortcuts__content table th:lang(ja-JP),:host .instant-apps-keyboard-shortcuts__content table th:lang(ja){white-space:nowrap}:host .instant-apps-keyboard-shortcuts__content tr:nth-child(even){background-color:var(--calcite-color-foreground-2)}:host .instant-apps-keyboard-shortcuts__content tr th{padding:0.5em 0.7em;font-weight:400}";export{a as instant_apps_keyboard_shortcuts}
|
@@ -0,0 +1,21 @@
|
|
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{c as a}from"./p-fa639501.js";
|
7
|
+
/** @license
|
8
|
+
* Copyright 2022 Esri
|
9
|
+
*
|
10
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
11
|
+
* you may not use this file except in compliance with the License.
|
12
|
+
* You may obtain a copy of the License at
|
13
|
+
*
|
14
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
15
|
+
*
|
16
|
+
* Unless required by applicable law or agreed to in writing, software
|
17
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
18
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
19
|
+
* See the License for the specific language governing permissions and
|
20
|
+
* limitations under the License.
|
21
|
+
*/const{state:e,onChange:s}=a({managedLayers:{},managedTables:[],highlightHandles:[],removeHandles:()=>{e.highlightHandles.forEach((a=>a?.remove())),e.highlightHandles=[]}}),n=new CustomEvent("managedLayersChanged",{bubbles:!0,cancelable:!1,composed:!0});s("managedLayers",(()=>{dispatchEvent(n)}));export{e as s}
|