@esri/solutions-components 0.11.11 → 0.11.13
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 +433 -98
- package/dist/cjs/consent-manager.cjs.entry.js +55 -13
- 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-37a2426c.js +3223 -0
- package/dist/cjs/feature-list.cjs.entry.js +95 -24
- package/dist/cjs/helpers-f649d911.js +867 -0
- package/dist/cjs/index-915dd9e3.js +201 -0
- package/dist/cjs/index-dd05c644.js +1901 -0
- package/dist/cjs/instant-apps-app-guide.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-control-panel.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-create.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-export-views.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-export.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-filter-list_2.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-header.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-landing-page.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-language-translator.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-measurement-tool.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-measurement.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-popover.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-popovers.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-sign-in.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-splash.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-time-filter.cjs.entry.js +3 -3
- package/dist/cjs/json-editor_7.cjs.entry.js +227 -49
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/locale-9cb687b1.js +160 -0
- package/dist/cjs/locale-d10ec17b.js +943 -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-c1061629.js +121 -0
- package/dist/cjs/public-notification.cjs.entry.js +194 -44
- package/dist/cjs/publicNotificationStore-30643216.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-9b6ae901.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-acaa2acd.js +153 -0
- package/dist/collection/assets/t9n/consent-manager/resources.json +1 -1
- package/dist/collection/assets/t9n/consent-manager/resources_en.json +1 -1
- 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 +53 -13
- 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 +177 -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/24P6DEQH.js +4 -0
- package/dist/collection/vendor/calcite-components/2AVRQATR.js +4 -0
- package/dist/collection/vendor/calcite-components/2CTO4WXV.js +4 -0
- package/dist/collection/vendor/calcite-components/2I33XQO3.js +4 -0
- package/dist/collection/vendor/calcite-components/2VMQ4ZHH.js +4 -0
- package/dist/collection/vendor/calcite-components/2XGOJ2TK.js +4 -0
- package/dist/collection/vendor/calcite-components/2Z6KCCXZ.js +4 -0
- package/dist/collection/vendor/calcite-components/36GZKNTR.js +4 -0
- package/dist/collection/vendor/calcite-components/3APPCCCZ.js +4 -0
- package/dist/collection/vendor/calcite-components/3AWHEFUT.js +4 -0
- package/dist/collection/vendor/calcite-components/3NZA5FPC.js +4 -0
- package/dist/collection/vendor/calcite-components/4CJKDY6O.js +4 -0
- package/dist/collection/vendor/calcite-components/4CN4DMSY.js +4 -0
- package/dist/collection/vendor/calcite-components/4D6XNDXD.js +4 -0
- package/dist/collection/vendor/calcite-components/4GH4R7AR.js +4 -0
- package/dist/collection/vendor/calcite-components/4NZ22FMP.js +4 -0
- package/dist/collection/vendor/calcite-components/4TW23CN7.js +4 -0
- package/dist/collection/vendor/calcite-components/4W55CXIJ.js +4 -0
- package/dist/collection/vendor/calcite-components/4YCDJ4BL.js +4 -0
- package/dist/collection/vendor/calcite-components/57KYZCIP.js +4 -0
- package/dist/collection/vendor/calcite-components/5DTLNTCL.js +4 -0
- package/dist/collection/vendor/calcite-components/5E4NPYBD.js +4 -0
- package/dist/collection/vendor/calcite-components/5E6WFGQD.js +4 -0
- package/dist/collection/vendor/calcite-components/5TU2CNVP.js +4 -0
- package/dist/collection/vendor/calcite-components/5U35BULS.js +4 -0
- package/dist/collection/vendor/calcite-components/5WIIOMNV.js +6 -0
- package/dist/collection/vendor/calcite-components/62UA4F4S.js +4 -0
- package/dist/collection/vendor/calcite-components/62VYJEUG.js +4 -0
- package/dist/collection/vendor/calcite-components/65NO3JUC.js +4 -0
- package/dist/collection/vendor/calcite-components/6GZCW3B4.js +4 -0
- package/dist/collection/vendor/calcite-components/6LJIPAYF.js +4 -0
- package/dist/collection/vendor/calcite-components/6LTFSVKG.js +4 -0
- package/dist/collection/vendor/calcite-components/6QDWHJ5K.js +4 -0
- package/dist/collection/vendor/calcite-components/6U6YH5MS.js +4 -0
- package/dist/collection/vendor/calcite-components/6VFJT5QA.js +4 -0
- package/dist/collection/vendor/calcite-components/6Y4OKAGD.js +4 -0
- package/dist/collection/vendor/calcite-components/74SSYUHC.js +5 -0
- package/dist/collection/vendor/calcite-components/75GQA36Q.js +4 -0
- package/dist/collection/vendor/calcite-components/7AD7VKZ6.js +4 -0
- package/dist/collection/vendor/calcite-components/7MGQRD7Z.js +4 -0
- package/dist/collection/vendor/calcite-components/7Q4LBBRD.js +4 -0
- package/dist/collection/vendor/calcite-components/7YRITLGU.js +4 -0
- package/dist/collection/vendor/calcite-components/A43TKJ6J.js +4 -0
- package/dist/collection/vendor/calcite-components/A4LOL6RT.js +4 -0
- package/dist/collection/vendor/calcite-components/A6LI6WSB.js +4 -0
- package/dist/collection/vendor/calcite-components/AD27WW7R.js +4 -0
- package/dist/collection/vendor/calcite-components/AHU7FP65.js +4 -0
- package/dist/collection/vendor/calcite-components/AI3NCYN4.js +4 -0
- package/dist/collection/vendor/calcite-components/AU24EMIU.js +4 -0
- package/dist/collection/vendor/calcite-components/AZ2MVQY2.js +4 -0
- package/dist/collection/vendor/calcite-components/BNWN4RE2.js +4 -0
- package/dist/collection/vendor/calcite-components/BQHDLRDE.js +4 -0
- package/dist/collection/vendor/calcite-components/BYJ6CJMV.js +4 -0
- package/dist/collection/vendor/calcite-components/C456ACXC.js +4 -0
- package/dist/collection/vendor/calcite-components/CFACWEH3.js +4 -0
- package/dist/collection/vendor/calcite-components/CZ6YBXDI.js +4 -0
- package/dist/collection/vendor/calcite-components/D2IBWEZJ.js +4 -0
- package/dist/collection/vendor/calcite-components/D5V7QPEQ.js +4 -0
- package/dist/collection/vendor/calcite-components/DV72VFBR.js +4 -0
- package/dist/collection/vendor/calcite-components/DXTGGP6F.js +4 -0
- package/dist/collection/vendor/calcite-components/DYX3VYAF.js +4 -0
- package/dist/collection/vendor/calcite-components/E4INVUQF.js +4 -0
- package/dist/collection/vendor/calcite-components/EC76JAWC.js +4 -0
- package/dist/collection/vendor/calcite-components/EFBSBD4Q.js +4 -0
- package/dist/collection/vendor/calcite-components/EGQT3WAL.js +4 -0
- package/dist/collection/vendor/calcite-components/ELLEOMPV.js +4 -0
- package/dist/collection/vendor/calcite-components/EQL77WNN.js +4 -0
- package/dist/collection/vendor/calcite-components/EREAGDHN.js +4 -0
- package/dist/collection/vendor/calcite-components/ETCKBCGT.js +4 -0
- package/dist/collection/vendor/calcite-components/F3MFWM7N.js +4 -0
- package/dist/collection/vendor/calcite-components/F57BIANZ.js +4 -0
- package/dist/collection/vendor/calcite-components/FLGYQACS.js +4 -0
- package/dist/collection/vendor/calcite-components/FVKXG7IX.js +4 -0
- package/dist/collection/vendor/calcite-components/FX4E46UA.js +4 -0
- package/dist/collection/vendor/calcite-components/FXMO4NFQ.js +4 -0
- package/dist/collection/vendor/calcite-components/G377AV4F.js +4 -0
- package/dist/collection/vendor/calcite-components/G4UFYIPU.js +4 -0
- package/dist/collection/vendor/calcite-components/G5GEKU4E.js +4 -0
- package/dist/collection/vendor/calcite-components/GEIJQLU7.js +4 -0
- package/dist/collection/vendor/calcite-components/GI3XXRNT.js +4 -0
- package/dist/collection/vendor/calcite-components/GQMODQ6D.js +4 -0
- package/dist/collection/vendor/calcite-components/GSVJHXH2.js +4 -0
- package/dist/collection/vendor/calcite-components/GUMVKQTR.js +4 -0
- package/dist/collection/vendor/calcite-components/GVOEPDQC.js +4 -0
- package/dist/collection/vendor/calcite-components/GWWXB6FV.js +4 -0
- package/dist/collection/vendor/calcite-components/GYOK6DI7.js +4 -0
- package/dist/collection/vendor/calcite-components/HDAL3OW2.js +4 -0
- package/dist/collection/vendor/calcite-components/HIP3N6DH.js +4 -0
- package/dist/collection/vendor/calcite-components/HLGSDCWJ.js +4 -0
- package/dist/collection/vendor/calcite-components/HPFASJXB.js +4 -0
- package/dist/collection/vendor/calcite-components/HPY2G26P.js +4 -0
- package/dist/collection/vendor/calcite-components/HYWMTX3X.js +4 -0
- package/dist/collection/vendor/calcite-components/HZGIYOHQ.js +4 -0
- package/dist/collection/vendor/calcite-components/HZWEQZY7.js +4 -0
- package/dist/collection/vendor/calcite-components/I3PTWPIY.js +4 -0
- package/dist/collection/vendor/calcite-components/I4CET6OW.js +5 -0
- package/dist/collection/vendor/calcite-components/I4G6P727.js +4 -0
- package/dist/collection/vendor/calcite-components/I6YTTPYR.js +4 -0
- package/dist/collection/vendor/calcite-components/IG7V543A.js +4 -0
- package/dist/collection/vendor/calcite-components/IGJ6NR2R.js +4 -0
- package/dist/collection/vendor/calcite-components/IMHYTFTU.js +4 -0
- package/dist/collection/vendor/calcite-components/IN5OHY5V.js +4 -0
- package/dist/collection/vendor/calcite-components/IPMCFXXP.js +4 -0
- package/dist/collection/vendor/calcite-components/IWHKNQVC.js +4 -0
- package/dist/collection/vendor/calcite-components/IXRENB6A.js +4 -0
- package/dist/collection/vendor/calcite-components/J6LILHDF.js +4 -0
- package/dist/collection/vendor/calcite-components/JADXGLI3.js +4 -0
- package/dist/collection/vendor/calcite-components/JLXVLF74.js +4 -0
- package/dist/collection/vendor/calcite-components/JWVCWXY6.js +4 -0
- package/dist/collection/vendor/calcite-components/K3474HB5.js +4 -0
- package/dist/collection/vendor/calcite-components/K43H5XTK.js +4 -0
- package/dist/collection/vendor/calcite-components/KEKOJLYV.js +4 -0
- package/dist/collection/vendor/calcite-components/KEXGE4NJ.js +4 -0
- package/dist/collection/vendor/calcite-components/KK3Z3W4I.js +4 -0
- package/dist/collection/vendor/calcite-components/KS4B6LK4.js +4 -0
- package/dist/collection/vendor/calcite-components/KUAZDOO6.js +4 -0
- package/dist/collection/vendor/calcite-components/KUGH3USL.js +4 -0
- package/dist/collection/vendor/calcite-components/KZL3CPTV.js +5 -0
- package/dist/collection/vendor/calcite-components/L3P7IWQ6.js +4 -0
- package/dist/collection/vendor/calcite-components/L5FEKBXU.js +5 -0
- package/dist/collection/vendor/calcite-components/L7UUJ325.js +4 -0
- package/dist/collection/vendor/calcite-components/LF6Z3CUU.js +4 -0
- package/dist/collection/vendor/calcite-components/LIPHS6R3.js +4 -0
- package/dist/collection/vendor/calcite-components/LNMOXDYH.js +4 -0
- package/dist/collection/vendor/calcite-components/LNX6IEUD.js +4 -0
- package/dist/collection/vendor/calcite-components/LSGKUJVV.js +4 -0
- package/dist/collection/vendor/calcite-components/LXOXPZWA.js +4 -0
- package/dist/collection/vendor/calcite-components/LYIEETRB.js +4 -0
- package/dist/collection/vendor/calcite-components/M5B5XMQA.js +28 -0
- package/dist/collection/vendor/calcite-components/M6TFTMFD.js +4 -0
- package/dist/collection/vendor/calcite-components/MO24RCUT.js +4 -0
- package/dist/collection/vendor/calcite-components/MOTR6ZPN.js +4 -0
- package/dist/collection/vendor/calcite-components/MPZIFQAA.js +4 -0
- package/dist/collection/vendor/calcite-components/MSERO633.js +4 -0
- package/dist/collection/vendor/calcite-components/N2ACZZPH.js +4 -0
- package/dist/collection/vendor/calcite-components/N2QB6H74.js +4 -0
- package/dist/collection/vendor/calcite-components/N6UWSSGW.js +4 -0
- package/dist/collection/vendor/calcite-components/NALQXSWX.js +4 -0
- package/dist/collection/vendor/calcite-components/NCKQSORU.js +4 -0
- package/dist/collection/vendor/calcite-components/NFGDGOX2.js +4 -0
- package/dist/collection/vendor/calcite-components/NJDS6SVP.js +4 -0
- package/dist/collection/vendor/calcite-components/NN7IWJQ4.js +4 -0
- package/dist/collection/vendor/calcite-components/NSI34PAP.js +4 -0
- package/dist/collection/vendor/calcite-components/O42B2Q4F.js +4 -0
- package/dist/collection/vendor/calcite-components/OGF5TUWN.js +4 -0
- package/dist/collection/vendor/calcite-components/OJCYBIGG.js +4 -0
- package/dist/collection/vendor/calcite-components/OOY2MGXQ.js +4 -0
- package/dist/collection/vendor/calcite-components/OQW7QIRH.js +4 -0
- package/dist/collection/vendor/calcite-components/OTCDMLUC.js +4 -0
- package/dist/collection/vendor/calcite-components/OZVEH4B5.js +4 -0
- package/dist/collection/vendor/calcite-components/P7HTSDH2.js +22 -0
- package/dist/collection/vendor/calcite-components/PLA7W3AT.js +4 -0
- package/dist/collection/vendor/calcite-components/PLXESTWV.js +4 -0
- package/dist/collection/vendor/calcite-components/PMITL6IC.js +4 -0
- package/dist/collection/vendor/calcite-components/PQBKOUKQ.js +4 -0
- package/dist/collection/vendor/calcite-components/PWUMIRZ6.js +4 -0
- package/dist/collection/vendor/calcite-components/Q5J2S3VY.js +4 -0
- package/dist/collection/vendor/calcite-components/QCZULBWY.js +4 -0
- package/dist/collection/vendor/calcite-components/QG6HHELM.js +4 -0
- package/dist/collection/vendor/calcite-components/QO3T2U37.js +4 -0
- package/dist/collection/vendor/calcite-components/QUDJ3N3N.js +4 -0
- package/dist/collection/vendor/calcite-components/QZIFYSUW.js +4 -0
- package/dist/collection/vendor/calcite-components/RBW3635P.js +4 -0
- package/dist/collection/vendor/calcite-components/RHRLZ43T.js +4 -0
- package/dist/collection/vendor/calcite-components/ROGH35KN.js +4 -0
- package/dist/collection/vendor/calcite-components/RU7EMDYD.js +4 -0
- package/dist/collection/vendor/calcite-components/RYTO443L.js +4 -0
- package/dist/collection/vendor/calcite-components/SA6NHSUC.js +4 -0
- package/dist/collection/vendor/calcite-components/SGUU7WHF.js +4 -0
- package/dist/collection/vendor/calcite-components/SHC4YDKE.js +4 -0
- package/dist/collection/vendor/calcite-components/T2ALVZYL.js +4 -0
- package/dist/collection/vendor/calcite-components/T3SQ25MS.js +4 -0
- package/dist/collection/vendor/calcite-components/TAD74E6K.js +4 -0
- package/dist/collection/vendor/calcite-components/TKUCTGZQ.js +4 -0
- package/dist/collection/vendor/calcite-components/TNN7X24K.js +4 -0
- package/dist/collection/vendor/calcite-components/TVLD3AOO.js +4 -0
- package/dist/collection/vendor/calcite-components/U6YW2HHD.js +4 -0
- package/dist/collection/vendor/calcite-components/UIF5EHAA.js +4 -0
- package/dist/collection/vendor/calcite-components/UPPZPSLX.js +4 -0
- package/dist/collection/vendor/calcite-components/UPVIMVOR.js +4 -0
- package/dist/collection/vendor/calcite-components/V56SP7RX.js +4 -0
- package/dist/collection/vendor/calcite-components/V6MKTTBQ.js +4 -0
- package/dist/collection/vendor/calcite-components/V7HGGFTI.js +4 -0
- package/dist/collection/vendor/calcite-components/V7JMIX7A.js +4 -0
- package/dist/collection/vendor/calcite-components/VALEMC46.js +4 -0
- package/dist/collection/vendor/calcite-components/VF6LK743.js +4 -0
- package/dist/collection/vendor/calcite-components/VICC3NDD.js +4 -0
- package/dist/collection/vendor/calcite-components/VP7NXOWD.js +4 -0
- package/dist/collection/vendor/calcite-components/VQDN7OO3.js +4 -0
- package/dist/collection/vendor/calcite-components/VRHJ5OK7.js +4 -0
- package/dist/collection/vendor/calcite-components/VSJGDSNK.js +4 -0
- package/dist/collection/vendor/calcite-components/VTNRWHPJ.js +4 -0
- package/dist/collection/vendor/calcite-components/VWRFMVFO.js +4 -0
- package/dist/collection/vendor/calcite-components/VYNHH43V.js +4 -0
- package/dist/collection/vendor/calcite-components/VZCTXPAB.js +4 -0
- package/dist/collection/vendor/calcite-components/W2PJHNUO.js +4 -0
- package/dist/collection/vendor/calcite-components/WGOS6SLC.js +4 -0
- package/dist/collection/vendor/calcite-components/WI77ICVL.js +4 -0
- package/dist/collection/vendor/calcite-components/WIMUFNVO.js +4 -0
- package/dist/collection/vendor/calcite-components/WKIE22JL.js +4 -0
- package/dist/collection/vendor/calcite-components/WL55EYBZ.js +4 -0
- package/dist/collection/vendor/calcite-components/WNKEORGU.js +4 -0
- package/dist/collection/vendor/calcite-components/WR2VE6JZ.js +4 -0
- package/dist/collection/vendor/calcite-components/XF5JMHOK.js +4 -0
- package/dist/collection/vendor/calcite-components/XIZD6JFU.js +4 -0
- package/dist/collection/vendor/calcite-components/XKHOO62D.js +4 -0
- package/dist/collection/vendor/calcite-components/XV33QQSP.js +4 -0
- package/dist/collection/vendor/calcite-components/XXCPMHQI.js +4 -0
- package/dist/collection/vendor/calcite-components/XYEB5PRT.js +4 -0
- package/dist/collection/vendor/calcite-components/Y3HCVBC6.js +4 -0
- package/dist/collection/vendor/calcite-components/Y7BXR2VY.js +4 -0
- package/dist/collection/vendor/calcite-components/YDUPLCIG.js +4 -0
- package/dist/collection/vendor/calcite-components/YOV6OIH2.js +4 -0
- package/dist/collection/vendor/calcite-components/YPEU6VCU.js +4 -0
- package/dist/collection/vendor/calcite-components/YUVCAMVK.js +4 -0
- package/dist/collection/vendor/calcite-components/YWAPFYEJ.js +4 -0
- package/dist/collection/vendor/calcite-components/YZIMMUUW.js +4 -0
- package/dist/collection/vendor/calcite-components/Z2FJJLZ3.js +4 -0
- package/dist/collection/vendor/calcite-components/ZQ6GYGGS.js +4 -0
- package/dist/collection/vendor/calcite-components/ZQG72P7P.js +4 -0
- package/dist/collection/vendor/calcite-components/ZROM77D7.js +4 -0
- package/dist/collection/vendor/calcite-components/ZWBJOZZD.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 +53 -11
- 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/info-card2.js +77 -16
- package/dist/components/json-editor2.js +28 -5
- package/dist/components/layer-list2.js +50 -10
- package/dist/components/layer-table2.js +177 -39
- 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 +433 -98
- package/dist/esm/consent-manager.entry.js +55 -13
- 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-05da05a5.js +3217 -0
- package/dist/esm/feature-list.entry.js +95 -24
- package/dist/esm/helpers-3d7571df.js +841 -0
- package/dist/esm/index-29ce74dd.js +199 -0
- package/dist/esm/index-b49a8ff6.js +1868 -0
- package/dist/esm/instant-apps-app-guide.entry.js +2 -2
- package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +4 -4
- package/dist/esm/instant-apps-control-panel.entry.js +1 -1
- package/dist/esm/instant-apps-create.entry.js +2 -2
- package/dist/esm/instant-apps-export-views.entry.js +2 -2
- package/dist/esm/instant-apps-export.entry.js +2 -2
- package/dist/esm/instant-apps-filter-list_2.entry.js +2 -2
- package/dist/esm/instant-apps-header.entry.js +1 -1
- package/dist/esm/instant-apps-interactive-legend-classic.entry.js +3 -3
- package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +3 -3
- package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +3 -3
- package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +3 -3
- package/dist/esm/instant-apps-interactive-legend.entry.js +4 -4
- package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +2 -2
- package/dist/esm/instant-apps-landing-page.entry.js +1 -1
- package/dist/esm/instant-apps-language-switcher.entry.js +4 -4
- package/dist/esm/instant-apps-language-translator.entry.js +4 -4
- package/dist/esm/instant-apps-measurement-tool.entry.js +1 -1
- package/dist/esm/instant-apps-measurement.entry.js +2 -2
- package/dist/esm/instant-apps-popover.entry.js +2 -2
- package/dist/esm/instant-apps-popovers.entry.js +1 -1
- package/dist/esm/instant-apps-scoreboard.entry.js +2 -2
- package/dist/esm/instant-apps-sign-in.entry.js +2 -2
- package/dist/esm/instant-apps-splash.entry.js +2 -2
- package/dist/esm/instant-apps-time-filter.entry.js +3 -3
- package/dist/esm/json-editor_7.entry.js +227 -49
- package/dist/esm/loader.js +2 -2
- package/dist/esm/locale-2b4fcfe1.js +155 -0
- package/dist/esm/locale-63587966.js +938 -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-d4429b90.js +119 -0
- package/dist/esm/public-notification.entry.js +194 -44
- package/dist/esm/publicNotificationStore-0af2f0c7.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-8f4fe1d9.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-f9183b76.js +142 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources.json +1 -1
- package/dist/solutions-components/assets/t9n/consent-manager/resources_en.json +1 -1
- package/dist/solutions-components/p-004426dc.entry.js +6 -0
- package/dist/solutions-components/p-01068666.entry.js +6 -0
- package/dist/solutions-components/p-02c009a2.entry.js +6 -0
- package/dist/solutions-components/p-1546373f.entry.js +6 -0
- package/dist/solutions-components/p-1f670efc.entry.js +6 -0
- package/dist/solutions-components/p-1f72c19b.entry.js +6 -0
- package/dist/solutions-components/p-27ff3a85.entry.js +6 -0
- package/dist/solutions-components/p-285c4fe6.js +21 -0
- package/dist/solutions-components/p-2fc2238d.entry.js +6 -0
- package/dist/solutions-components/p-33ca9789.entry.js +6 -0
- package/dist/solutions-components/p-37fd56c8.entry.js +6 -0
- package/dist/solutions-components/p-3df0f3d3.js +6 -0
- package/dist/solutions-components/p-419233a3.js +488 -0
- package/dist/solutions-components/p-442a68ea.entry.js +6 -0
- package/dist/solutions-components/p-4b5ea333.entry.js +6 -0
- package/dist/solutions-components/p-4bd66ae5.entry.js +6 -0
- package/dist/solutions-components/p-4d55eb0e.entry.js +6 -0
- package/dist/solutions-components/p-50dfa0b8.entry.js +6 -0
- package/dist/solutions-components/p-59633ef0.entry.js +6 -0
- package/dist/solutions-components/p-67befb92.entry.js +6 -0
- package/dist/solutions-components/p-68fd9d5d.entry.js +6 -0
- package/dist/solutions-components/p-723482d1.js +21 -0
- package/dist/solutions-components/p-750a8a39.entry.js +6 -0
- package/dist/solutions-components/p-79756a0f.entry.js +6 -0
- package/dist/solutions-components/p-7b42823b.entry.js +6 -0
- package/dist/solutions-components/p-7ded7b2e.js +36 -0
- package/dist/solutions-components/p-80033583.entry.js +6 -0
- package/dist/solutions-components/p-8384ba17.entry.js +6 -0
- package/dist/solutions-components/p-893d8e26.entry.js +6 -0
- package/dist/solutions-components/p-905a911c.entry.js +6 -0
- package/dist/solutions-components/p-94aca64c.entry.js +6 -0
- package/dist/solutions-components/p-957a880f.entry.js +6 -0
- package/dist/solutions-components/p-9775f9d7.entry.js +6 -0
- package/dist/solutions-components/p-9b741908.entry.js +11 -0
- package/dist/solutions-components/p-9c4ea2e2.entry.js +6 -0
- package/dist/solutions-components/p-a0f4c730.entry.js +6 -0
- package/dist/solutions-components/p-a5bfdb73.entry.js +6 -0
- package/dist/solutions-components/p-a650b356.entry.js +6 -0
- package/dist/solutions-components/p-a725bcdf.entry.js +6 -0
- package/dist/solutions-components/p-abe9c0de.entry.js +6 -0
- package/dist/solutions-components/p-af355bbd.entry.js +6 -0
- package/dist/solutions-components/p-b266dcf6.entry.js +6 -0
- package/dist/solutions-components/p-b7a6512b.js +6 -0
- package/dist/solutions-components/p-b9fc59da.js +6 -0
- package/dist/solutions-components/p-be144ed5.entry.js +6 -0
- package/dist/solutions-components/p-c1ec9613.entry.js +6 -0
- package/dist/solutions-components/p-c3107e95.entry.js +6 -0
- package/dist/solutions-components/p-c34857fe.js +129 -0
- package/dist/solutions-components/p-c3eae9ba.js +7 -0
- package/dist/solutions-components/p-c60990bf.entry.js +6 -0
- package/dist/solutions-components/p-c65ff1a0.entry.js +21 -0
- package/dist/solutions-components/p-c97d6d8a.entry.js +6 -0
- package/dist/solutions-components/p-c987cdf2.entry.js +6 -0
- package/dist/solutions-components/p-ddd731d3.entry.js +6 -0
- package/dist/solutions-components/p-f053236e.entry.js +6 -0
- package/dist/solutions-components/p-f08084fb.entry.js +21 -0
- package/dist/solutions-components/p-fb75e187.js +6 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/vendor/calcite-components/24P6DEQH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2AVRQATR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2CTO4WXV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2I33XQO3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2VMQ4ZHH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2XGOJ2TK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2Z6KCCXZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/36GZKNTR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3APPCCCZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3AWHEFUT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3NZA5FPC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4CJKDY6O.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4CN4DMSY.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4D6XNDXD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4GH4R7AR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4NZ22FMP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4TW23CN7.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4W55CXIJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4YCDJ4BL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/57KYZCIP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5DTLNTCL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5E4NPYBD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5E6WFGQD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5TU2CNVP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5U35BULS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5WIIOMNV.js +6 -0
- package/dist/solutions-components/vendor/calcite-components/62UA4F4S.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/62VYJEUG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/65NO3JUC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6GZCW3B4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6LJIPAYF.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6LTFSVKG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6QDWHJ5K.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6U6YH5MS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6VFJT5QA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6Y4OKAGD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/74SSYUHC.js +5 -0
- package/dist/solutions-components/vendor/calcite-components/75GQA36Q.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7AD7VKZ6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7MGQRD7Z.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7Q4LBBRD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7YRITLGU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/A43TKJ6J.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/A4LOL6RT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/A6LI6WSB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/AD27WW7R.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/AHU7FP65.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/AI3NCYN4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/AU24EMIU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/AZ2MVQY2.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/BNWN4RE2.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/BQHDLRDE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/BYJ6CJMV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/C456ACXC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/CFACWEH3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/CZ6YBXDI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/D2IBWEZJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/D5V7QPEQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DV72VFBR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DXTGGP6F.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DYX3VYAF.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/E4INVUQF.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EC76JAWC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EFBSBD4Q.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EGQT3WAL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ELLEOMPV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EQL77WNN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EREAGDHN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ETCKBCGT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/F3MFWM7N.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/F57BIANZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FLGYQACS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FVKXG7IX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FX4E46UA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FXMO4NFQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/G377AV4F.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/G4UFYIPU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/G5GEKU4E.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GEIJQLU7.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GI3XXRNT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GQMODQ6D.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GSVJHXH2.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GUMVKQTR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GVOEPDQC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GWWXB6FV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GYOK6DI7.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HDAL3OW2.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HIP3N6DH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HLGSDCWJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HPFASJXB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HPY2G26P.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HYWMTX3X.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HZGIYOHQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HZWEQZY7.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/I3PTWPIY.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/I4CET6OW.js +5 -0
- package/dist/solutions-components/vendor/calcite-components/I4G6P727.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/I6YTTPYR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/IG7V543A.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/IGJ6NR2R.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/IMHYTFTU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/IN5OHY5V.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/IPMCFXXP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/IWHKNQVC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/IXRENB6A.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/J6LILHDF.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JADXGLI3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JLXVLF74.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JWVCWXY6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/K3474HB5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/K43H5XTK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KEKOJLYV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KEXGE4NJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KK3Z3W4I.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KS4B6LK4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KUAZDOO6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KUGH3USL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KZL3CPTV.js +5 -0
- package/dist/solutions-components/vendor/calcite-components/L3P7IWQ6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/L5FEKBXU.js +5 -0
- package/dist/solutions-components/vendor/calcite-components/L7UUJ325.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LF6Z3CUU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LIPHS6R3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LNMOXDYH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LNX6IEUD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LSGKUJVV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LXOXPZWA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LYIEETRB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/M5B5XMQA.js +28 -0
- package/dist/solutions-components/vendor/calcite-components/M6TFTMFD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MO24RCUT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MOTR6ZPN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MPZIFQAA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MSERO633.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/N2ACZZPH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/N2QB6H74.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/N6UWSSGW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NALQXSWX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NCKQSORU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NFGDGOX2.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NJDS6SVP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NN7IWJQ4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NSI34PAP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/O42B2Q4F.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/OGF5TUWN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/OJCYBIGG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/OOY2MGXQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/OQW7QIRH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/OTCDMLUC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/OZVEH4B5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/P7HTSDH2.js +22 -0
- package/dist/solutions-components/vendor/calcite-components/PLA7W3AT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/PLXESTWV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/PMITL6IC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/PQBKOUKQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/PWUMIRZ6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/Q5J2S3VY.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QCZULBWY.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QG6HHELM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QO3T2U37.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QUDJ3N3N.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QZIFYSUW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RBW3635P.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RHRLZ43T.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ROGH35KN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RU7EMDYD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RYTO443L.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SA6NHSUC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SGUU7WHF.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SHC4YDKE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/T2ALVZYL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/T3SQ25MS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/TAD74E6K.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/TKUCTGZQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/TNN7X24K.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/TVLD3AOO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/U6YW2HHD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/UIF5EHAA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/UPPZPSLX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/UPVIMVOR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/V56SP7RX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/V6MKTTBQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/V7HGGFTI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/V7JMIX7A.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VALEMC46.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VF6LK743.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VICC3NDD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VP7NXOWD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VQDN7OO3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VRHJ5OK7.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VSJGDSNK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VTNRWHPJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VWRFMVFO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VYNHH43V.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VZCTXPAB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/W2PJHNUO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WGOS6SLC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WI77ICVL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WIMUFNVO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WKIE22JL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WL55EYBZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WNKEORGU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WR2VE6JZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XF5JMHOK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XIZD6JFU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XKHOO62D.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XV33QQSP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XXCPMHQI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XYEB5PRT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/Y3HCVBC6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/Y7BXR2VY.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YDUPLCIG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YOV6OIH2.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YPEU6VCU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YUVCAMVK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YWAPFYEJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YZIMMUUW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/Z2FJJLZ3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZQ6GYGGS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZQG72P7P.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZROM77D7.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZWBJOZZD.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 +4 -7
- package/package.json +10 -10
- package/dist/cjs/downloadUtils-9ce90176.js +0 -3223
- 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/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/downloadUtils-1179f077.js +0 -3217
- 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/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-4b98adf3.entry.js +0 -6
- package/dist/solutions-components/p-5093ae54.entry.js +0 -11
- 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-7dc7d3dc.entry.js +0 -6
- package/dist/solutions-components/p-7dc95675.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-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
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as a,c as t,h as n,H as s,F as e,g as r}from"./p-e996c38f.js";import{i,g as l,a as o,s as c,E as p,b as g,l as u,c as d,u as h}from"./p-7dc95675.js";import{l as m}from"./p-d001e961.js";import{c as v}from"./p-648b5a9e.js";import{g as _,f as b,L as y}from"./p-4695cfab.js";import"./p-8717729a.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-ac122d9e.js";const f="instant-apps-language-translator",x={BASE:f,header:`${f}__header`,headerText:`${f}__header-text`,savingIndicator:`${f}__saving-indicator`,closeButton:`${f}__close-button`,headerTip:`${f}__header-tip`,topBar:`${f}__top-bar`,topBarSection:`${f}__top-bar-section`,collapseSearchContainer:`${f}__collapse-search-container`,userLangText:`${f}__user-lang-text`,lastItem:`${f}--last-item`,writingIcon:`${f}__writing-icon`,primaryContent:`${f}__primary-content`,lastAutoSave:`${f}__last-auto-save`},w=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(){i()}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 l(a);return this.messages=t,Promise.resolve()}catch(a){return Promise.reject()}}initUIData(){const{appSettings:a,locales:t}=this,n=o(a,t);c.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=c.get("currentLanguage");0===this.locales.filter((a=>a.locale===e)).length&&c.set("currentLanguage",s)}async initPortalItemResourceT9nData(){try{const a=await _(this.portalItem);c.set("portalItemResource",a);const t=await b(a);c.set("lastSave",t.lastSave),c.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:x.headerTip},null===(a=this.messages)||void 0===a?void 0:a.headerTip))}renderHeader(){return n("header",{class:x.header,slot:"header-content"},this.renderHeaderText())}renderHeaderText(){const{messages:a}=this;return n("div",{class:x.headerText},n("span",null,null==a?void 0:a.header),n("calcite-button",{id:"headerTip",appearance:"transparent"},n("calcite-icon",{icon:p.Popover,scale:"s"})))}renderSavingIndicator(){var a;const t=null===(a=this.messages)||void 0===a?void 0:a.saving;return n("div",{class:x.savingIndicator},n("calcite-loader",{label:t,inline:!0}),n("span",null,t))}renderContent(){const a=g(this.locales);return n("div",null,this.renderTopBar(),(null==a?void 0:a.length)>0?this.renderUIData():this.renderNotice())}renderTopBar(){return n("div",{class:x.topBar},this.renderLeadingTopBarSection(),this.renderTrailingTopBarSection())}renderLeadingTopBarSection(){return n("div",{class:x.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:x.userLangText},null==t?void 0:t[s])}renderCollapseSearchContainer(){return n("div",{class:x.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":p.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:x.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=c.get("uiData"),t=null==a?void 0:a.get("locales"),s=g(t),e=Object.keys(y.partial);return null==s?void 0:s.map((a=>{const t=-1!==e.indexOf(a),s=y[t?"partial":"full"],{language:r,translated:i}=s[a];return n("calcite-option",{key:`translated-lang-option-${a}`,value:a},`${r} - ${i}`)}))}renderUIData(){if(!(null==u?void 0:u.uiData))return;const a=d();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,r;const i=null===(r=null===(e=this.appSettings)||void 0===e?void 0:e.translatedLanguageLabels)||void 0===r?void 0:r[u.currentLanguage],l=`${t===s-1?x.lastItem:""}`,o=this.appSettings.content.filter((t=>t.id===a))[0];return n("instant-apps-language-translator-item",{key:`${a}-${t}`,class:l,fieldName:a,translatedLanguageLabels:i,setting:o,userLocaleInputOnChangeCallback:async(a,t)=>{try{await this.userLocaleInputOnChangeCallback(a,t);const n=c.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:x.primaryContent,slot:"footer-end"},c.get("saving")?this.renderSavingIndicator():null,c.get("lastSave")?n("span",{key:"last-save",class:x.lastAutoSave},null===(a=this.messages)||void 0===a?void 0:a.lastAutoSave," ",this.intl.formatDate(c.get("lastSave"))):null,n("calcite-button",{onClick:()=>this.open=!1,class:x.closeButton},null===(t=this.messages)||void 0===t?void 0:t.close))}handleExpandCollapseAll(){this.isCollapse=!this.isCollapse;const a=new Map(u.uiData);d().forEach((t=>a.get(t).expanded=this.isCollapse)),c.set("uiData",a)}onSuggestionSelect(a){const t=a.detail,n=new Map(u.uiData);d().forEach((a=>{n.get(a).selected=a===t})),c.set("uiData",n)}close(){this.open=!1}handleLanguageSelection(a){c.set("currentLanguage",a.target.value)}async getTranslationData(){return c.get("portalItemResourceT9n")}async setTranslationData(a){return c.set("portalItemResourceT9n",a)}async getPortalItemResource(){return c.get("portalItemResource")}async batchWriteToPortalItemResource(a){c.set("saving",!0);try{const t=await this.getPortalItemResource(),n=Date.now();c.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((()=>c.set("saving",!1)),1500),this.translatorDataUpdated.emit(),Promise.resolve()}catch(a){return console.error("Error writing to portal item resource: ",a),c.set("saving",!1),Promise.reject()}}get el(){return r(this)}static get watchers(){return{locales:["handleLocaleChange"],appSettings:["handleAppSettings"]}}};w.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{w as instant_apps_language_translator}
|
@@ -1,21 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{c as a}from"./p-8717729a.js";
|
7
|
-
/** @license
|
8
|
-
* Copyright 2022 Esri
|
9
|
-
*
|
10
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
11
|
-
* you may not use this file except in compliance with the License.
|
12
|
-
* You may obtain a copy of the License at
|
13
|
-
*
|
14
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
15
|
-
*
|
16
|
-
* Unless required by applicable law or agreed to in writing, software
|
17
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
18
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
19
|
-
* See the License for the specific language governing permissions and
|
20
|
-
* limitations under the License.
|
21
|
-
*/const{state:e,onChange:s}=a({managedLayers:{},managedTables:[],highlightHandles:[],removeHandles:()=>{e.highlightHandles.forEach((a=>a?.remove())),e.highlightHandles=[]}}),n=new CustomEvent("managedLayersChanged",{bubbles:!0,cancelable:!1,composed:!0});s("managedLayers",(()=>{dispatchEvent(n)}));export{e as s}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
var t=Object.defineProperty,e=new WeakMap,n=t=>e.get(t),o=(t,n)=>e.set(n.t=t,n),l=(t,e)=>e in t,s=(t,e)=>(0,console.error)(t,e),r=new Map,i=new Map,c="slot-fb{display:contents}slot-fb[hidden]{display:none}",f="undefined"!=typeof window?window:{},u=f.document||{head:{}},a={o:0,l:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,o)=>t.addEventListener(e,n,o),rel:(t,e,n,o)=>t.removeEventListener(e,n,o),ce:(t,e)=>new CustomEvent(t,e)},d=t=>Promise.resolve(t),h=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(t){}return!1})(),p=!1,m=[],v=[],y=(t,e)=>n=>{t.push(n),p||(p=!0,e&&4&a.o?w($):a.raf($))},b=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){s(t)}t.length=0},$=()=>{b(m),b(v),(p=m.length>0)&&a.raf($)},w=t=>d().then(t),g=y(v,!0),S=t=>{const e=new URL(t,a.l);return e.origin!==f.location.origin?e.href:e.pathname},j={},k=t=>"object"==(t=typeof t)||"function"===t;function O(t){var e,n,o;return null!=(o=null==(n=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}((e,n)=>{for(var o in n)t(e,o,{get:n[o],enumerable:!0})})({},{err:()=>C,map:()=>M,ok:()=>E,unwrap:()=>P,unwrapErr:()=>D});var E=t=>({isOk:!0,isErr:!1,value:t}),C=t=>({isOk:!1,isErr:!0,value:t});function M(t,e){if(t.isOk){const n=e(t.value);return n instanceof Promise?n.then((t=>E(t))):E(n)}if(t.isErr)return C(t.value);throw"should never get here"}var R,x,A,P=t=>{if(t.isOk)return t.value;throw t.value},D=t=>{if(t.isErr)return t.value;throw t.value},T=(t,e,...n)=>{let o=null,l=null,s=null,r=!1,i=!1;const c=[],f=e=>{for(let n=0;n<e.length;n++)o=e[n],Array.isArray(o)?f(o):null!=o&&"boolean"!=typeof o&&((r="function"!=typeof t&&!k(o))&&(o+=""),r&&i?c[c.length-1].i+=o:c.push(r?U(null,o):o),i=r)};if(f(n),e){e.key&&(l=e.key),e.name&&(s=e.name);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}if("function"==typeof t)return t(null===e?{}:e,c,L);const u=U(t,null);return u.u=e,c.length>0&&(u.h=c),u.p=l,u.m=s,u},U=(t,e)=>({o:0,v:t,i:e,$:null,h:null,u:null,p:null,m:null}),H={},L={forEach:(t,e)=>t.map(W).forEach(e),map:(t,e)=>t.map(W).map(e).map(F)},W=t=>({vattrs:t.u,vchildren:t.h,vkey:t.p,vname:t.m,vtag:t.v,vtext:t.i}),F=t=>{if("function"==typeof t.vtag){const e={...t.vattrs};return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),T(t.vtag,e,...t.vchildren||[])}const e=U(t.vtag,t.vtext);return e.u=t.vattrs,e.h=t.vchildren,e.p=t.vkey,e.m=t.vname,e},N=(t,e,n,o,s,r)=>{if(n!==o){let i=l(t,e),c=e.toLowerCase();if("class"===e){const e=t.classList,l=B(n),s=B(o);t["s-si"]&&s.indexOf(t["s-si"])<0&&s.push(t["s-si"]),e.remove(...l.filter((t=>t&&!s.includes(t)))),e.add(...s.filter((t=>t&&!l.includes(t))))}else if("style"===e){for(const e in n)o&&null!=o[e]||(e.includes("-")?t.style.removeProperty(e):t.style[e]="");for(const e in o)n&&o[e]===n[e]||(e.includes("-")?t.style.setProperty(e,o[e]):t.style[e]=o[e])}else if("key"===e);else if("ref"===e)o&&o(t);else if(i||"o"!==e[0]||"n"!==e[1]){const l=k(o);if((i||l&&null!==o)&&!s)try{if(t.tagName.includes("-"))t[e]=o;else{const l=null==o?"":o;"list"===e?i=!1:null!=n&&t[e]==l||("function"==typeof t.__lookupSetter__(e)?t[e]=l:t.setAttribute(e,l))}}catch(t){}null==o||!1===o?!1===o&&""!==t.getAttribute(e)||t.removeAttribute(e):(!i||4&r||s)&&!l&&t.setAttribute(e,o=!0===o?"":o)}else if(e="-"===e[2]?e.slice(3):l(f,c)?c.slice(2):c[2]+e.slice(3),n||o){const l=e.endsWith(G);e=e.replace(I,""),n&&a.rel(t,e,n,l),o&&a.ael(t,e,o,l)}}},q=/\s/,B=t=>t?t.split(q):[],G="Capture",I=RegExp(G+"$"),V=(t,e,n)=>{const o=11===e.$.nodeType&&e.$.host?e.$.host:e.$,l=t&&t.u||j,s=e.u||j;for(const t of _(Object.keys(l)))t in s||N(o,t,l[t],void 0,n,e.o);for(const t of _(Object.keys(s)))N(o,t,l[t],s[t],n,e.o)};function _(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var z=!1,J=!1,K=!1,Q=!1,X=(t,e,n,o)=>{var l;const s=e.h[n];let r,i,c,f=0;if(z||(K=!0,"slot"===s.v&&(R&&o.classList.add(R+"-s"),s.o|=s.h?2:1)),null!==s.i)r=s.$=u.createTextNode(s.i);else if(1&s.o)r=s.$=u.createTextNode("");else{if(Q||(Q="svg"===s.v),r=s.$=u.createElementNS(Q?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!z&&2&s.o?"slot-fb":s.v),Q&&"foreignObject"===s.v&&(Q=!1),V(null,s,Q),!!r.getRootNode().querySelector("body")&&null!=R&&r["s-si"]!==R&&r.classList.add(r["s-si"]=R),dt(r,o),s.h)for(f=0;f<s.h.length;++f)i=X(t,s,f,r),i&&r.appendChild(i);"svg"===s.v?Q=!1:"foreignObject"===r.tagName&&(Q=!0)}return r["s-hn"]=A,3&s.o&&(r["s-sr"]=!0,r["s-cr"]=x,r["s-sn"]=s.m||"",r["s-rf"]=null==(l=s.u)?void 0:l.ref,c=t&&t.h&&t.h[n],c&&c.v===s.v&&t.$&&Y(t.$,!1)),r},Y=(t,e)=>{a.o|=1;const n=Array.from(t.__childNodes||t.childNodes);for(let t=n.length-1;t>=0;t--){const o=n[t];o["s-hn"]!==A&&o["s-ol"]&&(ut(ot(o),o,nt(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,K=!0),e&&Y(o,e)}a.o&=-2},Z=(t,e,n,o,l,s)=>{let r,i=t["s-cr"]&&t["s-cr"].parentNode||t;for(i.shadowRoot&&i.tagName===A&&(i=i.shadowRoot);l<=s;++l)o[l]&&(r=X(null,n,l,t),r&&(o[l].$=r,ut(i,r,nt(e))))},tt=(t,e,n)=>{for(let o=e;o<=n;++o){const e=t[o];if(e){const t=e.$;ft(e),t&&(J=!0,t["s-ol"]?t["s-ol"].remove():Y(t,!0),t.remove())}}},et=(t,e,n=!1)=>!(t.v!==e.v||("slot"===t.v?"S"in t&&n&&8!==t.$.nodeType||t.m!==e.m:!n&&t.p!==e.p)),nt=t=>t&&t["s-ol"]||t,ot=t=>(t["s-ol"]?t["s-ol"]:t).parentNode,lt=(t,e,n=!1)=>{const o=e.$=t.$,l=t.h,s=e.h,r=e.v,i=e.i;let c;null===i?(Q="svg"===r||"foreignObject"!==r&&Q,("slot"!==r||z)&&V(t,e,Q),null!==l&&null!==s?((t,e,n,o,l=!1)=>{let s,r,i=0,c=0,f=0,u=0,a=e.length-1,d=e[0],h=e[a],p=o.length-1,m=o[0],v=o[p];for(;i<=a&&c<=p;)if(null==d)d=e[++i];else if(null==h)h=e[--a];else if(null==m)m=o[++c];else if(null==v)v=o[--p];else if(et(d,m,l))lt(d,m,l),d=e[++i],m=o[++c];else if(et(h,v,l))lt(h,v,l),h=e[--a],v=o[--p];else if(et(d,v,l))"slot"!==d.v&&"slot"!==v.v||Y(d.$.parentNode,!1),lt(d,v,l),ut(t,d.$,h.$.nextSibling),d=e[++i],v=o[--p];else if(et(h,m,l))"slot"!==d.v&&"slot"!==v.v||Y(h.$.parentNode,!1),lt(h,m,l),ut(t,h.$,d.$),h=e[--a],m=o[++c];else{for(f=-1,u=i;u<=a;++u)if(e[u]&&null!==e[u].p&&e[u].p===m.p){f=u;break}f>=0?(r=e[f],r.v!==m.v?s=X(e&&e[c],n,f,t):(lt(r,m,l),e[f]=void 0,s=r.$),m=o[++c]):(s=X(e&&e[c],n,c,t),m=o[++c]),s&&ut(ot(d.$),s,nt(d.$))}i>a?Z(t,null==o[p+1]?null:o[p+1].$,n,o,c,p):c>p&&tt(e,i,a)})(o,l,e,s,n):null!==s?(null!==t.i&&(o.textContent=""),Z(o,null,e,s,0,s.length-1)):!n&&null!==l&&tt(l,0,l.length-1),Q&&"svg"===r&&(Q=!1)):(c=o["s-cr"])?c.parentNode.textContent=i:t.i!==i&&(o.data=i)},st=t=>{const e=t.__childNodes||t.childNodes;for(const t of e)if(1===t.nodeType){if(t["s-sr"]){const n=t["s-sn"];t.hidden=!1;for(const o of e)if(o!==t)if(o["s-hn"]!==t["s-hn"]||""!==n){if(1===o.nodeType&&(n===o.getAttribute("slot")||n===o["s-sn"])||3===o.nodeType&&n===o["s-sn"]){t.hidden=!0;break}}else if(n===o["s-sn"]&&(1===o.nodeType||3===o.nodeType&&""!==o.textContent.trim())){t.hidden=!0;break}}st(t)}},rt=[],it=t=>{let e,n,o;const l=t.__childNodes||t.childNodes;for(const t of l){if(t["s-sr"]&&(e=t["s-cr"])&&e.parentNode){n=e.parentNode.__childNodes||e.parentNode.childNodes;const l=t["s-sn"];for(o=n.length-1;o>=0;o--)if(e=n[o],!e["s-cn"]&&!e["s-nr"]&&e["s-hn"]!==t["s-hn"])if(ct(e,l)){let n=rt.find((t=>t.j===e));J=!0,e["s-sn"]=e["s-sn"]||l,n?(n.j["s-sh"]=t["s-hn"],n.k=t):(e["s-sh"]=t["s-hn"],rt.push({k:t,j:e})),e["s-sr"]&&rt.map((t=>{ct(t.j,e["s-sn"])&&(n=rt.find((t=>t.j===e)),n&&!t.k&&(t.k=n.k))}))}else rt.some((t=>t.j===e))||rt.push({j:e})}1===t.nodeType&&it(t)}},ct=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,ft=t=>{t.u&&t.u.ref&&t.u.ref(null),t.h&&t.h.map(ft)},ut=(t,e,n)=>{const o=null==t?void 0:t.insertBefore(e,n);return dt(e,t),o},at=t=>{const e=[];return t&&e.push(...t["s-scs"]||[],t["s-si"],t["s-sc"],...at(t.parentElement)),e},dt=(t,e,n=!1)=>{var o;if(t&&e&&1===t.nodeType){const l=new Set(at(e).filter(Boolean));if(l.size&&(null==(o=t.classList)||o.add(...t["s-scs"]=Array.from(l)),t["s-ol"]||n))for(const e of Array.from(t.__childNodes||t.childNodes))dt(e,t,!0)}},ht=(t,e)=>null==t||k(t)?t:4&e?"false"!==t&&(""===t||!!t):2&e?parseFloat(t):1&e?t+"":t,pt=t=>n(t).$hostElement$,mt=(t,e,n)=>{const o=pt(t);return{emit:t=>vt(o,e,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:t})}},vt=(t,e,n)=>{const o=a.ce(e,n);return t.dispatchEvent(o),o},yt=new WeakMap,bt=t=>"sc-"+t.O,$t=(t,e)=>{e&&!t.C&&e["s-p"]&&e["s-p"].push(new Promise((e=>t.C=e)))},wt=(t,e)=>{if(t.o|=16,!(4&t.o))return $t(t,t.M),g((()=>gt(t,e)));t.o|=512},gt=(t,e)=>{const n=t.t;if(!n)throw Error(`Can't render component <${t.$hostElement$.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let o;return e?(t.o|=256,t.R&&(t.R.map((([t,e])=>At(n,t,e))),t.R=void 0),o=At(n,"componentWillLoad")):o=At(n,"componentWillUpdate"),o=St(o,(()=>At(n,"componentWillRender"))),St(o,(()=>kt(t,n,e)))},St=(t,e)=>jt(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),jt=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,kt=async(t,e,n)=>{var o;const l=t.$hostElement$,s=l["s-rc"];n&&(t=>{const e=t.A,n=t.$hostElement$,o=e.o,l=((t,e)=>{var n;const o=bt(e),l=i.get(o);if(t=11===t.nodeType?t:u,l)if("string"==typeof l){let s,r=yt.get(t=t.head||t);if(r||yt.set(t,r=new Set),!r.has(o)){{s=u.createElement("style"),s.innerHTML=l;const o=null!=(n=a.P)?n:O(u);if(null!=o&&s.setAttribute("nonce",o),!(1&e.o))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),n=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(s,n)}else if("host"in t)if(h){const e=new CSSStyleSheet;e.replaceSync(l),t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.innerHTML=l+e.innerHTML:t.prepend(s)}else t.append(s);1&e.o&&"HEAD"!==t.nodeName&&t.insertBefore(s,null)}4&e.o&&(s.innerHTML+=c),r&&r.add(o)}}else t.adoptedStyleSheets.includes(l)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,l]);return o})(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);10&o&&2&o&&(n["s-sc"]=l,n.classList.add(l+"-h"),2&o&&n.classList.add(l+"-s"))})(t);Et(t,e,l,n),s&&(s.map((t=>t())),l["s-rc"]=void 0);{const e=null!=(o=l["s-p"])?o:[],n=()=>Mt(t);0===e.length?n():(Promise.all(e).then(n),t.o|=4,e.length=0)}},Ot=null,Et=(t,e,n,o)=>{try{Ot=e,e=e.render(),t.o&=-17,t.o|=2,((t,e,n=!1)=>{var o,l,s,r;const i=t.$hostElement$,c=t.A,f=t.D||U(null,null),d=(t=>t&&t.v===H)(e)?e:T(null,null,e);if(A=i.tagName,c.T&&(d.u=d.u||{},c.T.map((([t,e])=>d.u[e]=i[t]))),n&&d.u)for(const t of Object.keys(d.u))i.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(d.u[t]=i[t]);if(d.v=null,d.o|=4,t.D=d,d.$=f.$=i.shadowRoot||i,R=i["s-sc"],z=!!(1&c.o),x=i["s-cr"],J=!1,lt(f,d,n),a.o|=1,K){it(d.$);for(const t of rt){const e=t.j;if(!e["s-ol"]){const t=u.createTextNode("");t["s-nr"]=e,ut(e.parentNode,e["s-ol"]=t,e)}}for(const t of rt){const e=t.j,i=t.k;if(i){const t=i.parentNode;let n=i.nextSibling;{let s=null==(o=e["s-ol"])?void 0:o.previousSibling;for(;s;){let o=null!=(l=s["s-nr"])?l:null;if(o&&o["s-sn"]===e["s-sn"]&&t===o.parentNode){for(o=o.nextSibling;o===e||(null==o?void 0:o["s-sr"]);)o=null==o?void 0:o.nextSibling;if(!o||!o["s-nr"]){n=o;break}}s=s.previousSibling}}(!n&&t!==e.parentNode||e.nextSibling!==n)&&e!==n&&(!e["s-hn"]&&e["s-ol"]&&(e["s-hn"]=e["s-ol"].parentNode.nodeName),ut(t,e,n),1===e.nodeType&&(e.hidden=null!=(s=e["s-ih"])&&s)),e&&"function"==typeof i["s-rf"]&&i["s-rf"](e)}else 1===e.nodeType&&(n&&(e["s-ih"]=null!=(r=e.hidden)&&r),e.hidden=!0)}}J&&st(d.$),a.o&=-2,rt.length=0,x=void 0})(t,e,o)}catch(e){s(e,t.$hostElement$)}return Ot=null,null},Ct=()=>Ot,Mt=t=>{const e=t.$hostElement$,n=t.t,o=t.M;At(n,"componentDidRender"),64&t.o?At(n,"componentDidUpdate"):(t.o|=64,Pt(e),At(n,"componentDidLoad"),t.U(e),o||xt()),t.H(e),t.C&&(t.C(),t.C=void 0),512&t.o&&w((()=>wt(t,!1))),t.o&=-517},Rt=t=>{{const e=n(t),o=e.$hostElement$.isConnected;return o&&2==(18&e.o)&&wt(e,!1),o}},xt=()=>{Pt(u.documentElement),w((()=>vt(f,"appload",{detail:{namespace:"solutions-components"}})))},At=(t,e,n)=>{if(t&&t[e])try{return t[e](n)}catch(t){s(t)}},Pt=t=>t.classList.add("hydrated"),Dt=(t,e,o,l)=>{const r=n(t);if(!r)throw Error(`Couldn't find host element for "${l.O}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const i=r.$hostElement$,c=r.L.get(e),f=r.o,u=r.t;if(o=ht(o,l.W[e][0]),(!(8&f)||void 0===c)&&o!==c&&(!Number.isNaN(c)||!Number.isNaN(o))&&(r.L.set(e,o),u)){if(l.F&&128&f){const t=l.F[e];t&&t.map((t=>{try{u[t](o,c,e)}catch(t){s(t,i)}}))}2==(18&f)&&wt(r,!1)}},Tt=(t,e,o)=>{var l,s;const r=t.prototype;if(e.W||e.F||t.watchers){t.watchers&&!e.F&&(e.F=t.watchers);const i=Object.entries(null!=(l=e.W)?l:{});if(i.map((([t,[l]])=>{if(31&l||2&o&&32&l)if(2048&l){if(1&o&&2048&l&&(Object.defineProperty(r,t,{get(){const e=n(this),o=e?e.t:r;if(o)return o[t]},configurable:!0,enumerable:!0}),4096&l)){const o=Object.getOwnPropertyDescriptor(r,t).set;Object.defineProperty(r,t,{set(l){const s=n(this);if(o){const n=s.$hostElement$[t];return!s.L.get(t)&&n&&s.L.set(t,n),o.call(this,ht(l,e.W[t][0])),void Dt(this,t,s.$hostElement$[t],e)}if(!s)return;const r=()=>{const n=s.t[t];!s.L.get(t)&&n&&s.L.set(t,n),s.t[t]=ht(l,e.W[t][0]),Dt(this,t,s.t[t],e)};s.t?r():s.N.then((()=>r()))}})}}else Object.defineProperty(r,t,{get(){return((t,e)=>n(this).L.get(e))(0,t)},set(n){Dt(this,t,n,e)},configurable:!0,enumerable:!0});else 1&o&&64&l&&Object.defineProperty(r,t,{value(...e){var o;const l=n(this);return null==(o=null==l?void 0:l.q)?void 0:o.then((()=>{var n;return null==(n=l.t)?void 0:n[t](...e)}))}})})),1&o){const o=new Map;r.attributeChangedCallback=function(t,l,s){a.jmp((()=>{var i;const c=o.get(t);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(r.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const o=n(this),r=null==o?void 0:o.o;if(r&&!(8&r)&&128&r&&s!==l){const n=o.t,r=null==(i=e.F)?void 0:i[t];null==r||r.forEach((e=>{null!=n[e]&&n[e].call(n,s,l,t)}))}return}}const f=Object.getOwnPropertyDescriptor(r,c);f.get&&!f.set||(this[c]=(null!==s||"boolean"!=typeof this[c])&&s)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=e.F)?s:{}),...i.filter((([t,e])=>15&e[0])).map((([t,n])=>{var l;const s=n[1]||t;return o.set(s,t),512&n[0]&&(null==(l=e.T)||l.push([t,s])),s}))]))}}return t},Ut=t=>{At(t,"connectedCallback")},Ht=t=>{At(t,"disconnectedCallback")},Lt=(t,o={})=>{var l;const d=[],p=o.exclude||[],m=f.customElements,v=u.head,y=v.querySelector("meta[charset]"),b=u.createElement("style"),$=[];let w,g=!0;Object.assign(a,o),a.l=new URL(o.resourcesUrl||"./",u.baseURI).href;let S=!1;if(t.map((t=>{t[1].map((o=>{var l;const c={o:o[0],O:o[1],W:o[2],B:o[3]};4&c.o&&(S=!0),c.W=o[2],c.B=o[3],c.T=[],c.F=null!=(l=o[4])?l:{};const f=c.O,v=class extends HTMLElement{constructor(t){if(super(t),this.hasRegisteredEventListeners=!1,((t,n)=>{const o={o:0,$hostElement$:t,A:n,L:new Map};o.q=new Promise((t=>o.H=t)),o.N=new Promise((t=>o.U=t)),t["s-p"]=[],t["s-rc"]=[],e.set(t,o)})(t=this,c),1&c.o)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${c.O}! Mode is set to ${t.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else t.attachShadow({mode:"open"})}connectedCallback(){const t=n(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Ft(this,t,c.B)),w&&(clearTimeout(w),w=null),g?$.push(this):a.jmp((()=>(t=>{if(!(1&a.o)){const e=n(t),o=e.A,l=()=>{};if(1&e.o)Ft(t,e,o.B),(null==e?void 0:e.t)?Ut(e.t):(null==e?void 0:e.N)&&e.N.then((()=>Ut(e.t)));else{e.o|=1,12&o.o&&(t=>{const e=t["s-cr"]=u.createComment("");e["s-cn"]=!0,ut(t,e,t.firstChild)})(t);{let n=t;for(;n=n.parentNode||n.host;)if(n["s-p"]){$t(e,e.M=n);break}}o.W&&Object.entries(o.W).map((([e,[n]])=>{if(31&n&&t.hasOwnProperty(e)){const n=t[e];delete t[e],t[e]=n}})),(async(t,e,n)=>{let o;if(!(32&e.o)){if(e.o|=32,n.G){const t=(t=>{const e=t.O.replace(/-/g,"_"),n=t.G;if(!n)return;const o=r.get(n);return o?o[e]:import(`./${n}.entry.js`).then((t=>(r.set(n,t),t[e])),s)
|
7
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n);if(t&&"then"in t){const e=()=>{};o=await t,e()}else o=t;if(!o)throw Error(`Constructor for "${n.O}#${e.I}" was not found`);o.isProxied||(n.F=o.watchers,Tt(o,n,2),o.isProxied=!0);const l=()=>{};e.o|=8;try{new o(e)}catch(t){s(t)}e.o&=-9,e.o|=128,l(),Ut(e.t)}else o=t.constructor,customElements.whenDefined(t.localName).then((()=>e.o|=128));if(o&&o.style){let t;"string"==typeof o.style&&(t=o.style);const e=bt(n);if(!i.has(e)){const o=()=>{};((t,e,n)=>{let o=i.get(t);h&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=e:o.replaceSync(e)):o=e,i.set(t,o)})(e,t,!!(1&n.o)),o()}}}const l=e.M,c=()=>wt(e,!0);l&&l["s-rc"]?l["s-rc"].push(c):c()})(t,e,o)}l()}})(this)))}disconnectedCallback(){a.jmp((()=>(async()=>{if(!(1&a.o)){const t=n(this);t.V&&(t.V.map((t=>t())),t.V=void 0),(null==t?void 0:t.t)?Ht(t.t):(null==t?void 0:t.N)&&t.N.then((()=>Ht(t.t)))}})()))}componentOnReady(){return n(this).N}};c.G=t[0],p.includes(f)||m.get(f)||(d.push(f),m.define(f,Tt(v,c,1)))}))})),d.length>0&&(S&&(b.textContent+=c),b.textContent+=d.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",b.innerHTML.length)){b.setAttribute("data-styles","");const t=null!=(l=a.P)?l:O(u);null!=t&&b.setAttribute("nonce",t),v.insertBefore(b,y?y.nextSibling:v.firstChild)}g=!1,$.length?$.map((t=>t.connectedCallback())):a.jmp((()=>w=setTimeout(xt,30)))},Wt=(t,e)=>e,Ft=(t,e,n)=>{n&&n.map((([n,o,l])=>{const s=qt(t,n),r=Nt(e,l),i=Bt(n);a.ael(s,o,r,i),(e.V=e.V||[]).push((()=>a.rel(s,o,r,i)))}))},Nt=(t,e)=>n=>{var o;try{256&t.o?null==(o=t.t)||o[e](n):(t.R=t.R||[]).push([e,n])}catch(t){s(t)}},qt=(t,e)=>8&e?f:t,Bt=t=>({passive:!!(1&t),capture:!!(2&t)}),Gt=t=>a.P=t;export{Wt as F,H,S as a,Lt as b,mt as c,Ct as d,Rt as f,pt as g,T as h,d as p,o as r,Gt as s}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as t,c as a,h as n,H as s,g as e,F as i}from"./p-e996c38f.js";import{d as r,e as o,f as l,s as c,h as p,E as u,l as g,j as d,c as h}from"./p-7dc95675.js";import"./p-648b5a9e.js";import"./p-d001e961.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-ac122d9e.js";import"./p-8717729a.js";const m="instant-apps-components__ckeditor-wrapper",v=class{constructor(n){t(this,n),this.isFocused=a(this,"isFocused",7),this.dataChanged=a(this,"dataChanged",7),this.value=void 0,this.editorInstance=void 0,this.config=void 0}updateValue(){this.value&&this.editorInstance.setData(this.value)}async componentDidLoad(){this.init()}componentDidUpdate(){this.editorInstance.setData(this.value)}render(){return n(s,{key:"26f62d5413e21916b77253476cf48f69682861d5"},n("div",{key:"45a9d7b859a21e49c81afdaa3bdd5074f1428cd5"}))}init(){this.applyStyles(),this.initEditor()}applyStyles(){if(document.getElementById(m))return;const t=document.createElement("style");t.id=m,t.innerHTML="\n .ck.ck-reset.ck-editor.ck-rounded-corners {\n margin-top: 10px !important;\n margin-left: 55px !important;\n }\n .ck-editor__editable {\n height: 70px !important;\n font-size: 0.875rem !important;\n line-height: \t1.375 !important;\n color: var(--calcite-color-text-1) !important;\n }\n\n .ck.ck-editor__editable_inline>:first-child,\n .ck.ck-editor__editable_inline>:last-child {\n --ck-spacing-large: 0.5rem !important;\n }\n\n .ck.ck-balloon-panel.ck-powered-by-balloon {\n --ck-z-modal: 700;\n z-index: 700;\n }\n\n .calcite-mode-dark .ck-editor__editable {\n color: var(--calcite-color-text-inverse) !important;\n }\n",document.head.prepend(t)}async initEditor(){const t=await this.createEditor();t&&(this.editorInstance=t,(this.value||""===this.value)&&t.setData(this.value),t.editing.view.document.on("change:isFocused",this.getEditorFocusedCallback(t)))}async createEditor(){try{let t;return t=this.config?await ClassicEditor.create(this.el,this.config):await ClassicEditor.create(this.el),this.editorInstance=t,Promise.resolve(t)}catch(t){return console.error(t),Promise.reject(null)}}getEditorFocusedCallback(t){return(a,n,s)=>{if(s)this.isFocused.emit();else{const a=t.getData();this.value!==a&&(this.value=a,this.dataChanged.emit(a))}}}get el(){return e(this)}static get watchers(){return{value:["updateValue"]}}};v.style=":host{display:block}";const _="instant-apps-language-translator-item",f={section:`${_}__section`,selected:`${_}__section--selected`,collapsed:`${_}__section--collapsed`,topRow:`${_}__top-row`,labelContainer:`${_}__label-container`,label:`${_}__label`,uiLocationPopoverContent:`${_}__ui-location-popover-content`,uiLocationItems:`${_}__ui-location-items`,uiLocationItem:`${_}__ui-location-item`,infoIcon:`${_}__info-icon`,infoButton:`${_}__info-button`,tip:`${_}__tip`,nestedInput:`${_}__nested-input`},b=class{constructor(n){t(this,n),this.translatorItemDataUpdated=a(this,"translatorItemDataUpdated",7),this.userInputs={},this.translatedInputs={},this.fieldName=void 0,this.translatedLanguageLabels=void 0,this.setting=void 0,this.userLocaleInputOnChangeCallback=void 0,this.translatedLocaleInputOnChangeCallback=void 0}get isTextEditor(){return this.setting.type===r.TextEditor}get calciteMode(){return o()?l.Dark:l.Light}get hasNestedContent(){var t;return!!(null===(t=this.setting)||void 0===t?void 0:t.content)}get tipID(){return`${this.fieldName}goTo`}componentDidLoad(){this.isTextEditor&&c.onChange("uiData",(()=>this.handleEditorCollapse()))}render(){var t;return"content"in this.setting&&(null===(t=this.setting.content)||void 0===t?void 0:t.every((t=>{var a;return 0===(null===(a=null==t?void 0:t.content)||void 0===a?void 0:a.length)})))?n(i,null):n(s,{class:this.calciteMode},this.renderBase(),this.renderPopover())}renderBase(){return n("div",{class:_},this.renderUserLocaleSection(),this.renderTranslatedLanguageSection())}renderPopover(){const t=this.getTip();return n("calcite-popover",{referenceElement:this.tipID,label:"","auto-close":"true",placement:"trailing",closable:!0},n("span",{class:f.uiLocationPopoverContent},n("span",{class:f.uiLocationItems},this.getUILocation()),t?n("span",{class:f.tip},t):null))}renderUserLocaleSection(){const t=this.getUIDataItem(),a=null==t?void 0:t.userLocaleData,s=null==a?void 0:a.value,e=this.setting.id;return n("div",{class:`${f.section}${(null==t?void 0:t.selected)?` ${f.selected}`:""}`},this.renderItemHeader(p.User,null==a?void 0:a.label,e),this.handleInputRender(p.User,s,e))}renderTranslatedLanguageSection(){var t,a;const s=this.getUIDataItem(),e=this.setting.id,i=c.get("currentLanguage"),r=c.get("portalItemResourceT9n"),o=null===(t=this.translatedLanguageLabels)||void 0===t?void 0:t[this.fieldName],l=null===(a=null==r?void 0:r[i])||void 0===a?void 0:a[e];return n("div",{class:`${f.section}${(null==s?void 0:s.selected)?` ${f.selected}`:""}`},this.renderItemHeader(p.Translation,o,e),this.handleInputRender(p.Translation,l,e))}handleInputRender(t,a,n){const s=this.getUIDataItem();return(null==s?void 0:s.expanded)?this.hasNestedContent?this.renderNestedInputs(t):this.renderInput(t,a,n):null}renderNestedInputs(t,a){const n=null!=a?a:this.setting,{content:s}=n;return null==s?void 0:s.map((a=>a.hasOwnProperty("content")?this.renderNestedInputs(t,a):this.renderNestedInput(t,a)))}renderNestedInput(t,a){var s;const e=c.get("currentLanguage"),i=c.get("portalItemResourceT9n"),r=null==a?void 0:a.id,o=null==i?void 0:i[e],l=null==o?void 0:o[r],{label:u,value:g,id:d}=a,h=t===p.Translation?null===(s=this.translatedLanguageLabels)||void 0===s?void 0:s[d]:u,m=t===p.User?g:l;return n("div",{class:f.nestedInput},this.renderItemHeader(t,h,r,a),this.renderInput(t,m,r,a))}renderItemHeader(t,a,s,e){const i=!this.hasNestedContent||!!e;return n("div",{class:f.topRow},this.renderItemHeaderLabel(t,a,e),i?this.renderCopyButton(t,s):null)}renderItemHeaderLabel(t,a,s){const e=t===p.User&&!s;return n("div",{class:f.labelContainer},s?null:this.renderExpandCollapseButton(),n("calcite-icon",{icon:this.getIcon(s),scale:"s"}),n("span",{class:f.label},a),e?this.renderInfoButton():null)}renderExpandCollapseButton(){const t=this.getUIDataItem(),a=(null==t?void 0:t.expanded)?u.Expanded:u.Collapsed;return n("calcite-action",{onClick:this.handleExpand.bind(this,t),icon:a,scale:"s",appearance:"transparent",text:""})}renderInfoButton(){return n("button",{id:this.tipID,class:f.infoButton},n("calcite-icon",{class:f.infoIcon,icon:u.Popover,scale:"s"}))}renderCopyButton(t,a){return n("calcite-action",{class:this.calciteMode,onClick:this.copySelection.bind(this,t,a),slot:"action",icon:u.Copy,appearance:"transparent",text:""})}renderInput(t,a,n,s){const e=null!=s?s:this.setting;return"string"===e.type||"textarea"===e.type?t===p.User?this.renderUserLocaleInput(a,n):this.renderTranslatedLanguageInput(a,n):this.renderTextEditor(a,t,n)}renderUserLocaleInput(t,a){return n("calcite-input",{ref:t=>this.userInputs[a]=t,key:a,id:a,class:l.Light,"data-field-name":this.fieldName,value:t,onFocus:this.handleSelection,onCalciteInputChange:this.handleUserInputChange.bind(this)})}renderTranslatedLanguageInput(t,a){return n("calcite-input",{ref:t=>this.translatedInputs[a]=t,key:a,id:a,class:l.Light,"data-field-name":this.fieldName,value:t,onFocus:this.handleSelection,onCalciteInputChange:this.handleTranslatedInputChange.bind(this)})}renderTextEditor(t,a,s){return n("instant-apps-ckeditor-wrapper",{id:s,ref:this.setEditor.bind(this,a),onDataChanged:this.handleTextEditorDataChange.bind(this,a),onIsFocused:this.handleSelection,value:null!=t?t:"","data-field-name":this.fieldName,config:{toolbar:[]}})}getUIDataItem(){if(g.uiData)return g.uiData.get(this.fieldName)}updateT9nStore(t,a){const n=c.get("currentLanguage"),s=d(n,{[t]:a});c.set("portalItemResourceT9n",s)}handleExpand(){const t=this.getUIDataItem();t.expanded=!t.expanded;const a=new Map(g.uiData);a.set(this.fieldName,t),c.set("uiData",a)}handleEditorCollapse(){var t,a;const n=c.get("uiData"),s=null==n?void 0:n.get(this.fieldName);if(!(null==s?void 0:s.expanded)&&(null===(t=this.userEditorWrapper)||void 0===t?void 0:t.editorInstance)&&(null===(a=this.translatedEditorWrapper)||void 0===a?void 0:a.editorInstance)){const{userEditorWrapper:t,translatedEditorWrapper:a}=this,n=t.editorInstance.getData();t.value=n;const s=a.editorInstance.getData();a.value=s,t.editorInstance.destroy(),a.editorInstance.destroy()}}handleSelection(t){const a=new Map(g.uiData),n=h();n.forEach((t=>{(null==a?void 0:a.get(t)).selected=!1})),n.forEach((n=>{const s=null==t?void 0:t.target;n===(null==s?void 0:s.getAttribute("data-field-name"))&&((null==a?void 0:a.get(n)).selected=!0)})),c.set("uiData",a)}getUILocation(){const t=this.getUIDataItem(),{uiLocation:a,userLocaleData:s}=t,{section:e,subsection:i}=a,r=[e.label,i.label,s.label].filter((t=>!!t));return r.map(((t,a)=>n("span",{class:f.uiLocationItem},n("span",null,t),a!==r.length-1?n("calcite-icon",{icon:"chevron-right",scale:"s"}):null)))}getTip(){const t=this.getUIDataItem(),{tip:a}=t;return a}copySelection(t,a){this.setting.type===r.TextEditor?this.copyTextEditorContent(t):this.copyCalciteInputContent(a,t)}copyTextEditorContent(t){var a,n;const s=t===p.User?null===(a=this.userEditorWrapper)||void 0===a?void 0:a.editorInstance:null===(n=this.translatedEditorWrapper)||void 0===n?void 0:n.editorInstance;setTimeout((()=>{this.selectContent(s),setTimeout((()=>this.selectContent(s)),50)}),50),this.copyContent(s)}selectContent(t){t.editing.view.focus();const{model:a}=t,n=a.createRangeIn(a.document.getRoot());a.change((t=>t.setSelection(n)))}copyContent(t){const a=t.getData(),n=document.createElement("div");n.contentEditable="true",n.innerHTML=a,document.body.appendChild(n);const s=document.createRange();s.selectNodeContents(n);const e=window.getSelection();null==e||e.removeAllRanges(),null==e||e.addRange(s),document.execCommand("copy"),document.body.removeChild(n)}copyCalciteInputContent(t,a){const n=a===p.User?this.userInputs[t]:this.translatedInputs[t];n&&(n.selectText(),navigator.clipboard.writeText(n.value))}setEditor(t,a){t===p.User?this.userEditorWrapper=a:this.translatedEditorWrapper=a}async handleUserInputChange(t){c.set("saving",!0);try{const a=t.target,n=a.id,s=a.value;this.getUIDataItem().userLocaleData.value=s,await this.userLocaleInputOnChangeCallback(n,s),c.set("saving",!1)}catch(t){c.set("saving",!1)}}async handleUserTextEditorChange(t){c.set("saving",!0);try{const a=t.detail,n=t.target.id;this.getUIDataItem().userLocaleData.value=a,await this.userLocaleInputOnChangeCallback(n,a),c.set("saving",!1)}catch(t){c.set("saving",!1)}}async handleTranslatedInputChange(t){c.set("saving",!0);try{const a=t.composedPath()[0],n=a.id;this.updateT9nStore(n,a.value);const{locale:s,resource:e}=this.getTranslatedLocaleCallbackData(),i=t.target.value;await this.translatedLocaleInputOnChangeCallback(n,i,s,e),setTimeout((()=>c.set("saving",!1)),1500),this.translatorItemDataUpdated.emit()}catch(t){console.error("Error writing to portal item resource: ",t),c.set("saving",!1)}}async handleTranslatedTextEditorChange(t){c.set("saving",!0);try{const a=t.target.id;this.updateT9nStore(a,t.detail);const{locale:n,resource:s}=this.getTranslatedLocaleCallbackData(),e=t.detail;await this.translatedLocaleInputOnChangeCallback(a,e,n,s),setTimeout((()=>c.set("saving",!1)),1500),this.translatorItemDataUpdated.emit()}catch(t){console.error("Error writing to portal item resource: ",t),c.set("saving",!1)}}handleTextEditorDataChange(t,a){t===p.User?this.handleUserTextEditorChange(a):this.handleTranslatedTextEditorChange(a)}getTranslatedLocaleCallbackData(){return{locale:c.get("currentLanguage"),resource:c.get("portalItemResource")}}getIcon(t){switch((null!=t?t:this.setting).stringType){case"title":return u.Title;case"subtitle":return u.Subtitle;case"text":return u.Text;case"button":return u.Button;case"string":return u.String;default:return u.SettingIndicator}}};b.style=".sc-instant-apps-language-translator-item-h{display:block}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item.sc-instant-apps-language-translator-item{display:flex}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section.sc-instant-apps-language-translator-item{padding:10px;border-bottom:1px solid var(--calcite-color-border-1);background-color:var(--calcite-color-foreground-2);width:49%}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section.sc-instant-apps-language-translator-item .instant-apps-language-translator-item__top-row.sc-instant-apps-language-translator-item{display:flex;align-items:center;justify-content:space-between}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section.sc-instant-apps-language-translator-item .instant-apps-language-translator-item__label-container.sc-instant-apps-language-translator-item{display:flex;align-items:center}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section.sc-instant-apps-language-translator-item .instant-apps-language-translator-item__label.sc-instant-apps-language-translator-item{display:inline-block;margin-left:10px;font-size:14px;font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section.sc-instant-apps-language-translator-item calcite-input.sc-instant-apps-language-translator-item{margin-top:10px;margin-left:55px}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section--last-item.sc-instant-apps-language-translator-item{border-bottom:none}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section--selected.sc-instant-apps-language-translator-item{background-color:#f1faff}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section.sc-instant-apps-language-translator-item:first-child{margin-right:1%}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__ui-location-popover-content.sc-instant-apps-language-translator-item{display:inline-block;padding:10px;max-width:400px}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__ui-location-items.sc-instant-apps-language-translator-item{display:flex}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__ui-location-item.sc-instant-apps-language-translator-item{display:flex;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:14px}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__tip.sc-instant-apps-language-translator-item{display:inline-block;font-size:14px;line-height:22px}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__info-icon.sc-instant-apps-language-translator-item{color:var(--calcite-color-brand)}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__info-button.sc-instant-apps-language-translator-item{border:0;background-color:transparent;cursor:pointer}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__nested-input.sc-instant-apps-language-translator-item{margin-left:60px;margin-top:8px}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__nested-input.sc-instant-apps-language-translator-item calcite-input.sc-instant-apps-language-translator-item{margin-left:30px}.calcite-mode-dark.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section--selected.sc-instant-apps-language-translator-item{background-color:#f1faff;background-color:var(--calcite-color-brand);color:var(--calcite-color-text-inverse)}.calcite-mode-dark.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section--selected.sc-instant-apps-language-translator-item calcite-action.sc-instant-apps-language-translator-item{--calcite-ui-icon-color:var(--calcite-color-text-inverse)}.calcite-mode-dark.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section--selected.sc-instant-apps-language-translator-item calcite-icon.sc-instant-apps-language-translator-item{color:var(--calcite-color-text-inverse)}.instant-apps-language-translator--last-item.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section.sc-instant-apps-language-translator-item{border-bottom:none}";const x="instant-apps-language-translator-search",k={base:x,input:`${x}__input`,suggestionList:`${x}__suggestion-list`,suggestionListItem:`${x}__suggestion-list-item`},y=class{constructor(n){t(this,n),this.suggestionSelected=a(this,"suggestionSelected",7),this.t9nPlaceholder=void 0,this.results=[]}render(){return n(s,{key:"80febf289e2bbfcf09636c84b5a5a83e80f377c0"},this.renderSearchInput(),this.renderSuggestions())}renderSearchInput(){return n("calcite-input",{ref:t=>this.searchInput=t,class:k.input,onCalciteInputInput:this.handleSearch.bind(this),type:"search",placeholder:this.t9nPlaceholder,icon:"search"})}renderSuggestions(){return this.results.length>0?this.renderSuggestionList():null}renderSuggestionList(){return n("ul",{class:k.suggestionList},this.results.map((t=>this.renderSuggestionListItem(t))))}renderSuggestionListItem(t){return n("li",{onClick:this.selectSuggestion.bind(this),class:k.suggestionListItem,"data-field-name":t.fieldName},t.userLocaleData.label)}handleSearch(t){var a,n;const s=null===(n=null===(a=t.target.value)||void 0===a?void 0:a.toLowerCase())||void 0===n?void 0:n.trim(),e=c.get("uiData"),i=h(),r=c.get("portalItemResourceT9n"),o=c.get("currentLanguage"),l=r[o],p=this.getSettingDataItems(i).filter(this.matchedResultsCallback(e,l,s,o));this.results=[...p.map((t=>Object.assign({fieldName:t},e.get(t))))]}matchedResultsCallback(t,a,n,s){return e=>{var i;const r=t.get(e),{label:o}=r.userLocaleData,{value:l}=r.userLocaleData,c=t.get("translatedLanguageLabels"),p=null===(i=null==c?void 0:c[s])||void 0===i?void 0:i[e],u=null==a?void 0:a[e],g=this.testUserInput(o,n),d=this.testUserInput(l,n),h=this.testUserInput(p,n),m=this.testUserInput(u,n);return g||d||h||m}}getSettingDataItems(t){return t.filter((t=>"locales"!==t&&"translatedLanguageLabels"!==t))}testUserInput(t,a){var n;return!!(null==t?void 0:t.trim())&&!!(null==a?void 0:a.trim())&&-1!==(null===(n=null==t?void 0:t.toLowerCase())||void 0===n?void 0:n.search(a))}selectSuggestion(t){const a=t.target.getAttribute("data-field-name");this.suggestionSelected.emit(a),this.resetSearchInput()}resetSearchInput(){this.searchInput.value="",this.results=[]}};y.style=".sc-instant-apps-language-translator-search-h{display:block;position:relative}.sc-instant-apps-language-translator-search-h .instant-apps-language-translator-search__input.sc-instant-apps-language-translator-search{width:235.5px}.sc-instant-apps-language-translator-search-h .instant-apps-language-translator-search__suggestion-list.sc-instant-apps-language-translator-search{position:absolute;margin:0;padding:0;width:100%;max-height:30vh;overflow:auto;border-left:none;background-color:var(--calcite-color-foreground-1);border:1px solid #c0c0c0;z-index:702}.sc-instant-apps-language-translator-search-h .instant-apps-language-translator-search__suggestion-list-item.sc-instant-apps-language-translator-search:first-child{border:none}.sc-instant-apps-language-translator-search-h .instant-apps-language-translator-search__suggestion-list-item.sc-instant-apps-language-translator-search{margin-top:0;padding:0.8em 1em;border-top:solid 1px rgba(110, 110, 110, 0.3);display:flex;flex-direction:column;cursor:pointer;word-break:break-word}.sc-instant-apps-language-translator-search-h .instant-apps-language-translator-search__suggestion-list-item.sc-instant-apps-language-translator-search:hover{background-color:var(--calcite-color-foreground-2)}";export{v as instant_apps_ckeditor_wrapper,b as instant_apps_language_translator_item,y as instant_apps_language_translator_search}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as t,c as i,g as s,h as e}from"./p-e996c38f.js";import{l as a,g as h}from"./p-404cbf48.js";import{P as n}from"./p-3335285a.js";import{g as l,c as o,h as c}from"./p-d572627c.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-8d281f47.js";import"./p-4fe489cf.js";import"./p-2bc98cb0.js";import"./p-4f236b5d.js";import"./p-570b13d9.js";import"./p-0668e30d.js";import"./p-80cb7c73.js";const r=class{constructor(s){t(this,s),this.featureSelect=i(this,"featureSelect",7),this.selectedLayerId=void 0,this.mapView=void 0,this.noFeaturesFoundMsg=void 0,this.pageSize=100,this.highlightOnMap=!1,this.highlightOnHover=!1,this.locale=void 0,this.sortingInfo=void 0,this.whereClause=void 0,this.textSize="large",this.showInitialLoading=!0,this.showErrorWhenNoFeatures=!0,this.showUserImageInList=!1,this.showFeatureSymbol=!1,this.applyLayerViewFilter=!1,this.reportingOptions=void 0,this._featureItems=[],this._featuresCount=0,this._isLoading=!1,this._translations=void 0}get el(){return s(this)}Color;esriConfig;symbolUtils;_popupUtils;_selectedLayer;_highlightHandle;_highlights;_pagination;_validFieldTypes=["small-integer","integer","big-integer","single","long"];_abbreviatedLikeCount;_likeFieldAvailable=!1;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async selectedLayerWatchHandler(){this._selectedLayer=await l(this.mapView,this.selectedLayerId),await this.initializeFeatureItems()}async sortingInfoWatchHandler(){await this.initializeFeatureItems()}async whereClauseHandler(){await this.initializeFeatureItems()}async refresh(t){if(t&&this._pagination){const t={target:{startItem:this._pagination.startItem}};await this.pageChanged(t)}else await this.initializeFeatureItems()}featureSelect;async componentWillLoad(){await this.initModules(),await this._getTranslations(),this._isLoading=this.showInitialLoading,this._popupUtils=new n,this.mapView&&this.selectedLayerId&&(this._selectedLayer=await l(this.mapView,this.selectedLayerId))}async componentDidLoad(){await this.initializeFeatureItems()}render(){return e("calcite-panel",{key:"6b6214a3dba7df7c2035203750d547945407ecde","full-height":!0,"full-width":!0},this._isLoading&&e("calcite-loader",{key:"1b05d96de0b4d396b13f448311db76315e28b81b",label:"",scale:"m"}),this.showErrorWhenNoFeatures&&0===this._featureItems.length&&!this._isLoading&&e("calcite-notice",{key:"abe755f0bc5c7ff064249159c3154c9ca1c27594",class:"error-msg",icon:"feature-details",kind:"info",open:!0},e("div",{key:"5a8ead1d47151cf088ae9e359052cf35129b09d3",slot:"message"},this.noFeaturesFoundMsg?this.noFeaturesFoundMsg:this._translations.featureErrorMsg)),e("calcite-list",{key:"cd7049462fb654dad0c4c05f127cf3e5d06bc5de",label:"","selection-appearance":"border","selection-mode":"none"},!this._isLoading&&this._featureItems.length>0&&this._featureItems),this._featuresCount>this.pageSize&&e("div",{key:"b65b1f491800e489790d79054affc0ddcd089d1f",class:"width-full",slot:"footer"},e("calcite-pagination",{key:"280aa2b17c78f53a4f110f8dc021e630241ebbe0",class:"pagination","full-width":!0,onCalcitePaginationChange:this.pageChanged.bind(this),"page-size":this.pageSize,ref:t=>this._pagination=t,"start-item":"1","total-items":this._featuresCount})))}async initModules(){const[t,i,s]=await a(["esri/Color","esri/config","esri/symbols/support/symbolUtils"]);this.Color=t,this.esriConfig=i,this.symbolUtils=s}async getWhereCondition(){let t="1=1";if(this.whereClause&&(t=this.whereClause),this._selectedLayer?.definitionExpression&&(t=t+" AND "+this._selectedLayer.definitionExpression),this.applyLayerViewFilter){const i=await o(this.mapView,this.selectedLayerId);i?.filter?.where&&(t=t+" AND "+i.filter.where)}return t}async initializeFeatureItems(){if(this._selectedLayer){this._pagination?.goTo("start"),this._isLoading=this.showInitialLoading,this._featureItems=await this.queryPage(0);const t={where:await this.getWhereCondition()};this._featuresCount=await this._selectedLayer.queryFeatureCount(t),this._isLoading=!1}}async pageChanged(t){this._isLoading=!0,this._highlightHandle&&(this._highlightHandle.remove(),this._highlightHandle=null);const i=t.target.startItem-1;this._featureItems=await this.queryPage(i),this._isLoading=!1}async featureClicked(t,i){if(this.clearHighlights(),this.highlightOnMap){const i=Number(t.target.value),s=await o(this.mapView,this.selectedLayerId);this._highlightHandle=await c([i],s,this.mapView,!0)}await this.emitSelectedFeature(i)}async emitSelectedFeature(t){const i=t.layer,s=i.createQuery();s.returnGeometry=!0,s.objectIds=[t.getObjectId()];const e=await i.queryFeatures(s);this.featureSelect.emit(e.features[0])}async onFeatureHover(t){if(this.clearHighlights(),this.highlightOnHover){const i=t.getObjectId(),s=await o(this.mapView,this.selectedLayerId);this._highlights&&(s.highlights=JSON.parse(this._highlights)),s.highlightOptions={color:new this.Color("#FFFF00")},this._highlights=JSON.stringify(s.highlights),this._highlightHandle=s.highlight([i])}}clearHighlights(){this._highlightHandle&&this._highlightHandle.remove()}async queryPage(t){const i=this._selectedLayer,s=this.sortingInfo?.field?this.sortingInfo.field:i.objectIdField,e=this.sortingInfo?.order?this.sortingInfo.order:"desc",a=await this.getWhereCondition(),h={start:t,num:this.pageSize,outFields:["*"],returnGeometry:!0,where:a,outSpatialReference:this.mapView.spatialReference.toJSON()};s&&e&&(h.orderByFields=[s.toString()+" "+e]);const n=await i.queryFeatures(h);return await this.createFeatureItem(n)}async createFeatureItem(t){const i=t?.features,s=this.reportingOptions&&this.reportingOptions[this.selectedLayerId].like,e=i.map((async t=>{const i=await this._popupUtils.getPopupTitle(t,this.mapView.map);let e,a;if(this.showUserImageInList){const i=this._selectedLayer.editFieldsInfo?.creatorField;i&&(e=await this.getUserInformation(t))}return this.showFeatureSymbol&&(a=await this.getFeatureSymbol(t)),s&&this.getAbbreviatedLikeCount(t),this.getFeatureItem(t,i,a,e)}));return Promise.all(e)}getAbbreviatedLikeCount(t){const i=this._selectedLayer,s=this.reportingOptions[i.id].likeField;i.fields.forEach((e=>{if(this._validFieldTypes.indexOf(e.type)>-1&&e.name===s&&this.reportingOptions[i.id].like){this._likeFieldAvailable=!0;let i=t.attributes[s]||0;i>999&&(i=i>999999?this._translations.millionsAbbreviation.replace("{{abbreviated_value}}",Math.floor(i/1e6).toString()):this._translations.thousandsAbbreviation.replace("{{abbreviated_value}}",Math.floor(i/1e3).toString())),this._abbreviatedLikeCount=i}}))}getFeatureItem(t,i,s,a){const h=t.attributes[this._selectedLayer.objectIdField].toString();i=i??h;const n=Number(t.attributes[this.reportingOptions?.[this._selectedLayer.id].likeField]).toLocaleString(),l="small"===this.textSize?"feature-list-popup-title-small":"feature-list-popup-title",o=this.showUserImageInList||this.showFeatureSymbol?"feature-list-popup-title-padding-reduced":"feature-list-popup-title-padding";return e("calcite-list-item",{onCalciteListItemSelect:i=>{this.featureClicked(i,t)},onMouseLeave:()=>{this.clearHighlights()},onMouseOver:()=>{this.onFeatureHover(t)},value:h},this.showUserImageInList&&e("calcite-avatar",{class:"profile-img","full-name":a?.fullName,scale:"m",slot:"content-start",thumbnail:a?.userProfileUrl,userId:a?.id,username:a?.fullName?a.username:void 0}),this.showFeatureSymbol&&e("div",{class:"feature-symbol",ref:t=>t&&t.replaceChildren(s),slot:"content-start"}),e("div",{class:`${l} ${o}`,slot:"content-start"},i),this._likeFieldAvailable&&e("div",{class:"like-container",id:h.concat("like"),slot:"content-end"},e("span",null,this._abbreviatedLikeCount),e("calcite-icon",{icon:"thumbs-up",scale:"s"}),e("calcite-tooltip",{overlayPositioning:"fixed",placement:"top","reference-element":h.concat("like")},n)),e("calcite-icon",{flipRtl:!0,icon:"chevron-right",scale:"s",slot:"content-end"}))}async getUserInformation(t){let i=this._selectedLayer.editFieldsInfo?.creatorField;t.attributes.hasOwnProperty(i.toLowerCase())?i=i.toLowerCase():t.attributes.hasOwnProperty(i.toUpperCase())&&(i=i.toUpperCase());let s=`${this.esriConfig.portalUrl}/sharing/rest/community/users/${t.attributes[i]}?f=json&returnUserLicensedItems=true`;const e=this.mapView.map.portalItem.portal?.credential?.token;e&&(s+=`&token=${e}`);const a=await fetch(s),h=await a.json();let n=`${this.esriConfig.portalUrl}/sharing/rest/community/users/${h?.username??t.attributes[i]}/info/blob.png`;return h?.access&&e&&(n+=`?token=${e}`),h.userProfileUrl=n,h}async getFeatureSymbol(t){const i=document.createElement("div");return await this.symbolUtils.getDisplayedSymbol(t).then((async t=>{if(t&&await(this.symbolUtils?.renderPreviewHTML(t,{node:i})),i.children?.length){const t=i.children[0];if(t){const i=Number(t.getAttribute("height")),s=Number(t.getAttribute("width"));s>30?t.setAttribute("width","30"):s<19&&t.setAttribute("width","20"),t.setAttribute("viewBox",`0 0 ${s} ${i}`)}}})),i}async _getTranslations(){const t=await h(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],selectedLayerId:["selectedLayerWatchHandler"],sortingInfo:["sortingInfoWatchHandler"],whereClause:["whereClauseHandler"]}}};r.style=":host{display:block}.width-full{width:100%}.pagination{display:flex;justify-content:center}.error-msg{padding:10px;width:calc(100% - 20px)}.feature-list-popup-title{font-weight:500;white-space:pre-line}.feature-list-popup-title-small{font-size:small;white-space:pre-line}.feature-list-popup-title-padding{padding:10px 12px}.feature-list-popup-title-padding-reduced{padding:10px 0}.profile-img{margin:0 0.75rem;min-width:32px}.like-container{display:flex;align-items:center;gap:5px;color:gray !important;font-style:italic}.feature-symbol{padding:3px 10px;min-width:30px;display:flex;justify-content:center}";export{r as feature_list}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as t,c as e,g as i,h as s,H as a}from"./p-e996c38f.js";import{g as o}from"./p-404cbf48.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";const d=class{constructor(i){t(this,i),this.editsComplete=e(this,"editsComplete",7),this.deleteDialogClose=e(this,"deleteDialogClose",7),this.ids=[],this.layer=void 0,this.locale=void 0,this.open=!1,this._isDeleting=!1,this._translations=void 0}get el(){return i(this)}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}editsComplete;deleteDialogClose;async componentWillLoad(){await this._getTranslations()}render(){const t=1===this.ids.length?this._translations?.confirmSingle:this._translations?.confirmMultiple;return s(a,{key:"d672a7218bc19c762c89b519b5d12c8d0122f770"},s("calcite-dialog",{key:"c43ba38dd9477869ae9797f98e3daafce09c5eae",heading:this._translations?.deleteFeature,kind:"danger",modal:!0,onCalciteDialogClose:()=>this._close(),open:this.open,widthScale:"s"},s("div",{key:"481710981431c3bb10b8ec221604f0740f3f8772"},t),s("calcite-button",{key:"8f1fc8a1a66fbd25edbb8d7f99f223b5bfea0517",appearance:"outline",kind:"danger",onClick:()=>this._close(),slot:"footer-end",width:"full"},this._translations?.cancel),s("calcite-button",{key:"46830e28586f1d345de2b19a2d8198f36ae74f15",kind:"danger",loading:this._isDeleting,onClick:()=>{this._deleteFeatures()},slot:"footer-end",width:"full"},this._translations?.delete)))}async _deleteFeatures(){this._isDeleting=!0;const t=this.ids.map((t=>({objectId:t})));await this.layer.applyEdits({deleteFeatures:t}),this._isDeleting=!1,this._close(),this.editsComplete.emit("delete")}_close(){this.open=!1,this.deleteDialogClose.emit()}async _getTranslations(){const t=await o(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"]}}};d.style=":host{display:block}.delete-modal{position:fixed}";export{d as delete_dialog}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as t,c as i,g as s,h as e,F as a}from"./p-e996c38f.js";import{l as h,g as c,f as n}from"./p-404cbf48.js";import{b as o,d as l,a as r,c as d}from"./p-d572627c.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";const p=class{constructor(s){t(this,s),this.success=i(this,"success",7),this.fail=i(this,"fail",7),this.isActionPending=i(this,"isActionPending",7),this.formReady=i(this,"formReady",7),this.locale=void 0,this.mapView=void 0,this.table=void 0,this.selectedFeature=void 0,this.customizeSubmit=!1,this.showGuidingMsg=!0,this._editorLoading=!1,this._translations=void 0}get el(){return s(this)}Editor;_editor;reactiveUtils;_container;_addingAttachment;_isSubmitBtnClicked=!1;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(){await this.mapView.when((async()=>{await this.init()}))}async _editorLoadingWatchHandler(t){t&&(this._container?.classList.add("display-none"),await this.startCreate(),this._container?.classList.remove("display-none"),this._editorLoading=!1)}async submit(){this._editor&&(this._isSubmitBtnClicked=!0,this._editor.viewModel.featureFormViewModel.submit())}success;fail;isActionPending;formReady;async componentWillLoad(){await this._getTranslations(),await this.initModules()}async init(){this.mapView&&await this.createEditorWidget()}async initModules(){const[t,i]=await h(["esri/widgets/Editor","esri/core/reactiveUtils"]);this.Editor=t,this.reactiveUtils=i}render(){const t=this._editorLoading?"":"display-none";return e(a,{key:"261308f81b5bbed3e136efbb2100db9c1e5994a4"},this.showGuidingMsg&&e("calcite-notice",{key:"3aca1d3f48e46208ce07f2ccdd76ac4af752162d",class:"notice-msg",icon:"lightbulb",kind:"success",open:!0},e("div",{key:"f449d7dcde1cc75bf7470a75ae0ce915ef457459",slot:"message"},this._translations.provideDetailsMsg)),e("calcite-loader",{key:"e94e971b96ddba0ab36f27ffd4e37b820bb2432f",class:t,label:"",scale:"s"}))}async componentDidLoad(){await this.init()}disconnectedCallback(){this._editor&&this._editor.destroy()}async createEditorWidget(){this._editor&&this._editor.destroy(),this._container=document.createElement("div"),this._container?.classList.add("display-none"),this._editor=new this.Editor({view:this.mapView,visibleElements:{snappingControls:!1},container:this._container}),this.el.appendChild(this._container);const t=this.reactiveUtils.watch((()=>this._editor.viewModel.featureTemplatesViewModel.state),(t=>{"ready"===t&&(this._editorLoading=!0)}));this._editor.viewModel.addHandles(t);const i=this.reactiveUtils.watch((()=>this._editor.viewModel.state),(t=>{"adding-attachment"===t||"editing-attachment"===t?(this._addingAttachment=!0,this.isActionPending.emit(!0)):this._addingAttachment&&(this.isActionPending.emit(!1),this._addingAttachment=!1)}));this._editor.viewModel.addHandles(i);const s=this.reactiveUtils.watch((()=>this._editor.viewModel.featureFormViewModel?.state),(t=>{"ready"===t&&this.formReady.emit()}));this._editor.viewModel.addHandles(s)}async startCreate(){const t=this.selectedFeature.layer,i=this.table,s=t.relationships[0],e=i.relationships.find((i=>t.layerId===i.relatedTableId)),a=await t.queryFeatures({objectIds:[this.selectedFeature.getObjectId()],outFields:[t.objectIdField,s.keyField]}),h=i.templates[0],c={attributeOverrides:this.makeAttributesForRelatedFeature(a.features[0],s,e),layer:i,template:h};await this._editor.startCreateFeaturesWorkflowAtFeatureCreation(c),await this.hideEditorsElements(),this._editor.viewModel.featureFormViewModel.on("submit",this.submitted.bind(this))}async hideEditorsElements(){this.customizeSubmit&&(await this.timeout(700),this.el.querySelector(".esri-editor")?.querySelectorAll("calcite-flow-item")?.forEach((t=>{const i=t.shadowRoot?.querySelector("calcite-panel")?.shadowRoot?.querySelector("article");i?.querySelector("header")?.setAttribute("style","display: none"),i?.querySelector("footer")?.setAttribute("style","display: none")})))}makeAttributesForRelatedFeature(t,i,s){const e=i.keyField;let a;t.attributes.hasOwnProperty(e)?a=t.getAttribute(e):t.attributes.hasOwnProperty(e.toLowerCase())?a=t.getAttribute(e.toLowerCase()):t.attributes.hasOwnProperty(e.toUpperCase())&&(a=t.getAttribute(e.toUpperCase()));let h=s.keyField;const c=this.table.fields.find((t=>t.name.toLocaleLowerCase()===h.toLocaleLowerCase()));return h=c.name,{[h]:a}}async submitted(t){if(t.invalid.length)this._isSubmitBtnClicked=!1;else if(t.valid.length&&this._isSubmitBtnClicked){this._isSubmitBtnClicked=!1;try{await this._editor.activeWorkflow.commit(),this._editor.viewModel.failures?.length&&this._editor.viewModel.failures.some((t=>{if(t.error)throw t.error}))}catch(t){return void this.fail.emit(t)}this.success.emit()}}timeout(t){return new Promise((i=>setTimeout(i,t)))}async _getTranslations(){const t=await c(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"],_editorLoading:["_editorLoadingWatchHandler"]}}};p.style=":host{display:block}.esri-editor__panel-toolbar{display:none !important}.display-none{display:none !important}.esri-editor__panel-content{padding-block:10px !important}.notice-msg{padding:10px;width:calc(100% - 20px)}";const b=class{constructor(s){t(this,s),this.loadingStatus=i(this,"loadingStatus",7),this.commentSelect=i(this,"commentSelect",7),this.addComment=i(this,"addComment",7),this.likeOrDislikeClicked=i(this,"likeOrDislikeClicked",7),this.featureSelectionChange=i(this,"featureSelectionChange",7),this.mapView=void 0,this.graphics=void 0,this.reportingOptions=void 0,this.layerItemsHash=void 0,this.locale=void 0,this.showUserImageInCommentsList=!1,this._likeFieldAvailable=!1,this._likeCount=0,this._disLikeCount=0,this._dislikeFieldAvailable=!1,this._commentsAvailable=!1,this._isLikeBtnClicked=!1,this._isDislikeBtnClicked=!1,this._relatedFeaturesOIDs=void 0,this._updating=!1}get el(){return s(this)}_infoCard;_commentsList;_selectedGraphic;_likeField;_dislikeField;Graphic;RelationshipQuery;_validFieldTypes=["small-integer","integer","big-integer","single","long"];relatedTableId;async graphicsWatchHandler(){await this.getCompleteGraphic(this.graphics[0]),this.checkLikeDislikeFields(),await this.processComments()}async refresh(t){await this.getCompleteGraphic(t),await this.processComments(),this.isLikeDislikeConfigured(t.layer)?t&&this.graphics.length>1&&this.checkLikeDislikeFields():(this._likeFieldAvailable=!1,this._dislikeFieldAvailable=!1)}async back(){this._infoCard.back()}async next(){this._infoCard.next()}async toggleListView(){this._infoCard.toggleListView()}loadingStatus;commentSelect;addComment;likeOrDislikeClicked;featureSelectionChange;async componentWillLoad(){await this._initModules(),await this.getCompleteGraphic(this.graphics[0]),this.checkLikeDislikeFields(),await this.processComments()}render(){const t=this._relatedFeaturesOIDs?.length>0?`objectId in(${this._relatedFeaturesOIDs})`:"1=0";return e("calcite-panel",{key:"be7bebe9da698d963a2602fcacb95ac7206ac1e9","full-height":!0},e("info-card",{key:"1e069f52d59d42f3e2b88463ea7c536c65a0a6b5",allowEditing:!1,graphics:this.graphics,highlightEnabled:!1,isLoading:!1,isMobile:!1,locale:this.locale,mapView:this.mapView,onSelectionChanged:t=>{this.featureSelectionChange.emit(t.detail)},paginationEnabled:!1,position:"relative",ref:t=>this._infoCard=t}),(this._likeFieldAvailable||this._dislikeFieldAvailable||this._commentsAvailable)&&e("div",{key:"d53f5a1726e4c6299ffd04e266d84005181645f6",class:"buttons-container"},this._commentsAvailable&&e("calcite-button",{key:"4c2616cc9e0107258f5313b66ae96fa31fe582c5",appearance:"transparent",iconEnd:"speech-bubble",kind:"neutral",onClick:()=>{this.addComment.emit()},scale:"m"},this._relatedFeaturesOIDs.length),this._likeFieldAvailable&&e("calcite-button",{key:"7c87aa085df04a8b58625097c2ce70e5853b82f9",appearance:"transparent",iconEnd:"thumbs-up",kind:this._isLikeBtnClicked?"brand":"neutral",loading:this._updating,onClick:this.onLikeButtonClick.bind(this),scale:"m"},this._likeCount??this._selectedGraphic.attributes[this._likeField]??0),this._dislikeFieldAvailable&&e("calcite-button",{key:"59eb48b91fc2a394cafdcbeeebf5baafae9a8c9b",appearance:"transparent",iconEnd:"thumbs-down",kind:this._isDislikeBtnClicked?"brand":"neutral",loading:this._updating,onClick:this.onDislikeButtonClick.bind(this),scale:"m"},this._disLikeCount??this._selectedGraphic.attributes[this._dislikeField]??0)),this.relatedTableId&&this._commentsAvailable&&e("feature-list",{key:"f34ee203202944666c40e14bdfdc59265414fbe1",class:"height-full",locale:this.locale,mapView:this.mapView,onFeatureSelect:t=>{this.commentSelect.emit(t.detail)},pageSize:5,ref:t=>this._commentsList=t,selectedLayerId:this.relatedTableId,showErrorWhenNoFeatures:!1,showInitialLoading:!1,showUserImageInList:this.showUserImageInCommentsList,textSize:"small",whereClause:t}))}async _initModules(){const[t,i]=await h(["esri/rest/support/RelationshipQuery","esri/Graphic"]);this.RelationshipQuery=t,this.Graphic=i}async getCompleteGraphic(t){if(t){const i=t.layer,s=i.createQuery();s.objectIds=[t.getObjectId()];const e=await i.queryFeatures(s);this._selectedGraphic=e.features[0]}}async processComments(){const t=this._selectedGraphic.layer;if(this.reportingOptions&&this.reportingOptions[t.id]&&this.reportingOptions[t.id].comment&&t.relationships?.length>0){const i=await o(this.mapView);let s=null,e=null;if(t.relationships.some((a=>{const h=i.filter((i=>t.url===i.url&&i.layerId===a.relatedTableId));if(h&&h.length>0)return s=h[0],e=a.id,!0})),this.relatedTableId=s?.id??"",this.relatedTableId){const i=this._selectedGraphic.attributes[t.objectIdField],a=new this.RelationshipQuery({objectIds:[i],outFields:["*"],relationshipId:e}),h=await t.queryRelatedFeatures(a).catch((t=>{console.error(t)})),c=[];h[i]&&h[i].features.forEach((t=>{c.push(t.attributes[s.objectIdField])})),this._relatedFeaturesOIDs=c,this._commentsAvailable=!0}else this._relatedFeaturesOIDs=[],this._commentsAvailable=!1}else this._relatedFeaturesOIDs=[],this._commentsAvailable=!1,this.relatedTableId=""}isLikeDislikeConfigured(t){let i=!1,s=!1;if(this.reportingOptions&&this.reportingOptions[t.id]){if(!this.reportingOptions[t.id].like&&!this.reportingOptions[t.id].dislike)return!1;const e=this.reportingOptions[t.id].likeField,a=this.reportingOptions[t.id].dislikeField;if(!e&&!a)return!1;t.fields.forEach((h=>{this._validFieldTypes.indexOf(h.type)>-1&&this.layerItemsHash[t.id].supportsUpdate&&(h.name===e&&this.reportingOptions[t.id].like?i=!0:h.name===a&&this.reportingOptions[t.id].dislike&&(s=!0))}))}return i||s}checkLikeDislikeFields(){this._likeFieldAvailable=!1,this._dislikeFieldAvailable=!1,this._isLikeBtnClicked=!1,this._isDislikeBtnClicked=!1,this._likeCount=0,this._disLikeCount=0;const t=this._selectedGraphic.layer;if(this.reportingOptions&&this.reportingOptions[t.id]){if(this._likeField=this.reportingOptions[t.id].likeField,this._dislikeField=this.reportingOptions[t.id].dislikeField,!this._likeField&&!this._dislikeField)return;t.fields.forEach((i=>{this._validFieldTypes.indexOf(i.type)>-1&&this.layerItemsHash[t.id].supportsUpdate&&(i.name===this._likeField&&this.reportingOptions[t.id].like?(this._likeFieldAvailable=!0,this._likeCount=this._selectedGraphic.attributes[i.name]):i.name===this._dislikeField&&this.reportingOptions[t.id].dislike&&(this._dislikeFieldAvailable=!0,this._disLikeCount=this._selectedGraphic.attributes[i.name]))})),this.getFromLocalStorage()}}onLikeButtonClick(){this._isDislikeBtnClicked&&this.reportingOptions[this._selectedGraphic.layer.id].dislike&&this.onDislikeButtonClick(),this._isLikeBtnClicked=!this._isLikeBtnClicked,this._isLikeBtnClicked?this._likeCount++:this._likeCount--,this.updateFeaturesLikeDislikeField(this._likeField,this._isLikeBtnClicked)}onDislikeButtonClick(){this._isLikeBtnClicked&&this.reportingOptions[this._selectedGraphic.layer.id].like&&this.onLikeButtonClick(),this._isDislikeBtnClicked=!this._isDislikeBtnClicked,this._isDislikeBtnClicked?this._disLikeCount++:this._disLikeCount--,this.updateFeaturesLikeDislikeField(this._dislikeField,this._isDislikeBtnClicked)}async updateFeaturesLikeDislikeField(t,i){const s={},e=this._selectedGraphic.layer;this._updating=!0;const a=this._selectedGraphic;a.attributes[t]=Number(a.attributes[t])+(i?1:-1),s[e.objectIdField]=a.attributes[e.objectIdField],s[t]=a.attributes[t];const h=new this.Graphic;h.attributes=s;const c={updateFeatures:[h]};await e.applyEdits(c).then((()=>{this._selectedGraphic=a,this.setInLocalStorage(),this._updating=!1,this.likeOrDislikeClicked.emit()}),(t=>{this._updating=!1,console.log(t)}))}getFromLocalStorage(){const t=localStorage[this._selectedGraphic.layer.id];if(t){const i=JSON.parse(t).filter((t=>t.id===this._selectedGraphic.getObjectId()));i.length>0&&(this._isLikeBtnClicked=i[0].like,this._isDislikeBtnClicked=i[0].dislike)}}setInLocalStorage(){const t=this._selectedGraphic.layer.id,i=localStorage[t];let s=[];if(i){s=JSON.parse(i);const t=s.findIndex((t=>t.id===this._selectedGraphic.getObjectId()));t>=0&&s.splice(t,1)}s.push({id:this._selectedGraphic.getObjectId(),like:this._isLikeBtnClicked&&0!==this._likeCount,dislike:this._isDislikeBtnClicked&&0!==this._disLikeCount}),localStorage.setItem(t,JSON.stringify(s))}static get watchers(){return{graphics:["graphicsWatchHandler"]}}};b.style=":host{display:block}.buttons-container{align-items:center;display:flex;padding:4px;color:var(--calcite-color-text-1) !important;background-color:var(--calcite-color-foreground-1) !important;border-block-start:1px solid var(--calcite-color-border-3);border-block-end:1px solid var(--calcite-color-border-3)}";const y=class{constructor(s){t(this,s),this.layerSelect=i(this,"layerSelect",7),this.layersListLoaded=i(this,"layersListLoaded",7),this.mapView=void 0,this.layers=void 0,this.locale=void 0,this.showFeatureCount=!0,this.showNextIcon=!1,this.applyLayerViewFilter=!1,this._noLayersToDisplay=!1,this._mapLayerIds=[],this._isLoading=!1,this._translations=void 0}get el(){return s(this)}_layerItemsHash;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async refresh(){await this.setLayers()}layerSelect;layersListLoaded;async componentWillLoad(){await this._getTranslations()}async componentDidLoad(){await this.setLayers()}render(){return e(a,{key:"a151c8fd65c50aacb23dcd0c858e52c0c7cd7e5e"},this._isLoading&&e("calcite-loader",{key:"544a134bccc29048ca80b996844cc944bcd97a24",label:"",scale:"m"}),!this._isLoading&&this.mapView&&this._noLayersToDisplay&&e("calcite-notice",{key:"7557f91c8c3349c120c043ea59458b4c834dce2e",class:"error-msg",icon:"layers-reference",kind:"danger",open:!0},e("div",{key:"ea8b20f8c7da5053641cfad56e3395ae3c6286f5",slot:"title"},this._translations.error),e("div",{key:"38aaed7b456aba0b1dd70183be03e9133834dfb4",slot:"message"},this._translations.noLayerToDisplayErrorMsg)),!this._isLoading&&this.mapView&&e("calcite-list",{key:"547b0681145fd8d8663b786472be9e5161cbd693",label:"","selection-appearance":"border","selection-mode":"none"},this.renderLayerList()))}async setLayers(){this.mapView&&(this._isLoading=!0,await this.initLayerHash(),this._isLoading=!1)}async initLayerHash(){const t=[];this._layerItemsHash=await l(this.mapView,!0);const i=await r(this.mapView);for(const s of i)if("feature"===s?.type&&this.showFeatureCount){const i=s.createQuery();if(s?.definitionExpression&&(i.where=i.where+" AND "+s.definitionExpression),this.applyLayerViewFilter){const t=await d(this.mapView,s.id);t?.filter?.where&&(i.where=i.where?i.where+" AND "+t.filter.where:t.filter.where)}const e=s.queryFeatureCount(i);t.push(e),e.then((async t=>{const i=isNaN(t)?"":await n(t,{places:0,api:4,type:"decimal"});this._layerItemsHash[s.id].formattedFeatureCount=i}))}await Promise.all(t).then((()=>{const t=this.getLayersToBeShownInList(this._layerItemsHash);this._mapLayerIds=t.reverse(),this.handleNoLayersToDisplay()}),(()=>{this._mapLayerIds=[],this.handleNoLayersToDisplay()}))}handleNoLayersToDisplay(){this._noLayersToDisplay=!(this._mapLayerIds.length>0),this.layersListLoaded.emit(this._mapLayerIds)}getLayersToBeShownInList(t){const i=this.layers?.length>0?this.layers:[];return Object.keys(t).reduce(((t,s)=>(i.indexOf(s)>-1&&t.push(s),t)),[])}renderLayerList(){return this._mapLayerIds.length>0&&this._mapLayerIds.reduce(((t,i)=>(this._layerItemsHash[i]&&t.push(this.getLayerListItem(i)),t)),[])}getLayerListItem(t){const i=this._layerItemsHash[t].formattedFeatureCount;return e("calcite-list-item",{onCalciteListItemSelect:()=>{this.onLayerItemSelected(t)}},e("div",{class:"layer-name",slot:"content-start"},this._layerItemsHash[t].name),this.showFeatureCount&&void 0!==i&&""!==i&&e("div",{class:this.showNextIcon?"":"feature-count",slot:"content-end"},"("+i+")"),this.showNextIcon&&e("calcite-icon",{flipRtl:!0,icon:"chevron-right",scale:"s",slot:"content-end"}))}onLayerItemSelected(t){this.layerSelect.emit({layerId:t,layerName:this._layerItemsHash[t].name})}async _getTranslations(){const t=await c(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"]}}};y.style=":host{display:block}.error-msg{padding:10px}.layer-name{font-weight:500;padding:10px 12px}.feature-count{padding-right:12px}";export{p as create_related_feature,b as feature_details,y as layer_list}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as t,c as i,g as s,a as e,h as a,H as l}from"./p-e996c38f.js";import{b as o,c as n,a as h}from"./p-80cb7c73.js";import{l as c,g as r}from"./p-404cbf48.js";import{e as d,h as p}from"./p-d572627c.js";import{s as g}from"./p-e6859850.js";import{c as b,r as m}from"./p-8d281f47.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-8717729a.js";import"./p-4fe489cf.js";import"./p-2bc98cb0.js";import"./p-4f236b5d.js";import"./p-570b13d9.js";import"./p-0668e30d.js";const u=class{constructor(s){t(this,s),this.searchConfigurationChange=i(this,"searchConfigurationChange",7),this.addresseeLayerIds=[],this.bufferColor=[227,139,79,.8],this.bufferOutlineColor=[255,255,255],this.customLabelEnabled=void 0,this.defaultBufferDistance=void 0,this.defaultBufferUnit=void 0,this.defaultExportTitle="",this.defaultNumLabelsPerPage=6,this.enableLayerFeatures=!0,this.enableLayerFeaturesOnLoad=!1,this.enableSearchDistance=!0,this.enableSearchDistanceOnLoad=!1,this.enableSketchTools=!0,this.featureEffect=void 0,this.featureHighlightEnabled=void 0,this.locale=void 0,this.mapView=void 0,this.noResultText=void 0,this.initialNotice="",this.searchConfiguration=void 0,this.selectionLayerIds=[],this.showRefineSelection=!1,this.showSearchSettings=!0,this.sketchLineSymbol=void 0,this.sketchPointSymbol=void 0,this.sketchPolygonSymbol=void 0,this._exportGraphics=!1,this._addMap=!1,this._addResults=!0,this._addTitle=!1,this._downloadActive=!0,this._exportType=o.PDF,this._fetchingData=!1,this._isMobile=void 0,this._numDuplicates=0,this._pageType=n.LIST,this._saveEnabled=!1,this._selectionSets=[],this._translations=void 0}get el(){return s(this)}_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 s=JSON.stringify(t);this.mapView&&(s!==JSON.stringify(i)||s&&!this._searchConfiguration)&&(this._searchConfiguration=JSON.parse(s),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=e("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,s]=await c(["esri/geometry/geometryEngine","esri/symbols/support/jsonUtils","esri/Graphic"]);this._geometryEngine=t,this._jsonUtils=i,this.Graphic=s}_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,s){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,s)))}_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,s)=>{const e=this._getSelectionSetIds(i);let l=!0;return i.workflowType===h.REFINE&&(l=Object.keys(i.refineInfos).reduce(((t,s)=>{const e=i.refineInfos[s];return t+(e.addIds.length+e.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}}",e.length.toString()))),this._getAction(!0,"pencil","",(t=>this._openSelection(i,t)),!1,"actions-end"),this._getAction(!0,"x","",(t=>this._deleteSelection(s,t)),!1,"actions-end"))),t}),[])))}_getSelectionSetIds(t){return t.workflowType!==h.REFINE?t.selectedIds:Object.keys(t.refineInfos).reduce(((i,s)=>[...i,...t.refineInfos[s].addIds]),[])}_hasSelections(t=!1){let i=[];const s=this._selectionSets.some((t=>{if(t.workflowType===h.REFINE)return i=this._getSelectionSetIds(t),!0}));return t&&s?i.length>0||this._selectionSets.length>1:this._selectionSets.length>0}async _getNumDuplicates(){const t=this._getExportInfos(),i=await b(this.mapView.map,t),s=m(i);return i.length-s.length}_getExportInfos(){return this._selectionSets.reduce(((t,i)=>(i.download&&(i.workflowType!==h.REFINE?this._updateIds(i.layerView.layer.id,i.layerView,i.selectedIds,t):Object.keys(i.refineInfos).forEach((s=>{const e=i.refineInfos[s];e.addIds.length>0&&this._updateIds(s,e.layerView,e.addIds,t)}))),t)),{})}_updateIds(t,i,s,e){return e[t]?e[t].ids=e[t].ids.concat(s):e[t]={layerView:i,ids:s},e}_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",s=this._titleValue?this._titleValue:this.defaultExportTitle?this.defaultExportTitle:"",e=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 ${e}`},a("calcite-label",{class:"label-margin-0"},this._translations.selectPDFLabelOption)),a("div",{class:`padding-sides-1 ${e}`},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:s})),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((s=>{const e=this.mapView.map.layers.findIndex((t=>t.title===s));if(g.managedLayers[s]===t)return i=this.mapView.map.layers.getItemAt(e),!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((s=>{if(s.download&&(t&&t.graphics.add(s.sketchGraphic),i)){const t=new this.Graphic({geometry:s.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,s,e,l,o){return a("div",{class:"padding-bottom-1"},a("div",{class:"display-flex padding-top-sides-1"},a("calcite-button",{disabled:i,onClick:s,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"},e))))}_changeTitle(){this._titleValue=this._titleElement.value}_getNotice(t,i="padding-1",s=""){return a("calcite-notice",{class:i,icon:"lightbulb",kind:"success",open:!0},a("div",{class:s,slot:"message"},t))}_getLabel(t,i=!1,s="font-bold"){return a("div",{class:"padding-top-sides-1"},a("calcite-label",{class:s+=i?" label-margin-0":""},t))}_getExportSelectionLists(){return this._selectionSets.reduce(((t,i)=>{const s=this._getSelectionSetIds(i),e=i.workflowType!==h.REFINE||s.length>0;return!this._downloadActive&&i.download&&e&&(this._downloadActive=!0),e&&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}}",s.length.toString()))))))),t}),[])||a("div",null)}async _toggleDownload(t){let i=!1;this._selectionSets=this._selectionSets.map((s=>(s.download=s.id===t?!s.download:s.download,i=!!s.download||i,s))),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===h.REFINE)Object.keys(i.refineInfos).forEach((s=>{const e=i.refineInfos[s];e.addIds&&(t=this._updateExportInfos(t,e.layerView.layer.id,i.label,e.addIds,e.layerView))}));else{const s=i?.layerView?.layer.id;t=this._updateExportInfos(t,s,i.label,i.selectedIds,i.layerView)}return t}),{})}_updateExportInfos(t,i,s,e,a){return i&&Object.keys(t).indexOf(i)>-1?(t[i].ids=[...new Set([...t[i].ids,...e])],t[i].selectionSetNames.push(s)):i&&(t[i]={ids:e,layerView:a,selectionSetNames:[s]}),t}_getAction(t,i,s,e,l=!1,o=""){return a("calcite-action",{disabled:!t,icon:i,iconFlipRtl:!0,indicator:l,onClick:e,slot:o,text:s})}_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,s)=>{if(s!==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===h.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 s=0;s<i.length;s++){const e=t[i[s]];g.highlightHandles.push(await p(e.ids,e.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}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as i,f as t,h as e,g as s}from"./p-e996c38f.js";import{l as n}from"./p-d001e961.js";import{g as a}from"./p-648b5a9e.js";import{s as r,g as o}from"./p-97f33e9f.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-ac122d9e.js";import"./p-80262cb7.js";import"./p-8717729a.js";const c={base:"esri-legend",widget:"esri-widget",widgetPanel:"esri-widget--panel",component:"esri-component",iconLayerList:"esri-icon-layer-list"},d=class{constructor(t){i(this,t),this.handles=void 0,this.reactiveUtils=void 0,this.legendvm=void 0,this.widget=void 0,this.view=void 0,this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"},this.compact=!1,this.messages=void 0}async componentWillLoad(){this.compactHandler(),new MutationObserver((()=>{t(this.el)})).observe(this.el,{attributes:!0}),await this.initializeModules()}async componentDidLoad(){a(this)}async initializeModules(){const[i,t,e,s]=await n(["esri/core/Handles","esri/core/reactiveUtils","esri/widgets/Widget","esri/widgets/Legend"]);this.handles=new i,this.reactiveUtils=t,this.widget=new e;const a=new s;return await t.whenOnce((()=>null==a?void 0:a.messages)),this.messages=Object.assign(Object.assign({},this.messages),a.messages),Promise.resolve()}async init(){if(this.reactiveUtils&&this.view&&this.handles)try{const{on:i}=this.reactiveUtils,[t]=await n(["esri/widgets/Legend/LegendViewModel"]),e=new t({view:this.view,respectLayerDefinitionExpression:!0});this.legendvm=e,this.handles.add([i((()=>{var i;return null===(i=this.legendvm)||void 0===i?void 0:i.activeLayerInfos}),"change",(()=>{var i;return this._refreshActiveLayerInfos(null===(i=null==this?void 0:this.legendvm)||void 0===i?void 0:i.activeLayerInfos,this.reactiveUtils)}))])}catch(i){console.error('Failed at "init": ',i)}}compactHandler(){r.set("compact",this.compact)}render(){var i;const{base:t,component:s,widget:n,widgetPanel:a}=c;return e("div",{key:"interactive-legend",class:null===(i=this.widget)||void 0===i?void 0:i.classes(t,s,n,a)},e("instant-apps-interactive-legend-classic",{key:"interactive-legend-classic",ref:i=>this.ref=i,class:o(this.el),legendvm:this.legendvm,"zoom-to":this.zoomTo,filterMode:this.filterMode,"feature-count":this.featureCount,messages:this.messages}))}_refreshActiveLayerInfos(i,t){i&&(this.handles.removeAll(),i.forEach((i=>this._renderOnActiveLayerInfoChange(i,t))))}_renderOnActiveLayerInfoChange(i,t){var e;const{on:s}=this.reactiveUtils,n=s((()=>i.children),"change",(()=>i.children.forEach((i=>this._renderOnActiveLayerInfoChange(i,t)))));this.handles.add(n,`children_${null===(e=null==i?void 0:i.layer)||void 0===e?void 0:e.uid}`),i.children.forEach((i=>{var e,s;this._renderOnActiveLayerInfoChange(i,t),(null===(e=null==i?void 0:i.children)||void 0===e?void 0:e.length)>0&&(null===(s=null==i?void 0:i.children)||void 0===s||s.forEach((i=>this._renderOnActiveLayerInfoChange(i,t))))}))}get el(){return s(this)}static get watchers(){return{handles:["init"],reactiveUtils:["init"],view:["init"],compact:["compactHandler"]}}};d.style=".sc-instant-apps-interactive-legend-h{display:block;height:100%}.sc-instant-apps-interactive-legend-h .esri-legend.sc-instant-apps-interactive-legend{height:100%;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1)}.sc-instant-apps-interactive-legend-h .esri-legend.esri-component.esri-widget.esri-widget--panel.sc-instant-apps-interactive-legend{margin:0}";export{d as instant_apps_interactive_legend}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as n,c as t,h as i,H as e,g as o}from"./p-e996c38f.js";import{l as a}from"./p-d001e961.js";import{g as s}from"./p-648b5a9e.js";import{g as r}from"./p-a9a72626.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-ac122d9e.js";const p="instant-apps-export calcite-mode-light",c="instant-apps-export-print",l="instant-apps-export-print__legend-container",d="instant-apps-export-print__compass-container",h="instant-apps-export-print__scale-bar-container",u="instant-apps-export-print__popup-container",v="instant-apps-export-print__popup-content",_="instant-apps-export-print__popup-title",x="instant-apps-export-print__view",b="instant-apps-export-print__view-container",g="instant-apps-export-print__views-container",f="instant-apps-export-print__view-wrapper",m="instant-apps-export-print__view-content",w="instant-apps-export-print__view-header",k=class{constructor(i){n(this,i),this.exportOutputUpdated=t(this,"exportOutputUpdated",7),this.legends={},this.compasses={},this.output=void 0,this.beforeExport=()=>Promise.resolve(),this.popoverIcon="export",this.includeLegend=!0,this.includeMap=!0,this.includePopup=!1,this.includeHeader=!1,this.mode="popover",this.popoverPositioning="absolute",this.popoverPlacement="auto",this.scale="m",this.showIncludeLegend=!0,this.showIncludeMap=!1,this.showIncludePopup=!0,this.showIncludeHeader=!0,this.showScaleBar=!1,this.exportViews=void 0,this.baseClass=p,this.exportIsLoading=void 0,this.messages=void 0}watchIncludeMap(n){var t;n&&(null===(t=this.exportViews)||void 0===t||t.forEach((({view:n},t)=>{const i=this.printEl.querySelector(`#legend-${t}`);null!=i&&this.updateLegend(n,t,i)})))}watchView(){var n;null===(n=this.exportViews)||void 0===n||n.forEach((({view:n},t)=>{this.handleIncludePopup(n,t)}))}async componentWillLoad(){this.baseClass="dark"===r(this.el)?"instant-apps-export calcite-mode-dark":p,s(this),await this.initializeModules()}componentDidLoad(){var n;this.printContainerEl.prepend(this.printEl),null===(n=this.exportViews)||void 0===n||n.forEach((({view:n},t)=>{this.handleIncludePopup(n,t)}))}componentDidUpdate(){var n;null===(n=this.exportViews)||void 0===n||n.forEach((({view:n},t)=>{const i=this.printEl.querySelector(`#legend-${t}`);this.updateLegend(n,t,i)}))}async initializeModules(){const[n,t]=await a(["esri/core/Handles","esri/core/reactiveUtils"]);return this.handles=new n,this.reactiveUtils=t,Promise.resolve()}render(){const n="popover"===this.mode?this.renderPopover():this.renderPanel();return i(e,{key:"52f53735afba2085f45bdd8ba64e8e37b48318bb"},i("div",{key:"ac8fc3e66ccc5f9c27e25642bbe640c3fc8c7d33",class:this.baseClass,onMouseEnter:this.handleWidgetCreation.bind(this),onFocusin:this.handleWidgetCreation.bind(this)},n))}renderPopover(){var n,t,e;const o=this.renderPanel();return[i("calcite-popover",{referenceElement:"export-popover-btn",label:null===(n=this.messages)||void 0===n?void 0:n.exportPopover,overlayPositioning:this.popoverPositioning,placement:this.popoverPlacement,autoClose:!0,ref:n=>this.popoverEl=n},o),i("calcite-action",{id:"export-popover-btn",alignment:"center",icon:this.popoverIcon,scale:this.scale,title:null===(t=this.messages)||void 0===t?void 0:t.exportBtn,text:null===(e=this.messages)||void 0===e?void 0:e.exportBtn})]}renderPanel(){var n;const t=this.showIncludeMap?this.renderSwitch("includeMap"):null,e=this.includeMap?this.renderMapOptions():null,o=this.renderPrint();return i("div",{class:"inline"===this.mode?"instant-apps-export__inline-container":"instant-apps-export__popover-container"},t,e,i("calcite-button",{width:"full",onClick:this.exportOnClick.bind(this),disabled:this.exportIsLoading},null===(n=this.messages)||void 0===n?void 0:n.export),o)}renderSwitch(n,t){var e;const o=null!=t?t:null===(e=this.messages)||void 0===e?void 0:e[n];return i("calcite-label",{layout:"inline-space-between"},o,i("calcite-switch",{checked:this[n],value:n,onCalciteSwitchChange:this.optionOnChange.bind(this)}))}renderMapOptions(){const n=this.showIncludeHeader?this.renderSwitch("includeHeader","Include header"):null,t=this.showIncludeLegend?this.renderSwitch("includeLegend"):null,e=this.showIncludePopup?this.renderSwitch("includePopup"):null;return i("div",null,n,t,e)}renderPrint(){var n;return i("div",{ref:n=>this.printContainerEl=n},i("div",{class:c,ref:n=>this.printEl=n},i("div",{class:g},null===(n=this.exportViews)||void 0===n?void 0:n.map((({title:n,view:t},e)=>{var o,a;const s=null===(a=null===(o=t.map)||void 0===o?void 0:o.portalItem)||void 0===a?void 0:a.id,r=this.includeMap?this.renderPrintMap(n,e):null,p=this.includeMap&&this.showIncludeLegend?this.renderLegend(e):null,c=this.includeMap&&this.showIncludePopup?this.renderPopup(e):null;return i("div",{key:s,id:`print-${e}`,class:m},r,p,c)})))))}renderPrintMap(n,t){return i("div",{id:`view-container-${t}`,class:b},i("div",{id:`view-wrapper-${t}`,class:f},this.includeHeader&&n?i("div",{class:w},i("h1",null,n)):null,i("img",{id:`view-${t}`,class:x}),i("div",{id:`scalebar-container-${t}`,class:h})))}renderLegend(n){return i("div",{id:`legend-${n}`,class:l})}renderCompass(n){return i("div",{id:`compass-${n}`,class:d})}renderPopup(n){return i("div",{id:`popup-${n}`,class:u},i("div",{id:`popup-title-${n}`,class:_}),i("div",{id:`popup-content-${n}`,class:v}))}optionOnChange(n){const{checked:t,value:i}=n.target;this[i]=t,this.updateExportOutput()}async exportOnClick(){var n;await this.beforeExport(),(null===(n=this.exportViews)||void 0===n?void 0:n.length)?(this.addPrintStyling(),document.body.prepend(this.printEl),this.exportViews.forEach((({view:n},t)=>{this.handleViewExportOnClick(n,t)})),this.handleImgLoaded()):null!=this.popoverEl&&(this.popoverEl.open=!1)}async handleViewExportOnClick(n,t){this.includeMap&&(this.updateScaleBar(n,t),this.updatePopupToPrint(n,t),this.viewScreenshot(n,t),this.handleLegendSetup(t))}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 instant-apps-header {\n height: 50px;\n display: block;\n }\n\n\n .instant-apps-export-print {\n z-index: -999;\n color: #323232 !important;\n display: grid;\n grid-auto-flow: row;\n --esri-calcite-mode-name: "light";\n position: absolute;\n }\n\n .instant-apps-export-print__view-header {\n background: #fff;\n }\n\n .instant-apps-export-print__view-header h1 {\n font-size: 16px;\n font-weight: 500;\n color: #323232;\n margin: 6px;\n }\n\n .instant-apps-export-print__views-container {\n height: 100%;\n width: 100%;\n display: flex;\n flex-direction: column;\n }\n\n .instant-apps-export-print__view-content:first-child {\n page-break-before: unset;\n } \n\n .instant-apps-export-print__view-content {\n height: 100%;\n display: flex;\n flex-direction: column;\n gap: 32px;\n page-break-before: always;\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 break-inside: avoid;\n }\n\n .instant-apps-export-print__view-wrapper {\n height: fit-content;\n width: min-content;\n position: relative;\n display: flex;\n flex-direction: column;\n border: 2pt solid #323232;\n overflow: hidden;\n }\n\n .instant-apps-export-print__view {\n max-height: 60vh;\n max-width: calc(100vw - .25in);\n object-fit: contain;\n }\n\n .instant-apps-export-print__popup-container {\n height: min-content;\n max-width: 350px;\n display: none;\n color: #323232;\n background: #fff;\n border: 1pt solid #323232;\n break-inside: avoid;\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 .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 * {\n color: #323232;\n }\n\n .instant-apps-export-print .esri-widget__heading {\n margin: 2pt 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 .esri-scale-bar__label-container--line {\n height: 16px;\n overflow: hidden;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__label-container--top {\n bottom: 1px;\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 }',document.body.prepend(this.printStyleEl))}handleImgLoaded(){this.exportIsLoading=!0,setTimeout((()=>{this.exportIsLoading=void 0,this.setupViewPrintElements()}),1500)}resetPrintContent(){}async updatePopupToPrint(n,t){var i,e;const o=this.printEl.querySelector(`#popup-${t}`);if(null!=o&&(o.style.display=this.includePopup&&n.popup.visible?"block":"none",this.checkPopupOpen(n,t)),n.popup.visible&&null!=n.popup.selectedFeature){const o=document.createElement(`h${null!==(i=n.popup.headingLevel)&&void 0!==i?i:2}`);o.innerHTML=null!==(e=n.popup.title)&&void 0!==e?e:"",o.className="esri-widget__heading esri-popup__header-title";const a=this.printEl.querySelector(`#popup-title-${t}`);null!=a&&(a.style.display=n.popup.title?"block":"none",a.innerHTML="",a.prepend(o))}}updateExportOutput(){this.output={},this.showIncludeLegend&&(this.output.includeLegend=this.includeLegend),this.showIncludeMap&&(this.output.includeMap=this.includeMap),this.showIncludePopup&&(this.output.includePopup=this.includePopup),this.showIncludeHeader&&(this.output.includeHeader=this.includeHeader),this.exportOutputUpdated.emit()}setupViewPrintElements(){const n=document.title;window.print(),document.title=n,setTimeout((()=>{this.resetPrintContent()}),1e3)}handleLegendSetup(n){var t;const i=this.printEl.querySelector(`#legend-${n}`);if(this.showIncludeLegend&&this.includeMap&&i){const e=this.legends[n],o=null!=e&&(null===(t=e.activeLayerInfos)||void 0===t?void 0:t.length)>0;i.style.display=this.includeLegend&&o?"block":"none"}}handleWidgetCreation(){var n;this.includeMap&&(null===(n=this.exportViews)||void 0===n||n.forEach((({view:n},t)=>{this.handleLegendCreation(n,t)})))}handleIncludePopup(n,t){var i,e;if(this.showIncludePopup){const o=`includePopup-${t}`;null===(i=this.handles)||void 0===i||i.remove(o),null===(e=this.reactiveUtils)||void 0===e||e.whenOnce((()=>null==n?void 0:n.ready)).then((()=>{var t;null===(t=this.handles)||void 0===t||t.add(this.reactiveUtils.watch((()=>{var t;return null===(t=null==n?void 0:n.popup)||void 0===t?void 0:t.visible}),(n=>{this.includePopup=n})),o)}))}}handleLegendCreation(n,t){var i,e,o,a;const s=this.printEl.querySelector(`#legend-${t}`);if(this.showIncludeLegend&&null!=s){const r=n.map,p=this.legends[t],c=null===(i=null==p?void 0:p.view)||void 0===i?void 0:i.map;null!=(null===(e=null==r?void 0:r.portalItem)||void 0===e?void 0:e.id)&&(null===(o=null==r?void 0:r.portalItem)||void 0===o?void 0:o.id)===(null===(a=null==c?void 0:c.portalItem)||void 0===a?void 0:a.id)||this.updateLegend(n,t,s)}}async updateLegend(n,t,i){null==n||n.when((async n=>{if(null==this.legends[t]&&null!=i){i.innerHTML="";const e=document.createElement("div");i.append(e);const[o]=await a(["esri/widgets/Legend"]);this.legends[t]=new o({id:`legend-widget-${t}`,container:e,view:n,style:{type:"card",layout:"side-by-side"}})}}))}handleCompassCreation(n,t){var i,e,o;const a=this.compassContainerEl.querySelector(`#compass-${t}`);if(null!=a){const s=n.map,r=this.compasses[t],p=null===(i=null==r?void 0:r.view)||void 0===i?void 0:i.map;(null===(e=null==s?void 0:s.portalItem)||void 0===e?void 0:e.id)===(null===(o=null==p?void 0:p.portalItem)||void 0===o?void 0:o.id)||this.updateCompass(n,t,a)}}updateCompass(n,t,i){null==n||n.when((async n=>{const e=document.createElement("div");if(null==i)return;i.append(e);const[o]=await a(["esri/widgets/Compass"]);this.compasses[t]=new o({id:`compass-widget-${t}`,container:e,view:n})}))}updateScaleBar(n,t){const i=this.printEl.querySelector(`#scalebar-container-${t}`);if(i&&null!=n&&(i.innerHTML="",this.showScaleBar)){const t=n.ui.getComponents(),e=null==t?void 0:t.find((({container:n})=>{var t;return null===(t=null==n?void 0:n.className)||void 0===t?void 0:t.includes("esri-scale-bar")}));null!=(null==e?void 0:e.container)&&"string"!=typeof e.container&&i.append(e.container.cloneNode(!0))}}async viewScreenshot(n,t){if(this.includeMap){const i=this.printEl.querySelector(`#scalebar-container-${t}`);null==i||i.classList.toggle("instant-apps-export-print__scale-bar-container--position",n.width>1e3);const e=await n.takeScreenshot({width:2*n.width,height:2*n.height});this.handleScaleBarSize(n,e,i);const o=this.printEl.querySelector(`#view-${t}`);null!=e&&null!=o&&(o.src=e.dataUrl)}}checkPopupOpen(n,t){const i=n.popup.container,e=null==i?void 0:i.querySelector(".esri-popup .esri-feature__main-container");if(null!=e){const n=e.querySelectorAll("canvas"),i=this.printEl.querySelector(`#popup-content-${t}`);if(null==i)return;i.innerHTML="",i.append(e.cloneNode(!0));const o=i.querySelectorAll("canvas");n.forEach(((n,t)=>{var i;const e=n.toDataURL(),a=document.createElement("img");a.src=e;const s=n.getAttribute("style");s&&a.setAttribute("style",s);const r=o[t];null!=r&&(r.replaceWith(a),document.querySelector("link[href*='esri/themes/dark/main.css']")&&null!=(null===(i=a.parentElement)||void 0===i?void 0:i.parentElement)&&(a.parentElement.style.background="#242424",a.parentElement.parentElement.style.background="#242424"))}))}}handleScaleBarSize(n,t,i){if(this.showScaleBar&&"2d"===(null==n?void 0:n.type)&&null!=i){const n=i.querySelector(".esri-scale-bar__line--top"),e=i.querySelector(".esri-scale-bar__line--bottom");this.setScalebarWidth(t,i,n,"top"),this.setScalebarWidth(t,i,e,"bottom")}}setScalebarWidth(n,t,i,e){if(null!=i&&null!=n){const o=n.data.width/2,a=Number(i.style.width.replace("px",""));null==t||t.style.setProperty(`--instant-apps-scale-bar-${e}`,a/o*100+"%")}}get el(){return o(this)}static get watchers(){return{includeMap:["watchIncludeMap"],exportViews:["watchView"]}}};k.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__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{k as instant_apps_export_views}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
4
|
-
* v3.0.0-next.96
|
5
|
-
*/
|
6
|
-
import{a as b}from"./MI3BWAKN.js";import{a as f,b as g}from"./RTNOQY3F.js";import"./KHULIKKP.js";var M=new Date,T=M.toISOString(),v=365,y=v,R={groupDateRange:y,startDate:T},S=(t,r,e)=>{let o=[],n=e.create(t);for(let l=0;l<=r;l++)n=e.increase(n),o.push(e.formatToIsoDateString(n));return o},w=(t,r,e,o)=>{let n=new Map,l=S(r,e,o);return t.map(c=>{let{label:s}=c,a=g(s),u=l.map(m=>{let d=`${m}-${s}`,i=n.get(d);return i||(i=o.isoToTimeZone(m,s),n.set(d,i),i)});return{...c,continent:a,isRegularContinent:a!==f,dates:u}})},J=(t,r,e)=>t.length===r.length&&t.every((o,n)=>e.same(o,r[n])),Z=(t,r=5)=>{let e=t.filter(({label:n})=>g(n)!==f);if(e.length===0)return[0];let o=e.map(n=>t.indexOf(n));return x(o,r)};function x(t,r=5){let e=t.length;if(e<=r)return t;let o=Math.min(e-2,r-2),n=(e-1)/(o+1);return[t[0],...Array.from({length:o},(l,c)=>t[Math.round((c+1)*n)]),t[e-1]]}async function G(t){let{groupDateRange:r,startDate:e,dateEngine:o}={...R,...t},n=[];if(!o)throw new Error("dateEngine is required");let l=b.map(s=>({label:s})),c=w(l,e,r,o);for(let s of c){let{label:a,continent:u,dates:m}=s;if(s.visited)continue;s.visited=!0;let d={labelIdx:[],tzs:[{label:a}]};for(let i of c.filter(p=>!p.visited)){let{label:p,continent:h,isRegularContinent:z,dates:D}=i;if((u===h||!z)&&J(m,D,o)){let I={label:p};d.tzs.push(I),i.visited=!0}}n.push(d)}return n.map(s=>(s.tzs=s.tzs.sort((a,u)=>a.label.localeCompare(u.label)),{labelTzIdx:Z(s.tzs,7),tzs:s.tzs.map(a=>a.label)})).sort((s,a)=>a.tzs.length-s.tzs.length)}export{G as groupByOffset};
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
4
|
-
* v3.0.0-next.96
|
5
|
-
*/
|
6
|
-
import{a as f}from"./XKQ2CMVV.js";import{b as p}from"./R6R2QDCZ.js";import{B as u}from"./MBJAGWVS.js";import{a as w,b as g,d as b}from"./H6JENZS2.js";import"./ITIJ42U7.js";import{I as m,d as l,e as c,v as d,w as h}from"./TYYR7NIL.js";var n={frame:"frame",frameAdvancing:"frame--advancing",frameRetreating:"frame--retreating"},v=l`:host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{position:relative;display:flex;inline-size:100%;flex:1 1 auto;align-items:stretch;overflow:hidden;background-color:transparent}:host .frame{position:relative;margin:0;display:flex;inline-size:100%;flex:1 1 auto;flex-direction:column;align-items:stretch;padding:0;animation-name:none;animation-duration:var(--calcite-animation-timing)}:host ::slotted(*){display:none;block-size:100%}:host ::slotted(*[selected]){display:flex}:host ::slotted(.calcite-match-height:last-child){display:flex;flex:1 1 auto;overflow:hidden}:host .frame--advancing{animation-name:calcite-frame-advance}:host .frame--retreating{animation-name:calcite-frame-retreat}@keyframes calcite-frame-advance{0%{--tw-bg-opacity: .5;transform:translate3d(50px,0,0)}to{--tw-bg-opacity: 1;transform:translateZ(0)}}@keyframes calcite-frame-retreat{0%{--tw-bg-opacity: .5;transform:translate3d(-50px,0,0)}to{--tw-bg-opacity: 1;transform:translateZ(0)}}:host([hidden]){display:none}[hidden]{display:none}`,o=class extends d{constructor(){super(),this.itemMutationObserver=f("mutation",()=>this.handleMutationObserverChange()),this.selectedIndex=-1,this.flowDirection="standby",this.items=[],this.listen("calciteInternalFlowItemChange",this.handleCalciteInternalFlowItemChange),this.listen("calciteFlowItemBack",this.handleItemBackClick)}static{this.properties={flowDirection:16,items:16,customItemSelectors:1}}static{this.styles=v}async back(){let{items:e,selectedIndex:t}=this,i=e[t],a=e[t-1];if(!i||!a)return;let s=i.beforeBack?i.beforeBack:()=>Promise.resolve();try{await s.call(i)}catch{return}return i.selected=!1,a.selected=!0,a}async setFocus(){await b(this);let{items:e}=this;return e[this.selectedIndex]?.setFocus()}connectedCallback(){super.connectedCallback(),this.itemMutationObserver?.observe(this.el,{childList:!0,subtree:!0}),this.handleMutationObserverChange()}load(){w(this)}willUpdate(e){e.has("flowDirection")&&(this.hasUpdated||this.flowDirection!=="standby")&&this.handleFlowDirectionChange(this.flowDirection)}loaded(){g(this)}disconnectedCallback(){super.disconnectedCallback(),this.itemMutationObserver?.disconnect()}async handleFlowDirectionChange(e){e!=="standby"&&(await u(this.frameEl,e==="retreating"?"calcite-frame-retreat":"calcite-frame-advance"),this.resetFlowDirection())}handleCalciteInternalFlowItemChange(e){e.stopPropagation(),this.updateFlowProps()}async handleItemBackClick(e){if(!e.defaultPrevented)return await this.back(),this.setFocus()}resetFlowDirection(){this.flowDirection="standby"}getFlowDirection(e,t){let i=e>0;return!(e>-1&&t>0)&&!i?"standby":t<e?"retreating":"advancing"}handleMutationObserverChange(){let{customItemSelectors:e,el:t}=this,i=Array.from(t.querySelectorAll(`calcite-flow-item${e?`,${e}`:""}`)).filter(a=>a.closest("calcite-flow")===t);this.items=i,this.ensureSelectedFlowItemExists(),this.updateFlowProps()}updateFlowProps(){let{selectedIndex:e,items:t}=this,i=this.findSelectedFlowItemIndex(t);t.forEach((a,s)=>{let r=s===i;r||(a.menuOpen=!1),a.showBackButton=r&&i>0}),i!==-1&&(e!==i&&(this.flowDirection=this.getFlowDirection(e,i)),this.selectedIndex=i)}findSelectedFlowItemIndex(e){let t=e.slice(0).reverse().find(i=>!!i.selected);return e.indexOf(t)}ensureSelectedFlowItemExists(){let{items:e}=this;if(this.findSelectedFlowItemIndex(e)!==-1)return;let t=e[e.length-1];t&&(t.selected=!0)}setFrameEl(e){this.frameEl=e}render(){let{flowDirection:e}=this,t={[n.frame]:!0,[n.frameAdvancing]:e==="advancing",[n.frameRetreating]:e==="retreating"};return c`<div class=${h(t)} ${p(this.setFrameEl)}><slot></slot></div>`}};m("calcite-flow",o);export{o as Flow};
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
4
|
-
* v3.0.0-next.96
|
5
|
-
*/
|
6
|
-
import{b as a}from"./QIG2J5PE.js";import"./J4RAJYKF.js";var s={name:"hu",weekdays:"vas\xE1rnap_h\xE9tf\u0151_kedd_szerda_cs\xFCt\xF6rt\xF6k_p\xE9ntek_szombat".split("_"),weekdaysShort:"vas_h\xE9t_kedd_sze_cs\xFCt_p\xE9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),months:"janu\xE1r_febru\xE1r_m\xE1rcius_\xE1prilis_m\xE1jus_j\xFAnius_j\xFAlius_augusztus_szeptember_okt\xF3ber_november_december".split("_"),monthsShort:"jan_feb_m\xE1rc_\xE1pr_m\xE1j_j\xFAn_j\xFAl_aug_szept_okt_nov_dec".split("_"),ordinal:function(n){return n+"."},weekStart:1,relativeTime:{future:"%s m\xFAlva",past:"%s",s:function(n,_,t,e){return"n\xE9h\xE1ny m\xE1sodperc"+(e||_?"":"e")},m:function(n,_,t,e){return"egy perc"+(e||_?"":"e")},mm:function(n,_,t,e){return n+" perc"+(e||_?"":"e")},h:function(n,_,t,e){return"egy "+(e||_?"\xF3ra":"\xF3r\xE1ja")},hh:function(n,_,t,e){return n+" "+(e||_?"\xF3ra":"\xF3r\xE1ja")},d:function(n,_,t,e){return"egy "+(e||_?"nap":"napja")},dd:function(n,_,t,e){return n+" "+(e||_?"nap":"napja")},M:function(n,_,t,e){return"egy "+(e||_?"h\xF3nap":"h\xF3napja")},MM:function(n,_,t,e){return n+" "+(e||_?"h\xF3nap":"h\xF3napja")},y:function(n,_,t,e){return"egy "+(e||_?"\xE9v":"\xE9ve")},yy:function(n,_,t,e){return n+" "+(e||_?"\xE9v":"\xE9ve")}},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"}};a.locale(s,null,!0);var o=s;export{o as default};
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
4
|
-
* v3.0.0-next.96
|
5
|
-
*/
|
6
|
-
function e(r,$,t){return $?`${r}-${$}`:t?`${r}-${t}`:`${r}-m`}export{e as a};
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
4
|
-
* v3.0.0-next.96
|
5
|
-
*/
|
6
|
-
import{b as _}from"./QIG2J5PE.js";import"./J4RAJYKF.js";var t={name:"el",weekdays:"\u039A\u03C5\u03C1\u03B9\u03B1\u03BA\u03AE_\u0394\u03B5\u03C5\u03C4\u03AD\u03C1\u03B1_\u03A4\u03C1\u03AF\u03C4\u03B7_\u03A4\u03B5\u03C4\u03AC\u03C1\u03C4\u03B7_\u03A0\u03AD\u03BC\u03C0\u03C4\u03B7_\u03A0\u03B1\u03C1\u03B1\u03C3\u03BA\u03B5\u03C5\u03AE_\u03A3\u03AC\u03B2\u03B2\u03B1\u03C4\u03BF".split("_"),weekdaysShort:"\u039A\u03C5\u03C1_\u0394\u03B5\u03C5_\u03A4\u03C1\u03B9_\u03A4\u03B5\u03C4_\u03A0\u03B5\u03BC_\u03A0\u03B1\u03C1_\u03A3\u03B1\u03B2".split("_"),weekdaysMin:"\u039A\u03C5_\u0394\u03B5_\u03A4\u03C1_\u03A4\u03B5_\u03A0\u03B5_\u03A0\u03B1_\u03A3\u03B1".split("_"),months:"\u0399\u03B1\u03BD\u03BF\u03C5\u03AC\u03C1\u03B9\u03BF\u03C2_\u03A6\u03B5\u03B2\u03C1\u03BF\u03C5\u03AC\u03C1\u03B9\u03BF\u03C2_\u039C\u03AC\u03C1\u03C4\u03B9\u03BF\u03C2_\u0391\u03C0\u03C1\u03AF\u03BB\u03B9\u03BF\u03C2_\u039C\u03AC\u03B9\u03BF\u03C2_\u0399\u03BF\u03CD\u03BD\u03B9\u03BF\u03C2_\u0399\u03BF\u03CD\u03BB\u03B9\u03BF\u03C2_\u0391\u03CD\u03B3\u03BF\u03C5\u03C3\u03C4\u03BF\u03C2_\u03A3\u03B5\u03C0\u03C4\u03AD\u03BC\u03B2\u03C1\u03B9\u03BF\u03C2_\u039F\u03BA\u03C4\u03CE\u03B2\u03C1\u03B9\u03BF\u03C2_\u039D\u03BF\u03AD\u03BC\u03B2\u03C1\u03B9\u03BF\u03C2_\u0394\u03B5\u03BA\u03AD\u03BC\u03B2\u03C1\u03B9\u03BF\u03C2".split("_"),monthsShort:"\u0399\u03B1\u03BD_\u03A6\u03B5\u03B2_\u039C\u03B1\u03C1_\u0391\u03C0\u03C1_\u039C\u03B1\u03B9_\u0399\u03BF\u03C5\u03BD_\u0399\u03BF\u03C5\u03BB_\u0391\u03C5\u03B3_\u03A3\u03B5\u03C0\u03C4_\u039F\u03BA\u03C4_\u039D\u03BF\u03B5_\u0394\u03B5\u03BA".split("_"),ordinal:function(e){return e},weekStart:1,relativeTime:{future:"\u03C3\u03B5 %s",past:"\u03C0\u03C1\u03B9\u03BD %s",s:"\u03BC\u03B5\u03C1\u03B9\u03BA\u03AC \u03B4\u03B5\u03C5\u03C4\u03B5\u03C1\u03CC\u03BB\u03B5\u03C0\u03C4\u03B1",m:"\u03AD\u03BD\u03B1 \u03BB\u03B5\u03C0\u03C4\u03CC",mm:"%d \u03BB\u03B5\u03C0\u03C4\u03AC",h:"\u03BC\u03AF\u03B1 \u03CE\u03C1\u03B1",hh:"%d \u03CE\u03C1\u03B5\u03C2",d:"\u03BC\u03AF\u03B1 \u03BC\u03AD\u03C1\u03B1",dd:"%d \u03BC\u03AD\u03C1\u03B5\u03C2",M:"\u03AD\u03BD\u03B1 \u03BC\u03AE\u03BD\u03B1",MM:"%d \u03BC\u03AE\u03BD\u03B5\u03C2",y:"\u03AD\u03BD\u03B1 \u03C7\u03C1\u03CC\u03BD\u03BF",yy:"%d \u03C7\u03C1\u03CC\u03BD\u03B9\u03B1"},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"}};_.locale(t,null,!0);var s=t;export{s as default};
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
4
|
-
* v3.0.0-next.96
|
5
|
-
*/
|
6
|
-
import{c as a,l as S,r as T,v as C}from"./MBJAGWVS.js";import"./ITIJ42U7.js";import{I as b,d as y,e as E,u as A,v as I,z as M}from"./TYYR7NIL.js";function v(h){return h?.tagName==="CALCITE-TREE-ITEM"}function w(h){return Array.from(h.querySelectorAll("calcite-tree-item:not([disabled])")).filter(e=>{let t=e;for(;t!==h&&t!==void 0;){let l=t.parentElement;if(!(!v(l)||!l.hasChildren||l.expanded))return!1;t=t.parentElement}return!0})}var D=y`:host{display:block}:host(:focus){outline:2px solid transparent;outline-offset:2px}:host([hidden]){display:none}[hidden]{display:none}`,x=class extends I{constructor(){super(),this.items=[],this.lines=!1,this.parentExpanded=!1,this.scale="m",this.selectedItems=[],this.selectionMode="single",this.calciteTreeSelect=A({cancelable:!1}),this.listen("focus",this.onFocus),this.listen("focusin",this.onFocusIn),this.listen("focusout",this.onFocusOut),this.listen("calciteInternalTreeItemSelect",this.onInternalTreeItemSelect),this.listen("keydown",this.keyDownHandler)}static{this.properties={child:7,lines:7,parentExpanded:5,scale:3,selectedItems:0,selectionMode:3}}static{this.styles=D}willUpdate(e){e.has("parentExpanded")&&(this.hasUpdated||this.parentExpanded!==!1)&&this.updateItems();let t=this.el.parentElement?.closest("calcite-tree");this.lines=t?t.lines:this.lines,this.scale=t?t.scale:this.scale,this.selectionMode=t?t.selectionMode:this.selectionMode,this.child=!!t}onFocus(){if(!this.child){let e=this.el.querySelector("calcite-tree-item[selected]:not([disabled])")||this.el.querySelector("calcite-tree-item:not([disabled])");S(e)}}onFocusIn(e){(e.relatedTarget===this.el||!this.el.contains(e.relatedTarget))&&this.el.removeAttribute("tabindex")}onFocusOut(e){!this.el.contains(e.relatedTarget)&&(this.el.tabIndex=this.getRootTabIndex())}onInternalTreeItemSelect(e){if(this.child)return;let t=e.target,l=a(t.querySelectorAll("calcite-tree-item"));if(e.preventDefault(),e.stopPropagation(),this.selectionMode==="ancestors"){this.updateAncestorTree(e);return}let r=this.selectionMode==="none",n=this.selectionMode!==null&&(!t.hasChildren||t.hasChildren&&(this.selectionMode==="children"||this.selectionMode==="multichildren")),s=this.selectionMode==="multichildren"&&t.hasChildren,u=!r&&e.detail.modifyCurrentSelection&&(this.selectionMode==="multiple"||this.selectionMode==="multichildren"),g=!u&&((this.selectionMode==="single"||this.selectionMode==="multiple")&&l.length<=0||this.selectionMode==="children"||this.selectionMode==="multichildren"||this.selectionMode==="single-persist"&&!t.hasChildren),d=["multiple","none","single","single-persist"].includes(this.selectionMode)&&t.hasChildren,c=[];n&&c.push(t),g&&a(this.el.querySelectorAll("calcite-tree-item[selected]")).forEach(i=>{c.includes(i)||(i.selected=!1)}),d&&["multiple","none","single","single-persist"].includes(this.selectionMode)&&(t.expanded=!t.expanded),s&&l.forEach(i=>{i.selected=!1,i.hasChildren&&(i.expanded=!1)}),u&&window.getSelection().removeAllRanges(),u&&t.selected?c.forEach(i=>{i.disabled||(i.selected=!1)}):r||c.forEach(i=>{i.disabled||(i.selected=this.selectionMode!=="single"||!i.selected)}),this.selectedItems=r?[]:a(this.el.querySelectorAll("calcite-tree-item")).filter(i=>i.selected),this.calciteTreeSelect.emit(),e.stopPropagation()}keyDownHandler(e){if(this.child)return;let t=this.el,l=e.target,r=["ArrowRight","ArrowDown","ArrowLeft","ArrowUp","Home","End","Tab"];if(!(v(l)&&this.el.contains(l))||!r.includes(e.key))return;let n=w(t);if(e.key==="Tab"){n.forEach(s=>s.tabIndex=-1);return}if(e.key==="ArrowDown"){let s=n.indexOf(l);n[s+1]?.focus(),e.preventDefault();return}if(e.key==="ArrowUp"){let s=n.indexOf(l);n[s-1]?.focus(),e.preventDefault();return}if(e.key==="ArrowLeft"){if(l.hasChildren&&l.expanded){l.expanded=!1,e.preventDefault();return}n.slice(0,n.indexOf(l)).reverse().find(s=>s.depth===l.depth-1)?.focus(),e.preventDefault();return}if(e.key==="ArrowRight"){if(!l.disabled&&l.hasChildren)if(!l.expanded)l.expanded=!0,e.preventDefault();else{let s=n.indexOf(l);n[s+1]?.focus(),e.preventDefault()}return}if(e.key==="Home"){let s=n.shift();s&&(s.focus(),e.preventDefault());return}if(e.key==="End"){let s=n.pop();s&&(s.focus(),e.preventDefault());return}}updateAncestorTree(e){let t=e.target,l=e.detail.updateItem;if(t.disabled||t.indeterminate&&!l)return;let r=[],n=t.parentElement.closest("calcite-tree-item");for(;n;)r.push(n),n=n.parentElement.closest("calcite-tree-item");let s=Array.from(t.querySelectorAll("calcite-tree-item:not([disabled])")),u=s.filter(i=>!i.hasChildren),g=s.filter(i=>i.hasChildren),d;l?d=t.hasChildren?!(t.selected||t.indeterminate):!t.selected:d=t.selected,u.forEach(i=>{i.selected=d,i.indeterminate=!1});function c(i,o){let f=i.filter(p=>p.selected),m=i.filter(p=>!p.selected);o.selected=f.length===i.length,o.indeterminate=f.length>0&&m.length>0}g.reverse().forEach(i=>{let o=Array.from(i.querySelectorAll(":scope > calcite-tree > calcite-tree-item"));c(o,i)}),l&&(t.hasChildren?c(s,t):(t.selected=d,t.indeterminate=!1)),r.forEach(i=>{let o=a(i.querySelectorAll("calcite-tree-item")),f=o.filter(p=>p.selected);if(f.length===0){i.selected=!1,i.indeterminate=!1;return}let m=f.length<o.length;i.indeterminate=m,i.selected=!m}),this.selectedItems=a(this.el.querySelectorAll("calcite-tree-item")).filter(i=>i.selected),l&&this.calciteTreeSelect.emit()}updateItems(){this.items.forEach(e=>e.parentExpanded=this.parentExpanded)}handleDefaultSlotChange(e){let t=C(e).filter(l=>l.matches("calcite-tree-item"));this.items=t,this.updateItems()}getRootTabIndex(){return this.child?-1:0}render(){return this.el.ariaMultiSelectable=this.child?void 0:T(this.selectionMode==="multiple"||this.selectionMode==="multichildren"),this.el.role=this.child?void 0:"tree",M(this.el,"tabIndex",this.getRootTabIndex()),E`<slot @slotchange=${this.handleDefaultSlotChange}></slot>`}};b("calcite-tree",x);export{x as Tree};
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
4
|
-
* v3.0.0-next.96
|
5
|
-
*/
|
6
|
-
import{a as i}from"./OUC47AKY.js";import{a as s,b as c,d as u}from"./H6JENZS2.js";import{I as l,d as n,e as a,v as r,w as e}from"./TYYR7NIL.js";var t={textContainer:"text-container",fullName:"full-name",username:"username",button:"button"},m=n`:host{display:inline-flex;outline:2px solid transparent;outline-offset:2px}:host .button{margin:0;display:flex;cursor:pointer;align-items:center;justify-content:center;font-family:var(--calcite-font-family);font-size:var(--calcite-font-size-0);line-height:1.25rem;outline-color:transparent;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;border:none;background-color:var(--calcite-navigation-background-color, var(--calcite-internal-navigation-user-background-color, var(--calcite-color-transparent)));border-block-end:2px solid var(--calcite-color-transparent)}.text-container{margin-block-start:.125rem;display:flex;flex-direction:column;padding-inline:1rem;text-align:start}calcite-avatar{padding-inline:1rem;--calcite-avatar-corner-radius: var(--calcite-navigation-user-avatar-corner-radius);--calcite-avatar-color: var(--calcite-navigation-user-avatar-color)}calcite-avatar~.text-container{padding-inline-start:0px}.full-name{margin-inline-start:0px;font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-navigation-user-full-name-text-color, var(--calcite-color-text-1))}.username{font-size:var(--calcite-font-size--1);color:var(--calcite-navigation-user-name-text-color, var(--calcite-color-text-2))}:host(:hover) .button,:host(:focus) .button{--calcite-internal-navigation-user-background-color: var(--calcite-color-foreground-2)}:host(:focus) .button{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host(:active) .button{--calcite-internal-navigation-user-background-color: var(--calcite-color-foreground-3)}:host([active]) .button{border-block-end-color:var(--calcite-navigation-accent-color, var(--calcite-color-brand))}:host([hidden]){display:none}[hidden]{display:none}`,o=class extends r{constructor(){super(...arguments),this.textDisabled=!1}static{this.properties={active:7,fullName:1,label:1,textDisabled:7,thumbnail:1,userId:1,username:1}}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}static{this.styles=m}async setFocus(){await u(this),this.el.focus()}load(){s(this)}loaded(){c(this)}render(){return a`<button .ariaLabel=${this.label} class=${e(t.button)}><calcite-avatar .fullName=${this.fullName} .label=${this.label} .thumbnail=${this.thumbnail} .userId=${this.userId} .username=${this.username}></calcite-avatar>${(this.fullName||this.username)&&!this.textDisabled&&a`<div class=${e(t.textContainer)}>${this.fullName&&i(t.fullName,a`<span class=${e(t.fullName)}>${this.fullName}</span>`)||""}${this.username&&i(t.username,a`<span class=${e(t.username)}>${this.username}</span>`)||""}</div>`||""}</button>`}};l("calcite-navigation-user",o);export{o as NavigationUser};
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
4
|
-
* v3.0.0-next.96
|
5
|
-
*/
|
6
|
-
import{e as f,f as v}from"./BMTT77MQ.js";import{a as h}from"./XKQ2CMVV.js";import"./OI755RA3.js";import{a as y}from"./RS3QB5Z6.js";import"./R6R2QDCZ.js";import"./CHPU2ORW.js";import{n as u,v as x}from"./MBJAGWVS.js";import{a as g,b as m,d as b}from"./H6JENZS2.js";import"./ITIJ42U7.js";import{I as p,d as r,e,u as c,v as d,w as i}from"./TYYR7NIL.js";var w={actionGroupEnd:"action-group--end",container:"container"},C={expandTooltip:"expand-tooltip"},$=r`:host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{display:block}@keyframes in{0%{opacity:0}to{opacity:1}}:host{animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:var(--calcite-action-pad-corner-radius, .125rem);background:transparent}:host([expanded][layout=vertical]) .container{max-inline-size:var(--calcite-action-pad-expanded-max-width, auto)}:host([layout=vertical]) ::slotted(calcite-action-group:not(:last-of-type)){border-block-end-width:1px}.container{display:inline-flex;flex-direction:column;overflow-y:auto;--tw-shadow: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);--tw-shadow-colored: 0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);gap:var(--calcite-action-pad-items-space, 0);border-radius:calc(var(--calcite-action-pad-corner-radius, .125rem) * 2);background-color:var(--calcite-action-background-color, var(--calcite-color-foreground-1))}.action-group--bottom{flex-grow:1;justify-content:flex-end;padding-block-end:0px}:host([layout=horizontal]) .container{flex-direction:row}:host([layout=horizontal]) .container .action-group--bottom{padding:0}:host([layout=horizontal]) .container ::slotted(calcite-action-group:not(:last-of-type)){border-inline-end-width:1px}:host([hidden]){display:none}[hidden]{display:none}`,s=class extends d{constructor(){super(),this.mutationObserver=h("mutation",()=>this.updateGroups()),this.toggleExpand=()=>{this.expanded=!this.expanded,this.calciteActionPadToggle.emit()},this.expandDisabled=!1,this.expanded=!1,this.layout="vertical",this.messages=y(),this.overlayPositioning="absolute",this.scale="m",this.calciteActionPadToggle=c({cancelable:!1}),this.listen("calciteActionMenuOpen",this.actionMenuOpenHandler)}static{this.properties={expandTooltip:16,actionsEndGroupLabel:1,expandDisabled:7,expanded:7,layout:3,messageOverrides:0,overlayPositioning:3,position:3,scale:3}}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}static{this.styles=$}async setFocus(){await b(this),u(this.el)}connectedCallback(){super.connectedCallback(),this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}async load(){g(this)}willUpdate(t){t.has("expanded")&&this.hasUpdated&&f({el:this.el,expanded:this.expanded}),t.has("layout")&&(this.hasUpdated||this.layout!=="vertical")&&this.updateGroups()}loaded(){m(this)}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect()}actionMenuOpenHandler(t){if(t.target.menuOpen){let a=t.composedPath();this.actionGroups?.forEach(o=>{a.includes(o)||(o.menuOpen=!1)})}}updateGroups(){let t=Array.from(this.el.querySelectorAll("calcite-action-group"));this.actionGroups=t,this.setGroupLayout(t)}setGroupLayout(t){t.forEach(a=>a.layout=this.layout)}handleDefaultSlotChange(){this.updateGroups()}handleTooltipSlotChange(t){let a=x(t).filter(o=>o?.matches("calcite-tooltip"));this.expandTooltip=a[0]}renderBottomActionGroup(){let{expanded:t,expandDisabled:a,messages:o,el:G,position:k,toggleExpand:E,scale:n,layout:T,actionsEndGroupLabel:L,overlayPositioning:O}=this,l=a?null:v({collapseLabel:o.collapseLabel,collapseText:o.collapse,el:G,expandLabel:o.expandLabel,expandText:o.expand,expanded:t,position:k,scale:n,toggle:E,tooltip:this.expandTooltip});return l?e`<calcite-action-group class=${i(w.actionGroupEnd)} .label=${L} .layout=${T} .overlayPositioning=${O} .scale=${n}><slot name=${C.expandTooltip} @slotchange=${this.handleTooltipSlotChange}></slot>${l}</calcite-action-group>`:null}render(){return e`<div class=${i(w.container)}><slot @slotchange=${this.handleDefaultSlotChange}></slot>${this.renderBottomActionGroup()}</div>`}};p("calcite-action-pad",s);export{s as ActionPad};
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
4
|
-
* v3.0.0-next.96
|
5
|
-
*/
|
6
|
-
import{a as x,h as v,k as K,l as f,m as $,n as p,o as m,p as y,q as o,r as c,s as P}from"./JOTIQZAS.js";import"./QP3WP6XK.js";import{a as k}from"./OUC47AKY.js";import{b as d}from"./R6R2QDCZ.js";import{l as D}from"./MBJAGWVS.js";import{a as E,b as B,d as T}from"./H6JENZS2.js";import"./ITIJ42U7.js";import{I as V,d as F,e as C,u as O,v as S,w as I}from"./TYYR7NIL.js";var g={container:"container",hexInput:"hex-input",opacityInput:"opacity-input"},j=F`:host{display:block}.container{display:flex;inline-size:100%;flex-wrap:nowrap;align-items:center}.hex-input{flex-grow:1;text-transform:uppercase}.opacity-input{inline-size:100px;margin-inline-start:-1px}:host([hidden]){display:none}[hidden]{display:none}`,b=x(),N=class extends S{constructor(){super(...arguments),this.internalColor=b,this.alphaChannel=!1,this.allowEmpty=!1,this.hexLabel="Hex",this.scale="m",this.value=o(c(b,this.alphaChannel),this.alphaChannel,!0),this.calciteColorPickerHexInputChange=O({cancelable:!1})}static{this.properties={internalColor:16,alphaChannel:5,allowEmpty:5,hexLabel:1,messages:0,numberingSystem:1,scale:3,value:3}}static{this.styles=j}async setFocus(){return await T(this),D(this.hexInputNode)}connectedCallback(){super.connectedCallback(),this.previousNonNullValue=this.value;let{allowEmpty:t,alphaChannel:e,value:a}=this;if(a){let n=o(a,e);p(n,e)&&this.internalSetValue(n,n,!1);return}t&&this.internalSetValue(void 0,void 0,!1)}load(){E(this)}willUpdate(t){t.has("value")&&(this.hasUpdated||this.value!==o(c(b,this.alphaChannel),this.alphaChannel,!0))&&this.internalSetValue(this.value,t.get("value"),!1)}loaded(){B(this)}onHexInputBlur(){let t=this.hexInputNode,e=t.value,a=`#${e}`,{allowEmpty:n,internalColor:l}=this,s=n&&!e,i=y(a);(m(a,!0)||m(a,!1))&&this.onHexInputChange(),!(s||p(a)&&i)&&(t.value=n&&!l?"":this.formatHexForInternalInput(P(l.object())))}onOpacityInputBlur(){let t=this.opacityInputNode,e=t.value,{allowEmpty:a,internalColor:n}=this;a&&!e||(t.value=a&&!n?"":this.formatOpacityForInternalInput(n))}onOpacityInputInput(){this.onOpacityInputChange()}onHexInputChange(){let t=this.hexInputNode.value;if(t){let e=o(t,!1);if(p(e)&&this.alphaChannel&&this.internalColor){let a=o(this.internalColor.hexa(),!0).slice(-2);t=`${e+a}`}}this.internalSetValue(t,this.value)}onOpacityInputChange(){let t=this.opacityInputNode,e;if(!t.value)e=t.value;else{let a=$(Number(t.value));e=this.internalColor?.alpha(a).hexa()}this.internalSetValue(e,this.value)}onInputFocus(t){t.type==="calciteInternalInputTextFocus"?this.hexInputNode.selectText():this.opacityInputNode.selectText()}onHexInputInput(){let t=`#${this.hexInputNode.value}`,e=this.value;p(t,this.alphaChannel)&&y(t,this.alphaChannel)&&this.internalSetValue(t,e)}onInputKeyDown(t){let{altKey:e,ctrlKey:a,metaKey:n,shiftKey:l}=t,{alphaChannel:s,hexInputNode:i,internalColor:r,value:u}=this,{key:h}=t,w=t.composedPath();if(h==="Tab"&&m(u,this.alphaChannel)||h==="Enter"){w.includes(i)?this.onHexInputChange():this.onOpacityInputChange(),h==="Enter"&&t.preventDefault();return}let R=h==="ArrowDown"||h==="ArrowUp",H=this.value;if(R){if(!u){this.internalSetValue(this.previousNonNullValue,H),t.preventDefault();return}let z=h==="ArrowUp"?1:-1,G=l?10:1;this.internalSetValue(c(this.nudgeRGBChannels(r,G*z,w.includes(i)?"rgb":"a"),s),H),t.preventDefault();return}let L=e||a||n,U=h.length===1,A=K.test(h);U&&!L&&!A&&t.preventDefault()}onHexInputPaste(t){let e=t.clipboardData.getData("text");p(e,this.alphaChannel)&&y(e,this.alphaChannel)&&(t.preventDefault(),this.hexInputNode.value=e.slice(1),this.internalSetValue(e,this.value))}internalSetValue(t,e,a=!0){if(t){let{alphaChannel:n}=this,l=o(t,n,n);if(p(l,n)){let{internalColor:s}=this,i=x(l),r=o(c(i,n),n),u=!s||r!==o(c(s,n),n);this.internalColor=i,this.previousNonNullValue=r,this.value=r,u&&a&&this.calciteColorPickerHexInputChange.emit();return}}else if(this.allowEmpty){this.internalColor=void 0,this.value=void 0,a&&this.calciteColorPickerHexInputChange.emit();return}this.value=e}storeHexInputRef(t){this.hexInputNode=t}storeOpacityInputRef(t){this.opacityInputNode=t}formatHexForInternalInput(t){return t?t.replace("#","").slice(0,6):""}formatOpacityForInternalInput(t){return t?`${f(t.alpha())}`:""}nudgeRGBChannels(t,e,a){let n,l=t.array(),s=l.slice(0,3);if(a==="rgb")n=[...s.map(i=>i+e),this.alphaChannel?l[3]:void 0];else{let i=$(f(t.alpha())+e);n=[...s,i]}return x(n)}render(){let{alphaChannel:t,hexLabel:e,internalColor:a,messages:n,scale:l,value:s}=this,i=this.formatHexForInternalInput(s),r=this.formatOpacityForInternalInput(a),u=l==="l"?"m":"s";return C`<div class=${I(g.container)}><calcite-input-text class=${I(g.hexInput)} .label=${n?.hex||e} .maxLength=${this.alphaChannel?8:6} @keydown=${this.onInputKeyDown} @paste=${this.onHexInputPaste} @calciteInputTextChange=${this.onHexInputChange} @calciteInputTextInput=${this.onHexInputInput} @calciteInternalInputTextBlur=${this.onHexInputBlur} @calciteInternalInputTextFocus=${this.onInputFocus} prefix-text=# .scale=${u} .value=${i} ${d(this.storeHexInputRef)}></calcite-input-text>${t?k("opacity-input",C`<calcite-input-number class=${I(g.opacityInput)} .label=${n?.opacity} .max=${v.max} max-length=3 .min=${v.min} number-button-type=none .numberingSystem=${this.numberingSystem} @keydown=${this.onInputKeyDown} @calciteInputNumberInput=${this.onOpacityInputInput} @calciteInternalInputNumberBlur=${this.onOpacityInputBlur} @calciteInternalInputNumberFocus=${this.onInputFocus} .scale=${u} suffix-text=% .value=${r} ${d(this.storeOpacityInputRef)}></calcite-input-number>`):null}</div>`}};V("calcite-color-picker-hex-input",N);export{N as ColorPickerHexInput};
|