@esri/solutions-components 0.11.12 → 0.11.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +258 -49
- package/dist/cjs/buffer-tools_2.cjs.entry.js +122 -28
- package/dist/cjs/card-manager_3.cjs.entry.js +427 -98
- package/dist/cjs/consent-manager.cjs.entry.js +54 -12
- package/dist/cjs/create-feature_4.cjs.entry.js +247 -53
- package/dist/cjs/create-related-feature_3.cjs.entry.js +166 -35
- package/dist/cjs/crowdsource-manager.cjs.entry.js +247 -58
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +213 -52
- package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
- package/dist/cjs/delete-dialog.cjs.entry.js +37 -8
- package/dist/cjs/downloadUtils-1935500f.js +3223 -0
- package/dist/cjs/effects-3607d1ba.js +83 -0
- package/dist/cjs/feature-list.cjs.entry.js +95 -24
- package/dist/cjs/helpers-b511b55e.js +867 -0
- package/dist/cjs/index-b2821254.js +201 -0
- package/dist/cjs/index-b936ec03.js +1903 -0
- package/dist/cjs/index.es-3c2404c3.js +11195 -0
- package/dist/cjs/instant-apps-app-guide.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-control-panel.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-create.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-export-views.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-export.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-filter-list_2.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-header.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +20 -20
- package/dist/cjs/instant-apps-landing-page.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +826 -20
- package/dist/cjs/instant-apps-language-translator.cjs.entry.js +817 -10
- package/dist/cjs/instant-apps-measurement-tool.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-measurement.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-popover.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-popovers.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-sign-in.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-splash.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-time-filter.cjs.entry.js +5 -5
- package/dist/cjs/json-editor_7.cjs.entry.js +227 -49
- package/dist/cjs/languageSwitcher-19a22439.js +52 -0
- package/dist/cjs/loadModules-e9d8977c.js +23 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/locale-4187fc82.js +943 -0
- package/dist/cjs/locale-98346201.js +160 -0
- package/dist/cjs/map-layer-picker.cjs.entry.js +112 -27
- package/dist/cjs/map-select-tools_3.cjs.entry.js +229 -50
- package/dist/cjs/pci-calculator.cjs.entry.js +15 -2
- package/dist/cjs/popupUtils-c0921a77.js +121 -0
- package/dist/cjs/public-notification.cjs.entry.js +194 -44
- package/dist/cjs/publicNotificationStore-76755c44.js +47 -0
- package/dist/cjs/solution-configuration.cjs.entry.js +52 -17
- package/dist/cjs/solution-contents_3.cjs.entry.js +84 -18
- package/dist/cjs/solution-item-accordion.cjs.entry.js +39 -9
- package/dist/cjs/solution-item-icon.cjs.entry.js +18 -4
- package/dist/cjs/solution-store-a2a8422d.js +1105 -0
- package/dist/cjs/solutions-components.cjs.js +2 -2
- package/dist/cjs/spatial-ref.cjs.entry.js +45 -10
- package/dist/cjs/store-manager.cjs.entry.js +21 -6
- package/dist/cjs/utils-16dbc236.js +153 -0
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/basemap-gallery/basemap-gallery.js +19 -5
- package/dist/collection/components/buffer-tools/buffer-tools.js +52 -13
- package/dist/collection/components/card-manager/card-manager.js +71 -17
- package/dist/collection/components/consent-manager/consent-manager.js +52 -12
- package/dist/collection/components/create-feature/create-feature.js +68 -16
- package/dist/collection/components/create-related-feature/create-related-feature.js +44 -10
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +245 -58
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +211 -52
- package/dist/collection/components/delete-button/delete-button.js +55 -13
- package/dist/collection/components/delete-dialog/delete-dialog.js +35 -8
- package/dist/collection/components/edit-card/edit-card.js +43 -10
- package/dist/collection/components/feature-details/feature-details.js +70 -17
- package/dist/collection/components/feature-list/feature-list.js +91 -22
- package/dist/collection/components/floor-filter/floor-filter.js +19 -5
- package/dist/collection/components/info-card/info-card.js +77 -18
- package/dist/collection/components/json-editor/json-editor.js +28 -7
- package/dist/collection/components/layer-list/layer-list.js +50 -12
- package/dist/collection/components/layer-table/layer-table.js +171 -41
- package/dist/collection/components/map-card/map-card.js +182 -43
- package/dist/collection/components/map-draw-tools/map-draw-tools.js +66 -15
- package/dist/collection/components/map-fullscreen/map-fullscreen.js +18 -4
- package/dist/collection/components/map-layer-picker/map-layer-picker.js +108 -25
- package/dist/collection/components/map-legend/map-legend.js +15 -4
- package/dist/collection/components/map-picker/map-picker.js +35 -8
- package/dist/collection/components/map-search/map-search.js +35 -8
- package/dist/collection/components/map-select-tools/map-select-tools.js +138 -32
- package/dist/collection/components/map-tools/map-tools.js +115 -27
- package/dist/collection/components/pci-calculator/pci-calculator.js +14 -3
- package/dist/collection/components/pdf-download/pdf-download.js +27 -6
- package/dist/collection/components/public-notification/public-notification.js +189 -41
- package/dist/collection/components/refine-selection/refine-selection.js +59 -13
- package/dist/collection/components/solution-configuration/solution-configuration.js +48 -13
- package/dist/collection/components/solution-contents/solution-contents.js +13 -4
- package/dist/collection/components/solution-item/solution-item.js +36 -9
- package/dist/collection/components/solution-item-accordion/solution-item-accordion.css +0 -4
- package/dist/collection/components/solution-item-accordion/solution-item-accordion.js +36 -8
- package/dist/collection/components/solution-item-details/solution-item-details.js +35 -16
- package/dist/collection/components/solution-item-icon/solution-item-icon.js +17 -5
- package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +27 -6
- package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +24 -6
- package/dist/collection/components/solution-resource-item/solution-resource-item.js +36 -8
- package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +31 -7
- package/dist/collection/components/solution-template-data/solution-template-data.js +49 -8
- package/dist/collection/components/solution-variables/solution-variables.js +24 -6
- package/dist/collection/components/spatial-ref/spatial-ref.js +43 -8
- package/dist/collection/components/store-manager/store-manager.js +18 -5
- package/dist/collection/vendor/calcite-components/2BGOXXHV.js +4 -0
- package/dist/collection/vendor/calcite-components/2EBGD5ZQ.js +4 -0
- package/dist/collection/vendor/calcite-components/2HEEVITF.js +4 -0
- package/dist/collection/vendor/calcite-components/2QBRISAS.js +4 -0
- package/dist/collection/vendor/calcite-components/2SKIGCTJ.js +4 -0
- package/dist/collection/vendor/calcite-components/2ZPEMPPG.js +4 -0
- package/dist/collection/vendor/calcite-components/36DTW2EC.js +4 -0
- package/dist/collection/vendor/calcite-components/36E6CTNX.js +4 -0
- package/dist/collection/vendor/calcite-components/36HITQ3A.js +4 -0
- package/dist/collection/vendor/calcite-components/3FJPBCHI.js +4 -0
- package/dist/collection/vendor/calcite-components/3TINKPLC.js +4 -0
- package/dist/collection/vendor/calcite-components/3TXD2SW4.js +4 -0
- package/dist/collection/vendor/calcite-components/43C4CZJO.js +4 -0
- package/dist/collection/vendor/calcite-components/44DZGTF5.js +4 -0
- package/dist/collection/vendor/calcite-components/4IWRJJPT.js +4 -0
- package/dist/collection/vendor/calcite-components/4L6L5YMT.js +4 -0
- package/dist/collection/vendor/calcite-components/4NZHY4FQ.js +4 -0
- package/dist/collection/vendor/calcite-components/4OSJHPNQ.js +4 -0
- package/dist/collection/vendor/calcite-components/4ZNEZOAP.js +4 -0
- package/dist/collection/vendor/calcite-components/4ZTXEQT4.js +4 -0
- package/dist/collection/vendor/calcite-components/57U74PDQ.js +4 -0
- package/dist/collection/vendor/calcite-components/5BEKT6RT.js +4 -0
- package/dist/collection/vendor/calcite-components/5JAMHCQS.js +6 -0
- package/dist/collection/vendor/calcite-components/5UP5TQJN.js +4 -0
- package/dist/collection/vendor/calcite-components/5VK77MGP.js +4 -0
- package/dist/collection/vendor/calcite-components/5ZFIOILW.js +4 -0
- package/dist/collection/vendor/calcite-components/62G23PKY.js +4 -0
- package/dist/collection/vendor/calcite-components/6A464LBG.js +4 -0
- package/dist/collection/vendor/calcite-components/6KXUZBIZ.js +4 -0
- package/dist/collection/vendor/calcite-components/6OCJIDQZ.js +4 -0
- package/dist/collection/vendor/calcite-components/6PBZNCIY.js +4 -0
- package/dist/collection/vendor/calcite-components/6SREDGMN.js +4 -0
- package/dist/collection/vendor/calcite-components/73K4GSAV.js +4 -0
- package/dist/collection/vendor/calcite-components/757M5TSP.js +5 -0
- package/dist/collection/vendor/calcite-components/7F6EUEAO.js +4 -0
- package/dist/collection/vendor/calcite-components/7GOGBJPD.js +4 -0
- package/dist/collection/vendor/calcite-components/7PLD33LH.js +4 -0
- package/dist/collection/vendor/calcite-components/7TNMI44V.js +4 -0
- package/dist/collection/vendor/calcite-components/7VZFYJY5.js +4 -0
- package/dist/collection/vendor/calcite-components/7XZR3QPX.js +4 -0
- package/dist/collection/vendor/calcite-components/A3M4FM7N.js +4 -0
- package/dist/collection/vendor/calcite-components/A5WZ32T6.js +4 -0
- package/dist/collection/vendor/calcite-components/A6H6UTO7.js +4 -0
- package/dist/collection/vendor/calcite-components/AA6WUYLQ.js +4 -0
- package/dist/collection/vendor/calcite-components/ADRZSXZD.js +4 -0
- package/dist/collection/vendor/calcite-components/AKXBPGJ4.js +4 -0
- package/dist/collection/vendor/calcite-components/ALGCYGFE.js +4 -0
- package/dist/collection/vendor/calcite-components/B3YKMJGM.js +4 -0
- package/dist/collection/vendor/calcite-components/B6DZ4O5H.js +4 -0
- package/dist/collection/vendor/calcite-components/B747CT5Q.js +5 -0
- package/dist/collection/vendor/calcite-components/BAHKYVUM.js +4 -0
- package/dist/collection/vendor/calcite-components/BTHSKXWS.js +4 -0
- package/dist/collection/vendor/calcite-components/BWCV737I.js +4 -0
- package/dist/collection/vendor/calcite-components/BZV465ZG.js +4 -0
- package/dist/collection/vendor/calcite-components/C4A2PCZ4.js +4 -0
- package/dist/collection/vendor/calcite-components/C5MKAGNV.js +4 -0
- package/dist/collection/vendor/calcite-components/CK3TASCY.js +4 -0
- package/dist/collection/vendor/calcite-components/D2MINRBA.js +4 -0
- package/dist/collection/vendor/calcite-components/DDOM5RYZ.js +4 -0
- package/dist/collection/vendor/calcite-components/DJ4JGNMM.js +4 -0
- package/dist/collection/vendor/calcite-components/DL75ZJBG.js +4 -0
- package/dist/collection/vendor/calcite-components/DO4RITGJ.js +4 -0
- package/dist/collection/vendor/calcite-components/DSL2FNLA.js +4 -0
- package/dist/collection/vendor/calcite-components/DTEHSI7W.js +4 -0
- package/dist/collection/vendor/calcite-components/DUTPXINY.js +4 -0
- package/dist/collection/vendor/calcite-components/DY22I2GZ.js +4 -0
- package/dist/collection/vendor/calcite-components/DYN74HSB.js +4 -0
- package/dist/collection/vendor/calcite-components/E3CWAGXE.js +4 -0
- package/dist/collection/vendor/calcite-components/E3QBKOQQ.js +4 -0
- package/dist/collection/vendor/calcite-components/EBFZRB3A.js +4 -0
- package/dist/collection/vendor/calcite-components/ECGXAEDQ.js +4 -0
- package/dist/collection/vendor/calcite-components/EGC7NBN5.js +4 -0
- package/dist/collection/vendor/calcite-components/EILXZAAH.js +4 -0
- package/dist/collection/vendor/calcite-components/EISHHIYI.js +4 -0
- package/dist/collection/vendor/calcite-components/EN6Y5YN5.js +4 -0
- package/dist/collection/vendor/calcite-components/ERDL4UCD.js +4 -0
- package/dist/collection/vendor/calcite-components/EYPFBUR7.js +4 -0
- package/dist/collection/vendor/calcite-components/F6DYUGAJ.js +4 -0
- package/dist/collection/vendor/calcite-components/FAQ7B73H.js +4 -0
- package/dist/collection/vendor/calcite-components/FAULLEJY.js +4 -0
- package/dist/collection/vendor/calcite-components/FH7G4JPL.js +28 -0
- package/dist/collection/vendor/calcite-components/FHAH57CK.js +4 -0
- package/dist/collection/vendor/calcite-components/FHGZNYTT.js +4 -0
- package/dist/collection/vendor/calcite-components/FLXOWNYW.js +4 -0
- package/dist/collection/vendor/calcite-components/FVABUFOH.js +4 -0
- package/dist/collection/vendor/calcite-components/G2JF63JV.js +4 -0
- package/dist/collection/vendor/calcite-components/G63OZT6W.js +4 -0
- package/dist/collection/vendor/calcite-components/GESC7PRY.js +4 -0
- package/dist/collection/vendor/calcite-components/GIAH7CPN.js +4 -0
- package/dist/collection/vendor/calcite-components/GNZIY4A2.js +4 -0
- package/dist/collection/vendor/calcite-components/GPNKRGK6.js +4 -0
- package/dist/collection/vendor/calcite-components/GSUR5POR.js +4 -0
- package/dist/collection/vendor/calcite-components/GY22257T.js +4 -0
- package/dist/collection/vendor/calcite-components/H2PEX7CU.js +4 -0
- package/dist/collection/vendor/calcite-components/H2UMFA24.js +4 -0
- package/dist/collection/vendor/calcite-components/H7D6N2ZS.js +4 -0
- package/dist/collection/vendor/calcite-components/HALAA7KD.js +4 -0
- package/dist/collection/vendor/calcite-components/HHC7VSD3.js +4 -0
- package/dist/collection/vendor/calcite-components/HNGJKPNS.js +4 -0
- package/dist/collection/vendor/calcite-components/HQLH54Q4.js +4 -0
- package/dist/collection/vendor/calcite-components/HZLG5SUR.js +4 -0
- package/dist/collection/vendor/calcite-components/HZUKYZNP.js +4 -0
- package/dist/collection/vendor/calcite-components/IHBCPOXF.js +4 -0
- package/dist/collection/vendor/calcite-components/IIERNP6W.js +4 -0
- package/dist/collection/vendor/calcite-components/ILJVRQHM.js +4 -0
- package/dist/collection/vendor/calcite-components/IQTGVLQG.js +4 -0
- package/dist/collection/vendor/calcite-components/IRW4MFB4.js +4 -0
- package/dist/collection/vendor/calcite-components/J4KGM5S7.js +5 -0
- package/dist/collection/vendor/calcite-components/JCQBVDTR.js +4 -0
- package/dist/collection/vendor/calcite-components/JCZIZMKQ.js +4 -0
- package/dist/collection/vendor/calcite-components/JE5DGAJR.js +4 -0
- package/dist/collection/vendor/calcite-components/JL7OLH3T.js +4 -0
- package/dist/collection/vendor/calcite-components/JTWLPIB2.js +4 -0
- package/dist/collection/vendor/calcite-components/K53JENHF.js +4 -0
- package/dist/collection/vendor/calcite-components/K5ODBKLP.js +4 -0
- package/dist/collection/vendor/calcite-components/KC4IYMUL.js +4 -0
- package/dist/collection/vendor/calcite-components/KE7WVOAV.js +4 -0
- package/dist/collection/vendor/calcite-components/KGJ4OJVP.js +4 -0
- package/dist/collection/vendor/calcite-components/KI2CJ7JL.js +4 -0
- package/dist/collection/vendor/calcite-components/KNE7ABCR.js +4 -0
- package/dist/collection/vendor/calcite-components/KOFGYSC5.js +4 -0
- package/dist/collection/vendor/calcite-components/KOH6G4XV.js +4 -0
- package/dist/collection/vendor/calcite-components/KRO7CG2Q.js +4 -0
- package/dist/collection/vendor/calcite-components/KRZW2DWF.js +4 -0
- package/dist/collection/vendor/calcite-components/KSFXKRML.js +4 -0
- package/dist/collection/vendor/calcite-components/KTJZCONU.js +4 -0
- package/dist/collection/vendor/calcite-components/KXJRCIPX.js +4 -0
- package/dist/collection/vendor/calcite-components/L5DK3NJQ.js +4 -0
- package/dist/collection/vendor/calcite-components/LEAJPPH4.js +4 -0
- package/dist/collection/vendor/calcite-components/LKNGKUUT.js +4 -0
- package/dist/collection/vendor/calcite-components/LLYFYC3S.js +4 -0
- package/dist/collection/vendor/calcite-components/LLYVXFI4.js +4 -0
- package/dist/collection/vendor/calcite-components/LMPMNF4U.js +4 -0
- package/dist/collection/vendor/calcite-components/LNUDHR7T.js +4 -0
- package/dist/collection/vendor/calcite-components/LRXQU7WR.js +4 -0
- package/dist/collection/vendor/calcite-components/MDS5OEJ4.js +4 -0
- package/dist/collection/vendor/calcite-components/MEXPAXRW.js +4 -0
- package/dist/collection/vendor/calcite-components/MI3K57KT.js +4 -0
- package/dist/collection/vendor/calcite-components/MIOMFK6B.js +4 -0
- package/dist/collection/vendor/calcite-components/MJII73PP.js +4 -0
- package/dist/collection/vendor/calcite-components/MJIKLRLZ.js +4 -0
- package/dist/collection/vendor/calcite-components/MQSDYLGW.js +4 -0
- package/dist/collection/vendor/calcite-components/MWJLXQ5U.js +4 -0
- package/dist/collection/vendor/calcite-components/N2PDJVSE.js +4 -0
- package/dist/collection/vendor/calcite-components/NERFG233.js +4 -0
- package/dist/collection/vendor/calcite-components/NIUBMFXO.js +4 -0
- package/dist/collection/vendor/calcite-components/NK25FAZ6.js +4 -0
- package/dist/collection/vendor/calcite-components/NK4ED4IH.js +5 -0
- package/dist/collection/vendor/calcite-components/NOJTDKA6.js +4 -0
- package/dist/collection/vendor/calcite-components/NUY7EYNX.js +4 -0
- package/dist/collection/vendor/calcite-components/NWA7UYBI.js +4 -0
- package/dist/collection/vendor/calcite-components/NWNWCSUO.js +4 -0
- package/dist/collection/vendor/calcite-components/NYJ2KJKN.js +4 -0
- package/dist/collection/vendor/calcite-components/O6RKIBH2.js +4 -0
- package/dist/collection/vendor/calcite-components/OP2QHRHR.js +4 -0
- package/dist/collection/vendor/calcite-components/P5ZVYEQW.js +4 -0
- package/dist/collection/vendor/calcite-components/P6BFNJVU.js +4 -0
- package/dist/collection/vendor/calcite-components/P6VB45CQ.js +4 -0
- package/dist/collection/vendor/calcite-components/PNTWJB75.js +4 -0
- package/dist/collection/vendor/calcite-components/PTUZR2XV.js +4 -0
- package/dist/collection/vendor/calcite-components/QBNHVQWS.js +4 -0
- package/dist/collection/vendor/calcite-components/QD6WQCPN.js +4 -0
- package/dist/collection/vendor/calcite-components/QEBXFL3K.js +4 -0
- package/dist/collection/vendor/calcite-components/QNRLRRZZ.js +4 -0
- package/dist/collection/vendor/calcite-components/QTGKBVAW.js +4 -0
- package/dist/collection/vendor/calcite-components/QVLHSABE.js +4 -0
- package/dist/collection/vendor/calcite-components/RATZT6K7.js +4 -0
- package/dist/collection/vendor/calcite-components/RAWIO5CJ.js +4 -0
- package/dist/collection/vendor/calcite-components/RC4M4Q6U.js +4 -0
- package/dist/collection/vendor/calcite-components/ROTKUEC4.js +4 -0
- package/dist/collection/vendor/calcite-components/RRR3UCDP.js +4 -0
- package/dist/collection/vendor/calcite-components/RXJQR5VC.js +4 -0
- package/dist/collection/vendor/calcite-components/RYBJ6HQX.js +4 -0
- package/dist/collection/vendor/calcite-components/S2CHZ5WW.js +4 -0
- package/dist/collection/vendor/calcite-components/S5QILLXK.js +4 -0
- package/dist/collection/vendor/calcite-components/S5WUGWLI.js +4 -0
- package/dist/collection/vendor/calcite-components/SLILJOTA.js +4 -0
- package/dist/collection/vendor/calcite-components/SZIQPAWB.js +4 -0
- package/dist/collection/vendor/calcite-components/T2EFD7MK.js +4 -0
- package/dist/collection/vendor/calcite-components/TJ6U6Y2A.js +4 -0
- package/dist/collection/vendor/calcite-components/TRXE64SN.js +4 -0
- package/dist/collection/vendor/calcite-components/TVXUNVVJ.js +4 -0
- package/dist/collection/vendor/calcite-components/TZPOTIWO.js +4 -0
- package/dist/collection/vendor/calcite-components/UKOMGWYV.js +4 -0
- package/dist/collection/vendor/calcite-components/ULI2WHN6.js +4 -0
- package/dist/collection/vendor/calcite-components/UPO2OA2C.js +4 -0
- package/dist/collection/vendor/calcite-components/V7QQRUYR.js +4 -0
- package/dist/collection/vendor/calcite-components/VA6SEF3H.js +4 -0
- package/dist/collection/vendor/calcite-components/VCGYS6AC.js +4 -0
- package/dist/collection/vendor/calcite-components/VHIVTMYL.js +22 -0
- package/dist/collection/vendor/calcite-components/VIFJTMJE.js +4 -0
- package/dist/collection/vendor/calcite-components/VKUXTBMA.js +4 -0
- package/dist/collection/vendor/calcite-components/VYBRMYZA.js +4 -0
- package/dist/collection/vendor/calcite-components/VYSYUSUT.js +4 -0
- package/dist/collection/vendor/calcite-components/WHQERKO3.js +4 -0
- package/dist/collection/vendor/calcite-components/WLKZ6TCC.js +4 -0
- package/dist/collection/vendor/calcite-components/WRRV2226.js +4 -0
- package/dist/collection/vendor/calcite-components/X5OT5VWP.js +4 -0
- package/dist/collection/vendor/calcite-components/X7WD2RXW.js +4 -0
- package/dist/collection/vendor/calcite-components/XGGCYCLU.js +4 -0
- package/dist/collection/vendor/calcite-components/XJUGTTYP.js +4 -0
- package/dist/collection/vendor/calcite-components/XK6ESUWM.js +4 -0
- package/dist/collection/vendor/calcite-components/XODNGXTR.js +4 -0
- package/dist/collection/vendor/calcite-components/XP22SQKN.js +4 -0
- package/dist/collection/vendor/calcite-components/XUCLKKAR.js +4 -0
- package/dist/collection/vendor/calcite-components/XWO5T62V.js +4 -0
- package/dist/collection/vendor/calcite-components/XY7DR573.js +4 -0
- package/dist/collection/vendor/calcite-components/Y4WWNYQO.js +4 -0
- package/dist/collection/vendor/calcite-components/YF3UCGCR.js +4 -0
- package/dist/collection/vendor/calcite-components/YH3WSHXS.js +4 -0
- package/dist/collection/vendor/calcite-components/YOI4NTGG.js +4 -0
- package/dist/collection/vendor/calcite-components/YP2GEKXK.js +4 -0
- package/dist/collection/vendor/calcite-components/YQDF2N5J.js +4 -0
- package/dist/collection/vendor/calcite-components/YRCGG4BE.js +4 -0
- package/dist/collection/vendor/calcite-components/YTSHEMU3.js +4 -0
- package/dist/collection/vendor/calcite-components/YUQIXR5A.js +4 -0
- package/dist/collection/vendor/calcite-components/ZAY3SU5H.js +4 -0
- package/dist/collection/vendor/calcite-components/ZFGK5MNZ.js +4 -0
- package/dist/collection/vendor/calcite-components/ZITAONDY.js +4 -0
- package/dist/collection/vendor/calcite-components/ZLW5U3G6.js +4 -0
- package/dist/collection/vendor/calcite-components/ZNMXPSOQ.js +4 -0
- package/dist/collection/vendor/calcite-components/ZSLV2NNR.js +4 -0
- package/dist/collection/vendor/calcite-components/assets/icon/crosshair16.json +1 -0
- package/dist/collection/vendor/calcite-components/assets/icon/crosshair24.json +1 -0
- package/dist/collection/vendor/calcite-components/assets/icon/crosshair32.json +1 -0
- package/dist/collection/vendor/calcite-components/assets/icon/utilityNetworkLayer16.json +1 -0
- package/dist/collection/vendor/calcite-components/assets/icon/utilityNetworkLayer24.json +1 -0
- package/dist/collection/vendor/calcite-components/assets/icon/utilityNetworkLayer32.json +1 -0
- package/dist/collection/vendor/calcite-components/calcite.esm.js +4 -6
- package/dist/components/basemap-gallery2.js +19 -3
- package/dist/components/buffer-tools2.js +52 -11
- package/dist/components/card-manager2.js +71 -15
- package/dist/components/consent-manager.js +52 -10
- package/dist/components/create-feature2.js +68 -14
- package/dist/components/create-related-feature2.js +44 -8
- package/dist/components/crowdsource-manager.js +245 -56
- package/dist/components/crowdsource-reporter.js +211 -50
- package/dist/components/delete-button2.js +55 -11
- package/dist/components/delete-dialog2.js +35 -6
- package/dist/components/edit-card2.js +43 -8
- package/dist/components/feature-details2.js +70 -15
- package/dist/components/feature-list2.js +91 -20
- package/dist/components/floor-filter2.js +19 -3
- package/dist/components/index.es.js +6 -5
- package/dist/components/info-card2.js +77 -16
- package/dist/components/instant-apps-keyboard-shortcuts.js +17 -17
- package/dist/components/instant-apps-language-switcher.js +815 -9
- package/dist/components/instant-apps-language-translator2.js +1 -1
- package/dist/components/json-editor2.js +28 -5
- package/dist/components/layer-list2.js +50 -10
- package/dist/components/layer-table2.js +171 -39
- package/dist/components/loadModules2.js +1 -1
- package/dist/components/map-card2.js +182 -41
- package/dist/components/map-draw-tools2.js +66 -13
- package/dist/components/map-fullscreen2.js +18 -2
- package/dist/components/map-layer-picker2.js +108 -23
- package/dist/components/map-legend2.js +15 -2
- package/dist/components/map-picker2.js +35 -6
- package/dist/components/map-search2.js +35 -6
- package/dist/components/map-select-tools2.js +138 -30
- package/dist/components/map-tools2.js +115 -25
- package/dist/components/pci-calculator.js +14 -1
- package/dist/components/pdf-download2.js +27 -4
- package/dist/components/public-notification.js +189 -39
- package/dist/components/refine-selection2.js +59 -11
- package/dist/components/solution-configuration.js +48 -13
- package/dist/components/solution-contents2.js +13 -2
- package/dist/components/solution-item-accordion.js +37 -7
- package/dist/components/solution-item-details2.js +35 -14
- package/dist/components/solution-item-icon2.js +17 -3
- package/dist/components/solution-item-sharing2.js +27 -4
- package/dist/components/solution-item2.js +36 -7
- package/dist/components/solution-organization-variables2.js +24 -4
- package/dist/components/solution-resource-item2.js +36 -6
- package/dist/components/solution-spatial-ref2.js +31 -5
- package/dist/components/solution-template-data2.js +49 -8
- package/dist/components/solution-variables2.js +24 -4
- package/dist/components/spatial-ref.js +43 -8
- package/dist/components/store-manager.js +18 -3
- package/dist/esm/basemap-gallery_7.entry.js +258 -49
- package/dist/esm/buffer-tools_2.entry.js +122 -28
- package/dist/esm/card-manager_3.entry.js +427 -98
- package/dist/esm/consent-manager.entry.js +54 -12
- package/dist/esm/create-feature_4.entry.js +247 -53
- package/dist/esm/create-related-feature_3.entry.js +166 -35
- package/dist/esm/crowdsource-manager.entry.js +247 -58
- package/dist/esm/crowdsource-reporter.entry.js +213 -52
- package/dist/esm/deduct-calculator.entry.js +1 -1
- package/dist/esm/delete-dialog.entry.js +37 -8
- package/dist/esm/downloadUtils-3f4d34a4.js +3217 -0
- package/dist/esm/effects-38bc1195.js +81 -0
- package/dist/esm/feature-list.entry.js +95 -24
- package/dist/esm/helpers-5df33e11.js +841 -0
- package/dist/esm/index-000c7a7c.js +1870 -0
- package/dist/esm/index-f7533fcc.js +199 -0
- package/dist/esm/index.es-87662946.js +11108 -0
- package/dist/esm/instant-apps-app-guide.entry.js +3 -3
- package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +5 -5
- package/dist/esm/instant-apps-control-panel.entry.js +2 -2
- package/dist/esm/instant-apps-create.entry.js +3 -3
- package/dist/esm/instant-apps-export-views.entry.js +3 -3
- package/dist/esm/instant-apps-export.entry.js +3 -3
- package/dist/esm/instant-apps-filter-list_2.entry.js +3 -3
- package/dist/esm/instant-apps-header.entry.js +1 -1
- package/dist/esm/instant-apps-interactive-legend-classic.entry.js +5 -5
- package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +5 -5
- package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +5 -5
- package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +5 -5
- package/dist/esm/instant-apps-interactive-legend.entry.js +6 -6
- package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +20 -20
- package/dist/esm/instant-apps-landing-page.entry.js +1 -1
- package/dist/esm/instant-apps-language-switcher.entry.js +820 -14
- package/dist/esm/instant-apps-language-translator.entry.js +813 -6
- package/dist/esm/instant-apps-measurement-tool.entry.js +2 -2
- package/dist/esm/instant-apps-measurement.entry.js +3 -3
- package/dist/esm/instant-apps-popover.entry.js +3 -3
- package/dist/esm/instant-apps-popovers.entry.js +1 -1
- package/dist/esm/instant-apps-scoreboard.entry.js +3 -3
- package/dist/esm/instant-apps-sign-in.entry.js +3 -3
- package/dist/esm/instant-apps-splash.entry.js +3 -3
- package/dist/esm/instant-apps-time-filter.entry.js +5 -5
- package/dist/esm/json-editor_7.entry.js +227 -49
- package/dist/esm/languageSwitcher-49bad3f4.js +49 -0
- package/dist/esm/loadModules-947ccfd4.js +21 -0
- package/dist/esm/loader.js +2 -2
- package/dist/esm/locale-857bb2e4.js +938 -0
- package/dist/esm/locale-fd7f8659.js +155 -0
- package/dist/esm/map-layer-picker.entry.js +112 -27
- package/dist/esm/map-select-tools_3.entry.js +229 -50
- package/dist/esm/pci-calculator.entry.js +15 -2
- package/dist/esm/popupUtils-43fafc2f.js +119 -0
- package/dist/esm/public-notification.entry.js +194 -44
- package/dist/esm/publicNotificationStore-e5306ea6.js +45 -0
- package/dist/esm/solution-configuration.entry.js +52 -17
- package/dist/esm/solution-contents_3.entry.js +84 -18
- package/dist/esm/solution-item-accordion.entry.js +39 -9
- package/dist/esm/solution-item-icon.entry.js +18 -4
- package/dist/esm/solution-store-26e3d8c6.js +1103 -0
- package/dist/esm/solutions-components.js +3 -3
- package/dist/esm/spatial-ref.entry.js +45 -10
- package/dist/esm/store-manager.entry.js +21 -6
- package/dist/esm/utils-ebba7c2e.js +142 -0
- package/dist/solutions-components/p-056d4371.entry.js +6 -0
- package/dist/solutions-components/p-0592d206.entry.js +6 -0
- package/dist/solutions-components/p-075979ef.js +36 -0
- package/dist/solutions-components/p-08ad0b7a.js +6 -0
- package/dist/solutions-components/p-0b974e3c.entry.js +6 -0
- package/dist/solutions-components/p-0db26b05.entry.js +6 -0
- package/dist/solutions-components/p-1309ac58.js +129 -0
- package/dist/solutions-components/p-174fa218.js +6 -0
- package/dist/solutions-components/p-193034c9.entry.js +6 -0
- package/dist/solutions-components/p-1a1791ae.entry.js +21 -0
- package/dist/solutions-components/p-1b6461c5.entry.js +6 -0
- package/dist/solutions-components/p-1e57a3bd.entry.js +6 -0
- package/dist/solutions-components/p-21b280a8.js +21 -0
- package/dist/solutions-components/p-2672ee69.entry.js +6 -0
- package/dist/solutions-components/p-2937baee.js +6 -0
- package/dist/solutions-components/p-3c1c2ca5.entry.js +11 -0
- package/dist/solutions-components/p-3d7eeb2d.js +488 -0
- package/dist/solutions-components/p-3de6e5d8.entry.js +6 -0
- package/dist/solutions-components/p-40578f4b.entry.js +6 -0
- package/dist/solutions-components/p-48fcfd06.entry.js +6 -0
- package/dist/solutions-components/p-4db43d2c.entry.js +6 -0
- package/dist/solutions-components/p-4e34c101.entry.js +6 -0
- package/dist/solutions-components/p-4f683af6.entry.js +6 -0
- package/dist/solutions-components/p-529325da.entry.js +6 -0
- package/dist/solutions-components/p-5c05f28a.entry.js +6 -0
- package/dist/solutions-components/p-5dfab24b.entry.js +6 -0
- package/dist/solutions-components/p-60bdf635.entry.js +6 -0
- package/dist/solutions-components/p-73ba31c4.entry.js +6 -0
- package/dist/solutions-components/p-7c958237.entry.js +6 -0
- package/dist/solutions-components/p-8169d4af.entry.js +6 -0
- package/dist/solutions-components/p-89cae891.entry.js +6 -0
- package/dist/solutions-components/p-89fbc318.js +6 -0
- package/dist/solutions-components/p-8c40bdec.js +7 -0
- package/dist/solutions-components/p-a5069229.entry.js +6 -0
- package/dist/solutions-components/p-a5073249.entry.js +6 -0
- package/dist/solutions-components/p-a5c51211.entry.js +6 -0
- package/dist/solutions-components/p-a940dc0c.entry.js +6 -0
- package/dist/solutions-components/p-b6422554.entry.js +6 -0
- package/dist/solutions-components/p-b67ff61f.entry.js +6 -0
- package/dist/solutions-components/p-b711a822.entry.js +6 -0
- package/dist/solutions-components/p-bf007c87.js +21 -0
- package/dist/solutions-components/p-c19c273f.entry.js +6 -0
- package/dist/solutions-components/p-c223bd87.js +6 -0
- package/dist/solutions-components/p-c25ebd5a.entry.js +6 -0
- package/dist/solutions-components/p-c63ce830.entry.js +6 -0
- package/dist/solutions-components/p-c691c1d1.entry.js +6 -0
- package/dist/solutions-components/p-c9e111d7.entry.js +6 -0
- package/dist/solutions-components/p-cc3e637d.entry.js +6 -0
- package/dist/solutions-components/p-d1d8e331.entry.js +6 -0
- package/dist/solutions-components/p-dc188d13.js +61 -0
- package/dist/solutions-components/p-ded33011.entry.js +6 -0
- package/dist/solutions-components/p-e133f9b2.entry.js +6 -0
- package/dist/solutions-components/p-e16bb956.entry.js +6 -0
- package/dist/solutions-components/p-e6158877.entry.js +6 -0
- package/dist/solutions-components/p-ea19f91b.js +6 -0
- package/dist/solutions-components/p-f1faec42.entry.js +6 -0
- package/dist/solutions-components/p-f24d6b3e.entry.js +6 -0
- package/dist/solutions-components/p-f71dc88a.entry.js +21 -0
- package/dist/solutions-components/p-f7c10b7f.entry.js +6 -0
- package/dist/solutions-components/p-fa639501.js +6 -0
- package/dist/solutions-components/p-fb4dfcbe.entry.js +6 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/vendor/calcite-components/2BGOXXHV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2EBGD5ZQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2HEEVITF.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2QBRISAS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2SKIGCTJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2ZPEMPPG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/36DTW2EC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/36E6CTNX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/36HITQ3A.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3FJPBCHI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3TINKPLC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3TXD2SW4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/43C4CZJO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/44DZGTF5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4IWRJJPT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4L6L5YMT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4NZHY4FQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4OSJHPNQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4ZNEZOAP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4ZTXEQT4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/57U74PDQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5BEKT6RT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5JAMHCQS.js +6 -0
- package/dist/solutions-components/vendor/calcite-components/5UP5TQJN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5VK77MGP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5ZFIOILW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/62G23PKY.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6A464LBG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6KXUZBIZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6OCJIDQZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6PBZNCIY.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6SREDGMN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/73K4GSAV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/757M5TSP.js +5 -0
- package/dist/solutions-components/vendor/calcite-components/7F6EUEAO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7GOGBJPD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7PLD33LH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7TNMI44V.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7VZFYJY5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7XZR3QPX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/A3M4FM7N.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/A5WZ32T6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/A6H6UTO7.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/AA6WUYLQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ADRZSXZD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/AKXBPGJ4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ALGCYGFE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/B3YKMJGM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/B6DZ4O5H.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/B747CT5Q.js +5 -0
- package/dist/solutions-components/vendor/calcite-components/BAHKYVUM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/BTHSKXWS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/BWCV737I.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/BZV465ZG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/C4A2PCZ4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/C5MKAGNV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/CK3TASCY.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/D2MINRBA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DDOM5RYZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DJ4JGNMM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DL75ZJBG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DO4RITGJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DSL2FNLA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DTEHSI7W.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DUTPXINY.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DY22I2GZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DYN74HSB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/E3CWAGXE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/E3QBKOQQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EBFZRB3A.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ECGXAEDQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EGC7NBN5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EILXZAAH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EISHHIYI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EN6Y5YN5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ERDL4UCD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EYPFBUR7.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/F6DYUGAJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FAQ7B73H.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FAULLEJY.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FH7G4JPL.js +28 -0
- package/dist/solutions-components/vendor/calcite-components/FHAH57CK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FHGZNYTT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FLXOWNYW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FVABUFOH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/G2JF63JV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/G63OZT6W.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GESC7PRY.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GIAH7CPN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GNZIY4A2.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GPNKRGK6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GSUR5POR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GY22257T.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/H2PEX7CU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/H2UMFA24.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/H7D6N2ZS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HALAA7KD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HHC7VSD3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HNGJKPNS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HQLH54Q4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HZLG5SUR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HZUKYZNP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/IHBCPOXF.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/IIERNP6W.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ILJVRQHM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/IQTGVLQG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/IRW4MFB4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/J4KGM5S7.js +5 -0
- package/dist/solutions-components/vendor/calcite-components/JCQBVDTR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JCZIZMKQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JE5DGAJR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JL7OLH3T.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JTWLPIB2.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/K53JENHF.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/K5ODBKLP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KC4IYMUL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KE7WVOAV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KGJ4OJVP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KI2CJ7JL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KNE7ABCR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KOFGYSC5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KOH6G4XV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KRO7CG2Q.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KRZW2DWF.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KSFXKRML.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KTJZCONU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KXJRCIPX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/L5DK3NJQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LEAJPPH4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LKNGKUUT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LLYFYC3S.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LLYVXFI4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LMPMNF4U.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LNUDHR7T.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LRXQU7WR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MDS5OEJ4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MEXPAXRW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MI3K57KT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MIOMFK6B.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MJII73PP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MJIKLRLZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MQSDYLGW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MWJLXQ5U.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/N2PDJVSE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NERFG233.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NIUBMFXO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NK25FAZ6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NK4ED4IH.js +5 -0
- package/dist/solutions-components/vendor/calcite-components/NOJTDKA6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NUY7EYNX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NWA7UYBI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NWNWCSUO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NYJ2KJKN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/O6RKIBH2.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/OP2QHRHR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/P5ZVYEQW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/P6BFNJVU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/P6VB45CQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/PNTWJB75.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/PTUZR2XV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QBNHVQWS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QD6WQCPN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QEBXFL3K.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QNRLRRZZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QTGKBVAW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QVLHSABE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RATZT6K7.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RAWIO5CJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RC4M4Q6U.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ROTKUEC4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RRR3UCDP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RXJQR5VC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RYBJ6HQX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/S2CHZ5WW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/S5QILLXK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/S5WUGWLI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SLILJOTA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SZIQPAWB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/T2EFD7MK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/TJ6U6Y2A.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/TRXE64SN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/TVXUNVVJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/TZPOTIWO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/UKOMGWYV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ULI2WHN6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/UPO2OA2C.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/V7QQRUYR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VA6SEF3H.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VCGYS6AC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VHIVTMYL.js +22 -0
- package/dist/solutions-components/vendor/calcite-components/VIFJTMJE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VKUXTBMA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VYBRMYZA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VYSYUSUT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WHQERKO3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WLKZ6TCC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WRRV2226.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/X5OT5VWP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/X7WD2RXW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XGGCYCLU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XJUGTTYP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XK6ESUWM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XODNGXTR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XP22SQKN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XUCLKKAR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XWO5T62V.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XY7DR573.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/Y4WWNYQO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YF3UCGCR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YH3WSHXS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YOI4NTGG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YP2GEKXK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YQDF2N5J.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YRCGG4BE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YTSHEMU3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YUQIXR5A.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZAY3SU5H.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZFGK5MNZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZITAONDY.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZLW5U3G6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZNMXPSOQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZSLV2NNR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/assets/icon/crosshair16.json +1 -0
- package/dist/solutions-components/vendor/calcite-components/assets/icon/crosshair24.json +1 -0
- package/dist/solutions-components/vendor/calcite-components/assets/icon/crosshair32.json +1 -0
- package/dist/solutions-components/vendor/calcite-components/assets/icon/utilityNetworkLayer16.json +1 -0
- package/dist/solutions-components/vendor/calcite-components/assets/icon/utilityNetworkLayer24.json +1 -0
- package/dist/solutions-components/vendor/calcite-components/assets/icon/utilityNetworkLayer32.json +1 -0
- package/dist/solutions-components/vendor/calcite-components/calcite.esm.js +4 -6
- package/dist/solutions-components_commit.txt +6 -6
- package/package.json +2 -2
- package/dist/cjs/constants-bed33322.js +0 -860
- package/dist/cjs/downloadUtils-9ce90176.js +0 -3223
- package/dist/cjs/effects-fdd163a9.js +0 -83
- package/dist/cjs/helpers-6a222aa7.js +0 -867
- package/dist/cjs/index-af14245a.js +0 -1828
- package/dist/cjs/index-ffd12cb0.js +0 -201
- package/dist/cjs/index.es-6549e26a.js +0 -11194
- package/dist/cjs/loadModules-df8b13ca.js +0 -23
- package/dist/cjs/locale-1c60be9c.js +0 -160
- package/dist/cjs/locale-2dd3020a.js +0 -943
- package/dist/cjs/popupUtils-93b14f86.js +0 -121
- package/dist/cjs/publicNotificationStore-beb782de.js +0 -47
- package/dist/cjs/solution-store-3cf25b71.js +0 -1105
- package/dist/cjs/utils-53383d03.js +0 -153
- package/dist/collection/vendor/calcite-components/2OHLWTVV.js +0 -6
- package/dist/collection/vendor/calcite-components/2YNPAPXX.js +0 -6
- package/dist/collection/vendor/calcite-components/3MV46GBB.js +0 -6
- package/dist/collection/vendor/calcite-components/3OQ2ZMWE.js +0 -6
- package/dist/collection/vendor/calcite-components/3VYZVKRG.js +0 -6
- package/dist/collection/vendor/calcite-components/3YAQ3WXL.js +0 -6
- package/dist/collection/vendor/calcite-components/3YMYDWGD.js +0 -6
- package/dist/collection/vendor/calcite-components/4BBHRHVO.js +0 -6
- package/dist/collection/vendor/calcite-components/4Y32YCMF.js +0 -6
- package/dist/collection/vendor/calcite-components/52M672S5.js +0 -6
- package/dist/collection/vendor/calcite-components/5DHYCNO3.js +0 -6
- package/dist/collection/vendor/calcite-components/5MCURGUM.js +0 -6
- package/dist/collection/vendor/calcite-components/5O6ZNC7G.js +0 -6
- package/dist/collection/vendor/calcite-components/5RROROO5.js +0 -6
- package/dist/collection/vendor/calcite-components/5WC57GPQ.js +0 -6
- package/dist/collection/vendor/calcite-components/5WSY45L7.js +0 -6
- package/dist/collection/vendor/calcite-components/5XKYFEBC.js +0 -6
- package/dist/collection/vendor/calcite-components/66KPC4YV.js +0 -6
- package/dist/collection/vendor/calcite-components/67MILQAM.js +0 -6
- package/dist/collection/vendor/calcite-components/67YJME3J.js +0 -7
- package/dist/collection/vendor/calcite-components/6BG6DXGU.js +0 -6
- package/dist/collection/vendor/calcite-components/6J7J7RFI.js +0 -6
- package/dist/collection/vendor/calcite-components/6KJHPKLM.js +0 -6
- package/dist/collection/vendor/calcite-components/6LBWQVLS.js +0 -6
- package/dist/collection/vendor/calcite-components/6LOB5NKS.js +0 -6
- package/dist/collection/vendor/calcite-components/74AHNYT6.js +0 -6
- package/dist/collection/vendor/calcite-components/75LS6AUK.js +0 -6
- package/dist/collection/vendor/calcite-components/7AC4OZRT.js +0 -6
- package/dist/collection/vendor/calcite-components/7CTQOYNN.js +0 -6
- package/dist/collection/vendor/calcite-components/7IMTQM3A.js +0 -6
- package/dist/collection/vendor/calcite-components/7NNFVP5Y.js +0 -6
- package/dist/collection/vendor/calcite-components/7PLH76D5.js +0 -6
- package/dist/collection/vendor/calcite-components/7SRUH72U.js +0 -6
- package/dist/collection/vendor/calcite-components/7WIMMB52.js +0 -6
- package/dist/collection/vendor/calcite-components/A3TZO3T4.js +0 -6
- package/dist/collection/vendor/calcite-components/A4JSLISH.js +0 -7
- package/dist/collection/vendor/calcite-components/A77L2PAE.js +0 -6
- package/dist/collection/vendor/calcite-components/AAJZVCOQ.js +0 -6
- package/dist/collection/vendor/calcite-components/AK7JTREX.js +0 -6
- package/dist/collection/vendor/calcite-components/APJDJGRX.js +0 -6
- package/dist/collection/vendor/calcite-components/B7XAXKYO.js +0 -6
- package/dist/collection/vendor/calcite-components/B7YRQCNE.js +0 -6
- package/dist/collection/vendor/calcite-components/BAAOO7UE.js +0 -6
- package/dist/collection/vendor/calcite-components/BKJX2UVI.js +0 -6
- package/dist/collection/vendor/calcite-components/BMTT77MQ.js +0 -6
- package/dist/collection/vendor/calcite-components/BMULWGQL.js +0 -6
- package/dist/collection/vendor/calcite-components/BOOD43TE.js +0 -6
- package/dist/collection/vendor/calcite-components/BT6BGDUQ.js +0 -6
- package/dist/collection/vendor/calcite-components/C4BI2I6X.js +0 -6
- package/dist/collection/vendor/calcite-components/CARSEP6Y.js +0 -6
- package/dist/collection/vendor/calcite-components/CARUWMRC.js +0 -6
- package/dist/collection/vendor/calcite-components/CGP5NAVZ.js +0 -6
- package/dist/collection/vendor/calcite-components/CHPU2ORW.js +0 -6
- package/dist/collection/vendor/calcite-components/CKCZ6NNQ.js +0 -6
- package/dist/collection/vendor/calcite-components/CLWQ573O.js +0 -6
- package/dist/collection/vendor/calcite-components/COVTDEEB.js +0 -6
- package/dist/collection/vendor/calcite-components/CSDMYGZU.js +0 -6
- package/dist/collection/vendor/calcite-components/CSR5Q44Q.js +0 -6
- package/dist/collection/vendor/calcite-components/CWDZ4NQP.js +0 -6
- package/dist/collection/vendor/calcite-components/D7V3NS2J.js +0 -6
- package/dist/collection/vendor/calcite-components/DHITRFFR.js +0 -6
- package/dist/collection/vendor/calcite-components/DL6GCZF7.js +0 -6
- package/dist/collection/vendor/calcite-components/DPLQUB7Z.js +0 -6
- package/dist/collection/vendor/calcite-components/DQWJPC22.js +0 -6
- package/dist/collection/vendor/calcite-components/DRM7BNH3.js +0 -6
- package/dist/collection/vendor/calcite-components/DWIP44NC.js +0 -6
- package/dist/collection/vendor/calcite-components/E3RER5S3.js +0 -6
- package/dist/collection/vendor/calcite-components/ECWNOIEW.js +0 -6
- package/dist/collection/vendor/calcite-components/EPKORG4B.js +0 -6
- package/dist/collection/vendor/calcite-components/ERE76CER.js +0 -6
- package/dist/collection/vendor/calcite-components/EU5GIDX7.js +0 -6
- package/dist/collection/vendor/calcite-components/FB6NATRQ.js +0 -6
- package/dist/collection/vendor/calcite-components/FHAIE7PW.js +0 -6
- package/dist/collection/vendor/calcite-components/FITCS5RA.js +0 -6
- package/dist/collection/vendor/calcite-components/FJUGYL5W.js +0 -6
- package/dist/collection/vendor/calcite-components/FP5CKCOM.js +0 -6
- package/dist/collection/vendor/calcite-components/FQ6G6HKC.js +0 -6
- package/dist/collection/vendor/calcite-components/FQTOWUOI.js +0 -6
- package/dist/collection/vendor/calcite-components/FSBJYIK7.js +0 -6
- package/dist/collection/vendor/calcite-components/FUR5QRYV.js +0 -6
- package/dist/collection/vendor/calcite-components/FV5F4TOB.js +0 -30
- package/dist/collection/vendor/calcite-components/GHRW2Z4J.js +0 -6
- package/dist/collection/vendor/calcite-components/GKLGNYAX.js +0 -6
- package/dist/collection/vendor/calcite-components/GRGOLBJ6.js +0 -6
- package/dist/collection/vendor/calcite-components/H2QNORW6.js +0 -6
- package/dist/collection/vendor/calcite-components/H6JENZS2.js +0 -6
- package/dist/collection/vendor/calcite-components/HE6ZJBOG.js +0 -6
- package/dist/collection/vendor/calcite-components/HEYQRNVV.js +0 -6
- package/dist/collection/vendor/calcite-components/HJ7LTJIL.js +0 -6
- package/dist/collection/vendor/calcite-components/HUXUCABV.js +0 -6
- package/dist/collection/vendor/calcite-components/HVG3FNW6.js +0 -6
- package/dist/collection/vendor/calcite-components/I5RDDH5E.js +0 -6
- package/dist/collection/vendor/calcite-components/IGLINVEB.js +0 -6
- package/dist/collection/vendor/calcite-components/IH6XHUKC.js +0 -6
- package/dist/collection/vendor/calcite-components/IN4OTIGO.js +0 -6
- package/dist/collection/vendor/calcite-components/IOQ5NGFA.js +0 -6
- package/dist/collection/vendor/calcite-components/ITIJ42U7.js +0 -6
- package/dist/collection/vendor/calcite-components/ITILALYC.js +0 -6
- package/dist/collection/vendor/calcite-components/J3NSY2Y7.js +0 -6
- package/dist/collection/vendor/calcite-components/J4RAJYKF.js +0 -6
- package/dist/collection/vendor/calcite-components/J6IGXQYQ.js +0 -6
- package/dist/collection/vendor/calcite-components/JA2ML5I6.js +0 -6
- package/dist/collection/vendor/calcite-components/JOTIQZAS.js +0 -6
- package/dist/collection/vendor/calcite-components/JULIKI65.js +0 -6
- package/dist/collection/vendor/calcite-components/JW6QBCWN.js +0 -6
- package/dist/collection/vendor/calcite-components/JWIQZFGO.js +0 -6
- package/dist/collection/vendor/calcite-components/K4HQ6WGE.js +0 -6
- package/dist/collection/vendor/calcite-components/K4OPLD7F.js +0 -6
- package/dist/collection/vendor/calcite-components/KHULIKKP.js +0 -7
- package/dist/collection/vendor/calcite-components/KRZMNBJS.js +0 -6
- package/dist/collection/vendor/calcite-components/LDAXCWWP.js +0 -6
- package/dist/collection/vendor/calcite-components/LMRFYM2J.js +0 -6
- package/dist/collection/vendor/calcite-components/LSUXEOMN.js +0 -6
- package/dist/collection/vendor/calcite-components/M5BOCCQL.js +0 -6
- package/dist/collection/vendor/calcite-components/M5XI6NNV.js +0 -6
- package/dist/collection/vendor/calcite-components/M7MOBM7M.js +0 -6
- package/dist/collection/vendor/calcite-components/MA2YIQZL.js +0 -6
- package/dist/collection/vendor/calcite-components/MBJAGWVS.js +0 -6
- package/dist/collection/vendor/calcite-components/MI3BWAKN.js +0 -6
- package/dist/collection/vendor/calcite-components/MOO4BCRV.js +0 -6
- package/dist/collection/vendor/calcite-components/MVHJMI6L.js +0 -6
- package/dist/collection/vendor/calcite-components/MZRLL3GR.js +0 -6
- package/dist/collection/vendor/calcite-components/N2FZGLE3.js +0 -6
- package/dist/collection/vendor/calcite-components/N2UM5A2L.js +0 -6
- package/dist/collection/vendor/calcite-components/NNL2N4OB.js +0 -6
- package/dist/collection/vendor/calcite-components/NP3SY2AL.js +0 -6
- package/dist/collection/vendor/calcite-components/NPYZ3JS7.js +0 -6
- package/dist/collection/vendor/calcite-components/NS47CSEP.js +0 -6
- package/dist/collection/vendor/calcite-components/NSL6XZ2B.js +0 -6
- package/dist/collection/vendor/calcite-components/NW4BVBVD.js +0 -6
- package/dist/collection/vendor/calcite-components/O66NAEPJ.js +0 -6
- package/dist/collection/vendor/calcite-components/OA55VNGP.js +0 -6
- package/dist/collection/vendor/calcite-components/OHEBCS4O.js +0 -6
- package/dist/collection/vendor/calcite-components/OI755RA3.js +0 -6
- package/dist/collection/vendor/calcite-components/OUC47AKY.js +0 -6
- package/dist/collection/vendor/calcite-components/PIOS7EUM.js +0 -6
- package/dist/collection/vendor/calcite-components/PJPFKU6T.js +0 -6
- package/dist/collection/vendor/calcite-components/PJT7DMRY.js +0 -6
- package/dist/collection/vendor/calcite-components/QDTRI7C7.js +0 -6
- package/dist/collection/vendor/calcite-components/QIG2J5PE.js +0 -6
- package/dist/collection/vendor/calcite-components/QO6KDHE7.js +0 -6
- package/dist/collection/vendor/calcite-components/QP3WP6XK.js +0 -6
- package/dist/collection/vendor/calcite-components/QRMUPTEN.js +0 -6
- package/dist/collection/vendor/calcite-components/QS2H5WWV.js +0 -7
- package/dist/collection/vendor/calcite-components/QSXIXUQG.js +0 -6
- package/dist/collection/vendor/calcite-components/R4UWD64I.js +0 -6
- package/dist/collection/vendor/calcite-components/R6R2QDCZ.js +0 -6
- package/dist/collection/vendor/calcite-components/R7BOWUQR.js +0 -6
- package/dist/collection/vendor/calcite-components/RBX4II3R.js +0 -6
- package/dist/collection/vendor/calcite-components/RGXKBYDS.js +0 -6
- package/dist/collection/vendor/calcite-components/RIG4ZWVJ.js +0 -6
- package/dist/collection/vendor/calcite-components/RM7DO3WC.js +0 -6
- package/dist/collection/vendor/calcite-components/RM7JYDOG.js +0 -6
- package/dist/collection/vendor/calcite-components/RS3QB5Z6.js +0 -6
- package/dist/collection/vendor/calcite-components/RTNOQY3F.js +0 -6
- package/dist/collection/vendor/calcite-components/RXFQEBLZ.js +0 -6
- package/dist/collection/vendor/calcite-components/S72C3HDO.js +0 -6
- package/dist/collection/vendor/calcite-components/SCVHHYPP.js +0 -6
- package/dist/collection/vendor/calcite-components/SH3ZYF5Y.js +0 -6
- package/dist/collection/vendor/calcite-components/SLRX7WEV.js +0 -6
- package/dist/collection/vendor/calcite-components/SQBCUXGV.js +0 -6
- package/dist/collection/vendor/calcite-components/SUMUVN3S.js +0 -6
- package/dist/collection/vendor/calcite-components/SUOP4NP6.js +0 -6
- package/dist/collection/vendor/calcite-components/SV2NJMD7.js +0 -6
- package/dist/collection/vendor/calcite-components/T5H4BCFU.js +0 -6
- package/dist/collection/vendor/calcite-components/T5XJU6AI.js +0 -24
- package/dist/collection/vendor/calcite-components/T6NZYTYO.js +0 -6
- package/dist/collection/vendor/calcite-components/TEFAP3AK.js +0 -6
- package/dist/collection/vendor/calcite-components/TEGL7RHQ.js +0 -6
- package/dist/collection/vendor/calcite-components/TGH5IJQY.js +0 -6
- package/dist/collection/vendor/calcite-components/TGYJTTJS.js +0 -6
- package/dist/collection/vendor/calcite-components/TITRCHWJ.js +0 -6
- package/dist/collection/vendor/calcite-components/TRYKNJDA.js +0 -6
- package/dist/collection/vendor/calcite-components/TYYR7NIL.js +0 -8
- package/dist/collection/vendor/calcite-components/TZEZTECF.js +0 -6
- package/dist/collection/vendor/calcite-components/U2E5SVFR.js +0 -6
- package/dist/collection/vendor/calcite-components/U5VSHGIS.js +0 -6
- package/dist/collection/vendor/calcite-components/U64XMC5X.js +0 -6
- package/dist/collection/vendor/calcite-components/UK4SFYVV.js +0 -6
- package/dist/collection/vendor/calcite-components/UKF62PNM.js +0 -6
- package/dist/collection/vendor/calcite-components/UOL6J47W.js +0 -6
- package/dist/collection/vendor/calcite-components/UV7H22PE.js +0 -6
- package/dist/collection/vendor/calcite-components/UXOOSEIU.js +0 -6
- package/dist/collection/vendor/calcite-components/UXZ36VC5.js +0 -6
- package/dist/collection/vendor/calcite-components/UY67UAZN.js +0 -6
- package/dist/collection/vendor/calcite-components/VFBARPZ3.js +0 -6
- package/dist/collection/vendor/calcite-components/VGYCDODV.js +0 -6
- package/dist/collection/vendor/calcite-components/VHXHAFDO.js +0 -6
- package/dist/collection/vendor/calcite-components/VN2EAAQF.js +0 -6
- package/dist/collection/vendor/calcite-components/VOECRNMH.js +0 -6
- package/dist/collection/vendor/calcite-components/VQRNTTAX.js +0 -6
- package/dist/collection/vendor/calcite-components/VVXJONZL.js +0 -6
- package/dist/collection/vendor/calcite-components/W5CGAHOI.js +0 -6
- package/dist/collection/vendor/calcite-components/WA7LZURK.js +0 -6
- package/dist/collection/vendor/calcite-components/WAAS66H6.js +0 -6
- package/dist/collection/vendor/calcite-components/WAE55O4U.js +0 -6
- package/dist/collection/vendor/calcite-components/WAXI7XKE.js +0 -6
- package/dist/collection/vendor/calcite-components/WEFAANMG.js +0 -6
- package/dist/collection/vendor/calcite-components/WH772PDM.js +0 -6
- package/dist/collection/vendor/calcite-components/X43KWDQ7.js +0 -6
- package/dist/collection/vendor/calcite-components/X5W76SNV.js +0 -6
- package/dist/collection/vendor/calcite-components/X6IC7EBC.js +0 -6
- package/dist/collection/vendor/calcite-components/XBYWX3OD.js +0 -6
- package/dist/collection/vendor/calcite-components/XIJN5ZXM.js +0 -6
- package/dist/collection/vendor/calcite-components/XKQ2CMVV.js +0 -6
- package/dist/collection/vendor/calcite-components/YBQG5R2L.js +0 -6
- package/dist/collection/vendor/calcite-components/YHWNAASP.js +0 -6
- package/dist/collection/vendor/calcite-components/YMNUCKVA.js +0 -6
- package/dist/collection/vendor/calcite-components/YMR2Q5CU.js +0 -6
- package/dist/collection/vendor/calcite-components/YNGSTQ4R.js +0 -6
- package/dist/collection/vendor/calcite-components/YP2D5DKM.js +0 -6
- package/dist/collection/vendor/calcite-components/YPRJFE6R.js +0 -6
- package/dist/collection/vendor/calcite-components/YVIEKCN2.js +0 -6
- package/dist/collection/vendor/calcite-components/YWM7TWVP.js +0 -6
- package/dist/collection/vendor/calcite-components/YZ3FOSUR.js +0 -6
- package/dist/collection/vendor/calcite-components/YZG67JHT.js +0 -6
- package/dist/collection/vendor/calcite-components/ZBSXA5F6.js +0 -6
- package/dist/collection/vendor/calcite-components/ZFAXCWF5.js +0 -6
- package/dist/collection/vendor/calcite-components/ZFKXMQJP.js +0 -6
- package/dist/collection/vendor/calcite-components/ZK7O524P.js +0 -6
- package/dist/collection/vendor/calcite-components/ZKNKPGVW.js +0 -6
- package/dist/collection/vendor/calcite-components/ZLFRGGT3.js +0 -6
- package/dist/esm/constants-637a40f5.js +0 -856
- package/dist/esm/downloadUtils-1179f077.js +0 -3217
- package/dist/esm/effects-d42ccf96.js +0 -81
- package/dist/esm/helpers-bd1ff401.js +0 -841
- package/dist/esm/index-c247b62b.js +0 -199
- package/dist/esm/index-df5db8e9.js +0 -1795
- package/dist/esm/index.es-6b399444.js +0 -11107
- package/dist/esm/loadModules-d5a25252.js +0 -21
- package/dist/esm/locale-4744c8a4.js +0 -938
- package/dist/esm/locale-7874c756.js +0 -155
- package/dist/esm/popupUtils-cfe51dfd.js +0 -119
- package/dist/esm/publicNotificationStore-9ec5e22a.js +0 -45
- package/dist/esm/solution-store-4c39c654.js +0 -1103
- package/dist/esm/utils-04fffcaf.js +0 -142
- package/dist/solutions-components/p-1d1d7e63.entry.js +0 -6
- package/dist/solutions-components/p-28858c2f.entry.js +0 -6
- package/dist/solutions-components/p-2a16aa29.entry.js +0 -6
- package/dist/solutions-components/p-30ea587b.entry.js +0 -6
- package/dist/solutions-components/p-318f5c87.entry.js +0 -6
- package/dist/solutions-components/p-3335285a.js +0 -21
- package/dist/solutions-components/p-33d03eb9.entry.js +0 -6
- package/dist/solutions-components/p-34b50565.entry.js +0 -6
- package/dist/solutions-components/p-37ae171f.entry.js +0 -6
- package/dist/solutions-components/p-37fe59a0.entry.js +0 -6
- package/dist/solutions-components/p-38814554.entry.js +0 -6
- package/dist/solutions-components/p-3f14b242.entry.js +0 -6
- package/dist/solutions-components/p-3f83917b.entry.js +0 -6
- package/dist/solutions-components/p-404cbf48.js +0 -36
- package/dist/solutions-components/p-4695cfab.js +0 -6
- package/dist/solutions-components/p-48242dd4.js +0 -61
- package/dist/solutions-components/p-4b98adf3.entry.js +0 -6
- package/dist/solutions-components/p-552fb1c0.entry.js +0 -6
- package/dist/solutions-components/p-6369b974.entry.js +0 -6
- package/dist/solutions-components/p-648b5a9e.js +0 -6
- package/dist/solutions-components/p-64a6162f.entry.js +0 -6
- package/dist/solutions-components/p-64f814dd.entry.js +0 -6
- package/dist/solutions-components/p-6f4e5c19.entry.js +0 -6
- package/dist/solutions-components/p-72d04c7a.entry.js +0 -11
- package/dist/solutions-components/p-7dc7d3dc.entry.js +0 -6
- package/dist/solutions-components/p-7dc95675.js +0 -6
- package/dist/solutions-components/p-80262cb7.js +0 -6
- package/dist/solutions-components/p-83ba1288.entry.js +0 -6
- package/dist/solutions-components/p-8585c128.entry.js +0 -6
- package/dist/solutions-components/p-8717729a.js +0 -6
- package/dist/solutions-components/p-8d281f47.js +0 -488
- package/dist/solutions-components/p-95d1c104.entry.js +0 -6
- package/dist/solutions-components/p-97f33e9f.js +0 -6
- package/dist/solutions-components/p-980d9473.entry.js +0 -6
- package/dist/solutions-components/p-9e3a40bc.entry.js +0 -6
- package/dist/solutions-components/p-b536e583.entry.js +0 -21
- package/dist/solutions-components/p-bc8d8128.entry.js +0 -6
- package/dist/solutions-components/p-be16bc80.entry.js +0 -6
- package/dist/solutions-components/p-c2e57b81.entry.js +0 -6
- package/dist/solutions-components/p-c50ff9f1.entry.js +0 -6
- package/dist/solutions-components/p-c9686e6c.entry.js +0 -6
- package/dist/solutions-components/p-d001e961.js +0 -6
- package/dist/solutions-components/p-d099573a.entry.js +0 -6
- package/dist/solutions-components/p-d1551601.entry.js +0 -6
- package/dist/solutions-components/p-d324196d.entry.js +0 -6
- package/dist/solutions-components/p-d59fb1a7.entry.js +0 -6
- package/dist/solutions-components/p-da1e098c.js +0 -129
- package/dist/solutions-components/p-dafc6680.entry.js +0 -6
- package/dist/solutions-components/p-dc704bc6.entry.js +0 -6
- package/dist/solutions-components/p-e3e35c14.entry.js +0 -6
- package/dist/solutions-components/p-e43c8944.entry.js +0 -21
- package/dist/solutions-components/p-e5cb329f.entry.js +0 -6
- package/dist/solutions-components/p-e6859850.js +0 -21
- package/dist/solutions-components/p-e996c38f.js +0 -7
- package/dist/solutions-components/p-ea09b078.entry.js +0 -6
- package/dist/solutions-components/p-ed443a0b.entry.js +0 -6
- package/dist/solutions-components/p-ee3bb943.entry.js +0 -6
- package/dist/solutions-components/p-f0b1b6f6.entry.js +0 -6
- package/dist/solutions-components/p-f9deadd7.entry.js +0 -6
- package/dist/solutions-components/p-fe9b2c74.entry.js +0 -6
- package/dist/solutions-components/p-ffe1e3a3.entry.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/2OHLWTVV.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/2YNPAPXX.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/3MV46GBB.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/3OQ2ZMWE.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/3VYZVKRG.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/3YAQ3WXL.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/3YMYDWGD.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/4BBHRHVO.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/4Y32YCMF.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/52M672S5.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/5DHYCNO3.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/5MCURGUM.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/5O6ZNC7G.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/5RROROO5.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/5WC57GPQ.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/5WSY45L7.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/5XKYFEBC.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/66KPC4YV.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/67MILQAM.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/67YJME3J.js +0 -7
- package/dist/solutions-components/vendor/calcite-components/6BG6DXGU.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/6J7J7RFI.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/6KJHPKLM.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/6LBWQVLS.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/6LOB5NKS.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/74AHNYT6.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/75LS6AUK.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/7AC4OZRT.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/7CTQOYNN.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/7IMTQM3A.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/7NNFVP5Y.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/7PLH76D5.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/7SRUH72U.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/7WIMMB52.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/A3TZO3T4.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/A4JSLISH.js +0 -7
- package/dist/solutions-components/vendor/calcite-components/A77L2PAE.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/AAJZVCOQ.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/AK7JTREX.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/APJDJGRX.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/B7XAXKYO.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/B7YRQCNE.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/BAAOO7UE.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/BKJX2UVI.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/BMTT77MQ.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/BMULWGQL.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/BOOD43TE.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/BT6BGDUQ.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/C4BI2I6X.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/CARSEP6Y.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/CARUWMRC.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/CGP5NAVZ.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/CHPU2ORW.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/CKCZ6NNQ.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/CLWQ573O.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/COVTDEEB.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/CSDMYGZU.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/CSR5Q44Q.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/CWDZ4NQP.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/D7V3NS2J.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/DHITRFFR.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/DL6GCZF7.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/DPLQUB7Z.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/DQWJPC22.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/DRM7BNH3.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/DWIP44NC.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/E3RER5S3.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/ECWNOIEW.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/EPKORG4B.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/ERE76CER.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/EU5GIDX7.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/FB6NATRQ.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/FHAIE7PW.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/FITCS5RA.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/FJUGYL5W.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/FP5CKCOM.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/FQ6G6HKC.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/FQTOWUOI.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/FSBJYIK7.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/FUR5QRYV.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/FV5F4TOB.js +0 -30
- package/dist/solutions-components/vendor/calcite-components/GHRW2Z4J.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/GKLGNYAX.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/GRGOLBJ6.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/H2QNORW6.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/H6JENZS2.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/HE6ZJBOG.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/HEYQRNVV.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/HJ7LTJIL.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/HUXUCABV.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/HVG3FNW6.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/I5RDDH5E.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/IGLINVEB.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/IH6XHUKC.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/IN4OTIGO.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/IOQ5NGFA.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/ITIJ42U7.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/ITILALYC.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/J3NSY2Y7.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/J4RAJYKF.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/J6IGXQYQ.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/JA2ML5I6.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/JOTIQZAS.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/JULIKI65.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/JW6QBCWN.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/JWIQZFGO.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/K4HQ6WGE.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/K4OPLD7F.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/KHULIKKP.js +0 -7
- package/dist/solutions-components/vendor/calcite-components/KRZMNBJS.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/LDAXCWWP.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/LMRFYM2J.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/LSUXEOMN.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/M5BOCCQL.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/M5XI6NNV.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/M7MOBM7M.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/MA2YIQZL.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/MBJAGWVS.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/MI3BWAKN.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/MOO4BCRV.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/MVHJMI6L.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/MZRLL3GR.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/N2FZGLE3.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/N2UM5A2L.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/NNL2N4OB.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/NP3SY2AL.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/NPYZ3JS7.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/NS47CSEP.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/NSL6XZ2B.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/NW4BVBVD.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/O66NAEPJ.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/OA55VNGP.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/OHEBCS4O.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/OI755RA3.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/OUC47AKY.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/PIOS7EUM.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/PJPFKU6T.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/PJT7DMRY.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/QDTRI7C7.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/QIG2J5PE.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/QO6KDHE7.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/QP3WP6XK.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/QRMUPTEN.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/QS2H5WWV.js +0 -7
- package/dist/solutions-components/vendor/calcite-components/QSXIXUQG.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/R4UWD64I.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/R6R2QDCZ.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/R7BOWUQR.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/RBX4II3R.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/RGXKBYDS.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/RIG4ZWVJ.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/RM7DO3WC.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/RM7JYDOG.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/RS3QB5Z6.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/RTNOQY3F.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/RXFQEBLZ.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/S72C3HDO.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/SCVHHYPP.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/SH3ZYF5Y.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/SLRX7WEV.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/SQBCUXGV.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/SUMUVN3S.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/SUOP4NP6.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/SV2NJMD7.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/T5H4BCFU.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/T5XJU6AI.js +0 -24
- package/dist/solutions-components/vendor/calcite-components/T6NZYTYO.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/TEFAP3AK.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/TEGL7RHQ.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/TGH5IJQY.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/TGYJTTJS.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/TITRCHWJ.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/TRYKNJDA.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/TYYR7NIL.js +0 -8
- package/dist/solutions-components/vendor/calcite-components/TZEZTECF.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/U2E5SVFR.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/U5VSHGIS.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/U64XMC5X.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/UK4SFYVV.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/UKF62PNM.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/UOL6J47W.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/UV7H22PE.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/UXOOSEIU.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/UXZ36VC5.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/UY67UAZN.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/VFBARPZ3.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/VGYCDODV.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/VHXHAFDO.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/VN2EAAQF.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/VOECRNMH.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/VQRNTTAX.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/VVXJONZL.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/W5CGAHOI.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/WA7LZURK.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/WAAS66H6.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/WAE55O4U.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/WAXI7XKE.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/WEFAANMG.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/WH772PDM.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/X43KWDQ7.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/X5W76SNV.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/X6IC7EBC.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/XBYWX3OD.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/XIJN5ZXM.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/XKQ2CMVV.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/YBQG5R2L.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/YHWNAASP.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/YMNUCKVA.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/YMR2Q5CU.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/YNGSTQ4R.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/YP2D5DKM.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/YPRJFE6R.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/YVIEKCN2.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/YWM7TWVP.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/YZ3FOSUR.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/YZG67JHT.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/ZBSXA5F6.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/ZFAXCWF5.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/ZFKXMQJP.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/ZK7O524P.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/ZKNKPGVW.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/ZLFRGGT3.js +0 -6
@@ -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 Z}from"./YMR2Q5CU.js";import{a as A,b as v,c as U,d as L,e as K,k as o}from"./7NNFVP5Y.js";import{a as Y}from"./DQWJPC22.js";import{a as G,c as J,e as Q,g as z,h as X}from"./COVTDEEB.js";import{c as _,d as R,e as q}from"./BMULWGQL.js";import{a as P,b as M}from"./MVHJMI6L.js";import{a as S}from"./OUC47AKY.js";import{a as f}from"./W5CGAHOI.js";import"./FHAIE7PW.js";import{b as W}from"./FQTOWUOI.js";import{a as T}from"./RS3QB5Z6.js";import{a as w,b as y}from"./R6R2QDCZ.js";import{e as C,p as k,x as I}from"./MBJAGWVS.js";import{a as F,b as D,d as j}from"./H6JENZS2.js";import"./ITIJ42U7.js";import{A as x,B,I as O,b as $,d as V,e as l,i as b,t as E,u as g,v as H,w as a}from"./TYYR7NIL.js";var r={loader:"loader",clearButton:"clear-button",editingEnabled:"editing-enabled",inlineChild:"inline-child",inputIcon:"icon",prefix:"prefix",suffix:"suffix",numberButtonWrapper:"number-button-wrapper",buttonItemHorizontal:"number-button-item--horizontal",wrapper:"element-wrapper",inputWrapper:"wrapper",actionWrapper:"action-wrapper",resizeIconWrapper:"resize-icon-wrapper",numberButtonItem:"number-button-item"},ee={validationMessage:"inputNumberValidationMessage"},ie={action:"action"},ne=V`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block}:host([scale=s]) input,:host([scale=s]) .prefix,:host([scale=s]) .suffix{block-size:1.5rem;padding-inline:.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .number-button-wrapper,:host([scale=s]) .action-wrapper calcite-button,:host([scale=s]) .action-wrapper calcite-button button{block-size:1.5rem}:host([scale=s]) .clear-button{min-block-size:1.5rem;min-inline-size:1.5rem}:host([scale=m]) input,:host([scale=m]) .prefix,:host([scale=m]) .suffix{block-size:2rem;padding-inline:.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .number-button-wrapper,:host([scale=m]) .action-wrapper calcite-button,:host([scale=m]) .action-wrapper calcite-button button{block-size:2rem}:host([scale=m]) .clear-button{min-block-size:2rem;min-inline-size:2rem}:host([scale=l]) input,:host([scale=l]) .prefix,:host([scale=l]) .suffix{block-size:2.75rem;padding-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .number-button-wrapper,:host([scale=l]) .action-wrapper calcite-button,:host([scale=l]) .action-wrapper calcite-button button{block-size:2.75rem}:host([scale=l]) .clear-button{min-block-size:2.75rem;min-inline-size:2.75rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}input{transition:var(--calcite-animation-timing),block-size 0,outline-offset 0s;-webkit-appearance:none;position:relative;margin:0;box-sizing:border-box;display:flex;max-block-size:100%;inline-size:100%;max-inline-size:100%;flex:1 1 0%;text-overflow:ellipsis;border-radius:0;background-color:var(--calcite-color-foreground-1);font-family:inherit;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-1)}input:placeholder-shown{text-overflow:ellipsis}input{border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);color:var(--calcite-color-text-1)}input::placeholder,input:-ms-input-placeholder,input::-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-3)}input:focus{border-color:var(--calcite-color-brand);color:var(--calcite-color-text-1)}input[readonly]{background-color:var(--calcite-color-background);font-weight:var(--calcite-font-weight-medium)}input[readonly]:focus{color:var(--calcite-color-text-1)}calcite-icon{color:var(--calcite-color-text-3)}input{outline-color:transparent}input:focus{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([status=invalid]) input{border-color:var(--calcite-color-status-danger)}:host([status=invalid]) input:focus{outline:2px solid var(--calcite-color-status-danger);outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host([scale=s]) .icon{inset-inline-start:.5rem}:host([scale=m]) .icon{inset-inline-start:.75rem}:host([scale=l]) .icon{inset-inline-start:1rem}:host([icon][scale=s]) input{padding-inline-start:2rem}:host([icon][scale=m]) input{padding-inline-start:2.5rem}:host([icon][scale=l]) input{padding-inline-start:3.5rem}.element-wrapper{position:relative;order:3;display:inline-flex;flex:1 1 0%;align-items:center}.icon{pointer-events:none;position:absolute;z-index:var(--calcite-z-index);display:block;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}.clear-button{pointer-events:initial;order:4;margin:0;box-sizing:border-box;display:flex;min-block-size:100%;cursor:pointer;align-items:center;justify-content:center;align-self:stretch;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-foreground-1);outline-color:transparent;border-inline-start-width:0px}.clear-button:hover{background-color:var(--calcite-color-foreground-2);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}.clear-button:hover calcite-icon{color:var(--calcite-color-text-1);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}.clear-button:active{background-color:var(--calcite-color-foreground-3)}.clear-button:active calcite-icon{color:var(--calcite-color-text-1)}.clear-button:focus{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))))}.clear-button:disabled{opacity:var(--calcite-opacity-disabled)}.loader{inset-block-start:1px;inset-inline:1px;pointer-events:none;position:absolute;display:block}.action-wrapper{order:7;display:flex}.prefix,.suffix{box-sizing:border-box;display:flex;block-size:auto;min-block-size:100%;-webkit-user-select:none;user-select:none;align-content:center;align-items:center;overflow-wrap:break-word;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-background);font-weight:var(--calcite-font-weight-medium);line-height:1;color:var(--calcite-color-text-2)}.prefix{order:2;border-inline-end-width:0px;inline-size:var(--calcite-input-prefix-size, auto)}.suffix{order:5;border-inline-start-width:0px;inline-size:var(--calcite-input-suffix-size, auto)}:host([alignment=start]) input{text-align:start}:host([alignment=end]) input{text-align:end}.number-button-wrapper{pointer-events:none;order:6;box-sizing:border-box;display:flex;flex-direction:column;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}:host([number-button-type=vertical]) .wrapper{flex-direction:row;display:flex}:host([number-button-type=vertical]) input{order:2}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=down] calcite-icon{transform:rotate(-90deg)}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=up] calcite-icon{transform:rotate(-90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down],.number-button-item.number-button-item--horizontal[data-adjustment=up]{order:1;max-block-size:100%;min-block-size:100%;align-self:stretch}.number-button-item.number-button-item--horizontal[data-adjustment=down] calcite-icon,.number-button-item.number-button-item--horizontal[data-adjustment=up] calcite-icon{transform:rotate(90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down]{border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);border-inline-end-width:0px}.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover{background-color:var(--calcite-color-foreground-2)}.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover calcite-icon{color:var(--calcite-color-text-1)}.number-button-item.number-button-item--horizontal[data-adjustment=up]{order:5}.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover{background-color:var(--calcite-color-foreground-2)}.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover calcite-icon{color:var(--calcite-color-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover{background-color:var(--calcite-color-foreground-2)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover calcite-icon{color:var(--calcite-color-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover{background-color:var(--calcite-color-foreground-2)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover calcite-icon{color:var(--calcite-color-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]{border-block-start-width:0px}.number-button-item{max-block-size:50%;min-block-size:50%;pointer-events:initial;margin:0;box-sizing:border-box;display:flex;cursor:pointer;align-items:center;align-self:center;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-foreground-1);padding-block:0px;padding-inline:.5rem;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-inline-start-width:0px}.number-button-item calcite-icon{pointer-events:none;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}.number-button-item:focus{background-color:var(--calcite-color-foreground-2)}.number-button-item:focus calcite-icon{color:var(--calcite-color-text-1)}.number-button-item:active{background-color:var(--calcite-color-foreground-3)}.number-button-item:disabled{pointer-events:none}.wrapper{position:relative;display:flex;flex-direction:row;align-items:center}:host(.no-bottom-border) input{border-block-end-width:0px}:host(.border-top-color-one) input{border-block-start-color:var(--calcite-color-border-1)}input.inline-child{background-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}input.inline-child .editing-enabled{background-color:inherit}input.inline-child:not(.editing-enabled){display:flex;cursor:pointer;text-overflow:ellipsis;border-color:transparent;padding-inline-start:0}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:.5rem}:host([scale=s]) .validation-container{padding-block-start:.25rem}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}:host([hidden]){display:none}[hidden]{display:none}`,N=class extends H{constructor(){super(),this.actionWrapperEl=w(),this.attributeWatch=$(["autofocus","enterkeyhint","inputmode"],this.handleGlobalAttributesChanged),this.inputWrapperEl=w(),this.onHiddenFormInputInput=e=>{e.target.name===this.name&&this.setNumberValue({value:e.target.value,origin:"direct"}),this.setFocus(),e.stopPropagation()},this.previousValueOrigin="initial",this.userChangedValue=!1,this._value="",this.slottedActionElDisabledInternally=!1,this.alignment="start",this.clearable=!1,this.disabled=!1,this.editingEnabled=!1,this.groupSeparator=!1,this.iconFlipRtl=!1,this.integer=!1,this.loading=!1,this.localeFormat=!1,this.messages=T(),this.numberButtonType="vertical",this.readOnly=!1,this.required=!1,this.scale="m",this.status="idle",this.validity={valid:!1,badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1},this.calciteInputNumberChange=g({cancelable:!1}),this.calciteInputNumberInput=g(),this.calciteInternalInputNumberBlur=g({cancelable:!1}),this.calciteInternalInputNumberFocus=g({cancelable:!1}),this.listen("click",this.clickHandler),this.listen("keydown",this.keyDownHandler)}static{this.properties={displayedValue:16,slottedActionElDisabledInternally:16,alignment:3,autocomplete:0,clearable:7,disabled:7,editingEnabled:7,form:3,groupSeparator:7,icon:[3,{converter:x}],iconFlipRtl:7,integer:5,label:1,loading:7,localeFormat:5,max:11,maxLength:11,messageOverrides:0,min:11,minLength:11,name:3,numberButtonType:3,numberingSystem:3,placeholder:1,prefixText:1,readOnly:7,required:7,scale:3,status:3,step:3,suffixText:1,validationIcon:[3,{converter:x}],validationMessage:1,validity:0,value:1}}static{this.styles=ne}get isClearable(){return this.clearable&&this.value.length>0}get value(){return this._value}set value(e){let t=this._value;e!==t&&(this._value=e,this.valueWatcher(e,t),e&&this._value===""&&this.setNumberValue({origin:"reset",value:t}))}async selectText(){this.childNumberEl?.select()}async setFocus(){await j(this),this.childNumberEl?.focus()}connectedCallback(){super.connectedCallback(),this.inlineEditableEl=this.el.closest("calcite-inline-editable"),this.inlineEditableEl&&(this.editingEnabled=this.inlineEditableEl.editingEnabled||!1),_(this),J(this),this.el.addEventListener(z,this.onHiddenFormInputInput)}async load(){F(this),this.maxString=this.max?.toString(),this.minString=this.min?.toString(),this.requestedIcon=k({},this.icon,"number"),this.setPreviousEmittedNumberValue(this.value),this.setPreviousNumberValue(this.value),this.warnAboutInvalidNumberValue(this.value),this.value==="Infinity"||this.value==="-Infinity"?(this.displayedValue=this.value,this.previousEmittedNumberValue=this.value):this.setNumberValue({origin:"connected",value:v(this.value)?this.value:""})}willUpdate(e){e.has("max")&&(this.maxString=this.max?.toString()||null),e.has("min")&&(this.minString=this.min?.toString()||null),e.has("icon")&&(this.requestedIcon=k({},this.icon,"number")),e.has("messages")&&(o.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,useGrouping:!1})}updated(){P(this)}loaded(){D(this)}disconnectedCallback(){super.disconnectedCallback(),R(this),Q(this),this.el.removeEventListener(z,this.onHiddenFormInputInput)}handleGlobalAttributesChanged(){this.requestUpdate()}valueWatcher(e,t){if(!this.userChangedValue){if(e==="Infinity"||e==="-Infinity"){this.displayedValue=e,this.previousEmittedNumberValue=e;return}this.setNumberValue({origin:"direct",previousValue:t,value:e==null||e==""?"":v(e)?e:this.previousValue||""}),this.warnAboutInvalidNumberValue(e)}this.userChangedValue=!1}keyDownHandler(e){this.readOnly||this.disabled||e.defaultPrevented||(this.isClearable&&e.key==="Escape"&&(this.clearInputValue(e),e.preventDefault()),e.key==="Enter"&&G(this)&&e.preventDefault())}onLabelClick(){this.setFocus()}incrementOrDecrementNumberValue(e,t,i,m){let{value:n}=this;if(n==="Infinity"||n==="-Infinity")return;let s=e==="up"?1:-1,u=this.integer&&this.step!=="any"?Math.round(this.step):this.step,p=u==="any"?1:Math.abs(u||1),h=new A(n!==""?n:"0").add(`${p*s}`),d=()=>typeof i=="number"&&!isNaN(i)&&h.subtract(`${i}`).isNegative,c=()=>typeof t=="number"&&!isNaN(t)&&!h.subtract(`${t}`).isNegative,te=d()?`${i}`:c()?`${t}`:h.toString();this.setNumberValue({committing:!0,nativeEvent:m,origin:"user",value:te})}clearInputValue(e){this.setNumberValue({committing:!0,nativeEvent:e,origin:"user",value:""})}emitChangeIfUserModified(){this.previousValueOrigin==="user"&&this.value!==this.previousEmittedNumberValue&&(this.calciteInputNumberChange.emit(),this.setPreviousEmittedNumberValue(this.value))}inputNumberBlurHandler(){window.clearInterval(this.nudgeNumberValueIntervalId),this.calciteInternalInputNumberBlur.emit(),this.emitChangeIfUserModified()}clickHandler(e){if(this.disabled)return;let t=e.composedPath();!t.includes(this.inputWrapperEl.value)||t.includes(this.actionWrapperEl.value)||this.setFocus()}inputNumberFocusHandler(){this.calciteInternalInputNumberFocus.emit()}inputNumberInputHandler(e){if(this.disabled||this.readOnly||this.value==="Infinity"||this.value==="-Infinity")return;let t=e.target.value;o.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator};let i=o.delocalize(t);e.inputType==="insertFromPaste"?((!v(i)||this.integer&&(i.includes("e")||i.includes(".")))&&e.preventDefault(),this.setNumberValue({nativeEvent:e,origin:"user",value:U(i)}),this.childNumberEl.value=this.displayedValue):this.setNumberValue({nativeEvent:e,origin:"user",value:i})}inputNumberKeyDownHandler(e){if(this.disabled||this.readOnly)return;if(this.value==="Infinity"||this.value==="-Infinity"){e.preventDefault(),(e.key==="Backspace"||e.key==="Delete")&&this.clearInputValue(e);return}if(e.key==="ArrowUp"){e.preventDefault(),this.nudgeNumberValue("up",e);return}if(e.key==="ArrowDown"){this.nudgeNumberValue("down",e);return}let t=[...W,"ArrowLeft","ArrowRight","Backspace","Delete","Enter","Escape","Tab"];if(e.altKey||e.ctrlKey||e.metaKey)return;let i=e.shiftKey&&e.key==="Tab";if(t.includes(e.key)||i){e.key==="Enter"&&this.emitChangeIfUserModified();return}o.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator},!(e.key===o.decimal&&!this.integer&&(!this.value&&!this.childNumberEl.value||this.value&&this.childNumberEl.value.indexOf(o.decimal)===-1))&&(/[eE]/.test(e.key)&&!this.integer&&(!this.value&&!this.childNumberEl.value||this.value&&!/[eE]/.test(this.childNumberEl.value))||e.key==="-"&&(!this.value&&!this.childNumberEl.value||this.value&&this.childNumberEl.value.split("-").length<=2)||e.preventDefault())}nudgeNumberValue(e,t){if(t instanceof KeyboardEvent&&t.repeat)return;let i=this.maxString?parseFloat(this.maxString):null,m=this.minString?parseFloat(this.minString):null,n=150;this.incrementOrDecrementNumberValue(e,i,m,t),this.nudgeNumberValueIntervalId&&window.clearInterval(this.nudgeNumberValueIntervalId);let s=!0;this.nudgeNumberValueIntervalId=window.setInterval(()=>{if(s){s=!1;return}this.incrementOrDecrementNumberValue(e,i,m,t)},n)}nudgeButtonPointerUpHandler(e){I(e)&&window.clearInterval(this.nudgeNumberValueIntervalId)}nudgeButtonPointerOutHandler(){window.clearInterval(this.nudgeNumberValueIntervalId)}nudgeButtonPointerDownHandler(e){if(!I(e))return;e.preventDefault();let t=e.target.dataset.adjustment;this.disabled||this.nudgeNumberValue(t,e)}syncHiddenFormInput(e){Z("number",this,e)}setChildNumberElRef(e){this.childNumberEl=e}setInputNumberValue(e){this.childNumberEl&&(this.childNumberEl.value=e)}setPreviousEmittedNumberValue(e){this.previousEmittedNumberValue=this.normalizeValue(e)}normalizeValue(e){return v(e)?e:""}setPreviousNumberValue(e){this.previousValue=this.normalizeValue(e)}setNumberValue({committing:e=!1,nativeEvent:t,origin:i,previousValue:m,value:n}){o.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator};let s=this.previousValue?.length>n.length||this.value?.length>n.length,u=this.integer?n.replace(/[e.]/g,""):n,p=u.charAt(u.length-1)===".",h=p&&s?u:L(u),d=n&&!h?v(this.previousValue)?this.previousValue:"":h,c=o.localize(d);i!=="connected"&&!p&&(c=K(c,d,o)),this.displayedValue=p&&s?`${c}${o.decimal}`:c,this.setPreviousNumberValue(m??this.value),this.previousValueOrigin=i,this.userChangedValue=i==="user"&&this.value!==d,this.value=["-","."].includes(d)?"":d,i==="direct"&&(this.setInputNumberValue(c),this.setPreviousEmittedNumberValue(c)),t&&(this.calciteInputNumberInput.emit().defaultPrevented?(this.value=this.previousValue,this.displayedValue=o.localize(this.previousValue)):e&&this.emitChangeIfUserModified())}inputNumberKeyUpHandler(){window.clearInterval(this.nudgeNumberValueIntervalId)}warnAboutInvalidNumberValue(e){e&&!v(e)&&console.warn(`The specified value "${e}" cannot be parsed, or is out of range.`)}render(){let e=C(this.el),t=l`<div class=${a(r.loader)}><calcite-progress .label=${this.messages.loading} type=indeterminate></calcite-progress></div>`,i=l`<button .ariaLabel=${this.messages.clear} class=${a(r.clearButton)} .disabled=${this.disabled||this.readOnly} @click=${this.clearInputValue} tabindex=-1 type=button><calcite-icon icon=x .scale=${f(this.scale)}></calcite-icon></button>`,m=l`<calcite-icon class=${a(r.inputIcon)} .flipRtl=${this.iconFlipRtl} .icon=${this.requestedIcon} .scale=${f(this.scale)}></calcite-icon>`,n=this.numberButtonType==="horizontal",s=l`<button aria-hidden=true class=${a({[r.numberButtonItem]:!0,[r.buttonItemHorizontal]:n})} data-adjustment=up .disabled=${this.disabled||this.readOnly} @pointerdown=${this.nudgeButtonPointerDownHandler} @pointerout=${this.nudgeButtonPointerOutHandler} @pointerup=${this.nudgeButtonPointerUpHandler} tabindex=-1 type=button><calcite-icon icon=chevron-up .scale=${f(this.scale)}></calcite-icon></button>`,u=l`<button aria-hidden=true class=${a({[r.numberButtonItem]:!0,[r.buttonItemHorizontal]:n})} data-adjustment=down .disabled=${this.disabled||this.readOnly} @pointerdown=${this.nudgeButtonPointerDownHandler} @pointerout=${this.nudgeButtonPointerOutHandler} @pointerup=${this.nudgeButtonPointerUpHandler} tabindex=-1 type=button><calcite-icon icon=chevron-down .scale=${f(this.scale)}></calcite-icon></button>`,p=l`<div class=${a(r.numberButtonWrapper)}>${s}${u}</div>`,h=l`<div class=${a(r.prefix)}>${this.prefixText}</div>`,d=l`<div class=${a(r.suffix)}>${this.suffixText}</div>`,c=S("localized-input",l`<input aria-errormessage=${ee.validationMessage} .ariaInvalid=${this.status==="invalid"} .ariaLabel=${q(this)} autocomplete=${this.autocomplete??b} .autofocus=${this.el.autofocus} value=${this.defaultValue??b} .disabled=${this.disabled} enterkeyhint=${this.el.enterKeyHint??b} inputmode=${this.el.inputMode||"decimal"} maxlength=${this.maxLength??b} minlength=${this.minLength??b} name=${b} @blur=${this.inputNumberBlurHandler} @focus=${this.inputNumberFocusHandler} @input=${this.inputNumberInputHandler} @keydown=${this.inputNumberKeyDownHandler} @keyup=${this.inputNumberKeyUpHandler} placeholder=${(this.placeholder||"")??b} .readOnly=${this.readOnly} type=text .value=${E(this.displayedValue??"")} ${y(this.setChildNumberElRef)}>`);return M({disabled:this.disabled,children:l`<div class=${a({[r.inputWrapper]:!0,[B.rtl]:e==="rtl"})} ${y(this.inputWrapperEl)}>${this.numberButtonType==="horizontal"&&!this.readOnly?u:null}${this.prefixText?h:null}<div class=${a(r.wrapper)}>${c}${this.isClearable?i:null}${this.requestedIcon?m:null}${this.loading?t:null}</div><div class=${a(r.actionWrapper)} ${y(this.actionWrapperEl)}><slot name=${ie.action}></slot></div>${this.numberButtonType==="vertical"&&!this.readOnly?p:null}${this.suffixText?d:null}${this.numberButtonType==="horizontal"&&!this.readOnly?s:null}${X({component:this})}</div>${this.validationMessage&&this.status==="invalid"?Y({icon:this.validationIcon,id:ee.validationMessage,message:this.validationMessage,scale:this.scale,status:this.status}):null}`})}};O("calcite-input-number",N);export{N as InputNumber};
|
@@ -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 H,c as Mt,d as A,e as St,i as _,j as yt,k as Tt,l as E,n as kt,q as Z}from"./BAAOO7UE.js";import{a as Lt,b as v}from"./QIG2J5PE.js";import"./J4RAJYKF.js";import{a as vt}from"./YMR2Q5CU.js";import{b}from"./MZRLL3GR.js";import{f as C,h as W,k as O}from"./7NNFVP5Y.js";import{a as gt}from"./DQWJPC22.js";import{a as ut,c as dt,e as pt,h as ft}from"./COVTDEEB.js";import{c as ct,d as mt,e as ht}from"./BMULWGQL.js";import{a as ot,b as st}from"./MVHJMI6L.js";import{a as et}from"./W5CGAHOI.js";import"./FHAIE7PW.js";import{b as lt}from"./FQTOWUOI.js";import{a as nt}from"./RS3QB5Z6.js";import{b as x}from"./R6R2QDCZ.js";import{n as tt}from"./MBJAGWVS.js";import{a as it,b as at,d as rt}from"./H6JENZS2.js";import"./ITIJ42U7.js";import{A as J,I as j,d as G,e as U,i as w,u as Y,v as K,w as N}from"./TYYR7NIL.js";var q=function(t){return t.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(e,i,s){return i||s.slice(1)})},Q={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},z=function(t,e){return t.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(i,s,a){var r=a&&a.toUpperCase();return s||e[a]||Q[a]||q(e[r])})};var Ot=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,Dt=/\d/,I=/\d\d/,Ht=/\d{3}/,At=/\d{4}/,L=/\d\d?/,Et=/[+-]?\d+/,zt=/[+-]\d\d:?(\d\d)?|Z/,F=/\d*[^-_:/,()\s\d]+/,y={},wt=function(t){return t=+t,t+(t>68?1900:2e3)};function Vt(o){if(!o||o==="Z")return 0;var t=o.match(/([+-]|\d\d)/g),e=+(t[1]*60)+(+t[2]||0);return e===0?0:t[0]==="+"?-e:e}var d=function(t){return function(e){this[t]=+e}},Yt=[zt,function(o){var t=this.zone||(this.zone={});t.offset=Vt(o)}],R=function(t){var e=y[t];return e&&(e.indexOf?e:e.s.concat(e.f))},$t=function(t,e){var i,s=y,a=s.meridiem;if(!a)i=t===(e?"pm":"PM");else for(var r=1;r<=24;r+=1)if(t.indexOf(a(r,0,e))>-1){i=r>12;break}return i},Bt={A:[F,function(o){this.afternoon=$t(o,!1)}],a:[F,function(o){this.afternoon=$t(o,!0)}],Q:[Dt,function(o){this.month=(o-1)*3+1}],S:[Dt,function(o){this.milliseconds=+o*100}],SS:[I,function(o){this.milliseconds=+o*10}],SSS:[Ht,function(o){this.milliseconds=+o}],s:[L,d("seconds")],ss:[L,d("seconds")],m:[L,d("minutes")],mm:[L,d("minutes")],H:[L,d("hours")],h:[L,d("hours")],HH:[L,d("hours")],hh:[L,d("hours")],D:[L,d("day")],DD:[I,d("day")],Do:[F,function(o){var t=y,e=t.ordinal,i=o.match(/\d+/);if(this.day=i[0],!!e)for(var s=1;s<=31;s+=1)e(s).replace(/\[|\]/g,"")===o&&(this.day=s)}],w:[L,d("week")],ww:[I,d("week")],M:[L,d("month")],MM:[I,d("month")],MMM:[F,function(o){var t=R("months"),e=R("monthsShort"),i=(e||t.map(function(s){return s.slice(0,3)})).indexOf(o)+1;if(i<1)throw new Error;this.month=i%12||i}],MMMM:[F,function(o){var t=R("months"),e=t.indexOf(o)+1;if(e<1)throw new Error;this.month=e%12||e}],Y:[Et,d("year")],YY:[I,function(o){this.year=wt(o)}],YYYY:[At,d("year")],Z:Yt,ZZ:Yt};function Ut(o){var t=o.afternoon;if(t!==void 0){var e=o.hours;t?e<12&&(o.hours+=12):e===12&&(o.hours=0),delete o.afternoon}}function Wt(o){o=z(o,y&&y.formats);for(var t=o.match(Ot),e=t.length,i=0;i<e;i+=1){var s=t[i],a=Bt[s],r=a&&a[0],m=a&&a[1];m?t[i]={regex:r,parser:m}:t[i]=s.replace(/^\[|\]$/g,"")}return function(n){for(var l={},c=0,u=0;c<e;c+=1){var h=t[c];if(typeof h=="string")u+=h.length;else{var f=h.regex,M=h.parser,p=n.slice(u),g=f.exec(p),S=g[0];M.call(l,S),n=n.replace(S,"")}}return Ut(l),l}}var _t=function(t,e,i,s){try{if(["x","X"].indexOf(e)>-1)return new Date((e==="X"?1e3:1)*t);var a=Wt(e),r=a(t),m=r.year,n=r.month,l=r.day,c=r.hours,u=r.minutes,h=r.seconds,f=r.milliseconds,M=r.zone,p=r.week,g=new Date,S=l||(!m&&!n?g.getDate():1),T=m||g.getFullYear(),k=0;m&&!n||(k=n>0?n-1:g.getMonth());var D=c||0,$=u||0,V=h||0,B=f||0;if(M)return new Date(Date.UTC(T,k,S,D,$,V,B+M.offset*60*1e3));if(i)return new Date(Date.UTC(T,k,S,D,$,V,B));var P;return P=new Date(T,k,S,D,$,V,B),p&&(P=s(P).week(p).toDate()),P}catch{return new Date("")}},bt=function(o,t,e){e.p.customParseFormat=!0,o&&o.parseTwoDigitYear&&(wt=o.parseTwoDigitYear);var i=t.prototype,s=i.parse;i.parse=function(a){var r=a.date,m=a.utc,n=a.args;this.$u=m;var l=n[1];if(typeof l=="string"){var c=n[2]===!0,u=n[3]===!0,h=c||u,f=n[2];u&&(f=n[2]),y=this.$locale(),!c&&f&&(y=e.Ls[f]),this.$d=_t(r,l,m,e),this.init(),f&&f!==!0&&(this.$L=this.locale(f).$L),h&&r!=this.format(l)&&(this.$d=new Date("")),y={}}else if(l instanceof Array)for(var M=l.length,p=1;p<=M;p+=1){n[1]=l[p-1];var g=e.apply(this,n);if(g.isValid()){this.$d=g.$d,this.$L=g.$L,this.init();break}p===M&&(this.$d=new Date(""))}else s.call(this,a)}};var It=function(o,t,e){var i=t.prototype,s=function(c){return c&&(c.indexOf?c:c.s)},a=function(c,u,h,f,M){var p=c.name?c:c.$locale(),g=s(p[u]),S=s(p[h]),T=g||S.map(function(D){return D.slice(0,f)});if(!M)return T;var k=p.weekStart;return T.map(function(D,$){return T[($+(k||0))%7]})},r=function(){return e.Ls[e.locale()]},m=function(c,u){return c.formats[u]||q(c.formats[u.toUpperCase()])},n=function(){var c=this;return{months:function(h){return h?h.format("MMMM"):a(c,"months")},monthsShort:function(h){return h?h.format("MMM"):a(c,"monthsShort","months",3)},firstDayOfWeek:function(){return c.$locale().weekStart||0},weekdays:function(h){return h?h.format("dddd"):a(c,"weekdays")},weekdaysMin:function(h){return h?h.format("dd"):a(c,"weekdaysMin","weekdays",2)},weekdaysShort:function(h){return h?h.format("ddd"):a(c,"weekdaysShort","weekdays",3)},longDateFormat:function(h){return m(c.$locale(),h)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};i.localeData=function(){return n.bind(this)()},e.localeData=function(){var l=r();return{firstDayOfWeek:function(){return l.weekStart||0},weekdays:function(){return e.weekdays()},weekdaysShort:function(){return e.weekdaysShort()},weekdaysMin:function(){return e.weekdaysMin()},months:function(){return e.months()},monthsShort:function(){return e.monthsShort()},longDateFormat:function(u){return m(l,u)},meridiem:l.meridiem,ordinal:l.ordinal}},e.months=function(){return a(r(),"months")},e.monthsShort=function(){return a(r(),"monthsShort","months",3)},e.weekdays=function(l){return a(r(),"weekdays",null,null,l)},e.weekdaysShort=function(l){return a(r(),"weekdaysShort","weekdays",3,l)},e.weekdaysMin=function(l){return a(r(),"weekdaysMin","weekdays",2,l)}};var Ft=function(o,t,e){var i=t.prototype,s=i.format;e.en.formats=Q,i.format=function(a){a===void 0&&(a=Lt);var r=this.$locale(),m=r.formats,n=m===void 0?{}:m,l=z(a,n);return s.call(this,l)}};var Pt=function(o,t){var e=t.prototype.parse;t.prototype.parse=function(a){if(typeof a.date=="string"){var r=this.$locale();a.date=r&&r.preparse?r.preparse(a.date):a.date}return e.bind(this)(a)};var i=t.prototype.format;t.prototype.format=function(){for(var a=arguments.length,r=new Array(a),m=0;m<a;m++)r[m]=arguments[m];var n=i.call.apply(i,[this].concat(r)),l=this.$locale();return l&&l.postformat?l.postformat(n):n};var s=t.prototype.fromToBase;s&&(t.prototype.fromToBase=function(a,r,m,n){var l=this.$locale()||m.$locale();return s.call(this,a,r,m,n,l&&l.postformat)})};var xt=function(o,t,e){e.updateLocale=function(i,s){var a=e.Ls,r=a[i];if(r){var m=s?Object.keys(s):[];return m.forEach(function(n){r[n]=s[n]}),r}}};var Zt=G`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-block;-webkit-user-select:none;user-select:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}:host([scale=s]){--calcite-toggle-spacing: .5rem;--calcite-internal-input-text-input-padding-inline-end: calc(var(--calcite-toggle-spacing) + 1rem)}:host([scale=m]){--calcite-toggle-spacing: .75rem;--calcite-internal-input-text-input-padding-inline-end: calc(var(--calcite-toggle-spacing) + 1.5rem)}:host([scale=l]){--calcite-toggle-spacing: 1rem;--calcite-internal-input-text-input-padding-inline-end: calc(var(--calcite-toggle-spacing) + 2rem)}.input-wrapper{position:relative}.toggle-icon{position:absolute;display:flex;cursor:pointer;align-items:center;inset-inline-end:0;inset-block:0;padding-inline:var(--calcite-toggle-spacing);--calcite-icon-color: var(--calcite-color-text-3)}.input-wrapper:hover .toggle-icon,calcite-input-text:focus+.toggle-icon{--calcite-icon-color: var(--calcite-color-text-1)}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:.5rem}:host([scale=s]) .validation-container{padding-block-start:.25rem}:host([hidden]){display:none}[hidden]{display:none}`,qt={toggleIcon:"toggle-icon"},Ct={validationMessage:"inputTimePickerValidationMessage"},Qt=new Map([["ar",()=>import("./WAXI7XKE.js")],["bg",()=>import("./7SRUH72U.js")],["bs",()=>import("./E3RER5S3.js")],["ca",()=>import("./YHWNAASP.js")],["cs",()=>import("./K4HQ6WGE.js")],["da",()=>import("./LSUXEOMN.js")],["de",()=>import("./7PLH76D5.js")],["de-at",()=>import("./BOOD43TE.js")],["de-ch",()=>import("./NSL6XZ2B.js")],["el",()=>import("./3VYZVKRG.js")],["en",()=>import("./UY67UAZN.js")],["en-au",()=>import("./BT6BGDUQ.js")],["en-ca",()=>import("./ZBSXA5F6.js")],["en-gb",()=>import("./RGXKBYDS.js")],["es",()=>import("./ZKNKPGVW.js")],["es-mx",()=>import("./K4OPLD7F.js")],["et",()=>import("./M7MOBM7M.js")],["fi",()=>import("./7IMTQM3A.js")],["fr",()=>import("./YPRJFE6R.js")],["fr-ch",()=>import("./XBYWX3OD.js")],["he",()=>import("./YZ3FOSUR.js")],["hi",()=>import("./NNL2N4OB.js")],["hr",()=>import("./WAAS66H6.js")],["hu",()=>import("./3MV46GBB.js")],["id",()=>import("./LMRFYM2J.js")],["it",()=>import("./IOQ5NGFA.js")],["it-ch",()=>import("./NPYZ3JS7.js")],["ja",()=>import("./AK7JTREX.js")],["ko",()=>import("./R4UWD64I.js")],["lt",()=>import("./X6IC7EBC.js")],["lv",()=>import("./ZFKXMQJP.js")],["mk",()=>import("./OA55VNGP.js")],["nl",()=>import("./MOO4BCRV.js")],["nb",()=>import("./B7YRQCNE.js")],["pl",()=>import("./PJT7DMRY.js")],["pt",()=>import("./WEFAANMG.js")],["pt-br",()=>import("./7CTQOYNN.js")],["ro",()=>import("./HE6ZJBOG.js")],["ru",()=>import("./YNGSTQ4R.js")],["sk",()=>import("./FB6NATRQ.js")],["sl",()=>import("./TGYJTTJS.js")],["sr",()=>import("./D7V3NS2J.js")],["sv",()=>import("./VN2EAAQF.js")],["th",()=>import("./FQ6G6HKC.js")],["tr",()=>import("./75LS6AUK.js")],["uk",()=>import("./DRM7BNH3.js")],["vi",()=>import("./FUR5QRYV.js")],["zh-cn",()=>import("./CARSEP6Y.js")],["zh-hk",()=>import("./YBQG5R2L.js")],["zh-tw",()=>import("./KRZMNBJS.js")]]);v.extend(bt);v.extend(It);v.extend(Ft);v.extend(Pt);v.extend(xt);var X=class extends K{constructor(){super(),this.userChangedValue=!1,this._value=null,this.disabled=!1,this.focusTrapDisabled=!1,this.hourFormat="user",this.messages=nt(),this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.readOnly=!1,this.required=!1,this.scale="m",this.status="idle",this.step=60,this.validity={valid:!1,badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1},this.calciteInputTimePickerBeforeClose=Y({cancelable:!1}),this.calciteInputTimePickerBeforeOpen=Y({cancelable:!1}),this.calciteInputTimePickerChange=Y(),this.calciteInputTimePickerClose=Y({cancelable:!1}),this.calciteInputTimePickerOpen=Y({cancelable:!1}),this.setLocalizedInputValue=t=>{this.setInputValue(this.getLocalizedTimeString(t))},this.listen("blur",this.hostBlurHandler),this.listen("keydown",this.keyDownHandler)}static{this.properties={calciteInputEl:16,effectiveHourFormat:16,disabled:7,focusTrapDisabled:7,form:3,hourFormat:3,max:3,messageOverrides:0,min:3,name:1,numberingSystem:1,open:7,overlayPositioning:1,placement:3,readOnly:7,required:7,scale:3,status:3,step:9,validationIcon:[3,{converter:J}],validationMessage:1,validity:0,value:1}}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}static{this.styles=Zt}get value(){return this._value}set value(t){let e=this._value;t!==e&&(this._value=t,this.valueWatcher(t))}async reposition(t=!1){this.popoverEl?.reposition(t)}async setFocus(){await rt(this),tt(this.el)}connectedCallback(){super.connectedCallback(),E(this.value)?this.setValueDirectly(this.value):this.value=void 0,ct(this),dt(this)}async load(){it(this),await this.loadLocaleData(),this.updateLocale()}willUpdate(t){t.has("open")&&(this.hasUpdated||this.open!==!1)&&this.openHandler(),t.has("disabled")&&(this.hasUpdated||this.disabled!==!1)&&(this.disabled||(this.open=!1)),t.has("hourFormat")&&this.updateLocale(),t.has("readOnly")&&(this.hasUpdated||this.readOnly!==!1)&&(this.readOnly||(this.open=!1)),t.has("messages")&&this.langWatcher(),t.has("numberingSystem")&&this.setLocalizedInputValue({numberingSystem:t.get("numberingSystem")}),t.has("step")&&(this.hasUpdated||this.step!==60)&&this.stepWatcher(this.step,t.get("step"))}updated(){ot(this)}loaded(){at(this),E(this.value)&&this.setLocalizedInputValue()}disconnectedCallback(){super.disconnectedCallback(),mt(this),pt(this)}async langWatcher(){await this.loadLocaleData(),this.updateLocale()}openHandler(){this.disabled||this.readOnly||this.popoverEl&&(this.popoverEl.open=this.open)}stepWatcher(t,e){(e>=60&&t>0&&t<60||t>=60&&e>0&&e<60)&&this.setValueDirectly(this.value)}valueWatcher(t){this.userChangedValue||this.setValueDirectly(t),this.userChangedValue=!1}hostBlurHandler(){let t=this.delocalizeTimeString(this.calciteInputEl.value);t?t!==this.value&&(this.setValue(t),this.setLocalizedInputValue()):this.setValue(""),this.deactivate()}calciteInternalInputFocusHandler(t){this.readOnly||t.stopPropagation()}calciteInternalInputInputHandler(t){let{messages:{_lang:e},numberingSystem:i}=this;if(i&&i!=="latn"){let s=t.target;O.numberFormatOptions={locale:e,numberingSystem:i,useGrouping:!1};let a=O.delocalize(s.value).split("").map(r=>lt.includes(r)?O.numberFormatter.format(Number(r)):r).join("");this.setInputValue(a)}}timePickerChangeHandler(t){t.stopPropagation();let e=t.target.value,i=this.shouldIncludeSeconds();this.setValue(Z(e,i)),this.setLocalizedInputValue({isoTimeString:e})}updateLocale(t=this.messages._lang){this.effectiveHourFormat=this.hourFormat==="user"?A(this.messages._lang):this.hourFormat,this.localeDefaultLTFormat=this.localeConfig.formats.LT,this.localeDefaultLTSFormat=this.localeConfig.formats.LTS,this.setLocalizedInputValue({locale:t})}popoverBeforeOpenHandler(t){t.stopPropagation(),this.calciteInputTimePickerBeforeOpen.emit()}popoverOpenHandler(t){t.stopPropagation(),this.calciteInputTimePickerOpen.emit()}popoverBeforeCloseHandler(t){t.stopPropagation(),this.calciteInputTimePickerBeforeClose.emit()}popoverCloseHandler(t){t.stopPropagation(),this.calciteInputTimePickerClose.emit(),this.open=!1}syncHiddenFormInput(t){vt("time",this,t)}delocalizeTimeString(t){v.locale(this.getSupportedDayjsLocale(this.messages._lang.toLowerCase()));let e=this.delocalizeTimeStringToParts(t),i;if(this.shouldIncludeFractionalSeconds()){let s=b(this.step),a=this.delocalizeTimeStringToParts(t,"S");if(s===1)i=a.millisecond!==0?this.getTimeStringFromParts(a):this.getTimeStringFromParts(e);else{let r=this.delocalizeTimeStringToParts(t,"SS");if(s===2)r.millisecond!==0?i=this.getTimeStringFromParts(r):a.millisecond!==0?i=this.getTimeStringFromParts(a):i=this.getTimeStringFromParts(e);else if(s>=3){let m=this.delocalizeTimeStringToParts(t,"SSS");m.millisecond!==0?i=this.getTimeStringFromParts(m):r.millisecond!==0?i=this.getTimeStringFromParts(r):a.millisecond!==0?i=this.getTimeStringFromParts(a):i=this.getTimeStringFromParts(e)}}}else i=this.getTimeStringFromParts(e);return i}delocalizeTimeStringToParts(t,e){let i=this.messages._lang,s=t,a=Tt(this.effectiveHourFormat,i)?St(i):A(i);if(C.has(i)&&a==="12"){let m=C.get(i).am,n=C.get(i).pm,l=_(i),c=l===l.toUpperCase()?"AM":"am",u=l===l.toUpperCase()?"PM":"pm";s=s.includes(n)?s.replaceAll(n,u):s.replaceAll(m,c)}this.setLocaleTimeFormat({fractionalSecondFormatToken:e,hourFormat:a});let r=v(s,["LTS","LT"]);return r.isValid()?{hour:r.get("hour"),minute:r.get("minute"),second:r.get("second"),millisecond:r.get("millisecond")}:{hour:null,minute:null,second:null,millisecond:null}}getTimeStringFromParts(t){let e="";if(!t)return e;if(t.hour!==null&&t.minute!==null&&(e=`${H(t.hour)}:${H(t.minute)}`,this.shouldIncludeSeconds()&&t.second!==null&&(e+=`:${H(t.second)}`,this.shouldIncludeFractionalSeconds()&&t.millisecond!==null))){let i=(t.millisecond*.001).toFixed(b(this.step));e+=`.${i.toString().replace("0.","")}`}return e}keyDownHandler(t){let{defaultPrevented:e,key:i}=t;if(!e)if(i==="Enter"){if(ut(this)&&(t.preventDefault(),this.calciteInputEl.setFocus()),t.composedPath().includes(this.calciteTimePickerEl))return;let s=this.delocalizeTimeString(this.calciteInputEl.value);E(s)?(this.setValue(s),this.setLocalizedInputValue()):this.setValue("")}else i==="ArrowDown"?(this.open=!0,t.preventDefault()):this.open&&this.focusTrapDisabled&&i==="Escape"&&(this.open=!1,t.preventDefault())}getSupportedDayjsLocale(t){let e=t.toLowerCase();return e==="no"?"nb":e==="pt-pt"?"pt":e}async loadLocaleData(){let t=W(this.messages._lang).toLowerCase();t=this.getSupportedDayjsLocale(t);let{default:e}=await Qt.get(t)();this.localeConfig=e,v.locale(this.localeConfig,null,!0),v.updateLocale(t,this.getExtendedLocaleConfig(t))}getExtendedLocaleConfig(t){if(t==="ar")return{meridiem:e=>e>12?"\u0645":"\u0635",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"}};if(t==="en-au")return{meridiem:e=>e>12?"pm":"am"};if(t==="en-ca")return{meridiem:e=>e>12?"p.m.":"a.m."};if(t==="el")return{meridiem:e=>e>12?"\u03BC.\u03BC.":"\u03C0.\u03BC."};if(t==="es-mx")return{formats:{LT:"h:mm a",LTS:"h:mm:ss a",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"}};if(t==="hi")return{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"},meridiem:e=>e>12?"pm":"am"};if(t==="ja")return{meridiem:e=>e>12?"\u5348\u5F8C":"\u5348\u524D"};if(t==="ko")return{meridiem:e=>e>12?"\uC624\uD6C4":"\uC624\uC804"};if(t==="no")return{meridiem:e=>e>12?"p.m.":"a.m."};if(t==="ru")return{meridiem:e=>e>12?"PM":"AM"};if(t==="zh-cn")return{meridiem:e=>e>12?"\u4E0B\u5348":"\u4E0A\u5348"};if(t==="zh-tw")return{formats:{LT:"Ah:mm",LTS:"Ah:mm:ss"}};if(t==="zh-hk")return{formats:{LT:"Ah:mm",LTS:"Ah:mm:ss"},meridiem:e=>e>12?"\u4E0B\u5348":"\u4E0A\u5348"}}getLocalizedTimeString(t){let e=t?.hourFormat==="12"||this.effectiveHourFormat&&this.effectiveHourFormat==="12",i=t?.locale??this.messages._lang,s=t?.numberingSystem??this.numberingSystem,a=t?.isoTimeString??this.value;return kt({fractionalSecondDigits:b(this.step),hour12:e,includeSeconds:this.shouldIncludeSeconds(),locale:i,numberingSystem:s,value:a})??""}onLabelClick(){this.setFocus()}shouldIncludeSeconds(){return this.step<60}shouldIncludeFractionalSeconds(){return b(this.step)>0}setCalcitePopoverEl(t){this.popoverEl=t,this.openHandler()}setInputEl(t){t&&(this.calciteInputEl=t)}setCalciteTimePickerEl(t){t&&(this.calciteTimePickerEl=t)}setLocaleTimeFormat({fractionalSecondFormatToken:t,hourFormat:e}){let i=this.messages._lang,s=A(i),a=/h+|H+/g,r=/\s+|a+|A+|\s+/g,m=this.localeConfig.formats.LT,n=this.localeConfig.formats.LTS;if(e==="12"&&s==="24"){let c=_(i),u=yt(i);m=m.replaceAll(a,"h"),m=m.replaceAll(r,""),m=u===0?`${c}${m}`:`${m}${c}`,n=n.replaceAll(a,"h"),n=n.replaceAll(r,""),n=u===0?`${c}${n}`:`${n}${c}`}else e==="24"&&s==="12"?(m=m.replaceAll(a,"H"),m=m.replaceAll(r,""),n=n.replaceAll(a,"H"),n=n.replaceAll(r,"")):(m=this.localeDefaultLTFormat,n=this.localeDefaultLTSFormat);let l=n?.match(/ss\.*(S+)/g);if(t&&this.shouldIncludeFractionalSeconds()){let c=`ss.${t}`;n=l?n.replace(l[0],c):n.replace("ss",c)}else l&&(n=n.replace(l[0],"ss"));this.localeConfig.formats.LT=m,this.localeConfig.formats.LTS=n,v.updateLocale(this.getSupportedDayjsLocale(W(i)),this.localeConfig)}setInputValue(t){this.calciteInputEl&&(this.calciteInputEl.value=t)}setValue(t){let e=this.value,i=Mt(t)||"";i!==e&&(this.userChangedValue=!0,this.value=i||"",this.calciteInputTimePickerChange.emit().defaultPrevented&&(this.userChangedValue=!1,this.value=e,this.setLocalizedInputValue({isoTimeString:e})))}setValueDirectly(t){let e=this.shouldIncludeSeconds();this.value=Z(t,e),this.setLocalizedInputValue()}onInputWrapperClick(){this.open=!this.open}deactivate(){this.open=!1}render(){let{disabled:t,messages:e,readOnly:i}=this;return st({disabled:this.disabled,children:U`<div class="input-wrapper" @click=${this.onInputWrapperClick}><calcite-input-text aria-errormessage=${Ct.validationMessage} aria-autocomplete=none aria-haspopup=dialog .ariaInvalid=${this.status==="invalid"} .disabled=${t} icon=clock .label=${ht(this)} lang=${this.messages._lang??w} @calciteInputTextInput=${this.calciteInternalInputInputHandler} @calciteInternalInputTextFocus=${this.calciteInternalInputFocusHandler} .readOnly=${i} role=combobox .scale=${this.scale} .status=${this.status} ${x(this.setInputEl)}>${!this.readOnly&&this.renderToggleIcon(this.open)||""}</calcite-input-text></div><calcite-popover auto-close .focusTrapDisabled=${this.focusTrapDisabled} .label=${e.chooseTime} lang=${this.messages._lang??w} @calcitePopoverBeforeClose=${this.popoverBeforeCloseHandler} @calcitePopoverBeforeOpen=${this.popoverBeforeOpenHandler} @calcitePopoverClose=${this.popoverCloseHandler} @calcitePopoverOpen=${this.popoverOpenHandler} .overlayPositioning=${this.overlayPositioning} .placement=${this.placement} .referenceElement=${this.calciteInputEl} trigger-disabled ${x(this.setCalcitePopoverEl)}><calcite-time-picker .hourFormat=${this.effectiveHourFormat} lang=${this.messages._lang??w} .messageOverrides=${this.messageOverrides} .numberingSystem=${this.numberingSystem} @calciteTimePickerChange=${this.timePickerChangeHandler} .scale=${this.scale} .step=${this.step} tabindex=${(this.open?void 0:-1)??w} .value=${this.value} ${x(this.setCalciteTimePickerEl)}></calcite-time-picker></calcite-popover>${ft({component:this})}${this.validationMessage&&this.status==="invalid"?gt({icon:this.validationIcon,id:Ct.validationMessage,message:this.validationMessage,scale:this.scale,status:this.status}):null}`})}renderToggleIcon(t){return U`<span class=${N(qt.toggleIcon)} slot=action><calcite-icon .icon=${t?"chevron-up":"chevron-down"} .scale=${et(this.scale)}></calcite-icon></span>`}};j("calcite-input-time-picker",X);export{X as InputTimePicker};
|
@@ -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 y}from"./I5RDDH5E.js";import{a as _,b as C,c as w,d as K}from"./A4JSLISH.js";import{a as E}from"./3OQ2ZMWE.js";import{a as j}from"./MZRLL3GR.js";import"./QP3WP6XK.js";import{a as P}from"./N2FZGLE3.js";import{a as M}from"./OUC47AKY.js";import{a as T}from"./XKQ2CMVV.js";import{a as F}from"./RS3QB5Z6.js";import{b as k}from"./R6R2QDCZ.js";import{D as p,b as A,e as g,n as R}from"./MBJAGWVS.js";import{a as V,b as L,d as U}from"./H6JENZS2.js";import"./ITIJ42U7.js";import{B as $,I as H,d as D,e as S,u as z,v as I,w as d,z as B}from"./TYYR7NIL.js";var l={assistiveText:"assistive-text",scrim:"scrim",container:"container",containerOpen:"container--open",content:"content",contentContainer:"content-container",containerEmbedded:"container--embedded",resizeHandle:"resize-handle",resizeHandleBar:"resize-handle-bar",height:"height"},q=10,N=25,W=D`:host{position:absolute;inset:0;z-index:var(--calcite-z-index-overlay);display:flex;visibility:hidden!important;--calcite-sheet-scrim-background-internal: rgba(0, 0, 0, .85);--calcite-scrim-shadow-block-start-internal: 0 4px 8px -1px rgba(0, 0, 0, .08), 0 2px 4px -1px rgba(0, 0, 0, .04);--calcite-scrim-shadow-block-end-internal: 0 -4px 8px -1px rgba(0, 0, 0, .08), 0 -2px 4px -1px rgba(0, 0, 0, .04);--calcite-scrim-shadow-inline-start-internal: 4px 0 8px -1px rgba(0, 0, 0, .08), 2px 0 4px -1px rgba(0, 0, 0, .04);--calcite-scrim-shadow-inline-end-internal: -4px 0 8px -1px rgba(0, 0, 0, .08), -2px 0 4px -1px rgba(0, 0, 0, .04)}.calcite--rtl{--calcite-scrim-shadow-inline-start-internal: -4px 0 8px -1px rgba(0, 0, 0, .08), -2px 0 4px -1px rgba(0, 0, 0, .04);--calcite-scrim-shadow-inline-end-internal: 4px 0 8px -1px rgba(0, 0, 0, .08), 2px 0 4px -1px rgba(0, 0, 0, .04)}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.container{visibility:hidden;position:fixed;z-index:var(--calcite-z-index-overlay);box-sizing:border-box;display:flex;color:var(--calcite-color-text-2);opacity:0;transition:visibility 0ms linear var(--calcite-internal-animation-timing-medium),opacity var(--calcite-internal-animation-timing-medium) cubic-bezier(.215,.44,.42,.88)}:host([position=inline-start]) .container{justify-content:flex-start;inset-block:0;inset-inline:0 auto;--calcite-sheet-hidden-position-internal: translate3d(-1rem, 0, 0)}:host([position=inline-end]) .container{justify-content:flex-end;inset-block:0;inset-inline:auto 0;--calcite-sheet-hidden-position-internal: translate3d(1rem, 0, 0)}:host([position=block-start]) .container{align-items:flex-start;inset-block:0 auto;inset-inline:0;--calcite-sheet-hidden-position-internal: translate3d(0, -1rem, 0)}:host([position=block-end]) .container{align-items:flex-end;inset-block:auto 0;inset-inline:0;--calcite-sheet-hidden-position-internal: translate3d(0, 1rem, 0)}:host([display-mode=float]) .content{--tw-shadow: 0 2px 12px -4px rgba(0, 0, 0, .2), 0 2px 4px -2px rgba(0, 0, 0, .16);--tw-shadow-colored: 0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -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)}:host([display-mode=overlay][position=inline-start]) .container{box-shadow:var(--calcite-scrim-shadow-inline-start-internal)}:host([display-mode=overlay][position=inline-end]) .container{box-shadow:var(--calcite-scrim-shadow-inline-end-internal)}:host([display-mode=overlay][position=block-start]) .container{box-shadow:var(--calcite-scrim-shadow-block-start-internal)}:host([display-mode=overlay][position=block-end]) .container{box-shadow:var(--calcite-scrim-shadow-block-end-internal)}:host([position^=inline]) .content{inline-size:var(--calcite-sheet-width-internal);max-inline-size:var(--calcite-sheet-max-width-internal);min-inline-size:var(--calcite-sheet-min-width-internal)}:host([position^=block]) .content{block-size:var(--calcite-sheet-height-internal);max-block-size:var(--calcite-sheet-max-height-internal);min-block-size:var(--calcite-sheet-min-height-internal)}:host([position^=inline]) .width-s{--calcite-sheet-width-internal: var(--calcite-sheet-width, 15vw);--calcite-sheet-max-width-internal: var(--calcite-sheet-max-width, 360px);--calcite-sheet-min-width-internal: var(--calcite-sheet-min-width, 260px)}:host([position^=inline]) .width-m{--calcite-sheet-width-internal: var(--calcite-sheet-width, 25vw);--calcite-sheet-max-width-internal: var(--calcite-sheet-max-width, 420px);--calcite-sheet-min-width-internal: var(--calcite-sheet-min-width, 300px)}:host([position^=inline]) .width-l{--calcite-sheet-width-internal: var(--calcite-sheet-width, 45vw);--calcite-sheet-max-width-internal: var(--calcite-sheet-max-width, 680px);--calcite-sheet-min-width-internal: var(--calcite-sheet-min-width, 340px)}:host([position^=block]) .height-s{--calcite-sheet-min-height-internal: var(--calcite-sheet-min-height, 160px);--calcite-sheet-height-internal: var(--calcite-sheet-height, 30vh);--calcite-sheet-max-height-internal: var(--calcite-sheet-max-height, 30vh)}:host([position^=block]) .height-m{--calcite-sheet-min-height-internal: var(--calcite-sheet-min-height, 200px);--calcite-sheet-height-internal: var(--calcite-sheet-height, 45vh);--calcite-sheet-max-height-internal: var(--calcite-sheet-max-height, 50vh)}:host([position^=block]) .height-l{--calcite-sheet-min-height-internal: var(--calcite-sheet-min-height, 240px);--calcite-sheet-height-internal: var(--calcite-sheet-height, 60vh);--calcite-sheet-max-height-internal: var(--calcite-sheet-max-height, 70vh)}.scrim{--calcite-scrim-background: var(--calcite-sheet-scrim-background, var(--calcite-sheet-scrim-background-internal));position:fixed;inset:0;display:flex;overflow:hidden}:host([opened]){visibility:visible!important}.content{position:relative;z-index:var(--calcite-z-index-modal);box-sizing:border-box;display:flex;max-inline-size:100%;padding:0;background-color:var(--calcite-color-foreground-1);max-block-size:100%;visibility:hidden;transition:transform var(--calcite-internal-animation-timing-medium) cubic-bezier(.215,.44,.42,.88),visibility 0ms linear var(--calcite-internal-animation-timing-medium),opacity var(--calcite-internal-animation-timing-medium) cubic-bezier(.215,.44,.42,.88);transform:var(--calcite-sheet-hidden-position-internal)}.content-container{position:relative;display:flex;max-block-size:100%;max-inline-size:100%;flex:1 1 0%;overflow:hidden}.container--open .content{transform:translateZ(0)}:host([display-mode=float]) .content,:host([display-mode=float]) .container,:host([display-mode=float]) .content-container{border-radius:.25rem}:host([display-mode=float]) .container{padding:.75rem}.container--open{visibility:visible;opacity:1;transition-delay:0ms}.container--open .content{pointer-events:auto;visibility:visible;opacity:1;transition:transform var(--calcite-internal-animation-timing-medium) cubic-bezier(.215,.44,.42,.88),visibility 0ms linear,opacity var(--calcite-internal-animation-timing-medium) cubic-bezier(.215,.44,.42,.88),max-inline-size var(--calcite-internal-animation-timing-medium) cubic-bezier(.215,.44,.42,.88),max-block-size var(--calcite-internal-animation-timing-medium) cubic-bezier(.215,.44,.42,.88);transition-delay:0ms}:host([position=inline-start]) .content,:host([position=inline-end]) .content{block-size:100%}:host([position=inline-start]) .content{flex-direction:row}:host([position=inline-end]) .content{flex-direction:row-reverse}:host([position=block-start]) .content,:host([position=block-end]) .content{inline-size:100%}:host([position=block-start]) .content{flex-direction:column}:host([position=block-end]) .content{flex-direction:column-reverse}:host([resizable][position=inline-start]) .content{padding-inline-end:var(--calcite-size-fixed-sm-plus)}:host([resizable][position=inline-end]) .content{padding-inline-start:var(--calcite-size-fixed-sm-plus)}:host([resizable][position=block-start]) .content{padding-block-end:var(--calcite-size-fixed-sm-plus)}:host([resizable][position=block-end]) .content{padding-block-start:var(--calcite-size-fixed-sm-plus)}.resize-handle{position:absolute;box-sizing:border-box;display:flex;-webkit-user-select:none;user-select:none;align-items:center;justify-content:center;outline:2px solid transparent;outline-offset:2px;--calcite-internal-sheet-resize-handle-offset: calc( (var(--calcite-size-fixed-xxl) - var(--calcite-size-fixed-sm-plus)) / 2 * -1 );z-index:var(--calcite-z-index-overlay)}.resize-handle:active .resize-handle-bar,.resize-handle:hover .resize-handle-bar{background-color:var(--calcite-color-foreground-3);color:var(--calcite-color-text-1)}.resize-handle-bar{pointer-events:none;display:flex;align-items:center;justify-content:center;background-color:var(--calcite-color-background);color:var(--calcite-color-border-input)}.resize-handle:focus .resize-handle-bar{outline-color:transparent;outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)))}:host([position=inline-start]) .resize-handle{inline-size:var(--calcite-size-fixed-xxl);right:var(--calcite-internal-sheet-resize-handle-offset);block-size:100%}:host([position=inline-start]) .resize-handle-bar{block-size:100%;inline-size:var(--calcite-size-fixed-sm-plus);border-inline-start:1px solid var(--calcite-color-border-3)}:host([position=inline-start]):host([display-mode=float]) .resize-handle-bar{border-start-end-radius:.25rem;border-end-end-radius:.25rem}:host([position=inline-end]) .resize-handle{inline-size:var(--calcite-size-fixed-xxl);left:var(--calcite-internal-sheet-resize-handle-offset);block-size:100%}:host([position=inline-end]) .resize-handle-bar{block-size:100%;inline-size:var(--calcite-size-fixed-sm-plus);border-inline-end:1px solid var(--calcite-color-border-3)}:host([position=inline-end]):host([display-mode=float]) .resize-handle-bar{border-start-start-radius:.25rem;border-end-start-radius:.25rem}:host([position=block-start]) .resize-handle{block-size:var(--calcite-size-fixed-xxl);inline-size:100%;inset-block-end:var(--calcite-internal-sheet-resize-handle-offset)}:host([position=block-start]) .resize-handle-bar{inline-size:100%;block-size:var(--calcite-size-fixed-sm-plus);border-block-start:1px solid var(--calcite-color-border-3)}:host([position=block-start]):host([display-mode=float]) .resize-handle-bar{border-end-end-radius:.25rem;border-end-start-radius:.25rem}:host([position=block-end]) .resize-handle{block-size:var(--calcite-size-fixed-xxl);inline-size:100%;inset-block-start:var(--calcite-internal-sheet-resize-handle-offset)}:host([position=block-end]) .resize-handle-bar{inline-size:100%;block-size:var(--calcite-size-fixed-sm-plus);border-block-end:1px solid var(--calcite-color-border-3)}:host([position=block-end]):host([display-mode=float]) .resize-handle-bar{border-start-start-radius:.25rem;border-start-end-radius:.25rem}:host([position]) .container--embedded{pointer-events:auto;position:absolute;inline-size:100%;max-inline-size:100%;min-inline-size:100%;block-size:100%;max-block-size:100%;min-block-size:100%}:host([position]) .container--embedded calcite-scrim{position:absolute}:host([hidden]){display:none}[hidden]{display:none}`,O=class extends I{constructor(){super(),this.ignoreOpenChange=!1,this.messages=F(),this.mutationObserver=T("mutation",()=>this.handleMutationObserver()),this._open=!1,this.openEnd=()=>{this.setFocus(),this.el.removeEventListener("calciteSheetOpen",this.openEnd)},this.openTransitionProp="opacity",this.resizeValues={inlineSize:0,blockSize:0,minInlineSize:0,minBlockSize:0,maxInlineSize:0,maxBlockSize:0},this.displayMode="overlay",this.embedded=!1,this.escapeDisabled=!1,this.focusTrapDisabled=!1,this.heightScale="m",this.opened=!1,this.outsideCloseDisabled=!1,this.position="inline-start",this.resizable=!1,this.widthScale="m",this.calciteSheetBeforeClose=z({cancelable:!1}),this.calciteSheetBeforeOpen=z({cancelable:!1}),this.calciteSheetClose=z({cancelable:!1}),this.calciteSheetOpen=z({cancelable:!1}),this.keyDownHandler=e=>{let{defaultPrevented:t,key:s}=e;!t&&!this.escapeDisabled&&this.focusTrapDisabled&&this.open&&s==="Escape"&&(e.preventDefault(),this.open=!1)},this.listen("keydown",this.keyDownHandler)}static{this.properties={resizeValues:16,beforeClose:0,displayMode:3,embedded:5,escapeDisabled:7,focusTrapDisabled:7,heightScale:3,height:3,label:1,messageOverrides:0,open:7,opened:7,outsideCloseDisabled:7,position:3,resizable:7,widthScale:3,width:3}}static{this.styles=W}get open(){return this._open}set open(e){let t=this._open;e!==t&&(this._open=e,this.toggleSheet(e))}async setFocus(){await U(this),R(this.el)}async updateFocusTrapElements(){K(this)}connectedCallback(){super.connectedCallback(),this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),_(this,{focusTrapOptions:{clickOutsideDeactivates:!1,escapeDeactivates:e=>(!e.defaultPrevented&&!this.escapeDisabled&&(this.open=!1,e.preventDefault()),!1)}}),this.setupInteractions()}load(){V(this),this.open&&this.openSheet()}willUpdate(e){e.has("focusTrapDisabled")&&(this.hasUpdated||this.focusTrapDisabled!==!1)&&this.handleFocusTrapDisabled(this.focusTrapDisabled),e.has("opened")&&(this.hasUpdated||this.opened!==!1)&&P(this),(e.has("open")&&(this.hasUpdated||this.open!==!1)||e.has("position")&&(this.hasUpdated||this.position!=="inline-start")||e.has("resizable")&&(this.hasUpdated||this.resizable!==!1))&&this.setupInteractions()}loaded(){L(this)}disconnectedCallback(){super.disconnectedCallback(),this.removeOverflowHiddenClass(),this.mutationObserver?.disconnect(),w(this),this.embedded=!1,this.cleanupInteractions()}handleFocusTrapDisabled(e){this.open&&(e?w(this):C(this))}toggleSheet(e){this.ignoreOpenChange||(e?this.openSheet():this.closeSheet())}getResizeIcon(){let{position:e}=this;return e==="block-start"||e==="block-end"?"drag-resize-vertical":"drag-resize-horizontal"}getContentElDOMRect(){return this.contentEl.getBoundingClientRect()}handleKeyDown(e){let{key:t,defaultPrevented:s,shiftKey:n}=e,{position:i,resizable:o,contentEl:m,el:r,resizeValues:{maxBlockSize:x,maxInlineSize:u,minBlockSize:v,minInlineSize:f}}=this,c=[...i==="block-end"||i==="block-start"?["ArrowUp","ArrowDown"]:["ArrowLeft","ArrowRight"],"Home","End"];if(!o||!m||s||!c.includes(t))return;let h=this.getContentElDOMRect(),b=g(r)==="rtl"?-1:1,a=n?N:q;switch(t){case"ArrowUp":this.updateSize({size:h.height+(i==="block-end"?a:-a),type:"blockSize"}),e.preventDefault();break;case"ArrowDown":this.updateSize({size:h.height+(i==="block-end"?-a:a),type:"blockSize"}),e.preventDefault();break;case"ArrowLeft":this.updateSize({size:h.width+(i==="inline-end"?a:-a)*b,type:"inlineSize"}),e.preventDefault();break;case"ArrowRight":this.updateSize({size:h.width+(i==="inline-end"?-a:a)*b,type:"inlineSize"}),e.preventDefault();break;case"Home":this.updateSize({size:i==="block-start"||i==="block-end"?v:f,type:i==="block-start"||i==="block-end"?"blockSize":"inlineSize"});break;case"End":this.updateSize({size:i==="block-start"||i==="block-end"?x:u,type:i==="block-start"||i==="block-end"?"blockSize":"inlineSize"});break}}updateSize({type:e,size:t}){let{contentEl:s,resizeValues:n}=this;if(!s)return;let i=e==="blockSize"?"minBlockSize":"minInlineSize",o=e==="blockSize"?"maxBlockSize":"maxInlineSize",m=n[i]&&n[o]?j(t,n[i],n[o]):t,r=Math.round(m);this.resizeValues={...n,[e]:r},s.style[e]=t!==null?`${r}px`:null}cleanupInteractions(){this.interaction?.unset(),this.updateSize({size:null,type:"inlineSize"}),this.updateSize({size:null,type:"blockSize"})}setupInteractions(){this.cleanupInteractions();let{el:e,contentEl:t,resizable:s,position:n,open:i,resizeHandleEl:o}=this;if(!t||!i||!s||!o)return;let{inlineSize:m,minInlineSize:r,blockSize:x,minBlockSize:u,maxInlineSize:v,maxBlockSize:f}=window.getComputedStyle(t),c={inlineSize:p(m)?parseInt(m):0,blockSize:p(x)?parseInt(x):0,minInlineSize:p(r)?parseInt(r):0,minBlockSize:p(u)?parseInt(u):0,maxInlineSize:p(v)?parseInt(v):window.innerWidth,maxBlockSize:p(f)?parseInt(f):window.innerHeight};this.resizeValues=c;let h=g(e)==="rtl";this.interaction=y(t,{context:e.ownerDocument}).resizable({edges:{top:n==="block-end"?o:!1,right:n===(h?"inline-end":"inline-start")?o:!1,bottom:n==="block-start"?o:!1,left:n===(h?"inline-start":"inline-end")?o:!1},modifiers:[y.modifiers.restrictSize({min:{width:c.minInlineSize,height:c.minBlockSize},max:{width:c.maxInlineSize,height:c.maxBlockSize}})],listeners:{move:({rect:b})=>{let a=n==="block-start"||n==="block-end";this.updateSize({size:a?b.height:b.width,type:a?"blockSize":"inlineSize"})}}})}onBeforeOpen(){this.calciteSheetBeforeOpen.emit()}onOpen(){this.calciteSheetOpen.emit(),C(this)}onBeforeClose(){this.calciteSheetBeforeClose.emit()}onClose(){this.calciteSheetClose.emit(),w(this)}setResizeHandleEl(e){this.resizeHandleEl=e,this.setupInteractions()}setContentEl(e){this.contentEl=e,this.contentId=A(e)}setTransitionEl(e){this.transitionEl=e}async openSheet(){await this.componentOnReady(),this.el.addEventListener("calciteSheetOpen",this.openEnd),this.opened=!0,this.embedded||(this.initialOverflowCSS=document.documentElement.style.overflow,document.documentElement.style.setProperty("overflow","hidden"))}handleOutsideClose(){this.outsideCloseDisabled||(this.open=!1)}async closeSheet(){if(this.beforeClose)try{await this.beforeClose(this.el)}catch{requestAnimationFrame(()=>{this.ignoreOpenChange=!0,this.open=!0,this.ignoreOpenChange=!1});return}this.opened=!1,this.removeOverflowHiddenClass()}removeOverflowHiddenClass(){document.documentElement.style.setProperty("overflow",this.initialOverflowCSS)}handleMutationObserver(){this.updateFocusTrapElements()}render(){let{resizable:e,position:t,resizeValues:s}=this,n=g(this.el),i=t==="block-start"||t==="block-end";return B(this.el,"aria-describedby",this.contentId),this.el.ariaLabel=this.label,this.el.ariaModal="true",this.el.role="dialog",S`<div class=${d({[l.container]:!0,[l.containerOpen]:this.opened,[l.containerEmbedded]:this.embedded,[$.rtl]:n==="rtl",[E("width",this.width,this.widthScale)]:!!(this.width||this.widthScale),[E("height",this.height,this.heightScale)]:!!(this.height||this.heightScale)})} ${k(this.setTransitionEl)}><calcite-scrim class=${d(l.scrim)} @click=${this.handleOutsideClose}></calcite-scrim><div class=${d(l.content)} ${k(this.setContentEl)}><div class=${d(l.contentContainer)}><slot></slot></div>${e?M("resize-handle",S`<div .ariaLabel=${this.messages.resizeEnabled} .ariaOrientation=${i?"vertical":"horizontal"} .ariaValueMax=${i?s.maxBlockSize:s.maxInlineSize} .ariaValueMin=${i?s.minBlockSize:s.minInlineSize} .ariaValueNow=${i?s.blockSize:s.inlineSize} class=${d(l.resizeHandle)} @keydown=${this.handleKeyDown} role=separator tabindex=0 touch-action=none ${k(this.setResizeHandleEl)}><div class=${d(l.resizeHandleBar)}><calcite-icon .icon=${this.getResizeIcon()} scale=s></calcite-icon></div></div>`):null}</div></div>`}};H("calcite-sheet",O);export{O as Sheet};
|
@@ -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{F as n}from"./TYYR7NIL.js";var l="calcite-list",o="calcite-list-item-group",i="calcite-list-item";function r(s){let t=s.parentElement?.closest(i);t&&(t.open=!0,r(t))}function f(s){let t=s.assignedElements({flatten:!0}),e=t.filter(a=>a?.matches(o)).map(a=>Array.from(a.querySelectorAll(i))).flat(),c=t.filter(a=>a?.matches(i));return{lists:t.filter(a=>a?.matches(l)),items:e.concat(c)}}function u(s){let t=s.assignedElements({flatten:!0}).filter(e=>e?.matches(i));t.forEach(e=>{e.setPosition=t.indexOf(e)+1,e.setSize=t.length})}function h(s,t=!1){if(!n())return 0;let e=t?"ancestor::calcite-list-item | ancestor::calcite-list-item-group":"ancestor::calcite-list-item";return document.evaluate(e,s,null,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null).snapshotLength}export{l as a,o as b,i as c,r as d,f as e,u as f,h as g};
|
@@ -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 _={name:"tr",weekdays:"Pazar_Pazartesi_Sal\u0131_\xC7ar\u015Famba_Per\u015Fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_\xC7ar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_\xC7a_Pe_Cu_Ct".split("_"),months:"Ocak_\u015Eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011Fustos_Eyl\xFCl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015Eub_Mar_Nis_May_Haz_Tem_A\u011Fu_Eyl_Eki_Kas_Ara".split("_"),weekStart:1,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"%s sonra",past:"%s \xF6nce",s:"birka\xE7 saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xFCn",dd:"%d g\xFCn",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(r){return r+"."}};a.locale(_,null,!0);var e=_;export{e 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
|
-
var a=class{constructor(){this._formatterCache=new Map,this._commonDateTimeFormatterOptions={year:"numeric",month:"2-digit",day:"2-digit",timeZoneName:"shortOffset"}}get name(){return"native"}create(t){return new Date(t)}increase(t){return new Date(t.getTime()+864e5)}formatToIsoDateString(t){let e=t.getFullYear(),n=t.getMonth()+1,r=t.getDate();return`${e}-${n.toString().padStart(2,"0")}-${r.toString().padStart(2,"0")}`}isoToTimeZone(t,e){let n=this._toDate(t),o=this._getFormatter(e).formatToParts(n),[i]=o.filter(({type:s})=>s==="timeZoneName").map(({value:s})=>s),m=this._getTimeZoneOffsetInMins(i),c=n.getMinutes()-(n.getTimezoneOffset()-m);return n.setMinutes(c),n}same(t,e){return t.getTime()===e.getTime()}_toDate(t){return new Date(t)}_getFormatter(t){t==="Factory"&&(t="Etc/GMT");let e=this._formatterCache.get(t);return e||(e=new Intl.DateTimeFormat("en-US",{timeZone:t,...this._commonDateTimeFormatterOptions}),this._formatterCache.set(t,e)),e}_getTimeZoneOffsetInMins(t){let[e,...n]=t.slice(3),[r,o]=n.join("").split(":");return(e==="+"?1:-1)*(Number(r)*60+Number(o||0))}};export{a as DateEngine};
|
@@ -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 e}from"./QIG2J5PE.js";import"./J4RAJYKF.js";var _={name:"pt-br",weekdays:"domingo_segunda-feira_ter\xE7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xE1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_s\xE1b".split("_"),weekdaysMin:"Do_2\xAA_3\xAA_4\xAA_5\xAA_6\xAA_S\xE1".split("_"),months:"janeiro_fevereiro_mar\xE7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function(a){return a+"\xBA"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xE0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xE0s] HH:mm"},relativeTime:{future:"em %s",past:"h\xE1 %s",s:"poucos segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xEAs",MM:"%d meses",y:"um ano",yy:"%d anos"}};e.locale(_,null,!0);var m=_;export{m 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{b as n}from"./QIG2J5PE.js";import"./J4RAJYKF.js";function u(t,a,s,k){var l={s:"muutama sekunti",m:"minuutti",mm:"%d minuuttia",h:"tunti",hh:"%d tuntia",d:"p\xE4iv\xE4",dd:"%d p\xE4iv\xE4\xE4",M:"kuukausi",MM:"%d kuukautta",y:"vuosi",yy:"%d vuotta",numbers:"nolla_yksi_kaksi_kolme_nelj\xE4_viisi_kuusi_seitsem\xE4n_kahdeksan_yhdeks\xE4n".split("_")},m={s:"muutaman sekunnin",m:"minuutin",mm:"%d minuutin",h:"tunnin",hh:"%d tunnin",d:"p\xE4iv\xE4n",dd:"%d p\xE4iv\xE4n",M:"kuukauden",MM:"%d kuukauden",y:"vuoden",yy:"%d vuoden",numbers:"nollan_yhden_kahden_kolmen_nelj\xE4n_viiden_kuuden_seitsem\xE4n_kahdeksan_yhdeks\xE4n".split("_")},i=k&&!a?m:l,e=i[s];return t<10?e.replace("%d",i.numbers[t]):e.replace("%d",t)}var _={name:"fi",weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xE4kuu_hein\xE4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xE4_hein\xE4_elo_syys_loka_marras_joulu".split("_"),ordinal:function(a){return a+"."},weekStart:1,yearStart:4,relativeTime:{future:"%s p\xE4\xE4st\xE4",past:"%s sitten",s:u,m:u,mm:u,h:u,hh:u,d:u,dd:u,M:u,MM:u,y:u,yy:u},formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM[ta] YYYY",LLL:"D. MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, D. MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"D. MMM YYYY",lll:"D. MMM YYYY, [klo] HH.mm",llll:"ddd, D. MMM YYYY, [klo] HH.mm"}};n.locale(_,null,!0);var o=_;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
|
-
import{b as h}from"./FQTOWUOI.js";var A=new RegExp("\\.(0+)?$"),_=new RegExp("0+$"),u=class t{static{this.DECIMALS=100}static{this.ROUNDED=!0}static{this.SHIFT=BigInt("1"+"0".repeat(this.DECIMALS))}constructor(e){if(e instanceof t)return e;let[n,i]=j(e).split(".").concat("");this.value=BigInt(n+i.padEnd(t.DECIMALS,"0").slice(0,t.DECIMALS))+BigInt(t.ROUNDED&&i[t.DECIMALS]>="5"),this.isNegative=e.charAt(0)==="-"}static{this._divRound=(e,n)=>t.fromBigInt(e/n+(t.ROUNDED?e*BigInt(2)/n%BigInt(2):BigInt(0)))}static{this.fromBigInt=e=>Object.assign(Object.create(t.prototype),{value:e,isNegative:e<BigInt(0)})}getIntegersAndDecimals(){let e=this.value.toString().replace("-","").padStart(t.DECIMALS+1,"0"),n=e.slice(0,-t.DECIMALS),i=e.slice(-t.DECIMALS).replace(_,"");return{integers:n,decimals:i}}toString(){let{integers:e,decimals:n}=this.getIntegersAndDecimals();return`${this.isNegative?"-":""}${e}${n.length?"."+n:""}`}formatToParts(e){let{integers:n,decimals:i}=this.getIntegersAndDecimals(),r=e.numberFormatter.formatToParts(BigInt(n));return this.isNegative&&r.unshift({type:"minusSign",value:e.minusSign}),i.length&&(r.push({type:"decimal",value:e.decimal}),i.split("").forEach(s=>r.push({type:"fraction",value:s}))),r}format(e){let{integers:n,decimals:i}=this.getIntegersAndDecimals(),r=`${this.isNegative?e.minusSign:""}${e.numberFormatter.format(BigInt(n))}`,s=i.length?`${e.decimal}${i.split("").map(p=>e.numberFormatter.format(Number(p))).join("")}`:"";return`${r}${s}`}add(e){return t.fromBigInt(this.value+new t(e).value)}subtract(e){return t.fromBigInt(this.value-new t(e).value)}multiply(e){return t._divRound(this.value*new t(e).value,t.SHIFT)}divide(e){return t._divRound(this.value*t.SHIFT,new t(e).value)}};function f(t){return!(!t||isNaN(Number(t)))}function P(t){return!t||!k(t)?"":g(t,e=>{let n=!1,i=e.split("").filter((r,s)=>r.match(/\./g)&&!n?(n=!0,!0):r.match(/-/g)&&s===0?!0:h.includes(r)).join("");return f(i)?new u(i).toString():""})}var w=/^([-0])0+(?=\d)/,B=/(?!^\.)\.$/,R=/(?!^-)-/g,x=/^-\b0\b\.?0*$/,M=/0*$/,U=t=>g(t,e=>{let n=e.replace(R,"").replace(B,"").replace(w,"$1");return f(n)?x.test(n)?n:T(n):e});function T(t){let e=t.split(".")[1],n=new u(t).toString(),[i,r]=n.split(".");return e&&r!==e?`${i}.${e}`:n}function g(t,e){if(!t)return t;let n=t.toLowerCase().indexOf("e")+1;return n?t.replace(/[eE]*$/g,"").substring(0,n).concat(t.slice(n).replace(/[eE]/g,"")).split(/[eE]/).map((i,r)=>e(r===1?i.replace(/\./g,""):i)).join("e").replace(/^e/,"1e"):e(t)}function j(t){let e=t.split(/[eE]/);if(e.length===1)return t;let n=+t;if(Number.isSafeInteger(n))return`${n}`;let i=t.charAt(0)==="-",r=+e[1],s=e[0].split("."),p=(i?s[0].substring(1):s[0])||"",$=s[1]||"",D=(a,m)=>{let l=Math.abs(m)-a.length,S=l>0?`${"0".repeat(l)}${a}`:a;return`${S.slice(0,m)}.${S.slice(m)}`},y=(a,m)=>{let l=m>a.length?`${a}${"0".repeat(m-a.length)}`:a;return`${l.slice(0,m)}.${l.slice(m)}`},v=r>0?`${p}${y($,r)}`:`${D(p,r)}${$}`;return`${i?"-":""}${v.charAt(0)==="."?"0":""}${v.replace(A,"").replace(w,"")}`}function k(t){return h.some(e=>t.includes(e))}function J(t,e,n){let i=e.split(".")[1];if(i){let r=i.match(M)[0];if(r&&n.delocalize(t).length!==e.length&&i.indexOf("e")===-1){let s=n.decimal;return t=t.includes(s)?t:`${t}${s}`,t.padEnd(t.length+r.length,n.localize("0"))}}return t}var c="en",F=["ar","bg","bs","ca","cs","da","de","el",c,"es","et","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","no","nl","pl","pt-BR","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"],O=["ar","bg","bs","ca","cs","da","de","de-AT","de-CH","el",c,"en-AU","en-CA","en-GB","es","es-MX","et","fi","fr","fr-CH","he","hi","hr","hu","id","it","it-CH","ja","ko","lt","lv","mk","no","nl","pl","pt","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"],K=new Map(Object.entries({bg:{am:"\u043F\u0440.\u043E\u0431.",pm:"\u0441\u043B.\u043E\u0431."},bs:{am:"prijepodne",pm:"popodne"},ca:{am:"a.\xA0m.",pm:"p.\xA0m."},cs:{am:"dop.",pm:"odp."},es:{am:"a.\xA0m.",pm:"p.\xA0m."},"es-mx":{am:"a.m.",pm:"p.m."},"es-MX":{am:"a.m.",pm:"p.m."},fi:{am:"ap.",pm:"ip."},he:{am:"\u05DC\u05E4\u05E0\u05D4\u05F4\u05E6",pm:"\u05D0\u05D7\u05D4\u05F4\u05E6"},hu:{am:"de. ",pm:"du."},lt:{am:"prie\u0161piet",pm:"popiet"},lv:{am:"priek\u0161pusdien\u0101",pm:"p\u0113cpusdien\u0101"},mk:{am:"\u043F\u0440\u0435\u0442\u043F\u043B.",pm:"\u043F\u043E\u043F\u043B."},no:{am:"a.m.",pm:"p.m."},nl:{am:"a.m.",pm:"p.m."},"pt-pt":{am:"da manh\xE3",pm:"da tarde"},"pt-PT":{am:"da manh\xE3",pm:"da tarde"},ro:{am:"a.m.",pm:"p.m."},sl:{am:"dop.",pm:"pop."},sv:{am:"fm",pm:"em"},th:{am:"\u0E01\u0E48\u0E2D\u0E19\u0E40\u0E17\u0E35\u0E48\u0E22\u0E07",pm:"\u0E2B\u0E25\u0E31\u0E07\u0E40\u0E17\u0E35\u0E48\u0E22\u0E07"},tr:{am:"\xD6\xD6",pm:"\xD6S"},uk:{am:"\u0434\u043F",pm:"\u043F\u043F"},vi:{am:"SA",pm:"CH"}})),H=["arab","arabext","latn"];[...new Set([...F,...O])];var E=t=>H.includes(t),d=new Intl.NumberFormat().resolvedOptions().numberingSystem,C=d==="arab"||!E(d)?"latn":d,z=t=>E(t)?t:C;function N(t,e="cldr"){let n=e==="cldr"?O:F;return t?n.includes(t)?t:(t=t.toLowerCase(),t==="nb"?"no":e==="t9n"&&t==="pt"?"pt-BR":(t.includes("-")&&(t=t.replace(/(\w+)-(\w+)/,(i,r,s)=>`${r}-${s.toUpperCase()}`),n.includes(t)||(t=t.split("-")[0])),t==="zh"?"zh-CN":n.includes(t)?t:(console.warn(`Translations for the "${t}" locale are not available and will fall back to the default, English (en).`),c))):c}function W(t){switch(t){case"it-CH":return"de-CH";case"bs":return"bs-Cyrl";default:return t}}var b=class{constructor(){this.delocalize=e=>this._numberFormatOptions?g(e,n=>n.replace(new RegExp(`[${this._minusSign}]`,"g"),"-").replace(new RegExp(`[${this._group}]`,"g"),"").replace(new RegExp(`[${this._decimal}]`,"g"),".").replace(new RegExp(`[${this._digits.join("")}]`,"g"),this._getDigitIndex)):e,this.localize=e=>this._numberFormatOptions?g(e,n=>f(n.trim())?new u(n.trim()).format(this).replace(new RegExp(`[${this._actualGroup}]`,"g"),this._group):n):e}get group(){return this._group}get decimal(){return this._decimal}get minusSign(){return this._minusSign}get digits(){return this._digits}get numberFormatter(){return this._numberFormatter}get numberFormatOptions(){return this._numberFormatOptions}set numberFormatOptions(e){if(e.locale=N(e?.locale),e.numberingSystem=z(e?.numberingSystem),!this._numberFormatOptions&&e.locale===c&&e.numberingSystem===C&&Object.keys(e).length===2||JSON.stringify(this._numberFormatOptions)===JSON.stringify(e))return;this._numberFormatOptions=e,this._numberFormatter=new Intl.NumberFormat(this._numberFormatOptions.locale,this._numberFormatOptions),this._digits=[...new Intl.NumberFormat(this._numberFormatOptions.locale,{useGrouping:!1,numberingSystem:this._numberFormatOptions.numberingSystem}).format(9876543210)].reverse();let n=new Map(this._digits.map((r,s)=>[r,s])),i=new Intl.NumberFormat(this._numberFormatOptions.locale,{numberingSystem:this._numberFormatOptions.numberingSystem}).formatToParts(-123456789e-1);this._actualGroup=i.find(r=>r.type==="group").value,this._group=this._actualGroup.trim().length===0||this._actualGroup==" "?"\xA0":this._actualGroup,this._decimal=e.locale==="bs"||e.locale==="mk"?",":i.find(r=>r.type==="decimal").value,this._minusSign=i.find(r=>r.type==="minusSign").value,this._getDigitIndex=r=>n.get(r)}},X=new b,o,I;function L(t={}){return Object.entries(t).sort(([e],[n])=>e.localeCompare(n)).map(e=>`${e[0]}-${e[1]}`).flat().join(":")}function q(t,e){t=N(t),o||(o=new Map),I!==t&&(o.clear(),I=t);let n=L(e),i=o.get(n);if(i)return i;let r=new Intl.DateTimeFormat(t,e);return o.set(n,r),r}export{u as a,f as b,P as c,U as d,J as e,K as f,z as g,N as h,W as i,b as j,X as k,q as l};
|
@@ -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 r}from"./QIG2J5PE.js";import"./J4RAJYKF.js";var M={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function e(n,t,_){var a=M[_];return Array.isArray(a)&&(a=a[t?0:1]),a.replace("%d",n)}var i={name:"de",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_M\xE4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xE4rz_Apr._Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.".split("_"),ordinal:function(t){return t+"."},weekStart:1,yearStart:4,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e}};r.locale(i,null,!0);var d=i;export{d 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{b as r}from"./QIG2J5PE.js";import"./J4RAJYKF.js";var s={name:"bg",weekdays:"\u043D\u0435\u0434\u0435\u043B\u044F_\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u043D\u0438\u043A_\u0432\u0442\u043E\u0440\u043D\u0438\u043A_\u0441\u0440\u044F\u0434\u0430_\u0447\u0435\u0442\u0432\u044A\u0440\u0442\u044A\u043A_\u043F\u0435\u0442\u044A\u043A_\u0441\u044A\u0431\u043E\u0442\u0430".split("_"),weekdaysShort:"\u043D\u0435\u0434_\u043F\u043E\u043D_\u0432\u0442\u043E_\u0441\u0440\u044F_\u0447\u0435\u0442_\u043F\u0435\u0442_\u0441\u044A\u0431".split("_"),weekdaysMin:"\u043D\u0434_\u043F\u043D_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043F\u0442_\u0441\u0431".split("_"),months:"\u044F\u043D\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043C\u0430\u0440\u0442_\u0430\u043F\u0440\u0438\u043B_\u043C\u0430\u0439_\u044E\u043D\u0438_\u044E\u043B\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043F\u0442\u0435\u043C\u0432\u0440\u0438_\u043E\u043A\u0442\u043E\u043C\u0432\u0440\u0438_\u043D\u043E\u0435\u043C\u0432\u0440\u0438_\u0434\u0435\u043A\u0435\u043C\u0432\u0440\u0438".split("_"),monthsShort:"\u044F\u043D\u0443_\u0444\u0435\u0432_\u043C\u0430\u0440_\u0430\u043F\u0440_\u043C\u0430\u0439_\u044E\u043D\u0438_\u044E\u043B\u0438_\u0430\u0432\u0433_\u0441\u0435\u043F_\u043E\u043A\u0442_\u043D\u043E\u0435_\u0434\u0435\u043A".split("_"),weekStart:1,ordinal:function(_){var e=_%100;if(e>10&&e<20)return _+"-\u0442\u0438";var t=_%10;return t===1?_+"-\u0432\u0438":t===2?_+"-\u0440\u0438":t===7||t===8?_+"-\u043C\u0438":_+"-\u0442\u0438"},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},relativeTime:{future:"\u0441\u043B\u0435\u0434 %s",past:"\u043F\u0440\u0435\u0434\u0438 %s",s:"\u043D\u044F\u043A\u043E\u043B\u043A\u043E \u0441\u0435\u043A\u0443\u043D\u0434\u0438",m:"\u043C\u0438\u043D\u0443\u0442\u0430",mm:"%d \u043C\u0438\u043D\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043D",dd:"%d \u0434\u0435\u043D\u0430",M:"\u043C\u0435\u0441\u0435\u0446",MM:"%d \u043C\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043E\u0434\u0438\u043D\u0430",yy:"%d \u0433\u043E\u0434\u0438\u043D\u0438"}};r.locale(s,null,!0);var a=s;export{a 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{r as g,s as b}from"./MBJAGWVS.js";import"./ITIJ42U7.js";import{I as m,d as s,e as o,u as d,v as h,w as i}from"./TYYR7NIL.js";var p={input:"input"},l={label:"label",labelScale:r=>`label--scale-${r}`,labelHorizontal:"label--horizontal",labelOutline:"label--outline",labelOutlineFill:"label--outline-fill",icon:"icon",iconSolo:"icon--solo"},f=s`:host{display:flex;cursor:pointer;align-self:stretch;font-weight:var(--calcite-font-weight-normal);transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out,border-color var(--calcite-animation-timing) ease-in-out}:host label{pointer-events:none;margin:.125rem;box-sizing:border-box;display:flex;flex:1 1 0%;align-items:center;color:var(--calcite-color-text-3);transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out,border-color var(--calcite-internal-animation-timing-fast) ease-in-out,color var(--calcite-internal-animation-timing-fast) ease-in-out}.label--horizontal{justify-content:center}:host{outline-color:transparent}:host(:focus){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))));outline-offset:-1px}.label--scale-s{padding-inline:.5rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-block:.125rem}.label--scale-m{padding-inline:.75rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-block:.375rem}.label--scale-l{padding-inline:1rem;padding-block:.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host(:hover) label{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1)}:host(:active) label{background-color:var(--calcite-color-foreground-3)}:host([checked]) label{cursor:default;border-color:var(--calcite-color-brand);background-color:var(--calcite-color-brand);color:var(--calcite-color-text-inverse)}:host([checked]) .label--outline,:host([checked]) .label--outline-fill{border-color:var(--calcite-color-brand);background-color:var(--calcite-color-foreground-1);box-shadow:inset 0 0 0 1px var(--calcite-color-brand);color:var(--calcite-color-brand)}:host([checked]) .label--outline{background-color:transparent}::slotted(input){display:none}@media (forced-colors: active){:host([checked]) label{background-color:highlight}:host([checked]) .label--outline,:host([checked]) .label--outline-fill{outline:2px solid transparent;outline-offset:2px}:host([checked]) label:not([class~=label--outline]) .icon{color:highlightText}}.icon{position:relative;margin:0;display:inline-flex;line-height:inherit;margin-inline-start:var(--calcite-internal-segmented-control-icon-margin-start);margin-inline-end:var(--calcite-internal-segmented-control-icon-margin-end)}:host([icon-start]) .label--scale-s{--calcite-internal-segmented-control-icon-margin-end: .5rem}:host([icon-end]) .label--scale-s{--calcite-internal-segmented-control-icon-margin-start: .5rem}:host([icon-start]) .label--scale-m{--calcite-internal-segmented-control-icon-margin-end: .75rem}:host([icon-end]) .label--scale-m{--calcite-internal-segmented-control-icon-margin-start: .75rem}:host([icon-start]) .label--scale-l{--calcite-internal-segmented-control-icon-margin-end: 1rem}:host([icon-end]) .label--scale-l{--calcite-internal-segmented-control-icon-margin-start: 1rem}.label .icon--solo{--calcite-internal-segmented-control-icon-margin-start: 0;--calcite-internal-segmented-control-icon-margin-end: 0}:host([hidden]){display:none}[hidden]{display:none}`,c=class extends h{constructor(){super(...arguments),this.hasSlottedContent=!1,this.appearance="solid",this.checked=!1,this.iconFlipRtl=!1,this.layout="horizontal",this.scale="m",this.calciteInternalSegmentedControlItemChange=d({cancelable:!1})}static{this.properties={hasSlottedContent:16,appearance:1,checked:7,iconEnd:3,iconFlipRtl:7,iconStart:3,layout:1,scale:1,value:1}}static{this.styles=f}willUpdate(e){e.has("checked")&&(this.hasUpdated||this.checked!==!1)&&this.calciteInternalSegmentedControlItemChange.emit()}handleSlotChange(e){this.hasSlottedContent=b(e)}renderIcon(e,t=!1){return e?o`<calcite-icon class=${i({[l.icon]:!0,[l.iconSolo]:t})} .flipRtl=${this.iconFlipRtl} .icon=${e} scale=s></calcite-icon>`:null}render(){let{appearance:e,checked:t,layout:n,scale:a,value:u}=this;return this.el.ariaChecked=g(t),this.el.ariaLabel=u,this.el.role="radio",o`<label class=${i({[l.label]:!0,[l.labelScale(a)]:!0,[l.labelHorizontal]:n==="horizontal",[l.labelOutline]:e==="outline",[l.labelOutlineFill]:e==="outline-fill"})}>${this.renderContent()}</label>`}renderContent(){let{hasSlottedContent:e,iconEnd:t,iconStart:n}=this,a=n||t;return!e&&a?[this.renderIcon(a,!0),o`<slot @slotchange=${this.handleSlotChange}></slot>`]:[this.renderIcon(n),o`<slot @slotchange=${this.handleSlotChange}></slot>`,o`<slot name=${p.input}></slot>`,this.renderIcon(t)]}};m("calcite-segmented-control-item",c);export{c as SegmentedControlItem};
|
@@ -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 de,d as N,e as pe}from"./MZRLL3GR.js";import{a as ne}from"./CSDMYGZU.js";import{A as he,B as W,C as ce,a as b,b as s,c as v,d as F,e as $,f as p,g as M,h as S,i as D,j as H,l as O,m as K,q as P,r as w,t as se,u as re,w as U,x as z,y as E,z as k}from"./JOTIQZAS.js";import"./QP3WP6XK.js";import{a as te,b as ie}from"./MVHJMI6L.js";import{a as A}from"./OUC47AKY.js";import{d as oe}from"./DHITRFFR.js";import{a as le}from"./FQTOWUOI.js";import{a as ae}from"./RS3QB5Z6.js";import{b as f}from"./R6R2QDCZ.js";import{e as J,n as Y,x as L}from"./MBJAGWVS.js";import{a as Q,b as Z,d as ee}from"./H6JENZS2.js";import"./ITIJ42U7.js";import{I as G,d as q,e as C,i as y,u as R,v as X,w as h,x}from"./TYYR7NIL.js";var $e=q`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-block;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]){--calcite-color-picker-spacing: 8px}:host([scale=s]) .container{inline-size:198px}:host([scale=s]) .saved-colors{gap:.25rem;grid-template-columns:repeat(auto-fill,20px)}:host([scale=m]){--calcite-color-picker-spacing: 12px}:host([scale=m]) .container{inline-size:238px}:host([scale=l]){--calcite-color-picker-spacing: 16px;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]) .container{inline-size:302px}:host([scale=l]) .section:first-of-type{padding-block-start:var(--calcite-color-picker-spacing)}:host([scale=l]) .saved-colors{grid-template-columns:repeat(auto-fill,32px)}:host([scale=l]) .control-section{flex-wrap:nowrap;align-items:baseline;flex-wrap:wrap}:host([scale=l]) .color-hex-options{display:flex;flex-shrink:1;flex-direction:column;justify-content:space-around}:host([scale=l]) .color-mode-container{flex-shrink:3}.container{background-color:var(--calcite-color-foreground-1);display:inline-block;border:1px solid var(--calcite-color-border-1)}.control-and-scope{position:relative;display:flex;cursor:pointer;touch-action:none}.color-field,.control-and-scope{-webkit-user-select:none;user-select:none}.scope{pointer-events:none;position:absolute;z-index:var(--calcite-z-index);block-size:1px;inline-size:1px;border-radius:9999px;background-color:transparent;font-size:var(--calcite-font-size--1);outline-color:transparent}.scope:focus{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))));outline-offset:6px}.hex-and-channels-group{inline-size:100%}.hex-and-channels-group,.control-section{display:flex;flex-direction:row;flex-wrap:wrap}.section{padding-block:0 var(--calcite-color-picker-spacing);padding-inline:var(--calcite-color-picker-spacing)}.section:first-of-type{padding-block-start:var(--calcite-color-picker-spacing)}.sliders{display:flex;flex-direction:column;justify-content:space-between;margin-inline-start:var(--calcite-color-picker-spacing);gap:var(--calcite-spacing-xxs)}.preview-and-sliders{display:flex;align-items:center;padding:var(--calcite-color-picker-spacing)}.color-hex-options,.section--split{flex-grow:1}.header{display:flex;align-items:center;justify-content:space-between;color:var(--calcite-color-text-1)}.color-mode-container{padding-block-start:var(--calcite-color-picker-spacing)}.channels{display:flex}.channel{flex-grow:1}.channel[data-channel-index="3"]{margin-inline-start:-1px;min-inline-size:81px}:host([scale=s]) .channel[data-channel-index="3"]{min-inline-size:68px}:host([scale=l]) .channel[data-channel-index="3"]{min-inline-size:88px}.saved-colors{display:grid;gap:.5rem;padding-block-start:var(--calcite-color-picker-spacing);grid-template-columns:repeat(auto-fill,24px)}.saved-colors-buttons{display:flex}.saved-color{outline-offset:0;outline-color:transparent;cursor:pointer}.saved-color:focus{outline:2px solid var(--calcite-color-brand);outline-offset:2px}.saved-color:hover{transition:outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;outline:2px solid var(--calcite-color-border-2);outline-offset:2px}:host([hidden]){display:none}[hidden]{display:none}`,ke=16,j=class extends X{constructor(){super(),this.captureColorFieldColor=(e,t,i=!0)=>{let{dimensions:{colorField:{height:a,width:o}}}=this,l=Math.round(p.s/o*e),n=Math.round(p.v/a*(a-t));this.internalColorSet(this.baseColorFieldColor.hsv().saturationv(l).value(n),i)},this._color=v,this.drawColorControls=oe((e="all")=>{(e==="all"||e==="color-field")&&this.colorFieldRenderingContext&&this.drawColorField(),(e==="all"||e==="hue-slider")&&this.hueSliderRenderingContext&&this.drawHueSlider(),this.alphaChannel&&(e==="all"||e==="opacity-slider")&&this.opacitySliderRenderingContext&&this.drawOpacitySlider()},ke),this.globalPointerMoveHandler=e=>{let{activeCanvasInfo:t,el:i}=this;if(!i.isConnected||!t)return;let{context:a,bounds:o}=t,l,n,{clientX:r,clientY:c}=e;a.canvas.matches(":hover")?(l=r-o.x,n=c-o.y):(r<o.x+o.width&&r>o.x?l=r-o.x:r<o.x?l=0:l=o.width,c<o.y+o.height&&c>o.y?n=c-o.y:c<o.y?n=0:n=o.height),a===this.colorFieldRenderingContext?this.captureColorFieldColor(l,n,!1):a===this.hueSliderRenderingContext?this.captureHueSliderColor(l):a===this.opacitySliderRenderingContext&&this.captureOpacitySliderValue(l)},this.globalPointerUpHandler=e=>{if(!L(e))return;let t=this.activeCanvasInfo;this.activeCanvasInfo=null,this.drawColorControls(),t&&this.calciteColorPickerChange.emit()},this.internalColorUpdateContext=null,this.isActiveChannelInputEmpty=!1,this.mode=U.HEX,this.shiftKeyChannelAdjustment=0,this.upOrDownArrowKeyTracker=null,this._valueWasSet=!1,this.channelMode="rgb",this.channels=this.toChannels(v),this.dimensions=D.m,this.savedColors=[],this.allowEmpty=!1,this.alphaChannel=!1,this.channelsDisabled=!1,this.clearable=!1,this.disabled=!1,this.format="auto",this.hexDisabled=!1,this.messages=ae({blocking:!0}),this.savedDisabled=!1,this.scale="m",this.calciteColorPickerChange=R({cancelable:!1}),this.calciteColorPickerInput=R({cancelable:!1}),this.listen("keydown",this.handleChannelKeyUpOrDown,{capture:!0}),this.listen("keyup",this.handleChannelKeyUpOrDown,{capture:!0})}static{this.properties={channelMode:16,channels:16,colorFieldScopeLeft:16,colorFieldScopeTop:16,dimensions:16,hueScopeLeft:16,opacityScopeLeft:16,savedColors:16,scopeOrientation:16,allowEmpty:7,alphaChannel:5,channelsDisabled:5,clearable:7,color:0,disabled:7,format:3,hexDisabled:5,messageOverrides:0,numberingSystem:3,savedDisabled:7,scale:3,storageId:3,value:1}}static{this.styles=$e}get baseColorFieldColor(){return this.color||this.previousColor||v}get color(){return this._color}set color(e){let t=this._color;this._color=e,this.handleColorChange(e,t)}get value(){return this._value}set value(e){let t=this._value;this._value=e,this.handleValueChange(e,t),this._valueWasSet=!0}async setFocus(){await ee(this),Y(this.el)}async load(){this._valueWasSet||(this._value??=P(w(v,this.alphaChannel))),Q(this),this.handleAllowEmptyOrClearableChange(),this.handleAlphaChannelDimensionsChange();let{isClearable:e,color:t,format:i,value:a}=this,o=e&&!a,l=z(a),n=o||i==="auto"&&l||i===l,r=o?null:n?b(a):t;n||this.showIncompatibleColorWarning(a,i),this.setMode(i,!1),this.internalColorSet(r,!1,"initial"),this.updateDimensions(this.scale);let c=`${F}${this.storageId}`;this.storageId&&localStorage.getItem(c)&&(this.savedColors=JSON.parse(localStorage.getItem(c)))}willUpdate(e){(e.has("allowEmpty")&&(this.hasUpdated||this.allowEmpty!==!1)||e.has("clearable")&&(this.hasUpdated||this.clearable!==!1))&&this.handleAllowEmptyOrClearableChange(),e.has("alphaChannel")&&(this.hasUpdated||this.alphaChannel!==!1)&&this.handleAlphaChannelChange(this.alphaChannel),(e.has("alphaChannel")&&(this.hasUpdated||this.alphaChannel!==!1)||e.has("dimensions")&&(this.hasUpdated||this.dimensions!==D.m))&&this.handleAlphaChannelDimensionsChange(),(e.has("alphaChannel")&&(this.hasUpdated||this.alphaChannel!==!1)||e.has("format")&&(this.hasUpdated||this.format!=="auto"))&&this.handleFormatOrAlphaChannelChange(),e.has("scale")&&(this.hasUpdated||this.scale!=="m")&&this.handleScaleChange(this.scale)}updated(){te(this)}loaded(){Z(this)}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener("pointermove",this.globalPointerMoveHandler),window.removeEventListener("pointerup",this.globalPointerUpHandler)}handleAllowEmptyOrClearableChange(){this.isClearable=this.clearable||this.allowEmpty}handleAlphaChannelChange(e){let{format:t}=this;e&&t!=="auto"&&!k(t)&&(console.warn(`ignoring alphaChannel as the current format (${t}) does not support alpha`),this.alphaChannel=!1)}handleAlphaChannelDimensionsChange(){this.effectiveSliderWidth=ce(this.dimensions,this.alphaChannel),this.drawColorControls()}handleColorChange(e,t){this.drawColorControls(),this.updateChannelsFromColor(e),this.previousColor=t}handleFormatOrAlphaChannelChange(){this.setMode(this.format),this.internalColorSet(this.color,!1,"internal")}handleScaleChange(e="m"){this.updateDimensions(e),this.updateCanvasSize("all"),this.drawColorControls()}handleValueChange(e,t){let{isClearable:i,format:a}=this,o=!i||e,l=!1;if(o){let d=z(e);if(!d||a!=="auto"&&d!==a){this.showIncompatibleColorWarning(e,a),this._value=t;return}l=this.mode!==d,this.setMode(d,this.internalColorUpdateContext===null)}let n=this.activeCanvasInfo;if(this.internalColorUpdateContext==="initial")return;if(this.internalColorUpdateContext==="user-interaction"){this.calciteColorPickerInput.emit(),n||this.calciteColorPickerChange.emit();return}let r=i&&!e?null:b(e!=null&&typeof e=="object"&&k(this.mode)?re(e):e),c=!E(r,this.color);(l||c)&&this.internalColorSet(r,this.alphaChannel&&!(this.mode.endsWith("a")||this.mode.endsWith("a-css")),"internal")}handleTabActivate(e){this.channelMode=e.currentTarget.getAttribute("data-color-mode"),this.updateChannelsFromColor(this.color)}handleColorFieldScopeKeyDown(e){let{key:t}=e,i={ArrowUp:{x:0,y:-10},ArrowRight:{x:10,y:0},ArrowDown:{x:0,y:10},ArrowLeft:{x:-10,y:0}};i[t]&&(e.preventDefault(),this.scopeOrientation=t==="ArrowDown"||t==="ArrowUp"?"vertical":"horizontal",this.captureColorFieldColor(this.colorFieldScopeLeft+i[t].x||0,this.colorFieldScopeTop+i[t].y||0,!1))}handleHueScopeKeyDown(e){let t=e.shiftKey?10:1,{key:i}=e,a={ArrowUp:1,ArrowRight:1,ArrowDown:-1,ArrowLeft:-1};if(a[i]){e.preventDefault();let o=a[i]*t,l=this.baseColorFieldColor.hue(),n=this.baseColorFieldColor.hue(l+o);this.internalColorSet(n,!1)}}handleHexInputChange(e){e.stopPropagation();let{isClearable:t,color:i}=this,a=e.target.value;if(t&&!a){this.internalColorSet(null);return}let o=i&&P(w(i,k(this.mode)));a!==o&&this.internalColorSet(b(a))}handleSavedColorSelect(e){let t=e.currentTarget;this.internalColorSet(b(t.color))}handleChannelInput(e){let t=e.currentTarget,i=Number(t.getAttribute("data-channel-index")),a=i===3?S.max:this.channelMode==="rgb"?$[Object.keys($)[i]]:p[Object.keys(p)[i]],o;if(!t.value)o="",this.isActiveChannelInputEmpty=!0,this.upOrDownArrowKeyTracker=null;else{let l=Number(t.value)+this.shiftKeyChannelAdjustment;o=de(l,0,a).toString()}t.value=o,o!==""&&this.shiftKeyChannelAdjustment!==0?this.handleChannelChange(e):o!==""&&this.handleChannelChange(e)}handleChannelBlur(e){let t=e.currentTarget,i=Number(t.getAttribute("data-channel-index")),a=[...this.channels];!t.value&&!this.isClearable&&(t.value=a[i]?.toString())}handleChannelFocus(e){e.currentTarget.selectText()}handleChannelKeyUpOrDown(e){this.shiftKeyChannelAdjustment=0;let{key:t}=e;if(t!=="ArrowUp"&&t!=="ArrowDown"||!e.composedPath().some(o=>o.classList?.contains(s.channel)))return;let{shiftKey:i}=e;if(e.preventDefault(),!this.color){this.internalColorSet(this.previousColor),e.stopPropagation();return}let a=9;this.shiftKeyChannelAdjustment=t==="ArrowUp"&&i?a:t==="ArrowDown"&&i?-a:0,t==="ArrowUp"&&(this.upOrDownArrowKeyTracker="up"),t==="ArrowDown"&&(this.upOrDownArrowKeyTracker="down")}getChannelInputLimit(e){return this.channelMode==="rgb"?$[Object.keys($)[e]]:p[Object.keys(p)[e]]}handleChannelChange(e){let t=e.currentTarget,i=Number(t.getAttribute("data-channel-index")),a=[...this.channels];if(this.isClearable&&!t.value){this.channels=[null,null,null,null],this.internalColorSet(null);return}let o=i===3;this.isActiveChannelInputEmpty&&this.upOrDownArrowKeyTracker&&(t.value=this.upOrDownArrowKeyTracker==="up"?(a[i]+1<=this.getChannelInputLimit(i)?a[i]+1:this.getChannelInputLimit(i)).toString():(a[i]-1>=0?a[i]-1:0).toString(),this.isActiveChannelInputEmpty=!1,this.upOrDownArrowKeyTracker=null);let l=t.value?Number(t.value):a[i];a[i]=o?K(l):l,this.updateColorFromChannels(a)}handleSavedColorKeyDown(e){le(e.key)&&(e.preventDefault(),this.handleSavedColorSelect(e))}handleColorFieldPointerDown(e){this.handleCanvasControlPointerDown(e,this.colorFieldRenderingContext,this.captureColorFieldColor,this.colorFieldScopeNode)}focusScope(e){requestAnimationFrame(()=>{e.focus()})}handleHueSliderPointerDown(e){this.handleCanvasControlPointerDown(e,this.hueSliderRenderingContext,this.captureHueSliderColor,this.hueScopeNode)}handleOpacitySliderPointerDown(e){this.handleCanvasControlPointerDown(e,this.opacitySliderRenderingContext,this.captureOpacitySliderValue,this.opacityScopeNode)}handleCanvasControlPointerDown(e,t,i,a){L(e)&&(window.addEventListener("pointermove",this.globalPointerMoveHandler),window.addEventListener("pointerup",this.globalPointerUpHandler,{once:!0}),this.activeCanvasInfo={context:t,bounds:t.canvas.getBoundingClientRect()},i.call(this,e.offsetX,e.offsetY),this.focusScope(a))}storeColorFieldScope(e){this.colorFieldScopeNode=e}storeHueScope(e){this.hueScopeNode=e}handleKeyDown(e){e.key==="Enter"&&e.preventDefault()}showIncompatibleColorWarning(e,t){console.warn(`ignoring color value (${e}) as it is not compatible with the current format (${t})`)}setMode(e,t=!0){let i=e==="auto"?this.mode:e;this.mode=this.ensureCompatibleMode(i,t)}ensureCompatibleMode(e,t){let{alphaChannel:i}=this,a=k(e);if(i&&!a){let o=he(e);return t&&console.warn(`setting format to (${o}) as the provided one (${e}) does not support alpha`),o}if(!i&&a){let o=W(e);return t&&console.warn(`setting format to (${o}) as the provided one (${e}) does not support alpha`),o}return e}captureHueSliderColor(e){let t=M/this.effectiveSliderWidth*e;this.internalColorSet(this.baseColorFieldColor.hue(t),!1)}captureOpacitySliderValue(e){let t=K(S.max/this.effectiveSliderWidth*e);this.internalColorSet(this.baseColorFieldColor.alpha(t),!1)}internalColorSet(e,t=!0,i="user-interaction"){t&&E(e,this.color)||(this.internalColorUpdateContext=i,this.color=e,this.value=this.toValue(e),this.internalColorUpdateContext=null)}toValue(e,t=this.mode){if(!e)return null;if(t.includes("hex")){let a=t===U.HEXA;return P(w(e.round(),a),a)}if(t.includes("-css")){let a=e[t.replace("-css","").replace("a","")]().round().string();if((t.endsWith("a")||t.endsWith("a-css"))&&e.alpha()===1){let o=a.slice(0,3),l=a.slice(4,-1);return`${o}a(${l}, ${e.alpha()})`}return a}let i=e[W(t)]().round().object();return t.endsWith("a")?se(i):i}getSliderCapSpacing(){let{dimensions:{slider:{height:e},thumb:{radius:t}}}=this;return t*2-e}updateDimensions(e="m"){this.dimensions=D[e]}deleteColor(){let e=w(this.color,this.alphaChannel);if(!(this.savedColors.indexOf(e)>-1))return;let t=this.savedColors.filter(a=>a!==e);this.savedColors=t;let i=`${F}${this.storageId}`;this.storageId&&localStorage.setItem(i,JSON.stringify(t))}saveColor(){let e=w(this.color,this.alphaChannel);if(this.savedColors.indexOf(e)>-1)return;let t=[...this.savedColors,e];this.savedColors=t;let i=`${F}${this.storageId}`;this.storageId&&localStorage.setItem(i,JSON.stringify(t))}drawColorField(){let e=this.colorFieldRenderingContext,{dimensions:{colorField:{height:t,width:i}}}=this;e.fillStyle=this.baseColorFieldColor.hsv().saturationv(100).value(100).alpha(1).string(),e.fillRect(0,0,i,t);let a=e.createLinearGradient(0,0,i,0);a.addColorStop(0,"rgba(255,255,255,1)"),a.addColorStop(1,"rgba(255,255,255,0)"),e.fillStyle=a,e.fillRect(0,0,i,t);let o=e.createLinearGradient(0,0,0,t);o.addColorStop(0,"rgba(0,0,0,0)"),o.addColorStop(1,"rgba(0,0,0,1)"),e.fillStyle=o,e.fillRect(0,0,i,t),this.drawActiveColorFieldColor()}setCanvasContextSize(e,{height:t,width:i}){if(!e)return;let a=window.devicePixelRatio||1;e.width=i*a,e.height=t*a,e.style.height=`${t}px`,e.style.width=`${i}px`,e.getContext("2d").scale(a,a)}initColorField(e){e&&(this.colorFieldRenderingContext=e.getContext("2d"),this.updateCanvasSize("color-field"),this.drawColorControls())}initHueSlider(e){e&&(this.hueSliderRenderingContext=e.getContext("2d"),this.updateCanvasSize("hue-slider"),this.drawHueSlider())}initOpacitySlider(e){e&&(this.opacitySliderRenderingContext=e.getContext("2d"),this.updateCanvasSize("opacity-slider"),this.drawOpacitySlider())}updateCanvasSize(e="all"){let{dimensions:t}=this;(e==="all"||e==="color-field")&&this.setCanvasContextSize(this.colorFieldRenderingContext?.canvas,t.colorField);let i={width:this.effectiveSliderWidth,height:t.slider.height+(t.thumb.radius-t.slider.height/2)*2};(e==="all"||e==="hue-slider")&&this.setCanvasContextSize(this.hueSliderRenderingContext?.canvas,i),(e==="all"||e==="opacity-slider")&&this.setCanvasContextSize(this.opacitySliderRenderingContext?.canvas,i)}drawActiveColorFieldColor(){let{color:e}=this;if(!e)return;let t=e.hsv(),{dimensions:{colorField:{height:i,width:a},thumb:{radius:o}}}=this,l=t.saturationv()/(p.s/a),n=i-t.value()/(p.v/i);requestAnimationFrame(()=>{this.colorFieldScopeLeft=l,this.colorFieldScopeTop=n}),this.drawThumb(this.colorFieldRenderingContext,o,l,n,t,!1)}drawThumb(e,t,i,a,o,l){let n=2*Math.PI,r=1;if(e.beginPath(),e.arc(i,a,t,0,n),e.fillStyle="#fff",e.fill(),e.strokeStyle="rgba(0,0,0,0.3)",e.lineWidth=r,e.stroke(),l&&o.alpha()<1){let d=e.createPattern(this.getCheckeredBackgroundPattern(),"repeat");e.beginPath(),e.arc(i,a,t-3,0,n),e.fillStyle=d,e.fill()}e.globalCompositeOperation="source-atop",e.beginPath(),e.arc(i,a,t-3,0,n);let c=l?o.alpha():1;e.fillStyle=o.rgb().alpha(c).string(),e.fill(),e.globalCompositeOperation="source-over"}drawActiveHueSliderColor(){let{color:e}=this;if(!e)return;let t=e.hsv().saturationv(100).value(100),{dimensions:{thumb:{radius:i}}}=this,a=this.effectiveSliderWidth,o=t.hue()/(M/a),l=i,n=this.getSliderBoundX(o,a,i);requestAnimationFrame(()=>{this.hueScopeLeft=n}),this.drawThumb(this.hueSliderRenderingContext,i,n,l,t,!1)}drawHueSlider(){let e=this.hueSliderRenderingContext,{dimensions:{slider:{height:t},thumb:{radius:i}}}=this,a=0,o=i-t/2,l=this.effectiveSliderWidth,n=e.createLinearGradient(0,0,l,0),r=["red","yellow","lime","cyan","blue","magenta","#ff0004"],c=1/(r.length-1),d=0;r.forEach(u=>{n.addColorStop(d,b(u).string()),d+=c}),e.clearRect(0,0,l,t+this.getSliderCapSpacing()*2),this.drawSliderPath(e,t,l,a,o),e.fillStyle=n,e.fill(),e.strokeStyle="rgba(0,0,0,0.3)",e.lineWidth=1,e.stroke(),this.drawActiveHueSliderColor()}drawOpacitySlider(){let e=this.opacitySliderRenderingContext,{baseColorFieldColor:t,dimensions:{slider:{height:i},thumb:{radius:a}}}=this,o=0,l=a-i/2,n=this.effectiveSliderWidth;e.clearRect(0,0,n,i+this.getSliderCapSpacing()*2);let r=e.createLinearGradient(0,l,n,0),c=t.rgb().alpha(0),d=t.rgb().alpha(.5),u=t.rgb().alpha(1);r.addColorStop(0,c.string()),r.addColorStop(.5,d.string()),r.addColorStop(1,u.string()),this.drawSliderPath(e,i,n,o,l);let m=e.createPattern(this.getCheckeredBackgroundPattern(),"repeat");e.fillStyle=m,e.fill(),e.fillStyle=r,e.fill(),e.strokeStyle="rgba(0,0,0,0.3)",e.lineWidth=1,e.stroke(),this.drawActiveOpacitySliderColor()}drawSliderPath(e,t,i,a,o){let l=t/2+1;e.beginPath(),e.moveTo(a+l,o),e.lineTo(a+i-l,o),e.quadraticCurveTo(a+i,o,a+i,o+l),e.lineTo(a+i,o+t-l),e.quadraticCurveTo(a+i,o+t,a+i-l,o+t),e.lineTo(a+l,o+t),e.quadraticCurveTo(a,o+t,a,o+t-l),e.lineTo(a,o+l),e.quadraticCurveTo(a,o,a+l,o),e.closePath()}getCheckeredBackgroundPattern(){if(this.checkerPattern)return this.checkerPattern;let e=document.createElement("canvas");e.width=10,e.height=10;let t=e.getContext("2d");return t.fillStyle="#ccc",t.fillRect(0,0,10,10),t.fillStyle="#fff",t.fillRect(0,0,5,5),t.fillRect(5,5,5,5),this.checkerPattern=e,e}drawActiveOpacitySliderColor(){let{color:e}=this;if(!e)return;let t=e,{dimensions:{thumb:{radius:i}}}=this,a=this.effectiveSliderWidth,o=O(t.alpha())/(S.max/a),l=i,n=this.getSliderBoundX(o,a,i);requestAnimationFrame(()=>{this.opacityScopeLeft=n}),this.drawThumb(this.opacitySliderRenderingContext,i,n,l,t,!0)}getSliderBoundX(e,t,i){let a=pe(e,t,i);return a===0?e:a===-1?N(e,0,t,i,i*2):N(e,0,t,t-i*2,t-i)}storeOpacityScope(e){this.opacityScopeNode=e}handleOpacityScopeKeyDown(e){let t=e.shiftKey?10:1,{key:i}=e,a={ArrowUp:.01,ArrowRight:.01,ArrowDown:-.01,ArrowLeft:-.01};if(a[i]){e.preventDefault();let o=a[i]*t,l=this.baseColorFieldColor.alpha(),n=this.baseColorFieldColor.alpha(l+o);this.internalColorSet(n,!1)}}updateColorFromChannels(e){this.internalColorSet(b(e,this.channelMode))}updateChannelsFromColor(e){this.channels=e?this.toChannels(e):[null,null,null,null]}toChannels(e){let{channelMode:t}=this,i=e[t]().array().map((a,o)=>o===3?a:Math.floor(a));return i.length===3&&i.push(1),i}getAdjustedScopePosition(e,t){return[e-H/2,t-H/2]}render(){let{channelsDisabled:e,color:t,colorFieldScopeLeft:i,colorFieldScopeTop:a,dimensions:{thumb:{radius:o}},hexDisabled:l,hueScopeLeft:n,messages:r,alphaChannel:c,opacityScopeLeft:d,savedColors:u,savedDisabled:m,scale:g,scopeOrientation:ue}=this,V=this.effectiveSliderWidth,_=t?w(t,c):null,Ce=o,ve=n??V*v.hue()/p.h,ge=o,me=d??V*O(v.alpha())/S.max,B=t===void 0,T=ue==="vertical",[fe,be]=this.getAdjustedScopePosition(i,a),[Se,we]=this.getAdjustedScopePosition(ve,Ce),[ye,xe]=this.getAdjustedScopePosition(me,ge);return ie({disabled:this.disabled,children:C`<div class=${h(s.container)}><div class=${h(s.controlAndScope)}><canvas class=${h(s.colorField)} @pointerdown=${this.handleColorFieldPointerDown} ${f(this.initColorField)}></canvas><div .ariaLabel=${T?r.value:r.saturation} .ariaValueMax=${T?p.v:p.s} aria-valuemin=0 .ariaValueNow=${(T?t?.saturationv():t?.value())||"0"} class=${h({[s.scope]:!0,[s.colorFieldScope]:!0})} @keydown=${this.handleColorFieldScopeKeyDown} role=slider style=${x({top:`${be||0}px`,left:`${fe||0}px`})} tabindex=0 ${f(this.storeColorFieldScope)}></div></div><div class=${h(s.previewAndSliders)}><calcite-color-picker-swatch class=${h(s.preview)} .color=${_} .scale=${this.alphaChannel?"l":this.scale}></calcite-color-picker-swatch><div class=${h(s.sliders)}><div class=${h(s.controlAndScope)}><canvas class=${h({[s.slider]:!0,[s.hueSlider]:!0})} @pointerdown=${this.handleHueSliderPointerDown} ${f(this.initHueSlider)}></canvas><div .ariaLabel=${r.hue} .ariaValueMax=${p.h} aria-valuemin=0 .ariaValueNow=${t?.round().hue()||v.round().hue()} class=${h({[s.scope]:!0,[s.hueScope]:!0})} @keydown=${this.handleHueScopeKeyDown} role=slider style=${x({top:`${we}px`,left:`${Se}px`})} tabindex=0 ${f(this.storeHueScope)}></div></div>${c?C`<div class=${h(s.controlAndScope)}><canvas class=${h({[s.slider]:!0,[s.opacitySlider]:!0})} @pointerdown=${this.handleOpacitySliderPointerDown} ${f(this.initOpacitySlider)}></canvas><div .ariaLabel=${r.opacity} .ariaValueMax=${S.max} .ariaValueMin=${S.min} .ariaValueNow=${(t||v).round().alpha()} class=${h({[s.scope]:!0,[s.opacityScope]:!0})} @keydown=${this.handleOpacityScopeKeyDown} role=slider style=${x({top:`${xe}px`,left:`${ye}px`})} tabindex=0 ${f(this.storeOpacityScope)}></div></div>`:null}</div></div>${l&&e?null:C`<div class=${h({[s.controlSection]:!0,[s.section]:!0})}><div class=${h(s.hexAndChannelsGroup)}>${l?null:C`<div class=${h(s.hexOptions)}><calcite-color-picker-hex-input .allowEmpty=${this.isClearable} .alphaChannel=${c} class=${h(s.control)} .messages=${r} .numberingSystem=${this.numberingSystem} @calciteColorPickerHexInputChange=${this.handleHexInputChange} .scale=${g} .value=${_}></calcite-color-picker-hex-input></div>`}${e?null:C`<calcite-tabs class=${h({[s.colorModeContainer]:!0,[s.splitSection]:!0})} .scale=${g==="l"?"m":"s"}><calcite-tab-nav slot=title-group>${this.renderChannelsTabTitle("rgb")}${this.renderChannelsTabTitle("hsv")}</calcite-tab-nav>${this.renderChannelsTab("rgb")}${this.renderChannelsTab("hsv")}</calcite-tabs>`}</div></div>`}${m?null:C`<div class=${h({[s.savedColorsSection]:!0,[s.section]:!0})}><div class=${h(s.header)}><label>${r.saved}</label><div class=${h(s.savedColorsButtons)}><calcite-button appearance=transparent class=${h(s.deleteColor)} .disabled=${B} icon-start=minus kind=neutral .label=${r.deleteColor} @click=${this.deleteColor} .scale=${g} type=button></calcite-button><calcite-button appearance=transparent class=${h(s.saveColor)} .disabled=${B} icon-start=plus kind=neutral .label=${r.saveColor} @click=${this.saveColor} .scale=${g} type=button></calcite-button></div></div>${u.length>0?C`<div class=${h(s.savedColors)}>${ne(u,I=>I,I=>C`<calcite-color-picker-swatch class=${h(s.savedColor)} .color=${I} @click=${this.handleSavedColorSelect} @keydown=${this.handleSavedColorKeyDown} .scale=${g} tabindex=0></calcite-color-picker-swatch>`)}</div>`:null}</div>`}</div>`})}renderChannelsTabTitle(e){let{channelMode:t,messages:i}=this,a=e===t,o=e==="rgb"?i.rgb:i.hsv;return A(e,C`<calcite-tab-title class=${h(s.colorMode)} data-color-mode=${e??y} @calciteTabsActivate=${this.handleTabActivate} .selected=${a}>${o}</calcite-tab-title>`)}renderChannelsTab(e){let{isClearable:t,channelMode:i,channels:a,messages:o,alphaChannel:l}=this,n=e===i,r=e==="rgb"?[o.red,o.green,o.blue]:[o.hue,o.saturation,o.value],c=J(this.el),d=l?a:a.slice(0,3);return A(e,C`<calcite-tab class=${h(s.control)} .selected=${n}><div class=${h(s.channels)} dir=ltr>${d.map((u,m)=>{let g=m===3;return g&&(u=t&&!u?u:O(u)),this.renderChannel(u,m,r[m],c,g?"%":"")})}</div></calcite-tab>`)}renderChannel(e,t,i,a,o){return A(t,C`<calcite-input-number class=${h(s.channel)} data-channel-index=${t??y} dir=${a??y} .label=${i} lang=${this.messages._lang??y} number-button-type=none .numberingSystem=${this.numberingSystem} @keydown=${this.handleKeyDown} @calciteInputNumberChange=${this.handleChannelChange} @calciteInputNumberInput=${this.handleChannelInput} @calciteInternalInputNumberBlur=${this.handleChannelBlur} @calciteInternalInputNumberFocus=${this.handleChannelFocus} .scale=${this.scale==="l"?"m":"s"} style=${x({marginLeft:t>0&&!(this.scale==="s"&&this.alphaChannel&&t===3)?"-1px":""})} .suffixText=${o} .value=${e?.toString()}></calcite-input-number>`)}};G("calcite-color-picker",j);export{j as ColorPicker};
|
@@ -1,7 +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 re,l as ne}from"./MBJAGWVS.js";import{D as ae}from"./TYYR7NIL.js";var oe=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],B=oe.join(","),ue=typeof Element>"u",D=ue?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,K=!ue&&Element.prototype.getRootNode?function(a){var e;return a==null||(e=a.getRootNode)===null||e===void 0?void 0:e.call(a)}:function(a){return a?.ownerDocument},j=function a(e,t){var r;t===void 0&&(t=!0);var u=e==null||(r=e.getAttribute)===null||r===void 0?void 0:r.call(e,"inert"),c=u===""||u==="true",i=c||t&&e&&a(e.parentNode);return i},Te=function(e){var t,r=e==null||(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"contenteditable");return r===""||r==="true"},se=function(e,t,r){if(j(e))return[];var u=Array.prototype.slice.apply(e.querySelectorAll(B));return t&&D.call(e,B)&&u.unshift(e),u=u.filter(r),u},ce=function a(e,t,r){for(var u=[],c=Array.from(e);c.length;){var i=c.shift();if(!j(i,!1))if(i.tagName==="SLOT"){var b=i.assignedElements(),f=b.length?b:i.children,y=a(f,!0,r);r.flatten?u.push.apply(u,y):u.push({scopeParent:i,candidates:y})}else{var T=D.call(i,B);T&&r.filter(i)&&(t||!e.includes(i))&&u.push(i);var w=i.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(i),S=!j(w,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(i));if(w&&S){var I=a(w===!0?i.children:w.children,!0,r);r.flatten?u.push.apply(u,I):u.push({scopeParent:i,candidates:I})}else c.unshift.apply(c,i.children)}}return u},le=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},E=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||Te(e))&&!le(e)?0:e.tabIndex},Ne=function(e,t){var r=E(e);return r<0&&t&&!le(e)?0:r},Fe=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},fe=function(e){return e.tagName==="INPUT"},Ee=function(e){return fe(e)&&e.type==="hidden"},Se=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(r){return r.tagName==="SUMMARY"});return t},ke=function(e,t){for(var r=0;r<e.length;r++)if(e[r].checked&&e[r].form===t)return e[r]},De=function(e){if(!e.name)return!0;var t=e.form||K(e),r=function(b){return t.querySelectorAll('input[type="radio"][name="'+b+'"]')},u;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")u=r(window.CSS.escape(e.name));else try{u=r(e.name)}catch(i){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",i.message),!1}var c=ke(u,e.form);return!c||c===e},Re=function(e){return fe(e)&&e.type==="radio"},Ie=function(e){return Re(e)&&!De(e)},Ae=function(e){var t,r=e&&K(e),u=(t=r)===null||t===void 0?void 0:t.host,c=!1;if(r&&r!==e){var i,b,f;for(c=!!((i=u)!==null&&i!==void 0&&(b=i.ownerDocument)!==null&&b!==void 0&&b.contains(u)||e!=null&&(f=e.ownerDocument)!==null&&f!==void 0&&f.contains(e));!c&&u;){var y,T,w;r=K(u),u=(y=r)===null||y===void 0?void 0:y.host,c=!!((T=u)!==null&&T!==void 0&&(w=T.ownerDocument)!==null&&w!==void 0&&w.contains(u))}}return c},ie=function(e){var t=e.getBoundingClientRect(),r=t.width,u=t.height;return r===0&&u===0},Pe=function(e,t){var r=t.displayCheck,u=t.getShadowRoot;if(getComputedStyle(e).visibility==="hidden")return!0;var c=D.call(e,"details>summary:first-of-type"),i=c?e.parentElement:e;if(D.call(i,"details:not([open]) *"))return!0;if(!r||r==="full"||r==="legacy-full"){if(typeof u=="function"){for(var b=e;e;){var f=e.parentElement,y=K(e);if(f&&!f.shadowRoot&&u(f)===!0)return ie(e);e.assignedSlot?e=e.assignedSlot:!f&&y!==e.ownerDocument?e=y.host:e=f}e=b}if(Ae(e))return!e.getClientRects().length;if(r!=="legacy-full")return!0}else if(r==="non-zero-area")return ie(e);return!1},Oe=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var r=0;r<t.children.length;r++){var u=t.children.item(r);if(u.tagName==="LEGEND")return D.call(t,"fieldset[disabled] *")?!0:!u.contains(e)}return!0}t=t.parentElement}return!1},M=function(e,t){return!(t.disabled||j(t)||Ee(t)||Pe(t,e)||Se(t)||Oe(t))},W=function(e,t){return!(Ie(t)||E(t)<0||!M(e,t))},Ce=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},xe=function a(e){var t=[],r=[];return e.forEach(function(u,c){var i=!!u.scopeParent,b=i?u.scopeParent:u,f=Ne(b,i),y=i?a(u.candidates):b;f===0?i?t.push.apply(t,y):t.push(b):r.push({documentOrder:c,tabIndex:f,item:u,isScope:i,content:y})}),r.sort(Fe).reduce(function(u,c){return c.isScope?u.push.apply(u,c.content):u.push(c.content),u},[]).concat(t)},de=function(e,t){t=t||{};var r;return t.getShadowRoot?r=ce([e],t.includeContainer,{filter:W.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:Ce}):r=se(e,t.includeContainer,W.bind(null,t)),xe(r)},ve=function(e,t){t=t||{};var r;return t.getShadowRoot?r=ce([e],t.includeContainer,{filter:M.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):r=se(e,t.includeContainer,M.bind(null,t)),r},R=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return D.call(e,B)===!1?!1:W(t,e)},Le=oe.concat("iframe").join(","),U=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return D.call(e,Le)===!1?!1:M(t,e)};function Y(a,e){(e==null||e>a.length)&&(e=a.length);for(var t=0,r=Array(e);t<e;t++)r[t]=a[t];return r}function Be(a){if(Array.isArray(a))return Y(a)}function Ke(a,e,t){return(e=qe(e))in a?Object.defineProperty(a,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):a[e]=t,a}function je(a){if(typeof Symbol<"u"&&a[Symbol.iterator]!=null||a["@@iterator"]!=null)return Array.from(a)}function Me(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
7
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function be(a,e){var t=Object.keys(a);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(a);e&&(r=r.filter(function(u){return Object.getOwnPropertyDescriptor(a,u).enumerable})),t.push.apply(t,r)}return t}function pe(a){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?be(Object(t),!0).forEach(function(r){Ke(a,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(t)):be(Object(t)).forEach(function(r){Object.defineProperty(a,r,Object.getOwnPropertyDescriptor(t,r))})}return a}function Ue(a){return Be(a)||je(a)||Ve(a)||Me()}function Ge(a,e){if(typeof a!="object"||!a)return a;var t=a[Symbol.toPrimitive];if(t!==void 0){var r=t.call(a,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(a)}function qe(a){var e=Ge(a,"string");return typeof e=="symbol"?e:e+""}function Ve(a,e){if(a){if(typeof a=="string")return Y(a,e);var t={}.toString.call(a).slice(8,-1);return t==="Object"&&a.constructor&&(t=a.constructor.name),t==="Map"||t==="Set"?Array.from(a):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Y(a,e):void 0}}var he={activateTrap:function(e,t){if(e.length>0){var r=e[e.length-1];r!==t&&r.pause()}var u=e.indexOf(t);u===-1||e.splice(u,1),e.push(t)},deactivateTrap:function(e,t){var r=e.indexOf(t);r!==-1&&e.splice(r,1),e.length>0&&e[e.length-1].unpause()}},$e=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},We=function(e){return e?.key==="Escape"||e?.key==="Esc"||e?.keyCode===27},x=function(e){return e?.key==="Tab"||e?.keyCode===9},Ye=function(e){return x(e)&&!e.shiftKey},Ze=function(e){return x(e)&&e.shiftKey},ye=function(e){return setTimeout(e,0)},C=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),u=1;u<t;u++)r[u-1]=arguments[u];return typeof e=="function"?e.apply(void 0,r):e},G=function(e){return e.target.shadowRoot&&typeof e.composedPath=="function"?e.composedPath()[0]:e.target},ze=[],me=function(e,t){var r=t?.document||document,u=t?.trapStack||ze,c=pe({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:Ye,isKeyBackward:Ze},t),i={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},b,f=function(n,o,s){return n&&n[o]!==void 0?n[o]:c[s||o]},y=function(n,o){var s=typeof o?.composedPath=="function"?o.composedPath():void 0;return i.containerGroups.findIndex(function(d){var v=d.container,h=d.tabbableNodes;return v.contains(n)||s?.includes(v)||h.find(function(l){return l===n})})},T=function(n){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=o.hasFallback,d=s===void 0?!1:s,v=o.params,h=v===void 0?[]:v,l=c[n];if(typeof l=="function"&&(l=l.apply(void 0,Ue(h))),l===!0&&(l=void 0),!l){if(l===void 0||l===!1)return l;throw new Error("`".concat(n,"` was specified but was not a node, or did not return a node"))}var m=l;if(typeof l=="string"){try{m=r.querySelector(l)}catch(g){throw new Error("`".concat(n,'` appears to be an invalid selector; error="').concat(g.message,'"'))}if(!m&&!d)throw new Error("`".concat(n,"` as selector refers to no known node"))}return m},w=function(){var n=T("initialFocus",{hasFallback:!0});if(n===!1)return!1;if(n===void 0||n&&!U(n,c.tabbableOptions))if(y(r.activeElement)>=0)n=r.activeElement;else{var o=i.tabbableGroups[0],s=o&&o.firstTabbableNode;n=s||T("fallbackFocus")}else n===null&&(n=T("fallbackFocus"));if(!n)throw new Error("Your focus-trap needs to have at least one focusable element");return n},S=function(){if(i.containerGroups=i.containers.map(function(n){var o=de(n,c.tabbableOptions),s=ve(n,c.tabbableOptions),d=o.length>0?o[0]:void 0,v=o.length>0?o[o.length-1]:void 0,h=s.find(function(g){return R(g)}),l=s.slice().reverse().find(function(g){return R(g)}),m=!!o.find(function(g){return E(g)>0});return{container:n,tabbableNodes:o,focusableNodes:s,posTabIndexesFound:m,firstTabbableNode:d,lastTabbableNode:v,firstDomTabbableNode:h,lastDomTabbableNode:l,nextTabbableNode:function(k){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,F=o.indexOf(k);return F<0?P?s.slice(s.indexOf(k)+1).find(function(O){return R(O)}):s.slice(0,s.indexOf(k)).reverse().find(function(O){return R(O)}):o[F+(P?1:-1)]}}}),i.tabbableGroups=i.containerGroups.filter(function(n){return n.tabbableNodes.length>0}),i.tabbableGroups.length<=0&&!T("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(i.containerGroups.find(function(n){return n.posTabIndexesFound})&&i.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},I=function(n){var o=n.activeElement;if(o)return o.shadowRoot&&o.shadowRoot.activeElement!==null?I(o.shadowRoot):o},N=function(n){if(n!==!1&&n!==I(document)){if(!n||!n.focus){N(w());return}n.focus({preventScroll:!!c.preventScroll}),i.mostRecentlyFocusedNode=n,$e(n)&&n.select()}},Z=function(n){var o=T("setReturnFocus",{params:[n]});return o||(o===!1?!1:n)},z=function(n){var o=n.target,s=n.event,d=n.isBackward,v=d===void 0?!1:d;o=o||G(s),S();var h=null;if(i.tabbableGroups.length>0){var l=y(o,s),m=l>=0?i.containerGroups[l]:void 0;if(l<0)v?h=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:h=i.tabbableGroups[0].firstTabbableNode;else if(v){var g=i.tabbableGroups.findIndex(function(V){var $=V.firstTabbableNode;return o===$});if(g<0&&(m.container===o||U(o,c.tabbableOptions)&&!R(o,c.tabbableOptions)&&!m.nextTabbableNode(o,!1))&&(g=l),g>=0){var k=g===0?i.tabbableGroups.length-1:g-1,P=i.tabbableGroups[k];h=E(o)>=0?P.lastTabbableNode:P.lastDomTabbableNode}else x(s)||(h=m.nextTabbableNode(o,!1))}else{var F=i.tabbableGroups.findIndex(function(V){var $=V.lastTabbableNode;return o===$});if(F<0&&(m.container===o||U(o,c.tabbableOptions)&&!R(o,c.tabbableOptions)&&!m.nextTabbableNode(o))&&(F=l),F>=0){var O=F===i.tabbableGroups.length-1?0:F+1,te=i.tabbableGroups[O];h=E(o)>=0?te.firstTabbableNode:te.firstDomTabbableNode}else x(s)||(h=m.nextTabbableNode(o))}}else h=T("fallbackFocus");return h},L=function(n){var o=G(n);if(!(y(o,n)>=0)){if(C(c.clickOutsideDeactivates,n)){b.deactivate({returnFocus:c.returnFocusOnDeactivate});return}C(c.allowOutsideClick,n)||n.preventDefault()}},X=function(n){var o=G(n),s=y(o,n)>=0;if(s||o instanceof Document)s&&(i.mostRecentlyFocusedNode=o);else{n.stopImmediatePropagation();var d,v=!0;if(i.mostRecentlyFocusedNode)if(E(i.mostRecentlyFocusedNode)>0){var h=y(i.mostRecentlyFocusedNode),l=i.containerGroups[h].tabbableNodes;if(l.length>0){var m=l.findIndex(function(g){return g===i.mostRecentlyFocusedNode});m>=0&&(c.isKeyForward(i.recentNavEvent)?m+1<l.length&&(d=l[m+1],v=!1):m-1>=0&&(d=l[m-1],v=!1))}}else i.containerGroups.some(function(g){return g.tabbableNodes.some(function(k){return E(k)>0})})||(v=!1);else v=!1;v&&(d=z({target:i.mostRecentlyFocusedNode,isBackward:c.isKeyBackward(i.recentNavEvent)})),N(d||i.mostRecentlyFocusedNode||w())}i.recentNavEvent=void 0},ge=function(n){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;i.recentNavEvent=n;var s=z({event:n,isBackward:o});s&&(x(n)&&n.preventDefault(),N(s))},H=function(n){(c.isKeyForward(n)||c.isKeyBackward(n))&&ge(n,c.isKeyBackward(n))},J=function(n){We(n)&&C(c.escapeDeactivates,n)!==!1&&(n.preventDefault(),b.deactivate())},Q=function(n){var o=G(n);y(o,n)>=0||C(c.clickOutsideDeactivates,n)||C(c.allowOutsideClick,n)||(n.preventDefault(),n.stopImmediatePropagation())},_=function(){if(i.active)return he.activateTrap(u,b),i.delayInitialFocusTimer=c.delayInitialFocus?ye(function(){N(w())}):N(w()),r.addEventListener("focusin",X,!0),r.addEventListener("mousedown",L,{capture:!0,passive:!1}),r.addEventListener("touchstart",L,{capture:!0,passive:!1}),r.addEventListener("click",Q,{capture:!0,passive:!1}),r.addEventListener("keydown",H,{capture:!0,passive:!1}),r.addEventListener("keydown",J),b},ee=function(){if(i.active)return r.removeEventListener("focusin",X,!0),r.removeEventListener("mousedown",L,!0),r.removeEventListener("touchstart",L,!0),r.removeEventListener("click",Q,!0),r.removeEventListener("keydown",H,!0),r.removeEventListener("keydown",J),b},we=function(n){var o=n.some(function(s){var d=Array.from(s.removedNodes);return d.some(function(v){return v===i.mostRecentlyFocusedNode})});o&&N(w())},q=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(we):void 0,A=function(){q&&(q.disconnect(),i.active&&!i.paused&&i.containers.map(function(n){q.observe(n,{subtree:!0,childList:!0})}))};return b={get active(){return i.active},get paused(){return i.paused},activate:function(n){if(i.active)return this;var o=f(n,"onActivate"),s=f(n,"onPostActivate"),d=f(n,"checkCanFocusTrap");d||S(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=r.activeElement,o?.();var v=function(){d&&S(),_(),A(),s?.()};return d?(d(i.containers.concat()).then(v,v),this):(v(),this)},deactivate:function(n){if(!i.active)return this;var o=pe({onDeactivate:c.onDeactivate,onPostDeactivate:c.onPostDeactivate,checkCanReturnFocus:c.checkCanReturnFocus},n);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,ee(),i.active=!1,i.paused=!1,A(),he.deactivateTrap(u,b);var s=f(o,"onDeactivate"),d=f(o,"onPostDeactivate"),v=f(o,"checkCanReturnFocus"),h=f(o,"returnFocus","returnFocusOnDeactivate");s?.();var l=function(){ye(function(){h&&N(Z(i.nodeFocusedBeforeActivation)),d?.()})};return h&&v?(v(Z(i.nodeFocusedBeforeActivation)).then(l,l),this):(l(),this)},pause:function(n){if(i.paused||!i.active)return this;var o=f(n,"onPause"),s=f(n,"onPostPause");return i.paused=!0,o?.(),ee(),A(),s?.(),this},unpause:function(n){if(!i.paused||!i.active)return this;var o=f(n,"onUnpause"),s=f(n,"onPostUnpause");return i.paused=!1,o?.(),S(),_(),A(),s?.(),this},updateContainerElements:function(n){var o=[].concat(n).filter(Boolean);return i.containers=o.map(function(s){return typeof s=="string"?r.querySelector(s):s}),i.active&&S(),A(),this}},b.updateContainerElements(e),b};function tt(a,e){let{el:t}=a,r=e?.focusTrapEl||t;if(!r)return;let u={clickOutsideDeactivates:!0,fallbackFocus:r,setReturnFocus:c=>(ne(c),!1),...e?.focusTrapOptions,document:t.ownerDocument,tabbableOptions:re,trapStack:ae};a.focusTrap=me(r,u)}function at(a,e){a.focusTrapDisabled||a.focusTrap?.activate(e)}function rt(a,e){a.focusTrap?.deactivate(e)}function nt(a){a.focusTrap?.updateContainerElements(a.el)}export{tt as a,at as b,rt as c,nt as d};
|
@@ -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 D}from"./DQWJPC22.js";import{c as E,e as z,h as P}from"./COVTDEEB.js";import{c as O,d as R}from"./BMULWGQL.js";import{a as C,b as M}from"./MVHJMI6L.js";import{a as F}from"./RS3QB5Z6.js";import{n as x}from"./MBJAGWVS.js";import{a as V,b as L,d as I}from"./H6JENZS2.js";import{a as w}from"./ITIJ42U7.js";import{A as $,I as k,d as g,e as s,t as m,u as b,v as f,w as u,x as y,y as l}from"./TYYR7NIL.js";var K=({full:p,scale:e,partial:t})=>s`<calcite-icon class=${u(t?void 0:"icon")} .icon=${p?"star-f":"star"} .scale=${e}></calcite-icon>`,q={validationMessage:"validationMessage"},N=g`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([read-only]) *,:host([disabled]) *,:host([read-only]) ::slotted(*),:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;align-items:center;inline-size:fit-content}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]){block-size:1.5rem;--calcite-internal-rating-spacing: .25rem}:host([scale=m]){block-size:2rem;--calcite-internal-rating-spacing: .5rem}:host([scale=l]){block-size:2.75rem;--calcite-internal-rating-spacing: .75rem}.fieldset{margin:0;display:flex;border-width:0;padding:0;align-items:center;gap:var(--calcite-rating-spacing, var(--calcite-internal-rating-spacing))}.wrapper{display:inline-block}.star{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;position:relative;display:flex;flex-direction:column;cursor:pointer;color:var(--calcite-rating-color, var(--calcite-color-border-input))}.star:focus{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))))}.average,.fraction{color:var(--calcite-rating-average-color, var(--calcite-color-status-warning))}.hovered,.selected{color:var(--calcite-rating-color-hover, var(--calcite-color-brand))}.fraction{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;position:absolute;pointer-events:none;inset-block-start:0;overflow:hidden;inset-inline-start:0}calcite-chip{pointer-events:none;cursor:default}.number--average{font-weight:700;color:var(--calcite-rating-average-text-color)}.number--count{color:var(--calcite-rating-count-text-color, var(--calcite-color-text-2));font-style:italic}.number--count:not(:first-child){margin-inline-start:var(--calcite-rating-spacing, var(--calcite-internal-rating-spacing))}.visually-hidden{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:.5rem}:host([scale=s]) .validation-container{padding-block-start:.25rem}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}:host([hidden]){display:none}[hidden]{display:none}`,v=class extends f{constructor(){super(),this.emit=!1,this.guid=`calcite-ratings-${w()}`,this.isKeyboardInteraction=!0,this.labelElements=[],this.max=5,this._value=0,this.disabled=!1,this.messages=F({blocking:!0}),this.readOnly=!1,this.required=!1,this.scale="m",this.showChip=!1,this.status="idle",this.validity={valid:!1,badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1},this.calciteRatingChange=b({cancelable:!1}),this.listen("keydown",this.handleHostKeyDown),this.listen("pointerout",this.handleRatingPointerOut),this.listen("pointerover",this.handleRatingPointerOver)}static{this.properties={hoverValue:16,average:11,count:11,disabled:7,form:3,messageOverrides:0,name:3,readOnly:7,required:7,scale:3,showChip:7,status:3,validationIcon:[3,{converter:$}],validationMessage:1,validity:0,value:11}}static{this.styles=N}get value(){return this._value}set value(e){let t=this._value;e!==t&&(this._value=e,this.hasUpdated&&this.handleValueUpdate(e))}async setFocus(){await I(this),x(this.el)}connectedCallback(){super.connectedCallback(),O(this),E(this)}async load(){V(this),this.requestUpdate("value")}willUpdate(){this.starsMap=Array.from({length:this.max},(e,t)=>{let a=t+1,i=!this.hoverValue&&this.average&&!this.value&&a<=this.average,h=a===this.value,n=this.average&&this.average+1-a,r=a<=this.hoverValue,c=`${this.guid}-${a}`,o=!this.hoverValue&&!this.value&&!r&&n>0&&n<1,d=this.value>=a,A=this.getTabIndex(a);return{average:i,checked:h,fraction:n,hovered:r,id:c,partial:o,selected:d,value:a,tabIndex:A}})}updated(){C(this)}loaded(){this.labelElements=Array.from(this.renderRoot.querySelectorAll("label")),L(this)}disconnectedCallback(){super.disconnectedCallback(),R(this),z(this)}handleValueUpdate(e){this.hoverValue=e,this.emit&&this.calciteRatingChange.emit(),this.emit=!1}onLabelClick(){this.setFocus()}handleRatingPointerOver(){this.isKeyboardInteraction=!1}handleRatingPointerOut(){this.isKeyboardInteraction=!0,this.hoverValue=null}handleHostKeyDown(){this.isKeyboardInteraction=!0}handleLabelKeyDown(e){let t=this.getValueFromLabelEvent(e),a=e.key,i=a==" "?void 0:Number(a);if(this.emit=!0,isNaN(i))switch(a){case"Enter":case" ":this.value=!this.required&&this.value===t?0:t;break;case"ArrowLeft":this.value=this.getPreviousRatingValue(t),this.updateFocus(),e.preventDefault();break;case"ArrowRight":this.value=this.getNextRatingValue(t),this.updateFocus(),e.preventDefault();break;case"Tab":this.hoverValue=null;break}else!this.required&&i>=0&&i<=this.max?this.value=i:this.required&&i>0&&i<=this.max&&(this.value=i),this.updateFocus()}handleInputChange(e){if(this.isKeyboardInteraction===!0){let t=Number(e.target.value);this.hoverValue=t,this.value=t}}handleLabelPointerOver(e){this.hoverValue=this.getValueFromLabelEvent(e)}handleLabelPointerDown(e){let t=e.currentTarget,a=this.getValueFromLabelEvent(e);this.hoverValue=a,this.emit=!0,this.value=!this.required&&this.value===a?0:a,t.focus()}handleLabelClick(e){e.preventDefault()}handleLabelFocus(e){let t=this.getValueFromLabelEvent(e);this.hoverValue=t}updateFocus(){this.hoverValue=this.value,this.labelElements[this.value-1].focus()}getTabIndex(e){return this.readOnly||this.value!==e&&(this.value||e!==1)?-1:0}getValueFromLabelEvent(e){let t=e.currentTarget;return Number(t.getAttribute("data-value"))}getNextRatingValue(e){return e===5?1:e+1}getPreviousRatingValue(e){return e===1?5:e-1}render(){let e=this.count?.toString();return M({disabled:this.disabled,children:s`<span class="wrapper"><fieldset class="fieldset" .disabled=${this.disabled}><legend class="visually-hidden">${this.messages.rating}</legend>${this.starsMap.map(({average:t,checked:a,fraction:i,hovered:h,id:n,partial:r,selected:c,value:o,tabIndex:d})=>s`<label class=${u({star:!0,selected:c,hovered:h,average:t,partial:r})} data-value=${o??l} for=${n??l} @click=${this.handleLabelClick} @focus=${this.handleLabelFocus} @keydown=${this.handleLabelKeyDown} @pointerdown=${this.handleLabelPointerDown} @pointerover=${this.handleLabelPointerOver} tabindex=${d??l}><input aria-errormessage=${q.validationMessage} .ariaInvalid=${this.status==="invalid"} .checked=${a} class="visually-hidden" .disabled=${this.disabled||this.readOnly} id=${n??l} name=${this.guid??l} @change=${this.handleInputChange} tabindex=-1 type=radio .value=${m(o??"")}>${K({full:c||t,scale:this.scale})}${r&&s`<div class="fraction" style=${y({width:`${i*100}%`})}>${K({full:!0,partial:!0,scale:this.scale})}</div>`||""}<span class="visually-hidden">${this.messages.stars.replace("{num}",`${o}`)}</span></label>`)}${(this.count||this.average)&&this.showChip?s`<calcite-chip .label=${e} .scale=${this.scale} .value=${e}>${!!this.average&&s`<span class="number--average">${this.average.toString()}</span>`||""}${!!this.count&&s`<span class="number--count">(${e})</span>`||""}</calcite-chip>`:null}</fieldset>${P({component:this})}${this.validationMessage&&this.status==="invalid"?D({icon:this.validationIcon,id:q.validationMessage,message:this.validationMessage,scale:this.scale,status:this.status}):null}</span>`})}};k("calcite-rating",v);export{v as Rating};
|
@@ -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 y,i as k,j as I}from"./JWIQZFGO.js";import{a}from"./TRYKNJDA.js";import{a as C,b as z}from"./MVHJMI6L.js";import{a as c}from"./OUC47AKY.js";import{a as r,b as $}from"./W5CGAHOI.js";import"./FHAIE7PW.js";import{s as w}from"./MBJAGWVS.js";import{a as v}from"./ITIJ42U7.js";import{I as f,d as p,e as o,i as u,u as s,v as x,w as i,x as g}from"./TYYR7NIL.js";var t={active:"label--active",centerContent:"center-content",container:"container",custom:"icon--custom",description:"description",icon:"icon",iconSelected:"icon--selected",label:"label",scale:h=>`scale--${h}`,selected:"label--selected",shortText:"short-text",single:"label--single",textContainer:"text-container",title:"title"},S={contentEnd:"content-end",contentStart:"content-start"},j=p`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([hidden]){display:none}[hidden]{display:none}.scale--s{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-s: .25rem;--calcite-combobox-item-spacing-unit-l: .5rem;--calcite-combobox-item-selector-icon-size: 1rem;--calcite-internal-combobox-item-description-font-size: var(--calcite-font-size-xs)}.scale--m{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit-s: .375rem;--calcite-combobox-item-spacing-unit-l: .75rem;--calcite-combobox-item-selector-icon-size: 1rem;--calcite-internal-combobox-item-description-font-size: var(--calcite-font-size-sm)}.scale--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit-s: .625rem;--calcite-combobox-item-spacing-unit-l: 1rem;--calcite-combobox-item-selector-icon-size: 1.5rem;--calcite-internal-combobox-item-description-font-size: var(--calcite-font-size)}.container{--calcite-combobox-item-indent-value: calc( var(--calcite-combobox-item-spacing-unit-l) * var(--calcite-combobox-item-spacing-indent-multiplier) )}:host(:focus){--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host,ul{margin:0;display:flex;flex-direction:column;padding:0}:host(:focus),ul:focus{outline:2px solid transparent;outline-offset:2px}.label{position:relative;box-sizing:border-box;display:flex;inline-size:100%;min-inline-size:100%;cursor:pointer;align-items:center;color:var(--calcite-color-text-3);text-decoration-line:none;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1);outline-color:transparent;word-wrap:break-word;word-break:break-word;justify-content:space-around;gap:var(--calcite-combobox-item-spacing-unit-l);padding-block:var(--calcite-combobox-item-spacing-unit-s);padding-inline-end:var(--calcite-combobox-item-spacing-unit-l);padding-inline-start:var(--calcite-combobox-item-indent-value)}:host([disabled]) .label{cursor:default}.label--selected{color:var(--calcite-color-text-1)}.label--selected .title{font-weight:var(--calcite-font-weight-medium)}.label--active{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))))}.label:hover,.label:active{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1);text-decoration-line:none;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.label:active{background-color:var(--calcite-color-foreground-3)}.icon{display:inline-flex;opacity:0;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1);color:var(--calcite-color-border-1)}.icon--custom{margin-block-start:-1px}.icon--selected{color:var(--calcite-color-text-1)}.label--selected .icon{opacity:1;color:var(--calcite-color-brand)}.center-content{display:flex;flex-direction:column;flex-grow:1;padding-block:0}.description{font-size:var(--calcite-internal-combobox-item-description-font-size)}:host([selected]) .description,:host(:hover) .description{color:var(--calcite-color-text-2)}.short-text{color:var(--calcite-color-text-3);white-space:nowrap}.title{color:var(--calcite-color-text-1)}.title,.description,.short-text{line-height:var(--calcite-font-line-height-relative-snug)}.text-match{background-color:transparent;color:inherit;font-weight:var(--calcite-font-weight-bold)}`,d=class extends x{constructor(){super(...arguments),this.hasContent=!1,this.active=!1,this.disabled=!1,this.guid=v(),this.iconFlipRtl=!1,this.scale="m",this.selected=!1,this.selectionMode="multiple",this.calciteComboboxItemChange=s({cancelable:!1}),this.calciteInternalComboboxItemChange=s({cancelable:!1})}static{this.properties={hasContent:16,active:7,ancestors:0,description:1,disabled:7,filterDisabled:7,filterTextMatchPattern:2,guid:3,heading:1,icon:3,iconFlipRtl:7,label:1,metadata:0,scale:1,selected:7,selectionMode:3,shortHeading:1,textLabel:3,value:1}}static{this.styles=j}connectedCallback(){super.connectedCallback(),this.ancestors=y(this.el)}load(){$(this,"value","textLabel")}willUpdate(e){(e.has("disabled")&&(this.hasUpdated||this.disabled!==!1)||e.has("selected")&&(this.hasUpdated||this.selected!==!1)||e.has("textLabel"))&&this.calciteInternalComboboxItemChange.emit()}updated(){C(this)}handleDefaultSlotChange(e){this.hasContent=w(e)}toggleSelected(){let e=this.selectionMode==="single-persist";this.disabled||e&&this.selected||(this.selected=!this.selected,this.calciteComboboxItemChange.emit())}itemClickHandler(){this.toggleSelected()}renderIcon(e){return this.icon?c("icon",o`<calcite-icon class=${i({[t.custom]:!!this.icon,[t.iconSelected]:this.icon&&this.selected})} .flipRtl=${this.iconFlipRtl} .icon=${this.icon||e} .scale=${r(this.scale)}></calcite-icon>`):null}renderSelectIndicator(e){return c("indicator",o`<calcite-icon class=${i({[t.icon]:!0,[t.iconSelected]:this.selected})} .flipRtl=${this.iconFlipRtl} .icon=${e} .scale=${r(this.scale)}></calcite-icon>`)}renderChildren(){return c("default-slot-container",o`<ul .hidden=${!this.hasContent}><slot @slotchange=${this.handleDefaultSlotChange}></slot></ul>`)}render(){let{disabled:e,heading:M,label:L,textLabel:R,value:H,filterTextMatchPattern:l,description:b,shortHeading:m}=this,n=I(this.selectionMode),E=e||n?void 0:"check",F=n?"bullet-point":"check",T=M||R,D=L||H,U={[t.label]:!0,[t.selected]:this.selected,[t.active]:this.active,[t.single]:n},P=k(this.el);return this.el.ariaHidden="true",this.el.ariaLabel=D,z({disabled:e,children:o`<div class=${i({[t.container]:!0,[t.scale(this.scale)]:!0})} style=${g({"--calcite-combobox-item-spacing-indent-multiplier":`${P}`})}><li class=${i(U)} id=${this.guid??u} @click=${this.itemClickHandler}>${this.renderSelectIndicator(F)}<slot name=${S.contentStart}></slot>${this.renderIcon(E)}<div class=${i(t.centerContent)}><div class=${i(t.title)}>${a({text:T,pattern:l})}</div>${b?o`<div class=${i(t.description)}>${a({text:b,pattern:l})}</div>`:null}</div>${m?o`<div class=${i(t.shortText)}>${a({text:m,pattern:l})}</div>`:null}<slot name=${S.contentEnd}></slot></li>${this.renderChildren()}</div>`})}};f("calcite-combobox-item",d);export{d as ComboboxItem};
|
@@ -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 Y}from"./QIG2J5PE.js";import"./J4RAJYKF.js";var m={name:"ja",weekdays:"\u65E5\u66DC\u65E5_\u6708\u66DC\u65E5_\u706B\u66DC\u65E5_\u6C34\u66DC\u65E5_\u6728\u66DC\u65E5_\u91D1\u66DC\u65E5_\u571F\u66DC\u65E5".split("_"),weekdaysShort:"\u65E5_\u6708_\u706B_\u6C34_\u6728_\u91D1_\u571F".split("_"),weekdaysMin:"\u65E5_\u6708_\u706B_\u6C34_\u6728_\u91D1_\u571F".split("_"),months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),ordinal:function(_){return _+"\u65E5"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5E74M\u6708D\u65E5",LLL:"YYYY\u5E74M\u6708D\u65E5 HH:mm",LLLL:"YYYY\u5E74M\u6708D\u65E5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5E74M\u6708D\u65E5",lll:"YYYY\u5E74M\u6708D\u65E5 HH:mm",llll:"YYYY\u5E74M\u6708D\u65E5(ddd) HH:mm"},meridiem:function(_){return _<12?"\u5348\u524D":"\u5348\u5F8C"},relativeTime:{future:"%s\u5F8C",past:"%s\u524D",s:"\u6570\u79D2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65E5",dd:"%d\u65E5",M:"1\u30F6\u6708",MM:"%d\u30F6\u6708",y:"1\u5E74",yy:"%d\u5E74"}};Y.locale(m,null,!0);var e=m;export{e 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{a as p}from"./RM7DO3WC.js";import"./YP2D5DKM.js";import{k as v}from"./7NNFVP5Y.js";import{a as d}from"./OUC47AKY.js";import{a as u}from"./W5CGAHOI.js";import"./FHAIE7PW.js";import"./FQTOWUOI.js";import{a as X}from"./XKQ2CMVV.js";import{a as M}from"./RS3QB5Z6.js";import{a as E,b as L,d as U}from"./H6JENZS2.js";import{I as w,d as y,e as h,i as f,u as C,v as P,w as l}from"./TYYR7NIL.js";var s={list:"list",listItem:"list-item",hiddenItem:"hidden-item",page:"page",selected:"selected",chevron:"chevron",disabled:"disabled",ellipsis:"ellipsis"},I={next:"chevron-right",previous:"chevron-left",first:"chevron-start",last:"chevron-end"},B=y`:host{display:flex;writing-mode:horizontal-tb}.list{margin:0;display:flex;list-style-type:none;padding:0;column-gap:var(--calcite-spacing-base)}.list-item{margin:0;display:flex;padding:0}.hidden-item{display:none}:host([scale=s]) .chevron,:host([scale=s]) .page,:host([scale=s]) .ellipsis{block-size:1.5rem;padding-inline:.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;min-inline-size:1.5rem}:host([scale=m]) .chevron,:host([scale=m]) .page,:host([scale=m]) .ellipsis{block-size:2rem;padding-inline:.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;min-inline-size:2rem}:host([scale=l]) .chevron,:host([scale=l]) .page,:host([scale=l]) .ellipsis{block-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-inline-size:2.75rem}:host([scale=l]) .chevron{padding-inline:.625rem}:host([scale=l]) .page,:host([scale=l]) .ellipsis{padding-inline:.75rem}:host button{outline-color:transparent}:host button:focus{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))))}.chevron,.page,.ellipsis{margin:0;box-sizing:border-box;display:flex;align-items:center;justify-content:center;border-style:none;--tw-border-opacity: 0;background-color:transparent;padding:0;vertical-align:baseline;font-family:inherit;font-size:var(--calcite-font-size-0);line-height:1.25rem;color:var(--calcite-color-text-3)}.chevron,.page{cursor:pointer;border-block:2px solid transparent}.chevron:hover,.page:hover{color:var(--calcite-color-text-1);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}.page:hover{border-block-end-color:var(--calcite-color-border-2)}.page:active{background-color:var(--calcite-color-foreground-3);color:var(--calcite-color-text-1)}.page.selected{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1);border-block-end-color:var(--calcite-color-brand)}.page.selected:focus{border-block-end-width:var(--calcite-spacing-xxs);padding-block-start:var(--calcite-spacing-base)}.chevron:hover{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1)}.chevron:active{background-color:var(--calcite-color-foreground-3);color:var(--calcite-color-text-1)}.chevron.disabled{pointer-events:none;background-color:transparent}.chevron.disabled>calcite-icon{opacity:var(--calcite-opacity-disabled)}:host([hidden]){display:none}[hidden]{display:none}`,x=2,O=2,m={large:11,medium:9,small:7,xsmall:5,xxsmall:1},S=class extends P{constructor(){super(...arguments),this.resizeHandler=({contentRect:{width:t}})=>this.setMaxItemsToBreakpoint(t),this.resizeObserver=X("resize",t=>t.forEach(this.resizeHandler)),this.maxItems=m.xxsmall,this.groupSeparator=!1,this.messages=M(),this.pageSize=20,this.scale="m",this.startItem=1,this.totalItems=0,this.calcitePaginationChange=C({cancelable:!1})}static{this.properties={isXXSmall:16,lastStartItem:16,maxItems:16,totalPages:16,groupSeparator:7,messageOverrides:0,numberingSystem:1,pageSize:11,scale:3,startItem:11,totalItems:11}}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}static{this.styles=B}async goTo(t){switch(t){case"start":this.startItem=1;break;case"end":this.startItem=this.lastStartItem;break;default:t>=Math.ceil(this.totalPages)?this.startItem=this.lastStartItem:t<=0?this.startItem=1:this.startItem=(t-1)*this.pageSize+1}}async nextPage(){this.startItem=Math.min(this.lastStartItem,this.startItem+this.pageSize)}async previousPage(){this.startItem=Math.max(1,this.startItem-this.pageSize)}async setFocus(){await U(this),this.el.focus()}connectedCallback(){super.connectedCallback(),this.resizeObserver?.observe(this.el)}async load(){E(this),this.handleTotalPages(),this.handleLastStartItemChange(),this.handleIsXXSmall()}willUpdate(t){(t.has("totalItems")&&(this.hasUpdated||this.totalItems!==0)||t.has("pageSize")&&(this.hasUpdated||this.pageSize!==20))&&this.handleTotalPages(),(t.has("totalItems")&&(this.hasUpdated||this.totalItems!==0)||t.has("pageSize")&&(this.hasUpdated||this.pageSize!==20)||t.has("totalPages"))&&this.handleLastStartItemChange(),t.has("maxItems")&&(this.hasUpdated||this.maxItems!==m.xxsmall)&&this.handleIsXXSmall(),t.has("messages")&&this.effectiveLocaleChange()}loaded(){L(this),this.setMaxItemsToBreakpoint(this.el.clientWidth)}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver?.disconnect()}handleTotalPages(){this.pageSize<1&&(this.pageSize=1),this.totalPages=this.totalItems/this.pageSize}effectiveLocaleChange(){v.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator}}handleLastStartItemChange(){let{totalItems:t,pageSize:e,totalPages:i}=this;this.lastStartItem=(t%e===0?t-e:Math.floor(i)*e)+1}handleIsXXSmall(){this.isXXSmall=this.maxItems===m.xxsmall}setMaxItemsToBreakpoint(t){if(!(!p||!t)){if(t>=p.width.medium){this.maxItems=m.large;return}if(t>=p.width.small){this.maxItems=m.medium;return}if(t>=p.width.xsmall){this.maxItems=m.small;return}if(t>=p.width.xxsmall){this.maxItems=m.xsmall;return}this.maxItems=m.xxsmall}}firstClicked(){this.startItem=1,this.emitUpdate()}lastClicked(){this.startItem=this.lastStartItem,this.emitUpdate()}async previousClicked(){await this.previousPage(),this.emitUpdate()}async nextClicked(){await this.nextPage(),this.emitUpdate()}showStartEllipsis(){return this.totalPages>this.maxItems&&Math.floor(this.startItem/this.pageSize)>this.maxItems-x-O}showEndEllipsis(){return this.totalPages>this.maxItems&&(this.totalItems-this.startItem)/this.pageSize>this.maxItems-x-(O-1)}emitUpdate(){this.calcitePaginationChange.emit()}handlePageClick(t){let e=t.target;this.startItem=parseInt(e.value),this.emitUpdate()}renderEllipsis(t){return d(t,h`<span class=${l(s.ellipsis)} data-test-ellipsis=${t??f}>…</span>`)}renderItems(){let{totalItems:t,pageSize:e,startItem:i,maxItems:a,totalPages:r,lastStartItem:b,isXXSmall:T}=this,o=[];if(T)return o.push(this.renderPage(i)),o;let F=t>e,z=this.showStartEllipsis(),k=this.showEndEllipsis();F&&o.push(this.renderPage(1)),z&&o.push(this.renderEllipsis("start"));let n=a-x-(k?1:0)-(z?1:0),g,c;r-1<=n?(c=1+e,g=b-e):i/e<n?(c=1+e,g=1+n*e):i+n*e>=t?(c=b-n*e,g=b-e):(c=i-e*((n-1)/2),g=i+e*((n-1)/2));for(let $=0;$<n&&c<=g;$++)o.push(this.renderPage(c)),c=c+e;return k&&o.push(this.renderEllipsis("end")),o.push(this.renderPage(b)),o}renderPage(t){let{pageSize:e}=this,i=Math.floor(t/e)+(e===1?0:1);v.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator};let a=v.localize(i.toString()),r=t===this.startItem;return h`<li class=${l(s.listItem)}><button .ariaCurrent=${r?"page":"false"} class=${l({[s.page]:!0,[s.selected]:r})} @click=${this.handlePageClick} value=${t??f}>${a}</button></li>`}renderPreviousChevron(){let{pageSize:t,startItem:e,messages:i}=this,a=t===1?e<=t:e<t;return d("previous",h`<button .ariaLabel=${i.previous} class=${l({[s.chevron]:!0,[s.disabled]:a})} data-test-chevron=previous .disabled=${a} @click=${this.previousClicked}><calcite-icon flip-rtl .icon=${I.previous} .scale=${u(this.scale)}></calcite-icon></button>`)}renderNextChevron(){let{totalItems:t,pageSize:e,startItem:i,messages:a}=this,r=i+e>t;return d("next-button",h`<button .ariaLabel=${a.next} class=${l({[s.chevron]:!0,[s.disabled]:r})} data-test-chevron=next .disabled=${r} @click=${this.nextClicked}><calcite-icon flip-rtl .icon=${I.next} .scale=${u(this.scale)}></calcite-icon></button>`)}renderFirstChevron(){let{messages:t,startItem:e,isXXSmall:i}=this,a=e===1;return i?d("first-button",h`<button .ariaLabel=${t.first} class=${l({[s.chevron]:!0,[s.disabled]:a})} .disabled=${a} @click=${this.firstClicked}><calcite-icon flip-rtl .icon=${I.first} .scale=${u(this.scale)}></calcite-icon></button>`):null}renderLastChevron(){let{messages:t,startItem:e,isXXSmall:i,lastStartItem:a}=this,r=e===a;return i?d("last-button",h`<button .ariaLabel=${t.last} class=${l({[s.chevron]:!0,[s.disabled]:r})} .disabled=${r} @click=${this.lastClicked}><calcite-icon flip-rtl .icon=${I.last} .scale=${u(this.scale)}></calcite-icon></button>`):null}render(){let t=this.renderFirstChevron(),e=this.renderLastChevron();return h`<ul class=${l(s.list)}><li class=${l({[s.listItem]:!0,[s.hiddenItem]:!t})}>${t}</li><li class=${l(s.listItem)}>${this.renderPreviousChevron()}</li>${this.renderItems()}<li class=${l(s.listItem)}>${this.renderNextChevron()}</li><li class=${l({[s.listItem]:!0,[s.hiddenItem]:!e})}>${e}</li></ul>`}};w("calcite-pagination",S);export{S as Pagination};
|
@@ -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 g,b as I}from"./MVHJMI6L.js";import{a as h,b as p}from"./R6R2QDCZ.js";import{l as m,z as a}from"./MBJAGWVS.js";import{a as u,b,c as f}from"./H6JENZS2.js";import"./ITIJ42U7.js";import{I as n,d,e as c,u as o,v as r}from"./TYYR7NIL.js";var S=d`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block}.container{display:flex;flex-wrap:wrap;gap:var(--calcite-card-group-space, var(--calcite-card-group-gap, var(--calcite-spacing-base)))}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}`,l=class extends r{constructor(){super(),this.items=[],this.slotRefEl=h(),this.disabled=!1,this.selectedItems=[],this.selectionMode="none",this.calciteCardGroupSelect=o({cancelable:!1}),this.listen("calciteInternalCardKeyEvent",this.calciteInternalCardKeyEventListener),this.listen("calciteCardSelect",this.calciteCardSelectListener)}static{this.properties={disabled:7,label:1,selectedItems:0,selectionMode:3}}static{this.styles=S}async setFocus(){await f(this),this.disabled||m(this.items[0])}load(){u(this)}willUpdate(e){e.has("selectionMode")&&this.hasUpdated&&this.updateItemsOnSelectionModeChange()}updated(){g(this)}loaded(){b(this),this.updateSelectedItems()}calciteInternalCardKeyEventListener(e){if(e.composedPath().includes(this.el)){let s=this.items.filter(t=>!t.disabled);switch(e.detail.key){case"ArrowRight":a(s,e.target,"next");break;case"ArrowLeft":a(s,e.target,"previous");break;case"Home":a(s,e.target,"first");break;case"End":a(s,e.target,"last");break}}}calciteCardSelectListener(e){e.composedPath().includes(this.el)&&!e.target.selectable&&this.setSelectedItems(!0,e.target)}updateItemsOnSelectionModeChange(){this.updateSlottedItems(this.slotRefEl.value),this.updateSelectedItems()}updateItemsOnSlotChange(e){this.updateSlottedItems(e.target),this.updateSelectedItems()}updateSlottedItems(e){this.items=e.assignedElements({flatten:!0}).filter(s=>s?.matches("calcite-card"))}updateSelectedItems(){this.items.forEach(e=>{e.selectionMode=this.selectionMode}),this.setSelectedItems(!1)}setSelectedItems(e,s){s&&this.items.forEach(t=>{let i=s===t;switch(this.selectionMode){case"multiple":i&&(t.selected=!t.selected);break;case"single":t.selected=i?!t.selected:!1;break;case"single-persist":t.selected=!!i;break}}),this.selectedItems=this.items.filter(t=>t.selected),e&&this.selectionMode!=="none"&&!this.disabled&&this.calciteCardGroupSelect.emit()}render(){let e=this.selectionMode==="none"||this.selectionMode==="multiple"?"group":"radiogroup";return I({disabled:this.disabled,children:c`<div .ariaLabel=${this.label} class="container" .role=${e}><slot @slotchange=${this.updateItemsOnSlotChange} ${p(this.slotRefEl)}></slot></div>`})}};n("calcite-card-group",l);export{l as CardGroup};
|
@@ -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 e}from"./QIG2J5PE.js";import"./J4RAJYKF.js";var _={name:"nb",weekdays:"s\xF8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xF8rdag".split("_"),weekdaysShort:"s\xF8._ma._ti._on._to._fr._l\xF8.".split("_"),weekdaysMin:"s\xF8_ma_ti_on_to_fr_l\xF8".split("_"),months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),ordinal:function(t){return t+"."},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en m\xE5ned",MM:"%d m\xE5neder",y:"ett \xE5r",yy:"%d \xE5r"}};e.locale(_,null,!0);var m=_;export{m as default};
|