@esri/solutions-components 0.10.10 → 0.10.11
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 +43 -37
- 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 +9 -9
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +43 -37
- 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 +9 -9
- 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-058b77d7.entry.js +6 -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-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-1f40908b.entry.js +11 -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-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
@@ -0,0 +1,12 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as e,c as t,h as i,g as s,H as a}from"./p-6eb37ed2.js";import{c as n}from"./p-c638d28e.js";import{e as o,t as c}from"./p-68ec5c15.js";import{c as r,d as l,a as d,H as h}from"./p-9f63a45c.js";import{c as p,d as m,u,I as b}from"./p-415cf05e.js";import{c as f,d as v,g}from"./p-ac52e0ba.js";import{s as w,a as y,c as x}from"./p-18f18ab3.js";import{g as C}from"./p-d559f79c.js";import{V as k}from"./p-40724bfb.js";import"./p-acaae81d.js";import"./p-ff8343ec.js";import"./p-b39c5275.js";const z=class{constructor(i){e(this,i),this.calciteInternalOptionChange=t(this,"calciteInternalOptionChange",6),this.mutationObserver=n("mutation",(()=>{this.ensureTextContentDependentProps(),this.calciteInternalOptionChange.emit()})),this.disabled=!1,this.label=void 0,this.selected=void 0,this.value=void 0}handlePropChange(e,t,i){"label"!==i&&"value"!==i||this.ensureTextContentDependentProps(),this.calciteInternalOptionChange.emit()}ensureTextContentDependentProps(){const{el:{textContent:e},internallySetLabel:t,internallySetValue:i,label:s,value:a}=this;s&&s!==t||(this.label=e,this.internallySetLabel=e),null!=a&&a!==i||(this.value=e,this.internallySetValue=e)}connectedCallback(){this.ensureTextContentDependentProps(),this.mutationObserver?.observe(this.el,{attributeFilter:["label","value"],characterData:!0,childList:!0,subtree:!0})}disconnectedCallback(){this.mutationObserver?.disconnect()}render(){return i("slot",{key:"19660c07dc760b742b61169da73469d1579aeeaa"},this.label)}get el(){return s(this)}static get watchers(){return{disabled:["handlePropChange"],label:["handlePropChange"],selected:["handlePropChange"],value:["handlePropChange"]}}};z.style=":host{display:block}:host([hidden]){display:none}[hidden]{display:none}";
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
10
|
+
* v2.12.0
|
11
|
+
*/
|
12
|
+
const O="selectValidationMessage";function I(e){return"CALCITE-OPTION"===e.tagName}const j=class{constructor(i){e(this,i),this.calciteSelectChange=t(this,"calciteSelectChange",6),this.componentToNativeEl=new Map,this.mutationObserver=n("mutation",(()=>this.populateInternalSelect())),this.handleInternalSelectChange=()=>{this.selectFromNativeOption(this.selectEl.selectedOptions[0]),requestAnimationFrame((()=>this.emitChangeEvent()))},this.populateInternalSelect=()=>{const e=Array.from(this.el.children).filter((e=>"CALCITE-OPTION"===e.tagName||"CALCITE-OPTION-GROUP"===e.tagName));this.clearInternalSelect(),e.forEach((e=>this.selectEl?.append(this.toNativeElement(e))))},this.storeSelectRef=e=>{this.selectEl=e,this.populateInternalSelect(),this.selectFromNativeOption(this.selectEl.selectedOptions[0])},this.emitChangeEvent=()=>{this.calciteSelectChange.emit()},this.disabled=!1,this.form=void 0,this.label=void 0,this.validationMessage=void 0,this.validationIcon=void 0,this.validity={valid:!1,badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1},this.name=void 0,this.required=!1,this.scale="m",this.status="idle",this.value=null,this.selectedOption=void 0,this.width="auto"}valueHandler(e){this.updateItemsFromValue(e)}selectedOptionHandler(e){this.value=e?.value}connectedCallback(){const{el:e}=this;this.mutationObserver?.observe(e,{subtree:!0,childList:!0}),p(this),f(this),r(this)}disconnectedCallback(){this.mutationObserver?.disconnect(),m(this),v(this),l(this)}componentWillLoad(){w(this),"string"==typeof this.value&&this.updateItemsFromValue(this.value)}componentDidLoad(){y(this),d(this,this.selectedOption?.value??"")}componentDidRender(){u(this)}async setFocus(){await x(this),o(this.selectEl)}handleOptionOrGroupChange(e){e.stopPropagation();const t=e.target,i=this.componentToNativeEl.get(t);i&&(this.updateNativeElement(t,i),I(t)&&t.selected&&(this.deselectAllExcept(t),this.selectedOption=t))}onLabelClick(){this.setFocus()}updateItemsFromValue(e){this.el.querySelectorAll("calcite-option").forEach((t=>t.selected=t.value===e))}updateNativeElement(e,t){if(t.disabled=e.disabled,t.label=e.label,I(e)){const i=t;i.selected=e.selected,i.value=e.value,i.innerText=e.label}}clearInternalSelect(){this.componentToNativeEl.forEach((e=>e.remove())),this.componentToNativeEl.clear()}selectFromNativeOption(e){if(!e)return;let t;this.componentToNativeEl.forEach(((i,s)=>{I(s)&&i===e&&(s.selected=!0,t=s,this.deselectAllExcept(s))})),t&&(this.selectedOption=t)}toNativeElement(e){if(I(e)){const t=document.createElement("option");return this.updateNativeElement(e,t),this.componentToNativeEl.set(e,t),t}if(function(e){return"CALCITE-OPTION-GROUP"===e.tagName}(e)){const t=document.createElement("optgroup");return this.updateNativeElement(e,t),Array.from(e.children).forEach((i=>{const s=this.toNativeElement(i);t.append(s),this.componentToNativeEl.set(e,s)})),this.componentToNativeEl.set(e,t),t}throw new Error("unsupported element child provided")}deselectAllExcept(e){this.el.querySelectorAll("calcite-option").forEach((t=>{t!==e&&(t.selected=!1)}))}renderChevron(){return i("div",{class:"icon-container"},i("calcite-icon",{class:"icon",icon:"chevron-down",scale:C(this.scale)}))}render(){const{disabled:e}=this;return i(a,{key:"70938120b9aaac3ab07b8bd73ca8e7909c2ea11d"},i(b,{key:"bd7b8839b27ff53f51d1a4fc2e3590b9fb8ab913",disabled:e},i("div",{key:"3dbf7d32dc39c929f7f939e1e1cc72ca6d0b386f",class:"wrapper"},i("select",{key:"e6763a83fed5e7162d94d93e82e770dbbd238bd7","aria-errormessage":O,"aria-invalid":c("invalid"===this.status),"aria-label":g(this),class:"select",disabled:e,onChange:this.handleInternalSelectChange,ref:this.storeSelectRef},i("slot",{key:"68fc9d08be9144e1f874602ecdf46f3cc0eceb05"})),this.renderChevron(),i(h,{key:"6d5ec3ed6f6d2551679a7e17c9023f32b67b4a2c",component:this})),this.validationMessage&&"invalid"===this.status?i(k,{icon:this.validationIcon,id:O,message:this.validationMessage,scale:this.scale,status:this.status}):null))}get el(){return s(this)}static get watchers(){return{value:["valueHandler"],selectedOption:["selectedOptionHandler"]}}};j.style=":host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}: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:flex;flex-direction:column}.wrapper{position:relative;display:flex;align-items:stretch;inline-size:var(--select-width)}.wrapper:focus-within .icon,.wrapper:active .icon,.wrapper:hover .icon{color:var(--calcite-color-text-1)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]){--calcite-select-font-size:var(--calcite-font-size--2);--calcite-select-spacing-inline:0.5rem 2rem}:host([scale=s]) .wrapper{block-size:1.5rem}:host([scale=s]) .icon-container{padding-inline:0.5rem}:host([scale=m]){--calcite-select-font-size:var(--calcite-font-size--1);--calcite-select-spacing-inline:0.75rem 2.5rem}:host([scale=m]) .wrapper{block-size:2rem}:host([scale=m]) .icon-container{padding-inline:0.75rem}:host([scale=l]){--calcite-select-font-size:var(--calcite-font-size-0);--calcite-select-spacing-inline:1rem 3rem}:host([scale=l]) .wrapper{block-size:44px}:host([scale=l]) .icon-container{padding-inline:1rem}:host([width=auto]){inline-size:auto}:host([width=half]){inline-size:50%}:host([width=full]){inline-size:100%}.select{margin:0px;box-sizing:border-box;inline-size:100%;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:0px;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-foreground-1);font-family:inherit;color:var(--calcite-color-text-2);outline-color:transparent;font-size:var(--calcite-select-font-size);padding-inline:var(--calcite-select-spacing-inline);border-inline-end-width:0px}.select: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 )}select:disabled{border-color:var(--calcite-color-border-input);--tw-bg-opacity:1}.icon-container{pointer-events:none;position:absolute;inset-block:0px;display:flex;align-items:center;border-width:0px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:transparent;color:var(--calcite-color-text-2);inset-inline-end:0px;border-inline-width:0px 1px}.icon-container .icon{color:var(--calcite-color-text-3)}:host([status=invalid]) select,:host([status=invalid]) .icon-container{border-color:var(--calcite-color-status-danger)}:host([status=invalid]) select:focus,:host([status=invalid]) .icon-container:focus{outline:2px solid var(--calcite-color-status-danger);outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.select:focus~.icon-container{border-color:transparent}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:0.5rem}:host([scale=s]) .validation-container{padding-block-start:0.25rem}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}";export{z as calcite_option,j as calcite_select}
|
@@ -0,0 +1,17 @@
|
|
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,f as e,h as i,g as a,c as s,H as l}from"./p-6eb37ed2.js";import{g as n}from"./p-ff8343ec.js";import{c as h}from"./p-c638d28e.js";import{i as r,u as o}from"./p-68ec5c15.js";import{c,d,a as m,H as u}from"./p-9f63a45c.js";import{c as b,d as p,u as f,I as g}from"./p-415cf05e.js";import{i as v}from"./p-fe6f7734.js";import{c as x,d as k,g as _}from"./p-ac52e0ba.js";import{s as $,a as y,c as w}from"./p-18f18ab3.js";import{n as z,c as M,d as V,B as L}from"./p-939bc1b4.js";import{d as H,c as j}from"./p-9f0b8f8b.js";import"./p-acaae81d.js";import"./p-b39c5275.js";import"./p-d559f79c.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.12.0
|
11
|
+
*/function X(t,e,i){const a=e[0]-t[0];return a?(3*(e[1]-t[1])/a-i)/2:i}function T(t,e,i,a,s){const[l,n]=t,[h,r]=e,o=(h-l)/3;return`C ${s([l+o,n+o*i]).join(",")} ${s([h-o,r-o*a]).join(",")} ${s([h,r]).join(",")}`}const D=class{constructor(i){t(this,i),this.graphId=`calcite-graph-${n()}`,this.resizeObserver=h("resize",(()=>e(this))),this.data=[],this.colorStops=void 0,this.highlightMin=void 0,this.highlightMax=void 0,this.min=void 0,this.max=void 0}connectedCallback(){this.resizeObserver?.observe(this.el)}disconnectedCallback(){this.resizeObserver?.disconnect()}render(){const{data:t,colorStops:e,el:a,highlightMax:s,highlightMin:l,min:n,max:h}=this,r=this.graphId,{clientHeight:o,clientWidth:c}=a;if(!t||0===t.length)return i("svg",{"aria-hidden":"true",class:"svg",height:o,preserveAspectRatio:"none",viewBox:`0 0 ${c} ${o}`,width:c});const{min:d,max:m}=function(t){const[e,i]=t[0];return t.reduce((({min:t,max:e},[i,a])=>({min:[Math.min(t[0],i),Math.min(t[1],a)],max:[Math.max(e[0],i),Math.max(e[1],a)]})),{min:[e,i],max:[e,i]})}(t);let u=d,b=m;(n<d[0]||n>d[0])&&(u=[n,0]),(h>m[0]||h<m[0])&&(b=[h,m[1]]);const p=function({width:t,height:e,min:i,max:a}){const s=a[0]-i[0],l=a[1]-i[1];return a=>[(a[0]-i[0])/s*t,e-a[1]/l*e]}({min:u,max:b,width:c,height:o}),[f]=p([l,b[1]]),[g]=p([s,b[1]]),v=function({data:t,min:e,max:i,t:a}){if(0===t.length)return"";const[s,l]=a(t[0]),[n,h]=a(e),[r]=a(i);let o,c,d;const m=t.reduce(((e,i,s)=>{if(c=t[s-2],d=t[s-1],s>1){const t=function(t,e,i){const a=e[0]-t[0],s=i[0]-e[0],l=(e[1]-t[1])/(a||s<0&&0),n=(i[1]-e[1])/(s||a<0&&0),h=(l*s+n*a)/(a+s);return(Math.sign(l)+Math.sign(n))*Math.min(Math.abs(l),Math.abs(n),.5*Math.abs(h))||0}(c,d,i),s=void 0===o?X(c,d,t):o,l=T(c,d,s,t,a);return o=t,`${e} ${l}`}return e}),`M ${n},${h} L ${n},${l} L ${s},${l}`),u=t[t.length-1];return`${m} ${T(d,u,o,X(d,u,o),a)} L ${r},${h} Z`}({data:t,min:d,max:m,t:p}),x=e?`url(#linear-gradient-${r})`:void 0;return i("svg",{"aria-hidden":"true",class:"svg",height:o,preserveAspectRatio:"none",viewBox:`0 0 ${c} ${o}`,width:c},e?i("defs",null,i("linearGradient",{id:`linear-gradient-${r}`,x1:"0",x2:"1",y1:"0",y2:"0"},e.map((({offset:t,color:e,opacity:a})=>i("stop",{offset:100*t+"%","stop-color":e,"stop-opacity":a}))))):null,void 0!==l?[i("mask",{height:"100%",id:`${r}1`,width:"100%",x:"0%",y:"0%"},i("path",{d:`\n M 0,0\n L ${f-1},0\n L ${f-1},${o}\n L 0,${o}\n Z\n `,fill:"white"})),i("mask",{height:"100%",id:`${r}2`,width:"100%",x:"0%",y:"0%"},i("path",{d:`\n M ${f+1},0\n L ${g-1},0\n L ${g-1},${o}\n L ${f+1}, ${o}\n Z\n `,fill:"white"})),i("mask",{height:"100%",id:`${r}3`,width:"100%",x:"0%",y:"0%"},i("path",{d:`\n M ${g+1},0\n L ${c},0\n L ${c},${o}\n L ${g+1}, ${o}\n Z\n `,fill:"white"})),i("path",{class:"graph-path",d:v,fill:x,mask:`url(#${r}1)`}),i("path",{class:"graph-path--highlight",d:v,fill:x,mask:`url(#${r}2)`}),i("path",{class:"graph-path",d:v,fill:x,mask:`url(#${r}3)`})]:i("path",{class:"graph-path",d:v,fill:x}))}get el(){return a(this)}};D.style=":host{display:block;block-size:100%}.svg{fill:currentColor;stroke:transparent;margin:0px;display:block;block-size:100%;inline-size:100%;padding:0px}.svg .graph-path--highlight{fill:var(--calcite-color-brand);opacity:0.5}:host([hidden]){display:none}[hidden]{display:none}";
|
12
|
+
/*!
|
13
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
14
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
15
|
+
* v2.12.0
|
16
|
+
*/
|
17
|
+
const C="container",S="container--range",I="hyphen",A="hyphen--wrap",F="thumb",P="thumb--active",R="thumb--minValue",O="thumb--precise",N="thumb--value",W="tick",B="tick--active",U="tick__label",Z="tick__label--max",G="tick__label--min";function E(t){return Array.isArray(t)}const K=class{constructor(e){t(this,e),this.calciteSliderInput=s(this,"calciteSliderInput",6),this.calciteSliderChange=s(this,"calciteSliderChange",6),this.handleKeyDown=t=>{const e=this.shouldMirror(),{activeProp:i,max:a,min:s,pageStep:l,step:n}=this,h=this[i],{key:r}=t;if(v(r))return void t.preventDefault();let o;if("ArrowUp"===r||"ArrowRight"===r?o=h+n*(e&&"ArrowRight"===r?-1:1):"ArrowDown"===r||"ArrowLeft"===r?o=h-n*(e&&"ArrowLeft"===r?-1:1):"PageUp"===r?l&&(o=h+l):"PageDown"===r?l&&(o=h-l):"Home"===r?o=s:"End"===r&&(o=a),isNaN(o))return;t.preventDefault();const c=Number(o.toFixed(H(n)));this.setValue({[i]:this.clamp(c,i)})},this.activeProp="value",this.guid=`calcite-slider-${n()}`,this.onThumbBlur=()=>{this.activeProp=null},this.onThumbFocus=t=>{this.activeProp=t.currentTarget.getAttribute("data-value-prop")},this.onThumbPointerDown=t=>{this.pointerDownDragStart(t,t.currentTarget.getAttribute("data-value-prop"))},this.onTrackPointerDown=t=>{this.pointerDownDragStart(t,"minMaxValue")},this.dragUpdate=t=>{if(!this.disabled&&(t.preventDefault(),this.dragProp)){const e=this.translate(t.clientX||t.pageX);if(E(this.value)&&"minMaxValue"===this.dragProp)if(this.minValueDragRange&&this.maxValueDragRange&&this.minMaxValueRange){const t=e-this.minValueDragRange,i=e+this.maxValueDragRange;i<=this.max&&t>=this.min&&i-t===this.minMaxValueRange&&this.setValue({minValue:this.clamp(t,"minValue"),maxValue:this.clamp(i,"maxValue")})}else this.minValueDragRange=e-this.minValue,this.maxValueDragRange=this.maxValue-e,this.minMaxValueRange=this.maxValue-this.minValue;else this.setValue({[this.dragProp]:this.clamp(e,this.dragProp)})}},this.pointerUpDragEnd=t=>{!this.disabled&&r(t)&&this.dragEnd(t)},this.dragEnd=t=>{this.disabled||(this.removeDragListeners(),this.focusActiveHandle(t.clientX),this.lastDragPropValue!=this[this.dragProp]&&this.emitChange(),this.dragProp=null,this.lastDragPropValue=null,this.minValueDragRange=null,this.maxValueDragRange=null,this.minMaxValueRange=null)},this.storeTrackRef=t=>{this.trackEl=t},this.storeThumbRef=t=>{t&&("minValue"===t.getAttribute("data-value-prop")?this.minHandle=t:this.maxHandle=t)},this.formatValue=t=>(z.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator},z.localize(t.toString())),this.disabled=!1,this.fillPlacement="start",this.form=void 0,this.groupSeparator=!1,this.hasHistogram=!1,this.histogram=void 0,this.histogramStops=void 0,this.labelHandles=!1,this.labelFormatter=void 0,this.labelTicks=!1,this.max=100,this.maxLabel=void 0,this.maxValue=void 0,this.min=0,this.minLabel=void 0,this.minValue=void 0,this.mirrored=!1,this.name=void 0,this.numberingSystem=void 0,this.pageStep=void 0,this.precise=!1,this.required=!1,this.snap=!1,this.step=1,this.ticks=void 0,this.value=0,this.scale="m",this.effectiveLocale="",this.minMaxValueRange=null,this.minValueDragRange=null,this.maxValueDragRange=null,this.tickValues=[]}histogramWatcher(t){this.hasHistogram=!!t}ticksWatcher(){this.tickValues=this.generateTickValues()}valueHandler(){this.setMinMaxFromValue()}minMaxValueHandler(){this.setValueFromMinMax()}connectedCallback(){b(this),M(this),this.setMinMaxFromValue(),this.setValueFromMinMax(),x(this),c(this)}disconnectedCallback(){p(this),k(this),d(this),V(this),this.removeDragListeners()}componentWillLoad(){$(this),E(this.value)||(this.value=this.snap?this.getClosestStep(this.value):this.clamp(this.value)),this.ticksWatcher(),this.histogramWatcher(this.histogram),m(this,this.value)}componentDidLoad(){y(this)}componentDidRender(){this.labelHandles&&(this.adjustHostObscuredHandleLabel("value"),E(this.value)&&(this.adjustHostObscuredHandleLabel("minValue"),this.precise&&!this.hasHistogram||this.hyphenateCollidingRangeHandleLabels())),this.hideObscuredBoundingTickLabels(),f(this)}render(){const t=this.el.id||this.guid,e=E(this.value)?this.maxValue:this.value,a=this.minValue||this.min,s=this.shouldUseMinValue(),n=100*this.getUnitInterval(s?this.minValue:a),h=100*this.getUnitInterval(e),r=this.shouldMirror(),o=E(this.value),c=this.buildThumbType("max"),d=this.renderThumb({type:c,thumbPlacement:c.includes("histogram")?"below":"above",maxInterval:h,minInterval:n,mirror:r}),m=this.buildThumbType("min"),b=o&&this.renderThumb({type:m,thumbPlacement:m.includes("histogram")||m.includes("precise")?"below":"above",maxInterval:h,minInterval:n,mirror:r}),p=o?"start":this.fillPlacement,f="none"===p?{left:"unset",right:"unset"}:"end"===p?{left:`${r?n:h}%`,right:`${r?h:n}%`}:{left:`${r?100-h:n}%`,right:`${r?n:100-h}%`};return i(l,{key:"c0ebc9073b3609d1d47379b5efccbe31c68915ed",id:t,onKeyDown:this.handleKeyDown,onTouchStart:this.handleTouchStart},i(g,{key:"1f6930631e4c83e5b47ae1d5c64c10dbe58ed8e7",disabled:this.disabled},i("div",{key:"09a30ae372ca5e52fde36a0a85adc76d14ca1461","aria-label":_(this),class:{[C]:!0,[S]:o,[`scale--${this.scale}`]:!0}},this.renderGraph(),i("div",{key:"e996119bc9bba42340d24b2dc8b2ad7daaf02e6e",class:"track",ref:this.storeTrackRef},i("div",{key:"fb768d8462137621d7a891d0767e2e27864307fc",class:"track__range",onPointerDown:this.onTrackPointerDown,style:f}),i("div",{key:"408a0a05ef7503b1af724cfd95e3fb40f94bcbf8",class:"ticks"},this.tickValues.map((t=>{const l=100*this.getUnitInterval(t)+"%";let n=!1;return"start"!==p&&"end"!==p||(n=s?t>=this.minValue&&t<=this.maxValue:t>=("start"===p?a:e)&&t<=("start"===p?e:this.max)),i("span",{class:{[W]:!0,[B]:n},style:{left:r?"":l,right:r?l:""}},this.renderTickLabel(t))})))),i("div",{key:"c511ee11206dadb2b23199708abf2d2703423559",class:"thumb-container"},b,d,i(u,{key:"f6684d5f25ade745730db775a5e51298b5eb8048",component:this})))))}renderThumb({type:t,mirror:e,thumbPlacement:a,minInterval:s,maxInterval:l}){const n=t.includes("labeled"),h=t.includes("precise"),r=t.includes("min"),o=E(this.value),c=r?this.minValue:o?this.maxValue:this.value,d=r?"minValue":o?"maxValue":"value",m=r?this.minLabel:o?this.maxLabel:this.minLabel,u=r?this.minValue:c,b="minValue"===d?this.internalLabelFormatter(this.minValue,"min"):"maxValue"===d?this.internalLabelFormatter(this.maxValue,"max"):this.internalLabelFormatter(c,"value"),p=r?{left:`${e?100-s:s}%`}:{right:`${e?l:100-l}%`},f="handle__label "+(r?"handle__label--minValue":"handle__label--value"),g=[...n?[i("span",{"aria-hidden":"true",class:f},b),i("span",{"aria-hidden":"true",class:`${f} static`},b),i("span",{"aria-hidden":"true",class:`${f} transformed`},b)]:[],i("div",{class:"handle"}),h&&i("div",{class:"handle-extension"})];return"below"===a&&g.reverse(),i("div",{"aria-disabled":this.disabled,"aria-label":m,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":u,class:{[F]:!0,[N]:!r,[P]:"minMaxValue"!==this.lastDragProp&&this.dragProp===d,[O]:h,[R]:r},"data-value-prop":d,key:t,onBlur:this.onThumbBlur,onFocus:this.onThumbFocus,onPointerDown:this.onThumbPointerDown,ref:this.storeThumbRef,role:"slider",style:p,tabIndex:0},g)}renderGraph(){return this.histogram?i("calcite-graph",{class:"graph",colorStops:this.histogramStops,data:this.histogram,highlightMax:E(this.value)?this.maxValue:this.value,highlightMin:E(this.value)?this.minValue:this.min,max:this.max,min:this.min}):null}renderTickLabel(t){const{hasHistogram:e,labelHandles:a,labelTicks:s,max:l,min:n,precise:h,value:r}=this,o=E(r),c=t===n,d=t===l,m=c||d;return!s||(e||!m&&h&&o)&&(!e||!m&&(h||a))?null:i("span",{class:{[U]:!0,[G]:c,[Z]:d}},this.internalLabelFormatter(t,"tick"))}pointerDownHandler(t){if(this.disabled||!r(t))return;const e=t.clientX||t.pageX,i=this.translate(e);let a="value";E(this.value)&&(a=i>=this.minValue&&i<=this.maxValue&&"minMaxValue"===this.lastDragProp?"minMaxValue":Math.abs(this.maxValue-i)<Math.abs(this.minValue-i)||i>=this.maxValue?"maxValue":"minValue"),this.lastDragPropValue=this[a],this.dragStart(a),this.el.shadowRoot.querySelector(`.${F}:active`)||this.setValue({[a]:this.clamp(i,a)}),this.focusActiveHandle(e)}handleTouchStart(t){t.preventDefault()}async setFocus(){await w(this);const t=this.minHandle?this.minHandle:this.maxHandle;t?.focus()}buildThumbType(t){const e=[t];return this.labelHandles&&e.push("labeled"),this.precise&&e.push("precise"),this.hasHistogram&&e.push("histogram"),e.join("-")}setValueFromMinMax(){const{minValue:t,maxValue:e}=this;"number"==typeof t&&"number"==typeof e&&(this.value=[t,e])}setMinMaxFromValue(){const{value:t}=this;E(t)&&(this.minValue=t[0],this.maxValue=t[1])}onLabelClick(){this.setFocus()}shouldMirror(){return this.mirrored&&!this.hasHistogram}shouldUseMinValue(){return!!E(this.value)&&(this.hasHistogram&&0===this.maxValue||!this.hasHistogram&&0===this.minValue)}getTickDensity(){const t=(this.max-this.min)/this.ticks/250;return t<1?1:t}generateTickValues(){const t=this.ticks??0;if(t<=0)return[];const e=[this.min],i=t*this.getTickDensity();let a=this.min;for(;a<this.max;)a+=i,e.push(Math.min(a,this.max));return e.includes(this.max)||e.push(this.max),e}pointerDownDragStart(t,e){r(t)&&this.dragStart(e)}dragStart(t){this.dragProp=t,this.lastDragProp=this.dragProp,this.activeProp=t,window.addEventListener("pointermove",this.dragUpdate),window.addEventListener("pointerup",this.pointerUpDragEnd),window.addEventListener("pointercancel",this.dragEnd)}focusActiveHandle(t){"minValue"===this.dragProp?this.minHandle.focus():"maxValue"===this.dragProp||"value"===this.dragProp?this.maxHandle.focus():"minMaxValue"===this.dragProp&&this.getClosestHandle(t).focus()}emitInput(){this.calciteSliderInput.emit()}emitChange(){this.calciteSliderChange.emit()}removeDragListeners(){window.removeEventListener("pointermove",this.dragUpdate),window.removeEventListener("pointerup",this.pointerUpDragEnd),window.removeEventListener("pointercancel",this.dragEnd)}setValue(t){let e;Object.keys(t).forEach((i=>{const a=t[i];e||(e=this[i]!==a),this[i]=a})),e&&(this.dragProp||this.emitChange(),this.emitInput())}clamp(t,e){return t=j(t,this.min,this.max),"maxValue"===e&&(t=Math.max(t,this.minValue)),"minValue"===e&&(t=Math.min(t,this.maxValue)),t}translate(t){const e=this.max-this.min,{left:i,width:a}=this.trackEl.getBoundingClientRect(),s=(t-i)/a,l=this.shouldMirror(),n=this.clamp(this.min+e*(l?1-s:s)),h=Number(n.toFixed(H(this.step)));return this.snap&&this.step?this.getClosestStep(h):h}getClosestStep(t){const{max:e,min:i,step:a}=this,s=new L(`${Math.floor((t-i)/a)}`).multiply(`${a}`).add(`${i}`).toString();let l=this.clamp(Number(s));return l>e&&(l-=a),l}getClosestHandle(t){return this.getDistanceX(this.maxHandle,t)>this.getDistanceX(this.minHandle,t)?this.minHandle:this.maxHandle}getDistanceX(t,e){return Math.abs(t.getBoundingClientRect().left-e)}getFontSizeForElement(t){return Number(window.getComputedStyle(t).getPropertyValue("font-size").match(/\d+/)[0])}getUnitInterval(t){return((t=this.clamp(t))-this.min)/(this.max-this.min)}adjustHostObscuredHandleLabel(t){const e=this.el.shadowRoot.querySelector(`.handle__label--${t}`),i=this.el.shadowRoot.querySelector(`.handle__label--${t}.static`),a=this.el.shadowRoot.querySelector(`.handle__label--${t}.transformed`),s=i.getBoundingClientRect(),l=this.getHostOffset(s.left,s.right);e.style.transform=`translateX(${l}px)`,a.style.transform=`translateX(${l}px)`}hyphenateCollidingRangeHandleLabels(){const{shadowRoot:t}=this.el,e=this.shouldMirror(),i=e?"value":"minValue",a=e?"minValue":"value",s=t.querySelector(`.handle__label--${i}`),l=t.querySelector(`.handle__label--${i}.static`),n=t.querySelector(`.handle__label--${i}.transformed`),h=this.getHostOffset(l.getBoundingClientRect().left,l.getBoundingClientRect().right),r=t.querySelector(`.handle__label--${a}`),o=t.querySelector(`.handle__label--${a}.static`),c=t.querySelector(`.handle__label--${a}.transformed`),d=this.getHostOffset(o.getBoundingClientRect().left,o.getBoundingClientRect().right),m=this.getFontSizeForElement(s),u=this.getRangeLabelOverlap(n,c),b=s,p=m/2;if(u>0){if(b.classList.add(I,A),0===d&&0===h){let t=u/2-p;t=-1===Math.sign(t)?Math.abs(t):-t;const e=this.getHostOffset(n.getBoundingClientRect().left+t-p,n.getBoundingClientRect().right+t-p);let i=u/2;const a=this.getHostOffset(c.getBoundingClientRect().left+i,c.getBoundingClientRect().right+i);0!==e&&(t+=e,i+=e),0!==a&&(t+=a,i+=a),s.style.transform=`translateX(${t}px)`,n.style.transform=`translateX(${t-p}px)`,r.style.transform=`translateX(${i}px)`,c.style.transform=`translateX(${i}px)`}else if(h>0||d>0)s.style.transform=`translateX(${h+p}px)`,r.style.transform=`translateX(${u+d}px)`,c.style.transform=`translateX(${u+d}px)`;else if(h<0||d<0){let t=Math.abs(h)+u-p;t=-1===Math.sign(t)?Math.abs(t):-t,s.style.transform=`translateX(${t}px)`,n.style.transform=`translateX(${t-p}px)`}}else b.classList.remove(I,A),s.style.transform=`translateX(${h}px)`,n.style.transform=`translateX(${h}px)`,r.style.transform=`translateX(${d}px)`,c.style.transform=`translateX(${d}px)`}hideObscuredBoundingTickLabels(){const t=E(this.value);if(!(this.hasHistogram||t||this.labelHandles||this.precise))return;if(!this.hasHistogram&&!t&&this.labelHandles&&!this.precise)return;if(!this.hasHistogram&&!t&&!this.labelHandles&&this.precise)return;if(!this.hasHistogram&&!t&&this.labelHandles&&this.precise)return;if(!this.hasHistogram&&t&&!this.precise)return;if(this.hasHistogram&&!this.precise&&!this.labelHandles)return;const e=this.el.shadowRoot.querySelector(`.${R}`),i=this.el.shadowRoot.querySelector(`.${N}`),a=this.el.shadowRoot.querySelector(`.${G}`),s=this.el.shadowRoot.querySelector(`.${Z}`);!e&&i&&a&&s&&(a.style.opacity=this.isMinTickLabelObscured(a,i)?"0":"1",s.style.opacity=this.isMaxTickLabelObscured(s,i)?"0":"1"),e&&i&&a&&s&&(a.style.opacity=this.isMinTickLabelObscured(a,e)||this.isMinTickLabelObscured(a,i)?"0":"1",s.style.opacity=this.isMaxTickLabelObscured(s,e)||this.isMaxTickLabelObscured(s,i)&&this.hasHistogram?"0":"1")}getHostOffset(t,e){const i=this.el.getBoundingClientRect();return t+7<i.left?i.left-t-7:e-7>i.right?7-(e-i.right):0}getRangeLabelOverlap(t,e){const i=t.getBoundingClientRect(),a=e.getBoundingClientRect(),s=this.getFontSizeForElement(t);return Math.max(i.right+s-a.left,0)}isMinTickLabelObscured(t,e){const i=t.getBoundingClientRect(),a=e.getBoundingClientRect();return o(i,a)}isMaxTickLabelObscured(t,e){const i=t.getBoundingClientRect(),a=e.getBoundingClientRect();return o(i,a)}internalLabelFormatter(t,e){const i=this.labelFormatter;if(!i)return this.formatValue(t);const a=i(t,e,this.formatValue);return null==a?this.formatValue(t):a}static get delegatesFocus(){return!0}get el(){return a(this)}static get watchers(){return{histogram:["histogramWatcher"],ticks:["ticksWatcher"],value:["valueHandler"],minValue:["minMaxValueHandler"],maxValue:["minMaxValueHandler"]}}};K.style='@charset "UTF-8";: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}.scale--s{--calcite-slider-handle-size:0.625rem;--calcite-slider-handle-extension-height:0.4rem;--calcite-slider-container-font-size:var(--calcite-font-size--3)}.scale--s .handle__label,.scale--s .tick__label{line-height:.75rem}.scale--m{--calcite-slider-handle-size:0.875rem;--calcite-slider-handle-extension-height:0.5rem;--calcite-slider-container-font-size:var(--calcite-font-size--2)}.scale--m .handle__label,.scale--m .tick__label{line-height:1rem}.scale--l{--calcite-slider-handle-size:1rem;--calcite-slider-handle-extension-height:0.65rem;--calcite-slider-container-font-size:var(--calcite-font-size--1)}.scale--l .handle__label,.scale--l .tick__label{line-height:1rem}.handle__label,.tick__label{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-2);font-size:var(--calcite-slider-container-font-size)}:host{display:block}.container{position:relative;display:block;overflow-wrap:normal;word-break:normal;padding-inline:calc(var(--calcite-slider-handle-size) * 0.5);padding-block:calc(var(--calcite-slider-handle-size) * 0.5);margin-block:calc(var(--calcite-slider-handle-size) * 0.5);margin-inline:0;--calcite-slider-full-handle-height:calc(\n var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height)\n );touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}:host([disabled]) .track__range,:host([disabled]) .tick--active{background-color:var(--calcite-color-text-3)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-0.375rem}.scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-0.5rem}.scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-0.55rem}:host([precise]:not([has-histogram])) .container .thumb--value{--calcite-slider-thumb-y-offset:calc(var(--calcite-slider-full-handle-height) * -1)}.thumb-container{position:relative;max-inline-size:100%}.thumb{--calcite-slider-thumb-x-offset:calc(var(--calcite-slider-handle-size) * 0.5);position:absolute;margin:0px;display:flex;cursor:pointer;flex-direction:column;align-items:center;border-style:none;background-color:transparent;padding:0px;font-family:inherit;outline:2px solid transparent;outline-offset:2px;transform:translate(var(--calcite-slider-thumb-x-offset), var(--calcite-slider-thumb-y-offset))}.thumb .handle__label.static,.thumb .handle__label.transformed{position:absolute;inset-block:0px;opacity:0}.thumb .handle__label.hyphen::after{content:"—";display:inline-block;inline-size:1em}.thumb .handle__label.hyphen--wrap{display:flex}.thumb .handle{box-sizing:border-box;border-radius:9999px;background-color:var(--calcite-color-foreground-1);outline-color:transparent;block-size:var(--calcite-slider-handle-size);inline-size:var(--calcite-slider-handle-size);box-shadow:0 0 0 2px var(--calcite-color-text-3) inset;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, box-shadow var(--calcite-animation-timing) ease}.thumb .handle-extension{inline-size:0.125rem;block-size:var(--calcite-slider-handle-extension-height);background-color:var(--calcite-color-text-3)}.thumb:hover .handle{box-shadow:0 0 0 3px var(--calcite-color-brand) inset}.thumb:hover .handle-extension{background-color:var(--calcite-color-brand)}.thumb:focus .handle{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 )}.thumb:focus .handle-extension{background-color:var(--calcite-color-brand)}.thumb.thumb--minValue{transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1), var(--calcite-slider-thumb-y-offset))}.thumb.thumb--precise{--calcite-slider-thumb-y-offset:-0.125rem}:host([label-handles]) .thumb{--calcite-slider-thumb-x-offset:50%}:host([label-handles]):host(:not([has-histogram])) .scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-1.4375rem}:host([label-handles]):host(:not([has-histogram])) .scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-1.875rem}:host([label-handles]):host(:not([has-histogram])) .scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-2rem}:host([has-histogram][label-handles]) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--minValue.thumb--precise .handle__label{margin-block-start:0.5em}:host(:not([has-histogram]):not([precise])) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--value .handle__label{margin-block-end:0.5em}:host([label-handles][precise]):host(:not([has-histogram])) .scale--s .thumb--value{--calcite-slider-thumb-y-offset:-2.075rem}:host([label-handles][precise]):host(:not([has-histogram])) .scale--m .thumb--value{--calcite-slider-thumb-y-offset:-2.75rem}:host([label-handles][precise]):host(:not([has-histogram])) .scale--l .thumb--value{--calcite-slider-thumb-y-offset:-3.0625rem}.thumb:focus .handle,.thumb--active .handle{background-color:var(--calcite-color-brand);box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16)}.thumb:hover.thumb--precise::after,.thumb:focus.thumb--precise::after,.thumb--active.thumb--precise::after{background-color:var(--calcite-color-brand)}.track{position:relative;block-size:0.125rem;border-radius:0px;background-color:var(--calcite-color-border-2);transition:all var(--calcite-internal-animation-timing-medium) ease-in}.track__range{position:absolute;inset-block-start:0px;block-size:0.125rem;background-color:var(--calcite-color-brand)}.container--range .track__range:hover{cursor:ew-resize}.container--range .track__range::after{position:absolute;inline-size:100%;content:"";inset-block-start:calc(var(--calcite-slider-full-handle-height) * 0.5 * -1);block-size:calc(var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height))}@media (forced-colors: active){.thumb{outline-width:0;outline-offset:0}.handle{outline:2px solid transparent;outline-offset:2px}.thumb:focus .handle,.thumb .handle-extension,.thumb:hover .handle-extension,.thumb:focus .handle-extension,.thumb:active .handle-extension{background-color:canvasText}.track{background-color:canvasText}.track__range{background-color:highlight}}.tick{position:absolute;block-size:0.25rem;inline-size:0.125rem;border-width:1px;border-style:solid;background-color:var(--calcite-color-border-input);border-color:var(--calcite-color-foreground-1);inset-block-start:-2px;pointer-events:none;margin-inline-start:calc(-1 * 0.125rem)}.tick--active{background-color:var(--calcite-color-brand)}.tick__label{pointer-events:none;margin-block-start:0.875rem;display:flex;justify-content:center}.tick__label--min{transition:opacity var(--calcite-animation-timing)}.tick__label--max{transition:opacity var(--calcite-internal-animation-timing-fast)}:host([has-histogram][label-handles]) .tick__label--min,:host([has-histogram][label-handles]) .tick__label--max,:host([has-histogram][precise]) .tick__label--min,:host([has-histogram][precise]) .tick__label--max{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-3)}.graph{color:var(--calcite-color-foreground-3);block-size:48px}:host([label-ticks][ticks]) .container{padding-block-end:calc(0.875rem + var(--calcite-slider-container-font-size))}:host([has-histogram]):host([precise][label-handles]) .container{padding-block-end:calc(var(--calcite-slider-full-handle-height) + 1em)}:host([has-histogram]):host([label-handles]:not([precise])) .container{padding-block-end:calc(var(--calcite-slider-handle-size) * 0.5 + 1em)}:host([has-histogram]):host([precise]:not([label-handles])) .container{padding-block-end:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container{padding-block-start:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container--range{padding-block-end:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([label-handles]:not([precise])) .container{padding-block-start:calc(var(--calcite-slider-full-handle-height) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container{padding-block-start:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container--range{padding-block-end:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}';export{D as calcite_graph,K as calcite_slider}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{d as e}from"./p-62c6764c.js";import"./p-6eb37ed2.js";import"./p-9f63a45c.js";import"./p-68ec5c15.js";import"./p-ff8343ec.js";import"./p-b39c5275.js";import"./p-415cf05e.js";import"./p-acaae81d.js";import"./p-fe6f7734.js";import"./p-ac52e0ba.js";import"./p-d559f79c.js";import"./p-18f18ab3.js";import"./p-939bc1b4.js";import"./p-c638d28e.js";import"./p-ead8696c.js";import"./p-aeb86188.js";import"./p-f31a44b7.js";import"./p-9f0b8f8b.js";import"./p-1a9a47a0.js";import"./p-40724bfb.js";import"./p-8524bacc.js";var m={name:"es-mx",weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(e){return e+"º"},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"}};e.locale(m,null,!0);export{m as default}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as i,c as e,h as t,H as c,g as n}from"./p-6eb37ed2.js";import{c as o,d as a}from"./p-06084e6c.js";import{g as r,a as d,t as s,c as l}from"./p-68ec5c15.js";import{C as h}from"./p-b39c5275.js";import{g as p}from"./p-d559f79c.js";import{s as m,a as v,c as f}from"./p-18f18ab3.js";import"./p-c638d28e.js";import"./p-acaae81d.js";import"./p-ff8343ec.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.12.0
|
11
|
+
*/const g="actions-start",b="actions-end",x="header",u="icon",k="icon--end",y="icon--start",w="section",j="section-toggle",I=class{constructor(t){i(this,t),this.calciteInternalAccordionItemSelect=e(this,"calciteInternalAccordionItemSelect",6),this.calciteInternalAccordionItemClose=e(this,"calciteInternalAccordionItemClose",6),this.storeHeaderEl=i=>{this.headerEl=i},this.itemHeaderClickHandler=()=>this.emitRequestedItem(),this.expanded=!1,this.heading=void 0,this.description=void 0,this.iconStart=void 0,this.iconEnd=void 0,this.iconFlipRtl=void 0,this.iconPosition=void 0,this.iconType=void 0,this.accordionParent=void 0,this.scale=void 0}connectedCallback(){o(this)}componentWillLoad(){m(this)}componentDidLoad(){v(this)}disconnectedCallback(){a(this)}renderActionsStart(){const{el:i}=this;return r(i,g)?t("div",{class:"actions-start"},t("slot",{name:g})):null}renderActionsEnd(){const{el:i}=this;return r(i,b)?t("div",{class:"actions-end"},t("slot",{name:b})):null}render(){const{iconFlipRtl:i}=this,e=d(this.el),n=this.iconStart?t("calcite-icon",{class:{[u]:!0,[y]:!0},flipRtl:"both"===i||"start"===i,icon:this.iconStart,key:"icon-start",scale:p(this.scale)}):null,o=this.iconEnd?t("calcite-icon",{class:{[k]:!0,[u]:!0},flipRtl:"both"===i||"end"===i,icon:this.iconEnd,key:"icon-end",scale:p(this.scale)}):null,{description:a}=this;return t(c,{key:"814d4825cae2104f75b2f9929536082846cf57bd"},t("div",{key:"2db2128ea0666b97849c6dae790540f233c9d0c1",class:{[`icon-position--${this.iconPosition}`]:!0,[`icon-type--${this.iconType}`]:!0}},t("div",{key:"64fe888d6f47db3f9338327280b3e321bb770518",class:{[x]:!0,[h.rtl]:"rtl"===e}},this.renderActionsStart(),t("div",{key:"9b76d09efa231d1840c913245832a10bedd8ea4b","aria-controls":w,"aria-expanded":s(this.expanded),class:"header-content",id:j,onClick:this.itemHeaderClickHandler,ref:this.storeHeaderEl,role:"button",tabindex:"0"},t("div",{key:"59c73bc01a0321f23b296b12fa4bd9476084ce4b",class:"header-container"},n,t("div",{key:"c9d3551a823a31d4cc54934f780272e437f38ef1",class:"header-text"},t("span",{key:"350ea0660f827ced975b326287dc285ad1417b4c",class:"heading"},this.heading),a?t("span",{class:"description"},a):null),o),t("calcite-icon",{key:"497edd46ef65a4ac27a844f7c6c5de5cfb2cb0e7",class:"expand-icon",icon:"chevron"===this.iconType?"chevronDown":"caret"===this.iconType?"caretDown":this.expanded?"minus":"plus",scale:p(this.scale)})),this.renderActionsEnd()),t("section",{key:"1b7cd480d664d6b3f65c145e19c5866107d19413","aria-labelledby":j,class:"content",id:w},t("slot",{key:"1156f3056966f11ee0836a5185cce700911c8c8b"}))))}keyDownHandler(i){if(i.target===this.el)switch(i.key){case" ":case"Enter":this.emitRequestedItem(),i.preventDefault()}}updateActiveItemOnChange(i){const[e]=i.composedPath(),t=l(this.el,"calcite-accordion");e===t&&(this.determineActiveItem(t.selectionMode,i.detail.requestedAccordionItem),i.stopPropagation())}accordionItemSyncHandler(i){const[e]=i.composedPath(),t=this.el;if(t.parentElement===e)return;const c=l(t,"calcite-accordion");e===c&&(t.iconPosition=c.iconPosition,t.iconType=c.iconType,t.scale=c.scale,i.stopPropagation())}async setFocus(){await f(this),this.headerEl.focus()}determineActiveItem(i,e){switch(i){case"multiple":this.el===e&&(this.expanded=!this.expanded);break;case"single":this.expanded=this.el===e&&!this.expanded;break;case"single-persist":this.expanded=this.el===e}}emitRequestedItem(){this.calciteInternalAccordionItemSelect.emit({requestedAccordionItem:this.el})}get el(){return n(this)}};I.style=".icon-position--end,.icon-position--start{--calcite-internal-accordion-item-icon-rotation:calc(90deg * -1);--calcite-internal-accordion-item-active-icon-rotation:0deg;--calcite-internal-accordion-item-icon-rotation-rtl:90deg;--calcite-internal-accordion-item-active-icon-rotation-rtl:0deg}:host{position:relative;display:flex;flex-direction:column;text-decoration-line:none;color:var(--calcite-accordion-text-color, var(--calcite-color-text-3));border-width:0}.icon-position--start{--calcite-internal-accordion-item-flex-direction:row-reverse;--calcite-internal-accordion-item-icon-spacing-start:0;--calcite-internal-accordion-item-icon-spacing-end:var(--calcite-internal-accordion-icon-margin)}.icon-position--end{--calcite-internal-accordion-item-flex-direction:row;--calcite-internal-accordion-item-icon-spacing-start:var(--calcite-internal-accordion-icon-margin);--calcite-internal-accordion-item-icon-spacing-end:0}.icon-position--end:not(.icon-type--plus-minus){--calcite-internal-accordion-item-icon-rotation:0deg;--calcite-internal-accordion-item-active-icon-rotation:180deg;--calcite-internal-accordion-item-icon-rotation-rtl:0deg;--calcite-internal-accordion-item-active-icon-rotation-rtl:calc(180deg * -1)}.content,.header{border-block-end-width:var(--calcite-border-width-sm);border-block-end-style:solid;border-color:var(--calcite-accordion-border-color, var(--calcite-color-border-2))}.header-content,.content{padding:var(--calcite-accordion-item-content-space, var(--calcite-internal-accordion-item-padding, var(--calcite-internal-accordion-item-spacing-unit, 0.5rem 0.75rem)))}.header{display:flex;align-items:stretch}.header *{display:inline-flex;align-items:center;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);word-wrap:break-word;word-break:break-word}.header-content{flex-grow:1;cursor:pointer;outline-color:transparent;flex-direction:var(--calcite-internal-accordion-item-flex-direction)}.header-content: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 )}.header-content:focus,.header-content:hover,.header-content:active{color:var(--calcite-accordion-text-color-hover, var(--calcite-color-text-2))}.header-content:focus .expand-icon,.header-content:focus .heading,.header-content:hover .expand-icon,.header-content:hover .heading,.header-content:active .expand-icon,.header-content:active .heading{color:var(--calcite-accordion-text-color-pressed, var(--calcite-color-text-1))}.header-container{inline-size:100%}.header-text{margin-block:0px;flex-grow:1;flex-direction:column;padding-block:0px;text-align:initial;margin-inline-end:auto}.heading,.description{display:flex;inline-size:100%}.heading{font-weight:var(--calcite-font-weight-medium)}.actions-start,.actions-end{display:flex;align-items:center}.icon{display:flex;align-items:center;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline-end:var(--calcite-internal-accordion-item-icon-spacing-start);margin-inline-start:var(--calcite-internal-accordion-item-icon-spacing-end)}.icon--start{margin-inline-end:var(--calcite-internal-accordion-icon-margin)}.icon--end{margin-inline-end:var(--calcite-internal-accordion-icon-margin);margin-inline-start:var(--calcite-internal-accordion-icon-margin)}.expand-icon{color:var(--calcite-accordion-text-color, var(--calcite-color-text-3));margin-inline-start:var(--calcite-internal-accordion-item-icon-spacing-start);margin-inline-end:var(--calcite-internal-accordion-item-icon-spacing-end);transform:rotate(var(--calcite-internal-accordion-item-icon-rotation))}.calcite--rtl .expand-icon{transform:rotate(var(--calcite-internal-accordion-item-icon-rotation-rtl))}.description{margin-block-start:0.25rem}.content{display:none;padding-block-start:0px;text-align:initial}:host(:not(:focus):not(:hover):not([expanded])) .heading{color:var(--calcite-accordion-text-color-hover, var(--calcite-color-text-2))}:host([expanded]){color:var(--calcite-accordion-text-color-pressed, var(--calcite-color-text-1))}:host([expanded]) .header{border-block-end-color:transparent}:host([expanded]) .expand-icon{color:var(--calcite-accordion-text-color-hover, var(--calcite-color-text-2));transform:rotate(var(--calcite-internal-accordion-item-active-icon-rotation))}:host([expanded]) .calcite--rtl .expand-icon{transform:rotate(var(--calcite-internal-accordion-item-active-icon-rotation-rtl))}:host([expanded]) .description{color:var(--calcite-accordion-text-color-hover, var(--calcite-color-text-2))}:host([expanded]) .content{display:block}@media (forced-colors: active){:host([expanded]) .header{border-block-end:none}:host([expanded]) .heading{font-weight:bolder}.header-content:hover .heading,.header-content:focus .heading{text-decoration:underline}}:host([hidden]){display:none}[hidden]{display:none}";export{I as calcite_accordion_item}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,c as e,h as i,H as s,g as a}from"./p-6eb37ed2.js";import{s as o,t as n,g as l,z as c}from"./p-68ec5c15.js";import{g as r}from"./p-d559f79c.js";import{s as h,a as d,c as p}from"./p-18f18ab3.js";import{N as u,c as f,d as b}from"./p-939bc1b4.js";import{o as m}from"./p-580a4537.js";import{c as g,s as v,d as y,u as k}from"./p-1a9a47a0.js";import{K as w}from"./p-9ab3df4f.js";import{g as x,l as C}from"./p-2058b5d9.js";import{a as _}from"./p-eb483242.js";import{P as z}from"./p-900fee65.js";import"./p-ff8343ec.js";import"./p-b39c5275.js";import"./p-acaae81d.js";import"./p-fe6f7734.js";import"./p-c638d28e.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";import"./p-022c49af.js";import"./p-659678f1.js";import"./p-7c583516.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.12.0
|
11
|
+
*/const j={slow:14e3,medium:1e4,fast:6e3},E="container",H="container--active",W="container--embedded",D="queue-count",F="queue-count--active",L="focused",S=new class{constructor(){this.registeredElements=[],this.queueTimeoutId=null}registerElement(t){const{registeredElements:e}=this;if(!e.includes(t)){switch(t.queue){case"immediate":e.unshift(t);break;case"next":e.splice(1,0,t);break;case"last":e.push(t)}this.updateAlerts()}}unregisterElement(t){const{registeredElements:e}=this,i=e.indexOf(t);-1!==i&&e.splice(i,1),t.active=!1,this.updateAlerts()}updateAlerts(){window.clearTimeout(this.queueTimeoutId),this.queueTimeoutId=null,this.registeredElements.forEach(((t,e)=>{t.openAlertCount=this.registeredElements.length,0===e?this.queueTimeoutId=window.setTimeout((()=>t.active=!0),300):t.active=!1}))}},A=class{constructor(i){t(this,i),this.calciteAlertBeforeClose=e(this,"calciteAlertBeforeClose",6),this.calciteAlertClose=e(this,"calciteAlertClose",6),this.calciteAlertBeforeOpen=e(this,"calciteAlertBeforeOpen",6),this.calciteAlertOpen=e(this,"calciteAlertOpen",6),this.handleKeyBoardFocus=()=>{this.isFocused=!0,this.handleFocus()},this.handleKeyBoardBlur=()=>{this.isFocused=!1,this.isHovered||this.handleBlur()},this.autoCloseTimeoutId=null,this.totalOpenTime=0,this.totalHoverTime=0,this.openTransitionProp="opacity",this.setTransitionEl=t=>{this.transitionEl=t},this.closeAlert=()=>{this.open=!1,this.clearAutoCloseTimeout()},this.actionsEndSlotChangeHandler=t=>{this.hasEndActions=o(t)},this.handleMouseOver=()=>{this.isHovered=!0,this.handleFocus()},this.handleMouseLeave=()=>{this.isHovered=!1,this.isFocused||this.handleBlur()},this.handleFocus=()=>{this.clearAutoCloseTimeout(),this.totalOpenTime=Date.now()-this.initialOpenTime,this.lastMouseOverBegin=Date.now()},this.handleBlur=()=>{const t=Date.now()-this.lastMouseOverBegin,e=j[this.autoCloseDuration]-this.totalOpenTime+this.totalHoverTime;this.totalHoverTime=this.totalHoverTime?t+this.totalHoverTime:t,this.autoCloseTimeoutId=window.setTimeout((()=>this.closeAlert()),e)},this.active=!1,this.openAlertCount=0,this.open=!1,this.autoClose=!1,this.autoCloseDuration="medium",this.embedded=!1,this.kind="brand",this.icon=void 0,this.iconFlipRtl=!1,this.label=void 0,this.numberingSystem=void 0,this.placement="bottom",this.scale="m",this.messages=void 0,this.messageOverrides=void 0,this.queue="last",this.defaultMessages=void 0,this.effectiveLocale="",this.numberStringFormatter=new u,this.hasEndActions=!1,this.isFocused=!1}handleActiveChange(){this.clearAutoCloseTimeout(),this.active&&this.autoClose&&!this.autoCloseTimeoutId&&(this.initialOpenTime=Date.now(),this.autoCloseTimeoutId=window.setTimeout((()=>this.closeAlert()),j[this.autoCloseDuration]))}openHandler(){m(this),this.open?S.registerElement(this.el):S.unregisterElement(this.el)}updateDuration(){this.autoClose&&this.autoCloseTimeoutId&&(this.clearAutoCloseTimeout(),this.autoCloseTimeoutId=window.setTimeout((()=>this.closeAlert()),j[this.autoCloseDuration]))}onMessagesChange(){}handleQueueChange(){this.open&&(S.unregisterElement(this.el),S.registerElement(this.el))}connectedCallback(){f(this),g(this),this.open&&S.registerElement(this.el),this.numberStringFormatter.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,signDisplay:"always"}}async componentWillLoad(){h(this),await v(this),this.open&&m(this)}componentDidLoad(){d(this)}disconnectedCallback(){S.unregisterElement(this.el),this.clearAutoCloseTimeout(),b(this),y(this),this.embedded=!1}render(){const{open:t,autoClose:e,label:a,placement:o,active:l,openAlertCount:r}=this,h=e?"alert":"alertdialog",d=!t,p=c(w,this.icon,this.kind),u=r>1;return i(s,{key:"925efaa1db32fd70f778106456e1dbb11d5a33b1","aria-hidden":n(d),"aria-label":a,"calcite-hydrated-hidden":d,role:h},i("div",{key:"fc92bdb0f32f2e5461144fcc95d4cf77f1f1c916",class:{[E]:!0,[H]:l,[`${E}--${o}`]:!0,[W]:this.embedded,[L]:this.isFocused},onPointerEnter:this.autoClose&&this.autoCloseTimeoutId?this.handleMouseOver:null,onPointerLeave:this.autoClose?this.handleMouseLeave:null,ref:this.setTransitionEl},p&&this.renderIcon(p),i("div",{key:"52fe536e5f4feb0714431c5a46e0a0a2dbf27110",class:"text-container",onFocusin:this.autoClose&&this.autoCloseTimeoutId?this.handleKeyBoardFocus:null,onFocusout:this.autoClose?this.handleKeyBoardBlur:null},i("slot",{key:"6037f775c962ba14084e8ec8b86c7a177fef037f",name:"title"}),i("slot",{key:"736344f5602889a2a4a8fc0d22963b827a41519a",name:"message"}),i("slot",{key:"8eea607803b78c9ff554682bb36fbea3e1693d6e",name:"link"})),this.renderActionsEnd(),u?this.renderQueueCount():null,this.renderCloseButton(),t&&l&&e?i("div",{class:"dismiss-progress"}):null))}renderCloseButton(){return i("button",{"aria-label":this.messages.close,class:"close",key:"close",onClick:this.closeAlert,onFocusin:this.autoClose?this.handleKeyBoardFocus:null,onFocusout:this.autoClose?this.handleKeyBoardBlur:null,ref:t=>this.closeButton=t,type:"button"},i("calcite-icon",{icon:"x",scale:r(this.scale)}))}renderQueueCount(){const{openAlertCount:t}=this,e=this.numberStringFormatter.numberFormatter.format(t>2?t-1:1);return i("div",{class:{[D]:!0,[F]:t>1},key:"queue-count"},i("calcite-chip",{scale:this.scale,value:e},e))}renderActionsEnd(){return i("div",{class:"actions-end"},i("slot",{name:"actions-end",onSlotchange:this.actionsEndSlotChangeHandler}))}renderIcon(t){return i("div",{class:"icon"},i("calcite-icon",{flipRtl:this.iconFlipRtl,icon:t,scale:r(this.scale)}))}async setFocus(){await p(this);const t=l(this.el,{selector:"calcite-link"});if(this.closeButton||t)return t?t.setFocus():void(this.closeButton&&this.closeButton.focus())}effectiveLocaleChange(){k(this,this.effectiveLocale),this.numberStringFormatter.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,signDisplay:"always"}}numberingSystemChange(){this.numberStringFormatter.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,signDisplay:"always"}}clearAutoCloseTimeout(){window.clearTimeout(this.autoCloseTimeoutId),this.autoCloseTimeoutId=null}onBeforeOpen(){this.calciteAlertBeforeOpen.emit()}onOpen(){this.calciteAlertOpen.emit()}onBeforeClose(){this.calciteAlertBeforeClose.emit()}onClose(){this.calciteAlertClose.emit()}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{active:["handleActiveChange"],open:["openHandler"],autoCloseDuration:["updateDuration"],messageOverrides:["onMessagesChange"],queue:["handleQueueChange"],effectiveLocale:["effectiveLocaleChange"],numberingSystem:["numberingSystemChange"]}}};A.style=':host{--calcite-alert-edge-distance:2rem;--calcite-alert-dismiss-progress-background:var(--calcite-color-transparent-tint);display:block}.container{pointer-events:none;position:fixed;z-index:var(--calcite-z-index-toast);margin-inline:auto;margin-block:0px;box-sizing:border-box;display:flex;inline-size:100%;min-inline-size:-moz-min-content;min-inline-size:min-content;align-items:center;justify-content:center;background-color:var(--calcite-color-foreground-1);text-align:start;opacity:0;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);border-radius:var(--calcite-border-radius);border-block-start:0 solid transparent;border-inline:1px solid var(--calcite-color-border-3);border-block-end:1px solid var(--calcite-color-border-3);inline-size:var(--calcite-alert-width);max-inline-size:calc(100% - var(--calcite-alert-edge-distance) * 2);transition:opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out}.container--bottom,.container--top{inset-inline-end:0;inset-inline-start:0}.container[class*=bottom]{transform:translate3d(0, var(--calcite-alert-edge-distance), 0);inset-block-end:var(--calcite-alert-edge-distance)}.container[class*=top]{transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), 0);inset-block-start:var(--calcite-alert-edge-distance)}.container[class*=start]{inset-inline-start:var(--calcite-alert-edge-distance);inset-inline-end:auto}.container[class*=end]{inset-inline-end:var(--calcite-alert-edge-distance);inset-inline-start:auto}.icon{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0px;margin-block:auto;margin-inline-end:auto;padding-inline-start:var(--calcite-alert-spacing-token-large)}.close{display:flex;cursor:pointer;align-items:center;justify-content:flex-end;align-self:stretch;border-style:none;background-color:transparent;color:var(--calcite-color-text-3);outline:2px solid transparent;outline-offset:2px;-webkit-appearance:none;padding:var(--calcite-alert-spacing-token-large);outline-color:transparent}.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{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1)}.close:active{background-color:var(--calcite-color-foreground-3)}.queue-count{visibility:hidden;display:flex;min-inline-size:-moz-min-content;min-inline-size:min-content;cursor:default;align-items:center;justify-content:space-around;align-self:stretch;overflow:hidden;background-color:var(--calcite-color-foreground-1);text-align:center;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-2);opacity:0;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-inline:0 solid transparent;border-start-end-radius:0}.queue-count--active{visibility:visible;opacity:1}.dismiss-progress{position:absolute;display:block;inline-size:100%;overflow:hidden;inset-inline:0;inset-block-start:-2px;block-size:2px;border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}.dismiss-progress::after{position:absolute;inset-block-start:0px;display:block;block-size:2px;content:"";background-color:var(--calcite-alert-dismiss-progress-background);inset-inline-end:0}.actions-end{display:flex;align-self:stretch}.text-container{box-sizing:border-box;display:flex;min-inline-size:0px;flex:1 1 auto;flex-direction:column;overflow-wrap:break-word;padding-block:var(--calcite-alert-spacing-token-small);padding-inline:var(--calcite-alert-spacing-token-large) var(--calcite-alert-spacing-token-small)}.footer{position:relative;display:flex;inline-size:auto;justify-content:flex-end;align-self:stretch;padding-block-start:1px;block-size:inherit}:host([scale=s]){--calcite-alert-width:40em;--calcite-alert-spacing-token-small:0.5rem;--calcite-alert-spacing-token-large:0.75rem;--calcite-alert-footer-height:2rem;--calcite-alert-footer-divider-gap:0.125rem}:host([scale=s]) slot[name=title]::slotted(*),:host([scale=s]) *::slotted([slot=title]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) slot[name=message]::slotted(*),:host([scale=s]) *::slotted([slot=message]){font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) slot[name=link]::slotted(*),:host([scale=s]) *::slotted([slot=link]){font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .queue-count{margin-inline:0.5rem}:host([scale=s]) .container{--calcite-alert-min-height:3.5rem}:host([scale=m]){--calcite-alert-width:50em;--calcite-alert-spacing-token-small:0.75rem;--calcite-alert-spacing-token-large:1rem;--calcite-alert-footer-height:3rem;--calcite-alert-footer-divider-gap:0.25rem}:host([scale=m]) slot[name=title]::slotted(*),:host([scale=m]) *::slotted([slot=title]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) slot[name=message]::slotted(*),:host([scale=m]) *::slotted([slot=message]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) slot[name=link]::slotted(*),:host([scale=m]) *::slotted([slot=link]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) .queue-count{margin-inline:0.75rem}:host([scale=m]) .container{--calcite-alert-min-height:4.1875rem}:host([scale=l]){--calcite-alert-width:60em;--calcite-alert-spacing-token-small:1rem;--calcite-alert-spacing-token-large:1.25rem;--calcite-alert-footer-height:4rem;--calcite-alert-footer-divider-gap:0.5rem}:host([scale=l]) slot[name=title]::slotted(*),:host([scale=l]) *::slotted([slot=title]){margin-block-end:0.25rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) slot[name=message]::slotted(*),:host([scale=l]) *::slotted([slot=message]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) slot[name=link]::slotted(*),:host([scale=l]) *::slotted([slot=link]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) .queue-count{margin-inline:1rem}:host([scale=l]) .container{--calcite-alert-min-height:5.625rem}:host([open]) .container--active{border-block-start-width:2px;opacity:1;pointer-events:initial}:host([open]) .container--active[class*=bottom]{transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), inherit)}:host([open]) .container--active[class*=top]{transform:translate3d(0, var(--calcite-alert-edge-distance), inherit)}:host([auto-close])>.queue-count{border-inline-end:0 solid transparent}slot[name=title]::slotted(*),*::slotted([slot=title]){font-size:var(--calcite-font-size-0);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}slot[name=message]::slotted(*),*::slotted([slot=message]){margin:0px;display:inline;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2);margin-inline-end:0.5rem}slot[name=link]::slotted(*),*::slotted([slot=link]){display:inline-flex;color:var(--calcite-color-text-link)}:host([kind=brand]) .container{border-block-start-color:var(--calcite-color-brand)}:host([kind=brand]) .container .icon{color:var(--calcite-color-brand)}:host([kind=info]) .container{border-block-start-color:var(--calcite-color-status-info)}:host([kind=info]) .container .icon{color:var(--calcite-color-status-info)}:host([kind=danger]) .container{border-block-start-color:var(--calcite-color-status-danger)}:host([kind=danger]) .container .icon{color:var(--calcite-color-status-danger)}:host([kind=success]) .container{border-block-start-color:var(--calcite-color-status-success)}:host([kind=success]) .container .icon{color:var(--calcite-color-status-success)}:host([kind=warning]) .container{border-block-start-color:var(--calcite-color-status-warning)}:host([kind=warning]) .container .icon{color:var(--calcite-color-status-warning)}:host([auto-close-duration=fast]) .dismiss-progress:after{animation:dismissProgress 6000ms ease-out}:host(:hover[auto-close-duration=fast]) .dismiss-progress:after,:host(:focus[auto-close-duration=fast]) .dismiss-progress:after{animation-play-state:paused}:host([auto-close-duration=medium]) .dismiss-progress:after{animation:dismissProgress 10000ms ease-out}:host(:hover[auto-close-duration=medium]) .dismiss-progress:after,:host(:focus[auto-close-duration=medium]) .dismiss-progress:after{animation-play-state:paused}:host([auto-close-duration=slow]) .dismiss-progress:after{animation:dismissProgress 14000ms ease-out}:host(:hover[auto-close-duration=slow]) .dismiss-progress:after,:host(:focus[auto-close-duration=slow]) .dismiss-progress:after{animation-play-state:paused}.container.focused .dismiss-progress::after{animation-play-state:paused}@keyframes dismissProgress{0%{inline-size:0px;opacity:0.75}100%{inline-size:100%;opacity:1}}.container--embedded{position:absolute}:host([hidden]){display:none}[hidden]{display:none}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}';const M=class{constructor(i){t(this,i),this.editsComplete=e(this,"editsComplete",7),this.buttonType="button",this.disabled=!1,this.icon=void 0,this.ids=[],this.layer=void 0,this._confirmDelete=!1,this._deleteEndabled=!1,this._isDeleting=!1,this._supportsDelete=void 0,this._translations=void 0}get el(){return a(this)}async idsWatchHandler(){this._setDeleteEnabled()}async layerWatchHandler(){this._setDeleteEnabled()}editsComplete;async componentWillLoad(){await this._getTranslations()}render(){return i(s,{key:"1ff43b4d224c4cf7bbfc0656e9605cd4ac4c971a"},"button"===this.buttonType?i("calcite-button",{appearance:"outline",disabled:!this._deleteEndabled,id:"solutions-delete",kind:"danger",onClick:()=>this._delete(),width:"full"},this._translations.deleteCount.replace("{{n}}",this.ids.length.toString())):i("calcite-action",{appearance:"solid",compact:!0,disabled:!this._deleteEndabled,id:this.icon,onClick:()=>this._delete(),scale:"s",text:this._translations.delete},i("calcite-button",{appearance:"transparent",iconStart:this.icon,kind:"danger"},this._translations.delete)),this._deleteMessage())}async componentDidLoad(){this._setDeleteEnabled()}_setDeleteEnabled(){this._supportsDelete=this.layer?.editingEnabled&&this.layer?.capabilities?.operations?.supportsDelete,this._deleteEndabled=!this.disabled||this._supportsDelete&&this.ids.length>0}_delete(){this._confirmDelete=!0}_deleteMessage(){const t=1===this.ids.length?this._translations.confirmSingle:this._translations.confirmMultiple;return i("calcite-modal",{"aria-labelledby":"modal-title",class:"delete-modal",kind:"danger",onCalciteModalClose:()=>this._deleteClosed(),open:this._confirmDelete},i("div",{class:"display-flex align-center",id:"modal-title",slot:"header"},this._translations.deleteFeature),i("div",{slot:"content"},t),i("calcite-button",{appearance:"outline",kind:"danger",onClick:()=>this._deleteClosed(),slot:"secondary",width:"full"},this._translations.cancel),i("calcite-button",{kind:"danger",loading:this._isDeleting,onClick:()=>{this._deleteFeatures()},slot:"primary",width:"full"},this._translations.delete))}async _deleteFeatures(){this._isDeleting=!0;const t=this.ids.map((t=>({objectId:t})));await this.layer.applyEdits({deleteFeatures:t}),this._isDeleting=!1,this._deleteClosed(),this.editsComplete.emit("delete")}_deleteClosed(){this._confirmDelete=!1}async _getTranslations(){const t=await x(this.el);this._translations=t[0]}static get watchers(){return{ids:["idsWatchHandler"],layer:["layerWatchHandler"]}}};M.style=":host{display:block}.delete-modal{position:fixed}";const q=class{constructor(i){t(this,i),this.closeEdit=e(this,"closeEdit",7),this.editsComplete=e(this,"editsComplete",7),this.refreshGraphics=e(this,"refreshGraphics",7),this.enableEditGeometry=!1,this.graphics=void 0,this.mapView=void 0,this.open=!1,this.graphicIndex=0,this._editorLoading=!1,this._translations=void 0}get el(){return a(this)}_activeWorkflowHandle;_addRelatedRecordHandle;_attachmentHandle;_editHandle;_layerEditHandle;Editor;_editor;_layer;_editContainer;_editControlElements;_editingDisabled;_shouldClose=!1;reactiveUtils;async graphicsWatchHandler(){0===this.graphics.length&&this.open&&await this._closeEdit(!0)}async openWatchHandler(t){t&&this.graphics?.length>0&&this.graphicIndex>-1&&(this._editorLoading=!0,await this._initEditorWidget(),this.graphicIndex>-1&&this.graphics.length>0&&this.open&&!this._shouldClose&&await this._startUpdate(),this._editorLoading=!1),t||await this._closeEdit(!0)}closeEdit;editsComplete;refreshGraphics;async featureSelectionChange(){this.open&&await this._closeEdit(!1)}async componentWillLoad(){await this._initModules(),await this._getTranslations()}async componentWillRender(){this.graphics?.length>0&&this.graphics[0]?.layer&&(this._layer=this.graphics[0].layer,this._layerEditHandle&&this._layerEditHandle.remove(),this._layerEditHandle=this._layer.on("edits",(()=>{this.editsComplete.emit()})))}render(){const t=this._editorLoading?"display-none":"position-absolute",e=this._editorLoading?"":"display-none";return i(s,{key:"ae604b83ef7eb6a2117145b3e9f9c1c8dd1c8688"},i("div",{key:"a229ea8ae44ef10a2a75011d81d0c16a461b675f",class:"position-absolute"},this.graphics?.length>0&&this.graphics[0]&&this.graphics[0].layer.editingEnabled?void 0:i("calcite-notice",{kind:"warning",open:!0,slot:"content-top",width:"full"},i("div",{slot:"message"},this._translations.enableEditing)),i("div",{key:"c9461e247a3b3b6e0c7af17a3646282dbd410b89",class:"position-absolute"},i("div",{key:"3e385f2d39277de3eeb665e6b95a1c426d3c66b4",class:t,id:"feature-form",ref:t=>this._editContainer=t}),i("calcite-loader",{key:"a995cdebcbbd9d25d2f0784c5dca7dbfbd2757dd",class:e,label:"",scale:"s"}))))}async _initModules(){const[t,e]=await C(["esri/widgets/Editor","esri/core/reactiveUtils"]);this.Editor=t,this.reactiveUtils=e}async _initEditorWidget(){if(this.mapView&&this.graphics&&this.graphics.length>0&&this.graphics[0]){this._editor&&this._editor.destroy();const t=document.createElement("div"),e=(await _(this.mapView)).map((t=>({layer:t,geometryUpdatesEnabled:this.enableEditGeometry})));this._editor=new this.Editor({allowedWorkflows:"update",view:this.mapView,layerInfos:e,visibleElements:{snappingControls:!1},container:t}),this._attachmentHandle&&this._activeWorkflowHandle&&(this._attachmentHandle.remove(),this._activeWorkflowHandle.remove()),this._attachmentHandle=this.reactiveUtils.when((()=>"adding-attachment"===this._editor.viewModel.state||"editing-attachment"===this._editor.viewModel.state||"creating-features"===this._editor.viewModel.state),(()=>{this._shouldClose=!1})),this._activeWorkflowHandle=this.reactiveUtils.watch((()=>this._editor.viewModel.activeWorkflow?.activeWorkflow),(t=>{"update-table-record"!==t?.type&&"create-features"!==t?.type||(this._shouldClose=!1),(t?.type||t?.hasPendingEdits||this._editor.activeWorkflow)&&this._editor?.activeWorkflow?.started||(this.open=!1)})),this._editContainer.appendChild(t)}}async _closeEdit(t){this._shouldClose=!0,t&&this._editor?.activeWorkflow?(this._editor.activeWorkflow?.activeWorkflow?.hasPendingEdits&&(await this._editor.activeWorkflow.reset(),await this._editor.cancelWorkflow()),this._editor.destroy()):this.graphicIndex>-1&&this.graphics?.length>0&&this.refreshGraphics.emit(this.graphics),this._shouldClose=!1,this.closeEdit.emit()}async _startUpdate(){await this._editor.startUpdateWorkflowAtFeatureEdit(this.graphics[this.graphicIndex]),this._shouldClose=!0}async _getTranslations(){const t=await x(this.el);this._translations=t[0]}static get watchers(){return{graphics:["graphicsWatchHandler"],open:["openWatchHandler"]}}};q.style=":host{display:block}.padding-bottom-1{padding-bottom:1rem}.font-bold{font-weight:var(--calcite-font-weight-bold)}.font-500{font-weight:var(--calcite-font-weight-medium)}.font-italic{font-style:italic}#feature-form{--calcite-color-background:none;padding-top:0px}.padding-sides-bottom-1{padding:0 1rem 1rem 1rem}.position-relative{position:relative}.esri-editor__prompt--danger{position:relative !important;width:100% !important;background-color:var(--calcite-color-foreground-1) !important}.esri-feature__content-node{background-color:var(--calcite-color-foreground-1) !important}.esri-editor__panel-toolbar{display:none !important}.position-absolute{position:absolute;top:0;right:0;bottom:0;left:0;overflow:auto}";const P=class{constructor(i){t(this,i),this.popupClosed=e(this,"popupClosed",7),this.selectionChanged=e(this,"selectionChanged",7),this.enableEditGeometry=!1,this.graphics=void 0,this.isLoading=!1,this.isMobile=void 0,this.mapView=void 0,this.allowEditing=!0,this.highlightEnabled=!0,this.paginationEnabled=!0,this.position="absolute",this._alertOpen=!1,this._count="",this._editRecordOpen=!1,this._mobileTitle="",this._showListView=!1,this._translations=void 0}get el(){return a(this)}Features;_editEnabled;_features;_layer;_popupUtils;_featuresNodeId="features-node"+(new Date).getMilliseconds().toString();reactiveUtils;async graphicsWatchHandler(){await this.setGraphics()}async isMobileWatchHandler(){await this._initFeaturesWidget()}async mapViewWatchHandler(){return await this._initFeaturesWidget()}async getSelectedFeature(){return this._features.selectedFeature}async refresh(){await this.setGraphics()}async back(){this._features.previous(),this._count=this._getCount()}async next(){this._features.next(),this._count=this._getCount()}async toggleListView(){this._showListView=!this._showListView;const t=this._features.selectedFeatureIndex;this._features.open({features:this.graphics,featureMenuOpen:this._showListView}),this._features.selectedFeatureIndex=t}async updateCurrentGraphic(t){this._features.selectedFeatureWidget.graphic=t}popupClosed;selectionChanged;async closeEdit(){this._editRecordOpen=!1}async layerSelectionChange(){this._showListView=!1,this._features?.viewModel&&(this._features.viewModel.featureMenuOpen=!1,this._features.close())}async refreshGraphics(t){this.graphics=[...t.detail]}async componentWillLoad(){await this._initModules(),await this._getTranslations(),this._popupUtils=new z}async componentDidLoad(){this.graphics?.length>0&&await this.setGraphics()}render(){const t=this.isLoading?"":"display-none",e=this.isLoading||this._editRecordOpen?"visibility-hidden":"position-absolute",a=!this.isLoading&&this._editRecordOpen?"position-absolute":"display-none",o=!this.isLoading&&this._editRecordOpen||this._showListView?"display-none":"",n=this._features?.features?.length<2,l=this.isMobile?"display-none":"",c=this._features?.selectedFeature?.getObjectId(),r=parseInt(c?.toString(),10)>-1?[c]:[],h=this._layer?.editingEnabled&&this._layer?.capabilities?.operations?.supportsDelete;return i(s,{key:"8714c3ab52be88e3622888c7984c9ded5759fa17"},i("calcite-shell",{key:"f63b166a00794815af852a1260fe7b67784428d4",style:{position:this.position}},this._getHeader(),i("calcite-loader",{key:"b937ff64982989f3dec3c94236932698300b0eb6",class:t,label:this._translations.fetchingData}),i("div",{key:"0f7b914839ab400b1f757eb50cd0ba5f60628336",class:"esri-widget feature-node "+e,id:this._featuresNodeId}),i("div",{key:"9867c94363da7d060bc718e77eab0ed139d4ba7d",class:`${o} width-100`,slot:"footer"},this.allowEditing&&i("div",{key:"a90edcda183289259db99b9255d28d6c31809d40",class:"display-flex top-border padding-1-2"},i("calcite-button",{key:"b1bc47ed857efc478c11e1353216bb8925b75885",appearance:"solid",id:"solutions-edit",onClick:()=>this._openEditRecord(),width:"full"},this._translations.edit),this.isMobile&&h?i("delete-button",{class:"padding-inline-start-1 width-100",id:"solutions-delete",ids:r,layer:this._layer,onEditsComplete:()=>this._closePopup()}):void 0,i("calcite-tooltip",{key:"d493735dadf6dd34a767332a1a179716fbfa6384",placement:"bottom","reference-element":"solutions-edit"},i("span",{key:"663217b0b2c078aa7ac1b99a891af5380b9521c1"},this._translations.edit)),this.isMobile?i("calcite-tooltip",{placement:"bottom","reference-element":"solutions-delete"},i("span",null,this._translations.delete)):void 0),this.paginationEnabled&&!n&&i("div",{key:"df2249f431b0df3a25c44fb6d54adec903bbe328",class:`display-flex padding-1-2 button-container top-border ${l}`},i("div",{key:"31b82d904e766f938c2c1fc5bd76625921e7fe10"},i("calcite-button",{key:"49656c590d330796f1d508ef33689f909991a6ec",appearance:"transparent",disabled:n,iconStart:"chevron-left",id:"solutions-back",onClick:()=>this._back(),width:"full"}),i("calcite-tooltip",{key:"f5238fdc65fa68152961253d536be38a044aeb76",placement:"top","reference-element":"solutions-back"},i("span",{key:"470c4da1cd28940155bdbd30acc8b742d827a891"},this._translations.back))),i("calcite-action",{key:"be9e9b4d4dbabe2c11bf13043bfb33cdae093315",class:"pagination-action",onClick:()=>this._toggleListView(),scale:"s",text:"",textEnabled:!0},i("span",{key:"d7d3313b537691ac131b958475e6547f3659c6ac",class:"pagination-count"},this._count)),i("div",{key:"0ef506ac483cf51a958e335b16cbe9a764bb497e"},i("calcite-button",{key:"f3c1a25fe1a619275f32058d1fa646467e83cca5",appearance:"transparent",disabled:n,iconStart:"chevron-right",id:"solutions-next",onClick:()=>this._next(),width:"full"}),i("calcite-tooltip",{key:"cddbf1200a3acd465e5ef23f34b5bf26c81ffad5",placement:"top","reference-element":"solutions-next"},i("span",{key:"9e9454c303b8f37f12d4ad07b3401d50bd04141d"},this._translations.next))))),i("edit-card",{key:"3497893bbb59f3a2ace941d3bb1d98b0fa7fac0c",class:a,enableEditGeometry:this.enableEditGeometry,graphicIndex:this._features?.selectedFeatureIndex,graphics:this.graphics,mapView:this.mapView,open:this._editRecordOpen}),i("calcite-alert",{key:"4fa290b977bf7c619cc349176bb1e244c554b58d",icon:"layer-broken",kind:"warning",label:"",onCalciteAlertClose:()=>this._alertClosed(),open:this._alertOpen,placement:"top"},i("div",{key:"1e3998afedd33582d33e0c1556a1bcac87902761",slot:"title"},this._translations.editDisabled),i("div",{key:"489ef148cc4da2a7d7e881d4de9cd6a71ac53809",slot:"message"},this._translations.enableEditing))))}async _initModules(){const[t,e]=await C(["esri/widgets/Features","esri/core/reactiveUtils"]);this.Features=t,this.reactiveUtils=e}async setGraphics(){this._features||await this._initFeaturesWidget(),this.graphics.length>0?(this._layer=this.graphics[0]?.layer,this._editEnabled=this._layer.editingEnabled&&this._layer.capabilities.operations.supportsUpdate,this._mobileTitle=await this._popupUtils.getPopupTitle(this.graphics[0],this.mapView.map),this._features.open({features:this.graphics})):(this._features.clear(),this._features.close()),this._count=this._getCount()}async _initFeaturesWidget(){return void 0!==this.isMobile?await(this.mapView?.when((()=>{this._features?(this._features.view=this.mapView,this._features.visibleElements.actionBar=!1,this._features.visibleElements.closeButton=!1,this._features.visibleElements.heading=!this.isMobile):(this._features=new this.Features({view:this.mapView,container:this._featuresNodeId,visibleElements:{actionBar:!1,closeButton:!1,heading:!this.isMobile}}),this._features.viewModel.highlightEnabled=this.highlightEnabled,this.reactiveUtils.watch((()=>this._features.viewModel.featureMenuOpen),(t=>{this._count=this._getCount(),t||(this._showListView=t)})),this.reactiveUtils.watch((()=>this._features.selectedFeatureIndex),(t=>{t>-1&&this.selectionChanged.emit({selectedFeature:[this._features.selectedFeature],selectedFeatureIndex:this._features.selectedFeatureIndex})})))}))):Promise.resolve()}_getHeader(){return this.isMobile&&!this._editRecordOpen?i("calcite-panel",{class:"border-width-0",slot:"header"},i("calcite-action",{class:"end-border",icon:"chevron-left",iconFlipRtl:!0,onClick:()=>this._closePopup(),scale:"s",slot:"header-actions-start",text:""}),i("span",{class:"font-bold",slot:"header-content"},this._mobileTitle)):void 0}_closePopup(){this.popupClosed.emit()}_alertClosed(){this._alertOpen=!1}_openEditRecord(){this._editEnabled?this._editRecordOpen=!0:this._alertOpen=!0}_back(){this._features.previous(),this._count=this._getCount()}_next(){this._features.next(),this._count=this._getCount()}_getCount(){const t=(this._features?.viewModel.selectedFeatureIndex+1).toString(),e=this._features?.features?.length.toString();return this._translations.indexOfTotal.replace("{{index}}",t).replace("{{total}}",e)}_toggleListView(){this._showListView=!this._showListView;const t=this._features.selectedFeatureIndex;this._features.open({features:this.graphics,featureMenuOpen:this._showListView}),this._features.selectedFeatureIndex=t}async _getTranslations(){const t=await x(this.el);this._translations=t[0]}static get watchers(){return{graphics:["graphicsWatchHandler"],isMobile:["isMobileWatchHandler"],mapView:["mapViewWatchHandler"]}}};P.style=":host{display:block;--calcite-label-margin-bottom:0}.padding-1-2{padding:0.5rem}.display-none{display:none !important}.display-flex{display:flex}.position-absolute{position:absolute;top:0;right:0;bottom:0;left:0;overflow:auto}.feature-node{position:relative !important}.feature-node .esri-features__footer{display:none !important}.button-container{justify-content:center;align-items:center}.top-border{border-top:1px solid var(--calcite-color-border-1)}.width-100{width:100%}.esri-features__container{padding:0.5rem !important;background-color:var(--calcite-color-foreground-1) !important;height:100% !important}.overflow-hidden{overflow:hidden}.height-40{height:40px}.end-border{border-inline-end:1px solid var(--calcite-color-border-1)}.font-bold{font-weight:bold}.visibility-hidden{visibility:hidden;height:0px}.padding-inline-start-1{padding-inline-start:1rem}.border-width-0{border-width:0px}.pagination-action{position:relative;left:3px}.pagination-count{color:var(--calcite-color-brand);border-bottom:1px solid var(--calcite-color-brand);font-weight:bold}";export{A as calcite_alert,M as delete_button,q as edit_card,P as info_card}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
const n=new Set(["Europe","Asia","America","America/Argentina","Africa","Australia","Pacific","Atlantic","Antarctica","Arctic","Indian"]);function t(n,t=!1){if(n.includes("Istanbul"))return"Europe";const i=n[t?"indexOf":"lastIndexOf"]("/");return-1===i?n:n.slice(0,i)}function i(t){return n.has(t)}export{t as e,i}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,h as o,g as e}from"./p-6eb37ed2.js";import{c as a,d as s}from"./p-06084e6c.js";import{c as i,s as c,a as n}from"./p-18f18ab3.js";import{c as r,d as l}from"./p-939bc1b4.js";import{u as d,c as p,d as h,s as u}from"./p-1a9a47a0.js";import{S as g}from"./p-c5e13ebc.js";import{s as m}from"./p-68ec5c15.js";import{S as f,I as b,C as v}from"./p-7699e80b.js";import"./p-c638d28e.js";import"./p-acaae81d.js";import"./p-fe6f7734.js";import"./p-ff8343ec.js";import"./p-b39c5275.js";const x=class{constructor(o){t(this,o),this.setMenuOpen=t=>{this.menuOpen=!!t.target.open},this.handleMenuActionsSlotChange=t=>{this.hasMenuActions=m(t)},this.expanded=!1,this.label=void 0,this.layout="vertical",this.columns=void 0,this.menuOpen=!1,this.overlayPositioning="absolute",this.scale=void 0,this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale="",this.defaultMessages=void 0,this.hasMenuActions=!1}expandedHandler(){this.menuOpen=!1}onMessagesChange(){}effectiveLocaleChange(){d(this,this.effectiveLocale)}async setFocus(){await i(this),this.el.focus()}connectedCallback(){r(this),p(this),a(this)}disconnectedCallback(){l(this),h(this),s(this)}async componentWillLoad(){c(this),await u(this)}componentDidLoad(){n(this)}renderMenu(){const{expanded:t,menuOpen:e,scale:a,layout:s,messages:i,overlayPositioning:c,hasMenuActions:n}=this;return o("calcite-action-menu",{expanded:t,flipPlacements:["left","right"],hidden:!n,label:i.more,onCalciteActionMenuOpen:this.setMenuOpen,open:e,overlayPositioning:c,placement:"horizontal"===s?"bottom-start":"leading-start",scale:a},o("calcite-action",{icon:b.menu,scale:a,slot:g.trigger,text:i.more,textEnabled:t}),o("slot",{name:f.menuActions,onSlotchange:this.handleMenuActionsSlotChange}),o("slot",{name:f.menuTooltip,slot:g.tooltip}))}render(){return o("div",{key:"53e37d8cb8d51e6809c35b035483218ce2f43bff","aria-label":this.label,class:v.container,role:"group"},o("slot",{key:"967676dd0b0fec78f278da527f4695decf7fe47a"}),this.renderMenu())}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{expanded:["expandedHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};x.style=':host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{display:flex;flex-direction:column;padding:0px;background-color:transparent;border-color:var(--calcite-action-group-border-color, var(--calcite-color-border-3));border-style:solid;border-width:0}.container{display:flex;flex-grow:1;flex-direction:column}:host([columns="1"]){--calcite-internal-action-group-columns:1}:host([columns="2"]){--calcite-internal-action-group-columns:2}:host([columns="3"]){--calcite-internal-action-group-columns:3}:host([columns="4"]){--calcite-internal-action-group-columns:4}:host([columns="5"]){--calcite-internal-action-group-columns:5}:host([columns="6"]){--calcite-internal-action-group-columns:6}:host(:first-child){padding-block-start:0px}:host([layout=horizontal]),:host([layout=horizontal]) .container{flex-direction:row}:host([layout=grid]){display:grid}:host([layout=grid]) .container{display:grid;place-content:stretch;background-color:transparent;grid-template-columns:repeat(var(--calcite-action-group-columns, var(--calcite-internal-action-group-columns, 3)), auto);gap:var(--calcite-action-group-gap, 1px);padding:var(--calcite-action-group-gap, 1px)}:host([hidden]){display:none}[hidden]{display:none}';export{x as calcite_action_group}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,h as i,H as s,g as l}from"./p-6eb37ed2.js";import{g as o}from"./p-7bfecd07.js";import"./p-4cd4cb85.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-ac122d9e.js";const a=class{constructor(i){t(this,i),this.messages=void 0,this.view=void 0}render(){var t,l,o,a,e,n,d;const h="2d"!==(null===(t=null==this?void 0:this.view)||void 0===t?void 0:t.type)&&(null==this?void 0:this.view)?this._getSceneViewCommands():this._getMapViewCommands(),r=this._isMacLike()?"Option":"Alt";return i(s,{key:"f8e209f996c4743ad1bfc91deef5952c8ac34f90"},i("calcite-block",{key:"b0a69ae1ba6c989c344daa2d2fa51e6943ff6e49",open:!0,class:"instant-apps-keyboard-shortcuts__content",heading:null===(o=null===(l=null==this?void 0:this.messages)||void 0===l?void 0:l.generalShortcuts)||void 0===o?void 0:o.label},i("table",{key:"5820bb1e99ba3ffc926dea0c60ae6cba9fb71461"},this.renderTableHeader(),i("tr",{key:"b3664317e370d732f405325f6094f5ed2baad197"},i("td",{key:"3e3367b5fe5e8e5f3deddbb850acdf8c6eae9841"},`${r} + M`),i("td",{key:"a426d5c5514d99dec89e8d8298b00cfb7addfb06"},null===(e=null===(a=null==this?void 0:this.messages)||void 0===a?void 0:a.generalShortcuts)||void 0===e?void 0:e.title))),i("calcite-label",{key:"b33865ff795dac7277db16c128abc4b8667b2faf"},null===(d=null===(n=null==this?void 0:this.messages)||void 0===n?void 0:n.generalShortcuts)||void 0===d?void 0:d.title),i("table",{key:"72cbeee022de4c2c895eb78a94cf708d3f2f653c"},this.renderTableHeader(),h.map((t=>i("tr",null,i("td",null,t.alias),i("td",null,t.title)))))))}componentDidLoad(){o(this)}renderTableHeader(){var t,s;return(null==this?void 0:this.messages)?i("tr",null,i("th",null,null===(t=null==this?void 0:this.messages)||void 0===t?void 0:t.generalShortcuts.shortcut),i("th",null,null===(s=null==this?void 0:this.messages)||void 0===s?void 0:s.generalShortcuts.action)):null}_getMapViewCommands(){return(null==this?void 0:this.messages)?[{alias:null==this?void 0:this.messages.mapShortcuts.arrowKeys,title:null==this?void 0:this.messages.mapShortcuts.nudge},{alias:"N",title:null==this?void 0:this.messages.mapShortcuts.N},{alias:"A",title:null==this?void 0:this.messages.mapShortcuts.A},{alias:"D",title:null==this?void 0:this.messages.mapShortcuts.D},{alias:"+",title:null==this?void 0:this.messages.mapShortcuts.plus},{alias:"-",title:null==this?void 0:this.messages.mapShortcuts.minus}]:[]}_getSceneViewCommands(){var t;const i="global"===(null===(t=null==this?void 0:this.view)||void 0===t?void 0:t.viewingMode),s=(null==this?void 0:this.messages)?[{alias:null==this?void 0:this.messages.mapShortcuts.arrowKeys,title:null==this?void 0:this.messages.mapShortcuts.nudge,show:!!i},{alias:"P",title:null==this?void 0:this.messages.sceneShortcuts.P,show:!0},{alias:"N",title:null==this?void 0:this.messages.sceneShortcuts.N,show:!0},{alias:"W",title:null==this?void 0:this.messages.sceneShortcuts.W,show:!0},{alias:"A",title:null==this?void 0:this.messages.sceneShortcuts.A,show:!0},{alias:"D",title:null==this?void 0:this.messages.sceneShortcuts.D,show:!0},{alias:"S",title:null==this?void 0:this.messages.sceneShortcuts.S,show:!0},{alias:"J",title:null==this?void 0:this.messages.sceneShortcuts.globalCommands.J,show:!!i},{alias:"U",title:null==this?void 0:this.messages.sceneShortcuts.globalCommands.U,show:!!i}]:[];return(null==this?void 0:this.messages)?null==s?void 0:s.filter((t=>t.show)):[]}_isMacLike(){return/(Mac)/i.test(navigator.platform)}get el(){return l(this)}};a.style=":host .instant-apps-keyboard-shortcuts__content{display:flex;flex-direction:column;font-family:var(--calcite-sans-family);font-size:0.875rem;background-color:var(--calcite-color-background);color:var(--calcite-color-text-1);width:auto;padding:0.5em;margin-bottom:0;overflow:auto}:host .instant-apps-keyboard-shortcuts__content table{border:none;border-collapse:collapse;width:100%;margin-bottom:1em}:host .instant-apps-keyboard-shortcuts__content table td,:host .instant-apps-keyboard-shortcuts__content table th{border:solid 1px var(--calcite-color-border-1);padding:0.5rem 0.75rem 0.5rem 0.75rem;white-space:normal}:host .instant-apps-keyboard-shortcuts__content table td:lang(ja),:host .instant-apps-keyboard-shortcuts__content table td:lang(ja-JP),:host .instant-apps-keyboard-shortcuts__content table th:lang(ja-JP),:host .instant-apps-keyboard-shortcuts__content table th:lang(ja){white-space:nowrap}:host .instant-apps-keyboard-shortcuts__content tr:nth-child(even){background-color:var(--calcite-color-foreground-2)}:host .instant-apps-keyboard-shortcuts__content tr th{padding:0.5em 0.7em;font-weight:400}";export{a as instant_apps_keyboard_shortcuts}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as n,c as t,h as i,H as e,g as a}from"./p-6eb37ed2.js";import{l as o}from"./p-4cd4cb85.js";import{g as s}from"./p-7bfecd07.js";import{g as r}from"./p-a9a72626.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-ac122d9e.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}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{d as e}from"./p-62c6764c.js";import"./p-6eb37ed2.js";import"./p-9f63a45c.js";import"./p-68ec5c15.js";import"./p-ff8343ec.js";import"./p-b39c5275.js";import"./p-415cf05e.js";import"./p-acaae81d.js";import"./p-fe6f7734.js";import"./p-ac52e0ba.js";import"./p-d559f79c.js";import"./p-18f18ab3.js";import"./p-939bc1b4.js";import"./p-c638d28e.js";import"./p-ead8696c.js";import"./p-aeb86188.js";import"./p-f31a44b7.js";import"./p-9f0b8f8b.js";import"./p-1a9a47a0.js";import"./p-40724bfb.js";import"./p-8524bacc.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}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
/*!
|
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.12.0
|
10
|
+
*/
|
11
|
+
function n(n){return"l"===n?"m":"s"}async function t(n){await(function(n){return"function"==typeof n.componentOnReady}(n)?n.componentOnReady():new Promise((n=>requestAnimationFrame((()=>n())))))}export{t as c,n as g}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{d as t}from"./p-62c6764c.js";import"./p-6eb37ed2.js";import"./p-9f63a45c.js";import"./p-68ec5c15.js";import"./p-ff8343ec.js";import"./p-b39c5275.js";import"./p-415cf05e.js";import"./p-acaae81d.js";import"./p-fe6f7734.js";import"./p-ac52e0ba.js";import"./p-d559f79c.js";import"./p-18f18ab3.js";import"./p-939bc1b4.js";import"./p-c638d28e.js";import"./p-ead8696c.js";import"./p-aeb86188.js";import"./p-f31a44b7.js";import"./p-9f0b8f8b.js";import"./p-1a9a47a0.js";import"./p-40724bfb.js";import"./p-8524bacc.js";var m={name:"vi",weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),weekStart:1,weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),ordinal:function(t){return t},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"}};t.locale(m,null,!0);export{m as default}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as e,g as c,h as s,H as r}from"./p-6eb37ed2.js";const t=class{constructor(c){e(this,c)}get el(){return c(this)}render(){return s(r,{key:"b71ecf635ef91c3604665890c3eec5c5bc51651c"},s("slot",{key:"77c4af2284404bc351b1eb93a81b2151f8e8cce1"}))}};t.style=":host{display:block}";export{t as arcgis_login}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{d as _}from"./p-62c6764c.js";import"./p-6eb37ed2.js";import"./p-9f63a45c.js";import"./p-68ec5c15.js";import"./p-ff8343ec.js";import"./p-b39c5275.js";import"./p-415cf05e.js";import"./p-acaae81d.js";import"./p-fe6f7734.js";import"./p-ac52e0ba.js";import"./p-d559f79c.js";import"./p-18f18ab3.js";import"./p-939bc1b4.js";import"./p-c638d28e.js";import"./p-ead8696c.js";import"./p-aeb86188.js";import"./p-f31a44b7.js";import"./p-9f0b8f8b.js";import"./p-1a9a47a0.js";import"./p-40724bfb.js";import"./p-8524bacc.js";var p={name:"mk",weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),weekStart:1,weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),ordinal:function(_){return _},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 години"}};_.locale(p,null,!0);export{p as default}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,c as i,h as o,g as e}from"./p-6eb37ed2.js";import{g as s}from"./p-6070857c.js";import{l}from"./p-4cd4cb85.js";import{a as n}from"./p-7bfecd07.js";import{g as a,f as d,L as c}from"./p-7eb5d31a.js";import"./p-720a12c0.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-ac122d9e.js";const r=class{constructor(o){t(this,o),this.selectedLanguageUpdated=i(this,"selectedLanguageUpdated",7),this.icon="language",this.portalItem=void 0,this.view=void 0,this.locales=[],this.defaultLocale=void 0,this.messages=void 0,this.selectedLanguage=null,this.t9nData=null}async componentWillLoad(){var t,i,o,e,c,r,h,u,v,p,w,m;const[g,f,b]=await l(["esri/intl","esri/WebMap","esri/request"]);this.intl=g,this.request=b,this.messages=await s(document.createElement("instant-apps-language-translator"));try{this.portalItemResource=await a(this.portalItem);const t=await d(b,this.portalItemResource);this.t9nData=null!=t?t:{}}catch(t){this.t9nData={},console.error("NO PORTAL ITEM RESOURCE AVAILABLE.")}finally{this.userLocale=this.defaultLocale;const s=new URLSearchParams(window.location.search).get("locale"),l=(null===(o=null===(i=null===(t=this.locales)||void 0===t?void 0:t.map((t=>null==t?void 0:t.locale)))||void 0===i?void 0:i.filter((t=>t===s)))||void 0===o?void 0:o.length)>0,a=n(g,this.portalItem.portal),d=(null===(r=null===(c=null===(e=this.locales)||void 0===e?void 0:e.map((t=>null==t?void 0:t.locale)))||void 0===c?void 0:c.filter((t=>t===a)))||void 0===r?void 0:r.length)>0;this.selectedLanguage=l?s:d?a:this.userLocale;const b=this.selectedLanguage;if(b!==this.userLocale&&(this.calciteDropdownItemSelectCallback(b)(),this.selectedLanguageUpdated.emit({locale:b,data:null!==(u=null===(h=this.t9nData)||void 0===h?void 0:h[b])&&void 0!==u?u:null})),this.view){const t=this.view.map;this.defaultWebMapId=null===(v=null==t?void 0:t.portalItem)||void 0===v?void 0:v.id;const i=null===(m=null===(w=null===(p=this.locales)||void 0===p?void 0:p.filter((t=>(null==t?void 0:t.webmap)&&(null==t?void 0:t.webmap)!==this.defaultWebMapId&&(null==t?void 0:t.locale)===this.selectedLanguage)))||void 0===w?void 0:w[0])||void 0===m?void 0:m.webmap;i&&(this.view.map=new f({portalItem:{id:i}}))}}}render(){const t=this.renderTrigger(),i=this.renderDropdownItems(),e=this.renderDefaultLocale();return o("calcite-dropdown",{key:"ced0c98bd69889c1c8c655425a495da4a1bf7ab1",onCalciteDropdownBeforeOpen:()=>this.trigger.iconEnd="chevron-up",onCalciteDropdownBeforeClose:()=>this.trigger.iconEnd="chevron-down","width-scale":"m"},t,e,i)}renderDefaultLocale(){const{userLocale:t}=this;return o("calcite-dropdown-item",{key:`default-${t}`,onCalciteDropdownItemSelect:this.calciteDropdownItemSelectCallback(t),selected:this.selectedLanguage===this.userLocale},this.getSelectedLanguageText(t))}renderTrigger(){return o("calcite-button",{ref:t=>this.trigger=t,slot:"trigger","icon-start":this.icon,"icon-end":"chevron-down",width:"full",appearance:"outline"},this.getSelectedLanguageText(this.selectedLanguage))}renderDropdownItems(){var t,i;return null===(i=null===(t=this.locales)||void 0===t?void 0:t.map((t=>t.locale)))||void 0===i?void 0:i.map((t=>this.renderDropdownItem(t)))}renderDropdownItem(t){const i=this.getSelectedLanguageText(t);return o("calcite-dropdown-item",{key:t,selected:t===this.selectedLanguage,onCalciteDropdownItemSelect:this.calciteDropdownItemSelectCallback(t)},i)}calciteDropdownItemSelectCallback(t){return async()=>{var i,o,e,s,n;this.selectedLanguage=t;const{intl:a,selectedLanguage:d,t9nData:c,userLocale:r}=this,h=this.locales.filter((t=>t.locale===d))[0];d!==r&&(h.data=c[t]);const u=new URLSearchParams(window.location.search);if(d!==r?u.set("locale",this.selectedLanguage):u.delete("locale"),a.setLocale(d),this.view){const[t]=await l(["esri/WebMap"]),a=null===(o=null===(i=this.locales.filter((t=>t.locale===d)))||void 0===i?void 0:i[0])||void 0===o?void 0:o.webmap;if(a)this.view.map=new t({portalItem:{id:a}});else{const i=null===(n=null===(s=null===(e=this.view)||void 0===e?void 0:e.map)||void 0===s?void 0:s.portalItem)||void 0===n?void 0:n.id;i&&this.defaultWebMapId!==i&&(this.view.map=new t({portalItem:{id:this.defaultWebMapId}}))}}document.documentElement.setAttribute("lang",this.selectedLanguage),this.intl.prefersRTL()?document.documentElement.setAttribute("dir","rtl"):document.documentElement.setAttribute("dir","ltr"),window.history.replaceState({},"",decodeURIComponent(`${window.location.pathname}?${u}`)),this.selectedLanguageUpdated.emit(h)}}getSelectedLanguageText(t){const i=-1!==Object.keys(c.partial).indexOf(t),o=c[i?"partial":"full"],{language:e,translated:s}=o[t];return`${e} - ${s}`}async refresh(){try{const t=await a(this.portalItem),i=await d(this.request,t);this.t9nData=i,this.selectedLanguageUpdated.emit({locale:this.selectedLanguage,data:i[this.selectedLanguage]})}catch(t){}}get el(){return e(this)}};r.style=":host{display:block;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);min-width:200px}:host calcite-dropdown{width:100%}:host calcite-button{--calcite-color-brand:var(--calcite-color-text-3);--calcite-color-brand-hover:var(--calcite-color-text-3)}";export{r as instant_apps_language_switcher}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,c as i,f as e,h as o,H as s,g as a}from"./p-6eb37ed2.js";import{g as c}from"./p-e98c4f93.js";import{a as r,e as n,t as d}from"./p-68ec5c15.js";import{c as h,d as l,H as b}from"./p-9f63a45c.js";import{g as p}from"./p-ff8343ec.js";import{c as u,d as f,u as m,I as v}from"./p-415cf05e.js";import{c as k,d as x,g}from"./p-ac52e0ba.js";import{c as w,s as y,a as z}from"./p-18f18ab3.js";import"./p-b39c5275.js";import"./p-acaae81d.js";import"./p-d559f79c.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.12.0
|
11
|
+
*/const C=class{constructor(e){t(this,e),this.calciteInternalRadioButtonBlur=i(this,"calciteInternalRadioButtonBlur",6),this.calciteRadioButtonChange=i(this,"calciteRadioButtonChange",6),this.calciteInternalRadioButtonCheckedChange=i(this,"calciteInternalRadioButtonCheckedChange",6),this.calciteInternalRadioButtonFocus=i(this,"calciteInternalRadioButtonFocus",6),this.selectItem=(t,i)=>{t[i].click()},this.queryButtons=()=>Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden])")).filter((t=>t.name===this.name)),this.isFocusable=()=>{const t=this.queryButtons(),i=t.find((t=>!t.disabled)),e=t.find((t=>t.checked));return i===this.el&&!e},this.check=()=>{this.disabled||(this.focused=!0,this.setFocus(),this.checked||(this.uncheckAllRadioButtonsInGroup(),this.checked=!0,this.calciteRadioButtonChange.emit()))},this.clickHandler=()=>{this.disabled||this.check()},this.setContainerEl=t=>{this.containerEl=t},this.handleKeyDown=t=>{const{key:i}=t,{el:e}=this;if(-1===["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "].indexOf(i))return;if(" "===i)return this.check(),void t.preventDefault();let o=i;"rtl"===r(e)&&("ArrowRight"===i&&(o="ArrowLeft"),"ArrowLeft"===i&&(o="ArrowRight"));const s=Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden])")).filter((t=>t.name===this.name));let a=0;const n=s.length;switch(s.some(((t,i)=>{if(t.checked)return a=i,!0})),o){case"ArrowLeft":case"ArrowUp":return t.preventDefault(),void this.selectItem(s,c(Math.max(a-1,-1),n));case"ArrowRight":case"ArrowDown":return t.preventDefault(),void this.selectItem(s,c(a+1,n));default:return}},this.onContainerBlur=()=>{this.focused=!1,this.calciteInternalRadioButtonBlur.emit()},this.onContainerFocus=()=>{this.disabled||(this.focused=!0,this.calciteInternalRadioButtonFocus.emit())},this.checked=!1,this.disabled=!1,this.focused=!1,this.form=void 0,this.guid=void 0,this.hovered=!1,this.label=void 0,this.name=void 0,this.required=!1,this.scale="m",this.value=void 0}handleHiddenChange(){this.updateTabIndexOfOtherRadioButtonsInGroup()}checkedChanged(t){t&&this.uncheckOtherRadioButtonsInGroup(),this.calciteInternalRadioButtonCheckedChange.emit()}disabledChanged(){this.updateTabIndexOfOtherRadioButtonsInGroup()}nameChanged(){this.checkLastRadioButton()}async setFocus(){await w(this),this.disabled||n(this.containerEl)}syncHiddenFormInput(t){t.type="radio"}onLabelClick(t){if(this.disabled||this.el.hidden)return;const i=t.currentTarget,e=i.for?this.rootNode.querySelector(`calcite-radio-button[id="${i.for}"]`):i.querySelector(`calcite-radio-button[name="${this.name}"]`);e&&(e.focused=!0,this.setFocus(),e.checked||(this.uncheckOtherRadioButtonsInGroup(),e.checked=!0,this.calciteRadioButtonChange.emit()))}checkLastRadioButton(){const t=this.queryButtons().filter((t=>t.checked));if(t?.length>1){const i=t[t.length-1];t.filter((t=>t!==i)).forEach((t=>{t.checked=!1,t.emitCheckedChange()}))}}async emitCheckedChange(){this.calciteInternalRadioButtonCheckedChange.emit()}uncheckAllRadioButtonsInGroup(){this.queryButtons().forEach((t=>{t.checked&&(t.checked=!1,t.focused=!1)}))}uncheckOtherRadioButtonsInGroup(){this.queryButtons().filter((t=>t.guid!==this.guid)).forEach((t=>{t.checked&&(t.checked=!1,t.focused=!1)}))}updateTabIndexOfOtherRadioButtonsInGroup(){this.queryButtons().filter((t=>t.guid!==this.guid&&!t.disabled)).forEach((t=>{e(t)}))}getTabIndex(){if(!this.disabled)return this.checked||this.isFocusable()?0:-1}pointerEnterHandler(){this.disabled||(this.hovered=!0)}pointerLeaveHandler(){this.disabled||(this.hovered=!1)}connectedCallback(){this.rootNode=this.el.getRootNode(),this.guid=this.el.id||`calcite-radio-button-${p()}`,this.name&&this.checkLastRadioButton(),u(this),k(this),h(this),this.updateTabIndexOfOtherRadioButtonsInGroup()}componentWillLoad(){y(this)}componentDidLoad(){z(this),this.focused&&!this.disabled&&this.setFocus()}disconnectedCallback(){f(this),x(this),l(this),this.updateTabIndexOfOtherRadioButtonsInGroup()}componentDidRender(){m(this)}render(){const t=this.getTabIndex();return o(s,{key:"ba3eb165cc92980ff2dbc1ad92b96e05e67c7738",onClick:this.clickHandler,onKeyDown:this.handleKeyDown},o(v,{key:"cc34b939f2d7461239102e360d862e7b770b4f51",disabled:this.disabled},o("div",{key:"9fe5d157ecf61a7dfbb68b174c0a072cafa7fb93","aria-checked":d(this.checked),"aria-label":g(this),class:"container",onBlur:this.onContainerBlur,onFocus:this.onContainerFocus,ref:this.setContainerEl,role:"radio",tabIndex:t},o("div",{key:"82e64cb36cd384a2b05b6768c996cba67490db48",class:"radio"})),o(b,{key:"aec9b59e49dbb867432a4fd006cf32db53306d1c",component:this})))}get el(){return a(this)}static get watchers(){return{hidden:["handleHiddenChange"],checked:["checkedChanged"],disabled:["disabledChanged"],name:["nameChanged"]}}};C.style=':host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block;cursor:pointer}:host .container{position:relative;outline:2px solid transparent;outline-offset:2px}:host .radio{cursor:pointer;border-radius:9999px;background-color:var(--calcite-color-foreground-1);outline-color:transparent;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;box-shadow:inset 0 0 0 1px var(--calcite-color-border-input)}:host([hovered]) .radio,:host(:not([checked])[focused]:not([disabled])) .radio{box-shadow:inset 0 0 0 2px var(--calcite-color-brand)}:host([focused]) .radio{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host([disabled]) .radio{cursor:default;opacity:var(--calcite-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hovered][disabled]) .radio{box-shadow:inset 0 0 0 1px var(--calcite-color-border-input)}:host([scale=s]){--calcite-radio-size:var(--calcite-font-size--2)}:host([scale=m]){--calcite-radio-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-radio-size:var(--calcite-font-size-0)}.radio{block-size:var(--calcite-radio-size);max-inline-size:var(--calcite-radio-size);min-inline-size:var(--calcite-radio-size)}:host([scale=s][checked]) .radio,:host([hovered][scale=s][checked][disabled]) .radio{box-shadow:inset 0 0 0 4px var(--calcite-color-brand)}:host([scale=s][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 4px var(--calcite-color-brand), 0 0 0 2px var(--calcite-color-foreground-1)}:host([scale=m][checked]) .radio,:host([hovered][scale=m][checked][disabled]) .radio{box-shadow:inset 0 0 0 5px var(--calcite-color-brand)}:host([scale=m][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 5px var(--calcite-color-brand), 0 0 0 2px var(--calcite-color-foreground-1)}:host([scale=l][checked]) .radio,:host([hovered][scale=l][checked][disabled]) .radio{box-shadow:inset 0 0 0 6px var(--calcite-color-brand)}:host([scale=l][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 6px var(--calcite-color-brand), 0 0 0 2px var(--calcite-color-foreground-1)}@media (forced-colors: active){:host([checked]) .radio::after,:host([checked][disabled]) .radio::after{content:"";inline-size:var(--calcite-radio-size);block-size:var(--calcite-radio-size);background-color:windowText;display:block}}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}';export{C as calcite_radio_button}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,c as i,h as s,H as o,g as e}from"./p-6eb37ed2.js";import{l as n}from"./p-4cd4cb85.js";import{b as a}from"./p-7bfecd07.js";import{w as r}from"./p-04674a1e.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-ac122d9e.js";const l="instant-apps-scoreboard",d=`${l}--`,c=`${l}__`,p=r.medium[1],h={BASE:l,itemsContainer:`${c}items-container`,items:`${c}items`,item:`${c}item`,label:`${c}item-label`,value:`${c}item-value`,valuePlaceholder:`${c}item-value-placeholder`,position:{bottom:`${c}position--bottom`,side:`${c}position--side`,left:`${c}position--left`,right:`${c}position--right`},mode:{floating:`${c}mode--floating`,pinned:`${c}mode--pinned`}},b=class{constructor(s){t(this,s),this.scoreboardItemsUpdated=i(this,"scoreboardItemsUpdated",7),this.view=void 0,this.items=void 0,this.position="bottom",this.mode="floating",this.itemLimit=6,this.autoDockEnabled=!0,this.geometry=null,this.state="loading",this.messages=void 0,this.itemIndex=0,this.layers=void 0,this.layerViews=void 0,this.isMobile=!1}scoreboardItemsUpdatedHandler(){this.scoreboardItemsUpdated.emit(this.items)}generateUIDs(){this.itemIndex=0,this.items.forEach(this.generateUID())}async storeLayers(){this.state="calculating",await this.view.map.loadAll();const t=this.items.map((t=>{var i;return null===(i=null==t?void 0:t.layer)||void 0===i?void 0:i.id}));this.layers=this.view.map.allLayers.filter((i=>(i=>(t=>!t.isTable)(i)&&(t=>"feature"===t.type||"scene"===t.type)(i)&&(i=>t.indexOf(i.id)>-1)(i))(i))),this.watchLayerVisibility()}async storeLayerViews(){if(this.layers&&this.layers.length>0){this.layers.forEach((t=>t.outFields=["*"]));const t=[];this.layers.forEach((i=>{const s=this.view.whenLayerView(i);t.push(s)}));const i=(await Promise.allSettled(t)).filter((t=>"fulfilled"==t.status&&t.value)).map((t=>t.value)),s=[];i.forEach((t=>{var i;return s.push(null===(i=this.reactiveUtils)||void 0===i?void 0:i.whenOnce((()=>!t.updating)))})),await Promise.all(s),this.layerViews=new this.Collection([...i])}}calculateScoreboardItemValuesFromGeometry(){this.calculateScoreboardItemValues()}async calculateScoreboardItemValues(){if(this.layers&&0===this.layers.length||this.layerViews&&0===this.layerViews.length)return;this.state="calculating";const t=[...this.items],i=[];this.queryStatDefinitions(t,i);const s=await Promise.all(i);this.handleQueryFeaturesResponses(s,t),this.items.length=0,t.forEach((t=>this.items.push(t))),this.state="complete",this.scoreboardItemsUpdatedHandler(),this.initStationaryWatcher()}async componentWillLoad(){var t;new ResizeObserver((()=>{this.itemIndex=0,this.autoDockEnabled&&(this.isMobile=!!this.checkMobile)})).observe(null===(t=this.el)||void 0===t?void 0:t.parentElement);try{this.state="loading",await this.initMessages()}catch(t){return this.state="disabled",Promise.reject()}finally{if(!this.view||!this.items)return this.state="disabled",Promise.reject();try{return await this.initModules(),Promise.resolve()}catch(t){return this.state="disabled",Promise.reject()}}}async componentDidLoad(){var t;if("disabled"!==this.state)try{await(null===(t=this.reactiveUtils)||void 0===t?void 0:t.whenOnce((()=>{var t;return null===(t=this.view)||void 0===t?void 0:t.ready}))),this.generateUIDs(),await this.loadMapResources(),this.storeLayers(),this.initViewUpdateWatcher()}catch(t){this.state="disabled",console.error(`${l}: FAILED TO LOAD MAP RESOURCES`)}}disconnectedCallback(){var t,i,s,o,e,n;this.state="disabled",this.itemIndex=0,null===(t=this.layers)||void 0===t||t.removeAll(),null===(i=this.layers)||void 0===i||i.destroy(),this.layers=null,null===(s=this.layerViews)||void 0===s||s.removeAll(),null===(o=this.layerViews)||void 0===o||o.destroy(),this.layerViews=null,null===(e=this.handles)||void 0===e||e.removeAll(),null===(n=this.handles)||void 0===n||n.destroy(),this.handles=null}async initMessages(){let t;try{return t=(await a(this.el))[0],this.messages=Object.assign(Object.assign({},this.messages),t),Promise.resolve()}catch(t){console.error("FAILED TO LOAD MESSAGES"),Promise.reject()}}async initModules(){try{const[t,i,s,o]=await n(["esri/core/Handles","esri/core/reactiveUtils","esri/core/Collection","esri/intl"]);return this.reactiveUtils=i,this.Collection=s,this.intl=o,this.handles=new t,this.layers=new s,this.layerViews=new s,Promise.resolve()}catch(t){return console.error(t),this.state="disabled",Promise.reject()}}async loadMapResources(){const{map:t}=this.view,i=t;try{return await i.loadAll(),Promise.resolve()}catch(t){return console.error(t),this.state="disabled",Promise.reject()}}generateUID(){return t=>{const i=Math.random(),s=Math.floor(10*Math.random())+11,o=i.toString(s).replace("0.","");t.uid=o}}render(){var t,i;const{state:e}=this,n="disabled"===e,a="loading"===e||"calculating"===e||(null===(t=this.view)||void 0===t?void 0:t.updating)?this.renderProgress():null;return s(o,{key:"0a4e0bd527aa63498f71650b418da1167c0570c0",class:`${this.getPositionClass} ${this.getStyleClass}`},n?null:[a,(null===(i=this.items)||void 0===i?void 0:i.length)>0?this.renderBase():null])}renderBase(){return s("div",{key:"instant-apps-scoreboard-base",class:l},this.renderContent())}renderContent(){const{state:t}=this;return"loading"===t?this.renderLoader():"calculating"===t||"complete"===t?this.renderItemsContainer():null}renderItemsContainer(){const[t,i]=this.renderPreviousNextButtons();return s("div",{class:h.itemsContainer},t,this.renderItems(),i)}renderPreviousNextButtons(){var t,i,o;const e=this.getItemLimit(),n=(null===(t=this.items.filter((t=>t.visible)))||void 0===t?void 0:t.length)<=e,a=0===this.itemIndex,r=this.isEnd,l=!!this.isMobile||"bottom"===this.position,d=l?"start":"center",c={previous:l?"chevron-left":"chevron-up",next:l?"chevron-right":"chevron-down"},p=a||n?"blank":c.previous,h=r||n?"blank":c.next,b={previous:a||n,next:r||n},u="transparent",m=this.isMobile?"s":"l",v={previous:null===(i=this.messages)||void 0===i?void 0:i.previous,next:null===(o=this.messages)||void 0===o?void 0:o.next};return[s("calcite-action",{onClick:this.previousItem.bind(this),icon:p,disabled:b.previous,alignment:d,scale:m,appearance:u,text:v.previous,label:v.previous}),s("calcite-action",{onClick:this.nextItem.bind(this),icon:h,disabled:b.next,alignment:d,scale:m,appearance:u,text:v.next,label:v.next})]}renderItems(){const{items:t}=h,i=this.getItemsToDisplay.map((t=>this.renderItem(t)));return s("ul",{class:t},i)}renderItem(t){const{label:i}=t;return s("li",{class:h.item},s("span",{class:h.label,title:i},i),this.renderValue(t))}renderValue(t){var i,o,e;const{displayValue:n}=t,a="disabled"===this.state,r=void 0===n&&"calculating"===this.state,l=n||(null===(i=this.messages)||void 0===i?void 0:i.NA),d=null===(o=this.layers)||void 0===o?void 0:o.find((i=>{var s;return(null===(s=null==t?void 0:t.layer)||void 0===s?void 0:s.id)===i.id})),c=!(null==d?void 0:d.visible),p=r?this.renderValuePlaceholder():a?"":c?s("calcite-icon",{icon:"view-hide",scale:"l",title:null===(e=this.messages)||void 0===e?void 0:e.layerVisibilityOff}):l;return s("span",{class:h.value},p)}renderValuePlaceholder(){return s("span",{class:h.valuePlaceholder})}renderProgress(){return s("calcite-progress",{key:`${d}calcite-progress`,type:"indeterminate"})}renderLoader(){var t;const i=null===(t=this.messages)||void 0===t?void 0:t.loading;return s("calcite-loader",{key:`${d}calcite-loader`,label:i,text:i,scale:"m"})}get getPositionClass(){const{bottom:t,left:i,right:s,side:o}=h.position;return this.isMobile||"bottom"===this.position?t:`${"left"===this.position?i:s} ${o}`}get getStyleClass(){const{floating:t,pinned:i}=h.mode;return this.isMobile?i:"floating"===this.mode?t:i}get checkMobile(){var t,i;const s=null===(i=null===(t=this.el)||void 0===t?void 0:t.parentElement)||void 0===i?void 0:i.offsetWidth;return!isNaN(s)&&s>0&&s<p}get getItemsToDisplay(){const t=this.getItemLimit();return this.items.filter((t=>t.visible)).slice(this.itemIndex,t+this.itemIndex)}get isEnd(){const t=this.getItemLimit(),i=this.items.slice(this.items.length-t).map((t=>t.uid)),s=this.items.slice(this.itemIndex,this.itemIndex+t).map((t=>t.uid));return i.every(((t,i)=>t===s[i]))}previousItem(){this.itemIndex=this.itemIndex-1}nextItem(){this.itemIndex=this.itemIndex+1}queryStatDefinitions(t,i){const s=(t,i)=>{var s,o,e,n,a;const r=t.createQuery(),l=this.geometry?this.geometry:this.view.extent;r.outStatistics=[i],r.geometry=l;const d=null!==(a=null!==(o=null===(s=null==t?void 0:t.filter)||void 0===s?void 0:s.timeExtent)&&void 0!==o?o:null===(n=null===(e=null==t?void 0:t.featureEffect)||void 0===e?void 0:e.filter)||void 0===n?void 0:n.timeExtent)&&void 0!==a?a:null;return d&&(r.timeExtent=d),r};t.forEach((()=>async t=>{var o;const e=null===(o=this.layerViews)||void 0===o?void 0:o.find((i=>{var s;return i.layer.id===(null===(s=null==t?void 0:t.layer)||void 0===s?void 0:s.id)}));if(!e)return;const n=(t=>{const{field:i,operation:s}=t;return{onStatisticField:i,outStatisticFieldName:`${i}_${s}`,statisticType:s}})(t),a=s(e,n),r=e.queryFeatures(a);i.push(r)})())}handleQueryFeaturesResponses(t,i){t.forEach((()=>(t,s)=>{const o=(t=>{const i=t.features[0],{attributes:s}=i;return Object.values(s)[0]})(t),e=null!==o,n=e?this.intl.formatNumber(o,{notation:"compact",compactDisplay:"short"}):null;i[s].displayValue=e?`${n}`:"",i[s].value=o})())}initStationaryWatcher(){var t,i;const s={once:!0,initial:!0},o=()=>{var t;return null===(t=this.reactiveUtils)||void 0===t?void 0:t.when((()=>{var t;return!(null===(t=this.view)||void 0===t?void 0:t.interacting)}),(()=>this.calculateScoreboardItemValues()),s)},e="stationary-watcher-key";(null===(t=this.handles)||void 0===t?void 0:t.has(e))&&this.handles.remove(e),null===(i=this.handles)||void 0===i||i.add((()=>{var t;return null===(t=this.reactiveUtils)||void 0===t?void 0:t.when((()=>{var t;return null===(t=this.view)||void 0===t?void 0:t.stationary}),(()=>o()))})(),e)}initViewUpdateWatcher(){return this.reactiveUtils.watch((()=>{var t;return null===(t=this.view)||void 0===t?void 0:t.updating}),(()=>{this.reactiveUtils.when((()=>{var t;return!(null===(t=this.view)||void 0===t?void 0:t.updating)}),(()=>this.calculateScoreboardItemValues()),{once:!0,initial:!0})}),{initial:!0})}watchLayerVisibility(){var t,i;if(!this.layers)return;const s="visbilityWatcherKey";null===(t=this.handles)||void 0===t||t.remove(s);const o=[];this.layers.forEach((t=>{const i=async()=>{const i=await this.view.whenLayerView(t);await this.reactiveUtils.whenOnce((()=>!1===(null==i?void 0:i.updating))),this.calculateScoreboardItemValues()},s=this.reactiveUtils.watch((()=>null==t?void 0:t.visible),(async()=>i()));o.push(s)})),null===(i=this.handles)||void 0===i||i.add([...o],s)}getItemLimit(){return this.itemLimit<2||this.itemLimit>6?6:this.itemLimit}get el(){return e(this)}static get watchers(){return{items:["generateUIDs","storeLayers"],layers:["storeLayerViews"],geometry:["calculateScoreboardItemValuesFromGeometry"],layerViews:["calculateScoreboardItemValues"]}}};b.style=":host{display:block;--instant-apps-scoreboard-background-color:var(--calcite-color-foreground-1);--instant-apps-scoreboard-text-color:var(--calcite-color-text-1);--instant-apps-scoreboard-mobile-position-bottom:0;background-color:var(--instant-apps-scoreboard-background-color);color:var(--instant-apps-scoreboard-text-color)}:host .instant-apps-scoreboard{box-sizing:border-box;border:1px solid var(--calcite-color-border-1);box-shadow:0px 3px 15px rgba(0, 0, 0, 0.2);border-radius:3px}:host .instant-apps-scoreboard calcite-loader{--calcite-loader-padding:1rem}:host .instant-apps-scoreboard__items-container{display:flex}:host .instant-apps-scoreboard__items-container calcite-action{height:100%}:host .instant-apps-scoreboard__items,:host .instant-apps-scoreboard__item{box-sizing:border-box;display:flex}:host .instant-apps-scoreboard__items{list-style-type:none;padding-left:0;margin:0;padding-top:1.75%;padding-bottom:1.75%;width:100%}:host .instant-apps-scoreboard__item{flex-direction:column;justify-content:flex-end;align-items:center;padding:1%}:host .instant-apps-scoreboard__item-label{box-sizing:border-box;line-height:24px;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;word-break:break-word;font-size:1rem;font-weight:400;text-align:center}:host .instant-apps-scoreboard__item-value{display:flex;justify-content:center;align-items:center;min-width:32px;min-height:32px;margin-top:5px;font-size:1.5rem;font-weight:900}:host .instant-apps-scoreboard__item-value-placeholder{display:inline-block;width:32px;height:32px;background-color:var(--calcite-color-foreground-3);border-radius:4px}:host(.instant-apps-scoreboard__position--bottom){bottom:0}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__items{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__item{min-width:10vw;vertical-align:top}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating){left:50%;max-width:calc(100% - 30px);transform:translate(-50%, -15px)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:25vw}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){left:unset;bottom:0;transform:unset;width:100%}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{min-width:unset}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{width:100%;justify-content:space-between}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard{display:flex;justify-content:center;align-items:center;width:10vw;overflow-y:auto}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container{flex-direction:column;height:100%;box-sizing:border-box}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container calcite-action{height:unset;width:100%}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items{flex-direction:column;padding:10px}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__item{padding-top:0.5vh;padding-bottom:0.5vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating){top:15px;left:15px;max-height:calc(100% - 30px)}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:10vw;min-height:35vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned){top:unset;left:unset;transform:unset;height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{justify-content:space-between}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--floating){left:15px}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--floating){left:unset;right:15px}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--pinned){left:0}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--pinned){left:unset;right:0}@media only screen and (min-width: 992px){:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){bottom:var(--instant-apps-scoreboard-mobile-position-bottom)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__item{justify-content:center;min-width:unset;flex-grow:1}}";export{b as instant_apps_scoreboard}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
/*!
|
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.12.0
|
10
|
+
*/
|
11
|
+
const n={container:"container",containerNone:"container--none-selection",icon:"dropdown-item-icon",iconEnd:"dropdown-item-icon--end",iconStart:"dropdown-item-icon--start",itemContent:"dropdown-item-content",link:"dropdown-link"};export{n as C}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,c as e,h as i,g as s}from"./p-6eb37ed2.js";import{c as a,d as o,u as n,I as d}from"./p-415cf05e.js";import{c as r}from"./p-c638d28e.js";import{d as c,c as h}from"./p-44240d03.js";import{e as l}from"./p-68ec5c15.js";import"./p-acaae81d.js";import"./p-ff8343ec.js";import"./p-b39c5275.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.12.0
|
11
|
+
*/const b="container",p="container--horizontal",f="container--vertical",m=class{constructor(i){t(this,i),this.calciteListOrderChange=e(this,"calciteListOrderChange",6),this.items=[],this.mutationObserver=r("mutation",(()=>{this.setUpSorting()})),this.dragEnabled=!0,this.canPull=void 0,this.canPut=void 0,this.dragSelector=void 0,this.group=void 0,this.handleSelector="calcite-handle",this.layout="vertical",this.disabled=!1,this.loading=!1}connectedCallback(){this.setUpSorting(),this.beginObserving(),a(this)}disconnectedCallback(){o(this),c(this),this.endObserving()}componentDidRender(){n(this)}calciteHandleNudgeNextHandler(t){this.handleNudgeEvent(t)}onGlobalDragStart(){this.endObserving()}onGlobalDragEnd(){this.beginObserving()}onDragEnd(){}onDragStart(){}onDragSort(){this.items=Array.from(this.el.children),this.calciteListOrderChange.emit()}handleNudgeEvent(t){const{direction:e}=t.detail,i=t.composedPath().find((t=>t.matches(this.handleSelector))),s=this.items.find((e=>e.contains(i)||t.composedPath().includes(e))),a=this.items.length-1,o=this.items.indexOf(s);let n,d=!1;"up"===e?0===o?d=!0:n=o-1:o===a?n=0:o===a-1?d=!0:n=o+2,this.endObserving(),d?s.parentElement.appendChild(s):s.parentElement.insertBefore(s,this.items[n]),this.items=Array.from(this.el.children),this.beginObserving(),requestAnimationFrame((()=>l(i))),"selected"in i&&(i.selected=!0)}setUpSorting(){this.items=Array.from(this.el.children),h(this)}beginObserving(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}endObserving(){this.mutationObserver?.disconnect()}render(){const{disabled:t,layout:e}=this,s="horizontal"===e||!1;return i(d,{key:"d88bb6eff8ac0c12fe058290a15b644f52b15efe",disabled:t},i("div",{key:"0ac98b39280cbe2f61103d5c2120a9822ccee243",class:{[b]:!0,[f]:!s,[p]:s}},i("slot",{key:"9b2cc37a435d630ed79ad33ad95ff578ed701999"})))}get el(){return s(this)}};m.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:flex}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.container{display:flex;flex:1 1 auto}.container--vertical{flex-direction:column}.container--horizontal{flex-direction:row}:host([hidden]){display:none}[hidden]{display:none}";export{m as calcite_sortable_list}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,c as e,h as o,H as i,g as c}from"./p-6eb37ed2.js";import{f as s,t as a}from"./p-68ec5c15.js";import{i as n}from"./p-fe6f7734.js";import{c as r,d as l}from"./p-939bc1b4.js";import{u as d,c as h,s as g,d as p}from"./p-1a9a47a0.js";import{c as v,s as f,a as b}from"./p-18f18ab3.js";import"./p-ff8343ec.js";import"./p-b39c5275.js";import"./p-c638d28e.js";import"./p-acaae81d.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.12.0
|
11
|
+
*/const u="content",m="toggle",x="invalid",w="section-header",k="status-icon",y="toggle",_="toggle--switch",j="toggle-container",C="valid",z={menuOpen:"chevron-up",menuClosed:"chevron-down",valid:"check-circle",invalid:"exclamation-mark-triangle"},L=class{constructor(o){t(this,o),this.calciteBlockSectionToggle=e(this,"calciteBlockSectionToggle",6),this.handleHeaderKeyDown=t=>{n(t.key)&&(this.toggleSection(),t.preventDefault(),t.stopPropagation())},this.toggleSection=()=>{this.open=!this.open,this.calciteBlockSectionToggle.emit()},this.iconEnd=void 0,this.iconFlipRtl=void 0,this.iconStart=void 0,this.open=!1,this.status=void 0,this.text=void 0,this.toggleDisplay="button",this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}onMessagesChange(){}async setFocus(){await v(this),s(this.el)}effectiveLocaleChange(){d(this,this.effectiveLocale)}connectedCallback(){r(this),h(this)}async componentWillLoad(){await g(this),f(this)}componentDidLoad(){b(this)}disconnectedCallback(){l(this),p(this)}renderStatusIcon(){const{status:t}=this,e=z[t]??!1;return e?o("calcite-icon",{class:{[k]:!0,[C]:"valid"==t,[x]:"invalid"==t},icon:e,scale:"s"}):null}renderIcon(t){const{iconFlipRtl:e}=this;if(void 0===t)return null;const i=t===this.iconStart;return o("calcite-icon",{class:i?"icon--start":"icon--end",flipRtl:i?"both"===e||"start"===e:"both"===e||"end"===e,icon:i?this.iconStart:this.iconEnd,key:i?this.iconStart:this.iconEnd,scale:"s"})}render(){const{messages:t,open:e,text:c,toggleDisplay:s}=this,n=e?z.menuOpen:z.menuClosed,r=e?t.collapse:t.expand,l="switch"===s?o("div",{class:{[j]:!0}},o("div",{"aria-controls":u,"aria-expanded":a(e),class:{[y]:!0,[_]:!0},id:m,onClick:this.toggleSection,onKeyDown:this.handleHeaderKeyDown,role:"button",tabIndex:0,title:r},this.renderIcon(this.iconStart),o("div",{class:"toggle--switch__content"},o("span",{class:"toggle--switch__text"},c)),this.renderIcon(this.iconEnd),this.renderStatusIcon(),o("calcite-switch",{checked:e,class:"switch",inert:!0,label:r,scale:"s"}))):o("div",{class:{[j]:!0}},o("button",{"aria-controls":u,"aria-expanded":a(e),class:{[w]:!0,[y]:!0},id:m,onClick:this.toggleSection},this.renderIcon(this.iconStart),o("span",{class:"section-header__text"},c),this.renderIcon(this.iconEnd),this.renderStatusIcon(),o("calcite-icon",{class:"chevron-icon",icon:n,scale:"s"})));return o(i,{key:"224c2187de037da1611a3228195e95ba43bde093"},l,o("section",{key:"8b8849645851e21e26c63cef44428f30d2429a0b","aria-labelledby":m,class:"content",hidden:!e,id:u},o("slot",{key:"3f6d783aaa6d886bb4533a4dec96aafc8ba058ef"})))}static get assetsDirs(){return["assets"]}get el(){return c(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};L.style=":host{box-sizing:border-box;display:block;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-2)}:host([open]){border-width:0px;border-block-end-width:1px;border-style:solid;border-block-end-color:var(--calcite-color-border-3)}:host([open]) .toggle{color:var(--calcite-color-text-1)}:host([open]) .toggle:hover{color:var(--calcite-color-text-1)}:host([open]) .chevron-icon{color:var(--calcite-color-text-3)}:host([open]) .chevron-icon:hover{color:var(--calcite-color-text-1)}:host(:last-child){border-block-end-width:0px}.toggle{inline-size:100%;border-width:0px;background-color:transparent;font-family:var(--calcite-font-family);gap:var(--calcite-spacing-md);color:var(--calcite-color-text-2);font-weight:var(--calcite-font-weight-normal)}.toggle:hover{color:var(--calcite-color-text-1)}.toggle--switch,.section-header{margin-inline:0px;margin-block:0.25rem;display:flex;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center;padding-inline:0px;padding-block:0.5rem;font-size:var(--calcite-font-size--1);outline-color:transparent}.toggle--switch:focus,.section-header: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 )}.toggle--switch:hover,.section-header:hover{color:var(--calcite-color-text-1)}.section-header__text{margin-block:0px;flex:1 1 auto;text-align:initial;word-wrap:anywhere}.toggle-container{position:relative;display:flex;align-items:center;background-color:transparent;word-break:break-word}.toggle-container .toggle--switch__content{display:flex;flex:1 1 auto;align-items:center}.toggle-container .icon--end,.toggle-container .icon--start,.toggle-container .chevron-icon{display:flex;align-items:center;color:var(--calcite-color-text-3)}.toggle-container .icon--end:hover,.toggle-container .icon--start:hover,.toggle-container .chevron-icon:hover{color:var(--calcite-color-text-1)}.status-icon{display:flex;align-items:center}.status-icon.valid{color:var(--calcite-color-status-success)}.status-icon.invalid{color:var(--calcite-color-status-danger)}:host([hidden]){display:none}[hidden]{display:none}";export{L as calcite_block_section}
|