@esri/solutions-components 0.7.3 → 0.7.4
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/ExpandToggle-8aa3f03d.js +118 -0
- package/dist/cjs/FloatingArrow-a3a78fca.js +50 -0
- package/dist/cjs/Heading-a6308c38.js +25 -0
- package/dist/cjs/ar-8bcca75e.js +104 -0
- package/dist/cjs/arcgis-login.cjs.entry.js +1 -1
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +4 -3
- package/dist/cjs/bg-dd2c317a.js +82 -0
- package/dist/cjs/breakpoints-fcd0f2a0.js +17 -0
- package/dist/cjs/bs-2e880b80.js +51 -0
- package/dist/cjs/buffer-tools_3.cjs.entry.js +661 -0
- package/dist/cjs/ca-5cf9d5a1.js +71 -0
- package/dist/cjs/calcite-accordion-item.cjs.entry.js +2 -2
- package/dist/cjs/calcite-accordion.cjs.entry.js +1 -1
- package/dist/cjs/calcite-action-bar_3.cjs.entry.js +5 -5
- package/dist/cjs/calcite-action-group_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-action-pad_2.cjs.entry.js +296 -0
- package/dist/cjs/calcite-action_2.cjs.entry.js +3 -3
- package/dist/cjs/calcite-alert_3.cjs.entry.js +7 -6
- package/dist/cjs/calcite-avatar.cjs.entry.js +1 -1
- package/dist/cjs/calcite-block-section.cjs.entry.js +3 -3
- package/dist/cjs/calcite-block.cjs.entry.js +6 -6
- package/dist/cjs/calcite-button.cjs.entry.js +4 -4
- package/dist/cjs/calcite-card.cjs.entry.js +3 -3
- package/dist/cjs/calcite-checkbox_3.cjs.entry.js +4 -4
- package/dist/cjs/calcite-chip-group.cjs.entry.js +2 -2
- package/dist/cjs/calcite-chip.cjs.entry.js +4 -4
- package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +2 -2
- package/dist/cjs/calcite-color-picker.cjs.entry.js +3 -3
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-combobox_6.cjs.entry.js +10 -9
- package/dist/cjs/calcite-date-picker-day.cjs.entry.js +100 -0
- package/dist/cjs/calcite-date-picker_3.cjs.entry.js +990 -0
- package/dist/cjs/calcite-fab.cjs.entry.js +2 -2
- package/dist/cjs/calcite-filter_2.cjs.entry.js +237 -0
- package/dist/cjs/calcite-flow-item.cjs.entry.js +3 -3
- package/dist/cjs/calcite-flow.cjs.entry.js +2 -2
- package/dist/cjs/calcite-graph_2.cjs.entry.js +1098 -0
- package/dist/cjs/calcite-handle.cjs.entry.js +170 -0
- package/dist/cjs/calcite-icon.cjs.entry.js +1 -1
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +3 -3
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +6 -6
- package/dist/cjs/calcite-input-number.cjs.entry.js +4 -4
- package/dist/cjs/calcite-input-text.cjs.entry.js +4 -4
- package/dist/cjs/calcite-input-time-picker-a1e90ec2.js +1849 -0
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js +6 -6
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +4 -4
- package/dist/cjs/calcite-input_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-label.cjs.entry.js +1 -1
- package/dist/cjs/calcite-link.cjs.entry.js +2 -2
- package/dist/cjs/calcite-list-item-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-menu-item.cjs.entry.js +3 -3
- package/dist/cjs/calcite-menu.cjs.entry.js +3 -3
- package/dist/cjs/calcite-meter.cjs.entry.js +3 -3
- package/dist/cjs/calcite-modal.cjs.entry.js +5 -5
- package/dist/cjs/calcite-navigation-logo.cjs.entry.js +2 -2
- package/dist/cjs/calcite-navigation-user.cjs.entry.js +2 -2
- package/dist/cjs/calcite-navigation.cjs.entry.js +2 -2
- package/dist/cjs/calcite-notice.cjs.entry.js +167 -0
- package/dist/cjs/calcite-option-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-option_2.cjs.entry.js +3 -3
- package/dist/cjs/calcite-pagination.cjs.entry.js +3 -3
- package/dist/cjs/calcite-panel.cjs.entry.js +269 -0
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js +4 -4
- package/dist/cjs/calcite-pick-list.cjs.entry.js +3 -3
- package/dist/cjs/calcite-popover.cjs.entry.js +6 -6
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button.cjs.entry.js +3 -3
- package/dist/cjs/calcite-rating.cjs.entry.js +4 -4
- package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +3 -3
- package/dist/cjs/calcite-sheet.cjs.entry.js +3 -3
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js +2 -2
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +12 -10
- package/dist/cjs/calcite-shell.cjs.entry.js +157 -0
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +1 -1
- package/dist/cjs/calcite-split-button.cjs.entry.js +2 -2
- package/dist/cjs/calcite-stepper-item.cjs.entry.js +3 -3
- package/dist/cjs/calcite-stepper.cjs.entry.js +2 -2
- package/dist/cjs/calcite-switch.cjs.entry.js +3 -3
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +3 -3
- package/dist/cjs/calcite-table-row.cjs.entry.js +1 -1
- package/dist/cjs/calcite-table.cjs.entry.js +3 -3
- package/dist/cjs/calcite-text-area.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-tile-select.cjs.entry.js +2 -2
- package/dist/cjs/calcite-tile.cjs.entry.js +2 -2
- package/dist/cjs/calcite-time-picker.cjs.entry.js +3 -3
- package/dist/cjs/calcite-tip-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-tip-manager.cjs.entry.js +3 -3
- package/dist/cjs/calcite-tip.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tooltip.cjs.entry.js +438 -0
- package/dist/cjs/card-manager_3.cjs.entry.js +35 -9
- package/dist/cjs/common-4cd3537b.js +38 -0
- package/dist/cjs/conditionalSlot-d68de819.js +63 -0
- package/dist/cjs/crowdsource-manager.cjs.entry.js +3 -2
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +1 -1
- package/dist/cjs/cs-f072592b.js +147 -0
- package/dist/cjs/da-6af0e31c.js +66 -0
- package/dist/cjs/de-8d7e940e.js +91 -0
- package/dist/cjs/de-at-d864ad65.js +90 -0
- package/dist/cjs/de-ch-23108e0e.js +90 -0
- package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
- package/dist/cjs/downloadUtils-95e4a5b2.js +3124 -0
- package/dist/cjs/el-e6a28b0d.js +66 -0
- package/dist/cjs/en-au-9e23d436.js +66 -0
- package/dist/cjs/en-ca-34a501cb.js +65 -0
- package/dist/cjs/en-gb-33340e8a.js +69 -0
- package/dist/cjs/es-8adf47b0.js +66 -0
- package/dist/cjs/es-mx-44ad44a0.js +65 -0
- package/dist/cjs/esri-loader-a91c0ec1.js +303 -0
- package/dist/cjs/et-c9f248fa.js +92 -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/features-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/fi-e5ac8a6b.js +115 -0
- package/dist/cjs/form-1c637002.js +260 -0
- package/dist/cjs/fr-2ada2468.js +68 -0
- package/dist/cjs/fr-ch-645d30ad.js +66 -0
- package/dist/cjs/he-b6a59c60.js +105 -0
- package/dist/cjs/helpers-ff831524.js +903 -0
- package/dist/cjs/hi-6da5ed74.js +65 -0
- package/dist/cjs/hr-6f0e2b6e.js +80 -0
- package/dist/cjs/hu-f73982a9.js +88 -0
- package/dist/cjs/id-5e09da12.js +66 -0
- package/dist/cjs/index-22bb61da.js +201 -0
- package/dist/cjs/index-b8a649fc.js +2530 -0
- package/dist/cjs/index-f64944ad.js +2107 -0
- package/dist/cjs/index.es-a88403f8.js +10811 -0
- package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +501 -0
- package/dist/cjs/instant-apps-control-panel.cjs.entry.js +98 -0
- package/dist/cjs/instant-apps-export.cjs.entry.js +652 -0
- package/dist/cjs/instant-apps-filter-list.cjs.entry.js +997 -0
- package/dist/cjs/instant-apps-header.cjs.entry.js +126 -0
- package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +1582 -0
- package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +141 -0
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +56 -0
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +766 -0
- package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +115 -0
- package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +143 -0
- package/dist/cjs/instant-apps-landing-page.cjs.entry.js +104 -0
- package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +177 -0
- package/dist/cjs/instant-apps-language-translator.cjs.entry.js +250 -0
- package/dist/cjs/instant-apps-measurement.cjs.entry.js +70 -0
- package/dist/cjs/instant-apps-popover.cjs.entry.js +79 -0
- package/dist/cjs/instant-apps-popovers.cjs.entry.js +92 -0
- package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +467 -0
- package/dist/cjs/instant-apps-social-share.cjs.entry.js +502 -0
- package/dist/cjs/instant-apps-splash.cjs.entry.js +143 -0
- package/dist/cjs/it-94070661.js +66 -0
- package/dist/cjs/it-ch-8f628d09.js +66 -0
- package/dist/cjs/ja-b3dc5ef9.js +72 -0
- package/dist/cjs/ko-6ba17eb2.js +72 -0
- package/dist/cjs/languageSwitcher-cae609d9.js +58 -0
- package/dist/cjs/languageUtil-a3b464f8.js +69 -0
- package/dist/cjs/layout-manager.cjs.entry.js +3 -2
- package/dist/cjs/list-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/loadModules-1d0f0316.js +23 -0
- package/dist/cjs/loadModules-46d14e81.js +30 -0
- package/dist/cjs/loadable-e209caa9.js +94 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/locale-56c3447b.js +82 -0
- package/dist/cjs/locale-9db09b63.js +122 -0
- package/dist/cjs/location-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/lt-2354e625.js +97 -0
- package/dist/cjs/lv-cc37b69c.js +66 -0
- package/dist/cjs/map-select-tools_3.cjs.entry.js +10 -8
- package/dist/cjs/mk-ac4a31aa.js +66 -0
- package/dist/cjs/mode-d6c12b38.js +19 -0
- package/dist/cjs/nb-abd9538a.js +67 -0
- package/dist/cjs/nl-c624c786.js +67 -0
- package/dist/cjs/openCloseComponent-cf70bddd.js +92 -0
- package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
- package/dist/cjs/pl-04f956d5.js +114 -0
- package/dist/cjs/pt-aabed5c9.js +67 -0
- package/dist/cjs/pt-br-ea295f22.js +65 -0
- package/dist/cjs/public-notification.cjs.entry.js +10 -8
- package/dist/cjs/publicNotificationStore-3a17c2f4.js +47 -0
- package/dist/cjs/refine-results-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/restHelpersGet-e0737480.js +972 -0
- package/dist/cjs/ro-0a9832f9.js +66 -0
- package/dist/cjs/ru-9fe91395.js +126 -0
- package/dist/cjs/share-item.cjs.entry.js +1 -1
- package/dist/cjs/shared-list-render-b73b4b3d.js +364 -0
- package/dist/cjs/sk-0f14807f.js +148 -0
- package/dist/cjs/sl-91ca20d1.js +168 -0
- package/dist/cjs/solution-configuration.cjs.entry.js +8 -6
- package/dist/cjs/solution-contents_3.cjs.entry.js +9 -7
- package/dist/cjs/solution-item-icon.cjs.entry.js +1 -1
- package/dist/cjs/solution-resource-abec7452.js +141 -0
- package/dist/cjs/solution-store-ab6c980f.js +1344 -0
- package/dist/cjs/solutions-components.cjs.js +2 -2
- package/dist/cjs/spatial-ref.cjs.entry.js +6 -4
- package/dist/cjs/sr-bf45936b.js +101 -0
- package/dist/cjs/store-manager.cjs.entry.js +1 -1
- package/dist/cjs/sv-e20bd76f.js +71 -0
- package/dist/cjs/t9n-8460f178.js +100 -0
- package/dist/cjs/th-2a65e2af.js +65 -0
- package/dist/cjs/tr-55642c14.js +66 -0
- package/dist/cjs/uk-cee39dac.js +104 -0
- package/dist/cjs/utils-41eb3a01.js +120 -0
- package/dist/cjs/utils-bf5f34d7.js +64 -0
- package/dist/cjs/vi-264d924f.js +70 -0
- package/dist/cjs/zh-cn-31b500d4.js +94 -0
- package/dist/cjs/zh-hk-03ee3a8e.js +71 -0
- package/dist/cjs/zh-tw-13f729f1.js +92 -0
- package/dist/collection/collection-manifest.json +33 -0
- package/dist/collection/components/layer-table/layer-table.css +11 -1
- package/dist/collection/components/layer-table/layer-table.js +27 -16
- package/dist/components/action-pad.js +229 -0
- package/dist/components/block.js +281 -0
- package/dist/components/breakpoints.js +15 -0
- package/dist/components/calcite-action-pad.js +1 -222
- package/dist/components/calcite-block.js +1 -274
- package/dist/components/calcite-input-date-picker.js +1 -808
- package/dist/components/calcite-input-time-zone.js +1 -1
- package/dist/components/crowdsource-manager.js +76 -70
- package/dist/components/downloadUtils.js +1 -0
- package/dist/components/helpers.js +800 -0
- package/dist/components/index3.js +2068 -162
- package/dist/components/index4.js +179 -184
- package/dist/components/index5.js +188 -55
- package/dist/components/index6.js +71 -0
- package/dist/components/input-date-picker.js +815 -0
- package/dist/components/instant-apps-ckeditor-wrapper.js +11 -0
- package/dist/components/instant-apps-ckeditor-wrapper2.js +142 -0
- package/dist/components/instant-apps-control-panel.js +114 -0
- package/dist/components/instant-apps-export.js +750 -0
- package/dist/components/instant-apps-filter-list.js +1170 -0
- package/dist/components/instant-apps-header.js +11 -0
- package/dist/components/instant-apps-header2.js +175 -0
- package/dist/components/instant-apps-interactive-legend-classic.js +11 -0
- package/dist/components/instant-apps-interactive-legend-classic2.js +1674 -0
- package/dist/components/instant-apps-interactive-legend-count.js +11 -0
- package/dist/components/instant-apps-interactive-legend-count2.js +121 -0
- package/dist/components/instant-apps-interactive-legend-group-legend-element-caption.js +97 -0
- package/dist/components/instant-apps-interactive-legend-group-legend-element.js +11 -0
- package/dist/components/instant-apps-interactive-legend-group-legend-element2.js +99 -0
- package/dist/components/instant-apps-interactive-legend-layer-element-caption.js +11 -0
- package/dist/components/instant-apps-interactive-legend-layer-element-caption2.js +92 -0
- package/dist/components/instant-apps-interactive-legend-layer-element.js +11 -0
- package/dist/components/instant-apps-interactive-legend-layer-element2.js +100 -0
- package/dist/components/instant-apps-interactive-legend-legend-element-caption.js +11 -0
- package/dist/components/instant-apps-interactive-legend-legend-element-caption2.js +152 -0
- package/dist/components/instant-apps-interactive-legend-legend-element.js +11 -0
- package/dist/components/instant-apps-interactive-legend-legend-element2.js +122 -0
- package/dist/components/instant-apps-interactive-legend-relationship.js +11 -0
- package/dist/components/instant-apps-interactive-legend-relationship2.js +565 -0
- package/dist/components/instant-apps-interactive-legend.js +217 -0
- package/dist/components/instant-apps-keyboard-shortcuts.js +211 -0
- package/dist/components/instant-apps-landing-page.js +150 -0
- package/dist/components/instant-apps-language-switcher.js +311 -0
- package/dist/components/instant-apps-language-translator-item.js +11 -0
- package/dist/components/instant-apps-language-translator-item2.js +353 -0
- package/dist/components/instant-apps-language-translator-search.js +11 -0
- package/dist/components/instant-apps-language-translator-search2.js +131 -0
- package/dist/components/instant-apps-language-translator.js +11 -0
- package/dist/components/instant-apps-language-translator2.js +412 -0
- package/dist/components/instant-apps-measurement-tool.js +11 -0
- package/dist/components/instant-apps-measurement-tool2.js +154 -0
- package/dist/components/instant-apps-measurement.js +154 -0
- package/dist/components/instant-apps-popover.js +136 -0
- package/dist/components/instant-apps-popovers.js +115 -0
- package/dist/components/instant-apps-scoreboard.js +522 -0
- package/dist/components/instant-apps-social-share.js +11 -0
- package/dist/components/instant-apps-social-share2.js +566 -0
- package/dist/components/instant-apps-splash.js +206 -0
- package/dist/components/languageUtil.js +66 -0
- package/dist/components/layer-table2.js +77 -47
- package/dist/components/loadModules2.js +21 -0
- package/dist/components/locale3.js +77 -0
- package/dist/components/mode.js +17 -0
- package/dist/components/publicNotificationStore.js +1 -1
- package/dist/components/restHelpersGet.js +1 -0
- package/dist/components/solution-configuration.js +1 -0
- package/dist/components/solution-resource-item2.js +1 -0
- package/dist/components/solution-resource.js +1 -1699
- package/dist/components/solution-store.js +2 -1
- package/dist/components/spatial-ref2.js +1 -0
- package/dist/components/store.js +86 -0
- package/dist/components/utils4.js +111 -0
- package/dist/esm/ExpandToggle-52a39281.js +110 -0
- package/dist/esm/FloatingArrow-337e6e2c.js +48 -0
- package/dist/esm/Heading-f6569cca.js +22 -0
- package/dist/esm/ar-f77800f7.js +102 -0
- package/dist/esm/arcgis-login.entry.js +1 -1
- package/dist/esm/basemap-gallery_7.entry.js +4 -3
- package/dist/esm/bg-db2ef59b.js +80 -0
- package/dist/esm/breakpoints-f0f1417d.js +15 -0
- package/dist/esm/bs-f93b1f4d.js +49 -0
- package/dist/esm/buffer-tools_3.entry.js +655 -0
- package/dist/esm/ca-2b18b8fd.js +69 -0
- package/dist/esm/calcite-accordion-item.entry.js +2 -2
- package/dist/esm/calcite-accordion.entry.js +1 -1
- package/dist/esm/calcite-action-bar_3.entry.js +6 -6
- package/dist/esm/calcite-action-group_2.entry.js +5 -5
- package/dist/esm/calcite-action-pad_2.entry.js +291 -0
- package/dist/esm/calcite-action_2.entry.js +4 -4
- package/dist/esm/calcite-alert_3.entry.js +8 -7
- package/dist/esm/calcite-avatar.entry.js +1 -1
- package/dist/esm/calcite-block-section.entry.js +4 -4
- package/dist/esm/calcite-block.entry.js +7 -7
- package/dist/esm/calcite-button.entry.js +5 -5
- package/dist/esm/calcite-card.entry.js +4 -4
- package/dist/esm/calcite-checkbox_3.entry.js +4 -4
- package/dist/esm/calcite-chip-group.entry.js +2 -2
- package/dist/esm/calcite-chip.entry.js +5 -5
- package/dist/esm/calcite-color-picker-hex-input_2.entry.js +2 -2
- package/dist/esm/calcite-color-picker.entry.js +4 -4
- package/dist/esm/calcite-combobox-item-group.entry.js +1 -1
- package/dist/esm/calcite-combobox_6.entry.js +11 -10
- package/dist/esm/calcite-date-picker-day.entry.js +96 -0
- package/dist/esm/calcite-date-picker_3.entry.js +984 -0
- package/dist/esm/calcite-fab.entry.js +2 -2
- package/dist/esm/calcite-filter_2.entry.js +232 -0
- package/dist/esm/calcite-flow-item.entry.js +4 -4
- package/dist/esm/calcite-flow.entry.js +2 -2
- package/dist/esm/calcite-graph_2.entry.js +1093 -0
- package/dist/esm/calcite-handle.entry.js +166 -0
- package/dist/esm/calcite-icon.entry.js +1 -1
- package/dist/esm/calcite-inline-editable.entry.js +4 -4
- package/dist/esm/calcite-input-date-picker.entry.js +8 -8
- package/dist/esm/calcite-input-number.entry.js +5 -5
- package/dist/esm/calcite-input-text.entry.js +5 -5
- package/dist/esm/calcite-input-time-picker-9906784a.js +1846 -0
- package/dist/esm/calcite-input-time-picker.entry.js +8 -8
- package/dist/esm/calcite-input-time-zone.entry.js +5 -5
- package/dist/esm/calcite-input_2.entry.js +5 -5
- package/dist/esm/calcite-label.entry.js +1 -1
- package/dist/esm/calcite-link.entry.js +2 -2
- package/dist/esm/calcite-list-item-group.entry.js +1 -1
- package/dist/esm/calcite-menu-item.entry.js +4 -4
- package/dist/esm/calcite-menu.entry.js +4 -4
- package/dist/esm/calcite-meter.entry.js +4 -4
- package/dist/esm/calcite-modal.entry.js +6 -6
- package/dist/esm/calcite-navigation-logo.entry.js +2 -2
- package/dist/esm/calcite-navigation-user.entry.js +2 -2
- package/dist/esm/calcite-navigation.entry.js +2 -2
- package/dist/esm/calcite-notice.entry.js +163 -0
- package/dist/esm/calcite-option-group.entry.js +1 -1
- package/dist/esm/calcite-option_2.entry.js +3 -3
- package/dist/esm/calcite-pagination.entry.js +4 -4
- package/dist/esm/calcite-panel.entry.js +265 -0
- package/dist/esm/calcite-pick-list-group.entry.js +3 -3
- package/dist/esm/calcite-pick-list-item.entry.js +5 -5
- package/dist/esm/calcite-pick-list.entry.js +3 -3
- package/dist/esm/calcite-popover.entry.js +7 -7
- package/dist/esm/calcite-radio-button-group.entry.js +2 -2
- package/dist/esm/calcite-radio-button.entry.js +3 -3
- package/dist/esm/calcite-rating.entry.js +5 -5
- package/dist/esm/calcite-scrim.entry.js +3 -3
- package/dist/esm/calcite-segmented-control_2.entry.js +3 -3
- package/dist/esm/calcite-sheet.entry.js +3 -3
- package/dist/esm/calcite-shell-center-row.entry.js +2 -2
- package/dist/esm/calcite-shell-panel_14.entry.js +13 -11
- package/dist/esm/calcite-shell.entry.js +153 -0
- package/dist/esm/calcite-sortable-list.entry.js +1 -1
- package/dist/esm/calcite-split-button.entry.js +2 -2
- package/dist/esm/calcite-stepper-item.entry.js +4 -4
- package/dist/esm/calcite-stepper.entry.js +3 -3
- package/dist/esm/calcite-switch.entry.js +3 -3
- package/dist/esm/calcite-table-cell_2.entry.js +4 -4
- package/dist/esm/calcite-table-row.entry.js +1 -1
- package/dist/esm/calcite-table.entry.js +4 -4
- package/dist/esm/calcite-text-area.entry.js +5 -5
- package/dist/esm/calcite-tile-select-group.entry.js +1 -1
- package/dist/esm/calcite-tile-select.entry.js +2 -2
- package/dist/esm/calcite-tile.entry.js +2 -2
- package/dist/esm/calcite-time-picker.entry.js +5 -5
- package/dist/esm/calcite-tip-group.entry.js +1 -1
- package/dist/esm/calcite-tip-manager.entry.js +4 -4
- package/dist/esm/calcite-tip.entry.js +5 -5
- package/dist/esm/calcite-tooltip.entry.js +434 -0
- package/dist/esm/card-manager_3.entry.js +35 -9
- package/dist/esm/common-2cf42ac2.js +36 -0
- package/dist/esm/conditionalSlot-a714d511.js +60 -0
- package/dist/esm/crowdsource-manager.entry.js +3 -2
- package/dist/esm/crowdsource-reporter.entry.js +1 -1
- package/dist/esm/cs-deb5a8b8.js +145 -0
- package/dist/esm/da-200f1715.js +64 -0
- package/dist/esm/date-b6645c2f.js +245 -0
- package/dist/esm/de-2a1519db.js +89 -0
- package/dist/esm/de-at-f6b9f5e9.js +88 -0
- package/dist/esm/de-ch-57100172.js +88 -0
- package/dist/esm/deduct-calculator.entry.js +1 -1
- package/dist/esm/downloadUtils-83dd2143.js +3118 -0
- package/dist/esm/el-d8748e54.js +64 -0
- package/dist/esm/en-au-c4fb48e2.js +64 -0
- package/dist/esm/en-ca-e7c89089.js +63 -0
- package/dist/esm/en-gb-a9b09a37.js +67 -0
- package/dist/esm/es-b9849b68.js +64 -0
- package/dist/esm/es-mx-a6683427.js +63 -0
- package/dist/esm/esri-loader-eda07632.js +301 -0
- package/dist/esm/et-5977f99c.js +90 -0
- package/dist/esm/feature-comments.entry.js +1 -1
- package/dist/esm/feature-form-flow-item.entry.js +1 -1
- package/dist/esm/features-flow-item.entry.js +1 -1
- package/dist/esm/fi-7c833852.js +113 -0
- package/dist/esm/form-20beb147.js +252 -0
- package/dist/esm/fr-666c6e38.js +66 -0
- package/dist/esm/fr-ch-c31a993e.js +64 -0
- package/dist/esm/he-0f33cd21.js +103 -0
- package/dist/esm/helpers-e8282221.js +877 -0
- package/dist/esm/hi-7c013995.js +63 -0
- package/dist/esm/hr-0beace22.js +78 -0
- package/dist/esm/hu-b9e83513.js +86 -0
- package/dist/esm/id-e79416a2.js +64 -0
- package/dist/esm/index-7183ce4a.js +2496 -0
- package/dist/esm/index-857df22e.js +199 -0
- package/dist/esm/index-a1e91462.js +2105 -0
- package/dist/esm/index.es-0c98e2f3.js +10725 -0
- package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +495 -0
- package/dist/esm/instant-apps-control-panel.entry.js +94 -0
- package/dist/esm/instant-apps-export.entry.js +648 -0
- package/dist/esm/instant-apps-filter-list.entry.js +993 -0
- package/dist/esm/instant-apps-header.entry.js +122 -0
- package/dist/esm/instant-apps-interactive-legend-classic.entry.js +1578 -0
- package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +136 -0
- package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +52 -0
- package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +758 -0
- package/dist/esm/instant-apps-interactive-legend.entry.js +111 -0
- package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +139 -0
- package/dist/esm/instant-apps-landing-page.entry.js +100 -0
- package/dist/esm/instant-apps-language-switcher.entry.js +173 -0
- package/dist/esm/instant-apps-language-translator.entry.js +246 -0
- package/dist/esm/instant-apps-measurement.entry.js +66 -0
- package/dist/esm/instant-apps-popover.entry.js +75 -0
- package/dist/esm/instant-apps-popovers.entry.js +88 -0
- package/dist/esm/instant-apps-scoreboard.entry.js +463 -0
- package/dist/esm/instant-apps-social-share.entry.js +498 -0
- package/dist/esm/instant-apps-splash.entry.js +139 -0
- package/dist/esm/it-37653e1d.js +64 -0
- package/dist/esm/it-ch-23524bd0.js +64 -0
- package/dist/esm/ja-7e8f1da7.js +70 -0
- package/dist/esm/ko-f251bcd0.js +70 -0
- package/dist/esm/languageSwitcher-75765d90.js +55 -0
- package/dist/esm/languageUtil-8b54477c.js +66 -0
- package/dist/esm/layout-manager.entry.js +3 -2
- package/dist/esm/list-flow-item.entry.js +1 -1
- package/dist/esm/loadModules-037feea8.js +21 -0
- package/dist/esm/loadModules-cea493da.js +28 -0
- package/dist/esm/loadable-4ea020fa.js +89 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/locale-53d724b5.js +77 -0
- package/dist/esm/locale-834c52c6.js +119 -0
- package/dist/esm/locale-f08c5b10.js +594 -0
- package/dist/esm/location-flow-item.entry.js +1 -1
- package/dist/esm/lt-cdddaadd.js +95 -0
- package/dist/esm/lv-2cc9a2c6.js +64 -0
- package/dist/esm/map-select-tools_3.entry.js +10 -8
- package/dist/esm/mk-b8e24f01.js +64 -0
- package/dist/esm/mode-66911cb5.js +17 -0
- package/dist/esm/nb-f1105c34.js +65 -0
- package/dist/esm/nl-2e6ded8f.js +65 -0
- package/dist/esm/openCloseComponent-d85ff5f3.js +90 -0
- package/dist/esm/pci-calculator.entry.js +1 -1
- package/dist/esm/pl-433c515d.js +112 -0
- package/dist/esm/pt-br-7e11f4a3.js +63 -0
- package/dist/esm/pt-d448bc92.js +65 -0
- package/dist/esm/public-notification.entry.js +10 -8
- package/dist/esm/publicNotificationStore-9362d7ae.js +45 -0
- package/dist/esm/refine-results-flow-item.entry.js +1 -1
- package/dist/esm/restHelpersGet-af032ab2.js +959 -0
- package/dist/esm/ro-1392a615.js +64 -0
- package/dist/esm/ru-ffcd1533.js +124 -0
- package/dist/esm/share-item.entry.js +1 -1
- package/dist/esm/shared-list-render-3f6a670f.js +342 -0
- package/dist/esm/sk-28b09fd6.js +146 -0
- package/dist/esm/sl-a85a243f.js +166 -0
- package/dist/esm/solution-configuration.entry.js +8 -6
- package/dist/esm/solution-contents_3.entry.js +9 -7
- package/dist/esm/solution-item-icon.entry.js +1 -1
- package/dist/esm/solution-resource-7b8d302d.js +138 -0
- package/dist/esm/solution-store-b08696f7.js +1342 -0
- package/dist/esm/solutions-components.js +3 -3
- package/dist/esm/spatial-ref.entry.js +6 -4
- package/dist/esm/sr-fcd3b800.js +99 -0
- package/dist/esm/store-manager.entry.js +1 -1
- package/dist/esm/sv-10bb847b.js +69 -0
- package/dist/esm/t9n-ff209b55.js +95 -0
- package/dist/esm/th-60df6ca9.js +63 -0
- package/dist/esm/time-8fc11a36.js +274 -0
- package/dist/esm/tr-d2a9de1a.js +64 -0
- package/dist/esm/uk-f65b52d5.js +102 -0
- package/dist/esm/utils-06bace50.js +111 -0
- package/dist/esm/utils-5fbb928b.js +61 -0
- package/dist/esm/vi-a661d397.js +68 -0
- package/dist/esm/zh-cn-a71a90fa.js +92 -0
- package/dist/esm/zh-hk-352c4f2e.js +69 -0
- package/dist/esm/zh-tw-de9cb649.js +90 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-control-panel/instant-apps-control-panel.css +3 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-export/instant-apps-export.css +81 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-filter-list/instant-apps-filter-list.css +104 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-header/instant-apps-header.css +165 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-classic/instant-apps-interactive-legend-classic.css +124 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-count/instant-apps-interactive-legend-count.css +18 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-group-legend-element/instant-apps-interactive-legend-group-legend-element.css +10 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-group-legend-element-caption/instant-apps-interactive-legend-group-legend-element-caption.css +67 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-layer-element/instant-apps-interactive-legend-layer-element.css +17 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-layer-element-caption/instant-apps-interactive-legend-layer-element-caption.css +68 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-legend-element/instant-apps-interactive-legend-legend-element.css +10 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-legend-element-caption/instant-apps-interactive-legend-legend-element-caption.css +52 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-relationship/instant-apps-interactive-legend-relationship.css +15 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend.css +12 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-keyboard-shortcuts/instant-apps-keyboard-shortcuts.css +33 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-landing-page/instant-apps-landing-page.css +222 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-switcher/instant-apps-language-switcher.css +13 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-translator/instant-apps-ckeditor-wrapper/instant-apps-ckeditor-wrapper.css +3 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-translator/instant-apps-language-translator-item/instant-apps-language-translator-item.css +83 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-translator/instant-apps-language-translator-search/instant-apps-language-translator-search.css +34 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-translator/instant-apps-language-translator.css +86 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-measurement/instant-apps-measurement-tool/instant-apps-measurement-tool.css +6 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-measurement/instant-apps-measurement.css +6 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-popover/instant-apps-popover.css +58 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-popovers/instant-apps-popovers.css +3 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-scoreboard/instant-apps-scoreboard.css +200 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-social-share/instant-apps-social-share.css +273 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-splash/instant-apps-splash.css +10 -0
- package/dist/solutions-components/p-00639754.js +6 -0
- package/dist/solutions-components/p-0103dee1.entry.js +6 -0
- package/dist/solutions-components/p-019f0baa.entry.js +6 -0
- package/dist/solutions-components/p-03466ab3.js +6 -0
- package/dist/solutions-components/p-0637dbc2.entry.js +6 -0
- package/dist/solutions-components/p-066ceb3b.entry.js +11 -0
- package/dist/solutions-components/p-077dd2ca.js +6 -0
- package/dist/solutions-components/p-089dc6bf.entry.js +6 -0
- package/dist/solutions-components/p-0959f0ba.entry.js +6 -0
- package/dist/solutions-components/p-0a0d0d3a.entry.js +6 -0
- package/dist/solutions-components/p-0ad0b29a.js +6 -0
- package/dist/solutions-components/p-0e64cb34.entry.js +11 -0
- package/dist/solutions-components/p-0f5defc9.entry.js +11 -0
- package/dist/solutions-components/p-0ff2ce41.js +6 -0
- package/dist/solutions-components/p-10c627d2.entry.js +6 -0
- package/dist/solutions-components/p-149d80ad.js +6 -0
- package/dist/solutions-components/p-14a48b14.js +6 -0
- package/dist/solutions-components/p-18245133.js +6 -0
- package/dist/solutions-components/p-188483e2.entry.js +6 -0
- package/dist/solutions-components/p-19f5577d.js +6 -0
- package/dist/solutions-components/p-1b267b47.entry.js +29 -0
- package/dist/solutions-components/p-1b9fb070.entry.js +6 -0
- package/dist/solutions-components/p-21c2d29c.entry.js +6 -0
- package/dist/solutions-components/p-21ccd955.entry.js +6 -0
- package/dist/solutions-components/p-220ec0d1.js +66 -0
- package/dist/solutions-components/p-225c4ca4.js +6 -0
- package/dist/solutions-components/p-23f5989b.js +6 -0
- package/dist/solutions-components/p-23fa75e8.entry.js +11 -0
- package/dist/solutions-components/p-2540efd5.entry.js +17 -0
- package/dist/solutions-components/p-28a5d3d0.js +6 -0
- package/dist/solutions-components/p-2f496e4c.entry.js +6 -0
- package/dist/solutions-components/p-3186b4b6.entry.js +11 -0
- package/dist/solutions-components/p-319c5251.entry.js +11 -0
- package/dist/solutions-components/p-3272b303.entry.js +11 -0
- package/dist/solutions-components/p-33cab25b.entry.js +11 -0
- package/dist/solutions-components/p-35f6e2e8.entry.js +6 -0
- package/dist/solutions-components/p-36eb8399.js +145 -0
- package/dist/solutions-components/p-3ac10964.js +6 -0
- package/dist/solutions-components/p-3c3c2587.entry.js +6 -0
- package/dist/solutions-components/p-3d17ee9f.entry.js +6 -0
- package/dist/solutions-components/p-3e30d94c.entry.js +6 -0
- package/dist/solutions-components/p-3f80aa6c.entry.js +11 -0
- package/dist/solutions-components/p-4052ab77.entry.js +6 -0
- package/dist/solutions-components/p-4193c543.entry.js +47 -0
- package/dist/solutions-components/p-423ba032.entry.js +11 -0
- package/dist/solutions-components/p-4349583f.js +6 -0
- package/dist/solutions-components/p-43546966.entry.js +6 -0
- package/dist/solutions-components/p-43e05fb4.entry.js +11 -0
- package/dist/solutions-components/p-442f8a22.js +6 -0
- package/dist/solutions-components/p-44e4e81d.entry.js +11 -0
- package/dist/solutions-components/p-4507fcfc.entry.js +11 -0
- package/dist/solutions-components/p-450bb7fb.js +6 -0
- package/dist/solutions-components/p-4671a5b6.entry.js +6 -0
- package/dist/solutions-components/p-48ff9cea.js +21 -0
- package/dist/solutions-components/p-49d11f7b.entry.js +17 -0
- package/dist/solutions-components/p-4a7dfcc3.entry.js +12 -0
- package/dist/solutions-components/p-4ee789e1.entry.js +21 -0
- package/dist/solutions-components/p-52afba17.entry.js +6 -0
- package/dist/solutions-components/p-54197bfa.entry.js +11 -0
- package/dist/solutions-components/p-5463e1aa.js +6 -0
- package/dist/solutions-components/p-58aa5973.js +6 -0
- package/dist/solutions-components/p-59337ddc.js +6 -0
- package/dist/solutions-components/p-59407d94.entry.js +6 -0
- package/dist/solutions-components/p-5953ebe8.entry.js +36 -0
- package/dist/solutions-components/p-59837e81.js +6 -0
- package/dist/solutions-components/p-5a60178d.js +11 -0
- package/dist/solutions-components/p-5a885617.entry.js +6 -0
- package/dist/solutions-components/p-5f79d121.entry.js +6 -0
- package/dist/solutions-components/p-60cdbf65.js +6 -0
- package/dist/solutions-components/p-6175d614.js +6 -0
- package/dist/solutions-components/p-61a523a6.entry.js +6 -0
- package/dist/solutions-components/p-6268020e.entry.js +6 -0
- package/dist/solutions-components/p-6384cfd0.entry.js +11 -0
- package/dist/solutions-components/p-63f76755.entry.js +11 -0
- package/dist/solutions-components/p-66f20ed3.js +6 -0
- package/dist/solutions-components/p-6a0777f1.entry.js +11 -0
- package/dist/solutions-components/p-6a9a9589.entry.js +11 -0
- package/dist/solutions-components/p-6b494d23.entry.js +18 -0
- package/dist/solutions-components/p-6b943f52.js +21 -0
- package/dist/solutions-components/p-6bba7223.entry.js +11 -0
- package/dist/solutions-components/p-6eeebb54.entry.js +11 -0
- package/dist/solutions-components/p-6fff23ce.js +6 -0
- package/dist/solutions-components/p-7283bfe4.entry.js +6 -0
- package/dist/solutions-components/p-72920bd9.entry.js +11 -0
- package/dist/solutions-components/p-74a89c71.entry.js +6 -0
- package/dist/solutions-components/p-77fe67bc.js +6 -0
- package/dist/solutions-components/p-78780f63.js +7 -0
- package/dist/solutions-components/p-796ce3a2.entry.js +6 -0
- package/dist/solutions-components/p-7b2c0232.js +6 -0
- package/dist/solutions-components/p-7ba359e7.js +6 -0
- package/dist/solutions-components/p-7d5d4770.entry.js +17 -0
- package/dist/solutions-components/p-7d635859.entry.js +17 -0
- package/dist/solutions-components/p-7eec285c.entry.js +6 -0
- package/dist/solutions-components/p-7f8b34ec.entry.js +17 -0
- package/dist/solutions-components/p-80bc8ff8.js +6 -0
- package/dist/solutions-components/p-811313d1.entry.js +6 -0
- package/dist/solutions-components/p-81c5c5f2.entry.js +6 -0
- package/dist/solutions-components/p-825c045a.entry.js +6 -0
- package/dist/solutions-components/p-83cf2842.js +6 -0
- package/dist/solutions-components/p-84034340.js +6 -0
- package/dist/solutions-components/p-840bf17d.entry.js +11 -0
- package/dist/solutions-components/p-847193e7.entry.js +6 -0
- package/dist/solutions-components/p-8479b57c.entry.js +6 -0
- package/dist/solutions-components/p-8684a905.js +21 -0
- package/dist/solutions-components/p-88d4aca3.js +11 -0
- package/dist/solutions-components/p-89dbc9bb.entry.js +11 -0
- package/dist/solutions-components/p-8a80c2c0.js +11 -0
- package/dist/solutions-components/p-8b45a9f3.js +6 -0
- package/dist/solutions-components/p-8b626490.js +11 -0
- package/dist/solutions-components/p-8b6dd664.entry.js +11 -0
- package/dist/solutions-components/p-8b8b2f3a.entry.js +6 -0
- package/dist/solutions-components/p-8dfdd18e.js +6 -0
- package/dist/solutions-components/p-8e552755.js +11 -0
- package/dist/solutions-components/p-9063316f.entry.js +11 -0
- package/dist/solutions-components/p-9190f5a9.entry.js +6 -0
- package/dist/solutions-components/p-91af3a8c.entry.js +6 -0
- package/dist/solutions-components/p-92c5117e.js +6 -0
- package/dist/solutions-components/p-93510a8c.entry.js +11 -0
- package/dist/solutions-components/p-93cfd220.entry.js +17 -0
- package/dist/solutions-components/p-946214a3.entry.js +11 -0
- package/dist/solutions-components/p-951a5673.entry.js +6 -0
- package/dist/solutions-components/p-96ac6d8a.entry.js +16 -0
- package/dist/solutions-components/p-9806d57b.js +6 -0
- package/dist/solutions-components/p-994a2cd8.entry.js +11 -0
- package/dist/solutions-components/p-998940b9.js +6 -0
- package/dist/solutions-components/p-9b84f526.entry.js +11 -0
- package/dist/solutions-components/p-9b9962f8.entry.js +6 -0
- package/dist/solutions-components/p-9bcbc1cc.js +21 -0
- package/dist/solutions-components/p-9bcbc357.js +11 -0
- package/dist/solutions-components/p-9c0818c4.js +6 -0
- package/dist/solutions-components/p-9e92fd19.entry.js +6 -0
- package/dist/solutions-components/p-9f742819.entry.js +11 -0
- package/dist/solutions-components/p-a01d0e29.entry.js +11 -0
- package/dist/solutions-components/p-a05de942.entry.js +11 -0
- package/dist/solutions-components/p-a0aca601.js +6 -0
- package/dist/solutions-components/p-a14fb8df.entry.js +11 -0
- package/dist/solutions-components/p-a15b73bb.entry.js +11 -0
- package/dist/solutions-components/p-a230b270.js +16 -0
- package/dist/solutions-components/p-a43e4f84.entry.js +11 -0
- package/dist/solutions-components/p-a44f1e85.entry.js +6 -0
- package/dist/solutions-components/p-a46dbf0a.js +6 -0
- package/dist/solutions-components/p-a4755ea8.entry.js +6 -0
- package/dist/solutions-components/p-a79147a2.entry.js +11 -0
- package/dist/solutions-components/p-a7957f1b.entry.js +11 -0
- package/dist/solutions-components/p-a7a06d6a.js +6 -0
- package/dist/solutions-components/p-ab6a2ecf.entry.js +6 -0
- package/dist/solutions-components/p-abab359e.entry.js +6 -0
- package/dist/solutions-components/p-abea8ef5.js +6 -0
- package/dist/solutions-components/p-ad5f374e.entry.js +6 -0
- package/dist/solutions-components/p-ad83172d.entry.js +11 -0
- package/dist/solutions-components/p-ada368a5.entry.js +6 -0
- package/dist/solutions-components/p-afd9d486.entry.js +6 -0
- package/dist/solutions-components/p-b030a151.js +61 -0
- package/dist/solutions-components/p-b1abf793.js +6 -0
- package/dist/solutions-components/p-b2a9bae3.entry.js +6 -0
- package/dist/solutions-components/p-b5f2bb07.entry.js +11 -0
- package/dist/solutions-components/p-b71c0cdc.js +6 -0
- package/dist/solutions-components/p-b7d448d5.entry.js +11 -0
- package/dist/solutions-components/p-b858abf3.js +6 -0
- package/dist/solutions-components/p-b8d4573d.entry.js +12 -0
- package/dist/solutions-components/p-b8feb6b8.entry.js +22 -0
- package/dist/solutions-components/p-b959efd3.js +16 -0
- package/dist/solutions-components/p-ba14f8c3.js +6 -0
- package/dist/solutions-components/p-bab0aa05.js +6 -0
- package/dist/solutions-components/p-bacb4e2f.entry.js +6 -0
- package/dist/solutions-components/p-bc6a9b9c.js +6 -0
- package/dist/solutions-components/p-bd3f4aa6.entry.js +6 -0
- package/dist/solutions-components/p-bff9e04f.entry.js +11 -0
- package/dist/solutions-components/p-c279b9ed.js +6 -0
- package/dist/solutions-components/p-c50a4911.js +11 -0
- package/dist/solutions-components/p-c853e879.js +11 -0
- package/dist/solutions-components/p-c8cf222b.entry.js +6 -0
- package/dist/solutions-components/p-c96eb2db.js +6 -0
- package/dist/solutions-components/p-cbd48f1f.entry.js +6 -0
- package/dist/solutions-components/p-cdb87252.entry.js +17 -0
- package/dist/solutions-components/p-cfe7292c.js +6 -0
- package/dist/solutions-components/p-d1b034ac.js +6 -0
- package/dist/solutions-components/p-d2ccbb6c.js +6 -0
- package/dist/solutions-components/p-d438df5d.js +6 -0
- package/dist/solutions-components/p-d48def3a.js +6 -0
- package/dist/solutions-components/p-d6050d57.js +489 -0
- package/dist/solutions-components/p-d65116b6.entry.js +6 -0
- package/dist/solutions-components/p-d68dc436.js +6 -0
- package/dist/solutions-components/p-d7d895df.entry.js +11 -0
- package/dist/solutions-components/p-d89fff3a.js +49 -0
- package/dist/solutions-components/p-d918ec36.js +6 -0
- package/dist/solutions-components/p-d9d9d7d1.entry.js +6 -0
- package/dist/solutions-components/p-da205222.js +11 -0
- package/dist/solutions-components/p-dfb33c83.entry.js +6 -0
- package/dist/solutions-components/p-e06f5cfe.js +6 -0
- package/dist/solutions-components/p-e0a11013.js +6 -0
- package/dist/solutions-components/p-e0e5d270.entry.js +11 -0
- package/dist/solutions-components/p-e2ea23c7.js +11 -0
- package/dist/solutions-components/p-e6010f64.entry.js +11 -0
- package/dist/solutions-components/p-e79106f9.js +11 -0
- package/dist/solutions-components/p-e91175f6.entry.js +11 -0
- package/dist/solutions-components/p-e95eb58c.entry.js +6 -0
- package/dist/solutions-components/p-e987323a.entry.js +16 -0
- package/dist/solutions-components/p-ed254530.entry.js +6 -0
- package/dist/solutions-components/p-edbe4059.js +16 -0
- package/dist/solutions-components/p-f3110ead.js +11 -0
- package/dist/solutions-components/p-f4742b64.entry.js +6 -0
- package/dist/solutions-components/p-f66f6617.entry.js +11 -0
- package/dist/solutions-components/p-f98b014f.entry.js +11 -0
- package/dist/solutions-components/p-f9ff6c29.entry.js +6 -0
- package/dist/solutions-components/p-fbb9a303.js +6 -0
- package/dist/solutions-components/p-ff172121.js +6 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/types/components/layer-table/layer-table.d.ts +9 -4
- package/dist/types/components.d.ts +0 -5
- package/dist/types/preact.d.ts +88 -2
- package/package.json +6 -2
- package/dist/cjs/ExpandToggle-590d91ec.js +0 -118
- package/dist/cjs/FloatingArrow-51090818.js +0 -50
- package/dist/cjs/Heading-09046b7d.js +0 -25
- package/dist/cjs/ar-840ce104.js +0 -104
- package/dist/cjs/bg-fc50248c.js +0 -82
- package/dist/cjs/bs-70a07294.js +0 -51
- package/dist/cjs/buffer-tools_4.cjs.entry.js +0 -1531
- package/dist/cjs/ca-b8b7db3a.js +0 -71
- package/dist/cjs/calcite-action-pad.cjs.entry.js +0 -168
- package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +0 -633
- package/dist/cjs/calcite-date-picker.cjs.entry.js +0 -457
- package/dist/cjs/calcite-filter_3.cjs.entry.js +0 -388
- package/dist/cjs/calcite-graph.cjs.entry.js +0 -226
- package/dist/cjs/calcite-input-time-picker-28bfb374.js +0 -1849
- package/dist/cjs/calcite-notice_2.cjs.entry.js +0 -590
- package/dist/cjs/calcite-panel_2.cjs.entry.js +0 -411
- package/dist/cjs/common-3ef5d746.js +0 -37
- package/dist/cjs/conditionalSlot-7231dd93.js +0 -63
- package/dist/cjs/cs-d6262e24.js +0 -147
- package/dist/cjs/da-dd9a7705.js +0 -66
- package/dist/cjs/de-9f5b8820.js +0 -91
- package/dist/cjs/de-at-ed69f6a8.js +0 -90
- package/dist/cjs/de-ch-ebbe1a80.js +0 -90
- package/dist/cjs/downloadUtils-99067c29.js +0 -3123
- package/dist/cjs/el-a9188f61.js +0 -66
- package/dist/cjs/en-au-589b4eee.js +0 -66
- package/dist/cjs/en-ca-c2230b11.js +0 -65
- package/dist/cjs/en-gb-1f3a4bdd.js +0 -69
- package/dist/cjs/es-8270fcb2.js +0 -66
- package/dist/cjs/es-mx-fc3d2e8d.js +0 -65
- package/dist/cjs/et-48adb96e.js +0 -92
- package/dist/cjs/fi-47082a4a.js +0 -115
- package/dist/cjs/form-d72f69ef.js +0 -260
- package/dist/cjs/fr-ch-8f6be683.js +0 -66
- package/dist/cjs/fr-d5b30711.js +0 -68
- package/dist/cjs/he-5d6981f0.js +0 -105
- package/dist/cjs/hi-c8118b2b.js +0 -65
- package/dist/cjs/hr-5818f9ba.js +0 -80
- package/dist/cjs/hu-bc3f3f6d.js +0 -88
- package/dist/cjs/id-b5bf2386.js +0 -66
- package/dist/cjs/index-4f9f29fb.js +0 -201
- package/dist/cjs/index-7f076fd8.js +0 -2071
- package/dist/cjs/index.es-dec08d23.js +0 -10810
- package/dist/cjs/it-c256d30d.js +0 -66
- package/dist/cjs/it-ch-b395918d.js +0 -66
- package/dist/cjs/ja-82ffd2ce.js +0 -72
- package/dist/cjs/ko-4d303cb9.js +0 -72
- package/dist/cjs/loadModules-f4d81906.js +0 -30
- package/dist/cjs/loadable-2facb46d.js +0 -94
- package/dist/cjs/locale-57fa4b01.js +0 -416
- package/dist/cjs/lt-0b973f03.js +0 -97
- package/dist/cjs/lv-a7a5b9cd.js +0 -66
- package/dist/cjs/mk-83081689.js +0 -66
- package/dist/cjs/nb-556279b3.js +0 -67
- package/dist/cjs/nl-d32372d3.js +0 -67
- package/dist/cjs/openCloseComponent-9fe17555.js +0 -92
- package/dist/cjs/pl-4cfcbb3f.js +0 -114
- package/dist/cjs/pt-7614cb7b.js +0 -67
- package/dist/cjs/pt-br-ada28353.js +0 -65
- package/dist/cjs/publicNotificationStore-3463dc42.js +0 -47
- package/dist/cjs/restHelpersGet-c94617cf.js +0 -971
- package/dist/cjs/ro-00f7d69a.js +0 -66
- package/dist/cjs/ru-9020ec13.js +0 -126
- package/dist/cjs/shared-list-render-fd947d6c.js +0 -364
- package/dist/cjs/sk-4794fc4d.js +0 -148
- package/dist/cjs/sl-4f2b082d.js +0 -168
- package/dist/cjs/solution-resource-f9e3b289.js +0 -1839
- package/dist/cjs/solution-store-604f36b0.js +0 -1343
- package/dist/cjs/sr-86f4b55a.js +0 -101
- package/dist/cjs/sv-496c5934.js +0 -71
- package/dist/cjs/t9n-c3ceb777.js +0 -100
- package/dist/cjs/th-a614ee69.js +0 -65
- package/dist/cjs/tr-3f7e515e.js +0 -66
- package/dist/cjs/uk-0f7ba988.js +0 -104
- package/dist/cjs/utils-8b6142cb.js +0 -64
- package/dist/cjs/vi-4d5035bb.js +0 -70
- package/dist/cjs/zh-cn-b62e5470.js +0 -94
- package/dist/cjs/zh-hk-8869565e.js +0 -71
- package/dist/cjs/zh-tw-22117181.js +0 -92
- package/dist/esm/ExpandToggle-d7406f36.js +0 -110
- package/dist/esm/FloatingArrow-bf1b95bc.js +0 -48
- package/dist/esm/Heading-43bad629.js +0 -22
- package/dist/esm/ar-578388ab.js +0 -102
- package/dist/esm/bg-a1ce2f5e.js +0 -80
- package/dist/esm/bs-33d8c483.js +0 -49
- package/dist/esm/buffer-tools_4.entry.js +0 -1524
- package/dist/esm/ca-9d68dd8a.js +0 -69
- package/dist/esm/calcite-action-pad.entry.js +0 -164
- package/dist/esm/calcite-date-picker-day_3.entry.js +0 -627
- package/dist/esm/calcite-date-picker.entry.js +0 -453
- package/dist/esm/calcite-filter_3.entry.js +0 -382
- package/dist/esm/calcite-graph.entry.js +0 -222
- package/dist/esm/calcite-input-time-picker-c2833a3d.js +0 -1846
- package/dist/esm/calcite-notice_2.entry.js +0 -585
- package/dist/esm/calcite-panel_2.entry.js +0 -406
- package/dist/esm/common-5b421473.js +0 -35
- package/dist/esm/conditionalSlot-c0cf1f40.js +0 -60
- package/dist/esm/cs-dd703acb.js +0 -145
- package/dist/esm/da-2df01be0.js +0 -64
- package/dist/esm/date-4e28a3f5.js +0 -245
- package/dist/esm/de-472989ff.js +0 -89
- package/dist/esm/de-at-24c74c6f.js +0 -88
- package/dist/esm/de-ch-acdfbde0.js +0 -88
- package/dist/esm/downloadUtils-fc4259dd.js +0 -3117
- package/dist/esm/el-7a7658b2.js +0 -64
- package/dist/esm/en-au-a6621c75.js +0 -64
- package/dist/esm/en-ca-4e0a3d3b.js +0 -63
- package/dist/esm/en-gb-20f35c78.js +0 -67
- package/dist/esm/es-e2f4615a.js +0 -64
- package/dist/esm/es-mx-4257acd9.js +0 -63
- package/dist/esm/et-76f7bebb.js +0 -90
- package/dist/esm/fi-2448b641.js +0 -113
- package/dist/esm/form-cd3cad39.js +0 -252
- package/dist/esm/fr-a1950ce0.js +0 -66
- package/dist/esm/fr-ch-af2f108d.js +0 -64
- package/dist/esm/he-0ca759a1.js +0 -103
- package/dist/esm/hi-a61da82b.js +0 -63
- package/dist/esm/hr-34475682.js +0 -78
- package/dist/esm/hu-c9276c51.js +0 -86
- package/dist/esm/id-9eacb39e.js +0 -64
- package/dist/esm/index-3d4861da.js +0 -2037
- package/dist/esm/index-81456206.js +0 -199
- package/dist/esm/index.es-641d9f77.js +0 -10724
- package/dist/esm/it-55a02958.js +0 -64
- package/dist/esm/it-ch-14baf1fb.js +0 -64
- package/dist/esm/ja-7be4e315.js +0 -70
- package/dist/esm/ko-c4a3aeee.js +0 -70
- package/dist/esm/loadModules-4d9c5c9e.js +0 -28
- package/dist/esm/loadable-8dcddf78.js +0 -89
- package/dist/esm/locale-28107221.js +0 -412
- package/dist/esm/locale-71561992.js +0 -594
- package/dist/esm/lt-7762670b.js +0 -95
- package/dist/esm/lv-877e6a41.js +0 -64
- package/dist/esm/mk-ff0ae17f.js +0 -64
- package/dist/esm/nb-eb6b7a98.js +0 -65
- package/dist/esm/nl-26537297.js +0 -65
- package/dist/esm/openCloseComponent-980e90ae.js +0 -90
- package/dist/esm/pl-3ee1f545.js +0 -112
- package/dist/esm/pt-2dc3b792.js +0 -65
- package/dist/esm/pt-br-3ea2d13e.js +0 -63
- package/dist/esm/publicNotificationStore-16dff6da.js +0 -45
- package/dist/esm/restHelpersGet-a5ec2192.js +0 -958
- package/dist/esm/ro-b6f30eae.js +0 -64
- package/dist/esm/ru-77b04635.js +0 -124
- package/dist/esm/shared-list-render-ec482b94.js +0 -342
- package/dist/esm/sk-722e2621.js +0 -146
- package/dist/esm/sl-82c5462f.js +0 -166
- package/dist/esm/solution-resource-be35d35b.js +0 -1836
- package/dist/esm/solution-store-0fb525c5.js +0 -1341
- package/dist/esm/sr-db930513.js +0 -99
- package/dist/esm/sv-a4b9b3cc.js +0 -69
- package/dist/esm/t9n-cd58e9e1.js +0 -95
- package/dist/esm/th-0393996b.js +0 -63
- package/dist/esm/time-c4285372.js +0 -274
- package/dist/esm/tr-f3409dc8.js +0 -64
- package/dist/esm/uk-76eb5450.js +0 -102
- package/dist/esm/utils-b62d9d1d.js +0 -61
- package/dist/esm/vi-6217d42c.js +0 -68
- package/dist/esm/zh-cn-f8c92419.js +0 -92
- package/dist/esm/zh-hk-f51d7c64.js +0 -69
- package/dist/esm/zh-tw-030179bf.js +0 -90
- package/dist/solutions-components/p-00555f5f.js +0 -6
- package/dist/solutions-components/p-00b48e24.entry.js +0 -11
- package/dist/solutions-components/p-0415e505.entry.js +0 -6
- package/dist/solutions-components/p-04aded86.entry.js +0 -6
- package/dist/solutions-components/p-056ad62d.entry.js +0 -17
- package/dist/solutions-components/p-05a70865.entry.js +0 -6
- package/dist/solutions-components/p-060ed70b.entry.js +0 -6
- package/dist/solutions-components/p-0805f66a.js +0 -6
- package/dist/solutions-components/p-088e0e9b.entry.js +0 -47
- package/dist/solutions-components/p-0b6d5dae.entry.js +0 -11
- package/dist/solutions-components/p-0e4c70dc.entry.js +0 -6
- package/dist/solutions-components/p-0fb513ae.js +0 -11
- package/dist/solutions-components/p-0ffdd068.entry.js +0 -11
- package/dist/solutions-components/p-10533799.js +0 -21
- package/dist/solutions-components/p-10f750ca.entry.js +0 -17
- package/dist/solutions-components/p-111cb6f0.js +0 -6
- package/dist/solutions-components/p-11742557.js +0 -6
- package/dist/solutions-components/p-1434f7e2.entry.js +0 -11
- package/dist/solutions-components/p-153f5e80.entry.js +0 -12
- package/dist/solutions-components/p-17acc3e8.entry.js +0 -11
- package/dist/solutions-components/p-1b3e4ca7.js +0 -11
- package/dist/solutions-components/p-205487ff.entry.js +0 -11
- package/dist/solutions-components/p-20da9024.js +0 -6
- package/dist/solutions-components/p-23a5417c.entry.js +0 -18
- package/dist/solutions-components/p-23e699cc.entry.js +0 -6
- package/dist/solutions-components/p-261297c5.entry.js +0 -16
- package/dist/solutions-components/p-266612c2.js +0 -11
- package/dist/solutions-components/p-2679f63d.entry.js +0 -11
- package/dist/solutions-components/p-27d4c344.entry.js +0 -11
- package/dist/solutions-components/p-28357f66.entry.js +0 -6
- package/dist/solutions-components/p-29013fa3.js +0 -489
- package/dist/solutions-components/p-294a47c5.js +0 -11
- package/dist/solutions-components/p-2a4cccfa.js +0 -21
- package/dist/solutions-components/p-2c135b9a.entry.js +0 -6
- package/dist/solutions-components/p-2c7d71af.entry.js +0 -6
- package/dist/solutions-components/p-2d062258.js +0 -16
- package/dist/solutions-components/p-2d70d05e.entry.js +0 -6
- package/dist/solutions-components/p-2db39368.entry.js +0 -12
- package/dist/solutions-components/p-2dbfab3d.entry.js +0 -11
- package/dist/solutions-components/p-303992bb.entry.js +0 -11
- package/dist/solutions-components/p-31843189.entry.js +0 -6
- package/dist/solutions-components/p-31d5db9f.entry.js +0 -6
- package/dist/solutions-components/p-32e7b5b1.js +0 -6
- package/dist/solutions-components/p-337249b0.entry.js +0 -17
- package/dist/solutions-components/p-379c5a0b.entry.js +0 -6
- package/dist/solutions-components/p-395ef66f.entry.js +0 -17
- package/dist/solutions-components/p-3b93c66d.entry.js +0 -18
- package/dist/solutions-components/p-3c62c3b0.js +0 -6
- package/dist/solutions-components/p-42e128dd.entry.js +0 -11
- package/dist/solutions-components/p-439ecc25.js +0 -6
- package/dist/solutions-components/p-454fb30f.js +0 -6
- package/dist/solutions-components/p-457f08b2.entry.js +0 -6
- package/dist/solutions-components/p-45a1d711.js +0 -6
- package/dist/solutions-components/p-469b499f.entry.js +0 -6
- package/dist/solutions-components/p-481b913d.js +0 -6
- package/dist/solutions-components/p-4847dd10.entry.js +0 -6
- package/dist/solutions-components/p-48bb468e.entry.js +0 -11
- package/dist/solutions-components/p-4b96bb65.js +0 -6
- package/dist/solutions-components/p-4c0b96e2.entry.js +0 -11
- package/dist/solutions-components/p-4cc0e558.entry.js +0 -6
- package/dist/solutions-components/p-4ecbb9fd.entry.js +0 -11
- package/dist/solutions-components/p-54a84333.entry.js +0 -11
- package/dist/solutions-components/p-57912631.js +0 -6
- package/dist/solutions-components/p-57c36b35.js +0 -6
- package/dist/solutions-components/p-5856dc4f.js +0 -66
- package/dist/solutions-components/p-5a53709e.js +0 -6
- package/dist/solutions-components/p-5c4ac23f.entry.js +0 -6
- package/dist/solutions-components/p-5d9cc33f.entry.js +0 -21
- package/dist/solutions-components/p-5fa70b85.js +0 -7
- package/dist/solutions-components/p-63d26de4.js +0 -6
- package/dist/solutions-components/p-646ba6d2.entry.js +0 -11
- package/dist/solutions-components/p-655c3005.js +0 -6
- package/dist/solutions-components/p-680bc22f.entry.js +0 -6
- package/dist/solutions-components/p-68df6af9.entry.js +0 -6
- package/dist/solutions-components/p-693f7356.js +0 -6
- package/dist/solutions-components/p-6a2664e3.entry.js +0 -11
- package/dist/solutions-components/p-6a62f337.entry.js +0 -11
- package/dist/solutions-components/p-6ac5e954.js +0 -11
- package/dist/solutions-components/p-6ae0366e.js +0 -6
- package/dist/solutions-components/p-6b5ac9cc.js +0 -6
- package/dist/solutions-components/p-6e38395f.js +0 -6
- package/dist/solutions-components/p-6ed3b2fc.entry.js +0 -6
- package/dist/solutions-components/p-70567e13.js +0 -6
- package/dist/solutions-components/p-70f5b93f.entry.js +0 -6
- package/dist/solutions-components/p-72df03eb.entry.js +0 -11
- package/dist/solutions-components/p-730308be.js +0 -6
- package/dist/solutions-components/p-7fc1adbe.entry.js +0 -11
- package/dist/solutions-components/p-82f11c81.entry.js +0 -11
- package/dist/solutions-components/p-8386418f.entry.js +0 -11
- package/dist/solutions-components/p-83e6cfde.entry.js +0 -6
- package/dist/solutions-components/p-8476cecd.entry.js +0 -28
- package/dist/solutions-components/p-8480063f.entry.js +0 -6
- package/dist/solutions-components/p-84b840a1.js +0 -6
- package/dist/solutions-components/p-855f66d0.js +0 -11
- package/dist/solutions-components/p-861f5f1e.entry.js +0 -11
- package/dist/solutions-components/p-8735a284.js +0 -6
- package/dist/solutions-components/p-87c0e774.entry.js +0 -11
- package/dist/solutions-components/p-896124b8.entry.js +0 -11
- package/dist/solutions-components/p-89f41c66.entry.js +0 -6
- package/dist/solutions-components/p-8a438724.entry.js +0 -11
- package/dist/solutions-components/p-8a5dab43.entry.js +0 -6
- package/dist/solutions-components/p-8ae27c40.js +0 -6
- package/dist/solutions-components/p-8db84b94.entry.js +0 -11
- package/dist/solutions-components/p-8dc780a7.entry.js +0 -11
- package/dist/solutions-components/p-8f862c72.js +0 -16
- package/dist/solutions-components/p-902f9da4.entry.js +0 -11
- package/dist/solutions-components/p-91370f88.js +0 -6
- package/dist/solutions-components/p-938575f2.js +0 -21
- package/dist/solutions-components/p-938ab9ca.entry.js +0 -6
- package/dist/solutions-components/p-9551fb38.entry.js +0 -6
- package/dist/solutions-components/p-95cde393.js +0 -11
- package/dist/solutions-components/p-96fbe1cc.entry.js +0 -11
- package/dist/solutions-components/p-98d8c605.entry.js +0 -11
- package/dist/solutions-components/p-9ef41c63.entry.js +0 -11
- package/dist/solutions-components/p-9f3cda4a.js +0 -6
- package/dist/solutions-components/p-a0f8fbc3.entry.js +0 -6
- package/dist/solutions-components/p-a3643c99.js +0 -6
- package/dist/solutions-components/p-a38330de.entry.js +0 -11
- package/dist/solutions-components/p-a642b88b.js +0 -6
- package/dist/solutions-components/p-a8b42091.entry.js +0 -11
- package/dist/solutions-components/p-aa340bbc.js +0 -6
- package/dist/solutions-components/p-aaae349b.js +0 -6
- package/dist/solutions-components/p-abe371c4.js +0 -6
- package/dist/solutions-components/p-ac34f4d3.entry.js +0 -11
- package/dist/solutions-components/p-aef47d8d.js +0 -11
- package/dist/solutions-components/p-b02e167a.entry.js +0 -6
- package/dist/solutions-components/p-b40040aa.js +0 -6
- package/dist/solutions-components/p-b44395d5.entry.js +0 -11
- package/dist/solutions-components/p-b536dee1.entry.js +0 -11
- package/dist/solutions-components/p-b6e54660.entry.js +0 -29
- package/dist/solutions-components/p-b71fa0ac.entry.js +0 -6
- package/dist/solutions-components/p-b7c695bf.entry.js +0 -11
- package/dist/solutions-components/p-b7e0263b.entry.js +0 -11
- package/dist/solutions-components/p-b7e86f80.entry.js +0 -11
- package/dist/solutions-components/p-ba44f20a.js +0 -6
- package/dist/solutions-components/p-bb62bb27.js +0 -11
- package/dist/solutions-components/p-bc63c516.js +0 -6
- package/dist/solutions-components/p-bc6b53c9.entry.js +0 -17
- package/dist/solutions-components/p-bda0389f.js +0 -6
- package/dist/solutions-components/p-bea24407.entry.js +0 -17
- package/dist/solutions-components/p-bf97ed97.js +0 -6
- package/dist/solutions-components/p-c006e714.entry.js +0 -6
- package/dist/solutions-components/p-c2833d75.js +0 -6
- package/dist/solutions-components/p-c341666a.js +0 -6
- package/dist/solutions-components/p-c5bca92c.entry.js +0 -6
- package/dist/solutions-components/p-c7184511.js +0 -6
- package/dist/solutions-components/p-c72af4fa.js +0 -61
- package/dist/solutions-components/p-c82ff887.js +0 -11
- package/dist/solutions-components/p-c887d89c.js +0 -6
- package/dist/solutions-components/p-c8d122b9.js +0 -6
- package/dist/solutions-components/p-ca539743.entry.js +0 -6
- package/dist/solutions-components/p-cb062857.entry.js +0 -6
- package/dist/solutions-components/p-d704e6f9.js +0 -6
- package/dist/solutions-components/p-d8333d60.entry.js +0 -11
- package/dist/solutions-components/p-d84fd29b.js +0 -6
- package/dist/solutions-components/p-d90151c5.js +0 -6
- package/dist/solutions-components/p-d9d50c7d.js +0 -6
- package/dist/solutions-components/p-dc01676d.js +0 -6
- package/dist/solutions-components/p-df9a5059.js +0 -11
- package/dist/solutions-components/p-e44158b8.js +0 -145
- package/dist/solutions-components/p-e698c901.entry.js +0 -6
- package/dist/solutions-components/p-e782c41c.entry.js +0 -36
- package/dist/solutions-components/p-e92df803.entry.js +0 -11
- package/dist/solutions-components/p-ea08017f.js +0 -6
- package/dist/solutions-components/p-f0b8d013.js +0 -11
- package/dist/solutions-components/p-f176afee.entry.js +0 -16
- package/dist/solutions-components/p-f588750f.js +0 -21
- package/dist/solutions-components/p-f6ff7906.entry.js +0 -11
- package/dist/solutions-components/p-f978e707.entry.js +0 -6
- package/dist/solutions-components/p-fa5f90d9.entry.js +0 -11
- package/dist/solutions-components/p-fcc68007.entry.js +0 -12
- package/dist/solutions-components/p-fe1dcd6d.entry.js +0 -11
- package/dist/solutions-components/p-ff0d7712.js +0 -44
- package/dist/solutions-components/p-ff507d35.js +0 -6
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as t,h as i,H as s,g as e,c as h}from"./p-5fa70b85.js";import{g as a}from"./p-938575f2.js";import{q as o,a as l,g as n,b as d,c}from"./p-b7e2c75b.js";import{l as r}from"./p-2a4cccfa.js";import{d as p}from"./p-29013fa3.js";import"./p-e1a4994d.js";import"./p-4af32c75.js";import"./p-ff0d7712.js";import"./p-5856dc4f.js";const u=class{constructor(i){t(this,i),this.layer=void 0,this.mapView=void 0,this.zoomAndScrollToSelected=void 0,this._cardLoading=!1,this._graphics=void 0,this._translations=void 0}async featureSelectionChange(t){const i=t.detail;this._cardLoading=!0;const s=i.length>0?await o(i,this.layer,[],!1,this.mapView.spatialReference):[];this._graphics=s.sort(((t,s)=>i.indexOf(t.getObjectId())-i.indexOf(s.getObjectId()))),this._cardLoading=!1}async layerSelectionChange(t){const i=t.detail[0];this.layer=await l(this.mapView,i)}async componentWillLoad(){await this._getTranslations()}render(){var t,e;const h=(null===(t=this._graphics)||void 0===t?void 0:t.length)>0?"":"display-none",a=(null===(e=this._graphics)||void 0===e?void 0:e.length)>0?"display-none":"";return i(s,null,i("div",{class:"overflow-auto height-full"},i("calcite-shell",{class:"position-relative "+h},i("div",null,i("info-card",{graphics:this._graphics,isLoading:this._cardLoading,mapView:this.mapView,zoomAndScrollToSelected:this.zoomAndScrollToSelected}))),i("calcite-shell",{class:"position-relative "+a},i("div",{class:"padding-1"},i("calcite-notice",{icon:"table",open:!0},i("div",{slot:"message"},this._translations.selectFeaturesToStart))))))}async _getTranslations(){const t=await a(this.el);this._translations=t[0]}get el(){return e(this)}};u.style=":host{display:block !important}.display-flex{display:flex}.display-none{display:none}.w-100{width:100%}.padding-bottom-1{padding-bottom:1rem}.padding-1{padding:1rem}.position-relative{position:relative}.focus-margin{margin:1px 1px 0px 1px}.overflow-auto{overflow:auto}.height-full{height:100%}card-manager{display:block}";const v=class{constructor(i){t(this,i),this.featureSelectionChange=h(this,"featureSelectionChange",7),this.openFilterOptions=h(this,"openFilterOptions",7),this.openShare=h(this,"openShare",7),this._allIds=[],this._defaultGlobalIdHonored=!1,this._defaultOidHonored=!1,this._tableSorting=!1,this.onTableNodeCreate=t=>{this._tableNode=t},this.defaultLayerId=void 0,this.defaultGlobalId=void 0,this.defaultOid=void 0,this.enableAutoRefresh=void 0,this.enableColumnReorder=!0,this.enableCSV=void 0,this.enableInlineEdit=void 0,this.enableShare=void 0,this.enableZoom=void 0,this.mapInfo=void 0,this.mapView=void 0,this.onlyShowUpdatableLayers=void 0,this.showNewestFirst=void 0,this.zoomAndScrollToSelected=void 0,this._confirmDelete=!1,this._controlsThatFit=void 0,this._fetchingData=!1,this._isDeleting=!1,this._layer=void 0,this._selectedIndexes=[],this._showHideOpen=!1,this._showOnlySelected=!1,this._sortActive=!1,this._translations=void 0}enableZoomWatchHandler(){var t;(null===(t=this._toolInfos)||void 0===t?void 0:t.length)>0&&this._initToolInfos()}enableCSVWatchHandler(){var t;(null===(t=this._toolInfos)||void 0===t?void 0:t.length)>0&&this._initToolInfos()}enableInlineEditWatchHandler(){this._table&&(this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit)}_controlsThatFitWatchHandler(){const t=this._controlsThatFit?this._controlsThatFit.reduce(((t,i)=>(t.push(i.id),t)),[]):[];this._toolInfos=this._toolInfos.map((i=>{if(i&&this._controlsThatFit){const s=this._getId(i.icon);return i.isOverflow=t.indexOf(s)<0,i}}))}async mapViewWatchHandler(){this._mapClickHandle&&this._mapClickHandle.remove(),this.mapView&&(this._mapClickHandle=this.reactiveUtils.on((()=>this.mapView),"click",(t=>{this._mapClicked(t)})))}async _layerWatchHandler(){this._fetchingData=!0,await this._resetTable(),this._fetchingData=!1}async _selectedIndexesWatchHandler(){this._validateEnabledActions()}async _sortActiveWatchHandler(){this._sortActive||await this._sortTable()}async selectionChanged(t){if(this.zoomAndScrollToSelected){const i=t.detail,s=i.getObjectId(),e=this._table.viewModel.getObjectIdIndex(s);this._table.scrollToIndex(e);const h=i.layer;let a;this.mapView.allLayerViews.toArray().some((t=>{if(t.layer.title===h.title&&"feature"===t.layer.type)return a=t,!0})),a&&await n([s],a,this.mapView,!0)}}async editsComplete(){await this._refresh()}noLayersFound(){this._layer=void 0,this._allIds=[],this._clearSelection()}async componentWillLoad(){await this._getTranslations(),await this._initModules(),this._initToolInfos(),this._resizeObserver=new ResizeObserver((()=>this._onResize()))}render(){const t=this._fetchingData?"display-none":"",e=this._fetchingData?"":"display-none",h=this._allIds.length.toString(),a=this._selectedIndexes.length.toString();return i(s,null,i("calcite-shell",null,this._getTableControlRow("header"),i("div",{class:"height-full-adjusted width-full"},i("calcite-panel",{class:"height-full width-full"},i("calcite-loader",{class:e,label:this._translations.fetchingData,scale:"l"}),i("div",{class:t,ref:this.onTableNodeCreate})),i("div",{class:"bottom-left text-color height-19"},this._translations.recordsSelected.replace("{{total}}",h).replace("{{selected}}",a)))),this._deleteMessage())}async componentDidLoad(){this._resizeObserver.observe(this._toolbar),document.onclick=t=>this._handleDocumentClick(t)}componentDidRender(){this._updateToolbar()}async _initModules(){const[t,i]=await r(["esri/widgets/FeatureTable","esri/core/reactiveUtils"]);this.FeatureTable=t,this.reactiveUtils=i}_onResize(){this._updateToolbar()}_getTableControlRow(t){return i("div",{class:"display-flex border-bottom height-51",ref:t=>this._toolbar=t,slot:t},this._getActionBar(),this._getDropdown("more-table-options"),this.enableShare?this._getShare("share"):void 0)}_getActionBar(){return i("calcite-action-bar",{expandDisabled:!0,expanded:!0,id:this._getId("bar"),layout:"horizontal"},i("div",{class:"border-end",id:"solutions-map-layer-picker-container"},i("map-layer-picker",{appearance:"transparent",defaultLayerId:this.defaultLayerId,mapView:this.mapView,onLayerSelectionChange:t=>this._layerSelectionChanged(t),onlyShowUpdatableLayers:this.onlyShowUpdatableLayers,placeholderIcon:"layers",scale:"l",showTables:!0,type:"dropdown"})),this._getActions())}_getActions(){return this._getActionItems().reduce(((t,s)=>(s&&!s.isOverflow&&t.push(s.isDanger?this._getDangerAction(s.icon,s.label,s.func,s.disabled):s.isSublist?i("calcite-dropdown",{closeOnSelectDisabled:!0,id:this._getId(s.icon),onCalciteDropdownBeforeClose:()=>this._forceShowHide(),ref:t=>this._showHideDropdown=t},this._getAction(this._showHideOpen?"chevron-down":s.icon,s.label,s.func,s.disabled,"trigger"),this._showHideOpen?this._getFieldlist():void 0):this._getAction(s.icon,s.label,s.func,s.disabled)),t)),[])}_getFieldlist(){return this._columnsInfo?i("calcite-dropdown-group",{"selection-mode":"multiple"},Object.keys(this._columnsInfo).map((t=>i("calcite-dropdown-item",{id:t,onClick:t=>{const i=t.target;this._columnsInfo[i.id]=i.selected,i.selected?this._table.showColumn(i.id):this._table.hideColumn(i.id)},selected:this._columnsInfo[t]},t)))):void 0}_validateEnabledActions(){const t=this._featuresSelected(),i=["zoom-to-object","trash","erase","selected-items-filter"];this._toolInfos.forEach((s=>{s&&i.indexOf(s.icon)>-1&&(s.disabled=!t)}))}_initToolInfos(){var t;const i=this._featuresSelected(),s=this._featuresEmpty();this._toolInfos=[this.enableZoom?{icon:"zoom-to-object",label:this._translations.zoom,func:()=>this._zoom(),disabled:!i,isOverflow:!1}:void 0,(null===(t=this.mapInfo)||void 0===t?void 0:t.filters)?{icon:"filter",label:this._translations.filters,func:()=>this._filter(),disabled:!1,isOverflow:!1}:void 0,this._deleteEnabled?{icon:"trash",label:this._translations.delete,func:()=>this._delete(),disabled:!i,isDanger:!0,isOverflow:!1}:void 0,{icon:"erase",label:this._translations.clearSelection,func:()=>this._clearSelection(),disabled:!i,isOverflow:!1},{icon:"selected-items-filter",label:this._showOnlySelected?this._translations.showAll:this._translations.showSelected,func:()=>this._toggleShowSelected(),disabled:!i,isOverflow:!1},{icon:"list-check-all",func:()=>this._selectAll(),label:this._translations.selectAll,disabled:s,isOverflow:!1},{icon:"compare",func:()=>this._switchSelected(),label:this._translations.switchSelected,disabled:s,isOverflow:!1},{icon:"refresh",func:()=>this._refresh(),label:this._translations.refresh,disabled:!1,isOverflow:!1},this.enableCSV?{icon:"export",func:()=>{this._exportToCSV()},label:this._translations.exportCSV,disabled:s,isOverflow:!1}:void 0,{icon:this._showHideOpen?"chevron-down":"chevron-right",func:()=>this._toggleShowHide(),label:this._translations.showHideColumns,disabled:!1,isOverflow:!1,isSublist:!0}],this._defaultVisibleToolSizeInfos=void 0}_featuresSelected(){return this._selectedIndexes.length>0}_featuresEmpty(){return 0===this._allIds.length}_updateToolbar(){this._timeout&&clearTimeout(this._timeout),this._timeout=setTimeout((()=>{clearTimeout(this._timeout),this._setToolbarSizeInfos();const t=this._toolbar.offsetWidth;let i=this._toolbarSizeInfos.reduce(((t,i)=>t+i.width),0);const s=["solutions-more","solutions-map-layer-picker-container","solutions-action-share"];if(i>t){if(this._toolbarSizeInfos.length>0){const e=[...this._toolbarSizeInfos].reverse().reduce(((e,h)=>(s.indexOf(h.id)<0&&(i>t?i-=h.width:e.push(h)),e)),[]).reverse();this._setControlsThatFit(e,s)}}else if(this._defaultVisibleToolSizeInfos){const e=this._toolbarSizeInfos.reduce(((t,i)=>(t.push(i.id),t)),[]);let h=!1;const a=[...this._defaultVisibleToolSizeInfos].reduce(((a,o)=>(!h&&s.indexOf(o.id)<0&&(e.indexOf(o.id)>-1||i+o.width<=t)?(e.indexOf(o.id)<0&&(i+=o.width),a.push(o)):s.indexOf(o.id)<0&&i+o.width>t&&(h=!0),a)),[]);this._setControlsThatFit(a,s)}}),5)}_setControlsThatFit(t,i){let s=JSON.stringify(t)!==JSON.stringify(this._controlsThatFit);document.getElementById("solutions-action-bar").childNodes.forEach((t=>{i.indexOf(t.id)<0&&!s&&(s=this._controlsThatFit.map((t=>t.id)).indexOf(t.id)<0)})),s&&(this._controlsThatFit=[...t])}_setToolbarSizeInfos(){let t=!1;this._toolbarSizeInfos=[],this._toolbar.childNodes.forEach(((i,s)=>{0===s?i.childNodes.forEach((i=>{this._toolbarSizeInfos.push({id:i.id,width:i.offsetWidth}),t||(t=i.offsetWidth>0)})):i.referenceElement||(this._toolbarSizeInfos.push({id:i.id,width:i.offsetWidth}),t||(t=i.offsetWidth>0))})),t&&!this._defaultVisibleToolSizeInfos&&(this._defaultVisibleToolSizeInfos=[...this._toolbarSizeInfos])}_getActionItems(){return this._toolInfos.filter((t=>t&&!t.isOverflow))}_getDropdown(t){const s=this._getDropdownItems();return s.length>0?i("calcite-dropdown",{closeOnSelectDisabled:!0,disabled:void 0===this._layer,id:"solutions-more",onCalciteDropdownBeforeClose:()=>this._forceShowHide(),ref:t=>this._moreDropdown=t},i("calcite-action",{appearance:"solid",id:t,label:"",onClick:()=>this._closeShowHide(),slot:"trigger",text:""},i("calcite-button",{appearance:"transparent",iconEnd:"chevron-down",kind:"neutral"},this._translations.more)),i("calcite-dropdown-group",{"selection-mode":"none"},s.map((t=>i("calcite-dropdown-group",{class:t.disabled?"disabled":"",selectionMode:t.disabled?"none":"single"},i("calcite-dropdown-item",{iconStart:t.isSublist&&this._showHideOpen?"chevron-down":t.icon,id:"solutions-subset-list",onClick:t.func},t.label))))),this._showHideOpen?this._getFieldlist():void 0):void 0}_getDropdownItems(){return this._toolInfos.filter((t=>t&&t.isOverflow))}_getAction(t,s,e,h,a){const o=void 0===this._layer||h;return i("div",{class:"display-flex",id:this._getId(t),slot:a},i("calcite-action",{appearance:"solid",disabled:o,icon:t,id:t,label:s,onClick:e,text:s,textEnabled:!0}),this._getToolTip("bottom",t,s))}_getShare(t){return i("div",{class:"share-action height-51 border-bottom",id:this._getId(t)},i("calcite-action",{appearance:"solid",class:"height-51",icon:t,id:t,onClick:()=>this.openShare.emit(!0),text:"",textEnabled:!1}),this._getToolTip("bottom",t,this._translations.share))}_getToolTip(t,s,e){return i("calcite-tooltip",{placement:t,"reference-element":s},i("span",null,e))}_getId(t){return`solutions-action-${t}`}_getDangerAction(t,s,e,h){const a=void 0===this._layer||h;return i("div",{class:"display-flex",id:this._getId(t)},i("calcite-action",{appearance:"solid",disabled:a,id:t,onClick:e,text:""},i("calcite-button",{appearance:"transparent",iconStart:t,kind:"danger"},s)),this._getToolTip("bottom",t,s))}async _getTable(t,i){this._layer&&(await this._layer.when((()=>{this._table=new this.FeatureTable({autoRefreshEnabled:this.enableAutoRefresh,layer:this._layer,view:this.mapView,columnReorderingEnabled:this.enableColumnReorder,editingEnabled:this._editEnabled&&this.enableInlineEdit,highlightEnabled:!0,multiSortEnabled:!1,visibleElements:{header:!1,menu:!1},tableTemplate:{columnTemplates:i},container:t})})),this._initColumnsInfo(),this._checkEditEnabled(),await this._table.when((()=>{this._table.highlightIds.on("change",(()=>{this._selectedIndexes=this._table.highlightIds.toArray().reverse(),this._showOnlySelected&&(this._featuresSelected()?this._table.filterBySelection():this._toggleShowSelected()),this.featureSelectionChange.emit(this._selectedIndexes)})),this.reactiveUtils.watch((()=>this._table.activeSortOrders),(t=>{var i,s,e,h;this._sortActive=!!this._layer&&(t.length>0&&"asc"===(null===(i=t[0])||void 0===i?void 0:i.direction)||"desc"===(null===(s=t[0])||void 0===s?void 0:s.direction)||null===(null===(e=t[0])||void 0===e?void 0:e.direction)&&(null===(h=t[0])||void 0===h?void 0:h.fieldName)===this._layer.objectIdField)}))})))}async _resetTable(){var t,i;this._clearSelection(),this._allIds=[],this.featureSelectionChange.emit(this._selectedIndexes);const s=this._getColumnTemplates(this._layer.id,null===(i=null===(t=this._layer)||void 0===t?void 0:t.popupTemplate)||void 0===i?void 0:i.fieldInfos);this._allIds=await d(this._layer),this._table?s&&(this._table.tableTemplate.columnTemplates=s):await this._getTable(this._tableNode,s),this._table.layer=this._layer,this._table.view=this.mapView,this._checkEditEnabled(),this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit,this._initToolInfos(),await this._table.when((async()=>{var t,i;if(this._table.highlightIds.removeAll(),this._table.clearSelectionFilter(),this._initColumnsInfo(),!this._defaultOidHonored&&(null===(t=this.defaultOid)||void 0===t?void 0:t.length)>0&&this.defaultOid[0]>-1&&(this._selectDefaultFeature(this.defaultOid),this._defaultOidHonored=!0),!this._defaultGlobalIdHonored&&(null===(i=this.defaultGlobalId)||void 0===i?void 0:i.length)>0){const t=await c(this.defaultGlobalId,this._layer),i=(null==t?void 0:t.length)>0?t.map((t=>t.getObjectId())):void 0;i&&this._selectDefaultFeature(i),this._defaultGlobalIdHonored=!0}})),this._showOnlySelected=!1,this._sortActive=!1,await this._sortTable()}_initColumnsInfo(){this._columnsInfo=this._table.columns.reduce(((t,i)=>(t[i.name]=!i.hidden,t)),{})}_selectDefaultFeature(t){t.length>0&&(this._table.highlightIds.addMany(t),this._table.when((()=>{const i=this._table.viewModel.getObjectIdIndex(t[0]);this._table.viewModel.scrollToIndex(i)})))}_checkEditEnabled(){this._editEnabled=this._layer.editingEnabled&&this._layer.capabilities.operations.supportsUpdate,this._deleteEnabled=this._layer.editingEnabled&&this._layer.capabilities.operations.supportsDelete}async _sortTable(){this._table&&this._layer&&!this._sortActive&&!this._tableSorting&&this.showNewestFirst&&(this._tableSorting=!0,await this._table.when(),await this._layer.when((()=>{this._table.sortColumn(this._layer.objectIdField,"desc"),this._tableSorting=!1})))}_forceShowHide(){this._showHideDropdown&&(this._showHideDropdown.open=this._showHideOpen),this._moreDropdown&&(this._moreDropdown.open=this._showHideOpen)}_toggleShowHide(){this._showHideOpen=!this._showHideOpen}_closeShowHide(){this._showHideOpen=!1}_handleDocumentClick(t){var i;const s=null===(i=t.target)||void 0===i?void 0:i.id;this._showHideOpen&&Object.keys(this._columnsInfo).indexOf(s)<0&&"solutions-subset-list"!==s&&"chevron-right"!==s&&(this._closeShowHide(),this._moreDropdown&&(this._moreDropdown.open=!1),this._showHideDropdown&&(this._showHideDropdown.open=!1))}_deleteMessage(){return i("calcite-modal",{"aria-labelledby":"modal-title",kind:"danger",onCalciteModalClose:()=>this._deleteClosed(),open:this._confirmDelete},i("div",{class:"display-flex align-center",id:"modal-title",slot:"header"},this._translations.deleteFeature),i("div",{slot:"content"},this._translations.confirm),i("calcite-button",{appearance:"outline",kind:"danger",onClick:()=>this._deleteClosed(),slot:"secondary",width:"full"},this._translations.cancel),i("calcite-button",{kind:"danger",loading:this._isDeleting,onClick:()=>{this._deleteFeatures()},slot:"primary",width:"full"},this._translations.delete))}async _deleteFeatures(){this._isDeleting=!0;const t=this._table.highlightIds.toArray().map((t=>({objectId:t})));await this._layer.applyEdits({deleteFeatures:t}),await this._table.refresh(),this._allIds=await d(this._layer),this._isDeleting=!1,this._deleteClosed()}async _mapClicked(t){const i={include:this._layer},s=await this.mapView.hitTest(t.screenPoint,i);s.results.length>0&&(s.results.forEach((t=>{this._clearSelection();const i=t.graphic.getObjectId(),s=this._table.highlightIds.indexOf(i);s>-1?this._table.highlightIds.removeAt(s):this._table.highlightIds.add(i)})),this._showOnlySelected&&this._table.filterBySelection())}_deleteClosed(){this._confirmDelete=!1}_selectAll(){const t=this._allIds;this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(t),this._selectedIndexes=t}_toggleShowSelected(){this._showOnlySelected=!this._showOnlySelected,this._showOnlySelected?this._table.filterBySelection():this._table.clearSelectionFilter()}_clearSelection(){var t;this._selectedIndexes=[],null===(t=this._table)||void 0===t||t.highlightIds.removeAll()}_filter(){this.openFilterOptions.emit()}_switchSelected(){const t=[...this._selectedIndexes];this._table.highlightIds.removeAll();const i=this._allIds.reduce(((i,s)=>(t.indexOf(s)<0&&i.push(s),i)),[]).sort(((t,i)=>t-i));this._table.highlightIds.addMany(i),this._selectedIndexes=i}async _exportToCSV(){const t={},i=this._table.highlightIds.toArray();t[this._layer.id]={selectionSetNames:[this._layer.title],ids:i,layer:this._layer},p(null,t,!1,!1,!0)}async _refresh(){await this._table.refresh(),this.featureSelectionChange.emit(this._selectedIndexes)}_zoom(){this._table.zoomToSelection()}_delete(){this._confirmDelete=!0}async _layerSelectionChanged(t){var i;const s=t.detail[0];if(s!==(null===(i=this._layer)||void 0===i?void 0:i.id)||this._featuresEmpty()){this._fetchingData=!0;const t=await l(this.mapView,s);await t.when((()=>{this._layer=t}))}this._fetchingData=!1}_getColumnTemplates(t,i){var s;let e;null===(s=this.mapInfo.layerInfos)||void 0===s||s.some((i=>{if(i.id===t)return e=i,!0}));let h=null==e?void 0:e.columnTemplates;return i&&(h=h?h.map((t=>(i.some((i=>{if(i.fieldName===t.fieldName)return t.label=i.label,!0})),t))):i.map((t=>({type:"field",fieldName:t.fieldName,label:t.label})))),h}async _getTranslations(){const t=await a(this.el);this._translations=t[0]}get el(){return e(this)}static get watchers(){return{enableZoom:["enableZoomWatchHandler"],enableCSV:["enableCSVWatchHandler"],enableInlineEdit:["enableInlineEditWatchHandler"],_controlsThatFit:["_controlsThatFitWatchHandler"],mapView:["mapViewWatchHandler"],_layer:["_layerWatchHandler"],_selectedIndexes:["_selectedIndexesWatchHandler"],_sortActive:["_sortActiveWatchHandler"]}}};v.style=':host{display:block}.height-full{height:100%}.height-full-adjusted{height:calc(100% - 20px)}.width-full{width:100%}.display-flex{display:flex}.table-border{border:1px solid var(--calcite-ui-border-2)}.border-end{border-inline-end:1px solid var(--calcite-ui-border-2)}.border-bottom{border-bottom:1px solid var(--calcite-ui-border-2)}.padding-5{padding:5px}.padding-end-1{padding-inline-end:1rem}.height-51{height:51px}.bottom-left{position:absolute;left:0;bottom:0;padding-left:5px}html[dir="rtl"] .bottom-left{position:absolute;right:0;bottom:0;padding-right:5px}.height-19{height:19px}.background{background-color:var(--calcite-ui-background)}.text-color{color:var(--calcite-ui-text-1)}.align-center{align-items:center}.danger-color{color:var(--calcite-ui-danger)}.esri-feature-table vaadin-grid{border:none !important}vaadin-grid-cell-content{padding:var(--lumo-space-xs) var(--lumo-space-m) !important;font-size:14px !important}.share-action{position:absolute;right:1}.disabled{cursor:default !important;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled);pointer-events:none}';const b=class{constructor(i){t(this,i),this.mapChanged=h(this,"mapChanged",7),this.beforeMapChanged=h(this,"beforeMapChanged",7),this._defaultWebmapHonored=!1,this._loadedId="",this.defaultWebmapId="",this.enableHome=void 0,this.enableLegend=void 0,this.enableFloorFilter=void 0,this.enableFullscreen=void 0,this.enableSearch=void 0,this.enableBasemap=void 0,this.basemapConfig=void 0,this.hidden=void 0,this.mapInfos=[],this.mapView=void 0,this.theme=void 0,this._searchConfiguration=void 0,this._webMapInfo=void 0}enableHomeWatchHandler(){this._initHome()}async mapInfoChange(t){await this._loadMap(t.detail)}async componentWillLoad(){await this._initModules()}render(){const t=this.hidden?"visibility-hidden":"",e="dark"===this.theme?"calcite-mode-dark":"calcite-mode-light";return i(s,null,i("map-picker",{mapInfos:this.mapInfos,ref:t=>this._mapPicker=t}),i("div",{class:`map-height ${t}`,ref:t=>this._mapDiv=t}),i("map-tools",{basemapConfig:this.basemapConfig,class:`box-shadow ${e}`,enableBasemap:this.enableBasemap,enableFloorFilter:this.enableFloorFilter,enableFullscreen:this.enableFullscreen,enableLegend:this.enableLegend,enableSearch:this.enableSearch,mapView:this.mapView,ref:t=>this._mapTools=t,searchConfiguration:this._searchConfiguration}))}async _initModules(){const[t,i,s]=await r(["esri/WebMap","esri/views/MapView","esri/widgets/Home"]);this.WebMap=t,this.MapView=i,this.Home=s}async _loadMap(t){var i;const s=!this._defaultWebmapHonored&&this.defaultWebmapId,e=null===(i=this.mapInfos)||void 0===i?void 0:i.filter((t=>t.id===this.defaultWebmapId));this._webMapInfo=s&&e?e[0]:!(null==t?void 0:t.id)&&this.mapInfos.length>0?this.mapInfos[0]:t;const h=this._webMapInfo.id,a=s&&(null==t?void 0:t.id)===this.defaultWebmapId;if(this._loadedId!==h&&!s||a){const t=new this.WebMap({portalItem:{id:h}});this.mapView=new this.MapView({container:this._mapDiv,map:t,resizeAlign:"top-left"}),this._loadedId=h,this._searchConfiguration=this._webMapInfo.searchConfiguration,this.beforeMapChanged.emit(),await this.mapView.when((()=>{this._initHome(),this.mapView.ui.add(this._mapTools,{position:"top-right",index:0}),this._defaultWebmapHonored=!!a||this._defaultWebmapHonored,this.mapChanged.emit({id:h,mapView:this.mapView})}))}else s&&(this._defaultWebmapHonored=!0,this._mapPicker.setMapByID(h))}_initHome(){this.enableHome?(this._homeWidget=new this.Home({view:this.mapView}),this.mapView.ui.add(this._homeWidget,{position:"top-left",index:3})):this._homeWidget&&this.mapView.ui.remove(this._homeWidget)}get el(){return e(this)}static get watchers(){return{enableHome:["enableHomeWatchHandler"]}}};b.style=":host{display:block;--calcite-label-margin-bottom:0;--calcite-block-padding:0}.map-height{height:calc(100% - 51px)}.box-shadow{box-shadow:none !important}.visibility-hidden{visibility:hidden}";export{u as card_manager,v as layer_table,b as map_card}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{d as e}from"./p-bb62bb27.js";import"./p-5fa70b85.js";import"./p-266612c2.js";import"./p-def6a0b3.js";import"./p-b024d5a4.js";import"./p-69370d9c.js";import"./p-d9ba28a0.js";import"./p-01633f02.js";import"./p-16b0d958.js";import"./p-86e31fef.js";import"./p-6ac5e954.js";import"./p-8f862c72.js";import"./p-ced50533.js";import"./p-6484a05d.js";import"./p-1b3e4ca7.js";import"./p-55f65f3f.js";import"./p-df9a5059.js";import"./p-855f66d0.js";import"./p-4931ad5b.js";var m={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(e){return e+"º"}};e.locale(m,null,!0);export default m;
|
@@ -1,47 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as t,h as e,f as i,g as o,c as s,H as a,F as l}from"./p-5fa70b85.js";import{c as n,d as c}from"./p-aef47d8d.js";import{a as r,i as h,s as d,u as p,n as b,d as u,y as m,t as g,e as f,g as x}from"./p-def6a0b3.js";import{c as v,d as w}from"./p-8f862c72.js";import{c as k}from"./p-55f65f3f.js";import{c as y,s as z,d as C,u as T}from"./p-df9a5059.js";import{C as L}from"./p-69370d9c.js";import{g as _}from"./p-b024d5a4.js";import{c as I}from"./p-ced50533.js";import{c as H,d as A,u as M}from"./p-d9ba28a0.js";import{g as j}from"./p-4931ad5b.js";import{s as S,a as W,c as D}from"./p-6ac5e954.js";import{q as E,m as $,d as F,a as R,s as N,h as B,b as O,g as U,k as P,t as V,i as J,c as q,f as K,e as G,n as X,r as Y,j as Q,l as Z,o as tt,p as et,L as it}from"./p-2d062258.js";import{d as ot,a as st,c as at}from"./p-3ec618b1.js";import{C as lt,S as nt}from"./p-7896636e.js";import{I as ct}from"./p-eff086c4.js";import{g as rt}from"./p-938575f2.js";import{s as ht}from"./p-e44158b8.js";import{d as dt}from"./p-4af32c75.js";import{E as pt}from"./p-ff0d7712.js";import"./p-16b0d958.js";import"./p-01633f02.js";import"./p-97ae5741.js";import"./p-7ab3a63d.js";import"./p-a82f35c9.js";import"./p-e1a4994d.js";import"./p-730308be.js";import"./p-5856dc4f.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
|
-
* v1.11.1-next.1
|
11
|
-
*/const bt=class{constructor(e){t(this,e),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:o,stepMultiplier:s,layout:a,contentWidthMin:l,contentWidthMax:n,initialContentWidth:c,initialContentHeight:h,contentHeightMin:d,contentHeightMax:p,position:b}=this,u=o*s;["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Home","End","PageUp","PageDown"].indexOf(e)>-1&&t.preventDefault();const m=["ArrowLeft","ArrowRight"],g=["ArrowDown","ArrowUp"],f="rtl"===r(i)&&m.includes(e)?-1:1;if("horizontal"===a?"end"===b?e===g[1]||e===m[0]:e===g[0]||e===m[1]:e===g[1]||("end"===b?e===m[0]:e===m[1])){const e=t.shiftKey?u:o;return"horizontal"===a?h+f*e:c+f*e}if("horizontal"===a?"end"===b?e===g[0]||e===m[0]:e===g[1]||e===m[1]:e===g[0]||("end"===b?e===m[1]:e===m[0])){const e=t.shiftKey?u:o;return"horizontal"===a?h-f*e:c-f*e}return"Home"===e&&"horizontal"===a&&"number"==typeof d?d:"Home"===e&&"vertical"===a&&"number"==typeof l?l:"End"===e&&"horizontal"===a&&"number"==typeof p?p:"End"===e&&"vertical"===a&&"number"==typeof n?n:"PageDown"===e?"horizontal"===a?h-u:c-u:"PageUp"===e?"horizontal"===a?h+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:o,initialContentHeight:s,position:a,initialClientX:l,initialClientY:n}=this,c="horizontal"===i?t.clientY-n:t.clientX-l,h="vertical"===i&&"rtl"===r(e)?-1:1,d="end"===a?-h*c:h*c;"horizontal"===i?this.setContentHeight(s+d):this.setContentWidth(o+d)},this.separatorPointerUp=t=>{h(t)&&(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;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=d(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(){n(this),v(this),y(this)}async componentWillLoad(){await z(this)}disconnectedCallback(){c(this),this.disconnectSeparator(),w(this),C(this)}componentDidLoad(){this.updateAriaValues()}effectiveLocaleChange(){T(this,this.effectiveLocale)}renderHeader(){return e("div",{class:"content__header",hidden:!this.hasHeader,key:"header"},e("slot",{name:"header",onSlotchange:this.handleHeaderSlotChange}))}render(){const{collapsed:t,position:i,initialContentWidth:o,initialContentHeight:s,contentWidth:a,contentWidthMax:l,contentWidthMin:n,contentHeight:c,contentHeightMax:h,contentHeightMin:d,resizable:p,layout:b,displayMode:u}=this,m=r(this.el),g="float"!==u&&p,f=g?"horizontal"===b?c?{height:`${c}px`}:null:a?{width:`${a}px`}:null:null,x=!t&&g?e("div",{"aria-label":this.messages.resize,"aria-orientation":"horizontal"===b?"vertical":"horizontal","aria-valuemax":"horizontal"==b?h:l,"aria-valuemin":"horizontal"==b?d:n,"aria-valuenow":"horizontal"==b?null!=c?c:s:null!=a?a:o,class:"separator",key:"separator",onKeyDown:this.separatorKeyDown,role:"separator",tabIndex:0,"touch-action":"none",ref:this.connectSeparator}):null,v=e("div",{class:{[L.rtl]:"rtl"===m,content:!0,"content--overlay":"overlay"===u,"content--float":"float"===u,[L.calciteAnimate]:"overlay"===u,["horizontal"===b?"start"===i?L.calciteAnimateInDown:L.calciteAnimateInUp:"ltr"===m&&"end"===i||"rtl"===m&&"start"===i?L.calciteAnimateInLeft:L.calciteAnimateInRight]:"overlay"===u},hidden:t,key:"content",style:f,ref:this.storeContentEl},this.renderHeader(),e("div",{class:"content__body"},e("slot",null)),x),w=[e("slot",{key:"action-bar",name:"action-bar",onSlotchange:this.handleActionBarSlotChange}),v];return"end"===i&&w.reverse(),e("div",{class:{container:!0}},w)}setContentWidth(t){const{contentWidthMax:e,contentWidthMin:i}=this,o=Math.round(t);this.contentWidth="number"==typeof e&&"number"==typeof i?k(o,i,e):o}updateAriaValues(){const{contentEl:t}=this,e=t&&getComputedStyle(t);e&&("horizontal"===this.layout?this.updateHeights(e):this.updateWidths(e),i(this))}setContentHeight(t){const{contentHeightMax:e,contentHeightMin:i}=this,o=Math.round(t);this.contentHeight="number"==typeof e&&"number"==typeof i?k(o,i,e):o}updateWidths(t){const e=parseInt(t.getPropertyValue("max-width"),10),i=parseInt(t.getPropertyValue("min-width"),10),o=parseInt(t.getPropertyValue("width"),10);"number"!=typeof o||isNaN(o)||(this.initialContentWidth=o),"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),o=parseInt(t.getPropertyValue("height"),10);"number"!=typeof o||isNaN(o)||(this.initialContentHeight=o),"number"!=typeof e||isNaN(e)||(this.contentHeightMax=e),"number"!=typeof i||isNaN(i)||(this.contentHeightMin=i)}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{detached:["handleDetached"],displayMode:["handleDisplayMode"],detachedHeightScale:["handleDetachedHeightScale"],heightScale:["handleHeightScale"],layout:["layoutHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};bt.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-app-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-app-z-index) + 1))}:host([layout=vertical][display-mode=overlay]){z-index:var(--calcite-shell-panel-z-index, calc(var(--calcite-app-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-ui-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-ui-border-3)}.separator{pointer-events:auto;position:absolute;display:flex;background-color:transparent;opacity:0;transition:all 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-ui-border-2)}.separator:focus{background-color:var(--calcite-ui-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-ui-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-ui-border-3)}:host([position=start]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start]) .content ::slotted(calcite-flow),:host([position=start]) .content ::slotted(calcite-panel){border-inline-start:none}:host([position=end]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end]) .content ::slotted(calcite-flow),:host([position=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
|
-
* v1.11.1-next.1
|
16
|
-
*/
|
17
|
-
const ut=class{constructor(e){t(this,e),this.calciteInternalTabRegister=s(this,"calciteInternalTabRegister",6),this.guid=`calcite-tab-title-${_()}`,this.tab=void 0,this.selected=!1,this.scale="m",this.labeledBy=void 0}render(){return e(a,{"aria-labelledby":this.labeledBy,id:this.el.id||this.guid},e("div",{class:{container:!0,[`scale-${this.scale}`]:!0},role:"tabpanel",tabIndex:this.selected?0:-1},e("section",{class:"content"},e("slot",null))))}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(b(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 o(this)}};ut.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}.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}section,.container{display:none;block-size:100%;inline-size:100%}: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
|
-
* v1.11.1-next.1
|
22
|
-
*/
|
23
|
-
const mt=class{constructor(e){t(this,e),this.calciteTabChange=s(this,"calciteTabChange",6),this.calciteInternalTabChange=s(this,"calciteInternalTabChange",6),this.animationActiveDuration=.3,this.resizeObserver=I("resize",(()=>{this.activeIndicatorEl&&(this.activeIndicatorEl.style.transitionDuration="0s",this.updateActiveWidth(),this.updateOffsetPosition())})),this.handleTabFocus=(t,e,i)=>{u(this.enabledTabTitles,e,i),t.stopPropagation()},this.handleContainerScroll=()=>{this.activeIndicatorEl.style.transitionDuration="0s",this.updateOffsetPosition()},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.selectedTabId=void 0}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.updateOffsetPosition(),this.updateActiveWidth(),this.activeIndicatorEl.style.transitionDuration=`${this.animationActiveDuration}s`}connectedCallback(){var t;this.parentTabsEl=this.el.closest("calcite-tabs"),null===(t=this.resizeObserver)||void 0===t||t.observe(this.el)}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}}componentWillRender(){const{parentTabsEl:t}=this;this.layout=null==t?void 0:t.layout,this.bordered=null==t?void 0:t.bordered,this.selectedTitle&&this.updateOffsetPosition()}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()}render(){const t=r(this.el),i=`${this.indicatorWidth}px`,o=`${this.indicatorOffset}px`,s="rtl"!==t?{width:i,left:o}:{width:i,right:o};return e(a,{role:"tablist"},e("div",{class:{"tab-nav":!0,[`scale-${this.scale}`]:!0,[`position-${this.position}`]:!0},onScroll:this.handleContainerScroll,ref:t=>this.tabNavEl=t},e("slot",null),e("div",{class:"tab-nav-active-indicator-container",ref:t=>this.activeIndicatorContainerEl=t},e("div",{class:"tab-nav-active-indicator",style:s,ref:t=>this.activeIndicatorEl=t}))))}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){this.selectedTabId=t.detail.tab?t.detail.tab:this.getIndexOfTabTitle(t.target),t.stopPropagation()}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.updateActiveWidth(),this.updateOffsetPosition()}updateOffsetPosition(){var t,e,i,o,s;const a=r(this.el),l=null===(t=this.activeIndicatorContainerEl)||void 0===t?void 0:t.offsetWidth,n=null===(e=this.selectedTitle)||void 0===e?void 0:e.offsetLeft,c=null===(i=this.selectedTitle)||void 0===i?void 0:i.offsetWidth;this.indicatorOffset="rtl"!==a?n-(null===(o=this.tabNavEl)||void 0===o?void 0:o.scrollLeft):l-(n+c)+(null===(s=this.tabNavEl)||void 0===s?void 0:s.scrollLeft)}updateActiveWidth(){var t;this.indicatorWidth=null===(t=this.selectedTitle)||void 0===t?void 0:t.offsetWidth}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 m(this.el,"calcite-tab-title")}get enabledTabTitles(){return m(this.el,"calcite-tab-title:not([disabled])").filter((t=>!t.closed))}handleTabTitleClose(t){const{tabTitles:e}=this,i=e.reduce(((t,e,i)=>e.closed?t:[...t,i]),[]),o=i.length;if(1===o&&e[i[0]].closable)e[i[0]].closable=!1,this.selectedTabId=i[0];else if(o>1){const s=e.findIndex((e=>e===t)),a=i.find((t=>t>s));this.selectedTabId===s&&(this.selectedTabId=a||o-1)}requestAnimationFrame((()=>{this.updateOffsetPosition(),this.updateActiveWidth(),e[this.selectedTabId].focus()}))}get el(){return o(this)}static get watchers(){return{selectedTabId:["selectedTabIdChanged"],selectedTitle:["selectedTitleChanged"]}}};mt.style=":host{position:relative;display:flex}.scale-s{min-block-size:1.5rem}.scale-m{min-block-size:2rem}.scale-l{min-block-size:2.75rem}:host([layout=center]:not([bordered])){padding-inline:1.25rem}:host([layout=center]:not([bordered])) .tab-nav ::slotted(calcite-tab-title:last-child){margin-inline-end:0px}:host(:not([bordered])) .scale-l ::slotted(calcite-tab-title){margin-inline-end:1.5rem}:host(:not([bordered])) .scale-m ::slotted(calcite-tab-title){margin-inline-end:1.25rem}:host(:not([bordered])) .scale-s ::slotted(calcite-tab-title){margin-inline-end:1rem}.tab-nav{display:flex;inline-size:100%;justify-content:flex-start;overflow:auto}.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-ui-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)}:host([layout=center]) .tab-nav{justify-content:space-evenly}: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
|
-
* v1.11.1-next.1
|
28
|
-
*/
|
29
|
-
const gt="close-button",ft="calcite-tab-title--icon",xt=class{constructor(e){t(this,e),this.calciteTabsActivate=s(this,"calciteTabsActivate",6),this.calciteInternalTabsActivate=s(this,"calciteInternalTabsActivate",6),this.calciteTabsClose=s(this,"calciteTabsClose",6),this.calciteInternalTabsClose=s(this,"calciteInternalTabsClose",6),this.calciteInternalTabsFocusNext=s(this,"calciteInternalTabsFocusNext",6),this.calciteInternalTabsFocusPrevious=s(this,"calciteInternalTabsFocusPrevious",6),this.calciteInternalTabsFocusFirst=s(this,"calciteInternalTabsFocusFirst",6),this.calciteInternalTabsFocusLast=s(this,"calciteInternalTabsFocusLast",6),this.calciteInternalTabTitleRegister=s(this,"calciteInternalTabTitleRegister",6),this.calciteInternalTabIconChanged=s(this,"calciteInternalTabIconChanged",6),this.closeClickHandler=()=>{this.closeTabTitleAndNotify()},this.mutationObserver=I("mutation",(()=>this.updateHasText())),this.resizeObserver=I("resize",(()=>{this.calciteInternalTabIconChanged.emit()})),this.guid=`calcite-tab-title-${_()}`,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.emitActiveTab(!1)}onMessagesChange(){}connectedCallback(){H(this),v(this),y(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(),A(this),w(this),C(this)}async componentWillLoad(){await z(this),this.updateHasText(),this.tab&&this.selected&&this.emitActiveTab(!1)}componentWillRender(){this.parentTabsEl&&(this.layout=this.parentTabsEl.layout,this.bordered=this.parentTabsEl.bordered)}render(){const{el:t,closed:i}=this,o=t.id||this.guid,s=e("calcite-icon",{class:{[ft]:!0,"icon-start":!0},flipRtl:"start"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconStart,scale:j(this.scale)}),l=e("calcite-icon",{class:{[ft]:!0,"icon-end":!0},flipRtl:"end"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconEnd,scale:j(this.scale)});return e(a,{"aria-controls":this.controls,"aria-selected":g(this.selected),id:o,role:"tab",tabIndex:this.selected?0:-1},e("div",{class:{container:!0,"icon-present":!!this.iconStart||!!this.iconEnd,[`scale-${this.scale}`]:!0},hidden:i,ref:t=>{var e;return null===(e=this.resizeObserver)||void 0===e?void 0:e.observe(t)}},e("div",{class:{content:!0,"content--has-text":this.hasText}},this.iconStart?s:null,e("slot",null),this.iconEnd?l:null),this.renderCloseButton()))}renderCloseButton(){const{closable:t,messages:i}=this;return t?e("button",{"aria-label":i.close,class:gt,disabled:!1,key:gt,onClick:this.closeClickHandler,title:i.close,type:"button",ref:t=>this.closeButtonEl=t},e("calcite-icon",{icon:"x",scale:j(this.scale)})):null}async componentDidLoad(){this.calciteInternalTabTitleRegister.emit(await this.getTabIdentifier())}componentDidRender(){M(this,(()=>this.selected))}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.disabled||this.emitActiveTab()}keyDownHandler(t){switch(t.key){case" ":case"Enter":t.composedPath().includes(this.closeButtonEl)||(this.emitActiveTab(),t.preventDefault());break;case"ArrowRight":t.preventDefault(),"ltr"===r(this.el)?this.calciteInternalTabsFocusNext.emit():this.calciteInternalTabsFocusPrevious.emit();break;case"ArrowLeft":t.preventDefault(),"ltr"===r(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(b(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}effectiveLocaleChange(){T(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})}emitActiveTab(t=!0){this.disabled||this.closed||(this.calciteInternalTabsActivate.emit({tab:this.tab}),t&&requestAnimationFrame((()=>this.calciteTabsActivate.emit())))}closeTabTitleAndNotify(){this.closed=!0,this.calciteInternalTabsClose.emit({tab:this.tab}),this.calciteTabsClose.emit()}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{selected:["selectedHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};xt.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-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}:host([layout=center]) .scale-s,:host([layout=center]) .scale-m,:host([layout=center]) .scale-l{margin-block:0px;text-align:center;flex-basis:12rem}:host([layout=center]) .scale-s .content,:host([layout=center]) .scale-m .content,:host([layout=center]) .scale-l .content{margin:auto}:host([layout=center][closable]) .content{padding-inline-start:32px}:host([layout=center][bordered][closable]) .scale-s .content{padding-inline-start:36px}:host([layout=center][bordered][closable]) .scale-m .content{padding-inline-start:40px}:host([layout=center][closable]) .scale-l .content{padding-inline-start:40px}:host([layout=center][closable][bordered]) .scale-s .content{padding-inline-start:52px}: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}.container{outline-color:transparent}:host(:focus) .container{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\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-ui-border-2);color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none}:host([selected]) .container{border-color:transparent;color:var(--calcite-ui-text-1)}:host([disabled]) .container{pointer-events:none;opacity:0.5}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.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}.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-ui-text-3);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-block-end-color:transparent;border-block-end-style:solid}.content{display:flex;align-items:center;justify-content:center}.calcite-tab-title--icon{position:relative;margin:0px;display:inline-flex;align-self:center}.calcite-tab-title--icon svg{transition:all 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-ui-foreground-1);color:var(--calcite-ui-text-3);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;block-size:calc(100% - 2px);background-color:var(--calcite-button-transparent-1);margin-inline-start:auto}.close-button:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n );outline-offset:-1px}.close-button:focus,.close-button:hover{color:var(--calcite-ui-text-1);background-color:var(--calcite-ui-foreground-2)}.close-button:active{color:var(--calcite-ui-text-1);background-color:var(--calcite-ui-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-ui-foreground-1)}:host([bordered][selected][position=bottom]){box-shadow:inset 0 2px 0 var(--calcite-ui-foreground-1)}:host([bordered]:hover) .container,:host([bordered]:focus) .container,:host([bordered]:active) .container{position:relative}:host([bordered]:hover) .container{background-color:var(--calcite-button-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]) .content{box-sizing:border-box;block-size:100%;border-block-end-color:transparent}: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-ui-border-1);border-inline-end-color:var(--calcite-ui-border-1)}:host([bordered]) .content{padding-inline:0.75rem}:host([bordered]) .scale-s .content{padding-inline:0.5rem}:host([bordered]) .scale-l .content{padding-inline:1rem}@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-app-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
|
-
* v1.11.1-next.1
|
34
|
-
*/
|
35
|
-
const vt=class{constructor(e){t(this,e),this.mutationObserver=I("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 e(l,null,e("slot",{name:"title-group"}),e("section",null,e("slot",null)))}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()))),o=await Promise.all(this.titles.map((t=>t.getTabIndex())));t=i.reduce(((t,e,i)=>(t[e]=this.tabs[i].id,t)),[]),e=o.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 o(this)}static get watchers(){return{position:["handleInheritableProps"],scale:["handleInheritableProps"]}}};vt.style=":host{display:flex;flex-direction:column}:host([bordered]){box-shadow:inset 0 1px 0 var(--calcite-ui-border-1);background-color:var(--calcite-ui-foreground-1)}:host([bordered]:not([position=bottom])) ::slotted(calcite-tab-nav){margin-block-end:-1px}:host([bordered][position=bottom]){box-shadow:inset 0 1px 0 var(--calcite-ui-border-1), inset 0 -1px 0 var(--calcite-ui-border-1)}:host([bordered]) section{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-1)}: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-ui-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-ui-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}";var wt;
|
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
|
-
* v1.11.1-next.1
|
40
|
-
*/
|
41
|
-
function kt(t,e,i){const{items:o,messages:s}=i,a=o.length,l=E(i,t)+1;return function(t,e,i,o){return t.replace("{position}",i.toString()).replace("{itemLabel}",e).replace("{total}",o.toString())}("idle"===e?s.dragHandleIdle:"active"===e?s.dragHandleActive:"change"===e?s.dragHandleChange:s.dragHandleCommit,t.label,l,a)}function yt(t){return{handle:t.composedPath().find((t=>void 0!==t.dataset?.jsHandle)),item:t.composedPath().find((t=>"calcite-value-list-item"===t.tagName?.toLowerCase()))}}!function(t){t.grip="grip"}(wt||(wt={}));const zt=class{constructor(e){t(this,e),this.calciteListChange=s(this,"calciteListChange",6),this.calciteListOrderChange=s(this,"calciteListOrderChange",6),this.calciteListFilter=s(this,"calciteListFilter",6),this.lastSelectedItem=null,this.mutationObserver=I("mutation",$.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=F.bind(this),this.deselectSiblingItems=R.bind(this),this.selectSiblings=N.bind(this),this.handleFilter=B.bind(this),this.handleFilterEvent=O.bind(this),this.getItemData=U.bind(this),this.keyDownHandler=t=>{if(t.defaultPrevented)return;const{handle:e,item:i}=yt(t);if(e&&!i.handleActivated&&" "===t.key&&this.updateScreenReaderText(kt(i,"commit",this)),!e||!i.handleActivated)return void P.call(this,t);t.preventDefault();const{items:o}=this;if(" "===t.key&&this.updateScreenReaderText(kt(i,"active",this)),"ArrowUp"!==t.key&&"ArrowDown"!==t.key||o.length<=1)return;const{el:s}=this,a=V(this,i,"ArrowUp"===t.key?"up":"down");if(a===o.length-1)s.appendChild(i);else{const t=s.children[a];s.insertBefore(i,t===i.nextElementSibling?t.nextElementSibling:t)}this.items=this.getItems(),this.calciteListOrderChange.emit(this.items.map((({value:t})=>t))),requestAnimationFrame((()=>f(e))),i.handleActivated=!0,this.updateHandleAriaLabel(e,kt(i,"change",this))},this.storeAssistiveEl=t=>{this.assistiveTextEl=t},this.handleFocusIn=t=>{const{handle:e,item:i}=yt(t);!(null==i?void 0:i.handleActivated)&&i&&e&&this.updateHandleAriaLabel(e,kt(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(){T(this,this.effectiveLocale)}connectedCallback(){ot(this)||(H(this),v(this),y(this),J.call(this),q.call(this),this.setUpSorting())}async componentWillLoad(){S(this),await z(this)}componentDidLoad(){W(this),K.call(this)}componentDidRender(){M(this)}disconnectedCallback(){ot(this)||(A(this),st(this),w(this),C(this),G.call(this))}calciteListFocusOutHandler(t){X.call(this,t)}calciteListItemRemoveHandler(t){Y.call(this,t)}calciteListItemChangeHandler(t){Q.call(this,t)}calciteInternalListItemPropsChangeHandler(t){t.stopPropagation(),this.setUpFilter()}calciteInternalListItemValueChangeHandler(t){Z.call(this,t),t.stopPropagation()}onDragStart(){G.call(this)}onDragEnd(){q.call(this)}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(){tt.call(this,"calcite-value-list-item"),this.setUpSorting()}setUpFilter(){this.filterEnabled&&(this.dataForFilter=this.getItemData())}setUpSorting(){const{dragEnabled:t}=this;t&&at(this)}handleBlur(){this.dragEnabled&&this.updateScreenReaderText("")}async getSelectedItems(){return this.selectedValues}async setFocus(t){return await D(this),et.call(this,t)}getIconType(){let t=null;return this.dragEnabled&&(t=wt.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,kt(e,"idle",this)),t.stopPropagation()}render(){return e(it,{onBlur:this.handleBlur,onFocusin:this.handleFocusIn,onKeyDown:this.keyDownHandler,props:this})}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};zt.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-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-ui-text-2)}:host *{box-sizing:border-box}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}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-ui-foreground-1);--tw-shadow:0 1px 0 var(--calcite-ui-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-app-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
|
-
* v1.11.1-next.1
|
46
|
-
*/
|
47
|
-
const Ct="actions-end",Tt="actions-start",Lt=class{constructor(e){t(this,e),this.calciteListItemChange=s(this,"calciteListItemChange",6),this.calciteListItemRemove=s(this,"calciteListItemRemove",7),this.calciteValueListItemDragHandleBlur=s(this,"calciteValueListItemDragHandleBlur",6),this.pickListItem=null,this.guid=`calcite-value-list-item-${_()}`,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(){n(this),H(this)}disconnectedCallback(){c(this),A(this)}componentWillLoad(){S(this)}componentDidLoad(){W(this)}componentDidRender(){M(this,!!this.el.closest("calcite-value-list")&&"managed")}async toggleSelected(t){this.pickListItem.toggleSelected(t)}async setFocus(){var t;return await D(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 x(t,Ct)?e("slot",{name:Ct,slot:nt.actionsEnd}):null}renderActionsStart(){const{el:t}=this;return x(t,Tt)?e("slot",{name:Tt,slot:nt.actionsStart}):null}renderHandle(){const{icon:t,iconFlipRtl:i}=this;if(t===ct.grip)return e("span",{class:{[lt.handle]:!0,[lt.handleActivated]:this.handleActivated},"data-js-handle":!0,onBlur:this.handleBlur,onKeyDown:this.handleKeyDown,role:"button",tabindex:"0",ref:t=>this.handleEl=t},e("calcite-icon",{flipRtl:i,icon:"drag",scale:"s"}))}render(){return e(a,{id:this.el.id||this.guid},this.renderHandle(),e("calcite-pick-list-item",{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 o(this)}};Lt.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-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-ui-foreground-1);font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2);--tw-shadow:0 1px 0 var(--calcite-ui-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-ui-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-ui-border-input);outline-color:transparent}.handle:hover{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.handle:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.handle--activated{background-color:var(--calcite-ui-foreground-3);color:var(--calcite-ui-text-1)}.handle calcite-icon{color:inherit}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hidden]){display:none}[hidden]{display:none}";const _t=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,o,s){var a,l;t.id===i._currentModel.id&&(i._flagEditorHasErrors(s.length>0),i.hasErrors||(i._flagEditorHasChanges(null===(a=i._currentModel)||void 0===a?void 0:a.canUndo()),(null===(l=i._currentModel)||void 0===l?void 0:l.canUndo())&&i._flagEditorContentChanged()),document.getElementById(`${i.instanceid}-errorFlag`).style.visibility=i.hasErrors?"visible":"hidden"),e.call(monaco.editor,t,o,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 e(a,null,e("div",{id:`${this.instanceid}-editor-container`,class:"editor-container padding-right"},e("div",{class:"editor-controls"},e("div",{class:"editor-buttons"},e("calcite-icon",{id:`${this.instanceid}-errorFlag`,icon:"exclamation-mark-triangle",title:this._translations.errorFlag,scale:"s",class:"edit-error-flag"}),e("calcite-button",{id:`${this.instanceid}-undo`,color:"blue",appearance:"solid",title:this._translations.undo,onClick:()=>this._undo(),scale:"s",class:"edit-button"},e("calcite-icon",{icon:"undo",scale:"s"})),e("calcite-button",{id:`${this.instanceid}-redo`,color:"blue",appearance:"solid",title:this._translations.redo,onClick:()=>this._redo(),scale:"s",class:"edit-button"},e("calcite-icon",{icon:"redo",scale:"s"})),e("calcite-button",{id:`${this.instanceid}-diff`,color:"blue",appearance:"solid",title:this._translations.diff,onClick:()=>this._toggleEditor(),scale:"s",class:"edit-button"},e("calcite-icon",{icon:"compare",scale:"s"})),e("calcite-button",{id:`${this.instanceid}-search`,appearance:"outline",color:"blue",title:this._translations.search,onClick:()=>this._search(),scale:"s",class:"edit-button"},e("calcite-icon",{icon:"search",scale:"s"})),e("calcite-button",{id:`${this.instanceid}-reset`,color:"blue",appearance:"solid",disabled:!0,title:this._translations.cancelEdits,onClick:()=>this._reset(),scale:"s",class:"edit-button"},e("calcite-icon",{icon:"reset",scale:"s"})))),e("div",{class:"edit-parent"},e("div",{id:`${this.instanceid}-container`,class:"json-edit-container"}),e("div",{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,o,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===(o=this._contentChanged)||void 0===o||o.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 rt(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,o;(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===(o=this._currentModel)||void 0===o?void 0:o.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 o(this)}};_t.style=':host{display:block;box-sizing:border-box;margin-left:0.75rem;margin-right:0.75rem;min-width:0;flex-grow:0;flex-shrink:1}:host-group-1-up>.block{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}:host-group-2-up>.block{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}:host-group-3-up>.block{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}:host-group-4-up>.block{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}:host-group-5-up>.block{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}:host-group-6-up>.block{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}:host-group-7-up>.block{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}:host-group-8-up>.block{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.tablet-block-group-1-up>:host{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}.tablet-block-group-2-up>:host{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}.tablet-block-group-3-up>:host{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}.tablet-block-group-4-up>:host{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}.tablet-block-group-5-up>:host{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}.tablet-block-group-6-up>:host{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}.tablet-block-group-7-up>:host{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}.tablet-block-group-8-up>:host{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.phone-block-group-1-up>:host{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}.phone-block-group-2-up>:host{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}.phone-block-group-3-up>:host{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}.phone-block-group-4-up>:host{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}.phone-block-group-5-up>:host{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}.phone-block-group-6-up>:host{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}.phone-block-group-7-up>:host{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}.phone-block-group-8-up>:host{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.code-face :host{letter-spacing:0em;font-family:"Consolas", "Andale Mono", "Lucida Console", "Monaco", monospace;font-weight:400;font-style:normal}.code-face :host b,.code-face :host strong{font-weight:400}.code-italic :host{letter-spacing:0em;font-family:"Consolas", "Andale Mono", "Lucida Console", "Monaco", monospace;font-weight:400;font-style:italic}.code-italic :host b,.code-italic :host strong{font-weight:400}.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%;padding:0px;overflow:hidden;max-height:100% !important}.json-editor-position2a{position:absolute;left:0px;top:0px;margin:0px;height:100%;width:50%;padding:0px;overflow:hidden;max-height:100% !important}.json-editor-position2b{position:absolute;right:0px;top:0px;margin:0px;height:100%;width:50%;padding:0px;overflow:hidden;max-height:100% !important}';const It=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=ht.getItemInfo(this.itemId),this.itemEdit&&(this.itemDetails=this.itemEdit.item,this.itemType=this.itemDetails.type),Promise.resolve()}render(){return e(a,null,e("div",{class:"parent-container"},e("div",{class:"inputBottomSeparation"},e("calcite-input",{id:"item-title",value:this.itemDetails.title})),e("div",{class:"inputBottomSeparation"},e("input",{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"}),e("button",{class:"font-size--3 btn-link inline-block trailer-quarter",onClick:()=>this._getThumbnail()},e("svg",{class:"icon-inline icon-inline--on-left",height:"16",viewBox:"0 0 16 16",width:"16"},e("path",{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),e("div",{class:"flex"},e("div",{class:"img-container",ref:t=>this.thumbnailContainer=t},e("img",{class:"scale-down",height:"133",id:"item-thumbnail",ref:t=>this.thumbnail=t,width:"200"})),e("div",{class:"snippet-count-container"},e("calcite-input",{id:"item-snippet",maxLength:250,type:"textarea",value:this.itemDetails.snippet}),e("label",{class:"font-size--3",id:"item-snippet-count",ref:t=>this.itemSnippetCount=t})))),e("calcite-label",null,this._translations.description,e("label",{id:"item-description-label"},e("calcite-input",{id:"item-description",type:"textarea",value:this.itemDetails.description}))),e("calcite-label",null,this._translations.tags,e("label",{id:"item-tags-label"},e("calcite-input",{id:"item-tags",value:(this.itemDetails.tags&&Array.isArray(this.itemDetails.tags)?this.itemDetails.tags:[this.itemDetails.tags]).join(",")}))),"Group"!==this.itemType?e("calcite-label",null,this._translations.credits,e("label",{id:"item-credits-label"},e("calcite-input",{id:"item-credits",value:this.itemDetails.accessInformation}))):null,"Group"!==this.itemType?e("calcite-label",null,e("label",{id:"item-terms-label"},this._translations.termsOfUse,e("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=ht.getItemInfo(this.itemId),this.itemEdit.item=this.itemDetails,ht.setItemInfo(this.itemEdit)}_updateThumbnail(t){const e=t.target.files;e&&e[0]&&this.thumbnail&&(this.thumbnail.src=URL.createObjectURL(e[0]),this.itemEdit=ht.getItemInfo(this.itemId),this.itemEdit.thumbnail=e[0],ht.replaceItemThumbnail(this.itemEdit))}async _getTranslations(){const t=await rt(this.el);this._translations=t[0]}get el(){return o(this)}};It.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;box-sizing:border-box;margin-left:0.75rem;margin-right:0.75rem;min-width:0;flex-grow:0;flex-shrink:1}label-group-1-up>.block{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}label-group-2-up>.block{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}label-group-3-up>.block{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}label-group-4-up>.block{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}label-group-5-up>.block{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}label-group-6-up>.block{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}label-group-7-up>.block{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}label-group-8-up>.block{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.tablet-block-group-1-up>label{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}.tablet-block-group-2-up>label{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}.tablet-block-group-3-up>label{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}.tablet-block-group-4-up>label{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}.tablet-block-group-5-up>label{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}.tablet-block-group-6-up>label{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}.tablet-block-group-7-up>label{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}.tablet-block-group-8-up>label{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.phone-block-group-1-up>label{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}.phone-block-group-2-up>label{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}.phone-block-group-3-up>label{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}.phone-block-group-4-up>label{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}.phone-block-group-5-up>label{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}.phone-block-group-6-up>label{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}.phone-block-group-7-up>label{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}.phone-block-group-8-up>label{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.code-face label{letter-spacing:0em;font-family:"Consolas", "Andale Mono", "Lucida Console", "Monaco", monospace;font-weight:400;font-style:normal}.code-face label b,.code-face label strong{font-weight:400}.code-italic label{letter-spacing:0em;font-family:"Consolas", "Andale Mono", "Lucida Console", "Monaco", monospace;font-weight:400;font-style:italic}.code-italic label b,.code-italic label strong{font-weight:400}';const Ht=class{constructor(e){t(this,e),this.groupId="",this._translations=void 0,this.sharing=[]}itemIdWatchHandler(){const t=ht.getItemInfo(this.groupId);this.sharing=t.groupDetails}async componentWillLoad(){return this._getTranslations()}render(){return e(a,null,e("div",{class:"container-border"},e("calcite-label",null,this._translations.groupInfo),this._renderItems(this.sharing)))}async getShareInfo(){return this.sharing}_renderItems(t){return t&&t.length>0?t.map((t=>e("calcite-label",{layout:"inline"},e("calcite-switch",{checked:t.shareItem,id:t.id,name:"setting",onCalciteSwitchChange:t=>this._updateItem(t),scale:"m",value:"enabled"}),e("solution-item-icon",{type:t.type,typeKeywords:t.typeKeywords}),e("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.detail.switched;const o=ht.getItemInfo(e);if(i.shareItem)o.groups?o.groups.indexOf(this.groupId)<0&&o.groups.push(this.groupId):o.groups=[this.groupId];else if(o.groups){const t=o.groups.indexOf(this.groupId);t>-1&&o.groups.splice(t,1)}ht.setItemInfo(o)}return i}))}async _getTranslations(){const t=await rt(this.el);this._translations=t[0]}get el(){return o(this)}static get watchers(){return{groupId:["itemIdWatchHandler"]}}};Ht.style=':host{display:block;box-sizing:border-box;margin-left:0.75rem;margin-right:0.75rem;min-width:0;flex-grow:0;flex-shrink:1}:host-group-1-up>.block{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}:host-group-2-up>.block{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}:host-group-3-up>.block{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}:host-group-4-up>.block{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}:host-group-5-up>.block{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}:host-group-6-up>.block{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}:host-group-7-up>.block{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}:host-group-8-up>.block{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.tablet-block-group-1-up>:host{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}.tablet-block-group-2-up>:host{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}.tablet-block-group-3-up>:host{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}.tablet-block-group-4-up>:host{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}.tablet-block-group-5-up>:host{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}.tablet-block-group-6-up>:host{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}.tablet-block-group-7-up>:host{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}.tablet-block-group-8-up>:host{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.phone-block-group-1-up>:host{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}.phone-block-group-2-up>:host{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}.phone-block-group-3-up>:host{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}.phone-block-group-4-up>:host{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}.phone-block-group-5-up>:host{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}.phone-block-group-6-up>:host{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}.phone-block-group-7-up>:host{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}.phone-block-group-8-up>:host{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.code-face :host{letter-spacing:0em;font-family:"Consolas", "Andale Mono", "Lucida Console", "Monaco", monospace;font-weight:400;font-style:normal}.code-face :host b,.code-face :host strong{font-weight:400}.code-italic :host{letter-spacing:0em;font-family:"Consolas", "Andale Mono", "Lucida Console", "Monaco", monospace;font-weight:400;font-style:italic}.code-italic :host b,.code-italic :host strong{font-weight:400}.container-border{padding:1rem}.icon-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}';const At=class{constructor(e){t(this,e),this.organizationVariableSelected=s(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 e(a,null,e("div",null,e("h4",{class:"org-var-header"},this._translations.orgVariables)),e("div",{class:"container-border"},e("calcite-tree",{id:"variable-label"},this._renderHierarchy(this._organizationVariables))))}_renderHierarchy(t){return t.map((t=>e("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 rt(this.el);this._translations=t[0]}get el(){return o(this)}static get watchers(){return{value:["valueWatchHandler"]}}};At.style=':host{display:block;box-sizing:border-box;margin-left:0.75rem;margin-right:0.75rem;min-width:0;flex-grow:0;flex-shrink:1}:host-group-1-up>.block{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}:host-group-2-up>.block{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}:host-group-3-up>.block{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}:host-group-4-up>.block{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}:host-group-5-up>.block{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}:host-group-6-up>.block{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}:host-group-7-up>.block{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}:host-group-8-up>.block{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.tablet-block-group-1-up>:host{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}.tablet-block-group-2-up>:host{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}.tablet-block-group-3-up>:host{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}.tablet-block-group-4-up>:host{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}.tablet-block-group-5-up>:host{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}.tablet-block-group-6-up>:host{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}.tablet-block-group-7-up>:host{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}.tablet-block-group-8-up>:host{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.phone-block-group-1-up>:host{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}.phone-block-group-2-up>:host{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}.phone-block-group-3-up>:host{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}.phone-block-group-4-up>:host{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}.phone-block-group-5-up>:host{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}.phone-block-group-6-up>:host{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}.phone-block-group-7-up>:host{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}.phone-block-group-8-up>:host{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.code-face :host{letter-spacing:0em;font-family:"Consolas", "Andale Mono", "Lucida Console", "Monaco", monospace;font-weight:400;font-style:normal}.code-face :host b,.code-face :host strong{font-weight:400}.code-italic :host{letter-spacing:0em;font-family:"Consolas", "Andale Mono", "Lucida Console", "Monaco", monospace;font-weight:400;font-style:italic}.code-italic :host b,.code-italic :host strong{font-weight:400}.container-border{overflow-y:auto}.org-var-header{margin-left:0px;margin-right:0px;margin-top:0px;margin-bottom:1rem}';const Mt=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=ht.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 e(a,null,e("div",{class:"resource-item"},e("div",{class:"margin-bottom-1"},e("calcite-button",{appearance:"solid",class:"resource-button",color:"blue",onClick:()=>this._addNewResource()},this._translations.addResource),e("calcite-button",{appearance:"solid",color:"blue",disabled:!t,onClick:()=>this._downloadAll()},this._translations.downloadAll)),e("div",{class:"resources-container",style:{display:t?"inherit":"none"}},this._renderResourceList())))}_renderResourceList(){return e("calcite-value-list",{multiple:!0},this.resourceFilePaths.reduce(((t,e)=>(e.type!==pt.Thumbnail&&t.push(this._renderResource(e)),t)),[]))}_renderResource(t){const i=t.updateType===dt.Remove;return e("calcite-value-list-item",{class:i?"disabled":"",label:t.folder?t.folder+"/"+t.filename:t.filename,nonInteractive:!0,value:t.url},e("calcite-action-group",{"expand-disabled":"true",layout:"horizontal",slot:"actions-end"},e("calcite-action",{disabled:i,icon:"download",label:this._translations.download,onClick:()=>this._download(t.url,t.filename),scale:"m",text:this._translations.download,title:this._translations.download}),e("calcite-action",{disabled:i,icon:"upload-to",label:this._translations.update,onClick:()=>this._upload(t),scale:"m",text:this._translations.update,title:this._translations.update}),e("calcite-action",{disabled:i,icon:"trash",label:this._translations.delete,onClick:()=>this._delete(t),scale:"m",text:this._translations.delete,title:this._translations.delete}),i?e("calcite-action",{icon:"reset",label:this._translations.reset,onClick:()=>this._reset(t.filename),scale:"m",text:this._translations.reset,title:this._translations.reset}):e("div",{class:"display-none"})))}_delete(t){t.updateType=dt.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=dt.None),e))):this.resourceFilePaths.map((e=>(e.filename===t&&(e.updateType=dt.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),o=await i.blob(),s=URL.createObjectURL(o);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=dt.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:pt.Data,folder:void 0,filename:i,blob:e[0],updateType:dt.Add}],this._updateStore())}}_updateStore(){const t=ht.getItemInfo(this.itemId);t.resourceFilePaths=this.resourceFilePaths,ht.setItemInfo(t)}async _getTranslations(){const t=await rt(this.el);this._translations=t[0]}get el(){return o(this)}static get watchers(){return{itemId:["itemIdWatchHandler"]}}};Mt.style=':host{display:block;box-sizing:border-box;margin-left:0.75rem;margin-right:0.75rem;min-width:0;flex-grow:0;flex-shrink:1}:host-group-1-up>.block{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}:host-group-2-up>.block{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}:host-group-3-up>.block{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}:host-group-4-up>.block{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}:host-group-5-up>.block{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}:host-group-6-up>.block{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}:host-group-7-up>.block{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}:host-group-8-up>.block{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.tablet-block-group-1-up>:host{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}.tablet-block-group-2-up>:host{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}.tablet-block-group-3-up>:host{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}.tablet-block-group-4-up>:host{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}.tablet-block-group-5-up>:host{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}.tablet-block-group-6-up>:host{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}.tablet-block-group-7-up>:host{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}.tablet-block-group-8-up>:host{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.phone-block-group-1-up>:host{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}.phone-block-group-2-up>:host{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}.phone-block-group-3-up>:host{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}.phone-block-group-4-up>:host{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}.phone-block-group-5-up>:host{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}.phone-block-group-6-up>:host{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}.phone-block-group-7-up>:host{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}.phone-block-group-8-up>:host{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.code-face :host{letter-spacing:0em;font-family:"Consolas", "Andale Mono", "Lucida Console", "Monaco", monospace;font-weight:400;font-style:normal}.code-face :host b,.code-face :host strong{font-weight:400}.code-italic :host{letter-spacing:0em;font-family:"Consolas", "Andale Mono", "Lucida Console", "Monaco", monospace;font-weight:400;font-style:italic}.code-italic :host b,.code-italic :host strong{font-weight:400}.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 jt=class{itemIdWatchHandler(){this._initializing=!0,this.value=JSON.stringify("data"===this.instanceid?ht.getItemInfo(this.itemId).data:ht.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,[o,s]=e.split("|");if(o==this.itemId&&s===this.instanceid){if(!this._initializing&&i.length>0){const t=ht.getItemInfo(o);"data"===s?t.data=JSON.parse(i):t.properties=JSON.parse(i),ht.setItemInfo(t)}this._initializing=!1}}}))}componentWillLoad(){return this._getTranslations()}render(){return e(a,null,e("div",{class:"solution-data-container"},e("calcite-shell",{class:"light var-container",dir:"ltr"},e("calcite-panel",{class:"json-editor"},e("div",{class:"solution-data-child-container calcite-match-height"},e("json-editor",{class:"solution-data-editor-container",instanceid:this.itemId+"|"+this.instanceid,value:this.value}))),e("calcite-shell-panel",{"height-scale":"l",position:"end",slot:"contextual-panel","width-scale":"xs"},e("div",{class:this.varsOpen?"solution-data-child-container":"solution-data-child-container-collapsed"},e("calcite-button",{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}),e("div",{class:this.varsOpen?"org-vars":"org-vars display-none",id:"orgVars"},e("solution-organization-variables",{value:this.organizationVariables})),e("div",{class:this.varsOpen?"sol-vars":"sol-vars display-none",id:"solVars"},e("solution-variables",{value:this.solutionVariables})))))))}_toggleVars(){this.varsOpen=!this.varsOpen}async _getTranslations(){const t=await rt(this.el);this._translations=t[0]}get el(){return o(this)}static get watchers(){return{itemId:["itemIdWatchHandler"]}}};jt.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 St=class{constructor(e){t(this,e),this.solutionVariableSelected=s(this,"solutionVariableSelected",7),this.value="",this._solutionVariables=[],this._translations=void 0}valueWatchHandler(){this._solutionVariables=JSON.parse(this.value)}componentWillLoad(){return this._getTranslations()}render(){return e(a,null,e("div",null,e("h4",{class:"org-var-header"},this._translations.solVariables)),e("div",{class:"container-border"},e("calcite-tree",{id:"variable-label"},this._renderHierarchy(this._solutionVariables))))}_renderHierarchy(t){return t.map((t=>t.dependencies&&t.dependencies.length>0?e("calcite-tree-item",{onClick:t=>this._toggleExpand(t)},e("solution-item-icon",{type:t.type}),e("span",{class:"icon-text",title:t.title},t.title),e("calcite-tree",{slot:"children"},this._renderHierarchy(t.dependencies))):e("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 rt(this.el);this._translations=t[0]}get el(){return o(this)}static get watchers(){return{value:["valueWatchHandler"]}}};St.style=':host{display:block;box-sizing:border-box;margin-left:0.75rem;margin-right:0.75rem;min-width:0;flex-grow:0;flex-shrink:1}:host-group-1-up>.block{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}:host-group-2-up>.block{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}:host-group-3-up>.block{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}:host-group-4-up>.block{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}:host-group-5-up>.block{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}:host-group-6-up>.block{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}:host-group-7-up>.block{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}:host-group-8-up>.block{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.tablet-block-group-1-up>:host{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}.tablet-block-group-2-up>:host{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}.tablet-block-group-3-up>:host{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}.tablet-block-group-4-up>:host{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}.tablet-block-group-5-up>:host{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}.tablet-block-group-6-up>:host{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}.tablet-block-group-7-up>:host{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}.tablet-block-group-8-up>:host{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.phone-block-group-1-up>:host{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}.phone-block-group-2-up>:host{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}.phone-block-group-3-up>:host{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}.phone-block-group-4-up>:host{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}.phone-block-group-5-up>:host{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}.phone-block-group-6-up>:host{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}.phone-block-group-7-up>:host{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}.phone-block-group-8-up>:host{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.code-face :host{letter-spacing:0em;font-family:"Consolas", "Andale Mono", "Lucida Console", "Monaco", monospace;font-weight:400;font-style:normal}.code-face :host b,.code-face :host strong{font-weight:400}.code-italic :host{letter-spacing:0em;font-family:"Consolas", "Andale Mono", "Lucida Console", "Monaco", monospace;font-weight:400;font-style:italic}.code-italic :host b,.code-italic :host strong{font-weight:400}.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{bt as calcite_shell_panel,ut as calcite_tab,mt as calcite_tab_nav,xt as calcite_tab_title,vt as calcite_tabs,zt as calcite_value_list,Lt as calcite_value_list_item,_t as json_editor,It as solution_item_details,Ht as solution_item_sharing,At as solution_organization_variables,Mt as solution_resource_item,jt as solution_template_data,St as solution_variables}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as t,c as e,h as i,H as a,g as s}from"./p-5fa70b85.js";import{c as o,u as l,d as c}from"./p-d9ba28a0.js";import{g as n,M as d}from"./p-beee4642.js";import"./p-01633f02.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
|
-
* v1.11.1-next.1
|
11
|
-
*/const r=class{constructor(i){t(this,i),this.calciteInternalListItemGroupDefaultSlotChange=e(this,"calciteInternalListItemGroupDefaultSlotChange",6),this.handleDefaultSlotChange=()=>{this.calciteInternalListItemGroupDefaultSlotChange.emit()},this.disabled=!1,this.heading=void 0,this.visualLevel=null}connectedCallback(){const{el:t}=this;this.visualLevel=n(t,!0),o(this)}componentDidRender(){l(this)}disconnectedCallback(){c(this)}render(){const{heading:t,visualLevel:e}=this;return i(a,null,i("tr",{class:"container",style:{"--calcite-list-item-spacing-indent-multiplier":`${e}`}},i("td",{class:"heading",colSpan:d},t)),i("slot",{onSlotchange:this.handleDefaultSlotChange}))}get el(){return s(this)}};r.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;flex-direction:column;background-color:var(--calcite-ui-foreground-1);--calcite-list-item-spacing-indent:1rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{margin:0px;display:flex;flex:1 1 0%;background-color:var(--calcite-ui-foreground-2);padding:0.75rem;font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2)}.heading{padding-inline-start:calc(var(--calcite-list-item-spacing-indent) * var(--calcite-list-item-spacing-indent-multiplier))}::slotted(calcite-list-item){--tw-shadow:0 -1px 0 var(--calcite-ui-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);margin-block-start:1px}::slotted(calcite-list-item:nth-child(1 of :not([hidden]))){--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);margin-block-start:0px}:host([hidden]){display:none}[hidden]{display:none}";export{r as calcite_list_item_group}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as i,c as t,h as s,g as e}from"./p-5fa70b85.js";import{d as o,t as a}from"./p-def6a0b3.js";import{c as l,d as n,u as h}from"./p-d9ba28a0.js";import{c}from"./p-ced50533.js";import{a as r,s as d,c as p}from"./p-6ac5e954.js";import"./p-b024d5a4.js";import"./p-69370d9c.js";import"./p-01633f02.js";const u=class{constructor(s){i(this,s),this.calciteChipGroupSelect=t(this,"calciteChipGroupSelect",6),this.mutationObserver=c("mutation",(()=>this.updateItems())),this.items=[],this.updateItems=i=>{var t;const s=i?i.target:this.slotRefEl;this.items=null==s?void 0:s.assignedElements({flatten:!0}).filter((i=>null==i?void 0:i.matches("calcite-chip"))),null===(t=this.items)||void 0===t||t.forEach((i=>{i.interactive=!0,i.scale=this.scale,i.selectionMode=this.selectionMode})),this.setSelectedItems(!1)},this.setSelectedItems=(i,t)=>{var s,e;t&&(null===(s=this.items)||void 0===s||s.forEach((i=>{const s=t===i;switch(this.selectionMode){case"multiple":s&&(i.selected=!i.selected);break;case"single":i.selected=!!s&&!i.selected;break;case"single-persist":i.selected=!!s}}))),this.selectedItems=null===(e=this.items)||void 0===e?void 0:e.filter((i=>i.selected)),i&&this.calciteChipGroupSelect.emit()},this.disabled=!1,this.label=void 0,this.scale="m",this.selectionMode="none",this.selectedItems=[]}onSelectionModeChange(){this.updateItems()}connectedCallback(){var i;l(this),null===(i=this.mutationObserver)||void 0===i||i.observe(this.el,{childList:!0,subtree:!0})}componentDidRender(){n(this),h(this)}componentDidLoad(){r(this)}disconnectedCallback(){var i;null===(i=this.mutationObserver)||void 0===i||i.disconnect()}async componentWillLoad(){d(this)}calciteInternalChipKeyEventListener(i){var t;if(i.composedPath().includes(this.el)){const s=null===(t=this.items)||void 0===t?void 0:t.filter((i=>!i.disabled));switch(i.detail.key){case"ArrowRight":o(s,i.detail.target,"next");break;case"ArrowLeft":o(s,i.detail.target,"previous");break;case"Home":o(s,i.detail.target,"first");break;case"End":o(s,i.detail.target,"last")}}}calciteChipCloseListener(i){var t,s,e,a;const l=i.target;(null===(t=this.items)||void 0===t?void 0:t.includes(l))&&((null===(s=this.items)||void 0===s?void 0:s.indexOf(l))>0?o(this.items,l,"previous"):0===(null===(e=this.items)||void 0===e?void 0:e.indexOf(l))?o(this.items,l,"next"):o(this.items,l,"first")),this.items=null===(a=this.items)||void 0===a?void 0:a.filter((i=>i!==l))}calciteChipSelectListener(i){i.composedPath().includes(this.el)&&this.setSelectedItems(!0,i.target)}async setFocus(){var i;if(await p(this),!this.disabled)return null===(i=this.selectedItems[0]||this.items[0])||void 0===i?void 0:i.setFocus()}render(){const i="none"===this.selectionMode||"multiple"===this.selectionMode?"group":"radiogroup";return s("div",{"aria-disabled":a(this.disabled),"aria-label":this.label,class:"container",role:i},s("slot",{onSlotchange:this.updateItems,ref:i=>this.slotRefEl=i}))}get el(){return e(this)}static get watchers(){return{selectionMode:["onSelectionModeChange"]}}};u.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex}.container{display:flex;inline-size:100%;flex-wrap:wrap;gap:0.5rem}::slotted(calcite-chip){flex:none}:host([scale=s]) .container{gap:0.25rem}:host([scale=l]) .container{gap:0.75rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hidden]){display:none}[hidden]{display:none}";export{u as calcite_chip_group}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{h as t}from"./p-5fa70b85.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
|
-
* v1.11.1-next.1
|
11
|
-
*/function r(t){return Math.min(Math.max(Math.ceil(t),1),6)}const a=(r,a)=>{const e=r.level?`h${r.level}`:"div";return delete r.level,t(e,{...r},a)};export{a as H,r as c}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as e,c as t,h as i,g as a}from"./p-5fa70b85.js";import{c as s,d as n}from"./p-aef47d8d.js";import{t as o,g as l}from"./p-def6a0b3.js";import{c as r,d as c}from"./p-8f862c72.js";import{c as d,d as h,s as m,u as f}from"./p-df9a5059.js";import"./p-ced50533.js";import"./p-b024d5a4.js";import"./p-69370d9c.js";import"./p-16b0d958.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
|
-
* v1.11.1-next.1
|
11
|
-
*/const p="thumbnail",u="title",b="subtitle",g="footer-start",v="footer-end",w=class{constructor(i){e(this,i),this.calciteCardSelect=t(this,"calciteCardSelect",6),this.cardSelectClick=()=>{this.selectCard()},this.cardSelectKeyDown=e=>{switch(e.key){case" ":case"Enter":this.selectCard(),e.preventDefault()}},this.loading=!1,this.selected=!1,this.selectable=!1,this.thumbnailPosition="block-start",this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}onMessagesChange(){}connectedCallback(){s(this),r(this),d(this)}disconnectedCallback(){n(this),c(this),h(this)}async componentWillLoad(){await m(this)}render(){const e=this.thumbnailPosition.startsWith("inline"),t=this.thumbnailPosition.endsWith("start");return i("div",{class:{"calcite-card-container":!0,inline:e}},this.loading?i("div",{"aria-live":"polite",class:"calcite-card-loader-container"},i("calcite-loader",{label:this.messages.loading})):null,t&&this.renderThumbnail(),i("section",{"aria-busy":o(this.loading),class:{container:!0}},this.selectable?this.renderCheckbox():null,this.renderHeader(),i("div",{class:"card-content"},i("slot",null)),this.renderFooter()),!t&&this.renderThumbnail())}effectiveLocaleChange(){f(this,this.effectiveLocale)}selectCard(){this.selected=!this.selected,this.calciteCardSelect.emit()}renderThumbnail(){return l(this.el,p)?i("section",{class:"thumbnail-wrapper"},i("slot",{name:p})):null}renderCheckbox(){return i("calcite-label",{class:"checkbox-wrapper",onClick:this.cardSelectClick,onKeyDown:this.cardSelectKeyDown},i("calcite-checkbox",{checked:this.selected,label:this.messages.select}))}renderHeader(){const{el:e}=this,t=l(e,u),a=l(e,b);return t||a?i("header",{class:"header"},i("slot",{name:u}),i("slot",{name:b})):null}renderFooter(){const{el:e}=this,t=l(e,g),a=l(e,v);return t||a?i("footer",{class:"footer"},i("slot",{name:g}),i("slot",{name:v})):null}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};w.style=":host{display:block;max-inline-size:100%}:host .calcite-card-container{position:relative;display:flex;block-size:100%;flex-direction:column;justify-content:space-between;overflow:hidden;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3);--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);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);border-radius:var(--calcite-border-radius-base)}.container{position:relative;display:flex;flex:1 1 auto;flex-direction:column}:host([loading]) .calcite-card-container *:not(calcite-loader):not(.calcite-card-loader-container){pointer-events:none;opacity:0}:host([loading]) .calcite-card-loader-container{position:absolute;inset:0px;display:flex;align-items:center}.header,.footer{display:flex;padding-inline:0.75rem;padding-block:0.75rem 0.25rem}.header{flex-direction:column}.footer{margin-block-start:auto;flex-direction:row;align-content:space-between;justify-content:space-between;padding-inline:0.75rem;padding-block:0.25rem 0.75rem}.card-content{padding:0.75rem;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-ui-text-3)}:host([selected]) .calcite-card-container{border-color:var(--calcite-ui-brand)}slot[name=title]::slotted(*),*::slotted([slot=title]){margin:0px;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}:host([selectable]) .header{padding-inline-end:2rem}slot[name=subtitle]::slotted(*),*::slotted([slot=subtitle]){margin:0px;margin-block-start:0.5rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2)}slot[name=thumbnail]::slotted(img),img::slotted([slot=thumbnail]){min-inline-size:100%;max-inline-size:100%}slot[name=footer-start]::slotted(*),*::slotted([slot=footer-start]){align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375;margin-inline-end:auto}slot[name=footer-end]::slotted(*),*::slotted([slot=footer-end]){align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375}.checkbox-wrapper{position:absolute;margin:0px;padding:0px;inset-block-start:0.5rem;inset-inline-end:0.5rem}.thumbnail-wrapper{display:flex}.calcite-card-container.inline{flex-direction:row}.calcite-card-container.inline>.container{inline-size:60%}.calcite-card-container.inline>.thumbnail-wrapper{inline-size:40%;align-items:flex-start}.calcite-card-container.inline slot[name=thumbnail]::slotted(img),.calcite-card-container.inline img::slotted([slot=thumbnail]){inline-size:100%}slot[name=footer-start]::slotted(*),slot[name=footer-end]::slotted(*){display:flex;gap:0.25rem}:host([hidden]){display:none}[hidden]{display:none}";export{w as calcite_card}
|
@@ -1,21 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{c as e}from"./p-730308be.js";
|
7
|
-
/** @license
|
8
|
-
* Copyright 2022 Esri
|
9
|
-
*
|
10
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
11
|
-
* you may not use this file except in compliance with the License.
|
12
|
-
* You may obtain a copy of the License at
|
13
|
-
*
|
14
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
15
|
-
*
|
16
|
-
* Unless required by applicable law or agreed to in writing, software
|
17
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
18
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
19
|
-
* See the License for the specific language governing permissions and
|
20
|
-
* limitations under the License.
|
21
|
-
*/const{state:a,onChange:s}=e({managedLayers:[],managedTables:[],highlightHandles:[],removeHandles:()=>{a.highlightHandles.forEach((e=>null==e?void 0:e.remove())),a.highlightHandles=[]}}),n=new CustomEvent("managedLayersChanged",{bubbles:!0,cancelable:!1,composed:!0});s("managedLayers",(()=>{dispatchEvent(n)}));export{a as s}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as t,c as i,h as e,g as s,F as n}from"./p-5fa70b85.js";import{j as l,i as a,r,n as h,o,h as c,k as p,a as u}from"./p-de704be8.js";import{c as d,O as m}from"./p-d83c0e9a.js";import{e as f,w as g}from"./p-def6a0b3.js";import{s as w,a as x,c as y}from"./p-6ac5e954.js";import"./p-e1a4994d.js";import"./p-b024d5a4.js";import"./p-69370d9c.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
|
-
* v1.11.1-next.1
|
11
|
-
*/const b=d(),v=class{constructor(e){t(this,e),this.calciteColorPickerHexInputChange=i(this,"calciteColorPickerHexInputChange",6),this.onHexInputBlur=()=>{const t=this.hexInputNode,i=t.value,e=`#${i}`,{allowEmpty:s,internalColor:n}=this,h=s&&!i,o=l(e);this.onHexInputChange(),h||a(e)&&o||(t.value=s&&!n?"":this.formatHexForInternalInput(r(n.object())))},this.onOpacityInputBlur=()=>{const t=this.opacityInputNode,i=t.value,{allowEmpty:e,internalColor:s}=this;e&&!i||(t.value=e&&!s?"":this.formatOpacityForInternalInput(s))},this.onHexInputChange=()=>{let t=this.hexInputNode.value;if(t){const i=h(t,!1);a(i)&&this.alphaChannel&&this.internalColor&&(t=`${i+h(this.internalColor.hexa(),!0).slice(-2)}`)}this.internalSetValue(t,this.value)},this.onOpacityInputChange=()=>{var t;const i=this.opacityInputNode;let e;if(i.value){const s=o(Number(i.value));e=null===(t=this.internalColor)||void 0===t?void 0:t.alpha(s).hexa()}else e=i.value;this.internalSetValue(e,this.value)},this.onInputKeyDown=t=>{const{altKey:i,ctrlKey:e,metaKey:s,shiftKey:n}=t,{alphaChannel:l,hexInputNode:a,internalColor:r,value:h}=this,{key:o}=t,u=t.composedPath();if("Tab"===o||"Enter"===o)return u.includes(a)?this.onHexInputChange():this.onOpacityInputChange(),void("Enter"===o&&t.preventDefault());const d=this.value;if("ArrowDown"===o||"ArrowUp"===o)return h?(this.internalSetValue(c(this.nudgeRGBChannels(r,(n?10:1)*("ArrowUp"===o?1:-1),u.includes(a)?"rgb":"a"),l),d),void t.preventDefault()):(this.internalSetValue(this.previousNonNullValue,d),void t.preventDefault());const m=i||e||s,f=1===o.length,g=p.test(o);!f||m||g||t.preventDefault()},this.onHexInputPaste=t=>{const i=t.clipboardData.getData("text");a(i)&&(t.preventDefault(),this.hexInputNode.value=i.slice(1))},this.previousNonNullValue=this.value,this.storeHexInputRef=t=>{this.hexInputNode=t},this.storeOpacityInputRef=t=>{this.opacityInputNode=t},this.allowEmpty=!1,this.alphaChannel=!1,this.hexLabel="Hex",this.messages=void 0,this.numberingSystem=void 0,this.scale="m",this.value=h(c(b,this.alphaChannel),this.alphaChannel,!0),this.internalColor=b}connectedCallback(){const{allowEmpty:t,alphaChannel:i,value:e}=this;if(e){const t=h(e,i);a(t,i)&&this.internalSetValue(t,t,!1)}else t&&this.internalSetValue(null,null,!1)}componentWillLoad(){w(this)}componentDidLoad(){x(this)}handleValueChange(t,i){this.internalSetValue(t,i,!1)}render(){const{alphaChannel:t,hexLabel:i,internalColor:s,messages:n,scale:l,value:a}=this,r=this.formatHexForInternalInput(a),h=this.formatOpacityForInternalInput(s),o="l"===l?"m":"s";return e("div",{class:"container"},e("calcite-input-text",{class:"hex-input",label:(null==n?void 0:n.hex)||i,maxLength:6,onCalciteInputTextChange:this.onHexInputChange,onCalciteInternalInputTextBlur:this.onHexInputBlur,onKeyDown:this.onInputKeyDown,onPaste:this.onHexInputPaste,prefixText:"#",scale:o,value:r,ref:this.storeHexInputRef}),t?e("calcite-input-number",{class:"opacity-input",key:"opacity-input",label:null==n?void 0:n.opacity,max:m.max,maxLength:3,min:m.min,numberButtonType:"none",numberingSystem:this.numberingSystem,onCalciteInputNumberChange:this.onOpacityInputChange,onCalciteInternalInputNumberBlur:this.onOpacityInputBlur,onKeyDown:this.onInputKeyDown,scale:o,suffixText:"%",value:h,ref:this.storeOpacityInputRef}):null)}async setFocus(){return await y(this),f(this.hexInputNode)}internalSetValue(t,i,e=!0){if(t){const{alphaChannel:i}=this,s=h(t,i,i);if(a(s,i)){const{internalColor:t}=this,n=d(s),l=h(c(n,i),i),a=!t||l!==h(c(t,i),i);return this.internalColor=n,this.previousNonNullValue=l,this.value=l,void(a&&e&&this.calciteColorPickerHexInputChange.emit())}}else if(this.allowEmpty)return this.internalColor=null,this.value=null,void(e&&this.calciteColorPickerHexInputChange.emit());this.value=i}formatHexForInternalInput(t){return t?t.replace("#","").slice(0,6):""}formatOpacityForInternalInput(t){return t?`${u(t.alpha())}`:""}nudgeRGBChannels(t,i,e){let s;const n=t.array(),l=n.slice(0,3);if("rgb"===e)s=[...l.map((t=>t+i)),this.alphaChannel?n[3]:void 0];else{const e=o(u(t.alpha())+i);s=[...l,e]}return d(s)}get el(){return s(this)}static get watchers(){return{value:["handleValueChange"]}}};v.style=":host{display:block}.container{display:flex;inline-size:100%;flex-wrap:nowrap;align-items:center}.hex-input{flex-grow:1;text-transform:uppercase}.opacity-input{inline-size:68px;margin-inline-start:-1px}:host([scale=s]) .container{flex-wrap:wrap;row-gap:0.125rem}:host([scale=s]) .opacity-input{inline-size:unset;margin-inline-start:unset}:host([scale=l]) .opacity-input{inline-size:88px}: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
|
-
* v1.11.1-next.1
|
16
|
-
*/
|
17
|
-
const C="checker",k=4,z=8,j=class{constructor(i){t(this,i),this.active=!1,this.color=void 0,this.scale="m"}handleColorChange(t){this.internalColor=t?d(t):null}componentWillLoad(){this.handleColorChange(this.color)}render(){return e("svg",{class:{swatch:!0,"swatch--no-color":!this.internalColor},xmlns:"http://www.w3.org/2000/svg"},this.renderSwatch())}renderSwatch(){const{active:t,el:i,internalColor:s}=this,l=t?"100%":"0",a={height:"100%",rx:l,stroke:"light"===g(i)?"rgba(0, 0, 0, 0.3)":"rgba(255, 255, 255, 0.15)","stroke-width":"2",width:"100%"};if(!s)return e(n,null,e("clipPath",{id:"shape"},e("rect",{height:"100%",rx:l,width:"100%"})),e("rect",Object.assign({"clip-path":`inset(0 round ${l})`,rx:l},a)),e("line",{"clip-path":"url(#shape)","stroke-width":"3",x1:"100%",x2:"0",y1:"0",y2:"100%"}));const r=s.alpha(),h=c(s),o=c(s,r<1);return e(n,null,e("title",null,o),e("defs",null,e("pattern",{height:z,id:"checker",patternUnits:"userSpaceOnUse",width:z,x:"0",y:"0"},e("rect",{class:C,height:k,width:k,x:"0",y:"0"}),e("rect",{class:C,height:k,width:k,x:k,y:k}))),e("rect",{fill:"url(#checker)",height:"100%",rx:l,width:"100%"}),e("rect",Object.assign({fill:h,style:{"clip-path":r<1?"polygon(100% 0, 0 0, 0 100%)":`inset(0 round ${l})`}},a)),r<1?e("rect",Object.assign({fill:o,key:"opacity-fill",style:{"clip-path":"polygon(100% 0, 100% 100%, 0 100%)"}},a)):null)}get el(){return s(this)}static get watchers(){return{color:["handleColorChange"]}}};j.style=":host{position:relative;display:inline-flex}:host([scale=s]){block-size:1.25rem;inline-size:1.25rem}:host([scale=m]){block-size:1.5rem;inline-size:1.5rem}:host([scale=l]){block-size:2rem;inline-size:2rem}.swatch{overflow:hidden;block-size:inherit;inline-size:inherit}.swatch rect{transition-property:all;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.swatch--no-color rect{fill:var(--calcite-ui-foreground-1)}.swatch--no-color line{stroke:var(--calcite-ui-danger)}.checker{fill:#cacaca}:host([hidden]){display:none}[hidden]{display:none}";export{v as calcite_color_picker_hex_input,j as calcite_color_picker_swatch}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{d as s}from"./p-bb62bb27.js";import"./p-5fa70b85.js";import"./p-266612c2.js";import"./p-def6a0b3.js";import"./p-b024d5a4.js";import"./p-69370d9c.js";import"./p-d9ba28a0.js";import"./p-01633f02.js";import"./p-16b0d958.js";import"./p-86e31fef.js";import"./p-6ac5e954.js";import"./p-8f862c72.js";import"./p-ced50533.js";import"./p-6484a05d.js";import"./p-1b3e4ca7.js";import"./p-55f65f3f.js";import"./p-df9a5059.js";import"./p-855f66d0.js";import"./p-4931ad5b.js";var i="sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),m="sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),a=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/,M=function(s,M){return a.test(M)?i[s.month()]:m[s.month()]};M.s=m,M.f=i;var d={name:"lt",weekdays:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),weekdaysShort:"sek_pir_ant_tre_ket_pen_šeš".split("_"),weekdaysMin:"s_p_a_t_k_pn_š".split("_"),months:M,monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),ordinal:function(s){return s+"."},weekStart:1,relativeTime:{future:"už %s",past:"prieš %s",s:"kelias sekundes",m:"minutę",mm:"%d minutes",h:"valandą",hh:"%d valandas",d:"dieną",dd:"%d dienas",M:"mėnesį",MM:"%d mėnesius",y:"metus",yy:"%d metus"},format:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"}};s.locale(d,null,!0);export default d;
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{d as r}from"./p-bb62bb27.js";import"./p-5fa70b85.js";import"./p-266612c2.js";import"./p-def6a0b3.js";import"./p-b024d5a4.js";import"./p-69370d9c.js";import"./p-d9ba28a0.js";import"./p-01633f02.js";import"./p-16b0d958.js";import"./p-86e31fef.js";import"./p-6ac5e954.js";import"./p-8f862c72.js";import"./p-ced50533.js";import"./p-6484a05d.js";import"./p-1b3e4ca7.js";import"./p-55f65f3f.js";import"./p-df9a5059.js";import"./p-855f66d0.js";import"./p-4931ad5b.js";var m={name:"da",weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn._man._tirs._ons._tors._fre._lør.".split("_"),weekdaysMin:"sø._ma._ti._on._to._fr._lø.".split("_"),months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj_juni_juli_aug._sept._okt._nov._dec.".split("_"),weekStart:1,ordinal:function(r){return r+"."},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"}};r.locale(m,null,!0);export default m;
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as i,c as t,h as e,H as s,g as l}from"./p-5fa70b85.js";import{s as a,a as n}from"./p-6ac5e954.js";import{u as o,s as r,c,d}from"./p-df9a5059.js";import{n as h,c as v,d as u}from"./p-8f862c72.js";import{g as b}from"./p-01633f02.js";import"./p-def6a0b3.js";import"./p-b024d5a4.js";import"./p-69370d9c.js";import"./p-16b0d958.js";import"./p-ced50533.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
|
-
* v1.11.1-next.1
|
11
|
-
*/const p=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)||[],l=this.getSlottedRows(this.tableBodySlotEl)||[],a=this.getSlottedRows(this.tableFootSlotEl)||[],n=[...s,...l,...a];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==l||l.forEach((i=>{const t=null==l?void 0:l.indexOf(i);i.rowType="body",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="foot",i.positionSection=t,i.positionSectionLocalized=this.localizeNumber((t+1).toString())})),null==n||n.forEach((i=>{i.selectionMode=this.selectionMode,i.bodyRowCount=null==l?void 0:l.length,i.positionAll=null==n?void 0:n.indexOf(i),i.numbered=this.numbered,i.scale=this.scale,i.readCellContentsToAT=this.readCellContentsToAT}));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=l,this.footRows=a,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)}))},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=>(h.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator},h.localize(i.toString())),this.bordered=!1,this.caption=void 0,this.groupSeparator=!1,this.layout="auto",this.numbered=!1,this.numberingSystem=void 0,this.pageSize=0,this.scale="m",this.selectionMode="none",this.zebra=!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(){a(this),await r(this),this.readCellContentsToAT=/safari/i.test(b()),this.updateRows()}componentDidLoad(){n(this)}connectedCallback(){v(this),c(this)}disconnectedCallback(){u(this),d(this)}calciteChipSelectListener(i){i.composedPath().includes(this.el)&&this.setSelectedItems(i.target)}calciteInternalTableRowFocusEvent(i){var t,e,s,l,a,n,o,r,c;const d=i.detail.cellPosition,h=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===(l=b[0])||void 0===l?void 0:l.positionAll,m=null===(a=b[b.length-1])||void 0===a?void 0:a.positionAll,x=null===(n=this.footRows[0])||void 0===n?void 0:n.positionAll,y=null===(o=p[p.length-1])||void 0===o?void 0:o.positionAll,w="next"===v&&h===f,z="previous"===v&&h===x,C="previous"===v&&h===g,k="next"===v&&h===m;let S;switch(v){case"first":S=0;break;case"last":S=y;break;case"next":S=w?g:k?x:h+1;break;case"previous":S=z?m:C?f:h-1}const j=null===(c=null===(r=this.allRows)||void 0===r?void 0:r.find((i=>i.positionAll===S)))||void 0===c?void 0:c.cellCount;void 0!==S&&this.calciteInternalTableRowFocusChange.emit({cellPosition:d>j?j:d,rowPosition:S,destination:v,lastCell:u})}renderSelectionArea(){var i,t,s;const l=null===(t=null===(i=this.selectedItems)||void 0===i?void 0:i.filter((i=>i.hidden)))||void 0===t?void 0:t.length,a=this.localizeNumber(null==l?void 0:l.toString()),n=`${this.localizeNumber(null===(s=this.selectedCount)||void 0===s?void 0:s.toString())} ${this.messages.selected}`,o=`${a} ${this.messages.hiddenSelected}`;return e("div",{class:"selection-area"},e("calcite-chip",{kind:this.selectedCount>0?"brand":"neutral",scale:this.scale,value:n},n),l>0&&e("calcite-chip",{icon:"hide-empty",scale:this.scale,title:o,value:o},a),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,null,e("div",{class:"container"},"none"!==this.selectionMode&&this.renderSelectionArea(),e("div",{class:{bordered:this.bordered,zebra:this.zebra,"table-container":!0}},e("table",{"aria-colcount":this.colCount,"aria-multiselectable":"multiple"===this.selectionMode,"aria-readonly":!0,"aria-rowcount":null===(i=this.allRows)||void 0===i?void 0:i.length,class:{"table--fixed":"fixed"===this.layout},role:"grid"},e("caption",{class:"assistive-text"},this.caption),this.renderTHead(),this.renderTBody(),this.renderTFoot())),this.pageSize>0&&this.renderPaginationArea()))}static get assetsDirs(){return["assets"]}get el(){return l(this)}static get watchers(){return{groupSeparator:["handleNumberedChange"],numbered:["handleNumberedChange"],numberingSystem:["handleNumberedChange"],pageSize:["handleNumberedChange"],scale:["handleNumberedChange"],selectionMode:["handleNumberedChange"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};p.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:table}.container{max-inline-size:100vw;inline-size:100%}.table-container{overflow-x:auto;white-space:nowrap}.table-container:not(.bordered){border-block-end:1px solid var(--calcite-ui-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;border-block-start:1px solid var(--calcite-ui-border-3);border-inline-start:1px solid var(--calcite-ui-border-3);border-block-end:1px solid var(--calcite-ui-border-3)}tbody{border-block-end:1px solid var(--calcite-ui-border-3)}.table--fixed{table-layout:fixed}.bordered ::slotted(calcite-table-row){--calcite-table-row-border-color:var(--calcite-ui-border-3)}.zebra ::slotted(calcite-table-row:nth-child(2n+1)){--calcite-table-row-background:var(--calcite-ui-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{p as calcite_table}
|
@@ -1,12 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as e,c as t,h as i,H as n,g as o}from"./p-5fa70b85.js";import{a as l,t as a}from"./p-def6a0b3.js";import{a as s,c as r,d as c,H as h}from"./p-266612c2.js";import{c as d,d as m,u}from"./p-d9ba28a0.js";import{c as p,d as g}from"./p-86e31fef.js";import{s as f,a as b,c as v}from"./p-6ac5e954.js";import{c as k}from"./p-ced50533.js";import"./p-b024d5a4.js";import"./p-69370d9c.js";import"./p-01633f02.js";const x=class{constructor(i){e(this,i),this.calciteSegmentedControlChange=t(this,"calciteSegmentedControlChange",6),this.handleClick=e=>{this.disabled||"calcite-segmented-control-item"===e.target.localName&&this.selectItem(e.target,!0)},this.mutationObserver=k("mutation",(()=>this.setUpItems())),this.appearance="solid",this.disabled=!1,this.form=void 0,this.required=!1,this.name=void 0,this.layout="horizontal",this.scale="m",this.value=null,this.selectedItem=void 0,this.width="auto"}handlePropsChange(){this.handleItemPropChange()}valueHandler(e){this.getItems().forEach((t=>t.checked=t.value===e))}handleSelectedItemChange(e,t){if(this.value=null==e?void 0:e.value,e===t)return;const i=this.getItems(),n=i.filter((t=>t===e)).pop();n?this.selectItem(n):i[0]&&(i[0].tabIndex=0)}componentWillLoad(){f(this),this.setUpItems()}componentDidLoad(){s(this,this.value),b(this)}connectedCallback(){var e;d(this),p(this),r(this),null===(e=this.mutationObserver)||void 0===e||e.observe(this.el,{childList:!0}),this.handleItemPropChange()}disconnectedCallback(){var e;m(this),g(this),c(this),null===(e=this.mutationObserver)||void 0===e||e.unobserve(this.el)}componentDidRender(){u(this)}render(){return i(n,{onClick:this.handleClick,role:"radiogroup"},i("slot",null),i(h,{component:this}))}handleSelected(e){e.preventDefault(),this.selectItem(e.target),e.stopPropagation()}handleKeyDown(e){const{key:t}=e,{el:i,selectedItem:n}=this;if(-1===["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "].indexOf(t))return;let o=t;"rtl"===l(i)&&("ArrowRight"===t&&(o="ArrowLeft"),"ArrowLeft"===t&&(o="ArrowRight"));const a=this.getItems();let s=-1;switch(a.forEach(((e,t)=>{e===n&&(s=t)})),o){case"ArrowLeft":case"ArrowUp":return e.preventDefault(),void this.selectItem(s<1?a[a.length-1]:a[s-1],!0);case"ArrowRight":case"ArrowDown":return e.preventDefault(),void this.selectItem(-1===s?a[1]:a[s+1]||a[0],!0);case" ":return e.preventDefault(),void this.selectItem(e.target,!0);default:return}}async setFocus(){var e;await v(this),null===(e=this.selectedItem||this.getItems()[0])||void 0===e||e.focus()}handleItemPropChange(){this.getItems().forEach((e=>{e.appearance=this.appearance,e.layout=this.layout,e.scale=this.scale}))}onLabelClick(){this.setFocus()}getItems(){return Array.from(this.el.querySelectorAll("calcite-segmented-control-item"))}selectItem(e,t=!1){if(e===this.selectedItem)return;const i=this.getItems();let n=null;i.forEach((i=>{const o=i===e;(o&&!i.checked||!o&&i.checked)&&(i.checked=o),i.tabIndex=o?0:-1,o&&(n=i,t&&this.calciteSegmentedControlChange.emit())})),this.selectedItem=n,n&&n.focus()}setUpItems(){const e=this.getItems(),t=e.filter((e=>e.checked)).pop();t?this.selectItem(t):e[0]&&(e[0].tabIndex=0)}get el(){return o(this)}static get watchers(){return{appearance:["handlePropsChange"],layout:["handlePropsChange"],scale:["handlePropsChange"],value:["valueHandler"],selectedItem:["handleSelectedItemChange"]}}};x.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;background-color:var(--calcite-ui-foreground-1);inline-size:-moz-fit-content;inline-size:fit-content;outline:1px solid var(--calcite-ui-border-input);outline-offset:-1px}:host([appearance=outline]){background-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([layout=vertical]){flex-direction:column;align-items:flex-start;align-self:flex-start}:host([width=full]){inline-size:100%;min-inline-size:-moz-fit-content;min-inline-size:fit-content}:host([width=full]) ::slotted(calcite-segmented-control-item){flex:1 1 auto}:host([width=full][layout=vertical]) ::slotted(calcite-segmented-control-item){justify-content:flex-start}::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}";
|
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
|
-
* v1.11.1-next.1
|
11
|
-
*/
|
12
|
-
const w="segmented-control-item-icon",y=class{constructor(i){e(this,i),this.calciteInternalSegmentedControlItemChange=t(this,"calciteInternalSegmentedControlItemChange",6),this.checked=!1,this.iconFlipRtl=!1,this.iconStart=void 0,this.iconEnd=void 0,this.value=void 0,this.appearance="solid",this.layout="horizontal",this.scale="m"}handleCheckedChange(){this.calciteInternalSegmentedControlItemChange.emit()}render(){const{appearance:e,checked:t,layout:o,scale:l,value:s}=this,r=this.iconStart?i("calcite-icon",{class:w,flipRtl:this.iconFlipRtl,icon:this.iconStart,key:"icon-start",scale:"s"}):null,c=this.iconEnd?i("calcite-icon",{class:w,flipRtl:this.iconFlipRtl,icon:this.iconEnd,key:"icon-end",scale:"s"}):null;return i(n,{"aria-checked":a(t),"aria-label":s,role:"radio"},i("label",{class:{"label--scale-s":"s"===l,"label--scale-m":"m"===l,"label--scale-l":"l"===l,"label--horizontal":"horizontal"===o,"label--outline":"outline"===e,"label--outline-fill":"outline-fill"===e}},this.iconStart?r:null,i("slot",null,s),i("slot",{name:"input"}),this.iconEnd?c:null))}get el(){return o(this)}static get watchers(){return{checked:["handleCheckedChange"]}}};y.style=":host{display:flex;cursor:pointer;align-self:stretch;font-weight:var(--calcite-font-weight-normal);transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out, border-color var(--calcite-animation-timing) ease-in-out}:host label{pointer-events:none;margin:0.125rem;box-sizing:border-box;display:flex;flex:1 1 0%;align-items:center;color:var(--calcite-ui-text-3);transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out, border-color var(--calcite-internal-animation-timing-fast) ease-in-out, color var(--calcite-internal-animation-timing-fast) ease-in-out}.label--horizontal{justify-content:center}:host{outline-color:transparent}:host(:focus){outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n );outline-offset:-1px}.label--scale-s{padding-inline:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-block:0.125rem}.label--scale-m{padding-inline:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-block:0.375rem}.label--scale-l{padding-inline:1rem;padding-block:0.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host(:hover) label{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}:host(:active) label{background-color:var(--calcite-ui-foreground-3)}:host([checked]) label{cursor:default;border-color:var(--calcite-ui-brand);background-color:var(--calcite-ui-brand);color:var(--calcite-ui-text-inverse)}:host([checked]) .label--outline,:host([checked]) .label--outline-fill{border-color:var(--calcite-ui-brand);background-color:var(--calcite-ui-foreground-1);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand);color:var(--calcite-ui-brand)}:host([checked]) .label--outline{background-color:transparent}::slotted(input){display:none}@media (forced-colors: active){:host([checked]) label{background-color:highlight}:host([checked]) .label--outline,:host([checked]) .label--outline-fill{outline:2px solid transparent;outline-offset:2px}:host([checked]) label:not([class~=label--outline]) .segmented-control-item-icon{color:highlightText}}.segmented-control-item-icon{position:relative;margin:0px;display:inline-flex;line-height:inherit}:host([icon-start]) .label--scale-s .segmented-control-item-icon{margin-inline-end:0.5rem}:host([icon-end]) .label--scale-s .segmented-control-item-icon{margin-inline-start:0.5rem}:host([icon-start]) .label--scale-m .segmented-control-item-icon{margin-inline-end:0.75rem}:host([icon-end]) .label--scale-m .segmented-control-item-icon{margin-inline-start:0.75rem}:host([icon-start]) .label--scale-l .segmented-control-item-icon{margin-inline-end:1rem}:host([icon-end]) .label--scale-l .segmented-control-item-icon{margin-inline-start:1rem}:host([hidden]){display:none}[hidden]{display:none}";export{x as calcite_segmented_control,y as calcite_segmented_control_item}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as i,h as e,g as t}from"./p-5fa70b85.js";import{g as o}from"./p-b024d5a4.js";import{g as c,a}from"./p-6fe9db43.js";import"./p-def6a0b3.js";import"./p-69370d9c.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
|
-
* v1.11.1-next.1
|
11
|
-
*/const l=class{constructor(e){i(this,e),this.guid=o(),this.afterEmptyGroup=!1,this.ancestors=void 0,this.label=void 0,this.scale="m"}connectedCallback(){this.ancestors=c(this.el)}render(){const{el:i,scale:t}=this,o=a(i);return e("ul",{"aria-labelledby":this.guid,class:{list:!0,[`scale--${t}`]:!0},role:"group"},e("li",{class:{label:!0},id:this.guid,role:"presentation",style:{"--calcite-combobox-item-spacing-indent-multiplier":`${o}`}},e("span",{class:"title"},this.label)),e("slot",null))}get el(){return t(this)}};l.style=".scale--s{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-item-spacing-indent:0.5rem}.scale--m{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-item-spacing-indent:0.75rem}.scale--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-item-spacing-indent:1rem}:host,.list{margin:0px;display:flex;flex-direction:column;padding:0px}:host(:focus),.list:focus{outline:2px solid transparent;outline-offset:2px}.label{box-sizing:border-box;display:flex;inline-size:100%;min-inline-size:0px;max-inline-size:100%;color:var(--calcite-ui-text-3)}.title{--calcite-combobox-item-indent-value:calc(\n var(--calcite-combobox-item-spacing-indent) * var(--calcite-combobox-item-spacing-indent-multiplier)\n );border:0 solid;display:block;flex:1 1 0%;border-block-end-width:1px;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2);word-wrap:break-word;word-break:break-word;border-block-end-color:var(--calcite-ui-border-3);padding-block:var(--calcite-combobox-item-spacing-unit-l);padding-inline:var(--calcite-combobox-item-spacing-unit-s);margin-inline-start:var(--calcite-combobox-item-indent-value)}::slotted(calcite-combobox-item-group:not([after-empty-group])){padding-block-start:var(--calcite-combobox-item-spacing-unit-l)}:host([hidden]){display:none}[hidden]{display:none}";export{l as calcite_combobox_item_group}
|