@esri/solutions-components 0.11.13 → 0.11.15
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/asyncToGenerator-ccb3278b.js +92 -0
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +3 -3
- package/dist/cjs/buffer-tools_2.cjs.entry.js +5 -5
- package/dist/cjs/card-manager_3.cjs.entry.js +5 -11
- package/dist/cjs/consent-manager.cjs.entry.js +5 -5
- package/dist/cjs/create-feature_4.cjs.entry.js +6 -6
- package/dist/cjs/create-related-feature_3.cjs.entry.js +3 -3
- package/dist/cjs/crowdsource-manager.cjs.entry.js +3 -3
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +3 -3
- package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
- package/dist/cjs/delete-dialog.cjs.entry.js +3 -3
- package/dist/cjs/downloadUtils-9de366bc.js +3223 -0
- package/dist/cjs/effects-78c31457.js +83 -0
- package/dist/cjs/feature-list.cjs.entry.js +6 -6
- package/dist/cjs/helpers-67a2c953.js +867 -0
- package/dist/cjs/index-b2821254.js +201 -0
- package/dist/cjs/index-b936ec03.js +1903 -0
- package/dist/cjs/index.es-0441a948.js +11195 -0
- package/dist/cjs/instant-apps-app-guide.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +7 -7
- package/dist/cjs/instant-apps-control-panel.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-create.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-export-views.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-export.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-filter-list_2.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-header.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +8 -8
- package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +22 -22
- package/dist/cjs/instant-apps-landing-page.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +828 -22
- package/dist/cjs/instant-apps-language-translator.cjs.entry.js +819 -12
- package/dist/cjs/instant-apps-measurement-tool.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-measurement.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-popover.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-popovers.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-sign-in.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-splash.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-time-filter.cjs.entry.js +7 -7
- package/dist/cjs/json-editor_7.cjs.entry.js +5 -5
- package/dist/cjs/languageSwitcher-e2118cc6.js +52 -0
- package/dist/cjs/languageUtil-f22ce913.js +69 -0
- package/dist/cjs/loadModules-accd5295.js +23 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/locale-8017d061.js +160 -0
- package/dist/cjs/locale-e2a974ae.js +943 -0
- package/dist/cjs/map-layer-picker.cjs.entry.js +5 -5
- package/dist/cjs/map-select-tools_3.cjs.entry.js +7 -7
- package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
- package/dist/cjs/popupUtils-3b069427.js +121 -0
- package/dist/cjs/public-notification.cjs.entry.js +7 -7
- package/dist/cjs/publicNotificationStore-76755c44.js +47 -0
- package/dist/cjs/solution-configuration.cjs.entry.js +5 -5
- package/dist/cjs/solution-contents_3.cjs.entry.js +5 -5
- package/dist/cjs/solution-item-accordion.cjs.entry.js +3 -3
- 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 +3 -3
- package/dist/cjs/store-manager.cjs.entry.js +3 -3
- package/dist/cjs/utils-0f287cfa.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/asyncToGenerator-48cd21fe.js +88 -0
- package/dist/esm/basemap-gallery_7.entry.js +3 -3
- package/dist/esm/buffer-tools_2.entry.js +5 -5
- package/dist/esm/card-manager_3.entry.js +5 -11
- package/dist/esm/consent-manager.entry.js +5 -5
- package/dist/esm/create-feature_4.entry.js +6 -6
- package/dist/esm/create-related-feature_3.entry.js +3 -3
- package/dist/esm/crowdsource-manager.entry.js +3 -3
- package/dist/esm/crowdsource-reporter.entry.js +3 -3
- package/dist/esm/deduct-calculator.entry.js +1 -1
- package/dist/esm/delete-dialog.entry.js +3 -3
- package/dist/esm/downloadUtils-992b4e25.js +3217 -0
- package/dist/esm/effects-45daffc6.js +81 -0
- package/dist/esm/feature-list.entry.js +6 -6
- package/dist/esm/helpers-38ea1ae1.js +841 -0
- package/dist/esm/index-000c7a7c.js +1870 -0
- package/dist/esm/index-f7533fcc.js +199 -0
- package/dist/esm/index.es-c379ea10.js +11108 -0
- package/dist/esm/instant-apps-app-guide.entry.js +5 -5
- package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +7 -7
- package/dist/esm/instant-apps-control-panel.entry.js +3 -3
- package/dist/esm/instant-apps-create.entry.js +5 -5
- package/dist/esm/instant-apps-export-views.entry.js +5 -5
- package/dist/esm/instant-apps-export.entry.js +5 -5
- package/dist/esm/instant-apps-filter-list_2.entry.js +5 -5
- package/dist/esm/instant-apps-header.entry.js +3 -3
- package/dist/esm/instant-apps-interactive-legend-classic.entry.js +6 -6
- package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +6 -6
- package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +6 -6
- package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +6 -6
- package/dist/esm/instant-apps-interactive-legend.entry.js +8 -8
- package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +22 -22
- package/dist/esm/instant-apps-landing-page.entry.js +1 -1
- package/dist/esm/instant-apps-language-switcher.entry.js +822 -16
- package/dist/esm/instant-apps-language-translator.entry.js +815 -8
- package/dist/esm/instant-apps-measurement-tool.entry.js +3 -3
- package/dist/esm/instant-apps-measurement.entry.js +5 -5
- package/dist/esm/instant-apps-popover.entry.js +5 -5
- package/dist/esm/instant-apps-popovers.entry.js +1 -1
- package/dist/esm/instant-apps-scoreboard.entry.js +5 -5
- package/dist/esm/instant-apps-sign-in.entry.js +5 -5
- package/dist/esm/instant-apps-splash.entry.js +5 -5
- package/dist/esm/instant-apps-time-filter.entry.js +7 -7
- package/dist/esm/json-editor_7.entry.js +5 -5
- package/dist/esm/languageSwitcher-446c6fe7.js +49 -0
- package/dist/esm/languageUtil-a3e6adf6.js +66 -0
- package/dist/esm/loadModules-736e0284.js +21 -0
- package/dist/esm/loader.js +2 -2
- package/dist/esm/locale-5b76949e.js +938 -0
- package/dist/esm/locale-8a3e6795.js +155 -0
- package/dist/esm/map-layer-picker.entry.js +5 -5
- package/dist/esm/map-select-tools_3.entry.js +7 -7
- package/dist/esm/pci-calculator.entry.js +1 -1
- package/dist/esm/popupUtils-12e61a9a.js +119 -0
- package/dist/esm/public-notification.entry.js +7 -7
- package/dist/esm/publicNotificationStore-e5306ea6.js +45 -0
- package/dist/esm/solution-configuration.entry.js +5 -5
- package/dist/esm/solution-contents_3.entry.js +5 -5
- package/dist/esm/solution-item-accordion.entry.js +3 -3
- 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 +3 -3
- package/dist/esm/store-manager.entry.js +3 -3
- package/dist/esm/utils-793f7261.js +142 -0
- package/dist/solutions-components/p-056d4371.entry.js +6 -0
- package/dist/solutions-components/p-097bac90.entry.js +6 -0
- package/dist/solutions-components/p-0bb54295.entry.js +6 -0
- package/dist/solutions-components/p-0d110867.entry.js +6 -0
- package/dist/solutions-components/p-0d311ebf.entry.js +11 -0
- package/dist/solutions-components/p-0d879c77.entry.js +6 -0
- package/dist/solutions-components/p-0e3b3aa8.entry.js +6 -0
- package/dist/solutions-components/p-1309ac58.js +129 -0
- package/dist/solutions-components/p-1e364924.js +6 -0
- package/dist/solutions-components/p-20085e58.js +488 -0
- package/dist/solutions-components/p-2010e62e.entry.js +6 -0
- package/dist/solutions-components/p-256ce5cc.entry.js +21 -0
- package/dist/solutions-components/p-2b9d58dc.entry.js +6 -0
- package/dist/solutions-components/p-340c71f3.entry.js +6 -0
- package/dist/solutions-components/p-3e25c5b0.js +6 -0
- package/dist/solutions-components/p-3ea987a7.js +6 -0
- package/dist/solutions-components/p-44105d86.entry.js +6 -0
- package/dist/solutions-components/p-47abefd3.entry.js +6 -0
- package/dist/solutions-components/p-5474d6f0.entry.js +6 -0
- package/dist/solutions-components/p-5c05f28a.entry.js +6 -0
- package/dist/solutions-components/p-60bdf635.entry.js +6 -0
- package/dist/solutions-components/p-62a0aa8e.js +6 -0
- package/dist/solutions-components/p-6d1ee086.js +61 -0
- package/dist/solutions-components/p-74b3e39c.entry.js +6 -0
- package/dist/solutions-components/p-78051ff1.js +6 -0
- package/dist/solutions-components/p-79083691.entry.js +6 -0
- package/dist/solutions-components/p-7e1c353c.entry.js +6 -0
- package/dist/solutions-components/p-8169d4af.entry.js +6 -0
- package/dist/solutions-components/p-88de10d1.entry.js +6 -0
- package/dist/solutions-components/p-8ab5efc1.entry.js +21 -0
- package/dist/solutions-components/p-8af77823.entry.js +6 -0
- package/dist/solutions-components/p-8c40bdec.js +7 -0
- package/dist/solutions-components/p-91bb7fdc.js +21 -0
- package/dist/solutions-components/p-9e92da5e.entry.js +6 -0
- package/dist/solutions-components/p-a1d1dc83.entry.js +6 -0
- package/dist/solutions-components/p-a23de3b0.js +36 -0
- package/dist/solutions-components/p-a4bd7b09.js +6 -0
- package/dist/solutions-components/p-a5c51211.entry.js +6 -0
- package/dist/solutions-components/p-a7d18a21.entry.js +6 -0
- package/dist/solutions-components/p-ad03f5cf.entry.js +6 -0
- package/dist/solutions-components/p-ae7bcbff.entry.js +6 -0
- package/dist/solutions-components/p-af2c8aa9.js +6 -0
- package/dist/solutions-components/p-b0551d23.entry.js +6 -0
- package/dist/solutions-components/p-b2a6916d.entry.js +6 -0
- package/dist/solutions-components/p-bf007c87.js +21 -0
- package/dist/solutions-components/p-c1a752b9.entry.js +6 -0
- package/dist/solutions-components/p-c25ebd5a.entry.js +6 -0
- package/dist/solutions-components/p-c421d92d.entry.js +6 -0
- package/dist/solutions-components/p-c44cbee6.entry.js +6 -0
- package/dist/solutions-components/p-c5f701bd.entry.js +6 -0
- package/dist/solutions-components/p-d32b5127.entry.js +6 -0
- package/dist/solutions-components/p-d600ca73.entry.js +6 -0
- package/dist/solutions-components/p-d995adc3.entry.js +6 -0
- package/dist/solutions-components/p-da1ac695.entry.js +6 -0
- package/dist/solutions-components/p-e508cfaf.entry.js +6 -0
- package/dist/solutions-components/p-e8fa98f5.entry.js +6 -0
- package/dist/solutions-components/p-ea6440fd.js +6 -0
- package/dist/solutions-components/p-ed8f7591.entry.js +6 -0
- package/dist/solutions-components/p-f64eeaad.entry.js +6 -0
- package/dist/solutions-components/p-f9b7f97e.entry.js +6 -0
- package/dist/solutions-components/p-fa639501.js +6 -0
- package/dist/solutions-components/p-ff3d2df3.entry.js +6 -0
- package/dist/solutions-components/p-ffa545ee.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 -5
- package/package.json +3 -3
- package/dist/cjs/asyncToGenerator-c7fc3ee4.js +0 -92
- 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/languageUtil-a3e1eafd.js +0 -69
- 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/asyncToGenerator-96b2368d.js +0 -88
- 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/languageUtil-2b6e191a.js +0 -66
- 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-ac122d9e.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-d65f8b73.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
- /package/dist/cjs/{esri-loader-08dc41bd.js → esri-loader-a56cbcbe.js} +0 -0
- /package/dist/cjs/{typeof-2a7e2dec.js → typeof-920a4426.js} +0 -0
- /package/dist/esm/{esri-loader-c6842c6b.js → esri-loader-781d738a.js} +0 -0
- /package/dist/esm/{typeof-ef2a007d.js → typeof-2511410e.js} +0 -0
- /package/dist/solutions-components/{p-0a24ad5f.js → p-6a68306c.js} +0 -0
- /package/dist/solutions-components/{p-4fe489cf.js → p-af7e43e0.js} +0 -0
@@ -1,6 +0,0 @@
|
|
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 n,h as i,H as s,g as e}from"./p-c3eae9ba.js";import{l as o}from"./p-d001e961.js";import{g as r}from"./p-3df0f3d3.js";import{g as a}from"./p-a9a72626.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-ac122d9e.js";const p=(()=>{let t=0;return()=>(t+=1,`u${`0000${(Math.random()*36**4|0).toString(36)}`.slice(-4)}${t}`)})();function c(t){const n=[];for(let i=0,s=t.length;i<s;i++)n.push(t[i]);return n}function l(t,n){const i=(t.ownerDocument.defaultView||window).getComputedStyle(t).getPropertyValue(n);return i?parseFloat(i.replace("px","")):0}function h(t,n={}){return{width:n.width||function(t){const n=l(t,"border-left-width"),i=l(t,"border-right-width");return t.clientWidth+n+i}(t),height:n.height||function(t){const n=l(t,"border-top-width"),i=l(t,"border-bottom-width");return t.clientHeight+n+i}(t)}}const d=16384;function u(t){return new Promise(((n,i)=>{const s=new Image;s.decode=()=>n(s),s.onload=()=>n(s),s.onerror=i,s.crossOrigin="anonymous",s.decoding="async",s.src=t}))}const f=(t,n)=>{if(t instanceof n)return!0;const i=Object.getPrototypeOf(t);return null!==i&&(i.constructor.name===n.name||f(i,n))};function g(t,n,i){const s=window.getComputedStyle(t,i),e=s.getPropertyValue("content");if(""===e||"none"===e)return;const o=p();try{n.className=`${n.className} ${o}`}catch(t){return}const r=document.createElement("style");r.appendChild(function(t,n,i){const s=`.${t}:${n}`,e=i.cssText?function(t){const n=t.getPropertyValue("content");return`${t.cssText} content: '${n.replace(/'|"/g,"")}';`}(i):function(t){return c(t).map((n=>`${n}: ${t.getPropertyValue(n)}${t.getPropertyPriority(n)?" !important":""};`)).join(" ")}(i);return document.createTextNode(`${s}{${e}}`)}(o,i,s)),n.appendChild(r)}const v="application/font-woff",x="image/jpeg",m={woff:v,woff2:v,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:x,jpeg:x,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function _(t){const n=function(t){const n=/\.([^./]*?)$/g.exec(t);return n?n[1]:""}(t).toLowerCase();return m[n]||""}function b(t){return-1!==t.search(/^(data:)/)}function w(t,n){return`data:${n};base64,${t}`}async function y(t,n,i){const s=await fetch(t,n);if(404===s.status)throw new Error(`Resource "${s.url}" not found`);const e=await s.blob();return new Promise(((t,n)=>{const o=new FileReader;o.onerror=n,o.onloadend=()=>{try{t(i({res:s,result:o.result}))}catch(t){n(t)}},o.readAsDataURL(e)}))}const k={};async function P(t,n,i){const s=function(t,n,i){let s=t.replace(/\?.*/,"");return i&&(s=t),/ttf|otf|eot|woff2?/i.test(s)&&(s=s.replace(/.*\//,"")),n?`[${n}]${s}`:s}(t,n,i.includeQueryParams);if(null!=k[s])return k[s];let e;i.cacheBust&&(t+=(/\?/.test(t)?"&":"?")+(new Date).getTime());try{const s=await y(t,i.fetchRequestInit,(({res:t,result:i})=>(n||(n=t.headers.get("Content-Type")||""),function(t){return t.split(/,/)[1]}(i))));e=w(s,n)}catch(n){e=i.imagePlaceholder||"";let s=`Failed to fetch resource: ${t}`;n&&(s="string"==typeof n?n:n.message),s&&console.warn(s)}return k[s]=e,e}const $=t=>null!=t.tagName&&"SLOT"===t.tagName.toUpperCase();async function S(t,n,i){return i||!n.filter||n.filter(t)?Promise.resolve(t).then((t=>async function(t,n){return f(t,HTMLCanvasElement)?async function(t){const n=t.toDataURL();return"data:,"===n?t.cloneNode(!1):u(n)}(t):f(t,HTMLVideoElement)?async function(t,n){if(t.currentSrc){const n=document.createElement("canvas"),i=n.getContext("2d");return n.width=t.clientWidth,n.height=t.clientHeight,null==i||i.drawImage(t,0,0,n.width,n.height),u(n.toDataURL())}const i=t.poster,s=_(i);return u(await P(i,s,n))}(t,n):f(t,HTMLIFrameElement)?async function(t){var n;try{if(null===(n=null==t?void 0:t.contentDocument)||void 0===n?void 0:n.body)return await S(t.contentDocument.body,{},!0)}catch(t){}return t.cloneNode(!1)}(t):t.cloneNode(!1)}(t,n))).then((i=>async function(t,n,i){var s,e;let o=[];return o=$(t)&&t.assignedNodes?c(t.assignedNodes()):f(t,HTMLIFrameElement)&&(null===(s=t.contentDocument)||void 0===s?void 0:s.body)?c(t.contentDocument.body.childNodes):c((null!==(e=t.shadowRoot)&&void 0!==e?e:t).childNodes),0===o.length||f(t,HTMLVideoElement)||await o.reduce(((t,s)=>t.then((()=>S(s,i))).then((t=>{t&&n.appendChild(t)}))),Promise.resolve()),n}(t,i,n))).then((n=>function(t,n){return f(n,Element)&&(function(t,n){const i=n.style;if(!i)return;const s=window.getComputedStyle(t);s.cssText?(i.cssText=s.cssText,i.transformOrigin=s.transformOrigin):c(s).forEach((e=>{let o=s.getPropertyValue(e);if("font-size"===e&&o.endsWith("px")){const t=Math.floor(parseFloat(o.substring(0,o.length-2)))-.1;o=`${t}px`}f(t,HTMLIFrameElement)&&"display"===e&&"inline"===o&&(o="block"),"d"===e&&n.getAttribute("d")&&(o=`path(${n.getAttribute("d")})`),i.setProperty(e,o,s.getPropertyPriority(e))}))}(t,n),function(t,n){g(t,n,":before"),g(t,n,":after")}(t,n),function(t,n){f(t,HTMLTextAreaElement)&&(n.innerHTML=t.value),f(t,HTMLInputElement)&&n.setAttribute("value",t.value)}(t,n),function(t,n){if(f(t,HTMLSelectElement)){const i=Array.from(n.children).find((n=>t.value===n.getAttribute("value")));i&&i.setAttribute("selected","")}}(t,n)),n}(t,n))).then((t=>async function(t,n){const i=t.querySelectorAll?t.querySelectorAll("use"):[];if(0===i.length)return t;const s={};for(let e=0;e<i.length;e++){const o=i[e].getAttribute("xlink:href");if(o){const i=t.querySelector(o),e=document.querySelector(o);i||!e||s[o]||(s[o]=await S(e,n,!0))}}const e=Object.values(s);if(e.length){const n="http://www.w3.org/1999/xhtml",i=document.createElementNS(n,"svg");i.setAttribute("xmlns",n),i.style.position="absolute",i.style.width="0",i.style.height="0",i.style.overflow="hidden",i.style.display="none";const s=document.createElementNS(n,"defs");i.appendChild(s);for(let t=0;t<e.length;t++)s.appendChild(e[t]);t.appendChild(i)}return t}(t,n))):null}const C=/url\((['"]?)([^'"]+?)\1\)/g,E=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,F=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function M(t){return-1!==t.search(C)}async function j(t,n,i){if(!M(t))return t;const s=function(t,{preferredFontFormat:n}){return n?t.replace(F,(t=>{for(;;){const[i,,s]=E.exec(t)||[];if(!s)return"";if(s===n)return`src: ${i};`}})):t}(t,i),e=function(t){const n=[];return t.replace(C,((t,i,s)=>(n.push(s),t))),n.filter((t=>!b(t)))}(s);return e.reduce(((t,s)=>t.then((t=>async function(t,n,i,s,e){try{const o=i?function(t,n){if(t.match(/^[a-z]+:\/\//i))return t;if(t.match(/^\/\//))return window.location.protocol+t;if(t.match(/^[a-z]+:/i))return t;const i=document.implementation.createHTMLDocument(),s=i.createElement("base"),e=i.createElement("a");return i.head.appendChild(s),i.body.appendChild(e),n&&(s.href=n),e.href=t,e.href}(n,i):n,r=_(n);let a;return a=e?w(await e(o),r):await P(o,r,s),t.replace(function(t){const n=t.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${n})(['"]?\\))`,"g")}(n),`$1${a}$3`)}catch(t){}return t}(t,s,n,i)))),Promise.resolve(s))}async function T(t,n,i){var s;const e=null===(s=n.style)||void 0===s?void 0:s.getPropertyValue(t);if(e){const s=await j(e,null,i);return n.style.setProperty(t,s,n.style.getPropertyPriority(t)),!0}return!1}async function L(t,n){f(t,Element)&&(await async function(t,n){await T("background",t,n)||await T("background-image",t,n),await T("mask",t,n)||await T("mask-image",t,n)}(t,n),await async function(t,n){const i=f(t,HTMLImageElement);if((!i||b(t.src))&&(!f(t,SVGImageElement)||b(t.href.baseVal)))return;const s=i?t.src:t.href.baseVal,e=await P(s,_(s),n);await new Promise(((n,s)=>{t.onload=n,t.onerror=s;const o=t;o.decode&&(o.decode=n),"lazy"===o.loading&&(o.loading="eager"),i?(t.srcset="",t.src=e):t.href.baseVal=e}))}(t,n),await async function(t,n){const i=c(t.childNodes).map((t=>L(t,n)));await Promise.all(i).then((()=>t))}(t,n))}const D={};async function I(t){let n=D[t];if(null!=n)return n;const i=await fetch(t);return n={url:t,cssText:await i.text()},D[t]=n,n}async function O(t,n){let i=t.cssText;const s=/url\(["']?([^"')]+)["']?\)/g,e=(i.match(/url\([^)]+\)/g)||[]).map((async e=>{let o=e.replace(s,"$1");return o.startsWith("https://")||(o=new URL(o,t.url).href),y(o,n.fetchRequestInit,(({result:t})=>(i=i.replace(e,`url(${t})`),[e,t])))}));return Promise.all(e).then((()=>i))}function z(t){if(null==t)return[];const n=[];let i=t.replace(/(\/\*[\s\S]*?\*\/)/gi,"");const s=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const t=s.exec(i);if(null===t)break;n.push(t[0])}i=i.replace(s,"");const e=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,o=new RegExp("((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})","gi");for(;;){let t=e.exec(i);if(null===t){if(t=o.exec(i),null===t)break;e.lastIndex=o.lastIndex}else o.lastIndex=e.lastIndex;n.push(t[0])}return n}async function R(t,n){const i=null!=n.fontEmbedCSS?n.fontEmbedCSS:n.skipFonts?null:await async function(t,n){const i=await async function(t,n){if(null==t.ownerDocument)throw new Error("Provided element is not within a Document");const i=c(t.ownerDocument.styleSheets),s=await async function(t,n){const i=[],s=[];return t.forEach((i=>{if("cssRules"in i)try{c(i.cssRules||[]).forEach(((t,e)=>{if(t.type===CSSRule.IMPORT_RULE){let o=e+1;const r=I(t.href).then((t=>O(t,n))).then((t=>z(t).forEach((t=>{try{i.insertRule(t,t.startsWith("@import")?o+=1:i.cssRules.length)}catch(n){console.error("Error inserting rule from remote css",{rule:t,error:n})}})))).catch((t=>{console.error("Error loading remote css",t.toString())}));s.push(r)}}))}catch(e){const o=t.find((t=>null==t.href))||document.styleSheets[0];null!=i.href&&s.push(I(i.href).then((t=>O(t,n))).then((t=>z(t).forEach((t=>{o.insertRule(t,i.cssRules.length)})))).catch((t=>{console.error("Error loading remote stylesheet",t)}))),console.error("Error inlining remote css file",e)}})),Promise.all(s).then((()=>(t.forEach((t=>{if("cssRules"in t)try{c(t.cssRules||[]).forEach((t=>{i.push(t)}))}catch(n){console.error(`Error while reading CSS rules from ${t.href}`,n)}})),i)))}(i,n);return function(t){return t.filter((t=>t.type===CSSRule.FONT_FACE_RULE)).filter((t=>M(t.style.getPropertyValue("src"))))}(s)}(t,n);return(await Promise.all(i.map((t=>j(t.cssText,t.parentStyleSheet?t.parentStyleSheet.href:null,n))))).join("\n")}(t,n);if(i){const n=document.createElement("style"),s=document.createTextNode(i);n.appendChild(s),t.firstChild?t.insertBefore(n,t.firstChild):t.appendChild(n)}}async function H(t,n={}){const{width:i,height:s}=h(t,n),e=await S(t,n,!0);return await R(e,n),await L(e,n),function(t,n){const{style:i}=t;n.backgroundColor&&(i.backgroundColor=n.backgroundColor),n.width&&(i.width=`${n.width}px`),n.height&&(i.height=`${n.height}px`);const s=n.style;null!=s&&Object.keys(s).forEach((t=>{i[t]=s[t]}))}(e,n),await async function(t,n,i){const s="http://www.w3.org/2000/svg",e=document.createElementNS(s,"svg"),o=document.createElementNS(s,"foreignObject");return e.setAttribute("width",`${n}`),e.setAttribute("height",`${i}`),e.setAttribute("viewBox",`0 0 ${n} ${i}`),o.setAttribute("width","100%"),o.setAttribute("height","100%"),o.setAttribute("x","0"),o.setAttribute("y","0"),o.setAttribute("externalResourcesRequired","true"),e.appendChild(o),o.appendChild(t),async function(t){return Promise.resolve().then((()=>(new XMLSerializer).serializeToString(t))).then(encodeURIComponent).then((t=>`data:image/svg+xml;charset=utf-8,${t}`))}(e)}(e,i,s)}async function V(t,n={}){const{width:i,height:s}=h(t,n),e=await H(t,n),o=await u(e),r=document.createElement("canvas"),a=r.getContext("2d"),p=n.pixelRatio||function(){let t,n;try{n=process}catch(t){}const i=n&&n.env?n.env.devicePixelRatio:null;return i&&(t=parseInt(i,10),Number.isNaN(t)&&(t=1)),t||window.devicePixelRatio||1}(),c=n.canvasWidth||i,l=n.canvasHeight||s;return r.width=c*p,r.height=l*p,n.skipAutoScale||function(t){(t.width>d||t.height>d)&&(t.width>d&&t.height>d?t.width>t.height?(t.height*=d/t.width,t.width=d):(t.width*=d/t.height,t.height=d):t.width>d?(t.height*=d/t.width,t.width=d):(t.width*=d/t.height,t.height=d))}(r),r.style.width=`${c}`,r.style.height=`${l}`,n.backgroundColor&&(a.fillStyle=n.backgroundColor,a.fillRect(0,0,r.width,r.height)),a.drawImage(o,0,0,r.width,r.height),r}async function G(t,n={}){return(await V(t,n)).toDataURL("image/jpeg",n.quality||1)}const U="instant-apps-export calcite-mode-light",W="instant-apps-export-print instant-apps-export-print__pdf",A="instant-apps-export-print instant-apps-export-print__img",B="instant-apps-export-print__img--extra-content",N="instant-apps-export-print__content-container",J="instant-apps-export-print__extra-container",q="instant-apps-export-print__legend-container",X="instant-apps-export-print__compass-container",K="instant-apps-export-print__scale-bar-container",Q="instant-apps-export-print__popup-container",Y="instant-apps-export-print__popup-content",Z="instant-apps-export-print__popup-title",tt="instant-apps-export-print__view",nt="instant-apps-export-print__view-container",it="instant-apps-export-print__view-wrapper",st="instant-app-export-drag",et=class{constructor(i){t(this,i),this.exportOutputUpdated=n(this,"exportOutputUpdated",7),this.fileTypes=["PDF","JPG","PNG"],this.output=void 0,this.beforeExport=()=>Promise.resolve(),this.popoverIcon="export",this.extraContent=void 0,this.extraContentLabel=void 0,this.headerTitle="",this.logoImage="",this.includeExtraContent=!0,this.showExtraContentInImg=!1,this.includeLegend=!0,this.includeMap=!0,this.includePopup=!1,this.includeFileFormat=!0,this.mode="popover",this.popoverPositioning="absolute",this.popoverPlacement="auto",this.scale="m",this.showHeaderTitle=!0,this.showIncludeLegend=!0,this.showIncludeMap=!1,this.showIncludePopup=!0,this.showScaleBar=!1,this.view=void 0,this.maskBackground="rgba(255, 51, 0, 0.1)",this.maskBorder="2px dashed rgb(255, 51, 0)",this.baseClass=U,this.exportIsLoading=void 0,this.messages=void 0,this.selectedFileType="PDF"}watchIncludeMap(t){t&&this.updateLegend()}watchView(){this.handleIncludePopup()}async componentWillLoad(){this.baseClass="dark"===a(this.el)?"instant-apps-export calcite-mode-dark":U,r(this),await this.initializeModules()}componentDidLoad(){this.printContainerEl.prepend(this.printEl),this.handleIncludePopup()}async initializeModules(){const[t,n]=await o(["esri/core/Handles","esri/core/reactiveUtils"]);return this.handles=new t,this.reactiveUtils=n,Promise.resolve()}render(){const t="popover"===this.mode?this.renderPopover():this.renderPanel(),n=this.renderCompass();return i(s,{key:"9811c244faf2c794db3edaad498a9a902cb3faad"},i("div",{key:"cb880c04d46ec06a9588cedc0bd90ab62d25c0ac",class:this.baseClass,onMouseEnter:this.handleWidgetCreation.bind(this),onFocusin:this.handleWidgetCreation.bind(this)},t,i("div",{key:"fc7ccd1eeb4b6a82bd9804d1aa73c4f242085a56",class:"instant-apps-export__visually-hidden"},n)))}renderPopover(){var t,n,s;const e=this.renderPanel();return[i("calcite-popover",{referenceElement:"export-popover-btn",label:null===(t=this.messages)||void 0===t?void 0:t.exportPopover,overlayPositioning:this.popoverPositioning,placement:this.popoverPlacement,autoClose:!0,ref:t=>this.popoverEl=t},e),i("calcite-action",{id:"export-popover-btn",alignment:"center",icon:this.popoverIcon,scale:this.scale,title:null===(n=this.messages)||void 0===n?void 0:n.exportBtn,text:null===(s=this.messages)||void 0===s?void 0:s.exportBtn})]}renderPanel(){var t,n,s;const e=this.showHeaderTitle?this.renderTitle():null,o=null!=this.extraContent?this.renderSwitch("includeExtraContent",this.extraContentLabel,"PDF"!==this.selectedFileType&&!this.showExtraContentInImg):null,r=this.showIncludeMap?this.renderSwitch("includeMap",void 0,"PDF"!==this.selectedFileType):null,a=this.includeMap?this.renderMapOptions():null,p=this.includeFileFormat?this.renderSelectFileType():null,c="PDF"===this.selectedFileType?this.renderPrint():this.renderImg();return i("div",{class:"inline"===this.mode?"instant-apps-export__inline-container":"instant-apps-export__popover-container"},e,o,r,a,p,this.includeMap?i("calcite-button",{appearance:"transparent",width:"full",onClick:this.setMapAreaOnClick.bind(this,!0),disabled:this.exportIsLoading},null===(t=this.messages)||void 0===t?void 0:t.setMapArea):null,i("calcite-button",{width:"full",onClick:this.exportOnClick.bind(this),disabled:this.exportIsLoading},"PDF"===this.selectedFileType?null===(n=this.messages)||void 0===n?void 0:n.export:null===(s=this.messages)||void 0===s?void 0:s.preview),c)}renderTitle(){var t;return i("calcite-label",null,null===(t=this.messages)||void 0===t?void 0:t.title,i("calcite-input",{value:this.headerTitle,onCalciteInputInput:this.updateHeaderTitle.bind(this)}))}renderSwitch(t,n,s){var e;const o=null!=n?n:null===(e=this.messages)||void 0===e?void 0:e[t];return i("calcite-label",{layout:"inline-space-between"},o,i("calcite-switch",{checked:this[t],value:t,onCalciteSwitchChange:this.optionOnChange.bind(this),disabled:s}))}renderSelectFileType(){var t;return i("calcite-label",null,null===(t=this.messages)||void 0===t?void 0:t.fileType,i("calcite-select",{label:"",onCalciteSelectChange:this.handleSelectFileType.bind(this)},this.fileTypes.map((t=>i("calcite-option",{value:t,selected:t===this.selectedFileType},t)))))}renderMapOptions(){const t=this.showIncludeLegend?this.renderSwitch("includeLegend"):null,n=this.showIncludePopup?this.renderSwitch("includePopup"):null;return i("div",null,t,n)}renderPrint(){const t=this.includeMap?this.renderPrintMap():null,n=this.renderExtraContent(),s=this.includeMap&&this.showIncludeLegend?this.renderLegend():null,e=this.includeMap&&this.showIncludePopup?this.renderPopup():null;return i("div",{ref:t=>this.printContainerEl=t},i("div",{class:W,ref:t=>this.printEl=t},t,s,i("div",{class:N},e,n)))}renderPrintMap(){return i("div",{class:nt,ref:t=>this.viewContainerEl=t},i("div",{class:it,ref:t=>this.viewWrapperEl=t},this.headerTitle?i("instant-apps-header",{logoImage:this.logoImage,logoScale:"s",titleText:this.headerTitle,backgroundColor:"#fff",textColor:"#323232"}):null,i("img",{class:tt,ref:t=>this.viewEl=t}),i("div",{class:K,ref:t=>this.scaleBarContainerEl=t})))}renderLegend(){return i("div",{class:q,ref:t=>this.legendContainerEl=t})}renderCompass(){return i("div",{class:X,ref:t=>this.compassContainerEl=t})}renderPopup(){return i("div",{class:Q,ref:t=>this.popupContainerEl=t},i("div",{ref:t=>this.popupTitleEl=t,class:Z}),i("div",{ref:t=>this.popupContentEl=t,class:Y}))}renderExtraContent(){return i("div",{class:J,id:"export-content",ref:t=>this.extraContainerEl=t})}renderImg(){const t=this.includeMap?this.renderPrintMap():null,n=this.includeMap&&this.showIncludeLegend?this.renderLegend():null;let s;return this.includeMap&&this.showIncludePopup?s=this.renderPopup():this.showExtraContentInImg&&null!=this.extraContent&&this.includeExtraContent&&(s=this.renderExtraContent()),i("div",{ref:t=>this.printContainerEl=t},i("div",{class:A,ref:t=>this.printEl=t},t,n,s))}optionOnChange(t){const{checked:n,value:i}=t.target;this[i]=n,this.updateExportOutput()}updateHeaderTitle(t){this.headerTitle=t.target.value,this.updateExportOutput()}async exportOnClick(){this.removeScreenshotElements(),await this.beforeExport(),null==this.viewWrapperEl||this.viewWrapperEl.contains(this.compassContainerEl)||this.viewWrapperEl.append(this.compassContainerEl),this.handleViewExportOnClick(),null!=this.popoverEl&&(this.popoverEl.open=!1)}async exportPreviewOnClick(){"PDF"===this.selectedFileType?await this.exportPDF():this.exportImg()}async exportPDF(){this.removeScreenshotElements(),await this.beforeExport(),null==this.viewWrapperEl||this.viewWrapperEl.contains(this.compassContainerEl)||this.viewWrapperEl.append(this.compassContainerEl),this.handleViewExportOnClick(),null!=this.popoverEl&&(this.popoverEl.open=!1)}exportImg(){var t;if(this.resetPopupVisibility(),null==this.dataUrl)return;const n=document.createElement("a");n.id="download-link",n.href=this.dataUrl,n.download=null!==(t=this.headerTitle)&&void 0!==t?t:document.title,n.click(),this.dataUrl=null,this.exportIsLoading=!1,this.removeScreenshotElements(),this.resetPrintContent()}async handleViewExportOnClick(){null!=this.view?(this.addPrintStyling(),document.body.prepend(this.printEl),this.handleExtraContent(),this.includeMap?(this.updateScaleBar(),this.viewScreenshot(),this.handleImgLoaded()):this.handleImgLoaded()):null!=this.popoverEl&&(this.popoverEl.open=!1)}addPrintStyling(){null==this.printStyleEl&&(this.printStyleEl=document.createElement("style"),this.printStyleEl.innerHTML='\n @media print {\n @page {\n size: Portrait;\n margin: .25in;\n }\n\n html, body {\n padding: 0;\n margin: 0;\n height: 100%;\n width: 100%;\n }\n\n body > *:not(.instant-apps-export-print) { display: none; }\n }\n\n * {\n -webkit-print-color-adjust: exact;\n color-adjust: exact;\n }\n\n\n .instant-apps-export-print {\n position: absolute;\n z-index: -999;\n color: #323232 !important;\n --esri-calcite-mode-name: "light";\n }\n\n .instant-apps-export-print__pdf {\n height: 100%;\n width: 100%;\n display: grid;\n gap: 24px;\n grid-auto-flow: row;\n }\n\n .instant-apps-export-print__img {\n display: grid;\n width: auto;\n }\n\n .instant-apps-export-print__img--extra-content {\n grid-template-columns: 2fr minmax(0, 325px);\n }\n\n .instant-apps-export-print, .instant-apps-export-print * {\n box-sizing: border-box;\n }\n\n .instant-apps-export-print__view-section {\n height: 100%;\n }\n\n .instant-apps-export-print__view-container {\n height: 100%;\n width: 100%;\n display: flex;\n justify-content: center;\n }\n\n .instant-apps-export-print__img .instant-apps-export-print__view-container {\n grid-row: 1;\n grid-column: 1;\n }\n\n .instant-apps-export-print__view-wrapper {\n height: fit-content;\n width: fit-content;\n position: relative;\n display: flex;\n flex-direction: column;\n overflow: hidden;\n }\n\n .instant-apps-export-print__pdf .instant-apps-export-print__view-wrapper {\n border: 2pt solid #323232;\n }\n\n .instant-apps-export-print__img .instant-apps-export-print__view-wrapper {\n border: 1pt solid #323232;\n }\n\n .instant-apps-export-print__view {\n object-fit: contain;\n }\n\n .instant-apps-export-print__extra-container {\n grid-row: 1 / span 2;\n grid-column: 2;\n }\n \n .instant-apps-export-print__extra-container .esri-feature.esri-widget .esri-widget__heading.esri-feature__title {\n display: block;\n }\n\n .instant-apps-export-print__popup-container {\n height: min-content;\n max-width: 325px;\n display: none;\n color: #323232;\n background: #fff;\n break-inside: avoid;\n }\n\n .instant-apps-export-print__pdf .instant-apps-export-print__popup-container {\n border: 1pt solid #323232;\n }\n\n .instant-apps-export-print__img .instant-apps-export-print__popup-container {\n grid-row: 1 / span 2;\n grid-column: 2;\n }\n\n .instant-apps-export-print__popup-title {\n border-bottom: 1pt solid #323232;\n }\n\n .instant-apps-export-print__popup-content {\n background: #fff;\n padding-top: 8pt;\n }\n\n .instant-apps-export-print__popup-content .esri-feature-media__chart {\n background: #fff;\n }\n\n .instant-apps-export-print__legend-container {\n height: min-content;\n background: #fff;\n overflow: unset;\n }\n\n .instant-apps-export-print__img .instant-apps-export-print__legend-container {\n margin: 14px;\n grid-row: 2;\n grid-column: 1;\n }\n\n .esri-legend--card, .esri-legend--card__service-content {\n flex-flow: row wrap;\n }\n\n .instant-apps-export-print .esri-widget > *:not(.esri-scale-bar.esri-widget > *) {\n background: #fff;\n color: #323232;\n }\n\n .instant-apps-export-print__popup-content *, .instant-apps-export-print__img .esri-feature.esri-widget * {\n color: #323232;\n }\n\n .instant-apps-export-print .esri-widget__heading {\n margin: 4pt 7pt;\n padding: 0;\n color: #323232;\n }\n\n .instant-apps-export-print .esri-legend__ramp-label:before {\n border-color: rgba(0,0,0,0) rgba(50,50,50,.8) rgba(0,0,0,0) rgba(0,0,0,0);\n }\n\n .instant-apps-export-print .esri-legend--card__section {\n padding: 4pt 0 4pt;\n min-width: unset;\n border-left: none;\n }\n\n .instant-apps-export-print .esri-legend--card__section:first-child {\n border-left: none;\n }\n\n .instant-apps-export-print .esri-legend--card__service {\n border: none;\n flex: 0 1 auto;\n break-inside: avoid;\n }\n\n .instant-apps-export-print .esri-legend--card {\n border: none;\n gap: 6pt 12pt;\n }\n\n .instant-apps-export-print .esri-legend--card:not(:first-child),\n .instant-apps-export-print .esri-compass.esri-widget:not(:first-child) {\n display: none;\n }\n\n .instant-apps-export-print .esri-legend--card__service-caption-container {\n height: unset;\n padding: 0;\n border-bottom: none;\n }\n\n .instant-apps-export-print .esri-legend--card__service-caption-text {\n padding-bottom: 4px;\n }\n\n .instant-apps-export-print__compass-container {\n position: absolute;\n top: 65px;\n left: 15px;\n background: #fff;\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);\n --calcite-ui-icon-color: #000;\n border-radius: 50%;\n height: fit-content;\n }\n\n .instant-apps-export-print__compass-container .esri-compass {\n background: #fff;\n }\n\n .instant-apps-export-print__compass-container .esri-compass__icon.esri-icon-compass {\n color: #000;\n }\n\n .instant-apps-export-print__compass-container.esri-compass.esri-widget--button {\n background: #fff;\n }\n\n .instant-apps-export-print__scale-bar-container {\n width: 100%;\n position: absolute;\n bottom: 15px;\n margin: 0 15px;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__label {\n color: #323232;\n font-size: 10px;\n padding: 0 4px;\n }\n \n .instant-apps-export-print__scale-bar-container--position .esri-scale-bar__label {\n height: 10px;\n padding: 0 2px;\n line-height: 11px;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__bar-container:nth-child(1n+3) {\n display: none;\n }\n\n .instant-apps-export-print__scale-bar-container--position .esri-scale-bar__bar-container.esri-scale-bar__bar-container--line {\n align-items: center;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line {\n background-color: rgba(255, 255, 255, 0.66);\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--top {\n width: var(--instant-apps-scale-bar-top) !important;\n border-bottom: 2px solid #323232;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--bottom {\n width: var(--instant-apps-scale-bar-bottom) !important;\n border-top: 2px solid #323232;\n }\n\n .instant-apps-export-print__scale-bar-container--position .esri-scale-bar__label-container--line {\n position: unset;\n margin: 0 2px;\n background-color: rgba(255, 255, 255, 0.66);\n height: 10px;\n display: flex;\n align-items: center;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--top:before,\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--top:after,\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--bottom:before,\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--bottom:after {\n background-color: #323232;\n border-right: 2px solid #323232;\n }\n\n .instant-apps-export-print__popup-container .esri-feature-media__item-navigation {\n display: none;\n }\n\n .instant-apps-export-print__popup-container .esri-feature-media__chart.esri-feature-media__chart--rendered * {\n width: 100%!important;\n }\n\n .instant-apps-export-print__popup-content .esri-popup__content {\n margin: 0;\n }\n\n .instant-apps-export-print__content-container {\n display: flex;\n gap: 24px;\n break-inside: avoid;\n break-before: auto;\n }',document.body.prepend(this.printStyleEl))}handleImgLoaded(){this.exportIsLoading=!0,setTimeout((()=>{"PDF"===this.selectedFileType&&(this.exportIsLoading=!1),this.setupViewPrintElements()}),1500)}handleExtraContent(){const t=this.printEl.querySelector("#export-content");if(null!=t){t.innerHTML="";const n=null!=this.extraContent&&this.includeExtraContent;this.printEl.classList.toggle(B,"PDF"!==this.selectedFileType&&this.showExtraContentInImg&&n),n?(t.style.display="block",t.append(this.extraContent.cloneNode(!0))):t.style.display="none"}else this.showExtraContentInImg&&"PDF"!==this.selectedFileType&&!this.includeExtraContent&&this.printEl.classList.toggle(B,!1)}resetPrintContent(){var t,n,i;if(null!=this.view){this.screenshot=null,null===(t=this.printContainerEl)||void 0===t||t.prepend(this.printEl),null===(n=this.printStyleEl)||void 0===n||n.remove(),null===(i=this.tmpPopupTitleEl)||void 0===i||i.remove(),this.printStyleEl=void 0;const s=this.printEl.querySelector("#export-content");s&&(s.innerHTML="")}}async updatePopupToPrint(){var t,n;if(null==this.view||null==this.popupContainerEl)return;this.popupContainerEl.style.display=this.includePopup&&this.view.popup.visible?"block":"none",this.checkPopupOpen();const i=this.includePopup&&(this.view.popup.visible||this.popupHiddenByMapArea)&&null!=this.view.popup.selectedFeature;if(this.printEl.classList.toggle(B,"PDF"!==this.selectedFileType&&i),i){const i=document.createElement(`h${null!==(t=this.view.popup.headingLevel)&&void 0!==t?t:2}`);i.innerHTML=null!==(n=this.view.popup.title)&&void 0!==n?n:"",i.className="esri-widget__heading esri-popup__header-title",null==this.popupTitleEl?(this.tmpPopupTitleEl=document.createElement("div"),this.tmpPopupTitleEl.prepend(i),this.tmpPopupTitleEl.style.display=this.view.popup.title?"block":"none",this.popupContainerEl.prepend(this.tmpPopupTitleEl)):(this.popupTitleEl.style.display=this.view.popup.title?"block":"none",this.popupTitleEl.innerHTML="",this.popupTitleEl.prepend(i))}}updateExportOutput(){this.output={},this.showHeaderTitle&&(this.output.headerTitle=this.headerTitle),this.showIncludeLegend&&(this.output.includeLegend=this.includeLegend),this.showIncludeMap&&(this.output.includeMap=this.includeMap),this.showIncludePopup&&(this.output.includePopup=this.includePopup),this.exportOutputUpdated.emit()}setupViewPrintElements(){if(null!=this.view)if(this.handleLegendSetup(),"PDF"===this.selectedFileType){const t=document.title;this.showHeaderTitle&&this.headerTitle&&(document.title=this.headerTitle),window.print(),document.title=t,setTimeout((()=>{this.resetPrintContent()}),1e3)}else this.convertToImage()}async convertToImage(){const t={backgroundColor:"#FFF",skipFonts:!0};let n="";try{n="JPG"===this.selectedFileType?await G(this.printEl,t):await async function(t,n={}){return(await V(t,n)).toDataURL()}(this.printEl,t)}catch(i){this.logoImage=void 0,await new Promise((t=>setTimeout(t,500))),n=await G(this.printEl,t)}finally{this.handleGetImage(n)}}handleGetImage(t){var n;this.resetPrintContent(),t&&(this.dataUrl=t,this.setMapAreaOnClick(!1),this.showPreview(t),null===(n=this.view)||void 0===n||n.container.classList.remove("screenshot-cursor"),this.setMaskPosition(null))}handleLegendSetup(){var t;if(this.showIncludeLegend&&null!=this.view&&this.includeMap&&null!=this.legendContainerEl){const n=null!=this.legend&&(null===(t=this.legend.activeLayerInfos)||void 0===t?void 0:t.length)>0;this.legendContainerEl.style.display=this.includeLegend&&n?"block":"none"}}handleWidgetCreation(){this.includeMap&&(this.handleLegendCreation(),this.handleCompassCreation(),this.updatePopupToPrint())}handleIncludePopup(){var t,n;if(this.showIncludePopup){const i="includePopup";null===(t=this.handles)||void 0===t||t.remove(i),null===(n=this.reactiveUtils)||void 0===n||n.whenOnce((()=>{var t;return null===(t=this.view)||void 0===t?void 0:t.ready})).then((()=>{var t;null===(t=this.handles)||void 0===t||t.add(this.reactiveUtils.watch((()=>{var t,n;return null===(n=null===(t=this.view)||void 0===t?void 0:t.popup)||void 0===n?void 0:n.visible}),(t=>{this.settingMapArea||(this.includePopup=t)})),i)}))}}handleLegendCreation(){var t,n,i,s,e;if(null!=this.view&&this.showIncludeLegend&&null!=this.legendContainerEl){const o=this.view.map,r=null===(n=null===(t=this.legend)||void 0===t?void 0:t.view)||void 0===n?void 0:n.map;null!=(null===(i=null==o?void 0:o.portalItem)||void 0===i?void 0:i.id)&&(null===(s=null==o?void 0:o.portalItem)||void 0===s?void 0:s.id)===(null===(e=null==r?void 0:r.portalItem)||void 0===e?void 0:e.id)||this.updateLegend()}}updateLegend(){var t;null===(t=this.view)||void 0===t||t.when((async t=>{if(null!=this.legend&&(this.legend.destroy(),this.legend=null),null!=this.legendContainerEl){this.legendContainerEl.innerHTML="";const n=document.createElement("div");this.legendContainerEl.append(n);const[i]=await o(["esri/widgets/Legend"]);this.legend=new i({container:n,view:t,respectLayerDefinitionExpression:!0,style:{type:"card",layout:"side-by-side"}})}}))}handleCompassCreation(){var t,n,i,s;if(null!=this.view&&null!=this.compassContainerEl){const e=this.view.map,o=null===(n=null===(t=this.compass)||void 0===t?void 0:t.view)||void 0===n?void 0:n.map;(null===(i=null==e?void 0:e.portalItem)||void 0===i?void 0:i.id)===(null===(s=null==o?void 0:o.portalItem)||void 0===s?void 0:s.id)||this.updateCompass()}}updateCompass(){var t;null===(t=this.view)||void 0===t||t.when((async t=>{var n;null===(n=this.compass)||void 0===n||n.destroy(),this.compass=null;const i=document.createElement("div");this.compassContainerEl.append(i);const[s]=await o(["esri/widgets/Compass"]);this.compass=new s({container:i,view:t})}))}updateScaleBar(){if(this.scaleBarContainerEl&&null!=this.view&&(this.scaleBarContainerEl.innerHTML="",this.showScaleBar)){const t=this.view.ui.getComponents(),n=null==t?void 0:t.find((({container:t})=>{var n;return null===(n=null==t?void 0:t.className)||void 0===n?void 0:n.includes("esri-scale-bar")}));null!=(null==n?void 0:n.container)&&"string"!=typeof n.container&&this.scaleBarContainerEl.append(n.container.cloneNode(!0))}}async viewScreenshot(){var t;if(null!=this.view&&this.includeMap&&(null==this.screenshot&&(null===(t=this.scaleBarContainerEl)||void 0===t||t.classList.toggle("instant-apps-export-print__scale-bar-container--position",this.view.width>1e3),this.screenshot=await this.view.takeScreenshot({width:2*this.view.width,height:2*this.view.height})),this.handleScaleBarSize(),null!=this.viewEl&&null!=this.viewWrapperEl)){const{height:t,width:n}=this.screenshot.data;t>n?this.setMaxRowHeightOnViewContainer():this.setMaxWidthOnViewContainer(),this.viewEl.src=this.screenshot.dataUrl}}setMaxRowHeightOnViewContainer(){"PDF"===this.selectedFileType&&(this.printEl.style.gridTemplateRows="minmax(auto, 70%)"),this.viewEl.style.height="100%",this.viewEl.style.width="",this.viewWrapperEl.style.height="100%",this.viewWrapperEl.style.width="fit-content"}setMaxWidthOnViewContainer(){this.printEl.style.gridTemplateRows="",this.viewEl.style.width="100%",this.viewEl.style.height="",this.viewWrapperEl.style.height="fit-content",this.viewWrapperEl.style.width="100%"}checkPopupOpen(){if(null!=this.view){const t=this.view.popup.container,n=null==t?void 0:t.querySelector(".esri-popup .esri-feature__main-container");if(null!=n){const t=n.querySelectorAll("canvas");this.popupContentEl.innerHTML="",this.popupContentEl.append(n.cloneNode(!0));const i=this.popupContentEl.querySelectorAll("canvas");t.forEach(((t,n)=>{var s;const e=t.toDataURL(),o=document.createElement("img");o.src=e;const r=t.getAttribute("style");r&&o.setAttribute("style",r);const a=i[n];null!=a&&(a.replaceWith(o),document.querySelector("link[href*='esri/themes/dark/main.css']")&&null!=(null===(s=o.parentElement)||void 0===s?void 0:s.parentElement)&&(o.parentElement.style.background="#242424",o.parentElement.parentElement.style.background="#242424"))}))}}}createScreenshot(){var t,n,i;if(null!=this.view){this.screenshotPreview=document.createElement("div"),this.screenshotPreview.className="screenshot-preview hide",this.screenshotImgContainer=document.createElement("div"),this.screenshotImgContainer.className="screenshot-img-container",this.screenshotImg=document.createElement("img");const s=document.createElement("div"),e=document.createElement("calcite-button"),o=document.createElement("calcite-button");e.innerHTML="PDF"===this.selectedFileType?null===(t=this.messages)||void 0===t?void 0:t.export:null===(n=this.messages)||void 0===n?void 0:n.downloadImage,o.innerHTML=null===(i=this.messages)||void 0===i?void 0:i.returnToMap,o.appearance="outline-fill",e.onclick=this.exportPreviewOnClick.bind(this),o.onclick=this.screenshotReturn.bind(this),s.append(o,e),this.screenshotImgContainer.append(this.screenshotImg,s),this.screenshotPreview.append(this.screenshotImgContainer),this.view.container.append(this.screenshotPreview)}}createMaskDiv(){null!=this.view&&(this.maskDivEl=document.createElement("div"),this.maskDivEl.id="screenshot-mask",this.maskDivEl.className="hide screenshot-cursor",this.maskDivEl.style.setProperty("--instant-apps-screenshot-mask-background",this.maskBackground),this.maskDivEl.style.setProperty("--instant-apps-screenshot-mask-border",this.maskBorder),this.screenshotStyle=document.createElement("style"),this.screenshotStyle.innerHTML="\n.screenshot-preview.hide, .hide {\n display: none;\n}\n\n.screenshot-cursor {\n cursor: crosshair;\n}\n\n.relative {\n position: relative;\n}\n\n#screenshot-mask {\n position: absolute;\n background: var(--instant-apps-screenshot-mask-background);\n border: var(--instant-apps-screenshot-mask-border);\n}\n\n.screenshot-preview {\n display: flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n text-align: center;\n background-color: rgba(0, 0, 0, 0.75);\n}\n\n.screenshot-preview * {\n box-sizing: border-box;\n}\n\n.screenshot-img-container img {\n max-height: 75%;\n max-width: 75%;\n object-fit: contain;\n box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, 0.5);\n margin-bottom: 0.5em;\n}\n\n.screenshot-img-container {\n height: 100%;\n width: 100%;\n overflow-y: auto;\n margin-bottom: 8px;\n display: flex;\n flex-flow: column;\n align-items: center;\n justify-content: center;\n}\n\n.screenshot-img-container calcite-button {\n margin: 5px;\n}",this.view.container.append(this.screenshotStyle),this.view.container.append(this.maskDivEl))}screenshotReturn(){this.removeScreenshotElements(),this.exportIsLoading=!1,this.screenshot=null,this.resetPopupVisibility()}setMapAreaOnClick(t){null!=this.view&&(this.settingMapArea=!0,t&&this.view.popup.visible&&(this.popupHiddenByMapArea=!0,this.view.popup.container.style.display="none"),this.exportIsLoading=!0,this.createMaskDiv(),this.createScreenshot(),this.view.container.classList.add("screenshot-cursor","relative"),this.view.addHandles(this.view.on("drag",(async t=>{null!=this.view&&(t.stopPropagation(),"end"!==t.action?this.updateMaskSize(t):this.maskScreenshot())})),st))}updateMaskSize(t){if(null!=this.view){const n=this.clamp(Math.min(t.origin.x,t.x),0,this.view.width),i=this.clamp(Math.max(t.origin.x,t.x),0,this.view.width),s=this.clamp(Math.min(t.origin.y,t.y),0,this.view.height),e=this.clamp(Math.max(t.origin.y,t.y),0,this.view.height);this.area={x:n,y:s,width:i-n,height:e-s},this.setMaskPosition(this.area)}}maskScreenshot(){var t;if(null!=this.view&&null!=this.area){this.view.removeHandles(st);const n=this.area.height,i=this.area.width;this.showScaleBar&&(null===(t=this.scaleBarContainerEl)||void 0===t||t.classList.toggle("instant-apps-export-print__scale-bar-container--position",this.view.width>1e3&&.75*this.view.width<i)),this.view.takeScreenshot({area:this.area,width:2*i,height:2*n,format:"jpg"}).then((t=>{var n;this.screenshot=t,null===(n=this.view)||void 0===n||n.container.classList.remove("screenshot-cursor"),this.setMaskPosition(null),"PDF"===this.selectedFileType?(this.showPreview(null==t?void 0:t.dataUrl),this.resetPopupVisibility()):(null==this.viewWrapperEl||this.viewWrapperEl.contains(this.compassContainerEl)||this.viewWrapperEl.append(this.compassContainerEl),this.handleViewExportOnClick(),null!=this.popoverEl&&(this.popoverEl.open=!1))}))}}setMaskPosition(t){null!=t?(this.maskDivEl.classList.remove("hide"),this.maskDivEl.style.left=`${t.x}px`,this.maskDivEl.style.top=`${t.y}px`,this.maskDivEl.style.width=`${t.width}px`,this.maskDivEl.style.height=`${t.height}px`):this.maskDivEl.remove()}clamp(t,n,i){return t<n?n:t>i?i:t}showPreview(t){t&&(this.screenshotPreview.classList.remove("hide"),null!=this.screenshotImg&&(this.screenshotImg.src=t))}handleScaleBarSize(){var t;if(this.showScaleBar&&"2d"===(null===(t=this.view)||void 0===t?void 0:t.type)&&null!=this.scaleBarContainerEl){const t=this.scaleBarContainerEl.querySelector(".esri-scale-bar__line--top"),n=this.scaleBarContainerEl.querySelector(".esri-scale-bar__line--bottom");this.setScalebarWidth(t,"top"),this.setScalebarWidth(n,"bottom")}}setScalebarWidth(t,n){var i;if(null!=t&&null!=this.screenshot){const s=this.screenshot.data.width/2,e=Number(t.style.width.replace("px",""));null===(i=this.scaleBarContainerEl)||void 0===i||i.style.setProperty(`--instant-apps-scale-bar-${n}`,e/s*100+"%")}}removeScreenshotElements(){var t,n,i;null===(t=this.view)||void 0===t||t.removeHandles(st),null===(n=this.screenshotPreview)||void 0===n||n.remove(),null===(i=this.screenshotStyle)||void 0===i||i.remove()}resetPopupVisibility(){this.view&&this.settingMapArea&&this.popupHiddenByMapArea&&(this.view.popup.container.style.display=""),this.settingMapArea=!1,this.popupHiddenByMapArea=!1}handleSelectFileType(t){this.selectedFileType=t.target.value,"PDF"===this.selectedFileType?(this.includeMap=this.pdfIncludeMap,this.showExtraContentInImg||(this.includeExtraContent=this.pdfIncludeExtraContent)):(this.pdfIncludeMap=this.includeMap,this.includeMap=!0,this.showExtraContentInImg||(this.pdfIncludeExtraContent=this.includeExtraContent,this.includeMap=!0,this.includeExtraContent=!1))}get el(){return e(this)}static get watchers(){return{includeMap:["watchIncludeMap"],view:["watchView"]}}};et.style=":host{display:block;--instant-apps-export-action-background:var(--calcite-color-foreground-1);--instant-apps-export-action-background-hover:var(--calcite-color-foreground-2);--instant-apps-export-action-background-press:var(--calcite-color-foreground-3);--instant-apps-export-action-height:100%;--instant-apps-export-action-width:fit-content;--instant-apps-export-action-icon-color:var(--calcite-color-text-3);--instant-apps-export-action-icon-hover-color:var(--calcite-color-text-1);--instant-apps-export-background:var(--calcite-color-foreground-1);--instant-apps-export-text-color:var(--calcite-color-text-1);--instant-apps-export-popover-width:250px}.instant-apps-export{height:100%}.instant-apps-export *{box-sizing:border-box}.instant-apps-export__popover-container,.instant-apps-export__inline-container{padding:12px;background:var(--instant-apps-export-background);--calcite-color-text-1:var(--instant-apps-export-text-color)}.instant-apps-export__popover-container{width:var(--instant-apps-export-popover-width)}.instant-apps-export calcite-action{height:var(--instant-apps-export-action-height);width:var(--instant-apps-export-action-width);--calcite-color-foreground-1:var(--instant-apps-export-action-background);--calcite-color-foreground-2:var(--instant-apps-export-action-background-hover);--calcite-color-foreground-3:var(--instant-apps-export-action-background-press);--calcite-color-text-3:var(--instant-apps-export-action-icon-color);--calcite-color-text-1:var(--instant-apps-export-action-icon-hover-color)}.instant-apps-export .instant-apps-export-print{display:none}.instant-apps-export .instant-apps-export-print_img{display:flex;flex-flow:row wrap}.instant-apps-export__visually-hidden{position:absolute;top:0;z-index:-1;visibility:hidden}.instant-apps-export calcite-input{--calcite-color-foreground-1:var(--instant-apps-export-background);--calcite-color-text-1:var(--instant-apps-export-text-color)}.instant-apps-export calcite-popover{--calcite-color-foreground-1:var(--instant-apps-export-background)}.instant-apps-export calcite-switch{--calcite-color-foreground-1:#fff;--calcite-color-foreground-2:#f3f3f3}.instant-apps-export calcite-button:last-of-type{margin-top:0.5rem}.instant-apps-export .calcite-mode-dark calcite-switch{--calcite-color-foreground-1:#2b2b2b;--calcite-color-foreground-2:#202020}.instant-apps-export__compass-container.esri-widget{background:#fff;box-shadow:0 1px 2px rgba(0, 0, 0, 0.3)}.instant-apps-export__compass-container.esri-widget .esri-compass__icon.esri-icon-compass{color:#6e6e6e}.hide{display:none}.screenshotCursor{cursor:crosshair}";export{et as instant_apps_export}
|
@@ -1,6 +0,0 @@
|
|
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 s,H as o,g as e}from"./p-c3eae9ba.js";import{l as n}from"./p-d001e961.js";import{b as a}from"./p-3df0f3d3.js";import{w as r}from"./p-04674a1e.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-ac122d9e.js";const l="instant-apps-scoreboard",d=`${l}--`,c=`${l}__`,h=r.medium[1],p={BASE:l,itemsContainer:`${c}items-container`,items:`${c}items`,item:`${c}item`,label:`${c}item-label`,value:`${c}item-value`,valuePlaceholder:`${c}item-value-placeholder`,position:{bottom:`${c}position--bottom`,side:`${c}position--side`,left:`${c}position--left`,right:`${c}position--right`},mode:{floating:`${c}mode--floating`,pinned:`${c}mode--pinned`}},u=class{constructor(s){t(this,s),this.scoreboardItemsUpdated=i(this,"scoreboardItemsUpdated",7),this.view=void 0,this.items=void 0,this.position="bottom",this.mode="floating",this.itemLimit=6,this.autoDockEnabled=!0,this.geometry=null,this.queryType="layerView",this.state="loading",this.messages=void 0,this.itemIndex=0,this.layers=void 0,this.layerViews=void 0,this.isMobile=!1}scoreboardItemsUpdatedHandler(){this.scoreboardItemsUpdated.emit(this.items)}generateUIDs(){this.itemIndex=0,this.items.forEach(this.generateUID())}async storeLayers(){this.state="calculating",await this.view.map.loadAll();const t=this.items.map((t=>{var i;return null===(i=null==t?void 0:t.layer)||void 0===i?void 0:i.id}));this.layers=this.view.map.allLayers.filter((i=>(i=>(t=>!t.isTable)(i)&&(t=>"feature"===t.type||"scene"===t.type)(i)&&(i=>t.indexOf(i.id)>-1)(i))(i))),this.watchLayerVisibility()}async storeLayerViews(){if(this.layers&&this.layers.length>0){this.layers.forEach((t=>t.outFields=["*"]));const t=[];this.layers.forEach((i=>{const s=this.view.whenLayerView(i);t.push(s)}));const i=(await Promise.allSettled(t)).filter((t=>"fulfilled"==t.status&&t.value)).map((t=>t.value)),s=[];i.forEach((t=>{var i;return s.push(null===(i=this.reactiveUtils)||void 0===i?void 0:i.whenOnce((()=>!t.updating)))})),await Promise.all(s),this.layerViews=new this.Collection([...i])}}calculateScoreboardItemValuesFromGeometry(){this.calculateScoreboardItemValues()}async calculateScoreboardItemValues(){if(this.layers&&0===this.layers.length||this.layerViews&&0===this.layerViews.length)return;this.state="calculating";const t=[...this.items],i=[];this.queryStatDefinitions(t,i);const s=await Promise.all(i);this.handleQueryFeaturesResponses(s,t),this.items.length=0,t.forEach((t=>this.items.push(t))),this.state="complete",this.scoreboardItemsUpdatedHandler(),this.initStationaryWatcher()}async componentWillLoad(){var t;new ResizeObserver((()=>{this.itemIndex=0,this.autoDockEnabled&&(this.isMobile=!!this.checkMobile)})).observe(null===(t=this.el)||void 0===t?void 0:t.parentElement);try{this.state="loading",await this.initMessages()}catch(t){return this.state="disabled",Promise.reject()}finally{if(!this.view||!this.items)return this.state="disabled",Promise.reject();try{return await this.initModules(),Promise.resolve()}catch(t){return this.state="disabled",Promise.reject()}}}async componentDidLoad(){var t;if("disabled"!==this.state)try{await(null===(t=this.reactiveUtils)||void 0===t?void 0:t.whenOnce((()=>{var t;return null===(t=this.view)||void 0===t?void 0:t.ready}))),this.generateUIDs(),await this.loadMapResources(),this.storeLayers(),this.initViewUpdateWatcher()}catch(t){this.state="disabled",console.error(`${l}: FAILED TO LOAD MAP RESOURCES`)}}disconnectedCallback(){var t,i,s,o,e,n;this.state="disabled",this.itemIndex=0,null===(t=this.layers)||void 0===t||t.removeAll(),null===(i=this.layers)||void 0===i||i.destroy(),this.layers=null,null===(s=this.layerViews)||void 0===s||s.removeAll(),null===(o=this.layerViews)||void 0===o||o.destroy(),this.layerViews=null,null===(e=this.handles)||void 0===e||e.removeAll(),null===(n=this.handles)||void 0===n||n.destroy(),this.handles=null}async initMessages(){let t;try{return t=(await a(this.el))[0],this.messages=Object.assign(Object.assign({},this.messages),t),Promise.resolve()}catch(t){console.error("FAILED TO LOAD MESSAGES"),Promise.reject()}}async initModules(){try{const[t,i,s,o]=await n(["esri/core/Handles","esri/core/reactiveUtils","esri/core/Collection","esri/intl"]);return this.reactiveUtils=i,this.Collection=s,this.intl=o,this.handles=new t,this.layers=new s,this.layerViews=new s,Promise.resolve()}catch(t){return console.error(t),this.state="disabled",Promise.reject()}}async loadMapResources(){const{map:t}=this.view,i=t;try{return await i.loadAll(),Promise.resolve()}catch(t){return console.error(t),this.state="disabled",Promise.reject()}}generateUID(){return t=>{const i=Math.random(),s=Math.floor(10*Math.random())+11,o=i.toString(s).replace("0.","");t.uid=o}}render(){var t,i;const{state:e}=this,n="disabled"===e,a="loading"===e||"calculating"===e||"layerView"===this.queryType&&(null===(t=this.view)||void 0===t?void 0:t.updating)?this.renderProgress():null;return s(o,{key:"5a7e3fdc0753d3f951a71397519ebf07ecd68e03",class:`${this.getPositionClass} ${this.getStyleClass}`},n?null:[a,(null===(i=this.items)||void 0===i?void 0:i.length)>0?this.renderBase():null])}renderBase(){return s("div",{key:"instant-apps-scoreboard-base",class:l},this.renderContent())}renderContent(){const{state:t}=this;return"loading"===t?this.renderLoader():"calculating"===t||"complete"===t?this.renderItemsContainer():null}renderItemsContainer(){const[t,i]=this.renderPreviousNextButtons();return s("div",{class:p.itemsContainer},t,this.renderItems(),i)}renderPreviousNextButtons(){var t,i,o;const e=this.getItemLimit(),n=(null===(t=this.items.filter((t=>t.visible)))||void 0===t?void 0:t.length)<=e,a=0===this.itemIndex,r=this.isEnd,l=!!this.isMobile||"bottom"===this.position,d=l?"start":"center",c={previous:l?"chevron-left":"chevron-up",next:l?"chevron-right":"chevron-down"},h=a||n?"blank":c.previous,p=r||n?"blank":c.next,u={previous:a||n,next:r||n},b="transparent",m=this.isMobile?"s":"l",v={previous:null===(i=this.messages)||void 0===i?void 0:i.previous,next:null===(o=this.messages)||void 0===o?void 0:o.next};return[s("calcite-action",{onClick:this.previousItem.bind(this),icon:h,disabled:u.previous,alignment:d,scale:m,appearance:b,text:v.previous,label:v.previous}),s("calcite-action",{onClick:this.nextItem.bind(this),icon:p,disabled:u.next,alignment:d,scale:m,appearance:b,text:v.next,label:v.next})]}renderItems(){const{items:t}=p,i=this.getItemsToDisplay.map((t=>this.renderItem(t)));return s("ul",{class:t},i)}renderItem(t){const{label:i}=t;return s("li",{class:p.item},s("span",{class:p.label,title:i},i),this.renderValue(t))}renderValue(t){var i,o,e;const{displayValue:n}=t,a="disabled"===this.state,r=void 0===n&&"calculating"===this.state,l=n||(null===(i=this.messages)||void 0===i?void 0:i.NA),d=null===(o=this.layers)||void 0===o?void 0:o.find((i=>{var s;return(null===(s=null==t?void 0:t.layer)||void 0===s?void 0:s.id)===i.id})),c=!(null==d?void 0:d.visible),h=r?this.renderValuePlaceholder():a?"":c?s("calcite-icon",{icon:"view-hide",scale:"l",title:null===(e=this.messages)||void 0===e?void 0:e.layerVisibilityOff}):l;return s("span",{class:p.value},h)}renderValuePlaceholder(){return s("span",{class:p.valuePlaceholder})}renderProgress(){return s("calcite-progress",{key:`${d}calcite-progress`,type:"indeterminate"})}renderLoader(){var t;const i=null===(t=this.messages)||void 0===t?void 0:t.loading;return s("calcite-loader",{key:`${d}calcite-loader`,label:i,text:i,scale:"m"})}get getPositionClass(){const{bottom:t,left:i,right:s,side:o}=p.position;return this.isMobile||"bottom"===this.position?t:`${"left"===this.position?i:s} ${o}`}get getStyleClass(){const{floating:t,pinned:i}=p.mode;return this.isMobile?i:"floating"===this.mode?t:i}get checkMobile(){var t,i;const s=null===(i=null===(t=this.el)||void 0===t?void 0:t.parentElement)||void 0===i?void 0:i.offsetWidth;return!isNaN(s)&&s>0&&s<h}get getItemsToDisplay(){const t=this.getItemLimit();return this.items.filter((t=>t.visible)).slice(this.itemIndex,t+this.itemIndex)}get isEnd(){const t=this.getItemLimit(),i=this.items.slice(this.items.length-t).map((t=>t.uid)),s=this.items.slice(this.itemIndex,this.itemIndex+t).map((t=>t.uid));return i.every(((t,i)=>t===s[i]))}previousItem(){this.itemIndex=this.itemIndex-1}nextItem(){this.itemIndex=this.itemIndex+1}queryStatDefinitions(t,i){const s=(t,i)=>{var s,o,e,n,a;const r="layer"===this.queryType?t.layer.createQuery():t.createQuery(),l=this.geometry?this.geometry:this.view.extent;r.outStatistics=[i],r.geometry=l;const d=null!==(a=null!==(o=null===(s=null==t?void 0:t.filter)||void 0===s?void 0:s.timeExtent)&&void 0!==o?o:null===(n=null===(e=null==t?void 0:t.featureEffect)||void 0===e?void 0:e.filter)||void 0===n?void 0:n.timeExtent)&&void 0!==a?a:null;return d&&(r.timeExtent=d),r};t.forEach((()=>async t=>{var o;const e=null===(o=this.layerViews)||void 0===o?void 0:o.find((i=>{var s;return i.layer.id===(null===(s=null==t?void 0:t.layer)||void 0===s?void 0:s.id)}));if(!e)return;const n=(t=>{const{field:i,operation:s}=t;return{onStatisticField:i,outStatisticFieldName:`${i}_${s}`,statisticType:s}})(t),a=s(e,n),r="layer"===this.queryType?e.layer.queryFeatures(a):e.queryFeatures(a);i.push(r)})())}handleQueryFeaturesResponses(t,i){t.forEach((()=>(t,s)=>{const o=(t=>{const i=t.features[0],{attributes:s}=i;return Object.values(s)[0]})(t),e=null!==o,n=e?this.intl.formatNumber(o,{notation:"compact",compactDisplay:"short"}):null;i[s].displayValue=e?`${n}`:"",i[s].value=o})())}initStationaryWatcher(){var t,i;const s={once:!0,initial:!0},o=()=>{var t;return null===(t=this.reactiveUtils)||void 0===t?void 0:t.when((()=>{var t;return!(null===(t=this.view)||void 0===t?void 0:t.interacting)}),(()=>{"layerView"===this.queryType&&this.calculateScoreboardItemValues()}),s)},e="stationary-watcher-key";(null===(t=this.handles)||void 0===t?void 0:t.has(e))&&this.handles.remove(e),null===(i=this.handles)||void 0===i||i.add((()=>{var t;return null===(t=this.reactiveUtils)||void 0===t?void 0:t.when((()=>{var t;return null===(t=this.view)||void 0===t?void 0:t.stationary}),(()=>o()))})(),e)}initViewUpdateWatcher(){return this.reactiveUtils.watch((()=>{var t;return null===(t=this.view)||void 0===t?void 0:t.updating}),(()=>{this.reactiveUtils.when((()=>{var t;return!(null===(t=this.view)||void 0===t?void 0:t.updating)}),(()=>{"layerView"===this.queryType&&this.calculateScoreboardItemValues()}),{once:!0,initial:!0})}),{initial:!0})}watchLayerVisibility(){var t,i;if(!this.layers)return;const s="visbilityWatcherKey";null===(t=this.handles)||void 0===t||t.remove(s);const o=[];this.layers.forEach((t=>{const i=async()=>{const i=await this.view.whenLayerView(t);await this.reactiveUtils.whenOnce((()=>!1===(null==i?void 0:i.updating))),this.calculateScoreboardItemValues()},s=this.reactiveUtils.watch((()=>null==t?void 0:t.visible),(async()=>i()));o.push(s)})),null===(i=this.handles)||void 0===i||i.add([...o],s)}getItemLimit(){return this.itemLimit<2||this.itemLimit>6?6:this.itemLimit}get el(){return e(this)}static get watchers(){return{items:["generateUIDs","storeLayers"],layers:["storeLayerViews"],geometry:["calculateScoreboardItemValuesFromGeometry"],layerViews:["calculateScoreboardItemValues"]}}};u.style=":host{display:block;--instant-apps-scoreboard-background-color:var(--calcite-color-foreground-1);--instant-apps-scoreboard-text-color:var(--calcite-color-text-1);--instant-apps-scoreboard-mobile-position-bottom:0;background-color:var(--instant-apps-scoreboard-background-color);color:var(--instant-apps-scoreboard-text-color)}:host .instant-apps-scoreboard{box-sizing:border-box;border:1px solid var(--calcite-color-border-1);box-shadow:0px 3px 15px rgba(0, 0, 0, 0.2);border-radius:3px}:host .instant-apps-scoreboard calcite-loader{--calcite-loader-padding:1rem}:host .instant-apps-scoreboard__items-container{display:flex}:host .instant-apps-scoreboard__items-container calcite-action{height:100%}:host .instant-apps-scoreboard__items,:host .instant-apps-scoreboard__item{box-sizing:border-box;display:flex}:host .instant-apps-scoreboard__items{list-style-type:none;padding-left:0;margin:0;padding-top:1.75%;padding-bottom:1.75%;width:100%}:host .instant-apps-scoreboard__item{flex-direction:column;justify-content:flex-end;align-items:center;padding:1%}:host .instant-apps-scoreboard__item-label{box-sizing:border-box;line-height:24px;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;word-break:break-word;font-size:1rem;font-weight:400;text-align:center}:host .instant-apps-scoreboard__item-value{display:flex;justify-content:center;align-items:center;min-width:32px;min-height:32px;margin-top:5px;font-size:1.5rem;font-weight:900}:host .instant-apps-scoreboard__item-value-placeholder{display:inline-block;width:32px;height:32px;background-color:var(--calcite-color-foreground-3);border-radius:4px}:host(.instant-apps-scoreboard__position--bottom){bottom:0}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__items{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__item{min-width:10vw;vertical-align:top}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating){left:50%;max-width:calc(100% - 30px);transform:translate(-50%, -15px)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:25vw}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){left:unset;bottom:0;transform:unset;width:100%}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{min-width:unset}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{width:100%;justify-content:space-between}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard{display:flex;justify-content:center;align-items:center;width:10vw;overflow-y:auto}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container{flex-direction:column;height:100%;box-sizing:border-box}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container calcite-action{height:unset;width:100%}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items{flex-direction:column;padding:10px}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__item{padding-top:0.5vh;padding-bottom:0.5vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating){top:15px;left:15px;max-height:calc(100% - 30px)}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:10vw;min-height:35vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned){top:unset;left:unset;transform:unset;height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{justify-content:space-between}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--floating){left:15px}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--floating){left:unset;right:15px}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--pinned){left:0}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--pinned){left:unset;right:0}@media only screen and (min-width: 992px){:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){bottom:var(--instant-apps-scoreboard-mobile-position-bottom)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__item{justify-content:center;min-width:unset;flex-grow:1}}";export{u as instant_apps_scoreboard}
|
@@ -1,6 +0,0 @@
|
|
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{e as a}from"./p-0a24ad5f.js";const s=async(s,t)=>(a.exports.setDefaultOptions({url:"https://js.arcgis.com/4.31/"}),(await a.exports.loadModules(s,t)).map((a=>a.__esModule&&a.default?a.default:a)));export{s as l}
|
@@ -1,6 +0,0 @@
|
|
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{g as r}from"./p-d4056c1c.js";import{_ as t}from"./p-4fe489cf.js";var n,o,e={exports:{}},i={exports:{}},u={exports:{}};o=t.exports.default,(n=u).exports=function(r,t){if("object"!=o(r)||!r)return r;var n=r[Symbol.toPrimitive];if(void 0!==n){var e=n.call(r,t||"default");if("object"!=o(e))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(r)},n.exports.__esModule=!0,n.exports.default=n.exports,function(r){var n=t.exports.default,o=u.exports;r.exports=function(r){var t=o(r,"string");return"symbol"==n(t)?t:t+""},r.exports.__esModule=!0,r.exports.default=r.exports}(i),function(r){var t=i.exports;r.exports=function(r,n,o){return(n=t(n))in r?Object.defineProperty(r,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[n]=o,r},r.exports.__esModule=!0,r.exports.default=r.exports}(e);const a=r(e.exports);var c={exports:{}};!function(r){function t(r,t,n,o,e,i,u){try{var a=r[i](u),c=a.value}catch(r){return void n(r)}a.done?t(c):Promise.resolve(c).then(o,e)}r.exports=function(r){return function(){var n=this,o=arguments;return new Promise((function(e,i){var u=r.apply(n,o);function a(r){t(u,e,i,a,c,"next",r)}function c(r){t(u,e,i,a,c,"throw",r)}a(void 0)}))}},r.exports.__esModule=!0,r.exports.default=r.exports}(c);const f=r(c.exports);export{f as _,a,e as d}
|
@@ -1,6 +0,0 @@
|
|
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 a,H as e,g as i}from"./p-c3eae9ba.js";import{g as n}from"./p-3df0f3d3.js";import{l as r}from"./p-d001e961.js";import{g as s}from"./p-a9a72626.js";import"./p-ac122d9e.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";const o={"instant-apps":{path:"M11.206 4.805v-1.38a2.231 2.231 0 0 1 2.23-2.231h13.168a2.231 2.231 0 0 1 2.231 2.23v11.15a2.231 2.231 0 0 1-2.23 2.231h-1.398V5.555a.75.75 0 0 0-.75-.75zM30.94 27.204l-5.447-4.41a.211.211 0 0 0-.344.164v2.225H8.197a1.344 1.344 0 0 1-1.344-1.344V11.665a.75.75 0 0 1 .75-.75h9.872a.75.75 0 0 1 .75.75l-.003 7.534a2.422 2.422 0 0 1-.798 1.796l-.945.855h4.3a1.075 1.075 0 0 0 1.074-1.075v-10.54a2.231 2.231 0 0 0-2.23-2.23H5.354a2.148 2.148 0 0 0-2.13 2.23v16.507a2.231 2.231 0 0 0 2.23 2.231l19.695-.003v2.725a.211.211 0 0 0 .344.164l5.447-4.41a.158.158 0 0 0 0-.245z",fill:"#83a238"},"map-viewer":{path:"M21.647 13.706A1.647 1.647 0 1 1 20 15.353a1.647 1.647 0 0 1 1.647-1.647zM19 19.083A1.917 1.917 0 1 1 17.082 21 1.917 1.917 0 0 1 19 19.082zm7.684 3.393a2.433 2.433 0 0 1-.64 1.776l-.01.012c-1.045 1.134-3.215 1.8-5.738 1.8-3.815 0-5.054-1.485-8.586-1.828a6.765 6.765 0 0 1 .566-4.07c.98-1.674 2.445-1.568 3.41-2.724.967-1.157.033-3.384 1.397-4.748 1.539-1.538 3.44-.12 4.57-2.542.877-1.884 1.84-2.98 3.68-3.35a.39.39 0 0 1 .047.07c.132.695 1.097 11.68 1.304 15.604zM6.208 8.864A3.054 3.054 0 0 1 8.115 6.17s2.425-.88 3.09-1.029a2.637 2.637 0 0 1 .314-.01 4.967 4.967 0 0 1 1.157.157l.404.095a7.26 7.26 0 0 0-.238 3.294c.188 1.354.657 2.399-.066 4.361-1.003 2.721-2.901 2.585-3.857 4.562-1.285 2.657.21 6.226-2.182 6.835l.004.002.003.003c-.801.114-1.363.22-1.663.272zm21.549-5.09a.055.055 0 0 0-.022-.037.058.058 0 0 0-.037-.01l-7.37 1.025-8.771-2.742a.227.227 0 0 0-.162.01L3.594 5.566a.054.054 0 0 0-.032.045L1.58 29a41.592 41.592 0 0 1 9.115-1.285c2.765.094 6.646 2.287 10.29 2.177 3.51-.108 8.582-2.382 9.564-2.836a.054.054 0 0 0 .03-.056z",fill:"#3DB8FF"},"story-maps":{path:"M25.5 0C23.015 0 21 .953 21 3.433v8.517a1.467 1.467 0 0 0 .43 1.038l3.837 3.827a.33.33 0 0 0 .466 0l3.836-3.827A1.467 1.467 0 0 0 30 11.95V3.433C30 .953 27.985 0 25.5 0zm0 8.1a2.6 2.6 0 1 1 2.6-2.599A2.599 2.599 0 0 1 25.5 8.1zm-7.856.453c.294-.153.312-.457.312-.788v-2.31a.104.104 0 0 0-.129-.1 6.128 6.128 0 0 0-2.248 1.19.14.14 0 0 1-.167.008c-3.437-2.283-8.543-1.52-12.131-.988-.432.064-1.762.34-2.164.424A.146.146 0 0 0 1 6.133V26.69a.147.147 0 0 0 .05.11.134.134 0 0 0 .116.035A36.394 36.394 0 0 1 9.5 25.781c3.283.054 4.403.96 4.967 1.513l.915.897a.164.164 0 0 0 .23 0l.916-.897a5.98 5.98 0 0 1 3.972-1.47 25.341 25.341 0 0 1 5.715.516c.718.109 1.46.22 2.186.312l1.251.16a.308.308 0 0 0 .348-.305v-7.375a.161.161 0 0 0-.303-.077l-.107.2a7.218 7.218 0 0 1-6.902 3.766 10.455 10.455 0 0 0-5.688.796V9.454a.89.89 0 0 1 .332-.693 2.058 2.058 0 0 1 .312-.208zM14 23.817c-3.071-1.38-5.998-.808-9.447-.293l-.253.036a.263.263 0 0 1-.3-.259V8.525a.098.098 0 0 1 .084-.097l.804-.115c2.518-.372 6.303-1.048 8.708.515a.89.89 0 0 1 .404.746z",fill:"#4fbaa9"},dashboards:{path:"M25.819 28H23.18a.181.181 0 0 1-.181-.181V13.18a.181.181 0 0 1 .181-.181h2.638a.181.181 0 0 1 .181.181V27.82a.181.181 0 0 1-.181.181zM21 27.816v-9.631a.184.184 0 0 0-.184-.185h-2.631a.184.184 0 0 0-.185.184v9.631a.184.184 0 0 0 .184.185h2.631a.184.184 0 0 0 .185-.184zm9.82.184a.18.18 0 0 0 .18-.18v-7.64a.18.18 0 0 0-.18-.18h-2.64a.18.18 0 0 0-.18.18v7.64a.18.18 0 0 0 .18.18zM7 9.267v10.475c.706.033 3.538-1.718 4.274-4.7.679-2.751 3.485-2.864 4.443-2.94 1.766-.14 3.588-.607 4.566-2.798A.216.216 0 0 0 20.085 9H7.267A.267.267 0 0 0 7 9.267zm18.997-1.053A4.411 4.411 0 0 0 21.63 4H2.684A.684.684 0 0 0 2 4.684V21.81A3.19 3.19 0 0 0 5.19 25h9.565a.245.245 0 0 0 .245-.245v-2.362a.393.393 0 0 0-.393-.393H6.38A1.385 1.385 0 0 1 5 20.619V7.349A.348.348 0 0 1 5.348 7h16.324A1.346 1.346 0 0 1 23 8.363v1.28a.357.357 0 0 0 .357.357h2.599a.046.046 0 0 0 .046-.046z",fill:"#ee9e01"},"experience-builder":{path:"M30.85 12.82l-2.85 5v7.44A1.78 1.78 0 0 1 26.22 27H25V7.75a.76.76 0 0 0-.75-.75H12V1.31a.28.28 0 0 1 .42-.25L17.51 4h8.71A1.78 1.78 0 0 1 28 5.78v4.42l2.54 1.47a.83.83 0 0 1 .31 1.15zM12 18h8v-6h-8zm7.62 5H7.75a.76.76 0 0 1-.75-.75V4H5.78A1.78 1.78 0 0 0 4 5.78V13l-2.89 5a.85.85 0 0 0 .31 1.15L4 20.59v4.61A1.78 1.78 0 0 0 5.78 27h8.62l5.18 3a.28.28 0 0 0 .42-.24v-6.39a.38.38 0 0 0-.38-.37z",fill:"#09b8ca"},geoBIM:{path:"M17.802 21.398l6.2 2.557-5.14 2.133a.772.772 0 0 1-1.06-.717zM9.311 7.868a.604.604 0 0 1-.003-1.122L16 4.169l8.12 3.148-8.119 3.184zm-3.5 1.541l8.387 3.413v12.554a.772.772 0 0 1-1.06.717l-6.297-2.736a1.639 1.639 0 0 1-1.03-1.521zM3.844 6.03a1.316 1.316 0 0 0-.827 1.22v17.395a1.316 1.316 0 0 0 .827 1.221L16 30.888l12.983-5.317v-2.423l-7.156-3.023 7.156-2.963v-1.95l-5.101-2.2-3.867 1.516L24 16.123l-6.199 2.505v-5.711l.073-.122 11.108-4.487v-1.95l-12.47-5.047a1.384 1.384 0 0 0-1.027 0z",fill:"#11ad1d"},notebooks:{path:"M2.941 25A.906.906 0 0 1 2 24.135v-.271A.906.906 0 0 1 2.941 23h3.118a.906.906 0 0 1 .941.864v.271a.906.906 0 0 1-.941.865zm3.118-8A.906.906 0 0 0 7 16.135v-.271A.906.906 0 0 0 6.059 15H2.941a.906.906 0 0 0-.941.864v.271a.906.906 0 0 0 .941.865zm0-8A.906.906 0 0 0 7 8.135v-.271A.906.906 0 0 0 6.059 7H2.941A.906.906 0 0 0 2 7.864v.271A.906.906 0 0 0 2.941 9zm9.44 16h-3.726a.773.773 0 0 1-.773-.774V6.171A.172.172 0 0 1 11.172 6H15.5a.5.5 0 0 0 .5-.5v-2a.5.5 0 0 0-.5-.5H5.342A1.345 1.345 0 0 0 4 4.343V5h2.059A2.904 2.904 0 0 1 9 7.858v.277A2.907 2.907 0 0 1 6.059 11H4v2h2.059A2.907 2.907 0 0 1 9 15.864v.271A2.907 2.907 0 0 1 6.059 19H4v2h2.059A2.907 2.907 0 0 1 9 23.864v.271A2.907 2.907 0 0 1 6.059 27H4v1.405a.595.595 0 0 0 .595.595H15.5a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5zM20 3.5v2a.5.5 0 0 0 .5.5h4a.5.5 0 0 1 .5.5v18a.5.5 0 0 1-.5.5h-4a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h8a.5.5 0 0 0 .5-.5v-25a.5.5 0 0 0-.5-.5h-8a.5.5 0 0 0-.499.5z",fill:"#6e6e6e"},sites:{path:"M2.656 29A.656.656 0 0 1 2 28.344V6.185A3.189 3.189 0 0 1 5.185 3H29.72a.281.281 0 0 1 .281.281v22.53A3.194 3.194 0 0 1 26.81 29zm2.838-3h21.211a.295.295 0 0 0 .296-.295V13.494a.493.493 0 0 0-.493-.494H5v12.506a.494.494 0 0 0 .494.494zM23 9.91a.09.09 0 0 0 .09.09h3.82a.09.09 0 0 0 .09-.09V6.026A.026.026 0 0 0 26.974 6h-3.948a.026.026 0 0 0-.026.026zM6.633 6A1.597 1.597 0 0 0 5 7.595V10h14.523A.477.477 0 0 0 20 9.523V6.477A.477.477 0 0 0 19.523 6zM16 22v-5h7v5zm-7-2v-3h3v3z",fill:"#7842ed"},webAppBuilder:{path:"M15.044 19.974a.188.188 0 0 1-.192-.001l-3.762-2.35a.188.188 0 0 1-.09-.16v-4.098a.188.188 0 0 1 .096-.163l3.761-2.178a.188.188 0 0 1 .182-.001l3.863 2.179a.188.188 0 0 1 .098.165v4.095a.187.187 0 0 1-.092.161zm15.13-1.04a.052.052 0 0 0 .099.022 8.048 8.048 0 0 0 .67-3.147 7.155 7.155 0 0 0-3.507-6.213L17.59 3.768a4.054 4.054 0 0 0-1.968-.627 3.95 3.95 0 0 0-1.894.485c-.607.334-1.132.67-1.278.754a2.951 2.951 0 0 0-1.39 2.506v1.078a.2.2 0 0 0 .307.167l1.365-.87a4.988 4.988 0 0 1 2.319-.792 4.62 4.62 0 0 1 2.219.792s8.442 5.017 9.392 5.576a7.045 7.045 0 0 1 3.513 6.084zM9.546 23.55l.947-.547a.2.2 0 0 0 0-.345l-1.369-.79a4.326 4.326 0 0 1-2.13-3.842V7.286a7.16 7.16 0 0 1 3.63-6.083l.081-.05a.025.025 0 0 0-.012-.045l-.25-.005a8.333 8.333 0 0 0-3.887.994A7.102 7.102 0 0 0 3.069 8.31v10.786a3.96 3.96 0 0 0 1.89 3.362c.894.545 1.605.974 1.81 1.092a2.787 2.787 0 0 0 2.777 0zm4.383 6.37l9.997-5.773a3.959 3.959 0 0 0 1.967-3.32c.021-.929.034-1.604.034-1.806a2.786 2.786 0 0 0-1.39-2.406l-1.123-.57a.2.2 0 0 0-.289.177v1.604a4.45 4.45 0 0 1-2.218 3.842l-3.708 2.14a3.366 3.366 0 0 1-.256.135L11.6 27.128a6.427 6.427 0 0 1-3.343.938 7.137 7.137 0 0 1-3.513-1.038c-.09-.052-.38-.226-.797-.479a.094.094 0 0 0-.134.12 7.182 7.182 0 0 0 2.942 3.25 7.241 7.241 0 0 0 3.587 1.028 7.243 7.243 0 0 0 3.587-1.028z",fill:"#09b8ca"},urban:{path:"M32 14l-4 .003a1 1 0 0 0-1 1V21a1 1 0 0 1-1 1h-2V5.451l-7.598-3.335A1 1 0 0 0 15 3.03V25a1 1 0 0 1-1 1h-2V11.24h-.02L7.5 9l-4.48 2.24H3V20H0v4h5a1 1 0 0 0 1-1V12.717L7.5 12l1.5.717V28a2 2 0 0 0 2 2h5a2 2 0 0 0 2-2V6.094l3 1.317V24a2 2 0 0 0 2 2h5.02A1.977 1.977 0 0 0 30 24.024V17h2z",fill:"#3DB8FF"}},c=new Map;function l(t){return c[t]||""}Object.keys(o).forEach((t=>{c[t]=`<svg viewBox="0 0 32 32" width="32" height="32" fill="${o[t].fill}"><path d="${o[t].path}"/></svg>`}));const p="instant-apps-create calcite-mode-light",h=class{constructor(a){t(this,a),this.popoverIcon="grid",this.mode="inline",this.popoverPositioning="absolute",this.popoverPlacement="auto",this.showHeader=!0,this.content=void 0,this.options=["instant-apps","map-viewer","story-maps","experience-builder","dashboards"],this.portal=void 0,this.baseClass=p,this.messages={},this.CreateOptionsLookup=void 0}contentChanged(){Object.keys(this.CreateOptionsLookup).forEach((t=>{this.CreateOptionsLookup[t].href=this.hrefLookup(t)}))}componentWillLoad(){return this.baseClass="dark"===s(this.el)?"instant-apps-create calcite-mode-dark":p,this.initializeModules(),n(this).then((()=>{this.initializePredefinedOptions()}))}disconnectedCallback(){var t,a;null===(t=this.handles)||void 0===t||t.removeAll(),null===(a=this.handles)||void 0===a||a.destroy(),this.handles=null}render(){const t="popover"===this.mode?this.renderPopover():this.renderPanel();return a(e,{key:"ee6a5076dce36a238288216de4cbd77d16347c15"},a("div",{key:"c22b60a05f5d0b430c76ab8edcf52577f1eecfaa",class:this.baseClass},t))}async initializeModules(){const[t]=await r(["esri/core/Handles"]);return this.handles=new t,Promise.resolve()}initializePredefinedOptions(){const{instantApps:t,instantAppsDesc:a,mapViewer:e,mapViewerDesc:i,arcgisStoryMaps:n,storyMapsDesc:r,experienceBuilder:s,experienceBuilderDesc:o,dashboards:c,dashboardsDesc:p}=this.messages;this.CreateOptionsLookup={"instant-apps":{title:t,subtitle:a,img:l("instant-apps"),href:this.hrefLookup("instant-apps")},"map-viewer":{title:e,subtitle:i,img:l("map-viewer"),href:this.hrefLookup("map-viewer")},"story-maps":{title:n,subtitle:r,img:l("story-maps"),href:this.hrefLookup("story-maps")},"experience-builder":{title:s,subtitle:o,img:l("experience-builder"),href:this.hrefLookup("experience-builder")},dashboards:{title:c,subtitle:p,img:l("dashboards"),href:this.hrefLookup("dashboards")}}}hrefLookup(t){var a,e;const i=this.getBaseUrl(this.portal),n=this._getEnvironment(i),r=this.contentHref();switch(t){case"instant-apps":return`${i}/apps/instantgallery/index.html?${r}`;case"dashboards":return`${i}/apps/dashboards/new#id=${null===(e=null===(a=this.content)||void 0===a?void 0:a.portalItem)||void 0===e?void 0:e.id}`;case"map-viewer":return`${i}/apps/mapviewer/index.html?${r}`;case"story-maps":return`https://storymaps${"prod"===n?"":n}.arcgis.com/stories/new?${r}`;case"experience-builder":return`https://experience${"prod"===n?"":n}.arcgis.com/builder/page/template/?${r}`}return""}contentHref(){var t,a,e,i,n;return"Web Map"===(null===(a=null===(t=null==this?void 0:this.content)||void 0===t?void 0:t.portalItem)||void 0===a?void 0:a.type)?`webmap=${this.content.portalItem.id}`:"Web Scene"===(null===(i=null===(e=null==this?void 0:this.content)||void 0===e?void 0:e.portalItem)||void 0===i?void 0:i.type)?`webscene=${this.content.portalItem.id}`:"function"==typeof(null===(n=null==this?void 0:this.content)||void 0===n?void 0:n.fetchMembers)?`group=${this.content.id}`:""}getBaseUrl(t){if(!t)return"";const{customBaseUrl:a,portalHostname:e,urlKey:i}=t,{protocol:n}=location;return`${n}//${i?`${i}.${a}`:e}`}_getEnvironment(t){var a;let e=null;try{e=null===(a=new URL(t))||void 0===a?void 0:a.hostname}catch(t){}return null==e||-1===e.indexOf("arcgis.com")?"dev":(-1!==e.indexOf("devext")?"dev":-1!==e.indexOf("qaext")&&"qa")||"prod"}renderPopover(){var t,e;const i=this.renderPanel();return[a("calcite-popover",{referenceElement:"create-popover-btn",overlayPositioning:this.popoverPositioning,placement:this.popoverPlacement,autoClose:!0,ref:t=>this.popoverEl=t,label:"Create panel"},i),a("calcite-action",{id:"create-popover-btn",alignment:"center",icon:this.popoverIcon,title:null===(t=this.messages)||void 0===t?void 0:t.create,text:null===(e=this.messages)||void 0===e?void 0:e.create})]}renderPanel(){const t=this.showHeader?this.renderHeader():null,e=this.renderOptions();return a("div",{class:"inline"===this.mode?"instant-apps-create__inline-container":"instant-apps-create__popover-container"},t,e)}renderHeader(){const{create:t,createSubheading:e}=this.messages;return a("div",{class:"instant-apps-create__header"},a("h3",null,t),a("p",null,e))}renderOptions(){return a("nav",null,this.options.map((t=>this.renderOption(t))))}renderOption(t){var e;"string"==typeof t&&(t=null===(e=null==this?void 0:this.CreateOptionsLookup)||void 0===e?void 0:e[t]);const{title:i,subtitle:n,img:r,href:s}=t||{};return a("a",{class:"instant-apps-create__option",href:s,target:"_blank"},a("span",{class:"instant-apps-create__option-icon",innerHTML:r}),a("span",{class:"instant-apps-create__option-text"},a("span",{class:"instant-apps-create__option-text-wrapper"},a("h3",{class:"instant-apps-create__option-title"},i),a("calcite-icon",{scale:"s",icon:"launch"})),a("p",{class:"instant-apps-create__option-subtitle"},n)))}get el(){return i(this)}static get watchers(){return{content:["contentChanged"]}}};h.style=":host{display:block;--instant-apps-create-action-background:var(--calcite-color-foreground-1);--instant-apps-create-action-background-hover:var(--calcite-color-foreground-2);--instant-apps-create-action-background-press:var(--calcite-color-foreground-3);--instant-apps-create-action-height:100%;--instant-apps-create-action-width:fit-content;--instant-apps-create-action-icon-color:var(--calcite-color-text-3);--instant-apps-create-action-icon-hover-color:var(--calcite-color-text-1);--instant-apps-create-background:var(--calcite-color-foreground-1);--instant-apps-create-text-color:var(--calcite-color-text-1);--instant-apps-create-popover-width:450px}.instant-apps-create{height:100%}.instant-apps-create *{box-sizing:border-box}.instant-apps-create__popover-container,.instant-apps-create__inline-container{padding:1rem 1.5rem;background:var(--instant-apps-create-background);--calcite-color-text-1:var(--instant-apps-create-text-color)}.instant-apps-create__popover-container{width:var(--instant-apps-create-popover-width)}.instant-apps-create calcite-popover{--calcite-color-foreground-1:var(--instant-apps-create-background)}.instant-apps-create calcite-button:last-of-type{margin-top:0.5rem}.instant-apps-create__header h3{margin:0;font-weight:var(--calcite-font-weight-medium)}.instant-apps-create__header p{margin:0;padding:0 0 0.5rem 0;font-weight:var(--calcite-font-weight-normal)}.instant-apps-create__options{display:flex;justify-content:space-between;align-items:center;flex-direction:column}.instant-apps-create__option{display:flex;color:inherit;text-decoration:inherit;height:-moz-fit-content;height:fit-content;margin-bottom:0.5rem;cursor:pointer;--calcite-color-text-link:var(--calcite-color-text-1);align-items:stretch;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-shadow);outline-offset:0;outline-color:transparent;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}.instant-apps-create__option:first-of-type{margin-top:0.5rem}.instant-apps-create__option:last-of-type{margin-bottom:0}.instant-apps-create__option:hover{outline:1px solid var(--calcite-color-border-1);outline-offset:2px}.instant-apps-create__option-icon{display:flex;background:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1);font-size:1.25rem;background-color:var(--calcite-color-background);justify-content:center;align-items:center;flex:1 1 auto;max-width:5rem;min-width:5rem;height:auto}.instant-apps-create__option-icon svg{display:block;overflow-clip-margin:content-box;overflow:hidden}.instant-apps-create__option-text{min-height:2rem;font-size:0.75rem;color:var(--calcite-color-text-2);padding:0.75rem 0 0 0.75rem}.instant-apps-create__option-text-wrapper{display:flex;align-items:center}.instant-apps-create__option-text h3{margin:0;font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium)}.instant-apps-create__option-text calcite-icon{margin-left:0.25rem;color:rgb(126, 126, 126);--tw-translate-x:0px;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));opacity:0;transition-property:all;transition-duration:150ms;transition-timing-function:ease-in-out;transition-delay:0s}a:hover .instant-apps-create__option-text calcite-icon{opacity:1;--tw-translate-x:0.5rem;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.instant-apps-create__option-text p{margin:0;font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-3);line-height:1.35;min-height:3rem}";export{h as instant_apps_create}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as t,c as i,g as e,h as s,H as o,F as a}from"./p-c3eae9ba.js";import{g as l}from"./p-7ded7b2e.js";import{E as h}from"./p-80cb7c73.js";import{g as n}from"./p-d572627c.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";const r=class{constructor(e){t(this,e),this.showIntroductionWindow=i(this,"showIntroductionWindow",7),this.showCoverPage=i(this,"showCoverPage",7)}get el(){return e(this)}appLayout;appProxies;basemapConfig;coverPageEnabled;customInfoText;defaultAppLayout;defaultCenter="";defaultGlobalId="";defaultLayer="";defaultLevel="";defaultOid="";defaultWebmap="";honorMapFieldSettings=!1;introductionWindowEnabled=!1;enableAutoRefresh=!1;enableBasemap=!0;enableColumnReorder=!0;enableCSV=!0;enableFloorFilter=!0;enableFullscreen=!0;enableHome=!0;enableLegend=!0;enableSearch=!0;enableShare=!1;enableZoom=!0;locale;mapInfos=[];onlyShowUpdatableLayers=!0;popupHeaderColor;popupHeaderHoverColor;popupHeaderHoverTextColor;popupHeaderTextColor;searchConfiguration;shareIncludeEmbed;shareIncludeSocial;showNewestFirst=!0;theme="light";zoomAndScrollToSelected=!1;zoomToScale;_deleteDialogOpen=!1;_enableCreateFeatures=!0;_hideFooter=!1;_hideTable=!1;_isMobile=!1;_isPortraitMobile=!1;_translations;_layer;_layoutMode=h.GRID;_mapInfo;_mapView;_panelOpen=!0;_numSelected=0;_filterOpen=!1;_showInformationHeader=!0;_layerIds;_isLoading=!0;_defaultAppLayoutHonored=!1;_defaultCenterHonored=!1;_defaultLevelHonored=!1;_deleteIds;_layerTable;_mapChange;_resizeObserver;_shouldSetMapView=!1;_layerExpressions;_filterList;_mapCard;_isMapViewOnLoad=!1;appLayoutWatchHandler(t,i){t!==i&&(this._setActiveLayout(t),"mapView"===this.appLayout&&this._layer?.isTable&&this._mapCard.updateLayer(),this._isMapViewOnLoad&&(this._layerTable.refresh(),this._isMapViewOnLoad=!1))}enableZoomWatchHandler(){this._initMapZoom()}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}showIntroductionWindow;showCoverPage;async featureSelectionChange(t){this._numSelected=t.detail?.length}async popupClosed(){this._isPortraitMobile&&this.showHideMapPopupAndTable(!1)}async layoutChanged(t){this._layoutMode=t.detail}async mapChanged(t){this._mapChange=t.detail,await this._mapChange.mapView.when((async()=>{await this._setMapView()}))}async layerSelectionChange(t){const i=t.detail[0],e=await n(this._mapView,i);e&&await e.when((()=>{0===this._layerIds.length&&"mapView"===this.appLayout&&e.isTable&&(this.appLayout="splitView"),this._layer=e,this._initLayerExpressions(),this._isLoading=!1}))}async showDelete(t){this._deleteIds=t.detail.ids,this._deleteDialogOpen=!0}async idsFound(t){this._layerIds=t.detail.layerIds}async componentWillLoad(){await this._getTranslations(),this._resizeObserver=new ResizeObserver((()=>this._onResize()))}render(){return s(o,{key:"24b7324257b94560153db83dd6b29730bef8f38f"},s("calcite-shell",{key:"c7a445ffdf9fa59c7bd1aff125a77e811f6ce736",class:"position-relative"},s("calcite-panel",{key:"81598a858cfbdfcb6346bc3efa6eb55699d2c5ff",class:"width-full height-full "+(this.popupHeaderColor&&"#FFFFFF"!==this.popupHeaderColor?"border-width-0":""),loading:this._isLoading},this._getBody(this._layoutMode,this._panelOpen,this._hideTable)),this._getFooter()),this._filterModal(),this._deleteModal())}async componentDidRender(){this._shouldSetMapView&&(this._shouldSetMapView=!1,this._mapChange&&await this._setMapView())}async componentDidLoad(){this._resizeObserver.observe(this.el),!this._defaultAppLayoutHonored&&this.defaultAppLayout?(this._defaultAppLayoutHonored=!0,this.appLayout=this.defaultAppLayout):this.appLayout||(this.appLayout="splitView"),this._isMapViewOnLoad="mapView"===this.appLayout,this._setActiveLayout(this.appLayout)}_getFooter(){const t=this._numSelected>0,i=this._layer?.editingEnabled&&this._layer?.capabilities?.operations?.supportsDelete;return this._isPortraitMobile&&t&&!this._hideFooter?s("div",{class:"width-100",slot:"footer"},s("div",{class:"display-flex padding-1-2"},s("calcite-button",{appearance:"solid",id:"solutions-show",onClick:()=>this.showHideMapPopupAndTable(!0),width:"full"},this._translations.view.replace("{{n}}",this._numSelected.toString())),i?s("delete-button",{class:"padding-inline-start-1 width-full",id:"solutions-delete",ids:this._layerTable.selectedIds,layer:this._layer,locale:this.locale}):void 0)):void 0}_setActiveLayout(t){"splitView"!==t||this._panelOpen||this._toggleLayout(),"mapView"===t?this._showMapInFullView():this._showMapInCardView()}_getDividerIcon(t,i){let e="";switch(t){case h.HORIZONTAL:e=i?"chevrons-up":"chevrons-down";break;case h.VERTICAL:case h.GRID:e=i?"chevrons-left":"chevrons-right"}return e}_getMapSizeClass(t,i,e){let s="";switch(t){case h.HORIZONTAL:s=(i&&!e?"height-1-2 display-grid":i&&e?"height-full":"height-0")+" width-full position-relative";break;case h.GRID:s="height-full position-relative "+(i?"width-1-3":"width-0");break;case h.VERTICAL:s="height-full position-relative "+(i?"width-1-2":"width-0")}return s}_getTableSizeClass(t,i){let e="";switch(t){case h.HORIZONTAL:e=(i?"height-1-2":"height-full")+" width-full display-flex flex-column";break;case h.GRID:e=(i?"width-2-3":"width-full")+" height-full display-flex";break;case h.VERTICAL:e=(i?"width-1-2":"width-full")+" height-full display-flex"}return e}_getBody(t,i,e){const o="dark"===this.theme?"calcite-mode-dark":"calcite-mode-light";return s("calcite-panel",{class:"width-full height-full position-absolute"},s("div",{class:"width-full height-full overflow-hidden "+(t===h.HORIZONTAL?"":"display-flex")},this._getMapAndCard(t,i,e),this._getTable(t,i,e)),this.coverPageEnabled&&s("div",{class:"floating-container",onClick:this.coverPageButtonClick.bind(this)},s("calcite-button",{appearance:"solid",class:`floating-button ${o}`,"icon-start":"content-minimal",kind:"neutral",label:"",round:!0,scale:"l","split-child":"primary",width:"auto"})),this.introductionWindowEnabled&&s("div",{class:"floating-container",onClick:this.infoButtonClick.bind(this)},s("calcite-button",{appearance:"solid",class:`floating-button ${o}`,"icon-start":"information-letter",kind:"neutral",label:"",round:!0,scale:"l","split-child":"primary",width:"auto"})))}infoButtonClick(){this.showIntroductionWindow.emit()}coverPageButtonClick(){this.showCoverPage.emit()}_getMapAndCard(t,i,e){const o=this._getMapSizeClass(t,i,e);return s("div",{class:`${o} overflow-hidden z-index-1 ${!this._isPortraitMobile&&this._isMobile?"border-right":""}`},this._getMapNode(i),this._getPopupExpandNode())}_getMapNode(t){const i="mapView"===this.appLayout,e="tableView"===this.appLayout;return s("div",{class:(i||e?"position-absolute-0":this._layoutMode!==h.HORIZONTAL||this._isPortraitMobile&&!t?"adjusted-height-50":"")+" overflow-hidden",id:"card-mapView"},s("map-card",{appLayout:this.appLayout,appProxies:this.appProxies,basemapConfig:this.basemapConfig,class:"width-full",defaultLayerId:this.defaultWebmap&&this.defaultLayer?this.defaultLayer:"",defaultWebmapId:this.defaultWebmap,enableBasemap:this.enableBasemap,enableFloorFilter:this.enableFloorFilter,enableFullscreen:this.enableFullscreen,enableHome:this.enableHome,enableLegend:this.enableLegend,enableSearch:this.enableSearch,enableShare:this.enableShare,enableSingleExpand:!0,hidden:!this._isPortraitMobile&&e,homeZoomIndex:3,homeZoomPosition:"top-left",homeZoomToolsSize:"s",isMapLayout:i,isMobile:this._isMobile,locale:this.locale,mapInfo:this._mapInfo,mapInfos:this.mapInfos?.filter((t=>!1!==t.visible)),mapWidgetsIndex:0,mapWidgetsPosition:"top-right",mapWidgetsSize:"m",onToggleFilter:this._toggleFilter.bind(this),onlyShowUpdatableLayers:this.onlyShowUpdatableLayers,ref:t=>this._mapCard=t,selectedFeaturesIds:this._layerTable?.selectedIds,selectedLayer:this._layer,shareIncludeEmbed:this.shareIncludeEmbed,shareIncludeSocial:this.shareIncludeSocial,stackTools:!0,theme:this.theme,toolOrder:["legend","search","fullscreen","basemap","floorfilter"],zoomToScale:this.zoomToScale}))}_getPopupExpandNode(){const t=this._isPortraitMobile&&this._showInformationHeader?"display-none height-0":"";return s("div",{class:`${this.popupHeaderColor?"":this._isPortraitMobile?"calcite-mode-light":"calcite-mode-dark"} ${this._isMobile?"height-full":"height-full position-relative"} ${this._isPortraitMobile&&this._hideTable?"position-absolute-0 width-full height-full":this._isPortraitMobile?"display-none height-0":""} ${this.mapInfos?.length>1&&"tableView"===this.appLayout?"position-relative top-51":""} position-sticky`,style:{"--calcite-color-foreground-1":this.popupHeaderColor,"--calcite-color-foreground-2":this.popupHeaderHoverColor,"--calcite-color-text-3":this.popupHeaderTextColor,"--calcite-color-text-2":this.popupHeaderTextColor}},s("calcite-panel",null,!this._isPortraitMobile&&this._showInformationHeader||this._numSelected>0&&!this._isPortraitMobile?s("div",{class:`display-flex align-items-center ${t}`,slot:"header-content"},s("calcite-icon",{icon:"information",scale:"s"}),s("div",{class:"padding-inline-start-75"},this._translations.information)):s("div",null),this._getCardNode()))}_getCardNode(){const t="mapView"===this.appLayout,i="tableView"===this.appLayout;return s("div",{class:"width-50 height-full "+("dark"===this.theme?"calcite-mode-dark":"calcite-mode-light")},s("card-manager",{class:(i&&this.mapInfos?.length>1?"adjusted-height-100-51":t||i?"height-full":this._numSelected>0&&!this._isMobile?"height-50":this._showInformationHeader?this._isPortraitMobile?"height-full":"height-50":"adjusted-height-50_25")+" width-full",customInfoText:this.customInfoText,enableCreateFeatures:this._enableCreateFeatures&&!this._isMobile,enableEditGeometry:this?._mapInfo?.enableEditGeometry,isMobile:this._isPortraitMobile,layer:this._layer,locale:this.locale,mapView:this?._mapView,onBackFromCreateWorkFlow:()=>{this._showInformationHeader=!0},onCreateWorkFlowStarted:()=>{this.appLayout=this._layer.isTable?"tableView":"mapView",this._showInformationHeader=!1},onFeatureOrRecordSubmitted:()=>{this._layerTable.refresh()},selectedFeaturesIds:this._layerTable?.selectedIds,selectingFeatureFromMap:"mapView"===this.appLayout,zoomAndScrollToSelected:this.zoomAndScrollToSelected}))}_getTable(t,i,e){const o="mapView"===this.appLayout,a="tableView"===this.appLayout,l=e&&this._isPortraitMobile?"visibility-hidden":o?"display-none":"",n=o?"height-full width-full z-index-0":"display-none",r=this._getTableSizeClass(t,i),d=t===h.HORIZONTAL?"horizontal":"vertical",c=t===h.HORIZONTAL?"header":"panel-start",p=this.defaultWebmap&&this.defaultLayer,u=this.defaultGlobalId?this.defaultGlobalId?.indexOf(",")>-1?this.defaultGlobalId.split(","):[this.defaultGlobalId]:void 0,g=this.defaultOid?this.defaultOid?.indexOf(",")>-1?this.defaultOid.split(",").map((t=>parseInt(t,10))):[parseInt(this.defaultOid,10)]:void 0;return s("calcite-shell",{class:`${r} border-bottom`},this._isMobile?void 0:s("calcite-action-bar",{class:"border-sides",expandDisabled:!0,layout:d,slot:c},this.getActions(t,i)),s("div",{class:`width-full height-full position-relative z-index-0 ${l}`},s("layer-table",{appLayout:this.appLayout,createFilterModal:!1,defaultGlobalId:p?u:void 0,defaultLayerId:p?this.defaultLayer:"",defaultOid:p&&!u?g:void 0,enableAutoRefresh:this.enableAutoRefresh,enableCSV:this.enableCSV,enableColumnReorder:this.enableColumnReorder,enableInlineEdit:this?._mapInfo?.enableInlineEdit,enableShare:this.enableShare,honorMapFieldSettings:this.honorMapFieldSettings,isMobile:this._isPortraitMobile,locale:this.locale,mapHidden:a,mapInfo:this._mapInfo,mapView:this?._mapView,onToggleFilter:this._toggleFilter.bind(this),onlyShowUpdatableLayers:this.onlyShowUpdatableLayers,ref:t=>this._layerTable=t,shareIncludeEmbed:this.shareIncludeEmbed,shareIncludeSocial:this.shareIncludeSocial,showNewestFirst:this.showNewestFirst,zoomAndScrollToSelected:this.zoomAndScrollToSelected,zoomToScale:this.zoomToScale})),s("div",{class:n,id:"full-map-view"}))}getActions(t,i){const e=this._getDividerIcon(t,i),o=i?this._translations.close:this._translations.open,l="toggle-layout";return s(a,null,s("calcite-action",{active:"splitView"===this.appLayout,class:"toggle-node",icon:"browser",id:"browser-action",onClick:()=>{this.appLayout="splitView"},text:""}),s("calcite-tooltip",{placement:"right","reference-element":"browser-action"},s("span",null,this._translations.splitView)),s("calcite-action",{active:"tableView"===this.appLayout,class:"toggle-node",icon:"dock-left",id:"dock-left-action",onClick:()=>{this.appLayout="tableView"},text:""}),s("calcite-tooltip",{placement:"right","reference-element":"dock-left-action"},s("span",null,this._translations.tableView)),s("calcite-action",{active:"mapView"===this.appLayout,class:"toggle-node",disabled:0===this._layerIds?.length,icon:"browser-map",id:"browser-map-action",onClick:()=>{this.appLayout="mapView"},text:""}),s("calcite-tooltip",{placement:"right","reference-element":"browser-map-action"},s("span",null,this._translations.mapView)),s("calcite-action",{class:"toggle-node",icon:e,id:l,onClick:()=>this._toggleLayout(),slot:"actions-end",text:""}),s("calcite-tooltip",{placement:"bottom","reference-element":l},s("span",null,o)))}_deleteModal(){return s("delete-dialog",{id:"deleteDialogId",ids:this._deleteIds,layer:this._layer,locale:this.locale,onDeleteDialogClose:()=>this._deleteDialogOpen=!1,open:this._deleteDialogOpen})}_filterModal(){return s("calcite-dialog",{class:"filter-content-space",heading:this._translations?.filter?.replace("{{title}}",this._layer?.title),id:"solutions-filter-dialog",kind:"brand",modal:!0,onCalciteDialogClose:()=>{this._closeFilter()},open:this._filterOpen,widthScale:"s"},s("instant-apps-filter-list",{autoUpdateUrl:!1,closeBtn:!0,closeBtnOnClick:async()=>this._closeFilter(),comboboxOverlayPositioning:"fixed",layerExpressions:this._layerExpressions,onFilterListReset:()=>{this._handleFilterListReset(),this._mapCard.resetFilter()},onFilterUpdate:async()=>{const t=this._filterList.filterCount>0;await(this._layerTable?.filterUpdate(t)),await this._mapCard.updateFilterState(t)},ref:t=>this._filterList=t,view:this._mapView,zoomBtn:!1}))}_initLayerExpressions(){const t=this._mapInfo?.filterConfig?.layerExpressions;this._layerExpressions=t?t.filter((t=>t.id===this._layer?.id)):[],this._filterList.layerExpressions=this._layerExpressions,this._layerExpressions.filter((t=>t.expressions.filter((t=>t.active)).length>0))}_toggleFilter(){this._filterOpen=!this._filterOpen}_handleFilterListReset(){this._layerTable.filterReset()}async _closeFilter(){this._filterOpen&&(this._filterOpen=!1,this._layerTable.closeFilter())}_onResize(){const t=this.el.offsetWidth<1024,i=!this._isMobile&&t;this._isMobile=t,i&&(this._panelOpen=!0),this._isMobile?(this.showHideMapPopupAndTable(!this._isMobile),this._isPortraitMobile=!!window.matchMedia("(orientation: portrait)").matches,this.appLayout="splitView"):this._isPortraitMobile=!1,this._layoutMode=this._isPortraitMobile?h.HORIZONTAL:h.GRID}_toggleLayout(){this._panelOpen=!this._panelOpen}_showMapInCardView(){if("mapView"!==this.appLayout){const t=document.getElementById("full-map-view")?.childNodes[0],i=document.getElementById("card-mapView");t&&i.appendChild(t)}}_showMapInFullView(){const t=document.getElementById("card-mapView")?.childNodes[0],i=document.getElementById("full-map-view");t&&i.appendChild(t)}showHideMapPopupAndTable(t){this._hideTable=t,this._hideFooter=t}_getMapInfo(t){let i;return this.mapInfos.some((e=>{if(e.id===t)return i=e,!0})),{...i}}async _setMapView(){this._mapInfo=this._getMapInfo(this._mapChange.id),this._enableCreateFeatures=this._mapInfo.enableCreateFeatures,this._mapView=this._mapChange.mapView,this._initMapZoom(),this._mapView.popupEnabled=!1;const t=!this.defaultCenter||this._defaultCenterHonored?void 0:this.defaultCenter?.split(";").map((t=>parseFloat(t))),i=!this.defaultLevel||this._defaultLevelHonored?void 0:parseInt(this.defaultLevel,10);t&&i&&(await this._mapView.goTo({center:t,zoom:i}),this._defaultCenterHonored=!0,this._defaultLevelHonored=!0)}_initMapZoom(){this.enableZoom?this.enableZoom&&this._mapView.ui.add({component:"zoom",position:"top-left",index:0}):this._mapView.ui.remove("zoom")}async _getTranslations(){const t=await l(this.el);this._translations=t[0]}static get watchers(){return{appLayout:["appLayoutWatchHandler"],enableZoom:["enableZoomWatchHandler"],locale:["localeWatchHandler"]}}};r.style=":host{display:block;--calcite-label-margin-bottom:0px;--solutions-theme-foreground-color:var(--calcite-color-foreground-1)}.padding-1-2{padding:0.5rem}.display-flex{display:flex}.width-full{width:100%}.width-1-2{position:relative;width:50%}.width-1-3{position:relative;width:33.33%}.width-2-3{position:relative;width:66.66%}.width-0{width:0}.height-full{height:100%}.height-1-2{position:relative;height:50%}.height-0{height:0}.toggle-node{width:51px;height:51px}.overflow-hidden{overflow:hidden}.flex-column{flex-direction:column}.border{border:1px solid var(--calcite-color-border-3)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-3)}.border-right{border-right:2px solid var(--calcite-color-border-3)}.border-sides{border-left:1px solid var(--calcite-color-border-3);border-right:1px solid var(--calcite-color-border-3)}.position-relative{position:relative}.position-absolute{position:absolute}.position-sticky{position:sticky}.height-50{height:50%}.top-51{top:51px}.adjusted-height-50{height:calc(50% - 25px)}.adjusted-height-100{height:calc(100% - 50px)}.adjusted-height-100-51{height:calc(100% - 51px)}.display-none{display:none !important}.adjusted-height-50_25{height:calc(50% + 25px)}.position-absolute-53{position:absolute;top:53px}.display-grid{display:grid}.height-50-px{height:50px}.padding-inline-start-75{padding-inline-start:0.75rem}.align-items-center{align-items:center}.esri-floor-filter__close-levels-button{width:40px !important;height:40px !important}.esri-floor-filter__level-button{width:40px !important;height:40px !important}.esri-floor-filter__browse-button{width:40px !important;height:40px !important}.position-absolute-50{position:absolute;top:50px;bottom:0px;left:0px;right:0px}.position-absolute-0{position:absolute;top:0px;bottom:0px;left:0px;right:0px}.visibility-hidden{visibility:hidden;height:0px}.position-fixed{position:fixed}.border-width-0{border-width:0px}.border-bottom-width-0{border-bottom-width:0px}.floating-container{position:fixed;width:100px;height:10px;bottom:0;right:0;margin:100px 0px}.floating-container .floating-button{box-shadow:0 10px 25px rgb(92 93 94 / 60%);transform:translatey(5px);transition:all 0.3s}.z-index-0{z-index:0 !important}.z-index-1{z-index:1 !important}.filter-content-space{--calcite-dialog-content-space:0px}";export{r as crowdsource_manager}
|
@@ -1,21 +0,0 @@
|
|
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{g as t,r as e,h as i,H as n}from"./p-c3eae9ba.js";import{g as r,a as s,b as o}from"./p-f6e81cf8.js";import{s as a}from"./p-c34857fe.js";import"./p-4f236b5d.js";import{g as h}from"./p-7ded7b2e.js";import{r as c,N as u,c as l,e as f,A as d}from"./p-0668e30d.js";import"./p-80cb7c73.js";import"./p-570b13d9.js";import"./p-fb75e187.js";import"./p-d4056c1c.js";import"./p-0a24ad5f.js";
|
7
|
-
/*! *****************************************************************************
|
8
|
-
Copyright (c) Microsoft Corporation.
|
9
|
-
|
10
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
11
|
-
purpose with or without fee is hereby granted.
|
12
|
-
|
13
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
14
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
15
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
16
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
17
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
18
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
19
|
-
PERFORMANCE OF THIS SOFTWARE.
|
20
|
-
***************************************************************************** */
|
21
|
-
var p=function(){return p=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var r in e=arguments[i])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},p.apply(this,arguments)};function w(t,e){var i=e;return i.rawResponse=!1,c(t,i).then((function(t){var e={token:t.access_token,username:t.username,expires:new Date(Date.now()+(1e3*t.expires_in-1e3)),ssl:!0===t.ssl};return t.refresh_token&&(e.refreshToken=t.refresh_token),e}))}function m(t,e){var i=e;return i.params.referer="undefined"!=typeof window&&window.location&&window.location.host?window.location.host:u,c(t,i)}var g=/^https?:\/\/(\S+)\.arcgis\.com.+/;function v(t){return g.test(t)}function b(t){if(!g.test(t))return null;var e=t.match(g)[1].split(".").pop();return e.includes("dev")?"dev":e.includes("qa")?"qa":"production"}var k=function(){function t(t){if(this.clientId=t.clientId,this._refreshToken=t.refreshToken,this._refreshTokenExpires=t.refreshTokenExpires,this.username=t.username,this.password=t.password,this._token=t.token,this._tokenExpires=t.tokenExpires,this.portal=t.portal?l(t.portal):"https://www.arcgis.com/sharing/rest",this.ssl=t.ssl,this.provider=t.provider||"arcgis",this.tokenDuration=t.tokenDuration||20160,this.redirectUri=t.redirectUri,this.refreshTokenTTL=t.refreshTokenTTL||20160,this.server=t.server,this.federatedServers={},this.trustedDomains=[],t.server){var e=this.getServerRootUrl(t.server);this.federatedServers[e]={token:t.token,expires:t.tokenExpires}}this._pendingTokenRequests={}}return Object.defineProperty(t.prototype,"token",{get:function(){return this._token},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tokenExpires",{get:function(){return this._tokenExpires},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"refreshToken",{get:function(){return this._refreshToken},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"refreshTokenExpires",{get:function(){return this._refreshTokenExpires},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"trustedServers",{get:function(){return console.log("DEPRECATED: use federatedServers instead"),this.federatedServers},enumerable:!1,configurable:!0}),t.beginOAuth2=function(e,i){void 0===i&&(i=window),e.duration&&console.log("DEPRECATED: 'duration' is deprecated - use 'expiration' instead");var n,r=p({portal:"https://www.arcgis.com/sharing/rest",provider:"arcgis",expiration:20160,popup:!0,popupWindowFeatures:"height=400,width=600,menubar=no,location=yes,resizable=yes,scrollbars=yes,status=yes",state:e.clientId,locale:""},e),s=r.portal,o=r.provider,a=r.clientId,h=r.expiration,c=r.redirectUri,u=r.popup,l=r.popupWindowFeatures,w=r.state,m=r.locale,g=r.params;if(n="arcgis"===o?s+"/oauth2/authorize?client_id="+a+"&response_type=token&expiration="+(e.duration||h)+"&redirect_uri="+encodeURIComponent(c)+"&state="+w+"&locale="+m:s+"/oauth2/social/authorize?client_id="+a+"&socialLoginProviderName="+o+"&autoAccountCreateForSocial=true&response_type=token&expiration="+(e.duration||h)+"&redirect_uri="+encodeURIComponent(c)+"&state="+w+"&locale="+m,g&&(n=n+"&"+f(g)),u){var v,b=((v={promise:null,resolve:null,reject:null}).promise=new Promise((function(t,e){v.resolve=t,v.reject=e})),v);return i["__ESRI_REST_AUTH_HANDLER_"+a]=function(e,i){if(e){var n=JSON.parse(e);b.reject(new d(n.errorMessage,n.error))}else if(i){var r=JSON.parse(i);b.resolve(new t({clientId:a,portal:s,ssl:r.ssl,token:r.token,tokenExpires:new Date(r.expires),username:r.username}))}},i.open(n,"oauth-window",l),b.promise}i.location.href=n},t.completeOAuth2=function(e,i){void 0===i&&(i=window);var n=p({portal:"https://www.arcgis.com/sharing/rest",popup:!0},e),r=n.portal,s=n.clientId,o=n.popup;function a(e,n){try{var a=void 0,h="__ESRI_REST_AUTH_HANDLER_"+s;if(o&&(i.opener?i.opener.parent&&i.opener.parent[h]?a=i.opener.parent[h]:i.opener&&i.opener[h]&&(a=i.opener[h]):i!==i.parent&&i.parent&&i.parent[h]&&(a=i.parent[h]),a))return a(e?JSON.stringify(e):void 0,JSON.stringify(n)),void i.close()}catch(t){throw new d('Unable to complete authentication. It\'s possible you specified popup based oAuth2 but no handler from "beginOAuth2()" present. This generally happens because the "popup" option differs between "beginOAuth2()" and "completeOAuth2()".')}if(e)throw new d(e.errorMessage,e.error);return new t({clientId:s,portal:r,ssl:n.ssl,token:n.token,tokenExpires:n.expires,username:n.username})}var h=i.location.hash.replace(/^#/,"").split("&").reduce((function(t,e){var i=function(t){var e=t.split("="),i=e[1];return{key:decodeURIComponent(e[0]),value:decodeURIComponent(i)}}(e);return t[i.key]=i.value,t}),{});if(!h.access_token){var c=void 0,u="Unknown error";return h.error&&(c=h.error,u=h.error_description),a({error:c,errorMessage:u})}return a(void 0,{token:h.access_token,expires:new Date(Date.now()+1e3*parseInt(h.expires_in,10)-6e4),ssl:"true"===h.ssl,username:h.username})},t.fromParent=function(e,i){var n;return!i&&window&&(i=window),new Promise((function(r,s){i.addEventListener("message",n=function(e){if(e.source===i.parent&&e.data)try{return r(t.parentMessageHandler(e))}catch(t){return s(t)}},!1),i.parent.postMessage({type:"arcgis:auth:requestCredential"},e)})).then((function(t){return i.removeEventListener("message",n,!1),t}))},t.authorize=function(t,e){t.duration&&console.log("DEPRECATED: 'duration' is deprecated - use 'expiration' instead");var i=p({portal:"https://arcgis.com/sharing/rest",expiration:20160},t);e.writeHead(301,{Location:i.portal+"/oauth2/authorize?client_id="+i.clientId+"&expiration="+(t.duration||i.expiration)+"&response_type=code&redirect_uri="+encodeURIComponent(i.redirectUri)}),e.end()},t.exchangeAuthorizationCode=function(e,i){var n=p({portal:"https://www.arcgis.com/sharing/rest",refreshTokenTTL:20160},e),r=n.portal,s=n.clientId,o=n.redirectUri,a=n.refreshTokenTTL;return w(r+"/oauth2/token",{params:{grant_type:"authorization_code",client_id:s,redirect_uri:o,code:i}}).then((function(e){return new t({clientId:s,portal:r,ssl:e.ssl,redirectUri:o,refreshToken:e.refreshToken,refreshTokenTTL:a,refreshTokenExpires:new Date(Date.now()+60*(a-1)*1e3),token:e.token,tokenExpires:e.expires,username:e.username})}))},t.deserialize=function(e){var i=JSON.parse(e);return new t({clientId:i.clientId,refreshToken:i.refreshToken,refreshTokenExpires:new Date(i.refreshTokenExpires),username:i.username,password:i.password,token:i.token,tokenExpires:new Date(i.tokenExpires),portal:i.portal,ssl:i.ssl,tokenDuration:i.tokenDuration,redirectUri:i.redirectUri,refreshTokenTTL:i.refreshTokenTTL})},t.fromCredential=function(e){var i=void 0===e.ssl||e.ssl,n=e.expires||Date.now()+72e5;return new t({portal:e.server.includes("sharing/rest")?e.server:e.server+"/sharing/rest",ssl:i,token:e.token,username:e.userId,tokenExpires:new Date(n)})},t.parentMessageHandler=function(e){if("arcgis:auth:credential"===e.data.type)return t.fromCredential(e.data.credential);if("arcgis:auth:error"===e.data.type){var i=new Error(e.data.error.message);throw i.name=e.data.error.name,i}throw new Error("Unknown message type.")},t.prototype.toCredential=function(){return{expires:this.tokenExpires.getTime(),server:this.portal,ssl:this.ssl,token:this.token,userId:this.username}},t.prototype.getUser=function(t){var e=this;if(this._pendingUserRequest)return this._pendingUserRequest;if(this._user)return Promise.resolve(this._user);var i=this.portal+"/community/self",n=p(p({httpMethod:"GET",authentication:this},t),{rawResponse:!1});return this._pendingUserRequest=c(i,n).then((function(t){return e._user=t,e._pendingUserRequest=null,t})),this._pendingUserRequest},t.prototype.getPortal=function(t){var e=this;if(this._pendingPortalRequest)return this._pendingPortalRequest;if(this._portalInfo)return Promise.resolve(this._portalInfo);var i=this.portal+"/portals/self",n=p(p({httpMethod:"GET",authentication:this},t),{rawResponse:!1});return this._pendingPortalRequest=c(i,n).then((function(t){return e._portalInfo=t,e._pendingPortalRequest=null,t})),this._pendingPortalRequest},t.prototype.getUsername=function(){return this.username?Promise.resolve(this.username):this._user?Promise.resolve(this._user.username):this.getUser().then((function(t){return t.username}))},t.prototype.getToken=function(t,e){return n=t,r=v(i=this.portal),s=v(n),o=b(i),a=b(n),r&&s&&o===a||new RegExp(this.portal,"i").test(t)?this.getFreshToken(e):this.getTokenForServer(t,e);var i,n,r,s,o,a},t.prototype.validateAppAccess=function(t){return this.getToken(this.portal).then((function(e){return function(t,e,i){return void 0===i&&(i="https://www.arcgis.com/sharing/rest"),c(i+"/oauth2/validateAppAccess",{method:"POST",params:{f:"json",client_id:e,token:t}})}(e,t)}))},t.prototype.toJSON=function(){return{clientId:this.clientId,refreshToken:this.refreshToken,refreshTokenExpires:this.refreshTokenExpires,username:this.username,password:this.password,token:this.token,tokenExpires:this.tokenExpires,portal:this.portal,ssl:this.ssl,tokenDuration:this.tokenDuration,redirectUri:this.redirectUri,refreshTokenTTL:this.refreshTokenTTL}},t.prototype.serialize=function(){return JSON.stringify(this)},t.prototype.enablePostMessageAuth=function(t,e){!e&&window&&(e=window),this._hostHandler=this.createPostMessageHandler(t),e.addEventListener("message",this._hostHandler,!1)},t.prototype.disablePostMessageAuth=function(t){!t&&window&&(t=window),t.removeEventListener("message",this._hostHandler,!1)},t.prototype.refreshSession=function(t){return this._user=null,this.username&&this.password?this.refreshWithUsernameAndPassword(t):this.clientId&&this.refreshToken?this.refreshWithRefreshToken():Promise.reject(new d("Unable to refresh token."))},t.prototype.getServerRootUrl=function(t){var e=l(t).split(/\/rest(\/admin)?\/services(?:\/|#|\?|$)/)[0].match(/(https?:\/\/)(.+)/),i=e[1],n=e[2].split("/"),r=n[0],s=n.slice(1);return""+i+r.toLowerCase()+"/"+s.join("/")},t.prototype.getDomainCredentials=function(t){return this.trustedDomains&&this.trustedDomains.length&&this.trustedDomains.some((function(e){return t.startsWith(e)}))?"include":"same-origin"},t.prototype.createPostMessageHandler=function(t){var e=this;return function(i){var n=t.indexOf(i.origin)>-1,r="arcgis:auth:requestCredential"===i.data.type,s=e.tokenExpires.getTime()>Date.now();if(n&&r){var o={};if(s){var a=e.toCredential();a.server=a.server.replace("/sharing/rest",""),o={type:"arcgis:auth:credential",credential:a}}else o={type:"arcgis:auth:error",error:{name:"tokenExpiredError",message:"Session token was expired, and not returned to the child application"}};i.source.postMessage(o,i.origin)}}},t.prototype.getTokenForServer=function(t,e){var i=this,n=this.getServerRootUrl(t),r=this.federatedServers[n];return r&&r.expires&&r.expires.getTime()>Date.now()?Promise.resolve(r.token):(this._pendingTokenRequests[n]||(this._pendingTokenRequests[n]=this.fetchAuthorizedDomains().then((function(){return c(n+"/rest/info",{credentials:i.getDomainCredentials(t)}).then((function(r){if(r.owningSystemUrl){if(s=r.owningSystemUrl,o=l(function(t){if(!g.test(t))return t;switch(b(t)){case"dev":return"https://devext.arcgis.com/sharing/rest";case"qa":return"https://qaext.arcgis.com/sharing/rest";default:return"https://www.arcgis.com/sharing/rest"}}(i.portal)).replace(/https?:\/\//,""),a=l(s).replace(/https?:\/\//,""),new RegExp(a,"i").test(o))return c(r.owningSystemUrl+"/sharing/rest/info",e);throw new d(t+" is not federated with "+i.portal+".","NOT_FEDERATED")}var s,o,a;if(r.authInfo&&void 0!==i.federatedServers[n])return Promise.resolve({authInfo:r.authInfo});throw new d(t+" is not federated with any portal and is not explicitly trusted.","NOT_FEDERATED")})).then((function(t){return t.authInfo.tokenServicesUrl})).then((function(e){return i.token&&i.tokenExpires.getTime()>Date.now()?m(e,{params:{token:i.token,serverUrl:t,expiration:i.tokenDuration,client:"referer"}}):m(e,{params:{username:i.username,password:i.password,expiration:i.tokenDuration,client:"referer"}}).then((function(t){return i._token=t.token,i._tokenExpires=new Date(t.expires),t}))})).then((function(t){return i.federatedServers[n]={expires:new Date(t.expires),token:t.token},delete i._pendingTokenRequests[n],t.token}))}))),this._pendingTokenRequests[n])},t.prototype.getFreshToken=function(t){var e=this;return this.token&&!this.tokenExpires||this.token&&this.tokenExpires&&this.tokenExpires.getTime()>Date.now()?Promise.resolve(this.token):(this._pendingTokenRequests[this.portal]||(this._pendingTokenRequests[this.portal]=this.refreshSession(t).then((function(t){return e._pendingTokenRequests[e.portal]=null,t.token}))),this._pendingTokenRequests[this.portal])},t.prototype.refreshWithUsernameAndPassword=function(t){var e=this,i=p({params:{username:this.username,password:this.password,expiration:this.tokenDuration}},t);return m(this.portal+"/generateToken",i).then((function(t){return e._token=t.token,e._tokenExpires=new Date(t.expires),e}))},t.prototype.refreshWithRefreshToken=function(t){var e=this;if(this.refreshToken&&this.refreshTokenExpires&&this.refreshTokenExpires.getTime()<Date.now())return this.refreshRefreshToken(t);var i=p({params:{client_id:this.clientId,refresh_token:this.refreshToken,grant_type:"refresh_token"}},t);return w(this.portal+"/oauth2/token",i).then((function(t){return e._token=t.token,e._tokenExpires=t.expires,e}))},t.prototype.refreshRefreshToken=function(t){var e=this,i=p({params:{client_id:this.clientId,refresh_token:this.refreshToken,redirect_uri:this.redirectUri,grant_type:"exchange_refresh_token"}},t);return w(this.portal+"/oauth2/token",i).then((function(t){return e._token=t.token,e._tokenExpires=t.expires,e._refreshToken=t.refreshToken,e._refreshTokenExpires=new Date(Date.now()+60*(e.refreshTokenTTL-1)*1e3),e}))},t.prototype.fetchAuthorizedDomains=function(){var t=this;return this.server||!this.portal?Promise.resolve(this):this.getPortal().then((function(e){return e.authorizedCrossOriginDomains&&e.authorizedCrossOriginDomains.length&&(t.trustedDomains=e.authorizedCrossOriginDomains.filter((function(t){return!t.startsWith("http://")})).map((function(t){return t.startsWith("https://")?t:"https://"+t}))),t}))},t}();const y=class{get el(){return t(this)}authentication=new k({});locale;serializedAuthentication="";async serializedAuthenticationWatchHandler(){this.authentication=this.serializedAuthentication?k.deserialize(this.serializedAuthentication):new k({})}solutionItemId="";async valueWatchHandler(){await this._loadSolution(this.solutionItemId)}showLoading=!1;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}constructor(t){e(this,t),this.serializedAuthentication&&(this.authentication=k.deserialize(this.serializedAuthentication)),this._loadSolution(this.solutionItemId),window.addEventListener("solutionStoreHasChanges",(t=>{this._updateSaveability(this._solutionStoreHasChanges=t.detail,this._solutionEditorHasChanges,this._solutionEditorHasErrors)})),window.addEventListener("solutionEditorHasChanges",(t=>{this._updateSaveability(this._solutionStoreHasChanges,this._solutionEditorHasChanges=t.detail,this._solutionEditorHasErrors)})),window.addEventListener("solutionEditorHasErrors",(t=>{this._updateSaveability(this._solutionStoreHasChanges,this._solutionEditorHasChanges,this._solutionEditorHasErrors=t.detail)}))}async componentWillLoad(){return this._getTranslations()}render(){const t=a.getStoreInfo("spatialReferenceInfo"),e=a.getStoreInfo("featureServices").length>0,o=a.getStoreInfo("solutionData");return this._solutionVariables=JSON.stringify(r(o.templates,this._translations)),this._organizationVariables=JSON.stringify(s(this._translations)),i(n,{key:"f35438d2bb88a8d3bc41d33af02e2fe36e2471de"},this._solutionIsLoaded?null:i("calcite-loader",{label:""}),i("div",{key:"cb9773d8ab59089cde1de594960e0d978ec6b1fb",class:"configuration-container"},i("div",{key:"b72462547e2930c170552816ea6bd1640326e67e",class:"configuration"},i("calcite-tabs",{key:"4d2f673c9463a6ad40a64e9dd4ea7771be1658cf",class:"config-tabs"},i("calcite-tab-nav",{key:"850511fd6a627da0117e8b93451fe5da0ef7ad8c",slot:"tab-nav"},i("calcite-tab-title",{key:"8b3db2665846b1529c4fcd4829516b854705028b"},this._translations.definitionTab),e?i("calcite-tab-title",null,this._translations.spatialReferenceTab):null),i("calcite-tab",{key:"6298bbcc14066f2ffce75076718a5b802bc7dcb1",class:"config-tab",selected:!0},i("div",{key:"6876e11323dce264ead965243d476abff1e0d3f4",class:"config-solution"},i("div",{key:"011f8114fa18676728410ef45eccdec512c81f93",class:this._treeOpen?"config-inventory":"config-inventory-hide"},i("solution-contents",{id:"configInventory",key:`${this.solutionItemId}-contents`,ref:t=>this._solutionContentsComponent=t})),i("calcite-button",{key:"e38b67164540f2a0bd8aa7ceb19b1944e6c30a49",appearance:"transparent",class:"collapse-btn","icon-start":this._treeOpen?"chevrons-left":"chevrons-right",id:"collapse-vars",onClick:()=>this._toggleTree(),scale:"s",title:this._treeOpen?this._translations.collapse:this._translations.expand}),i("div",{key:"26e352cfd8e3f701bac219afc10e8f33f22042c0",class:"config-item"},i("solution-item",{authentication:this.authentication,"item-id":this._currentEditItemId,key:`${this.solutionItemId}-item`,locale:this.locale,"organization-variables":this._organizationVariables,"solution-item-id":this.solutionItemId,"solution-variables":this._solutionVariables})))),e?i("calcite-tab",{class:"config-tab"},i("div",{class:"config-solution"},i("solution-spatial-ref",{enableDefault:!!t.default,enabled:t?.enabled,featureServices:a.getStoreInfo("featureServices").map((t=>t.name)),id:"configure-solution-spatial-ref",key:`${this.solutionItemId}-spatial-ref`,locale:this.locale}))):null))))}_currentEditItemId="";_organizationVariables="";_solutionContentsComponent;_solutionIsLoaded=!1;_solutionVariables="";_templateHierarchy=[];_translations;_treeOpen=!0;_solutionStoreHasChanges=!1;_solutionEditorHasChanges=!1;_solutionEditorHasErrors=!1;_canSave=!1;_solutionItemSelected(t){this._currentEditItemId=t.detail}async getSpatialReferenceInfo(){return Promise.resolve(a.getStoreInfo("spatialReferenceInfo"))}async saveSolution(){this._solutionIsLoaded=!1,await a.saveSolution(),this._solutionIsLoaded=!0,this.solutionItemId=null}async unloadSolution(){this.solutionItemId=null}_initProps(){const t=a.getStoreInfo("solutionData");let e;this._templateHierarchy=[...o(t.templates)],this._solutionContentsComponent&&(this._solutionContentsComponent.templateHierarchy=this._templateHierarchy),this._templateHierarchy.length>0&&(e=a.getItemInfo(this._templateHierarchy[0].id)),this._currentEditItemId=e?e.itemId:""}async _loadSolution(t){return t?(this._solutionIsLoaded=!1,await a.loadSolution(t,this.authentication),this._initProps(),this._solutionIsLoaded=!0):this._reset(),Promise.resolve()}_reset(){this._currentEditItemId="",this._organizationVariables="",this._solutionVariables="",this._templateHierarchy=[]}_toggleTree(){this._treeOpen=!this._treeOpen}_updateSaveability(t,e,i){const n=(t||e)&&!i;this._canSave!==n&&window.dispatchEvent(new CustomEvent("solutionCanSave",{detail:n,bubbles:!0,cancelable:!1,composed:!0})),this._canSave=n}async _getTranslations(){const t=await h(this.el);this._translations=t[0]}static get watchers(){return{serializedAuthentication:["serializedAuthenticationWatchHandler"],solutionItemId:["valueWatchHandler"],locale:["localeWatchHandler"]}}};y.style=".configuration-container{position:relative;height:100%;width:100%}.configuration{position:absolute;top:0px;right:0px;bottom:0px;left:0px;display:flex;padding:0.5rem;border:1px #808080 solid}.config-tabs{width:100%}.config-tab{width:100%}.config-solution{position:absolute;top:3.5rem;right:-1px;bottom:-1px;left:-1px;display:flex;padding:0.5rem}.config-inventory{display:inline;max-width:-moz-min-content;max-width:min-content;flex-grow:0;overflow-y:auto}.config-inventory-hide{display:none;max-width:-moz-min-content;max-width:min-content;flex-grow:0;overflow-y:auto}.config-item{position:relative;display:inline;flex-grow:1;overflow-y:auto;margin-inline-start:0.5rem}solution-contents{position:relative;height:100%}solution-item{position:relative;height:100%}solution-spatial-ref{position:relative;height:100%;width:100%;overflow-y:auto}";export{y as solution_configuration}
|
@@ -1,6 +0,0 @@
|
|
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{d as e,f as t}from"./p-c3eae9ba.js";const s=e=>!("isConnected"in e)||e.isConnected,n=(()=>{let e;return(...t)=>{e&&clearTimeout(e),e=setTimeout((()=>{e=0,(e=>{for(let t of e.keys())e.set(t,e.get(t).filter(s))})(...t)}),2e3)}})(),o=e=>"function"==typeof e?e():e,r=(s,r)=>{const c=((e,t=((e,t)=>e!==t))=>{const s=o(e);let n=new Map(Object.entries(null!=s?s:{}));const r={dispose:[],get:[],set:[],reset:[]},c=()=>{var t;n=new Map(Object.entries(null!==(t=o(e))&&void 0!==t?t:{})),r.reset.forEach((e=>e()))},a=e=>(r.get.forEach((t=>t(e))),n.get(e)),u=(e,s)=>{const o=n.get(e);t(s,o,e)&&(n.set(e,s),r.set.forEach((t=>t(e,s,o))))},i="undefined"==typeof Proxy?{}:new Proxy(s,{get:(e,t)=>a(t),ownKeys:()=>Array.from(n.keys()),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),has:(e,t)=>n.has(t),set:(e,t,s)=>(u(t,s),!0)}),p=(e,t)=>(r[e].push(t),()=>{((e,t)=>{const s=e.indexOf(t);s>=0&&(e[s]=e[e.length-1],e.length--)})(r[e],t)});return{state:i,get:a,set:u,on:p,onChange:(t,s)=>{const n=p("set",((e,n)=>{e===t&&s(n)})),r=p("reset",(()=>s(o(e)[t])));return()=>{n(),r()}},use:(...e)=>{const t=e.reduce(((e,t)=>(t.set&&e.push(p("set",t.set)),t.get&&e.push(p("get",t.get)),t.reset&&e.push(p("reset",t.reset)),t.dispose&&e.push(p("dispose",t.dispose)),e)),[]);return()=>t.forEach((e=>e()))},dispose:()=>{r.dispose.forEach((e=>e())),c()},reset:c,forceUpdate:e=>{const t=n.get(e);r.set.forEach((s=>s(e,t,t)))}}})(s,r);return c.use((()=>{if("function"!=typeof e)return{};const s=new Map;return{dispose:()=>s.clear(),get:t=>{const n=e();n&&((e,t,s)=>{const n=e.get(t);n?n.includes(s)||n.push(s):e.set(t,[s])})(s,t,n)},set:e=>{const o=s.get(e);o&&s.set(e,o.filter(t)),n(s)},reset:()=>{s.forEach((e=>e.forEach(t))),n(s)}}})()),c};export{r as c}
|
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
3
|
-
v3.0.0-next.105 */
|
4
|
-
import{c as q,e as E,h as L}from"./KS4B6LK4.js";import{c as I,d as z,e as A}from"./FXMO4NFQ.js";import{a as C,b as R}from"./6VFJT5QA.js";import{a as d}from"./V7JMIX7A.js";import{b as v}from"./G5GEKU4E.js";import{e as x,l as g}from"./7AD7VKZ6.js";import{a as y,b as w,d as B}from"./LIPHS6R3.js";import"./Y7BXR2VY.js";import{I as k,d as u,e as p,i as b,u as a,v as f,w as m}from"./5WIIOMNV.js";var F={container:"container"},$=u`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block;cursor:pointer}:host .container{position:relative;outline:2px solid transparent;outline-offset:2px}:host .radio{cursor:pointer;border-radius:9999px;background-color:var(--calcite-color-foreground-1);outline-color:transparent;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;box-shadow:inset 0 0 0 1px var(--calcite-color-border-input)}:host([hovered]) .radio,:host(:not([checked])[focused]:not([disabled])) .radio{box-shadow:inset 0 0 0 2px var(--calcite-color-brand)}:host([focused]) .radio{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host([disabled]) .radio{cursor:default;opacity:var(--calcite-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hovered][disabled]) .radio{box-shadow:inset 0 0 0 1px var(--calcite-color-border-input)}:host([scale=s]){--calcite-radio-size: var(--calcite-font-size--2)}:host([scale=m]){--calcite-radio-size: var(--calcite-font-size--1)}:host([scale=l]){--calcite-radio-size: var(--calcite-font-size-0)}.radio{block-size:var(--calcite-radio-size);max-inline-size:var(--calcite-radio-size);min-inline-size:var(--calcite-radio-size)}:host([scale=s][checked]) .radio,:host([hovered][scale=s][checked][disabled]) .radio{box-shadow:inset 0 0 0 4px var(--calcite-color-brand)}:host([scale=s][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 4px var(--calcite-color-brand),0 0 0 2px var(--calcite-color-foreground-1)}:host([scale=m][checked]) .radio,:host([hovered][scale=m][checked][disabled]) .radio{box-shadow:inset 0 0 0 5px var(--calcite-color-brand)}:host([scale=m][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 5px var(--calcite-color-brand),0 0 0 2px var(--calcite-color-foreground-1)}:host([scale=l][checked]) .radio,:host([hovered][scale=l][checked][disabled]) .radio{box-shadow:inset 0 0 0 6px var(--calcite-color-brand)}:host([scale=l][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 6px var(--calcite-color-brand),0 0 0 2px var(--calcite-color-foreground-1)}@media (forced-colors: active){:host([checked]) .radio:after,:host([checked][disabled]) .radio:after{content:"";inline-size:var(--calcite-radio-size);block-size:var(--calcite-radio-size);background-color:windowText;display:block}}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}:host([hidden]){display:none}[hidden]{display:none}`,l=class extends f{constructor(){super(),this.checked=!1,this.disabled=!1,this.focused=!1,this.hovered=!1,this.required=!1,this.scale="m",this.calciteInternalRadioButtonBlur=a({cancelable:!1}),this.calciteInternalRadioButtonCheckedChange=a({cancelable:!1}),this.calciteInternalRadioButtonFocus=a({cancelable:!1}),this.calciteRadioButtonChange=a({cancelable:!1}),this.listen("pointerenter",this.pointerEnterHandler),this.listen("pointerleave",this.pointerLeaveHandler),this.listen("click",this.clickHandler),this.listen("keydown",this.handleKeyDown)}static{this.properties={checked:7,disabled:7,focused:7,form:3,hovered:7,label:1,name:3,required:7,scale:3,value:1}}static{this.styles=$}async emitCheckedChange(){this.calciteInternalRadioButtonCheckedChange.emit()}async setFocus(){await B(this),this.disabled||g(this.containerEl)}connectedCallback(){this.rootNode=this.el.getRootNode(),this.name&&this.checkLastRadioButton(),I(this),q(this),this.updateTabIndexOfOtherRadioButtonsInGroup(),super.connectedCallback()}load(){y(this)}willUpdate(e){this.hasUpdated&&e.has("checked")&&this.checkedChanged(this.checked),e.has("disabled")&&(this.hasUpdated||this.disabled!==!1)&&this.updateTabIndexOfOtherRadioButtonsInGroup(),e.has("name")&&this.checkLastRadioButton()}updated(){C(this)}loaded(){w(this),this.focused&&!this.disabled&&this.setFocus()}disconnectedCallback(){super.disconnectedCallback(),z(this),E(this),this.updateTabIndexOfOtherRadioButtonsInGroup()}checkedChanged(e){e&&this.uncheckOtherRadioButtonsInGroup(),this.calciteInternalRadioButtonCheckedChange.emit()}syncHiddenFormInput(e){e.type="radio"}selectItem(e,i){e[i].click()}queryButtons(){return Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden])")).filter(e=>e.name===this.name)}isFocusable(){let e=this.queryButtons(),i=e.find(o=>!o.disabled),t=e.find(o=>o.checked);return i===this.el&&!t}check(){this.disabled||(this.focused=!0,this.setFocus(),!this.checked&&(this.uncheckAllRadioButtonsInGroup(),this.checked=!0,this.calciteRadioButtonChange.emit()))}clickHandler(){this.disabled||this.check()}onLabelClick(e){if(this.disabled||this.el.hidden)return;let i=e.currentTarget,t=i.for?this.rootNode.querySelector(`calcite-radio-button[id="${i.for}"]`):i.querySelector(`calcite-radio-button[name="${this.name}"]`);t&&(t.focused=!0,this.setFocus(),!t.checked&&(this.uncheckOtherRadioButtonsInGroup(),t.checked=!0,this.calciteRadioButtonChange.emit()))}checkLastRadioButton(){let e=this.queryButtons().filter(i=>i.checked);if(e?.length>1){let i=e[e.length-1];e.filter(t=>t!==i).forEach(t=>{t.checked=!1,t.emitCheckedChange()})}}setContainerEl(e){this.containerEl=e}uncheckAllRadioButtonsInGroup(){this.queryButtons().forEach(e=>{e.checked&&(e.checked=!1,e.focused=!1)})}uncheckOtherRadioButtonsInGroup(){this.queryButtons().filter(e=>e!==this.el).forEach(e=>{e.checked&&(e.checked=!1,e.focused=!1)})}updateTabIndexOfOtherRadioButtonsInGroup(){this.queryButtons().filter(e=>e!==this.el&&!e.disabled).forEach(e=>{e.manager?.component.requestUpdate()})}getTabIndex(){if(!this.disabled)return this.checked||this.isFocusable()?0:-1}pointerEnterHandler(){this.disabled||(this.hovered=!0)}pointerLeaveHandler(){this.disabled||(this.hovered=!1)}handleKeyDown(e){let i=["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "],{key:t}=e,{el:o}=this;if(i.indexOf(t)===-1)return;if(t===" "){this.check(),e.preventDefault();return}let c=t;x(o)==="rtl"&&(t==="ArrowRight"&&(c="ArrowLeft"),t==="ArrowLeft"&&(c="ArrowRight"));let s=Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden])")).filter(n=>n.name===this.name),r=0,h=s.length;switch(s.some((n,O)=>{if(n.checked)return r=O,!0}),c){case"ArrowLeft":case"ArrowUp":e.preventDefault(),this.selectItem(s,d(Math.max(r-1,-1),h));return;case"ArrowRight":case"ArrowDown":e.preventDefault(),this.selectItem(s,d(r+1,h));return;default:return}}onContainerBlur(){this.focused=!1,this.calciteInternalRadioButtonBlur.emit()}onContainerFocus(){this.disabled||(this.focused=!0,this.calciteInternalRadioButtonFocus.emit())}render(){let e=this.getTabIndex();return R({disabled:this.disabled,children:p`<div .ariaChecked=${this.checked} .ariaLabel=${A(this)} class=${m(F.container)} @blur=${this.onContainerBlur} @focus=${this.onContainerFocus} role=radio tabindex=${e??b} ${v(this.setContainerEl)}><div class="radio"></div></div>${L({component:this})}`})}};k("calcite-radio-button",l);export{l as RadioButton};
|
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
3
|
-
v3.0.0-next.105 */
|
4
|
-
var l=["date","datetime-local","month","number","range","time","week"],m=["email","password","search","tel","text","url"],u=["email","password","search","tel","text","textarea","url"];function a(t,n,e,r){let s=e.toLowerCase(),o=t[e];r&&o!=null?n.setAttribute(s,`${o}`):n.removeAttribute(s)}function x(t,n,e){e.type=t==="textarea"?"text":t;let r=l.includes(t),s=n;a(s,e,"min",r),a(s,e,"max",r),a(s,e,"step",r);let o=u.includes(t),i=n;a(i,e,"minLength",o),a(i,e,"maxLength",o);let c=m.includes(t);a(i,e,"pattern",c)}export{x as a};
|
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
3
|
-
v3.0.0-next.105 */
|
4
|
-
import{a as g,b as y}from"./6VFJT5QA.js";import{a}from"./TVLD3AOO.js";import{a as f}from"./V7HGGFTI.js";import"./IWHKNQVC.js";import{a as T}from"./VALEMC46.js";import{a as C,b as d}from"./G5GEKU4E.js";import{z as c}from"./7AD7VKZ6.js";import"./Y7BXR2VY.js";import{I as R,d as w,e as s,j as p,u as r,v as u,w as m}from"./5WIIOMNV.js";var v={lastVisibleRow:"last-visible-row"},S=w`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{--calcite-internal-table-row-background: var(--calcite-table-row-background, var(--calcite-color-foreground-1));--calcite-internal-table-row-border-color: var(--calcite-table-row-border-color, transparent);display:contents}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) tr{pointer-events:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}tr{border-block-end:1px solid var(--calcite-internal-table-row-border-color);background-color:var(--calcite-internal-table-row-background)}tr.last-visible-row{border-block-end:0}`,h=class extends u{constructor(){super(),this.rowCells=[],this.tableRowSlotEl=C(),this.disabled=!1,this.interactionMode="interactive",this.numbered=!1,this.selected=!1,this.selectionMode="none",this.calciteInternalTableRowFocusRequest=r({cancelable:!1}),this.calciteInternalTableRowSelect=r({cancelable:!1}),this.calciteTableRowSelect=r({cancelable:!1}),this.handleSelectionOfRow=()=>{(this.rowType==="body"||this.rowType==="head"&&this.selectionMode==="multiple")&&this.calciteTableRowSelect.emit()},this.handleKeyboardSelection=e=>{T(e.key)&&(e.key===" "&&e.preventDefault(),this.handleSelectionOfRow())},this.listenOn(document,"calciteInternalTableRowFocusChange",this.calciteInternalTableRowFocusChangeHandler)}static{this.properties={alignment:3,bodyRowCount:9,cellCount:9,disabled:7,interactionMode:1,lastVisibleRow:5,numbered:5,positionAll:9,positionSection:9,positionSectionLocalized:1,readCellContentsToAT:5,rowType:1,scale:1,selected:7,selectedRowCount:9,selectedRowCountLocalized:1,selectionMode:1}}static{this.styles=S}load(){this.listenOn(this.el.shadowRoot,"slotchange",this.handleSlotChange)}willUpdate(e){(e.has("bodyRowCount")||e.has("scale")||e.has("selected")&&(this.hasUpdated||this.selected!==!1)||e.has("selectedRowCount")||e.has("interactionMode")&&(this.hasUpdated||this.interactionMode!=="interactive"))&&this.handleCellChanges(),(e.has("numbered")&&(this.hasUpdated||this.numbered!==!1)||e.has("selectionMode")&&(this.hasUpdated||this.selectionMode!=="none"))&&this.handleDelayedCellChanges(),e.has("selected")&&this.calciteInternalTableRowSelect.emit()}updated(){g(this)}loaded(){this.tableRowEl&&this.rowCells.length>0&&this.updateCells()}handleSlotChange(){this.updateCells()}handleCellChanges(){this.tableRowEl&&this.rowCells.length>0&&this.updateCells()}handleDelayedCellChanges(){this.tableRowEl&&this.rowCells.length>0&&requestAnimationFrame(()=>this.updateCells())}calciteInternalTableRowFocusChangeHandler(e){if(e.target.contains(this.el)){let l=e.detail.cellPosition,o=e.detail.rowPosition,i=e.detail.destination,t=e.detail.lastCell;if(o===this.positionAll){if(this.disabled){let b=i==="last"?"previous":i==="first"?"next":i;this.emitTableRowFocusRequest(l,this.positionAll,b);return}let n=t?this.rowCells[this.rowCells.length-1]:this.rowCells?.find((b,$)=>$+1===l);n&&n.setFocus()}}}keyDownHandler(e){if(this.interactionMode!=="interactive")return;let l=e.target,o=e.key,i=e.ctrlKey,t=this.rowCells;if(l.matches("calcite-table-cell")||l.matches("calcite-table-header"))switch(o){case"ArrowUp":this.emitTableRowFocusRequest(l.positionInRow,this.positionAll,"previous"),e.preventDefault();break;case"ArrowDown":this.emitTableRowFocusRequest(l.positionInRow,this.positionAll,"next"),e.preventDefault();break;case"PageUp":this.emitTableRowFocusRequest(l.positionInRow,this.positionAll,"first"),e.preventDefault();break;case"PageDown":this.emitTableRowFocusRequest(l.positionInRow,this.positionAll,"last"),e.preventDefault();break;case"ArrowLeft":c(t,l,"previous",!1),e.preventDefault();break;case"ArrowRight":c(t,l,"next",!1),e.preventDefault();break;case"Home":i?(this.emitTableRowFocusRequest(1,this.positionAll,"first"),e.preventDefault()):(c(t,l,"first",!1),e.preventDefault());break;case"End":i?(this.emitTableRowFocusRequest(this.rowCells?.length,this.positionAll,"last",!0),e.preventDefault()):(c(t,l,"last",!1),e.preventDefault());break}}emitTableRowFocusRequest(e,l,o,i){this.calciteInternalTableRowFocusRequest.emit({cellPosition:e,rowPosition:l,destination:o,lastCell:i})}updateCells(){let e=this.alignment?this.alignment:this.rowType!=="head"?"center":"start",l=this.tableRowSlotEl.value?.assignedElements({flatten:!0})?.filter(t=>t.matches("calcite-table-cell")||t.matches("calcite-table-header")),o=Array.from(this.tableRowEl?.querySelectorAll("calcite-table-header, calcite-table-cell"))?.filter(t=>t.numberCell||t.selectionCell),i=o?o.concat(l):l;i.length>0&&i?.forEach((t,n)=>{t.interactionMode=this.interactionMode,t.lastCell=n===i.length-1,t.parentRowAlignment=e,t.parentRowIsSelected=this.selected,t.parentRowType=this.rowType,t.positionInRow=n+1,t.scale=this.scale,t.nodeName==="CALCITE-TABLE-CELL"&&(t.readCellContentsToAT=this.readCellContentsToAT,t.disabled=this.disabled)}),this.rowCells=i||[],this.cellCount=i?.length}renderSelectionIcon(){let e=this.selectionMode==="multiple"&&this.selected?"check-square-f":this.selectionMode==="multiple"?"square":this.selected?"circle-f":"circle";return s`<calcite-icon .icon=${e} .scale=${f(this.scale)}></calcite-icon>`}renderSelectableCell(){return this.rowType==="head"?a("selection-head",s`<calcite-table-header alignment=center .bodyRowCount=${this.bodyRowCount} @click=${this.handleSelectionOfRow} @keydown=${this.handleKeyboardSelection} .parentRowAlignment=${this.alignment} .selectedRowCount=${this.selectedRowCount} .selectedRowCountLocalized=${this.selectedRowCountLocalized} .selectionCell=${!0} .selectionMode=${this.selectionMode}></calcite-table-header>`):this.rowType==="body"?a("selection-body",s`<calcite-table-cell alignment=center @click=${this.handleSelectionOfRow} @keydown=${this.handleKeyboardSelection} .parentRowAlignment=${this.alignment} .parentRowIsSelected=${this.selected} .parentRowPositionLocalized=${this.positionSectionLocalized} .selectionCell=${!0}>${this.renderSelectionIcon()}</calcite-table-cell>`):a("selection-foot",s`<calcite-table-cell alignment=center .parentRowAlignment=${this.alignment} .selectionCell=${!0}></calcite-table-cell>`)}renderNumberedCell(){return this.rowType==="head"?a("numbered-head",s`<calcite-table-header alignment=center .numberCell=${!0} .parentRowAlignment=${this.alignment}></calcite-table-header>`):this.rowType==="body"?a("numbered-body",s`<calcite-table-cell alignment=center .numberCell=${!0} .parentRowAlignment=${this.alignment}>${this.positionSectionLocalized}</calcite-table-cell>`):a("numbered-foot",s`<calcite-table-cell alignment=center .numberCell=${!0} .parentRowAlignment=${this.alignment}></calcite-table-cell>`)}render(){return y({disabled:this.disabled,children:s`<tr .ariaRowIndex=${this.positionAll+1} .ariaSelected=${this.selected} class=${m({[v.lastVisibleRow]:this.lastVisibleRow})} @keydown=${this.keyDownHandler} ${d(e=>{e&&(this.tableRowEl=e,p(s`${this.numbered&&this.renderNumberedCell()||""}${this.selectionMode!=="none"&&this.renderSelectableCell()||""}<slot ${d(this.tableRowSlotEl)}></slot>`,e))})}></tr>`})}};R("calcite-table-row",h);export{h as TableRow};
|
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
3
|
-
v3.0.0-next.105 */
|
4
|
-
import{a as R}from"./A43TKJ6J.js";import{c as h,e as y,f as C,g as L,h as x,i as p}from"./62UA4F4S.js";import"./5E6WFGQD.js";import{a as H}from"./W2PJHNUO.js";import"./TVLD3AOO.js";import"./UIF5EHAA.js";import{b as d}from"./G5GEKU4E.js";import{h as b,j as k}from"./7AD7VKZ6.js";import{a as E}from"./Y7BXR2VY.js";import{I as w,d as m,e as v,u as n,v as g,w as l,z as T}from"./5WIIOMNV.js";var O={positionContainer:"position-container",container:"container"},I=300,D=500,S="aria-describedby";function P(s){let{referenceElement:e}=s;return(typeof e=="string"?k(s,{id:e}):e)||null}var u=class{constructor(){this.registeredElements=new WeakMap,this.registeredShadowRootCounts=new WeakMap,this.hoverOpenTimeout=null,this.hoverCloseTimeout=null,this.activeTooltip=null,this.registeredElementCount=0,this.clickedTooltip=null,this.queryTooltip=e=>{let{registeredElements:t}=this,i=e.find(o=>t.has(o));return t.get(i)},this.keyDownHandler=e=>{if(e.key==="Escape"&&!e.defaultPrevented){let{activeTooltip:t}=this;if(t?.open){this.clearHoverTimeout(),this.closeActiveTooltip();let i=P(t),o=e.composedPath();(i instanceof Element&&o.includes(i)||o.includes(t))&&e.preventDefault()}}},this.pointerMoveHandler=e=>{if(e.defaultPrevented)return;let t=e.composedPath(),{activeTooltip:i}=this,o=this.queryTooltip(t);if(this.pathHasOpenTooltip(o,t)){this.clearHoverTimeout();return}o!==this.clickedTooltip&&(o?this.openHoveredTooltip(o):i?.open&&this.closeHoveredTooltip(),this.clickedTooltip=null)},this.clickHandler=e=>{if(e.defaultPrevented)return;this.clickedTooltip=null;let t=e.composedPath(),i=this.queryTooltip(t);if(this.pathHasOpenTooltip(i,t)){this.clearHoverTimeout();return}if(this.closeActiveTooltip(),!!i){if(this.clearHoverTimeout(),i.closeOnClick){this.clickedTooltip=i,this.toggleTooltip(i,!1);return}this.toggleTooltip(i,!0)}},this.blurHandler=()=>{this.closeActiveTooltip()},this.focusInHandler=e=>{if(e.defaultPrevented)return;let t=e.composedPath(),i=this.queryTooltip(t);if(this.pathHasOpenTooltip(i,t)){this.clearHoverTimeout();return}i!==this.clickedTooltip&&(this.clickedTooltip=null,this.closeTooltipIfNotActive(i),i&&this.toggleFocusedTooltip(i,!0))},this.openHoveredTooltip=e=>{this.hoverOpenTimeout=window.setTimeout(()=>{this.hoverOpenTimeout!==null&&(this.clearHoverCloseTimeout(),this.closeTooltipIfNotActive(e),this.toggleTooltip(e,!0))},this.activeTooltip?.open?0:I)},this.closeHoveredTooltip=()=>{this.hoverCloseTimeout=window.setTimeout(()=>{this.hoverCloseTimeout!==null&&this.closeActiveTooltip()},D)}}registerElement(e,t){this.registeredElementCount++,this.registeredElements.set(e,t);let i=this.getReferenceElShadowRootNode(e);i&&this.registerShadowRoot(i),this.registeredElementCount===1&&this.addListeners()}unregisterElement(e){let t=this.getReferenceElShadowRootNode(e);t&&this.unregisterShadowRoot(t),this.registeredElements.delete(e)&&this.registeredElementCount--,this.registeredElementCount===0&&this.removeListeners()}pathHasOpenTooltip(e,t){let{activeTooltip:i}=this;return i?.open&&t.includes(i)||e?.open&&t.includes(e)}addShadowListeners(e){e.addEventListener("focusin",this.focusInHandler)}removeShadowListeners(e){e.removeEventListener("focusin",this.focusInHandler)}addListeners(){window.addEventListener("keydown",this.keyDownHandler),window.addEventListener("pointermove",this.pointerMoveHandler),window.addEventListener("click",this.clickHandler),window.addEventListener("focusin",this.focusInHandler),window.addEventListener("blur",this.blurHandler)}removeListeners(){window.removeEventListener("keydown",this.keyDownHandler),window.removeEventListener("pointermove",this.pointerMoveHandler),window.removeEventListener("click",this.clickHandler),window.removeEventListener("focusin",this.focusInHandler),window.removeEventListener("blur",this.blurHandler)}clearHoverOpenTimeout(){window.clearTimeout(this.hoverOpenTimeout),this.hoverOpenTimeout=null}clearHoverCloseTimeout(){window.clearTimeout(this.hoverCloseTimeout),this.hoverCloseTimeout=null}clearHoverTimeout(){this.clearHoverOpenTimeout(),this.clearHoverCloseTimeout()}closeTooltipIfNotActive(e){this.activeTooltip!==e&&this.closeActiveTooltip()}closeActiveTooltip(){let{activeTooltip:e}=this;e?.open&&this.toggleTooltip(e,!1)}toggleFocusedTooltip(e,t){t&&this.clearHoverTimeout(),this.toggleTooltip(e,t)}toggleTooltip(e,t){e.open=t,this.activeTooltip=t?e:null}registerShadowRoot(e){let{registeredShadowRootCounts:t}=this,i=t.get(e),o=Math.min((typeof i=="number"?i:0)+1,1);o===1&&this.addShadowListeners(e),t.set(e,o)}unregisterShadowRoot(e){let{registeredShadowRootCounts:t}=this,i=t.get(e),o=Math.max((typeof i=="number"?i:1)-1,0);o===0&&this.removeShadowListeners(e),t.set(e,o)}getReferenceElShadowRootNode(e){return e instanceof Element?b(e):null}},U=m`:host{position:relative;display:block;--calcite-floating-ui-z-index: var(--calcite-tooltip-z-index, var(--calcite-z-index-tooltip))}.position-container{inline-size:max-content;display:none;inset-block-start:0;left:0;z-index:var(--calcite-floating-ui-z-index)}.position-container .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:inset,left,opacity;opacity:0;box-shadow:0 0 16px #00000029;z-index:var(--calcite-z-index);border-radius:.25rem}.position-container[data-placement^=bottom] .calcite-floating-ui-anim{inset-block-start:-5px}.position-container[data-placement^=top] .calcite-floating-ui-anim{inset-block-start:5px}.position-container[data-placement^=left] .calcite-floating-ui-anim{left:5px}.position-container[data-placement^=right] .calcite-floating-ui-anim{left:-5px}.position-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;inset-block-start:0;left:0}.calcite-floating-ui-arrow{pointer-events:none;position:absolute;z-index:calc(var(--calcite-z-index) * -1);fill:var(--calcite-color-foreground-1)}.calcite-floating-ui-arrow__stroke{stroke:var(--calcite-color-border-3)}.container{position:relative;overflow:hidden;padding-block:.75rem;padding-inline:1rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-medium);border-radius:var(--calcite-tooltip-corner-radius, var(--calcite-corner-radius-round));color:var(--calcite-tooltip-text-color, var(--calcite-color-text-1));max-inline-size:20rem;max-block-size:20rem;text-align:start}.position-container .calcite-floating-ui-anim{border-width:1px;border-style:solid;background-color:var(--calcite-tooltip-background-color, var(--calcite-color-foreground-1));border-color:var(--calcite-tooltip-border-color, var(--calcite-color-border-3));border-radius:var(--calcite-tooltip-corner-radius, var(--calcite-corner-radius-round))}.calcite-floating-ui-arrow{fill:var(--calcite-tooltip-background-color, var(--calcite-color-foreground-1))}.calcite-floating-ui-arrow__stroke{stroke:var(--calcite-tooltip-border-color, var(--calcite-color-border-3))}:host([hidden]){display:none}[hidden]{display:none}`,A=new u,f=class extends g{constructor(){super(...arguments),this.guid=`calcite-tooltip-${E()}`,this.transitionProp="opacity",this.floatingLayout="vertical",this.closeOnClick=!1,this.offsetDistance=p,this.offsetSkidding=0,this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.calciteTooltipBeforeClose=n({cancelable:!1}),this.calciteTooltipBeforeOpen=n({cancelable:!1}),this.calciteTooltipClose=n({cancelable:!1}),this.calciteTooltipOpen=n({cancelable:!1})}static{this.properties={floatingLayout:16,referenceEl:16,closeOnClick:7,label:1,offsetDistance:11,offsetSkidding:11,open:7,overlayPositioning:3,placement:3,referenceElement:1}}static{this.styles=U}async reposition(e=!1){let{referenceEl:t,placement:i,overlayPositioning:o,offsetDistance:r,offsetSkidding:a,arrowEl:c,floatingEl:z}=this;return y(this,{floatingEl:z,referenceEl:t,overlayPositioning:o,placement:i,offsetDistance:r,offsetSkidding:a,arrowEl:c,type:"tooltip"},e)}connectedCallback(){super.connectedCallback(),this.setUpReferenceElement(!0)}willUpdate(e){(e.has("offsetDistance")&&(this.hasUpdated||this.offsetDistance!==p)||e.has("offsetSkidding")&&(this.hasUpdated||this.offsetSkidding!==0)||e.has("overlayPositioning")&&(this.hasUpdated||this.overlayPositioning!=="absolute")||e.has("placement")&&(this.hasUpdated||this.placement!=="auto"))&&this.reposition(!0),e.has("open")&&(this.hasUpdated||this.open!==!1)&&this.openHandler(),e.has("referenceElement")&&this.setUpReferenceElement()}loaded(){this.referenceElement&&!this.referenceEl&&this.setUpReferenceElement()}disconnectedCallback(){super.disconnectedCallback(),this.removeReferences(),x(this)}openHandler(){H(this),this.reposition(!0)}onBeforeOpen(){this.calciteTooltipBeforeOpen.emit()}onOpen(){this.calciteTooltipOpen.emit()}onBeforeClose(){this.calciteTooltipBeforeClose.emit()}onClose(){this.calciteTooltipClose.emit(),C(this)}setFloatingEl(e){this.floatingEl=e,e&&requestAnimationFrame(()=>this.setUpReferenceElement())}setTransitionEl(e){this.transitionEl=e}setUpReferenceElement(e=!0){this.removeReferences(),this.referenceEl=P(this.el),L(this);let{el:t,referenceElement:i,referenceEl:o}=this;e&&i&&!o&&console.warn(`${t.tagName}: reference-element id "${i}" was not found.`,{el:t}),this.addReferences()}getId(){return this.el.id||this.guid}addReferences(){let{referenceEl:e}=this;if(!e)return;let t=this.getId();"setAttribute"in e&&e.setAttribute(S,t),A.registerElement(e,this.el)}removeReferences(){let{referenceEl:e}=this;e&&("removeAttribute"in e&&e.removeAttribute(S),A.unregisterElement(e))}render(){let{referenceEl:e,label:t,open:i,floatingLayout:o}=this,r=e&&i,a=!r;return this.el.inert=a,this.el.ariaLabel=t,this.el.ariaLive="polite",T(this.el,"id",this.getId()),this.el.role="tooltip",v`<div class=${l(O.positionContainer)} ${d(this.setFloatingEl)}><div class=${l({[h.animation]:!0,[h.animationActive]:r})} ${d(this.setTransitionEl)}>${R({floatingLayout:o,ref:c=>this.arrowEl=c})}<div class=${l(O.container)}><slot></slot></div></div></div>`}};w("calcite-tooltip",f);export{f as Tooltip};
|
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
3
|
-
v3.0.0-next.105 */
|
4
|
-
import{b as _}from"./3AWHEFUT.js";import"./OJCYBIGG.js";var r={name:"fr",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),months:"janvier_f\xE9vrier_mars_avril_mai_juin_juillet_ao\xFBt_septembre_octobre_novembre_d\xE9cembre".split("_"),monthsShort:"janv._f\xE9vr._mars_avr._mai_juin_juil._ao\xFBt_sept._oct._nov._d\xE9c.".split("_"),weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:function(e){var a=e===1?"er":"";return""+e+a}};_.locale(r,null,!0);var s=r;export{s as default};
|
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
3
|
-
v3.0.0-next.105 */
|
4
|
-
import{a as y}from"./WI77ICVL.js";import{a as A}from"./24P6DEQH.js";import{b as f}from"./G5GEKU4E.js";import{v as S,z as l}from"./7AD7VKZ6.js";import{a as I}from"./Y7BXR2VY.js";import{I as v,d as u,e as a,f as b,i as h,u as c,v as g,w as r}from"./5WIIOMNV.js";var p={actionIcon:"action-icon",actionIconStart:"action-icon--start",actionIconEnd:"action-icon--end",actionContainer:"action-container",stepBarContainer:"step-bar-container",singleView:"single-view"},o={stepBar:"step-bar",stepBarActive:"step-bar--active",stepBarComplete:"step-bar--complete",stepBarDisabled:"step-bar--disabled",stepBarError:"step-bar--error",stepBarInActive:"step-bar--inactive"},E=({disabled:d,active:e,complete:t,error:i})=>a`<svg class=${r({[o.stepBar]:!0})}>${b`<rect class=${r({[o.stepBarActive]:e,[o.stepBarComplete]:t,[o.stepBarDisabled]:d,[o.stepBarError]:i,[o.stepBarInActive]:!0})} width=100% x=0 y=0 />`}</svg>`,P=u`:host([scale=s]){--calcite-internal-stepper-item-spacing-unit-s: .25rem;--calcite-internal-stepper-action-block-size: 2.75rem;--calcite-internal-stepper-action-inline-size: 2rem;--calcite-internal-step-bar-gap: .25rem}:host([scale=m]){--calcite-internal-stepper-item-spacing-unit-s: .5rem;--calcite-internal-stepper-action-block-size: 3.25rem;--calcite-internal-stepper-action-inline-size: 2.5rem}:host([scale=l]){--calcite-internal-stepper-item-spacing-unit-s: .75rem;--calcite-internal-stepper-action-block-size: 4rem;--calcite-internal-stepper-action-inline-size: 3rem;--calcite-internal-step-bar-gap: .75rem}:host{display:flex}.container{position:relative;display:flex;inline-size:100%;min-inline-size:fit-content;flex-direction:row;flex-wrap:wrap;align-items:stretch;justify-content:space-between}:host([layout=vertical]) .container{flex:1 1 auto;flex-direction:column}:host([layout=horizontal]) .container,:host([layout=horizontal-single]) .container{display:grid;grid-template-areas:"items" "content";gap:.5rem var(--calcite-internal-stepper-item-spacing-unit-s)}:host([layout=horizontal][scale=s]) .container,:host([layout=horizontal-single][scale=s]) .container{gap:.25rem var(--calcite-internal-stepper-item-spacing-unit-s)}:host([layout=horizontal][scale=l]) .container,:host([layout=horizontal-single][scale=l]) .container{gap:.75rem var(--calcite-internal-stepper-item-spacing-unit-s)}:host([layout=horizontal]) .container.single-view{display:flex;grid-template-columns:none}.action-icon{position:relative;display:flex;flex-grow:0;block-size:var(--calcite-internal-stepper-action-block-size);inline-size:var(--calcite-internal-stepper-action-inline-size)}.action-container{position:absolute;display:flex;justify-content:space-between;padding-block:.25rem;inline-size:100%}.step-bar{display:flex;block-size:100%;inline-size:100%}.step-bar-container{position:absolute;display:flex;align-items:flex-start;justify-content:space-between;block-size:.125rem;inline-size:100%;gap:var(--calcite-internal-step-bar-gap, .5rem)}.step-bar--inactive{fill:var(--calcite-color-border-3, #dfdfdf);fill-opacity:1;block-size:100%}.step-bar--active{fill:var(--calcite-color-brand)}.step-bar--complete{fill:var(--calcite-color-brand);fill-opacity:.5}.step-bar--error{fill:var(--calcite-color-status-danger)}.step-bar--disabled{opacity:.5}:host([hidden]){display:none}[hidden]{display:none}`,m=class extends g{constructor(){super(),this.enabledItems=[],this.guid=`calcite-stepper-action-${I()}`,this.itemMap=new Map,this.items=[],this.multipleViewMode=!1,this.mutationObserver=y("mutation",()=>this.updateItems()),this.icon=!1,this.layout="horizontal",this.messages=A(),this.numbered=!1,this.scale="m",this.selectedItem=null,this.calciteInternalStepperItemChange=c({cancelable:!1}),this.calciteStepperChange=c({cancelable:!1}),this.calciteStepperItemChange=c({cancelable:!1}),this.listen("calciteInternalStepperItemKeyEvent",this.calciteInternalStepperItemKeyEvent),this.listen("calciteInternalStepperItemRegister",this.registerItem),this.listen("calciteInternalStepperItemSelect",this.updateItem),this.listen("calciteStepperItemSelect",this.handleItemSelect)}static{this.properties={currentActivePosition:16,icon:7,layout:3,messageOverrides:0,numbered:7,numberingSystem:3,scale:3,selectedItem:0}}static{this.styles=P}async endStep(){let e=this.getEnabledStepIndex(this.items.length-1,"previous");typeof e=="number"&&this.updateStep(e)}async goToStep(e){let t=e-1;this.currentActivePosition!==t&&this.updateStep(t)}async nextStep(){let e=this.getEnabledStepIndex(this.currentActivePosition+1,"next");typeof e=="number"&&this.updateStep(e)}async prevStep(){let e=this.getEnabledStepIndex(this.currentActivePosition-1,"previous");typeof e=="number"&&this.updateStep(e)}async startStep(){let e=this.getEnabledStepIndex(0,"next");typeof e=="number"&&this.updateStep(e)}connectedCallback(){super.connectedCallback(),this.mutationObserver?.observe(this.el,{childList:!0}),this.updateItems()}willUpdate(e){(e.has("icon")&&(this.hasUpdated||this.icon!==!1)||e.has("layout")&&(this.hasUpdated||this.layout!=="horizontal")||e.has("numbered")&&(this.hasUpdated||this.numbered!==!1)||e.has("scale")&&(this.hasUpdated||this.scale!=="m"))&&(this.updateItems(),this.determineActiveStepper()),e.has("numberingSystem")&&this.setStepperItemNumberingSystem(),e.has("currentActivePosition")&&requestAnimationFrame(()=>{this.determineActiveStepper()})}loaded(){if(typeof this.currentActivePosition!="number"){let e=this.getFirstEnabledStepperPosition();e===0&&(this.currentActivePosition=e),this.calciteInternalStepperItemChange.emit({position:e})}}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect()}calciteInternalStepperItemKeyEvent(e){let t=e.detail.item,i=e.target;switch(t.key){case"ArrowDown":case"ArrowRight":l(this.enabledItems,i,"next");break;case"ArrowUp":case"ArrowLeft":l(this.enabledItems,i,"previous");break;case"Home":l(this.enabledItems,i,"first");break;case"End":l(this.enabledItems,i,"last");break}e.stopPropagation()}registerItem(e){let t=e.target,{content:i,position:n}=e.detail;this.itemMap.set(t,{position:n,content:i}),this.enabledItems=this.filterItems(),e.stopPropagation()}updateItem(e){let{position:t}=e.detail;typeof t=="number"&&(this.currentActivePosition=t,this.selectedItem=e.target),this.calciteInternalStepperItemChange.emit({position:t})}handleItemSelect(){this.emitItemSelect()}emitItemSelect(){this.calciteStepperItemChange.emit(),this.calciteStepperChange.emit()}updateItems(){this.el.querySelectorAll("calcite-stepper-item").forEach(e=>{e.icon=this.icon,e.numbered=this.numbered,e.layout=this.layout,e.scale=this.scale})}determineActiveStepper(){let{items:e}=this;if(e.length<2)return;let{currentActivePosition:t,layout:i}=this;this.multipleViewMode=i!=="horizontal-single",e.forEach((n,s)=>{n.hidden=i==="horizontal-single"&&s!==(t||0)})}getEnabledStepIndex(e,t="next"){let{items:i,currentActivePosition:n}=this,s=e;for(;i[s]?.disabled&&this.layout!=="horizontal-single";)s=s+(t==="previous"?-1:1);return s!==n&&s<i.length&&s>=0?s:null}updateStep(e){this.currentActivePosition=e,this.calciteInternalStepperItemChange.emit({position:e})}filterItems(){return this.items.filter(e=>!e.disabled)}setStepperItemNumberingSystem(){this.items.forEach(e=>{e.numberingSystem=this.numberingSystem})}handleActionClick(e){let t=this.currentActivePosition;e.target.getAttribute("data-position")==="start"?this.prevStep():this.nextStep(),typeof this.currentActivePosition=="number"&&t!==this.currentActivePosition&&!this.items[this.currentActivePosition].disabled&&this.emitItemSelect()}getFirstEnabledStepperPosition(){let e=this.items.findIndex(t=>!t.disabled);return e>-1?e:0}setContainerEl(e){this.containerEl=e}handleDefaultSlotChange(e){let t=S(e).filter(n=>n?.tagName==="CALCITE-STEPPER-ITEM");this.items=t;let i=Array(t.length).fill("1fr").join(" ");this.containerEl.style.gridTemplateAreas=i,this.containerEl.style.gridTemplateColumns=i,this.setStepperItemNumberingSystem()}render(){return this.el.ariaLabel=this.messages.label,this.el.role="region",a`<div class=${r({container:!0,[p.singleView]:this.layout==="horizontal-single"})} ${f(this.setContainerEl)}>${this.layout==="horizontal-single"&&a`<div class=${r({[p.stepBarContainer]:!0})}>${this.items.map((e,t)=>E({active:t===this.currentActivePosition,complete:e.complete&&t!==this.currentActivePosition&&!e.error,disabled:e.disabled&&t!==this.currentActivePosition,error:e.error&&t!==this.currentActivePosition}))}</div>`||""}${this.layout==="horizontal-single"&&a`<div class=${r({[p.actionContainer]:!0})}>${this.renderAction("start")}${this.renderAction("end")}</div>`||""}<slot @slotchange=${this.handleDefaultSlotChange}></slot></div>`}renderAction(e){let t=e==="start",i=t?"chevron-left":"chevron-right",{currentActivePosition:n,multipleViewMode:s,layout:z}=this,x=this.items.length,C=`${this.guid}-${t?"start":"end"}`;return z==="horizontal-single"&&!s?a`<calcite-action alignment=center appearance=transparent class=${r({[p.actionIcon]:!0})} compact data-position=${e??h} .disabled=${n===0&&t||n===x-1&&!t} .icon=${i} icon-flip-rtl id=${C??h} @click=${this.handleActionClick} .scale=${this.scale} .text=${t?this.messages.previousStep:this.messages.nextStep}></calcite-action>`:null}};v("calcite-stepper",m);export{m as Stepper};
|
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
3
|
-
v3.0.0-next.105 */
|
4
|
-
import{a as ie,b as T}from"./Z2FJJLZ3.js";import{a as W,k as L}from"./XYEB5PRT.js";import{a as ae}from"./TNN7X24K.js";import{c as Y,e as Z,f as ee,h as te}from"./KS4B6LK4.js";import{c as K,d as J,e as Q}from"./FXMO4NFQ.js";import{a as q,b as j}from"./6VFJT5QA.js";import{a as B}from"./TVLD3AOO.js";import{a as G}from"./VALEMC46.js";import{a as N}from"./24P6DEQH.js";import{b as R}from"./G5GEKU4E.js";import{q as H,x as _}from"./7AD7VKZ6.js";import{a as A,b as I,d as U}from"./LIPHS6R3.js";import{a as X}from"./Y7BXR2VY.js";import{A as O,I as E,d as z,e as x,i as P,u as w,v as C,w as g,x as $,z as F}from"./5WIIOMNV.js";var l={container:"container",containerRange:"container--range",graph:"graph",handle:"handle",handleExtension:"handle-extension",handleLabel:"handle__label",handleLabelMinValue:"handle__label--minValue",handleLabelValue:"handle__label--value",hyphen:"hyphen",hyphenWrap:"hyphen--wrap",static:"static",thumb:"thumb",thumbActive:"thumb--active",thumbContainer:"thumb-container",thumbMinValue:"thumb--minValue",thumbPrecise:"thumb--precise",thumbValue:"thumb--value",tick:"tick",tickActive:"tick--active",tickLabel:"tick__label",tickMax:"tick__label--max",tickMin:"tick__label--min",ticks:"ticks",track:"track",trackRange:"track__range",transformed:"transformed"},se={validationMessage:"validationMessage"},le=250,ne=z`@charset "UTF-8";:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}.scale--s{--calcite-slider-handle-size: .625rem;--calcite-slider-handle-extension-height: .4rem;--calcite-slider-container-font-size: var(--calcite-font-size--3)}.scale--s .handle__label,.scale--s .tick__label{line-height:.75rem}.scale--m{--calcite-slider-handle-size: .875rem;--calcite-slider-handle-extension-height: .5rem;--calcite-slider-container-font-size: var(--calcite-font-size--2)}.scale--m .handle__label,.scale--m .tick__label{line-height:1rem}.scale--l{--calcite-slider-handle-size: 1rem;--calcite-slider-handle-extension-height: .65rem;--calcite-slider-container-font-size: var(--calcite-font-size--1)}.scale--l .handle__label,.scale--l .tick__label{line-height:1rem}.handle__label,.tick__label{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-slider-text-color, var(--calcite-color-text-2));font-size:var(--calcite-slider-container-font-size)}:host{display:block}:host .validation-container{padding-block-start:0!important}.container{position:relative;display:block;overflow-wrap:normal;word-break:normal;padding-inline:calc(var(--calcite-slider-handle-size) * .5);padding-block:calc(var(--calcite-slider-handle-size) * .5);margin-block:calc(var(--calcite-slider-handle-size) * .5);margin-inline:0;--calcite-slider-full-handle-height: calc( var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height) );touch-action:none;-webkit-user-select:none;user-select:none}:host([disabled]) .track__range,:host([disabled]) .tick--active{background-color:var(--calcite-color-text-3)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset: -.375rem}.scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset: -.5rem}.scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset: -.55rem}:host([precise]:not([has-histogram])) .container .thumb--value{--calcite-slider-thumb-y-offset: calc(var(--calcite-slider-full-handle-height) * -1)}.thumb-container{position:relative;max-inline-size:100%}.thumb{--calcite-slider-thumb-x-offset: calc(var(--calcite-slider-handle-size) * .5);position:absolute;margin:0;display:flex;cursor:pointer;flex-direction:column;align-items:center;border-style:none;background-color:transparent;padding:0;font-family:inherit;outline:2px solid transparent;outline-offset:2px;transform:translate(var(--calcite-slider-thumb-x-offset),var(--calcite-slider-thumb-y-offset))}.thumb .handle__label{white-space:nowrap}.thumb .handle__label.static,.thumb .handle__label.transformed{position:absolute;inset-block:0px;opacity:0}.thumb .handle__label.hyphen:after{content:"\u2014";display:inline-block;inline-size:1em}.thumb .handle__label.hyphen--wrap{display:flex}.thumb .handle{box-sizing:border-box;border-radius:9999px;outline-color:transparent;background-color:var(--calcite-slider-handle-fill-color, var(--calcite-color-foreground-1));block-size:var(--calcite-slider-handle-size);inline-size:var(--calcite-slider-handle-size);box-shadow:0 0 0 2px var(--calcite-color-text-3) inset;transition:border var(--calcite-internal-animation-timing-medium) ease,background-color var(--calcite-internal-animation-timing-medium) ease,box-shadow var(--calcite-animation-timing) ease}.thumb .handle-extension{inline-size:.125rem;block-size:var(--calcite-slider-handle-extension-height);background-color:var(--calcite-slider-handle-extension-color, var(--calcite-color-text-3))}.thumb:hover .handle{box-shadow:0 0 0 3px var(--calcite-color-brand) inset}.thumb:hover .handle-extension{background-color:var(--calcite-slider-accent-color, var(--calcite-color-brand))}.thumb:focus .handle{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.thumb:focus .handle-extension{background-color:var(--calcite-slider-accent-color, var(--calcite-color-brand))}.thumb.thumb--minValue{transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1),var(--calcite-slider-thumb-y-offset))}.thumb.thumb--precise{--calcite-slider-thumb-y-offset: -.125rem}:host([label-handles]) .thumb{--calcite-slider-thumb-x-offset: 50%}:host([label-handles]):host(:not([has-histogram])) .scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset: -1.4375rem}:host([label-handles]):host(:not([has-histogram])) .scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset: -1.875rem}:host([label-handles]):host(:not([has-histogram])) .scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset: -2rem}:host([has-histogram][label-handles]) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--minValue.thumb--precise .handle__label{margin-block-start:.5em}:host(:not([has-histogram]):not([precise])) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--value .handle__label{margin-block-end:.5em}:host([label-handles][precise]):host(:not([has-histogram])) .scale--s .thumb--value{--calcite-slider-thumb-y-offset: -2.075rem}:host([label-handles][precise]):host(:not([has-histogram])) .scale--m .thumb--value{--calcite-slider-thumb-y-offset: -2.75rem}:host([label-handles][precise]):host(:not([has-histogram])) .scale--l .thumb--value{--calcite-slider-thumb-y-offset: -3.0625rem}.thumb:focus .handle,.thumb--active .handle{background-color:var(--calcite-slider-accent-color, var(--calcite-color-brand));box-shadow:0 0 8px #00000029}.thumb:hover.thumb--precise:after,.thumb:focus.thumb--precise:after,.thumb--active.thumb--precise:after{background-color:var(--calcite-slider-accent-color, var(--calcite-color-brand))}.track{position:relative;block-size:.125rem;border-radius:0;background-color:var(--calcite-slider-track-color, var(--calcite-color-border-2));transition:all var(--calcite-internal-animation-timing-medium) ease-in}.track__range{position:absolute;inset-block-start:0px;block-size:.125rem;background-color:var(--calcite-slider-track-fill-color, var(--calcite-color-brand))}.container--range .track__range:hover{cursor:ew-resize}.container--range .track__range:after{position:absolute;inline-size:100%;content:"";inset-block-start:calc(var(--calcite-slider-full-handle-height) * .5 * -1);block-size:calc(var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height))}@media (forced-colors: active){.thumb{outline-width:0;outline-offset:0}.handle{outline:2px solid transparent;outline-offset:2px}.thumb:focus .handle,.thumb .handle-extension,.thumb:hover .handle-extension,.thumb:focus .handle-extension,.thumb:active .handle-extension{background-color:canvasText}.track{background-color:canvasText}.track__range{background-color:highlight}}.tick{position:absolute;block-size:.25rem;inline-size:.125rem;border-width:1px;border-style:solid;background-color:var(--calcite-slider-tick-color, var(--calcite-color-border-input));border-color:var(--calcite-slider-tick-border-color, var(--calcite-color-foreground-1));inset-block-start:-2px;pointer-events:none;margin-inline-start:-.125rem}.tick--active{background-color:var(--calcite-slider-tick-selected-color, var(--calcite-color-brand))}.tick__label{pointer-events:none;margin-block-start:.875rem;display:flex;justify-content:center}.tick__label--min{transition:opacity var(--calcite-animation-timing)}.tick__label--max{transition:opacity var(--calcite-internal-animation-timing-fast)}:host([has-histogram][label-handles]) .tick__label--min,:host([has-histogram][label-handles]) .tick__label--max,:host([has-histogram][precise]) .tick__label--min,:host([has-histogram][precise]) .tick__label--max{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-3)}.graph{color:var(--calcite-slider-graph-color, var(--calcite-color-foreground-3));block-size:48px}:host([label-ticks][ticks]) .container{padding-block-end:calc(.875rem + var(--calcite-slider-container-font-size))}:host([has-histogram]):host([precise][label-handles]) .container{padding-block-end:calc(var(--calcite-slider-full-handle-height) + 1em)}:host([has-histogram]):host([label-handles]:not([precise])) .container{padding-block-end:calc(var(--calcite-slider-handle-size) * .5 + 1em)}:host([has-histogram]):host([precise]:not([label-handles])) .container{padding-block-end:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container{padding-block-start:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container--range{padding-block-end:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([label-handles]:not([precise])) .container{padding-block-start:calc(var(--calcite-slider-full-handle-height) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container{padding-block-start:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container--range{padding-block-end:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:.5rem}:host([scale=s]) .validation-container{padding-block-start:.25rem}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}:host([hidden]){display:none}[hidden]{display:none}`;function p(S){return Array.isArray(S)}var D=class extends C{constructor(){super(),this.activeProp="value",this.dragEnd=e=>{this.disabled||(this.removeDragListeners(),this.focusActiveHandle(e.clientX),this.lastDragPropValue!=this[this.dragProp]&&this.emitChange(),this.dragProp=null,this.lastDragPropValue=null,this.minValueDragRange=null,this.maxValueDragRange=null,this.minMaxValueRange=null)},this.dragUpdate=e=>{if(!this.disabled&&(e.preventDefault(),this.dragProp)){let t=this.mapToRange(e.clientX||e.pageX);if(p(this.value)&&this.dragProp==="minMaxValue")if(this.minValueDragRange&&this.maxValueDragRange&&this.minMaxValueRange){let a=t-this.minValueDragRange,i=t+this.maxValueDragRange;i<=this.max&&a>=this.min&&i-a===this.minMaxValueRange&&this.setValue({minValue:this.clamp(a,"minValue"),maxValue:this.clamp(i,"maxValue")})}else this.minValueDragRange=t-this.minValue,this.maxValueDragRange=this.maxValue-t,this.minMaxValueRange=this.maxValue-this.minValue;else this.setValue({[this.dragProp]:this.clamp(t,this.dragProp)})}},this.formatValue=e=>(L.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator},L.localize(e.toString())),this.guid=`calcite-slider-${X()}`,this.messages=N({name:null}),this.pointerUpDragEnd=e=>{this.disabled||!_(e)||this.dragEnd(e)},this.maxValueDragRange=null,this.minMaxValueRange=null,this.minValueDragRange=null,this.tickValues=[],this.disabled=!1,this.fillPlacement="start",this.groupSeparator=!1,this.hasHistogram=!1,this.labelHandles=!1,this.labelTicks=!1,this.max=100,this.min=0,this.mirrored=!1,this.precise=!1,this.required=!1,this.scale="m",this.snap=!1,this.status="idle",this.step=1,this.validity={valid:!1,badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1},this.value=0,this.calciteSliderChange=w({cancelable:!1}),this.calciteSliderInput=w({cancelable:!1}),this.listen("pointerdown",this.pointerDownHandler),this.listen("keydown",this.handleKeyDown),this.listen("touchstart",this.handleTouchStart)}static{this.properties={maxValueDragRange:16,minMaxValueRange:16,minValueDragRange:16,tickValues:16,disabled:7,fillPlacement:3,form:3,groupSeparator:7,hasHistogram:7,histogram:0,histogramStops:0,labelFormatter:0,labelHandles:7,labelTicks:7,max:11,maxLabel:1,maxValue:9,min:11,minLabel:1,minValue:9,mirrored:7,name:3,numberingSystem:1,pageStep:11,precise:7,required:7,scale:3,snap:7,status:3,step:11,ticks:11,validationIcon:[3,{converter:O}],validationMessage:1,validity:0,value:11}}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}static{this.styles=ne}async setFocus(){await U(this),(this.minHandle?this.minHandle:this.maxHandle)?.focus()}connectedCallback(){super.connectedCallback(),this.setMinMaxFromValue(),this.setValueFromMinMax(),K(this),Y(this)}load(){A(this),p(this.value)||(this.value=this.snap?this.getClosestStep(this.value):this.clamp(this.value)),ee(this,this.value)}willUpdate(e){e.has("histogram")&&(this.hasHistogram=!!this.histogram),e.has("ticks")&&(this.tickValues=this.generateTickValues()),e.has("value")&&(this.hasUpdated||this.value!==0)&&this.setMinMaxFromValue(),(e.has("minValue")||e.has("maxValue"))&&this.setValueFromMinMax()}updated(){this.labelHandles&&(this.adjustHostObscuredHandleLabel("value"),p(this.value)&&(this.adjustHostObscuredHandleLabel("minValue"),this.precise&&!this.hasHistogram||this.hyphenateCollidingRangeHandleLabels())),this.hideObscuredBoundingTickLabels(),q(this)}loaded(){I(this)}disconnectedCallback(){super.disconnectedCallback(),J(this),Z(this),this.removeDragListeners()}handleKeyDown(e){let t=this.shouldMirror(),{activeProp:a,max:i,min:s,pageStep:r,step:o}=this,n=this[a],{key:h}=e;if(G(h)){e.preventDefault();return}let m;if(h==="ArrowUp"||h==="ArrowRight"?m=n+o*(t&&h==="ArrowRight"?-1:1):h==="ArrowDown"||h==="ArrowLeft"?m=n-o*(t&&h==="ArrowLeft"?-1:1):h==="PageUp"?r&&(m=n+r):h==="PageDown"?r&&(m=n-r):h==="Home"?m=s:h==="End"&&(m=i),isNaN(m))return;e.preventDefault();let d=Number(m.toFixed(T(o)));this.setValue({[a]:this.clamp(d,a)})}pointerDownHandler(e){if(this.disabled||!_(e))return;let t=e.clientX||e.pageX,a=this.mapToRange(t),i="value";p(this.value)&&(a>=this.minValue&&a<=this.maxValue&&this.lastDragProp==="minMaxValue"?i="minMaxValue":i=Math.abs(this.maxValue-a)<Math.abs(this.minValue-a)||a>=this.maxValue?"maxValue":"minValue"),this.lastDragPropValue=this[i],this.dragStart(i),this.el.shadowRoot.querySelector(`.${l.thumb}:active`)||this.setValue({[i]:this.clamp(a,i)}),this.focusActiveHandle(t)}handleTouchStart(e){e.preventDefault()}buildThumbType(e){let t=[e];return this.labelHandles&&t.push("labeled"),this.precise&&t.push("precise"),this.hasHistogram&&t.push("histogram"),t.join("-")}setValueFromMinMax(){let{minValue:e,maxValue:t}=this;typeof e=="number"&&typeof t=="number"&&(this.value=[e,t])}setMinMaxFromValue(){let{value:e}=this;p(e)&&(this.minValue=e[0],this.maxValue=e[1])}onLabelClick(){this.setFocus()}shouldMirror(){return this.mirrored&&!this.hasHistogram}shouldUseMinValue(){return p(this.value)?this.hasHistogram&&this.maxValue===0||!this.hasHistogram&&this.minValue===0:!1}getTickDensity(){let e=(this.max-this.min)/this.ticks/le;return e<1?1:e}generateTickValues(){let e=this.ticks??0;if(e<=0)return[];let t=[this.min],a=this.getTickDensity(),i=e*a,s=this.min;for(;s<this.max;)s+=i,t.push(Math.min(s,this.max));return t.includes(this.max)||t.push(this.max),t}onThumbBlur(){this.activeProp=null}onThumbFocus(e){let t=e.currentTarget;this.activeProp=t.getAttribute("data-value-prop")}onThumbPointerDown(e){let t=e.currentTarget;this.pointerDownDragStart(e,t.getAttribute("data-value-prop"))}onTrackPointerDown(e){this.pointerDownDragStart(e,"minMaxValue")}pointerDownDragStart(e,t){_(e)&&this.dragStart(t)}dragStart(e){this.dragProp=e,this.lastDragProp=this.dragProp,this.activeProp=e,window.addEventListener("pointermove",this.dragUpdate),window.addEventListener("pointerup",this.pointerUpDragEnd),window.addEventListener("pointercancel",this.dragEnd)}focusActiveHandle(e){this.dragProp==="minValue"?this.minHandle.focus():this.dragProp==="maxValue"||this.dragProp==="value"?this.maxHandle.focus():this.dragProp==="minMaxValue"&&this.getClosestHandle(e).focus()}emitInput(){this.calciteSliderInput.emit()}emitChange(){this.calciteSliderChange.emit()}removeDragListeners(){window.removeEventListener("pointermove",this.dragUpdate),window.removeEventListener("pointerup",this.pointerUpDragEnd),window.removeEventListener("pointercancel",this.dragEnd)}setValue(e){let t;Object.keys(e).forEach(a=>{let i=e[a];t||(t=this[a]!==i),this[a]=i}),t&&(this.dragProp||this.emitChange(),this.emitInput())}storeTrackRef(e){this.trackEl=e}storeThumbRef(e){e&&(e.getAttribute("data-value-prop")==="minValue"?this.minHandle=e:this.maxHandle=e)}clamp(e,t){return e=ie(e,this.min,this.max),t==="maxValue"&&(e=Math.max(e,this.minValue)),t==="minValue"&&(e=Math.min(e,this.maxValue)),e}mapToRange(e){let t=this.max-this.min,{left:a,width:i}=this.trackEl.getBoundingClientRect(),s=(e-a)/i,r=this.shouldMirror(),o=this.clamp(this.min+t*(r?1-s:s)),n=Number(o.toFixed(T(this.step)));return this.snap&&this.step?this.getClosestStep(n):n}getClosestStep(e){let{max:t,min:a,step:i}=this,s=new W(`${Math.floor((e-a)/i)}`).multiply(`${i}`).add(`${a}`).toString(),r=this.clamp(Number(s));return r>t&&(r-=i),r}getClosestHandle(e){return this.getDistanceX(this.maxHandle,e)>this.getDistanceX(this.minHandle,e)?this.minHandle:this.maxHandle}getDistanceX(e,t){return Math.abs(e.getBoundingClientRect().left-t)}getFontSizeForElement(e){return Number(window.getComputedStyle(e).getPropertyValue("font-size").match(/\d+/)[0])}getUnitInterval(e){e=this.clamp(e);let t=this.max-this.min;return(e-this.min)/t}adjustHostObscuredHandleLabel(e){let t=this.el.shadowRoot.querySelector(`.handle__label--${e}`),a=this.el.shadowRoot.querySelector(`.handle__label--${e}.static`),i=this.el.shadowRoot.querySelector(`.handle__label--${e}.transformed`),s=a.getBoundingClientRect(),r=this.getHostOffset(s.left,s.right);t.style.transform=`translateX(${r}px)`,i.style.transform=`translateX(${r}px)`}hyphenateCollidingRangeHandleLabels(){let{shadowRoot:e}=this.el,t=this.shouldMirror(),a=t?"value":"minValue",i=t?"minValue":"value",s=e.querySelector(`.handle__label--${a}`),r=e.querySelector(`.handle__label--${a}.static`),o=e.querySelector(`.handle__label--${a}.transformed`),n=this.getHostOffset(r.getBoundingClientRect().left,r.getBoundingClientRect().right),h=e.querySelector(`.handle__label--${i}`),m=e.querySelector(`.handle__label--${i}.static`),d=e.querySelector(`.handle__label--${i}.transformed`),u=this.getHostOffset(m.getBoundingClientRect().left,m.getBoundingClientRect().right),k=this.getFontSizeForElement(s),v=this.getRangeLabelOverlap(o,d),f=s,b=k/2;if(v>0){if(f.classList.add(l.hyphen,l.hyphenWrap),u===0&&n===0){let c=v/2-b;c=Math.sign(c)===-1?Math.abs(c):-c;let y=this.getHostOffset(o.getBoundingClientRect().left+c-b,o.getBoundingClientRect().right+c-b),V=v/2,M=this.getHostOffset(d.getBoundingClientRect().left+V,d.getBoundingClientRect().right+V);y!==0&&(c+=y,V+=y),M!==0&&(c+=M,V+=M),s.style.transform=`translateX(${c}px)`,o.style.transform=`translateX(${c-b}px)`,h.style.transform=`translateX(${V}px)`,d.style.transform=`translateX(${V}px)`}else if(n>0||u>0)s.style.transform=`translateX(${n+b}px)`,h.style.transform=`translateX(${v+u}px)`,d.style.transform=`translateX(${v+u}px)`;else if(n<0||u<0){let c=Math.abs(n)+v-b;c=Math.sign(c)===-1?Math.abs(c):-c,s.style.transform=`translateX(${c}px)`,o.style.transform=`translateX(${c-b}px)`}}else f.classList.remove(l.hyphen,l.hyphenWrap),s.style.transform=`translateX(${n}px)`,o.style.transform=`translateX(${n}px)`,h.style.transform=`translateX(${u}px)`,d.style.transform=`translateX(${u}px)`}hideObscuredBoundingTickLabels(){let e=p(this.value);if(!this.hasHistogram&&!e&&!this.labelHandles&&!this.precise||!this.hasHistogram&&!e&&this.labelHandles&&!this.precise||!this.hasHistogram&&!e&&!this.labelHandles&&this.precise||!this.hasHistogram&&!e&&this.labelHandles&&this.precise||!this.hasHistogram&&e&&!this.precise||this.hasHistogram&&!this.precise&&!this.labelHandles)return;let t=this.el.shadowRoot.querySelector(`.${l.thumbMinValue}`),a=this.el.shadowRoot.querySelector(`.${l.thumbValue}`),i=this.el.shadowRoot.querySelector(`.${l.tickMin}`),s=this.el.shadowRoot.querySelector(`.${l.tickMax}`);!t&&a&&i&&s&&(i.style.opacity=this.isMinTickLabelObscured(i,a)?"0":"1",s.style.opacity=this.isMaxTickLabelObscured(s,a)?"0":"1"),t&&a&&i&&s&&(i.style.opacity=this.isMinTickLabelObscured(i,t)||this.isMinTickLabelObscured(i,a)?"0":"1",s.style.opacity=this.isMaxTickLabelObscured(s,t)||this.isMaxTickLabelObscured(s,a)&&this.hasHistogram?"0":"1")}getHostOffset(e,t){let{left:a,right:i}=this.el.getBoundingClientRect();return e<a?a-e:t>i?-(t-i):0}getRangeLabelOverlap(e,t){let a=e.getBoundingClientRect(),i=t.getBoundingClientRect(),s=this.getFontSizeForElement(e),r=a.right+s-i.left;return Math.max(r,0)}isMinTickLabelObscured(e,t){let a=e.getBoundingClientRect(),i=t.getBoundingClientRect();return H(a,i)}isMaxTickLabelObscured(e,t){let a=e.getBoundingClientRect(),i=t.getBoundingClientRect();return H(a,i)}internalLabelFormatter(e,t){let a=this.labelFormatter;return a?a(e,t,this.formatValue)??this.formatValue(e):this.formatValue(e)}render(){let e=this.el.id||this.guid,t=p(this.value)?this.maxValue:this.value,a=this.minValue||this.min,i=this.shouldUseMinValue(),s=this.getUnitInterval(i?this.minValue:a)*100,r=this.getUnitInterval(t)*100,o=this.shouldMirror(),n=p(this.value),h=this.buildThumbType("max"),m=this.renderThumb({type:h,thumbPlacement:h.includes("histogram")?"below":"above",maxInterval:r,minInterval:s,mirror:o}),d=this.buildThumbType("min"),u=n?this.renderThumb({type:d,thumbPlacement:d.includes("histogram")||d.includes("precise")?"below":"above",maxInterval:r,minInterval:s,mirror:o}):null,k=n?"start":this.fillPlacement,v=k==="none"?{left:"unset",right:"unset"}:k==="end"?{left:`${o?s:r}%`,right:`${o?r:s}%`}:{left:`${o?100-r:s}%`,right:`${o?s:100-r}%`};return F(this.el,"id",e),j({disabled:this.disabled,children:x`<div aria-errormessage=${se.validationMessage} .ariaInvalid=${this.status==="invalid"} .ariaLabel=${Q(this)} class=${g({[l.container]:!0,[l.containerRange]:n,[`scale--${this.scale}`]:!0})}>${this.renderGraph()}<div class=${g(l.track)} ${R(this.storeTrackRef)}><div class=${g(l.trackRange)} @pointerdown=${this.onTrackPointerDown} style=${$(v)}></div><div class=${g(l.ticks)}>${this.tickValues.map(f=>{let b=`${this.getUnitInterval(f)*100}%`,c=!1;if(k==="start"||k==="end")if(i)c=f>=this.minValue&&f<=this.maxValue;else{let y=k==="start"?a:t,V=k==="start"?t:this.max;c=f>=y&&f<=V}return x`<span class=${g({[l.tick]:!0,[l.tickActive]:c})} style=${$({left:o?"":b,right:o?b:""})}>${this.renderTickLabel(f)}</span>`})}</div></div><div class=${g(l.thumbContainer)}>${u}${m}${te({component:this})}</div></div>${this.validationMessage&&this.status==="invalid"?ae({icon:this.validationIcon,id:se.validationMessage,message:this.validationMessage,scale:this.scale,status:this.status}):null}`})}renderThumb({type:e,mirror:t,thumbPlacement:a,minInterval:i,maxInterval:s}){let r=e.includes("labeled"),o=e.includes("precise"),n=e.includes("min"),h=p(this.value),m=n?this.minValue:h?this.maxValue:this.value,d=n?"minValue":h?"maxValue":"value",u=n?this.minLabel:h?this.maxLabel:this.minLabel,k=n?this.minValue:m,v=d==="minValue"?this.internalLabelFormatter(this.minValue,"min"):d==="maxValue"?this.internalLabelFormatter(this.maxValue,"max"):this.internalLabelFormatter(m,"value"),f=n?{left:`${t?100-i:i}%`}:{right:`${t?s:100-s}%`},b=`${l.handleLabel} ${n?l.handleLabelMinValue:l.handleLabelValue}`,c=[...r?[x`<span aria-hidden=true class=${g(b)}>${v}</span>`,x`<span aria-hidden=true class=${`${b} ${l.static}`}>${v}</span>`,x`<span aria-hidden=true class=${`${b} ${l.transformed}`}>${v}</span>`]:[],x`<div class=${g(l.handle)}></div>`,o&&x`<div class=${g(l.handleExtension)}></div>`||""];return a==="below"&&c.reverse(),B(e,x`<div .ariaLabel=${u} aria-orientation=horizontal .ariaValueMax=${this.max} .ariaValueMin=${this.min} .ariaValueNow=${k} class=${g({[l.thumb]:!0,[l.thumbValue]:!n,[l.thumbActive]:this.lastDragProp!=="minMaxValue"&&this.dragProp===d,[l.thumbPrecise]:o,[l.thumbMinValue]:n})} data-value-prop=${d??P} @blur=${this.onThumbBlur} @focus=${this.onThumbFocus} @pointerdown=${this.onThumbPointerDown} role=slider style=${$(f)} tabindex=0 ${R(this.storeThumbRef)}>${c}</div>`)}renderGraph(){return this.histogram?x`<calcite-graph class=${g(l.graph)} .colorStops=${this.histogramStops} .data=${this.histogram} .highlightMax=${p(this.value)?this.maxValue:this.value} .highlightMin=${p(this.value)?this.minValue:this.min} .max=${this.max} .min=${this.min}></calcite-graph>`:null}renderTickLabel(e){let{hasHistogram:t,labelHandles:a,labelTicks:i,max:s,min:r,precise:o,value:n}=this,h=p(n),m=e===r,d=e===s,u=m||d;return i&&(!t&&(u||!o||!h)||t&&(u||!o&&!a))?x`<span class=${g({[l.tickLabel]:!0,[l.tickMin]:m,[l.tickMax]:d})}>${this.internalLabelFormatter(e,"tick")}</span>`:null}};E("calcite-slider",D);export{D as Slider};
|