@esri/solutions-components 0.8.36 → 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 +10 -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 +2 -2
- 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 +14 -12
- 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 +33 -20
- 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 +3 -3
- 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/floor-filter/floor-filter.js +8 -0
- package/dist/collection/components/map-select-tools/map-select-tools.js +21 -3
- package/dist/collection/components/public-notification/public-notification.js +42 -12
- package/dist/collection/components/refine-selection/refine-selection.js +19 -1
- 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/floor-filter2.js +8 -0
- 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/map-select-tools2.js +5 -3
- package/dist/components/mapViewUtils.js +2 -0
- package/dist/components/mode.js +6 -6
- package/dist/components/public-notification.js +26 -12
- package/dist/components/refine-selection2.js +3 -1
- 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 +11 -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 +3 -3
- 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 +15 -13
- 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 +34 -21
- 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 +4 -4
- 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/components/floor-filter/floor-filter.d.ts +4 -0
- package/dist/types/components/map-select-tools/map-select-tools.d.ts +4 -0
- package/dist/types/components/public-notification/public-notification.d.ts +4 -0
- package/dist/types/components/refine-selection/refine-selection.d.ts +4 -0
- package/dist/types/components.d.ts +24 -0
- 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-061da95a.entry.js +0 -6
- 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-6e260ca3.entry.js +0 -6
- 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-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-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-bda54b12.entry.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-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
@@ -0,0 +1,47 @@
|
|
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-fa1ceaf9.js";import{c,d as r}from"./p-27c68097.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-813d004f.js";import{c as k}from"./p-ebf59857.js";import{c as z,s as C,d as T,u as I}from"./p-44bfa87d.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-e6c9e6af.js";import{c as D,d as W,I as E,u as F}from"./p-9c6c056a.js";import{g as R}from"./p-e6e50975.js";import{s as $,a as M,c as N}from"./p-8ed6ce4d.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-7822e93b.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-c9b22653.js";import{s as ft}from"./p-946ee345.js";import{d as vt}from"./p-c1cf3ebc.js";import{E as mt}from"./p-d27ab863.js";import"./p-a230b270.js";import"./p-f50a294b.js";import"./p-b64cc55e.js";import"./p-21fd2b18.js";import"./p-23059533.js";import"./p-c8d3207e.js";import"./p-c4160bf7.js";import"./p-8c6d9b5a.js";import"./p-7996f123.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);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}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as e,f as t,h as n,g as i,c as a}from"./p-fa1ceaf9.js";import{l as s}from"./p-d029b513.js";import{g as c,i as r,r as l,t as o,w as p,n as d,x as v,y as g,l as h,v as m}from"./p-bf27cd5f.js";import"./p-c4160bf7.js";import"./p-8c6d9b5a.js";const f=class{constructor(t){e(this,t),this.showTotal=!1,this.legendvm=void 0,this.activeLayerInfo=void 0,this.categoryId=void 0,this.infoIndex=void 0,this.messages=void 0,this.selected=void 0,this.legendElement=void 0}async componentWillLoad(){new MutationObserver((()=>{t(this.el)})).observe(this.el,{attributes:!0});const[e]=await s(["esri/intl","esri/core/reactiveUtils","esri/core/Handles"]);this.intl=e}render(){var e;return n("div",{key:"int-legend-count"},this.showTotal?n("span",null,null===(e=this.messages)||void 0===e?void 0:e.totalFeatureCount,": ",this.getTotalFeatureCount()):n("span",{key:"element-info-count",class:` instant-apps-interactive-legend__info-count-text ${c(this.el)}${this.selected?" instant-apps-interactive-legend__info-count-text--selected":""}`},this.getCount()))}getCount(){var e,t;const{categoryId:n}=this,i=this.activeLayerInfo.layer.id,a=null===(t=null===(e=r.data[i])||void 0===e?void 0:e.categories)||void 0===t?void 0:t.size;if(!(r.data&&i&&n||a))return"";const s=r.data[i];if(!s)return;const{categories:c}=s,l=c.get(n);let o;return o=(null==l?void 0:l.nestedInfos)?g(l,this.infoIndex):l,isNaN(null==o?void 0:o.count)?"":this.intl.formatNumber(o.count)}getTotalFeatureCount(){const e=this.activeLayerInfo.layer.id;if(!r.data||!e)return"";const t=r.data[e];if(!t)return;const{categories:n}=t,i=l(n);let a;if(o(n))a=p(i);else if(d(this.activeLayerInfo)){const e=h(this.activeLayerInfo.layer);a=l(e.categories)[1].count}else a=v(i);return this.intl.formatNumber(a)}get el(){return i(this)}};f.style=".sc-instant-apps-interactive-legend-count-h{display:flex;align-items:center}.instant-apps-interactive-legend__info-count-text.sc-instant-apps-interactive-legend-count{font-size:var(--instant-apps-interactive-legend-info-font-size);color:var(--instant-apps-interactive-legend-secondary-color)}.calcite-mode-dark.instant-apps-interactive-legend__info-count-text.instant-apps-interactive-legend__info-count-text--selected.sc-instant-apps-interactive-legend-count{color:var(--calcite-color-text-inverse)}html[dir=rtl] .sc-instant-apps-interactive-legend-count-h{margin-left:0;margin-right:auto}";const u=class{constructor(t){e(this,t),this.layerCaptionElementExpandUpdatedEvent=a(this,"layerCaptionElementExpandUpdated",7),this.legendvm=void 0,this.featureCount=void 0,this.activeLayerInfo=void 0,this.messages=void 0,this.isChild=!1,this.expanded=!0}render(){var e,t,i,a;const s=m(this.activeLayerInfo),{expanded:r}=this,l=r?null===(e=this.messages)||void 0===e?void 0:e.collapse:null===(t=this.messages)||void 0===t?void 0:t.expand,o=this.isChild?" instant-apps-interactive-legend__heading-text--group-item":"";return n("header",{key:"3e8966360930dd6fbfc0bf3b822704922263f1fa",class:`instant-apps-interactive-legend__header ${c(this.el)}`},n("calcite-action",{key:"c12b32be05c449b5a915d813ae8dd5d8b0a22457",onClick:this.toggleExpanded(),icon:r?"chevron-down":"chevron-up",appearance:"transparent",text:l,label:l,scale:"s"}),n("span",{key:"baba497877c870983107258ef3497950021c3a1a"},n("span",{key:"495b24d9fc1237f9cd841451513a5e2b272ae467",class:"instant-apps-interactive-legend__header-action-container"},n("h3",{key:"dfbb8e1c08b6ce0bac789e983977c284a2b7efb3",class:`esri-widget__heading esri-legend__service-label${o}`,title:null===(i=this.activeLayerInfo)||void 0===i?void 0:i.title},null===(a=this.activeLayerInfo)||void 0===a?void 0:a.title)),this.featureCount&&s?n("instant-apps-interactive-legend-count",{activeLayerInfo:this.activeLayerInfo,"show-total":!0,messages:this.messages,legendvm:this.legendvm}):null))}toggleExpanded(){return()=>{this.expanded=!this.expanded,this.layerCaptionElementExpandUpdatedEvent.emit(this.expanded)}}get el(){return i(this)}};u.style=".sc-instant-apps-interactive-legend-layer-element-caption-h{display:block;--instant-apps-interactive-legend-heading-font-size:1rem;--instant-apps-interactive-legend-heading-font-weight:normal;--instant-apps-interactive-legend-secondary-color:var(--calcite-color-text-1);--instant-apps-interactive-legend-ui-padding:15px 10px}.sc-instant-apps-interactive-legend-layer-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-layer-element-caption{overflow:hidden;margin:0;overflow-x:hidden;display:inline-block;font-size:var(--instant-apps-interactive-legend-heading-font-size);font-weight:var(--instant-apps-interactive-legend-heading-font-weight)}.sc-instant-apps-interactive-legend-layer-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-layer-element-caption header.sc-instant-apps-interactive-legend-layer-element-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption{display:flex;text-align:left;padding:var(--instant-apps-interactive-legend-ui-padding);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption h3.sc-instant-apps-interactive-legend-layer-element-caption{margin-bottom:0;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;line-height:normal;color:var(--instant-apps-interactive-legend-secondary-color);margin-bottom:5px}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption .instant-apps-interactive-legend__heading-text--group-item.sc-instant-apps-interactive-legend-layer-element-caption{-webkit-line-clamp:2;line-clamp:2}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption span.sc-instant-apps-interactive-legend-layer-element-caption{width:100%;font-size:var(--instant-apps-interactive-legend-total-feature-count-font-size);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption .instant-apps-interactive-legend__header-action-container.sc-instant-apps-interactive-legend-layer-element-caption{display:flex;align-items:center}.sc-instant-apps-interactive-legend-layer-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-layer-element-caption header.sc-instant-apps-interactive-legend-layer-element-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-layer-element-caption-h .esri-widget--panel.sc-instant-apps-interactive-legend-layer-element-caption{margin:0}.calcite-mode-dark.sc-instant-apps-interactive-legend-layer-element-caption-h .instant-apps-interactive-legend__header.sc-instant-apps-interactive-legend-layer-element-caption{background-color:#242424;color:var(--calcite-color-text-1)}.calcite-mode-light.sc-instant-apps-interactive-legend-layer-element-caption-h .instant-apps-interactive-legend__header.sc-instant-apps-interactive-legend-layer-element-caption{background-color:#ffffff;color:var(--calcite-color-text-1)}";export{f as instant_apps_interactive_legend_count,u as instant_apps_interactive_legend_layer_element_caption}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,c as i,h as e,H as s,g as n}from"./p-fa1ceaf9.js";import{s as r,c as a,d as o,H as c}from"./p-716a0878.js";import{g as h}from"./p-b85be429.js";import{c as u,d,u as l,I as f}from"./p-9c6c056a.js";import{n as m}from"./p-f50a294b.js";import{c as p,d as v,g}from"./p-6127f49e.js";import{c as b,s as M,a as y}from"./p-8ed6ce4d.js";import{n as D,g as S,c as Y,d as j}from"./p-813d004f.js";import{d as k,a as w,c as L}from"./p-97f0e1b6.js";import{l as T,t as H,i as A,f as _,a as C}from"./p-a89e61f4.js";import{c as x,s as O,d as $}from"./p-44bfa87d.js";import{o as I}from"./p-ba569f8b.js";import{d as P}from"./p-ebf59857.js";import{g as F}from"./p-e6e50975.js";import{V as W}from"./p-5f1fdaf9.js";var z=6e4,Z=36e5,E="millisecond",B="second",N="minute",R="hour",J="day",U="week",X="month",q="quarter",G="year",K="date",Q="YYYY-MM-DDTHH:mm:ssZ",V="Invalid Date",tt=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,it=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g;const et={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var i=["th","st","nd","rd"],e=t%100;return"["+t+(i[(e-20)%10]||i[e]||i[0])+"]"}},st=Object.freeze({__proto__:null,default:et});var nt=function(t,i,e){var s=String(t);return!s||s.length>=i?t:""+Array(i+1-s.length).join(e)+t};const rt={s:nt,z:function(t){var i=-t.utcOffset(),e=Math.abs(i),s=Math.floor(e/60),n=e%60;return(i<=0?"+":"-")+nt(s,2,"0")+":"+nt(n,2,"0")},m:function t(i,e){if(i.date()<e.date())return-t(e,i);var s=12*(e.year()-i.year())+(e.month()-i.month()),n=i.clone().add(s,X),r=e-n<0,a=i.clone().add(s+(r?-1:1),X);return+(-(s+(e-n)/(r?n-a:a-n))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:X,y:G,w:U,d:J,D:K,h:R,m:N,s:B,ms:E,Q:q}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}};var at="en",ot={};ot[at]=et;var ct="$isDayjsObject",ht=function(t){return t instanceof ft||!(!t||!t[ct])},ut=function t(i,e,s){var n;if(!i)return at;if("string"==typeof i){var r=i.toLowerCase();ot[r]&&(n=r),e&&(ot[r]=e,n=r);var a=i.split("-");if(!n&&a.length>1)return t(a[0])}else{var o=i.name;ot[o]=i,n=o}return!s&&n&&(at=n),n||!s&&at},dt=function(t,i){if(ht(t))return t.clone();var e="object"==typeof i?i:{};return e.date=t,e.args=arguments,new ft(e)},lt=rt;lt.l=ut,lt.i=ht,lt.w=function(t,i){return dt(t,{locale:i.$L,utc:i.$u,x:i.$x,$offset:i.$offset})};var ft=function(){function t(t){this.$L=ut(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[ct]=!0}var i=t.prototype;return i.parse=function(t){this.$d=function(t){var i=t.date,e=t.utc;if(null===i)return new Date(NaN);if(lt.u(i))return new Date;if(i instanceof Date)return new Date(i);if("string"==typeof i&&!/Z$/i.test(i)){var s=i.match(tt);if(s){var n=s[2]-1||0,r=(s[7]||"0").substring(0,3);return e?new Date(Date.UTC(s[1],n,s[3]||1,s[4]||0,s[5]||0,s[6]||0,r)):new Date(s[1],n,s[3]||1,s[4]||0,s[5]||0,s[6]||0,r)}}return new Date(i)}(t),this.init()},i.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},i.$utils=function(){return lt},i.isValid=function(){return!(this.$d.toString()===V)},i.isSame=function(t,i){var e=dt(t);return this.startOf(i)<=e&&e<=this.endOf(i)},i.isAfter=function(t,i){return dt(t)<this.startOf(i)},i.isBefore=function(t,i){return this.endOf(i)<dt(t)},i.$g=function(t,i,e){return lt.u(t)?this[i]:this.set(e,t)},i.unix=function(){return Math.floor(this.valueOf()/1e3)},i.valueOf=function(){return this.$d.getTime()},i.startOf=function(t,i){var e=this,s=!!lt.u(i)||i,n=lt.p(t),r=function(t,i){var n=lt.w(e.$u?Date.UTC(e.$y,i,t):new Date(e.$y,i,t),e);return s?n:n.endOf(J)},a=function(t,i){return lt.w(e.toDate()[t].apply(e.toDate("s"),(s?[0,0,0,0]:[23,59,59,999]).slice(i)),e)},o=this.$W,c=this.$M,h=this.$D,u="set"+(this.$u?"UTC":"");switch(n){case G:return s?r(1,0):r(31,11);case X:return s?r(1,c):r(0,c+1);case U:var d=this.$locale().weekStart||0,l=(o<d?o+7:o)-d;return r(s?h-l:h+(6-l),c);case J:case K:return a(u+"Hours",0);case R:return a(u+"Minutes",1);case N:return a(u+"Seconds",2);case B:return a(u+"Milliseconds",3);default:return this.clone()}},i.endOf=function(t){return this.startOf(t,!1)},i.$set=function(t,i){var e,s=lt.p(t),n="set"+(this.$u?"UTC":""),r=(e={},e[J]=n+"Date",e[K]=n+"Date",e[X]=n+"Month",e[G]=n+"FullYear",e[R]=n+"Hours",e[N]=n+"Minutes",e[B]=n+"Seconds",e[E]=n+"Milliseconds",e)[s],a=s===J?this.$D+(i-this.$W):i;if(s===X||s===G){var o=this.clone().set(K,1);o.$d[r](a),o.init(),this.$d=o.set(K,Math.min(this.$D,o.daysInMonth())).$d}else r&&this.$d[r](a);return this.init(),this},i.set=function(t,i){return this.clone().$set(t,i)},i.get=function(t){return this[lt.p(t)]()},i.add=function(t,i){var e,s=this;t=Number(t);var n=lt.p(i),r=function(i){var e=dt(s);return lt.w(e.date(e.date()+Math.round(i*t)),s)};if(n===X)return this.set(X,this.$M+t);if(n===G)return this.set(G,this.$y+t);if(n===J)return r(1);if(n===U)return r(7);var a=(e={},e[N]=z,e[R]=Z,e[B]=1e3,e)[n]||1,o=this.$d.getTime()+t*a;return lt.w(o,this)},i.subtract=function(t,i){return this.add(-1*t,i)},i.format=function(t){var i=this,e=this.$locale();if(!this.isValid())return e.invalidDate||V;var s=t||Q,n=lt.z(this),r=this.$H,a=this.$m,o=this.$M,c=e.weekdays,h=e.months,u=function(t,e,n,r){return t&&(t[e]||t(i,s))||n[e].slice(0,r)},d=function(t){return lt.s(r%12||12,t,"0")},l=e.meridiem||function(t,i,e){var s=t<12?"AM":"PM";return e?s.toLowerCase():s};return s.replace(it,(function(t,s){return s||function(t){switch(t){case"YY":return String(i.$y).slice(-2);case"YYYY":return lt.s(i.$y,4,"0");case"M":return o+1;case"MM":return lt.s(o+1,2,"0");case"MMM":return u(e.monthsShort,o,h,3);case"MMMM":return u(h,o);case"D":return i.$D;case"DD":return lt.s(i.$D,2,"0");case"d":return String(i.$W);case"dd":return u(e.weekdaysMin,i.$W,c,2);case"ddd":return u(e.weekdaysShort,i.$W,c,3);case"dddd":return c[i.$W];case"H":return String(r);case"HH":return lt.s(r,2,"0");case"h":return d(1);case"hh":return d(2);case"a":return l(r,a,!0);case"A":return l(r,a,!1);case"m":return String(a);case"mm":return lt.s(a,2,"0");case"s":return String(i.$s);case"ss":return lt.s(i.$s,2,"0");case"SSS":return lt.s(i.$ms,3,"0");case"Z":return n}return null}(t)||n.replace(":","")}))},i.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},i.diff=function(t,i,e){var s,n=this,r=lt.p(i),a=dt(t),o=(a.utcOffset()-this.utcOffset())*z,c=this-a,h=function(){return lt.m(n,a)};switch(r){case G:s=h()/12;break;case X:s=h();break;case q:s=h()/3;break;case U:s=(c-o)/6048e5;break;case J:s=(c-o)/864e5;break;case R:s=c/Z;break;case N:s=c/z;break;case B:s=c/1e3;break;default:s=c}return e?s:lt.a(s)},i.daysInMonth=function(){return this.endOf(X).$D},i.$locale=function(){return ot[this.$L]},i.locale=function(t,i){if(!t)return this.$L;var e=this.clone(),s=ut(t,i,!0);return s&&(e.$L=s),e},i.clone=function(){return lt.w(this.$d,this)},i.toDate=function(){return new Date(this.valueOf())},i.toJSON=function(){return this.isValid()?this.toISOString():null},i.toISOString=function(){return this.$d.toISOString()},i.toString=function(){return this.$d.toUTCString()},t}(),mt=ft.prototype;dt.prototype=mt,[["$ms",E],["$s",B],["$m",N],["$H",R],["$W",J],["$M",X],["$y",G],["$D",K]].forEach((function(t){mt[t[1]]=function(i){return this.$g(i,t[0],t[1])}})),dt.extend=function(t,i){return t.$i||(t(i,ft,dt),t.$i=!0),dt},dt.locale=ut,dt.isDayjs=ht,dt.unix=function(t){return dt(1e3*t)},dt.en=ot[at],dt.Ls=ot,dt.p={};var pt=function(t){return t.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(t,i,e){return i||e.slice(1)}))},vt={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},gt=function(t,i){return t.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,e,s){var n=s&&s.toUpperCase();return e||i[s]||vt[s]||pt(i[n])}))},bt=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,Mt=/\d\d/,yt=/\d\d?/,Dt=/\d*[^-_:/,()\s\d]+/,St={},Yt=function(t){return(t=+t)+(t>68?1900:2e3)},jt=function(t){return function(i){this[t]=+i}},kt=[/[+-]\d\d:?(\d\d)?|Z/,function(t){(this.zone||(this.zone={})).offset=function(t){if(!t)return 0;if("Z"===t)return 0;var i=t.match(/([+-]|\d\d)/g),e=60*i[1]+(+i[2]||0);return 0===e?0:"+"===i[0]?-e:e}(t)}],wt=function(t){var i=St[t];return i&&(i.indexOf?i:i.s.concat(i.f))},Lt=function(t,i){var e,s=St.meridiem;if(s){for(var n=1;n<=24;n+=1)if(t.indexOf(s(n,0,i))>-1){e=n>12;break}}else e=t===(i?"pm":"PM");return e},Tt={A:[Dt,function(t){this.afternoon=Lt(t,!1)}],a:[Dt,function(t){this.afternoon=Lt(t,!0)}],S:[/\d/,function(t){this.milliseconds=100*+t}],SS:[Mt,function(t){this.milliseconds=10*+t}],SSS:[/\d{3}/,function(t){this.milliseconds=+t}],s:[yt,jt("seconds")],ss:[yt,jt("seconds")],m:[yt,jt("minutes")],mm:[yt,jt("minutes")],H:[yt,jt("hours")],h:[yt,jt("hours")],HH:[yt,jt("hours")],hh:[yt,jt("hours")],D:[yt,jt("day")],DD:[Mt,jt("day")],Do:[Dt,function(t){var i=St.ordinal,e=t.match(/\d+/);if(this.day=e[0],i)for(var s=1;s<=31;s+=1)i(s).replace(/\[|\]/g,"")===t&&(this.day=s)}],M:[yt,jt("month")],MM:[Mt,jt("month")],MMM:[Dt,function(t){var i=wt("months"),e=(wt("monthsShort")||i.map((function(t){return t.slice(0,3)}))).indexOf(t)+1;if(e<1)throw new Error;this.month=e%12||e}],MMMM:[Dt,function(t){var i=wt("months").indexOf(t)+1;if(i<1)throw new Error;this.month=i%12||i}],Y:[/[+-]?\d+/,jt("year")],YY:[Mt,function(t){this.year=Yt(t)}],YYYY:[/\d{4}/,jt("year")],Z:kt,ZZ:kt};const Ht=new Map([["ar",()=>import("./p-bac8a4cd.js")],["bg",()=>import("./p-0a053ed7.js")],["bs",()=>import("./p-4b85c3dc.js")],["ca",()=>import("./p-ada34f83.js")],["cs",()=>import("./p-c96bde1d.js")],["da",()=>import("./p-97421bb9.js")],["de",()=>import("./p-55730588.js")],["de-at",()=>import("./p-b5c88983.js")],["de-ch",()=>import("./p-4fbd1a02.js")],["el",()=>import("./p-37e2754a.js")],["en",()=>Promise.resolve().then((function(){return st}))],["en-au",()=>import("./p-61dcdc62.js")],["en-ca",()=>import("./p-7fea6d8a.js")],["en-gb",()=>import("./p-1983d6e8.js")],["es",()=>import("./p-f480b275.js")],["es-mx",()=>import("./p-28fd26ed.js")],["et",()=>import("./p-2b4e50ed.js")],["fi",()=>import("./p-2d99bd61.js")],["fr",()=>import("./p-69db1e2c.js")],["fr-ch",()=>import("./p-ee309d0b.js")],["he",()=>import("./p-74dbad36.js")],["hi",()=>import("./p-01ba6099.js")],["hr",()=>import("./p-9271710d.js")],["hu",()=>import("./p-9a7e00b8.js")],["id",()=>import("./p-7773d8ea.js")],["it",()=>import("./p-50aa0e5a.js")],["it-ch",()=>import("./p-d11d941c.js")],["ja",()=>import("./p-e528c321.js")],["ko",()=>import("./p-15e08453.js")],["lt",()=>import("./p-ab8039f5.js")],["lv",()=>import("./p-6bf91f6e.js")],["mk",()=>import("./p-03178c37.js")],["nl",()=>import("./p-90e3ce7f.js")],["nb",()=>import("./p-7638ce3d.js")],["pl",()=>import("./p-9088fa3a.js")],["pt",()=>import("./p-ee7f7c24.js")],["pt-br",()=>import("./p-5ed825c4.js")],["ro",()=>import("./p-9377260c.js")],["ru",()=>import("./p-ef54f211.js")],["sk",()=>import("./p-45db29e2.js")],["sl",()=>import("./p-465fbfc2.js")],["sr",()=>import("./p-7388563d.js")],["sv",()=>import("./p-b77b6c26.js")],["th",()=>import("./p-fc9a49db.js")],["tr",()=>import("./p-293d376c.js")],["uk",()=>import("./p-2e401f51.js")],["vi",()=>import("./p-7efcfb47.js")],["zh-cn",()=>import("./p-7a646a97.js")],["zh-hk",()=>import("./p-b25e8339.js")],["zh-tw",()=>import("./p-f163a137.js")]]);dt.extend((function(t,i,e){e.p.customParseFormat=!0,t&&t.parseTwoDigitYear&&(Yt=t.parseTwoDigitYear);var s=i.prototype,n=s.parse;s.parse=function(t){var i=t.date,s=t.utc,r=t.args;this.$u=s;var a=r[1];if("string"==typeof a){var o=!0===r[2],c=!0===r[3],h=o||c,u=r[2];c&&(u=r[2]),St=this.$locale(),!o&&u&&(St=e.Ls[u]),this.$d=function(t,i,e){try{if(["x","X"].indexOf(i)>-1)return new Date(("X"===i?1e3:1)*t);var s=function(t){for(var i=(t=gt(t,St&&St.formats)).match(bt),e=i.length,s=0;s<e;s+=1){var n=i[s],r=Tt[n],a=r&&r[1];i[s]=a?{regex:r&&r[0],parser:a}:n.replace(/^\[|\]$/g,"")}return function(t){for(var s={},n=0,r=0;n<e;n+=1){var a=i[n];if("string"==typeof a)r+=a.length;else{var o=a.regex,c=a.parser,h=t.slice(r),u=o.exec(h)[0];c.call(s,u),t=t.replace(u,"")}}return function(t){var i=t.afternoon;if(void 0!==i){var e=t.hours;i?e<12&&(t.hours+=12):12===e&&(t.hours=0),delete t.afternoon}}(s),s}}(i),n=s(t),r=n.year,a=n.month,o=n.day,c=n.hours,h=n.minutes,u=n.seconds,d=n.milliseconds,l=n.zone,f=new Date,m=o||(r||a?1:f.getDate()),p=r||f.getFullYear(),v=0;r&&!a||(v=a>0?a-1:f.getMonth());var g=c||0,b=h||0,M=u||0,y=d||0;return l?new Date(Date.UTC(p,v,m,g,b,M,y+60*l.offset*1e3)):e?new Date(Date.UTC(p,v,m,g,b,M,y)):new Date(p,v,m,g,b,M,y)}catch(t){return new Date("")}}(i,a,s),this.init(),u&&!0!==u&&(this.$L=this.locale(u).$L),h&&i!=this.format(a)&&(this.$d=new Date("")),St={}}else if(a instanceof Array)for(var d=a.length,l=1;l<=d;l+=1){r[1]=a[l-1];var f=e.apply(this,r);if(f.isValid()){this.$d=f.$d,this.$L=f.$L,this.init();break}l===d&&(this.$d=new Date(""))}else n.call(this,t)}})),dt.extend((function(t,i,e){var s=function(t){return t&&(t.indexOf?t:t.s)},n=function(t,i,e,n,r){var a=t.name?t:t.$locale(),o=s(a[i]),c=s(a[e]),h=o||c.map((function(t){return t.slice(0,n)}));if(!r)return h;var u=a.weekStart;return h.map((function(t,i){return h[(i+(u||0))%7]}))},r=function(){return e.Ls[e.locale()]},a=function(t,i){return t.formats[i]||pt(t.formats[i.toUpperCase()])},o=function(){var t=this;return{months:function(i){return i?i.format("MMMM"):n(t,"months")},monthsShort:function(i){return i?i.format("MMM"):n(t,"monthsShort","months",3)},firstDayOfWeek:function(){return t.$locale().weekStart||0},weekdays:function(i){return i?i.format("dddd"):n(t,"weekdays")},weekdaysMin:function(i){return i?i.format("dd"):n(t,"weekdaysMin","weekdays",2)},weekdaysShort:function(i){return i?i.format("ddd"):n(t,"weekdaysShort","weekdays",3)},longDateFormat:function(i){return a(t.$locale(),i)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};i.prototype.localeData=function(){return o.bind(this)()},e.localeData=function(){var t=r();return{firstDayOfWeek:function(){return t.weekStart||0},weekdays:function(){return e.weekdays()},weekdaysShort:function(){return e.weekdaysShort()},weekdaysMin:function(){return e.weekdaysMin()},months:function(){return e.months()},monthsShort:function(){return e.monthsShort()},longDateFormat:function(i){return a(t,i)},meridiem:t.meridiem,ordinal:t.ordinal}},e.months=function(){return n(r(),"months")},e.monthsShort=function(){return n(r(),"monthsShort","months",3)},e.weekdays=function(t){return n(r(),"weekdays",null,null,t)},e.weekdaysShort=function(t){return n(r(),"weekdaysShort","weekdays",3,t)},e.weekdaysMin=function(t){return n(r(),"weekdaysMin","weekdays",2,t)}})),dt.extend((function(t,i,e){var s=i.prototype,n=s.format;e.en.formats=vt,s.format=function(t){void 0===t&&(t=Q);var i=this.$locale().formats,e=gt(t,void 0===i?{}:i);return n.call(this,e)}})),dt.extend((function(t,i){var e=i.prototype.parse;i.prototype.parse=function(t){if("string"==typeof t.date){var i=this.$locale();t.date=i&&i.preparse?i.preparse(t.date):t.date}return e.bind(this)(t)};var s=i.prototype.format;i.prototype.format=function(){for(var t=arguments.length,i=new Array(t),e=0;e<t;e++)i[e]=arguments[e];var n=s.call.apply(s,[this].concat(i)),r=this.$locale();return r&&r.postformat?r.postformat(n):n};var n=i.prototype.fromToBase;n&&(i.prototype.fromToBase=function(t,i,e,s){var r=this.$locale()||e.$locale();return n.call(this,t,i,e,s,r&&r.postformat)})})),dt.extend((function(t,i,e){e.updateLocale=function(t,i){var s=e.Ls[t];if(s)return(i?Object.keys(i):[]).forEach((function(t){s[t]=i[t]})),s}}));const At=class{constructor(e){t(this,e),this.calciteInputTimePickerBeforeClose=i(this,"calciteInputTimePickerBeforeClose",6),this.calciteInputTimePickerBeforeOpen=i(this,"calciteInputTimePickerBeforeOpen",6),this.calciteInputTimePickerChange=i(this,"calciteInputTimePickerChange",7),this.calciteInputTimePickerClose=i(this,"calciteInputTimePickerClose",6),this.calciteInputTimePickerOpen=i(this,"calciteInputTimePickerOpen",6),this.focusOnOpen=!1,this.dialogId=`time-picker-dialog--${h()}`,this.userChangedValue=!1,this.referenceElementId=`input-time-picker-${h()}`,this.openTransitionProp="opacity",this.hostBlurHandler=()=>{const t=this.calciteInputEl.value,i=this.delocalizeTimeString(t);if(!i)return void this.setValue("");i!==this.value&&this.setValue(i);const e=T({value:this.value,locale:this.effectiveLocale,numberingSystem:this.numberingSystem,includeSeconds:this.shouldIncludeSeconds(),fractionalSecondDigits:P(this.step)});e!==t&&this.setInputValue(e),this.deactivate()},this.calciteInternalInputFocusHandler=t=>{this.readOnly||t.stopPropagation()},this.calciteInternalInputInputHandler=t=>{const{effectiveLocale:i,numberingSystem:e}=this;if(e&&"latn"!==e){const s=t.target;D.numberFormatOptions={locale:i,numberingSystem:e,useGrouping:!1};const n=D.delocalize(s.value).split("").map((t=>m.includes(t)?D.numberFormatter.format(Number(t)):t)).join("");this.setInputValue(n)}},this.timePickerChangeHandler=t=>{t.stopPropagation();const i=t.target.value,e=this.shouldIncludeSeconds();this.setValue(H(i,e)),this.setInputValue(T({value:i,locale:this.effectiveLocale,numberingSystem:this.numberingSystem,includeSeconds:e,fractionalSecondDigits:P(this.step)}))},this.popoverCloseHandler=()=>{k(this,{onDeactivate:()=>{this.calciteInputEl.setFocus(),this.focusOnOpen=!1}}),this.open=!1},this.popoverOpenHandler=()=>{w(this,{onActivate:()=>{this.focusOnOpen&&(this.calciteTimePickerEl.setFocus(),this.focusOnOpen=!1)}})},this.keyDownHandler=t=>{const{defaultPrevented:i,key:e}=t;if(!i)if("Enter"===e){if(r(this)&&(t.preventDefault(),this.calciteInputEl.setFocus()),t.composedPath().includes(this.calciteTimePickerEl))return;const i=this.delocalizeTimeString(this.calciteInputEl.value);if(A(i)){this.setValue(i);const t=T({value:this.value,locale:this.effectiveLocale,numberingSystem:this.numberingSystem,includeSeconds:this.shouldIncludeSeconds(),fractionalSecondDigits:P(this.step)});i&&this.calciteInputEl.value!==t&&this.setInputValue(t)}}else"ArrowDown"===e?(this.open=!0,this.focusOnOpen=!0,t.preventDefault()):"Escape"===e&&this.open&&(this.open=!1,t.preventDefault(),this.calciteInputEl.setFocus())},this.setCalcitePopoverEl=t=>{this.popoverEl=t},this.setInputAndTransitionEl=t=>{this.calciteInputEl=t,this.transitionEl=t},this.setCalciteTimePickerEl=t=>{this.calciteTimePickerEl=t,L(this,{focusTrapEl:t,focusTrapOptions:{initialFocus:!1,setReturnFocus:!1}})},this.setInputValue=t=>{this.calciteInputEl&&(this.calciteInputEl.value=t)},this.setValue=t=>{const i=this.value,e=_(t)||"";e!==i&&(this.userChangedValue=!0,this.value=e||"",this.calciteInputTimePickerChange.emit().defaultPrevented&&(this.userChangedValue=!1,this.value=i,this.setInputValue(T({value:i,locale:this.effectiveLocale,numberingSystem:this.numberingSystem,includeSeconds:this.shouldIncludeSeconds(),fractionalSecondDigits:P(this.step)}))))},this.setValueDirectly=t=>{const i=this.shouldIncludeSeconds();this.value=H(t,i),this.setInputValue(this.value?T({value:this.value,includeSeconds:i,locale:this.effectiveLocale,numberingSystem:this.numberingSystem,fractionalSecondDigits:P(this.step)}):"")},this.onInputWrapperClick=()=>{this.open=!this.open},this.deactivate=()=>{this.open=!1},this.open=!1,this.disabled=!1,this.focusTrapDisabled=!1,this.form=void 0,this.readOnly=!1,this.messageOverrides=void 0,this.messages=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.numberingSystem=void 0,this.required=!1,this.scale="m",this.status="idle",this.overlayPositioning="absolute",this.placement="auto",this.step=60,this.value=null,this.defaultMessages=void 0,this.effectiveLocale=""}openHandler(){I(this),this.disabled||this.readOnly?this.open=!1:this.reposition(!0)}handleFocusTrapDisabled(t){this.open&&(t?k(this):w(this))}handleDisabledAndReadOnlyChange(t){t||(this.open=!1)}onMessagesChange(){}numberingSystemWatcher(t){this.setInputValue(T({value:this.value,locale:this.effectiveLocale,numberingSystem:t,includeSeconds:this.shouldIncludeSeconds(),fractionalSecondDigits:P(this.step)}))}stepWatcher(t,i){(i>=60&&t>0&&t<60||t>=60&&i>0&&i<60)&&this.setValueDirectly(this.value)}valueWatcher(t){this.userChangedValue||this.setValueDirectly(t),this.userChangedValue=!1}async effectiveLocaleWatcher(t){await this.loadDateTimeLocaleData(),this.setInputValue(T({value:this.value,locale:t,numberingSystem:this.numberingSystem,includeSeconds:this.shouldIncludeSeconds(),fractionalSecondDigits:P(this.step)}))}async setFocus(){await b(this),this.el.focus()}async reposition(t=!1){var i;null===(i=this.popoverEl)||void 0===i||i.reposition(t)}onBeforeOpen(){this.calciteInputTimePickerBeforeOpen.emit()}onOpen(){this.calciteInputTimePickerOpen.emit()}onBeforeClose(){this.calciteInputTimePickerBeforeClose.emit()}onClose(){this.calciteInputTimePickerClose.emit()}delocalizeTimeString(t){dt.locale(this.effectiveLocale.toLowerCase());const i=this.delocalizeTimeStringToParts(t);let e;if(this.shouldIncludeFractionalSeconds()){const s=P(this.step),n=this.delocalizeTimeStringToParts(t,"S");if(1===s)e=this.getTimeStringFromParts(0!==n.millisecond?n:i);else{const r=this.delocalizeTimeStringToParts(t,"SS");if(2===s)e=this.getTimeStringFromParts(0!==r.millisecond?r:0!==n.millisecond?n:i);else if(s>=3){const s=this.delocalizeTimeStringToParts(t,"SSS");e=this.getTimeStringFromParts(0!==s.millisecond?s:0!==r.millisecond?r:0!==n.millisecond?n:i)}}}else e=this.getTimeStringFromParts(i);return e}delocalizeTimeStringToParts(t,i){var e,s;const n=null===(s=null===(e=this.localeConfig)||void 0===e?void 0:e.formats)||void 0===s?void 0:s.LTS,r=n.match(/ss\.*(S+)/g);if(i&&this.shouldIncludeFractionalSeconds()){this.localeConfig.formats.LTS=n.replace(r?r[0]:"ss",`ss.${i}`)}else r&&(this.localeConfig.formats.LTS=n.replace(r[0],"ss"));dt.updateLocale(this.getSupportedDayjsLocale(S(this.effectiveLocale)),this.localeConfig);const a=dt(t,["LTS","LT"]);return a.isValid()?{hour:a.get("hour"),minute:a.get("minute"),second:a.get("second"),millisecond:a.get("millisecond")}:{hour:null,minute:null,second:null,millisecond:null}}getTimeStringFromParts(t){let i="";return t?(null!==t.hour&&null!==t.minute&&(i=`${C(t.hour)}:${C(t.minute)}`,this.shouldIncludeSeconds()&&null!==t.second&&(i+=`:${C(t.second)}`,this.shouldIncludeFractionalSeconds()&&null!==t.millisecond))&&(i+=`.${(.001*t.millisecond).toFixed(P(this.step)).toString().replace("0.","")}`),i):i}getSupportedDayjsLocale(t){const i=t.toLowerCase();return"no"===i?"nb":"pt-pt"===i?"pt":i}async loadDateTimeLocaleData(){let t=S(this.effectiveLocale).toLowerCase();t=this.getSupportedDayjsLocale(t);const{default:i}=await Ht.get(t)();this.localeConfig=i,dt.locale(this.localeConfig,null,!0),dt.updateLocale(t,this.getExtendedLocaleConfig(t))}getExtendedLocaleConfig(t){return"ar"===t?{meridiem:t=>t>12?"م":"ص",formats:{LT:"HH:mm A",LTS:"HH:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm A",LLLL:"dddd D MMMM YYYY HH:mm A"}}:"en-au"===t?{meridiem:t=>t>12?"pm":"am"}:"en-ca"===t?{meridiem:t=>t>12?"p.m.":"a.m."}:"el"===t?{meridiem:t=>t>12?"μ.μ.":"π.μ."}:"hi"===t?{formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, h:mm A",LLLL:"dddd, D MMMM YYYY, h:mm A"},meridiem:t=>t>12?"pm":"am"}:"ko"===t?{meridiem:t=>t>12?"오후":"오전"}:"zh-tw"===t?{formats:{LT:"AHH:mm",LTS:"AHH:mm:ss"}}:"zh-hk"===t?{formats:{LT:"AHH:mm",LTS:"AHH:mm:ss"},meridiem:t=>t>12?"下午":"上午"}:void 0}onLabelClick(){this.setFocus()}shouldIncludeSeconds(){return this.step<60}shouldIncludeFractionalSeconds(){return P(this.step)>0}connectedCallback(){u(this),Y(this),A(this.value)?this.setValueDirectly(this.value):this.value=void 0,p(this),a(this),x(this)}async componentWillLoad(){M(this),await Promise.all([O(this),this.loadDateTimeLocaleData()]),this.open&&I(this)}componentDidLoad(){y(this),A(this.value)&&this.setInputValue(T({value:this.value,locale:this.effectiveLocale,numberingSystem:this.numberingSystem,includeSeconds:this.shouldIncludeSeconds(),fractionalSecondDigits:P(this.step)}))}disconnectedCallback(){d(this),v(this),o(this),j(this),k(this),$(this)}componentDidRender(){l(this)}render(){const{disabled:t,messages:i,readOnly:n,dialogId:r}=this;return e(s,{key:"561e33708dcc90afdba91d4072b7979ff11f79c7",onBlur:this.hostBlurHandler,onKeyDown:this.keyDownHandler},e(f,{key:"19c3360f4640bce039a46d8cb06a8927855bf13c",disabled:this.disabled},e("div",{key:"e48f09d0b5179e75e55cc9664f880bd350543d6a",class:"input-wrapper",onClick:this.onInputWrapperClick},e("calcite-input-text",{key:"717afb03fbcf590ebf927fe4bd0005a00e5fe2ec","aria-autocomplete":"none","aria-haspopup":"dialog",disabled:t,icon:"clock",id:this.referenceElementId,label:g(this),lang:this.effectiveLocale,onCalciteInputTextInput:this.calciteInternalInputInputHandler,onCalciteInternalInputTextFocus:this.calciteInternalInputFocusHandler,readOnly:n,role:"combobox",scale:this.scale,status:this.status,ref:this.setInputAndTransitionEl}),!this.readOnly&&this.renderToggleIcon(this.open)),e("calcite-popover",{key:"d62bfe8b3ddc24e012d84b61a05061a09e6322dd",focusTrapDisabled:!0,id:r,label:i.chooseTime,lang:this.effectiveLocale,onCalcitePopoverClose:this.popoverCloseHandler,onCalcitePopoverOpen:this.popoverOpenHandler,open:this.open,overlayPositioning:this.overlayPositioning,placement:this.placement,referenceElement:this.referenceElementId,triggerDisabled:!0,ref:this.setCalcitePopoverEl},e("calcite-time-picker",{key:"6bfcee7272942b5476486a86933376b81aff7b23",lang:this.effectiveLocale,messageOverrides:this.messageOverrides,numberingSystem:this.numberingSystem,onCalciteInternalTimePickerChange:this.timePickerChangeHandler,scale:this.scale,step:this.step,tabIndex:this.open?void 0:-1,value:this.value,ref:this.setCalciteTimePickerEl})),e(c,{key:"0ca8c8c04ef40e120530a4666761473b8d1b987f",component:this}),this.validationMessage&&"invalid"===this.status?e(W,{icon:this.validationIcon,message:this.validationMessage,scale:this.scale,status:this.status}):null))}renderToggleIcon(t){return e("span",{class:"toggle-icon"},e("calcite-icon",{icon:t?"chevron-up":"chevron-down",scale:F(this.scale)}))}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{open:["openHandler"],focusTrapDisabled:["handleFocusTrapDisabled"],disabled:["handleDisabledAndReadOnlyChange"],readOnly:["handleDisabledAndReadOnlyChange"],messageOverrides:["onMessagesChange"],numberingSystem:["numberingSystemWatcher"],step:["stepWatcher"],value:["valueWatcher"],effectiveLocale:["effectiveLocaleWatcher"]}}};At.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:inline-block;-webkit-user-select:none;-moz-user-select:none;user-select:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([scale=s]){--calcite-toggle-spacing:0.5rem;--calcite-internal-input-text-input-padding-inline-end:calc(var(--calcite-toggle-spacing) + 1rem)}:host([scale=m]){--calcite-toggle-spacing:0.75rem;--calcite-internal-input-text-input-padding-inline-end:calc(var(--calcite-toggle-spacing) + 1.5rem)}:host([scale=l]){--calcite-toggle-spacing:1rem;--calcite-internal-input-text-input-padding-inline-end:calc(var(--calcite-toggle-spacing) + 2rem)}.input-wrapper{position:relative}.toggle-icon{position:absolute;display:flex;cursor:pointer;align-items:center;inset-inline-end:0;inset-block:0;padding-inline:var(--calcite-toggle-spacing);--calcite-ui-icon-color:var(--calcite-color-text-3)}.input-wrapper:hover .toggle-icon,calcite-input-text:focus+.toggle-icon{--calcite-ui-icon-color:var(--calcite-color-text-1)}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:0.5rem}:host([scale=s]) .validation-container{padding-block-start:0.25rem}:host([hidden]){display:none}[hidden]{display:none}";export{At as I,dt as d}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as i,c as t,h as e,H as s,g as a}from"./p-fa1ceaf9.js";import{s as l,a as n}from"./p-8ed6ce4d.js";import{u as o,s as c,c as r,d as h}from"./p-44bfa87d.js";import{n as d,c as v,d as u}from"./p-813d004f.js";import{g as b}from"./p-b64cc55e.js";import"./p-67b26725.js";import"./p-b85be429.js";import"./p-db50226e.js";import"./p-f50a294b.js";import"./p-e6c9e6af.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 p="bordered",f="striped",g="table-container",m="table--fixed",y=class{constructor(e){i(this,e),this.calciteTableSelect=t(this,"calciteTableSelect",6),this.calciteTablePageChange=t(this,"calciteTablePageChange",6),this.calciteInternalTableRowFocusChange=t(this,"calciteInternalTableRowFocusChange",6),this.getSlottedRows=i=>{var t;return null===(t=null==i?void 0:i.assignedElements({flatten:!0}))||void 0===t?void 0:t.filter((i=>null==i?void 0:i.matches("calcite-table-row")))},this.updateRows=()=>{var i,t,e;const s=this.getSlottedRows(this.tableHeadSlotEl)||[],a=this.getSlottedRows(this.tableBodySlotEl)||[],l=this.getSlottedRows(this.tableFootSlotEl)||[],n=[...s,...a,...l];null==s||s.forEach((i=>{const t=null==s?void 0:s.indexOf(i);i.rowType="head",i.positionSection=t,i.positionSectionLocalized=this.localizeNumber((t+1).toString())})),null==a||a.forEach((i=>{const t=null==a?void 0:a.indexOf(i);i.rowType="body",i.positionSection=t,i.positionSectionLocalized=this.localizeNumber((t+1).toString())})),null==l||l.forEach((i=>{const t=null==l?void 0:l.indexOf(i);i.rowType="foot",i.positionSection=t,i.positionSectionLocalized=this.localizeNumber((t+1).toString())})),null==n||n.forEach((i=>{i.interactionMode=this.interactionMode,i.selectionMode=this.selectionMode,i.bodyRowCount=null==a?void 0:a.length,i.positionAll=null==n?void 0:n.indexOf(i),i.numbered=this.numbered,i.scale=this.scale,i.readCellContentsToAT=this.readCellContentsToAT,i.lastVisibleRow=(null==n?void 0:n.indexOf(i))===n.length-1}));const o=(null===(i=s[0])||void 0===i?void 0:i.cellCount)||(null===(e=null===(t=s[0])||void 0===t?void 0:t.querySelectorAll("calcite-table-header"))||void 0===e?void 0:e.length);this.colCount=o,this.headRows=s,this.bodyRows=a,this.footRows=l,this.allRows=n,this.updateSelectedItems(),this.paginateRows()},this.handlePaginationChange=()=>{var i;const t=null===(i=this.paginationEl)||void 0===i?void 0:i.startItem;this.pageStartRow=t||1,this.calciteTablePageChange.emit(),this.updateRows()},this.paginateRows=()=>{var i;null===(i=this.bodyRows)||void 0===i||i.forEach((i=>{const t=i.positionSection+1;i.hidden=this.pageSize>0&&!(t>=this.pageStartRow&&t<this.pageStartRow+this.pageSize)&&!this.footRows.includes(i),i.lastVisibleRow=t===this.pageStartRow+this.pageSize-1||t===this.bodyRows.length}))},this.updateSelectedItems=i=>{var t,e;const s=null===(t=this.bodyRows)||void 0===t?void 0:t.filter((i=>i.selected));this.selectedItems=s,this.selectedCount=null==s?void 0:s.length,null===(e=this.allRows)||void 0===e||e.forEach((i=>{i.selectedRowCount=this.selectedCount,i.selectedRowCountLocalized=this.localizeNumber(this.selectedCount)})),i&&this.calciteTableSelect.emit()},this.handleDeselectAllRows=()=>{var i;null===(i=this.bodyRows)||void 0===i||i.forEach((i=>{i.selected=!1})),this.updateSelectedItems(!0)},this.setSelectedItems=i=>{var t;null===(t=this.bodyRows)||void 0===t||t.forEach((t=>{var e;t.selected="head"===(null==i?void 0:i.rowType)?this.selectedCount!==(null===(e=this.bodyRows)||void 0===e?void 0:e.length):i===t?!t.selected:"multiple"===this.selectionMode&&t.selected})),this.updateSelectedItems(!0)},this.localizeNumber=i=>(d.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator},d.localize(i.toString())),this.bordered=!1,this.caption=void 0,this.groupSeparator=!1,this.interactionMode="interactive",this.layout="auto",this.numbered=!1,this.numberingSystem=void 0,this.pageSize=0,this.scale="m",this.selectionMode="none",this.zebra=!1,this.striped=!1,this.selectedItems=[],this.messages=void 0,this.messageOverrides=void 0,this.colCount=0,this.pageStartRow=1,this.selectedCount=0,this.readCellContentsToAT=void 0,this.defaultMessages=void 0,this.effectiveLocale=""}handleNumberedChange(){this.updateRows()}onMessagesChange(){}effectiveLocaleChange(){o(this,this.effectiveLocale)}async componentWillLoad(){l(this),await c(this),this.readCellContentsToAT=/safari/i.test(b()),this.updateRows()}componentDidLoad(){n(this)}connectedCallback(){v(this),r(this)}disconnectedCallback(){u(this),h(this)}calciteChipSelectListener(i){i.composedPath().includes(this.el)&&this.setSelectedItems(i.target)}calciteInternalTableRowFocusEvent(i){var t,e,s,a,l,n,o,c,r;const h=i.detail.cellPosition,d=i.detail.rowPosition,v=i.detail.destination,u=i.detail.lastCell,b=null===(t=this.bodyRows)||void 0===t?void 0:t.filter((i=>!i.hidden)),p=null===(e=this.allRows)||void 0===e?void 0:e.filter((i=>!i.hidden)),f=null===(s=this.headRows[this.headRows.length-1])||void 0===s?void 0:s.positionAll,g=null===(a=b[0])||void 0===a?void 0:a.positionAll,m=null===(l=b[b.length-1])||void 0===l?void 0:l.positionAll,y=null===(n=this.footRows[0])||void 0===n?void 0:n.positionAll,x=null===(o=p[p.length-1])||void 0===o?void 0:o.positionAll,w="next"===v&&d===f,C="previous"===v&&d===y,z="previous"===v&&d===g,k="next"===v&&d===m;let S;switch(v){case"first":S=0;break;case"last":S=x;break;case"next":S=w?g:k?y:d+1;break;case"previous":S=C?m:z?f:d-1}const j=null===(r=null===(c=this.allRows)||void 0===c?void 0:c.find((i=>i.positionAll===S)))||void 0===r?void 0:r.cellCount;void 0!==S&&this.calciteInternalTableRowFocusChange.emit({cellPosition:h>j?j:h,rowPosition:S,destination:v,lastCell:u})}renderSelectionArea(){var i,t,s;const a=null===(t=null===(i=this.selectedItems)||void 0===i?void 0:i.filter((i=>i.hidden)))||void 0===t?void 0:t.length,l=this.localizeNumber(null==a?void 0:a.toString()),n=`${this.localizeNumber(null===(s=this.selectedCount)||void 0===s?void 0:s.toString())} ${this.messages.selected}`,o=`${l} ${this.messages.hiddenSelected}`;return e("div",{class:"selection-area"},e("calcite-chip",{kind:this.selectedCount>0?"brand":"neutral",scale:this.scale,value:n},n),a>0&&e("calcite-chip",{icon:"hide-empty",scale:this.scale,title:o,value:o},l),this.selectedCount>0&&e("calcite-button",{"icon-start":"x",kind:"neutral",onClick:this.handleDeselectAllRows,round:!0,scale:this.scale,title:`${this.messages.clear} ${n} ${this.messages.row}`},this.messages.clear),e("div",{class:"selection-actions"},e("slot",{name:"selection-actions"})))}renderPaginationArea(){var i;return e("div",{class:"pagination-area"},e("calcite-pagination",{groupSeparator:this.groupSeparator,numberingSystem:this.numberingSystem,onCalcitePaginationChange:this.handlePaginationChange,pageSize:this.pageSize,scale:this.scale,startItem:1,totalItems:null===(i=this.bodyRows)||void 0===i?void 0:i.length,ref:i=>this.paginationEl=i}))}renderTHead(){return e("thead",null,e("slot",{name:"table-header",onSlotchange:this.updateRows,ref:i=>this.tableHeadSlotEl=i}))}renderTBody(){return e("tbody",null,e("slot",{onSlotchange:this.updateRows,ref:i=>this.tableBodySlotEl=i}))}renderTFoot(){return e("tfoot",null,e("slot",{name:"table-footer",onSlotchange:this.updateRows,ref:i=>this.tableFootSlotEl=i}))}render(){var i;return e(s,{key:"ef7ccc8c38ffa6a1f2168194360d210d95c93586"},e("div",{key:"5e6c5971b1175ea268c863b394295024d27b30da",class:"container"},"none"!==this.selectionMode&&this.renderSelectionArea(),e("div",{key:"668438589e52c53f20d9a9c97fd732bb5a423175",class:{[p]:this.bordered,[f]:this.striped||this.zebra,[g]:!0}},e("table",{key:"c8b35b353d207b4eab3a973a242e38c67642bba3","aria-colcount":this.colCount,"aria-multiselectable":"multiple"===this.selectionMode,"aria-rowcount":null===(i=this.allRows)||void 0===i?void 0:i.length,class:{[m]:"fixed"===this.layout},role:"interactive"===this.interactionMode?"grid":"table"},e("caption",{key:"1f5b24d93dc5a715f946e38e3dde002b7ba614ff",class:"assistive-text"},this.caption),this.renderTHead(),this.renderTBody(),this.renderTFoot())),this.pageSize>0&&this.renderPaginationArea()))}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{groupSeparator:["handleNumberedChange"],interactionMode:["handleNumberedChange"],numbered:["handleNumberedChange"],numberingSystem:["handleNumberedChange"],pageSize:["handleNumberedChange"],scale:["handleNumberedChange"],selectionMode:["handleNumberedChange"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};y.style=":host([scale=s]){--calcite-internal-table-cell-padding:0.25rem;--calcite-internal-table-cell-font-size:var(--calcite-font-size--2);--calcite-internal-table-cell-font-size-secondary:var(--calcite-font-size--3)}:host([scale=m]){--calcite-internal-table-cell-padding:0.5rem;--calcite-internal-table-cell-font-size:var(--calcite-font-size--1);--calcite-internal-table-cell-font-size-secondary:var(--calcite-font-size--2)}:host([scale=l]){--calcite-internal-table-cell-padding:1rem;--calcite-internal-table-cell-font-size:var(--calcite-font-size-0);--calcite-internal-table-cell-font-size-secondary:var(--calcite-font-size--1)}:host{display:flex}.container{display:flex;block-size:100%;inline-size:100%;flex-direction:column}.table-container{overflow:auto;white-space:nowrap;border:1px solid var(--calcite-color-border-3)}.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}table{inline-size:100%;border-collapse:collapse;overflow-x:scroll}.table--fixed{table-layout:fixed}.bordered ::slotted(calcite-table-row){--calcite-table-row-border-color:var(--calcite-color-border-3)}.striped ::slotted(calcite-table-row:nth-child(2n+1)){--calcite-table-row-background:var(--calcite-color-foreground-2)}.selection-actions{display:flex;flex-direction:row;margin-inline-start:auto}.selection-area{display:flex;flex-direction:row;align-items:center;padding-block:var(--calcite-internal-table-cell-padding)}.selection-area calcite-chip:last-of-type{margin-inline-end:0.5rem}.selection-area calcite-chip:last-of-type:not(:first-of-type){margin-inline-start:0.5rem}.selection-area calcite-button{margin-inline-end:1rem}.pagination-area{display:flex;inline-size:100%;flex-direction:row;justify-content:center;padding-block:var(--calcite-internal-table-cell-padding)}calcite-pagination{flex:1;justify-content:center}:host([hidden]){display:none}[hidden]{display:none}";export{y as calcite_table}
|
@@ -0,0 +1,11 @@
|
|
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-fa1ceaf9.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}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,c as i,h as s,H as e,g as a}from"./p-fa1ceaf9.js";import{l as n,g as o}from"./p-c9b22653.js";import{y as c}from"./p-67b26725.js";import{f as h}from"./p-c1cf3ebc.js";import{s as l}from"./p-c4ddb206.js";import"./p-c4160bf7.js";import"./p-b85be429.js";import"./p-db50226e.js";import"./p-8c6d9b5a.js";const r=class{constructor(s){t(this,s),this.bufferComplete=i(this,"bufferComplete",7),this.distanceChanged=i(this,"distanceChanged",7),this.unitChanged=i(this,"unitChanged",7),this.appearance="text",this.distance=0,this.geometries=[],this.max=void 0,this.min=0,this.sliderTicks=10,this.unionResults=!0,this.unit="meters",this.disabled=!1,this._translations=void 0}geometriesWatchHandler(){this._buffer()}disabledWatchHandler(){this._buffer()}async getTranslatedUnit(t){return this._units||await this._defineTranslations(),this._units[t]}async componentWillLoad(){await this._defineTranslations(),await this._initModules()}render(){return s(e,{key:"63b775eca8dd10785df7b58be3a79eaa6cf4c049"},"text"===this.appearance?this._getTextBoxDisplay():this._getSliderDisplay())}async _defineTranslations(){await this._getTranslations(),this._initTranslatedUnits()}async _initModules(){const[t]=await n(["esri/geometry/geometryEngine"]);this._geometryEngine=t}_initTranslatedUnits(){this._units={feet:this._translations.feet,meters:this._translations.meters,miles:this._translations.miles,kilometers:this._translations.kilometers}}_getUnits(){return Object.keys(this._units).map((t=>s("calcite-option",{label:this._units[t],selected:this.unit===t,value:t})))}_setDistance(t){const i=parseInt(t.target.value,10);this.distance!==i&&i>=this.min&&(this.distanceChanged.emit({oldValue:this.distance,newValue:i}),this.distance=i,this.distance>0?this._buffer():this.bufferComplete.emit(void 0))}_setUnit(t){this.unitChanged.emit({oldValue:this.unit,newValue:t}),this.unit=t,this._buffer()}_buffer(){this.disabled?this.bufferComplete.emit(void 0):(this._bufferTimeout&&clearTimeout(this._bufferTimeout),this._bufferTimeout=setTimeout((()=>{var t;if((null===(t=this.geometries)||void 0===t?void 0:t.length)>0&&this.unit&&this.distance>0){const t=this.geometries[0].spatialReference,i=t.isWGS84||t.isWebMercator?this._geometryEngine.geodesicBuffer(this.geometries,this.distance,this.unit,this.unionResults):this._geometryEngine.buffer(this.geometries,this.distance,this.unit,this.unionResults);this.bufferComplete.emit(i)}}),400))}_getTextBoxDisplay(){return s("div",{class:"c-container"},s("calcite-input",{class:"padding-end-1 w-50",max:this.max&&this.max>0?this.max:void 0,min:this.min,"number-button-type":"vertical",onCalciteInputInput:t=>this._setDistance(t),placeholder:"0",type:"number",value:this.distance?this.distance.toString():void 0}),s("calcite-select",{class:"flex-1 w-50",label:"label",onCalciteSelectChange:()=>this._setUnit(this._unitElement.value),ref:t=>{this._unitElement=t}},this._getUnits()))}_getSliderDisplay(){return s("div",null,s("calcite-slider",{labelHandles:!0,max:this.max&&this.max>0?this.max:void 0,min:this.min,ticks:this.sliderTicks}))}async _getTranslations(){const t=await o(this.el);this._translations=t[0]}_testAccess(t,i){switch(t){case"_setUnit":return this._setUnit(i);case"_setDistance":return this._setDistance(i)}return null}get el(){return a(this)}static get watchers(){return{geometries:["geometriesWatchHandler"],disabled:["disabledWatchHandler"]}}};r.style=':host{display:block}.c-container{display:inline-flex}.flex-1{flex:"1"}.padding-end-1{padding-inline-end:1rem}.w-50{width:50%}';
|
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={valid:"check-circle",invalid:"exclamation-mark-triangle",idle:"information"},p=class{constructor(i){t(this,i),this.icon=void 0,this.iconFlipRtl=!1,this.scale="m",this.status="idle"}handleIconEl(){this.requestedIcon=c(d,this.icon,this.status)}connectedCallback(){this.requestedIcon=c(d,this.icon,this.status)}render(){return s(e,{key:"7d7329dbca2d5abb5a9b92dbee9767ba14488caa","calcite-hydrated-hidden":this.el.hidden},this.renderIcon(this.requestedIcon),s("slot",{key:"2fc037f47b40f25698cecdd52df9436da86ecfcf"}))}renderIcon(t){if(t)return s("calcite-icon",{class:"calcite-input-message-icon",flipRtl:this.iconFlipRtl,icon:t,scale:"s"})}get el(){return a(this)}static get watchers(){return{status:["handleIconEl"],icon:["handleIconEl"]}}};p.style=":host{box-sizing:border-box;display:flex;block-size:auto;inline-size:100%;align-items:center;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1);opacity: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;--calcite-input-message-spacing-value:0.25rem;margin-block-start:var(--calcite-input-message-spacing-value)}.calcite-input-message-icon{pointer-events:none;display:inline-flex;flex-shrink: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;margin-inline-end:0.5rem}:host([status=invalid]) .calcite-input-message-icon{color:var(--calcite-color-status-danger)}:host([status=warning]) .calcite-input-message-icon{color:var(--calcite-color-status-warning)}:host([status=valid]) .calcite-input-message-icon{color:var(--calcite-color-status-success)}:host([status=idle]) .calcite-input-message-icon{color:var(--calcite-color-brand)}:host([scale=s]){font-size:var(--calcite-font-size--3);line-height:0.75rem}:host([scale=m]){font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=l]){font-size:var(--calcite-font-size--1);line-height:1rem}:host([hidden]){display:none}[hidden]{display:none}";const g=class{constructor(s){t(this,s),this.selectionLoadingChange=i(this,"selectionLoadingChange",7),this.sketchGraphicsChange=i(this,"sketchGraphicsChange",7),this.drawUndo=i(this,"drawUndo",7),this.drawRedo=i(this,"drawRedo",7),this.active=!1,this.drawMode=h.SKETCH,this.editGraphicsEnabled=!0,this.graphics=void 0,this.mapView=void 0,this.pointSymbol=void 0,this.polylineSymbol=void 0,this.polygonSymbol=void 0,this.redoEnabled=!1,this.undoEnabled=!1,this._translations=void 0,this._selectionMode=void 0}graphicsWatchHandler(t,i){t&&t.length>0&&JSON.stringify(t)!==JSON.stringify(i)&&this._sketchGraphicsLayer&&(this._updateGraphicsSymbols(t),this._sketchGraphicsLayer.removeAll(),this._sketchGraphicsLayer.addMany(t))}mapViewWatchHandler(t,i){t&&t!==i&&this._init()}async clear(){this._clearSketch()}async updateGraphics(){this._updateGraphics()}async componentWillLoad(){await this._getTranslations(),await this._initModules()}componentDidLoad(){this._init()}disconnectedCallback(){this._sketchWidget.cancel(),this._clearSketch()}render(){const t=this.drawMode===h.SKETCH?"display-none":"esri-widget esri-sketch__panel border-left esri-sketch__section";return s(e,{key:"1f9544ac97df4b51337260e1bb7cf3b5d923fa03"},s("div",{key:"eca20834d2eacf3cc4a30e6ecf15a2f8d894cb8f",class:this.drawMode===h.SKETCH?"border":"border esri-widget esri-sketch__panel"},s("div",{key:"32bbaf5a03251c035821880231acb894a452b8dd",ref:t=>{this._sketchElement=t}}),s("div",{key:"cd446419c2b7d347711a48851baec46f24d20375",class:t},s("calcite-action",{key:"03ce63c7805c1cc1b63e78336ba624199eef3336",disabled:!this.undoEnabled,icon:"undo",onClick:()=>this._undo(),scale:"s",text:this._translations.undo}),s("calcite-action",{key:"0d688389277586163c589561865ab7778021ac10",disabled:!this.redoEnabled,icon:"redo",onClick:()=>this._redo(),scale:"s",text:this._translations.redo}))))}async _initModules(){const[t,i,s]=await n(["esri/layers/GraphicsLayer","esri/widgets/Sketch","esri/widgets/Sketch/SketchViewModel"]);this.GraphicsLayer=t,this.Sketch=i,this.SketchViewModel=s}_init(){this.mapView&&this._sketchElement&&(this._initGraphicsLayer(),this._initSketch())}_initGraphicsLayer(){const t=this._translations.sketchLayer,i=this.mapView.map.layers.findIndex((i=>i.title===t));i>-1?this._sketchGraphicsLayer=this.mapView.map.layers.getItemAt(i):(this._sketchGraphicsLayer=new this.GraphicsLayer({title:t,listMode:"hide"}),l.managedLayers[t]="sketch",this.mapView.map.layers.add(this._sketchGraphicsLayer)),this.graphics&&this.graphics.length>0&&this._sketchGraphicsLayer.addMany(this.graphics)}_initSketch(){const t={layer:this._sketchGraphicsLayer,view:this.mapView,defaultCreateOptions:{mode:"hybrid"},defaultUpdateOptions:{preserveAspectRatio:!1,enableScaling:!1,enableRotation:!1,tool:"reshape",toggleToolOnClick:!1}};this._sketchWidget=new this.Sketch(Object.assign(Object.assign({},t),{container:this._sketchElement,creationMode:"single",visibleElements:{duplicateButton:!1,selectionTools:{"lasso-selection":!1,"rectangle-selection":!1},createTools:{circle:!1},undoRedoMenu:!1,settingsMenu:this.drawMode===h.SKETCH}})),this._sketchViewModel=new this.SketchViewModel(Object.assign({},t)),this._sketchWidget.viewModel.polylineSymbol=this.polylineSymbol,this._sketchWidget.viewModel.pointSymbol=this.pointSymbol,this._sketchWidget.viewModel.polygonSymbol=this.polygonSymbol;let i=!1;this._sketchWidget.on("create",(t=>{"complete"===t.state&&(this.graphics=[t.graphic],this.sketchGraphicsChange.emit({graphics:this.graphics,useOIDs:!1}),this.drawMode===h.REFINE&&(i=!0,this._sketchWidget.viewModel.create(t.tool))),"cancel"===t.state&&this.drawMode===h.REFINE&&i&&(i=!i,this._sketchWidget.viewModel.create(t.tool))})),this._sketchWidget.on("update",(t=>{var i;if(this.editGraphicsEnabled){const s=null===(i=null==t?void 0:t.toolEventInfo)||void 0===i?void 0:i.type;"reshape-stop"!==s&&"move-stop"!==s||(this.graphics=t.graphics,this.sketchGraphicsChange.emit({graphics:this.graphics,useOIDs:!1}))}else this._sketchWidget.viewModel.cancel(),this._sketchViewModel.cancel()})),this._sketchWidget.on("delete",(()=>{this.graphics=[],this.sketchGraphicsChange.emit({graphics:this.graphics,useOIDs:!1})})),this._sketchWidget.on("undo",(t=>{this.graphics=t.graphics,this.sketchGraphicsChange.emit({graphics:this.graphics,useOIDs:!1})})),this._sketchWidget.on("redo",(t=>{this.graphics=t.graphics,this.sketchGraphicsChange.emit({graphics:this.graphics,useOIDs:!1})}))}_clearSketch(){var t,i;null===(t=this._sketchWidget)||void 0===t||t.viewModel.cancel(),this.graphics=[],null===(i=this._sketchGraphicsLayer)||void 0===i||i.removeAll()}_undo(){this.drawUndo.emit()}_redo(){this.drawRedo.emit()}_updateGraphics(){setTimeout((()=>{1===this.graphics.length&&this._sketchWidget.update(this.graphics,{tool:"reshape",enableRotation:!1,enableScaling:!1,preserveAspectRatio:!1,toggleToolOnClick:!1})}),100)}_updateGraphicsSymbols(t){const i=t[0].geometry.type,s="point"===i?this.pointSymbol:"polyline"===i?this.polylineSymbol:"polygon"===i?this.polygonSymbol:void 0;s&&t.forEach((t=>t.symbol=s))}async _getTranslations(){const t=await o(this.el);this._translations=t[0]}get el(){return a(this)}static get watchers(){return{graphics:["graphicsWatchHandler"],mapView:["mapViewWatchHandler"]}}};g.style=':host{display:block}.border{outline:1px solid var(--calcite-color-border-input)}.div-visible{display:inherit}.div-not-visible{display:none !important}.padding-top-1-2{padding-top:.5rem}.main-label{display:flex;float:left}html[dir="rtl"] .main-label{display:flex;float:right}.margin-top-1{margin-top:1rem}.border-left{border-left:1px solid rgba(110,110,110,.3)}.border-left[dir="rtl"]{border-right:1px solid rgba(110,110,110,.3)}.esri-widget{box-sizing:border-box;color:#323232;font-size:14px;font-family:"Avenir Next","Helvetica Neue",Helvetica,Arial,sans-serif;line-height:1.3em;background-color:#fff;--esri-widget-padding-v:12px;--esri-widget-padding-h:15px;--esri-widget-padding:var(--esri-widget-padding-v) var(--esri-widget-padding-h)}.esri-sketch__panel{align-items:center;display:flex;flex-flow:row wrap;padding:0;justify-content:flex-start !important}.esri-sketch__section{align-items:center;display:flex;flex-flow:row wrap;padding:0 7px;margin:6px 0}';export{r as buffer_tools,p as calcite_input_message,g as map_draw_tools}
|
@@ -0,0 +1,11 @@
|
|
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 i,H as o,g as t}from"./p-fa1ceaf9.js";import{c as n,s as a,a as c}from"./p-8ed6ce4d.js";import{H as r}from"./p-cc388a08.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 s="container",l="heading",d="description",h="standalone",p=class{constructor(i){e(this,i),this.active=void 0,this.href=void 0,this.icon=void 0,this.iconFlipRtl=!1,this.label=void 0,this.rel=void 0,this.description=void 0,this.target=void 0,this.heading=void 0,this.thumbnail=void 0,this.headingLevel=void 0}async setFocus(){await n(this),this.href&&this.el.focus()}componentWillLoad(){a(this)}componentDidLoad(){c(this)}renderIcon(){return i("calcite-icon",{class:"icon",flipRtl:this.iconFlipRtl,icon:this.icon,scale:"l"})}renderHeaderContent(){const{heading:e,headingLevel:o,description:t}=this,n=e?i(r,{class:{[l]:!0,[h]:!this.description},key:l,level:o},e):null,a=t?i("span",{class:d,key:d},t):null;return n||a?i("div",{class:s,key:s},n,a):null}render(){const{thumbnail:e}=this;return i(o,{key:"cd8a1c95e9c72a494942c09285db6ce4e554e6a1"},i("a",{key:"bcb1a269e0d6cde0969de9d822f1f98e689f826a",class:"anchor",href:this.href,rel:this.rel,target:this.target},e&&i("img",{key:"c028ae89a0e3ae62e90280e3646894e9ee70458b",alt:this.label||"",class:"image",src:e}),this.icon&&this.renderIcon(),this.renderHeaderContent()))}static get delegatesFocus(){return!0}get el(){return t(this)}};p.style=":host{display:inline-flex;outline:2px solid transparent;outline-offset:2px}.anchor{margin:0px;display:flex;cursor:pointer;align-items:center;justify-content:center;font-size:var(--calcite-font-size-0);line-height:1.25rem;text-decoration-line:none;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;color:inherit;border-block-end:2px solid transparent}.anchor:hover,.anchor:focus{background-color:var(--calcite-color-foreground-2)}.anchor: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 )}.anchor:active{background-color:var(--calcite-color-foreground-3)}.image,.icon{margin:0px;display:flex;block-size:1.75rem;padding-inline:1rem}.image~.icon{padding-inline-start:0px}.image~.container,.icon~.container{padding-inline-start:0px}:host(:active) .anchor{color:var(--calcite-color-text-1)}:host([active]) .anchor{color:var(--calcite-color-text-1);border-color:var(--calcite-color-brand);--calcite-ui-icon-color:var(--calcite-color-brand)}.container{margin-block-start:0.125rem;display:flex;flex-direction:column;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-inline:1rem;text-align:start}.heading{margin-inline-start:0px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}.standalone{font-size:var(--calcite-font-size-1)}.description{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host([hidden]){display:none}[hidden]{display:none}";export{p as calcite_navigation_logo}
|
@@ -0,0 +1,11 @@
|
|
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 s,g as a}from"./p-fa1ceaf9.js";import{g as c}from"./p-21fd2b18.js";import{a as r,e as n,t as d}from"./p-67b26725.js";import{c as h,d as l,H as b}from"./p-716a0878.js";import{g as p}from"./p-b85be429.js";import{c as u,d as f,u as m,I as v}from"./p-9c6c056a.js";import{c as k,d as x,g}from"./p-6127f49e.js";import{c as w,s as y,a as z}from"./p-8ed6ce4d.js";import"./p-db50226e.js";import"./p-b64cc55e.js";import"./p-e6e50975.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 C=class{constructor(e){t(this,e),this.calciteInternalRadioButtonBlur=i(this,"calciteInternalRadioButtonBlur",6),this.calciteRadioButtonChange=i(this,"calciteRadioButtonChange",6),this.calciteInternalRadioButtonCheckedChange=i(this,"calciteInternalRadioButtonCheckedChange",6),this.calciteInternalRadioButtonFocus=i(this,"calciteInternalRadioButtonFocus",6),this.selectItem=(t,i)=>{t[i].click()},this.queryButtons=()=>Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden])")).filter((t=>t.name===this.name)),this.isFocusable=()=>{const t=this.queryButtons(),i=t.find((t=>!t.disabled)),e=t.find((t=>t.checked));return i===this.el&&!e},this.check=()=>{this.disabled||(this.focused=!0,this.setFocus(),this.checked||(this.uncheckAllRadioButtonsInGroup(),this.checked=!0,this.calciteRadioButtonChange.emit()))},this.clickHandler=()=>{this.disabled||this.check()},this.setContainerEl=t=>{this.containerEl=t},this.handleKeyDown=t=>{const{key:i}=t,{el:e}=this;if(-1===["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "].indexOf(i))return;if(" "===i)return this.check(),void t.preventDefault();let o=i;"rtl"===r(e)&&("ArrowRight"===i&&(o="ArrowLeft"),"ArrowLeft"===i&&(o="ArrowRight"));const s=Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden])")).filter((t=>t.name===this.name));let a=0;const n=s.length;switch(s.some(((t,i)=>{if(t.checked)return a=i,!0})),o){case"ArrowLeft":case"ArrowUp":return t.preventDefault(),void this.selectItem(s,c(Math.max(a-1,-1),n));case"ArrowRight":case"ArrowDown":return t.preventDefault(),void this.selectItem(s,c(a+1,n));default:return}},this.onContainerBlur=()=>{this.focused=!1,this.calciteInternalRadioButtonBlur.emit()},this.onContainerFocus=()=>{this.disabled||(this.focused=!0,this.calciteInternalRadioButtonFocus.emit())},this.checked=!1,this.disabled=!1,this.focused=!1,this.form=void 0,this.guid=void 0,this.hovered=!1,this.label=void 0,this.name=void 0,this.required=!1,this.scale="m",this.value=void 0}handleHiddenChange(){this.updateTabIndexOfOtherRadioButtonsInGroup()}checkedChanged(t){t&&this.uncheckOtherRadioButtonsInGroup(),this.calciteInternalRadioButtonCheckedChange.emit()}disabledChanged(){this.updateTabIndexOfOtherRadioButtonsInGroup()}nameChanged(){this.checkLastRadioButton()}async setFocus(){await w(this),this.disabled||n(this.containerEl)}syncHiddenFormInput(t){t.type="radio"}onLabelClick(t){if(this.disabled||this.el.hidden)return;const i=t.currentTarget,e=i.for?this.rootNode.querySelector(`calcite-radio-button[id="${i.for}"]`):i.querySelector(`calcite-radio-button[name="${this.name}"]`);e&&(e.focused=!0,this.setFocus(),e.checked||(this.uncheckOtherRadioButtonsInGroup(),e.checked=!0,this.calciteRadioButtonChange.emit()))}checkLastRadioButton(){const t=this.queryButtons().filter((t=>t.checked));if((null==t?void 0:t.length)>1){const i=t[t.length-1];t.filter((t=>t!==i)).forEach((t=>{t.checked=!1,t.emitCheckedChange()}))}}async emitCheckedChange(){this.calciteInternalRadioButtonCheckedChange.emit()}uncheckAllRadioButtonsInGroup(){this.queryButtons().forEach((t=>{t.checked&&(t.checked=!1,t.focused=!1)}))}uncheckOtherRadioButtonsInGroup(){this.queryButtons().filter((t=>t.guid!==this.guid)).forEach((t=>{t.checked&&(t.checked=!1,t.focused=!1)}))}updateTabIndexOfOtherRadioButtonsInGroup(){this.queryButtons().filter((t=>t.guid!==this.guid&&!t.disabled)).forEach((t=>{e(t)}))}getTabIndex(){if(!this.disabled)return this.checked||this.isFocusable()?0:-1}pointerEnterHandler(){this.disabled||(this.hovered=!0)}pointerLeaveHandler(){this.disabled||(this.hovered=!1)}connectedCallback(){this.rootNode=this.el.getRootNode(),this.guid=this.el.id||`calcite-radio-button-${p()}`,this.name&&this.checkLastRadioButton(),u(this),k(this),h(this),this.updateTabIndexOfOtherRadioButtonsInGroup()}componentWillLoad(){y(this)}componentDidLoad(){z(this),this.focused&&!this.disabled&&this.setFocus()}disconnectedCallback(){f(this),x(this),l(this),this.updateTabIndexOfOtherRadioButtonsInGroup()}componentDidRender(){m(this)}render(){const t=this.getTabIndex();return o(s,{key:"7f7f0cfa7e4a873346af37a4c90885e3b0353da9",onClick:this.clickHandler,onKeyDown:this.handleKeyDown},o(v,{key:"a4896cb1e1444133c974769bd17adb62dd71f93b",disabled:this.disabled},o("div",{key:"4efbe11beea96f535bbe5a0d4bb560c0c1771059","aria-checked":d(this.checked),"aria-label":g(this),class:"container",onBlur:this.onContainerBlur,onFocus:this.onContainerFocus,role:"radio",tabIndex:t,ref:this.setContainerEl},o("div",{key:"4f5a058df72d81bb149d95e0bf86a43067818bbd",class:"radio"})),o(b,{key:"8760ce6ccca0a98c46f6198753f57509cbbe2551",component:this})))}get el(){return a(this)}static get watchers(){return{hidden:["handleHiddenChange"],checked:["checkedChanged"],disabled:["disabledChanged"],name:["nameChanged"]}}};C.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;cursor:pointer}:host .container{position:relative;outline:2px solid transparent;outline-offset:2px}:host .radio{cursor:pointer;border-radius:9999px;background-color:var(--calcite-color-foreground-1);outline-color:transparent;transition: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;box-shadow:inset 0 0 0 1px var(--calcite-color-border-input)}:host([hovered]) .radio,:host(:not([checked])[focused]:not([disabled])) .radio{box-shadow:inset 0 0 0 2px var(--calcite-color-brand)}:host([focused]) .radio{outline:2px solid var(--calcite-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([disabled]) .radio{cursor:default;opacity:var(--calcite-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hovered][disabled]) .radio{box-shadow:inset 0 0 0 1px var(--calcite-color-border-input)}:host([scale=s]){--calcite-radio-size:var(--calcite-font-size--2)}:host([scale=m]){--calcite-radio-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-radio-size:var(--calcite-font-size-0)}.radio{block-size:var(--calcite-radio-size);max-inline-size:var(--calcite-radio-size);min-inline-size:var(--calcite-radio-size)}:host([scale=s][checked]) .radio,:host([hovered][scale=s][checked][disabled]) .radio{box-shadow:inset 0 0 0 4px var(--calcite-color-brand)}:host([scale=s][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 4px var(--calcite-color-brand), 0 0 0 2px var(--calcite-color-foreground-1)}:host([scale=m][checked]) .radio,:host([hovered][scale=m][checked][disabled]) .radio{box-shadow:inset 0 0 0 5px var(--calcite-color-brand)}:host([scale=m][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 5px var(--calcite-color-brand), 0 0 0 2px var(--calcite-color-foreground-1)}:host([scale=l][checked]) .radio,:host([hovered][scale=l][checked][disabled]) .radio{box-shadow:inset 0 0 0 6px var(--calcite-color-brand)}:host([scale=l][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 6px var(--calcite-color-brand), 0 0 0 2px var(--calcite-color-foreground-1)}@media (forced-colors: active){:host([checked]) .radio::after,:host([checked][disabled]) .radio::after{content:"";inline-size:var(--calcite-radio-size);block-size:var(--calcite-radio-size);background-color:windowText;display:block}}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}';export{C as calcite_radio_button}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{d as e}from"./p-6d51c6bf.js";import"./p-fa1ceaf9.js";import"./p-716a0878.js";import"./p-67b26725.js";import"./p-b85be429.js";import"./p-db50226e.js";import"./p-9c6c056a.js";import"./p-b64cc55e.js";import"./p-f50a294b.js";import"./p-6127f49e.js";import"./p-e6e50975.js";import"./p-8ed6ce4d.js";import"./p-813d004f.js";import"./p-e6c9e6af.js";import"./p-97f0e1b6.js";import"./p-a89e61f4.js";import"./p-ebf59857.js";import"./p-44bfa87d.js";import"./p-ba569f8b.js";import"./p-5f1fdaf9.js";var a={words:{m:["jedan minut","jednog minuta"],mm:["%d minut","%d minuta","%d minuta"],h:["jedan sat","jednog sata"],hh:["%d sat","%d sata","%d sati"],d:["jedan dan","jednog dana"],dd:["%d dan","%d dana","%d dana"],M:["jedan mesec","jednog meseca"],MM:["%d mesec","%d meseca","%d meseci"],y:["jednu godinu","jedne godine"],yy:["%d godinu","%d godine","%d godina"]},correctGrammarCase:function(e,a){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10==1?a[0]:a[1]:a[2]},relativeTimeFormatter:function(e,d,t,r){var m=a.words[t];if(1===t.length)return"y"===t&&d?"jedna godina":r||d?m[0]:m[1];var o=a.correctGrammarCase(e,m);return"yy"===t&&d&&"%d godinu"===o?e+" godina":o.replace("%d",e)}},d={name:"sr",weekdays:"Nedelja_Ponedeljak_Utorak_Sreda_Četvrtak_Petak_Subota".split("_"),weekdaysShort:"Ned._Pon._Uto._Sre._Čet._Pet._Sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),months:"Januar_Februar_Mart_April_Maj_Jun_Jul_Avgust_Septembar_Oktobar_Novembar_Decembar".split("_"),monthsShort:"Jan._Feb._Mar._Apr._Maj_Jun_Jul_Avg._Sep._Okt._Nov._Dec.".split("_"),weekStart:1,relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",m:a.relativeTimeFormatter,mm:a.relativeTimeFormatter,h:a.relativeTimeFormatter,hh:a.relativeTimeFormatter,d:a.relativeTimeFormatter,dd:a.relativeTimeFormatter,M:a.relativeTimeFormatter,MM:a.relativeTimeFormatter,y:a.relativeTimeFormatter,yy:a.relativeTimeFormatter},ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"}};e.locale(d,null,!0);export{d as default}
|
@@ -0,0 +1,21 @@
|
|
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
|
+
/** @license
|
7
|
+
* Copyright 2022 Esri
|
8
|
+
*
|
9
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
10
|
+
* you may not use this file except in compliance with the License.
|
11
|
+
* You may obtain a copy of the License at
|
12
|
+
*
|
13
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
14
|
+
*
|
15
|
+
* Unless required by applicable law or agreed to in writing, software
|
16
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
17
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
18
|
+
* See the License for the specific language governing permissions and
|
19
|
+
* limitations under the License.
|
20
|
+
*/
|
21
|
+
var e,n;function t(t,o,c,r=!1){const u=parseInt(t),s=e[o],D=parseFloat(c.toString());if(Number.isNaN(D)||0===D)return"";const H=!0===r||"true"===r.toString().toLowerCase();let S;switch(u){case n.ALLIGATOR_CRACKING:S=i;break;case n.BLEEDING:S=l;break;case n.BLOCK_CRACKING:S=f;break;case n.BUMPS_SAGS:S=d;break;case n.CORRUGATION:S=b;break;case n.DEPRESSION:S=I;break;case n.EDGE_CRACKING:S=$;break;case n.REFLECTION_CRACKING:S=A;break;case n.LANE_SHOULDER_DROP_OFF:S=C;break;case n.LONG_TRANS_CRACKING:S=G;break;case n.PATCHING_UTIL_CUT_PATCHING:S=R;break;case n.POLISHED_AGGREGATE:S=N;break;case n.POTHOLES:S=h;break;case n.RAILROAD_CROSSING:S=p;break;case n.RUTTING:S=E;break;case n.SHOVING:S=O;break;case n.SLIPPAGE_CRACKING:S=k;break;case n.SWELL:S=v;break;case n.RAVELING:S=L;break;case n.WEATHERING:S=_}const M=S(s,Math.log10(D)),T=a(M),m=`${t}|${o}|${T}|${D}`;return H&&(console.log(`Deduct value: ${M}`),console.log(`Rounded deduct value: ${T}`),console.log(`Formatted devduct value (type|severity|roundedDV|density): ${m}`)),m}function o(e,n=!1){let t=e.indexOf("|")>-1?function(e,n){const t={},o=function(e){return e.split(",").reduce(((e,n)=>{const t=n.split("|"),o=t[0],c=t[1],r=parseFloat(t[2]),u=parseFloat(t[3]);return e[o]||(e[o]={}),e[o][c]={deductValue:r,density:u},e}),{})}(e),u=Object.keys(o).filter((e=>Object.keys(o[e]).length>1));return u.length>0&&u.forEach((e=>{let u,s,a,i,l,f;Object.keys(o[e]).forEach((n=>{"H"===n?(u=o[e][n].deductValue,i=o[e][n].density):"M"===n?(s=o[e][n].deductValue,l=o[e][n].density):(a=o[e][n].deductValue,f=o[e][n].density)}));const d=(i&&l&&f?c:r)(e,u,s,a,i,l,f,n);d&&(t[e]=d,n&&(console.log("updates"),console.log(t)))})),function(e,n){const t=[];return e.split(",").reduce(((e,o)=>{const c=o.split("|"),r=c[0],u=parseFloat(c[2]);return Object.keys(n).length>0&&n[r]?(t.push(r),e.push(...n[r]),delete n[r]):t.indexOf(r)<0&&e.push(u),e}),[])}(e,t)}(e,n):e.split(",").map((e=>parseFloat(e)));const o=!0===n||"true"===n.toString().toLowerCase();let u=0;if(t=t.filter((e=>Math.abs(e)>0)),t.length>0){const e=function(e,n){let t;const o=e.filter((e=>e>2));if(o.length<=1)t=o.reduce(((e,n)=>e+n),0),n&&(console.log("If none or only one individual deduct value is greater"),console.log("than two, the total value is used in place of the maximum CD"),console.log(`Max CDV: ${t}`));else{const o=e.sort(((e,n)=>n-e)),c=o[0],r=1+9/98*(100-c);if(n&&(console.log(`Deduct values sorted in descending order: ${o}`),console.log(`Highest deduct value: ${c}`),console.log(`Allowable number of deducts including fractions: ${r}`)),r<=10){const e=function(e,n){const t=n-Math.floor(n);return e.length<n?e:e.reduce(((e,o,c)=>(c+1<n?e.push(o):t>0&&e.push(a(o*t)),e)),[])}(o,r);n&&console.log(`Reduce deduct values to the m largest including the fractional part: ${e}`);const c=function(e,n){let t=e.length;const o=[];for(;t>=1;)n&&console.log(`vals: ${e}`),o.push(D(e,n)),t-=1,e.splice(t,1,2);return o}(e,n);t=Math.max(...c),n&&console.log(`Max CDV: ${t}`)}else n&&console.log("Allowable number of deducts including fractions (must be less than or equal to ten)")}return t}(t,o);u=100-a(e)}return u}function c(e,n,t,c,r,s,a,i){const l=o(`${n},${t},${c}`,!0);i&&(console.log("pci1"),console.log(l));const f=u(e,"M",(a+s).toString(),n,i),d=u(e,"H",(s+r).toString(),c,i),b=u(e,"H",(a+r).toString(),t,i),I=u(e,"H",(a+s+r).toString(),0,i);i&&(console.log("low med pci2"),console.log(f.pci),console.log("med high pci2"),console.log(d.pci),console.log("low high pci2"),console.log(b.pci),console.log("low med high pci2"),console.log(I.pci));const $=[f,d,b,I].reduce(((e,n)=>n.pci>l&&(!e||n.pci>e.pci)?n:e),void 0);return $?$.dv:void 0}function r(e,n,t,c,r,s,a,i){const l=o(`${n||t},${c||t}`,!0);i&&(console.log("pci1"),console.log(l));const f=r||s,d=u(e,f===r?"H":"M",(f+(a||s)).toString(),0,i);return i&&(console.log("pci2"),console.log(d.pci)),d.pci>l?d.dv:void 0}function u(e,n,c,r,u){const s=t(e,n,c).split("|"),a=parseFloat(s[2]);return{pci:o(`${s[2]},${r}`,u),dv:r?[a,r]:[a]}}function s(e,n){return n.reduce(((n,t,o)=>n+(0===o?t:1===o?t*e:t*Math.pow(e,o))),0)}function a(e){return Math.round(10*e)/10}function i(n,t){return s(t,n===e.H?[30.71,29.22,9.407,-6.981,-2.158,3.047,-.6578]:n===e.M?[21.62,21.32,5.194,-1.343,.2341]:[11.31,16.05,7.572,-1.471])}function l(n,t){return s(t,n===e.H?[5.343,6.927,7.926,4.265,-.7582]:n===e.M?[2.38,5.483,4.128,.8366,.03659,.1052]:[.01391,.5079,1.576,1.191,.1329,.03823])}function f(n,t){return s(t,n===e.H?[7.926,11.93,8.826,3.432,-1.382]:n===e.M?[2.587,9.142,6.647,-.455,-.2439,.1107]:[.646,4.002,4.2,.4987,-.06269])}function d(n,t){return s(t,n===e.H?[52.77,38.07,8.964,-.4148,-1.589,2.478]:n===e.M?[24.66,27.86,15.73,3.295,-5.27,5.921,7.959]:[8.768,13.79,7.064,7.455,6.041,-1.739,-1.371])}function b(n,t){return s(t,n===e.H?[34.21,21.59,1.863,6.141,-.687,-1.885,.4916]:n===e.M?[15.78,19.69,6.276,-2.124,.5868,.06045]:[2.173,5.609,5.976,-.7348,-.2172,1.494,-.5659])}function I(n,t){return s(t,n===e.H?[17.84,5.904,9.406,18.28,-2.753,-7.798,2.402]:n===e.M?[8.471,3.171,10.25,12.2,-.9687,-4.601,1.079]:[4.836,-.7572,4.786,12.39,1.233,-4.871,.9749])}function $(n,t){return s(t,n===e.H?[14.99,13.5,10.62,5.15,-1.792,-2.826]:n===e.M?[9.177,10.26,5.704,-.6812,-.8588,.2123]:[3.049,4.802,4.058,-.3556,-1.55,1.02])}function A(n,t){return s(t,n===e.H?[14.99,17.21,27.63,31.13,-20.94,-18.82,9.985]:n===e.M?[9.9193,10.88,8.073,14.8,-3.792,-9.583,3.651]:[2.356,6.664,3.717,-1.393,1.94,1.785,-.9707])}function C(n,t){return s(t,n===e.H?[7.549,6.907,7.284,9.304,2.064]:n===e.M?[4.02,1.744,14.36,15.92,-40.22,23.6]:[2.004,1.065,9.706,11.75,-27.52,15.04])}function G(n,t){return s(t,n===e.H?[19.56,24.06,12.12,9.336,1.532,-4.396]:n===e.M?[9.751,15.53,4.719,1.369,1.206,-1.164]:[2.347,9.074,8.424,-1.338,-1.873,1.144])}function R(n,t){return s(t,n===e.H?[20.15,16.55,5.415,10.77,3.257,-4.502]:n===e.M?[10.28,12.71,6.174,1.928,.6923,-.4673]:[2.523,6.892,5.702,2.407,.2185,-.8722])}function N(n,t){return s(t,n===e.H||n===e.M||n===e.L?[3.417,-26.82,71.15,-76.22,38.52,-6.904]:[])}function h(n,t){return s(t,n===e.H?[110.7,60.66,2.378,-2.664]:n===e.M?[90.47,60.41,-.1123,-4.746]:[58.19,40.53,2.884,-1.443,.1195])}function p(n,t){return s(t,n===e.H?[20,38.64,-62.82,193.6,-162.7,41.22]:n===e.M?[6.994,23.47,-52.3,167.3,-143.6,37.64]:[1.998,-.7488,13.8,-.7917,-1.981])}function E(n,t){return s(t,n===e.H?[27.61,25.19,8.557,1.65,-2.203]:n===e.M?[18.47,20.77,6.617,-1.13,-2.286]:[8.833,14.84,3.129,.1451,2.438,-1.279])}function O(n,t){return s(t,n===e.H?[18.7,20.17,10.3,4.694,1.331,-2.61]:n===e.M?[10.39,14.78,5.488,4.001,3.23,-2.387]:[4.002,10.66,6.332,-.5226,-.1923])}function k(n,t){return s(t,n===e.H?[19.73,32.21,25.87,-2.871,-10.55,1.496,.7393]:n===e.M?[11.38,18.55,18.38,1.628,-7.596,.5841,.5946]:[5.144,12.95,11.95,-.833,-2.995,1.325,-.2113])}function v(n,t){return s(t,n===e.H?[34,16.84,-23.09,41.17,-14.84]:n===e.M?[12,15.67,20.59,-28.33,21,-5.508]:[1.995,11.9,-12.83,16.74,-5.361])}function L(n,t){return s(t,n===e.H?[16.77,10.67,5.758,12.9,-.0633,-5.659,1.48]:n===e.M?[8.512,5.106,1.63,3.469,1.028,-1.211,.1938]:[])}function _(n,t){return s(t,n===e.H?[3.673,3.349,2.598,-1.233,2.754,2.434,-1.485]:n===e.M?[1.12,.9769,.93,-.5955,1.041,1.111,-.614]:[-.0386,-.0736,.834,1.63,-.0287,-.639,.1515])}function D(e,n){return function(e,n,t){const o=s(e,{7:[-9.482,.6045,3563e-7,-5448e-9],6:[-8.165,.5724,4266e-7,-4254e-9],5:[-7.932,.6091,3464e-7,-4265e-9],4:[-6.78,.6301,7376e-7,-6357e-9],3:[-5.015,.7546,-43e-5,-3075e-9],2:[-1.668,.7992,-3013e-7,-5214e-9],1:[1651e-18,1,-4249e-21,1149e-22]}[n>=7?7:n]);return t&&(console.log(`totalDV: ${e}`),console.log(`q: ${n}`),console.log(`CDV: ${o}`)),o}(e.reduce(((e,n)=>e+n),0),e.reduce(((e,n)=>n>2?e+1:e),0),n)}!function(e){e.H="H",e.M="M",e.L="L"}(e||(e={})),function(e){e[e.ALLIGATOR_CRACKING=1]="ALLIGATOR_CRACKING",e[e.BLEEDING=2]="BLEEDING",e[e.BLOCK_CRACKING=3]="BLOCK_CRACKING",e[e.BUMPS_SAGS=4]="BUMPS_SAGS",e[e.CORRUGATION=5]="CORRUGATION",e[e.DEPRESSION=6]="DEPRESSION",e[e.EDGE_CRACKING=7]="EDGE_CRACKING",e[e.REFLECTION_CRACKING=8]="REFLECTION_CRACKING",e[e.LANE_SHOULDER_DROP_OFF=9]="LANE_SHOULDER_DROP_OFF",e[e.LONG_TRANS_CRACKING=10]="LONG_TRANS_CRACKING",e[e.PATCHING_UTIL_CUT_PATCHING=11]="PATCHING_UTIL_CUT_PATCHING",e[e.POLISHED_AGGREGATE=12]="POLISHED_AGGREGATE",e[e.POTHOLES=13]="POTHOLES",e[e.RAILROAD_CROSSING=14]="RAILROAD_CROSSING",e[e.RUTTING=15]="RUTTING",e[e.SHOVING=16]="SHOVING",e[e.SLIPPAGE_CRACKING=17]="SLIPPAGE_CRACKING",e[e.SWELL=18]="SWELL",e[e.RAVELING=19]="RAVELING",e[e.WEATHERING=20]="WEATHERING"}(n||(n={}));export{n as E,e as a,t as b,o as c}
|