@esri/solutions-components 0.11.12 → 0.11.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +258 -49
- package/dist/cjs/buffer-tools_2.cjs.entry.js +122 -28
- package/dist/cjs/card-manager_3.cjs.entry.js +427 -98
- package/dist/cjs/consent-manager.cjs.entry.js +54 -12
- package/dist/cjs/create-feature_4.cjs.entry.js +247 -53
- package/dist/cjs/create-related-feature_3.cjs.entry.js +166 -35
- package/dist/cjs/crowdsource-manager.cjs.entry.js +247 -58
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +213 -52
- package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
- package/dist/cjs/delete-dialog.cjs.entry.js +37 -8
- package/dist/cjs/downloadUtils-1935500f.js +3223 -0
- package/dist/cjs/effects-3607d1ba.js +83 -0
- package/dist/cjs/feature-list.cjs.entry.js +95 -24
- package/dist/cjs/helpers-b511b55e.js +867 -0
- package/dist/cjs/index-b2821254.js +201 -0
- package/dist/cjs/index-b936ec03.js +1903 -0
- package/dist/cjs/index.es-3c2404c3.js +11195 -0
- package/dist/cjs/instant-apps-app-guide.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-control-panel.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-create.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-export-views.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-export.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-filter-list_2.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-header.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +20 -20
- package/dist/cjs/instant-apps-landing-page.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +826 -20
- package/dist/cjs/instant-apps-language-translator.cjs.entry.js +817 -10
- package/dist/cjs/instant-apps-measurement-tool.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-measurement.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-popover.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-popovers.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-sign-in.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-splash.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-time-filter.cjs.entry.js +5 -5
- package/dist/cjs/json-editor_7.cjs.entry.js +227 -49
- package/dist/cjs/languageSwitcher-19a22439.js +52 -0
- package/dist/cjs/loadModules-e9d8977c.js +23 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/locale-4187fc82.js +943 -0
- package/dist/cjs/locale-98346201.js +160 -0
- package/dist/cjs/map-layer-picker.cjs.entry.js +112 -27
- package/dist/cjs/map-select-tools_3.cjs.entry.js +229 -50
- package/dist/cjs/pci-calculator.cjs.entry.js +15 -2
- package/dist/cjs/popupUtils-c0921a77.js +121 -0
- package/dist/cjs/public-notification.cjs.entry.js +194 -44
- package/dist/cjs/publicNotificationStore-76755c44.js +47 -0
- package/dist/cjs/solution-configuration.cjs.entry.js +52 -17
- package/dist/cjs/solution-contents_3.cjs.entry.js +84 -18
- package/dist/cjs/solution-item-accordion.cjs.entry.js +39 -9
- package/dist/cjs/solution-item-icon.cjs.entry.js +18 -4
- 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 +45 -10
- package/dist/cjs/store-manager.cjs.entry.js +21 -6
- package/dist/cjs/utils-16dbc236.js +153 -0
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/basemap-gallery/basemap-gallery.js +19 -5
- package/dist/collection/components/buffer-tools/buffer-tools.js +52 -13
- package/dist/collection/components/card-manager/card-manager.js +71 -17
- package/dist/collection/components/consent-manager/consent-manager.js +52 -12
- package/dist/collection/components/create-feature/create-feature.js +68 -16
- package/dist/collection/components/create-related-feature/create-related-feature.js +44 -10
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +245 -58
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +211 -52
- package/dist/collection/components/delete-button/delete-button.js +55 -13
- package/dist/collection/components/delete-dialog/delete-dialog.js +35 -8
- package/dist/collection/components/edit-card/edit-card.js +43 -10
- package/dist/collection/components/feature-details/feature-details.js +70 -17
- package/dist/collection/components/feature-list/feature-list.js +91 -22
- package/dist/collection/components/floor-filter/floor-filter.js +19 -5
- package/dist/collection/components/info-card/info-card.js +77 -18
- package/dist/collection/components/json-editor/json-editor.js +28 -7
- package/dist/collection/components/layer-list/layer-list.js +50 -12
- package/dist/collection/components/layer-table/layer-table.js +171 -41
- package/dist/collection/components/map-card/map-card.js +182 -43
- package/dist/collection/components/map-draw-tools/map-draw-tools.js +66 -15
- package/dist/collection/components/map-fullscreen/map-fullscreen.js +18 -4
- package/dist/collection/components/map-layer-picker/map-layer-picker.js +108 -25
- package/dist/collection/components/map-legend/map-legend.js +15 -4
- package/dist/collection/components/map-picker/map-picker.js +35 -8
- package/dist/collection/components/map-search/map-search.js +35 -8
- package/dist/collection/components/map-select-tools/map-select-tools.js +138 -32
- package/dist/collection/components/map-tools/map-tools.js +115 -27
- package/dist/collection/components/pci-calculator/pci-calculator.js +14 -3
- package/dist/collection/components/pdf-download/pdf-download.js +27 -6
- package/dist/collection/components/public-notification/public-notification.js +189 -41
- package/dist/collection/components/refine-selection/refine-selection.js +59 -13
- package/dist/collection/components/solution-configuration/solution-configuration.js +48 -13
- package/dist/collection/components/solution-contents/solution-contents.js +13 -4
- package/dist/collection/components/solution-item/solution-item.js +36 -9
- package/dist/collection/components/solution-item-accordion/solution-item-accordion.css +0 -4
- package/dist/collection/components/solution-item-accordion/solution-item-accordion.js +36 -8
- package/dist/collection/components/solution-item-details/solution-item-details.js +35 -16
- package/dist/collection/components/solution-item-icon/solution-item-icon.js +17 -5
- package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +27 -6
- package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +24 -6
- package/dist/collection/components/solution-resource-item/solution-resource-item.js +36 -8
- package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +31 -7
- package/dist/collection/components/solution-template-data/solution-template-data.js +49 -8
- package/dist/collection/components/solution-variables/solution-variables.js +24 -6
- package/dist/collection/components/spatial-ref/spatial-ref.js +43 -8
- package/dist/collection/components/store-manager/store-manager.js +18 -5
- 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/assets/icon/crosshair16.json +1 -0
- package/dist/collection/vendor/calcite-components/assets/icon/crosshair24.json +1 -0
- package/dist/collection/vendor/calcite-components/assets/icon/crosshair32.json +1 -0
- package/dist/collection/vendor/calcite-components/assets/icon/utilityNetworkLayer16.json +1 -0
- package/dist/collection/vendor/calcite-components/assets/icon/utilityNetworkLayer24.json +1 -0
- package/dist/collection/vendor/calcite-components/assets/icon/utilityNetworkLayer32.json +1 -0
- package/dist/collection/vendor/calcite-components/calcite.esm.js +4 -6
- package/dist/components/basemap-gallery2.js +19 -3
- package/dist/components/buffer-tools2.js +52 -11
- package/dist/components/card-manager2.js +71 -15
- package/dist/components/consent-manager.js +52 -10
- package/dist/components/create-feature2.js +68 -14
- package/dist/components/create-related-feature2.js +44 -8
- package/dist/components/crowdsource-manager.js +245 -56
- package/dist/components/crowdsource-reporter.js +211 -50
- package/dist/components/delete-button2.js +55 -11
- package/dist/components/delete-dialog2.js +35 -6
- package/dist/components/edit-card2.js +43 -8
- package/dist/components/feature-details2.js +70 -15
- package/dist/components/feature-list2.js +91 -20
- package/dist/components/floor-filter2.js +19 -3
- package/dist/components/index.es.js +6 -5
- package/dist/components/info-card2.js +77 -16
- 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/json-editor2.js +28 -5
- package/dist/components/layer-list2.js +50 -10
- package/dist/components/layer-table2.js +171 -39
- package/dist/components/loadModules2.js +1 -1
- package/dist/components/map-card2.js +182 -41
- package/dist/components/map-draw-tools2.js +66 -13
- package/dist/components/map-fullscreen2.js +18 -2
- package/dist/components/map-layer-picker2.js +108 -23
- package/dist/components/map-legend2.js +15 -2
- package/dist/components/map-picker2.js +35 -6
- package/dist/components/map-search2.js +35 -6
- package/dist/components/map-select-tools2.js +138 -30
- package/dist/components/map-tools2.js +115 -25
- package/dist/components/pci-calculator.js +14 -1
- package/dist/components/pdf-download2.js +27 -4
- package/dist/components/public-notification.js +189 -39
- package/dist/components/refine-selection2.js +59 -11
- package/dist/components/solution-configuration.js +48 -13
- package/dist/components/solution-contents2.js +13 -2
- package/dist/components/solution-item-accordion.js +37 -7
- package/dist/components/solution-item-details2.js +35 -14
- package/dist/components/solution-item-icon2.js +17 -3
- package/dist/components/solution-item-sharing2.js +27 -4
- package/dist/components/solution-item2.js +36 -7
- package/dist/components/solution-organization-variables2.js +24 -4
- package/dist/components/solution-resource-item2.js +36 -6
- package/dist/components/solution-spatial-ref2.js +31 -5
- package/dist/components/solution-template-data2.js +49 -8
- package/dist/components/solution-variables2.js +24 -4
- package/dist/components/spatial-ref.js +43 -8
- package/dist/components/store-manager.js +18 -3
- package/dist/esm/basemap-gallery_7.entry.js +258 -49
- package/dist/esm/buffer-tools_2.entry.js +122 -28
- package/dist/esm/card-manager_3.entry.js +427 -98
- package/dist/esm/consent-manager.entry.js +54 -12
- package/dist/esm/create-feature_4.entry.js +247 -53
- package/dist/esm/create-related-feature_3.entry.js +166 -35
- package/dist/esm/crowdsource-manager.entry.js +247 -58
- package/dist/esm/crowdsource-reporter.entry.js +213 -52
- package/dist/esm/deduct-calculator.entry.js +1 -1
- package/dist/esm/delete-dialog.entry.js +37 -8
- package/dist/esm/downloadUtils-3f4d34a4.js +3217 -0
- package/dist/esm/effects-38bc1195.js +81 -0
- package/dist/esm/feature-list.entry.js +95 -24
- package/dist/esm/helpers-5df33e11.js +841 -0
- package/dist/esm/index-000c7a7c.js +1870 -0
- package/dist/esm/index-f7533fcc.js +199 -0
- package/dist/esm/index.es-87662946.js +11108 -0
- package/dist/esm/instant-apps-app-guide.entry.js +3 -3
- package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +5 -5
- package/dist/esm/instant-apps-control-panel.entry.js +2 -2
- package/dist/esm/instant-apps-create.entry.js +3 -3
- package/dist/esm/instant-apps-export-views.entry.js +3 -3
- package/dist/esm/instant-apps-export.entry.js +3 -3
- package/dist/esm/instant-apps-filter-list_2.entry.js +3 -3
- package/dist/esm/instant-apps-header.entry.js +1 -1
- package/dist/esm/instant-apps-interactive-legend-classic.entry.js +5 -5
- package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +5 -5
- package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +5 -5
- package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +5 -5
- package/dist/esm/instant-apps-interactive-legend.entry.js +6 -6
- package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +20 -20
- package/dist/esm/instant-apps-landing-page.entry.js +1 -1
- package/dist/esm/instant-apps-language-switcher.entry.js +820 -14
- package/dist/esm/instant-apps-language-translator.entry.js +813 -6
- package/dist/esm/instant-apps-measurement-tool.entry.js +2 -2
- package/dist/esm/instant-apps-measurement.entry.js +3 -3
- package/dist/esm/instant-apps-popover.entry.js +3 -3
- package/dist/esm/instant-apps-popovers.entry.js +1 -1
- package/dist/esm/instant-apps-scoreboard.entry.js +3 -3
- package/dist/esm/instant-apps-sign-in.entry.js +3 -3
- package/dist/esm/instant-apps-splash.entry.js +3 -3
- package/dist/esm/instant-apps-time-filter.entry.js +5 -5
- package/dist/esm/json-editor_7.entry.js +227 -49
- package/dist/esm/languageSwitcher-49bad3f4.js +49 -0
- package/dist/esm/loadModules-947ccfd4.js +21 -0
- package/dist/esm/loader.js +2 -2
- package/dist/esm/locale-857bb2e4.js +938 -0
- package/dist/esm/locale-fd7f8659.js +155 -0
- package/dist/esm/map-layer-picker.entry.js +112 -27
- package/dist/esm/map-select-tools_3.entry.js +229 -50
- package/dist/esm/pci-calculator.entry.js +15 -2
- package/dist/esm/popupUtils-43fafc2f.js +119 -0
- package/dist/esm/public-notification.entry.js +194 -44
- package/dist/esm/publicNotificationStore-e5306ea6.js +45 -0
- package/dist/esm/solution-configuration.entry.js +52 -17
- package/dist/esm/solution-contents_3.entry.js +84 -18
- package/dist/esm/solution-item-accordion.entry.js +39 -9
- package/dist/esm/solution-item-icon.entry.js +18 -4
- package/dist/esm/solution-store-26e3d8c6.js +1103 -0
- package/dist/esm/solutions-components.js +3 -3
- package/dist/esm/spatial-ref.entry.js +45 -10
- package/dist/esm/store-manager.entry.js +21 -6
- package/dist/esm/utils-ebba7c2e.js +142 -0
- package/dist/solutions-components/p-056d4371.entry.js +6 -0
- package/dist/solutions-components/p-0592d206.entry.js +6 -0
- package/dist/solutions-components/p-075979ef.js +36 -0
- package/dist/solutions-components/p-08ad0b7a.js +6 -0
- package/dist/solutions-components/p-0b974e3c.entry.js +6 -0
- package/dist/solutions-components/p-0db26b05.entry.js +6 -0
- package/dist/solutions-components/p-1309ac58.js +129 -0
- package/dist/solutions-components/p-174fa218.js +6 -0
- package/dist/solutions-components/p-193034c9.entry.js +6 -0
- package/dist/solutions-components/p-1a1791ae.entry.js +21 -0
- package/dist/solutions-components/p-1b6461c5.entry.js +6 -0
- package/dist/solutions-components/p-1e57a3bd.entry.js +6 -0
- package/dist/solutions-components/p-21b280a8.js +21 -0
- package/dist/solutions-components/p-2672ee69.entry.js +6 -0
- package/dist/solutions-components/p-2937baee.js +6 -0
- package/dist/solutions-components/p-3c1c2ca5.entry.js +11 -0
- package/dist/solutions-components/p-3d7eeb2d.js +488 -0
- package/dist/solutions-components/p-3de6e5d8.entry.js +6 -0
- package/dist/solutions-components/p-40578f4b.entry.js +6 -0
- package/dist/solutions-components/p-48fcfd06.entry.js +6 -0
- package/dist/solutions-components/p-4db43d2c.entry.js +6 -0
- package/dist/solutions-components/p-4e34c101.entry.js +6 -0
- package/dist/solutions-components/p-4f683af6.entry.js +6 -0
- package/dist/solutions-components/p-529325da.entry.js +6 -0
- package/dist/solutions-components/p-5c05f28a.entry.js +6 -0
- package/dist/solutions-components/p-5dfab24b.entry.js +6 -0
- package/dist/solutions-components/p-60bdf635.entry.js +6 -0
- package/dist/solutions-components/p-73ba31c4.entry.js +6 -0
- package/dist/solutions-components/p-7c958237.entry.js +6 -0
- package/dist/solutions-components/p-8169d4af.entry.js +6 -0
- package/dist/solutions-components/p-89cae891.entry.js +6 -0
- package/dist/solutions-components/p-89fbc318.js +6 -0
- package/dist/solutions-components/p-8c40bdec.js +7 -0
- package/dist/solutions-components/p-a5069229.entry.js +6 -0
- package/dist/solutions-components/p-a5073249.entry.js +6 -0
- package/dist/solutions-components/p-a5c51211.entry.js +6 -0
- package/dist/solutions-components/p-a940dc0c.entry.js +6 -0
- package/dist/solutions-components/p-b6422554.entry.js +6 -0
- package/dist/solutions-components/p-b67ff61f.entry.js +6 -0
- package/dist/solutions-components/p-b711a822.entry.js +6 -0
- package/dist/solutions-components/p-bf007c87.js +21 -0
- package/dist/solutions-components/p-c19c273f.entry.js +6 -0
- package/dist/solutions-components/p-c223bd87.js +6 -0
- package/dist/solutions-components/p-c25ebd5a.entry.js +6 -0
- package/dist/solutions-components/p-c63ce830.entry.js +6 -0
- package/dist/solutions-components/p-c691c1d1.entry.js +6 -0
- package/dist/solutions-components/p-c9e111d7.entry.js +6 -0
- package/dist/solutions-components/p-cc3e637d.entry.js +6 -0
- package/dist/solutions-components/p-d1d8e331.entry.js +6 -0
- package/dist/solutions-components/p-dc188d13.js +61 -0
- package/dist/solutions-components/p-ded33011.entry.js +6 -0
- package/dist/solutions-components/p-e133f9b2.entry.js +6 -0
- package/dist/solutions-components/p-e16bb956.entry.js +6 -0
- package/dist/solutions-components/p-e6158877.entry.js +6 -0
- package/dist/solutions-components/p-ea19f91b.js +6 -0
- package/dist/solutions-components/p-f1faec42.entry.js +6 -0
- package/dist/solutions-components/p-f24d6b3e.entry.js +6 -0
- package/dist/solutions-components/p-f71dc88a.entry.js +21 -0
- package/dist/solutions-components/p-f7c10b7f.entry.js +6 -0
- package/dist/solutions-components/p-fa639501.js +6 -0
- package/dist/solutions-components/p-fb4dfcbe.entry.js +6 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/vendor/calcite-components/2BGOXXHV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2EBGD5ZQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2HEEVITF.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2QBRISAS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2SKIGCTJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2ZPEMPPG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/36DTW2EC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/36E6CTNX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/36HITQ3A.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3FJPBCHI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3TINKPLC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3TXD2SW4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/43C4CZJO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/44DZGTF5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4IWRJJPT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4L6L5YMT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4NZHY4FQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4OSJHPNQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4ZNEZOAP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4ZTXEQT4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/57U74PDQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5BEKT6RT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5JAMHCQS.js +6 -0
- package/dist/solutions-components/vendor/calcite-components/5UP5TQJN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5VK77MGP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5ZFIOILW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/62G23PKY.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6A464LBG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6KXUZBIZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6OCJIDQZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6PBZNCIY.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6SREDGMN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/73K4GSAV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/757M5TSP.js +5 -0
- package/dist/solutions-components/vendor/calcite-components/7F6EUEAO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7GOGBJPD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7PLD33LH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7TNMI44V.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7VZFYJY5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7XZR3QPX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/A3M4FM7N.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/A5WZ32T6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/A6H6UTO7.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/AA6WUYLQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ADRZSXZD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/AKXBPGJ4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ALGCYGFE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/B3YKMJGM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/B6DZ4O5H.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/B747CT5Q.js +5 -0
- package/dist/solutions-components/vendor/calcite-components/BAHKYVUM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/BTHSKXWS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/BWCV737I.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/BZV465ZG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/C4A2PCZ4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/C5MKAGNV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/CK3TASCY.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/D2MINRBA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DDOM5RYZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DJ4JGNMM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DL75ZJBG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DO4RITGJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DSL2FNLA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DTEHSI7W.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DUTPXINY.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DY22I2GZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DYN74HSB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/E3CWAGXE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/E3QBKOQQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EBFZRB3A.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ECGXAEDQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EGC7NBN5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EILXZAAH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EISHHIYI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EN6Y5YN5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ERDL4UCD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EYPFBUR7.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/F6DYUGAJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FAQ7B73H.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FAULLEJY.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FH7G4JPL.js +28 -0
- package/dist/solutions-components/vendor/calcite-components/FHAH57CK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FHGZNYTT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FLXOWNYW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FVABUFOH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/G2JF63JV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/G63OZT6W.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GESC7PRY.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GIAH7CPN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GNZIY4A2.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GPNKRGK6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GSUR5POR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GY22257T.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/H2PEX7CU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/H2UMFA24.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/H7D6N2ZS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HALAA7KD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HHC7VSD3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HNGJKPNS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HQLH54Q4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HZLG5SUR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HZUKYZNP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/IHBCPOXF.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/IIERNP6W.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ILJVRQHM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/IQTGVLQG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/IRW4MFB4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/J4KGM5S7.js +5 -0
- package/dist/solutions-components/vendor/calcite-components/JCQBVDTR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JCZIZMKQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JE5DGAJR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JL7OLH3T.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JTWLPIB2.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/K53JENHF.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/K5ODBKLP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KC4IYMUL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KE7WVOAV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KGJ4OJVP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KI2CJ7JL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KNE7ABCR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KOFGYSC5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KOH6G4XV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KRO7CG2Q.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KRZW2DWF.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KSFXKRML.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KTJZCONU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KXJRCIPX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/L5DK3NJQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LEAJPPH4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LKNGKUUT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LLYFYC3S.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LLYVXFI4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LMPMNF4U.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LNUDHR7T.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LRXQU7WR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MDS5OEJ4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MEXPAXRW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MI3K57KT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MIOMFK6B.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MJII73PP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MJIKLRLZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MQSDYLGW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MWJLXQ5U.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/N2PDJVSE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NERFG233.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NIUBMFXO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NK25FAZ6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NK4ED4IH.js +5 -0
- package/dist/solutions-components/vendor/calcite-components/NOJTDKA6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NUY7EYNX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NWA7UYBI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NWNWCSUO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NYJ2KJKN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/O6RKIBH2.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/OP2QHRHR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/P5ZVYEQW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/P6BFNJVU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/P6VB45CQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/PNTWJB75.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/PTUZR2XV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QBNHVQWS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QD6WQCPN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QEBXFL3K.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QNRLRRZZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QTGKBVAW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QVLHSABE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RATZT6K7.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RAWIO5CJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RC4M4Q6U.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ROTKUEC4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RRR3UCDP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RXJQR5VC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RYBJ6HQX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/S2CHZ5WW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/S5QILLXK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/S5WUGWLI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SLILJOTA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SZIQPAWB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/T2EFD7MK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/TJ6U6Y2A.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/TRXE64SN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/TVXUNVVJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/TZPOTIWO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/UKOMGWYV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ULI2WHN6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/UPO2OA2C.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/V7QQRUYR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VA6SEF3H.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VCGYS6AC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VHIVTMYL.js +22 -0
- package/dist/solutions-components/vendor/calcite-components/VIFJTMJE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VKUXTBMA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VYBRMYZA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VYSYUSUT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WHQERKO3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WLKZ6TCC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WRRV2226.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/X5OT5VWP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/X7WD2RXW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XGGCYCLU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XJUGTTYP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XK6ESUWM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XODNGXTR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XP22SQKN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XUCLKKAR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XWO5T62V.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XY7DR573.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/Y4WWNYQO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YF3UCGCR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YH3WSHXS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YOI4NTGG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YP2GEKXK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YQDF2N5J.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YRCGG4BE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YTSHEMU3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YUQIXR5A.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZAY3SU5H.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZFGK5MNZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZITAONDY.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZLW5U3G6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZNMXPSOQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZSLV2NNR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/assets/icon/crosshair16.json +1 -0
- package/dist/solutions-components/vendor/calcite-components/assets/icon/crosshair24.json +1 -0
- package/dist/solutions-components/vendor/calcite-components/assets/icon/crosshair32.json +1 -0
- package/dist/solutions-components/vendor/calcite-components/assets/icon/utilityNetworkLayer16.json +1 -0
- package/dist/solutions-components/vendor/calcite-components/assets/icon/utilityNetworkLayer24.json +1 -0
- package/dist/solutions-components/vendor/calcite-components/assets/icon/utilityNetworkLayer32.json +1 -0
- package/dist/solutions-components/vendor/calcite-components/calcite.esm.js +4 -6
- package/dist/solutions-components_commit.txt +6 -6
- package/package.json +2 -2
- package/dist/cjs/constants-bed33322.js +0 -860
- package/dist/cjs/downloadUtils-9ce90176.js +0 -3223
- package/dist/cjs/effects-fdd163a9.js +0 -83
- package/dist/cjs/helpers-6a222aa7.js +0 -867
- package/dist/cjs/index-af14245a.js +0 -1828
- package/dist/cjs/index-ffd12cb0.js +0 -201
- package/dist/cjs/index.es-6549e26a.js +0 -11194
- package/dist/cjs/loadModules-df8b13ca.js +0 -23
- package/dist/cjs/locale-1c60be9c.js +0 -160
- package/dist/cjs/locale-2dd3020a.js +0 -943
- package/dist/cjs/popupUtils-93b14f86.js +0 -121
- package/dist/cjs/publicNotificationStore-beb782de.js +0 -47
- package/dist/cjs/solution-store-3cf25b71.js +0 -1105
- package/dist/cjs/utils-53383d03.js +0 -153
- package/dist/collection/vendor/calcite-components/2OHLWTVV.js +0 -6
- package/dist/collection/vendor/calcite-components/2YNPAPXX.js +0 -6
- package/dist/collection/vendor/calcite-components/3MV46GBB.js +0 -6
- package/dist/collection/vendor/calcite-components/3OQ2ZMWE.js +0 -6
- package/dist/collection/vendor/calcite-components/3VYZVKRG.js +0 -6
- package/dist/collection/vendor/calcite-components/3YAQ3WXL.js +0 -6
- package/dist/collection/vendor/calcite-components/3YMYDWGD.js +0 -6
- package/dist/collection/vendor/calcite-components/4BBHRHVO.js +0 -6
- package/dist/collection/vendor/calcite-components/4Y32YCMF.js +0 -6
- package/dist/collection/vendor/calcite-components/52M672S5.js +0 -6
- package/dist/collection/vendor/calcite-components/5DHYCNO3.js +0 -6
- package/dist/collection/vendor/calcite-components/5MCURGUM.js +0 -6
- package/dist/collection/vendor/calcite-components/5O6ZNC7G.js +0 -6
- package/dist/collection/vendor/calcite-components/5RROROO5.js +0 -6
- package/dist/collection/vendor/calcite-components/5WC57GPQ.js +0 -6
- package/dist/collection/vendor/calcite-components/5WSY45L7.js +0 -6
- package/dist/collection/vendor/calcite-components/5XKYFEBC.js +0 -6
- package/dist/collection/vendor/calcite-components/66KPC4YV.js +0 -6
- package/dist/collection/vendor/calcite-components/67MILQAM.js +0 -6
- package/dist/collection/vendor/calcite-components/67YJME3J.js +0 -7
- package/dist/collection/vendor/calcite-components/6BG6DXGU.js +0 -6
- package/dist/collection/vendor/calcite-components/6J7J7RFI.js +0 -6
- package/dist/collection/vendor/calcite-components/6KJHPKLM.js +0 -6
- package/dist/collection/vendor/calcite-components/6LBWQVLS.js +0 -6
- package/dist/collection/vendor/calcite-components/6LOB5NKS.js +0 -6
- package/dist/collection/vendor/calcite-components/74AHNYT6.js +0 -6
- package/dist/collection/vendor/calcite-components/75LS6AUK.js +0 -6
- package/dist/collection/vendor/calcite-components/7AC4OZRT.js +0 -6
- package/dist/collection/vendor/calcite-components/7CTQOYNN.js +0 -6
- package/dist/collection/vendor/calcite-components/7IMTQM3A.js +0 -6
- package/dist/collection/vendor/calcite-components/7NNFVP5Y.js +0 -6
- package/dist/collection/vendor/calcite-components/7PLH76D5.js +0 -6
- package/dist/collection/vendor/calcite-components/7SRUH72U.js +0 -6
- package/dist/collection/vendor/calcite-components/7WIMMB52.js +0 -6
- package/dist/collection/vendor/calcite-components/A3TZO3T4.js +0 -6
- package/dist/collection/vendor/calcite-components/A4JSLISH.js +0 -7
- package/dist/collection/vendor/calcite-components/A77L2PAE.js +0 -6
- package/dist/collection/vendor/calcite-components/AAJZVCOQ.js +0 -6
- package/dist/collection/vendor/calcite-components/AK7JTREX.js +0 -6
- package/dist/collection/vendor/calcite-components/APJDJGRX.js +0 -6
- package/dist/collection/vendor/calcite-components/B7XAXKYO.js +0 -6
- package/dist/collection/vendor/calcite-components/B7YRQCNE.js +0 -6
- package/dist/collection/vendor/calcite-components/BAAOO7UE.js +0 -6
- package/dist/collection/vendor/calcite-components/BKJX2UVI.js +0 -6
- package/dist/collection/vendor/calcite-components/BMTT77MQ.js +0 -6
- package/dist/collection/vendor/calcite-components/BMULWGQL.js +0 -6
- package/dist/collection/vendor/calcite-components/BOOD43TE.js +0 -6
- package/dist/collection/vendor/calcite-components/BT6BGDUQ.js +0 -6
- package/dist/collection/vendor/calcite-components/C4BI2I6X.js +0 -6
- package/dist/collection/vendor/calcite-components/CARSEP6Y.js +0 -6
- package/dist/collection/vendor/calcite-components/CARUWMRC.js +0 -6
- package/dist/collection/vendor/calcite-components/CGP5NAVZ.js +0 -6
- package/dist/collection/vendor/calcite-components/CHPU2ORW.js +0 -6
- package/dist/collection/vendor/calcite-components/CKCZ6NNQ.js +0 -6
- package/dist/collection/vendor/calcite-components/CLWQ573O.js +0 -6
- package/dist/collection/vendor/calcite-components/COVTDEEB.js +0 -6
- package/dist/collection/vendor/calcite-components/CSDMYGZU.js +0 -6
- package/dist/collection/vendor/calcite-components/CSR5Q44Q.js +0 -6
- package/dist/collection/vendor/calcite-components/CWDZ4NQP.js +0 -6
- package/dist/collection/vendor/calcite-components/D7V3NS2J.js +0 -6
- package/dist/collection/vendor/calcite-components/DHITRFFR.js +0 -6
- package/dist/collection/vendor/calcite-components/DL6GCZF7.js +0 -6
- package/dist/collection/vendor/calcite-components/DPLQUB7Z.js +0 -6
- package/dist/collection/vendor/calcite-components/DQWJPC22.js +0 -6
- package/dist/collection/vendor/calcite-components/DRM7BNH3.js +0 -6
- package/dist/collection/vendor/calcite-components/DWIP44NC.js +0 -6
- package/dist/collection/vendor/calcite-components/E3RER5S3.js +0 -6
- package/dist/collection/vendor/calcite-components/ECWNOIEW.js +0 -6
- package/dist/collection/vendor/calcite-components/EPKORG4B.js +0 -6
- package/dist/collection/vendor/calcite-components/ERE76CER.js +0 -6
- package/dist/collection/vendor/calcite-components/EU5GIDX7.js +0 -6
- package/dist/collection/vendor/calcite-components/FB6NATRQ.js +0 -6
- package/dist/collection/vendor/calcite-components/FHAIE7PW.js +0 -6
- package/dist/collection/vendor/calcite-components/FITCS5RA.js +0 -6
- package/dist/collection/vendor/calcite-components/FJUGYL5W.js +0 -6
- package/dist/collection/vendor/calcite-components/FP5CKCOM.js +0 -6
- package/dist/collection/vendor/calcite-components/FQ6G6HKC.js +0 -6
- package/dist/collection/vendor/calcite-components/FQTOWUOI.js +0 -6
- package/dist/collection/vendor/calcite-components/FSBJYIK7.js +0 -6
- package/dist/collection/vendor/calcite-components/FUR5QRYV.js +0 -6
- package/dist/collection/vendor/calcite-components/FV5F4TOB.js +0 -30
- package/dist/collection/vendor/calcite-components/GHRW2Z4J.js +0 -6
- package/dist/collection/vendor/calcite-components/GKLGNYAX.js +0 -6
- package/dist/collection/vendor/calcite-components/GRGOLBJ6.js +0 -6
- package/dist/collection/vendor/calcite-components/H2QNORW6.js +0 -6
- package/dist/collection/vendor/calcite-components/H6JENZS2.js +0 -6
- package/dist/collection/vendor/calcite-components/HE6ZJBOG.js +0 -6
- package/dist/collection/vendor/calcite-components/HEYQRNVV.js +0 -6
- package/dist/collection/vendor/calcite-components/HJ7LTJIL.js +0 -6
- package/dist/collection/vendor/calcite-components/HUXUCABV.js +0 -6
- package/dist/collection/vendor/calcite-components/HVG3FNW6.js +0 -6
- package/dist/collection/vendor/calcite-components/I5RDDH5E.js +0 -6
- package/dist/collection/vendor/calcite-components/IGLINVEB.js +0 -6
- package/dist/collection/vendor/calcite-components/IH6XHUKC.js +0 -6
- package/dist/collection/vendor/calcite-components/IN4OTIGO.js +0 -6
- package/dist/collection/vendor/calcite-components/IOQ5NGFA.js +0 -6
- package/dist/collection/vendor/calcite-components/ITIJ42U7.js +0 -6
- package/dist/collection/vendor/calcite-components/ITILALYC.js +0 -6
- package/dist/collection/vendor/calcite-components/J3NSY2Y7.js +0 -6
- package/dist/collection/vendor/calcite-components/J4RAJYKF.js +0 -6
- package/dist/collection/vendor/calcite-components/J6IGXQYQ.js +0 -6
- package/dist/collection/vendor/calcite-components/JA2ML5I6.js +0 -6
- package/dist/collection/vendor/calcite-components/JOTIQZAS.js +0 -6
- package/dist/collection/vendor/calcite-components/JULIKI65.js +0 -6
- package/dist/collection/vendor/calcite-components/JW6QBCWN.js +0 -6
- package/dist/collection/vendor/calcite-components/JWIQZFGO.js +0 -6
- package/dist/collection/vendor/calcite-components/K4HQ6WGE.js +0 -6
- package/dist/collection/vendor/calcite-components/K4OPLD7F.js +0 -6
- package/dist/collection/vendor/calcite-components/KHULIKKP.js +0 -7
- package/dist/collection/vendor/calcite-components/KRZMNBJS.js +0 -6
- package/dist/collection/vendor/calcite-components/LDAXCWWP.js +0 -6
- package/dist/collection/vendor/calcite-components/LMRFYM2J.js +0 -6
- package/dist/collection/vendor/calcite-components/LSUXEOMN.js +0 -6
- package/dist/collection/vendor/calcite-components/M5BOCCQL.js +0 -6
- package/dist/collection/vendor/calcite-components/M5XI6NNV.js +0 -6
- package/dist/collection/vendor/calcite-components/M7MOBM7M.js +0 -6
- package/dist/collection/vendor/calcite-components/MA2YIQZL.js +0 -6
- package/dist/collection/vendor/calcite-components/MBJAGWVS.js +0 -6
- package/dist/collection/vendor/calcite-components/MI3BWAKN.js +0 -6
- package/dist/collection/vendor/calcite-components/MOO4BCRV.js +0 -6
- package/dist/collection/vendor/calcite-components/MVHJMI6L.js +0 -6
- package/dist/collection/vendor/calcite-components/MZRLL3GR.js +0 -6
- package/dist/collection/vendor/calcite-components/N2FZGLE3.js +0 -6
- package/dist/collection/vendor/calcite-components/N2UM5A2L.js +0 -6
- package/dist/collection/vendor/calcite-components/NNL2N4OB.js +0 -6
- package/dist/collection/vendor/calcite-components/NP3SY2AL.js +0 -6
- package/dist/collection/vendor/calcite-components/NPYZ3JS7.js +0 -6
- package/dist/collection/vendor/calcite-components/NS47CSEP.js +0 -6
- package/dist/collection/vendor/calcite-components/NSL6XZ2B.js +0 -6
- package/dist/collection/vendor/calcite-components/NW4BVBVD.js +0 -6
- package/dist/collection/vendor/calcite-components/O66NAEPJ.js +0 -6
- package/dist/collection/vendor/calcite-components/OA55VNGP.js +0 -6
- package/dist/collection/vendor/calcite-components/OHEBCS4O.js +0 -6
- package/dist/collection/vendor/calcite-components/OI755RA3.js +0 -6
- package/dist/collection/vendor/calcite-components/OUC47AKY.js +0 -6
- package/dist/collection/vendor/calcite-components/PIOS7EUM.js +0 -6
- package/dist/collection/vendor/calcite-components/PJPFKU6T.js +0 -6
- package/dist/collection/vendor/calcite-components/PJT7DMRY.js +0 -6
- package/dist/collection/vendor/calcite-components/QDTRI7C7.js +0 -6
- package/dist/collection/vendor/calcite-components/QIG2J5PE.js +0 -6
- package/dist/collection/vendor/calcite-components/QO6KDHE7.js +0 -6
- package/dist/collection/vendor/calcite-components/QP3WP6XK.js +0 -6
- package/dist/collection/vendor/calcite-components/QRMUPTEN.js +0 -6
- package/dist/collection/vendor/calcite-components/QS2H5WWV.js +0 -7
- package/dist/collection/vendor/calcite-components/QSXIXUQG.js +0 -6
- package/dist/collection/vendor/calcite-components/R4UWD64I.js +0 -6
- package/dist/collection/vendor/calcite-components/R6R2QDCZ.js +0 -6
- package/dist/collection/vendor/calcite-components/R7BOWUQR.js +0 -6
- package/dist/collection/vendor/calcite-components/RBX4II3R.js +0 -6
- package/dist/collection/vendor/calcite-components/RGXKBYDS.js +0 -6
- package/dist/collection/vendor/calcite-components/RIG4ZWVJ.js +0 -6
- package/dist/collection/vendor/calcite-components/RM7DO3WC.js +0 -6
- package/dist/collection/vendor/calcite-components/RM7JYDOG.js +0 -6
- package/dist/collection/vendor/calcite-components/RS3QB5Z6.js +0 -6
- package/dist/collection/vendor/calcite-components/RTNOQY3F.js +0 -6
- package/dist/collection/vendor/calcite-components/RXFQEBLZ.js +0 -6
- package/dist/collection/vendor/calcite-components/S72C3HDO.js +0 -6
- package/dist/collection/vendor/calcite-components/SCVHHYPP.js +0 -6
- package/dist/collection/vendor/calcite-components/SH3ZYF5Y.js +0 -6
- package/dist/collection/vendor/calcite-components/SLRX7WEV.js +0 -6
- package/dist/collection/vendor/calcite-components/SQBCUXGV.js +0 -6
- package/dist/collection/vendor/calcite-components/SUMUVN3S.js +0 -6
- package/dist/collection/vendor/calcite-components/SUOP4NP6.js +0 -6
- package/dist/collection/vendor/calcite-components/SV2NJMD7.js +0 -6
- package/dist/collection/vendor/calcite-components/T5H4BCFU.js +0 -6
- package/dist/collection/vendor/calcite-components/T5XJU6AI.js +0 -24
- package/dist/collection/vendor/calcite-components/T6NZYTYO.js +0 -6
- package/dist/collection/vendor/calcite-components/TEFAP3AK.js +0 -6
- package/dist/collection/vendor/calcite-components/TEGL7RHQ.js +0 -6
- package/dist/collection/vendor/calcite-components/TGH5IJQY.js +0 -6
- package/dist/collection/vendor/calcite-components/TGYJTTJS.js +0 -6
- package/dist/collection/vendor/calcite-components/TITRCHWJ.js +0 -6
- package/dist/collection/vendor/calcite-components/TRYKNJDA.js +0 -6
- package/dist/collection/vendor/calcite-components/TYYR7NIL.js +0 -8
- package/dist/collection/vendor/calcite-components/TZEZTECF.js +0 -6
- package/dist/collection/vendor/calcite-components/U2E5SVFR.js +0 -6
- package/dist/collection/vendor/calcite-components/U5VSHGIS.js +0 -6
- package/dist/collection/vendor/calcite-components/U64XMC5X.js +0 -6
- package/dist/collection/vendor/calcite-components/UK4SFYVV.js +0 -6
- package/dist/collection/vendor/calcite-components/UKF62PNM.js +0 -6
- package/dist/collection/vendor/calcite-components/UOL6J47W.js +0 -6
- package/dist/collection/vendor/calcite-components/UV7H22PE.js +0 -6
- package/dist/collection/vendor/calcite-components/UXOOSEIU.js +0 -6
- package/dist/collection/vendor/calcite-components/UXZ36VC5.js +0 -6
- package/dist/collection/vendor/calcite-components/UY67UAZN.js +0 -6
- package/dist/collection/vendor/calcite-components/VFBARPZ3.js +0 -6
- package/dist/collection/vendor/calcite-components/VGYCDODV.js +0 -6
- package/dist/collection/vendor/calcite-components/VHXHAFDO.js +0 -6
- package/dist/collection/vendor/calcite-components/VN2EAAQF.js +0 -6
- package/dist/collection/vendor/calcite-components/VOECRNMH.js +0 -6
- package/dist/collection/vendor/calcite-components/VQRNTTAX.js +0 -6
- package/dist/collection/vendor/calcite-components/VVXJONZL.js +0 -6
- package/dist/collection/vendor/calcite-components/W5CGAHOI.js +0 -6
- package/dist/collection/vendor/calcite-components/WA7LZURK.js +0 -6
- package/dist/collection/vendor/calcite-components/WAAS66H6.js +0 -6
- package/dist/collection/vendor/calcite-components/WAE55O4U.js +0 -6
- package/dist/collection/vendor/calcite-components/WAXI7XKE.js +0 -6
- package/dist/collection/vendor/calcite-components/WEFAANMG.js +0 -6
- package/dist/collection/vendor/calcite-components/WH772PDM.js +0 -6
- package/dist/collection/vendor/calcite-components/X43KWDQ7.js +0 -6
- package/dist/collection/vendor/calcite-components/X5W76SNV.js +0 -6
- package/dist/collection/vendor/calcite-components/X6IC7EBC.js +0 -6
- package/dist/collection/vendor/calcite-components/XBYWX3OD.js +0 -6
- package/dist/collection/vendor/calcite-components/XIJN5ZXM.js +0 -6
- package/dist/collection/vendor/calcite-components/XKQ2CMVV.js +0 -6
- package/dist/collection/vendor/calcite-components/YBQG5R2L.js +0 -6
- package/dist/collection/vendor/calcite-components/YHWNAASP.js +0 -6
- package/dist/collection/vendor/calcite-components/YMNUCKVA.js +0 -6
- package/dist/collection/vendor/calcite-components/YMR2Q5CU.js +0 -6
- package/dist/collection/vendor/calcite-components/YNGSTQ4R.js +0 -6
- package/dist/collection/vendor/calcite-components/YP2D5DKM.js +0 -6
- package/dist/collection/vendor/calcite-components/YPRJFE6R.js +0 -6
- package/dist/collection/vendor/calcite-components/YVIEKCN2.js +0 -6
- package/dist/collection/vendor/calcite-components/YWM7TWVP.js +0 -6
- package/dist/collection/vendor/calcite-components/YZ3FOSUR.js +0 -6
- package/dist/collection/vendor/calcite-components/YZG67JHT.js +0 -6
- package/dist/collection/vendor/calcite-components/ZBSXA5F6.js +0 -6
- package/dist/collection/vendor/calcite-components/ZFAXCWF5.js +0 -6
- package/dist/collection/vendor/calcite-components/ZFKXMQJP.js +0 -6
- package/dist/collection/vendor/calcite-components/ZK7O524P.js +0 -6
- package/dist/collection/vendor/calcite-components/ZKNKPGVW.js +0 -6
- package/dist/collection/vendor/calcite-components/ZLFRGGT3.js +0 -6
- package/dist/esm/constants-637a40f5.js +0 -856
- package/dist/esm/downloadUtils-1179f077.js +0 -3217
- package/dist/esm/effects-d42ccf96.js +0 -81
- package/dist/esm/helpers-bd1ff401.js +0 -841
- package/dist/esm/index-c247b62b.js +0 -199
- package/dist/esm/index-df5db8e9.js +0 -1795
- package/dist/esm/index.es-6b399444.js +0 -11107
- package/dist/esm/loadModules-d5a25252.js +0 -21
- package/dist/esm/locale-4744c8a4.js +0 -938
- package/dist/esm/locale-7874c756.js +0 -155
- package/dist/esm/popupUtils-cfe51dfd.js +0 -119
- package/dist/esm/publicNotificationStore-9ec5e22a.js +0 -45
- package/dist/esm/solution-store-4c39c654.js +0 -1103
- package/dist/esm/utils-04fffcaf.js +0 -142
- package/dist/solutions-components/p-1d1d7e63.entry.js +0 -6
- package/dist/solutions-components/p-28858c2f.entry.js +0 -6
- package/dist/solutions-components/p-2a16aa29.entry.js +0 -6
- package/dist/solutions-components/p-30ea587b.entry.js +0 -6
- package/dist/solutions-components/p-318f5c87.entry.js +0 -6
- package/dist/solutions-components/p-3335285a.js +0 -21
- package/dist/solutions-components/p-33d03eb9.entry.js +0 -6
- package/dist/solutions-components/p-34b50565.entry.js +0 -6
- package/dist/solutions-components/p-37ae171f.entry.js +0 -6
- package/dist/solutions-components/p-37fe59a0.entry.js +0 -6
- package/dist/solutions-components/p-38814554.entry.js +0 -6
- package/dist/solutions-components/p-3f14b242.entry.js +0 -6
- package/dist/solutions-components/p-3f83917b.entry.js +0 -6
- package/dist/solutions-components/p-404cbf48.js +0 -36
- package/dist/solutions-components/p-4695cfab.js +0 -6
- package/dist/solutions-components/p-48242dd4.js +0 -61
- package/dist/solutions-components/p-4b98adf3.entry.js +0 -6
- package/dist/solutions-components/p-552fb1c0.entry.js +0 -6
- package/dist/solutions-components/p-6369b974.entry.js +0 -6
- package/dist/solutions-components/p-648b5a9e.js +0 -6
- package/dist/solutions-components/p-64a6162f.entry.js +0 -6
- package/dist/solutions-components/p-64f814dd.entry.js +0 -6
- package/dist/solutions-components/p-6f4e5c19.entry.js +0 -6
- package/dist/solutions-components/p-72d04c7a.entry.js +0 -11
- package/dist/solutions-components/p-7dc7d3dc.entry.js +0 -6
- package/dist/solutions-components/p-7dc95675.js +0 -6
- package/dist/solutions-components/p-80262cb7.js +0 -6
- package/dist/solutions-components/p-83ba1288.entry.js +0 -6
- package/dist/solutions-components/p-8585c128.entry.js +0 -6
- package/dist/solutions-components/p-8717729a.js +0 -6
- package/dist/solutions-components/p-8d281f47.js +0 -488
- package/dist/solutions-components/p-95d1c104.entry.js +0 -6
- package/dist/solutions-components/p-97f33e9f.js +0 -6
- package/dist/solutions-components/p-980d9473.entry.js +0 -6
- package/dist/solutions-components/p-9e3a40bc.entry.js +0 -6
- package/dist/solutions-components/p-b536e583.entry.js +0 -21
- package/dist/solutions-components/p-bc8d8128.entry.js +0 -6
- package/dist/solutions-components/p-be16bc80.entry.js +0 -6
- package/dist/solutions-components/p-c2e57b81.entry.js +0 -6
- package/dist/solutions-components/p-c50ff9f1.entry.js +0 -6
- package/dist/solutions-components/p-c9686e6c.entry.js +0 -6
- package/dist/solutions-components/p-d001e961.js +0 -6
- package/dist/solutions-components/p-d099573a.entry.js +0 -6
- package/dist/solutions-components/p-d1551601.entry.js +0 -6
- package/dist/solutions-components/p-d324196d.entry.js +0 -6
- package/dist/solutions-components/p-d59fb1a7.entry.js +0 -6
- package/dist/solutions-components/p-da1e098c.js +0 -129
- package/dist/solutions-components/p-dafc6680.entry.js +0 -6
- package/dist/solutions-components/p-dc704bc6.entry.js +0 -6
- package/dist/solutions-components/p-e3e35c14.entry.js +0 -6
- package/dist/solutions-components/p-e43c8944.entry.js +0 -21
- package/dist/solutions-components/p-e5cb329f.entry.js +0 -6
- package/dist/solutions-components/p-e6859850.js +0 -21
- package/dist/solutions-components/p-e996c38f.js +0 -7
- package/dist/solutions-components/p-ea09b078.entry.js +0 -6
- package/dist/solutions-components/p-ed443a0b.entry.js +0 -6
- package/dist/solutions-components/p-ee3bb943.entry.js +0 -6
- package/dist/solutions-components/p-f0b1b6f6.entry.js +0 -6
- package/dist/solutions-components/p-f9deadd7.entry.js +0 -6
- package/dist/solutions-components/p-fe9b2c74.entry.js +0 -6
- package/dist/solutions-components/p-ffe1e3a3.entry.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/2OHLWTVV.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/2YNPAPXX.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/3MV46GBB.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/3OQ2ZMWE.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/3VYZVKRG.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/3YAQ3WXL.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/3YMYDWGD.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/4BBHRHVO.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/4Y32YCMF.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/52M672S5.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/5DHYCNO3.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/5MCURGUM.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/5O6ZNC7G.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/5RROROO5.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/5WC57GPQ.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/5WSY45L7.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/5XKYFEBC.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/66KPC4YV.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/67MILQAM.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/67YJME3J.js +0 -7
- package/dist/solutions-components/vendor/calcite-components/6BG6DXGU.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/6J7J7RFI.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/6KJHPKLM.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/6LBWQVLS.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/6LOB5NKS.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/74AHNYT6.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/75LS6AUK.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/7AC4OZRT.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/7CTQOYNN.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/7IMTQM3A.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/7NNFVP5Y.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/7PLH76D5.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/7SRUH72U.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/7WIMMB52.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/A3TZO3T4.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/A4JSLISH.js +0 -7
- package/dist/solutions-components/vendor/calcite-components/A77L2PAE.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/AAJZVCOQ.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/AK7JTREX.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/APJDJGRX.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/B7XAXKYO.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/B7YRQCNE.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/BAAOO7UE.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/BKJX2UVI.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/BMTT77MQ.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/BMULWGQL.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/BOOD43TE.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/BT6BGDUQ.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/C4BI2I6X.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/CARSEP6Y.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/CARUWMRC.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/CGP5NAVZ.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/CHPU2ORW.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/CKCZ6NNQ.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/CLWQ573O.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/COVTDEEB.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/CSDMYGZU.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/CSR5Q44Q.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/CWDZ4NQP.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/D7V3NS2J.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/DHITRFFR.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/DL6GCZF7.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/DPLQUB7Z.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/DQWJPC22.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/DRM7BNH3.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/DWIP44NC.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/E3RER5S3.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/ECWNOIEW.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/EPKORG4B.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/ERE76CER.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/EU5GIDX7.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/FB6NATRQ.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/FHAIE7PW.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/FITCS5RA.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/FJUGYL5W.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/FP5CKCOM.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/FQ6G6HKC.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/FQTOWUOI.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/FSBJYIK7.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/FUR5QRYV.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/FV5F4TOB.js +0 -30
- package/dist/solutions-components/vendor/calcite-components/GHRW2Z4J.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/GKLGNYAX.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/GRGOLBJ6.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/H2QNORW6.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/H6JENZS2.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/HE6ZJBOG.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/HEYQRNVV.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/HJ7LTJIL.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/HUXUCABV.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/HVG3FNW6.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/I5RDDH5E.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/IGLINVEB.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/IH6XHUKC.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/IN4OTIGO.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/IOQ5NGFA.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/ITIJ42U7.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/ITILALYC.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/J3NSY2Y7.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/J4RAJYKF.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/J6IGXQYQ.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/JA2ML5I6.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/JOTIQZAS.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/JULIKI65.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/JW6QBCWN.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/JWIQZFGO.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/K4HQ6WGE.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/K4OPLD7F.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/KHULIKKP.js +0 -7
- package/dist/solutions-components/vendor/calcite-components/KRZMNBJS.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/LDAXCWWP.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/LMRFYM2J.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/LSUXEOMN.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/M5BOCCQL.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/M5XI6NNV.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/M7MOBM7M.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/MA2YIQZL.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/MBJAGWVS.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/MI3BWAKN.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/MOO4BCRV.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/MVHJMI6L.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/MZRLL3GR.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/N2FZGLE3.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/N2UM5A2L.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/NNL2N4OB.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/NP3SY2AL.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/NPYZ3JS7.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/NS47CSEP.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/NSL6XZ2B.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/NW4BVBVD.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/O66NAEPJ.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/OA55VNGP.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/OHEBCS4O.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/OI755RA3.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/OUC47AKY.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/PIOS7EUM.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/PJPFKU6T.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/PJT7DMRY.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/QDTRI7C7.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/QIG2J5PE.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/QO6KDHE7.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/QP3WP6XK.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/QRMUPTEN.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/QS2H5WWV.js +0 -7
- package/dist/solutions-components/vendor/calcite-components/QSXIXUQG.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/R4UWD64I.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/R6R2QDCZ.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/R7BOWUQR.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/RBX4II3R.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/RGXKBYDS.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/RIG4ZWVJ.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/RM7DO3WC.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/RM7JYDOG.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/RS3QB5Z6.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/RTNOQY3F.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/RXFQEBLZ.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/S72C3HDO.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/SCVHHYPP.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/SH3ZYF5Y.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/SLRX7WEV.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/SQBCUXGV.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/SUMUVN3S.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/SUOP4NP6.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/SV2NJMD7.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/T5H4BCFU.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/T5XJU6AI.js +0 -24
- package/dist/solutions-components/vendor/calcite-components/T6NZYTYO.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/TEFAP3AK.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/TEGL7RHQ.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/TGH5IJQY.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/TGYJTTJS.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/TITRCHWJ.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/TRYKNJDA.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/TYYR7NIL.js +0 -8
- package/dist/solutions-components/vendor/calcite-components/TZEZTECF.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/U2E5SVFR.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/U5VSHGIS.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/U64XMC5X.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/UK4SFYVV.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/UKF62PNM.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/UOL6J47W.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/UV7H22PE.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/UXOOSEIU.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/UXZ36VC5.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/UY67UAZN.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/VFBARPZ3.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/VGYCDODV.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/VHXHAFDO.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/VN2EAAQF.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/VOECRNMH.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/VQRNTTAX.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/VVXJONZL.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/W5CGAHOI.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/WA7LZURK.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/WAAS66H6.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/WAE55O4U.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/WAXI7XKE.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/WEFAANMG.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/WH772PDM.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/X43KWDQ7.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/X5W76SNV.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/X6IC7EBC.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/XBYWX3OD.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/XIJN5ZXM.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/XKQ2CMVV.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/YBQG5R2L.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/YHWNAASP.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/YMNUCKVA.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/YMR2Q5CU.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/YNGSTQ4R.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/YP2D5DKM.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/YPRJFE6R.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/YVIEKCN2.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/YWM7TWVP.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/YZ3FOSUR.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/YZG67JHT.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/ZBSXA5F6.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/ZFAXCWF5.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/ZFKXMQJP.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/ZK7O524P.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/ZKNKPGVW.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/ZLFRGGT3.js +0 -6
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,c as e,g as i,h as s,H as a,F as h}from"./p-8c40bdec.js";import{l,g as o}from"./p-075979ef.js";import{g as n,a as c,b as r,c as d,h as u,d as p,q as f}from"./p-d572627c.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";const m=class{constructor(i){t(this,i),this.togglePanel=e(this,"togglePanel",7)}get el(){return i(this)}center;commentButtonText;commentSubmittedMessage;defaultWebmap="";description;enableAnonymousAccess;enableAnonymousComments;enableComments;enableHome=!0;enableLogin;enableNewReports;enableSearch=!0;enableZoom=!0;isMobile;layerExpressions=[];layerId;level;locale;loginTitle;mapInfos=[];mapView;objectId;reportButtonText;reportingOptions;reportsHeader;reportSubmittedMessage;searchConfiguration;showComments;showUserImageInCommentsList=!1;showFeatureSymbol=!1;showMyReportsOnly=!1;theme="light";zoomToScale;floorLevel;_featureCreationFailedErrorMsg;_filterActive=!1;_flowItems=[];_hasValidLayers=!1;_mapInfo;_reportSubmitted=!1;_selectedLayerName;_showSubmitCancelButton=!1;_showLoadingIndicator=!1;_sidePanelCollapsed=!1;_translations;_updatedProgressBarStatus=.25;_updatedSorting;_updatedSortOption="sortNewest";_commentSubmitted=!1;_addingCommentFailed=!1;_createFeature;_currentFeatureId;_defaultCenter;_defaultLevel;_editableLayerIds;_featureDetails;_featureList;_currentFeature;_selectedRelatedFeature;_relatedTable;_filterList;_highlightHandle;_layerList;_createRelatedFeature;_layers;_mapChange;_mapClickHandle;reactiveUtils;FeatureFilter;_selectedFeature;_selectedFeatureIndex;_selectedLayerId;_shareNode;_urlParamsLoaded;_validLayers;_nonVisibleValidLayers;_selectedLayer;_layerItemsHash;_showFullPanel;_floorExpression;_formElements=[];_prevSelectedLayerId;_currentLayerExpressions;_initDefExpressions;_t9nLayerExpressions;async isMobileWatchHandler(){this.updatePanelState(!1,this._showFullPanel)}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(){await this.mapView.when((async()=>{this.setInitExpressions(),await this.setMapView()}))}async floorLevelWatchHandler(){if(this._editableLayerIds)for(const t of this._editableLayerIds){const e=await n(this.mapView,t);e.floorInfo?.floorField&&this._updateFloorDefinitionExpression(e)}"layer-list"===this._flowItems[this._flowItems.length-1]&&this._layerList&&await this._layerList.refresh(),this._featureList&&this._featureList.refresh(),this._createFeature&&this._createFeature.refresh(this.floorLevel)}async showMyReportsOnlyWatchHandler(){this._editableLayerIds&&(await this._updateFeatures(),setTimeout((()=>{"layer-list"===this._flowItems[this._flowItems.length-1]&&this._layerList&&this._layerList.refresh(),this._featureList&&this._featureList.refresh()}),50))}async layerExpressionsWatchHandler(){this.resetFilterList(),await this.handleSelectedLayersFilter(),await(this._featureList?.refresh())}async showFeatureSymbolWatchHandler(){await(this._featureList?.refresh())}async updateLayerExpressionsT9n(t){if(this._t9nLayerExpressions=t||this.layerExpressions,null!=this._filterList)await this._filterList.handleUpdatingT9nData(this._t9nLayerExpressions);else if(null!=this._currentLayerExpressions){const t=structuredClone(this._currentLayerExpressions);this.handleLayerExpressionsT9n(t,this._t9nLayerExpressions),this._currentLayerExpressions=t}return Promise.resolve()}togglePanel;async componentWillLoad(){this._urlParamsLoaded=!1,await this._initModules(),await this._getTranslations(),await(this.mapView?.when((async()=>{this._layers=this.reportingOptions?Object.keys(this.reportingOptions).filter((t=>this.reportingOptions[t].visible)):[],this.setInitExpressions(),await this.setMapView()})))}componentWillRender(){this._flowItems.includes("filter-panel")&&this._filterList?.updateInitDefExpressions({initDefExpressions:this._initDefExpressions})}render(){const t="dark"===this.theme?"calcite-mode-dark":"calcite-mode-light";return s(a,{key:"42f88dcb756add8af6af0936b7ef9aef47a43236"},this._reportSubmitted&&s("calcite-alert",{key:"7d5c337096d2e3562bd133d5313acc34f941b8f2","auto-close":!0,class:t+" report-submitted-msg",icon:"check-circle",kind:"success",label:"",onCalciteAlertClose:()=>{this._reportSubmitted=!1},open:!0,placement:"top"},s("div",{key:"4ece38e9af3c6eba4e89cf96ca8fe82a96116bcb",slot:"message"},this.reportSubmittedMessage?this.reportSubmittedMessage:this._translations.submitMsg)),this._featureCreationFailedErrorMsg&&s("calcite-alert",{key:"6c93202ccab7729a523f51f816279df0e7e2f4d4","auto-close":!0,class:t,icon:"x-octagon",kind:"danger",label:"",onCalciteAlertClose:()=>{this._featureCreationFailedErrorMsg=""},open:!0,placement:"top"},s("div",{key:"cba71216aa8aa01098b2f9c6295341b9d501372d",slot:"title"},this._translations.error),s("div",{key:"3d457cfb00cc11208c34a121af6c5592d9540a04",slot:"message"},this._featureCreationFailedErrorMsg)),this._commentSubmitted&&s("calcite-alert",{key:"f782a94f3e4ea2252b92e6aa1c65d565dcf95b7b","auto-close":!0,class:"report-submitted "+t,icon:"check-circle",kind:"success",label:"",onCalciteAlertClose:()=>{this._commentSubmitted=!1},open:!0,placement:"top"},s("div",{key:"57d71698daf2f5cfbb2bb971b8c062baa797d279",slot:"message"},this.commentSubmittedMessage||this._translations.commentSubmittedMsg)),this._addingCommentFailed&&s("calcite-alert",{key:"c132ab8aceff09560f4e8300c6de03f9034443d9","auto-close":!0,class:t,icon:"x-octagon",kind:"danger",label:"",onCalciteAlertClose:()=>{this._addingCommentFailed=!1},open:!0,placement:"top"},s("div",{key:"840e834c1c6597d0bd3841fde4f1014de9e6604b",slot:"title"},this._translations.error),s("div",{key:"b8348d5cd55a298dbe42e4ccffb9f951bac1f8e1",slot:"message"},this._translations.addingCommentFailedMsg)),s("div",{key:"21f2a585a214dcdac6bec1b313025a5bf48317c4"},s("calcite-shell",{key:"3b0d3506ea75937c6627f20b3f468b28c00dbd22","content-behind":!0},this._getReporter())))}async _initModules(){const[t,e]=await l(["esri/core/reactiveUtils","esri/layers/support/FeatureFilter"]);this.reactiveUtils=t,this.FeatureFilter=e}async setSelectedLayer(t,e){this._selectedLayerId=t,this._selectedLayer=await n(this.mapView,t),this._selectedLayerName=e,this._validLayers.forEach((e=>{this._nonVisibleValidLayers.find((t=>t.id===e.id))||e.set("visible",!t||e.id===t)}))}_getLayersConfig(t){return this.reportingOptions&&this.reportingOptions[t]?this.reportingOptions[t]:null}_getReporter(){const t=[];return this._flowItems.forEach((e=>{switch(e){case"layer-list":t.push(this.getLayerListFlowItem());break;case"feature-list":t.push(this.getFeatureListFlowItem(this._selectedLayerId,this._selectedLayerName));break;case"filter-panel":t.push(this.getFilterPanel());break;case"feature-details":t.push(this.getFeatureDetailsFlowItem());break;case"reporting-layer-list":t.push(this.getChooseCategoryFlowItem());break;case"feature-create":t.push(this.getFeatureCreateFlowItem());break;case"comment-details":t.push(this.getCommentDetailsFlowItem());break;case"add-comment":t.push(this.getAddCommentFlowItem())}})),s("calcite-panel",{class:"width-full "+("dark"===this.theme?"calcite-mode-dark":"calcite-mode-light")},this.mapView?s("calcite-flow",null,t?.length>0&&t):s("calcite-loader",{label:"",scale:"m"}))}async sortOptionClick(t,e,i){this._updatedSorting={field:t,order:e},this._updatedSortOption=i}_toggleSort(){const t=this.reportingOptions&&this.reportingOptions[this._selectedLayerId]&&this.reportingOptions[this._selectedLayerId].like&&this.reportingOptions[this._selectedLayerId].likeField;return s("calcite-popover",{autoClose:!0,label:"",offsetDistance:0,placement:this.isMobile?"leading-start":"bottom-start",pointerDisabled:!0,referenceElement:"sort-popover"},s("calcite-list",{label:"","selection-mode":"single"},s("calcite-list-item",{label:this._translations.sortNewest,onCalciteListItemSelect:()=>{this.sortOptionClick(this._selectedLayer.objectIdField,"desc","sortNewest")},selected:"sortNewest"===this._updatedSortOption,value:"sortNewest"}),s("calcite-list-item",{label:this._translations.sortOldest,onCalciteListItemSelect:()=>{this.sortOptionClick(this._selectedLayer.objectIdField,"asc","sortOldest")},selected:"sortOldest"===this._updatedSortOption,value:"sortOldest"}),t&&s(h,null,s("calcite-list-item",{label:this._translations.sortHighestVoted,onCalciteListItemSelect:()=>{this.sortOptionClick(this.reportingOptions[this._selectedLayerId].likeField,"desc","sortHighestVoted")},selected:"sortHighestVoted"===this._updatedSortOption,value:"sortHighestVoted"}),s("calcite-list-item",{label:this._translations.sortLowestVoted,onCalciteListItemSelect:()=>{this.sortOptionClick(this.reportingOptions[this._selectedLayerId].likeField,"asc","sortLowestVoted")},selected:"sortLowestVoted"===this._updatedSortOption,value:"sortLowestVoted"}))))}async _handleFilterListReset(){this._filterActive=!1}async _handleFilterUpdate(t){this._showLoadingIndicator=!0,this._filterActive=t,await this._featureList.refresh(),this._showLoadingIndicator=!1}getLayerListFlowItem(){return s("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this.reportsHeader},this.isMobile&&this.getActionToExpandCollapsePanel(),this._hasValidLayers&&this.enableNewReports&&s("calcite-button",{appearance:"solid",onClick:this.navigateToChooseCategory.bind(this),slot:"footer",width:"full"},this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText),s("calcite-panel",{"full-height":!0,"full-width":!0},s("layer-list",{applyLayerViewFilter:this.showMyReportsOnly,class:"height-full",layers:this._editableLayerIds?.length>0?this._editableLayerIds:this._layers,locale:this.locale,mapView:this.mapView,onLayerSelect:this.displayFeaturesList.bind(this),onLayersListLoaded:this.layerListLoaded.bind(this),ref:t=>this._layerList=t,showFeatureCount:!0,showNextIcon:!0})))}getChooseCategoryFlowItem(){const t=this.reportingOptions?Object.keys(this.reportingOptions).filter((t=>this.reportingOptions[t].visible&&this.reportingOptions[t].reporting&&this._layerItemsHash[t]&&this._layerItemsHash[t].supportsAdd)):[];return s("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText,onCalciteFlowItemBack:this.backFromSelectedPanel.bind(this)},s("calcite-panel",{"full-height":!0,"full-width":!0},s("div",{class:"progress-bar"},s("calcite-progress",{type:"determinate",value:this._updatedProgressBarStatus})),s("calcite-notice",{class:"notice-msg",icon:"lightbulb",kind:"success",open:!0},s("div",{slot:"message"},this._translations.chooseCategoryMsg)),s("layer-list",{class:"height-full",layers:t,locale:this.locale,mapView:this.mapView,onLayerSelect:this.navigateToCreateFeature.bind(this),showFeatureCount:!1,showNextIcon:!1})))}getFeatureCreateFlowItem(){return s("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this._selectedLayerName,onCalciteFlowItemBack:this.backFromCreateFeaturePanel.bind(this)},this._showSubmitCancelButton&&s("div",{class:"width-full",slot:"footer"},s("calcite-button",{appearance:"solid",class:"footer-top-button footer-button",onClick:this.onCreateFeatureSubmitButtonClick.bind(this),width:"full"},this._translations.submit),s("calcite-button",{appearance:"outline",class:"footer-button",onClick:this.backFromCreateFeaturePanel.bind(this),width:"full"},this._translations.cancel)),s("calcite-panel",{"full-height":!0,"full-width":!0},s("div",{class:"progress-bar"},s("calcite-progress",{type:"determinate",value:this._updatedProgressBarStatus})),s("create-feature",{customizeSubmit:!0,enableSearch:!0,floorLevel:this.floorLevel,formElements:this._formElements.find((t=>t.id===this._selectedLayerId)),isMobile:this.isMobile,locale:this.locale,mapView:this.mapView,onDrawComplete:this.onFormReady.bind(this),onEditingAttachment:this.showSubmitCancelButton.bind(this),onFail:this.createFeatureFailed.bind(this),onModeChanged:this.backFromCreateFeaturePanel.bind(this),onProgressStatus:this.updatedProgressStatus.bind(this),onSuccess:this.onReportSubmitted.bind(this),ref:t=>this._createFeature=t,searchConfiguration:this.searchConfiguration,selectedLayerId:this._selectedLayerId})))}updatedProgressStatus(t){this._updatedProgressBarStatus=t.detail}onFormReady(){this._showSubmitCancelButton=!0}showSubmitCancelButton(t){this._showSubmitCancelButton=!t.detail}onCreateFeatureSubmitButtonClick(){this._createFeature&&this._createFeature.submit()}backFromCreateFeaturePanel(){this._createFeature&&this.updateNonVisibleLayersOnMap(!1),this.backFromSelectedPanel()}onCreateRelatedFeatureSubmitButtonClick(){this._createRelatedFeature&&this._createRelatedFeature.submit()}backFromCreateRelatedFeaturePanel(){this._createRelatedFeature&&(this._showSubmitCancelButton=!1),this.backFromSelectedPanel()}createFeatureFailed(t){console.error(t.detail),this._featureCreationFailedErrorMsg=t.detail.message}async onReportSubmitted(){this.updateNonVisibleLayersOnMap(!1),await this.navigateToHomePage(),this._reportSubmitted=!0,this._updatedProgressBarStatus=.25,this._showFullPanel&&this.updatePanelState(this._sidePanelCollapsed,!1)}addCommentFailed(t){console.error(t.detail),this._addingCommentFailed=!0}async onCommentSubmitted(){this._commentSubmitted=!0,this.backFromSelectedPanel(),this._showLoadingIndicator=!0,await this._featureDetails.refresh(this._currentFeature),setTimeout((()=>{this._showLoadingIndicator=!1}),300)}async navigateToHomePage(){await this.setSelectedFeatures([]),this._layerList&&await this._layerList.refresh(),1===this._editableLayerIds.length?(await this._featureList.refresh(),this._flowItems=["feature-list"]):this._flowItems=["layer-list"]}async navigateToCreateFeature(t){t.detail.layerId&&t.detail.layerName&&await this.setSelectedLayer(t.detail.layerId,t.detail.layerName),this.updateNonVisibleLayersOnMap(!0),this._getFormElements(),this._showSubmitCancelButton=!1,this.updatePanelState(!1,!0),this._flowItems=[...this._flowItems,"feature-create"]}navigateToChooseCategory(){this.updatePanelState(!1,!0),this._flowItems=[...this._flowItems,"reporting-layer-list"]}updateNonVisibleLayersOnMap(t){this._nonVisibleValidLayers.find((t=>t.id===this._selectedLayerId))&&this._selectedLayer.set("visible",t)}async layerListLoaded(t){const e=t.detail,i=await c(this.mapView),s=[];this._validLayers=[],this._nonVisibleValidLayers=[],i.forEach((t=>{e.includes(t.id)&&(this._validLayers.push(t),t.visible||this._nonVisibleValidLayers.push(t),this._getLayersConfig(t.id)?.reporting&&this._layerItemsHash[t.id]&&this._layerItemsHash[t.id].supportsAdd&&s.push(t.id))})),this.handleMapClick(),this._hasValidLayers=s.length>0,this._urlParamsLoaded||(this._urlParamsLoaded=!0,await this.loadFeatureFromURLParams())}async displayFeaturesList(t){this._updatedSorting={field:"",order:"desc"},this._updatedSortOption="sortNewest",await this.setSelectedLayer(t.detail.layerId,t.detail.layerName),this.handleSelectedLayersFilter(),this._flowItems=[...this._flowItems,"feature-list"],this._prevSelectedLayerId=this._selectedLayerId}async backFromFilterPanel(){null!=this._filterList&&(this._currentLayerExpressions=await this._filterList.getCurrentLayerExpressions()),await this._featureList.refresh(),this.backFromSelectedPanel()}backFromSelectedPanel(){this._updatedProgressBarStatus=.25;const t=[...this._flowItems];"comment-details"!==t[t.length-1]&&"add-comment"!==t[t.length-1]&&this.clearHighlights(),"reporting-layer-list"!==t[t.length-1]&&("feature-create"!==t[t.length-1]||"feature-list"!==t[0]&&"feature-list"!==t[t.length-2])||this.updatePanelState(this._sidePanelCollapsed,!1),t.pop(),1!==t.length||"layer-list"!==t[0]?this._flowItems=[...t]:this.navigateToHomePage()}toggleSidePanel(){this._sidePanelCollapsed=!this._sidePanelCollapsed,this.togglePanel.emit({panelState:this._sidePanelCollapsed,isFormOpen:this._showFullPanel})}updatePanelState(t,e){this._sidePanelCollapsed=t,this._showFullPanel=e,this.togglePanel.emit({panelState:this._sidePanelCollapsed,isFormOpen:this._showFullPanel})}async onFeatureSelectFromList(t){this._showLoadingIndicator=!0,await this.setSelectedFeatures([t.detail]),this._flowItems=[...this._flowItems,"feature-details"]}async getRelatedTable(){const t=this._currentFeature.layer,e=await r(this.mapView);t.relationships.some((i=>{const s=e.filter((e=>t.url===e.url&&e.layerId===i.relatedTableId));if(s&&s.length>0)return this._relatedTable=s[0],!0}))}async updatingFeatureDetails(t){this._showLoadingIndicator=t}async selectionChanged(t){this.updatingFeatureDetails(!0),await this.setCurrentFeature(t.detail.selectedFeature[0]),this.highlightOnMap(t.detail.selectedFeature[0]),this._selectedFeatureIndex=t.detail.selectedFeatureIndex,await this._featureDetails.refresh(t.detail.selectedFeature[0])}showAddCommentsPanel(){this._flowItems=[...this._flowItems,"add-comment"]}async onCommentSelectFromList(t){this._selectedRelatedFeature=[t.detail],this._flowItems=[...this._flowItems,"comment-details"]}getFeatureListFlowItem(t,e){const i=this._getLayersConfig(this._selectedLayerId)?.reporting&&this._layerItemsHash[this._selectedLayerId].supportsAdd,a=this._currentLayerExpressions?.length>0;return s("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:e,loading:this._showLoadingIndicator,onCalciteFlowItemBack:this.backFromSelectedPanel.bind(this)},this._toggleSort(),s("calcite-action",{icon:"sort-ascending-arrow",id:"sort-popover",slot:"header-actions-end",text:this._translations.sort,title:this._translations.sort}),a&&s("calcite-action",{icon:"filter",indicator:this._filterActive,onClick:()=>{this._flowItems=[...this._flowItems,"filter-panel"]},slot:"header-actions-end",text:this._translations.filter,title:this._translations.filter}),this.isMobile&&this.getActionToExpandCollapsePanel(),this.enableNewReports&&i&&s("calcite-button",{appearance:"solid",onClick:this.navigateToCreateFeature.bind(this),slot:"footer",width:"full"},this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText),s("calcite-panel",{"full-height":!0},s("feature-list",{applyLayerViewFilter:this.showMyReportsOnly,class:"height-full",highlightOnHover:!0,locale:this.locale,mapView:this.mapView,noFeaturesFoundMsg:this._translations.featureErrorMsg,onFeatureSelect:this.onFeatureSelectFromList.bind(this),pageSize:30,ref:t=>this._featureList=t,reportingOptions:this.reportingOptions,selectedLayerId:t,showFeatureSymbol:this.showFeatureSymbol,sortingInfo:this._updatedSorting})))}getFilterPanel(){return s("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this._translations?.filterLayerTitle?.replace("{{title}}",this._selectedLayerName),loading:this._showLoadingIndicator,onCalciteFlowItemBack:this.backFromFilterPanel.bind(this)},this.isMobile&&this.getActionToExpandCollapsePanel(),s("div",{class:"width-full",slot:"footer"},s("div",{class:"width-full",slot:"footer"},s("calcite-button",{appearance:"solid",class:"footer-top-button footer-button",disabled:!this._filterActive,onClick:this.resetFilterList.bind(this),width:"full"},this._translations.resetFilter),s("calcite-button",{appearance:"outline",class:"footer-button",onClick:this.backFromFilterPanel.bind(this),width:"full"},this._translations.close))),s("calcite-panel",{"full-height":!0},s("instant-apps-filter-list",{autoUpdateUrl:!1,closeBtnOnClick:()=>{},comboboxOverlayPositioning:"fixed",layerExpressions:this._currentLayerExpressions,onFilterListReset:()=>this._handleFilterListReset(),onFilterUpdate:()=>this._handleFilterUpdate(this._filterList.filterCount>0),ref:t=>this._filterList=t,resetBtn:!1,resetFiltersOnDisconnect:!1,view:this.mapView,zoomBtn:!1})))}getFeatureDetailsFlowItem(){const t=this._getLayersConfig(this._selectedLayerId)?.comment&&this._selectedLayer.relationships.length>0&&this._relatedTable;return s("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this._selectedLayerName,loading:this._showLoadingIndicator,onCalciteFlowItemBack:this.backFromSelectedPanel.bind(this)},this.isMobile&&this.getActionToExpandCollapsePanel(),s("instant-apps-social-share",{autoUpdateShareUrl:!1,class:"share-node",embed:!1,popoverButtonIconScale:"s",ref:t=>this._shareNode=t,removePopoverOffset:!0,scale:"m",shareButtonColor:"neutral",shareButtonType:"action",slot:"header-actions-end",socialMedia:!0,view:this.mapView}),this._selectedFeature.length>1&&this.getFeaturesPagination(),s("calcite-panel",null,s("feature-details",{class:"full-height",graphics:this._selectedFeature,layerItemsHash:this._layerItemsHash,locale:this.locale,mapView:this.mapView,onAddComment:this.showAddCommentsPanel.bind(this),onCommentSelect:this.onCommentSelectFromList.bind(this),onFeatureSelectionChange:this.selectionChanged.bind(this),onLikeOrDislikeClicked:()=>{this._featureList.refresh(!0)},onLoadingStatus:t=>{this.updatingFeatureDetails(t.detail)},ref:t=>this._featureDetails=t,reportingOptions:this.reportingOptions,showUserImageInCommentsList:this.showUserImageInCommentsList}),t&&s("calcite-button",{appearance:"solid",onClick:this.showAddCommentsPanel.bind(this),slot:"footer",width:"full"},this.commentButtonText||this._translations.comment)))}getFeaturesPagination(){return s("div",{class:"feature-pagination"},s("div",null,s("calcite-button",{appearance:"transparent",disabled:!1,iconStart:"chevron-left",id:"solutions-back",onClick:()=>{this._featureDetails.back()},scale:"s",width:"full"}),s("calcite-tooltip",{label:"",placement:"top","reference-element":"solutions-back"},s("span",null,this._translations.back))),s("calcite-button",{appearance:"transparent",onClick:()=>{this._featureDetails.toggleListView()},scale:"s"},s("span",{class:"pagination-count"},this._getCount())),s("div",null,s("calcite-button",{appearance:"transparent",disabled:!1,iconStart:"chevron-right",id:"solutions-next",onClick:()=>{this._featureDetails.next()},scale:"s",width:"full"}),s("calcite-tooltip",{placement:"top","reference-element":"solutions-next"},s("span",null,this._translations.next))))}getCommentDetailsFlowItem(){return s("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this._relatedTable.title,onCalciteFlowItemBack:this.backFromSelectedPanel.bind(this)},this.isMobile&&this.getActionToExpandCollapsePanel(),s("calcite-panel",{"full-height":!0},s("info-card",{allowEditing:!1,graphics:this._selectedRelatedFeature,highlightEnabled:!1,isLoading:!1,isMobile:!1,locale:this.locale,mapView:this.mapView,paginationEnabled:!1})))}getAddCommentFlowItem(){return s("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this._relatedTable.title,onCalciteFlowItemBack:this.backFromCreateRelatedFeaturePanel.bind(this)},this.isMobile&&this.getActionToExpandCollapsePanel(),s("div",{class:"width-full",slot:"footer"},this._showSubmitCancelButton&&s("div",{class:"width-full",slot:"footer"},s("calcite-button",{appearance:"solid",class:"footer-top-button footer-button",onClick:this.onCreateRelatedFeatureSubmitButtonClick.bind(this),width:"full"},this._translations.submit),s("calcite-button",{appearance:"outline",class:"footer-button",onClick:this.backFromCreateRelatedFeaturePanel.bind(this),width:"full"},this._translations.cancel))),s("calcite-panel",null,s("create-related-feature",{customizeSubmit:!0,locale:this.locale,mapView:this.mapView,onFail:this.addCommentFailed.bind(this),onFormReady:this.onFormReady.bind(this),onIsActionPending:this.showSubmitCancelButton.bind(this),onSuccess:this.onCommentSubmitted.bind(this),ref:t=>this._createRelatedFeature=t,selectedFeature:this._currentFeature,table:this._relatedTable})))}async setSelectedFeatures(t){this._selectedFeature=t,await this.setCurrentFeature(this._selectedFeature.length?this._selectedFeature[0]:null)}async setCurrentFeature(t){if(this._currentFeature=t,t&&t.layer){const e=t.layer;this.setSelectedLayer(e.id,e.title),this._currentFeatureId=t.attributes[e.objectIdField],this._getLayersConfig(e.id)?.comment&&e.relationships.length>0&&await this.getRelatedTable()}else this._editableLayerIds.length>1&&(this.setSelectedLayer("",""),this.handlePrevLayersFilter()),this._currentFeatureId="";this._updateShareURL()}async highlightOnMap(t){if(this.clearHighlights(),t&&t.geometry&&t.layer){const e=await d(this.mapView,t.layer.id);e.highlightOptions=null,this._highlightHandle=await u([t.getObjectId()],e,this.mapView,!0,this.zoomToScale)}this.updatingFeatureDetails(!1)}clearHighlights(){this._highlightHandle&&this._highlightHandle.remove()}getActionToExpandCollapsePanel(){return s("calcite-action",{icon:this._sidePanelCollapsed?"chevrons-up":"chevrons-down",onClick:this.toggleSidePanel.bind(this),slot:"header-actions-end",text:this._sidePanelCollapsed?this._translations.expand:this._translations.collapse})}async setMapView(){await this.getLayersToShowInList(),await this._updateFeatures(),1===this._editableLayerIds?.length?await this.renderFeaturesList():this._flowItems=["layer-list"],this.mapView.popupEnabled=!1,this._defaultCenter&&this._defaultLevel&&(await this.mapView.goTo({center:this._defaultCenter,zoom:this._defaultLevel}),this._defaultCenter=void 0,this._defaultLevel=void 0)}handleMapClick(){this._mapClickHandle&&this._mapClickHandle.remove(),this._mapClickHandle=this.reactiveUtils.on((()=>this.mapView),"click",this.onMapClick.bind(this))}async onMapClick(t){this.mapView.popupEnabled=!1;const e=await this.mapView.hitTest(t);if(e.results.length>0){const t=[];e.results.forEach((function(e){"graphic"===e.type&&t.push(e.graphic)}));const i=t.filter((t=>this._validLayers.includes(t.layer))),s=t.filter((t=>!this._validLayers.includes(t.layer)&&t?.layer?.popupEnabled&&t?.layer?.id));if(i.length>0&&(await this.setSelectedFeatures(i),this._flowItems.length&&this._flowItems.includes("feature-details")?(this._flowItems=[...this._flowItems.slice(0,this._flowItems.indexOf("feature-details")+1)],await this.highlightOnMap(t[0])):this._flowItems=[...this._flowItems,"feature-details"]),s.length>0){this.mapView.popupEnabled=!0;const t={features:s,updateLocationEnabled:!0};await this.mapView.openPopup(t)}}}_getCount(){const t=(this._selectedFeatureIndex+1).toString(),e=this._selectedFeature.length.toString();return this._translations.indexOfTotal.replace("{{index}}",t).replace("{{total}}",e)}async _getTranslations(){const t=await o(this.el);this._translations=t[0]}_updateFloorDefinitionExpression(t){const e=`${t.floorInfo.floorField} = '${this.floorLevel}'`,i=t.definitionExpression;t.definitionExpression=i?.indexOf(this._floorExpression)>-1?i.replace(this._floorExpression,e):e,this._floorExpression=e}_getFormElements(){const t=this._selectedLayer,e=t?.floorInfo?.floorField;if(e&&this.floorLevel&&t?.formTemplate){const e=this._formElements.find((e=>e.id===t.id));0!==this._formElements.length&&e||this._formElements.push({id:t.id,orgElements:t.formTemplate.elements,orgExpressionInfos:t.formTemplate.expressionInfos})}}reduceToConfiguredLayers(t,e){return Object.keys(t).reduce(((i,s)=>{const a=this.reportingOptions?this._getLayersConfig(s)?.visible:t[s].supportsAdd;return!e.includes(s)&&a&&i.push(s),i}),[])}async _updateFeatures(){for(const t of this._editableLayerIds){const e=await d(this.mapView,t);await this._showMyFeaturesOnly(e);const i=e.layer?.floorInfo?.floorField;i&&this.floorLevel&&this._updateFloorDefinitionExpression(e.layer)}}async _showMyFeaturesOnly(t){const e=this.mapView.map.portalItem.portal?.credential?.userId;if(e){const i=t.layer.editFieldsInfo?.creatorField.toLowerCase();t.filter=this.showMyReportsOnly&&i?new this.FeatureFilter({where:i+"='"+e+"'"}):null}}async getLayersToShowInList(){const t=await p(this.mapView,!0),e=await c(this.mapView),i=[];e.forEach((e=>{"feature"===e?.type&&e?.editingEnabled&&e?.capabilities?.operations?.supportsAdd&&(t[e.id].supportsAdd=!0),e?.editingEnabled||i.push(e.id)})),this._editableLayerIds=this.reduceToConfiguredLayers(t,i),this._layerItemsHash=t}async renderFeaturesList(){this._flowItems=["feature-list"];const t={detail:this._editableLayerIds};await this.layerListLoaded(t),await this.setSelectedLayer(this._validLayers[0].id,this._validLayers[0].title),this.handleSelectedLayersFilter()}_updateShareURL(){const t=this._shareNode?.shareUrl;if(!t)return;const e=new URL(t);this._selectedLayerId?e.searchParams.set("layerid",this._selectedLayerId):e.searchParams.delete("layerid"),this._selectedFeature?.length?e.searchParams.set("oid",this._currentFeatureId):e.searchParams.delete("oid"),this._shareNode.shareUrl=e.href}async loadFeatureFromURLParams(){if(this.center&&this.level&&await this.mapView.goTo({center:this.center.split(";").map(Number),zoom:this.level}),this.layerId&&this.objectId){const t=await n(this.mapView,this.layerId);if(t){const e=await f([Number(this.objectId)],t,[],!0,this.mapView.spatialReference);e.length&&(await this.setSelectedFeatures(e),this._flowItems=this._flowItems.length&&"feature-details"!==this._flowItems[this._flowItems.length-1]?[...this._flowItems,"feature-details"]:[...this._flowItems])}}}async handleSelectedLayersFilter(){if(this._selectedLayer){const t=this.layerExpressions?structuredClone(this.layerExpressions.filter((t=>t.id===this._selectedLayerId))):[];null!=this._t9nLayerExpressions&&this.handleLayerExpressionsT9n(t,this._t9nLayerExpressions),this._currentLayerExpressions=t,this.setActiveDefinitionExpressions()}}async handlePrevLayersFilter(){if(this._prevSelectedLayerId){const t=await n(this.mapView,this._prevSelectedLayerId);t&&(t.definitionExpression=this._initDefExpressions[this._prevSelectedLayerId])}}resetFilterList(){this._filterList?.forceReset(),null!=this._selectedLayer&&(this._selectedLayer.definitionExpression=this._initDefExpressions[this._selectedLayerId],this._filterActive=!1)}setActiveDefinitionExpressions(){if(null==this._selectedLayer)return;const t=[];if(this._currentLayerExpressions?.length>0){const e=this._currentLayerExpressions[0];for(const i of e.expressions){const{active:e,definitionExpression:s}=i;e&&s&&t.push(`(${s})`)}this._filterActive=t.length>0,this.updateFilterLayerDefExpression(t,e.operator)}}updateFilterLayerDefExpression(t,e){const i=this._initDefExpressions[this._selectedLayerId],s=t?.length>0&&null!=i?`(${t.join(e)}) AND (${i})`:t.length>0?t.join(e):i;this._selectedLayer.definitionExpression=s}setInitExpressions(){if(this._initDefExpressions={},null==this.mapView)return;const t=this.mapView.map;t.allLayers.concat(t.allTables).forEach((t=>{"feature"===t.type&&(this._initDefExpressions[t.id]=t.definitionExpression)}))}handleLayerExpressionsT9n(t,e){t?.forEach((t=>{const i=e?.find((e=>e.id===t.id));null!=i&&(t.title=i.title,t.expressions?.forEach((t=>{const e=i.expressions?.find((e=>e.id===t.id));null!=e&&(t.name=e.name)})))}))}static get watchers(){return{isMobile:["isMobileWatchHandler"],locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"],floorLevel:["floorLevelWatchHandler"],showMyReportsOnly:["showMyReportsOnlyWatchHandler"],layerExpressions:["layerExpressionsWatchHandler"],showFeatureSymbol:["showFeatureSymbolWatchHandler"]}}};m.style=":host{display:block;--calcite-label-margin-bottom:0px;--solutions-theme-foreground-color:var(--calcite-color-foreground-1)}.width-full{width:100% !important}.width-0{width:0}.height-full{height:100% !important}.height-0{height:0}.overflow-hidden{overflow:hidden}.border{border:1px solid var(--calcite-color-border-3)}.notice-msg{padding:10px;width:calc(100% - 20px)}.progress-bar{padding:12px}.footer-top-button{padding-bottom:7px}.footer-button{height:35px}.feature-pagination{background-color:var(--calcite-color-foreground-1) !important;border-block-end:1px solid var(--calcite-color-border-3);display:flex;justify-content:center;padding:5px 0}.pagination-count{color:var(--calcite-color-brand);border-bottom:1px solid var(--calcite-color-brand);font-weight:bold}.report-submitted-msg{position:absolute;z-index:1000}.share-node{display:flex}";export{m as crowdsource_reporter}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as i,h as n,g as t,H as s}from"./p-8c40bdec.js";import{l as a}from"./p-08ad0b7a.js";import{g as o}from"./p-ea19f91b.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-ac122d9e.js";const e="instant-apps-sign-in__entry-button",r=class{constructor(n){i(this,n),this.type="navigation",this.portal=void 0,this.oauthappid=void 0,this.openInPopup=void 0,this.landingPage=void 0,this.isSignedIn=void 0,this.user=void 0,this.titleText=void 0,this.subtitleText=void 0,this.descriptionText=void 0,this.showIndicator=!0,this.closeLandingPage=void 0,this.signInDropdownItems=void 0,this.ready=!1,this.messages=void 0}async watchPortal(){await this.initSignIn()}async watchOauthappid(){await this.initSignIn()}async componentWillLoad(){o(this),await this.initSignIn()}render(){const i=this.ready?this.renderContent():null;return n(s,{key:"ab1c9e194ed4eed74680dd242e0ea0f314cf1f56"},i)}renderContent(){return"landingPage"===this.type?this.renderLandingPageSignIn():this.renderSignInContainer()}renderSignInContainer(){return n("div",{class:"instant-apps-sign-in__container"},this.isSignedIn?this.renderSignInDropdown():this.renderSignInButton())}renderSignInDropdown(){var i,t,s,a,o,e,r,l,c,p,d,h,g,u,v,_;const m=this.showIndicator?"instant-apps-sign-in__indicator":"";return n("calcite-dropdown",{placement:"bottom-end",scale:"navigation"===this.type?"m":"s"},"navigation"===this.type?n("calcite-navigation-user",{class:m,slot:"trigger",thumbnail:null===(i=this.user)||void 0===i?void 0:i.thumbnailUrl,"full-name":null===(t=this.user)||void 0===t?void 0:t.fullName,username:null===(s=this.user)||void 0===s?void 0:s.username,"user-id":null!==(o=null===(a=this.user)||void 0===a?void 0:a.id)&&void 0!==o?o:null===(r=null===(e=this.user)||void 0===e?void 0:e.sourceJSON)||void 0===r?void 0:r.id,textDisabled:!0}):n("button",{slot:"trigger"},n("calcite-avatar",{class:m,thumbnail:null===(l=this.user)||void 0===l?void 0:l.thumbnailUrl,"full-name":null===(c=this.user)||void 0===c?void 0:c.fullName,username:null===(p=this.user)||void 0===p?void 0:p.username,"user-id":null!==(h=null===(d=this.user)||void 0===d?void 0:d.id)&&void 0!==h?h:null===(u=null===(g=this.user)||void 0===g?void 0:g.sourceJSON)||void 0===u?void 0:u.id})),n("slot",{name:"sign-in-dropdown-top"}),n("calcite-dropdown-group",{"selection-mode":"none"},null===(v=this.signInDropdownItems)||void 0===v?void 0:v.map((i=>n("calcite-dropdown-item",{onClick:i.onClick},i.label))),n("calcite-dropdown-item",{onClick:this.signOut.bind(this)},null===(_=this.messages)||void 0===_?void 0:_.signOut)))}renderSignInButton(){var i;const t="navigation"===this.type?"transparent":"solid";return n("calcite-button",{class:"navigation"===this.type?"instant-apps-sign-in__sign-in-btn":"",onClick:this.signIn.bind(this),scale:"s","icon-start":"sign-in",appearance:t},null===(i=this.messages)||void 0===i?void 0:i.signIn)}renderLandingPageSignIn(){var i,t;return n("div",{class:"instant-apps-sign-in__entry-button-container"},n("calcite-button",{class:e,scale:"l",onClick:this.landingPageSignIn.bind(this)},null===(i=this.messages)||void 0===i?void 0:i.signIn),n("calcite-button",{class:e,scale:"l",appearance:"outline-fill",onClick:this.guestOnClick.bind(this)},null===(t=this.messages)||void 0===t?void 0:t.continueAsGuest))}async initSignIn(){if(null==this.portal||null==this.oauthappid)return;const[i,n,t]=await a(["esri/identity/OAuthInfo","esri/identity/IdentityManager","esri/core/reactiveUtils"]);this.idManager=n,this.info=new i({appId:this.oauthappid,portalUrl:this.portal.url,flowType:"authorization-code",popup:this.openInPopup}),this.idManager.registerOAuthInfos([this.info]),this.isSignedIn=await this.checkSignInStatus(),this.ready=!0,this.isSignedIn&&(await t.whenOnce((()=>this.portal.user)),this.user=this.portal.user)}async signIn(){this.setSignInLocalStorage(),await this.idManager.getCredential(`${this.info.portalUrl}/sharing`,{oAuthPopupConfirmation:!1}),await this.checkSignInStatus()}signOut(){var i;null===(i=this.portal.credential)||void 0===i||i.destroy(),this.idManager.destroyCredentials(),this.portal.authMode="anonymous",this.portal.credential=null;const n=window.location.href;this.setSignInLocalStorage(),window.location.href=`${this.portal.restUrl}/oauth2/signout?client_id=${this.oauthappid}&redirect_uri=${n}`}async landingPageSignIn(){await this.signIn(),null!=this.closeLandingPage&&this.closeLandingPage()}guestOnClick(){this.isSignedIn?this.signOut():null!=this.closeLandingPage&&this.closeLandingPage()}async checkSignInStatus(){try{const i=await this.idManager.checkSignInStatus(`${this.info.portalUrl}/sharing`);return this.portal.credential=i,!0}catch(i){return this.portal.credential=null,!1}}setSignInLocalStorage(){const i=new Date;localStorage.setItem("signing-in",i.getTime().toString()),setTimeout((()=>{localStorage.removeItem("signing-in")}),2e3)}get el(){return t(this)}static get watchers(){return{portal:["watchPortal"],oauthappid:["watchOauthappid"]}}};r.style=':host{--instant-apps-sign-in-indicator-color:#007ac2;display:block;box-shadow:none !important}:host .instant-apps-sign-in__container{height:inherit;display:flex;align-items:center}:host .instant-apps-sign-in__container calcite-dropdown,:host .instant-apps-sign-in__container calcite-navigation-user{height:100%}:host .instant-apps-sign-in__container calcite-navigation-user{--calcite-color-foreground-2:rgba(0, 0, 0, 0.04);--calcite-color-foreground-3:rgba(0, 0, 0, 0.04)}:host .instant-apps-sign-in__container .instant-apps-sign-in__indicator::after{content:"";position:absolute;block-size:0.5rem;inline-size:0.5rem;border-radius:9999px;inset-block-end:-0.275rem;inset-inline-end:-0.275rem;background-color:var(--instant-apps-sign-in-indicator-color);bottom:calc(50% - 15px);right:calc(50% - 15px)}:host .instant-apps-sign-in__container .instant-apps-sign-in__sign-in-btn{margin:10px}:host .instant-apps-sign-in__container calcite-dropdown[scale=m] calcite-dropdown-group{min-width:140px}:host .instant-apps-sign-in__container calcite-dropdown[scale=s] calcite-dropdown-group{min-width:100px}:host .instant-apps-sign-in__container button{height:32px;width:32px;padding:0;box-sizing:border-box;display:flex;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;appearance:none;-moz-appearance:none;-webkit-appearance:none;text-decoration-line:none;transition:color var(--calcite-animation-timing) ease-in-out, background-color var(--calcite-animation-timing) ease-in-out, box-shadow var(--calcite-animation-timing) ease-in-out, outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;border:none;border-radius:50%;background:#000}:host .instant-apps-sign-in__container button:hover calcite-avatar{opacity:0.7;transition:0.3s}:host .instant-apps-sign-in__landing-page{display:flex;flex-direction:column;justify-content:center;padding:40px;width:50%;min-height:30%;background:rgba(255, 255, 255, 0.8);color:#151515;text-align:center}:host .instant-apps-sign-in__landing-page h1{font-size:22px;margin:10px 0}:host .instant-apps-sign-in__landing-page h2{font-size:16px;margin:0 0 10px}:host .instant-apps-sign-in__landing-page p{font-size:16px;margin:0}:host .instant-apps-sign-in__entry-button-container{display:flex;justify-content:center;gap:8px}:host .instant-apps-sign-in__entry-button{--calcite-color-brand:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-hover:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-press:var(--instant-apps-landing-page-entry-button-color);min-width:165px}:host .instant-apps-sign-in__entry-button[appearance=solid]{border:1px solid #fff}:host .instant-apps-sign-in__entry-button[appearance=solid]:hover,:host .instant-apps-sign-in__entry-button[appearance=solid]:focus{filter:brightness(0.9)}@media screen and (max-width: 767px){:host{flex-direction:column;align-items:center}:host calcite-button{width:100%}:host .instant-apps-sign-in__entry-button-container{display:flex;flex-direction:column}}';export{r as instant_apps_sign_in}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as a,c as t,h as n,H as s,F as e,g as l}from"./p-8c40bdec.js";import{i as r,g as i,a as g,s as o,E as u,b as p,l as d,c,u as h}from"./p-2937baee.js";import{l as m}from"./p-08ad0b7a.js";import{c as v}from"./p-ea19f91b.js";import{g as T,f as b}from"./p-174fa218.js";import"./p-fa639501.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-ac122d9e.js";const k={full:{ar:{language:"Arabic",translated:"عربي"},bg:{language:"Bulgarian",translated:"Български"},bs:{language:"Bosnian",translated:"Bosanski"},ca:{language:"Catalan",translated:"Català"},cs:{language:"Czech",translated:"čeština"},da:{language:"Danish",translated:"Dansk"},de:{language:"German",translated:"Deutsch"},el:{language:"Greek",translated:"Ελλάδα"},en:{language:"English",translated:"English"},es:{language:"Spanish",translated:"Español"},et:{language:"Estonian",translated:"Eesti"},fi:{language:"Finnish",translated:"Suomi"},fr:{language:"French",translated:"Français"},he:{language:"Hebrew",translated:"עברית"},hr:{language:"Croatian",translated:"Hrvatski"},hu:{language:"Hungarian",translated:"Magyar"},id:{language:"Indonesian",translated:"Bahasa Indonesia",supportsAutoTranslate:!0},it:{language:"Italian",translated:"Italiano"},ja:{language:"Japanese",translated:"日本語"},ko:{language:"Korean",translated:"한국어"},lt:{language:"Lithuanian",translated:"Lietuvių"},lv:{language:"Latvian",translated:"Latviešu"},nb:{language:"Norwegian",translated:"Norsk"},nl:{language:"Dutch",translated:"Nederlands"},pl:{language:"Polish",translated:"Polski"},"pt-BR":{language:"Portuguese (Brazil)",translated:"Português (Brasil)"},"pt-PT":{language:"Portuguese (Portugal)",translated:"Português (Portugal)"},ro:{language:"Romanian",translated:"Română"},ru:{language:"Russian",translated:"Русский"},sk:{language:"Slovak",translated:"Slovenčina"},sl:{language:"Slovenian",translated:"Slovenščina"},sr:{language:"Serbian",translated:"Srpski"},sv:{language:"Swedish",translated:"Svenska"},th:{language:"Thai",translated:"ไทย"},tr:{language:"Turkish",translated:"Türkiye"},uk:{language:"Ukrainian",translated:"Україна"},vi:{language:"Vietnamese",translated:"Tiếng Việt"},"zh-CN":{language:"Simplified Chinese",translated:"简体中文"},"zh-HK":{language:"Traditional Chinese (Hong Kong)",translated:"繁體中文(香港)"},"zh-TW":{language:"Traditional Chinese (Taiwan)",translated:"繁體中文(台灣)"}},partial:{ab:{language:"Abkhaz",translated:"Аҧсуа"},aa:{language:"Afar",translated:"Afar"},af:{language:"Afrikaans",translated:"Afrikaans",supportsAutoTranslate:!0},ak:{language:"Akan",translated:"Akan"},sq:{language:"Albanian",translated:"Shqip",supportsAutoTranslate:!0},am:{language:"Amharic",translated:"አማርኛ",supportsAutoTranslate:!0},an:{language:"Aragonese",translated:"Aragonés"},hy:{language:"Armenian",translated:"Հայերեն",supportsAutoTranslate:!0},as:{language:"Assamese",translated:"অসমীয়া",supportsAutoTranslate:!0},av:{language:"Avaric",translated:"авар мацӀ"},ae:{language:"Avestan",translated:"Avesta"},ay:{language:"Aymara",translated:"aymar aru"},az:{language:"Azerbaijani",translated:"azərbaycan dili"},bm:{language:"Bambara",translated:"bamanankan"},ba:{language:"Bashkir",translated:"Башҡорт теле",supportsAutoTranslate:!0},eu:{language:"Basque",translated:"euskara",supportsAutoTranslate:!0},be:{language:"Belarusian",translated:"Беларуская"},bn:{language:"Bengali",translated:"বাংলা"},bh:{language:"Bihari",translated:"भोजपुरी"},bi:{language:"Bislama",translated:"Bislama"},br:{language:"Breton",translated:"Brezhoneg"},my:{language:"Burmese",translated:"ဗမာစာ"},ch:{language:"Chamorro",translated:"Chamoru"},ce:{language:"Chechen",translated:"нохчийн мотт"},ny:{language:"Chichewa",translated:"chiCheŵa"},cu:{language:"Church Slavic",translated:"ѩзыкъ словѣньскъ"},cv:{language:"Chuvash",translated:"чӑваш чӗлхи"},kw:{language:"Cornish",translated:"Kernewek"},co:{language:"Corsican",translated:"corsu"},cr:{language:"Cree",translated:"ᓀᐦᐃᔭᐍᐏᐣ"},dv:{language:"Divehi",translated:"ދިވެހި",supportsAutoTranslate:!0},eo:{language:"Esperanto",translated:"Esperanto"},ee:{language:"Ewe",translated:"Ɛʋɛgbɛ"},fo:{language:"Faroese",translated:"føroyskt",supportsAutoTranslate:!0},fj:{language:"Fijian",translated:"Vosa Vakaviti"},ff:{language:"Fulah",translated:"Fulfulde"},gl:{language:"Galician",translated:"galego",supportsAutoTranslate:!0},ka:{language:"Georgian",translated:"ქართული",supportsAutoTranslate:!0},gn:{language:"Guarani",translated:"Avañe'ẽ"},gu:{language:"Gujarati",translated:"ગુજરાતી",supportsAutoTranslate:!0},ht:{language:"Haitian Creole",translated:"Kreyòl Ayisyen",supportsAutoTranslate:!0},ha:{language:"Hausa",translated:"هَوُسَ",supportsAutoTranslate:!0},hz:{language:"Herero",translated:"Otjiherero"},hi:{language:"Hindi",translated:"हिन्दी"},ho:{language:"Hiri Motu",translated:"Hiri Motu"},is:{language:"Icelandic",translated:"Íslenska",supportsAutoTranslate:!0},io:{language:"Ido",translated:"Ido"},ig:{language:"Igbo",translated:"Asụsụ Igbo",supportsAutoTranslate:!0},ia:{language:"Interlingua",translated:"Interlingua"},ie:{language:"Interlingue",translated:"Interlingue"},iu:{language:"Inuktitut",translated:"ᐃᓄᒃᑎᑐᑦ",supportsAutoTranslate:!0},ip:{language:"Inupiaq",translated:"Iñupiaq"},ga:{language:"Irish",translated:"Gaeilge",supportsAutoTranslate:!0},jv:{language:"Javanese",translated:"ꦧꦱꦗꦮ"},kl:{language:"Kalaallisut",translated:"kalaallisut"},kn:{language:"Kannada",translated:"ಕನ್ನಡ",supportsAutoTranslate:!0},kr:{language:"Kanuri",translated:"Kanuri"},ks:{language:"Kashmiri",translated:"कश्मीरी",supportsAutoTranslate:!0},kk:{language:"Kazakh",translated:"қазақ тілі",supportsAutoTranslate:!0},km:{language:"Khmer",translated:"ខ្មែរ",supportsAutoTranslate:!0},ki:{language:"Kikuyu",translated:"Gĩkũyũ"},rw:{language:"Kinyarwanda",translated:"Kinyarwanda",supportsAutoTranslate:!0},rn:{language:"Kirundi",translated:"Ikirundi"},kv:{language:"Komi",translated:"коми кыв"},kg:{language:"Kongo",translated:"Kikongo"},ku:{language:"Kurdish",translated:"Kurdî",supportsAutoTranslate:!0},kj:{language:"Kwanyama",translated:"Kuanyama"},ky:{language:"Kyrgyz",translated:"Кыргызча"},lo:{language:"Lao",translated:"ພາສາລາວ",supportsAutoTranslate:!0},la:{language:"Latin",translated:"latine"},li:{language:"Limburgish",translated:"Limburgs"},ln:{language:"Lingala",translated:"Lingála"},lu:{language:"Luba-Katanga",translated:"Kiluba"},lg:{language:"Luganda",translated:"Luganda"},lb:{language:"Luxembourgish",translated:"Lëtzebuergesch"},mk:{language:"Macedonian",translated:"македонски јазик",supportsAutoTranslate:!0},mg:{language:"Malagasy",translated:"fiteny malagasy",supportsAutoTranslate:!0},ms:{language:"Malay",translated:"Bahasa Melayu",supportsAutoTranslate:!0},ml:{language:"Malayalam",translated:"മലയാളം",supportsAutoTranslate:!0},mt:{language:"Maltese",translated:"Malti",supportsAutoTranslate:!0},gv:{language:"Manx",translated:"Gailck"},mi:{language:"Maori",translated:"te reo Māori",supportsAutoTranslate:!0},mr:{language:"Marathi",translated:"मराठी",supportsAutoTranslate:!0},mh:{language:"Marshallese",translated:"Kajin M̧ajeļ"},mn:{language:"Mongolian",translated:"Монгол хэл"},na:{language:"Nauru",translated:"Ekakairũ Naoero"},nv:{language:"Navajo",translated:"Diné bizaad"},ng:{language:"Ndonga",translated:"Owambo"},ne:{language:"Nepali",translated:"नेपाली",supportsAutoTranslate:!0},nd:{language:"North Ndebele",translated:"isiNdebele"},se:{language:"Northern Sami",translated:"Davvisámegiella"},no:{language:"Norwegian",translated:"Norsk"},nn:{language:"Norwegian Nynorsk",translated:"Norsk nynorsk"},ii:{language:"Nuosu",translated:"ꆈꌠ꒿ Nuosuhxop"},oc:{language:"Occitan",translated:"occitan"},oj:{language:"Ojibwe",translated:"ᐊᓂᔑᓈᐯᒧᐎᓐ"},or:{language:"Oriya",translated:"ଓଡ଼ିଆ",supportsAutoTranslate:!0},om:{language:"Oromo",translated:"Afaan Oromoo"},os:{language:"Ossetian",translated:"ирон æвзаг"},pi:{language:"Pali",translated:"पाऴि"},pa:{language:"Panjabi",translated:"ਪੰਜਾਬੀ"},ps:{language:"Pashto",translated:"پښتو",supportsAutoTranslate:!0},fa:{language:"Persian",translated:"فارسی",supportsAutoTranslate:!0},qu:{language:"Quechua",translated:"Runa Simi"},rm:{language:"Romansh",translated:"rumantsch grischun"},sm:{language:"Samoan",translated:"gagana fa'a Samoa",supportsAutoTranslate:!0},sg:{language:"Sango",translated:"yângâ tî sängö"},sa:{language:"Sanskrit",translated:"संस्कृतम्"},sc:{language:"Sardinian",translated:"sardu"},gd:{language:"Scottish Gaelic",translated:"Gàidhlig"},sn:{language:"Shona",translated:"chiShona"},sd:{language:"Sindhi",translated:"सिन्धी",supportsAutoTranslate:!0},si:{language:"Sinhala",translated:"සිංහල",supportsAutoTranslate:!0},so:{language:"Somali",translated:"Soomaaliga",supportsAutoTranslate:!0},nr:{language:"South Ndebele",translated:"isiNdebele"},st:{language:"Southern Sotho",translated:"Sesotho"},su:{language:"Sundanese",translated:"Basa Sunda"},sw:{language:"Swahili",translated:"Kiswahili",supportsAutoTranslate:!0},ss:{language:"Swati",translated:"SiSwati"},tl:{language:"Tagalog",translated:"Wikang Tagalog"},ty:{language:"Tahitian",translated:"Reo Tahiti",supportsAutoTranslate:!0},tg:{language:"Tajik",translated:"тоҷикӣ"},ta:{language:"Tamil",translated:"தமிழ்",supportsAutoTranslate:!0},tt:{language:"Tatar",translated:"татар теле",supportsAutoTranslate:!0},te:{language:"Telugu",translated:"తెలుగు",supportsAutoTranslate:!0},bo:{language:"Tibetan",translated:"བོད་ཡིག",supportsAutoTranslate:!0},ti:{language:"Tigrinya",translated:"ትግርኛ",supportsAutoTranslate:!0},to:{language:"Tonga",translated:"faka Tonga",supportsAutoTranslate:!0},ts:{language:"Tsonga",translated:"Xitsonga"},tn:{language:"Tswana",translated:"Setswana"},tk:{language:"Turkmen",translated:"Türkmen",supportsAutoTranslate:!0},tw:{language:"Twi",translated:"Twi"},ug:{language:"Uighur",translated:"Uyƣurqə"},ur:{language:"Urdu",translated:"اردو",supportsAutoTranslate:!0},uz:{language:"Uzbek",translated:"O'zbek",supportsAutoTranslate:!0},ve:{language:"Venda",translated:"Tshivenḓa"},vo:{language:"Volapük",translated:"Volapük"},wa:{language:"Walloon",translated:"walon"},cy:{language:"Welsh",translated:"Cymraeg",supportsAutoTranslate:!0},fy:{language:"Western Frisian",translated:"Frysk"},wo:{language:"Wolof",translated:"Wollof"},xh:{language:"Xhosa",translated:"isiXhosa",supportsAutoTranslate:!0},yi:{language:"Yiddish",translated:"ייִדיש"},yo:{language:"Yoruba",translated:"Yorùbá",supportsAutoTranslate:!0},za:{language:"Zhuang",translated:"Saɯ cueŋƅ"},zu:{language:"Zulu",translated:"isiZulu",supportsAutoTranslate:!0}}},_="instant-apps-language-translator",y={BASE:_,header:`${_}__header`,headerText:`${_}__header-text`,savingIndicator:`${_}__saving-indicator`,closeButton:`${_}__close-button`,headerTip:`${_}__header-tip`,topBar:`${_}__top-bar`,topBarSection:`${_}__top-bar-section`,collapseSearchContainer:`${_}__collapse-search-container`,userLangText:`${_}__user-lang-text`,lastItem:`${_}--last-item`,writingIcon:`${_}__writing-icon`,primaryContent:`${_}__primary-content`,lastAutoSave:`${_}__last-auto-save`},A=class{constructor(n){a(this,n),this.translatorDataUpdated=t(this,"translatorDataUpdated",7),this.portalItem=void 0,this.appSettings=void 0,this.locales=void 0,this.open=!1,this.userLocaleInputOnChangeCallback=void 0,this.translatedLocaleInputOnChangeCallback=void 0,this.saving=!1,this.messages=void 0,this.isCollapse=!0}handleT9nItemUpdate(){this.translatorDataUpdated.emit()}handleLocaleChange(){this.initUIData(),this.initSelectLanguage()}handleAppSettings(){this.initUIData(),this.initSelectLanguage()}componentWillLoad(){r()}async componentDidLoad(){this.initialize()}async initialize(){const[a,t]=await m(["esri/intl","esri/request"]);this.intl=a,this.request=t,await this.initMessages(),this.initUIData(),this.initPortalItemResourceT9nData(),this.initSelectLanguage()}async initMessages(){try{const{el:a}=this,t=await i(a);return this.messages=t,Promise.resolve()}catch(a){return Promise.reject()}}initUIData(){const{appSettings:a,locales:t}=this,n=g(a,t);o.set("uiData",n)}initSelectLanguage(){var a,t;if(!this.intl)return;const{locales:n}=this,s=null!==(t=null===(a=null==n?void 0:n[0])||void 0===a?void 0:a.locale)&&void 0!==t?t:this.intl.getLocale(),e=o.get("currentLanguage");0===this.locales.filter((a=>a.locale===e)).length&&o.set("currentLanguage",s)}async initPortalItemResourceT9nData(){try{const a=await T(this.portalItem);o.set("portalItemResource",a);const t=await b(a);o.set("lastSave",t.lastSave),o.set("portalItemResourceT9n",null!=t?t:{})}catch(a){}}render(){return n(s,{key:"ca098bb65294625c8e99c35a5ffa803f2bb84d18"},this.renderDialog(),this.renderPopoverTip())}renderDialog(){return n("calcite-dialog",{open:this.open,scale:"l",placement:"cover",onCalciteDialogClose:this.close.bind(this)},this.renderHeader(),this.renderContent(),this.renderPrimaryContent())}renderPopoverTip(){var a;return n("calcite-popover",{label:"",referenceElement:"headerTip",placement:"trailing","auto-close":!0,closable:!0},n("div",{class:y.headerTip},null===(a=this.messages)||void 0===a?void 0:a.headerTip))}renderHeader(){return n("header",{class:y.header,slot:"header-content"},this.renderHeaderText())}renderHeaderText(){const{messages:a}=this;return n("div",{class:y.headerText},n("span",null,null==a?void 0:a.header),n("calcite-button",{id:"headerTip",appearance:"transparent"},n("calcite-icon",{icon:u.Popover,scale:"s"})))}renderSavingIndicator(){var a;const t=null===(a=this.messages)||void 0===a?void 0:a.saving;return n("div",{class:y.savingIndicator},n("calcite-loader",{label:t,inline:!0}),n("span",null,t))}renderContent(){const a=p(this.locales);return n("div",null,this.renderTopBar(),(null==a?void 0:a.length)>0?this.renderUIData():this.renderNotice())}renderTopBar(){return n("div",{class:y.topBar},this.renderLeadingTopBarSection(),this.renderTrailingTopBarSection())}renderLeadingTopBarSection(){return n("div",{class:y.topBarSection},this.renderUserLocale(),this.renderCollapseSearchContainer())}renderUserLocale(){var a;const t=null===(a=this.messages)||void 0===a?void 0:a.languages,s=v();return n("div",{class:y.userLangText},null==t?void 0:t[s])}renderCollapseSearchContainer(){return n("div",{class:y.collapseSearchContainer},this.renderExpandCollapseButton(),this.renderSearch())}renderExpandCollapseButton(){const{isCollapse:a,messages:t}=this,s=a?null==t?void 0:t.collapseAll:null==t?void 0:t.expandAll;return n(e,null,n("slot",{name:"primary-custom-action"}),n("slot",{name:"secondary-custom-action"}),n("calcite-button",{onClick:this.handleExpandCollapseAll.bind(this),appearance:"transparent","icon-start":u.ExpandCollapse},s))}renderSearch(){var a;return n("instant-apps-language-translator-search",{onSuggestionSelected:this.onSuggestionSelect.bind(this),t9nPlaceholder:null===(a=this.messages)||void 0===a?void 0:a.searchPlaceholder})}renderTrailingTopBarSection(){return n("div",{class:y.topBarSection},this.renderLanguageSelection(),n("slot",{name:"translation-custom-action"}))}renderLanguageSelection(){var a;return n("calcite-label",{layout:"inline"},null===(a=this.messages)||void 0===a?void 0:a.translatedLanguage,n("calcite-select",{label:"",onCalciteSelectChange:this.handleLanguageSelection.bind(this)},this.renderTranslatedLangOptions()))}renderTranslatedLangOptions(){const a=o.get("uiData"),t=null==a?void 0:a.get("locales"),s=p(t),e=Object.keys(k.partial);return null==s?void 0:s.map((a=>{const t=-1!==e.indexOf(a),s=k[t?"partial":"full"],{language:l,translated:r}=s[a];return n("calcite-option",{key:`translated-lang-option-${a}`,value:a},`${l} - ${r}`)}))}renderUIData(){if(!(null==d?void 0:d.uiData))return;const a=c();return n("div",null,null==a?void 0:a.map(((t,n)=>this.renderUIDataItem(t,n,a.length))))}renderNotice(){var a;const t=null===(a=this.messages)||void 0===a?void 0:a.noLanguage;return n("calcite-notice",{open:!0,icon:"exclamation-mark-triangle",kind:"warning"},n("div",{slot:"title"},null==t?void 0:t.title),n("div",{slot:"message"},null==t?void 0:t.message))}renderUIDataItem(a,t,s){var e,l;const r=null===(l=null===(e=this.appSettings)||void 0===e?void 0:e.translatedLanguageLabels)||void 0===l?void 0:l[d.currentLanguage],i=`${t===s-1?y.lastItem:""}`,g=this.appSettings.content.filter((t=>t.id===a))[0];return n("instant-apps-language-translator-item",{key:`${a}-${t}`,class:i,fieldName:a,translatedLanguageLabels:r,setting:g,userLocaleInputOnChangeCallback:async(a,t)=>{try{await this.userLocaleInputOnChangeCallback(a,t);const n=o.get("portalItemResource");h(n)}catch(a){}},translatedLocaleInputOnChangeCallback:async(a,t,n,s)=>{try{await this.translatedLocaleInputOnChangeCallback(a,t,n,s),h(s)}catch(a){}}})}renderPrimaryContent(){var a,t;return n("div",{class:y.primaryContent,slot:"footer-end"},o.get("saving")?this.renderSavingIndicator():null,o.get("lastSave")?n("span",{key:"last-save",class:y.lastAutoSave},null===(a=this.messages)||void 0===a?void 0:a.lastAutoSave," ",this.intl.formatDate(o.get("lastSave"))):null,n("calcite-button",{onClick:()=>this.open=!1,class:y.closeButton},null===(t=this.messages)||void 0===t?void 0:t.close))}handleExpandCollapseAll(){this.isCollapse=!this.isCollapse;const a=new Map(d.uiData);c().forEach((t=>a.get(t).expanded=this.isCollapse)),o.set("uiData",a)}onSuggestionSelect(a){const t=a.detail,n=new Map(d.uiData);c().forEach((a=>{n.get(a).selected=a===t})),o.set("uiData",n)}close(){this.open=!1}handleLanguageSelection(a){o.set("currentLanguage",a.target.value)}async getTranslationData(){return o.get("portalItemResourceT9n")}async setTranslationData(a){return o.set("portalItemResourceT9n",a)}async getPortalItemResource(){return o.get("portalItemResource")}async batchWriteToPortalItemResource(a){o.set("saving",!0);try{const t=await this.getPortalItemResource(),n=Date.now();o.set("lastSave",n);const s=JSON.stringify(Object.assign(Object.assign({},a),{lastSave:n})),e=new Blob([s],{type:"application/json"});return await t.update(e),setTimeout((()=>o.set("saving",!1)),1500),this.translatorDataUpdated.emit(),Promise.resolve()}catch(a){return console.error("Error writing to portal item resource: ",a),o.set("saving",!1),Promise.reject()}}get el(){return l(this)}static get watchers(){return{locales:["handleLocaleChange"],appSettings:["handleAppSettings"]}}};A.style=".sc-instant-apps-language-translator-h{display:block}.sc-instant-apps-language-translator-h calcite-modal.sc-instant-apps-language-translator{--calcite-modal-content-padding:0}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header.sc-instant-apps-language-translator{display:flex;justify-content:space-between;width:100%}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header-text.sc-instant-apps-language-translator{font-size:18px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator{display:flex;align-items:center;font-size:14.5px;color:var(--calcite-color-brand)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__writing-icon.sc-instant-apps-language-translator{display:flex;justify-content:center;align-items:center;margin-right:5px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__close-button.sc-instant-apps-language-translator{width:175px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header-tip.sc-instant-apps-language-translator{padding:20px;max-width:45vw}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar.sc-instant-apps-language-translator{display:flex;width:100%;position:sticky;top:-2%;background:var(--calcite-color-foreground-1);z-index:1}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar.sc-instant-apps-language-translator calcite-label.sc-instant-apps-language-translator{--calcite-label-margin-bottom:0;font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator{box-sizing:border-box;display:flex;align-items:center;width:50%;padding:0.5%}.sc-instant-apps-language-translator-h .instant-apps-language-translator__user-lang-text.sc-instant-apps-language-translator{font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator:first-child{display:flex;justify-content:space-between}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator:nth-child(2) calcite-select.sc-instant-apps-language-translator{width:255px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__collapse-search-container.sc-instant-apps-language-translator{display:flex;justify-content:space-between}.sc-instant-apps-language-translator-h .instant-apps-language-translator__collapse-search-container.sc-instant-apps-language-translator calcite-input.sc-instant-apps-language-translator{width:300px;margin-left:30px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator{display:flex;align-items:center}.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__close-button.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__last-auto-save.sc-instant-apps-language-translator{margin-right:20px}.ck.ck-reset.ck-editor.ck-rounded-corners.sc-instant-apps-language-translator{margin-top:10px !important;margin-left:55px !important}.ck-editor__editable.sc-instant-apps-language-translator{height:70px !important;font-size:0.875rem !important;line-height:1.375 !important}.ck.ck-editor__editable_inline.sc-instant-apps-language-translator>.sc-instant-apps-language-translator:first-child,.ck.ck-editor__editable_inline.sc-instant-apps-language-translator>.sc-instant-apps-language-translator:last-child{--ck-spacing-large:0.5rem !important}html[dir=rtl] .sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__close-button.sc-instant-apps-language-translator,html[dir=rtl] .sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator,html[dir=rtl] .sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__last-auto-save.sc-instant-apps-language-translator{margin-right:unset;margin-left:20px}";export{A as instant_apps_language_translator}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,c as i,g as e,a as s,h as a,H as l}from"./p-8c40bdec.js";import{b as o,c as n,a as c}from"./p-80cb7c73.js";import{l as h,g as r}from"./p-075979ef.js";import{e as d,h as p}from"./p-d572627c.js";import{s as g}from"./p-bf007c87.js";import{c as b,r as m}from"./p-3d7eeb2d.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-fa639501.js";import"./p-4fe489cf.js";import"./p-2bc98cb0.js";import"./p-4f236b5d.js";import"./p-570b13d9.js";import"./p-0668e30d.js";const u=class{constructor(e){t(this,e),this.searchConfigurationChange=i(this,"searchConfigurationChange",7)}get el(){return e(this)}addresseeLayerIds=[];bufferColor=[227,139,79,.8];bufferOutlineColor=[255,255,255];customLabelEnabled;defaultBufferDistance;defaultBufferUnit;defaultExportTitle="";defaultNumLabelsPerPage=6;enableLayerFeatures=!0;enableLayerFeaturesOnLoad=!1;enableSearchDistance=!0;enableSearchDistanceOnLoad=!1;enableSketchTools=!0;featureEffect;featureHighlightEnabled;locale;mapView;noResultText;initialNotice="";searchConfiguration;selectionLayerIds=[];showRefineSelection=!1;showSearchSettings=!0;sketchLineSymbol;sketchPointSymbol;sketchPolygonSymbol;_exportGraphics=!1;_addMap=!1;_addResults=!0;_addTitle=!1;_downloadActive=!0;_exportType=o.PDF;_fetchingData=!1;_isMobile;_numDuplicates=0;_pageType=n.LIST;_saveEnabled=!1;_selectionSets=[];_translations;_activeSelection;_downloadTools;_geometryEngine;Graphic;_jsonUtils;_onboardingImageUrl="";_popupsEnabled;_removeDuplicates;_searchConfiguration;_selectTools;_mediaQuery;_titleElement;_titleValue=void 0;_numSelected=0;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(t){t?.popup&&(this._popupsEnabled=t?.popupEnabled),this._initSearchConfiguration(this.searchConfiguration)}async watchSearchConfigurationHandler(t,i){const e=JSON.stringify(t);this.mapView&&(e!==JSON.stringify(i)||e&&!this._searchConfiguration)&&(this._searchConfiguration=JSON.parse(e),this.searchConfigurationChange.emit(this._searchConfiguration),this._home())}async sketchLineSymbolWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&this._setLineSymbol(t)}async sketchPointSymbolWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&this._setPointSymbol(t)}async sketchPolygonSymbolWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&this._setPolygonSymbol(t)}async pageTypeWatchHandler(t,i){if(this._checkPopups(),this.mapView?.popup&&(this.mapView.popupEnabled=t===n.LIST&&this._popupsEnabled),t===n.EXPORT&&(this._fetchingData=!0,this._numDuplicates=await this._getNumDuplicates(),this._updateExportGraphics(),this._fetchingData=!1),this._clearHighlight(),i!==n.SELECT&&i!==n.REFINE||await this._clearSelection(),i===n.EXPORT&&this._removeExportGraphics(),t!==n.SELECT)return this._highlightFeatures()}searchConfigurationChange;selectionSetsChanged(t){this._selectionSets=[...t.detail]}connectedCallback(){this._mediaQuery=window.matchMedia("(max-width: 600px)"),this._mediaQuery.addEventListener("change",(t=>this._setIsMobile(t)))}async componentWillLoad(){await this._getTranslations(),await this._initModules(),this._initSymbols(),this._onboardingImageUrl=s("assets/data/images/onboarding.png")}render(){return a(l,{key:"f181d473e00426938204de5a5c178aefb4bb407a"},a("calcite-shell",{key:"8ad537ed97ff0df163367f2bb5fb5abe543acc07"},a("calcite-action-bar",{key:"b2189df6eb2bbee518a7f312ca8c2644d6d812b6",class:"border-bottom-1 action-bar-size","expand-disabled":!0,layout:"horizontal",slot:this._isMobile?"footer":"header"},this._getActionGroup("list-check",n.LIST,this._translations.myLists),this.showRefineSelection?this._getActionGroup("test-data",n.REFINE,this._translations.refineSelection):null,this._getActionGroup("export",n.EXPORT,this._translations.export)),this._getPage(this._pageType)))}async componentDidLoad(){this._initSearchConfiguration(this.searchConfiguration)}disconnectedCallback(){this._mediaQuery.removeEventListener("change",(t=>this._setIsMobile(t)))}async _initModules(){const[t,i,e]=await h(["esri/geometry/geometryEngine","esri/symbols/support/jsonUtils","esri/Graphic"]);this._geometryEngine=t,this._jsonUtils=i,this.Graphic=e}_initSearchConfiguration(t){this.searchConfiguration&&!this._searchConfiguration&&this.mapView&&(this._searchConfiguration=t,this.searchConfigurationChange.emit(this._searchConfiguration),this._home())}_initSymbols(){this._setLineSymbol(this.sketchLineSymbol),this._setPointSymbol(this.sketchPointSymbol),this._setPolygonSymbol(this.sketchPolygonSymbol)}_setLineSymbol(t){this.sketchLineSymbol="simple-line"===t?.type?t:this._jsonUtils.fromJSON(t||{type:"esriSLS",color:[130,130,130,255],width:2,style:"esriSLSSolid"})}_setPointSymbol(t){this.sketchPointSymbol="simple-marker"===t?.type?t:this._jsonUtils.fromJSON(t||{type:"esriSMS",color:[255,255,255,255],angle:0,xoffset:0,yoffset:0,size:6,style:"esriSMSCircle",outline:{type:"esriSLS",color:[50,50,50,255],width:1,style:"esriSLSSolid"}})}_setPolygonSymbol(t){this.sketchPolygonSymbol="simple-fill"===t?.type?t:this._jsonUtils.fromJSON(t||{type:"esriSFS",color:[150,150,150,51],outline:{type:"esriSLS",color:[50,50,50,255],width:2,style:"esriSLSSolid"},style:"esriSFSSolid"})}_setIsMobile(t){this._isMobile=t.matches}_getActionGroup(t,i,e){return a("calcite-action-group",{class:this.showRefineSelection?"w-1-3":"w-1-2",layout:"horizontal"},a("div",{class:"background-override"},a("calcite-action",{active:this._pageType===i,alignment:"center",class:"width-full height-full",icon:t,id:t,onClick:()=>{this._setPageType(i)},text:""})),a("calcite-tooltip",{label:"",placement:"bottom","reference-element":t},a("span",null,e)))}_setPageType(t){this._pageType=t}_getPage(t){let i;switch(t){case n.LIST:i=this._getListPage();break;case n.SELECT:i=this._getSelectPage();break;case n.EXPORT:i=this._getExportPage();break;case n.REFINE:i=this._getRefinePage()}return i}_getListPage(){const t=this._hasSelections(),i=t?this._translations.listHasSetsTip:""!==this.initialNotice?this.initialNotice:this._translations.selectLayerAndAdd;return a("calcite-panel",null,this._getLabel(this._translations.myLists),this._getNotice(i,"padding-sides-1 padding-bottom-1","word-wrap-anywhere"),t?this._getSelectionSetList():this._getOnboardingImage(),a("div",{class:"display-flex padding-1"},a("calcite-button",{onClick:()=>{this._setPageType(n.SELECT)},width:"full"},a("span",{class:"font-weight-500"},this._translations.add))))}_getOnboardingImage(){return a("div",{class:"display-flex padding-sides-1"},a("img",{class:"img-container",role:"presentation",src:this._onboardingImageUrl}))}_getSelectionSetList(){return a("div",{class:"padding-top-1-2 padding-bottom-1-2"},a("calcite-list",{class:"list-border margin-sides-1",label:""},this._selectionSets.reduce(((t,i,e)=>{const s=this._getSelectionSetIds(i);let l=!0;return i.workflowType===c.REFINE&&(l=Object.keys(i.refineInfos).reduce(((t,e)=>{const s=i.refineInfos[e];return t+(s.addIds.length+s.removeIds.length)}),0)>0),l&&t.push(a("calcite-list-item",{label:i.label,onClick:()=>this._gotoSelection(i,this.mapView)},a("div",{slot:"content"},a("div",{class:"list-label"},i.label),a("div",{class:"list-description"},i?.layerView?.layer.title),a("div",{class:"list-description"},this._translations.selectedFeatures.replace("{{n}}",s.length.toString()))),this._getAction(!0,"pencil","",(t=>this._openSelection(i,t)),!1,"actions-end"),this._getAction(!0,"x","",(t=>this._deleteSelection(e,t)),!1,"actions-end"))),t}),[])))}_getSelectionSetIds(t){return t.workflowType!==c.REFINE?t.selectedIds:Object.keys(t.refineInfos).reduce(((i,e)=>[...i,...t.refineInfos[e].addIds]),[])}_hasSelections(t=!1){let i=[];const e=this._selectionSets.some((t=>{if(t.workflowType===c.REFINE)return i=this._getSelectionSetIds(t),!0}));return t&&e?i.length>0||this._selectionSets.length>1:this._selectionSets.length>0}async _getNumDuplicates(){const t=this._getExportInfos(),i=await b(this.mapView.map,t),e=m(i);return i.length-e.length}_getExportInfos(){return this._selectionSets.reduce(((t,i)=>(i.download&&(i.workflowType!==c.REFINE?this._updateIds(i.layerView.layer.id,i.layerView,i.selectedIds,t):Object.keys(i.refineInfos).forEach((e=>{const s=i.refineInfos[e];s.addIds.length>0&&this._updateIds(e,s.layerView,s.addIds,t)}))),t)),{})}_updateIds(t,i,e,s){return s[t]?s[t].ids=s[t].ids.concat(e):s[t]={layerView:i,ids:e},s}_getSelectPage(){const t=this._translations.selectSearchTip;return a("calcite-panel",null,this._getLabel(this._translations.stepTwoFull,!0),this._getNotice(t,"padding-1","word-wrap-anywhere"),a("div",null,a("map-select-tools",{bufferColor:this.bufferColor,bufferOutlineColor:this.bufferOutlineColor,class:"font-bold",customLabelEnabled:this.customLabelEnabled,defaultBufferDistance:this.defaultBufferDistance,defaultBufferUnit:this.defaultBufferUnit,enableLayerFeatures:this.enableLayerFeatures,enableLayerFeaturesOnLoad:this.enableLayerFeaturesOnLoad,enableSearchDistance:this.enableSearchDistance,enableSearchDistanceOnLoad:this.enableSearchDistanceOnLoad,enableSketchTools:this.enableSketchTools,enabledLayerIds:this.addresseeLayerIds,isUpdate:!!this._activeSelection,locale:this.locale,mapView:this.mapView,noResultText:this.noResultText,onSelectionSetChange:t=>this._updateForSelection(t),ref:t=>{this._selectTools=t},searchConfiguration:this._searchConfiguration,searchDistanceEnabled:this.enableSearchDistanceOnLoad,selectionLayerIds:this.selectionLayerIds,selectionSet:this._activeSelection,sketchLineSymbol:this.sketchLineSymbol,sketchPointSymbol:this.sketchPointSymbol,sketchPolygonSymbol:this.sketchPolygonSymbol,useLayerFeaturesEnabled:this.enableLayerFeaturesOnLoad})),this._getPageNavButtons(this._translations.done,0===this._numSelected,(()=>{this._saveSelection()}),this._translations.cancel,!1,(()=>{this._home()})))}_getExportPage(){const t=this._hasSelections(this.showRefineSelection),i=this._numDuplicates>0?"display-block":"display-none";return a("calcite-panel",null,a("div",null,this._getLabel(this._translations.export,!1),t?a("div",null,this._getNotice(this._translations.exportTip,"padding-sides-1"),this._getLabel(this._translations.exportListsLabel),this._getExportSelectionLists(),a("div",{class:"padding-sides-1 "+i},a("div",{class:"display-flex"},a("calcite-label",{layout:"inline"},a("calcite-checkbox",{ref:t=>{this._removeDuplicates=t}}),a("div",{class:"display-flex"},this._translations.removeDuplicate,a("div",{class:"info-message padding-start-1-2"},a("calcite-input-message",{class:"info-blue margin-top-0",scale:"m"},` ${this._translations.numDuplicates.replace("{{n}}",this._numDuplicates.toString())}`)))),a("calcite-icon",{class:"padding-start-1-2 icon",flipRtl:!("he"===this.locale?.toLowerCase()),icon:"question",id:"remove-duplicates-icon",scale:"s"})),a("calcite-popover",{closable:!0,label:"",referenceElement:"remove-duplicates-icon"},a("span",{class:"tooltip-message"},this._translations.duplicatesTip))),a("div",{class:"border-bottom"}),a("div",{class:"padding-top-sides-1"},a("calcite-segmented-control",{class:"w-100",onCalciteSegmentedControlChange:t=>this._exportTypeChange(t),width:"full"},a("calcite-segmented-control-item",{checked:this._exportType===o.PDF,class:"w-50 end-border",value:o.PDF},a("span",{class:"font-weight-500"},this._translations.pdf)),a("calcite-segmented-control-item",{checked:this._exportType===o.CSV,class:"w-50",value:o.CSV},a("span",{class:"font-weight-500"},this._translations.csv)))),a("div",{class:"padding-bottom-1"},this._getExportOptions()),a("div",{class:"padding-1 display-flex"},a("calcite-button",{disabled:!this._downloadActive||this._fetchingData||!this._addMap&&!this._addResults,loading:this._fetchingData,onClick:()=>{this._export()},width:"full"},a("span",{class:"font-weight-500"},this._translations.export)))):this._getNotice(this._translations.downloadNoLists,"padding-sides-1 padding-bottom-1")))}_exportTypeChange(t){this._exportType=t.target.value}_getExportOptions(){const t=this._addTitle?"display-block":"display-none",i=this._addMap?"display-flex":"display-none",e=this._titleValue?this._titleValue:this.defaultExportTitle?this.defaultExportTitle:"",s=this._addResults?"":"display-none";return a("div",{class:this._exportType===o.PDF?"display-block":"display-none"},this._getLabel(this._translations.pdfOptions,!0),a("div",{class:"padding-top-sides-1"},a("calcite-label",{class:"label-margin-0",layout:"inline"},a("calcite-checkbox",{checked:this._addResults,onCalciteCheckboxChange:()=>this._addResults=!this._addResults}),this._translations.addResults)),a("div",{class:`padding-top-sides-1 ${s}`},a("calcite-label",{class:"label-margin-0"},this._translations.selectPDFLabelOption)),a("div",{class:`padding-sides-1 ${s}`},a("pdf-download",{defaultNumLabelsPerPage:parseInt(this.defaultNumLabelsPerPage.toString(),10),disabled:!this._downloadActive,locale:this.locale,ref:t=>{this._downloadTools=t}})),a("div",{class:"padding-top-sides-1"},a("calcite-label",{class:"label-margin-0",layout:"inline"},a("calcite-checkbox",{checked:this._addTitle,onCalciteCheckboxChange:()=>this._addTitle=!this._addTitle}),this._translations.title)),a("div",{class:t},this._getLabel(this._translations.title,!0,""),a("calcite-input-text",{class:"padding-sides-1",onCalciteInputTextInput:()=>this._changeTitle(),placeholder:this._translations.titlePlaceholder,ref:t=>{this._titleElement=t},value:e})),a("div",{class:"padding-top-sides-1"},a("calcite-label",{class:"label-margin-0",layout:"inline"},a("calcite-checkbox",{checked:this._addMap,onCalciteCheckboxChange:()=>this._handleAddMapChange()}),this._translations.includeMap)),a("div",{class:`padding-top-sides-1 ${i}`},a("calcite-label",{class:"label-margin-0",layout:"inline"},a("calcite-checkbox",{checked:this._exportGraphics,onCalciteCheckboxChange:()=>this._handleExportGraphicsChange()}),this._translations.listGraphics),a("calcite-icon",{class:"padding-start-1-2 icon",flipRtl:!("he"===this.locale?.toLowerCase()),icon:"question",id:"list-graphics-icon",scale:"s"}),a("calcite-popover",{closable:!0,label:"",referenceElement:"list-graphics-icon"},a("span",{class:"tooltip-message"},this._translations.listGraphicsTip))))}_handleAddMapChange(){this._addMap=!this._addMap,this._updateExportGraphics()}_handleExportGraphicsChange(){this._exportGraphics=!this._exportGraphics,this._updateExportGraphics()}_getManagedLayer(t){let i;return Object.keys(g.managedLayers).some((e=>{const s=this.mapView.map.layers.findIndex((t=>t.title===e));if(g.managedLayers[e]===t)return i=this.mapView.map.layers.getItemAt(s),!0})),i}_updateExportGraphics(t=!1){!t&&this._exportGraphics&&this._addMap||this._removeExportGraphics(),this._exportGraphics&&this._addMap&&this._addExportGraphics()}_removeExportGraphics(){const t=this._getManagedLayer("sketch"),i=this._getManagedLayer("buffer");t&&t.graphics.removeAll(),i&&i.graphics.removeAll()}_addExportGraphics(){const t=this._getManagedLayer("sketch"),i=this._getManagedLayer("buffer");this._selectionSets.forEach((e=>{if(e.download&&(t&&t.graphics.add(e.sketchGraphic),i)){const t=new this.Graphic({geometry:e.buffer,symbol:{type:"simple-fill",color:this.bufferColor,outline:{color:this.bufferOutlineColor,width:1}}});i.graphics.add(t)}}))}_getRefinePage(){const t=this._hasSelections();return a("calcite-panel",null,this._getLabel(this._translations.refineSelection),t?a("div",null,this._getNotice(this._translations.refineTip,"padding-sides-1"),a("refine-selection",{enabledLayerIds:this.selectionLayerIds,locale:this.locale,mapView:this.mapView,selectionSets:this._selectionSets,sketchLineSymbol:this.sketchLineSymbol,sketchPointSymbol:this.sketchPointSymbol,sketchPolygonSymbol:this.sketchPolygonSymbol})):this._getNotice(this._translations.refineTipNoSelections,"padding-sides-1"))}_getPageNavButtons(t,i,e,s,l,o){return a("div",{class:"padding-bottom-1"},a("div",{class:"display-flex padding-top-sides-1"},a("calcite-button",{disabled:i,onClick:e,width:"full"},a("span",{class:"font-weight-500"},t))),a("div",{class:"display-flex padding-top-1-2 padding-sides-1"},a("calcite-button",{appearance:"outline",disabled:l,onClick:o,width:"full"},a("span",{class:"font-weight-500"},s))))}_changeTitle(){this._titleValue=this._titleElement.value}_getNotice(t,i="padding-1",e=""){return a("calcite-notice",{class:i,icon:"lightbulb",kind:"success",open:!0},a("div",{class:e,slot:"message"},t))}_getLabel(t,i=!1,e="font-bold"){return a("div",{class:"padding-top-sides-1"},a("calcite-label",{class:e+=i?" label-margin-0":""},t))}_getExportSelectionLists(){return this._selectionSets.reduce(((t,i)=>{const e=this._getSelectionSetIds(i),s=i.workflowType!==c.REFINE||e.length>0;return!this._downloadActive&&i.download&&s&&(this._downloadActive=!0),s&&t.push(a("div",{class:"display-flex padding-sides-1 padding-bottom-1"},a("calcite-checkbox",{checked:i.download,class:"align-center",onClick:()=>{this._toggleDownload(i.id)}}),a("calcite-list",{class:"list-border margin-start-1-2 width-full",id:"download-list",label:""},a("calcite-list-item",{disabled:!i.download,label:i.label,onClick:()=>{this._toggleDownload(i.id)}},a("div",{slot:"content"},a("div",{class:"list-label"},i.label),a("div",{class:"list-description"},i?.layerView?.layer.title),a("div",{class:"list-description"},this._translations.selectedFeatures.replace("{{n}}",e.length.toString()))))))),t}),[])||a("div",null)}async _toggleDownload(t){let i=!1;this._selectionSets=this._selectionSets.map((e=>(e.download=e.id===t?!e.download:e.download,i=!!e.download||i,e))),this._updateExportGraphics(!0),this._downloadActive=i,this._fetchingData=!0,this._numDuplicates=await this._getNumDuplicates(),this._fetchingData=!1,await this._highlightFeatures()}async _export(){const t=this._addResults?this._getSelectionIdsAndViews(this._selectionSets,!0):{};if(this._exportType===o.PDF){let i="";if(this._addMap&&this.mapView){const t=await this.mapView.takeScreenshot({width:1500,height:2e3});i=t?.dataUrl}this._fetchingData=!0,await this._downloadTools.downloadPDF(this.mapView.map,t,this._removeDuplicates.checked,this._addTitle?this._titleElement.value:"",i),this._fetchingData=!1}this._exportType===o.CSV&&(this._fetchingData=!0,await this._downloadTools.downloadCSV(this.mapView.map,t,this._removeDuplicates.checked),this._fetchingData=!1)}_getSelectionIdsAndViews(t,i=!1){return(i?t.filter((t=>t.download)):t).reduce(((t,i)=>{if(i.workflowType===c.REFINE)Object.keys(i.refineInfos).forEach((e=>{const s=i.refineInfos[e];s.addIds&&(t=this._updateExportInfos(t,s.layerView.layer.id,i.label,s.addIds,s.layerView))}));else{const e=i?.layerView?.layer.id;t=this._updateExportInfos(t,e,i.label,i.selectedIds,i.layerView)}return t}),{})}_updateExportInfos(t,i,e,s,a){return i&&Object.keys(t).indexOf(i)>-1?(t[i].ids=[...new Set([...t[i].ids,...s])],t[i].selectionSetNames.push(e)):i&&(t[i]={ids:s,layerView:a,selectionSetNames:[e]}),t}_getAction(t,i,e,s,l=!1,o=""){return a("calcite-action",{disabled:!t,icon:i,iconFlipRtl:!0,indicator:l,onClick:s,slot:o,text:e})}_updateForSelection(t){this._numSelected=t.detail,this._saveEnabled=this._numSelected>0}async _home(){await this._clearSelection(),this._setPageType(n.LIST)}async _saveSelection(){const t=await(this._selectTools?.getSelection()),i=this._selectTools?.isUpdate;return this._selectionSets=i?this._selectionSets.map((i=>i.id===t.id?t:i)):[...this._selectionSets,t],this._home()}async _clearSelection(){await(this._selectTools?.clearSelection()),this._numSelected=0,this._activeSelection=void 0}_deleteSelection(t,i){return i.stopPropagation(),this._selectionSets=this._selectionSets.filter(((i,e)=>{if(e!==t)return i})),this._highlightFeatures()}_gotoSelection(t,i){d(t.selectedIds,t.layerView,i,this.featureHighlightEnabled,this.featureEffect)}_openSelection(t,i){i.stopPropagation(),this._activeSelection=t,this._pageType=t.workflowType===c.REFINE?n.REFINE:n.SELECT}async _highlightFeatures(){this._clearHighlight();const t=this._getSelectionIdsAndViews(this._selectionSets,this._pageType===n.EXPORT),i=Object.keys(t);if(i.length>0)for(let e=0;e<i.length;e++){const s=t[i[e]];g.highlightHandles.push(await p(s.ids,s.layerView,this.mapView))}}_checkPopups(){"boolean"!=typeof this._popupsEnabled&&(this._popupsEnabled=this.mapView?.popupEnabled)}_clearHighlight(){g&&g.highlightHandles&&g.removeHandles()}async _getTranslations(){const t=await r(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"],searchConfiguration:["watchSearchConfigurationHandler"],sketchLineSymbol:["sketchLineSymbolWatchHandler"],sketchPointSymbol:["sketchPointSymbolWatchHandler"],sketchPolygonSymbol:["sketchPolygonSymbolWatchHandler"],_pageType:["pageTypeWatchHandler"]}}};u.style=':host{display:block;--calcite-input-message-spacing-value:0}.align-center{align-items:center}.border-bottom-1{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-color-border-3)}.action-bar-size{height:3.5rem;width:100%}.w-1-2{width:50%}.w-1-3{width:33.33%}.width-full{width:100%}.height-full{height:100%}.padding-1{padding:1rem}.padding-top-sides-1{padding-block-start:1rem;padding-inline-start:1rem;padding-inline-end:1rem}.padding-sides-1{padding-inline-start:1rem;padding-inline-end:1rem}.padding-end-1-2{padding-inline-end:.5rem}.padding-top-1-2{padding-block-start:.5rem}.padding-top-1{padding-top:1rem}.padding-bottom-1{padding-bottom:1rem}.padding-bottom-1-2{padding-bottom:.5rem}.info-blue{color:#00A0FF}.info-message{justify-content:center;display:grid}.font-bold{font-weight:bold}.display-flex{display:flex}.display-block{display:block}.display-none{display:none}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.padding-start-1-2{padding-inline-start:0.5rem}.list-border{border:1px solid var(--calcite-color-border-2)}.margin-sides-1{margin-inline-start:1rem;margin-inline-end:1rem}.margin-start-1-2{margin-inline-start:0.5rem}.float-right{float:right}.float-right[dir="rtl"]{float:left}.float-left{float:left}.float-left[dir="rtl"]{float:right}.margin-top-0{margin-block-start:0 !important}.height-1-1-2{height:1.5rem}.main-background{background-color:var(--calcite-color-foreground-2)}.position-right{position:absolute;right:1rem}.position-right[dir="rtl"]{position:absolute;left:1rem}.label-margin-0{--calcite-label-margin-bottom:0}.list-label{color:var(--calcite-color-text-1)}.list-label,.list-description{font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal);overflow-wrap:break-word;word-break:break-word}.list-description{margin-block-start:0.125rem;color:var(--calcite-color-text-3)}.img-container{width:100%;height:100%}.font-weight-500{font-weight:500}.background-override{height:100%;width:100%;--calcite-color-foreground-3:var(--calcite-color-brand);--calcite-color-foreground-2:var(--calcite-color-brand-hover);--calcite-color-text-1:var(--calcite-color-text-inverse)}.word-wrap-anywhere{word-wrap:anywhere}';export{u as public_notification}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,c as i,g as e,h as s,H as o,F as a}from"./p-8c40bdec.js";import{g as l}from"./p-075979ef.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}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,c as n,h as i,H as s,g as e}from"./p-8c40bdec.js";import{l as o}from"./p-08ad0b7a.js";import{g as r}from"./p-ea19f91b.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}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as e,c as t,g as i,h as o,H as s}from"./p-8c40bdec.js";import{g as a}from"./p-075979ef.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";const r=class{constructor(i){e(this,i),this.solutionItemHover=t(this,"solutionItemHover",7),this.solutionItemSelect=t(this,"solutionItemSelect",7),this.solutionTypeHover=t(this,"solutionTypeHover",7)}get el(){return i(this)}locale;listSelectionMode="none";templateInfos=[];_sortedTemplateInfos=[];_translations;_sortOrder=["Hub Site Application","Hub Page","Web Experience","Instant App","Web Mapping Application","Dashboard","StoryMap","Form","QuickCapture Project","Workflow","Big Data Analytic (hosted)","Real Time Analytic (hosted)","Feed (hosted)","Tool","Notebook","Data Pipeline","Project Package","Desktop Application Template","TypeNotFound","Web Map","Web Scene","Feature Layer (hosted, view)","Feature Layer (hosted)","Table (hosted, view)","Table (hosted)","Tile Layer","CSV","Microsoft Excel","Microsoft Word","Report Template","Rule Package","Group"];async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async templateInfosWatchHandler(){this._sortedTemplateInfos=this._sortTemplates()}solutionItemHover;solutionItemSelect;solutionTypeHover;async componentWillLoad(){this._sortedTemplateInfos=this._sortTemplates(),await this._getTranslations()}render(){return o(s,{key:"705d8a65c8b27eb2724ca73c7d092432ff680149"},this._getAccordion())}_deselectOthers(e){"single"!==this.listSelectionMode&&"single-persist"!==this.listSelectionMode||this.el.shadowRoot.querySelectorAll("calcite-list-item").forEach((t=>{t.id!==e&&(t.selected=!1)}))}_getAccordion(){const e=[],t=this._sortedTemplateInfos.reduce(((t,i)=>{const o=this._getTypeForDisplay(i.type,i.typeKeywords);return e.indexOf(o)<0&&(e.push(o),t.push(this._getAccordionItem(i))),t}),[]);return o("calcite-accordion",{class:"border-override",selectionMode:"single"},t)}_getAccordionItem(e){const t=this._getTypeForDisplay(e.type,e.typeKeywords),i=this._sortedTemplateInfos.filter((e=>this._getTypeForDisplay(e.type,e.typeKeywords)===t));return o("calcite-accordion-item",{description:`${t} (${i.length})`,onMouseEnter:()=>this.solutionTypeHover.emit({itemType:t,entering:!0}),onMouseLeave:()=>this.solutionTypeHover.emit({itemType:t,entering:!1})},o("solution-item-icon",{class:"padding-start-1 display-flex align-center",slot:"actions-start",type:e.type,typeKeywords:e.typeKeywords}),this._getList(i))}_getList(e){const t=this._sortTemplatesByTitle(e);return o("calcite-list",{label:"",selectionAppearance:"border",selectionMode:this.listSelectionMode},t.map((e=>this._getListItem(e))))}_getListItem(e){return o("calcite-list-item",{description:e.snippet,id:e.id,label:e.title,onCalciteListItemSelect:()=>{this._deselectOthers(e.id),this.solutionItemSelect.emit({itemId:e.id,selected:!0})},onMouseEnter:()=>this.solutionItemHover.emit({itemId:e.id,entering:!0}),onMouseLeave:()=>this.solutionItemHover.emit({itemId:e.id,entering:!1}),value:e.id},e.url?o("calcite-action",{icon:"launch",onClick:()=>window.open(e.url,"_blank"),slot:"actions-end",text:this._translations?.openDetails?.replace("{{solutionTitle}}",e.title)}):null)}_sortTemplatesByTitle(e){return e.sort(((e,t)=>e.title<t.title?-1:e.title>t.title?1:0))}_sortTemplates(){return this.templateInfos.sort(((e,t)=>{const i=this._getTypeForSort(e),o=this._getTypeForSort(t);return this._sortOrder.indexOf(i)-this._sortOrder.indexOf(o)}))}_getTypeForSort(e){let t=this._getTypeForDisplay(e.type,e.typeKeywords);return this._sortOrder.indexOf(t)<0&&(t="TypeNotFound"),t}_getTypeForDisplay(e,t){let i=e;if("Feature Service"===e){const e=t.indexOf("View Service")>-1,o=t.indexOf("Table")>-1;i=e&&o?"Table (hosted, view)":o?"Table (hosted)":e?"Feature Layer (hosted, view)":"Feature Layer (hosted)"}return"Web Mapping Application"===e&&(i=t.indexOf("configurableApp")>-1?"Instant App":i),i="Geoprocessing Service"===e?"Tool":i,i="Feed"===e?"Feed (hosted)":i,i="Real Time Analytic"===e?"Real Time Analytic (hosted)":i,i="Big Data Analytic"===e?"Big Data Analytic (hosted)":i,i="Vector Tile Service"===e?"Tile Layer":i,i}async _getTranslations(){const e=await a(this.el);this._translations=e[0]}static get watchers(){return{locale:["localeWatchHandler"],templateInfos:["templateInfosWatchHandler"]}}};r.style=":host{display:block}.padding-start-1{padding-inline-start:1rem}.border-override{--calcite-accordion-border-color:var(--calcite-color-border-1) !important}.display-flex{display:flex}.align-center{align-items:center}";export{r as solution_item_accordion}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,c as e,g as s}from"./p-8c40bdec.js";import{s as r}from"./p-1309ac58.js";import{c as a,d as i}from"./p-f6e81cf8.js";import"./p-fa639501.js";import"./p-80cb7c73.js";import"./p-4f236b5d.js";import"./p-d4056c1c.js";import"./p-570b13d9.js";import"./p-0668e30d.js";const o=class{constructor(s){t(this,s),this.stateLoaded=e(this,"stateLoaded",7)}get el(){return s(this)}value="";templates=[];authentication;connectedCallback(){this._handleValueChange(this.value),this._initValueObserver()}render(){return null}stateLoaded;async getStoreInfo(t){return Promise.resolve(r.getStoreInfo(t))}_valueObserver;_handleValueChange(t){if(""!==t){const e=JSON.parse(t);r.setStoreInfo("solutionData",e);const s=a(e.templates);r.setStoreInfo("featureServices",s),r.setStoreInfo("spatialReferenceInfo",i(s,e)),this.templates=e.templates,this.stateLoaded.emit(r)}}_initValueObserver(){this._valueObserver=new MutationObserver((t=>{t.some((t=>{const e=t.target[t.attributeName];if("attributes"===t.type&&"value"===t.attributeName&&e!==t.oldValue)return this._handleValueChange(e),!0}))})),this._valueObserver.observe(this.el,{attributes:!0,attributeOldValue:!0})}};export{o as store_manager}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,c as e,h as a,H as s,g as i}from"./p-8c40bdec.js";import{g as n}from"./p-ac122d9e.js";import{S as h}from"./p-2bc98cb0.js";import{w as o}from"./p-04674a1e.js";import{g as r}from"./p-a42ff7fe.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";const d={base:"instant-apps-header--standard",headerContainer:"instant-apps-header__header-container",headerContent:"instant-apps-header__header-content",flipRtl:"instant-apps-header--rtl",logoScale:"instant-apps-header__logo-scale--",logoHeight:"instant-apps-header__logo-height--",standardHeight:"instant-apps-header__standard-height",actionsEndContainer:"instant-apps-header__actions-end-container",alignment:{center:"instant-apps-header__header-content--center",right:"instant-apps-header__header-content--right"}},p=class{constructor(a){t(this,a),this.infoIsOpenChanged=e(this,"infoIsOpenChanged",6),this._sanitizer=new h({whiteList:{h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],img:["style","src","width","height"],pre:["style"],p:["id","class","style"],div:["id","class","style","role"],span:["id","class","style","role"],figure:["class","style"],header:["id","class","style","role"]}},!0),this.dir=void 0,this.titleText=void 0,this.titleTextLink=void 0,this.backgroundColor=void 0,this.textColor=void 0,this.logoImage=void 0,this.logoScale="m",this.logoImageAltText=void 0,this.logoLink=void 0,this.infoButton=!1,this.infoIsOpen=!1,this.infoTitleText=void 0,this.customHeaderHtml=void 0,this.headerAlignment="left",this.customHeaderCss=void 0,this.fontFamily="var(--calcite-sans-family);",this.mobileWidthBreakpoint=o.medium[1],this.initialScale="m"}sanitizeCustomHeaderHtml(){this.customHeaderHtml=this._sanitizer.sanitize(this.customHeaderHtml)}componentWillLoad(){this.dir=n(this.el),this.handleMobileBreakpoints(),this.dir=n(this.el),this.customHeaderHtml=this._sanitizer.sanitize(this.customHeaderHtml)}render(){var t,e,i,n;const h="undefined"===this.logoImage||"undefined"===(null===(e=null===(t=this.logoImage)||void 0===t?void 0:t.split("?"))||void 0===e?void 0:e[0])||""===(null===(n=null===(i=this.logoImage)||void 0===i?void 0:i.split("?"))||void 0===n?void 0:n[0])||!this.logoImage,o=this.renderLogo(h),p=this.renderTitle(),l="right"===this.headerAlignment||"center"===this.headerAlignment?d.headerContent.concat(" ",d.alignment[this.headerAlignment]):d.headerContent,c=r(this.fontFamily);return a(s,{key:"f2d1760c4a1345ef24c913a24f95691d0de6867d"},this.customHeaderHtml?[a("style",null,this.customHeaderCss),a("div",{id:"customHeader",innerHTML:this.customHeaderHtml})]:a("header",{class:`${d.base}${"rtl"===this.dir?` ${d.flipRtl}`:""}${this.logoImage&&!h?` ${d.logoHeight}${this.logoScale}`:` ${d.standardHeight}`}`,style:{backgroundColor:this.backgroundColor,fontFamily:c}},a("div",{class:d.headerContainer},a("span",{class:l},o,p,this.infoButton?a("calcite-button",{style:{"--calcite-color-text-1":this.textColor},id:"infoButton",alignment:"start",appearance:"transparent",kind:"neutral","icon-start":"information-f",scale:"s",label:this.infoTitleText,title:this.infoTitleText,onClick:this.toggleInfo.bind(this)}):null),a("div",{class:d.actionsEndContainer},a("slot",{name:"actions-end"})))))}renderLogo(t){return t?"":this.logoImage&&this.logoLink?a("a",{href:`${this.logoLink}`,target:"_blank"},a("img",{class:`${d.logoScale}${this.logoScale}`,src:`${this.logoImage}`,alt:`${this.logoImageAltText}`})):this.logoImage?a("img",{class:`${d.logoScale}${this.logoScale}`,src:`${this.logoImage}`,alt:this.logoImageAltText}):""}renderTitle(){return this.titleText&&this.titleTextLink?a("a",{style:{color:this.textColor},href:`${this.titleTextLink}`,rel:"noopener noreferrer",target:"_blank"},a("h1",{style:{color:this.textColor}},this.titleText)):a("h1",{style:{color:this.textColor}},this.titleText)}toggleInfo(){return this.infoIsOpen=!this.infoIsOpen,this.infoIsOpenChanged.emit(this.infoIsOpen),Promise.resolve()}mqlCallback(){return t=>{const{matches:e}=t;this.logoScale=e?"s":this.initialScale}}handleMobileBreakpoints(){this.initialScale=this.logoScale;const t=window.matchMedia(`(max-width: ${this.mobileWidthBreakpoint}px)`);t.matches&&(this.logoScale="s"),t.addEventListener("change",this.mqlCallback())}get el(){return i(this)}static get watchers(){return{customHeaderHtml:["sanitizeCustomHeaderHtml"]}}};p.style=":host{--instant-apps-header-height:auto;--instant-apps-header-min-height:50px;--instant-apps-header-title-text-link-decoration:underline;--instant-apps-header-height--logo-scale--s:55px;--instant-apps-header-logo-width--logo-scale--s:35px;--instant-apps-header-logo-height--logo-scale--s:35px;--instant-apps-header-height--logo-scale--m:70px;--instant-apps-header-logo-width--logo-scale--m:50px;--instant-apps-header-logo-height--logo-scale--m:50px;--instant-apps-header-height--logo-scale--l:80px;--instant-apps-header-logo-width--logo-scale--l:60px;--instant-apps-header-logo-height--logo-scale--l:60px;--instant-apps-header-actions-end-height:auto;width:100%}:host .image.image_resized img{width:100%}:host .instant-apps-header--standard{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;width:100%;height:var(--instant-apps-header-height);background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);font-family:var(--calcite-sans-family);min-height:var(--instant-apps-header-min-height)}:host .instant-apps-header--standard .instant-apps-header__header-container{display:flex;align-items:center;width:100%;height:inherit}:host .instant-apps-header--standard .instant-apps-header__header-container slot{display:flex;height:inherit}:host .instant-apps-header--standard .instant-apps-header__header-container ::slotted(*){display:flex;min-height:var(--instant-apps-header-min-height);height:var(--instant-apps-header-height)}:host .instant-apps-header--standard .instant-apps-header__header-container ::slotted(*) calcite-button{height:100%}:host .instant-apps-header--standard .instant-apps-header__header-content{box-sizing:border-box;display:flex;align-items:center;width:100%;min-width:0;height:inherit;padding:5px 10px}:host .instant-apps-header--standard .instant-apps-header__header-content a{display:flex;align-items:center;-webkit-text-decoration:var(--instant-apps-header-title-text-link-decoration);text-decoration:var(--instant-apps-header-title-text-link-decoration)}:host .instant-apps-header--standard .instant-apps-header__header-content a img{padding-right:0}:host .instant-apps-header--standard .instant-apps-header__header-content img{margin:10px}:host .instant-apps-header--standard .instant-apps-header__header-content h1{margin:0;font-size:1.25rem;color:var(--calcite-color-text-1);font-weight:430;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host .instant-apps-header--standard .instant-apps-header__header-content #infoButton{margin-inline-start:10px}:host .instant-apps-header--standard .instant-apps-header__header-content--center{justify-content:center}:host .instant-apps-header--standard .instant-apps-header__header-content--right{justify-content:end}:host .instant-apps-header__logo-height--s{height:var(--instant-apps-header-height--logo-scale--s)}:host .instant-apps-header__logo-height--s .instant-apps-header__header-content h1{font-size:1.125rem}:host .instant-apps-header__logo-scale--s{width:var(--instant-apps-header-logo-width--logo-scale--s);height:var(--instant-apps-header-logo-height--logo-scale--s)}:host .instant-apps-header__logo-height--m{height:var(--instant-apps-header-height--logo-scale--m)}:host .instant-apps-header__logo-scale--m{width:var(--instant-apps-header-logo-width--logo-scale--m);height:var(--instant-apps-header-logo-height--logo-scale--m)}:host .instant-apps-header__logo-height--l{height:var(--instant-apps-header-height--logo-scale--l)}:host .instant-apps-header__logo-height--l .instant-apps-header__header-content h1{font-size:1.375rem}:host .instant-apps-header__logo-scale--l{width:var(--instant-apps-header-logo-width--logo-scale--l);height:var(--instant-apps-header-logo-height--logo-scale--l)}:host .instant-apps-header__actions-end-container{height:var(--instant-apps-header-actions-end-height);display:flex}:host .instant-apps-header__sign-in-container{height:inherit;display:flex;align-items:center}:host .instant-apps-header__sign-in-container calcite-dropdown,:host .instant-apps-header__sign-in-container calcite-navigation-user{height:100%}:host .instant-apps-header__sign-in-container calcite-button{margin:0 10px}:host .instant-apps-header__sign-in-container calcite-dropdown-group{min-width:140px}";export{p as instant_apps_header}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as s,h as i,H as t,g as o}from"./p-8c40bdec.js";const e=class{constructor(i){s(this,i),this.inTour=void 0,this.currentId=void 0,this.instantAppsPopovers=new Map,this.beforeOpen=()=>Promise.resolve()}componentWillLoad(){var s;Array.from(null===(s=this.host.querySelector("[slot='popovers']"))||void 0===s?void 0:s.children).forEach(((s,i)=>{const t=s.getAttribute("ref-id");s.parent=this,s.index=i,this.instantAppsPopovers.set(t,s)})),this.host.addEventListener("calcitePopoverOpen",(s=>{const i=s.target.getAttribute("ref-id");this.currentId=i}))}render(){return i(t,{key:"02dd6367b259671584e90cc0961394d9e2c95593"},i("slot",{key:"97eed5108c00e29ea2efc8f4ec772d3953224d82",name:"popovers"}))}next(){const s=Array.from(this.instantAppsPopovers.keys()),i=s.indexOf(this.currentId)+1,t=s[i];this.close(this.currentId),this.open(t)}previous(){const s=Array.from(this.instantAppsPopovers.keys()),i=s.indexOf(this.currentId)-1,t=s[i];this.close(this.currentId),this.open(t)}done(){this.endTour()}handlePopoverProps(s){var i;Array.from(null===(i=this.host.querySelector("[slot='popovers']"))||void 0===i?void 0:i.children).forEach((i=>{i.disableAction=s.disableAction,i.pagination=s.pagination}))}async open(s){return this.beforeOpen().then((()=>{var i;(null===(i=this.instantAppsPopovers.get(s))||void 0===i?void 0:i.firstElementChild).open=!0}))}async close(s){var i;(null===(i=this.instantAppsPopovers.get(s))||void 0===i?void 0:i.firstElementChild).open=!1}async beginTour(){this.inTour=!0,this.handlePopoverProps({pagination:!0,disableAction:!0});const s=Array.from(this.instantAppsPopovers.keys());this.open(s[0])}async endTour(){this.close(this.currentId),this.inTour=!1,this.handlePopoverProps({pagination:!1,disableAction:!1})}get host(){return o(this)}};e.style=":host{display:block}";export{e as instant_apps_popovers}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,c as i,g as e,h as s,H as a}from"./p-8c40bdec.js";import{l as h,g as n}from"./p-075979ef.js";import{f as l}from"./p-80cb7c73.js";import{s as r}from"./p-bf007c87.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-fa639501.js";const o=class{constructor(e){t(this,e),this.bufferComplete=i(this,"bufferComplete",7),this.distanceChanged=i(this,"distanceChanged",7),this.unitChanged=i(this,"unitChanged",7)}get el(){return e(this)}appearance="text";distance=0;geometries=[];locale;max;min=0;sliderTicks=10;unionResults=!0;unit="meters";disabled=!1;_translations;_geometryEngine;_bufferTimeout;_unitElement;_units;geometriesWatchHandler(){this._buffer()}disabledWatchHandler(){this._buffer()}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async getTranslatedUnit(t){return this._units||await this._defineTranslations(),this._units[t]}bufferComplete;distanceChanged;unitChanged;async componentWillLoad(){await this._defineTranslations(),await this._initModules()}render(){return s(a,{key:"56719f53eabb0743adb129546e27e7dc99399021"},"text"===this.appearance?this._getTextBoxDisplay():this._getSliderDisplay())}async _defineTranslations(){await this._getTranslations(),this._initTranslatedUnits()}async _initModules(){const[t]=await h(["esri/geometry/geometryEngine"]);this._geometryEngine=t}_initTranslatedUnits(){this._units={feet:this._translations.feet,meters:this._translations.meters,miles:this._translations.miles,kilometers:this._translations.kilometers}}_getUnits(){return Object.keys(this._units).map((t=>s("calcite-option",{label:this._units[t],selected:this.unit===t,value:t})))}_setDistance(t){const i=parseInt(t.target.value,10);this.distance!==i&&i>=this.min&&(this.distanceChanged.emit({oldValue:this.distance,newValue:i}),this.distance=i,this.distance>0?this._buffer():this.bufferComplete.emit(void 0))}_setUnit(t){this.unitChanged.emit({oldValue:this.unit,newValue:t}),this.unit=t,this._buffer()}_buffer(){this.disabled?this.bufferComplete.emit(void 0):(this._bufferTimeout&&clearTimeout(this._bufferTimeout),this._bufferTimeout=setTimeout((()=>{if(this.geometries?.length>0&&this.unit&&this.distance>0){const t=this.geometries[0].spatialReference,i=t.isWGS84||t.isWebMercator?this._geometryEngine.geodesicBuffer(this.geometries,this.distance,this.unit,this.unionResults):this._geometryEngine.buffer(this.geometries,this.distance,this.unit,this.unionResults);this.bufferComplete.emit(i)}}),400))}_getTextBoxDisplay(){return s("div",{class:"c-container"},s("calcite-input",{class:"padding-end-1 w-50",max:this.max&&this.max>0?this.max:void 0,min:this.min,"number-button-type":"vertical",onCalciteInputInput:t=>this._setDistance(t),placeholder:"0",type:"number",value:this.distance?this.distance.toString():void 0}),s("calcite-select",{class:"flex-1 w-50",label:"label",onCalciteSelectChange:()=>this._setUnit(this._unitElement.value),ref:t=>{this._unitElement=t}},this._getUnits()))}_getSliderDisplay(){return s("div",null,s("calcite-slider",{labelHandles:!0,max:this.max&&this.max>0?this.max:void 0,min:this.min,ticks:this.sliderTicks}))}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}_testAccess(t,i){switch(t){case"_setUnit":return this._setUnit(i);case"_setDistance":return this._setDistance(i)}return null}static get watchers(){return{geometries:["geometriesWatchHandler"],disabled:["disabledWatchHandler"],locale:["localeWatchHandler"]}}};o.style=':host{display:block}.c-container{display:inline-flex}.flex-1{flex:"1"}.padding-end-1{padding-inline-end:1rem}.w-50{width:50%}';const c=class{constructor(e){t(this,e),this.selectionLoadingChange=i(this,"selectionLoadingChange",7),this.sketchGraphicsChange=i(this,"sketchGraphicsChange",7),this.drawUndo=i(this,"drawUndo",7),this.drawRedo=i(this,"drawRedo",7)}get el(){return e(this)}active=!1;drawMode=l.SKETCH;editGraphicsEnabled=!0;graphics;locale;mapView;pointSymbol;polylineSymbol;polygonSymbol;redoEnabled=!1;undoEnabled=!1;_translations;_selectionMode;GraphicsLayer;SketchViewModel;Sketch;_sketchGraphicsLayer;_sketchViewModel;_sketchWidget;_sketchElement;graphicsWatchHandler(t,i){t&&t.length>0&&JSON.stringify(t)!==JSON.stringify(i)&&this._sketchGraphicsLayer&&(this._updateGraphicsSymbols(t),this._sketchGraphicsLayer.removeAll(),this._sketchGraphicsLayer.addMany(t))}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}mapViewWatchHandler(t,i){t&&t!==i&&this._init()}async clear(){this._clearSketch()}async updateGraphics(){this._updateGraphics()}selectionLoadingChange;sketchGraphicsChange;drawUndo;drawRedo;async componentWillLoad(){await this._getTranslations(),await this._initModules()}componentDidLoad(){this._init()}disconnectedCallback(){this._sketchWidget.cancel(),this._clearSketch()}render(){const t=this.drawMode===l.SKETCH?"display-none":"esri-widget esri-sketch__panel border-left esri-sketch__section";return s(a,{key:"55983c5e2102a1bc5c1936946a6c343d8b5e6ce4"},s("div",{key:"d0cd16b9f3d1386ce39236aacd7cd1ef9e585a55",class:this.drawMode===l.SKETCH?"border":"border esri-widget esri-sketch__panel"},s("div",{key:"cbeea2fc130e72a2b1739702cf49e35b798975ed",ref:t=>{this._sketchElement=t}}),s("div",{key:"50a103c4b4daf46f8da6607d6820545b44128aeb",class:t},s("calcite-action",{key:"35f3767f23b1e86545df36b765571f90a2f2fa32",disabled:!this.undoEnabled,icon:"undo",onClick:()=>this._undo(),scale:"s",text:this._translations.undo}),s("calcite-action",{key:"28961fa0141eda4848257fe7dd40e4c5a22ed65b",disabled:!this.redoEnabled,icon:"redo",onClick:()=>this._redo(),scale:"s",text:this._translations.redo}))))}async _initModules(){const[t,i,e]=await h(["esri/layers/GraphicsLayer","esri/widgets/Sketch","esri/widgets/Sketch/SketchViewModel"]);this.GraphicsLayer=t,this.Sketch=i,this.SketchViewModel=e}_init(){this.mapView&&this._sketchElement&&(this._initGraphicsLayer(),this._initSketch())}_initGraphicsLayer(){const t=this._translations.sketchLayer,i=this.mapView.map.layers.findIndex((i=>i.title===t));i>-1?this._sketchGraphicsLayer=this.mapView.map.layers.getItemAt(i):(this._sketchGraphicsLayer=new this.GraphicsLayer({title:t,listMode:"hide"}),r.managedLayers[t]="sketch",this.mapView.map.layers.add(this._sketchGraphicsLayer)),this.graphics&&this.graphics.length>0&&this._sketchGraphicsLayer.addMany(this.graphics)}_initSketch(){const t={layer:this._sketchGraphicsLayer,view:this.mapView,defaultCreateOptions:{mode:"hybrid"},defaultUpdateOptions:{preserveAspectRatio:!1,enableScaling:!1,enableRotation:!1,tool:"reshape",toggleToolOnClick:!1}};this._sketchWidget=new this.Sketch({...t,container:this._sketchElement,creationMode:"single",visibleElements:{duplicateButton:!1,selectionTools:{"lasso-selection":!1,"rectangle-selection":!1},createTools:{circle:!1},undoRedoMenu:!1,settingsMenu:this.drawMode===l.SKETCH}}),this._sketchViewModel=new this.SketchViewModel({...t}),this._sketchWidget.viewModel.polylineSymbol=this.polylineSymbol,this._sketchWidget.viewModel.pointSymbol=this.pointSymbol,this._sketchWidget.viewModel.polygonSymbol=this.polygonSymbol;let i=!1;this._sketchWidget.on("create",(t=>{"complete"===t.state&&(this.graphics=[t.graphic],this.sketchGraphicsChange.emit({graphics:this.graphics,useOIDs:!1}),this.drawMode===l.REFINE&&(i=!0,this._sketchWidget.viewModel.create(t.tool))),"cancel"===t.state&&this.drawMode===l.REFINE&&i&&(i=!i,this._sketchWidget.viewModel.create(t.tool))})),this._sketchWidget.on("update",(t=>{if(this.editGraphicsEnabled){const i=t?.toolEventInfo?.type;"reshape-stop"!==i&&"move-stop"!==i||(this.graphics=t.graphics,this.sketchGraphicsChange.emit({graphics:this.graphics,useOIDs:!1}))}else this._sketchWidget.viewModel.cancel(),this._sketchViewModel.cancel()})),this._sketchWidget.on("delete",(()=>{this.graphics=[],this.sketchGraphicsChange.emit({graphics:this.graphics,useOIDs:!1})})),this._sketchWidget.on("undo",(t=>{this.graphics=t.graphics,this.sketchGraphicsChange.emit({graphics:this.graphics,useOIDs:!1})})),this._sketchWidget.on("redo",(t=>{this.graphics=t.graphics,this.sketchGraphicsChange.emit({graphics:this.graphics,useOIDs:!1})}))}_clearSketch(){this._sketchWidget?.viewModel.cancel(),this.graphics=[],this._sketchGraphicsLayer?.removeAll()}_undo(){this.drawUndo.emit()}_redo(){this.drawRedo.emit()}_updateGraphics(){setTimeout((()=>{1===this.graphics.length&&this._sketchWidget.update(this.graphics,{tool:"reshape",enableRotation:!1,enableScaling:!1,preserveAspectRatio:!1,toggleToolOnClick:!1})}),100)}_updateGraphicsSymbols(t){const i=t[0].geometry.type,e="point"===i?this.pointSymbol:"polyline"===i?this.polylineSymbol:"polygon"===i?this.polygonSymbol:void 0;e&&t.forEach((t=>t.symbol=e))}async _getTranslations(){const t=await n(this.el);this._translations=t[0]}static get watchers(){return{graphics:["graphicsWatchHandler"],locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"]}}};c.style=':host{display:block}.border{outline:1px solid var(--calcite-color-border-input)}.div-visible{display:inherit}.div-not-visible{display:none !important}.padding-top-1-2{padding-top:.5rem}.main-label{display:flex;float:left}html[dir="rtl"] .main-label{display:flex;float:right}.margin-top-1{margin-top:1rem}.border-left{border-left:1px solid rgba(110, 110, 110, .3)}.border-left[dir="rtl"]{border-right:1px solid rgba(110, 110, 110, .3)}.esri-widget{box-sizing:border-box;color:#323232;font-size:14px;font-family:"Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;line-height:1.3em;background-color:#fff;--esri-widget-padding-v:12px;--esri-widget-padding-h:15px;--esri-widget-padding:var(--esri-widget-padding-v) var(--esri-widget-padding-h)}.esri-sketch__panel{align-items:center;display:flex;flex-flow:row wrap;padding:0;justify-content:flex-start !important}.esri-sketch__section{align-items:center;display:flex;flex-flow:row wrap;padding:0 7px;margin:6px 0}';export{o as buffer_tools,c as map_draw_tools}
|