@esri/solutions-components 0.8.37 → 0.8.38
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/assets/t9n/layer-list/resources_ar.json +1 -1
- package/dist/assets/t9n/layer-list/resources_bg.json +1 -1
- package/dist/assets/t9n/layer-list/resources_bs.json +1 -1
- package/dist/assets/t9n/layer-list/resources_ca.json +1 -1
- package/dist/assets/t9n/layer-list/resources_cs.json +1 -1
- package/dist/assets/t9n/layer-list/resources_da.json +1 -1
- package/dist/assets/t9n/layer-list/resources_de.json +1 -1
- package/dist/assets/t9n/layer-list/resources_el.json +1 -1
- package/dist/assets/t9n/layer-list/resources_es.json +1 -1
- package/dist/assets/t9n/layer-list/resources_et.json +1 -1
- package/dist/assets/t9n/layer-list/resources_fi.json +1 -1
- package/dist/assets/t9n/layer-list/resources_fr.json +1 -1
- package/dist/assets/t9n/layer-list/resources_he.json +1 -1
- package/dist/assets/t9n/layer-list/resources_hr.json +1 -1
- package/dist/assets/t9n/layer-list/resources_hu.json +1 -1
- package/dist/assets/t9n/layer-list/resources_id.json +1 -1
- package/dist/assets/t9n/layer-list/resources_it.json +1 -1
- package/dist/assets/t9n/layer-list/resources_ja.json +1 -1
- package/dist/assets/t9n/layer-list/resources_ko.json +1 -1
- package/dist/assets/t9n/layer-list/resources_lt.json +1 -1
- package/dist/assets/t9n/layer-list/resources_lv.json +1 -1
- package/dist/assets/t9n/layer-list/resources_nb.json +1 -1
- package/dist/assets/t9n/layer-list/resources_nl.json +1 -1
- package/dist/assets/t9n/layer-list/resources_pl.json +1 -1
- package/dist/assets/t9n/layer-list/resources_pt-BR.json +1 -1
- package/dist/assets/t9n/layer-list/resources_pt-PT.json +1 -1
- package/dist/assets/t9n/layer-list/resources_ro.json +1 -1
- package/dist/assets/t9n/layer-list/resources_ru.json +1 -1
- package/dist/assets/t9n/layer-list/resources_sk.json +1 -1
- package/dist/assets/t9n/layer-list/resources_sl.json +1 -1
- package/dist/assets/t9n/layer-list/resources_sr.json +1 -1
- package/dist/assets/t9n/layer-list/resources_sv.json +1 -1
- package/dist/assets/t9n/layer-list/resources_th.json +1 -1
- package/dist/assets/t9n/layer-list/resources_tr.json +1 -1
- package/dist/assets/t9n/layer-list/resources_uk.json +1 -1
- package/dist/assets/t9n/layer-list/resources_vi.json +1 -1
- package/dist/assets/t9n/layer-list/resources_zh-CN.json +1 -1
- package/dist/assets/t9n/layer-list/resources_zh-HK.json +1 -1
- package/dist/assets/t9n/layer-list/resources_zh-TW.json +1 -1
- package/dist/cjs/ExpandToggle-1ff416a1.js +118 -0
- package/dist/cjs/FloatingArrow-ba8caba2.js +50 -0
- package/dist/cjs/Heading-f1f9e2dd.js +25 -0
- package/dist/cjs/Validation-425b2de4.js +20 -0
- package/dist/cjs/ar-a2f57db2.js +105 -0
- package/dist/cjs/arcgis-login.cjs.entry.js +1 -1
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +2 -2
- package/dist/cjs/bg-cb903045.js +83 -0
- package/dist/cjs/breakpoints-7d21666f.js +17 -0
- package/dist/cjs/browser-d12b6cd5.js +25 -0
- package/dist/cjs/bs-3690f22d.js +52 -0
- package/dist/cjs/buffer-tools_3.cjs.entry.js +4 -4
- package/dist/cjs/ca-fec18921.js +72 -0
- package/dist/cjs/calcite-accordion-item.cjs.entry.js +4 -4
- package/dist/cjs/calcite-accordion.cjs.entry.js +2 -2
- package/dist/cjs/calcite-action-bar.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-group.cjs.entry.js +6 -6
- package/dist/cjs/calcite-action-menu_3.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-pad_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-action_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-alert_4.cjs.entry.js +12 -12
- package/dist/cjs/calcite-avatar_2.cjs.entry.js +2 -2
- package/dist/cjs/calcite-block-section.cjs.entry.js +5 -5
- package/dist/cjs/calcite-block_5.cjs.entry.js +54 -53
- package/dist/cjs/calcite-button.cjs.entry.js +9 -9
- package/dist/cjs/calcite-card-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-card.cjs.entry.js +7 -7
- package/dist/cjs/calcite-carousel-item.cjs.entry.js +1 -1
- package/dist/cjs/calcite-carousel.cjs.entry.js +7 -7
- package/dist/cjs/calcite-checkbox.cjs.entry.js +5 -5
- package/dist/cjs/calcite-chip-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-chip_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +2 -2
- package/dist/cjs/calcite-color-picker.cjs.entry.js +7 -7
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +2 -2
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-dropdown-group_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-dropdown_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-fab.cjs.entry.js +4 -4
- package/dist/cjs/calcite-filter_5.cjs.entry.js +7 -7
- package/dist/cjs/calcite-flow_6.cjs.entry.js +19 -24
- package/dist/cjs/calcite-icon.cjs.entry.js +2 -2
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
- package/dist/cjs/calcite-input-number.cjs.entry.js +9 -9
- package/dist/cjs/calcite-input-text.cjs.entry.js +9 -9
- package/dist/cjs/calcite-input-time-picker-686f45e7.js +1864 -0
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js +12 -12
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +8 -8
- package/dist/cjs/calcite-input_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-label.cjs.entry.js +1 -1
- package/dist/cjs/calcite-link.cjs.entry.js +4 -4
- package/dist/cjs/calcite-list-item-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-menu-item.cjs.entry.js +5 -5
- package/dist/cjs/calcite-menu.cjs.entry.js +5 -5
- package/dist/cjs/calcite-meter.cjs.entry.js +5 -5
- package/dist/cjs/calcite-modal.cjs.entry.js +7 -7
- package/dist/cjs/calcite-navigation-logo.cjs.entry.js +4 -4
- package/dist/cjs/calcite-navigation.cjs.entry.js +2 -2
- package/dist/cjs/calcite-notice.cjs.entry.js +7 -7
- package/dist/cjs/calcite-option-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-option_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-pagination.cjs.entry.js +5 -5
- package/dist/cjs/calcite-panel_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js +8 -8
- package/dist/cjs/calcite-pick-list.cjs.entry.js +6 -6
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-radio-button.cjs.entry.js +5 -5
- package/dist/cjs/calcite-rating.cjs.entry.js +8 -8
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-sheet.cjs.entry.js +4 -4
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js +3 -3
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +15 -15
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +4 -4
- package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
- package/dist/cjs/calcite-stepper-item.cjs.entry.js +8 -8
- package/dist/cjs/calcite-stepper.cjs.entry.js +4 -4
- package/dist/cjs/calcite-switch.cjs.entry.js +5 -5
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-table-row.cjs.entry.js +3 -3
- package/dist/cjs/calcite-table.cjs.entry.js +6 -6
- package/dist/cjs/calcite-text-area.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tile-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-tile-select.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile.cjs.entry.js +4 -4
- package/dist/cjs/calcite-time-picker.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tip-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-tip-manager.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tip.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tooltip.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tree_2.cjs.entry.js +6 -6
- package/dist/cjs/card-manager_3.cjs.entry.js +6 -6
- package/dist/cjs/common-03600219.js +38 -0
- package/dist/cjs/conditionalSlot-349d1b3a.js +54 -0
- package/dist/cjs/consent-manager.cjs.entry.js +10 -1031
- package/dist/cjs/crowdsource-manager.cjs.entry.js +3 -3
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +3 -3
- package/dist/cjs/cs-b061b441.js +148 -0
- package/dist/cjs/da-e3c379ae.js +67 -0
- package/dist/cjs/date-874bf94e.js +261 -0
- package/dist/cjs/de-65d2876f.js +92 -0
- package/dist/cjs/de-at-16b7b50e.js +91 -0
- package/dist/cjs/de-ch-11dcd113.js +91 -0
- package/dist/cjs/deduct-calculator.cjs.entry.js +2 -2
- package/dist/cjs/downloadUtils-839a1425.js +3165 -0
- package/dist/cjs/el-321d43b5.js +67 -0
- package/dist/cjs/en-au-c48e6b73.js +67 -0
- package/dist/cjs/en-ca-9cc0e8f7.js +66 -0
- package/dist/cjs/en-gb-8ced841b.js +70 -0
- package/dist/cjs/es-aca5e6b4.js +67 -0
- package/dist/cjs/es-mx-b69f0ebb.js +66 -0
- package/dist/cjs/et-7e29340d.js +93 -0
- package/dist/cjs/feature-comments.cjs.entry.js +1 -1
- package/dist/cjs/feature-form-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/feature-list.cjs.entry.js +7 -7
- package/dist/cjs/features-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/fi-f215f4d1.js +116 -0
- package/dist/cjs/floating-ui-beb70d3c.js +2295 -0
- package/dist/cjs/form-71a108a7.js +381 -0
- package/dist/cjs/fr-0daba4be.js +69 -0
- package/dist/cjs/fr-ch-76f752e9.js +67 -0
- package/dist/cjs/he-32860a76.js +106 -0
- package/dist/cjs/helpers-7cee3150.js +940 -0
- package/dist/cjs/hi-c5639f76.js +66 -0
- package/dist/cjs/hr-eb700fd5.js +81 -0
- package/dist/cjs/hu-e30e3d3a.js +89 -0
- package/dist/cjs/id-a3e96e5b.js +67 -0
- package/dist/cjs/index-97020c9d.js +201 -0
- package/dist/cjs/index-ff18be0d.js +1739 -0
- package/dist/cjs/index.es-dd4d4842.js +11317 -0
- package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +8 -8
- package/dist/cjs/instant-apps-control-panel.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-create.cjs.entry.js +52 -50
- package/dist/cjs/instant-apps-export.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-header.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +142 -141
- package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +7 -7
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +11 -11
- package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-landing-page.cjs.entry.js +12 -12
- package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +8 -8
- package/dist/cjs/instant-apps-language-translator.cjs.entry.js +8 -8
- package/dist/cjs/instant-apps-measurement.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-popover.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-popovers.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-sign-in.cjs.entry.js +7 -7
- package/dist/cjs/instant-apps-splash.cjs.entry.js +11 -11
- package/dist/cjs/interactive-7e5c7df4.js +154 -0
- package/dist/cjs/it-acd3cf54.js +67 -0
- package/dist/cjs/it-ch-c78435e7.js +67 -0
- package/dist/cjs/ja-ede2132a.js +73 -0
- package/dist/cjs/ko-fcd96551.js +73 -0
- package/dist/cjs/languageSwitcher-1154d55d.js +60 -0
- package/dist/cjs/languageUtil-d23251cd.js +69 -0
- package/dist/cjs/layout-manager.cjs.entry.js +2 -2
- package/dist/cjs/list-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/loadModules-4189814e.js +23 -0
- package/dist/cjs/loadable-5d538ba2.js +94 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/locale-62f4cef2.js +91 -0
- package/dist/cjs/locale-6973733d.js +161 -0
- package/dist/cjs/locale-d2a1066a.js +584 -0
- package/dist/cjs/location-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/lt-a30330ef.js +98 -0
- package/dist/cjs/lv-ac3b6560.js +67 -0
- package/dist/cjs/map-select-tools_3.cjs.entry.js +8 -8
- package/dist/cjs/mapViewUtils-78b14528.js +510 -0
- package/dist/cjs/mk-a3053dea.js +67 -0
- package/dist/cjs/mode-3478ba36.js +19 -0
- package/dist/cjs/nb-7ab0bac1.js +68 -0
- package/dist/cjs/nl-7fa437ef.js +68 -0
- package/dist/cjs/observers-2a59d471.js +55 -0
- package/dist/cjs/openCloseComponent-e752f2a5.js +92 -0
- package/dist/cjs/pci-calculator.cjs.entry.js +2 -2
- package/dist/cjs/pciUtils-f1adcf64.js +847 -0
- package/dist/cjs/pl-ea95b104.js +115 -0
- package/dist/cjs/popupUtils-bae7f923.js +111 -0
- package/dist/cjs/pt-472083c2.js +68 -0
- package/dist/cjs/pt-br-5f18543e.js +66 -0
- package/dist/cjs/public-notification.cjs.entry.js +28 -16
- package/dist/cjs/publicNotificationStore-691f6f30.js +47 -0
- package/dist/cjs/refine-results-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/restHelpersGet-afc74285.js +919 -0
- package/dist/cjs/ro-e8b3d65c.js +67 -0
- package/dist/cjs/ru-becefd01.js +127 -0
- package/dist/cjs/share-item.cjs.entry.js +1 -1
- package/dist/cjs/shared-list-render-6491aae1.js +365 -0
- package/dist/cjs/sk-2f5fd4e0.js +149 -0
- package/dist/cjs/sl-3ae17da6.js +169 -0
- package/dist/cjs/solution-configuration.cjs.entry.js +6 -6
- package/dist/cjs/solution-contents_3.cjs.entry.js +7 -7
- package/dist/cjs/solution-item-icon.cjs.entry.js +1 -1
- package/dist/cjs/solution-resource-ffe3c333.js +145 -0
- package/dist/cjs/solution-store-c8bada29.js +1344 -0
- package/dist/cjs/solutions-components.cjs.js +2 -2
- package/dist/cjs/spatial-ref.cjs.entry.js +4 -4
- package/dist/cjs/sr-7d6b8d1b.js +102 -0
- package/dist/cjs/store-manager.cjs.entry.js +1 -1
- package/dist/cjs/styles-ef2b1e04.js +13 -0
- package/dist/cjs/sv-9c51da5c.js +72 -0
- package/dist/cjs/t9n-ef615628.js +100 -0
- package/dist/cjs/th-fec0a074.js +66 -0
- package/dist/cjs/time-089ab043.js +289 -0
- package/dist/cjs/tr-8d7c18a1.js +67 -0
- package/dist/cjs/uk-46a61312.js +105 -0
- package/dist/cjs/utils-1de4eaa0.js +130 -0
- package/dist/cjs/utils-d237cb85.js +65 -0
- package/dist/cjs/vi-4114aa90.js +71 -0
- package/dist/cjs/zh-cn-30aca6fe.js +95 -0
- package/dist/cjs/zh-hk-5971eb67.js +72 -0
- package/dist/cjs/zh-tw-5fb5e7a9.js +93 -0
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/consent-manager/consent-manager.js +1 -0
- package/dist/collection/components/feature-details/feature-details.js +10 -15
- package/dist/collection/components/public-notification/public-notification.js +20 -8
- package/dist/collection/utils/mapViewUtils.js +2 -0
- package/dist/collection/utils/mapViewUtils.ts +2 -0
- package/dist/collection/utils/pciUtils.js +1 -1
- package/dist/collection/utils/pciUtils.ts +2 -2
- package/dist/components/breakpoints.js +5 -5
- package/dist/components/button.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-navigation-logo.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/combobox-item.js +1 -1
- package/dist/components/consent-manager.js +7 -1029
- package/dist/components/deduct-calculator2.js +1 -1
- package/dist/components/dropdown-item.js +1 -1
- package/dist/components/feature-details2.js +10 -15
- package/dist/components/helpers.js +723 -691
- package/dist/components/instant-apps-ckeditor-wrapper2.js +1 -1
- package/dist/components/instant-apps-control-panel.js +1 -1
- package/dist/components/instant-apps-create.js +47 -45
- package/dist/components/instant-apps-export.js +1 -1
- package/dist/components/instant-apps-filter-list2.js +24 -24
- package/dist/components/instant-apps-header2.js +2 -2
- package/dist/components/instant-apps-interactive-legend-classic2.js +139 -138
- package/dist/components/instant-apps-interactive-legend-count2.js +1 -1
- package/dist/components/instant-apps-interactive-legend-group-legend-element-caption.js +3 -3
- package/dist/components/instant-apps-interactive-legend-group-legend-element2.js +2 -2
- package/dist/components/instant-apps-interactive-legend-layer-element-caption2.js +2 -2
- package/dist/components/instant-apps-interactive-legend-layer-element2.js +2 -2
- package/dist/components/instant-apps-interactive-legend-legend-element-caption2.js +1 -1
- package/dist/components/instant-apps-interactive-legend-legend-element2.js +2 -2
- package/dist/components/instant-apps-interactive-legend-relationship2.js +2 -2
- package/dist/components/instant-apps-keyboard-shortcuts.js +1 -1
- package/dist/components/instant-apps-landing-page.js +10 -10
- package/dist/components/instant-apps-language-switcher.js +1 -1
- package/dist/components/instant-apps-language-translator-search2.js +1 -1
- package/dist/components/instant-apps-language-translator2.js +44 -44
- package/dist/components/instant-apps-measurement-tool2.js +2 -2
- package/dist/components/instant-apps-measurement.js +1 -1
- package/dist/components/instant-apps-popover.js +1 -1
- package/dist/components/instant-apps-popovers.js +1 -1
- package/dist/components/instant-apps-scoreboard.js +1 -1
- package/dist/components/instant-apps-sign-in2.js +3 -3
- package/dist/components/instant-apps-social-share2.js +12 -11
- package/dist/components/instant-apps-splash.js +7 -7
- package/dist/components/languageUtil.js +43 -43
- package/dist/components/loadModules2.js +3 -3
- package/dist/components/locale3.js +58 -58
- package/dist/components/mapViewUtils.js +2 -0
- package/dist/components/mode.js +6 -6
- package/dist/components/public-notification.js +20 -8
- package/dist/components/restHelpersGet.js +329 -382
- package/dist/components/solution-resource.js +107 -107
- package/dist/components/solution-store.js +482 -482
- package/dist/components/store.js +66 -66
- package/dist/components/styles.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tree-item.js +1 -1
- package/dist/components/utils4.js +80 -80
- package/dist/esm/ExpandToggle-12c73c9f.js +110 -0
- package/dist/esm/FloatingArrow-5585c8f7.js +48 -0
- package/dist/esm/Heading-63031c74.js +22 -0
- package/dist/esm/Validation-6712b322.js +18 -0
- package/dist/esm/ar-19d4f5c7.js +103 -0
- package/dist/esm/arcgis-login.entry.js +1 -1
- package/dist/esm/basemap-gallery_7.entry.js +3 -3
- package/dist/esm/bg-63235b1a.js +81 -0
- package/dist/esm/breakpoints-3afa0fd9.js +15 -0
- package/dist/esm/browser-e76c94f7.js +23 -0
- package/dist/esm/bs-a1b74ac8.js +50 -0
- package/dist/esm/buffer-tools_3.entry.js +5 -5
- package/dist/esm/ca-b29c38ed.js +70 -0
- package/dist/esm/calcite-accordion-item.entry.js +4 -4
- package/dist/esm/calcite-accordion.entry.js +2 -2
- package/dist/esm/calcite-action-bar.entry.js +7 -7
- package/dist/esm/calcite-action-group.entry.js +6 -6
- package/dist/esm/calcite-action-menu_3.entry.js +9 -9
- package/dist/esm/calcite-action-pad_2.entry.js +11 -11
- package/dist/esm/calcite-action_2.entry.js +7 -7
- package/dist/esm/calcite-alert_4.entry.js +13 -13
- package/dist/esm/calcite-avatar_2.entry.js +2 -2
- package/dist/esm/calcite-block-section.entry.js +5 -5
- package/dist/esm/calcite-block_5.entry.js +55 -54
- package/dist/esm/calcite-button.entry.js +9 -9
- package/dist/esm/calcite-card-group.entry.js +4 -4
- package/dist/esm/calcite-card.entry.js +7 -7
- package/dist/esm/calcite-carousel-item.entry.js +1 -1
- package/dist/esm/calcite-carousel.entry.js +7 -7
- package/dist/esm/calcite-checkbox.entry.js +5 -5
- package/dist/esm/calcite-chip-group.entry.js +4 -4
- package/dist/esm/calcite-chip_2.entry.js +10 -10
- package/dist/esm/calcite-color-picker-hex-input_2.entry.js +2 -2
- package/dist/esm/calcite-color-picker.entry.js +7 -7
- package/dist/esm/calcite-combobox-item-group.entry.js +2 -2
- package/dist/esm/calcite-combobox_3.entry.js +12 -12
- package/dist/esm/calcite-date-picker-day_3.entry.js +8 -8
- package/dist/esm/calcite-dropdown-group_2.entry.js +7 -7
- package/dist/esm/calcite-dropdown_2.entry.js +8 -8
- package/dist/esm/calcite-fab.entry.js +4 -4
- package/dist/esm/calcite-filter_5.entry.js +7 -7
- package/dist/esm/calcite-flow_6.entry.js +20 -25
- package/dist/esm/calcite-icon.entry.js +2 -2
- package/dist/esm/calcite-inline-editable.entry.js +7 -7
- package/dist/esm/calcite-input-number.entry.js +9 -9
- package/dist/esm/calcite-input-text.entry.js +9 -9
- package/dist/esm/calcite-input-time-picker-7d1c6e48.js +1861 -0
- package/dist/esm/calcite-input-time-picker.entry.js +12 -12
- package/dist/esm/calcite-input-time-zone.entry.js +8 -8
- package/dist/esm/calcite-input_2.entry.js +9 -9
- package/dist/esm/calcite-label.entry.js +1 -1
- package/dist/esm/calcite-link.entry.js +4 -4
- package/dist/esm/calcite-list-item-group.entry.js +3 -3
- package/dist/esm/calcite-menu-item.entry.js +5 -5
- package/dist/esm/calcite-menu.entry.js +5 -5
- package/dist/esm/calcite-meter.entry.js +5 -5
- package/dist/esm/calcite-modal.entry.js +7 -7
- package/dist/esm/calcite-navigation-logo.entry.js +4 -4
- package/dist/esm/calcite-navigation.entry.js +2 -2
- package/dist/esm/calcite-notice.entry.js +7 -7
- package/dist/esm/calcite-option-group.entry.js +1 -1
- package/dist/esm/calcite-option_2.entry.js +7 -7
- package/dist/esm/calcite-pagination.entry.js +5 -5
- package/dist/esm/calcite-panel_2.entry.js +9 -9
- package/dist/esm/calcite-pick-list-group.entry.js +4 -4
- package/dist/esm/calcite-pick-list-item.entry.js +8 -8
- package/dist/esm/calcite-pick-list.entry.js +6 -6
- package/dist/esm/calcite-radio-button-group.entry.js +4 -4
- package/dist/esm/calcite-radio-button.entry.js +5 -5
- package/dist/esm/calcite-rating.entry.js +8 -8
- package/dist/esm/calcite-segmented-control_2.entry.js +7 -7
- package/dist/esm/calcite-sheet.entry.js +4 -4
- package/dist/esm/calcite-shell-center-row.entry.js +3 -3
- package/dist/esm/calcite-shell-panel_14.entry.js +16 -16
- package/dist/esm/calcite-sortable-list.entry.js +4 -4
- package/dist/esm/calcite-split-button.entry.js +4 -4
- package/dist/esm/calcite-stepper-item.entry.js +8 -8
- package/dist/esm/calcite-stepper.entry.js +4 -4
- package/dist/esm/calcite-switch.entry.js +5 -5
- package/dist/esm/calcite-table-cell_2.entry.js +7 -7
- package/dist/esm/calcite-table-row.entry.js +3 -3
- package/dist/esm/calcite-table.entry.js +6 -6
- package/dist/esm/calcite-text-area.entry.js +9 -9
- package/dist/esm/calcite-tile-group.entry.js +4 -4
- package/dist/esm/calcite-tile-select-group.entry.js +3 -3
- package/dist/esm/calcite-tile-select.entry.js +4 -4
- package/dist/esm/calcite-tile.entry.js +4 -4
- package/dist/esm/calcite-time-picker.entry.js +6 -6
- package/dist/esm/calcite-tip-group.entry.js +1 -1
- package/dist/esm/calcite-tip-manager.entry.js +5 -5
- package/dist/esm/calcite-tip.entry.js +6 -6
- package/dist/esm/calcite-tooltip.entry.js +4 -4
- package/dist/esm/calcite-tree_2.entry.js +6 -6
- package/dist/esm/card-manager_3.entry.js +7 -7
- package/dist/esm/common-8697fccd.js +36 -0
- package/dist/esm/conditionalSlot-56bdb202.js +51 -0
- package/dist/esm/consent-manager.entry.js +10 -1031
- package/dist/esm/crowdsource-manager.entry.js +4 -4
- package/dist/esm/crowdsource-reporter.entry.js +4 -4
- package/dist/esm/cs-da7231d6.js +146 -0
- package/dist/esm/da-7e105037.js +65 -0
- package/dist/esm/date-93ae46b9.js +245 -0
- package/dist/esm/de-at-1d9434bb.js +89 -0
- package/dist/esm/de-b5646b5d.js +90 -0
- package/dist/esm/de-ch-7beada93.js +89 -0
- package/dist/esm/deduct-calculator.entry.js +2 -2
- package/dist/esm/downloadUtils-97acca92.js +3158 -0
- package/dist/esm/el-0f4bf89b.js +65 -0
- package/dist/esm/en-au-5c144cef.js +65 -0
- package/dist/esm/en-ca-1160089a.js +64 -0
- package/dist/esm/en-gb-ae98fc58.js +68 -0
- package/dist/esm/es-88e1743a.js +65 -0
- package/dist/esm/es-mx-020dfaaa.js +64 -0
- package/dist/esm/esri-loader-3080dcc0.js +311 -0
- package/dist/esm/et-84f63ef8.js +91 -0
- package/dist/esm/feature-comments.entry.js +1 -1
- package/dist/esm/feature-form-flow-item.entry.js +1 -1
- package/dist/esm/feature-list.entry.js +8 -8
- package/dist/esm/features-flow-item.entry.js +1 -1
- package/dist/esm/fi-1016ee6e.js +114 -0
- package/dist/esm/floating-ui-f086572c.js +2287 -0
- package/dist/esm/form-8fd73cbd.js +372 -0
- package/dist/esm/fr-0e7ffd73.js +67 -0
- package/dist/esm/fr-ch-e18bae2c.js +65 -0
- package/dist/esm/he-0cebe004.js +104 -0
- package/dist/esm/helpers-7c88b974.js +913 -0
- package/dist/esm/hi-cded031d.js +64 -0
- package/dist/esm/hr-5643b2ab.js +79 -0
- package/dist/esm/html2canvas-fd387d87.js +7845 -0
- package/dist/esm/hu-6d605858.js +87 -0
- package/dist/esm/id-7d804c46.js +65 -0
- package/dist/esm/index-83b693bc.js +1705 -0
- package/dist/esm/index-d97f4f15.js +199 -0
- package/dist/esm/index.es-ee5497bc.js +11230 -0
- package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +9 -9
- package/dist/esm/instant-apps-control-panel.entry.js +4 -4
- package/dist/esm/instant-apps-create.entry.js +53 -51
- package/dist/esm/instant-apps-export.entry.js +7 -7
- package/dist/esm/instant-apps-header.entry.js +7 -7
- package/dist/esm/instant-apps-interactive-legend-classic.entry.js +143 -142
- package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +7 -7
- package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +8 -8
- package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +12 -12
- package/dist/esm/instant-apps-interactive-legend.entry.js +7 -7
- package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +6 -6
- package/dist/esm/instant-apps-landing-page.entry.js +12 -12
- package/dist/esm/instant-apps-language-switcher.entry.js +9 -9
- package/dist/esm/instant-apps-language-translator.entry.js +9 -9
- package/dist/esm/instant-apps-measurement.entry.js +6 -6
- package/dist/esm/instant-apps-popover.entry.js +6 -6
- package/dist/esm/instant-apps-popovers.entry.js +2 -2
- package/dist/esm/instant-apps-scoreboard.entry.js +7 -7
- package/dist/esm/instant-apps-sign-in.entry.js +8 -8
- package/dist/esm/instant-apps-splash.entry.js +12 -12
- package/dist/esm/interactive-3b9600a6.js +149 -0
- package/dist/esm/it-849be361.js +65 -0
- package/dist/esm/it-ch-453fa26d.js +65 -0
- package/dist/esm/ja-edff1441.js +71 -0
- package/dist/esm/ko-dc103450.js +71 -0
- package/dist/esm/languageSwitcher-0f693a04.js +57 -0
- package/dist/esm/languageUtil-de206286.js +66 -0
- package/dist/esm/layout-manager.entry.js +3 -3
- package/dist/esm/list-flow-item.entry.js +1 -1
- package/dist/esm/loadModules-43119ac8.js +21 -0
- package/dist/esm/loadable-b765a6f6.js +89 -0
- package/dist/esm/loader.js +2 -2
- package/dist/esm/locale-42369411.js +156 -0
- package/dist/esm/locale-70630b7c.js +86 -0
- package/dist/esm/locale-a4cbae12.js +571 -0
- package/dist/esm/location-flow-item.entry.js +1 -1
- package/dist/esm/lt-270cc811.js +96 -0
- package/dist/esm/lv-c877043c.js +65 -0
- package/dist/esm/map-select-tools_3.entry.js +9 -9
- package/dist/esm/mapViewUtils-e3de60cc.js +492 -0
- package/dist/esm/mk-a816a702.js +65 -0
- package/dist/esm/mode-8c5f5dc9.js +17 -0
- package/dist/esm/nb-e9c09b70.js +66 -0
- package/dist/esm/nl-56e70f3b.js +66 -0
- package/dist/esm/observers-fcb1c07b.js +53 -0
- package/dist/esm/openCloseComponent-bbe76c58.js +90 -0
- package/dist/esm/pci-calculator.entry.js +2 -2
- package/dist/esm/pciUtils-986ddad9.js +844 -0
- package/dist/esm/pl-687b559a.js +113 -0
- package/dist/esm/popupUtils-98ad70f3.js +109 -0
- package/dist/esm/pt-8b05fed2.js +66 -0
- package/dist/esm/pt-br-85bdf812.js +64 -0
- package/dist/esm/public-notification.entry.js +29 -17
- package/dist/esm/publicNotificationStore-08faccff.js +45 -0
- package/dist/esm/purify-caded4cd.js +1714 -0
- package/dist/esm/refine-results-flow-item.entry.js +1 -1
- package/dist/esm/restHelpersGet-dab84057.js +906 -0
- package/dist/esm/ro-0975d6bb.js +65 -0
- package/dist/esm/ru-24b83704.js +125 -0
- package/dist/esm/share-item.entry.js +1 -1
- package/dist/esm/shared-list-render-07a20fc5.js +343 -0
- package/dist/esm/sk-8179af4d.js +147 -0
- package/dist/esm/sl-e6922692.js +167 -0
- package/dist/esm/solution-configuration.entry.js +7 -7
- package/dist/esm/solution-contents_3.entry.js +8 -8
- package/dist/esm/solution-item-icon.entry.js +1 -1
- package/dist/esm/solution-resource-a2fff3bf.js +142 -0
- package/dist/esm/solution-store-30a19a45.js +1342 -0
- package/dist/esm/solutions-components.js +3 -3
- package/dist/esm/spatial-ref.entry.js +5 -5
- package/dist/esm/sr-1d30e69e.js +100 -0
- package/dist/esm/store-manager.entry.js +1 -1
- package/dist/esm/styles-b3492d9f.js +11 -0
- package/dist/esm/sv-ea3c4b80.js +70 -0
- package/dist/esm/t9n-dd2a98fc.js +95 -0
- package/dist/esm/th-0f1b35bc.js +64 -0
- package/dist/esm/time-bc97792f.js +274 -0
- package/dist/esm/tr-eb4e860e.js +65 -0
- package/dist/esm/uk-f3ebd952.js +103 -0
- package/dist/esm/utils-9bb48951.js +121 -0
- package/dist/esm/utils-bf012a3f.js +54 -0
- package/dist/esm/vi-872e449d.js +69 -0
- package/dist/esm/zh-cn-8c5a3222.js +93 -0
- package/dist/esm/zh-hk-247683c2.js +70 -0
- package/dist/esm/zh-tw-76a429e9.js +91 -0
- package/dist/loader/cdn.js +1 -2
- package/dist/loader/index.cjs.js +1 -2
- package/dist/loader/index.es2017.js +1 -2
- package/dist/loader/index.js +1 -2
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion-item/accordion-item.css +1 -2
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/button/button.css +2 -4
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item/combobox-item.css +2 -4
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-item/dropdown-item.css +4 -8
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-logo/navigation-logo.css +1 -2
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper-item/stepper-item.css +1 -2
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-title/tab-title.css +1 -2
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree-item/tree-item.css +1 -4
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-header/instant-apps-header.css +5 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-sign-in/instant-apps-sign-in.css +1 -6
- package/dist/solutions-components/p-01ba6099.js +6 -0
- package/dist/solutions-components/p-03178c37.js +6 -0
- package/dist/solutions-components/p-046acd6b.entry.js +6 -0
- package/dist/solutions-components/p-0a053ed7.js +6 -0
- package/dist/solutions-components/p-0ab0b1ad.entry.js +11 -0
- package/dist/solutions-components/p-0e8ad7d1.entry.js +11 -0
- package/dist/solutions-components/p-11094d76.entry.js +29 -0
- package/dist/solutions-components/p-11b4cd1a.entry.js +6 -0
- package/dist/solutions-components/p-123fcb43.entry.js +6 -0
- package/dist/solutions-components/p-12b84e3b.entry.js +36 -0
- package/dist/solutions-components/p-132b1138.entry.js +21 -0
- package/dist/solutions-components/p-13b513ed.entry.js +11 -0
- package/dist/solutions-components/p-15e08453.js +6 -0
- package/dist/solutions-components/p-17feaae0.entry.js +17 -0
- package/dist/solutions-components/p-1983d6e8.js +6 -0
- package/dist/solutions-components/p-1a8f7075.entry.js +6 -0
- package/dist/solutions-components/p-1b4149b8.entry.js +11 -0
- package/dist/solutions-components/p-1cc7fcd0.entry.js +11 -0
- package/dist/solutions-components/p-1ceaab98.entry.js +11 -0
- package/dist/solutions-components/p-1d369231.js +21 -0
- package/dist/solutions-components/p-1fd9cd5f.entry.js +6 -0
- package/dist/solutions-components/p-20a567b0.entry.js +6 -0
- package/dist/solutions-components/p-21965dcd.entry.js +11 -0
- package/dist/solutions-components/p-2305749d.entry.js +17 -0
- package/dist/solutions-components/p-24634430.entry.js +11 -0
- package/dist/solutions-components/p-2599399f.entry.js +6 -0
- package/dist/solutions-components/p-27c68097.js +11 -0
- package/dist/solutions-components/p-27e4dc8a.entry.js +11 -0
- package/dist/solutions-components/p-28fd26ed.js +6 -0
- package/dist/solutions-components/p-293d376c.js +6 -0
- package/dist/solutions-components/p-29c60f3d.entry.js +11 -0
- package/dist/solutions-components/p-2a2e4578.entry.js +6 -0
- package/dist/solutions-components/p-2a7111ad.entry.js +6 -0
- package/dist/solutions-components/p-2a990146.entry.js +6 -0
- package/dist/solutions-components/p-2b4e50ed.js +6 -0
- package/dist/solutions-components/p-2d99bd61.js +6 -0
- package/dist/solutions-components/p-2e401f51.js +6 -0
- package/dist/solutions-components/p-2e64dc3b.entry.js +6 -0
- package/dist/solutions-components/p-3102119d.entry.js +11 -0
- package/dist/solutions-components/p-3137377f.entry.js +11 -0
- package/dist/solutions-components/p-34722455.entry.js +6 -0
- package/dist/solutions-components/p-36f5dee9.entry.js +6 -0
- package/dist/solutions-components/p-37e2754a.js +6 -0
- package/dist/solutions-components/p-398ff315.js +11 -0
- package/dist/solutions-components/p-3a50fe57.entry.js +17 -0
- package/dist/solutions-components/p-3ac77bd5.entry.js +11 -0
- package/dist/solutions-components/p-3acc8a71.entry.js +6 -0
- package/dist/solutions-components/p-3b1f45b4.entry.js +12 -0
- package/dist/solutions-components/p-3b931fc5.entry.js +6 -0
- package/dist/solutions-components/p-3eb49703.js +489 -0
- package/dist/solutions-components/p-42ea2581.js +6 -0
- package/dist/solutions-components/p-44043ef6.entry.js +11 -0
- package/dist/solutions-components/p-44bfa87d.js +11 -0
- package/dist/solutions-components/p-45db29e2.js +6 -0
- package/dist/solutions-components/p-465fbfc2.js +6 -0
- package/dist/solutions-components/p-4691b6ad.entry.js +11 -0
- package/dist/solutions-components/p-49250010.js +6 -0
- package/dist/solutions-components/p-4b80b699.entry.js +6 -0
- package/dist/solutions-components/p-4b85c3dc.js +6 -0
- package/dist/solutions-components/p-4e92c1ba.entry.js +17 -0
- package/dist/solutions-components/p-4fbd1a02.js +6 -0
- package/dist/solutions-components/p-50aa0e5a.js +6 -0
- package/dist/solutions-components/p-52bcd209.entry.js +6 -0
- package/dist/solutions-components/p-52bdaec9.entry.js +6 -0
- package/dist/solutions-components/p-5443995c.entry.js +11 -0
- package/dist/solutions-components/p-55730588.js +6 -0
- package/dist/solutions-components/p-57961ae0.entry.js +6 -0
- package/dist/solutions-components/p-57a03a95.js +17 -0
- package/dist/solutions-components/p-59f016a1.js +61 -0
- package/dist/solutions-components/p-5b2d9899.entry.js +6 -0
- package/dist/solutions-components/p-5bd6a732.entry.js +6 -0
- package/dist/solutions-components/p-5db64297.entry.js +11 -0
- package/dist/solutions-components/p-5eb6219c.js +11 -0
- package/dist/solutions-components/p-5ed5626f.entry.js +6 -0
- package/dist/solutions-components/p-5ed825c4.js +6 -0
- package/dist/solutions-components/p-5f1fdaf9.js +11 -0
- package/dist/solutions-components/p-5fb4ddc2.entry.js +6 -0
- package/dist/solutions-components/p-61dcdc62.js +6 -0
- package/dist/solutions-components/p-622f33ee.entry.js +6 -0
- package/dist/solutions-components/p-64ee17c6.entry.js +6 -0
- package/dist/solutions-components/p-652140aa.entry.js +6 -0
- package/dist/solutions-components/p-6809e050.entry.js +11 -0
- package/dist/solutions-components/p-69cfc738.entry.js +6 -0
- package/dist/solutions-components/p-69db1e2c.js +6 -0
- package/dist/solutions-components/p-6acf6c8f.js +7 -0
- package/dist/solutions-components/p-6bf91f6e.js +6 -0
- package/dist/solutions-components/p-6c7e34c1.entry.js +47 -0
- package/dist/solutions-components/p-6d0404a6.entry.js +6 -0
- package/dist/solutions-components/p-6d51c6bf.js +6 -0
- package/dist/solutions-components/p-6df9b158.entry.js +11 -0
- package/dist/solutions-components/p-716a0878.js +11 -0
- package/dist/solutions-components/p-71c212e6.entry.js +12 -0
- package/dist/solutions-components/p-71ed8170.entry.js +11 -0
- package/dist/solutions-components/p-727b8bf8.entry.js +11 -0
- package/dist/solutions-components/p-7388563d.js +6 -0
- package/dist/solutions-components/p-747d4b59.js +21 -0
- package/dist/solutions-components/p-74dbad36.js +6 -0
- package/dist/solutions-components/p-7638ce3d.js +6 -0
- package/dist/solutions-components/p-76f51550.entry.js +11 -0
- package/dist/solutions-components/p-7773d8ea.js +6 -0
- package/dist/solutions-components/p-7822e93b.js +16 -0
- package/dist/solutions-components/p-789eb1c2.entry.js +6 -0
- package/dist/solutions-components/p-7996f123.js +50 -0
- package/dist/solutions-components/p-79c7ff2b.entry.js +24 -0
- package/dist/solutions-components/p-7a2f1801.entry.js +6 -0
- package/dist/solutions-components/p-7a646a97.js +6 -0
- package/dist/solutions-components/p-7afca6b4.js +26 -0
- package/dist/solutions-components/p-7dcf6b16.entry.js +6 -0
- package/dist/solutions-components/p-7efcfb47.js +6 -0
- package/dist/solutions-components/p-7f4bc6d2.entry.js +6 -0
- package/dist/solutions-components/p-7fe77355.js +6 -0
- package/dist/solutions-components/p-7fea6d8a.js +6 -0
- package/dist/solutions-components/p-8008449b.entry.js +16 -0
- package/dist/solutions-components/p-813d004f.js +16 -0
- package/dist/solutions-components/p-8241b179.entry.js +17 -0
- package/dist/solutions-components/p-8413a2ae.entry.js +6 -0
- package/dist/solutions-components/p-853d952d.entry.js +6 -0
- package/dist/solutions-components/p-89f6ff72.js +6 -0
- package/dist/solutions-components/p-8a4f9e8d.entry.js +11 -0
- package/dist/solutions-components/p-8babc507.entry.js +6 -0
- package/dist/solutions-components/p-8c6d9b5a.js +6 -0
- package/dist/solutions-components/p-8dcc5305.entry.js +12 -0
- package/dist/solutions-components/p-8ed6ce4d.js +11 -0
- package/dist/solutions-components/p-9088fa3a.js +6 -0
- package/dist/solutions-components/p-90e3ce7f.js +6 -0
- package/dist/solutions-components/p-9271710d.js +6 -0
- package/dist/solutions-components/p-9377260c.js +6 -0
- package/dist/solutions-components/p-941e55f0.entry.js +6 -0
- package/dist/solutions-components/p-946ee345.js +145 -0
- package/dist/solutions-components/p-97421bb9.js +6 -0
- package/dist/solutions-components/p-9808250d.entry.js +6 -0
- package/dist/solutions-components/p-9a7e00b8.js +6 -0
- package/dist/solutions-components/p-9b38e6a0.entry.js +6 -0
- package/dist/solutions-components/p-9c1fbf73.entry.js +6 -0
- package/dist/solutions-components/p-9c6c056a.js +12 -0
- package/dist/solutions-components/p-9d82f0e3.entry.js +6 -0
- package/dist/solutions-components/p-9dd1049f.entry.js +11 -0
- package/dist/solutions-components/p-9e77f5c7.js +11 -0
- package/dist/solutions-components/p-9fa1855f.entry.js +6 -0
- package/dist/solutions-components/p-a146dcbe.entry.js +6 -0
- package/dist/solutions-components/p-a204dcff.entry.js +11 -0
- package/dist/solutions-components/p-a2390bee.entry.js +6 -0
- package/dist/solutions-components/p-a805c11f.entry.js +6 -0
- package/dist/solutions-components/p-a89e61f4.js +11 -0
- package/dist/solutions-components/p-aa967a48.entry.js +6 -0
- package/dist/solutions-components/p-ab8039f5.js +6 -0
- package/dist/solutions-components/p-acef743f.entry.js +11 -0
- package/dist/solutions-components/p-ada34f83.js +6 -0
- package/dist/solutions-components/p-af1c9389.entry.js +6 -0
- package/dist/solutions-components/p-afd2b67b.entry.js +23 -0
- package/dist/solutions-components/p-b1a4c444.entry.js +6 -0
- package/dist/solutions-components/p-b1abf15c.entry.js +29 -0
- package/dist/solutions-components/p-b25e8339.js +6 -0
- package/dist/solutions-components/p-b2ba3c28.entry.js +11 -0
- package/dist/solutions-components/p-b2f11718.entry.js +11 -0
- package/dist/solutions-components/p-b4230022.entry.js +11 -0
- package/dist/solutions-components/p-b442aa02.entry.js +17 -0
- package/dist/solutions-components/p-b592fbc6.entry.js +11 -0
- package/dist/solutions-components/p-b5c88983.js +6 -0
- package/dist/solutions-components/p-b64cc55e.js +11 -0
- package/dist/solutions-components/p-b77b6c26.js +6 -0
- package/dist/solutions-components/p-b7d060b0.entry.js +6 -0
- package/dist/solutions-components/p-b8d4452e.entry.js +11 -0
- package/dist/solutions-components/p-ba569f8b.js +11 -0
- package/dist/solutions-components/p-bac8a4cd.js +6 -0
- package/dist/solutions-components/p-bd459df3.entry.js +11 -0
- package/dist/solutions-components/p-bf27cd5f.js +6 -0
- package/dist/solutions-components/p-c27bb7cf.entry.js +11 -0
- package/dist/solutions-components/p-c32d79e2.entry.js +22 -0
- package/dist/solutions-components/p-c4160bf7.js +6 -0
- package/dist/solutions-components/p-c4ddb206.js +21 -0
- package/dist/solutions-components/p-c554abce.entry.js +11 -0
- package/dist/solutions-components/p-c63a8225.entry.js +6 -0
- package/dist/solutions-components/p-c8935707.entry.js +11 -0
- package/dist/solutions-components/p-c96bde1d.js +6 -0
- package/dist/solutions-components/p-c9b22653.js +36 -0
- package/dist/solutions-components/p-cb6165e9.entry.js +16 -0
- package/dist/solutions-components/p-cc07069d.entry.js +11 -0
- package/dist/solutions-components/p-cc388a08.js +11 -0
- package/dist/solutions-components/p-cc9fdd5f.entry.js +6 -0
- package/dist/solutions-components/p-cf0eeb0a.entry.js +6 -0
- package/dist/solutions-components/p-d029b513.js +6 -0
- package/dist/solutions-components/p-d11d941c.js +6 -0
- package/dist/solutions-components/p-d27ab863.js +37 -0
- package/dist/solutions-components/p-d31a139f.entry.js +11 -0
- package/dist/solutions-components/p-d36fb1b5.entry.js +6 -0
- package/dist/solutions-components/p-d6f3fc2c.entry.js +11 -0
- package/dist/solutions-components/p-d9e190a4.entry.js +6 -0
- package/dist/solutions-components/p-da75df88.entry.js +6 -0
- package/dist/solutions-components/p-de279d51.entry.js +6 -0
- package/dist/solutions-components/p-de4cf79a.entry.js +11 -0
- package/dist/solutions-components/p-df0a1d4b.js +11 -0
- package/dist/solutions-components/p-dff78ae3.entry.js +11 -0
- package/dist/solutions-components/p-e0277e0b.entry.js +6 -0
- package/dist/solutions-components/p-e11a4728.entry.js +6 -0
- package/dist/solutions-components/p-e528c321.js +6 -0
- package/dist/solutions-components/p-e6c9e6af.js +11 -0
- package/dist/solutions-components/p-e6e4071e.entry.js +17 -0
- package/dist/solutions-components/p-e7ed87eb.entry.js +11 -0
- package/dist/solutions-components/p-e89c05d6.entry.js +6 -0
- package/dist/solutions-components/p-ec0c2611.entry.js +11 -0
- package/dist/solutions-components/p-ee309d0b.js +6 -0
- package/dist/solutions-components/p-ee7f7c24.js +6 -0
- package/dist/solutions-components/p-ef54f211.js +6 -0
- package/dist/solutions-components/p-ef930f76.entry.js +11 -0
- package/dist/solutions-components/p-f163a137.js +6 -0
- package/dist/solutions-components/p-f1ae51dc.js +21 -0
- package/dist/solutions-components/p-f480b275.js +6 -0
- package/dist/solutions-components/p-f539a342.entry.js +11 -0
- package/dist/solutions-components/p-f8c45269.entry.js +6 -0
- package/dist/solutions-components/p-fa1ceaf9.js +7 -0
- package/dist/solutions-components/p-fb7b9bd3.entry.js +6 -0
- package/dist/solutions-components/p-fc9a49db.js +6 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/mapViewUtils.ts +2 -0
- package/dist/solutions-components/utils/pciUtils.ts +2 -2
- package/dist/types/stencil-public-runtime.d.ts +3 -8
- package/package.json +41 -40
- package/dist/cjs/ExpandToggle-249fdc45.js +0 -118
- package/dist/cjs/FloatingArrow-28abf7c7.js +0 -50
- package/dist/cjs/Heading-1f831135.js +0 -25
- package/dist/cjs/Validation-eb9afded.js +0 -20
- package/dist/cjs/ar-1013e0a6.js +0 -105
- package/dist/cjs/bg-7013971e.js +0 -83
- package/dist/cjs/breakpoints-fcd0f2a0.js +0 -17
- package/dist/cjs/browser-a96d0614.js +0 -25
- package/dist/cjs/bs-97bd61eb.js +0 -52
- package/dist/cjs/ca-2a76034c.js +0 -72
- package/dist/cjs/calcite-input-time-picker-ebdc5205.js +0 -1864
- package/dist/cjs/common-6d2c14c6.js +0 -38
- package/dist/cjs/conditionalSlot-93779916.js +0 -54
- package/dist/cjs/cs-b189af7b.js +0 -148
- package/dist/cjs/da-ebb3b688.js +0 -67
- package/dist/cjs/date-456675b2.js +0 -261
- package/dist/cjs/de-01ac3f09.js +0 -92
- package/dist/cjs/de-at-1437180c.js +0 -91
- package/dist/cjs/de-ch-b9a068a3.js +0 -91
- package/dist/cjs/downloadUtils-83bf79ba.js +0 -3165
- package/dist/cjs/el-7ce5c99d.js +0 -67
- package/dist/cjs/en-au-c3ca3a9f.js +0 -67
- package/dist/cjs/en-ca-34007cde.js +0 -66
- package/dist/cjs/en-gb-2db136a2.js +0 -70
- package/dist/cjs/es-f00ce3f0.js +0 -67
- package/dist/cjs/es-mx-503b9e1a.js +0 -66
- package/dist/cjs/et-556f49fd.js +0 -93
- package/dist/cjs/fi-47ef7686.js +0 -116
- package/dist/cjs/floating-ui-06d961ad.js +0 -2295
- package/dist/cjs/form-a27f759c.js +0 -381
- package/dist/cjs/fr-5ba5763a.js +0 -69
- package/dist/cjs/fr-ch-9b02cb30.js +0 -67
- package/dist/cjs/he-07cce409.js +0 -106
- package/dist/cjs/helpers-618a3f7d.js +0 -907
- package/dist/cjs/hi-7b691fb6.js +0 -66
- package/dist/cjs/hr-ebd3ae66.js +0 -81
- package/dist/cjs/hu-b177f75e.js +0 -89
- package/dist/cjs/id-ffab63fb.js +0 -67
- package/dist/cjs/index-79b35510.js +0 -1682
- package/dist/cjs/index-c078ea5f.js +0 -201
- package/dist/cjs/index.es-4e523f8b.js +0 -11317
- package/dist/cjs/interactive-f08f0369.js +0 -154
- package/dist/cjs/it-8646ff2a.js +0 -67
- package/dist/cjs/it-ch-6c949267.js +0 -67
- package/dist/cjs/ja-cf48eff1.js +0 -73
- package/dist/cjs/ko-294e5fae.js +0 -73
- package/dist/cjs/languageSwitcher-b9a1485c.js +0 -60
- package/dist/cjs/languageUtil-da436671.js +0 -69
- package/dist/cjs/loadModules-b28900c2.js +0 -23
- package/dist/cjs/loadable-b374ef4b.js +0 -94
- package/dist/cjs/locale-3fd260e3.js +0 -91
- package/dist/cjs/locale-48d76c59.js +0 -161
- package/dist/cjs/locale-5efdf085.js +0 -584
- package/dist/cjs/lt-a592829c.js +0 -98
- package/dist/cjs/lv-39a6d278.js +0 -67
- package/dist/cjs/mapViewUtils-911698e5.js +0 -508
- package/dist/cjs/mk-afea13c6.js +0 -67
- package/dist/cjs/mode-d6c12b38.js +0 -19
- package/dist/cjs/nb-b7cf648c.js +0 -68
- package/dist/cjs/nl-72021978.js +0 -68
- package/dist/cjs/observers-4fa351d9.js +0 -55
- package/dist/cjs/openCloseComponent-6a283ac3.js +0 -92
- package/dist/cjs/pciUtils-a238f3a1.js +0 -847
- package/dist/cjs/pl-82312f6a.js +0 -115
- package/dist/cjs/popupUtils-9ca69f8c.js +0 -111
- package/dist/cjs/pt-42d95816.js +0 -68
- package/dist/cjs/pt-br-b0b546fc.js +0 -66
- package/dist/cjs/publicNotificationStore-3bfbbed3.js +0 -47
- package/dist/cjs/restHelpersGet-dbaa28df.js +0 -972
- package/dist/cjs/ro-e7948270.js +0 -67
- package/dist/cjs/ru-3526e86f.js +0 -127
- package/dist/cjs/shared-list-render-b6b23d9e.js +0 -365
- package/dist/cjs/sk-0f35900e.js +0 -149
- package/dist/cjs/sl-abc6455f.js +0 -169
- package/dist/cjs/solution-resource-a577e84f.js +0 -145
- package/dist/cjs/solution-store-8ba2ab4b.js +0 -1344
- package/dist/cjs/sr-fe2d4b5b.js +0 -102
- package/dist/cjs/styles-c9e1375a.js +0 -13
- package/dist/cjs/sv-6503d7e1.js +0 -72
- package/dist/cjs/t9n-9d199056.js +0 -100
- package/dist/cjs/th-9600cb11.js +0 -66
- package/dist/cjs/time-d250cbf5.js +0 -289
- package/dist/cjs/tr-faae7cc6.js +0 -67
- package/dist/cjs/uk-5e626d2b.js +0 -105
- package/dist/cjs/utils-e3996e43.js +0 -65
- package/dist/cjs/utils-f3710824.js +0 -130
- package/dist/cjs/vi-74653398.js +0 -71
- package/dist/cjs/zh-cn-b53af030.js +0 -95
- package/dist/cjs/zh-hk-96b751d5.js +0 -72
- package/dist/cjs/zh-tw-50d1a248.js +0 -93
- package/dist/esm/ExpandToggle-73432b0a.js +0 -110
- package/dist/esm/FloatingArrow-c3a62ec9.js +0 -48
- package/dist/esm/Heading-03b41bf8.js +0 -22
- package/dist/esm/Validation-59757032.js +0 -18
- package/dist/esm/ar-a0f8473e.js +0 -103
- package/dist/esm/bg-4a8059f0.js +0 -81
- package/dist/esm/breakpoints-f0f1417d.js +0 -15
- package/dist/esm/browser-9897260d.js +0 -23
- package/dist/esm/bs-3d9fa4b7.js +0 -50
- package/dist/esm/ca-a74ba459.js +0 -70
- package/dist/esm/calcite-input-time-picker-2cdb1664.js +0 -1861
- package/dist/esm/common-7f72122b.js +0 -36
- package/dist/esm/conditionalSlot-16953b0d.js +0 -51
- package/dist/esm/cs-cd3323d4.js +0 -146
- package/dist/esm/da-eccb7ace.js +0 -65
- package/dist/esm/date-562b6fba.js +0 -245
- package/dist/esm/de-269c8d62.js +0 -90
- package/dist/esm/de-at-742cc453.js +0 -89
- package/dist/esm/de-ch-b4ff8ebb.js +0 -89
- package/dist/esm/downloadUtils-571a502d.js +0 -3158
- package/dist/esm/el-e7e0181b.js +0 -65
- package/dist/esm/en-au-0f12d4ae.js +0 -65
- package/dist/esm/en-ca-d692f9a4.js +0 -64
- package/dist/esm/en-gb-e91744e9.js +0 -68
- package/dist/esm/es-867bace7.js +0 -65
- package/dist/esm/es-mx-cde6ed6f.js +0 -64
- package/dist/esm/esri-loader-2bf735ed.js +0 -311
- package/dist/esm/et-a2613f53.js +0 -91
- package/dist/esm/fi-07875b7a.js +0 -114
- package/dist/esm/floating-ui-9ee6fe17.js +0 -2287
- package/dist/esm/form-6d38f4ee.js +0 -372
- package/dist/esm/fr-669ba3b9.js +0 -67
- package/dist/esm/fr-ch-da569be6.js +0 -65
- package/dist/esm/he-6cbfe53b.js +0 -104
- package/dist/esm/helpers-61b05164.js +0 -881
- package/dist/esm/hi-913d1595.js +0 -64
- package/dist/esm/hr-8f581dc9.js +0 -79
- package/dist/esm/html2canvas-28c7de60.js +0 -7845
- package/dist/esm/hu-02bb4a04.js +0 -87
- package/dist/esm/id-306dcc93.js +0 -65
- package/dist/esm/index-ba5da2b0.js +0 -1648
- package/dist/esm/index-c06194fa.js +0 -199
- package/dist/esm/index.es-2f9f04c5.js +0 -11230
- package/dist/esm/interactive-52276a00.js +0 -149
- package/dist/esm/it-3f0c20a1.js +0 -65
- package/dist/esm/it-ch-fe18a6c5.js +0 -65
- package/dist/esm/ja-41455a15.js +0 -71
- package/dist/esm/ko-88a4fc75.js +0 -71
- package/dist/esm/languageSwitcher-d60f03b2.js +0 -57
- package/dist/esm/languageUtil-36f8f4ef.js +0 -66
- package/dist/esm/loadModules-496086ee.js +0 -21
- package/dist/esm/loadable-cca582a3.js +0 -89
- package/dist/esm/locale-353c1c36.js +0 -571
- package/dist/esm/locale-69333b8e.js +0 -86
- package/dist/esm/locale-a490c4f6.js +0 -156
- package/dist/esm/lt-5c1c3aa4.js +0 -96
- package/dist/esm/lv-acb76551.js +0 -65
- package/dist/esm/mapViewUtils-b8deb4ae.js +0 -490
- package/dist/esm/mk-b12a886b.js +0 -65
- package/dist/esm/mode-66911cb5.js +0 -17
- package/dist/esm/nb-50bbf4fa.js +0 -66
- package/dist/esm/nl-6dd1488e.js +0 -66
- package/dist/esm/observers-19e5cb73.js +0 -53
- package/dist/esm/openCloseComponent-04234cea.js +0 -90
- package/dist/esm/pciUtils-73d4b6b4.js +0 -844
- package/dist/esm/pl-f0ccb3a4.js +0 -113
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/esm/popupUtils-8efd3cde.js +0 -109
- package/dist/esm/pt-3adf4f5e.js +0 -66
- package/dist/esm/pt-br-5ad78776.js +0 -64
- package/dist/esm/publicNotificationStore-74c7e9f4.js +0 -45
- package/dist/esm/purify-dbd0968e.js +0 -1714
- package/dist/esm/restHelpersGet-1bd54274.js +0 -959
- package/dist/esm/ro-ba24a126.js +0 -65
- package/dist/esm/ru-2feffc99.js +0 -125
- package/dist/esm/shared-list-render-aaa69039.js +0 -343
- package/dist/esm/sk-097e96ba.js +0 -147
- package/dist/esm/sl-27721fe2.js +0 -167
- package/dist/esm/solution-resource-0d0eb597.js +0 -142
- package/dist/esm/solution-store-997e0cb8.js +0 -1342
- package/dist/esm/sr-b421770e.js +0 -100
- package/dist/esm/styles-367380b5.js +0 -11
- package/dist/esm/sv-3bad8e53.js +0 -70
- package/dist/esm/t9n-165900a5.js +0 -95
- package/dist/esm/th-7cc88e5d.js +0 -64
- package/dist/esm/time-d605c462.js +0 -274
- package/dist/esm/tr-0a2743e1.js +0 -65
- package/dist/esm/uk-6d2572d0.js +0 -103
- package/dist/esm/utils-26baa5d3.js +0 -54
- package/dist/esm/utils-bd72a603.js +0 -121
- package/dist/esm/vi-e8feb97f.js +0 -69
- package/dist/esm/zh-cn-fdec5be5.js +0 -93
- package/dist/esm/zh-hk-07c60ac2.js +0 -70
- package/dist/esm/zh-tw-b1e4174b.js +0 -91
- package/dist/solutions-components/p-011892f2.entry.js +0 -11
- package/dist/solutions-components/p-022edd7a.entry.js +0 -11
- package/dist/solutions-components/p-02651dd3.entry.js +0 -11
- package/dist/solutions-components/p-04af53a2.js +0 -6
- package/dist/solutions-components/p-053be79f.entry.js +0 -12
- package/dist/solutions-components/p-0669c156.entry.js +0 -17
- package/dist/solutions-components/p-06748b7a.entry.js +0 -6
- package/dist/solutions-components/p-070b98cd.entry.js +0 -17
- package/dist/solutions-components/p-0894d584.js +0 -6
- package/dist/solutions-components/p-0971d8ac.entry.js +0 -23
- package/dist/solutions-components/p-0a00df9e.entry.js +0 -6
- package/dist/solutions-components/p-0bb3b378.entry.js +0 -11
- package/dist/solutions-components/p-0c523112.js +0 -6
- package/dist/solutions-components/p-0ce36a4a.entry.js +0 -17
- package/dist/solutions-components/p-0d17246a.entry.js +0 -6
- package/dist/solutions-components/p-0fba267c.entry.js +0 -12
- package/dist/solutions-components/p-0fdcc10a.entry.js +0 -6
- package/dist/solutions-components/p-105d8256.js +0 -6
- package/dist/solutions-components/p-11881a54.js +0 -6
- package/dist/solutions-components/p-11e873c7.entry.js +0 -6
- package/dist/solutions-components/p-12c80030.js +0 -11
- package/dist/solutions-components/p-1506751c.entry.js +0 -11
- package/dist/solutions-components/p-17674f66.js +0 -6
- package/dist/solutions-components/p-177a139d.entry.js +0 -11
- package/dist/solutions-components/p-18b27561.entry.js +0 -11
- package/dist/solutions-components/p-19dbfe71.js +0 -6
- package/dist/solutions-components/p-1a3f82c5.entry.js +0 -11
- package/dist/solutions-components/p-1aa91fbf.entry.js +0 -6
- package/dist/solutions-components/p-1ae3b886.entry.js +0 -17
- package/dist/solutions-components/p-1e915546.entry.js +0 -47
- package/dist/solutions-components/p-229ec6a3.js +0 -11
- package/dist/solutions-components/p-238d8710.entry.js +0 -11
- package/dist/solutions-components/p-23d35d76.js +0 -6
- package/dist/solutions-components/p-2445cf51.js +0 -7
- package/dist/solutions-components/p-2455bcb0.js +0 -21
- package/dist/solutions-components/p-246b1648.entry.js +0 -12
- package/dist/solutions-components/p-261880f7.entry.js +0 -11
- package/dist/solutions-components/p-2665663a.entry.js +0 -6
- package/dist/solutions-components/p-26eb1225.entry.js +0 -6
- package/dist/solutions-components/p-2775f82b.js +0 -6
- package/dist/solutions-components/p-27e9ea86.entry.js +0 -6
- package/dist/solutions-components/p-287d2d49.entry.js +0 -11
- package/dist/solutions-components/p-28d2ab1a.js +0 -6
- package/dist/solutions-components/p-28e582b0.entry.js +0 -11
- package/dist/solutions-components/p-2d90ec69.entry.js +0 -11
- package/dist/solutions-components/p-2e625f11.js +0 -11
- package/dist/solutions-components/p-302fccc1.entry.js +0 -6
- package/dist/solutions-components/p-314dc933.entry.js +0 -6
- package/dist/solutions-components/p-31ce0b61.entry.js +0 -11
- package/dist/solutions-components/p-328fbf6d.js +0 -11
- package/dist/solutions-components/p-334e6394.js +0 -37
- package/dist/solutions-components/p-3365a6de.entry.js +0 -11
- package/dist/solutions-components/p-34c5a71c.entry.js +0 -11
- package/dist/solutions-components/p-370283a4.js +0 -6
- package/dist/solutions-components/p-392be4a7.js +0 -6
- package/dist/solutions-components/p-3b7e0d5a.js +0 -26
- package/dist/solutions-components/p-3c24cda7.entry.js +0 -11
- package/dist/solutions-components/p-3ce690d9.js +0 -6
- package/dist/solutions-components/p-3da83eee.entry.js +0 -22
- package/dist/solutions-components/p-3e33078e.entry.js +0 -11
- package/dist/solutions-components/p-400a584e.js +0 -6
- package/dist/solutions-components/p-415d519f.entry.js +0 -6
- package/dist/solutions-components/p-420b8eb1.entry.js +0 -11
- package/dist/solutions-components/p-4370de50.js +0 -6
- package/dist/solutions-components/p-43d1b0bd.js +0 -11
- package/dist/solutions-components/p-4870be89.entry.js +0 -6
- package/dist/solutions-components/p-489be360.entry.js +0 -11
- package/dist/solutions-components/p-490e4875.entry.js +0 -11
- package/dist/solutions-components/p-4ac019d3.js +0 -6
- package/dist/solutions-components/p-4ba6f8f0.js +0 -6
- package/dist/solutions-components/p-4ca83bea.js +0 -6
- package/dist/solutions-components/p-4e07c030.entry.js +0 -11
- package/dist/solutions-components/p-502172da.entry.js +0 -17
- package/dist/solutions-components/p-50741707.entry.js +0 -6
- package/dist/solutions-components/p-51b5ac05.entry.js +0 -6
- package/dist/solutions-components/p-51d5532f.entry.js +0 -6
- package/dist/solutions-components/p-52dba022.js +0 -489
- package/dist/solutions-components/p-530b73ce.js +0 -66
- package/dist/solutions-components/p-533a9cca.entry.js +0 -11
- package/dist/solutions-components/p-570a3777.js +0 -6
- package/dist/solutions-components/p-57eeed77.js +0 -61
- package/dist/solutions-components/p-5862de8d.entry.js +0 -6
- package/dist/solutions-components/p-591175a6.js +0 -6
- package/dist/solutions-components/p-5974ba05.js +0 -16
- package/dist/solutions-components/p-5b654493.entry.js +0 -6
- package/dist/solutions-components/p-5c5e3745.entry.js +0 -6
- package/dist/solutions-components/p-5f873153.js +0 -6
- package/dist/solutions-components/p-6085ab9c.js +0 -11
- package/dist/solutions-components/p-614ebce7.js +0 -6
- package/dist/solutions-components/p-616c3c0c.entry.js +0 -6
- package/dist/solutions-components/p-628874a6.entry.js +0 -6
- package/dist/solutions-components/p-62c34f96.entry.js +0 -11
- package/dist/solutions-components/p-636c0ebf.entry.js +0 -29
- package/dist/solutions-components/p-63e6cab2.entry.js +0 -11
- package/dist/solutions-components/p-680a43bb.entry.js +0 -6
- package/dist/solutions-components/p-6bdafe3f.js +0 -6
- package/dist/solutions-components/p-6d753a3d.js +0 -7
- package/dist/solutions-components/p-70ec2b39.entry.js +0 -6
- package/dist/solutions-components/p-7348c869.entry.js +0 -6
- package/dist/solutions-components/p-74a283fb.entry.js +0 -11
- package/dist/solutions-components/p-76d70d3e.js +0 -6
- package/dist/solutions-components/p-77cd573b.entry.js +0 -6
- package/dist/solutions-components/p-7883b885.entry.js +0 -17
- package/dist/solutions-components/p-790ab21b.js +0 -6
- package/dist/solutions-components/p-798d20c2.entry.js +0 -11
- package/dist/solutions-components/p-79e2e203.entry.js +0 -6
- package/dist/solutions-components/p-7b13fafe.entry.js +0 -6
- package/dist/solutions-components/p-7b17e929.entry.js +0 -6
- package/dist/solutions-components/p-7fb072e0.entry.js +0 -11
- package/dist/solutions-components/p-80b3eb6b.entry.js +0 -6
- package/dist/solutions-components/p-80e8dac5.entry.js +0 -6
- package/dist/solutions-components/p-814ad17b.js +0 -6
- package/dist/solutions-components/p-820d8935.js +0 -11
- package/dist/solutions-components/p-8294d644.js +0 -21
- package/dist/solutions-components/p-82e085d0.js +0 -6
- package/dist/solutions-components/p-84913712.js +0 -6
- package/dist/solutions-components/p-865a9a2b.js +0 -6
- package/dist/solutions-components/p-8674e740.js +0 -11
- package/dist/solutions-components/p-86a8cf0e.js +0 -11
- package/dist/solutions-components/p-8959c8fb.entry.js +0 -6
- package/dist/solutions-components/p-896c9644.js +0 -36
- package/dist/solutions-components/p-89a0889f.js +0 -21
- package/dist/solutions-components/p-8f760a96.js +0 -11
- package/dist/solutions-components/p-8fd36ce2.js +0 -6
- package/dist/solutions-components/p-92eadd14.entry.js +0 -6
- package/dist/solutions-components/p-937f5a14.js +0 -6
- package/dist/solutions-components/p-96c901b4.entry.js +0 -6
- package/dist/solutions-components/p-96e9c88b.js +0 -6
- package/dist/solutions-components/p-972fd6e2.js +0 -11
- package/dist/solutions-components/p-996a9b86.js +0 -6
- package/dist/solutions-components/p-997ed04c.js +0 -6
- package/dist/solutions-components/p-9c05337d.entry.js +0 -6
- package/dist/solutions-components/p-9cfc59dd.entry.js +0 -6
- package/dist/solutions-components/p-9d495d2d.entry.js +0 -6
- package/dist/solutions-components/p-9db9645e.js +0 -12
- package/dist/solutions-components/p-9f11bcc0.js +0 -6
- package/dist/solutions-components/p-9f27fdfb.js +0 -6
- package/dist/solutions-components/p-9f635891.js +0 -17
- package/dist/solutions-components/p-9fdd8168.entry.js +0 -11
- package/dist/solutions-components/p-a008937e.entry.js +0 -6
- package/dist/solutions-components/p-a24e5541.js +0 -6
- package/dist/solutions-components/p-a25bbcc1.js +0 -11
- package/dist/solutions-components/p-a520fedd.js +0 -6
- package/dist/solutions-components/p-a5f1bbe9.js +0 -6
- package/dist/solutions-components/p-a87405cb.entry.js +0 -11
- package/dist/solutions-components/p-ab2c8a60.entry.js +0 -6
- package/dist/solutions-components/p-abd5ccf9.entry.js +0 -11
- package/dist/solutions-components/p-ac77e72f.js +0 -6
- package/dist/solutions-components/p-ad5e5e4d.entry.js +0 -11
- package/dist/solutions-components/p-b0a4644b.js +0 -6
- package/dist/solutions-components/p-b5bfe190.js +0 -16
- package/dist/solutions-components/p-b5e4046b.entry.js +0 -6
- package/dist/solutions-components/p-b965c059.entry.js +0 -16
- package/dist/solutions-components/p-bb2e669d.entry.js +0 -6
- package/dist/solutions-components/p-bb53e532.js +0 -6
- package/dist/solutions-components/p-bc82830a.js +0 -6
- package/dist/solutions-components/p-bdcf99c0.js +0 -6
- package/dist/solutions-components/p-bfd3d428.js +0 -11
- package/dist/solutions-components/p-c02351ae.entry.js +0 -11
- package/dist/solutions-components/p-c0c5c7a9.js +0 -6
- package/dist/solutions-components/p-c1222f6b.entry.js +0 -6
- package/dist/solutions-components/p-c151a297.entry.js +0 -6
- package/dist/solutions-components/p-c4a44f66.js +0 -6
- package/dist/solutions-components/p-c512fcfb.entry.js +0 -6
- package/dist/solutions-components/p-c5becad1.entry.js +0 -6
- package/dist/solutions-components/p-c6be0487.entry.js +0 -6
- package/dist/solutions-components/p-c757c37b.js +0 -6
- package/dist/solutions-components/p-c791e836.entry.js +0 -6
- package/dist/solutions-components/p-c7f0e7a8.entry.js +0 -6
- package/dist/solutions-components/p-c8233fcd.entry.js +0 -6
- package/dist/solutions-components/p-c8260cf0.js +0 -145
- package/dist/solutions-components/p-c9653aec.js +0 -6
- package/dist/solutions-components/p-ca37a0ef.entry.js +0 -16
- package/dist/solutions-components/p-cb20ba34.entry.js +0 -21
- package/dist/solutions-components/p-cce71e60.entry.js +0 -11
- package/dist/solutions-components/p-cd190ff9.js +0 -6
- package/dist/solutions-components/p-cd91c3e7.entry.js +0 -29
- package/dist/solutions-components/p-ceba37d3.entry.js +0 -11
- package/dist/solutions-components/p-cf5d4ed0.entry.js +0 -11
- package/dist/solutions-components/p-d0e73f95.entry.js +0 -11
- package/dist/solutions-components/p-d0ebefa0.entry.js +0 -11
- package/dist/solutions-components/p-d893cddf.entry.js +0 -11
- package/dist/solutions-components/p-d8a15e32.entry.js +0 -6
- package/dist/solutions-components/p-d8da6406.entry.js +0 -6
- package/dist/solutions-components/p-da6b3c8a.entry.js +0 -6
- package/dist/solutions-components/p-dcc5f283.entry.js +0 -6
- package/dist/solutions-components/p-dd3e8920.entry.js +0 -6
- package/dist/solutions-components/p-deb3adb8.js +0 -6
- package/dist/solutions-components/p-e2400b0d.entry.js +0 -6
- package/dist/solutions-components/p-e2c898f9.entry.js +0 -24
- package/dist/solutions-components/p-e2efd3ac.entry.js +0 -11
- package/dist/solutions-components/p-e64a3cc4.entry.js +0 -11
- package/dist/solutions-components/p-e96d0b39.js +0 -6
- package/dist/solutions-components/p-ead4a5f5.entry.js +0 -6
- package/dist/solutions-components/p-ec843a3e.js +0 -6
- package/dist/solutions-components/p-eda6994e.entry.js +0 -6
- package/dist/solutions-components/p-edb1e0b4.entry.js +0 -17
- package/dist/solutions-components/p-edcc1f23.entry.js +0 -36
- package/dist/solutions-components/p-ee81a7c3.js +0 -6
- package/dist/solutions-components/p-eeaed243.js +0 -11
- package/dist/solutions-components/p-f1822d63.js +0 -6
- package/dist/solutions-components/p-f22a4439.js +0 -21
- package/dist/solutions-components/p-f2e68b62.entry.js +0 -6
- package/dist/solutions-components/p-f4456214.js +0 -6
- package/dist/solutions-components/p-f7b791a8.entry.js +0 -6
- package/dist/solutions-components/p-f9475704.js +0 -6
- package/dist/solutions-components/p-fac36b42.entry.js +0 -6
- package/dist/solutions-components/p-fc6313ba.entry.js +0 -11
- package/dist/solutions-components/p-fc79eaaf.js +0 -6
- package/dist/solutions-components/p-fcb11407.entry.js +0 -11
- package/dist/solutions-components/p-fd28754c.entry.js +0 -6
- package/dist/solutions-components/p-fd6f2ba3.js +0 -6
- package/dist/solutions-components/p-ff8f475a.entry.js +0 -11
- /package/dist/solutions-components/{p-abea8ef5.js → p-04674a1e.js} +0 -0
- /package/dist/solutions-components/{p-5aaa05ef.js → p-996c1ac5.js} +0 -0
- /package/dist/solutions-components/{p-eeee7c7a.js → p-a42ff7fe.js} +0 -0
- /package/dist/solutions-components/{p-c96eb2db.js → p-a9a72626.js} +0 -0
@@ -1,47 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as t,c as e,h as i,f as a,g as s,H as o,d as n,F as l}from"./p-6d753a3d.js";import{c,d as r}from"./p-6085ab9c.js";import{a as d,i as h,h as b,s as p,n as u,d as f,z as v,t as m,e as g,g as w}from"./p-67b26725.js";import{c as y,d as x}from"./p-b5bfe190.js";import{c as k}from"./p-ebf59857.js";import{c as z,s as C,d as T,u as I}from"./p-2e625f11.js";import{C as _}from"./p-db50226e.js";import{g as L}from"./p-b85be429.js";import{c as H,a as j,b as S}from"./p-8ad54f5c.js";import{c as A}from"./p-bfd3d428.js";import{c as D,d as W,I as E,u as F}from"./p-9db9645e.js";import{g as R}from"./p-e6e50975.js";import{s as $,a as M,c as N}from"./p-a25bbcc1.js";import{q as B,m as O,d as P,a as U,s as V,h as J,b as q,g as G,k as K,t as X,i as Y,c as Q,f as Z,e as tt,n as et,r as it,j as at,l as st,o as ot,p as nt,L as lt}from"./p-5974ba05.js";import{d as ct,a as rt,c as dt}from"./p-3a862208.js";import{C as ht,S as bt}from"./p-5f0b29d4.js";import{I as pt}from"./p-f6e10506.js";import{g as ut}from"./p-896c9644.js";import{s as ft}from"./p-c8260cf0.js";import{d as vt}from"./p-c1cf3ebc.js";import{E as mt}from"./p-334e6394.js";import"./p-a230b270.js";import"./p-f50a294b.js";import"./p-820d8935.js";import"./p-21fd2b18.js";import"./p-23059533.js";import"./p-c8d3207e.js";import"./p-82e085d0.js";import"./p-bdcf99c0.js";import"./p-530b73ce.js";
|
7
|
-
/*!
|
8
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
10
|
-
* v2.8.2
|
11
|
-
*/const gt="container",wt="content",yt="content--float",xt="content--overlay",kt=class{constructor(i){t(this,i),this.calciteInternalShellPanelResizeStart=e(this,"calciteInternalShellPanelResizeStart",6),this.calciteInternalShellPanelResizeEnd=e(this,"calciteInternalShellPanelResizeEnd",6),this.initialContentWidth=null,this.initialContentHeight=null,this.initialClientX=null,this.initialClientY=null,this.contentWidthMax=null,this.contentWidthMin=null,this.contentHeightMax=null,this.contentHeightMin=null,this.step=1,this.stepMultiplier=10,this.actionBars=[],this.storeContentEl=t=>{this.contentEl=t},this.getKeyAdjustedSize=t=>{const{key:e}=t,{el:i,step:a,stepMultiplier:s,layout:o,contentWidthMin:n,contentWidthMax:l,initialContentWidth:c,initialContentHeight:r,contentHeightMin:h,contentHeightMax:b,position:p}=this,u=a*s;["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Home","End","PageUp","PageDown"].indexOf(e)>-1&&t.preventDefault();const f=["ArrowLeft","ArrowRight"],v=["ArrowDown","ArrowUp"],m="rtl"===d(i)&&f.includes(e)?-1:1;if("horizontal"===o?"end"===p?e===v[1]||e===f[0]:e===v[0]||e===f[1]:e===v[1]||("end"===p?e===f[0]:e===f[1])){const e=t.shiftKey?u:a;return"horizontal"===o?r+m*e:c+m*e}if("horizontal"===o?"end"===p?e===v[0]||e===f[0]:e===v[1]||e===f[1]:e===v[0]||("end"===p?e===f[1]:e===f[0])){const e=t.shiftKey?u:a;return"horizontal"===o?r-m*e:c-m*e}return"Home"===e&&"horizontal"===o&&"number"==typeof h?h:"Home"===e&&"vertical"===o&&"number"==typeof n?n:"End"===e&&"horizontal"===o&&"number"==typeof b?b:"End"===e&&"vertical"===o&&"number"==typeof l?l:"PageDown"===e?"horizontal"===o?r-u:c-u:"PageUp"===e?"horizontal"===o?r+u:c+u:null},this.initialKeydownWidth=t=>{this.setInitialContentWidth();const e=this.getKeyAdjustedSize(t);"number"==typeof e&&this.setContentWidth(e)},this.initialKeydownHeight=t=>{this.setInitialContentHeight();const e=this.getKeyAdjustedSize(t);"number"==typeof e&&this.setContentHeight(e)},this.separatorKeyDown=t=>{"horizontal"===this.layout?this.initialKeydownHeight(t):this.initialKeydownWidth(t)},this.separatorPointerMove=t=>{t.preventDefault();const{el:e,layout:i,initialContentWidth:a,initialContentHeight:s,position:o,initialClientX:n,initialClientY:l}=this,c="horizontal"===i?t.clientY-l:t.clientX-n,r="vertical"===i&&"rtl"===d(e)?-1:1,h="end"===o?-r*c:r*c;"horizontal"===i?this.setContentHeight(s+h):this.setContentWidth(a+h)},this.separatorPointerUp=t=>{h(t)&&(this.calciteInternalShellPanelResizeEnd.emit(),t.preventDefault(),window.removeEventListener("pointerup",this.separatorPointerUp),window.removeEventListener("pointermove",this.separatorPointerMove))},this.setInitialContentHeight=()=>{var t;this.initialContentHeight=null===(t=this.contentEl)||void 0===t?void 0:t.getBoundingClientRect().height},this.setInitialContentWidth=()=>{var t;this.initialContentWidth=null===(t=this.contentEl)||void 0===t?void 0:t.getBoundingClientRect().width},this.separatorPointerDown=t=>{if(!h(t))return;this.calciteInternalShellPanelResizeStart.emit(),t.preventDefault();const{separatorEl:e}=this;e&&document.activeElement!==e&&e.focus(),"horizontal"===this.layout?(this.setInitialContentHeight(),this.initialClientY=t.clientY):(this.setInitialContentWidth(),this.initialClientX=t.clientX),window.addEventListener("pointerup",this.separatorPointerUp),window.addEventListener("pointermove",this.separatorPointerMove)},this.connectSeparator=t=>{this.disconnectSeparator(),this.separatorEl=t,null==t||t.addEventListener("pointerdown",this.separatorPointerDown)},this.disconnectSeparator=()=>{var t;null===(t=this.separatorEl)||void 0===t||t.removeEventListener("pointerdown",this.separatorPointerDown)},this.setActionBarsLayout=t=>{t.forEach((t=>t.layout=this.layout))},this.handleActionBarSlotChange=t=>{const e=b(t).filter((t=>null==t?void 0:t.matches("calcite-action-bar")));this.actionBars=e,this.setActionBarsLayout(e)},this.handleHeaderSlotChange=t=>{this.hasHeader=p(t)},this.collapsed=!1,this.detached=!1,this.displayMode="dock",this.detachedHeightScale=void 0,this.heightScale=void 0,this.widthScale="m",this.layout="vertical",this.position="start",this.resizable=!1,this.messages=void 0,this.messageOverrides=void 0,this.contentWidth=null,this.contentHeight=null,this.defaultMessages=void 0,this.effectiveLocale="",this.hasHeader=!1}handleDetached(t){t?this.displayMode="float":"float"===this.displayMode&&(this.displayMode="dock")}handleDisplayMode(t){this.detached="float"===t}handleDetachedHeightScale(t){this.heightScale=t}handleHeightScale(t){this.detachedHeightScale=t}layoutHandler(){this.setActionBarsLayout(this.actionBars)}onMessagesChange(){}connectedCallback(){c(this),y(this),z(this)}async componentWillLoad(){await C(this)}disconnectedCallback(){r(this),this.disconnectSeparator(),x(this),T(this)}componentDidLoad(){this.updateAriaValues()}effectiveLocaleChange(){I(this,this.effectiveLocale)}renderHeader(){return i("div",{class:"content__header",hidden:!this.hasHeader,key:"header"},i("slot",{name:"header",onSlotchange:this.handleHeaderSlotChange}))}render(){const{collapsed:t,position:e,initialContentWidth:a,initialContentHeight:s,contentWidth:o,contentWidthMax:n,contentWidthMin:l,contentHeight:c,contentHeightMax:r,contentHeightMin:h,resizable:b,layout:p,displayMode:u}=this,f=d(this.el),v="float"!==u&&b,m=v?"horizontal"===p?c?{height:`${c}px`}:null:o?{width:`${o}px`}:null:null,g=!t&&v?i("div",{"aria-label":this.messages.resize,"aria-orientation":"horizontal"===p?"vertical":"horizontal","aria-valuemax":"horizontal"==p?r:n,"aria-valuemin":"horizontal"==p?h:l,"aria-valuenow":"horizontal"==p?null!=c?c:s:null!=o?o:a,class:"separator",key:"separator",onKeyDown:this.separatorKeyDown,role:"separator",tabIndex:0,"touch-action":"none",ref:this.connectSeparator}):null,w=i("div",{class:{[_.rtl]:"rtl"===f,[wt]:!0,[xt]:"overlay"===u,[yt]:"float"===u,[_.calciteAnimate]:"overlay"===u,[(()=>"horizontal"===p?"start"===e?_.calciteAnimateInDown:_.calciteAnimateInUp:"ltr"===f&&"end"===e||"rtl"===f&&"start"===e?_.calciteAnimateInLeft:_.calciteAnimateInRight)()]:"overlay"===u},hidden:t,key:"content",style:m,ref:this.storeContentEl},this.renderHeader(),i("div",{class:"content__body"},i("slot",null)),g),y=[i("slot",{key:"action-bar",name:"action-bar",onSlotchange:this.handleActionBarSlotChange}),w];return"end"===e&&y.reverse(),i("div",{class:{[gt]:!0}},y)}setContentWidth(t){const{contentWidthMax:e,contentWidthMin:i}=this,a=Math.round(t);this.contentWidth="number"==typeof e&&"number"==typeof i?k(a,i,e):a}updateAriaValues(){const{contentEl:t}=this,e=t&&getComputedStyle(t);e&&("horizontal"===this.layout?this.updateHeights(e):this.updateWidths(e),a(this))}setContentHeight(t){const{contentHeightMax:e,contentHeightMin:i}=this,a=Math.round(t);this.contentHeight="number"==typeof e&&"number"==typeof i?k(a,i,e):a}updateWidths(t){const e=parseInt(t.getPropertyValue("max-width"),10),i=parseInt(t.getPropertyValue("min-width"),10),a=parseInt(t.getPropertyValue("width"),10);"number"!=typeof a||isNaN(a)||(this.initialContentWidth=a),"number"!=typeof e||isNaN(e)||(this.contentWidthMax=e),"number"!=typeof i||isNaN(i)||(this.contentWidthMin=i)}updateHeights(t){const e=parseInt(t.getPropertyValue("max-height"),10),i=parseInt(t.getPropertyValue("min-height"),10),a=parseInt(t.getPropertyValue("height"),10);"number"!=typeof a||isNaN(a)||(this.initialContentHeight=a),"number"!=typeof e||isNaN(e)||(this.contentHeightMax=e),"number"!=typeof i||isNaN(i)||(this.contentHeightMin=i)}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{detached:["handleDetached"],displayMode:["handleDisplayMode"],detachedHeightScale:["handleDetachedHeightScale"],heightScale:["handleHeightScale"],layout:["layoutHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};kt.style=":host{pointer-events:none;position:relative;display:flex;flex:0 1 auto;align-items:stretch;z-index:var(--calcite-shell-panel-z-index, var(--calcite-z-index));--calcite-shell-panel-detached-max-height:unset;--calcite-shell-panel-max-height:unset;--calcite-shell-panel-shadow-block-start-internal:0 4px 8px -1px rgba(0, 0, 0, 0.08),\n 0 2px 4px -1px rgba(0, 0, 0, 0.04);--calcite-shell-panel-shadow-block-end-internal:0 -4px 8px -1px rgba(0, 0, 0, 0.08),\n 0 -2px 4px -1px rgba(0, 0, 0, 0.04);--calcite-shell-panel-shadow-inline-start-internal:4px 0 8px -1px rgba(0, 0, 0, 0.08),\n 2px 0 4px -1px rgba(0, 0, 0, 0.04);--calcite-shell-panel-shadow-inline-end-internal:-4px 0 8px -1px rgba(0, 0, 0, 0.08),\n -2px 0 4px -1px rgba(0, 0, 0, 0.04)}.calcite--rtl.content--overlay{--calcite-shell-panel-shadow-inline-start-internal:-4px 0 8px -1px rgba(0, 0, 0, 0.08),\n -2px 0 4px -1px rgba(0, 0, 0, 0.04);--calcite-shell-panel-shadow-inline-end-internal:4px 0 8px -1px rgba(0, 0, 0, 0.08),\n 2px 0 4px -1px rgba(0, 0, 0, 0.04)}:host([layout=vertical]){z-index:var(--calcite-shell-panel-z-index, calc(var(--calcite-z-index) + 1))}:host([layout=vertical][display-mode=overlay]){z-index:var(--calcite-shell-panel-z-index, calc(var(--calcite-z-index-header) + 1))}:host([layout=vertical][width-scale=s]) .content{--calcite-shell-panel-width-internal:var(--calcite-shell-panel-width, 12vw);--calcite-shell-panel-max-width-internal:var(--calcite-shell-panel-max-width, 300px);--calcite-shell-panel-min-width-internal:var(--calcite-shell-panel-min-width, 150px)}:host([layout=vertical][width-scale=m]) .content{--calcite-shell-panel-width-internal:var(--calcite-shell-panel-width, 20vw);--calcite-shell-panel-max-width-internal:var(--calcite-shell-panel-max-width, 420px);--calcite-shell-panel-min-width-internal:var(--calcite-shell-panel-min-width, 240px)}:host([layout=vertical][width-scale=l]) .content{--calcite-shell-panel-width-internal:var(--calcite-shell-panel-width, 45vw);--calcite-shell-panel-max-width-internal:var(--calcite-shell-panel-max-width, 680px);--calcite-shell-panel-min-width-internal:var(--calcite-shell-panel-min-width, 340px)}:host([layout=horizontal][height-scale=s]) .content{--calcite-shell-panel-max-height-internal:var(\n --calcite-shell-panel-max-height,\n var(--calcite-shell-panel-detached-max-height, 20vh)\n )}:host([layout=horizontal]) .content{--calcite-shell-panel-min-height-internal:var(--calcite-shell-panel-min-height, 5vh);--calcite-shell-panel-max-height-internal:var(\n --calcite-shell-panel-max-height,\n var(--calcite-shell-panel-detached-max-height, 30vh)\n )}:host([layout=horizontal][height-scale=l]) .content{--calcite-shell-panel-max-height-internal:var(\n --calcite-shell-panel-max-height,\n var(--calcite-shell-panel-detached-max-height, 40vh)\n )}.container{pointer-events:none;box-sizing:border-box;display:flex;flex:1 1 auto;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-2)}.container *{box-sizing:border-box}:host([layout=horizontal]) .container{flex-direction:column}:host(:hover) .separator:not(:hover):not(:focus),:host(:focus-within) .separator:not(:hover):not(:focus){opacity:1;background-color:var(--calcite-color-border-3)}.separator{pointer-events:auto;position:absolute;display:flex;background-color:transparent;opacity:0;transition: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 var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;cursor:col-resize;outline:none}.separator:hover{opacity:1;background-color:var(--calcite-color-border-2)}.separator:focus{background-color:var(--calcite-color-brand);opacity:1}:host([layout=vertical]) .separator{inset-block:0px;block-size:100%;inline-size:0.125rem;cursor:col-resize}:host([layout=horizontal][position=start]) .separator{inset-block-end:0px}:host([layout=horizontal][position=end]) .separator{inset-block-start:0px}:host([layout=horizontal]) .separator{inset-inline-end:0px;block-size:0.125rem;inline-size:100%;cursor:row-resize}:host([layout=vertical][position=start]) .separator{inset-inline-end:-2px}:host([layout=horizontal][position=start]) .separator{inset-block-end:-2px}:host([layout=vertical][position=end]) .separator{inset-inline-start:-2px}:host([layout=horizontal][position=end]) .separator{inset-block-start:-2px}::slotted(calcite-panel),::slotted(calcite-flow){block-size:100%;inline-size:100%;flex:1 1 auto;max-block-size:unset;max-inline-size:unset}::slotted(.calcite-match-height){display:flex;flex:1 1 auto;overflow:hidden}.content{pointer-events:auto;display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;align-self:stretch;background-color:var(--calcite-color-background);padding:0px;transition:max-block-size var(--calcite-animation-timing), max-inline-size var(--calcite-animation-timing)}:host([layout=vertical]) .content{inline-size:var(--calcite-shell-panel-width-internal);max-inline-size:var(--calcite-shell-panel-max-width-internal);min-inline-size:var(--calcite-shell-panel-min-width-internal)}:host([layout=horizontal]) .content{block-size:var(--calcite-shell-panel-height-internal);max-block-size:var(--calcite-shell-panel-max-height-internal);min-block-size:var(--calcite-shell-panel-min-height-internal)}.content__header{display:flex;flex:0 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch}.content__body{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}.content--overlay{position:absolute;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px 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([layout=vertical]) .content--overlay{inset-block-start:0px;block-size:100%}:host([layout=horizontal]) .content--overlay{inset-inline-start:0px;inline-size:100%}:host([layout=vertical][position=start]) .content--overlay{inset-inline-start:100%;box-shadow:var(--calcite-shell-panel-shadow-inline-start-internal)}:host([layout=vertical][position=end]) .content--overlay{inset-inline-end:100%;box-shadow:var(--calcite-shell-panel-shadow-inline-end-internal)}:host([layout=horizontal][position=start]) .content--overlay{inset-block-start:100%;box-shadow:var(--calcite-shell-panel-shadow-block-start-internal)}:host([layout=horizontal][position=end]) .content--overlay{inset-block-end:100%;box-shadow:var(--calcite-shell-panel-shadow-block-end-internal)}.content--float{margin-inline:0.5rem;margin-block:0.5rem auto;block-size:auto;overflow:hidden;border-radius:0.25rem;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);max-block-size:var(--calcite-shell-panel-max-height-internal, calc(100% - 1rem))}.content--float ::slotted(calcite-panel),.content--float ::slotted(calcite-flow){max-block-size:unset}:host([layout=horizontal]) .content--float{margin-block:0.5rem}:host([position=start]) .content--float ::slotted(calcite-panel),:host([position=start]) .content--float ::slotted(calcite-flow),:host([position=end]) .content--float ::slotted(calcite-panel),:host([position=end]) .content--float ::slotted(calcite-flow){border-style:none}.content[hidden]{display:none}slot[name=action-bar]::slotted(calcite-action-bar),.content ::slotted(calcite-flow),.content ::slotted(calcite-panel:not([closed])){border-width:1px;border-style:solid;border-color:var(--calcite-color-border-3)}:host([position=start]:not([slot=panel-end])) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start]:not([slot=panel-end])) .content ::slotted(calcite-flow),:host([position=start]:not([slot=panel-end])) .content ::slotted(calcite-panel),:host([position=end][slot=panel-start]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end][slot=panel-start]) .content ::slotted(calcite-flow),:host([position=end][slot=panel-start]) .content ::slotted(calcite-panel){border-inline-start:none}:host([position=end]:not([slot=panel-start])) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end]:not([slot=panel-start])) .content ::slotted(calcite-flow),:host([position=end]:not([slot=panel-start])) .content ::slotted(calcite-panel),:host([position=start][slot=panel-end]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start][slot=panel-end]) .content ::slotted(calcite-flow),:host([position=start][slot=panel-end]) .content ::slotted(calcite-panel){border-inline-end:none}:host([layout=horizontal]) slot[name=action-bar]::slotted(calcite-action-bar){border-inline:0}:host([layout=horizontal][position=start]) .content ::slotted(calcite-flow),:host([layout=horizontal][position=start]) .content ::slotted(calcite-panel){border-inline:0;border-block-start:0}:host([layout=horizontal][position=end]) .content ::slotted(calcite-flow),:host([layout=horizontal][position=end]) .content ::slotted(calcite-panel){border-inline:0;border-block-end:0}:host([hidden]){display:none}[hidden]{display:none}";
|
12
|
-
/*!
|
13
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
14
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
15
|
-
* v2.8.2
|
16
|
-
*/
|
17
|
-
const zt="container",Ct=class{constructor(i){t(this,i),this.calciteInternalTabRegister=e(this,"calciteInternalTabRegister",6),this.guid=`calcite-tab-title-${L()}`,this.tab=void 0,this.selected=!1,this.scale="m",this.labeledBy=void 0}render(){return i(o,{key:"71074d2c26a860d7934fbd9b236f9a264ab3c34f","aria-labelledby":this.labeledBy,id:this.el.id||this.guid},i("div",{key:"3fcf14f4aaddf9ad579c26c962ad75803febcea0",class:{[zt]:!0,[`scale-${this.scale}`]:!0},role:"tabpanel",tabIndex:this.selected?0:-1},i("section",{key:"ba967be2e5121636d81754ec959452160bc4bb0d",class:"content"},i("slot",{key:"fae921d6fe2ae713bddc83adacbcf7e418aa1b7c"}))))}connectedCallback(){this.parentTabsEl=this.el.closest("calcite-tabs")}componentDidLoad(){this.calciteInternalTabRegister.emit()}disconnectedCallback(){var t;null===(t=document.body)||void 0===t||t.dispatchEvent(new CustomEvent("calciteTabUnregister",{detail:this.el}))}internalTabChangeHandler(t){t.composedPath().find((t=>"CALCITE-TABS"===t.tagName))===this.parentTabsEl&&(this.tab?this.selected=this.tab===t.detail.tab:this.getTabIndex().then((e=>{this.selected=e===t.detail.tab})),t.stopPropagation())}async getTabIndex(){return Array.prototype.indexOf.call(u(this.el.parentElement.children).filter((t=>t.matches("calcite-tab"))),this.el)}async updateAriaInfo(t=[],e=[]){this.labeledBy=e[t.indexOf(this.el.id)]||null}get el(){return s(this)}};Ct.style=":host([selected]) section,:host([selected]) .container{display:block}:host{display:none;block-size:100%;inline-size:100%}:host([selected]){display:block;block-size:100%;inline-size:100%;overflow:auto}.content{box-sizing:border-box;padding-block:var(--calcite-internal-tab-content-block-padding)}.scale-s{--calcite-internal-tab-content-block-padding:var(--calcite-tab-content-block-padding, 0.25rem);font-size:var(--calcite-font-size--2);line-height:1rem}.scale-m{--calcite-internal-tab-content-block-padding:var(--calcite-tab-content-block-padding, 0.5rem);font-size:var(--calcite-font-size--1);line-height:1rem}.scale-l{--calcite-internal-tab-content-block-padding:var(--calcite-tab-content-block-padding, 0.625rem);font-size:var(--calcite-font-size-0);line-height:1.25rem}section,.container{display:none;block-size:100%;inline-size:100%}.container{outline-color:transparent}.container:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host([hidden]){display:none}[hidden]{display:none}";
|
18
|
-
/*!
|
19
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
20
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
21
|
-
* v2.8.2
|
22
|
-
*/
|
23
|
-
const Tt="tab-nav-active-indicator-container",It="tab-nav",_t="tab-nav--end-overflow",Lt="tab-nav--start-overflow",Ht="scroll-button",jt="scroll-button-container",St="scroll-button-container--backward",At="scroll-button-container--forward",Dt="tab-titles-slot-wrapper",Wt=class{constructor(a){t(this,a),this.calciteTabChange=e(this,"calciteTabChange",6),this.calciteInternalTabChange=e(this,"calciteInternalTabChange",6),this.effectiveDir="ltr",this.lastScrollWheelAxis="x",this.resizeObserver=A("resize",(()=>{this.updateScrollingState(),this.activeIndicatorEl&&this.updateActiveIndicator()})),this.onTabTitleWheel=t=>{t.preventDefault();const{deltaX:e,deltaY:i}=t,a=Math.abs(e),s=Math.abs(i);let o;a===s?o="x"===this.lastScrollWheelAxis?e:i:a>s?(o=e,this.lastScrollWheelAxis="x"):(o=i,this.lastScrollWheelAxis="y"),t.currentTarget.scrollBy(("rtl"===this.effectiveDir?-1:1)*o,0),requestAnimationFrame((()=>this.updateActiveIndicator()))},this.onSlotChange=t=>{var e;null===(e=this.intersectionObserver)||void 0===e||e.disconnect(),t.target.assignedElements().forEach((t=>{var e;null===(e=this.intersectionObserver)||void 0===e||e.observe(t)}))},this.storeContainerRef=t=>this.containerEl=t,this.storeTabTitleWrapperRef=t=>{this.tabTitleContainerEl=t,this.intersectionObserver=A("intersection",(()=>this.updateScrollingState()),{root:t,threshold:[0,.5,1]})},this.scrollToTabTitles=t=>{n((()=>{const e=this.tabTitleContainerEl,i=e.getBoundingClientRect(),a=Array.from(this.el.querySelectorAll("calcite-tab-title")),{effectiveDir:s}=this;"forward"===t&&a.reverse();let o=null;if(a.forEach((e=>{const a=e.getBoundingClientRect(),n=i.x+i.width,l=a.x+a.width;"forward"===t&&"ltr"===s||"backward"===t&&"rtl"===s?(a.x>n||l>n&&a.x>i.x)&&(o=e):(l<i.x||l<n&&a.x<i.x)&&(o=e)})),o){const{scrollerButtonWidth:i}=this;e.scrollTo({left:o.offsetLeft+("forward"===t&&"ltr"===s||"backward"===t&&"rtl"===s?-i:o.offsetWidth-e.clientWidth+i),behavior:"smooth"})}}))},this.scrollToNextTabTitles=()=>this.scrollToTabTitles("forward"),this.scrollToPreviousTabTitles=()=>this.scrollToTabTitles("backward"),this.handleTabFocus=(t,e,i)=>{const a=f(this.enabledTabTitles,e,i);this.scrollTabTitleIntoView(a,"instant"),t.stopPropagation()},this.onTabTitleScroll=()=>{this.updateActiveIndicator(),this.updateScrollingState()},this.renderScrollButton=t=>{const{bordered:e,messages:a,hasOverflowingStartTabTitle:s,hasOverflowingEndTabTitle:o,scale:n}=this,l="end"===t;return i("div",{class:{[jt]:!0,[St]:!l,[At]:l},hidden:l&&!o||!l&&!s,key:t},i("calcite-button",{appearance:e?"outline-fill":"transparent","aria-label":l?a.nextTabTitles:a.previousTabTitles,class:{[Ht]:!0},iconFlipRtl:"both",iconStart:l?"chevron-right":"chevron-left",kind:"neutral",onClick:l?this.scrollToNextTabTitles:this.scrollToPreviousTabTitles,scale:n,tabIndex:-1}))},this.storageId=void 0,this.syncId=void 0,this.selectedTitle=null,this.scale="m",this.layout="inline",this.position="bottom",this.bordered=!1,this.indicatorOffset=void 0,this.indicatorWidth=void 0,this.messages=void 0,this.messageOverrides=void 0,this.defaultMessages=void 0,this.effectiveLocale="",this.hasOverflowingStartTabTitle=!1,this.hasOverflowingEndTabTitle=!1,this.selectedTabId=void 0}onMessagesChange(){}async selectedTabIdChanged(){localStorage&&this.storageId&&null!=this.selectedTabId&&localStorage.setItem(`calcite-tab-nav-${this.storageId}`,JSON.stringify(this.selectedTabId)),this.calciteInternalTabChange.emit({tab:this.selectedTabId}),this.selectedTitle=await this.getTabTitleById(this.selectedTabId)}selectedTitleChanged(){this.updateActiveIndicator()}connectedCallback(){var t;this.parentTabsEl=this.el.closest("calcite-tabs"),null===(t=this.resizeObserver)||void 0===t||t.observe(this.el),y(this),z(this)}async componentWillLoad(){const t=`calcite-tab-nav-${this.storageId}`;if(localStorage&&this.storageId&&localStorage.getItem(t)){const e=JSON.parse(localStorage.getItem(t));this.selectedTabId=e}await C(this)}componentDidLoad(){this.scrollTabTitleIntoView(this.selectedTitle,"instant")}componentWillRender(){const{parentTabsEl:t}=this;this.layout=null==t?void 0:t.layout,this.bordered=null==t?void 0:t.bordered,this.effectiveDir=d(this.el),this.selectedTitle&&this.updateActiveIndicator()}componentDidRender(){this.tabTitles.length&&this.tabTitles.every((t=>!t.selected))&&!this.selectedTabId&&this.tabTitles[0].getTabIdentifier().then((t=>{this.calciteInternalTabChange.emit({tab:t})}))}disconnectedCallback(){var t;null===(t=this.resizeObserver)||void 0===t||t.disconnect(),x(this),T(this)}render(){const t=`${this.indicatorWidth}px`,e=`${this.indicatorOffset}px`,a="rtl"!==this.effectiveDir?{width:t,left:e}:{width:t,right:e};return i(o,{key:"0824dd4470393b0e186b0fdf238420454fed396c",role:"tablist"},i("div",{key:"205551441feaaa61e2b4b603a7b37ce3d18bdba8",class:{[It]:!0,[Lt]:!!this.hasOverflowingStartTabTitle,[_t]:!!this.hasOverflowingEndTabTitle,[`scale-${this.scale}`]:!0,[`position-${this.position}`]:!0,[_.rtl]:"rtl"===this.effectiveDir},ref:this.storeContainerRef},this.renderScrollButton("start"),i("div",{key:"64844ffd05363fe55e2ae9d4d820dc5113da57d8",class:{[Dt]:!0},onScroll:this.onTabTitleScroll,onWheel:this.onTabTitleWheel,ref:this.storeTabTitleWrapperRef},i("slot",{key:"a77b898cac87d4fa190ad717a3c0ca4474a962fe",onSlotchange:this.onSlotChange})),i("div",{key:"0bf812fe39d07fbddd54ddb515e2eb31adea9a74",class:{[Tt]:!0},ref:t=>this.activeIndicatorContainerEl=t},i("div",{key:"e1624e7b9845ea37eea06ca7a85816d782530c79",class:"tab-nav-active-indicator",style:a,ref:t=>this.activeIndicatorEl=t})),this.renderScrollButton("end")))}focusPreviousTabHandler(t){this.handleTabFocus(t,t.target,"previous")}focusNextTabHandler(t){this.handleTabFocus(t,t.target,"next")}focusFirstTabHandler(t){this.handleTabFocus(t,t.target,"first")}focusLastTabHandler(t){this.handleTabFocus(t,t.target,"last")}internalActivateTabHandler(t){const e=t.target;this.selectedTabId=t.detail.tab?t.detail.tab:this.getIndexOfTabTitle(e),t.stopPropagation(),this.scrollTabTitleIntoView(e)}scrollTabTitleIntoView(t,e="smooth"){t&&n((()=>{const i="ltr"===this.effectiveDir,a=this.tabTitleContainerEl,s=a.getBoundingClientRect(),o=t.getBoundingClientRect(),n=a.scrollLeft,l=i?this.hasOverflowingEndTabTitle:this.hasOverflowingStartTabTitle;o.left<s.left+((i?this.hasOverflowingStartTabTitle:this.hasOverflowingEndTabTitle)?this.scrollerButtonWidth:0)?a.scrollTo({left:n+(o.left-s.left)-this.scrollerButtonWidth,behavior:e}):o.right>s.right-(l?this.scrollerButtonWidth:0)&&a.scrollTo({left:n+(o.right-s.right)+this.scrollerButtonWidth,behavior:e})}))}activateTabHandler(t){this.calciteTabChange.emit(),t.stopPropagation()}internalCloseTabHandler(t){this.handleTabTitleClose(t.target),t.stopPropagation()}updateTabTitles(t){t.target.selected&&(this.selectedTabId=t.detail)}globalInternalTabChangeHandler(t){this.syncId&&t.target!==this.el&&t.target.syncId===this.syncId&&this.selectedTabId!==t.detail.tab&&(this.selectedTabId=t.detail.tab),t.stopPropagation()}iconStartChangeHandler(){this.updateActiveIndicator()}effectiveLocaleChange(){I(this,this.effectiveLocale)}get scrollerButtonWidth(){const{scale:t}=this;return parseInt("s"===t?H:"m"===t?j:S)}updateActiveIndicator(){var t,e,i,a,s,o;const n=null===(t=this.tabTitleContainerEl)||void 0===t?void 0:t.scrollLeft,l=null===(e=this.containerEl)||void 0===e?void 0:e.scrollLeft,c=null===(i=this.activeIndicatorContainerEl)||void 0===i?void 0:i.offsetWidth,r=null===(a=this.selectedTitle)||void 0===a?void 0:a.offsetLeft,d=null===(s=this.selectedTitle)||void 0===s?void 0:s.offsetWidth;this.indicatorOffset=("ltr"===this.effectiveDir?r:c-r-d)+("ltr"===this.effectiveDir?-1:1)*(l+n),this.indicatorWidth=null===(o=this.selectedTitle)||void 0===o?void 0:o.offsetWidth}updateScrollingState(){const t=this.tabTitleContainerEl;if(!t)return;let e,i;const a=t.scrollLeft,s=t.clientWidth,o=t.scrollWidth;"ltr"===this.effectiveDir?(e=a>0,i=a+s<o):(e=a<0,i=a!==-(o-s)),this.hasOverflowingStartTabTitle=e,this.hasOverflowingEndTabTitle=i}getIndexOfTabTitle(t,e=this.tabTitles){return e.indexOf(t)}async getTabTitleById(t){return Promise.all(this.tabTitles.map((t=>t.getTabIdentifier()))).then((e=>this.tabTitles[e.indexOf(t)]))}get tabTitles(){return v(this.el,"calcite-tab-title")}get enabledTabTitles(){return v(this.el,"calcite-tab-title:not([disabled])").filter((t=>!t.closed))}handleTabTitleClose(t){const{tabTitles:e}=this,i=t.selected,a=e.reduce(((t,e,i)=>e.closed?t:[...t,i]),[]),s=a.length;if(1===s&&e[a[0]].closable)e[a[0]].closable=!1,this.selectedTabId=a[0],i&&e[a[0]].activateTab();else if(s>1){const i=e.findIndex((e=>e===t)),o=a.find((t=>t>i));this.selectedTabId===i&&(this.selectedTabId=o||s-1,e[this.selectedTabId].activateTab())}requestAnimationFrame((()=>{this.updateActiveIndicator(),e[this.selectedTabId].focus()}))}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],selectedTabId:["selectedTabIdChanged"],selectedTitle:["selectedTitleChanged"],effectiveLocale:["effectiveLocaleChange"]}}};Wt.style=':host{--calcite-internal-tab-nav-gradient-start-side:left;--calcite-internal-tab-nav-gradient-end-side:right;position:relative;display:flex}.scale-s{--calcite-internal-tab-nav-scroller-button-width:24px;min-block-size:1.5rem}.scale-m{--calcite-internal-tab-nav-scroller-button-width:32px;min-block-size:2rem}.scale-l{--calcite-internal-tab-nav-scroller-button-width:44px;min-block-size:2.75rem}.calcite--rtl{--calcite-internal-tab-nav-gradient-start-side:right;--calcite-internal-tab-nav-gradient-end-side:left}.tab-nav--start-overflow .tab-nav-active-indicator-container,.tab-nav--start-overflow .tab-titles-slot-wrapper{-webkit-mask-image:linear-gradient(to var(--calcite-internal-tab-nav-gradient-end-side), transparent, transparent var(--calcite-internal-tab-nav-scroller-button-width), white var(--calcite-internal-tab-nav-scroller-button-width), white 51%);mask-image:linear-gradient(to var(--calcite-internal-tab-nav-gradient-end-side), transparent, transparent var(--calcite-internal-tab-nav-scroller-button-width), white var(--calcite-internal-tab-nav-scroller-button-width), white 51%)}.tab-nav--end-overflow .tab-nav-active-indicator-container,.tab-nav--end-overflow .tab-titles-slot-wrapper{-webkit-mask-image:linear-gradient(to var(--calcite-internal-tab-nav-gradient-start-side), transparent, transparent var(--calcite-internal-tab-nav-scroller-button-width), white var(--calcite-internal-tab-nav-scroller-button-width), white 51%);mask-image:linear-gradient(to var(--calcite-internal-tab-nav-gradient-start-side), transparent, transparent var(--calcite-internal-tab-nav-scroller-button-width), white var(--calcite-internal-tab-nav-scroller-button-width), white 51%)}.tab-nav--start-overflow.tab-nav--end-overflow .tab-nav-active-indicator-container,.tab-nav--start-overflow.tab-nav--end-overflow .tab-titles-slot-wrapper{-webkit-mask-image:linear-gradient(to var(--calcite-internal-tab-nav-gradient-end-side), transparent, transparent var(--calcite-internal-tab-nav-scroller-button-width), white var(--calcite-internal-tab-nav-scroller-button-width), white 51%, transparent 51%), linear-gradient(to var(--calcite-internal-tab-nav-gradient-start-side), transparent, transparent var(--calcite-internal-tab-nav-scroller-button-width), white var(--calcite-internal-tab-nav-scroller-button-width), white 51%, transparent 51%);mask-image:linear-gradient(to var(--calcite-internal-tab-nav-gradient-end-side), transparent, transparent var(--calcite-internal-tab-nav-scroller-button-width), white var(--calcite-internal-tab-nav-scroller-button-width), white 51%, transparent 51%), linear-gradient(to var(--calcite-internal-tab-nav-gradient-start-side), transparent, transparent var(--calcite-internal-tab-nav-scroller-button-width), white var(--calcite-internal-tab-nav-scroller-button-width), white 51%, transparent 51%)}.tab-nav::-webkit-scrollbar{display:none;-ms-overflow-style:none;scrollbar-width:none}:host([layout=center]) ::slotted(calcite-tab-title){display:flex;flex-grow:1;flex-shrink:0;min-inline-size:auto;white-space:nowrap}:host([layout=center]) ::slotted(calcite-tab-title[selected]){overflow:unset}:host(:not([bordered])) .scale-l{--calcite-internal-tab-nav-gap:var(--calcite-size-xxl)}:host(:not([bordered])) .scale-m{--calcite-internal-tab-nav-gap:var(--calcite-size-xl)}:host(:not([bordered])) .scale-s{--calcite-internal-tab-nav-gap:var(--calcite-size-lg)}:host(:not([bordered])) .tab-titles-slot-wrapper{gap:var(--calcite-internal-tab-nav-gap)}:host([layout=center]:not([bordered])) .tab-titles-slot-wrapper{padding-inline:var(--calcite-spacing-xxl)}.tab-nav,.tab-titles-slot-wrapper{display:flex;inline-size:100%;justify-content:flex-start;overflow:hidden;white-space:nowrap}.tab-nav-active-indicator-container{position:absolute;inset-inline:0px;inset-block-end:0px;block-size:0.125rem;inline-size:100%;overflow:hidden}.tab-nav-active-indicator{position:absolute;inset-block-end:0px;display:block;block-size:0.125rem;background-color:var(--calcite-color-brand);transition-property:all;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.scroll-button-container{position:absolute;inset-block:0px}.scroll-button-container calcite-button{--calcite-offset-invert-focus:1;--calcite-color-text-1:var(--calcite-color-text-3);block-size:100%}.scroll-button-container calcite-button:hover{--calcite-color-text-1:unset;--calcite-color-foreground-1:var(--calcite-color-transparent-hover);--calcite-color-foreground-3:var(--calcite-color-transparent)}.scroll-button-container--forward{inset-inline-end:0;z-index:var(--calcite-z-index)}.scroll-button-container--backward{inset-inline-start:0;z-index:var(--calcite-z-index)}:host(:not([bordered])) .scroll-button-container--backward::before,:host(:not([bordered])) .scroll-button-container--forward::before{background-color:var(--calcite-color-border-3);content:"";inline-size:var(--calcite-border-width-sm);inset-block-start:var(--calcite-border-width-md);inset-block-end:var(--calcite-border-width-md);position:absolute}:host(:not([bordered])) .scroll-button-container--backward::before{inset-inline-end:0}:host(:not([bordered])) .scroll-button-container--forward::before{inset-inline-start:0}:host .position-bottom .tab-nav-active-indicator{inset-block-end:unset;inset-block-start:0px}:host .position-bottom .tab-nav-active-indicator-container{inset-block-end:unset;inset-block-start:0px}:host([bordered]) .tab-nav-active-indicator-container{inset-block-end:unset}:host([bordered]) .position-bottom .tab-nav-active-indicator-container{inset-block-end:0;inset-block-start:unset}@media (forced-colors: active){.tab-nav-active-indicator{background-color:highlight}}:host([hidden]){display:none}[hidden]{display:none}';
|
24
|
-
/*!
|
25
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
26
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
27
|
-
* v2.8.2
|
28
|
-
*/
|
29
|
-
const Et="close-button",Ft="content",Rt="content--has-text",$t="icon-end",Mt="icon-present",Nt="icon-start",Bt="calcite-tab-title--icon",Ot=class{constructor(i){t(this,i),this.calciteTabsActivate=e(this,"calciteTabsActivate",6),this.calciteInternalTabsActivate=e(this,"calciteInternalTabsActivate",6),this.calciteTabsClose=e(this,"calciteTabsClose",6),this.calciteInternalTabsClose=e(this,"calciteInternalTabsClose",6),this.calciteInternalTabsFocusNext=e(this,"calciteInternalTabsFocusNext",6),this.calciteInternalTabsFocusPrevious=e(this,"calciteInternalTabsFocusPrevious",6),this.calciteInternalTabsFocusFirst=e(this,"calciteInternalTabsFocusFirst",6),this.calciteInternalTabsFocusLast=e(this,"calciteInternalTabsFocusLast",6),this.calciteInternalTabTitleRegister=e(this,"calciteInternalTabTitleRegister",6),this.calciteInternalTabIconChanged=e(this,"calciteInternalTabIconChanged",6),this.closeClickHandler=()=>{this.closeTabTitleAndNotify()},this.mutationObserver=A("mutation",(()=>this.updateHasText())),this.resizeObserver=A("resize",(()=>{this.calciteInternalTabIconChanged.emit()})),this.guid=`calcite-tab-title-${L()}`,this.selected=!1,this.closable=!1,this.closed=!1,this.disabled=!1,this.iconEnd=void 0,this.iconFlipRtl=void 0,this.iconStart=void 0,this.layout=void 0,this.position="top",this.scale="m",this.bordered=!1,this.tab=void 0,this.messages=void 0,this.messageOverrides=void 0,this.controls=void 0,this.defaultMessages=void 0,this.effectiveLocale=void 0,this.hasText=!1}selectedHandler(){this.selected&&this.activateTab(!1)}onMessagesChange(){}connectedCallback(){D(this),y(this),z(this),this.setupTextContentObserver(),this.parentTabNavEl=this.el.closest("calcite-tab-nav"),this.parentTabsEl=this.el.closest("calcite-tabs")}disconnectedCallback(){var t,e,i;null===(t=this.mutationObserver)||void 0===t||t.disconnect(),null===(e=document.body)||void 0===e||e.dispatchEvent(new CustomEvent("calciteTabTitleUnregister",{detail:this.el})),null===(i=this.resizeObserver)||void 0===i||i.disconnect(),W(this),x(this),T(this)}async componentWillLoad(){await C(this),this.updateHasText(),this.tab&&this.selected&&this.activateTab(!1)}componentWillRender(){this.parentTabsEl&&(this.layout=this.parentTabsEl.layout,this.bordered=this.parentTabsEl.bordered)}render(){const{el:t,closed:e}=this,a=t.id||this.guid,s=i("calcite-icon",{key:"dc31a68fd20ffcf451d5b23e2aaae683249aa50a",class:{[Bt]:!0,[Nt]:!0},flipRtl:"start"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconStart,scale:R(this.scale)}),n=i("calcite-icon",{key:"b8b85c799e950e050bb6c953cec61ab871894c9c",class:{[Bt]:!0,[$t]:!0},flipRtl:"end"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconEnd,scale:R(this.scale)});return i(o,{key:"532a18e093cd481a1058e55f1ac936489cad3ddb","aria-controls":this.controls,"aria-selected":m(this.selected),id:a,role:"tab",tabIndex:this.selected&&!this.disabled?0:-1},i(E,{key:"dede575160963d2463e50f6e8baab92319acda9f",disabled:this.disabled},i("div",{key:"79e9c6d5f15626cd84101e7b85365c9af2c1453b",class:{container:!0,[Mt]:!!this.iconStart||!!this.iconEnd,[`scale-${this.scale}`]:!0},hidden:e,ref:t=>{var e;return null===(e=this.resizeObserver)||void 0===e?void 0:e.observe(t)}},i("div",{key:"8076d17c92940370363d9bc1dae416fdcdf4b716",class:{[Ft]:!0,[Rt]:this.hasText}},this.iconStart?s:null,i("slot",{key:"b25df3722162e58cb196ca500a7b4c718d5f2ed7"}),this.iconEnd?n:null),this.renderCloseButton())))}renderCloseButton(){const{closable:t,messages:e}=this;return t?i("button",{"aria-label":e.close,class:Et,disabled:!1,key:Et,onClick:this.closeClickHandler,title:e.close,type:"button",ref:t=>this.closeButtonEl=t},i("calcite-icon",{icon:"x",scale:R(this.scale)})):null}async componentDidLoad(){this.calciteInternalTabTitleRegister.emit(await this.getTabIdentifier())}componentDidRender(){F(this)}internalTabChangeHandler(t){t.composedPath().find((t=>"CALCITE-TABS"===t.tagName))===this.parentTabsEl&&(this.tab?this.selected=this.tab===t.detail.tab:this.getTabIndex().then((e=>{this.selected=e===t.detail.tab})),t.stopPropagation())}onClick(){this.activateTab()}keyDownHandler(t){switch(t.key){case" ":case"Enter":t.composedPath().includes(this.closeButtonEl)||(this.activateTab(),t.preventDefault());break;case"ArrowRight":t.preventDefault(),"ltr"===d(this.el)?this.calciteInternalTabsFocusNext.emit():this.calciteInternalTabsFocusPrevious.emit();break;case"ArrowLeft":t.preventDefault(),"ltr"===d(this.el)?this.calciteInternalTabsFocusPrevious.emit():this.calciteInternalTabsFocusNext.emit();break;case"Home":t.preventDefault(),this.calciteInternalTabsFocusFirst.emit();break;case"End":t.preventDefault(),this.calciteInternalTabsFocusLast.emit()}}async getTabIndex(){return Array.prototype.indexOf.call(u(this.el.parentElement.children).filter((t=>t.matches("calcite-tab-title"))),this.el)}async getTabIdentifier(){return this.tab?this.tab:this.getTabIndex()}async updateAriaInfo(t=[],e=[]){this.controls=t[e.indexOf(this.el.id)]||null}async activateTab(t=!0){this.disabled||this.closed||(this.calciteInternalTabsActivate.emit({tab:this.tab}),t&&requestAnimationFrame((()=>this.calciteTabsActivate.emit())))}effectiveLocaleChange(){I(this,this.effectiveLocale)}updateHasText(){this.hasText=this.el.textContent.trim().length>0}setupTextContentObserver(){var t;null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0})}closeTabTitleAndNotify(){this.closed=!0,this.calciteInternalTabsClose.emit({tab:this.tab}),this.calciteTabsClose.emit()}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{selected:["selectedHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};Ot.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block;outline:2px solid transparent;outline-offset:2px;margin-inline-start:0px}:host([layout=inline]){flex:0 1 auto}:host([layout=center]){flex:1 1 auto}.content{display:flex;align-items:center;justify-content:center}.scale-s .content{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}.scale-m .content{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}.scale-l .content{padding-block:0.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([closable]) .content{box-sizing:border-box;block-size:100%;border-block-end-color:transparent}:host([layout=inline]) .content,:host([layout=center]) .content{padding-inline:0.25rem}:host([layout=center]) .scale-s,:host([layout=center]) .scale-m,:host([layout=center]) .scale-l{margin-block:0px;justify-content:center;text-align:center}:host([layout=center]) .scale-s .content,:host([layout=center]) .scale-m .content,:host([layout=center]) .scale-l .content{flex:1 1 auto;flex-grow:1}.container{box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;cursor:pointer;align-content:center;justify-content:space-between;border-block-end-width:2px;padding-inline:0px;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-color-text-3);outline-color:transparent;transition: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 var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-block-end-color:transparent;border-block-end-style:solid}:host([position=bottom]) .container{border-block-end-width:0px;border-block-start-width:2px;border-block-start-color:transparent;border-block-start-style:solid}:host([closed]){display:none}:host([selected]) .container{border-color:transparent;color:var(--calcite-color-text-1)}:host(:focus) .container{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host(:focus) .container:focus-within{outline-color:transparent}:host(:active) a,:host(:focus) a,:host(:hover) a{border-color:var(--calcite-color-border-2);color:var(--calcite-color-text-1);-webkit-text-decoration-line:none;text-decoration-line:none}:host([disabled]) .container{pointer-events:none;opacity:0.5}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.calcite-tab-title--icon{position:relative;margin:0px;display:inline-flex;align-self:center}.calcite-tab-title--icon svg{transition: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 var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.content--has-text{padding:0.25rem}.content--has-text .calcite-tab-title--icon.icon-start{margin-inline-end:0.5rem}.content--has-text .calcite-tab-title--icon.icon-end{margin-inline-start:0.5rem}.close-button{display:flex;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;align-content:center;align-items:center;justify-content:center;align-self:center;border-style:none;background-color:var(--calcite-color-foreground-1);padding:0.25rem;color:var(--calcite-color-text-3);outline-color:transparent;transition: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 var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;background-color:var(--calcite-button-transparent-1);margin-inline-start:auto}.close-button:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n );outline-offset:-1px}.close-button:focus,.close-button:hover{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-2)}.close-button:active{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-3)}.close-button calcite-icon{color:inherit}:host([icon-start][icon-end]) .calcite-tab-title--icon:first-child{margin-inline-end:0.5rem}:host([bordered]){margin-inline-end:0}:host([bordered][selected]){box-shadow:inset 0px -2px var(--calcite-color-foreground-1)}:host([bordered][selected][position=bottom]){box-shadow:inset 0 2px 0 var(--calcite-color-foreground-1)}:host([bordered]:hover) .container{background-color:var(--calcite-color-transparent-hover)}:host([closable]) .container,:host([bordered]) .container{border-inline-start:1px solid transparent;border-inline-end:1px solid transparent}:host([closable]) .container .close-button,:host([bordered]) .container .close-button{margin-inline:0}:host([closable][position=bottom]) .container,:host([bordered][position=bottom]) .container{border-block-start-style:unset}:host([selected][bordered]) .container{border-inline-start-color:var(--calcite-color-border-1);border-inline-end-color:var(--calcite-color-border-1)}:host([layout=inline][bordered]) .scale-m .content,:host([layout=center][bordered]) .scale-m .content{padding-inline:0.75rem}:host([layout=inline][bordered]) .scale-s .content,:host([layout=center][bordered]) .scale-s .content{padding-inline:0.5rem}:host([layout=inline][bordered]) .scale-l .content,:host([layout=center][bordered]) .scale-l .content{padding-inline:1rem}:host([layout=inline][closable]) .scale-s .content,:host([layout=inline][closable]) .scale-m .content,:host([layout=inline][closable]) .scale-l .content{padding-inline-end:0}@media (forced-colors: active){:host{outline-width:0;outline-offset:0}:host(:focus) .container{outline-color:highlight}:host([bordered]) .container{border-block-end-style:solid}:host([bordered][position=bottom]) .container{border-block-start-style:solid}:host([bordered][selected]) .container{border-block-end-style:none}:host([bordered][position=bottom][selected]) .container{border-block-start-style:none}.close-button{z-index:var(--calcite-z-index)}}:host([hidden]){display:none}[hidden]{display:none}";
|
30
|
-
/*!
|
31
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
32
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
33
|
-
* v2.8.2
|
34
|
-
*/
|
35
|
-
const Pt=class{constructor(e){t(this,e),this.mutationObserver=A("mutation",(t=>{for(const e of t){const t=e.target;"CALCITE-TAB-NAV"!==t.nodeName&&"CALCITE-TAB-TITLE"!==t.nodeName&&"CALCITE-TAB"!==t.nodeName||this.updateItems()}})),this.layout="inline",this.position="top",this.scale="m",this.bordered=!1,this.titles=[],this.tabs=[]}handleInheritableProps(){this.updateItems()}connectedCallback(){this.mutationObserver.observe(this.el,{childList:!0}),this.updateItems()}async componentWillLoad(){this.updateItems()}disconnectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect()}render(){return i(l,{key:"3298379f9625744b770c10f0f86fc1b2bc990cad"},i("slot",{key:"fd0be78d348a01b701d58f37663d392ee04ca6a9",name:"title-group"}),i("section",{key:"31212d582a0e6367ed38d250c1acc39cad3fa987"},i("slot",{key:"179bdacefed784c60dd000101e606d5e678d93c9"})))}calciteInternalTabTitleRegister(t){this.titles=[...this.titles,t.target],this.registryHandler(),t.stopPropagation()}calciteTabTitleUnregister(t){this.titles=this.titles.filter((e=>e!==t.detail)),this.registryHandler(),t.stopPropagation()}calciteInternalTabRegister(t){this.tabs=[...this.tabs,t.target],this.registryHandler(),t.stopPropagation()}calciteTabUnregister(t){this.tabs=this.tabs.filter((e=>e!==t.detail)),this.registryHandler(),t.stopPropagation()}updateItems(){const{position:t,scale:e}=this,i=this.el.querySelector("calcite-tab-nav");i&&(i.position=t,i.scale=e),Array.from(this.el.querySelectorAll("calcite-tab")).forEach((t=>{t.parentElement===this.el&&(t.scale=e)})),Array.from(this.el.querySelectorAll("calcite-tab-nav > calcite-tab-title")).forEach((i=>{i.position=t,i.scale=e}))}async registryHandler(){let t,e;if(this.tabs.some((t=>t.tab))||this.titles.some((t=>t.tab)))t=this.tabs.sort(((t,e)=>t.tab.localeCompare(e.tab))).map((t=>t.id)),e=this.titles.sort(((t,e)=>t.tab.localeCompare(e.tab))).map((t=>t.id));else{const i=await Promise.all(this.tabs.map((t=>t.getTabIndex()))),a=await Promise.all(this.titles.map((t=>t.getTabIndex())));t=i.reduce(((t,e,i)=>(t[e]=this.tabs[i].id,t)),[]),e=a.reduce(((t,e,i)=>(t[e]=this.titles[i].id,t)),[])}this.tabs.forEach((i=>i.updateAriaInfo(t,e))),this.titles.forEach((i=>i.updateAriaInfo(t,e)))}get el(){return s(this)}static get watchers(){return{position:["handleInheritableProps"],scale:["handleInheritableProps"]}}};Pt.style=":host{display:flex;flex-direction:column}:host([bordered]){box-shadow:inset 0 1px 0 var(--calcite-color-border-1);background-color:var(--calcite-color-foreground-1)}:host([bordered]) section{border-width:1px;border-style:solid;border-color:var(--calcite-color-border-1)}:host([bordered][position=bottom]){box-shadow:inset 0 1px 0 var(--calcite-color-border-1), inset 0 -1px 0 var(--calcite-color-border-1)}:host([bordered]:not([position=bottom])) ::slotted(calcite-tab-nav){margin-block-end:-1px}:host([bordered][scale=s]) section{padding:0.75rem}:host([bordered][scale=m]) section{padding:0.5rem}:host([bordered][scale=l]) section{padding:1rem}:host([position=bottom]){flex-direction:column-reverse}section{display:flex;flex-grow:1;overflow:hidden;border-block-start-width:1px;border-block-start-color:var(--calcite-color-border-1);border-block-start-style:solid}:host([position=bottom]) section{flex-direction:column-reverse;border-block-start-width:0px;border-block-end-width:1px;border-block-end-color:var(--calcite-color-border-1)}:host([position=bottom]:not([bordered])) section{border-block-end-style:solid}@media (forced-colors: active){:host([bordered]) section{border-block-start-width:0px;border-block-end-width:1px}:host([position=bottom][bordered]) section{border-block-start-width:1px;border-block-end-width:0px}}:host([hidden]){display:none}[hidden]{display:none}";
|
36
|
-
/*!
|
37
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
38
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
39
|
-
* v2.8.2
|
40
|
-
*/
|
41
|
-
function Ut(t,e,i){const{items:a,messages:s}=i,o=a.length,n=B(i,t)+1;return function(t,e,i,a){return t.replace("{position}",i.toString()).replace("{itemLabel}",e).replace("{total}",a.toString())}("idle"===e?s.dragHandleIdle:"active"===e?s.dragHandleActive:"change"===e?s.dragHandleChange:s.dragHandleCommit,t.label,n,o)}function Vt(t){return{handle:t.composedPath().find((t=>void 0!==t.dataset?.jsHandle)),item:t.composedPath().find((t=>"calcite-value-list-item"===t.tagName?.toLowerCase()))}}const Jt=class{constructor(i){t(this,i),this.calciteListChange=e(this,"calciteListChange",6),this.calciteListOrderChange=e(this,"calciteListOrderChange",6),this.calciteListFilter=e(this,"calciteListFilter",6),this.lastSelectedItem=null,this.mutationObserver=A("mutation",O.bind(this)),this.handleSelector=".handle",this.dragSelector="calcite-value-list-item",this.setFilterEl=t=>{this.filterEl=t},this.setFilteredItems=t=>{this.filteredItems=t},this.deselectRemovedItems=P.bind(this),this.deselectSiblingItems=U.bind(this),this.selectSiblings=V.bind(this),this.handleFilter=J.bind(this),this.handleFilterEvent=q.bind(this),this.getItemData=G.bind(this),this.keyDownHandler=t=>{if(t.defaultPrevented)return;const{handle:e,item:i}=Vt(t);if(e&&!i.handleActivated&&" "===t.key&&this.updateScreenReaderText(Ut(i,"commit",this)),!e||!i.handleActivated)return void K.call(this,t);t.preventDefault();const{items:a}=this;if(" "===t.key&&this.updateScreenReaderText(Ut(i,"active",this)),"ArrowUp"!==t.key&&"ArrowDown"!==t.key||a.length<=1)return;const{el:s}=this,o=X(this,i,"ArrowUp"===t.key?"up":"down");if(o===a.length-1)s.appendChild(i);else{const t=s.children[o];s.insertBefore(i,t===i.nextElementSibling?t.nextElementSibling:t)}this.items=this.getItems(),this.calciteListOrderChange.emit(this.items.map((({value:t})=>t))),requestAnimationFrame((()=>g(e))),i.handleActivated=!0,this.updateHandleAriaLabel(e,Ut(i,"change",this))},this.storeAssistiveEl=t=>{this.assistiveTextEl=t},this.handleFocusIn=t=>{const{handle:e,item:i}=Vt(t);!(null==i?void 0:i.handleActivated)&&i&&e&&this.updateHandleAriaLabel(e,Ut(i,"idle",this))},this.disabled=!1,this.canPull=void 0,this.canPut=void 0,this.dragEnabled=!1,this.filteredItems=[],this.filteredData=[],this.filterEnabled=!1,this.filterPlaceholder=void 0,this.filterText=void 0,this.group=void 0,this.loading=!1,this.multiple=!1,this.selectionFollowsFocus=!1,this.messageOverrides=void 0,this.messages=void 0,this.dataForFilter=[],this.defaultMessages=void 0,this.effectiveLocale="",this.selectedValues=new Map}onMessagesChange(){}effectiveLocaleChange(){I(this,this.effectiveLocale)}connectedCallback(){ct(this)||(D(this),y(this),z(this),Y.call(this),Q.call(this),this.setUpSorting())}async componentWillLoad(){$(this),await C(this)}componentDidLoad(){M(this),Z.call(this)}componentDidRender(){F(this)}disconnectedCallback(){ct(this)||(W(this),rt(this),x(this),T(this),tt.call(this))}calciteListFocusOutHandler(t){et.call(this,t)}calciteListItemRemoveHandler(t){it.call(this,t)}calciteListItemChangeHandler(t){at.call(this,t)}calciteInternalListItemPropsChangeHandler(t){t.stopPropagation(),this.setUpFilter()}calciteInternalListItemValueChangeHandler(t){st.call(this,t),t.stopPropagation()}onGlobalDragStart(){tt.call(this)}onGlobalDragEnd(){Q.call(this)}onDragEnd(){}onDragStart(){}onDragSort(){this.items=Array.from(this.el.querySelectorAll("calcite-value-list-item"));const t=this.items.map((t=>t.value));this.calciteListOrderChange.emit(t)}getItems(){return Array.from(this.el.querySelectorAll("calcite-value-list-item"))}setUpItems(){ot.call(this,"calcite-value-list-item"),this.setUpSorting()}setUpFilter(){this.filterEnabled&&(this.dataForFilter=this.getItemData())}setUpSorting(){const{dragEnabled:t}=this;t&&dt(this)}handleBlur(){this.dragEnabled&&this.updateScreenReaderText("")}async getSelectedItems(){return this.selectedValues}async setFocus(t){return await N(this),nt.call(this,t)}getIconType(){let t=null;return this.dragEnabled&&(t="grip"),t}updateScreenReaderText(t){this.assistiveTextEl.textContent=t}updateHandleAriaLabel(t,e){t.ariaLabel=e}handleValueListItemBlur(t){const{item:e,handle:i}=t.detail;!(null==e?void 0:e.handleActivated)&&e&&this.updateHandleAriaLabel(i,Ut(e,"idle",this)),t.stopPropagation()}render(){return i(lt,{key:"c212dc4be12b594c4cc69a8a368c523d3187c289",onBlur:this.handleBlur,onFocusin:this.handleFocusIn,onKeyDown:this.keyDownHandler,props:this})}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};Jt.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;box-sizing:border-box;display:flex;flex-shrink:0;flex-grow:0;flex-direction:column;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-2)}:host *{box-sizing:border-box}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}calcite-value-list-item:last-of-type{--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([filter-enabled]) header{margin-block-end:0.25rem;display:flex;align-items:center;justify-content:flex-end;background-color:var(--calcite-color-foreground-1);--tw-shadow:0 1px 0 var(--calcite-color-border-3);--tw-shadow-colored:0 1px 0 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([filter-enabled]) header.sticky-pos{position:sticky;inset-block-start:0px;z-index:var(--calcite-z-index-sticky)}calcite-filter{margin-block-end:1px}.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}:host([hidden]){display:none}[hidden]{display:none}";
|
42
|
-
/*!
|
43
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
44
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
45
|
-
* v2.8.2
|
46
|
-
*/
|
47
|
-
const qt="actions-end",Gt="actions-start",Kt=class{constructor(i){t(this,i),this.calciteListItemChange=e(this,"calciteListItemChange",6),this.calciteListItemRemove=e(this,"calciteListItemRemove",7),this.calciteValueListItemDragHandleBlur=e(this,"calciteValueListItemDragHandleBlur",6),this.pickListItem=null,this.guid=`calcite-value-list-item-${L()}`,this.getPickListRef=t=>this.pickListItem=t,this.handleKeyDown=t=>{" "===t.key&&(this.handleActivated=!this.handleActivated)},this.handleBlur=()=>{this.handleActivated=!1,this.calciteValueListItemDragHandleBlur.emit({item:this.el,handle:this.handleEl})},this.handleSelectChange=t=>{this.selected=t.detail.selected},this.description=void 0,this.disabled=!1,this.deselectDisabled=!1,this.nonInteractive=!1,this.handleActivated=!1,this.icon=null,this.iconFlipRtl=!1,this.label=void 0,this.metadata=void 0,this.removable=!1,this.selected=!1,this.value=void 0}connectedCallback(){c(this),D(this)}disconnectedCallback(){r(this),W(this)}componentWillLoad(){$(this)}componentDidLoad(){M(this)}componentDidRender(){F(this)}async toggleSelected(t){this.pickListItem.toggleSelected(t)}async setFocus(){var t;return await N(this),null===(t=this.pickListItem)||void 0===t?void 0:t.setFocus()}calciteListItemChangeHandler(t){t.detail.item=this.el}renderActionsEnd(){const{el:t}=this;return w(t,qt)?i("slot",{name:qt,slot:bt.actionsEnd}):null}renderActionsStart(){const{el:t}=this;return w(t,Gt)?i("slot",{name:Gt,slot:bt.actionsStart}):null}renderHandle(){const{icon:t,iconFlipRtl:e}=this;if(t===pt.grip)return i("span",{class:{[ht.handle]:!0,[ht.handleActivated]:this.handleActivated},"data-js-handle":!0,onBlur:this.handleBlur,onKeyDown:this.handleKeyDown,role:"button",tabindex:"0",ref:t=>this.handleEl=t},i("calcite-icon",{flipRtl:e,icon:"drag",scale:"s"}))}render(){return i(o,{key:"14e426411cb528504d9b0e89d4378b6c22664878",id:this.el.id||this.guid},i(E,{key:"75e7cf666c5aae3e62c21d9160083ca17c926c15",disabled:this.disabled},this.renderHandle(),i("calcite-pick-list-item",{key:"9e82a64e2022bfb5c052112e9e804f98db8c45bb",description:this.description,deselectDisabled:this.deselectDisabled,disabled:this.disabled,label:this.label,metadata:this.metadata,nonInteractive:this.nonInteractive,onCalciteListItemChange:this.handleSelectChange,removable:this.removable,selected:this.selected,value:this.value,ref:this.getPickListRef},this.renderActionsStart(),this.renderActionsEnd())))}get el(){return s(this)}};Kt.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{margin-block-end:1px;box-sizing:border-box;display:flex;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-2);--tw-shadow:0 1px 0 var(--calcite-color-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transition:background-color var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing)}:host *{box-sizing:border-box}calcite-pick-list-item{position:relative;margin:0px;flex-grow:1;--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([active]),:host([selected]){--tw-shadow:0 0 0 1px var(--calcite-color-brand);--tw-shadow-colored:0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.handle{display:flex;cursor:move;align-items:center;justify-content:center;border-style:none;background-color:transparent;padding-block:0px;padding-inline:0.25rem;color:var(--calcite-color-border-input);outline-color:transparent}.handle:hover{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1)}.handle:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.handle--activated{background-color:var(--calcite-color-foreground-3);color:var(--calcite-color-text-1)}.handle calcite-icon{color:inherit}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}";const Xt=class{constructor(e){t(this,e),this._loaded=!1,this._useDiffEditor=!1,this.hasChanges=!1,this.hasErrors=!1,this.instanceid="",this.value=""}componentDidLoad(){const t=document.getElementById(`${this.instanceid}-container`);if(t){this._editor=monaco.editor.create(t,{value:this.value,language:"json",theme:"vs",minimap:{enabled:!1},automaticLayout:!0,scrollBeyondLastLine:!1}),this._currentModel=this._editor.getModel(),this._contentChanged=this._currentModel.onDidChangeContent(this._onEditorChange.bind(this));const e=monaco.editor.setModelMarkers,i=this;monaco.editor.setModelMarkers=function(t,a,s){var o,n;t.id===i._currentModel.id&&(i._flagEditorHasErrors(s.length>0),i.hasErrors||(i._flagEditorHasChanges(null===(o=i._currentModel)||void 0===o?void 0:o.canUndo()),(null===(n=i._currentModel)||void 0===n?void 0:n.canUndo())&&i._flagEditorContentChanged()),document.getElementById(`${i.instanceid}-errorFlag`).style.visibility=i.hasErrors?"visible":"hidden"),e.call(monaco.editor,t,a,s)},this._diffEditor=monaco.editor.createDiffEditor(document.getElementById(`${this.instanceid}-diff-container`),{automaticLayout:!0}),this._setDiffModel(),this._loaded=!0,this._toggleUndoRedo()}}async componentWillLoad(){this._initValueObserver(),await this._getTranslations()}render(){return i(o,{key:"160ba6c2961d67add84b4f23b4aacd2213d064b2"},i("div",{key:"bf0a77eed1d206376244526db6a261cce163ca69",id:`${this.instanceid}-editor-container`,class:"editor-container padding-right"},i("div",{key:"65a0f2f69d4b7f9694a6617755c638d9ad19e168",class:"editor-controls"},i("div",{key:"3fccc399a3e2a45fe55a374c869a7a7c7533eafc",class:"editor-buttons"},i("calcite-icon",{key:"5007e48c8ecf9d5a037e062bbb3b5ee3710b18eb",id:`${this.instanceid}-errorFlag`,icon:"exclamation-mark-triangle",title:this._translations.errorFlag,scale:"s",class:"edit-error-flag"}),i("calcite-button",{key:"37f8abf8027e0743e373de473421d06884f61d0b",id:`${this.instanceid}-undo`,color:"blue",appearance:"solid",title:this._translations.undo,onClick:()=>this._undo(),scale:"s",class:"edit-button"},i("calcite-icon",{key:"31c88e27793f4e07ccc20df6d6c88fa0d6661977",icon:"undo",scale:"s"})),i("calcite-button",{key:"56a5945e706a5c66044678f768d567286893c7b1",id:`${this.instanceid}-redo`,color:"blue",appearance:"solid",title:this._translations.redo,onClick:()=>this._redo(),scale:"s",class:"edit-button"},i("calcite-icon",{key:"b2a2d56e6818ee09be15114fcab357732f9f0c99",icon:"redo",scale:"s"})),i("calcite-button",{key:"63acf48f78d1f9cdcd86c5862e399be2217a16c1",id:`${this.instanceid}-diff`,color:"blue",appearance:"solid",title:this._translations.diff,onClick:()=>this._toggleEditor(),scale:"s",class:"edit-button"},i("calcite-icon",{key:"677f9c42bbb449fb51325a9dd4b60affd8a73cd7",icon:"compare",scale:"s"})),i("calcite-button",{key:"7cf8fac59ad4096ed541bfd1e6454cec70890c72",id:`${this.instanceid}-search`,appearance:"outline",color:"blue",title:this._translations.search,onClick:()=>this._search(),scale:"s",class:"edit-button"},i("calcite-icon",{key:"1e2e4290e7b7254a533a99d85ea2745050b22e55",icon:"search",scale:"s"})),i("calcite-button",{key:"ec656bcb0a64a6ff6a42760710f8067eae18b9a5",id:`${this.instanceid}-reset`,color:"blue",appearance:"solid",disabled:!0,title:this._translations.cancelEdits,onClick:()=>this._reset(),scale:"s",class:"edit-button"},i("calcite-icon",{key:"0210b400f5934c68c45fe61f4bf11d3efca97333",icon:"reset",scale:"s"})))),i("div",{key:"d14efe742fe79b18a436bf522e33924c2a7e72d5",class:"edit-parent"},i("div",{key:"e550bbc5968b71701220a44cba17afa9f5f61c48",id:`${this.instanceid}-container`,class:"json-edit-container"}),i("div",{key:"9778b7229d2f3ec994c8a8d707a7f7b394697823",id:`${this.instanceid}-diff-container`,class:"json-edit-container display-none"}))))}async getEditorContents(){return new Promise(((t,e)=>{try{t(this._currentModel.getValue())}catch(t){e(t)}}))}async prepareForDeletion(){var t,e,i,a,s;null===(t=this._searchBtnHandler)||void 0===t||t.removeEventListener("click",this._search),null===(e=this._cancelEditsBtnHandler)||void 0===e||e.removeEventListener("click",this._reset),null===(i=this._valueObserver)||void 0===i||i.disconnect(),null===(a=this._contentChanged)||void 0===a||a.dispose(),null===(s=this._editor)||void 0===s||s.dispose()}async replaceCurrentSelection(t){const e=this._editor.getSelection();this._editor.executeEdits("",[{range:e,text:t}])}async reset(){return new Promise(((t,e)=>{try{this._reset(),t({success:!0})}catch(t){e(t)}}))}_disableButton(t){var e;null===(e=document.getElementById(t))||void 0===e||e.setAttribute("disabled","")}_enableButton(t){var e;null===(e=document.getElementById(t))||void 0===e||e.removeAttribute("disabled")}_flagEditorContentChanged(){window.dispatchEvent(new CustomEvent("solutionEditorContentChanged",{detail:{id:this.instanceid,contents:this._currentModel.getValue()},bubbles:!0,cancelable:!1,composed:!0}))}_flagEditorHasChanges(t){this.hasChanges!==t&&(window.dispatchEvent(new CustomEvent("solutionEditorHasChanges",{detail:t,bubbles:!0,cancelable:!1,composed:!0})),this.hasChanges=t)}_flagEditorHasErrors(t){this.hasErrors!==t&&(window.dispatchEvent(new CustomEvent("solutionEditorHasErrors",{detail:t,bubbles:!0,cancelable:!1,composed:!0})),this.hasErrors=t)}async _getTranslations(){const t=await ut(this.el);this._translations=t[0]}_initValueObserver(){this._valueObserver=new MutationObserver((t=>{t.forEach((t=>{"attributes"===t.type&&"value"===t.attributeName&&t.target[t.attributeName]!==t.oldValue&&this._loaded&&this._currentModel.setValue(this.value)}))})),this._valueObserver.observe(this.el,{attributes:!0,attributeOldValue:!0})}_onEditorChange(){this._toggleUndoRedo()}_redo(){var t;(null===(t=this._currentModel)||void 0===t?void 0:t.canRedo())&&(this._currentModel.redo(),this._toggleUndoRedo())}_reset(){this._currentModel.setValue(this.value),this._toggleUndoRedo()}_search(){this._editor.trigger("toggleFind","actions.find")}_setDiffModel(){this._diffEditor&&this._diffEditor.setModel({original:monaco.editor.createModel(this.value,"json"),modified:this._editor.getModel()})}_toggleEditor(){this._useDiffEditor=!this._useDiffEditor;let t=document.getElementById(`${this.instanceid}-diff-container`),e=document.getElementById(`${this.instanceid}-container`);this._useDiffEditor?(this._setDiffModel(),t.classList.remove("display-none"),e.classList.add("display-none")):(t.classList.add("display-none"),e.classList.remove("display-none"))}_toggleUndoRedo(){var t,e,i,a;(null===(t=this._currentModel)||void 0===t?void 0:t.canUndo())?this._enableButton(`${this.instanceid}-undo`):this._disableButton(`${this.instanceid}-undo`),(null===(e=this._currentModel)||void 0===e?void 0:e.canRedo())?this._enableButton(`${this.instanceid}-redo`):this._disableButton(`${this.instanceid}-redo`),(null===(i=this._currentModel)||void 0===i?void 0:i.canUndo())||(null===(a=this._currentModel)||void 0===a?void 0:a.canRedo())?this._enableButton(`${this.instanceid}-reset`):this._disableButton(`${this.instanceid}-reset`)}_undo(){var t;(null===(t=this._currentModel)||void 0===t?void 0:t.canUndo())&&(this._currentModel.undo(),this._toggleUndoRedo())}static get assetsDirs(){return["assets"]}get el(){return s(this)}};Xt.style=":host{display:block}.editor-container{position:relative;height:100%}.editor-controls{height:2.75rem;padding-right:0.5rem;background-color:#F4F4F4}.editor-buttons{float:right}html[dir=rtl] .editor-buttons{float:left}.edit-error-flag{padding-top:0.5rem;color:red;visibility:hidden}.edit-button{padding-inline-start:0.5rem}.editor-text{width:100%;overflow-y:auto;background-color:#FFFFFF}.edit-width{width:100%}.edit-parent{box-sizing:border-box;width:100%;height:calc(100% - 46px)}.json-edit-container{height:100%;width:100%;border:1px #808080 solid}.padding-right{padding-inline-end:0.125rem}.btn{margin-bottom:1rem;display:flex;align-content:center;height:25px;width:120px}.select-ctrl{margin-bottom:1rem}.all-edits{margin-top:4rem}.floating-title{font-size:2rem;z-index:100;position:absolute;left:0.5rem;pointer-events:none}.floating-title-button{pointer-events:auto}.json-editor-position1{position:absolute;left:0px;top:0px;margin:0px;height:100%;width:100%;overflow:hidden;padding:0px;max-height:100% !important}.json-editor-position2a{position:absolute;left:0px;top:0px;margin:0px;height:100%;width:50%;overflow:hidden;padding:0px;max-height:100% !important}.json-editor-position2b{position:absolute;right:0px;top:0px;margin:0px;height:100%;width:50%;overflow:hidden;padding:0px;max-height:100% !important}";const Yt=class{constructor(e){t(this,e),this.itemId="",this.itemDetails={accessInformation:"",description:"",licenseInfo:"",snippet:"",tags:[],title:""},this.itemEdit=void 0,this._translations=void 0,this.thumbnail=void 0,this.thumbnailContainer=void 0}async componentWillLoad(){return this._getTranslations()}async componentWillRender(){return this.itemEdit=ft.getItemInfo(this.itemId),this.itemEdit&&(this.itemDetails=this.itemEdit.item,this.itemType=this.itemDetails.type),Promise.resolve()}render(){return i(o,{key:"d4443b28db9314e9c6976d97af02e7af14d2a5ff"},i("div",{key:"bd2969f299df5fab6bab10a6cd6dbe7c7213aba4",class:"parent-container"},i("div",{key:"d7226027bddc89eb4ff89899ee45728534331a5d",class:"inputBottomSeparation"},i("calcite-input",{key:"9fcd5e9c9d5fe7ac652fff4fa06801fec240380f",id:"item-title",value:this.itemDetails.title})),i("div",{key:"9542faf04236ec293eff1f1abf0667ee4d26ab45",class:"inputBottomSeparation"},i("input",{key:"9a431fef50c9be4f084b33003c6be4cab65a7da0",accept:".jpg,.gif,.png,image/jpg,image/gif,image/png",class:"display-none",onChange:t=>this._updateThumbnail(t),ref:t=>this.browseForThumbnail=t,type:"file"}),i("button",{key:"9ed82a0e807acd0344bd52bcef653728419d3fc1",class:"font-size--3 btn-link inline-block trailer-quarter",onClick:()=>this._getThumbnail()},i("svg",{key:"230d6a270cd61f4785b7f39e951e996a7b37a1ca",class:"icon-inline icon-inline--on-left",height:"16",viewBox:"0 0 16 16",width:"16"},i("path",{key:"96a6c77691e152072aa0de03f63d8ec82f1ca051",d:"M14.792 2.666l-1.414-1.413a.965.965 0 0 0-1.385-.03l-1.444 1.444-8.763 8.72L.03 15.481a.371.371 0 0 0 .488.488l4.096-1.756 8.763-8.72-.001-.001.002.002 1.443-1.444a.965.965 0 0 0-.03-1.385zM1.569 14.431l.554-1.293.74.739zm2.338-.924l-1.414-1.414 7.963-7.92 1.414 1.415zm8.67-8.626l-1.413-1.414 1.29-1.29a.306.306 0 0 1 .433 0l.981.98a.306.306 0 0 1 0 .433z"})),this._translations.editThumbnail),i("div",{key:"de04396607c0a61eb1e13bb56581aae9e939b286",class:"flex"},i("div",{key:"3df8a6cde94bc275b85db55375aaa351453c46fb",class:"img-container",ref:t=>this.thumbnailContainer=t},i("img",{key:"a5084eff2ebee0514c5cac6acf4e1b8dcaaf47d5",class:"scale-down",height:"133",id:"item-thumbnail",ref:t=>this.thumbnail=t,width:"200"})),i("div",{key:"73199d7582082575282f36ecb6afed3ee6bd900e",class:"snippet-count-container"},i("calcite-input",{key:"7aa7c61d42be36c237c6bd9b72e4ec24ef6dc07d",id:"item-snippet",maxLength:250,type:"textarea",value:this.itemDetails.snippet}),i("label",{key:"9ae2f293b2cb64a475a0969b7e00951a1b55e251",class:"font-size--3",id:"item-snippet-count",ref:t=>this.itemSnippetCount=t})))),i("calcite-label",{key:"98cf6dd0f1f53e15c857baeb4f3a580586935762"},this._translations.description,i("label",{key:"2f54c0fd6d75e4b08e74cf5b30d9794d0375a267",id:"item-description-label"},i("calcite-input",{key:"91cf40b10f1bed0cd4bc83a988d9a4151ddec2e6",id:"item-description",type:"textarea",value:this.itemDetails.description}))),i("calcite-label",{key:"4261ff6e21385fb681cb6a52dbaa8e3d75973d8b"},this._translations.tags,i("label",{key:"cde48f34fd18fe530dea6be06c8fb5e602048266",id:"item-tags-label"},i("calcite-input",{key:"e11931c90df113bd512bab39be092257ffd92e42",id:"item-tags",value:(this.itemDetails.tags&&Array.isArray(this.itemDetails.tags)?this.itemDetails.tags:[this.itemDetails.tags]).join(",")}))),"Group"!==this.itemType?i("calcite-label",null,this._translations.credits,i("label",{id:"item-credits-label"},i("calcite-input",{id:"item-credits",value:this.itemDetails.accessInformation}))):null,"Group"!==this.itemType?i("calcite-label",null,i("label",{id:"item-terms-label"},this._translations.termsOfUse,i("calcite-input",{id:"item-terms",type:"textarea",value:this.itemDetails.licenseInfo}))):null))}componentDidRender(){this._loadThumb()}inputReceivedHandler(t){switch(t.target.id){case"item-title":this.itemDetails.title=t.target.value,this._updateStore();break;case"item-snippet":t.target.value.length>250&&(t.target.value=t.target.value.substring(0,250)),this.itemDetails.snippet=t.target.value,this._updateLengthLabel(this.itemDetails.snippet),this._updateStore();break;case"item-description":this.itemDetails.description=t.target.value,this._updateStore();break;case"item-tags":this.itemDetails.tags=t.target.value,this._updateStore();break;case"item-credits":this.itemDetails.accessInformation=t.target.value,this._updateStore();break;case"item-terms":this.itemDetails.licenseInfo=t.target.value,this._updateStore()}}_getThumbnail(){this.browseForThumbnail.click()}_loadThumb(){var t;this.thumbnail&&(null===(t=this.itemEdit)||void 0===t?void 0:t.thumbnail)?(this.thumbnail.src=URL.createObjectURL(this.itemEdit.thumbnail),this.thumbnailContainer.classList.remove("empty-box"),this.thumbnail.classList.remove("display-none")):(this.thumbnailContainer.classList.add("empty-box"),this.thumbnail.classList.add("display-none"))}_updateLengthLabel(t){this.itemSnippetCount.innerText=this._translations.snippetCountPattern.replace("{{n}}",t.length.toString())}_updateStore(){this.itemEdit=ft.getItemInfo(this.itemId),this.itemEdit.item=this.itemDetails,ft.setItemInfo(this.itemEdit)}_updateThumbnail(t){const e=t.target.files;e&&e[0]&&this.thumbnail&&(this.thumbnail.src=URL.createObjectURL(e[0]),this.itemEdit=ft.getItemInfo(this.itemId),this.itemEdit.thumbnail=e[0],ft.replaceItemThumbnail(this.itemEdit))}async _getTranslations(){const t=await ut(this.el);this._translations=t[0]}get el(){return s(this)}};Yt.style=".inputBottomSeparation{margin-left:0px;margin-right:0px;margin-top:0px;margin-bottom:1.5rem}.icon-inline--on-left,.icon-inline--on-right{display:inline;vertical-align:middle;margin-inline-end:0.375rem;fill:#0079c1}.scale-down{-o-object-fit:scale-down;object-fit:scale-down}.img-container{display:inline;margin-inline-end:1rem;max-width:363px}.summary-count-container{display:inline;flex-grow:1;margin-inline-start:0.75rem}.snippet-count-container{width:calc(100vw - 363px)}.parent-container{max-width:100%;padding:1rem}label{position:relative;margin-left:0px;margin-right:0px;margin-top:0px;margin-bottom:1.5rem;display:block;min-width:-moz-min-content;min-width:min-content}";const Qt=class{constructor(e){t(this,e),this.groupId="",this._translations=void 0,this.sharing=[]}itemIdWatchHandler(){const t=ft.getItemInfo(this.groupId);this.sharing=t.groupDetails}async componentWillLoad(){return this._getTranslations()}render(){return i(o,{key:"7042ab9382712488f9184b305e417dd93379422f"},i("div",{key:"00baf7fac31f03b249592eb8603a74d6f93f2615",class:"container-border"},i("calcite-label",{key:"5328280b6ee86819366800e43eda0c44b55ca277"},this._translations.groupInfo),this._renderItems(this.sharing)))}async getShareInfo(){return this.sharing}_renderItems(t){return t&&t.length>0?t.map((t=>i("calcite-label",{layout:"inline"},i("calcite-switch",{checked:t.shareItem,id:t.id,name:"setting",onCalciteSwitchChange:t=>this._updateItem(t),scale:"m",value:"enabled"}),i("solution-item-icon",{type:t.type,typeKeywords:t.typeKeywords}),i("span",{class:"icon-text",title:t.title},t.title)))):null}_updateItem(t){const e=t.target.id;this.sharing=this.sharing.map((i=>{if(i.id===e){i.shareItem=t.target.checked;const a=ft.getItemInfo(e);if(i.shareItem)a.groups?a.groups.indexOf(this.groupId)<0&&a.groups.push(this.groupId):a.groups=[this.groupId];else if(a.groups){const t=a.groups.indexOf(this.groupId);t>-1&&a.groups.splice(t,1)}ft.setItemInfo(a)}return i}))}async _getTranslations(){const t=await ut(this.el);this._translations=t[0]}get el(){return s(this)}static get watchers(){return{groupId:["itemIdWatchHandler"]}}};Qt.style=":host{display:block}.container-border{padding:1rem}.icon-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}";const Zt=class{constructor(i){t(this,i),this.organizationVariableSelected=e(this,"organizationVariableSelected",7),this.value="",this._organizationVariables=[],this._translations=void 0}valueWatchHandler(){this._organizationVariables=JSON.parse(this.value)}async componentWillLoad(){return this._getTranslations()}render(){return i(o,{key:"a4456905e1abde8eca22dfb6f3da81959d509b75"},i("div",{key:"8fc37e2a59237ed0cca05b096f901a82da696151"},i("h4",{key:"7bdd9e95f37297c51778a866542517048622e5ca",class:"org-var-header"},this._translations.orgVariables)),i("div",{key:"10bfcebd83ddc363f04149a03298b0c5247fd265",class:"container-border"},i("calcite-tree",{key:"1d168ebbceaf566fb8f4ddea85acba39c08bbd53",id:"variable-label"},this._renderHierarchy(this._organizationVariables))))}_renderHierarchy(t){return t.map((t=>i("calcite-tree-item",{onClick:()=>this._treeItemSelected(t.id,t.value)},t.title)))}_treeItemSelected(t,e){this.organizationVariableSelected.emit({itemId:t,value:e})}async _getTranslations(){const t=await ut(this.el);this._translations=t[0]}get el(){return s(this)}static get watchers(){return{value:["valueWatchHandler"]}}};Zt.style=":host{display:block}.container-border{overflow-y:auto}.org-var-header{margin-left:0px;margin-right:0px;margin-top:0px;margin-bottom:1rem}";const te=class{constructor(e){t(this,e),this._removedResources={},this.authentication=void 0,this.itemId="",this.resourceFilePaths=[],this.resources=[],this._translations=void 0}itemIdWatchHandler(){const t=ft.getItemInfo(this.itemId);this.resourceFilePaths=t.resourceFilePaths,this.resources=t.resources.map((t=>t.substring(t.lastIndexOf("/")+1)))}componentWillLoad(){return this._getTranslations()}render(){const t=this._hasValidResources();return i(o,{key:"c36fddfce9c4c97b281281ec11dfa017d496141e"},i("div",{key:"e1166173669689e9acee92cc7e53747ebcec0c09",class:"resource-item"},i("div",{key:"86c8e1d498d7b84e9587cdcf4a3bb971fc1ecaad",class:"margin-bottom-1"},i("calcite-button",{key:"f382275e75efeb5beadef582ddd343a283f014e2",appearance:"solid",class:"resource-button",color:"blue",onClick:()=>this._addNewResource()},this._translations.addResource),i("calcite-button",{key:"c487e618472b047f8db71e8989f849c844682080",appearance:"solid",color:"blue",disabled:!t,onClick:()=>this._downloadAll()},this._translations.downloadAll)),i("div",{key:"08733ba234cba9b5ea19455256fa961d23ae933b",class:"resources-container",style:{display:t?"inherit":"none"}},this._renderResourceList())))}_renderResourceList(){return i("calcite-value-list",{multiple:!0},this.resourceFilePaths.reduce(((t,e)=>(e.type!==mt.Thumbnail&&t.push(this._renderResource(e)),t)),[]))}_renderResource(t){const e=t.updateType===vt.Remove;return i("calcite-value-list-item",{class:e?"disabled":"",label:t.folder?t.folder+"/"+t.filename:t.filename,nonInteractive:!0,value:t.url},i("calcite-action-group",{"expand-disabled":"true",layout:"horizontal",slot:"actions-end"},i("calcite-action",{disabled:e,icon:"download",label:this._translations.download,onClick:()=>this._download(t.url,t.filename),scale:"m",text:this._translations.download,title:this._translations.download}),i("calcite-action",{disabled:e,icon:"upload-to",label:this._translations.update,onClick:()=>this._upload(t),scale:"m",text:this._translations.update,title:this._translations.update}),i("calcite-action",{disabled:e,icon:"trash",label:this._translations.delete,onClick:()=>this._delete(t),scale:"m",text:this._translations.delete,title:this._translations.delete}),e?i("calcite-action",{icon:"reset",label:this._translations.reset,onClick:()=>this._reset(t.filename),scale:"m",text:this._translations.reset,title:this._translations.reset}):i("div",{class:"display-none"})))}_delete(t){t.updateType=vt.Remove,this.resourceFilePaths=[...this.resourceFilePaths],this._updateStore()}_reset(t){this.resourceFilePaths=this.resources.some((e=>e===t))?this.resourceFilePaths.map((e=>(e.filename===t&&(e.updateType=vt.None),e))):this.resourceFilePaths.map((e=>(e.filename===t&&(e.updateType=vt.Add),e))),this._updateStore()}_downloadAll(){this.resourceFilePaths.forEach((t=>{this._download(t.url,t.filename)}))}_download(t,e){t.startsWith("blob")?this.downloadFile(t,e):this.fetchAndDownload(`${t}?token=${this.authentication.token}`,e)}downloadFile(t,e){const i=document.createElement("a");i.href=t,i.download=e,i.target="_blank",i.click()}_hasValidResources(){return this.resourceFilePaths.some((t=>t.url.indexOf("_info_thumbnail")<0))}async fetchAndDownload(t,e){const i=await fetch(t),a=await i.blob(),s=URL.createObjectURL(a);this.downloadFile(s,e)}_upload(t){const e=document.createElement("input");e.classList.add("display-none"),e.onchange=this._updateResource.bind(this,t),e.type="file",e.click()}_addNewResource(){const t=document.createElement("input");t.classList.add("display-none"),t.onchange=this._add.bind(this),t.type="file",t.click()}_updateResource(t,e){const i=e.target.files;i&&i[0]&&(t.blob=i[0],t.updateType=vt.Update,this._updateStore())}_add(t){const e=t.target.files;if(e&&e[0]){const t=URL.createObjectURL(e[0]),i=e[0].name;this.resourceFilePaths.some((e=>e.filename===i&&e.url===t))||(this.resourceFilePaths=[...this.resourceFilePaths,{url:t,type:mt.Data,folder:void 0,filename:i,blob:e[0],updateType:vt.Add}],this._updateStore())}}_updateStore(){const t=ft.getItemInfo(this.itemId);t.resourceFilePaths=this.resourceFilePaths,ft.setItemInfo(t)}async _getTranslations(){const t=await ut(this.el);this._translations=t[0]}get el(){return s(this)}static get watchers(){return{itemId:["itemIdWatchHandler"]}}};te.style=":host{display:block}.resource-item{padding:1rem}.resource-button{margin-inline-end:1rem}.resource-progress{padding-top:1rem}.resources-container{border:1px #808080 solid}.margin-bottom-1{margin-bottom:1rem}";const ee=class{itemIdWatchHandler(){this._initializing=!0,this.value=JSON.stringify("data"===this.instanceid?ft.getItemInfo(this.itemId).data:ft.getItemInfo(this.itemId).properties,null,2)}constructor(e){t(this,e),this._initializing=!1,this.instanceid="",this.itemId="",this.organizationVariables="",this.solutionVariables="",this.varsOpen=!0,this._translations=void 0,this.value="",window.addEventListener("solutionEditorContentChanged",(t=>{if(this.itemId){const{id:e,contents:i}=t.detail,[a,s]=e.split("|");if(a==this.itemId&&s===this.instanceid){if(!this._initializing&&i.length>0){const t=ft.getItemInfo(a);"data"===s?t.data=JSON.parse(i):t.properties=JSON.parse(i),ft.setItemInfo(t)}this._initializing=!1}}}))}componentWillLoad(){return this._getTranslations()}render(){return i(o,{key:"f6c478a45be7ba02a79446dca5a12ecb7cfaf817"},i("div",{key:"d268f063606f2d0a0dfbe76f0ea907074ac91c60",class:"solution-data-container"},i("calcite-shell",{key:"170f35aa82ad4e4fbd7e111b558417712396a44d",class:"light var-container",dir:"ltr"},i("calcite-panel",{key:"ada2da8d5240d9904cd9021c9573eee5bd8fe6a4",class:"json-editor"},i("div",{key:"51001e6bcf73ed23d6c76f5d9c17a66b5cbd1d05",class:"solution-data-child-container calcite-match-height"},i("json-editor",{key:"4390b6ff57b3d6341a8c984e8393badf4122df2a",class:"solution-data-editor-container",instanceid:this.itemId+"|"+this.instanceid,value:this.value}))),i("calcite-shell-panel",{key:"866f4349e9ca6f5e8120479997248c2962c18b90","height-scale":"l",position:"end",slot:"contextual-panel","width-scale":"xs"},i("div",{key:"adb11719b67d10a9a4da50d79ac23eadc68544a7",class:this.varsOpen?"solution-data-child-container":"solution-data-child-container-collapsed"},i("calcite-button",{key:"c6a7365e101045ad0f30700e6ba296ff62f0942d",appearance:"transparent",class:"collapse-btn","icon-start":this.varsOpen?"chevrons-right":"chevrons-left",id:"collapse-vars",onClick:()=>this._toggleVars(),scale:"s",title:this.varsOpen?this._translations.collapse:this._translations.expand}),i("div",{key:"76b05d456a9cafd25af16e3848e453ccfda5f1bc",class:this.varsOpen?"org-vars":"org-vars display-none",id:"orgVars"},i("solution-organization-variables",{key:"4b2df6867414d5a6e4e9423b2133196dfd85b3bd",value:this.organizationVariables})),i("div",{key:"eb5201a82e27a52e0a4f9c38cdc9db3f0c1173d8",class:this.varsOpen?"sol-vars":"sol-vars display-none",id:"solVars"},i("solution-variables",{key:"00dda00409364b66e092e9ec304524c35f7d0704",value:this.solutionVariables})))))))}_toggleVars(){this.varsOpen=!this.varsOpen}async _getTranslations(){const t=await ut(this.el);this._translations=t[0]}get el(){return s(this)}static get watchers(){return{itemId:["itemIdWatchHandler"]}}};ee.style=":host{display:flexbox}.solution-data-container{position:absolute;height:-moz-available;height:calc(100% - 48px);height:-webkit-fill-available;height:stretch;width:-moz-available;width:100%;width:-webkit-fill-available;width:stretch}.solution-data-child-container{display:flex;height:100%;width:100%;flex-direction:column;overflow-y:auto}.solution-data-editor-container{height:100%}.solution-data-child-container-collapsed{display:flex;height:100%;flex-direction:column;overflow:auto;width:50px}.inputBottomSeparation{margin-left:0px;margin-right:0px;margin-top:0px;margin-bottom:1.5rem}.json-editor{margin:1rem;width:auto;width:-webkit-fill-available -moz-available}.collapse-btn{padding-left:1rem;padding-right:1rem;padding-top:1rem;padding-bottom:0px}.org-vars{padding-left:1rem;padding-right:1rem;padding-top:1rem;padding-bottom:0px}.sol-vars{padding-top:0px;padding-bottom:0px;padding-left:1rem;padding-right:1rem;min-height:45%}.padding-1{padding:1rem}.light{background-color:#F4F4F4}";const ie=class{constructor(i){t(this,i),this.solutionVariableSelected=e(this,"solutionVariableSelected",7),this.value="",this._solutionVariables=[],this._translations=void 0}valueWatchHandler(){this._solutionVariables=JSON.parse(this.value)}componentWillLoad(){return this._getTranslations()}render(){return i(o,{key:"6673253cf19a8d760dc1444feef39a74258d01ed"},i("div",{key:"44e5a11c8f31558baf8458cc883e579f2f23ff47"},i("h4",{key:"f8b7a19e4a9eb4860015cfdb6c55c2b94d66a222",class:"org-var-header"},this._translations.solVariables)),i("div",{key:"ffb70400c5fd22a944328672e7eaefa5918fce5c",class:"container-border"},i("calcite-tree",{key:"de81612c2a603f17b1bcb58f0b750401db0d4f20",id:"variable-label"},this._renderHierarchy(this._solutionVariables))))}_renderHierarchy(t){return t.map((t=>t.dependencies&&t.dependencies.length>0?i("calcite-tree-item",{onClick:t=>this._toggleExpand(t)},i("solution-item-icon",{type:t.type}),i("span",{class:"icon-text",title:t.title},t.title),i("calcite-tree",{slot:"children"},this._renderHierarchy(t.dependencies))):i("calcite-tree-item",{onClick:()=>this._treeItemSelected(t.id,t.value)},t.title)))}_treeItemSelected(t,e){this.solutionVariableSelected.emit({itemId:t,value:e})}_toggleExpand(t){var e;const i=null===(e=null==t?void 0:t.target)||void 0===e?void 0:e.closest("calcite-tree-item");i&&(i.expanded=!i.expanded)}async _getTranslations(){const t=await ut(this.el);this._translations=t[0]}get el(){return s(this)}static get watchers(){return{value:["valueWatchHandler"]}}};ie.style=":host{display:block}.container-border{overflow-y:hidden}.org-var-header{margin-top:1rem;margin-bottom:1rem;margin-left:0px;margin-right:0px}.icon-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}";export{kt as calcite_shell_panel,Ct as calcite_tab,Wt as calcite_tab_nav,Ot as calcite_tab_title,Pt as calcite_tabs,Jt as calcite_value_list,Kt as calcite_value_list_item,Xt as json_editor,Yt as solution_item_details,Qt as solution_item_sharing,Zt as solution_organization_variables,te as solution_resource_item,ee as solution_template_data,ie as solution_variables}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{h as n}from"./p-6d753a3d.js";import{q as t,c as i}from"./p-67b26725.js";
|
7
|
-
/*!
|
8
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
10
|
-
* v2.8.2
|
11
|
-
*/const e=["calcite-input","calcite-input-number","calcite-input-text","calcite-text-area"],o="hidden-form-input";function s(n){return"checked"in n}const a=new WeakMap,c=new WeakSet;function r(n){return"CALCITE-RADIO-BUTTON"===n.nodeName?i(n,"calcite-radio-button-group"):n}const u=new CustomEvent("calciteInvalid",{bubbles:!0,composed:!0});function l(n){const t=n?.target,i=t?.validationMessage,o=r(t?.parentElement);if(!o)return;const s=o?.nodeName?.toLowerCase(),a=s?.split("-");if(a.length<2||"calcite"!==a[0])return;n?.preventDefault(),"validity"in o&&(o.validity=t?.validity),o.dispatchEvent(u),function(n,{status:t,message:i,icon:e}){"status"in n&&(n.status=t),"validationIcon"in n&&"string"!=typeof n.validationIcon&&(n.validationIcon=e),"validationMessage"in n&&!n.validationMessage&&(n.validationMessage=i)}(o,{message:i,icon:!0,status:"invalid"});const c=function(n){return`${n.split("-").map(((n,t)=>0===t?n:`${n[0].toUpperCase()}${n.slice(1)}`)).join("")}${e.includes(n)?"Input":"Change"}`}(s);o.addEventListener(c,(()=>{"status"in o&&(o.status="idle"),"validationIcon"in o&&!o.validationIcon&&(o.validationIcon=!1),"validationMessage"in o&&o.validationMessage===i&&(o.validationMessage=""),"validity"in o&&(o.validity=t?.validity)}),{once:!0})}function f(n){const{formEl:t}=n;return!!t&&(t.addEventListener("invalid",l,!0),t.requestSubmit(),t.removeEventListener("invalid",l,!0),requestAnimationFrame((()=>{const n=t.querySelectorAll("[status=invalid]");for(const t of n)if(t?.validationMessage){t?.setFocus();break}})),!0)}function d(n){n.formEl?.reset()}function m(n){const{el:t,value:e}=n,o=p(n);if(!o||function(n,t){if(i(t.parentElement,"[form]"))return!0;const e="calciteInternalFormComponentRegister";let o=!1;return n.addEventListener(e,(n=>{o=n.composedPath().some((n=>c.has(n))),n.stopPropagation()}),{once:!0}),t.dispatchEvent(new CustomEvent(e,{bubbles:!0,composed:!0})),o}(o,t))return;n.formEl=o,n.defaultValue=e,s(n)&&(n.defaultChecked=n.checked);const r=(n.onFormReset||v).bind(n);o.addEventListener("reset",r),a.set(n.el,r),c.add(t)}function p(n){const{el:e,form:o}=n;return o?t(e,{id:o}):i(e,"form")}function v(){"status"in this&&(this.status="idle"),"validationIcon"in this&&(this.validationIcon=!1),"validationMessage"in this&&(this.validationMessage=""),s(this)?this.checked=this.defaultChecked:this.value=this.defaultValue}function b(n){const{el:t,formEl:i}=n;if(!i)return;const e=a.get(t);i.removeEventListener("reset",e),a.delete(t),n.formEl=null,c.delete(t)}function h(n,t){n.defaultValue=t}const I="calciteInternalHiddenInputInput",g=n=>{n.target.dispatchEvent(new CustomEvent(I,{bubbles:!0}))},w=n=>n.removeEventListener("input",g);function C(n,t,i){const{defaultValue:e,disabled:o,form:a,name:c,required:u}=n;t.defaultValue=e,t.disabled=o,t.name=c,t.required=u,t.tabIndex=-1,a?t.setAttribute("form",a):t.removeAttribute("form"),s(n)?(t.checked=n.checked,t.defaultChecked=n.defaultChecked,t.value=n.checked?i||"on":""):t.value=i||"",n.syncHiddenFormInput?.(t);const l=r(n.el);if(l&&"validity"in l)for(const n in{...t?.validity})l.validity[n]=t.validity[n]}const E=({component:t})=>(function(n){const{el:t,formEl:i,name:e,value:s}=n,{ownerDocument:a}=t,c=t.querySelectorAll(`input[slot="${o}"]`);if(!i||!e)return void c.forEach((n=>{w(n),n.remove()}));const r=Array.isArray(s)?s:[s],u=[],l=new Set;let f;c.forEach((t=>{const i=r.find((n=>n==t.value));null!=i?(l.add(i),C(n,t,i)):u.push(t)})),r.forEach((t=>{if(l.has(t))return;let i=u.pop();i||(i=a.createElement("input"),i.slot=o),f||(f=a.createDocumentFragment()),f.append(i),i.addEventListener("input",g),C(n,i,t)})),f&&t.append(f),u.forEach((n=>{w(n),n.remove()}))}(t),n("slot",{name:o}));export{E as H,h as a,m as c,b as d,p as f,I as i,d as r,f as s}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as e,h as s,H as i,g as t}from"./p-6d753a3d.js";import{g as a}from"./p-b85be429.js";
|
7
|
-
/*!
|
8
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
10
|
-
* v2.8.2
|
11
|
-
*/const d="container",c="selected",n=class{constructor(s){e(this,s),this.guid=`calcite-carousel-item-${a()}`,this.label=void 0,this.selected=!1}render(){return s(i,{key:"6d4ac387ae1b4748050c82d8387edd30e6c0e662",id:this.el.id||this.guid},s("div",{key:"c6a4c67d99dd6e34198b2d128efb518e757277ce","aria-label":this.label,class:{[d]:!0,[c]:this.selected},role:"tabpanel"},s("slot",{key:"2ed94883d41dba5430a39933c6fe91bb25b12703"})))}get el(){return t(this)}};n.style=":host{display:flex}.container{display:none;inline-size:var(--calcite-container-size-content-fluid)}:host([selected]) .container{display:block}:host([hidden]){display:none}[hidden]{display:none}";export{n as calcite_carousel_item}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{d as _}from"./p-bc82830a.js";import"./p-6d753a3d.js";import"./p-229ec6a3.js";import"./p-67b26725.js";import"./p-b85be429.js";import"./p-db50226e.js";import"./p-9db9645e.js";import"./p-820d8935.js";import"./p-f50a294b.js";import"./p-6127f49e.js";import"./p-e6e50975.js";import"./p-a25bbcc1.js";import"./p-b5bfe190.js";import"./p-bfd3d428.js";import"./p-97f0e1b6.js";import"./p-86a8cf0e.js";import"./p-ebf59857.js";import"./p-2e625f11.js";import"./p-12c80030.js";import"./p-972fd6e2.js";var m={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(_,m){return"W"===m?_+"周":_+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(_,m){var p=100*_+m;return p<600?"凌晨":p<900?"早上":p<1100?"上午":p<1300?"中午":p<1800?"下午":"晚上"}};_.locale(m,null,!0);export{m as default}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{a as e}from"./p-82e085d0.js";var t={exports:{}};
|
7
|
-
/*! @license DOMPurify 2.4.3 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.4.3/LICENSE */t.exports=function(){function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(e,n){return t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},t(e,n)}function n(e,r,i){return n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()?Reflect.construct:function(e,n,r){var i=[null];i.push.apply(i,n);var o=new(Function.bind.apply(e,i));return r&&t(o,r.prototype),o},n.apply(null,arguments)}function r(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var o=Object.hasOwnProperty,a=Object.setPrototypeOf,l=Object.isFrozen,c=Object.getPrototypeOf,s=Object.getOwnPropertyDescriptor,u=Object.freeze,f=Object.seal,m=Object.create,p="undefined"!=typeof Reflect&&Reflect,d=p.apply,h=p.construct;d||(d=function(e,t,n){return e.apply(t,n)}),u||(u=function(e){return e}),f||(f=function(e){return e}),h||(h=function(e,t){return n(e,r(t))});var g,y=R(Array.prototype.forEach),b=R(Array.prototype.pop),v=R(Array.prototype.push),w=R(String.prototype.toLowerCase),x=R(String.prototype.toString),k=R(String.prototype.match),S=R(String.prototype.replace),A=R(String.prototype.indexOf),j=R(String.prototype.trim),O=R(RegExp.prototype.test),z=(g=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return h(g,t)});function R(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return d(e,t,r)}}function T(e,t,n){n=n||w,a&&a(e,null);for(var r=t.length;r--;){var i=t[r];if("string"==typeof i){var o=n(i);o!==i&&(l(t)||(t[r]=o),i=o)}e[i]=!0}return e}function F(e){var t,n=m(null);for(t in e)!0===d(o,e,[t])&&(n[t]=e[t]);return n}function E(e,t){for(;null!==e;){var n=s(e,t);if(n){if(n.get)return R(n.get);if("function"==typeof n.value)return R(n.value)}e=c(e)}return function(e){return console.warn("fallback value for",e),null}}var D=u(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),L=u(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),M=u(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),B=u(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),N=u(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),_=u(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),I=u(["#text"]),C=u(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),q=u(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),W=u(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),U=u(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),G=f(/\{\{[\w\W]*|[\w\W]*\}\}/gm),P=f(/<%[\w\W]*|[\w\W]*%>/gm),$=f(/\${[\w\W]*}/gm),H=f(/^data-[\-\w.\u00B7-\uFFFF]/),Y=f(/^aria-[\-\w]+$/),V=f(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),J=f(/^(?:\w+script|data):/i),K=f(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Q=f(/^html$/i),X=function(){return"undefined"==typeof window?null:window};var Z=function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:X(),i=function(e){return t(e)};if(i.version="2.4.3",i.removed=[],!n||!n.document||9!==n.document.nodeType)return i.isSupported=!1,i;var o=n.document,a=n.document,l=n.DocumentFragment,c=n.HTMLTemplateElement,s=n.Node,f=n.Element,m=n.NodeFilter,p=n.NamedNodeMap,d=void 0===p?n.NamedNodeMap||n.MozNamedAttrMap:p,h=n.HTMLFormElement,g=n.DOMParser,R=n.trustedTypes,Z=f.prototype,ee=E(Z,"cloneNode"),te=E(Z,"nextSibling"),ne=E(Z,"childNodes"),re=E(Z,"parentNode");if("function"==typeof c){var ie=a.createElement("template");ie.content&&ie.content.ownerDocument&&(a=ie.content.ownerDocument)}var oe=function(t,n){if("object"!==e(t)||"function"!=typeof t.createPolicy)return null;var r=null,i="data-tt-policy-suffix";n.currentScript&&n.currentScript.hasAttribute(i)&&(r=n.currentScript.getAttribute(i));var o="dompurify"+(r?"#"+r:"");try{return t.createPolicy(o,{createHTML:function(e){return e},createScriptURL:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+o+" could not be created."),null}}(R,o),ae=oe?oe.createHTML(""):"",le=a.implementation,ce=a.createNodeIterator,se=a.createDocumentFragment,ue=a.getElementsByTagName,fe=o.importNode,me={};try{me=F(a).documentMode?a.documentMode:{}}catch(e){}var pe={};i.isSupported="function"==typeof re&&le&&void 0!==le.createHTMLDocument&&9!==me;var de,he,ge=G,ye=P,be=$,ve=H,we=Y,xe=J,ke=K,Se=V,Ae=null,je=T({},[].concat(r(D),r(L),r(M),r(N),r(I))),Oe=null,ze=T({},[].concat(r(C),r(q),r(W),r(U))),Re=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Te=null,Fe=null,Ee=!0,De=!0,Le=!1,Me=!1,Be=!1,Ne=!1,_e=!1,Ie=!1,Ce=!1,qe=!1,We=!0,Ue=!1,Ge=!0,Pe=!1,$e={},He=null,Ye=T({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Ve=null,Je=T({},["audio","video","img","source","image","track"]),Ke=null,Qe=T({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Xe="http://www.w3.org/1998/Math/MathML",Ze="http://www.w3.org/2000/svg",et="http://www.w3.org/1999/xhtml",tt=et,nt=!1,rt=null,it=T({},[Xe,Ze,et],x),ot=["application/xhtml+xml","text/html"],at=null,lt=a.createElement("form"),ct=function(e){return e instanceof RegExp||e instanceof Function},st=function(t){at&&at===t||(t&&"object"===e(t)||(t={}),t=F(t),de=de=-1===ot.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE,he="application/xhtml+xml"===de?x:w,Ae="ALLOWED_TAGS"in t?T({},t.ALLOWED_TAGS,he):je,Oe="ALLOWED_ATTR"in t?T({},t.ALLOWED_ATTR,he):ze,rt="ALLOWED_NAMESPACES"in t?T({},t.ALLOWED_NAMESPACES,x):it,Ke="ADD_URI_SAFE_ATTR"in t?T(F(Qe),t.ADD_URI_SAFE_ATTR,he):Qe,Ve="ADD_DATA_URI_TAGS"in t?T(F(Je),t.ADD_DATA_URI_TAGS,he):Je,He="FORBID_CONTENTS"in t?T({},t.FORBID_CONTENTS,he):Ye,Te="FORBID_TAGS"in t?T({},t.FORBID_TAGS,he):{},Fe="FORBID_ATTR"in t?T({},t.FORBID_ATTR,he):{},$e="USE_PROFILES"in t&&t.USE_PROFILES,Ee=!1!==t.ALLOW_ARIA_ATTR,De=!1!==t.ALLOW_DATA_ATTR,Le=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Me=t.SAFE_FOR_TEMPLATES||!1,Be=t.WHOLE_DOCUMENT||!1,Ie=t.RETURN_DOM||!1,Ce=t.RETURN_DOM_FRAGMENT||!1,qe=t.RETURN_TRUSTED_TYPE||!1,_e=t.FORCE_BODY||!1,We=!1!==t.SANITIZE_DOM,Ue=t.SANITIZE_NAMED_PROPS||!1,Ge=!1!==t.KEEP_CONTENT,Pe=t.IN_PLACE||!1,Se=t.ALLOWED_URI_REGEXP||Se,tt=t.NAMESPACE||et,t.CUSTOM_ELEMENT_HANDLING&&ct(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Re.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&ct(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Re.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Re.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Me&&(De=!1),Ce&&(Ie=!0),$e&&(Ae=T({},r(I)),Oe=[],!0===$e.html&&(T(Ae,D),T(Oe,C)),!0===$e.svg&&(T(Ae,L),T(Oe,q),T(Oe,U)),!0===$e.svgFilters&&(T(Ae,M),T(Oe,q),T(Oe,U)),!0===$e.mathMl&&(T(Ae,N),T(Oe,W),T(Oe,U))),t.ADD_TAGS&&(Ae===je&&(Ae=F(Ae)),T(Ae,t.ADD_TAGS,he)),t.ADD_ATTR&&(Oe===ze&&(Oe=F(Oe)),T(Oe,t.ADD_ATTR,he)),t.ADD_URI_SAFE_ATTR&&T(Ke,t.ADD_URI_SAFE_ATTR,he),t.FORBID_CONTENTS&&(He===Ye&&(He=F(He)),T(He,t.FORBID_CONTENTS,he)),Ge&&(Ae["#text"]=!0),Be&&T(Ae,["html","head","body"]),Ae.table&&(T(Ae,["tbody"]),delete Te.tbody),u&&u(t),at=t)},ut=T({},["mi","mo","mn","ms","mtext"]),ft=T({},["foreignobject","desc","title","annotation-xml"]),mt=T({},["title","style","font","a","script"]),pt=T({},L);T(pt,M),T(pt,B);var dt=T({},N);T(dt,_);var ht=function(e){v(i.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=ae}catch(t){e.remove()}}},gt=function(e,t){try{v(i.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){v(i.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!Oe[e])if(Ie||Ce)try{ht(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},yt=function(e){var t,n;if(_e)e="<remove></remove>"+e;else{var r=k(e,/^[\r\n\t ]+/);n=r&&r[0]}"application/xhtml+xml"===de&&tt===et&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");var i=oe?oe.createHTML(e):e;if(tt===et)try{t=(new g).parseFromString(i,de)}catch(e){}if(!t||!t.documentElement){t=le.createDocument(tt,"template",null);try{t.documentElement.innerHTML=nt?ae:i}catch(e){}}var o=t.body||t.documentElement;return e&&n&&o.insertBefore(a.createTextNode(n),o.childNodes[0]||null),tt===et?ue.call(t,Be?"html":"body")[0]:Be?t.documentElement:o},bt=function(e){return ce.call(e.ownerDocument||e,e,m.SHOW_ELEMENT|m.SHOW_COMMENT|m.SHOW_TEXT,null,!1)},vt=function(t){return"object"===e(s)?t instanceof s:t&&"object"===e(t)&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName},wt=function(e,t,n){pe[e]&&y(pe[e],(function(e){e.call(i,t,n,at)}))},xt=function(e){var t,n;if(wt("beforeSanitizeElements",e,null),(n=e)instanceof h&&("string"!=typeof n.nodeName||"string"!=typeof n.textContent||"function"!=typeof n.removeChild||!(n.attributes instanceof d)||"function"!=typeof n.removeAttribute||"function"!=typeof n.setAttribute||"string"!=typeof n.namespaceURI||"function"!=typeof n.insertBefore||"function"!=typeof n.hasChildNodes))return ht(e),!0;if(O(/[\u0080-\uFFFF]/,e.nodeName))return ht(e),!0;var r=he(e.nodeName);if(wt("uponSanitizeElement",e,{tagName:r,allowedTags:Ae}),e.hasChildNodes()&&!vt(e.firstElementChild)&&(!vt(e.content)||!vt(e.content.firstElementChild))&&O(/<[/\w]/g,e.innerHTML)&&O(/<[/\w]/g,e.textContent))return ht(e),!0;if("select"===r&&O(/<template/i,e.innerHTML))return ht(e),!0;if(!Ae[r]||Te[r]){if(!Te[r]&&St(r)){if(Re.tagNameCheck instanceof RegExp&&O(Re.tagNameCheck,r))return!1;if(Re.tagNameCheck instanceof Function&&Re.tagNameCheck(r))return!1}if(Ge&&!He[r]){var o=re(e)||e.parentNode,a=ne(e)||e.childNodes;if(a&&o)for(var l=a.length-1;l>=0;--l)o.insertBefore(ee(a[l],!0),te(e))}return ht(e),!0}return e instanceof f&&!function(e){var t=re(e);t&&t.tagName||(t={namespaceURI:tt,tagName:"template"});var n=w(e.tagName),r=w(t.tagName);return!!rt[e.namespaceURI]&&(e.namespaceURI===Ze?t.namespaceURI===et?"svg"===n:t.namespaceURI===Xe?"svg"===n&&("annotation-xml"===r||ut[r]):Boolean(pt[n]):e.namespaceURI===Xe?t.namespaceURI===et?"math"===n:t.namespaceURI===Ze?"math"===n&&ft[r]:Boolean(dt[n]):e.namespaceURI===et?!(t.namespaceURI===Ze&&!ft[r])&&!(t.namespaceURI===Xe&&!ut[r])&&!dt[n]&&(mt[n]||!pt[n]):!("application/xhtml+xml"!==de||!rt[e.namespaceURI]))}(e)?(ht(e),!0):"noscript"!==r&&"noembed"!==r||!O(/<\/no(script|embed)/i,e.innerHTML)?(Me&&3===e.nodeType&&(t=S(t=e.textContent,ge," "),t=S(t,ye," "),t=S(t,be," "),e.textContent!==t&&(v(i.removed,{element:e.cloneNode()}),e.textContent=t)),wt("afterSanitizeElements",e,null),!1):(ht(e),!0)},kt=function(e,t,n){if(We&&("id"===t||"name"===t)&&(n in a||n in lt))return!1;if(De&&!Fe[t]&&O(ve,t));else if(Ee&&O(we,t));else if(!Oe[t]||Fe[t]){if(!(St(e)&&(Re.tagNameCheck instanceof RegExp&&O(Re.tagNameCheck,e)||Re.tagNameCheck instanceof Function&&Re.tagNameCheck(e))&&(Re.attributeNameCheck instanceof RegExp&&O(Re.attributeNameCheck,t)||Re.attributeNameCheck instanceof Function&&Re.attributeNameCheck(t))||"is"===t&&Re.allowCustomizedBuiltInElements&&(Re.tagNameCheck instanceof RegExp&&O(Re.tagNameCheck,n)||Re.tagNameCheck instanceof Function&&Re.tagNameCheck(n))))return!1}else if(Ke[t]);else if(O(Se,S(n,ke,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==A(n,"data:")||!Ve[e])if(Le&&!O(xe,S(n,ke,"")));else if(n)return!1;return!0},St=function(e){return e.indexOf("-")>0},At=function(t){var n,r,o,a;wt("beforeSanitizeAttributes",t,null);var l=t.attributes;if(l){var c={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Oe};for(a=l.length;a--;){var s=(n=l[a]).name,u=n.namespaceURI;if(r="value"===s?n.value:j(n.value),o=he(s),c.attrName=o,c.attrValue=r,c.keepAttr=!0,c.forceKeepAttr=void 0,wt("uponSanitizeAttribute",t,c),r=c.attrValue,!c.forceKeepAttr&&(gt(s,t),c.keepAttr))if(O(/\/>/i,r))gt(s,t);else{Me&&(r=S(r,ge," "),r=S(r,ye," "),r=S(r,be," "));var f=he(t.nodeName);if(kt(f,o,r)){if(!Ue||"id"!==o&&"name"!==o||(gt(s,t),r="user-content-"+r),oe&&"object"===e(R)&&"function"==typeof R.getAttributeType)if(u);else switch(R.getAttributeType(f,o)){case"TrustedHTML":r=oe.createHTML(r);break;case"TrustedScriptURL":r=oe.createScriptURL(r)}try{u?t.setAttributeNS(u,s,r):t.setAttribute(s,r),b(i.removed)}catch(e){}}}}wt("afterSanitizeAttributes",t,null)}},jt=function e(t){var n,r=bt(t);for(wt("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)wt("uponSanitizeShadowNode",n,null),xt(n)||(n.content instanceof l&&e(n.content),At(n));wt("afterSanitizeShadowDOM",t,null)};return i.sanitize=function(t){var r,a,c,u,f,m=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if((nt=!t)&&(t="\x3c!--\x3e"),"string"!=typeof t&&!vt(t)){if("function"!=typeof t.toString)throw z("toString is not a function");if("string"!=typeof(t=t.toString()))throw z("dirty is not a string, aborting")}if(!i.isSupported){if("object"===e(n.toStaticHTML)||"function"==typeof n.toStaticHTML){if("string"==typeof t)return n.toStaticHTML(t);if(vt(t))return n.toStaticHTML(t.outerHTML)}return t}if(Ne||st(m),i.removed=[],"string"==typeof t&&(Pe=!1),Pe){if(t.nodeName){var p=he(t.nodeName);if(!Ae[p]||Te[p])throw z("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof s)1===(a=(r=yt("\x3c!----\x3e")).ownerDocument.importNode(t,!0)).nodeType&&"BODY"===a.nodeName||"HTML"===a.nodeName?r=a:r.appendChild(a);else{if(!Ie&&!Me&&!Be&&-1===t.indexOf("<"))return oe&&qe?oe.createHTML(t):t;if(!(r=yt(t)))return Ie?null:qe?ae:""}r&&_e&&ht(r.firstChild);for(var d=bt(Pe?t:r);c=d.nextNode();)3===c.nodeType&&c===u||xt(c)||(c.content instanceof l&&jt(c.content),At(c),u=c);if(u=null,Pe)return t;if(Ie){if(Ce)for(f=se.call(r.ownerDocument);r.firstChild;)f.appendChild(r.firstChild);else f=r;return Oe.shadowroot&&(f=fe.call(o,f,!0)),f}var h=Be?r.outerHTML:r.innerHTML;return Be&&Ae["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&O(Q,r.ownerDocument.doctype.name)&&(h="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+h),Me&&(h=S(h,ge," "),h=S(h,ye," "),h=S(h,be," ")),oe&&qe?oe.createHTML(h):h},i.setConfig=function(e){st(e),Ne=!0},i.clearConfig=function(){at=null,Ne=!1},i.isValidAttribute=function(e,t,n){at||st({});var r=he(e),i=he(t);return kt(r,i,n)},i.addHook=function(e,t){"function"==typeof t&&(pe[e]=pe[e]||[],v(pe[e],t))},i.removeHook=function(e){if(pe[e])return b(pe[e])},i.removeHooks=function(e){pe[e]&&(pe[e]=[])},i.removeAllHooks=function(){pe={}},i}();return Z}();const n=t.exports,r=Object.freeze(Object.assign(Object.create(null),t.exports,{default:n}));export{r as p}
|
@@ -1,21 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{_ as t}from"./p-52dba022.js";import{l as i}from"./p-896c9644.js";
|
7
|
-
/** @license
|
8
|
-
* Copyright 2022 Esri
|
9
|
-
*
|
10
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
11
|
-
* you may not use this file except in compliance with the License.
|
12
|
-
* You may obtain a copy of the License at
|
13
|
-
*
|
14
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
15
|
-
*
|
16
|
-
* Unless required by applicable law or agreed to in writing, software
|
17
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
18
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
19
|
-
* See the License for the specific language governing permissions and
|
20
|
-
* limitations under the License.
|
21
|
-
*/class l{async getPopupTitle(i,l){var o,s,n;this.arcade||await this._initModules();let e={};for(const[t,l]of Object.entries(i.attributes))e=Object.assign(Object.assign({},e),{[`{${t.toUpperCase()}}`]:l});const a=i.layer,r=this._removeTags(null===(o=null==a?void 0:a.popupTemplate)||void 0===o?void 0:o.title);if(r.includes("{expression/expr")&&null!=(null===(s=null==a?void 0:a.popupTemplate)||void 0===s?void 0:s.expressionInfos))for(let t=0;t<(null===(n=a.popupTemplate)||void 0===n?void 0:n.expressionInfos.length);t++){const o=a.popupTemplate.expressionInfos[t],s=this.arcade.createArcadeProfile("popup");try{const t=await this.arcade.createArcadeExecutor(o.expression,s),n=await t.executeAsync({$feature:i,$layer:a,$map:l});null==n&&""===n||(e[`{expression/${o.name}}`.toUpperCase()]=n)}catch(t){console.error(t);continue}}return a.popupTemplate.fieldInfos&&a.fields.forEach((l=>{const o=i.attributes[l.name],s=a.popupTemplate.fieldInfos.find((t=>t.fieldName.toLowerCase()===l.name.toLowerCase())),n=t(o,l.type,l.domain,null==s?void 0:s.format,this.intl);e[`{${l.name.toUpperCase()}}`]=null!=n?n:o})),null==r?void 0:r.replace(/{.*?}/g,(t=>null!=e[t.toUpperCase()]?e[t.toUpperCase()]:""))}_removeTags(t){return null==t||""===t?"":t.toString().replace(/(<([^>]+)>)/gi,"")}async _initModules(){const[t,l]=await i(["esri/arcade","esri/intl"]);this.arcade=t,this.intl=l}}export{l as P}
|
@@ -1,12 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as e,c as t,h as i,H as n,g as o,F as s}from"./p-6d753a3d.js";import{s as a,h as l,f as r,t as c}from"./p-67b26725.js";import{c as d,u as h,d as p,I as b}from"./p-9db9645e.js";import{s as m,a as f,c as u}from"./p-a25bbcc1.js";import{c as g}from"./p-bfd3d428.js";import{S as x}from"./p-01ee5ad6.js";import{H as v}from"./p-8674e740.js";import{c as w,d as y}from"./p-b5bfe190.js";import{c as k,s as z,d as C,u as S}from"./p-2e625f11.js";import{S as j,C as A,I as E}from"./p-d2b66bd2.js";import{c as H,d as I}from"./p-6085ab9c.js";import"./p-b85be429.js";import"./p-db50226e.js";import"./p-820d8935.js";import"./p-f50a294b.js";const L=class{constructor(i){e(this,i),this.calcitePanelClose=t(this,"calcitePanelClose",6),this.calcitePanelToggle=t(this,"calcitePanelToggle",6),this.calcitePanelScroll=t(this,"calcitePanelScroll",6),this.resizeObserver=g("resize",(()=>this.resizeHandler())),this.resizeHandler=()=>{const{panelScrollEl:e}=this;e&&"number"==typeof e.scrollHeight&&"number"==typeof e.offsetHeight&&(e.tabIndex=e.scrollHeight>e.offsetHeight?0:-1)},this.setContainerRef=e=>{this.containerEl=e},this.panelKeyDownHandler=e=>{this.closable&&"Escape"===e.key&&!e.defaultPrevented&&(this.close(),e.preventDefault())},this.close=()=>{this.closed=!0,this.calcitePanelClose.emit()},this.collapse=()=>{this.collapsed=!this.collapsed,this.calcitePanelToggle.emit()},this.panelScrollHandler=()=>{this.calcitePanelScroll.emit()},this.handleHeaderActionsStartSlotChange=e=>{this.hasStartActions=a(e)},this.handleHeaderActionsEndSlotChange=e=>{this.hasEndActions=a(e)},this.handleHeaderMenuActionsSlotChange=e=>{this.hasMenuItems=a(e)},this.handleActionBarSlotChange=e=>{const t=l(e).filter((e=>null==e?void 0:e.matches("calcite-action-bar")));t.forEach((e=>e.layout="horizontal")),this.hasActionBar=!!t.length},this.handleHeaderContentSlotChange=e=>{this.hasHeaderContent=a(e)},this.handleFooterSlotChange=e=>{this.hasFooterContent=a(e)},this.handleFooterActionsSlotChange=e=>{this.hasFooterActions=a(e)},this.handleFabSlotChange=e=>{this.hasFab=a(e)},this.setPanelScrollEl=e=>{var t,i;this.panelScrollEl=e,null===(t=this.resizeObserver)||void 0===t||t.disconnect(),e&&(null===(i=this.resizeObserver)||void 0===i||i.observe(e),this.resizeHandler())},this.closed=!1,this.disabled=!1,this.closable=!1,this.collapsed=!1,this.collapseDirection="down",this.collapsible=!1,this.headingLevel=void 0,this.loading=!1,this.heading=void 0,this.description=void 0,this.menuOpen=!1,this.messageOverrides=void 0,this.messages=void 0,this.overlayPositioning="absolute",this.hasStartActions=!1,this.hasEndActions=!1,this.hasMenuItems=!1,this.hasHeaderContent=!1,this.hasActionBar=!1,this.hasFooterContent=!1,this.hasFooterActions=!1,this.hasFab=!1,this.defaultMessages=void 0,this.effectiveLocale="",this.showHeaderContent=!1}onMessagesChange(){}connectedCallback(){d(this),w(this),k(this)}async componentWillLoad(){m(this),await z(this)}componentDidLoad(){f(this)}componentDidRender(){h(this)}disconnectedCallback(){var e;p(this),y(this),C(this),null===(e=this.resizeObserver)||void 0===e||e.disconnect()}effectiveLocaleChange(){S(this,this.effectiveLocale)}async setFocus(){await u(this),r(this.containerEl)}async scrollContentTo(e){var t;null===(t=this.panelScrollEl)||void 0===t||t.scrollTo(e)}renderHeaderContent(){const{heading:e,headingLevel:t,description:n,hasHeaderContent:o}=this,s=e?i(v,{class:A.heading,level:t},e):null,a=n?i("span",{class:A.description},n):null;return o||!s&&!a?null:i("div",{class:A.headerContent,key:"header-content"},s,a)}renderActionBar(){return i("div",{class:A.actionBarContainer,hidden:!this.hasActionBar},i("slot",{name:j.actionBar,onSlotchange:this.handleActionBarSlotChange}))}renderHeaderSlottedContent(){return i("div",{class:A.headerContent,hidden:!this.hasHeaderContent,key:"slotted-header-content"},i("slot",{name:j.headerContent,onSlotchange:this.handleHeaderContentSlotChange}))}renderHeaderStartActions(){const{hasStartActions:e}=this;return i("div",{class:{[A.headerActionsStart]:!0,[A.headerActions]:!0},hidden:!e,key:"header-actions-start"},i("slot",{name:j.headerActionsStart,onSlotchange:this.handleHeaderActionsStartSlotChange}))}renderHeaderActionsEnd(){const{hasEndActions:e,messages:t,closable:n,collapsed:o,collapseDirection:s,collapsible:a,hasMenuItems:l}=this,{collapse:r,expand:d,close:h}=t,p=[E.expand,E.collapse];"up"===s&&p.reverse();const b=a?i("calcite-action",{"aria-expanded":c(!o),"aria-label":r,"data-test":"collapse",icon:o?p[0]:p[1],onClick:this.collapse,text:r,title:o?d:r}):null,m=n?i("calcite-action",{"aria-label":h,"data-test":"close",icon:E.close,onClick:this.close,text:h,title:h}):null,f=i("slot",{name:j.headerActionsEnd,onSlotchange:this.handleHeaderActionsEndSlotChange}),u=e||b||m||l;return i("div",{class:{[A.headerActionsEnd]:!0,[A.headerActions]:!0},hidden:!u,key:"header-actions-end"},f,this.renderMenu(),b,m)}renderMenu(){const{hasMenuItems:e,messages:t,menuOpen:n}=this;return i("calcite-action-menu",{flipPlacements:["top","bottom"],hidden:!e,key:"menu",label:t.options,open:n,overlayPositioning:this.overlayPositioning,placement:"bottom-end"},i("calcite-action",{icon:E.menu,slot:x.trigger,text:t.options}),i("slot",{name:j.headerMenuActions,onSlotchange:this.handleHeaderMenuActionsSlotChange}))}renderHeaderNode(){const{hasHeaderContent:e,hasStartActions:t,hasEndActions:n,closable:o,collapsible:s,hasMenuItems:a,hasActionBar:l}=this,r=this.renderHeaderContent(),c=e||!!r||t||n||s||o||a;return this.showHeaderContent=c,i("header",{class:A.header,hidden:!(c||l)},i("div",{class:{[A.headerContainer]:!0,[A.headerContainerBorderEnd]:l},hidden:!c},this.renderHeaderStartActions(),this.renderHeaderSlottedContent(),r,this.renderHeaderActionsEnd()),this.renderActionBar())}renderFooterNode(){const{hasFooterContent:e,hasFooterActions:t}=this;return i("footer",{class:A.footer,hidden:!(e||t)},i("slot",{key:"footer-slot",name:j.footer,onSlotchange:this.handleFooterSlotChange}),i("slot",{key:"footer-actions-slot",name:j.footerActions,onSlotchange:this.handleFooterActionsSlotChange}))}renderContent(){return i("div",{class:A.contentWrapper,hidden:this.collapsible&&this.collapsed,onScroll:this.panelScrollHandler,ref:this.setPanelScrollEl},i("slot",null),this.renderFab())}renderFab(){return i("div",{class:A.fabContainer,hidden:!this.hasFab},i("slot",{name:j.fab,onSlotchange:this.handleFabSlotChange}))}render(){const{disabled:e,loading:t,panelKeyDownHandler:o,closed:s,closable:a}=this,l=i("article",{key:"c03a39a1d58126b861ce2a4f7610a20d8bee288d","aria-busy":c(t),class:A.container,hidden:s,tabIndex:a?0:-1,ref:this.setContainerRef},this.renderHeaderNode(),this.renderContent(),this.renderFooterNode());return i(n,{key:"0378ba8d08d9c802b21f3c8edd9926f759a6381c",onKeyDown:o},i(b,{key:"ada3c75b32686e450190e407d6c4855e7e1310eb",disabled:e},t?i("calcite-scrim",{loading:t}):null,l))}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};L.style=":host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;overflow:hidden;--calcite-min-header-height:calc(var(--calcite-icon-size) * 3)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-color-text-2);color:var(--calcite-color-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.container{margin:0px;display:flex;inline-size:100%;flex:1 1 auto;flex-direction:column;align-items:stretch;background-color:var(--calcite-color-background);padding:0px;transition:max-block-size var(--calcite-animation-timing), inline-size var(--calcite-animation-timing)}.container[hidden]{display:none}.header{z-index:var(--calcite-z-index-header);display:flex;flex-direction:column;background-color:var(--calcite-color-foreground-1);border-block-end:var(--calcite-panel-header-border-block-end, 1px solid var(--calcite-color-border-3))}.header-container{display:flex;inline-size:100%;flex-direction:row;align-items:stretch;justify-content:flex-start;flex:0 0 auto}.header-container--border-end{border-block-end:1px solid var(--calcite-color-border-3)}.action-bar-container{inline-size:100%}.action-bar-container ::slotted(calcite-action-bar){inline-size:100%}.header-content{display:flex;flex-direction:column;overflow:hidden;padding-inline:0.75rem;padding-block:0.875rem;margin-inline-end:auto}.header-content .heading,.header-content .description{display:block;overflow-wrap:break-word;padding:0px}.header-content .heading{margin-inline:0px;margin-block:0px 0.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-medium)}.header-content .heading:only-child{margin-block-end:0px}.header-content .description{font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-color-text-2)}.back-button{border-width:0px;border-style:solid;border-color:var(--calcite-color-border-3);border-inline-end-width:1px}.header-actions{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch}.header-actions--end{margin-inline-start:auto}.content-wrapper{display:flex;block-size:100%;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch;overflow:auto;background-color:var(--calcite-color-background)}.footer{display:flex;inline-size:100%;justify-content:space-evenly;background-color:var(--calcite-color-foreground-1);flex:0 0 auto;padding:var(--calcite-panel-footer-padding, 0.5rem);border-block-start:1px solid var(--calcite-color-border-3)}.fab-container{position:sticky;inset-block-end:0px;z-index:var(--calcite-z-index-sticky);margin-block:0px;margin-inline:auto;display:block;padding:0.5rem;inset-inline:0;inline-size:-moz-fit-content;inline-size:fit-content}:host([hidden]){display:none}[hidden]{display:none}";
|
7
|
-
/*!
|
8
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
10
|
-
* v2.8.2
|
11
|
-
*/
|
12
|
-
const D="content",M="content--behind",P=class{constructor(t){e(this,t),this.handleHeaderSlotChange=e=>{this.hasHeader=!!a(e)},this.handleFooterSlotChange=e=>{this.hasFooter=!!a(e)},this.handleAlertsSlotChange=e=>{var t;this.hasAlerts=!!a(e),null===(t=l(e))||void 0===t||t.map((e=>{"CALCITE-ALERT"===e.nodeName&&(e.slottedInShell=!0)}))},this.handleSheetsSlotChange=e=>{var t;this.hasSheets=!!a(e),null===(t=l(e))||void 0===t||t.map((e=>{"CALCITE-SHEET"===e.nodeName&&(e.slottedInShell=!0)}))},this.handleModalsSlotChange=e=>{var t;this.hasModals=!!a(e),null===(t=l(e))||void 0===t||t.map((e=>{"CALCITE-MODAL"===e.nodeName&&(e.slottedInShell=!0)}))},this.contentBehind=!1,this.hasHeader=!1,this.hasFooter=!1,this.hasAlerts=!1,this.hasModals=!1,this.hasSheets=!1,this.panelIsResizing=!1}handleCalciteInternalShellPanelResizeStart(e){this.panelIsResizing=!0,e.stopPropagation()}handleCalciteInternalShellPanelResizeEnd(e){this.panelIsResizing=!1,e.stopPropagation()}connectedCallback(){H(this)}disconnectedCallback(){I(this)}renderHeader(){return i("div",{hidden:!this.hasHeader},i("slot",{key:"header",name:"header",onSlotchange:this.handleHeaderSlotChange}))}renderFooter(){return i("div",{class:"footer",hidden:!this.hasFooter,key:"footer"},i("slot",{name:"footer",onSlotchange:this.handleFooterSlotChange}))}renderAlerts(){return i("div",{hidden:!this.hasAlerts},i("slot",{key:"alerts",name:"alerts",onSlotchange:this.handleAlertsSlotChange}))}renderSheets(){return i("div",{hidden:!this.hasSheets},i("slot",{key:"sheets",name:"sheets",onSlotchange:this.handleSheetsSlotChange}))}renderModals(){return i("div",{hidden:!this.hasModals},i("slot",{key:"modals",name:"modals",onSlotchange:this.handleModalsSlotChange}))}renderContent(){const{panelIsResizing:e}=this,t=i("slot",{key:"default-slot"}),n=e?i("div",{class:"content--non-interactive"},t):t,o=i("slot",{key:"center-row-slot",name:"center-row"}),s=i("slot",{key:"panel-bottom-slot",name:"panel-bottom"}),a=i("slot",{key:"panel-top-slot",name:"panel-top"}),l="content-container";return this.contentBehind?[i("div",{class:{[D]:!0,[M]:!0},key:l},n),i("div",{class:"center-content"},a,s,o)]:[i("div",{class:D,key:l},a,n,s,o)]}renderMain(){return i("div",{class:"main"},i("slot",{name:"panel-start"}),this.renderContent(),i("slot",{name:"panel-end"}))}renderPositionedSlots(){return i("div",{class:"positioned-slot-wrapper"},this.renderAlerts(),this.renderModals(),this.renderSheets())}render(){return i(s,{key:"ccbd1ae998a64d97d0233e0c029282174ae0e133"},this.renderHeader(),this.renderMain(),this.renderFooter(),this.renderPositionedSlots())}get el(){return o(this)}};P.style=":host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{position:absolute;inset:0px;display:flex;block-size:100%;inline-size:100%;flex-direction:column;overflow:hidden;--calcite-shell-tip-spacing:26vw}.main{position:relative;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;flex-direction:row;justify-content:space-between;overflow:hidden}.content,.content--non-interactive{display:flex;block-size:100%;inline-size:100%;flex-direction:column;flex-wrap:nowrap}.content{overflow:auto}.content ::slotted(calcite-shell-center-row),.content ::slotted(calcite-panel),.content ::slotted(calcite-flow){flex:1 1 auto;align-self:stretch;max-block-size:unset}.content--behind{position:absolute;inset:0px;border-width:0px;z-index:calc(var(--calcite-z-index) - 1);display:initial}.content--non-interactive{pointer-events:none}::slotted(calcite-shell-center-row){inline-size:unset}::slotted(.header .heading){font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal)}slot[name=panel-end]::slotted(calcite-shell-panel){margin-inline-start:auto}::slotted(calcite-panel),::slotted(calcite-flow){border-width:1px;border-inline-start-width:0px;border-inline-end-width:0px;border-style:solid;border-color:var(--calcite-color-border-3)}slot[name=center-row]::slotted(calcite-shell-center-row:not([detached])),slot[name=panel-top]::slotted(calcite-shell-center-row:not([detached])),slot[name=panel-bottom]::slotted(calcite-shell-center-row:not([detached])){border-inline-start-width:1px;border-inline-end-width:1px;border-color:var(--calcite-color-border-3)}.center-content{display:flex;flex-direction:column;justify-content:space-between;block-size:100%;inline-size:100%;min-inline-size:0}::slotted(calcite-shell-center-row){flex:none;align-self:stretch}::slotted(calcite-tip-manager){position:absolute;z-index:var(--calcite-z-index-toast);box-sizing:border-box}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}::slotted(calcite-tip-manager){animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);inset-block-end:0.5rem;inset-inline:var(--calcite-shell-tip-spacing)}slot[name=center-row]::slotted(calcite-shell-center-row),slot[name=panel-bottom]::slotted(calcite-shell-center-row){margin-block-start:auto}slot[name=panel-top]::slotted(calcite-shell-center-row){margin-block-end:auto}.position-wrapper{position:absolute;pointer-events:none;inset:0}:host([hidden]){display:none}[hidden]{display:none}";export{L as calcite_panel,P as calcite_shell}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as t,c as i,f as e,h as o,H as n,g as s}from"./p-6d753a3d.js";import{g as r,i as a,y as l,a as c}from"./p-67b26725.js";import{s as d,c as h,i as u,d as b,H as m}from"./p-229ec6a3.js";import{c as p,d as f,u as v,I as g}from"./p-9db9645e.js";import{n as x}from"./p-f50a294b.js";import{c as k,d as y,g as w}from"./p-6127f49e.js";import{a as z,s as j,c as I}from"./p-a25bbcc1.js";import{n as C,i as E,p as D,s as L,e as W,c as A,d as N,B as M}from"./p-b5bfe190.js";import{c as G}from"./p-bfd3d428.js";import{C as F}from"./p-db50226e.js";import{u as P,c as V,d as $,s as O}from"./p-2e625f11.js";import{g as S}from"./p-e6e50975.js";import{V as U}from"./p-972fd6e2.js";import{s as B}from"./p-8810ef92.js";import"./p-b85be429.js";import"./p-820d8935.js";
|
7
|
-
/*!
|
8
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
10
|
-
* v2.8.2
|
11
|
-
*/const K="number-button-item--horizontal",R="wrapper",H="number-button-item",T=class{constructor(e){t(this,e),this.calciteInternalInputNumberFocus=i(this,"calciteInternalInputNumberFocus",6),this.calciteInternalInputNumberBlur=i(this,"calciteInternalInputNumberBlur",6),this.calciteInputNumberInput=i(this,"calciteInputNumberInput",7),this.calciteInputNumberChange=i(this,"calciteInputNumberChange",6),this.previousValueOrigin="initial",this.mutationObserver=G("mutation",(()=>this.setDisabledAction())),this.userChangedValue=!1,this.keyDownHandler=t=>{this.readOnly||this.disabled||t.defaultPrevented||(this.isClearable&&"Escape"===t.key&&(this.clearInputValue(t),t.preventDefault()),"Enter"===t.key&&d(this)&&t.preventDefault())},this.clearInputValue=t=>{this.setNumberValue({committing:!0,nativeEvent:t,origin:"user",value:""})},this.emitChangeIfUserModified=()=>{"user"===this.previousValueOrigin&&this.value!==this.previousEmittedNumberValue&&(this.calciteInputNumberChange.emit(),this.setPreviousEmittedNumberValue(this.value))},this.inputNumberBlurHandler=()=>{window.clearInterval(this.nudgeNumberValueIntervalId),this.calciteInternalInputNumberBlur.emit(),this.emitChangeIfUserModified()},this.clickHandler=t=>{if(this.disabled)return;const i=r(this.el,"action");t.target!==i&&this.setFocus()},this.inputNumberFocusHandler=()=>{this.calciteInternalInputNumberFocus.emit()},this.inputNumberInputHandler=t=>{if(this.disabled||this.readOnly)return;if("Infinity"===this.value||"-Infinity"===this.value)return;const i=t.target.value;C.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator};const e=C.delocalize(i);"insertFromPaste"===t.inputType?((!E(e)||this.integer&&(e.includes("e")||e.includes(".")))&&t.preventDefault(),this.setNumberValue({nativeEvent:t,origin:"user",value:D(e)}),this.childNumberEl.value=this.displayedValue):this.setNumberValue({nativeEvent:t,origin:"user",value:e})},this.inputNumberKeyDownHandler=t=>{if(this.disabled||this.readOnly)return;if("Infinity"===this.value||"-Infinity"===this.value)return t.preventDefault(),void("Backspace"!==t.key&&"Delete"!==t.key||this.clearInputValue(t));if("ArrowUp"===t.key)return t.preventDefault(),void this.nudgeNumberValue("up",t);if("ArrowDown"===t.key)return void this.nudgeNumberValue("down",t);const i=[...x,"ArrowLeft","ArrowRight","Backspace","Delete","Enter","Escape","Tab"];if(t.altKey||t.ctrlKey||t.metaKey)return;const e=t.shiftKey&&"Tab"===t.key;if(i.includes(t.key)||e)"Enter"===t.key&&this.emitChangeIfUserModified();else{if(C.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator},t.key===C.decimal&&!this.integer){if(!this.value&&!this.childNumberEl.value)return;if(this.value&&-1===this.childNumberEl.value.indexOf(C.decimal))return}if(/[eE]/.test(t.key)&&!this.integer){if(!this.value&&!this.childNumberEl.value)return;if(this.value&&!/[eE]/.test(this.childNumberEl.value))return}if("-"===t.key){if(!this.value&&!this.childNumberEl.value)return;if(this.value&&this.childNumberEl.value.split("-").length<=2)return}t.preventDefault()}},this.nudgeNumberValue=(t,i)=>{if(i instanceof KeyboardEvent&&i.repeat)return;const e=this.maxString?parseFloat(this.maxString):null,o=this.minString?parseFloat(this.minString):null;this.incrementOrDecrementNumberValue(t,e,o,i),this.nudgeNumberValueIntervalId&&window.clearInterval(this.nudgeNumberValueIntervalId);let n=!0;this.nudgeNumberValueIntervalId=window.setInterval((()=>{n?n=!1:this.incrementOrDecrementNumberValue(t,e,o,i)}),150)},this.nudgeButtonPointerUpHandler=t=>{a(t)&&window.clearInterval(this.nudgeNumberValueIntervalId)},this.nudgeButtonPointerOutHandler=()=>{window.clearInterval(this.nudgeNumberValueIntervalId)},this.nudgeButtonPointerDownHandler=t=>{a(t)&&(t.preventDefault(),this.disabled||this.nudgeNumberValue(t.target.dataset.adjustment,t))},this.onHiddenFormInputInput=t=>{t.target.name===this.name&&this.setNumberValue({value:t.target.value,origin:"direct"}),this.setFocus(),t.stopPropagation()},this.setChildNumberElRef=t=>{this.childNumberEl=t},this.setInputNumberValue=t=>{this.childNumberEl&&(this.childNumberEl.value=t)},this.setPreviousEmittedNumberValue=t=>{this.previousEmittedNumberValue=this.normalizeValue(t)},this.setPreviousNumberValue=t=>{this.previousValue=this.normalizeValue(t)},this.setNumberValue=({committing:t=!1,nativeEvent:i,origin:e,previousValue:o,value:n})=>{var s,r;C.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator};const a=(null===(s=this.previousValue)||void 0===s?void 0:s.length)>n.length||(null===(r=this.value)||void 0===r?void 0:r.length)>n.length,l=this.integer?n.replace(/[e.]/g,""):n,c="."===l.charAt(l.length-1),d=c&&a?l:L(l),h=n&&!d?E(this.previousValue)?this.previousValue:"":d;let u=C.localize(h);"connected"===e||c||(u=W(u,h,C)),this.displayedValue=c&&a?`${u}${C.decimal}`:u,this.setPreviousNumberValue(null!=o?o:this.value),this.previousValueOrigin=e,this.userChangedValue="user"===e&&this.value!==h,this.value=["-","."].includes(h)?"":h,"direct"===e&&(this.setInputNumberValue(u),this.setPreviousEmittedNumberValue(u)),i&&(this.calciteInputNumberInput.emit().defaultPrevented?(this.value=this.previousValue,this.displayedValue=C.localize(this.previousValue)):t&&this.emitChangeIfUserModified())},this.inputNumberKeyUpHandler=()=>{window.clearInterval(this.nudgeNumberValueIntervalId)},this.alignment="start",this.autofocus=void 0,this.clearable=!1,this.disabled=!1,this.enterKeyHint=void 0,this.form=void 0,this.groupSeparator=!1,this.icon=void 0,this.iconFlipRtl=!1,this.inputMode=void 0,this.integer=!1,this.label=void 0,this.loading=!1,this.numberingSystem=void 0,this.localeFormat=!1,this.max=void 0,this.min=void 0,this.maxLength=void 0,this.minLength=void 0,this.validationMessage=void 0,this.validationIcon=void 0,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.name=void 0,this.numberButtonType="vertical",this.placeholder=void 0,this.prefixText=void 0,this.readOnly=!1,this.required=!1,this.scale="m",this.status="idle",this.step=void 0,this.autocomplete=void 0,this.suffixText=void 0,this.editingEnabled=!1,this.value="",this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale="",this.defaultMessages=void 0,this.displayedValue=void 0,this.slottedActionElDisabledInternally=!1}handleGlobalAttributesChanged(){e(this)}disabledWatcher(){this.setDisabledAction()}maxWatcher(){var t;this.maxString=(null===(t=this.max)||void 0===t?void 0:t.toString())||null}minWatcher(){var t;this.minString=(null===(t=this.min)||void 0===t?void 0:t.toString())||null}onMessagesChange(){}valueWatcher(t,i){if(!this.userChangedValue){if("Infinity"===t||"-Infinity"===t)return this.displayedValue=t,void(this.previousEmittedNumberValue=t);this.setNumberValue({origin:"direct",previousValue:i,value:null==t||""==t?"":E(t)?t:this.previousValue||""}),this.warnAboutInvalidNumberValue(t)}this.userChangedValue=!1}updateRequestedIcon(){this.requestedIcon=l({},this.icon,"number")}get isClearable(){return this.clearable&&this.value.length>0}effectiveLocaleWatcher(t){P(this,this.effectiveLocale),C.numberFormatOptions={locale:t,numberingSystem:this.numberingSystem,useGrouping:!1}}connectedCallback(){var t;p(this),A(this),V(this),this.inlineEditableEl=this.el.closest("calcite-inline-editable"),this.inlineEditableEl&&(this.editingEnabled=this.inlineEditableEl.editingEnabled||!1),k(this),h(this),null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0}),this.setDisabledAction(),this.el.addEventListener(u,this.onHiddenFormInputInput)}componentDidLoad(){z(this)}disconnectedCallback(){var t;f(this),y(this),b(this),N(this),$(this),null===(t=this.mutationObserver)||void 0===t||t.disconnect(),this.el.removeEventListener(u,this.onHiddenFormInputInput)}async componentWillLoad(){var t,i;j(this),this.maxString=null===(t=this.max)||void 0===t?void 0:t.toString(),this.minString=null===(i=this.min)||void 0===i?void 0:i.toString(),this.requestedIcon=l({},this.icon,"number"),await O(this),this.setPreviousEmittedNumberValue(this.value),this.setPreviousNumberValue(this.value),this.warnAboutInvalidNumberValue(this.value),"Infinity"===this.value||"-Infinity"===this.value?(this.displayedValue=this.value,this.previousEmittedNumberValue=this.value):this.setNumberValue({origin:"connected",value:E(this.value)?this.value:""})}componentShouldUpdate(t,i,e){return!("value"===e&&t&&!E(t)&&(this.setNumberValue({origin:"reset",value:i}),1))}componentDidRender(){v(this)}async setFocus(){var t;await I(this),null===(t=this.childNumberEl)||void 0===t||t.focus()}async selectText(){var t;null===(t=this.childNumberEl)||void 0===t||t.select()}onLabelClick(){this.setFocus()}incrementOrDecrementNumberValue(t,i,e,o){const{value:n}=this;if("Infinity"===n||"-Infinity"===n)return;const s="up"===t?1:-1,r=this.integer&&"any"!==this.step?Math.round(this.step):this.step,a="any"===r?1:Math.abs(r||1),l=new M(""!==n?n:"0").add(""+a*s),c="number"==typeof e&&!isNaN(e)&&l.subtract(`${e}`).isNegative?`${e}`:"number"!=typeof i||isNaN(i)||l.subtract(`${i}`).isNegative?l.toString():`${i}`;this.setNumberValue({committing:!0,nativeEvent:o,origin:"user",value:c})}syncHiddenFormInput(t){B("number",this,t)}setDisabledAction(){const t=r(this.el,"action");t&&(this.disabled?(null==t.getAttribute("disabled")&&(this.slottedActionElDisabledInternally=!0),t.setAttribute("disabled","")):this.slottedActionElDisabledInternally&&(t.removeAttribute("disabled"),this.slottedActionElDisabledInternally=!1))}normalizeValue(t){return E(t)?t:""}warnAboutInvalidNumberValue(t){t&&!E(t)&&console.warn(`The specified value "${t}" cannot be parsed, or is out of range.`)}render(){const t=c(this.el),i=o("div",{key:"fab2666adcf8baf1fc6580cb287668f171f0afbb",class:"loader"},o("calcite-progress",{key:"03c73149b1548ad5b02e28ed9111fe07ec4742e2",label:this.messages.loading,type:"indeterminate"})),e=o("button",{key:"235835dd4bc67454ae87548fd69f596b203e0014","aria-label":this.messages.clear,class:"clear-button",disabled:this.disabled||this.readOnly,onClick:this.clearInputValue,tabIndex:-1,type:"button"},o("calcite-icon",{key:"1255f76c49bb9c0cc26f3cfbf948471d904f709e",icon:"x",scale:S(this.scale)})),s=o("calcite-icon",{key:"c08a14c7003e586f1b7a17e01c35c722455e7276",class:"icon",flipRtl:this.iconFlipRtl,icon:this.requestedIcon,scale:S(this.scale)}),r="horizontal"===this.numberButtonType,a=o("button",{key:"cc75dbe00e2b3f892070dd7be2ac3c9f4b56cf28","aria-hidden":"true",class:{[H]:!0,[K]:r},"data-adjustment":"up",disabled:this.disabled||this.readOnly,onPointerDown:this.nudgeButtonPointerDownHandler,onPointerOut:this.nudgeButtonPointerOutHandler,onPointerUp:this.nudgeButtonPointerUpHandler,tabIndex:-1,type:"button"},o("calcite-icon",{key:"1713a9e47e2713ecfb65e9957b8da94ad090dad2",icon:"chevron-up",scale:S(this.scale)})),l=o("button",{key:"7c82850c77354a92bfa48d5f85cb0f5fa2f066d7","aria-hidden":"true",class:{[H]:!0,[K]:r},"data-adjustment":"down",disabled:this.disabled||this.readOnly,onPointerDown:this.nudgeButtonPointerDownHandler,onPointerOut:this.nudgeButtonPointerOutHandler,onPointerUp:this.nudgeButtonPointerUpHandler,tabIndex:-1,type:"button"},o("calcite-icon",{key:"a155879a7bfcdb4534334d5534f5a837562e0688",icon:"chevron-down",scale:S(this.scale)})),d=o("div",{key:"25e3626b8915e798fe5dd8ecc44289c515565a81",class:"number-button-wrapper"},a,l),h=o("div",{key:"6fe6cdc9b0ce6d39c177047a91ff312a24a99a96",class:"prefix"},this.prefixText),u=o("div",{key:"849efbf098bc6da8afa1de6c445f17e0d4dc1aa2",class:"suffix"},this.suffixText),b=o("input",{"aria-label":w(this),autocomplete:this.autocomplete,autofocus:!!this.el.autofocus||null,defaultValue:this.defaultValue,disabled:!!this.disabled||null,enterKeyHint:this.el.enterKeyHint||this.el.getAttribute("enterkeyhint"),inputMode:this.el.inputMode||this.el.getAttribute("inputmode"),key:"localized-input",maxLength:this.maxLength,minLength:this.minLength,name:void 0,onBlur:this.inputNumberBlurHandler,onFocus:this.inputNumberFocusHandler,onInput:this.inputNumberInputHandler,onKeyDown:this.inputNumberKeyDownHandler,onKeyUp:this.inputNumberKeyUpHandler,placeholder:this.placeholder||"",readOnly:this.readOnly,type:"text",value:this.displayedValue,ref:this.setChildNumberElRef});return o(n,{key:"2c6939b012ccd0fa9f27bf13bb765c35d1752cec",onClick:this.clickHandler,onKeyDown:this.keyDownHandler},o(g,{key:"b1bdb7fe28d7b89b7b08188c3dd65000720b616a",disabled:this.disabled},o("div",{key:"d7f11dcadb05026dcb5e197608703d4a53404075",class:{[R]:!0,[F.rtl]:"rtl"===t}},"horizontal"!==this.numberButtonType||this.readOnly?null:l,this.prefixText?h:null,o("div",{key:"d9e1a655f0078ad7e3a3227cbc70e906d66e0a49",class:"element-wrapper"},b,this.isClearable?e:null,this.requestedIcon?s:null,this.loading?i:null),o("div",{key:"25dfa18491488c5448adfefe87ba3f69c7930c1a",class:"action-wrapper"},o("slot",{key:"500f1b272811d6c4c003afb40f5d7c0a0a222355",name:"action"})),"vertical"!==this.numberButtonType||this.readOnly?null:d,this.suffixText?u:null,"horizontal"!==this.numberButtonType||this.readOnly?null:a,o(m,{key:"9b3e051eadfff57ed9f4dd14cb3e50c1830b560b",component:this})),this.validationMessage&&"invalid"===this.status?o(U,{icon:this.validationIcon,message:this.validationMessage,scale:this.scale,status:this.status}):null))}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{autofocus:["handleGlobalAttributesChanged"],enterkeyhint:["handleGlobalAttributesChanged"],inputmode:["handleGlobalAttributesChanged"],disabled:["disabledWatcher"],max:["maxWatcher"],min:["minWatcher"],messageOverrides:["onMessagesChange"],value:["valueWatcher"],icon:["updateRequestedIcon"],effectiveLocale:["effectiveLocaleWatcher"]}}};T.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-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:0.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:0.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:0px;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:0px;background-color:var(--calcite-color-foreground-1);font-family:inherit;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-1)}input:-moz-placeholder-shown{text-overflow:ellipsis}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-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}: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(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host([scale=s]) .icon{inset-inline-start:0.5rem}:host([scale=m]) .icon{inset-inline-start:0.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: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 var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.clear-button{pointer-events:initial;order:4;margin:0px;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: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 var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.clear-button:hover calcite-icon{color:var(--calcite-color-text-1);transition: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 var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.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-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.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;-moz-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}.suffix{order:5;border-inline-start-width:0px}: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: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 var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}: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:0px;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:0.5rem;transition: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 var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-inline-start-width:0px}.number-button-item calcite-icon{pointer-events:none;transition: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 var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.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: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 var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}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:0.5rem}:host([scale=s]) .validation-container{padding-block-start:0.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}";export{T as calcite_input_number}
|