@esri/solutions-components 0.10.10 → 0.10.12
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/ExpandToggle-4bf03edc.js +115 -0
- package/dist/cjs/FloatingArrow-7eca410a.js +48 -0
- package/dist/cjs/Heading-2333bcd2.js +25 -0
- package/dist/cjs/Validation-aa47298a.js +20 -0
- package/dist/cjs/app-globals-7f35a2ee.js +67 -0
- package/dist/cjs/ar-cecfe7a4.js +106 -0
- package/dist/cjs/arcgis-login.cjs.entry.js +1 -1
- package/dist/cjs/array-59824898.js +17 -0
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +9 -9
- package/dist/cjs/bg-4fc20839.js +84 -0
- package/dist/cjs/browser-69696af0.js +35 -0
- package/dist/cjs/bs-3bffda26.js +53 -0
- package/dist/cjs/buffer-tools_3.cjs.entry.js +11 -11
- package/dist/cjs/ca-368f111b.js +73 -0
- package/dist/cjs/calcite-accordion-item.cjs.entry.js +24 -24
- package/dist/cjs/calcite-accordion.cjs.entry.js +18 -8
- package/dist/cjs/calcite-action-bar.cjs.entry.js +16 -16
- package/dist/cjs/calcite-action-group.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action-menu_3.cjs.entry.js +28 -28
- package/dist/cjs/calcite-action-pad_2.cjs.entry.js +18 -18
- package/dist/cjs/calcite-action_2.cjs.entry.js +49 -19
- package/dist/cjs/calcite-alert_4.cjs.entry.js +154 -118
- package/dist/cjs/calcite-avatar.cjs.entry.js +176 -0
- package/dist/cjs/calcite-block-section.cjs.entry.js +11 -11
- package/dist/cjs/calcite-block_5.cjs.entry.js +96 -64
- package/dist/cjs/calcite-button.cjs.entry.js +21 -34
- package/dist/cjs/calcite-card-group.cjs.entry.js +7 -7
- package/dist/cjs/calcite-card.cjs.entry.js +13 -13
- package/dist/cjs/calcite-carousel-item.cjs.entry.js +3 -3
- package/dist/cjs/calcite-carousel.cjs.entry.js +13 -13
- package/dist/cjs/calcite-checkbox.cjs.entry.js +12 -12
- package/dist/cjs/calcite-chip-group.cjs.entry.js +7 -7
- package/dist/cjs/calcite-chip_2.cjs.entry.js +31 -21
- package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-color-picker.cjs.entry.js +32 -52
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +7 -7
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +47 -39
- package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +14 -14
- package/dist/cjs/calcite-dialog.cjs.entry.js +308 -36
- package/dist/cjs/calcite-dropdown_2.cjs.entry.js +22 -22
- package/dist/cjs/calcite-fab.cjs.entry.js +9 -9
- package/dist/cjs/calcite-filter_5.cjs.entry.js +27 -27
- package/dist/cjs/calcite-flow_6.cjs.entry.js +132 -46
- package/dist/cjs/calcite-graph_2.cjs.entry.js +26 -22
- package/dist/cjs/calcite-icon.cjs.entry.js +10 -10
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +17 -17
- package/dist/cjs/calcite-input-number.cjs.entry.js +39 -34
- package/dist/cjs/calcite-input-text.cjs.entry.js +32 -27
- package/dist/cjs/calcite-input-time-picker-de202530.js +1861 -0
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js +21 -22
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +168 -87
- package/dist/cjs/calcite-input_2.cjs.entry.js +41 -36
- package/dist/cjs/calcite-label.cjs.entry.js +11 -8
- package/dist/cjs/calcite-link.cjs.entry.js +11 -11
- package/dist/cjs/calcite-list-item-group.cjs.entry.js +6 -6
- package/dist/cjs/calcite-menu-item.cjs.entry.js +14 -14
- package/dist/cjs/calcite-menu.cjs.entry.js +11 -11
- package/dist/cjs/calcite-meter.cjs.entry.js +12 -12
- package/dist/cjs/calcite-modal.cjs.entry.js +21 -21
- package/dist/cjs/calcite-navigation-logo.cjs.entry.js +7 -7
- package/dist/cjs/calcite-navigation-user.cjs.entry.js +74 -0
- package/dist/cjs/calcite-navigation.cjs.entry.js +9 -9
- package/dist/cjs/calcite-notice.cjs.entry.js +18 -18
- package/dist/cjs/calcite-option-group.cjs.entry.js +2 -2
- package/dist/cjs/calcite-option_2.cjs.entry.js +18 -15
- package/dist/cjs/calcite-pagination.cjs.entry.js +14 -14
- package/dist/cjs/calcite-panel_2.cjs.entry.js +23 -23
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js +12 -12
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js +17 -17
- package/dist/cjs/calcite-pick-list.cjs.entry.js +14 -14
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +13 -7
- package/dist/cjs/calcite-radio-button.cjs.entry.js +13 -13
- package/dist/cjs/calcite-rating.cjs.entry.js +17 -17
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +19 -16
- package/dist/cjs/calcite-sheet.cjs.entry.js +17 -15
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js +10 -10
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +53 -53
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +11 -11
- package/dist/cjs/calcite-split-button.cjs.entry.js +6 -6
- package/dist/cjs/calcite-stepper-item.cjs.entry.js +15 -15
- package/dist/cjs/calcite-stepper.cjs.entry.js +12 -12
- package/dist/cjs/calcite-switch.cjs.entry.js +13 -13
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +30 -20
- package/dist/cjs/calcite-table-row.cjs.entry.js +10 -10
- package/dist/cjs/calcite-table.cjs.entry.js +14 -14
- package/dist/cjs/calcite-text-area.cjs.entry.js +24 -21
- package/dist/cjs/calcite-tile-group.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tile-select.cjs.entry.js +10 -10
- package/dist/cjs/calcite-tile.cjs.entry.js +10 -10
- package/dist/cjs/calcite-time-picker.cjs.entry.js +32 -32
- package/dist/cjs/calcite-tip-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tip-manager.cjs.entry.js +13 -13
- package/dist/cjs/calcite-tip.cjs.entry.js +15 -15
- package/dist/cjs/calcite-tooltip.cjs.entry.js +18 -14
- package/dist/cjs/calcite-tree_3.cjs.entry.js +44 -26
- package/dist/cjs/card-manager_3.cjs.entry.js +6 -6
- package/dist/cjs/component-a4c6a35d.js +33 -0
- package/dist/cjs/conditionalSlot-6b5d9b84.js +54 -0
- package/dist/cjs/config-afe9063b.js +40 -0
- package/dist/cjs/consent-manager.cjs.entry.js +3 -3
- package/dist/cjs/constants-0a4fc296.js +812 -0
- package/dist/cjs/continent-cdee1112.js +34 -0
- package/dist/cjs/country-a8539532.js +446 -0
- package/dist/cjs/crowdsource-manager.cjs.entry.js +4 -4
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +29 -26
- package/dist/cjs/cs-1386c8b8.js +149 -0
- package/dist/cjs/da-68d9e5ce.js +69 -0
- package/dist/cjs/date-5a57b606.js +264 -0
- package/dist/cjs/de-at-017d79c1.js +92 -0
- package/dist/cjs/de-ch-f892b97a.js +92 -0
- package/dist/cjs/de-f3b48b7d.js +93 -0
- package/dist/cjs/deduct-calculator.cjs.entry.js +2 -2
- package/dist/cjs/dom-6a9b6275.js +1215 -0
- package/dist/cjs/downloadUtils-e6e2f8c4.js +3163 -0
- package/dist/cjs/el-16691582.js +68 -0
- package/dist/cjs/en-au-3cba8189.js +68 -0
- package/dist/cjs/en-ca-e63c64a3.js +67 -0
- package/dist/cjs/en-gb-66e297eb.js +71 -0
- package/dist/cjs/es-473df127.js +68 -0
- package/dist/cjs/es-mx-b8fc355d.js +67 -0
- package/dist/cjs/et-dfe831e4.js +94 -0
- package/dist/cjs/feature-comments.cjs.entry.js +2 -2
- package/dist/cjs/feature-form-flow-item.cjs.entry.js +2 -2
- package/dist/cjs/feature-list.cjs.entry.js +58 -14
- package/dist/cjs/features-flow-item.cjs.entry.js +2 -2
- package/dist/cjs/fi-8ab8c685.js +117 -0
- package/dist/cjs/filter-1f98198b.js +778 -0
- package/dist/cjs/floating-ui-b20fd1f7.js +2373 -0
- package/dist/cjs/focusTrapComponent-a4531bc7.js +1018 -0
- package/dist/cjs/form-5229f1c8.js +381 -0
- package/dist/cjs/fr-ch-9cdf5409.js +68 -0
- package/dist/cjs/fr-fbc089e3.js +70 -0
- package/dist/cjs/guid-02e5380f.js +26 -0
- package/dist/cjs/he-33e82ae7.js +107 -0
- package/dist/cjs/helpers-3a8234e8.js +940 -0
- package/dist/cjs/hi-bc15c04d.js +67 -0
- package/dist/cjs/hr-94438cce.js +82 -0
- package/dist/cjs/hu-e076cebf.js +90 -0
- package/dist/cjs/id-81a2fef0.js +68 -0
- package/dist/cjs/index-5a0af791.js +1782 -0
- package/dist/cjs/index-6189d0bb.js +62 -0
- package/dist/cjs/index-866b8a4c.js +127 -0
- package/dist/cjs/index-d21e03cd.js +14 -0
- package/dist/cjs/index-da709a10.js +201 -0
- package/dist/cjs/index.es-fa362797.js +11317 -0
- package/dist/cjs/input-33270a99.js +60 -0
- package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +7 -7
- package/dist/cjs/instant-apps-control-panel.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-create.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-export-views.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-export.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-header.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +7 -7
- package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-landing-page.cjs.entry.js +9 -11
- package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +19 -19
- package/dist/cjs/instant-apps-language-translator.cjs.entry.js +17 -17
- package/dist/cjs/instant-apps-measurement.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-popover.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-popovers.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-sign-in.cjs.entry.js +39 -54
- package/dist/cjs/instant-apps-splash.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-time-filter.cjs.entry.js +6 -6
- package/dist/cjs/interactive-89f913ba.js +167 -0
- package/dist/cjs/it-549faba6.js +68 -0
- package/dist/cjs/it-ch-f2165d11.js +68 -0
- package/dist/cjs/ja-2c7ee1fb.js +74 -0
- package/dist/cjs/key-d6da79d8.js +19 -0
- package/dist/cjs/ko-ac460bc7.js +74 -0
- package/dist/cjs/label-26ee0ddb.js +186 -0
- package/dist/cjs/languageUtil-a3e1eafd.js +69 -0
- package/dist/cjs/layout-manager.cjs.entry.js +4 -4
- package/dist/cjs/list-flow-item.cjs.entry.js +2 -2
- package/dist/cjs/loadModules-8567855e.js +23 -0
- package/dist/cjs/loadable-2e2626dc.js +98 -0
- package/dist/cjs/loader.cjs.js +6 -6
- package/dist/cjs/locale-42c21404.js +605 -0
- package/dist/cjs/locale-a09603ee.js +160 -0
- package/dist/cjs/locale-a1bcb6eb.js +120 -0
- package/dist/cjs/location-flow-item.cjs.entry.js +2 -2
- package/dist/cjs/logger-1c9bfcfd.js +61 -0
- package/dist/cjs/lt-8fd46749.js +99 -0
- package/dist/cjs/lv-49bc9ddb.js +68 -0
- package/dist/cjs/map-select-tools_3.cjs.entry.js +11 -10
- package/dist/cjs/math-2911c0c9.js +60 -0
- package/dist/cjs/mk-5a82adab.js +68 -0
- package/dist/cjs/nb-24cd76dd.js +69 -0
- package/dist/cjs/nl-f6394232.js +69 -0
- package/dist/cjs/observers-8fed90f3.js +58 -0
- package/dist/cjs/openCloseComponent-14628d11.js +65 -0
- package/dist/cjs/pci-calculator.cjs.entry.js +2 -2
- package/dist/cjs/pl-1b2c1ac1.js +116 -0
- package/dist/cjs/popupUtils-92e52dbf.js +121 -0
- package/dist/cjs/pt-b9970ff4.js +69 -0
- package/dist/cjs/pt-br-bfdc1da5.js +67 -0
- package/dist/cjs/public-notification.cjs.entry.js +7 -7
- package/dist/cjs/publicNotificationStore-f229e839.js +47 -0
- package/dist/cjs/refine-results-flow-item.cjs.entry.js +2 -2
- package/dist/cjs/resources-151788f3.js +23 -0
- package/dist/cjs/resources-3eec4ddc.js +27 -0
- package/dist/cjs/resources-41443a57.js +26 -0
- package/dist/cjs/resources-44478618.js +29 -0
- package/dist/cjs/resources-9fb1bc89.js +68 -0
- package/dist/cjs/resources-dfe71ff2.js +39 -0
- package/dist/cjs/resources-e23d63db.js +39 -0
- package/dist/cjs/resources-e96455bb.js +68 -0
- package/dist/cjs/resources-ed5f0434.js +21 -0
- package/dist/cjs/resources-fac4579f.js +23 -0
- package/dist/cjs/ro-d3dcee3e.js +68 -0
- package/dist/cjs/ru-86dc7992.js +128 -0
- package/dist/cjs/share-item.cjs.entry.js +2 -2
- package/dist/cjs/shared-list-render-54fa8d30.js +361 -0
- package/dist/cjs/sk-f4477e9e.js +150 -0
- package/dist/cjs/sl-056c7a3e.js +170 -0
- package/dist/cjs/solution-configuration.cjs.entry.js +8 -8
- package/dist/cjs/solution-contents_3.cjs.entry.js +8 -8
- package/dist/cjs/solution-store-1218246d.js +1353 -0
- package/dist/cjs/solutions-components.cjs.js +7 -7
- package/dist/cjs/sortableComponent-9bfb9488.js +2748 -0
- package/dist/cjs/spatial-ref.cjs.entry.js +4 -4
- package/dist/cjs/sr-98be5235.js +103 -0
- package/dist/cjs/store-manager.cjs.entry.js +3 -3
- package/dist/cjs/sv-cb8dd245.js +73 -0
- package/dist/cjs/t9n-42ba6ea3.js +108 -0
- package/dist/cjs/th-9d1805bf.js +67 -0
- package/dist/cjs/time-d48f5d3e.js +301 -0
- package/dist/cjs/time-zones-cd027b1e.js +367 -0
- package/dist/cjs/tr-833a6ecc.js +68 -0
- package/dist/cjs/uk-df027a8a.js +106 -0
- package/dist/cjs/utils-051e0119.js +78 -0
- package/dist/cjs/utils-357c41eb.js +2304 -0
- package/dist/cjs/utils-a2799a10.js +130 -0
- package/dist/cjs/vi-2f15ae72.js +72 -0
- package/dist/cjs/zh-cn-ede80e9d.js +96 -0
- package/dist/cjs/zh-hk-5de99bec.js +94 -0
- package/dist/cjs/zh-tw-9cf1d1bd.js +94 -0
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/create-feature/create-feature.css +13 -0
- package/dist/collection/components/create-feature/create-feature.js +112 -13
- package/dist/collection/components/create-related-feature/create-related-feature.js +11 -2
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +1 -1
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +44 -23
- package/dist/collection/components/deduct-calculator/deduct-calculator.js +1 -1
- package/dist/collection/components/delete-button/delete-button.js +1 -1
- package/dist/collection/components/edit-card/edit-card.js +1 -1
- package/dist/collection/components/feature-comments/feature-comments.js +1 -1
- package/dist/collection/components/feature-details/feature-details.js +29 -9
- package/dist/collection/components/feature-form-flow-item/feature-form-flow-item.js +1 -1
- package/dist/collection/components/feature-list/feature-list.css +13 -2
- package/dist/collection/components/feature-list/feature-list.js +70 -8
- package/dist/collection/components/features-flow-item/features-flow-item.js +1 -1
- package/dist/collection/components/floor-filter/floor-filter.js +1 -1
- package/dist/collection/components/info-card/info-card.js +2 -2
- package/dist/collection/components/json-editor/json-editor.js +1 -1
- package/dist/collection/components/layer-table/layer-table.js +1 -1
- package/dist/collection/components/layout-manager/layout-manager.js +1 -1
- package/dist/collection/components/list-flow-item/list-flow-item.js +1 -1
- package/dist/collection/components/location-flow-item/location-flow-item.js +1 -1
- package/dist/collection/components/map-card/map-card.js +1 -1
- package/dist/collection/components/map-draw-tools/map-draw-tools.js +1 -1
- package/dist/collection/components/map-fullscreen/map-fullscreen.js +1 -1
- package/dist/collection/components/map-layer-picker/map-layer-picker.js +6 -4
- package/dist/collection/components/map-legend/map-legend.js +1 -1
- package/dist/collection/components/map-picker/map-picker.js +1 -1
- package/dist/collection/components/map-search/map-search.js +1 -1
- package/dist/collection/components/map-select-tools/map-select-tools.js +3 -2
- package/dist/collection/components/map-tools/map-tools.js +1 -1
- package/dist/collection/components/pci-calculator/pci-calculator.js +1 -1
- package/dist/collection/components/pdf-download/pdf-download.js +1 -1
- package/dist/collection/components/public-notification/public-notification.js +1 -1
- package/dist/collection/components/refine-results-flow-item/refine-results-flow-item.js +1 -1
- package/dist/collection/components/refine-selection/refine-selection.js +1 -1
- package/dist/collection/components/share-item/share-item.js +1 -1
- package/dist/collection/components/solution-configuration/solution-configuration.js +3 -3
- package/dist/collection/components/solution-contents/solution-contents.js +1 -1
- package/dist/collection/components/solution-item/solution-item.js +1 -1
- package/dist/collection/components/solution-item-details/solution-item-details.js +1 -1
- package/dist/collection/components/solution-item-icon/solution-item-icon.js +1 -1
- package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +1 -1
- package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +1 -1
- package/dist/collection/components/solution-resource-item/solution-resource-item.js +1 -1
- package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +1 -1
- package/dist/collection/components/solution-template-data/solution-template-data.js +1 -1
- package/dist/collection/components/solution-variables/solution-variables.js +1 -1
- package/dist/collection/components/spatial-ref/spatial-ref.js +1 -1
- package/dist/collection/demos/crowdsource-reporter.html +11 -3
- package/dist/components/ExpandToggle.js +2 -2
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/Validation.js +2 -2
- package/dist/components/action-bar.js +2 -2
- package/dist/components/action-group.js +2 -2
- package/dist/components/action-menu.js +2 -2
- package/dist/components/action-pad.js +2 -2
- package/dist/components/action.js +2 -2
- package/dist/components/alert.js +141 -103
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +2 -2
- package/dist/components/block.js +8 -10
- package/dist/components/browser.js +1 -1
- package/dist/components/button.js +7 -22
- package/dist/components/calcite-accordion-item.js +15 -15
- package/dist/components/calcite-accordion.js +15 -5
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-card.js +2 -2
- package/dist/components/calcite-carousel-item.js +1 -1
- package/dist/components/calcite-carousel.js +1 -1
- package/dist/components/calcite-color-picker.js +19 -39
- package/dist/components/calcite-combobox-item-group.js +1 -69
- package/dist/components/calcite-dialog.js +303 -22
- package/dist/components/calcite-fab.js +2 -2
- package/dist/components/calcite-inline-editable.js +4 -4
- package/dist/components/calcite-input-time-picker.js +38 -40
- package/dist/components/calcite-input-time-zone.js +166 -79
- package/dist/components/calcite-list-item-group.js +2 -2
- package/dist/components/calcite-menu-item.js +4 -4
- package/dist/components/calcite-meter.js +2 -2
- package/dist/components/calcite-navigation-logo.js +3 -3
- package/dist/components/calcite-navigation.js +3 -3
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-radio-button-group.js +6 -2
- package/dist/components/calcite-rating.js +3 -3
- package/dist/components/calcite-sheet.js +7 -5
- package/dist/components/calcite-shell-center-row.js +3 -3
- package/dist/components/calcite-sortable-list.js +3 -3
- package/dist/components/calcite-split-button.js +2 -2
- package/dist/components/calcite-stepper-item.js +4 -4
- package/dist/components/calcite-stepper.js +3 -3
- package/dist/components/calcite-table-row.js +2 -2
- package/dist/components/calcite-table.js +4 -4
- package/dist/components/calcite-text-area.js +8 -5
- package/dist/components/calcite-tile-group.js +2 -2
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +3 -3
- package/dist/components/calcite-tile.js +3 -3
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +2 -2
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +2 -2
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/combobox-item-group.js +76 -0
- package/dist/components/combobox-item.js +20 -6
- package/dist/components/combobox.js +18 -12
- package/dist/components/component.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/config.js +5 -5
- package/dist/components/continent.js +31 -0
- package/dist/components/country.js +444 -0
- package/dist/components/create-feature2.js +82 -14
- package/dist/components/create-related-feature2.js +11 -2
- package/dist/components/crowdsource-manager.js +1 -1
- package/dist/components/crowdsource-reporter.js +39 -29
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker.js +2 -2
- package/dist/components/date.js +1 -1
- package/dist/components/deduct-calculator2.js +1 -1
- package/dist/components/delete-button2.js +1 -1
- package/dist/components/dom.js +10 -7
- package/dist/components/dropdown-group.js +2 -2
- package/dist/components/dropdown-item.js +4 -4
- package/dist/components/dropdown.js +6 -6
- package/dist/components/edit-card2.js +1 -1
- package/dist/components/feature-comments.js +1 -1
- package/dist/components/feature-details2.js +24 -15
- package/dist/components/feature-form-flow-item.js +1 -1
- package/dist/components/feature-list2.js +64 -13
- package/dist/components/features-flow-item.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +3 -3
- package/dist/components/floating-ui.js +17 -6
- package/dist/components/floor-filter2.js +1 -1
- package/dist/components/flow-item.js +14 -5
- package/dist/components/flow.js +2 -2
- package/dist/components/focusTrapComponent.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +3 -3
- package/dist/components/icon.js +4 -4
- package/dist/components/index.js +2 -2
- package/dist/components/index4.js +4 -196
- package/dist/components/index5.js +51 -62
- package/dist/components/index6.js +125 -0
- package/dist/components/info-card2.js +2 -2
- package/dist/components/input-date-picker.js +27 -20
- package/dist/components/input-message.js +2 -2
- package/dist/components/input-number.js +24 -19
- package/dist/components/input-text.js +17 -12
- package/dist/components/input.js +25 -20
- package/dist/components/input2.js +1 -1
- package/dist/components/instant-apps-filter-list2.js +39 -7
- package/dist/components/instant-apps-landing-page.js +8 -10
- package/dist/components/instant-apps-language-switcher.js +8 -8
- package/dist/components/instant-apps-language-translator2.js +759 -8
- package/dist/components/instant-apps-sign-in2.js +34 -49
- package/dist/components/interactive.js +2 -4
- package/dist/components/json-editor2.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +5 -2
- package/dist/components/layer-table2.js +1 -1
- package/dist/components/layout-manager.js +1 -1
- package/dist/components/link.js +4 -4
- package/dist/components/list-flow-item.js +1 -1
- package/dist/components/list-item.js +2 -2
- package/dist/components/list.js +2 -2
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +41 -6
- package/dist/components/locale2.js +23 -3
- package/dist/components/location-flow-item.js +1 -1
- package/dist/components/logger.js +1 -1
- package/dist/components/map-card2.js +1 -1
- package/dist/components/map-draw-tools2.js +1 -1
- package/dist/components/map-fullscreen2.js +1 -1
- package/dist/components/map-layer-picker2.js +6 -4
- package/dist/components/map-legend2.js +1 -1
- package/dist/components/map-picker2.js +1 -1
- package/dist/components/map-search2.js +1 -1
- package/dist/components/map-select-tools2.js +3 -2
- package/dist/components/map-tools2.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/menu.js +1 -1
- package/dist/components/modal.js +5 -5
- package/dist/components/navigation-user.js +3 -3
- package/dist/components/notice.js +4 -4
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/option.js +1 -1
- package/dist/components/pagination.js +3 -3
- package/dist/components/panel.js +10 -6
- package/dist/components/pci-calculator.js +1 -1
- package/dist/components/pdf-download2.js +1 -1
- package/dist/components/pick-list-item.js +2 -2
- package/dist/components/popover.js +6 -6
- package/dist/components/progress.js +1 -1
- package/dist/components/public-notification.js +1 -1
- package/dist/components/radio-button.js +2 -2
- package/dist/components/refine-results-flow-item.js +1 -1
- package/dist/components/refine-selection2.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/resources4.js +1 -1
- package/dist/components/resources5.js +1 -1
- package/dist/components/resources6.js +1 -1
- package/dist/components/scrim.js +2 -2
- package/dist/components/segmented-control-item.js +2 -2
- package/dist/components/segmented-control.js +6 -3
- package/dist/components/select.js +6 -3
- package/dist/components/share-item.js +1 -1
- package/dist/components/shared-list-render.js +2 -2
- package/dist/components/shell-panel.js +3 -3
- package/dist/components/shell.js +3 -3
- package/dist/components/slider.js +12 -8
- package/dist/components/solution-configuration.js +11 -17
- package/dist/components/solution-contents2.js +2 -8
- package/dist/components/solution-item-details2.js +1 -1
- package/dist/components/solution-item-icon2.js +1 -1
- package/dist/components/solution-item-sharing2.js +1 -1
- package/dist/components/solution-item2.js +9 -15
- package/dist/components/solution-organization-variables2.js +2 -8
- package/dist/components/solution-resource-item2.js +1 -1
- package/dist/components/solution-spatial-ref2.js +1 -1
- package/dist/components/solution-template-data2.js +7 -13
- package/dist/components/solution-variables2.js +2 -8
- package/dist/components/sortableComponent.js +1 -1
- package/dist/components/spatial-ref.js +2 -8
- package/dist/components/stack.js +2 -2
- package/dist/components/switch.js +2 -2
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +4 -4
- package/dist/components/tab-title.js +5 -5
- package/dist/components/tab.js +2 -2
- package/dist/components/table-cell.js +3 -3
- package/dist/components/table-header.js +15 -5
- package/dist/components/tabs.js +2 -2
- package/dist/components/time-picker.js +21 -21
- package/dist/components/time-zones.js +365 -0
- package/dist/components/tooltip.js +10 -6
- package/dist/components/tree-item.js +33 -20
- package/dist/components/tree.js +3 -3
- package/dist/components/utils.js +2 -2
- package/dist/components/utils2.js +8 -3
- package/dist/components/utils3.js +1 -1
- package/dist/components/value-list-item.js +2 -2
- package/dist/components/value-list.js +2 -2
- package/dist/esm/ExpandToggle-bddb5e82.js +108 -0
- package/dist/esm/FloatingArrow-adf66cf8.js +46 -0
- package/dist/esm/Heading-20345c69.js +22 -0
- package/dist/esm/Validation-63949b7d.js +18 -0
- package/dist/esm/app-globals-5d3ac5ed.js +65 -0
- package/dist/esm/ar-c466a382.js +104 -0
- package/dist/esm/arcgis-login.entry.js +1 -1
- package/dist/esm/array-dd6e2c7d.js +15 -0
- package/dist/esm/basemap-gallery_7.entry.js +9 -9
- package/dist/esm/bg-9cb15225.js +82 -0
- package/dist/esm/browser-552eb2d0.js +32 -0
- package/dist/esm/bs-f5629d7c.js +51 -0
- package/dist/esm/buffer-tools_3.entry.js +11 -11
- package/dist/esm/ca-4bf4a8d1.js +71 -0
- package/dist/esm/calcite-accordion-item.entry.js +24 -24
- package/dist/esm/calcite-accordion.entry.js +18 -8
- package/dist/esm/calcite-action-bar.entry.js +16 -16
- package/dist/esm/calcite-action-group.entry.js +14 -14
- package/dist/esm/calcite-action-menu_3.entry.js +28 -28
- package/dist/esm/calcite-action-pad_2.entry.js +18 -18
- package/dist/esm/calcite-action_2.entry.js +49 -19
- package/dist/esm/calcite-alert_4.entry.js +154 -118
- package/dist/esm/calcite-avatar.entry.js +172 -0
- package/dist/esm/calcite-block-section.entry.js +11 -11
- package/dist/esm/calcite-block_5.entry.js +96 -64
- package/dist/esm/calcite-button.entry.js +21 -34
- package/dist/esm/calcite-card-group.entry.js +7 -7
- package/dist/esm/calcite-card.entry.js +13 -13
- package/dist/esm/calcite-carousel-item.entry.js +3 -3
- package/dist/esm/calcite-carousel.entry.js +13 -13
- package/dist/esm/calcite-checkbox.entry.js +12 -12
- package/dist/esm/calcite-chip-group.entry.js +7 -7
- package/dist/esm/calcite-chip_2.entry.js +31 -21
- package/dist/esm/calcite-color-picker-hex-input_2.entry.js +9 -9
- package/dist/esm/calcite-color-picker.entry.js +32 -52
- package/dist/esm/calcite-combobox-item-group.entry.js +7 -7
- package/dist/esm/calcite-combobox_3.entry.js +48 -40
- package/dist/esm/calcite-date-picker-day_3.entry.js +14 -14
- package/dist/esm/calcite-dialog.entry.js +308 -36
- package/dist/esm/calcite-dropdown_2.entry.js +22 -22
- package/dist/esm/calcite-fab.entry.js +9 -9
- package/dist/esm/calcite-filter_5.entry.js +27 -27
- package/dist/esm/calcite-flow_6.entry.js +132 -46
- package/dist/esm/calcite-graph_2.entry.js +26 -22
- package/dist/esm/calcite-icon.entry.js +10 -10
- package/dist/esm/calcite-inline-editable.entry.js +17 -17
- package/dist/esm/calcite-input-number.entry.js +39 -34
- package/dist/esm/calcite-input-text.entry.js +32 -27
- package/dist/esm/calcite-input-time-picker-60dbdc25.js +1858 -0
- package/dist/esm/calcite-input-time-picker.entry.js +21 -22
- package/dist/esm/calcite-input-time-zone.entry.js +168 -87
- package/dist/esm/calcite-input_2.entry.js +41 -36
- package/dist/esm/calcite-label.entry.js +11 -8
- package/dist/esm/calcite-link.entry.js +11 -11
- package/dist/esm/calcite-list-item-group.entry.js +6 -6
- package/dist/esm/calcite-menu-item.entry.js +14 -14
- package/dist/esm/calcite-menu.entry.js +11 -11
- package/dist/esm/calcite-meter.entry.js +12 -12
- package/dist/esm/calcite-modal.entry.js +21 -21
- package/dist/esm/calcite-navigation-logo.entry.js +7 -7
- package/dist/esm/calcite-navigation-user.entry.js +70 -0
- package/dist/esm/calcite-navigation.entry.js +9 -9
- package/dist/esm/calcite-notice.entry.js +18 -18
- package/dist/esm/calcite-option-group.entry.js +2 -2
- package/dist/esm/calcite-option_2.entry.js +18 -15
- package/dist/esm/calcite-pagination.entry.js +14 -14
- package/dist/esm/calcite-panel_2.entry.js +23 -23
- package/dist/esm/calcite-pick-list-group.entry.js +12 -12
- package/dist/esm/calcite-pick-list-item.entry.js +17 -17
- package/dist/esm/calcite-pick-list.entry.js +14 -14
- package/dist/esm/calcite-radio-button-group.entry.js +13 -7
- package/dist/esm/calcite-radio-button.entry.js +13 -13
- package/dist/esm/calcite-rating.entry.js +17 -17
- package/dist/esm/calcite-segmented-control_2.entry.js +19 -16
- package/dist/esm/calcite-sheet.entry.js +17 -15
- package/dist/esm/calcite-shell-center-row.entry.js +10 -10
- package/dist/esm/calcite-shell-panel_14.entry.js +53 -53
- package/dist/esm/calcite-sortable-list.entry.js +11 -11
- package/dist/esm/calcite-split-button.entry.js +6 -6
- package/dist/esm/calcite-stepper-item.entry.js +15 -15
- package/dist/esm/calcite-stepper.entry.js +12 -12
- package/dist/esm/calcite-switch.entry.js +13 -13
- package/dist/esm/calcite-table-cell_2.entry.js +30 -20
- package/dist/esm/calcite-table-row.entry.js +10 -10
- package/dist/esm/calcite-table.entry.js +14 -14
- package/dist/esm/calcite-text-area.entry.js +24 -21
- package/dist/esm/calcite-tile-group.entry.js +9 -9
- package/dist/esm/calcite-tile-select-group.entry.js +6 -6
- package/dist/esm/calcite-tile-select.entry.js +10 -10
- package/dist/esm/calcite-tile.entry.js +10 -10
- package/dist/esm/calcite-time-picker.entry.js +32 -32
- package/dist/esm/calcite-tip-group.entry.js +4 -4
- package/dist/esm/calcite-tip-manager.entry.js +13 -13
- package/dist/esm/calcite-tip.entry.js +15 -15
- package/dist/esm/calcite-tooltip.entry.js +18 -14
- package/dist/esm/calcite-tree_3.entry.js +44 -26
- package/dist/esm/card-manager_3.entry.js +6 -6
- package/dist/esm/component-c2c32481.js +30 -0
- package/dist/esm/conditionalSlot-60e775f3.js +51 -0
- package/dist/esm/config-2fa7bb77.js +36 -0
- package/dist/esm/consent-manager.entry.js +3 -3
- package/dist/esm/constants-045d6a1b.js +808 -0
- package/dist/esm/continent-125eb777.js +31 -0
- package/dist/esm/country-2d5661ee.js +444 -0
- package/dist/esm/crowdsource-manager.entry.js +4 -4
- package/dist/esm/crowdsource-reporter.entry.js +29 -26
- package/dist/esm/cs-41ed0d89.js +147 -0
- package/dist/esm/da-a8c74a48.js +67 -0
- package/dist/esm/date-45f24c42.js +248 -0
- package/dist/esm/de-9a636f1a.js +91 -0
- package/dist/esm/de-at-26352836.js +90 -0
- package/dist/esm/de-ch-25495449.js +90 -0
- package/dist/esm/deduct-calculator.entry.js +2 -2
- package/dist/esm/dom-b5c50286.js +1180 -0
- package/dist/esm/downloadUtils-74bc82ae.js +3156 -0
- package/dist/esm/el-82ffddec.js +66 -0
- package/dist/esm/en-au-0f081a3c.js +66 -0
- package/dist/esm/en-ca-f04aeac2.js +65 -0
- package/dist/esm/en-gb-81e968d6.js +69 -0
- package/dist/esm/es-e058977a.js +66 -0
- package/dist/esm/es-mx-14a1f320.js +65 -0
- package/dist/esm/et-4a06c642.js +92 -0
- package/dist/esm/feature-comments.entry.js +2 -2
- package/dist/esm/feature-form-flow-item.entry.js +2 -2
- package/dist/esm/feature-list.entry.js +58 -14
- package/dist/esm/features-flow-item.entry.js +2 -2
- package/dist/esm/fi-9673a0e6.js +115 -0
- package/dist/esm/filter-23b3858b.js +775 -0
- package/dist/esm/floating-ui-ba0acfca.js +2365 -0
- package/dist/esm/focusTrapComponent-6ec0f681.js +1013 -0
- package/dist/esm/form-ba965042.js +372 -0
- package/dist/esm/fr-94ff7253.js +68 -0
- package/dist/esm/fr-ch-00b7e60e.js +66 -0
- package/dist/esm/guid-4c746a7f.js +24 -0
- package/dist/esm/he-faefbd69.js +105 -0
- package/dist/esm/helpers-3be8dbbc.js +913 -0
- package/dist/esm/hi-923b9ffd.js +65 -0
- package/dist/esm/hr-6ed6939b.js +80 -0
- package/dist/esm/hu-25918d1e.js +88 -0
- package/dist/esm/id-520427a1.js +66 -0
- package/dist/esm/index-2c724afd.js +199 -0
- package/dist/esm/index-87ec7c0a.js +71 -0
- package/dist/esm/index-ad182a71.js +125 -0
- package/dist/esm/index-b793d9aa.js +1748 -0
- package/dist/esm/index-f5d562b1.js +60 -0
- package/dist/esm/index-f8c935d6.js +12 -0
- package/dist/esm/index.es-40ce1695.js +11230 -0
- package/dist/esm/input-d11f5ac8.js +58 -0
- package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +7 -7
- package/dist/esm/instant-apps-control-panel.entry.js +3 -3
- package/dist/esm/instant-apps-create.entry.js +5 -5
- package/dist/esm/instant-apps-export-views.entry.js +5 -5
- package/dist/esm/instant-apps-export.entry.js +5 -5
- package/dist/esm/instant-apps-header.entry.js +3 -3
- package/dist/esm/instant-apps-interactive-legend-classic.entry.js +5 -5
- package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +5 -5
- package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +5 -5
- package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +5 -5
- package/dist/esm/instant-apps-interactive-legend.entry.js +7 -7
- package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +5 -5
- package/dist/esm/instant-apps-landing-page.entry.js +9 -11
- package/dist/esm/instant-apps-language-switcher.entry.js +15 -15
- package/dist/esm/instant-apps-language-translator.entry.js +15 -15
- package/dist/esm/instant-apps-measurement.entry.js +5 -5
- package/dist/esm/instant-apps-popover.entry.js +5 -5
- package/dist/esm/instant-apps-popovers.entry.js +1 -1
- package/dist/esm/instant-apps-scoreboard.entry.js +5 -5
- package/dist/esm/instant-apps-sign-in.entry.js +39 -54
- package/dist/esm/instant-apps-splash.entry.js +5 -5
- package/dist/esm/instant-apps-time-filter.entry.js +6 -6
- package/dist/esm/interactive-742ba555.js +162 -0
- package/dist/esm/it-7751f7dc.js +66 -0
- package/dist/esm/it-ch-cec3226b.js +66 -0
- package/dist/esm/ja-1df4233a.js +72 -0
- package/dist/esm/key-58898f0a.js +16 -0
- package/dist/esm/ko-a104769f.js +72 -0
- package/dist/esm/label-0b82858a.js +179 -0
- package/dist/esm/languageUtil-2b6e191a.js +66 -0
- package/dist/esm/layout-manager.entry.js +4 -4
- package/dist/esm/list-flow-item.entry.js +2 -2
- package/dist/esm/loadModules-03ba7abe.js +21 -0
- package/dist/esm/loadable-73f289b6.js +93 -0
- package/dist/esm/loader.js +7 -7
- package/dist/esm/locale-21e40b0c.js +591 -0
- package/dist/esm/locale-adb5ff0b.js +115 -0
- package/dist/esm/locale-b1d53fb1.js +155 -0
- package/dist/esm/location-flow-item.entry.js +2 -2
- package/dist/esm/logger-0d6e5bfe.js +59 -0
- package/dist/esm/lt-747213da.js +97 -0
- package/dist/esm/lv-06088b99.js +66 -0
- package/dist/esm/map-select-tools_3.entry.js +11 -10
- package/dist/esm/math-8c04292e.js +54 -0
- package/dist/esm/mk-5f581ea0.js +66 -0
- package/dist/esm/nb-f9d01bec.js +67 -0
- package/dist/esm/nl-48b9338d.js +67 -0
- package/dist/esm/observers-e2484555.js +56 -0
- package/dist/esm/openCloseComponent-7b8f2e24.js +63 -0
- package/dist/esm/pci-calculator.entry.js +2 -2
- package/dist/esm/pl-2ff50be7.js +114 -0
- package/dist/esm/popupUtils-00c655fb.js +119 -0
- package/dist/esm/pt-br-45ae496b.js +65 -0
- package/dist/esm/pt-ed25c80b.js +67 -0
- package/dist/esm/public-notification.entry.js +7 -7
- package/dist/esm/publicNotificationStore-7b0b97b6.js +45 -0
- package/dist/esm/refine-results-flow-item.entry.js +2 -2
- package/dist/esm/resources-2d6e35cf.js +20 -0
- package/dist/esm/resources-30b747d4.js +23 -0
- package/dist/esm/resources-5ba50a1d.js +19 -0
- package/dist/esm/resources-64237427.js +63 -0
- package/dist/esm/resources-8665df6b.js +62 -0
- package/dist/esm/resources-896b6b00.js +35 -0
- package/dist/esm/resources-8f90cf93.js +22 -0
- package/dist/esm/resources-bc5c2adb.js +21 -0
- package/dist/esm/resources-cfbcc1ed.js +24 -0
- package/dist/esm/resources-defbb49f.js +34 -0
- package/dist/esm/ro-c5727d93.js +66 -0
- package/dist/esm/ru-ecb35906.js +126 -0
- package/dist/esm/share-item.entry.js +2 -2
- package/dist/esm/shared-list-render-4053f1dc.js +339 -0
- package/dist/esm/sk-e9c31458.js +148 -0
- package/dist/esm/sl-063df216.js +168 -0
- package/dist/esm/solution-configuration.entry.js +8 -8
- package/dist/esm/solution-contents_3.entry.js +8 -8
- package/dist/esm/solution-store-61fd39ea.js +1351 -0
- package/dist/esm/solutions-components.js +8 -8
- package/dist/esm/sortableComponent-3f9e9322.js +2745 -0
- package/dist/esm/spatial-ref.entry.js +4 -4
- package/dist/esm/sr-68f70e45.js +101 -0
- package/dist/esm/store-manager.entry.js +3 -3
- package/dist/esm/sv-b5a85ee5.js +71 -0
- package/dist/esm/t9n-2fb3af62.js +103 -0
- package/dist/esm/th-3a5ed31b.js +65 -0
- package/dist/esm/time-a215e415.js +286 -0
- package/dist/esm/time-zones-211c88e3.js +365 -0
- package/dist/esm/tr-b8829177.js +66 -0
- package/dist/esm/uk-c74df043.js +104 -0
- package/dist/esm/utils-13c5908e.js +65 -0
- package/dist/esm/utils-1f0d1828.js +2274 -0
- package/dist/esm/utils-5b977646.js +121 -0
- package/dist/esm/vi-a5092b10.js +70 -0
- package/dist/esm/zh-cn-f1e998fb.js +94 -0
- package/dist/esm/zh-hk-3ec32fe3.js +92 -0
- package/dist/esm/zh-tw-33f4a290.js +92 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion/accordion.css +85 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion-item/accordion-item.css +240 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action/action.css +320 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-bar/action-bar.css +91 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-group/action-group.css +116 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-menu/action-menu.css +78 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-pad/action-pad.css +105 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/alert/alert.css +428 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/avatar/avatar.css +81 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/block/block.css +338 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/block-section/block-section.css +156 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/button/button.css +802 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/card/card.css +339 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/card-group/card-group.css +73 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/carousel/carousel.css +330 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/carousel-item/carousel-item.css +45 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/checkbox/checkbox.css +179 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip/chip.css +501 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip-group/chip-group.css +78 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker/color-picker.css +256 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +66 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-swatch/color-picker-swatch.css +74 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox/combobox.css +455 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item/combobox-item.css +248 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item-group/combobox-item-group.css +101 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker/date-picker.css +72 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-day/date-picker-day.css +294 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month/date-picker-month.css +96 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month-header/date-picker-month-header.css +189 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dialog/dialog.css +338 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown/dropdown.css +141 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-group/dropdown-group.css +84 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-item/dropdown-item.css +199 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/fab/fab.css +76 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/filter/filter.css +140 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow/flow.css +98 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow-item/flow-item.css +94 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/graph/graph.css +51 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/handle/handle.css +102 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/icon/icon.css +74 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/inline-editable/inline-editable.css +93 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input/input.css +650 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-date-picker/input-date-picker.css +295 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-message/input-message.css +92 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-number/input-number.css +504 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-text/input-text.css +417 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-picker/input-time-picker.css +125 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-zone/input-time-zone.css +75 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/label/label.css +138 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/link/link.css +152 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list/list.css +106 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item/list-item.css +348 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item-group/list-item-group.css +79 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/loader/loader.css +301 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu/menu.css +50 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu-item/menu-item.css +281 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/meter/meter.css +187 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/modal/modal.css +529 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation/navigation.css +142 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-logo/navigation-logo.css +137 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-user/navigation-user.css +112 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/notice/notice.css +288 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/option/option.css +36 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/option-group/option-group.css +36 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pagination/pagination.css +151 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/panel/panel.css +364 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list/pick-list.css +96 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-group/pick-list-group.css +83 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-item/pick-list-item.css +183 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/popover/popover.css +199 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/progress/progress.css +110 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button/radio-button.css +168 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button-group/radio-button-group.css +96 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/rating/rating.css +182 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/scrim/scrim.css +76 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control/segmented-control.css +120 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control-item/segmented-control-item.css +179 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/select/select.css +252 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/sheet/sheet.css +267 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell/shell.css +209 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-center-row/shell-center-row.css +124 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-panel/shell-panel.css +394 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/slider/slider.css +395 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/sortable-list/sortable-list.css +72 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/split-button/split-button.css +192 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stack/stack.css +116 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper/stepper.css +150 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper-item/stepper-item.css +479 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/switch/switch.css +188 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab/tab.css +105 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-nav/tab-nav.css +158 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-title/tab-title.css +422 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table/table.css +135 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-cell/table-cell.css +170 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-header/table-header.css +154 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-row/table-row.css +82 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tabs/tabs.css +101 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/text-area/text-area.css +300 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile/tile.css +297 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-group/tile-group.css +86 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select/tile-select.css +239 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select-group/tile-select-group.css +68 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/time-picker/time-picker.css +144 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip/tip.css +151 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-group/tip-group.css +47 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-manager/tip-manager.css +194 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tooltip/tooltip.css +121 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree/tree.css +41 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree-item/tree-item.css +338 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list/value-list.css +109 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list-item/value-list-item.css +125 -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-create/instant-apps-create.css +150 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-export/instant-apps-export.css +92 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-export-views/instant-apps-export-views.css +92 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-filter-list/instant-apps-filter-list.css +108 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-header/instant-apps-header.css +180 -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 +65 -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 +66 -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 +51 -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 +228 -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 +90 -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-sign-in/instant-apps-sign-in.css +90 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-social-share/instant-apps-social-share.css +286 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-splash/instant-apps-splash.css +13 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-time-filter/instant-apps-time-filter.css +42 -0
- package/dist/solutions-components/assets/dialog/t9n/index.d.ts +2 -0
- package/dist/solutions-components/assets/dialog/t9n/messages.json +3 -1
- package/dist/solutions-components/assets/dialog/t9n/messages_en.json +3 -1
- package/dist/solutions-components/assets/icon/closedCaption16.json +1 -0
- package/dist/solutions-components/assets/icon/closedCaption16F.json +1 -0
- package/dist/solutions-components/assets/icon/closedCaption24.json +1 -0
- package/dist/solutions-components/assets/icon/closedCaption24F.json +1 -0
- package/dist/solutions-components/assets/icon/closedCaption32.json +1 -0
- package/dist/solutions-components/assets/icon/closedCaption32F.json +1 -0
- package/dist/solutions-components/assets/icon/flag16.json +1 -0
- package/dist/solutions-components/assets/icon/flag16F.json +1 -0
- package/dist/solutions-components/assets/icon/flag24.json +1 -0
- package/dist/solutions-components/assets/icon/flag24F.json +1 -0
- package/dist/solutions-components/assets/icon/flag32.json +1 -0
- package/dist/solutions-components/assets/icon/flag32F.json +1 -0
- package/dist/solutions-components/assets/icon/flagSlash16.json +1 -0
- package/dist/solutions-components/assets/icon/flagSlash24.json +1 -0
- package/dist/solutions-components/assets/icon/flagSlash32.json +1 -0
- package/dist/solutions-components/assets/icon/layerConnection16.json +1 -0
- package/dist/solutions-components/assets/icon/layerConnection24.json +1 -0
- package/dist/solutions-components/assets/icon/layerConnection32.json +1 -0
- package/dist/solutions-components/assets/icon/transcript16.json +1 -0
- package/dist/solutions-components/assets/icon/transcript16F.json +1 -0
- package/dist/solutions-components/assets/icon/transcript24.json +1 -0
- package/dist/solutions-components/assets/icon/transcript24F.json +1 -0
- package/dist/solutions-components/assets/icon/transcript32.json +1 -0
- package/dist/solutions-components/assets/icon/transcript32F.json +1 -0
- package/dist/solutions-components/assets/input-time-zone/t9n/index.d.ts +261 -0
- package/dist/solutions-components/assets/input-time-zone/t9n/messages.json +262 -1
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_en.json +262 -1
- package/dist/solutions-components/demos/crowdsource-reporter.html +11 -3
- package/dist/solutions-components/p-0005175a.js +16 -0
- package/dist/solutions-components/p-004d601f.entry.js +6 -0
- package/dist/solutions-components/p-00d131cd.entry.js +11 -0
- package/dist/solutions-components/p-013188f8.entry.js +6 -0
- package/dist/solutions-components/p-01df774b.js +11 -0
- package/dist/solutions-components/p-0215daed.js +6 -0
- package/dist/solutions-components/p-022c49af.js +489 -0
- package/dist/solutions-components/p-04f09e7f.entry.js +11 -0
- package/dist/solutions-components/p-0558fbc7.js +143 -0
- package/dist/solutions-components/p-05b7d3ce.js +6 -0
- package/dist/solutions-components/p-06084e6c.js +11 -0
- package/dist/solutions-components/p-064e43e0.entry.js +6 -0
- package/dist/solutions-components/p-089bc565.js +11 -0
- package/dist/solutions-components/p-0fe5de6b.entry.js +6 -0
- package/dist/solutions-components/p-1061076b.js +6 -0
- package/dist/solutions-components/p-14fbc662.js +11 -0
- package/dist/solutions-components/p-1500d4c7.js +6 -0
- package/dist/solutions-components/p-15622ace.entry.js +11 -0
- package/dist/solutions-components/p-16d4eb72.entry.js +16 -0
- package/dist/solutions-components/p-172fcecd.entry.js +11 -0
- package/dist/solutions-components/p-1892c357.js +11 -0
- package/dist/solutions-components/p-18f18ab3.js +11 -0
- package/dist/solutions-components/p-1900269a.entry.js +6 -0
- package/dist/solutions-components/p-19a942c4.entry.js +16 -0
- package/dist/solutions-components/p-1a9a47a0.js +11 -0
- package/dist/solutions-components/p-1bbe9e22.js +6 -0
- package/dist/solutions-components/p-1d71e81f.js +11 -0
- package/dist/solutions-components/p-1d99dfcd.entry.js +11 -0
- package/dist/solutions-components/p-1e455668.js +6 -0
- package/dist/solutions-components/p-1ed47f10.entry.js +21 -0
- package/dist/solutions-components/p-2058b5d9.js +36 -0
- package/dist/solutions-components/p-207b4e70.entry.js +11 -0
- package/dist/solutions-components/p-24997e81.js +6 -0
- package/dist/solutions-components/p-25a1fe4d.js +6 -0
- package/dist/solutions-components/p-25c584f4.entry.js +17 -0
- package/dist/solutions-components/p-26eb6f09.js +6 -0
- package/dist/solutions-components/p-274cad02.entry.js +6 -0
- package/dist/solutions-components/p-2ab773ed.js +6 -0
- package/dist/solutions-components/p-2c423f9c.js +6 -0
- package/dist/solutions-components/p-2d1afda0.entry.js +17 -0
- package/dist/solutions-components/p-2ed8e994.entry.js +17 -0
- package/dist/solutions-components/p-3110db7a.entry.js +6 -0
- package/dist/solutions-components/p-31f7dd8e.entry.js +6 -0
- package/dist/solutions-components/p-32be7387.js +6 -0
- package/dist/solutions-components/p-336b8f46.js +6 -0
- package/dist/solutions-components/p-371dbb0f.entry.js +6 -0
- package/dist/solutions-components/p-388725c2.entry.js +6 -0
- package/dist/solutions-components/p-3917c6f8.entry.js +11 -0
- package/dist/solutions-components/p-3a74aab6.entry.js +6 -0
- package/dist/solutions-components/p-3c1945a9.js +6 -0
- package/dist/solutions-components/p-3d0666fe.js +6 -0
- package/dist/solutions-components/p-3d6b18ec.entry.js +11 -0
- package/dist/solutions-components/p-3df511e0.entry.js +6 -0
- package/dist/solutions-components/p-3eff6da3.js +11 -0
- package/dist/solutions-components/p-3f9238e9.entry.js +11 -0
- package/dist/solutions-components/p-40724bfb.js +11 -0
- package/dist/solutions-components/p-40d7e510.js +6 -0
- package/dist/solutions-components/p-415cf05e.js +12 -0
- package/dist/solutions-components/p-4216af0e.js +6 -0
- package/dist/solutions-components/p-42a8493c.entry.js +6 -0
- package/dist/solutions-components/p-44240d03.js +18 -0
- package/dist/solutions-components/p-4514dc6f.entry.js +11 -0
- package/dist/solutions-components/p-47f6f996.entry.js +6 -0
- package/dist/solutions-components/p-49118e69.js +6 -0
- package/dist/solutions-components/p-4a0d9efe.entry.js +6 -0
- package/dist/solutions-components/p-4cd4cb85.js +6 -0
- package/dist/solutions-components/p-4de4fff6.entry.js +6 -0
- package/dist/solutions-components/p-4f06e105.entry.js +11 -0
- package/dist/solutions-components/p-4f074a84.entry.js +11 -0
- package/dist/solutions-components/p-4f474f64.js +6 -0
- package/dist/solutions-components/p-4fc5ab17.js +6 -0
- package/dist/solutions-components/p-51270f04.entry.js +6 -0
- package/dist/solutions-components/p-52576649.entry.js +17 -0
- package/dist/solutions-components/p-534cd147.js +6 -0
- package/dist/solutions-components/p-544cd7fd.entry.js +11 -0
- package/dist/solutions-components/p-56601650.js +11 -0
- package/dist/solutions-components/p-569ccf2c.entry.js +11 -0
- package/dist/solutions-components/p-56b9dc0d.entry.js +11 -0
- package/dist/solutions-components/p-580a4537.js +11 -0
- package/dist/solutions-components/p-58405b19.entry.js +11 -0
- package/dist/solutions-components/p-5c1366f7.entry.js +11 -0
- package/dist/solutions-components/p-5cca7ef7.entry.js +17 -0
- package/dist/solutions-components/p-5dcec135.js +21 -0
- package/dist/solutions-components/p-5ee4ba5c.js +6 -0
- package/dist/solutions-components/p-6070857c.js +6 -0
- package/dist/solutions-components/p-61f47dfa.entry.js +11 -0
- package/dist/solutions-components/p-621e306e.js +6 -0
- package/dist/solutions-components/p-62c6764c.js +6 -0
- package/dist/solutions-components/p-66be22db.entry.js +11 -0
- package/dist/solutions-components/p-682d053f.entry.js +6 -0
- package/dist/solutions-components/p-68ec5c15.js +17 -0
- package/dist/solutions-components/p-6d6c3d56.js +6 -0
- package/dist/solutions-components/p-6eb37ed2.js +7 -0
- package/dist/solutions-components/p-6f253995.js +61 -0
- package/dist/solutions-components/p-6fb5c228.entry.js +11 -0
- package/dist/solutions-components/p-70b46ea4.js +6 -0
- package/dist/solutions-components/p-712269bc.entry.js +29 -0
- package/dist/solutions-components/p-720a12c0.js +6 -0
- package/dist/solutions-components/p-7324cb9f.js +6 -0
- package/dist/solutions-components/p-7699e80b.js +11 -0
- package/dist/solutions-components/p-7987d73b.entry.js +6 -0
- package/dist/solutions-components/p-7a61d771.entry.js +11 -0
- package/dist/solutions-components/p-7b0b9681.js +6 -0
- package/dist/solutions-components/p-7b68d1ea.js +6 -0
- package/dist/solutions-components/p-7bfecd07.js +6 -0
- package/dist/solutions-components/p-7c00971f.js +6 -0
- package/dist/solutions-components/p-7ca6f4d5.entry.js +6 -0
- package/dist/solutions-components/p-7d32b6a4.entry.js +11 -0
- package/dist/solutions-components/p-7d484762.entry.js +6 -0
- package/dist/solutions-components/p-7eb5d31a.js +6 -0
- package/dist/solutions-components/p-81790f41.js +6 -0
- package/dist/solutions-components/p-8208ba6c.entry.js +6 -0
- package/dist/solutions-components/p-8241cd35.js +11 -0
- package/dist/solutions-components/p-83786108.js +6 -0
- package/dist/solutions-components/p-84a049f7.entry.js +6 -0
- package/dist/solutions-components/p-8524bacc.js +11 -0
- package/dist/solutions-components/p-86d877d8.entry.js +17 -0
- package/dist/solutions-components/p-89195780.entry.js +29 -0
- package/dist/solutions-components/p-8a177acd.entry.js +11 -0
- package/dist/solutions-components/p-8c2d05c1.js +6 -0
- package/dist/solutions-components/p-8ce7e559.entry.js +11 -0
- package/dist/solutions-components/p-8d576a9a.js +6 -0
- package/dist/solutions-components/p-8df67871.entry.js +11 -0
- package/dist/solutions-components/p-8f07cef3.entry.js +11 -0
- package/dist/solutions-components/p-8f0ee4b0.js +17 -0
- package/dist/solutions-components/p-8f218bfe.entry.js +11 -0
- package/dist/solutions-components/p-900fee65.js +21 -0
- package/dist/solutions-components/p-92baaf77.entry.js +11 -0
- package/dist/solutions-components/p-939bc1b4.js +16 -0
- package/dist/solutions-components/p-93fd86cd.entry.js +6 -0
- package/dist/solutions-components/p-960baebc.entry.js +6 -0
- package/dist/solutions-components/p-969008d8.entry.js +6 -0
- package/dist/solutions-components/p-97331a60.entry.js +12 -0
- package/dist/solutions-components/p-976ad17d.entry.js +6 -0
- package/dist/solutions-components/p-99af3f50.js +6 -0
- package/dist/solutions-components/p-9ab3df4f.js +11 -0
- package/dist/solutions-components/p-9d0528ac.js +6 -0
- package/dist/solutions-components/p-9dc4186e.entry.js +11 -0
- package/dist/solutions-components/p-9ec1aa8c.js +6 -0
- package/dist/solutions-components/p-9f0b8f8b.js +11 -0
- package/dist/solutions-components/p-9f574f86.entry.js +6 -0
- package/dist/solutions-components/p-9f63a45c.js +11 -0
- package/dist/solutions-components/p-9f8b30b5.entry.js +11 -0
- package/dist/solutions-components/p-a0db88ed.js +6 -0
- package/dist/solutions-components/p-a2246051.entry.js +17 -0
- package/dist/solutions-components/p-a432f638.entry.js +6 -0
- package/dist/solutions-components/p-a474882d.js +6 -0
- package/dist/solutions-components/p-a5609b81.js +11 -0
- package/dist/solutions-components/p-a6935ddf.js +6 -0
- package/dist/solutions-components/p-a6aba7d4.entry.js +6 -0
- package/dist/solutions-components/p-a72f5cc6.js +6 -0
- package/dist/solutions-components/p-a84b3d50.js +6 -0
- package/dist/solutions-components/p-a858460b.entry.js +47 -0
- package/dist/solutions-components/p-a94a0072.js +6 -0
- package/dist/solutions-components/p-a957cdd8.entry.js +11 -0
- package/dist/solutions-components/p-aa0ac2d2.js +16 -0
- package/dist/solutions-components/p-aa3140aa.entry.js +6 -0
- package/dist/solutions-components/p-aa71106f.entry.js +11 -0
- package/dist/solutions-components/p-abd3e579.entry.js +6 -0
- package/dist/solutions-components/p-ac122d9e.js +6 -0
- package/dist/solutions-components/p-ac52e0ba.js +11 -0
- package/dist/solutions-components/p-acaae81d.js +11 -0
- package/dist/solutions-components/p-aeb86188.js +11 -0
- package/dist/solutions-components/p-afcd5996.js +11 -0
- package/dist/solutions-components/p-b12af1e0.entry.js +17 -0
- package/dist/solutions-components/p-b1bc21ac.js +11 -0
- package/dist/solutions-components/p-b39c5275.js +11 -0
- package/dist/solutions-components/p-b3f2bb6f.js +6 -0
- package/dist/solutions-components/p-b448a7a7.js +6 -0
- package/dist/solutions-components/p-b5963a0f.js +6 -0
- package/dist/solutions-components/p-b7c200a0.entry.js +12 -0
- package/dist/solutions-components/p-b8eee32e.js +6 -0
- package/dist/solutions-components/p-bb9ac684.entry.js +6 -0
- package/dist/solutions-components/p-bc0aaf2f.entry.js +11 -0
- package/dist/solutions-components/p-bc14b643.entry.js +12 -0
- package/dist/solutions-components/p-bc1d8894.js +11 -0
- package/dist/solutions-components/p-bc33d298.js +6 -0
- package/dist/solutions-components/p-bcc79697.js +11 -0
- package/dist/solutions-components/p-beb23ced.entry.js +6 -0
- package/dist/solutions-components/p-bef2141e.entry.js +6 -0
- package/dist/solutions-components/p-bfa395e9.js +6 -0
- package/dist/solutions-components/p-c2964e00.entry.js +11 -0
- package/dist/solutions-components/p-c5e13ebc.js +11 -0
- package/dist/solutions-components/p-c638d28e.js +11 -0
- package/dist/solutions-components/p-c71745d0.entry.js +6 -0
- package/dist/solutions-components/p-c7bfe120.entry.js +6 -0
- package/dist/solutions-components/p-c7e2d3e6.entry.js +6 -0
- package/dist/solutions-components/p-c89f1175.entry.js +11 -0
- package/dist/solutions-components/p-c8b149b8.entry.js +6 -0
- package/dist/solutions-components/p-c911c46d.entry.js +11 -0
- package/dist/solutions-components/p-c9260b4c.entry.js +6 -0
- package/dist/solutions-components/p-c9a45311.entry.js +6 -0
- package/dist/solutions-components/p-ca3430fd.entry.js +21 -0
- package/dist/solutions-components/p-ca65d7ff.entry.js +12 -0
- package/dist/solutions-components/p-cabc6e5c.entry.js +17 -0
- package/dist/solutions-components/p-cb5ddaae.js +6 -0
- package/dist/solutions-components/p-cb5de432.entry.js +11 -0
- package/dist/solutions-components/p-cde8d6e5.entry.js +11 -0
- package/dist/solutions-components/p-d301b8fd.js +6 -0
- package/dist/solutions-components/p-d3453ce8.entry.js +6 -0
- package/dist/solutions-components/p-d4d4b4e3.entry.js +6 -0
- package/dist/solutions-components/p-d4e58347.entry.js +6 -0
- package/dist/solutions-components/p-d52da3ad.js +6 -0
- package/dist/solutions-components/p-d559f79c.js +11 -0
- package/dist/solutions-components/p-d5dae468.js +6 -0
- package/dist/solutions-components/p-d62336e2.entry.js +6 -0
- package/dist/solutions-components/p-d6e62ea2.js +6 -0
- package/dist/solutions-components/p-da713b07.entry.js +6 -0
- package/dist/solutions-components/p-da9cee72.entry.js +11 -0
- package/dist/solutions-components/p-dc58c4da.entry.js +6 -0
- package/dist/solutions-components/p-dc7710b5.js +11 -0
- package/dist/solutions-components/p-dd3530da.entry.js +11 -0
- package/dist/solutions-components/p-de02a060.entry.js +11 -0
- package/dist/solutions-components/p-de197552.js +6 -0
- package/dist/solutions-components/p-df191993.entry.js +11 -0
- package/dist/solutions-components/p-e1917512.js +6 -0
- package/dist/solutions-components/p-e33e07a4.entry.js +11 -0
- package/dist/solutions-components/p-e83d2d34.entry.js +24 -0
- package/dist/solutions-components/p-e98c4f93.js +11 -0
- package/dist/solutions-components/p-ead8696c.js +16 -0
- package/dist/solutions-components/p-ec702c30.entry.js +11 -0
- package/dist/solutions-components/p-ed60dff0.entry.js +11 -0
- package/dist/solutions-components/p-ed7cba2a.entry.js +11 -0
- package/dist/solutions-components/p-ee157540.entry.js +22 -0
- package/dist/solutions-components/p-eeaa122b.entry.js +11 -0
- package/dist/solutions-components/p-ef4f2c1d.entry.js +6 -0
- package/dist/solutions-components/p-f0345689.entry.js +16 -0
- package/dist/solutions-components/p-f25d5c18.entry.js +6 -0
- package/dist/solutions-components/p-f31a44b7.js +11 -0
- package/dist/solutions-components/p-f32f57a3.entry.js +6 -0
- package/dist/solutions-components/p-f47d6a10.entry.js +11 -0
- package/dist/solutions-components/p-f69ca69c.js +6 -0
- package/dist/solutions-components/p-f7d3ef3e.entry.js +6 -0
- package/dist/solutions-components/p-f89104bc.entry.js +6 -0
- package/dist/solutions-components/p-f91ae108.entry.js +6 -0
- package/dist/solutions-components/p-f9393949.entry.js +6 -0
- package/dist/solutions-components/p-fc58da4b.entry.js +6 -0
- package/dist/solutions-components/p-fce978b9.entry.js +6 -0
- package/dist/solutions-components/p-fe6f7734.js +11 -0
- package/dist/solutions-components/p-ff8343ec.js +11 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/types/components/basemap-gallery/basemap-gallery.d.ts +0 -1
- package/dist/types/components/buffer-tools/buffer-tools.d.ts +0 -2
- package/dist/types/components/card-manager/card-manager.d.ts +0 -1
- package/dist/types/components/consent-manager/consent-manager.d.ts +0 -1
- package/dist/types/components/create-feature/create-feature.d.ts +37 -2
- package/dist/types/components/create-related-feature/create-related-feature.d.ts +0 -1
- package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +0 -1
- package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +10 -6
- package/dist/types/components/delete-button/delete-button.d.ts +0 -1
- package/dist/types/components/edit-card/edit-card.d.ts +0 -1
- package/dist/types/components/feature-details/feature-details.d.ts +4 -1
- package/dist/types/components/feature-list/feature-list.d.ts +18 -2
- package/dist/types/components/floor-filter/floor-filter.d.ts +0 -1
- package/dist/types/components/info-card/info-card.d.ts +0 -1
- package/dist/types/components/layer-list/layer-list.d.ts +0 -1
- package/dist/types/components/layer-table/layer-table.d.ts +0 -1
- package/dist/types/components/map-card/map-card.d.ts +0 -1
- package/dist/types/components/map-draw-tools/map-draw-tools.d.ts +0 -1
- package/dist/types/components/map-fullscreen/map-fullscreen.d.ts +0 -1
- package/dist/types/components/map-layer-picker/map-layer-picker.d.ts +0 -1
- package/dist/types/components/map-legend/map-legend.d.ts +0 -1
- package/dist/types/components/map-search/map-search.d.ts +0 -1
- package/dist/types/components/map-select-tools/map-select-tools.d.ts +0 -1
- package/dist/types/components/map-tools/map-tools.d.ts +0 -1
- package/dist/types/components/pdf-download/pdf-download.d.ts +0 -1
- package/dist/types/components/public-notification/public-notification.d.ts +0 -1
- package/dist/types/components/refine-selection/refine-selection.d.ts +0 -1
- package/dist/types/components.d.ts +37 -0
- package/dist/types/preact.d.ts +5 -5
- package/dist/types/utils/downloadUtils.d.ts +0 -1
- package/dist/types/utils/interfaces.d.ts +0 -1
- package/dist/types/utils/mapViewUtils.d.ts +0 -1
- package/dist/types/utils/popupUtils.d.ts +0 -1
- package/dist/types/utils/queryUtils.d.ts +0 -1
- package/package.json +7 -7
- package/dist/cjs/ExpandToggle-9cf51aba.js +0 -115
- package/dist/cjs/FloatingArrow-f78d627c.js +0 -48
- package/dist/cjs/Heading-5b274572.js +0 -25
- package/dist/cjs/Validation-a9d22fb7.js +0 -20
- package/dist/cjs/app-globals-62e0da30.js +0 -67
- package/dist/cjs/ar-67bbaacf.js +0 -107
- package/dist/cjs/array-67eea0ed.js +0 -17
- package/dist/cjs/bg-52d767e3.js +0 -85
- package/dist/cjs/browser-02cbd1d9.js +0 -35
- package/dist/cjs/bs-abb7a3ee.js +0 -54
- package/dist/cjs/ca-2618e485.js +0 -74
- package/dist/cjs/calcite-avatar_2.cjs.entry.js +0 -239
- package/dist/cjs/calcite-input-time-picker-be5ad250.js +0 -1863
- package/dist/cjs/component-9d0efa36.js +0 -33
- package/dist/cjs/conditionalSlot-fe01e316.js +0 -54
- package/dist/cjs/config-6a670c0d.js +0 -41
- package/dist/cjs/cs-9566238a.js +0 -150
- package/dist/cjs/da-86f2f759.js +0 -70
- package/dist/cjs/date-163d7302.js +0 -264
- package/dist/cjs/de-at-90927f4b.js +0 -93
- package/dist/cjs/de-ch-7185b180.js +0 -93
- package/dist/cjs/de-e7327417.js +0 -94
- package/dist/cjs/dom-63b93b3b.js +0 -1212
- package/dist/cjs/downloadUtils-60ee99e0.js +0 -3163
- package/dist/cjs/el-ee1c6246.js +0 -69
- package/dist/cjs/en-au-c245e1fa.js +0 -69
- package/dist/cjs/en-ca-44552f66.js +0 -68
- package/dist/cjs/en-gb-cf4bdbbf.js +0 -72
- package/dist/cjs/es-e27b3455.js +0 -69
- package/dist/cjs/es-mx-d5455d49.js +0 -68
- package/dist/cjs/et-521fe75e.js +0 -95
- package/dist/cjs/fi-ba5f1240.js +0 -118
- package/dist/cjs/filter-adc5c5aa.js +0 -778
- package/dist/cjs/floating-ui-1ef64f13.js +0 -2362
- package/dist/cjs/focusTrapComponent-1881eaf7.js +0 -1018
- package/dist/cjs/form-4c0bbbe5.js +0 -381
- package/dist/cjs/fr-014e6869.js +0 -71
- package/dist/cjs/fr-ch-9174a431.js +0 -69
- package/dist/cjs/guid-4bc1bc0f.js +0 -26
- package/dist/cjs/he-ac6a1230.js +0 -108
- package/dist/cjs/helpers-6f7660d4.js +0 -940
- package/dist/cjs/hi-b605b081.js +0 -68
- package/dist/cjs/hr-1f50021e.js +0 -83
- package/dist/cjs/hu-0dbb012b.js +0 -91
- package/dist/cjs/id-be5cad02.js +0 -69
- package/dist/cjs/index-696e53e6.js +0 -1756
- package/dist/cjs/index-a0cca96e.js +0 -201
- package/dist/cjs/index-c0ee2715.js +0 -206
- package/dist/cjs/index.es-38913dfa.js +0 -11317
- package/dist/cjs/input-2d5a669d.js +0 -60
- package/dist/cjs/interactive-272b8484.js +0 -169
- package/dist/cjs/it-2d267c40.js +0 -69
- package/dist/cjs/it-ch-7e63ab0d.js +0 -69
- package/dist/cjs/ja-f84367c9.js +0 -75
- package/dist/cjs/key-e4dd32ff.js +0 -19
- package/dist/cjs/ko-3b4ea66e.js +0 -75
- package/dist/cjs/label-afda7da7.js +0 -186
- package/dist/cjs/languageSwitcher-f0bb94fa.js +0 -60
- package/dist/cjs/languageUtil-f22ce913.js +0 -69
- package/dist/cjs/loadModules-36d49819.js +0 -23
- package/dist/cjs/loadable-ef8f0acf.js +0 -98
- package/dist/cjs/locale-239118c6.js +0 -120
- package/dist/cjs/locale-2dc1252d.js +0 -160
- package/dist/cjs/locale-428354f0.js +0 -584
- package/dist/cjs/logger-bb2cd9dd.js +0 -61
- package/dist/cjs/lt-52ddc840.js +0 -100
- package/dist/cjs/lv-646b5876.js +0 -69
- package/dist/cjs/math-8677dfd7.js +0 -60
- package/dist/cjs/mk-bfa4f151.js +0 -69
- package/dist/cjs/nb-8d337597.js +0 -70
- package/dist/cjs/nl-da233a0d.js +0 -70
- package/dist/cjs/observers-3440c668.js +0 -58
- package/dist/cjs/openCloseComponent-f9bf524b.js +0 -65
- package/dist/cjs/pl-596b9933.js +0 -117
- package/dist/cjs/popupUtils-0cabaa1f.js +0 -121
- package/dist/cjs/pt-bc779aca.js +0 -70
- package/dist/cjs/pt-br-ab04f8b9.js +0 -68
- package/dist/cjs/publicNotificationStore-8d2558c6.js +0 -47
- package/dist/cjs/resources-2f7b1adf.js +0 -23
- package/dist/cjs/resources-361aeee1.js +0 -68
- package/dist/cjs/resources-388b6f7e.js +0 -29
- package/dist/cjs/resources-6ed4d812.js +0 -39
- package/dist/cjs/resources-8556a9ce.js +0 -39
- package/dist/cjs/resources-91cff82d.js +0 -21
- package/dist/cjs/resources-a88c66ba.js +0 -26
- package/dist/cjs/resources-cb7b739c.js +0 -63
- package/dist/cjs/resources-e3034d0f.js +0 -27
- package/dist/cjs/resources-ea500edf.js +0 -23
- package/dist/cjs/ro-8e73fabd.js +0 -69
- package/dist/cjs/ru-a9cf0c93.js +0 -129
- package/dist/cjs/shared-list-render-8da9f754.js +0 -361
- package/dist/cjs/sk-f23f0865.js +0 -151
- package/dist/cjs/sl-66cee3ca.js +0 -171
- package/dist/cjs/solution-store-747a28ab.js +0 -1353
- package/dist/cjs/sortableComponent-842b0585.js +0 -2748
- package/dist/cjs/sr-f6958417.js +0 -104
- package/dist/cjs/sv-b6f30578.js +0 -74
- package/dist/cjs/t9n-e5fb720b.js +0 -108
- package/dist/cjs/th-7266bbe1.js +0 -68
- package/dist/cjs/time-35e40020.js +0 -301
- package/dist/cjs/tr-0ca37955.js +0 -69
- package/dist/cjs/uk-84db760b.js +0 -107
- package/dist/cjs/utils-3f254442.js +0 -72
- package/dist/cjs/utils-42df996f.js +0 -2304
- package/dist/cjs/utils-e486aa01.js +0 -130
- package/dist/cjs/vi-c9c7a4bc.js +0 -73
- package/dist/cjs/zh-cn-c1bd1cac.js +0 -97
- package/dist/cjs/zh-hk-80a1b071.js +0 -95
- package/dist/cjs/zh-tw-b1d0baea.js +0 -95
- package/dist/esm/ExpandToggle-0a6958eb.js +0 -108
- package/dist/esm/FloatingArrow-3593832a.js +0 -46
- package/dist/esm/Heading-dcf63f4d.js +0 -22
- package/dist/esm/Validation-8ddc15e3.js +0 -18
- package/dist/esm/app-globals-e3c6f3f0.js +0 -65
- package/dist/esm/ar-ad19e823.js +0 -105
- package/dist/esm/array-5ce54fce.js +0 -15
- package/dist/esm/bg-d39d00d4.js +0 -83
- package/dist/esm/browser-8c71dd57.js +0 -32
- package/dist/esm/bs-5578d068.js +0 -52
- package/dist/esm/ca-50d49800.js +0 -72
- package/dist/esm/calcite-avatar_2.entry.js +0 -234
- package/dist/esm/calcite-input-time-picker-48568b36.js +0 -1860
- package/dist/esm/component-e3f05da5.js +0 -30
- package/dist/esm/conditionalSlot-33053690.js +0 -51
- package/dist/esm/config-6d8fa5c8.js +0 -37
- package/dist/esm/cs-c01bc02b.js +0 -148
- package/dist/esm/da-30f1c62d.js +0 -68
- package/dist/esm/date-1f2a59fd.js +0 -248
- package/dist/esm/de-at-8b651f1b.js +0 -91
- package/dist/esm/de-ch-16f901cb.js +0 -91
- package/dist/esm/de-f3ff49fe.js +0 -92
- package/dist/esm/dom-982585e7.js +0 -1177
- package/dist/esm/downloadUtils-51c2c502.js +0 -3156
- package/dist/esm/el-3cc5361f.js +0 -67
- package/dist/esm/en-au-5e1ae1c6.js +0 -67
- package/dist/esm/en-ca-eca7afe3.js +0 -66
- package/dist/esm/en-gb-d41a41f9.js +0 -70
- package/dist/esm/es-3119bf5f.js +0 -67
- package/dist/esm/es-mx-765f73cd.js +0 -66
- package/dist/esm/et-524d60ab.js +0 -93
- package/dist/esm/fi-103b9c33.js +0 -116
- package/dist/esm/filter-4fc9cd19.js +0 -775
- package/dist/esm/floating-ui-28a86be6.js +0 -2354
- package/dist/esm/focusTrapComponent-2dc61826.js +0 -1013
- package/dist/esm/form-9827fc54.js +0 -372
- package/dist/esm/fr-a0f46db0.js +0 -69
- package/dist/esm/fr-ch-d4198d14.js +0 -67
- package/dist/esm/guid-5c959cfd.js +0 -24
- package/dist/esm/he-88cc49d1.js +0 -106
- package/dist/esm/helpers-62213648.js +0 -913
- package/dist/esm/hi-3fb3aeaf.js +0 -66
- package/dist/esm/hr-30bc6bf7.js +0 -81
- package/dist/esm/hu-ca65e08b.js +0 -89
- package/dist/esm/id-4c1eee8c.js +0 -67
- package/dist/esm/index-1dc14abf.js +0 -199
- package/dist/esm/index-d8ff08ed.js +0 -204
- package/dist/esm/index-e3f04fa1.js +0 -1722
- package/dist/esm/index.es-afea294f.js +0 -11230
- package/dist/esm/input-bf439d4b.js +0 -58
- package/dist/esm/interactive-1d03c7ff.js +0 -164
- package/dist/esm/it-4cb0e1d5.js +0 -67
- package/dist/esm/it-ch-4de1f33e.js +0 -67
- package/dist/esm/ja-2d531f7b.js +0 -73
- package/dist/esm/key-7f394a98.js +0 -16
- package/dist/esm/ko-1d957d12.js +0 -73
- package/dist/esm/label-38802319.js +0 -179
- package/dist/esm/languageSwitcher-b665499d.js +0 -57
- package/dist/esm/languageUtil-a3e6adf6.js +0 -66
- package/dist/esm/loadModules-9c062d08.js +0 -21
- package/dist/esm/loadable-869378d9.js +0 -93
- package/dist/esm/locale-35ebf4af.js +0 -115
- package/dist/esm/locale-53748f98.js +0 -571
- package/dist/esm/locale-e758c2ee.js +0 -155
- package/dist/esm/logger-c6b14fe1.js +0 -59
- package/dist/esm/lt-d09d3afe.js +0 -98
- package/dist/esm/lv-09f370a6.js +0 -67
- package/dist/esm/math-dbb62ccf.js +0 -54
- package/dist/esm/mk-f19a0976.js +0 -67
- package/dist/esm/nb-458b5aed.js +0 -68
- package/dist/esm/nl-f3c1e8a1.js +0 -68
- package/dist/esm/observers-0f4a5f9e.js +0 -56
- package/dist/esm/openCloseComponent-f118bfc5.js +0 -63
- package/dist/esm/pl-f9862e9b.js +0 -115
- package/dist/esm/popupUtils-d4fe0b41.js +0 -119
- package/dist/esm/pt-4e37d6f8.js +0 -68
- package/dist/esm/pt-br-30daca3c.js +0 -66
- package/dist/esm/publicNotificationStore-065c7136.js +0 -45
- package/dist/esm/resources-098ed485.js +0 -62
- package/dist/esm/resources-0bf41f5d.js +0 -20
- package/dist/esm/resources-124c42d1.js +0 -35
- package/dist/esm/resources-27689859.js +0 -21
- package/dist/esm/resources-3bc82696.js +0 -34
- package/dist/esm/resources-84590a8e.js +0 -24
- package/dist/esm/resources-98bf974e.js +0 -59
- package/dist/esm/resources-a4ff051c.js +0 -23
- package/dist/esm/resources-af396281.js +0 -22
- package/dist/esm/resources-cdba986a.js +0 -19
- package/dist/esm/ro-a83cfcaa.js +0 -67
- package/dist/esm/ru-bb2c629b.js +0 -127
- package/dist/esm/shared-list-render-d8c49a1f.js +0 -339
- package/dist/esm/sk-4cc2af3f.js +0 -149
- package/dist/esm/sl-0df8c942.js +0 -169
- package/dist/esm/solution-store-0586e891.js +0 -1351
- package/dist/esm/sortableComponent-173802fd.js +0 -2745
- package/dist/esm/sr-8d0e01f0.js +0 -102
- package/dist/esm/sv-8971f2c2.js +0 -72
- package/dist/esm/t9n-5371b7ab.js +0 -103
- package/dist/esm/th-32517448.js +0 -66
- package/dist/esm/time-2996215a.js +0 -286
- package/dist/esm/tr-42c9ac73.js +0 -67
- package/dist/esm/uk-d1b99329.js +0 -105
- package/dist/esm/utils-67264f4a.js +0 -2274
- package/dist/esm/utils-72a48b01.js +0 -121
- package/dist/esm/utils-ac0f19ea.js +0 -60
- package/dist/esm/vi-c6ff5a39.js +0 -71
- package/dist/esm/zh-cn-973d18ea.js +0 -95
- package/dist/esm/zh-hk-6fc51e3d.js +0 -93
- package/dist/esm/zh-tw-4e1d2a6a.js +0 -93
- package/dist/solutions-components/p-0034f196.entry.js +0 -21
- package/dist/solutions-components/p-00786a30.entry.js +0 -6
- package/dist/solutions-components/p-016e190c.entry.js +0 -6
- package/dist/solutions-components/p-01cc2423.js +0 -21
- package/dist/solutions-components/p-021da1d4.js +0 -6
- package/dist/solutions-components/p-02c4127b.entry.js +0 -17
- package/dist/solutions-components/p-071a9f50.entry.js +0 -11
- package/dist/solutions-components/p-09b47605.js +0 -36
- package/dist/solutions-components/p-09d62c22.js +0 -6
- package/dist/solutions-components/p-09ded315.js +0 -6
- package/dist/solutions-components/p-0a877c91.entry.js +0 -11
- package/dist/solutions-components/p-0ae5f8fe.js +0 -11
- package/dist/solutions-components/p-0d654053.entry.js +0 -11
- package/dist/solutions-components/p-0dcb7d0c.js +0 -6
- package/dist/solutions-components/p-0fb2abfe.js +0 -6
- package/dist/solutions-components/p-0feb3e7f.js +0 -6
- package/dist/solutions-components/p-104fa4cf.entry.js +0 -6
- package/dist/solutions-components/p-1176ec70.entry.js +0 -6
- package/dist/solutions-components/p-11f138bf.entry.js +0 -6
- package/dist/solutions-components/p-122a81b5.js +0 -21
- package/dist/solutions-components/p-13f83a1a.entry.js +0 -6
- package/dist/solutions-components/p-1452f846.js +0 -6
- package/dist/solutions-components/p-1628325d.entry.js +0 -17
- package/dist/solutions-components/p-16ae29b6.entry.js +0 -11
- package/dist/solutions-components/p-16d69510.js +0 -16
- package/dist/solutions-components/p-1931eae1.entry.js +0 -11
- package/dist/solutions-components/p-1a634d43.js +0 -6
- package/dist/solutions-components/p-1b64ce16.js +0 -6
- package/dist/solutions-components/p-1c785e3a.js +0 -6
- package/dist/solutions-components/p-1cae39b3.js +0 -6
- package/dist/solutions-components/p-1d229886.js +0 -16
- package/dist/solutions-components/p-1ddef837.entry.js +0 -12
- package/dist/solutions-components/p-1ee635a2.entry.js +0 -6
- package/dist/solutions-components/p-210588d0.entry.js +0 -6
- package/dist/solutions-components/p-210d75fe.js +0 -18
- package/dist/solutions-components/p-2162a9d3.js +0 -11
- package/dist/solutions-components/p-22d81e03.js +0 -11
- package/dist/solutions-components/p-2327029a.js +0 -11
- package/dist/solutions-components/p-23f5aa20.entry.js +0 -6
- package/dist/solutions-components/p-24fab352.js +0 -6
- package/dist/solutions-components/p-259ce172.js +0 -6
- package/dist/solutions-components/p-262e91ea.js +0 -11
- package/dist/solutions-components/p-274c182a.entry.js +0 -6
- package/dist/solutions-components/p-2923d5ed.js +0 -489
- package/dist/solutions-components/p-29962ae5.entry.js +0 -6
- package/dist/solutions-components/p-29984000.js +0 -6
- package/dist/solutions-components/p-2b21f196.js +0 -6
- package/dist/solutions-components/p-2d01b83d.entry.js +0 -11
- package/dist/solutions-components/p-2d03b0d7.entry.js +0 -6
- package/dist/solutions-components/p-2eb8993c.entry.js +0 -11
- package/dist/solutions-components/p-2ed4f0cf.entry.js +0 -6
- package/dist/solutions-components/p-2f08fd73.js +0 -16
- package/dist/solutions-components/p-2f2118a7.entry.js +0 -11
- package/dist/solutions-components/p-3058da8b.entry.js +0 -29
- package/dist/solutions-components/p-31f602c0.js +0 -11
- package/dist/solutions-components/p-32ded6e5.entry.js +0 -6
- package/dist/solutions-components/p-33447b6f.js +0 -11
- package/dist/solutions-components/p-34a9bd5d.entry.js +0 -11
- package/dist/solutions-components/p-3581d7dc.entry.js +0 -12
- package/dist/solutions-components/p-376e8412.js +0 -11
- package/dist/solutions-components/p-386429a4.entry.js +0 -6
- package/dist/solutions-components/p-392c6cec.entry.js +0 -6
- package/dist/solutions-components/p-39ae36e9.js +0 -6
- package/dist/solutions-components/p-3b0859ac.entry.js +0 -6
- package/dist/solutions-components/p-3b4170e9.entry.js +0 -22
- package/dist/solutions-components/p-3cc9861e.entry.js +0 -17
- package/dist/solutions-components/p-3e909ad8.entry.js +0 -11
- package/dist/solutions-components/p-3fcbaab8.js +0 -11
- package/dist/solutions-components/p-407d22c9.entry.js +0 -11
- package/dist/solutions-components/p-4250bde1.js +0 -11
- package/dist/solutions-components/p-440c2d17.js +0 -11
- package/dist/solutions-components/p-44194734.js +0 -6
- package/dist/solutions-components/p-482948c4.entry.js +0 -17
- package/dist/solutions-components/p-483fbfa7.entry.js +0 -6
- package/dist/solutions-components/p-4a0838c0.entry.js +0 -6
- package/dist/solutions-components/p-4a5f0a97.entry.js +0 -17
- package/dist/solutions-components/p-4b03ad1e.js +0 -6
- package/dist/solutions-components/p-4b843bc0.entry.js +0 -6
- package/dist/solutions-components/p-4c0b8e55.entry.js +0 -6
- package/dist/solutions-components/p-4d03fed9.js +0 -61
- package/dist/solutions-components/p-4d8ac736.entry.js +0 -6
- package/dist/solutions-components/p-51cfb4a6.entry.js +0 -6
- package/dist/solutions-components/p-57262e5a.js +0 -6
- package/dist/solutions-components/p-5835b3f4.entry.js +0 -11
- package/dist/solutions-components/p-583ecbf6.js +0 -11
- package/dist/solutions-components/p-595ec807.entry.js +0 -11
- package/dist/solutions-components/p-5df3d135.js +0 -16
- package/dist/solutions-components/p-5df4b021.entry.js +0 -11
- package/dist/solutions-components/p-60a80c7f.entry.js +0 -29
- package/dist/solutions-components/p-60efb594.entry.js +0 -11
- package/dist/solutions-components/p-614edd9f.entry.js +0 -6
- package/dist/solutions-components/p-62050072.js +0 -6
- package/dist/solutions-components/p-62414b49.js +0 -6
- package/dist/solutions-components/p-626b6acd.js +0 -6
- package/dist/solutions-components/p-65283b75.entry.js +0 -6
- package/dist/solutions-components/p-65581d83.js +0 -6
- package/dist/solutions-components/p-66daf5ec.entry.js +0 -17
- package/dist/solutions-components/p-680ed47d.js +0 -6
- package/dist/solutions-components/p-681fbb6e.js +0 -6
- package/dist/solutions-components/p-687e9081.entry.js +0 -11
- package/dist/solutions-components/p-6a66d5a9.entry.js +0 -6
- package/dist/solutions-components/p-6b0ecd98.entry.js +0 -11
- package/dist/solutions-components/p-6b64edcd.js +0 -6
- package/dist/solutions-components/p-6c11b89e.js +0 -6
- package/dist/solutions-components/p-6d030079.js +0 -6
- package/dist/solutions-components/p-6d04189c.entry.js +0 -6
- package/dist/solutions-components/p-6f836c0a.entry.js +0 -6
- package/dist/solutions-components/p-70a52e62.entry.js +0 -11
- package/dist/solutions-components/p-70b4e46f.js +0 -11
- package/dist/solutions-components/p-71a2d5b8.entry.js +0 -6
- package/dist/solutions-components/p-73a1e1b9.js +0 -6
- package/dist/solutions-components/p-73ae4b9b.js +0 -11
- package/dist/solutions-components/p-756a5a7f.entry.js +0 -12
- package/dist/solutions-components/p-762eab84.js +0 -6
- package/dist/solutions-components/p-77548c28.entry.js +0 -11
- package/dist/solutions-components/p-77fa776e.entry.js +0 -11
- package/dist/solutions-components/p-78c82389.js +0 -6
- package/dist/solutions-components/p-79fd09fa.js +0 -6
- package/dist/solutions-components/p-7a2f9e5b.entry.js +0 -16
- package/dist/solutions-components/p-7a326ee8.entry.js +0 -11
- package/dist/solutions-components/p-7a64b026.entry.js +0 -17
- package/dist/solutions-components/p-7bdef5f5.entry.js +0 -11
- package/dist/solutions-components/p-7c585a72.js +0 -11
- package/dist/solutions-components/p-7e7ddb11.js +0 -6
- package/dist/solutions-components/p-7ed62b29.js +0 -6
- package/dist/solutions-components/p-8428237a.entry.js +0 -11
- package/dist/solutions-components/p-84478793.js +0 -11
- package/dist/solutions-components/p-8448b98b.js +0 -17
- package/dist/solutions-components/p-85c25564.entry.js +0 -6
- package/dist/solutions-components/p-86660809.js +0 -6
- package/dist/solutions-components/p-88b55caa.entry.js +0 -6
- package/dist/solutions-components/p-8904675a.entry.js +0 -11
- package/dist/solutions-components/p-8a9257ec.entry.js +0 -11
- package/dist/solutions-components/p-8af893c6.entry.js +0 -6
- package/dist/solutions-components/p-8b611f1f.entry.js +0 -6
- package/dist/solutions-components/p-8b922152.js +0 -6
- package/dist/solutions-components/p-8ce3d9f3.entry.js +0 -11
- package/dist/solutions-components/p-8d7479ec.entry.js +0 -6
- package/dist/solutions-components/p-8f3af937.entry.js +0 -24
- package/dist/solutions-components/p-90372205.entry.js +0 -11
- package/dist/solutions-components/p-90dd8aec.js +0 -11
- package/dist/solutions-components/p-91a87888.entry.js +0 -6
- package/dist/solutions-components/p-92744164.entry.js +0 -6
- package/dist/solutions-components/p-93a86792.entry.js +0 -11
- package/dist/solutions-components/p-93c34427.entry.js +0 -6
- package/dist/solutions-components/p-947ef2fa.entry.js +0 -6
- package/dist/solutions-components/p-94b118d5.js +0 -6
- package/dist/solutions-components/p-94f68938.js +0 -6
- package/dist/solutions-components/p-9779be82.js +0 -6
- package/dist/solutions-components/p-988fc332.entry.js +0 -11
- package/dist/solutions-components/p-998933e7.entry.js +0 -6
- package/dist/solutions-components/p-9a2ab5bc.js +0 -11
- package/dist/solutions-components/p-9a370c05.entry.js +0 -47
- package/dist/solutions-components/p-9a46618c.entry.js +0 -6
- package/dist/solutions-components/p-a2150807.entry.js +0 -6
- package/dist/solutions-components/p-a3544947.entry.js +0 -11
- package/dist/solutions-components/p-a3e66f8e.entry.js +0 -11
- package/dist/solutions-components/p-a432be00.js +0 -6
- package/dist/solutions-components/p-a72fd9b4.js +0 -6
- package/dist/solutions-components/p-a7710355.js +0 -143
- package/dist/solutions-components/p-a7b05a79.entry.js +0 -6
- package/dist/solutions-components/p-a8e556aa.js +0 -11
- package/dist/solutions-components/p-ab2c4033.entry.js +0 -6
- package/dist/solutions-components/p-add49b80.entry.js +0 -23
- package/dist/solutions-components/p-af2c8aa9.js +0 -6
- package/dist/solutions-components/p-af3a9822.js +0 -6
- package/dist/solutions-components/p-afad4f05.js +0 -6
- package/dist/solutions-components/p-b05b7f3e.entry.js +0 -11
- package/dist/solutions-components/p-b0609d19.entry.js +0 -11
- package/dist/solutions-components/p-b06ae708.js +0 -6
- package/dist/solutions-components/p-b1c71e50.js +0 -11
- package/dist/solutions-components/p-b470a429.js +0 -6
- package/dist/solutions-components/p-b4f06fe2.entry.js +0 -11
- package/dist/solutions-components/p-b981067f.entry.js +0 -6
- package/dist/solutions-components/p-bb3ce613.js +0 -11
- package/dist/solutions-components/p-beeccd19.entry.js +0 -6
- package/dist/solutions-components/p-c2bafa94.entry.js +0 -6
- package/dist/solutions-components/p-c4d3790a.entry.js +0 -6
- package/dist/solutions-components/p-c5897e36.js +0 -11
- package/dist/solutions-components/p-c5d15c91.js +0 -11
- package/dist/solutions-components/p-c5f22510.js +0 -11
- package/dist/solutions-components/p-c6f8bc28.js +0 -6
- package/dist/solutions-components/p-c742acd9.js +0 -6
- package/dist/solutions-components/p-c7c0c863.entry.js +0 -11
- package/dist/solutions-components/p-c8a8591b.entry.js +0 -11
- package/dist/solutions-components/p-c9fc3253.js +0 -6
- package/dist/solutions-components/p-ca42f3d3.js +0 -11
- package/dist/solutions-components/p-cc47ff22.entry.js +0 -11
- package/dist/solutions-components/p-ccba7d93.js +0 -6
- package/dist/solutions-components/p-cd4d69c1.js +0 -11
- package/dist/solutions-components/p-cdb01b99.entry.js +0 -11
- package/dist/solutions-components/p-cf754ff5.js +0 -11
- package/dist/solutions-components/p-cfca5772.js +0 -11
- package/dist/solutions-components/p-d0ff7db8.js +0 -6
- package/dist/solutions-components/p-d34e12f4.entry.js +0 -11
- package/dist/solutions-components/p-d4e3e979.js +0 -11
- package/dist/solutions-components/p-d655a7a2.entry.js +0 -6
- package/dist/solutions-components/p-d7ee860a.js +0 -11
- package/dist/solutions-components/p-d98d3d33.js +0 -6
- package/dist/solutions-components/p-da2d0073.entry.js +0 -6
- package/dist/solutions-components/p-da9fc69b.entry.js +0 -11
- package/dist/solutions-components/p-dcc35070.js +0 -6
- package/dist/solutions-components/p-de30afd0.entry.js +0 -6
- package/dist/solutions-components/p-e1f30753.entry.js +0 -11
- package/dist/solutions-components/p-e21efd7d.js +0 -11
- package/dist/solutions-components/p-e2f3674f.entry.js +0 -11
- package/dist/solutions-components/p-e4767cc4.entry.js +0 -11
- package/dist/solutions-components/p-e6742158.entry.js +0 -11
- package/dist/solutions-components/p-e8bd5b44.entry.js +0 -11
- package/dist/solutions-components/p-e936f80a.entry.js +0 -21
- package/dist/solutions-components/p-ec561560.js +0 -12
- package/dist/solutions-components/p-ed95c75e.js +0 -11
- package/dist/solutions-components/p-ed9b7fa1.entry.js +0 -6
- package/dist/solutions-components/p-ee056d26.js +0 -17
- package/dist/solutions-components/p-ee0a512f.entry.js +0 -6
- package/dist/solutions-components/p-eefcb751.entry.js +0 -6
- package/dist/solutions-components/p-ef493a84.entry.js +0 -6
- package/dist/solutions-components/p-f012ccbb.js +0 -11
- package/dist/solutions-components/p-f021c564.js +0 -6
- package/dist/solutions-components/p-f2ac5d0e.js +0 -6
- package/dist/solutions-components/p-f39f661e.entry.js +0 -11
- package/dist/solutions-components/p-f3e54df7.entry.js +0 -6
- package/dist/solutions-components/p-f4828ba4.entry.js +0 -6
- package/dist/solutions-components/p-f4c4a2b7.js +0 -7
- package/dist/solutions-components/p-f7d822f7.entry.js +0 -6
- package/dist/solutions-components/p-f83c0ef6.js +0 -11
- package/dist/solutions-components/p-fbeba590.entry.js +0 -11
- package/dist/solutions-components/p-fc02896c.entry.js +0 -6
- package/dist/solutions-components/p-fc474b33.js +0 -6
- package/dist/solutions-components/p-fcfbd587.js +0 -6
- package/dist/solutions-components/p-fdf4caad.js +0 -11
- package/dist/solutions-components/p-fe43ec31.entry.js +0 -16
- package/dist/solutions-components/p-fee0a94a.entry.js +0 -17
- package/dist/solutions-components/p-ffbecb75.js +0 -6
- package/dist/solutions-components_commit.txt +0 -7
- /package/dist/cjs/{esri-loader-a56cbcbe.js → esri-loader-08dc41bd.js} +0 -0
- /package/dist/cjs/{index-4c1b0d3c.js → index-04255c05.js} +0 -0
- /package/dist/{esm/index-5110a27a.js → components/index7.js} +0 -0
- /package/dist/esm/{esri-loader-781d738a.js → esri-loader-c6842c6b.js} +0 -0
- /package/dist/solutions-components/{p-6a68306c.js → p-0a24ad5f.js} +0 -0
- /package/dist/solutions-components/{p-74062e42.js → p-fc17754b.js} +0 -0
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as t,c as s,h as i,g as e}from"./p-f4c4a2b7.js";import{c as a,d as o,u as r}from"./p-ec561560.js";import{s as c,a as n,c as h}from"./p-f83c0ef6.js";import{c as l}from"./p-2327029a.js";import{l as d}from"./p-b1c71e50.js";import{I as p}from"./p-31f602c0.js";import{m,d as b,a as f,s as g,h as u,b as x,g as w,k as y,i as j,c as k,e as v,f as I,r as L,j as z,l as C,n as H,o as F,p as D,L as R}from"./p-1d229886.js";import"./p-73ae4b9b.js";import"./p-ca42f3d3.js";import"./p-90dd8aec.js";import"./p-8448b98b.js";import"./p-0ae5f8fe.js";import"./p-a8e556aa.js";import"./p-2162a9d3.js";import"./p-c8d3207e.js";d.deprecated("component",{name:"pick-list",removalVersion:3,suggested:"list"});const U=class{constructor(i){t(this,i),this.calciteListChange=s(this,"calciteListChange",6),this.calciteListFilter=s(this,"calciteListFilter",6),this.lastSelectedItem=null,this.mutationObserver=l("mutation",m.bind(this)),this.setFilterEl=t=>{this.filterEl=t},this.setFilteredItems=t=>{this.filteredItems=t},this.deselectRemovedItems=b.bind(this),this.deselectSiblingItems=f.bind(this),this.selectSiblings=g.bind(this),this.handleFilter=u.bind(this),this.handleFilterEvent=x.bind(this),this.getItemData=w.bind(this),this.keyDownHandler=y.bind(this),this.disabled=!1,this.filteredItems=[],this.filteredData=[],this.filterEnabled=!1,this.filterPlaceholder=void 0,this.filterText=void 0,this.headingLevel=void 0,this.loading=!1,this.multiple=!1,this.selectionFollowsFocus=!1,this.selectedValues=new Map,this.dataForFilter=[]}connectedCallback(){j.call(this),k.call(this),a(this)}disconnectedCallback(){v.call(this),o(this)}componentWillLoad(){c(this)}componentDidLoad(){n(this),I.call(this)}componentDidRender(){r(this)}calciteListItemRemoveHandler(t){L.call(this,t)}calciteListItemChangeHandler(t){z.call(this,t)}calciteInternalListItemPropsChangeHandler(t){t.stopPropagation(),this.setUpFilter()}calciteInternalListItemValueChangeHandler(t){C.call(this,t),t.stopPropagation()}calciteListFocusOutHandler(t){H.call(this,t)}setUpItems(){F.call(this,"calcite-pick-list-item")}setUpFilter(){this.filterEnabled&&(this.dataForFilter=this.getItemData())}async getSelectedItems(){return this.selectedValues}async setFocus(t){return await h(this),D.call(this,t)}getIconType(){return this.multiple?p.square:p.circle}render(){return i(R,{key:"870f354277bb55abb2c867ae250d85a8569505ec",onKeyDown:this.keyDownHandler,props:this})}get el(){return e(this)}};U.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;box-sizing:border-box;display:flex;flex-shrink:0;flex-grow:1;flex-direction:column;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-color-text-2)}:host *{box-sizing:border-box}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([filter-enabled]) header{margin-block-end:0.25rem;display:flex;align-items:stretch;justify-content:flex-end;background-color:var(--calcite-color-foreground-1);--tw-shadow:0 1px 0 var(--calcite-color-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([filter-enabled]) header.sticky-pos{position:sticky;inset-block-start:0px;z-index:var(--calcite-z-index)}calcite-filter{margin-block-end:0px}:host([loading][disabled]){min-block-size:2rem}:host([hidden]){display:none}[hidden]{display:none}";export{U as calcite_pick_list}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as t,c as s,h as i,g as e}from"./p-f4c4a2b7.js";import{C as a,n,h as o,a as l,o as h,b as r,c,D as d,d as p,e as u,g as f,p as b,f as m,i as g,R as v,H as w,O as x,t as C,j as y,k,S as A,l as S,m as D}from"./p-c5d15c91.js";import{i as j,a as $,f as z}from"./p-8448b98b.js";import{c as F,d as O,u as I,I as L}from"./p-ec561560.js";import{i as N}from"./p-4250bde1.js";import{c as M,s as P,a as K}from"./p-f83c0ef6.js";import{c as U,d as E}from"./p-16d69510.js";import{r as H,c as R,a as T}from"./p-33447b6f.js";import{u as X,s as q,c as B,d as V}from"./p-d4e3e979.js";import{t as J}from"./p-29edb87c.js";import"./p-0ae5f8fe.js";import"./p-a8e556aa.js";import"./p-73ae4b9b.js";import"./p-2327029a.js";import"./p-c8d3207e.js";const W=class{constructor(e){t(this,e),this.calciteColorPickerChange=s(this,"calciteColorPickerChange",6),this.calciteColorPickerInput=s(this,"calciteColorPickerInput",6),this.internalColorUpdateContext=null,this.isActiveChannelInputEmpty=!1,this.mode=a.HEX,this.shiftKeyChannelAdjustment=0,this.upOrDownArrowKeyTracker=null,this.handleTabActivate=t=>{this.channelMode=t.currentTarget.getAttribute("data-color-mode"),this.updateChannelsFromColor(this.color)},this.handleColorFieldScopeKeyDown=t=>{const{key:s}=t,i={ArrowUp:{x:0,y:-10},ArrowRight:{x:10,y:0},ArrowDown:{x:0,y:10},ArrowLeft:{x:-10,y:0}};i[s]&&(t.preventDefault(),this.scopeOrientation="ArrowDown"===s||"ArrowUp"===s?"vertical":"horizontal",this.captureColorFieldColor(this.colorFieldScopeLeft+i[s].x||0,this.colorFieldScopeTop+i[s].y||0,!1))},this.handleHueScopeKeyDown=t=>{const s=t.shiftKey?10:1,{key:i}=t,e={ArrowUp:1,ArrowRight:1,ArrowDown:-1,ArrowLeft:-1};if(e[i]){t.preventDefault();const a=e[i]*s,n=this.baseColorFieldColor.hue(),o=this.baseColorFieldColor.hue(n+a);this.internalColorSet(o,!1)}},this.handleHexInputChange=t=>{t.stopPropagation();const{isClearable:s,color:i}=this,e=t.target.value;!s||e?e!==(i&&n(o(i,u(this.mode))))&&this.internalColorSet(l(e)):this.internalColorSet(null)},this.handleSavedColorSelect=t=>{this.internalColorSet(l(t.currentTarget.color))},this.handleChannelInput=t=>{const s=t.currentTarget,i=Number(s.getAttribute("data-channel-index")),e=3===i?x.max:"rgb"===this.channelMode?v[Object.keys(v)[i]]:w[Object.keys(w)[i]];let a;if(s.value){const t=Number(s.value);a=R(t+this.shiftKeyChannelAdjustment,0,e).toString()}else a="",this.isActiveChannelInputEmpty=!0,this.upOrDownArrowKeyTracker=null;s.value=a,(""!==a&&0!==this.shiftKeyChannelAdjustment||""!==a)&&this.handleChannelChange(t)},this.handleChannelBlur=t=>{const s=t.currentTarget,i=Number(s.getAttribute("data-channel-index")),e=[...this.channels];!s.value&&!this.isClearable&&(s.value=e[i]?.toString())},this.handleChannelFocus=t=>{t.currentTarget.selectText()},this.handleChannelChange=t=>{const s=t.currentTarget,i=Number(s.getAttribute("data-channel-index")),e=[...this.channels];if(this.isClearable&&!s.value)return this.channels=[null,null,null,null],void this.internalColorSet(null);const a=3===i;this.isActiveChannelInputEmpty&&this.upOrDownArrowKeyTracker&&(s.value="up"===this.upOrDownArrowKeyTracker?(e[i]+1<=this.getChannelInputLimit(i)?e[i]+1:this.getChannelInputLimit(i)).toString():(e[i]-1>=0?e[i]-1:0).toString(),this.isActiveChannelInputEmpty=!1,this.upOrDownArrowKeyTracker=null);const n=s.value?Number(s.value):e[i];e[i]=a?h(n):n,this.updateColorFromChannels(e)},this.handleSavedColorKeyDown=t=>{N(t.key)&&(t.preventDefault(),this.handleSavedColorSelect(t))},this.handleColorFieldPointerDown=t=>{if(!j(t))return;const{offsetX:s,offsetY:i}=t;window.addEventListener("pointermove",this.globalPointerMoveHandler),window.addEventListener("pointerup",this.globalPointerUpHandler,{once:!0}),this.activeCanvasInfo={context:this.colorFieldRenderingContext,bounds:this.colorFieldRenderingContext.canvas.getBoundingClientRect()},this.captureColorFieldColor(s,i),this.focusScope(this.colorFieldScopeNode)},this.handleHueSliderPointerDown=t=>{if(!j(t))return;const{offsetX:s}=t;window.addEventListener("pointermove",this.globalPointerMoveHandler),window.addEventListener("pointerup",this.globalPointerUpHandler,{once:!0}),this.activeCanvasInfo={context:this.hueSliderRenderingContext,bounds:this.hueSliderRenderingContext.canvas.getBoundingClientRect()},this.captureHueSliderColor(s),this.focusScope(this.hueScopeNode)},this.handleOpacitySliderPointerDown=t=>{if(!j(t))return;const{offsetX:s}=t;window.addEventListener("pointermove",this.globalPointerMoveHandler),window.addEventListener("pointerup",this.globalPointerUpHandler,{once:!0}),this.activeCanvasInfo={context:this.opacitySliderRenderingContext,bounds:this.opacitySliderRenderingContext.canvas.getBoundingClientRect()},this.captureOpacitySliderValue(s),this.focusScope(this.opacityScopeNode)},this.globalPointerUpHandler=t=>{if(!j(t))return;const s=this.activeCanvasInfo;this.activeCanvasInfo=null,this.drawColorControls(),s&&this.calciteColorPickerChange.emit()},this.globalPointerMoveHandler=t=>{const{activeCanvasInfo:s,el:i}=this;if(!i.isConnected||!s)return;const{context:e,bounds:a}=s;let n,o;const{clientX:l,clientY:h}=t;e.canvas.matches(":hover")?(n=l-a.x,o=h-a.y):(n=l<a.x+a.width&&l>a.x?l-a.x:l<a.x?0:a.width,o=h<a.y+a.height&&h>a.y?h-a.y:h<a.y?0:a.height),e===this.colorFieldRenderingContext?this.captureColorFieldColor(n,o,!1):e===this.hueSliderRenderingContext?this.captureHueSliderColor(n):e===this.opacitySliderRenderingContext&&this.captureOpacitySliderValue(n)},this.storeColorFieldScope=t=>{this.colorFieldScopeNode=t},this.storeHueScope=t=>{this.hueScopeNode=t},this.renderChannelsTabTitle=t=>{const{channelMode:s,messages:e}=this;return i("calcite-tab-title",{class:r.colorMode,"data-color-mode":t,key:t,onCalciteTabsActivate:this.handleTabActivate,selected:t===s},"rgb"===t?e.rgb:e.hsv)},this.renderChannelsTab=t=>{const{isClearable:s,channelMode:e,channels:a,messages:n,alphaChannel:o}=this,l=t===e,h="rgb"===t?[n.red,n.green,n.blue]:[n.hue,n.saturation,n.value],d=$(this.el),p=o?a:a.slice(0,3);return i("calcite-tab",{class:r.control,key:t,selected:l},i("div",{class:r.channels,dir:"ltr"},p.map(((t,i)=>{const e=3===i;return e&&(t=s&&!t?t:c(t)),this.renderChannel(t,i,h[i],d,e?"%":"")}))))},this.renderChannel=(t,s,e,a,n)=>i("calcite-input-number",{class:r.channel,"data-channel-index":s,dir:a,key:s,label:e,lang:this.effectiveLocale,numberButtonType:"none",numberingSystem:this.numberingSystem,onCalciteInputNumberChange:this.handleChannelChange,onCalciteInputNumberInput:this.handleChannelInput,onCalciteInternalInputNumberBlur:this.handleChannelBlur,onCalciteInternalInputNumberFocus:this.handleChannelFocus,onKeyDown:this.handleKeyDown,scale:"l"===this.scale?"m":"s",style:{marginLeft:s>0&&("s"!==this.scale||!this.alphaChannel||3!==s)?"-1px":""},suffixText:n,value:t?.toString()}),this.deleteColor=()=>{const t=o(this.color,this.alphaChannel);if(!(this.savedColors.indexOf(t)>-1))return;const s=this.savedColors.filter((s=>s!==t));this.savedColors=s,this.storageId&&localStorage.setItem(`${S}${this.storageId}`,JSON.stringify(s))},this.saveColor=()=>{const t=o(this.color,this.alphaChannel);if(this.savedColors.indexOf(t)>-1)return;const s=[...this.savedColors,t];this.savedColors=s,this.storageId&&localStorage.setItem(`${S}${this.storageId}`,JSON.stringify(s))},this.drawColorControls=J(((t="all")=>{"all"!==t&&"color-field"!==t||!this.colorFieldRenderingContext||this.drawColorField(),"all"!==t&&"hue-slider"!==t||!this.hueSliderRenderingContext||this.drawHueSlider(),this.alphaChannel&&("all"===t||"opacity-slider"===t)&&this.opacitySliderRenderingContext&&this.drawOpacitySlider()}),16),this.captureColorFieldColor=(t,s,i=!0)=>{const{dimensions:{colorField:{height:e,width:a}}}=this,n=Math.round(w.s/a*t),o=Math.round(w.v/e*(e-s));this.internalColorSet(this.baseColorFieldColor.hsv().saturationv(n).value(o),i)},this.initColorField=t=>{this.colorFieldRenderingContext=t.getContext("2d"),this.updateCanvasSize("color-field"),this.drawColorControls()},this.initHueSlider=t=>{this.hueSliderRenderingContext=t.getContext("2d"),this.updateCanvasSize("hue-slider"),this.drawHueSlider()},this.initOpacitySlider=t=>{t&&(this.opacitySliderRenderingContext=t.getContext("2d"),this.updateCanvasSize("opacity-slider"),this.drawOpacitySlider())},this.storeOpacityScope=t=>{this.opacityScopeNode=t},this.handleOpacityScopeKeyDown=t=>{const s=t.shiftKey?10:1,{key:i}=t,e={ArrowUp:.01,ArrowRight:.01,ArrowDown:-.01,ArrowLeft:-.01};if(e[i]){t.preventDefault();const a=e[i]*s,n=this.baseColorFieldColor.alpha(),o=this.baseColorFieldColor.alpha(n+a);this.internalColorSet(o,!1)}},this.allowEmpty=!1,this.alphaChannel=!1,this.channelsDisabled=!1,this.clearable=!1,this.color=d,this.disabled=!1,this.format="auto",this.hideChannels=!1,this.hexDisabled=!1,this.hideHex=!1,this.hideSaved=!1,this.savedDisabled=!1,this.scale="m",this.storageId=void 0,this.messageOverrides=void 0,this.numberingSystem=void 0,this.value=n(o(d,this.alphaChannel)),this.channelMode="rgb",this.channels=this.toChannels(d),this.defaultMessages=void 0,this.dimensions=p.m,this.effectiveLocale="",this.messages=void 0,this.savedColors=[],this.colorFieldScopeTop=void 0,this.colorFieldScopeLeft=void 0,this.hueScopeLeft=void 0,this.opacityScopeLeft=void 0,this.scopeOrientation=void 0}handleAllowEmptyOrClearableChange(){this.isClearable=this.clearable||this.allowEmpty}handleAlphaChannelChange(t){const{format:s}=this;t&&"auto"!==s&&!u(s)&&(console.warn(`ignoring alphaChannel as the current format (${s}) does not support alpha`),this.alphaChannel=!1)}handleAlphaChannelDimensionsChange(){this.effectiveSliderWidth=f(this.dimensions,this.alphaChannel),this.drawColorControls()}handleColorChange(t,s){this.drawColorControls(),this.updateChannelsFromColor(t),this.previousColor=s}handleFormatOrAlphaChannelChange(){this.setMode(this.format),this.internalColorSet(this.color,!1,"internal")}handleScaleChange(t="m"){this.updateDimensions(t),this.updateCanvasSize("all"),this.drawColorControls()}onMessagesChange(){}handleValueChange(t,s){const{isClearable:i,format:e}=this;let a=!1;if(!i||t){const i=b(t);if(!i||"auto"!==e&&i!==e)return this.showIncompatibleColorWarning(t,e),void(this.value=s);a=this.mode!==i,this.setMode(i,null===this.internalColorUpdateContext)}const n=this.activeCanvasInfo;if("initial"===this.internalColorUpdateContext)return;if("user-interaction"===this.internalColorUpdateContext)return this.calciteColorPickerInput.emit(),void(n||this.calciteColorPickerChange.emit());const o=i&&!t?null:l(null!=t&&"object"==typeof t&&u(this.mode)?m(t):t),h=!g(o,this.color);(a||h)&&this.internalColorSet(o,this.alphaChannel&&!(this.mode.endsWith("a")||this.mode.endsWith("a-css")),"internal")}get baseColorFieldColor(){return this.color||this.previousColor||d}effectiveLocaleChange(){X(this,this.effectiveLocale)}handleChannelKeyUpOrDown(t){this.shiftKeyChannelAdjustment=0;const{key:s}=t;if("ArrowUp"!==s&&"ArrowDown"!==s||!t.composedPath().some((t=>t.classList?.contains(r.channel))))return;const{shiftKey:i}=t;if(t.preventDefault(),!this.color)return this.internalColorSet(this.previousColor),void t.stopPropagation();this.shiftKeyChannelAdjustment="ArrowUp"===s&&i?9:"ArrowDown"===s&&i?-9:0,"ArrowUp"===s&&(this.upOrDownArrowKeyTracker="up"),"ArrowDown"===s&&(this.upOrDownArrowKeyTracker="down")}getChannelInputLimit(t){return"rgb"===this.channelMode?v[Object.keys(v)[t]]:w[Object.keys(w)[t]]}focusScope(t){requestAnimationFrame((()=>{t.focus()}))}async setFocus(){await M(this),z(this.el)}async componentWillLoad(){P(this),this.handleAllowEmptyOrClearableChange(),this.handleAlphaChannelDimensionsChange();const{isClearable:t,color:s,format:i,value:e}=this,a=t&&!e,n=b(e),o=a||"auto"===i&&n||i===n,h=a?null:o?l(e):s;o||this.showIncompatibleColorWarning(e,i),this.setMode(i,!1),this.internalColorSet(h,!1,"initial"),this.updateDimensions(this.scale);const r=`${S}${this.storageId}`;this.storageId&&localStorage.getItem(r)&&(this.savedColors=JSON.parse(localStorage.getItem(r))),await q(this)}connectedCallback(){F(this),U(this),B(this)}componentDidLoad(){K(this)}disconnectedCallback(){window.removeEventListener("pointermove",this.globalPointerMoveHandler),window.removeEventListener("pointerup",this.globalPointerUpHandler),O(this),E(this),V(this)}componentDidRender(){I(this)}render(){const{channelsDisabled:t,color:s,colorFieldScopeLeft:e,colorFieldScopeTop:a,dimensions:{thumb:{radius:n}},hexDisabled:l,hideChannels:h,hideHex:p,hideSaved:u,hueScopeLeft:f,messages:b,alphaChannel:m,opacityScopeLeft:g,savedColors:v,savedDisabled:C,scale:y,scopeOrientation:k}=this,A=this.effectiveSliderWidth,S=s?o(s,m):null,D=n,j=f??A*d.hue()/w.h,$=n,z=g??A*c(d.alpha())/x.max,F=null===s,O="vertical"===k,I=l||p,N=t||h,M=C||u,[P,K]=this.getAdjustedScopePosition(e,a),[U,E]=this.getAdjustedScopePosition(j,D),[H,R]=this.getAdjustedScopePosition(z,$);return i(L,{key:"3fdda1fd2366d3ffb3405dfa28a8424d78586a61",disabled:this.disabled},i("div",{key:"b3e95f63a7b4a9f49587fa458bf663cf82ff6961",class:r.container},i("div",{key:"5770ab5094e87956f0f8a49e16f1a9418cc6e7ff",class:r.controlAndScope},i("canvas",{key:"3773e30ddb17777a93b6091e4accc71e890f8cbb",class:r.colorField,onPointerDown:this.handleColorFieldPointerDown,ref:this.initColorField}),i("div",{key:"66dfba03f7a7e35f50c1fc0f23ccb0c0cf91c247","aria-label":O?b.value:b.saturation,"aria-valuemax":O?w.v:w.s,"aria-valuemin":"0","aria-valuenow":(O?s?.saturationv():s?.value())||"0",class:{[r.scope]:!0,[r.colorFieldScope]:!0},onKeyDown:this.handleColorFieldScopeKeyDown,ref:this.storeColorFieldScope,role:"slider",style:{top:`${K||0}px`,left:`${P||0}px`},tabindex:"0"})),i("div",{key:"61100b2e5e07a647b75641afe11e7dcfb6df3dd1",class:r.previewAndSliders},i("calcite-color-picker-swatch",{key:"3fd47b8fb737f322646f136a22ec5281c12dcdcb",class:r.preview,color:S,scale:this.alphaChannel?"l":this.scale}),i("div",{key:"df7ed65ad05057a4a8c81239f1dc2f3341ea18fb",class:r.sliders},i("div",{key:"5bc288a2e4da751f6e4a1b3a1b0b1294c6421306",class:r.controlAndScope},i("canvas",{key:"b350822aefb25ca6521d21a376c59885666798c5",class:{[r.slider]:!0,[r.hueSlider]:!0},onPointerDown:this.handleHueSliderPointerDown,ref:this.initHueSlider}),i("div",{key:"5ba9570cb05da8620030918757acd21b57c844eb","aria-label":b.hue,"aria-valuemax":w.h,"aria-valuemin":"0","aria-valuenow":s?.round().hue()||d.round().hue(),class:{[r.scope]:!0,[r.hueScope]:!0},onKeyDown:this.handleHueScopeKeyDown,ref:this.storeHueScope,role:"slider",style:{top:`${E}px`,left:`${U}px`},tabindex:"0"})),m?i("div",{class:r.controlAndScope},i("canvas",{class:{[r.slider]:!0,[r.opacitySlider]:!0},onPointerDown:this.handleOpacitySliderPointerDown,ref:this.initOpacitySlider}),i("div",{"aria-label":b.opacity,"aria-valuemax":x.max,"aria-valuemin":x.min,"aria-valuenow":(s||d).round().alpha(),class:{[r.scope]:!0,[r.opacityScope]:!0},onKeyDown:this.handleOpacityScopeKeyDown,ref:this.storeOpacityScope,role:"slider",style:{top:`${R}px`,left:`${H}px`},tabindex:"0"})):null)),I&&N?null:i("div",{class:{[r.controlSection]:!0,[r.section]:!0}},i("div",{class:r.hexAndChannelsGroup},I?null:i("div",{class:r.hexOptions},i("calcite-color-picker-hex-input",{allowEmpty:this.isClearable,alphaChannel:m,class:r.control,messages:b,numberingSystem:this.numberingSystem,onCalciteColorPickerHexInputChange:this.handleHexInputChange,scale:y,value:S})),N?null:i("calcite-tabs",{class:{[r.colorModeContainer]:!0,[r.splitSection]:!0},scale:"l"===y?"m":"s"},i("calcite-tab-nav",{slot:"title-group"},this.renderChannelsTabTitle("rgb"),this.renderChannelsTabTitle("hsv")),this.renderChannelsTab("rgb"),this.renderChannelsTab("hsv")))),M?null:i("div",{class:{[r.savedColorsSection]:!0,[r.section]:!0}},i("div",{class:r.header},i("label",null,b.saved),i("div",{class:r.savedColorsButtons},i("calcite-button",{appearance:"transparent",class:r.deleteColor,disabled:F,iconStart:"minus",kind:"neutral",label:b.deleteColor,onClick:this.deleteColor,scale:y,type:"button"}),i("calcite-button",{appearance:"transparent",class:r.saveColor,disabled:F,iconStart:"plus",kind:"neutral",label:b.saveColor,onClick:this.saveColor,scale:y,type:"button"}))),v.length>0?i("div",{class:r.savedColors},[...v.map((t=>i("calcite-color-picker-swatch",{class:r.savedColor,color:t,key:t,onClick:this.handleSavedColorSelect,onKeyDown:this.handleSavedColorKeyDown,scale:y,tabIndex:0})))]):null)))}handleKeyDown(t){"Enter"===t.key&&t.preventDefault()}showIncompatibleColorWarning(t,s){console.warn(`ignoring color value (${t}) as it is not compatible with the current format (${s})`)}setMode(t,s=!0){this.mode=this.ensureCompatibleMode("auto"===t?this.mode:t,s)}ensureCompatibleMode(t,s){const{alphaChannel:i}=this,e=u(t);if(i&&!e){const i=D(t);return s&&console.warn(`setting format to (${i}) as the provided one (${t}) does not support alpha`),i}if(!i&&e){const i=C(t);return s&&console.warn(`setting format to (${i}) as the provided one (${t}) does not support alpha`),i}return t}captureHueSliderColor(t){this.internalColorSet(this.baseColorFieldColor.hue(k/this.effectiveSliderWidth*t),!1)}captureOpacitySliderValue(t){const s=h(x.max/this.effectiveSliderWidth*t);this.internalColorSet(this.baseColorFieldColor.alpha(s),!1)}internalColorSet(t,s=!0,i="user-interaction"){s&&g(t,this.color)||(this.internalColorUpdateContext=i,this.color=t,this.value=this.toValue(t),this.internalColorUpdateContext=null)}toValue(t,s=this.mode){if(!t)return null;if(s.includes("hex")){const i=s===a.HEXA;return n(o(t.round(),i),i)}if(s.includes("-css")){const i=t[s.replace("-css","").replace("a","")]().round().string();return(s.endsWith("a")||s.endsWith("a-css"))&&1===t.alpha()?`${i.slice(0,3)}a(${i.slice(4,-1)}, ${t.alpha()})`:i}const i=t[C(s)]().round().object();return s.endsWith("a")?y(i):i}getSliderCapSpacing(){const{dimensions:{slider:{height:t},thumb:{radius:s}}}=this;return 2*s-t}updateDimensions(t="m"){this.dimensions=p[t]}drawColorField(){const t=this.colorFieldRenderingContext,{dimensions:{colorField:{height:s,width:i}}}=this;t.fillStyle=this.baseColorFieldColor.hsv().saturationv(100).value(100).alpha(1).string(),t.fillRect(0,0,i,s);const e=t.createLinearGradient(0,0,i,0);e.addColorStop(0,"rgba(255,255,255,1)"),e.addColorStop(1,"rgba(255,255,255,0)"),t.fillStyle=e,t.fillRect(0,0,i,s);const a=t.createLinearGradient(0,0,0,s);a.addColorStop(0,"rgba(0,0,0,0)"),a.addColorStop(1,"rgba(0,0,0,1)"),t.fillStyle=a,t.fillRect(0,0,i,s),this.drawActiveColorFieldColor()}setCanvasContextSize(t,{height:s,width:i}){if(!t)return;const e=window.devicePixelRatio||1;t.width=i*e,t.height=s*e,t.style.height=`${s}px`,t.style.width=`${i}px`,t.getContext("2d").scale(e,e)}updateCanvasSize(t="all"){const{dimensions:s}=this;"all"!==t&&"color-field"!==t||this.setCanvasContextSize(this.colorFieldRenderingContext?.canvas,s.colorField);const i={width:this.effectiveSliderWidth,height:s.slider.height+2*(s.thumb.radius-s.slider.height/2)};"all"!==t&&"hue-slider"!==t||this.setCanvasContextSize(this.hueSliderRenderingContext?.canvas,i),"all"!==t&&"opacity-slider"!==t||this.setCanvasContextSize(this.opacitySliderRenderingContext?.canvas,i)}drawActiveColorFieldColor(){const{color:t}=this;if(!t)return;const s=t.hsv(),{dimensions:{colorField:{height:i,width:e},thumb:{radius:a}}}=this,n=s.saturationv()/(w.s/e),o=i-s.value()/(w.v/i);requestAnimationFrame((()=>{this.colorFieldScopeLeft=n,this.colorFieldScopeTop=o})),this.drawThumb(this.colorFieldRenderingContext,a,n,o,s,!1)}drawThumb(t,s,i,e,a,n){const o=2*Math.PI;if(t.beginPath(),t.arc(i,e,s,0,o),t.fillStyle="#fff",t.fill(),t.strokeStyle="rgba(0,0,0,0.3)",t.lineWidth=1,t.stroke(),n&&a.alpha()<1){const a=t.createPattern(this.getCheckeredBackgroundPattern(),"repeat");t.beginPath(),t.arc(i,e,s-3,0,o),t.fillStyle=a,t.fill()}t.globalCompositeOperation="source-atop",t.beginPath(),t.arc(i,e,s-3,0,o);const l=n?a.alpha():1;t.fillStyle=a.rgb().alpha(l).string(),t.fill(),t.globalCompositeOperation="source-over"}drawActiveHueSliderColor(){const{color:t}=this;if(!t)return;const s=t.hsv().saturationv(100).value(100),{dimensions:{thumb:{radius:i}}}=this,e=this.effectiveSliderWidth,a=s.hue()/(k/e),n=i,o=this.getSliderBoundX(a,e,i);requestAnimationFrame((()=>{this.hueScopeLeft=o})),this.drawThumb(this.hueSliderRenderingContext,i,o,n,s,!1)}drawHueSlider(){const t=this.hueSliderRenderingContext,{dimensions:{slider:{height:s},thumb:{radius:i}}}=this,e=i-s/2,a=this.effectiveSliderWidth,n=t.createLinearGradient(0,0,a,0),o=["red","yellow","lime","cyan","blue","magenta","#ff0004"],h=1/(o.length-1);let r=0;o.forEach((t=>{n.addColorStop(r,l(t).string()),r+=h})),t.clearRect(0,0,a,s+2*this.getSliderCapSpacing()),this.drawSliderPath(t,s,a,0,e),t.fillStyle=n,t.fill(),t.strokeStyle="rgba(0,0,0,0.3)",t.lineWidth=1,t.stroke(),this.drawActiveHueSliderColor()}drawOpacitySlider(){const t=this.opacitySliderRenderingContext,{baseColorFieldColor:s,dimensions:{slider:{height:i},thumb:{radius:e}}}=this,a=e-i/2,n=this.effectiveSliderWidth;t.clearRect(0,0,n,i+2*this.getSliderCapSpacing());const o=t.createLinearGradient(0,a,n,0),l=s.rgb().alpha(0),h=s.rgb().alpha(.5),r=s.rgb().alpha(1);o.addColorStop(0,l.string()),o.addColorStop(.5,h.string()),o.addColorStop(1,r.string()),this.drawSliderPath(t,i,n,0,a);const c=t.createPattern(this.getCheckeredBackgroundPattern(),"repeat");t.fillStyle=c,t.fill(),t.fillStyle=o,t.fill(),t.strokeStyle="rgba(0,0,0,0.3)",t.lineWidth=1,t.stroke(),this.drawActiveOpacitySliderColor()}drawSliderPath(t,s,i,e,a){const n=s/2+1;t.beginPath(),t.moveTo(e+n,a),t.lineTo(e+i-n,a),t.quadraticCurveTo(e+i,a,e+i,a+n),t.lineTo(e+i,a+s-n),t.quadraticCurveTo(e+i,a+s,e+i-n,a+s),t.lineTo(e+n,a+s),t.quadraticCurveTo(e,a+s,e,a+s-n),t.lineTo(e,a+n),t.quadraticCurveTo(e,a,e+n,a),t.closePath()}getCheckeredBackgroundPattern(){if(this.checkerPattern)return this.checkerPattern;const t=document.createElement("canvas");t.width=10,t.height=10;const s=t.getContext("2d");return s.fillStyle="#ccc",s.fillRect(0,0,10,10),s.fillStyle="#fff",s.fillRect(0,0,5,5),s.fillRect(5,5,5,5),this.checkerPattern=t,t}drawActiveOpacitySliderColor(){const{color:t}=this;if(!t)return;const s=t,{dimensions:{thumb:{radius:i}}}=this,e=this.effectiveSliderWidth,a=c(s.alpha())/(x.max/e),n=i,o=this.getSliderBoundX(a,e,i);requestAnimationFrame((()=>{this.opacityScopeLeft=o})),this.drawThumb(this.opacitySliderRenderingContext,i,o,n,s,!0)}getSliderBoundX(t,s,i){const e=T(t,s,i);return 0===e?t:-1===e?H(t,0,s,i,2*i):H(t,0,s,s-2*i,s-i)}updateColorFromChannels(t){this.internalColorSet(l(t,this.channelMode))}updateChannelsFromColor(t){this.channels=t?this.toChannels(t):[null,null,null,null]}toChannels(t){const{channelMode:s}=this,i=t[s]().array().map(((t,s)=>3===s?t:Math.floor(t)));return 3===i.length&&i.push(1),i}getAdjustedScopePosition(t,s){return[t-A/2,s-A/2]}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{allowEmpty:["handleAllowEmptyOrClearableChange"],clearable:["handleAllowEmptyOrClearableChange"],alphaChannel:["handleAlphaChannelChange","handleAlphaChannelDimensionsChange","handleFormatOrAlphaChannelChange"],dimensions:["handleAlphaChannelDimensionsChange"],color:["handleColorChange"],format:["handleFormatOrAlphaChannelChange"],scale:["handleScaleChange"],messageOverrides:["onMessagesChange"],value:["handleValueChange"],effectiveLocale:["effectiveLocaleChange"]}}};W.style=':host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-block;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]){--calcite-color-picker-spacing:8px}:host([scale=s]) .container{inline-size:160px}:host([scale=s]) .saved-colors{gap:0.25rem;grid-template-columns:repeat(auto-fill, 20px)}:host([scale=m]){--calcite-color-picker-spacing:12px}:host([scale=m]) .container{inline-size:272px}:host([scale=l]){--calcite-color-picker-spacing:16px;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]) .container{inline-size:464px}:host([scale=l]) .section:first-of-type{padding-block-start:var(--calcite-color-picker-spacing)}:host([scale=l]) .saved-colors{grid-template-columns:repeat(auto-fill, 32px)}:host([scale=l]) .control-section{flex-wrap:nowrap;align-items:baseline;flex-wrap:wrap}:host([scale=l]) .color-hex-options{display:flex;flex-shrink:1;flex-direction:column;justify-content:space-around}:host([scale=l]) .color-mode-container{flex-shrink:3}.container{background-color:var(--calcite-color-foreground-1);display:inline-block;border:1px solid var(--calcite-color-border-1)}.control-and-scope{position:relative;display:flex;cursor:pointer;touch-action:none}.scope{pointer-events:none;position:absolute;z-index:var(--calcite-z-index);block-size:1px;inline-size:1px;border-radius:9999px;background-color:transparent;font-size:var(--calcite-font-size--1);outline-color:transparent}.scope:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n );outline-offset:6px}.hex-and-channels-group{inline-size:100%}.hex-and-channels-group,.control-section{display:flex;flex-direction:row;flex-wrap:wrap}.section{padding-block:0 var(--calcite-color-picker-spacing);padding-inline:var(--calcite-color-picker-spacing)}.section:first-of-type{padding-block-start:var(--calcite-color-picker-spacing)}.sliders{display:flex;flex-direction:column;justify-content:space-between;margin-inline-start:var(--calcite-color-picker-spacing);gap:var(--calcite-spacing-xxs)}.preview-and-sliders{display:flex;align-items:center;padding:var(--calcite-color-picker-spacing)}.color-hex-options,.section--split{flex-grow:1}.header{display:flex;align-items:center;justify-content:space-between;color:var(--calcite-color-text-1)}.color-mode-container{padding-block-start:var(--calcite-color-picker-spacing)}.channels{display:flex;row-gap:0.125rem}.channel[data-channel-index="3"]{inline-size:159px}:host([scale=s]) .channels{flex-wrap:wrap}:host([scale=s]) .channel{flex-basis:30%;flex-grow:1}:host([scale=s]) .channel[data-channel-index="3"]{inline-size:unset;margin-inline-start:unset}:host([scale=l]) .channel[data-channel-index="3"]{inline-size:131px}.saved-colors{display:grid;gap:0.5rem;padding-block-start:var(--calcite-color-picker-spacing);grid-template-columns:repeat(auto-fill, 24px)}.saved-colors-buttons{display:flex}.saved-color{outline-offset:0;outline-color:transparent;cursor:pointer}.saved-color:focus{outline:2px solid var(--calcite-color-brand);outline-offset:2px}.saved-color:hover{transition:outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;outline:2px solid var(--calcite-color-border-2);outline-offset:2px}:host([hidden]){display:none}[hidden]{display:none}';export{W as calcite_color_picker}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as t,c as i,g as e,h as s,H as a,F as h}from"./p-f4c4a2b7.js";import{l,g as o}from"./p-09b47605.js";import{g as c,a as n,b as r,c as d,h as u,d as p,q as f}from"./p-eb483242.js";import"./p-6a68306c.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";const m=class{constructor(e){t(this,e),this.togglePanel=i(this,"togglePanel",7),this.center=void 0,this.defaultWebmap="",this.description=void 0,this.enableAnonymousAccess=void 0,this.enableAnonymousComments=void 0,this.enableComments=void 0,this.enableHome=!0,this.enableLogin=void 0,this.enableNewReports=void 0,this.enableSearch=!0,this.enableZoom=!0,this.isMobile=void 0,this.layerExpressions=[],this.layerId=void 0,this.level=void 0,this.loginTitle=void 0,this.mapInfos=[],this.mapView=void 0,this.objectId=void 0,this.reportButtonText=void 0,this.reportingOptions=void 0,this.reportsHeader=void 0,this.reportSubmittedMessage=void 0,this.searchConfiguration=void 0,this.showComments=void 0,this.theme="light",this.zoomToScale=void 0,this._featureCreationFailedErrorMsg=void 0,this._filterActive=!1,this._filterOpen=!1,this._flowItems=[],this._hasValidLayers=!1,this._loadingFeatureDetails=void 0,this._mapInfo=void 0,this._reportSubmitted=!1,this._selectedLayerName=void 0,this._showSubmitCancelButton=!1,this._showLoadingIndicator=!1,this._sidePanelCollapsed=!1,this._translations=void 0,this._updatedProgressBarStatus=.25,this._updatedSorting=void 0,this._updatedSortOption="sortNewest",this._commentSubmitted=!1,this._addingCommentFailed=!1}get el(){return e(this)}_createFeature;_currentFeatureId;_defaultCenter;_defaultLevel;_editableLayerIds;_featureDetails;_featureList;_currentFeature;_selectedRelatedFeature;_relatedTable;_filterList;_highlightHandle;_layerList;_createRelatedFeature;_layers;_mapChange;_mapClickHandle;reactiveUtils;_selectedFeature;_selectedFeatureIndex;_selectedLayerId;_shareNode;_urlParamsLoaded;_validLayers;_selectedLayer;_layerItemsHash;isFormOpen;async isMobileWatchHandler(){this._sidePanelCollapsed=!1}async mapViewWatchHandler(){await this.mapView.when((async()=>{await this.setMapView()}))}togglePanel;async componentWillLoad(){this._urlParamsLoaded=!1,await this._initModules(),await this._getTranslations(),await(this.mapView?.when((async()=>{this._layers=this.reportingOptions?Object.keys(this.reportingOptions).filter((t=>this.reportingOptions[t].visible)):[],await this.setMapView()})))}render(){const t="dark"===this.theme?"calcite-mode-dark":"calcite-mode-light";return s(a,{key:"e512e2693a586f8a6da7bcfa171feb60da26aee3"},this._reportSubmitted&&s("calcite-alert",{key:"e5805ba948f1dc43eba2a78716af452cf71a8222","auto-close":!0,class:t+" report-submitted-msg",icon:"check-circle",kind:"success",label:"",onCalciteAlertClose:()=>{this._reportSubmitted=!1},open:!0,placement:"top"},s("div",{key:"95b9accf1f09186c09c81cfb02a8939c4869ae8d",slot:"message"},this.reportSubmittedMessage?this.reportSubmittedMessage:this._translations.submitMsg)),this._featureCreationFailedErrorMsg&&s("calcite-alert",{key:"cab7f0e0f0d882612b4fa6f00799be9870aea6c5","auto-close":!0,class:t,icon:"x-octagon",kind:"danger",label:"",onCalciteAlertClose:()=>{this._featureCreationFailedErrorMsg=""},open:!0,placement:"top"},s("div",{key:"b9453672d85e26cf7bdeae0923cd36020d259d49",slot:"title"},this._translations.error),s("div",{key:"5084315857bc88b8f80aaa411ac3fd5e4493e918",slot:"message"},this._featureCreationFailedErrorMsg)),this._commentSubmitted&&s("calcite-alert",{key:"62b7d9818913c3331ca9c8e4ed23c7f0c48a7946","auto-close":!0,class:"report-submitted "+t,icon:"check-circle",kind:"success",label:"",onCalciteAlertClose:()=>{this._commentSubmitted=!1},open:!0,placement:"top"},s("div",{key:"5f18444fd375657db0c2a403cb453ead75536181",slot:"message"},this._translations.commentSubmittedMsg)),this._addingCommentFailed&&s("calcite-alert",{key:"732f08960095fc9fefcc79fc8df387a5a4c3f781","auto-close":!0,class:t,icon:"x-octagon",kind:"danger",label:"",onCalciteAlertClose:()=>{this._addingCommentFailed=!1},open:!0,placement:"top"},s("div",{key:"16415430cf33ce53c0d49cab19dce2c3e34257d6",slot:"title"},this._translations.error),s("div",{key:"83e5918e00902bd49512165f4aa62813cecb4619",slot:"message"},this._translations.addingCommentFailedMsg)),s("div",{key:"3e9dadd880319708e64e717ba7e7adaddf97b935"},s("calcite-shell",{key:"c72664d361b3904bc191668207c3ad31ff1f98c9","content-behind":!0},this._getReporter())),this.filterModal())}async _initModules(){const[t]=await l(["esri/core/reactiveUtils"]);this.reactiveUtils=t}async setSelectedLayer(t,i){this._selectedLayerId=t,this._selectedLayer=await c(this.mapView,t),this._selectedLayerName=i,this._validLayers.forEach((i=>{i.set("visible",!t||i.id===t)}))}_getLayersConfig(t){return this.reportingOptions&&this.reportingOptions[t]?this.reportingOptions[t]:null}_getReporter(){const t=[];return this._flowItems.forEach((i=>{switch(i){case"layer-list":t.push(this.getLayerListFlowItem());break;case"feature-list":t.push(this.getFeatureListFlowItem(this._selectedLayerId,this._selectedLayerName));break;case"feature-details":t.push(this.getFeatureDetailsFlowItem());break;case"reporting-layer-list":t.push(this.getChooseCategoryFlowItem());break;case"feature-create":t.push(this.getFeatureCreateFlowItem());break;case"comment-details":t.push(this.getCommentDetailsFlowItem());break;case"add-comment":t.push(this.getAddCommentFlowItem())}})),s("calcite-panel",{class:"width-full "+("dark"===this.theme?"calcite-mode-dark":"calcite-mode-light")},this.mapView?s("calcite-flow",null,t?.length>0&&t):s("calcite-loader",{label:"",scale:"m"}))}filterModal(){const t=this.layerExpressions?this.layerExpressions.filter((t=>t.id===this._selectedLayerId)):[];return t.length>0&&s("calcite-modal",{"aria-labelledby":"modal-title",class:"modal",kind:"brand",onCalciteModalClose:()=>{this._closeFilter()},open:this._filterOpen,widthScale:"s"},s("div",{class:"display-flex align-center",id:"modal-title",slot:"header"},this._translations?.filterLayerTitle?.replace("{{title}}",this._selectedLayerName)),s("div",{slot:"content"},s("instant-apps-filter-list",{autoUpdateUrl:!1,closeBtn:!0,closeBtnOnClick:()=>{this._closeFilter()},comboboxOverlayPositioning:"fixed",layerExpressions:t,onFilterListReset:()=>this._handleFilterListReset(),onFilterUpdate:()=>this._handleFilterUpdate(),ref:t=>this._filterList=t,view:this.mapView,zoomBtn:!1})))}_closeFilter(){this._filterOpen&&(this._filterOpen=!1)}_toggleFilter(){this._filterOpen=!this._filterOpen}async sortOptionClick(t,i,e){this._updatedSorting={field:t,order:i},this._updatedSortOption=e}_toggleSort(){const t=this.reportingOptions&&this.reportingOptions[this._selectedLayerId]&&this.reportingOptions[this._selectedLayerId].like&&this.reportingOptions[this._selectedLayerId].likeField;return s("calcite-popover",{autoClose:!0,label:"",offsetDistance:0,placement:this.isMobile?"leading-start":"auto",pointerDisabled:!0,referenceElement:"sort-popover"},s("calcite-list",{"selection-mode":"single"},s("calcite-list-item",{label:this._translations.sortNewest,onCalciteListItemSelect:()=>{this.sortOptionClick(this._selectedLayer.objectIdField,"desc","sortNewest")},selected:"sortNewest"===this._updatedSortOption,value:"sortNewest"}),s("calcite-list-item",{label:this._translations.sortOldest,onCalciteListItemSelect:()=>{this.sortOptionClick(this._selectedLayer.objectIdField,"asc","sortOldest")},selected:"sortOldest"===this._updatedSortOption,value:"sortOldest"}),t&&s(h,null,s("calcite-list-item",{label:this._translations.sortHighestVoted,onCalciteListItemSelect:()=>{this.sortOptionClick(this.reportingOptions[this._selectedLayerId].likeField,"desc","sortHighestVoted")},selected:"sortHighestVoted"===this._updatedSortOption,value:"sortHighestVoted"}),s("calcite-list-item",{label:this._translations.sortLowestVoted,onCalciteListItemSelect:()=>{this.sortOptionClick(this.reportingOptions[this._selectedLayerId].likeField,"asc","sortLowestVoted")},selected:"sortLowestVoted"===this._updatedSortOption,value:"sortLowestVoted"}))))}_handleFilterListReset(){this._filterActive=!1,this._featureList.refresh()}_handleFilterUpdate(){this._filterActive=this._filterList.urlParams.getAll("filter").length>0,this._featureList.refresh()}getLayerListFlowItem(){return s("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this.reportsHeader},this.isMobile&&this.getActionToExpandCollapsePanel(),this._hasValidLayers&&this.enableNewReports&&s("calcite-button",{appearance:"solid",onClick:this.navigateToChooseCategory.bind(this),slot:"footer",width:"full"},this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText),s("calcite-panel",{"full-height":!0,"full-width":!0},s("layer-list",{class:"height-full",layers:this._editableLayerIds?.length>0?this._editableLayerIds:this._layers,mapView:this.mapView,onLayerSelect:this.displayFeaturesList.bind(this),onLayersListLoaded:this.layerListLoaded.bind(this),ref:t=>this._layerList=t,showFeatureCount:!0,showNextIcon:!0})))}getChooseCategoryFlowItem(){const t=this.reportingOptions?Object.keys(this.reportingOptions).filter((t=>this.reportingOptions[t].visible&&this.reportingOptions[t].reporting&&this._layerItemsHash[t]&&this._layerItemsHash[t].supportsAdd)):[];return s("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText,onCalciteFlowItemBack:this.backFromSelectedPanel.bind(this)},this.isMobile&&this.getActionToExpandCollapsePanel(),s("calcite-panel",{"full-height":!0,"full-width":!0},s("div",{class:"progress-bar"},s("calcite-progress",{type:"determinate",value:this._updatedProgressBarStatus})),s("calcite-notice",{class:"notice-msg",icon:"lightbulb",kind:"success",open:!0},s("div",{slot:"message"},this._translations.chooseCategoryMsg)),s("layer-list",{class:"height-full",layers:t,mapView:this.mapView,onLayerSelect:this.navigateToCreateFeature.bind(this),showFeatureCount:!1,showNextIcon:!1})))}getFeatureCreateFlowItem(){return s("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this._selectedLayerName,onCalciteFlowItemBack:this.backFromCreateFeaturePanel.bind(this)},this.isMobile&&this.getActionToExpandCollapsePanel(),this._showSubmitCancelButton&&s("div",{class:"width-full",slot:"footer"},s("calcite-button",{appearance:"solid",class:"footer-top-button footer-button",onClick:this.onCreateFeatureSubmitButtonClick.bind(this),width:"full"},this._translations.submit),s("calcite-button",{appearance:"outline",class:"footer-button",onClick:this.backFromCreateFeaturePanel.bind(this),width:"full"},this._translations.cancel)),s("calcite-panel",{"full-height":!0,"full-width":!0},s("div",{class:"progress-bar"},s("calcite-progress",{type:"determinate",value:this._updatedProgressBarStatus})),s("calcite-notice",{class:"notice-msg",icon:"lightbulb",kind:"success",open:!0},s("div",{slot:"message"},this._translations.featureEditFormInfoMsg)),s("create-feature",{customizeSubmit:!0,mapView:this.mapView,onDrawComplete:this.onFormReady.bind(this),onEditingAttachment:this.showSubmitCancelButton.bind(this),onFail:this.createFeatureFailed.bind(this),onProgressStatus:this.updatedProgressStatus.bind(this),onSuccess:this.onReportSubmitted.bind(this),ref:t=>this._createFeature=t,searchConfiguration:this.searchConfiguration,selectedLayerId:this._selectedLayerId})))}updatedProgressStatus(t){this._updatedProgressBarStatus=t.detail}onFormReady(){this.updateFormState(!0),this._showSubmitCancelButton=!0}showSubmitCancelButton(t){this._showSubmitCancelButton=!t.detail}onCreateFeatureSubmitButtonClick(){this._createFeature&&this._createFeature.submit()}backFromCreateFeaturePanel(){this._createFeature&&this._createFeature.close(),this.isFormOpen&&this.updateFormState(!1),this.backFromSelectedPanel()}onCreateRelatedFeatureSubmitButtonClick(){this._createRelatedFeature&&this._createRelatedFeature.submit()}backFromCreateRelatedFeaturePanel(){this._createRelatedFeature&&(this._createRelatedFeature.close(),this._showSubmitCancelButton=!1),this.isFormOpen&&this.updateFormState(!1),this.backFromSelectedPanel()}createFeatureFailed(t){console.error(t.detail),this._featureCreationFailedErrorMsg=t.detail.message}onReportSubmitted(){this.isFormOpen&&this.updateFormState(!1),this._reportSubmitted=!0,this.navigateToHomePage()}addCommentFailed(t){console.error(t.detail),this._addingCommentFailed=!0}async onCommentSubmitted(){this._commentSubmitted=!0,this.backFromSelectedPanel(),this._showLoadingIndicator=!0,await this._featureDetails.refresh(this._currentFeature),setTimeout((()=>{this._showLoadingIndicator=!1}),300)}async navigateToHomePage(){this._createFeature&&this._createFeature.close(),this._layerList&&this._layerList.refresh(),await this.setSelectedFeatures([]),1===this._editableLayerIds.length?(await this._featureList.refresh(),this._flowItems=["feature-list"]):this._flowItems=["layer-list"]}async navigateToCreateFeature(t){t.detail.layerId&&t.detail.layerName&&this.setSelectedLayer(t.detail.layerId,t.detail.layerName),this._showSubmitCancelButton=!1,this._flowItems=[...this._flowItems,"feature-create"]}navigateToChooseCategory(){this._flowItems=[...this._flowItems,"reporting-layer-list"]}async layerListLoaded(t){const i=t.detail,e=await n(this.mapView),s=[];this._validLayers=[],e.forEach((t=>{i.includes(t.id)&&(this._validLayers.push(t),this._getLayersConfig(t.id)?.reporting&&this._layerItemsHash[t.id]&&this._layerItemsHash[t.id].supportsAdd&&s.push(t.id))})),this.handleMapClick(),this._hasValidLayers=s.length>0,this._urlParamsLoaded||(this._urlParamsLoaded=!0,await this.loadFeatureFromURLParams())}displayFeaturesList(t){this._updatedSorting={field:"",order:"desc"},this._filterActive=!1,this._updatedSortOption="sortNewest",this.setSelectedLayer(t.detail.layerId,t.detail.layerName),this._flowItems=[...this._flowItems,"feature-list"]}backFromSelectedPanel(){this._updatedProgressBarStatus=.25;const t=[...this._flowItems];"comment-details"!==t[t.length-1]&&"add-comment"!==t[t.length-1]&&this.clearHighlights(),t.pop(),1!==t.length||"layer-list"!==t[0]?this._flowItems=[...t]:this.navigateToHomePage()}toggleSidePanel(){this._sidePanelCollapsed=!this._sidePanelCollapsed,this.togglePanel.emit({panelState:this._sidePanelCollapsed,isFormOpen:this.isFormOpen})}updateFormState(t){this.isFormOpen=t,this.togglePanel.emit({panelState:this._sidePanelCollapsed,isFormOpen:this.isFormOpen})}async onFeatureSelectFromList(t){this._showLoadingIndicator=!0,await this.setSelectedFeatures([t.detail]),this._flowItems=[...this._flowItems,"feature-details"]}async getRelatedTable(){const t=this._currentFeature.layer,i=t.relationships[0].relatedTableId,e=(await r(this.mapView)).filter((e=>t.url===e.url&&i===e.layerId));this._relatedTable=e[0]}async updatingFeatureDetails(t){this._showLoadingIndicator=t}async selectionChanged(t){this.updatingFeatureDetails(!0),await this.setCurrentFeature(t.detail.selectedFeature[0]),this.highlightOnMap(t.detail.selectedFeature[0]),this._selectedFeatureIndex=t.detail.selectedFeatureIndex,await this._featureDetails.refresh(t.detail.selectedFeature[0])}async onCommentSelectFromList(t){this._selectedRelatedFeature=[t.detail],this._flowItems=[...this._flowItems,"comment-details"]}getFeatureListFlowItem(t,i){const e=this.layerExpressions?.filter((t=>t.id===this._selectedLayerId)),a=this._getLayersConfig(this._selectedLayerId)?.reporting&&this._layerItemsHash[this._selectedLayerId].supportsAdd,h=e?.length>0;return s("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:i,loading:this._showLoadingIndicator,onCalciteFlowItemBack:this.backFromSelectedPanel.bind(this)},this._toggleSort(),s("calcite-action",{icon:"sort-ascending-arrow",id:"sort-popover",slot:"header-actions-end",text:this._translations.sort,title:this._translations.sort}),h&&s("calcite-action",{icon:"filter",indicator:this._filterActive,onClick:this._toggleFilter.bind(this),slot:"header-actions-end",text:this._translations.filter,title:this._translations.filter}),this.isMobile&&this.getActionToExpandCollapsePanel(),this.enableNewReports&&a&&s("calcite-button",{appearance:"solid",onClick:this.navigateToCreateFeature.bind(this),slot:"footer",width:"full"},this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText),s("calcite-panel",{"full-height":!0},s("feature-list",{class:"height-full",highlightOnHover:!0,mapView:this.mapView,noFeaturesFoundMsg:this._translations.featureErrorMsg,onFeatureSelect:this.onFeatureSelectFromList.bind(this),pageSize:30,ref:t=>this._featureList=t,selectedLayerId:t,sortingInfo:this._updatedSorting})))}getFeatureDetailsFlowItem(){const t=this._getLayersConfig(this._selectedLayerId)?.comment&&this._selectedLayer.relationships.length>0;return s("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this._selectedLayerName,loading:this._showLoadingIndicator,onCalciteFlowItemBack:this.backFromSelectedPanel.bind(this)},this.isMobile&&this.getActionToExpandCollapsePanel(),s("instant-apps-social-share",{autoUpdateShareUrl:!1,class:"share-node",embed:!1,popoverButtonIconScale:"s",ref:t=>this._shareNode=t,removePopoverOffset:!0,scale:"m",shareButtonColor:"neutral",shareButtonType:"action",slot:"header-actions-end",socialMedia:!0,view:this.mapView}),this._selectedFeature.length>1&&this.getFeaturesPagination(),s("calcite-panel",null,s("feature-details",{class:"full-height",graphics:this._selectedFeature,layerItemsHash:this._layerItemsHash,mapView:this.mapView,onCommentSelect:this.onCommentSelectFromList.bind(this),onFeatureSelectionChange:this.selectionChanged.bind(this),onLoadingStatus:t=>{this.updatingFeatureDetails(t.detail)},ref:t=>this._featureDetails=t,reportingOptions:this.reportingOptions}),t&&s("calcite-button",{appearance:"solid",onClick:()=>this._flowItems=[...this._flowItems,"add-comment"],slot:"footer",width:"full"},this._translations.comment)))}getFeaturesPagination(){return s("div",{class:"feature-pagination"},s("div",null,s("calcite-button",{appearance:"transparent",disabled:!1,iconStart:"chevron-left",id:"solutions-back",onClick:()=>{this._featureDetails.back()},scale:"s",width:"full"}),s("calcite-tooltip",{label:"",placement:"top","reference-element":"solutions-back"},s("span",null,this._translations.back))),s("calcite-button",{appearance:"transparent",onClick:()=>{this._featureDetails.toggleListView()},scale:"s"},s("span",{class:"pagination-count"},this._getCount())),s("div",null,s("calcite-button",{appearance:"transparent",disabled:!1,iconStart:"chevron-right",id:"solutions-next",onClick:()=>{this._featureDetails.next()},scale:"s",width:"full"}),s("calcite-tooltip",{placement:"top","reference-element":"solutions-next"},s("span",null,this._translations.next))))}getCommentDetailsFlowItem(){return s("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this._relatedTable.title,onCalciteFlowItemBack:this.backFromSelectedPanel.bind(this)},this.isMobile&&this.getActionToExpandCollapsePanel(),s("calcite-panel",{"full-height":!0},s("info-card",{allowEditing:!1,graphics:this._selectedRelatedFeature,highlightEnabled:!1,isLoading:!1,isMobile:!1,mapView:this.mapView,paginationEnabled:!1})))}getAddCommentFlowItem(){return s("calcite-flow-item",{collapsed:this.isMobile&&this._sidePanelCollapsed,heading:this._relatedTable.title,onCalciteFlowItemBack:this.backFromCreateRelatedFeaturePanel.bind(this)},this.isMobile&&this.getActionToExpandCollapsePanel(),s("div",{class:"width-full",slot:"footer"},this._showSubmitCancelButton&&s("div",{class:"width-full",slot:"footer"},s("calcite-button",{appearance:"solid",class:"footer-top-button footer-button",onClick:this.onCreateRelatedFeatureSubmitButtonClick.bind(this),width:"full"},this._translations.submit),s("calcite-button",{appearance:"outline",class:"footer-button",onClick:this.backFromCreateRelatedFeaturePanel.bind(this),width:"full"},this._translations.cancel))),s("calcite-panel",null,s("create-related-feature",{customizeSubmit:!0,mapView:this.mapView,onFail:this.addCommentFailed.bind(this),onFormReady:this.onFormReady.bind(this),onIsActionPending:this.showSubmitCancelButton.bind(this),onSuccess:this.onCommentSubmitted.bind(this),ref:t=>this._createRelatedFeature=t,selectedFeature:this._currentFeature,table:this._relatedTable})))}async setSelectedFeatures(t){this._selectedFeature=t,await this.setCurrentFeature(this._selectedFeature.length?this._selectedFeature[0]:null)}async setCurrentFeature(t){if(this._currentFeature=t,t&&t.layer){const i=t.layer;this.setSelectedLayer(i.id,i.title),this._currentFeatureId=t.attributes[i.objectIdField],this._getLayersConfig(i.id)?.comment&&i.relationships.length>0&&await this.getRelatedTable()}else this._editableLayerIds.length>1&&this.setSelectedLayer("",""),this._currentFeatureId="";this._updateShareURL()}async highlightOnMap(t){if(this.clearHighlights(),t&&t.geometry&&t.layer){const i=await d(this.mapView,t.layer.id);i.highlightOptions=null,this._highlightHandle=await u([t.getObjectId()],i,this.mapView,!0,this.zoomToScale)}this.updatingFeatureDetails(!1)}clearHighlights(){this._highlightHandle&&this._highlightHandle.remove()}getActionToExpandCollapsePanel(){return s("calcite-action",{icon:this._sidePanelCollapsed?"chevrons-up":"chevrons-down",onClick:this.toggleSidePanel.bind(this),slot:"header-actions-end",text:this._sidePanelCollapsed?this._translations.expand:this._translations.collapse})}async setMapView(){await this.getLayersToShowInList(),1===this._editableLayerIds?.length?await this.renderFeaturesList():this._flowItems=["layer-list"],this.mapView.popupEnabled=!1,this._defaultCenter&&this._defaultLevel&&(await this.mapView.goTo({center:this._defaultCenter,zoom:this._defaultLevel}),this._defaultCenter=void 0,this._defaultLevel=void 0)}handleMapClick(){this._mapClickHandle&&this._mapClickHandle.remove(),this._mapClickHandle=this.reactiveUtils.on((()=>this.mapView),"click",this.onMapClick.bind(this))}async onMapClick(t){this.mapView.popupEnabled=!1;const i=await this.mapView.hitTest(t);if(i.results.length>0){const t=[];i.results.forEach((function(i){"graphic"===i.type&&t.push(i.graphic)}));const e=t.filter((t=>this._validLayers.includes(t.layer))),s=t.filter((t=>!this._validLayers.includes(t.layer)&&t?.layer?.id));if(e.length>0&&(await this.setSelectedFeatures(e),this._flowItems.length&&this._flowItems.includes("feature-details")?(this._flowItems=[...this._flowItems.slice(0,this._flowItems.indexOf("feature-details")+1)],await this.highlightOnMap(t[0])):this._flowItems=[...this._flowItems,"feature-details"]),s.length>0){this.mapView.popupEnabled=!0;const t={features:s,updateLocationEnabled:!0};await this.mapView.openPopup(t)}}}_getCount(){const t=(this._selectedFeatureIndex+1).toString(),i=this._selectedFeature.length.toString();return this._translations.indexOfTotal.replace("{{index}}",t).replace("{{total}}",i)}async _getTranslations(){const t=await o(this.el);this._translations=t[0]}reduceToConfiguredLayers(t){return Object.keys(t).reduce(((i,e)=>((this.reportingOptions?this._getLayersConfig(e)?.visible:t[e].supportsAdd)&&i.push(e),i)),[])}async getLayersToShowInList(){const t=await p(this.mapView,!0);(await n(this.mapView)).forEach((i=>{"feature"===i?.type&&i?.editingEnabled&&i?.capabilities?.operations?.supportsAdd&&(t[i.id].supportsAdd=!0)})),this._editableLayerIds=this.reduceToConfiguredLayers(t),this._layerItemsHash=t}async renderFeaturesList(){this._flowItems=["feature-list"];const t={detail:this._editableLayerIds};await this.layerListLoaded(t),this.setSelectedLayer(this._validLayers[0].id,this._validLayers[0].title)}_updateShareURL(){const t=this._shareNode?.shareUrl;if(!t)return;const i=new URL(t);this._selectedLayerId?i.searchParams.set("layerid",this._selectedLayerId):i.searchParams.delete("layerid"),this._selectedFeature?.length?i.searchParams.set("oid",this._currentFeatureId):i.searchParams.delete("oid"),this._shareNode.shareUrl=i.href}async loadFeatureFromURLParams(){if(this.center&&this.level&&await this.mapView.goTo({center:this.center.split(";").map(Number),zoom:this.level}),this.layerId&&this.objectId){const t=await c(this.mapView,this.layerId);if(t){const i=await f([Number(this.objectId)],t,[],!0,this.mapView.spatialReference);i.length&&(await this.setSelectedFeatures(i),this._flowItems=this._flowItems.length&&"feature-details"!==this._flowItems[this._flowItems.length-1]?[...this._flowItems,"feature-details"]:[...this._flowItems])}}}static get watchers(){return{isMobile:["isMobileWatchHandler"],mapView:["mapViewWatchHandler"]}}};m.style=":host{display:block;--calcite-label-margin-bottom:0px;--solutions-theme-foreground-color:var(--calcite-color-foreground-1)}.width-full{width:100% !important}.width-0{width:0}.height-full{height:100% !important}.height-0{height:0}.overflow-hidden{overflow:hidden}.border{border:1px solid var(--calcite-color-border-3)}.notice-msg{padding:10px;width:calc(100% - 20px)}.progress-bar{padding:12px}.footer-top-button{padding-bottom:7px}.footer-button{height:35px}.feature-pagination{background-color:var(--calcite-color-foreground-1) !important;border-block-end:1px solid var(--calcite-color-border-3);display:flex;justify-content:center;padding:5px 0}.pagination-count{color:var(--calcite-color-brand);border-bottom:1px solid var(--calcite-color-brand);font-weight:bold}.report-submitted-msg{position:absolute;z-index:1000}.share-node{display:flex}";export{m as crowdsource_reporter}
|
@@ -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-f4c4a2b7.js";
|
7
|
-
/*!
|
8
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
-
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
10
|
-
* v2.11.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,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-8b922152.js";import"./p-f4c4a2b7.js";import"./p-7c585a72.js";import"./p-8448b98b.js";import"./p-0ae5f8fe.js";import"./p-a8e556aa.js";import"./p-ec561560.js";import"./p-73ae4b9b.js";import"./p-4250bde1.js";import"./p-d7ee860a.js";import"./p-bb3ce613.js";import"./p-f83c0ef6.js";import"./p-16d69510.js";import"./p-2327029a.js";import"./p-2f08fd73.js";import"./p-ca42f3d3.js";import"./p-c5f22510.js";import"./p-33447b6f.js";import"./p-d4e3e979.js";import"./p-cd4d69c1.js";import"./p-cfca5772.js";import"./p-fdf4caad.js";function e(r){return r>1&&r<5&&1!=~~(r/10)}function t(r,t,m,o){var s=r+" ";switch(m){case"s":return t||o?"pár sekúnd":"pár sekundami";case"m":return t?"minúta":o?"minútu":"minútou";case"mm":return t||o?s+(e(r)?"minúty":"minút"):s+"minútami";case"h":return t?"hodina":o?"hodinu":"hodinou";case"hh":return t||o?s+(e(r)?"hodiny":"hodín"):s+"hodinami";case"d":return t||o?"deň":"dňom";case"dd":return t||o?s+(e(r)?"dni":"dní"):s+"dňami";case"M":return t||o?"mesiac":"mesiacom";case"MM":return t||o?s+(e(r)?"mesiace":"mesiacov"):s+"mesiacmi";case"y":return t||o?"rok":"rokom";case"yy":return t||o?s+(e(r)?"roky":"rokov"):s+"rokmi"}}var m={name:"sk",weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),months:"január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),monthsShort:"jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:function(r){return r+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},relativeTime:{future:"za %s",past:"pred %s",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t}};r.locale(m,null,!0);export{m as default}
|
@@ -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{l}from"./p-65581d83.js";import{c as n}from"./p-dcc35070.js";async function o(n,o,i){const[u]=await l(["esri/layers/effects/jsonUtils"]),{toJSON:v,fromJSON:d}=u,t=null==o?void 0:o.layer;if(!n)return(null==t?void 0:t.effect)?t.effect:(null==t?void 0:t.featureEffect)?"includedEffect"===i?t.featureEffect.includedEffect:t.featureEffect.excludedEffect:null;const e=v(n);let r;r=t.featureEffect?"includedEffect"===i?t.featureEffect.includedEffect:t.featureEffect.excludedEffect:t.effect;const a=r?v(r):null;if(!a)return d(e);let s=[...a];return e&&e.forEach((l=>{s.forEach((n=>{const{value:o}=n;if(o)o.forEach(((i,u)=>{i.type===l.type?o[u]=l:!n.value.find((l=>l.type===e[0].type))&&(n.value=[...n.value,...e])}));else{const o=!s.find((l=>l.type===n.type));!s.find((n=>n.type===l.type))&&(s=[...s,l]),o&&(s=[...s,n])}}))})),d(s)}const i=n({data:{},relationshipRampExpandStates:{}}),u=i.state,v=i;async function d(l,n,o){var i,u,v,d,t,e,r,a,s;try{const c="group"===(null===(i=null==n?void 0:n.layer)||void 0===i?void 0:i.type),f=null===(v=null===(u=null==n?void 0:n.layer)||void 0===u?void 0:u.layers)||void 0===v?void 0:v.some((l=>l.visible)),$=null===(t=null===(d=null==n?void 0:n.layer)||void 0===d?void 0:d.layers)||void 0===t?void 0:t.every((l=>!(null==l?void 0:l.legendEnabled)));await o.whenOnce((()=>"ready"===(null==l?void 0:l.state))),!c||c&&f?c&&$?await o.whenOnce((()=>{var l;return null===(l=null==n?void 0:n.layer)||void 0===l?void 0:l.loaded})):await o.whenOnce((()=>null==n?void 0:n.ready)):await o.whenOnce((()=>null==n?void 0:n.legendElements));const y=null===(e=null==n?void 0:n.legendElements)||void 0===e?void 0:e[0],m=new Map,p=n.layer,N=await l.view.whenLayerView(p);await o.whenOnce((()=>!1===(null==N?void 0:N.updating)));const O=null===(r=p.renderer)||void 0===r?void 0:r.field;return void 0!==y&&(null===(a=null==y?void 0:y.infos)||void 0===a||a.forEach((l=>{var n;if("symbol-table"===l.type){const n=[];l.infos.forEach((l=>{n.push({count:null,selected:!1,legendElementInfo:l})})),m.set(l.title,{count:null,selected:!1,legendElementInfo:l,nestedInfos:n})}else m.set(null!==(n=l.label)&&void 0!==n?n:p.id,{count:null,selected:!1,legendElementInfo:l})}))),Promise.resolve({activeLayerInfo:n,title:null===(s=null==N?void 0:N.layer)||void 0===s?void 0:s.title,categories:m,field:O,queryExpressions:[],totalCount:null,fLayerView:N,legendElement:y})}catch(l){return Promise.resolve(null)}}async function t(l,n){const o={},i=[];l.activeLayerInfos.forEach(function(l,n,o){return i=>{var u;const v=null===(u=null==i?void 0:i.layer)||void 0===u?void 0:u.type;if("feature"===v||"group"===v){const u=d(n,i,o).then((l=>l));u&&l.push(u);const v=i=>{const u=d(n,i,o).then((l=>l));u&&l.push(u)};i.children.forEach((l=>{var n;v(l),(null===(n=null==l?void 0:l.children)||void 0===n?void 0:n.length)>0&&l.children.forEach((l=>{var n;v(l),(null===(n=null==l?void 0:l.children)||void 0===n?void 0:n.length)>0&&l.children.forEach((l=>{v(l)}))}))}))}}}(i,l,n));try{return(await Promise.all(i)).forEach((l=>{var n,i;return o[null===(i=null===(n=null==l?void 0:l.activeLayerInfo)||void 0===n?void 0:n.layer)||void 0===i?void 0:i.id]=l})),Promise.resolve(o)}catch(l){return Promise.reject(null)}}function e(l){return Array.from(l).map((l=>l[1]))}function r(l,n,o,i,u){var v,d,t;return i?null===(v=null==i?void 0:i.nestedInfos)||void 0===v?void 0:v[u]:null===(d=null==l?void 0:l.categories)||void 0===d?void 0:d.get(null!==(t=null==o?void 0:o.label)&&void 0!==t?t:null==n?void 0:n.id)}function a(l){var n;return null===(n=null==u?void 0:u.data)||void 0===n?void 0:n[null==l?void 0:l.id]}async function s(n,i,u,v,d){var t,e,r,a,s;const[$,m]=await l(["esri/layers/support/FeatureFilter","esri/layers/support/FeatureEffect"]),{queryExpressions:p,fLayerView:N}=n;!function(l,n,o,i){var u,v,d,t;const{field:e,legendElement:r,categories:a,fLayerView:s}=l,$=null==l?void 0:l.queryExpressions;i&&Array.from(l.categories).map((l=>l[1])).forEach((l=>{var n,o;(null===(n=l.nestedInfos)||void 0===n?void 0:n.every((l=>!l.selected)))&&(null===(o=l.nestedInfos)||void 0===o||o.forEach((l=>{const n=e?`${e} = '${l.legendElementInfo.value}'`:null,o=n?$.indexOf(n):-1;n&&-1!==o&&$.splice(o,1)})))}));const m=null==r?void 0:r.infos,p=y(s);let N=p?c(n,s):f(n,e,o,r,m,"");const O=a?i?null===(v=null===(u=a.get(i.title))||void 0===u?void 0:u.nestedInfos)||void 0===v?void 0:v[o]:a.get(null!==(d=n.label)&&void 0!==d?d:null===(t=null==s?void 0:s.layer)||void 0===t?void 0:t.id):null;O&&(O.selected=!(null==O?void 0:O.selected));const A=m&&1===m.length,w=$.indexOf(N);if(p){const l=$.indexOf(N);0===$.length||-1===l?($&&"1=0"===$[0]&&$.splice(0,1),$.push(N)):$&&1===$.length&&N===$[0]?$[0]="1=0":$&&1===$.length||$&&1===$.length&&N!==$[0]&&"1=0"===$[0]?$[0]=N:$&&1===$.length&&N===$[0]&&"1=0"===$[0]?$[0]=null:$.splice(l,1),$.join(" OR ")}else 0===$.length||-1===w?($&&"1=0"===$[0]&&$.splice(0,1),$.push(N)):$&&1===$.length&&N===$[0]&&!A?$[0]="1=0":$&&1===$.length&&!A||$&&1===$.length&&N!==$[0]&&"1=0"===$[0]&&!A?$[0]=N:$&&1===$.length&&N===$[0]&&"1=0"===$[0]&&!A?$[0]=null:$.splice(w,1);if(i){const n=[];Array.from(l.categories).map((l=>l[1])).forEach((l=>{var o,i;(null===(o=l.nestedInfos)||void 0===o?void 0:o.every((l=>!l.selected)))&&(null===(i=l.nestedInfos)||void 0===i||i.forEach((l=>{e&&`${e} = '${l.legendElementInfo.value}'`&&n.push(`${e} = '${l.legendElementInfo.value}'`)})))})),n.forEach((l=>{-1===$.indexOf(l)&&$.push(l)}))}}(n,i,u,d);const O=p.every((l=>l&&l.includes("<>")))?" AND ":" OR ",A=p.join(O),w=null!==(s=null!==(e=null===(t=null==N?void 0:N.filter)||void 0===t?void 0:t.timeExtent)&&void 0!==e?e:null===(a=null===(r=null==N?void 0:N.featureEffect)||void 0===r?void 0:r.filter)||void 0===a?void 0:a.timeExtent)&&void 0!==s?s:null,{type:E}=v;if("filter"===E)N.filter=new $({where:A,timeExtent:w});else if(v.effect){const{includedEffect:l,excludedEffect:n}=v.effect,i=await o(n,N,"excludedEffect"),u=await o(l,N,"includedEffect");N.featureEffect=new m({filter:new $({where:A,timeExtent:w}),includedEffect:u,excludedEffect:i})}return Promise.resolve()}function c(l,n){const o=n?n.layer.renderer.authoringInfo:null,i=o?o.fields:null,u=[];if(!i)return"";if(l.hasOwnProperty("value"))return i.forEach((n=>{l.value!==n&&u.push(`(${l.value} > ${n} OR (${n} IS NULL AND ${l.value} <> 0 AND ${l.value} IS NOT NULL))`)})),u.join(" AND ");{const l=[];i.forEach((n=>{l.push(`${n} = 0`)}));const n=[];if(i.length>2){i.forEach((l=>{i.forEach((o=>{if(l===o)return;const u=[];i.forEach((n=>{l!==n&&o!==n&&u.push(`${l} = ${o} AND (${l} > ${n} OR ${l} >= ${n})`)})),n.push(`(${u.join(" AND ")})`)}))}));const o=[];return i.forEach((l=>{o.push(`${l} IS NULL`)})),`(${l.join(" AND ")}) OR (${n.join(" OR ")}) OR (${o.join(" AND ")})`}{const n=[];i.forEach((o=>{i.forEach((i=>{o!==i&&(n.push(`${o} = ${i}`),n.push(`(${l.join(" AND ")})`))}))}));const o=[];return i.forEach((l=>{i.forEach((n=>{l!==n&&o.push(`(${l} = 0 AND ${n} IS NULL) OR (${l} IS NULL AND ${n} IS NULL)`)}))})),`(${n.join(" OR ")}) OR (${o.join(" OR ")})`}}}function f(l,n,o,i,u,v){const{value:d}=l;if("symbol-table"===(null==i?void 0:i.type)){if(!l.hasOwnProperty("value")||Array.isArray(l.value)&&1===(null==u?void 0:u.length)){if((null==u?void 0:u[0].hasOwnProperty("value"))&&Array.isArray(null==u?void 0:u[0].value)&&(null==u?void 0:u[(null==u?void 0:u.length)-2])&&(null==u?void 0:u[(null==u?void 0:u.length)-2].hasOwnProperty("value"))&&Array.isArray(null==u?void 0:u[(null==u?void 0:u.length)-2].value))return v?`((${n}/${v}) > ${null==u?void 0:u[0].value[1]}) OR ((${n}/${v}) < ${null==u?void 0:u[(null==u?void 0:u.length)-2].value[0]}) OR ${v} = 0 OR ${v} IS NULL`:`${n} > ${null==u?void 0:u[0].value[1]} OR ${n} < ${null==u?void 0:u[(null==u?void 0:u.length)-2].value[0]} OR ${n} IS NULL`;if(1===(null==u?void 0:u.length))return"1=0";{const l=[];null==u||u.forEach((o=>{if(null==o?void 0:o.value){const{value:i}=o,u=-1!==i.indexOf("'")?i.split("'").join("''"):null,v=u?`${n} <> '${u}'`:isNaN(i)||"string"==typeof i&&!i.trim()?`${n} <> '${i}'`:`${n} <> ${i} AND ${n} <> '${i}'`;l.push(v)}}));const o=l.join(" AND ");return n&&o?`${o} OR ${n} IS NULL`:""}}{const i=-1!==d.indexOf("'")?d.split("'").join("''"):null,t=Array.isArray(l.value),e=(null==u?void 0:u.length)-1===o,r=!(null==u?void 0:u[(null==u?void 0:u.length)-1].hasOwnProperty("value")),a=o===(null==u?void 0:u.length)-2;return t?v?e||r&&a?`(${n}/${v}) >= ${d[0]} AND (${n}/${v}) <= ${l.value[1]}`:`(${n}/${v}) > ${d[0]} AND (${n}/${v}) <= ${l.value[1]}`:e||r&&a?`${n} >= ${d[0]} AND ${n} <= ${d[1]}`:`${n} > ${d[0]} AND ${n} <= ${d[1]}`:1===(null==u?void 0:u.length)&&n?isNaN(d)||!d.trim().length?`${n} <> '${d}'`:`${n} <> ${d} OR ${n} <> '${d}'`:i?`${n} = '${i}'`:isNaN(d)||!d.trim().length?`${n} = '${d}'`:`${n} = ${d} OR ${n} = '${d}'`}}return""}function $(l){return Array.isArray(l)?l.every((l=>!l.selected)):l&&Array.from(l.categories.entries()).every((l=>!l[1].selected))&&"1=0"!==l.queryExpressions[0]}function y(l){var n,o,i;return"predominance"===(null===(i=null===(o=null===(n=null==l?void 0:l.layer)||void 0===n?void 0:n.renderer)||void 0===o?void 0:o.authoringInfo)||void 0===i?void 0:i.type)}function m(l){var n;return"relationship-ramp"===(null===(n=null==l?void 0:l.legendElements[1])||void 0===n?void 0:n.type)}function p(l,n,o){var i,u,v,d,t,e,r,a,s,c,f,$,m,p,N,O,A,w,E;const b=l.layer,R=null===(i=null==b?void 0:b.renderer)||void 0===i?void 0:i.field,L=null==n?void 0:n.type,D=null==l?void 0:l.layerView,I=null===(v=null===(u=null==D?void 0:D.layer)||void 0===u?void 0:u.renderer)||void 0===v?void 0:v.classBreakInfos,x=(null===(t=null===(d=null==D?void 0:D.layer)||void 0===d?void 0:d.renderer)||void 0===t?void 0:t.uniqueValueInfos)&&R,g="size-ramp"===L,h="color-ramp"===L,P="opacity-ramp"===L,S="heatmap-ramp"===L,U=D&&I&&I.length>1,z=null===(a=null===(r=null===(e=null==D?void 0:D.layer)||void 0===e?void 0:e.renderer)||void 0===r?void 0:r.authoringInfo)||void 0===a?void 0:a.type,F="class-breaks-color"===z,k="class-breaks-size"===z,q=1===(null===(s=null==n?void 0:n.infos)||void 0===s?void 0:s.length)&&!R,V="relationship"===z&&"size-ramp"!==(null==n?void 0:n.type)&&"symbol-table"!==(null==n?void 0:n.type),C="feature"===(null===(c=null==l?void 0:l.layer)||void 0===c?void 0:c.type),J=C&&R&&!h&&!g&&U,T=!(!C||!R||h||g||U),M=!!(T||y(D)&&!g||F&&R||k&&R||q&&!R&&null!==R||V||x),B=(null===(f=null==l?void 0:l.layer)||void 0===f?void 0:f.featureReduction)&&"size-ramp"===(null===(m=null===($=null==l?void 0:l.legendElements)||void 0===$?void 0:$[o])||void 0===m?void 0:m.type),G="symbol-table"===(null==n?void 0:n.type)&&1===(null===(p=null==n?void 0:n.infos)||void 0===p?void 0:p.length),H=!(null==l?void 0:l.legendElements.every((l=>"color-ramp"!==l.type))),K=!(null==l?void 0:l.legendElements.every((l=>"size-ramp"!==l.type))),Q=G&&H,W=G&&K,X=null===(N=null==n?void 0:n.infos)||void 0===N?void 0:N.every((l=>"number"==typeof l.value)),Y="symbol-table"===(null===(A=null===(O=null==l?void 0:l.legendElements)||void 0===O?void 0:O[0])||void 0===A?void 0:A.type)&&"color-ramp"===(null===(E=null===(w=null==l?void 0:l.legendElements)||void 0===w?void 0:w[1])||void 0===E?void 0:E.type),Z="dot-density"===z,_=j(null==l?void 0:l.layer,R);return!(!C||B||P||S||Q||W||X||Y||Z||!_)&&(I?J||M:T||M)}function N(l){var n,o,i,u,v;return l.queryExpressions=[],(null===(o=null===(n=null==l?void 0:l.fLayerView)||void 0===n?void 0:n.filter)||void 0===o?void 0:o.where)&&(l.fLayerView.filter.where=""),(null===(v=null===(u=null===(i=null==l?void 0:l.fLayerView)||void 0===i?void 0:i.featureEffect)||void 0===u?void 0:u.filter)||void 0===v?void 0:v.where)&&(l.fLayerView.featureEffect=null),l.categories.forEach((l=>{l.selected=!1})),l}function O(l,n){var o,i,u,v,d,t,e,r,a,s,c;const f=l.categories.get(n);null===(o=null==f?void 0:f.nestedInfos)||void 0===o||o.forEach((n=>{const o=l.queryExpressions.indexOf(`${l.field} = '${n.legendElementInfo.value}'`);-1!==o&&l.queryExpressions.splice(o,1),n.selected=!1}));const $=[],y=Array.from(l.categories).map((l=>l[1]));y.forEach((n=>{var o,i;(null===(o=n.nestedInfos)||void 0===o?void 0:o.every((l=>!l.selected)))&&(null===(i=n.nestedInfos)||void 0===i||i.forEach((n=>{$.push(`${l.field} = '${n.legendElementInfo.value}'`)})))})),$.forEach((n=>{-1===l.queryExpressions.indexOf(n)&&l.queryExpressions.push(n)}));let m=l.queryExpressions.join(" OR ");const p=y.every((l=>{var n;return null===(n=l.nestedInfos)||void 0===n?void 0:n.every((l=>!l.selected))}));return p?((null===(u=null===(i=null==l?void 0:l.fLayerView)||void 0===i?void 0:i.filter)||void 0===u?void 0:u.where)&&(l.fLayerView.filter.where=""),(null===(t=null===(d=null===(v=null==l?void 0:l.fLayerView)||void 0===v?void 0:v.featureEffect)||void 0===d?void 0:d.filter)||void 0===t?void 0:t.where)&&(l.fLayerView.featureEffect=null),l.queryExpressions=[]):((null===(r=null===(e=null==l?void 0:l.fLayerView)||void 0===e?void 0:e.filter)||void 0===r?void 0:r.where)&&(l.fLayerView.filter.where=m),(null===(c=null===(s=null===(a=null==l?void 0:l.fLayerView)||void 0===a?void 0:a.featureEffect)||void 0===s?void 0:s.filter)||void 0===c?void 0:c.where)&&(l.fLayerView.featureEffect.filter.where=m)),l}async function A(l,n,o){var i,u;const v=l.fLayerView.createQuery();if(o)if(o.nestedInfos.every((l=>!l.selected))){const n=o.nestedInfos.map((n=>`${l.field} = '${n.legendElementInfo.value}'`)).join(" OR ");v.where=n}else{const n=o.nestedInfos.filter((l=>l.selected)).map((n=>`${l.field} = '${n.legendElementInfo.value}'`)).join(" OR ");v.where=n}else{const n=l.queryExpressions.join(" OR ");v.where=n}try{const{extent:o}=await(null===(u=null===(i=null==l?void 0:l.fLayerView)||void 0===i?void 0:i.layer)||void 0===u?void 0:u.queryExtent(v));await n.goTo(o)}catch(l){}}function w(l){return l.map((l=>null==l?void 0:l.count)).reduce(((l,n)=>l+n))}function E(l){return l.map((l=>{var n;return null===(n=null==l?void 0:l.nestedInfos)||void 0===n?void 0:n.map((l=>l.count)).reduce(((l,n)=>l+n))})).reduce(((l,n)=>l+n))}async function b(l,n,o,i,u,v,d,t){var e,r,a;if(!n)return;if(!j(null==n?void 0:n.layer,o))return;const s="feature"===(null===(e=null==n?void 0:n.layer)||void 0===e?void 0:e.type)?n.createQuery():null,$=y(n)?c(i,n):i.type?f(d,o,t,i,i.infos):f(i,o,u,v,v.infos);s&&$&&(s.where="1=0"===$?"1=1":$,s.geometry=l);try{const l=s?await n.queryFeatureCount(s):null;return Promise.resolve({[null!==(r=i.label)&&void 0!==r?r:null===(a=null==n?void 0:n.layer)||void 0===a?void 0:a.id]:l})}catch(l){console.error("FAILURE AT 'getInfoCount': ",l)}return Promise.resolve(null)}async function R(l,n){let o=Object.assign({},n);const{activeLayerInfos:i}=l;let u={};const v={};i.forEach((async o=>{var i,u,d,t;const e=o.legendElements[0],r=null===(u=n[null===(i=null==o?void 0:o.layer)||void 0===i?void 0:i.id])||void 0===u?void 0:u.fLayerView,a=null===(d=o.layer.renderer)||void 0===d?void 0:d.field,s=[];v[o.layer.id]=[],null===(t=null==e?void 0:e.infos)||void 0===t||t.forEach(((n,i)=>{var u;const d=null===(u=e.infos)||void 0===u?void 0:u.every((l=>"symbol-table"===l.type));if(d){const u=[];n.infos.forEach(((o,v)=>{const d=b(l.view.extent,r,a,n,i,e,o,v);u.push(d)})),v[o.layer.id].push(u)}else s.push(b(l.view.extent,r,a,n,i,e)),v[o.layer.id]=s}));const c=o=>{var i,u,d,t;const e=[],r=o.legendElements[0],a=null===(u=n[null===(i=null==o?void 0:o.layer)||void 0===i?void 0:i.id])||void 0===u?void 0:u.fLayerView,s=null===(d=o.layer.renderer)||void 0===d?void 0:d.field;null===(t=null==r?void 0:r.infos)||void 0===t||t.forEach(((n,o)=>e.push(b(l.view.extent,a,s,n,o,r)))),v[o.layer.id]=e};o.children.forEach((async l=>{var n;c(l),(null===(n=null==l?void 0:l.children)||void 0===n?void 0:n.length)>0&&l.children.forEach((l=>{var n;c(l),(null===(n=null==l?void 0:l.children)||void 0===n?void 0:n.length)>0&&l.children.forEach((l=>{c(l)}))}))}))}));for(const l in v){let n=u[l];n||(n=u[l]={});const o=await Promise.all(v[l]);if(o.every((l=>Array.isArray(l)))){const i=await Promise.all(o.map((async l=>(await Promise.all(l)).map((l=>l&&Object.values(l)[0])))));n[l]=i,u[l]=Object.assign({},n[l])}else{const i={};o.forEach((l=>{if(!l)return;const n=Object.keys(l)[0];i[n]=l[n]})),l&&(n[l]=i),u[l]=Object.assign({},n[l])}}return i.forEach((l=>{var o;const i=n[l.layer.id],v=l.layer.id;null===(o=null==i?void 0:i.categories)||void 0===o||o.forEach(((n,o)=>{var d;const t=Array.from(null==i?void 0:i.categories).findIndex((l=>l[0]===o));if(null==n?void 0:n.nestedInfos)null==n||n.nestedInfos.forEach(((n,o)=>{var i,v,d;const e=null===(d=null===(v=null==u?void 0:u[null===(i=null==l?void 0:l.layer)||void 0===i?void 0:i.id])||void 0===v?void 0:v[t])||void 0===d?void 0:d[o];n.count=isNaN(e)?null:e}));else{const l=null===(d=null==u?void 0:u[v])||void 0===d?void 0:d[o];n.count=isNaN(l)?null:l}}));const d=l=>{var o;const i=l.layer.id,v=n[i];null===(o=null==v?void 0:v.categories)||void 0===o||o.forEach(((l,n)=>{var o;const v=null===(o=null==u?void 0:u[i])||void 0===o?void 0:o[n];l.count=v}))};l.children.forEach((l=>{var n;d(l),(null===(n=null==l?void 0:l.children)||void 0===n?void 0:n.length)>0&&l.children.forEach((l=>{var n;d(l),(null===(n=null==l?void 0:l.children)||void 0===n?void 0:n.length)>0&&l.children.forEach((l=>{d(l)}))}))}))})),Promise.resolve(o)}function L(l,n){var o;return null===(o=null==l?void 0:l.nestedInfos)||void 0===o?void 0:o[n]}function D(l){return Array.from(l).map((l=>l[1])).every((l=>!!(null==l?void 0:l.nestedInfos)))}function I(l){var n,o,i,u;return!!(null===(u=null===(i=null===(o=null===(n=null==l?void 0:l.legendElements)||void 0===n?void 0:n[0])||void 0===o?void 0:o.infos)||void 0===i?void 0:i.every)||void 0===u?void 0:u.call(i,(l=>"symbol-table"===(null==l?void 0:l.type))))}function x(l,n){var o;return null===(o=null==l?void 0:l.categories)||void 0===o?void 0:o.get(null==n?void 0:n.title)}function g(l){const n="calcite-mode-",o=`${n}light`,i=`${n}dark`;return l.classList.contains(i)?i:o}function h(l){if(l.layerId&&l.intLegendLayerData){const n=l.layerId,o=l.intLegendLayerData,i=Object.assign(Object.assign({},u.data),{[n]:o});v.set("data",i)}}function P(n,i){const{type:u}=n;"filter"===u?function(l){var n,o;null===(o=null===(n=null==l?void 0:l.allLayerViews)||void 0===n?void 0:n.filter((l=>{var n;return"feature"===(null===(n=null==l?void 0:l.layer)||void 0===n?void 0:n.type)})))||void 0===o||o.forEach((l=>{const n=S(l);l.filter=n,l.set("featureEffect",null)}))}(i):"effect"===u&&function(n,i){var u;null===(u=null==i?void 0:i.allLayerViews)||void 0===u||u.filter((l=>{var n;return"feature"===(null===(n=null==l?void 0:l.layer)||void 0===n?void 0:n.type)})).forEach((async i=>{if((null==n?void 0:n.effect)&&i){const[u]=await l(["esri/layers/support/FeatureEffect"]),{includedEffect:v,excludedEffect:d}=n.effect,t=await o(d,i,"excludedEffect"),e=await o(v,i,"includedEffect"),r=S(i);i.featureEffect=new u({filter:r,includedEffect:e,excludedEffect:t}),i.set("filter",null)}}))}(n,i)}function S(l){var n;return(null==l?void 0:l.filter)||(null===(n=null==l?void 0:l.featureEffect)||void 0===n?void 0:n.filter)}function j(l,n){const o=null==l?void 0:l.fields,i=o&&o.map((l=>l.name));return!n||i&&i.includes(n)}function U(l){const n=[];return l.forEach((l=>z(l,n))),n}function z(l,n){n.push(l),l.children&&l.children.length>0&&l.children.forEach((l=>{z(l,n)}))}export{x as a,r as b,$ as c,R as d,t as e,U as f,g,P as h,u as i,d as j,s as k,a as l,I as m,m as n,O as o,N as p,o as q,e as r,v as s,D as t,h as u,p as v,E as w,w as x,L as y,A as z}
|
@@ -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 a,g as o}from"./p-f4c4a2b7.js";import{c as n,d as s}from"./p-ed95c75e.js";import{g as r,s as l,f as c,x as d}from"./p-8448b98b.js";import{d as h,a as m,c as p,u as b}from"./p-2f08fd73.js";import{s as f,a as u,c as g}from"./p-f83c0ef6.js";import{c as x}from"./p-2327029a.js";import{o as v}from"./p-cd4d69c1.js";import{c as k,d as z}from"./p-16d69510.js";import{s as y,c as w,d as C,u as j}from"./p-d4e3e979.js";import{g as $,c as M}from"./p-bb3ce613.js";import{l as O}from"./p-b1c71e50.js";import"./p-0ae5f8fe.js";import"./p-a8e556aa.js";import"./p-ca42f3d3.js";import"./p-73ae4b9b.js";import"./p-4250bde1.js";
|
7
|
-
/*!
|
8
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
-
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
10
|
-
* v2.11.1
|
11
|
-
*/const D="modal",F="header",B="container",L="container--open",S="container--embedded",T="content",E="content--no-footer",H="modal--opening-idle",q="modal--opening-active",A="modal--closing-idle",V="modal--closing-active",W="content",_="back",G="secondary",I="primary";let J=0,K="";O.deprecated("component",{name:"modal",removalVersion:4,suggested:"dialog"});const N=class{constructor(e){i(this,e),this.calciteModalBeforeClose=t(this,"calciteModalBeforeClose",6),this.calciteModalClose=t(this,"calciteModalClose",6),this.calciteModalBeforeOpen=t(this,"calciteModalBeforeOpen",6),this.calciteModalOpen=t(this,"calciteModalOpen",6),this.ignoreOpenChange=!1,this.mutationObserver=x("mutation",(()=>this.handleMutationObserver())),this.cssVarObserver=x("mutation",(()=>{this.updateSizeCssVars()})),this.openTransitionProp="opacity",this.setTransitionEl=i=>{this.transitionEl=i},this.openEnd=()=>{this.setFocus(),this.el.removeEventListener("calciteModalOpen",this.openEnd)},this.handleCloseClick=()=>{this.open=!1},this.handleOutsideClose=()=>{this.outsideCloseDisabled||(this.open=!1)},this.closeModal=async()=>{if(this.beforeClose)try{await this.beforeClose(this.el)}catch(i){return void requestAnimationFrame((()=>{this.ignoreOpenChange=!0,this.open=!0,this.ignoreOpenChange=!1}))}J--,this.opened=!1,this.removeOverflowHiddenClass()},this.handleMutationObserver=()=>{this.updateFooterVisibility(),this.updateFocusTrapElements()},this.updateFooterVisibility=()=>{this.hasFooter=!!r(this.el,[_,I,G])},this.updateSizeCssVars=()=>{this.cssWidth=getComputedStyle(this.el).getPropertyValue("--calcite-modal-width"),this.cssHeight=getComputedStyle(this.el).getPropertyValue("--calcite-modal-height")},this.contentTopSlotChangeHandler=i=>{this.hasContentTop=l(i)},this.contentBottomSlotChangeHandler=i=>{this.hasContentBottom=l(i)},this.open=!1,this.opened=!1,this.beforeClose=void 0,this.closeButtonDisabled=!1,this.focusTrapDisabled=!1,this.outsideCloseDisabled=!1,this.docked=void 0,this.embedded=!1,this.escapeDisabled=!1,this.scale="m",this.widthScale="m",this.fullscreen=void 0,this.kind=void 0,this.messages=void 0,this.messageOverrides=void 0,this.cssWidth=void 0,this.cssHeight=void 0,this.hasFooter=!0,this.hasContentTop=!1,this.hasContentBottom=!1,this.effectiveLocale=void 0,this.defaultMessages=void 0}handleFocusTrapDisabled(i){this.open&&(i?h(this):m(this))}onMessagesChange(){}async componentWillLoad(){await y(this),f(this),this.open&&this.openModal()}componentDidLoad(){u(this)}connectedCallback(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),this.cssVarObserver?.observe(this.el,{attributeFilter:["style"]}),this.updateSizeCssVars(),this.updateFooterVisibility(),n(this),k(this),w(this),p(this)}disconnectedCallback(){this.removeOverflowHiddenClass(),this.mutationObserver?.disconnect(),this.cssVarObserver?.disconnect(),s(this),h(this),z(this),C(this),this.embedded=!1}render(){return e(a,{key:"8564a697a28ed4b7901302a1737337cac97cfc5e","aria-describedby":this.contentId,"aria-labelledby":this.titleId,"aria-modal":"true",role:"dialog"},e("div",{key:"c0ecd13e2214b8a7a6239b19117a41570d46ff22",class:{[B]:!0,[L]:this.opened,[S]:this.embedded}},e("calcite-scrim",{key:"8083cb49047c5fe80ba6cdc6b842de6dac5a8b37",class:"scrim",onClick:this.handleOutsideClose}),this.renderStyle(),e("div",{key:"d38c9e98e8b34626dc11bfaa73f71a0debc36fad",class:{[D]:!0},ref:this.setTransitionEl},e("div",{key:"9bc1a0823ddf4621b52db89237fe73344b3351a5",class:F},this.renderCloseButton(),e("header",{key:"97d3a927123332d087366a90a406be6f10ce16a3",class:"title"},e("slot",{key:"c7540bb4381dec0b88b18f0732a90b862d30c557",name:F}))),this.renderContentTop(),e("div",{key:"fe8943411971950170fabeac8bb79d2af7338227",class:{[T]:!0,[E]:!this.hasFooter},ref:i=>this.modalContent=i},e("slot",{key:"c31734ea1ea7aca1a625c8ac606c75500ae72021",name:W})),this.renderContentBottom(),this.renderFooter())))}renderFooter(){return this.hasFooter?e("div",{class:"footer",key:"footer"},e("span",{class:"back"},e("slot",{name:_})),e("span",{class:"secondary"},e("slot",{name:G})),e("span",{class:"primary"},e("slot",{name:I}))):null}renderContentTop(){return e("div",{class:"content-top",hidden:!this.hasContentTop},e("slot",{name:"content-top",onSlotchange:this.contentTopSlotChangeHandler}))}renderContentBottom(){return e("div",{class:"content-bottom",hidden:!this.hasContentBottom},e("slot",{name:"content-bottom",onSlotchange:this.contentBottomSlotChangeHandler}))}renderCloseButton(){return this.closeButtonDisabled?null:e("button",{"aria-label":this.messages.close,class:"close",key:"button",onClick:this.handleCloseClick,ref:i=>this.closeButtonEl=i,title:this.messages.close},e("calcite-icon",{icon:"x",scale:$(this.scale)}))}renderStyle(){if(!this.fullscreen&&(this.cssWidth||this.cssHeight))return e("style",null,`.${B} {\n ${this.docked&&this.cssWidth?"align-items: center !important;":""}\n }\n .${D} {\n block-size: ${this.cssHeight?this.cssHeight:"auto"} !important;\n ${this.cssWidth?`inline-size: ${this.cssWidth} !important;`:""}\n ${this.cssWidth?`max-inline-size: ${this.cssWidth} !important;`:""}\n ${this.docked?"border-radius: var(--calcite-border-radius) !important;":""}\n }\n @media screen and (max-width: ${this.cssWidth}) {\n .${B} {\n ${this.docked?"align-items: flex-end !important;":""}\n }\n .${D} {\n max-block-size: 100% !important;\n inline-size: 100% !important;\n max-inline-size: 100% !important;\n min-inline-size: 100% !important;\n margin: 0 !important;\n ${this.docked?"":"block-size: 100% !important;"}\n ${this.docked?"":"border-radius: 0 !important;"}\n ${this.docked?"border-radius: var(--calcite-border-radius) var(--calcite-border-radius) 0 0 !important;":""}\n }\n }\n `)}effectiveLocaleChange(){j(this,this.effectiveLocale)}handleEscape(i){!this.open||this.escapeDisabled||"Escape"!==i.key||i.defaultPrevented||(this.open=!1,i.preventDefault())}async setFocus(){await g(this),c(this.el)}async updateFocusTrapElements(){b(this)}async scrollContent(i=0,t=0){this.modalContent&&(this.modalContent.scrollTo?this.modalContent.scrollTo({top:i,left:t,behavior:"smooth"}):(this.modalContent.scrollTop=i,this.modalContent.scrollLeft=t))}onBeforeOpen(){this.transitionEl.classList.add(q),this.calciteModalBeforeOpen.emit()}onOpen(){this.transitionEl.classList.remove(H,q),this.calciteModalOpen.emit(),m(this)}onBeforeClose(){this.transitionEl.classList.add(V),this.calciteModalBeforeClose.emit()}onClose(){this.transitionEl.classList.remove(A,V),this.calciteModalClose.emit(),h(this)}toggleModal(i){this.ignoreOpenChange||(i?this.openModal():this.closeModal())}handleOpenedChange(i){this.transitionEl.classList.add(i?H:A),v(this)}async openModal(){await M(this.el),this.el.addEventListener("calciteModalOpen",this.openEnd),this.opened=!0;const i=r(this.el,"header"),t=r(this.el,W);this.titleId=d(i),this.contentId=d(t),this.embedded||(0===J&&(K=document.documentElement.style.overflow),J++,document.documentElement.style.setProperty("overflow","hidden"))}removeOverflowHiddenClass(){document.documentElement.style.setProperty("overflow",K)}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{focusTrapDisabled:["handleFocusTrapDisabled"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"],open:["toggleModal"],opened:["handleOpenedChange"]}}};N.style=":host{--calcite-modal-scrim-background:rgba(0, 0, 0, 0.85);position:absolute;inset:0px;z-index:var(--calcite-z-index-overlay);display:flex;opacity:0;visibility:hidden !important;transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);--calcite-modal-scrim-background-internal:rgba(0, 0, 0, 0.85)}.content-top[hidden],.content-bottom[hidden]{display:none}.container{position:fixed;inset:0px;z-index:var(--calcite-z-index-overlay);display:flex;align-items:center;justify-content:center;overflow-y:hidden;color:var(--calcite-color-text-2);opacity:0;visibility:hidden !important;transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88)}:host([scale=s]){--calcite-modal-padding-internal:0.75rem;--calcite-modal-padding-large-internal:1rem;--calcite-modal-title-text-internal:var(--calcite-font-size-1);--calcite-modal-content-text-internal:var(--calcite-font-size--1)}:host([scale=m]){--calcite-modal-padding-internal:1rem;--calcite-modal-padding-large-internal:1.25rem;--calcite-modal-title-text-internal:var(--calcite-font-size-2);--calcite-modal-content-text-internal:var(--calcite-font-size-0)}:host([scale=l]){--calcite-modal-padding-internal:1.25rem;--calcite-modal-padding-large-internal:1.5rem;--calcite-modal-title-text-internal:var(--calcite-font-size-3);--calcite-modal-content-text-internal:var(--calcite-font-size-1)}.scrim{--calcite-scrim-background:var(--calcite-modal-scrim-background, var(--calcite-color-transparent-scrim));position:fixed;inset:0px;display:flex;overflow-y:hidden}.modal{pointer-events:none;z-index:var(--calcite-z-index-modal);float:none;margin:1.5rem;box-sizing:border-box;display:flex;inline-size:100%;flex-direction:column;overflow:hidden;border-radius:0.25rem;background-color:var(--calcite-color-foreground-1);opacity:0;--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-overflow-scrolling:touch;visibility:hidden;transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);--calcite-modal-hidden-position:translate3d(0, 20px, 0);--calcite-modal-shown-position:translate3d(0, 0, 0)}.modal--opening-idle{transform:var(--calcite-modal-hidden-position)}.modal--opening-active{transform:var(--calcite-modal-shown-position)}.modal--closing-idle{transform:var(--calcite-modal-shown-position)}.modal--closing-active{transform:var(--calcite-modal-hidden-position)}:host([opened]){opacity:1;visibility:visible !important;transition-delay:0ms}.container--open{opacity:1;visibility:visible !important;transition-delay:0ms}.container--open .modal{pointer-events:auto;visibility:visible;opacity:1;transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition-delay:0ms}.header{z-index:var(--calcite-z-index-header);display:flex;min-inline-size:0px;max-inline-size:100%;border-start-start-radius:0.25rem;border-start-end-radius:0.25rem;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-color-border-3);background-color:var(--calcite-color-foreground-1);flex:0 0 auto}.close{order:2;margin:0px;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-style:none;background-color:transparent;color:var(--calcite-color-text-3);outline-color:transparent;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-internal);flex:0 0 auto}.close calcite-icon{pointer-events:none;vertical-align:-2px}.close:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.close:hover,.close:focus,.close:active{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1)}.title{order:1;display:flex;min-inline-size:0px;align-items:center;flex:1 1 auto;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-large-internal)}slot[name=header]::slotted(*),*::slotted([slot=header]){margin:0px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-1);font-size:var(--calcite-modal-title-text-internal)}.content{position:relative;box-sizing:border-box;display:block;block-size:100%;overflow:auto;padding:0px;background-color:var(--calcite-modal-content-background, var(--calcite-color-foreground-1));max-block-size:100%;padding:var(--calcite-modal-content-padding, var(--calcite-modal-padding-internal))}.content-top,.content-bottom{z-index:var(--calcite-z-index-header);display:flex;border-width:0px;border-style:solid;border-color:var(--calcite-color-border-3);background-color:var(--calcite-color-foreground-1);flex:0 0 auto;padding:var(--calcite-modal-padding-internal)}.content-top{min-inline-size:0px;max-inline-size:100%;border-block-end-width:1px}.content-bottom{margin-block-start:auto;box-sizing:border-box;inline-size:100%;justify-content:space-between;border-block-start-width:1px}.content-top:not(.header~.content-top){border-start-start-radius:0.25rem;border-start-end-radius:0.25rem}.content-bottom:not(.content-bottom~.footer),.content--no-footer{border-end-end-radius:0.25rem;border-end-start-radius:0.25rem}slot[name=content]::slotted(*),*::slotted([slot=content]){font-size:var(--calcite-modal-context-text-internal)}.footer{z-index:var(--calcite-z-index-header);margin-block-start:auto;box-sizing:border-box;display:flex;inline-size:100%;justify-content:space-between;border-end-end-radius:0.25rem;border-end-start-radius:0.25rem;border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-color-border-3);background-color:var(--calcite-color-foreground-1);flex:0 0 auto;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-large-internal)}.footer--hide-back .back,.footer--hide-secondary .secondary{display:none}.back{display:block;margin-inline-end:auto}.secondary{margin-inline:0.25rem;display:block}slot[name=primary]{display:block}:host([width=small]) .modal{inline-size:auto}:host([width-scale=s]) .modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 32rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 35rem){:host([width-scale=s]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}:host([width-scale=s]) .content{flex:1 1 auto;max-block-size:unset}:host([width-scale=s][docked]) .container{align-items:flex-end}}:host([width-scale=m]) .modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 48rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 51rem){:host([width-scale=m]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}:host([width-scale=m]) .content{flex:1 1 auto;max-block-size:unset}:host([width-scale=m][docked]) .container{align-items:flex-end}}:host([width-scale=l]) .modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 94rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 97rem){:host([width-scale=l]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}:host([width-scale=l]) .content{flex:1 1 auto;max-block-size:unset}:host([width-scale=l][docked]) .container{align-items:flex-end}}:host([fullscreen]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px;--calcite-modal-hidden-position:translate3D(0, 20px, 0) scale(0.95);--calcite-modal-shown-position:translate3D(0, 0, 0) scale(1)}:host([fullscreen]) .content{max-block-size:100%;flex:1 1 auto}:host([opened][fullscreen]) .header,:host([opened][fullscreen]) .footer,:host([opened][fullscreen]) .content-top,:host([opened][fullscreen]) .content-bottom{border-radius:0}:host([docked]) .modal{block-size:var(--calcite-modal-height, auto)}:host([docked]) .content{block-size:auto;flex:1 1 auto}:host([kind=brand]) .modal{border-color:var(--calcite-color-brand)}:host([kind=danger]) .modal{border-color:var(--calcite-color-status-danger)}:host([kind=info]) .modal{border-color:var(--calcite-color-status-info)}:host([kind=success]) .modal{border-color:var(--calcite-color-status-success)}:host([kind=warning]) .modal{border-color:var(--calcite-color-status-warning)}:host([kind=brand]) .modal,:host([kind=danger]) .modal,:host([kind=info]) .modal,:host([kind=success]) .modal,:host([kind=warning]) .modal{border-width:0px;border-block-start-width:4px;border-style:solid}:host([kind=brand]) .header,:host([kind=brand]) .content-top,:host([kind=danger]) .header,:host([kind=danger]) .content-top,:host([kind=info]) .header,:host([kind=info]) .content-top,:host([kind=success]) .header,:host([kind=success]) .content-top,:host([kind=warning]) .header,:host([kind=warning]) .content-top{border-radius:0.25rem;border-end-end-radius:0px;border-end-start-radius:0px}@media screen and (max-width: 860px){* slot[name=header]::slotted(content-top),* content-top::slotted([slot=header]){font-size:var(--calcite-font-size-1)}.footer,.content-bottom{position:sticky;inset-block-end:0px}}@media screen and (max-width: 480px){.footer,.content-bottom{flex-direction:column}.back,.secondary{margin:0px;margin-block-end:0.25rem}}.container--embedded{position:absolute;pointer-events:auto}.container--embedded calcite-scrim{position:absolute}:host([hidden]){display:none}[hidden]{display:none}";export{N as calcite_modal}
|
@@ -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 e,h as o}from"./p-f4c4a2b7.js";import{l as r}from"./p-b1c71e50.js";import"./p-ca42f3d3.js";r.deprecated("component",{name:"tip-group",removalVersion:4,suggested:["carousel","carousel-item"]});const t=class{constructor(o){e(this,o),this.groupTitle=void 0}render(){return o("slot",{key:"c0b850aee69bf797ee288d75f02201f9a318c4ba"})}};t.style=":host{box-sizing:border-box;display:block;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-color-text-2)}::slotted(calcite-tip){margin:0px;border-style:none;max-inline-size:var(--calcite-tip-max-width)}:host([hidden]){display:none}[hidden]{display:none}";export{t as calcite_tip_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 n,c as t,h as i,H as e,g as a}from"./p-f4c4a2b7.js";import{l as o}from"./p-65581d83.js";import{g as s}from"./p-09d62c22.js";import{g as r}from"./p-a9a72626.js";import"./p-6a68306c.js";import"./p-d4056c1c.js";import"./p-af2c8aa9.js";const p="instant-apps-export calcite-mode-light",l="instant-apps-export-print",c="instant-apps-export-print__legend-container",d="instant-apps-export-print__compass-container",h="instant-apps-export-print__scale-bar-container",u="instant-apps-export-print__popup-container",v="instant-apps-export-print__popup-content",_="instant-apps-export-print__popup-title",x="instant-apps-export-print__view",b="instant-apps-export-print__view-container",g="instant-apps-export-print__views-container",f="instant-apps-export-print__view-wrapper",m="instant-apps-export-print__view-content",w="instant-apps-export-print__view-header",k=class{constructor(i){n(this,i),this.exportOutputUpdated=t(this,"exportOutputUpdated",7),this.legends={},this.compasses={},this.output=void 0,this.beforeExport=()=>Promise.resolve(),this.popoverIcon="export",this.includeLegend=!0,this.includeMap=!0,this.includePopup=!1,this.includeHeader=!1,this.mode="popover",this.popoverPositioning="absolute",this.popoverPlacement="auto",this.scale="m",this.showIncludeLegend=!0,this.showIncludeMap=!1,this.showIncludePopup=!0,this.showIncludeHeader=!0,this.showScaleBar=!1,this.exportViews=void 0,this.baseClass=p,this.exportIsLoading=void 0,this.messages=void 0}watchIncludeMap(n){var t;n&&(null===(t=this.exportViews)||void 0===t||t.forEach((({view:n},t)=>{const i=this.printEl.querySelector(`#legend-${t}`);null!=i&&this.updateLegend(n,t,i)})))}watchView(){var n;null===(n=this.exportViews)||void 0===n||n.forEach((({view:n},t)=>{this.handleIncludePopup(n,t)}))}async componentWillLoad(){this.baseClass="dark"===r(this.el)?"instant-apps-export calcite-mode-dark":p,s(this),await this.initializeModules()}componentDidLoad(){var n;this.printContainerEl.prepend(this.printEl),null===(n=this.exportViews)||void 0===n||n.forEach((({view:n},t)=>{this.handleIncludePopup(n,t)}))}componentDidUpdate(){var n;null===(n=this.exportViews)||void 0===n||n.forEach((({view:n},t)=>{const i=this.printEl.querySelector(`#legend-${t}`);this.updateLegend(n,t,i)}))}async initializeModules(){const[n,t]=await o(["esri/core/Handles","esri/core/reactiveUtils"]);return this.handles=new n,this.reactiveUtils=t,Promise.resolve()}render(){const n="popover"===this.mode?this.renderPopover():this.renderPanel();return i(e,{key:"1b0428743837a0f1c176cba3e58af38104f4ac7b"},i("div",{key:"8d39535015a0e5ab498a66c8757c28ae556bd326",class:this.baseClass,onMouseEnter:this.handleWidgetCreation.bind(this),onFocusin:this.handleWidgetCreation.bind(this)},n))}renderPopover(){var n,t,e;const a=this.renderPanel();return[i("calcite-popover",{referenceElement:"export-popover-btn",label:null===(n=this.messages)||void 0===n?void 0:n.exportPopover,overlayPositioning:this.popoverPositioning,placement:this.popoverPlacement,autoClose:!0,ref:n=>this.popoverEl=n},a),i("calcite-action",{id:"export-popover-btn",alignment:"center",icon:this.popoverIcon,scale:this.scale,title:null===(t=this.messages)||void 0===t?void 0:t.exportBtn,text:null===(e=this.messages)||void 0===e?void 0:e.exportBtn})]}renderPanel(){var n;const t=this.showIncludeMap?this.renderSwitch("includeMap"):null,e=this.includeMap?this.renderMapOptions():null,a=this.renderPrint();return i("div",{class:"inline"===this.mode?"instant-apps-export__inline-container":"instant-apps-export__popover-container"},t,e,i("calcite-button",{width:"full",onClick:this.exportOnClick.bind(this),disabled:this.exportIsLoading},null===(n=this.messages)||void 0===n?void 0:n.export),a)}renderSwitch(n,t){var e;const a=null!=t?t:null===(e=this.messages)||void 0===e?void 0:e[n];return i("calcite-label",{layout:"inline-space-between"},a,i("calcite-switch",{checked:this[n],value:n,onCalciteSwitchChange:this.optionOnChange.bind(this)}))}renderMapOptions(){const n=this.showIncludeHeader?this.renderSwitch("includeHeader","Include header"):null,t=this.showIncludeLegend?this.renderSwitch("includeLegend"):null,e=this.showIncludePopup?this.renderSwitch("includePopup"):null;return i("div",null,n,t,e)}renderPrint(){var n;return i("div",{ref:n=>this.printContainerEl=n},i("div",{class:l,ref:n=>this.printEl=n},i("div",{class:g},null===(n=this.exportViews)||void 0===n?void 0:n.map((({title:n,view:t},e)=>{var a,o;const s=null===(o=null===(a=t.map)||void 0===a?void 0:a.portalItem)||void 0===o?void 0:o.id,r=this.includeMap?this.renderPrintMap(n,e):null,p=this.includeMap&&this.showIncludeLegend?this.renderLegend(e):null,l=this.includeMap&&this.showIncludePopup?this.renderPopup(e):null;return i("div",{key:s,id:`print-${e}`,class:m},r,p,l)})))))}renderPrintMap(n,t){return i("div",{id:`view-container-${t}`,class:b},i("div",{id:`view-wrapper-${t}`,class:f},this.includeHeader&&n?i("div",{class:w},i("h1",null,n)):null,i("img",{id:`view-${t}`,class:x}),i("div",{id:`scalebar-container-${t}`,class:h})))}renderLegend(n){return i("div",{id:`legend-${n}`,class:c})}renderCompass(n){return i("div",{id:`compass-${n}`,class:d})}renderPopup(n){return i("div",{id:`popup-${n}`,class:u},i("div",{id:`popup-title-${n}`,class:_}),i("div",{id:`popup-content-${n}`,class:v}))}optionOnChange(n){const{checked:t,value:i}=n.target;this[i]=t,this.updateExportOutput()}async exportOnClick(){var n;await this.beforeExport(),(null===(n=this.exportViews)||void 0===n?void 0:n.length)?(this.addPrintStyling(),document.body.prepend(this.printEl),this.exportViews.forEach((({view:n},t)=>{this.handleViewExportOnClick(n,t)})),this.handleImgLoaded()):null!=this.popoverEl&&(this.popoverEl.open=!1)}async handleViewExportOnClick(n,t){this.includeMap&&(this.updateScaleBar(n,t),this.updatePopupToPrint(n,t),this.viewScreenshot(n,t),this.handleLegendSetup(t))}addPrintStyling(){null==this.printStyleEl&&(this.printStyleEl=document.createElement("style"),this.printStyleEl.innerHTML='\n @media print {\n @page {\n size: Portrait;\n margin: .25in;\n }\n\n html, body {\n padding: 0;\n margin: 0;\n height: 100%;\n width: 100%;\n }\n\n body > *:not(.instant-apps-export-print) { display: none; }\n }\n\n * {\n -webkit-print-color-adjust: exact;\n color-adjust: exact;\n }\n\n instant-apps-header {\n height: 50px;\n display: block;\n }\n\n\n .instant-apps-export-print {\n z-index: -999;\n color: #323232 !important;\n display: grid;\n grid-auto-flow: row;\n --esri-calcite-mode-name: "light";\n position: absolute;\n }\n\n .instant-apps-export-print__view-header {\n background: #fff;\n }\n\n .instant-apps-export-print__view-header h1 {\n font-size: 16px;\n font-weight: 500;\n color: #323232;\n margin: 6px;\n }\n\n .instant-apps-export-print__views-container {\n height: 100%;\n width: 100%;\n display: flex;\n flex-direction: column;\n }\n\n .instant-apps-export-print__view-content:first-child {\n page-break-before: unset;\n } \n\n .instant-apps-export-print__view-content {\n height: 100%;\n display: flex;\n flex-direction: column;\n gap: 32px;\n page-break-before: always;\n }\n\n .instant-apps-export-print, .instant-apps-export-print * {\n box-sizing: border-box;\n }\n\n .instant-apps-export-print__view-section {\n height: 100%;\n }\n\n .instant-apps-export-print__view-container {\n height: 100%;\n width: 100%;\n break-inside: avoid;\n }\n\n .instant-apps-export-print__view-wrapper {\n height: fit-content;\n width: min-content;\n position: relative;\n display: flex;\n flex-direction: column;\n border: 2pt solid #323232;\n overflow: hidden;\n }\n\n .instant-apps-export-print__view {\n max-height: 60vh;\n max-width: calc(100vw - .25in);\n object-fit: contain;\n }\n\n .instant-apps-export-print__popup-container {\n height: min-content;\n max-width: 350px;\n display: none;\n color: #323232;\n background: #fff;\n border: 1pt solid #323232;\n break-inside: avoid;\n }\n\n .instant-apps-export-print__popup-title {\n border-bottom: 1pt solid #323232;\n }\n\n .instant-apps-export-print__popup-content {\n background: #fff;\n padding-top: 8pt;\n }\n\n .instant-apps-export-print__popup-content .esri-feature-media__chart {\n background: #fff;\n }\n\n .instant-apps-export-print__legend-container {\n height: min-content;\n background: #fff;\n overflow: unset;\n }\n\n .esri-legend--card, .esri-legend--card__service-content {\n flex-flow: row wrap;\n }\n\n .instant-apps-export-print .esri-widget > *:not(.esri-scale-bar.esri-widget > *) {\n background: #fff;\n color: #323232;\n }\n\n .instant-apps-export-print__popup-content * {\n color: #323232;\n }\n\n .instant-apps-export-print .esri-widget__heading {\n margin: 2pt 7pt;\n padding: 0;\n color: #323232;\n }\n\n .instant-apps-export-print .esri-legend__ramp-label:before {\n border-color: rgba(0,0,0,0) rgba(50,50,50,.8) rgba(0,0,0,0) rgba(0,0,0,0);\n }\n\n .instant-apps-export-print .esri-legend--card__section {\n padding: 4pt 0 4pt;\n min-width: unset;\n border-left: none;\n }\n\n .instant-apps-export-print .esri-legend--card__section:first-child {\n border-left: none;\n }\n\n .instant-apps-export-print .esri-legend--card__service {\n border: none;\n flex: 0 1 auto;\n break-inside: avoid;\n }\n\n .instant-apps-export-print .esri-legend--card {\n border: none;\n gap: 6pt 12pt;\n }\n\n .instant-apps-export-print .esri-legend--card:not(:first-child),\n .instant-apps-export-print .esri-compass.esri-widget:not(:first-child) {\n display: none;\n }\n\n .instant-apps-export-print .esri-legend--card__service-caption-container {\n height: unset;\n padding: 0;\n border-bottom: none;\n }\n\n .instant-apps-export-print .esri-legend--card__service-caption-text {\n padding-bottom: 4px;\n }\n\n .instant-apps-export-print__compass-container {\n position: absolute;\n top: 65px;\n left: 15px;\n background: #fff;\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);\n --calcite-ui-icon-color: #000;\n border-radius: 50%;\n height: fit-content;\n }\n\n .instant-apps-export-print__compass-container .esri-compass {\n background: #fff;\n }\n\n .instant-apps-export-print__compass-container .esri-compass__icon.esri-icon-compass {\n color: #000;\n }\n\n .instant-apps-export-print__compass-container.esri-compass.esri-widget--button {\n background: #fff;\n }\n\n .instant-apps-export-print__scale-bar-container {\n width: 100%;\n position: absolute;\n bottom: 15px;\n margin: 0 15px;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__label {\n color: #323232;\n font-size: 10px;\n padding: 0 4px;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__label-container--line {\n height: 16px;\n overflow: hidden;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__label-container--top {\n bottom: 1px;\n }\n \n .instant-apps-export-print__scale-bar-container--position .esri-scale-bar__label {\n height: 10px;\n padding: 0 2px;\n line-height: 11px;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__bar-container:nth-child(1n+3) {\n display: none;\n }\n\n .instant-apps-export-print__scale-bar-container--position .esri-scale-bar__bar-container.esri-scale-bar__bar-container--line {\n align-items: center;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line {\n background-color: rgba(255, 255, 255, 0.66);\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--top {\n width: var(--instant-apps-scale-bar-top) !important;\n border-bottom: 2px solid #323232;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--bottom {\n width: var(--instant-apps-scale-bar-bottom) !important;\n border-top: 2px solid #323232;\n }\n\n .instant-apps-export-print__scale-bar-container--position .esri-scale-bar__label-container--line {\n position: unset;\n margin: 0 2px;\n background-color: rgba(255, 255, 255, 0.66);\n height: 10px;\n display: flex;\n align-items: center;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--top:before,\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--top:after,\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--bottom:before,\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--bottom:after {\n background-color: #323232;\n border-right: 2px solid #323232;\n }\n\n .instant-apps-export-print__popup-container .esri-feature-media__item-navigation {\n display: none;\n }\n\n .instant-apps-export-print__popup-container .esri-feature-media__chart.esri-feature-media__chart--rendered * {\n width: 100%!important;\n }\n\n .instant-apps-export-print__popup-content .esri-popup__content {\n margin: 0;\n }',document.body.prepend(this.printStyleEl))}handleImgLoaded(){this.exportIsLoading=!0,setTimeout((()=>{this.exportIsLoading=void 0,this.setupViewPrintElements()}),1500)}resetPrintContent(){}async updatePopupToPrint(n,t){var i,e;const a=this.printEl.querySelector(`#popup-${t}`);if(null!=a&&(a.style.display=this.includePopup&&n.popup.visible?"block":"none",this.checkPopupOpen(n,t)),n.popup.visible&&null!=n.popup.selectedFeature){const a=document.createElement(`h${null!==(i=n.popup.headingLevel)&&void 0!==i?i:2}`);a.innerHTML=null!==(e=n.popup.title)&&void 0!==e?e:"",a.className="esri-widget__heading esri-popup__header-title";const o=this.printEl.querySelector(`#popup-title-${t}`);null!=o&&(o.style.display=n.popup.title?"block":"none",o.innerHTML="",o.prepend(a))}}updateExportOutput(){this.output={},this.showIncludeLegend&&(this.output.includeLegend=this.includeLegend),this.showIncludeMap&&(this.output.includeMap=this.includeMap),this.showIncludePopup&&(this.output.includePopup=this.includePopup),this.showIncludeHeader&&(this.output.includeHeader=this.includeHeader),this.exportOutputUpdated.emit()}setupViewPrintElements(){const n=document.title;window.print(),document.title=n,setTimeout((()=>{this.resetPrintContent()}),1e3)}handleLegendSetup(n){var t;const i=this.printEl.querySelector(`#legend-${n}`);if(this.showIncludeLegend&&this.includeMap&&i){const e=this.legends[n],a=null!=e&&(null===(t=e.activeLayerInfos)||void 0===t?void 0:t.length)>0;i.style.display=this.includeLegend&&a?"block":"none"}}handleWidgetCreation(){var n;this.includeMap&&(null===(n=this.exportViews)||void 0===n||n.forEach((({view:n},t)=>{this.handleLegendCreation(n,t)})))}handleIncludePopup(n,t){var i,e;if(this.showIncludePopup){const a=`includePopup-${t}`;null===(i=this.handles)||void 0===i||i.remove(a),null===(e=this.reactiveUtils)||void 0===e||e.whenOnce((()=>null==n?void 0:n.ready)).then((()=>{var t;null===(t=this.handles)||void 0===t||t.add(this.reactiveUtils.watch((()=>{var t;return null===(t=null==n?void 0:n.popup)||void 0===t?void 0:t.visible}),(n=>{this.includePopup=n})),a)}))}}handleLegendCreation(n,t){var i,e,a,o;const s=this.printEl.querySelector(`#legend-${t}`);if(this.showIncludeLegend&&null!=s){const r=n.map,p=this.legends[t],l=null===(i=null==p?void 0:p.view)||void 0===i?void 0:i.map;null!=(null===(e=null==r?void 0:r.portalItem)||void 0===e?void 0:e.id)&&(null===(a=null==r?void 0:r.portalItem)||void 0===a?void 0:a.id)===(null===(o=null==l?void 0:l.portalItem)||void 0===o?void 0:o.id)||this.updateLegend(n,t,s)}}async updateLegend(n,t,i){null==n||n.when((async n=>{if(null==this.legends[t]&&null!=i){i.innerHTML="";const e=document.createElement("div");i.append(e);const[a]=await o(["esri/widgets/Legend"]);this.legends[t]=new a({id:`legend-widget-${t}`,container:e,view:n,style:{type:"card",layout:"side-by-side"}})}}))}handleCompassCreation(n,t){var i,e,a;const o=this.compassContainerEl.querySelector(`#compass-${t}`);if(null!=o){const s=n.map,r=this.compasses[t],p=null===(i=null==r?void 0:r.view)||void 0===i?void 0:i.map;(null===(e=null==s?void 0:s.portalItem)||void 0===e?void 0:e.id)===(null===(a=null==p?void 0:p.portalItem)||void 0===a?void 0:a.id)||this.updateCompass(n,t,o)}}updateCompass(n,t,i){null==n||n.when((async n=>{const e=document.createElement("div");if(null==i)return;i.append(e);const[a]=await o(["esri/widgets/Compass"]);this.compasses[t]=new a({id:`compass-widget-${t}`,container:e,view:n})}))}updateScaleBar(n,t){const i=this.printEl.querySelector(`#scalebar-container-${t}`);if(i&&null!=n&&(i.innerHTML="",this.showScaleBar)){const t=n.ui.getComponents(),e=null==t?void 0:t.find((({container:n})=>{var t;return null===(t=null==n?void 0:n.className)||void 0===t?void 0:t.includes("esri-scale-bar")}));null!=(null==e?void 0:e.container)&&"string"!=typeof e.container&&i.append(e.container.cloneNode(!0))}}async viewScreenshot(n,t){if(this.includeMap){const i=this.printEl.querySelector(`#scalebar-container-${t}`);null==i||i.classList.toggle("instant-apps-export-print__scale-bar-container--position",n.width>1e3);const e=await n.takeScreenshot({width:2*n.width,height:2*n.height});this.handleScaleBarSize(n,e,i);const a=this.printEl.querySelector(`#view-${t}`);null!=e&&null!=a&&(a.src=e.dataUrl)}}checkPopupOpen(n,t){const i=n.popup.container,e=null==i?void 0:i.querySelector(".esri-popup .esri-feature__main-container");if(null!=e){const n=e.querySelectorAll("canvas"),i=this.printEl.querySelector(`#popup-content-${t}`);if(null==i)return;i.innerHTML="",i.append(e.cloneNode(!0));const a=i.querySelectorAll("canvas");n.forEach(((n,t)=>{var i;const e=n.toDataURL(),o=document.createElement("img");o.src=e;const s=n.getAttribute("style");s&&o.setAttribute("style",s);const r=a[t];null!=r&&(r.replaceWith(o),document.querySelector("link[href*='esri/themes/dark/main.css']")&&null!=(null===(i=o.parentElement)||void 0===i?void 0:i.parentElement)&&(o.parentElement.style.background="#242424",o.parentElement.parentElement.style.background="#242424"))}))}}handleScaleBarSize(n,t,i){if(this.showScaleBar&&"2d"===(null==n?void 0:n.type)&&null!=i){const n=i.querySelector(".esri-scale-bar__line--top"),e=i.querySelector(".esri-scale-bar__line--bottom");this.setScalebarWidth(t,i,n,"top"),this.setScalebarWidth(t,i,e,"bottom")}}setScalebarWidth(n,t,i,e){if(null!=i&&null!=n){const a=n.data.width/2,o=Number(i.style.width.replace("px",""));null==t||t.style.setProperty(`--instant-apps-scale-bar-${e}`,o/a*100+"%")}}get el(){return a(this)}static get watchers(){return{includeMap:["watchIncludeMap"],exportViews:["watchView"]}}};k.style=":host{display:block;--instant-apps-export-action-background:var(--calcite-color-foreground-1);--instant-apps-export-action-background-hover:var(--calcite-color-foreground-2);--instant-apps-export-action-background-press:var(--calcite-color-foreground-3);--instant-apps-export-action-height:100%;--instant-apps-export-action-width:fit-content;--instant-apps-export-action-icon-color:var(--calcite-color-text-3);--instant-apps-export-action-icon-hover-color:var(--calcite-color-text-1);--instant-apps-export-background:var(--calcite-color-foreground-1);--instant-apps-export-text-color:var(--calcite-color-text-1);--instant-apps-export-popover-width:250px}.instant-apps-export{height:100%}.instant-apps-export *{box-sizing:border-box}.instant-apps-export__popover-container,.instant-apps-export__inline-container{padding:12px;background:var(--instant-apps-export-background);--calcite-color-text-1:var(--instant-apps-export-text-color)}.instant-apps-export__popover-container{width:var(--instant-apps-export-popover-width)}.instant-apps-export calcite-action{height:var(--instant-apps-export-action-height);width:var(--instant-apps-export-action-width);--calcite-color-foreground-1:var(--instant-apps-export-action-background);--calcite-color-foreground-2:var(--instant-apps-export-action-background-hover);--calcite-color-foreground-3:var(--instant-apps-export-action-background-press);--calcite-color-text-3:var(--instant-apps-export-action-icon-color);--calcite-color-text-1:var(--instant-apps-export-action-icon-hover-color)}.instant-apps-export .instant-apps-export-print{display:none}.instant-apps-export__visually-hidden{position:absolute;top:0;z-index:-1;visibility:hidden}.instant-apps-export calcite-input{--calcite-color-foreground-1:var(--instant-apps-export-background);--calcite-color-text-1:var(--instant-apps-export-text-color)}.instant-apps-export calcite-popover{--calcite-color-foreground-1:var(--instant-apps-export-background)}.instant-apps-export calcite-switch{--calcite-color-foreground-1:#fff;--calcite-color-foreground-2:#f3f3f3}.instant-apps-export calcite-button:last-of-type{margin-top:0.5rem}.instant-apps-export .calcite-mode-dark calcite-switch{--calcite-color-foreground-1:#2b2b2b;--calcite-color-foreground-2:#202020}.instant-apps-export__compass-container.esri-widget{background:#fff;box-shadow:0 1px 2px rgba(0, 0, 0, 0.3)}.instant-apps-export__compass-container.esri-widget .esri-compass__icon.esri-icon-compass{color:#6e6e6e}.hide{display:none}.screenshotCursor{cursor:crosshair}";export{k as instant_apps_export_views}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
var t=Object.defineProperty,e=new WeakMap,n=t=>e.get(t),o=(t,n)=>e.set(n.t=t,n),l=(t,e)=>e in t,s=(t,e)=>(0,console.error)(t,e),r=new Map,i=new Map,c="slot-fb{display:contents}slot-fb[hidden]{display:none}",u="http://www.w3.org/1999/xlink",a="undefined"!=typeof window?window:{},f=a.document||{head:{}},d={o:0,l:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,o)=>t.addEventListener(e,n,o),rel:(t,e,n,o)=>t.removeEventListener(e,n,o),ce:(t,e)=>new CustomEvent(t,e)},h=t=>Promise.resolve(t),p=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(t){}return!1})(),m=!1,v=[],y=[],w=(t,e)=>n=>{t.push(n),m||(m=!0,e&&4&d.o?g(b):d.raf(b))},$=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){s(t)}t.length=0},b=()=>{$(v),$(y),(m=v.length>0)&&d.raf(b)},g=t=>h().then(t),k=w(v,!1),S=w(y,!0),j=t=>{const e=new URL(t,d.l);return e.origin!==a.location.origin?e.href:e.pathname},O={},E=t=>"object"==(t=typeof t)||"function"===t;function C(t){var e,n,o;return null!=(o=null==(n=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}((e,n)=>{for(var o in n)t(e,o,{get:n[o],enumerable:!0})})({},{err:()=>M,map:()=>R,ok:()=>x,unwrap:()=>A,unwrapErr:()=>F});var x=t=>({isOk:!0,isErr:!1,value:t}),M=t=>({isOk:!1,isErr:!0,value:t});function R(t,e){if(t.isOk){const n=e(t.value);return n instanceof Promise?n.then((t=>x(t))):x(n)}if(t.isErr)return M(t.value);throw"should never get here"}var P,T,U,A=t=>{if(t.isOk)return t.value;throw t.value},F=t=>{if(t.isErr)return t.value;throw t.value},L=(t,e,...n)=>{let o=null,l=null,s=null,r=!1,i=!1;const c=[],u=e=>{for(let n=0;n<e.length;n++)o=e[n],Array.isArray(o)?u(o):null!=o&&"boolean"!=typeof o&&((r="function"!=typeof t&&!E(o))&&(o+=""),r&&i?c[c.length-1].i+=o:c.push(r?W(null,o):o),i=r)};if(u(n),e){e.key&&(l=e.key),e.name&&(s=e.name);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}if("function"==typeof t)return t(null===e?{}:e,c,N);const a=W(t,null);return a.u=e,c.length>0&&(a.h=c),a.p=l,a.m=s,a},W=(t,e)=>({o:0,v:t,i:e,$:null,h:null,u:null,p:null,m:null}),D={},N={forEach:(t,e)=>t.map(H).forEach(e),map:(t,e)=>t.map(H).map(e).map(q)},H=t=>({vattrs:t.u,vchildren:t.h,vkey:t.p,vname:t.m,vtag:t.v,vtext:t.i}),q=t=>{if("function"==typeof t.vtag){const e={...t.vattrs};return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),L(t.vtag,e,...t.vchildren||[])}const e=W(t.vtag,t.vtext);return e.u=t.vattrs,e.h=t.vchildren,e.p=t.vkey,e.m=t.vname,e},B=t=>n(t).$hostElement$,G=(t,e,n)=>{const o=B(t);return{emit:t=>V(o,e,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:t})}},V=(t,e,n)=>{const o=d.ce(e,n);return t.dispatchEvent(o),o},_=new WeakMap,z=t=>"sc-"+t.k,I=(t,e,n,o,s,r)=>{if(n!==o){let i=l(t,e),c=e.toLowerCase();if("class"===e){const e=t.classList,l=K(n),s=K(o);e.remove(...l.filter((t=>t&&!s.includes(t)))),e.add(...s.filter((t=>t&&!l.includes(t))))}else if("style"===e){for(const e in n)o&&null!=o[e]||(e.includes("-")?t.style.removeProperty(e):t.style[e]="");for(const e in o)n&&o[e]===n[e]||(e.includes("-")?t.style.setProperty(e,o[e]):t.style[e]=o[e])}else if("key"===e);else if("ref"===e)o&&o(t);else if(i||"o"!==e[0]||"n"!==e[1]){const l=E(o);if((i||l&&null!==o)&&!s)try{if(t.tagName.includes("-"))t[e]=o;else{const l=null==o?"":o;"list"===e?i=!1:null!=n&&t[e]==l||(t[e]=l)}}catch(t){}let a=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(e=c,a=!0),null==o||!1===o?!1===o&&""!==t.getAttribute(e)||(a?t.removeAttributeNS(u,e):t.removeAttribute(e)):(!i||4&r||s)&&!l&&(o=!0===o?"":o,a?t.setAttributeNS(u,e,o):t.setAttribute(e,o))}else if(e="-"===e[2]?e.slice(3):l(a,c)?c.slice(2):c[2]+e.slice(3),n||o){const l=e.endsWith(Q);e=e.replace(X,""),n&&d.rel(t,e,n,l),o&&d.ael(t,e,o,l)}}},J=/\s/,K=t=>t?t.split(J):[],Q="Capture",X=RegExp(Q+"$"),Y=(t,e,n)=>{const o=11===e.$.nodeType&&e.$.host?e.$.host:e.$,l=t&&t.u||O,s=e.u||O;for(const t of Z(Object.keys(l)))t in s||I(o,t,l[t],void 0,n,e.o);for(const t of Z(Object.keys(s)))I(o,t,l[t],s[t],n,e.o)};function Z(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var tt=!1,et=!1,nt=!1,ot=!1,lt=(t,e,n,o)=>{var l;const s=e.h[n];let r,i,c,u=0;if(tt||(nt=!0,"slot"===s.v&&(P&&o.classList.add(P+"-s"),s.o|=s.h?2:1)),null!==s.i)r=s.$=f.createTextNode(s.i);else if(1&s.o)r=s.$=f.createTextNode("");else{if(ot||(ot="svg"===s.v),r=s.$=f.createElementNS(ot?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!tt&&2&s.o?"slot-fb":s.v),ot&&"foreignObject"===s.v&&(ot=!1),Y(null,s,ot),null!=P&&r["s-si"]!==P&&r.classList.add(r["s-si"]=P),$t(r,o),s.h)for(u=0;u<s.h.length;++u)i=lt(t,s,u,r),i&&r.appendChild(i);"svg"===s.v?ot=!1:"foreignObject"===r.tagName&&(ot=!0)}return r["s-hn"]=U,3&s.o&&(r["s-sr"]=!0,r["s-cr"]=T,r["s-sn"]=s.m||"",r["s-rf"]=null==(l=s.u)?void 0:l.ref,c=t&&t.h&&t.h[n],c&&c.v===s.v&&t.$&&st(t.$,!1)),r},st=(t,e)=>{d.o|=1;const n=Array.from(t.childNodes);for(let t=n.length-1;t>=0;t--){const o=n[t];o["s-hn"]!==U&&o["s-ol"]&&(yt(at(o),o,ut(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,nt=!0),e&&st(o,e)}d.o&=-2},rt=(t,e,n,o,l,s)=>{let r,i=t["s-cr"]&&t["s-cr"].parentNode||t;for(i.shadowRoot&&i.tagName===U&&(i=i.shadowRoot);l<=s;++l)o[l]&&(r=lt(null,n,l,t),r&&(o[l].$=r,yt(i,r,ut(e))))},it=(t,e,n)=>{for(let o=e;o<=n;++o){const e=t[o];if(e){const t=e.$;vt(e),t&&(et=!0,t["s-ol"]?t["s-ol"].remove():st(t,!0),t.remove())}}},ct=(t,e,n=!1)=>t.v===e.v&&("slot"===t.v?t.m===e.m:!!n||t.p===e.p),ut=t=>t&&t["s-ol"]||t,at=t=>(t["s-ol"]?t["s-ol"]:t).parentNode,ft=(t,e,n=!1)=>{const o=e.$=t.$,l=t.h,s=e.h,r=e.v,i=e.i;let c;null===i?(ot="svg"===r||"foreignObject"!==r&&ot,("slot"!==r||tt)&&Y(t,e,ot),null!==l&&null!==s?((t,e,n,o,l=!1)=>{let s,r,i=0,c=0,u=0,a=0,f=e.length-1,d=e[0],h=e[f],p=o.length-1,m=o[0],v=o[p];for(;i<=f&&c<=p;)if(null==d)d=e[++i];else if(null==h)h=e[--f];else if(null==m)m=o[++c];else if(null==v)v=o[--p];else if(ct(d,m,l))ft(d,m,l),d=e[++i],m=o[++c];else if(ct(h,v,l))ft(h,v,l),h=e[--f],v=o[--p];else if(ct(d,v,l))"slot"!==d.v&&"slot"!==v.v||st(d.$.parentNode,!1),ft(d,v,l),yt(t,d.$,h.$.nextSibling),d=e[++i],v=o[--p];else if(ct(h,m,l))"slot"!==d.v&&"slot"!==v.v||st(h.$.parentNode,!1),ft(h,m,l),yt(t,h.$,d.$),h=e[--f],m=o[++c];else{for(u=-1,a=i;a<=f;++a)if(e[a]&&null!==e[a].p&&e[a].p===m.p){u=a;break}u>=0?(r=e[u],r.v!==m.v?s=lt(e&&e[c],n,u,t):(ft(r,m,l),e[u]=void 0,s=r.$),m=o[++c]):(s=lt(e&&e[c],n,c,t),m=o[++c]),s&&yt(at(d.$),s,ut(d.$))}i>f?rt(t,null==o[p+1]?null:o[p+1].$,n,o,c,p):c>p&&it(e,i,f)})(o,l,e,s,n):null!==s?(null!==t.i&&(o.textContent=""),rt(o,null,e,s,0,s.length-1)):null!==l&&it(l,0,l.length-1),ot&&"svg"===r&&(ot=!1)):(c=o["s-cr"])?c.parentNode.textContent=i:t.i!==i&&(o.data=i)},dt=t=>{const e=t.childNodes;for(const t of e)if(1===t.nodeType){if(t["s-sr"]){const n=t["s-sn"];t.hidden=!1;for(const o of e)if(o!==t)if(o["s-hn"]!==t["s-hn"]||""!==n){if(1===o.nodeType&&(n===o.getAttribute("slot")||n===o["s-sn"])||3===o.nodeType&&n===o["s-sn"]){t.hidden=!0;break}}else if(1===o.nodeType||3===o.nodeType&&""!==o.textContent.trim()){t.hidden=!0;break}}dt(t)}},ht=[],pt=t=>{let e,n,o;for(const l of t.childNodes){if(l["s-sr"]&&(e=l["s-cr"])&&e.parentNode){n=e.parentNode.childNodes;const t=l["s-sn"];for(o=n.length-1;o>=0;o--)if(e=n[o],!e["s-cn"]&&!e["s-nr"]&&e["s-hn"]!==l["s-hn"])if(mt(e,t)){let n=ht.find((t=>t.S===e));et=!0,e["s-sn"]=e["s-sn"]||t,n?(n.S["s-sh"]=l["s-hn"],n.j=l):(e["s-sh"]=l["s-hn"],ht.push({j:l,S:e})),e["s-sr"]&&ht.map((t=>{mt(t.S,e["s-sn"])&&(n=ht.find((t=>t.S===e)),n&&!t.j&&(t.j=n.j))}))}else ht.some((t=>t.S===e))||ht.push({S:e})}1===l.nodeType&&pt(l)}},mt=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,vt=t=>{t.u&&t.u.ref&&t.u.ref(null),t.h&&t.h.map(vt)},yt=(t,e,n)=>{const o=null==t?void 0:t.insertBefore(e,n);return $t(e,t),o},wt=t=>{const e=[];return t&&e.push(...t["s-scs"]||[],t["s-si"],t["s-sc"],...wt(t.parentElement)),e},$t=(t,e,n=!1)=>{var o;if(t&&e&&1===t.nodeType){const l=new Set(wt(e).filter(Boolean));if(l.size&&(null==(o=t.classList)||o.add(...t["s-scs"]=[...l]),t["s-ol"]||n))for(const e of Array.from(t.childNodes))$t(e,t,!0)}},bt=(t,e)=>{e&&!t.O&&e["s-p"]&&e["s-p"].push(new Promise((e=>t.O=e)))},gt=(t,e)=>{if(t.o|=16,!(4&t.o))return bt(t,t.C),S((()=>kt(t,e)));t.o|=512},kt=(t,e)=>{const n=t.t;if(!n)throw Error(`Can't render component <${t.$hostElement$.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let o;return e?(t.o|=256,t.M&&(t.M.map((([t,e])=>Tt(n,t,e))),t.M=void 0),o=Tt(n,"componentWillLoad")):o=Tt(n,"componentWillUpdate"),o=St(o,(()=>Tt(n,"componentWillRender"))),St(o,(()=>Ot(t,n,e)))},St=(t,e)=>jt(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),jt=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,Ot=async(t,e,n)=>{var o;const l=t.$hostElement$,s=l["s-rc"];n&&(t=>{const e=t.R,n=t.$hostElement$,o=e.o,l=((t,e)=>{var n;const o=z(e),l=i.get(o);if(t=11===t.nodeType?t:f,l)if("string"==typeof l){let s,r=_.get(t=t.head||t);if(r||_.set(t,r=new Set),!r.has(o)){{s=f.createElement("style"),s.innerHTML=l;const e=null!=(n=d.P)?n:C(f);null!=e&&s.setAttribute("nonce",e),t.insertBefore(s,t.querySelector("link"))}4&e.o&&(s.innerHTML+=c),r&&r.add(o)}}else t.adoptedStyleSheets.includes(l)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,l]);return o})(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);10&o&&(n["s-sc"]=l,n.classList.add(l+"-h"),2&o&&n.classList.add(l+"-s"))})(t);Ct(t,e,l,n),s&&(s.map((t=>t())),l["s-rc"]=void 0);{const e=null!=(o=l["s-p"])?o:[],n=()=>Mt(t);0===e.length?n():(Promise.all(e).then(n),t.o|=4,e.length=0)}},Et=null,Ct=(t,e,n,o)=>{try{Et=e,e=e.render(),t.o&=-17,t.o|=2,((t,e,n=!1)=>{var o,l,s,r;const i=t.$hostElement$,c=t.R,u=t.T||W(null,null),a=(t=>t&&t.v===D)(e)?e:L(null,null,e);if(U=i.tagName,c.U&&(a.u=a.u||{},c.U.map((([t,e])=>a.u[e]=i[t]))),n&&a.u)for(const t of Object.keys(a.u))i.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(a.u[t]=i[t]);if(a.v=null,a.o|=4,t.T=a,a.$=u.$=i.shadowRoot||i,P=i["s-sc"],tt=!!(1&c.o),T=i["s-cr"],et=!1,ft(u,a,n),d.o|=1,nt){pt(a.$);for(const t of ht){const e=t.S;if(!e["s-ol"]){const t=f.createTextNode("");t["s-nr"]=e,yt(e.parentNode,e["s-ol"]=t,e)}}for(const t of ht){const e=t.S,i=t.j;if(i){const t=i.parentNode;let n=i.nextSibling;{let s=null==(o=e["s-ol"])?void 0:o.previousSibling;for(;s;){let o=null!=(l=s["s-nr"])?l:null;if(o&&o["s-sn"]===e["s-sn"]&&t===o.parentNode){for(o=o.nextSibling;o===e||(null==o?void 0:o["s-sr"]);)o=null==o?void 0:o.nextSibling;if(!o||!o["s-nr"]){n=o;break}}s=s.previousSibling}}(!n&&t!==e.parentNode||e.nextSibling!==n)&&e!==n&&(!e["s-hn"]&&e["s-ol"]&&(e["s-hn"]=e["s-ol"].parentNode.nodeName),yt(t,e,n),1===e.nodeType&&(e.hidden=null!=(s=e["s-ih"])&&s)),e&&"function"==typeof i["s-rf"]&&i["s-rf"](e)}else 1===e.nodeType&&(n&&(e["s-ih"]=null!=(r=e.hidden)&&r),e.hidden=!0)}}et&&dt(a.$),d.o&=-2,ht.length=0,T=void 0})(t,e,o)}catch(e){s(e,t.$hostElement$)}return Et=null,null},xt=()=>Et,Mt=t=>{const e=t.$hostElement$,n=t.t,o=t.C;Tt(n,"componentDidRender"),64&t.o?Tt(n,"componentDidUpdate"):(t.o|=64,Ut(e),Tt(n,"componentDidLoad"),t.A(e),o||Pt()),t.F(e),t.O&&(t.O(),t.O=void 0),512&t.o&&g((()=>gt(t,!1))),t.o&=-517},Rt=t=>{{const e=n(t),o=e.$hostElement$.isConnected;return o&&2==(18&e.o)&>(e,!1),o}},Pt=()=>{Ut(f.documentElement),g((()=>V(a,"appload",{detail:{namespace:"solutions-components"}})))},Tt=(t,e,n)=>{if(t&&t[e])try{return t[e](n)}catch(t){s(t)}},Ut=t=>t.classList.add("hydrated"),At=(t,e,o)=>{var l,r;const i=t.prototype;if(e.L||e.W||t.watchers){t.watchers&&!e.W&&(e.W=t.watchers);const c=Object.entries(null!=(l=e.L)?l:{});if(c.map((([t,[l]])=>{31&l||2&o&&32&l?Object.defineProperty(i,t,{get(){return((t,e)=>n(this).D.get(e))(0,t)},set(o){((t,e,o,l)=>{const r=n(t);if(!r)throw Error(`Couldn't find host element for "${l.k}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const i=r.$hostElement$,c=r.D.get(e),u=r.o,a=r.t;if(o=((t,e)=>null==t||E(t)?t:4&e?"false"!==t&&(""===t||!!t):2&e?parseFloat(t):1&e?t+"":t)(o,l.L[e][0]),(!(8&u)||void 0===c)&&o!==c&&(!Number.isNaN(c)||!Number.isNaN(o))&&(r.D.set(e,o),a)){if(l.W&&128&u){const t=l.W[e];t&&t.map((t=>{try{a[t](o,c,e)}catch(t){s(t,i)}}))}if(2==(18&u)){if(a.componentShouldUpdate&&!1===a.componentShouldUpdate(o,c,e))return;gt(r,!1)}}})(this,t,o,e)},configurable:!0,enumerable:!0}):1&o&&64&l&&Object.defineProperty(i,t,{value(...e){var o;const l=n(this);return null==(o=null==l?void 0:l.N)?void 0:o.then((()=>{var n;return null==(n=l.t)?void 0:n[t](...e)}))}})})),1&o){const o=new Map;i.attributeChangedCallback=function(t,l,s){d.jmp((()=>{var r;const c=o.get(t);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(i.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const o=n(this),i=null==o?void 0:o.o;if(i&&!(8&i)&&128&i&&s!==l){const n=o.t,i=null==(r=e.W)?void 0:r[t];null==i||i.forEach((e=>{null!=n[e]&&n[e].call(n,s,l,t)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(r=e.W)?r:{}),...c.filter((([t,e])=>15&e[0])).map((([t,n])=>{var l;const s=n[1]||t;return o.set(s,t),512&n[0]&&(null==(l=e.U)||l.push([t,s])),s}))]))}}return t},Ft=t=>{Tt(t,"connectedCallback")},Lt=t=>{Tt(t,"disconnectedCallback")},Wt=(t,o={})=>{var l;const u=[],h=o.exclude||[],m=a.customElements,v=f.head,y=v.querySelector("meta[charset]"),w=f.createElement("style"),$=[];let b,g=!0;Object.assign(d,o),d.l=new URL(o.resourcesUrl||"./",f.baseURI).href;let k=!1;if(t.map((t=>{t[1].map((o=>{var l;const c={o:o[0],k:o[1],L:o[2],H:o[3]};4&c.o&&(k=!0),c.L=o[2],c.H=o[3],c.U=[],c.W=null!=(l=o[4])?l:{};const a=c.k,v=class extends HTMLElement{constructor(t){if(super(t),this.hasRegisteredEventListeners=!1,((t,n)=>{const o={o:0,$hostElement$:t,R:n,D:new Map};o.N=new Promise((t=>o.F=t)),o.q=new Promise((t=>o.A=t)),t["s-p"]=[],t["s-rc"]=[],e.set(t,o)})(t=this,c),1&c.o)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${c.k}! Mode is set to ${t.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else t.attachShadow({mode:"open",delegatesFocus:!!(16&c.o)})}connectedCallback(){const t=n(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Nt(this,t,c.H)),b&&(clearTimeout(b),b=null),g?$.push(this):d.jmp((()=>(t=>{if(!(1&d.o)){const e=n(t),o=e.R,l=()=>{};if(1&e.o)Nt(t,e,o.H),(null==e?void 0:e.t)?Ft(e.t):(null==e?void 0:e.q)&&e.q.then((()=>Ft(e.t)));else{e.o|=1,12&o.o&&(t=>{const e=t["s-cr"]=f.createComment("");e["s-cn"]=!0,yt(t,e,t.firstChild)})(t);{let n=t;for(;n=n.parentNode||n.host;)if(n["s-p"]){bt(e,e.C=n);break}}o.L&&Object.entries(o.L).map((([e,[n]])=>{if(31&n&&t.hasOwnProperty(e)){const n=t[e];delete t[e],t[e]=n}})),(async(t,e,n)=>{let o;if(!(32&e.o)){if(e.o|=32,n.B){const t=(t=>{const e=t.k.replace(/-/g,"_"),n=t.B;if(!n)return;const o=r.get(n);return o?o[e]:import(`./${n}.entry.js`).then((t=>(r.set(n,t),t[e])),s)
|
7
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n);if(t&&"then"in t){const e=()=>{};o=await t,e()}else o=t;if(!o)throw Error(`Constructor for "${n.k}#${e.G}" was not found`);o.isProxied||(n.W=o.watchers,At(o,n,2),o.isProxied=!0);const l=()=>{};e.o|=8;try{new o(e)}catch(t){s(t)}e.o&=-9,e.o|=128,l(),Ft(e.t)}else o=t.constructor,customElements.whenDefined(t.localName).then((()=>e.o|=128));if(o&&o.style){let t;"string"==typeof o.style&&(t=o.style);const e=z(n);if(!i.has(e)){const o=()=>{};((t,e,n)=>{let o=i.get(t);p&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=e:o.replaceSync(e)):o=e,i.set(t,o)})(e,t,!!(1&n.o)),o()}}}const l=e.C,c=()=>gt(e,!0);l&&l["s-rc"]?l["s-rc"].push(c):c()})(t,e,o)}l()}})(this)))}disconnectedCallback(){d.jmp((()=>(async()=>{if(!(1&d.o)){const t=n(this);t.V&&(t.V.map((t=>t())),t.V=void 0),(null==t?void 0:t.t)?Lt(t.t):(null==t?void 0:t.q)&&t.q.then((()=>Lt(t.t)))}})()))}componentOnReady(){return n(this).q}};c.B=t[0],h.includes(a)||m.get(a)||(u.push(a),m.define(a,At(v,c,1)))}))})),u.length>0&&(k&&(w.textContent+=c),w.textContent+=u.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",w.innerHTML.length)){w.setAttribute("data-styles","");const t=null!=(l=d.P)?l:C(f);null!=t&&w.setAttribute("nonce",t),v.insertBefore(w,y?y.nextSibling:v.firstChild)}g=!1,$.length?$.map((t=>t.connectedCallback())):d.jmp((()=>b=setTimeout(Pt,30)))},Dt=(t,e)=>e,Nt=(t,e,n)=>{n&&n.map((([n,o,l])=>{const s=qt(t,n),r=Ht(e,l),i=Bt(n);d.ael(s,o,r,i),(e.V=e.V||[]).push((()=>d.rel(s,o,r,i)))}))},Ht=(t,e)=>n=>{var o;try{256&t.o?null==(o=t.t)||o[e](n):(t.M=t.M||[]).push([e,n])}catch(t){s(t)}},qt=(t,e)=>4&e?f:8&e?a:16&e?f.body:t,Bt=t=>({passive:!!(1&t),capture:!!(2&t)}),Gt=t=>d.P=t;export{Dt as F,D as H,j as a,Wt as b,G as c,k as d,xt as e,Rt as f,B as g,L as h,h as p,o as r,Gt as s}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as t,c as s,g as e}from"./p-f4c4a2b7.js";import{s as r}from"./p-a7710355.js";import{c as i,d as a}from"./p-2cff27c5.js";import"./p-dcc35070.js";import"./p-80cb7c73.js";import"./p-659678f1.js";import"./p-d4056c1c.js";import"./p-7c583516.js";const o=class{constructor(e){t(this,e),this.stateLoaded=s(this,"stateLoaded",7),this.value="",this.templates=[],this.authentication=void 0}get el(){return e(this)}connectedCallback(){this._handleValueChange(this.value),this._initValueObserver()}render(){return null}stateLoaded;async getStoreInfo(t){return Promise.resolve(r.getStoreInfo(t))}_valueObserver;_handleValueChange(t){if(""!==t){const s=JSON.parse(t);r.setStoreInfo("solutionData",s);const e=i(s.templates);r.setStoreInfo("featureServices",e),r.setStoreInfo("spatialReferenceInfo",a(e,s)),this.templates=s.templates,this.stateLoaded.emit(r)}}_initValueObserver(){this._valueObserver=new MutationObserver((t=>{t.some((t=>{const s=t.target[t.attributeName];if("attributes"===t.type&&"value"===t.attributeName&&s!==t.oldValue)return this._handleValueChange(s),!0}))})),this._valueObserver.observe(this.el,{attributes:!0,attributeOldValue:!0})}};export{o as store_manager}
|
@@ -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{f as a}from"./p-f4c4a2b7.js";import{i as n}from"./p-73ae4b9b.js";
|
7
|
-
/*!
|
8
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
-
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
10
|
-
* v2.11.1
|
11
|
-
*/const e=new WeakMap,s=new WeakMap;function i(a){s.set(a,new Promise((n=>e.set(a,n))))}function o(a){e.get(a)()}function r(a){return s.get(a)}async function t(e){if(await r(e),n())return a(e),new Promise((a=>requestAnimationFrame((()=>a()))))}export{o as a,r as b,t as c,i as s}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as t,c as e,h as i,g as n}from"./p-f4c4a2b7.js";import{g as o}from"./p-0ae5f8fe.js";import{c as a,d as c,u as l,I as s}from"./p-ec561560.js";import{c as r,s as d,a as h}from"./p-f83c0ef6.js";import{l as u}from"./p-b1c71e50.js";import"./p-73ae4b9b.js";import"./p-ca42f3d3.js";
|
7
|
-
/*!
|
8
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
-
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
10
|
-
* v2.11.1
|
11
|
-
*/const p="description",b="description-only",g="heading",m="heading-only",f="icon",v="icon-only",x="input-alignment-end",k="input-alignment-start",y="input-enabled",w="large-visual",z="tile",C="tile--large-visual",B="width-auto",j="width-full";u.deprecated("component",{name:"tile-select",removalVersion:4,suggested:["tile","tile-group"]});const H=class{constructor(i){t(this,i),this.calciteTileSelectChange=e(this,"calciteTileSelectChange",6),this.guid=`calcite-tile-select-${o()}`,this.checked=!1,this.description=void 0,this.disabled=!1,this.heading=void 0,this.icon=void 0,this.iconFlipRtl=!1,this.name=void 0,this.inputEnabled=!1,this.inputAlignment="start",this.type="radio",this.value=void 0,this.width="auto",this.focused=!1}checkedChanged(t){this.input.checked=t}nameChanged(t){this.input.name=t}async setFocus(){return await r(this),this.input?.setFocus()}checkboxChangeHandler(t){const e=t.target;e===this.input&&(this.checked=e.checked),t.stopPropagation(),this.calciteTileSelectChange.emit()}checkboxFocusBlurHandler(t){t.target===this.input&&(this.focused=t.detail),t.stopPropagation()}radioButtonChangeHandler(t){const e=t.target;e===this.input&&(this.checked=e.checked),t.stopPropagation(),this.calciteTileSelectChange.emit()}radioButtonCheckedChangeHandler(t){const e=t.target;e===this.input&&(this.checked=e.checked),t.stopPropagation()}radioButtonFocusBlurHandler(t){const e=t.target;e===this.input&&(this.focused=e.focused),t.stopPropagation()}clickHandler(t){this.disabled||["calcite-tile","calcite-tile-select"].includes(t.target.localName)&&this.input.click()}pointerEnterHandler(){if(this.disabled)return;const{localName:t}=this.input;"calcite-radio-button"!==t&&"calcite-checkbox"!==t||(this.input.hovered=!0)}pointerLeaveHandler(){if(this.disabled)return;const{localName:t}=this.input;"calcite-radio-button"!==t&&"calcite-checkbox"!==t||(this.input.hovered=!1)}connectedCallback(){this.renderInput(),a(this)}componentWillLoad(){d(this)}componentDidLoad(){h(this)}disconnectedCallback(){this.input.parentNode.removeChild(this.input),c(this)}componentDidRender(){l(this)}renderInput(){this.input="radio"===this.type?document.createElement("calcite-radio-button"):document.createElement("calcite-checkbox"),this.input.checked=this.checked,this.input.disabled=this.disabled,this.input.hidden=this.el.hidden,this.input.id=this.guid,this.input.label=this.heading||this.name||"",this.name&&(this.input.name=this.name),this.value&&(this.input.value=null!=this.value?this.value.toString():""),this.el.insertAdjacentElement("beforeend",this.input)}render(){const{checked:t,description:e,disabled:n,focused:o,heading:a,icon:c,inputAlignment:l,inputEnabled:r,width:d,iconFlipRtl:h}=this,u=a&&c&&!e,H=Boolean(c);return i(s,{key:"cd6bf58f27e567bb0431a8af67825fe363dd2366",disabled:n},i("div",{key:"5f09763d31319285c3e5e4a6b5bf0259e89851c7",class:{checked:t,container:!0,[p]:Boolean(e),[b]:Boolean(!a&&!c&&e),disabled:n,focused:o,[g]:Boolean(a),[m]:a&&!c&&!e,[f]:H,[v]:!a&&c&&!e,[x]:"end"===l,[k]:"start"===l,[y]:r,[w]:u,[B]:"auto"===d,[j]:"full"===d}},i("div",{key:"8b56c4cfc55cb792da1a36d39966af278a88fb79",class:{[z]:!0,[C]:u}},c&&i("div",{key:"39dc2ce155af13e4f075e861e9fa71dc3d6c61c3",class:{[f]:H}},i("calcite-icon",{key:"b48054be5e85ef2b53dd2ab2171ede78d3b65355",flipRtl:h,icon:c,scale:"l"})),i("div",{key:"1c12282771f94208f0191439496168d91891ec22",class:"tile-content-container"},i("div",{key:"caeee802072685854aa419ade3c12997f0a56cde",class:"tile-content"},a&&i("div",{key:"468fac2dfe835053c6b063f7b000096b5e42d7e4",class:"tile-heading"},a),e&&i("div",{key:"8c2215609c9021cf390e17dfd37cb62d726dba9f",class:"tile-description"},e)))),i("slot",{key:"08eaeb8cc8c058d205bd01291d6b862e316b9195"})))}get el(){return n(this)}static get watchers(){return{checked:["checkedChanged"],name:["nameChanged"]}}};H.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block}:host .container{background-color:var(--calcite-color-foreground-1);box-shadow:0 0 0 1px var(--calcite-color-border-2);box-sizing:border-box;cursor:pointer;display:inline-block;block-size:100%;max-inline-size:300px;padding:0.75rem;position:relative;vertical-align:top;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}:host .container.checked{z-index:var(--calcite-z-index);box-shadow:0 0 0 1px var(--calcite-color-brand)}:host .container.heading-only{align-items:center}:host .container:not(.input-enabled) ::slotted(calcite-checkbox),:host .container:not(.input-enabled) ::slotted(calcite-radio-button){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 .container.focused{outline-color:transparent}:host .container.focused:not(.disabled):not(.input-enabled){outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n );outline-offset:-4px;box-shadow:0 0 0 1px var(--calcite-color-brand), inset 0 0 0 2px var(--calcite-color-foreground-1)}:host .container.input-enabled.input-alignment-start.width-auto.heading-only,:host .container.input-enabled.input-alignment-start.width-auto.icon-only,:host .container.input-enabled.input-alignment-start.width-auto.description-only,:host .container.input-enabled.input-alignment-start.width-auto.heading.description,:host .container.input-enabled.input-alignment-start.width-auto.icon.description,:host .container.input-enabled.input-alignment-start.width-auto.heading.icon.description{display:inline-grid;grid-template-columns:max-content 1fr}:host .container.input-enabled.input-alignment-start.heading-only,:host .container.input-enabled.input-alignment-start.icon-only,:host .container.input-enabled.input-alignment-start.description-only,:host .container.input-enabled.input-alignment-start.heading.description,:host .container.input-enabled.input-alignment-start.icon.description,:host .container.input-enabled.input-alignment-start.heading.icon.description{gap:0.75rem}:host .container.input-enabled.input-alignment-start .tile{order:1}:host .container.input-enabled.input-alignment-start.large-visual ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-start.large-visual ::slotted(calcite-radio-button){position:absolute;inset-block-start:0.75rem;inset-inline-start:0.75rem}:host .container.input-enabled.input-alignment-end.width-auto.heading-only,:host .container.input-enabled.input-alignment-end.width-auto.icon-only{display:inline-grid;grid-gap:0.75rem;grid-template-columns:max-content 1fr}:host .container.input-enabled.input-alignment-end.heading-only,:host .container.input-enabled.input-alignment-end.icon-only{gap:0.75rem}:host .container.input-enabled.input-alignment-end.description-only ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.description-only ::slotted(calcite-radio-button),:host .container.input-enabled.input-alignment-end.heading.description ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.heading.description ::slotted(calcite-radio-button),:host .container.input-enabled.input-alignment-end.icon.description ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.icon.description ::slotted(calcite-radio-button),:host .container.input-enabled.input-alignment-end.heading.icon.description ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.heading.icon.description ::slotted(calcite-radio-button){position:absolute;inset-block-start:0.75rem;inset-inline-end:0.75rem}:host .container.input-enabled.input-alignment-end.large-visual ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.large-visual ::slotted(calcite-radio-button){position:absolute;inset-block-start:0.75rem;inset-inline-end:0.75rem}:host .container.width-full{display:flex;max-inline-size:none}:host .container.width-full .tile{flex:1 1 auto}.tile{pointer-events:none;box-sizing:border-box;display:flex;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-direction:column;gap:0.5rem;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-3);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.tile-content-container{display:flex;inline-size:100%;align-items:stretch;padding:0px;color:var(--calcite-color-text-2);outline-color:transparent}.tile-content{display:flex;flex:1 1 auto;flex-direction:column;gap:0.5rem;inline-size:10%}.tile-heading{pointer-events:none;overflow-wrap:break-word;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-2);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.tile-description{pointer-events:none;overflow-wrap:break-word;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-color-text-3);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.tile--large-visual{display:grid;justify-content:center;text-align:center;min-block-size:12rem}.tile--large-visual .icon{align-self:flex-end}.tile--large-visual calcite-icon{block-size:64px;inline-size:64px}.tile--large-visual .tile-content-container{align-self:center}:host(:hover) .container:not(.input-enabled){box-shadow:0 0 0 1px var(--calcite-color-brand)}:host(:hover) .tile-heading,.checked .tile-heading{color:var(--calcite-color-text-1)}:host(:hover) .tile-description,.checked .tile-description{color:var(--calcite-color-text-2)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}";export{H as calcite_tile_select}
|
@@ -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 e,g as a,h as r,H as s}from"./p-f4c4a2b7.js";const t=class{constructor(a){e(this,a)}get el(){return a(this)}render(){return r(s,{key:"32113dda304b2f7179d0275f04987e69ce386959"},r("slot",{key:"358d5ea7a03cc7da16e98a92391cf74dfe9fa89b"}))}};t.style=":host{display:block}";export{t as feature_form_flow_item}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{d as e}from"./p-8b922152.js";import"./p-f4c4a2b7.js";import"./p-7c585a72.js";import"./p-8448b98b.js";import"./p-0ae5f8fe.js";import"./p-a8e556aa.js";import"./p-ec561560.js";import"./p-73ae4b9b.js";import"./p-4250bde1.js";import"./p-d7ee860a.js";import"./p-bb3ce613.js";import"./p-f83c0ef6.js";import"./p-16d69510.js";import"./p-2327029a.js";import"./p-2f08fd73.js";import"./p-ca42f3d3.js";import"./p-c5f22510.js";import"./p-33447b6f.js";import"./p-d4e3e979.js";import"./p-cd4d69c1.js";import"./p-cfca5772.js";import"./p-fdf4caad.js";var a={name:"id",weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),weekStart:1,formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},ordinal:function(e){return e+"."}};e.locale(a,null,!0);export{a as default}
|
@@ -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 p}from"./p-8b922152.js";import"./p-f4c4a2b7.js";import"./p-7c585a72.js";import"./p-8448b98b.js";import"./p-0ae5f8fe.js";import"./p-a8e556aa.js";import"./p-ec561560.js";import"./p-73ae4b9b.js";import"./p-4250bde1.js";import"./p-d7ee860a.js";import"./p-bb3ce613.js";import"./p-f83c0ef6.js";import"./p-16d69510.js";import"./p-2327029a.js";import"./p-2f08fd73.js";import"./p-ca42f3d3.js";import"./p-c5f22510.js";import"./p-33447b6f.js";import"./p-d4e3e979.js";import"./p-cd4d69c1.js";import"./p-cfca5772.js";import"./p-fdf4caad.js";var _={name:"mk",weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),weekStart:1,weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),ordinal:function(p){return p},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},relativeTime:{future:"после %s",past:"пред %s",s:"неколку секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеци",y:"година",yy:"%d години"}};p.locale(_,null,!0);export{_ as default}
|
@@ -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
|
-
/*!
|
7
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
8
|
-
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
9
|
-
* v2.11.1
|
10
|
-
*/
|
11
|
-
const t=["date","datetime-local","month","number","range","time","week"],e=["email","password","search","tel","text","url"],a=["email","password","search","tel","text","textarea","url"];function n(t,e,a,n){const s=a.toLowerCase(),r=t[a];n&&null!=r?e.setAttribute(s,`${r}`):e.removeAttribute(s)}function s(s,r,o){o.type="textarea"===s?"text":s;const l=t.includes(s),m=r;n(m,o,"min",l),n(m,o,"max",l),n(m,o,"step",l);const c=a.includes(s),i=r;n(i,o,"minLength",c),n(i,o,"maxLength",c),n(i,o,"pattern",e.includes(s))}export{s}
|
@@ -1,16 +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,r as e,c as i,H as s,d as n,g as a}from"./p-f4c4a2b7.js";import{h as o,d as r}from"./p-8448b98b.js";import{c}from"./p-2327029a.js";import{g as l}from"./p-0ae5f8fe.js";import{c as h,d as p}from"./p-16d69510.js";import{c as d,s as m,d as b,u as g}from"./p-d4e3e979.js";import"./p-a8e556aa.js";import"./p-73ae4b9b.js";import"./p-4250bde1.js";
|
7
|
-
/*!
|
8
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
-
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
10
|
-
* v2.11.1
|
11
|
-
*/const f="action-icon",u="action-container",y="step-bar-container",v="single-view",z="step-bar",k="step-bar--active",x="step-bar--complete",S="step-bar--disabled",C="step-bar--error",w="step-bar--inactive",I=({disabled:e,active:i,complete:s,error:n,key:a})=>t("svg",{class:{[z]:!0},key:a},t("rect",{class:{[k]:i,[x]:s,[S]:e,[C]:n,[w]:!0},width:"100%",x:"0",y:"0"})),P=class{constructor(t){e(this,t),this.calciteStepperChange=i(this,"calciteStepperChange",6),this.calciteStepperItemChange=i(this,"calciteStepperItemChange",6),this.calciteInternalStepperItemChange=i(this,"calciteInternalStepperItemChange",6),this.enabledItems=[],this.itemMap=new Map,this.items=[],this.mutationObserver=c("mutation",(()=>this.updateItems())),this.multipleViewMode=!1,this.guid=`calcite-stepper-action-${l()}`,this.handleActionClick=t=>{const e=this.currentActivePosition;"start"===t.target.getAttribute("data-position")?this.prevStep():this.nextStep(),"number"!=typeof this.currentActivePosition||e===this.currentActivePosition||this.items[this.currentActivePosition].disabled||this.emitItemSelect()},this.setContainerEl=t=>{this.containerEl=t},this.handleDefaultSlotChange=t=>{const e=o(t).filter((t=>"CALCITE-STEPPER-ITEM"===t?.tagName));this.items=e;const i=Array(e.length).fill("1fr").join(" ");this.containerEl.style.gridTemplateAreas=i,this.containerEl.style.gridTemplateColumns=i,this.setStepperItemNumberingSystem()},this.icon=!1,this.layout="horizontal",this.numbered=!1,this.scale="m",this.messages=void 0,this.numberingSystem=void 0,this.selectedItem=null,this.messageOverrides=void 0,this.defaultMessages=void 0,this.effectiveLocale="",this.currentActivePosition=void 0}handleItemPropChange(){this.updateItems(),this.determineActiveStepper()}numberingSystemChange(){this.setStepperItemNumberingSystem()}onMessagesChange(){}connectedCallback(){this.mutationObserver?.observe(this.el,{childList:!0}),this.updateItems(),d(this),h(this)}async componentWillLoad(){await m(this)}componentDidLoad(){if("number"!=typeof this.currentActivePosition){const t=this.getFirstEnabledStepperPosition();0===t&&(this.currentActivePosition=t),this.calciteInternalStepperItemChange.emit({position:t})}}disconnectedCallback(){b(this),p(this),this.mutationObserver?.disconnect()}render(){return t(s,{key:"ea25227b47dc61a547d2c5fb3535e1ccce5f5862","aria-label":this.messages.label,role:"region"},t("div",{key:"f925b3603d84c942b4e1cf3ec4959cc58b75e790",class:{container:!0,[v]:"horizontal-single"===this.layout},ref:this.setContainerEl},"horizontal-single"===this.layout&&t("div",{key:"0ddae709bda883a1cb2aba530516f8b2de04b724",class:{[y]:!0}},this.items.map(((e,i)=>t(I,{active:i===this.currentActivePosition,complete:e.complete&&i!==this.currentActivePosition&&!e.error,disabled:e.disabled&&i!==this.currentActivePosition,error:e.error&&i!==this.currentActivePosition,key:i})))),"horizontal-single"===this.layout&&t("div",{key:"3add5e4c952233fab29a046277c14c84fe19d191",class:{[u]:!0}},this.renderAction("start"),this.renderAction("end")),t("slot",{key:"e9ced5b8d8f39452416b9f36134794085c749628",onSlotchange:this.handleDefaultSlotChange})))}calciteInternalStepperItemKeyEvent(t){const e=t.target;switch(t.detail.item.key){case"ArrowDown":case"ArrowRight":r(this.enabledItems,e,"next");break;case"ArrowUp":case"ArrowLeft":r(this.enabledItems,e,"previous");break;case"Home":r(this.enabledItems,e,"first");break;case"End":r(this.enabledItems,e,"last")}t.stopPropagation()}registerItem(t){const e=t.target,{content:i,position:s}=t.detail;this.itemMap.set(e,{position:s,content:i}),this.enabledItems=this.filterItems(),t.stopPropagation()}updateItem(t){const{position:e}=t.detail;"number"==typeof e&&(this.currentActivePosition=e,this.selectedItem=t.target),this.calciteInternalStepperItemChange.emit({position:e})}handleItemSelect(){this.emitItemSelect()}async nextStep(){const t=this.getEnabledStepIndex(this.currentActivePosition+1,"next");"number"==typeof t&&this.updateStep(t)}async prevStep(){const t=this.getEnabledStepIndex(this.currentActivePosition-1,"previous");"number"==typeof t&&this.updateStep(t)}async goToStep(t){const e=t-1;this.currentActivePosition!==e&&this.updateStep(e)}async startStep(){const t=this.getEnabledStepIndex(0,"next");"number"==typeof t&&this.updateStep(t)}async endStep(){const t=this.getEnabledStepIndex(this.items.length-1,"previous");"number"==typeof t&&this.updateStep(t)}effectiveLocaleChange(){g(this,this.effectiveLocale)}handlePositionChange(){n((()=>{this.determineActiveStepper()}))}emitItemSelect(){this.calciteStepperItemChange.emit(),this.calciteStepperChange.emit()}updateItems(){this.el.querySelectorAll("calcite-stepper-item").forEach((t=>{t.icon=this.icon,t.numbered=this.numbered,t.layout=this.layout,t.scale=this.scale}))}determineActiveStepper(){const{items:t}=this;if(t.length<2)return;const{currentActivePosition:e,layout:i}=this;this.multipleViewMode="horizontal-single"!==i,t.forEach(((t,s)=>{t.hidden="horizontal-single"===i&&s!==(e||0)}))}getEnabledStepIndex(t,e="next"){const{items:i,currentActivePosition:s}=this;let n=t;for(;i[n]?.disabled&&"horizontal-single"!==this.layout;)n+="previous"===e?-1:1;return n!==s&&n<i.length&&n>=0?n:null}updateStep(t){this.currentActivePosition=t,this.calciteInternalStepperItemChange.emit({position:t})}filterItems(){return this.items.filter((t=>!t.disabled))}setStepperItemNumberingSystem(){this.items.forEach((t=>{t.numberingSystem=this.numberingSystem}))}renderAction(e){const i="start"===e,s=i?"chevron-left":"chevron-right",{currentActivePosition:n,multipleViewMode:a,layout:o}=this,r=this.items.length,c=`${this.guid}-${i?"start":"end"}`;return"horizontal-single"!==o||a?null:t("calcite-action",{alignment:"center",appearance:"transparent",class:{[f]:!0},compact:!0,"data-position":e,disabled:0===n&&i||n===r-1&&!i,icon:s,iconFlipRtl:!0,id:c,onClick:this.handleActionClick,scale:this.scale,text:i?this.messages.previousStep:this.messages.nextStep})}getFirstEnabledStepperPosition(){const t=this.items.findIndex((t=>!t.disabled));return t>-1?t:0}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{icon:["handleItemPropChange"],layout:["handleItemPropChange"],numbered:["handleItemPropChange"],scale:["handleItemPropChange"],numberingSystem:["numberingSystemChange"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"],currentActivePosition:["handlePositionChange"]}}};
|
12
|
-
/*!
|
13
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
14
|
-
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
15
|
-
* v2.11.1
|
16
|
-
*/P.style=':host([scale=s]){--calcite-internal-stepper-item-spacing-unit-s:0.25rem;--calcite-internal-stepper-action-block-size:2.75rem;--calcite-internal-stepper-action-inline-size:2rem;--calcite-internal-step-bar-gap:0.25rem}:host([scale=m]){--calcite-internal-stepper-item-spacing-unit-s:0.5rem;--calcite-internal-stepper-action-block-size:3.25rem;--calcite-internal-stepper-action-inline-size:2.5rem}:host([scale=l]){--calcite-internal-stepper-item-spacing-unit-s:0.75rem;--calcite-internal-stepper-action-block-size:4rem;--calcite-internal-stepper-action-inline-size:3rem;--calcite-internal-step-bar-gap:0.75rem}:host{display:flex}.container{position:relative;display:flex;inline-size:100%;min-inline-size:-moz-fit-content;min-inline-size:fit-content;flex-direction:row;flex-wrap:wrap;align-items:stretch;justify-content:space-between}:host([layout=vertical]) .container{flex:1 1 auto;flex-direction:column}:host([layout=horizontal]) .container,:host([layout=horizontal-single]) .container{display:grid;grid-template-areas:"items" "content";gap:0.5rem var(--calcite-internal-stepper-item-spacing-unit-s)}:host([layout=horizontal][scale=s]) .container,:host([layout=horizontal-single][scale=s]) .container{gap:0.25rem var(--calcite-internal-stepper-item-spacing-unit-s)}:host([layout=horizontal][scale=l]) .container,:host([layout=horizontal-single][scale=l]) .container{gap:0.75rem var(--calcite-internal-stepper-item-spacing-unit-s)}:host([layout=horizontal]) .container.single-view{display:flex;grid-template-columns:none}.action-icon{position:relative;display:flex;flex-grow:0;block-size:var(--calcite-internal-stepper-action-block-size);inline-size:var(--calcite-internal-stepper-action-inline-size)}.action-container{position:absolute;display:flex;justify-content:space-between;padding-block:0.25rem;inline-size:100%}.step-bar{display:flex;block-size:100%;inline-size:100%}.step-bar-container{position:absolute;display:flex;align-items:flex-start;justify-content:space-between;block-size:0.125rem;inline-size:100%;gap:var(--calcite-internal-step-bar-gap, 0.5rem)}.step-bar--inactive{fill:var(--calcite-color-border-3, #dfdfdf);fill-opacity:1;block-size:100%}.step-bar--active{fill:var(--calcite-color-brand)}.step-bar--complete{fill:var(--calcite-color-brand);fill-opacity:0.5}.step-bar--error{fill:var(--calcite-color-status-danger)}.step-bar--disabled{opacity:0.5}:host([hidden]){display:none}[hidden]{display:none}';export{P as calcite_stepper}
|